diff --git a/.gitattributes b/.gitattributes index 9209235cbe4310b30716ec44342f1073bcc5952b..dd916e14d0462e75ca172256f339c9ccbadc43f2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3287,3 +3287,14 @@ platform/dataops/dto/.venv/lib/python3.12/site-packages/cassandra/parsing.cpytho platform/dataops/dto/.venv/lib/python3.12/site-packages/cassandra/cluster.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text platform/dataops/dto/.venv/lib/python3.12/site-packages/cassandra/util.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text platform/dataops/dto/.venv/lib/python3.12/site-packages/cassandra/protocol.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_writer.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_parser.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_websocket.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t64-arm.exe filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t64.exe filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w64-arm.exe filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w64.exe filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text +platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/INSTALLER b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/INSTALLER new file mode 100644 index 0000000000000000000000000000000000000000..a1b589e38a32041e49332e5e81c2d363dc418d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/LICENSE.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..e497a322f2091d022983b9c5c043082ab61d1a8c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/LICENSE.txt @@ -0,0 +1,13 @@ + Copyright aio-libs contributors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/METADATA b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..e6d31c12933bc125f4cc4e08672e70ab1049f2cf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/METADATA @@ -0,0 +1,243 @@ +Metadata-Version: 2.1 +Name: aiohttp +Version: 3.9.1 +Summary: Async http client/server framework (asyncio) +Home-page: https://github.com/aio-libs/aiohttp +Maintainer: aiohttp team +Maintainer-email: team@aiohttp.org +License: Apache 2 +Project-URL: Chat: Matrix, https://matrix.to/#/#aio-libs:matrix.org +Project-URL: Chat: Matrix Space, https://matrix.to/#/#aio-libs-space:matrix.org +Project-URL: CI: GitHub Actions, https://github.com/aio-libs/aiohttp/actions?query=workflow%3ACI +Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/aiohttp +Project-URL: Docs: Changelog, https://docs.aiohttp.org/en/stable/changes.html +Project-URL: Docs: RTD, https://docs.aiohttp.org +Project-URL: GitHub: issues, https://github.com/aio-libs/aiohttp/issues +Project-URL: GitHub: repo, https://github.com/aio-libs/aiohttp +Classifier: Development Status :: 5 - Production/Stable +Classifier: Framework :: AsyncIO +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: POSIX +Classifier: Operating System :: MacOS :: MacOS X +Classifier: Operating System :: Microsoft :: Windows +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Topic :: Internet :: WWW/HTTP +Requires-Python: >=3.8 +Description-Content-Type: text/x-rst +License-File: LICENSE.txt +Requires-Dist: attrs >=17.3.0 +Requires-Dist: multidict <7.0,>=4.5 +Requires-Dist: yarl <2.0,>=1.0 +Requires-Dist: frozenlist >=1.1.1 +Requires-Dist: aiosignal >=1.1.2 +Requires-Dist: async-timeout <5.0,>=4.0 ; python_version < "3.11" +Provides-Extra: speedups +Requires-Dist: brotlicffi ; (platform_python_implementation != "CPython") and extra == 'speedups' +Requires-Dist: Brotli ; (platform_python_implementation == "CPython") and extra == 'speedups' +Requires-Dist: aiodns ; (sys_platform == "linux" or sys_platform == "darwin") and extra == 'speedups' + +================================== +Async http client/server framework +================================== + +.. image:: https://raw.githubusercontent.com/aio-libs/aiohttp/master/docs/aiohttp-plain.svg + :height: 64px + :width: 64px + :alt: aiohttp logo + +| + +.. image:: https://github.com/aio-libs/aiohttp/workflows/CI/badge.svg + :target: https://github.com/aio-libs/aiohttp/actions?query=workflow%3ACI + :alt: GitHub Actions status for master branch + +.. image:: https://codecov.io/gh/aio-libs/aiohttp/branch/master/graph/badge.svg + :target: https://codecov.io/gh/aio-libs/aiohttp + :alt: codecov.io status for master branch + +.. image:: https://badge.fury.io/py/aiohttp.svg + :target: https://pypi.org/project/aiohttp + :alt: Latest PyPI package version + +.. image:: https://readthedocs.org/projects/aiohttp/badge/?version=latest + :target: https://docs.aiohttp.org/ + :alt: Latest Read The Docs + +.. image:: https://img.shields.io/matrix/aio-libs:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat + :target: https://matrix.to/#/%23aio-libs:matrix.org + :alt: Matrix Room — #aio-libs:matrix.org + +.. image:: https://img.shields.io/matrix/aio-libs-space:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs-space%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat + :target: https://matrix.to/#/%23aio-libs-space:matrix.org + :alt: Matrix Space — #aio-libs-space:matrix.org + + +Key Features +============ + +- Supports both client and server side of HTTP protocol. +- Supports both client and server Web-Sockets out-of-the-box and avoids + Callback Hell. +- Provides Web-server with middleware and pluggable routing. + + +Getting started +=============== + +Client +------ + +To get something from the web: + +.. code-block:: python + + import aiohttp + import asyncio + + async def main(): + + async with aiohttp.ClientSession() as session: + async with session.get('http://python.org') as response: + + print("Status:", response.status) + print("Content-type:", response.headers['content-type']) + + html = await response.text() + print("Body:", html[:15], "...") + + asyncio.run(main()) + +This prints: + +.. code-block:: + + Status: 200 + Content-type: text/html; charset=utf-8 + Body: ... + +Coming from `requests `_ ? Read `why we need so many lines `_. + +Server +------ + +An example using a simple server: + +.. code-block:: python + + # examples/server_simple.py + from aiohttp import web + + async def handle(request): + name = request.match_info.get('name', "Anonymous") + text = "Hello, " + name + return web.Response(text=text) + + async def wshandle(request): + ws = web.WebSocketResponse() + await ws.prepare(request) + + async for msg in ws: + if msg.type == web.WSMsgType.text: + await ws.send_str("Hello, {}".format(msg.data)) + elif msg.type == web.WSMsgType.binary: + await ws.send_bytes(msg.data) + elif msg.type == web.WSMsgType.close: + break + + return ws + + + app = web.Application() + app.add_routes([web.get('/', handle), + web.get('/echo', wshandle), + web.get('/{name}', handle)]) + + if __name__ == '__main__': + web.run_app(app) + + +Documentation +============= + +https://aiohttp.readthedocs.io/ + + +Demos +===== + +https://github.com/aio-libs/aiohttp-demos + + +External links +============== + +* `Third party libraries + `_ +* `Built with aiohttp + `_ +* `Powered by aiohttp + `_ + +Feel free to make a Pull Request for adding your link to these pages! + + +Communication channels +====================== + +*aio-libs Discussions*: https://github.com/aio-libs/aiohttp/discussions + +*gitter chat* https://gitter.im/aio-libs/Lobby + +We support `Stack Overflow +`_. +Please add *aiohttp* tag to your question there. + +Requirements +============ + +- async-timeout_ +- attrs_ +- multidict_ +- yarl_ +- frozenlist_ + +Optionally you may install the aiodns_ library (highly recommended for sake of speed). + +.. _aiodns: https://pypi.python.org/pypi/aiodns +.. _attrs: https://github.com/python-attrs/attrs +.. _multidict: https://pypi.python.org/pypi/multidict +.. _frozenlist: https://pypi.org/project/frozenlist/ +.. _yarl: https://pypi.python.org/pypi/yarl +.. _async-timeout: https://pypi.python.org/pypi/async_timeout + +License +======= + +``aiohttp`` is offered under the Apache 2 license. + + +Keepsafe +======== + +The aiohttp community would like to thank Keepsafe +(https://www.getkeepsafe.com) for its support in the early days of +the project. + + +Source code +=========== + +The latest developer version is available in a GitHub repository: +https://github.com/aio-libs/aiohttp + +Benchmarks +========== + +If you are interested in efficiency, the AsyncIO community maintains a +list of benchmarks on the official wiki: +https://github.com/python/asyncio/wiki/Benchmarks diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/RECORD b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/RECORD new file mode 100644 index 0000000000000000000000000000000000000000..29120800fa8b78b04759bd42cdc28e27136037c8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/RECORD @@ -0,0 +1,120 @@ +aiohttp-3.9.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +aiohttp-3.9.1.dist-info/LICENSE.txt,sha256=n4DQ2311WpQdtFchcsJw7L2PCCuiFd3QlZhZQu2Uqes,588 +aiohttp-3.9.1.dist-info/METADATA,sha256=62Q_RgoSLj5AlXdi63xBFYgkT11mgnluERhDIRpWHjY,7357 +aiohttp-3.9.1.dist-info/RECORD,, +aiohttp-3.9.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +aiohttp-3.9.1.dist-info/WHEEL,sha256=vJMp7mUkE-fMIYyE5xJ9Q2cYPnWVgHf20clVdwMSXAg,152 +aiohttp-3.9.1.dist-info/top_level.txt,sha256=iv-JIaacmTl-hSho3QmphcKnbRRYx1st47yjz_178Ro,8 +aiohttp/.hash/_cparser.pxd.hash,sha256=hYa9Vje-oMs2eh_7MfCPOh2QW_1x1yCjcZuc7AmwLd0,121 +aiohttp/.hash/_find_header.pxd.hash,sha256=_mbpD6vM-CVCKq3ulUvsOAz5Wdo88wrDzfpOsMQaMNA,125 +aiohttp/.hash/_helpers.pyi.hash,sha256=Ew4BZDc2LqFwszgZZUHHrJvw5P8HBhJ700n1Ntg52hE,121 +aiohttp/.hash/_helpers.pyx.hash,sha256=5JQ6BlMBE4HnRaCGdkK9_wpL3ZSWpU1gyLYva0Wwx2c,121 +aiohttp/.hash/_http_parser.pyx.hash,sha256=IRBIywLdT4-0kqWhb0g0WPjh6Gu10TreFmLI8JQF-L8,125 +aiohttp/.hash/_http_writer.pyx.hash,sha256=3Qg3T3D-Ud73elzPHBufK0yEu9tP5jsu6g-aPKQY9gE,125 +aiohttp/.hash/_websocket.pyx.hash,sha256=M97f-Yti-4vnE4GNTD1s_DzKs-fG_ww3jle6EUvixnE,123 +aiohttp/.hash/hdrs.py.hash,sha256=2oEszMWjYFTHoF2w4OcFCoM7osv4vY9KLLJCu9HP0xI,116 +aiohttp/__init__.py,sha256=EnBN-3iIseCzm7llWOVNSbPpNTarRN1dF2SSgRKtB-g,7782 +aiohttp/__pycache__/__init__.cpython-312.pyc,, +aiohttp/__pycache__/abc.cpython-312.pyc,, +aiohttp/__pycache__/base_protocol.cpython-312.pyc,, +aiohttp/__pycache__/client.cpython-312.pyc,, +aiohttp/__pycache__/client_exceptions.cpython-312.pyc,, +aiohttp/__pycache__/client_proto.cpython-312.pyc,, +aiohttp/__pycache__/client_reqrep.cpython-312.pyc,, +aiohttp/__pycache__/client_ws.cpython-312.pyc,, +aiohttp/__pycache__/compression_utils.cpython-312.pyc,, +aiohttp/__pycache__/connector.cpython-312.pyc,, +aiohttp/__pycache__/cookiejar.cpython-312.pyc,, +aiohttp/__pycache__/formdata.cpython-312.pyc,, +aiohttp/__pycache__/hdrs.cpython-312.pyc,, +aiohttp/__pycache__/helpers.cpython-312.pyc,, +aiohttp/__pycache__/http.cpython-312.pyc,, +aiohttp/__pycache__/http_exceptions.cpython-312.pyc,, +aiohttp/__pycache__/http_parser.cpython-312.pyc,, +aiohttp/__pycache__/http_websocket.cpython-312.pyc,, +aiohttp/__pycache__/http_writer.cpython-312.pyc,, +aiohttp/__pycache__/locks.cpython-312.pyc,, +aiohttp/__pycache__/log.cpython-312.pyc,, +aiohttp/__pycache__/multipart.cpython-312.pyc,, +aiohttp/__pycache__/payload.cpython-312.pyc,, +aiohttp/__pycache__/payload_streamer.cpython-312.pyc,, +aiohttp/__pycache__/pytest_plugin.cpython-312.pyc,, +aiohttp/__pycache__/resolver.cpython-312.pyc,, +aiohttp/__pycache__/streams.cpython-312.pyc,, +aiohttp/__pycache__/tcp_helpers.cpython-312.pyc,, +aiohttp/__pycache__/test_utils.cpython-312.pyc,, +aiohttp/__pycache__/tracing.cpython-312.pyc,, +aiohttp/__pycache__/typedefs.cpython-312.pyc,, +aiohttp/__pycache__/web.cpython-312.pyc,, +aiohttp/__pycache__/web_app.cpython-312.pyc,, +aiohttp/__pycache__/web_exceptions.cpython-312.pyc,, +aiohttp/__pycache__/web_fileresponse.cpython-312.pyc,, +aiohttp/__pycache__/web_log.cpython-312.pyc,, +aiohttp/__pycache__/web_middlewares.cpython-312.pyc,, +aiohttp/__pycache__/web_protocol.cpython-312.pyc,, +aiohttp/__pycache__/web_request.cpython-312.pyc,, +aiohttp/__pycache__/web_response.cpython-312.pyc,, +aiohttp/__pycache__/web_routedef.cpython-312.pyc,, +aiohttp/__pycache__/web_runner.cpython-312.pyc,, +aiohttp/__pycache__/web_server.cpython-312.pyc,, +aiohttp/__pycache__/web_urldispatcher.cpython-312.pyc,, +aiohttp/__pycache__/web_ws.cpython-312.pyc,, +aiohttp/__pycache__/worker.cpython-312.pyc,, +aiohttp/_cparser.pxd,sha256=8jGIg-VJ9p3llwCakUYDsPGxA4HiZe9dmK9Jmtlz-5g,4318 +aiohttp/_find_header.pxd,sha256=0GfwFCPN2zxEKTO1_MA5sYq2UfzsG8kcV3aTqvwlz3g,68 +aiohttp/_headers.pxi,sha256=n701k28dVPjwRnx5j6LpJhLTfj7dqu2vJt7f0O60Oyg,2007 +aiohttp/_helpers.cpython-312-x86_64-linux-gnu.so,sha256=xQukDyoc-AzBs0yYHDXWrw8ICGrg8fQVexTfVBsICt0,613288 +aiohttp/_helpers.pyi,sha256=ZoKiJSS51PxELhI2cmIr5737YjjZcJt7FbIRO3ym1Ss,202 +aiohttp/_helpers.pyx,sha256=XeLbNft5X_4ifi8QB8i6TyrRuayijMSO3IDHeSA89uM,1049 +aiohttp/_http_parser.cpython-312-x86_64-linux-gnu.so,sha256=ZvlhyVbDbz3UHTWTPeqmGsn1-cW0syQ4rgr3vD3ftrI,2788720 +aiohttp/_http_parser.pyx,sha256=fzKwwVlcGnGVeiGOzo05d-2Rccqtl9-PzYKqgK3fxdI,28058 +aiohttp/_http_writer.cpython-312-x86_64-linux-gnu.so,sha256=NgI7lQoig5xSvNGFFdHI3ZJpS2emu9zj78yOe1LgYKE,503128 +aiohttp/_http_writer.pyx,sha256=aIHAp8g4ZV5kbGRdmZce-vXjELw2M6fGKyJuOdgYQqw,4575 +aiohttp/_websocket.cpython-312-x86_64-linux-gnu.so,sha256=c3irDrlStRTO9xfB94T2KQkO_17dMYNZ-9-JkufCH6Q,278168 +aiohttp/_websocket.pyx,sha256=1XuOSNDCbyDrzF5uMA2isqausSs8l2jWTLDlNDLM9Io,1561 +aiohttp/abc.py,sha256=nAyCo7BadpvvExxO1khNYqDpYt40Qp1zFmepDfZqq28,5540 +aiohttp/base_protocol.py,sha256=5JUyuIGwKf7sFhf0YLAnk36_hkSIxBnP4hN09RdMGGk,2741 +aiohttp/client.py,sha256=6s0n3HM4CRk4Gl7f-umGBTGp2MiVA7yjMnGLhSkxZXs,46918 +aiohttp/client_exceptions.py,sha256=4NmjMG2-P__buR9xfuz8_w0pvbXzr2oyuo62eQxsea8,9445 +aiohttp/client_proto.py,sha256=eHQjoiZVvm1m31Vcj1H2huV-zwHZwEl71km5l-p22aE,8624 +aiohttp/client_reqrep.py,sha256=xfJsqTzkfmRfAzChxp1za6NcfU2GDo1XXkEhTnJDik4,39756 +aiohttp/client_ws.py,sha256=nNrwu1wA0U3B0cNsVr61QfV2S60bbKfaZXHfW7klFl4,11010 +aiohttp/compression_utils.py,sha256=GCkBNJqrybMhiTQGwqqhORnaTLpRFZD_-UvRtnZ5lEQ,5015 +aiohttp/connector.py,sha256=YnUCuZQSgseKsUbo2jJH7mi0nhZD_8A6UQ5Ll3GS37k,52834 +aiohttp/cookiejar.py,sha256=PdvsOiDasDYYUOPaaAfuuFJzR4CJyHHjut02YiZ_N8M,14015 +aiohttp/formdata.py,sha256=q2gpeiM9NFsl_eSFVxHZ7Qez6RbM8_BujERMkooQkx0,6106 +aiohttp/hdrs.py,sha256=uzn5agn_jXid2h-ky6Y0ZAQ8BrPeTGLDGr-weiMctso,4613 +aiohttp/helpers.py,sha256=hYm60xCxbJCdtdtLhTt7uspQ_9HPT27gTBx2q9Fu1Zk,30255 +aiohttp/http.py,sha256=8o8j8xH70OWjnfTWA9V44NR785QPxEPrUtzMXiAVpwc,1842 +aiohttp/http_exceptions.py,sha256=7LOFFUwq04fZsnZA-NP5nukd6c2i8daM8-ejj3ndbSQ,2716 +aiohttp/http_parser.py,sha256=99kVO47hO22HQV0B4Y-1XhtOK4LTISOOs2d8c9yOGqQ,35166 +aiohttp/http_websocket.py,sha256=5qBvfvbt6f24AptTHud-T99LEnpwbGQNLMB8wGcfs9c,26704 +aiohttp/http_writer.py,sha256=fxpyRj_S3WcBl9fxxF05t8YYAUA-0jW5b_PjVSluT3Y,5933 +aiohttp/locks.py,sha256=wRYFo1U82LwBBdqwU24JEPaoTAlKaaJd2FtfDKhkTb4,1136 +aiohttp/log.py,sha256=BbNKx9e3VMIm0xYjZI0IcBBoS7wjdeIeSaiJE7-qK2g,325 +aiohttp/multipart.py,sha256=rDZYg-I-530nIEq3-U4DF2Q-fl0E7mk5YEmejzT1bak,32492 +aiohttp/payload.py,sha256=IV5HwxYqgUVY_SiyPjzUQ_YUIYvQaGkrmLmZlvSzDeM,13582 +aiohttp/payload_streamer.py,sha256=eAS8S-UWfLkEMavRjP2Uu9amC3PnbV79wHTNDoRmYn8,2087 +aiohttp/py.typed,sha256=sow9soTwP9T_gEAQSVh7Gb8855h04Nwmhs2We-JRgZM,7 +aiohttp/pytest_plugin.py,sha256=3IwpuxtFiUVFGS_ZitWuqvECSGgXQWvCW312B2TaVLY,11605 +aiohttp/resolver.py,sha256=8peXjB482v0hg1ESn87op6f-UeLXk_fAMxQo_23Ek6M,5070 +aiohttp/streams.py,sha256=vNCy0k5R7XlnSfsyTEQAkBD4Q9tNZgNm76Gqlw8Tjok,20836 +aiohttp/tcp_helpers.py,sha256=BSadqVWaBpMFDRWnhaaR941N9MiDZ7bdTrxgCb0CW-M,961 +aiohttp/test_utils.py,sha256=t5ibahuV6klkUMLdWuJhlSvzwtIRprWZqnkdHt5XJYU,20205 +aiohttp/tracing.py,sha256=Kz9u3YGTegGebYM2EMhG9RKT6-ABcsHtM7J-Qvwyus8,15152 +aiohttp/typedefs.py,sha256=8pDFTXt-5sYdzE4JsRH6UjAQyURnfZ0ueeEtgQccQZU,1491 +aiohttp/web.py,sha256=HFTQaoYVK5pM3YmxNJtZl9fGrRIdFs_Nhloxe7_lJj0,19263 +aiohttp/web_app.py,sha256=sUqIpip4BUL_pwc-Qs7IWDrFpeBNpaD8ocKFGfs9B0U,18351 +aiohttp/web_exceptions.py,sha256=7nIuiwhZ39vJJ9KrWqArA5QcWbUdqkz2CLwEpJapeN8,10360 +aiohttp/web_fileresponse.py,sha256=VRmCEr-qz7hzBy1TPa1wzid2DkgtQdIDjA18amkmRO4,10705 +aiohttp/web_log.py,sha256=DOfOxGyh2U7K5K_w6O7ILdfGcs4qOdzHxOwj2-k3c6c,7801 +aiohttp/web_middlewares.py,sha256=imxf1cfCKvfkv_jQLfTNNs_hA95oLnapRcPl-2aDsdA,4052 +aiohttp/web_protocol.py,sha256=REP-s4onglMYW2XZ5nqPCWkK0vt_2f8FiP4MFQXdd3A,23064 +aiohttp/web_request.py,sha256=TGTsWNNpGSL49Q-uV101ecX9hLZMm5PFs4mLxGkbkHc,28776 +aiohttp/web_response.py,sha256=t8mNgT5nddHLpsgZhUkqbq0NDsipmdGzfZUB5pCP_Yo,27749 +aiohttp/web_routedef.py,sha256=EFk3v1dcFnLimTT5z0JSBO3PShF0w9sIzfK9iJd-LNs,6152 +aiohttp/web_runner.py,sha256=AM3klOcr72AZVGG9-LjYo8vJdHBWgNzDLsmi_aoKfAU,11736 +aiohttp/web_server.py,sha256=5P-9uPCoPEDkK9ILbvEXmkkJWPhnTxBzdwAXwveyyDk,2587 +aiohttp/web_urldispatcher.py,sha256=sblBVycAhKVFPRbtfbZGsrPivLL0sskeE3LRPK2Deec,39557 +aiohttp/web_ws.py,sha256=eGjrE3_lUbv9kpYZluZFvdCfvahi5O4-fF7hWgyEHQk,18039 +aiohttp/worker.py,sha256=bkozEd2rAzQS0qs4knnnplOmaZ4TNdYtqWXSXx9djEc,7965 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/REQUESTED b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/REQUESTED new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/WHEEL b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/WHEEL new file mode 100644 index 0000000000000000000000000000000000000000..bd099b74410da8d38416c38669b4653c6712fdfb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/WHEEL @@ -0,0 +1,6 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.42.0) +Root-Is-Purelib: false +Tag: cp312-cp312-manylinux_2_17_x86_64 +Tag: cp312-cp312-manylinux2014_x86_64 + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/top_level.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/top_level.txt new file mode 100644 index 0000000000000000000000000000000000000000..ee4ba4f3d739e094878215c84eb41ba85c80e4a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp-3.9.1.dist-info/top_level.txt @@ -0,0 +1 @@ +aiohttp diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..32f85acb028b97badfb4bb3683b6bd2b1240089d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/__init__.py @@ -0,0 +1,240 @@ +__version__ = "3.9.1" + +from typing import TYPE_CHECKING, Tuple + +from . import hdrs as hdrs +from .client import ( + BaseConnector as BaseConnector, + ClientConnectionError as ClientConnectionError, + ClientConnectorCertificateError as ClientConnectorCertificateError, + ClientConnectorError as ClientConnectorError, + ClientConnectorSSLError as ClientConnectorSSLError, + ClientError as ClientError, + ClientHttpProxyError as ClientHttpProxyError, + ClientOSError as ClientOSError, + ClientPayloadError as ClientPayloadError, + ClientProxyConnectionError as ClientProxyConnectionError, + ClientRequest as ClientRequest, + ClientResponse as ClientResponse, + ClientResponseError as ClientResponseError, + ClientSession as ClientSession, + ClientSSLError as ClientSSLError, + ClientTimeout as ClientTimeout, + ClientWebSocketResponse as ClientWebSocketResponse, + ContentTypeError as ContentTypeError, + Fingerprint as Fingerprint, + InvalidURL as InvalidURL, + NamedPipeConnector as NamedPipeConnector, + RequestInfo as RequestInfo, + ServerConnectionError as ServerConnectionError, + ServerDisconnectedError as ServerDisconnectedError, + ServerFingerprintMismatch as ServerFingerprintMismatch, + ServerTimeoutError as ServerTimeoutError, + TCPConnector as TCPConnector, + TooManyRedirects as TooManyRedirects, + UnixConnector as UnixConnector, + WSServerHandshakeError as WSServerHandshakeError, + request as request, +) +from .cookiejar import CookieJar as CookieJar, DummyCookieJar as DummyCookieJar +from .formdata import FormData as FormData +from .helpers import BasicAuth, ChainMapProxy, ETag +from .http import ( + HttpVersion as HttpVersion, + HttpVersion10 as HttpVersion10, + HttpVersion11 as HttpVersion11, + WebSocketError as WebSocketError, + WSCloseCode as WSCloseCode, + WSMessage as WSMessage, + WSMsgType as WSMsgType, +) +from .multipart import ( + BadContentDispositionHeader as BadContentDispositionHeader, + BadContentDispositionParam as BadContentDispositionParam, + BodyPartReader as BodyPartReader, + MultipartReader as MultipartReader, + MultipartWriter as MultipartWriter, + content_disposition_filename as content_disposition_filename, + parse_content_disposition as parse_content_disposition, +) +from .payload import ( + PAYLOAD_REGISTRY as PAYLOAD_REGISTRY, + AsyncIterablePayload as AsyncIterablePayload, + BufferedReaderPayload as BufferedReaderPayload, + BytesIOPayload as BytesIOPayload, + BytesPayload as BytesPayload, + IOBasePayload as IOBasePayload, + JsonPayload as JsonPayload, + Payload as Payload, + StringIOPayload as StringIOPayload, + StringPayload as StringPayload, + TextIOPayload as TextIOPayload, + get_payload as get_payload, + payload_type as payload_type, +) +from .payload_streamer import streamer as streamer +from .resolver import ( + AsyncResolver as AsyncResolver, + DefaultResolver as DefaultResolver, + ThreadedResolver as ThreadedResolver, +) +from .streams import ( + EMPTY_PAYLOAD as EMPTY_PAYLOAD, + DataQueue as DataQueue, + EofStream as EofStream, + FlowControlDataQueue as FlowControlDataQueue, + StreamReader as StreamReader, +) +from .tracing import ( + TraceConfig as TraceConfig, + TraceConnectionCreateEndParams as TraceConnectionCreateEndParams, + TraceConnectionCreateStartParams as TraceConnectionCreateStartParams, + TraceConnectionQueuedEndParams as TraceConnectionQueuedEndParams, + TraceConnectionQueuedStartParams as TraceConnectionQueuedStartParams, + TraceConnectionReuseconnParams as TraceConnectionReuseconnParams, + TraceDnsCacheHitParams as TraceDnsCacheHitParams, + TraceDnsCacheMissParams as TraceDnsCacheMissParams, + TraceDnsResolveHostEndParams as TraceDnsResolveHostEndParams, + TraceDnsResolveHostStartParams as TraceDnsResolveHostStartParams, + TraceRequestChunkSentParams as TraceRequestChunkSentParams, + TraceRequestEndParams as TraceRequestEndParams, + TraceRequestExceptionParams as TraceRequestExceptionParams, + TraceRequestRedirectParams as TraceRequestRedirectParams, + TraceRequestStartParams as TraceRequestStartParams, + TraceResponseChunkReceivedParams as TraceResponseChunkReceivedParams, +) + +if TYPE_CHECKING: # pragma: no cover + # At runtime these are lazy-loaded at the bottom of the file. + from .worker import ( + GunicornUVLoopWebWorker as GunicornUVLoopWebWorker, + GunicornWebWorker as GunicornWebWorker, + ) + +__all__: Tuple[str, ...] = ( + "hdrs", + # client + "BaseConnector", + "ClientConnectionError", + "ClientConnectorCertificateError", + "ClientConnectorError", + "ClientConnectorSSLError", + "ClientError", + "ClientHttpProxyError", + "ClientOSError", + "ClientPayloadError", + "ClientProxyConnectionError", + "ClientResponse", + "ClientRequest", + "ClientResponseError", + "ClientSSLError", + "ClientSession", + "ClientTimeout", + "ClientWebSocketResponse", + "ContentTypeError", + "Fingerprint", + "InvalidURL", + "RequestInfo", + "ServerConnectionError", + "ServerDisconnectedError", + "ServerFingerprintMismatch", + "ServerTimeoutError", + "TCPConnector", + "TooManyRedirects", + "UnixConnector", + "NamedPipeConnector", + "WSServerHandshakeError", + "request", + # cookiejar + "CookieJar", + "DummyCookieJar", + # formdata + "FormData", + # helpers + "BasicAuth", + "ChainMapProxy", + "ETag", + # http + "HttpVersion", + "HttpVersion10", + "HttpVersion11", + "WSMsgType", + "WSCloseCode", + "WSMessage", + "WebSocketError", + # multipart + "BadContentDispositionHeader", + "BadContentDispositionParam", + "BodyPartReader", + "MultipartReader", + "MultipartWriter", + "content_disposition_filename", + "parse_content_disposition", + # payload + "AsyncIterablePayload", + "BufferedReaderPayload", + "BytesIOPayload", + "BytesPayload", + "IOBasePayload", + "JsonPayload", + "PAYLOAD_REGISTRY", + "Payload", + "StringIOPayload", + "StringPayload", + "TextIOPayload", + "get_payload", + "payload_type", + # payload_streamer + "streamer", + # resolver + "AsyncResolver", + "DefaultResolver", + "ThreadedResolver", + # streams + "DataQueue", + "EMPTY_PAYLOAD", + "EofStream", + "FlowControlDataQueue", + "StreamReader", + # tracing + "TraceConfig", + "TraceConnectionCreateEndParams", + "TraceConnectionCreateStartParams", + "TraceConnectionQueuedEndParams", + "TraceConnectionQueuedStartParams", + "TraceConnectionReuseconnParams", + "TraceDnsCacheHitParams", + "TraceDnsCacheMissParams", + "TraceDnsResolveHostEndParams", + "TraceDnsResolveHostStartParams", + "TraceRequestChunkSentParams", + "TraceRequestEndParams", + "TraceRequestExceptionParams", + "TraceRequestRedirectParams", + "TraceRequestStartParams", + "TraceResponseChunkReceivedParams", + # workers (imported lazily with __getattr__) + "GunicornUVLoopWebWorker", + "GunicornWebWorker", +) + + +def __dir__() -> Tuple[str, ...]: + return __all__ + ("__author__", "__doc__") + + +def __getattr__(name: str) -> object: + global GunicornUVLoopWebWorker, GunicornWebWorker + + # Importing gunicorn takes a long time (>100ms), so only import if actually needed. + if name in ("GunicornUVLoopWebWorker", "GunicornWebWorker"): + try: + from .worker import GunicornUVLoopWebWorker as guv, GunicornWebWorker as gw + except ImportError: + return None + + GunicornUVLoopWebWorker = guv # type: ignore[misc] + GunicornWebWorker = gw # type: ignore[misc] + return guv if name == "GunicornUVLoopWebWorker" else gw + + raise AttributeError(f"module {__name__} has no attribute {name}") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_cparser.pxd b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_cparser.pxd new file mode 100644 index 0000000000000000000000000000000000000000..c2cd5a92fdaffd4fefe31c844a5271e56a6daf1f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_cparser.pxd @@ -0,0 +1,158 @@ +from libc.stdint cimport int32_t, uint8_t, uint16_t, uint64_t + + +cdef extern from "../vendor/llhttp/build/llhttp.h": + + struct llhttp__internal_s: + int32_t _index + void* _span_pos0 + void* _span_cb0 + int32_t error + const char* reason + const char* error_pos + void* data + void* _current + uint64_t content_length + uint8_t type + uint8_t method + uint8_t http_major + uint8_t http_minor + uint8_t header_state + uint8_t lenient_flags + uint8_t upgrade + uint8_t finish + uint16_t flags + uint16_t status_code + void* settings + + ctypedef llhttp__internal_s llhttp__internal_t + ctypedef llhttp__internal_t llhttp_t + + ctypedef int (*llhttp_data_cb)(llhttp_t*, const char *at, size_t length) except -1 + ctypedef int (*llhttp_cb)(llhttp_t*) except -1 + + struct llhttp_settings_s: + llhttp_cb on_message_begin + llhttp_data_cb on_url + llhttp_data_cb on_status + llhttp_data_cb on_header_field + llhttp_data_cb on_header_value + llhttp_cb on_headers_complete + llhttp_data_cb on_body + llhttp_cb on_message_complete + llhttp_cb on_chunk_header + llhttp_cb on_chunk_complete + + llhttp_cb on_url_complete + llhttp_cb on_status_complete + llhttp_cb on_header_field_complete + llhttp_cb on_header_value_complete + + ctypedef llhttp_settings_s llhttp_settings_t + + enum llhttp_errno: + HPE_OK, + HPE_INTERNAL, + HPE_STRICT, + HPE_LF_EXPECTED, + HPE_UNEXPECTED_CONTENT_LENGTH, + HPE_CLOSED_CONNECTION, + HPE_INVALID_METHOD, + HPE_INVALID_URL, + HPE_INVALID_CONSTANT, + HPE_INVALID_VERSION, + HPE_INVALID_HEADER_TOKEN, + HPE_INVALID_CONTENT_LENGTH, + HPE_INVALID_CHUNK_SIZE, + HPE_INVALID_STATUS, + HPE_INVALID_EOF_STATE, + HPE_INVALID_TRANSFER_ENCODING, + HPE_CB_MESSAGE_BEGIN, + HPE_CB_HEADERS_COMPLETE, + HPE_CB_MESSAGE_COMPLETE, + HPE_CB_CHUNK_HEADER, + HPE_CB_CHUNK_COMPLETE, + HPE_PAUSED, + HPE_PAUSED_UPGRADE, + HPE_USER + + ctypedef llhttp_errno llhttp_errno_t + + enum llhttp_flags: + F_CHUNKED, + F_CONTENT_LENGTH + + enum llhttp_type: + HTTP_REQUEST, + HTTP_RESPONSE, + HTTP_BOTH + + enum llhttp_method: + HTTP_DELETE, + HTTP_GET, + HTTP_HEAD, + HTTP_POST, + HTTP_PUT, + HTTP_CONNECT, + HTTP_OPTIONS, + HTTP_TRACE, + HTTP_COPY, + HTTP_LOCK, + HTTP_MKCOL, + HTTP_MOVE, + HTTP_PROPFIND, + HTTP_PROPPATCH, + HTTP_SEARCH, + HTTP_UNLOCK, + HTTP_BIND, + HTTP_REBIND, + HTTP_UNBIND, + HTTP_ACL, + HTTP_REPORT, + HTTP_MKACTIVITY, + HTTP_CHECKOUT, + HTTP_MERGE, + HTTP_MSEARCH, + HTTP_NOTIFY, + HTTP_SUBSCRIBE, + HTTP_UNSUBSCRIBE, + HTTP_PATCH, + HTTP_PURGE, + HTTP_MKCALENDAR, + HTTP_LINK, + HTTP_UNLINK, + HTTP_SOURCE, + HTTP_PRI, + HTTP_DESCRIBE, + HTTP_ANNOUNCE, + HTTP_SETUP, + HTTP_PLAY, + HTTP_PAUSE, + HTTP_TEARDOWN, + HTTP_GET_PARAMETER, + HTTP_SET_PARAMETER, + HTTP_REDIRECT, + HTTP_RECORD, + HTTP_FLUSH + + ctypedef llhttp_method llhttp_method_t; + + void llhttp_settings_init(llhttp_settings_t* settings) + void llhttp_init(llhttp_t* parser, llhttp_type type, + const llhttp_settings_t* settings) + + llhttp_errno_t llhttp_execute(llhttp_t* parser, const char* data, size_t len) + + int llhttp_should_keep_alive(const llhttp_t* parser) + + void llhttp_resume_after_upgrade(llhttp_t* parser) + + llhttp_errno_t llhttp_get_errno(const llhttp_t* parser) + const char* llhttp_get_error_reason(const llhttp_t* parser) + const char* llhttp_get_error_pos(const llhttp_t* parser) + + const char* llhttp_method_name(llhttp_method_t method) + + void llhttp_set_lenient_headers(llhttp_t* parser, int enabled) + void llhttp_set_lenient_optional_cr_before_lf(llhttp_t* parser, int enabled) + void llhttp_set_lenient_spaces_after_chunk_size(llhttp_t* parser, int enabled) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_find_header.pxd b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_find_header.pxd new file mode 100644 index 0000000000000000000000000000000000000000..37a6c37268ee30b182fd77d109688d35d5577c7f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_find_header.pxd @@ -0,0 +1,2 @@ +cdef extern from "_find_header.h": + int find_header(char *, int) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_headers.pxi b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_headers.pxi new file mode 100644 index 0000000000000000000000000000000000000000..3744721d4786a6c79b90aa349c8d02fa66204ecc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_headers.pxi @@ -0,0 +1,83 @@ +# The file is autogenerated from aiohttp/hdrs.py +# Run ./tools/gen.py to update it after the origin changing. + +from . import hdrs +cdef tuple headers = ( + hdrs.ACCEPT, + hdrs.ACCEPT_CHARSET, + hdrs.ACCEPT_ENCODING, + hdrs.ACCEPT_LANGUAGE, + hdrs.ACCEPT_RANGES, + hdrs.ACCESS_CONTROL_ALLOW_CREDENTIALS, + hdrs.ACCESS_CONTROL_ALLOW_HEADERS, + hdrs.ACCESS_CONTROL_ALLOW_METHODS, + hdrs.ACCESS_CONTROL_ALLOW_ORIGIN, + hdrs.ACCESS_CONTROL_EXPOSE_HEADERS, + hdrs.ACCESS_CONTROL_MAX_AGE, + hdrs.ACCESS_CONTROL_REQUEST_HEADERS, + hdrs.ACCESS_CONTROL_REQUEST_METHOD, + hdrs.AGE, + hdrs.ALLOW, + hdrs.AUTHORIZATION, + hdrs.CACHE_CONTROL, + hdrs.CONNECTION, + hdrs.CONTENT_DISPOSITION, + hdrs.CONTENT_ENCODING, + hdrs.CONTENT_LANGUAGE, + hdrs.CONTENT_LENGTH, + hdrs.CONTENT_LOCATION, + hdrs.CONTENT_MD5, + hdrs.CONTENT_RANGE, + hdrs.CONTENT_TRANSFER_ENCODING, + hdrs.CONTENT_TYPE, + hdrs.COOKIE, + hdrs.DATE, + hdrs.DESTINATION, + hdrs.DIGEST, + hdrs.ETAG, + hdrs.EXPECT, + hdrs.EXPIRES, + hdrs.FORWARDED, + hdrs.FROM, + hdrs.HOST, + hdrs.IF_MATCH, + hdrs.IF_MODIFIED_SINCE, + hdrs.IF_NONE_MATCH, + hdrs.IF_RANGE, + hdrs.IF_UNMODIFIED_SINCE, + hdrs.KEEP_ALIVE, + hdrs.LAST_EVENT_ID, + hdrs.LAST_MODIFIED, + hdrs.LINK, + hdrs.LOCATION, + hdrs.MAX_FORWARDS, + hdrs.ORIGIN, + hdrs.PRAGMA, + hdrs.PROXY_AUTHENTICATE, + hdrs.PROXY_AUTHORIZATION, + hdrs.RANGE, + hdrs.REFERER, + hdrs.RETRY_AFTER, + hdrs.SEC_WEBSOCKET_ACCEPT, + hdrs.SEC_WEBSOCKET_EXTENSIONS, + hdrs.SEC_WEBSOCKET_KEY, + hdrs.SEC_WEBSOCKET_KEY1, + hdrs.SEC_WEBSOCKET_PROTOCOL, + hdrs.SEC_WEBSOCKET_VERSION, + hdrs.SERVER, + hdrs.SET_COOKIE, + hdrs.TE, + hdrs.TRAILER, + hdrs.TRANSFER_ENCODING, + hdrs.URI, + hdrs.UPGRADE, + hdrs.USER_AGENT, + hdrs.VARY, + hdrs.VIA, + hdrs.WWW_AUTHENTICATE, + hdrs.WANT_DIGEST, + hdrs.WARNING, + hdrs.X_FORWARDED_FOR, + hdrs.X_FORWARDED_HOST, + hdrs.X_FORWARDED_PROTO, +) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.cpython-312-x86_64-linux-gnu.so b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.cpython-312-x86_64-linux-gnu.so new file mode 100644 index 0000000000000000000000000000000000000000..169dd72556614cec68e093af44c1c6e878841ae5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.cpython-312-x86_64-linux-gnu.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c50ba40f2a1cf80cc1b34c981c35d6af0f08086ae0f1f4157b14df541b080add +size 613288 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.pyi b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.pyi new file mode 100644 index 0000000000000000000000000000000000000000..1e358937024ac1b9d19cf714fc12087688c6fb95 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.pyi @@ -0,0 +1,6 @@ +from typing import Any + +class reify: + def __init__(self, wrapped: Any) -> None: ... + def __get__(self, inst: Any, owner: Any) -> Any: ... + def __set__(self, inst: Any, value: Any) -> None: ... diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.pyx b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.pyx new file mode 100644 index 0000000000000000000000000000000000000000..665f367c5decd9959582886de9ac2b9a0288ae81 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_helpers.pyx @@ -0,0 +1,35 @@ +cdef class reify: + """Use as a class method decorator. It operates almost exactly like + the Python `@property` decorator, but it puts the result of the + method it decorates into the instance dict after the first call, + effectively replacing the function it decorates with an instance + variable. It is, in Python parlance, a data descriptor. + + """ + + cdef object wrapped + cdef object name + + def __init__(self, wrapped): + self.wrapped = wrapped + self.name = wrapped.__name__ + + @property + def __doc__(self): + return self.wrapped.__doc__ + + def __get__(self, inst, owner): + try: + try: + return inst._cache[self.name] + except KeyError: + val = self.wrapped(inst) + inst._cache[self.name] = val + return val + except AttributeError: + if inst is None: + return self + raise + + def __set__(self, inst, value): + raise AttributeError("reified property is read-only") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_parser.cpython-312-x86_64-linux-gnu.so b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_parser.cpython-312-x86_64-linux-gnu.so new file mode 100644 index 0000000000000000000000000000000000000000..0d1c3ca12f89b92cc32f3cc522a9493872d15cdc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_parser.cpython-312-x86_64-linux-gnu.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66f961c956c36f3dd41d35933deaa61ac9f5f9c5b4b32438ae0af7bc3ddfb6b2 +size 2788720 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_parser.pyx b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_parser.pyx new file mode 100644 index 0000000000000000000000000000000000000000..3f28fbdab4397cbfbc76ee725864327b59c59798 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_parser.pyx @@ -0,0 +1,836 @@ +#cython: language_level=3 +# +# Based on https://github.com/MagicStack/httptools +# + +from cpython cimport ( + Py_buffer, + PyBUF_SIMPLE, + PyBuffer_Release, + PyBytes_AsString, + PyBytes_AsStringAndSize, + PyObject_GetBuffer, +) +from cpython.mem cimport PyMem_Free, PyMem_Malloc +from libc.limits cimport ULLONG_MAX +from libc.string cimport memcpy + +from multidict import CIMultiDict as _CIMultiDict, CIMultiDictProxy as _CIMultiDictProxy +from yarl import URL as _URL + +from aiohttp import hdrs +from aiohttp.helpers import DEBUG + +from .http_exceptions import ( + BadHttpMessage, + BadStatusLine, + ContentLengthError, + InvalidHeader, + InvalidURLError, + LineTooLong, + PayloadEncodingError, + TransferEncodingError, +) +from .http_parser import DeflateBuffer as _DeflateBuffer +from .http_writer import ( + HttpVersion as _HttpVersion, + HttpVersion10 as _HttpVersion10, + HttpVersion11 as _HttpVersion11, +) +from .streams import EMPTY_PAYLOAD as _EMPTY_PAYLOAD, StreamReader as _StreamReader + +cimport cython + +from aiohttp cimport _cparser as cparser + +include "_headers.pxi" + +from aiohttp cimport _find_header + +DEF DEFAULT_FREELIST_SIZE = 250 + +cdef extern from "Python.h": + int PyByteArray_Resize(object, Py_ssize_t) except -1 + Py_ssize_t PyByteArray_Size(object) except -1 + char* PyByteArray_AsString(object) + +__all__ = ('HttpRequestParser', 'HttpResponseParser', + 'RawRequestMessage', 'RawResponseMessage') + +cdef object URL = _URL +cdef object URL_build = URL.build +cdef object CIMultiDict = _CIMultiDict +cdef object CIMultiDictProxy = _CIMultiDictProxy +cdef object HttpVersion = _HttpVersion +cdef object HttpVersion10 = _HttpVersion10 +cdef object HttpVersion11 = _HttpVersion11 +cdef object SEC_WEBSOCKET_KEY1 = hdrs.SEC_WEBSOCKET_KEY1 +cdef object CONTENT_ENCODING = hdrs.CONTENT_ENCODING +cdef object EMPTY_PAYLOAD = _EMPTY_PAYLOAD +cdef object StreamReader = _StreamReader +cdef object DeflateBuffer = _DeflateBuffer + + +cdef inline object extend(object buf, const char* at, size_t length): + cdef Py_ssize_t s + cdef char* ptr + s = PyByteArray_Size(buf) + PyByteArray_Resize(buf, s + length) + ptr = PyByteArray_AsString(buf) + memcpy(ptr + s, at, length) + + +DEF METHODS_COUNT = 46; + +cdef list _http_method = [] + +for i in range(METHODS_COUNT): + _http_method.append( + cparser.llhttp_method_name( i).decode('ascii')) + + +cdef inline str http_method_str(int i): + if i < METHODS_COUNT: + return _http_method[i] + else: + return "" + +cdef inline object find_header(bytes raw_header): + cdef Py_ssize_t size + cdef char *buf + cdef int idx + PyBytes_AsStringAndSize(raw_header, &buf, &size) + idx = _find_header.find_header(buf, size) + if idx == -1: + return raw_header.decode('utf-8', 'surrogateescape') + return headers[idx] + + +@cython.freelist(DEFAULT_FREELIST_SIZE) +cdef class RawRequestMessage: + cdef readonly str method + cdef readonly str path + cdef readonly object version # HttpVersion + cdef readonly object headers # CIMultiDict + cdef readonly object raw_headers # tuple + cdef readonly object should_close + cdef readonly object compression + cdef readonly object upgrade + cdef readonly object chunked + cdef readonly object url # yarl.URL + + def __init__(self, method, path, version, headers, raw_headers, + should_close, compression, upgrade, chunked, url): + self.method = method + self.path = path + self.version = version + self.headers = headers + self.raw_headers = raw_headers + self.should_close = should_close + self.compression = compression + self.upgrade = upgrade + self.chunked = chunked + self.url = url + + def __repr__(self): + info = [] + info.append(("method", self.method)) + info.append(("path", self.path)) + info.append(("version", self.version)) + info.append(("headers", self.headers)) + info.append(("raw_headers", self.raw_headers)) + info.append(("should_close", self.should_close)) + info.append(("compression", self.compression)) + info.append(("upgrade", self.upgrade)) + info.append(("chunked", self.chunked)) + info.append(("url", self.url)) + sinfo = ', '.join(name + '=' + repr(val) for name, val in info) + return '' + + def _replace(self, **dct): + cdef RawRequestMessage ret + ret = _new_request_message(self.method, + self.path, + self.version, + self.headers, + self.raw_headers, + self.should_close, + self.compression, + self.upgrade, + self.chunked, + self.url) + if "method" in dct: + ret.method = dct["method"] + if "path" in dct: + ret.path = dct["path"] + if "version" in dct: + ret.version = dct["version"] + if "headers" in dct: + ret.headers = dct["headers"] + if "raw_headers" in dct: + ret.raw_headers = dct["raw_headers"] + if "should_close" in dct: + ret.should_close = dct["should_close"] + if "compression" in dct: + ret.compression = dct["compression"] + if "upgrade" in dct: + ret.upgrade = dct["upgrade"] + if "chunked" in dct: + ret.chunked = dct["chunked"] + if "url" in dct: + ret.url = dct["url"] + return ret + +cdef _new_request_message(str method, + str path, + object version, + object headers, + object raw_headers, + bint should_close, + object compression, + bint upgrade, + bint chunked, + object url): + cdef RawRequestMessage ret + ret = RawRequestMessage.__new__(RawRequestMessage) + ret.method = method + ret.path = path + ret.version = version + ret.headers = headers + ret.raw_headers = raw_headers + ret.should_close = should_close + ret.compression = compression + ret.upgrade = upgrade + ret.chunked = chunked + ret.url = url + return ret + + +@cython.freelist(DEFAULT_FREELIST_SIZE) +cdef class RawResponseMessage: + cdef readonly object version # HttpVersion + cdef readonly int code + cdef readonly str reason + cdef readonly object headers # CIMultiDict + cdef readonly object raw_headers # tuple + cdef readonly object should_close + cdef readonly object compression + cdef readonly object upgrade + cdef readonly object chunked + + def __init__(self, version, code, reason, headers, raw_headers, + should_close, compression, upgrade, chunked): + self.version = version + self.code = code + self.reason = reason + self.headers = headers + self.raw_headers = raw_headers + self.should_close = should_close + self.compression = compression + self.upgrade = upgrade + self.chunked = chunked + + def __repr__(self): + info = [] + info.append(("version", self.version)) + info.append(("code", self.code)) + info.append(("reason", self.reason)) + info.append(("headers", self.headers)) + info.append(("raw_headers", self.raw_headers)) + info.append(("should_close", self.should_close)) + info.append(("compression", self.compression)) + info.append(("upgrade", self.upgrade)) + info.append(("chunked", self.chunked)) + sinfo = ', '.join(name + '=' + repr(val) for name, val in info) + return '' + + +cdef _new_response_message(object version, + int code, + str reason, + object headers, + object raw_headers, + bint should_close, + object compression, + bint upgrade, + bint chunked): + cdef RawResponseMessage ret + ret = RawResponseMessage.__new__(RawResponseMessage) + ret.version = version + ret.code = code + ret.reason = reason + ret.headers = headers + ret.raw_headers = raw_headers + ret.should_close = should_close + ret.compression = compression + ret.upgrade = upgrade + ret.chunked = chunked + return ret + + +@cython.internal +cdef class HttpParser: + + cdef: + cparser.llhttp_t* _cparser + cparser.llhttp_settings_t* _csettings + + bytearray _raw_name + bytearray _raw_value + bint _has_value + + object _protocol + object _loop + object _timer + + size_t _max_line_size + size_t _max_field_size + size_t _max_headers + bint _response_with_body + bint _read_until_eof + + bint _started + object _url + bytearray _buf + str _path + str _reason + object _headers + list _raw_headers + bint _upgraded + list _messages + object _payload + bint _payload_error + object _payload_exception + object _last_error + bint _auto_decompress + int _limit + + str _content_encoding + + Py_buffer py_buf + + def __cinit__(self): + self._cparser = \ + PyMem_Malloc(sizeof(cparser.llhttp_t)) + if self._cparser is NULL: + raise MemoryError() + + self._csettings = \ + PyMem_Malloc(sizeof(cparser.llhttp_settings_t)) + if self._csettings is NULL: + raise MemoryError() + + def __dealloc__(self): + PyMem_Free(self._cparser) + PyMem_Free(self._csettings) + + cdef _init( + self, cparser.llhttp_type mode, + object protocol, object loop, int limit, + object timer=None, + size_t max_line_size=8190, size_t max_headers=32768, + size_t max_field_size=8190, payload_exception=None, + bint response_with_body=True, bint read_until_eof=False, + bint auto_decompress=True, + ): + cparser.llhttp_settings_init(self._csettings) + cparser.llhttp_init(self._cparser, mode, self._csettings) + self._cparser.data = self + self._cparser.content_length = 0 + + self._protocol = protocol + self._loop = loop + self._timer = timer + + self._buf = bytearray() + self._payload = None + self._payload_error = 0 + self._payload_exception = payload_exception + self._messages = [] + + self._raw_name = bytearray() + self._raw_value = bytearray() + self._has_value = False + + self._max_line_size = max_line_size + self._max_headers = max_headers + self._max_field_size = max_field_size + self._response_with_body = response_with_body + self._read_until_eof = read_until_eof + self._upgraded = False + self._auto_decompress = auto_decompress + self._content_encoding = None + + self._csettings.on_url = cb_on_url + self._csettings.on_status = cb_on_status + self._csettings.on_header_field = cb_on_header_field + self._csettings.on_header_value = cb_on_header_value + self._csettings.on_headers_complete = cb_on_headers_complete + self._csettings.on_body = cb_on_body + self._csettings.on_message_begin = cb_on_message_begin + self._csettings.on_message_complete = cb_on_message_complete + self._csettings.on_chunk_header = cb_on_chunk_header + self._csettings.on_chunk_complete = cb_on_chunk_complete + + self._last_error = None + self._limit = limit + + cdef _process_header(self): + if self._raw_name: + raw_name = bytes(self._raw_name) + raw_value = bytes(self._raw_value) + + name = find_header(raw_name) + value = raw_value.decode('utf-8', 'surrogateescape') + + self._headers.add(name, value) + + if name is CONTENT_ENCODING: + self._content_encoding = value + + PyByteArray_Resize(self._raw_name, 0) + PyByteArray_Resize(self._raw_value, 0) + self._has_value = False + self._raw_headers.append((raw_name, raw_value)) + + cdef _on_header_field(self, char* at, size_t length): + cdef Py_ssize_t size + cdef char *buf + if self._has_value: + self._process_header() + + size = PyByteArray_Size(self._raw_name) + PyByteArray_Resize(self._raw_name, size + length) + buf = PyByteArray_AsString(self._raw_name) + memcpy(buf + size, at, length) + + cdef _on_header_value(self, char* at, size_t length): + cdef Py_ssize_t size + cdef char *buf + + size = PyByteArray_Size(self._raw_value) + PyByteArray_Resize(self._raw_value, size + length) + buf = PyByteArray_AsString(self._raw_value) + memcpy(buf + size, at, length) + self._has_value = True + + cdef _on_headers_complete(self): + self._process_header() + + method = http_method_str(self._cparser.method) + should_close = not cparser.llhttp_should_keep_alive(self._cparser) + upgrade = self._cparser.upgrade + chunked = self._cparser.flags & cparser.F_CHUNKED + + raw_headers = tuple(self._raw_headers) + headers = CIMultiDictProxy(self._headers) + + if upgrade or self._cparser.method == cparser.HTTP_CONNECT: + self._upgraded = True + + # do not support old websocket spec + if SEC_WEBSOCKET_KEY1 in headers: + raise InvalidHeader(SEC_WEBSOCKET_KEY1) + + encoding = None + enc = self._content_encoding + if enc is not None: + self._content_encoding = None + enc = enc.lower() + if enc in ('gzip', 'deflate', 'br'): + encoding = enc + + if self._cparser.type == cparser.HTTP_REQUEST: + msg = _new_request_message( + method, self._path, + self.http_version(), headers, raw_headers, + should_close, encoding, upgrade, chunked, self._url) + else: + msg = _new_response_message( + self.http_version(), self._cparser.status_code, self._reason, + headers, raw_headers, should_close, encoding, + upgrade, chunked) + + if ( + ULLONG_MAX > self._cparser.content_length > 0 or chunked or + self._cparser.method == cparser.HTTP_CONNECT or + (self._cparser.status_code >= 199 and + self._cparser.content_length == 0 and + self._read_until_eof) + ): + payload = StreamReader( + self._protocol, timer=self._timer, loop=self._loop, + limit=self._limit) + else: + payload = EMPTY_PAYLOAD + + self._payload = payload + if encoding is not None and self._auto_decompress: + self._payload = DeflateBuffer(payload, encoding) + + if not self._response_with_body: + payload = EMPTY_PAYLOAD + + self._messages.append((msg, payload)) + + cdef _on_message_complete(self): + self._payload.feed_eof() + self._payload = None + + cdef _on_chunk_header(self): + self._payload.begin_http_chunk_receiving() + + cdef _on_chunk_complete(self): + self._payload.end_http_chunk_receiving() + + cdef object _on_status_complete(self): + pass + + cdef inline http_version(self): + cdef cparser.llhttp_t* parser = self._cparser + + if parser.http_major == 1: + if parser.http_minor == 0: + return HttpVersion10 + elif parser.http_minor == 1: + return HttpVersion11 + + return HttpVersion(parser.http_major, parser.http_minor) + + ### Public API ### + + def feed_eof(self): + cdef bytes desc + + if self._payload is not None: + if self._cparser.flags & cparser.F_CHUNKED: + raise TransferEncodingError( + "Not enough data for satisfy transfer length header.") + elif self._cparser.flags & cparser.F_CONTENT_LENGTH: + raise ContentLengthError( + "Not enough data for satisfy content length header.") + elif cparser.llhttp_get_errno(self._cparser) != cparser.HPE_OK: + desc = cparser.llhttp_get_error_reason(self._cparser) + raise PayloadEncodingError(desc.decode('latin-1')) + else: + self._payload.feed_eof() + elif self._started: + self._on_headers_complete() + if self._messages: + return self._messages[-1][0] + + def feed_data(self, data): + cdef: + size_t data_len + size_t nb + cdef cparser.llhttp_errno_t errno + + PyObject_GetBuffer(data, &self.py_buf, PyBUF_SIMPLE) + data_len = self.py_buf.len + + errno = cparser.llhttp_execute( + self._cparser, + self.py_buf.buf, + data_len) + + if errno is cparser.HPE_PAUSED_UPGRADE: + cparser.llhttp_resume_after_upgrade(self._cparser) + + nb = cparser.llhttp_get_error_pos(self._cparser) - self.py_buf.buf + + PyBuffer_Release(&self.py_buf) + + if errno not in (cparser.HPE_OK, cparser.HPE_PAUSED_UPGRADE): + if self._payload_error == 0: + if self._last_error is not None: + ex = self._last_error + self._last_error = None + else: + after = cparser.llhttp_get_error_pos(self._cparser) + before = data[:after - self.py_buf.buf] + after_b = after.split(b"\r\n", 1)[0] + before = before.rsplit(b"\r\n", 1)[-1] + data = before + after_b + pointer = " " * (len(repr(before))-1) + "^" + ex = parser_error_from_errno(self._cparser, data, pointer) + self._payload = None + raise ex + + if self._messages: + messages = self._messages + self._messages = [] + else: + messages = () + + if self._upgraded: + return messages, True, data[nb:] + else: + return messages, False, b'' + + def set_upgraded(self, val): + self._upgraded = val + + +cdef class HttpRequestParser(HttpParser): + + def __init__( + self, protocol, loop, int limit, timer=None, + size_t max_line_size=8190, size_t max_headers=32768, + size_t max_field_size=8190, payload_exception=None, + bint response_with_body=True, bint read_until_eof=False, + bint auto_decompress=True, + ): + self._init(cparser.HTTP_REQUEST, protocol, loop, limit, timer, + max_line_size, max_headers, max_field_size, + payload_exception, response_with_body, read_until_eof, + auto_decompress) + + cdef object _on_status_complete(self): + cdef int idx1, idx2 + if not self._buf: + return + self._path = self._buf.decode('utf-8', 'surrogateescape') + try: + idx3 = len(self._path) + if self._cparser.method == cparser.HTTP_CONNECT: + # authority-form, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.3 + self._url = URL.build(authority=self._path, encoded=True) + elif idx3 > 1 and self._path[0] == '/': + # origin-form, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.1 + idx1 = self._path.find("?") + if idx1 == -1: + query = "" + idx2 = self._path.find("#") + if idx2 == -1: + path = self._path + fragment = "" + else: + path = self._path[0: idx2] + fragment = self._path[idx2+1:] + + else: + path = self._path[0:idx1] + idx1 += 1 + idx2 = self._path.find("#", idx1+1) + if idx2 == -1: + query = self._path[idx1:] + fragment = "" + else: + query = self._path[idx1: idx2] + fragment = self._path[idx2+1:] + + self._url = URL.build( + path=path, + query_string=query, + fragment=fragment, + encoded=True, + ) + else: + # absolute-form for proxy maybe, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.2 + self._url = URL(self._path, encoded=True) + finally: + PyByteArray_Resize(self._buf, 0) + + +cdef class HttpResponseParser(HttpParser): + + def __init__( + self, protocol, loop, int limit, timer=None, + size_t max_line_size=8190, size_t max_headers=32768, + size_t max_field_size=8190, payload_exception=None, + bint response_with_body=True, bint read_until_eof=False, + bint auto_decompress=True + ): + self._init(cparser.HTTP_RESPONSE, protocol, loop, limit, timer, + max_line_size, max_headers, max_field_size, + payload_exception, response_with_body, read_until_eof, + auto_decompress) + # Use strict parsing on dev mode, so users are warned about broken servers. + if not DEBUG: + cparser.llhttp_set_lenient_headers(self._cparser, 1) + cparser.llhttp_set_lenient_optional_cr_before_lf(self._cparser, 1) + cparser.llhttp_set_lenient_spaces_after_chunk_size(self._cparser, 1) + + cdef object _on_status_complete(self): + if self._buf: + self._reason = self._buf.decode('utf-8', 'surrogateescape') + PyByteArray_Resize(self._buf, 0) + else: + self._reason = self._reason or '' + +cdef int cb_on_message_begin(cparser.llhttp_t* parser) except -1: + cdef HttpParser pyparser = parser.data + + pyparser._started = True + pyparser._headers = CIMultiDict() + pyparser._raw_headers = [] + PyByteArray_Resize(pyparser._buf, 0) + pyparser._path = None + pyparser._reason = None + return 0 + + +cdef int cb_on_url(cparser.llhttp_t* parser, + const char *at, size_t length) except -1: + cdef HttpParser pyparser = parser.data + try: + if length > pyparser._max_line_size: + raise LineTooLong( + 'Status line is too long', pyparser._max_line_size, length) + extend(pyparser._buf, at, length) + except BaseException as ex: + pyparser._last_error = ex + return -1 + else: + return 0 + + +cdef int cb_on_status(cparser.llhttp_t* parser, + const char *at, size_t length) except -1: + cdef HttpParser pyparser = parser.data + cdef str reason + try: + if length > pyparser._max_line_size: + raise LineTooLong( + 'Status line is too long', pyparser._max_line_size, length) + extend(pyparser._buf, at, length) + except BaseException as ex: + pyparser._last_error = ex + return -1 + else: + return 0 + + +cdef int cb_on_header_field(cparser.llhttp_t* parser, + const char *at, size_t length) except -1: + cdef HttpParser pyparser = parser.data + cdef Py_ssize_t size + try: + pyparser._on_status_complete() + size = len(pyparser._raw_name) + length + if size > pyparser._max_field_size: + raise LineTooLong( + 'Header name is too long', pyparser._max_field_size, size) + pyparser._on_header_field(at, length) + except BaseException as ex: + pyparser._last_error = ex + return -1 + else: + return 0 + + +cdef int cb_on_header_value(cparser.llhttp_t* parser, + const char *at, size_t length) except -1: + cdef HttpParser pyparser = parser.data + cdef Py_ssize_t size + try: + size = len(pyparser._raw_value) + length + if size > pyparser._max_field_size: + raise LineTooLong( + 'Header value is too long', pyparser._max_field_size, size) + pyparser._on_header_value(at, length) + except BaseException as ex: + pyparser._last_error = ex + return -1 + else: + return 0 + + +cdef int cb_on_headers_complete(cparser.llhttp_t* parser) except -1: + cdef HttpParser pyparser = parser.data + try: + pyparser._on_status_complete() + pyparser._on_headers_complete() + except BaseException as exc: + pyparser._last_error = exc + return -1 + else: + if ( + pyparser._cparser.upgrade or + pyparser._cparser.method == cparser.HTTP_CONNECT + ): + return 2 + else: + return 0 + + +cdef int cb_on_body(cparser.llhttp_t* parser, + const char *at, size_t length) except -1: + cdef HttpParser pyparser = parser.data + cdef bytes body = at[:length] + try: + pyparser._payload.feed_data(body, length) + except BaseException as exc: + if pyparser._payload_exception is not None: + pyparser._payload.set_exception(pyparser._payload_exception(str(exc))) + else: + pyparser._payload.set_exception(exc) + pyparser._payload_error = 1 + return -1 + else: + return 0 + + +cdef int cb_on_message_complete(cparser.llhttp_t* parser) except -1: + cdef HttpParser pyparser = parser.data + try: + pyparser._started = False + pyparser._on_message_complete() + except BaseException as exc: + pyparser._last_error = exc + return -1 + else: + return 0 + + +cdef int cb_on_chunk_header(cparser.llhttp_t* parser) except -1: + cdef HttpParser pyparser = parser.data + try: + pyparser._on_chunk_header() + except BaseException as exc: + pyparser._last_error = exc + return -1 + else: + return 0 + + +cdef int cb_on_chunk_complete(cparser.llhttp_t* parser) except -1: + cdef HttpParser pyparser = parser.data + try: + pyparser._on_chunk_complete() + except BaseException as exc: + pyparser._last_error = exc + return -1 + else: + return 0 + + +cdef parser_error_from_errno(cparser.llhttp_t* parser, data, pointer): + cdef cparser.llhttp_errno_t errno = cparser.llhttp_get_errno(parser) + cdef bytes desc = cparser.llhttp_get_error_reason(parser) + + err_msg = "{}:\n\n {!r}\n {}".format(desc.decode("latin-1"), data, pointer) + + if errno in {cparser.HPE_CB_MESSAGE_BEGIN, + cparser.HPE_CB_HEADERS_COMPLETE, + cparser.HPE_CB_MESSAGE_COMPLETE, + cparser.HPE_CB_CHUNK_HEADER, + cparser.HPE_CB_CHUNK_COMPLETE, + cparser.HPE_INVALID_CONSTANT, + cparser.HPE_INVALID_HEADER_TOKEN, + cparser.HPE_INVALID_CONTENT_LENGTH, + cparser.HPE_INVALID_CHUNK_SIZE, + cparser.HPE_INVALID_EOF_STATE, + cparser.HPE_INVALID_TRANSFER_ENCODING}: + return BadHttpMessage(err_msg) + elif errno in {cparser.HPE_INVALID_STATUS, + cparser.HPE_INVALID_METHOD, + cparser.HPE_INVALID_VERSION}: + return BadStatusLine(error=err_msg) + elif errno == cparser.HPE_INVALID_URL: + return InvalidURLError(err_msg) + + return BadHttpMessage(err_msg) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_writer.cpython-312-x86_64-linux-gnu.so b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_writer.cpython-312-x86_64-linux-gnu.so new file mode 100644 index 0000000000000000000000000000000000000000..c8c3b917968b59bb2c67baa8cc556dd69cebc6d9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_writer.cpython-312-x86_64-linux-gnu.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36023b950a22839c52bcd18515d1c8dd92694b67a6bbdce3efcc8e7b52e060a1 +size 503128 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_writer.pyx b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_writer.pyx new file mode 100644 index 0000000000000000000000000000000000000000..eff8521958624946ffa364a6433e7b8f6b9d2c0f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_http_writer.pyx @@ -0,0 +1,163 @@ +from cpython.bytes cimport PyBytes_FromStringAndSize +from cpython.exc cimport PyErr_NoMemory +from cpython.mem cimport PyMem_Free, PyMem_Malloc, PyMem_Realloc +from cpython.object cimport PyObject_Str +from libc.stdint cimport uint8_t, uint64_t +from libc.string cimport memcpy + +from multidict import istr + +DEF BUF_SIZE = 16 * 1024 # 16KiB +cdef char BUFFER[BUF_SIZE] + +cdef object _istr = istr + + +# ----------------- writer --------------------------- + +cdef struct Writer: + char *buf + Py_ssize_t size + Py_ssize_t pos + + +cdef inline void _init_writer(Writer* writer): + writer.buf = &BUFFER[0] + writer.size = BUF_SIZE + writer.pos = 0 + + +cdef inline void _release_writer(Writer* writer): + if writer.buf != BUFFER: + PyMem_Free(writer.buf) + + +cdef inline int _write_byte(Writer* writer, uint8_t ch): + cdef char * buf + cdef Py_ssize_t size + + if writer.pos == writer.size: + # reallocate + size = writer.size + BUF_SIZE + if writer.buf == BUFFER: + buf = PyMem_Malloc(size) + if buf == NULL: + PyErr_NoMemory() + return -1 + memcpy(buf, writer.buf, writer.size) + else: + buf = PyMem_Realloc(writer.buf, size) + if buf == NULL: + PyErr_NoMemory() + return -1 + writer.buf = buf + writer.size = size + writer.buf[writer.pos] = ch + writer.pos += 1 + return 0 + + +cdef inline int _write_utf8(Writer* writer, Py_UCS4 symbol): + cdef uint64_t utf = symbol + + if utf < 0x80: + return _write_byte(writer, utf) + elif utf < 0x800: + if _write_byte(writer, (0xc0 | (utf >> 6))) < 0: + return -1 + return _write_byte(writer, (0x80 | (utf & 0x3f))) + elif 0xD800 <= utf <= 0xDFFF: + # surogate pair, ignored + return 0 + elif utf < 0x10000: + if _write_byte(writer, (0xe0 | (utf >> 12))) < 0: + return -1 + if _write_byte(writer, (0x80 | ((utf >> 6) & 0x3f))) < 0: + return -1 + return _write_byte(writer, (0x80 | (utf & 0x3f))) + elif utf > 0x10FFFF: + # symbol is too large + return 0 + else: + if _write_byte(writer, (0xf0 | (utf >> 18))) < 0: + return -1 + if _write_byte(writer, + (0x80 | ((utf >> 12) & 0x3f))) < 0: + return -1 + if _write_byte(writer, + (0x80 | ((utf >> 6) & 0x3f))) < 0: + return -1 + return _write_byte(writer, (0x80 | (utf & 0x3f))) + + +cdef inline int _write_str(Writer* writer, str s): + cdef Py_UCS4 ch + for ch in s: + if _write_utf8(writer, ch) < 0: + return -1 + + +# --------------- _serialize_headers ---------------------- + +cdef str to_str(object s): + typ = type(s) + if typ is str: + return s + elif typ is _istr: + return PyObject_Str(s) + elif not isinstance(s, str): + raise TypeError("Cannot serialize non-str key {!r}".format(s)) + else: + return str(s) + + +cdef void _safe_header(str string) except *: + if "\r" in string or "\n" in string: + raise ValueError( + "Newline or carriage return character detected in HTTP status message or " + "header. This is a potential security issue." + ) + + +def _serialize_headers(str status_line, headers): + cdef Writer writer + cdef object key + cdef object val + cdef bytes ret + + _init_writer(&writer) + + for key, val in headers.items(): + _safe_header(to_str(key)) + _safe_header(to_str(val)) + + try: + if _write_str(&writer, status_line) < 0: + raise + if _write_byte(&writer, b'\r') < 0: + raise + if _write_byte(&writer, b'\n') < 0: + raise + + for key, val in headers.items(): + if _write_str(&writer, to_str(key)) < 0: + raise + if _write_byte(&writer, b':') < 0: + raise + if _write_byte(&writer, b' ') < 0: + raise + if _write_str(&writer, to_str(val)) < 0: + raise + if _write_byte(&writer, b'\r') < 0: + raise + if _write_byte(&writer, b'\n') < 0: + raise + + if _write_byte(&writer, b'\r') < 0: + raise + if _write_byte(&writer, b'\n') < 0: + raise + + return PyBytes_FromStringAndSize(writer.buf, writer.pos) + finally: + _release_writer(&writer) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_websocket.cpython-312-x86_64-linux-gnu.so b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_websocket.cpython-312-x86_64-linux-gnu.so new file mode 100644 index 0000000000000000000000000000000000000000..c3440175f119ffe6f35d34dc4da0089018958c71 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_websocket.cpython-312-x86_64-linux-gnu.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7378ab0eb952b514cef717c1f784f629090eff5edd318359fbdf8992e7c21fa4 +size 278168 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_websocket.pyx b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_websocket.pyx new file mode 100644 index 0000000000000000000000000000000000000000..94318d2b1bec78546a9f6f030e0b580e2dbc9e70 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/_websocket.pyx @@ -0,0 +1,56 @@ +from cpython cimport PyBytes_AsString + + +#from cpython cimport PyByteArray_AsString # cython still not exports that +cdef extern from "Python.h": + char* PyByteArray_AsString(bytearray ba) except NULL + +from libc.stdint cimport uint32_t, uint64_t, uintmax_t + + +def _websocket_mask_cython(object mask, object data): + """Note, this function mutates its `data` argument + """ + cdef: + Py_ssize_t data_len, i + # bit operations on signed integers are implementation-specific + unsigned char * in_buf + const unsigned char * mask_buf + uint32_t uint32_msk + uint64_t uint64_msk + + assert len(mask) == 4 + + if not isinstance(mask, bytes): + mask = bytes(mask) + + if isinstance(data, bytearray): + data = data + else: + data = bytearray(data) + + data_len = len(data) + in_buf = PyByteArray_AsString(data) + mask_buf = PyBytes_AsString(mask) + uint32_msk = (mask_buf)[0] + + # TODO: align in_data ptr to achieve even faster speeds + # does it need in python ?! malloc() always aligns to sizeof(long) bytes + + if sizeof(size_t) >= 8: + uint64_msk = uint32_msk + uint64_msk = (uint64_msk << 32) | uint32_msk + + while data_len >= 8: + (in_buf)[0] ^= uint64_msk + in_buf += 8 + data_len -= 8 + + + while data_len >= 4: + (in_buf)[0] ^= uint32_msk + in_buf += 4 + data_len -= 4 + + for i in range(0, data_len): + in_buf[i] ^= mask_buf[i] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/abc.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/abc.py new file mode 100644 index 0000000000000000000000000000000000000000..ceb4490019af7592dffabc87f2f9f7b3dd831710 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/abc.py @@ -0,0 +1,209 @@ +import asyncio +import logging +from abc import ABC, abstractmethod +from collections.abc import Sized +from http.cookies import BaseCookie, Morsel +from typing import ( + TYPE_CHECKING, + Any, + Awaitable, + Callable, + Dict, + Generator, + Iterable, + List, + Optional, + Tuple, +) + +from multidict import CIMultiDict +from yarl import URL + +from .helpers import get_running_loop +from .typedefs import LooseCookies + +if TYPE_CHECKING: # pragma: no cover + from .web_app import Application + from .web_exceptions import HTTPException + from .web_request import BaseRequest, Request + from .web_response import StreamResponse +else: + BaseRequest = Request = Application = StreamResponse = None + HTTPException = None + + +class AbstractRouter(ABC): + def __init__(self) -> None: + self._frozen = False + + def post_init(self, app: Application) -> None: + """Post init stage. + + Not an abstract method for sake of backward compatibility, + but if the router wants to be aware of the application + it can override this. + """ + + @property + def frozen(self) -> bool: + return self._frozen + + def freeze(self) -> None: + """Freeze router.""" + self._frozen = True + + @abstractmethod + async def resolve(self, request: Request) -> "AbstractMatchInfo": + """Return MATCH_INFO for given request""" + + +class AbstractMatchInfo(ABC): + @property # pragma: no branch + @abstractmethod + def handler(self) -> Callable[[Request], Awaitable[StreamResponse]]: + """Execute matched request handler""" + + @property + @abstractmethod + def expect_handler( + self, + ) -> Callable[[Request], Awaitable[Optional[StreamResponse]]]: + """Expect handler for 100-continue processing""" + + @property # pragma: no branch + @abstractmethod + def http_exception(self) -> Optional[HTTPException]: + """HTTPException instance raised on router's resolving, or None""" + + @abstractmethod # pragma: no branch + def get_info(self) -> Dict[str, Any]: + """Return a dict with additional info useful for introspection""" + + @property # pragma: no branch + @abstractmethod + def apps(self) -> Tuple[Application, ...]: + """Stack of nested applications. + + Top level application is left-most element. + + """ + + @abstractmethod + def add_app(self, app: Application) -> None: + """Add application to the nested apps stack.""" + + @abstractmethod + def freeze(self) -> None: + """Freeze the match info. + + The method is called after route resolution. + + After the call .add_app() is forbidden. + + """ + + +class AbstractView(ABC): + """Abstract class based view.""" + + def __init__(self, request: Request) -> None: + self._request = request + + @property + def request(self) -> Request: + """Request instance.""" + return self._request + + @abstractmethod + def __await__(self) -> Generator[Any, None, StreamResponse]: + """Execute the view handler.""" + + +class AbstractResolver(ABC): + """Abstract DNS resolver.""" + + @abstractmethod + async def resolve(self, host: str, port: int, family: int) -> List[Dict[str, Any]]: + """Return IP address for given hostname""" + + @abstractmethod + async def close(self) -> None: + """Release resolver""" + + +if TYPE_CHECKING: # pragma: no cover + IterableBase = Iterable[Morsel[str]] +else: + IterableBase = Iterable + + +ClearCookiePredicate = Callable[["Morsel[str]"], bool] + + +class AbstractCookieJar(Sized, IterableBase): + """Abstract Cookie Jar.""" + + def __init__(self, *, loop: Optional[asyncio.AbstractEventLoop] = None) -> None: + self._loop = get_running_loop(loop) + + @abstractmethod + def clear(self, predicate: Optional[ClearCookiePredicate] = None) -> None: + """Clear all cookies if no predicate is passed.""" + + @abstractmethod + def clear_domain(self, domain: str) -> None: + """Clear all cookies for domain and all subdomains.""" + + @abstractmethod + def update_cookies(self, cookies: LooseCookies, response_url: URL = URL()) -> None: + """Update cookies.""" + + @abstractmethod + def filter_cookies(self, request_url: URL) -> "BaseCookie[str]": + """Return the jar's cookies filtered by their attributes.""" + + +class AbstractStreamWriter(ABC): + """Abstract stream writer.""" + + buffer_size = 0 + output_size = 0 + length: Optional[int] = 0 + + @abstractmethod + async def write(self, chunk: bytes) -> None: + """Write chunk into stream.""" + + @abstractmethod + async def write_eof(self, chunk: bytes = b"") -> None: + """Write last chunk.""" + + @abstractmethod + async def drain(self) -> None: + """Flush the write buffer.""" + + @abstractmethod + def enable_compression(self, encoding: str = "deflate") -> None: + """Enable HTTP body compression""" + + @abstractmethod + def enable_chunking(self) -> None: + """Enable HTTP chunked mode""" + + @abstractmethod + async def write_headers( + self, status_line: str, headers: "CIMultiDict[str]" + ) -> None: + """Write HTTP headers""" + + +class AbstractAccessLogger(ABC): + """Abstract writer to access log.""" + + def __init__(self, logger: logging.Logger, log_format: str) -> None: + self.logger = logger + self.log_format = log_format + + @abstractmethod + def log(self, request: BaseRequest, response: StreamResponse, time: float) -> None: + """Emit log to logger.""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/base_protocol.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/base_protocol.py new file mode 100644 index 0000000000000000000000000000000000000000..4c9f0a752e3aa833a17b7adf0c261d19a5f083fa --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/base_protocol.py @@ -0,0 +1,90 @@ +import asyncio +from typing import Optional, cast + +from .tcp_helpers import tcp_nodelay + + +class BaseProtocol(asyncio.Protocol): + __slots__ = ( + "_loop", + "_paused", + "_drain_waiter", + "_connection_lost", + "_reading_paused", + "transport", + ) + + def __init__(self, loop: asyncio.AbstractEventLoop) -> None: + self._loop: asyncio.AbstractEventLoop = loop + self._paused = False + self._drain_waiter: Optional[asyncio.Future[None]] = None + self._reading_paused = False + + self.transport: Optional[asyncio.Transport] = None + + @property + def connected(self) -> bool: + """Return True if the connection is open.""" + return self.transport is not None + + def pause_writing(self) -> None: + assert not self._paused + self._paused = True + + def resume_writing(self) -> None: + assert self._paused + self._paused = False + + waiter = self._drain_waiter + if waiter is not None: + self._drain_waiter = None + if not waiter.done(): + waiter.set_result(None) + + def pause_reading(self) -> None: + if not self._reading_paused and self.transport is not None: + try: + self.transport.pause_reading() + except (AttributeError, NotImplementedError, RuntimeError): + pass + self._reading_paused = True + + def resume_reading(self) -> None: + if self._reading_paused and self.transport is not None: + try: + self.transport.resume_reading() + except (AttributeError, NotImplementedError, RuntimeError): + pass + self._reading_paused = False + + def connection_made(self, transport: asyncio.BaseTransport) -> None: + tr = cast(asyncio.Transport, transport) + tcp_nodelay(tr, True) + self.transport = tr + + def connection_lost(self, exc: Optional[BaseException]) -> None: + # Wake up the writer if currently paused. + self.transport = None + if not self._paused: + return + waiter = self._drain_waiter + if waiter is None: + return + self._drain_waiter = None + if waiter.done(): + return + if exc is None: + waiter.set_result(None) + else: + waiter.set_exception(exc) + + async def _drain_helper(self) -> None: + if not self.connected: + raise ConnectionResetError("Connection lost") + if not self._paused: + return + waiter = self._drain_waiter + if waiter is None: + waiter = self._loop.create_future() + self._drain_waiter = waiter + await asyncio.shield(waiter) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client.py new file mode 100644 index 0000000000000000000000000000000000000000..83ef1ba586abc38e903dc3a07fe5be234def81cc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client.py @@ -0,0 +1,1356 @@ +"""HTTP Client for asyncio.""" + +import asyncio +import base64 +import hashlib +import json +import os +import sys +import traceback +import warnings +from contextlib import suppress +from types import SimpleNamespace, TracebackType +from typing import ( + TYPE_CHECKING, + Any, + Awaitable, + Callable, + Coroutine, + Final, + FrozenSet, + Generator, + Generic, + Iterable, + List, + Literal, + Mapping, + Optional, + Set, + Tuple, + Type, + TypeVar, + Union, +) + +import attr +from multidict import CIMultiDict, MultiDict, MultiDictProxy, istr +from yarl import URL + +from . import hdrs, http, payload +from .abc import AbstractCookieJar +from .client_exceptions import ( + ClientConnectionError as ClientConnectionError, + ClientConnectorCertificateError as ClientConnectorCertificateError, + ClientConnectorError as ClientConnectorError, + ClientConnectorSSLError as ClientConnectorSSLError, + ClientError as ClientError, + ClientHttpProxyError as ClientHttpProxyError, + ClientOSError as ClientOSError, + ClientPayloadError as ClientPayloadError, + ClientProxyConnectionError as ClientProxyConnectionError, + ClientResponseError as ClientResponseError, + ClientSSLError as ClientSSLError, + ContentTypeError as ContentTypeError, + InvalidURL as InvalidURL, + ServerConnectionError as ServerConnectionError, + ServerDisconnectedError as ServerDisconnectedError, + ServerFingerprintMismatch as ServerFingerprintMismatch, + ServerTimeoutError as ServerTimeoutError, + TooManyRedirects as TooManyRedirects, + WSServerHandshakeError as WSServerHandshakeError, +) +from .client_reqrep import ( + ClientRequest as ClientRequest, + ClientResponse as ClientResponse, + Fingerprint as Fingerprint, + RequestInfo as RequestInfo, + _merge_ssl_params, +) +from .client_ws import ClientWebSocketResponse as ClientWebSocketResponse +from .connector import ( + BaseConnector as BaseConnector, + NamedPipeConnector as NamedPipeConnector, + TCPConnector as TCPConnector, + UnixConnector as UnixConnector, +) +from .cookiejar import CookieJar +from .helpers import ( + _SENTINEL, + DEBUG, + BasicAuth, + TimeoutHandle, + ceil_timeout, + get_env_proxy_for_url, + get_running_loop, + method_must_be_empty_body, + sentinel, + strip_auth_from_url, +) +from .http import WS_KEY, HttpVersion, WebSocketReader, WebSocketWriter +from .http_websocket import WSHandshakeError, WSMessage, ws_ext_gen, ws_ext_parse +from .streams import FlowControlDataQueue +from .tracing import Trace, TraceConfig +from .typedefs import JSONEncoder, LooseCookies, LooseHeaders, StrOrURL + +__all__ = ( + # client_exceptions + "ClientConnectionError", + "ClientConnectorCertificateError", + "ClientConnectorError", + "ClientConnectorSSLError", + "ClientError", + "ClientHttpProxyError", + "ClientOSError", + "ClientPayloadError", + "ClientProxyConnectionError", + "ClientResponseError", + "ClientSSLError", + "ContentTypeError", + "InvalidURL", + "ServerConnectionError", + "ServerDisconnectedError", + "ServerFingerprintMismatch", + "ServerTimeoutError", + "TooManyRedirects", + "WSServerHandshakeError", + # client_reqrep + "ClientRequest", + "ClientResponse", + "Fingerprint", + "RequestInfo", + # connector + "BaseConnector", + "TCPConnector", + "UnixConnector", + "NamedPipeConnector", + # client_ws + "ClientWebSocketResponse", + # client + "ClientSession", + "ClientTimeout", + "request", +) + + +if TYPE_CHECKING: + from ssl import SSLContext +else: + SSLContext = None + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class ClientTimeout: + total: Optional[float] = None + connect: Optional[float] = None + sock_read: Optional[float] = None + sock_connect: Optional[float] = None + ceil_threshold: float = 5 + + # pool_queue_timeout: Optional[float] = None + # dns_resolution_timeout: Optional[float] = None + # socket_connect_timeout: Optional[float] = None + # connection_acquiring_timeout: Optional[float] = None + # new_connection_timeout: Optional[float] = None + # http_header_timeout: Optional[float] = None + # response_body_timeout: Optional[float] = None + + # to create a timeout specific for a single request, either + # - create a completely new one to overwrite the default + # - or use http://www.attrs.org/en/stable/api.html#attr.evolve + # to overwrite the defaults + + +# 5 Minute default read timeout +DEFAULT_TIMEOUT: Final[ClientTimeout] = ClientTimeout(total=5 * 60) + +_RetType = TypeVar("_RetType") +_CharsetResolver = Callable[[ClientResponse, bytes], str] + + +class ClientSession: + """First-class interface for making HTTP requests.""" + + ATTRS = frozenset( + [ + "_base_url", + "_source_traceback", + "_connector", + "requote_redirect_url", + "_loop", + "_cookie_jar", + "_connector_owner", + "_default_auth", + "_version", + "_json_serialize", + "_requote_redirect_url", + "_timeout", + "_raise_for_status", + "_auto_decompress", + "_trust_env", + "_default_headers", + "_skip_auto_headers", + "_request_class", + "_response_class", + "_ws_response_class", + "_trace_configs", + "_read_bufsize", + "_max_line_size", + "_max_field_size", + "_resolve_charset", + ] + ) + + _source_traceback: Optional[traceback.StackSummary] = None + _connector: Optional[BaseConnector] = None + + def __init__( + self, + base_url: Optional[StrOrURL] = None, + *, + connector: Optional[BaseConnector] = None, + loop: Optional[asyncio.AbstractEventLoop] = None, + cookies: Optional[LooseCookies] = None, + headers: Optional[LooseHeaders] = None, + skip_auto_headers: Optional[Iterable[str]] = None, + auth: Optional[BasicAuth] = None, + json_serialize: JSONEncoder = json.dumps, + request_class: Type[ClientRequest] = ClientRequest, + response_class: Type[ClientResponse] = ClientResponse, + ws_response_class: Type[ClientWebSocketResponse] = ClientWebSocketResponse, + version: HttpVersion = http.HttpVersion11, + cookie_jar: Optional[AbstractCookieJar] = None, + connector_owner: bool = True, + raise_for_status: Union[ + bool, Callable[[ClientResponse], Awaitable[None]] + ] = False, + read_timeout: Union[float, _SENTINEL] = sentinel, + conn_timeout: Optional[float] = None, + timeout: Union[object, ClientTimeout] = sentinel, + auto_decompress: bool = True, + trust_env: bool = False, + requote_redirect_url: bool = True, + trace_configs: Optional[List[TraceConfig]] = None, + read_bufsize: int = 2**16, + max_line_size: int = 8190, + max_field_size: int = 8190, + fallback_charset_resolver: _CharsetResolver = lambda r, b: "utf-8", + ) -> None: + if loop is None: + if connector is not None: + loop = connector._loop + + loop = get_running_loop(loop) + + if base_url is None or isinstance(base_url, URL): + self._base_url: Optional[URL] = base_url + else: + self._base_url = URL(base_url) + assert ( + self._base_url.origin() == self._base_url + ), "Only absolute URLs without path part are supported" + + if connector is None: + connector = TCPConnector(loop=loop) + + if connector._loop is not loop: + raise RuntimeError("Session and connector has to use same event loop") + + self._loop = loop + + if loop.get_debug(): + self._source_traceback = traceback.extract_stack(sys._getframe(1)) + + if cookie_jar is None: + cookie_jar = CookieJar(loop=loop) + self._cookie_jar = cookie_jar + + if cookies is not None: + self._cookie_jar.update_cookies(cookies) + + self._connector = connector + self._connector_owner = connector_owner + self._default_auth = auth + self._version = version + self._json_serialize = json_serialize + if timeout is sentinel: + self._timeout = DEFAULT_TIMEOUT + if read_timeout is not sentinel: + warnings.warn( + "read_timeout is deprecated, " "use timeout argument instead", + DeprecationWarning, + stacklevel=2, + ) + self._timeout = attr.evolve(self._timeout, total=read_timeout) + if conn_timeout is not None: + self._timeout = attr.evolve(self._timeout, connect=conn_timeout) + warnings.warn( + "conn_timeout is deprecated, " "use timeout argument instead", + DeprecationWarning, + stacklevel=2, + ) + else: + self._timeout = timeout # type: ignore[assignment] + if read_timeout is not sentinel: + raise ValueError( + "read_timeout and timeout parameters " + "conflict, please setup " + "timeout.read" + ) + if conn_timeout is not None: + raise ValueError( + "conn_timeout and timeout parameters " + "conflict, please setup " + "timeout.connect" + ) + self._raise_for_status = raise_for_status + self._auto_decompress = auto_decompress + self._trust_env = trust_env + self._requote_redirect_url = requote_redirect_url + self._read_bufsize = read_bufsize + self._max_line_size = max_line_size + self._max_field_size = max_field_size + + # Convert to list of tuples + if headers: + real_headers: CIMultiDict[str] = CIMultiDict(headers) + else: + real_headers = CIMultiDict() + self._default_headers: CIMultiDict[str] = real_headers + if skip_auto_headers is not None: + self._skip_auto_headers = frozenset(istr(i) for i in skip_auto_headers) + else: + self._skip_auto_headers = frozenset() + + self._request_class = request_class + self._response_class = response_class + self._ws_response_class = ws_response_class + + self._trace_configs = trace_configs or [] + for trace_config in self._trace_configs: + trace_config.freeze() + + self._resolve_charset = fallback_charset_resolver + + def __init_subclass__(cls: Type["ClientSession"]) -> None: + warnings.warn( + "Inheritance class {} from ClientSession " + "is discouraged".format(cls.__name__), + DeprecationWarning, + stacklevel=2, + ) + + if DEBUG: + + def __setattr__(self, name: str, val: Any) -> None: + if name not in self.ATTRS: + warnings.warn( + "Setting custom ClientSession.{} attribute " + "is discouraged".format(name), + DeprecationWarning, + stacklevel=2, + ) + super().__setattr__(name, val) + + def __del__(self, _warnings: Any = warnings) -> None: + if not self.closed: + kwargs = {"source": self} + _warnings.warn( + f"Unclosed client session {self!r}", ResourceWarning, **kwargs + ) + context = {"client_session": self, "message": "Unclosed client session"} + if self._source_traceback is not None: + context["source_traceback"] = self._source_traceback + self._loop.call_exception_handler(context) + + def request( + self, method: str, url: StrOrURL, **kwargs: Any + ) -> "_RequestContextManager": + """Perform HTTP request.""" + return _RequestContextManager(self._request(method, url, **kwargs)) + + def _build_url(self, str_or_url: StrOrURL) -> URL: + url = URL(str_or_url) + if self._base_url is None: + return url + else: + assert not url.is_absolute() and url.path.startswith("/") + return self._base_url.join(url) + + async def _request( + self, + method: str, + str_or_url: StrOrURL, + *, + params: Optional[Mapping[str, str]] = None, + data: Any = None, + json: Any = None, + cookies: Optional[LooseCookies] = None, + headers: Optional[LooseHeaders] = None, + skip_auto_headers: Optional[Iterable[str]] = None, + auth: Optional[BasicAuth] = None, + allow_redirects: bool = True, + max_redirects: int = 10, + compress: Optional[str] = None, + chunked: Optional[bool] = None, + expect100: bool = False, + raise_for_status: Union[ + None, bool, Callable[[ClientResponse], Awaitable[None]] + ] = None, + read_until_eof: bool = True, + proxy: Optional[StrOrURL] = None, + proxy_auth: Optional[BasicAuth] = None, + timeout: Union[ClientTimeout, _SENTINEL] = sentinel, + verify_ssl: Optional[bool] = None, + fingerprint: Optional[bytes] = None, + ssl_context: Optional[SSLContext] = None, + ssl: Optional[Union[SSLContext, Literal[False], Fingerprint]] = None, + server_hostname: Optional[str] = None, + proxy_headers: Optional[LooseHeaders] = None, + trace_request_ctx: Optional[SimpleNamespace] = None, + read_bufsize: Optional[int] = None, + auto_decompress: Optional[bool] = None, + max_line_size: Optional[int] = None, + max_field_size: Optional[int] = None, + ) -> ClientResponse: + + # NOTE: timeout clamps existing connect and read timeouts. We cannot + # set the default to None because we need to detect if the user wants + # to use the existing timeouts by setting timeout to None. + + if self.closed: + raise RuntimeError("Session is closed") + + ssl = _merge_ssl_params(ssl, verify_ssl, ssl_context, fingerprint) + + if data is not None and json is not None: + raise ValueError( + "data and json parameters can not be used at the same time" + ) + elif json is not None: + data = payload.JsonPayload(json, dumps=self._json_serialize) + + if not isinstance(chunked, bool) and chunked is not None: + warnings.warn("Chunk size is deprecated #1615", DeprecationWarning) + + redirects = 0 + history = [] + version = self._version + params = params or {} + + # Merge with default headers and transform to CIMultiDict + headers = self._prepare_headers(headers) + proxy_headers = self._prepare_headers(proxy_headers) + + try: + url = self._build_url(str_or_url) + except ValueError as e: + raise InvalidURL(str_or_url) from e + + skip_headers = set(self._skip_auto_headers) + if skip_auto_headers is not None: + for i in skip_auto_headers: + skip_headers.add(istr(i)) + + if proxy is not None: + try: + proxy = URL(proxy) + except ValueError as e: + raise InvalidURL(proxy) from e + + if timeout is sentinel: + real_timeout: ClientTimeout = self._timeout + else: + if not isinstance(timeout, ClientTimeout): + real_timeout = ClientTimeout(total=timeout) + else: + real_timeout = timeout + # timeout is cumulative for all request operations + # (request, redirects, responses, data consuming) + tm = TimeoutHandle( + self._loop, real_timeout.total, ceil_threshold=real_timeout.ceil_threshold + ) + handle = tm.start() + + if read_bufsize is None: + read_bufsize = self._read_bufsize + + if auto_decompress is None: + auto_decompress = self._auto_decompress + + if max_line_size is None: + max_line_size = self._max_line_size + + if max_field_size is None: + max_field_size = self._max_field_size + + traces = [ + Trace( + self, + trace_config, + trace_config.trace_config_ctx(trace_request_ctx=trace_request_ctx), + ) + for trace_config in self._trace_configs + ] + + for trace in traces: + await trace.send_request_start(method, url.update_query(params), headers) + + timer = tm.timer() + try: + with timer: + while True: + url, auth_from_url = strip_auth_from_url(url) + if auth and auth_from_url: + raise ValueError( + "Cannot combine AUTH argument with " + "credentials encoded in URL" + ) + + if auth is None: + auth = auth_from_url + if auth is None: + auth = self._default_auth + # It would be confusing if we support explicit + # Authorization header with auth argument + if ( + headers is not None + and auth is not None + and hdrs.AUTHORIZATION in headers + ): + raise ValueError( + "Cannot combine AUTHORIZATION header " + "with AUTH argument or credentials " + "encoded in URL" + ) + + all_cookies = self._cookie_jar.filter_cookies(url) + + if cookies is not None: + tmp_cookie_jar = CookieJar() + tmp_cookie_jar.update_cookies(cookies) + req_cookies = tmp_cookie_jar.filter_cookies(url) + if req_cookies: + all_cookies.load(req_cookies) + + if proxy is not None: + proxy = URL(proxy) + elif self._trust_env: + with suppress(LookupError): + proxy, proxy_auth = get_env_proxy_for_url(url) + + req = self._request_class( + method, + url, + params=params, + headers=headers, + skip_auto_headers=skip_headers, + data=data, + cookies=all_cookies, + auth=auth, + version=version, + compress=compress, + chunked=chunked, + expect100=expect100, + loop=self._loop, + response_class=self._response_class, + proxy=proxy, + proxy_auth=proxy_auth, + timer=timer, + session=self, + ssl=ssl, + server_hostname=server_hostname, + proxy_headers=proxy_headers, + traces=traces, + trust_env=self.trust_env, + ) + + # connection timeout + try: + async with ceil_timeout( + real_timeout.connect, + ceil_threshold=real_timeout.ceil_threshold, + ): + assert self._connector is not None + conn = await self._connector.connect( + req, traces=traces, timeout=real_timeout + ) + except asyncio.TimeoutError as exc: + raise ServerTimeoutError( + "Connection timeout " "to host {}".format(url) + ) from exc + + assert conn.transport is not None + + assert conn.protocol is not None + conn.protocol.set_response_params( + timer=timer, + skip_payload=method_must_be_empty_body(method), + read_until_eof=read_until_eof, + auto_decompress=auto_decompress, + read_timeout=real_timeout.sock_read, + read_bufsize=read_bufsize, + timeout_ceil_threshold=self._connector._timeout_ceil_threshold, + max_line_size=max_line_size, + max_field_size=max_field_size, + ) + + try: + try: + resp = await req.send(conn) + try: + await resp.start(conn) + except BaseException: + resp.close() + raise + except BaseException: + conn.close() + raise + except ClientError: + raise + except OSError as exc: + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): + raise + raise ClientOSError(*exc.args) from exc + + self._cookie_jar.update_cookies(resp.cookies, resp.url) + + # redirects + if resp.status in (301, 302, 303, 307, 308) and allow_redirects: + + for trace in traces: + await trace.send_request_redirect( + method, url.update_query(params), headers, resp + ) + + redirects += 1 + history.append(resp) + if max_redirects and redirects >= max_redirects: + resp.close() + raise TooManyRedirects( + history[0].request_info, tuple(history) + ) + + # For 301 and 302, mimic IE, now changed in RFC + # https://github.com/kennethreitz/requests/pull/269 + if (resp.status == 303 and resp.method != hdrs.METH_HEAD) or ( + resp.status in (301, 302) and resp.method == hdrs.METH_POST + ): + method = hdrs.METH_GET + data = None + if headers.get(hdrs.CONTENT_LENGTH): + headers.pop(hdrs.CONTENT_LENGTH) + + r_url = resp.headers.get(hdrs.LOCATION) or resp.headers.get( + hdrs.URI + ) + if r_url is None: + # see github.com/aio-libs/aiohttp/issues/2022 + break + else: + # reading from correct redirection + # response is forbidden + resp.release() + + try: + parsed_url = URL( + r_url, encoded=not self._requote_redirect_url + ) + + except ValueError as e: + raise InvalidURL(r_url) from e + + scheme = parsed_url.scheme + if scheme not in ("http", "https", ""): + resp.close() + raise ValueError("Can redirect only to http or https") + elif not scheme: + parsed_url = url.join(parsed_url) + + if url.origin() != parsed_url.origin(): + auth = None + headers.pop(hdrs.AUTHORIZATION, None) + + url = parsed_url + params = {} + resp.release() + continue + + break + + # check response status + if raise_for_status is None: + raise_for_status = self._raise_for_status + + if raise_for_status is None: + pass + elif callable(raise_for_status): + await raise_for_status(resp) + elif raise_for_status: + resp.raise_for_status() + + # register connection + if handle is not None: + if resp.connection is not None: + resp.connection.add_callback(handle.cancel) + else: + handle.cancel() + + resp._history = tuple(history) + + for trace in traces: + await trace.send_request_end( + method, url.update_query(params), headers, resp + ) + return resp + + except BaseException as e: + # cleanup timer + tm.close() + if handle: + handle.cancel() + handle = None + + for trace in traces: + await trace.send_request_exception( + method, url.update_query(params), headers, e + ) + raise + + def ws_connect( + self, + url: StrOrURL, + *, + method: str = hdrs.METH_GET, + protocols: Iterable[str] = (), + timeout: float = 10.0, + receive_timeout: Optional[float] = None, + autoclose: bool = True, + autoping: bool = True, + heartbeat: Optional[float] = None, + auth: Optional[BasicAuth] = None, + origin: Optional[str] = None, + params: Optional[Mapping[str, str]] = None, + headers: Optional[LooseHeaders] = None, + proxy: Optional[StrOrURL] = None, + proxy_auth: Optional[BasicAuth] = None, + ssl: Union[SSLContext, Literal[False], None, Fingerprint] = None, + verify_ssl: Optional[bool] = None, + fingerprint: Optional[bytes] = None, + ssl_context: Optional[SSLContext] = None, + proxy_headers: Optional[LooseHeaders] = None, + compress: int = 0, + max_msg_size: int = 4 * 1024 * 1024, + ) -> "_WSRequestContextManager": + """Initiate websocket connection.""" + return _WSRequestContextManager( + self._ws_connect( + url, + method=method, + protocols=protocols, + timeout=timeout, + receive_timeout=receive_timeout, + autoclose=autoclose, + autoping=autoping, + heartbeat=heartbeat, + auth=auth, + origin=origin, + params=params, + headers=headers, + proxy=proxy, + proxy_auth=proxy_auth, + ssl=ssl, + verify_ssl=verify_ssl, + fingerprint=fingerprint, + ssl_context=ssl_context, + proxy_headers=proxy_headers, + compress=compress, + max_msg_size=max_msg_size, + ) + ) + + async def _ws_connect( + self, + url: StrOrURL, + *, + method: str = hdrs.METH_GET, + protocols: Iterable[str] = (), + timeout: float = 10.0, + receive_timeout: Optional[float] = None, + autoclose: bool = True, + autoping: bool = True, + heartbeat: Optional[float] = None, + auth: Optional[BasicAuth] = None, + origin: Optional[str] = None, + params: Optional[Mapping[str, str]] = None, + headers: Optional[LooseHeaders] = None, + proxy: Optional[StrOrURL] = None, + proxy_auth: Optional[BasicAuth] = None, + ssl: Union[SSLContext, Literal[False], None, Fingerprint] = None, + verify_ssl: Optional[bool] = None, + fingerprint: Optional[bytes] = None, + ssl_context: Optional[SSLContext] = None, + proxy_headers: Optional[LooseHeaders] = None, + compress: int = 0, + max_msg_size: int = 4 * 1024 * 1024, + ) -> ClientWebSocketResponse: + + if headers is None: + real_headers: CIMultiDict[str] = CIMultiDict() + else: + real_headers = CIMultiDict(headers) + + default_headers = { + hdrs.UPGRADE: "websocket", + hdrs.CONNECTION: "Upgrade", + hdrs.SEC_WEBSOCKET_VERSION: "13", + } + + for key, value in default_headers.items(): + real_headers.setdefault(key, value) + + sec_key = base64.b64encode(os.urandom(16)) + real_headers[hdrs.SEC_WEBSOCKET_KEY] = sec_key.decode() + + if protocols: + real_headers[hdrs.SEC_WEBSOCKET_PROTOCOL] = ",".join(protocols) + if origin is not None: + real_headers[hdrs.ORIGIN] = origin + if compress: + extstr = ws_ext_gen(compress=compress) + real_headers[hdrs.SEC_WEBSOCKET_EXTENSIONS] = extstr + + ssl = _merge_ssl_params(ssl, verify_ssl, ssl_context, fingerprint) + + # send request + resp = await self.request( + method, + url, + params=params, + headers=real_headers, + read_until_eof=False, + auth=auth, + proxy=proxy, + proxy_auth=proxy_auth, + ssl=ssl, + proxy_headers=proxy_headers, + ) + + try: + # check handshake + if resp.status != 101: + raise WSServerHandshakeError( + resp.request_info, + resp.history, + message="Invalid response status", + status=resp.status, + headers=resp.headers, + ) + + if resp.headers.get(hdrs.UPGRADE, "").lower() != "websocket": + raise WSServerHandshakeError( + resp.request_info, + resp.history, + message="Invalid upgrade header", + status=resp.status, + headers=resp.headers, + ) + + if resp.headers.get(hdrs.CONNECTION, "").lower() != "upgrade": + raise WSServerHandshakeError( + resp.request_info, + resp.history, + message="Invalid connection header", + status=resp.status, + headers=resp.headers, + ) + + # key calculation + r_key = resp.headers.get(hdrs.SEC_WEBSOCKET_ACCEPT, "") + match = base64.b64encode(hashlib.sha1(sec_key + WS_KEY).digest()).decode() + if r_key != match: + raise WSServerHandshakeError( + resp.request_info, + resp.history, + message="Invalid challenge response", + status=resp.status, + headers=resp.headers, + ) + + # websocket protocol + protocol = None + if protocols and hdrs.SEC_WEBSOCKET_PROTOCOL in resp.headers: + resp_protocols = [ + proto.strip() + for proto in resp.headers[hdrs.SEC_WEBSOCKET_PROTOCOL].split(",") + ] + + for proto in resp_protocols: + if proto in protocols: + protocol = proto + break + + # websocket compress + notakeover = False + if compress: + compress_hdrs = resp.headers.get(hdrs.SEC_WEBSOCKET_EXTENSIONS) + if compress_hdrs: + try: + compress, notakeover = ws_ext_parse(compress_hdrs) + except WSHandshakeError as exc: + raise WSServerHandshakeError( + resp.request_info, + resp.history, + message=exc.args[0], + status=resp.status, + headers=resp.headers, + ) from exc + else: + compress = 0 + notakeover = False + + conn = resp.connection + assert conn is not None + conn_proto = conn.protocol + assert conn_proto is not None + transport = conn.transport + assert transport is not None + reader: FlowControlDataQueue[WSMessage] = FlowControlDataQueue( + conn_proto, 2**16, loop=self._loop + ) + conn_proto.set_parser(WebSocketReader(reader, max_msg_size), reader) + writer = WebSocketWriter( + conn_proto, + transport, + use_mask=True, + compress=compress, + notakeover=notakeover, + ) + except BaseException: + resp.close() + raise + else: + return self._ws_response_class( + reader, + writer, + protocol, + resp, + timeout, + autoclose, + autoping, + self._loop, + receive_timeout=receive_timeout, + heartbeat=heartbeat, + compress=compress, + client_notakeover=notakeover, + ) + + def _prepare_headers(self, headers: Optional[LooseHeaders]) -> "CIMultiDict[str]": + """Add default headers and transform it to CIMultiDict""" + # Convert headers to MultiDict + result = CIMultiDict(self._default_headers) + if headers: + if not isinstance(headers, (MultiDictProxy, MultiDict)): + headers = CIMultiDict(headers) + added_names: Set[str] = set() + for key, value in headers.items(): + if key in added_names: + result.add(key, value) + else: + result[key] = value + added_names.add(key) + return result + + def get( + self, url: StrOrURL, *, allow_redirects: bool = True, **kwargs: Any + ) -> "_RequestContextManager": + """Perform HTTP GET request.""" + return _RequestContextManager( + self._request(hdrs.METH_GET, url, allow_redirects=allow_redirects, **kwargs) + ) + + def options( + self, url: StrOrURL, *, allow_redirects: bool = True, **kwargs: Any + ) -> "_RequestContextManager": + """Perform HTTP OPTIONS request.""" + return _RequestContextManager( + self._request( + hdrs.METH_OPTIONS, url, allow_redirects=allow_redirects, **kwargs + ) + ) + + def head( + self, url: StrOrURL, *, allow_redirects: bool = False, **kwargs: Any + ) -> "_RequestContextManager": + """Perform HTTP HEAD request.""" + return _RequestContextManager( + self._request( + hdrs.METH_HEAD, url, allow_redirects=allow_redirects, **kwargs + ) + ) + + def post( + self, url: StrOrURL, *, data: Any = None, **kwargs: Any + ) -> "_RequestContextManager": + """Perform HTTP POST request.""" + return _RequestContextManager( + self._request(hdrs.METH_POST, url, data=data, **kwargs) + ) + + def put( + self, url: StrOrURL, *, data: Any = None, **kwargs: Any + ) -> "_RequestContextManager": + """Perform HTTP PUT request.""" + return _RequestContextManager( + self._request(hdrs.METH_PUT, url, data=data, **kwargs) + ) + + def patch( + self, url: StrOrURL, *, data: Any = None, **kwargs: Any + ) -> "_RequestContextManager": + """Perform HTTP PATCH request.""" + return _RequestContextManager( + self._request(hdrs.METH_PATCH, url, data=data, **kwargs) + ) + + def delete(self, url: StrOrURL, **kwargs: Any) -> "_RequestContextManager": + """Perform HTTP DELETE request.""" + return _RequestContextManager(self._request(hdrs.METH_DELETE, url, **kwargs)) + + async def close(self) -> None: + """Close underlying connector. + + Release all acquired resources. + """ + if not self.closed: + if self._connector is not None and self._connector_owner: + await self._connector.close() + self._connector = None + + @property + def closed(self) -> bool: + """Is client session closed. + + A readonly property. + """ + return self._connector is None or self._connector.closed + + @property + def connector(self) -> Optional[BaseConnector]: + """Connector instance used for the session.""" + return self._connector + + @property + def cookie_jar(self) -> AbstractCookieJar: + """The session cookies.""" + return self._cookie_jar + + @property + def version(self) -> Tuple[int, int]: + """The session HTTP protocol version.""" + return self._version + + @property + def requote_redirect_url(self) -> bool: + """Do URL requoting on redirection handling.""" + return self._requote_redirect_url + + @requote_redirect_url.setter + def requote_redirect_url(self, val: bool) -> None: + """Do URL requoting on redirection handling.""" + warnings.warn( + "session.requote_redirect_url modification " "is deprecated #2778", + DeprecationWarning, + stacklevel=2, + ) + self._requote_redirect_url = val + + @property + def loop(self) -> asyncio.AbstractEventLoop: + """Session's loop.""" + warnings.warn( + "client.loop property is deprecated", DeprecationWarning, stacklevel=2 + ) + return self._loop + + @property + def timeout(self) -> ClientTimeout: + """Timeout for the session.""" + return self._timeout + + @property + def headers(self) -> "CIMultiDict[str]": + """The default headers of the client session.""" + return self._default_headers + + @property + def skip_auto_headers(self) -> FrozenSet[istr]: + """Headers for which autogeneration should be skipped""" + return self._skip_auto_headers + + @property + def auth(self) -> Optional[BasicAuth]: + """An object that represents HTTP Basic Authorization""" + return self._default_auth + + @property + def json_serialize(self) -> JSONEncoder: + """Json serializer callable""" + return self._json_serialize + + @property + def connector_owner(self) -> bool: + """Should connector be closed on session closing""" + return self._connector_owner + + @property + def raise_for_status( + self, + ) -> Union[bool, Callable[[ClientResponse], Awaitable[None]]]: + """Should `ClientResponse.raise_for_status()` be called for each response.""" + return self._raise_for_status + + @property + def auto_decompress(self) -> bool: + """Should the body response be automatically decompressed.""" + return self._auto_decompress + + @property + def trust_env(self) -> bool: + """ + Should proxies information from environment or netrc be trusted. + + Information is from HTTP_PROXY / HTTPS_PROXY environment variables + or ~/.netrc file if present. + """ + return self._trust_env + + @property + def trace_configs(self) -> List[TraceConfig]: + """A list of TraceConfig instances used for client tracing""" + return self._trace_configs + + def detach(self) -> None: + """Detach connector from session without closing the former. + + Session is switched to closed state anyway. + """ + self._connector = None + + def __enter__(self) -> None: + raise TypeError("Use async with instead") + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + # __exit__ should exist in pair with __enter__ but never executed + pass # pragma: no cover + + async def __aenter__(self) -> "ClientSession": + return self + + async def __aexit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + await self.close() + + +class _BaseRequestContextManager(Coroutine[Any, Any, _RetType], Generic[_RetType]): + + __slots__ = ("_coro", "_resp") + + def __init__(self, coro: Coroutine["asyncio.Future[Any]", None, _RetType]) -> None: + self._coro = coro + + def send(self, arg: None) -> "asyncio.Future[Any]": + return self._coro.send(arg) + + def throw(self, *args: Any, **kwargs: Any) -> "asyncio.Future[Any]": + return self._coro.throw(*args, **kwargs) + + def close(self) -> None: + return self._coro.close() + + def __await__(self) -> Generator[Any, None, _RetType]: + ret = self._coro.__await__() + return ret + + def __iter__(self) -> Generator[Any, None, _RetType]: + return self.__await__() + + async def __aenter__(self) -> _RetType: + self._resp = await self._coro + return self._resp + + +class _RequestContextManager(_BaseRequestContextManager[ClientResponse]): + __slots__ = () + + async def __aexit__( + self, + exc_type: Optional[Type[BaseException]], + exc: Optional[BaseException], + tb: Optional[TracebackType], + ) -> None: + # We're basing behavior on the exception as it can be caused by + # user code unrelated to the status of the connection. If you + # would like to close a connection you must do that + # explicitly. Otherwise connection error handling should kick in + # and close/recycle the connection as required. + self._resp.release() + await self._resp.wait_for_close() + + +class _WSRequestContextManager(_BaseRequestContextManager[ClientWebSocketResponse]): + __slots__ = () + + async def __aexit__( + self, + exc_type: Optional[Type[BaseException]], + exc: Optional[BaseException], + tb: Optional[TracebackType], + ) -> None: + await self._resp.close() + + +class _SessionRequestContextManager: + + __slots__ = ("_coro", "_resp", "_session") + + def __init__( + self, + coro: Coroutine["asyncio.Future[Any]", None, ClientResponse], + session: ClientSession, + ) -> None: + self._coro = coro + self._resp: Optional[ClientResponse] = None + self._session = session + + async def __aenter__(self) -> ClientResponse: + try: + self._resp = await self._coro + except BaseException: + await self._session.close() + raise + else: + return self._resp + + async def __aexit__( + self, + exc_type: Optional[Type[BaseException]], + exc: Optional[BaseException], + tb: Optional[TracebackType], + ) -> None: + assert self._resp is not None + self._resp.close() + await self._session.close() + + +def request( + method: str, + url: StrOrURL, + *, + params: Optional[Mapping[str, str]] = None, + data: Any = None, + json: Any = None, + headers: Optional[LooseHeaders] = None, + skip_auto_headers: Optional[Iterable[str]] = None, + auth: Optional[BasicAuth] = None, + allow_redirects: bool = True, + max_redirects: int = 10, + compress: Optional[str] = None, + chunked: Optional[bool] = None, + expect100: bool = False, + raise_for_status: Optional[bool] = None, + read_until_eof: bool = True, + proxy: Optional[StrOrURL] = None, + proxy_auth: Optional[BasicAuth] = None, + timeout: Union[ClientTimeout, object] = sentinel, + cookies: Optional[LooseCookies] = None, + version: HttpVersion = http.HttpVersion11, + connector: Optional[BaseConnector] = None, + read_bufsize: Optional[int] = None, + loop: Optional[asyncio.AbstractEventLoop] = None, + max_line_size: int = 8190, + max_field_size: int = 8190, +) -> _SessionRequestContextManager: + """Constructs and sends a request. + + Returns response object. + method - HTTP method + url - request url + params - (optional) Dictionary or bytes to be sent in the query + string of the new request + data - (optional) Dictionary, bytes, or file-like object to + send in the body of the request + json - (optional) Any json compatible python object + headers - (optional) Dictionary of HTTP Headers to send with + the request + cookies - (optional) Dict object to send with the request + auth - (optional) BasicAuth named tuple represent HTTP Basic Auth + auth - aiohttp.helpers.BasicAuth + allow_redirects - (optional) If set to False, do not follow + redirects + version - Request HTTP version. + compress - Set to True if request has to be compressed + with deflate encoding. + chunked - Set to chunk size for chunked transfer encoding. + expect100 - Expect 100-continue response from server. + connector - BaseConnector sub-class instance to support + connection pooling. + read_until_eof - Read response until eof if response + does not have Content-Length header. + loop - Optional event loop. + timeout - Optional ClientTimeout settings structure, 5min + total timeout by default. + Usage:: + >>> import aiohttp + >>> resp = await aiohttp.request('GET', 'http://python.org/') + >>> resp + + >>> data = await resp.read() + """ + connector_owner = False + if connector is None: + connector_owner = True + connector = TCPConnector(loop=loop, force_close=True) + + session = ClientSession( + loop=loop, + cookies=cookies, + version=version, + timeout=timeout, + connector=connector, + connector_owner=connector_owner, + ) + + return _SessionRequestContextManager( + session._request( + method, + url, + params=params, + data=data, + json=json, + headers=headers, + skip_auto_headers=skip_auto_headers, + auth=auth, + allow_redirects=allow_redirects, + max_redirects=max_redirects, + compress=compress, + chunked=chunked, + expect100=expect100, + raise_for_status=raise_for_status, + read_until_eof=read_until_eof, + proxy=proxy, + proxy_auth=proxy_auth, + read_bufsize=read_bufsize, + max_line_size=max_line_size, + max_field_size=max_field_size, + ), + session, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..588ffbf6ec620ee6540e8cd8d3696969e4dc902d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_exceptions.py @@ -0,0 +1,346 @@ +"""HTTP related errors.""" + +import asyncio +import warnings +from typing import TYPE_CHECKING, Any, Optional, Tuple, Union + +from .http_parser import RawResponseMessage +from .typedefs import LooseHeaders + +try: + import ssl + + SSLContext = ssl.SSLContext +except ImportError: # pragma: no cover + ssl = SSLContext = None # type: ignore[assignment] + + +if TYPE_CHECKING: # pragma: no cover + from .client_reqrep import ClientResponse, ConnectionKey, Fingerprint, RequestInfo +else: + RequestInfo = ClientResponse = ConnectionKey = None + +__all__ = ( + "ClientError", + "ClientConnectionError", + "ClientOSError", + "ClientConnectorError", + "ClientProxyConnectionError", + "ClientSSLError", + "ClientConnectorSSLError", + "ClientConnectorCertificateError", + "ServerConnectionError", + "ServerTimeoutError", + "ServerDisconnectedError", + "ServerFingerprintMismatch", + "ClientResponseError", + "ClientHttpProxyError", + "WSServerHandshakeError", + "ContentTypeError", + "ClientPayloadError", + "InvalidURL", +) + + +class ClientError(Exception): + """Base class for client connection errors.""" + + +class ClientResponseError(ClientError): + """Base class for exceptions that occur after getting a response. + + request_info: An instance of RequestInfo. + history: A sequence of responses, if redirects occurred. + status: HTTP status code. + message: Error message. + headers: Response headers. + """ + + def __init__( + self, + request_info: RequestInfo, + history: Tuple[ClientResponse, ...], + *, + code: Optional[int] = None, + status: Optional[int] = None, + message: str = "", + headers: Optional[LooseHeaders] = None, + ) -> None: + self.request_info = request_info + if code is not None: + if status is not None: + raise ValueError( + "Both code and status arguments are provided; " + "code is deprecated, use status instead" + ) + warnings.warn( + "code argument is deprecated, use status instead", + DeprecationWarning, + stacklevel=2, + ) + if status is not None: + self.status = status + elif code is not None: + self.status = code + else: + self.status = 0 + self.message = message + self.headers = headers + self.history = history + self.args = (request_info, history) + + def __str__(self) -> str: + return "{}, message={!r}, url={!r}".format( + self.status, + self.message, + self.request_info.real_url, + ) + + def __repr__(self) -> str: + args = f"{self.request_info!r}, {self.history!r}" + if self.status != 0: + args += f", status={self.status!r}" + if self.message != "": + args += f", message={self.message!r}" + if self.headers is not None: + args += f", headers={self.headers!r}" + return f"{type(self).__name__}({args})" + + @property + def code(self) -> int: + warnings.warn( + "code property is deprecated, use status instead", + DeprecationWarning, + stacklevel=2, + ) + return self.status + + @code.setter + def code(self, value: int) -> None: + warnings.warn( + "code property is deprecated, use status instead", + DeprecationWarning, + stacklevel=2, + ) + self.status = value + + +class ContentTypeError(ClientResponseError): + """ContentType found is not valid.""" + + +class WSServerHandshakeError(ClientResponseError): + """websocket server handshake error.""" + + +class ClientHttpProxyError(ClientResponseError): + """HTTP proxy error. + + Raised in :class:`aiohttp.connector.TCPConnector` if + proxy responds with status other than ``200 OK`` + on ``CONNECT`` request. + """ + + +class TooManyRedirects(ClientResponseError): + """Client was redirected too many times.""" + + +class ClientConnectionError(ClientError): + """Base class for client socket errors.""" + + +class ClientOSError(ClientConnectionError, OSError): + """OSError error.""" + + +class ClientConnectorError(ClientOSError): + """Client connector error. + + Raised in :class:`aiohttp.connector.TCPConnector` if + a connection can not be established. + """ + + def __init__(self, connection_key: ConnectionKey, os_error: OSError) -> None: + self._conn_key = connection_key + self._os_error = os_error + super().__init__(os_error.errno, os_error.strerror) + self.args = (connection_key, os_error) + + @property + def os_error(self) -> OSError: + return self._os_error + + @property + def host(self) -> str: + return self._conn_key.host + + @property + def port(self) -> Optional[int]: + return self._conn_key.port + + @property + def ssl(self) -> Union[SSLContext, None, bool, "Fingerprint"]: + return self._conn_key.ssl + + def __str__(self) -> str: + return "Cannot connect to host {0.host}:{0.port} ssl:{1} [{2}]".format( + self, self.ssl if self.ssl is not None else "default", self.strerror + ) + + # OSError.__reduce__ does too much black magick + __reduce__ = BaseException.__reduce__ + + +class ClientProxyConnectionError(ClientConnectorError): + """Proxy connection error. + + Raised in :class:`aiohttp.connector.TCPConnector` if + connection to proxy can not be established. + """ + + +class UnixClientConnectorError(ClientConnectorError): + """Unix connector error. + + Raised in :py:class:`aiohttp.connector.UnixConnector` + if connection to unix socket can not be established. + """ + + def __init__( + self, path: str, connection_key: ConnectionKey, os_error: OSError + ) -> None: + self._path = path + super().__init__(connection_key, os_error) + + @property + def path(self) -> str: + return self._path + + def __str__(self) -> str: + return "Cannot connect to unix socket {0.path} ssl:{1} [{2}]".format( + self, self.ssl if self.ssl is not None else "default", self.strerror + ) + + +class ServerConnectionError(ClientConnectionError): + """Server connection errors.""" + + +class ServerDisconnectedError(ServerConnectionError): + """Server disconnected.""" + + def __init__(self, message: Union[RawResponseMessage, str, None] = None) -> None: + if message is None: + message = "Server disconnected" + + self.args = (message,) + self.message = message + + +class ServerTimeoutError(ServerConnectionError, asyncio.TimeoutError): + """Server timeout error.""" + + +class ServerFingerprintMismatch(ServerConnectionError): + """SSL certificate does not match expected fingerprint.""" + + def __init__(self, expected: bytes, got: bytes, host: str, port: int) -> None: + self.expected = expected + self.got = got + self.host = host + self.port = port + self.args = (expected, got, host, port) + + def __repr__(self) -> str: + return "<{} expected={!r} got={!r} host={!r} port={!r}>".format( + self.__class__.__name__, self.expected, self.got, self.host, self.port + ) + + +class ClientPayloadError(ClientError): + """Response payload error.""" + + +class InvalidURL(ClientError, ValueError): + """Invalid URL. + + URL used for fetching is malformed, e.g. it doesn't contains host + part. + """ + + # Derive from ValueError for backward compatibility + + def __init__(self, url: Any) -> None: + # The type of url is not yarl.URL because the exception can be raised + # on URL(url) call + super().__init__(url) + + @property + def url(self) -> Any: + return self.args[0] + + def __repr__(self) -> str: + return f"<{self.__class__.__name__} {self.url}>" + + +class ClientSSLError(ClientConnectorError): + """Base error for ssl.*Errors.""" + + +if ssl is not None: + cert_errors = (ssl.CertificateError,) + cert_errors_bases = ( + ClientSSLError, + ssl.CertificateError, + ) + + ssl_errors = (ssl.SSLError,) + ssl_error_bases = (ClientSSLError, ssl.SSLError) +else: # pragma: no cover + cert_errors = tuple() + cert_errors_bases = ( + ClientSSLError, + ValueError, + ) + + ssl_errors = tuple() + ssl_error_bases = (ClientSSLError,) + + +class ClientConnectorSSLError(*ssl_error_bases): # type: ignore[misc] + """Response ssl error.""" + + +class ClientConnectorCertificateError(*cert_errors_bases): # type: ignore[misc] + """Response certificate error.""" + + def __init__( + self, connection_key: ConnectionKey, certificate_error: Exception + ) -> None: + self._conn_key = connection_key + self._certificate_error = certificate_error + self.args = (connection_key, certificate_error) + + @property + def certificate_error(self) -> Exception: + return self._certificate_error + + @property + def host(self) -> str: + return self._conn_key.host + + @property + def port(self) -> Optional[int]: + return self._conn_key.port + + @property + def ssl(self) -> bool: + return self._conn_key.is_ssl + + def __str__(self) -> str: + return ( + "Cannot connect to host {0.host}:{0.port} ssl:{0.ssl} " + "[{0.certificate_error.__class__.__name__}: " + "{0.certificate_error.args}]".format(self) + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_proto.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_proto.py new file mode 100644 index 0000000000000000000000000000000000000000..6225b33667ca5c132e4d6e00595d318f8583bda5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_proto.py @@ -0,0 +1,264 @@ +import asyncio +from contextlib import suppress +from typing import Any, Optional, Tuple + +from .base_protocol import BaseProtocol +from .client_exceptions import ( + ClientOSError, + ClientPayloadError, + ServerDisconnectedError, + ServerTimeoutError, +) +from .helpers import BaseTimerContext, status_code_must_be_empty_body +from .http import HttpResponseParser, RawResponseMessage +from .streams import EMPTY_PAYLOAD, DataQueue, StreamReader + + +class ResponseHandler(BaseProtocol, DataQueue[Tuple[RawResponseMessage, StreamReader]]): + """Helper class to adapt between Protocol and StreamReader.""" + + def __init__(self, loop: asyncio.AbstractEventLoop) -> None: + BaseProtocol.__init__(self, loop=loop) + DataQueue.__init__(self, loop) + + self._should_close = False + + self._payload: Optional[StreamReader] = None + self._skip_payload = False + self._payload_parser = None + + self._timer = None + + self._tail = b"" + self._upgraded = False + self._parser: Optional[HttpResponseParser] = None + + self._read_timeout: Optional[float] = None + self._read_timeout_handle: Optional[asyncio.TimerHandle] = None + + self._timeout_ceil_threshold: Optional[float] = 5 + + @property + def upgraded(self) -> bool: + return self._upgraded + + @property + def should_close(self) -> bool: + if self._payload is not None and not self._payload.is_eof() or self._upgraded: + return True + + return ( + self._should_close + or self._upgraded + or self.exception() is not None + or self._payload_parser is not None + or len(self) > 0 + or bool(self._tail) + ) + + def force_close(self) -> None: + self._should_close = True + + def close(self) -> None: + transport = self.transport + if transport is not None: + transport.close() + self.transport = None + self._payload = None + self._drop_timeout() + + def is_connected(self) -> bool: + return self.transport is not None and not self.transport.is_closing() + + def connection_lost(self, exc: Optional[BaseException]) -> None: + self._drop_timeout() + + if self._payload_parser is not None: + with suppress(Exception): + self._payload_parser.feed_eof() + + uncompleted = None + if self._parser is not None: + try: + uncompleted = self._parser.feed_eof() + except Exception: + if self._payload is not None: + self._payload.set_exception( + ClientPayloadError("Response payload is not completed") + ) + + if not self.is_eof(): + if isinstance(exc, OSError): + exc = ClientOSError(*exc.args) + if exc is None: + exc = ServerDisconnectedError(uncompleted) + # assigns self._should_close to True as side effect, + # we do it anyway below + self.set_exception(exc) + + self._should_close = True + self._parser = None + self._payload = None + self._payload_parser = None + self._reading_paused = False + + super().connection_lost(exc) + + def eof_received(self) -> None: + # should call parser.feed_eof() most likely + self._drop_timeout() + + def pause_reading(self) -> None: + super().pause_reading() + self._drop_timeout() + + def resume_reading(self) -> None: + super().resume_reading() + self._reschedule_timeout() + + def set_exception(self, exc: BaseException) -> None: + self._should_close = True + self._drop_timeout() + super().set_exception(exc) + + def set_parser(self, parser: Any, payload: Any) -> None: + # TODO: actual types are: + # parser: WebSocketReader + # payload: FlowControlDataQueue + # but they are not generi enough + # Need an ABC for both types + self._payload = payload + self._payload_parser = parser + + self._drop_timeout() + + if self._tail: + data, self._tail = self._tail, b"" + self.data_received(data) + + def set_response_params( + self, + *, + timer: Optional[BaseTimerContext] = None, + skip_payload: bool = False, + read_until_eof: bool = False, + auto_decompress: bool = True, + read_timeout: Optional[float] = None, + read_bufsize: int = 2**16, + timeout_ceil_threshold: float = 5, + max_line_size: int = 8190, + max_field_size: int = 8190, + ) -> None: + self._skip_payload = skip_payload + + self._read_timeout = read_timeout + + self._timeout_ceil_threshold = timeout_ceil_threshold + + self._parser = HttpResponseParser( + self, + self._loop, + read_bufsize, + timer=timer, + payload_exception=ClientPayloadError, + response_with_body=not skip_payload, + read_until_eof=read_until_eof, + auto_decompress=auto_decompress, + max_line_size=max_line_size, + max_field_size=max_field_size, + ) + + if self._tail: + data, self._tail = self._tail, b"" + self.data_received(data) + + def _drop_timeout(self) -> None: + if self._read_timeout_handle is not None: + self._read_timeout_handle.cancel() + self._read_timeout_handle = None + + def _reschedule_timeout(self) -> None: + timeout = self._read_timeout + if self._read_timeout_handle is not None: + self._read_timeout_handle.cancel() + + if timeout: + self._read_timeout_handle = self._loop.call_later( + timeout, self._on_read_timeout + ) + else: + self._read_timeout_handle = None + + def start_timeout(self) -> None: + self._reschedule_timeout() + + def _on_read_timeout(self) -> None: + exc = ServerTimeoutError("Timeout on reading data from socket") + self.set_exception(exc) + if self._payload is not None: + self._payload.set_exception(exc) + + def data_received(self, data: bytes) -> None: + self._reschedule_timeout() + + if not data: + return + + # custom payload parser + if self._payload_parser is not None: + eof, tail = self._payload_parser.feed_data(data) + if eof: + self._payload = None + self._payload_parser = None + + if tail: + self.data_received(tail) + return + else: + if self._upgraded or self._parser is None: + # i.e. websocket connection, websocket parser is not set yet + self._tail += data + else: + # parse http messages + try: + messages, upgraded, tail = self._parser.feed_data(data) + except BaseException as exc: + if self.transport is not None: + # connection.release() could be called BEFORE + # data_received(), the transport is already + # closed in this case + self.transport.close() + # should_close is True after the call + self.set_exception(exc) + return + + self._upgraded = upgraded + + payload: Optional[StreamReader] = None + for message, payload in messages: + if message.should_close: + self._should_close = True + + self._payload = payload + + if self._skip_payload or status_code_must_be_empty_body( + message.code + ): + self.feed_data((message, EMPTY_PAYLOAD), 0) + else: + self.feed_data((message, payload), 0) + if payload is not None: + # new message(s) was processed + # register timeout handler unsubscribing + # either on end-of-stream or immediately for + # EMPTY_PAYLOAD + if payload is not EMPTY_PAYLOAD: + payload.on_eof(self._drop_timeout) + else: + self._drop_timeout() + + if tail: + if upgraded: + self.data_received(tail) + else: + self._tail = tail diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_reqrep.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_reqrep.py new file mode 100644 index 0000000000000000000000000000000000000000..1d946aea320ffac1c881ce7d7b0523d4faee4abb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_reqrep.py @@ -0,0 +1,1196 @@ +import asyncio +import codecs +import contextlib +import functools +import io +import re +import sys +import traceback +import warnings +from hashlib import md5, sha1, sha256 +from http.cookies import CookieError, Morsel, SimpleCookie +from types import MappingProxyType, TracebackType +from typing import ( + TYPE_CHECKING, + Any, + Callable, + Dict, + Iterable, + List, + Literal, + Mapping, + Optional, + Tuple, + Type, + Union, + cast, +) + +import attr +from multidict import CIMultiDict, CIMultiDictProxy, MultiDict, MultiDictProxy +from yarl import URL + +from . import hdrs, helpers, http, multipart, payload +from .abc import AbstractStreamWriter +from .client_exceptions import ( + ClientConnectionError, + ClientOSError, + ClientResponseError, + ContentTypeError, + InvalidURL, + ServerFingerprintMismatch, +) +from .compression_utils import HAS_BROTLI +from .formdata import FormData +from .helpers import ( + BaseTimerContext, + BasicAuth, + HeadersMixin, + TimerNoop, + basicauth_from_netrc, + netrc_from_env, + noop, + reify, + set_result, +) +from .http import ( + SERVER_SOFTWARE, + HttpVersion, + HttpVersion10, + HttpVersion11, + StreamWriter, +) +from .log import client_logger +from .streams import StreamReader +from .typedefs import ( + DEFAULT_JSON_DECODER, + JSONDecoder, + LooseCookies, + LooseHeaders, + RawHeaders, +) + +try: + import ssl + from ssl import SSLContext +except ImportError: # pragma: no cover + ssl = None # type: ignore[assignment] + SSLContext = object # type: ignore[misc,assignment] + + +__all__ = ("ClientRequest", "ClientResponse", "RequestInfo", "Fingerprint") + + +if TYPE_CHECKING: # pragma: no cover + from .client import ClientSession + from .connector import Connection + from .tracing import Trace + + +_CONTAINS_CONTROL_CHAR_RE = re.compile(r"[^-!#$%&'*+.^_`|~0-9a-zA-Z]") +json_re = re.compile(r"^application/(?:[\w.+-]+?\+)?json") + + +def _gen_default_accept_encoding() -> str: + return "gzip, deflate, br" if HAS_BROTLI else "gzip, deflate" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class ContentDisposition: + type: Optional[str] + parameters: "MappingProxyType[str, str]" + filename: Optional[str] + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class RequestInfo: + url: URL + method: str + headers: "CIMultiDictProxy[str]" + real_url: URL = attr.ib() + + @real_url.default + def real_url_default(self) -> URL: + return self.url + + +class Fingerprint: + HASHFUNC_BY_DIGESTLEN = { + 16: md5, + 20: sha1, + 32: sha256, + } + + def __init__(self, fingerprint: bytes) -> None: + digestlen = len(fingerprint) + hashfunc = self.HASHFUNC_BY_DIGESTLEN.get(digestlen) + if not hashfunc: + raise ValueError("fingerprint has invalid length") + elif hashfunc is md5 or hashfunc is sha1: + raise ValueError( + "md5 and sha1 are insecure and " "not supported. Use sha256." + ) + self._hashfunc = hashfunc + self._fingerprint = fingerprint + + @property + def fingerprint(self) -> bytes: + return self._fingerprint + + def check(self, transport: asyncio.Transport) -> None: + if not transport.get_extra_info("sslcontext"): + return + sslobj = transport.get_extra_info("ssl_object") + cert = sslobj.getpeercert(binary_form=True) + got = self._hashfunc(cert).digest() + if got != self._fingerprint: + host, port, *_ = transport.get_extra_info("peername") + raise ServerFingerprintMismatch(self._fingerprint, got, host, port) + + +if ssl is not None: + SSL_ALLOWED_TYPES = (ssl.SSLContext, bool, Fingerprint, type(None)) +else: # pragma: no cover + SSL_ALLOWED_TYPES = type(None) + + +def _merge_ssl_params( + ssl: Union["SSLContext", Literal[False], Fingerprint, None], + verify_ssl: Optional[bool], + ssl_context: Optional["SSLContext"], + fingerprint: Optional[bytes], +) -> Union["SSLContext", Literal[False], Fingerprint, None]: + if verify_ssl is not None and not verify_ssl: + warnings.warn( + "verify_ssl is deprecated, use ssl=False instead", + DeprecationWarning, + stacklevel=3, + ) + if ssl is not None: + raise ValueError( + "verify_ssl, ssl_context, fingerprint and ssl " + "parameters are mutually exclusive" + ) + else: + ssl = False + if ssl_context is not None: + warnings.warn( + "ssl_context is deprecated, use ssl=context instead", + DeprecationWarning, + stacklevel=3, + ) + if ssl is not None: + raise ValueError( + "verify_ssl, ssl_context, fingerprint and ssl " + "parameters are mutually exclusive" + ) + else: + ssl = ssl_context + if fingerprint is not None: + warnings.warn( + "fingerprint is deprecated, " "use ssl=Fingerprint(fingerprint) instead", + DeprecationWarning, + stacklevel=3, + ) + if ssl is not None: + raise ValueError( + "verify_ssl, ssl_context, fingerprint and ssl " + "parameters are mutually exclusive" + ) + else: + ssl = Fingerprint(fingerprint) + if not isinstance(ssl, SSL_ALLOWED_TYPES): + raise TypeError( + "ssl should be SSLContext, bool, Fingerprint or None, " + "got {!r} instead.".format(ssl) + ) + return ssl + + +@attr.s(auto_attribs=True, slots=True, frozen=True) +class ConnectionKey: + # the key should contain an information about used proxy / TLS + # to prevent reusing wrong connections from a pool + host: str + port: Optional[int] + is_ssl: bool + ssl: Union[SSLContext, None, Literal[False], Fingerprint] + proxy: Optional[URL] + proxy_auth: Optional[BasicAuth] + proxy_headers_hash: Optional[int] # hash(CIMultiDict) + + +def _is_expected_content_type( + response_content_type: str, expected_content_type: str +) -> bool: + if expected_content_type == "application/json": + return json_re.match(response_content_type) is not None + return expected_content_type in response_content_type + + +class ClientRequest: + GET_METHODS = { + hdrs.METH_GET, + hdrs.METH_HEAD, + hdrs.METH_OPTIONS, + hdrs.METH_TRACE, + } + POST_METHODS = {hdrs.METH_PATCH, hdrs.METH_POST, hdrs.METH_PUT} + ALL_METHODS = GET_METHODS.union(POST_METHODS).union({hdrs.METH_DELETE}) + + DEFAULT_HEADERS = { + hdrs.ACCEPT: "*/*", + hdrs.ACCEPT_ENCODING: _gen_default_accept_encoding(), + } + + body = b"" + auth = None + response = None + + __writer = None # async task for streaming data + _continue = None # waiter future for '100 Continue' response + + # N.B. + # Adding __del__ method with self._writer closing doesn't make sense + # because _writer is instance method, thus it keeps a reference to self. + # Until writer has finished finalizer will not be called. + + def __init__( + self, + method: str, + url: URL, + *, + params: Optional[Mapping[str, str]] = None, + headers: Optional[LooseHeaders] = None, + skip_auto_headers: Iterable[str] = frozenset(), + data: Any = None, + cookies: Optional[LooseCookies] = None, + auth: Optional[BasicAuth] = None, + version: http.HttpVersion = http.HttpVersion11, + compress: Optional[str] = None, + chunked: Optional[bool] = None, + expect100: bool = False, + loop: Optional[asyncio.AbstractEventLoop] = None, + response_class: Optional[Type["ClientResponse"]] = None, + proxy: Optional[URL] = None, + proxy_auth: Optional[BasicAuth] = None, + timer: Optional[BaseTimerContext] = None, + session: Optional["ClientSession"] = None, + ssl: Union[SSLContext, Literal[False], Fingerprint, None] = None, + proxy_headers: Optional[LooseHeaders] = None, + traces: Optional[List["Trace"]] = None, + trust_env: bool = False, + server_hostname: Optional[str] = None, + ): + if loop is None: + loop = asyncio.get_event_loop() + + match = _CONTAINS_CONTROL_CHAR_RE.search(method) + if match: + raise ValueError( + f"Method cannot contain non-token characters {method!r} " + "(found at least {match.group()!r})" + ) + + assert isinstance(url, URL), url + assert isinstance(proxy, (URL, type(None))), proxy + # FIXME: session is None in tests only, need to fix tests + # assert session is not None + self._session = cast("ClientSession", session) + if params: + q = MultiDict(url.query) + url2 = url.with_query(params) + q.extend(url2.query) + url = url.with_query(q) + self.original_url = url + self.url = url.with_fragment(None) + self.method = method.upper() + self.chunked = chunked + self.compress = compress + self.loop = loop + self.length = None + if response_class is None: + real_response_class = ClientResponse + else: + real_response_class = response_class + self.response_class: Type[ClientResponse] = real_response_class + self._timer = timer if timer is not None else TimerNoop() + self._ssl = ssl + self.server_hostname = server_hostname + + if loop.get_debug(): + self._source_traceback = traceback.extract_stack(sys._getframe(1)) + + self.update_version(version) + self.update_host(url) + self.update_headers(headers) + self.update_auto_headers(skip_auto_headers) + self.update_cookies(cookies) + self.update_content_encoding(data) + self.update_auth(auth, trust_env) + self.update_proxy(proxy, proxy_auth, proxy_headers) + + self.update_body_from_data(data) + if data is not None or self.method not in self.GET_METHODS: + self.update_transfer_encoding() + self.update_expect_continue(expect100) + if traces is None: + traces = [] + self._traces = traces + + def __reset_writer(self, _: object = None) -> None: + self.__writer = None + + @property + def _writer(self) -> Optional["asyncio.Task[None]"]: + return self.__writer + + @_writer.setter + def _writer(self, writer: Optional["asyncio.Task[None]"]) -> None: + if self.__writer is not None: + self.__writer.remove_done_callback(self.__reset_writer) + self.__writer = writer + if writer is not None: + writer.add_done_callback(self.__reset_writer) + + def is_ssl(self) -> bool: + return self.url.scheme in ("https", "wss") + + @property + def ssl(self) -> Union["SSLContext", None, Literal[False], Fingerprint]: + return self._ssl + + @property + def connection_key(self) -> ConnectionKey: + proxy_headers = self.proxy_headers + if proxy_headers: + h: Optional[int] = hash(tuple((k, v) for k, v in proxy_headers.items())) + else: + h = None + return ConnectionKey( + self.host, + self.port, + self.is_ssl(), + self.ssl, + self.proxy, + self.proxy_auth, + h, + ) + + @property + def host(self) -> str: + ret = self.url.raw_host + assert ret is not None + return ret + + @property + def port(self) -> Optional[int]: + return self.url.port + + @property + def request_info(self) -> RequestInfo: + headers: CIMultiDictProxy[str] = CIMultiDictProxy(self.headers) + return RequestInfo(self.url, self.method, headers, self.original_url) + + def update_host(self, url: URL) -> None: + """Update destination host, port and connection type (ssl).""" + # get host/port + if not url.raw_host: + raise InvalidURL(url) + + # basic auth info + username, password = url.user, url.password + if username: + self.auth = helpers.BasicAuth(username, password or "") + + def update_version(self, version: Union[http.HttpVersion, str]) -> None: + """Convert request version to two elements tuple. + + parser HTTP version '1.1' => (1, 1) + """ + if isinstance(version, str): + v = [part.strip() for part in version.split(".", 1)] + try: + version = http.HttpVersion(int(v[0]), int(v[1])) + except ValueError: + raise ValueError( + f"Can not parse http version number: {version}" + ) from None + self.version = version + + def update_headers(self, headers: Optional[LooseHeaders]) -> None: + """Update request headers.""" + self.headers: CIMultiDict[str] = CIMultiDict() + + # add host + netloc = cast(str, self.url.raw_host) + if helpers.is_ipv6_address(netloc): + netloc = f"[{netloc}]" + # See https://github.com/aio-libs/aiohttp/issues/3636. + netloc = netloc.rstrip(".") + if self.url.port is not None and not self.url.is_default_port(): + netloc += ":" + str(self.url.port) + self.headers[hdrs.HOST] = netloc + + if headers: + if isinstance(headers, (dict, MultiDictProxy, MultiDict)): + headers = headers.items() # type: ignore[assignment] + + for key, value in headers: # type: ignore[misc] + # A special case for Host header + if key.lower() == "host": + self.headers[key] = value + else: + self.headers.add(key, value) + + def update_auto_headers(self, skip_auto_headers: Iterable[str]) -> None: + self.skip_auto_headers = CIMultiDict( + (hdr, None) for hdr in sorted(skip_auto_headers) + ) + used_headers = self.headers.copy() + used_headers.extend(self.skip_auto_headers) # type: ignore[arg-type] + + for hdr, val in self.DEFAULT_HEADERS.items(): + if hdr not in used_headers: + self.headers.add(hdr, val) + + if hdrs.USER_AGENT not in used_headers: + self.headers[hdrs.USER_AGENT] = SERVER_SOFTWARE + + def update_cookies(self, cookies: Optional[LooseCookies]) -> None: + """Update request cookies header.""" + if not cookies: + return + + c = SimpleCookie() + if hdrs.COOKIE in self.headers: + c.load(self.headers.get(hdrs.COOKIE, "")) + del self.headers[hdrs.COOKIE] + + if isinstance(cookies, Mapping): + iter_cookies = cookies.items() + else: + iter_cookies = cookies # type: ignore[assignment] + for name, value in iter_cookies: + if isinstance(value, Morsel): + # Preserve coded_value + mrsl_val = value.get(value.key, Morsel()) + mrsl_val.set(value.key, value.value, value.coded_value) + c[name] = mrsl_val + else: + c[name] = value # type: ignore[assignment] + + self.headers[hdrs.COOKIE] = c.output(header="", sep=";").strip() + + def update_content_encoding(self, data: Any) -> None: + """Set request content encoding.""" + if data is None: + return + + enc = self.headers.get(hdrs.CONTENT_ENCODING, "").lower() + if enc: + if self.compress: + raise ValueError( + "compress can not be set " "if Content-Encoding header is set" + ) + elif self.compress: + if not isinstance(self.compress, str): + self.compress = "deflate" + self.headers[hdrs.CONTENT_ENCODING] = self.compress + self.chunked = True # enable chunked, no need to deal with length + + def update_transfer_encoding(self) -> None: + """Analyze transfer-encoding header.""" + te = self.headers.get(hdrs.TRANSFER_ENCODING, "").lower() + + if "chunked" in te: + if self.chunked: + raise ValueError( + "chunked can not be set " + 'if "Transfer-Encoding: chunked" header is set' + ) + + elif self.chunked: + if hdrs.CONTENT_LENGTH in self.headers: + raise ValueError( + "chunked can not be set " "if Content-Length header is set" + ) + + self.headers[hdrs.TRANSFER_ENCODING] = "chunked" + else: + if hdrs.CONTENT_LENGTH not in self.headers: + self.headers[hdrs.CONTENT_LENGTH] = str(len(self.body)) + + def update_auth(self, auth: Optional[BasicAuth], trust_env: bool = False) -> None: + """Set basic auth.""" + if auth is None: + auth = self.auth + if auth is None and trust_env and self.url.host is not None: + netrc_obj = netrc_from_env() + with contextlib.suppress(LookupError): + auth = basicauth_from_netrc(netrc_obj, self.url.host) + if auth is None: + return + + if not isinstance(auth, helpers.BasicAuth): + raise TypeError("BasicAuth() tuple is required instead") + + self.headers[hdrs.AUTHORIZATION] = auth.encode() + + def update_body_from_data(self, body: Any) -> None: + if body is None: + return + + # FormData + if isinstance(body, FormData): + body = body() + + try: + body = payload.PAYLOAD_REGISTRY.get(body, disposition=None) + except payload.LookupError: + body = FormData(body)() + + self.body = body + + # enable chunked encoding if needed + if not self.chunked: + if hdrs.CONTENT_LENGTH not in self.headers: + size = body.size + if size is None: + self.chunked = True + else: + if hdrs.CONTENT_LENGTH not in self.headers: + self.headers[hdrs.CONTENT_LENGTH] = str(size) + + # copy payload headers + assert body.headers + for (key, value) in body.headers.items(): + if key in self.headers: + continue + if key in self.skip_auto_headers: + continue + self.headers[key] = value + + def update_expect_continue(self, expect: bool = False) -> None: + if expect: + self.headers[hdrs.EXPECT] = "100-continue" + elif self.headers.get(hdrs.EXPECT, "").lower() == "100-continue": + expect = True + + if expect: + self._continue = self.loop.create_future() + + def update_proxy( + self, + proxy: Optional[URL], + proxy_auth: Optional[BasicAuth], + proxy_headers: Optional[LooseHeaders], + ) -> None: + if proxy_auth and not isinstance(proxy_auth, helpers.BasicAuth): + raise ValueError("proxy_auth must be None or BasicAuth() tuple") + self.proxy = proxy + self.proxy_auth = proxy_auth + self.proxy_headers = proxy_headers + + def keep_alive(self) -> bool: + if self.version < HttpVersion10: + # keep alive not supported at all + return False + if self.version == HttpVersion10: + if self.headers.get(hdrs.CONNECTION) == "keep-alive": + return True + else: # no headers means we close for Http 1.0 + return False + elif self.headers.get(hdrs.CONNECTION) == "close": + return False + + return True + + async def write_bytes( + self, writer: AbstractStreamWriter, conn: "Connection" + ) -> None: + """Support coroutines that yields bytes objects.""" + # 100 response + if self._continue is not None: + try: + await writer.drain() + await self._continue + except asyncio.CancelledError: + return + + protocol = conn.protocol + assert protocol is not None + try: + if isinstance(self.body, payload.Payload): + await self.body.write(writer) + else: + if isinstance(self.body, (bytes, bytearray)): + self.body = (self.body,) # type: ignore[assignment] + + for chunk in self.body: + await writer.write(chunk) # type: ignore[arg-type] + except OSError as exc: + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): + protocol.set_exception(exc) + else: + new_exc = ClientOSError( + exc.errno, "Can not write request body for %s" % self.url + ) + new_exc.__context__ = exc + new_exc.__cause__ = exc + protocol.set_exception(new_exc) + except asyncio.CancelledError: + await writer.write_eof() + except Exception as exc: + protocol.set_exception(exc) + else: + await writer.write_eof() + protocol.start_timeout() + + async def send(self, conn: "Connection") -> "ClientResponse": + # Specify request target: + # - CONNECT request must send authority form URI + # - not CONNECT proxy must send absolute form URI + # - most common is origin form URI + if self.method == hdrs.METH_CONNECT: + connect_host = self.url.raw_host + assert connect_host is not None + if helpers.is_ipv6_address(connect_host): + connect_host = f"[{connect_host}]" + path = f"{connect_host}:{self.url.port}" + elif self.proxy and not self.is_ssl(): + path = str(self.url) + else: + path = self.url.raw_path + if self.url.raw_query_string: + path += "?" + self.url.raw_query_string + + protocol = conn.protocol + assert protocol is not None + writer = StreamWriter( + protocol, + self.loop, + on_chunk_sent=functools.partial( + self._on_chunk_request_sent, self.method, self.url + ), + on_headers_sent=functools.partial( + self._on_headers_request_sent, self.method, self.url + ), + ) + + if self.compress: + writer.enable_compression(self.compress) + + if self.chunked is not None: + writer.enable_chunking() + + # set default content-type + if ( + self.method in self.POST_METHODS + and hdrs.CONTENT_TYPE not in self.skip_auto_headers + and hdrs.CONTENT_TYPE not in self.headers + ): + self.headers[hdrs.CONTENT_TYPE] = "application/octet-stream" + + # set the connection header + connection = self.headers.get(hdrs.CONNECTION) + if not connection: + if self.keep_alive(): + if self.version == HttpVersion10: + connection = "keep-alive" + else: + if self.version == HttpVersion11: + connection = "close" + + if connection is not None: + self.headers[hdrs.CONNECTION] = connection + + # status + headers + status_line = "{0} {1} HTTP/{v.major}.{v.minor}".format( + self.method, path, v=self.version + ) + await writer.write_headers(status_line, self.headers) + + self._writer = self.loop.create_task(self.write_bytes(writer, conn)) + + response_class = self.response_class + assert response_class is not None + self.response = response_class( + self.method, + self.original_url, + writer=self._writer, + continue100=self._continue, + timer=self._timer, + request_info=self.request_info, + traces=self._traces, + loop=self.loop, + session=self._session, + ) + return self.response + + async def close(self) -> None: + if self._writer is not None: + with contextlib.suppress(asyncio.CancelledError): + await self._writer + + def terminate(self) -> None: + if self._writer is not None: + if not self.loop.is_closed(): + self._writer.cancel() + self._writer.remove_done_callback(self.__reset_writer) + self._writer = None + + async def _on_chunk_request_sent(self, method: str, url: URL, chunk: bytes) -> None: + for trace in self._traces: + await trace.send_request_chunk_sent(method, url, chunk) + + async def _on_headers_request_sent( + self, method: str, url: URL, headers: "CIMultiDict[str]" + ) -> None: + for trace in self._traces: + await trace.send_request_headers(method, url, headers) + + +class ClientResponse(HeadersMixin): + + # Some of these attributes are None when created, + # but will be set by the start() method. + # As the end user will likely never see the None values, we cheat the types below. + # from the Status-Line of the response + version: Optional[HttpVersion] = None # HTTP-Version + status: int = None # type: ignore[assignment] # Status-Code + reason: Optional[str] = None # Reason-Phrase + + content: StreamReader = None # type: ignore[assignment] # Payload stream + _headers: CIMultiDictProxy[str] = None # type: ignore[assignment] + _raw_headers: RawHeaders = None # type: ignore[assignment] + + _connection = None # current connection + _source_traceback: Optional[traceback.StackSummary] = None + # set up by ClientRequest after ClientResponse object creation + # post-init stage allows to not change ctor signature + _closed = True # to allow __del__ for non-initialized properly response + _released = False + __writer = None + + def __init__( + self, + method: str, + url: URL, + *, + writer: "asyncio.Task[None]", + continue100: Optional["asyncio.Future[bool]"], + timer: BaseTimerContext, + request_info: RequestInfo, + traces: List["Trace"], + loop: asyncio.AbstractEventLoop, + session: "ClientSession", + ) -> None: + assert isinstance(url, URL) + + self.method = method + self.cookies = SimpleCookie() + + self._real_url = url + self._url = url.with_fragment(None) + self._body: Any = None + self._writer: Optional[asyncio.Task[None]] = writer + self._continue = continue100 # None by default + self._closed = True + self._history: Tuple[ClientResponse, ...] = () + self._request_info = request_info + self._timer = timer if timer is not None else TimerNoop() + self._cache: Dict[str, Any] = {} + self._traces = traces + self._loop = loop + # store a reference to session #1985 + self._session: Optional[ClientSession] = session + # Save reference to _resolve_charset, so that get_encoding() will still + # work after the response has finished reading the body. + if session is None: + # TODO: Fix session=None in tests (see ClientRequest.__init__). + self._resolve_charset: Callable[ + ["ClientResponse", bytes], str + ] = lambda *_: "utf-8" + else: + self._resolve_charset = session._resolve_charset + if loop.get_debug(): + self._source_traceback = traceback.extract_stack(sys._getframe(1)) + + def __reset_writer(self, _: object = None) -> None: + self.__writer = None + + @property + def _writer(self) -> Optional["asyncio.Task[None]"]: + return self.__writer + + @_writer.setter + def _writer(self, writer: Optional["asyncio.Task[None]"]) -> None: + if self.__writer is not None: + self.__writer.remove_done_callback(self.__reset_writer) + self.__writer = writer + if writer is not None: + writer.add_done_callback(self.__reset_writer) + + @reify + def url(self) -> URL: + return self._url + + @reify + def url_obj(self) -> URL: + warnings.warn("Deprecated, use .url #1654", DeprecationWarning, stacklevel=2) + return self._url + + @reify + def real_url(self) -> URL: + return self._real_url + + @reify + def host(self) -> str: + assert self._url.host is not None + return self._url.host + + @reify + def headers(self) -> "CIMultiDictProxy[str]": + return self._headers + + @reify + def raw_headers(self) -> RawHeaders: + return self._raw_headers + + @reify + def request_info(self) -> RequestInfo: + return self._request_info + + @reify + def content_disposition(self) -> Optional[ContentDisposition]: + raw = self._headers.get(hdrs.CONTENT_DISPOSITION) + if raw is None: + return None + disposition_type, params_dct = multipart.parse_content_disposition(raw) + params = MappingProxyType(params_dct) + filename = multipart.content_disposition_filename(params) + return ContentDisposition(disposition_type, params, filename) + + def __del__(self, _warnings: Any = warnings) -> None: + if self._closed: + return + + if self._connection is not None: + self._connection.release() + self._cleanup_writer() + + if self._loop.get_debug(): + kwargs = {"source": self} + _warnings.warn(f"Unclosed response {self!r}", ResourceWarning, **kwargs) + context = {"client_response": self, "message": "Unclosed response"} + if self._source_traceback: + context["source_traceback"] = self._source_traceback + self._loop.call_exception_handler(context) + + def __repr__(self) -> str: + out = io.StringIO() + ascii_encodable_url = str(self.url) + if self.reason: + ascii_encodable_reason = self.reason.encode( + "ascii", "backslashreplace" + ).decode("ascii") + else: + ascii_encodable_reason = "None" + print( + "".format( + ascii_encodable_url, self.status, ascii_encodable_reason + ), + file=out, + ) + print(self.headers, file=out) + return out.getvalue() + + @property + def connection(self) -> Optional["Connection"]: + return self._connection + + @reify + def history(self) -> Tuple["ClientResponse", ...]: + """A sequence of of responses, if redirects occurred.""" + return self._history + + @reify + def links(self) -> "MultiDictProxy[MultiDictProxy[Union[str, URL]]]": + links_str = ", ".join(self.headers.getall("link", [])) + + if not links_str: + return MultiDictProxy(MultiDict()) + + links: MultiDict[MultiDictProxy[Union[str, URL]]] = MultiDict() + + for val in re.split(r",(?=\s*<)", links_str): + match = re.match(r"\s*<(.*)>(.*)", val) + if match is None: # pragma: no cover + # the check exists to suppress mypy error + continue + url, params_str = match.groups() + params = params_str.split(";")[1:] + + link: MultiDict[Union[str, URL]] = MultiDict() + + for param in params: + match = re.match(r"^\s*(\S*)\s*=\s*(['\"]?)(.*?)(\2)\s*$", param, re.M) + if match is None: # pragma: no cover + # the check exists to suppress mypy error + continue + key, _, value, _ = match.groups() + + link.add(key, value) + + key = link.get("rel", url) + + link.add("url", self.url.join(URL(url))) + + links.add(str(key), MultiDictProxy(link)) + + return MultiDictProxy(links) + + async def start(self, connection: "Connection") -> "ClientResponse": + """Start response processing.""" + self._closed = False + self._protocol = connection.protocol + self._connection = connection + + with self._timer: + while True: + # read response + try: + protocol = self._protocol + message, payload = await protocol.read() # type: ignore[union-attr] + except http.HttpProcessingError as exc: + raise ClientResponseError( + self.request_info, + self.history, + status=exc.code, + message=exc.message, + headers=exc.headers, + ) from exc + + if message.code < 100 or message.code > 199 or message.code == 101: + break + + if self._continue is not None: + set_result(self._continue, True) + self._continue = None + + # payload eof handler + payload.on_eof(self._response_eof) + + # response status + self.version = message.version + self.status = message.code + self.reason = message.reason + + # headers + self._headers = message.headers # type is CIMultiDictProxy + self._raw_headers = message.raw_headers # type is Tuple[bytes, bytes] + + # payload + self.content = payload + + # cookies + for hdr in self.headers.getall(hdrs.SET_COOKIE, ()): + try: + self.cookies.load(hdr) + except CookieError as exc: + client_logger.warning("Can not load response cookies: %s", exc) + return self + + def _response_eof(self) -> None: + if self._closed: + return + + # protocol could be None because connection could be detached + protocol = self._connection and self._connection.protocol + if protocol is not None and protocol.upgraded: + return + + self._closed = True + self._cleanup_writer() + self._release_connection() + + @property + def closed(self) -> bool: + return self._closed + + def close(self) -> None: + if not self._released: + self._notify_content() + + self._closed = True + if self._loop is None or self._loop.is_closed(): + return + + self._cleanup_writer() + if self._connection is not None: + self._connection.close() + self._connection = None + + def release(self) -> Any: + if not self._released: + self._notify_content() + + self._closed = True + + self._cleanup_writer() + self._release_connection() + return noop() + + @property + def ok(self) -> bool: + """Returns ``True`` if ``status`` is less than ``400``, ``False`` if not. + + This is **not** a check for ``200 OK`` but a check that the response + status is under 400. + """ + return 400 > self.status + + def raise_for_status(self) -> None: + if not self.ok: + # reason should always be not None for a started response + assert self.reason is not None + self.release() + raise ClientResponseError( + self.request_info, + self.history, + status=self.status, + message=self.reason, + headers=self.headers, + ) + + def _release_connection(self) -> None: + if self._connection is not None: + if self._writer is None: + self._connection.release() + self._connection = None + else: + self._writer.add_done_callback(lambda f: self._release_connection()) + + async def _wait_released(self) -> None: + if self._writer is not None: + await self._writer + self._release_connection() + + def _cleanup_writer(self) -> None: + if self._writer is not None: + self._writer.cancel() + self._session = None + + def _notify_content(self) -> None: + content = self.content + if content and content.exception() is None: + content.set_exception(ClientConnectionError("Connection closed")) + self._released = True + + async def wait_for_close(self) -> None: + if self._writer is not None: + await self._writer + self.release() + + async def read(self) -> bytes: + """Read response payload.""" + if self._body is None: + try: + self._body = await self.content.read() + for trace in self._traces: + await trace.send_response_chunk_received( + self.method, self.url, self._body + ) + except BaseException: + self.close() + raise + elif self._released: # Response explicitly released + raise ClientConnectionError("Connection closed") + + protocol = self._connection and self._connection.protocol + if protocol is None or not protocol.upgraded: + await self._wait_released() # Underlying connection released + return self._body # type: ignore[no-any-return] + + def get_encoding(self) -> str: + ctype = self.headers.get(hdrs.CONTENT_TYPE, "").lower() + mimetype = helpers.parse_mimetype(ctype) + + encoding = mimetype.parameters.get("charset") + if encoding: + with contextlib.suppress(LookupError): + return codecs.lookup(encoding).name + + if mimetype.type == "application" and ( + mimetype.subtype == "json" or mimetype.subtype == "rdap" + ): + # RFC 7159 states that the default encoding is UTF-8. + # RFC 7483 defines application/rdap+json + return "utf-8" + + if self._body is None: + raise RuntimeError( + "Cannot compute fallback encoding of a not yet read body" + ) + + return self._resolve_charset(self, self._body) + + async def text(self, encoding: Optional[str] = None, errors: str = "strict") -> str: + """Read response payload and decode.""" + if self._body is None: + await self.read() + + if encoding is None: + encoding = self.get_encoding() + + return self._body.decode( # type: ignore[no-any-return,union-attr] + encoding, errors=errors + ) + + async def json( + self, + *, + encoding: Optional[str] = None, + loads: JSONDecoder = DEFAULT_JSON_DECODER, + content_type: Optional[str] = "application/json", + ) -> Any: + """Read and decodes JSON response.""" + if self._body is None: + await self.read() + + if content_type: + ctype = self.headers.get(hdrs.CONTENT_TYPE, "").lower() + if not _is_expected_content_type(ctype, content_type): + raise ContentTypeError( + self.request_info, + self.history, + message=( + "Attempt to decode JSON with " "unexpected mimetype: %s" % ctype + ), + headers=self.headers, + ) + + stripped = self._body.strip() # type: ignore[union-attr] + if not stripped: + return None + + if encoding is None: + encoding = self.get_encoding() + + return loads(stripped.decode(encoding)) + + async def __aenter__(self) -> "ClientResponse": + return self + + async def __aexit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + # similar to _RequestContextManager, we do not need to check + # for exceptions, response object can close connection + # if state is broken + self.release() + await self.wait_for_close() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_ws.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_ws.py new file mode 100644 index 0000000000000000000000000000000000000000..d9c74a30f5238ea5858fc8e63bbe759b443058a5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/client_ws.py @@ -0,0 +1,315 @@ +"""WebSocket client for asyncio.""" + +import asyncio +import sys +from typing import Any, Optional, cast + +from .client_exceptions import ClientError +from .client_reqrep import ClientResponse +from .helpers import call_later, set_result +from .http import ( + WS_CLOSED_MESSAGE, + WS_CLOSING_MESSAGE, + WebSocketError, + WSCloseCode, + WSMessage, + WSMsgType, +) +from .http_websocket import WebSocketWriter # WSMessage +from .streams import EofStream, FlowControlDataQueue +from .typedefs import ( + DEFAULT_JSON_DECODER, + DEFAULT_JSON_ENCODER, + JSONDecoder, + JSONEncoder, +) + +if sys.version_info >= (3, 11): + import asyncio as async_timeout +else: + import async_timeout + + +class ClientWebSocketResponse: + def __init__( + self, + reader: "FlowControlDataQueue[WSMessage]", + writer: WebSocketWriter, + protocol: Optional[str], + response: ClientResponse, + timeout: float, + autoclose: bool, + autoping: bool, + loop: asyncio.AbstractEventLoop, + *, + receive_timeout: Optional[float] = None, + heartbeat: Optional[float] = None, + compress: int = 0, + client_notakeover: bool = False, + ) -> None: + self._response = response + self._conn = response.connection + + self._writer = writer + self._reader = reader + self._protocol = protocol + self._closed = False + self._closing = False + self._close_code: Optional[int] = None + self._timeout = timeout + self._receive_timeout = receive_timeout + self._autoclose = autoclose + self._autoping = autoping + self._heartbeat = heartbeat + self._heartbeat_cb: Optional[asyncio.TimerHandle] = None + if heartbeat is not None: + self._pong_heartbeat = heartbeat / 2.0 + self._pong_response_cb: Optional[asyncio.TimerHandle] = None + self._loop = loop + self._waiting: Optional[asyncio.Future[bool]] = None + self._exception: Optional[BaseException] = None + self._compress = compress + self._client_notakeover = client_notakeover + + self._reset_heartbeat() + + def _cancel_heartbeat(self) -> None: + if self._pong_response_cb is not None: + self._pong_response_cb.cancel() + self._pong_response_cb = None + + if self._heartbeat_cb is not None: + self._heartbeat_cb.cancel() + self._heartbeat_cb = None + + def _reset_heartbeat(self) -> None: + self._cancel_heartbeat() + + if self._heartbeat is not None: + self._heartbeat_cb = call_later( + self._send_heartbeat, + self._heartbeat, + self._loop, + timeout_ceil_threshold=self._conn._connector._timeout_ceil_threshold + if self._conn is not None + else 5, + ) + + def _send_heartbeat(self) -> None: + if self._heartbeat is not None and not self._closed: + # fire-and-forget a task is not perfect but maybe ok for + # sending ping. Otherwise we need a long-living heartbeat + # task in the class. + self._loop.create_task(self._writer.ping()) + + if self._pong_response_cb is not None: + self._pong_response_cb.cancel() + self._pong_response_cb = call_later( + self._pong_not_received, + self._pong_heartbeat, + self._loop, + timeout_ceil_threshold=self._conn._connector._timeout_ceil_threshold + if self._conn is not None + else 5, + ) + + def _pong_not_received(self) -> None: + if not self._closed: + self._closed = True + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._exception = asyncio.TimeoutError() + self._response.close() + + @property + def closed(self) -> bool: + return self._closed + + @property + def close_code(self) -> Optional[int]: + return self._close_code + + @property + def protocol(self) -> Optional[str]: + return self._protocol + + @property + def compress(self) -> int: + return self._compress + + @property + def client_notakeover(self) -> bool: + return self._client_notakeover + + def get_extra_info(self, name: str, default: Any = None) -> Any: + """extra info from connection transport""" + conn = self._response.connection + if conn is None: + return default + transport = conn.transport + if transport is None: + return default + return transport.get_extra_info(name, default) + + def exception(self) -> Optional[BaseException]: + return self._exception + + async def ping(self, message: bytes = b"") -> None: + await self._writer.ping(message) + + async def pong(self, message: bytes = b"") -> None: + await self._writer.pong(message) + + async def send_str(self, data: str, compress: Optional[int] = None) -> None: + if not isinstance(data, str): + raise TypeError("data argument must be str (%r)" % type(data)) + await self._writer.send(data, binary=False, compress=compress) + + async def send_bytes(self, data: bytes, compress: Optional[int] = None) -> None: + if not isinstance(data, (bytes, bytearray, memoryview)): + raise TypeError("data argument must be byte-ish (%r)" % type(data)) + await self._writer.send(data, binary=True, compress=compress) + + async def send_json( + self, + data: Any, + compress: Optional[int] = None, + *, + dumps: JSONEncoder = DEFAULT_JSON_ENCODER, + ) -> None: + await self.send_str(dumps(data), compress=compress) + + async def close(self, *, code: int = WSCloseCode.OK, message: bytes = b"") -> bool: + # we need to break `receive()` cycle first, + # `close()` may be called from different task + if self._waiting is not None and not self._closing: + self._closing = True + self._reader.feed_data(WS_CLOSING_MESSAGE, 0) + await self._waiting + + if not self._closed: + self._cancel_heartbeat() + self._closed = True + try: + await self._writer.close(code, message) + except asyncio.CancelledError: + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._response.close() + raise + except Exception as exc: + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._exception = exc + self._response.close() + return True + + if self._close_code: + self._response.close() + return True + + while True: + try: + async with async_timeout.timeout(self._timeout): + msg = await self._reader.read() + except asyncio.CancelledError: + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._response.close() + raise + except Exception as exc: + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._exception = exc + self._response.close() + return True + + if msg.type == WSMsgType.CLOSE: + self._close_code = msg.data + self._response.close() + return True + else: + return False + + async def receive(self, timeout: Optional[float] = None) -> WSMessage: + while True: + if self._waiting is not None: + raise RuntimeError("Concurrent call to receive() is not allowed") + + if self._closed: + return WS_CLOSED_MESSAGE + elif self._closing: + await self.close() + return WS_CLOSED_MESSAGE + + try: + self._waiting = self._loop.create_future() + try: + async with async_timeout.timeout(timeout or self._receive_timeout): + msg = await self._reader.read() + self._reset_heartbeat() + finally: + waiter = self._waiting + self._waiting = None + set_result(waiter, True) + except (asyncio.CancelledError, asyncio.TimeoutError): + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + raise + except EofStream: + self._close_code = WSCloseCode.OK + await self.close() + return WSMessage(WSMsgType.CLOSED, None, None) + except ClientError: + self._closed = True + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + return WS_CLOSED_MESSAGE + except WebSocketError as exc: + self._close_code = exc.code + await self.close(code=exc.code) + return WSMessage(WSMsgType.ERROR, exc, None) + except Exception as exc: + self._exception = exc + self._closing = True + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + await self.close() + return WSMessage(WSMsgType.ERROR, exc, None) + + if msg.type == WSMsgType.CLOSE: + self._closing = True + self._close_code = msg.data + if not self._closed and self._autoclose: + await self.close() + elif msg.type == WSMsgType.CLOSING: + self._closing = True + elif msg.type == WSMsgType.PING and self._autoping: + await self.pong(msg.data) + continue + elif msg.type == WSMsgType.PONG and self._autoping: + continue + + return msg + + async def receive_str(self, *, timeout: Optional[float] = None) -> str: + msg = await self.receive(timeout) + if msg.type != WSMsgType.TEXT: + raise TypeError(f"Received message {msg.type}:{msg.data!r} is not str") + return cast(str, msg.data) + + async def receive_bytes(self, *, timeout: Optional[float] = None) -> bytes: + msg = await self.receive(timeout) + if msg.type != WSMsgType.BINARY: + raise TypeError(f"Received message {msg.type}:{msg.data!r} is not bytes") + return cast(bytes, msg.data) + + async def receive_json( + self, + *, + loads: JSONDecoder = DEFAULT_JSON_DECODER, + timeout: Optional[float] = None, + ) -> Any: + data = await self.receive_str(timeout=timeout) + return loads(data) + + def __aiter__(self) -> "ClientWebSocketResponse": + return self + + async def __anext__(self) -> WSMessage: + msg = await self.receive() + if msg.type in (WSMsgType.CLOSE, WSMsgType.CLOSING, WSMsgType.CLOSED): + raise StopAsyncIteration + return msg diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/compression_utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/compression_utils.py new file mode 100644 index 0000000000000000000000000000000000000000..9631d377e9a52b07c3d239fa140f328cea7172bd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/compression_utils.py @@ -0,0 +1,157 @@ +import asyncio +import zlib +from concurrent.futures import Executor +from typing import Optional, cast + +try: + try: + import brotlicffi as brotli + except ImportError: + import brotli + + HAS_BROTLI = True +except ImportError: # pragma: no cover + HAS_BROTLI = False + +MAX_SYNC_CHUNK_SIZE = 1024 + + +def encoding_to_mode( + encoding: Optional[str] = None, + suppress_deflate_header: bool = False, +) -> int: + if encoding == "gzip": + return 16 + zlib.MAX_WBITS + + return -zlib.MAX_WBITS if suppress_deflate_header else zlib.MAX_WBITS + + +class ZlibBaseHandler: + def __init__( + self, + mode: int, + executor: Optional[Executor] = None, + max_sync_chunk_size: Optional[int] = MAX_SYNC_CHUNK_SIZE, + ): + self._mode = mode + self._executor = executor + self._max_sync_chunk_size = max_sync_chunk_size + + +class ZLibCompressor(ZlibBaseHandler): + def __init__( + self, + encoding: Optional[str] = None, + suppress_deflate_header: bool = False, + level: Optional[int] = None, + wbits: Optional[int] = None, + strategy: int = zlib.Z_DEFAULT_STRATEGY, + executor: Optional[Executor] = None, + max_sync_chunk_size: Optional[int] = MAX_SYNC_CHUNK_SIZE, + ): + super().__init__( + mode=encoding_to_mode(encoding, suppress_deflate_header) + if wbits is None + else wbits, + executor=executor, + max_sync_chunk_size=max_sync_chunk_size, + ) + if level is None: + self._compressor = zlib.compressobj(wbits=self._mode, strategy=strategy) + else: + self._compressor = zlib.compressobj( + wbits=self._mode, strategy=strategy, level=level + ) + self._compress_lock = asyncio.Lock() + + def compress_sync(self, data: bytes) -> bytes: + return self._compressor.compress(data) + + async def compress(self, data: bytes) -> bytes: + async with self._compress_lock: + # To ensure the stream is consistent in the event + # there are multiple writers, we need to lock + # the compressor so that only one writer can + # compress at a time. + if ( + self._max_sync_chunk_size is not None + and len(data) > self._max_sync_chunk_size + ): + return await asyncio.get_event_loop().run_in_executor( + self._executor, self.compress_sync, data + ) + return self.compress_sync(data) + + def flush(self, mode: int = zlib.Z_FINISH) -> bytes: + return self._compressor.flush(mode) + + +class ZLibDecompressor(ZlibBaseHandler): + def __init__( + self, + encoding: Optional[str] = None, + suppress_deflate_header: bool = False, + executor: Optional[Executor] = None, + max_sync_chunk_size: Optional[int] = MAX_SYNC_CHUNK_SIZE, + ): + super().__init__( + mode=encoding_to_mode(encoding, suppress_deflate_header), + executor=executor, + max_sync_chunk_size=max_sync_chunk_size, + ) + self._decompressor = zlib.decompressobj(wbits=self._mode) + + def decompress_sync(self, data: bytes, max_length: int = 0) -> bytes: + return self._decompressor.decompress(data, max_length) + + async def decompress(self, data: bytes, max_length: int = 0) -> bytes: + if ( + self._max_sync_chunk_size is not None + and len(data) > self._max_sync_chunk_size + ): + return await asyncio.get_event_loop().run_in_executor( + self._executor, self.decompress_sync, data, max_length + ) + return self.decompress_sync(data, max_length) + + def flush(self, length: int = 0) -> bytes: + return ( + self._decompressor.flush(length) + if length > 0 + else self._decompressor.flush() + ) + + @property + def eof(self) -> bool: + return self._decompressor.eof + + @property + def unconsumed_tail(self) -> bytes: + return self._decompressor.unconsumed_tail + + @property + def unused_data(self) -> bytes: + return self._decompressor.unused_data + + +class BrotliDecompressor: + # Supports both 'brotlipy' and 'Brotli' packages + # since they share an import name. The top branches + # are for 'brotlipy' and bottom branches for 'Brotli' + def __init__(self) -> None: + if not HAS_BROTLI: + raise RuntimeError( + "The brotli decompression is not available. " + "Please install `Brotli` module" + ) + self._obj = brotli.Decompressor() + + def decompress_sync(self, data: bytes) -> bytes: + if hasattr(self._obj, "decompress"): + return cast(bytes, self._obj.decompress(data)) + return cast(bytes, self._obj.process(data)) + + def flush(self) -> bytes: + if hasattr(self._obj, "flush"): + return cast(bytes, self._obj.flush()) + return b"" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/connector.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/connector.py new file mode 100644 index 0000000000000000000000000000000000000000..61c26430860485b89834122cfe138337b20237e4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/connector.py @@ -0,0 +1,1489 @@ +import asyncio +import functools +import random +import sys +import traceback +import warnings +from collections import defaultdict, deque +from contextlib import suppress +from http import HTTPStatus +from http.cookies import SimpleCookie +from itertools import cycle, islice +from time import monotonic +from types import TracebackType +from typing import ( + TYPE_CHECKING, + Any, + Awaitable, + Callable, + DefaultDict, + Dict, + Iterator, + List, + Literal, + Optional, + Set, + Tuple, + Type, + Union, + cast, +) + +import attr + +from . import hdrs, helpers +from .abc import AbstractResolver +from .client_exceptions import ( + ClientConnectionError, + ClientConnectorCertificateError, + ClientConnectorError, + ClientConnectorSSLError, + ClientHttpProxyError, + ClientProxyConnectionError, + ServerFingerprintMismatch, + UnixClientConnectorError, + cert_errors, + ssl_errors, +) +from .client_proto import ResponseHandler +from .client_reqrep import ClientRequest, Fingerprint, _merge_ssl_params +from .helpers import ceil_timeout, get_running_loop, is_ip_address, noop, sentinel +from .locks import EventResultOrError +from .resolver import DefaultResolver + +try: + import ssl + + SSLContext = ssl.SSLContext +except ImportError: # pragma: no cover + ssl = None # type: ignore[assignment] + SSLContext = object # type: ignore[misc,assignment] + + +__all__ = ("BaseConnector", "TCPConnector", "UnixConnector", "NamedPipeConnector") + + +if TYPE_CHECKING: # pragma: no cover + from .client import ClientTimeout + from .client_reqrep import ConnectionKey + from .tracing import Trace + + +class _DeprecationWaiter: + __slots__ = ("_awaitable", "_awaited") + + def __init__(self, awaitable: Awaitable[Any]) -> None: + self._awaitable = awaitable + self._awaited = False + + def __await__(self) -> Any: + self._awaited = True + return self._awaitable.__await__() + + def __del__(self) -> None: + if not self._awaited: + warnings.warn( + "Connector.close() is a coroutine, " + "please use await connector.close()", + DeprecationWarning, + ) + + +class Connection: + + _source_traceback = None + _transport = None + + def __init__( + self, + connector: "BaseConnector", + key: "ConnectionKey", + protocol: ResponseHandler, + loop: asyncio.AbstractEventLoop, + ) -> None: + self._key = key + self._connector = connector + self._loop = loop + self._protocol: Optional[ResponseHandler] = protocol + self._callbacks: List[Callable[[], None]] = [] + + if loop.get_debug(): + self._source_traceback = traceback.extract_stack(sys._getframe(1)) + + def __repr__(self) -> str: + return f"Connection<{self._key}>" + + def __del__(self, _warnings: Any = warnings) -> None: + if self._protocol is not None: + kwargs = {"source": self} + _warnings.warn(f"Unclosed connection {self!r}", ResourceWarning, **kwargs) + if self._loop.is_closed(): + return + + self._connector._release(self._key, self._protocol, should_close=True) + + context = {"client_connection": self, "message": "Unclosed connection"} + if self._source_traceback is not None: + context["source_traceback"] = self._source_traceback + self._loop.call_exception_handler(context) + + def __bool__(self) -> Literal[True]: + """Force subclasses to not be falsy, to make checks simpler.""" + return True + + @property + def loop(self) -> asyncio.AbstractEventLoop: + warnings.warn( + "connector.loop property is deprecated", DeprecationWarning, stacklevel=2 + ) + return self._loop + + @property + def transport(self) -> Optional[asyncio.Transport]: + if self._protocol is None: + return None + return self._protocol.transport + + @property + def protocol(self) -> Optional[ResponseHandler]: + return self._protocol + + def add_callback(self, callback: Callable[[], None]) -> None: + if callback is not None: + self._callbacks.append(callback) + + def _notify_release(self) -> None: + callbacks, self._callbacks = self._callbacks[:], [] + + for cb in callbacks: + with suppress(Exception): + cb() + + def close(self) -> None: + self._notify_release() + + if self._protocol is not None: + self._connector._release(self._key, self._protocol, should_close=True) + self._protocol = None + + def release(self) -> None: + self._notify_release() + + if self._protocol is not None: + self._connector._release( + self._key, self._protocol, should_close=self._protocol.should_close + ) + self._protocol = None + + @property + def closed(self) -> bool: + return self._protocol is None or not self._protocol.is_connected() + + +class _TransportPlaceholder: + """placeholder for BaseConnector.connect function""" + + def close(self) -> None: + pass + + +class BaseConnector: + """Base connector class. + + keepalive_timeout - (optional) Keep-alive timeout. + force_close - Set to True to force close and do reconnect + after each request (and between redirects). + limit - The total number of simultaneous connections. + limit_per_host - Number of simultaneous connections to one host. + enable_cleanup_closed - Enables clean-up closed ssl transports. + Disabled by default. + timeout_ceil_threshold - Trigger ceiling of timeout values when + it's above timeout_ceil_threshold. + loop - Optional event loop. + """ + + _closed = True # prevent AttributeError in __del__ if ctor was failed + _source_traceback = None + + # abort transport after 2 seconds (cleanup broken connections) + _cleanup_closed_period = 2.0 + + def __init__( + self, + *, + keepalive_timeout: Union[object, None, float] = sentinel, + force_close: bool = False, + limit: int = 100, + limit_per_host: int = 0, + enable_cleanup_closed: bool = False, + loop: Optional[asyncio.AbstractEventLoop] = None, + timeout_ceil_threshold: float = 5, + ) -> None: + + if force_close: + if keepalive_timeout is not None and keepalive_timeout is not sentinel: + raise ValueError( + "keepalive_timeout cannot " "be set if force_close is True" + ) + else: + if keepalive_timeout is sentinel: + keepalive_timeout = 15.0 + + loop = get_running_loop(loop) + self._timeout_ceil_threshold = timeout_ceil_threshold + + self._closed = False + if loop.get_debug(): + self._source_traceback = traceback.extract_stack(sys._getframe(1)) + + self._conns: Dict[ConnectionKey, List[Tuple[ResponseHandler, float]]] = {} + self._limit = limit + self._limit_per_host = limit_per_host + self._acquired: Set[ResponseHandler] = set() + self._acquired_per_host: DefaultDict[ + ConnectionKey, Set[ResponseHandler] + ] = defaultdict(set) + self._keepalive_timeout = cast(float, keepalive_timeout) + self._force_close = force_close + + # {host_key: FIFO list of waiters} + self._waiters = defaultdict(deque) # type: ignore[var-annotated] + + self._loop = loop + self._factory = functools.partial(ResponseHandler, loop=loop) + + self.cookies = SimpleCookie() + + # start keep-alive connection cleanup task + self._cleanup_handle: Optional[asyncio.TimerHandle] = None + + # start cleanup closed transports task + self._cleanup_closed_handle: Optional[asyncio.TimerHandle] = None + self._cleanup_closed_disabled = not enable_cleanup_closed + self._cleanup_closed_transports: List[Optional[asyncio.Transport]] = [] + self._cleanup_closed() + + def __del__(self, _warnings: Any = warnings) -> None: + if self._closed: + return + if not self._conns: + return + + conns = [repr(c) for c in self._conns.values()] + + self._close() + + kwargs = {"source": self} + _warnings.warn(f"Unclosed connector {self!r}", ResourceWarning, **kwargs) + context = { + "connector": self, + "connections": conns, + "message": "Unclosed connector", + } + if self._source_traceback is not None: + context["source_traceback"] = self._source_traceback + self._loop.call_exception_handler(context) + + def __enter__(self) -> "BaseConnector": + warnings.warn( + '"with Connector():" is deprecated, ' + 'use "async with Connector():" instead', + DeprecationWarning, + ) + return self + + def __exit__(self, *exc: Any) -> None: + self._close() + + async def __aenter__(self) -> "BaseConnector": + return self + + async def __aexit__( + self, + exc_type: Optional[Type[BaseException]] = None, + exc_value: Optional[BaseException] = None, + exc_traceback: Optional[TracebackType] = None, + ) -> None: + await self.close() + + @property + def force_close(self) -> bool: + """Ultimately close connection on releasing if True.""" + return self._force_close + + @property + def limit(self) -> int: + """The total number for simultaneous connections. + + If limit is 0 the connector has no limit. + The default limit size is 100. + """ + return self._limit + + @property + def limit_per_host(self) -> int: + """The limit for simultaneous connections to the same endpoint. + + Endpoints are the same if they are have equal + (host, port, is_ssl) triple. + """ + return self._limit_per_host + + def _cleanup(self) -> None: + """Cleanup unused transports.""" + if self._cleanup_handle: + self._cleanup_handle.cancel() + # _cleanup_handle should be unset, otherwise _release() will not + # recreate it ever! + self._cleanup_handle = None + + now = self._loop.time() + timeout = self._keepalive_timeout + + if self._conns: + connections = {} + deadline = now - timeout + for key, conns in self._conns.items(): + alive = [] + for proto, use_time in conns: + if proto.is_connected(): + if use_time - deadline < 0: + transport = proto.transport + proto.close() + if key.is_ssl and not self._cleanup_closed_disabled: + self._cleanup_closed_transports.append(transport) + else: + alive.append((proto, use_time)) + else: + transport = proto.transport + proto.close() + if key.is_ssl and not self._cleanup_closed_disabled: + self._cleanup_closed_transports.append(transport) + + if alive: + connections[key] = alive + + self._conns = connections + + if self._conns: + self._cleanup_handle = helpers.weakref_handle( + self, + "_cleanup", + timeout, + self._loop, + timeout_ceil_threshold=self._timeout_ceil_threshold, + ) + + def _drop_acquired_per_host( + self, key: "ConnectionKey", val: ResponseHandler + ) -> None: + acquired_per_host = self._acquired_per_host + if key not in acquired_per_host: + return + conns = acquired_per_host[key] + conns.remove(val) + if not conns: + del self._acquired_per_host[key] + + def _cleanup_closed(self) -> None: + """Double confirmation for transport close. + + Some broken ssl servers may leave socket open without proper close. + """ + if self._cleanup_closed_handle: + self._cleanup_closed_handle.cancel() + + for transport in self._cleanup_closed_transports: + if transport is not None: + transport.abort() + + self._cleanup_closed_transports = [] + + if not self._cleanup_closed_disabled: + self._cleanup_closed_handle = helpers.weakref_handle( + self, + "_cleanup_closed", + self._cleanup_closed_period, + self._loop, + timeout_ceil_threshold=self._timeout_ceil_threshold, + ) + + def close(self) -> Awaitable[None]: + """Close all opened transports.""" + self._close() + return _DeprecationWaiter(noop()) + + def _close(self) -> None: + if self._closed: + return + + self._closed = True + + try: + if self._loop.is_closed(): + return + + # cancel cleanup task + if self._cleanup_handle: + self._cleanup_handle.cancel() + + # cancel cleanup close task + if self._cleanup_closed_handle: + self._cleanup_closed_handle.cancel() + + for data in self._conns.values(): + for proto, t0 in data: + proto.close() + + for proto in self._acquired: + proto.close() + + for transport in self._cleanup_closed_transports: + if transport is not None: + transport.abort() + + finally: + self._conns.clear() + self._acquired.clear() + self._waiters.clear() + self._cleanup_handle = None + self._cleanup_closed_transports.clear() + self._cleanup_closed_handle = None + + @property + def closed(self) -> bool: + """Is connector closed. + + A readonly property. + """ + return self._closed + + def _available_connections(self, key: "ConnectionKey") -> int: + """ + Return number of available connections. + + The limit, limit_per_host and the connection key are taken into account. + + If it returns less than 1 means that there are no connections + available. + """ + if self._limit: + # total calc available connections + available = self._limit - len(self._acquired) + + # check limit per host + if ( + self._limit_per_host + and available > 0 + and key in self._acquired_per_host + ): + acquired = self._acquired_per_host.get(key) + assert acquired is not None + available = self._limit_per_host - len(acquired) + + elif self._limit_per_host and key in self._acquired_per_host: + # check limit per host + acquired = self._acquired_per_host.get(key) + assert acquired is not None + available = self._limit_per_host - len(acquired) + else: + available = 1 + + return available + + async def connect( + self, req: ClientRequest, traces: List["Trace"], timeout: "ClientTimeout" + ) -> Connection: + """Get from pool or create new connection.""" + key = req.connection_key + available = self._available_connections(key) + + # Wait if there are no available connections or if there are/were + # waiters (i.e. don't steal connection from a waiter about to wake up) + if available <= 0 or key in self._waiters: + fut = self._loop.create_future() + + # This connection will now count towards the limit. + self._waiters[key].append(fut) + + if traces: + for trace in traces: + await trace.send_connection_queued_start() + + try: + await fut + except BaseException as e: + if key in self._waiters: + # remove a waiter even if it was cancelled, normally it's + # removed when it's notified + try: + self._waiters[key].remove(fut) + except ValueError: # fut may no longer be in list + pass + + raise e + finally: + if key in self._waiters and not self._waiters[key]: + del self._waiters[key] + + if traces: + for trace in traces: + await trace.send_connection_queued_end() + + proto = self._get(key) + if proto is None: + placeholder = cast(ResponseHandler, _TransportPlaceholder()) + self._acquired.add(placeholder) + self._acquired_per_host[key].add(placeholder) + + if traces: + for trace in traces: + await trace.send_connection_create_start() + + try: + proto = await self._create_connection(req, traces, timeout) + if self._closed: + proto.close() + raise ClientConnectionError("Connector is closed.") + except BaseException: + if not self._closed: + self._acquired.remove(placeholder) + self._drop_acquired_per_host(key, placeholder) + self._release_waiter() + raise + else: + if not self._closed: + self._acquired.remove(placeholder) + self._drop_acquired_per_host(key, placeholder) + + if traces: + for trace in traces: + await trace.send_connection_create_end() + else: + if traces: + # Acquire the connection to prevent race conditions with limits + placeholder = cast(ResponseHandler, _TransportPlaceholder()) + self._acquired.add(placeholder) + self._acquired_per_host[key].add(placeholder) + for trace in traces: + await trace.send_connection_reuseconn() + self._acquired.remove(placeholder) + self._drop_acquired_per_host(key, placeholder) + + self._acquired.add(proto) + self._acquired_per_host[key].add(proto) + return Connection(self, key, proto, self._loop) + + def _get(self, key: "ConnectionKey") -> Optional[ResponseHandler]: + try: + conns = self._conns[key] + except KeyError: + return None + + t1 = self._loop.time() + while conns: + proto, t0 = conns.pop() + if proto.is_connected(): + if t1 - t0 > self._keepalive_timeout: + transport = proto.transport + proto.close() + # only for SSL transports + if key.is_ssl and not self._cleanup_closed_disabled: + self._cleanup_closed_transports.append(transport) + else: + if not conns: + # The very last connection was reclaimed: drop the key + del self._conns[key] + return proto + else: + transport = proto.transport + proto.close() + if key.is_ssl and not self._cleanup_closed_disabled: + self._cleanup_closed_transports.append(transport) + + # No more connections: drop the key + del self._conns[key] + return None + + def _release_waiter(self) -> None: + """ + Iterates over all waiters until one to be released is found. + + The one to be released is not finished and + belongs to a host that has available connections. + """ + if not self._waiters: + return + + # Having the dict keys ordered this avoids to iterate + # at the same order at each call. + queues = list(self._waiters.keys()) + random.shuffle(queues) + + for key in queues: + if self._available_connections(key) < 1: + continue + + waiters = self._waiters[key] + while waiters: + waiter = waiters.popleft() + if not waiter.done(): + waiter.set_result(None) + return + + def _release_acquired(self, key: "ConnectionKey", proto: ResponseHandler) -> None: + if self._closed: + # acquired connection is already released on connector closing + return + + try: + self._acquired.remove(proto) + self._drop_acquired_per_host(key, proto) + except KeyError: # pragma: no cover + # this may be result of undetermenistic order of objects + # finalization due garbage collection. + pass + else: + self._release_waiter() + + def _release( + self, + key: "ConnectionKey", + protocol: ResponseHandler, + *, + should_close: bool = False, + ) -> None: + if self._closed: + # acquired connection is already released on connector closing + return + + self._release_acquired(key, protocol) + + if self._force_close: + should_close = True + + if should_close or protocol.should_close: + transport = protocol.transport + protocol.close() + + if key.is_ssl and not self._cleanup_closed_disabled: + self._cleanup_closed_transports.append(transport) + else: + conns = self._conns.get(key) + if conns is None: + conns = self._conns[key] = [] + conns.append((protocol, self._loop.time())) + + if self._cleanup_handle is None: + self._cleanup_handle = helpers.weakref_handle( + self, + "_cleanup", + self._keepalive_timeout, + self._loop, + timeout_ceil_threshold=self._timeout_ceil_threshold, + ) + + async def _create_connection( + self, req: ClientRequest, traces: List["Trace"], timeout: "ClientTimeout" + ) -> ResponseHandler: + raise NotImplementedError() + + +class _DNSCacheTable: + def __init__(self, ttl: Optional[float] = None) -> None: + self._addrs_rr: Dict[Tuple[str, int], Tuple[Iterator[Dict[str, Any]], int]] = {} + self._timestamps: Dict[Tuple[str, int], float] = {} + self._ttl = ttl + + def __contains__(self, host: object) -> bool: + return host in self._addrs_rr + + def add(self, key: Tuple[str, int], addrs: List[Dict[str, Any]]) -> None: + self._addrs_rr[key] = (cycle(addrs), len(addrs)) + + if self._ttl is not None: + self._timestamps[key] = monotonic() + + def remove(self, key: Tuple[str, int]) -> None: + self._addrs_rr.pop(key, None) + + if self._ttl is not None: + self._timestamps.pop(key, None) + + def clear(self) -> None: + self._addrs_rr.clear() + self._timestamps.clear() + + def next_addrs(self, key: Tuple[str, int]) -> List[Dict[str, Any]]: + loop, length = self._addrs_rr[key] + addrs = list(islice(loop, length)) + # Consume one more element to shift internal state of `cycle` + next(loop) + return addrs + + def expired(self, key: Tuple[str, int]) -> bool: + if self._ttl is None: + return False + + return self._timestamps[key] + self._ttl < monotonic() + + +class TCPConnector(BaseConnector): + """TCP connector. + + verify_ssl - Set to True to check ssl certifications. + fingerprint - Pass the binary sha256 + digest of the expected certificate in DER format to verify + that the certificate the server presents matches. See also + https://en.wikipedia.org/wiki/Transport_Layer_Security#Certificate_pinning + resolver - Enable DNS lookups and use this + resolver + use_dns_cache - Use memory cache for DNS lookups. + ttl_dns_cache - Max seconds having cached a DNS entry, None forever. + family - socket address family + local_addr - local tuple of (host, port) to bind socket to + + keepalive_timeout - (optional) Keep-alive timeout. + force_close - Set to True to force close and do reconnect + after each request (and between redirects). + limit - The total number of simultaneous connections. + limit_per_host - Number of simultaneous connections to one host. + enable_cleanup_closed - Enables clean-up closed ssl transports. + Disabled by default. + loop - Optional event loop. + """ + + def __init__( + self, + *, + verify_ssl: bool = True, + fingerprint: Optional[bytes] = None, + use_dns_cache: bool = True, + ttl_dns_cache: Optional[int] = 10, + family: int = 0, + ssl_context: Optional[SSLContext] = None, + ssl: Union[None, Literal[False], Fingerprint, SSLContext] = None, + local_addr: Optional[Tuple[str, int]] = None, + resolver: Optional[AbstractResolver] = None, + keepalive_timeout: Union[None, float, object] = sentinel, + force_close: bool = False, + limit: int = 100, + limit_per_host: int = 0, + enable_cleanup_closed: bool = False, + loop: Optional[asyncio.AbstractEventLoop] = None, + timeout_ceil_threshold: float = 5, + ): + super().__init__( + keepalive_timeout=keepalive_timeout, + force_close=force_close, + limit=limit, + limit_per_host=limit_per_host, + enable_cleanup_closed=enable_cleanup_closed, + loop=loop, + timeout_ceil_threshold=timeout_ceil_threshold, + ) + + self._ssl = _merge_ssl_params(ssl, verify_ssl, ssl_context, fingerprint) + if resolver is None: + resolver = DefaultResolver(loop=self._loop) + self._resolver = resolver + + self._use_dns_cache = use_dns_cache + self._cached_hosts = _DNSCacheTable(ttl=ttl_dns_cache) + self._throttle_dns_events: Dict[Tuple[str, int], EventResultOrError] = {} + self._family = family + self._local_addr = local_addr + + def close(self) -> Awaitable[None]: + """Close all ongoing DNS calls.""" + for ev in self._throttle_dns_events.values(): + ev.cancel() + + return super().close() + + @property + def family(self) -> int: + """Socket family like AF_INET.""" + return self._family + + @property + def use_dns_cache(self) -> bool: + """True if local DNS caching is enabled.""" + return self._use_dns_cache + + def clear_dns_cache( + self, host: Optional[str] = None, port: Optional[int] = None + ) -> None: + """Remove specified host/port or clear all dns local cache.""" + if host is not None and port is not None: + self._cached_hosts.remove((host, port)) + elif host is not None or port is not None: + raise ValueError("either both host and port " "or none of them are allowed") + else: + self._cached_hosts.clear() + + async def _resolve_host( + self, host: str, port: int, traces: Optional[List["Trace"]] = None + ) -> List[Dict[str, Any]]: + if is_ip_address(host): + return [ + { + "hostname": host, + "host": host, + "port": port, + "family": self._family, + "proto": 0, + "flags": 0, + } + ] + + if not self._use_dns_cache: + + if traces: + for trace in traces: + await trace.send_dns_resolvehost_start(host) + + res = await self._resolver.resolve(host, port, family=self._family) + + if traces: + for trace in traces: + await trace.send_dns_resolvehost_end(host) + + return res + + key = (host, port) + + if (key in self._cached_hosts) and (not self._cached_hosts.expired(key)): + # get result early, before any await (#4014) + result = self._cached_hosts.next_addrs(key) + + if traces: + for trace in traces: + await trace.send_dns_cache_hit(host) + return result + + if key in self._throttle_dns_events: + # get event early, before any await (#4014) + event = self._throttle_dns_events[key] + if traces: + for trace in traces: + await trace.send_dns_cache_hit(host) + await event.wait() + else: + # update dict early, before any await (#4014) + self._throttle_dns_events[key] = EventResultOrError(self._loop) + if traces: + for trace in traces: + await trace.send_dns_cache_miss(host) + try: + + if traces: + for trace in traces: + await trace.send_dns_resolvehost_start(host) + + addrs = await self._resolver.resolve(host, port, family=self._family) + if traces: + for trace in traces: + await trace.send_dns_resolvehost_end(host) + + self._cached_hosts.add(key, addrs) + self._throttle_dns_events[key].set() + except BaseException as e: + # any DNS exception, independently of the implementation + # is set for the waiters to raise the same exception. + self._throttle_dns_events[key].set(exc=e) + raise + finally: + self._throttle_dns_events.pop(key) + + return self._cached_hosts.next_addrs(key) + + async def _create_connection( + self, req: ClientRequest, traces: List["Trace"], timeout: "ClientTimeout" + ) -> ResponseHandler: + """Create connection. + + Has same keyword arguments as BaseEventLoop.create_connection. + """ + if req.proxy: + _, proto = await self._create_proxy_connection(req, traces, timeout) + else: + _, proto = await self._create_direct_connection(req, traces, timeout) + + return proto + + @staticmethod + @functools.lru_cache(None) + def _make_ssl_context(verified: bool) -> SSLContext: + if verified: + return ssl.create_default_context() + else: + sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) + sslcontext.options |= ssl.OP_NO_SSLv2 + sslcontext.options |= ssl.OP_NO_SSLv3 + sslcontext.check_hostname = False + sslcontext.verify_mode = ssl.CERT_NONE + try: + sslcontext.options |= ssl.OP_NO_COMPRESSION + except AttributeError as attr_err: + warnings.warn( + "{!s}: The Python interpreter is compiled " + "against OpenSSL < 1.0.0. Ref: " + "https://docs.python.org/3/library/ssl.html" + "#ssl.OP_NO_COMPRESSION".format(attr_err), + ) + sslcontext.set_default_verify_paths() + return sslcontext + + def _get_ssl_context(self, req: ClientRequest) -> Optional[SSLContext]: + """Logic to get the correct SSL context + + 0. if req.ssl is false, return None + + 1. if ssl_context is specified in req, use it + 2. if _ssl_context is specified in self, use it + 3. otherwise: + 1. if verify_ssl is not specified in req, use self.ssl_context + (will generate a default context according to self.verify_ssl) + 2. if verify_ssl is True in req, generate a default SSL context + 3. if verify_ssl is False in req, generate a SSL context that + won't verify + """ + if req.is_ssl(): + if ssl is None: # pragma: no cover + raise RuntimeError("SSL is not supported.") + sslcontext = req.ssl + if isinstance(sslcontext, ssl.SSLContext): + return sslcontext + if sslcontext is not None: + # not verified or fingerprinted + return self._make_ssl_context(False) + sslcontext = self._ssl + if isinstance(sslcontext, ssl.SSLContext): + return sslcontext + if sslcontext is not None: + # not verified or fingerprinted + return self._make_ssl_context(False) + return self._make_ssl_context(True) + else: + return None + + def _get_fingerprint(self, req: ClientRequest) -> Optional["Fingerprint"]: + ret = req.ssl + if isinstance(ret, Fingerprint): + return ret + ret = self._ssl + if isinstance(ret, Fingerprint): + return ret + return None + + async def _wrap_create_connection( + self, + *args: Any, + req: ClientRequest, + timeout: "ClientTimeout", + client_error: Type[Exception] = ClientConnectorError, + **kwargs: Any, + ) -> Tuple[asyncio.Transport, ResponseHandler]: + try: + async with ceil_timeout( + timeout.sock_connect, ceil_threshold=timeout.ceil_threshold + ): + return await self._loop.create_connection(*args, **kwargs) + except cert_errors as exc: + raise ClientConnectorCertificateError(req.connection_key, exc) from exc + except ssl_errors as exc: + raise ClientConnectorSSLError(req.connection_key, exc) from exc + except OSError as exc: + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): + raise + raise client_error(req.connection_key, exc) from exc + + def _fail_on_no_start_tls(self, req: "ClientRequest") -> None: + """Raise a :py:exc:`RuntimeError` on missing ``start_tls()``. + + It is necessary for TLS-in-TLS so that it is possible to + send HTTPS queries through HTTPS proxies. + + This doesn't affect regular HTTP requests, though. + """ + if not req.is_ssl(): + return + + proxy_url = req.proxy + assert proxy_url is not None + if proxy_url.scheme != "https": + return + + self._check_loop_for_start_tls() + + def _check_loop_for_start_tls(self) -> None: + try: + self._loop.start_tls + except AttributeError as attr_exc: + raise RuntimeError( + "An HTTPS request is being sent through an HTTPS proxy. " + "This needs support for TLS in TLS but it is not implemented " + "in your runtime for the stdlib asyncio.\n\n" + "Please upgrade to Python 3.11 or higher. For more details, " + "please see:\n" + "* https://bugs.python.org/issue37179\n" + "* https://github.com/python/cpython/pull/28073\n" + "* https://docs.aiohttp.org/en/stable/" + "client_advanced.html#proxy-support\n" + "* https://github.com/aio-libs/aiohttp/discussions/6044\n", + ) from attr_exc + + def _loop_supports_start_tls(self) -> bool: + try: + self._check_loop_for_start_tls() + except RuntimeError: + return False + else: + return True + + def _warn_about_tls_in_tls( + self, + underlying_transport: asyncio.Transport, + req: ClientRequest, + ) -> None: + """Issue a warning if the requested URL has HTTPS scheme.""" + if req.request_info.url.scheme != "https": + return + + asyncio_supports_tls_in_tls = getattr( + underlying_transport, + "_start_tls_compatible", + False, + ) + + if asyncio_supports_tls_in_tls: + return + + warnings.warn( + "An HTTPS request is being sent through an HTTPS proxy. " + "This support for TLS in TLS is known to be disabled " + "in the stdlib asyncio (Python <3.11). This is why you'll probably see " + "an error in the log below.\n\n" + "It is possible to enable it via monkeypatching. " + "For more details, see:\n" + "* https://bugs.python.org/issue37179\n" + "* https://github.com/python/cpython/pull/28073\n\n" + "You can temporarily patch this as follows:\n" + "* https://docs.aiohttp.org/en/stable/client_advanced.html#proxy-support\n" + "* https://github.com/aio-libs/aiohttp/discussions/6044\n", + RuntimeWarning, + source=self, + # Why `4`? At least 3 of the calls in the stack originate + # from the methods in this class. + stacklevel=3, + ) + + async def _start_tls_connection( + self, + underlying_transport: asyncio.Transport, + req: ClientRequest, + timeout: "ClientTimeout", + client_error: Type[Exception] = ClientConnectorError, + ) -> Tuple[asyncio.BaseTransport, ResponseHandler]: + """Wrap the raw TCP transport with TLS.""" + tls_proto = self._factory() # Create a brand new proto for TLS + + # Safety of the `cast()` call here is based on the fact that + # internally `_get_ssl_context()` only returns `None` when + # `req.is_ssl()` evaluates to `False` which is never gonna happen + # in this code path. Of course, it's rather fragile + # maintainability-wise but this is to be solved separately. + sslcontext = cast(ssl.SSLContext, self._get_ssl_context(req)) + + try: + async with ceil_timeout( + timeout.sock_connect, ceil_threshold=timeout.ceil_threshold + ): + try: + tls_transport = await self._loop.start_tls( + underlying_transport, + tls_proto, + sslcontext, + server_hostname=req.server_hostname or req.host, + ssl_handshake_timeout=timeout.total, + ) + except BaseException: + # We need to close the underlying transport since + # `start_tls()` probably failed before it had a + # chance to do this: + underlying_transport.close() + raise + except cert_errors as exc: + raise ClientConnectorCertificateError(req.connection_key, exc) from exc + except ssl_errors as exc: + raise ClientConnectorSSLError(req.connection_key, exc) from exc + except OSError as exc: + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): + raise + raise client_error(req.connection_key, exc) from exc + except TypeError as type_err: + # Example cause looks like this: + # TypeError: transport is not supported by start_tls() + + raise ClientConnectionError( + "Cannot initialize a TLS-in-TLS connection to host " + f"{req.host!s}:{req.port:d} through an underlying connection " + f"to an HTTPS proxy {req.proxy!s} ssl:{req.ssl or 'default'} " + f"[{type_err!s}]" + ) from type_err + else: + if tls_transport is None: + msg = "Failed to start TLS (possibly caused by closing transport)" + raise client_error(req.connection_key, OSError(msg)) + tls_proto.connection_made( + tls_transport + ) # Kick the state machine of the new TLS protocol + + return tls_transport, tls_proto + + async def _create_direct_connection( + self, + req: ClientRequest, + traces: List["Trace"], + timeout: "ClientTimeout", + *, + client_error: Type[Exception] = ClientConnectorError, + ) -> Tuple[asyncio.Transport, ResponseHandler]: + sslcontext = self._get_ssl_context(req) + fingerprint = self._get_fingerprint(req) + + host = req.url.raw_host + assert host is not None + # Replace multiple trailing dots with a single one. + # A trailing dot is only present for fully-qualified domain names. + # See https://github.com/aio-libs/aiohttp/pull/7364. + if host.endswith(".."): + host = host.rstrip(".") + "." + port = req.port + assert port is not None + host_resolved = asyncio.ensure_future( + self._resolve_host(host, port, traces=traces), loop=self._loop + ) + try: + # Cancelling this lookup should not cancel the underlying lookup + # or else the cancel event will get broadcast to all the waiters + # across all connections. + hosts = await asyncio.shield(host_resolved) + except asyncio.CancelledError: + + def drop_exception(fut: "asyncio.Future[List[Dict[str, Any]]]") -> None: + with suppress(Exception, asyncio.CancelledError): + fut.result() + + host_resolved.add_done_callback(drop_exception) + raise + except OSError as exc: + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): + raise + # in case of proxy it is not ClientProxyConnectionError + # it is problem of resolving proxy ip itself + raise ClientConnectorError(req.connection_key, exc) from exc + + last_exc: Optional[Exception] = None + + for hinfo in hosts: + host = hinfo["host"] + port = hinfo["port"] + + # Strip trailing dots, certificates contain FQDN without dots. + # See https://github.com/aio-libs/aiohttp/issues/3636 + server_hostname = ( + (req.server_hostname or hinfo["hostname"]).rstrip(".") + if sslcontext + else None + ) + + try: + transp, proto = await self._wrap_create_connection( + self._factory, + host, + port, + timeout=timeout, + ssl=sslcontext, + family=hinfo["family"], + proto=hinfo["proto"], + flags=hinfo["flags"], + server_hostname=server_hostname, + local_addr=self._local_addr, + req=req, + client_error=client_error, + ) + except ClientConnectorError as exc: + last_exc = exc + continue + + if req.is_ssl() and fingerprint: + try: + fingerprint.check(transp) + except ServerFingerprintMismatch as exc: + transp.close() + if not self._cleanup_closed_disabled: + self._cleanup_closed_transports.append(transp) + last_exc = exc + continue + + return transp, proto + else: + assert last_exc is not None + raise last_exc + + async def _create_proxy_connection( + self, req: ClientRequest, traces: List["Trace"], timeout: "ClientTimeout" + ) -> Tuple[asyncio.BaseTransport, ResponseHandler]: + self._fail_on_no_start_tls(req) + runtime_has_start_tls = self._loop_supports_start_tls() + + headers: Dict[str, str] = {} + if req.proxy_headers is not None: + headers = req.proxy_headers # type: ignore[assignment] + headers[hdrs.HOST] = req.headers[hdrs.HOST] + + url = req.proxy + assert url is not None + proxy_req = ClientRequest( + hdrs.METH_GET, + url, + headers=headers, + auth=req.proxy_auth, + loop=self._loop, + ssl=req.ssl, + ) + + # create connection to proxy server + transport, proto = await self._create_direct_connection( + proxy_req, [], timeout, client_error=ClientProxyConnectionError + ) + + # Many HTTP proxies has buggy keepalive support. Let's not + # reuse connection but close it after processing every + # response. + proto.force_close() + + auth = proxy_req.headers.pop(hdrs.AUTHORIZATION, None) + if auth is not None: + if not req.is_ssl(): + req.headers[hdrs.PROXY_AUTHORIZATION] = auth + else: + proxy_req.headers[hdrs.PROXY_AUTHORIZATION] = auth + + if req.is_ssl(): + if runtime_has_start_tls: + self._warn_about_tls_in_tls(transport, req) + + # For HTTPS requests over HTTP proxy + # we must notify proxy to tunnel connection + # so we send CONNECT command: + # CONNECT www.python.org:443 HTTP/1.1 + # Host: www.python.org + # + # next we must do TLS handshake and so on + # to do this we must wrap raw socket into secure one + # asyncio handles this perfectly + proxy_req.method = hdrs.METH_CONNECT + proxy_req.url = req.url + key = attr.evolve( + req.connection_key, proxy=None, proxy_auth=None, proxy_headers_hash=None + ) + conn = Connection(self, key, proto, self._loop) + proxy_resp = await proxy_req.send(conn) + try: + protocol = conn._protocol + assert protocol is not None + + # read_until_eof=True will ensure the connection isn't closed + # once the response is received and processed allowing + # START_TLS to work on the connection below. + protocol.set_response_params( + read_until_eof=runtime_has_start_tls, + timeout_ceil_threshold=self._timeout_ceil_threshold, + ) + resp = await proxy_resp.start(conn) + except BaseException: + proxy_resp.close() + conn.close() + raise + else: + conn._protocol = None + conn._transport = None + try: + if resp.status != 200: + message = resp.reason + if message is None: + message = HTTPStatus(resp.status).phrase + raise ClientHttpProxyError( + proxy_resp.request_info, + resp.history, + status=resp.status, + message=message, + headers=resp.headers, + ) + if not runtime_has_start_tls: + rawsock = transport.get_extra_info("socket", default=None) + if rawsock is None: + raise RuntimeError( + "Transport does not expose socket instance" + ) + # Duplicate the socket, so now we can close proxy transport + rawsock = rawsock.dup() + except BaseException: + # It shouldn't be closed in `finally` because it's fed to + # `loop.start_tls()` and the docs say not to touch it after + # passing there. + transport.close() + raise + finally: + if not runtime_has_start_tls: + transport.close() + + if not runtime_has_start_tls: + # HTTP proxy with support for upgrade to HTTPS + sslcontext = self._get_ssl_context(req) + return await self._wrap_create_connection( + self._factory, + timeout=timeout, + ssl=sslcontext, + sock=rawsock, + server_hostname=req.host, + req=req, + ) + + return await self._start_tls_connection( + # Access the old transport for the last time before it's + # closed and forgotten forever: + transport, + req=req, + timeout=timeout, + ) + finally: + proxy_resp.close() + + return transport, proto + + +class UnixConnector(BaseConnector): + """Unix socket connector. + + path - Unix socket path. + keepalive_timeout - (optional) Keep-alive timeout. + force_close - Set to True to force close and do reconnect + after each request (and between redirects). + limit - The total number of simultaneous connections. + limit_per_host - Number of simultaneous connections to one host. + loop - Optional event loop. + """ + + def __init__( + self, + path: str, + force_close: bool = False, + keepalive_timeout: Union[object, float, None] = sentinel, + limit: int = 100, + limit_per_host: int = 0, + loop: Optional[asyncio.AbstractEventLoop] = None, + ) -> None: + super().__init__( + force_close=force_close, + keepalive_timeout=keepalive_timeout, + limit=limit, + limit_per_host=limit_per_host, + loop=loop, + ) + self._path = path + + @property + def path(self) -> str: + """Path to unix socket.""" + return self._path + + async def _create_connection( + self, req: ClientRequest, traces: List["Trace"], timeout: "ClientTimeout" + ) -> ResponseHandler: + try: + async with ceil_timeout( + timeout.sock_connect, ceil_threshold=timeout.ceil_threshold + ): + _, proto = await self._loop.create_unix_connection( + self._factory, self._path + ) + except OSError as exc: + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): + raise + raise UnixClientConnectorError(self.path, req.connection_key, exc) from exc + + return proto + + +class NamedPipeConnector(BaseConnector): + """Named pipe connector. + + Only supported by the proactor event loop. + See also: https://docs.python.org/3/library/asyncio-eventloop.html + + path - Windows named pipe path. + keepalive_timeout - (optional) Keep-alive timeout. + force_close - Set to True to force close and do reconnect + after each request (and between redirects). + limit - The total number of simultaneous connections. + limit_per_host - Number of simultaneous connections to one host. + loop - Optional event loop. + """ + + def __init__( + self, + path: str, + force_close: bool = False, + keepalive_timeout: Union[object, float, None] = sentinel, + limit: int = 100, + limit_per_host: int = 0, + loop: Optional[asyncio.AbstractEventLoop] = None, + ) -> None: + super().__init__( + force_close=force_close, + keepalive_timeout=keepalive_timeout, + limit=limit, + limit_per_host=limit_per_host, + loop=loop, + ) + if not isinstance( + self._loop, asyncio.ProactorEventLoop # type: ignore[attr-defined] + ): + raise RuntimeError( + "Named Pipes only available in proactor " "loop under windows" + ) + self._path = path + + @property + def path(self) -> str: + """Path to the named pipe.""" + return self._path + + async def _create_connection( + self, req: ClientRequest, traces: List["Trace"], timeout: "ClientTimeout" + ) -> ResponseHandler: + try: + async with ceil_timeout( + timeout.sock_connect, ceil_threshold=timeout.ceil_threshold + ): + _, proto = await self._loop.create_pipe_connection( # type: ignore[attr-defined] + self._factory, self._path + ) + # the drain is required so that the connection_made is called + # and transport is set otherwise it is not set before the + # `assert conn.transport is not None` + # in client.py's _request method + await asyncio.sleep(0) + # other option is to manually set transport like + # `proto.transport = trans` + except OSError as exc: + if exc.errno is None and isinstance(exc, asyncio.TimeoutError): + raise + raise ClientConnectorError(req.connection_key, exc) from exc + + return cast(ResponseHandler, proto) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/cookiejar.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/cookiejar.py new file mode 100644 index 0000000000000000000000000000000000000000..a348f112cb55d7643ce656103c5c9dcb472ed46d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/cookiejar.py @@ -0,0 +1,419 @@ +import asyncio +import calendar +import contextlib +import datetime +import os # noqa +import pathlib +import pickle +import re +import time +from collections import defaultdict +from http.cookies import BaseCookie, Morsel, SimpleCookie +from math import ceil +from typing import ( # noqa + DefaultDict, + Dict, + Iterable, + Iterator, + List, + Mapping, + Optional, + Set, + Tuple, + Union, + cast, +) + +from yarl import URL + +from .abc import AbstractCookieJar, ClearCookiePredicate +from .helpers import is_ip_address +from .typedefs import LooseCookies, PathLike, StrOrURL + +__all__ = ("CookieJar", "DummyCookieJar") + + +CookieItem = Union[str, "Morsel[str]"] + + +class CookieJar(AbstractCookieJar): + """Implements cookie storage adhering to RFC 6265.""" + + DATE_TOKENS_RE = re.compile( + r"[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]*" + r"(?P[\x00-\x08\x0A-\x1F\d:a-zA-Z\x7F-\xFF]+)" + ) + + DATE_HMS_TIME_RE = re.compile(r"(\d{1,2}):(\d{1,2}):(\d{1,2})") + + DATE_DAY_OF_MONTH_RE = re.compile(r"(\d{1,2})") + + DATE_MONTH_RE = re.compile( + "(jan)|(feb)|(mar)|(apr)|(may)|(jun)|(jul)|" "(aug)|(sep)|(oct)|(nov)|(dec)", + re.I, + ) + + DATE_YEAR_RE = re.compile(r"(\d{2,4})") + + # calendar.timegm() fails for timestamps after datetime.datetime.max + # Minus one as a loss of precision occurs when timestamp() is called. + MAX_TIME = ( + int(datetime.datetime.max.replace(tzinfo=datetime.timezone.utc).timestamp()) - 1 + ) + try: + calendar.timegm(time.gmtime(MAX_TIME)) + except (OSError, ValueError): + # Hit the maximum representable time on Windows + # https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/localtime-localtime32-localtime64 + # Throws ValueError on PyPy 3.8 and 3.9, OSError elsewhere + MAX_TIME = calendar.timegm((3000, 12, 31, 23, 59, 59, -1, -1, -1)) + except OverflowError: + # #4515: datetime.max may not be representable on 32-bit platforms + MAX_TIME = 2**31 - 1 + # Avoid minuses in the future, 3x faster + SUB_MAX_TIME = MAX_TIME - 1 + + def __init__( + self, + *, + unsafe: bool = False, + quote_cookie: bool = True, + treat_as_secure_origin: Union[StrOrURL, List[StrOrURL], None] = None, + loop: Optional[asyncio.AbstractEventLoop] = None, + ) -> None: + super().__init__(loop=loop) + self._cookies: DefaultDict[Tuple[str, str], SimpleCookie] = defaultdict( + SimpleCookie + ) + self._host_only_cookies: Set[Tuple[str, str]] = set() + self._unsafe = unsafe + self._quote_cookie = quote_cookie + if treat_as_secure_origin is None: + treat_as_secure_origin = [] + elif isinstance(treat_as_secure_origin, URL): + treat_as_secure_origin = [treat_as_secure_origin.origin()] + elif isinstance(treat_as_secure_origin, str): + treat_as_secure_origin = [URL(treat_as_secure_origin).origin()] + else: + treat_as_secure_origin = [ + URL(url).origin() if isinstance(url, str) else url.origin() + for url in treat_as_secure_origin + ] + self._treat_as_secure_origin = treat_as_secure_origin + self._next_expiration: float = ceil(time.time()) + self._expirations: Dict[Tuple[str, str, str], float] = {} + + def save(self, file_path: PathLike) -> None: + file_path = pathlib.Path(file_path) + with file_path.open(mode="wb") as f: + pickle.dump(self._cookies, f, pickle.HIGHEST_PROTOCOL) + + def load(self, file_path: PathLike) -> None: + file_path = pathlib.Path(file_path) + with file_path.open(mode="rb") as f: + self._cookies = pickle.load(f) + + def clear(self, predicate: Optional[ClearCookiePredicate] = None) -> None: + if predicate is None: + self._next_expiration = ceil(time.time()) + self._cookies.clear() + self._host_only_cookies.clear() + self._expirations.clear() + return + + to_del = [] + now = time.time() + for (domain, path), cookie in self._cookies.items(): + for name, morsel in cookie.items(): + key = (domain, path, name) + if ( + key in self._expirations and self._expirations[key] <= now + ) or predicate(morsel): + to_del.append(key) + + for domain, path, name in to_del: + self._host_only_cookies.discard((domain, name)) + key = (domain, path, name) + if key in self._expirations: + del self._expirations[(domain, path, name)] + self._cookies[(domain, path)].pop(name, None) + + self._next_expiration = ( + min(*self._expirations.values(), self.SUB_MAX_TIME) + 1 + if self._expirations + else self.MAX_TIME + ) + + def clear_domain(self, domain: str) -> None: + self.clear(lambda x: self._is_domain_match(domain, x["domain"])) + + def __iter__(self) -> "Iterator[Morsel[str]]": + self._do_expiration() + for val in self._cookies.values(): + yield from val.values() + + def __len__(self) -> int: + return sum(1 for i in self) + + def _do_expiration(self) -> None: + self.clear(lambda x: False) + + def _expire_cookie(self, when: float, domain: str, path: str, name: str) -> None: + self._next_expiration = min(self._next_expiration, when) + self._expirations[(domain, path, name)] = when + + def update_cookies(self, cookies: LooseCookies, response_url: URL = URL()) -> None: + """Update cookies.""" + hostname = response_url.raw_host + + if not self._unsafe and is_ip_address(hostname): + # Don't accept cookies from IPs + return + + if isinstance(cookies, Mapping): + cookies = cookies.items() + + for name, cookie in cookies: + if not isinstance(cookie, Morsel): + tmp = SimpleCookie() + tmp[name] = cookie # type: ignore[assignment] + cookie = tmp[name] + + domain = cookie["domain"] + + # ignore domains with trailing dots + if domain.endswith("."): + domain = "" + del cookie["domain"] + + if not domain and hostname is not None: + # Set the cookie's domain to the response hostname + # and set its host-only-flag + self._host_only_cookies.add((hostname, name)) + domain = cookie["domain"] = hostname + + if domain.startswith("."): + # Remove leading dot + domain = domain[1:] + cookie["domain"] = domain + + if hostname and not self._is_domain_match(domain, hostname): + # Setting cookies for different domains is not allowed + continue + + path = cookie["path"] + if not path or not path.startswith("/"): + # Set the cookie's path to the response path + path = response_url.path + if not path.startswith("/"): + path = "/" + else: + # Cut everything from the last slash to the end + path = "/" + path[1 : path.rfind("/")] + cookie["path"] = path + + max_age = cookie["max-age"] + if max_age: + try: + delta_seconds = int(max_age) + max_age_expiration = min(time.time() + delta_seconds, self.MAX_TIME) + self._expire_cookie(max_age_expiration, domain, path, name) + except ValueError: + cookie["max-age"] = "" + + else: + expires = cookie["expires"] + if expires: + expire_time = self._parse_date(expires) + if expire_time: + self._expire_cookie(expire_time, domain, path, name) + else: + cookie["expires"] = "" + + self._cookies[(domain, path)][name] = cookie + + self._do_expiration() + + def filter_cookies(self, request_url: URL = URL()) -> "BaseCookie[str]": + """Returns this jar's cookies filtered by their attributes.""" + filtered: Union[SimpleCookie, "BaseCookie[str]"] = ( + SimpleCookie() if self._quote_cookie else BaseCookie() + ) + if not self._cookies: + # Skip do_expiration() if there are no cookies. + return filtered + self._do_expiration() + if not self._cookies: + # Skip rest of function if no non-expired cookies. + return filtered + request_url = URL(request_url) + hostname = request_url.raw_host or "" + + is_not_secure = request_url.scheme not in ("https", "wss") + if is_not_secure and self._treat_as_secure_origin: + request_origin = URL() + with contextlib.suppress(ValueError): + request_origin = request_url.origin() + is_not_secure = request_origin not in self._treat_as_secure_origin + + # Point 2: https://www.rfc-editor.org/rfc/rfc6265.html#section-5.4 + for cookie in sorted(self, key=lambda c: len(c["path"])): + name = cookie.key + domain = cookie["domain"] + + # Send shared cookies + if not domain: + filtered[name] = cookie.value + continue + + if not self._unsafe and is_ip_address(hostname): + continue + + if (domain, name) in self._host_only_cookies: + if domain != hostname: + continue + elif not self._is_domain_match(domain, hostname): + continue + + if not self._is_path_match(request_url.path, cookie["path"]): + continue + + if is_not_secure and cookie["secure"]: + continue + + # It's critical we use the Morsel so the coded_value + # (based on cookie version) is preserved + mrsl_val = cast("Morsel[str]", cookie.get(cookie.key, Morsel())) + mrsl_val.set(cookie.key, cookie.value, cookie.coded_value) + filtered[name] = mrsl_val + + return filtered + + @staticmethod + def _is_domain_match(domain: str, hostname: str) -> bool: + """Implements domain matching adhering to RFC 6265.""" + if hostname == domain: + return True + + if not hostname.endswith(domain): + return False + + non_matching = hostname[: -len(domain)] + + if not non_matching.endswith("."): + return False + + return not is_ip_address(hostname) + + @staticmethod + def _is_path_match(req_path: str, cookie_path: str) -> bool: + """Implements path matching adhering to RFC 6265.""" + if not req_path.startswith("/"): + req_path = "/" + + if req_path == cookie_path: + return True + + if not req_path.startswith(cookie_path): + return False + + if cookie_path.endswith("/"): + return True + + non_matching = req_path[len(cookie_path) :] + + return non_matching.startswith("/") + + @classmethod + def _parse_date(cls, date_str: str) -> Optional[int]: + """Implements date string parsing adhering to RFC 6265.""" + if not date_str: + return None + + found_time = False + found_day = False + found_month = False + found_year = False + + hour = minute = second = 0 + day = 0 + month = 0 + year = 0 + + for token_match in cls.DATE_TOKENS_RE.finditer(date_str): + + token = token_match.group("token") + + if not found_time: + time_match = cls.DATE_HMS_TIME_RE.match(token) + if time_match: + found_time = True + hour, minute, second = (int(s) for s in time_match.groups()) + continue + + if not found_day: + day_match = cls.DATE_DAY_OF_MONTH_RE.match(token) + if day_match: + found_day = True + day = int(day_match.group()) + continue + + if not found_month: + month_match = cls.DATE_MONTH_RE.match(token) + if month_match: + found_month = True + assert month_match.lastindex is not None + month = month_match.lastindex + continue + + if not found_year: + year_match = cls.DATE_YEAR_RE.match(token) + if year_match: + found_year = True + year = int(year_match.group()) + + if 70 <= year <= 99: + year += 1900 + elif 0 <= year <= 69: + year += 2000 + + if False in (found_day, found_month, found_year, found_time): + return None + + if not 1 <= day <= 31: + return None + + if year < 1601 or hour > 23 or minute > 59 or second > 59: + return None + + return calendar.timegm((year, month, day, hour, minute, second, -1, -1, -1)) + + +class DummyCookieJar(AbstractCookieJar): + """Implements a dummy cookie storage. + + It can be used with the ClientSession when no cookie processing is needed. + + """ + + def __init__(self, *, loop: Optional[asyncio.AbstractEventLoop] = None) -> None: + super().__init__(loop=loop) + + def __iter__(self) -> "Iterator[Morsel[str]]": + while False: + yield None + + def __len__(self) -> int: + return 0 + + def clear(self, predicate: Optional[ClearCookiePredicate] = None) -> None: + pass + + def clear_domain(self, domain: str) -> None: + pass + + def update_cookies(self, cookies: LooseCookies, response_url: URL = URL()) -> None: + pass + + def filter_cookies(self, request_url: URL) -> "BaseCookie[str]": + return SimpleCookie() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/formdata.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/formdata.py new file mode 100644 index 0000000000000000000000000000000000000000..e7cd24ca9f7afb2bd31f1c653d9e15acb4fedc8b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/formdata.py @@ -0,0 +1,172 @@ +import io +from typing import Any, Iterable, List, Optional +from urllib.parse import urlencode + +from multidict import MultiDict, MultiDictProxy + +from . import hdrs, multipart, payload +from .helpers import guess_filename +from .payload import Payload + +__all__ = ("FormData",) + + +class FormData: + """Helper class for form body generation. + + Supports multipart/form-data and application/x-www-form-urlencoded. + """ + + def __init__( + self, + fields: Iterable[Any] = (), + quote_fields: bool = True, + charset: Optional[str] = None, + ) -> None: + self._writer = multipart.MultipartWriter("form-data") + self._fields: List[Any] = [] + self._is_multipart = False + self._is_processed = False + self._quote_fields = quote_fields + self._charset = charset + + if isinstance(fields, dict): + fields = list(fields.items()) + elif not isinstance(fields, (list, tuple)): + fields = (fields,) + self.add_fields(*fields) + + @property + def is_multipart(self) -> bool: + return self._is_multipart + + def add_field( + self, + name: str, + value: Any, + *, + content_type: Optional[str] = None, + filename: Optional[str] = None, + content_transfer_encoding: Optional[str] = None, + ) -> None: + + if isinstance(value, io.IOBase): + self._is_multipart = True + elif isinstance(value, (bytes, bytearray, memoryview)): + if filename is None and content_transfer_encoding is None: + filename = name + + type_options: MultiDict[str] = MultiDict({"name": name}) + if filename is not None and not isinstance(filename, str): + raise TypeError( + "filename must be an instance of str. " "Got: %s" % filename + ) + if filename is None and isinstance(value, io.IOBase): + filename = guess_filename(value, name) + if filename is not None: + type_options["filename"] = filename + self._is_multipart = True + + headers = {} + if content_type is not None: + if not isinstance(content_type, str): + raise TypeError( + "content_type must be an instance of str. " "Got: %s" % content_type + ) + headers[hdrs.CONTENT_TYPE] = content_type + self._is_multipart = True + if content_transfer_encoding is not None: + if not isinstance(content_transfer_encoding, str): + raise TypeError( + "content_transfer_encoding must be an instance" + " of str. Got: %s" % content_transfer_encoding + ) + headers[hdrs.CONTENT_TRANSFER_ENCODING] = content_transfer_encoding + self._is_multipart = True + + self._fields.append((type_options, headers, value)) + + def add_fields(self, *fields: Any) -> None: + to_add = list(fields) + + while to_add: + rec = to_add.pop(0) + + if isinstance(rec, io.IOBase): + k = guess_filename(rec, "unknown") + self.add_field(k, rec) # type: ignore[arg-type] + + elif isinstance(rec, (MultiDictProxy, MultiDict)): + to_add.extend(rec.items()) + + elif isinstance(rec, (list, tuple)) and len(rec) == 2: + k, fp = rec + self.add_field(k, fp) # type: ignore[arg-type] + + else: + raise TypeError( + "Only io.IOBase, multidict and (name, file) " + "pairs allowed, use .add_field() for passing " + "more complex parameters, got {!r}".format(rec) + ) + + def _gen_form_urlencoded(self) -> payload.BytesPayload: + # form data (x-www-form-urlencoded) + data = [] + for type_options, _, value in self._fields: + data.append((type_options["name"], value)) + + charset = self._charset if self._charset is not None else "utf-8" + + if charset == "utf-8": + content_type = "application/x-www-form-urlencoded" + else: + content_type = "application/x-www-form-urlencoded; " "charset=%s" % charset + + return payload.BytesPayload( + urlencode(data, doseq=True, encoding=charset).encode(), + content_type=content_type, + ) + + def _gen_form_data(self) -> multipart.MultipartWriter: + """Encode a list of fields using the multipart/form-data MIME format""" + if self._is_processed: + raise RuntimeError("Form data has been processed already") + for dispparams, headers, value in self._fields: + try: + if hdrs.CONTENT_TYPE in headers: + part = payload.get_payload( + value, + content_type=headers[hdrs.CONTENT_TYPE], + headers=headers, + encoding=self._charset, + ) + else: + part = payload.get_payload( + value, headers=headers, encoding=self._charset + ) + except Exception as exc: + raise TypeError( + "Can not serialize value type: %r\n " + "headers: %r\n value: %r" % (type(value), headers, value) + ) from exc + + if dispparams: + part.set_content_disposition( + "form-data", quote_fields=self._quote_fields, **dispparams + ) + # FIXME cgi.FieldStorage doesn't likes body parts with + # Content-Length which were sent via chunked transfer encoding + assert part.headers is not None + part.headers.popall(hdrs.CONTENT_LENGTH, None) + + self._writer.append_payload(part) + + self._is_processed = True + return self._writer + + def __call__(self) -> Payload: + if self._is_multipart: + return self._gen_form_data() + else: + return self._gen_form_urlencoded() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/hdrs.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/hdrs.py new file mode 100644 index 0000000000000000000000000000000000000000..2f1f5e02b77d1e1af4b8660c366a5740cc0fd440 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/hdrs.py @@ -0,0 +1,108 @@ +"""HTTP Headers constants.""" + +# After changing the file content call ./tools/gen.py +# to regenerate the headers parser +from typing import Final, Set + +from multidict import istr + +METH_ANY: Final[str] = "*" +METH_CONNECT: Final[str] = "CONNECT" +METH_HEAD: Final[str] = "HEAD" +METH_GET: Final[str] = "GET" +METH_DELETE: Final[str] = "DELETE" +METH_OPTIONS: Final[str] = "OPTIONS" +METH_PATCH: Final[str] = "PATCH" +METH_POST: Final[str] = "POST" +METH_PUT: Final[str] = "PUT" +METH_TRACE: Final[str] = "TRACE" + +METH_ALL: Final[Set[str]] = { + METH_CONNECT, + METH_HEAD, + METH_GET, + METH_DELETE, + METH_OPTIONS, + METH_PATCH, + METH_POST, + METH_PUT, + METH_TRACE, +} + +ACCEPT: Final[istr] = istr("Accept") +ACCEPT_CHARSET: Final[istr] = istr("Accept-Charset") +ACCEPT_ENCODING: Final[istr] = istr("Accept-Encoding") +ACCEPT_LANGUAGE: Final[istr] = istr("Accept-Language") +ACCEPT_RANGES: Final[istr] = istr("Accept-Ranges") +ACCESS_CONTROL_MAX_AGE: Final[istr] = istr("Access-Control-Max-Age") +ACCESS_CONTROL_ALLOW_CREDENTIALS: Final[istr] = istr("Access-Control-Allow-Credentials") +ACCESS_CONTROL_ALLOW_HEADERS: Final[istr] = istr("Access-Control-Allow-Headers") +ACCESS_CONTROL_ALLOW_METHODS: Final[istr] = istr("Access-Control-Allow-Methods") +ACCESS_CONTROL_ALLOW_ORIGIN: Final[istr] = istr("Access-Control-Allow-Origin") +ACCESS_CONTROL_EXPOSE_HEADERS: Final[istr] = istr("Access-Control-Expose-Headers") +ACCESS_CONTROL_REQUEST_HEADERS: Final[istr] = istr("Access-Control-Request-Headers") +ACCESS_CONTROL_REQUEST_METHOD: Final[istr] = istr("Access-Control-Request-Method") +AGE: Final[istr] = istr("Age") +ALLOW: Final[istr] = istr("Allow") +AUTHORIZATION: Final[istr] = istr("Authorization") +CACHE_CONTROL: Final[istr] = istr("Cache-Control") +CONNECTION: Final[istr] = istr("Connection") +CONTENT_DISPOSITION: Final[istr] = istr("Content-Disposition") +CONTENT_ENCODING: Final[istr] = istr("Content-Encoding") +CONTENT_LANGUAGE: Final[istr] = istr("Content-Language") +CONTENT_LENGTH: Final[istr] = istr("Content-Length") +CONTENT_LOCATION: Final[istr] = istr("Content-Location") +CONTENT_MD5: Final[istr] = istr("Content-MD5") +CONTENT_RANGE: Final[istr] = istr("Content-Range") +CONTENT_TRANSFER_ENCODING: Final[istr] = istr("Content-Transfer-Encoding") +CONTENT_TYPE: Final[istr] = istr("Content-Type") +COOKIE: Final[istr] = istr("Cookie") +DATE: Final[istr] = istr("Date") +DESTINATION: Final[istr] = istr("Destination") +DIGEST: Final[istr] = istr("Digest") +ETAG: Final[istr] = istr("Etag") +EXPECT: Final[istr] = istr("Expect") +EXPIRES: Final[istr] = istr("Expires") +FORWARDED: Final[istr] = istr("Forwarded") +FROM: Final[istr] = istr("From") +HOST: Final[istr] = istr("Host") +IF_MATCH: Final[istr] = istr("If-Match") +IF_MODIFIED_SINCE: Final[istr] = istr("If-Modified-Since") +IF_NONE_MATCH: Final[istr] = istr("If-None-Match") +IF_RANGE: Final[istr] = istr("If-Range") +IF_UNMODIFIED_SINCE: Final[istr] = istr("If-Unmodified-Since") +KEEP_ALIVE: Final[istr] = istr("Keep-Alive") +LAST_EVENT_ID: Final[istr] = istr("Last-Event-ID") +LAST_MODIFIED: Final[istr] = istr("Last-Modified") +LINK: Final[istr] = istr("Link") +LOCATION: Final[istr] = istr("Location") +MAX_FORWARDS: Final[istr] = istr("Max-Forwards") +ORIGIN: Final[istr] = istr("Origin") +PRAGMA: Final[istr] = istr("Pragma") +PROXY_AUTHENTICATE: Final[istr] = istr("Proxy-Authenticate") +PROXY_AUTHORIZATION: Final[istr] = istr("Proxy-Authorization") +RANGE: Final[istr] = istr("Range") +REFERER: Final[istr] = istr("Referer") +RETRY_AFTER: Final[istr] = istr("Retry-After") +SEC_WEBSOCKET_ACCEPT: Final[istr] = istr("Sec-WebSocket-Accept") +SEC_WEBSOCKET_VERSION: Final[istr] = istr("Sec-WebSocket-Version") +SEC_WEBSOCKET_PROTOCOL: Final[istr] = istr("Sec-WebSocket-Protocol") +SEC_WEBSOCKET_EXTENSIONS: Final[istr] = istr("Sec-WebSocket-Extensions") +SEC_WEBSOCKET_KEY: Final[istr] = istr("Sec-WebSocket-Key") +SEC_WEBSOCKET_KEY1: Final[istr] = istr("Sec-WebSocket-Key1") +SERVER: Final[istr] = istr("Server") +SET_COOKIE: Final[istr] = istr("Set-Cookie") +TE: Final[istr] = istr("TE") +TRAILER: Final[istr] = istr("Trailer") +TRANSFER_ENCODING: Final[istr] = istr("Transfer-Encoding") +UPGRADE: Final[istr] = istr("Upgrade") +URI: Final[istr] = istr("URI") +USER_AGENT: Final[istr] = istr("User-Agent") +VARY: Final[istr] = istr("Vary") +VIA: Final[istr] = istr("Via") +WANT_DIGEST: Final[istr] = istr("Want-Digest") +WARNING: Final[istr] = istr("Warning") +WWW_AUTHENTICATE: Final[istr] = istr("WWW-Authenticate") +X_FORWARDED_FOR: Final[istr] = istr("X-Forwarded-For") +X_FORWARDED_HOST: Final[istr] = istr("X-Forwarded-Host") +X_FORWARDED_PROTO: Final[istr] = istr("X-Forwarded-Proto") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/helpers.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/helpers.py new file mode 100644 index 0000000000000000000000000000000000000000..a5c762ed7957cb32056e6992aab509c4922eb3ec --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/helpers.py @@ -0,0 +1,999 @@ +"""Various helper functions""" + +import asyncio +import base64 +import binascii +import contextlib +import datetime +import enum +import functools +import inspect +import netrc +import os +import platform +import re +import sys +import time +import warnings +import weakref +from collections import namedtuple +from contextlib import suppress +from email.parser import HeaderParser +from email.utils import parsedate +from math import ceil +from pathlib import Path +from types import TracebackType +from typing import ( + Any, + Callable, + ContextManager, + Dict, + Generator, + Generic, + Iterable, + Iterator, + List, + Mapping, + Optional, + Pattern, + Protocol, + Tuple, + Type, + TypeVar, + Union, + get_args, + overload, +) +from urllib.parse import quote +from urllib.request import getproxies, proxy_bypass + +import attr +from multidict import MultiDict, MultiDictProxy, MultiMapping +from yarl import URL + +from . import hdrs +from .log import client_logger, internal_logger + +if sys.version_info >= (3, 11): + import asyncio as async_timeout +else: + import async_timeout + +__all__ = ("BasicAuth", "ChainMapProxy", "ETag") + +IS_MACOS = platform.system() == "Darwin" +IS_WINDOWS = platform.system() == "Windows" + +PY_310 = sys.version_info >= (3, 10) +PY_311 = sys.version_info >= (3, 11) + + +_T = TypeVar("_T") +_S = TypeVar("_S") + +_SENTINEL = enum.Enum("_SENTINEL", "sentinel") +sentinel = _SENTINEL.sentinel + +NO_EXTENSIONS = bool(os.environ.get("AIOHTTP_NO_EXTENSIONS")) + +DEBUG = sys.flags.dev_mode or ( + not sys.flags.ignore_environment and bool(os.environ.get("PYTHONASYNCIODEBUG")) +) + + +CHAR = {chr(i) for i in range(0, 128)} +CTL = {chr(i) for i in range(0, 32)} | { + chr(127), +} +SEPARATORS = { + "(", + ")", + "<", + ">", + "@", + ",", + ";", + ":", + "\\", + '"', + "/", + "[", + "]", + "?", + "=", + "{", + "}", + " ", + chr(9), +} +TOKEN = CHAR ^ CTL ^ SEPARATORS + + +class noop: + def __await__(self) -> Generator[None, None, None]: + yield + + +class BasicAuth(namedtuple("BasicAuth", ["login", "password", "encoding"])): + """Http basic authentication helper.""" + + def __new__( + cls, login: str, password: str = "", encoding: str = "latin1" + ) -> "BasicAuth": + if login is None: + raise ValueError("None is not allowed as login value") + + if password is None: + raise ValueError("None is not allowed as password value") + + if ":" in login: + raise ValueError('A ":" is not allowed in login (RFC 1945#section-11.1)') + + return super().__new__(cls, login, password, encoding) + + @classmethod + def decode(cls, auth_header: str, encoding: str = "latin1") -> "BasicAuth": + """Create a BasicAuth object from an Authorization HTTP header.""" + try: + auth_type, encoded_credentials = auth_header.split(" ", 1) + except ValueError: + raise ValueError("Could not parse authorization header.") + + if auth_type.lower() != "basic": + raise ValueError("Unknown authorization method %s" % auth_type) + + try: + decoded = base64.b64decode( + encoded_credentials.encode("ascii"), validate=True + ).decode(encoding) + except binascii.Error: + raise ValueError("Invalid base64 encoding.") + + try: + # RFC 2617 HTTP Authentication + # https://www.ietf.org/rfc/rfc2617.txt + # the colon must be present, but the username and password may be + # otherwise blank. + username, password = decoded.split(":", 1) + except ValueError: + raise ValueError("Invalid credentials.") + + return cls(username, password, encoding=encoding) + + @classmethod + def from_url(cls, url: URL, *, encoding: str = "latin1") -> Optional["BasicAuth"]: + """Create BasicAuth from url.""" + if not isinstance(url, URL): + raise TypeError("url should be yarl.URL instance") + if url.user is None: + return None + return cls(url.user, url.password or "", encoding=encoding) + + def encode(self) -> str: + """Encode credentials.""" + creds = (f"{self.login}:{self.password}").encode(self.encoding) + return "Basic %s" % base64.b64encode(creds).decode(self.encoding) + + +def strip_auth_from_url(url: URL) -> Tuple[URL, Optional[BasicAuth]]: + auth = BasicAuth.from_url(url) + if auth is None: + return url, None + else: + return url.with_user(None), auth + + +def netrc_from_env() -> Optional[netrc.netrc]: + """Load netrc from file. + + Attempt to load it from the path specified by the env-var + NETRC or in the default location in the user's home directory. + + Returns None if it couldn't be found or fails to parse. + """ + netrc_env = os.environ.get("NETRC") + + if netrc_env is not None: + netrc_path = Path(netrc_env) + else: + try: + home_dir = Path.home() + except RuntimeError as e: # pragma: no cover + # if pathlib can't resolve home, it may raise a RuntimeError + client_logger.debug( + "Could not resolve home directory when " + "trying to look for .netrc file: %s", + e, + ) + return None + + netrc_path = home_dir / ("_netrc" if IS_WINDOWS else ".netrc") + + try: + return netrc.netrc(str(netrc_path)) + except netrc.NetrcParseError as e: + client_logger.warning("Could not parse .netrc file: %s", e) + except OSError as e: + netrc_exists = False + with contextlib.suppress(OSError): + netrc_exists = netrc_path.is_file() + # we couldn't read the file (doesn't exist, permissions, etc.) + if netrc_env or netrc_exists: + # only warn if the environment wanted us to load it, + # or it appears like the default file does actually exist + client_logger.warning("Could not read .netrc file: %s", e) + + return None + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class ProxyInfo: + proxy: URL + proxy_auth: Optional[BasicAuth] + + +def basicauth_from_netrc(netrc_obj: Optional[netrc.netrc], host: str) -> BasicAuth: + """ + Return :py:class:`~aiohttp.BasicAuth` credentials for ``host`` from ``netrc_obj``. + + :raises LookupError: if ``netrc_obj`` is :py:data:`None` or if no + entry is found for the ``host``. + """ + if netrc_obj is None: + raise LookupError("No .netrc file found") + auth_from_netrc = netrc_obj.authenticators(host) + + if auth_from_netrc is None: + raise LookupError(f"No entry for {host!s} found in the `.netrc` file.") + login, account, password = auth_from_netrc + + # TODO(PY311): username = login or account + # Up to python 3.10, account could be None if not specified, + # and login will be empty string if not specified. From 3.11, + # login and account will be empty string if not specified. + username = login if (login or account is None) else account + + # TODO(PY311): Remove this, as password will be empty string + # if not specified + if password is None: + password = "" + + return BasicAuth(username, password) + + +def proxies_from_env() -> Dict[str, ProxyInfo]: + proxy_urls = { + k: URL(v) + for k, v in getproxies().items() + if k in ("http", "https", "ws", "wss") + } + netrc_obj = netrc_from_env() + stripped = {k: strip_auth_from_url(v) for k, v in proxy_urls.items()} + ret = {} + for proto, val in stripped.items(): + proxy, auth = val + if proxy.scheme in ("https", "wss"): + client_logger.warning( + "%s proxies %s are not supported, ignoring", proxy.scheme.upper(), proxy + ) + continue + if netrc_obj and auth is None: + if proxy.host is not None: + try: + auth = basicauth_from_netrc(netrc_obj, proxy.host) + except LookupError: + auth = None + ret[proto] = ProxyInfo(proxy, auth) + return ret + + +def current_task( + loop: Optional[asyncio.AbstractEventLoop] = None, +) -> "Optional[asyncio.Task[Any]]": + return asyncio.current_task(loop=loop) + + +def get_running_loop( + loop: Optional[asyncio.AbstractEventLoop] = None, +) -> asyncio.AbstractEventLoop: + if loop is None: + loop = asyncio.get_event_loop() + if not loop.is_running(): + warnings.warn( + "The object should be created within an async function", + DeprecationWarning, + stacklevel=3, + ) + if loop.get_debug(): + internal_logger.warning( + "The object should be created within an async function", stack_info=True + ) + return loop + + +def isasyncgenfunction(obj: Any) -> bool: + func = getattr(inspect, "isasyncgenfunction", None) + if func is not None: + return func(obj) # type: ignore[no-any-return] + else: + return False + + +def get_env_proxy_for_url(url: URL) -> Tuple[URL, Optional[BasicAuth]]: + """Get a permitted proxy for the given URL from the env.""" + if url.host is not None and proxy_bypass(url.host): + raise LookupError(f"Proxying is disallowed for `{url.host!r}`") + + proxies_in_env = proxies_from_env() + try: + proxy_info = proxies_in_env[url.scheme] + except KeyError: + raise LookupError(f"No proxies found for `{url!s}` in the env") + else: + return proxy_info.proxy, proxy_info.proxy_auth + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class MimeType: + type: str + subtype: str + suffix: str + parameters: "MultiDictProxy[str]" + + +@functools.lru_cache(maxsize=56) +def parse_mimetype(mimetype: str) -> MimeType: + """Parses a MIME type into its components. + + mimetype is a MIME type string. + + Returns a MimeType object. + + Example: + + >>> parse_mimetype('text/html; charset=utf-8') + MimeType(type='text', subtype='html', suffix='', + parameters={'charset': 'utf-8'}) + + """ + if not mimetype: + return MimeType( + type="", subtype="", suffix="", parameters=MultiDictProxy(MultiDict()) + ) + + parts = mimetype.split(";") + params: MultiDict[str] = MultiDict() + for item in parts[1:]: + if not item: + continue + key, _, value = item.partition("=") + params.add(key.lower().strip(), value.strip(' "')) + + fulltype = parts[0].strip().lower() + if fulltype == "*": + fulltype = "*/*" + + mtype, _, stype = fulltype.partition("/") + stype, _, suffix = stype.partition("+") + + return MimeType( + type=mtype, subtype=stype, suffix=suffix, parameters=MultiDictProxy(params) + ) + + +def guess_filename(obj: Any, default: Optional[str] = None) -> Optional[str]: + name = getattr(obj, "name", None) + if name and isinstance(name, str) and name[0] != "<" and name[-1] != ">": + return Path(name).name + return default + + +not_qtext_re = re.compile(r"[^\041\043-\133\135-\176]") +QCONTENT = {chr(i) for i in range(0x20, 0x7F)} | {"\t"} + + +def quoted_string(content: str) -> str: + """Return 7-bit content as quoted-string. + + Format content into a quoted-string as defined in RFC5322 for + Internet Message Format. Notice that this is not the 8-bit HTTP + format, but the 7-bit email format. Content must be in usascii or + a ValueError is raised. + """ + if not (QCONTENT > set(content)): + raise ValueError(f"bad content for quoted-string {content!r}") + return not_qtext_re.sub(lambda x: "\\" + x.group(0), content) + + +def content_disposition_header( + disptype: str, quote_fields: bool = True, _charset: str = "utf-8", **params: str +) -> str: + """Sets ``Content-Disposition`` header for MIME. + + This is the MIME payload Content-Disposition header from RFC 2183 + and RFC 7579 section 4.2, not the HTTP Content-Disposition from + RFC 6266. + + disptype is a disposition type: inline, attachment, form-data. + Should be valid extension token (see RFC 2183) + + quote_fields performs value quoting to 7-bit MIME headers + according to RFC 7578. Set to quote_fields to False if recipient + can take 8-bit file names and field values. + + _charset specifies the charset to use when quote_fields is True. + + params is a dict with disposition params. + """ + if not disptype or not (TOKEN > set(disptype)): + raise ValueError("bad content disposition type {!r}" "".format(disptype)) + + value = disptype + if params: + lparams = [] + for key, val in params.items(): + if not key or not (TOKEN > set(key)): + raise ValueError( + "bad content disposition parameter" " {!r}={!r}".format(key, val) + ) + if quote_fields: + if key.lower() == "filename": + qval = quote(val, "", encoding=_charset) + lparams.append((key, '"%s"' % qval)) + else: + try: + qval = quoted_string(val) + except ValueError: + qval = "".join( + (_charset, "''", quote(val, "", encoding=_charset)) + ) + lparams.append((key + "*", qval)) + else: + lparams.append((key, '"%s"' % qval)) + else: + qval = val.replace("\\", "\\\\").replace('"', '\\"') + lparams.append((key, '"%s"' % qval)) + sparams = "; ".join("=".join(pair) for pair in lparams) + value = "; ".join((value, sparams)) + return value + + +class _TSelf(Protocol, Generic[_T]): + _cache: Dict[str, _T] + + +class reify(Generic[_T]): + """Use as a class method decorator. + + It operates almost exactly like + the Python `@property` decorator, but it puts the result of the + method it decorates into the instance dict after the first call, + effectively replacing the function it decorates with an instance + variable. It is, in Python parlance, a data descriptor. + """ + + def __init__(self, wrapped: Callable[..., _T]) -> None: + self.wrapped = wrapped + self.__doc__ = wrapped.__doc__ + self.name = wrapped.__name__ + + def __get__(self, inst: _TSelf[_T], owner: Optional[Type[Any]] = None) -> _T: + try: + try: + return inst._cache[self.name] + except KeyError: + val = self.wrapped(inst) + inst._cache[self.name] = val + return val + except AttributeError: + if inst is None: + return self + raise + + def __set__(self, inst: _TSelf[_T], value: _T) -> None: + raise AttributeError("reified property is read-only") + + +reify_py = reify + +try: + from ._helpers import reify as reify_c + + if not NO_EXTENSIONS: + reify = reify_c # type: ignore[misc,assignment] +except ImportError: + pass + +_ipv4_pattern = ( + r"^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}" + r"(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" +) +_ipv6_pattern = ( + r"^(?:(?:(?:[A-F0-9]{1,4}:){6}|(?=(?:[A-F0-9]{0,4}:){0,6}" + r"(?:[0-9]{1,3}\.){3}[0-9]{1,3}$)(([0-9A-F]{1,4}:){0,5}|:)" + r"((:[0-9A-F]{1,4}){1,5}:|:)|::(?:[A-F0-9]{1,4}:){5})" + r"(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.){3}" + r"(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])|(?:[A-F0-9]{1,4}:){7}" + r"[A-F0-9]{1,4}|(?=(?:[A-F0-9]{0,4}:){0,7}[A-F0-9]{0,4}$)" + r"(([0-9A-F]{1,4}:){1,7}|:)((:[0-9A-F]{1,4}){1,7}|:)|(?:[A-F0-9]{1,4}:){7}" + r":|:(:[A-F0-9]{1,4}){7})$" +) +_ipv4_regex = re.compile(_ipv4_pattern) +_ipv6_regex = re.compile(_ipv6_pattern, flags=re.IGNORECASE) +_ipv4_regexb = re.compile(_ipv4_pattern.encode("ascii")) +_ipv6_regexb = re.compile(_ipv6_pattern.encode("ascii"), flags=re.IGNORECASE) + + +def _is_ip_address( + regex: Pattern[str], regexb: Pattern[bytes], host: Optional[Union[str, bytes]] +) -> bool: + if host is None: + return False + if isinstance(host, str): + return bool(regex.match(host)) + elif isinstance(host, (bytes, bytearray, memoryview)): + return bool(regexb.match(host)) + else: + raise TypeError(f"{host} [{type(host)}] is not a str or bytes") + + +is_ipv4_address = functools.partial(_is_ip_address, _ipv4_regex, _ipv4_regexb) +is_ipv6_address = functools.partial(_is_ip_address, _ipv6_regex, _ipv6_regexb) + + +def is_ip_address(host: Optional[Union[str, bytes, bytearray, memoryview]]) -> bool: + return is_ipv4_address(host) or is_ipv6_address(host) + + +_cached_current_datetime: Optional[int] = None +_cached_formatted_datetime = "" + + +def rfc822_formatted_time() -> str: + global _cached_current_datetime + global _cached_formatted_datetime + + now = int(time.time()) + if now != _cached_current_datetime: + # Weekday and month names for HTTP date/time formatting; + # always English! + # Tuples are constants stored in codeobject! + _weekdayname = ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") + _monthname = ( + "", # Dummy so we can use 1-based month numbers + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec", + ) + + year, month, day, hh, mm, ss, wd, *tail = time.gmtime(now) + _cached_formatted_datetime = "%s, %02d %3s %4d %02d:%02d:%02d GMT" % ( + _weekdayname[wd], + day, + _monthname[month], + year, + hh, + mm, + ss, + ) + _cached_current_datetime = now + return _cached_formatted_datetime + + +def _weakref_handle(info: "Tuple[weakref.ref[object], str]") -> None: + ref, name = info + ob = ref() + if ob is not None: + with suppress(Exception): + getattr(ob, name)() + + +def weakref_handle( + ob: object, + name: str, + timeout: float, + loop: asyncio.AbstractEventLoop, + timeout_ceil_threshold: float = 5, +) -> Optional[asyncio.TimerHandle]: + if timeout is not None and timeout > 0: + when = loop.time() + timeout + if timeout >= timeout_ceil_threshold: + when = ceil(when) + + return loop.call_at(when, _weakref_handle, (weakref.ref(ob), name)) + return None + + +def call_later( + cb: Callable[[], Any], + timeout: float, + loop: asyncio.AbstractEventLoop, + timeout_ceil_threshold: float = 5, +) -> Optional[asyncio.TimerHandle]: + if timeout is not None and timeout > 0: + when = loop.time() + timeout + if timeout > timeout_ceil_threshold: + when = ceil(when) + return loop.call_at(when, cb) + return None + + +class TimeoutHandle: + """Timeout handle""" + + def __init__( + self, + loop: asyncio.AbstractEventLoop, + timeout: Optional[float], + ceil_threshold: float = 5, + ) -> None: + self._timeout = timeout + self._loop = loop + self._ceil_threshold = ceil_threshold + self._callbacks: List[ + Tuple[Callable[..., None], Tuple[Any, ...], Dict[str, Any]] + ] = [] + + def register( + self, callback: Callable[..., None], *args: Any, **kwargs: Any + ) -> None: + self._callbacks.append((callback, args, kwargs)) + + def close(self) -> None: + self._callbacks.clear() + + def start(self) -> Optional[asyncio.Handle]: + timeout = self._timeout + if timeout is not None and timeout > 0: + when = self._loop.time() + timeout + if timeout >= self._ceil_threshold: + when = ceil(when) + return self._loop.call_at(when, self.__call__) + else: + return None + + def timer(self) -> "BaseTimerContext": + if self._timeout is not None and self._timeout > 0: + timer = TimerContext(self._loop) + self.register(timer.timeout) + return timer + else: + return TimerNoop() + + def __call__(self) -> None: + for cb, args, kwargs in self._callbacks: + with suppress(Exception): + cb(*args, **kwargs) + + self._callbacks.clear() + + +class BaseTimerContext(ContextManager["BaseTimerContext"]): + def assert_timeout(self) -> None: + """Raise TimeoutError if timeout has been exceeded.""" + + +class TimerNoop(BaseTimerContext): + def __enter__(self) -> BaseTimerContext: + return self + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + return + + +class TimerContext(BaseTimerContext): + """Low resolution timeout context manager""" + + def __init__(self, loop: asyncio.AbstractEventLoop) -> None: + self._loop = loop + self._tasks: List[asyncio.Task[Any]] = [] + self._cancelled = False + + def assert_timeout(self) -> None: + """Raise TimeoutError if timer has already been cancelled.""" + if self._cancelled: + raise asyncio.TimeoutError from None + + def __enter__(self) -> BaseTimerContext: + task = current_task(loop=self._loop) + + if task is None: + raise RuntimeError( + "Timeout context manager should be used " "inside a task" + ) + + if self._cancelled: + raise asyncio.TimeoutError from None + + self._tasks.append(task) + return self + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> Optional[bool]: + if self._tasks: + self._tasks.pop() + + if exc_type is asyncio.CancelledError and self._cancelled: + raise asyncio.TimeoutError from None + return None + + def timeout(self) -> None: + if not self._cancelled: + for task in set(self._tasks): + task.cancel() + + self._cancelled = True + + +def ceil_timeout( + delay: Optional[float], ceil_threshold: float = 5 +) -> async_timeout.Timeout: + if delay is None or delay <= 0: + return async_timeout.timeout(None) + + loop = get_running_loop() + now = loop.time() + when = now + delay + if delay > ceil_threshold: + when = ceil(when) + return async_timeout.timeout_at(when) + + +class HeadersMixin: + ATTRS = frozenset(["_content_type", "_content_dict", "_stored_content_type"]) + + _headers: MultiMapping[str] + + _content_type: Optional[str] = None + _content_dict: Optional[Dict[str, str]] = None + _stored_content_type: Union[str, None, _SENTINEL] = sentinel + + def _parse_content_type(self, raw: Optional[str]) -> None: + self._stored_content_type = raw + if raw is None: + # default value according to RFC 2616 + self._content_type = "application/octet-stream" + self._content_dict = {} + else: + msg = HeaderParser().parsestr("Content-Type: " + raw) + self._content_type = msg.get_content_type() + params = msg.get_params(()) + self._content_dict = dict(params[1:]) # First element is content type again + + @property + def content_type(self) -> str: + """The value of content part for Content-Type HTTP header.""" + raw = self._headers.get(hdrs.CONTENT_TYPE) + if self._stored_content_type != raw: + self._parse_content_type(raw) + return self._content_type # type: ignore[return-value] + + @property + def charset(self) -> Optional[str]: + """The value of charset part for Content-Type HTTP header.""" + raw = self._headers.get(hdrs.CONTENT_TYPE) + if self._stored_content_type != raw: + self._parse_content_type(raw) + return self._content_dict.get("charset") # type: ignore[union-attr] + + @property + def content_length(self) -> Optional[int]: + """The value of Content-Length HTTP header.""" + content_length = self._headers.get(hdrs.CONTENT_LENGTH) + + if content_length is not None: + return int(content_length) + else: + return None + + +def set_result(fut: "asyncio.Future[_T]", result: _T) -> None: + if not fut.done(): + fut.set_result(result) + + +def set_exception(fut: "asyncio.Future[_T]", exc: BaseException) -> None: + if not fut.done(): + fut.set_exception(exc) + + +@functools.total_ordering +class AppKey(Generic[_T]): + """Keys for static typing support in Application.""" + + __slots__ = ("_name", "_t", "__orig_class__") + + # This may be set by Python when instantiating with a generic type. We need to + # support this, in order to support types that are not concrete classes, + # like Iterable, which can't be passed as the second parameter to __init__. + __orig_class__: Type[object] + + def __init__(self, name: str, t: Optional[Type[_T]] = None): + # Prefix with module name to help deduplicate key names. + frame = inspect.currentframe() + while frame: + if frame.f_code.co_name == "": + module: str = frame.f_globals["__name__"] + break + frame = frame.f_back + + self._name = module + "." + name + self._t = t + + def __lt__(self, other: object) -> bool: + if isinstance(other, AppKey): + return self._name < other._name + return True # Order AppKey above other types. + + def __repr__(self) -> str: + t = self._t + if t is None: + with suppress(AttributeError): + # Set to type arg. + t = get_args(self.__orig_class__)[0] + + if t is None: + t_repr = "<>" + elif isinstance(t, type): + if t.__module__ == "builtins": + t_repr = t.__qualname__ + else: + t_repr = f"{t.__module__}.{t.__qualname__}" + else: + t_repr = repr(t) + return f"" + + +class ChainMapProxy(Mapping[Union[str, AppKey[Any]], Any]): + __slots__ = ("_maps",) + + def __init__(self, maps: Iterable[Mapping[Union[str, AppKey[Any]], Any]]) -> None: + self._maps = tuple(maps) + + def __init_subclass__(cls) -> None: + raise TypeError( + "Inheritance class {} from ChainMapProxy " + "is forbidden".format(cls.__name__) + ) + + @overload # type: ignore[override] + def __getitem__(self, key: AppKey[_T]) -> _T: + ... + + @overload + def __getitem__(self, key: str) -> Any: + ... + + def __getitem__(self, key: Union[str, AppKey[_T]]) -> Any: + for mapping in self._maps: + try: + return mapping[key] + except KeyError: + pass + raise KeyError(key) + + @overload # type: ignore[override] + def get(self, key: AppKey[_T], default: _S) -> Union[_T, _S]: + ... + + @overload + def get(self, key: AppKey[_T], default: None = ...) -> Optional[_T]: + ... + + @overload + def get(self, key: str, default: Any = ...) -> Any: + ... + + def get(self, key: Union[str, AppKey[_T]], default: Any = None) -> Any: + try: + return self[key] + except KeyError: + return default + + def __len__(self) -> int: + # reuses stored hash values if possible + return len(set().union(*self._maps)) + + def __iter__(self) -> Iterator[Union[str, AppKey[Any]]]: + d: Dict[Union[str, AppKey[Any]], Any] = {} + for mapping in reversed(self._maps): + # reuses stored hash values if possible + d.update(mapping) + return iter(d) + + def __contains__(self, key: object) -> bool: + return any(key in m for m in self._maps) + + def __bool__(self) -> bool: + return any(self._maps) + + def __repr__(self) -> str: + content = ", ".join(map(repr, self._maps)) + return f"ChainMapProxy({content})" + + +# https://tools.ietf.org/html/rfc7232#section-2.3 +_ETAGC = r"[!\x23-\x7E\x80-\xff]+" +_ETAGC_RE = re.compile(_ETAGC) +_QUOTED_ETAG = rf'(W/)?"({_ETAGC})"' +QUOTED_ETAG_RE = re.compile(_QUOTED_ETAG) +LIST_QUOTED_ETAG_RE = re.compile(rf"({_QUOTED_ETAG})(?:\s*,\s*|$)|(.)") + +ETAG_ANY = "*" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class ETag: + value: str + is_weak: bool = False + + +def validate_etag_value(value: str) -> None: + if value != ETAG_ANY and not _ETAGC_RE.fullmatch(value): + raise ValueError( + f"Value {value!r} is not a valid etag. Maybe it contains '\"'?" + ) + + +def parse_http_date(date_str: Optional[str]) -> Optional[datetime.datetime]: + """Process a date string, return a datetime object""" + if date_str is not None: + timetuple = parsedate(date_str) + if timetuple is not None: + with suppress(ValueError): + return datetime.datetime(*timetuple[:6], tzinfo=datetime.timezone.utc) + return None + + +def must_be_empty_body(method: str, code: int) -> bool: + """Check if a request must return an empty body.""" + return ( + status_code_must_be_empty_body(code) + or method_must_be_empty_body(method) + or (200 <= code < 300 and method.upper() == hdrs.METH_CONNECT) + ) + + +def method_must_be_empty_body(method: str) -> bool: + """Check if a method must return an empty body.""" + # https://datatracker.ietf.org/doc/html/rfc9112#section-6.3-2.1 + # https://datatracker.ietf.org/doc/html/rfc9112#section-6.3-2.2 + return method.upper() == hdrs.METH_HEAD + + +def status_code_must_be_empty_body(code: int) -> bool: + """Check if a status code must return an empty body.""" + # https://datatracker.ietf.org/doc/html/rfc9112#section-6.3-2.1 + return code in {204, 304} or 100 <= code < 200 + + +def should_remove_content_length(method: str, code: int) -> bool: + """Check if a Content-Length header should be removed. + + This should always be a subset of must_be_empty_body + """ + # https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6-8 + # https://www.rfc-editor.org/rfc/rfc9110.html#section-15.4.5-4 + return ( + code in {204, 304} + or 100 <= code < 200 + or (200 <= code < 300 and method.upper() == hdrs.METH_CONNECT) + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http.py new file mode 100644 index 0000000000000000000000000000000000000000..a1feae2d9b8fe631d539a15dbf8e5ea2914d70d5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http.py @@ -0,0 +1,72 @@ +import sys +from http import HTTPStatus +from typing import Mapping, Tuple + +from . import __version__ +from .http_exceptions import HttpProcessingError as HttpProcessingError +from .http_parser import ( + HeadersParser as HeadersParser, + HttpParser as HttpParser, + HttpRequestParser as HttpRequestParser, + HttpResponseParser as HttpResponseParser, + RawRequestMessage as RawRequestMessage, + RawResponseMessage as RawResponseMessage, +) +from .http_websocket import ( + WS_CLOSED_MESSAGE as WS_CLOSED_MESSAGE, + WS_CLOSING_MESSAGE as WS_CLOSING_MESSAGE, + WS_KEY as WS_KEY, + WebSocketError as WebSocketError, + WebSocketReader as WebSocketReader, + WebSocketWriter as WebSocketWriter, + WSCloseCode as WSCloseCode, + WSMessage as WSMessage, + WSMsgType as WSMsgType, + ws_ext_gen as ws_ext_gen, + ws_ext_parse as ws_ext_parse, +) +from .http_writer import ( + HttpVersion as HttpVersion, + HttpVersion10 as HttpVersion10, + HttpVersion11 as HttpVersion11, + StreamWriter as StreamWriter, +) + +__all__ = ( + "HttpProcessingError", + "RESPONSES", + "SERVER_SOFTWARE", + # .http_writer + "StreamWriter", + "HttpVersion", + "HttpVersion10", + "HttpVersion11", + # .http_parser + "HeadersParser", + "HttpParser", + "HttpRequestParser", + "HttpResponseParser", + "RawRequestMessage", + "RawResponseMessage", + # .http_websocket + "WS_CLOSED_MESSAGE", + "WS_CLOSING_MESSAGE", + "WS_KEY", + "WebSocketReader", + "WebSocketWriter", + "ws_ext_gen", + "ws_ext_parse", + "WSMessage", + "WebSocketError", + "WSMsgType", + "WSCloseCode", +) + + +SERVER_SOFTWARE: str = "Python/{0[0]}.{0[1]} aiohttp/{1}".format( + sys.version_info, __version__ +) + +RESPONSES: Mapping[int, Tuple[str, str]] = { + v: (v.phrase, v.description) for v in HTTPStatus.__members__.values() +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..72eac3a3cac41385c3b1435124ecbc68aba0fec6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_exceptions.py @@ -0,0 +1,106 @@ +"""Low-level http related exceptions.""" + + +from textwrap import indent +from typing import Optional, Union + +from .typedefs import _CIMultiDict + +__all__ = ("HttpProcessingError",) + + +class HttpProcessingError(Exception): + """HTTP error. + + Shortcut for raising HTTP errors with custom code, message and headers. + + code: HTTP Error code. + message: (optional) Error message. + headers: (optional) Headers to be sent in response, a list of pairs + """ + + code = 0 + message = "" + headers = None + + def __init__( + self, + *, + code: Optional[int] = None, + message: str = "", + headers: Optional[_CIMultiDict] = None, + ) -> None: + if code is not None: + self.code = code + self.headers = headers + self.message = message + + def __str__(self) -> str: + msg = indent(self.message, " ") + return f"{self.code}, message:\n{msg}" + + def __repr__(self) -> str: + return f"<{self.__class__.__name__}: {self.code}, message={self.message!r}>" + + +class BadHttpMessage(HttpProcessingError): + + code = 400 + message = "Bad Request" + + def __init__(self, message: str, *, headers: Optional[_CIMultiDict] = None) -> None: + super().__init__(message=message, headers=headers) + self.args = (message,) + + +class HttpBadRequest(BadHttpMessage): + + code = 400 + message = "Bad Request" + + +class PayloadEncodingError(BadHttpMessage): + """Base class for payload errors""" + + +class ContentEncodingError(PayloadEncodingError): + """Content encoding error.""" + + +class TransferEncodingError(PayloadEncodingError): + """transfer encoding error.""" + + +class ContentLengthError(PayloadEncodingError): + """Not enough data for satisfy content length header.""" + + +class LineTooLong(BadHttpMessage): + def __init__( + self, line: str, limit: str = "Unknown", actual_size: str = "Unknown" + ) -> None: + super().__init__( + f"Got more than {limit} bytes ({actual_size}) when reading {line}." + ) + self.args = (line, limit, actual_size) + + +class InvalidHeader(BadHttpMessage): + def __init__(self, hdr: Union[bytes, str]) -> None: + hdr_s = hdr.decode(errors="backslashreplace") if isinstance(hdr, bytes) else hdr + super().__init__(f"Invalid HTTP header: {hdr!r}") + self.hdr = hdr_s + self.args = (hdr,) + + +class BadStatusLine(BadHttpMessage): + def __init__(self, line: str = "", error: Optional[str] = None) -> None: + if not isinstance(line, str): + line = repr(line) + super().__init__(error or f"Bad status line {line!r}") + self.args = (line,) + self.line = line + + +class InvalidURLError(BadHttpMessage): + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_parser.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_parser.py new file mode 100644 index 0000000000000000000000000000000000000000..85499177701a1662209eaada6bfb4a9a349a0f75 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_parser.py @@ -0,0 +1,1009 @@ +import abc +import asyncio +import re +import string +from contextlib import suppress +from enum import IntEnum +from typing import ( + Any, + ClassVar, + Final, + Generic, + List, + Literal, + NamedTuple, + Optional, + Pattern, + Set, + Tuple, + Type, + TypeVar, + Union, +) + +from multidict import CIMultiDict, CIMultiDictProxy, istr +from yarl import URL + +from . import hdrs +from .base_protocol import BaseProtocol +from .compression_utils import HAS_BROTLI, BrotliDecompressor, ZLibDecompressor +from .helpers import ( + DEBUG, + NO_EXTENSIONS, + BaseTimerContext, + method_must_be_empty_body, + status_code_must_be_empty_body, +) +from .http_exceptions import ( + BadHttpMessage, + BadStatusLine, + ContentEncodingError, + ContentLengthError, + InvalidHeader, + InvalidURLError, + LineTooLong, + TransferEncodingError, +) +from .http_writer import HttpVersion, HttpVersion10 +from .log import internal_logger +from .streams import EMPTY_PAYLOAD, StreamReader +from .typedefs import RawHeaders + +__all__ = ( + "HeadersParser", + "HttpParser", + "HttpRequestParser", + "HttpResponseParser", + "RawRequestMessage", + "RawResponseMessage", +) + +_SEP = Literal[b"\r\n", b"\n"] + +ASCIISET: Final[Set[str]] = set(string.printable) + +# See https://www.rfc-editor.org/rfc/rfc9110.html#name-overview +# and https://www.rfc-editor.org/rfc/rfc9110.html#name-tokens +# +# method = token +# tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." / +# "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA +# token = 1*tchar +METHRE: Final[Pattern[str]] = re.compile(r"[!#$%&'*+\-.^_`|~0-9A-Za-z]+") +VERSRE: Final[Pattern[str]] = re.compile(r"HTTP/(\d).(\d)") +HDRRE: Final[Pattern[bytes]] = re.compile( + rb"[\x00-\x1F\x7F-\xFF()<>@,;:\[\]={} \t\"\\]" +) +HEXDIGIT = re.compile(rb"[0-9a-fA-F]+") + + +class RawRequestMessage(NamedTuple): + method: str + path: str + version: HttpVersion + headers: "CIMultiDictProxy[str]" + raw_headers: RawHeaders + should_close: bool + compression: Optional[str] + upgrade: bool + chunked: bool + url: URL + + +class RawResponseMessage(NamedTuple): + version: HttpVersion + code: int + reason: str + headers: CIMultiDictProxy[str] + raw_headers: RawHeaders + should_close: bool + compression: Optional[str] + upgrade: bool + chunked: bool + + +_MsgT = TypeVar("_MsgT", RawRequestMessage, RawResponseMessage) + + +class ParseState(IntEnum): + + PARSE_NONE = 0 + PARSE_LENGTH = 1 + PARSE_CHUNKED = 2 + PARSE_UNTIL_EOF = 3 + + +class ChunkState(IntEnum): + PARSE_CHUNKED_SIZE = 0 + PARSE_CHUNKED_CHUNK = 1 + PARSE_CHUNKED_CHUNK_EOF = 2 + PARSE_MAYBE_TRAILERS = 3 + PARSE_TRAILERS = 4 + + +class HeadersParser: + def __init__( + self, + max_line_size: int = 8190, + max_headers: int = 32768, + max_field_size: int = 8190, + ) -> None: + self.max_line_size = max_line_size + self.max_headers = max_headers + self.max_field_size = max_field_size + + def parse_headers( + self, lines: List[bytes] + ) -> Tuple["CIMultiDictProxy[str]", RawHeaders]: + headers: CIMultiDict[str] = CIMultiDict() + raw_headers = [] + + lines_idx = 1 + line = lines[1] + line_count = len(lines) + + while line: + # Parse initial header name : value pair. + try: + bname, bvalue = line.split(b":", 1) + except ValueError: + raise InvalidHeader(line) from None + + # https://www.rfc-editor.org/rfc/rfc9112.html#section-5.1-2 + if {bname[0], bname[-1]} & {32, 9}: # {" ", "\t"} + raise InvalidHeader(line) + + bvalue = bvalue.lstrip(b" \t") + if HDRRE.search(bname): + raise InvalidHeader(bname) + if len(bname) > self.max_field_size: + raise LineTooLong( + "request header name {}".format( + bname.decode("utf8", "backslashreplace") + ), + str(self.max_field_size), + str(len(bname)), + ) + + header_length = len(bvalue) + + # next line + lines_idx += 1 + line = lines[lines_idx] + + # consume continuation lines + continuation = line and line[0] in (32, 9) # (' ', '\t') + + # Deprecated: https://www.rfc-editor.org/rfc/rfc9112.html#name-obsolete-line-folding + if continuation: + bvalue_lst = [bvalue] + while continuation: + header_length += len(line) + if header_length > self.max_field_size: + raise LineTooLong( + "request header field {}".format( + bname.decode("utf8", "backslashreplace") + ), + str(self.max_field_size), + str(header_length), + ) + bvalue_lst.append(line) + + # next line + lines_idx += 1 + if lines_idx < line_count: + line = lines[lines_idx] + if line: + continuation = line[0] in (32, 9) # (' ', '\t') + else: + line = b"" + break + bvalue = b"".join(bvalue_lst) + else: + if header_length > self.max_field_size: + raise LineTooLong( + "request header field {}".format( + bname.decode("utf8", "backslashreplace") + ), + str(self.max_field_size), + str(header_length), + ) + + bvalue = bvalue.strip(b" \t") + name = bname.decode("utf-8", "surrogateescape") + value = bvalue.decode("utf-8", "surrogateescape") + + # https://www.rfc-editor.org/rfc/rfc9110.html#section-5.5-5 + if "\n" in value or "\r" in value or "\x00" in value: + raise InvalidHeader(bvalue) + + headers.add(name, value) + raw_headers.append((bname, bvalue)) + + return (CIMultiDictProxy(headers), tuple(raw_headers)) + + +class HttpParser(abc.ABC, Generic[_MsgT]): + lax: ClassVar[bool] = False + + def __init__( + self, + protocol: Optional[BaseProtocol] = None, + loop: Optional[asyncio.AbstractEventLoop] = None, + limit: int = 2**16, + max_line_size: int = 8190, + max_headers: int = 32768, + max_field_size: int = 8190, + timer: Optional[BaseTimerContext] = None, + code: Optional[int] = None, + method: Optional[str] = None, + readall: bool = False, + payload_exception: Optional[Type[BaseException]] = None, + response_with_body: bool = True, + read_until_eof: bool = False, + auto_decompress: bool = True, + ) -> None: + self.protocol = protocol + self.loop = loop + self.max_line_size = max_line_size + self.max_headers = max_headers + self.max_field_size = max_field_size + self.timer = timer + self.code = code + self.method = method + self.readall = readall + self.payload_exception = payload_exception + self.response_with_body = response_with_body + self.read_until_eof = read_until_eof + + self._lines: List[bytes] = [] + self._tail = b"" + self._upgraded = False + self._payload = None + self._payload_parser: Optional[HttpPayloadParser] = None + self._auto_decompress = auto_decompress + self._limit = limit + self._headers_parser = HeadersParser(max_line_size, max_headers, max_field_size) + + @abc.abstractmethod + def parse_message(self, lines: List[bytes]) -> _MsgT: + pass + + def feed_eof(self) -> Optional[_MsgT]: + if self._payload_parser is not None: + self._payload_parser.feed_eof() + self._payload_parser = None + else: + # try to extract partial message + if self._tail: + self._lines.append(self._tail) + + if self._lines: + if self._lines[-1] != "\r\n": + self._lines.append(b"") + with suppress(Exception): + return self.parse_message(self._lines) + return None + + def feed_data( + self, + data: bytes, + SEP: _SEP = b"\r\n", + EMPTY: bytes = b"", + CONTENT_LENGTH: istr = hdrs.CONTENT_LENGTH, + METH_CONNECT: str = hdrs.METH_CONNECT, + SEC_WEBSOCKET_KEY1: istr = hdrs.SEC_WEBSOCKET_KEY1, + ) -> Tuple[List[Tuple[_MsgT, StreamReader]], bool, bytes]: + + messages = [] + + if self._tail: + data, self._tail = self._tail + data, b"" + + data_len = len(data) + start_pos = 0 + loop = self.loop + + while start_pos < data_len: + + # read HTTP message (request/response line + headers), \r\n\r\n + # and split by lines + if self._payload_parser is None and not self._upgraded: + pos = data.find(SEP, start_pos) + # consume \r\n + if pos == start_pos and not self._lines: + start_pos = pos + len(SEP) + continue + + if pos >= start_pos: + # line found + line = data[start_pos:pos] + if SEP == b"\n": # For lax response parsing + line = line.rstrip(b"\r") + self._lines.append(line) + start_pos = pos + len(SEP) + + # \r\n\r\n found + if self._lines[-1] == EMPTY: + try: + msg: _MsgT = self.parse_message(self._lines) + finally: + self._lines.clear() + + def get_content_length() -> Optional[int]: + # payload length + length_hdr = msg.headers.get(CONTENT_LENGTH) + if length_hdr is None: + return None + + # Shouldn't allow +/- or other number formats. + # https://www.rfc-editor.org/rfc/rfc9110#section-8.6-2 + if not length_hdr.strip(" \t").isdecimal(): + raise InvalidHeader(CONTENT_LENGTH) + + return int(length_hdr) + + length = get_content_length() + # do not support old websocket spec + if SEC_WEBSOCKET_KEY1 in msg.headers: + raise InvalidHeader(SEC_WEBSOCKET_KEY1) + + self._upgraded = msg.upgrade + + method = getattr(msg, "method", self.method) + # code is only present on responses + code = getattr(msg, "code", 0) + + assert self.protocol is not None + # calculate payload + empty_body = status_code_must_be_empty_body(code) or bool( + method and method_must_be_empty_body(method) + ) + if not empty_body and ( + (length is not None and length > 0) + or msg.chunked + and not msg.upgrade + ): + payload = StreamReader( + self.protocol, + timer=self.timer, + loop=loop, + limit=self._limit, + ) + payload_parser = HttpPayloadParser( + payload, + length=length, + chunked=msg.chunked, + method=method, + compression=msg.compression, + code=self.code, + readall=self.readall, + response_with_body=self.response_with_body, + auto_decompress=self._auto_decompress, + lax=self.lax, + ) + if not payload_parser.done: + self._payload_parser = payload_parser + elif method == METH_CONNECT: + assert isinstance(msg, RawRequestMessage) + payload = StreamReader( + self.protocol, + timer=self.timer, + loop=loop, + limit=self._limit, + ) + self._upgraded = True + self._payload_parser = HttpPayloadParser( + payload, + method=msg.method, + compression=msg.compression, + readall=True, + auto_decompress=self._auto_decompress, + lax=self.lax, + ) + elif not empty_body and length is None and self.read_until_eof: + payload = StreamReader( + self.protocol, + timer=self.timer, + loop=loop, + limit=self._limit, + ) + payload_parser = HttpPayloadParser( + payload, + length=length, + chunked=msg.chunked, + method=method, + compression=msg.compression, + code=self.code, + readall=True, + response_with_body=self.response_with_body, + auto_decompress=self._auto_decompress, + lax=self.lax, + ) + if not payload_parser.done: + self._payload_parser = payload_parser + else: + payload = EMPTY_PAYLOAD + + messages.append((msg, payload)) + else: + self._tail = data[start_pos:] + data = EMPTY + break + + # no parser, just store + elif self._payload_parser is None and self._upgraded: + assert not self._lines + break + + # feed payload + elif data and start_pos < data_len: + assert not self._lines + assert self._payload_parser is not None + try: + eof, data = self._payload_parser.feed_data(data[start_pos:], SEP) + except BaseException as exc: + if self.payload_exception is not None: + self._payload_parser.payload.set_exception( + self.payload_exception(str(exc)) + ) + else: + self._payload_parser.payload.set_exception(exc) + + eof = True + data = b"" + + if eof: + start_pos = 0 + data_len = len(data) + self._payload_parser = None + continue + else: + break + + if data and start_pos < data_len: + data = data[start_pos:] + else: + data = EMPTY + + return messages, self._upgraded, data + + def parse_headers( + self, lines: List[bytes] + ) -> Tuple[ + "CIMultiDictProxy[str]", RawHeaders, Optional[bool], Optional[str], bool, bool + ]: + """Parses RFC 5322 headers from a stream. + + Line continuations are supported. Returns list of header name + and value pairs. Header name is in upper case. + """ + headers, raw_headers = self._headers_parser.parse_headers(lines) + close_conn = None + encoding = None + upgrade = False + chunked = False + + # https://www.rfc-editor.org/rfc/rfc9110.html#section-5.5-6 + # https://www.rfc-editor.org/rfc/rfc9110.html#name-collected-abnf + singletons = ( + hdrs.CONTENT_LENGTH, + hdrs.CONTENT_LOCATION, + hdrs.CONTENT_RANGE, + hdrs.CONTENT_TYPE, + hdrs.ETAG, + hdrs.HOST, + hdrs.MAX_FORWARDS, + hdrs.SERVER, + hdrs.TRANSFER_ENCODING, + hdrs.USER_AGENT, + ) + bad_hdr = next((h for h in singletons if len(headers.getall(h, ())) > 1), None) + if bad_hdr is not None: + raise BadHttpMessage(f"Duplicate '{bad_hdr}' header found.") + + # keep-alive + conn = headers.get(hdrs.CONNECTION) + if conn: + v = conn.lower() + if v == "close": + close_conn = True + elif v == "keep-alive": + close_conn = False + # https://www.rfc-editor.org/rfc/rfc9110.html#name-101-switching-protocols + elif v == "upgrade" and headers.get(hdrs.UPGRADE): + upgrade = True + + # encoding + enc = headers.get(hdrs.CONTENT_ENCODING) + if enc: + enc = enc.lower() + if enc in ("gzip", "deflate", "br"): + encoding = enc + + # chunking + te = headers.get(hdrs.TRANSFER_ENCODING) + if te is not None: + if "chunked" == te.lower(): + chunked = True + else: + raise BadHttpMessage("Request has invalid `Transfer-Encoding`") + + if hdrs.CONTENT_LENGTH in headers: + raise BadHttpMessage( + "Transfer-Encoding can't be present with Content-Length", + ) + + return (headers, raw_headers, close_conn, encoding, upgrade, chunked) + + def set_upgraded(self, val: bool) -> None: + """Set connection upgraded (to websocket) mode. + + :param bool val: new state. + """ + self._upgraded = val + + +class HttpRequestParser(HttpParser[RawRequestMessage]): + """Read request status line. + + Exception .http_exceptions.BadStatusLine + could be raised in case of any errors in status line. + Returns RawRequestMessage. + """ + + def parse_message(self, lines: List[bytes]) -> RawRequestMessage: + # request line + line = lines[0].decode("utf-8", "surrogateescape") + try: + method, path, version = line.split(" ", maxsplit=2) + except ValueError: + raise BadStatusLine(line) from None + + if len(path) > self.max_line_size: + raise LineTooLong( + "Status line is too long", str(self.max_line_size), str(len(path)) + ) + + # method + if not METHRE.fullmatch(method): + raise BadStatusLine(method) + + # version + match = VERSRE.fullmatch(version) + if match is None: + raise BadStatusLine(line) + version_o = HttpVersion(int(match.group(1)), int(match.group(2))) + + if method == "CONNECT": + # authority-form, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.3 + url = URL.build(authority=path, encoded=True) + elif path.startswith("/"): + # origin-form, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.1 + path_part, _hash_separator, url_fragment = path.partition("#") + path_part, _question_mark_separator, qs_part = path_part.partition("?") + + # NOTE: `yarl.URL.build()` is used to mimic what the Cython-based + # NOTE: parser does, otherwise it results into the same + # NOTE: HTTP Request-Line input producing different + # NOTE: `yarl.URL()` objects + url = URL.build( + path=path_part, + query_string=qs_part, + fragment=url_fragment, + encoded=True, + ) + elif path == "*" and method == "OPTIONS": + # asterisk-form, + url = URL(path, encoded=True) + else: + # absolute-form for proxy maybe, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.2 + url = URL(path, encoded=True) + if url.scheme == "": + # not absolute-form + raise InvalidURLError( + path.encode(errors="surrogateescape").decode("latin1") + ) + + # read headers + ( + headers, + raw_headers, + close, + compression, + upgrade, + chunked, + ) = self.parse_headers(lines) + + if close is None: # then the headers weren't set in the request + if version_o <= HttpVersion10: # HTTP 1.0 must asks to not close + close = True + else: # HTTP 1.1 must ask to close. + close = False + + return RawRequestMessage( + method, + path, + version_o, + headers, + raw_headers, + close, + compression, + upgrade, + chunked, + url, + ) + + +class HttpResponseParser(HttpParser[RawResponseMessage]): + """Read response status line and headers. + + BadStatusLine could be raised in case of any errors in status line. + Returns RawResponseMessage. + """ + + # Lax mode should only be enabled on response parser. + lax = not DEBUG + + def feed_data( + self, + data: bytes, + SEP: Optional[_SEP] = None, + *args: Any, + **kwargs: Any, + ) -> Tuple[List[Tuple[RawResponseMessage, StreamReader]], bool, bytes]: + if SEP is None: + SEP = b"\r\n" if DEBUG else b"\n" + return super().feed_data(data, SEP, *args, **kwargs) + + def parse_message(self, lines: List[bytes]) -> RawResponseMessage: + line = lines[0].decode("utf-8", "surrogateescape") + try: + version, status = line.split(maxsplit=1) + except ValueError: + raise BadStatusLine(line) from None + + try: + status, reason = status.split(maxsplit=1) + except ValueError: + status = status.strip() + reason = "" + + if len(reason) > self.max_line_size: + raise LineTooLong( + "Status line is too long", str(self.max_line_size), str(len(reason)) + ) + + # version + match = VERSRE.fullmatch(version) + if match is None: + raise BadStatusLine(line) + version_o = HttpVersion(int(match.group(1)), int(match.group(2))) + + # The status code is a three-digit number + if len(status) != 3 or not status.isdecimal(): + raise BadStatusLine(line) + status_i = int(status) + + # read headers + ( + headers, + raw_headers, + close, + compression, + upgrade, + chunked, + ) = self.parse_headers(lines) + + if close is None: + close = version_o <= HttpVersion10 + + return RawResponseMessage( + version_o, + status_i, + reason.strip(), + headers, + raw_headers, + close, + compression, + upgrade, + chunked, + ) + + +class HttpPayloadParser: + def __init__( + self, + payload: StreamReader, + length: Optional[int] = None, + chunked: bool = False, + compression: Optional[str] = None, + code: Optional[int] = None, + method: Optional[str] = None, + readall: bool = False, + response_with_body: bool = True, + auto_decompress: bool = True, + lax: bool = False, + ) -> None: + self._length = 0 + self._type = ParseState.PARSE_NONE + self._chunk = ChunkState.PARSE_CHUNKED_SIZE + self._chunk_size = 0 + self._chunk_tail = b"" + self._auto_decompress = auto_decompress + self._lax = lax + self.done = False + + # payload decompression wrapper + if response_with_body and compression and self._auto_decompress: + real_payload: Union[StreamReader, DeflateBuffer] = DeflateBuffer( + payload, compression + ) + else: + real_payload = payload + + # payload parser + if not response_with_body: + # don't parse payload if it's not expected to be received + self._type = ParseState.PARSE_NONE + real_payload.feed_eof() + self.done = True + + elif chunked: + self._type = ParseState.PARSE_CHUNKED + elif length is not None: + self._type = ParseState.PARSE_LENGTH + self._length = length + if self._length == 0: + real_payload.feed_eof() + self.done = True + else: + if readall and code != 204: + self._type = ParseState.PARSE_UNTIL_EOF + elif method in ("PUT", "POST"): + internal_logger.warning( # pragma: no cover + "Content-Length or Transfer-Encoding header is required" + ) + self._type = ParseState.PARSE_NONE + real_payload.feed_eof() + self.done = True + + self.payload = real_payload + + def feed_eof(self) -> None: + if self._type == ParseState.PARSE_UNTIL_EOF: + self.payload.feed_eof() + elif self._type == ParseState.PARSE_LENGTH: + raise ContentLengthError( + "Not enough data for satisfy content length header." + ) + elif self._type == ParseState.PARSE_CHUNKED: + raise TransferEncodingError( + "Not enough data for satisfy transfer length header." + ) + + def feed_data( + self, chunk: bytes, SEP: _SEP = b"\r\n", CHUNK_EXT: bytes = b";" + ) -> Tuple[bool, bytes]: + # Read specified amount of bytes + if self._type == ParseState.PARSE_LENGTH: + required = self._length + chunk_len = len(chunk) + + if required >= chunk_len: + self._length = required - chunk_len + self.payload.feed_data(chunk, chunk_len) + if self._length == 0: + self.payload.feed_eof() + return True, b"" + else: + self._length = 0 + self.payload.feed_data(chunk[:required], required) + self.payload.feed_eof() + return True, chunk[required:] + + # Chunked transfer encoding parser + elif self._type == ParseState.PARSE_CHUNKED: + if self._chunk_tail: + chunk = self._chunk_tail + chunk + self._chunk_tail = b"" + + while chunk: + + # read next chunk size + if self._chunk == ChunkState.PARSE_CHUNKED_SIZE: + pos = chunk.find(SEP) + if pos >= 0: + i = chunk.find(CHUNK_EXT, 0, pos) + if i >= 0: + size_b = chunk[:i] # strip chunk-extensions + else: + size_b = chunk[:pos] + + if self._lax: # Allow whitespace in lax mode. + size_b = size_b.strip() + + if not re.fullmatch(HEXDIGIT, size_b): + exc = TransferEncodingError( + chunk[:pos].decode("ascii", "surrogateescape") + ) + self.payload.set_exception(exc) + raise exc + size = int(bytes(size_b), 16) + + chunk = chunk[pos + len(SEP) :] + if size == 0: # eof marker + self._chunk = ChunkState.PARSE_MAYBE_TRAILERS + if self._lax and chunk.startswith(b"\r"): + chunk = chunk[1:] + else: + self._chunk = ChunkState.PARSE_CHUNKED_CHUNK + self._chunk_size = size + self.payload.begin_http_chunk_receiving() + else: + self._chunk_tail = chunk + return False, b"" + + # read chunk and feed buffer + if self._chunk == ChunkState.PARSE_CHUNKED_CHUNK: + required = self._chunk_size + chunk_len = len(chunk) + + if required > chunk_len: + self._chunk_size = required - chunk_len + self.payload.feed_data(chunk, chunk_len) + return False, b"" + else: + self._chunk_size = 0 + self.payload.feed_data(chunk[:required], required) + chunk = chunk[required:] + if self._lax and chunk.startswith(b"\r"): + chunk = chunk[1:] + self._chunk = ChunkState.PARSE_CHUNKED_CHUNK_EOF + self.payload.end_http_chunk_receiving() + + # toss the CRLF at the end of the chunk + if self._chunk == ChunkState.PARSE_CHUNKED_CHUNK_EOF: + if chunk[: len(SEP)] == SEP: + chunk = chunk[len(SEP) :] + self._chunk = ChunkState.PARSE_CHUNKED_SIZE + else: + self._chunk_tail = chunk + return False, b"" + + # if stream does not contain trailer, after 0\r\n + # we should get another \r\n otherwise + # trailers needs to be skipped until \r\n\r\n + if self._chunk == ChunkState.PARSE_MAYBE_TRAILERS: + head = chunk[: len(SEP)] + if head == SEP: + # end of stream + self.payload.feed_eof() + return True, chunk[len(SEP) :] + # Both CR and LF, or only LF may not be received yet. It is + # expected that CRLF or LF will be shown at the very first + # byte next time, otherwise trailers should come. The last + # CRLF which marks the end of response might not be + # contained in the same TCP segment which delivered the + # size indicator. + if not head: + return False, b"" + if head == SEP[:1]: + self._chunk_tail = head + return False, b"" + self._chunk = ChunkState.PARSE_TRAILERS + + # read and discard trailer up to the CRLF terminator + if self._chunk == ChunkState.PARSE_TRAILERS: + pos = chunk.find(SEP) + if pos >= 0: + chunk = chunk[pos + len(SEP) :] + self._chunk = ChunkState.PARSE_MAYBE_TRAILERS + else: + self._chunk_tail = chunk + return False, b"" + + # Read all bytes until eof + elif self._type == ParseState.PARSE_UNTIL_EOF: + self.payload.feed_data(chunk, len(chunk)) + + return False, b"" + + +class DeflateBuffer: + """DeflateStream decompress stream and feed data into specified stream.""" + + decompressor: Any + + def __init__(self, out: StreamReader, encoding: Optional[str]) -> None: + self.out = out + self.size = 0 + self.encoding = encoding + self._started_decoding = False + + self.decompressor: Union[BrotliDecompressor, ZLibDecompressor] + if encoding == "br": + if not HAS_BROTLI: # pragma: no cover + raise ContentEncodingError( + "Can not decode content-encoding: brotli (br). " + "Please install `Brotli`" + ) + self.decompressor = BrotliDecompressor() + else: + self.decompressor = ZLibDecompressor(encoding=encoding) + + def set_exception(self, exc: BaseException) -> None: + self.out.set_exception(exc) + + def feed_data(self, chunk: bytes, size: int) -> None: + if not size: + return + + self.size += size + + # RFC1950 + # bits 0..3 = CM = 0b1000 = 8 = "deflate" + # bits 4..7 = CINFO = 1..7 = windows size. + if ( + not self._started_decoding + and self.encoding == "deflate" + and chunk[0] & 0xF != 8 + ): + # Change the decoder to decompress incorrectly compressed data + # Actually we should issue a warning about non-RFC-compliant data. + self.decompressor = ZLibDecompressor( + encoding=self.encoding, suppress_deflate_header=True + ) + + try: + chunk = self.decompressor.decompress_sync(chunk) + except Exception: + raise ContentEncodingError( + "Can not decode content-encoding: %s" % self.encoding + ) + + self._started_decoding = True + + if chunk: + self.out.feed_data(chunk, len(chunk)) + + def feed_eof(self) -> None: + chunk = self.decompressor.flush() + + if chunk or self.size > 0: + self.out.feed_data(chunk, len(chunk)) + if self.encoding == "deflate" and not self.decompressor.eof: + raise ContentEncodingError("deflate") + + self.out.feed_eof() + + def begin_http_chunk_receiving(self) -> None: + self.out.begin_http_chunk_receiving() + + def end_http_chunk_receiving(self) -> None: + self.out.end_http_chunk_receiving() + + +HttpRequestParserPy = HttpRequestParser +HttpResponseParserPy = HttpResponseParser +RawRequestMessagePy = RawRequestMessage +RawResponseMessagePy = RawResponseMessage + +try: + if not NO_EXTENSIONS: + from ._http_parser import ( # type: ignore[import-not-found,no-redef] + HttpRequestParser, + HttpResponseParser, + RawRequestMessage, + RawResponseMessage, + ) + + HttpRequestParserC = HttpRequestParser + HttpResponseParserC = HttpResponseParser + RawRequestMessageC = RawRequestMessage + RawResponseMessageC = RawResponseMessage +except ImportError: # pragma: no cover + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_websocket.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_websocket.py new file mode 100644 index 0000000000000000000000000000000000000000..f395a27614aae632130842d89181b37cefe16ef3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_websocket.py @@ -0,0 +1,740 @@ +"""WebSocket protocol versions 13 and 8.""" + +import asyncio +import functools +import json +import random +import re +import sys +import zlib +from enum import IntEnum +from struct import Struct +from typing import ( + Any, + Callable, + Final, + List, + NamedTuple, + Optional, + Pattern, + Set, + Tuple, + Union, + cast, +) + +from .base_protocol import BaseProtocol +from .compression_utils import ZLibCompressor, ZLibDecompressor +from .helpers import NO_EXTENSIONS +from .streams import DataQueue + +__all__ = ( + "WS_CLOSED_MESSAGE", + "WS_CLOSING_MESSAGE", + "WS_KEY", + "WebSocketReader", + "WebSocketWriter", + "WSMessage", + "WebSocketError", + "WSMsgType", + "WSCloseCode", +) + + +class WSCloseCode(IntEnum): + OK = 1000 + GOING_AWAY = 1001 + PROTOCOL_ERROR = 1002 + UNSUPPORTED_DATA = 1003 + ABNORMAL_CLOSURE = 1006 + INVALID_TEXT = 1007 + POLICY_VIOLATION = 1008 + MESSAGE_TOO_BIG = 1009 + MANDATORY_EXTENSION = 1010 + INTERNAL_ERROR = 1011 + SERVICE_RESTART = 1012 + TRY_AGAIN_LATER = 1013 + BAD_GATEWAY = 1014 + + +ALLOWED_CLOSE_CODES: Final[Set[int]] = {int(i) for i in WSCloseCode} + +# For websockets, keeping latency low is extremely important as implementations +# generally expect to be able to send and receive messages quickly. We use a +# larger chunk size than the default to reduce the number of executor calls +# since the executor is a significant source of latency and overhead when +# the chunks are small. A size of 5KiB was chosen because it is also the +# same value python-zlib-ng choose to use as the threshold to release the GIL. + +WEBSOCKET_MAX_SYNC_CHUNK_SIZE = 5 * 1024 + + +class WSMsgType(IntEnum): + # websocket spec types + CONTINUATION = 0x0 + TEXT = 0x1 + BINARY = 0x2 + PING = 0x9 + PONG = 0xA + CLOSE = 0x8 + + # aiohttp specific types + CLOSING = 0x100 + CLOSED = 0x101 + ERROR = 0x102 + + text = TEXT + binary = BINARY + ping = PING + pong = PONG + close = CLOSE + closing = CLOSING + closed = CLOSED + error = ERROR + + +WS_KEY: Final[bytes] = b"258EAFA5-E914-47DA-95CA-C5AB0DC85B11" + + +UNPACK_LEN2 = Struct("!H").unpack_from +UNPACK_LEN3 = Struct("!Q").unpack_from +UNPACK_CLOSE_CODE = Struct("!H").unpack +PACK_LEN1 = Struct("!BB").pack +PACK_LEN2 = Struct("!BBH").pack +PACK_LEN3 = Struct("!BBQ").pack +PACK_CLOSE_CODE = Struct("!H").pack +MSG_SIZE: Final[int] = 2**14 +DEFAULT_LIMIT: Final[int] = 2**16 + + +class WSMessage(NamedTuple): + type: WSMsgType + # To type correctly, this would need some kind of tagged union for each type. + data: Any + extra: Optional[str] + + def json(self, *, loads: Callable[[Any], Any] = json.loads) -> Any: + """Return parsed JSON data. + + .. versionadded:: 0.22 + """ + return loads(self.data) + + +WS_CLOSED_MESSAGE = WSMessage(WSMsgType.CLOSED, None, None) +WS_CLOSING_MESSAGE = WSMessage(WSMsgType.CLOSING, None, None) + + +class WebSocketError(Exception): + """WebSocket protocol parser error.""" + + def __init__(self, code: int, message: str) -> None: + self.code = code + super().__init__(code, message) + + def __str__(self) -> str: + return cast(str, self.args[1]) + + +class WSHandshakeError(Exception): + """WebSocket protocol handshake error.""" + + +native_byteorder: Final[str] = sys.byteorder + + +# Used by _websocket_mask_python +@functools.lru_cache +def _xor_table() -> List[bytes]: + return [bytes(a ^ b for a in range(256)) for b in range(256)] + + +def _websocket_mask_python(mask: bytes, data: bytearray) -> None: + """Websocket masking function. + + `mask` is a `bytes` object of length 4; `data` is a `bytearray` + object of any length. The contents of `data` are masked with `mask`, + as specified in section 5.3 of RFC 6455. + + Note that this function mutates the `data` argument. + + This pure-python implementation may be replaced by an optimized + version when available. + + """ + assert isinstance(data, bytearray), data + assert len(mask) == 4, mask + + if data: + _XOR_TABLE = _xor_table() + a, b, c, d = (_XOR_TABLE[n] for n in mask) + data[::4] = data[::4].translate(a) + data[1::4] = data[1::4].translate(b) + data[2::4] = data[2::4].translate(c) + data[3::4] = data[3::4].translate(d) + + +if NO_EXTENSIONS: # pragma: no cover + _websocket_mask = _websocket_mask_python +else: + try: + from ._websocket import _websocket_mask_cython # type: ignore[import-not-found] + + _websocket_mask = _websocket_mask_cython + except ImportError: # pragma: no cover + _websocket_mask = _websocket_mask_python + +_WS_DEFLATE_TRAILING: Final[bytes] = bytes([0x00, 0x00, 0xFF, 0xFF]) + + +_WS_EXT_RE: Final[Pattern[str]] = re.compile( + r"^(?:;\s*(?:" + r"(server_no_context_takeover)|" + r"(client_no_context_takeover)|" + r"(server_max_window_bits(?:=(\d+))?)|" + r"(client_max_window_bits(?:=(\d+))?)))*$" +) + +_WS_EXT_RE_SPLIT: Final[Pattern[str]] = re.compile(r"permessage-deflate([^,]+)?") + + +def ws_ext_parse(extstr: Optional[str], isserver: bool = False) -> Tuple[int, bool]: + if not extstr: + return 0, False + + compress = 0 + notakeover = False + for ext in _WS_EXT_RE_SPLIT.finditer(extstr): + defext = ext.group(1) + # Return compress = 15 when get `permessage-deflate` + if not defext: + compress = 15 + break + match = _WS_EXT_RE.match(defext) + if match: + compress = 15 + if isserver: + # Server never fail to detect compress handshake. + # Server does not need to send max wbit to client + if match.group(4): + compress = int(match.group(4)) + # Group3 must match if group4 matches + # Compress wbit 8 does not support in zlib + # If compress level not support, + # CONTINUE to next extension + if compress > 15 or compress < 9: + compress = 0 + continue + if match.group(1): + notakeover = True + # Ignore regex group 5 & 6 for client_max_window_bits + break + else: + if match.group(6): + compress = int(match.group(6)) + # Group5 must match if group6 matches + # Compress wbit 8 does not support in zlib + # If compress level not support, + # FAIL the parse progress + if compress > 15 or compress < 9: + raise WSHandshakeError("Invalid window size") + if match.group(2): + notakeover = True + # Ignore regex group 5 & 6 for client_max_window_bits + break + # Return Fail if client side and not match + elif not isserver: + raise WSHandshakeError("Extension for deflate not supported" + ext.group(1)) + + return compress, notakeover + + +def ws_ext_gen( + compress: int = 15, isserver: bool = False, server_notakeover: bool = False +) -> str: + # client_notakeover=False not used for server + # compress wbit 8 does not support in zlib + if compress < 9 or compress > 15: + raise ValueError( + "Compress wbits must between 9 and 15, " "zlib does not support wbits=8" + ) + enabledext = ["permessage-deflate"] + if not isserver: + enabledext.append("client_max_window_bits") + + if compress < 15: + enabledext.append("server_max_window_bits=" + str(compress)) + if server_notakeover: + enabledext.append("server_no_context_takeover") + # if client_notakeover: + # enabledext.append('client_no_context_takeover') + return "; ".join(enabledext) + + +class WSParserState(IntEnum): + READ_HEADER = 1 + READ_PAYLOAD_LENGTH = 2 + READ_PAYLOAD_MASK = 3 + READ_PAYLOAD = 4 + + +class WebSocketReader: + def __init__( + self, queue: DataQueue[WSMessage], max_msg_size: int, compress: bool = True + ) -> None: + self.queue = queue + self._max_msg_size = max_msg_size + + self._exc: Optional[BaseException] = None + self._partial = bytearray() + self._state = WSParserState.READ_HEADER + + self._opcode: Optional[int] = None + self._frame_fin = False + self._frame_opcode: Optional[int] = None + self._frame_payload = bytearray() + + self._tail = b"" + self._has_mask = False + self._frame_mask: Optional[bytes] = None + self._payload_length = 0 + self._payload_length_flag = 0 + self._compressed: Optional[bool] = None + self._decompressobj: Optional[ZLibDecompressor] = None + self._compress = compress + + def feed_eof(self) -> None: + self.queue.feed_eof() + + def feed_data(self, data: bytes) -> Tuple[bool, bytes]: + if self._exc: + return True, data + + try: + return self._feed_data(data) + except Exception as exc: + self._exc = exc + self.queue.set_exception(exc) + return True, b"" + + def _feed_data(self, data: bytes) -> Tuple[bool, bytes]: + for fin, opcode, payload, compressed in self.parse_frame(data): + if compressed and not self._decompressobj: + self._decompressobj = ZLibDecompressor(suppress_deflate_header=True) + if opcode == WSMsgType.CLOSE: + if len(payload) >= 2: + close_code = UNPACK_CLOSE_CODE(payload[:2])[0] + if close_code < 3000 and close_code not in ALLOWED_CLOSE_CODES: + raise WebSocketError( + WSCloseCode.PROTOCOL_ERROR, + f"Invalid close code: {close_code}", + ) + try: + close_message = payload[2:].decode("utf-8") + except UnicodeDecodeError as exc: + raise WebSocketError( + WSCloseCode.INVALID_TEXT, "Invalid UTF-8 text message" + ) from exc + msg = WSMessage(WSMsgType.CLOSE, close_code, close_message) + elif payload: + raise WebSocketError( + WSCloseCode.PROTOCOL_ERROR, + f"Invalid close frame: {fin} {opcode} {payload!r}", + ) + else: + msg = WSMessage(WSMsgType.CLOSE, 0, "") + + self.queue.feed_data(msg, 0) + + elif opcode == WSMsgType.PING: + self.queue.feed_data( + WSMessage(WSMsgType.PING, payload, ""), len(payload) + ) + + elif opcode == WSMsgType.PONG: + self.queue.feed_data( + WSMessage(WSMsgType.PONG, payload, ""), len(payload) + ) + + elif ( + opcode not in (WSMsgType.TEXT, WSMsgType.BINARY) + and self._opcode is None + ): + raise WebSocketError( + WSCloseCode.PROTOCOL_ERROR, f"Unexpected opcode={opcode!r}" + ) + else: + # load text/binary + if not fin: + # got partial frame payload + if opcode != WSMsgType.CONTINUATION: + self._opcode = opcode + self._partial.extend(payload) + if self._max_msg_size and len(self._partial) >= self._max_msg_size: + raise WebSocketError( + WSCloseCode.MESSAGE_TOO_BIG, + "Message size {} exceeds limit {}".format( + len(self._partial), self._max_msg_size + ), + ) + else: + # previous frame was non finished + # we should get continuation opcode + if self._partial: + if opcode != WSMsgType.CONTINUATION: + raise WebSocketError( + WSCloseCode.PROTOCOL_ERROR, + "The opcode in non-fin frame is expected " + "to be zero, got {!r}".format(opcode), + ) + + if opcode == WSMsgType.CONTINUATION: + assert self._opcode is not None + opcode = self._opcode + self._opcode = None + + self._partial.extend(payload) + if self._max_msg_size and len(self._partial) >= self._max_msg_size: + raise WebSocketError( + WSCloseCode.MESSAGE_TOO_BIG, + "Message size {} exceeds limit {}".format( + len(self._partial), self._max_msg_size + ), + ) + + # Decompress process must to be done after all packets + # received. + if compressed: + assert self._decompressobj is not None + self._partial.extend(_WS_DEFLATE_TRAILING) + payload_merged = self._decompressobj.decompress_sync( + self._partial, self._max_msg_size + ) + if self._decompressobj.unconsumed_tail: + left = len(self._decompressobj.unconsumed_tail) + raise WebSocketError( + WSCloseCode.MESSAGE_TOO_BIG, + "Decompressed message size {} exceeds limit {}".format( + self._max_msg_size + left, self._max_msg_size + ), + ) + else: + payload_merged = bytes(self._partial) + + self._partial.clear() + + if opcode == WSMsgType.TEXT: + try: + text = payload_merged.decode("utf-8") + self.queue.feed_data( + WSMessage(WSMsgType.TEXT, text, ""), len(text) + ) + except UnicodeDecodeError as exc: + raise WebSocketError( + WSCloseCode.INVALID_TEXT, "Invalid UTF-8 text message" + ) from exc + else: + self.queue.feed_data( + WSMessage(WSMsgType.BINARY, payload_merged, ""), + len(payload_merged), + ) + + return False, b"" + + def parse_frame( + self, buf: bytes + ) -> List[Tuple[bool, Optional[int], bytearray, Optional[bool]]]: + """Return the next frame from the socket.""" + frames = [] + if self._tail: + buf, self._tail = self._tail + buf, b"" + + start_pos = 0 + buf_length = len(buf) + + while True: + # read header + if self._state == WSParserState.READ_HEADER: + if buf_length - start_pos >= 2: + data = buf[start_pos : start_pos + 2] + start_pos += 2 + first_byte, second_byte = data + + fin = (first_byte >> 7) & 1 + rsv1 = (first_byte >> 6) & 1 + rsv2 = (first_byte >> 5) & 1 + rsv3 = (first_byte >> 4) & 1 + opcode = first_byte & 0xF + + # frame-fin = %x0 ; more frames of this message follow + # / %x1 ; final frame of this message + # frame-rsv1 = %x0 ; + # 1 bit, MUST be 0 unless negotiated otherwise + # frame-rsv2 = %x0 ; + # 1 bit, MUST be 0 unless negotiated otherwise + # frame-rsv3 = %x0 ; + # 1 bit, MUST be 0 unless negotiated otherwise + # + # Remove rsv1 from this test for deflate development + if rsv2 or rsv3 or (rsv1 and not self._compress): + raise WebSocketError( + WSCloseCode.PROTOCOL_ERROR, + "Received frame with non-zero reserved bits", + ) + + if opcode > 0x7 and fin == 0: + raise WebSocketError( + WSCloseCode.PROTOCOL_ERROR, + "Received fragmented control frame", + ) + + has_mask = (second_byte >> 7) & 1 + length = second_byte & 0x7F + + # Control frames MUST have a payload + # length of 125 bytes or less + if opcode > 0x7 and length > 125: + raise WebSocketError( + WSCloseCode.PROTOCOL_ERROR, + "Control frame payload cannot be " "larger than 125 bytes", + ) + + # Set compress status if last package is FIN + # OR set compress status if this is first fragment + # Raise error if not first fragment with rsv1 = 0x1 + if self._frame_fin or self._compressed is None: + self._compressed = True if rsv1 else False + elif rsv1: + raise WebSocketError( + WSCloseCode.PROTOCOL_ERROR, + "Received frame with non-zero reserved bits", + ) + + self._frame_fin = bool(fin) + self._frame_opcode = opcode + self._has_mask = bool(has_mask) + self._payload_length_flag = length + self._state = WSParserState.READ_PAYLOAD_LENGTH + else: + break + + # read payload length + if self._state == WSParserState.READ_PAYLOAD_LENGTH: + length = self._payload_length_flag + if length == 126: + if buf_length - start_pos >= 2: + data = buf[start_pos : start_pos + 2] + start_pos += 2 + length = UNPACK_LEN2(data)[0] + self._payload_length = length + self._state = ( + WSParserState.READ_PAYLOAD_MASK + if self._has_mask + else WSParserState.READ_PAYLOAD + ) + else: + break + elif length > 126: + if buf_length - start_pos >= 8: + data = buf[start_pos : start_pos + 8] + start_pos += 8 + length = UNPACK_LEN3(data)[0] + self._payload_length = length + self._state = ( + WSParserState.READ_PAYLOAD_MASK + if self._has_mask + else WSParserState.READ_PAYLOAD + ) + else: + break + else: + self._payload_length = length + self._state = ( + WSParserState.READ_PAYLOAD_MASK + if self._has_mask + else WSParserState.READ_PAYLOAD + ) + + # read payload mask + if self._state == WSParserState.READ_PAYLOAD_MASK: + if buf_length - start_pos >= 4: + self._frame_mask = buf[start_pos : start_pos + 4] + start_pos += 4 + self._state = WSParserState.READ_PAYLOAD + else: + break + + if self._state == WSParserState.READ_PAYLOAD: + length = self._payload_length + payload = self._frame_payload + + chunk_len = buf_length - start_pos + if length >= chunk_len: + self._payload_length = length - chunk_len + payload.extend(buf[start_pos:]) + start_pos = buf_length + else: + self._payload_length = 0 + payload.extend(buf[start_pos : start_pos + length]) + start_pos = start_pos + length + + if self._payload_length == 0: + if self._has_mask: + assert self._frame_mask is not None + _websocket_mask(self._frame_mask, payload) + + frames.append( + (self._frame_fin, self._frame_opcode, payload, self._compressed) + ) + + self._frame_payload = bytearray() + self._state = WSParserState.READ_HEADER + else: + break + + self._tail = buf[start_pos:] + + return frames + + +class WebSocketWriter: + def __init__( + self, + protocol: BaseProtocol, + transport: asyncio.Transport, + *, + use_mask: bool = False, + limit: int = DEFAULT_LIMIT, + random: Any = random.Random(), + compress: int = 0, + notakeover: bool = False, + ) -> None: + self.protocol = protocol + self.transport = transport + self.use_mask = use_mask + self.randrange = random.randrange + self.compress = compress + self.notakeover = notakeover + self._closing = False + self._limit = limit + self._output_size = 0 + self._compressobj: Any = None # actually compressobj + + async def _send_frame( + self, message: bytes, opcode: int, compress: Optional[int] = None + ) -> None: + """Send a frame over the websocket with message as its payload.""" + if self._closing and not (opcode & WSMsgType.CLOSE): + raise ConnectionResetError("Cannot write to closing transport") + + rsv = 0 + + # Only compress larger packets (disabled) + # Does small packet needs to be compressed? + # if self.compress and opcode < 8 and len(message) > 124: + if (compress or self.compress) and opcode < 8: + if compress: + # Do not set self._compress if compressing is for this frame + compressobj = self._make_compress_obj(compress) + else: # self.compress + if not self._compressobj: + self._compressobj = self._make_compress_obj(self.compress) + compressobj = self._compressobj + + message = await compressobj.compress(message) + # Its critical that we do not return control to the event + # loop until we have finished sending all the compressed + # data. Otherwise we could end up mixing compressed frames + # if there are multiple coroutines compressing data. + message += compressobj.flush( + zlib.Z_FULL_FLUSH if self.notakeover else zlib.Z_SYNC_FLUSH + ) + if message.endswith(_WS_DEFLATE_TRAILING): + message = message[:-4] + rsv = rsv | 0x40 + + msg_length = len(message) + + use_mask = self.use_mask + if use_mask: + mask_bit = 0x80 + else: + mask_bit = 0 + + if msg_length < 126: + header = PACK_LEN1(0x80 | rsv | opcode, msg_length | mask_bit) + elif msg_length < (1 << 16): + header = PACK_LEN2(0x80 | rsv | opcode, 126 | mask_bit, msg_length) + else: + header = PACK_LEN3(0x80 | rsv | opcode, 127 | mask_bit, msg_length) + if use_mask: + mask = self.randrange(0, 0xFFFFFFFF) + mask = mask.to_bytes(4, "big") + message = bytearray(message) + _websocket_mask(mask, message) + self._write(header + mask + message) + self._output_size += len(header) + len(mask) + len(message) + else: + if len(message) > MSG_SIZE: + self._write(header) + self._write(message) + else: + self._write(header + message) + + self._output_size += len(header) + len(message) + + # It is safe to return control to the event loop when using compression + # after this point as we have already sent or buffered all the data. + + if self._output_size > self._limit: + self._output_size = 0 + await self.protocol._drain_helper() + + def _make_compress_obj(self, compress: int) -> ZLibCompressor: + return ZLibCompressor( + level=zlib.Z_BEST_SPEED, + wbits=-compress, + max_sync_chunk_size=WEBSOCKET_MAX_SYNC_CHUNK_SIZE, + ) + + def _write(self, data: bytes) -> None: + if self.transport is None or self.transport.is_closing(): + raise ConnectionResetError("Cannot write to closing transport") + self.transport.write(data) + + async def pong(self, message: Union[bytes, str] = b"") -> None: + """Send pong message.""" + if isinstance(message, str): + message = message.encode("utf-8") + await self._send_frame(message, WSMsgType.PONG) + + async def ping(self, message: Union[bytes, str] = b"") -> None: + """Send ping message.""" + if isinstance(message, str): + message = message.encode("utf-8") + await self._send_frame(message, WSMsgType.PING) + + async def send( + self, + message: Union[str, bytes], + binary: bool = False, + compress: Optional[int] = None, + ) -> None: + """Send a frame over the websocket with message as its payload.""" + if isinstance(message, str): + message = message.encode("utf-8") + if binary: + await self._send_frame(message, WSMsgType.BINARY, compress) + else: + await self._send_frame(message, WSMsgType.TEXT, compress) + + async def close(self, code: int = 1000, message: Union[bytes, str] = b"") -> None: + """Close the websocket, sending the specified code and message.""" + if isinstance(message, str): + message = message.encode("utf-8") + try: + await self._send_frame( + PACK_CLOSE_CODE(code) + message, opcode=WSMsgType.CLOSE + ) + finally: + self._closing = True diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_writer.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_writer.py new file mode 100644 index 0000000000000000000000000000000000000000..d6b02e6f566c32b9a1bddad0f40d859a87a041fc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/http_writer.py @@ -0,0 +1,198 @@ +"""Http related parsers and protocol.""" + +import asyncio +import zlib +from typing import Any, Awaitable, Callable, NamedTuple, Optional, Union # noqa + +from multidict import CIMultiDict + +from .abc import AbstractStreamWriter +from .base_protocol import BaseProtocol +from .compression_utils import ZLibCompressor +from .helpers import NO_EXTENSIONS + +__all__ = ("StreamWriter", "HttpVersion", "HttpVersion10", "HttpVersion11") + + +class HttpVersion(NamedTuple): + major: int + minor: int + + +HttpVersion10 = HttpVersion(1, 0) +HttpVersion11 = HttpVersion(1, 1) + + +_T_OnChunkSent = Optional[Callable[[bytes], Awaitable[None]]] +_T_OnHeadersSent = Optional[Callable[["CIMultiDict[str]"], Awaitable[None]]] + + +class StreamWriter(AbstractStreamWriter): + def __init__( + self, + protocol: BaseProtocol, + loop: asyncio.AbstractEventLoop, + on_chunk_sent: _T_OnChunkSent = None, + on_headers_sent: _T_OnHeadersSent = None, + ) -> None: + self._protocol = protocol + + self.loop = loop + self.length = None + self.chunked = False + self.buffer_size = 0 + self.output_size = 0 + + self._eof = False + self._compress: Optional[ZLibCompressor] = None + self._drain_waiter = None + + self._on_chunk_sent: _T_OnChunkSent = on_chunk_sent + self._on_headers_sent: _T_OnHeadersSent = on_headers_sent + + @property + def transport(self) -> Optional[asyncio.Transport]: + return self._protocol.transport + + @property + def protocol(self) -> BaseProtocol: + return self._protocol + + def enable_chunking(self) -> None: + self.chunked = True + + def enable_compression( + self, encoding: str = "deflate", strategy: int = zlib.Z_DEFAULT_STRATEGY + ) -> None: + self._compress = ZLibCompressor(encoding=encoding, strategy=strategy) + + def _write(self, chunk: bytes) -> None: + size = len(chunk) + self.buffer_size += size + self.output_size += size + transport = self.transport + if not self._protocol.connected or transport is None or transport.is_closing(): + raise ConnectionResetError("Cannot write to closing transport") + transport.write(chunk) + + async def write( + self, chunk: bytes, *, drain: bool = True, LIMIT: int = 0x10000 + ) -> None: + """Writes chunk of data to a stream. + + write_eof() indicates end of stream. + writer can't be used after write_eof() method being called. + write() return drain future. + """ + if self._on_chunk_sent is not None: + await self._on_chunk_sent(chunk) + + if isinstance(chunk, memoryview): + if chunk.nbytes != len(chunk): + # just reshape it + chunk = chunk.cast("c") + + if self._compress is not None: + chunk = await self._compress.compress(chunk) + if not chunk: + return + + if self.length is not None: + chunk_len = len(chunk) + if self.length >= chunk_len: + self.length = self.length - chunk_len + else: + chunk = chunk[: self.length] + self.length = 0 + if not chunk: + return + + if chunk: + if self.chunked: + chunk_len_pre = ("%x\r\n" % len(chunk)).encode("ascii") + chunk = chunk_len_pre + chunk + b"\r\n" + + self._write(chunk) + + if self.buffer_size > LIMIT and drain: + self.buffer_size = 0 + await self.drain() + + async def write_headers( + self, status_line: str, headers: "CIMultiDict[str]" + ) -> None: + """Write request/response status and headers.""" + if self._on_headers_sent is not None: + await self._on_headers_sent(headers) + + # status + headers + buf = _serialize_headers(status_line, headers) + self._write(buf) + + async def write_eof(self, chunk: bytes = b"") -> None: + if self._eof: + return + + if chunk and self._on_chunk_sent is not None: + await self._on_chunk_sent(chunk) + + if self._compress: + if chunk: + chunk = await self._compress.compress(chunk) + + chunk += self._compress.flush() + if chunk and self.chunked: + chunk_len = ("%x\r\n" % len(chunk)).encode("ascii") + chunk = chunk_len + chunk + b"\r\n0\r\n\r\n" + else: + if self.chunked: + if chunk: + chunk_len = ("%x\r\n" % len(chunk)).encode("ascii") + chunk = chunk_len + chunk + b"\r\n0\r\n\r\n" + else: + chunk = b"0\r\n\r\n" + + if chunk: + self._write(chunk) + + await self.drain() + + self._eof = True + + async def drain(self) -> None: + """Flush the write buffer. + + The intended use is to write + + await w.write(data) + await w.drain() + """ + if self._protocol.transport is not None: + await self._protocol._drain_helper() + + +def _safe_header(string: str) -> str: + if "\r" in string or "\n" in string: + raise ValueError( + "Newline or carriage return detected in headers. " + "Potential header injection attack." + ) + return string + + +def _py_serialize_headers(status_line: str, headers: "CIMultiDict[str]") -> bytes: + headers_gen = (_safe_header(k) + ": " + _safe_header(v) for k, v in headers.items()) + line = status_line + "\r\n" + "\r\n".join(headers_gen) + "\r\n\r\n" + return line.encode("utf-8") + + +_serialize_headers = _py_serialize_headers + +try: + import aiohttp._http_writer as _http_writer # type: ignore[import-not-found] + + _c_serialize_headers = _http_writer._serialize_headers + if not NO_EXTENSIONS: + _serialize_headers = _c_serialize_headers +except ImportError: + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/locks.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/locks.py new file mode 100644 index 0000000000000000000000000000000000000000..de2dc83d09dd950fc1ed8d7edaeb20e7697c94ba --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/locks.py @@ -0,0 +1,41 @@ +import asyncio +import collections +from typing import Any, Deque, Optional + + +class EventResultOrError: + """Event asyncio lock helper class. + + Wraps the Event asyncio lock allowing either to awake the + locked Tasks without any error or raising an exception. + + thanks to @vorpalsmith for the simple design. + """ + + def __init__(self, loop: asyncio.AbstractEventLoop) -> None: + self._loop = loop + self._exc: Optional[BaseException] = None + self._event = asyncio.Event() + self._waiters: Deque[asyncio.Future[Any]] = collections.deque() + + def set(self, exc: Optional[BaseException] = None) -> None: + self._exc = exc + self._event.set() + + async def wait(self) -> Any: + waiter = self._loop.create_task(self._event.wait()) + self._waiters.append(waiter) + try: + val = await waiter + finally: + self._waiters.remove(waiter) + + if self._exc is not None: + raise self._exc + + return val + + def cancel(self) -> None: + """Cancel all waiters""" + for waiter in self._waiters: + waiter.cancel() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/log.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/log.py new file mode 100644 index 0000000000000000000000000000000000000000..3cecea2bac185df741bccd0a32a5fef9cfe23299 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/log.py @@ -0,0 +1,8 @@ +import logging + +access_logger = logging.getLogger("aiohttp.access") +client_logger = logging.getLogger("aiohttp.client") +internal_logger = logging.getLogger("aiohttp.internal") +server_logger = logging.getLogger("aiohttp.server") +web_logger = logging.getLogger("aiohttp.web") +ws_logger = logging.getLogger("aiohttp.websocket") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/multipart.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/multipart.py new file mode 100644 index 0000000000000000000000000000000000000000..3a8793398d591949a01b2724a6c49f484e535372 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/multipart.py @@ -0,0 +1,969 @@ +import base64 +import binascii +import json +import re +import uuid +import warnings +import zlib +from collections import deque +from types import TracebackType +from typing import ( + TYPE_CHECKING, + Any, + AsyncIterator, + Deque, + Dict, + Iterator, + List, + Mapping, + Optional, + Sequence, + Tuple, + Type, + Union, + cast, +) +from urllib.parse import parse_qsl, unquote, urlencode + +from multidict import CIMultiDict, CIMultiDictProxy, MultiMapping + +from .compression_utils import ZLibCompressor, ZLibDecompressor +from .hdrs import ( + CONTENT_DISPOSITION, + CONTENT_ENCODING, + CONTENT_LENGTH, + CONTENT_TRANSFER_ENCODING, + CONTENT_TYPE, +) +from .helpers import CHAR, TOKEN, parse_mimetype, reify +from .http import HeadersParser +from .payload import ( + JsonPayload, + LookupError, + Order, + Payload, + StringPayload, + get_payload, + payload_type, +) +from .streams import StreamReader + +__all__ = ( + "MultipartReader", + "MultipartWriter", + "BodyPartReader", + "BadContentDispositionHeader", + "BadContentDispositionParam", + "parse_content_disposition", + "content_disposition_filename", +) + + +if TYPE_CHECKING: # pragma: no cover + from .client_reqrep import ClientResponse + + +class BadContentDispositionHeader(RuntimeWarning): + pass + + +class BadContentDispositionParam(RuntimeWarning): + pass + + +def parse_content_disposition( + header: Optional[str], +) -> Tuple[Optional[str], Dict[str, str]]: + def is_token(string: str) -> bool: + return bool(string) and TOKEN >= set(string) + + def is_quoted(string: str) -> bool: + return string[0] == string[-1] == '"' + + def is_rfc5987(string: str) -> bool: + return is_token(string) and string.count("'") == 2 + + def is_extended_param(string: str) -> bool: + return string.endswith("*") + + def is_continuous_param(string: str) -> bool: + pos = string.find("*") + 1 + if not pos: + return False + substring = string[pos:-1] if string.endswith("*") else string[pos:] + return substring.isdigit() + + def unescape(text: str, *, chars: str = "".join(map(re.escape, CHAR))) -> str: + return re.sub(f"\\\\([{chars}])", "\\1", text) + + if not header: + return None, {} + + disptype, *parts = header.split(";") + if not is_token(disptype): + warnings.warn(BadContentDispositionHeader(header)) + return None, {} + + params: Dict[str, str] = {} + while parts: + item = parts.pop(0) + + if "=" not in item: + warnings.warn(BadContentDispositionHeader(header)) + return None, {} + + key, value = item.split("=", 1) + key = key.lower().strip() + value = value.lstrip() + + if key in params: + warnings.warn(BadContentDispositionHeader(header)) + return None, {} + + if not is_token(key): + warnings.warn(BadContentDispositionParam(item)) + continue + + elif is_continuous_param(key): + if is_quoted(value): + value = unescape(value[1:-1]) + elif not is_token(value): + warnings.warn(BadContentDispositionParam(item)) + continue + + elif is_extended_param(key): + if is_rfc5987(value): + encoding, _, value = value.split("'", 2) + encoding = encoding or "utf-8" + else: + warnings.warn(BadContentDispositionParam(item)) + continue + + try: + value = unquote(value, encoding, "strict") + except UnicodeDecodeError: # pragma: nocover + warnings.warn(BadContentDispositionParam(item)) + continue + + else: + failed = True + if is_quoted(value): + failed = False + value = unescape(value[1:-1].lstrip("\\/")) + elif is_token(value): + failed = False + elif parts: + # maybe just ; in filename, in any case this is just + # one case fix, for proper fix we need to redesign parser + _value = f"{value};{parts[0]}" + if is_quoted(_value): + parts.pop(0) + value = unescape(_value[1:-1].lstrip("\\/")) + failed = False + + if failed: + warnings.warn(BadContentDispositionHeader(header)) + return None, {} + + params[key] = value + + return disptype.lower(), params + + +def content_disposition_filename( + params: Mapping[str, str], name: str = "filename" +) -> Optional[str]: + name_suf = "%s*" % name + if not params: + return None + elif name_suf in params: + return params[name_suf] + elif name in params: + return params[name] + else: + parts = [] + fnparams = sorted( + (key, value) for key, value in params.items() if key.startswith(name_suf) + ) + for num, (key, value) in enumerate(fnparams): + _, tail = key.split("*", 1) + if tail.endswith("*"): + tail = tail[:-1] + if tail == str(num): + parts.append(value) + else: + break + if not parts: + return None + value = "".join(parts) + if "'" in value: + encoding, _, value = value.split("'", 2) + encoding = encoding or "utf-8" + return unquote(value, encoding, "strict") + return value + + +class MultipartResponseWrapper: + """Wrapper around the MultipartReader. + + It takes care about + underlying connection and close it when it needs in. + """ + + def __init__( + self, + resp: "ClientResponse", + stream: "MultipartReader", + ) -> None: + self.resp = resp + self.stream = stream + + def __aiter__(self) -> "MultipartResponseWrapper": + return self + + async def __anext__( + self, + ) -> Union["MultipartReader", "BodyPartReader"]: + part = await self.next() + if part is None: + raise StopAsyncIteration + return part + + def at_eof(self) -> bool: + """Returns True when all response data had been read.""" + return self.resp.content.at_eof() + + async def next( + self, + ) -> Optional[Union["MultipartReader", "BodyPartReader"]]: + """Emits next multipart reader object.""" + item = await self.stream.next() + if self.stream.at_eof(): + await self.release() + return item + + async def release(self) -> None: + """Release the connection gracefully. + + All remaining content is read to the void. + """ + await self.resp.release() + + +class BodyPartReader: + """Multipart reader for single body part.""" + + chunk_size = 8192 + + def __init__( + self, boundary: bytes, headers: "CIMultiDictProxy[str]", content: StreamReader + ) -> None: + self.headers = headers + self._boundary = boundary + self._content = content + self._at_eof = False + length = self.headers.get(CONTENT_LENGTH, None) + self._length = int(length) if length is not None else None + self._read_bytes = 0 + self._unread: Deque[bytes] = deque() + self._prev_chunk: Optional[bytes] = None + self._content_eof = 0 + self._cache: Dict[str, Any] = {} + + def __aiter__(self) -> AsyncIterator["BodyPartReader"]: + return self # type: ignore[return-value] + + async def __anext__(self) -> bytes: + part = await self.next() + if part is None: + raise StopAsyncIteration + return part + + async def next(self) -> Optional[bytes]: + item = await self.read() + if not item: + return None + return item + + async def read(self, *, decode: bool = False) -> bytes: + """Reads body part data. + + decode: Decodes data following by encoding + method from Content-Encoding header. If it missed + data remains untouched + """ + if self._at_eof: + return b"" + data = bytearray() + while not self._at_eof: + data.extend(await self.read_chunk(self.chunk_size)) + if decode: + return self.decode(data) + return data + + async def read_chunk(self, size: int = chunk_size) -> bytes: + """Reads body part content chunk of the specified size. + + size: chunk size + """ + if self._at_eof: + return b"" + if self._length: + chunk = await self._read_chunk_from_length(size) + else: + chunk = await self._read_chunk_from_stream(size) + + self._read_bytes += len(chunk) + if self._read_bytes == self._length: + self._at_eof = True + if self._at_eof: + clrf = await self._content.readline() + assert ( + b"\r\n" == clrf + ), "reader did not read all the data or it is malformed" + return chunk + + async def _read_chunk_from_length(self, size: int) -> bytes: + # Reads body part content chunk of the specified size. + # The body part must has Content-Length header with proper value. + assert self._length is not None, "Content-Length required for chunked read" + chunk_size = min(size, self._length - self._read_bytes) + chunk = await self._content.read(chunk_size) + return chunk + + async def _read_chunk_from_stream(self, size: int) -> bytes: + # Reads content chunk of body part with unknown length. + # The Content-Length header for body part is not necessary. + assert ( + size >= len(self._boundary) + 2 + ), "Chunk size must be greater or equal than boundary length + 2" + first_chunk = self._prev_chunk is None + if first_chunk: + self._prev_chunk = await self._content.read(size) + + chunk = await self._content.read(size) + self._content_eof += int(self._content.at_eof()) + assert self._content_eof < 3, "Reading after EOF" + assert self._prev_chunk is not None + window = self._prev_chunk + chunk + sub = b"\r\n" + self._boundary + if first_chunk: + idx = window.find(sub) + else: + idx = window.find(sub, max(0, len(self._prev_chunk) - len(sub))) + if idx >= 0: + # pushing boundary back to content + with warnings.catch_warnings(): + warnings.filterwarnings("ignore", category=DeprecationWarning) + self._content.unread_data(window[idx:]) + if size > idx: + self._prev_chunk = self._prev_chunk[:idx] + chunk = window[len(self._prev_chunk) : idx] + if not chunk: + self._at_eof = True + result = self._prev_chunk + self._prev_chunk = chunk + return result + + async def readline(self) -> bytes: + """Reads body part by line by line.""" + if self._at_eof: + return b"" + + if self._unread: + line = self._unread.popleft() + else: + line = await self._content.readline() + + if line.startswith(self._boundary): + # the very last boundary may not come with \r\n, + # so set single rules for everyone + sline = line.rstrip(b"\r\n") + boundary = self._boundary + last_boundary = self._boundary + b"--" + # ensure that we read exactly the boundary, not something alike + if sline == boundary or sline == last_boundary: + self._at_eof = True + self._unread.append(line) + return b"" + else: + next_line = await self._content.readline() + if next_line.startswith(self._boundary): + line = line[:-2] # strip CRLF but only once + self._unread.append(next_line) + + return line + + async def release(self) -> None: + """Like read(), but reads all the data to the void.""" + if self._at_eof: + return + while not self._at_eof: + await self.read_chunk(self.chunk_size) + + async def text(self, *, encoding: Optional[str] = None) -> str: + """Like read(), but assumes that body part contains text data.""" + data = await self.read(decode=True) + # see https://www.w3.org/TR/html5/forms.html#multipart/form-data-encoding-algorithm + # and https://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#dom-xmlhttprequest-send + encoding = encoding or self.get_charset(default="utf-8") + return data.decode(encoding) + + async def json(self, *, encoding: Optional[str] = None) -> Optional[Dict[str, Any]]: + """Like read(), but assumes that body parts contains JSON data.""" + data = await self.read(decode=True) + if not data: + return None + encoding = encoding or self.get_charset(default="utf-8") + return cast(Dict[str, Any], json.loads(data.decode(encoding))) + + async def form(self, *, encoding: Optional[str] = None) -> List[Tuple[str, str]]: + """Like read(), but assumes that body parts contain form urlencoded data.""" + data = await self.read(decode=True) + if not data: + return [] + if encoding is not None: + real_encoding = encoding + else: + real_encoding = self.get_charset(default="utf-8") + try: + decoded_data = data.rstrip().decode(real_encoding) + except UnicodeDecodeError: + raise ValueError("data cannot be decoded with %s encoding" % real_encoding) + + return parse_qsl( + decoded_data, + keep_blank_values=True, + encoding=real_encoding, + ) + + def at_eof(self) -> bool: + """Returns True if the boundary was reached or False otherwise.""" + return self._at_eof + + def decode(self, data: bytes) -> bytes: + """Decodes data. + + Decoding is done according the specified Content-Encoding + or Content-Transfer-Encoding headers value. + """ + if CONTENT_TRANSFER_ENCODING in self.headers: + data = self._decode_content_transfer(data) + if CONTENT_ENCODING in self.headers: + return self._decode_content(data) + return data + + def _decode_content(self, data: bytes) -> bytes: + encoding = self.headers.get(CONTENT_ENCODING, "").lower() + if encoding == "identity": + return data + if encoding in {"deflate", "gzip"}: + return ZLibDecompressor( + encoding=encoding, + suppress_deflate_header=True, + ).decompress_sync(data) + + raise RuntimeError(f"unknown content encoding: {encoding}") + + def _decode_content_transfer(self, data: bytes) -> bytes: + encoding = self.headers.get(CONTENT_TRANSFER_ENCODING, "").lower() + + if encoding == "base64": + return base64.b64decode(data) + elif encoding == "quoted-printable": + return binascii.a2b_qp(data) + elif encoding in ("binary", "8bit", "7bit"): + return data + else: + raise RuntimeError( + "unknown content transfer encoding: {}" "".format(encoding) + ) + + def get_charset(self, default: str) -> str: + """Returns charset parameter from Content-Type header or default.""" + ctype = self.headers.get(CONTENT_TYPE, "") + mimetype = parse_mimetype(ctype) + return mimetype.parameters.get("charset", default) + + @reify + def name(self) -> Optional[str]: + """Returns name specified in Content-Disposition header. + + If the header is missing or malformed, returns None. + """ + _, params = parse_content_disposition(self.headers.get(CONTENT_DISPOSITION)) + return content_disposition_filename(params, "name") + + @reify + def filename(self) -> Optional[str]: + """Returns filename specified in Content-Disposition header. + + Returns None if the header is missing or malformed. + """ + _, params = parse_content_disposition(self.headers.get(CONTENT_DISPOSITION)) + return content_disposition_filename(params, "filename") + + +@payload_type(BodyPartReader, order=Order.try_first) +class BodyPartReaderPayload(Payload): + def __init__(self, value: BodyPartReader, *args: Any, **kwargs: Any) -> None: + super().__init__(value, *args, **kwargs) + + params: Dict[str, str] = {} + if value.name is not None: + params["name"] = value.name + if value.filename is not None: + params["filename"] = value.filename + + if params: + self.set_content_disposition("attachment", True, **params) + + async def write(self, writer: Any) -> None: + field = self._value + chunk = await field.read_chunk(size=2**16) + while chunk: + await writer.write(field.decode(chunk)) + chunk = await field.read_chunk(size=2**16) + + +class MultipartReader: + """Multipart body reader.""" + + #: Response wrapper, used when multipart readers constructs from response. + response_wrapper_cls = MultipartResponseWrapper + #: Multipart reader class, used to handle multipart/* body parts. + #: None points to type(self) + multipart_reader_cls = None + #: Body part reader class for non multipart/* content types. + part_reader_cls = BodyPartReader + + def __init__(self, headers: Mapping[str, str], content: StreamReader) -> None: + self.headers = headers + self._boundary = ("--" + self._get_boundary()).encode() + self._content = content + self._last_part: Optional[Union["MultipartReader", BodyPartReader]] = None + self._at_eof = False + self._at_bof = True + self._unread: List[bytes] = [] + + def __aiter__( + self, + ) -> AsyncIterator["BodyPartReader"]: + return self # type: ignore[return-value] + + async def __anext__( + self, + ) -> Optional[Union["MultipartReader", BodyPartReader]]: + part = await self.next() + if part is None: + raise StopAsyncIteration + return part + + @classmethod + def from_response( + cls, + response: "ClientResponse", + ) -> MultipartResponseWrapper: + """Constructs reader instance from HTTP response. + + :param response: :class:`~aiohttp.client.ClientResponse` instance + """ + obj = cls.response_wrapper_cls( + response, cls(response.headers, response.content) + ) + return obj + + def at_eof(self) -> bool: + """Returns True if the final boundary was reached, false otherwise.""" + return self._at_eof + + async def next( + self, + ) -> Optional[Union["MultipartReader", BodyPartReader]]: + """Emits the next multipart body part.""" + # So, if we're at BOF, we need to skip till the boundary. + if self._at_eof: + return None + await self._maybe_release_last_part() + if self._at_bof: + await self._read_until_first_boundary() + self._at_bof = False + else: + await self._read_boundary() + if self._at_eof: # we just read the last boundary, nothing to do there + return None + self._last_part = await self.fetch_next_part() + return self._last_part + + async def release(self) -> None: + """Reads all the body parts to the void till the final boundary.""" + while not self._at_eof: + item = await self.next() + if item is None: + break + await item.release() + + async def fetch_next_part( + self, + ) -> Union["MultipartReader", BodyPartReader]: + """Returns the next body part reader.""" + headers = await self._read_headers() + return self._get_part_reader(headers) + + def _get_part_reader( + self, + headers: "CIMultiDictProxy[str]", + ) -> Union["MultipartReader", BodyPartReader]: + """Dispatches the response by the `Content-Type` header. + + Returns a suitable reader instance. + + :param dict headers: Response headers + """ + ctype = headers.get(CONTENT_TYPE, "") + mimetype = parse_mimetype(ctype) + + if mimetype.type == "multipart": + if self.multipart_reader_cls is None: + return type(self)(headers, self._content) + return self.multipart_reader_cls(headers, self._content) + else: + return self.part_reader_cls(self._boundary, headers, self._content) + + def _get_boundary(self) -> str: + mimetype = parse_mimetype(self.headers[CONTENT_TYPE]) + + assert mimetype.type == "multipart", "multipart/* content type expected" + + if "boundary" not in mimetype.parameters: + raise ValueError( + "boundary missed for Content-Type: %s" % self.headers[CONTENT_TYPE] + ) + + boundary = mimetype.parameters["boundary"] + if len(boundary) > 70: + raise ValueError("boundary %r is too long (70 chars max)" % boundary) + + return boundary + + async def _readline(self) -> bytes: + if self._unread: + return self._unread.pop() + return await self._content.readline() + + async def _read_until_first_boundary(self) -> None: + while True: + chunk = await self._readline() + if chunk == b"": + raise ValueError( + "Could not find starting boundary %r" % (self._boundary) + ) + chunk = chunk.rstrip() + if chunk == self._boundary: + return + elif chunk == self._boundary + b"--": + self._at_eof = True + return + + async def _read_boundary(self) -> None: + chunk = (await self._readline()).rstrip() + if chunk == self._boundary: + pass + elif chunk == self._boundary + b"--": + self._at_eof = True + epilogue = await self._readline() + next_line = await self._readline() + + # the epilogue is expected and then either the end of input or the + # parent multipart boundary, if the parent boundary is found then + # it should be marked as unread and handed to the parent for + # processing + if next_line[:2] == b"--": + self._unread.append(next_line) + # otherwise the request is likely missing an epilogue and both + # lines should be passed to the parent for processing + # (this handles the old behavior gracefully) + else: + self._unread.extend([next_line, epilogue]) + else: + raise ValueError(f"Invalid boundary {chunk!r}, expected {self._boundary!r}") + + async def _read_headers(self) -> "CIMultiDictProxy[str]": + lines = [b""] + while True: + chunk = await self._content.readline() + chunk = chunk.strip() + lines.append(chunk) + if not chunk: + break + parser = HeadersParser() + headers, raw_headers = parser.parse_headers(lines) + return headers + + async def _maybe_release_last_part(self) -> None: + """Ensures that the last read body part is read completely.""" + if self._last_part is not None: + if not self._last_part.at_eof(): + await self._last_part.release() + self._unread.extend(self._last_part._unread) + self._last_part = None + + +_Part = Tuple[Payload, str, str] + + +class MultipartWriter(Payload): + """Multipart body writer.""" + + def __init__(self, subtype: str = "mixed", boundary: Optional[str] = None) -> None: + boundary = boundary if boundary is not None else uuid.uuid4().hex + # The underlying Payload API demands a str (utf-8), not bytes, + # so we need to ensure we don't lose anything during conversion. + # As a result, require the boundary to be ASCII only. + # In both situations. + + try: + self._boundary = boundary.encode("ascii") + except UnicodeEncodeError: + raise ValueError("boundary should contain ASCII only chars") from None + ctype = f"multipart/{subtype}; boundary={self._boundary_value}" + + super().__init__(None, content_type=ctype) + + self._parts: List[_Part] = [] + + def __enter__(self) -> "MultipartWriter": + return self + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + pass + + def __iter__(self) -> Iterator[_Part]: + return iter(self._parts) + + def __len__(self) -> int: + return len(self._parts) + + def __bool__(self) -> bool: + return True + + _valid_tchar_regex = re.compile(rb"\A[!#$%&'*+\-.^_`|~\w]+\Z") + _invalid_qdtext_char_regex = re.compile(rb"[\x00-\x08\x0A-\x1F\x7F]") + + @property + def _boundary_value(self) -> str: + """Wrap boundary parameter value in quotes, if necessary. + + Reads self.boundary and returns a unicode string. + """ + # Refer to RFCs 7231, 7230, 5234. + # + # parameter = token "=" ( token / quoted-string ) + # token = 1*tchar + # quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE + # qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text + # obs-text = %x80-FF + # quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) + # tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" + # / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" + # / DIGIT / ALPHA + # ; any VCHAR, except delimiters + # VCHAR = %x21-7E + value = self._boundary + if re.match(self._valid_tchar_regex, value): + return value.decode("ascii") # cannot fail + + if re.search(self._invalid_qdtext_char_regex, value): + raise ValueError("boundary value contains invalid characters") + + # escape %x5C and %x22 + quoted_value_content = value.replace(b"\\", b"\\\\") + quoted_value_content = quoted_value_content.replace(b'"', b'\\"') + + return '"' + quoted_value_content.decode("ascii") + '"' + + @property + def boundary(self) -> str: + return self._boundary.decode("ascii") + + def append(self, obj: Any, headers: Optional[MultiMapping[str]] = None) -> Payload: + if headers is None: + headers = CIMultiDict() + + if isinstance(obj, Payload): + obj.headers.update(headers) + return self.append_payload(obj) + else: + try: + payload = get_payload(obj, headers=headers) + except LookupError: + raise TypeError("Cannot create payload from %r" % obj) + else: + return self.append_payload(payload) + + def append_payload(self, payload: Payload) -> Payload: + """Adds a new body part to multipart writer.""" + # compression + encoding: Optional[str] = payload.headers.get( + CONTENT_ENCODING, + "", + ).lower() + if encoding and encoding not in ("deflate", "gzip", "identity"): + raise RuntimeError(f"unknown content encoding: {encoding}") + if encoding == "identity": + encoding = None + + # te encoding + te_encoding: Optional[str] = payload.headers.get( + CONTENT_TRANSFER_ENCODING, + "", + ).lower() + if te_encoding not in ("", "base64", "quoted-printable", "binary"): + raise RuntimeError( + "unknown content transfer encoding: {}" "".format(te_encoding) + ) + if te_encoding == "binary": + te_encoding = None + + # size + size = payload.size + if size is not None and not (encoding or te_encoding): + payload.headers[CONTENT_LENGTH] = str(size) + + self._parts.append((payload, encoding, te_encoding)) # type: ignore[arg-type] + return payload + + def append_json( + self, obj: Any, headers: Optional[MultiMapping[str]] = None + ) -> Payload: + """Helper to append JSON part.""" + if headers is None: + headers = CIMultiDict() + + return self.append_payload(JsonPayload(obj, headers=headers)) + + def append_form( + self, + obj: Union[Sequence[Tuple[str, str]], Mapping[str, str]], + headers: Optional[MultiMapping[str]] = None, + ) -> Payload: + """Helper to append form urlencoded part.""" + assert isinstance(obj, (Sequence, Mapping)) + + if headers is None: + headers = CIMultiDict() + + if isinstance(obj, Mapping): + obj = list(obj.items()) + data = urlencode(obj, doseq=True) + + return self.append_payload( + StringPayload( + data, headers=headers, content_type="application/x-www-form-urlencoded" + ) + ) + + @property + def size(self) -> Optional[int]: + """Size of the payload.""" + total = 0 + for part, encoding, te_encoding in self._parts: + if encoding or te_encoding or part.size is None: + return None + + total += int( + 2 + + len(self._boundary) + + 2 + + part.size # b'--'+self._boundary+b'\r\n' + + len(part._binary_headers) + + 2 # b'\r\n' + ) + + total += 2 + len(self._boundary) + 4 # b'--'+self._boundary+b'--\r\n' + return total + + async def write(self, writer: Any, close_boundary: bool = True) -> None: + """Write body.""" + for part, encoding, te_encoding in self._parts: + await writer.write(b"--" + self._boundary + b"\r\n") + await writer.write(part._binary_headers) + + if encoding or te_encoding: + w = MultipartPayloadWriter(writer) + if encoding: + w.enable_compression(encoding) + if te_encoding: + w.enable_encoding(te_encoding) + await part.write(w) # type: ignore[arg-type] + await w.write_eof() + else: + await part.write(writer) + + await writer.write(b"\r\n") + + if close_boundary: + await writer.write(b"--" + self._boundary + b"--\r\n") + + +class MultipartPayloadWriter: + def __init__(self, writer: Any) -> None: + self._writer = writer + self._encoding: Optional[str] = None + self._compress: Optional[ZLibCompressor] = None + self._encoding_buffer: Optional[bytearray] = None + + def enable_encoding(self, encoding: str) -> None: + if encoding == "base64": + self._encoding = encoding + self._encoding_buffer = bytearray() + elif encoding == "quoted-printable": + self._encoding = "quoted-printable" + + def enable_compression( + self, encoding: str = "deflate", strategy: int = zlib.Z_DEFAULT_STRATEGY + ) -> None: + self._compress = ZLibCompressor( + encoding=encoding, + suppress_deflate_header=True, + strategy=strategy, + ) + + async def write_eof(self) -> None: + if self._compress is not None: + chunk = self._compress.flush() + if chunk: + self._compress = None + await self.write(chunk) + + if self._encoding == "base64": + if self._encoding_buffer: + await self._writer.write(base64.b64encode(self._encoding_buffer)) + + async def write(self, chunk: bytes) -> None: + if self._compress is not None: + if chunk: + chunk = await self._compress.compress(chunk) + if not chunk: + return + + if self._encoding == "base64": + buf = self._encoding_buffer + assert buf is not None + buf.extend(chunk) + + if buf: + div, mod = divmod(len(buf), 3) + enc_chunk, self._encoding_buffer = (buf[: div * 3], buf[div * 3 :]) + if enc_chunk: + b64chunk = base64.b64encode(enc_chunk) + await self._writer.write(b64chunk) + elif self._encoding == "quoted-printable": + await self._writer.write(binascii.b2a_qp(chunk)) + else: + await self._writer.write(chunk) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/payload.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/payload.py new file mode 100644 index 0000000000000000000000000000000000000000..ba856693eed080be3154f6834f0d26bb477ccc88 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/payload.py @@ -0,0 +1,463 @@ +import asyncio +import enum +import io +import json +import mimetypes +import os +import warnings +from abc import ABC, abstractmethod +from itertools import chain +from typing import ( + IO, + TYPE_CHECKING, + Any, + ByteString, + Dict, + Final, + Iterable, + Optional, + TextIO, + Tuple, + Type, + Union, +) + +from multidict import CIMultiDict + +from . import hdrs +from .abc import AbstractStreamWriter +from .helpers import ( + _SENTINEL, + content_disposition_header, + guess_filename, + parse_mimetype, + sentinel, +) +from .streams import StreamReader +from .typedefs import JSONEncoder, _CIMultiDict + +__all__ = ( + "PAYLOAD_REGISTRY", + "get_payload", + "payload_type", + "Payload", + "BytesPayload", + "StringPayload", + "IOBasePayload", + "BytesIOPayload", + "BufferedReaderPayload", + "TextIOPayload", + "StringIOPayload", + "JsonPayload", + "AsyncIterablePayload", +) + +TOO_LARGE_BYTES_BODY: Final[int] = 2**20 # 1 MB + +if TYPE_CHECKING: # pragma: no cover + from typing import List + + +class LookupError(Exception): + pass + + +class Order(str, enum.Enum): + normal = "normal" + try_first = "try_first" + try_last = "try_last" + + +def get_payload(data: Any, *args: Any, **kwargs: Any) -> "Payload": + return PAYLOAD_REGISTRY.get(data, *args, **kwargs) + + +def register_payload( + factory: Type["Payload"], type: Any, *, order: Order = Order.normal +) -> None: + PAYLOAD_REGISTRY.register(factory, type, order=order) + + +class payload_type: + def __init__(self, type: Any, *, order: Order = Order.normal) -> None: + self.type = type + self.order = order + + def __call__(self, factory: Type["Payload"]) -> Type["Payload"]: + register_payload(factory, self.type, order=self.order) + return factory + + +PayloadType = Type["Payload"] +_PayloadRegistryItem = Tuple[PayloadType, Any] + + +class PayloadRegistry: + """Payload registry. + + note: we need zope.interface for more efficient adapter search + """ + + def __init__(self) -> None: + self._first: List[_PayloadRegistryItem] = [] + self._normal: List[_PayloadRegistryItem] = [] + self._last: List[_PayloadRegistryItem] = [] + + def get( + self, + data: Any, + *args: Any, + _CHAIN: "Type[chain[_PayloadRegistryItem]]" = chain, + **kwargs: Any, + ) -> "Payload": + if isinstance(data, Payload): + return data + for factory, type in _CHAIN(self._first, self._normal, self._last): + if isinstance(data, type): + return factory(data, *args, **kwargs) + + raise LookupError() + + def register( + self, factory: PayloadType, type: Any, *, order: Order = Order.normal + ) -> None: + if order is Order.try_first: + self._first.append((factory, type)) + elif order is Order.normal: + self._normal.append((factory, type)) + elif order is Order.try_last: + self._last.append((factory, type)) + else: + raise ValueError(f"Unsupported order {order!r}") + + +class Payload(ABC): + + _default_content_type: str = "application/octet-stream" + _size: Optional[int] = None + + def __init__( + self, + value: Any, + headers: Optional[ + Union[_CIMultiDict, Dict[str, str], Iterable[Tuple[str, str]]] + ] = None, + content_type: Union[str, None, _SENTINEL] = sentinel, + filename: Optional[str] = None, + encoding: Optional[str] = None, + **kwargs: Any, + ) -> None: + self._encoding = encoding + self._filename = filename + self._headers: _CIMultiDict = CIMultiDict() + self._value = value + if content_type is not sentinel and content_type is not None: + self._headers[hdrs.CONTENT_TYPE] = content_type + elif self._filename is not None: + content_type = mimetypes.guess_type(self._filename)[0] + if content_type is None: + content_type = self._default_content_type + self._headers[hdrs.CONTENT_TYPE] = content_type + else: + self._headers[hdrs.CONTENT_TYPE] = self._default_content_type + self._headers.update(headers or {}) + + @property + def size(self) -> Optional[int]: + """Size of the payload.""" + return self._size + + @property + def filename(self) -> Optional[str]: + """Filename of the payload.""" + return self._filename + + @property + def headers(self) -> _CIMultiDict: + """Custom item headers""" + return self._headers + + @property + def _binary_headers(self) -> bytes: + return ( + "".join([k + ": " + v + "\r\n" for k, v in self.headers.items()]).encode( + "utf-8" + ) + + b"\r\n" + ) + + @property + def encoding(self) -> Optional[str]: + """Payload encoding""" + return self._encoding + + @property + def content_type(self) -> str: + """Content type""" + return self._headers[hdrs.CONTENT_TYPE] + + def set_content_disposition( + self, + disptype: str, + quote_fields: bool = True, + _charset: str = "utf-8", + **params: Any, + ) -> None: + """Sets ``Content-Disposition`` header.""" + self._headers[hdrs.CONTENT_DISPOSITION] = content_disposition_header( + disptype, quote_fields=quote_fields, _charset=_charset, **params + ) + + @abstractmethod + async def write(self, writer: AbstractStreamWriter) -> None: + """Write payload. + + writer is an AbstractStreamWriter instance: + """ + + +class BytesPayload(Payload): + def __init__(self, value: ByteString, *args: Any, **kwargs: Any) -> None: + if not isinstance(value, (bytes, bytearray, memoryview)): + raise TypeError(f"value argument must be byte-ish, not {type(value)!r}") + + if "content_type" not in kwargs: + kwargs["content_type"] = "application/octet-stream" + + super().__init__(value, *args, **kwargs) + + if isinstance(value, memoryview): + self._size = value.nbytes + else: + self._size = len(value) + + if self._size > TOO_LARGE_BYTES_BODY: + kwargs = {"source": self} + warnings.warn( + "Sending a large body directly with raw bytes might" + " lock the event loop. You should probably pass an " + "io.BytesIO object instead", + ResourceWarning, + **kwargs, + ) + + async def write(self, writer: AbstractStreamWriter) -> None: + await writer.write(self._value) + + +class StringPayload(BytesPayload): + def __init__( + self, + value: str, + *args: Any, + encoding: Optional[str] = None, + content_type: Optional[str] = None, + **kwargs: Any, + ) -> None: + + if encoding is None: + if content_type is None: + real_encoding = "utf-8" + content_type = "text/plain; charset=utf-8" + else: + mimetype = parse_mimetype(content_type) + real_encoding = mimetype.parameters.get("charset", "utf-8") + else: + if content_type is None: + content_type = "text/plain; charset=%s" % encoding + real_encoding = encoding + + super().__init__( + value.encode(real_encoding), + encoding=real_encoding, + content_type=content_type, + *args, + **kwargs, + ) + + +class StringIOPayload(StringPayload): + def __init__(self, value: IO[str], *args: Any, **kwargs: Any) -> None: + super().__init__(value.read(), *args, **kwargs) + + +class IOBasePayload(Payload): + _value: IO[Any] + + def __init__( + self, value: IO[Any], disposition: str = "attachment", *args: Any, **kwargs: Any + ) -> None: + if "filename" not in kwargs: + kwargs["filename"] = guess_filename(value) + + super().__init__(value, *args, **kwargs) + + if self._filename is not None and disposition is not None: + if hdrs.CONTENT_DISPOSITION not in self.headers: + self.set_content_disposition(disposition, filename=self._filename) + + async def write(self, writer: AbstractStreamWriter) -> None: + loop = asyncio.get_event_loop() + try: + chunk = await loop.run_in_executor(None, self._value.read, 2**16) + while chunk: + await writer.write(chunk) + chunk = await loop.run_in_executor(None, self._value.read, 2**16) + finally: + await loop.run_in_executor(None, self._value.close) + + +class TextIOPayload(IOBasePayload): + _value: TextIO + + def __init__( + self, + value: TextIO, + *args: Any, + encoding: Optional[str] = None, + content_type: Optional[str] = None, + **kwargs: Any, + ) -> None: + + if encoding is None: + if content_type is None: + encoding = "utf-8" + content_type = "text/plain; charset=utf-8" + else: + mimetype = parse_mimetype(content_type) + encoding = mimetype.parameters.get("charset", "utf-8") + else: + if content_type is None: + content_type = "text/plain; charset=%s" % encoding + + super().__init__( + value, + content_type=content_type, + encoding=encoding, + *args, + **kwargs, + ) + + @property + def size(self) -> Optional[int]: + try: + return os.fstat(self._value.fileno()).st_size - self._value.tell() + except OSError: + return None + + async def write(self, writer: AbstractStreamWriter) -> None: + loop = asyncio.get_event_loop() + try: + chunk = await loop.run_in_executor(None, self._value.read, 2**16) + while chunk: + data = ( + chunk.encode(encoding=self._encoding) + if self._encoding + else chunk.encode() + ) + await writer.write(data) + chunk = await loop.run_in_executor(None, self._value.read, 2**16) + finally: + await loop.run_in_executor(None, self._value.close) + + +class BytesIOPayload(IOBasePayload): + @property + def size(self) -> int: + position = self._value.tell() + end = self._value.seek(0, os.SEEK_END) + self._value.seek(position) + return end - position + + +class BufferedReaderPayload(IOBasePayload): + @property + def size(self) -> Optional[int]: + try: + return os.fstat(self._value.fileno()).st_size - self._value.tell() + except OSError: + # data.fileno() is not supported, e.g. + # io.BufferedReader(io.BytesIO(b'data')) + return None + + +class JsonPayload(BytesPayload): + def __init__( + self, + value: Any, + encoding: str = "utf-8", + content_type: str = "application/json", + dumps: JSONEncoder = json.dumps, + *args: Any, + **kwargs: Any, + ) -> None: + + super().__init__( + dumps(value).encode(encoding), + content_type=content_type, + encoding=encoding, + *args, + **kwargs, + ) + + +if TYPE_CHECKING: # pragma: no cover + from typing import AsyncIterable, AsyncIterator + + _AsyncIterator = AsyncIterator[bytes] + _AsyncIterable = AsyncIterable[bytes] +else: + from collections.abc import AsyncIterable, AsyncIterator + + _AsyncIterator = AsyncIterator + _AsyncIterable = AsyncIterable + + +class AsyncIterablePayload(Payload): + + _iter: Optional[_AsyncIterator] = None + + def __init__(self, value: _AsyncIterable, *args: Any, **kwargs: Any) -> None: + if not isinstance(value, AsyncIterable): + raise TypeError( + "value argument must support " + "collections.abc.AsyncIterable interface, " + "got {!r}".format(type(value)) + ) + + if "content_type" not in kwargs: + kwargs["content_type"] = "application/octet-stream" + + super().__init__(value, *args, **kwargs) + + self._iter = value.__aiter__() + + async def write(self, writer: AbstractStreamWriter) -> None: + if self._iter: + try: + # iter is not None check prevents rare cases + # when the case iterable is used twice + while True: + chunk = await self._iter.__anext__() + await writer.write(chunk) + except StopAsyncIteration: + self._iter = None + + +class StreamReaderPayload(AsyncIterablePayload): + def __init__(self, value: StreamReader, *args: Any, **kwargs: Any) -> None: + super().__init__(value.iter_any(), *args, **kwargs) + + +PAYLOAD_REGISTRY = PayloadRegistry() +PAYLOAD_REGISTRY.register(BytesPayload, (bytes, bytearray, memoryview)) +PAYLOAD_REGISTRY.register(StringPayload, str) +PAYLOAD_REGISTRY.register(StringIOPayload, io.StringIO) +PAYLOAD_REGISTRY.register(TextIOPayload, io.TextIOBase) +PAYLOAD_REGISTRY.register(BytesIOPayload, io.BytesIO) +PAYLOAD_REGISTRY.register(BufferedReaderPayload, (io.BufferedReader, io.BufferedRandom)) +PAYLOAD_REGISTRY.register(IOBasePayload, io.IOBase) +PAYLOAD_REGISTRY.register(StreamReaderPayload, StreamReader) +# try_last for giving a chance to more specialized async interables like +# multidict.BodyPartReaderPayload override the default +PAYLOAD_REGISTRY.register(AsyncIterablePayload, AsyncIterable, order=Order.try_last) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/payload_streamer.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/payload_streamer.py new file mode 100644 index 0000000000000000000000000000000000000000..364f763ae741e5bd99c57036493ae4a6f5709c5e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/payload_streamer.py @@ -0,0 +1,75 @@ +""" +Payload implementation for coroutines as data provider. + +As a simple case, you can upload data from file:: + + @aiohttp.streamer + async def file_sender(writer, file_name=None): + with open(file_name, 'rb') as f: + chunk = f.read(2**16) + while chunk: + await writer.write(chunk) + + chunk = f.read(2**16) + +Then you can use `file_sender` like this: + + async with session.post('http://httpbin.org/post', + data=file_sender(file_name='huge_file')) as resp: + print(await resp.text()) + +..note:: Coroutine must accept `writer` as first argument + +""" + +import types +import warnings +from typing import Any, Awaitable, Callable, Dict, Tuple + +from .abc import AbstractStreamWriter +from .payload import Payload, payload_type + +__all__ = ("streamer",) + + +class _stream_wrapper: + def __init__( + self, + coro: Callable[..., Awaitable[None]], + args: Tuple[Any, ...], + kwargs: Dict[str, Any], + ) -> None: + self.coro = types.coroutine(coro) + self.args = args + self.kwargs = kwargs + + async def __call__(self, writer: AbstractStreamWriter) -> None: + await self.coro(writer, *self.args, **self.kwargs) + + +class streamer: + def __init__(self, coro: Callable[..., Awaitable[None]]) -> None: + warnings.warn( + "@streamer is deprecated, use async generators instead", + DeprecationWarning, + stacklevel=2, + ) + self.coro = coro + + def __call__(self, *args: Any, **kwargs: Any) -> _stream_wrapper: + return _stream_wrapper(self.coro, args, kwargs) + + +@payload_type(_stream_wrapper) +class StreamWrapperPayload(Payload): + async def write(self, writer: AbstractStreamWriter) -> None: + await self._value(writer) + + +@payload_type(streamer) +class StreamPayload(StreamWrapperPayload): + def __init__(self, value: Any, *args: Any, **kwargs: Any) -> None: + super().__init__(value(), *args, **kwargs) + + async def write(self, writer: AbstractStreamWriter) -> None: + await self._value(writer) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..f5642f79f21d872f010979dcf6f0c4a415acc19d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/py.typed @@ -0,0 +1 @@ +Marker diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/pytest_plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/pytest_plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..5754747bf48593d0030159fd6f2830c552b172a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/pytest_plugin.py @@ -0,0 +1,381 @@ +import asyncio +import contextlib +import warnings +from typing import Any, Awaitable, Callable, Dict, Iterator, Optional, Type, Union + +import pytest + +from aiohttp.helpers import isasyncgenfunction +from aiohttp.web import Application + +from .test_utils import ( + BaseTestServer, + RawTestServer, + TestClient, + TestServer, + loop_context, + setup_test_loop, + teardown_test_loop, + unused_port as _unused_port, +) + +try: + import uvloop +except ImportError: # pragma: no cover + uvloop = None # type: ignore[assignment] + +AiohttpClient = Callable[[Union[Application, BaseTestServer]], Awaitable[TestClient]] +AiohttpRawServer = Callable[[Application], Awaitable[RawTestServer]] +AiohttpServer = Callable[[Application], Awaitable[TestServer]] + + +def pytest_addoption(parser): # type: ignore[no-untyped-def] + parser.addoption( + "--aiohttp-fast", + action="store_true", + default=False, + help="run tests faster by disabling extra checks", + ) + parser.addoption( + "--aiohttp-loop", + action="store", + default="pyloop", + help="run tests with specific loop: pyloop, uvloop or all", + ) + parser.addoption( + "--aiohttp-enable-loop-debug", + action="store_true", + default=False, + help="enable event loop debug mode", + ) + + +def pytest_fixture_setup(fixturedef): # type: ignore[no-untyped-def] + """Set up pytest fixture. + + Allow fixtures to be coroutines. Run coroutine fixtures in an event loop. + """ + func = fixturedef.func + + if isasyncgenfunction(func): + # async generator fixture + is_async_gen = True + elif asyncio.iscoroutinefunction(func): + # regular async fixture + is_async_gen = False + else: + # not an async fixture, nothing to do + return + + strip_request = False + if "request" not in fixturedef.argnames: + fixturedef.argnames += ("request",) + strip_request = True + + def wrapper(*args, **kwargs): # type: ignore[no-untyped-def] + request = kwargs["request"] + if strip_request: + del kwargs["request"] + + # if neither the fixture nor the test use the 'loop' fixture, + # 'getfixturevalue' will fail because the test is not parameterized + # (this can be removed someday if 'loop' is no longer parameterized) + if "loop" not in request.fixturenames: + raise Exception( + "Asynchronous fixtures must depend on the 'loop' fixture or " + "be used in tests depending from it." + ) + + _loop = request.getfixturevalue("loop") + + if is_async_gen: + # for async generators, we need to advance the generator once, + # then advance it again in a finalizer + gen = func(*args, **kwargs) + + def finalizer(): # type: ignore[no-untyped-def] + try: + return _loop.run_until_complete(gen.__anext__()) + except StopAsyncIteration: + pass + + request.addfinalizer(finalizer) + return _loop.run_until_complete(gen.__anext__()) + else: + return _loop.run_until_complete(func(*args, **kwargs)) + + fixturedef.func = wrapper + + +@pytest.fixture +def fast(request): # type: ignore[no-untyped-def] + """--fast config option""" + return request.config.getoption("--aiohttp-fast") + + +@pytest.fixture +def loop_debug(request): # type: ignore[no-untyped-def] + """--enable-loop-debug config option""" + return request.config.getoption("--aiohttp-enable-loop-debug") + + +@contextlib.contextmanager +def _runtime_warning_context(): # type: ignore[no-untyped-def] + """Context manager which checks for RuntimeWarnings. + + This exists specifically to + avoid "coroutine 'X' was never awaited" warnings being missed. + + If RuntimeWarnings occur in the context a RuntimeError is raised. + """ + with warnings.catch_warnings(record=True) as _warnings: + yield + rw = [ + "{w.filename}:{w.lineno}:{w.message}".format(w=w) + for w in _warnings + if w.category == RuntimeWarning + ] + if rw: + raise RuntimeError( + "{} Runtime Warning{},\n{}".format( + len(rw), "" if len(rw) == 1 else "s", "\n".join(rw) + ) + ) + + +@contextlib.contextmanager +def _passthrough_loop_context(loop, fast=False): # type: ignore[no-untyped-def] + """Passthrough loop context. + + Sets up and tears down a loop unless one is passed in via the loop + argument when it's passed straight through. + """ + if loop: + # loop already exists, pass it straight through + yield loop + else: + # this shadows loop_context's standard behavior + loop = setup_test_loop() + yield loop + teardown_test_loop(loop, fast=fast) + + +def pytest_pycollect_makeitem(collector, name, obj): # type: ignore[no-untyped-def] + """Fix pytest collecting for coroutines.""" + if collector.funcnamefilter(name) and asyncio.iscoroutinefunction(obj): + return list(collector._genfunctions(name, obj)) + + +def pytest_pyfunc_call(pyfuncitem): # type: ignore[no-untyped-def] + """Run coroutines in an event loop instead of a normal function call.""" + fast = pyfuncitem.config.getoption("--aiohttp-fast") + if asyncio.iscoroutinefunction(pyfuncitem.function): + existing_loop = pyfuncitem.funcargs.get( + "proactor_loop" + ) or pyfuncitem.funcargs.get("loop", None) + with _runtime_warning_context(): + with _passthrough_loop_context(existing_loop, fast=fast) as _loop: + testargs = { + arg: pyfuncitem.funcargs[arg] + for arg in pyfuncitem._fixtureinfo.argnames + } + _loop.run_until_complete(pyfuncitem.obj(**testargs)) + + return True + + +def pytest_generate_tests(metafunc): # type: ignore[no-untyped-def] + if "loop_factory" not in metafunc.fixturenames: + return + + loops = metafunc.config.option.aiohttp_loop + avail_factories: Dict[str, Type[asyncio.AbstractEventLoopPolicy]] + avail_factories = {"pyloop": asyncio.DefaultEventLoopPolicy} + + if uvloop is not None: # pragma: no cover + avail_factories["uvloop"] = uvloop.EventLoopPolicy + + if loops == "all": + loops = "pyloop,uvloop?" + + factories = {} # type: ignore[var-annotated] + for name in loops.split(","): + required = not name.endswith("?") + name = name.strip(" ?") + if name not in avail_factories: # pragma: no cover + if required: + raise ValueError( + "Unknown loop '%s', available loops: %s" + % (name, list(factories.keys())) + ) + else: + continue + factories[name] = avail_factories[name] + metafunc.parametrize( + "loop_factory", list(factories.values()), ids=list(factories.keys()) + ) + + +@pytest.fixture +def loop(loop_factory, fast, loop_debug): # type: ignore[no-untyped-def] + """Return an instance of the event loop.""" + policy = loop_factory() + asyncio.set_event_loop_policy(policy) + with loop_context(fast=fast) as _loop: + if loop_debug: + _loop.set_debug(True) # pragma: no cover + asyncio.set_event_loop(_loop) + yield _loop + + +@pytest.fixture +def proactor_loop(): # type: ignore[no-untyped-def] + policy = asyncio.WindowsProactorEventLoopPolicy() # type: ignore[attr-defined] + asyncio.set_event_loop_policy(policy) + + with loop_context(policy.new_event_loop) as _loop: + asyncio.set_event_loop(_loop) + yield _loop + + +@pytest.fixture +def unused_port(aiohttp_unused_port: Callable[[], int]) -> Callable[[], int]: + warnings.warn( + "Deprecated, use aiohttp_unused_port fixture instead", + DeprecationWarning, + stacklevel=2, + ) + return aiohttp_unused_port + + +@pytest.fixture +def aiohttp_unused_port() -> Callable[[], int]: + """Return a port that is unused on the current host.""" + return _unused_port + + +@pytest.fixture +def aiohttp_server(loop: asyncio.AbstractEventLoop) -> Iterator[AiohttpServer]: + """Factory to create a TestServer instance, given an app. + + aiohttp_server(app, **kwargs) + """ + servers = [] + + async def go(app, *, port=None, **kwargs): # type: ignore[no-untyped-def] + server = TestServer(app, port=port) + await server.start_server(loop=loop, **kwargs) + servers.append(server) + return server + + yield go + + async def finalize() -> None: + while servers: + await servers.pop().close() + + loop.run_until_complete(finalize()) + + +@pytest.fixture +def test_server(aiohttp_server): # type: ignore[no-untyped-def] # pragma: no cover + warnings.warn( + "Deprecated, use aiohttp_server fixture instead", + DeprecationWarning, + stacklevel=2, + ) + return aiohttp_server + + +@pytest.fixture +def aiohttp_raw_server(loop: asyncio.AbstractEventLoop) -> Iterator[AiohttpRawServer]: + """Factory to create a RawTestServer instance, given a web handler. + + aiohttp_raw_server(handler, **kwargs) + """ + servers = [] + + async def go(handler, *, port=None, **kwargs): # type: ignore[no-untyped-def] + server = RawTestServer(handler, port=port) + await server.start_server(loop=loop, **kwargs) + servers.append(server) + return server + + yield go + + async def finalize() -> None: + while servers: + await servers.pop().close() + + loop.run_until_complete(finalize()) + + +@pytest.fixture +def raw_test_server( # type: ignore[no-untyped-def] # pragma: no cover + aiohttp_raw_server, +): + warnings.warn( + "Deprecated, use aiohttp_raw_server fixture instead", + DeprecationWarning, + stacklevel=2, + ) + return aiohttp_raw_server + + +@pytest.fixture +def aiohttp_client( + loop: asyncio.AbstractEventLoop, +) -> Iterator[AiohttpClient]: + """Factory to create a TestClient instance. + + aiohttp_client(app, **kwargs) + aiohttp_client(server, **kwargs) + aiohttp_client(raw_server, **kwargs) + """ + clients = [] + + async def go( + __param: Union[Application, BaseTestServer], + *args: Any, + server_kwargs: Optional[Dict[str, Any]] = None, + **kwargs: Any + ) -> TestClient: + + if isinstance(__param, Callable) and not isinstance( # type: ignore[arg-type] + __param, (Application, BaseTestServer) + ): + __param = __param(loop, *args, **kwargs) + kwargs = {} + else: + assert not args, "args should be empty" + + if isinstance(__param, Application): + server_kwargs = server_kwargs or {} + server = TestServer(__param, loop=loop, **server_kwargs) + client = TestClient(server, loop=loop, **kwargs) + elif isinstance(__param, BaseTestServer): + client = TestClient(__param, loop=loop, **kwargs) + else: + raise ValueError("Unknown argument type: %r" % type(__param)) + + await client.start_server() + clients.append(client) + return client + + yield go + + async def finalize() -> None: + while clients: + await clients.pop().close() + + loop.run_until_complete(finalize()) + + +@pytest.fixture +def test_client(aiohttp_client): # type: ignore[no-untyped-def] # pragma: no cover + warnings.warn( + "Deprecated, use aiohttp_client fixture instead", + DeprecationWarning, + stacklevel=2, + ) + return aiohttp_client diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/resolver.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/resolver.py new file mode 100644 index 0000000000000000000000000000000000000000..6c17b1e7e890c819bf7e172bb2eb4775f6469154 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/resolver.py @@ -0,0 +1,160 @@ +import asyncio +import socket +from typing import Any, Dict, List, Optional, Type, Union + +from .abc import AbstractResolver +from .helpers import get_running_loop + +__all__ = ("ThreadedResolver", "AsyncResolver", "DefaultResolver") + +try: + import aiodns + + # aiodns_default = hasattr(aiodns.DNSResolver, 'gethostbyname') +except ImportError: # pragma: no cover + aiodns = None + +aiodns_default = False + + +class ThreadedResolver(AbstractResolver): + """Threaded resolver. + + Uses an Executor for synchronous getaddrinfo() calls. + concurrent.futures.ThreadPoolExecutor is used by default. + """ + + def __init__(self, loop: Optional[asyncio.AbstractEventLoop] = None) -> None: + self._loop = get_running_loop(loop) + + async def resolve( + self, hostname: str, port: int = 0, family: int = socket.AF_INET + ) -> List[Dict[str, Any]]: + infos = await self._loop.getaddrinfo( + hostname, + port, + type=socket.SOCK_STREAM, + family=family, + flags=socket.AI_ADDRCONFIG, + ) + + hosts = [] + for family, _, proto, _, address in infos: + if family == socket.AF_INET6: + if len(address) < 3: + # IPv6 is not supported by Python build, + # or IPv6 is not enabled in the host + continue + if address[3]: + # This is essential for link-local IPv6 addresses. + # LL IPv6 is a VERY rare case. Strictly speaking, we should use + # getnameinfo() unconditionally, but performance makes sense. + host, _port = socket.getnameinfo( + address, socket.NI_NUMERICHOST | socket.NI_NUMERICSERV + ) + port = int(_port) + else: + host, port = address[:2] + else: # IPv4 + assert family == socket.AF_INET + host, port = address # type: ignore[misc] + hosts.append( + { + "hostname": hostname, + "host": host, + "port": port, + "family": family, + "proto": proto, + "flags": socket.AI_NUMERICHOST | socket.AI_NUMERICSERV, + } + ) + + return hosts + + async def close(self) -> None: + pass + + +class AsyncResolver(AbstractResolver): + """Use the `aiodns` package to make asynchronous DNS lookups""" + + def __init__( + self, + loop: Optional[asyncio.AbstractEventLoop] = None, + *args: Any, + **kwargs: Any + ) -> None: + if aiodns is None: + raise RuntimeError("Resolver requires aiodns library") + + self._loop = get_running_loop(loop) + self._resolver = aiodns.DNSResolver(*args, loop=loop, **kwargs) + + if not hasattr(self._resolver, "gethostbyname"): + # aiodns 1.1 is not available, fallback to DNSResolver.query + self.resolve = self._resolve_with_query # type: ignore + + async def resolve( + self, host: str, port: int = 0, family: int = socket.AF_INET + ) -> List[Dict[str, Any]]: + try: + resp = await self._resolver.gethostbyname(host, family) + except aiodns.error.DNSError as exc: + msg = exc.args[1] if len(exc.args) >= 1 else "DNS lookup failed" + raise OSError(msg) from exc + hosts = [] + for address in resp.addresses: + hosts.append( + { + "hostname": host, + "host": address, + "port": port, + "family": family, + "proto": 0, + "flags": socket.AI_NUMERICHOST | socket.AI_NUMERICSERV, + } + ) + + if not hosts: + raise OSError("DNS lookup failed") + + return hosts + + async def _resolve_with_query( + self, host: str, port: int = 0, family: int = socket.AF_INET + ) -> List[Dict[str, Any]]: + if family == socket.AF_INET6: + qtype = "AAAA" + else: + qtype = "A" + + try: + resp = await self._resolver.query(host, qtype) + except aiodns.error.DNSError as exc: + msg = exc.args[1] if len(exc.args) >= 1 else "DNS lookup failed" + raise OSError(msg) from exc + + hosts = [] + for rr in resp: + hosts.append( + { + "hostname": host, + "host": rr.host, + "port": port, + "family": family, + "proto": 0, + "flags": socket.AI_NUMERICHOST, + } + ) + + if not hosts: + raise OSError("DNS lookup failed") + + return hosts + + async def close(self) -> None: + self._resolver.cancel() + + +_DefaultType = Type[Union[AsyncResolver, ThreadedResolver]] +DefaultResolver: _DefaultType = AsyncResolver if aiodns_default else ThreadedResolver diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/streams.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/streams.py new file mode 100644 index 0000000000000000000000000000000000000000..3e4c355b5cb99862d5fba38fc6fb43e755925635 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/streams.py @@ -0,0 +1,666 @@ +import asyncio +import collections +import warnings +from typing import ( + Awaitable, + Callable, + Deque, + Final, + Generic, + List, + Optional, + Tuple, + TypeVar, +) + +from .base_protocol import BaseProtocol +from .helpers import BaseTimerContext, TimerNoop, set_exception, set_result +from .log import internal_logger + +__all__ = ( + "EMPTY_PAYLOAD", + "EofStream", + "StreamReader", + "DataQueue", + "FlowControlDataQueue", +) + +_T = TypeVar("_T") + + +class EofStream(Exception): + """eof stream indication.""" + + +class AsyncStreamIterator(Generic[_T]): + def __init__(self, read_func: Callable[[], Awaitable[_T]]) -> None: + self.read_func = read_func + + def __aiter__(self) -> "AsyncStreamIterator[_T]": + return self + + async def __anext__(self) -> _T: + try: + rv = await self.read_func() + except EofStream: + raise StopAsyncIteration + if rv == b"": + raise StopAsyncIteration + return rv + + +class ChunkTupleAsyncStreamIterator: + def __init__(self, stream: "StreamReader") -> None: + self._stream = stream + + def __aiter__(self) -> "ChunkTupleAsyncStreamIterator": + return self + + async def __anext__(self) -> Tuple[bytes, bool]: + rv = await self._stream.readchunk() + if rv == (b"", False): + raise StopAsyncIteration + return rv + + +class AsyncStreamReaderMixin: + def __aiter__(self) -> AsyncStreamIterator[bytes]: + return AsyncStreamIterator(self.readline) # type: ignore[attr-defined] + + def iter_chunked(self, n: int) -> AsyncStreamIterator[bytes]: + """Returns an asynchronous iterator that yields chunks of size n.""" + return AsyncStreamIterator(lambda: self.read(n)) # type: ignore[attr-defined] + + def iter_any(self) -> AsyncStreamIterator[bytes]: + """Yield all available data as soon as it is received.""" + return AsyncStreamIterator(self.readany) # type: ignore[attr-defined] + + def iter_chunks(self) -> ChunkTupleAsyncStreamIterator: + """Yield chunks of data as they are received by the server. + + The yielded objects are tuples + of (bytes, bool) as returned by the StreamReader.readchunk method. + """ + return ChunkTupleAsyncStreamIterator(self) # type: ignore[arg-type] + + +class StreamReader(AsyncStreamReaderMixin): + """An enhancement of asyncio.StreamReader. + + Supports asynchronous iteration by line, chunk or as available:: + + async for line in reader: + ... + async for chunk in reader.iter_chunked(1024): + ... + async for slice in reader.iter_any(): + ... + + """ + + total_bytes = 0 + + def __init__( + self, + protocol: BaseProtocol, + limit: int, + *, + timer: Optional[BaseTimerContext] = None, + loop: Optional[asyncio.AbstractEventLoop] = None, + ) -> None: + self._protocol = protocol + self._low_water = limit + self._high_water = limit * 2 + if loop is None: + loop = asyncio.get_event_loop() + self._loop = loop + self._size = 0 + self._cursor = 0 + self._http_chunk_splits: Optional[List[int]] = None + self._buffer: Deque[bytes] = collections.deque() + self._buffer_offset = 0 + self._eof = False + self._waiter: Optional[asyncio.Future[None]] = None + self._eof_waiter: Optional[asyncio.Future[None]] = None + self._exception: Optional[BaseException] = None + self._timer = TimerNoop() if timer is None else timer + self._eof_callbacks: List[Callable[[], None]] = [] + + def __repr__(self) -> str: + info = [self.__class__.__name__] + if self._size: + info.append("%d bytes" % self._size) + if self._eof: + info.append("eof") + if self._low_water != 2**16: # default limit + info.append("low=%d high=%d" % (self._low_water, self._high_water)) + if self._waiter: + info.append("w=%r" % self._waiter) + if self._exception: + info.append("e=%r" % self._exception) + return "<%s>" % " ".join(info) + + def get_read_buffer_limits(self) -> Tuple[int, int]: + return (self._low_water, self._high_water) + + def exception(self) -> Optional[BaseException]: + return self._exception + + def set_exception(self, exc: BaseException) -> None: + self._exception = exc + self._eof_callbacks.clear() + + waiter = self._waiter + if waiter is not None: + self._waiter = None + set_exception(waiter, exc) + + waiter = self._eof_waiter + if waiter is not None: + self._eof_waiter = None + set_exception(waiter, exc) + + def on_eof(self, callback: Callable[[], None]) -> None: + if self._eof: + try: + callback() + except Exception: + internal_logger.exception("Exception in eof callback") + else: + self._eof_callbacks.append(callback) + + def feed_eof(self) -> None: + self._eof = True + + waiter = self._waiter + if waiter is not None: + self._waiter = None + set_result(waiter, None) + + waiter = self._eof_waiter + if waiter is not None: + self._eof_waiter = None + set_result(waiter, None) + + for cb in self._eof_callbacks: + try: + cb() + except Exception: + internal_logger.exception("Exception in eof callback") + + self._eof_callbacks.clear() + + def is_eof(self) -> bool: + """Return True if 'feed_eof' was called.""" + return self._eof + + def at_eof(self) -> bool: + """Return True if the buffer is empty and 'feed_eof' was called.""" + return self._eof and not self._buffer + + async def wait_eof(self) -> None: + if self._eof: + return + + assert self._eof_waiter is None + self._eof_waiter = self._loop.create_future() + try: + await self._eof_waiter + finally: + self._eof_waiter = None + + def unread_data(self, data: bytes) -> None: + """rollback reading some data from stream, inserting it to buffer head.""" + warnings.warn( + "unread_data() is deprecated " + "and will be removed in future releases (#3260)", + DeprecationWarning, + stacklevel=2, + ) + if not data: + return + + if self._buffer_offset: + self._buffer[0] = self._buffer[0][self._buffer_offset :] + self._buffer_offset = 0 + self._size += len(data) + self._cursor -= len(data) + self._buffer.appendleft(data) + self._eof_counter = 0 + + # TODO: size is ignored, remove the param later + def feed_data(self, data: bytes, size: int = 0) -> None: + assert not self._eof, "feed_data after feed_eof" + + if not data: + return + + self._size += len(data) + self._buffer.append(data) + self.total_bytes += len(data) + + waiter = self._waiter + if waiter is not None: + self._waiter = None + set_result(waiter, None) + + if self._size > self._high_water and not self._protocol._reading_paused: + self._protocol.pause_reading() + + def begin_http_chunk_receiving(self) -> None: + if self._http_chunk_splits is None: + if self.total_bytes: + raise RuntimeError( + "Called begin_http_chunk_receiving when" "some data was already fed" + ) + self._http_chunk_splits = [] + + def end_http_chunk_receiving(self) -> None: + if self._http_chunk_splits is None: + raise RuntimeError( + "Called end_chunk_receiving without calling " + "begin_chunk_receiving first" + ) + + # self._http_chunk_splits contains logical byte offsets from start of + # the body transfer. Each offset is the offset of the end of a chunk. + # "Logical" means bytes, accessible for a user. + # If no chunks containing logical data were received, current position + # is difinitely zero. + pos = self._http_chunk_splits[-1] if self._http_chunk_splits else 0 + + if self.total_bytes == pos: + # We should not add empty chunks here. So we check for that. + # Note, when chunked + gzip is used, we can receive a chunk + # of compressed data, but that data may not be enough for gzip FSM + # to yield any uncompressed data. That's why current position may + # not change after receiving a chunk. + return + + self._http_chunk_splits.append(self.total_bytes) + + # wake up readchunk when end of http chunk received + waiter = self._waiter + if waiter is not None: + self._waiter = None + set_result(waiter, None) + + async def _wait(self, func_name: str) -> None: + # StreamReader uses a future to link the protocol feed_data() method + # to a read coroutine. Running two read coroutines at the same time + # would have an unexpected behaviour. It would not possible to know + # which coroutine would get the next data. + if self._waiter is not None: + raise RuntimeError( + "%s() called while another coroutine is " + "already waiting for incoming data" % func_name + ) + + waiter = self._waiter = self._loop.create_future() + try: + with self._timer: + await waiter + finally: + self._waiter = None + + async def readline(self) -> bytes: + return await self.readuntil() + + async def readuntil(self, separator: bytes = b"\n") -> bytes: + seplen = len(separator) + if seplen == 0: + raise ValueError("Separator should be at least one-byte string") + + if self._exception is not None: + raise self._exception + + chunk = b"" + chunk_size = 0 + not_enough = True + + while not_enough: + while self._buffer and not_enough: + offset = self._buffer_offset + ichar = self._buffer[0].find(separator, offset) + 1 + # Read from current offset to found separator or to the end. + data = self._read_nowait_chunk( + ichar - offset + seplen - 1 if ichar else -1 + ) + chunk += data + chunk_size += len(data) + if ichar: + not_enough = False + + if chunk_size > self._high_water: + raise ValueError("Chunk too big") + + if self._eof: + break + + if not_enough: + await self._wait("readuntil") + + return chunk + + async def read(self, n: int = -1) -> bytes: + if self._exception is not None: + raise self._exception + + # migration problem; with DataQueue you have to catch + # EofStream exception, so common way is to run payload.read() inside + # infinite loop. what can cause real infinite loop with StreamReader + # lets keep this code one major release. + if __debug__: + if self._eof and not self._buffer: + self._eof_counter = getattr(self, "_eof_counter", 0) + 1 + if self._eof_counter > 5: + internal_logger.warning( + "Multiple access to StreamReader in eof state, " + "might be infinite loop.", + stack_info=True, + ) + + if not n: + return b"" + + if n < 0: + # This used to just loop creating a new waiter hoping to + # collect everything in self._buffer, but that would + # deadlock if the subprocess sends more than self.limit + # bytes. So just call self.readany() until EOF. + blocks = [] + while True: + block = await self.readany() + if not block: + break + blocks.append(block) + return b"".join(blocks) + + # TODO: should be `if` instead of `while` + # because waiter maybe triggered on chunk end, + # without feeding any data + while not self._buffer and not self._eof: + await self._wait("read") + + return self._read_nowait(n) + + async def readany(self) -> bytes: + if self._exception is not None: + raise self._exception + + # TODO: should be `if` instead of `while` + # because waiter maybe triggered on chunk end, + # without feeding any data + while not self._buffer and not self._eof: + await self._wait("readany") + + return self._read_nowait(-1) + + async def readchunk(self) -> Tuple[bytes, bool]: + """Returns a tuple of (data, end_of_http_chunk). + + When chunked transfer + encoding is used, end_of_http_chunk is a boolean indicating if the end + of the data corresponds to the end of a HTTP chunk , otherwise it is + always False. + """ + while True: + if self._exception is not None: + raise self._exception + + while self._http_chunk_splits: + pos = self._http_chunk_splits.pop(0) + if pos == self._cursor: + return (b"", True) + if pos > self._cursor: + return (self._read_nowait(pos - self._cursor), True) + internal_logger.warning( + "Skipping HTTP chunk end due to data " + "consumption beyond chunk boundary" + ) + + if self._buffer: + return (self._read_nowait_chunk(-1), False) + # return (self._read_nowait(-1), False) + + if self._eof: + # Special case for signifying EOF. + # (b'', True) is not a final return value actually. + return (b"", False) + + await self._wait("readchunk") + + async def readexactly(self, n: int) -> bytes: + if self._exception is not None: + raise self._exception + + blocks: List[bytes] = [] + while n > 0: + block = await self.read(n) + if not block: + partial = b"".join(blocks) + raise asyncio.IncompleteReadError(partial, len(partial) + n) + blocks.append(block) + n -= len(block) + + return b"".join(blocks) + + def read_nowait(self, n: int = -1) -> bytes: + # default was changed to be consistent with .read(-1) + # + # I believe the most users don't know about the method and + # they are not affected. + if self._exception is not None: + raise self._exception + + if self._waiter and not self._waiter.done(): + raise RuntimeError( + "Called while some coroutine is waiting for incoming data." + ) + + return self._read_nowait(n) + + def _read_nowait_chunk(self, n: int) -> bytes: + first_buffer = self._buffer[0] + offset = self._buffer_offset + if n != -1 and len(first_buffer) - offset > n: + data = first_buffer[offset : offset + n] + self._buffer_offset += n + + elif offset: + self._buffer.popleft() + data = first_buffer[offset:] + self._buffer_offset = 0 + + else: + data = self._buffer.popleft() + + self._size -= len(data) + self._cursor += len(data) + + chunk_splits = self._http_chunk_splits + # Prevent memory leak: drop useless chunk splits + while chunk_splits and chunk_splits[0] < self._cursor: + chunk_splits.pop(0) + + if self._size < self._low_water and self._protocol._reading_paused: + self._protocol.resume_reading() + return data + + def _read_nowait(self, n: int) -> bytes: + """Read not more than n bytes, or whole buffer if n == -1""" + self._timer.assert_timeout() + + chunks = [] + while self._buffer: + chunk = self._read_nowait_chunk(n) + chunks.append(chunk) + if n != -1: + n -= len(chunk) + if n == 0: + break + + return b"".join(chunks) if chunks else b"" + + +class EmptyStreamReader(StreamReader): # lgtm [py/missing-call-to-init] + def __init__(self) -> None: + self._read_eof_chunk = False + + def __repr__(self) -> str: + return "<%s>" % self.__class__.__name__ + + def exception(self) -> Optional[BaseException]: + return None + + def set_exception(self, exc: BaseException) -> None: + pass + + def on_eof(self, callback: Callable[[], None]) -> None: + try: + callback() + except Exception: + internal_logger.exception("Exception in eof callback") + + def feed_eof(self) -> None: + pass + + def is_eof(self) -> bool: + return True + + def at_eof(self) -> bool: + return True + + async def wait_eof(self) -> None: + return + + def feed_data(self, data: bytes, n: int = 0) -> None: + pass + + async def readline(self) -> bytes: + return b"" + + async def read(self, n: int = -1) -> bytes: + return b"" + + # TODO add async def readuntil + + async def readany(self) -> bytes: + return b"" + + async def readchunk(self) -> Tuple[bytes, bool]: + if not self._read_eof_chunk: + self._read_eof_chunk = True + return (b"", False) + + return (b"", True) + + async def readexactly(self, n: int) -> bytes: + raise asyncio.IncompleteReadError(b"", n) + + def read_nowait(self, n: int = -1) -> bytes: + return b"" + + +EMPTY_PAYLOAD: Final[StreamReader] = EmptyStreamReader() + + +class DataQueue(Generic[_T]): + """DataQueue is a general-purpose blocking queue with one reader.""" + + def __init__(self, loop: asyncio.AbstractEventLoop) -> None: + self._loop = loop + self._eof = False + self._waiter: Optional[asyncio.Future[None]] = None + self._exception: Optional[BaseException] = None + self._size = 0 + self._buffer: Deque[Tuple[_T, int]] = collections.deque() + + def __len__(self) -> int: + return len(self._buffer) + + def is_eof(self) -> bool: + return self._eof + + def at_eof(self) -> bool: + return self._eof and not self._buffer + + def exception(self) -> Optional[BaseException]: + return self._exception + + def set_exception(self, exc: BaseException) -> None: + self._eof = True + self._exception = exc + + waiter = self._waiter + if waiter is not None: + self._waiter = None + set_exception(waiter, exc) + + def feed_data(self, data: _T, size: int = 0) -> None: + self._size += size + self._buffer.append((data, size)) + + waiter = self._waiter + if waiter is not None: + self._waiter = None + set_result(waiter, None) + + def feed_eof(self) -> None: + self._eof = True + + waiter = self._waiter + if waiter is not None: + self._waiter = None + set_result(waiter, None) + + async def read(self) -> _T: + if not self._buffer and not self._eof: + assert not self._waiter + self._waiter = self._loop.create_future() + try: + await self._waiter + except (asyncio.CancelledError, asyncio.TimeoutError): + self._waiter = None + raise + + if self._buffer: + data, size = self._buffer.popleft() + self._size -= size + return data + else: + if self._exception is not None: + raise self._exception + else: + raise EofStream + + def __aiter__(self) -> AsyncStreamIterator[_T]: + return AsyncStreamIterator(self.read) + + +class FlowControlDataQueue(DataQueue[_T]): + """FlowControlDataQueue resumes and pauses an underlying stream. + + It is a destination for parsed data. + """ + + def __init__( + self, protocol: BaseProtocol, limit: int, *, loop: asyncio.AbstractEventLoop + ) -> None: + super().__init__(loop=loop) + + self._protocol = protocol + self._limit = limit * 2 + + def feed_data(self, data: _T, size: int = 0) -> None: + super().feed_data(data, size) + + if self._size > self._limit and not self._protocol._reading_paused: + self._protocol.pause_reading() + + async def read(self) -> _T: + try: + return await super().read() + finally: + if self._size < self._limit and self._protocol._reading_paused: + self._protocol.resume_reading() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/tcp_helpers.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/tcp_helpers.py new file mode 100644 index 0000000000000000000000000000000000000000..88b244223741ad2decb6cb612eae644fae88b2b2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/tcp_helpers.py @@ -0,0 +1,37 @@ +"""Helper methods to tune a TCP connection""" + +import asyncio +import socket +from contextlib import suppress +from typing import Optional # noqa + +__all__ = ("tcp_keepalive", "tcp_nodelay") + + +if hasattr(socket, "SO_KEEPALIVE"): + + def tcp_keepalive(transport: asyncio.Transport) -> None: + sock = transport.get_extra_info("socket") + if sock is not None: + sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) + +else: + + def tcp_keepalive(transport: asyncio.Transport) -> None: # pragma: no cover + pass + + +def tcp_nodelay(transport: asyncio.Transport, value: bool) -> None: + sock = transport.get_extra_info("socket") + + if sock is None: + return + + if sock.family not in (socket.AF_INET, socket.AF_INET6): + return + + value = bool(value) + + # socket may be closed already, on windows OSError get raised + with suppress(OSError): + sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, value) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/test_utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/test_utils.py new file mode 100644 index 0000000000000000000000000000000000000000..2a026fe704f6afea7ab9f00861ed058f766e02f7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/test_utils.py @@ -0,0 +1,675 @@ +"""Utilities shared by tests.""" + +import asyncio +import contextlib +import gc +import inspect +import ipaddress +import os +import socket +import sys +import warnings +from abc import ABC, abstractmethod +from types import TracebackType +from typing import ( + TYPE_CHECKING, + Any, + Callable, + Iterator, + List, + Optional, + Type, + Union, + cast, +) +from unittest import IsolatedAsyncioTestCase, mock + +from aiosignal import Signal +from multidict import CIMultiDict, CIMultiDictProxy +from yarl import URL + +import aiohttp +from aiohttp.client import _RequestContextManager, _WSRequestContextManager + +from . import ClientSession, hdrs +from .abc import AbstractCookieJar +from .client_reqrep import ClientResponse +from .client_ws import ClientWebSocketResponse +from .helpers import sentinel +from .http import HttpVersion, RawRequestMessage +from .typedefs import StrOrURL +from .web import ( + Application, + AppRunner, + BaseRunner, + Request, + Server, + ServerRunner, + SockSite, + UrlMappingMatchInfo, +) +from .web_protocol import _RequestHandler + +if TYPE_CHECKING: # pragma: no cover + from ssl import SSLContext +else: + SSLContext = None + +REUSE_ADDRESS = os.name == "posix" and sys.platform != "cygwin" + + +def get_unused_port_socket( + host: str, family: socket.AddressFamily = socket.AF_INET +) -> socket.socket: + return get_port_socket(host, 0, family) + + +def get_port_socket( + host: str, port: int, family: socket.AddressFamily +) -> socket.socket: + s = socket.socket(family, socket.SOCK_STREAM) + if REUSE_ADDRESS: + # Windows has different semantics for SO_REUSEADDR, + # so don't set it. Ref: + # https://docs.microsoft.com/en-us/windows/win32/winsock/using-so-reuseaddr-and-so-exclusiveaddruse + s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) + s.bind((host, port)) + return s + + +def unused_port() -> int: + """Return a port that is unused on the current host.""" + with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: + s.bind(("127.0.0.1", 0)) + return cast(int, s.getsockname()[1]) + + +class BaseTestServer(ABC): + __test__ = False + + def __init__( + self, + *, + scheme: Union[str, object] = sentinel, + loop: Optional[asyncio.AbstractEventLoop] = None, + host: str = "127.0.0.1", + port: Optional[int] = None, + skip_url_asserts: bool = False, + socket_factory: Callable[ + [str, int, socket.AddressFamily], socket.socket + ] = get_port_socket, + **kwargs: Any, + ) -> None: + self._loop = loop + self.runner: Optional[BaseRunner] = None + self._root: Optional[URL] = None + self.host = host + self.port = port + self._closed = False + self.scheme = scheme + self.skip_url_asserts = skip_url_asserts + self.socket_factory = socket_factory + + async def start_server( + self, loop: Optional[asyncio.AbstractEventLoop] = None, **kwargs: Any + ) -> None: + if self.runner: + return + self._loop = loop + self._ssl = kwargs.pop("ssl", None) + self.runner = await self._make_runner(handler_cancellation=True, **kwargs) + await self.runner.setup() + if not self.port: + self.port = 0 + try: + version = ipaddress.ip_address(self.host).version + except ValueError: + version = 4 + family = socket.AF_INET6 if version == 6 else socket.AF_INET + _sock = self.socket_factory(self.host, self.port, family) + self.host, self.port = _sock.getsockname()[:2] + site = SockSite(self.runner, sock=_sock, ssl_context=self._ssl) + await site.start() + server = site._server + assert server is not None + sockets = server.sockets # type: ignore[attr-defined] + assert sockets is not None + self.port = sockets[0].getsockname()[1] + if self.scheme is sentinel: + if self._ssl: + scheme = "https" + else: + scheme = "http" + self.scheme = scheme + self._root = URL(f"{self.scheme}://{self.host}:{self.port}") + + @abstractmethod # pragma: no cover + async def _make_runner(self, **kwargs: Any) -> BaseRunner: + pass + + def make_url(self, path: StrOrURL) -> URL: + assert self._root is not None + url = URL(path) + if not self.skip_url_asserts: + assert not url.is_absolute() + return self._root.join(url) + else: + return URL(str(self._root) + str(path)) + + @property + def started(self) -> bool: + return self.runner is not None + + @property + def closed(self) -> bool: + return self._closed + + @property + def handler(self) -> Server: + # for backward compatibility + # web.Server instance + runner = self.runner + assert runner is not None + assert runner.server is not None + return runner.server + + async def close(self) -> None: + """Close all fixtures created by the test client. + + After that point, the TestClient is no longer usable. + + This is an idempotent function: running close multiple times + will not have any additional effects. + + close is also run when the object is garbage collected, and on + exit when used as a context manager. + + """ + if self.started and not self.closed: + assert self.runner is not None + await self.runner.cleanup() + self._root = None + self.port = None + self._closed = True + + def __enter__(self) -> None: + raise TypeError("Use async with instead") + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_value: Optional[BaseException], + traceback: Optional[TracebackType], + ) -> None: + # __exit__ should exist in pair with __enter__ but never executed + pass # pragma: no cover + + async def __aenter__(self) -> "BaseTestServer": + await self.start_server(loop=self._loop) + return self + + async def __aexit__( + self, + exc_type: Optional[Type[BaseException]], + exc_value: Optional[BaseException], + traceback: Optional[TracebackType], + ) -> None: + await self.close() + + +class TestServer(BaseTestServer): + def __init__( + self, + app: Application, + *, + scheme: Union[str, object] = sentinel, + host: str = "127.0.0.1", + port: Optional[int] = None, + **kwargs: Any, + ): + self.app = app + super().__init__(scheme=scheme, host=host, port=port, **kwargs) + + async def _make_runner(self, **kwargs: Any) -> BaseRunner: + return AppRunner(self.app, **kwargs) + + +class RawTestServer(BaseTestServer): + def __init__( + self, + handler: _RequestHandler, + *, + scheme: Union[str, object] = sentinel, + host: str = "127.0.0.1", + port: Optional[int] = None, + **kwargs: Any, + ) -> None: + self._handler = handler + super().__init__(scheme=scheme, host=host, port=port, **kwargs) + + async def _make_runner(self, debug: bool = True, **kwargs: Any) -> ServerRunner: + srv = Server(self._handler, loop=self._loop, debug=debug, **kwargs) + return ServerRunner(srv, debug=debug, **kwargs) + + +class TestClient: + """ + A test client implementation. + + To write functional tests for aiohttp based servers. + + """ + + __test__ = False + + def __init__( + self, + server: BaseTestServer, + *, + cookie_jar: Optional[AbstractCookieJar] = None, + loop: Optional[asyncio.AbstractEventLoop] = None, + **kwargs: Any, + ) -> None: + if not isinstance(server, BaseTestServer): + raise TypeError( + "server must be TestServer " "instance, found type: %r" % type(server) + ) + self._server = server + self._loop = loop + if cookie_jar is None: + cookie_jar = aiohttp.CookieJar(unsafe=True, loop=loop) + self._session = ClientSession(loop=loop, cookie_jar=cookie_jar, **kwargs) + self._closed = False + self._responses: List[ClientResponse] = [] + self._websockets: List[ClientWebSocketResponse] = [] + + async def start_server(self) -> None: + await self._server.start_server(loop=self._loop) + + @property + def host(self) -> str: + return self._server.host + + @property + def port(self) -> Optional[int]: + return self._server.port + + @property + def server(self) -> BaseTestServer: + return self._server + + @property + def app(self) -> Optional[Application]: + return cast(Optional[Application], getattr(self._server, "app", None)) + + @property + def session(self) -> ClientSession: + """An internal aiohttp.ClientSession. + + Unlike the methods on the TestClient, client session requests + do not automatically include the host in the url queried, and + will require an absolute path to the resource. + + """ + return self._session + + def make_url(self, path: StrOrURL) -> URL: + return self._server.make_url(path) + + async def _request( + self, method: str, path: StrOrURL, **kwargs: Any + ) -> ClientResponse: + resp = await self._session.request(method, self.make_url(path), **kwargs) + # save it to close later + self._responses.append(resp) + return resp + + def request( + self, method: str, path: StrOrURL, **kwargs: Any + ) -> _RequestContextManager: + """Routes a request to tested http server. + + The interface is identical to aiohttp.ClientSession.request, + except the loop kwarg is overridden by the instance used by the + test server. + + """ + return _RequestContextManager(self._request(method, path, **kwargs)) + + def get(self, path: StrOrURL, **kwargs: Any) -> _RequestContextManager: + """Perform an HTTP GET request.""" + return _RequestContextManager(self._request(hdrs.METH_GET, path, **kwargs)) + + def post(self, path: StrOrURL, **kwargs: Any) -> _RequestContextManager: + """Perform an HTTP POST request.""" + return _RequestContextManager(self._request(hdrs.METH_POST, path, **kwargs)) + + def options(self, path: StrOrURL, **kwargs: Any) -> _RequestContextManager: + """Perform an HTTP OPTIONS request.""" + return _RequestContextManager(self._request(hdrs.METH_OPTIONS, path, **kwargs)) + + def head(self, path: StrOrURL, **kwargs: Any) -> _RequestContextManager: + """Perform an HTTP HEAD request.""" + return _RequestContextManager(self._request(hdrs.METH_HEAD, path, **kwargs)) + + def put(self, path: StrOrURL, **kwargs: Any) -> _RequestContextManager: + """Perform an HTTP PUT request.""" + return _RequestContextManager(self._request(hdrs.METH_PUT, path, **kwargs)) + + def patch(self, path: StrOrURL, **kwargs: Any) -> _RequestContextManager: + """Perform an HTTP PATCH request.""" + return _RequestContextManager(self._request(hdrs.METH_PATCH, path, **kwargs)) + + def delete(self, path: StrOrURL, **kwargs: Any) -> _RequestContextManager: + """Perform an HTTP PATCH request.""" + return _RequestContextManager(self._request(hdrs.METH_DELETE, path, **kwargs)) + + def ws_connect(self, path: StrOrURL, **kwargs: Any) -> _WSRequestContextManager: + """Initiate websocket connection. + + The api corresponds to aiohttp.ClientSession.ws_connect. + + """ + return _WSRequestContextManager(self._ws_connect(path, **kwargs)) + + async def _ws_connect( + self, path: StrOrURL, **kwargs: Any + ) -> ClientWebSocketResponse: + ws = await self._session.ws_connect(self.make_url(path), **kwargs) + self._websockets.append(ws) + return ws + + async def close(self) -> None: + """Close all fixtures created by the test client. + + After that point, the TestClient is no longer usable. + + This is an idempotent function: running close multiple times + will not have any additional effects. + + close is also run on exit when used as a(n) (asynchronous) + context manager. + + """ + if not self._closed: + for resp in self._responses: + resp.close() + for ws in self._websockets: + await ws.close() + await self._session.close() + await self._server.close() + self._closed = True + + def __enter__(self) -> None: + raise TypeError("Use async with instead") + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc: Optional[BaseException], + tb: Optional[TracebackType], + ) -> None: + # __exit__ should exist in pair with __enter__ but never executed + pass # pragma: no cover + + async def __aenter__(self) -> "TestClient": + await self.start_server() + return self + + async def __aexit__( + self, + exc_type: Optional[Type[BaseException]], + exc: Optional[BaseException], + tb: Optional[TracebackType], + ) -> None: + await self.close() + + +class AioHTTPTestCase(IsolatedAsyncioTestCase): + """A base class to allow for unittest web applications using aiohttp. + + Provides the following: + + * self.client (aiohttp.test_utils.TestClient): an aiohttp test client. + * self.loop (asyncio.BaseEventLoop): the event loop in which the + application and server are running. + * self.app (aiohttp.web.Application): the application returned by + self.get_application() + + Note that the TestClient's methods are asynchronous: you have to + execute function on the test client using asynchronous methods. + """ + + async def get_application(self) -> Application: + """Get application. + + This method should be overridden + to return the aiohttp.web.Application + object to test. + """ + return self.get_app() + + def get_app(self) -> Application: + """Obsolete method used to constructing web application. + + Use .get_application() coroutine instead. + """ + raise RuntimeError("Did you forget to define get_application()?") + + async def asyncSetUp(self) -> None: + self.loop = asyncio.get_running_loop() + return await self.setUpAsync() + + async def setUpAsync(self) -> None: + self.app = await self.get_application() + self.server = await self.get_server(self.app) + self.client = await self.get_client(self.server) + + await self.client.start_server() + + async def asyncTearDown(self) -> None: + return await self.tearDownAsync() + + async def tearDownAsync(self) -> None: + await self.client.close() + + async def get_server(self, app: Application) -> TestServer: + """Return a TestServer instance.""" + return TestServer(app, loop=self.loop) + + async def get_client(self, server: TestServer) -> TestClient: + """Return a TestClient instance.""" + return TestClient(server, loop=self.loop) + + +def unittest_run_loop(func: Any, *args: Any, **kwargs: Any) -> Any: + """ + A decorator dedicated to use with asynchronous AioHTTPTestCase test methods. + + In 3.8+, this does nothing. + """ + warnings.warn( + "Decorator `@unittest_run_loop` is no longer needed in aiohttp 3.8+", + DeprecationWarning, + stacklevel=2, + ) + return func + + +_LOOP_FACTORY = Callable[[], asyncio.AbstractEventLoop] + + +@contextlib.contextmanager +def loop_context( + loop_factory: _LOOP_FACTORY = asyncio.new_event_loop, fast: bool = False +) -> Iterator[asyncio.AbstractEventLoop]: + """A contextmanager that creates an event_loop, for test purposes. + + Handles the creation and cleanup of a test loop. + """ + loop = setup_test_loop(loop_factory) + yield loop + teardown_test_loop(loop, fast=fast) + + +def setup_test_loop( + loop_factory: _LOOP_FACTORY = asyncio.new_event_loop, +) -> asyncio.AbstractEventLoop: + """Create and return an asyncio.BaseEventLoop instance. + + The caller should also call teardown_test_loop, + once they are done with the loop. + """ + loop = loop_factory() + asyncio.set_event_loop(loop) + return loop + + +def teardown_test_loop(loop: asyncio.AbstractEventLoop, fast: bool = False) -> None: + """Teardown and cleanup an event_loop created by setup_test_loop.""" + closed = loop.is_closed() + if not closed: + loop.call_soon(loop.stop) + loop.run_forever() + loop.close() + + if not fast: + gc.collect() + + asyncio.set_event_loop(None) + + +def _create_app_mock() -> mock.MagicMock: + def get_dict(app: Any, key: str) -> Any: + return app.__app_dict[key] + + def set_dict(app: Any, key: str, value: Any) -> None: + app.__app_dict[key] = value + + app = mock.MagicMock(spec=Application) + app.__app_dict = {} + app.__getitem__ = get_dict + app.__setitem__ = set_dict + + app._debug = False + app.on_response_prepare = Signal(app) + app.on_response_prepare.freeze() + return app + + +def _create_transport(sslcontext: Optional[SSLContext] = None) -> mock.Mock: + transport = mock.Mock() + + def get_extra_info(key: str) -> Optional[SSLContext]: + if key == "sslcontext": + return sslcontext + else: + return None + + transport.get_extra_info.side_effect = get_extra_info + return transport + + +def make_mocked_request( + method: str, + path: str, + headers: Any = None, + *, + match_info: Any = sentinel, + version: HttpVersion = HttpVersion(1, 1), + closing: bool = False, + app: Any = None, + writer: Any = sentinel, + protocol: Any = sentinel, + transport: Any = sentinel, + payload: Any = sentinel, + sslcontext: Optional[SSLContext] = None, + client_max_size: int = 1024**2, + loop: Any = ..., +) -> Request: + """Creates mocked web.Request testing purposes. + + Useful in unit tests, when spinning full web server is overkill or + specific conditions and errors are hard to trigger. + """ + task = mock.Mock() + if loop is ...: + loop = mock.Mock() + loop.create_future.return_value = () + + if version < HttpVersion(1, 1): + closing = True + + if headers: + headers = CIMultiDictProxy(CIMultiDict(headers)) + raw_hdrs = tuple( + (k.encode("utf-8"), v.encode("utf-8")) for k, v in headers.items() + ) + else: + headers = CIMultiDictProxy(CIMultiDict()) + raw_hdrs = () + + chunked = "chunked" in headers.get(hdrs.TRANSFER_ENCODING, "").lower() + + message = RawRequestMessage( + method, + path, + version, + headers, + raw_hdrs, + closing, + None, + False, + chunked, + URL(path), + ) + if app is None: + app = _create_app_mock() + + if transport is sentinel: + transport = _create_transport(sslcontext) + + if protocol is sentinel: + protocol = mock.Mock() + protocol.transport = transport + + if writer is sentinel: + writer = mock.Mock() + writer.write_headers = make_mocked_coro(None) + writer.write = make_mocked_coro(None) + writer.write_eof = make_mocked_coro(None) + writer.drain = make_mocked_coro(None) + writer.transport = transport + + protocol.transport = transport + protocol.writer = writer + + if payload is sentinel: + payload = mock.Mock() + + req = Request( + message, payload, protocol, writer, task, loop, client_max_size=client_max_size + ) + + match_info = UrlMappingMatchInfo( + {} if match_info is sentinel else match_info, mock.Mock() + ) + match_info.add_app(app) + req._match_info = match_info + + return req + + +def make_mocked_coro( + return_value: Any = sentinel, raise_exception: Any = sentinel +) -> Any: + """Creates a coroutine mock.""" + + async def mock_coro(*args: Any, **kwargs: Any) -> Any: + if raise_exception is not sentinel: + raise raise_exception + if not inspect.isawaitable(return_value): + return return_value + await return_value + + return mock.Mock(wraps=mock_coro) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/tracing.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/tracing.py new file mode 100644 index 0000000000000000000000000000000000000000..70e2a62ec1d41ad8ac903c57cc96b3deeb2fb423 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/tracing.py @@ -0,0 +1,471 @@ +from types import SimpleNamespace +from typing import TYPE_CHECKING, Awaitable, Optional, Protocol, Type, TypeVar + +import attr +from aiosignal import Signal +from multidict import CIMultiDict +from yarl import URL + +from .client_reqrep import ClientResponse + +if TYPE_CHECKING: # pragma: no cover + from .client import ClientSession + + _ParamT_contra = TypeVar("_ParamT_contra", contravariant=True) + + class _SignalCallback(Protocol[_ParamT_contra]): + def __call__( + self, + __client_session: ClientSession, + __trace_config_ctx: SimpleNamespace, + __params: _ParamT_contra, + ) -> Awaitable[None]: + ... + + +__all__ = ( + "TraceConfig", + "TraceRequestStartParams", + "TraceRequestEndParams", + "TraceRequestExceptionParams", + "TraceConnectionQueuedStartParams", + "TraceConnectionQueuedEndParams", + "TraceConnectionCreateStartParams", + "TraceConnectionCreateEndParams", + "TraceConnectionReuseconnParams", + "TraceDnsResolveHostStartParams", + "TraceDnsResolveHostEndParams", + "TraceDnsCacheHitParams", + "TraceDnsCacheMissParams", + "TraceRequestRedirectParams", + "TraceRequestChunkSentParams", + "TraceResponseChunkReceivedParams", + "TraceRequestHeadersSentParams", +) + + +class TraceConfig: + """First-class used to trace requests launched via ClientSession objects.""" + + def __init__( + self, trace_config_ctx_factory: Type[SimpleNamespace] = SimpleNamespace + ) -> None: + self._on_request_start: Signal[ + _SignalCallback[TraceRequestStartParams] + ] = Signal(self) + self._on_request_chunk_sent: Signal[ + _SignalCallback[TraceRequestChunkSentParams] + ] = Signal(self) + self._on_response_chunk_received: Signal[ + _SignalCallback[TraceResponseChunkReceivedParams] + ] = Signal(self) + self._on_request_end: Signal[_SignalCallback[TraceRequestEndParams]] = Signal( + self + ) + self._on_request_exception: Signal[ + _SignalCallback[TraceRequestExceptionParams] + ] = Signal(self) + self._on_request_redirect: Signal[ + _SignalCallback[TraceRequestRedirectParams] + ] = Signal(self) + self._on_connection_queued_start: Signal[ + _SignalCallback[TraceConnectionQueuedStartParams] + ] = Signal(self) + self._on_connection_queued_end: Signal[ + _SignalCallback[TraceConnectionQueuedEndParams] + ] = Signal(self) + self._on_connection_create_start: Signal[ + _SignalCallback[TraceConnectionCreateStartParams] + ] = Signal(self) + self._on_connection_create_end: Signal[ + _SignalCallback[TraceConnectionCreateEndParams] + ] = Signal(self) + self._on_connection_reuseconn: Signal[ + _SignalCallback[TraceConnectionReuseconnParams] + ] = Signal(self) + self._on_dns_resolvehost_start: Signal[ + _SignalCallback[TraceDnsResolveHostStartParams] + ] = Signal(self) + self._on_dns_resolvehost_end: Signal[ + _SignalCallback[TraceDnsResolveHostEndParams] + ] = Signal(self) + self._on_dns_cache_hit: Signal[ + _SignalCallback[TraceDnsCacheHitParams] + ] = Signal(self) + self._on_dns_cache_miss: Signal[ + _SignalCallback[TraceDnsCacheMissParams] + ] = Signal(self) + self._on_request_headers_sent: Signal[ + _SignalCallback[TraceRequestHeadersSentParams] + ] = Signal(self) + + self._trace_config_ctx_factory = trace_config_ctx_factory + + def trace_config_ctx( + self, trace_request_ctx: Optional[SimpleNamespace] = None + ) -> SimpleNamespace: + """Return a new trace_config_ctx instance""" + return self._trace_config_ctx_factory(trace_request_ctx=trace_request_ctx) + + def freeze(self) -> None: + self._on_request_start.freeze() + self._on_request_chunk_sent.freeze() + self._on_response_chunk_received.freeze() + self._on_request_end.freeze() + self._on_request_exception.freeze() + self._on_request_redirect.freeze() + self._on_connection_queued_start.freeze() + self._on_connection_queued_end.freeze() + self._on_connection_create_start.freeze() + self._on_connection_create_end.freeze() + self._on_connection_reuseconn.freeze() + self._on_dns_resolvehost_start.freeze() + self._on_dns_resolvehost_end.freeze() + self._on_dns_cache_hit.freeze() + self._on_dns_cache_miss.freeze() + self._on_request_headers_sent.freeze() + + @property + def on_request_start(self) -> "Signal[_SignalCallback[TraceRequestStartParams]]": + return self._on_request_start + + @property + def on_request_chunk_sent( + self, + ) -> "Signal[_SignalCallback[TraceRequestChunkSentParams]]": + return self._on_request_chunk_sent + + @property + def on_response_chunk_received( + self, + ) -> "Signal[_SignalCallback[TraceResponseChunkReceivedParams]]": + return self._on_response_chunk_received + + @property + def on_request_end(self) -> "Signal[_SignalCallback[TraceRequestEndParams]]": + return self._on_request_end + + @property + def on_request_exception( + self, + ) -> "Signal[_SignalCallback[TraceRequestExceptionParams]]": + return self._on_request_exception + + @property + def on_request_redirect( + self, + ) -> "Signal[_SignalCallback[TraceRequestRedirectParams]]": + return self._on_request_redirect + + @property + def on_connection_queued_start( + self, + ) -> "Signal[_SignalCallback[TraceConnectionQueuedStartParams]]": + return self._on_connection_queued_start + + @property + def on_connection_queued_end( + self, + ) -> "Signal[_SignalCallback[TraceConnectionQueuedEndParams]]": + return self._on_connection_queued_end + + @property + def on_connection_create_start( + self, + ) -> "Signal[_SignalCallback[TraceConnectionCreateStartParams]]": + return self._on_connection_create_start + + @property + def on_connection_create_end( + self, + ) -> "Signal[_SignalCallback[TraceConnectionCreateEndParams]]": + return self._on_connection_create_end + + @property + def on_connection_reuseconn( + self, + ) -> "Signal[_SignalCallback[TraceConnectionReuseconnParams]]": + return self._on_connection_reuseconn + + @property + def on_dns_resolvehost_start( + self, + ) -> "Signal[_SignalCallback[TraceDnsResolveHostStartParams]]": + return self._on_dns_resolvehost_start + + @property + def on_dns_resolvehost_end( + self, + ) -> "Signal[_SignalCallback[TraceDnsResolveHostEndParams]]": + return self._on_dns_resolvehost_end + + @property + def on_dns_cache_hit(self) -> "Signal[_SignalCallback[TraceDnsCacheHitParams]]": + return self._on_dns_cache_hit + + @property + def on_dns_cache_miss(self) -> "Signal[_SignalCallback[TraceDnsCacheMissParams]]": + return self._on_dns_cache_miss + + @property + def on_request_headers_sent( + self, + ) -> "Signal[_SignalCallback[TraceRequestHeadersSentParams]]": + return self._on_request_headers_sent + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceRequestStartParams: + """Parameters sent by the `on_request_start` signal""" + + method: str + url: URL + headers: "CIMultiDict[str]" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceRequestChunkSentParams: + """Parameters sent by the `on_request_chunk_sent` signal""" + + method: str + url: URL + chunk: bytes + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceResponseChunkReceivedParams: + """Parameters sent by the `on_response_chunk_received` signal""" + + method: str + url: URL + chunk: bytes + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceRequestEndParams: + """Parameters sent by the `on_request_end` signal""" + + method: str + url: URL + headers: "CIMultiDict[str]" + response: ClientResponse + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceRequestExceptionParams: + """Parameters sent by the `on_request_exception` signal""" + + method: str + url: URL + headers: "CIMultiDict[str]" + exception: BaseException + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceRequestRedirectParams: + """Parameters sent by the `on_request_redirect` signal""" + + method: str + url: URL + headers: "CIMultiDict[str]" + response: ClientResponse + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceConnectionQueuedStartParams: + """Parameters sent by the `on_connection_queued_start` signal""" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceConnectionQueuedEndParams: + """Parameters sent by the `on_connection_queued_end` signal""" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceConnectionCreateStartParams: + """Parameters sent by the `on_connection_create_start` signal""" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceConnectionCreateEndParams: + """Parameters sent by the `on_connection_create_end` signal""" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceConnectionReuseconnParams: + """Parameters sent by the `on_connection_reuseconn` signal""" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceDnsResolveHostStartParams: + """Parameters sent by the `on_dns_resolvehost_start` signal""" + + host: str + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceDnsResolveHostEndParams: + """Parameters sent by the `on_dns_resolvehost_end` signal""" + + host: str + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceDnsCacheHitParams: + """Parameters sent by the `on_dns_cache_hit` signal""" + + host: str + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceDnsCacheMissParams: + """Parameters sent by the `on_dns_cache_miss` signal""" + + host: str + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class TraceRequestHeadersSentParams: + """Parameters sent by the `on_request_headers_sent` signal""" + + method: str + url: URL + headers: "CIMultiDict[str]" + + +class Trace: + """Internal dependency holder class. + + Used to keep together the main dependencies used + at the moment of send a signal. + """ + + def __init__( + self, + session: "ClientSession", + trace_config: TraceConfig, + trace_config_ctx: SimpleNamespace, + ) -> None: + self._trace_config = trace_config + self._trace_config_ctx = trace_config_ctx + self._session = session + + async def send_request_start( + self, method: str, url: URL, headers: "CIMultiDict[str]" + ) -> None: + return await self._trace_config.on_request_start.send( + self._session, + self._trace_config_ctx, + TraceRequestStartParams(method, url, headers), + ) + + async def send_request_chunk_sent( + self, method: str, url: URL, chunk: bytes + ) -> None: + return await self._trace_config.on_request_chunk_sent.send( + self._session, + self._trace_config_ctx, + TraceRequestChunkSentParams(method, url, chunk), + ) + + async def send_response_chunk_received( + self, method: str, url: URL, chunk: bytes + ) -> None: + return await self._trace_config.on_response_chunk_received.send( + self._session, + self._trace_config_ctx, + TraceResponseChunkReceivedParams(method, url, chunk), + ) + + async def send_request_end( + self, + method: str, + url: URL, + headers: "CIMultiDict[str]", + response: ClientResponse, + ) -> None: + return await self._trace_config.on_request_end.send( + self._session, + self._trace_config_ctx, + TraceRequestEndParams(method, url, headers, response), + ) + + async def send_request_exception( + self, + method: str, + url: URL, + headers: "CIMultiDict[str]", + exception: BaseException, + ) -> None: + return await self._trace_config.on_request_exception.send( + self._session, + self._trace_config_ctx, + TraceRequestExceptionParams(method, url, headers, exception), + ) + + async def send_request_redirect( + self, + method: str, + url: URL, + headers: "CIMultiDict[str]", + response: ClientResponse, + ) -> None: + return await self._trace_config._on_request_redirect.send( + self._session, + self._trace_config_ctx, + TraceRequestRedirectParams(method, url, headers, response), + ) + + async def send_connection_queued_start(self) -> None: + return await self._trace_config.on_connection_queued_start.send( + self._session, self._trace_config_ctx, TraceConnectionQueuedStartParams() + ) + + async def send_connection_queued_end(self) -> None: + return await self._trace_config.on_connection_queued_end.send( + self._session, self._trace_config_ctx, TraceConnectionQueuedEndParams() + ) + + async def send_connection_create_start(self) -> None: + return await self._trace_config.on_connection_create_start.send( + self._session, self._trace_config_ctx, TraceConnectionCreateStartParams() + ) + + async def send_connection_create_end(self) -> None: + return await self._trace_config.on_connection_create_end.send( + self._session, self._trace_config_ctx, TraceConnectionCreateEndParams() + ) + + async def send_connection_reuseconn(self) -> None: + return await self._trace_config.on_connection_reuseconn.send( + self._session, self._trace_config_ctx, TraceConnectionReuseconnParams() + ) + + async def send_dns_resolvehost_start(self, host: str) -> None: + return await self._trace_config.on_dns_resolvehost_start.send( + self._session, self._trace_config_ctx, TraceDnsResolveHostStartParams(host) + ) + + async def send_dns_resolvehost_end(self, host: str) -> None: + return await self._trace_config.on_dns_resolvehost_end.send( + self._session, self._trace_config_ctx, TraceDnsResolveHostEndParams(host) + ) + + async def send_dns_cache_hit(self, host: str) -> None: + return await self._trace_config.on_dns_cache_hit.send( + self._session, self._trace_config_ctx, TraceDnsCacheHitParams(host) + ) + + async def send_dns_cache_miss(self, host: str) -> None: + return await self._trace_config.on_dns_cache_miss.send( + self._session, self._trace_config_ctx, TraceDnsCacheMissParams(host) + ) + + async def send_request_headers( + self, method: str, url: URL, headers: "CIMultiDict[str]" + ) -> None: + return await self._trace_config._on_request_headers_sent.send( + self._session, + self._trace_config_ctx, + TraceRequestHeadersSentParams(method, url, headers), + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/typedefs.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/typedefs.py new file mode 100644 index 0000000000000000000000000000000000000000..57d95b384f22b92eca656abf159531ba4dd2e0e4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/typedefs.py @@ -0,0 +1,54 @@ +import json +import os +from typing import ( + TYPE_CHECKING, + Any, + Awaitable, + Callable, + Iterable, + Mapping, + Tuple, + Union, +) + +from multidict import CIMultiDict, CIMultiDictProxy, MultiDict, MultiDictProxy, istr +from yarl import URL + +DEFAULT_JSON_ENCODER = json.dumps +DEFAULT_JSON_DECODER = json.loads + +if TYPE_CHECKING: # pragma: no cover + _CIMultiDict = CIMultiDict[str] + _CIMultiDictProxy = CIMultiDictProxy[str] + _MultiDict = MultiDict[str] + _MultiDictProxy = MultiDictProxy[str] + from http.cookies import BaseCookie, Morsel + + from .web import Request, StreamResponse +else: + _CIMultiDict = CIMultiDict + _CIMultiDictProxy = CIMultiDictProxy + _MultiDict = MultiDict + _MultiDictProxy = MultiDictProxy + +Byteish = Union[bytes, bytearray, memoryview] +JSONEncoder = Callable[[Any], str] +JSONDecoder = Callable[[str], Any] +LooseHeaders = Union[Mapping[Union[str, istr], str], _CIMultiDict, _CIMultiDictProxy] +RawHeaders = Tuple[Tuple[bytes, bytes], ...] +StrOrURL = Union[str, URL] + +LooseCookiesMappings = Mapping[str, Union[str, "BaseCookie[str]", "Morsel[Any]"]] +LooseCookiesIterables = Iterable[ + Tuple[str, Union[str, "BaseCookie[str]", "Morsel[Any]"]] +] +LooseCookies = Union[ + LooseCookiesMappings, + LooseCookiesIterables, + "BaseCookie[str]", +] + +Handler = Callable[["Request"], Awaitable["StreamResponse"]] +Middleware = Callable[["Request", Handler], Awaitable["StreamResponse"]] + +PathLike = Union[str, "os.PathLike[str]"] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web.py new file mode 100644 index 0000000000000000000000000000000000000000..e9116507f4e6ab9ee27bb084e8e96985cc6728de --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web.py @@ -0,0 +1,616 @@ +import asyncio +import logging +import os +import socket +import sys +import warnings +from argparse import ArgumentParser +from collections.abc import Iterable +from contextlib import suppress +from functools import partial +from importlib import import_module +from typing import ( + Any, + Awaitable, + Callable, + Iterable as TypingIterable, + List, + Optional, + Set, + Type, + Union, + cast, +) +from weakref import WeakSet + +from .abc import AbstractAccessLogger +from .helpers import AppKey as AppKey +from .log import access_logger +from .typedefs import PathLike +from .web_app import Application as Application, CleanupError as CleanupError +from .web_exceptions import ( + HTTPAccepted as HTTPAccepted, + HTTPBadGateway as HTTPBadGateway, + HTTPBadRequest as HTTPBadRequest, + HTTPClientError as HTTPClientError, + HTTPConflict as HTTPConflict, + HTTPCreated as HTTPCreated, + HTTPError as HTTPError, + HTTPException as HTTPException, + HTTPExpectationFailed as HTTPExpectationFailed, + HTTPFailedDependency as HTTPFailedDependency, + HTTPForbidden as HTTPForbidden, + HTTPFound as HTTPFound, + HTTPGatewayTimeout as HTTPGatewayTimeout, + HTTPGone as HTTPGone, + HTTPInsufficientStorage as HTTPInsufficientStorage, + HTTPInternalServerError as HTTPInternalServerError, + HTTPLengthRequired as HTTPLengthRequired, + HTTPMethodNotAllowed as HTTPMethodNotAllowed, + HTTPMisdirectedRequest as HTTPMisdirectedRequest, + HTTPMove as HTTPMove, + HTTPMovedPermanently as HTTPMovedPermanently, + HTTPMultipleChoices as HTTPMultipleChoices, + HTTPNetworkAuthenticationRequired as HTTPNetworkAuthenticationRequired, + HTTPNoContent as HTTPNoContent, + HTTPNonAuthoritativeInformation as HTTPNonAuthoritativeInformation, + HTTPNotAcceptable as HTTPNotAcceptable, + HTTPNotExtended as HTTPNotExtended, + HTTPNotFound as HTTPNotFound, + HTTPNotImplemented as HTTPNotImplemented, + HTTPNotModified as HTTPNotModified, + HTTPOk as HTTPOk, + HTTPPartialContent as HTTPPartialContent, + HTTPPaymentRequired as HTTPPaymentRequired, + HTTPPermanentRedirect as HTTPPermanentRedirect, + HTTPPreconditionFailed as HTTPPreconditionFailed, + HTTPPreconditionRequired as HTTPPreconditionRequired, + HTTPProxyAuthenticationRequired as HTTPProxyAuthenticationRequired, + HTTPRedirection as HTTPRedirection, + HTTPRequestEntityTooLarge as HTTPRequestEntityTooLarge, + HTTPRequestHeaderFieldsTooLarge as HTTPRequestHeaderFieldsTooLarge, + HTTPRequestRangeNotSatisfiable as HTTPRequestRangeNotSatisfiable, + HTTPRequestTimeout as HTTPRequestTimeout, + HTTPRequestURITooLong as HTTPRequestURITooLong, + HTTPResetContent as HTTPResetContent, + HTTPSeeOther as HTTPSeeOther, + HTTPServerError as HTTPServerError, + HTTPServiceUnavailable as HTTPServiceUnavailable, + HTTPSuccessful as HTTPSuccessful, + HTTPTemporaryRedirect as HTTPTemporaryRedirect, + HTTPTooManyRequests as HTTPTooManyRequests, + HTTPUnauthorized as HTTPUnauthorized, + HTTPUnavailableForLegalReasons as HTTPUnavailableForLegalReasons, + HTTPUnprocessableEntity as HTTPUnprocessableEntity, + HTTPUnsupportedMediaType as HTTPUnsupportedMediaType, + HTTPUpgradeRequired as HTTPUpgradeRequired, + HTTPUseProxy as HTTPUseProxy, + HTTPVariantAlsoNegotiates as HTTPVariantAlsoNegotiates, + HTTPVersionNotSupported as HTTPVersionNotSupported, + NotAppKeyWarning as NotAppKeyWarning, +) +from .web_fileresponse import FileResponse as FileResponse +from .web_log import AccessLogger +from .web_middlewares import ( + middleware as middleware, + normalize_path_middleware as normalize_path_middleware, +) +from .web_protocol import ( + PayloadAccessError as PayloadAccessError, + RequestHandler as RequestHandler, + RequestPayloadError as RequestPayloadError, +) +from .web_request import ( + BaseRequest as BaseRequest, + FileField as FileField, + Request as Request, +) +from .web_response import ( + ContentCoding as ContentCoding, + Response as Response, + StreamResponse as StreamResponse, + json_response as json_response, +) +from .web_routedef import ( + AbstractRouteDef as AbstractRouteDef, + RouteDef as RouteDef, + RouteTableDef as RouteTableDef, + StaticDef as StaticDef, + delete as delete, + get as get, + head as head, + options as options, + patch as patch, + post as post, + put as put, + route as route, + static as static, + view as view, +) +from .web_runner import ( + AppRunner as AppRunner, + BaseRunner as BaseRunner, + BaseSite as BaseSite, + GracefulExit as GracefulExit, + NamedPipeSite as NamedPipeSite, + ServerRunner as ServerRunner, + SockSite as SockSite, + TCPSite as TCPSite, + UnixSite as UnixSite, +) +from .web_server import Server as Server +from .web_urldispatcher import ( + AbstractResource as AbstractResource, + AbstractRoute as AbstractRoute, + DynamicResource as DynamicResource, + PlainResource as PlainResource, + PrefixedSubAppResource as PrefixedSubAppResource, + Resource as Resource, + ResourceRoute as ResourceRoute, + StaticResource as StaticResource, + UrlDispatcher as UrlDispatcher, + UrlMappingMatchInfo as UrlMappingMatchInfo, + View as View, +) +from .web_ws import ( + WebSocketReady as WebSocketReady, + WebSocketResponse as WebSocketResponse, + WSMsgType as WSMsgType, +) + +__all__ = ( + # web_app + "AppKey", + "Application", + "CleanupError", + # web_exceptions + "NotAppKeyWarning", + "HTTPAccepted", + "HTTPBadGateway", + "HTTPBadRequest", + "HTTPClientError", + "HTTPConflict", + "HTTPCreated", + "HTTPError", + "HTTPException", + "HTTPExpectationFailed", + "HTTPFailedDependency", + "HTTPForbidden", + "HTTPFound", + "HTTPGatewayTimeout", + "HTTPGone", + "HTTPInsufficientStorage", + "HTTPInternalServerError", + "HTTPLengthRequired", + "HTTPMethodNotAllowed", + "HTTPMisdirectedRequest", + "HTTPMove", + "HTTPMovedPermanently", + "HTTPMultipleChoices", + "HTTPNetworkAuthenticationRequired", + "HTTPNoContent", + "HTTPNonAuthoritativeInformation", + "HTTPNotAcceptable", + "HTTPNotExtended", + "HTTPNotFound", + "HTTPNotImplemented", + "HTTPNotModified", + "HTTPOk", + "HTTPPartialContent", + "HTTPPaymentRequired", + "HTTPPermanentRedirect", + "HTTPPreconditionFailed", + "HTTPPreconditionRequired", + "HTTPProxyAuthenticationRequired", + "HTTPRedirection", + "HTTPRequestEntityTooLarge", + "HTTPRequestHeaderFieldsTooLarge", + "HTTPRequestRangeNotSatisfiable", + "HTTPRequestTimeout", + "HTTPRequestURITooLong", + "HTTPResetContent", + "HTTPSeeOther", + "HTTPServerError", + "HTTPServiceUnavailable", + "HTTPSuccessful", + "HTTPTemporaryRedirect", + "HTTPTooManyRequests", + "HTTPUnauthorized", + "HTTPUnavailableForLegalReasons", + "HTTPUnprocessableEntity", + "HTTPUnsupportedMediaType", + "HTTPUpgradeRequired", + "HTTPUseProxy", + "HTTPVariantAlsoNegotiates", + "HTTPVersionNotSupported", + # web_fileresponse + "FileResponse", + # web_middlewares + "middleware", + "normalize_path_middleware", + # web_protocol + "PayloadAccessError", + "RequestHandler", + "RequestPayloadError", + # web_request + "BaseRequest", + "FileField", + "Request", + # web_response + "ContentCoding", + "Response", + "StreamResponse", + "json_response", + # web_routedef + "AbstractRouteDef", + "RouteDef", + "RouteTableDef", + "StaticDef", + "delete", + "get", + "head", + "options", + "patch", + "post", + "put", + "route", + "static", + "view", + # web_runner + "AppRunner", + "BaseRunner", + "BaseSite", + "GracefulExit", + "ServerRunner", + "SockSite", + "TCPSite", + "UnixSite", + "NamedPipeSite", + # web_server + "Server", + # web_urldispatcher + "AbstractResource", + "AbstractRoute", + "DynamicResource", + "PlainResource", + "PrefixedSubAppResource", + "Resource", + "ResourceRoute", + "StaticResource", + "UrlDispatcher", + "UrlMappingMatchInfo", + "View", + # web_ws + "WebSocketReady", + "WebSocketResponse", + "WSMsgType", + # web + "run_app", +) + + +try: + from ssl import SSLContext +except ImportError: # pragma: no cover + SSLContext = Any # type: ignore[misc,assignment] + +# Only display warning when using -Wdefault, -We, -X dev or similar. +warnings.filterwarnings("ignore", category=NotAppKeyWarning, append=True) + +HostSequence = TypingIterable[str] + + +async def _run_app( + app: Union[Application, Awaitable[Application]], + *, + host: Optional[Union[str, HostSequence]] = None, + port: Optional[int] = None, + path: Union[PathLike, TypingIterable[PathLike], None] = None, + sock: Optional[Union[socket.socket, TypingIterable[socket.socket]]] = None, + shutdown_timeout: float = 60.0, + keepalive_timeout: float = 75.0, + ssl_context: Optional[SSLContext] = None, + print: Optional[Callable[..., None]] = print, + backlog: int = 128, + access_log_class: Type[AbstractAccessLogger] = AccessLogger, + access_log_format: str = AccessLogger.LOG_FORMAT, + access_log: Optional[logging.Logger] = access_logger, + handle_signals: bool = True, + reuse_address: Optional[bool] = None, + reuse_port: Optional[bool] = None, + handler_cancellation: bool = False, +) -> None: + async def wait( + starting_tasks: "WeakSet[asyncio.Task[object]]", shutdown_timeout: float + ) -> None: + # Wait for pending tasks for a given time limit. + t = asyncio.current_task() + assert t is not None + starting_tasks.add(t) + with suppress(asyncio.TimeoutError): + await asyncio.wait_for(_wait(starting_tasks), timeout=shutdown_timeout) + + async def _wait(exclude: "WeakSet[asyncio.Task[object]]") -> None: + t = asyncio.current_task() + assert t is not None + exclude.add(t) + while tasks := asyncio.all_tasks().difference(exclude): + await asyncio.wait(tasks) + + # An internal function to actually do all dirty job for application running + if asyncio.iscoroutine(app): + app = await app + + app = cast(Application, app) + + runner = AppRunner( + app, + handle_signals=handle_signals, + access_log_class=access_log_class, + access_log_format=access_log_format, + access_log=access_log, + keepalive_timeout=keepalive_timeout, + shutdown_timeout=shutdown_timeout, + handler_cancellation=handler_cancellation, + ) + + await runner.setup() + # On shutdown we want to avoid waiting on tasks which run forever. + # It's very likely that all tasks which run forever will have been created by + # the time we have completed the application startup (in runner.setup()), + # so we just record all running tasks here and exclude them later. + starting_tasks: "WeakSet[asyncio.Task[object]]" = WeakSet(asyncio.all_tasks()) + runner.shutdown_callback = partial(wait, starting_tasks, shutdown_timeout) + + sites: List[BaseSite] = [] + + try: + if host is not None: + if isinstance(host, (str, bytes, bytearray, memoryview)): + sites.append( + TCPSite( + runner, + host, + port, + ssl_context=ssl_context, + backlog=backlog, + reuse_address=reuse_address, + reuse_port=reuse_port, + ) + ) + else: + for h in host: + sites.append( + TCPSite( + runner, + h, + port, + ssl_context=ssl_context, + backlog=backlog, + reuse_address=reuse_address, + reuse_port=reuse_port, + ) + ) + elif path is None and sock is None or port is not None: + sites.append( + TCPSite( + runner, + port=port, + ssl_context=ssl_context, + backlog=backlog, + reuse_address=reuse_address, + reuse_port=reuse_port, + ) + ) + + if path is not None: + if isinstance(path, (str, os.PathLike)): + sites.append( + UnixSite( + runner, + path, + ssl_context=ssl_context, + backlog=backlog, + ) + ) + else: + for p in path: + sites.append( + UnixSite( + runner, + p, + ssl_context=ssl_context, + backlog=backlog, + ) + ) + + if sock is not None: + if not isinstance(sock, Iterable): + sites.append( + SockSite( + runner, + sock, + ssl_context=ssl_context, + backlog=backlog, + ) + ) + else: + for s in sock: + sites.append( + SockSite( + runner, + s, + ssl_context=ssl_context, + backlog=backlog, + ) + ) + for site in sites: + await site.start() + + if print: # pragma: no branch + names = sorted(str(s.name) for s in runner.sites) + print( + "======== Running on {} ========\n" + "(Press CTRL+C to quit)".format(", ".join(names)) + ) + + # sleep forever by 1 hour intervals, + while True: + await asyncio.sleep(3600) + finally: + await runner.cleanup() + + +def _cancel_tasks( + to_cancel: Set["asyncio.Task[Any]"], loop: asyncio.AbstractEventLoop +) -> None: + if not to_cancel: + return + + for task in to_cancel: + task.cancel() + + loop.run_until_complete(asyncio.gather(*to_cancel, return_exceptions=True)) + + for task in to_cancel: + if task.cancelled(): + continue + if task.exception() is not None: + loop.call_exception_handler( + { + "message": "unhandled exception during asyncio.run() shutdown", + "exception": task.exception(), + "task": task, + } + ) + + +def run_app( + app: Union[Application, Awaitable[Application]], + *, + host: Optional[Union[str, HostSequence]] = None, + port: Optional[int] = None, + path: Union[PathLike, TypingIterable[PathLike], None] = None, + sock: Optional[Union[socket.socket, TypingIterable[socket.socket]]] = None, + shutdown_timeout: float = 60.0, + keepalive_timeout: float = 75.0, + ssl_context: Optional[SSLContext] = None, + print: Optional[Callable[..., None]] = print, + backlog: int = 128, + access_log_class: Type[AbstractAccessLogger] = AccessLogger, + access_log_format: str = AccessLogger.LOG_FORMAT, + access_log: Optional[logging.Logger] = access_logger, + handle_signals: bool = True, + reuse_address: Optional[bool] = None, + reuse_port: Optional[bool] = None, + handler_cancellation: bool = False, + loop: Optional[asyncio.AbstractEventLoop] = None, +) -> None: + """Run an app locally""" + if loop is None: + loop = asyncio.new_event_loop() + + # Configure if and only if in debugging mode and using the default logger + if loop.get_debug() and access_log and access_log.name == "aiohttp.access": + if access_log.level == logging.NOTSET: + access_log.setLevel(logging.DEBUG) + if not access_log.hasHandlers(): + access_log.addHandler(logging.StreamHandler()) + + main_task = loop.create_task( + _run_app( + app, + host=host, + port=port, + path=path, + sock=sock, + shutdown_timeout=shutdown_timeout, + keepalive_timeout=keepalive_timeout, + ssl_context=ssl_context, + print=print, + backlog=backlog, + access_log_class=access_log_class, + access_log_format=access_log_format, + access_log=access_log, + handle_signals=handle_signals, + reuse_address=reuse_address, + reuse_port=reuse_port, + handler_cancellation=handler_cancellation, + ) + ) + + try: + asyncio.set_event_loop(loop) + loop.run_until_complete(main_task) + except (GracefulExit, KeyboardInterrupt): # pragma: no cover + pass + finally: + _cancel_tasks({main_task}, loop) + _cancel_tasks(asyncio.all_tasks(loop), loop) + loop.run_until_complete(loop.shutdown_asyncgens()) + loop.close() + + +def main(argv: List[str]) -> None: + arg_parser = ArgumentParser( + description="aiohttp.web Application server", prog="aiohttp.web" + ) + arg_parser.add_argument( + "entry_func", + help=( + "Callable returning the `aiohttp.web.Application` instance to " + "run. Should be specified in the 'module:function' syntax." + ), + metavar="entry-func", + ) + arg_parser.add_argument( + "-H", + "--hostname", + help="TCP/IP hostname to serve on (default: %(default)r)", + default="localhost", + ) + arg_parser.add_argument( + "-P", + "--port", + help="TCP/IP port to serve on (default: %(default)r)", + type=int, + default="8080", + ) + arg_parser.add_argument( + "-U", + "--path", + help="Unix file system path to serve on. Specifying a path will cause " + "hostname and port arguments to be ignored.", + ) + args, extra_argv = arg_parser.parse_known_args(argv) + + # Import logic + mod_str, _, func_str = args.entry_func.partition(":") + if not func_str or not mod_str: + arg_parser.error("'entry-func' not in 'module:function' syntax") + if mod_str.startswith("."): + arg_parser.error("relative module names not supported") + try: + module = import_module(mod_str) + except ImportError as ex: + arg_parser.error(f"unable to import {mod_str}: {ex}") + try: + func = getattr(module, func_str) + except AttributeError: + arg_parser.error(f"module {mod_str!r} has no attribute {func_str!r}") + + # Compatibility logic + if args.path is not None and not hasattr(socket, "AF_UNIX"): + arg_parser.error( + "file system paths not supported by your operating" " environment" + ) + + logging.basicConfig(level=logging.DEBUG) + + app = func(extra_argv) + run_app(app, host=args.hostname, port=args.port, path=args.path) + arg_parser.exit(message="Stopped\n") + + +if __name__ == "__main__": # pragma: no branch + main(sys.argv[1:]) # pragma: no cover diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_app.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_app.py new file mode 100644 index 0000000000000000000000000000000000000000..6e822b8022562ebe82fb6b9eeda82978e12c14a9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_app.py @@ -0,0 +1,596 @@ +import asyncio +import logging +import warnings +from functools import partial, update_wrapper +from typing import ( + TYPE_CHECKING, + Any, + AsyncIterator, + Awaitable, + Callable, + Dict, + Iterable, + Iterator, + List, + Mapping, + MutableMapping, + Optional, + Sequence, + Tuple, + Type, + TypeVar, + Union, + cast, + overload, +) + +from aiosignal import Signal +from frozenlist import FrozenList + +from . import hdrs +from .abc import ( + AbstractAccessLogger, + AbstractMatchInfo, + AbstractRouter, + AbstractStreamWriter, +) +from .helpers import DEBUG, AppKey +from .http_parser import RawRequestMessage +from .log import web_logger +from .streams import StreamReader +from .typedefs import Middleware +from .web_exceptions import NotAppKeyWarning +from .web_log import AccessLogger +from .web_middlewares import _fix_request_current_app +from .web_protocol import RequestHandler +from .web_request import Request +from .web_response import StreamResponse +from .web_routedef import AbstractRouteDef +from .web_server import Server +from .web_urldispatcher import ( + AbstractResource, + AbstractRoute, + Domain, + MaskDomain, + MatchedSubAppResource, + PrefixedSubAppResource, + UrlDispatcher, +) + +__all__ = ("Application", "CleanupError") + + +if TYPE_CHECKING: # pragma: no cover + _AppSignal = Signal[Callable[["Application"], Awaitable[None]]] + _RespPrepareSignal = Signal[Callable[[Request, StreamResponse], Awaitable[None]]] + _Middlewares = FrozenList[Middleware] + _MiddlewaresHandlers = Optional[Sequence[Tuple[Middleware, bool]]] + _Subapps = List["Application"] +else: + # No type checker mode, skip types + _AppSignal = Signal + _RespPrepareSignal = Signal + _Middlewares = FrozenList + _MiddlewaresHandlers = Optional[Sequence] + _Subapps = List + +_T = TypeVar("_T") +_U = TypeVar("_U") + + +class Application(MutableMapping[Union[str, AppKey[Any]], Any]): + ATTRS = frozenset( + [ + "logger", + "_debug", + "_router", + "_loop", + "_handler_args", + "_middlewares", + "_middlewares_handlers", + "_run_middlewares", + "_state", + "_frozen", + "_pre_frozen", + "_subapps", + "_on_response_prepare", + "_on_startup", + "_on_shutdown", + "_on_cleanup", + "_client_max_size", + "_cleanup_ctx", + ] + ) + + def __init__( + self, + *, + logger: logging.Logger = web_logger, + router: Optional[UrlDispatcher] = None, + middlewares: Iterable[Middleware] = (), + handler_args: Optional[Mapping[str, Any]] = None, + client_max_size: int = 1024**2, + loop: Optional[asyncio.AbstractEventLoop] = None, + debug: Any = ..., # mypy doesn't support ellipsis + ) -> None: + if router is None: + router = UrlDispatcher() + else: + warnings.warn( + "router argument is deprecated", DeprecationWarning, stacklevel=2 + ) + assert isinstance(router, AbstractRouter), router + + if loop is not None: + warnings.warn( + "loop argument is deprecated", DeprecationWarning, stacklevel=2 + ) + + if debug is not ...: + warnings.warn( + "debug argument is deprecated", DeprecationWarning, stacklevel=2 + ) + self._debug = debug + self._router: UrlDispatcher = router + self._loop = loop + self._handler_args = handler_args + self.logger = logger + + self._middlewares: _Middlewares = FrozenList(middlewares) + + # initialized on freezing + self._middlewares_handlers: _MiddlewaresHandlers = None + # initialized on freezing + self._run_middlewares: Optional[bool] = None + + self._state: Dict[Union[AppKey[Any], str], object] = {} + self._frozen = False + self._pre_frozen = False + self._subapps: _Subapps = [] + + self._on_response_prepare: _RespPrepareSignal = Signal(self) + self._on_startup: _AppSignal = Signal(self) + self._on_shutdown: _AppSignal = Signal(self) + self._on_cleanup: _AppSignal = Signal(self) + self._cleanup_ctx = CleanupContext() + self._on_startup.append(self._cleanup_ctx._on_startup) + self._on_cleanup.append(self._cleanup_ctx._on_cleanup) + self._client_max_size = client_max_size + + def __init_subclass__(cls: Type["Application"]) -> None: + warnings.warn( + "Inheritance class {} from web.Application " + "is discouraged".format(cls.__name__), + DeprecationWarning, + stacklevel=3, + ) + + if DEBUG: # pragma: no cover + + def __setattr__(self, name: str, val: Any) -> None: + if name not in self.ATTRS: + warnings.warn( + "Setting custom web.Application.{} attribute " + "is discouraged".format(name), + DeprecationWarning, + stacklevel=2, + ) + super().__setattr__(name, val) + + # MutableMapping API + + def __eq__(self, other: object) -> bool: + return self is other + + @overload # type: ignore[override] + def __getitem__(self, key: AppKey[_T]) -> _T: + ... + + @overload + def __getitem__(self, key: str) -> Any: + ... + + def __getitem__(self, key: Union[str, AppKey[_T]]) -> Any: + return self._state[key] + + def _check_frozen(self) -> None: + if self._frozen: + warnings.warn( + "Changing state of started or joined " "application is deprecated", + DeprecationWarning, + stacklevel=3, + ) + + @overload # type: ignore[override] + def __setitem__(self, key: AppKey[_T], value: _T) -> None: + ... + + @overload + def __setitem__(self, key: str, value: Any) -> None: + ... + + def __setitem__(self, key: Union[str, AppKey[_T]], value: Any) -> None: + self._check_frozen() + if not isinstance(key, AppKey): + warnings.warn( + "It is recommended to use web.AppKey instances for keys.\n" + + "https://docs.aiohttp.org/en/stable/web_advanced.html" + + "#application-s-config", + category=NotAppKeyWarning, + stacklevel=2, + ) + self._state[key] = value + + def __delitem__(self, key: Union[str, AppKey[_T]]) -> None: + self._check_frozen() + del self._state[key] + + def __len__(self) -> int: + return len(self._state) + + def __iter__(self) -> Iterator[Union[str, AppKey[Any]]]: + return iter(self._state) + + @overload # type: ignore[override] + def get(self, key: AppKey[_T], default: None = ...) -> Optional[_T]: + ... + + @overload + def get(self, key: AppKey[_T], default: _U) -> Union[_T, _U]: + ... + + @overload + def get(self, key: str, default: Any = ...) -> Any: + ... + + def get(self, key: Union[str, AppKey[_T]], default: Any = None) -> Any: + return self._state.get(key, default) + + ######## + @property + def loop(self) -> asyncio.AbstractEventLoop: + # Technically the loop can be None + # but we mask it by explicit type cast + # to provide more convenient type annotation + warnings.warn("loop property is deprecated", DeprecationWarning, stacklevel=2) + return cast(asyncio.AbstractEventLoop, self._loop) + + def _set_loop(self, loop: Optional[asyncio.AbstractEventLoop]) -> None: + if loop is None: + loop = asyncio.get_event_loop() + if self._loop is not None and self._loop is not loop: + raise RuntimeError( + "web.Application instance initialized with different loop" + ) + + self._loop = loop + + # set loop debug + if self._debug is ...: + self._debug = loop.get_debug() + + # set loop to sub applications + for subapp in self._subapps: + subapp._set_loop(loop) + + @property + def pre_frozen(self) -> bool: + return self._pre_frozen + + def pre_freeze(self) -> None: + if self._pre_frozen: + return + + self._pre_frozen = True + self._middlewares.freeze() + self._router.freeze() + self._on_response_prepare.freeze() + self._cleanup_ctx.freeze() + self._on_startup.freeze() + self._on_shutdown.freeze() + self._on_cleanup.freeze() + self._middlewares_handlers = tuple(self._prepare_middleware()) + + # If current app and any subapp do not have middlewares avoid run all + # of the code footprint that it implies, which have a middleware + # hardcoded per app that sets up the current_app attribute. If no + # middlewares are configured the handler will receive the proper + # current_app without needing all of this code. + self._run_middlewares = True if self.middlewares else False + + for subapp in self._subapps: + subapp.pre_freeze() + self._run_middlewares = self._run_middlewares or subapp._run_middlewares + + @property + def frozen(self) -> bool: + return self._frozen + + def freeze(self) -> None: + if self._frozen: + return + + self.pre_freeze() + self._frozen = True + for subapp in self._subapps: + subapp.freeze() + + @property + def debug(self) -> bool: + warnings.warn("debug property is deprecated", DeprecationWarning, stacklevel=2) + return self._debug # type: ignore[no-any-return] + + def _reg_subapp_signals(self, subapp: "Application") -> None: + def reg_handler(signame: str) -> None: + subsig = getattr(subapp, signame) + + async def handler(app: "Application") -> None: + await subsig.send(subapp) + + appsig = getattr(self, signame) + appsig.append(handler) + + reg_handler("on_startup") + reg_handler("on_shutdown") + reg_handler("on_cleanup") + + def add_subapp(self, prefix: str, subapp: "Application") -> AbstractResource: + if not isinstance(prefix, str): + raise TypeError("Prefix must be str") + prefix = prefix.rstrip("/") + if not prefix: + raise ValueError("Prefix cannot be empty") + factory = partial(PrefixedSubAppResource, prefix, subapp) + return self._add_subapp(factory, subapp) + + def _add_subapp( + self, resource_factory: Callable[[], AbstractResource], subapp: "Application" + ) -> AbstractResource: + if self.frozen: + raise RuntimeError("Cannot add sub application to frozen application") + if subapp.frozen: + raise RuntimeError("Cannot add frozen application") + resource = resource_factory() + self.router.register_resource(resource) + self._reg_subapp_signals(subapp) + self._subapps.append(subapp) + subapp.pre_freeze() + if self._loop is not None: + subapp._set_loop(self._loop) + return resource + + def add_domain(self, domain: str, subapp: "Application") -> AbstractResource: + if not isinstance(domain, str): + raise TypeError("Domain must be str") + elif "*" in domain: + rule: Domain = MaskDomain(domain) + else: + rule = Domain(domain) + factory = partial(MatchedSubAppResource, rule, subapp) + return self._add_subapp(factory, subapp) + + def add_routes(self, routes: Iterable[AbstractRouteDef]) -> List[AbstractRoute]: + return self.router.add_routes(routes) + + @property + def on_response_prepare(self) -> _RespPrepareSignal: + return self._on_response_prepare + + @property + def on_startup(self) -> _AppSignal: + return self._on_startup + + @property + def on_shutdown(self) -> _AppSignal: + return self._on_shutdown + + @property + def on_cleanup(self) -> _AppSignal: + return self._on_cleanup + + @property + def cleanup_ctx(self) -> "CleanupContext": + return self._cleanup_ctx + + @property + def router(self) -> UrlDispatcher: + return self._router + + @property + def middlewares(self) -> _Middlewares: + return self._middlewares + + def _make_handler( + self, + *, + loop: Optional[asyncio.AbstractEventLoop] = None, + access_log_class: Type[AbstractAccessLogger] = AccessLogger, + **kwargs: Any, + ) -> Server: + + if not issubclass(access_log_class, AbstractAccessLogger): + raise TypeError( + "access_log_class must be subclass of " + "aiohttp.abc.AbstractAccessLogger, got {}".format(access_log_class) + ) + + self._set_loop(loop) + self.freeze() + + kwargs["debug"] = self._debug + kwargs["access_log_class"] = access_log_class + if self._handler_args: + for k, v in self._handler_args.items(): + kwargs[k] = v + + return Server( + self._handle, # type: ignore[arg-type] + request_factory=self._make_request, + loop=self._loop, + **kwargs, + ) + + def make_handler( + self, + *, + loop: Optional[asyncio.AbstractEventLoop] = None, + access_log_class: Type[AbstractAccessLogger] = AccessLogger, + **kwargs: Any, + ) -> Server: + + warnings.warn( + "Application.make_handler(...) is deprecated, " "use AppRunner API instead", + DeprecationWarning, + stacklevel=2, + ) + + return self._make_handler( + loop=loop, access_log_class=access_log_class, **kwargs + ) + + async def startup(self) -> None: + """Causes on_startup signal + + Should be called in the event loop along with the request handler. + """ + await self.on_startup.send(self) + + async def shutdown(self) -> None: + """Causes on_shutdown signal + + Should be called before cleanup() + """ + await self.on_shutdown.send(self) + + async def cleanup(self) -> None: + """Causes on_cleanup signal + + Should be called after shutdown() + """ + if self.on_cleanup.frozen: + await self.on_cleanup.send(self) + else: + # If an exception occurs in startup, ensure cleanup contexts are completed. + await self._cleanup_ctx._on_cleanup(self) + + def _make_request( + self, + message: RawRequestMessage, + payload: StreamReader, + protocol: RequestHandler, + writer: AbstractStreamWriter, + task: "asyncio.Task[None]", + _cls: Type[Request] = Request, + ) -> Request: + return _cls( + message, + payload, + protocol, + writer, + task, + self._loop, + client_max_size=self._client_max_size, + ) + + def _prepare_middleware(self) -> Iterator[Tuple[Middleware, bool]]: + for m in reversed(self._middlewares): + if getattr(m, "__middleware_version__", None) == 1: + yield m, True + else: + warnings.warn( + 'old-style middleware "{!r}" deprecated, ' "see #2252".format(m), + DeprecationWarning, + stacklevel=2, + ) + yield m, False + + yield _fix_request_current_app(self), True + + async def _handle(self, request: Request) -> StreamResponse: + loop = asyncio.get_event_loop() + debug = loop.get_debug() + match_info = await self._router.resolve(request) + if debug: # pragma: no cover + if not isinstance(match_info, AbstractMatchInfo): + raise TypeError( + "match_info should be AbstractMatchInfo " + "instance, not {!r}".format(match_info) + ) + match_info.add_app(self) + + match_info.freeze() + + resp = None + request._match_info = match_info + expect = request.headers.get(hdrs.EXPECT) + if expect: + resp = await match_info.expect_handler(request) + await request.writer.drain() + + if resp is None: + handler = match_info.handler + + if self._run_middlewares: + for app in match_info.apps[::-1]: + for m, new_style in app._middlewares_handlers: # type: ignore[union-attr] + if new_style: + handler = update_wrapper( + partial(m, handler=handler), handler + ) + else: + handler = await m(app, handler) # type: ignore[arg-type,assignment] + + resp = await handler(request) + + return resp + + def __call__(self) -> "Application": + """gunicorn compatibility""" + return self + + def __repr__(self) -> str: + return f"" + + def __bool__(self) -> bool: + return True + + +class CleanupError(RuntimeError): + @property + def exceptions(self) -> List[BaseException]: + return cast(List[BaseException], self.args[1]) + + +if TYPE_CHECKING: # pragma: no cover + _CleanupContextBase = FrozenList[Callable[[Application], AsyncIterator[None]]] +else: + _CleanupContextBase = FrozenList + + +class CleanupContext(_CleanupContextBase): + def __init__(self) -> None: + super().__init__() + self._exits: List[AsyncIterator[None]] = [] + + async def _on_startup(self, app: Application) -> None: + for cb in self: + it = cb(app).__aiter__() + await it.__anext__() + self._exits.append(it) + + async def _on_cleanup(self, app: Application) -> None: + errors = [] + for it in reversed(self._exits): + try: + await it.__anext__() + except StopAsyncIteration: + pass + except Exception as exc: + errors.append(exc) + else: + errors.append(RuntimeError(f"{it!r} has more than one 'yield'")) + if errors: + if len(errors) == 1: + raise errors[0] + else: + raise CleanupError("Multiple errors on cleanup stage", errors) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..ee2c1e72d40ac93c00cbfcef6c84888a336855a3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_exceptions.py @@ -0,0 +1,452 @@ +import warnings +from typing import Any, Dict, Iterable, List, Optional, Set # noqa + +from yarl import URL + +from .typedefs import LooseHeaders, StrOrURL +from .web_response import Response + +__all__ = ( + "HTTPException", + "HTTPError", + "HTTPRedirection", + "HTTPSuccessful", + "HTTPOk", + "HTTPCreated", + "HTTPAccepted", + "HTTPNonAuthoritativeInformation", + "HTTPNoContent", + "HTTPResetContent", + "HTTPPartialContent", + "HTTPMove", + "HTTPMultipleChoices", + "HTTPMovedPermanently", + "HTTPFound", + "HTTPSeeOther", + "HTTPNotModified", + "HTTPUseProxy", + "HTTPTemporaryRedirect", + "HTTPPermanentRedirect", + "HTTPClientError", + "HTTPBadRequest", + "HTTPUnauthorized", + "HTTPPaymentRequired", + "HTTPForbidden", + "HTTPNotFound", + "HTTPMethodNotAllowed", + "HTTPNotAcceptable", + "HTTPProxyAuthenticationRequired", + "HTTPRequestTimeout", + "HTTPConflict", + "HTTPGone", + "HTTPLengthRequired", + "HTTPPreconditionFailed", + "HTTPRequestEntityTooLarge", + "HTTPRequestURITooLong", + "HTTPUnsupportedMediaType", + "HTTPRequestRangeNotSatisfiable", + "HTTPExpectationFailed", + "HTTPMisdirectedRequest", + "HTTPUnprocessableEntity", + "HTTPFailedDependency", + "HTTPUpgradeRequired", + "HTTPPreconditionRequired", + "HTTPTooManyRequests", + "HTTPRequestHeaderFieldsTooLarge", + "HTTPUnavailableForLegalReasons", + "HTTPServerError", + "HTTPInternalServerError", + "HTTPNotImplemented", + "HTTPBadGateway", + "HTTPServiceUnavailable", + "HTTPGatewayTimeout", + "HTTPVersionNotSupported", + "HTTPVariantAlsoNegotiates", + "HTTPInsufficientStorage", + "HTTPNotExtended", + "HTTPNetworkAuthenticationRequired", +) + + +class NotAppKeyWarning(UserWarning): + """Warning when not using AppKey in Application.""" + + +############################################################ +# HTTP Exceptions +############################################################ + + +class HTTPException(Response, Exception): + + # You should set in subclasses: + # status = 200 + + status_code = -1 + empty_body = False + + __http_exception__ = True + + def __init__( + self, + *, + headers: Optional[LooseHeaders] = None, + reason: Optional[str] = None, + body: Any = None, + text: Optional[str] = None, + content_type: Optional[str] = None, + ) -> None: + if body is not None: + warnings.warn( + "body argument is deprecated for http web exceptions", + DeprecationWarning, + ) + Response.__init__( + self, + status=self.status_code, + headers=headers, + reason=reason, + body=body, + text=text, + content_type=content_type, + ) + Exception.__init__(self, self.reason) + if self.body is None and not self.empty_body: + self.text = f"{self.status}: {self.reason}" + + def __bool__(self) -> bool: + return True + + +class HTTPError(HTTPException): + """Base class for exceptions with status codes in the 400s and 500s.""" + + +class HTTPRedirection(HTTPException): + """Base class for exceptions with status codes in the 300s.""" + + +class HTTPSuccessful(HTTPException): + """Base class for exceptions with status codes in the 200s.""" + + +class HTTPOk(HTTPSuccessful): + status_code = 200 + + +class HTTPCreated(HTTPSuccessful): + status_code = 201 + + +class HTTPAccepted(HTTPSuccessful): + status_code = 202 + + +class HTTPNonAuthoritativeInformation(HTTPSuccessful): + status_code = 203 + + +class HTTPNoContent(HTTPSuccessful): + status_code = 204 + empty_body = True + + +class HTTPResetContent(HTTPSuccessful): + status_code = 205 + empty_body = True + + +class HTTPPartialContent(HTTPSuccessful): + status_code = 206 + + +############################################################ +# 3xx redirection +############################################################ + + +class HTTPMove(HTTPRedirection): + def __init__( + self, + location: StrOrURL, + *, + headers: Optional[LooseHeaders] = None, + reason: Optional[str] = None, + body: Any = None, + text: Optional[str] = None, + content_type: Optional[str] = None, + ) -> None: + if not location: + raise ValueError("HTTP redirects need a location to redirect to.") + super().__init__( + headers=headers, + reason=reason, + body=body, + text=text, + content_type=content_type, + ) + self.headers["Location"] = str(URL(location)) + self.location = location + + +class HTTPMultipleChoices(HTTPMove): + status_code = 300 + + +class HTTPMovedPermanently(HTTPMove): + status_code = 301 + + +class HTTPFound(HTTPMove): + status_code = 302 + + +# This one is safe after a POST (the redirected location will be +# retrieved with GET): +class HTTPSeeOther(HTTPMove): + status_code = 303 + + +class HTTPNotModified(HTTPRedirection): + # FIXME: this should include a date or etag header + status_code = 304 + empty_body = True + + +class HTTPUseProxy(HTTPMove): + # Not a move, but looks a little like one + status_code = 305 + + +class HTTPTemporaryRedirect(HTTPMove): + status_code = 307 + + +class HTTPPermanentRedirect(HTTPMove): + status_code = 308 + + +############################################################ +# 4xx client error +############################################################ + + +class HTTPClientError(HTTPError): + pass + + +class HTTPBadRequest(HTTPClientError): + status_code = 400 + + +class HTTPUnauthorized(HTTPClientError): + status_code = 401 + + +class HTTPPaymentRequired(HTTPClientError): + status_code = 402 + + +class HTTPForbidden(HTTPClientError): + status_code = 403 + + +class HTTPNotFound(HTTPClientError): + status_code = 404 + + +class HTTPMethodNotAllowed(HTTPClientError): + status_code = 405 + + def __init__( + self, + method: str, + allowed_methods: Iterable[str], + *, + headers: Optional[LooseHeaders] = None, + reason: Optional[str] = None, + body: Any = None, + text: Optional[str] = None, + content_type: Optional[str] = None, + ) -> None: + allow = ",".join(sorted(allowed_methods)) + super().__init__( + headers=headers, + reason=reason, + body=body, + text=text, + content_type=content_type, + ) + self.headers["Allow"] = allow + self.allowed_methods: Set[str] = set(allowed_methods) + self.method = method.upper() + + +class HTTPNotAcceptable(HTTPClientError): + status_code = 406 + + +class HTTPProxyAuthenticationRequired(HTTPClientError): + status_code = 407 + + +class HTTPRequestTimeout(HTTPClientError): + status_code = 408 + + +class HTTPConflict(HTTPClientError): + status_code = 409 + + +class HTTPGone(HTTPClientError): + status_code = 410 + + +class HTTPLengthRequired(HTTPClientError): + status_code = 411 + + +class HTTPPreconditionFailed(HTTPClientError): + status_code = 412 + + +class HTTPRequestEntityTooLarge(HTTPClientError): + status_code = 413 + + def __init__(self, max_size: float, actual_size: float, **kwargs: Any) -> None: + kwargs.setdefault( + "text", + "Maximum request body size {} exceeded, " + "actual body size {}".format(max_size, actual_size), + ) + super().__init__(**kwargs) + + +class HTTPRequestURITooLong(HTTPClientError): + status_code = 414 + + +class HTTPUnsupportedMediaType(HTTPClientError): + status_code = 415 + + +class HTTPRequestRangeNotSatisfiable(HTTPClientError): + status_code = 416 + + +class HTTPExpectationFailed(HTTPClientError): + status_code = 417 + + +class HTTPMisdirectedRequest(HTTPClientError): + status_code = 421 + + +class HTTPUnprocessableEntity(HTTPClientError): + status_code = 422 + + +class HTTPFailedDependency(HTTPClientError): + status_code = 424 + + +class HTTPUpgradeRequired(HTTPClientError): + status_code = 426 + + +class HTTPPreconditionRequired(HTTPClientError): + status_code = 428 + + +class HTTPTooManyRequests(HTTPClientError): + status_code = 429 + + +class HTTPRequestHeaderFieldsTooLarge(HTTPClientError): + status_code = 431 + + +class HTTPUnavailableForLegalReasons(HTTPClientError): + status_code = 451 + + def __init__( + self, + link: Optional[StrOrURL], + *, + headers: Optional[LooseHeaders] = None, + reason: Optional[str] = None, + body: Any = None, + text: Optional[str] = None, + content_type: Optional[str] = None, + ) -> None: + super().__init__( + headers=headers, + reason=reason, + body=body, + text=text, + content_type=content_type, + ) + self._link = None + if link: + self._link = URL(link) + self.headers["Link"] = f'<{str(self._link)}>; rel="blocked-by"' + + @property + def link(self) -> Optional[URL]: + return self._link + + +############################################################ +# 5xx Server Error +############################################################ +# Response status codes beginning with the digit "5" indicate cases in +# which the server is aware that it has erred or is incapable of +# performing the request. Except when responding to a HEAD request, the +# server SHOULD include an entity containing an explanation of the error +# situation, and whether it is a temporary or permanent condition. User +# agents SHOULD display any included entity to the user. These response +# codes are applicable to any request method. + + +class HTTPServerError(HTTPError): + pass + + +class HTTPInternalServerError(HTTPServerError): + status_code = 500 + + +class HTTPNotImplemented(HTTPServerError): + status_code = 501 + + +class HTTPBadGateway(HTTPServerError): + status_code = 502 + + +class HTTPServiceUnavailable(HTTPServerError): + status_code = 503 + + +class HTTPGatewayTimeout(HTTPServerError): + status_code = 504 + + +class HTTPVersionNotSupported(HTTPServerError): + status_code = 505 + + +class HTTPVariantAlsoNegotiates(HTTPServerError): + status_code = 506 + + +class HTTPInsufficientStorage(HTTPServerError): + status_code = 507 + + +class HTTPNotExtended(HTTPServerError): + status_code = 510 + + +class HTTPNetworkAuthenticationRequired(HTTPServerError): + status_code = 511 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_fileresponse.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_fileresponse.py new file mode 100644 index 0000000000000000000000000000000000000000..0f39c70dcb8b39a202c6f47c3f338b4b8ee48c3f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_fileresponse.py @@ -0,0 +1,285 @@ +import asyncio +import mimetypes +import os +import pathlib +from typing import ( # noqa + IO, + TYPE_CHECKING, + Any, + Awaitable, + Callable, + Final, + Iterator, + List, + Optional, + Tuple, + Union, + cast, +) + +from . import hdrs +from .abc import AbstractStreamWriter +from .helpers import ETAG_ANY, ETag, must_be_empty_body +from .typedefs import LooseHeaders, PathLike +from .web_exceptions import ( + HTTPNotModified, + HTTPPartialContent, + HTTPPreconditionFailed, + HTTPRequestRangeNotSatisfiable, +) +from .web_response import StreamResponse + +__all__ = ("FileResponse",) + +if TYPE_CHECKING: # pragma: no cover + from .web_request import BaseRequest + + +_T_OnChunkSent = Optional[Callable[[bytes], Awaitable[None]]] + + +NOSENDFILE: Final[bool] = bool(os.environ.get("AIOHTTP_NOSENDFILE")) + + +class FileResponse(StreamResponse): + """A response object can be used to send files.""" + + def __init__( + self, + path: PathLike, + chunk_size: int = 256 * 1024, + status: int = 200, + reason: Optional[str] = None, + headers: Optional[LooseHeaders] = None, + ) -> None: + super().__init__(status=status, reason=reason, headers=headers) + + self._path = pathlib.Path(path) + self._chunk_size = chunk_size + + async def _sendfile_fallback( + self, writer: AbstractStreamWriter, fobj: IO[Any], offset: int, count: int + ) -> AbstractStreamWriter: + # To keep memory usage low,fobj is transferred in chunks + # controlled by the constructor's chunk_size argument. + + chunk_size = self._chunk_size + loop = asyncio.get_event_loop() + + await loop.run_in_executor(None, fobj.seek, offset) + + chunk = await loop.run_in_executor(None, fobj.read, chunk_size) + while chunk: + await writer.write(chunk) + count = count - chunk_size + if count <= 0: + break + chunk = await loop.run_in_executor(None, fobj.read, min(chunk_size, count)) + + await writer.drain() + return writer + + async def _sendfile( + self, request: "BaseRequest", fobj: IO[Any], offset: int, count: int + ) -> AbstractStreamWriter: + writer = await super().prepare(request) + assert writer is not None + + if NOSENDFILE or self.compression: + return await self._sendfile_fallback(writer, fobj, offset, count) + + loop = request._loop + transport = request.transport + assert transport is not None + + try: + await loop.sendfile(transport, fobj, offset, count) + except NotImplementedError: + return await self._sendfile_fallback(writer, fobj, offset, count) + + await super().write_eof() + return writer + + @staticmethod + def _strong_etag_match(etag_value: str, etags: Tuple[ETag, ...]) -> bool: + if len(etags) == 1 and etags[0].value == ETAG_ANY: + return True + return any(etag.value == etag_value for etag in etags if not etag.is_weak) + + async def _not_modified( + self, request: "BaseRequest", etag_value: str, last_modified: float + ) -> Optional[AbstractStreamWriter]: + self.set_status(HTTPNotModified.status_code) + self._length_check = False + self.etag = etag_value # type: ignore[assignment] + self.last_modified = last_modified # type: ignore[assignment] + # Delete any Content-Length headers provided by user. HTTP 304 + # should always have empty response body + return await super().prepare(request) + + async def _precondition_failed( + self, request: "BaseRequest" + ) -> Optional[AbstractStreamWriter]: + self.set_status(HTTPPreconditionFailed.status_code) + self.content_length = 0 + return await super().prepare(request) + + async def prepare(self, request: "BaseRequest") -> Optional[AbstractStreamWriter]: + filepath = self._path + + gzip = False + if "gzip" in request.headers.get(hdrs.ACCEPT_ENCODING, ""): + gzip_path = filepath.with_name(filepath.name + ".gz") + + if gzip_path.is_file(): + filepath = gzip_path + gzip = True + + loop = asyncio.get_event_loop() + st: os.stat_result = await loop.run_in_executor(None, filepath.stat) + + etag_value = f"{st.st_mtime_ns:x}-{st.st_size:x}" + last_modified = st.st_mtime + + # https://tools.ietf.org/html/rfc7232#section-6 + ifmatch = request.if_match + if ifmatch is not None and not self._strong_etag_match(etag_value, ifmatch): + return await self._precondition_failed(request) + + unmodsince = request.if_unmodified_since + if ( + unmodsince is not None + and ifmatch is None + and st.st_mtime > unmodsince.timestamp() + ): + return await self._precondition_failed(request) + + ifnonematch = request.if_none_match + if ifnonematch is not None and self._strong_etag_match(etag_value, ifnonematch): + return await self._not_modified(request, etag_value, last_modified) + + modsince = request.if_modified_since + if ( + modsince is not None + and ifnonematch is None + and st.st_mtime <= modsince.timestamp() + ): + return await self._not_modified(request, etag_value, last_modified) + + if hdrs.CONTENT_TYPE not in self.headers: + ct, encoding = mimetypes.guess_type(str(filepath)) + if not ct: + ct = "application/octet-stream" + should_set_ct = True + else: + encoding = "gzip" if gzip else None + should_set_ct = False + + status = self._status + file_size = st.st_size + count = file_size + + start = None + + ifrange = request.if_range + if ifrange is None or st.st_mtime <= ifrange.timestamp(): + # If-Range header check: + # condition = cached date >= last modification date + # return 206 if True else 200. + # if False: + # Range header would not be processed, return 200 + # if True but Range header missing + # return 200 + try: + rng = request.http_range + start = rng.start + end = rng.stop + except ValueError: + # https://tools.ietf.org/html/rfc7233: + # A server generating a 416 (Range Not Satisfiable) response to + # a byte-range request SHOULD send a Content-Range header field + # with an unsatisfied-range value. + # The complete-length in a 416 response indicates the current + # length of the selected representation. + # + # Will do the same below. Many servers ignore this and do not + # send a Content-Range header with HTTP 416 + self.headers[hdrs.CONTENT_RANGE] = f"bytes */{file_size}" + self.set_status(HTTPRequestRangeNotSatisfiable.status_code) + return await super().prepare(request) + + # If a range request has been made, convert start, end slice + # notation into file pointer offset and count + if start is not None or end is not None: + if start < 0 and end is None: # return tail of file + start += file_size + if start < 0: + # if Range:bytes=-1000 in request header but file size + # is only 200, there would be trouble without this + start = 0 + count = file_size - start + else: + # rfc7233:If the last-byte-pos value is + # absent, or if the value is greater than or equal to + # the current length of the representation data, + # the byte range is interpreted as the remainder + # of the representation (i.e., the server replaces the + # value of last-byte-pos with a value that is one less than + # the current length of the selected representation). + count = ( + min(end if end is not None else file_size, file_size) - start + ) + + if start >= file_size: + # HTTP 416 should be returned in this case. + # + # According to https://tools.ietf.org/html/rfc7233: + # If a valid byte-range-set includes at least one + # byte-range-spec with a first-byte-pos that is less than + # the current length of the representation, or at least one + # suffix-byte-range-spec with a non-zero suffix-length, + # then the byte-range-set is satisfiable. Otherwise, the + # byte-range-set is unsatisfiable. + self.headers[hdrs.CONTENT_RANGE] = f"bytes */{file_size}" + self.set_status(HTTPRequestRangeNotSatisfiable.status_code) + return await super().prepare(request) + + status = HTTPPartialContent.status_code + # Even though you are sending the whole file, you should still + # return a HTTP 206 for a Range request. + self.set_status(status) + + if should_set_ct: + self.content_type = ct # type: ignore[assignment] + if encoding: + self.headers[hdrs.CONTENT_ENCODING] = encoding + if gzip: + self.headers[hdrs.VARY] = hdrs.ACCEPT_ENCODING + + self.etag = etag_value # type: ignore[assignment] + self.last_modified = st.st_mtime # type: ignore[assignment] + self.content_length = count + + self.headers[hdrs.ACCEPT_RANGES] = "bytes" + + real_start = cast(int, start) + + if status == HTTPPartialContent.status_code: + self.headers[hdrs.CONTENT_RANGE] = "bytes {}-{}/{}".format( + real_start, real_start + count - 1, file_size + ) + + # If we are sending 0 bytes calling sendfile() will throw a ValueError + if count == 0 or must_be_empty_body(request.method, self.status): + return await super().prepare(request) + + fobj = await loop.run_in_executor(None, filepath.open, "rb") + if start: # be aware that start could be None or int=0 here. + offset = start + else: + offset = 0 + + try: + return await self._sendfile(request, fobj, offset, count) + finally: + await asyncio.shield(loop.run_in_executor(None, fobj.close)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_log.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_log.py new file mode 100644 index 0000000000000000000000000000000000000000..633e9e3ae6b165eb4386b0077545bc8561b1c1a0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_log.py @@ -0,0 +1,213 @@ +import datetime +import functools +import logging +import os +import re +import time as time_mod +from collections import namedtuple +from typing import Any, Callable, Dict, Iterable, List, Tuple # noqa + +from .abc import AbstractAccessLogger +from .web_request import BaseRequest +from .web_response import StreamResponse + +KeyMethod = namedtuple("KeyMethod", "key method") + + +class AccessLogger(AbstractAccessLogger): + """Helper object to log access. + + Usage: + log = logging.getLogger("spam") + log_format = "%a %{User-Agent}i" + access_logger = AccessLogger(log, log_format) + access_logger.log(request, response, time) + + Format: + %% The percent sign + %a Remote IP-address (IP-address of proxy if using reverse proxy) + %t Time when the request was started to process + %P The process ID of the child that serviced the request + %r First line of request + %s Response status code + %b Size of response in bytes, including HTTP headers + %T Time taken to serve the request, in seconds + %Tf Time taken to serve the request, in seconds with floating fraction + in .06f format + %D Time taken to serve the request, in microseconds + %{FOO}i request.headers['FOO'] + %{FOO}o response.headers['FOO'] + %{FOO}e os.environ['FOO'] + + """ + + LOG_FORMAT_MAP = { + "a": "remote_address", + "t": "request_start_time", + "P": "process_id", + "r": "first_request_line", + "s": "response_status", + "b": "response_size", + "T": "request_time", + "Tf": "request_time_frac", + "D": "request_time_micro", + "i": "request_header", + "o": "response_header", + } + + LOG_FORMAT = '%a %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"' + FORMAT_RE = re.compile(r"%(\{([A-Za-z0-9\-_]+)\}([ioe])|[atPrsbOD]|Tf?)") + CLEANUP_RE = re.compile(r"(%[^s])") + _FORMAT_CACHE: Dict[str, Tuple[str, List[KeyMethod]]] = {} + + def __init__(self, logger: logging.Logger, log_format: str = LOG_FORMAT) -> None: + """Initialise the logger. + + logger is a logger object to be used for logging. + log_format is a string with apache compatible log format description. + + """ + super().__init__(logger, log_format=log_format) + + _compiled_format = AccessLogger._FORMAT_CACHE.get(log_format) + if not _compiled_format: + _compiled_format = self.compile_format(log_format) + AccessLogger._FORMAT_CACHE[log_format] = _compiled_format + + self._log_format, self._methods = _compiled_format + + def compile_format(self, log_format: str) -> Tuple[str, List[KeyMethod]]: + """Translate log_format into form usable by modulo formatting + + All known atoms will be replaced with %s + Also methods for formatting of those atoms will be added to + _methods in appropriate order + + For example we have log_format = "%a %t" + This format will be translated to "%s %s" + Also contents of _methods will be + [self._format_a, self._format_t] + These method will be called and results will be passed + to translated string format. + + Each _format_* method receive 'args' which is list of arguments + given to self.log + + Exceptions are _format_e, _format_i and _format_o methods which + also receive key name (by functools.partial) + + """ + # list of (key, method) tuples, we don't use an OrderedDict as users + # can repeat the same key more than once + methods = list() + + for atom in self.FORMAT_RE.findall(log_format): + if atom[1] == "": + format_key1 = self.LOG_FORMAT_MAP[atom[0]] + m = getattr(AccessLogger, "_format_%s" % atom[0]) + key_method = KeyMethod(format_key1, m) + else: + format_key2 = (self.LOG_FORMAT_MAP[atom[2]], atom[1]) + m = getattr(AccessLogger, "_format_%s" % atom[2]) + key_method = KeyMethod(format_key2, functools.partial(m, atom[1])) + + methods.append(key_method) + + log_format = self.FORMAT_RE.sub(r"%s", log_format) + log_format = self.CLEANUP_RE.sub(r"%\1", log_format) + return log_format, methods + + @staticmethod + def _format_i( + key: str, request: BaseRequest, response: StreamResponse, time: float + ) -> str: + if request is None: + return "(no headers)" + + # suboptimal, make istr(key) once + return request.headers.get(key, "-") + + @staticmethod + def _format_o( + key: str, request: BaseRequest, response: StreamResponse, time: float + ) -> str: + # suboptimal, make istr(key) once + return response.headers.get(key, "-") + + @staticmethod + def _format_a(request: BaseRequest, response: StreamResponse, time: float) -> str: + if request is None: + return "-" + ip = request.remote + return ip if ip is not None else "-" + + @staticmethod + def _format_t(request: BaseRequest, response: StreamResponse, time: float) -> str: + tz = datetime.timezone(datetime.timedelta(seconds=-time_mod.timezone)) + now = datetime.datetime.now(tz) + start_time = now - datetime.timedelta(seconds=time) + return start_time.strftime("[%d/%b/%Y:%H:%M:%S %z]") + + @staticmethod + def _format_P(request: BaseRequest, response: StreamResponse, time: float) -> str: + return "<%s>" % os.getpid() + + @staticmethod + def _format_r(request: BaseRequest, response: StreamResponse, time: float) -> str: + if request is None: + return "-" + return "{} {} HTTP/{}.{}".format( + request.method, + request.path_qs, + request.version.major, + request.version.minor, + ) + + @staticmethod + def _format_s(request: BaseRequest, response: StreamResponse, time: float) -> int: + return response.status + + @staticmethod + def _format_b(request: BaseRequest, response: StreamResponse, time: float) -> int: + return response.body_length + + @staticmethod + def _format_T(request: BaseRequest, response: StreamResponse, time: float) -> str: + return str(round(time)) + + @staticmethod + def _format_Tf(request: BaseRequest, response: StreamResponse, time: float) -> str: + return "%06f" % time + + @staticmethod + def _format_D(request: BaseRequest, response: StreamResponse, time: float) -> str: + return str(round(time * 1000000)) + + def _format_line( + self, request: BaseRequest, response: StreamResponse, time: float + ) -> Iterable[Tuple[str, Callable[[BaseRequest, StreamResponse, float], str]]]: + return [(key, method(request, response, time)) for key, method in self._methods] + + def log(self, request: BaseRequest, response: StreamResponse, time: float) -> None: + if not self.logger.isEnabledFor(logging.INFO): + # Avoid formatting the log line if it will not be emitted. + return + try: + fmt_info = self._format_line(request, response, time) + + values = list() + extra = dict() + for key, value in fmt_info: + values.append(value) + + if key.__class__ is str: + extra[key] = value + else: + k1, k2 = key # type: ignore[misc] + dct = extra.get(k1, {}) # type: ignore[var-annotated,has-type] + dct[k2] = value # type: ignore[index,has-type] + extra[k1] = dct # type: ignore[has-type,assignment] + + self.logger.info(self._log_format % tuple(values), extra=extra) + except Exception: + self.logger.exception("Error in logging") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_middlewares.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_middlewares.py new file mode 100644 index 0000000000000000000000000000000000000000..cb24eec910768c5283c737a37d04630d312503bd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_middlewares.py @@ -0,0 +1,116 @@ +import re +from typing import TYPE_CHECKING, Tuple, Type, TypeVar + +from .typedefs import Handler, Middleware +from .web_exceptions import HTTPMove, HTTPPermanentRedirect +from .web_request import Request +from .web_response import StreamResponse +from .web_urldispatcher import SystemRoute + +__all__ = ( + "middleware", + "normalize_path_middleware", +) + +if TYPE_CHECKING: # pragma: no cover + from .web_app import Application + +_Func = TypeVar("_Func") + + +async def _check_request_resolves(request: Request, path: str) -> Tuple[bool, Request]: + alt_request = request.clone(rel_url=path) + + match_info = await request.app.router.resolve(alt_request) + alt_request._match_info = match_info + + if match_info.http_exception is None: + return True, alt_request + + return False, request + + +def middleware(f: _Func) -> _Func: + f.__middleware_version__ = 1 # type: ignore[attr-defined] + return f + + +def normalize_path_middleware( + *, + append_slash: bool = True, + remove_slash: bool = False, + merge_slashes: bool = True, + redirect_class: Type[HTTPMove] = HTTPPermanentRedirect, +) -> Middleware: + """Factory for producing a middleware that normalizes the path of a request. + + Normalizing means: + - Add or remove a trailing slash to the path. + - Double slashes are replaced by one. + + The middleware returns as soon as it finds a path that resolves + correctly. The order if both merge and append/remove are enabled is + 1) merge slashes + 2) append/remove slash + 3) both merge slashes and append/remove slash. + If the path resolves with at least one of those conditions, it will + redirect to the new path. + + Only one of `append_slash` and `remove_slash` can be enabled. If both + are `True` the factory will raise an assertion error + + If `append_slash` is `True` the middleware will append a slash when + needed. If a resource is defined with trailing slash and the request + comes without it, it will append it automatically. + + If `remove_slash` is `True`, `append_slash` must be `False`. When enabled + the middleware will remove trailing slashes and redirect if the resource + is defined + + If merge_slashes is True, merge multiple consecutive slashes in the + path into one. + """ + correct_configuration = not (append_slash and remove_slash) + assert correct_configuration, "Cannot both remove and append slash" + + @middleware + async def impl(request: Request, handler: Handler) -> StreamResponse: + if isinstance(request.match_info.route, SystemRoute): + paths_to_check = [] + if "?" in request.raw_path: + path, query = request.raw_path.split("?", 1) + query = "?" + query + else: + query = "" + path = request.raw_path + + if merge_slashes: + paths_to_check.append(re.sub("//+", "/", path)) + if append_slash and not request.path.endswith("/"): + paths_to_check.append(path + "/") + if remove_slash and request.path.endswith("/"): + paths_to_check.append(path[:-1]) + if merge_slashes and append_slash: + paths_to_check.append(re.sub("//+", "/", path + "/")) + if merge_slashes and remove_slash: + merged_slashes = re.sub("//+", "/", path) + paths_to_check.append(merged_slashes[:-1]) + + for path in paths_to_check: + path = re.sub("^//+", "/", path) # SECURITY: GHSA-v6wp-4m6f-gcjg + resolves, request = await _check_request_resolves(request, path) + if resolves: + raise redirect_class(request.raw_path + query) + + return await handler(request) + + return impl + + +def _fix_request_current_app(app: "Application") -> Middleware: + @middleware + async def impl(request: Request, handler: Handler) -> StreamResponse: + with request.match_info.set_current_app(app): + return await handler(request) + + return impl diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_protocol.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_protocol.py new file mode 100644 index 0000000000000000000000000000000000000000..d0ed0591c177457a600078ec135bc81b8212371c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_protocol.py @@ -0,0 +1,698 @@ +import asyncio +import asyncio.streams +import traceback +import warnings +from collections import deque +from contextlib import suppress +from html import escape as html_escape +from http import HTTPStatus +from logging import Logger +from typing import ( + TYPE_CHECKING, + Any, + Awaitable, + Callable, + Deque, + Optional, + Sequence, + Tuple, + Type, + Union, + cast, +) + +import attr +import yarl + +from .abc import AbstractAccessLogger, AbstractStreamWriter +from .base_protocol import BaseProtocol +from .helpers import ceil_timeout +from .http import ( + HttpProcessingError, + HttpRequestParser, + HttpVersion10, + RawRequestMessage, + StreamWriter, +) +from .log import access_logger, server_logger +from .streams import EMPTY_PAYLOAD, StreamReader +from .tcp_helpers import tcp_keepalive +from .web_exceptions import HTTPException +from .web_log import AccessLogger +from .web_request import BaseRequest +from .web_response import Response, StreamResponse + +__all__ = ("RequestHandler", "RequestPayloadError", "PayloadAccessError") + +if TYPE_CHECKING: # pragma: no cover + from .web_server import Server + + +_RequestFactory = Callable[ + [ + RawRequestMessage, + StreamReader, + "RequestHandler", + AbstractStreamWriter, + "asyncio.Task[None]", + ], + BaseRequest, +] + +_RequestHandler = Callable[[BaseRequest], Awaitable[StreamResponse]] + +ERROR = RawRequestMessage( + "UNKNOWN", + "/", + HttpVersion10, + {}, # type: ignore[arg-type] + {}, # type: ignore[arg-type] + True, + None, + False, + False, + yarl.URL("/"), +) + + +class RequestPayloadError(Exception): + """Payload parsing error.""" + + +class PayloadAccessError(Exception): + """Payload was accessed after response was sent.""" + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class _ErrInfo: + status: int + exc: BaseException + message: str + + +_MsgType = Tuple[Union[RawRequestMessage, _ErrInfo], StreamReader] + + +class RequestHandler(BaseProtocol): + """HTTP protocol implementation. + + RequestHandler handles incoming HTTP request. It reads request line, + request headers and request payload and calls handle_request() method. + By default it always returns with 404 response. + + RequestHandler handles errors in incoming request, like bad + status line, bad headers or incomplete payload. If any error occurs, + connection gets closed. + + keepalive_timeout -- number of seconds before closing + keep-alive connection + + tcp_keepalive -- TCP keep-alive is on, default is on + + debug -- enable debug mode + + logger -- custom logger object + + access_log_class -- custom class for access_logger + + access_log -- custom logging object + + access_log_format -- access log format string + + loop -- Optional event loop + + max_line_size -- Optional maximum header line size + + max_field_size -- Optional maximum header field size + + max_headers -- Optional maximum header size + + timeout_ceil_threshold -- Optional value to specify + threshold to ceil() timeout + values + + """ + + KEEPALIVE_RESCHEDULE_DELAY = 1 + + __slots__ = ( + "_request_count", + "_keepalive", + "_manager", + "_request_handler", + "_request_factory", + "_tcp_keepalive", + "_keepalive_time", + "_keepalive_handle", + "_keepalive_timeout", + "_lingering_time", + "_messages", + "_message_tail", + "_waiter", + "_task_handler", + "_upgrade", + "_payload_parser", + "_request_parser", + "_reading_paused", + "logger", + "debug", + "access_log", + "access_logger", + "_close", + "_force_close", + "_current_request", + "_timeout_ceil_threshold", + ) + + def __init__( + self, + manager: "Server", + *, + loop: asyncio.AbstractEventLoop, + keepalive_timeout: float = 75.0, # NGINX default is 75 secs + tcp_keepalive: bool = True, + logger: Logger = server_logger, + access_log_class: Type[AbstractAccessLogger] = AccessLogger, + access_log: Logger = access_logger, + access_log_format: str = AccessLogger.LOG_FORMAT, + debug: bool = False, + max_line_size: int = 8190, + max_headers: int = 32768, + max_field_size: int = 8190, + lingering_time: float = 10.0, + read_bufsize: int = 2**16, + auto_decompress: bool = True, + timeout_ceil_threshold: float = 5, + ): + super().__init__(loop) + + self._request_count = 0 + self._keepalive = False + self._current_request: Optional[BaseRequest] = None + self._manager: Optional[Server] = manager + self._request_handler: Optional[_RequestHandler] = manager.request_handler + self._request_factory: Optional[_RequestFactory] = manager.request_factory + + self._tcp_keepalive = tcp_keepalive + # placeholder to be replaced on keepalive timeout setup + self._keepalive_time = 0.0 + self._keepalive_handle: Optional[asyncio.Handle] = None + self._keepalive_timeout = keepalive_timeout + self._lingering_time = float(lingering_time) + + self._messages: Deque[_MsgType] = deque() + self._message_tail = b"" + + self._waiter: Optional[asyncio.Future[None]] = None + self._task_handler: Optional[asyncio.Task[None]] = None + + self._upgrade = False + self._payload_parser: Any = None + self._request_parser: Optional[HttpRequestParser] = HttpRequestParser( + self, + loop, + read_bufsize, + max_line_size=max_line_size, + max_field_size=max_field_size, + max_headers=max_headers, + payload_exception=RequestPayloadError, + auto_decompress=auto_decompress, + ) + + self._timeout_ceil_threshold: float = 5 + try: + self._timeout_ceil_threshold = float(timeout_ceil_threshold) + except (TypeError, ValueError): + pass + + self.logger = logger + self.debug = debug + self.access_log = access_log + if access_log: + self.access_logger: Optional[AbstractAccessLogger] = access_log_class( + access_log, access_log_format + ) + else: + self.access_logger = None + + self._close = False + self._force_close = False + + def __repr__(self) -> str: + return "<{} {}>".format( + self.__class__.__name__, + "connected" if self.transport is not None else "disconnected", + ) + + @property + def keepalive_timeout(self) -> float: + return self._keepalive_timeout + + async def shutdown(self, timeout: Optional[float] = 15.0) -> None: + """Do worker process exit preparations. + + We need to clean up everything and stop accepting requests. + It is especially important for keep-alive connections. + """ + self._force_close = True + + if self._keepalive_handle is not None: + self._keepalive_handle.cancel() + + if self._waiter: + self._waiter.cancel() + + # wait for handlers + with suppress(asyncio.CancelledError, asyncio.TimeoutError): + async with ceil_timeout(timeout): + if self._current_request is not None: + self._current_request._cancel(asyncio.CancelledError()) + + if self._task_handler is not None and not self._task_handler.done(): + await self._task_handler + + # force-close non-idle handler + if self._task_handler is not None: + self._task_handler.cancel() + + if self.transport is not None: + self.transport.close() + self.transport = None + + def connection_made(self, transport: asyncio.BaseTransport) -> None: + super().connection_made(transport) + + real_transport = cast(asyncio.Transport, transport) + if self._tcp_keepalive: + tcp_keepalive(real_transport) + + self._task_handler = self._loop.create_task(self.start()) + assert self._manager is not None + self._manager.connection_made(self, real_transport) + + def connection_lost(self, exc: Optional[BaseException]) -> None: + if self._manager is None: + return + self._manager.connection_lost(self, exc) + + super().connection_lost(exc) + + # Grab value before setting _manager to None. + handler_cancellation = self._manager.handler_cancellation + + self._manager = None + self._force_close = True + self._request_factory = None + self._request_handler = None + self._request_parser = None + + if self._keepalive_handle is not None: + self._keepalive_handle.cancel() + + if self._current_request is not None: + if exc is None: + exc = ConnectionResetError("Connection lost") + self._current_request._cancel(exc) + + if self._waiter is not None: + self._waiter.cancel() + + if handler_cancellation and self._task_handler is not None: + self._task_handler.cancel() + + self._task_handler = None + + if self._payload_parser is not None: + self._payload_parser.feed_eof() + self._payload_parser = None + + def set_parser(self, parser: Any) -> None: + # Actual type is WebReader + assert self._payload_parser is None + + self._payload_parser = parser + + if self._message_tail: + self._payload_parser.feed_data(self._message_tail) + self._message_tail = b"" + + def eof_received(self) -> None: + pass + + def data_received(self, data: bytes) -> None: + if self._force_close or self._close: + return + # parse http messages + messages: Sequence[_MsgType] + if self._payload_parser is None and not self._upgrade: + assert self._request_parser is not None + try: + messages, upgraded, tail = self._request_parser.feed_data(data) + except HttpProcessingError as exc: + messages = [ + (_ErrInfo(status=400, exc=exc, message=exc.message), EMPTY_PAYLOAD) + ] + upgraded = False + tail = b"" + + for msg, payload in messages or (): + self._request_count += 1 + self._messages.append((msg, payload)) + + waiter = self._waiter + if messages and waiter is not None and not waiter.done(): + # don't set result twice + waiter.set_result(None) + + self._upgrade = upgraded + if upgraded and tail: + self._message_tail = tail + + # no parser, just store + elif self._payload_parser is None and self._upgrade and data: + self._message_tail += data + + # feed payload + elif data: + eof, tail = self._payload_parser.feed_data(data) + if eof: + self.close() + + def keep_alive(self, val: bool) -> None: + """Set keep-alive connection mode. + + :param bool val: new state. + """ + self._keepalive = val + if self._keepalive_handle: + self._keepalive_handle.cancel() + self._keepalive_handle = None + + def close(self) -> None: + """Close connection. + + Stop accepting new pipelining messages and close + connection when handlers done processing messages. + """ + self._close = True + if self._waiter: + self._waiter.cancel() + + def force_close(self) -> None: + """Forcefully close connection.""" + self._force_close = True + if self._waiter: + self._waiter.cancel() + if self.transport is not None: + self.transport.close() + self.transport = None + + def log_access( + self, request: BaseRequest, response: StreamResponse, time: float + ) -> None: + if self.access_logger is not None: + self.access_logger.log(request, response, self._loop.time() - time) + + def log_debug(self, *args: Any, **kw: Any) -> None: + if self.debug: + self.logger.debug(*args, **kw) + + def log_exception(self, *args: Any, **kw: Any) -> None: + self.logger.exception(*args, **kw) + + def _process_keepalive(self) -> None: + if self._force_close or not self._keepalive: + return + + next = self._keepalive_time + self._keepalive_timeout + + # handler in idle state + if self._waiter: + if self._loop.time() > next: + self.force_close() + return + + # not all request handlers are done, + # reschedule itself to next second + self._keepalive_handle = self._loop.call_later( + self.KEEPALIVE_RESCHEDULE_DELAY, + self._process_keepalive, + ) + + async def _handle_request( + self, + request: BaseRequest, + start_time: float, + request_handler: Callable[[BaseRequest], Awaitable[StreamResponse]], + ) -> Tuple[StreamResponse, bool]: + assert self._request_handler is not None + try: + try: + self._current_request = request + resp = await request_handler(request) + finally: + self._current_request = None + except HTTPException as exc: + resp = exc + reset = await self.finish_response(request, resp, start_time) + except asyncio.CancelledError: + raise + except asyncio.TimeoutError as exc: + self.log_debug("Request handler timed out.", exc_info=exc) + resp = self.handle_error(request, 504) + reset = await self.finish_response(request, resp, start_time) + except Exception as exc: + resp = self.handle_error(request, 500, exc) + reset = await self.finish_response(request, resp, start_time) + else: + # Deprecation warning (See #2415) + if getattr(resp, "__http_exception__", False): + warnings.warn( + "returning HTTPException object is deprecated " + "(#2415) and will be removed, " + "please raise the exception instead", + DeprecationWarning, + ) + + reset = await self.finish_response(request, resp, start_time) + + return resp, reset + + async def start(self) -> None: + """Process incoming request. + + It reads request line, request headers and request payload, then + calls handle_request() method. Subclass has to override + handle_request(). start() handles various exceptions in request + or response handling. Connection is being closed always unless + keep_alive(True) specified. + """ + loop = self._loop + handler = self._task_handler + assert handler is not None + manager = self._manager + assert manager is not None + keepalive_timeout = self._keepalive_timeout + resp = None + assert self._request_factory is not None + assert self._request_handler is not None + + while not self._force_close: + if not self._messages: + try: + # wait for next request + self._waiter = loop.create_future() + await self._waiter + except asyncio.CancelledError: + break + finally: + self._waiter = None + + message, payload = self._messages.popleft() + + start = loop.time() + + manager.requests_count += 1 + writer = StreamWriter(self, loop) + if isinstance(message, _ErrInfo): + # make request_factory work + request_handler = self._make_error_handler(message) + message = ERROR + else: + request_handler = self._request_handler + + request = self._request_factory(message, payload, self, writer, handler) + try: + # a new task is used for copy context vars (#3406) + task = self._loop.create_task( + self._handle_request(request, start, request_handler) + ) + try: + resp, reset = await task + except (asyncio.CancelledError, ConnectionError): + self.log_debug("Ignored premature client disconnection") + break + + # Drop the processed task from asyncio.Task.all_tasks() early + del task + if reset: + self.log_debug("Ignored premature client disconnection 2") + break + + # notify server about keep-alive + self._keepalive = bool(resp.keep_alive) + + # check payload + if not payload.is_eof(): + lingering_time = self._lingering_time + if not self._force_close and lingering_time: + self.log_debug( + "Start lingering close timer for %s sec.", lingering_time + ) + + now = loop.time() + end_t = now + lingering_time + + with suppress(asyncio.TimeoutError, asyncio.CancelledError): + while not payload.is_eof() and now < end_t: + async with ceil_timeout(end_t - now): + # read and ignore + await payload.readany() + now = loop.time() + + # if payload still uncompleted + if not payload.is_eof() and not self._force_close: + self.log_debug("Uncompleted request.") + self.close() + + payload.set_exception(PayloadAccessError()) + + except asyncio.CancelledError: + self.log_debug("Ignored premature client disconnection ") + break + except RuntimeError as exc: + if self.debug: + self.log_exception("Unhandled runtime exception", exc_info=exc) + self.force_close() + except Exception as exc: + self.log_exception("Unhandled exception", exc_info=exc) + self.force_close() + finally: + if self.transport is None and resp is not None: + self.log_debug("Ignored premature client disconnection.") + elif not self._force_close: + if self._keepalive and not self._close: + # start keep-alive timer + if keepalive_timeout is not None: + now = self._loop.time() + self._keepalive_time = now + if self._keepalive_handle is None: + self._keepalive_handle = loop.call_at( + now + keepalive_timeout, self._process_keepalive + ) + else: + break + + # remove handler, close transport if no handlers left + if not self._force_close: + self._task_handler = None + if self.transport is not None: + self.transport.close() + + async def finish_response( + self, request: BaseRequest, resp: StreamResponse, start_time: float + ) -> bool: + """Prepare the response and write_eof, then log access. + + This has to + be called within the context of any exception so the access logger + can get exception information. Returns True if the client disconnects + prematurely. + """ + if self._request_parser is not None: + self._request_parser.set_upgraded(False) + self._upgrade = False + if self._message_tail: + self._request_parser.feed_data(self._message_tail) + self._message_tail = b"" + try: + prepare_meth = resp.prepare + except AttributeError: + if resp is None: + raise RuntimeError("Missing return " "statement on request handler") + else: + raise RuntimeError( + "Web-handler should return " + "a response instance, " + "got {!r}".format(resp) + ) + try: + await prepare_meth(request) + await resp.write_eof() + except ConnectionError: + self.log_access(request, resp, start_time) + return True + else: + self.log_access(request, resp, start_time) + return False + + def handle_error( + self, + request: BaseRequest, + status: int = 500, + exc: Optional[BaseException] = None, + message: Optional[str] = None, + ) -> StreamResponse: + """Handle errors. + + Returns HTTP response with specific status code. Logs additional + information. It always closes current connection. + """ + self.log_exception("Error handling request", exc_info=exc) + + # some data already got sent, connection is broken + if request.writer.output_size > 0: + raise ConnectionError( + "Response is sent already, cannot send another response " + "with the error message" + ) + + ct = "text/plain" + if status == HTTPStatus.INTERNAL_SERVER_ERROR: + title = "{0.value} {0.phrase}".format(HTTPStatus.INTERNAL_SERVER_ERROR) + msg = HTTPStatus.INTERNAL_SERVER_ERROR.description + tb = None + if self.debug: + with suppress(Exception): + tb = traceback.format_exc() + + if "text/html" in request.headers.get("Accept", ""): + if tb: + tb = html_escape(tb) + msg = f"

Traceback:

\n
{tb}
" + message = ( + "" + "{title}" + "\n

{title}

" + "\n{msg}\n\n" + ).format(title=title, msg=msg) + ct = "text/html" + else: + if tb: + msg = tb + message = title + "\n\n" + msg + + resp = Response(status=status, text=message, content_type=ct) + resp.force_close() + + return resp + + def _make_error_handler( + self, err_info: _ErrInfo + ) -> Callable[[BaseRequest], Awaitable[StreamResponse]]: + async def handler(request: BaseRequest) -> StreamResponse: + return self.handle_error( + request, err_info.status, err_info.exc, err_info.message + ) + + return handler diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_request.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_request.py new file mode 100644 index 0000000000000000000000000000000000000000..a7e32ca6c79a3cd7cc3e21352b527d794b60e9c2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_request.py @@ -0,0 +1,898 @@ +import asyncio +import datetime +import io +import re +import socket +import string +import tempfile +import types +import warnings +from http.cookies import SimpleCookie +from types import MappingProxyType +from typing import ( + TYPE_CHECKING, + Any, + Dict, + Final, + Iterator, + Mapping, + MutableMapping, + Optional, + Pattern, + Tuple, + Union, + cast, +) +from urllib.parse import parse_qsl + +import attr +from multidict import ( + CIMultiDict, + CIMultiDictProxy, + MultiDict, + MultiDictProxy, + MultiMapping, +) +from yarl import URL + +from . import hdrs +from .abc import AbstractStreamWriter +from .helpers import ( + _SENTINEL, + DEBUG, + ETAG_ANY, + LIST_QUOTED_ETAG_RE, + ChainMapProxy, + ETag, + HeadersMixin, + parse_http_date, + reify, + sentinel, +) +from .http_parser import RawRequestMessage +from .http_writer import HttpVersion +from .multipart import BodyPartReader, MultipartReader +from .streams import EmptyStreamReader, StreamReader +from .typedefs import ( + DEFAULT_JSON_DECODER, + JSONDecoder, + LooseHeaders, + RawHeaders, + StrOrURL, +) +from .web_exceptions import HTTPRequestEntityTooLarge +from .web_response import StreamResponse + +__all__ = ("BaseRequest", "FileField", "Request") + + +if TYPE_CHECKING: # pragma: no cover + from .web_app import Application + from .web_protocol import RequestHandler + from .web_urldispatcher import UrlMappingMatchInfo + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class FileField: + name: str + filename: str + file: io.BufferedReader + content_type: str + headers: "CIMultiDictProxy[str]" + + +_TCHAR: Final[str] = string.digits + string.ascii_letters + r"!#$%&'*+.^_`|~-" +# '-' at the end to prevent interpretation as range in a char class + +_TOKEN: Final[str] = rf"[{_TCHAR}]+" + +_QDTEXT: Final[str] = r"[{}]".format( + r"".join(chr(c) for c in (0x09, 0x20, 0x21) + tuple(range(0x23, 0x7F))) +) +# qdtext includes 0x5C to escape 0x5D ('\]') +# qdtext excludes obs-text (because obsoleted, and encoding not specified) + +_QUOTED_PAIR: Final[str] = r"\\[\t !-~]" + +_QUOTED_STRING: Final[str] = r'"(?:{quoted_pair}|{qdtext})*"'.format( + qdtext=_QDTEXT, quoted_pair=_QUOTED_PAIR +) + +_FORWARDED_PAIR: Final[ + str +] = r"({token})=({token}|{quoted_string})(:\d{{1,4}})?".format( + token=_TOKEN, quoted_string=_QUOTED_STRING +) + +_QUOTED_PAIR_REPLACE_RE: Final[Pattern[str]] = re.compile(r"\\([\t !-~])") +# same pattern as _QUOTED_PAIR but contains a capture group + +_FORWARDED_PAIR_RE: Final[Pattern[str]] = re.compile(_FORWARDED_PAIR) + +############################################################ +# HTTP Request +############################################################ + + +class BaseRequest(MutableMapping[str, Any], HeadersMixin): + + POST_METHODS = { + hdrs.METH_PATCH, + hdrs.METH_POST, + hdrs.METH_PUT, + hdrs.METH_TRACE, + hdrs.METH_DELETE, + } + + ATTRS = HeadersMixin.ATTRS | frozenset( + [ + "_message", + "_protocol", + "_payload_writer", + "_payload", + "_headers", + "_method", + "_version", + "_rel_url", + "_post", + "_read_bytes", + "_state", + "_cache", + "_task", + "_client_max_size", + "_loop", + "_transport_sslcontext", + "_transport_peername", + ] + ) + + def __init__( + self, + message: RawRequestMessage, + payload: StreamReader, + protocol: "RequestHandler", + payload_writer: AbstractStreamWriter, + task: "asyncio.Task[None]", + loop: asyncio.AbstractEventLoop, + *, + client_max_size: int = 1024**2, + state: Optional[Dict[str, Any]] = None, + scheme: Optional[str] = None, + host: Optional[str] = None, + remote: Optional[str] = None, + ) -> None: + if state is None: + state = {} + self._message = message + self._protocol = protocol + self._payload_writer = payload_writer + + self._payload = payload + self._headers = message.headers + self._method = message.method + self._version = message.version + self._cache: Dict[str, Any] = {} + url = message.url + if url.is_absolute(): + # absolute URL is given, + # override auto-calculating url, host, and scheme + # all other properties should be good + self._cache["url"] = url + self._cache["host"] = url.host + self._cache["scheme"] = url.scheme + self._rel_url = url.relative() + else: + self._rel_url = message.url + self._post: Optional[MultiDictProxy[Union[str, bytes, FileField]]] = None + self._read_bytes: Optional[bytes] = None + + self._state = state + self._task = task + self._client_max_size = client_max_size + self._loop = loop + + transport = self._protocol.transport + assert transport is not None + self._transport_sslcontext = transport.get_extra_info("sslcontext") + self._transport_peername = transport.get_extra_info("peername") + + if scheme is not None: + self._cache["scheme"] = scheme + if host is not None: + self._cache["host"] = host + if remote is not None: + self._cache["remote"] = remote + + def clone( + self, + *, + method: Union[str, _SENTINEL] = sentinel, + rel_url: Union[StrOrURL, _SENTINEL] = sentinel, + headers: Union[LooseHeaders, _SENTINEL] = sentinel, + scheme: Union[str, _SENTINEL] = sentinel, + host: Union[str, _SENTINEL] = sentinel, + remote: Union[str, _SENTINEL] = sentinel, + client_max_size: Union[int, _SENTINEL] = sentinel, + ) -> "BaseRequest": + """Clone itself with replacement some attributes. + + Creates and returns a new instance of Request object. If no parameters + are given, an exact copy is returned. If a parameter is not passed, it + will reuse the one from the current request object. + """ + if self._read_bytes: + raise RuntimeError("Cannot clone request " "after reading its content") + + dct: Dict[str, Any] = {} + if method is not sentinel: + dct["method"] = method + if rel_url is not sentinel: + new_url: URL = URL(rel_url) + dct["url"] = new_url + dct["path"] = str(new_url) + if headers is not sentinel: + # a copy semantic + dct["headers"] = CIMultiDictProxy(CIMultiDict(headers)) + dct["raw_headers"] = tuple( + (k.encode("utf-8"), v.encode("utf-8")) for k, v in headers.items() + ) + + message = self._message._replace(**dct) + + kwargs = {} + if scheme is not sentinel: + kwargs["scheme"] = scheme + if host is not sentinel: + kwargs["host"] = host + if remote is not sentinel: + kwargs["remote"] = remote + if client_max_size is sentinel: + client_max_size = self._client_max_size + + return self.__class__( + message, + self._payload, + self._protocol, + self._payload_writer, + self._task, + self._loop, + client_max_size=client_max_size, + state=self._state.copy(), + **kwargs, + ) + + @property + def task(self) -> "asyncio.Task[None]": + return self._task + + @property + def protocol(self) -> "RequestHandler": + return self._protocol + + @property + def transport(self) -> Optional[asyncio.Transport]: + if self._protocol is None: + return None + return self._protocol.transport + + @property + def writer(self) -> AbstractStreamWriter: + return self._payload_writer + + @property + def client_max_size(self) -> int: + return self._client_max_size + + @reify + def message(self) -> RawRequestMessage: + warnings.warn("Request.message is deprecated", DeprecationWarning, stacklevel=3) + return self._message + + @reify + def rel_url(self) -> URL: + return self._rel_url + + @reify + def loop(self) -> asyncio.AbstractEventLoop: + warnings.warn( + "request.loop property is deprecated", DeprecationWarning, stacklevel=2 + ) + return self._loop + + # MutableMapping API + + def __getitem__(self, key: str) -> Any: + return self._state[key] + + def __setitem__(self, key: str, value: Any) -> None: + self._state[key] = value + + def __delitem__(self, key: str) -> None: + del self._state[key] + + def __len__(self) -> int: + return len(self._state) + + def __iter__(self) -> Iterator[str]: + return iter(self._state) + + ######## + + @reify + def secure(self) -> bool: + """A bool indicating if the request is handled with SSL.""" + return self.scheme == "https" + + @reify + def forwarded(self) -> Tuple[Mapping[str, str], ...]: + """A tuple containing all parsed Forwarded header(s). + + Makes an effort to parse Forwarded headers as specified by RFC 7239: + + - It adds one (immutable) dictionary per Forwarded 'field-value', ie + per proxy. The element corresponds to the data in the Forwarded + field-value added by the first proxy encountered by the client. Each + subsequent item corresponds to those added by later proxies. + - It checks that every value has valid syntax in general as specified + in section 4: either a 'token' or a 'quoted-string'. + - It un-escapes found escape sequences. + - It does NOT validate 'by' and 'for' contents as specified in section + 6. + - It does NOT validate 'host' contents (Host ABNF). + - It does NOT validate 'proto' contents for valid URI scheme names. + + Returns a tuple containing one or more immutable dicts + """ + elems = [] + for field_value in self._message.headers.getall(hdrs.FORWARDED, ()): + length = len(field_value) + pos = 0 + need_separator = False + elem: Dict[str, str] = {} + elems.append(types.MappingProxyType(elem)) + while 0 <= pos < length: + match = _FORWARDED_PAIR_RE.match(field_value, pos) + if match is not None: # got a valid forwarded-pair + if need_separator: + # bad syntax here, skip to next comma + pos = field_value.find(",", pos) + else: + name, value, port = match.groups() + if value[0] == '"': + # quoted string: remove quotes and unescape + value = _QUOTED_PAIR_REPLACE_RE.sub(r"\1", value[1:-1]) + if port: + value += port + elem[name.lower()] = value + pos += len(match.group(0)) + need_separator = True + elif field_value[pos] == ",": # next forwarded-element + need_separator = False + elem = {} + elems.append(types.MappingProxyType(elem)) + pos += 1 + elif field_value[pos] == ";": # next forwarded-pair + need_separator = False + pos += 1 + elif field_value[pos] in " \t": + # Allow whitespace even between forwarded-pairs, though + # RFC 7239 doesn't. This simplifies code and is in line + # with Postel's law. + pos += 1 + else: + # bad syntax here, skip to next comma + pos = field_value.find(",", pos) + return tuple(elems) + + @reify + def scheme(self) -> str: + """A string representing the scheme of the request. + + Hostname is resolved in this order: + + - overridden value by .clone(scheme=new_scheme) call. + - type of connection to peer: HTTPS if socket is SSL, HTTP otherwise. + + 'http' or 'https'. + """ + if self._transport_sslcontext: + return "https" + else: + return "http" + + @reify + def method(self) -> str: + """Read only property for getting HTTP method. + + The value is upper-cased str like 'GET', 'POST', 'PUT' etc. + """ + return self._method + + @reify + def version(self) -> HttpVersion: + """Read only property for getting HTTP version of request. + + Returns aiohttp.protocol.HttpVersion instance. + """ + return self._version + + @reify + def host(self) -> str: + """Hostname of the request. + + Hostname is resolved in this order: + + - overridden value by .clone(host=new_host) call. + - HOST HTTP header + - socket.getfqdn() value + """ + host = self._message.headers.get(hdrs.HOST) + if host is not None: + return host + return socket.getfqdn() + + @reify + def remote(self) -> Optional[str]: + """Remote IP of client initiated HTTP request. + + The IP is resolved in this order: + + - overridden value by .clone(remote=new_remote) call. + - peername of opened socket + """ + if self._transport_peername is None: + return None + if isinstance(self._transport_peername, (list, tuple)): + return str(self._transport_peername[0]) + return str(self._transport_peername) + + @reify + def url(self) -> URL: + url = URL.build(scheme=self.scheme, host=self.host) + return url.join(self._rel_url) + + @reify + def path(self) -> str: + """The URL including *PATH INFO* without the host or scheme. + + E.g., ``/app/blog`` + """ + return self._rel_url.path + + @reify + def path_qs(self) -> str: + """The URL including PATH_INFO and the query string. + + E.g, /app/blog?id=10 + """ + return str(self._rel_url) + + @reify + def raw_path(self) -> str: + """The URL including raw *PATH INFO* without the host or scheme. + + Warning, the path is unquoted and may contains non valid URL characters + + E.g., ``/my%2Fpath%7Cwith%21some%25strange%24characters`` + """ + return self._message.path + + @reify + def query(self) -> "MultiMapping[str]": + """A multidict with all the variables in the query string.""" + return MultiDictProxy(self._rel_url.query) + + @reify + def query_string(self) -> str: + """The query string in the URL. + + E.g., id=10 + """ + return self._rel_url.query_string + + @reify + def headers(self) -> "MultiMapping[str]": + """A case-insensitive multidict proxy with all headers.""" + return self._headers + + @reify + def raw_headers(self) -> RawHeaders: + """A sequence of pairs for all headers.""" + return self._message.raw_headers + + @reify + def if_modified_since(self) -> Optional[datetime.datetime]: + """The value of If-Modified-Since HTTP header, or None. + + This header is represented as a `datetime` object. + """ + return parse_http_date(self.headers.get(hdrs.IF_MODIFIED_SINCE)) + + @reify + def if_unmodified_since(self) -> Optional[datetime.datetime]: + """The value of If-Unmodified-Since HTTP header, or None. + + This header is represented as a `datetime` object. + """ + return parse_http_date(self.headers.get(hdrs.IF_UNMODIFIED_SINCE)) + + @staticmethod + def _etag_values(etag_header: str) -> Iterator[ETag]: + """Extract `ETag` objects from raw header.""" + if etag_header == ETAG_ANY: + yield ETag( + is_weak=False, + value=ETAG_ANY, + ) + else: + for match in LIST_QUOTED_ETAG_RE.finditer(etag_header): + is_weak, value, garbage = match.group(2, 3, 4) + # Any symbol captured by 4th group means + # that the following sequence is invalid. + if garbage: + break + + yield ETag( + is_weak=bool(is_weak), + value=value, + ) + + @classmethod + def _if_match_or_none_impl( + cls, header_value: Optional[str] + ) -> Optional[Tuple[ETag, ...]]: + if not header_value: + return None + + return tuple(cls._etag_values(header_value)) + + @reify + def if_match(self) -> Optional[Tuple[ETag, ...]]: + """The value of If-Match HTTP header, or None. + + This header is represented as a `tuple` of `ETag` objects. + """ + return self._if_match_or_none_impl(self.headers.get(hdrs.IF_MATCH)) + + @reify + def if_none_match(self) -> Optional[Tuple[ETag, ...]]: + """The value of If-None-Match HTTP header, or None. + + This header is represented as a `tuple` of `ETag` objects. + """ + return self._if_match_or_none_impl(self.headers.get(hdrs.IF_NONE_MATCH)) + + @reify + def if_range(self) -> Optional[datetime.datetime]: + """The value of If-Range HTTP header, or None. + + This header is represented as a `datetime` object. + """ + return parse_http_date(self.headers.get(hdrs.IF_RANGE)) + + @reify + def keep_alive(self) -> bool: + """Is keepalive enabled by client?""" + return not self._message.should_close + + @reify + def cookies(self) -> Mapping[str, str]: + """Return request cookies. + + A read-only dictionary-like object. + """ + raw = self.headers.get(hdrs.COOKIE, "") + parsed = SimpleCookie(raw) + return MappingProxyType({key: val.value for key, val in parsed.items()}) + + @reify + def http_range(self) -> slice: + """The content of Range HTTP header. + + Return a slice instance. + + """ + rng = self._headers.get(hdrs.RANGE) + start, end = None, None + if rng is not None: + try: + pattern = r"^bytes=(\d*)-(\d*)$" + start, end = re.findall(pattern, rng)[0] + except IndexError: # pattern was not found in header + raise ValueError("range not in acceptable format") + + end = int(end) if end else None + start = int(start) if start else None + + if start is None and end is not None: + # end with no start is to return tail of content + start = -end + end = None + + if start is not None and end is not None: + # end is inclusive in range header, exclusive for slice + end += 1 + + if start >= end: + raise ValueError("start cannot be after end") + + if start is end is None: # No valid range supplied + raise ValueError("No start or end of range specified") + + return slice(start, end, 1) + + @reify + def content(self) -> StreamReader: + """Return raw payload stream.""" + return self._payload + + @property + def has_body(self) -> bool: + """Return True if request's HTTP BODY can be read, False otherwise.""" + warnings.warn( + "Deprecated, use .can_read_body #2005", DeprecationWarning, stacklevel=2 + ) + return not self._payload.at_eof() + + @property + def can_read_body(self) -> bool: + """Return True if request's HTTP BODY can be read, False otherwise.""" + return not self._payload.at_eof() + + @reify + def body_exists(self) -> bool: + """Return True if request has HTTP BODY, False otherwise.""" + return type(self._payload) is not EmptyStreamReader + + async def release(self) -> None: + """Release request. + + Eat unread part of HTTP BODY if present. + """ + while not self._payload.at_eof(): + await self._payload.readany() + + async def read(self) -> bytes: + """Read request body if present. + + Returns bytes object with full request content. + """ + if self._read_bytes is None: + body = bytearray() + while True: + chunk = await self._payload.readany() + body.extend(chunk) + if self._client_max_size: + body_size = len(body) + if body_size >= self._client_max_size: + raise HTTPRequestEntityTooLarge( + max_size=self._client_max_size, actual_size=body_size + ) + if not chunk: + break + self._read_bytes = bytes(body) + return self._read_bytes + + async def text(self) -> str: + """Return BODY as text using encoding from .charset.""" + bytes_body = await self.read() + encoding = self.charset or "utf-8" + return bytes_body.decode(encoding) + + async def json(self, *, loads: JSONDecoder = DEFAULT_JSON_DECODER) -> Any: + """Return BODY as JSON.""" + body = await self.text() + return loads(body) + + async def multipart(self) -> MultipartReader: + """Return async iterator to process BODY as multipart.""" + return MultipartReader(self._headers, self._payload) + + async def post(self) -> "MultiDictProxy[Union[str, bytes, FileField]]": + """Return POST parameters.""" + if self._post is not None: + return self._post + if self._method not in self.POST_METHODS: + self._post = MultiDictProxy(MultiDict()) + return self._post + + content_type = self.content_type + if content_type not in ( + "", + "application/x-www-form-urlencoded", + "multipart/form-data", + ): + self._post = MultiDictProxy(MultiDict()) + return self._post + + out: MultiDict[Union[str, bytes, FileField]] = MultiDict() + + if content_type == "multipart/form-data": + multipart = await self.multipart() + max_size = self._client_max_size + + field = await multipart.next() + while field is not None: + size = 0 + field_ct = field.headers.get(hdrs.CONTENT_TYPE) + + if isinstance(field, BodyPartReader): + assert field.name is not None + + # Note that according to RFC 7578, the Content-Type header + # is optional, even for files, so we can't assume it's + # present. + # https://tools.ietf.org/html/rfc7578#section-4.4 + if field.filename: + # store file in temp file + tmp = tempfile.TemporaryFile() + chunk = await field.read_chunk(size=2**16) + while chunk: + chunk = field.decode(chunk) + tmp.write(chunk) + size += len(chunk) + if 0 < max_size < size: + tmp.close() + raise HTTPRequestEntityTooLarge( + max_size=max_size, actual_size=size + ) + chunk = await field.read_chunk(size=2**16) + tmp.seek(0) + + if field_ct is None: + field_ct = "application/octet-stream" + + ff = FileField( + field.name, + field.filename, + cast(io.BufferedReader, tmp), + field_ct, + field.headers, + ) + out.add(field.name, ff) + else: + # deal with ordinary data + value = await field.read(decode=True) + if field_ct is None or field_ct.startswith("text/"): + charset = field.get_charset(default="utf-8") + out.add(field.name, value.decode(charset)) + else: + out.add(field.name, value) + size += len(value) + if 0 < max_size < size: + raise HTTPRequestEntityTooLarge( + max_size=max_size, actual_size=size + ) + else: + raise ValueError( + "To decode nested multipart you need " "to use custom reader", + ) + + field = await multipart.next() + else: + data = await self.read() + if data: + charset = self.charset or "utf-8" + out.extend( + parse_qsl( + data.rstrip().decode(charset), + keep_blank_values=True, + encoding=charset, + ) + ) + + self._post = MultiDictProxy(out) + return self._post + + def get_extra_info(self, name: str, default: Any = None) -> Any: + """Extra info from protocol transport""" + protocol = self._protocol + if protocol is None: + return default + + transport = protocol.transport + if transport is None: + return default + + return transport.get_extra_info(name, default) + + def __repr__(self) -> str: + ascii_encodable_path = self.path.encode("ascii", "backslashreplace").decode( + "ascii" + ) + return "<{} {} {} >".format( + self.__class__.__name__, self._method, ascii_encodable_path + ) + + def __eq__(self, other: object) -> bool: + return id(self) == id(other) + + def __bool__(self) -> bool: + return True + + async def _prepare_hook(self, response: StreamResponse) -> None: + return + + def _cancel(self, exc: BaseException) -> None: + self._payload.set_exception(exc) + + +class Request(BaseRequest): + + ATTRS = BaseRequest.ATTRS | frozenset(["_match_info"]) + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + # matchdict, route_name, handler + # or information about traversal lookup + + # initialized after route resolving + self._match_info: Optional[UrlMappingMatchInfo] = None + + if DEBUG: + + def __setattr__(self, name: str, val: Any) -> None: + if name not in self.ATTRS: + warnings.warn( + "Setting custom {}.{} attribute " + "is discouraged".format(self.__class__.__name__, name), + DeprecationWarning, + stacklevel=2, + ) + super().__setattr__(name, val) + + def clone( + self, + *, + method: Union[str, _SENTINEL] = sentinel, + rel_url: Union[StrOrURL, _SENTINEL] = sentinel, + headers: Union[LooseHeaders, _SENTINEL] = sentinel, + scheme: Union[str, _SENTINEL] = sentinel, + host: Union[str, _SENTINEL] = sentinel, + remote: Union[str, _SENTINEL] = sentinel, + client_max_size: Union[int, _SENTINEL] = sentinel, + ) -> "Request": + ret = super().clone( + method=method, + rel_url=rel_url, + headers=headers, + scheme=scheme, + host=host, + remote=remote, + client_max_size=client_max_size, + ) + new_ret = cast(Request, ret) + new_ret._match_info = self._match_info + return new_ret + + @reify + def match_info(self) -> "UrlMappingMatchInfo": + """Result of route resolving.""" + match_info = self._match_info + assert match_info is not None + return match_info + + @property + def app(self) -> "Application": + """Application instance.""" + match_info = self._match_info + assert match_info is not None + return match_info.current_app + + @property + def config_dict(self) -> ChainMapProxy: + match_info = self._match_info + assert match_info is not None + lst = match_info.apps + app = self.app + idx = lst.index(app) + sublist = list(reversed(lst[: idx + 1])) + return ChainMapProxy(sublist) + + async def _prepare_hook(self, response: StreamResponse) -> None: + match_info = self._match_info + if match_info is None: + return + for app in match_info._apps: + await app.on_response_prepare.send(self, response) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_response.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_response.py new file mode 100644 index 0000000000000000000000000000000000000000..e089c60ee4ccf3ac97c5b7463bf653712e70a84a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_response.py @@ -0,0 +1,817 @@ +import asyncio +import collections.abc +import datetime +import enum +import json +import math +import time +import warnings +from concurrent.futures import Executor +from http import HTTPStatus +from http.cookies import SimpleCookie +from typing import ( + TYPE_CHECKING, + Any, + Dict, + Iterator, + MutableMapping, + Optional, + Union, + cast, +) + +from multidict import CIMultiDict, istr + +from . import hdrs, payload +from .abc import AbstractStreamWriter +from .compression_utils import ZLibCompressor +from .helpers import ( + ETAG_ANY, + QUOTED_ETAG_RE, + ETag, + HeadersMixin, + must_be_empty_body, + parse_http_date, + rfc822_formatted_time, + sentinel, + should_remove_content_length, + validate_etag_value, +) +from .http import SERVER_SOFTWARE, HttpVersion10, HttpVersion11 +from .payload import Payload +from .typedefs import JSONEncoder, LooseHeaders + +__all__ = ("ContentCoding", "StreamResponse", "Response", "json_response") + + +if TYPE_CHECKING: # pragma: no cover + from .web_request import BaseRequest + + BaseClass = MutableMapping[str, Any] +else: + BaseClass = collections.abc.MutableMapping + + +class ContentCoding(enum.Enum): + # The content codings that we have support for. + # + # Additional registered codings are listed at: + # https://www.iana.org/assignments/http-parameters/http-parameters.xhtml#content-coding + deflate = "deflate" + gzip = "gzip" + identity = "identity" + + +############################################################ +# HTTP Response classes +############################################################ + + +class StreamResponse(BaseClass, HeadersMixin): + + _length_check = True + + def __init__( + self, + *, + status: int = 200, + reason: Optional[str] = None, + headers: Optional[LooseHeaders] = None, + ) -> None: + self._body = None + self._keep_alive: Optional[bool] = None + self._chunked = False + self._compression = False + self._compression_force: Optional[ContentCoding] = None + self._cookies = SimpleCookie() + + self._req: Optional[BaseRequest] = None + self._payload_writer: Optional[AbstractStreamWriter] = None + self._eof_sent = False + self._must_be_empty_body: Optional[bool] = None + self._body_length = 0 + self._state: Dict[str, Any] = {} + + if headers is not None: + self._headers: CIMultiDict[str] = CIMultiDict(headers) + else: + self._headers = CIMultiDict() + + self.set_status(status, reason) + + @property + def prepared(self) -> bool: + return self._payload_writer is not None + + @property + def task(self) -> "Optional[asyncio.Task[None]]": + if self._req: + return self._req.task + else: + return None + + @property + def status(self) -> int: + return self._status + + @property + def chunked(self) -> bool: + return self._chunked + + @property + def compression(self) -> bool: + return self._compression + + @property + def reason(self) -> str: + return self._reason + + def set_status( + self, + status: int, + reason: Optional[str] = None, + ) -> None: + assert not self.prepared, ( + "Cannot change the response status code after " "the headers have been sent" + ) + self._status = int(status) + if reason is None: + try: + reason = HTTPStatus(self._status).phrase + except ValueError: + reason = "" + self._reason = reason + + @property + def keep_alive(self) -> Optional[bool]: + return self._keep_alive + + def force_close(self) -> None: + self._keep_alive = False + + @property + def body_length(self) -> int: + return self._body_length + + @property + def output_length(self) -> int: + warnings.warn("output_length is deprecated", DeprecationWarning) + assert self._payload_writer + return self._payload_writer.buffer_size + + def enable_chunked_encoding(self, chunk_size: Optional[int] = None) -> None: + """Enables automatic chunked transfer encoding.""" + self._chunked = True + + if hdrs.CONTENT_LENGTH in self._headers: + raise RuntimeError( + "You can't enable chunked encoding when " "a content length is set" + ) + if chunk_size is not None: + warnings.warn("Chunk size is deprecated #1615", DeprecationWarning) + + def enable_compression( + self, force: Optional[Union[bool, ContentCoding]] = None + ) -> None: + """Enables response compression encoding.""" + # Backwards compatibility for when force was a bool <0.17. + if type(force) == bool: + force = ContentCoding.deflate if force else ContentCoding.identity + warnings.warn( + "Using boolean for force is deprecated #3318", DeprecationWarning + ) + elif force is not None: + assert isinstance(force, ContentCoding), ( + "force should one of " "None, bool or " "ContentEncoding" + ) + + self._compression = True + self._compression_force = force + + @property + def headers(self) -> "CIMultiDict[str]": + return self._headers + + @property + def cookies(self) -> SimpleCookie: + return self._cookies + + def set_cookie( + self, + name: str, + value: str, + *, + expires: Optional[str] = None, + domain: Optional[str] = None, + max_age: Optional[Union[int, str]] = None, + path: str = "/", + secure: Optional[bool] = None, + httponly: Optional[bool] = None, + version: Optional[str] = None, + samesite: Optional[str] = None, + ) -> None: + """Set or update response cookie. + + Sets new cookie or updates existent with new value. + Also updates only those params which are not None. + """ + old = self._cookies.get(name) + if old is not None and old.coded_value == "": + # deleted cookie + self._cookies.pop(name, None) + + self._cookies[name] = value + c = self._cookies[name] + + if expires is not None: + c["expires"] = expires + elif c.get("expires") == "Thu, 01 Jan 1970 00:00:00 GMT": + del c["expires"] + + if domain is not None: + c["domain"] = domain + + if max_age is not None: + c["max-age"] = str(max_age) + elif "max-age" in c: + del c["max-age"] + + c["path"] = path + + if secure is not None: + c["secure"] = secure + if httponly is not None: + c["httponly"] = httponly + if version is not None: + c["version"] = version + if samesite is not None: + c["samesite"] = samesite + + def del_cookie( + self, name: str, *, domain: Optional[str] = None, path: str = "/" + ) -> None: + """Delete cookie. + + Creates new empty expired cookie. + """ + # TODO: do we need domain/path here? + self._cookies.pop(name, None) + self.set_cookie( + name, + "", + max_age=0, + expires="Thu, 01 Jan 1970 00:00:00 GMT", + domain=domain, + path=path, + ) + + @property + def content_length(self) -> Optional[int]: + # Just a placeholder for adding setter + return super().content_length + + @content_length.setter + def content_length(self, value: Optional[int]) -> None: + if value is not None: + value = int(value) + if self._chunked: + raise RuntimeError( + "You can't set content length when " "chunked encoding is enable" + ) + self._headers[hdrs.CONTENT_LENGTH] = str(value) + else: + self._headers.pop(hdrs.CONTENT_LENGTH, None) + + @property + def content_type(self) -> str: + # Just a placeholder for adding setter + return super().content_type + + @content_type.setter + def content_type(self, value: str) -> None: + self.content_type # read header values if needed + self._content_type = str(value) + self._generate_content_type_header() + + @property + def charset(self) -> Optional[str]: + # Just a placeholder for adding setter + return super().charset + + @charset.setter + def charset(self, value: Optional[str]) -> None: + ctype = self.content_type # read header values if needed + if ctype == "application/octet-stream": + raise RuntimeError( + "Setting charset for application/octet-stream " + "doesn't make sense, setup content_type first" + ) + assert self._content_dict is not None + if value is None: + self._content_dict.pop("charset", None) + else: + self._content_dict["charset"] = str(value).lower() + self._generate_content_type_header() + + @property + def last_modified(self) -> Optional[datetime.datetime]: + """The value of Last-Modified HTTP header, or None. + + This header is represented as a `datetime` object. + """ + return parse_http_date(self._headers.get(hdrs.LAST_MODIFIED)) + + @last_modified.setter + def last_modified( + self, value: Optional[Union[int, float, datetime.datetime, str]] + ) -> None: + if value is None: + self._headers.pop(hdrs.LAST_MODIFIED, None) + elif isinstance(value, (int, float)): + self._headers[hdrs.LAST_MODIFIED] = time.strftime( + "%a, %d %b %Y %H:%M:%S GMT", time.gmtime(math.ceil(value)) + ) + elif isinstance(value, datetime.datetime): + self._headers[hdrs.LAST_MODIFIED] = time.strftime( + "%a, %d %b %Y %H:%M:%S GMT", value.utctimetuple() + ) + elif isinstance(value, str): + self._headers[hdrs.LAST_MODIFIED] = value + + @property + def etag(self) -> Optional[ETag]: + quoted_value = self._headers.get(hdrs.ETAG) + if not quoted_value: + return None + elif quoted_value == ETAG_ANY: + return ETag(value=ETAG_ANY) + match = QUOTED_ETAG_RE.fullmatch(quoted_value) + if not match: + return None + is_weak, value = match.group(1, 2) + return ETag( + is_weak=bool(is_weak), + value=value, + ) + + @etag.setter + def etag(self, value: Optional[Union[ETag, str]]) -> None: + if value is None: + self._headers.pop(hdrs.ETAG, None) + elif (isinstance(value, str) and value == ETAG_ANY) or ( + isinstance(value, ETag) and value.value == ETAG_ANY + ): + self._headers[hdrs.ETAG] = ETAG_ANY + elif isinstance(value, str): + validate_etag_value(value) + self._headers[hdrs.ETAG] = f'"{value}"' + elif isinstance(value, ETag) and isinstance(value.value, str): + validate_etag_value(value.value) + hdr_value = f'W/"{value.value}"' if value.is_weak else f'"{value.value}"' + self._headers[hdrs.ETAG] = hdr_value + else: + raise ValueError( + f"Unsupported etag type: {type(value)}. " + f"etag must be str, ETag or None" + ) + + def _generate_content_type_header( + self, CONTENT_TYPE: istr = hdrs.CONTENT_TYPE + ) -> None: + assert self._content_dict is not None + assert self._content_type is not None + params = "; ".join(f"{k}={v}" for k, v in self._content_dict.items()) + if params: + ctype = self._content_type + "; " + params + else: + ctype = self._content_type + self._headers[CONTENT_TYPE] = ctype + + async def _do_start_compression(self, coding: ContentCoding) -> None: + if coding != ContentCoding.identity: + assert self._payload_writer is not None + self._headers[hdrs.CONTENT_ENCODING] = coding.value + self._payload_writer.enable_compression(coding.value) + # Compressed payload may have different content length, + # remove the header + self._headers.popall(hdrs.CONTENT_LENGTH, None) + + async def _start_compression(self, request: "BaseRequest") -> None: + if self._compression_force: + await self._do_start_compression(self._compression_force) + else: + accept_encoding = request.headers.get(hdrs.ACCEPT_ENCODING, "").lower() + for coding in ContentCoding: + if coding.value in accept_encoding: + await self._do_start_compression(coding) + return + + async def prepare(self, request: "BaseRequest") -> Optional[AbstractStreamWriter]: + if self._eof_sent: + return None + if self._payload_writer is not None: + return self._payload_writer + self._must_be_empty_body = must_be_empty_body(request.method, self.status) + return await self._start(request) + + async def _start(self, request: "BaseRequest") -> AbstractStreamWriter: + self._req = request + writer = self._payload_writer = request._payload_writer + + await self._prepare_headers() + await request._prepare_hook(self) + await self._write_headers() + + return writer + + async def _prepare_headers(self) -> None: + request = self._req + assert request is not None + writer = self._payload_writer + assert writer is not None + keep_alive = self._keep_alive + if keep_alive is None: + keep_alive = request.keep_alive + self._keep_alive = keep_alive + + version = request.version + + headers = self._headers + for cookie in self._cookies.values(): + value = cookie.output(header="")[1:] + headers.add(hdrs.SET_COOKIE, value) + + if self._compression: + await self._start_compression(request) + + if self._chunked: + if version != HttpVersion11: + raise RuntimeError( + "Using chunked encoding is forbidden " + "for HTTP/{0.major}.{0.minor}".format(request.version) + ) + if not self._must_be_empty_body: + writer.enable_chunking() + headers[hdrs.TRANSFER_ENCODING] = "chunked" + if hdrs.CONTENT_LENGTH in headers: + del headers[hdrs.CONTENT_LENGTH] + elif self._length_check: + writer.length = self.content_length + if writer.length is None: + if version >= HttpVersion11: + if not self._must_be_empty_body: + writer.enable_chunking() + headers[hdrs.TRANSFER_ENCODING] = "chunked" + elif not self._must_be_empty_body: + keep_alive = False + + # HTTP 1.1: https://tools.ietf.org/html/rfc7230#section-3.3.2 + # HTTP 1.0: https://tools.ietf.org/html/rfc1945#section-10.4 + if self._must_be_empty_body: + if hdrs.CONTENT_LENGTH in headers and should_remove_content_length( + request.method, self.status + ): + del headers[hdrs.CONTENT_LENGTH] + # https://datatracker.ietf.org/doc/html/rfc9112#section-6.1-10 + # https://datatracker.ietf.org/doc/html/rfc9112#section-6.1-13 + if hdrs.TRANSFER_ENCODING in headers: + del headers[hdrs.TRANSFER_ENCODING] + else: + headers.setdefault(hdrs.CONTENT_TYPE, "application/octet-stream") + headers.setdefault(hdrs.DATE, rfc822_formatted_time()) + headers.setdefault(hdrs.SERVER, SERVER_SOFTWARE) + + # connection header + if hdrs.CONNECTION not in headers: + if keep_alive: + if version == HttpVersion10: + headers[hdrs.CONNECTION] = "keep-alive" + else: + if version == HttpVersion11: + headers[hdrs.CONNECTION] = "close" + + async def _write_headers(self) -> None: + request = self._req + assert request is not None + writer = self._payload_writer + assert writer is not None + # status line + version = request.version + status_line = "HTTP/{}.{} {} {}".format( + version[0], version[1], self._status, self._reason + ) + await writer.write_headers(status_line, self._headers) + + async def write(self, data: bytes) -> None: + assert isinstance( + data, (bytes, bytearray, memoryview) + ), "data argument must be byte-ish (%r)" % type(data) + + if self._eof_sent: + raise RuntimeError("Cannot call write() after write_eof()") + if self._payload_writer is None: + raise RuntimeError("Cannot call write() before prepare()") + + await self._payload_writer.write(data) + + async def drain(self) -> None: + assert not self._eof_sent, "EOF has already been sent" + assert self._payload_writer is not None, "Response has not been started" + warnings.warn( + "drain method is deprecated, use await resp.write()", + DeprecationWarning, + stacklevel=2, + ) + await self._payload_writer.drain() + + async def write_eof(self, data: bytes = b"") -> None: + assert isinstance( + data, (bytes, bytearray, memoryview) + ), "data argument must be byte-ish (%r)" % type(data) + + if self._eof_sent: + return + + assert self._payload_writer is not None, "Response has not been started" + + await self._payload_writer.write_eof(data) + self._eof_sent = True + self._req = None + self._body_length = self._payload_writer.output_size + self._payload_writer = None + + def __repr__(self) -> str: + if self._eof_sent: + info = "eof" + elif self.prepared: + assert self._req is not None + info = f"{self._req.method} {self._req.path} " + else: + info = "not prepared" + return f"<{self.__class__.__name__} {self.reason} {info}>" + + def __getitem__(self, key: str) -> Any: + return self._state[key] + + def __setitem__(self, key: str, value: Any) -> None: + self._state[key] = value + + def __delitem__(self, key: str) -> None: + del self._state[key] + + def __len__(self) -> int: + return len(self._state) + + def __iter__(self) -> Iterator[str]: + return iter(self._state) + + def __hash__(self) -> int: + return hash(id(self)) + + def __eq__(self, other: object) -> bool: + return self is other + + +class Response(StreamResponse): + def __init__( + self, + *, + body: Any = None, + status: int = 200, + reason: Optional[str] = None, + text: Optional[str] = None, + headers: Optional[LooseHeaders] = None, + content_type: Optional[str] = None, + charset: Optional[str] = None, + zlib_executor_size: Optional[int] = None, + zlib_executor: Optional[Executor] = None, + ) -> None: + if body is not None and text is not None: + raise ValueError("body and text are not allowed together") + + if headers is None: + real_headers: CIMultiDict[str] = CIMultiDict() + elif not isinstance(headers, CIMultiDict): + real_headers = CIMultiDict(headers) + else: + real_headers = headers # = cast('CIMultiDict[str]', headers) + + if content_type is not None and "charset" in content_type: + raise ValueError("charset must not be in content_type " "argument") + + if text is not None: + if hdrs.CONTENT_TYPE in real_headers: + if content_type or charset: + raise ValueError( + "passing both Content-Type header and " + "content_type or charset params " + "is forbidden" + ) + else: + # fast path for filling headers + if not isinstance(text, str): + raise TypeError("text argument must be str (%r)" % type(text)) + if content_type is None: + content_type = "text/plain" + if charset is None: + charset = "utf-8" + real_headers[hdrs.CONTENT_TYPE] = content_type + "; charset=" + charset + body = text.encode(charset) + text = None + else: + if hdrs.CONTENT_TYPE in real_headers: + if content_type is not None or charset is not None: + raise ValueError( + "passing both Content-Type header and " + "content_type or charset params " + "is forbidden" + ) + else: + if content_type is not None: + if charset is not None: + content_type += "; charset=" + charset + real_headers[hdrs.CONTENT_TYPE] = content_type + + super().__init__(status=status, reason=reason, headers=real_headers) + + if text is not None: + self.text = text + else: + self.body = body + + self._compressed_body: Optional[bytes] = None + self._zlib_executor_size = zlib_executor_size + self._zlib_executor = zlib_executor + + @property + def body(self) -> Optional[Union[bytes, Payload]]: + return self._body + + @body.setter + def body(self, body: bytes) -> None: + if body is None: + self._body: Optional[bytes] = None + self._body_payload: bool = False + elif isinstance(body, (bytes, bytearray)): + self._body = body + self._body_payload = False + else: + try: + self._body = body = payload.PAYLOAD_REGISTRY.get(body) + except payload.LookupError: + raise ValueError("Unsupported body type %r" % type(body)) + + self._body_payload = True + + headers = self._headers + + # set content-type + if hdrs.CONTENT_TYPE not in headers: + headers[hdrs.CONTENT_TYPE] = body.content_type + + # copy payload headers + if body.headers: + for (key, value) in body.headers.items(): + if key not in headers: + headers[key] = value + + self._compressed_body = None + + @property + def text(self) -> Optional[str]: + if self._body is None: + return None + return self._body.decode(self.charset or "utf-8") + + @text.setter + def text(self, text: str) -> None: + assert text is None or isinstance( + text, str + ), "text argument must be str (%r)" % type(text) + + if self.content_type == "application/octet-stream": + self.content_type = "text/plain" + if self.charset is None: + self.charset = "utf-8" + + self._body = text.encode(self.charset) + self._body_payload = False + self._compressed_body = None + + @property + def content_length(self) -> Optional[int]: + if self._chunked: + return None + + if hdrs.CONTENT_LENGTH in self._headers: + return super().content_length + + if self._compressed_body is not None: + # Return length of the compressed body + return len(self._compressed_body) + elif self._body_payload: + # A payload without content length, or a compressed payload + return None + elif self._body is not None: + return len(self._body) + else: + return 0 + + @content_length.setter + def content_length(self, value: Optional[int]) -> None: + raise RuntimeError("Content length is set automatically") + + async def write_eof(self, data: bytes = b"") -> None: + if self._eof_sent: + return + if self._compressed_body is None: + body: Optional[Union[bytes, Payload]] = self._body + else: + body = self._compressed_body + assert not data, f"data arg is not supported, got {data!r}" + assert self._req is not None + assert self._payload_writer is not None + if body is not None: + if self._must_be_empty_body: + await super().write_eof() + elif self._body_payload: + payload = cast(Payload, body) + await payload.write(self._payload_writer) + await super().write_eof() + else: + await super().write_eof(cast(bytes, body)) + else: + await super().write_eof() + + async def _start(self, request: "BaseRequest") -> AbstractStreamWriter: + if should_remove_content_length(request.method, self.status): + if hdrs.CONTENT_LENGTH in self._headers: + del self._headers[hdrs.CONTENT_LENGTH] + elif not self._chunked and hdrs.CONTENT_LENGTH not in self._headers: + if self._body_payload: + size = cast(Payload, self._body).size + if size is not None: + self._headers[hdrs.CONTENT_LENGTH] = str(size) + else: + body_len = len(self._body) if self._body else "0" + # https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6-7 + if body_len != "0" or ( + self.status != 304 and request.method.upper() != hdrs.METH_HEAD + ): + self._headers[hdrs.CONTENT_LENGTH] = str(body_len) + + return await super()._start(request) + + async def _do_start_compression(self, coding: ContentCoding) -> None: + if self._body_payload or self._chunked: + return await super()._do_start_compression(coding) + + if coding != ContentCoding.identity: + # Instead of using _payload_writer.enable_compression, + # compress the whole body + compressor = ZLibCompressor( + encoding=str(coding.value), + max_sync_chunk_size=self._zlib_executor_size, + executor=self._zlib_executor, + ) + assert self._body is not None + if self._zlib_executor_size is None and len(self._body) > 1024 * 1024: + warnings.warn( + "Synchronous compression of large response bodies " + f"({len(self._body)} bytes) might block the async event loop. " + "Consider providing a custom value to zlib_executor_size/" + "zlib_executor response properties or disabling compression on it." + ) + self._compressed_body = ( + await compressor.compress(self._body) + compressor.flush() + ) + assert self._compressed_body is not None + + self._headers[hdrs.CONTENT_ENCODING] = coding.value + self._headers[hdrs.CONTENT_LENGTH] = str(len(self._compressed_body)) + + +def json_response( + data: Any = sentinel, + *, + text: Optional[str] = None, + body: Optional[bytes] = None, + status: int = 200, + reason: Optional[str] = None, + headers: Optional[LooseHeaders] = None, + content_type: str = "application/json", + dumps: JSONEncoder = json.dumps, +) -> Response: + if data is not sentinel: + if text or body: + raise ValueError("only one of data, text, or body should be specified") + else: + text = dumps(data) + return Response( + text=text, + body=body, + status=status, + reason=reason, + headers=headers, + content_type=content_type, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_routedef.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_routedef.py new file mode 100644 index 0000000000000000000000000000000000000000..a1eb0a76549fbde5aa0c81f02b041b77bd91e0ad --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_routedef.py @@ -0,0 +1,216 @@ +import abc +import os # noqa +from typing import ( + TYPE_CHECKING, + Any, + Callable, + Dict, + Iterator, + List, + Optional, + Sequence, + Type, + Union, + overload, +) + +import attr + +from . import hdrs +from .abc import AbstractView +from .typedefs import Handler, PathLike + +if TYPE_CHECKING: # pragma: no cover + from .web_request import Request + from .web_response import StreamResponse + from .web_urldispatcher import AbstractRoute, UrlDispatcher +else: + Request = StreamResponse = UrlDispatcher = AbstractRoute = None + + +__all__ = ( + "AbstractRouteDef", + "RouteDef", + "StaticDef", + "RouteTableDef", + "head", + "options", + "get", + "post", + "patch", + "put", + "delete", + "route", + "view", + "static", +) + + +class AbstractRouteDef(abc.ABC): + @abc.abstractmethod + def register(self, router: UrlDispatcher) -> List[AbstractRoute]: + pass # pragma: no cover + + +_HandlerType = Union[Type[AbstractView], Handler] + + +@attr.s(auto_attribs=True, frozen=True, repr=False, slots=True) +class RouteDef(AbstractRouteDef): + method: str + path: str + handler: _HandlerType + kwargs: Dict[str, Any] + + def __repr__(self) -> str: + info = [] + for name, value in sorted(self.kwargs.items()): + info.append(f", {name}={value!r}") + return " {handler.__name__!r}" "{info}>".format( + method=self.method, path=self.path, handler=self.handler, info="".join(info) + ) + + def register(self, router: UrlDispatcher) -> List[AbstractRoute]: + if self.method in hdrs.METH_ALL: + reg = getattr(router, "add_" + self.method.lower()) + return [reg(self.path, self.handler, **self.kwargs)] + else: + return [ + router.add_route(self.method, self.path, self.handler, **self.kwargs) + ] + + +@attr.s(auto_attribs=True, frozen=True, repr=False, slots=True) +class StaticDef(AbstractRouteDef): + prefix: str + path: PathLike + kwargs: Dict[str, Any] + + def __repr__(self) -> str: + info = [] + for name, value in sorted(self.kwargs.items()): + info.append(f", {name}={value!r}") + return " {path}" "{info}>".format( + prefix=self.prefix, path=self.path, info="".join(info) + ) + + def register(self, router: UrlDispatcher) -> List[AbstractRoute]: + resource = router.add_static(self.prefix, self.path, **self.kwargs) + routes = resource.get_info().get("routes", {}) + return list(routes.values()) + + +def route(method: str, path: str, handler: _HandlerType, **kwargs: Any) -> RouteDef: + return RouteDef(method, path, handler, kwargs) + + +def head(path: str, handler: _HandlerType, **kwargs: Any) -> RouteDef: + return route(hdrs.METH_HEAD, path, handler, **kwargs) + + +def options(path: str, handler: _HandlerType, **kwargs: Any) -> RouteDef: + return route(hdrs.METH_OPTIONS, path, handler, **kwargs) + + +def get( + path: str, + handler: _HandlerType, + *, + name: Optional[str] = None, + allow_head: bool = True, + **kwargs: Any, +) -> RouteDef: + return route( + hdrs.METH_GET, path, handler, name=name, allow_head=allow_head, **kwargs + ) + + +def post(path: str, handler: _HandlerType, **kwargs: Any) -> RouteDef: + return route(hdrs.METH_POST, path, handler, **kwargs) + + +def put(path: str, handler: _HandlerType, **kwargs: Any) -> RouteDef: + return route(hdrs.METH_PUT, path, handler, **kwargs) + + +def patch(path: str, handler: _HandlerType, **kwargs: Any) -> RouteDef: + return route(hdrs.METH_PATCH, path, handler, **kwargs) + + +def delete(path: str, handler: _HandlerType, **kwargs: Any) -> RouteDef: + return route(hdrs.METH_DELETE, path, handler, **kwargs) + + +def view(path: str, handler: Type[AbstractView], **kwargs: Any) -> RouteDef: + return route(hdrs.METH_ANY, path, handler, **kwargs) + + +def static(prefix: str, path: PathLike, **kwargs: Any) -> StaticDef: + return StaticDef(prefix, path, kwargs) + + +_Deco = Callable[[_HandlerType], _HandlerType] + + +class RouteTableDef(Sequence[AbstractRouteDef]): + """Route definition table""" + + def __init__(self) -> None: + self._items: List[AbstractRouteDef] = [] + + def __repr__(self) -> str: + return f"" + + @overload + def __getitem__(self, index: int) -> AbstractRouteDef: + ... + + @overload + def __getitem__(self, index: slice) -> List[AbstractRouteDef]: + ... + + def __getitem__(self, index): # type: ignore[no-untyped-def] + return self._items[index] + + def __iter__(self) -> Iterator[AbstractRouteDef]: + return iter(self._items) + + def __len__(self) -> int: + return len(self._items) + + def __contains__(self, item: object) -> bool: + return item in self._items + + def route(self, method: str, path: str, **kwargs: Any) -> _Deco: + def inner(handler: _HandlerType) -> _HandlerType: + self._items.append(RouteDef(method, path, handler, kwargs)) + return handler + + return inner + + def head(self, path: str, **kwargs: Any) -> _Deco: + return self.route(hdrs.METH_HEAD, path, **kwargs) + + def get(self, path: str, **kwargs: Any) -> _Deco: + return self.route(hdrs.METH_GET, path, **kwargs) + + def post(self, path: str, **kwargs: Any) -> _Deco: + return self.route(hdrs.METH_POST, path, **kwargs) + + def put(self, path: str, **kwargs: Any) -> _Deco: + return self.route(hdrs.METH_PUT, path, **kwargs) + + def patch(self, path: str, **kwargs: Any) -> _Deco: + return self.route(hdrs.METH_PATCH, path, **kwargs) + + def delete(self, path: str, **kwargs: Any) -> _Deco: + return self.route(hdrs.METH_DELETE, path, **kwargs) + + def options(self, path: str, **kwargs: Any) -> _Deco: + return self.route(hdrs.METH_OPTIONS, path, **kwargs) + + def view(self, path: str, **kwargs: Any) -> _Deco: + return self.route(hdrs.METH_ANY, path, **kwargs) + + def static(self, prefix: str, path: PathLike, **kwargs: Any) -> None: + self._items.append(StaticDef(prefix, path, kwargs)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_runner.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_runner.py new file mode 100644 index 0000000000000000000000000000000000000000..6999b5c5feb03f4aa2c80b8efd1ace5b55156846 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_runner.py @@ -0,0 +1,406 @@ +import asyncio +import signal +import socket +import warnings +from abc import ABC, abstractmethod +from typing import Any, Awaitable, Callable, List, Optional, Set + +from yarl import URL + +from .typedefs import PathLike +from .web_app import Application +from .web_server import Server + +try: + from ssl import SSLContext +except ImportError: + SSLContext = object # type: ignore[misc,assignment] + + +__all__ = ( + "BaseSite", + "TCPSite", + "UnixSite", + "NamedPipeSite", + "SockSite", + "BaseRunner", + "AppRunner", + "ServerRunner", + "GracefulExit", +) + + +class GracefulExit(SystemExit): + code = 1 + + +def _raise_graceful_exit() -> None: + raise GracefulExit() + + +class BaseSite(ABC): + __slots__ = ("_runner", "_ssl_context", "_backlog", "_server") + + def __init__( + self, + runner: "BaseRunner", + *, + shutdown_timeout: float = 60.0, + ssl_context: Optional[SSLContext] = None, + backlog: int = 128, + ) -> None: + if runner.server is None: + raise RuntimeError("Call runner.setup() before making a site") + if shutdown_timeout != 60.0: + msg = "shutdown_timeout should be set on BaseRunner" + warnings.warn(msg, DeprecationWarning, stacklevel=2) + runner._shutdown_timeout = shutdown_timeout + self._runner = runner + self._ssl_context = ssl_context + self._backlog = backlog + self._server: Optional[asyncio.AbstractServer] = None + + @property + @abstractmethod + def name(self) -> str: + pass # pragma: no cover + + @abstractmethod + async def start(self) -> None: + self._runner._reg_site(self) + + async def stop(self) -> None: + self._runner._check_site(self) + if self._server is not None: # Maybe not started yet + self._server.close() + + self._runner._unreg_site(self) + + +class TCPSite(BaseSite): + __slots__ = ("_host", "_port", "_reuse_address", "_reuse_port") + + def __init__( + self, + runner: "BaseRunner", + host: Optional[str] = None, + port: Optional[int] = None, + *, + shutdown_timeout: float = 60.0, + ssl_context: Optional[SSLContext] = None, + backlog: int = 128, + reuse_address: Optional[bool] = None, + reuse_port: Optional[bool] = None, + ) -> None: + super().__init__( + runner, + shutdown_timeout=shutdown_timeout, + ssl_context=ssl_context, + backlog=backlog, + ) + self._host = host + if port is None: + port = 8443 if self._ssl_context else 8080 + self._port = port + self._reuse_address = reuse_address + self._reuse_port = reuse_port + + @property + def name(self) -> str: + scheme = "https" if self._ssl_context else "http" + host = "0.0.0.0" if self._host is None else self._host + return str(URL.build(scheme=scheme, host=host, port=self._port)) + + async def start(self) -> None: + await super().start() + loop = asyncio.get_event_loop() + server = self._runner.server + assert server is not None + self._server = await loop.create_server( + server, + self._host, + self._port, + ssl=self._ssl_context, + backlog=self._backlog, + reuse_address=self._reuse_address, + reuse_port=self._reuse_port, + ) + + +class UnixSite(BaseSite): + __slots__ = ("_path",) + + def __init__( + self, + runner: "BaseRunner", + path: PathLike, + *, + shutdown_timeout: float = 60.0, + ssl_context: Optional[SSLContext] = None, + backlog: int = 128, + ) -> None: + super().__init__( + runner, + shutdown_timeout=shutdown_timeout, + ssl_context=ssl_context, + backlog=backlog, + ) + self._path = path + + @property + def name(self) -> str: + scheme = "https" if self._ssl_context else "http" + return f"{scheme}://unix:{self._path}:" + + async def start(self) -> None: + await super().start() + loop = asyncio.get_event_loop() + server = self._runner.server + assert server is not None + self._server = await loop.create_unix_server( + server, + self._path, + ssl=self._ssl_context, + backlog=self._backlog, + ) + + +class NamedPipeSite(BaseSite): + __slots__ = ("_path",) + + def __init__( + self, runner: "BaseRunner", path: str, *, shutdown_timeout: float = 60.0 + ) -> None: + loop = asyncio.get_event_loop() + if not isinstance( + loop, asyncio.ProactorEventLoop # type: ignore[attr-defined] + ): + raise RuntimeError( + "Named Pipes only available in proactor" "loop under windows" + ) + super().__init__(runner, shutdown_timeout=shutdown_timeout) + self._path = path + + @property + def name(self) -> str: + return self._path + + async def start(self) -> None: + await super().start() + loop = asyncio.get_event_loop() + server = self._runner.server + assert server is not None + _server = await loop.start_serving_pipe( # type: ignore[attr-defined] + server, self._path + ) + self._server = _server[0] + + +class SockSite(BaseSite): + __slots__ = ("_sock", "_name") + + def __init__( + self, + runner: "BaseRunner", + sock: socket.socket, + *, + shutdown_timeout: float = 60.0, + ssl_context: Optional[SSLContext] = None, + backlog: int = 128, + ) -> None: + super().__init__( + runner, + shutdown_timeout=shutdown_timeout, + ssl_context=ssl_context, + backlog=backlog, + ) + self._sock = sock + scheme = "https" if self._ssl_context else "http" + if hasattr(socket, "AF_UNIX") and sock.family == socket.AF_UNIX: + name = f"{scheme}://unix:{sock.getsockname()}:" + else: + host, port = sock.getsockname()[:2] + name = str(URL.build(scheme=scheme, host=host, port=port)) + self._name = name + + @property + def name(self) -> str: + return self._name + + async def start(self) -> None: + await super().start() + loop = asyncio.get_event_loop() + server = self._runner.server + assert server is not None + self._server = await loop.create_server( + server, sock=self._sock, ssl=self._ssl_context, backlog=self._backlog + ) + + +class BaseRunner(ABC): + __slots__ = ( + "shutdown_callback", + "_handle_signals", + "_kwargs", + "_server", + "_sites", + "_shutdown_timeout", + ) + + def __init__( + self, + *, + handle_signals: bool = False, + shutdown_timeout: float = 60.0, + **kwargs: Any, + ) -> None: + self.shutdown_callback: Optional[Callable[[], Awaitable[None]]] = None + self._handle_signals = handle_signals + self._kwargs = kwargs + self._server: Optional[Server] = None + self._sites: List[BaseSite] = [] + self._shutdown_timeout = shutdown_timeout + + @property + def server(self) -> Optional[Server]: + return self._server + + @property + def addresses(self) -> List[Any]: + ret: List[Any] = [] + for site in self._sites: + server = site._server + if server is not None: + sockets = server.sockets # type: ignore[attr-defined] + if sockets is not None: + for sock in sockets: + ret.append(sock.getsockname()) + return ret + + @property + def sites(self) -> Set[BaseSite]: + return set(self._sites) + + async def setup(self) -> None: + loop = asyncio.get_event_loop() + + if self._handle_signals: + try: + loop.add_signal_handler(signal.SIGINT, _raise_graceful_exit) + loop.add_signal_handler(signal.SIGTERM, _raise_graceful_exit) + except NotImplementedError: # pragma: no cover + # add_signal_handler is not implemented on Windows + pass + + self._server = await self._make_server() + + @abstractmethod + async def shutdown(self) -> None: + """Call any shutdown hooks to help server close gracefully.""" + + async def cleanup(self) -> None: + # The loop over sites is intentional, an exception on gather() + # leaves self._sites in unpredictable state. + # The loop guaranties that a site is either deleted on success or + # still present on failure + for site in list(self._sites): + await site.stop() + + if self._server: # If setup succeeded + self._server.pre_shutdown() + await self.shutdown() + + if self.shutdown_callback: + await self.shutdown_callback() + + await self._server.shutdown(self._shutdown_timeout) + await self._cleanup_server() + + self._server = None + if self._handle_signals: + loop = asyncio.get_running_loop() + try: + loop.remove_signal_handler(signal.SIGINT) + loop.remove_signal_handler(signal.SIGTERM) + except NotImplementedError: # pragma: no cover + # remove_signal_handler is not implemented on Windows + pass + + @abstractmethod + async def _make_server(self) -> Server: + pass # pragma: no cover + + @abstractmethod + async def _cleanup_server(self) -> None: + pass # pragma: no cover + + def _reg_site(self, site: BaseSite) -> None: + if site in self._sites: + raise RuntimeError(f"Site {site} is already registered in runner {self}") + self._sites.append(site) + + def _check_site(self, site: BaseSite) -> None: + if site not in self._sites: + raise RuntimeError(f"Site {site} is not registered in runner {self}") + + def _unreg_site(self, site: BaseSite) -> None: + if site not in self._sites: + raise RuntimeError(f"Site {site} is not registered in runner {self}") + self._sites.remove(site) + + +class ServerRunner(BaseRunner): + """Low-level web server runner""" + + __slots__ = ("_web_server",) + + def __init__( + self, web_server: Server, *, handle_signals: bool = False, **kwargs: Any + ) -> None: + super().__init__(handle_signals=handle_signals, **kwargs) + self._web_server = web_server + + async def shutdown(self) -> None: + pass + + async def _make_server(self) -> Server: + return self._web_server + + async def _cleanup_server(self) -> None: + pass + + +class AppRunner(BaseRunner): + """Web Application runner""" + + __slots__ = ("_app",) + + def __init__( + self, app: Application, *, handle_signals: bool = False, **kwargs: Any + ) -> None: + super().__init__(handle_signals=handle_signals, **kwargs) + if not isinstance(app, Application): + raise TypeError( + "The first argument should be web.Application " + "instance, got {!r}".format(app) + ) + self._app = app + + @property + def app(self) -> Application: + return self._app + + async def shutdown(self) -> None: + await self._app.shutdown() + + async def _make_server(self) -> Server: + loop = asyncio.get_event_loop() + self._app._set_loop(loop) + self._app.on_startup.freeze() + await self._app.startup() + self._app.freeze() + + return self._app._make_handler(loop=loop, **self._kwargs) + + async def _cleanup_server(self) -> None: + await self._app.cleanup() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_server.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_server.py new file mode 100644 index 0000000000000000000000000000000000000000..52faacb164a0a00fdd7ed853e2ca965cc18ab1a6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_server.py @@ -0,0 +1,77 @@ +"""Low level HTTP server.""" +import asyncio +from typing import Any, Awaitable, Callable, Dict, List, Optional # noqa + +from .abc import AbstractStreamWriter +from .helpers import get_running_loop +from .http_parser import RawRequestMessage +from .streams import StreamReader +from .web_protocol import RequestHandler, _RequestFactory, _RequestHandler +from .web_request import BaseRequest + +__all__ = ("Server",) + + +class Server: + def __init__( + self, + handler: _RequestHandler, + *, + request_factory: Optional[_RequestFactory] = None, + handler_cancellation: bool = False, + loop: Optional[asyncio.AbstractEventLoop] = None, + **kwargs: Any + ) -> None: + self._loop = get_running_loop(loop) + self._connections: Dict[RequestHandler, asyncio.Transport] = {} + self._kwargs = kwargs + self.requests_count = 0 + self.request_handler = handler + self.request_factory = request_factory or self._make_request + self.handler_cancellation = handler_cancellation + + @property + def connections(self) -> List[RequestHandler]: + return list(self._connections.keys()) + + def connection_made( + self, handler: RequestHandler, transport: asyncio.Transport + ) -> None: + self._connections[handler] = transport + + def connection_lost( + self, handler: RequestHandler, exc: Optional[BaseException] = None + ) -> None: + if handler in self._connections: + del self._connections[handler] + + def _make_request( + self, + message: RawRequestMessage, + payload: StreamReader, + protocol: RequestHandler, + writer: AbstractStreamWriter, + task: "asyncio.Task[None]", + ) -> BaseRequest: + return BaseRequest(message, payload, protocol, writer, task, self._loop) + + def pre_shutdown(self) -> None: + for conn in self._connections: + conn.close() + + async def shutdown(self, timeout: Optional[float] = None) -> None: + coros = (conn.shutdown(timeout) for conn in self._connections) + await asyncio.gather(*coros) + self._connections.clear() + + def __call__(self) -> RequestHandler: + try: + return RequestHandler(self, loop=self._loop, **self._kwargs) + except TypeError: + # Failsafe creation: remove all custom handler_args + kwargs = { + k: v + for k, v in self._kwargs.items() + if k in ["debug", "access_log_class"] + } + return RequestHandler(self, loop=self._loop, **kwargs) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_urldispatcher.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_urldispatcher.py new file mode 100644 index 0000000000000000000000000000000000000000..ddb6ede0dd16306a93af17357fe8ae591ba83737 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_urldispatcher.py @@ -0,0 +1,1222 @@ +import abc +import asyncio +import base64 +import hashlib +import inspect +import keyword +import os +import re +import warnings +from contextlib import contextmanager +from functools import wraps +from pathlib import Path +from types import MappingProxyType +from typing import ( + TYPE_CHECKING, + Any, + Awaitable, + Callable, + Container, + Dict, + Final, + Generator, + Iterable, + Iterator, + List, + Mapping, + NoReturn, + Optional, + Pattern, + Set, + Sized, + Tuple, + Type, + TypedDict, + Union, + cast, +) + +from yarl import URL, __version__ as yarl_version # type: ignore[attr-defined] + +from . import hdrs +from .abc import AbstractMatchInfo, AbstractRouter, AbstractView +from .helpers import DEBUG +from .http import HttpVersion11 +from .typedefs import Handler, PathLike +from .web_exceptions import ( + HTTPException, + HTTPExpectationFailed, + HTTPForbidden, + HTTPMethodNotAllowed, + HTTPNotFound, +) +from .web_fileresponse import FileResponse +from .web_request import Request +from .web_response import Response, StreamResponse +from .web_routedef import AbstractRouteDef + +__all__ = ( + "UrlDispatcher", + "UrlMappingMatchInfo", + "AbstractResource", + "Resource", + "PlainResource", + "DynamicResource", + "AbstractRoute", + "ResourceRoute", + "StaticResource", + "View", +) + + +if TYPE_CHECKING: # pragma: no cover + from .web_app import Application + + BaseDict = Dict[str, str] +else: + BaseDict = dict + +YARL_VERSION: Final[Tuple[int, ...]] = tuple(map(int, yarl_version.split(".")[:2])) + +HTTP_METHOD_RE: Final[Pattern[str]] = re.compile( + r"^[0-9A-Za-z!#\$%&'\*\+\-\.\^_`\|~]+$" +) +ROUTE_RE: Final[Pattern[str]] = re.compile( + r"(\{[_a-zA-Z][^{}]*(?:\{[^{}]*\}[^{}]*)*\})" +) +PATH_SEP: Final[str] = re.escape("/") + + +_ExpectHandler = Callable[[Request], Awaitable[Optional[StreamResponse]]] +_Resolve = Tuple[Optional["UrlMappingMatchInfo"], Set[str]] + + +class _InfoDict(TypedDict, total=False): + path: str + + formatter: str + pattern: Pattern[str] + + directory: Path + prefix: str + routes: Mapping[str, "AbstractRoute"] + + app: "Application" + + domain: str + + rule: "AbstractRuleMatching" + + http_exception: HTTPException + + +class AbstractResource(Sized, Iterable["AbstractRoute"]): + def __init__(self, *, name: Optional[str] = None) -> None: + self._name = name + + @property + def name(self) -> Optional[str]: + return self._name + + @property + @abc.abstractmethod + def canonical(self) -> str: + """Exposes the resource's canonical path. + + For example '/foo/bar/{name}' + + """ + + @abc.abstractmethod # pragma: no branch + def url_for(self, **kwargs: str) -> URL: + """Construct url for resource with additional params.""" + + @abc.abstractmethod # pragma: no branch + async def resolve(self, request: Request) -> _Resolve: + """Resolve resource. + + Return (UrlMappingMatchInfo, allowed_methods) pair. + """ + + @abc.abstractmethod + def add_prefix(self, prefix: str) -> None: + """Add a prefix to processed URLs. + + Required for subapplications support. + """ + + @abc.abstractmethod + def get_info(self) -> _InfoDict: + """Return a dict with additional info useful for introspection""" + + def freeze(self) -> None: + pass + + @abc.abstractmethod + def raw_match(self, path: str) -> bool: + """Perform a raw match against path""" + + +class AbstractRoute(abc.ABC): + def __init__( + self, + method: str, + handler: Union[Handler, Type[AbstractView]], + *, + expect_handler: Optional[_ExpectHandler] = None, + resource: Optional[AbstractResource] = None, + ) -> None: + + if expect_handler is None: + expect_handler = _default_expect_handler + + assert asyncio.iscoroutinefunction( + expect_handler + ), f"Coroutine is expected, got {expect_handler!r}" + + method = method.upper() + if not HTTP_METHOD_RE.match(method): + raise ValueError(f"{method} is not allowed HTTP method") + + assert callable(handler), handler + if asyncio.iscoroutinefunction(handler): + pass + elif inspect.isgeneratorfunction(handler): + warnings.warn( + "Bare generators are deprecated, " "use @coroutine wrapper", + DeprecationWarning, + ) + elif isinstance(handler, type) and issubclass(handler, AbstractView): + pass + else: + warnings.warn( + "Bare functions are deprecated, " "use async ones", DeprecationWarning + ) + + @wraps(handler) + async def handler_wrapper(request: Request) -> StreamResponse: + result = old_handler(request) + if asyncio.iscoroutine(result): + result = await result + assert isinstance(result, StreamResponse) + return result + + old_handler = handler + handler = handler_wrapper + + self._method = method + self._handler = handler + self._expect_handler = expect_handler + self._resource = resource + + @property + def method(self) -> str: + return self._method + + @property + def handler(self) -> Handler: + return self._handler + + @property + @abc.abstractmethod + def name(self) -> Optional[str]: + """Optional route's name, always equals to resource's name.""" + + @property + def resource(self) -> Optional[AbstractResource]: + return self._resource + + @abc.abstractmethod + def get_info(self) -> _InfoDict: + """Return a dict with additional info useful for introspection""" + + @abc.abstractmethod # pragma: no branch + def url_for(self, *args: str, **kwargs: str) -> URL: + """Construct url for route with additional params.""" + + async def handle_expect_header(self, request: Request) -> Optional[StreamResponse]: + return await self._expect_handler(request) + + +class UrlMappingMatchInfo(BaseDict, AbstractMatchInfo): + def __init__(self, match_dict: Dict[str, str], route: AbstractRoute): + super().__init__(match_dict) + self._route = route + self._apps: List[Application] = [] + self._current_app: Optional[Application] = None + self._frozen = False + + @property + def handler(self) -> Handler: + return self._route.handler + + @property + def route(self) -> AbstractRoute: + return self._route + + @property + def expect_handler(self) -> _ExpectHandler: + return self._route.handle_expect_header + + @property + def http_exception(self) -> Optional[HTTPException]: + return None + + def get_info(self) -> _InfoDict: # type: ignore[override] + return self._route.get_info() + + @property + def apps(self) -> Tuple["Application", ...]: + return tuple(self._apps) + + def add_app(self, app: "Application") -> None: + if self._frozen: + raise RuntimeError("Cannot change apps stack after .freeze() call") + if self._current_app is None: + self._current_app = app + self._apps.insert(0, app) + + @property + def current_app(self) -> "Application": + app = self._current_app + assert app is not None + return app + + @contextmanager + def set_current_app(self, app: "Application") -> Generator[None, None, None]: + if DEBUG: # pragma: no cover + if app not in self._apps: + raise RuntimeError( + "Expected one of the following apps {!r}, got {!r}".format( + self._apps, app + ) + ) + prev = self._current_app + self._current_app = app + try: + yield + finally: + self._current_app = prev + + def freeze(self) -> None: + self._frozen = True + + def __repr__(self) -> str: + return f"" + + +class MatchInfoError(UrlMappingMatchInfo): + def __init__(self, http_exception: HTTPException) -> None: + self._exception = http_exception + super().__init__({}, SystemRoute(self._exception)) + + @property + def http_exception(self) -> HTTPException: + return self._exception + + def __repr__(self) -> str: + return "".format( + self._exception.status, self._exception.reason + ) + + +async def _default_expect_handler(request: Request) -> None: + """Default handler for Expect header. + + Just send "100 Continue" to client. + raise HTTPExpectationFailed if value of header is not "100-continue" + """ + expect = request.headers.get(hdrs.EXPECT, "") + if request.version == HttpVersion11: + if expect.lower() == "100-continue": + await request.writer.write(b"HTTP/1.1 100 Continue\r\n\r\n") + else: + raise HTTPExpectationFailed(text="Unknown Expect: %s" % expect) + + +class Resource(AbstractResource): + def __init__(self, *, name: Optional[str] = None) -> None: + super().__init__(name=name) + self._routes: List[ResourceRoute] = [] + + def add_route( + self, + method: str, + handler: Union[Type[AbstractView], Handler], + *, + expect_handler: Optional[_ExpectHandler] = None, + ) -> "ResourceRoute": + + for route_obj in self._routes: + if route_obj.method == method or route_obj.method == hdrs.METH_ANY: + raise RuntimeError( + "Added route will never be executed, " + "method {route.method} is already " + "registered".format(route=route_obj) + ) + + route_obj = ResourceRoute(method, handler, self, expect_handler=expect_handler) + self.register_route(route_obj) + return route_obj + + def register_route(self, route: "ResourceRoute") -> None: + assert isinstance( + route, ResourceRoute + ), f"Instance of Route class is required, got {route!r}" + self._routes.append(route) + + async def resolve(self, request: Request) -> _Resolve: + allowed_methods: Set[str] = set() + + match_dict = self._match(request.rel_url.raw_path) + if match_dict is None: + return None, allowed_methods + + for route_obj in self._routes: + route_method = route_obj.method + allowed_methods.add(route_method) + + if route_method == request.method or route_method == hdrs.METH_ANY: + return (UrlMappingMatchInfo(match_dict, route_obj), allowed_methods) + else: + return None, allowed_methods + + @abc.abstractmethod + def _match(self, path: str) -> Optional[Dict[str, str]]: + pass # pragma: no cover + + def __len__(self) -> int: + return len(self._routes) + + def __iter__(self) -> Iterator["ResourceRoute"]: + return iter(self._routes) + + # TODO: implement all abstract methods + + +class PlainResource(Resource): + def __init__(self, path: str, *, name: Optional[str] = None) -> None: + super().__init__(name=name) + assert not path or path.startswith("/") + self._path = path + + @property + def canonical(self) -> str: + return self._path + + def freeze(self) -> None: + if not self._path: + self._path = "/" + + def add_prefix(self, prefix: str) -> None: + assert prefix.startswith("/") + assert not prefix.endswith("/") + assert len(prefix) > 1 + self._path = prefix + self._path + + def _match(self, path: str) -> Optional[Dict[str, str]]: + # string comparison is about 10 times faster than regexp matching + if self._path == path: + return {} + else: + return None + + def raw_match(self, path: str) -> bool: + return self._path == path + + def get_info(self) -> _InfoDict: + return {"path": self._path} + + def url_for(self) -> URL: # type: ignore[override] + return URL.build(path=self._path, encoded=True) + + def __repr__(self) -> str: + name = "'" + self.name + "' " if self.name is not None else "" + return f"" + + +class DynamicResource(Resource): + + DYN = re.compile(r"\{(?P[_a-zA-Z][_a-zA-Z0-9]*)\}") + DYN_WITH_RE = re.compile(r"\{(?P[_a-zA-Z][_a-zA-Z0-9]*):(?P.+)\}") + GOOD = r"[^{}/]+" + + def __init__(self, path: str, *, name: Optional[str] = None) -> None: + super().__init__(name=name) + pattern = "" + formatter = "" + for part in ROUTE_RE.split(path): + match = self.DYN.fullmatch(part) + if match: + pattern += "(?P<{}>{})".format(match.group("var"), self.GOOD) + formatter += "{" + match.group("var") + "}" + continue + + match = self.DYN_WITH_RE.fullmatch(part) + if match: + pattern += "(?P<{var}>{re})".format(**match.groupdict()) + formatter += "{" + match.group("var") + "}" + continue + + if "{" in part or "}" in part: + raise ValueError(f"Invalid path '{path}'['{part}']") + + part = _requote_path(part) + formatter += part + pattern += re.escape(part) + + try: + compiled = re.compile(pattern) + except re.error as exc: + raise ValueError(f"Bad pattern '{pattern}': {exc}") from None + assert compiled.pattern.startswith(PATH_SEP) + assert formatter.startswith("/") + self._pattern = compiled + self._formatter = formatter + + @property + def canonical(self) -> str: + return self._formatter + + def add_prefix(self, prefix: str) -> None: + assert prefix.startswith("/") + assert not prefix.endswith("/") + assert len(prefix) > 1 + self._pattern = re.compile(re.escape(prefix) + self._pattern.pattern) + self._formatter = prefix + self._formatter + + def _match(self, path: str) -> Optional[Dict[str, str]]: + match = self._pattern.fullmatch(path) + if match is None: + return None + else: + return { + key: _unquote_path(value) for key, value in match.groupdict().items() + } + + def raw_match(self, path: str) -> bool: + return self._formatter == path + + def get_info(self) -> _InfoDict: + return {"formatter": self._formatter, "pattern": self._pattern} + + def url_for(self, **parts: str) -> URL: + url = self._formatter.format_map({k: _quote_path(v) for k, v in parts.items()}) + return URL.build(path=url, encoded=True) + + def __repr__(self) -> str: + name = "'" + self.name + "' " if self.name is not None else "" + return "".format( + name=name, formatter=self._formatter + ) + + +class PrefixResource(AbstractResource): + def __init__(self, prefix: str, *, name: Optional[str] = None) -> None: + assert not prefix or prefix.startswith("/"), prefix + assert prefix in ("", "/") or not prefix.endswith("/"), prefix + super().__init__(name=name) + self._prefix = _requote_path(prefix) + self._prefix2 = self._prefix + "/" + + @property + def canonical(self) -> str: + return self._prefix + + def add_prefix(self, prefix: str) -> None: + assert prefix.startswith("/") + assert not prefix.endswith("/") + assert len(prefix) > 1 + self._prefix = prefix + self._prefix + self._prefix2 = self._prefix + "/" + + def raw_match(self, prefix: str) -> bool: + return False + + # TODO: impl missing abstract methods + + +class StaticResource(PrefixResource): + VERSION_KEY = "v" + + def __init__( + self, + prefix: str, + directory: PathLike, + *, + name: Optional[str] = None, + expect_handler: Optional[_ExpectHandler] = None, + chunk_size: int = 256 * 1024, + show_index: bool = False, + follow_symlinks: bool = False, + append_version: bool = False, + ) -> None: + super().__init__(prefix, name=name) + try: + directory = Path(directory) + if str(directory).startswith("~"): + directory = Path(os.path.expanduser(str(directory))) + directory = directory.resolve() + if not directory.is_dir(): + raise ValueError("Not a directory") + except (FileNotFoundError, ValueError) as error: + raise ValueError(f"No directory exists at '{directory}'") from error + self._directory = directory + self._show_index = show_index + self._chunk_size = chunk_size + self._follow_symlinks = follow_symlinks + self._expect_handler = expect_handler + self._append_version = append_version + + self._routes = { + "GET": ResourceRoute( + "GET", self._handle, self, expect_handler=expect_handler + ), + "HEAD": ResourceRoute( + "HEAD", self._handle, self, expect_handler=expect_handler + ), + } + + def url_for( # type: ignore[override] + self, + *, + filename: PathLike, + append_version: Optional[bool] = None, + ) -> URL: + if append_version is None: + append_version = self._append_version + filename = str(filename).lstrip("/") + + url = URL.build(path=self._prefix, encoded=True) + # filename is not encoded + if YARL_VERSION < (1, 6): + url = url / filename.replace("%", "%25") + else: + url = url / filename + + if append_version: + try: + filepath = self._directory.joinpath(filename).resolve() + if not self._follow_symlinks: + filepath.relative_to(self._directory) + except (ValueError, FileNotFoundError): + # ValueError for case when path point to symlink + # with follow_symlinks is False + return url # relatively safe + if filepath.is_file(): + # TODO cache file content + # with file watcher for cache invalidation + with filepath.open("rb") as f: + file_bytes = f.read() + h = self._get_file_hash(file_bytes) + url = url.with_query({self.VERSION_KEY: h}) + return url + return url + + @staticmethod + def _get_file_hash(byte_array: bytes) -> str: + m = hashlib.sha256() # todo sha256 can be configurable param + m.update(byte_array) + b64 = base64.urlsafe_b64encode(m.digest()) + return b64.decode("ascii") + + def get_info(self) -> _InfoDict: + return { + "directory": self._directory, + "prefix": self._prefix, + "routes": self._routes, + } + + def set_options_route(self, handler: Handler) -> None: + if "OPTIONS" in self._routes: + raise RuntimeError("OPTIONS route was set already") + self._routes["OPTIONS"] = ResourceRoute( + "OPTIONS", handler, self, expect_handler=self._expect_handler + ) + + async def resolve(self, request: Request) -> _Resolve: + path = request.rel_url.raw_path + method = request.method + allowed_methods = set(self._routes) + if not path.startswith(self._prefix2) and path != self._prefix: + return None, set() + + if method not in allowed_methods: + return None, allowed_methods + + match_dict = {"filename": _unquote_path(path[len(self._prefix) + 1 :])} + return (UrlMappingMatchInfo(match_dict, self._routes[method]), allowed_methods) + + def __len__(self) -> int: + return len(self._routes) + + def __iter__(self) -> Iterator[AbstractRoute]: + return iter(self._routes.values()) + + async def _handle(self, request: Request) -> StreamResponse: + rel_url = request.match_info["filename"] + try: + filename = Path(rel_url) + if filename.anchor: + # rel_url is an absolute name like + # /static/\\machine_name\c$ or /static/D:\path + # where the static dir is totally different + raise HTTPForbidden() + filepath = self._directory.joinpath(filename).resolve() + if not self._follow_symlinks: + filepath.relative_to(self._directory) + except (ValueError, FileNotFoundError) as error: + # relatively safe + raise HTTPNotFound() from error + except HTTPForbidden: + raise + except Exception as error: + # perm error or other kind! + request.app.logger.exception(error) + raise HTTPNotFound() from error + + # on opening a dir, load its contents if allowed + if filepath.is_dir(): + if self._show_index: + try: + return Response( + text=self._directory_as_html(filepath), content_type="text/html" + ) + except PermissionError: + raise HTTPForbidden() + else: + raise HTTPForbidden() + elif filepath.is_file(): + return FileResponse(filepath, chunk_size=self._chunk_size) + else: + raise HTTPNotFound + + def _directory_as_html(self, filepath: Path) -> str: + # returns directory's index as html + + # sanity check + assert filepath.is_dir() + + relative_path_to_dir = filepath.relative_to(self._directory).as_posix() + index_of = f"Index of /{relative_path_to_dir}" + h1 = f"

{index_of}

" + + index_list = [] + dir_index = filepath.iterdir() + for _file in sorted(dir_index): + # show file url as relative to static path + rel_path = _file.relative_to(self._directory).as_posix() + file_url = self._prefix + "/" + rel_path + + # if file is a directory, add '/' to the end of the name + if _file.is_dir(): + file_name = f"{_file.name}/" + else: + file_name = _file.name + + index_list.append( + '
  • {name}
  • '.format( + url=file_url, name=file_name + ) + ) + ul = "
      \n{}\n
    ".format("\n".join(index_list)) + body = f"\n{h1}\n{ul}\n" + + head_str = f"\n{index_of}\n" + html = f"\n{head_str}\n{body}\n" + + return html + + def __repr__(self) -> str: + name = "'" + self.name + "'" if self.name is not None else "" + return " {directory!r}>".format( + name=name, path=self._prefix, directory=self._directory + ) + + +class PrefixedSubAppResource(PrefixResource): + def __init__(self, prefix: str, app: "Application") -> None: + super().__init__(prefix) + self._app = app + for resource in app.router.resources(): + resource.add_prefix(prefix) + + def add_prefix(self, prefix: str) -> None: + super().add_prefix(prefix) + for resource in self._app.router.resources(): + resource.add_prefix(prefix) + + def url_for(self, *args: str, **kwargs: str) -> URL: + raise RuntimeError(".url_for() is not supported " "by sub-application root") + + def get_info(self) -> _InfoDict: + return {"app": self._app, "prefix": self._prefix} + + async def resolve(self, request: Request) -> _Resolve: + if ( + not request.url.raw_path.startswith(self._prefix2) + and request.url.raw_path != self._prefix + ): + return None, set() + match_info = await self._app.router.resolve(request) + match_info.add_app(self._app) + if isinstance(match_info.http_exception, HTTPMethodNotAllowed): + methods = match_info.http_exception.allowed_methods + else: + methods = set() + return match_info, methods + + def __len__(self) -> int: + return len(self._app.router.routes()) + + def __iter__(self) -> Iterator[AbstractRoute]: + return iter(self._app.router.routes()) + + def __repr__(self) -> str: + return " {app!r}>".format( + prefix=self._prefix, app=self._app + ) + + +class AbstractRuleMatching(abc.ABC): + @abc.abstractmethod # pragma: no branch + async def match(self, request: Request) -> bool: + """Return bool if the request satisfies the criteria""" + + @abc.abstractmethod # pragma: no branch + def get_info(self) -> _InfoDict: + """Return a dict with additional info useful for introspection""" + + @property + @abc.abstractmethod # pragma: no branch + def canonical(self) -> str: + """Return a str""" + + +class Domain(AbstractRuleMatching): + re_part = re.compile(r"(?!-)[a-z\d-]{1,63}(? None: + super().__init__() + self._domain = self.validation(domain) + + @property + def canonical(self) -> str: + return self._domain + + def validation(self, domain: str) -> str: + if not isinstance(domain, str): + raise TypeError("Domain must be str") + domain = domain.rstrip(".").lower() + if not domain: + raise ValueError("Domain cannot be empty") + elif "://" in domain: + raise ValueError("Scheme not supported") + url = URL("http://" + domain) + assert url.raw_host is not None + if not all(self.re_part.fullmatch(x) for x in url.raw_host.split(".")): + raise ValueError("Domain not valid") + if url.port == 80: + return url.raw_host + return f"{url.raw_host}:{url.port}" + + async def match(self, request: Request) -> bool: + host = request.headers.get(hdrs.HOST) + if not host: + return False + return self.match_domain(host) + + def match_domain(self, host: str) -> bool: + return host.lower() == self._domain + + def get_info(self) -> _InfoDict: + return {"domain": self._domain} + + +class MaskDomain(Domain): + re_part = re.compile(r"(?!-)[a-z\d\*-]{1,63}(? None: + super().__init__(domain) + mask = self._domain.replace(".", r"\.").replace("*", ".*") + self._mask = re.compile(mask) + + @property + def canonical(self) -> str: + return self._mask.pattern + + def match_domain(self, host: str) -> bool: + return self._mask.fullmatch(host) is not None + + +class MatchedSubAppResource(PrefixedSubAppResource): + def __init__(self, rule: AbstractRuleMatching, app: "Application") -> None: + AbstractResource.__init__(self) + self._prefix = "" + self._app = app + self._rule = rule + + @property + def canonical(self) -> str: + return self._rule.canonical + + def get_info(self) -> _InfoDict: + return {"app": self._app, "rule": self._rule} + + async def resolve(self, request: Request) -> _Resolve: + if not await self._rule.match(request): + return None, set() + match_info = await self._app.router.resolve(request) + match_info.add_app(self._app) + if isinstance(match_info.http_exception, HTTPMethodNotAllowed): + methods = match_info.http_exception.allowed_methods + else: + methods = set() + return match_info, methods + + def __repr__(self) -> str: + return " {app!r}>" "".format(app=self._app) + + +class ResourceRoute(AbstractRoute): + """A route with resource""" + + def __init__( + self, + method: str, + handler: Union[Handler, Type[AbstractView]], + resource: AbstractResource, + *, + expect_handler: Optional[_ExpectHandler] = None, + ) -> None: + super().__init__( + method, handler, expect_handler=expect_handler, resource=resource + ) + + def __repr__(self) -> str: + return " {handler!r}".format( + method=self.method, resource=self._resource, handler=self.handler + ) + + @property + def name(self) -> Optional[str]: + if self._resource is None: + return None + return self._resource.name + + def url_for(self, *args: str, **kwargs: str) -> URL: + """Construct url for route with additional params.""" + assert self._resource is not None + return self._resource.url_for(*args, **kwargs) + + def get_info(self) -> _InfoDict: + assert self._resource is not None + return self._resource.get_info() + + +class SystemRoute(AbstractRoute): + def __init__(self, http_exception: HTTPException) -> None: + super().__init__(hdrs.METH_ANY, self._handle) + self._http_exception = http_exception + + def url_for(self, *args: str, **kwargs: str) -> URL: + raise RuntimeError(".url_for() is not allowed for SystemRoute") + + @property + def name(self) -> Optional[str]: + return None + + def get_info(self) -> _InfoDict: + return {"http_exception": self._http_exception} + + async def _handle(self, request: Request) -> StreamResponse: + raise self._http_exception + + @property + def status(self) -> int: + return self._http_exception.status + + @property + def reason(self) -> str: + return self._http_exception.reason + + def __repr__(self) -> str: + return "".format(self=self) + + +class View(AbstractView): + async def _iter(self) -> StreamResponse: + if self.request.method not in hdrs.METH_ALL: + self._raise_allowed_methods() + method: Optional[Callable[[], Awaitable[StreamResponse]]] + method = getattr(self, self.request.method.lower(), None) + if method is None: + self._raise_allowed_methods() + ret = await method() + assert isinstance(ret, StreamResponse) + return ret + + def __await__(self) -> Generator[Any, None, StreamResponse]: + return self._iter().__await__() + + def _raise_allowed_methods(self) -> NoReturn: + allowed_methods = {m for m in hdrs.METH_ALL if hasattr(self, m.lower())} + raise HTTPMethodNotAllowed(self.request.method, allowed_methods) + + +class ResourcesView(Sized, Iterable[AbstractResource], Container[AbstractResource]): + def __init__(self, resources: List[AbstractResource]) -> None: + self._resources = resources + + def __len__(self) -> int: + return len(self._resources) + + def __iter__(self) -> Iterator[AbstractResource]: + yield from self._resources + + def __contains__(self, resource: object) -> bool: + return resource in self._resources + + +class RoutesView(Sized, Iterable[AbstractRoute], Container[AbstractRoute]): + def __init__(self, resources: List[AbstractResource]): + self._routes: List[AbstractRoute] = [] + for resource in resources: + for route in resource: + self._routes.append(route) + + def __len__(self) -> int: + return len(self._routes) + + def __iter__(self) -> Iterator[AbstractRoute]: + yield from self._routes + + def __contains__(self, route: object) -> bool: + return route in self._routes + + +class UrlDispatcher(AbstractRouter, Mapping[str, AbstractResource]): + + NAME_SPLIT_RE = re.compile(r"[.:-]") + + def __init__(self) -> None: + super().__init__() + self._resources: List[AbstractResource] = [] + self._named_resources: Dict[str, AbstractResource] = {} + + async def resolve(self, request: Request) -> UrlMappingMatchInfo: + method = request.method + allowed_methods: Set[str] = set() + + for resource in self._resources: + match_dict, allowed = await resource.resolve(request) + if match_dict is not None: + return match_dict + else: + allowed_methods |= allowed + + if allowed_methods: + return MatchInfoError(HTTPMethodNotAllowed(method, allowed_methods)) + else: + return MatchInfoError(HTTPNotFound()) + + def __iter__(self) -> Iterator[str]: + return iter(self._named_resources) + + def __len__(self) -> int: + return len(self._named_resources) + + def __contains__(self, resource: object) -> bool: + return resource in self._named_resources + + def __getitem__(self, name: str) -> AbstractResource: + return self._named_resources[name] + + def resources(self) -> ResourcesView: + return ResourcesView(self._resources) + + def routes(self) -> RoutesView: + return RoutesView(self._resources) + + def named_resources(self) -> Mapping[str, AbstractResource]: + return MappingProxyType(self._named_resources) + + def register_resource(self, resource: AbstractResource) -> None: + assert isinstance( + resource, AbstractResource + ), f"Instance of AbstractResource class is required, got {resource!r}" + if self.frozen: + raise RuntimeError("Cannot register a resource into frozen router.") + + name = resource.name + + if name is not None: + parts = self.NAME_SPLIT_RE.split(name) + for part in parts: + if keyword.iskeyword(part): + raise ValueError( + f"Incorrect route name {name!r}, " + "python keywords cannot be used " + "for route name" + ) + if not part.isidentifier(): + raise ValueError( + "Incorrect route name {!r}, " + "the name should be a sequence of " + "python identifiers separated " + "by dash, dot or column".format(name) + ) + if name in self._named_resources: + raise ValueError( + "Duplicate {!r}, " + "already handled by {!r}".format(name, self._named_resources[name]) + ) + self._named_resources[name] = resource + self._resources.append(resource) + + def add_resource(self, path: str, *, name: Optional[str] = None) -> Resource: + if path and not path.startswith("/"): + raise ValueError("path should be started with / or be empty") + # Reuse last added resource if path and name are the same + if self._resources: + resource = self._resources[-1] + if resource.name == name and resource.raw_match(path): + return cast(Resource, resource) + if not ("{" in path or "}" in path or ROUTE_RE.search(path)): + resource = PlainResource(_requote_path(path), name=name) + self.register_resource(resource) + return resource + resource = DynamicResource(path, name=name) + self.register_resource(resource) + return resource + + def add_route( + self, + method: str, + path: str, + handler: Union[Handler, Type[AbstractView]], + *, + name: Optional[str] = None, + expect_handler: Optional[_ExpectHandler] = None, + ) -> AbstractRoute: + resource = self.add_resource(path, name=name) + return resource.add_route(method, handler, expect_handler=expect_handler) + + def add_static( + self, + prefix: str, + path: PathLike, + *, + name: Optional[str] = None, + expect_handler: Optional[_ExpectHandler] = None, + chunk_size: int = 256 * 1024, + show_index: bool = False, + follow_symlinks: bool = False, + append_version: bool = False, + ) -> AbstractResource: + """Add static files view. + + prefix - url prefix + path - folder with files + + """ + assert prefix.startswith("/") + if prefix.endswith("/"): + prefix = prefix[:-1] + resource = StaticResource( + prefix, + path, + name=name, + expect_handler=expect_handler, + chunk_size=chunk_size, + show_index=show_index, + follow_symlinks=follow_symlinks, + append_version=append_version, + ) + self.register_resource(resource) + return resource + + def add_head(self, path: str, handler: Handler, **kwargs: Any) -> AbstractRoute: + """Shortcut for add_route with method HEAD.""" + return self.add_route(hdrs.METH_HEAD, path, handler, **kwargs) + + def add_options(self, path: str, handler: Handler, **kwargs: Any) -> AbstractRoute: + """Shortcut for add_route with method OPTIONS.""" + return self.add_route(hdrs.METH_OPTIONS, path, handler, **kwargs) + + def add_get( + self, + path: str, + handler: Handler, + *, + name: Optional[str] = None, + allow_head: bool = True, + **kwargs: Any, + ) -> AbstractRoute: + """Shortcut for add_route with method GET. + + If allow_head is true, another + route is added allowing head requests to the same endpoint. + """ + resource = self.add_resource(path, name=name) + if allow_head: + resource.add_route(hdrs.METH_HEAD, handler, **kwargs) + return resource.add_route(hdrs.METH_GET, handler, **kwargs) + + def add_post(self, path: str, handler: Handler, **kwargs: Any) -> AbstractRoute: + """Shortcut for add_route with method POST.""" + return self.add_route(hdrs.METH_POST, path, handler, **kwargs) + + def add_put(self, path: str, handler: Handler, **kwargs: Any) -> AbstractRoute: + """Shortcut for add_route with method PUT.""" + return self.add_route(hdrs.METH_PUT, path, handler, **kwargs) + + def add_patch(self, path: str, handler: Handler, **kwargs: Any) -> AbstractRoute: + """Shortcut for add_route with method PATCH.""" + return self.add_route(hdrs.METH_PATCH, path, handler, **kwargs) + + def add_delete(self, path: str, handler: Handler, **kwargs: Any) -> AbstractRoute: + """Shortcut for add_route with method DELETE.""" + return self.add_route(hdrs.METH_DELETE, path, handler, **kwargs) + + def add_view( + self, path: str, handler: Type[AbstractView], **kwargs: Any + ) -> AbstractRoute: + """Shortcut for add_route with ANY methods for a class-based view.""" + return self.add_route(hdrs.METH_ANY, path, handler, **kwargs) + + def freeze(self) -> None: + super().freeze() + for resource in self._resources: + resource.freeze() + + def add_routes(self, routes: Iterable[AbstractRouteDef]) -> List[AbstractRoute]: + """Append routes to route table. + + Parameter should be a sequence of RouteDef objects. + + Returns a list of registered AbstractRoute instances. + """ + registered_routes = [] + for route_def in routes: + registered_routes.extend(route_def.register(self)) + return registered_routes + + +def _quote_path(value: str) -> str: + if YARL_VERSION < (1, 6): + value = value.replace("%", "%25") + return URL.build(path=value, encoded=False).raw_path + + +def _unquote_path(value: str) -> str: + return URL.build(path=value, encoded=True).path + + +def _requote_path(value: str) -> str: + # Quote non-ascii characters and other characters which must be quoted, + # but preserve existing %-sequences. + result = _quote_path(value) + if "%" in value: + result = result.replace("%25", "%") + return result diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_ws.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_ws.py new file mode 100644 index 0000000000000000000000000000000000000000..4e57bca4f6915c74d428f4cee011453eb7ca1edb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/web_ws.py @@ -0,0 +1,515 @@ +import asyncio +import base64 +import binascii +import hashlib +import json +import sys +from typing import Any, Final, Iterable, Optional, Tuple, cast + +import attr +from multidict import CIMultiDict + +from . import hdrs +from .abc import AbstractStreamWriter +from .helpers import call_later, set_result +from .http import ( + WS_CLOSED_MESSAGE, + WS_CLOSING_MESSAGE, + WS_KEY, + WebSocketError, + WebSocketReader, + WebSocketWriter, + WSCloseCode, + WSMessage, + WSMsgType as WSMsgType, + ws_ext_gen, + ws_ext_parse, +) +from .log import ws_logger +from .streams import EofStream, FlowControlDataQueue +from .typedefs import JSONDecoder, JSONEncoder +from .web_exceptions import HTTPBadRequest, HTTPException +from .web_request import BaseRequest +from .web_response import StreamResponse + +if sys.version_info >= (3, 11): + import asyncio as async_timeout +else: + import async_timeout + +__all__ = ( + "WebSocketResponse", + "WebSocketReady", + "WSMsgType", +) + +THRESHOLD_CONNLOST_ACCESS: Final[int] = 5 + + +@attr.s(auto_attribs=True, frozen=True, slots=True) +class WebSocketReady: + ok: bool + protocol: Optional[str] + + def __bool__(self) -> bool: + return self.ok + + +class WebSocketResponse(StreamResponse): + + _length_check = False + + def __init__( + self, + *, + timeout: float = 10.0, + receive_timeout: Optional[float] = None, + autoclose: bool = True, + autoping: bool = True, + heartbeat: Optional[float] = None, + protocols: Iterable[str] = (), + compress: bool = True, + max_msg_size: int = 4 * 1024 * 1024, + ) -> None: + super().__init__(status=101) + self._protocols = protocols + self._ws_protocol: Optional[str] = None + self._writer: Optional[WebSocketWriter] = None + self._reader: Optional[FlowControlDataQueue[WSMessage]] = None + self._closed = False + self._closing = False + self._conn_lost = 0 + self._close_code: Optional[int] = None + self._loop: Optional[asyncio.AbstractEventLoop] = None + self._waiting: Optional[asyncio.Future[bool]] = None + self._exception: Optional[BaseException] = None + self._timeout = timeout + self._receive_timeout = receive_timeout + self._autoclose = autoclose + self._autoping = autoping + self._heartbeat = heartbeat + self._heartbeat_cb: Optional[asyncio.TimerHandle] = None + if heartbeat is not None: + self._pong_heartbeat = heartbeat / 2.0 + self._pong_response_cb: Optional[asyncio.TimerHandle] = None + self._compress = compress + self._max_msg_size = max_msg_size + + def _cancel_heartbeat(self) -> None: + if self._pong_response_cb is not None: + self._pong_response_cb.cancel() + self._pong_response_cb = None + + if self._heartbeat_cb is not None: + self._heartbeat_cb.cancel() + self._heartbeat_cb = None + + def _reset_heartbeat(self) -> None: + self._cancel_heartbeat() + + if self._heartbeat is not None: + assert self._loop is not None + self._heartbeat_cb = call_later( + self._send_heartbeat, + self._heartbeat, + self._loop, + timeout_ceil_threshold=self._req._protocol._timeout_ceil_threshold + if self._req is not None + else 5, + ) + + def _send_heartbeat(self) -> None: + if self._heartbeat is not None and not self._closed: + assert self._loop is not None + # fire-and-forget a task is not perfect but maybe ok for + # sending ping. Otherwise we need a long-living heartbeat + # task in the class. + self._loop.create_task(self._writer.ping()) # type: ignore[union-attr] + + if self._pong_response_cb is not None: + self._pong_response_cb.cancel() + self._pong_response_cb = call_later( + self._pong_not_received, + self._pong_heartbeat, + self._loop, + timeout_ceil_threshold=self._req._protocol._timeout_ceil_threshold + if self._req is not None + else 5, + ) + + def _pong_not_received(self) -> None: + if self._req is not None and self._req.transport is not None: + self._closed = True + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._exception = asyncio.TimeoutError() + self._req.transport.close() + + async def prepare(self, request: BaseRequest) -> AbstractStreamWriter: + # make pre-check to don't hide it by do_handshake() exceptions + if self._payload_writer is not None: + return self._payload_writer + + protocol, writer = self._pre_start(request) + payload_writer = await super().prepare(request) + assert payload_writer is not None + self._post_start(request, protocol, writer) + await payload_writer.drain() + return payload_writer + + def _handshake( + self, request: BaseRequest + ) -> Tuple["CIMultiDict[str]", str, bool, bool]: + headers = request.headers + if "websocket" != headers.get(hdrs.UPGRADE, "").lower().strip(): + raise HTTPBadRequest( + text=( + "No WebSocket UPGRADE hdr: {}\n Can " + '"Upgrade" only to "WebSocket".' + ).format(headers.get(hdrs.UPGRADE)) + ) + + if "upgrade" not in headers.get(hdrs.CONNECTION, "").lower(): + raise HTTPBadRequest( + text="No CONNECTION upgrade hdr: {}".format( + headers.get(hdrs.CONNECTION) + ) + ) + + # find common sub-protocol between client and server + protocol = None + if hdrs.SEC_WEBSOCKET_PROTOCOL in headers: + req_protocols = [ + str(proto.strip()) + for proto in headers[hdrs.SEC_WEBSOCKET_PROTOCOL].split(",") + ] + + for proto in req_protocols: + if proto in self._protocols: + protocol = proto + break + else: + # No overlap found: Return no protocol as per spec + ws_logger.warning( + "Client protocols %r don’t overlap server-known ones %r", + req_protocols, + self._protocols, + ) + + # check supported version + version = headers.get(hdrs.SEC_WEBSOCKET_VERSION, "") + if version not in ("13", "8", "7"): + raise HTTPBadRequest(text=f"Unsupported version: {version}") + + # check client handshake for validity + key = headers.get(hdrs.SEC_WEBSOCKET_KEY) + try: + if not key or len(base64.b64decode(key)) != 16: + raise HTTPBadRequest(text=f"Handshake error: {key!r}") + except binascii.Error: + raise HTTPBadRequest(text=f"Handshake error: {key!r}") from None + + accept_val = base64.b64encode( + hashlib.sha1(key.encode() + WS_KEY).digest() + ).decode() + response_headers = CIMultiDict( + { + hdrs.UPGRADE: "websocket", + hdrs.CONNECTION: "upgrade", + hdrs.SEC_WEBSOCKET_ACCEPT: accept_val, + } + ) + + notakeover = False + compress = 0 + if self._compress: + extensions = headers.get(hdrs.SEC_WEBSOCKET_EXTENSIONS) + # Server side always get return with no exception. + # If something happened, just drop compress extension + compress, notakeover = ws_ext_parse(extensions, isserver=True) + if compress: + enabledext = ws_ext_gen( + compress=compress, isserver=True, server_notakeover=notakeover + ) + response_headers[hdrs.SEC_WEBSOCKET_EXTENSIONS] = enabledext + + if protocol: + response_headers[hdrs.SEC_WEBSOCKET_PROTOCOL] = protocol + return ( + response_headers, + protocol, + compress, + notakeover, + ) # type: ignore[return-value] + + def _pre_start(self, request: BaseRequest) -> Tuple[str, WebSocketWriter]: + self._loop = request._loop + + headers, protocol, compress, notakeover = self._handshake(request) + + self.set_status(101) + self.headers.update(headers) + self.force_close() + self._compress = compress + transport = request._protocol.transport + assert transport is not None + writer = WebSocketWriter( + request._protocol, transport, compress=compress, notakeover=notakeover + ) + + return protocol, writer + + def _post_start( + self, request: BaseRequest, protocol: str, writer: WebSocketWriter + ) -> None: + self._ws_protocol = protocol + self._writer = writer + + self._reset_heartbeat() + + loop = self._loop + assert loop is not None + self._reader = FlowControlDataQueue(request._protocol, 2**16, loop=loop) + request.protocol.set_parser( + WebSocketReader(self._reader, self._max_msg_size, compress=self._compress) + ) + # disable HTTP keepalive for WebSocket + request.protocol.keep_alive(False) + + def can_prepare(self, request: BaseRequest) -> WebSocketReady: + if self._writer is not None: + raise RuntimeError("Already started") + try: + _, protocol, _, _ = self._handshake(request) + except HTTPException: + return WebSocketReady(False, None) + else: + return WebSocketReady(True, protocol) + + @property + def closed(self) -> bool: + return self._closed + + @property + def close_code(self) -> Optional[int]: + return self._close_code + + @property + def ws_protocol(self) -> Optional[str]: + return self._ws_protocol + + @property + def compress(self) -> bool: + return self._compress + + def get_extra_info(self, name: str, default: Any = None) -> Any: + """Get optional transport information. + + If no value associated with ``name`` is found, ``default`` is returned. + """ + writer = self._writer + if writer is None: + return default + transport = writer.transport + if transport is None: + return default + return transport.get_extra_info(name, default) + + def exception(self) -> Optional[BaseException]: + return self._exception + + async def ping(self, message: bytes = b"") -> None: + if self._writer is None: + raise RuntimeError("Call .prepare() first") + await self._writer.ping(message) + + async def pong(self, message: bytes = b"") -> None: + # unsolicited pong + if self._writer is None: + raise RuntimeError("Call .prepare() first") + await self._writer.pong(message) + + async def send_str(self, data: str, compress: Optional[bool] = None) -> None: + if self._writer is None: + raise RuntimeError("Call .prepare() first") + if not isinstance(data, str): + raise TypeError("data argument must be str (%r)" % type(data)) + await self._writer.send(data, binary=False, compress=compress) + + async def send_bytes(self, data: bytes, compress: Optional[bool] = None) -> None: + if self._writer is None: + raise RuntimeError("Call .prepare() first") + if not isinstance(data, (bytes, bytearray, memoryview)): + raise TypeError("data argument must be byte-ish (%r)" % type(data)) + await self._writer.send(data, binary=True, compress=compress) + + async def send_json( + self, + data: Any, + compress: Optional[bool] = None, + *, + dumps: JSONEncoder = json.dumps, + ) -> None: + await self.send_str(dumps(data), compress=compress) + + async def write_eof(self) -> None: # type: ignore[override] + if self._eof_sent: + return + if self._payload_writer is None: + raise RuntimeError("Response has not been started") + + await self.close() + self._eof_sent = True + + async def close(self, *, code: int = WSCloseCode.OK, message: bytes = b"") -> bool: + if self._writer is None: + raise RuntimeError("Call .prepare() first") + + self._cancel_heartbeat() + reader = self._reader + assert reader is not None + + # we need to break `receive()` cycle first, + # `close()` may be called from different task + if self._waiting is not None and not self._closed: + reader.feed_data(WS_CLOSING_MESSAGE, 0) + await self._waiting + + if not self._closed: + self._closed = True + try: + await self._writer.close(code, message) + writer = self._payload_writer + assert writer is not None + await writer.drain() + except (asyncio.CancelledError, asyncio.TimeoutError): + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + raise + except Exception as exc: + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._exception = exc + return True + + if self._closing: + return True + + reader = self._reader + assert reader is not None + try: + async with async_timeout.timeout(self._timeout): + msg = await reader.read() + except asyncio.CancelledError: + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + raise + except Exception as exc: + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._exception = exc + return True + + if msg.type == WSMsgType.CLOSE: + self._close_code = msg.data + return True + + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + self._exception = asyncio.TimeoutError() + return True + else: + return False + + async def receive(self, timeout: Optional[float] = None) -> WSMessage: + if self._reader is None: + raise RuntimeError("Call .prepare() first") + + loop = self._loop + assert loop is not None + while True: + if self._waiting is not None: + raise RuntimeError("Concurrent call to receive() is not allowed") + + if self._closed: + self._conn_lost += 1 + if self._conn_lost >= THRESHOLD_CONNLOST_ACCESS: + raise RuntimeError("WebSocket connection is closed.") + return WS_CLOSED_MESSAGE + elif self._closing: + return WS_CLOSING_MESSAGE + + try: + self._waiting = loop.create_future() + try: + async with async_timeout.timeout(timeout or self._receive_timeout): + msg = await self._reader.read() + self._reset_heartbeat() + finally: + waiter = self._waiting + set_result(waiter, True) + self._waiting = None + except (asyncio.CancelledError, asyncio.TimeoutError): + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + raise + except EofStream: + self._close_code = WSCloseCode.OK + await self.close() + return WSMessage(WSMsgType.CLOSED, None, None) + except WebSocketError as exc: + self._close_code = exc.code + await self.close(code=exc.code) + return WSMessage(WSMsgType.ERROR, exc, None) + except Exception as exc: + self._exception = exc + self._closing = True + self._close_code = WSCloseCode.ABNORMAL_CLOSURE + await self.close() + return WSMessage(WSMsgType.ERROR, exc, None) + + if msg.type == WSMsgType.CLOSE: + self._closing = True + self._close_code = msg.data + if not self._closed and self._autoclose: + await self.close() + elif msg.type == WSMsgType.CLOSING: + self._closing = True + elif msg.type == WSMsgType.PING and self._autoping: + await self.pong(msg.data) + continue + elif msg.type == WSMsgType.PONG and self._autoping: + continue + + return msg + + async def receive_str(self, *, timeout: Optional[float] = None) -> str: + msg = await self.receive(timeout) + if msg.type != WSMsgType.TEXT: + raise TypeError( + "Received message {}:{!r} is not WSMsgType.TEXT".format( + msg.type, msg.data + ) + ) + return cast(str, msg.data) + + async def receive_bytes(self, *, timeout: Optional[float] = None) -> bytes: + msg = await self.receive(timeout) + if msg.type != WSMsgType.BINARY: + raise TypeError(f"Received message {msg.type}:{msg.data!r} is not bytes") + return cast(bytes, msg.data) + + async def receive_json( + self, *, loads: JSONDecoder = json.loads, timeout: Optional[float] = None + ) -> Any: + data = await self.receive_str(timeout=timeout) + return loads(data) + + async def write(self, data: bytes) -> None: + raise RuntimeError("Cannot call .write() for websocket") + + def __aiter__(self) -> "WebSocketResponse": + return self + + async def __anext__(self) -> WSMessage: + msg = await self.receive() + if msg.type in (WSMsgType.CLOSE, WSMsgType.CLOSING, WSMsgType.CLOSED): + raise StopAsyncIteration + return msg + + def _cancel(self, exc: BaseException) -> None: + if self._reader is not None: + self._reader.set_exception(exc) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/worker.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/worker.py new file mode 100644 index 0000000000000000000000000000000000000000..9b30769733663fb45f17362291dcc3a5753abbc1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/aiohttp/worker.py @@ -0,0 +1,247 @@ +"""Async gunicorn worker for aiohttp.web""" + +import asyncio +import os +import re +import signal +import sys +from types import FrameType +from typing import Any, Awaitable, Callable, Optional, Union # noqa + +from gunicorn.config import AccessLogFormat as GunicornAccessLogFormat +from gunicorn.workers import base + +from aiohttp import web + +from .helpers import set_result +from .web_app import Application +from .web_log import AccessLogger + +try: + import ssl + + SSLContext = ssl.SSLContext +except ImportError: # pragma: no cover + ssl = None # type: ignore[assignment] + SSLContext = object # type: ignore[misc,assignment] + + +__all__ = ("GunicornWebWorker", "GunicornUVLoopWebWorker") + + +class GunicornWebWorker(base.Worker): # type: ignore[misc,no-any-unimported] + + DEFAULT_AIOHTTP_LOG_FORMAT = AccessLogger.LOG_FORMAT + DEFAULT_GUNICORN_LOG_FORMAT = GunicornAccessLogFormat.default + + def __init__(self, *args: Any, **kw: Any) -> None: # pragma: no cover + super().__init__(*args, **kw) + + self._task: Optional[asyncio.Task[None]] = None + self.exit_code = 0 + self._notify_waiter: Optional[asyncio.Future[bool]] = None + + def init_process(self) -> None: + # create new event_loop after fork + asyncio.get_event_loop().close() + + self.loop = asyncio.new_event_loop() + asyncio.set_event_loop(self.loop) + + super().init_process() + + def run(self) -> None: + self._task = self.loop.create_task(self._run()) + + try: # ignore all finalization problems + self.loop.run_until_complete(self._task) + except Exception: + self.log.exception("Exception in gunicorn worker") + self.loop.run_until_complete(self.loop.shutdown_asyncgens()) + self.loop.close() + + sys.exit(self.exit_code) + + async def _run(self) -> None: + runner = None + if isinstance(self.wsgi, Application): + app = self.wsgi + elif asyncio.iscoroutinefunction(self.wsgi): + wsgi = await self.wsgi() + if isinstance(wsgi, web.AppRunner): + runner = wsgi + app = runner.app + else: + app = wsgi + else: + raise RuntimeError( + "wsgi app should be either Application or " + "async function returning Application, got {}".format(self.wsgi) + ) + + if runner is None: + access_log = self.log.access_log if self.cfg.accesslog else None + runner = web.AppRunner( + app, + logger=self.log, + keepalive_timeout=self.cfg.keepalive, + access_log=access_log, + access_log_format=self._get_valid_log_format( + self.cfg.access_log_format + ), + shutdown_timeout=self.cfg.graceful_timeout / 100 * 95, + ) + await runner.setup() + + ctx = self._create_ssl_context(self.cfg) if self.cfg.is_ssl else None + + runner = runner + assert runner is not None + server = runner.server + assert server is not None + for sock in self.sockets: + site = web.SockSite( + runner, + sock, + ssl_context=ctx, + ) + await site.start() + + # If our parent changed then we shut down. + pid = os.getpid() + try: + while self.alive: # type: ignore[has-type] + self.notify() + + cnt = server.requests_count + if self.max_requests and cnt > self.max_requests: + self.alive = False + self.log.info("Max requests, shutting down: %s", self) + + elif pid == os.getpid() and self.ppid != os.getppid(): + self.alive = False + self.log.info("Parent changed, shutting down: %s", self) + else: + await self._wait_next_notify() + except BaseException: + pass + + await runner.cleanup() + + def _wait_next_notify(self) -> "asyncio.Future[bool]": + self._notify_waiter_done() + + loop = self.loop + assert loop is not None + self._notify_waiter = waiter = loop.create_future() + self.loop.call_later(1.0, self._notify_waiter_done, waiter) + + return waiter + + def _notify_waiter_done( + self, waiter: Optional["asyncio.Future[bool]"] = None + ) -> None: + if waiter is None: + waiter = self._notify_waiter + if waiter is not None: + set_result(waiter, True) + + if waiter is self._notify_waiter: + self._notify_waiter = None + + def init_signals(self) -> None: + # Set up signals through the event loop API. + + self.loop.add_signal_handler( + signal.SIGQUIT, self.handle_quit, signal.SIGQUIT, None + ) + + self.loop.add_signal_handler( + signal.SIGTERM, self.handle_exit, signal.SIGTERM, None + ) + + self.loop.add_signal_handler( + signal.SIGINT, self.handle_quit, signal.SIGINT, None + ) + + self.loop.add_signal_handler( + signal.SIGWINCH, self.handle_winch, signal.SIGWINCH, None + ) + + self.loop.add_signal_handler( + signal.SIGUSR1, self.handle_usr1, signal.SIGUSR1, None + ) + + self.loop.add_signal_handler( + signal.SIGABRT, self.handle_abort, signal.SIGABRT, None + ) + + # Don't let SIGTERM and SIGUSR1 disturb active requests + # by interrupting system calls + signal.siginterrupt(signal.SIGTERM, False) + signal.siginterrupt(signal.SIGUSR1, False) + # Reset signals so Gunicorn doesn't swallow subprocess return codes + # See: https://github.com/aio-libs/aiohttp/issues/6130 + + def handle_quit(self, sig: int, frame: Optional[FrameType]) -> None: + self.alive = False + + # worker_int callback + self.cfg.worker_int(self) + + # wakeup closing process + self._notify_waiter_done() + + def handle_abort(self, sig: int, frame: Optional[FrameType]) -> None: + self.alive = False + self.exit_code = 1 + self.cfg.worker_abort(self) + sys.exit(1) + + @staticmethod + def _create_ssl_context(cfg: Any) -> "SSLContext": + """Creates SSLContext instance for usage in asyncio.create_server. + + See ssl.SSLSocket.__init__ for more details. + """ + if ssl is None: # pragma: no cover + raise RuntimeError("SSL is not supported.") + + ctx = ssl.SSLContext(cfg.ssl_version) + ctx.load_cert_chain(cfg.certfile, cfg.keyfile) + ctx.verify_mode = cfg.cert_reqs + if cfg.ca_certs: + ctx.load_verify_locations(cfg.ca_certs) + if cfg.ciphers: + ctx.set_ciphers(cfg.ciphers) + return ctx + + def _get_valid_log_format(self, source_format: str) -> str: + if source_format == self.DEFAULT_GUNICORN_LOG_FORMAT: + return self.DEFAULT_AIOHTTP_LOG_FORMAT + elif re.search(r"%\([^\)]+\)", source_format): + raise ValueError( + "Gunicorn's style options in form of `%(name)s` are not " + "supported for the log formatting. Please use aiohttp's " + "format specification to configure access log formatting: " + "http://docs.aiohttp.org/en/stable/logging.html" + "#format-specification" + ) + else: + return source_format + + +class GunicornUVLoopWebWorker(GunicornWebWorker): + def init_process(self) -> None: + import uvloop + + # Close any existing event loop before setting a + # new policy. + asyncio.get_event_loop().close() + + # Setup uvloop policy, so that every + # asyncio.get_event_loop() will create an instance + # of uvloop event loop. + asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) + + super().init_process() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/INSTALLER b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/INSTALLER new file mode 100644 index 0000000000000000000000000000000000000000..a1b589e38a32041e49332e5e81c2d363dc418d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..b11f379efe1504d235b4d2d42685ba5dc6af6e9f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE @@ -0,0 +1,3 @@ +This software is made available under the terms of *either* of the licenses +found in LICENSE.APACHE or LICENSE.BSD. Contributions to cryptography are made +under the terms of *both* these licenses. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE.APACHE b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE.APACHE new file mode 100644 index 0000000000000000000000000000000000000000..62589edd12a37dd28b6b6fed1e2d728ac9f05c8d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE.APACHE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE.BSD b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE.BSD new file mode 100644 index 0000000000000000000000000000000000000000..ec1a29d34d6e419411c75523408aca72f705345c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/LICENSE.BSD @@ -0,0 +1,27 @@ +Copyright (c) Individual contributors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of PyCA Cryptography nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/METADATA b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..2106e2e6b4bab41c5a6142f78b121e479c307db5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/METADATA @@ -0,0 +1,133 @@ +Metadata-Version: 2.1 +Name: cryptography +Version: 41.0.7 +Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers. +Author-email: The Python Cryptographic Authority and individual contributors +License: Apache-2.0 OR BSD-3-Clause +Project-URL: homepage, https://github.com/pyca/cryptography +Project-URL: documentation, https://cryptography.io/ +Project-URL: source, https://github.com/pyca/cryptography/ +Project-URL: issues, https://github.com/pyca/cryptography/issues +Project-URL: changelog, https://cryptography.io/en/latest/changelog/ +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: Apache Software License +Classifier: License :: OSI Approved :: BSD License +Classifier: Natural Language :: English +Classifier: Operating System :: MacOS :: MacOS X +Classifier: Operating System :: POSIX +Classifier: Operating System :: POSIX :: BSD +Classifier: Operating System :: POSIX :: Linux +Classifier: Operating System :: Microsoft :: Windows +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Topic :: Security :: Cryptography +Requires-Python: >=3.7 +Description-Content-Type: text/x-rst +License-File: LICENSE +License-File: LICENSE.APACHE +License-File: LICENSE.BSD +Requires-Dist: cffi >=1.12 +Provides-Extra: docs +Requires-Dist: sphinx >=5.3.0 ; extra == 'docs' +Requires-Dist: sphinx-rtd-theme >=1.1.1 ; extra == 'docs' +Provides-Extra: docstest +Requires-Dist: pyenchant >=1.6.11 ; extra == 'docstest' +Requires-Dist: twine >=1.12.0 ; extra == 'docstest' +Requires-Dist: sphinxcontrib-spelling >=4.0.1 ; extra == 'docstest' +Provides-Extra: nox +Requires-Dist: nox ; extra == 'nox' +Provides-Extra: pep8test +Requires-Dist: black ; extra == 'pep8test' +Requires-Dist: ruff ; extra == 'pep8test' +Requires-Dist: mypy ; extra == 'pep8test' +Requires-Dist: check-sdist ; extra == 'pep8test' +Provides-Extra: sdist +Requires-Dist: build ; extra == 'sdist' +Provides-Extra: ssh +Requires-Dist: bcrypt >=3.1.5 ; extra == 'ssh' +Provides-Extra: test +Requires-Dist: pytest >=6.2.0 ; extra == 'test' +Requires-Dist: pytest-benchmark ; extra == 'test' +Requires-Dist: pytest-cov ; extra == 'test' +Requires-Dist: pytest-xdist ; extra == 'test' +Requires-Dist: pretend ; extra == 'test' +Provides-Extra: test-randomorder +Requires-Dist: pytest-randomly ; extra == 'test-randomorder' + +pyca/cryptography +================= + +.. image:: https://img.shields.io/pypi/v/cryptography.svg + :target: https://pypi.org/project/cryptography/ + :alt: Latest Version + +.. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest + :target: https://cryptography.io + :alt: Latest Docs + +.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main + :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain + + +``cryptography`` is a package which provides cryptographic recipes and +primitives to Python developers. Our goal is for it to be your "cryptographic +standard library". It supports Python 3.7+ and PyPy3 7.3.10+. + +``cryptography`` includes both high level recipes and low level interfaces to +common cryptographic algorithms such as symmetric ciphers, message digests, and +key derivation functions. For example, to encrypt something with +``cryptography``'s high level symmetric encryption recipe: + +.. code-block:: pycon + + >>> from cryptography.fernet import Fernet + >>> # Put this somewhere safe! + >>> key = Fernet.generate_key() + >>> f = Fernet(key) + >>> token = f.encrypt(b"A really secret message. Not for prying eyes.") + >>> token + b'...' + >>> f.decrypt(token) + b'A really secret message. Not for prying eyes.' + +You can find more information in the `documentation`_. + +You can install ``cryptography`` with: + +.. code-block:: console + + $ pip install cryptography + +For full details see `the installation documentation`_. + +Discussion +~~~~~~~~~~ + +If you run into bugs, you can file them in our `issue tracker`_. + +We maintain a `cryptography-dev`_ mailing list for development discussion. + +You can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get +involved. + +Security +~~~~~~~~ + +Need to report a security issue? Please consult our `security reporting`_ +documentation. + + +.. _`documentation`: https://cryptography.io/ +.. _`the installation documentation`: https://cryptography.io/en/latest/installation/ +.. _`issue tracker`: https://github.com/pyca/cryptography/issues +.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev +.. _`security reporting`: https://cryptography.io/en/latest/security/ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/RECORD b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/RECORD new file mode 100644 index 0000000000000000000000000000000000000000..77b014fe0bdefb8fe376f6ddafe5a9e2211fdcf4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/RECORD @@ -0,0 +1,173 @@ +cryptography-41.0.7.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +cryptography-41.0.7.dist-info/LICENSE,sha256=Pgx8CRqUi4JTO6mP18u0BDLW8amsv4X1ki0vmak65rs,197 +cryptography-41.0.7.dist-info/LICENSE.APACHE,sha256=qsc7MUj20dcRHbyjIJn2jSbGRMaBOuHk8F9leaomY_4,11360 +cryptography-41.0.7.dist-info/LICENSE.BSD,sha256=YCxMdILeZHndLpeTzaJ15eY9dz2s0eymiSMqtwCPtPs,1532 +cryptography-41.0.7.dist-info/METADATA,sha256=h4C2cL9sbR7ObF6jD7hUT7xOfSvzZBli6AmX-vngctA,5159 +cryptography-41.0.7.dist-info/RECORD,, +cryptography-41.0.7.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +cryptography-41.0.7.dist-info/WHEEL,sha256=Bnup3_Y_tMShHsCuO2E9NdrjRJkTtSD1dYVt3WSGhpU,112 +cryptography-41.0.7.dist-info/top_level.txt,sha256=KNaT-Sn2K4uxNaEbe6mYdDn3qWDMlp4y-MtWfB73nJc,13 +cryptography/__about__.py,sha256=uPXMbbcptt7EzZ_jllGRx0pVdMn-NBsAM4L74hOv-b0,445 +cryptography/__init__.py,sha256=iVPlBlXWTJyiFeRedxcbMPhyHB34viOM10d72vGnWuE,364 +cryptography/__pycache__/__about__.cpython-312.pyc,, +cryptography/__pycache__/__init__.cpython-312.pyc,, +cryptography/__pycache__/exceptions.cpython-312.pyc,, +cryptography/__pycache__/fernet.cpython-312.pyc,, +cryptography/__pycache__/utils.cpython-312.pyc,, +cryptography/exceptions.py,sha256=EHe7XM2_OtdOM1bZE0ci-4GUhtOlEQ6fQXhK2Igf0qA,1118 +cryptography/fernet.py,sha256=TVZy4Dtkpl7kWIpvuKcNldE95IEjTQ0MfHgRsLdnDSM,6886 +cryptography/hazmat/__init__.py,sha256=5IwrLWrVp0AjEr_4FdWG_V057NSJGY_W4egNNsuct0g,455 +cryptography/hazmat/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/__pycache__/_oid.cpython-312.pyc,, +cryptography/hazmat/_oid.py,sha256=gxhMHKpu9Xsi6uHCGZ_-soYMXj_izOIFaxjUKWbCPeE,14441 +cryptography/hazmat/backends/__init__.py,sha256=O5jvKFQdZnXhKeqJ-HtulaEL9Ni7mr1mDzZY5kHlYhI,361 +cryptography/hazmat/backends/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__init__.py,sha256=p3jmJfnCag9iE5sdMrN6VvVEu55u46xaS_IjoI0SrmA,305 +cryptography/hazmat/backends/openssl/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__pycache__/aead.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__pycache__/backend.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__pycache__/ciphers.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__pycache__/cmac.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__pycache__/decode_asn1.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__pycache__/ec.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__pycache__/rsa.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/__pycache__/utils.cpython-312.pyc,, +cryptography/hazmat/backends/openssl/aead.py,sha256=s3zXcVQf0COIOuOzI8usebWpznGnyZ7GhnmlJYu7QXA,15967 +cryptography/hazmat/backends/openssl/backend.py,sha256=491FCrjeOG7S9bXskUosirXFP84ntwAQ-U0BxcibtqM,73321 +cryptography/hazmat/backends/openssl/ciphers.py,sha256=lxWrvnufudsDI2bpwNs2c8XLILbAE2j2rMSD1nhnPVg,10358 +cryptography/hazmat/backends/openssl/cmac.py,sha256=pHgQOIRfR4cIDa5ltcKFtgjqPTXbOLyRQmmqv9JlbUk,3035 +cryptography/hazmat/backends/openssl/decode_asn1.py,sha256=kz6gys8wuJhrx4QyU6enYx7UatNHr0LB3TI1jH3oQ54,1148 +cryptography/hazmat/backends/openssl/ec.py,sha256=GKzh3mZKvgsM1jqM88-4XikHHalpV-Efyskclt8yxYg,11474 +cryptography/hazmat/backends/openssl/rsa.py,sha256=P_ak-2zvA6VBt_P0ldzTSCUkcjo2GhYt_HLn8CVvWtE,21825 +cryptography/hazmat/backends/openssl/utils.py,sha256=UoguO26QzwN4lsMAltsIrgAlbi3SOeSrexZs1-QPNu8,2190 +cryptography/hazmat/bindings/__init__.py,sha256=s9oKCQ2ycFdXoERdS1imafueSkBsL9kvbyfghaauZ9Y,180 +cryptography/hazmat/bindings/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/bindings/_rust.abi3.so,sha256=qkbrd72TN7vk0ivAz_VE-ZefNyDxCLwLSiAzhgMF8-Q,13787648 +cryptography/hazmat/bindings/_rust/__init__.pyi,sha256=IumK7zP9Ko3HjLLb5hwZiY2rbfmfsuyTZLLcHOMvSdk,981 +cryptography/hazmat/bindings/_rust/_openssl.pyi,sha256=mpNJLuYLbCVrd5i33FBTmWwL_55Dw7JPkSLlSX9Q7oI,230 +cryptography/hazmat/bindings/_rust/asn1.pyi,sha256=9CyI-grOsLQB_hfnhJPoG9dNOdJ7Zg6B0iUpzCowh44,592 +cryptography/hazmat/bindings/_rust/exceptions.pyi,sha256=exXr2xw_0pB1kk93cYbM3MohbzoUkjOms1ZMUi0uQZE,640 +cryptography/hazmat/bindings/_rust/ocsp.pyi,sha256=RzVaLkY0y9L8W8opAL_uVD8bySKxP23pSQtEbLOStXI,905 +cryptography/hazmat/bindings/_rust/openssl/__init__.pyi,sha256=j764U4RRBZbDuOfjQxRqU7rCf74kgM-3AnTIjLdRy3E,970 +cryptography/hazmat/bindings/_rust/openssl/dh.pyi,sha256=0FVY1t5qM9HV_ZKDIcdJI2a72i1fHKyTvYIJb5UnH4M,896 +cryptography/hazmat/bindings/_rust/openssl/dsa.pyi,sha256=43in4PCsm2kz_H7RQFLBKqhDsUmb4yWop6dpYeVDg-4,764 +cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi,sha256=E2GXAgibfRGqKxskH8MfZI8gHFoMJJOTjG7Elg2gOww,629 +cryptography/hazmat/bindings/_rust/openssl/ed448.pyi,sha256=pk_kx5Biq8O53d2joOT-cXuwCrbFPicV7iaqYdeiIAI,603 +cryptography/hazmat/bindings/_rust/openssl/hashes.pyi,sha256=J8HoN0GdtPcjRAfNHr5Elva_nkmQfq63L75_z9dd8Uc,573 +cryptography/hazmat/bindings/_rust/openssl/hmac.pyi,sha256=ZmLJ73pmxcZFC1XosWEiXMRYtvJJor3ZLdCQOJu85Cw,662 +cryptography/hazmat/bindings/_rust/openssl/kdf.pyi,sha256=wPS5c7NLspM2632II0I4iH1RSxZvSRtBOVqmpyQATfk,544 +cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi,sha256=9iogF7Q4i81IkOS-IMXp6HvxFF_3cNy_ucrAjVQnn14,540 +cryptography/hazmat/bindings/_rust/openssl/x25519.pyi,sha256=-1F5QDZfrdhmDLKTeSERuuDUHBTV-EhxIYk9mjpwcG4,616 +cryptography/hazmat/bindings/_rust/openssl/x448.pyi,sha256=SdL4blscYBEvuWY4SuNAY1s5zFaGj38eQ-bulVBZvFg,590 +cryptography/hazmat/bindings/_rust/pkcs7.pyi,sha256=VkTC78wjJgb_qrboOYIFPuFZ3W46zsr6zsxnlrOMwao,460 +cryptography/hazmat/bindings/_rust/x509.pyi,sha256=j6AbXBZSXeJHLSrXnaapbiPfle-znfk9uJUa_zqxgy4,1878 +cryptography/hazmat/bindings/openssl/__init__.py,sha256=s9oKCQ2ycFdXoERdS1imafueSkBsL9kvbyfghaauZ9Y,180 +cryptography/hazmat/bindings/openssl/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/bindings/openssl/__pycache__/_conditional.cpython-312.pyc,, +cryptography/hazmat/bindings/openssl/__pycache__/binding.cpython-312.pyc,, +cryptography/hazmat/bindings/openssl/_conditional.py,sha256=DeECq7AKguhs390ZmxgItdqPLzyrKGJk-3KlHJMkXoY,9098 +cryptography/hazmat/bindings/openssl/binding.py,sha256=0x3kzvq2grHu4gbbgEIzEVrX6unp71EEs1hx0o-uuOM,6696 +cryptography/hazmat/primitives/__init__.py,sha256=s9oKCQ2ycFdXoERdS1imafueSkBsL9kvbyfghaauZ9Y,180 +cryptography/hazmat/primitives/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/_serialization.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/cmac.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/constant_time.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/hashes.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/hmac.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/keywrap.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/padding.cpython-312.pyc,, +cryptography/hazmat/primitives/__pycache__/poly1305.cpython-312.pyc,, +cryptography/hazmat/primitives/_asymmetric.py,sha256=RhgcouUB6HTiFDBrR1LxqkMjpUxIiNvQ1r_zJjRG6qQ,532 +cryptography/hazmat/primitives/_cipheralgorithm.py,sha256=7LPkpw-DrgyvmBMUjvXeBvojVZPtXhFgfelUftnxPGw,1093 +cryptography/hazmat/primitives/_serialization.py,sha256=U0DU0ZzOLJppCQsh9EJH6vGYoHotBolfNyRyx3wr1l0,5216 +cryptography/hazmat/primitives/asymmetric/__init__.py,sha256=s9oKCQ2ycFdXoERdS1imafueSkBsL9kvbyfghaauZ9Y,180 +cryptography/hazmat/primitives/asymmetric/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/dh.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/dsa.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/ec.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/ed25519.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/ed448.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/padding.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/rsa.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/types.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/utils.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/x25519.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/__pycache__/x448.cpython-312.pyc,, +cryptography/hazmat/primitives/asymmetric/dh.py,sha256=XsthqjvExWWOyePs0PxT4MestU9QeGuL-Hx7fWzTguQ,7013 +cryptography/hazmat/primitives/asymmetric/dsa.py,sha256=aaTY7EMLTzaWs-jhOMpMAfa2GnfhoqsCKZPKAs35L40,8263 +cryptography/hazmat/primitives/asymmetric/ec.py,sha256=L1WoWPYevJ6Pk2T1etbnHbvr6AeXFccckPNNiyUVoNM,12867 +cryptography/hazmat/primitives/asymmetric/ed25519.py,sha256=wl2NCCP4bZdUCqZGMkOOd6eaxjU1vXPAIwzUuFPE__w,3489 +cryptography/hazmat/primitives/asymmetric/ed448.py,sha256=2MCJ87qcyCCsjj0OvrfWFxPX8CgaC3d0mr78bt_vDIY,3440 +cryptography/hazmat/primitives/asymmetric/padding.py,sha256=6p8Ojiax_2tcm1aTnNOAkinriCJ67nSTxugg34f-hzk,2717 +cryptography/hazmat/primitives/asymmetric/rsa.py,sha256=vxvOryF00WL8mZQv9bs_-LlgobYLiPYfX246_j_ICtA,11623 +cryptography/hazmat/primitives/asymmetric/types.py,sha256=LnsOJym-wmPUJ7Knu_7bCNU3kIiELCd6krOaW_JU08I,2996 +cryptography/hazmat/primitives/asymmetric/utils.py,sha256=DPTs6T4F-UhwzFQTh-1fSEpQzazH2jf2xpIro3ItF4o,790 +cryptography/hazmat/primitives/asymmetric/x25519.py,sha256=8YJAIaU7w09jTnPU_cLwd98fMHIECgfA3R7P3Ktv-CA,3437 +cryptography/hazmat/primitives/asymmetric/x448.py,sha256=y-Yj-rgciiuH1g6FJLZftvAqgOnzT1on9gCisru7vBc,3358 +cryptography/hazmat/primitives/ciphers/__init__.py,sha256=kAyb9NSczqTrCWj0HEoVp3Cxo7AHW8ibPFQz-ZHsOtA,680 +cryptography/hazmat/primitives/ciphers/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/primitives/ciphers/__pycache__/aead.cpython-312.pyc,, +cryptography/hazmat/primitives/ciphers/__pycache__/algorithms.cpython-312.pyc,, +cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-312.pyc,, +cryptography/hazmat/primitives/ciphers/__pycache__/modes.cpython-312.pyc,, +cryptography/hazmat/primitives/ciphers/aead.py,sha256=DY7qKmbt0bgB1GB7i-fQrbjEfwFG8wfUfVHvc7DA2YY,12067 +cryptography/hazmat/primitives/ciphers/algorithms.py,sha256=SCDskXc9xyzsz0NjND6tAX8t17jYTbUB2sww1ub9GuY,5000 +cryptography/hazmat/primitives/ciphers/base.py,sha256=PqNDltHdDxBhLhgtfO707H07sSOLA6ZVwjZlalOJTAo,8286 +cryptography/hazmat/primitives/ciphers/modes.py,sha256=YJQXi4PJGIIZ1rgchbMH47Ed-YiUcUSjLPEOuV8rgGE,8361 +cryptography/hazmat/primitives/cmac.py,sha256=YaeWksCYaqVoqf9zHRThAJ95ZvPUioAOfXwZUWiPzD8,2065 +cryptography/hazmat/primitives/constant_time.py,sha256=xdunWT0nf8OvKdcqUhhlFKayGp4_PgVJRU2W1wLSr_A,422 +cryptography/hazmat/primitives/hashes.py,sha256=VJpnbK2sQN2bEqwRTOoCB4nuxYx5CnqFiScMJNyhsrI,5115 +cryptography/hazmat/primitives/hmac.py,sha256=RpB3z9z5skirCQrm7zQbtnp9pLMnAjrlTUvKqF5aDDc,423 +cryptography/hazmat/primitives/kdf/__init__.py,sha256=4XibZnrYq4hh5xBjWiIXzaYW6FKx8hPbVaa_cB9zS64,750 +cryptography/hazmat/primitives/kdf/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/primitives/kdf/__pycache__/concatkdf.cpython-312.pyc,, +cryptography/hazmat/primitives/kdf/__pycache__/hkdf.cpython-312.pyc,, +cryptography/hazmat/primitives/kdf/__pycache__/kbkdf.cpython-312.pyc,, +cryptography/hazmat/primitives/kdf/__pycache__/pbkdf2.cpython-312.pyc,, +cryptography/hazmat/primitives/kdf/__pycache__/scrypt.cpython-312.pyc,, +cryptography/hazmat/primitives/kdf/__pycache__/x963kdf.cpython-312.pyc,, +cryptography/hazmat/primitives/kdf/concatkdf.py,sha256=wGYWgILmxQWnCPkbAH1RpsCHrdKgmYrCEVrCvXVGCo8,3726 +cryptography/hazmat/primitives/kdf/hkdf.py,sha256=bBYr1yUIbOlJIEd6ZoLYcXm_yd-H54An9kNcFIJ3kbo,3045 +cryptography/hazmat/primitives/kdf/kbkdf.py,sha256=qPL6TmDUmkus6CW3ylTJfG8N8egZhjQOyXrSyLLpnak,9232 +cryptography/hazmat/primitives/kdf/pbkdf2.py,sha256=1CCH9Q5gXUpnZd3c8d8bCXgpJ3s2hZZGBnuG7FH1waM,2012 +cryptography/hazmat/primitives/kdf/scrypt.py,sha256=4QONhjxA_ZtuQtQ7QV3FnbB8ftrFnM52B4HPfV7hFys,2354 +cryptography/hazmat/primitives/kdf/x963kdf.py,sha256=S3B4Enk2Yxj9txpairotaXkavuZqQ6t6MB5a28U02ek,2002 +cryptography/hazmat/primitives/keywrap.py,sha256=Qb_N2V_E1Dti5VtDXnrtTYtJDZ8aMpur8BY5yxrXclg,5678 +cryptography/hazmat/primitives/padding.py,sha256=8pCeLaqwQPSGf51j06U5C_INvgYWVWPv3m9mxUERGmU,6242 +cryptography/hazmat/primitives/poly1305.py,sha256=P5EPQV-RB_FJPahpg01u0Ts4S_PnAmsroxIGXbGeRRo,355 +cryptography/hazmat/primitives/serialization/__init__.py,sha256=6ZlL3EicEzoGdMOat86w8y_XICCnlHdCjFI97rMxRDg,1653 +cryptography/hazmat/primitives/serialization/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/primitives/serialization/__pycache__/base.cpython-312.pyc,, +cryptography/hazmat/primitives/serialization/__pycache__/pkcs12.cpython-312.pyc,, +cryptography/hazmat/primitives/serialization/__pycache__/pkcs7.cpython-312.pyc,, +cryptography/hazmat/primitives/serialization/__pycache__/ssh.cpython-312.pyc,, +cryptography/hazmat/primitives/serialization/base.py,sha256=VZjIIqnbb-x38qpg2Wf_IxZvqjsgcEzNQtQoeJiQfpw,1986 +cryptography/hazmat/primitives/serialization/pkcs12.py,sha256=NOzFxArlZhdjfgfugs8nERho1eyaxujXKGUKINchek4,6767 +cryptography/hazmat/primitives/serialization/pkcs7.py,sha256=BCvlPubXQOunb76emISK89PX9qXcBQI2CRPNe85VTZk,7392 +cryptography/hazmat/primitives/serialization/ssh.py,sha256=aLCYLPY3W1kerfCwadn5aYNzwcwIQl9c7RcsB8CKfuc,51027 +cryptography/hazmat/primitives/twofactor/__init__.py,sha256=tmMZGB-g4IU1r7lIFqASU019zr0uPp_wEBYcwdDCKCA,258 +cryptography/hazmat/primitives/twofactor/__pycache__/__init__.cpython-312.pyc,, +cryptography/hazmat/primitives/twofactor/__pycache__/hotp.cpython-312.pyc,, +cryptography/hazmat/primitives/twofactor/__pycache__/totp.cpython-312.pyc,, +cryptography/hazmat/primitives/twofactor/hotp.py,sha256=uZ0PSKYDZOL0aAobiw1Zd2HD0W2Ei1niUNC2v7Tnpc8,3010 +cryptography/hazmat/primitives/twofactor/totp.py,sha256=cMbWlAapOM1SfezEx9MoMHpCW9ingNXCg6OsGv4T8jc,1473 +cryptography/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +cryptography/utils.py,sha256=DfdXc9M4kmAboE2a0pPiISt5LVnW-jhhXURy8nDHae0,4018 +cryptography/x509/__init__.py,sha256=DzZE8bR-3iiVi3Wrcq7-g5Pm64fCr5aqsTNyi_rjJu0,7870 +cryptography/x509/__pycache__/__init__.cpython-312.pyc,, +cryptography/x509/__pycache__/base.cpython-312.pyc,, +cryptography/x509/__pycache__/certificate_transparency.cpython-312.pyc,, +cryptography/x509/__pycache__/extensions.cpython-312.pyc,, +cryptography/x509/__pycache__/general_name.cpython-312.pyc,, +cryptography/x509/__pycache__/name.cpython-312.pyc,, +cryptography/x509/__pycache__/ocsp.cpython-312.pyc,, +cryptography/x509/__pycache__/oid.cpython-312.pyc,, +cryptography/x509/base.py,sha256=FbS6EFE3uJ3O-zbFPRjsO6DckrNSN5TJNZMJcnzUWFQ,35677 +cryptography/x509/certificate_transparency.py,sha256=6HvzAD0dlSQVxy6tnDhGj0-pisp1MaJ9bxQNRr92inI,2261 +cryptography/x509/extensions.py,sha256=rFEcfZiFvcONs1ot03d68dAMK2U75w0s3g9mhyWBRcI,68365 +cryptography/x509/general_name.py,sha256=zm8GxNgVJuLD6rN488c5zdHhxp5gUxeRzw8enZMWDQ0,7868 +cryptography/x509/name.py,sha256=aZ2dpsinhkza3eTxT1vNmWuFMQ7fmcA0hs4npgnkf9Q,14855 +cryptography/x509/ocsp.py,sha256=48iW7xbZ9mZLELSEl7Wwjb4vYhOQ3KcNtqgKsAb_UD0,18534 +cryptography/x509/oid.py,sha256=fFosjGsnIB_w_0YrzZv1ggkSVwZl7xmY0zofKZNZkDA,829 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/REQUESTED b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/REQUESTED new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/WHEEL b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/WHEEL new file mode 100644 index 0000000000000000000000000000000000000000..5869d67e3e02ffde0cdcac178cd255a894f14d49 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.42.0) +Root-Is-Purelib: false +Tag: cp37-abi3-manylinux_2_28_x86_64 + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/top_level.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/top_level.txt new file mode 100644 index 0000000000000000000000000000000000000000..0d38bc5ea2591b0363e24090a1631afa3da2c14e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography-41.0.7.dist-info/top_level.txt @@ -0,0 +1 @@ +cryptography diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/__about__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/__about__.py new file mode 100644 index 0000000000000000000000000000000000000000..014e0adb66c4c111f7f85972c839fd3330652e29 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/__about__.py @@ -0,0 +1,17 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +__all__ = [ + "__version__", + "__author__", + "__copyright__", +] + +__version__ = "41.0.7" + + +__author__ = "The Python Cryptographic Authority and individual contributors" +__copyright__ = f"Copyright 2013-2023 {__author__}" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..86b9a25726d121ce9fb202f627dbab73c83e297f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/__init__.py @@ -0,0 +1,13 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +from cryptography.__about__ import __author__, __copyright__, __version__ + +__all__ = [ + "__version__", + "__author__", + "__copyright__", +] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..47fdd18eeeb2d331b71d126b8a947e39ca66299c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/exceptions.py @@ -0,0 +1,54 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import typing + +from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions + +if typing.TYPE_CHECKING: + from cryptography.hazmat.bindings._rust import openssl as rust_openssl + +_Reasons = rust_exceptions._Reasons + + +class UnsupportedAlgorithm(Exception): + def __init__( + self, message: str, reason: typing.Optional[_Reasons] = None + ) -> None: + super().__init__(message) + self._reason = reason + + +class AlreadyFinalized(Exception): + pass + + +class AlreadyUpdated(Exception): + pass + + +class NotYetFinalized(Exception): + pass + + +class InvalidTag(Exception): + pass + + +class InvalidSignature(Exception): + pass + + +class InternalError(Exception): + def __init__( + self, msg: str, err_code: typing.List[rust_openssl.OpenSSLError] + ) -> None: + super().__init__(msg) + self.err_code = err_code + + +class InvalidKey(Exception): + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/fernet.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/fernet.py new file mode 100644 index 0000000000000000000000000000000000000000..ad8fb40b9d44b55867750b4f7d161a4e9ce750ff --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/fernet.py @@ -0,0 +1,221 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import base64 +import binascii +import os +import time +import typing + +from cryptography import utils +from cryptography.exceptions import InvalidSignature +from cryptography.hazmat.primitives import hashes, padding +from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes +from cryptography.hazmat.primitives.hmac import HMAC + + +class InvalidToken(Exception): + pass + + +_MAX_CLOCK_SKEW = 60 + + +class Fernet: + def __init__( + self, + key: typing.Union[bytes, str], + backend: typing.Any = None, + ) -> None: + try: + key = base64.urlsafe_b64decode(key) + except binascii.Error as exc: + raise ValueError( + "Fernet key must be 32 url-safe base64-encoded bytes." + ) from exc + if len(key) != 32: + raise ValueError( + "Fernet key must be 32 url-safe base64-encoded bytes." + ) + + self._signing_key = key[:16] + self._encryption_key = key[16:] + + @classmethod + def generate_key(cls) -> bytes: + return base64.urlsafe_b64encode(os.urandom(32)) + + def encrypt(self, data: bytes) -> bytes: + return self.encrypt_at_time(data, int(time.time())) + + def encrypt_at_time(self, data: bytes, current_time: int) -> bytes: + iv = os.urandom(16) + return self._encrypt_from_parts(data, current_time, iv) + + def _encrypt_from_parts( + self, data: bytes, current_time: int, iv: bytes + ) -> bytes: + utils._check_bytes("data", data) + + padder = padding.PKCS7(algorithms.AES.block_size).padder() + padded_data = padder.update(data) + padder.finalize() + encryptor = Cipher( + algorithms.AES(self._encryption_key), + modes.CBC(iv), + ).encryptor() + ciphertext = encryptor.update(padded_data) + encryptor.finalize() + + basic_parts = ( + b"\x80" + + current_time.to_bytes(length=8, byteorder="big") + + iv + + ciphertext + ) + + h = HMAC(self._signing_key, hashes.SHA256()) + h.update(basic_parts) + hmac = h.finalize() + return base64.urlsafe_b64encode(basic_parts + hmac) + + def decrypt( + self, token: typing.Union[bytes, str], ttl: typing.Optional[int] = None + ) -> bytes: + timestamp, data = Fernet._get_unverified_token_data(token) + if ttl is None: + time_info = None + else: + time_info = (ttl, int(time.time())) + return self._decrypt_data(data, timestamp, time_info) + + def decrypt_at_time( + self, token: typing.Union[bytes, str], ttl: int, current_time: int + ) -> bytes: + if ttl is None: + raise ValueError( + "decrypt_at_time() can only be used with a non-None ttl" + ) + timestamp, data = Fernet._get_unverified_token_data(token) + return self._decrypt_data(data, timestamp, (ttl, current_time)) + + def extract_timestamp(self, token: typing.Union[bytes, str]) -> int: + timestamp, data = Fernet._get_unverified_token_data(token) + # Verify the token was not tampered with. + self._verify_signature(data) + return timestamp + + @staticmethod + def _get_unverified_token_data( + token: typing.Union[bytes, str] + ) -> typing.Tuple[int, bytes]: + if not isinstance(token, (str, bytes)): + raise TypeError("token must be bytes or str") + + try: + data = base64.urlsafe_b64decode(token) + except (TypeError, binascii.Error): + raise InvalidToken + + if not data or data[0] != 0x80: + raise InvalidToken + + if len(data) < 9: + raise InvalidToken + + timestamp = int.from_bytes(data[1:9], byteorder="big") + return timestamp, data + + def _verify_signature(self, data: bytes) -> None: + h = HMAC(self._signing_key, hashes.SHA256()) + h.update(data[:-32]) + try: + h.verify(data[-32:]) + except InvalidSignature: + raise InvalidToken + + def _decrypt_data( + self, + data: bytes, + timestamp: int, + time_info: typing.Optional[typing.Tuple[int, int]], + ) -> bytes: + if time_info is not None: + ttl, current_time = time_info + if timestamp + ttl < current_time: + raise InvalidToken + + if current_time + _MAX_CLOCK_SKEW < timestamp: + raise InvalidToken + + self._verify_signature(data) + + iv = data[9:25] + ciphertext = data[25:-32] + decryptor = Cipher( + algorithms.AES(self._encryption_key), modes.CBC(iv) + ).decryptor() + plaintext_padded = decryptor.update(ciphertext) + try: + plaintext_padded += decryptor.finalize() + except ValueError: + raise InvalidToken + unpadder = padding.PKCS7(algorithms.AES.block_size).unpadder() + + unpadded = unpadder.update(plaintext_padded) + try: + unpadded += unpadder.finalize() + except ValueError: + raise InvalidToken + return unpadded + + +class MultiFernet: + def __init__(self, fernets: typing.Iterable[Fernet]): + fernets = list(fernets) + if not fernets: + raise ValueError( + "MultiFernet requires at least one Fernet instance" + ) + self._fernets = fernets + + def encrypt(self, msg: bytes) -> bytes: + return self.encrypt_at_time(msg, int(time.time())) + + def encrypt_at_time(self, msg: bytes, current_time: int) -> bytes: + return self._fernets[0].encrypt_at_time(msg, current_time) + + def rotate(self, msg: typing.Union[bytes, str]) -> bytes: + timestamp, data = Fernet._get_unverified_token_data(msg) + for f in self._fernets: + try: + p = f._decrypt_data(data, timestamp, None) + break + except InvalidToken: + pass + else: + raise InvalidToken + + iv = os.urandom(16) + return self._fernets[0]._encrypt_from_parts(p, timestamp, iv) + + def decrypt( + self, msg: typing.Union[bytes, str], ttl: typing.Optional[int] = None + ) -> bytes: + for f in self._fernets: + try: + return f.decrypt(msg, ttl) + except InvalidToken: + pass + raise InvalidToken + + def decrypt_at_time( + self, msg: typing.Union[bytes, str], ttl: int, current_time: int + ) -> bytes: + for f in self._fernets: + try: + return f.decrypt_at_time(msg, ttl, current_time) + except InvalidToken: + pass + raise InvalidToken diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..71916816844020a3fe6f0d8d395031946098cabd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/cryptography/utils.py @@ -0,0 +1,130 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import enum +import sys +import types +import typing +import warnings + + +# We use a UserWarning subclass, instead of DeprecationWarning, because CPython +# decided deprecation warnings should be invisble by default. +class CryptographyDeprecationWarning(UserWarning): + pass + + +# Several APIs were deprecated with no specific end-of-life date because of the +# ubiquity of their use. They should not be removed until we agree on when that +# cycle ends. +DeprecatedIn36 = CryptographyDeprecationWarning +DeprecatedIn37 = CryptographyDeprecationWarning +DeprecatedIn40 = CryptographyDeprecationWarning +DeprecatedIn41 = CryptographyDeprecationWarning + + +def _check_bytes(name: str, value: bytes) -> None: + if not isinstance(value, bytes): + raise TypeError(f"{name} must be bytes") + + +def _check_byteslike(name: str, value: bytes) -> None: + try: + memoryview(value) + except TypeError: + raise TypeError(f"{name} must be bytes-like") + + +def int_to_bytes(integer: int, length: typing.Optional[int] = None) -> bytes: + return integer.to_bytes( + length or (integer.bit_length() + 7) // 8 or 1, "big" + ) + + +def _extract_buffer_length(obj: typing.Any) -> typing.Tuple[typing.Any, int]: + from cryptography.hazmat.bindings._rust import _openssl + + buf = _openssl.ffi.from_buffer(obj) + return buf, int(_openssl.ffi.cast("uintptr_t", buf)) + + +class InterfaceNotImplemented(Exception): + pass + + +class _DeprecatedValue: + def __init__(self, value: object, message: str, warning_class): + self.value = value + self.message = message + self.warning_class = warning_class + + +class _ModuleWithDeprecations(types.ModuleType): + def __init__(self, module: types.ModuleType): + super().__init__(module.__name__) + self.__dict__["_module"] = module + + def __getattr__(self, attr: str) -> object: + obj = getattr(self._module, attr) + if isinstance(obj, _DeprecatedValue): + warnings.warn(obj.message, obj.warning_class, stacklevel=2) + obj = obj.value + return obj + + def __setattr__(self, attr: str, value: object) -> None: + setattr(self._module, attr, value) + + def __delattr__(self, attr: str) -> None: + obj = getattr(self._module, attr) + if isinstance(obj, _DeprecatedValue): + warnings.warn(obj.message, obj.warning_class, stacklevel=2) + + delattr(self._module, attr) + + def __dir__(self) -> typing.Sequence[str]: + return ["_module"] + dir(self._module) + + +def deprecated( + value: object, + module_name: str, + message: str, + warning_class: typing.Type[Warning], + name: typing.Optional[str] = None, +) -> _DeprecatedValue: + module = sys.modules[module_name] + if not isinstance(module, _ModuleWithDeprecations): + sys.modules[module_name] = module = _ModuleWithDeprecations(module) + dv = _DeprecatedValue(value, message, warning_class) + # Maintain backwards compatibility with `name is None` for pyOpenSSL. + if name is not None: + setattr(module, name, dv) + return dv + + +def cached_property(func: typing.Callable) -> property: + cached_name = f"_cached_{func}" + sentinel = object() + + def inner(instance: object): + cache = getattr(instance, cached_name, sentinel) + if cache is not sentinel: + return cache + result = func(instance) + setattr(instance, cached_name, result) + return result + + return property(inner) + + +# Python 3.10 changed representation of enums. We use well-defined object +# representation and string representation from Python 3.9. +class Enum(enum.Enum): + def __repr__(self) -> str: + return f"<{self.__class__.__name__}.{self._name_}: {self._value_!r}>" + + def __str__(self) -> str: + return f"{self.__class__.__name__}.{self._name_}" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/INSTALLER b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/INSTALLER new file mode 100644 index 0000000000000000000000000000000000000000..a1b589e38a32041e49332e5e81c2d363dc418d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/LICENSE b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..756d048c4852529a39792448c4829b4827730caa --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [2020] [Paul Davis ] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/METADATA b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..70c12664d6d45f749443f81198d8218525c8495b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/METADATA @@ -0,0 +1,154 @@ +Metadata-Version: 2.1 +Name: ghp-import +Version: 2.1.0 +Summary: Copy your docs directly to the gh-pages branch. +Home-page: https://github.com/c-w/ghp-import +Author: Paul Joseph Davis +Author-email: paul.joseph.davis@gmail.com +License: Apache Software License +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Intended Audience :: Developers +Classifier: Natural Language :: English +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 3 +Description-Content-Type: text/markdown +License-File: LICENSE +Requires-Dist: python-dateutil (>=2.8.1) +Provides-Extra: dev +Requires-Dist: twine ; extra == 'dev' +Requires-Dist: markdown ; extra == 'dev' +Requires-Dist: flake8 ; extra == 'dev' +Requires-Dist: wheel ; extra == 'dev' + +GitHub Pages Import +=================== + +[![CI status](https://github.com/davisp/ghp-import/workflows/CI/badge.svg)](https://github.com/davisp/ghp-import/actions?query=workflow%3Aci) +[![CircleCI](https://circleci.com/gh/c-w/ghp-import/tree/master.svg?style=svg)](https://circleci.com/gh/c-w/ghp-import/tree/master) +[![TravisCI](https://travis-ci.org/c-w/ghp-import.svg?branch=master)](https://travis-ci.org/c-w/ghp-import) + +[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0) +[![Version](https://img.shields.io/pypi/v/ghp-import.svg)](https://pypi.org/project/ghp-import/) + +As part of [gunicorn][gunicorn], [Benoit Chesneau][benoit] and [Paul Davis][davisp] +were looking at how to host documentation. There's the obvious method of +using [GitHub's post-receive hook][github-post] to trigger doc builds and rsync +to a webserver, but we ended up wanting to try out github's hosting to make the +whole interface a bit more robust. + +[GitHub Pages][gh-pages] is a pretty awesome service that GitHub provides for +hosting project documentation. The only thing is that it requires a +`gh-pages` branch that is the site's document root. This means that keeping +documentation sources in the branch with code is a bit difficult. And it really +turns into a head scratcher for things like [Sphinx][sphinx] that want to +access documentation sources and code sources at the same time. + +Then we stumbled across an interesting looking package called +[github-tools][github-tools] that looked almost like what we wanted. It was a tad +complicated and more involved than we wanted but it gave us an idea. Why not +just write a script that can copy a directory to the `gh-pages` branch of the +repository. This saves us from even having to think about the branch and +everything becomes magical. + +This is what `ghp-import` was written for. + +[gunicorn]: http://www.gunicorn.com/ "Gunicorn" +[benoit]: http://github.com/benoitc "Benoît Chesneau" +[davisp]: http://github.com/davisp "Paul J. Davis" +[github-post]: https://help.github.com/articles/post-receive-hooks "GitHub Post-Receive Hook" +[gh-pages]: http://pages.github.com/ "GitHub Pages" +[sphinx]: http://sphinx.pocoo.org/ "Sphinx Documentation" +[github-tools]: http://dinoboff.github.com/github-tools/ "github-tools" + + +Big Fat Warning +--------------- + +This will **DESTROY** your `gh-pages` branch. If you love it, you'll want to +take backups before playing with this. This script assumes that `gh-pages` is +100% derivative. You should never edit files in your `gh-pages` branch by hand +if you're using this script because you will lose your work. + +When used with a prefix, only files below the set prefix will be destroyed, limiting the +above warning to just that directory and everything below it. + +Usage +----- + +``` +Usage: ghp-import [OPTIONS] DIRECTORY + +Options: + -n, --no-jekyll Include a .nojekyll file in the branch. + -c CNAME, --cname=CNAME + Write a CNAME file with the given CNAME. + -m MESG, --message=MESG + The commit message to use on the target branch. + -p, --push Push the branch to origin/{branch} after committing. + -x PREFIX, --prefix=PREFIX + The prefix to add to each file that gets pushed to the + remote. Only files below this prefix will be cleared + out. [none] + -f, --force Force the push to the repository. + -o, --no-history Force new commit without parent history. + -r REMOTE, --remote=REMOTE + The name of the remote to push to. [origin] + -b BRANCH, --branch=BRANCH + Name of the branch to write to. [gh-pages] + -s, --shell Use the shell when invoking Git. [False] + -l, --follow-links Follow symlinks when adding files. [False] + -h, --help show this help message and exit +``` + +Its pretty simple. Inside your repository just run `ghp-import $DOCS_DIR` +where `$DOCS_DIR` is the path to the **built** documentation. This will write a +commit to your `gh-pages` branch with the current documents in it. + +If you specify `-p` it will also attempt to push the `gh-pages` branch to +GitHub. By default it'll just run `git push origin gh-pages`. You can specify +a different remote using the `-r` flag. + +The `-o` option will discard any previous history and ensure that only a +single commit is always pushed to the `gh-pages` branch. This is useful to +avoid bloating the repository size and is **highly recommended**. + +You can specify a different branch with `-b`. This is useful for user and +organization page, which are served from the `master` branch. + +Some Windows users report needing to pass Git commands through the shell which can be accomplished by passing `-s`. + +The `-l` option will cause the import to follow symlinks for users that have odd configurations that include symlinking outside of their documentation directory. + +Python Usage +------------ + +You can also call ghp_import directly from your Python code as a library. The +library has one public function `ghp_import.ghp_import`, which accepts the +following arguments: + +* `srcdir`: The path to the **built** documentation (required). +* `remote`: The name of the remote to push to. Default: `origin`. +* `branch`: Name of the branch to write to. Default: `gh-pages`. +* `mesg`: The commit message to use on the target branch. Default: `Update documentation`. +* `push`: Push the branch to {remote}/{branch} after committing. Default: `False`. +* `prefix`: The prefix to add to each file that gets pushed to the remote. Default: `None`. +* `force`: Force the push to the repository. Default: `False`. +* `no_history`: Force new commit without parent history. Default: `False`. +* `use_shell`: Default: Use the shell when invoking Git. `False`. +* `followlinks`: Follow symlinks when adding files. Default: `False`. +* `cname`: Write a CNAME file with the given CNAME. Default: `None`. +* `nojekyll`: Include a .nojekyll file in the branch. Default: `False`. + +With Python's current working directory (cwd) inside your repository, do the +following: + +```python +from ghp_import import ghp_import +ghp_import('docs', push=True, cname='example.com') +``` + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/RECORD b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/RECORD new file mode 100644 index 0000000000000000000000000000000000000000..95ea9540f1846c5fe46268303917dcf58c18ba87 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/RECORD @@ -0,0 +1,10 @@ +../../../bin/ghp-import,sha256=3yJTcNqpBstAvb0APwNdsXm-15ztV4gOcs5NeQwUAEg,217 +__pycache__/ghp_import.cpython-312.pyc,, +ghp_import-2.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +ghp_import-2.1.0.dist-info/LICENSE,sha256=C8j_tF8m7dHNDeT1BCWuLLRsWMbYrBE5hNQSC-NVr6k,11374 +ghp_import-2.1.0.dist-info/METADATA,sha256=PCrYmDTJ2XjIuUkYM33d1t8Fva95SG2UphvN-t9b6y8,7177 +ghp_import-2.1.0.dist-info/RECORD,, +ghp_import-2.1.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 +ghp_import-2.1.0.dist-info/entry_points.txt,sha256=mk55YA2cS0KmQK9APJFk_1ny9zFWFOZDtOBZMO0cu1Y,48 +ghp_import-2.1.0.dist-info/top_level.txt,sha256=QGVcxjaCFAMEV3ZX7ADAlIMIlsiyfplHNQi-JwrTgow,11 +ghp_import.py,sha256=zvDcFrdka_GzgEkD1BjJrBfDHD3sCExSbnJHmBE1igU,9234 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/WHEEL b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/WHEEL new file mode 100644 index 0000000000000000000000000000000000000000..becc9a66ea739ba941d48a749e248761cc6e658a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.37.1) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/entry_points.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..6f2959a8b5b0b5e8db3b638116742e0f43242560 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/entry_points.txt @@ -0,0 +1,3 @@ +[console_scripts] +ghp-import = ghp_import:main + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/top_level.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/top_level.txt new file mode 100644 index 0000000000000000000000000000000000000000..a780ceada2d2bc43a3db1025152392bcd1800a13 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/ghp_import-2.1.0.dist-info/top_level.txt @@ -0,0 +1 @@ +ghp_import diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/INSTALLER b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/INSTALLER new file mode 100644 index 0000000000000000000000000000000000000000..a1b589e38a32041e49332e5e81c2d363dc418d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/LICENSE b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/METADATA b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..7737675ac30f23cadc3d4d1a6318a7a0d94affb9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/METADATA @@ -0,0 +1,293 @@ +Metadata-Version: 2.1 +Name: huggingface-hub +Version: 0.20.1 +Summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub +Home-page: https://github.com/huggingface/huggingface_hub +Author: Hugging Face, Inc. +Author-email: julien@huggingface.co +License: Apache +Keywords: model-hub machine-learning models natural-language-processing deep-learning pytorch pretrained-models +Platform: UNKNOWN +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Education +Classifier: Intended Audience :: Science/Research +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence +Requires-Python: >=3.8.0 +Description-Content-Type: text/markdown +License-File: LICENSE +Requires-Dist: filelock +Requires-Dist: fsspec >=2023.5.0 +Requires-Dist: requests +Requires-Dist: tqdm >=4.42.1 +Requires-Dist: pyyaml >=5.1 +Requires-Dist: typing-extensions >=3.7.4.3 +Requires-Dist: packaging >=20.9 +Provides-Extra: all +Requires-Dist: InquirerPy ==0.3.4 ; extra == 'all' +Requires-Dist: aiohttp ; extra == 'all' +Requires-Dist: jedi ; extra == 'all' +Requires-Dist: Jinja2 ; extra == 'all' +Requires-Dist: pytest ; extra == 'all' +Requires-Dist: pytest-cov ; extra == 'all' +Requires-Dist: pytest-env ; extra == 'all' +Requires-Dist: pytest-xdist ; extra == 'all' +Requires-Dist: pytest-vcr ; extra == 'all' +Requires-Dist: pytest-asyncio ; extra == 'all' +Requires-Dist: pytest-rerunfailures ; extra == 'all' +Requires-Dist: urllib3 <2.0 ; extra == 'all' +Requires-Dist: soundfile ; extra == 'all' +Requires-Dist: Pillow ; extra == 'all' +Requires-Dist: gradio ; extra == 'all' +Requires-Dist: numpy ; extra == 'all' +Requires-Dist: ruff >=0.1.3 ; extra == 'all' +Requires-Dist: mypy ==1.5.1 ; extra == 'all' +Requires-Dist: typing-extensions >=4.8.0 ; extra == 'all' +Requires-Dist: types-PyYAML ; extra == 'all' +Requires-Dist: types-requests ; extra == 'all' +Requires-Dist: types-simplejson ; extra == 'all' +Requires-Dist: types-toml ; extra == 'all' +Requires-Dist: types-tqdm ; extra == 'all' +Requires-Dist: types-urllib3 ; extra == 'all' +Requires-Dist: pydantic <2.0,>1.1 ; (python_version == "3.8") and extra == 'all' +Requires-Dist: pydantic <3.0,>1.1 ; (python_version > "3.8") and extra == 'all' +Provides-Extra: cli +Requires-Dist: InquirerPy ==0.3.4 ; extra == 'cli' +Provides-Extra: dev +Requires-Dist: InquirerPy ==0.3.4 ; extra == 'dev' +Requires-Dist: aiohttp ; extra == 'dev' +Requires-Dist: jedi ; extra == 'dev' +Requires-Dist: Jinja2 ; extra == 'dev' +Requires-Dist: pytest ; extra == 'dev' +Requires-Dist: pytest-cov ; extra == 'dev' +Requires-Dist: pytest-env ; extra == 'dev' +Requires-Dist: pytest-xdist ; extra == 'dev' +Requires-Dist: pytest-vcr ; extra == 'dev' +Requires-Dist: pytest-asyncio ; extra == 'dev' +Requires-Dist: pytest-rerunfailures ; extra == 'dev' +Requires-Dist: urllib3 <2.0 ; extra == 'dev' +Requires-Dist: soundfile ; extra == 'dev' +Requires-Dist: Pillow ; extra == 'dev' +Requires-Dist: gradio ; extra == 'dev' +Requires-Dist: numpy ; extra == 'dev' +Requires-Dist: ruff >=0.1.3 ; extra == 'dev' +Requires-Dist: mypy ==1.5.1 ; extra == 'dev' +Requires-Dist: typing-extensions >=4.8.0 ; extra == 'dev' +Requires-Dist: types-PyYAML ; extra == 'dev' +Requires-Dist: types-requests ; extra == 'dev' +Requires-Dist: types-simplejson ; extra == 'dev' +Requires-Dist: types-toml ; extra == 'dev' +Requires-Dist: types-tqdm ; extra == 'dev' +Requires-Dist: types-urllib3 ; extra == 'dev' +Requires-Dist: pydantic <2.0,>1.1 ; (python_version == "3.8") and extra == 'dev' +Requires-Dist: pydantic <3.0,>1.1 ; (python_version > "3.8") and extra == 'dev' +Provides-Extra: fastai +Requires-Dist: toml ; extra == 'fastai' +Requires-Dist: fastai >=2.4 ; extra == 'fastai' +Requires-Dist: fastcore >=1.3.27 ; extra == 'fastai' +Provides-Extra: inference +Requires-Dist: aiohttp ; extra == 'inference' +Requires-Dist: pydantic <2.0,>1.1 ; (python_version == "3.8") and extra == 'inference' +Requires-Dist: pydantic <3.0,>1.1 ; (python_version > "3.8") and extra == 'inference' +Provides-Extra: quality +Requires-Dist: ruff >=0.1.3 ; extra == 'quality' +Requires-Dist: mypy ==1.5.1 ; extra == 'quality' +Provides-Extra: tensorflow +Requires-Dist: tensorflow ; extra == 'tensorflow' +Requires-Dist: pydot ; extra == 'tensorflow' +Requires-Dist: graphviz ; extra == 'tensorflow' +Provides-Extra: testing +Requires-Dist: InquirerPy ==0.3.4 ; extra == 'testing' +Requires-Dist: aiohttp ; extra == 'testing' +Requires-Dist: jedi ; extra == 'testing' +Requires-Dist: Jinja2 ; extra == 'testing' +Requires-Dist: pytest ; extra == 'testing' +Requires-Dist: pytest-cov ; extra == 'testing' +Requires-Dist: pytest-env ; extra == 'testing' +Requires-Dist: pytest-xdist ; extra == 'testing' +Requires-Dist: pytest-vcr ; extra == 'testing' +Requires-Dist: pytest-asyncio ; extra == 'testing' +Requires-Dist: pytest-rerunfailures ; extra == 'testing' +Requires-Dist: urllib3 <2.0 ; extra == 'testing' +Requires-Dist: soundfile ; extra == 'testing' +Requires-Dist: Pillow ; extra == 'testing' +Requires-Dist: gradio ; extra == 'testing' +Requires-Dist: numpy ; extra == 'testing' +Requires-Dist: pydantic <2.0,>1.1 ; (python_version == "3.8") and extra == 'testing' +Requires-Dist: pydantic <3.0,>1.1 ; (python_version > "3.8") and extra == 'testing' +Provides-Extra: torch +Requires-Dist: torch ; extra == 'torch' +Provides-Extra: typing +Requires-Dist: typing-extensions >=4.8.0 ; extra == 'typing' +Requires-Dist: types-PyYAML ; extra == 'typing' +Requires-Dist: types-requests ; extra == 'typing' +Requires-Dist: types-simplejson ; extra == 'typing' +Requires-Dist: types-toml ; extra == 'typing' +Requires-Dist: types-tqdm ; extra == 'typing' +Requires-Dist: types-urllib3 ; extra == 'typing' + +

    +
    + huggingface_hub library logo +
    +

    + +

    + The official Python client for the Huggingface Hub. +

    + +

    + Documentation + GitHub release + PyPi version + downloads + Code coverage +

    + +

    +

    + English | + Deutsch | + हिंदी | + 한국어 +

    +

    +--- + +**Documentation**: https://hf.co/docs/huggingface_hub + +**Source Code**: https://github.com/huggingface/huggingface_hub + +--- + +## Welcome to the huggingface_hub library + +The `huggingface_hub` library allows you to interact with the [Hugging Face Hub](https://huggingface.co/), a platform democratizing open-source Machine Learning for creators and collaborators. Discover pre-trained models and datasets for your projects or play with the thousands of machine learning apps hosted on the Hub. You can also create and share your own models, datasets and demos with the community. The `huggingface_hub` library provides a simple way to do all these things with Python. + +## Key features + +- [Download files](https://huggingface.co/docs/huggingface_hub/en/guides/download) from the Hub. +- [Upload files](https://huggingface.co/docs/huggingface_hub/en/guides/upload) to the Hub. +- [Manage your repositories](https://huggingface.co/docs/huggingface_hub/en/guides/repository). +- [Run Inference](https://huggingface.co/docs/huggingface_hub/en/guides/inference) on deployed models. +- [Search](https://huggingface.co/docs/huggingface_hub/en/guides/search) for models, datasets and Spaces. +- [Share Model Cards](https://huggingface.co/docs/huggingface_hub/en/guides/model-cards) to document your models. +- [Engage with the community](https://huggingface.co/docs/huggingface_hub/en/guides/community) through PRs and comments. + +## Installation + +Install the `huggingface_hub` package with [pip](https://pypi.org/project/huggingface-hub/): + +```bash +pip install huggingface_hub +``` + +If you prefer, you can also install it with [conda](https://huggingface.co/docs/huggingface_hub/en/installation#install-with-conda). + +In order to keep the package minimal by default, `huggingface_hub` comes with optional dependencies useful for some use cases. For example, if you want have a complete experience for Inference, run: + +```bash +pip install huggingface_hub[inference] +``` + +To learn more installation and optional dependencies, check out the [installation guide](https://huggingface.co/docs/huggingface_hub/en/installation). + +## Quick start + +### Download files + +Download a single file + +```py +from huggingface_hub import hf_hub_download + +hf_hub_download(repo_id="tiiuae/falcon-7b-instruct", filename="config.json") +``` + +Or an entire repository + +```py +from huggingface_hub import snapshot_download + +snapshot_download("stabilityai/stable-diffusion-2-1") +``` + +Files will be downloaded in a local cache folder. More details in [this guide](https://huggingface.co/docs/huggingface_hub/en/guides/manage-cache). + +### Login + +The Hugging Face Hub uses tokens to authenticate applications (see [docs](https://huggingface.co/docs/hub/security-tokens)). To login your machine, run the following CLI: + +```bash +huggingface-cli login +# or using an environment variable +huggingface-cli login --token $HUGGINGFACE_TOKEN +``` + +### Create a repository + +```py +from huggingface_hub import create_repo + +create_repo(repo_id="super-cool-model") +``` + +### Upload files + +Upload a single file + +```py +from huggingface_hub import upload_file + +upload_file( + path_or_fileobj="/home/lysandre/dummy-test/README.md", + path_in_repo="README.md", + repo_id="lysandre/test-model", +) +``` + +Or an entire folder + +```py +from huggingface_hub import upload_folder + +upload_folder( + folder_path="/path/to/local/space", + repo_id="username/my-cool-space", + repo_type="space", +) +``` + +For details in the [upload guide](https://huggingface.co/docs/huggingface_hub/en/guides/upload). + +## Integrating to the Hub. + +We're partnering with cool open source ML libraries to provide free model hosting and versioning. You can find the existing integrations [here](https://huggingface.co/docs/hub/libraries). + +The advantages are: + +- Free model or dataset hosting for libraries and their users. +- Built-in file versioning, even with very large files, thanks to a git-based approach. +- Hosted inference API for all models publicly available. +- In-browser widgets to play with the uploaded models. +- Anyone can upload a new model for your library, they just need to add the corresponding tag for the model to be discoverable. +- Fast downloads! We use Cloudfront (a CDN) to geo-replicate downloads so they're blazing fast from anywhere on the globe. +- Usage stats and more features to come. + +If you would like to integrate your library, feel free to open an issue to begin the discussion. We wrote a [step-by-step guide](https://huggingface.co/docs/hub/adding-a-library) with ❤️ showing how to do this integration. + +## Contributions (feature requests, bugs, etc.) are super welcome 💙💚💛💜🧡❤️ + +Everyone is welcome to contribute, and we value everybody's contribution. Code is not the only way to help the community. +Answering questions, helping others, reaching out and improving the documentations are immensely valuable to the community. +We wrote a [contribution guide](https://github.com/huggingface/huggingface_hub/blob/main/CONTRIBUTING.md) to summarize +how to get started to contribute to this repository. + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/RECORD b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/RECORD new file mode 100644 index 0000000000000000000000000000000000000000..3b1be81daaeb578bcf4da7c2f1debd1bcbdd6465 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/RECORD @@ -0,0 +1,147 @@ +../../../bin/huggingface-cli,sha256=lnJ5gsUjRIEuAjzAJaRZkagxcaOJ93w621N3-SuuZes,247 +huggingface_hub-0.20.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +huggingface_hub-0.20.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357 +huggingface_hub-0.20.1.dist-info/METADATA,sha256=_mwPR3T6IoDiH8sbuyp_os1yo5_h5MCYFgYb2wuKj5Q,12930 +huggingface_hub-0.20.1.dist-info/RECORD,, +huggingface_hub-0.20.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +huggingface_hub-0.20.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92 +huggingface_hub-0.20.1.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131 +huggingface_hub-0.20.1.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16 +huggingface_hub/__init__.py,sha256=WvvtgmprtEwfH1CVyhFwhOmWzxwyuIs4Ydqm3MQQ67A,20809 +huggingface_hub/__pycache__/__init__.cpython-312.pyc,, +huggingface_hub/__pycache__/_commit_api.cpython-312.pyc,, +huggingface_hub/__pycache__/_commit_scheduler.cpython-312.pyc,, +huggingface_hub/__pycache__/_inference_endpoints.cpython-312.pyc,, +huggingface_hub/__pycache__/_login.cpython-312.pyc,, +huggingface_hub/__pycache__/_multi_commits.cpython-312.pyc,, +huggingface_hub/__pycache__/_snapshot_download.cpython-312.pyc,, +huggingface_hub/__pycache__/_space_api.cpython-312.pyc,, +huggingface_hub/__pycache__/_tensorboard_logger.cpython-312.pyc,, +huggingface_hub/__pycache__/_webhooks_payload.cpython-312.pyc,, +huggingface_hub/__pycache__/_webhooks_server.cpython-312.pyc,, +huggingface_hub/__pycache__/community.cpython-312.pyc,, +huggingface_hub/__pycache__/constants.cpython-312.pyc,, +huggingface_hub/__pycache__/fastai_utils.cpython-312.pyc,, +huggingface_hub/__pycache__/file_download.cpython-312.pyc,, +huggingface_hub/__pycache__/hf_api.cpython-312.pyc,, +huggingface_hub/__pycache__/hf_file_system.cpython-312.pyc,, +huggingface_hub/__pycache__/hub_mixin.cpython-312.pyc,, +huggingface_hub/__pycache__/inference_api.cpython-312.pyc,, +huggingface_hub/__pycache__/keras_mixin.cpython-312.pyc,, +huggingface_hub/__pycache__/lfs.cpython-312.pyc,, +huggingface_hub/__pycache__/repocard.cpython-312.pyc,, +huggingface_hub/__pycache__/repocard_data.cpython-312.pyc,, +huggingface_hub/__pycache__/repository.cpython-312.pyc,, +huggingface_hub/_commit_api.py,sha256=LWwx0PmTHzh-gwO6-cl0GWTrSnzCy8tfZ8DDCxnfb7Y,27795 +huggingface_hub/_commit_scheduler.py,sha256=FgfjYv3E0oK3iBxDdy45Y7t78FWkmjnBR4dRd5aZviU,13653 +huggingface_hub/_inference_endpoints.py,sha256=FW36nfm9UNNnc6L6hyL2KLiItglPGcQuYJ6DA2w4Gp4,14929 +huggingface_hub/_login.py,sha256=8Y_OlSayd185u5lInGvY4zeYzBKaaaMBwTJl7MhIgSE,15325 +huggingface_hub/_multi_commits.py,sha256=xEiS4N8ZmIrrDxVGS93mA33VoVrbhlAp5T8M_XQTMiA,12518 +huggingface_hub/_snapshot_download.py,sha256=-0Kpp1gG1m2Slkbyj4GhvdOZeqzDTChqMQ1TGFHNjnA,15377 +huggingface_hub/_space_api.py,sha256=Kr1rRpbMVoUs51U52KFY_FQcMA9TEC7RDCKGB4nzGus,5116 +huggingface_hub/_tensorboard_logger.py,sha256=3W8eUS3jhZ3WyVG9Hi6rVwZC-jcCyRunBns5vIniGfA,7165 +huggingface_hub/_webhooks_payload.py,sha256=raqcWHIw98bsFvam5kkqiSEbDA8W0TU055ZlpmbUrWs,2831 +huggingface_hub/_webhooks_server.py,sha256=u3Kua_O4okXPgnH60GDIhJTDEEyIiVX6Go4CUNX4ifE,15196 +huggingface_hub/commands/__init__.py,sha256=AkbM2a-iGh0Vq_xAWhK3mu3uZ44km8-X5uWjKcvcrUQ,928 +huggingface_hub/commands/__pycache__/__init__.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/_cli_utils.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/delete_cache.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/download.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/env.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/huggingface_cli.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/lfs.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/scan_cache.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/upload.cpython-312.pyc,, +huggingface_hub/commands/__pycache__/user.cpython-312.pyc,, +huggingface_hub/commands/_cli_utils.py,sha256=VA_3cHzIlsEQmKPnfNTgJNI36UtcrxRmfB44RdbP1LA,1970 +huggingface_hub/commands/delete_cache.py,sha256=9Nn2ihdORPpkULkhAzju6aYar2rsa4laSE38rt8645I,16130 +huggingface_hub/commands/download.py,sha256=sthMmLQD3E0uybAlGoYt1Mpk_8w7r_im7FyDGJrZWyo,9161 +huggingface_hub/commands/env.py,sha256=LJjOxo-m0DrvQdyhWGjnLGtWt91ec63BMI4FQ-5bWXQ,1225 +huggingface_hub/commands/huggingface_cli.py,sha256=o862C98OcZoyqCzY7mNpia1h0KaLJUgSb0y10ot8sxA,1924 +huggingface_hub/commands/lfs.py,sha256=6E769AoRxUDiIOapn1_QvTbNtdUnUiouu2F4Gopp4do,7318 +huggingface_hub/commands/scan_cache.py,sha256=nMEJxBScezxs00EWyAvJtWCjhwxCL1YlBE6qNfiT3RY,5182 +huggingface_hub/commands/upload.py,sha256=vrac37T3sYwzaf6gpVR5qWzwh4fOhqakRvDUrLEx4Kg,13621 +huggingface_hub/commands/user.py,sha256=QApZJOCQEHADhjunM3hlQ72uqHsearCiCE4SdpzGdcc,6893 +huggingface_hub/community.py,sha256=SHc_LOZYSzCuk5aA73InLObrrnW-0MJuv2e63FXwg50,12202 +huggingface_hub/constants.py,sha256=fYBWYCLnyFOOldgN6a8E8PLmDVuGNdnKhfm5Qu8SLfE,7717 +huggingface_hub/fastai_utils.py,sha256=5I7zAfgHJU_mZnxnf9wgWTHrCRu_EAV8VTangDVfE_o,16676 +huggingface_hub/file_download.py,sha256=g97wMUn2yYAG8Xm8ZJevkqZSUyrQO_7-l18E6f_b_DE,75284 +huggingface_hub/hf_api.py,sha256=NDG8cEpM_3Z2DddirrNbCELY9sQxDiamgOajO6sUBck,356971 +huggingface_hub/hf_file_system.py,sha256=tTVDwh_60rpH_Iqvrf6mo_Z0ZhcY_4mHjxs1sQ6snrE,29535 +huggingface_hub/hub_mixin.py,sha256=yoOrifi6Vq7N8L_DjXYtltvdURrfbx1XEyt59wyAaXs,16099 +huggingface_hub/inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +huggingface_hub/inference/__pycache__/__init__.cpython-312.pyc,, +huggingface_hub/inference/__pycache__/_client.cpython-312.pyc,, +huggingface_hub/inference/__pycache__/_common.cpython-312.pyc,, +huggingface_hub/inference/__pycache__/_text_generation.cpython-312.pyc,, +huggingface_hub/inference/__pycache__/_types.cpython-312.pyc,, +huggingface_hub/inference/_client.py,sha256=hhJSPBmDw5dVw1LoH2255-pX4uwMo8vHSkrhB_m54xY,86559 +huggingface_hub/inference/_common.py,sha256=8GaagYW1hoSWjilWgMdbpJU4sK78l1RPKPBsvGHpXGU,11331 +huggingface_hub/inference/_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +huggingface_hub/inference/_generated/__pycache__/__init__.cpython-312.pyc,, +huggingface_hub/inference/_generated/__pycache__/_async_client.cpython-312.pyc,, +huggingface_hub/inference/_generated/_async_client.py,sha256=v6CRLNY2GJz1TCzlPQVvphmeJL_OZ6yfupG2fF_WmJg,89343 +huggingface_hub/inference/_text_generation.py,sha256=VGZ7bulJmUc2iXKDAr1zaArC3vgAktkfSdWWp9HzIR4,20349 +huggingface_hub/inference/_types.py,sha256=fRrORbJbZqCxZVQG4HK4Zx4xHwPej-Hppz_cb1wJ1I0,5664 +huggingface_hub/inference_api.py,sha256=UXOKu_Ez2I3hDsjguqCcCrj03WFDndehpngYiIAucdg,8331 +huggingface_hub/keras_mixin.py,sha256=fxVjwm742fwsLwbuNVt7Slo3KAjEX7sCcTudKnolPZM,18741 +huggingface_hub/lfs.py,sha256=CnXzAoDyGDSsNDN4b88-7hXhx1BFSsbFY6vGc3O2lRs,19122 +huggingface_hub/repocard.py,sha256=kJGupeVIE2eQqo4sOGrUWRf6vOdkKdQtryMdZKNxqoc,34257 +huggingface_hub/repocard_data.py,sha256=ESn22o1V5ynxwQp0JSxUSzSuWE9J0KBzj9FOEITNPCo,31077 +huggingface_hub/repository.py,sha256=8oNhKNvJRye3dr67cTn8faKkBSiWFgvj7bIBlOpI-8U,54489 +huggingface_hub/templates/datasetcard_template.md,sha256=tWvaTQhO3WkU9Igi8Odwb44my9oYKAakb2ArfnTn1AU,5502 +huggingface_hub/templates/modelcard_template.md,sha256=-z_riTFlcsX5pUja2FDd9ySGOkNy8vr6hroLct1hjJI,6874 +huggingface_hub/utils/__init__.py,sha256=1msx7YIf9N22P92k3rcpZel2zvLqs-TsAxylD9WDavo,3239 +huggingface_hub/utils/__pycache__/__init__.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_cache_assets.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_cache_manager.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_chunk_utils.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_datetime.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_deprecation.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_errors.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_experimental.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_fixes.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_git_credential.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_headers.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_hf_folder.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_http.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_pagination.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_paths.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_runtime.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_safetensors.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_subprocess.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_telemetry.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_token.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_typing.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/_validators.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/endpoint_helpers.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/insecure_hashlib.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/logging.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/sha.cpython-312.pyc,, +huggingface_hub/utils/__pycache__/tqdm.cpython-312.pyc,, +huggingface_hub/utils/_cache_assets.py,sha256=kai77HPQMfYpROouMBQCr_gdBCaeTm996Sqj0dExbNg,5728 +huggingface_hub/utils/_cache_manager.py,sha256=zRBo37DaHS6IDWyQ_53oCL4-U6p--inAGsC8DLtAQ_I,29103 +huggingface_hub/utils/_chunk_utils.py,sha256=6VRyjiGr2bPupPl1azSUTxKuJ51wdgELipwJ2YRfH5U,2129 +huggingface_hub/utils/_datetime.py,sha256=7pwXpJy2J4mNb4PwNxilYynvhPWMYX261pHiNbfUSEg,2918 +huggingface_hub/utils/_deprecation.py,sha256=HZhRGGUX_QMKBBBwHHlffLtmCSK01TOpeXHefZbPfwI,4872 +huggingface_hub/utils/_errors.py,sha256=nnvanhnSqX9nQ2LvOxNI38W5mYLYVYEQLhRr89LpQzc,13697 +huggingface_hub/utils/_experimental.py,sha256=rBx4gV2NU1dT_OfeRzsCmCWyIF4Wxcf0PdkmIASoT6o,2394 +huggingface_hub/utils/_fixes.py,sha256=wFvfTYj62Il2OwkQB_Qp0xONG6SARQ5oEkT3_FhB4rc,2437 +huggingface_hub/utils/_git_credential.py,sha256=NMfMmuqdub_QX3T2d32Jhpf3RBnf2eh4VnDhHoqyZRA,4595 +huggingface_hub/utils/_headers.py,sha256=wz0kPrpu9PHpeCIJAq8MBiHuR2HbNWGukd0QgWS6lWo,9344 +huggingface_hub/utils/_hf_folder.py,sha256=9FlyCbiMP-PuyR4MP8sh5wiYbphkCjP18sCma0P7XDw,4488 +huggingface_hub/utils/_http.py,sha256=qJ9wlsv-SU9L4Epr8FLHznY3COIcOrUUmGMjJXfrQvI,12889 +huggingface_hub/utils/_pagination.py,sha256=VfpmMLyNCRo24fw0o_yWysMK69d9M6sSg2-nWtuypO4,1840 +huggingface_hub/utils/_paths.py,sha256=nUaxXN-R2EcWfHE8ivFWfHqEKMIvXEdUeCGDC_QHMqc,4397 +huggingface_hub/utils/_runtime.py,sha256=6sMMfwixkJAJj7pqYAva9A1g3-MBNWenKtlvBB985aY,10186 +huggingface_hub/utils/_safetensors.py,sha256=EE9v9HflWBUqIegn0dCGHgNu9G9Db3v2aszvG4ldPF8,4876 +huggingface_hub/utils/_subprocess.py,sha256=LW9b8TWh9rsm3pW9_5b-mVV_AtYNyLXgC6e09SthkWI,4616 +huggingface_hub/utils/_telemetry.py,sha256=jHAdgWNcL9nVvMT3ec3i78O-cwL09GnlifuokzpQjMI,4641 +huggingface_hub/utils/_token.py,sha256=3DYRsV6z2byAg0rjuz7mFD2Q52qN2K2craVYEEXhMqo,4502 +huggingface_hub/utils/_typing.py,sha256=zTA0nTJAILGveXbJKyeh6u9uIagrFgPoRqr-uCEGDQI,921 +huggingface_hub/utils/_validators.py,sha256=3ZmHubjslDRwFYe1oKyaUw6DZrc3DsuV2gABPrx7PTw,9358 +huggingface_hub/utils/endpoint_helpers.py,sha256=reLS2ic6_BTe9RuZY5WLcd5dLjIWt5Klh5EHZ7XvHng,8533 +huggingface_hub/utils/insecure_hashlib.py,sha256=OjxlvtSQHpbLp9PWSrXBDJ0wHjxCBU-SQJgucEEXDbU,1058 +huggingface_hub/utils/logging.py,sha256=mARNwc5gY6apMQ9IM5zymn-RsYnFbYW3b0HDMYXmBS0,4729 +huggingface_hub/utils/sha.py,sha256=IVi7CfBthfu-ExLduY_CQltTy-tVGTbrvURCTOWKcLA,901 +huggingface_hub/utils/tqdm.py,sha256=zBWgoxxwHooOceABVREVqSNpJGcMpaByKFVDU8VbuUQ,6334 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/REQUESTED b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/REQUESTED new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/WHEEL b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/WHEEL new file mode 100644 index 0000000000000000000000000000000000000000..98c0d20b7a64f4f998d7913e1d38a05dba20916c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.42.0) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/entry_points.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..eb3dafd90f19de60b3e520aeaf8132402980214d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/entry_points.txt @@ -0,0 +1,6 @@ +[console_scripts] +huggingface-cli = huggingface_hub.commands.huggingface_cli:main + +[fsspec.specs] +hf=huggingface_hub.HfFileSystem + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/top_level.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/top_level.txt new file mode 100644 index 0000000000000000000000000000000000000000..6b964ccca3c1b6766042b3fe3b2707ba25372924 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub-0.20.1.dist-info/top_level.txt @@ -0,0 +1 @@ +huggingface_hub diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/fastai_utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/fastai_utils.py new file mode 100644 index 0000000000000000000000000000000000000000..e586e8663c39e8d5bab3f57f667dbd878514e59d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/fastai_utils.py @@ -0,0 +1,425 @@ +import json +import os +from pathlib import Path +from pickle import DEFAULT_PROTOCOL, PicklingError +from typing import Any, Dict, List, Optional, Union + +from packaging import version + +from huggingface_hub import snapshot_download +from huggingface_hub.constants import CONFIG_NAME +from huggingface_hub.hf_api import HfApi +from huggingface_hub.utils import ( + SoftTemporaryDirectory, + get_fastai_version, + get_fastcore_version, + get_python_version, +) + +from .utils import logging, validate_hf_hub_args +from .utils._runtime import _PY_VERSION # noqa: F401 # for backward compatibility... + + +logger = logging.get_logger(__name__) + + +def _check_fastai_fastcore_versions( + fastai_min_version: str = "2.4", + fastcore_min_version: str = "1.3.27", +): + """ + Checks that the installed fastai and fastcore versions are compatible for pickle serialization. + + Args: + fastai_min_version (`str`, *optional*): + The minimum fastai version supported. + fastcore_min_version (`str`, *optional*): + The minimum fastcore version supported. + + + Raises the following error: + + - [`ImportError`](https://docs.python.org/3/library/exceptions.html#ImportError) + if the fastai or fastcore libraries are not available or are of an invalid version. + + + """ + + if (get_fastcore_version() or get_fastai_version()) == "N/A": + raise ImportError( + f"fastai>={fastai_min_version} and fastcore>={fastcore_min_version} are" + f" required. Currently using fastai=={get_fastai_version()} and" + f" fastcore=={get_fastcore_version()}." + ) + + current_fastai_version = version.Version(get_fastai_version()) + current_fastcore_version = version.Version(get_fastcore_version()) + + if current_fastai_version < version.Version(fastai_min_version): + raise ImportError( + "`push_to_hub_fastai` and `from_pretrained_fastai` require a" + f" fastai>={fastai_min_version} version, but you are using fastai version" + f" {get_fastai_version()} which is incompatible. Upgrade with `pip install" + " fastai==2.5.6`." + ) + + if current_fastcore_version < version.Version(fastcore_min_version): + raise ImportError( + "`push_to_hub_fastai` and `from_pretrained_fastai` require a" + f" fastcore>={fastcore_min_version} version, but you are using fastcore" + f" version {get_fastcore_version()} which is incompatible. Upgrade with" + " `pip install fastcore==1.3.27`." + ) + + +def _check_fastai_fastcore_pyproject_versions( + storage_folder: str, + fastai_min_version: str = "2.4", + fastcore_min_version: str = "1.3.27", +): + """ + Checks that the `pyproject.toml` file in the directory `storage_folder` has fastai and fastcore versions + that are compatible with `from_pretrained_fastai` and `push_to_hub_fastai`. If `pyproject.toml` does not exist + or does not contain versions for fastai and fastcore, then it logs a warning. + + Args: + storage_folder (`str`): + Folder to look for the `pyproject.toml` file. + fastai_min_version (`str`, *optional*): + The minimum fastai version supported. + fastcore_min_version (`str`, *optional*): + The minimum fastcore version supported. + + + Raises the following errors: + + - [`ImportError`](https://docs.python.org/3/library/exceptions.html#ImportError) + if the `toml` module is not installed. + - [`ImportError`](https://docs.python.org/3/library/exceptions.html#ImportError) + if the `pyproject.toml` indicates a lower than minimum supported version of fastai or fastcore. + + + """ + + try: + import toml + except ModuleNotFoundError: + raise ImportError( + "`push_to_hub_fastai` and `from_pretrained_fastai` require the toml module." + " Install it with `pip install toml`." + ) + + # Checks that a `pyproject.toml`, with `build-system` and `requires` sections, exists in the repository. If so, get a list of required packages. + if not os.path.isfile(f"{storage_folder}/pyproject.toml"): + logger.warning( + "There is no `pyproject.toml` in the repository that contains the fastai" + " `Learner`. The `pyproject.toml` would allow us to verify that your fastai" + " and fastcore versions are compatible with those of the model you want to" + " load." + ) + return + pyproject_toml = toml.load(f"{storage_folder}/pyproject.toml") + + if "build-system" not in pyproject_toml.keys(): + logger.warning( + "There is no `build-system` section in the pyproject.toml of the repository" + " that contains the fastai `Learner`. The `build-system` would allow us to" + " verify that your fastai and fastcore versions are compatible with those" + " of the model you want to load." + ) + return + build_system_toml = pyproject_toml["build-system"] + + if "requires" not in build_system_toml.keys(): + logger.warning( + "There is no `requires` section in the pyproject.toml of the repository" + " that contains the fastai `Learner`. The `requires` would allow us to" + " verify that your fastai and fastcore versions are compatible with those" + " of the model you want to load." + ) + return + package_versions = build_system_toml["requires"] + + # Extracts contains fastai and fastcore versions from `pyproject.toml` if available. + # If the package is specified but not the version (e.g. "fastai" instead of "fastai=2.4"), the default versions are the highest. + fastai_packages = [pck for pck in package_versions if pck.startswith("fastai")] + if len(fastai_packages) == 0: + logger.warning("The repository does not have a fastai version specified in the `pyproject.toml`.") + # fastai_version is an empty string if not specified + else: + fastai_version = str(fastai_packages[0]).partition("=")[2] + if fastai_version != "" and version.Version(fastai_version) < version.Version(fastai_min_version): + raise ImportError( + "`from_pretrained_fastai` requires" + f" fastai>={fastai_min_version} version but the model to load uses" + f" {fastai_version} which is incompatible." + ) + + fastcore_packages = [pck for pck in package_versions if pck.startswith("fastcore")] + if len(fastcore_packages) == 0: + logger.warning("The repository does not have a fastcore version specified in the `pyproject.toml`.") + # fastcore_version is an empty string if not specified + else: + fastcore_version = str(fastcore_packages[0]).partition("=")[2] + if fastcore_version != "" and version.Version(fastcore_version) < version.Version(fastcore_min_version): + raise ImportError( + "`from_pretrained_fastai` requires" + f" fastcore>={fastcore_min_version} version, but you are using fastcore" + f" version {fastcore_version} which is incompatible." + ) + + +README_TEMPLATE = """--- +tags: +- fastai +--- + +# Amazing! + +🥳 Congratulations on hosting your fastai model on the Hugging Face Hub! + +# Some next steps +1. Fill out this model card with more information (see the template below and the [documentation here](https://huggingface.co/docs/hub/model-repos))! + +2. Create a demo in Gradio or Streamlit using 🤗 Spaces ([documentation here](https://huggingface.co/docs/hub/spaces)). + +3. Join the fastai community on the [Fastai Discord](https://discord.com/invite/YKrxeNn)! + +Greetings fellow fastlearner 🤝! Don't forget to delete this content from your model card. + + +--- + + +# Model card + +## Model description +More information needed + +## Intended uses & limitations +More information needed + +## Training and evaluation data +More information needed +""" + +PYPROJECT_TEMPLATE = f"""[build-system] +requires = ["setuptools>=40.8.0", "wheel", "python={get_python_version()}", "fastai={get_fastai_version()}", "fastcore={get_fastcore_version()}"] +build-backend = "setuptools.build_meta:__legacy__" +""" + + +def _create_model_card(repo_dir: Path): + """ + Creates a model card for the repository. + + Args: + repo_dir (`Path`): + Directory where model card is created. + """ + readme_path = repo_dir / "README.md" + + if not readme_path.exists(): + with readme_path.open("w", encoding="utf-8") as f: + f.write(README_TEMPLATE) + + +def _create_model_pyproject(repo_dir: Path): + """ + Creates a `pyproject.toml` for the repository. + + Args: + repo_dir (`Path`): + Directory where `pyproject.toml` is created. + """ + pyproject_path = repo_dir / "pyproject.toml" + + if not pyproject_path.exists(): + with pyproject_path.open("w", encoding="utf-8") as f: + f.write(PYPROJECT_TEMPLATE) + + +def _save_pretrained_fastai( + learner, + save_directory: Union[str, Path], + config: Optional[Dict[str, Any]] = None, +): + """ + Saves a fastai learner to `save_directory` in pickle format using the default pickle protocol for the version of python used. + + Args: + learner (`Learner`): + The `fastai.Learner` you'd like to save. + save_directory (`str` or `Path`): + Specific directory in which you want to save the fastai learner. + config (`dict`, *optional*): + Configuration object. Will be uploaded as a .json file. Example: 'https://huggingface.co/espejelomar/fastai-pet-breeds-classification/blob/main/config.json'. + + + + Raises the following error: + + - [`RuntimeError`](https://docs.python.org/3/library/exceptions.html#RuntimeError) + if the config file provided is not a dictionary. + + + """ + _check_fastai_fastcore_versions() + + os.makedirs(save_directory, exist_ok=True) + + # if the user provides config then we update it with the fastai and fastcore versions in CONFIG_TEMPLATE. + if config is not None: + if not isinstance(config, dict): + raise RuntimeError(f"Provided config should be a dict. Got: '{type(config)}'") + path = os.path.join(save_directory, CONFIG_NAME) + with open(path, "w") as f: + json.dump(config, f) + + _create_model_card(Path(save_directory)) + _create_model_pyproject(Path(save_directory)) + + # learner.export saves the model in `self.path`. + learner.path = Path(save_directory) + os.makedirs(save_directory, exist_ok=True) + try: + learner.export( + fname="model.pkl", + pickle_protocol=DEFAULT_PROTOCOL, + ) + except PicklingError: + raise PicklingError( + "You are using a lambda function, i.e., an anonymous function. `pickle`" + " cannot pickle function objects and requires that all functions have" + " names. One possible solution is to name the function." + ) + + +@validate_hf_hub_args +def from_pretrained_fastai( + repo_id: str, + revision: Optional[str] = None, +): + """ + Load pretrained fastai model from the Hub or from a local directory. + + Args: + repo_id (`str`): + The location where the pickled fastai.Learner is. It can be either of the two: + - Hosted on the Hugging Face Hub. E.g.: 'espejelomar/fatai-pet-breeds-classification' or 'distilgpt2'. + You can add a `revision` by appending `@` at the end of `repo_id`. E.g.: `dbmdz/bert-base-german-cased@main`. + Revision is the specific model version to use. Since we use a git-based system for storing models and other + artifacts on the Hugging Face Hub, it can be a branch name, a tag name, or a commit id. + - Hosted locally. `repo_id` would be a directory containing the pickle and a pyproject.toml + indicating the fastai and fastcore versions used to build the `fastai.Learner`. E.g.: `./my_model_directory/`. + revision (`str`, *optional*): + Revision at which the repo's files are downloaded. See documentation of `snapshot_download`. + + Returns: + The `fastai.Learner` model in the `repo_id` repo. + """ + _check_fastai_fastcore_versions() + + # Load the `repo_id` repo. + # `snapshot_download` returns the folder where the model was stored. + # `cache_dir` will be the default '/root/.cache/huggingface/hub' + if not os.path.isdir(repo_id): + storage_folder = snapshot_download( + repo_id=repo_id, + revision=revision, + library_name="fastai", + library_version=get_fastai_version(), + ) + else: + storage_folder = repo_id + + _check_fastai_fastcore_pyproject_versions(storage_folder) + + from fastai.learner import load_learner # type: ignore + + return load_learner(os.path.join(storage_folder, "model.pkl")) + + +@validate_hf_hub_args +def push_to_hub_fastai( + learner, + *, + repo_id: str, + commit_message: str = "Push FastAI model using huggingface_hub.", + private: bool = False, + token: Optional[str] = None, + config: Optional[dict] = None, + branch: Optional[str] = None, + create_pr: Optional[bool] = None, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + delete_patterns: Optional[Union[List[str], str]] = None, + api_endpoint: Optional[str] = None, +): + """ + Upload learner checkpoint files to the Hub. + + Use `allow_patterns` and `ignore_patterns` to precisely filter which files should be pushed to the hub. Use + `delete_patterns` to delete existing remote files in the same commit. See [`upload_folder`] reference for more + details. + + Args: + learner (`Learner`): + The `fastai.Learner' you'd like to push to the Hub. + repo_id (`str`): + The repository id for your model in Hub in the format of "namespace/repo_name". The namespace can be your individual account or an organization to which you have write access (for example, 'stanfordnlp/stanza-de'). + commit_message (`str`, *optional*): + Message to commit while pushing. Will default to :obj:`"add model"`. + private (`bool`, *optional*, defaults to `False`): + Whether or not the repository created should be private. + token (`str`, *optional*): + The Hugging Face account token to use as HTTP bearer authorization for remote files. If :obj:`None`, the token will be asked by a prompt. + config (`dict`, *optional*): + Configuration object to be saved alongside the model weights. + branch (`str`, *optional*): + The git branch on which to push the model. This defaults to + the default branch as specified in your repository, which + defaults to `"main"`. + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request from `branch` with that commit. + Defaults to `False`. + api_endpoint (`str`, *optional*): + The API endpoint to use when pushing the model to the hub. + allow_patterns (`List[str]` or `str`, *optional*): + If provided, only files matching at least one pattern are pushed. + ignore_patterns (`List[str]` or `str`, *optional*): + If provided, files matching any of the patterns are not pushed. + delete_patterns (`List[str]` or `str`, *optional*): + If provided, remote files matching any of the patterns will be deleted from the repo. + + Returns: + The url of the commit of your model in the given repository. + + + + Raises the following error: + + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if the user is not log on to the Hugging Face Hub. + + + """ + _check_fastai_fastcore_versions() + api = HfApi(endpoint=api_endpoint) + repo_id = api.create_repo(repo_id=repo_id, token=token, private=private, exist_ok=True).repo_id + + # Push the files to the repo in a single commit + with SoftTemporaryDirectory() as tmp: + saved_path = Path(tmp) / repo_id + _save_pretrained_fastai(learner, saved_path, config=config) + return api.upload_folder( + repo_id=repo_id, + token=token, + folder_path=saved_path, + commit_message=commit_message, + revision=branch, + create_pr=create_pr, + allow_patterns=allow_patterns, + ignore_patterns=ignore_patterns, + delete_patterns=delete_patterns, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/file_download.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/file_download.py new file mode 100644 index 0000000000000000000000000000000000000000..169211736c4ea190a59638e362475cf720b97816 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/file_download.py @@ -0,0 +1,1727 @@ +import copy +import fnmatch +import inspect +import io +import json +import os +import re +import shutil +import stat +import tempfile +import time +import uuid +import warnings +from contextlib import contextmanager +from dataclasses import dataclass +from functools import partial +from pathlib import Path +from typing import Any, BinaryIO, Dict, Generator, Literal, Optional, Tuple, Union +from urllib.parse import quote, urlparse + +import requests +from filelock import FileLock + +from huggingface_hub import constants + +from . import __version__ # noqa: F401 # for backward compatibility +from .constants import ( + DEFAULT_ETAG_TIMEOUT, + DEFAULT_REQUEST_TIMEOUT, + DEFAULT_REVISION, + DOWNLOAD_CHUNK_SIZE, + ENDPOINT, + HF_HUB_CACHE, + HF_HUB_DISABLE_SYMLINKS_WARNING, + HF_HUB_DOWNLOAD_TIMEOUT, + HF_HUB_ENABLE_HF_TRANSFER, + HF_HUB_ETAG_TIMEOUT, + HF_TRANSFER_CONCURRENCY, + HUGGINGFACE_CO_URL_TEMPLATE, + HUGGINGFACE_HEADER_X_LINKED_ETAG, + HUGGINGFACE_HEADER_X_LINKED_SIZE, + HUGGINGFACE_HEADER_X_REPO_COMMIT, + HUGGINGFACE_HUB_CACHE, # noqa: F401 # for backward compatibility + REPO_ID_SEPARATOR, + REPO_TYPES, + REPO_TYPES_URL_PREFIXES, +) +from .utils import ( + EntryNotFoundError, + FileMetadataError, + GatedRepoError, + LocalEntryNotFoundError, + OfflineModeIsEnabled, + RepositoryNotFoundError, + RevisionNotFoundError, + SoftTemporaryDirectory, + build_hf_headers, + get_fastai_version, # noqa: F401 # for backward compatibility + get_fastcore_version, # noqa: F401 # for backward compatibility + get_graphviz_version, # noqa: F401 # for backward compatibility + get_jinja_version, # noqa: F401 # for backward compatibility + get_pydot_version, # noqa: F401 # for backward compatibility + get_session, + get_tf_version, # noqa: F401 # for backward compatibility + get_torch_version, # noqa: F401 # for backward compatibility + hf_raise_for_status, + is_fastai_available, # noqa: F401 # for backward compatibility + is_fastcore_available, # noqa: F401 # for backward compatibility + is_graphviz_available, # noqa: F401 # for backward compatibility + is_jinja_available, # noqa: F401 # for backward compatibility + is_pydot_available, # noqa: F401 # for backward compatibility + is_tf_available, # noqa: F401 # for backward compatibility + is_torch_available, # noqa: F401 # for backward compatibility + logging, + reset_sessions, + tqdm, + validate_hf_hub_args, +) +from .utils._deprecation import _deprecate_method +from .utils._headers import _http_user_agent +from .utils._runtime import _PY_VERSION # noqa: F401 # for backward compatibility +from .utils._typing import HTTP_METHOD_T +from .utils.insecure_hashlib import sha256 + + +logger = logging.get_logger(__name__) + +# Regex to get filename from a "Content-Disposition" header for CDN-served files +HEADER_FILENAME_PATTERN = re.compile(r'filename="(?P.*?)";') + + +_are_symlinks_supported_in_dir: Dict[str, bool] = {} + + +def are_symlinks_supported(cache_dir: Union[str, Path, None] = None) -> bool: + """Return whether the symlinks are supported on the machine. + + Since symlinks support can change depending on the mounted disk, we need to check + on the precise cache folder. By default, the default HF cache directory is checked. + + Args: + cache_dir (`str`, `Path`, *optional*): + Path to the folder where cached files are stored. + + Returns: [bool] Whether symlinks are supported in the directory. + """ + # Defaults to HF cache + if cache_dir is None: + cache_dir = HF_HUB_CACHE + cache_dir = str(Path(cache_dir).expanduser().resolve()) # make it unique + + # Check symlink compatibility only once (per cache directory) at first time use + if cache_dir not in _are_symlinks_supported_in_dir: + _are_symlinks_supported_in_dir[cache_dir] = True + + os.makedirs(cache_dir, exist_ok=True) + with SoftTemporaryDirectory(dir=cache_dir) as tmpdir: + src_path = Path(tmpdir) / "dummy_file_src" + src_path.touch() + dst_path = Path(tmpdir) / "dummy_file_dst" + + # Relative source path as in `_create_symlink`` + relative_src = os.path.relpath(src_path, start=os.path.dirname(dst_path)) + try: + os.symlink(relative_src, dst_path) + except OSError: + # Likely running on Windows + _are_symlinks_supported_in_dir[cache_dir] = False + + if not HF_HUB_DISABLE_SYMLINKS_WARNING: + message = ( + "`huggingface_hub` cache-system uses symlinks by default to" + " efficiently store duplicated files but your machine does not" + f" support them in {cache_dir}. Caching files will still work" + " but in a degraded version that might require more space on" + " your disk. This warning can be disabled by setting the" + " `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For" + " more details, see" + " https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations." + ) + if os.name == "nt": + message += ( + "\nTo support symlinks on Windows, you either need to" + " activate Developer Mode or to run Python as an" + " administrator. In order to see activate developer mode," + " see this article:" + " https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development" + ) + warnings.warn(message) + + return _are_symlinks_supported_in_dir[cache_dir] + + +# Return value when trying to load a file from cache but the file does not exist in the distant repo. +_CACHED_NO_EXIST = object() +_CACHED_NO_EXIST_T = Any +REGEX_COMMIT_HASH = re.compile(r"^[0-9a-f]{40}$") + + +@dataclass(frozen=True) +class HfFileMetadata: + """Data structure containing information about a file versioned on the Hub. + + Returned by [`get_hf_file_metadata`] based on a URL. + + Args: + commit_hash (`str`, *optional*): + The commit_hash related to the file. + etag (`str`, *optional*): + Etag of the file on the server. + location (`str`): + Location where to download the file. Can be a Hub url or not (CDN). + size (`size`): + Size of the file. In case of an LFS file, contains the size of the actual + LFS file, not the pointer. + """ + + commit_hash: Optional[str] + etag: Optional[str] + location: str + size: Optional[int] + + +@validate_hf_hub_args +def hf_hub_url( + repo_id: str, + filename: str, + *, + subfolder: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + endpoint: Optional[str] = None, +) -> str: + """Construct the URL of a file from the given information. + + The resolved address can either be a huggingface.co-hosted url, or a link to + Cloudfront (a Content Delivery Network, or CDN) for large files which are + more than a few MBs. + + Args: + repo_id (`str`): + A namespace (user or an organization) name and a repo name separated + by a `/`. + filename (`str`): + The name of the file in the repo. + subfolder (`str`, *optional*): + An optional value corresponding to a folder inside the repo. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if downloading from a dataset or space, + `None` or `"model"` if downloading from a model. Default is `None`. + revision (`str`, *optional*): + An optional Git revision id which can be a branch name, a tag, or a + commit hash. + + Example: + + ```python + >>> from huggingface_hub import hf_hub_url + + >>> hf_hub_url( + ... repo_id="julien-c/EsperBERTo-small", filename="pytorch_model.bin" + ... ) + 'https://huggingface.co/julien-c/EsperBERTo-small/resolve/main/pytorch_model.bin' + ``` + + + + Notes: + + Cloudfront is replicated over the globe so downloads are way faster for + the end user (and it also lowers our bandwidth costs). + + Cloudfront aggressively caches files by default (default TTL is 24 + hours), however this is not an issue here because we implement a + git-based versioning system on huggingface.co, which means that we store + the files on S3/Cloudfront in a content-addressable way (i.e., the file + name is its hash). Using content-addressable filenames means cache can't + ever be stale. + + In terms of client-side caching from this library, we base our caching + on the objects' entity tag (`ETag`), which is an identifier of a + specific version of a resource [1]_. An object's ETag is: its git-sha1 + if stored in git, or its sha256 if stored in git-lfs. + + + + References: + + - [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag + """ + if subfolder == "": + subfolder = None + if subfolder is not None: + filename = f"{subfolder}/{filename}" + + if repo_type not in REPO_TYPES: + raise ValueError("Invalid repo type") + + if repo_type in REPO_TYPES_URL_PREFIXES: + repo_id = REPO_TYPES_URL_PREFIXES[repo_type] + repo_id + + if revision is None: + revision = DEFAULT_REVISION + url = HUGGINGFACE_CO_URL_TEMPLATE.format( + repo_id=repo_id, revision=quote(revision, safe=""), filename=quote(filename) + ) + # Update endpoint if provided + if endpoint is not None and url.startswith(ENDPOINT): + url = endpoint + url[len(ENDPOINT) :] + return url + + +def url_to_filename(url: str, etag: Optional[str] = None) -> str: + """Generate a local filename from a url. + + Convert `url` into a hashed filename in a reproducible way. If `etag` is + specified, append its hash to the url's, delimited by a period. If the url + ends with .h5 (Keras HDF5 weights) adds '.h5' to the name so that TF 2.0 can + identify it as a HDF5 file (see + https://github.com/tensorflow/tensorflow/blob/00fad90125b18b80fe054de1055770cfb8fe4ba3/tensorflow/python/keras/engine/network.py#L1380) + + Args: + url (`str`): + The address to the file. + etag (`str`, *optional*): + The ETag of the file. + + Returns: + The generated filename. + """ + url_bytes = url.encode("utf-8") + filename = sha256(url_bytes).hexdigest() + + if etag: + etag_bytes = etag.encode("utf-8") + filename += "." + sha256(etag_bytes).hexdigest() + + if url.endswith(".h5"): + filename += ".h5" + + return filename + + +def filename_to_url( + filename, + cache_dir: Optional[str] = None, + legacy_cache_layout: bool = False, +) -> Tuple[str, str]: + """ + Return the url and etag (which may be `None`) stored for `filename`. Raise + `EnvironmentError` if `filename` or its stored metadata do not exist. + + Args: + filename (`str`): + The name of the file + cache_dir (`str`, *optional*): + The cache directory to use instead of the default one. + legacy_cache_layout (`bool`, *optional*, defaults to `False`): + If `True`, uses the legacy file cache layout i.e. just call `hf_hub_url` + then `cached_download`. This is deprecated as the new cache layout is + more powerful. + """ + if not legacy_cache_layout: + warnings.warn( + "`filename_to_url` uses the legacy way cache file layout", + FutureWarning, + ) + + if cache_dir is None: + cache_dir = HF_HUB_CACHE + if isinstance(cache_dir, Path): + cache_dir = str(cache_dir) + + cache_path = os.path.join(cache_dir, filename) + if not os.path.exists(cache_path): + raise EnvironmentError(f"file {cache_path} not found") + + meta_path = cache_path + ".json" + if not os.path.exists(meta_path): + raise EnvironmentError(f"file {meta_path} not found") + + with open(meta_path, encoding="utf-8") as meta_file: + metadata = json.load(meta_file) + url = metadata["url"] + etag = metadata["etag"] + + return url, etag + + +@_deprecate_method(version="0.22.0", message="Use `huggingface_hub.utils.build_hf_headers` instead.") +def http_user_agent( + *, + library_name: Optional[str] = None, + library_version: Optional[str] = None, + user_agent: Union[Dict, str, None] = None, +) -> str: + """Deprecated in favor of [`build_hf_headers`].""" + return _http_user_agent( + library_name=library_name, + library_version=library_version, + user_agent=user_agent, + ) + + +def _request_wrapper( + method: HTTP_METHOD_T, url: str, *, follow_relative_redirects: bool = False, **params +) -> requests.Response: + """Wrapper around requests methods to follow relative redirects if `follow_relative_redirects=True` even when + `allow_redirection=False`. + + Args: + method (`str`): + HTTP method, such as 'GET' or 'HEAD'. + url (`str`): + The URL of the resource to fetch. + follow_relative_redirects (`bool`, *optional*, defaults to `False`) + If True, relative redirection (redirection to the same site) will be resolved even when `allow_redirection` + kwarg is set to False. Useful when we want to follow a redirection to a renamed repository without + following redirection to a CDN. + **params (`dict`, *optional*): + Params to pass to `requests.request`. + """ + # Recursively follow relative redirects + if follow_relative_redirects: + response = _request_wrapper( + method=method, + url=url, + follow_relative_redirects=False, + **params, + ) + + # If redirection, we redirect only relative paths. + # This is useful in case of a renamed repository. + if 300 <= response.status_code <= 399: + parsed_target = urlparse(response.headers["Location"]) + if parsed_target.netloc == "": + # This means it is a relative 'location' headers, as allowed by RFC 7231. + # (e.g. '/path/to/resource' instead of 'http://domain.tld/path/to/resource') + # We want to follow this relative redirect ! + # + # Highly inspired by `resolve_redirects` from requests library. + # See https://github.com/psf/requests/blob/main/requests/sessions.py#L159 + next_url = urlparse(url)._replace(path=parsed_target.path).geturl() + return _request_wrapper(method=method, url=next_url, follow_relative_redirects=True, **params) + return response + + # Perform request and return if status_code is not in the retry list. + response = get_session().request(method=method, url=url, **params) + hf_raise_for_status(response) + return response + + +def http_get( + url: str, + temp_file: BinaryIO, + *, + proxies=None, + resume_size: float = 0, + headers: Optional[Dict[str, str]] = None, + expected_size: Optional[int] = None, + _nb_retries: int = 5, +): + """ + Download a remote file. Do not gobble up errors, and will return errors tailored to the Hugging Face Hub. + + If ConnectionError (SSLError) or ReadTimeout happen while streaming data from the server, it is most likely a + transient error (network outage?). We log a warning message and try to resume the download a few times before + giving up. The method gives up after 5 attempts if no new data has being received from the server. + """ + hf_transfer = None + if HF_HUB_ENABLE_HF_TRANSFER: + if resume_size != 0: + warnings.warn("'hf_transfer' does not support `resume_size`: falling back to regular download method") + elif proxies is not None: + warnings.warn("'hf_transfer' does not support `proxies`: falling back to regular download method") + else: + try: + import hf_transfer # type: ignore[no-redef] + except ImportError: + raise ValueError( + "Fast download using 'hf_transfer' is enabled" + " (HF_HUB_ENABLE_HF_TRANSFER=1) but 'hf_transfer' package is not" + " available in your environment. Try `pip install hf_transfer`." + ) + + initial_headers = headers + headers = copy.deepcopy(headers) or {} + if resume_size > 0: + headers["Range"] = "bytes=%d-" % (resume_size,) + + r = _request_wrapper( + method="GET", url=url, stream=True, proxies=proxies, headers=headers, timeout=HF_HUB_DOWNLOAD_TIMEOUT + ) + hf_raise_for_status(r) + content_length = r.headers.get("Content-Length") + + # NOTE: 'total' is the total number of bytes to download, not the number of bytes in the file. + # If the file is compressed, the number of bytes in the saved file will be higher than 'total'. + total = resume_size + int(content_length) if content_length is not None else None + + displayed_name = url + content_disposition = r.headers.get("Content-Disposition") + if content_disposition is not None: + match = HEADER_FILENAME_PATTERN.search(content_disposition) + if match is not None: + # Means file is on CDN + displayed_name = match.groupdict()["filename"] + + # Truncate filename if too long to display + if len(displayed_name) > 40: + displayed_name = f"(…){displayed_name[-40:]}" + + consistency_error_message = ( + f"Consistency check failed: file should be of size {expected_size} but has size" + f" {{actual_size}} ({displayed_name}).\nWe are sorry for the inconvenience. Please retry download and" + " pass `force_download=True, resume_download=False` as argument.\nIf the issue persists, please let us" + " know by opening an issue on https://github.com/huggingface/huggingface_hub." + ) + + # Stream file to buffer + with tqdm( + unit="B", + unit_scale=True, + total=total, + initial=resume_size, + desc=displayed_name, + disable=bool(logger.getEffectiveLevel() == logging.NOTSET), + ) as progress: + if hf_transfer and total is not None and total > 5 * DOWNLOAD_CHUNK_SIZE: + supports_callback = "callback" in inspect.signature(hf_transfer.download).parameters + if not supports_callback: + warnings.warn( + "You are using an outdated version of `hf_transfer`. " + "Consider upgrading to latest version to enable progress bars " + "using `pip install -U hf_transfer`." + ) + try: + hf_transfer.download( + url=url, + filename=temp_file.name, + max_files=HF_TRANSFER_CONCURRENCY, + chunk_size=DOWNLOAD_CHUNK_SIZE, + headers=headers, + parallel_failures=3, + max_retries=5, + **({"callback": progress.update} if supports_callback else {}), + ) + except Exception as e: + raise RuntimeError( + "An error occurred while downloading using `hf_transfer`. Consider" + " disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling." + ) from e + if not supports_callback: + progress.update(total) + if expected_size is not None and expected_size != os.path.getsize(temp_file.name): + raise EnvironmentError( + consistency_error_message.format( + actual_size=os.path.getsize(temp_file.name), + ) + ) + return + new_resume_size = resume_size + try: + for chunk in r.iter_content(chunk_size=DOWNLOAD_CHUNK_SIZE): + if chunk: # filter out keep-alive new chunks + progress.update(len(chunk)) + temp_file.write(chunk) + new_resume_size += len(chunk) + # Some data has been downloaded from the server so we reset the number of retries. + _nb_retries = 5 + except (requests.ConnectionError, requests.ReadTimeout) as e: + # If ConnectionError (SSLError) or ReadTimeout happen while streaming data from the server, it is most likely + # a transient error (network outage?). We log a warning message and try to resume the download a few times + # before giving up. Tre retry mechanism is basic but should be enough in most cases. + if _nb_retries <= 0: + logger.warning("Error while downloading from %s: %s\nMax retries exceeded.", url, str(e)) + raise + logger.warning("Error while downloading from %s: %s\nTrying to resume download...", url, str(e)) + time.sleep(1) + reset_sessions() # In case of SSLError it's best to reset the shared requests.Session objects + return http_get( + url=url, + temp_file=temp_file, + proxies=proxies, + resume_size=new_resume_size, + headers=initial_headers, + expected_size=expected_size, + _nb_retries=_nb_retries - 1, + ) + + if expected_size is not None and expected_size != temp_file.tell(): + raise EnvironmentError( + consistency_error_message.format( + actual_size=temp_file.tell(), + ) + ) + + +@validate_hf_hub_args +def cached_download( + url: str, + *, + library_name: Optional[str] = None, + library_version: Optional[str] = None, + cache_dir: Union[str, Path, None] = None, + user_agent: Union[Dict, str, None] = None, + force_download: bool = False, + force_filename: Optional[str] = None, + proxies: Optional[Dict] = None, + etag_timeout: float = DEFAULT_ETAG_TIMEOUT, + resume_download: bool = False, + token: Union[bool, str, None] = None, + local_files_only: bool = False, + legacy_cache_layout: bool = False, +) -> str: + """ + Download from a given URL and cache it if it's not already present in the + local cache. + + Given a URL, this function looks for the corresponding file in the local + cache. If it's not there, download it. Then return the path to the cached + file. + + Will raise errors tailored to the Hugging Face Hub. + + Args: + url (`str`): + The path to the file to be downloaded. + library_name (`str`, *optional*): + The name of the library to which the object corresponds. + library_version (`str`, *optional*): + The version of the library. + cache_dir (`str`, `Path`, *optional*): + Path to the folder where cached files are stored. + user_agent (`dict`, `str`, *optional*): + The user-agent info in the form of a dictionary or a string. + force_download (`bool`, *optional*, defaults to `False`): + Whether the file should be downloaded even if it already exists in + the local cache. + force_filename (`str`, *optional*): + Use this name instead of a generated file name. + proxies (`dict`, *optional*): + Dictionary mapping protocol to the URL of the proxy passed to + `requests.request`. + etag_timeout (`float`, *optional* defaults to `10`): + When fetching ETag, how many seconds to wait for the server to send + data before giving up which is passed to `requests.request`. + resume_download (`bool`, *optional*, defaults to `False`): + If `True`, resume a previously interrupted download. + token (`bool`, `str`, *optional*): + A token to be used for the download. + - If `True`, the token is read from the HuggingFace config + folder. + - If a string, it's used as the authentication token. + local_files_only (`bool`, *optional*, defaults to `False`): + If `True`, avoid downloading the file and return the path to the + local cached file if it exists. + legacy_cache_layout (`bool`, *optional*, defaults to `False`): + Set this parameter to `True` to mention that you'd like to continue + the old cache layout. Putting this to `True` manually will not raise + any warning when using `cached_download`. We recommend using + `hf_hub_download` to take advantage of the new cache. + + Returns: + Local path (string) of file or if networking is off, last version of + file cached on disk. + + + + Raises the following errors: + + - [`EnvironmentError`](https://docs.python.org/3/library/exceptions.html#EnvironmentError) + if `token=True` and the token cannot be found. + - [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError) + if ETag cannot be determined. + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + - [`~utils.EntryNotFoundError`] + If the file to download cannot be found. + - [`~utils.LocalEntryNotFoundError`] + If network is disabled or unavailable and file is not found in cache. + + + """ + if HF_HUB_ETAG_TIMEOUT != DEFAULT_ETAG_TIMEOUT: + # Respect environment variable above user value + etag_timeout = HF_HUB_ETAG_TIMEOUT + + if not legacy_cache_layout: + warnings.warn( + "'cached_download' is the legacy way to download files from the HF hub, please consider upgrading to" + " 'hf_hub_download'", + FutureWarning, + ) + + if cache_dir is None: + cache_dir = HF_HUB_CACHE + if isinstance(cache_dir, Path): + cache_dir = str(cache_dir) + + os.makedirs(cache_dir, exist_ok=True) + + headers = build_hf_headers( + token=token, + library_name=library_name, + library_version=library_version, + user_agent=user_agent, + ) + + url_to_download = url + etag = None + expected_size = None + if not local_files_only: + try: + # Temporary header: we want the full (decompressed) content size returned to be able to check the + # downloaded file size + headers["Accept-Encoding"] = "identity" + r = _request_wrapper( + method="HEAD", + url=url, + headers=headers, + allow_redirects=False, + follow_relative_redirects=True, + proxies=proxies, + timeout=etag_timeout, + ) + headers.pop("Accept-Encoding", None) + hf_raise_for_status(r) + etag = r.headers.get(HUGGINGFACE_HEADER_X_LINKED_ETAG) or r.headers.get("ETag") + # We favor a custom header indicating the etag of the linked resource, and + # we fallback to the regular etag header. + # If we don't have any of those, raise an error. + if etag is None: + raise FileMetadataError( + "Distant resource does not have an ETag, we won't be able to reliably ensure reproducibility." + ) + # We get the expected size of the file, to check the download went well. + expected_size = _int_or_none(r.headers.get("Content-Length")) + # In case of a redirect, save an extra redirect on the request.get call, + # and ensure we download the exact atomic version even if it changed + # between the HEAD and the GET (unlikely, but hey). + # Useful for lfs blobs that are stored on a CDN. + if 300 <= r.status_code <= 399: + url_to_download = r.headers["Location"] + headers.pop("authorization", None) + expected_size = None # redirected -> can't know the expected size + except (requests.exceptions.SSLError, requests.exceptions.ProxyError): + # Actually raise for those subclasses of ConnectionError + raise + except ( + requests.exceptions.ConnectionError, + requests.exceptions.Timeout, + OfflineModeIsEnabled, + ): + # Otherwise, our Internet connection is down. + # etag is None + pass + + filename = force_filename if force_filename is not None else url_to_filename(url, etag) + + # get cache path to put the file + cache_path = os.path.join(cache_dir, filename) + + # etag is None == we don't have a connection or we passed local_files_only. + # try to get the last downloaded one + if etag is None: + if os.path.exists(cache_path) and not force_download: + return cache_path + else: + matching_files = [ + file + for file in fnmatch.filter(os.listdir(cache_dir), filename.split(".")[0] + ".*") + if not file.endswith(".json") and not file.endswith(".lock") + ] + if len(matching_files) > 0 and not force_download and force_filename is None: + return os.path.join(cache_dir, matching_files[-1]) + else: + # If files cannot be found and local_files_only=True, + # the models might've been found if local_files_only=False + # Notify the user about that + if local_files_only: + raise LocalEntryNotFoundError( + "Cannot find the requested files in the cached path and" + " outgoing traffic has been disabled. To enable model look-ups" + " and downloads online, set 'local_files_only' to False." + ) + else: + raise LocalEntryNotFoundError( + "Connection error, and we cannot find the requested files in" + " the cached path. Please try again or make sure your Internet" + " connection is on." + ) + + # From now on, etag is not None. + if os.path.exists(cache_path) and not force_download: + return cache_path + + # Prevent parallel downloads of the same file with a lock. + lock_path = cache_path + ".lock" + + # Some Windows versions do not allow for paths longer than 255 characters. + # In this case, we must specify it is an extended path by using the "\\?\" prefix. + if os.name == "nt" and len(os.path.abspath(lock_path)) > 255: + lock_path = "\\\\?\\" + os.path.abspath(lock_path) + + if os.name == "nt" and len(os.path.abspath(cache_path)) > 255: + cache_path = "\\\\?\\" + os.path.abspath(cache_path) + + with FileLock(lock_path): + # If the download just completed while the lock was activated. + if os.path.exists(cache_path) and not force_download: + # Even if returning early like here, the lock will be released. + return cache_path + + if resume_download: + incomplete_path = cache_path + ".incomplete" + + @contextmanager + def _resumable_file_manager() -> Generator[io.BufferedWriter, None, None]: + with open(incomplete_path, "ab") as f: + yield f + + temp_file_manager = _resumable_file_manager + if os.path.exists(incomplete_path): + resume_size = os.stat(incomplete_path).st_size + else: + resume_size = 0 + else: + temp_file_manager = partial( # type: ignore + tempfile.NamedTemporaryFile, mode="wb", dir=cache_dir, delete=False + ) + resume_size = 0 + + # Download to temporary file, then copy to cache dir once finished. + # Otherwise you get corrupt cache entries if the download gets interrupted. + with temp_file_manager() as temp_file: + logger.info("downloading %s to %s", url, temp_file.name) + + http_get( + url_to_download, + temp_file, + proxies=proxies, + resume_size=resume_size, + headers=headers, + expected_size=expected_size, + ) + + logger.info("storing %s in cache at %s", url, cache_path) + _chmod_and_replace(temp_file.name, cache_path) + + if force_filename is None: + logger.info("creating metadata file for %s", cache_path) + meta = {"url": url, "etag": etag} + meta_path = cache_path + ".json" + with open(meta_path, "w") as meta_file: + json.dump(meta, meta_file) + + return cache_path + + +def _normalize_etag(etag: Optional[str]) -> Optional[str]: + """Normalize ETag HTTP header, so it can be used to create nice filepaths. + + The HTTP spec allows two forms of ETag: + ETag: W/"" + ETag: "" + + For now, we only expect the second form from the server, but we want to be future-proof so we support both. For + more context, see `TestNormalizeEtag` tests and https://github.com/huggingface/huggingface_hub/pull/1428. + + Args: + etag (`str`, *optional*): HTTP header + + Returns: + `str` or `None`: string that can be used as a nice directory name. + Returns `None` if input is None. + """ + if etag is None: + return None + return etag.lstrip("W/").strip('"') + + +def _create_relative_symlink(src: str, dst: str, new_blob: bool = False) -> None: + """Alias method used in `transformers` conversion script.""" + return _create_symlink(src=src, dst=dst, new_blob=new_blob) + + +def _create_symlink(src: str, dst: str, new_blob: bool = False) -> None: + """Create a symbolic link named dst pointing to src. + + By default, it will try to create a symlink using a relative path. Relative paths have 2 advantages: + - If the cache_folder is moved (example: back-up on a shared drive), relative paths within the cache folder will + not brake. + - Relative paths seems to be better handled on Windows. Issue was reported 3 times in less than a week when + changing from relative to absolute paths. See https://github.com/huggingface/huggingface_hub/issues/1398, + https://github.com/huggingface/diffusers/issues/2729 and https://github.com/huggingface/transformers/pull/22228. + NOTE: The issue with absolute paths doesn't happen on admin mode. + When creating a symlink from the cache to a local folder, it is possible that a relative path cannot be created. + This happens when paths are not on the same volume. In that case, we use absolute paths. + + + The result layout looks something like + └── [ 128] snapshots + ├── [ 128] 2439f60ef33a0d46d85da5001d52aeda5b00ce9f + │ ├── [ 52] README.md -> ../../../blobs/d7edf6bd2a681fb0175f7735299831ee1b22b812 + │ └── [ 76] pytorch_model.bin -> ../../../blobs/403450e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd + + If symlinks cannot be created on this platform (most likely to be Windows), the workaround is to avoid symlinks by + having the actual file in `dst`. If it is a new file (`new_blob=True`), we move it to `dst`. If it is not a new file + (`new_blob=False`), we don't know if the blob file is already referenced elsewhere. To avoid breaking existing + cache, the file is duplicated on the disk. + + In case symlinks are not supported, a warning message is displayed to the user once when loading `huggingface_hub`. + The warning message can be disable with the `DISABLE_SYMLINKS_WARNING` environment variable. + """ + try: + os.remove(dst) + except OSError: + pass + + abs_src = os.path.abspath(os.path.expanduser(src)) + abs_dst = os.path.abspath(os.path.expanduser(dst)) + abs_dst_folder = os.path.dirname(abs_dst) + + # Use relative_dst in priority + try: + relative_src = os.path.relpath(abs_src, abs_dst_folder) + except ValueError: + # Raised on Windows if src and dst are not on the same volume. This is the case when creating a symlink to a + # local_dir instead of within the cache directory. + # See https://docs.python.org/3/library/os.path.html#os.path.relpath + relative_src = None + + try: + commonpath = os.path.commonpath([abs_src, abs_dst]) + _support_symlinks = are_symlinks_supported(commonpath) + except ValueError: + # Raised if src and dst are not on the same volume. Symlinks will still work on Linux/Macos. + # See https://docs.python.org/3/library/os.path.html#os.path.commonpath + _support_symlinks = os.name != "nt" + except PermissionError: + # Permission error means src and dst are not in the same volume (e.g. destination path has been provided + # by the user via `local_dir`. Let's test symlink support there) + _support_symlinks = are_symlinks_supported(abs_dst_folder) + + # Symlinks are supported => let's create a symlink. + if _support_symlinks: + src_rel_or_abs = relative_src or abs_src + logger.debug(f"Creating pointer from {src_rel_or_abs} to {abs_dst}") + try: + os.symlink(src_rel_or_abs, abs_dst) + return + except FileExistsError: + if os.path.islink(abs_dst) and os.path.realpath(abs_dst) == os.path.realpath(abs_src): + # `abs_dst` already exists and is a symlink to the `abs_src` blob. It is most likely that the file has + # been cached twice concurrently (exactly between `os.remove` and `os.symlink`). Do nothing. + return + else: + # Very unlikely to happen. Means a file `dst` has been created exactly between `os.remove` and + # `os.symlink` and is not a symlink to the `abs_src` blob file. Raise exception. + raise + except PermissionError: + # Permission error means src and dst are not in the same volume (e.g. download to local dir) and symlink + # is supported on both volumes but not between them. Let's just make a hard copy in that case. + pass + + # Symlinks are not supported => let's move or copy the file. + if new_blob: + logger.info(f"Symlink not supported. Moving file from {abs_src} to {abs_dst}") + shutil.move(abs_src, abs_dst) + else: + logger.info(f"Symlink not supported. Copying file from {abs_src} to {abs_dst}") + shutil.copyfile(abs_src, abs_dst) + + +def _cache_commit_hash_for_specific_revision(storage_folder: str, revision: str, commit_hash: str) -> None: + """Cache reference between a revision (tag, branch or truncated commit hash) and the corresponding commit hash. + + Does nothing if `revision` is already a proper `commit_hash` or reference is already cached. + """ + if revision != commit_hash: + ref_path = Path(storage_folder) / "refs" / revision + ref_path.parent.mkdir(parents=True, exist_ok=True) + if not ref_path.exists() or commit_hash != ref_path.read_text(): + # Update ref only if has been updated. Could cause useless error in case + # repo is already cached and user doesn't have write access to cache folder. + # See https://github.com/huggingface/huggingface_hub/issues/1216. + ref_path.write_text(commit_hash) + + +@validate_hf_hub_args +def repo_folder_name(*, repo_id: str, repo_type: str) -> str: + """Return a serialized version of a hf.co repo name and type, safe for disk storage + as a single non-nested folder. + + Example: models--julien-c--EsperBERTo-small + """ + # remove all `/` occurrences to correctly convert repo to directory name + parts = [f"{repo_type}s", *repo_id.split("/")] + return REPO_ID_SEPARATOR.join(parts) + + +def _check_disk_space(expected_size: int, target_dir: Union[str, Path]) -> None: + """Check disk usage and log a warning if there is not enough disk space to download the file. + + Args: + expected_size (`int`): + The expected size of the file in bytes. + target_dir (`str`): + The directory where the file will be stored after downloading. + """ + + target_dir = Path(target_dir) # format as `Path` + for path in [target_dir] + list(target_dir.parents): # first check target_dir, then each parents one by one + try: + target_dir_free = shutil.disk_usage(path).free + if target_dir_free < expected_size: + warnings.warn( + "Not enough free disk space to download the file. " + f"The expected file size is: {expected_size / 1e6:.2f} MB. " + f"The target location {target_dir} only has {target_dir_free / 1e6:.2f} MB free disk space." + ) + return + except OSError: # raise on anything: file does not exist or space disk cannot be checked + pass + + +@validate_hf_hub_args +def hf_hub_download( + repo_id: str, + filename: str, + *, + subfolder: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + library_name: Optional[str] = None, + library_version: Optional[str] = None, + cache_dir: Union[str, Path, None] = None, + local_dir: Union[str, Path, None] = None, + local_dir_use_symlinks: Union[bool, Literal["auto"]] = "auto", + user_agent: Union[Dict, str, None] = None, + force_download: bool = False, + force_filename: Optional[str] = None, + proxies: Optional[Dict] = None, + etag_timeout: float = DEFAULT_ETAG_TIMEOUT, + resume_download: bool = False, + token: Union[bool, str, None] = None, + local_files_only: bool = False, + legacy_cache_layout: bool = False, + endpoint: Optional[str] = None, +) -> str: + """Download a given file if it's not already present in the local cache. + + The new cache file layout looks like this: + - The cache directory contains one subfolder per repo_id (namespaced by repo type) + - inside each repo folder: + - refs is a list of the latest known revision => commit_hash pairs + - blobs contains the actual file blobs (identified by their git-sha or sha256, depending on + whether they're LFS files or not) + - snapshots contains one subfolder per commit, each "commit" contains the subset of the files + that have been resolved at that particular commit. Each filename is a symlink to the blob + at that particular commit. + + If `local_dir` is provided, the file structure from the repo will be replicated in this location. You can configure + how you want to move those files: + - If `local_dir_use_symlinks="auto"` (default), files are downloaded and stored in the cache directory as blob + files. Small files (<5MB) are duplicated in `local_dir` while a symlink is created for bigger files. The goal + is to be able to manually edit and save small files without corrupting the cache while saving disk space for + binary files. The 5MB threshold can be configured with the `HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD` + environment variable. + - If `local_dir_use_symlinks=True`, files are downloaded, stored in the cache directory and symlinked in `local_dir`. + This is optimal in term of disk usage but files must not be manually edited. + - If `local_dir_use_symlinks=False` and the blob files exist in the cache directory, they are duplicated in the + local dir. This means disk usage is not optimized. + - Finally, if `local_dir_use_symlinks=False` and the blob files do not exist in the cache directory, then the + files are downloaded and directly placed under `local_dir`. This means if you need to download them again later, + they will be re-downloaded entirely. + + ``` + [ 96] . + └── [ 160] models--julien-c--EsperBERTo-small + ├── [ 160] blobs + │ ├── [321M] 403450e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd + │ ├── [ 398] 7cb18dc9bafbfcf74629a4b760af1b160957a83e + │ └── [1.4K] d7edf6bd2a681fb0175f7735299831ee1b22b812 + ├── [ 96] refs + │ └── [ 40] main + └── [ 128] snapshots + ├── [ 128] 2439f60ef33a0d46d85da5001d52aeda5b00ce9f + │ ├── [ 52] README.md -> ../../blobs/d7edf6bd2a681fb0175f7735299831ee1b22b812 + │ └── [ 76] pytorch_model.bin -> ../../blobs/403450e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd + └── [ 128] bbc77c8132af1cc5cf678da3f1ddf2de43606d48 + ├── [ 52] README.md -> ../../blobs/7cb18dc9bafbfcf74629a4b760af1b160957a83e + └── [ 76] pytorch_model.bin -> ../../blobs/403450e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd + ``` + + Args: + repo_id (`str`): + A user or an organization name and a repo name separated by a `/`. + filename (`str`): + The name of the file in the repo. + subfolder (`str`, *optional*): + An optional value corresponding to a folder inside the model repo. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if downloading from a dataset or space, + `None` or `"model"` if downloading from a model. Default is `None`. + revision (`str`, *optional*): + An optional Git revision id which can be a branch name, a tag, or a + commit hash. + library_name (`str`, *optional*): + The name of the library to which the object corresponds. + library_version (`str`, *optional*): + The version of the library. + cache_dir (`str`, `Path`, *optional*): + Path to the folder where cached files are stored. + local_dir (`str` or `Path`, *optional*): + If provided, the downloaded file will be placed under this directory, either as a symlink (default) or + a regular file (see description for more details). + local_dir_use_symlinks (`"auto"` or `bool`, defaults to `"auto"`): + To be used with `local_dir`. If set to "auto", the cache directory will be used and the file will be either + duplicated or symlinked to the local directory depending on its size. It set to `True`, a symlink will be + created, no matter the file size. If set to `False`, the file will either be duplicated from cache (if + already exists) or downloaded from the Hub and not cached. See description for more details. + user_agent (`dict`, `str`, *optional*): + The user-agent info in the form of a dictionary or a string. + force_download (`bool`, *optional*, defaults to `False`): + Whether the file should be downloaded even if it already exists in + the local cache. + proxies (`dict`, *optional*): + Dictionary mapping protocol to the URL of the proxy passed to + `requests.request`. + etag_timeout (`float`, *optional*, defaults to `10`): + When fetching ETag, how many seconds to wait for the server to send + data before giving up which is passed to `requests.request`. + resume_download (`bool`, *optional*, defaults to `False`): + If `True`, resume a previously interrupted download. + token (`str`, `bool`, *optional*): + A token to be used for the download. + - If `True`, the token is read from the HuggingFace config + folder. + - If a string, it's used as the authentication token. + local_files_only (`bool`, *optional*, defaults to `False`): + If `True`, avoid downloading the file and return the path to the + local cached file if it exists. + legacy_cache_layout (`bool`, *optional*, defaults to `False`): + If `True`, uses the legacy file cache layout i.e. just call [`hf_hub_url`] + then `cached_download`. This is deprecated as the new cache layout is + more powerful. + + Returns: + Local path (string) of file or if networking is off, last version of + file cached on disk. + + + + Raises the following errors: + + - [`EnvironmentError`](https://docs.python.org/3/library/exceptions.html#EnvironmentError) + if `token=True` and the token cannot be found. + - [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError) + if ETag cannot be determined. + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + - [`~utils.EntryNotFoundError`] + If the file to download cannot be found. + - [`~utils.LocalEntryNotFoundError`] + If network is disabled or unavailable and file is not found in cache. + + + """ + if HF_HUB_ETAG_TIMEOUT != DEFAULT_ETAG_TIMEOUT: + # Respect environment variable above user value + etag_timeout = HF_HUB_ETAG_TIMEOUT + + if force_filename is not None: + warnings.warn( + "The `force_filename` parameter is deprecated as a new caching system, " + "which keeps the filenames as they are on the Hub, is now in place.", + FutureWarning, + ) + legacy_cache_layout = True + + if legacy_cache_layout: + url = hf_hub_url( + repo_id, + filename, + subfolder=subfolder, + repo_type=repo_type, + revision=revision, + endpoint=endpoint, + ) + + return cached_download( + url, + library_name=library_name, + library_version=library_version, + cache_dir=cache_dir, + user_agent=user_agent, + force_download=force_download, + force_filename=force_filename, + proxies=proxies, + etag_timeout=etag_timeout, + resume_download=resume_download, + token=token, + local_files_only=local_files_only, + legacy_cache_layout=legacy_cache_layout, + ) + + if cache_dir is None: + cache_dir = HF_HUB_CACHE + if revision is None: + revision = DEFAULT_REVISION + if isinstance(cache_dir, Path): + cache_dir = str(cache_dir) + if isinstance(local_dir, Path): + local_dir = str(local_dir) + locks_dir = os.path.join(cache_dir, ".locks") + + if subfolder == "": + subfolder = None + if subfolder is not None: + # This is used to create a URL, and not a local path, hence the forward slash. + filename = f"{subfolder}/{filename}" + + if repo_type is None: + repo_type = "model" + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type: {repo_type}. Accepted repo types are: {str(REPO_TYPES)}") + + storage_folder = os.path.join(cache_dir, repo_folder_name(repo_id=repo_id, repo_type=repo_type)) + os.makedirs(storage_folder, exist_ok=True) + + # cross platform transcription of filename, to be used as a local file path. + relative_filename = os.path.join(*filename.split("/")) + if os.name == "nt": + if relative_filename.startswith("..\\") or "\\..\\" in relative_filename: + raise ValueError( + f"Invalid filename: cannot handle filename '{relative_filename}' on Windows. Please ask the repository" + " owner to rename this file." + ) + + # if user provides a commit_hash and they already have the file on disk, + # shortcut everything. + if REGEX_COMMIT_HASH.match(revision): + pointer_path = _get_pointer_path(storage_folder, revision, relative_filename) + if os.path.exists(pointer_path): + if local_dir is not None: + return _to_local_dir(pointer_path, local_dir, relative_filename, use_symlinks=local_dir_use_symlinks) + return pointer_path + + url = hf_hub_url(repo_id, filename, repo_type=repo_type, revision=revision, endpoint=endpoint) + + headers = build_hf_headers( + token=token, + library_name=library_name, + library_version=library_version, + user_agent=user_agent, + ) + + url_to_download = url + etag = None + commit_hash = None + expected_size = None + head_call_error: Optional[Exception] = None + if not local_files_only: + try: + try: + metadata = get_hf_file_metadata( + url=url, + token=token, + proxies=proxies, + timeout=etag_timeout, + library_name=library_name, + library_version=library_version, + user_agent=user_agent, + ) + except EntryNotFoundError as http_error: + # Cache the non-existence of the file and raise + commit_hash = http_error.response.headers.get(HUGGINGFACE_HEADER_X_REPO_COMMIT) + if commit_hash is not None and not legacy_cache_layout: + no_exist_file_path = Path(storage_folder) / ".no_exist" / commit_hash / relative_filename + no_exist_file_path.parent.mkdir(parents=True, exist_ok=True) + no_exist_file_path.touch() + _cache_commit_hash_for_specific_revision(storage_folder, revision, commit_hash) + raise + + # Commit hash must exist + commit_hash = metadata.commit_hash + if commit_hash is None: + raise FileMetadataError( + "Distant resource does not seem to be on huggingface.co. It is possible that a configuration issue" + " prevents you from downloading resources from https://huggingface.co. Please check your firewall" + " and proxy settings and make sure your SSL certificates are updated." + ) + + # Etag must exist + etag = metadata.etag + # We favor a custom header indicating the etag of the linked resource, and + # we fallback to the regular etag header. + # If we don't have any of those, raise an error. + if etag is None: + raise FileMetadataError( + "Distant resource does not have an ETag, we won't be able to reliably ensure reproducibility." + ) + + # Expected (uncompressed) size + expected_size = metadata.size + + # In case of a redirect, save an extra redirect on the request.get call, + # and ensure we download the exact atomic version even if it changed + # between the HEAD and the GET (unlikely, but hey). + # Useful for lfs blobs that are stored on a CDN. + if metadata.location != url: + url_to_download = metadata.location + # Remove authorization header when downloading a LFS blob + headers.pop("authorization", None) + except (requests.exceptions.SSLError, requests.exceptions.ProxyError): + # Actually raise for those subclasses of ConnectionError + raise + except ( + requests.exceptions.ConnectionError, + requests.exceptions.Timeout, + OfflineModeIsEnabled, + ) as error: + # Otherwise, our Internet connection is down. + # etag is None + head_call_error = error + pass + except (RevisionNotFoundError, EntryNotFoundError): + # The repo was found but the revision or entry doesn't exist on the Hub (never existed or got deleted) + raise + except requests.HTTPError as error: + # Multiple reasons for an http error: + # - Repository is private and invalid/missing token sent + # - Repository is gated and invalid/missing token sent + # - Hub is down (error 500 or 504) + # => let's switch to 'local_files_only=True' to check if the files are already cached. + # (if it's not the case, the error will be re-raised) + head_call_error = error + pass + except FileMetadataError as error: + # Multiple reasons for a FileMetadataError: + # - Wrong network configuration (proxy, firewall, SSL certificates) + # - Inconsistency on the Hub + # => let's switch to 'local_files_only=True' to check if the files are already cached. + # (if it's not the case, the error will be re-raised) + head_call_error = error + pass + + # etag can be None for several reasons: + # 1. we passed local_files_only. + # 2. we don't have a connection + # 3. Hub is down (HTTP 500 or 504) + # 4. repo is not found -for example private or gated- and invalid/missing token sent + # 5. Hub is blocked by a firewall or proxy is not set correctly. + # => Try to get the last downloaded one from the specified revision. + # + # If the specified revision is a commit hash, look inside "snapshots". + # If the specified revision is a branch or tag, look inside "refs". + if etag is None: + # In those cases, we cannot force download. + if force_download: + raise ValueError( + "We have no connection or you passed local_files_only, so force_download is not an accepted option." + ) + + # Try to get "commit_hash" from "revision" + commit_hash = None + if REGEX_COMMIT_HASH.match(revision): + commit_hash = revision + else: + ref_path = os.path.join(storage_folder, "refs", revision) + if os.path.isfile(ref_path): + with open(ref_path) as f: + commit_hash = f.read() + + # Return pointer file if exists + if commit_hash is not None: + pointer_path = _get_pointer_path(storage_folder, commit_hash, relative_filename) + if os.path.exists(pointer_path): + if local_dir is not None: + return _to_local_dir( + pointer_path, local_dir, relative_filename, use_symlinks=local_dir_use_symlinks + ) + return pointer_path + + # If we couldn't find an appropriate file on disk, raise an error. + # If files cannot be found and local_files_only=True, + # the models might've been found if local_files_only=False + # Notify the user about that + if local_files_only: + raise LocalEntryNotFoundError( + "Cannot find the requested files in the disk cache and outgoing traffic has been disabled. To enable" + " hf.co look-ups and downloads online, set 'local_files_only' to False." + ) + elif isinstance(head_call_error, RepositoryNotFoundError) or isinstance(head_call_error, GatedRepoError): + # Repo not found => let's raise the actual error + raise head_call_error + else: + # Otherwise: most likely a connection issue or Hub downtime => let's warn the user + raise LocalEntryNotFoundError( + "An error happened while trying to locate the file on the Hub and we cannot find the requested files" + " in the local cache. Please check your connection and try again or make sure your Internet connection" + " is on." + ) from head_call_error + + # From now on, etag and commit_hash are not None. + assert etag is not None, "etag must have been retrieved from server" + assert commit_hash is not None, "commit_hash must have been retrieved from server" + blob_path = os.path.join(storage_folder, "blobs", etag) + pointer_path = _get_pointer_path(storage_folder, commit_hash, relative_filename) + + os.makedirs(os.path.dirname(blob_path), exist_ok=True) + os.makedirs(os.path.dirname(pointer_path), exist_ok=True) + # if passed revision is not identical to commit_hash + # then revision has to be a branch name or tag name. + # In that case store a ref. + _cache_commit_hash_for_specific_revision(storage_folder, revision, commit_hash) + + if os.path.exists(pointer_path) and not force_download: + if local_dir is not None: + return _to_local_dir(pointer_path, local_dir, relative_filename, use_symlinks=local_dir_use_symlinks) + return pointer_path + + if os.path.exists(blob_path) and not force_download: + # we have the blob already, but not the pointer + if local_dir is not None: # to local dir + return _to_local_dir(blob_path, local_dir, relative_filename, use_symlinks=local_dir_use_symlinks) + else: # or in snapshot cache + _create_symlink(blob_path, pointer_path, new_blob=False) + return pointer_path + + # Prevent parallel downloads of the same file with a lock. + # etag could be duplicated across repos, + lock_path = os.path.join(locks_dir, repo_folder_name(repo_id=repo_id, repo_type=repo_type), f"{etag}.lock") + + # Some Windows versions do not allow for paths longer than 255 characters. + # In this case, we must specify it is an extended path by using the "\\?\" prefix. + if os.name == "nt" and len(os.path.abspath(lock_path)) > 255: + lock_path = "\\\\?\\" + os.path.abspath(lock_path) + + if os.name == "nt" and len(os.path.abspath(blob_path)) > 255: + blob_path = "\\\\?\\" + os.path.abspath(blob_path) + + Path(lock_path).parent.mkdir(parents=True, exist_ok=True) + with FileLock(lock_path): + # If the download just completed while the lock was activated. + if os.path.exists(pointer_path) and not force_download: + # Even if returning early like here, the lock will be released. + if local_dir is not None: + return _to_local_dir(pointer_path, local_dir, relative_filename, use_symlinks=local_dir_use_symlinks) + return pointer_path + + if resume_download: + incomplete_path = blob_path + ".incomplete" + + @contextmanager + def _resumable_file_manager() -> Generator[io.BufferedWriter, None, None]: + with open(incomplete_path, "ab") as f: + yield f + + temp_file_manager = _resumable_file_manager + if os.path.exists(incomplete_path): + resume_size = os.stat(incomplete_path).st_size + else: + resume_size = 0 + else: + temp_file_manager = partial( # type: ignore + tempfile.NamedTemporaryFile, mode="wb", dir=cache_dir, delete=False + ) + resume_size = 0 + + # Download to temporary file, then copy to cache dir once finished. + # Otherwise you get corrupt cache entries if the download gets interrupted. + with temp_file_manager() as temp_file: + logger.info("downloading %s to %s", url, temp_file.name) + + if expected_size is not None: # might be None if HTTP header not set correctly + # Check tmp path + _check_disk_space(expected_size, os.path.dirname(temp_file.name)) + + # Check destination + _check_disk_space(expected_size, os.path.dirname(blob_path)) + if local_dir is not None: + _check_disk_space(expected_size, local_dir) + + http_get( + url_to_download, + temp_file, + proxies=proxies, + resume_size=resume_size, + headers=headers, + expected_size=expected_size, + ) + + if local_dir is None: + logger.debug(f"Storing {url} in cache at {blob_path}") + _chmod_and_replace(temp_file.name, blob_path) + _create_symlink(blob_path, pointer_path, new_blob=True) + else: + local_dir_filepath = os.path.join(local_dir, relative_filename) + os.makedirs(os.path.dirname(local_dir_filepath), exist_ok=True) + + # If "auto" (default) copy-paste small files to ease manual editing but symlink big files to save disk + # In both cases, blob file is cached. + is_big_file = os.stat(temp_file.name).st_size > constants.HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD + if local_dir_use_symlinks is True or (local_dir_use_symlinks == "auto" and is_big_file): + logger.debug(f"Storing {url} in cache at {blob_path}") + _chmod_and_replace(temp_file.name, blob_path) + logger.debug("Create symlink to local dir") + _create_symlink(blob_path, local_dir_filepath, new_blob=False) + elif local_dir_use_symlinks == "auto" and not is_big_file: + logger.debug(f"Storing {url} in cache at {blob_path}") + _chmod_and_replace(temp_file.name, blob_path) + logger.debug("Duplicate in local dir (small file and use_symlink set to 'auto')") + shutil.copyfile(blob_path, local_dir_filepath) + else: + logger.debug(f"Storing {url} in local_dir at {local_dir_filepath} (not cached).") + _chmod_and_replace(temp_file.name, local_dir_filepath) + pointer_path = local_dir_filepath # for return value + + return pointer_path + + +@validate_hf_hub_args +def try_to_load_from_cache( + repo_id: str, + filename: str, + cache_dir: Union[str, Path, None] = None, + revision: Optional[str] = None, + repo_type: Optional[str] = None, +) -> Union[str, _CACHED_NO_EXIST_T, None]: + """ + Explores the cache to return the latest cached file for a given revision if found. + + This function will not raise any exception if the file in not cached. + + Args: + cache_dir (`str` or `os.PathLike`): + The folder where the cached files lie. + repo_id (`str`): + The ID of the repo on huggingface.co. + filename (`str`): + The filename to look for inside `repo_id`. + revision (`str`, *optional*): + The specific model version to use. Will default to `"main"` if it's not provided and no `commit_hash` is + provided either. + repo_type (`str`, *optional*): + The type of the repository. Will default to `"model"`. + + Returns: + `Optional[str]` or `_CACHED_NO_EXIST`: + Will return `None` if the file was not cached. Otherwise: + - The exact path to the cached file if it's found in the cache + - A special value `_CACHED_NO_EXIST` if the file does not exist at the given commit hash and this fact was + cached. + + Example: + + ```python + from huggingface_hub import try_to_load_from_cache, _CACHED_NO_EXIST + + filepath = try_to_load_from_cache() + if isinstance(filepath, str): + # file exists and is cached + ... + elif filepath is _CACHED_NO_EXIST: + # non-existence of file is cached + ... + else: + # file is not cached + ... + ``` + """ + if revision is None: + revision = "main" + if repo_type is None: + repo_type = "model" + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type: {repo_type}. Accepted repo types are: {str(REPO_TYPES)}") + if cache_dir is None: + cache_dir = HF_HUB_CACHE + + object_id = repo_id.replace("/", "--") + repo_cache = os.path.join(cache_dir, f"{repo_type}s--{object_id}") + if not os.path.isdir(repo_cache): + # No cache for this model + return None + + refs_dir = os.path.join(repo_cache, "refs") + snapshots_dir = os.path.join(repo_cache, "snapshots") + no_exist_dir = os.path.join(repo_cache, ".no_exist") + + # Resolve refs (for instance to convert main to the associated commit sha) + if os.path.isdir(refs_dir): + revision_file = os.path.join(refs_dir, revision) + if os.path.isfile(revision_file): + with open(revision_file) as f: + revision = f.read() + + # Check if file is cached as "no_exist" + if os.path.isfile(os.path.join(no_exist_dir, revision, filename)): + return _CACHED_NO_EXIST + + # Check if revision folder exists + if not os.path.exists(snapshots_dir): + return None + cached_shas = os.listdir(snapshots_dir) + if revision not in cached_shas: + # No cache for this revision and we won't try to return a random revision + return None + + # Check if file exists in cache + cached_file = os.path.join(snapshots_dir, revision, filename) + return cached_file if os.path.isfile(cached_file) else None + + +@validate_hf_hub_args +def get_hf_file_metadata( + url: str, + token: Union[bool, str, None] = None, + proxies: Optional[Dict] = None, + timeout: Optional[float] = DEFAULT_REQUEST_TIMEOUT, + library_name: Optional[str] = None, + library_version: Optional[str] = None, + user_agent: Union[Dict, str, None] = None, +) -> HfFileMetadata: + """Fetch metadata of a file versioned on the Hub for a given url. + + Args: + url (`str`): + File url, for example returned by [`hf_hub_url`]. + token (`str` or `bool`, *optional*): + A token to be used for the download. + - If `True`, the token is read from the HuggingFace config + folder. + - If `False` or `None`, no token is provided. + - If a string, it's used as the authentication token. + proxies (`dict`, *optional*): + Dictionary mapping protocol to the URL of the proxy passed to + `requests.request`. + timeout (`float`, *optional*, defaults to 10): + How many seconds to wait for the server to send metadata before giving up. + library_name (`str`, *optional*): + The name of the library to which the object corresponds. + library_version (`str`, *optional*): + The version of the library. + user_agent (`dict`, `str`, *optional*): + The user-agent info in the form of a dictionary or a string. + + Returns: + A [`HfFileMetadata`] object containing metadata such as location, etag, size and + commit_hash. + """ + headers = build_hf_headers( + token=token, library_name=library_name, library_version=library_version, user_agent=user_agent + ) + headers["Accept-Encoding"] = "identity" # prevent any compression => we want to know the real size of the file + + # Retrieve metadata + r = _request_wrapper( + method="HEAD", + url=url, + headers=headers, + allow_redirects=False, + follow_relative_redirects=True, + proxies=proxies, + timeout=timeout, + ) + hf_raise_for_status(r) + + # Return + return HfFileMetadata( + commit_hash=r.headers.get(HUGGINGFACE_HEADER_X_REPO_COMMIT), + # We favor a custom header indicating the etag of the linked resource, and + # we fallback to the regular etag header. + etag=_normalize_etag(r.headers.get(HUGGINGFACE_HEADER_X_LINKED_ETAG) or r.headers.get("ETag")), + # Either from response headers (if redirected) or defaults to request url + # Do not use directly `url`, as `_request_wrapper` might have followed relative + # redirects. + location=r.headers.get("Location") or r.request.url, # type: ignore + size=_int_or_none(r.headers.get(HUGGINGFACE_HEADER_X_LINKED_SIZE) or r.headers.get("Content-Length")), + ) + + +def _int_or_none(value: Optional[str]) -> Optional[int]: + try: + return int(value) # type: ignore + except (TypeError, ValueError): + return None + + +def _chmod_and_replace(src: str, dst: str) -> None: + """Set correct permission before moving a blob from tmp directory to cache dir. + + Do not take into account the `umask` from the process as there is no convenient way + to get it that is thread-safe. + + See: + - About umask: https://docs.python.org/3/library/os.html#os.umask + - Thread-safety: https://stackoverflow.com/a/70343066 + - About solution: https://github.com/huggingface/huggingface_hub/pull/1220#issuecomment-1326211591 + - Fix issue: https://github.com/huggingface/huggingface_hub/issues/1141 + - Fix issue: https://github.com/huggingface/huggingface_hub/issues/1215 + """ + # Get umask by creating a temporary file in the cached repo folder. + tmp_file = Path(dst).parent.parent / f"tmp_{uuid.uuid4()}" + try: + tmp_file.touch() + cache_dir_mode = Path(tmp_file).stat().st_mode + os.chmod(src, stat.S_IMODE(cache_dir_mode)) + finally: + tmp_file.unlink() + + shutil.move(src, dst) + + +def _get_pointer_path(storage_folder: str, revision: str, relative_filename: str) -> str: + # Using `os.path.abspath` instead of `Path.resolve()` to avoid resolving symlinks + snapshot_path = os.path.join(storage_folder, "snapshots") + pointer_path = os.path.join(snapshot_path, revision, relative_filename) + if Path(os.path.abspath(snapshot_path)) not in Path(os.path.abspath(pointer_path)).parents: + raise ValueError( + "Invalid pointer path: cannot create pointer path in snapshot folder if" + f" `storage_folder='{storage_folder}'`, `revision='{revision}'` and" + f" `relative_filename='{relative_filename}'`." + ) + return pointer_path + + +def _to_local_dir( + path: str, local_dir: str, relative_filename: str, use_symlinks: Union[bool, Literal["auto"]] +) -> str: + """Place a file in a local dir (different than cache_dir). + + Either symlink to blob file in cache or duplicate file depending on `use_symlinks` and file size. + """ + # Using `os.path.abspath` instead of `Path.resolve()` to avoid resolving symlinks + local_dir_filepath = os.path.join(local_dir, relative_filename) + if Path(os.path.abspath(local_dir)) not in Path(os.path.abspath(local_dir_filepath)).parents: + raise ValueError( + f"Cannot copy file '{relative_filename}' to local dir '{local_dir}': file would not be in the local" + " directory." + ) + + os.makedirs(os.path.dirname(local_dir_filepath), exist_ok=True) + real_blob_path = os.path.realpath(path) + + # If "auto" (default) copy-paste small files to ease manual editing but symlink big files to save disk + if use_symlinks == "auto": + use_symlinks = os.stat(real_blob_path).st_size > constants.HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD + + if use_symlinks: + _create_symlink(real_blob_path, local_dir_filepath, new_blob=False) + else: + shutil.copyfile(real_blob_path, local_dir_filepath) + return local_dir_filepath diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hf_api.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hf_api.py new file mode 100644 index 0000000000000000000000000000000000000000..6698da0f715228ec1331fadc9eb3376e52a98f76 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hf_api.py @@ -0,0 +1,8405 @@ +# coding=utf-8 +# Copyright 2019-present, the HuggingFace Inc. team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from __future__ import annotations + +import inspect +import json +import re +import struct +import warnings +from concurrent.futures import Future, ThreadPoolExecutor +from dataclasses import dataclass, field +from datetime import datetime +from functools import wraps +from itertools import islice +from pathlib import Path +from typing import ( + Any, + BinaryIO, + Callable, + Dict, + Iterable, + Iterator, + List, + Literal, + Optional, + Tuple, + TypedDict, + TypeVar, + Union, + overload, +) +from urllib.parse import quote, urlencode + +import requests +from requests.exceptions import HTTPError +from tqdm.auto import tqdm as base_tqdm +from tqdm.contrib.concurrent import thread_map + +from ._commit_api import ( + CommitOperation, + CommitOperationAdd, + CommitOperationCopy, + CommitOperationDelete, + _fetch_lfs_files_to_copy, + _fetch_upload_modes, + _prepare_commit_payload, + _upload_lfs_files, + _warn_on_overwriting_operations, +) +from ._inference_endpoints import InferenceEndpoint, InferenceEndpointType +from ._multi_commits import ( + MULTI_COMMIT_PR_CLOSE_COMMENT_FAILURE_BAD_REQUEST_TEMPLATE, + MULTI_COMMIT_PR_CLOSE_COMMENT_FAILURE_NO_CHANGES_TEMPLATE, + MULTI_COMMIT_PR_CLOSING_COMMENT_TEMPLATE, + MULTI_COMMIT_PR_COMPLETION_COMMENT_TEMPLATE, + MultiCommitException, + MultiCommitStep, + MultiCommitStrategy, + multi_commit_create_pull_request, + multi_commit_generate_comment, + multi_commit_parse_pr_description, + plan_multi_commits, +) +from ._space_api import SpaceHardware, SpaceRuntime, SpaceStorage, SpaceVariable +from .community import ( + Discussion, + DiscussionComment, + DiscussionStatusChange, + DiscussionTitleChange, + DiscussionWithDetails, + deserialize_event, +) +from .constants import ( + DEFAULT_ETAG_TIMEOUT, + DEFAULT_REQUEST_TIMEOUT, + DEFAULT_REVISION, + DISCUSSION_STATUS, + DISCUSSION_TYPES, + ENDPOINT, + INFERENCE_ENDPOINTS_ENDPOINT, + REGEX_COMMIT_OID, + REPO_TYPE_MODEL, + REPO_TYPES, + REPO_TYPES_MAPPING, + REPO_TYPES_URL_PREFIXES, + SAFETENSORS_INDEX_FILE, + SAFETENSORS_MAX_HEADER_LENGTH, + SAFETENSORS_SINGLE_FILE, + SPACES_SDK_TYPES, + DiscussionStatusFilter, + DiscussionTypeFilter, +) +from .file_download import HfFileMetadata, get_hf_file_metadata, hf_hub_url +from .repocard_data import DatasetCardData, ModelCardData, SpaceCardData +from .utils import ( # noqa: F401 # imported for backward compatibility + IGNORE_GIT_FOLDER_PATTERNS, + BadRequestError, + EntryNotFoundError, + GatedRepoError, + HfFolder, + HfHubHTTPError, + LocalTokenNotFoundError, + NotASafetensorsRepoError, + RepositoryNotFoundError, + RevisionNotFoundError, + SafetensorsFileMetadata, + SafetensorsParsingError, + SafetensorsRepoMetadata, + TensorInfo, + build_hf_headers, + experimental, + filter_repo_objects, + get_session, + hf_raise_for_status, + logging, + paginate, + parse_datetime, + validate_hf_hub_args, +) +from .utils import tqdm as hf_tqdm +from .utils._deprecation import _deprecate_method +from .utils._typing import CallableT +from .utils.endpoint_helpers import ( + DatasetFilter, + ModelFilter, + _is_emission_within_treshold, +) + + +R = TypeVar("R") # Return type +CollectionItemType_T = Literal["model", "dataset", "space", "paper"] + +USERNAME_PLACEHOLDER = "hf_user" +_REGEX_DISCUSSION_URL = re.compile(r".*/discussions/(\d+)$") + +_CREATE_COMMIT_NO_REPO_ERROR_MESSAGE = ( + "\nNote: Creating a commit assumes that the repo already exists on the" + " Huggingface Hub. Please use `create_repo` if it's not the case." +) + +logger = logging.get_logger(__name__) + + +def repo_type_and_id_from_hf_id(hf_id: str, hub_url: Optional[str] = None) -> Tuple[Optional[str], Optional[str], str]: + """ + Returns the repo type and ID from a huggingface.co URL linking to a + repository + + Args: + hf_id (`str`): + An URL or ID of a repository on the HF hub. Accepted values are: + + - https://huggingface.co/// + - https://huggingface.co// + - hf://// + - hf:/// + - // + - / + - + hub_url (`str`, *optional*): + The URL of the HuggingFace Hub, defaults to https://huggingface.co + + Returns: + A tuple with three items: repo_type (`str` or `None`), namespace (`str` or + `None`) and repo_id (`str`). + + Raises: + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If URL cannot be parsed. + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If `repo_type` is unknown. + """ + input_hf_id = hf_id + hub_url = re.sub(r"https?://", "", hub_url if hub_url is not None else ENDPOINT) + is_hf_url = hub_url in hf_id and "@" not in hf_id + + HFFS_PREFIX = "hf://" + if hf_id.startswith(HFFS_PREFIX): # Remove "hf://" prefix if exists + hf_id = hf_id[len(HFFS_PREFIX) :] + + url_segments = hf_id.split("/") + is_hf_id = len(url_segments) <= 3 + + namespace: Optional[str] + if is_hf_url: + namespace, repo_id = url_segments[-2:] + if namespace == hub_url: + namespace = None + if len(url_segments) > 2 and hub_url not in url_segments[-3]: + repo_type = url_segments[-3] + elif namespace in REPO_TYPES_MAPPING: + # Mean canonical dataset or model + repo_type = REPO_TYPES_MAPPING[namespace] + namespace = None + else: + repo_type = None + elif is_hf_id: + if len(url_segments) == 3: + # Passed // or // + repo_type, namespace, repo_id = url_segments[-3:] + elif len(url_segments) == 2: + if url_segments[0] in REPO_TYPES_MAPPING: + # Passed '' or 'datasets/' for a canonical model or dataset + repo_type = REPO_TYPES_MAPPING[url_segments[0]] + namespace = None + repo_id = hf_id.split("/")[-1] + else: + # Passed / or / + namespace, repo_id = hf_id.split("/")[-2:] + repo_type = None + else: + # Passed + repo_id = url_segments[0] + namespace, repo_type = None, None + else: + raise ValueError(f"Unable to retrieve user and repo ID from the passed HF ID: {hf_id}") + + # Check if repo type is known (mapping "spaces" => "space" + empty value => `None`) + if repo_type in REPO_TYPES_MAPPING: + repo_type = REPO_TYPES_MAPPING[repo_type] + if repo_type == "": + repo_type = None + if repo_type not in REPO_TYPES: + raise ValueError(f"Unknown `repo_type`: '{repo_type}' ('{input_hf_id}')") + + return repo_type, namespace, repo_id + + +class LastCommitInfo(TypedDict, total=False): + oid: str + title: str + date: datetime + + +class BlobLfsInfo(TypedDict, total=False): + size: int + sha256: str + pointer_size: int + + +class BlobSecurityInfo(TypedDict, total=False): + safe: bool + av_scan: Optional[Dict] + pickle_import_scan: Optional[Dict] + + +class TransformersInfo(TypedDict, total=False): + auto_model: str + custom_class: Optional[str] + # possible `pipeline_tag` values: https://github.com/huggingface/huggingface.js/blob/3ee32554b8620644a6287e786b2a83bf5caf559c/packages/tasks/src/pipelines.ts#L72 + pipeline_tag: Optional[str] + processor: Optional[str] + + +class SafeTensorsInfo(TypedDict, total=False): + parameters: List[Dict[str, int]] + total: int + + +@dataclass +class CommitInfo(str): + """Data structure containing information about a newly created commit. + + Returned by any method that creates a commit on the Hub: [`create_commit`], [`upload_file`], [`upload_folder`], + [`delete_file`], [`delete_folder`]. It inherits from `str` for backward compatibility but using methods specific + to `str` is deprecated. + + Attributes: + commit_url (`str`): + Url where to find the commit. + + commit_message (`str`): + The summary (first line) of the commit that has been created. + + commit_description (`str`): + Description of the commit that has been created. Can be empty. + + oid (`str`): + Commit hash id. Example: `"91c54ad1727ee830252e457677f467be0bfd8a57"`. + + pr_url (`str`, *optional*): + Url to the PR that has been created, if any. Populated when `create_pr=True` + is passed. + + pr_revision (`str`, *optional*): + Revision of the PR that has been created, if any. Populated when + `create_pr=True` is passed. Example: `"refs/pr/1"`. + + pr_num (`int`, *optional*): + Number of the PR discussion that has been created, if any. Populated when + `create_pr=True` is passed. Can be passed as `discussion_num` in + [`get_discussion_details`]. Example: `1`. + + _url (`str`, *optional*): + Legacy url for `str` compatibility. Can be the url to the uploaded file on the Hub (if returned by + [`upload_file`]), to the uploaded folder on the Hub (if returned by [`upload_folder`]) or to the commit on + the Hub (if returned by [`create_commit`]). Defaults to `commit_url`. It is deprecated to use this + attribute. Please use `commit_url` instead. + """ + + commit_url: str + commit_message: str + commit_description: str + oid: str + pr_url: Optional[str] = None + + # Computed from `pr_url` in `__post_init__` + pr_revision: Optional[str] = field(init=False) + pr_num: Optional[str] = field(init=False) + + # legacy url for `str` compatibility (ex: url to uploaded file, url to uploaded folder, url to PR, etc.) + _url: str = field(repr=False, default=None) # type: ignore # defaults to `commit_url` + + def __new__(cls, *args, commit_url: str, _url: Optional[str] = None, **kwargs): + return str.__new__(cls, _url or commit_url) + + def __post_init__(self): + """Populate pr-related fields after initialization. + + See https://docs.python.org/3.10/library/dataclasses.html#post-init-processing. + """ + if self.pr_url is not None: + self.pr_revision = _parse_revision_from_pr_url(self.pr_url) + self.pr_num = int(self.pr_revision.split("/")[-1]) + else: + self.pr_revision = None + self.pr_num = None + + +@dataclass +class AccessRequest: + """Data structure containing information about a user access request. + + Attributes: + username (`str`): + Username of the user who requested access. + fullname (`str`): + Fullname of the user who requested access. + email (`str`): + Email of the user who requested access. + timestamp (`datetime`): + Timestamp of the request. + status (`Literal["pending", "accepted", "rejected"]`): + Status of the request. Can be one of `["pending", "accepted", "rejected"]`. + fields (`Dict[str, Any]`, *optional*): + Additional fields filled by the user in the gate form. + """ + + username: str + fullname: str + email: str + timestamp: datetime + status: Literal["pending", "accepted", "rejected"] + + # Additional fields filled by the user in the gate form + fields: Optional[Dict[str, Any]] = None + + +class RepoUrl(str): + """Subclass of `str` describing a repo URL on the Hub. + + `RepoUrl` is returned by `HfApi.create_repo`. It inherits from `str` for backward + compatibility. At initialization, the URL is parsed to populate properties: + - endpoint (`str`) + - namespace (`Optional[str]`) + - repo_name (`str`) + - repo_id (`str`) + - repo_type (`Literal["model", "dataset", "space"]`) + - url (`str`) + + Args: + url (`Any`): + String value of the repo url. + endpoint (`str`, *optional*): + Endpoint of the Hub. Defaults to . + + Example: + ```py + >>> RepoUrl('https://huggingface.co/gpt2') + RepoUrl('https://huggingface.co/gpt2', endpoint='https://huggingface.co', repo_type='model', repo_id='gpt2') + + >>> RepoUrl('https://hub-ci.huggingface.co/datasets/dummy_user/dummy_dataset', endpoint='https://hub-ci.huggingface.co') + RepoUrl('https://hub-ci.huggingface.co/datasets/dummy_user/dummy_dataset', endpoint='https://hub-ci.huggingface.co', repo_type='dataset', repo_id='dummy_user/dummy_dataset') + + >>> RepoUrl('hf://datasets/my-user/my-dataset') + RepoUrl('hf://datasets/my-user/my-dataset', endpoint='https://huggingface.co', repo_type='dataset', repo_id='user/dataset') + + >>> HfApi.create_repo("dummy_model") + RepoUrl('https://huggingface.co/Wauplin/dummy_model', endpoint='https://huggingface.co', repo_type='model', repo_id='Wauplin/dummy_model') + ``` + + Raises: + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If URL cannot be parsed. + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If `repo_type` is unknown. + """ + + def __new__(cls, url: Any, endpoint: Optional[str] = None): + return super(RepoUrl, cls).__new__(cls, url) + + def __init__(self, url: Any, endpoint: Optional[str] = None) -> None: + super().__init__() + # Parse URL + self.endpoint = endpoint or ENDPOINT + repo_type, namespace, repo_name = repo_type_and_id_from_hf_id(self, hub_url=self.endpoint) + + # Populate fields + self.namespace = namespace + self.repo_name = repo_name + self.repo_id = repo_name if namespace is None else f"{namespace}/{repo_name}" + self.repo_type = repo_type or REPO_TYPE_MODEL + self.url = str(self) # just in case it's needed + + def __repr__(self) -> str: + return f"RepoUrl('{self}', endpoint='{self.endpoint}', repo_type='{self.repo_type}', repo_id='{self.repo_id}')" + + +@dataclass +class RepoSibling: + """ + Contains basic information about a repo file inside a repo on the Hub. + + + + All attributes of this class are optional except `rfilename`. This is because only the file names are returned when + listing repositories on the Hub (with [`list_models`], [`list_datasets`] or [`list_spaces`]). If you need more + information like file size, blob id or lfs details, you must request them specifically from one repo at a time + (using [`model_info`], [`dataset_info`] or [`space_info`]) as it adds more constraints on the backend server to + retrieve these. + + + + Attributes: + rfilename (str): + file name, relative to the repo root. + size (`int`, *optional*): + The file's size, in bytes. This attribute is defined when `files_metadata` argument of [`repo_info`] is set + to `True`. It's `None` otherwise. + blob_id (`str`, *optional*): + The file's git OID. This attribute is defined when `files_metadata` argument of [`repo_info`] is set to + `True`. It's `None` otherwise. + lfs (`BlobLfsInfo`, *optional*): + The file's LFS metadata. This attribute is defined when`files_metadata` argument of [`repo_info`] is set to + `True` and the file is stored with Git LFS. It's `None` otherwise. + """ + + rfilename: str + size: Optional[int] = None + blob_id: Optional[str] = None + lfs: Optional[BlobLfsInfo] = None + + +@dataclass +class RepoFile: + """ + Contains information about a file on the Hub. + + Attributes: + path (str): + file path relative to the repo root. + size (`int`): + The file's size, in bytes. + blob_id (`str`): + The file's git OID. + lfs (`BlobLfsInfo`): + The file's LFS metadata. + last_commit (`LastCommitInfo`, *optional*): + The file's last commit metadata. Only defined if [`list_files_info`], [`list_repo_tree`] and [`get_paths_info`] + are called with `expand=True`. + security (`BlobSecurityInfo`, *optional*): + The file's security scan metadata. Only defined if [`list_files_info`], [`list_repo_tree`] and [`get_paths_info`] + are called with `expand=True`. + """ + + path: str + size: int + blob_id: str + lfs: Optional[BlobLfsInfo] = None + last_commit: Optional[LastCommitInfo] = None + security: Optional[BlobSecurityInfo] = None + + def __init__(self, **kwargs): + self.path = kwargs.pop("path") + self.size = kwargs.pop("size") + self.blob_id = kwargs.pop("oid") + lfs = kwargs.pop("lfs", None) + if lfs is not None: + lfs = BlobLfsInfo(size=lfs["size"], sha256=lfs["oid"], pointer_size=lfs["pointerSize"]) + self.lfs = lfs + last_commit = kwargs.pop("lastCommit", None) or kwargs.pop("last_commit", None) + if last_commit is not None: + last_commit = LastCommitInfo( + oid=last_commit["id"], title=last_commit["title"], date=parse_datetime(last_commit["date"]) + ) + self.last_commit = last_commit + security = kwargs.pop("security", None) + if security is not None: + security = BlobSecurityInfo( + safe=security["safe"], av_scan=security["avScan"], pickle_import_scan=security["pickleImportScan"] + ) + self.security = security + + # backwards compatibility + self.rfilename = self.path + self.lastCommit = self.last_commit + + +@dataclass +class RepoFolder: + """ + Contains information about a folder on the Hub. + + Attributes: + path (str): + folder path relative to the repo root. + tree_id (`str`): + The folder's git OID. + last_commit (`LastCommitInfo`, *optional*): + The folder's last commit metadata. Only defined if [`list_repo_tree`] and [`get_paths_info`] + are called with `expand=True`. + """ + + path: str + tree_id: str + last_commit: Optional[LastCommitInfo] = None + + def __init__(self, **kwargs): + self.path = kwargs.pop("path") + self.tree_id = kwargs.pop("oid") + last_commit = kwargs.pop("lastCommit", None) or kwargs.pop("last_commit", None) + if last_commit is not None: + last_commit = LastCommitInfo( + oid=last_commit["id"], title=last_commit["title"], date=parse_datetime(last_commit["date"]) + ) + self.last_commit = last_commit + + +@dataclass +class ModelInfo: + """ + Contains information about a model on the Hub. + + + + Most attributes of this class are optional. This is because the data returned by the Hub depends on the query made. + In general, the more specific the query, the more information is returned. On the contrary, when listing models + using [`list_models`] only a subset of the attributes are returned. + + + + Attributes: + id (`str`): + ID of model. + author (`str`, *optional*): + Author of the model. + sha (`str`, *optional*): + Repo SHA at this particular revision. + created_at (`datetime`, *optional*): + Date of creation of the repo on the Hub. Note that the lowest value is `2022-03-02T23:29:04.000Z`, + corresponding to the date when we began to store creation dates. + last_modified (`datetime`, *optional*): + Date of last commit to the repo. + private (`bool`): + Is the repo private. + disabled (`bool`, *optional*): + Is the repo disabled. + gated (`Literal["auto", "manual", False]`, *optional*): + Is the repo gated. + If so, whether there is manual or automatic approval. + downloads (`int`): + Number of downloads of the model. + likes (`int`): + Number of likes of the model. + library_name (`str`, *optional*): + Library associated with the model. + tags (`List[str]`): + List of tags of the model. Compared to `card_data.tags`, contains extra tags computed by the Hub + (e.g. supported libraries, model's arXiv). + pipeline_tag (`str`, *optional*): + Pipeline tag associated with the model. + mask_token (`str`, *optional*): + Mask token used by the model. + widget_data (`Any`, *optional*): + Widget data associated with the model. + model_index (`Dict`, *optional*): + Model index for evaluation. + config (`Dict`, *optional*): + Model configuration. + transformers_info (`TransformersInfo`, *optional*): + Transformers-specific info (auto class, processor, etc.) associated with the model. + card_data (`ModelCardData`, *optional*): + Model Card Metadata as a [`huggingface_hub.repocard_data.ModelCardData`] object. + siblings (`List[RepoSibling]`): + List of [`huggingface_hub.hf_api.RepoSibling`] objects that constitute the model. + spaces (`List[str]`, *optional*): + List of spaces using the model. + safetensors (`SafeTensorsInfo`, *optional*): + Model's safetensors information. + """ + + id: str + author: Optional[str] + sha: Optional[str] + created_at: Optional[datetime] + last_modified: Optional[datetime] + private: bool + gated: Optional[Literal["auto", "manual", False]] + disabled: Optional[bool] + downloads: int + likes: int + library_name: Optional[str] + tags: List[str] + pipeline_tag: Optional[str] + mask_token: Optional[str] + card_data: Optional[ModelCardData] + widget_data: Optional[Any] + model_index: Optional[Dict] + config: Optional[Dict] + transformers_info: Optional[TransformersInfo] + siblings: Optional[List[RepoSibling]] + spaces: Optional[List[str]] + safetensors: Optional[SafeTensorsInfo] + + def __init__(self, **kwargs): + self.id = kwargs.pop("id") + self.author = kwargs.pop("author", None) + self.sha = kwargs.pop("sha", None) + last_modified = kwargs.pop("lastModified", None) or kwargs.pop("last_modified", None) + self.last_modified = parse_datetime(last_modified) if last_modified else None + created_at = kwargs.pop("createdAt", None) or kwargs.pop("created_at", None) + self.created_at = parse_datetime(created_at) if created_at else None + self.private = kwargs.pop("private") + self.gated = kwargs.pop("gated", None) + self.disabled = kwargs.pop("disabled", None) + self.downloads = kwargs.pop("downloads") + self.likes = kwargs.pop("likes") + self.library_name = kwargs.pop("library_name", None) + self.tags = kwargs.pop("tags") + self.pipeline_tag = kwargs.pop("pipeline_tag", None) + self.mask_token = kwargs.pop("mask_token", None) + card_data = kwargs.pop("cardData", None) or kwargs.pop("card_data", None) + self.card_data = ( + ModelCardData(**card_data, ignore_metadata_errors=True) if isinstance(card_data, dict) else card_data + ) + + self.widget_data = kwargs.pop("widget_data", None) + self.model_index = kwargs.pop("model-index", None) or kwargs.pop("model_index", None) + self.config = kwargs.pop("config", None) + transformers_info = kwargs.pop("transformersInfo", None) or kwargs.pop("transformers_info", None) + self.transformers_info = TransformersInfo(**transformers_info) if transformers_info else None + siblings = kwargs.pop("siblings", None) + self.siblings = ( + [ + RepoSibling( + rfilename=sibling["rfilename"], + size=sibling.get("size"), + blob_id=sibling.get("blobId"), + lfs=( + BlobLfsInfo( + size=sibling["lfs"]["size"], + sha256=sibling["lfs"]["sha256"], + pointer_size=sibling["lfs"]["pointerSize"], + ) + if sibling.get("lfs") + else None + ), + ) + for sibling in siblings + ] + if siblings + else None + ) + self.spaces = kwargs.pop("spaces", None) + safetensors = kwargs.pop("safetensors", None) + self.safetensors = SafeTensorsInfo(**safetensors) if safetensors else None + + # backwards compatibility + self.lastModified = self.last_modified + self.cardData = self.card_data + self.transformersInfo = self.transformers_info + self.__dict__.update(**kwargs) + + +@dataclass +class DatasetInfo: + """ + Contains information about a dataset on the Hub. + + + + Most attributes of this class are optional. This is because the data returned by the Hub depends on the query made. + In general, the more specific the query, the more information is returned. On the contrary, when listing datasets + using [`list_datasets`] only a subset of the attributes are returned. + + + + Attributes: + id (`str`): + ID of dataset. + author (`str`): + Author of the dataset. + sha (`str`): + Repo SHA at this particular revision. + created_at (`datetime`, *optional*): + Date of creation of the repo on the Hub. Note that the lowest value is `2022-03-02T23:29:04.000Z`, + corresponding to the date when we began to store creation dates. + last_modified (`datetime`, *optional*): + Date of last commit to the repo. + private (`bool`): + Is the repo private. + disabled (`bool`, *optional*): + Is the repo disabled. + gated (`Literal["auto", "manual", False]`, *optional*): + Is the repo gated. + If so, whether there is manual or automatic approval. + downloads (`int`): + Number of downloads of the dataset. + likes (`int`): + Number of likes of the dataset. + tags (`List[str]`): + List of tags of the dataset. + card_data (`DatasetCardData`, *optional*): + Model Card Metadata as a [`huggingface_hub.repocard_data.DatasetCardData`] object. + siblings (`List[RepoSibling]`): + List of [`huggingface_hub.hf_api.RepoSibling`] objects that constitute the dataset. + """ + + id: str + author: Optional[str] + sha: Optional[str] + created_at: Optional[datetime] + last_modified: Optional[datetime] + private: bool + gated: Optional[Literal["auto", "manual", False]] + disabled: Optional[bool] + downloads: int + likes: int + paperswithcode_id: Optional[str] + tags: List[str] + card_data: Optional[DatasetCardData] + siblings: Optional[List[RepoSibling]] + + def __init__(self, **kwargs): + self.id = kwargs.pop("id") + self.author = kwargs.pop("author", None) + self.sha = kwargs.pop("sha", None) + created_at = kwargs.pop("createdAt", None) or kwargs.pop("created_at", None) + self.created_at = parse_datetime(created_at) if created_at else None + last_modified = kwargs.pop("lastModified", None) or kwargs.pop("last_modified", None) + self.last_modified = parse_datetime(last_modified) if last_modified else None + self.private = kwargs.pop("private") + self.gated = kwargs.pop("gated", None) + self.disabled = kwargs.pop("disabled", None) + self.downloads = kwargs.pop("downloads") + self.likes = kwargs.pop("likes") + self.paperswithcode_id = kwargs.pop("paperswithcode_id", None) + self.tags = kwargs.pop("tags") + card_data = kwargs.pop("cardData", None) or kwargs.pop("card_data", None) + self.card_data = ( + DatasetCardData(**card_data, ignore_metadata_errors=True) if isinstance(card_data, dict) else card_data + ) + siblings = kwargs.pop("siblings", None) + self.siblings = ( + [ + RepoSibling( + rfilename=sibling["rfilename"], + size=sibling.get("size"), + blob_id=sibling.get("blobId"), + lfs=( + BlobLfsInfo( + size=sibling["lfs"]["size"], + sha256=sibling["lfs"]["sha256"], + pointer_size=sibling["lfs"]["pointerSize"], + ) + if sibling.get("lfs") + else None + ), + ) + for sibling in siblings + ] + if siblings + else None + ) + + # backwards compatibility + self.lastModified = self.last_modified + self.cardData = self.card_data + self.__dict__.update(**kwargs) + + +@dataclass +class SpaceInfo: + """ + Contains information about a Space on the Hub. + + + + Most attributes of this class are optional. This is because the data returned by the Hub depends on the query made. + In general, the more specific the query, the more information is returned. On the contrary, when listing spaces + using [`list_spaces`] only a subset of the attributes are returned. + + + + Attributes: + id (`str`): + ID of the Space. + author (`str`, *optional*): + Author of the Space. + sha (`str`, *optional*): + Repo SHA at this particular revision. + created_at (`datetime`, *optional*): + Date of creation of the repo on the Hub. Note that the lowest value is `2022-03-02T23:29:04.000Z`, + corresponding to the date when we began to store creation dates. + last_modified (`datetime`, *optional*): + Date of last commit to the repo. + private (`bool`): + Is the repo private. + gated (`Literal["auto", "manual", False]`, *optional*): + Is the repo gated. + If so, whether there is manual or automatic approval. + disabled (`bool`, *optional*): + Is the Space disabled. + host (`str`, *optional*): + Host URL of the Space. + subdomain (`str`, *optional*): + Subdomain of the Space. + likes (`int`): + Number of likes of the Space. + tags (`List[str]`): + List of tags of the Space. + siblings (`List[RepoSibling]`): + List of [`huggingface_hub.hf_api.RepoSibling`] objects that constitute the Space. + card_data (`SpaceCardData`, *optional*): + Space Card Metadata as a [`huggingface_hub.repocard_data.SpaceCardData`] object. + runtime (`SpaceRuntime`, *optional*): + Space runtime information as a [`huggingface_hub.hf_api.SpaceRuntime`] object. + sdk (`str`, *optional*): + SDK used by the Space. + models (`List[str]`, *optional*): + List of models used by the Space. + datasets (`List[str]`, *optional*): + List of datasets used by the Space. + """ + + id: str + author: Optional[str] + sha: Optional[str] + created_at: Optional[datetime] + last_modified: Optional[datetime] + private: bool + gated: Optional[Literal["auto", "manual", False]] + disabled: Optional[bool] + host: Optional[str] + subdomain: Optional[str] + likes: int + sdk: Optional[str] + tags: List[str] + siblings: Optional[List[RepoSibling]] + card_data: Optional[SpaceCardData] + runtime: Optional[SpaceRuntime] + models: Optional[List[str]] + datasets: Optional[List[str]] + + def __init__(self, **kwargs): + self.id = kwargs.pop("id") + self.author = kwargs.pop("author", None) + self.sha = kwargs.pop("sha", None) + created_at = kwargs.pop("createdAt", None) or kwargs.pop("created_at", None) + self.created_at = parse_datetime(created_at) if created_at else None + last_modified = kwargs.pop("lastModified", None) or kwargs.pop("last_modified", None) + self.last_modified = parse_datetime(last_modified) if last_modified else None + self.private = kwargs.pop("private") + self.gated = kwargs.pop("gated", None) + self.disabled = kwargs.pop("disabled", None) + self.host = kwargs.pop("host", None) + self.subdomain = kwargs.pop("subdomain", None) + self.likes = kwargs.pop("likes") + self.sdk = kwargs.pop("sdk", None) + self.tags = kwargs.pop("tags") + card_data = kwargs.pop("cardData", None) or kwargs.pop("card_data", None) + self.card_data = ( + SpaceCardData(**card_data, ignore_metadata_errors=True) if isinstance(card_data, dict) else card_data + ) + siblings = kwargs.pop("siblings", None) + self.siblings = ( + [ + RepoSibling( + rfilename=sibling["rfilename"], + size=sibling.get("size"), + blob_id=sibling.get("blobId"), + lfs=( + BlobLfsInfo( + size=sibling["lfs"]["size"], + sha256=sibling["lfs"]["sha256"], + pointer_size=sibling["lfs"]["pointerSize"], + ) + if sibling.get("lfs") + else None + ), + ) + for sibling in siblings + ] + if siblings + else None + ) + runtime = kwargs.pop("runtime", None) + self.runtime = SpaceRuntime(runtime) if runtime else None + self.models = kwargs.pop("models", None) + self.datasets = kwargs.pop("datasets", None) + + # backwards compatibility + self.lastModified = self.last_modified + self.cardData = self.card_data + self.__dict__.update(**kwargs) + + +@dataclass +class MetricInfo: + """ + Contains information about a metric on the Hub. + + Attributes: + id (`str`): + ID of the metric. E.g. `"accuracy"`. + space_id (`str`): + ID of the space associated with the metric. E.g. `"Accuracy"`. + description (`str`): + Description of the metric. + """ + + id: str + space_id: str + description: Optional[str] + + def __init__(self, **kwargs): + self.id = kwargs.pop("id") + self.space_id = kwargs.pop("spaceId") + self.description = kwargs.pop("description", None) + # backwards compatibility + self.spaceId = self.space_id + self.__dict__.update(**kwargs) + + +@dataclass +class CollectionItem: + """ + Contains information about an item of a Collection (model, dataset, Space or paper). + + Attributes: + item_object_id (`str`): + Unique ID of the item in the collection. + item_id (`str`): + ID of the underlying object on the Hub. Can be either a repo_id or a paper id + e.g. `"jbilcke-hf/ai-comic-factory"`, `"2307.09288"`. + item_type (`str`): + Type of the underlying object. Can be one of `"model"`, `"dataset"`, `"space"` or `"paper"`. + position (`int`): + Position of the item in the collection. + note (`str`, *optional*): + Note associated with the item, as plain text. + """ + + item_object_id: str # id in database + item_id: str # repo_id or paper id + item_type: str + position: int + note: Optional[str] = None + + def __init__( + self, _id: str, id: str, type: CollectionItemType_T, position: int, note: Optional[Dict] = None, **kwargs + ) -> None: + self.item_object_id: str = _id # id in database + self.item_id: str = id # repo_id or paper id + self.item_type: CollectionItemType_T = type + self.position: int = position + self.note: str = note["text"] if note is not None else None + + +@dataclass +class Collection: + """ + Contains information about a Collection on the Hub. + + Attributes: + slug (`str`): + Slug of the collection. E.g. `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`. + title (`str`): + Title of the collection. E.g. `"Recent models"`. + owner (`str`): + Owner of the collection. E.g. `"TheBloke"`. + items (`List[CollectionItem]`): + List of items in the collection. + last_updated (`datetime`): + Date of the last update of the collection. + position (`int`): + Position of the collection in the list of collections of the owner. + private (`bool`): + Whether the collection is private or not. + theme (`str`): + Theme of the collection. E.g. `"green"`. + upvotes (`int`): + Number of upvotes of the collection. + description (`str`, *optional*): + Description of the collection, as plain text. + url (`str`): + (property) URL of the collection on the Hub. + """ + + slug: str + title: str + owner: str + items: List[CollectionItem] + last_updated: datetime + position: int + private: bool + theme: str + upvotes: int + description: Optional[str] = None + + def __init__(self, **kwargs) -> None: + self.slug = kwargs.pop("slug") + self.title = kwargs.pop("title") + self.owner = kwargs.pop("owner") + self.items = [CollectionItem(**item) for item in kwargs.pop("items")] + self.last_updated = parse_datetime(kwargs.pop("lastUpdated")) + self.position = kwargs.pop("position") + self.private = kwargs.pop("private") + self.theme = kwargs.pop("theme") + self.upvotes = kwargs.pop("upvotes") + self.description = kwargs.pop("description", None) + endpoint = kwargs.pop("endpoint", None) + if endpoint is None: + endpoint = ENDPOINT + self._url = f"{endpoint}/collections/{self.slug}" + + @property + def url(self) -> str: + """Returns the URL of the collection on the Hub.""" + return self._url + + +@dataclass +class GitRefInfo: + """ + Contains information about a git reference for a repo on the Hub. + + Attributes: + name (`str`): + Name of the reference (e.g. tag name or branch name). + ref (`str`): + Full git ref on the Hub (e.g. `"refs/heads/main"` or `"refs/tags/v1.0"`). + target_commit (`str`): + OID of the target commit for the ref (e.g. `"e7da7f221d5bf496a48136c0cd264e630fe9fcc8"`) + """ + + name: str + ref: str + target_commit: str + + +@dataclass +class GitRefs: + """ + Contains information about all git references for a repo on the Hub. + + Object is returned by [`list_repo_refs`]. + + Attributes: + branches (`List[GitRefInfo]`): + A list of [`GitRefInfo`] containing information about branches on the repo. + converts (`List[GitRefInfo]`): + A list of [`GitRefInfo`] containing information about "convert" refs on the repo. + Converts are refs used (internally) to push preprocessed data in Dataset repos. + tags (`List[GitRefInfo]`): + A list of [`GitRefInfo`] containing information about tags on the repo. + pull_requests (`List[GitRefInfo]`, *optional*): + A list of [`GitRefInfo`] containing information about pull requests on the repo. + Only returned if `include_prs=True` is set. + """ + + branches: List[GitRefInfo] + converts: List[GitRefInfo] + tags: List[GitRefInfo] + pull_requests: Optional[List[GitRefInfo]] + + +@dataclass +class GitCommitInfo: + """ + Contains information about a git commit for a repo on the Hub. Check out [`list_repo_commits`] for more details. + + Attributes: + commit_id (`str`): + OID of the commit (e.g. `"e7da7f221d5bf496a48136c0cd264e630fe9fcc8"`) + authors (`List[str]`): + List of authors of the commit. + created_at (`datetime`): + Datetime when the commit was created. + title (`str`): + Title of the commit. This is a free-text value entered by the authors. + message (`str`): + Description of the commit. This is a free-text value entered by the authors. + formatted_title (`str`): + Title of the commit formatted as HTML. Only returned if `formatted=True` is set. + formatted_message (`str`): + Description of the commit formatted as HTML. Only returned if `formatted=True` is set. + """ + + commit_id: str + + authors: List[str] + created_at: datetime + title: str + message: str + + formatted_title: Optional[str] + formatted_message: Optional[str] + + +@dataclass +class UserLikes: + """ + Contains information about a user likes on the Hub. + + Attributes: + user (`str`): + Name of the user for which we fetched the likes. + total (`int`): + Total number of likes. + datasets (`List[str]`): + List of datasets liked by the user (as repo_ids). + models (`List[str]`): + List of models liked by the user (as repo_ids). + spaces (`List[str]`): + List of spaces liked by the user (as repo_ids). + """ + + # Metadata + user: str + total: int + + # User likes + datasets: List[str] + models: List[str] + spaces: List[str] + + +@dataclass +class User: + """ + Contains information about a user on the Hub. + + Attributes: + avatar_url (`str`): + URL of the user's avatar. + username (`str`): + Name of the user on the Hub (unique). + fullname (`str`): + User's full name. + """ + + # Metadata + avatar_url: str + username: str + fullname: str + + +def future_compatible(fn: CallableT) -> CallableT: + """Wrap a method of `HfApi` to handle `run_as_future=True`. + + A method flagged as "future_compatible" will be called in a thread if `run_as_future=True` and return a + `concurrent.futures.Future` instance. Otherwise, it will be called normally and return the result. + """ + sig = inspect.signature(fn) + args_params = list(sig.parameters)[1:] # remove "self" from list + + @wraps(fn) + def _inner(self, *args, **kwargs): + # Get `run_as_future` value if provided (default to False) + if "run_as_future" in kwargs: + run_as_future = kwargs["run_as_future"] + kwargs["run_as_future"] = False # avoid recursion error + else: + run_as_future = False + for param, value in zip(args_params, args): + if param == "run_as_future": + run_as_future = value + break + + # Call the function in a thread if `run_as_future=True` + if run_as_future: + return self.run_as_future(fn, self, *args, **kwargs) + + # Otherwise, call the function normally + return fn(self, *args, **kwargs) + + _inner.is_future_compatible = True # type: ignore + return _inner # type: ignore + + +class HfApi: + def __init__( + self, + endpoint: Optional[str] = None, + token: Optional[str] = None, + library_name: Optional[str] = None, + library_version: Optional[str] = None, + user_agent: Union[Dict, str, None] = None, + ) -> None: + """Create a HF client to interact with the Hub via HTTP. + + The client is initialized with some high-level settings used in all requests + made to the Hub (HF endpoint, authentication, user agents...). Using the `HfApi` + client is preferred but not mandatory as all of its public methods are exposed + directly at the root of `huggingface_hub`. + + Args: + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if + not provided. + library_name (`str`, *optional*): + The name of the library that is making the HTTP request. Will be added to + the user-agent header. Example: `"transformers"`. + library_version (`str`, *optional*): + The version of the library that is making the HTTP request. Will be added + to the user-agent header. Example: `"4.24.0"`. + user_agent (`str`, `dict`, *optional*): + The user agent info in the form of a dictionary or a single string. It will + be completed with information about the installed packages. + """ + self.endpoint = endpoint if endpoint is not None else ENDPOINT + self.token = token + self.library_name = library_name + self.library_version = library_version + self.user_agent = user_agent + self._thread_pool: Optional[ThreadPoolExecutor] = None + + def run_as_future(self, fn: Callable[..., R], *args, **kwargs) -> Future[R]: + """ + Run a method in the background and return a Future instance. + + The main goal is to run methods without blocking the main thread (e.g. to push data during a training). + Background jobs are queued to preserve order but are not ran in parallel. If you need to speed-up your scripts + by parallelizing lots of call to the API, you must setup and use your own [ThreadPoolExecutor](https://docs.python.org/3/library/concurrent.futures.html#threadpoolexecutor). + + Note: Most-used methods like [`upload_file`], [`upload_folder`] and [`create_commit`] have a `run_as_future: bool` + argument to directly call them in the background. This is equivalent to calling `api.run_as_future(...)` on them + but less verbose. + + Args: + fn (`Callable`): + The method to run in the background. + *args, **kwargs: + Arguments with which the method will be called. + + Return: + `Future`: a [Future](https://docs.python.org/3/library/concurrent.futures.html#future-objects) instance to + get the result of the task. + + Example: + ```py + >>> from huggingface_hub import HfApi + >>> api = HfApi() + >>> future = api.run_as_future(api.whoami) # instant + >>> future.done() + False + >>> future.result() # wait until complete and return result + (...) + >>> future.done() + True + ``` + """ + if self._thread_pool is None: + self._thread_pool = ThreadPoolExecutor(max_workers=1) + self._thread_pool + return self._thread_pool.submit(fn, *args, **kwargs) + + @validate_hf_hub_args + def whoami(self, token: Optional[str] = None) -> Dict: + """ + Call HF API to know "whoami". + + Args: + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if + not provided. + """ + r = get_session().get( + f"{self.endpoint}/api/whoami-v2", + headers=self._build_hf_headers( + # If `token` is provided and not `None`, it will be used by default. + # Otherwise, the token must be retrieved from cache or env variable. + token=(token or self.token or True), + ), + ) + try: + hf_raise_for_status(r) + except HTTPError as e: + raise HTTPError( + "Invalid user token. If you didn't pass a user token, make sure you " + "are properly logged in by executing `huggingface-cli login`, and " + "if you did pass a user token, double-check it's correct.", + request=e.request, + response=e.response, + ) from e + return r.json() + + def get_token_permission(self, token: Optional[str] = None) -> Literal["read", "write", None]: + """ + Check if a given `token` is valid and return its permissions. + + For more details about tokens, please refer to https://huggingface.co/docs/hub/security-tokens#what-are-user-access-tokens. + + Args: + token (`str`, *optional*): + The token to check for validity. Defaults to the one saved locally. + + Returns: + `Literal["read", "write", None]`: Permission granted by the token ("read" or "write"). Returns `None` if no + token passed or token is invalid. + """ + try: + return self.whoami(token=token)["auth"]["accessToken"]["role"] + except (LocalTokenNotFoundError, HTTPError): + return None + + def get_model_tags(self) -> Dict: + """ + List all valid model tags as a nested namespace object + """ + path = f"{self.endpoint}/api/models-tags-by-type" + r = get_session().get(path) + hf_raise_for_status(r) + return r.json() + + def get_dataset_tags(self) -> Dict: + """ + List all valid dataset tags as a nested namespace object. + """ + path = f"{self.endpoint}/api/datasets-tags-by-type" + r = get_session().get(path) + hf_raise_for_status(r) + return r.json() + + @validate_hf_hub_args + def list_models( + self, + *, + filter: Union[ModelFilter, str, Iterable[str], None] = None, + author: Optional[str] = None, + search: Optional[str] = None, + emissions_thresholds: Optional[Tuple[float, float]] = None, + sort: Union[Literal["last_modified"], str, None] = None, + direction: Optional[Literal[-1]] = None, + limit: Optional[int] = None, + full: Optional[bool] = None, + cardData: bool = False, + fetch_config: bool = False, + token: Optional[Union[bool, str]] = None, + ) -> Iterable[ModelInfo]: + """ + List models hosted on the Huggingface Hub, given some filters. + + Args: + filter ([`ModelFilter`] or `str` or `Iterable`, *optional*): + A string or [`ModelFilter`] which can be used to identify models + on the Hub. + author (`str`, *optional*): + A string which identify the author (user or organization) of the + returned models + search (`str`, *optional*): + A string that will be contained in the returned model ids. + emissions_thresholds (`Tuple`, *optional*): + A tuple of two ints or floats representing a minimum and maximum + carbon footprint to filter the resulting models with in grams. + sort (`Literal["last_modified"]` or `str`, *optional*): + The key with which to sort the resulting models. Possible values + are the properties of the [`huggingface_hub.hf_api.ModelInfo`] class. + direction (`Literal[-1]` or `int`, *optional*): + Direction in which to sort. The value `-1` sorts by descending + order while all other values sort by ascending order. + limit (`int`, *optional*): + The limit on the number of models fetched. Leaving this option + to `None` fetches all models. + full (`bool`, *optional*): + Whether to fetch all model data, including the `last_modified`, + the `sha`, the files and the `tags`. This is set to `True` by + default when using a filter. + cardData (`bool`, *optional*): + Whether to grab the metadata for the model as well. Can contain + useful information such as carbon emissions, metrics, and + datasets trained on. + fetch_config (`bool`, *optional*): + Whether to fetch the model configs as well. This is not included + in `full` due to its size. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + `Iterable[ModelInfo]`: an iterable of [`huggingface_hub.hf_api.ModelInfo`] objects. + + Example usage with the `filter` argument: + + ```python + >>> from huggingface_hub import HfApi + + >>> api = HfApi() + + >>> # List all models + >>> api.list_models() + + >>> # List only the text classification models + >>> api.list_models(filter="text-classification") + >>> # Using the `ModelFilter` + >>> filt = ModelFilter(task="text-classification") + + + >>> # List only models from the AllenNLP library + >>> api.list_models(filter="allennlp") + ``` + + Example usage with the `search` argument: + + ```python + >>> from huggingface_hub import HfApi + + >>> api = HfApi() + + >>> # List all models with "bert" in their name + >>> api.list_models(search="bert") + + >>> # List all models with "bert" in their name made by google + >>> api.list_models(search="bert", author="google") + ``` + """ + if emissions_thresholds is not None and cardData is None: + raise ValueError("`emissions_thresholds` were passed without setting `cardData=True`.") + + path = f"{self.endpoint}/api/models" + headers = self._build_hf_headers(token=token) + params = {} + if filter is not None: + if isinstance(filter, ModelFilter): + params = self._unpack_model_filter(filter) + else: + params.update({"filter": filter}) + params.update({"full": True}) + if author is not None: + params.update({"author": author}) + if search is not None: + params.update({"search": search}) + if sort is not None: + params.update({"sort": "lastModified" if sort == "last_modified" else sort}) + if direction is not None: + params.update({"direction": direction}) + if limit is not None: + params.update({"limit": limit}) + if full is not None: + if full: + params.update({"full": True}) + elif "full" in params: + del params["full"] + if fetch_config: + params.update({"config": True}) + if cardData: + params.update({"cardData": True}) + + # `items` is a generator + items = paginate(path, params=params, headers=headers) + if limit is not None: + items = islice(items, limit) # Do not iterate over all pages + for item in items: + if "siblings" not in item: + item["siblings"] = None + model_info = ModelInfo(**item) + if emissions_thresholds is None or _is_emission_within_treshold(model_info, *emissions_thresholds): + yield model_info + + def _unpack_model_filter(self, model_filter: ModelFilter): + """ + Unpacks a [`ModelFilter`] into something readable for `list_models` + """ + model_str = "" + + # Handling author + if model_filter.author is not None: + model_str = f"{model_filter.author}/" + + # Handling model_name + if model_filter.model_name is not None: + model_str += model_filter.model_name + + filter_list: List[str] = [] + + # Handling tasks + if model_filter.task is not None: + filter_list.extend([model_filter.task] if isinstance(model_filter.task, str) else model_filter.task) + + # Handling dataset + if model_filter.trained_dataset is not None: + if not isinstance(model_filter.trained_dataset, (list, tuple)): + model_filter.trained_dataset = [model_filter.trained_dataset] + for dataset in model_filter.trained_dataset: + if "dataset:" not in dataset: + dataset = f"dataset:{dataset}" + filter_list.append(dataset) + + # Handling library + if model_filter.library: + filter_list.extend( + [model_filter.library] if isinstance(model_filter.library, str) else model_filter.library + ) + + # Handling tags + if model_filter.tags: + filter_list.extend([model_filter.tags] if isinstance(model_filter.tags, str) else model_filter.tags) + + query_dict: Dict[str, Any] = {} + if model_str is not None: + query_dict["search"] = model_str + if isinstance(model_filter.language, list): + filter_list.extend(model_filter.language) + elif isinstance(model_filter.language, str): + filter_list.append(model_filter.language) + query_dict["filter"] = tuple(filter_list) + return query_dict + + @validate_hf_hub_args + def list_datasets( + self, + *, + filter: Union[DatasetFilter, str, Iterable[str], None] = None, + author: Optional[str] = None, + search: Optional[str] = None, + sort: Union[Literal["last_modified"], str, None] = None, + direction: Optional[Literal[-1]] = None, + limit: Optional[int] = None, + full: Optional[bool] = None, + token: Optional[str] = None, + ) -> Iterable[DatasetInfo]: + """ + List datasets hosted on the Huggingface Hub, given some filters. + + Args: + filter ([`DatasetFilter`] or `str` or `Iterable`, *optional*): + A string or [`DatasetFilter`] which can be used to identify + datasets on the hub. + author (`str`, *optional*): + A string which identify the author of the returned datasets. + search (`str`, *optional*): + A string that will be contained in the returned datasets. + sort (`Literal["last_modified"]` or `str`, *optional*): + The key with which to sort the resulting datasets. Possible + values are the properties of the [`huggingface_hub.hf_api.DatasetInfo`] class. + direction (`Literal[-1]` or `int`, *optional*): + Direction in which to sort. The value `-1` sorts by descending + order while all other values sort by ascending order. + limit (`int`, *optional*): + The limit on the number of datasets fetched. Leaving this option + to `None` fetches all datasets. + full (`bool`, *optional*): + Whether to fetch all dataset data, including the `last_modified`, + the `card_data` and the files. Can contain useful information such as the + PapersWithCode ID. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + `Iterable[DatasetInfo]`: an iterable of [`huggingface_hub.hf_api.DatasetInfo`] objects. + + Example usage with the `filter` argument: + + ```python + >>> from huggingface_hub import HfApi + + >>> api = HfApi() + + >>> # List all datasets + >>> api.list_datasets() + + + >>> # List only the text classification datasets + >>> api.list_datasets(filter="task_categories:text-classification") + >>> # Using the `DatasetFilter` + >>> filt = DatasetFilter(task_categories="text-classification") + + + >>> # List only the datasets in russian for language modeling + >>> api.list_datasets( + ... filter=("language:ru", "task_ids:language-modeling") + ... ) + >>> # Using the `DatasetFilter` + >>> filt = DatasetFilter(language="ru", task_ids="language-modeling") + + >>> api.list_datasets(filter=filt) + ``` + + Example usage with the `search` argument: + + ```python + >>> from huggingface_hub import HfApi + + >>> api = HfApi() + + >>> # List all datasets with "text" in their name + >>> api.list_datasets(search="text") + + >>> # List all datasets with "text" in their name made by google + >>> api.list_datasets(search="text", author="google") + ``` + """ + path = f"{self.endpoint}/api/datasets" + headers = self._build_hf_headers(token=token) + params = {} + if filter is not None: + if isinstance(filter, DatasetFilter): + params = self._unpack_dataset_filter(filter) + else: + params.update({"filter": filter}) + if author is not None: + params.update({"author": author}) + if search is not None: + params.update({"search": search}) + if sort is not None: + params.update({"sort": "lastModified" if sort == "last_modified" else sort}) + if direction is not None: + params.update({"direction": direction}) + if limit is not None: + params.update({"limit": limit}) + if full: + params.update({"full": True}) + + items = paginate(path, params=params, headers=headers) + if limit is not None: + items = islice(items, limit) # Do not iterate over all pages + for item in items: + if "siblings" not in item: + item["siblings"] = None + yield DatasetInfo(**item) + + def _unpack_dataset_filter(self, dataset_filter: DatasetFilter): + """ + Unpacks a [`DatasetFilter`] into something readable for `list_datasets` + """ + dataset_str = "" + + # Handling author + if dataset_filter.author is not None: + dataset_str = f"{dataset_filter.author}/" + + # Handling dataset_name + if dataset_filter.dataset_name is not None: + dataset_str += dataset_filter.dataset_name + + filter_list = [] + data_attributes = [ + "benchmark", + "language_creators", + "language", + "multilinguality", + "size_categories", + "task_categories", + "task_ids", + ] + + for attr in data_attributes: + curr_attr = getattr(dataset_filter, attr) + if curr_attr is not None: + if not isinstance(curr_attr, (list, tuple)): + curr_attr = [curr_attr] + for data in curr_attr: + if f"{attr}:" not in data: + data = f"{attr}:{data}" + filter_list.append(data) + + query_dict: Dict[str, Any] = {} + if dataset_str is not None: + query_dict["search"] = dataset_str + query_dict["filter"] = tuple(filter_list) + return query_dict + + def list_metrics(self) -> List[MetricInfo]: + """ + Get the public list of all the metrics on huggingface.co + + Returns: + `List[MetricInfo]`: a list of [`MetricInfo`] objects which. + """ + path = f"{self.endpoint}/api/metrics" + r = get_session().get(path) + hf_raise_for_status(r) + d = r.json() + return [MetricInfo(**x) for x in d] + + @validate_hf_hub_args + def list_spaces( + self, + *, + filter: Union[str, Iterable[str], None] = None, + author: Optional[str] = None, + search: Optional[str] = None, + sort: Union[Literal["last_modified"], str, None] = None, + direction: Optional[Literal[-1]] = None, + limit: Optional[int] = None, + datasets: Union[str, Iterable[str], None] = None, + models: Union[str, Iterable[str], None] = None, + linked: bool = False, + full: Optional[bool] = None, + token: Optional[str] = None, + ) -> Iterable[SpaceInfo]: + """ + List spaces hosted on the Huggingface Hub, given some filters. + + Args: + filter (`str` or `Iterable`, *optional*): + A string tag or list of tags that can be used to identify Spaces on the Hub. + author (`str`, *optional*): + A string which identify the author of the returned Spaces. + search (`str`, *optional*): + A string that will be contained in the returned Spaces. + sort (`Literal["last_modified"]` or `str`, *optional*): + The key with which to sort the resulting Spaces. Possible + values are the properties of the [`huggingface_hub.hf_api.SpaceInfo`]` class. + direction (`Literal[-1]` or `int`, *optional*): + Direction in which to sort. The value `-1` sorts by descending + order while all other values sort by ascending order. + limit (`int`, *optional*): + The limit on the number of Spaces fetched. Leaving this option + to `None` fetches all Spaces. + datasets (`str` or `Iterable`, *optional*): + Whether to return Spaces that make use of a dataset. + The name of a specific dataset can be passed as a string. + models (`str` or `Iterable`, *optional*): + Whether to return Spaces that make use of a model. + The name of a specific model can be passed as a string. + linked (`bool`, *optional*): + Whether to return Spaces that make use of either a model or a dataset. + full (`bool`, *optional*): + Whether to fetch all Spaces data, including the `last_modified`, `siblings` + and `card_data` fields. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + `Iterable[SpaceInfo]`: an iterable of [`huggingface_hub.hf_api.SpaceInfo`] objects. + """ + path = f"{self.endpoint}/api/spaces" + headers = self._build_hf_headers(token=token) + params: Dict[str, Any] = {} + if filter is not None: + params.update({"filter": filter}) + if author is not None: + params.update({"author": author}) + if search is not None: + params.update({"search": search}) + if sort is not None: + params.update({"sort": "lastModified" if sort == "last_modified" else sort}) + if direction is not None: + params.update({"direction": direction}) + if limit is not None: + params.update({"limit": limit}) + if full: + params.update({"full": True}) + if linked: + params.update({"linked": True}) + if datasets is not None: + params.update({"datasets": datasets}) + if models is not None: + params.update({"models": models}) + + items = paginate(path, params=params, headers=headers) + if limit is not None: + items = islice(items, limit) # Do not iterate over all pages + for item in items: + if "siblings" not in item: + item["siblings"] = None + yield SpaceInfo(**item) + + @validate_hf_hub_args + def like( + self, + repo_id: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> None: + """ + Like a given repo on the Hub (e.g. set as favorite). + + See also [`unlike`] and [`list_liked_repos`]. + + Args: + repo_id (`str`): + The repository to like. Example: `"user/my-cool-model"`. + + token (`str`, *optional*): + Authentication token. Will default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if liking a dataset or space, `None` or + `"model"` if liking a model. Default is `None`. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private + but not authenticated or repo does not exist. + + Example: + ```python + >>> from huggingface_hub import like, list_liked_repos, unlike + >>> like("gpt2") + >>> "gpt2" in list_liked_repos().models + True + >>> unlike("gpt2") + >>> "gpt2" in list_liked_repos().models + False + ``` + """ + if repo_type is None: + repo_type = REPO_TYPE_MODEL + response = get_session().post( + url=f"{self.endpoint}/api/{repo_type}s/{repo_id}/like", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(response) + + @validate_hf_hub_args + def unlike( + self, + repo_id: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> None: + """ + Unlike a given repo on the Hub (e.g. remove from favorite list). + + See also [`like`] and [`list_liked_repos`]. + + Args: + repo_id (`str`): + The repository to unlike. Example: `"user/my-cool-model"`. + + token (`str`, *optional*): + Authentication token. Will default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if unliking a dataset or space, `None` or + `"model"` if unliking a model. Default is `None`. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private + but not authenticated or repo does not exist. + + Example: + ```python + >>> from huggingface_hub import like, list_liked_repos, unlike + >>> like("gpt2") + >>> "gpt2" in list_liked_repos().models + True + >>> unlike("gpt2") + >>> "gpt2" in list_liked_repos().models + False + ``` + """ + if repo_type is None: + repo_type = REPO_TYPE_MODEL + response = get_session().delete( + url=f"{self.endpoint}/api/{repo_type}s/{repo_id}/like", headers=self._build_hf_headers(token=token) + ) + hf_raise_for_status(response) + + @validate_hf_hub_args + def list_liked_repos( + self, + user: Optional[str] = None, + *, + token: Optional[str] = None, + ) -> UserLikes: + """ + List all public repos liked by a user on huggingface.co. + + This list is public so token is optional. If `user` is not passed, it defaults to + the logged in user. + + See also [`like`] and [`unlike`]. + + Args: + user (`str`, *optional*): + Name of the user for which you want to fetch the likes. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + Used only if `user` is not passed to implicitly determine the current + user name. + + Returns: + [`UserLikes`]: object containing the user name and 3 lists of repo ids (1 for + models, 1 for datasets and 1 for Spaces). + + Raises: + [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If `user` is not passed and no token found (either from argument or from machine). + + Example: + ```python + >>> from huggingface_hub import list_liked_repos + + >>> likes = list_liked_repos("julien-c") + + >>> likes.user + "julien-c" + + >>> likes.models + ["osanseviero/streamlit_1.15", "Xhaheen/ChatGPT_HF", ...] + ``` + """ + # User is either provided explicitly or retrieved from current token. + if user is None: + me = self.whoami(token=token) + if me["type"] == "user": + user = me["name"] + else: + raise ValueError( + "Cannot list liked repos. You must provide a 'user' as input or be logged in as a user." + ) + + path = f"{self.endpoint}/api/users/{user}/likes" + headers = self._build_hf_headers(token=token) + + likes = list(paginate(path, params={}, headers=headers)) + # Looping over a list of items similar to: + # { + # 'createdAt': '2021-09-09T21:53:27.000Z', + # 'repo': { + # 'name': 'PaddlePaddle/PaddleOCR', + # 'type': 'space' + # } + # } + # Let's loop 3 times over the received list. Less efficient but more straightforward to read. + return UserLikes( + user=user, + total=len(likes), + models=[like["repo"]["name"] for like in likes if like["repo"]["type"] == "model"], + datasets=[like["repo"]["name"] for like in likes if like["repo"]["type"] == "dataset"], + spaces=[like["repo"]["name"] for like in likes if like["repo"]["type"] == "space"], + ) + + @validate_hf_hub_args + def list_repo_likers( + self, + repo_id: str, + *, + repo_type: Optional[str] = None, + token: Optional[str] = None, + ) -> List[User]: + """ + List all users who liked a given repo on the hugging Face Hub. + + See also [`like`] and [`list_liked_repos`]. + + Args: + repo_id (`str`): + The repository to retrieve . Example: `"user/my-cool-model"`. + + token (`str`, *optional*): + Authentication token. Will default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + + Returns: + `List[User]`: a list of [`User`] objects. + """ + + # Construct the API endpoint + if repo_type is None: + repo_type = REPO_TYPE_MODEL + path = f"{self.endpoint}/api/{repo_type}s/{repo_id}/likers" + headers = self._build_hf_headers(token=token) + + # Make the request + response = get_session().get(path, headers=headers) + hf_raise_for_status(response) + + # Parse the results into User objects + likers_data = response.json() + return [ + User( + username=user_data["user"], + fullname=user_data["fullname"], + avatar_url=user_data["avatarUrl"], + ) + for user_data in likers_data + ] + + @validate_hf_hub_args + def model_info( + self, + repo_id: str, + *, + revision: Optional[str] = None, + timeout: Optional[float] = None, + securityStatus: Optional[bool] = None, + files_metadata: bool = False, + token: Optional[Union[bool, str]] = None, + ) -> ModelInfo: + """ + Get info on one specific model on huggingface.co + + Model can be private if you pass an acceptable token or are logged in. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + revision (`str`, *optional*): + The revision of the model repository from which to get the + information. + timeout (`float`, *optional*): + Whether to set a timeout for the request to the Hub. + securityStatus (`bool`, *optional*): + Whether to retrieve the security status from the model + repository as well. + files_metadata (`bool`, *optional*): + Whether or not to retrieve metadata for files in the repository + (size, LFS metadata, etc). Defaults to `False`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + [`huggingface_hub.hf_api.ModelInfo`]: The model repository information. + + + + Raises the following errors: + + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + + + """ + headers = self._build_hf_headers(token=token) + path = ( + f"{self.endpoint}/api/models/{repo_id}" + if revision is None + else (f"{self.endpoint}/api/models/{repo_id}/revision/{quote(revision, safe='')}") + ) + params = {} + if securityStatus: + params["securityStatus"] = True + if files_metadata: + params["blobs"] = True + r = get_session().get(path, headers=headers, timeout=timeout, params=params) + hf_raise_for_status(r) + data = r.json() + return ModelInfo(**data) + + @validate_hf_hub_args + def dataset_info( + self, + repo_id: str, + *, + revision: Optional[str] = None, + timeout: Optional[float] = None, + files_metadata: bool = False, + token: Optional[Union[bool, str]] = None, + ) -> DatasetInfo: + """ + Get info on one specific dataset on huggingface.co. + + Dataset can be private if you pass an acceptable token. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + revision (`str`, *optional*): + The revision of the dataset repository from which to get the + information. + timeout (`float`, *optional*): + Whether to set a timeout for the request to the Hub. + files_metadata (`bool`, *optional*): + Whether or not to retrieve metadata for files in the repository + (size, LFS metadata, etc). Defaults to `False`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + [`hf_api.DatasetInfo`]: The dataset repository information. + + + + Raises the following errors: + + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + + + """ + headers = self._build_hf_headers(token=token) + path = ( + f"{self.endpoint}/api/datasets/{repo_id}" + if revision is None + else (f"{self.endpoint}/api/datasets/{repo_id}/revision/{quote(revision, safe='')}") + ) + params = {} + if files_metadata: + params["blobs"] = True + + r = get_session().get(path, headers=headers, timeout=timeout, params=params) + hf_raise_for_status(r) + data = r.json() + return DatasetInfo(**data) + + @validate_hf_hub_args + def space_info( + self, + repo_id: str, + *, + revision: Optional[str] = None, + timeout: Optional[float] = None, + files_metadata: bool = False, + token: Optional[Union[bool, str]] = None, + ) -> SpaceInfo: + """ + Get info on one specific Space on huggingface.co. + + Space can be private if you pass an acceptable token. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + revision (`str`, *optional*): + The revision of the space repository from which to get the + information. + timeout (`float`, *optional*): + Whether to set a timeout for the request to the Hub. + files_metadata (`bool`, *optional*): + Whether or not to retrieve metadata for files in the repository + (size, LFS metadata, etc). Defaults to `False`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + [`~hf_api.SpaceInfo`]: The space repository information. + + + + Raises the following errors: + + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + + + """ + headers = self._build_hf_headers(token=token) + path = ( + f"{self.endpoint}/api/spaces/{repo_id}" + if revision is None + else (f"{self.endpoint}/api/spaces/{repo_id}/revision/{quote(revision, safe='')}") + ) + params = {} + if files_metadata: + params["blobs"] = True + + r = get_session().get(path, headers=headers, timeout=timeout, params=params) + hf_raise_for_status(r) + data = r.json() + return SpaceInfo(**data) + + @validate_hf_hub_args + def repo_info( + self, + repo_id: str, + *, + revision: Optional[str] = None, + repo_type: Optional[str] = None, + timeout: Optional[float] = None, + files_metadata: bool = False, + token: Optional[Union[bool, str]] = None, + ) -> Union[ModelInfo, DatasetInfo, SpaceInfo]: + """ + Get the info object for a given repo of a given type. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + revision (`str`, *optional*): + The revision of the repository from which to get the + information. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if getting repository info from a dataset or a space, + `None` or `"model"` if getting repository info from a model. Default is `None`. + timeout (`float`, *optional*): + Whether to set a timeout for the request to the Hub. + files_metadata (`bool`, *optional*): + Whether or not to retrieve metadata for files in the repository + (size, LFS metadata, etc). Defaults to `False`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + `Union[SpaceInfo, DatasetInfo, ModelInfo]`: The repository information, as a + [`huggingface_hub.hf_api.DatasetInfo`], [`huggingface_hub.hf_api.ModelInfo`] + or [`huggingface_hub.hf_api.SpaceInfo`] object. + + + + Raises the following errors: + + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + + + """ + if repo_type is None or repo_type == "model": + method = self.model_info + elif repo_type == "dataset": + method = self.dataset_info # type: ignore + elif repo_type == "space": + method = self.space_info # type: ignore + else: + raise ValueError("Unsupported repo type.") + return method( + repo_id, + revision=revision, + token=token, + timeout=timeout, + files_metadata=files_metadata, + ) + + @validate_hf_hub_args + def repo_exists( + self, + repo_id: str, + *, + repo_type: Optional[str] = None, + token: Optional[str] = None, + ) -> bool: + """ + Checks if a repository exists on the Hugging Face Hub. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if getting repository info from a dataset or a space, + `None` or `"model"` if getting repository info from a model. Default is `None`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + True if the repository exists, False otherwise. + + + + Examples: + ```py + >>> from huggingface_hub import repo_exists + >>> repo_exists("huggingface/transformers") + True + >>> repo_exists("huggingface/not-a-repo") + False + ``` + + + """ + try: + self.repo_info(repo_id=repo_id, repo_type=repo_type, token=token) + return True + except GatedRepoError: + return True # we don't have access but it exists + except RepositoryNotFoundError: + return False + + @validate_hf_hub_args + def file_exists( + self, + repo_id: str, + filename: str, + *, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + token: Optional[str] = None, + ) -> bool: + """ + Checks if a file exists in a repository on the Hugging Face Hub. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + filename (`str`): + The name of the file to check, for example: + `"config.json"` + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if getting repository info from a dataset or a space, + `None` or `"model"` if getting repository info from a model. Default is `None`. + revision (`str`, *optional*): + The revision of the repository from which to get the information. Defaults to `"main"` branch. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + True if the file exists, False otherwise. + + + + Examples: + ```py + >>> from huggingface_hub import file_exists + >>> file_exists("bigcode/starcoder", "config.json") + True + >>> file_exists("bigcode/starcoder", "not-a-file") + False + >>> file_exists("bigcode/not-a-repo", "config.json") + False + ``` + + + """ + url = hf_hub_url( + repo_id=repo_id, repo_type=repo_type, revision=revision, filename=filename, endpoint=self.endpoint + ) + try: + if token is None: + token = self.token + get_hf_file_metadata(url, token=token) + return True + except GatedRepoError: # raise specifically on gated repo + raise + except (RepositoryNotFoundError, EntryNotFoundError, RevisionNotFoundError): + return False + + @validate_hf_hub_args + @_deprecate_method(version="0.23", message="Use `list_repo_tree` and `get_paths_info` instead.") + def list_files_info( + self, + repo_id: str, + paths: Union[List[str], str, None] = None, + *, + expand: bool = False, + revision: Optional[str] = None, + repo_type: Optional[str] = None, + token: Optional[Union[bool, str]] = None, + ) -> Iterable[RepoFile]: + """ + List files on a repo and get information about them. + + Takes as input a list of paths. Those paths can be either files or folders. Two server endpoints are called: + 1. POST "/paths-info" to get information about the provided paths. Called once. + 2. GET "/tree?recursive=True" to paginate over the input folders. Called only if a folder path is provided as + input. Will be called multiple times to follow pagination. + If no path is provided as input, step 1. is ignored and all files from the repo are listed. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated by a `/`. + paths (`Union[List[str], str, None]`, *optional*): + The paths to get information about. Paths to files are directly resolved. Paths to folders are resolved + recursively which means that information is returned about all files in the folder and its subfolders. + If `None`, all files are returned (the default). If a path do not exist, it is ignored without raising + an exception. + expand (`bool`, *optional*, defaults to `False`): + Whether to fetch more information about the files (e.g. last commit and security scan results). This + operation is more expensive for the server so only 50 results are returned per page (instead of 1000). + As pagination is implemented in `huggingface_hub`, this is transparent for you except for the time it + takes to get the results. + revision (`str`, *optional*): + The revision of the repository from which to get the information. Defaults to `"main"` branch. + repo_type (`str`, *optional*): + The type of the repository from which to get the information (`"model"`, `"dataset"` or `"space"`. + Defaults to `"model"`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). If `None` or `True` and + machine is logged in (through `huggingface-cli login` or [`~huggingface_hub.login`]), token will be + retrieved from the cache. If `False`, token is not sent in the request header. + + Returns: + `Iterable[RepoFile]`: + The information about the files, as an iterable of [`RepoFile`] objects. The order of the files is + not guaranteed. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo + does not exist. + [`~utils.RevisionNotFoundError`]: + If revision is not found (error 404) on the repo. + + Examples: + + Get information about files on a repo. + ```py + >>> from huggingface_hub import list_files_info + >>> files_info = list_files_info("lysandre/arxiv-nlp", ["README.md", "config.json"]) + >>> files_info + + >>> list(files_info) + [ + RepoFile(path='README.md', size=391, blob_id='43bd404b159de6fba7c2f4d3264347668d43af25', lfs=None, last_commit=None, security=None), + RepoFile(path='config.json', size=554, blob_id='2f9618c3a19b9a61add74f70bfb121335aeef666', lfs=None, last_commit=None, security=None) + ] + ``` + + Get even more information about files on a repo (last commit and security scan results) + ```py + >>> from huggingface_hub import list_files_info + >>> files_info = list_files_info("prompthero/openjourney-v4", expand=True) + >>> list(files_info) + [ + RepoFile( + path='safety_checker/pytorch_model.bin', + size=1216064769, + blob_id='c8835557a0d3af583cb06c7c154b7e54a069c41d', + lfs={ + 'size': 1216064769, + 'sha256': '16d28f2b37109f222cdc33620fdd262102ac32112be0352a7f77e9614b35a394', + 'pointer_size': 135 + }, + last_commit={ + 'oid': '47b62b20b20e06b9de610e840282b7e6c3d51190', + 'title': 'Upload diffusers weights (#48)', + 'date': datetime.datetime(2023, 3, 21, 10, 5, 27, tzinfo=datetime.timezone.utc) + }, + security={ + 'safe': True, + 'av_scan': { + 'virusFound': False, + 'virusNames': None + }, + 'pickle_import_scan': { + 'highestSafetyLevel': 'innocuous', + 'imports': [ + {'module': 'torch', 'name': 'FloatStorage', 'safety': 'innocuous'}, + {'module': 'collections', 'name': 'OrderedDict', 'safety': 'innocuous'}, + {'module': 'torch', 'name': 'LongStorage', 'safety': 'innocuous'}, + {'module': 'torch._utils', 'name': '_rebuild_tensor_v2', 'safety': 'innocuous'} + ] + } + } + ), + RepoFile( + path='scheduler/scheduler_config.json', + size=465, + blob_id='70d55e3e9679f41cbc66222831b38d5abce683dd', + lfs=None, + last_commit={ + 'oid': '47b62b20b20e06b9de610e840282b7e6c3d51190', + 'title': 'Upload diffusers weights (#48)', + 'date': datetime.datetime(2023, 3, 21, 10, 5, 27, tzinfo=datetime.timezone.utc)}, + security={ + 'safe': True, + 'av_scan': { + 'virusFound': False, + 'virusNames': None + }, + 'pickle_import_scan': None + } + ), + ... + ] + ``` + + List LFS files from the "vae/" folder in "stabilityai/stable-diffusion-2" repository. + + ```py + >>> from huggingface_hub import list_files_info + >>> [info.path for info in list_files_info("stabilityai/stable-diffusion-2", "vae") if info.lfs is not None] + ['vae/diffusion_pytorch_model.bin', 'vae/diffusion_pytorch_model.safetensors'] + ``` + + List all files on a repo. + ```py + >>> from huggingface_hub import list_files_info + >>> [info.path for info in list_files_info("glue", repo_type="dataset")] + ['.gitattributes', 'README.md', 'dataset_infos.json', 'glue.py'] + ``` + """ + repo_type = repo_type or REPO_TYPE_MODEL + revision = quote(revision, safe="") if revision is not None else DEFAULT_REVISION + headers = self._build_hf_headers(token=token) + + folder_paths = [] + if paths is None: + # `paths` is not provided => list all files from the repo + folder_paths.append("") + elif paths == []: + # corner case: server would return a 400 error if `paths` is an empty list. Let's return early. + return + else: + # `paths` is provided => get info about those + response = get_session().post( + f"{self.endpoint}/api/{repo_type}s/{repo_id}/paths-info/{revision}", + data={ + "paths": paths if isinstance(paths, list) else [paths], + "expand": expand, + }, + headers=headers, + ) + hf_raise_for_status(response) + paths_info = response.json() + + # List top-level files first + for path_info in paths_info: + if path_info["type"] == "file": + yield RepoFile(**path_info) + else: + folder_paths.append(path_info["path"]) + + # List files in subdirectories + for path in folder_paths: + encoded_path = "/" + quote(path, safe="") if path else "" + tree_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/tree/{revision}{encoded_path}" + for subpath_info in paginate(path=tree_url, headers=headers, params={"recursive": True, "expand": expand}): + if subpath_info["type"] == "file": + yield RepoFile(**subpath_info) + + @validate_hf_hub_args + def list_repo_files( + self, + repo_id: str, + *, + revision: Optional[str] = None, + repo_type: Optional[str] = None, + token: Optional[Union[bool, str]] = None, + ) -> List[str]: + """ + Get the list of files in a given repo. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated by a `/`. + revision (`str`, *optional*): + The revision of the model repository from which to get the information. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or space, `None` or `"model"` if uploading to + a model. Default is `None`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). If `None` or `True` and + machine is logged in (through `huggingface-cli login` or [`~huggingface_hub.login`]), token will be + retrieved from the cache. If `False`, token is not sent in the request header. + + Returns: + `List[str]`: the list of files in a given repository. + """ + return [ + f.rfilename + for f in self.list_repo_tree( + repo_id=repo_id, recursive=True, revision=revision, repo_type=repo_type, token=token + ) + if isinstance(f, RepoFile) + ] + + @validate_hf_hub_args + def list_repo_tree( + self, + repo_id: str, + path_in_repo: Optional[str] = None, + *, + recursive: bool = False, + expand: bool = False, + revision: Optional[str] = None, + repo_type: Optional[str] = None, + token: Optional[Union[bool, str]] = None, + ) -> Iterable[Union[RepoFile, RepoFolder]]: + """ + List a repo tree's files and folders and get information about them. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated by a `/`. + path_in_repo (`str`, *optional*): + Relative path of the tree (folder) in the repo, for example: + `"checkpoints/1fec34a/results"`. Will default to the root tree (folder) of the repository. + recursive (`bool`, *optional*, defaults to `False`): + Whether to list tree's files and folders recursively. + expand (`bool`, *optional*, defaults to `False`): + Whether to fetch more information about the tree's files and folders (e.g. last commit and files' security scan results). This + operation is more expensive for the server so only 50 results are returned per page (instead of 1000). + As pagination is implemented in `huggingface_hub`, this is transparent for you except for the time it + takes to get the results. + revision (`str`, *optional*): + The revision of the repository from which to get the tree. Defaults to `"main"` branch. + repo_type (`str`, *optional*): + The type of the repository from which to get the tree (`"model"`, `"dataset"` or `"space"`. + Defaults to `"model"`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). If `None` or `True` and + machine is logged in (through `huggingface-cli login` or [`~huggingface_hub.login`]), token will be + retrieved from the cache. If `False`, token is not sent in the request header. + + Returns: + `Iterable[Union[RepoFile, RepoFolder]]`: + The information about the tree's files and folders, as an iterable of [`RepoFile`] and [`RepoFolder`] objects. The order of the files and folders is + not guaranteed. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo + does not exist. + [`~utils.RevisionNotFoundError`]: + If revision is not found (error 404) on the repo. + [`~utils.EntryNotFoundError`]: + If the tree (folder) does not exist (error 404) on the repo. + + Examples: + + Get information about a repo's tree. + ```py + >>> from huggingface_hub import list_repo_tree + >>> repo_tree = list_repo_tree("lysandre/arxiv-nlp") + >>> repo_tree + + >>> list(repo_tree) + [ + RepoFile(path='.gitattributes', size=391, blob_id='ae8c63daedbd4206d7d40126955d4e6ab1c80f8f', lfs=None, last_commit=None, security=None), + RepoFile(path='README.md', size=391, blob_id='43bd404b159de6fba7c2f4d3264347668d43af25', lfs=None, last_commit=None, security=None), + RepoFile(path='config.json', size=554, blob_id='2f9618c3a19b9a61add74f70bfb121335aeef666', lfs=None, last_commit=None, security=None), + RepoFile( + path='flax_model.msgpack', size=497764107, blob_id='8095a62ccb4d806da7666fcda07467e2d150218e', + lfs={'size': 497764107, 'sha256': 'd88b0d6a6ff9c3f8151f9d3228f57092aaea997f09af009eefd7373a77b5abb9', 'pointer_size': 134}, last_commit=None, security=None + ), + RepoFile(path='merges.txt', size=456318, blob_id='226b0752cac7789c48f0cb3ec53eda48b7be36cc', lfs=None, last_commit=None, security=None), + RepoFile( + path='pytorch_model.bin', size=548123560, blob_id='64eaa9c526867e404b68f2c5d66fd78e27026523', + lfs={'size': 548123560, 'sha256': '9be78edb5b928eba33aa88f431551348f7466ba9f5ef3daf1d552398722a5436', 'pointer_size': 134}, last_commit=None, security=None + ), + RepoFile(path='vocab.json', size=898669, blob_id='b00361fece0387ca34b4b8b8539ed830d644dbeb', lfs=None, last_commit=None, security=None)] + ] + ``` + + Get even more information about a repo's tree (last commit and files' security scan results) + ```py + >>> from huggingface_hub import list_repo_tree + >>> repo_tree = list_repo_tree("prompthero/openjourney-v4", expand=True) + >>> list(repo_tree) + [ + RepoFolder( + path='feature_extractor', + tree_id='aa536c4ea18073388b5b0bc791057a7296a00398', + last_commit={ + 'oid': '47b62b20b20e06b9de610e840282b7e6c3d51190', + 'title': 'Upload diffusers weights (#48)', + 'date': datetime.datetime(2023, 3, 21, 9, 5, 27, tzinfo=datetime.timezone.utc) + } + ), + RepoFolder( + path='safety_checker', + tree_id='65aef9d787e5557373fdf714d6c34d4fcdd70440', + last_commit={ + 'oid': '47b62b20b20e06b9de610e840282b7e6c3d51190', + 'title': 'Upload diffusers weights (#48)', + 'date': datetime.datetime(2023, 3, 21, 9, 5, 27, tzinfo=datetime.timezone.utc) + } + ), + RepoFile( + path='model_index.json', + size=582, + blob_id='d3d7c1e8c3e78eeb1640b8e2041ee256e24c9ee1', + lfs=None, + last_commit={ + 'oid': 'b195ed2d503f3eb29637050a886d77bd81d35f0e', + 'title': 'Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#54)', + 'date': datetime.datetime(2023, 5, 15, 21, 41, 59, tzinfo=datetime.timezone.utc) + }, + security={ + 'safe': True, + 'av_scan': {'virusFound': False, 'virusNames': None}, + 'pickle_import_scan': None + } + ) + ... + ] + ``` + """ + repo_type = repo_type or REPO_TYPE_MODEL + revision = quote(revision, safe="") if revision is not None else DEFAULT_REVISION + headers = self._build_hf_headers(token=token) + + encoded_path_in_repo = "/" + quote(path_in_repo, safe="") if path_in_repo else "" + tree_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/tree/{revision}{encoded_path_in_repo}" + for path_info in paginate(path=tree_url, headers=headers, params={"recursive": recursive, "expand": expand}): + yield (RepoFile(**path_info) if path_info["type"] == "file" else RepoFolder(**path_info)) + + @validate_hf_hub_args + def list_repo_refs( + self, + repo_id: str, + *, + repo_type: Optional[str] = None, + include_pull_requests: bool = False, + token: Optional[Union[bool, str]] = None, + ) -> GitRefs: + """ + Get the list of refs of a given repo (both tags and branches). + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if listing refs from a dataset or a Space, + `None` or `"model"` if listing from a model. Default is `None`. + include_pull_requests (`bool`, *optional*): + Whether to include refs from pull requests in the list. Defaults to `False`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Example: + ```py + >>> from huggingface_hub import HfApi + >>> api = HfApi() + >>> api.list_repo_refs("gpt2") + GitRefs(branches=[GitRefInfo(name='main', ref='refs/heads/main', target_commit='e7da7f221d5bf496a48136c0cd264e630fe9fcc8')], converts=[], tags=[]) + + >>> api.list_repo_refs("bigcode/the-stack", repo_type='dataset') + GitRefs( + branches=[ + GitRefInfo(name='main', ref='refs/heads/main', target_commit='18edc1591d9ce72aa82f56c4431b3c969b210ae3'), + GitRefInfo(name='v1.1.a1', ref='refs/heads/v1.1.a1', target_commit='f9826b862d1567f3822d3d25649b0d6d22ace714') + ], + converts=[], + tags=[ + GitRefInfo(name='v1.0', ref='refs/tags/v1.0', target_commit='c37a8cd1e382064d8aced5e05543c5f7753834da') + ] + ) + ``` + + Returns: + [`GitRefs`]: object containing all information about branches and tags for a + repo on the Hub. + """ + repo_type = repo_type or REPO_TYPE_MODEL + response = get_session().get( + f"{self.endpoint}/api/{repo_type}s/{repo_id}/refs", + headers=self._build_hf_headers(token=token), + params={"include_prs": 1} if include_pull_requests else {}, + ) + hf_raise_for_status(response) + data = response.json() + + def _format_as_git_ref_info(item: Dict) -> GitRefInfo: + return GitRefInfo(name=item["name"], ref=item["ref"], target_commit=item["targetCommit"]) + + return GitRefs( + branches=[_format_as_git_ref_info(item) for item in data["branches"]], + converts=[_format_as_git_ref_info(item) for item in data["converts"]], + tags=[_format_as_git_ref_info(item) for item in data["tags"]], + pull_requests=[_format_as_git_ref_info(item) for item in data["pullRequests"]] + if include_pull_requests + else None, + ) + + @validate_hf_hub_args + def list_repo_commits( + self, + repo_id: str, + *, + repo_type: Optional[str] = None, + token: Optional[Union[bool, str]] = None, + revision: Optional[str] = None, + formatted: bool = False, + ) -> List[GitCommitInfo]: + """ + Get the list of commits of a given revision for a repo on the Hub. + + Commits are sorted by date (last commit first). + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated by a `/`. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if listing commits from a dataset or a Space, `None` or `"model"` if + listing from a model. Default is `None`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the `"main"` branch. + formatted (`bool`): + Whether to return the HTML-formatted title and description of the commits. Defaults to False. + + Example: + ```py + >>> from huggingface_hub import HfApi + >>> api = HfApi() + + # Commits are sorted by date (last commit first) + >>> initial_commit = api.list_repo_commits("gpt2")[-1] + + # Initial commit is always a system commit containing the `.gitattributes` file. + >>> initial_commit + GitCommitInfo( + commit_id='9b865efde13a30c13e0a33e536cf3e4a5a9d71d8', + authors=['system'], + created_at=datetime.datetime(2019, 2, 18, 10, 36, 15, tzinfo=datetime.timezone.utc), + title='initial commit', + message='', + formatted_title=None, + formatted_message=None + ) + + # Create an empty branch by deriving from initial commit + >>> api.create_branch("gpt2", "new_empty_branch", revision=initial_commit.commit_id) + ``` + + Returns: + List[[`GitCommitInfo`]]: list of objects containing information about the commits for a repo on the Hub. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo + does not exist. + [`~utils.RevisionNotFoundError`]: + If revision is not found (error 404) on the repo. + """ + repo_type = repo_type or REPO_TYPE_MODEL + revision = quote(revision, safe="") if revision is not None else DEFAULT_REVISION + + # Paginate over results and return the list of commits. + return [ + GitCommitInfo( + commit_id=item["id"], + authors=[author["user"] for author in item["authors"]], + created_at=parse_datetime(item["date"]), + title=item["title"], + message=item["message"], + formatted_title=item.get("formatted", {}).get("title"), + formatted_message=item.get("formatted", {}).get("message"), + ) + for item in paginate( + f"{self.endpoint}/api/{repo_type}s/{repo_id}/commits/{revision}", + headers=self._build_hf_headers(token=token), + params={"expand[]": "formatted"} if formatted else {}, + ) + ] + + @validate_hf_hub_args + def get_paths_info( + self, + repo_id: str, + paths: Union[List[str], str], + *, + expand: bool = False, + revision: Optional[str] = None, + repo_type: Optional[str] = None, + token: Optional[Union[bool, str]] = None, + ) -> List[Union[RepoFile, RepoFolder]]: + """ + Get information about a repo's paths. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated by a `/`. + paths (`Union[List[str], str]`, *optional*): + The paths to get information about. If a path do not exist, it is ignored without raising + an exception. + expand (`bool`, *optional*, defaults to `False`): + Whether to fetch more information about the paths (e.g. last commit and files' security scan results). This + operation is more expensive for the server so only 50 results are returned per page (instead of 1000). + As pagination is implemented in `huggingface_hub`, this is transparent for you except for the time it + takes to get the results. + revision (`str`, *optional*): + The revision of the repository from which to get the information. Defaults to `"main"` branch. + repo_type (`str`, *optional*): + The type of the repository from which to get the information (`"model"`, `"dataset"` or `"space"`. + Defaults to `"model"`. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). If `None` or `True` and + machine is logged in (through `huggingface-cli login` or [`~huggingface_hub.login`]), token will be + retrieved from the cache. If `False`, token is not sent in the request header. + + Returns: + `List[Union[RepoFile, RepoFolder]]`: + The information about the paths, as a list of [`RepoFile`] and [`RepoFolder`] objects. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo + does not exist. + [`~utils.RevisionNotFoundError`]: + If revision is not found (error 404) on the repo. + + Example: + ```py + >>> from huggingface_hub import get_paths_info + >>> paths_info = get_paths_info("allenai/c4", ["README.md", "en"], repo_type="dataset") + >>> paths_info + [ + RepoFile(path='README.md', size=2379, blob_id='f84cb4c97182890fc1dbdeaf1a6a468fd27b4fff', lfs=None, last_commit=None, security=None), + RepoFolder(path='en', tree_id='dc943c4c40f53d02b31ced1defa7e5f438d5862e', last_commit=None) + ] + ``` + """ + repo_type = repo_type or REPO_TYPE_MODEL + revision = quote(revision, safe="") if revision is not None else DEFAULT_REVISION + headers = self._build_hf_headers(token=token) + + response = get_session().post( + f"{self.endpoint}/api/{repo_type}s/{repo_id}/paths-info/{revision}", + data={ + "paths": paths if isinstance(paths, list) else [paths], + "expand": expand, + }, + headers=headers, + ) + hf_raise_for_status(response) + paths_info = response.json() + return [ + RepoFile(**path_info) if path_info["type"] == "file" else RepoFolder(**path_info) + for path_info in paths_info + ] + + @validate_hf_hub_args + def super_squash_history( + self, + repo_id: str, + *, + branch: Optional[str] = None, + commit_message: Optional[str] = None, + repo_type: Optional[str] = None, + token: Optional[str] = None, + ) -> None: + """Squash commit history on a branch for a repo on the Hub. + + Squashing the repo history is useful when you know you'll make hundreds of commits and you don't want to + clutter the history. Squashing commits can only be performed from the head of a branch. + + + + Once squashed, the commit history cannot be retrieved. This is a non-revertible operation. + + + + + + Once the history of a branch has been squashed, it is not possible to merge it back into another branch since + their history will have diverged. + + + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated by a `/`. + branch (`str`, *optional*): + The branch to squash. Defaults to the head of the `"main"` branch. + commit_message (`str`, *optional*): + The commit message to use for the squashed commit. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if listing commits from a dataset or a Space, `None` or `"model"` if + listing from a model. Default is `None`. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). If the machine is logged in + (through `huggingface-cli login` or [`~huggingface_hub.login`]), token can be automatically retrieved + from the cache. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private but not authenticated or repo + does not exist. + [`~utils.RevisionNotFoundError`]: + If the branch to squash cannot be found. + [`~utils.BadRequestError`]: + If invalid reference for a branch. You cannot squash history on tags. + + Example: + ```py + >>> from huggingface_hub import HfApi + >>> api = HfApi() + + # Create repo + >>> repo_id = api.create_repo("test-squash").repo_id + + # Make a lot of commits. + >>> api.upload_file(repo_id=repo_id, path_in_repo="file.txt", path_or_fileobj=b"content") + >>> api.upload_file(repo_id=repo_id, path_in_repo="lfs.bin", path_or_fileobj=b"content") + >>> api.upload_file(repo_id=repo_id, path_in_repo="file.txt", path_or_fileobj=b"another_content") + + # Squash history + >>> api.super_squash_history(repo_id=repo_id) + ``` + """ + if repo_type is None: + repo_type = REPO_TYPE_MODEL + if repo_type not in REPO_TYPES: + raise ValueError("Invalid repo type") + if branch is None: + branch = DEFAULT_REVISION + + # Prepare request + url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/super-squash/{branch}" + headers = self._build_hf_headers(token=token, is_write_action=True) + commit_message = commit_message or f"Super-squash branch '{branch}' using huggingface_hub" + + # Super-squash + response = get_session().post(url=url, headers=headers, json={"message": commit_message}) + hf_raise_for_status(response) + + @validate_hf_hub_args + def create_repo( + self, + repo_id: str, + *, + token: Optional[str] = None, + private: bool = False, + repo_type: Optional[str] = None, + exist_ok: bool = False, + space_sdk: Optional[str] = None, + space_hardware: Optional[SpaceHardware] = None, + space_storage: Optional[SpaceStorage] = None, + space_sleep_time: Optional[int] = None, + space_secrets: Optional[List[Dict[str, str]]] = None, + space_variables: Optional[List[Dict[str, str]]] = None, + ) -> RepoUrl: + """Create an empty repo on the HuggingFace Hub. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + private (`bool`, *optional*, defaults to `False`): + Whether the model repo should be private. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + exist_ok (`bool`, *optional*, defaults to `False`): + If `True`, do not raise an error if repo already exists. + space_sdk (`str`, *optional*): + Choice of SDK to use if repo_type is "space". Can be "streamlit", "gradio", "docker", or "static". + space_hardware (`SpaceHardware` or `str`, *optional*): + Choice of Hardware if repo_type is "space". See [`SpaceHardware`] for a complete list. + space_storage (`SpaceStorage` or `str`, *optional*): + Choice of persistent storage tier. Example: `"small"`. See [`SpaceStorage`] for a complete list. + space_sleep_time (`int`, *optional*): + Number of seconds of inactivity to wait before a Space is put to sleep. Set to `-1` if you don't want + your Space to sleep (default behavior for upgraded hardware). For free hardware, you can't configure + the sleep time (value is fixed to 48 hours of inactivity). + See https://huggingface.co/docs/hub/spaces-gpus#sleep-time for more details. + space_secrets (`List[Dict[str, str]]`, *optional*): + A list of secret keys to set in your Space. Each item is in the form `{"key": ..., "value": ..., "description": ...}` where description is optional. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets. + space_variables (`List[Dict[str, str]]`, *optional*): + A list of public environment variables to set in your Space. Each item is in the form `{"key": ..., "value": ..., "description": ...}` where description is optional. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables. + + Returns: + [`RepoUrl`]: URL to the newly created repo. Value is a subclass of `str` containing + attributes like `endpoint`, `repo_type` and `repo_id`. + """ + organization, name = repo_id.split("/") if "/" in repo_id else (None, repo_id) + + path = f"{self.endpoint}/api/repos/create" + + if repo_type not in REPO_TYPES: + raise ValueError("Invalid repo type") + + json: Dict[str, Any] = {"name": name, "organization": organization, "private": private} + if repo_type is not None: + json["type"] = repo_type + if repo_type == "space": + if space_sdk is None: + raise ValueError( + "No space_sdk provided. `create_repo` expects space_sdk to be one" + f" of {SPACES_SDK_TYPES} when repo_type is 'space'`" + ) + if space_sdk not in SPACES_SDK_TYPES: + raise ValueError(f"Invalid space_sdk. Please choose one of {SPACES_SDK_TYPES}.") + json["sdk"] = space_sdk + + if space_sdk is not None and repo_type != "space": + warnings.warn("Ignoring provided space_sdk because repo_type is not 'space'.") + + function_args = [ + "space_hardware", + "space_storage", + "space_sleep_time", + "space_secrets", + "space_variables", + ] + json_keys = ["hardware", "storageTier", "sleepTimeSeconds", "secrets", "variables"] + values = [space_hardware, space_storage, space_sleep_time, space_secrets, space_variables] + + if repo_type == "space": + json.update({k: v for k, v in zip(json_keys, values) if v is not None}) + else: + provided_space_args = [key for key, value in zip(function_args, values) if value is not None] + + if provided_space_args: + warnings.warn(f"Ignoring provided {', '.join(provided_space_args)} because repo_type is not 'space'.") + + if getattr(self, "_lfsmultipartthresh", None): + # Testing purposes only. + # See https://github.com/huggingface/huggingface_hub/pull/733/files#r820604472 + json["lfsmultipartthresh"] = self._lfsmultipartthresh # type: ignore + headers = self._build_hf_headers(token=token, is_write_action=True) + + while True: + r = get_session().post(path, headers=headers, json=json) + if r.status_code == 409 and "Cannot create repo: another conflicting operation is in progress" in r.text: + # Since https://github.com/huggingface/moon-landing/pull/7272 (private repo), it is not possible to + # concurrently create repos on the Hub for a same user. This is rarely an issue, except when running + # tests. To avoid any inconvenience, we retry to create the repo for this specific error. + # NOTE: This could have being fixed directly in the tests but adding it here should fixed CIs for all + # dependent libraries. + # NOTE: If a fix is implemented server-side, we should be able to remove this retry mechanism. + logger.debug("Create repo failed due to a concurrency issue. Retrying...") + continue + break + + try: + hf_raise_for_status(r) + except HTTPError as err: + if exist_ok and err.response.status_code == 409: + # Repo already exists and `exist_ok=True` + pass + elif exist_ok and err.response.status_code == 403: + # No write permission on the namespace but repo might already exist + try: + self.repo_info(repo_id=repo_id, repo_type=repo_type, token=token) + if repo_type is None or repo_type == REPO_TYPE_MODEL: + return RepoUrl(f"{self.endpoint}/{repo_id}") + return RepoUrl(f"{self.endpoint}/{repo_type}/{repo_id}") + except HfHubHTTPError: + raise + else: + raise + + d = r.json() + return RepoUrl(d["url"], endpoint=self.endpoint) + + @validate_hf_hub_args + def delete_repo( + self, + repo_id: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + missing_ok: bool = False, + ) -> None: + """ + Delete a repo from the HuggingFace Hub. CAUTION: this is irreversible. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. + missing_ok (`bool`, *optional*, defaults to `False`): + If `True`, do not raise an error if repo does not exist. + + Raises: + - [`~utils.RepositoryNotFoundError`] + If the repository to delete from cannot be found and `missing_ok` is set to False (default). + """ + organization, name = repo_id.split("/") if "/" in repo_id else (None, repo_id) + + path = f"{self.endpoint}/api/repos/delete" + + if repo_type not in REPO_TYPES: + raise ValueError("Invalid repo type") + + json = {"name": name, "organization": organization} + if repo_type is not None: + json["type"] = repo_type + + headers = self._build_hf_headers(token=token, is_write_action=True) + r = get_session().delete(path, headers=headers, json=json) + try: + hf_raise_for_status(r) + except RepositoryNotFoundError: + if not missing_ok: + raise + + @validate_hf_hub_args + def update_repo_visibility( + self, + repo_id: str, + private: bool = False, + *, + token: Optional[str] = None, + organization: Optional[str] = None, + repo_type: Optional[str] = None, + name: Optional[str] = None, + ) -> Dict[str, bool]: + """Update the visibility setting of a repository. + + Args: + repo_id (`str`, *optional*): + A namespace (user or an organization) and a repo name separated + by a `/`. + private (`bool`, *optional*, defaults to `False`): + Whether the model repo should be private. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + + Returns: + The HTTP response in json. + + + + Raises the following errors: + + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + if repo_type not in REPO_TYPES: + raise ValueError("Invalid repo type") + + organization, name = repo_id.split("/") if "/" in repo_id else (None, repo_id) + + if organization is None: + namespace = self.whoami(token)["name"] + else: + namespace = organization + + if repo_type is None: + repo_type = REPO_TYPE_MODEL # default repo type + + r = get_session().put( + url=f"{self.endpoint}/api/{repo_type}s/{namespace}/{name}/settings", + headers=self._build_hf_headers(token=token, is_write_action=True), + json={"private": private}, + ) + hf_raise_for_status(r) + return r.json() + + def move_repo( + self, + from_id: str, + to_id: str, + *, + repo_type: Optional[str] = None, + token: Optional[str] = None, + ): + """ + Moving a repository from namespace1/repo_name1 to namespace2/repo_name2 + + Note there are certain limitations. For more information about moving + repositories, please see + https://hf.co/docs/hub/repositories-settings#renaming-or-transferring-a-repo. + + Args: + from_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. Original repository identifier. + to_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. Final repository identifier. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + + + + Raises the following errors: + + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + if len(from_id.split("/")) != 2: + raise ValueError(f"Invalid repo_id: {from_id}. It should have a namespace (:namespace:/:repo_name:)") + + if len(to_id.split("/")) != 2: + raise ValueError(f"Invalid repo_id: {to_id}. It should have a namespace (:namespace:/:repo_name:)") + + if repo_type is None: + repo_type = REPO_TYPE_MODEL # Hub won't accept `None`. + + json = {"fromRepo": from_id, "toRepo": to_id, "type": repo_type} + + path = f"{self.endpoint}/api/repos/move" + headers = self._build_hf_headers(token=token, is_write_action=True) + r = get_session().post(path, headers=headers, json=json) + try: + hf_raise_for_status(r) + except HfHubHTTPError as e: + e.append_to_message( + "\nFor additional documentation please see" + " https://hf.co/docs/hub/repositories-settings#renaming-or-transferring-a-repo." + ) + raise + + @overload + def create_commit( # type: ignore + self, + repo_id: str, + operations: Iterable[CommitOperation], + *, + commit_message: str, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + num_threads: int = 5, + parent_commit: Optional[str] = None, + run_as_future: Literal[False] = ..., + ) -> CommitInfo: + ... + + @overload + def create_commit( + self, + repo_id: str, + operations: Iterable[CommitOperation], + *, + commit_message: str, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + num_threads: int = 5, + parent_commit: Optional[str] = None, + run_as_future: Literal[True] = ..., + ) -> Future[CommitInfo]: + ... + + @validate_hf_hub_args + @future_compatible + def create_commit( + self, + repo_id: str, + operations: Iterable[CommitOperation], + *, + commit_message: str, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + num_threads: int = 5, + parent_commit: Optional[str] = None, + run_as_future: bool = False, + ) -> Union[CommitInfo, Future[CommitInfo]]: + """ + Creates a commit in the given repo, deleting & uploading files as needed. + + + + The input list of `CommitOperation` will be mutated during the commit process. Do not reuse the same objects + for multiple commits. + + + + + + `create_commit` assumes that the repo already exists on the Hub. If you get a + Client error 404, please make sure you are authenticated and that `repo_id` and + `repo_type` are set correctly. If repo does not exist, create it first using + [`~hf_api.create_repo`]. + + + + + + `create_commit` is limited to 25k LFS files and a 1GB payload for regular files. + + + + Args: + repo_id (`str`): + The repository in which the commit will be created, for example: + `"username/custom_transformers"` + + operations (`Iterable` of [`~hf_api.CommitOperation`]): + An iterable of operations to include in the commit, either: + + - [`~hf_api.CommitOperationAdd`] to upload a file + - [`~hf_api.CommitOperationDelete`] to delete a file + - [`~hf_api.CommitOperationCopy`] to copy a file + + Operation objects will be mutated to include information relative to the upload. Do not reuse the + same objects for multiple commits. + + commit_message (`str`): + The summary (first line) of the commit that will be created. + + commit_description (`str`, *optional*): + The description of the commit that will be created + + token (`str`, *optional*): + Authentication token, obtained with `HfApi.login` method. Will + default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the `"main"` branch. + + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request with that commit. Defaults to `False`. + If `revision` is not set, PR is opened against the `"main"` branch. If + `revision` is set and is a branch, PR is opened against this branch. If + `revision` is set and is not a branch name (example: a commit oid), an + `RevisionNotFoundError` is returned by the server. + + num_threads (`int`, *optional*): + Number of concurrent threads for uploading files. Defaults to 5. + Setting it to 2 means at most 2 files will be uploaded concurrently. + + parent_commit (`str`, *optional*): + The OID / SHA of the parent commit, as a hexadecimal string. + Shorthands (7 first characters) are also supported. If specified and `create_pr` is `False`, + the commit will fail if `revision` does not point to `parent_commit`. If specified and `create_pr` + is `True`, the pull request will be created from `parent_commit`. Specifying `parent_commit` + ensures the repo has not changed before committing the changes, and can be especially useful + if the repo is updated / committed to concurrently. + run_as_future (`bool`, *optional*): + Whether or not to run this method in the background. Background jobs are run sequentially without + blocking the main thread. Passing `run_as_future=True` will return a [Future](https://docs.python.org/3/library/concurrent.futures.html#future-objects) + object. Defaults to `False`. + + Returns: + [`CommitInfo`] or `Future`: + Instance of [`CommitInfo`] containing information about the newly created commit (commit hash, commit + url, pr url, commit message,...). If `run_as_future=True` is passed, returns a Future object which will + contain the result when executed. + + Raises: + [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If commit message is empty. + [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If parent commit is not a valid commit OID. + [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If the Hub API returns an HTTP 400 error (bad request) + [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + If `create_pr` is `True` and revision is neither `None` nor `"main"`. + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private + but not authenticated or repo does not exist. + """ + if parent_commit is not None and not REGEX_COMMIT_OID.fullmatch(parent_commit): + raise ValueError( + f"`parent_commit` is not a valid commit OID. It must match the following regex: {REGEX_COMMIT_OID}" + ) + + if commit_message is None or len(commit_message) == 0: + raise ValueError("`commit_message` can't be empty, please pass a value.") + + commit_description = commit_description if commit_description is not None else "" + repo_type = repo_type if repo_type is not None else REPO_TYPE_MODEL + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + unquoted_revision = revision or DEFAULT_REVISION + revision = quote(unquoted_revision, safe="") + create_pr = create_pr if create_pr is not None else False + + operations = list(operations) + additions = [op for op in operations if isinstance(op, CommitOperationAdd)] + copies = [op for op in operations if isinstance(op, CommitOperationCopy)] + nb_additions = len(additions) + nb_copies = len(copies) + nb_deletions = len(operations) - nb_additions - nb_copies + + for addition in additions: + if addition._is_committed: + raise ValueError( + f"CommitOperationAdd {addition} has already being committed and cannot be reused. Please create a" + " new CommitOperationAdd object if you want to create a new commit." + ) + + logger.debug( + f"About to commit to the hub: {len(additions)} addition(s), {len(copies)} copie(s) and" + f" {nb_deletions} deletion(s)." + ) + + # If updating twice the same file or update then delete a file in a single commit + _warn_on_overwriting_operations(operations) + + self.preupload_lfs_files( + repo_id=repo_id, + additions=additions, + token=token, + repo_type=repo_type, + revision=unquoted_revision, # first-class methods take unquoted revision + create_pr=create_pr, + num_threads=num_threads, + free_memory=False, # do not remove `CommitOperationAdd.path_or_fileobj` on LFS files for "normal" users + ) + files_to_copy = _fetch_lfs_files_to_copy( + copies=copies, + repo_type=repo_type, + repo_id=repo_id, + token=token or self.token, + revision=revision, + endpoint=self.endpoint, + ) + commit_payload = _prepare_commit_payload( + operations=operations, + files_to_copy=files_to_copy, + commit_message=commit_message, + commit_description=commit_description, + parent_commit=parent_commit, + ) + commit_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/commit/{revision}" + + def _payload_as_ndjson() -> Iterable[bytes]: + for item in commit_payload: + yield json.dumps(item).encode() + yield b"\n" + + headers = { + # See https://github.com/huggingface/huggingface_hub/issues/1085#issuecomment-1265208073 + "Content-Type": "application/x-ndjson", + **self._build_hf_headers(token=token, is_write_action=True), + } + data = b"".join(_payload_as_ndjson()) + params = {"create_pr": "1"} if create_pr else None + + try: + commit_resp = get_session().post(url=commit_url, headers=headers, data=data, params=params) + hf_raise_for_status(commit_resp, endpoint_name="commit") + except RepositoryNotFoundError as e: + e.append_to_message(_CREATE_COMMIT_NO_REPO_ERROR_MESSAGE) + raise + except EntryNotFoundError as e: + if nb_deletions > 0 and "A file with this name doesn't exist" in str(e): + e.append_to_message( + "\nMake sure to differentiate file and folder paths in delete" + " operations with a trailing '/' or using `is_folder=True/False`." + ) + raise + + # Mark additions as committed (cannot be reused in another commit) + for addition in additions: + addition._is_committed = True + + commit_data = commit_resp.json() + return CommitInfo( + commit_url=commit_data["commitUrl"], + commit_message=commit_message, + commit_description=commit_description, + oid=commit_data["commitOid"], + pr_url=commit_data["pullRequestUrl"] if create_pr else None, + ) + + @experimental + @validate_hf_hub_args + def create_commits_on_pr( + self, + *, + repo_id: str, + addition_commits: List[List[CommitOperationAdd]], + deletion_commits: List[List[CommitOperationDelete]], + commit_message: str, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + merge_pr: bool = True, + num_threads: int = 5, # TODO: use to multithread uploads + verbose: bool = False, + ) -> str: + """Push changes to the Hub in multiple commits. + + Commits are pushed to a draft PR branch. If the upload fails or gets interrupted, it can be resumed. Progress + is tracked in the PR description. At the end of the process, the PR is set as open and the title is updated to + match the initial commit message. If `merge_pr=True` is passed, the PR is merged automatically. + + All deletion commits are pushed first, followed by the addition commits. The order of the commits is not + guaranteed as we might implement parallel commits in the future. Be sure that your are not updating several + times the same file. + + + + `create_commits_on_pr` is experimental. Its API and behavior is subject to change in the future without prior notice. + + + + + + `create_commits_on_pr` assumes that the repo already exists on the Hub. If you get a Client error 404, please + make sure you are authenticated and that `repo_id` and `repo_type` are set correctly. If repo does not exist, + create it first using [`~hf_api.create_repo`]. + + + + Args: + repo_id (`str`): + The repository in which the commits will be pushed. Example: `"username/my-cool-model"`. + + addition_commits (`List` of `List` of [`~hf_api.CommitOperationAdd`]): + A list containing lists of [`~hf_api.CommitOperationAdd`]. Each sublist will result in a commit on the + PR. + + deletion_commits + A list containing lists of [`~hf_api.CommitOperationDelete`]. Each sublist will result in a commit on + the PR. Deletion commits are pushed before addition commits. + + commit_message (`str`): + The summary (first line) of the commit that will be created. Will also be the title of the PR. + + commit_description (`str`, *optional*): + The description of the commit that will be created. The description will be added to the PR. + + token (`str`, *optional*): + Authentication token, obtained with `HfApi.login` method. Will default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or space, `None` or `"model"` if uploading to + a model. Default is `None`. + + merge_pr (`bool`): + If set to `True`, the Pull Request is merged at the end of the process. Defaults to `True`. + + num_threads (`int`, *optional*): + Number of concurrent threads for uploading files. Defaults to 5. + + verbose (`bool`): + If set to `True`, process will run on verbose mode i.e. print information about the ongoing tasks. + Defaults to `False`. + + Returns: + `str`: URL to the created PR. + + Example: + ```python + >>> from huggingface_hub import HfApi, plan_multi_commits + >>> addition_commits, deletion_commits = plan_multi_commits( + ... operations=[ + ... CommitOperationAdd(...), + ... CommitOperationAdd(...), + ... CommitOperationDelete(...), + ... CommitOperationDelete(...), + ... CommitOperationAdd(...), + ... ], + ... ) + >>> HfApi().create_commits_on_pr( + ... repo_id="my-cool-model", + ... addition_commits=addition_commits, + ... deletion_commits=deletion_commits, + ... (...) + ... verbose=True, + ... ) + ``` + + Raises: + [`MultiCommitException`]: + If an unexpected issue occur in the process: empty commits, unexpected commits in a PR, unexpected PR + description, etc. + """ + logger = logging.get_logger(__name__ + ".create_commits_on_pr") + if verbose: + logger.setLevel("INFO") + + # 1. Get strategy ID + logger.info( + f"Will create {len(deletion_commits)} deletion commit(s) and {len(addition_commits)} addition commit(s)," + f" totalling {sum(len(ops) for ops in addition_commits+deletion_commits)} atomic operations." + ) + strategy = MultiCommitStrategy( + addition_commits=[MultiCommitStep(operations=operations) for operations in addition_commits], # type: ignore + deletion_commits=[MultiCommitStep(operations=operations) for operations in deletion_commits], # type: ignore + ) + logger.info(f"Multi-commits strategy with ID {strategy.id}.") + + # 2. Get or create a PR with this strategy ID + for discussion in self.get_repo_discussions(repo_id=repo_id, repo_type=repo_type, token=token): + # search for a draft PR with strategy ID + if discussion.is_pull_request and discussion.status == "draft" and strategy.id in discussion.title: + pr = self.get_discussion_details( + repo_id=repo_id, discussion_num=discussion.num, repo_type=repo_type, token=token + ) + logger.info(f"PR already exists: {pr.url}. Will resume process where it stopped.") + break + else: + # did not find a PR matching the strategy ID + pr = multi_commit_create_pull_request( + self, + repo_id=repo_id, + commit_message=commit_message, + commit_description=commit_description, + strategy=strategy, + token=token, + repo_type=repo_type, + ) + logger.info(f"New PR created: {pr.url}") + + # 3. Parse PR description to check consistency with strategy (e.g. same commits are scheduled) + for event in pr.events: + if isinstance(event, DiscussionComment): + pr_comment = event + break + else: + raise MultiCommitException(f"PR #{pr.num} must have at least 1 comment") + + description_commits = multi_commit_parse_pr_description(pr_comment.content) + if len(description_commits) != len(strategy.all_steps): + raise MultiCommitException( + f"Corrupted multi-commit PR #{pr.num}: got {len(description_commits)} steps in" + f" description but {len(strategy.all_steps)} in strategy." + ) + for step_id in strategy.all_steps: + if step_id not in description_commits: + raise MultiCommitException( + f"Corrupted multi-commit PR #{pr.num}: expected step {step_id} but didn't find" + f" it (have {', '.join(description_commits)})." + ) + + # 4. Retrieve commit history (and check consistency) + commits_on_main_branch = { + commit.commit_id + for commit in self.list_repo_commits( + repo_id=repo_id, repo_type=repo_type, token=token, revision=DEFAULT_REVISION + ) + } + pr_commits = [ + commit + for commit in self.list_repo_commits( + repo_id=repo_id, repo_type=repo_type, token=token, revision=pr.git_reference + ) + if commit.commit_id not in commits_on_main_branch + ] + if len(pr_commits) > 0: + logger.info(f"Found {len(pr_commits)} existing commits on the PR.") + + # At this point `pr_commits` is a list of commits pushed to the PR. We expect all of these commits (if any) to have + # a step_id as title. We raise exception if an unexpected commit has been pushed. + if len(pr_commits) > len(strategy.all_steps): + raise MultiCommitException( + f"Corrupted multi-commit PR #{pr.num}: scheduled {len(strategy.all_steps)} steps but" + f" {len(pr_commits)} commits have already been pushed to the PR." + ) + + # Check which steps are already completed + remaining_additions = {step.id: step for step in strategy.addition_commits} + remaining_deletions = {step.id: step for step in strategy.deletion_commits} + for commit in pr_commits: + if commit.title in remaining_additions: + step = remaining_additions.pop(commit.title) + step.completed = True + elif commit.title in remaining_deletions: + step = remaining_deletions.pop(commit.title) + step.completed = True + + if len(remaining_deletions) > 0 and len(remaining_additions) < len(strategy.addition_commits): + raise MultiCommitException( + f"Corrupted multi-commit PR #{pr.num}: some addition commits have already been pushed to the PR but" + " deletion commits are not all completed yet." + ) + nb_remaining = len(remaining_deletions) + len(remaining_additions) + if len(pr_commits) > 0: + logger.info( + f"{nb_remaining} commits remaining ({len(remaining_deletions)} deletion commits and" + f" {len(remaining_additions)} addition commits)" + ) + + # 5. Push remaining commits to the PR + update description + # TODO: multi-thread this + for step in list(remaining_deletions.values()) + list(remaining_additions.values()): + # Push new commit + self.create_commit( + repo_id=repo_id, + repo_type=repo_type, + token=token, + commit_message=step.id, + revision=pr.git_reference, + num_threads=num_threads, + operations=step.operations, + create_pr=False, + ) + step.completed = True + nb_remaining -= 1 + logger.info(f" step {step.id} completed (still {nb_remaining} to go).") + + # Update PR description + self.edit_discussion_comment( + repo_id=repo_id, + repo_type=repo_type, + token=token, + discussion_num=pr.num, + comment_id=pr_comment.id, + new_content=multi_commit_generate_comment( + commit_message=commit_message, commit_description=commit_description, strategy=strategy + ), + ) + logger.info("All commits have been pushed.") + + # 6. Update PR (and merge) + self.rename_discussion( + repo_id=repo_id, + repo_type=repo_type, + token=token, + discussion_num=pr.num, + new_title=commit_message, + ) + self.change_discussion_status( + repo_id=repo_id, + repo_type=repo_type, + token=token, + discussion_num=pr.num, + new_status="open", + comment=MULTI_COMMIT_PR_COMPLETION_COMMENT_TEMPLATE, + ) + logger.info("PR is now open for reviews.") + + if merge_pr: # User don't want a PR => merge it + try: + self.merge_pull_request( + repo_id=repo_id, + repo_type=repo_type, + token=token, + discussion_num=pr.num, + comment=MULTI_COMMIT_PR_CLOSING_COMMENT_TEMPLATE, + ) + logger.info("PR has been automatically merged (`merge_pr=True` was passed).") + except BadRequestError as error: + if error.server_message is not None and "no associated changes" in error.server_message: + # PR cannot be merged as no changes are associated. We close the PR without merging with a comment to + # explain. + self.change_discussion_status( + repo_id=repo_id, + repo_type=repo_type, + token=token, + discussion_num=pr.num, + comment=MULTI_COMMIT_PR_CLOSE_COMMENT_FAILURE_NO_CHANGES_TEMPLATE, + new_status="closed", + ) + logger.warning("Couldn't merge the PR: no associated changes.") + else: + # PR cannot be merged for another reason (conflicting files for example). We comment the PR to explain + # and re-raise the exception. + self.comment_discussion( + repo_id=repo_id, + repo_type=repo_type, + token=token, + discussion_num=pr.num, + comment=MULTI_COMMIT_PR_CLOSE_COMMENT_FAILURE_BAD_REQUEST_TEMPLATE.format( + error_message=error.server_message + ), + ) + raise MultiCommitException( + f"Couldn't merge Pull Request in multi-commit: {error.server_message}" + ) from error + + return pr.url + + def preupload_lfs_files( + self, + repo_id: str, + additions: Iterable[CommitOperationAdd], + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + num_threads: int = 5, + free_memory: bool = True, + gitignore_content: Optional[str] = None, + ): + """Pre-upload LFS files to S3 in preparation on a future commit. + + This method is useful if you are generating the files to upload on-the-fly and you don't want to store them + in memory before uploading them all at once. + + + + This is a power-user method. You shouldn't need to call it directly to make a normal commit. + Use [`create_commit`] directly instead. + + + + + + Commit operations will be mutated during the process. In particular, the attached `path_or_fileobj` will be + removed after the upload to save memory (and replaced by an empty `bytes` object). Do not reuse the same + objects except to pass them to [`create_commit`]. If you don't want to remove the attached content from the + commit operation object, pass `free_memory=False`. + + + + Args: + repo_id (`str`): + The repository in which you will commit the files, for example: `"username/custom_transformers"`. + + operations (`Iterable` of [`CommitOperationAdd`]): + The list of files to upload. Warning: the objects in this list will be mutated to include information + relative to the upload. Do not reuse the same objects for multiple commits. + + token (`str`, *optional*): + Authentication token. Will default to the stored token. + + repo_type (`str`, *optional*): + The type of repository to upload to (e.g. `"model"` -default-, `"dataset"` or `"space"`). + + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the `"main"` branch. + + create_pr (`boolean`, *optional*): + Whether or not you plan to create a Pull Request with that commit. Defaults to `False`. + + num_threads (`int`, *optional*): + Number of concurrent threads for uploading files. Defaults to 5. + Setting it to 2 means at most 2 files will be uploaded concurrently. + + gitignore_content (`str`, *optional*): + The content of the `.gitignore` file to know which files should be ignored. The order of priority + is to first check if `gitignore_content` is passed, then check if the `.gitignore` file is present + in the list of files to commit and finally default to the `.gitignore` file already hosted on the Hub + (if any). + + Example: + ```py + >>> from huggingface_hub import CommitOperationAdd, preupload_lfs_files, create_commit, create_repo + + >>> repo_id = create_repo("test_preupload").repo_id + + # Generate and preupload LFS files one by one + >>> operations = [] # List of all `CommitOperationAdd` objects that will be generated + >>> for i in range(5): + ... content = ... # generate binary content + ... addition = CommitOperationAdd(path_in_repo=f"shard_{i}_of_5.bin", path_or_fileobj=content) + ... preupload_lfs_files(repo_id, additions=[addition]) # upload + free memory + ... operations.append(addition) + + # Create commit + >>> create_commit(repo_id, operations=operations, commit_message="Commit all shards") + ``` + """ + repo_type = repo_type if repo_type is not None else REPO_TYPE_MODEL + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + revision = quote(revision, safe="") if revision is not None else DEFAULT_REVISION + create_pr = create_pr if create_pr is not None else False + + # Check if a `gitignore` file is being committed to the Hub. + additions = list(additions) + if gitignore_content is None: + for addition in additions: + if addition.path_in_repo == ".gitignore": + with addition.as_file() as f: + gitignore_content = f.read().decode() + break + + # Filter out already uploaded files + new_additions = [addition for addition in additions if not addition._is_uploaded] + + # Check which new files are LFS + try: + _fetch_upload_modes( + additions=new_additions, + repo_type=repo_type, + repo_id=repo_id, + token=token or self.token, + revision=revision, + endpoint=self.endpoint, + create_pr=create_pr or False, + gitignore_content=gitignore_content, + ) + except RepositoryNotFoundError as e: + e.append_to_message(_CREATE_COMMIT_NO_REPO_ERROR_MESSAGE) + raise + + # Filter out regular files + new_lfs_additions = [addition for addition in new_additions if addition._upload_mode == "lfs"] + + # Filter out files listed in .gitignore + new_lfs_additions_to_upload = [] + for addition in new_lfs_additions: + if addition._should_ignore: + logger.debug(f"Skipping upload for LFS file '{addition.path_in_repo}' (ignored by gitignore file).") + else: + new_lfs_additions_to_upload.append(addition) + if len(new_lfs_additions) != len(new_lfs_additions_to_upload): + logger.info( + f"Skipped upload for {len(new_lfs_additions) - len(new_lfs_additions_to_upload)} LFS file(s) " + "(ignored by gitignore file)." + ) + + # Upload new LFS files + _upload_lfs_files( + additions=new_lfs_additions_to_upload, + repo_type=repo_type, + repo_id=repo_id, + token=token or self.token, + endpoint=self.endpoint, + num_threads=num_threads, + # If `create_pr`, we don't want to check user permission on the revision as users with read permission + # should still be able to create PRs even if they don't have write permission on the target branch of the + # PR (i.e. `revision`). + revision=revision if not create_pr else None, + ) + for addition in new_lfs_additions_to_upload: + addition._is_uploaded = True + if free_memory: + addition.path_or_fileobj = b"" + + @overload + def upload_file( # type: ignore + self, + *, + path_or_fileobj: Union[str, Path, bytes, BinaryIO], + path_in_repo: str, + repo_id: str, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + run_as_future: Literal[False] = ..., + ) -> CommitInfo: + ... + + @overload + def upload_file( + self, + *, + path_or_fileobj: Union[str, Path, bytes, BinaryIO], + path_in_repo: str, + repo_id: str, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + run_as_future: Literal[True] = ..., + ) -> Future[CommitInfo]: + ... + + @validate_hf_hub_args + @future_compatible + def upload_file( + self, + *, + path_or_fileobj: Union[str, Path, bytes, BinaryIO], + path_in_repo: str, + repo_id: str, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + run_as_future: bool = False, + ) -> Union[CommitInfo, Future[CommitInfo]]: + """ + Upload a local file (up to 50 GB) to the given repo. The upload is done + through a HTTP post request, and doesn't require git or git-lfs to be + installed. + + Args: + path_or_fileobj (`str`, `Path`, `bytes`, or `IO`): + Path to a file on the local machine or binary data stream / + fileobj / buffer. + path_in_repo (`str`): + Relative filepath in the repo, for example: + `"checkpoints/1fec34a/weights.bin"` + repo_id (`str`): + The repository to which the file will be uploaded, for example: + `"username/custom_transformers"` + token (`str`, *optional*): + Authentication token, obtained with `HfApi.login` method. Will + default to the stored token. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the `"main"` branch. + commit_message (`str`, *optional*): + The summary / title / first line of the generated commit + commit_description (`str` *optional*) + The description of the generated commit + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request with that commit. Defaults to `False`. + If `revision` is not set, PR is opened against the `"main"` branch. If + `revision` is set and is a branch, PR is opened against this branch. If + `revision` is set and is not a branch name (example: a commit oid), an + `RevisionNotFoundError` is returned by the server. + parent_commit (`str`, *optional*): + The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported. + If specified and `create_pr` is `False`, the commit will fail if `revision` does not point to `parent_commit`. + If specified and `create_pr` is `True`, the pull request will be created from `parent_commit`. + Specifying `parent_commit` ensures the repo has not changed before committing the changes, and can be + especially useful if the repo is updated / committed to concurrently. + run_as_future (`bool`, *optional*): + Whether or not to run this method in the background. Background jobs are run sequentially without + blocking the main thread. Passing `run_as_future=True` will return a [Future](https://docs.python.org/3/library/concurrent.futures.html#future-objects) + object. Defaults to `False`. + + + Returns: + [`CommitInfo`] or `Future`: + Instance of [`CommitInfo`] containing information about the newly created commit (commit hash, commit + url, pr url, commit message,...). If `run_as_future=True` is passed, returns a Future object which will + contain the result when executed. + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + + + + + + `upload_file` assumes that the repo already exists on the Hub. If you get a + Client error 404, please make sure you are authenticated and that `repo_id` and + `repo_type` are set correctly. If repo does not exist, create it first using + [`~hf_api.create_repo`]. + + + + Example: + + ```python + >>> from huggingface_hub import upload_file + + >>> with open("./local/filepath", "rb") as fobj: + ... upload_file( + ... path_or_fileobj=fileobj, + ... path_in_repo="remote/file/path.h5", + ... repo_id="username/my-dataset", + ... repo_type="dataset", + ... token="my_token", + ... ) + "https://huggingface.co/datasets/username/my-dataset/blob/main/remote/file/path.h5" + + >>> upload_file( + ... path_or_fileobj=".\\\\local\\\\file\\\\path", + ... path_in_repo="remote/file/path.h5", + ... repo_id="username/my-model", + ... token="my_token", + ... ) + "https://huggingface.co/username/my-model/blob/main/remote/file/path.h5" + + >>> upload_file( + ... path_or_fileobj=".\\\\local\\\\file\\\\path", + ... path_in_repo="remote/file/path.h5", + ... repo_id="username/my-model", + ... token="my_token", + ... create_pr=True, + ... ) + "https://huggingface.co/username/my-model/blob/refs%2Fpr%2F1/remote/file/path.h5" + ``` + """ + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + + commit_message = ( + commit_message if commit_message is not None else f"Upload {path_in_repo} with huggingface_hub" + ) + operation = CommitOperationAdd( + path_or_fileobj=path_or_fileobj, + path_in_repo=path_in_repo, + ) + + commit_info = self.create_commit( + repo_id=repo_id, + repo_type=repo_type, + operations=[operation], + commit_message=commit_message, + commit_description=commit_description, + token=token, + revision=revision, + create_pr=create_pr, + parent_commit=parent_commit, + ) + + if commit_info.pr_url is not None: + revision = quote(_parse_revision_from_pr_url(commit_info.pr_url), safe="") + if repo_type in REPO_TYPES_URL_PREFIXES: + repo_id = REPO_TYPES_URL_PREFIXES[repo_type] + repo_id + revision = revision if revision is not None else DEFAULT_REVISION + + return CommitInfo( + commit_url=commit_info.commit_url, + commit_message=commit_info.commit_message, + commit_description=commit_info.commit_description, + oid=commit_info.oid, + pr_url=commit_info.pr_url, + # Similar to `hf_hub_url` but it's "blob" instead of "resolve" + # TODO: remove this in v1.0 + _url=f"{self.endpoint}/{repo_id}/blob/{revision}/{path_in_repo}", + ) + + @overload + def upload_folder( # type: ignore + self, + *, + repo_id: str, + folder_path: Union[str, Path], + path_in_repo: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + delete_patterns: Optional[Union[List[str], str]] = None, + multi_commits: Literal[False] = ..., + multi_commits_verbose: bool = False, + run_as_future: Literal[False] = ..., + ) -> CommitInfo: + ... + + @overload + def upload_folder( # type: ignore + self, + *, + repo_id: str, + folder_path: Union[str, Path], + path_in_repo: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + delete_patterns: Optional[Union[List[str], str]] = None, + multi_commits: Literal[True] = ..., + multi_commits_verbose: bool = False, + run_as_future: Literal[False] = ..., + ) -> str: # Only the PR url in multi-commits mode + ... + + @overload + def upload_folder( # type: ignore + self, + *, + repo_id: str, + folder_path: Union[str, Path], + path_in_repo: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + delete_patterns: Optional[Union[List[str], str]] = None, + multi_commits: Literal[False] = ..., + multi_commits_verbose: bool = False, + run_as_future: Literal[True] = ..., + ) -> Future[CommitInfo]: + ... + + @overload + def upload_folder( + self, + *, + repo_id: str, + folder_path: Union[str, Path], + path_in_repo: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + delete_patterns: Optional[Union[List[str], str]] = None, + multi_commits: Literal[True] = ..., + multi_commits_verbose: bool = False, + run_as_future: Literal[True] = ..., + ) -> Future[str]: # Only the PR url in multi-commits mode + ... + + @validate_hf_hub_args + @future_compatible + def upload_folder( + self, + *, + repo_id: str, + folder_path: Union[str, Path], + path_in_repo: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + delete_patterns: Optional[Union[List[str], str]] = None, + multi_commits: bool = False, + multi_commits_verbose: bool = False, + run_as_future: bool = False, + ) -> Union[CommitInfo, str, Future[CommitInfo], Future[str]]: + """ + Upload a local folder to the given repo. The upload is done through a HTTP requests, and doesn't require git or + git-lfs to be installed. + + The structure of the folder will be preserved. Files with the same name already present in the repository will + be overwritten. Others will be left untouched. + + Use the `allow_patterns` and `ignore_patterns` arguments to specify which files to upload. These parameters + accept either a single pattern or a list of patterns. Patterns are Standard Wildcards (globbing patterns) as + documented [here](https://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm). If both `allow_patterns` and + `ignore_patterns` are provided, both constraints apply. By default, all files from the folder are uploaded. + + Use the `delete_patterns` argument to specify remote files you want to delete. Input type is the same as for + `allow_patterns` (see above). If `path_in_repo` is also provided, the patterns are matched against paths + relative to this folder. For example, `upload_folder(..., path_in_repo="experiment", delete_patterns="logs/*")` + will delete any remote file under `./experiment/logs/`. Note that the `.gitattributes` file will not be deleted + even if it matches the patterns. + + Any `.git/` folder present in any subdirectory will be ignored. However, please be aware that the `.gitignore` + file is not taken into account. + + Uses `HfApi.create_commit` under the hood. + + Args: + repo_id (`str`): + The repository to which the file will be uploaded, for example: + `"username/custom_transformers"` + folder_path (`str` or `Path`): + Path to the folder to upload on the local file system + path_in_repo (`str`, *optional*): + Relative path of the directory in the repo, for example: + `"checkpoints/1fec34a/results"`. Will default to the root folder of the repository. + token (`str`, *optional*): + Authentication token, obtained with `HfApi.login` method. Will + default to the stored token. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the `"main"` branch. + commit_message (`str`, *optional*): + The summary / title / first line of the generated commit. Defaults to: + `f"Upload {path_in_repo} with huggingface_hub"` + commit_description (`str` *optional*): + The description of the generated commit + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request with that commit. Defaults to `False`. If `revision` is not + set, PR is opened against the `"main"` branch. If `revision` is set and is a branch, PR is opened + against this branch. If `revision` is set and is not a branch name (example: a commit oid), an + `RevisionNotFoundError` is returned by the server. If both `multi_commits` and `create_pr` are True, + the PR created in the multi-commit process is kept opened. + parent_commit (`str`, *optional*): + The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported. + If specified and `create_pr` is `False`, the commit will fail if `revision` does not point to `parent_commit`. + If specified and `create_pr` is `True`, the pull request will be created from `parent_commit`. + Specifying `parent_commit` ensures the repo has not changed before committing the changes, and can be + especially useful if the repo is updated / committed to concurrently. + allow_patterns (`List[str]` or `str`, *optional*): + If provided, only files matching at least one pattern are uploaded. + ignore_patterns (`List[str]` or `str`, *optional*): + If provided, files matching any of the patterns are not uploaded. + delete_patterns (`List[str]` or `str`, *optional*): + If provided, remote files matching any of the patterns will be deleted from the repo while committing + new files. This is useful if you don't know which files have already been uploaded. + Note: to avoid discrepancies the `.gitattributes` file is not deleted even if it matches the pattern. + multi_commits (`bool`): + If True, changes are pushed to a PR using a multi-commit process. Defaults to `False`. + multi_commits_verbose (`bool`): + If True and `multi_commits` is used, more information will be displayed to the user. + run_as_future (`bool`, *optional*): + Whether or not to run this method in the background. Background jobs are run sequentially without + blocking the main thread. Passing `run_as_future=True` will return a [Future](https://docs.python.org/3/library/concurrent.futures.html#future-objects) + object. Defaults to `False`. + + Returns: + [`CommitInfo`] or `Future`: + Instance of [`CommitInfo`] containing information about the newly created commit (commit hash, commit + url, pr url, commit message,...). If `run_as_future=True` is passed, returns a Future object which will + contain the result when executed. + [`str`] or `Future`: + If `multi_commits=True`, returns the url of the PR created to push the changes. If `run_as_future=True` + is passed, returns a Future object which will contain the result when executed. + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + + + + + + `upload_folder` assumes that the repo already exists on the Hub. If you get a Client error 404, please make + sure you are authenticated and that `repo_id` and `repo_type` are set correctly. If repo does not exist, create + it first using [`~hf_api.create_repo`]. + + + + + + `multi_commits` is experimental. Its API and behavior is subject to change in the future without prior notice. + + + + Example: + + ```python + # Upload checkpoints folder except the log files + >>> upload_folder( + ... folder_path="local/checkpoints", + ... path_in_repo="remote/experiment/checkpoints", + ... repo_id="username/my-dataset", + ... repo_type="datasets", + ... token="my_token", + ... ignore_patterns="**/logs/*.txt", + ... ) + # "https://huggingface.co/datasets/username/my-dataset/tree/main/remote/experiment/checkpoints" + + # Upload checkpoints folder including logs while deleting existing logs from the repo + # Useful if you don't know exactly which log files have already being pushed + >>> upload_folder( + ... folder_path="local/checkpoints", + ... path_in_repo="remote/experiment/checkpoints", + ... repo_id="username/my-dataset", + ... repo_type="datasets", + ... token="my_token", + ... delete_patterns="**/logs/*.txt", + ... ) + "https://huggingface.co/datasets/username/my-dataset/tree/main/remote/experiment/checkpoints" + + # Upload checkpoints folder while creating a PR + >>> upload_folder( + ... folder_path="local/checkpoints", + ... path_in_repo="remote/experiment/checkpoints", + ... repo_id="username/my-dataset", + ... repo_type="datasets", + ... token="my_token", + ... create_pr=True, + ... ) + "https://huggingface.co/datasets/username/my-dataset/tree/refs%2Fpr%2F1/remote/experiment/checkpoints" + + ``` + """ + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + + if multi_commits: + if revision is not None and revision != DEFAULT_REVISION: + raise ValueError("Cannot use `multi_commit` to commit changes other than the main branch.") + + # By default, upload folder to the root directory in repo. + if path_in_repo is None: + path_in_repo = "" + + # Do not upload .git folder + if ignore_patterns is None: + ignore_patterns = [] + elif isinstance(ignore_patterns, str): + ignore_patterns = [ignore_patterns] + ignore_patterns += IGNORE_GIT_FOLDER_PATTERNS + + delete_operations = self._prepare_upload_folder_deletions( + repo_id=repo_id, + repo_type=repo_type, + revision=DEFAULT_REVISION if create_pr else revision, + token=token, + path_in_repo=path_in_repo, + delete_patterns=delete_patterns, + ) + add_operations = _prepare_upload_folder_additions( + folder_path, + path_in_repo, + allow_patterns=allow_patterns, + ignore_patterns=ignore_patterns, + ) + + # Optimize operations: if some files will be overwritten, we don't need to delete them first + if len(add_operations) > 0: + added_paths = set(op.path_in_repo for op in add_operations) + delete_operations = [ + delete_op for delete_op in delete_operations if delete_op.path_in_repo not in added_paths + ] + commit_operations = delete_operations + add_operations + + commit_message = commit_message or "Upload folder using huggingface_hub" + if multi_commits: + addition_commits, deletion_commits = plan_multi_commits(operations=commit_operations) + pr_url = self.create_commits_on_pr( + repo_id=repo_id, + repo_type=repo_type, + addition_commits=addition_commits, + deletion_commits=deletion_commits, + commit_message=commit_message, + commit_description=commit_description, + token=token, + merge_pr=not create_pr, + verbose=multi_commits_verbose, + ) + # Defining a CommitInfo object is not really relevant in this case + # Let's return early with pr_url only (as string). + return pr_url + + commit_info = self.create_commit( + repo_type=repo_type, + repo_id=repo_id, + operations=commit_operations, + commit_message=commit_message, + commit_description=commit_description, + token=token, + revision=revision, + create_pr=create_pr, + parent_commit=parent_commit, + ) + + # Create url to uploaded folder (for legacy return value) + if create_pr and commit_info.pr_url is not None: + revision = quote(_parse_revision_from_pr_url(commit_info.pr_url), safe="") + if repo_type in REPO_TYPES_URL_PREFIXES: + repo_id = REPO_TYPES_URL_PREFIXES[repo_type] + repo_id + revision = revision if revision is not None else DEFAULT_REVISION + + return CommitInfo( + commit_url=commit_info.commit_url, + commit_message=commit_info.commit_message, + commit_description=commit_info.commit_description, + oid=commit_info.oid, + pr_url=commit_info.pr_url, + # Similar to `hf_hub_url` but it's "tree" instead of "resolve" + # TODO: remove this in v1.0 + _url=f"{self.endpoint}/{repo_id}/tree/{revision}/{path_in_repo}", + ) + + @validate_hf_hub_args + def delete_file( + self, + path_in_repo: str, + repo_id: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + ) -> CommitInfo: + """ + Deletes a file in the given repo. + + Args: + path_in_repo (`str`): + Relative filepath in the repo, for example: + `"checkpoints/1fec34a/weights.bin"` + repo_id (`str`): + The repository from which the file will be deleted, for example: + `"username/custom_transformers"` + token (`str`, *optional*): + Authentication token, obtained with `HfApi.login` method. Will + default to the stored token. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if the file is in a dataset or + space, `None` or `"model"` if in a model. Default is `None`. + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the `"main"` branch. + commit_message (`str`, *optional*): + The summary / title / first line of the generated commit. Defaults to + `f"Delete {path_in_repo} with huggingface_hub"`. + commit_description (`str` *optional*) + The description of the generated commit + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request with that commit. Defaults to `False`. + If `revision` is not set, PR is opened against the `"main"` branch. If + `revision` is set and is a branch, PR is opened against this branch. If + `revision` is set and is not a branch name (example: a commit oid), an + `RevisionNotFoundError` is returned by the server. + parent_commit (`str`, *optional*): + The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported. + If specified and `create_pr` is `False`, the commit will fail if `revision` does not point to `parent_commit`. + If specified and `create_pr` is `True`, the pull request will be created from `parent_commit`. + Specifying `parent_commit` ensures the repo has not changed before committing the changes, and can be + especially useful if the repo is updated / committed to concurrently. + + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + - [`~utils.EntryNotFoundError`] + If the file to download cannot be found. + + + + """ + commit_message = ( + commit_message if commit_message is not None else f"Delete {path_in_repo} with huggingface_hub" + ) + + operations = [CommitOperationDelete(path_in_repo=path_in_repo)] + + return self.create_commit( + repo_id=repo_id, + repo_type=repo_type, + token=token, + operations=operations, + revision=revision, + commit_message=commit_message, + commit_description=commit_description, + create_pr=create_pr, + parent_commit=parent_commit, + ) + + @validate_hf_hub_args + def delete_folder( + self, + path_in_repo: str, + repo_id: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + ) -> CommitInfo: + """ + Deletes a folder in the given repo. + + Simple wrapper around [`create_commit`] method. + + Args: + path_in_repo (`str`): + Relative folder path in the repo, for example: `"checkpoints/1fec34a"`. + repo_id (`str`): + The repository from which the folder will be deleted, for example: + `"username/custom_transformers"` + token (`str`, *optional*): + Authentication token, obtained with `HfApi.login` method. Will default + to the stored token. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if the folder is in a dataset or + space, `None` or `"model"` if in a model. Default is `None`. + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the `"main"` branch. + commit_message (`str`, *optional*): + The summary / title / first line of the generated commit. Defaults to + `f"Delete folder {path_in_repo} with huggingface_hub"`. + commit_description (`str` *optional*) + The description of the generated commit. + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request with that commit. Defaults to `False`. + If `revision` is not set, PR is opened against the `"main"` branch. If + `revision` is set and is a branch, PR is opened against this branch. If + `revision` is set and is not a branch name (example: a commit oid), an + `RevisionNotFoundError` is returned by the server. + parent_commit (`str`, *optional*): + The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported. + If specified and `create_pr` is `False`, the commit will fail if `revision` does not point to `parent_commit`. + If specified and `create_pr` is `True`, the pull request will be created from `parent_commit`. + Specifying `parent_commit` ensures the repo has not changed before committing the changes, and can be + especially useful if the repo is updated / committed to concurrently. + """ + return self.create_commit( + repo_id=repo_id, + repo_type=repo_type, + token=token, + operations=[CommitOperationDelete(path_in_repo=path_in_repo, is_folder=True)], + revision=revision, + commit_message=( + commit_message if commit_message is not None else f"Delete folder {path_in_repo} with huggingface_hub" + ), + commit_description=commit_description, + create_pr=create_pr, + parent_commit=parent_commit, + ) + + @validate_hf_hub_args + def get_hf_file_metadata( + self, + *, + url: str, + token: Union[bool, str, None] = None, + proxies: Optional[Dict] = None, + timeout: Optional[float] = DEFAULT_REQUEST_TIMEOUT, + ) -> HfFileMetadata: + """Fetch metadata of a file versioned on the Hub for a given url. + + Args: + url (`str`): + File url, for example returned by [`hf_hub_url`]. + token (`str` or `bool`, *optional*): + A token to be used for the download. + - If `True`, the token is read from the HuggingFace config + folder. + - If `False` or `None`, no token is provided. + - If a string, it's used as the authentication token. + proxies (`dict`, *optional*): + Dictionary mapping protocol to the URL of the proxy passed to `requests.request`. + timeout (`float`, *optional*, defaults to 10): + How many seconds to wait for the server to send metadata before giving up. + + Returns: + A [`HfFileMetadata`] object containing metadata such as location, etag, size and commit_hash. + """ + if token is None: + # Cannot do `token = token or self.token` as token can be `False`. + token = self.token + + return get_hf_file_metadata( + url=url, + token=token, + proxies=proxies, + timeout=timeout, + library_name=self.library_name, + library_version=self.library_version, + user_agent=self.user_agent, + ) + + @validate_hf_hub_args + def hf_hub_download( + self, + repo_id: str, + filename: str, + *, + subfolder: Optional[str] = None, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + cache_dir: Union[str, Path, None] = None, + local_dir: Union[str, Path, None] = None, + local_dir_use_symlinks: Union[bool, Literal["auto"]] = "auto", + force_download: bool = False, + force_filename: Optional[str] = None, + proxies: Optional[Dict] = None, + etag_timeout: float = DEFAULT_ETAG_TIMEOUT, + resume_download: bool = False, + token: Optional[Union[str, bool]] = None, + local_files_only: bool = False, + legacy_cache_layout: bool = False, + ) -> str: + """Download a given file if it's not already present in the local cache. + + The new cache file layout looks like this: + - The cache directory contains one subfolder per repo_id (namespaced by repo type) + - inside each repo folder: + - refs is a list of the latest known revision => commit_hash pairs + - blobs contains the actual file blobs (identified by their git-sha or sha256, depending on + whether they're LFS files or not) + - snapshots contains one subfolder per commit, each "commit" contains the subset of the files + that have been resolved at that particular commit. Each filename is a symlink to the blob + at that particular commit. + + If `local_dir` is provided, the file structure from the repo will be replicated in this location. You can configure + how you want to move those files: + - If `local_dir_use_symlinks="auto"` (default), files are downloaded and stored in the cache directory as blob + files. Small files (<5MB) are duplicated in `local_dir` while a symlink is created for bigger files. The goal + is to be able to manually edit and save small files without corrupting the cache while saving disk space for + binary files. The 5MB threshold can be configured with the `HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD` + environment variable. + - If `local_dir_use_symlinks=True`, files are downloaded, stored in the cache directory and symlinked in `local_dir`. + This is optimal in term of disk usage but files must not be manually edited. + - If `local_dir_use_symlinks=False` and the blob files exist in the cache directory, they are duplicated in the + local dir. This means disk usage is not optimized. + - Finally, if `local_dir_use_symlinks=False` and the blob files do not exist in the cache directory, then the + files are downloaded and directly placed under `local_dir`. This means if you need to download them again later, + they will be re-downloaded entirely. + + ``` + [ 96] . + └── [ 160] models--julien-c--EsperBERTo-small + ├── [ 160] blobs + │ ├── [321M] 403450e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd + │ ├── [ 398] 7cb18dc9bafbfcf74629a4b760af1b160957a83e + │ └── [1.4K] d7edf6bd2a681fb0175f7735299831ee1b22b812 + ├── [ 96] refs + │ └── [ 40] main + └── [ 128] snapshots + ├── [ 128] 2439f60ef33a0d46d85da5001d52aeda5b00ce9f + │ ├── [ 52] README.md -> ../../blobs/d7edf6bd2a681fb0175f7735299831ee1b22b812 + │ └── [ 76] pytorch_model.bin -> ../../blobs/403450e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd + └── [ 128] bbc77c8132af1cc5cf678da3f1ddf2de43606d48 + ├── [ 52] README.md -> ../../blobs/7cb18dc9bafbfcf74629a4b760af1b160957a83e + └── [ 76] pytorch_model.bin -> ../../blobs/403450e234d65943a7dcf7e05a771ce3c92faa84dd07db4ac20f592037a1e4bd + ``` + + Args: + repo_id (`str`): + A user or an organization name and a repo name separated by a `/`. + filename (`str`): + The name of the file in the repo. + subfolder (`str`, *optional*): + An optional value corresponding to a folder inside the model repo. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if downloading from a dataset or space, + `None` or `"model"` if downloading from a model. Default is `None`. + revision (`str`, *optional*): + An optional Git revision id which can be a branch name, a tag, or a + commit hash. + cache_dir (`str`, `Path`, *optional*): + Path to the folder where cached files are stored. + local_dir (`str` or `Path`, *optional*): + If provided, the downloaded file will be placed under this directory, either as a symlink (default) or + a regular file (see description for more details). + local_dir_use_symlinks (`"auto"` or `bool`, defaults to `"auto"`): + To be used with `local_dir`. If set to "auto", the cache directory will be used and the file will be either + duplicated or symlinked to the local directory depending on its size. It set to `True`, a symlink will be + created, no matter the file size. If set to `False`, the file will either be duplicated from cache (if + already exists) or downloaded from the Hub and not cached. See description for more details. + force_download (`bool`, *optional*, defaults to `False`): + Whether the file should be downloaded even if it already exists in + the local cache. + proxies (`dict`, *optional*): + Dictionary mapping protocol to the URL of the proxy passed to + `requests.request`. + etag_timeout (`float`, *optional*, defaults to `10`): + When fetching ETag, how many seconds to wait for the server to send + data before giving up which is passed to `requests.request`. + resume_download (`bool`, *optional*, defaults to `False`): + If `True`, resume a previously interrupted download. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + local_files_only (`bool`, *optional*, defaults to `False`): + If `True`, avoid downloading the file and return the path to the + local cached file if it exists. + legacy_cache_layout (`bool`, *optional*, defaults to `False`): + If `True`, uses the legacy file cache layout i.e. just call [`hf_hub_url`] + then `cached_download`. This is deprecated as the new cache layout is + more powerful. + + Returns: + Local path (string) of file or if networking is off, last version of + file cached on disk. + + + + Raises the following errors: + + - [`EnvironmentError`](https://docs.python.org/3/library/exceptions.html#EnvironmentError) + if `token=True` and the token cannot be found. + - [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError) + if ETag cannot be determined. + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + - [`~utils.RevisionNotFoundError`] + If the revision to download from cannot be found. + - [`~utils.EntryNotFoundError`] + If the file to download cannot be found. + - [`~utils.LocalEntryNotFoundError`] + If network is disabled or unavailable and file is not found in cache. + + + """ + from .file_download import hf_hub_download + + if token is None: + # Cannot do `token = token or self.token` as token can be `False`. + token = self.token + + return hf_hub_download( + repo_id=repo_id, + filename=filename, + subfolder=subfolder, + repo_type=repo_type, + revision=revision, + endpoint=self.endpoint, + library_name=self.library_name, + library_version=self.library_version, + cache_dir=cache_dir, + local_dir=local_dir, + local_dir_use_symlinks=local_dir_use_symlinks, + user_agent=self.user_agent, + force_download=force_download, + force_filename=force_filename, + proxies=proxies, + etag_timeout=etag_timeout, + resume_download=resume_download, + token=token, + local_files_only=local_files_only, + legacy_cache_layout=legacy_cache_layout, + ) + + @validate_hf_hub_args + def snapshot_download( + self, + repo_id: str, + *, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + cache_dir: Union[str, Path, None] = None, + local_dir: Union[str, Path, None] = None, + local_dir_use_symlinks: Union[bool, Literal["auto"]] = "auto", + proxies: Optional[Dict] = None, + etag_timeout: float = DEFAULT_ETAG_TIMEOUT, + resume_download: bool = False, + force_download: bool = False, + token: Optional[Union[str, bool]] = None, + local_files_only: bool = False, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + max_workers: int = 8, + tqdm_class: Optional[base_tqdm] = None, + ) -> str: + """Download repo files. + + Download a whole snapshot of a repo's files at the specified revision. This is useful when you want all files from + a repo, because you don't know which ones you will need a priori. All files are nested inside a folder in order + to keep their actual filename relative to that folder. You can also filter which files to download using + `allow_patterns` and `ignore_patterns`. + + If `local_dir` is provided, the file structure from the repo will be replicated in this location. You can configure + how you want to move those files: + - If `local_dir_use_symlinks="auto"` (default), files are downloaded and stored in the cache directory as blob + files. Small files (<5MB) are duplicated in `local_dir` while a symlink is created for bigger files. The goal + is to be able to manually edit and save small files without corrupting the cache while saving disk space for + binary files. The 5MB threshold can be configured with the `HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD` + environment variable. + - If `local_dir_use_symlinks=True`, files are downloaded, stored in the cache directory and symlinked in `local_dir`. + This is optimal in term of disk usage but files must not be manually edited. + - If `local_dir_use_symlinks=False` and the blob files exist in the cache directory, they are duplicated in the + local dir. This means disk usage is not optimized. + - Finally, if `local_dir_use_symlinks=False` and the blob files do not exist in the cache directory, then the + files are downloaded and directly placed under `local_dir`. This means if you need to download them again later, + they will be re-downloaded entirely. + + An alternative would be to clone the repo but this requires git and git-lfs to be installed and properly + configured. It is also not possible to filter which files to download when cloning a repository using git. + + Args: + repo_id (`str`): + A user or an organization name and a repo name separated by a `/`. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if downloading from a dataset or space, + `None` or `"model"` if downloading from a model. Default is `None`. + revision (`str`, *optional*): + An optional Git revision id which can be a branch name, a tag, or a + commit hash. + cache_dir (`str`, `Path`, *optional*): + Path to the folder where cached files are stored. + local_dir (`str` or `Path`, *optional*): + If provided, the downloaded files will be placed under this directory, either as symlinks (default) or + regular files (see description for more details). + local_dir_use_symlinks (`"auto"` or `bool`, defaults to `"auto"`): + To be used with `local_dir`. If set to "auto", the cache directory will be used and the file will be either + duplicated or symlinked to the local directory depending on its size. It set to `True`, a symlink will be + created, no matter the file size. If set to `False`, the file will either be duplicated from cache (if + already exists) or downloaded from the Hub and not cached. See description for more details. + proxies (`dict`, *optional*): + Dictionary mapping protocol to the URL of the proxy passed to + `requests.request`. + etag_timeout (`float`, *optional*, defaults to `10`): + When fetching ETag, how many seconds to wait for the server to send + data before giving up which is passed to `requests.request`. + resume_download (`bool`, *optional*, defaults to `False): + If `True`, resume a previously interrupted download. + force_download (`bool`, *optional*, defaults to `False`): + Whether the file should be downloaded even if it already exists in the local cache. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + local_files_only (`bool`, *optional*, defaults to `False`): + If `True`, avoid downloading the file and return the path to the + local cached file if it exists. + allow_patterns (`List[str]` or `str`, *optional*): + If provided, only files matching at least one pattern are downloaded. + ignore_patterns (`List[str]` or `str`, *optional*): + If provided, files matching any of the patterns are not downloaded. + max_workers (`int`, *optional*): + Number of concurrent threads to download files (1 thread = 1 file download). + Defaults to 8. + tqdm_class (`tqdm`, *optional*): + If provided, overwrites the default behavior for the progress bar. Passed + argument must inherit from `tqdm.auto.tqdm` or at least mimic its behavior. + Note that the `tqdm_class` is not passed to each individual download. + Defaults to the custom HF progress bar that can be disabled by setting + `HF_HUB_DISABLE_PROGRESS_BARS` environment variable. + + Returns: + Local folder path (string) of repo snapshot + + + + Raises the following errors: + + - [`EnvironmentError`](https://docs.python.org/3/library/exceptions.html#EnvironmentError) + if `token=True` and the token cannot be found. + - [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError) if + ETag cannot be determined. + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + + + """ + from ._snapshot_download import snapshot_download + + if token is None: + # Cannot do `token = token or self.token` as token can be `False`. + token = self.token + + return snapshot_download( + repo_id=repo_id, + repo_type=repo_type, + revision=revision, + endpoint=self.endpoint, + cache_dir=cache_dir, + local_dir=local_dir, + local_dir_use_symlinks=local_dir_use_symlinks, + library_name=self.library_name, + library_version=self.library_version, + user_agent=self.user_agent, + proxies=proxies, + etag_timeout=etag_timeout, + resume_download=resume_download, + force_download=force_download, + token=token, + local_files_only=local_files_only, + allow_patterns=allow_patterns, + ignore_patterns=ignore_patterns, + max_workers=max_workers, + tqdm_class=tqdm_class, + ) + + def get_safetensors_metadata( + self, + repo_id: str, + *, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + token: Optional[str] = None, + ) -> SafetensorsRepoMetadata: + """ + Parse metadata for a safetensors repo on the Hub. + + We first check if the repo has a single safetensors file or a sharded safetensors repo. If it's a single + safetensors file, we parse the metadata from this file. If it's a sharded safetensors repo, we parse the + metadata from the index file and then parse the metadata from each shard. + + To parse metadata from a single safetensors file, use [`get_safetensors_metadata`]. + + For more details regarding the safetensors format, check out https://huggingface.co/docs/safetensors/index#format. + + Args: + repo_id (`str`): + A user or an organization name and a repo name separated by a `/`. + filename (`str`): + The name of the file in the repo. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if the file is in a dataset or space, `None` or `"model"` if in a + model. Default is `None`. + revision (`str`, *optional*): + The git revision to fetch the file from. Can be a branch name, a tag, or a commit hash. Defaults to the + head of the `"main"` branch. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). If `None` or `True` and + machine is logged in (through `huggingface-cli login` or [`~huggingface_hub.login`]), token will be + retrieved from the cache. If `False`, token is not sent in the request header. + + Returns: + [`SafetensorsRepoMetadata`]: information related to safetensors repo. + + Raises: + - [`NotASafetensorsRepoError`]: if the repo is not a safetensors repo i.e. doesn't have either a + `model.safetensors` or a `model.safetensors.index.json` file. + - [`SafetensorsParsingError`]: if a safetensors file header couldn't be parsed correctly. + + Example: + ```py + # Parse repo with single weights file + >>> metadata = get_safetensors_metadata("bigscience/bloomz-560m") + >>> metadata + SafetensorsRepoMetadata( + metadata=None, + sharded=False, + weight_map={'h.0.input_layernorm.bias': 'model.safetensors', ...}, + files_metadata={'model.safetensors': SafetensorsFileMetadata(...)} + ) + >>> metadata.files_metadata["model.safetensors"].metadata + {'format': 'pt'} + + # Parse repo with sharded model + >>> metadata = get_safetensors_metadata("bigscience/bloom") + Parse safetensors files: 100%|██████████████████████████████████████████| 72/72 [00:12<00:00, 5.78it/s] + >>> metadata + SafetensorsRepoMetadata(metadata={'total_size': 352494542848}, sharded=True, weight_map={...}, files_metadata={...}) + >>> len(metadata.files_metadata) + 72 # All safetensors files have been fetched + + # Parse repo with sharded model + >>> get_safetensors_metadata("runwayml/stable-diffusion-v1-5") + NotASafetensorsRepoError: 'runwayml/stable-diffusion-v1-5' is not a safetensors repo. Couldn't find 'model.safetensors.index.json' or 'model.safetensors' files. + ``` + """ + if self.file_exists( # Single safetensors file => non-sharded model + repo_id=repo_id, filename=SAFETENSORS_SINGLE_FILE, repo_type=repo_type, revision=revision, token=token + ): + file_metadata = self.parse_safetensors_file_metadata( + repo_id=repo_id, filename=SAFETENSORS_SINGLE_FILE, repo_type=repo_type, revision=revision, token=token + ) + return SafetensorsRepoMetadata( + metadata=None, + sharded=False, + weight_map={tensor_name: SAFETENSORS_SINGLE_FILE for tensor_name in file_metadata.tensors.keys()}, + files_metadata={SAFETENSORS_SINGLE_FILE: file_metadata}, + ) + elif self.file_exists( # Multiple safetensors files => sharded with index + repo_id=repo_id, filename=SAFETENSORS_INDEX_FILE, repo_type=repo_type, revision=revision, token=token + ): + # Fetch index + index_file = self.hf_hub_download( + repo_id=repo_id, filename=SAFETENSORS_INDEX_FILE, repo_type=repo_type, revision=revision, token=token + ) + with open(index_file) as f: + index = json.load(f) + + weight_map = index.get("weight_map", {}) + + # Fetch metadata per shard + files_metadata = {} + + def _parse(filename: str) -> None: + files_metadata[filename] = self.parse_safetensors_file_metadata( + repo_id=repo_id, filename=filename, repo_type=repo_type, revision=revision, token=token + ) + + thread_map( + _parse, + set(weight_map.values()), + desc="Parse safetensors files", + tqdm_class=hf_tqdm, + ) + + return SafetensorsRepoMetadata( + metadata=index.get("metadata", None), + sharded=True, + weight_map=weight_map, + files_metadata=files_metadata, + ) + else: + # Not a safetensors repo + raise NotASafetensorsRepoError( + f"'{repo_id}' is not a safetensors repo. Couldn't find '{SAFETENSORS_INDEX_FILE}' or '{SAFETENSORS_SINGLE_FILE}' files." + ) + + def parse_safetensors_file_metadata( + self, + repo_id: str, + filename: str, + *, + repo_type: Optional[str] = None, + revision: Optional[str] = None, + token: Optional[str] = None, + ) -> SafetensorsFileMetadata: + """ + Parse metadata from a safetensors file on the Hub. + + To parse metadata from all safetensors files in a repo at once, use [`get_safetensors_metadata`]. + + For more details regarding the safetensors format, check out https://huggingface.co/docs/safetensors/index#format. + + Args: + repo_id (`str`): + A user or an organization name and a repo name separated by a `/`. + filename (`str`): + The name of the file in the repo. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if the file is in a dataset or space, `None` or `"model"` if in a + model. Default is `None`. + revision (`str`, *optional*): + The git revision to fetch the file from. Can be a branch name, a tag, or a commit hash. Defaults to the + head of the `"main"` branch. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). If `None` or `True` and + machine is logged in (through `huggingface-cli login` or [`~huggingface_hub.login`]), token will be + retrieved from the cache. If `False`, token is not sent in the request header. + + Returns: + [`SafetensorsFileMetadata`]: information related to a safetensors file. + + Raises: + - [`NotASafetensorsRepoError`]: if the repo is not a safetensors repo i.e. doesn't have either a + `model.safetensors` or a `model.safetensors.index.json` file. + - [`SafetensorsParsingError`]: if a safetensors file header couldn't be parsed correctly. + """ + url = hf_hub_url( + repo_id=repo_id, filename=filename, repo_type=repo_type, revision=revision, endpoint=self.endpoint + ) + _headers = self._build_hf_headers(token=token) + + # 1. Fetch first 100kb + # Empirically, 97% of safetensors files have a metadata size < 100kb (over the top 1000 models on the Hub). + # We assume fetching 100kb is faster than making 2 GET requests. Therefore we always fetch the first 100kb to + # avoid the 2nd GET in most cases. + # See https://github.com/huggingface/huggingface_hub/pull/1855#discussion_r1404286419. + response = get_session().get(url, headers={**_headers, "range": "bytes=0-100000"}) + hf_raise_for_status(response) + + # 2. Parse metadata size + metadata_size = struct.unpack(" SAFETENSORS_MAX_HEADER_LENGTH: + raise SafetensorsParsingError( + f"Failed to parse safetensors header for '{filename}' (repo '{repo_id}', revision " + f"'{revision or DEFAULT_REVISION}'): safetensors header is too big. Maximum supported size is " + f"{SAFETENSORS_MAX_HEADER_LENGTH} bytes (got {metadata_size})." + ) + + # 3.a. Get metadata from payload + if metadata_size <= 100000: + metadata_as_bytes = response.content[8 : 8 + metadata_size] + else: # 3.b. Request full metadata + response = get_session().get(url, headers={**_headers, "range": f"bytes=8-{metadata_size+7}"}) + hf_raise_for_status(response) + metadata_as_bytes = response.content + + # 4. Parse json header + try: + metadata_as_dict = json.loads(metadata_as_bytes.decode(errors="ignore")) + except json.JSONDecodeError as e: + raise SafetensorsParsingError( + f"Failed to parse safetensors header for '{filename}' (repo '{repo_id}', revision " + f"'{revision or DEFAULT_REVISION}'): header is not json-encoded string. Please make sure this is a " + "correctly formatted safetensors file." + ) from e + + try: + return SafetensorsFileMetadata( + metadata=metadata_as_dict.get("__metadata__", {}), + tensors={ + key: TensorInfo( + dtype=tensor["dtype"], + shape=tensor["shape"], + data_offsets=tuple(tensor["data_offsets"]), # type: ignore + ) + for key, tensor in metadata_as_dict.items() + if key != "__metadata__" + }, + ) + except (KeyError, IndexError) as e: + raise SafetensorsParsingError( + f"Failed to parse safetensors header for '{filename}' (repo '{repo_id}', revision " + f"'{revision or DEFAULT_REVISION}'): header format not recognized. Please make sure this is a correctly" + " formatted safetensors file." + ) from e + + @validate_hf_hub_args + def create_branch( + self, + repo_id: str, + *, + branch: str, + revision: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + exist_ok: bool = False, + ) -> None: + """ + Create a new branch for a repo on the Hub, starting from the specified revision (defaults to `main`). + To find a revision suiting your needs, you can use [`list_repo_refs`] or [`list_repo_commits`]. + + Args: + repo_id (`str`): + The repository in which the branch will be created. + Example: `"user/my-cool-model"`. + + branch (`str`): + The name of the branch to create. + + revision (`str`, *optional*): + The git revision to create the branch from. It can be a branch name or + the OID/SHA of a commit, as a hexadecimal string. Defaults to the head + of the `"main"` branch. + + token (`str`, *optional*): + Authentication token. Will default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if creating a branch on a dataset or + space, `None` or `"model"` if tagging a model. Default is `None`. + + exist_ok (`bool`, *optional*, defaults to `False`): + If `True`, do not raise an error if branch already exists. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private + but not authenticated or repo does not exist. + [`~utils.BadRequestError`]: + If invalid reference for a branch. Ex: `refs/pr/5` or 'refs/foo/bar'. + [`~utils.HfHubHTTPError`]: + If the branch already exists on the repo (error 409) and `exist_ok` is + set to `False`. + """ + if repo_type is None: + repo_type = REPO_TYPE_MODEL + branch = quote(branch, safe="") + + # Prepare request + branch_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/branch/{branch}" + headers = self._build_hf_headers(token=token, is_write_action=True) + payload = {} + if revision is not None: + payload["startingPoint"] = revision + + # Create branch + response = get_session().post(url=branch_url, headers=headers, json=payload) + try: + hf_raise_for_status(response) + except HfHubHTTPError as e: + if not (e.response.status_code == 409 and exist_ok): + raise + + @validate_hf_hub_args + def delete_branch( + self, + repo_id: str, + *, + branch: str, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> None: + """ + Delete a branch from a repo on the Hub. + + Args: + repo_id (`str`): + The repository in which a branch will be deleted. + Example: `"user/my-cool-model"`. + + branch (`str`): + The name of the branch to delete. + + token (`str`, *optional*): + Authentication token. Will default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if creating a branch on a dataset or + space, `None` or `"model"` if tagging a model. Default is `None`. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private + but not authenticated or repo does not exist. + [`~utils.HfHubHTTPError`]: + If trying to delete a protected branch. Ex: `main` cannot be deleted. + [`~utils.HfHubHTTPError`]: + If trying to delete a branch that does not exist. + + """ + if repo_type is None: + repo_type = REPO_TYPE_MODEL + branch = quote(branch, safe="") + + # Prepare request + branch_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/branch/{branch}" + headers = self._build_hf_headers(token=token, is_write_action=True) + + # Delete branch + response = get_session().delete(url=branch_url, headers=headers) + hf_raise_for_status(response) + + @validate_hf_hub_args + def create_tag( + self, + repo_id: str, + *, + tag: str, + tag_message: Optional[str] = None, + revision: Optional[str] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + exist_ok: bool = False, + ) -> None: + """ + Tag a given commit of a repo on the Hub. + + Args: + repo_id (`str`): + The repository in which a commit will be tagged. + Example: `"user/my-cool-model"`. + + tag (`str`): + The name of the tag to create. + + tag_message (`str`, *optional*): + The description of the tag to create. + + revision (`str`, *optional*): + The git revision to tag. It can be a branch name or the OID/SHA of a + commit, as a hexadecimal string. Shorthands (7 first characters) are + also supported. Defaults to the head of the `"main"` branch. + + token (`str`, *optional*): + Authentication token. Will default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if tagging a dataset or + space, `None` or `"model"` if tagging a model. Default is + `None`. + + exist_ok (`bool`, *optional*, defaults to `False`): + If `True`, do not raise an error if tag already exists. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private + but not authenticated or repo does not exist. + [`~utils.RevisionNotFoundError`]: + If revision is not found (error 404) on the repo. + [`~utils.HfHubHTTPError`]: + If the branch already exists on the repo (error 409) and `exist_ok` is + set to `False`. + """ + if repo_type is None: + repo_type = REPO_TYPE_MODEL + revision = quote(revision, safe="") if revision is not None else DEFAULT_REVISION + + # Prepare request + tag_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/tag/{revision}" + headers = self._build_hf_headers(token=token, is_write_action=True) + payload = {"tag": tag} + if tag_message is not None: + payload["message"] = tag_message + + # Tag + response = get_session().post(url=tag_url, headers=headers, json=payload) + try: + hf_raise_for_status(response) + except HfHubHTTPError as e: + if not (e.response.status_code == 409 and exist_ok): + raise + + @validate_hf_hub_args + def delete_tag( + self, + repo_id: str, + *, + tag: str, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> None: + """ + Delete a tag from a repo on the Hub. + + Args: + repo_id (`str`): + The repository in which a tag will be deleted. + Example: `"user/my-cool-model"`. + + tag (`str`): + The name of the tag to delete. + + token (`str`, *optional*): + Authentication token. Will default to the stored token. + + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if tagging a dataset or space, `None` or + `"model"` if tagging a model. Default is `None`. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If repository is not found (error 404): wrong repo_id/repo_type, private + but not authenticated or repo does not exist. + [`~utils.RevisionNotFoundError`]: + If tag is not found. + """ + if repo_type is None: + repo_type = REPO_TYPE_MODEL + tag = quote(tag, safe="") + + # Prepare request + tag_url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/tag/{tag}" + headers = self._build_hf_headers(token=token, is_write_action=True) + + # Un-tag + response = get_session().delete(url=tag_url, headers=headers) + hf_raise_for_status(response) + + @validate_hf_hub_args + def get_full_repo_name( + self, + model_id: str, + *, + organization: Optional[str] = None, + token: Optional[Union[bool, str]] = None, + ): + """ + Returns the repository name for a given model ID and optional + organization. + + Args: + model_id (`str`): + The name of the model. + organization (`str`, *optional*): + If passed, the repository name will be in the organization + namespace instead of the user namespace. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + + Returns: + `str`: The repository name in the user's namespace + ({username}/{model_id}) if no organization is passed, and under the + organization namespace ({organization}/{model_id}) otherwise. + """ + if organization is None: + if "/" in model_id: + username = model_id.split("/")[0] + else: + username = self.whoami(token=token)["name"] # type: ignore + return f"{username}/{model_id}" + else: + return f"{organization}/{model_id}" + + @validate_hf_hub_args + def get_repo_discussions( + self, + repo_id: str, + *, + author: Optional[str] = None, + discussion_type: Optional[DiscussionTypeFilter] = None, + discussion_status: Optional[DiscussionStatusFilter] = None, + repo_type: Optional[str] = None, + token: Optional[str] = None, + ) -> Iterator[Discussion]: + """ + Fetches Discussions and Pull Requests for the given repo. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + author (`str`, *optional*): + Pass a value to filter by discussion author. `None` means no filter. + Default is `None`. + discussion_type (`str`, *optional*): + Set to `"pull_request"` to fetch only pull requests, `"discussion"` + to fetch only discussions. Set to `"all"` or `None` to fetch both. + Default is `None`. + discussion_status (`str`, *optional*): + Set to `"open"` (respectively `"closed"`) to fetch only open + (respectively closed) discussions. Set to `"all"` or `None` + to fetch both. + Default is `None`. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if fetching from a dataset or + space, `None` or `"model"` if fetching from a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + + Returns: + `Iterator[Discussion]`: An iterator of [`Discussion`] objects. + + Example: + Collecting all discussions of a repo in a list: + + ```python + >>> from huggingface_hub import get_repo_discussions + >>> discussions_list = list(get_repo_discussions(repo_id="bert-base-uncased")) + ``` + + Iterating over discussions of a repo: + + ```python + >>> from huggingface_hub import get_repo_discussions + >>> for discussion in get_repo_discussions(repo_id="bert-base-uncased"): + ... print(discussion.num, discussion.title) + ``` + """ + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + if repo_type is None: + repo_type = REPO_TYPE_MODEL + if discussion_type is not None and discussion_type not in DISCUSSION_TYPES: + raise ValueError(f"Invalid discussion_type, must be one of {DISCUSSION_TYPES}") + if discussion_status is not None and discussion_status not in DISCUSSION_STATUS: + raise ValueError(f"Invalid discussion_status, must be one of {DISCUSSION_STATUS}") + + headers = self._build_hf_headers(token=token) + query_dict: Dict[str, str] = {} + if discussion_type is not None: + query_dict["type"] = discussion_type + if discussion_status is not None: + query_dict["status"] = discussion_status + if author is not None: + query_dict["author"] = author + + def _fetch_discussion_page(page_index: int): + query_string = urlencode({**query_dict, "page_index": page_index}) + path = f"{self.endpoint}/api/{repo_type}s/{repo_id}/discussions?{query_string}" + resp = get_session().get(path, headers=headers) + hf_raise_for_status(resp) + paginated_discussions = resp.json() + total = paginated_discussions["count"] + start = paginated_discussions["start"] + discussions = paginated_discussions["discussions"] + has_next = (start + len(discussions)) < total + return discussions, has_next + + has_next, page_index = True, 0 + + while has_next: + discussions, has_next = _fetch_discussion_page(page_index=page_index) + for discussion in discussions: + yield Discussion( + title=discussion["title"], + num=discussion["num"], + author=discussion.get("author", {}).get("name", "deleted"), + created_at=parse_datetime(discussion["createdAt"]), + status=discussion["status"], + repo_id=discussion["repo"]["name"], + repo_type=discussion["repo"]["type"], + is_pull_request=discussion["isPullRequest"], + endpoint=self.endpoint, + ) + page_index = page_index + 1 + + @validate_hf_hub_args + def get_discussion_details( + self, + repo_id: str, + discussion_num: int, + *, + repo_type: Optional[str] = None, + token: Optional[str] = None, + ) -> DiscussionWithDetails: + """Fetches a Discussion's / Pull Request 's details from the Hub. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + discussion_num (`int`): + The number of the Discussion or Pull Request . Must be a strictly positive integer. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + + Returns: [`DiscussionWithDetails`] + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + if not isinstance(discussion_num, int) or discussion_num <= 0: + raise ValueError("Invalid discussion_num, must be a positive integer") + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + if repo_type is None: + repo_type = REPO_TYPE_MODEL + + path = f"{self.endpoint}/api/{repo_type}s/{repo_id}/discussions/{discussion_num}" + headers = self._build_hf_headers(token=token) + resp = get_session().get(path, params={"diff": "1"}, headers=headers) + hf_raise_for_status(resp) + + discussion_details = resp.json() + is_pull_request = discussion_details["isPullRequest"] + + target_branch = discussion_details["changes"]["base"] if is_pull_request else None + conflicting_files = discussion_details["filesWithConflicts"] if is_pull_request else None + merge_commit_oid = discussion_details["changes"].get("mergeCommitId", None) if is_pull_request else None + + return DiscussionWithDetails( + title=discussion_details["title"], + num=discussion_details["num"], + author=discussion_details.get("author", {}).get("name", "deleted"), + created_at=parse_datetime(discussion_details["createdAt"]), + status=discussion_details["status"], + repo_id=discussion_details["repo"]["name"], + repo_type=discussion_details["repo"]["type"], + is_pull_request=discussion_details["isPullRequest"], + events=[deserialize_event(evt) for evt in discussion_details["events"]], + conflicting_files=conflicting_files, + target_branch=target_branch, + merge_commit_oid=merge_commit_oid, + diff=discussion_details.get("diff"), + endpoint=self.endpoint, + ) + + @validate_hf_hub_args + def create_discussion( + self, + repo_id: str, + title: str, + *, + token: Optional[str] = None, + description: Optional[str] = None, + repo_type: Optional[str] = None, + pull_request: bool = False, + ) -> DiscussionWithDetails: + """Creates a Discussion or Pull Request. + + Pull Requests created programmatically will be in `"draft"` status. + + Creating a Pull Request with changes can also be done at once with [`HfApi.create_commit`]. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + title (`str`): + The title of the discussion. It can be up to 200 characters long, + and must be at least 3 characters long. Leading and trailing whitespaces + will be stripped. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + description (`str`, *optional*): + An optional description for the Pull Request. + Defaults to `"Discussion opened with the huggingface_hub Python library"` + pull_request (`bool`, *optional*): + Whether to create a Pull Request or discussion. If `True`, creates a Pull Request. + If `False`, creates a discussion. Defaults to `False`. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + + Returns: [`DiscussionWithDetails`] + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + """ + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + if repo_type is None: + repo_type = REPO_TYPE_MODEL + + if description is not None: + description = description.strip() + description = ( + description + if description + else ( + f"{'Pull Request' if pull_request else 'Discussion'} opened with the" + " [huggingface_hub Python" + " library](https://huggingface.co/docs/huggingface_hub)" + ) + ) + + headers = self._build_hf_headers(token=token, is_write_action=True) + resp = get_session().post( + f"{self.endpoint}/api/{repo_type}s/{repo_id}/discussions", + json={ + "title": title.strip(), + "description": description, + "pullRequest": pull_request, + }, + headers=headers, + ) + hf_raise_for_status(resp) + num = resp.json()["num"] + return self.get_discussion_details( + repo_id=repo_id, + repo_type=repo_type, + discussion_num=num, + token=token, + ) + + @validate_hf_hub_args + def create_pull_request( + self, + repo_id: str, + title: str, + *, + token: Optional[str] = None, + description: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> DiscussionWithDetails: + """Creates a Pull Request . Pull Requests created programmatically will be in `"draft"` status. + + Creating a Pull Request with changes can also be done at once with [`HfApi.create_commit`]; + + This is a wrapper around [`HfApi.create_discussion`]. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + title (`str`): + The title of the discussion. It can be up to 200 characters long, + and must be at least 3 characters long. Leading and trailing whitespaces + will be stripped. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + description (`str`, *optional*): + An optional description for the Pull Request. + Defaults to `"Discussion opened with the huggingface_hub Python library"` + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + + Returns: [`DiscussionWithDetails`] + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + """ + return self.create_discussion( + repo_id=repo_id, + title=title, + token=token, + description=description, + repo_type=repo_type, + pull_request=True, + ) + + def _post_discussion_changes( + self, + *, + repo_id: str, + discussion_num: int, + resource: str, + body: Optional[dict] = None, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> requests.Response: + """Internal utility to POST changes to a Discussion or Pull Request""" + if not isinstance(discussion_num, int) or discussion_num <= 0: + raise ValueError("Invalid discussion_num, must be a positive integer") + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + if repo_type is None: + repo_type = REPO_TYPE_MODEL + repo_id = f"{repo_type}s/{repo_id}" + + path = f"{self.endpoint}/api/{repo_id}/discussions/{discussion_num}/{resource}" + + headers = self._build_hf_headers(token=token, is_write_action=True) + resp = requests.post(path, headers=headers, json=body) + hf_raise_for_status(resp) + return resp + + @validate_hf_hub_args + def comment_discussion( + self, + repo_id: str, + discussion_num: int, + comment: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> DiscussionComment: + """Creates a new comment on the given Discussion. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + discussion_num (`int`): + The number of the Discussion or Pull Request . Must be a strictly positive integer. + comment (`str`): + The content of the comment to create. Comments support markdown formatting. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + + Returns: + [`DiscussionComment`]: the newly created comment + + + Examples: + ```python + + >>> comment = \"\"\" + ... Hello @otheruser! + ... + ... # This is a title + ... + ... **This is bold**, *this is italic* and ~this is strikethrough~ + ... And [this](http://url) is a link + ... \"\"\" + + >>> HfApi().comment_discussion( + ... repo_id="username/repo_name", + ... discussion_num=34 + ... comment=comment + ... ) + # DiscussionComment(id='deadbeef0000000', type='comment', ...) + + ``` + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + resp = self._post_discussion_changes( + repo_id=repo_id, + repo_type=repo_type, + discussion_num=discussion_num, + token=token, + resource="comment", + body={"comment": comment}, + ) + return deserialize_event(resp.json()["newMessage"]) # type: ignore + + @validate_hf_hub_args + def rename_discussion( + self, + repo_id: str, + discussion_num: int, + new_title: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> DiscussionTitleChange: + """Renames a Discussion. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + discussion_num (`int`): + The number of the Discussion or Pull Request . Must be a strictly positive integer. + new_title (`str`): + The new title for the discussion + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + + Returns: + [`DiscussionTitleChange`]: the title change event + + + Examples: + ```python + >>> new_title = "New title, fixing a typo" + >>> HfApi().rename_discussion( + ... repo_id="username/repo_name", + ... discussion_num=34 + ... new_title=new_title + ... ) + # DiscussionTitleChange(id='deadbeef0000000', type='title-change', ...) + + ``` + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + resp = self._post_discussion_changes( + repo_id=repo_id, + repo_type=repo_type, + discussion_num=discussion_num, + token=token, + resource="title", + body={"title": new_title}, + ) + return deserialize_event(resp.json()["newTitle"]) # type: ignore + + @validate_hf_hub_args + def change_discussion_status( + self, + repo_id: str, + discussion_num: int, + new_status: Literal["open", "closed"], + *, + token: Optional[str] = None, + comment: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> DiscussionStatusChange: + """Closes or re-opens a Discussion or Pull Request. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + discussion_num (`int`): + The number of the Discussion or Pull Request . Must be a strictly positive integer. + new_status (`str`): + The new status for the discussion, either `"open"` or `"closed"`. + comment (`str`, *optional*): + An optional comment to post with the status change. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + + Returns: + [`DiscussionStatusChange`]: the status change event + + + Examples: + ```python + >>> new_title = "New title, fixing a typo" + >>> HfApi().rename_discussion( + ... repo_id="username/repo_name", + ... discussion_num=34 + ... new_title=new_title + ... ) + # DiscussionStatusChange(id='deadbeef0000000', type='status-change', ...) + + ``` + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + if new_status not in ["open", "closed"]: + raise ValueError("Invalid status, valid statuses are: 'open' and 'closed'") + body: Dict[str, str] = {"status": new_status} + if comment and comment.strip(): + body["comment"] = comment.strip() + resp = self._post_discussion_changes( + repo_id=repo_id, + repo_type=repo_type, + discussion_num=discussion_num, + token=token, + resource="status", + body=body, + ) + return deserialize_event(resp.json()["newStatus"]) # type: ignore + + @validate_hf_hub_args + def merge_pull_request( + self, + repo_id: str, + discussion_num: int, + *, + token: Optional[str] = None, + comment: Optional[str] = None, + repo_type: Optional[str] = None, + ): + """Merges a Pull Request. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + discussion_num (`int`): + The number of the Discussion or Pull Request . Must be a strictly positive integer. + comment (`str`, *optional*): + An optional comment to post with the status change. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + + Returns: + [`DiscussionStatusChange`]: the status change event + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + self._post_discussion_changes( + repo_id=repo_id, + repo_type=repo_type, + discussion_num=discussion_num, + token=token, + resource="merge", + body={"comment": comment.strip()} if comment and comment.strip() else None, + ) + + @validate_hf_hub_args + def edit_discussion_comment( + self, + repo_id: str, + discussion_num: int, + comment_id: str, + new_content: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> DiscussionComment: + """Edits a comment on a Discussion / Pull Request. + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + discussion_num (`int`): + The number of the Discussion or Pull Request . Must be a strictly positive integer. + comment_id (`str`): + The ID of the comment to edit. + new_content (`str`): + The new content of the comment. Comments support markdown formatting. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + + Returns: + [`DiscussionComment`]: the edited comment + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + resp = self._post_discussion_changes( + repo_id=repo_id, + repo_type=repo_type, + discussion_num=discussion_num, + token=token, + resource=f"comment/{comment_id.lower()}/edit", + body={"content": new_content}, + ) + return deserialize_event(resp.json()["updatedComment"]) # type: ignore + + @validate_hf_hub_args + def hide_discussion_comment( + self, + repo_id: str, + discussion_num: int, + comment_id: str, + *, + token: Optional[str] = None, + repo_type: Optional[str] = None, + ) -> DiscussionComment: + """Hides a comment on a Discussion / Pull Request. + + + Hidden comments' content cannot be retrieved anymore. Hiding a comment is irreversible. + + + Args: + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + discussion_num (`int`): + The number of the Discussion or Pull Request . Must be a strictly positive integer. + comment_id (`str`): + The ID of the comment to edit. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if uploading to a dataset or + space, `None` or `"model"` if uploading to a model. Default is + `None`. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token) + + Returns: + [`DiscussionComment`]: the hidden comment + + + + Raises the following errors: + + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if some parameter value is invalid + - [`~utils.RepositoryNotFoundError`] + If the repository to download from cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + + """ + warnings.warn( + "Hidden comments' content cannot be retrieved anymore. Hiding a comment is irreversible.", + UserWarning, + ) + resp = self._post_discussion_changes( + repo_id=repo_id, + repo_type=repo_type, + discussion_num=discussion_num, + token=token, + resource=f"comment/{comment_id.lower()}/hide", + ) + return deserialize_event(resp.json()["updatedComment"]) # type: ignore + + @validate_hf_hub_args + def add_space_secret( + self, repo_id: str, key: str, value: str, *, description: Optional[str] = None, token: Optional[str] = None + ) -> None: + """Adds or updates a secret in a Space. + + Secrets allow to set secret keys or tokens to a Space without hardcoding them. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets. + + Args: + repo_id (`str`): + ID of the repo to update. Example: `"bigcode/in-the-stack"`. + key (`str`): + Secret key. Example: `"GITHUB_API_KEY"` + value (`str`): + Secret value. Example: `"your_github_api_key"`. + description (`str`, *optional*): + Secret description. Example: `"Github API key to access the Github API"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + """ + payload = {"key": key, "value": value} + if description is not None: + payload["description"] = description + r = get_session().post( + f"{self.endpoint}/api/spaces/{repo_id}/secrets", + headers=self._build_hf_headers(token=token), + json=payload, + ) + hf_raise_for_status(r) + + @validate_hf_hub_args + def delete_space_secret(self, repo_id: str, key: str, *, token: Optional[str] = None) -> None: + """Deletes a secret from a Space. + + Secrets allow to set secret keys or tokens to a Space without hardcoding them. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets. + + Args: + repo_id (`str`): + ID of the repo to update. Example: `"bigcode/in-the-stack"`. + key (`str`): + Secret key. Example: `"GITHUB_API_KEY"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + """ + r = get_session().delete( + f"{self.endpoint}/api/spaces/{repo_id}/secrets", + headers=self._build_hf_headers(token=token), + json={"key": key}, + ) + hf_raise_for_status(r) + + @validate_hf_hub_args + def get_space_variables(self, repo_id: str, *, token: Optional[str] = None) -> Dict[str, SpaceVariable]: + """Gets all variables from a Space. + + Variables allow to set environment variables to a Space without hardcoding them. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables + + Args: + repo_id (`str`): + ID of the repo to query. Example: `"bigcode/in-the-stack"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + """ + r = get_session().get( + f"{self.endpoint}/api/spaces/{repo_id}/variables", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(r) + return {k: SpaceVariable(k, v) for k, v in r.json().items()} + + @validate_hf_hub_args + def add_space_variable( + self, repo_id: str, key: str, value: str, *, description: Optional[str] = None, token: Optional[str] = None + ) -> Dict[str, SpaceVariable]: + """Adds or updates a variable in a Space. + + Variables allow to set environment variables to a Space without hardcoding them. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables + + Args: + repo_id (`str`): + ID of the repo to update. Example: `"bigcode/in-the-stack"`. + key (`str`): + Variable key. Example: `"MODEL_REPO_ID"` + value (`str`): + Variable value. Example: `"the_model_repo_id"`. + description (`str`): + Description of the variable. Example: `"Model Repo ID of the implemented model"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + """ + payload = {"key": key, "value": value} + if description is not None: + payload["description"] = description + r = get_session().post( + f"{self.endpoint}/api/spaces/{repo_id}/variables", + headers=self._build_hf_headers(token=token), + json=payload, + ) + hf_raise_for_status(r) + return {k: SpaceVariable(k, v) for k, v in r.json().items()} + + @validate_hf_hub_args + def delete_space_variable( + self, repo_id: str, key: str, *, token: Optional[str] = None + ) -> Dict[str, SpaceVariable]: + """Deletes a variable from a Space. + + Variables allow to set environment variables to a Space without hardcoding them. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables + + Args: + repo_id (`str`): + ID of the repo to update. Example: `"bigcode/in-the-stack"`. + key (`str`): + Variable key. Example: `"MODEL_REPO_ID"` + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + """ + r = get_session().delete( + f"{self.endpoint}/api/spaces/{repo_id}/variables", + headers=self._build_hf_headers(token=token), + json={"key": key}, + ) + hf_raise_for_status(r) + return {k: SpaceVariable(k, v) for k, v in r.json().items()} + + @validate_hf_hub_args + def get_space_runtime(self, repo_id: str, *, token: Optional[str] = None) -> SpaceRuntime: + """Gets runtime information about a Space. + + Args: + repo_id (`str`): + ID of the repo to update. Example: `"bigcode/in-the-stack"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if + not provided. + Returns: + [`SpaceRuntime`]: Runtime information about a Space including Space stage and hardware. + """ + r = get_session().get( + f"{self.endpoint}/api/spaces/{repo_id}/runtime", headers=self._build_hf_headers(token=token) + ) + hf_raise_for_status(r) + return SpaceRuntime(r.json()) + + @validate_hf_hub_args + def request_space_hardware( + self, + repo_id: str, + hardware: SpaceHardware, + *, + token: Optional[str] = None, + sleep_time: Optional[int] = None, + ) -> SpaceRuntime: + """Request new hardware for a Space. + + Args: + repo_id (`str`): + ID of the repo to update. Example: `"bigcode/in-the-stack"`. + hardware (`str` or [`SpaceHardware`]): + Hardware on which to run the Space. Example: `"t4-medium"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + sleep_time (`int`, *optional*): + Number of seconds of inactivity to wait before a Space is put to sleep. Set to `-1` if you don't want + your Space to sleep (default behavior for upgraded hardware). For free hardware, you can't configure + the sleep time (value is fixed to 48 hours of inactivity). + See https://huggingface.co/docs/hub/spaces-gpus#sleep-time for more details. + Returns: + [`SpaceRuntime`]: Runtime information about a Space including Space stage and hardware. + + + + It is also possible to request hardware directly when creating the Space repo! See [`create_repo`] for details. + + + """ + if sleep_time is not None and hardware == SpaceHardware.CPU_BASIC: + warnings.warn( + "If your Space runs on the default 'cpu-basic' hardware, it will go to sleep if inactive for more" + " than 48 hours. This value is not configurable. If you don't want your Space to deactivate or if" + " you want to set a custom sleep time, you need to upgrade to a paid Hardware.", + UserWarning, + ) + payload: Dict[str, Any] = {"flavor": hardware} + if sleep_time is not None: + payload["sleepTimeSeconds"] = sleep_time + r = get_session().post( + f"{self.endpoint}/api/spaces/{repo_id}/hardware", + headers=self._build_hf_headers(token=token), + json=payload, + ) + hf_raise_for_status(r) + return SpaceRuntime(r.json()) + + @validate_hf_hub_args + def set_space_sleep_time(self, repo_id: str, sleep_time: int, *, token: Optional[str] = None) -> SpaceRuntime: + """Set a custom sleep time for a Space running on upgraded hardware.. + + Your Space will go to sleep after X seconds of inactivity. You are not billed when your Space is in "sleep" + mode. If a new visitor lands on your Space, it will "wake it up". Only upgraded hardware can have a + configurable sleep time. To know more about the sleep stage, please refer to + https://huggingface.co/docs/hub/spaces-gpus#sleep-time. + + Args: + repo_id (`str`): + ID of the repo to update. Example: `"bigcode/in-the-stack"`. + sleep_time (`int`, *optional*): + Number of seconds of inactivity to wait before a Space is put to sleep. Set to `-1` if you don't want + your Space to pause (default behavior for upgraded hardware). For free hardware, you can't configure + the sleep time (value is fixed to 48 hours of inactivity). + See https://huggingface.co/docs/hub/spaces-gpus#sleep-time for more details. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + Returns: + [`SpaceRuntime`]: Runtime information about a Space including Space stage and hardware. + + + + It is also possible to set a custom sleep time when requesting hardware with [`request_space_hardware`]. + + + """ + r = get_session().post( + f"{self.endpoint}/api/spaces/{repo_id}/sleeptime", + headers=self._build_hf_headers(token=token), + json={"seconds": sleep_time}, + ) + hf_raise_for_status(r) + runtime = SpaceRuntime(r.json()) + + hardware = runtime.requested_hardware or runtime.hardware + if hardware == SpaceHardware.CPU_BASIC: + warnings.warn( + "If your Space runs on the default 'cpu-basic' hardware, it will go to sleep if inactive for more" + " than 48 hours. This value is not configurable. If you don't want your Space to deactivate or if" + " you want to set a custom sleep time, you need to upgrade to a paid Hardware.", + UserWarning, + ) + return runtime + + @validate_hf_hub_args + def pause_space(self, repo_id: str, *, token: Optional[str] = None) -> SpaceRuntime: + """Pause your Space. + + A paused Space stops executing until manually restarted by its owner. This is different from the sleeping + state in which free Spaces go after 48h of inactivity. Paused time is not billed to your account, no matter the + hardware you've selected. To restart your Space, use [`restart_space`] and go to your Space settings page. + + For more details, please visit [the docs](https://huggingface.co/docs/hub/spaces-gpus#pause). + + Args: + repo_id (`str`): + ID of the Space to pause. Example: `"Salesforce/BLIP2"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + + Returns: + [`SpaceRuntime`]: Runtime information about your Space including `stage=PAUSED` and requested hardware. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If your Space is not found (error 404). Most probably wrong repo_id or your space is private but you + are not authenticated. + [`~utils.HfHubHTTPError`]: + 403 Forbidden: only the owner of a Space can pause it. If you want to manage a Space that you don't + own, either ask the owner by opening a Discussion or duplicate the Space. + [`~utils.BadRequestError`]: + If your Space is a static Space. Static Spaces are always running and never billed. If you want to hide + a static Space, you can set it to private. + """ + r = get_session().post( + f"{self.endpoint}/api/spaces/{repo_id}/pause", headers=self._build_hf_headers(token=token) + ) + hf_raise_for_status(r) + return SpaceRuntime(r.json()) + + @validate_hf_hub_args + def restart_space( + self, repo_id: str, *, token: Optional[str] = None, factory_reboot: bool = False + ) -> SpaceRuntime: + """Restart your Space. + + This is the only way to programmatically restart a Space if you've put it on Pause (see [`pause_space`]). You + must be the owner of the Space to restart it. If you are using an upgraded hardware, your account will be + billed as soon as the Space is restarted. You can trigger a restart no matter the current state of a Space. + + For more details, please visit [the docs](https://huggingface.co/docs/hub/spaces-gpus#pause). + + Args: + repo_id (`str`): + ID of the Space to restart. Example: `"Salesforce/BLIP2"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + factory_reboot (`bool`, *optional*): + If `True`, the Space will be rebuilt from scratch without caching any requirements. + + Returns: + [`SpaceRuntime`]: Runtime information about your Space. + + Raises: + [`~utils.RepositoryNotFoundError`]: + If your Space is not found (error 404). Most probably wrong repo_id or your space is private but you + are not authenticated. + [`~utils.HfHubHTTPError`]: + 403 Forbidden: only the owner of a Space can restart it. If you want to restart a Space that you don't + own, either ask the owner by opening a Discussion or duplicate the Space. + [`~utils.BadRequestError`]: + If your Space is a static Space. Static Spaces are always running and never billed. If you want to hide + a static Space, you can set it to private. + """ + params = {} + if factory_reboot: + params["factory"] = "true" + r = get_session().post( + f"{self.endpoint}/api/spaces/{repo_id}/restart", headers=self._build_hf_headers(token=token), params=params + ) + hf_raise_for_status(r) + return SpaceRuntime(r.json()) + + @validate_hf_hub_args + def duplicate_space( + self, + from_id: str, + to_id: Optional[str] = None, + *, + private: Optional[bool] = None, + token: Optional[str] = None, + exist_ok: bool = False, + hardware: Optional[SpaceHardware] = None, + storage: Optional[SpaceStorage] = None, + sleep_time: Optional[int] = None, + secrets: Optional[List[Dict[str, str]]] = None, + variables: Optional[List[Dict[str, str]]] = None, + ) -> RepoUrl: + """Duplicate a Space. + + Programmatically duplicate a Space. The new Space will be created in your account and will be in the same state + as the original Space (running or paused). You can duplicate a Space no matter the current state of a Space. + + Args: + from_id (`str`): + ID of the Space to duplicate. Example: `"pharma/CLIP-Interrogator"`. + to_id (`str`, *optional*): + ID of the new Space. Example: `"dog/CLIP-Interrogator"`. If not provided, the new Space will have the same + name as the original Space, but in your account. + private (`bool`, *optional*): + Whether the new Space should be private or not. Defaults to the same privacy as the original Space. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + exist_ok (`bool`, *optional*, defaults to `False`): + If `True`, do not raise an error if repo already exists. + hardware (`SpaceHardware` or `str`, *optional*): + Choice of Hardware. Example: `"t4-medium"`. See [`SpaceHardware`] for a complete list. + storage (`SpaceStorage` or `str`, *optional*): + Choice of persistent storage tier. Example: `"small"`. See [`SpaceStorage`] for a complete list. + sleep_time (`int`, *optional*): + Number of seconds of inactivity to wait before a Space is put to sleep. Set to `-1` if you don't want + your Space to sleep (default behavior for upgraded hardware). For free hardware, you can't configure + the sleep time (value is fixed to 48 hours of inactivity). + See https://huggingface.co/docs/hub/spaces-gpus#sleep-time for more details. + secrets (`List[Dict[str, str]]`, *optional*): + A list of secret keys to set in your Space. Each item is in the form `{"key": ..., "value": ..., "description": ...}` where description is optional. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets. + variables (`List[Dict[str, str]]`, *optional*): + A list of public environment variables to set in your Space. Each item is in the form `{"key": ..., "value": ..., "description": ...}` where description is optional. + For more details, see https://huggingface.co/docs/hub/spaces-overview#managing-secrets-and-environment-variables. + + Returns: + [`RepoUrl`]: URL to the newly created repo. Value is a subclass of `str` containing + attributes like `endpoint`, `repo_type` and `repo_id`. + + Raises: + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the HuggingFace API returned an error + - [`~utils.RepositoryNotFoundError`] + If one of `from_id` or `to_id` cannot be found. This may be because it doesn't exist, + or because it is set to `private` and you do not have access. + + Example: + ```python + >>> from huggingface_hub import duplicate_space + + # Duplicate a Space to your account + >>> duplicate_space("multimodalart/dreambooth-training") + RepoUrl('https://huggingface.co/spaces/nateraw/dreambooth-training',...) + + # Can set custom destination id and visibility flag. + >>> duplicate_space("multimodalart/dreambooth-training", to_id="my-dreambooth", private=True) + RepoUrl('https://huggingface.co/spaces/nateraw/my-dreambooth',...) + ``` + """ + # Parse to_id if provided + parsed_to_id = RepoUrl(to_id) if to_id is not None else None + + # Infer target repo_id + to_namespace = ( # set namespace manually or default to username + parsed_to_id.namespace + if parsed_to_id is not None and parsed_to_id.namespace is not None + else self.whoami(token)["name"] + ) + to_repo_name = parsed_to_id.repo_name if to_id is not None else RepoUrl(from_id).repo_name # type: ignore + + # repository must be a valid repo_id (namespace/repo_name). + payload: Dict[str, Any] = {"repository": f"{to_namespace}/{to_repo_name}"} + + keys = ["private", "hardware", "storageTier", "sleepTimeSeconds", "secrets", "variables"] + values = [private, hardware, storage, sleep_time, secrets, variables] + payload.update({k: v for k, v in zip(keys, values) if v is not None}) + + if sleep_time is not None and hardware == SpaceHardware.CPU_BASIC: + warnings.warn( + "If your Space runs on the default 'cpu-basic' hardware, it will go to sleep if inactive for more" + " than 48 hours. This value is not configurable. If you don't want your Space to deactivate or if" + " you want to set a custom sleep time, you need to upgrade to a paid Hardware.", + UserWarning, + ) + + r = get_session().post( + f"{self.endpoint}/api/spaces/{from_id}/duplicate", + headers=self._build_hf_headers(token=token, is_write_action=True), + json=payload, + ) + + try: + hf_raise_for_status(r) + except HTTPError as err: + if exist_ok and err.response.status_code == 409: + # Repo already exists and `exist_ok=True` + pass + else: + raise + + return RepoUrl(r.json()["url"], endpoint=self.endpoint) + + @validate_hf_hub_args + def request_space_storage( + self, + repo_id: str, + storage: SpaceStorage, + *, + token: Optional[str] = None, + ) -> SpaceRuntime: + """Request persistent storage for a Space. + + Args: + repo_id (`str`): + ID of the Space to update. Example: `"HuggingFaceH4/open_llm_leaderboard"`. + storage (`str` or [`SpaceStorage`]): + Storage tier. Either 'small', 'medium', or 'large'. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + Returns: + [`SpaceRuntime`]: Runtime information about a Space including Space stage and hardware. + + + + It is not possible to decrease persistent storage after its granted. To do so, you must delete it + via [`delete_space_storage`]. + + + """ + payload: Dict[str, SpaceStorage] = {"tier": storage} + r = get_session().post( + f"{self.endpoint}/api/spaces/{repo_id}/storage", + headers=self._build_hf_headers(token=token), + json=payload, + ) + hf_raise_for_status(r) + return SpaceRuntime(r.json()) + + @validate_hf_hub_args + def delete_space_storage( + self, + repo_id: str, + *, + token: Optional[str] = None, + ) -> SpaceRuntime: + """Delete persistent storage for a Space. + + Args: + repo_id (`str`): + ID of the Space to update. Example: `"HuggingFaceH4/open_llm_leaderboard"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + Returns: + [`SpaceRuntime`]: Runtime information about a Space including Space stage and hardware. + Raises: + [`BadRequestError`] + If space has no persistent storage. + + """ + r = get_session().delete( + f"{self.endpoint}/api/spaces/{repo_id}/storage", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(r) + return SpaceRuntime(r.json()) + + ####################### + # Inference Endpoints # + ####################### + + def list_inference_endpoints( + self, namespace: Optional[str] = None, *, token: Optional[str] = None + ) -> List[InferenceEndpoint]: + """Lists all inference endpoints for the given namespace. + + Args: + namespace (`str`, *optional*): + The namespace to list endpoints for. Defaults to the current user. Set to `"*"` to list all endpoints + from all namespaces (i.e. personal namespace and all orgs the user belongs to). + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + + Returns: + List[`InferenceEndpoint`]: A list of all inference endpoints for the given namespace. + + Example: + ```python + >>> from huggingface_hub import HfApi + >>> api = HfApi() + >>> api.list_inference_endpoints() + [InferenceEndpoint(name='my-endpoint', ...), ...] + ``` + """ + # Special case: list all endpoints for all namespaces the user has access to + if namespace == "*": + user = self.whoami(token=token) + + # List personal endpoints first + endpoints: List[InferenceEndpoint] = list_inference_endpoints(namespace=self._get_namespace(token=token)) + + # Then list endpoints for all orgs the user belongs to and ignore 401 errors (no billing or no access) + for org in user.get("orgs", []): + try: + endpoints += list_inference_endpoints(namespace=org["name"], token=token) + except HfHubHTTPError as error: + if error.response.status_code == 401: # Either no billing or user don't have access) + logger.debug("Cannot list Inference Endpoints for org '%s': %s", org["name"], error) + pass + + return endpoints + + # Normal case: list endpoints for a specific namespace + namespace = namespace or self._get_namespace(token=token) + + response = get_session().get( + f"{INFERENCE_ENDPOINTS_ENDPOINT}/endpoint/{namespace}", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(response) + + return [ + InferenceEndpoint.from_raw(endpoint, namespace=namespace, token=token) + for endpoint in response.json()["items"] + ] + + def create_inference_endpoint( + self, + name: str, + *, + repository: str, + framework: str, + accelerator: str, + instance_size: str, + instance_type: str, + region: str, + vendor: str, + account_id: Optional[str] = None, + min_replica: int = 0, + max_replica: int = 1, + revision: Optional[str] = None, + task: Optional[str] = None, + custom_image: Optional[Dict] = None, + type: InferenceEndpointType = InferenceEndpointType.PROTECTED, + namespace: Optional[str] = None, + token: Optional[str] = None, + ) -> InferenceEndpoint: + """Create a new Inference Endpoint. + + Args: + name (`str`): + The unique name for the new Inference Endpoint. + repository (`str`): + The name of the model repository associated with the Inference Endpoint (e.g. `"gpt2"`). + framework (`str`): + The machine learning framework used for the model (e.g. `"custom"`). + accelerator (`str`): + The hardware accelerator to be used for inference (e.g. `"cpu"`). + instance_size (`str`): + The size or type of the instance to be used for hosting the model (e.g. `"large"`). + instance_type (`str`): + The cloud instance type where the Inference Endpoint will be deployed (e.g. `"c6i"`). + region (`str`): + The cloud region in which the Inference Endpoint will be created (e.g. `"us-east-1"`). + vendor (`str`): + The cloud provider or vendor where the Inference Endpoint will be hosted (e.g. `"aws"`). + account_id (`str`, *optional*): + The account ID used to link a VPC to a private Inference Endpoint (if applicable). + min_replica (`int`, *optional*): + The minimum number of replicas (instances) to keep running for the Inference Endpoint. Defaults to 0. + max_replica (`int`, *optional*): + The maximum number of replicas (instances) to scale to for the Inference Endpoint. Defaults to 1. + revision (`str`, *optional*): + The specific model revision to deploy on the Inference Endpoint (e.g. `"6c0e6080953db56375760c0471a8c5f2929baf11"`). + task (`str`, *optional*): + The task on which to deploy the model (e.g. `"text-classification"`). + custom_image (`Dict`, *optional*): + A custom Docker image to use for the Inference Endpoint. This is useful if you want to deploy an + Inference Endpoint running on the `text-generation-inference` (TGI) framework (see examples). + type ([`InferenceEndpointType]`, *optional*): + The type of the Inference Endpoint, which can be `"protected"` (default), `"public"` or `"private"`. + namespace (`str`, *optional*): + The namespace where the Inference Endpoint will be created. Defaults to the current user's namespace. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + + Returns: + [`InferenceEndpoint`]: information about the updated Inference Endpoint. + + Example: + ```python + >>> from huggingface_hub import HfApi + >>> api = HfApi() + >>> create_inference_endpoint( + ... "my-endpoint-name", + ... repository="gpt2", + ... framework="pytorch", + ... task="text-generation", + ... accelerator="cpu", + ... vendor="aws", + ... region="us-east-1", + ... type="protected", + ... instance_size="medium", + ... instance_type="c6i", + ... ) + >>> endpoint + InferenceEndpoint(name='my-endpoint-name', status="pending",...) + + # Run inference on the endpoint + >>> endpoint.client.text_generation(...) + "..." + ``` + + ```python + # Start an Inference Endpoint running Zephyr-7b-beta on TGI + >>> from huggingface_hub import HfApi + >>> api = HfApi() + >>> create_inference_endpoint( + ... "aws-zephyr-7b-beta-0486", + ... repository="HuggingFaceH4/zephyr-7b-beta", + ... framework="pytorch", + ... task="text-generation", + ... accelerator="gpu", + ... vendor="aws", + ... region="us-east-1", + ... type="protected", + ... instance_size="medium", + ... instance_type="g5.2xlarge", + ... custom_image={ + ... "health_route": "/health", + ... "env": { + ... "MAX_BATCH_PREFILL_TOKENS": "2048", + ... "MAX_INPUT_LENGTH": "1024", + ... "MAX_TOTAL_TOKENS": "1512", + ... "MODEL_ID": "/repository" + ... }, + ... "url": "ghcr.io/huggingface/text-generation-inference:1.1.0", + ... }, + ... ) + + ``` + """ + namespace = namespace or self._get_namespace(token=token) + + image = {"custom": custom_image} if custom_image is not None else {"huggingface": {}} + payload: Dict = { + "accountId": account_id, + "compute": { + "accelerator": accelerator, + "instanceSize": instance_size, + "instanceType": instance_type, + "scaling": { + "maxReplica": max_replica, + "minReplica": min_replica, + }, + }, + "model": { + "framework": framework, + "repository": repository, + "revision": revision, + "task": task, + "image": image, + }, + "name": name, + "provider": { + "region": region, + "vendor": vendor, + }, + "type": type, + } + + response = get_session().post( + f"{INFERENCE_ENDPOINTS_ENDPOINT}/endpoint/{namespace}", + headers=self._build_hf_headers(token=token), + json=payload, + ) + hf_raise_for_status(response) + + return InferenceEndpoint.from_raw(response.json(), namespace=namespace, token=token) + + def get_inference_endpoint( + self, name: str, *, namespace: Optional[str] = None, token: Optional[str] = None + ) -> InferenceEndpoint: + """Get information about an Inference Endpoint. + + Args: + name (`str`): + The name of the Inference Endpoint to retrieve information about. + namespace (`str`, *optional*): + The namespace in which the Inference Endpoint is located. Defaults to the current user. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + + Returns: + [`InferenceEndpoint`]: information about the requested Inference Endpoint. + + Example: + ```python + >>> from huggingface_hub import HfApi + >>> api = HfApi() + >>> endpoint = api.get_inference_endpoint("my-text-to-image") + >>> endpoint + InferenceEndpoint(name='my-text-to-image', ...) + + # Get status + >>> endpoint.status + 'running' + >>> endpoint.url + 'https://my-text-to-image.region.vendor.endpoints.huggingface.cloud' + + # Run inference + >>> endpoint.client.text_to_image(...) + ``` + """ + namespace = namespace or self._get_namespace(token=token) + + response = get_session().get( + f"{INFERENCE_ENDPOINTS_ENDPOINT}/endpoint/{namespace}/{name}", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(response) + + return InferenceEndpoint.from_raw(response.json(), namespace=namespace, token=token) + + def update_inference_endpoint( + self, + name: str, + *, + # Compute update + accelerator: Optional[str] = None, + instance_size: Optional[str] = None, + instance_type: Optional[str] = None, + min_replica: Optional[int] = None, + max_replica: Optional[int] = None, + # Model update + repository: Optional[str] = None, + framework: Optional[str] = None, + revision: Optional[str] = None, + task: Optional[str] = None, + # Other + namespace: Optional[str] = None, + token: Optional[str] = None, + ) -> InferenceEndpoint: + """Update an Inference Endpoint. + + This method allows the update of either the compute configuration, the deployed model, or both. All arguments are + optional but at least one must be provided. + + For convenience, you can also update an Inference Endpoint using [`InferenceEndpoint.update`]. + + Args: + name (`str`): + The name of the Inference Endpoint to update. + + accelerator (`str`, *optional*): + The hardware accelerator to be used for inference (e.g. `"cpu"`). + instance_size (`str`, *optional*): + The size or type of the instance to be used for hosting the model (e.g. `"large"`). + instance_type (`str`, *optional*): + The cloud instance type where the Inference Endpoint will be deployed (e.g. `"c6i"`). + min_replica (`int`, *optional*): + The minimum number of replicas (instances) to keep running for the Inference Endpoint. + max_replica (`int`, *optional*): + The maximum number of replicas (instances) to scale to for the Inference Endpoint. + + repository (`str`, *optional*): + The name of the model repository associated with the Inference Endpoint (e.g. `"gpt2"`). + framework (`str`, *optional*): + The machine learning framework used for the model (e.g. `"custom"`). + revision (`str`, *optional*): + The specific model revision to deploy on the Inference Endpoint (e.g. `"6c0e6080953db56375760c0471a8c5f2929baf11"`). + task (`str`, *optional*): + The task on which to deploy the model (e.g. `"text-classification"`). + + namespace (`str`, *optional*): + The namespace where the Inference Endpoint will be updated. Defaults to the current user's namespace. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + + Returns: + [`InferenceEndpoint`]: information about the updated Inference Endpoint. + """ + namespace = namespace or self._get_namespace(token=token) + + payload: Dict = {} + if any(value is not None for value in (accelerator, instance_size, instance_type, min_replica, max_replica)): + payload["compute"] = { + "accelerator": accelerator, + "instanceSize": instance_size, + "instanceType": instance_type, + "scaling": { + "maxReplica": max_replica, + "minReplica": min_replica, + }, + } + if any(value is not None for value in (repository, framework, revision, task)): + payload["model"] = { + "framework": framework, + "repository": repository, + "revision": revision, + "task": task, + "image": {"huggingface": {}}, + } + + response = get_session().put( + f"{INFERENCE_ENDPOINTS_ENDPOINT}/endpoint/{namespace}/{name}", + headers=self._build_hf_headers(token=token), + json=payload, + ) + hf_raise_for_status(response) + + return InferenceEndpoint.from_raw(response.json(), namespace=namespace, token=token) + + def delete_inference_endpoint( + self, name: str, *, namespace: Optional[str] = None, token: Optional[str] = None + ) -> None: + """Delete an Inference Endpoint. + + This operation is not reversible. If you don't want to be charged for an Inference Endpoint, it is preferable + to pause it with [`pause_inference_endpoint`] or scale it to zero with [`scale_to_zero_inference_endpoint`]. + + For convenience, you can also delete an Inference Endpoint using [`InferenceEndpoint.delete`]. + + Args: + name (`str`): + The name of the Inference Endpoint to delete. + namespace (`str`, *optional*): + The namespace in which the Inference Endpoint is located. Defaults to the current user. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + """ + namespace = namespace or self._get_namespace(token=token) + response = get_session().delete( + f"{INFERENCE_ENDPOINTS_ENDPOINT}/endpoint/{namespace}/{name}", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(response) + + def pause_inference_endpoint( + self, name: str, *, namespace: Optional[str] = None, token: Optional[str] = None + ) -> InferenceEndpoint: + """Pause an Inference Endpoint. + + A paused Inference Endpoint will not be charged. It can be resumed at any time using [`resume_inference_endpoint`]. + This is different than scaling the Inference Endpoint to zero with [`scale_to_zero_inference_endpoint`], which + would be automatically restarted when a request is made to it. + + For convenience, you can also pause an Inference Endpoint using [`pause_inference_endpoint`]. + + Args: + name (`str`): + The name of the Inference Endpoint to pause. + namespace (`str`, *optional*): + The namespace in which the Inference Endpoint is located. Defaults to the current user. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + + Returns: + [`InferenceEndpoint`]: information about the paused Inference Endpoint. + """ + namespace = namespace or self._get_namespace(token=token) + + response = get_session().post( + f"{INFERENCE_ENDPOINTS_ENDPOINT}/endpoint/{namespace}/{name}/pause", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(response) + + return InferenceEndpoint.from_raw(response.json(), namespace=namespace, token=token) + + def resume_inference_endpoint( + self, name: str, *, namespace: Optional[str] = None, token: Optional[str] = None + ) -> InferenceEndpoint: + """Resume an Inference Endpoint. + + For convenience, you can also resume an Inference Endpoint using [`InferenceEndpoint.resume`]. + + Args: + name (`str`): + The name of the Inference Endpoint to resume. + namespace (`str`, *optional*): + The namespace in which the Inference Endpoint is located. Defaults to the current user. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + + Returns: + [`InferenceEndpoint`]: information about the resumed Inference Endpoint. + """ + namespace = namespace or self._get_namespace(token=token) + + response = get_session().post( + f"{INFERENCE_ENDPOINTS_ENDPOINT}/endpoint/{namespace}/{name}/resume", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(response) + + return InferenceEndpoint.from_raw(response.json(), namespace=namespace, token=token) + + def scale_to_zero_inference_endpoint( + self, name: str, *, namespace: Optional[str] = None, token: Optional[str] = None + ) -> InferenceEndpoint: + """Scale Inference Endpoint to zero. + + An Inference Endpoint scaled to zero will not be charged. It will be resume on the next request to it, with a + cold start delay. This is different than pausing the Inference Endpoint with [`pause_inference_endpoint`], which + would require a manual resume with [`resume_inference_endpoint`]. + + For convenience, you can also scale an Inference Endpoint to zero using [`InferenceEndpoint.scale_to_zero`]. + + Args: + name (`str`): + The name of the Inference Endpoint to scale to zero. + namespace (`str`, *optional*): + The namespace in which the Inference Endpoint is located. Defaults to the current user. + token (`str`, *optional*): + An authentication token (See https://huggingface.co/settings/token). + + Returns: + [`InferenceEndpoint`]: information about the scaled-to-zero Inference Endpoint. + """ + namespace = namespace or self._get_namespace(token=token) + + response = get_session().post( + f"{INFERENCE_ENDPOINTS_ENDPOINT}/endpoint/{namespace}/{name}/scale-to-zero", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(response) + + return InferenceEndpoint.from_raw(response.json(), namespace=namespace, token=token) + + def _get_namespace(self, token: Optional[str] = None) -> str: + """Get the default namespace for the current user.""" + me = self.whoami(token=token) + if me["type"] == "user": + return me["name"] + else: + raise ValueError( + "Cannot determine default namespace. You must provide a 'namespace' as input or be logged in as a" + " user." + ) + + ######################## + # Collection Endpoints # + ######################## + @validate_hf_hub_args + def list_collections( + self, + *, + owner: Union[List[str], str, None] = None, + item: Union[List[str], str, None] = None, + sort: Optional[Literal["lastModified", "trending", "upvotes"]] = None, + limit: Optional[int] = None, + token: Optional[Union[bool, str]] = None, + ) -> Iterable[Collection]: + """List collections on the Huggingface Hub, given some filters. + + + + When listing collections, the item list per collection is truncated to 4 items maximum. To retrieve all items + from a collection, you must use [`get_collection`]. + + + + Args: + owner (`List[str]` or `str`, *optional*): + Filter by owner's username. + item (`List[str]` or `str`, *optional*): + Filter collections containing a particular items. Example: `"models/teknium/OpenHermes-2.5-Mistral-7B"`, `"datasets/squad"` or `"papers/2311.12983"`. + sort (`Literal["lastModified", "trending", "upvotes"]`, *optional*): + Sort collections by last modified, trending or upvotes. + limit (`int`, *optional*): + Maximum number of collections to be returned. + token (`bool` or `str`, *optional*): + An authentication token (see https://huggingface.co/settings/token). + + Returns: + `Iterable[Collection]`: an iterable of [`Collection`] objects. + """ + # Construct the API endpoint + path = f"{self.endpoint}/api/collections" + headers = self._build_hf_headers(token=token) + params: Dict = {} + if owner is not None: + params.update({"owner": owner}) + if item is not None: + params.update({"item": item}) + if sort is not None: + params.update({"sort": sort}) + if limit is not None: + params.update({"limit": limit}) + + # Paginate over the results until limit is reached + items = paginate(path, headers=headers, params=params) + if limit is not None: + items = islice(items, limit) # Do not iterate over all pages + + # Parse as Collection and return + for position, collection_data in enumerate(items): + yield Collection(position=position, **collection_data) + + def get_collection(self, collection_slug: str, *, token: Optional[str] = None) -> Collection: + """Gets information about a Collection on the Hub. + + Args: + collection_slug (`str`): + Slug of the collection of the Hub. Example: `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + + Returns: [`Collection`] + + Example: + + ```py + >>> from huggingface_hub import get_collection + >>> collection = get_collection("TheBloke/recent-models-64f9a55bb3115b4f513ec026") + >>> collection.title + 'Recent models' + >>> len(collection.items) + 37 + >>> collection.items[0] + CollectionItem( + item_object_id='651446103cd773a050bf64c2', + item_id='TheBloke/U-Amethyst-20B-AWQ', + item_type='model', + position=88, + note=None + ) + ``` + """ + r = get_session().get( + f"{self.endpoint}/api/collections/{collection_slug}", headers=self._build_hf_headers(token=token) + ) + hf_raise_for_status(r) + return Collection(**{**r.json(), "endpoint": self.endpoint}) + + def create_collection( + self, + title: str, + *, + namespace: Optional[str] = None, + description: Optional[str] = None, + private: bool = False, + exists_ok: bool = False, + token: Optional[str] = None, + ) -> Collection: + """Create a new Collection on the Hub. + + Args: + title (`str`): + Title of the collection to create. Example: `"Recent models"`. + namespace (`str`, *optional*): + Namespace of the collection to create (username or org). Will default to the owner name. + description (`str`, *optional*): + Description of the collection to create. + private (`bool`, *optional*): + Whether the collection should be private or not. Defaults to `False` (i.e. public collection). + exists_ok (`bool`, *optional*): + If `True`, do not raise an error if collection already exists. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + + Returns: [`Collection`] + + Example: + + ```py + >>> from huggingface_hub import create_collection + >>> collection = create_collection( + ... title="ICCV 2023", + ... description="Portfolio of models, papers and demos I presented at ICCV 2023", + ... ) + >>> collection.slug + "username/iccv-2023-64f9a55bb3115b4f513ec026" + ``` + """ + if namespace is None: + namespace = self.whoami(token)["name"] + + payload = { + "title": title, + "namespace": namespace, + "private": private, + } + if description is not None: + payload["description"] = description + + r = get_session().post( + f"{self.endpoint}/api/collections", headers=self._build_hf_headers(token=token), json=payload + ) + try: + hf_raise_for_status(r) + except HTTPError as err: + if exists_ok and err.response.status_code == 409: + # Collection already exists and `exists_ok=True` + slug = r.json()["slug"] + return self.get_collection(slug, token=token) + else: + raise + return Collection(**{**r.json(), "endpoint": self.endpoint}) + + def update_collection_metadata( + self, + collection_slug: str, + *, + title: Optional[str] = None, + description: Optional[str] = None, + position: Optional[int] = None, + private: Optional[bool] = None, + theme: Optional[str] = None, + token: Optional[str] = None, + ) -> Collection: + """Update metadata of a collection on the Hub. + + All arguments are optional. Only provided metadata will be updated. + + Args: + collection_slug (`str`): + Slug of the collection to update. Example: `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`. + title (`str`): + Title of the collection to update. + description (`str`, *optional*): + Description of the collection to update. + position (`int`, *optional*): + New position of the collection in the list of collections of the user. + private (`bool`, *optional*): + Whether the collection should be private or not. + theme (`str`, *optional*): + Theme of the collection on the Hub. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + + Returns: [`Collection`] + + Example: + + ```py + >>> from huggingface_hub import update_collection_metadata + >>> collection = update_collection_metadata( + ... collection_slug="username/iccv-2023-64f9a55bb3115b4f513ec026", + ... title="ICCV Oct. 2023" + ... description="Portfolio of models, datasets, papers and demos I presented at ICCV Oct. 2023", + ... private=False, + ... theme="pink", + ... ) + >>> collection.slug + "username/iccv-oct-2023-64f9a55bb3115b4f513ec026" + # ^collection slug got updated but not the trailing ID + ``` + """ + payload = { + "position": position, + "private": private, + "theme": theme, + "title": title, + "description": description, + } + r = get_session().patch( + f"{self.endpoint}/api/collections/{collection_slug}", + headers=self._build_hf_headers(token=token), + # Only send not-none values to the API + json={key: value for key, value in payload.items() if value is not None}, + ) + hf_raise_for_status(r) + return Collection(**{**r.json()["data"], "endpoint": self.endpoint}) + + def delete_collection( + self, collection_slug: str, *, missing_ok: bool = False, token: Optional[str] = None + ) -> None: + """Delete a collection on the Hub. + + Args: + collection_slug (`str`): + Slug of the collection to delete. Example: `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`. + missing_ok (`bool`, *optional*): + If `True`, do not raise an error if collection doesn't exists. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + + Example: + + ```py + >>> from huggingface_hub import delete_collection + >>> collection = delete_collection("username/useless-collection-64f9a55bb3115b4f513ec026", missing_ok=True) + ``` + + + + This is a non-revertible action. A deleted collection cannot be restored. + + + """ + r = get_session().delete( + f"{self.endpoint}/api/collections/{collection_slug}", headers=self._build_hf_headers(token=token) + ) + try: + hf_raise_for_status(r) + except HTTPError as err: + if missing_ok and err.response.status_code == 404: + # Collection doesn't exists and `missing_ok=True` + return + else: + raise + + def add_collection_item( + self, + collection_slug: str, + item_id: str, + item_type: CollectionItemType_T, + *, + note: Optional[str] = None, + exists_ok: bool = False, + token: Optional[str] = None, + ) -> Collection: + """Add an item to a collection on the Hub. + + Args: + collection_slug (`str`): + Slug of the collection to update. Example: `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`. + item_id (`str`): + ID of the item to add to the collection. It can be the ID of a repo on the Hub (e.g. `"facebook/bart-large-mnli"`) + or a paper id (e.g. `"2307.09288"`). + item_type (`str`): + Type of the item to add. Can be one of `"model"`, `"dataset"`, `"space"` or `"paper"`. + note (`str`, *optional*): + A note to attach to the item in the collection. The maximum size for a note is 500 characters. + exists_ok (`bool`, *optional*): + If `True`, do not raise an error if item already exists. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + + Returns: [`Collection`] + + Example: + + ```py + >>> from huggingface_hub import add_collection_item + >>> collection = add_collection_item( + ... collection_slug="davanstrien/climate-64f99dc2a5067f6b65531bab", + ... item_id="pierre-loic/climate-news-articles", + ... item_type="dataset" + ... ) + >>> collection.items[-1].item_id + "pierre-loic/climate-news-articles" + # ^item got added to the collection on last position + + # Add item with a note + >>> add_collection_item( + ... collection_slug="davanstrien/climate-64f99dc2a5067f6b65531bab", + ... item_id="datasets/climate_fever", + ... item_type="dataset" + ... note="This dataset adopts the FEVER methodology that consists of 1,535 real-world claims regarding climate-change collected on the internet." + ... ) + (...) + ``` + """ + payload: Dict[str, Any] = {"item": {"id": item_id, "type": item_type}} + if note is not None: + payload["note"] = note + r = get_session().post( + f"{self.endpoint}/api/collections/{collection_slug}/items", + headers=self._build_hf_headers(token=token), + json=payload, + ) + try: + hf_raise_for_status(r) + except HTTPError as err: + if exists_ok and err.response.status_code == 409: + # Item already exists and `exists_ok=True` + return self.get_collection(collection_slug, token=token) + else: + raise + return Collection(**{**r.json(), "endpoint": self.endpoint}) + + def update_collection_item( + self, + collection_slug: str, + item_object_id: str, + *, + note: Optional[str] = None, + position: Optional[int] = None, + token: Optional[str] = None, + ) -> None: + """Update an item in a collection. + + Args: + collection_slug (`str`): + Slug of the collection to update. Example: `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`. + item_object_id (`str`): + ID of the item in the collection. This is not the id of the item on the Hub (repo_id or paper id). + It must be retrieved from a [`CollectionItem`] object. Example: `collection.items[0].item_object_id`. + note (`str`, *optional*): + A note to attach to the item in the collection. The maximum size for a note is 500 characters. + position (`int`, *optional*): + New position of the item in the collection. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + + Example: + + ```py + >>> from huggingface_hub import get_collection, update_collection_item + + # Get collection first + >>> collection = get_collection("TheBloke/recent-models-64f9a55bb3115b4f513ec026") + + # Update item based on its ID (add note + update position) + >>> update_collection_item( + ... collection_slug="TheBloke/recent-models-64f9a55bb3115b4f513ec026", + ... item_object_id=collection.items[-1].item_object_id, + ... note="Newly updated model!" + ... position=0, + ... ) + ``` + """ + payload = {"position": position, "note": note} + r = get_session().patch( + f"{self.endpoint}/api/collections/{collection_slug}/items/{item_object_id}", + headers=self._build_hf_headers(token=token), + # Only send not-none values to the API + json={key: value for key, value in payload.items() if value is not None}, + ) + hf_raise_for_status(r) + + def delete_collection_item( + self, + collection_slug: str, + item_object_id: str, + *, + missing_ok: bool = False, + token: Optional[str] = None, + ) -> None: + """Delete an item from a collection. + + Args: + collection_slug (`str`): + Slug of the collection to update. Example: `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`. + item_object_id (`str`): + ID of the item in the collection. This is not the id of the item on the Hub (repo_id or paper id). + It must be retrieved from a [`CollectionItem`] object. Example: `collection.items[0]._id`. + missing_ok (`bool`, *optional*): + If `True`, do not raise an error if item doesn't exists. + token (`str`, *optional*): + Hugging Face token. Will default to the locally saved token if not provided. + + Example: + + ```py + >>> from huggingface_hub import get_collection, delete_collection_item + + # Get collection first + >>> collection = get_collection("TheBloke/recent-models-64f9a55bb3115b4f513ec026") + + # Delete item based on its ID + >>> delete_collection_item( + ... collection_slug="TheBloke/recent-models-64f9a55bb3115b4f513ec026", + ... item_object_id=collection.items[-1].item_object_id, + ... ) + ``` + """ + r = get_session().delete( + f"{self.endpoint}/api/collections/{collection_slug}/items/{item_object_id}", + headers=self._build_hf_headers(token=token), + ) + try: + hf_raise_for_status(r) + except HTTPError as err: + if missing_ok and err.response.status_code == 404: + # Item already deleted and `missing_ok=True` + return + else: + raise + + ########################## + # Manage access requests # + ########################## + + @validate_hf_hub_args + def list_pending_access_requests( + self, repo_id: str, *, repo_type: Optional[str] = None, token: Optional[str] = None + ) -> List[AccessRequest]: + """ + Get pending access requests for a given gated repo. + + A pending request means the user has requested access to the repo but the request has not been processed yet. + If the approval mode is automatic, this list should be empty. Pending requests can be accepted or rejected + using [`accept_access_request`] and [`reject_access_request`]. + + For more info about gated repos, see https://huggingface.co/docs/hub/models-gated. + + Args: + repo_id (`str`): + The id of the repo to get access requests for. + repo_type (`str`, *optional*): + The type of the repo to get access requests for. Must be one of `model`, `dataset` or `space`. + Defaults to `model`. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + + Returns: + `List[AccessRequest]`: A list of [`AccessRequest`] objects. Each time contains a `username`, `email`, + `status` and `timestamp` attribute. If the gated repo has a custom form, the `fields` attribute will + be populated with user's answers. + + Raises: + `HTTPError`: + HTTP 400 if the repo is not gated. + `HTTPError`: + HTTP 403 if you only have read-only access to the repo. This can be the case if you don't have `write` + or `admin` role in the organization the repo belongs to or if you passed a `read` token. + + Example: + ```py + >>> from huggingface_hub import list_pending_access_requests, accept_access_request + + # List pending requests + >>> requests = list_pending_access_requests("meta-llama/Llama-2-7b") + >>> len(requests) + 411 + >>> requests[0] + [ + AccessRequest( + username='clem', + fullname='Clem 🤗', + email='***', + timestamp=datetime.datetime(2023, 11, 23, 18, 4, 53, 828000, tzinfo=datetime.timezone.utc), + status='pending', + fields=None, + ), + ... + ] + + # Accept Clem's request + >>> accept_access_request("meta-llama/Llama-2-7b", "clem") + ``` + """ + return self._list_access_requests(repo_id, "pending", repo_type=repo_type, token=token) + + @validate_hf_hub_args + def list_accepted_access_requests( + self, repo_id: str, *, repo_type: Optional[str] = None, token: Optional[str] = None + ) -> List[AccessRequest]: + """ + Get accepted access requests for a given gated repo. + + An accepted request means the user has requested access to the repo and the request has been accepted. The user + can download any file of the repo. If the approval mode is automatic, this list should contains by default all + requests. Accepted requests can be cancelled or rejected at any time using [`cancel_access_request`] and + [`reject_access_request`]. A cancelled request will go back to the pending list while a rejected request will + go to the rejected list. In both cases, the user will lose access to the repo. + + For more info about gated repos, see https://huggingface.co/docs/hub/models-gated. + + Args: + repo_id (`str`): + The id of the repo to get access requests for. + repo_type (`str`, *optional*): + The type of the repo to get access requests for. Must be one of `model`, `dataset` or `space`. + Defaults to `model`. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + + Returns: + `List[AccessRequest]`: A list of [`AccessRequest`] objects. Each time contains a `username`, `email`, + `status` and `timestamp` attribute. If the gated repo has a custom form, the `fields` attribute will + be populated with user's answers. + + Raises: + `HTTPError`: + HTTP 400 if the repo is not gated. + `HTTPError`: + HTTP 403 if you only have read-only access to the repo. This can be the case if you don't have `write` + or `admin` role in the organization the repo belongs to or if you passed a `read` token. + + Example: + ```py + >>> from huggingface_hub import list_accepted_access_requests + + >>> requests = list_accepted_access_requests("meta-llama/Llama-2-7b") + >>> len(requests) + 411 + >>> requests[0] + [ + AccessRequest( + username='clem', + fullname='Clem 🤗', + email='***', + timestamp=datetime.datetime(2023, 11, 23, 18, 4, 53, 828000, tzinfo=datetime.timezone.utc), + status='accepted', + fields=None, + ), + ... + ] + ``` + """ + return self._list_access_requests(repo_id, "accepted", repo_type=repo_type, token=token) + + @validate_hf_hub_args + def list_rejected_access_requests( + self, repo_id: str, *, repo_type: Optional[str] = None, token: Optional[str] = None + ) -> List[AccessRequest]: + """ + Get rejected access requests for a given gated repo. + + A rejected request means the user has requested access to the repo and the request has been explicitly rejected + by a repo owner (either you or another user from your organization). The user cannot download any file of the + repo. Rejected requests can be accepted or cancelled at any time using [`accept_access_request`] and + [`cancel_access_request`]. A cancelled request will go back to the pending list while an accepted request will + go to the accepted list. + + For more info about gated repos, see https://huggingface.co/docs/hub/models-gated. + + Args: + repo_id (`str`): + The id of the repo to get access requests for. + repo_type (`str`, *optional*): + The type of the repo to get access requests for. Must be one of `model`, `dataset` or `space`. + Defaults to `model`. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + + Returns: + `List[AccessRequest]`: A list of [`AccessRequest`] objects. Each time contains a `username`, `email`, + `status` and `timestamp` attribute. If the gated repo has a custom form, the `fields` attribute will + be populated with user's answers. + + Raises: + `HTTPError`: + HTTP 400 if the repo is not gated. + `HTTPError`: + HTTP 403 if you only have read-only access to the repo. This can be the case if you don't have `write` + or `admin` role in the organization the repo belongs to or if you passed a `read` token. + + Example: + ```py + >>> from huggingface_hub import list_rejected_access_requests + + >>> requests = list_rejected_access_requests("meta-llama/Llama-2-7b") + >>> len(requests) + 411 + >>> requests[0] + [ + AccessRequest( + username='clem', + fullname='Clem 🤗', + email='***', + timestamp=datetime.datetime(2023, 11, 23, 18, 4, 53, 828000, tzinfo=datetime.timezone.utc), + status='rejected', + fields=None, + ), + ... + ] + ``` + """ + return self._list_access_requests(repo_id, "rejected", repo_type=repo_type, token=token) + + def _list_access_requests( + self, + repo_id: str, + status: Literal["accepted", "rejected", "pending"], + repo_type: Optional[str] = None, + token: Optional[str] = None, + ) -> List[AccessRequest]: + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + if repo_type is None: + repo_type = REPO_TYPE_MODEL + + response = get_session().get( + f"{ENDPOINT}/api/{repo_type}s/{repo_id}/user-access-request/{status}", + headers=self._build_hf_headers(token=token), + ) + hf_raise_for_status(response) + return [ + AccessRequest( + username=request["user"]["user"], + fullname=request["user"]["fullname"], + email=request["user"]["email"], + status=request["status"], + timestamp=parse_datetime(request["timestamp"]), + fields=request.get("fields"), # only if custom fields in form + ) + for request in response.json() + ] + + @validate_hf_hub_args + def cancel_access_request( + self, repo_id: str, user: str, *, repo_type: Optional[str] = None, token: Optional[str] = None + ) -> None: + """ + Cancel an access request from a user for a given gated repo. + + A cancelled request will go back to the pending list and the user will lose access to the repo. + + For more info about gated repos, see https://huggingface.co/docs/hub/models-gated. + + Args: + repo_id (`str`): + The id of the repo to cancel access request for. + user (`str`): + The username of the user which access request should be cancelled. + repo_type (`str`, *optional*): + The type of the repo to cancel access request for. Must be one of `model`, `dataset` or `space`. + Defaults to `model`. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + + Raises: + `HTTPError`: + HTTP 400 if the repo is not gated. + `HTTPError`: + HTTP 403 if you only have read-only access to the repo. This can be the case if you don't have `write` + or `admin` role in the organization the repo belongs to or if you passed a `read` token. + `HTTPError`: + HTTP 404 if the user does not exist on the Hub. + `HTTPError`: + HTTP 404 if the user access request cannot be found. + `HTTPError`: + HTTP 404 if the user access request is already in the pending list. + """ + self._handle_access_request(repo_id, user, "pending", repo_type=repo_type, token=token) + + @validate_hf_hub_args + def accept_access_request( + self, repo_id: str, user: str, *, repo_type: Optional[str] = None, token: Optional[str] = None + ) -> None: + """ + Accept an access request from a user for a given gated repo. + + Once the request is accepted, the user will be able to download any file of the repo and access the community + tab. If the approval mode is automatic, you don't have to accept requests manually. An accepted request can be + cancelled or rejected at any time using [`cancel_access_request`] and [`reject_access_request`]. + + For more info about gated repos, see https://huggingface.co/docs/hub/models-gated. + + Args: + repo_id (`str`): + The id of the repo to accept access request for. + user (`str`): + The username of the user which access request should be accepted. + repo_type (`str`, *optional*): + The type of the repo to accept access request for. Must be one of `model`, `dataset` or `space`. + Defaults to `model`. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + + Raises: + `HTTPError`: + HTTP 400 if the repo is not gated. + `HTTPError`: + HTTP 403 if you only have read-only access to the repo. This can be the case if you don't have `write` + or `admin` role in the organization the repo belongs to or if you passed a `read` token. + `HTTPError`: + HTTP 404 if the user does not exist on the Hub. + `HTTPError`: + HTTP 404 if the user access request cannot be found. + `HTTPError`: + HTTP 404 if the user access request is already in the accepted list. + """ + self._handle_access_request(repo_id, user, "accepted", repo_type=repo_type, token=token) + + @validate_hf_hub_args + def reject_access_request( + self, repo_id: str, user: str, *, repo_type: Optional[str] = None, token: Optional[str] = None + ) -> None: + """ + Reject an access request from a user for a given gated repo. + + A rejected request will go to the rejected list. The user cannot download any file of the repo. Rejected + requests can be accepted or cancelled at any time using [`accept_access_request`] and [`cancel_access_request`]. + A cancelled request will go back to the pending list while an accepted request will go to the accepted list. + + For more info about gated repos, see https://huggingface.co/docs/hub/models-gated. + + Args: + repo_id (`str`): + The id of the repo to reject access request for. + user (`str`): + The username of the user which access request should be rejected. + repo_type (`str`, *optional*): + The type of the repo to reject access request for. Must be one of `model`, `dataset` or `space`. + Defaults to `model`. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + + Raises: + `HTTPError`: + HTTP 400 if the repo is not gated. + `HTTPError`: + HTTP 403 if you only have read-only access to the repo. This can be the case if you don't have `write` + or `admin` role in the organization the repo belongs to or if you passed a `read` token. + `HTTPError`: + HTTP 404 if the user does not exist on the Hub. + `HTTPError`: + HTTP 404 if the user access request cannot be found. + `HTTPError`: + HTTP 404 if the user access request is already in the rejected list. + """ + self._handle_access_request(repo_id, user, "rejected", repo_type=repo_type, token=token) + + @validate_hf_hub_args + def _handle_access_request( + self, + repo_id: str, + user: str, + status: Literal["accepted", "rejected", "pending"], + repo_type: Optional[str] = None, + token: Optional[str] = None, + ) -> None: + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + if repo_type is None: + repo_type = REPO_TYPE_MODEL + + response = get_session().post( + f"{ENDPOINT}/api/{repo_type}s/{repo_id}/user-access-request/handle", + headers=self._build_hf_headers(token=token), + json={"user": user, "status": status}, + ) + hf_raise_for_status(response) + + @validate_hf_hub_args + def grant_access( + self, repo_id: str, user: str, *, repo_type: Optional[str] = None, token: Optional[str] = None + ) -> None: + """ + Grant access to a user for a given gated repo. + + Granting access don't require for the user to send an access request by themselves. The user is automatically + added to the accepted list meaning they can download the files You can revoke the granted access at any time + using [`cancel_access_request`] or [`reject_access_request`]. + + For more info about gated repos, see https://huggingface.co/docs/hub/models-gated. + + Args: + repo_id (`str`): + The id of the repo to grant access to. + user (`str`): + The username of the user to grant access. + repo_type (`str`, *optional*): + The type of the repo to grant access to. Must be one of `model`, `dataset` or `space`. + Defaults to `model`. + token (`str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + + Raises: + `HTTPError`: + HTTP 400 if the repo is not gated. + `HTTPError`: + HTTP 400 if the user already has access to the repo. + `HTTPError`: + HTTP 403 if you only have read-only access to the repo. This can be the case if you don't have `write` + or `admin` role in the organization the repo belongs to or if you passed a `read` token. + `HTTPError`: + HTTP 404 if the user does not exist on the Hub. + """ + if repo_type not in REPO_TYPES: + raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}") + if repo_type is None: + repo_type = REPO_TYPE_MODEL + + response = get_session().post( + f"{ENDPOINT}/api/models/{repo_id}/user-access-request/grant", + headers=self._build_hf_headers(token=token), + json={"user": user}, + ) + hf_raise_for_status(response) + return response.json() + + ############# + # Internals # + ############# + + def _build_hf_headers( + self, + token: Optional[Union[bool, str]] = None, + is_write_action: bool = False, + library_name: Optional[str] = None, + library_version: Optional[str] = None, + user_agent: Union[Dict, str, None] = None, + ) -> Dict[str, str]: + """ + Alias for [`build_hf_headers`] that uses the token from [`HfApi`] client + when `token` is not provided. + """ + if token is None: + # Cannot do `token = token or self.token` as token can be `False`. + token = self.token + return build_hf_headers( + token=token, + is_write_action=is_write_action, + library_name=library_name or self.library_name, + library_version=library_version or self.library_version, + user_agent=user_agent or self.user_agent, + ) + + def _prepare_upload_folder_deletions( + self, + repo_id: str, + repo_type: Optional[str], + revision: Optional[str], + token: Optional[str], + path_in_repo: str, + delete_patterns: Optional[Union[List[str], str]], + ) -> List[CommitOperationDelete]: + """Generate the list of Delete operations for a commit to delete files from a repo. + + List remote files and match them against the `delete_patterns` constraints. Returns a list of [`CommitOperationDelete`] + with the matching items. + + Note: `.gitattributes` file is essential to make a repo work properly on the Hub. This file will always be + kept even if it matches the `delete_patterns` constraints. + """ + if delete_patterns is None: + # If no delete patterns, no need to list and filter remote files + return [] + + # List remote files + filenames = self.list_repo_files(repo_id=repo_id, revision=revision, repo_type=repo_type, token=token) + + # Compute relative path in repo + if path_in_repo: + path_in_repo = path_in_repo.strip("/") + "/" # harmonize + relpath_to_abspath = { + file[len(path_in_repo) :]: file for file in filenames if file.startswith(path_in_repo) + } + else: + relpath_to_abspath = {file: file for file in filenames} + + # Apply filter on relative paths and return + return [ + CommitOperationDelete(path_in_repo=relpath_to_abspath[relpath], is_folder=False) + for relpath in filter_repo_objects(relpath_to_abspath.keys(), allow_patterns=delete_patterns) + if relpath_to_abspath[relpath] != ".gitattributes" + ] + + +def _prepare_upload_folder_additions( + folder_path: Union[str, Path], + path_in_repo: str, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, +) -> List[CommitOperationAdd]: + """Generate the list of Add operations for a commit to upload a folder. + + Files not matching the `allow_patterns` (allowlist) and `ignore_patterns` (denylist) + constraints are discarded. + """ + folder_path = Path(folder_path).expanduser().resolve() + if not folder_path.is_dir(): + raise ValueError(f"Provided path: '{folder_path}' is not a directory") + + # List files from folder + relpath_to_abspath = { + path.relative_to(folder_path).as_posix(): path + for path in sorted(folder_path.glob("**/*")) # sorted to be deterministic + if path.is_file() + } + + # Filter files and return + # Patterns are applied on the path relative to `folder_path`. `path_in_repo` is prefixed after the filtering. + prefix = f"{path_in_repo.strip('/')}/" if path_in_repo else "" + return [ + CommitOperationAdd( + path_or_fileobj=relpath_to_abspath[relpath], # absolute path on disk + path_in_repo=prefix + relpath, # "absolute" path in repo + ) + for relpath in filter_repo_objects( + relpath_to_abspath.keys(), allow_patterns=allow_patterns, ignore_patterns=ignore_patterns + ) + ] + + +def _parse_revision_from_pr_url(pr_url: str) -> str: + """Safely parse revision number from a PR url. + + Example: + ```py + >>> _parse_revision_from_pr_url("https://huggingface.co/bigscience/bloom/discussions/2") + "refs/pr/2" + ``` + """ + re_match = re.match(_REGEX_DISCUSSION_URL, pr_url) + if re_match is None: + raise RuntimeError(f"Unexpected response from the hub, expected a Pull Request URL but got: '{pr_url}'") + return f"refs/pr/{re_match[1]}" + + +api = HfApi() + +whoami = api.whoami +get_token_permission = api.get_token_permission + +list_models = api.list_models +model_info = api.model_info + +list_datasets = api.list_datasets +dataset_info = api.dataset_info + +list_spaces = api.list_spaces +space_info = api.space_info + +repo_exists = api.repo_exists +file_exists = api.file_exists +repo_info = api.repo_info +list_repo_files = api.list_repo_files +list_repo_refs = api.list_repo_refs +list_repo_commits = api.list_repo_commits +list_files_info = api.list_files_info +list_repo_tree = api.list_repo_tree +get_paths_info = api.get_paths_info + +list_metrics = api.list_metrics + +get_model_tags = api.get_model_tags +get_dataset_tags = api.get_dataset_tags + +create_commit = api.create_commit +create_repo = api.create_repo +delete_repo = api.delete_repo +update_repo_visibility = api.update_repo_visibility +super_squash_history = api.super_squash_history +move_repo = api.move_repo +upload_file = api.upload_file +upload_folder = api.upload_folder +delete_file = api.delete_file +delete_folder = api.delete_folder +create_commits_on_pr = api.create_commits_on_pr +preupload_lfs_files = api.preupload_lfs_files +create_branch = api.create_branch +delete_branch = api.delete_branch +create_tag = api.create_tag +delete_tag = api.delete_tag +get_full_repo_name = api.get_full_repo_name + +# Safetensors helpers +get_safetensors_metadata = api.get_safetensors_metadata +parse_safetensors_file_metadata = api.parse_safetensors_file_metadata + +# Background jobs +run_as_future = api.run_as_future + +# Activity API +list_liked_repos = api.list_liked_repos +list_repo_likers = api.list_repo_likers +like = api.like +unlike = api.unlike + +# Community API +get_discussion_details = api.get_discussion_details +get_repo_discussions = api.get_repo_discussions +create_discussion = api.create_discussion +create_pull_request = api.create_pull_request +change_discussion_status = api.change_discussion_status +comment_discussion = api.comment_discussion +edit_discussion_comment = api.edit_discussion_comment +rename_discussion = api.rename_discussion +merge_pull_request = api.merge_pull_request + +# Space API +add_space_secret = api.add_space_secret +delete_space_secret = api.delete_space_secret +get_space_variables = api.get_space_variables +add_space_variable = api.add_space_variable +delete_space_variable = api.delete_space_variable +get_space_runtime = api.get_space_runtime +request_space_hardware = api.request_space_hardware +set_space_sleep_time = api.set_space_sleep_time +pause_space = api.pause_space +restart_space = api.restart_space +duplicate_space = api.duplicate_space +request_space_storage = api.request_space_storage +delete_space_storage = api.delete_space_storage + +# Inference Endpoint API +list_inference_endpoints = api.list_inference_endpoints +create_inference_endpoint = api.create_inference_endpoint +get_inference_endpoint = api.get_inference_endpoint +update_inference_endpoint = api.update_inference_endpoint +delete_inference_endpoint = api.delete_inference_endpoint +pause_inference_endpoint = api.pause_inference_endpoint +resume_inference_endpoint = api.resume_inference_endpoint +scale_to_zero_inference_endpoint = api.scale_to_zero_inference_endpoint + +# Collections API +get_collection = api.get_collection +list_collections = api.list_collections +create_collection = api.create_collection +update_collection_metadata = api.update_collection_metadata +delete_collection = api.delete_collection +add_collection_item = api.add_collection_item +update_collection_item = api.update_collection_item +delete_collection_item = api.delete_collection_item +delete_collection_item = api.delete_collection_item + +# Access requests API +list_pending_access_requests = api.list_pending_access_requests +list_accepted_access_requests = api.list_accepted_access_requests +list_rejected_access_requests = api.list_rejected_access_requests +cancel_access_request = api.cancel_access_request +accept_access_request = api.accept_access_request +reject_access_request = api.reject_access_request +grant_access = api.grant_access diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py new file mode 100644 index 0000000000000000000000000000000000000000..89c07fb945db5868b884d3952ee2eda31ad03d32 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py @@ -0,0 +1,670 @@ +import copy +import os +import re +import tempfile +from collections import deque +from dataclasses import dataclass, field +from datetime import datetime +from itertools import chain +from typing import Any, Dict, List, NoReturn, Optional, Tuple, Union +from urllib.parse import quote, unquote + +import fsspec + +from ._commit_api import CommitOperationCopy, CommitOperationDelete +from .constants import DEFAULT_REVISION, ENDPOINT, REPO_TYPE_MODEL, REPO_TYPES_MAPPING, REPO_TYPES_URL_PREFIXES +from .file_download import hf_hub_url +from .hf_api import HfApi, LastCommitInfo, RepoFile +from .utils import ( + EntryNotFoundError, + HFValidationError, + RepositoryNotFoundError, + RevisionNotFoundError, + hf_raise_for_status, + http_backoff, +) + + +# Regex used to match special revisions with "/" in them (see #1710) +SPECIAL_REFS_REVISION_REGEX = re.compile( + r""" + (^refs\/convert\/\w+) # `refs/convert/parquet` revisions + | + (^refs\/pr\/\d+) # PR revisions + """, + re.VERBOSE, +) + + +@dataclass +class HfFileSystemResolvedPath: + """Data structure containing information about a resolved Hugging Face file system path.""" + + repo_type: str + repo_id: str + revision: str + path_in_repo: str + # The part placed after '@' in the initial path. It can be a quoted or unquoted refs revision. + # Used to reconstruct the unresolved path to return to the user. + _raw_revision: Optional[str] = field(default=None, repr=False) + + def unresolve(self) -> str: + repo_path = REPO_TYPES_URL_PREFIXES.get(self.repo_type, "") + self.repo_id + if self._raw_revision: + return f"{repo_path}@{self._raw_revision}/{self.path_in_repo}".rstrip("/") + elif self.revision != DEFAULT_REVISION: + return f"{repo_path}@{safe_revision(self.revision)}/{self.path_in_repo}".rstrip("/") + else: + return f"{repo_path}/{self.path_in_repo}".rstrip("/") + + +class HfFileSystem(fsspec.AbstractFileSystem): + """ + Access a remote Hugging Face Hub repository as if were a local file system. + + Args: + token (`str`, *optional*): + Authentication token, obtained with [`HfApi.login`] method. Will default to the stored token. + + Usage: + + ```python + >>> from huggingface_hub import HfFileSystem + + >>> fs = HfFileSystem() + + >>> # List files + >>> fs.glob("my-username/my-model/*.bin") + ['my-username/my-model/pytorch_model.bin'] + >>> fs.ls("datasets/my-username/my-dataset", detail=False) + ['datasets/my-username/my-dataset/.gitattributes', 'datasets/my-username/my-dataset/README.md', 'datasets/my-username/my-dataset/data.json'] + + >>> # Read/write files + >>> with fs.open("my-username/my-model/pytorch_model.bin") as f: + ... data = f.read() + >>> with fs.open("my-username/my-model/pytorch_model.bin", "wb") as f: + ... f.write(data) + ``` + """ + + root_marker = "" + protocol = "hf" + + def __init__( + self, + *args, + endpoint: Optional[str] = None, + token: Optional[str] = None, + **storage_options, + ): + super().__init__(*args, **storage_options) + self.endpoint = endpoint or ENDPOINT + self.token = token + self._api = HfApi(endpoint=endpoint, token=token) + # Maps (repo_type, repo_id, revision) to a 2-tuple with: + # * the 1st element indicating whether the repositoy and the revision exist + # * the 2nd element being the exception raised if the repository or revision doesn't exist + self._repo_and_revision_exists_cache: Dict[ + Tuple[str, str, Optional[str]], Tuple[bool, Optional[Exception]] + ] = {} + + def _repo_and_revision_exist( + self, repo_type: str, repo_id: str, revision: Optional[str] + ) -> Tuple[bool, Optional[Exception]]: + if (repo_type, repo_id, revision) not in self._repo_and_revision_exists_cache: + try: + self._api.repo_info(repo_id, revision=revision, repo_type=repo_type) + except (RepositoryNotFoundError, HFValidationError) as e: + self._repo_and_revision_exists_cache[(repo_type, repo_id, revision)] = False, e + self._repo_and_revision_exists_cache[(repo_type, repo_id, None)] = False, e + except RevisionNotFoundError as e: + self._repo_and_revision_exists_cache[(repo_type, repo_id, revision)] = False, e + self._repo_and_revision_exists_cache[(repo_type, repo_id, None)] = True, None + else: + self._repo_and_revision_exists_cache[(repo_type, repo_id, revision)] = True, None + self._repo_and_revision_exists_cache[(repo_type, repo_id, None)] = True, None + return self._repo_and_revision_exists_cache[(repo_type, repo_id, revision)] + + def resolve_path(self, path: str, revision: Optional[str] = None) -> HfFileSystemResolvedPath: + def _align_revision_in_path_with_revision( + revision_in_path: Optional[str], revision: Optional[str] + ) -> Optional[str]: + if revision is not None: + if revision_in_path is not None and revision_in_path != revision: + raise ValueError( + f'Revision specified in path ("{revision_in_path}") and in `revision` argument ("{revision}")' + " are not the same." + ) + else: + revision = revision_in_path + return revision + + path = self._strip_protocol(path) + if not path: + # can't list repositories at root + raise NotImplementedError("Access to repositories lists is not implemented.") + elif path.split("/")[0] + "/" in REPO_TYPES_URL_PREFIXES.values(): + if "/" not in path: + # can't list repositories at the repository type level + raise NotImplementedError("Access to repositories lists is not implemented.") + repo_type, path = path.split("/", 1) + repo_type = REPO_TYPES_MAPPING[repo_type] + else: + repo_type = REPO_TYPE_MODEL + if path.count("/") > 0: + if "@" in path: + repo_id, revision_in_path = path.split("@", 1) + if "/" in revision_in_path: + match = SPECIAL_REFS_REVISION_REGEX.search(revision_in_path) + if match is not None and revision in (None, match.group()): + # Handle `refs/convert/parquet` and PR revisions separately + path_in_repo = SPECIAL_REFS_REVISION_REGEX.sub("", revision_in_path).lstrip("/") + revision_in_path = match.group() + else: + revision_in_path, path_in_repo = revision_in_path.split("/", 1) + else: + path_in_repo = "" + revision = _align_revision_in_path_with_revision(unquote(revision_in_path), revision) + repo_and_revision_exist, err = self._repo_and_revision_exist(repo_type, repo_id, revision) + if not repo_and_revision_exist: + _raise_file_not_found(path, err) + else: + revision_in_path = None + repo_id_with_namespace = "/".join(path.split("/")[:2]) + path_in_repo_with_namespace = "/".join(path.split("/")[2:]) + repo_id_without_namespace = path.split("/")[0] + path_in_repo_without_namespace = "/".join(path.split("/")[1:]) + repo_id = repo_id_with_namespace + path_in_repo = path_in_repo_with_namespace + repo_and_revision_exist, err = self._repo_and_revision_exist(repo_type, repo_id, revision) + if not repo_and_revision_exist: + if isinstance(err, (RepositoryNotFoundError, HFValidationError)): + repo_id = repo_id_without_namespace + path_in_repo = path_in_repo_without_namespace + repo_and_revision_exist, _ = self._repo_and_revision_exist(repo_type, repo_id, revision) + if not repo_and_revision_exist: + _raise_file_not_found(path, err) + else: + _raise_file_not_found(path, err) + else: + repo_id = path + path_in_repo = "" + if "@" in path: + repo_id, revision_in_path = path.split("@", 1) + revision = _align_revision_in_path_with_revision(unquote(revision_in_path), revision) + else: + revision_in_path = None + repo_and_revision_exist, _ = self._repo_and_revision_exist(repo_type, repo_id, revision) + if not repo_and_revision_exist: + raise NotImplementedError("Access to repositories lists is not implemented.") + + revision = revision if revision is not None else DEFAULT_REVISION + return HfFileSystemResolvedPath(repo_type, repo_id, revision, path_in_repo, _raw_revision=revision_in_path) + + def invalidate_cache(self, path: Optional[str] = None) -> None: + if not path: + self.dircache.clear() + self._repo_and_revision_exists_cache.clear() + else: + path = self.resolve_path(path).unresolve() + while path: + self.dircache.pop(path, None) + path = self._parent(path) + + def _open( + self, + path: str, + mode: str = "rb", + revision: Optional[str] = None, + **kwargs, + ) -> "HfFileSystemFile": + if "a" in mode: + raise NotImplementedError("Appending to remote files is not yet supported.") + return HfFileSystemFile(self, path, mode=mode, revision=revision, **kwargs) + + def _rm(self, path: str, revision: Optional[str] = None, **kwargs) -> None: + resolved_path = self.resolve_path(path, revision=revision) + self._api.delete_file( + path_in_repo=resolved_path.path_in_repo, + repo_id=resolved_path.repo_id, + token=self.token, + repo_type=resolved_path.repo_type, + revision=resolved_path.revision, + commit_message=kwargs.get("commit_message"), + commit_description=kwargs.get("commit_description"), + ) + self.invalidate_cache(path=resolved_path.unresolve()) + + def rm( + self, + path: str, + recursive: bool = False, + maxdepth: Optional[int] = None, + revision: Optional[str] = None, + **kwargs, + ) -> None: + resolved_path = self.resolve_path(path, revision=revision) + root_path = REPO_TYPES_URL_PREFIXES.get(resolved_path.repo_type, "") + resolved_path.repo_id + paths = self.expand_path(path, recursive=recursive, maxdepth=maxdepth, revision=revision) + paths_in_repo = [path[len(root_path) + 1 :] for path in paths if not self.isdir(path)] + operations = [CommitOperationDelete(path_in_repo=path_in_repo) for path_in_repo in paths_in_repo] + commit_message = f"Delete {path} " + commit_message += "recursively " if recursive else "" + commit_message += f"up to depth {maxdepth} " if maxdepth is not None else "" + # TODO: use `commit_description` to list all the deleted paths? + self._api.create_commit( + repo_id=resolved_path.repo_id, + repo_type=resolved_path.repo_type, + token=self.token, + operations=operations, + revision=resolved_path.revision, + commit_message=kwargs.get("commit_message", commit_message), + commit_description=kwargs.get("commit_description"), + ) + self.invalidate_cache(path=resolved_path.unresolve()) + + def ls( + self, path: str, detail: bool = True, refresh: bool = False, revision: Optional[str] = None, **kwargs + ) -> List[Union[str, Dict[str, Any]]]: + """List the contents of a directory.""" + resolved_path = self.resolve_path(path, revision=revision) + path = resolved_path.unresolve() + kwargs = {"expand_info": detail, **kwargs} + try: + out = self._ls_tree(path, refresh=refresh, revision=revision, **kwargs) + except EntryNotFoundError: + # Path could be a file + if not resolved_path.path_in_repo: + _raise_file_not_found(path, None) + out = self._ls_tree(self._parent(path), refresh=refresh, revision=revision, **kwargs) + out = [o for o in out if o["name"] == path] + if len(out) == 0: + _raise_file_not_found(path, None) + return out if detail else [o["name"] for o in out] + + def _ls_tree( + self, + path: str, + recursive: bool = False, + refresh: bool = False, + revision: Optional[str] = None, + expand_info: bool = True, + ): + resolved_path = self.resolve_path(path, revision=revision) + path = resolved_path.unresolve() + root_path = HfFileSystemResolvedPath( + resolved_path.repo_type, + resolved_path.repo_id, + resolved_path.revision, + path_in_repo="", + _raw_revision=resolved_path._raw_revision, + ).unresolve() + + out = [] + if path in self.dircache and not refresh: + cached_path_infos = self.dircache[path] + out.extend(cached_path_infos) + dirs_not_in_dircache = [] + if recursive: + # Use BFS to traverse the cache and build the "recursive "output + # (The Hub uses a so-called "tree first" strategy for the tree endpoint but we sort the output to follow the spec so the result is (eventually) the same) + dirs_to_visit = deque( + [path_info for path_info in cached_path_infos if path_info["type"] == "directory"] + ) + while dirs_to_visit: + dir_info = dirs_to_visit.popleft() + if dir_info["name"] not in self.dircache: + dirs_not_in_dircache.append(dir_info["name"]) + else: + cached_path_infos = self.dircache[dir_info["name"]] + out.extend(cached_path_infos) + dirs_to_visit.extend( + [path_info for path_info in cached_path_infos if path_info["type"] == "directory"] + ) + + dirs_not_expanded = [] + if expand_info: + # Check if there are directories with non-expanded entries + dirs_not_expanded = [self._parent(o["name"]) for o in out if o["last_commit"] is None] + + if (recursive and dirs_not_in_dircache) or (expand_info and dirs_not_expanded): + # If the dircache is incomplete, find the common path of the missing and non-expanded entries + # and extend the output with the result of `_ls_tree(common_path, recursive=True)` + common_prefix = os.path.commonprefix(dirs_not_in_dircache + dirs_not_expanded) + # Get the parent directory if the common prefix itself is not a directory + common_path = ( + common_prefix.rstrip("/") + if common_prefix.endswith("/") + or common_prefix == root_path + or common_prefix in chain(dirs_not_in_dircache, dirs_not_expanded) + else self._parent(common_prefix) + ) + out = [o for o in out if not o["name"].startswith(common_path + "/")] + for cached_path in self.dircache: + if cached_path.startswith(common_path + "/"): + self.dircache.pop(cached_path, None) + self.dircache.pop(common_path, None) + out.extend( + self._ls_tree( + common_path, + recursive=recursive, + refresh=True, + revision=revision, + expand_info=expand_info, + ) + ) + else: + tree = self._api.list_repo_tree( + resolved_path.repo_id, + resolved_path.path_in_repo, + recursive=recursive, + expand=expand_info, + revision=resolved_path.revision, + repo_type=resolved_path.repo_type, + ) + for path_info in tree: + if isinstance(path_info, RepoFile): + cache_path_info = { + "name": root_path + "/" + path_info.path, + "size": path_info.size, + "type": "file", + "blob_id": path_info.blob_id, + "lfs": path_info.lfs, + "last_commit": path_info.last_commit, + "security": path_info.security, + } + else: + cache_path_info = { + "name": root_path + "/" + path_info.path, + "size": 0, + "type": "directory", + "tree_id": path_info.tree_id, + "last_commit": path_info.last_commit, + } + parent_path = self._parent(cache_path_info["name"]) + self.dircache.setdefault(parent_path, []).append(cache_path_info) + out.append(cache_path_info) + return copy.deepcopy(out) # copy to not let users modify the dircache + + def glob(self, path, **kwargs): + # Set expand_info=False by default to get a x10 speed boost + kwargs = {"expand_info": kwargs.get("detail", False), **kwargs} + path = self.resolve_path(path, revision=kwargs.get("revision")).unresolve() + return super().glob(path, **kwargs) + + def find( + self, + path: str, + maxdepth: Optional[int] = None, + withdirs: bool = False, + detail: bool = False, + refresh: bool = False, + revision: Optional[str] = None, + **kwargs, + ) -> Union[List[str], Dict[str, Dict[str, Any]]]: + if maxdepth: + return super().find( + path, maxdepth=maxdepth, withdirs=withdirs, detail=detail, refresh=refresh, revision=revision, **kwargs + ) + resolved_path = self.resolve_path(path, revision=revision) + path = resolved_path.unresolve() + kwargs = {"expand_info": detail, **kwargs} + try: + out = self._ls_tree(path, recursive=True, refresh=refresh, revision=resolved_path.revision, **kwargs) + except EntryNotFoundError: + # Path could be a file + if self.info(path, revision=revision, **kwargs)["type"] == "file": + out = {path: {}} + else: + out = {} + else: + if not withdirs: + out = [o for o in out if o["type"] != "directory"] + else: + # If `withdirs=True`, include the directory itself to be consistent with the spec + path_info = self.info(path, revision=resolved_path.revision, **kwargs) + out = [path_info] + out if path_info["type"] == "directory" else out + out = {o["name"]: o for o in out} + names = sorted(out) + if not detail: + return names + else: + return {name: out[name] for name in names} + + def cp_file(self, path1: str, path2: str, revision: Optional[str] = None, **kwargs) -> None: + resolved_path1 = self.resolve_path(path1, revision=revision) + resolved_path2 = self.resolve_path(path2, revision=revision) + + same_repo = ( + resolved_path1.repo_type == resolved_path2.repo_type and resolved_path1.repo_id == resolved_path2.repo_id + ) + + if same_repo and self.info(path1, revision=resolved_path1.revision)["lfs"] is not None: + commit_message = f"Copy {path1} to {path2}" + self._api.create_commit( + repo_id=resolved_path1.repo_id, + repo_type=resolved_path1.repo_type, + revision=resolved_path2.revision, + commit_message=kwargs.get("commit_message", commit_message), + commit_description=kwargs.get("commit_description", ""), + operations=[ + CommitOperationCopy( + src_path_in_repo=resolved_path1.path_in_repo, + path_in_repo=resolved_path2.path_in_repo, + src_revision=resolved_path1.revision, + ) + ], + ) + else: + with self.open(path1, "rb", revision=resolved_path1.revision) as f: + content = f.read() + commit_message = f"Copy {path1} to {path2}" + self._api.upload_file( + path_or_fileobj=content, + path_in_repo=resolved_path2.path_in_repo, + repo_id=resolved_path2.repo_id, + token=self.token, + repo_type=resolved_path2.repo_type, + revision=resolved_path2.revision, + commit_message=kwargs.get("commit_message", commit_message), + commit_description=kwargs.get("commit_description"), + ) + self.invalidate_cache(path=resolved_path1.unresolve()) + self.invalidate_cache(path=resolved_path2.unresolve()) + + def modified(self, path: str, **kwargs) -> datetime: + info = self.info(path, **kwargs) + return info["last_commit"]["date"] + + def info(self, path: str, refresh: bool = False, revision: Optional[str] = None, **kwargs) -> Dict[str, Any]: + resolved_path = self.resolve_path(path, revision=revision) + path = resolved_path.unresolve() + expand_info = kwargs.get( + "expand_info", True + ) # don't expose it as a parameter in the public API to follow the spec + if not resolved_path.path_in_repo: + # Path is the root directory + out = { + "name": path, + "size": 0, + "type": "directory", + } + if expand_info: + last_commit = self._api.list_repo_commits( + resolved_path.repo_id, repo_type=resolved_path.repo_type, revision=resolved_path.revision + )[-1] + out = { + **out, + "tree_id": None, # TODO: tree_id of the root directory? + "last_commit": LastCommitInfo( + oid=last_commit.commit_id, title=last_commit.title, date=last_commit.created_at + ), + } + else: + out = None + parent_path = self._parent(path) + if parent_path in self.dircache: + # Check if the path is in the cache + out1 = [o for o in self.dircache[parent_path] if o["name"] == path] + if not out1: + _raise_file_not_found(path, None) + out = out1[0] + if refresh or out is None or (expand_info and out and out["last_commit"] is None): + paths_info = self._api.get_paths_info( + resolved_path.repo_id, + resolved_path.path_in_repo, + expand=expand_info, + revision=resolved_path.revision, + repo_type=resolved_path.repo_type, + ) + if not paths_info: + _raise_file_not_found(path, None) + path_info = paths_info[0] + root_path = HfFileSystemResolvedPath( + resolved_path.repo_type, + resolved_path.repo_id, + resolved_path.revision, + path_in_repo="", + _raw_revision=resolved_path._raw_revision, + ).unresolve() + if isinstance(path_info, RepoFile): + out = { + "name": root_path + "/" + path_info.path, + "size": path_info.size, + "type": "file", + "blob_id": path_info.blob_id, + "lfs": path_info.lfs, + "last_commit": path_info.last_commit, + "security": path_info.security, + } + else: + out = { + "name": root_path + "/" + path_info.path, + "size": 0, + "type": "directory", + "tree_id": path_info.tree_id, + "last_commit": path_info.last_commit, + } + if not expand_info: + out = {k: out[k] for k in ["name", "size", "type"]} + assert out is not None + return copy.deepcopy(out) # copy to not let users modify the dircache + + def exists(self, path, **kwargs): + """Is there a file at the given path""" + try: + self.info(path, expand_info=False, **kwargs) + return True + except: # noqa: E722 + # any exception allowed bar FileNotFoundError? + return False + + def isdir(self, path): + """Is this entry directory-like?""" + try: + return self.info(path, expand_info=False)["type"] == "directory" + except OSError: + return False + + def isfile(self, path): + """Is this entry file-like?""" + try: + return self.info(path, expand_info=False)["type"] == "file" + except: # noqa: E722 + return False + + @property + def transaction(self): + """A context within which files are committed together upon exit + + Requires the file class to implement `.commit()` and `.discard()` + for the normal and exception cases. + """ + # Taken from https://github.com/fsspec/filesystem_spec/blob/3fbb6fee33b46cccb015607630843dea049d3243/fsspec/spec.py#L231 + # See https://github.com/huggingface/huggingface_hub/issues/1733 + raise NotImplementedError("Transactional commits are not supported.") + + def start_transaction(self): + """Begin write transaction for deferring files, non-context version""" + # Taken from https://github.com/fsspec/filesystem_spec/blob/3fbb6fee33b46cccb015607630843dea049d3243/fsspec/spec.py#L241 + # See https://github.com/huggingface/huggingface_hub/issues/1733 + raise NotImplementedError("Transactional commits are not supported.") + + +class HfFileSystemFile(fsspec.spec.AbstractBufferedFile): + def __init__(self, fs: HfFileSystem, path: str, revision: Optional[str] = None, **kwargs): + super().__init__(fs, path, **kwargs) + self.fs: HfFileSystem + + try: + self.resolved_path = fs.resolve_path(path, revision=revision) + except FileNotFoundError as e: + if "w" in kwargs.get("mode", ""): + raise FileNotFoundError( + f"{e}.\nMake sure the repository and revision exist before writing data." + ) from e + + def __del__(self): + if not hasattr(self, "resolved_path"): + # Means that the constructor failed. Nothing to do. + return + return super().__del__() + + def _fetch_range(self, start: int, end: int) -> bytes: + headers = { + "range": f"bytes={start}-{end - 1}", + **self.fs._api._build_hf_headers(), + } + url = hf_hub_url( + repo_id=self.resolved_path.repo_id, + revision=self.resolved_path.revision, + filename=self.resolved_path.path_in_repo, + repo_type=self.resolved_path.repo_type, + endpoint=self.fs.endpoint, + ) + r = http_backoff("GET", url, headers=headers) + hf_raise_for_status(r) + return r.content + + def _initiate_upload(self) -> None: + self.temp_file = tempfile.NamedTemporaryFile(prefix="hffs-", delete=False) + + def _upload_chunk(self, final: bool = False) -> None: + self.buffer.seek(0) + block = self.buffer.read() + self.temp_file.write(block) + if final: + self.temp_file.close() + self.fs._api.upload_file( + path_or_fileobj=self.temp_file.name, + path_in_repo=self.resolved_path.path_in_repo, + repo_id=self.resolved_path.repo_id, + token=self.fs.token, + repo_type=self.resolved_path.repo_type, + revision=self.resolved_path.revision, + commit_message=self.kwargs.get("commit_message"), + commit_description=self.kwargs.get("commit_description"), + ) + os.remove(self.temp_file.name) + self.fs.invalidate_cache( + path=self.resolved_path.unresolve(), + ) + + +def safe_revision(revision: str) -> str: + return revision if SPECIAL_REFS_REVISION_REGEX.match(revision) else safe_quote(revision) + + +def safe_quote(s: str) -> str: + return quote(s, safe="") + + +def _raise_file_not_found(path: str, err: Optional[Exception]) -> NoReturn: + msg = path + if isinstance(err, RepositoryNotFoundError): + msg = f"{path} (repository not found)" + elif isinstance(err, RevisionNotFoundError): + msg = f"{path} (revision not found)" + elif isinstance(err, HFValidationError): + msg = f"{path} (invalid repository id)" + raise FileNotFoundError(msg) from err diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hub_mixin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hub_mixin.py new file mode 100644 index 0000000000000000000000000000000000000000..b78ae332fa5108b29d4e17202fbb0a0633faef90 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/hub_mixin.py @@ -0,0 +1,368 @@ +import json +import os +from pathlib import Path +from typing import Dict, List, Optional, Type, TypeVar, Union + +from .constants import CONFIG_NAME, PYTORCH_WEIGHTS_NAME +from .file_download import hf_hub_download, is_torch_available +from .hf_api import HfApi +from .utils import HfHubHTTPError, SoftTemporaryDirectory, logging, validate_hf_hub_args + + +if is_torch_available(): + import torch # type: ignore + +logger = logging.get_logger(__name__) + +# Generic variable that is either ModelHubMixin or a subclass thereof +T = TypeVar("T", bound="ModelHubMixin") + + +class ModelHubMixin: + """ + A generic mixin to integrate ANY machine learning framework with the Hub. + + To integrate your framework, your model class must inherit from this class. Custom logic for saving/loading models + have to be overwritten in [`_from_pretrained`] and [`_save_pretrained`]. [`PyTorchModelHubMixin`] is a good example + of mixin integration with the Hub. Check out our [integration guide](../guides/integrations) for more instructions. + """ + + def save_pretrained( + self, + save_directory: Union[str, Path], + *, + config: Optional[dict] = None, + repo_id: Optional[str] = None, + push_to_hub: bool = False, + **kwargs, + ) -> Optional[str]: + """ + Save weights in local directory. + + Args: + save_directory (`str` or `Path`): + Path to directory in which the model weights and configuration will be saved. + config (`dict`, *optional*): + Model configuration specified as a key/value dictionary. + push_to_hub (`bool`, *optional*, defaults to `False`): + Whether or not to push your model to the Huggingface Hub after saving it. + repo_id (`str`, *optional*): + ID of your repository on the Hub. Used only if `push_to_hub=True`. Will default to the folder name if + not provided. + kwargs: + Additional key word arguments passed along to the [`~ModelHubMixin.push_to_hub`] method. + """ + save_directory = Path(save_directory) + save_directory.mkdir(parents=True, exist_ok=True) + + # saving model weights/files + self._save_pretrained(save_directory) + + # saving config + if isinstance(config, dict): + (save_directory / CONFIG_NAME).write_text(json.dumps(config)) + + if push_to_hub: + kwargs = kwargs.copy() # soft-copy to avoid mutating input + if config is not None: # kwarg for `push_to_hub` + kwargs["config"] = config + if repo_id is None: + repo_id = save_directory.name # Defaults to `save_directory` name + return self.push_to_hub(repo_id=repo_id, **kwargs) + return None + + def _save_pretrained(self, save_directory: Path) -> None: + """ + Overwrite this method in subclass to define how to save your model. + Check out our [integration guide](../guides/integrations) for instructions. + + Args: + save_directory (`str` or `Path`): + Path to directory in which the model weights and configuration will be saved. + """ + raise NotImplementedError + + @classmethod + @validate_hf_hub_args + def from_pretrained( + cls: Type[T], + pretrained_model_name_or_path: Union[str, Path], + *, + force_download: bool = False, + resume_download: bool = False, + proxies: Optional[Dict] = None, + token: Optional[Union[str, bool]] = None, + cache_dir: Optional[Union[str, Path]] = None, + local_files_only: bool = False, + revision: Optional[str] = None, + **model_kwargs, + ) -> T: + """ + Download a model from the Huggingface Hub and instantiate it. + + Args: + pretrained_model_name_or_path (`str`, `Path`): + - Either the `model_id` (string) of a model hosted on the Hub, e.g. `bigscience/bloom`. + - Or a path to a `directory` containing model weights saved using + [`~transformers.PreTrainedModel.save_pretrained`], e.g., `../path/to/my_model_directory/`. + revision (`str`, *optional*): + Revision of the model on the Hub. Can be a branch name, a git tag or any commit id. + Defaults to the latest commit on `main` branch. + force_download (`bool`, *optional*, defaults to `False`): + Whether to force (re-)downloading the model weights and configuration files from the Hub, overriding + the existing cache. + resume_download (`bool`, *optional*, defaults to `False`): + Whether to delete incompletely received files. Will attempt to resume the download if such a file exists. + proxies (`Dict[str, str]`, *optional*): + A dictionary of proxy servers to use by protocol or endpoint, e.g., `{'http': 'foo.bar:3128', + 'http://hostname': 'foo.bar:4012'}`. The proxies are used on every request. + token (`str` or `bool`, *optional*): + The token to use as HTTP bearer authorization for remote files. By default, it will use the token + cached when running `huggingface-cli login`. + cache_dir (`str`, `Path`, *optional*): + Path to the folder where cached files are stored. + local_files_only (`bool`, *optional*, defaults to `False`): + If `True`, avoid downloading the file and return the path to the local cached file if it exists. + model_kwargs (`Dict`, *optional*): + Additional kwargs to pass to the model during initialization. + """ + model_id = pretrained_model_name_or_path + config_file: Optional[str] = None + if os.path.isdir(model_id): + if CONFIG_NAME in os.listdir(model_id): + config_file = os.path.join(model_id, CONFIG_NAME) + else: + logger.warning(f"{CONFIG_NAME} not found in {Path(model_id).resolve()}") + elif isinstance(model_id, str): + try: + config_file = hf_hub_download( + repo_id=str(model_id), + filename=CONFIG_NAME, + revision=revision, + cache_dir=cache_dir, + force_download=force_download, + proxies=proxies, + resume_download=resume_download, + token=token, + local_files_only=local_files_only, + ) + except HfHubHTTPError: + logger.info(f"{CONFIG_NAME} not found in HuggingFace Hub.") + + if config_file is not None: + with open(config_file, "r", encoding="utf-8") as f: + config = json.load(f) + model_kwargs.update({"config": config}) + + return cls._from_pretrained( + model_id=str(model_id), + revision=revision, + cache_dir=cache_dir, + force_download=force_download, + proxies=proxies, + resume_download=resume_download, + local_files_only=local_files_only, + token=token, + **model_kwargs, + ) + + @classmethod + def _from_pretrained( + cls: Type[T], + *, + model_id: str, + revision: Optional[str], + cache_dir: Optional[Union[str, Path]], + force_download: bool, + proxies: Optional[Dict], + resume_download: bool, + local_files_only: bool, + token: Optional[Union[str, bool]], + **model_kwargs, + ) -> T: + """Overwrite this method in subclass to define how to load your model from pretrained. + + Use [`hf_hub_download`] or [`snapshot_download`] to download files from the Hub before loading them. Most + args taken as input can be directly passed to those 2 methods. If needed, you can add more arguments to this + method using "model_kwargs". For example [`PyTorchModelHubMixin._from_pretrained`] takes as input a `map_location` + parameter to set on which device the model should be loaded. + + Check out our [integration guide](../guides/integrations) for more instructions. + + Args: + model_id (`str`): + ID of the model to load from the Huggingface Hub (e.g. `bigscience/bloom`). + revision (`str`, *optional*): + Revision of the model on the Hub. Can be a branch name, a git tag or any commit id. Defaults to the + latest commit on `main` branch. + force_download (`bool`, *optional*, defaults to `False`): + Whether to force (re-)downloading the model weights and configuration files from the Hub, overriding + the existing cache. + resume_download (`bool`, *optional*, defaults to `False`): + Whether to delete incompletely received files. Will attempt to resume the download if such a file exists. + proxies (`Dict[str, str]`, *optional*): + A dictionary of proxy servers to use by protocol or endpoint (e.g., `{'http': 'foo.bar:3128', + 'http://hostname': 'foo.bar:4012'}`). + token (`str` or `bool`, *optional*): + The token to use as HTTP bearer authorization for remote files. By default, it will use the token + cached when running `huggingface-cli login`. + cache_dir (`str`, `Path`, *optional*): + Path to the folder where cached files are stored. + local_files_only (`bool`, *optional*, defaults to `False`): + If `True`, avoid downloading the file and return the path to the local cached file if it exists. + model_kwargs: + Additional keyword arguments passed along to the [`~ModelHubMixin._from_pretrained`] method. + """ + raise NotImplementedError + + @validate_hf_hub_args + def push_to_hub( + self, + repo_id: str, + *, + config: Optional[dict] = None, + commit_message: str = "Push model using huggingface_hub.", + private: bool = False, + api_endpoint: Optional[str] = None, + token: Optional[str] = None, + branch: Optional[str] = None, + create_pr: Optional[bool] = None, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + delete_patterns: Optional[Union[List[str], str]] = None, + ) -> str: + """ + Upload model checkpoint to the Hub. + + Use `allow_patterns` and `ignore_patterns` to precisely filter which files should be pushed to the hub. Use + `delete_patterns` to delete existing remote files in the same commit. See [`upload_folder`] reference for more + details. + + + Args: + repo_id (`str`): + ID of the repository to push to (example: `"username/my-model"`). + config (`dict`, *optional*): + Configuration object to be saved alongside the model weights. + commit_message (`str`, *optional*): + Message to commit while pushing. + private (`bool`, *optional*, defaults to `False`): + Whether the repository created should be private. + api_endpoint (`str`, *optional*): + The API endpoint to use when pushing the model to the hub. + token (`str`, *optional*): + The token to use as HTTP bearer authorization for remote files. By default, it will use the token + cached when running `huggingface-cli login`. + branch (`str`, *optional*): + The git branch on which to push the model. This defaults to `"main"`. + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request from `branch` with that commit. Defaults to `False`. + allow_patterns (`List[str]` or `str`, *optional*): + If provided, only files matching at least one pattern are pushed. + ignore_patterns (`List[str]` or `str`, *optional*): + If provided, files matching any of the patterns are not pushed. + delete_patterns (`List[str]` or `str`, *optional*): + If provided, remote files matching any of the patterns will be deleted from the repo. + + Returns: + The url of the commit of your model in the given repository. + """ + api = HfApi(endpoint=api_endpoint, token=token) + repo_id = api.create_repo(repo_id=repo_id, private=private, exist_ok=True).repo_id + + # Push the files to the repo in a single commit + with SoftTemporaryDirectory() as tmp: + saved_path = Path(tmp) / repo_id + self.save_pretrained(saved_path, config=config) + return api.upload_folder( + repo_id=repo_id, + repo_type="model", + folder_path=saved_path, + commit_message=commit_message, + revision=branch, + create_pr=create_pr, + allow_patterns=allow_patterns, + ignore_patterns=ignore_patterns, + delete_patterns=delete_patterns, + ) + + +class PyTorchModelHubMixin(ModelHubMixin): + """ + Implementation of [`ModelHubMixin`] to provide model Hub upload/download capabilities to PyTorch models. The model + is set in evaluation mode by default using `model.eval()` (dropout modules are deactivated). To train the model, + you should first set it back in training mode with `model.train()`. + + Example: + + ```python + >>> import torch + >>> import torch.nn as nn + >>> from huggingface_hub import PyTorchModelHubMixin + + + >>> class MyModel(nn.Module, PyTorchModelHubMixin): + ... def __init__(self): + ... super().__init__() + ... self.param = nn.Parameter(torch.rand(3, 4)) + ... self.linear = nn.Linear(4, 5) + + ... def forward(self, x): + ... return self.linear(x + self.param) + >>> model = MyModel() + + # Save model weights to local directory + >>> model.save_pretrained("my-awesome-model") + + # Push model weights to the Hub + >>> model.push_to_hub("my-awesome-model") + + # Download and initialize weights from the Hub + >>> model = MyModel.from_pretrained("username/my-awesome-model") + ``` + """ + + def _save_pretrained(self, save_directory: Path) -> None: + """Save weights from a Pytorch model to a local directory.""" + model_to_save = self.module if hasattr(self, "module") else self # type: ignore + torch.save(model_to_save.state_dict(), save_directory / PYTORCH_WEIGHTS_NAME) + + @classmethod + def _from_pretrained( + cls, + *, + model_id: str, + revision: Optional[str], + cache_dir: Optional[Union[str, Path]], + force_download: bool, + proxies: Optional[Dict], + resume_download: bool, + local_files_only: bool, + token: Union[str, bool, None], + map_location: str = "cpu", + strict: bool = False, + **model_kwargs, + ): + """Load Pytorch pretrained weights and return the loaded model.""" + if os.path.isdir(model_id): + print("Loading weights from local directory") + model_file = os.path.join(model_id, PYTORCH_WEIGHTS_NAME) + else: + model_file = hf_hub_download( + repo_id=model_id, + filename=PYTORCH_WEIGHTS_NAME, + revision=revision, + cache_dir=cache_dir, + force_download=force_download, + proxies=proxies, + resume_download=resume_download, + token=token, + local_files_only=local_files_only, + ) + model = cls(**model_kwargs) + + state_dict = torch.load(model_file, map_location=torch.device(map_location)) + model.load_state_dict(state_dict, strict=strict) # type: ignore + model.eval() # type: ignore + + return model diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/inference_api.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/inference_api.py new file mode 100644 index 0000000000000000000000000000000000000000..c889a6d8720a5242f50f81955916df3cb33357e1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/inference_api.py @@ -0,0 +1,217 @@ +import io +from typing import Any, Dict, List, Optional, Union + +from .constants import INFERENCE_ENDPOINT +from .hf_api import HfApi +from .utils import build_hf_headers, get_session, is_pillow_available, logging, validate_hf_hub_args +from .utils._deprecation import _deprecate_method + + +logger = logging.get_logger(__name__) + + +ALL_TASKS = [ + # NLP + "text-classification", + "token-classification", + "table-question-answering", + "question-answering", + "zero-shot-classification", + "translation", + "summarization", + "conversational", + "feature-extraction", + "text-generation", + "text2text-generation", + "fill-mask", + "sentence-similarity", + # Audio + "text-to-speech", + "automatic-speech-recognition", + "audio-to-audio", + "audio-classification", + "voice-activity-detection", + # Computer vision + "image-classification", + "object-detection", + "image-segmentation", + "text-to-image", + "image-to-image", + # Others + "tabular-classification", + "tabular-regression", +] + + +class InferenceApi: + """Client to configure requests and make calls to the HuggingFace Inference API. + + Example: + + ```python + >>> from huggingface_hub.inference_api import InferenceApi + + >>> # Mask-fill example + >>> inference = InferenceApi("bert-base-uncased") + >>> inference(inputs="The goal of life is [MASK].") + [{'sequence': 'the goal of life is life.', 'score': 0.10933292657136917, 'token': 2166, 'token_str': 'life'}] + + >>> # Question Answering example + >>> inference = InferenceApi("deepset/roberta-base-squad2") + >>> inputs = { + ... "question": "What's my name?", + ... "context": "My name is Clara and I live in Berkeley.", + ... } + >>> inference(inputs) + {'score': 0.9326569437980652, 'start': 11, 'end': 16, 'answer': 'Clara'} + + >>> # Zero-shot example + >>> inference = InferenceApi("typeform/distilbert-base-uncased-mnli") + >>> inputs = "Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!" + >>> params = {"candidate_labels": ["refund", "legal", "faq"]} + >>> inference(inputs, params) + {'sequence': 'Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!', 'labels': ['refund', 'faq', 'legal'], 'scores': [0.9378499388694763, 0.04914155602455139, 0.013008488342165947]} + + >>> # Overriding configured task + >>> inference = InferenceApi("bert-base-uncased", task="feature-extraction") + + >>> # Text-to-image + >>> inference = InferenceApi("stabilityai/stable-diffusion-2-1") + >>> inference("cat") + + + >>> # Return as raw response to parse the output yourself + >>> inference = InferenceApi("mio/amadeus") + >>> response = inference("hello world", raw_response=True) + >>> response.headers + {"Content-Type": "audio/flac", ...} + >>> response.content # raw bytes from server + b'(...)' + ``` + """ + + @validate_hf_hub_args + @_deprecate_method( + version="1.0", + message=( + "`InferenceApi` client is deprecated in favor of the more feature-complete `InferenceClient`. Check out" + " this guide to learn how to convert your script to use it:" + " https://huggingface.co/docs/huggingface_hub/guides/inference#legacy-inferenceapi-client." + ), + ) + def __init__( + self, + repo_id: str, + task: Optional[str] = None, + token: Optional[str] = None, + gpu: bool = False, + ): + """Inits headers and API call information. + + Args: + repo_id (``str``): + Id of repository (e.g. `user/bert-base-uncased`). + task (``str``, `optional`, defaults ``None``): + Whether to force a task instead of using task specified in the + repository. + token (`str`, `optional`): + The API token to use as HTTP bearer authorization. This is not + the authentication token. You can find the token in + https://huggingface.co/settings/token. Alternatively, you can + find both your organizations and personal API tokens using + `HfApi().whoami(token)`. + gpu (`bool`, `optional`, defaults `False`): + Whether to use GPU instead of CPU for inference(requires Startup + plan at least). + """ + self.options = {"wait_for_model": True, "use_gpu": gpu} + self.headers = build_hf_headers(token=token) + + # Configure task + model_info = HfApi(token=token).model_info(repo_id=repo_id) + if not model_info.pipeline_tag and not task: + raise ValueError( + "Task not specified in the repository. Please add it to the model card" + " using pipeline_tag" + " (https://huggingface.co/docs#how-is-a-models-type-of-inference-api-and-widget-determined)" + ) + + if task and task != model_info.pipeline_tag: + if task not in ALL_TASKS: + raise ValueError(f"Invalid task {task}. Make sure it's valid.") + + logger.warning( + "You're using a different task than the one specified in the" + " repository. Be sure to know what you're doing :)" + ) + self.task = task + else: + assert model_info.pipeline_tag is not None, "Pipeline tag cannot be None" + self.task = model_info.pipeline_tag + + self.api_url = f"{INFERENCE_ENDPOINT}/pipeline/{self.task}/{repo_id}" + + def __repr__(self): + # Do not add headers to repr to avoid leaking token. + return f"InferenceAPI(api_url='{self.api_url}', task='{self.task}', options={self.options})" + + def __call__( + self, + inputs: Optional[Union[str, Dict, List[str], List[List[str]]]] = None, + params: Optional[Dict] = None, + data: Optional[bytes] = None, + raw_response: bool = False, + ) -> Any: + """Make a call to the Inference API. + + Args: + inputs (`str` or `Dict` or `List[str]` or `List[List[str]]`, *optional*): + Inputs for the prediction. + params (`Dict`, *optional*): + Additional parameters for the models. Will be sent as `parameters` in the + payload. + data (`bytes`, *optional*): + Bytes content of the request. In this case, leave `inputs` and `params` empty. + raw_response (`bool`, defaults to `False`): + If `True`, the raw `Response` object is returned. You can parse its content + as preferred. By default, the content is parsed into a more practical format + (json dictionary or PIL Image for example). + """ + # Build payload + payload: Dict[str, Any] = { + "options": self.options, + } + if inputs: + payload["inputs"] = inputs + if params: + payload["parameters"] = params + + # Make API call + response = get_session().post(self.api_url, headers=self.headers, json=payload, data=data) + + # Let the user handle the response + if raw_response: + return response + + # By default, parse the response for the user. + content_type = response.headers.get("Content-Type") or "" + if content_type.startswith("image"): + if not is_pillow_available(): + raise ImportError( + f"Task '{self.task}' returned as image but Pillow is not installed." + " Please install it (`pip install Pillow`) or pass" + " `raw_response=True` to get the raw `Response` object and parse" + " the image by yourself." + ) + + from PIL import Image + + return Image.open(io.BytesIO(response.content)) + elif content_type == "application/json": + return response.json() + else: + raise NotImplementedError( + f"{content_type} output type is not implemented yet. You can pass" + " `raw_response=True` to get the raw `Response` object and parse the" + " output by yourself." + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/keras_mixin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/keras_mixin.py new file mode 100644 index 0000000000000000000000000000000000000000..6ecdb8150f0f9dd488252bf41a254b9bb8453577 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/keras_mixin.py @@ -0,0 +1,480 @@ +import collections.abc as collections +import json +import os +import warnings +from pathlib import Path +from shutil import copytree +from typing import Any, Dict, List, Optional, Union + +from huggingface_hub import ModelHubMixin, snapshot_download +from huggingface_hub.utils import ( + get_tf_version, + is_graphviz_available, + is_pydot_available, + is_tf_available, + yaml_dump, +) + +from .constants import CONFIG_NAME +from .hf_api import HfApi +from .utils import SoftTemporaryDirectory, logging, validate_hf_hub_args + + +logger = logging.get_logger(__name__) + +if is_tf_available(): + import tensorflow as tf # type: ignore + + +def _flatten_dict(dictionary, parent_key=""): + """Flatten a nested dictionary. + Reference: https://stackoverflow.com/a/6027615/10319735 + + Args: + dictionary (`dict`): + The nested dictionary to be flattened. + parent_key (`str`): + The parent key to be prefixed to the children keys. + Necessary for recursing over the nested dictionary. + + Returns: + The flattened dictionary. + """ + items = [] + for key, value in dictionary.items(): + new_key = f"{parent_key}.{key}" if parent_key else key + if isinstance(value, collections.MutableMapping): + items.extend( + _flatten_dict( + value, + new_key, + ).items() + ) + else: + items.append((new_key, value)) + return dict(items) + + +def _create_hyperparameter_table(model): + """Parse hyperparameter dictionary into a markdown table.""" + if model.optimizer is not None: + optimizer_params = model.optimizer.get_config() + # flatten the configuration + optimizer_params = _flatten_dict(optimizer_params) + optimizer_params["training_precision"] = tf.keras.mixed_precision.global_policy().name + table = "| Hyperparameters | Value |\n| :-- | :-- |\n" + for key, value in optimizer_params.items(): + table += f"| {key} | {value} |\n" + else: + table = None + return table + + +def _plot_network(model, save_directory): + tf.keras.utils.plot_model( + model, + to_file=f"{save_directory}/model.png", + show_shapes=False, + show_dtype=False, + show_layer_names=True, + rankdir="TB", + expand_nested=False, + dpi=96, + layer_range=None, + ) + + +def _create_model_card( + model, + repo_dir: Path, + plot_model: bool = True, + metadata: Optional[dict] = None, +): + """ + Creates a model card for the repository. + + Do not overwrite an existing README.md file. + """ + readme_path = repo_dir / "README.md" + if readme_path.exists(): + return + + hyperparameters = _create_hyperparameter_table(model) + if plot_model and is_graphviz_available() and is_pydot_available(): + _plot_network(model, repo_dir) + if metadata is None: + metadata = {} + metadata["library_name"] = "keras" + model_card: str = "---\n" + model_card += yaml_dump(metadata, default_flow_style=False) + model_card += "---\n" + model_card += "\n## Model description\n\nMore information needed\n" + model_card += "\n## Intended uses & limitations\n\nMore information needed\n" + model_card += "\n## Training and evaluation data\n\nMore information needed\n" + if hyperparameters is not None: + model_card += "\n## Training procedure\n" + model_card += "\n### Training hyperparameters\n" + model_card += "\nThe following hyperparameters were used during training:\n\n" + model_card += hyperparameters + model_card += "\n" + if plot_model and os.path.exists(f"{repo_dir}/model.png"): + model_card += "\n ## Model Plot\n" + model_card += "\n
    " + model_card += "\nView Model Plot\n" + path_to_plot = "./model.png" + model_card += f"\n![Model Image]({path_to_plot})\n" + model_card += "\n
    " + + readme_path.write_text(model_card) + + +def save_pretrained_keras( + model, + save_directory: Union[str, Path], + config: Optional[Dict[str, Any]] = None, + include_optimizer: bool = False, + plot_model: bool = True, + tags: Optional[Union[list, str]] = None, + **model_save_kwargs, +): + """ + Saves a Keras model to save_directory in SavedModel format. Use this if + you're using the Functional or Sequential APIs. + + Args: + model (`Keras.Model`): + The [Keras + model](https://www.tensorflow.org/api_docs/python/tf/keras/Model) + you'd like to save. The model must be compiled and built. + save_directory (`str` or `Path`): + Specify directory in which you want to save the Keras model. + config (`dict`, *optional*): + Configuration object to be saved alongside the model weights. + include_optimizer(`bool`, *optional*, defaults to `False`): + Whether or not to include optimizer in serialization. + plot_model (`bool`, *optional*, defaults to `True`): + Setting this to `True` will plot the model and put it in the model + card. Requires graphviz and pydot to be installed. + tags (Union[`str`,`list`], *optional*): + List of tags that are related to model or string of a single tag. See example tags + [here](https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1). + model_save_kwargs(`dict`, *optional*): + model_save_kwargs will be passed to + [`tf.keras.models.save_model()`](https://www.tensorflow.org/api_docs/python/tf/keras/models/save_model). + """ + if is_tf_available(): + import tensorflow as tf + else: + raise ImportError("Called a Tensorflow-specific function but could not import it.") + + if not model.built: + raise ValueError("Model should be built before trying to save") + + save_directory = Path(save_directory) + save_directory.mkdir(parents=True, exist_ok=True) + + # saving config + if config: + if not isinstance(config, dict): + raise RuntimeError(f"Provided config to save_pretrained_keras should be a dict. Got: '{type(config)}'") + + with (save_directory / CONFIG_NAME).open("w") as f: + json.dump(config, f) + + metadata = {} + if isinstance(tags, list): + metadata["tags"] = tags + elif isinstance(tags, str): + metadata["tags"] = [tags] + + task_name = model_save_kwargs.pop("task_name", None) + if task_name is not None: + warnings.warn( + "`task_name` input argument is deprecated. Pass `tags` instead.", + FutureWarning, + ) + if "tags" in metadata: + metadata["tags"].append(task_name) + else: + metadata["tags"] = [task_name] + + if model.history is not None: + if model.history.history != {}: + path = save_directory / "history.json" + if path.exists(): + warnings.warn( + "`history.json` file already exists, it will be overwritten by the history of this version.", + UserWarning, + ) + with path.open("w", encoding="utf-8") as f: + json.dump(model.history.history, f, indent=2, sort_keys=True) + + _create_model_card(model, save_directory, plot_model, metadata) + tf.keras.models.save_model(model, save_directory, include_optimizer=include_optimizer, **model_save_kwargs) + + +def from_pretrained_keras(*args, **kwargs) -> "KerasModelHubMixin": + r""" + Instantiate a pretrained Keras model from a pre-trained model from the Hub. + The model is expected to be in `SavedModel` format. + + Args: + pretrained_model_name_or_path (`str` or `os.PathLike`): + Can be either: + - A string, the `model id` of a pretrained model hosted inside a + model repo on huggingface.co. Valid model ids can be located + at the root-level, like `bert-base-uncased`, or namespaced + under a user or organization name, like + `dbmdz/bert-base-german-cased`. + - You can add `revision` by appending `@` at the end of model_id + simply like this: `dbmdz/bert-base-german-cased@main` Revision + is the specific model version to use. It can be a branch name, + a tag name, or a commit id, since we use a git-based system + for storing models and other artifacts on huggingface.co, so + `revision` can be any identifier allowed by git. + - A path to a `directory` containing model weights saved using + [`~transformers.PreTrainedModel.save_pretrained`], e.g., + `./my_model_directory/`. + - `None` if you are both providing the configuration and state + dictionary (resp. with keyword arguments `config` and + `state_dict`). + force_download (`bool`, *optional*, defaults to `False`): + Whether to force the (re-)download of the model weights and + configuration files, overriding the cached versions if they exist. + resume_download (`bool`, *optional*, defaults to `False`): + Whether to delete incompletely received files. Will attempt to + resume the download if such a file exists. + proxies (`Dict[str, str]`, *optional*): + A dictionary of proxy servers to use by protocol or endpoint, e.g., + `{'http': 'foo.bar:3128', 'http://hostname': 'foo.bar:4012'}`. The + proxies are used on each request. + token (`str` or `bool`, *optional*): + The token to use as HTTP bearer authorization for remote files. If + `True`, will use the token generated when running `transformers-cli + login` (stored in `~/.huggingface`). + cache_dir (`Union[str, os.PathLike]`, *optional*): + Path to a directory in which a downloaded pretrained model + configuration should be cached if the standard cache should not be + used. + local_files_only(`bool`, *optional*, defaults to `False`): + Whether to only look at local files (i.e., do not try to download + the model). + model_kwargs (`Dict`, *optional*): + model_kwargs will be passed to the model during initialization + + + + Passing `token=True` is required when you want to use a private + model. + + + """ + return KerasModelHubMixin.from_pretrained(*args, **kwargs) + + +@validate_hf_hub_args +def push_to_hub_keras( + model, + repo_id: str, + *, + config: Optional[dict] = None, + commit_message: str = "Push Keras model using huggingface_hub.", + private: bool = False, + api_endpoint: Optional[str] = None, + token: Optional[str] = None, + branch: Optional[str] = None, + create_pr: Optional[bool] = None, + allow_patterns: Optional[Union[List[str], str]] = None, + ignore_patterns: Optional[Union[List[str], str]] = None, + delete_patterns: Optional[Union[List[str], str]] = None, + log_dir: Optional[str] = None, + include_optimizer: bool = False, + tags: Optional[Union[list, str]] = None, + plot_model: bool = True, + **model_save_kwargs, +): + """ + Upload model checkpoint to the Hub. + + Use `allow_patterns` and `ignore_patterns` to precisely filter which files should be pushed to the hub. Use + `delete_patterns` to delete existing remote files in the same commit. See [`upload_folder`] reference for more + details. + + Args: + model (`Keras.Model`): + The [Keras model](`https://www.tensorflow.org/api_docs/python/tf/keras/Model`) you'd like to push to the + Hub. The model must be compiled and built. + repo_id (`str`): + ID of the repository to push to (example: `"username/my-model"`). + commit_message (`str`, *optional*, defaults to "Add Keras model"): + Message to commit while pushing. + private (`bool`, *optional*, defaults to `False`): + Whether the repository created should be private. + api_endpoint (`str`, *optional*): + The API endpoint to use when pushing the model to the hub. + token (`str`, *optional*): + The token to use as HTTP bearer authorization for remote files. If + not set, will use the token set when logging in with + `huggingface-cli login` (stored in `~/.huggingface`). + branch (`str`, *optional*): + The git branch on which to push the model. This defaults to + the default branch as specified in your repository, which + defaults to `"main"`. + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request from `branch` with that commit. + Defaults to `False`. + config (`dict`, *optional*): + Configuration object to be saved alongside the model weights. + allow_patterns (`List[str]` or `str`, *optional*): + If provided, only files matching at least one pattern are pushed. + ignore_patterns (`List[str]` or `str`, *optional*): + If provided, files matching any of the patterns are not pushed. + delete_patterns (`List[str]` or `str`, *optional*): + If provided, remote files matching any of the patterns will be deleted from the repo. + log_dir (`str`, *optional*): + TensorBoard logging directory to be pushed. The Hub automatically + hosts and displays a TensorBoard instance if log files are included + in the repository. + include_optimizer (`bool`, *optional*, defaults to `False`): + Whether or not to include optimizer during serialization. + tags (Union[`list`, `str`], *optional*): + List of tags that are related to model or string of a single tag. See example tags + [here](https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1). + plot_model (`bool`, *optional*, defaults to `True`): + Setting this to `True` will plot the model and put it in the model + card. Requires graphviz and pydot to be installed. + model_save_kwargs(`dict`, *optional*): + model_save_kwargs will be passed to + [`tf.keras.models.save_model()`](https://www.tensorflow.org/api_docs/python/tf/keras/models/save_model). + + Returns: + The url of the commit of your model in the given repository. + """ + api = HfApi(endpoint=api_endpoint) + repo_id = api.create_repo(repo_id=repo_id, token=token, private=private, exist_ok=True).repo_id + + # Push the files to the repo in a single commit + with SoftTemporaryDirectory() as tmp: + saved_path = Path(tmp) / repo_id + save_pretrained_keras( + model, + saved_path, + config=config, + include_optimizer=include_optimizer, + tags=tags, + plot_model=plot_model, + **model_save_kwargs, + ) + + # If `log_dir` provided, delete remote logs and upload new ones + if log_dir is not None: + delete_patterns = ( + [] + if delete_patterns is None + else ( + [delete_patterns] # convert `delete_patterns` to a list + if isinstance(delete_patterns, str) + else delete_patterns + ) + ) + delete_patterns.append("logs/*") + copytree(log_dir, saved_path / "logs") + + return api.upload_folder( + repo_type="model", + repo_id=repo_id, + folder_path=saved_path, + commit_message=commit_message, + token=token, + revision=branch, + create_pr=create_pr, + allow_patterns=allow_patterns, + ignore_patterns=ignore_patterns, + delete_patterns=delete_patterns, + ) + + +class KerasModelHubMixin(ModelHubMixin): + """ + Implementation of [`ModelHubMixin`] to provide model Hub upload/download + capabilities to Keras models. + + + ```python + >>> import tensorflow as tf + >>> from huggingface_hub import KerasModelHubMixin + + + >>> class MyModel(tf.keras.Model, KerasModelHubMixin): + ... def __init__(self, **kwargs): + ... super().__init__() + ... self.config = kwargs.pop("config", None) + ... self.dummy_inputs = ... + ... self.layer = ... + + ... def call(self, *args): + ... return ... + + + >>> # Initialize and compile the model as you normally would + >>> model = MyModel() + >>> model.compile(...) + >>> # Build the graph by training it or passing dummy inputs + >>> _ = model(model.dummy_inputs) + >>> # Save model weights to local directory + >>> model.save_pretrained("my-awesome-model") + >>> # Push model weights to the Hub + >>> model.push_to_hub("my-awesome-model") + >>> # Download and initialize weights from the Hub + >>> model = MyModel.from_pretrained("username/super-cool-model") + ``` + """ + + def _save_pretrained(self, save_directory): + save_pretrained_keras(self, save_directory) + + @classmethod + def _from_pretrained( + cls, + model_id, + revision, + cache_dir, + force_download, + proxies, + resume_download, + local_files_only, + token, + **model_kwargs, + ): + """Here we just call [`from_pretrained_keras`] function so both the mixin and + functional APIs stay in sync. + + TODO - Some args above aren't used since we are calling + snapshot_download instead of hf_hub_download. + """ + if is_tf_available(): + import tensorflow as tf + else: + raise ImportError("Called a TensorFlow-specific function but could not import it.") + + # TODO - Figure out what to do about these config values. Config is not going to be needed to load model + cfg = model_kwargs.pop("config", None) + + # Root is either a local filepath matching model_id or a cached snapshot + if not os.path.isdir(model_id): + storage_folder = snapshot_download( + repo_id=model_id, + revision=revision, + cache_dir=cache_dir, + library_name="keras", + library_version=get_tf_version(), + ) + else: + storage_folder = model_id + + model = tf.keras.models.load_model(storage_folder, **model_kwargs) + + # For now, we add a new attribute, config, to store the config loaded from the hub/a local dir. + model.config = cfg + + return model diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/lfs.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/lfs.py new file mode 100644 index 0000000000000000000000000000000000000000..709ae7198c7765decaf2bec15f0cab4f182e3bd4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/lfs.py @@ -0,0 +1,522 @@ +# coding=utf-8 +# Copyright 2019-present, the HuggingFace Inc. team. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +"""Git LFS related type definitions and utilities""" +import inspect +import io +import os +import re +import warnings +from contextlib import AbstractContextManager +from dataclasses import dataclass +from math import ceil +from os.path import getsize +from pathlib import Path +from typing import TYPE_CHECKING, BinaryIO, Dict, Iterable, List, Optional, Tuple, TypedDict +from urllib.parse import unquote + +from huggingface_hub.constants import ENDPOINT, HF_HUB_ENABLE_HF_TRANSFER, REPO_TYPES_URL_PREFIXES +from huggingface_hub.utils import get_session + +from .utils import ( + build_hf_headers, + hf_raise_for_status, + http_backoff, + logging, + tqdm, + validate_hf_hub_args, +) +from .utils.sha import sha256, sha_fileobj + + +if TYPE_CHECKING: + from ._commit_api import CommitOperationAdd + +logger = logging.get_logger(__name__) + +OID_REGEX = re.compile(r"^[0-9a-f]{40}$") + +LFS_MULTIPART_UPLOAD_COMMAND = "lfs-multipart-upload" + +LFS_HEADERS = { + "Accept": "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json", +} + + +@dataclass +class UploadInfo: + """ + Dataclass holding required information to determine whether a blob + should be uploaded to the hub using the LFS protocol or the regular protocol + + Args: + sha256 (`bytes`): + SHA256 hash of the blob + size (`int`): + Size in bytes of the blob + sample (`bytes`): + First 512 bytes of the blob + """ + + sha256: bytes + size: int + sample: bytes + + @classmethod + def from_path(cls, path: str): + size = getsize(path) + with io.open(path, "rb") as file: + sample = file.peek(512)[:512] + sha = sha_fileobj(file) + return cls(size=size, sha256=sha, sample=sample) + + @classmethod + def from_bytes(cls, data: bytes): + sha = sha256(data).digest() + return cls(size=len(data), sample=data[:512], sha256=sha) + + @classmethod + def from_fileobj(cls, fileobj: BinaryIO): + sample = fileobj.read(512) + fileobj.seek(0, io.SEEK_SET) + sha = sha_fileobj(fileobj) + size = fileobj.tell() + fileobj.seek(0, io.SEEK_SET) + return cls(size=size, sha256=sha, sample=sample) + + +@validate_hf_hub_args +def post_lfs_batch_info( + upload_infos: Iterable[UploadInfo], + token: Optional[str], + repo_type: str, + repo_id: str, + revision: Optional[str] = None, + endpoint: Optional[str] = None, +) -> Tuple[List[dict], List[dict]]: + """ + Requests the LFS batch endpoint to retrieve upload instructions + + Learn more: https://github.com/git-lfs/git-lfs/blob/main/docs/api/batch.md + + Args: + upload_infos (`Iterable` of `UploadInfo`): + `UploadInfo` for the files that are being uploaded, typically obtained + from `CommitOperationAdd.upload_info` + repo_type (`str`): + Type of the repo to upload to: `"model"`, `"dataset"` or `"space"`. + repo_id (`str`): + A namespace (user or an organization) and a repo name separated + by a `/`. + token (`str`, *optional*): + An authentication token ( See https://huggingface.co/settings/tokens ) + revision (`str`, *optional*): + The git revision to upload to. + + Returns: + `LfsBatchInfo`: 2-tuple: + - First element is the list of upload instructions from the server + - Second element is an list of errors, if any + + Raises: + `ValueError`: If an argument is invalid or the server response is malformed + + `HTTPError`: If the server returned an error + """ + endpoint = endpoint if endpoint is not None else ENDPOINT + url_prefix = "" + if repo_type in REPO_TYPES_URL_PREFIXES: + url_prefix = REPO_TYPES_URL_PREFIXES[repo_type] + batch_url = f"{endpoint}/{url_prefix}{repo_id}.git/info/lfs/objects/batch" + payload: Dict = { + "operation": "upload", + "transfers": ["basic", "multipart"], + "objects": [ + { + "oid": upload.sha256.hex(), + "size": upload.size, + } + for upload in upload_infos + ], + "hash_algo": "sha256", + } + if revision is not None: + payload["ref"] = {"name": unquote(revision)} # revision has been previously 'quoted' + headers = {**LFS_HEADERS, **build_hf_headers(token=token or True)} # Token must be provided or retrieved + resp = get_session().post(batch_url, headers=headers, json=payload) + hf_raise_for_status(resp) + batch_info = resp.json() + + objects = batch_info.get("objects", None) + if not isinstance(objects, list): + raise ValueError("Malformed response from server") + + return ( + [_validate_batch_actions(obj) for obj in objects if "error" not in obj], + [_validate_batch_error(obj) for obj in objects if "error" in obj], + ) + + +class PayloadPartT(TypedDict): + partNumber: int + etag: str + + +class CompletionPayloadT(TypedDict): + """Payload that will be sent to the Hub when uploading multi-part.""" + + oid: str + parts: List[PayloadPartT] + + +def lfs_upload(operation: "CommitOperationAdd", lfs_batch_action: Dict, token: Optional[str]) -> None: + """ + Handles uploading a given object to the Hub with the LFS protocol. + + Can be a No-op if the content of the file is already present on the hub large file storage. + + Args: + operation (`CommitOperationAdd`): + The add operation triggering this upload. + lfs_batch_action (`dict`): + Upload instructions from the LFS batch endpoint for this object. See [`~utils.lfs.post_lfs_batch_info`] for + more details. + token (`str`, *optional*): + A [user access token](https://hf.co/settings/tokens) to authenticate requests against the Hub + + Raises: + - `ValueError` if `lfs_batch_action` is improperly formatted + - `HTTPError` if the upload resulted in an error + """ + # 0. If LFS file is already present, skip upload + _validate_batch_actions(lfs_batch_action) + actions = lfs_batch_action.get("actions") + if actions is None: + # The file was already uploaded + logger.debug(f"Content of file {operation.path_in_repo} is already present upstream - skipping upload") + return + + # 1. Validate server response (check required keys in dict) + upload_action = lfs_batch_action["actions"]["upload"] + _validate_lfs_action(upload_action) + verify_action = lfs_batch_action["actions"].get("verify") + if verify_action is not None: + _validate_lfs_action(verify_action) + + # 2. Upload file (either single part or multi-part) + header = upload_action.get("header", {}) + chunk_size = header.get("chunk_size") + if chunk_size is not None: + try: + chunk_size = int(chunk_size) + except (ValueError, TypeError): + raise ValueError( + f"Malformed response from LFS batch endpoint: `chunk_size` should be an integer. Got '{chunk_size}'." + ) + _upload_multi_part(operation=operation, header=header, chunk_size=chunk_size, upload_url=upload_action["href"]) + else: + _upload_single_part(operation=operation, upload_url=upload_action["href"]) + + # 3. Verify upload went well + if verify_action is not None: + _validate_lfs_action(verify_action) + verify_resp = get_session().post( + verify_action["href"], + headers=build_hf_headers(token=token or True), + json={"oid": operation.upload_info.sha256.hex(), "size": operation.upload_info.size}, + ) + hf_raise_for_status(verify_resp) + logger.debug(f"{operation.path_in_repo}: Upload successful") + + +def _validate_lfs_action(lfs_action: dict): + """validates response from the LFS batch endpoint""" + if not ( + isinstance(lfs_action.get("href"), str) + and (lfs_action.get("header") is None or isinstance(lfs_action.get("header"), dict)) + ): + raise ValueError("lfs_action is improperly formatted") + return lfs_action + + +def _validate_batch_actions(lfs_batch_actions: dict): + """validates response from the LFS batch endpoint""" + if not (isinstance(lfs_batch_actions.get("oid"), str) and isinstance(lfs_batch_actions.get("size"), int)): + raise ValueError("lfs_batch_actions is improperly formatted") + + upload_action = lfs_batch_actions.get("actions", {}).get("upload") + verify_action = lfs_batch_actions.get("actions", {}).get("verify") + if upload_action is not None: + _validate_lfs_action(upload_action) + if verify_action is not None: + _validate_lfs_action(verify_action) + return lfs_batch_actions + + +def _validate_batch_error(lfs_batch_error: dict): + """validates response from the LFS batch endpoint""" + if not (isinstance(lfs_batch_error.get("oid"), str) and isinstance(lfs_batch_error.get("size"), int)): + raise ValueError("lfs_batch_error is improperly formatted") + error_info = lfs_batch_error.get("error") + if not ( + isinstance(error_info, dict) + and isinstance(error_info.get("message"), str) + and isinstance(error_info.get("code"), int) + ): + raise ValueError("lfs_batch_error is improperly formatted") + return lfs_batch_error + + +def _upload_single_part(operation: "CommitOperationAdd", upload_url: str) -> None: + """ + Uploads `fileobj` as a single PUT HTTP request (basic LFS transfer protocol) + + Args: + upload_url (`str`): + The URL to PUT the file to. + fileobj: + The file-like object holding the data to upload. + + Returns: `requests.Response` + + Raises: `requests.HTTPError` if the upload resulted in an error + """ + with operation.as_file(with_tqdm=True) as fileobj: + # S3 might raise a transient 500 error -> let's retry if that happens + response = http_backoff("PUT", upload_url, data=fileobj, retry_on_status_codes=(500, 503)) + hf_raise_for_status(response) + + +def _upload_multi_part(operation: "CommitOperationAdd", header: Dict, chunk_size: int, upload_url: str) -> None: + """ + Uploads file using HF multipart LFS transfer protocol. + """ + # 1. Get upload URLs for each part + sorted_parts_urls = _get_sorted_parts_urls(header=header, upload_info=operation.upload_info, chunk_size=chunk_size) + + # 2. Upload parts (either with hf_transfer or in pure Python) + use_hf_transfer = HF_HUB_ENABLE_HF_TRANSFER + if ( + HF_HUB_ENABLE_HF_TRANSFER + and not isinstance(operation.path_or_fileobj, str) + and not isinstance(operation.path_or_fileobj, Path) + ): + warnings.warn( + "hf_transfer is enabled but does not support uploading from bytes or BinaryIO, falling back to regular" + " upload" + ) + use_hf_transfer = False + + response_headers = ( + _upload_parts_hf_transfer(operation=operation, sorted_parts_urls=sorted_parts_urls, chunk_size=chunk_size) + if use_hf_transfer + else _upload_parts_iteratively(operation=operation, sorted_parts_urls=sorted_parts_urls, chunk_size=chunk_size) + ) + + # 3. Send completion request + completion_res = get_session().post( + upload_url, + json=_get_completion_payload(response_headers, operation.upload_info.sha256.hex()), + headers=LFS_HEADERS, + ) + hf_raise_for_status(completion_res) + + +def _get_sorted_parts_urls(header: Dict, upload_info: UploadInfo, chunk_size: int) -> List[str]: + sorted_part_upload_urls = [ + upload_url + for _, upload_url in sorted( + [ + (int(part_num, 10), upload_url) + for part_num, upload_url in header.items() + if part_num.isdigit() and len(part_num) > 0 + ], + key=lambda t: t[0], + ) + ] + num_parts = len(sorted_part_upload_urls) + if num_parts != ceil(upload_info.size / chunk_size): + raise ValueError("Invalid server response to upload large LFS file") + return sorted_part_upload_urls + + +def _get_completion_payload(response_headers: List[Dict], oid: str) -> CompletionPayloadT: + parts: List[PayloadPartT] = [] + for part_number, header in enumerate(response_headers): + etag = header.get("etag") + if etag is None or etag == "": + raise ValueError(f"Invalid etag (`{etag}`) returned for part {part_number + 1}") + parts.append( + { + "partNumber": part_number + 1, + "etag": etag, + } + ) + return {"oid": oid, "parts": parts} + + +def _upload_parts_iteratively( + operation: "CommitOperationAdd", sorted_parts_urls: List[str], chunk_size: int +) -> List[Dict]: + headers = [] + with operation.as_file(with_tqdm=True) as fileobj: + for part_idx, part_upload_url in enumerate(sorted_parts_urls): + with SliceFileObj( + fileobj, + seek_from=chunk_size * part_idx, + read_limit=chunk_size, + ) as fileobj_slice: + # S3 might raise a transient 500 error -> let's retry if that happens + part_upload_res = http_backoff( + "PUT", part_upload_url, data=fileobj_slice, retry_on_status_codes=(500, 503) + ) + hf_raise_for_status(part_upload_res) + headers.append(part_upload_res.headers) + return headers # type: ignore + + +def _upload_parts_hf_transfer( + operation: "CommitOperationAdd", sorted_parts_urls: List[str], chunk_size: int +) -> List[Dict]: + # Upload file using an external Rust-based package. Upload is faster but support less features (no progress bars). + try: + from hf_transfer import multipart_upload + except ImportError: + raise ValueError( + "Fast uploading using 'hf_transfer' is enabled (HF_HUB_ENABLE_HF_TRANSFER=1) but 'hf_transfer' package is" + " not available in your environment. Try `pip install hf_transfer`." + ) + + supports_callback = "callback" in inspect.signature(multipart_upload).parameters + if not supports_callback: + warnings.warn( + "You are using an outdated version of `hf_transfer`. Consider upgrading to latest version to enable progress bars using `pip install -U hf_transfer`." + ) + + total = operation.upload_info.size + desc = operation.path_in_repo + if len(desc) > 40: + desc = f"(…){desc[-40:]}" + disable = bool(logger.getEffectiveLevel() == logging.NOTSET) + + with tqdm(unit="B", unit_scale=True, total=total, initial=0, desc=desc, disable=disable) as progress: + try: + output = multipart_upload( + file_path=operation.path_or_fileobj, + parts_urls=sorted_parts_urls, + chunk_size=chunk_size, + max_files=128, + parallel_failures=127, # could be removed + max_retries=5, + **({"callback": progress.update} if supports_callback else {}), + ) + except Exception as e: + raise RuntimeError( + "An error occurred while uploading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for" + " better error handling." + ) from e + if not supports_callback: + progress.update(total) + return output + + +class SliceFileObj(AbstractContextManager): + """ + Utility context manager to read a *slice* of a seekable file-like object as a seekable, file-like object. + + This is NOT thread safe + + Inspired by stackoverflow.com/a/29838711/593036 + + Credits to @julien-c + + Args: + fileobj (`BinaryIO`): + A file-like object to slice. MUST implement `tell()` and `seek()` (and `read()` of course). + `fileobj` will be reset to its original position when exiting the context manager. + seek_from (`int`): + The start of the slice (offset from position 0 in bytes). + read_limit (`int`): + The maximum number of bytes to read from the slice. + + Attributes: + previous_position (`int`): + The previous position + + Examples: + + Reading 200 bytes with an offset of 128 bytes from a file (ie bytes 128 to 327): + ```python + >>> with open("path/to/file", "rb") as file: + ... with SliceFileObj(file, seek_from=128, read_limit=200) as fslice: + ... fslice.read(...) + ``` + + Reading a file in chunks of 512 bytes + ```python + >>> import os + >>> chunk_size = 512 + >>> file_size = os.getsize("path/to/file") + >>> with open("path/to/file", "rb") as file: + ... for chunk_idx in range(ceil(file_size / chunk_size)): + ... with SliceFileObj(file, seek_from=chunk_idx * chunk_size, read_limit=chunk_size) as fslice: + ... chunk = fslice.read(...) + + ``` + """ + + def __init__(self, fileobj: BinaryIO, seek_from: int, read_limit: int): + self.fileobj = fileobj + self.seek_from = seek_from + self.read_limit = read_limit + + def __enter__(self): + self._previous_position = self.fileobj.tell() + end_of_stream = self.fileobj.seek(0, os.SEEK_END) + self._len = min(self.read_limit, end_of_stream - self.seek_from) + # ^^ The actual number of bytes that can be read from the slice + self.fileobj.seek(self.seek_from, io.SEEK_SET) + return self + + def __exit__(self, exc_type, exc_value, traceback): + self.fileobj.seek(self._previous_position, io.SEEK_SET) + + def read(self, n: int = -1): + pos = self.tell() + if pos >= self._len: + return b"" + remaining_amount = self._len - pos + data = self.fileobj.read(remaining_amount if n < 0 else min(n, remaining_amount)) + return data + + def tell(self) -> int: + return self.fileobj.tell() - self.seek_from + + def seek(self, offset: int, whence: int = os.SEEK_SET) -> int: + start = self.seek_from + end = start + self._len + if whence in (os.SEEK_SET, os.SEEK_END): + offset = start + offset if whence == os.SEEK_SET else end + offset + offset = max(start, min(offset, end)) + whence = os.SEEK_SET + elif whence == os.SEEK_CUR: + cur_pos = self.fileobj.tell() + offset = max(start - cur_pos, min(offset, end - cur_pos)) + else: + raise ValueError(f"whence value {whence} is not supported") + return self.fileobj.seek(offset, whence) - self.seek_from + + def __iter__(self): + yield self.read(n=4 * 1024 * 1024) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repocard.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repocard.py new file mode 100644 index 0000000000000000000000000000000000000000..e6bbe96d5a8b922bd0691dac83393bb2f0f51a75 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repocard.py @@ -0,0 +1,818 @@ +import os +import re +import warnings +from pathlib import Path +from typing import Any, Dict, Literal, Optional, Type, Union + +import requests +import yaml + +from huggingface_hub.file_download import hf_hub_download +from huggingface_hub.hf_api import upload_file +from huggingface_hub.repocard_data import ( + CardData, + DatasetCardData, + EvalResult, + ModelCardData, + SpaceCardData, + eval_results_to_model_index, + model_index_to_eval_results, +) +from huggingface_hub.utils import get_session, is_jinja_available, yaml_dump + +from .constants import REPOCARD_NAME +from .utils import EntryNotFoundError, SoftTemporaryDirectory, validate_hf_hub_args + + +TEMPLATE_MODELCARD_PATH = Path(__file__).parent / "templates" / "modelcard_template.md" +TEMPLATE_DATASETCARD_PATH = Path(__file__).parent / "templates" / "datasetcard_template.md" + +# exact same regex as in the Hub server. Please keep in sync. +# See https://github.com/huggingface/moon-landing/blob/main/server/lib/ViewMarkdown.ts#L18 +REGEX_YAML_BLOCK = re.compile(r"^(\s*---[\r\n]+)([\S\s]*?)([\r\n]+---(\r\n|\n|$))") + + +class RepoCard: + card_data_class = CardData + default_template_path = TEMPLATE_MODELCARD_PATH + repo_type = "model" + + def __init__(self, content: str, ignore_metadata_errors: bool = False): + """Initialize a RepoCard from string content. The content should be a + Markdown file with a YAML block at the beginning and a Markdown body. + + Args: + content (`str`): The content of the Markdown file. + + Example: + ```python + >>> from huggingface_hub.repocard import RepoCard + >>> text = ''' + ... --- + ... language: en + ... license: mit + ... --- + ... + ... # My repo + ... ''' + >>> card = RepoCard(text) + >>> card.data.to_dict() + {'language': 'en', 'license': 'mit'} + >>> card.text + '\\n# My repo\\n' + + ``` + + Raises the following error: + + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + when the content of the repo card metadata is not a dictionary. + + + """ + + # Set the content of the RepoCard, as well as underlying .data and .text attributes. + # See the `content` property setter for more details. + self.ignore_metadata_errors = ignore_metadata_errors + self.content = content + + @property + def content(self): + """The content of the RepoCard, including the YAML block and the Markdown body.""" + line_break = _detect_line_ending(self._content) or "\n" + return f"---{line_break}{self.data.to_yaml(line_break=line_break)}{line_break}---{line_break}{self.text}" + + @content.setter + def content(self, content: str): + """Set the content of the RepoCard.""" + self._content = content + + match = REGEX_YAML_BLOCK.search(content) + if match: + # Metadata found in the YAML block + yaml_block = match.group(2) + self.text = content[match.end() :] + data_dict = yaml.safe_load(yaml_block) + + if data_dict is None: + data_dict = {} + + # The YAML block's data should be a dictionary + if not isinstance(data_dict, dict): + raise ValueError("repo card metadata block should be a dict") + else: + # Model card without metadata... create empty metadata + warnings.warn("Repo card metadata block was not found. Setting CardData to empty.") + data_dict = {} + self.text = content + + self.data = self.card_data_class(**data_dict, ignore_metadata_errors=self.ignore_metadata_errors) + + def __str__(self): + return self.content + + def save(self, filepath: Union[Path, str]): + r"""Save a RepoCard to a file. + + Args: + filepath (`Union[Path, str]`): Filepath to the markdown file to save. + + Example: + ```python + >>> from huggingface_hub.repocard import RepoCard + >>> card = RepoCard("---\nlanguage: en\n---\n# This is a test repo card") + >>> card.save("/tmp/test.md") + + ``` + """ + filepath = Path(filepath) + filepath.parent.mkdir(parents=True, exist_ok=True) + # Preserve newlines as in the existing file. + with open(filepath, mode="w", newline="", encoding="utf-8") as f: + f.write(str(self)) + + @classmethod + def load( + cls, + repo_id_or_path: Union[str, Path], + repo_type: Optional[str] = None, + token: Optional[str] = None, + ignore_metadata_errors: bool = False, + ): + """Initialize a RepoCard from a Hugging Face Hub repo's README.md or a local filepath. + + Args: + repo_id_or_path (`Union[str, Path]`): + The repo ID associated with a Hugging Face Hub repo or a local filepath. + repo_type (`str`, *optional*): + The type of Hugging Face repo to push to. Defaults to None, which will use use "model". Other options + are "dataset" and "space". Not used when loading from a local filepath. If this is called from a child + class, the default value will be the child class's `repo_type`. + token (`str`, *optional*): + Authentication token, obtained with `huggingface_hub.HfApi.login` method. Will default to the stored token. + ignore_metadata_errors (`str`): + If True, errors while parsing the metadata section will be ignored. Some information might be lost during + the process. Use it at your own risk. + + Returns: + [`huggingface_hub.repocard.RepoCard`]: The RepoCard (or subclass) initialized from the repo's + README.md file or filepath. + + Example: + ```python + >>> from huggingface_hub.repocard import RepoCard + >>> card = RepoCard.load("nateraw/food") + >>> assert card.data.tags == ["generated_from_trainer", "image-classification", "pytorch"] + + ``` + """ + + if Path(repo_id_or_path).exists(): + card_path = Path(repo_id_or_path) + elif isinstance(repo_id_or_path, str): + card_path = Path( + hf_hub_download( + repo_id_or_path, + REPOCARD_NAME, + repo_type=repo_type or cls.repo_type, + token=token, + ) + ) + else: + raise ValueError(f"Cannot load RepoCard: path not found on disk ({repo_id_or_path}).") + + # Preserve newlines in the existing file. + with card_path.open(mode="r", newline="", encoding="utf-8") as f: + return cls(f.read(), ignore_metadata_errors=ignore_metadata_errors) + + def validate(self, repo_type: Optional[str] = None): + """Validates card against Hugging Face Hub's card validation logic. + Using this function requires access to the internet, so it is only called + internally by [`huggingface_hub.repocard.RepoCard.push_to_hub`]. + + Args: + repo_type (`str`, *optional*, defaults to "model"): + The type of Hugging Face repo to push to. Options are "model", "dataset", and "space". + If this function is called from a child class, the default will be the child class's `repo_type`. + + + Raises the following errors: + + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if the card fails validation checks. + - [`HTTPError`](https://requests.readthedocs.io/en/latest/api/#requests.HTTPError) + if the request to the Hub API fails for any other reason. + + + """ + + # If repo type is provided, otherwise, use the repo type of the card. + repo_type = repo_type or self.repo_type + + body = { + "repoType": repo_type, + "content": str(self), + } + headers = {"Accept": "text/plain"} + + try: + r = get_session().post("https://huggingface.co/api/validate-yaml", body, headers=headers) + r.raise_for_status() + except requests.exceptions.HTTPError as exc: + if r.status_code == 400: + raise ValueError(r.text) + else: + raise exc + + def push_to_hub( + self, + repo_id: str, + token: Optional[str] = None, + repo_type: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + revision: Optional[str] = None, + create_pr: Optional[bool] = None, + parent_commit: Optional[str] = None, + ): + """Push a RepoCard to a Hugging Face Hub repo. + + Args: + repo_id (`str`): + The repo ID of the Hugging Face Hub repo to push to. Example: "nateraw/food". + token (`str`, *optional*): + Authentication token, obtained with `huggingface_hub.HfApi.login` method. Will default to + the stored token. + repo_type (`str`, *optional*, defaults to "model"): + The type of Hugging Face repo to push to. Options are "model", "dataset", and "space". If this + function is called by a child class, it will default to the child class's `repo_type`. + commit_message (`str`, *optional*): + The summary / title / first line of the generated commit. + commit_description (`str`, *optional*) + The description of the generated commit. + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the `"main"` branch. + create_pr (`bool`, *optional*): + Whether or not to create a Pull Request with this commit. Defaults to `False`. + parent_commit (`str`, *optional*): + The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported. + If specified and `create_pr` is `False`, the commit will fail if `revision` does not point to `parent_commit`. + If specified and `create_pr` is `True`, the pull request will be created from `parent_commit`. + Specifying `parent_commit` ensures the repo has not changed before committing the changes, and can be + especially useful if the repo is updated / committed to concurrently. + Returns: + `str`: URL of the commit which updated the card metadata. + """ + + # If repo type is provided, otherwise, use the repo type of the card. + repo_type = repo_type or self.repo_type + + # Validate card before pushing to hub + self.validate(repo_type=repo_type) + + with SoftTemporaryDirectory() as tmpdir: + tmp_path = Path(tmpdir) / REPOCARD_NAME + tmp_path.write_text(str(self)) + url = upload_file( + path_or_fileobj=str(tmp_path), + path_in_repo=REPOCARD_NAME, + repo_id=repo_id, + token=token, + repo_type=repo_type, + commit_message=commit_message, + commit_description=commit_description, + create_pr=create_pr, + revision=revision, + parent_commit=parent_commit, + ) + return url + + @classmethod + def from_template( + cls, + card_data: CardData, + template_path: Optional[str] = None, + **template_kwargs, + ): + """Initialize a RepoCard from a template. By default, it uses the default template. + + Templates are Jinja2 templates that can be customized by passing keyword arguments. + + Args: + card_data (`huggingface_hub.CardData`): + A huggingface_hub.CardData instance containing the metadata you want to include in the YAML + header of the repo card on the Hugging Face Hub. + template_path (`str`, *optional*): + A path to a markdown file with optional Jinja template variables that can be filled + in with `template_kwargs`. Defaults to the default template. + + Returns: + [`huggingface_hub.repocard.RepoCard`]: A RepoCard instance with the specified card data and content from the + template. + """ + if is_jinja_available(): + import jinja2 + else: + raise ImportError( + "Using RepoCard.from_template requires Jinja2 to be installed. Please" + " install it with `pip install Jinja2`." + ) + + kwargs = card_data.to_dict().copy() + kwargs.update(template_kwargs) # Template_kwargs have priority + template = jinja2.Template(Path(template_path or cls.default_template_path).read_text()) + content = template.render(card_data=card_data.to_yaml(), **kwargs) + return cls(content) + + +class ModelCard(RepoCard): + card_data_class = ModelCardData + default_template_path = TEMPLATE_MODELCARD_PATH + repo_type = "model" + + @classmethod + def from_template( # type: ignore # violates Liskov property but easier to use + cls, + card_data: ModelCardData, + template_path: Optional[str] = None, + **template_kwargs, + ): + """Initialize a ModelCard from a template. By default, it uses the default template, which can be found here: + https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md + + Templates are Jinja2 templates that can be customized by passing keyword arguments. + + Args: + card_data (`huggingface_hub.ModelCardData`): + A huggingface_hub.ModelCardData instance containing the metadata you want to include in the YAML + header of the model card on the Hugging Face Hub. + template_path (`str`, *optional*): + A path to a markdown file with optional Jinja template variables that can be filled + in with `template_kwargs`. Defaults to the default template. + + Returns: + [`huggingface_hub.ModelCard`]: A ModelCard instance with the specified card data and content from the + template. + + Example: + ```python + >>> from huggingface_hub import ModelCard, ModelCardData, EvalResult + + >>> # Using the Default Template + >>> card_data = ModelCardData( + ... language='en', + ... license='mit', + ... library_name='timm', + ... tags=['image-classification', 'resnet'], + ... datasets=['beans'], + ... metrics=['accuracy'], + ... ) + >>> card = ModelCard.from_template( + ... card_data, + ... model_description='This model does x + y...' + ... ) + + >>> # Including Evaluation Results + >>> card_data = ModelCardData( + ... language='en', + ... tags=['image-classification', 'resnet'], + ... eval_results=[ + ... EvalResult( + ... task_type='image-classification', + ... dataset_type='beans', + ... dataset_name='Beans', + ... metric_type='accuracy', + ... metric_value=0.9, + ... ), + ... ], + ... model_name='my-cool-model', + ... ) + >>> card = ModelCard.from_template(card_data) + + >>> # Using a Custom Template + >>> card_data = ModelCardData( + ... language='en', + ... tags=['image-classification', 'resnet'] + ... ) + >>> card = ModelCard.from_template( + ... card_data=card_data, + ... template_path='./src/huggingface_hub/templates/modelcard_template.md', + ... custom_template_var='custom value', # will be replaced in template if it exists + ... ) + + ``` + """ + return super().from_template(card_data, template_path, **template_kwargs) + + +class DatasetCard(RepoCard): + card_data_class = DatasetCardData + default_template_path = TEMPLATE_DATASETCARD_PATH + repo_type = "dataset" + + @classmethod + def from_template( # type: ignore # violates Liskov property but easier to use + cls, + card_data: DatasetCardData, + template_path: Optional[str] = None, + **template_kwargs, + ): + """Initialize a DatasetCard from a template. By default, it uses the default template, which can be found here: + https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md + + Templates are Jinja2 templates that can be customized by passing keyword arguments. + + Args: + card_data (`huggingface_hub.DatasetCardData`): + A huggingface_hub.DatasetCardData instance containing the metadata you want to include in the YAML + header of the dataset card on the Hugging Face Hub. + template_path (`str`, *optional*): + A path to a markdown file with optional Jinja template variables that can be filled + in with `template_kwargs`. Defaults to the default template. + + Returns: + [`huggingface_hub.DatasetCard`]: A DatasetCard instance with the specified card data and content from the + template. + + Example: + ```python + >>> from huggingface_hub import DatasetCard, DatasetCardData + + >>> # Using the Default Template + >>> card_data = DatasetCardData( + ... language='en', + ... license='mit', + ... annotations_creators='crowdsourced', + ... task_categories=['text-classification'], + ... task_ids=['sentiment-classification', 'text-scoring'], + ... multilinguality='monolingual', + ... pretty_name='My Text Classification Dataset', + ... ) + >>> card = DatasetCard.from_template( + ... card_data, + ... pretty_name=card_data.pretty_name, + ... ) + + >>> # Using a Custom Template + >>> card_data = DatasetCardData( + ... language='en', + ... license='mit', + ... ) + >>> card = DatasetCard.from_template( + ... card_data=card_data, + ... template_path='./src/huggingface_hub/templates/datasetcard_template.md', + ... custom_template_var='custom value', # will be replaced in template if it exists + ... ) + + ``` + """ + return super().from_template(card_data, template_path, **template_kwargs) + + +class SpaceCard(RepoCard): + card_data_class = SpaceCardData + default_template_path = TEMPLATE_MODELCARD_PATH + repo_type = "space" + + +def _detect_line_ending(content: str) -> Literal["\r", "\n", "\r\n", None]: # noqa: F722 + """Detect the line ending of a string. Used by RepoCard to avoid making huge diff on newlines. + + Uses same implementation as in Hub server, keep it in sync. + + Returns: + str: The detected line ending of the string. + """ + cr = content.count("\r") + lf = content.count("\n") + crlf = content.count("\r\n") + if cr + lf == 0: + return None + if crlf == cr and crlf == lf: + return "\r\n" + if cr > lf: + return "\r" + else: + return "\n" + + +def metadata_load(local_path: Union[str, Path]) -> Optional[Dict]: + content = Path(local_path).read_text() + match = REGEX_YAML_BLOCK.search(content) + if match: + yaml_block = match.group(2) + data = yaml.safe_load(yaml_block) + if data is None or isinstance(data, dict): + return data + raise ValueError("repo card metadata block should be a dict") + else: + return None + + +def metadata_save(local_path: Union[str, Path], data: Dict) -> None: + """ + Save the metadata dict in the upper YAML part Trying to preserve newlines as + in the existing file. Docs about open() with newline="" parameter: + https://docs.python.org/3/library/functions.html?highlight=open#open Does + not work with "^M" linebreaks, which are replaced by \n + """ + line_break = "\n" + content = "" + # try to detect existing newline character + if os.path.exists(local_path): + with open(local_path, "r", newline="", encoding="utf8") as readme: + content = readme.read() + if isinstance(readme.newlines, tuple): + line_break = readme.newlines[0] + elif isinstance(readme.newlines, str): + line_break = readme.newlines + + # creates a new file if it not + with open(local_path, "w", newline="", encoding="utf8") as readme: + data_yaml = yaml_dump(data, sort_keys=False, line_break=line_break) + # sort_keys: keep dict order + match = REGEX_YAML_BLOCK.search(content) + if match: + output = content[: match.start()] + f"---{line_break}{data_yaml}---{line_break}" + content[match.end() :] + else: + output = f"---{line_break}{data_yaml}---{line_break}{content}" + + readme.write(output) + readme.close() + + +def metadata_eval_result( + *, + model_pretty_name: str, + task_pretty_name: str, + task_id: str, + metrics_pretty_name: str, + metrics_id: str, + metrics_value: Any, + dataset_pretty_name: str, + dataset_id: str, + metrics_config: Optional[str] = None, + metrics_verified: bool = False, + dataset_config: Optional[str] = None, + dataset_split: Optional[str] = None, + dataset_revision: Optional[str] = None, + metrics_verification_token: Optional[str] = None, +) -> Dict: + """ + Creates a metadata dict with the result from a model evaluated on a dataset. + + Args: + model_pretty_name (`str`): + The name of the model in natural language. + task_pretty_name (`str`): + The name of a task in natural language. + task_id (`str`): + Example: automatic-speech-recognition. A task id. + metrics_pretty_name (`str`): + A name for the metric in natural language. Example: Test WER. + metrics_id (`str`): + Example: wer. A metric id from https://hf.co/metrics. + metrics_value (`Any`): + The value from the metric. Example: 20.0 or "20.0 ± 1.2". + dataset_pretty_name (`str`): + The name of the dataset in natural language. + dataset_id (`str`): + Example: common_voice. A dataset id from https://hf.co/datasets. + metrics_config (`str`, *optional*): + The name of the metric configuration used in `load_metric()`. + Example: bleurt-large-512 in `load_metric("bleurt", "bleurt-large-512")`. + metrics_verified (`bool`, *optional*, defaults to `False`): + Indicates whether the metrics originate from Hugging Face's [evaluation service](https://huggingface.co/spaces/autoevaluate/model-evaluator) or not. Automatically computed by Hugging Face, do not set. + dataset_config (`str`, *optional*): + Example: fr. The name of the dataset configuration used in `load_dataset()`. + dataset_split (`str`, *optional*): + Example: test. The name of the dataset split used in `load_dataset()`. + dataset_revision (`str`, *optional*): + Example: 5503434ddd753f426f4b38109466949a1217c2bb. The name of the dataset dataset revision + used in `load_dataset()`. + metrics_verification_token (`bool`, *optional*): + A JSON Web Token that is used to verify whether the metrics originate from Hugging Face's [evaluation service](https://huggingface.co/spaces/autoevaluate/model-evaluator) or not. + + Returns: + `dict`: a metadata dict with the result from a model evaluated on a dataset. + + Example: + ```python + >>> from huggingface_hub import metadata_eval_result + >>> results = metadata_eval_result( + ... model_pretty_name="RoBERTa fine-tuned on ReactionGIF", + ... task_pretty_name="Text Classification", + ... task_id="text-classification", + ... metrics_pretty_name="Accuracy", + ... metrics_id="accuracy", + ... metrics_value=0.2662102282047272, + ... dataset_pretty_name="ReactionJPEG", + ... dataset_id="julien-c/reactionjpeg", + ... dataset_config="default", + ... dataset_split="test", + ... ) + >>> results == { + ... 'model-index': [ + ... { + ... 'name': 'RoBERTa fine-tuned on ReactionGIF', + ... 'results': [ + ... { + ... 'task': { + ... 'type': 'text-classification', + ... 'name': 'Text Classification' + ... }, + ... 'dataset': { + ... 'name': 'ReactionJPEG', + ... 'type': 'julien-c/reactionjpeg', + ... 'config': 'default', + ... 'split': 'test' + ... }, + ... 'metrics': [ + ... { + ... 'type': 'accuracy', + ... 'value': 0.2662102282047272, + ... 'name': 'Accuracy', + ... 'verified': False + ... } + ... ] + ... } + ... ] + ... } + ... ] + ... } + True + + ``` + """ + + return { + "model-index": eval_results_to_model_index( + model_name=model_pretty_name, + eval_results=[ + EvalResult( + task_name=task_pretty_name, + task_type=task_id, + metric_name=metrics_pretty_name, + metric_type=metrics_id, + metric_value=metrics_value, + dataset_name=dataset_pretty_name, + dataset_type=dataset_id, + metric_config=metrics_config, + verified=metrics_verified, + verify_token=metrics_verification_token, + dataset_config=dataset_config, + dataset_split=dataset_split, + dataset_revision=dataset_revision, + ) + ], + ) + } + + +@validate_hf_hub_args +def metadata_update( + repo_id: str, + metadata: Dict, + *, + repo_type: Optional[str] = None, + overwrite: bool = False, + token: Optional[str] = None, + commit_message: Optional[str] = None, + commit_description: Optional[str] = None, + revision: Optional[str] = None, + create_pr: bool = False, + parent_commit: Optional[str] = None, +) -> str: + """ + Updates the metadata in the README.md of a repository on the Hugging Face Hub. + If the README.md file doesn't exist yet, a new one is created with metadata and an + the default ModelCard or DatasetCard template. For `space` repo, an error is thrown + as a Space cannot exist without a `README.md` file. + + Args: + repo_id (`str`): + The name of the repository. + metadata (`dict`): + A dictionary containing the metadata to be updated. + repo_type (`str`, *optional*): + Set to `"dataset"` or `"space"` if updating to a dataset or space, + `None` or `"model"` if updating to a model. Default is `None`. + overwrite (`bool`, *optional*, defaults to `False`): + If set to `True` an existing field can be overwritten, otherwise + attempting to overwrite an existing field will cause an error. + token (`str`, *optional*): + The Hugging Face authentication token. + commit_message (`str`, *optional*): + The summary / title / first line of the generated commit. Defaults to + `f"Update metadata with huggingface_hub"` + commit_description (`str` *optional*) + The description of the generated commit + revision (`str`, *optional*): + The git revision to commit from. Defaults to the head of the + `"main"` branch. + create_pr (`boolean`, *optional*): + Whether or not to create a Pull Request from `revision` with that commit. + Defaults to `False`. + parent_commit (`str`, *optional*): + The OID / SHA of the parent commit, as a hexadecimal string. Shorthands (7 first characters) are also supported. + If specified and `create_pr` is `False`, the commit will fail if `revision` does not point to `parent_commit`. + If specified and `create_pr` is `True`, the pull request will be created from `parent_commit`. + Specifying `parent_commit` ensures the repo has not changed before committing the changes, and can be + especially useful if the repo is updated / committed to concurrently. + Returns: + `str`: URL of the commit which updated the card metadata. + + Example: + ```python + >>> from huggingface_hub import metadata_update + >>> metadata = {'model-index': [{'name': 'RoBERTa fine-tuned on ReactionGIF', + ... 'results': [{'dataset': {'name': 'ReactionGIF', + ... 'type': 'julien-c/reactiongif'}, + ... 'metrics': [{'name': 'Recall', + ... 'type': 'recall', + ... 'value': 0.7762102282047272}], + ... 'task': {'name': 'Text Classification', + ... 'type': 'text-classification'}}]}]} + >>> url = metadata_update("hf-internal-testing/reactiongif-roberta-card", metadata) + + ``` + """ + commit_message = commit_message if commit_message is not None else "Update metadata with huggingface_hub" + + # Card class given repo_type + card_class: Type[RepoCard] + if repo_type is None or repo_type == "model": + card_class = ModelCard + elif repo_type == "dataset": + card_class = DatasetCard + elif repo_type == "space": + card_class = RepoCard + else: + raise ValueError(f"Unknown repo_type: {repo_type}") + + # Either load repo_card from the Hub or create an empty one. + # NOTE: Will not create the repo if it doesn't exist. + try: + card = card_class.load(repo_id, token=token, repo_type=repo_type) + except EntryNotFoundError: + if repo_type == "space": + raise ValueError("Cannot update metadata on a Space that doesn't contain a `README.md` file.") + + # Initialize a ModelCard or DatasetCard from default template and no data. + card = card_class.from_template(CardData()) + + for key, value in metadata.items(): + if key == "model-index": + # if the new metadata doesn't include a name, either use existing one or repo name + if "name" not in value[0]: + value[0]["name"] = getattr(card, "model_name", repo_id) + model_name, new_results = model_index_to_eval_results(value) + if card.data.eval_results is None: + card.data.eval_results = new_results + card.data.model_name = model_name + else: + existing_results = card.data.eval_results + + # Iterate over new results + # Iterate over existing results + # If both results describe the same metric but value is different: + # If overwrite=True: overwrite the metric value + # Else: raise ValueError + # Else: append new result to existing ones. + for new_result in new_results: + result_found = False + for existing_result in existing_results: + if new_result.is_equal_except_value(existing_result): + if new_result != existing_result and not overwrite: + raise ValueError( + "You passed a new value for the existing metric" + f" 'name: {new_result.metric_name}, type: " + f"{new_result.metric_type}'. Set `overwrite=True`" + " to overwrite existing metrics." + ) + result_found = True + existing_result.metric_value = new_result.metric_value + if existing_result.verified is True: + existing_result.verify_token = new_result.verify_token + if not result_found: + card.data.eval_results.append(new_result) + else: + # Any metadata that is not a result metric + if card.data.get(key) is not None and not overwrite and card.data.get(key) != value: + raise ValueError( + f"You passed a new value for the existing meta data field '{key}'." + " Set `overwrite=True` to overwrite existing metadata." + ) + else: + card.data[key] = value + + return card.push_to_hub( + repo_id, + token=token, + repo_type=repo_type, + commit_message=commit_message, + commit_description=commit_description, + create_pr=create_pr, + revision=revision, + parent_commit=parent_commit, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repocard_data.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repocard_data.py new file mode 100644 index 0000000000000000000000000000000000000000..cc6d5426d2695c5055e3024044fab0d841376616 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repocard_data.py @@ -0,0 +1,711 @@ +import copy +import warnings +from collections import defaultdict +from dataclasses import dataclass +from typing import Any, Dict, List, Optional, Tuple, Union + +from huggingface_hub.utils import yaml_dump + + +@dataclass +class EvalResult: + """ + Flattened representation of individual evaluation results found in model-index of Model Cards. + + For more information on the model-index spec, see https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1. + + Args: + task_type (`str`): + The task identifier. Example: "image-classification". + dataset_type (`str`): + The dataset identifier. Example: "common_voice". Use dataset id from https://hf.co/datasets. + dataset_name (`str`): + A pretty name for the dataset. Example: "Common Voice (French)". + metric_type (`str`): + The metric identifier. Example: "wer". Use metric id from https://hf.co/metrics. + metric_value (`Any`): + The metric value. Example: 0.9 or "20.0 ± 1.2". + task_name (`str`, *optional*): + A pretty name for the task. Example: "Speech Recognition". + dataset_config (`str`, *optional*): + The name of the dataset configuration used in `load_dataset()`. + Example: fr in `load_dataset("common_voice", "fr")`. See the `datasets` docs for more info: + https://hf.co/docs/datasets/package_reference/loading_methods#datasets.load_dataset.name + dataset_split (`str`, *optional*): + The split used in `load_dataset()`. Example: "test". + dataset_revision (`str`, *optional*): + The revision (AKA Git Sha) of the dataset used in `load_dataset()`. + Example: 5503434ddd753f426f4b38109466949a1217c2bb + dataset_args (`Dict[str, Any]`, *optional*): + The arguments passed during `Metric.compute()`. Example for `bleu`: `{"max_order": 4}` + metric_name (`str`, *optional*): + A pretty name for the metric. Example: "Test WER". + metric_config (`str`, *optional*): + The name of the metric configuration used in `load_metric()`. + Example: bleurt-large-512 in `load_metric("bleurt", "bleurt-large-512")`. + See the `datasets` docs for more info: https://huggingface.co/docs/datasets/v2.1.0/en/loading#load-configurations + metric_args (`Dict[str, Any]`, *optional*): + The arguments passed during `Metric.compute()`. Example for `bleu`: max_order: 4 + verified (`bool`, *optional*): + Indicates whether the metrics originate from Hugging Face's [evaluation service](https://huggingface.co/spaces/autoevaluate/model-evaluator) or not. Automatically computed by Hugging Face, do not set. + verify_token (`str`, *optional*): + A JSON Web Token that is used to verify whether the metrics originate from Hugging Face's [evaluation service](https://huggingface.co/spaces/autoevaluate/model-evaluator) or not. + source_name (`str`, *optional*): + The name of the source of the evaluation result. Example: "Open LLM Leaderboard". + source_url (`str`, *optional*): + The URL of the source of the evaluation result. Example: "https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard". + """ + + # Required + + # The task identifier + # Example: automatic-speech-recognition + task_type: str + + # The dataset identifier + # Example: common_voice. Use dataset id from https://hf.co/datasets + dataset_type: str + + # A pretty name for the dataset. + # Example: Common Voice (French) + dataset_name: str + + # The metric identifier + # Example: wer. Use metric id from https://hf.co/metrics + metric_type: str + + # Value of the metric. + # Example: 20.0 or "20.0 ± 1.2" + metric_value: Any + + # Optional + + # A pretty name for the task. + # Example: Speech Recognition + task_name: Optional[str] = None + + # The name of the dataset configuration used in `load_dataset()`. + # Example: fr in `load_dataset("common_voice", "fr")`. + # See the `datasets` docs for more info: + # https://huggingface.co/docs/datasets/package_reference/loading_methods#datasets.load_dataset.name + dataset_config: Optional[str] = None + + # The split used in `load_dataset()`. + # Example: test + dataset_split: Optional[str] = None + + # The revision (AKA Git Sha) of the dataset used in `load_dataset()`. + # Example: 5503434ddd753f426f4b38109466949a1217c2bb + dataset_revision: Optional[str] = None + + # The arguments passed during `Metric.compute()`. + # Example for `bleu`: max_order: 4 + dataset_args: Optional[Dict[str, Any]] = None + + # A pretty name for the metric. + # Example: Test WER + metric_name: Optional[str] = None + + # The name of the metric configuration used in `load_metric()`. + # Example: bleurt-large-512 in `load_metric("bleurt", "bleurt-large-512")`. + # See the `datasets` docs for more info: https://huggingface.co/docs/datasets/v2.1.0/en/loading#load-configurations + metric_config: Optional[str] = None + + # The arguments passed during `Metric.compute()`. + # Example for `bleu`: max_order: 4 + metric_args: Optional[Dict[str, Any]] = None + + # Indicates whether the metrics originate from Hugging Face's [evaluation service](https://huggingface.co/spaces/autoevaluate/model-evaluator) or not. Automatically computed by Hugging Face, do not set. + verified: Optional[bool] = None + + # A JSON Web Token that is used to verify whether the metrics originate from Hugging Face's [evaluation service](https://huggingface.co/spaces/autoevaluate/model-evaluator) or not. + verify_token: Optional[str] = None + + # The name of the source of the evaluation result. + # Example: Open LLM Leaderboard + source_name: Optional[str] = None + + # The URL of the source of the evaluation result. + # Example: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard + source_url: Optional[str] = None + + @property + def unique_identifier(self) -> tuple: + """Returns a tuple that uniquely identifies this evaluation.""" + return ( + self.task_type, + self.dataset_type, + self.dataset_config, + self.dataset_split, + self.dataset_revision, + ) + + def is_equal_except_value(self, other: "EvalResult") -> bool: + """ + Return True if `self` and `other` describe exactly the same metric but with a + different value. + """ + for key, _ in self.__dict__.items(): + if key == "metric_value": + continue + # For metrics computed by Hugging Face's evaluation service, `verify_token` is derived from `metric_value`, + # so we exclude it here in the comparison. + if key != "verify_token" and getattr(self, key) != getattr(other, key): + return False + return True + + def __post_init__(self) -> None: + if self.source_name is not None and self.source_url is None: + raise ValueError("If `source_name` is provided, `source_url` must also be provided.") + + +@dataclass +class CardData: + """Structure containing metadata from a RepoCard. + + [`CardData`] is the parent class of [`ModelCardData`] and [`DatasetCardData`]. + + Metadata can be exported as a dictionary or YAML. Export can be customized to alter the representation of the data + (example: flatten evaluation results). `CardData` behaves as a dictionary (can get, pop, set values) but do not + inherit from `dict` to allow this export step. + """ + + def __init__(self, ignore_metadata_errors: bool = False, **kwargs): + self.__dict__.update(kwargs) + + def to_dict(self) -> Dict[str, Any]: + """Converts CardData to a dict. + + Returns: + `dict`: CardData represented as a dictionary ready to be dumped to a YAML + block for inclusion in a README.md file. + """ + + data_dict = copy.deepcopy(self.__dict__) + self._to_dict(data_dict) + return _remove_none(data_dict) + + def _to_dict(self, data_dict): + """Use this method in child classes to alter the dict representation of the data. Alter the dict in-place. + + Args: + data_dict (`dict`): The raw dict representation of the card data. + """ + pass + + def to_yaml(self, line_break=None) -> str: + """Dumps CardData to a YAML block for inclusion in a README.md file. + + Args: + line_break (str, *optional*): + The line break to use when dumping to yaml. + + Returns: + `str`: CardData represented as a YAML block. + """ + return yaml_dump(self.to_dict(), sort_keys=False, line_break=line_break).strip() + + def __repr__(self): + return repr(self.__dict__) + + def __str__(self): + return self.to_yaml() + + def get(self, key: str, default: Any = None) -> Any: + """Get value for a given metadata key.""" + return self.__dict__.get(key, default) + + def pop(self, key: str, default: Any = None) -> Any: + """Pop value for a given metadata key.""" + return self.__dict__.pop(key, default) + + def __getitem__(self, key: str) -> Any: + """Get value for a given metadata key.""" + return self.__dict__[key] + + def __setitem__(self, key: str, value: Any) -> None: + """Set value for a given metadata key.""" + self.__dict__[key] = value + + def __contains__(self, key: str) -> bool: + """Check if a given metadata key is set.""" + return key in self.__dict__ + + def __len__(self) -> int: + """Return the number of metadata keys set.""" + return len(self.__dict__) + + +class ModelCardData(CardData): + """Model Card Metadata that is used by Hugging Face Hub when included at the top of your README.md + + Args: + language (`Union[str, List[str]]`, *optional*): + Language of model's training data or metadata. It must be an ISO 639-1, 639-2 or + 639-3 code (two/three letters), or a special value like "code", "multilingual". Defaults to `None`. + license (`str`, *optional*): + License of this model. Example: apache-2.0 or any license from + https://huggingface.co/docs/hub/repositories-licenses. Defaults to None. + library_name (`str`, *optional*): + Name of library used by this model. Example: keras or any library from + https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries.ts. + Defaults to None. + tags (`List[str]`, *optional*): + List of tags to add to your model that can be used when filtering on the Hugging + Face Hub. Defaults to None. + datasets (`List[str]`, *optional*): + List of datasets that were used to train this model. Should be a dataset ID + found on https://hf.co/datasets. Defaults to None. + metrics (`List[str]`, *optional*): + List of metrics used to evaluate this model. Should be a metric name that can be found + at https://hf.co/metrics. Example: 'accuracy'. Defaults to None. + eval_results (`Union[List[EvalResult], EvalResult]`, *optional*): + List of `huggingface_hub.EvalResult` that define evaluation results of the model. If provided, + `model_name` is used to as a name on PapersWithCode's leaderboards. Defaults to `None`. + model_name (`str`, *optional*): + A name for this model. It is used along with + `eval_results` to construct the `model-index` within the card's metadata. The name + you supply here is what will be used on PapersWithCode's leaderboards. If None is provided + then the repo name is used as a default. Defaults to None. + ignore_metadata_errors (`str`): + If True, errors while parsing the metadata section will be ignored. Some information might be lost during + the process. Use it at your own risk. + kwargs (`dict`, *optional*): + Additional metadata that will be added to the model card. Defaults to None. + + Example: + ```python + >>> from huggingface_hub import ModelCardData + >>> card_data = ModelCardData( + ... language="en", + ... license="mit", + ... library_name="timm", + ... tags=['image-classification', 'resnet'], + ... ) + >>> card_data.to_dict() + {'language': 'en', 'license': 'mit', 'library_name': 'timm', 'tags': ['image-classification', 'resnet']} + + ``` + """ + + def __init__( + self, + *, + language: Optional[Union[str, List[str]]] = None, + license: Optional[str] = None, + library_name: Optional[str] = None, + tags: Optional[List[str]] = None, + datasets: Optional[List[str]] = None, + metrics: Optional[List[str]] = None, + eval_results: Optional[List[EvalResult]] = None, + model_name: Optional[str] = None, + ignore_metadata_errors: bool = False, + **kwargs, + ): + self.language = language + self.license = license + self.library_name = library_name + self.tags = tags + self.datasets = datasets + self.metrics = metrics + self.eval_results = eval_results + self.model_name = model_name + + model_index = kwargs.pop("model-index", None) + if model_index: + try: + model_name, eval_results = model_index_to_eval_results(model_index) + self.model_name = model_name + self.eval_results = eval_results + except (KeyError, TypeError) as error: + if ignore_metadata_errors: + warnings.warn("Invalid model-index. Not loading eval results into CardData.") + else: + raise ValueError( + f"Invalid `model_index` in metadata cannot be parsed: {error.__class__} {error}. Pass" + " `ignore_metadata_errors=True` to ignore this error while loading a Model Card. Warning:" + " some information will be lost. Use it at your own risk." + ) + + super().__init__(**kwargs) + + if self.eval_results: + if type(self.eval_results) == EvalResult: + self.eval_results = [self.eval_results] + if self.model_name is None: + raise ValueError("Passing `eval_results` requires `model_name` to be set.") + + def _to_dict(self, data_dict): + """Format the internal data dict. In this case, we convert eval results to a valid model index""" + if self.eval_results is not None: + data_dict["model-index"] = eval_results_to_model_index(self.model_name, self.eval_results) + del data_dict["eval_results"], data_dict["model_name"] + + +class DatasetCardData(CardData): + """Dataset Card Metadata that is used by Hugging Face Hub when included at the top of your README.md + + Args: + language (`List[str]`, *optional*): + Language of dataset's data or metadata. It must be an ISO 639-1, 639-2 or + 639-3 code (two/three letters), or a special value like "code", "multilingual". + license (`Union[str, List[str]]`, *optional*): + License(s) of this dataset. Example: apache-2.0 or any license from + https://huggingface.co/docs/hub/repositories-licenses. + annotations_creators (`Union[str, List[str]]`, *optional*): + How the annotations for the dataset were created. + Options are: 'found', 'crowdsourced', 'expert-generated', 'machine-generated', 'no-annotation', 'other'. + language_creators (`Union[str, List[str]]`, *optional*): + How the text-based data in the dataset was created. + Options are: 'found', 'crowdsourced', 'expert-generated', 'machine-generated', 'other' + multilinguality (`Union[str, List[str]]`, *optional*): + Whether the dataset is multilingual. + Options are: 'monolingual', 'multilingual', 'translation', 'other'. + size_categories (`Union[str, List[str]]`, *optional*): + The number of examples in the dataset. Options are: 'n<1K', '1K1T', and 'other'. + source_datasets (`List[str]]`, *optional*): + Indicates whether the dataset is an original dataset or extended from another existing dataset. + Options are: 'original' and 'extended'. + task_categories (`Union[str, List[str]]`, *optional*): + What categories of task does the dataset support? + task_ids (`Union[str, List[str]]`, *optional*): + What specific tasks does the dataset support? + paperswithcode_id (`str`, *optional*): + ID of the dataset on PapersWithCode. + pretty_name (`str`, *optional*): + A more human-readable name for the dataset. (ex. "Cats vs. Dogs") + train_eval_index (`Dict`, *optional*): + A dictionary that describes the necessary spec for doing evaluation on the Hub. + If not provided, it will be gathered from the 'train-eval-index' key of the kwargs. + config_names (`Union[str, List[str]]`, *optional*): + A list of the available dataset configs for the dataset. + """ + + def __init__( + self, + *, + language: Optional[Union[str, List[str]]] = None, + license: Optional[Union[str, List[str]]] = None, + annotations_creators: Optional[Union[str, List[str]]] = None, + language_creators: Optional[Union[str, List[str]]] = None, + multilinguality: Optional[Union[str, List[str]]] = None, + size_categories: Optional[Union[str, List[str]]] = None, + source_datasets: Optional[List[str]] = None, + task_categories: Optional[Union[str, List[str]]] = None, + task_ids: Optional[Union[str, List[str]]] = None, + paperswithcode_id: Optional[str] = None, + pretty_name: Optional[str] = None, + train_eval_index: Optional[Dict] = None, + config_names: Optional[Union[str, List[str]]] = None, + ignore_metadata_errors: bool = False, + **kwargs, + ): + self.annotations_creators = annotations_creators + self.language_creators = language_creators + self.language = language + self.license = license + self.multilinguality = multilinguality + self.size_categories = size_categories + self.source_datasets = source_datasets + self.task_categories = task_categories + self.task_ids = task_ids + self.paperswithcode_id = paperswithcode_id + self.pretty_name = pretty_name + self.config_names = config_names + + # TODO - maybe handle this similarly to EvalResult? + self.train_eval_index = train_eval_index or kwargs.pop("train-eval-index", None) + super().__init__(**kwargs) + + def _to_dict(self, data_dict): + data_dict["train-eval-index"] = data_dict.pop("train_eval_index") + + +class SpaceCardData(CardData): + """Space Card Metadata that is used by Hugging Face Hub when included at the top of your README.md + + To get an exhaustive reference of Spaces configuration, please visit https://huggingface.co/docs/hub/spaces-config-reference#spaces-configuration-reference. + + Args: + title (`str`, *optional*) + Title of the Space. + sdk (`str`, *optional*) + SDK of the Space (one of `gradio`, `streamlit`, `docker`, or `static`). + sdk_version (`str`, *optional*) + Version of the used SDK (if Gradio/Streamlit sdk). + python_version (`str`, *optional*) + Python version used in the Space (if Gradio/Streamlit sdk). + app_file (`str`, *optional*) + Path to your main application file (which contains either gradio or streamlit Python code, or static html code). + Path is relative to the root of the repository. + app_port (`str`, *optional*) + Port on which your application is running. Used only if sdk is `docker`. + license (`str`, *optional*) + License of this model. Example: apache-2.0 or any license from + https://huggingface.co/docs/hub/repositories-licenses. + duplicated_from (`str`, *optional*) + ID of the original Space if this is a duplicated Space. + models (List[`str`], *optional*) + List of models related to this Space. Should be a dataset ID found on https://hf.co/models. + datasets (`List[str]`, *optional*) + List of datasets related to this Space. Should be a dataset ID found on https://hf.co/datasets. + tags (`List[str]`, *optional*) + List of tags to add to your Space that can be used when filtering on the Hub. + ignore_metadata_errors (`str`): + If True, errors while parsing the metadata section will be ignored. Some information might be lost during + the process. Use it at your own risk. + kwargs (`dict`, *optional*): + Additional metadata that will be added to the space card. + + Example: + ```python + >>> from huggingface_hub import SpaceCardData + >>> card_data = SpaceCardData( + ... title="Dreambooth Training", + ... license="mit", + ... sdk="gradio", + ... duplicated_from="multimodalart/dreambooth-training" + ... ) + >>> card_data.to_dict() + {'title': 'Dreambooth Training', 'sdk': 'gradio', 'license': 'mit', 'duplicated_from': 'multimodalart/dreambooth-training'} + ``` + """ + + def __init__( + self, + *, + title: Optional[str] = None, + sdk: Optional[str] = None, + sdk_version: Optional[str] = None, + python_version: Optional[str] = None, + app_file: Optional[str] = None, + app_port: Optional[int] = None, + license: Optional[str] = None, + duplicated_from: Optional[str] = None, + models: Optional[List[str]] = None, + datasets: Optional[List[str]] = None, + tags: Optional[List[str]] = None, + ignore_metadata_errors: bool = False, + **kwargs, + ): + self.title = title + self.sdk = sdk + self.sdk_version = sdk_version + self.python_version = python_version + self.app_file = app_file + self.app_port = app_port + self.license = license + self.duplicated_from = duplicated_from + self.models = models + self.datasets = datasets + self.tags = tags + super().__init__(**kwargs) + + +def model_index_to_eval_results(model_index: List[Dict[str, Any]]) -> Tuple[str, List[EvalResult]]: + """Takes in a model index and returns the model name and a list of `huggingface_hub.EvalResult` objects. + + A detailed spec of the model index can be found here: + https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1 + + Args: + model_index (`List[Dict[str, Any]]`): + A model index data structure, likely coming from a README.md file on the + Hugging Face Hub. + + Returns: + model_name (`str`): + The name of the model as found in the model index. This is used as the + identifier for the model on leaderboards like PapersWithCode. + eval_results (`List[EvalResult]`): + A list of `huggingface_hub.EvalResult` objects containing the metrics + reported in the provided model_index. + + Example: + ```python + >>> from huggingface_hub.repocard_data import model_index_to_eval_results + >>> # Define a minimal model index + >>> model_index = [ + ... { + ... "name": "my-cool-model", + ... "results": [ + ... { + ... "task": { + ... "type": "image-classification" + ... }, + ... "dataset": { + ... "type": "beans", + ... "name": "Beans" + ... }, + ... "metrics": [ + ... { + ... "type": "accuracy", + ... "value": 0.9 + ... } + ... ] + ... } + ... ] + ... } + ... ] + >>> model_name, eval_results = model_index_to_eval_results(model_index) + >>> model_name + 'my-cool-model' + >>> eval_results[0].task_type + 'image-classification' + >>> eval_results[0].metric_type + 'accuracy' + + ``` + """ + + eval_results = [] + for elem in model_index: + name = elem["name"] + results = elem["results"] + for result in results: + task_type = result["task"]["type"] + task_name = result["task"].get("name") + dataset_type = result["dataset"]["type"] + dataset_name = result["dataset"]["name"] + dataset_config = result["dataset"].get("config") + dataset_split = result["dataset"].get("split") + dataset_revision = result["dataset"].get("revision") + dataset_args = result["dataset"].get("args") + source_name = result.get("source", {}).get("name") + source_url = result.get("source", {}).get("url") + + for metric in result["metrics"]: + metric_type = metric["type"] + metric_value = metric["value"] + metric_name = metric.get("name") + metric_args = metric.get("args") + metric_config = metric.get("config") + verified = metric.get("verified") + verify_token = metric.get("verifyToken") + + eval_result = EvalResult( + task_type=task_type, # Required + dataset_type=dataset_type, # Required + dataset_name=dataset_name, # Required + metric_type=metric_type, # Required + metric_value=metric_value, # Required + task_name=task_name, + dataset_config=dataset_config, + dataset_split=dataset_split, + dataset_revision=dataset_revision, + dataset_args=dataset_args, + metric_name=metric_name, + metric_args=metric_args, + metric_config=metric_config, + verified=verified, + verify_token=verify_token, + source_name=source_name, + source_url=source_url, + ) + eval_results.append(eval_result) + return name, eval_results + + +def _remove_none(obj): + """ + Recursively remove `None` values from a dict. Borrowed from: https://stackoverflow.com/a/20558778 + """ + if isinstance(obj, (list, tuple, set)): + return type(obj)(_remove_none(x) for x in obj if x is not None) + elif isinstance(obj, dict): + return type(obj)((_remove_none(k), _remove_none(v)) for k, v in obj.items() if k is not None and v is not None) + else: + return obj + + +def eval_results_to_model_index(model_name: str, eval_results: List[EvalResult]) -> List[Dict[str, Any]]: + """Takes in given model name and list of `huggingface_hub.EvalResult` and returns a + valid model-index that will be compatible with the format expected by the + Hugging Face Hub. + + Args: + model_name (`str`): + Name of the model (ex. "my-cool-model"). This is used as the identifier + for the model on leaderboards like PapersWithCode. + eval_results (`List[EvalResult]`): + List of `huggingface_hub.EvalResult` objects containing the metrics to be + reported in the model-index. + + Returns: + model_index (`List[Dict[str, Any]]`): The eval_results converted to a model-index. + + Example: + ```python + >>> from huggingface_hub.repocard_data import eval_results_to_model_index, EvalResult + >>> # Define minimal eval_results + >>> eval_results = [ + ... EvalResult( + ... task_type="image-classification", # Required + ... dataset_type="beans", # Required + ... dataset_name="Beans", # Required + ... metric_type="accuracy", # Required + ... metric_value=0.9, # Required + ... ) + ... ] + >>> eval_results_to_model_index("my-cool-model", eval_results) + [{'name': 'my-cool-model', 'results': [{'task': {'type': 'image-classification'}, 'dataset': {'name': 'Beans', 'type': 'beans'}, 'metrics': [{'type': 'accuracy', 'value': 0.9}]}]}] + + ``` + """ + + # Metrics are reported on a unique task-and-dataset basis. + # Here, we make a map of those pairs and the associated EvalResults. + task_and_ds_types_map: Dict[Any, List[EvalResult]] = defaultdict(list) + for eval_result in eval_results: + task_and_ds_types_map[eval_result.unique_identifier].append(eval_result) + + # Use the map from above to generate the model index data. + model_index_data = [] + for results in task_and_ds_types_map.values(): + # All items from `results` share same metadata + sample_result = results[0] + data = { + "task": { + "type": sample_result.task_type, + "name": sample_result.task_name, + }, + "dataset": { + "name": sample_result.dataset_name, + "type": sample_result.dataset_type, + "config": sample_result.dataset_config, + "split": sample_result.dataset_split, + "revision": sample_result.dataset_revision, + "args": sample_result.dataset_args, + }, + "metrics": [ + { + "type": result.metric_type, + "value": result.metric_value, + "name": result.metric_name, + "config": result.metric_config, + "args": result.metric_args, + "verified": result.verified, + "verifyToken": result.verify_token, + } + for result in results + ], + } + if sample_result.source_url is not None: + source = { + "url": sample_result.source_url, + } + if sample_result.source_name is not None: + source["name"] = sample_result.source_name + data["source"] = source + model_index_data.append(data) + + # TODO - Check if there cases where this list is longer than one? + # Finally, the model index itself is list of dicts. + model_index = [ + { + "name": model_name, + "results": model_index_data, + } + ] + return _remove_none(model_index) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repository.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repository.py new file mode 100644 index 0000000000000000000000000000000000000000..d7aff2eb66318803ee8c2fa4e3cccb29e0036801 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/huggingface_hub/repository.py @@ -0,0 +1,1476 @@ +import atexit +import os +import re +import subprocess +import threading +import time +from contextlib import contextmanager +from pathlib import Path +from typing import Callable, Dict, Iterator, List, Optional, Tuple, TypedDict, Union +from urllib.parse import urlparse + +from huggingface_hub.constants import REPO_TYPES_URL_PREFIXES, REPOCARD_NAME +from huggingface_hub.repocard import metadata_load, metadata_save + +from .hf_api import HfApi, repo_type_and_id_from_hf_id +from .lfs import LFS_MULTIPART_UPLOAD_COMMAND +from .utils import ( + SoftTemporaryDirectory, + get_token, + logging, + run_subprocess, + tqdm, + validate_hf_hub_args, +) +from .utils._deprecation import _deprecate_method + + +logger = logging.get_logger(__name__) + + +class CommandInProgress: + """ + Utility to follow commands launched asynchronously. + """ + + def __init__( + self, + title: str, + is_done_method: Callable, + status_method: Callable, + process: subprocess.Popen, + post_method: Optional[Callable] = None, + ): + self.title = title + self._is_done = is_done_method + self._status = status_method + self._process = process + self._stderr = "" + self._stdout = "" + self._post_method = post_method + + @property + def is_done(self) -> bool: + """ + Whether the process is done. + """ + result = self._is_done() + + if result and self._post_method is not None: + self._post_method() + self._post_method = None + + return result + + @property + def status(self) -> int: + """ + The exit code/status of the current action. Will return `0` if the + command has completed successfully, and a number between 1 and 255 if + the process errored-out. + + Will return -1 if the command is still ongoing. + """ + return self._status() + + @property + def failed(self) -> bool: + """ + Whether the process errored-out. + """ + return self.status > 0 + + @property + def stderr(self) -> str: + """ + The current output message on the standard error. + """ + if self._process.stderr is not None: + self._stderr += self._process.stderr.read() + return self._stderr + + @property + def stdout(self) -> str: + """ + The current output message on the standard output. + """ + if self._process.stdout is not None: + self._stdout += self._process.stdout.read() + return self._stdout + + def __repr__(self): + status = self.status + + if status == -1: + status = "running" + + return ( + f"[{self.title} command, status code: {status}," + f" {'in progress.' if not self.is_done else 'finished.'} PID:" + f" {self._process.pid}]" + ) + + +def is_git_repo(folder: Union[str, Path]) -> bool: + """ + Check if the folder is the root or part of a git repository + + Args: + folder (`str`): + The folder in which to run the command. + + Returns: + `bool`: `True` if the repository is part of a repository, `False` + otherwise. + """ + folder_exists = os.path.exists(os.path.join(folder, ".git")) + git_branch = subprocess.run("git branch".split(), cwd=folder, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + return folder_exists and git_branch.returncode == 0 + + +def is_local_clone(folder: Union[str, Path], remote_url: str) -> bool: + """ + Check if the folder is a local clone of the remote_url + + Args: + folder (`str` or `Path`): + The folder in which to run the command. + remote_url (`str`): + The url of a git repository. + + Returns: + `bool`: `True` if the repository is a local clone of the remote + repository specified, `False` otherwise. + """ + if not is_git_repo(folder): + return False + + remotes = run_subprocess("git remote -v", folder).stdout + + # Remove token for the test with remotes. + remote_url = re.sub(r"https://.*@", "https://", remote_url) + remotes = [re.sub(r"https://.*@", "https://", remote) for remote in remotes.split()] + return remote_url in remotes + + +def is_tracked_with_lfs(filename: Union[str, Path]) -> bool: + """ + Check if the file passed is tracked with git-lfs. + + Args: + filename (`str` or `Path`): + The filename to check. + + Returns: + `bool`: `True` if the file passed is tracked with git-lfs, `False` + otherwise. + """ + folder = Path(filename).parent + filename = Path(filename).name + + try: + p = run_subprocess("git check-attr -a".split() + [filename], folder) + attributes = p.stdout.strip() + except subprocess.CalledProcessError as exc: + if not is_git_repo(folder): + return False + else: + raise OSError(exc.stderr) + + if len(attributes) == 0: + return False + + found_lfs_tag = {"diff": False, "merge": False, "filter": False} + + for attribute in attributes.split("\n"): + for tag in found_lfs_tag.keys(): + if tag in attribute and "lfs" in attribute: + found_lfs_tag[tag] = True + + return all(found_lfs_tag.values()) + + +def is_git_ignored(filename: Union[str, Path]) -> bool: + """ + Check if file is git-ignored. Supports nested .gitignore files. + + Args: + filename (`str` or `Path`): + The filename to check. + + Returns: + `bool`: `True` if the file passed is ignored by `git`, `False` + otherwise. + """ + folder = Path(filename).parent + filename = Path(filename).name + + try: + p = run_subprocess("git check-ignore".split() + [filename], folder, check=False) + # Will return exit code 1 if not gitignored + is_ignored = not bool(p.returncode) + except subprocess.CalledProcessError as exc: + raise OSError(exc.stderr) + + return is_ignored + + +def is_binary_file(filename: Union[str, Path]) -> bool: + """ + Check if file is a binary file. + + Args: + filename (`str` or `Path`): + The filename to check. + + Returns: + `bool`: `True` if the file passed is a binary file, `False` otherwise. + """ + try: + with open(filename, "rb") as f: + content = f.read(10 * (1024**2)) # Read a maximum of 10MB + + # Code sample taken from the following stack overflow thread + # https://stackoverflow.com/questions/898669/how-can-i-detect-if-a-file-is-binary-non-text-in-python/7392391#7392391 + text_chars = bytearray({7, 8, 9, 10, 12, 13, 27} | set(range(0x20, 0x100)) - {0x7F}) + return bool(content.translate(None, text_chars)) + except UnicodeDecodeError: + return True + + +def files_to_be_staged(pattern: str = ".", folder: Union[str, Path, None] = None) -> List[str]: + """ + Returns a list of filenames that are to be staged. + + Args: + pattern (`str` or `Path`): + The pattern of filenames to check. Put `.` to get all files. + folder (`str` or `Path`): + The folder in which to run the command. + + Returns: + `List[str]`: List of files that are to be staged. + """ + try: + p = run_subprocess("git ls-files --exclude-standard -mo".split() + [pattern], folder) + if len(p.stdout.strip()): + files = p.stdout.strip().split("\n") + else: + files = [] + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + return files + + +def is_tracked_upstream(folder: Union[str, Path]) -> bool: + """ + Check if the current checked-out branch is tracked upstream. + + Args: + folder (`str` or `Path`): + The folder in which to run the command. + + Returns: + `bool`: `True` if the current checked-out branch is tracked upstream, + `False` otherwise. + """ + try: + run_subprocess("git rev-parse --symbolic-full-name --abbrev-ref @{u}", folder) + return True + except subprocess.CalledProcessError as exc: + if "HEAD" in exc.stderr: + raise OSError("No branch checked out") + + return False + + +def commits_to_push(folder: Union[str, Path], upstream: Optional[str] = None) -> int: + """ + Check the number of commits that would be pushed upstream + + Args: + folder (`str` or `Path`): + The folder in which to run the command. + upstream (`str`, *optional*): + The name of the upstream repository with which the comparison should be + made. + + Returns: + `int`: Number of commits that would be pushed upstream were a `git + push` to proceed. + """ + try: + result = run_subprocess(f"git cherry -v {upstream or ''}", folder) + return len(result.stdout.split("\n")) - 1 + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + +class PbarT(TypedDict): + # Used to store an opened progress bar in `_lfs_log_progress` + bar: tqdm + past_bytes: int + + +@contextmanager +def _lfs_log_progress(): + """ + This is a context manager that will log the Git LFS progress of cleaning, + smudging, pulling and pushing. + """ + + if logger.getEffectiveLevel() >= logging.ERROR: + try: + yield + except Exception: + pass + return + + def output_progress(stopping_event: threading.Event): + """ + To be launched as a separate thread with an event meaning it should stop + the tail. + """ + # Key is tuple(state, filename), value is a dict(tqdm bar and a previous value) + pbars: Dict[Tuple[str, str], PbarT] = {} + + def close_pbars(): + for pbar in pbars.values(): + pbar["bar"].update(pbar["bar"].total - pbar["past_bytes"]) + pbar["bar"].refresh() + pbar["bar"].close() + + def tail_file(filename) -> Iterator[str]: + """ + Creates a generator to be iterated through, which will return each + line one by one. Will stop tailing the file if the stopping_event is + set. + """ + with open(filename, "r") as file: + current_line = "" + while True: + if stopping_event.is_set(): + close_pbars() + break + + line_bit = file.readline() + if line_bit is not None and not len(line_bit.strip()) == 0: + current_line += line_bit + if current_line.endswith("\n"): + yield current_line + current_line = "" + else: + time.sleep(1) + + # If the file isn't created yet, wait for a few seconds before trying again. + # Can be interrupted with the stopping_event. + while not os.path.exists(os.environ["GIT_LFS_PROGRESS"]): + if stopping_event.is_set(): + close_pbars() + return + + time.sleep(2) + + for line in tail_file(os.environ["GIT_LFS_PROGRESS"]): + try: + state, file_progress, byte_progress, filename = line.split() + except ValueError as error: + # Try/except to ease debugging. See https://github.com/huggingface/huggingface_hub/issues/1373. + raise ValueError(f"Cannot unpack LFS progress line:\n{line}") from error + description = f"{state.capitalize()} file {filename}" + + current_bytes, total_bytes = byte_progress.split("/") + current_bytes_int = int(current_bytes) + total_bytes_int = int(total_bytes) + + pbar = pbars.get((state, filename)) + if pbar is None: + # Initialize progress bar + pbars[(state, filename)] = { + "bar": tqdm( + desc=description, + initial=current_bytes_int, + total=total_bytes_int, + unit="B", + unit_scale=True, + unit_divisor=1024, + ), + "past_bytes": int(current_bytes), + } + else: + # Update progress bar + pbar["bar"].update(current_bytes_int - pbar["past_bytes"]) + pbar["past_bytes"] = current_bytes_int + + current_lfs_progress_value = os.environ.get("GIT_LFS_PROGRESS", "") + + with SoftTemporaryDirectory() as tmpdir: + os.environ["GIT_LFS_PROGRESS"] = os.path.join(tmpdir, "lfs_progress") + logger.debug(f"Following progress in {os.environ['GIT_LFS_PROGRESS']}") + + exit_event = threading.Event() + x = threading.Thread(target=output_progress, args=(exit_event,), daemon=True) + x.start() + + try: + yield + finally: + exit_event.set() + x.join() + + os.environ["GIT_LFS_PROGRESS"] = current_lfs_progress_value + + +class Repository: + """ + Helper class to wrap the git and git-lfs commands. + + The aim is to facilitate interacting with huggingface.co hosted model or + dataset repos, though not a lot here (if any) is actually specific to + huggingface.co. + + + + [`Repository`] is deprecated in favor of the http-based alternatives implemented in + [`HfApi`]. Given its large adoption in legacy code, the complete removal of + [`Repository`] will only happen in release `v1.0`. For more details, please read + https://huggingface.co/docs/huggingface_hub/concepts/git_vs_http. + + + """ + + command_queue: List[CommandInProgress] + + @validate_hf_hub_args + @_deprecate_method( + version="1.0", + message=( + "Please prefer the http-based alternatives instead. Given its large adoption in legacy code, the complete" + " removal is only planned on next major release.\nFor more details, please read" + " https://huggingface.co/docs/huggingface_hub/concepts/git_vs_http." + ), + ) + def __init__( + self, + local_dir: Union[str, Path], + clone_from: Optional[str] = None, + repo_type: Optional[str] = None, + token: Union[bool, str] = True, + git_user: Optional[str] = None, + git_email: Optional[str] = None, + revision: Optional[str] = None, + skip_lfs_files: bool = False, + client: Optional[HfApi] = None, + ): + """ + Instantiate a local clone of a git repo. + + If `clone_from` is set, the repo will be cloned from an existing remote repository. + If the remote repo does not exist, a `EnvironmentError` exception will be thrown. + Please create the remote repo first using [`create_repo`]. + + `Repository` uses the local git credentials by default. If explicitly set, the `token` + or the `git_user`/`git_email` pair will be used instead. + + Args: + local_dir (`str` or `Path`): + path (e.g. `'my_trained_model/'`) to the local directory, where + the `Repository` will be initialized. + clone_from (`str`, *optional*): + Either a repository url or `repo_id`. + Example: + - `"https://huggingface.co/philschmid/playground-tests"` + - `"philschmid/playground-tests"` + repo_type (`str`, *optional*): + To set when cloning a repo from a repo_id. Default is model. + token (`bool` or `str`, *optional*): + A valid authentication token (see https://huggingface.co/settings/token). + If `None` or `True` and machine is logged in (through `huggingface-cli login` + or [`~huggingface_hub.login`]), token will be retrieved from the cache. + If `False`, token is not sent in the request header. + git_user (`str`, *optional*): + will override the `git config user.name` for committing and + pushing files to the hub. + git_email (`str`, *optional*): + will override the `git config user.email` for committing and + pushing files to the hub. + revision (`str`, *optional*): + Revision to checkout after initializing the repository. If the + revision doesn't exist, a branch will be created with that + revision name from the default branch's current HEAD. + skip_lfs_files (`bool`, *optional*, defaults to `False`): + whether to skip git-LFS files or not. + client (`HfApi`, *optional*): + Instance of [`HfApi`] to use when calling the HF Hub API. A new + instance will be created if this is left to `None`. + + Raises: + - [`EnvironmentError`](https://docs.python.org/3/library/exceptions.html#EnvironmentError) + if the remote repository set in `clone_from` does not exist. + """ + if isinstance(local_dir, Path): + local_dir = str(local_dir) + os.makedirs(local_dir, exist_ok=True) + self.local_dir = os.path.join(os.getcwd(), local_dir) + self._repo_type = repo_type + self.command_queue = [] + self.skip_lfs_files = skip_lfs_files + self.client = client if client is not None else HfApi() + + self.check_git_versions() + + if isinstance(token, str): + self.huggingface_token: Optional[str] = token + elif token is False: + self.huggingface_token = None + else: + # if `True` -> explicit use of the cached token + # if `None` -> implicit use of the cached token + self.huggingface_token = get_token() + + if clone_from is not None: + self.clone_from(repo_url=clone_from) + else: + if is_git_repo(self.local_dir): + logger.debug("[Repository] is a valid git repo") + else: + raise ValueError("If not specifying `clone_from`, you need to pass Repository a valid git clone.") + + if self.huggingface_token is not None and (git_email is None or git_user is None): + user = self.client.whoami(self.huggingface_token) + + if git_email is None: + git_email = user["email"] + + if git_user is None: + git_user = user["fullname"] + + if git_user is not None or git_email is not None: + self.git_config_username_and_email(git_user, git_email) + + self.lfs_enable_largefiles() + self.git_credential_helper_store() + + if revision is not None: + self.git_checkout(revision, create_branch_ok=True) + + # This ensures that all commands exit before exiting the Python runtime. + # This will ensure all pushes register on the hub, even if other errors happen in subsequent operations. + atexit.register(self.wait_for_commands) + + @property + def current_branch(self) -> str: + """ + Returns the current checked out branch. + + Returns: + `str`: Current checked out branch. + """ + try: + result = run_subprocess("git rev-parse --abbrev-ref HEAD", self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + return result + + def check_git_versions(self): + """ + Checks that `git` and `git-lfs` can be run. + + Raises: + - [`EnvironmentError`](https://docs.python.org/3/library/exceptions.html#EnvironmentError) + if `git` or `git-lfs` are not installed. + """ + try: + git_version = run_subprocess("git --version", self.local_dir).stdout.strip() + except FileNotFoundError: + raise EnvironmentError("Looks like you do not have git installed, please install.") + + try: + lfs_version = run_subprocess("git-lfs --version", self.local_dir).stdout.strip() + except FileNotFoundError: + raise EnvironmentError( + "Looks like you do not have git-lfs installed, please install." + " You can install from https://git-lfs.github.com/." + " Then run `git lfs install` (you only have to do this once)." + ) + logger.info(git_version + "\n" + lfs_version) + + @validate_hf_hub_args + def clone_from(self, repo_url: str, token: Union[bool, str, None] = None): + """ + Clone from a remote. If the folder already exists, will try to clone the + repository within it. + + If this folder is a git repository with linked history, will try to + update the repository. + + Args: + repo_url (`str`): + The URL from which to clone the repository + token (`Union[str, bool]`, *optional*): + Whether to use the authentication token. It can be: + - a string which is the token itself + - `False`, which would not use the authentication token + - `True`, which would fetch the authentication token from the + local folder and use it (you should be logged in for this to + work). + - `None`, which would retrieve the value of + `self.huggingface_token`. + + + + Raises the following error: + + - [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) + if an organization token (starts with "api_org") is passed. Use must use + your own personal access token (see https://hf.co/settings/tokens). + + - [`EnvironmentError`](https://docs.python.org/3/library/exceptions.html#EnvironmentError) + if you are trying to clone the repository in a non-empty folder, or if the + `git` operations raise errors. + + + """ + token = ( + token # str -> use it + if isinstance(token, str) + else ( + None # `False` -> explicit no token + if token is False + else self.huggingface_token # `None` or `True` -> use default + ) + ) + if token is not None and token.startswith("api_org"): + raise ValueError( + "You must use your personal access token, not an Organization token" + " (see https://hf.co/settings/tokens)." + ) + + hub_url = self.client.endpoint + if hub_url in repo_url or ("http" not in repo_url and len(repo_url.split("/")) <= 2): + repo_type, namespace, repo_name = repo_type_and_id_from_hf_id(repo_url, hub_url=hub_url) + repo_id = f"{namespace}/{repo_name}" if namespace is not None else repo_name + + if repo_type is not None: + self._repo_type = repo_type + + repo_url = hub_url + "/" + + if self._repo_type in REPO_TYPES_URL_PREFIXES: + repo_url += REPO_TYPES_URL_PREFIXES[self._repo_type] + + if token is not None: + # Add token in git url when provided + scheme = urlparse(repo_url).scheme + repo_url = repo_url.replace(f"{scheme}://", f"{scheme}://user:{token}@") + + repo_url += repo_id + + # For error messages, it's cleaner to show the repo url without the token. + clean_repo_url = re.sub(r"(https?)://.*@", r"\1://", repo_url) + try: + run_subprocess("git lfs install", self.local_dir) + + # checks if repository is initialized in a empty repository or in one with files + if len(os.listdir(self.local_dir)) == 0: + logger.warning(f"Cloning {clean_repo_url} into local empty directory.") + + with _lfs_log_progress(): + env = os.environ.copy() + + if self.skip_lfs_files: + env.update({"GIT_LFS_SKIP_SMUDGE": "1"}) + + run_subprocess( + # 'git lfs clone' is deprecated (will display a warning in the terminal) + # but we still use it as it provides a nicer UX when downloading large + # files (shows progress). + f"{'git clone' if self.skip_lfs_files else 'git lfs clone'} {repo_url} .", + self.local_dir, + env=env, + ) + else: + # Check if the folder is the root of a git repository + if not is_git_repo(self.local_dir): + raise EnvironmentError( + "Tried to clone a repository in a non-empty folder that isn't" + f" a git repository ('{self.local_dir}'). If you really want to" + f" do this, do it manually:\n cd {self.local_dir} && git init" + " && git remote add origin && git pull origin main\n or clone" + " repo to a new folder and move your existing files there" + " afterwards." + ) + + if is_local_clone(self.local_dir, repo_url): + logger.warning( + f"{self.local_dir} is already a clone of {clean_repo_url}." + " Make sure you pull the latest changes with" + " `repo.git_pull()`." + ) + else: + output = run_subprocess("git remote get-url origin", self.local_dir, check=False) + + error_msg = ( + f"Tried to clone {clean_repo_url} in an unrelated git" + " repository.\nIf you believe this is an error, please add" + f" a remote with the following URL: {clean_repo_url}." + ) + if output.returncode == 0: + clean_local_remote_url = re.sub(r"https://.*@", "https://", output.stdout) + error_msg += f"\nLocal path has its origin defined as: {clean_local_remote_url}" + raise EnvironmentError(error_msg) + + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def git_config_username_and_email(self, git_user: Optional[str] = None, git_email: Optional[str] = None): + """ + Sets git username and email (only in the current repo). + + Args: + git_user (`str`, *optional*): + The username to register through `git`. + git_email (`str`, *optional*): + The email to register through `git`. + """ + try: + if git_user is not None: + run_subprocess("git config user.name".split() + [git_user], self.local_dir) + + if git_email is not None: + run_subprocess(f"git config user.email {git_email}".split(), self.local_dir) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def git_credential_helper_store(self): + """ + Sets the git credential helper to `store` + """ + try: + run_subprocess("git config credential.helper store", self.local_dir) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def git_head_hash(self) -> str: + """ + Get commit sha on top of HEAD. + + Returns: + `str`: The current checked out commit SHA. + """ + try: + p = run_subprocess("git rev-parse HEAD", self.local_dir) + return p.stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def git_remote_url(self) -> str: + """ + Get URL to origin remote. + + Returns: + `str`: The URL of the `origin` remote. + """ + try: + p = run_subprocess("git config --get remote.origin.url", self.local_dir) + url = p.stdout.strip() + # Strip basic auth info. + return re.sub(r"https://.*@", "https://", url) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def git_head_commit_url(self) -> str: + """ + Get URL to last commit on HEAD. We assume it's been pushed, and the url + scheme is the same one as for GitHub or HuggingFace. + + Returns: + `str`: The URL to the current checked-out commit. + """ + sha = self.git_head_hash() + url = self.git_remote_url() + if url.endswith("/"): + url = url[:-1] + return f"{url}/commit/{sha}" + + def list_deleted_files(self) -> List[str]: + """ + Returns a list of the files that are deleted in the working directory or + index. + + Returns: + `List[str]`: A list of files that have been deleted in the working + directory or index. + """ + try: + git_status = run_subprocess("git status -s", self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + if len(git_status) == 0: + return [] + + # Receives a status like the following + # D .gitignore + # D new_file.json + # AD new_file1.json + # ?? new_file2.json + # ?? new_file4.json + + # Strip each line of whitespaces + modified_files_statuses = [status.strip() for status in git_status.split("\n")] + + # Only keep files that are deleted using the D prefix + deleted_files_statuses = [status for status in modified_files_statuses if "D" in status.split()[0]] + + # Remove the D prefix and strip to keep only the relevant filename + deleted_files = [status.split()[-1].strip() for status in deleted_files_statuses] + + return deleted_files + + def lfs_track(self, patterns: Union[str, List[str]], filename: bool = False): + """ + Tell git-lfs to track files according to a pattern. + + Setting the `filename` argument to `True` will treat the arguments as + literal filenames, not as patterns. Any special glob characters in the + filename will be escaped when writing to the `.gitattributes` file. + + Args: + patterns (`Union[str, List[str]]`): + The pattern, or list of patterns, to track with git-lfs. + filename (`bool`, *optional*, defaults to `False`): + Whether to use the patterns as literal filenames. + """ + if isinstance(patterns, str): + patterns = [patterns] + try: + for pattern in patterns: + run_subprocess( + f"git lfs track {'--filename' if filename else ''} {pattern}", + self.local_dir, + ) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def lfs_untrack(self, patterns: Union[str, List[str]]): + """ + Tell git-lfs to untrack those files. + + Args: + patterns (`Union[str, List[str]]`): + The pattern, or list of patterns, to untrack with git-lfs. + """ + if isinstance(patterns, str): + patterns = [patterns] + try: + for pattern in patterns: + run_subprocess("git lfs untrack".split() + [pattern], self.local_dir) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def lfs_enable_largefiles(self): + """ + HF-specific. This enables upload support of files >5GB. + """ + try: + lfs_config = "git config lfs.customtransfer.multipart" + run_subprocess(f"{lfs_config}.path huggingface-cli", self.local_dir) + run_subprocess( + f"{lfs_config}.args {LFS_MULTIPART_UPLOAD_COMMAND}", + self.local_dir, + ) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def auto_track_binary_files(self, pattern: str = ".") -> List[str]: + """ + Automatically track binary files with git-lfs. + + Args: + pattern (`str`, *optional*, defaults to "."): + The pattern with which to track files that are binary. + + Returns: + `List[str]`: List of filenames that are now tracked due to being + binary files + """ + files_to_be_tracked_with_lfs = [] + + deleted_files = self.list_deleted_files() + + for filename in files_to_be_staged(pattern, folder=self.local_dir): + if filename in deleted_files: + continue + + path_to_file = os.path.join(os.getcwd(), self.local_dir, filename) + + if not (is_tracked_with_lfs(path_to_file) or is_git_ignored(path_to_file)): + size_in_mb = os.path.getsize(path_to_file) / (1024 * 1024) + + if size_in_mb >= 10: + logger.warning( + "Parsing a large file to check if binary or not. Tracking large" + " files using `repository.auto_track_large_files` is" + " recommended so as to not load the full file in memory." + ) + + is_binary = is_binary_file(path_to_file) + + if is_binary: + self.lfs_track(filename) + files_to_be_tracked_with_lfs.append(filename) + + # Cleanup the .gitattributes if files were deleted + self.lfs_untrack(deleted_files) + + return files_to_be_tracked_with_lfs + + def auto_track_large_files(self, pattern: str = ".") -> List[str]: + """ + Automatically track large files (files that weigh more than 10MBs) with + git-lfs. + + Args: + pattern (`str`, *optional*, defaults to "."): + The pattern with which to track files that are above 10MBs. + + Returns: + `List[str]`: List of filenames that are now tracked due to their + size. + """ + files_to_be_tracked_with_lfs = [] + + deleted_files = self.list_deleted_files() + + for filename in files_to_be_staged(pattern, folder=self.local_dir): + if filename in deleted_files: + continue + + path_to_file = os.path.join(os.getcwd(), self.local_dir, filename) + size_in_mb = os.path.getsize(path_to_file) / (1024 * 1024) + + if size_in_mb >= 10 and not is_tracked_with_lfs(path_to_file) and not is_git_ignored(path_to_file): + self.lfs_track(filename) + files_to_be_tracked_with_lfs.append(filename) + + # Cleanup the .gitattributes if files were deleted + self.lfs_untrack(deleted_files) + + return files_to_be_tracked_with_lfs + + def lfs_prune(self, recent=False): + """ + git lfs prune + + Args: + recent (`bool`, *optional*, defaults to `False`): + Whether to prune files even if they were referenced by recent + commits. See the following + [link](https://github.com/git-lfs/git-lfs/blob/f3d43f0428a84fc4f1e5405b76b5a73ec2437e65/docs/man/git-lfs-prune.1.ronn#recent-files) + for more information. + """ + try: + with _lfs_log_progress(): + result = run_subprocess(f"git lfs prune {'--recent' if recent else ''}", self.local_dir) + logger.info(result.stdout) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def git_pull(self, rebase: bool = False, lfs: bool = False): + """ + git pull + + Args: + rebase (`bool`, *optional*, defaults to `False`): + Whether to rebase the current branch on top of the upstream + branch after fetching. + lfs (`bool`, *optional*, defaults to `False`): + Whether to fetch the LFS files too. This option only changes the + behavior when a repository was cloned without fetching the LFS + files; calling `repo.git_pull(lfs=True)` will then fetch the LFS + file from the remote repository. + """ + command = "git pull" if not lfs else "git lfs pull" + if rebase: + command += " --rebase" + try: + with _lfs_log_progress(): + result = run_subprocess(command, self.local_dir) + logger.info(result.stdout) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def git_add(self, pattern: str = ".", auto_lfs_track: bool = False): + """ + git add + + Setting the `auto_lfs_track` parameter to `True` will automatically + track files that are larger than 10MB with `git-lfs`. + + Args: + pattern (`str`, *optional*, defaults to "."): + The pattern with which to add files to staging. + auto_lfs_track (`bool`, *optional*, defaults to `False`): + Whether to automatically track large and binary files with + git-lfs. Any file over 10MB in size, or in binary format, will + be automatically tracked. + """ + if auto_lfs_track: + # Track files according to their size (>=10MB) + tracked_files = self.auto_track_large_files(pattern) + + # Read the remaining files and track them if they're binary + tracked_files.extend(self.auto_track_binary_files(pattern)) + + if tracked_files: + logger.warning( + f"Adding files tracked by Git LFS: {tracked_files}. This may take a" + " bit of time if the files are large." + ) + + try: + result = run_subprocess("git add -v".split() + [pattern], self.local_dir) + logger.info(f"Adding to index:\n{result.stdout}\n") + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def git_commit(self, commit_message: str = "commit files to HF hub"): + """ + git commit + + Args: + commit_message (`str`, *optional*, defaults to "commit files to HF hub"): + The message attributed to the commit. + """ + try: + result = run_subprocess("git commit -v -m".split() + [commit_message], self.local_dir) + logger.info(f"Committed:\n{result.stdout}\n") + except subprocess.CalledProcessError as exc: + if len(exc.stderr) > 0: + raise EnvironmentError(exc.stderr) + else: + raise EnvironmentError(exc.stdout) + + def git_push( + self, + upstream: Optional[str] = None, + blocking: bool = True, + auto_lfs_prune: bool = False, + ) -> Union[str, Tuple[str, CommandInProgress]]: + """ + git push + + If used without setting `blocking`, will return url to commit on remote + repo. If used with `blocking=True`, will return a tuple containing the + url to commit and the command object to follow for information about the + process. + + Args: + upstream (`str`, *optional*): + Upstream to which this should push. If not specified, will push + to the lastly defined upstream or to the default one (`origin + main`). + blocking (`bool`, *optional*, defaults to `True`): + Whether the function should return only when the push has + finished. Setting this to `False` will return an + `CommandInProgress` object which has an `is_done` property. This + property will be set to `True` when the push is finished. + auto_lfs_prune (`bool`, *optional*, defaults to `False`): + Whether to automatically prune files once they have been pushed + to the remote. + """ + command = "git push" + + if upstream: + command += f" --set-upstream {upstream}" + + number_of_commits = commits_to_push(self.local_dir, upstream) + + if number_of_commits > 1: + logger.warning(f"Several commits ({number_of_commits}) will be pushed upstream.") + if blocking: + logger.warning("The progress bars may be unreliable.") + + try: + with _lfs_log_progress(): + process = subprocess.Popen( + command.split(), + stderr=subprocess.PIPE, + stdout=subprocess.PIPE, + encoding="utf-8", + cwd=self.local_dir, + ) + + if blocking: + stdout, stderr = process.communicate() + return_code = process.poll() + process.kill() + + if len(stderr): + logger.warning(stderr) + + if return_code: + raise subprocess.CalledProcessError(return_code, process.args, output=stdout, stderr=stderr) + + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + if not blocking: + + def status_method(): + status = process.poll() + if status is None: + return -1 + else: + return status + + command_in_progress = CommandInProgress( + "push", + is_done_method=lambda: process.poll() is not None, + status_method=status_method, + process=process, + post_method=self.lfs_prune if auto_lfs_prune else None, + ) + + self.command_queue.append(command_in_progress) + + return self.git_head_commit_url(), command_in_progress + + if auto_lfs_prune: + self.lfs_prune() + + return self.git_head_commit_url() + + def git_checkout(self, revision: str, create_branch_ok: bool = False): + """ + git checkout a given revision + + Specifying `create_branch_ok` to `True` will create the branch to the + given revision if that revision doesn't exist. + + Args: + revision (`str`): + The revision to checkout. + create_branch_ok (`str`, *optional*, defaults to `False`): + Whether creating a branch named with the `revision` passed at + the current checked-out reference if `revision` isn't an + existing revision is allowed. + """ + try: + result = run_subprocess(f"git checkout {revision}", self.local_dir) + logger.warning(f"Checked out {revision} from {self.current_branch}.") + logger.warning(result.stdout) + except subprocess.CalledProcessError as exc: + if not create_branch_ok: + raise EnvironmentError(exc.stderr) + else: + try: + result = run_subprocess(f"git checkout -b {revision}", self.local_dir) + logger.warning( + f"Revision `{revision}` does not exist. Created and checked out branch `{revision}`." + ) + logger.warning(result.stdout) + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def tag_exists(self, tag_name: str, remote: Optional[str] = None) -> bool: + """ + Check if a tag exists or not. + + Args: + tag_name (`str`): + The name of the tag to check. + remote (`str`, *optional*): + Whether to check if the tag exists on a remote. This parameter + should be the identifier of the remote. + + Returns: + `bool`: Whether the tag exists. + """ + if remote: + try: + result = run_subprocess(f"git ls-remote origin refs/tags/{tag_name}", self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + return len(result) != 0 + else: + try: + git_tags = run_subprocess("git tag", self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + git_tags = git_tags.split("\n") + return tag_name in git_tags + + def delete_tag(self, tag_name: str, remote: Optional[str] = None) -> bool: + """ + Delete a tag, both local and remote, if it exists + + Args: + tag_name (`str`): + The tag name to delete. + remote (`str`, *optional*): + The remote on which to delete the tag. + + Returns: + `bool`: `True` if deleted, `False` if the tag didn't exist. + If remote is not passed, will just be updated locally + """ + delete_locally = True + delete_remotely = True + + if not self.tag_exists(tag_name): + delete_locally = False + + if not self.tag_exists(tag_name, remote=remote): + delete_remotely = False + + if delete_locally: + try: + run_subprocess(["git", "tag", "-d", tag_name], self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + if remote and delete_remotely: + try: + run_subprocess(f"git push {remote} --delete {tag_name}", self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + return True + + def add_tag(self, tag_name: str, message: Optional[str] = None, remote: Optional[str] = None): + """ + Add a tag at the current head and push it + + If remote is None, will just be updated locally + + If no message is provided, the tag will be lightweight. if a message is + provided, the tag will be annotated. + + Args: + tag_name (`str`): + The name of the tag to be added. + message (`str`, *optional*): + The message that accompanies the tag. The tag will turn into an + annotated tag if a message is passed. + remote (`str`, *optional*): + The remote on which to add the tag. + """ + if message: + tag_args = ["git", "tag", "-a", tag_name, "-m", message] + else: + tag_args = ["git", "tag", tag_name] + + try: + run_subprocess(tag_args, self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + if remote: + try: + run_subprocess(f"git push {remote} {tag_name}", self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + def is_repo_clean(self) -> bool: + """ + Return whether or not the git status is clean or not + + Returns: + `bool`: `True` if the git status is clean, `False` otherwise. + """ + try: + git_status = run_subprocess("git status --porcelain", self.local_dir).stdout.strip() + except subprocess.CalledProcessError as exc: + raise EnvironmentError(exc.stderr) + + return len(git_status) == 0 + + def push_to_hub( + self, + commit_message: str = "commit files to HF hub", + blocking: bool = True, + clean_ok: bool = True, + auto_lfs_prune: bool = False, + ) -> Union[None, str, Tuple[str, CommandInProgress]]: + """ + Helper to add, commit, and push files to remote repository on the + HuggingFace Hub. Will automatically track large files (>10MB). + + Args: + commit_message (`str`): + Message to use for the commit. + blocking (`bool`, *optional*, defaults to `True`): + Whether the function should return only when the `git push` has + finished. + clean_ok (`bool`, *optional*, defaults to `True`): + If True, this function will return None if the repo is + untouched. Default behavior is to fail because the git command + fails. + auto_lfs_prune (`bool`, *optional*, defaults to `False`): + Whether to automatically prune files once they have been pushed + to the remote. + """ + if clean_ok and self.is_repo_clean(): + logger.info("Repo currently clean. Ignoring push_to_hub") + return None + self.git_add(auto_lfs_track=True) + self.git_commit(commit_message) + return self.git_push( + upstream=f"origin {self.current_branch}", + blocking=blocking, + auto_lfs_prune=auto_lfs_prune, + ) + + @contextmanager + def commit( + self, + commit_message: str, + branch: Optional[str] = None, + track_large_files: bool = True, + blocking: bool = True, + auto_lfs_prune: bool = False, + ): + """ + Context manager utility to handle committing to a repository. This + automatically tracks large files (>10Mb) with git-lfs. Set the + `track_large_files` argument to `False` if you wish to ignore that + behavior. + + Args: + commit_message (`str`): + Message to use for the commit. + branch (`str`, *optional*): + The branch on which the commit will appear. This branch will be + checked-out before any operation. + track_large_files (`bool`, *optional*, defaults to `True`): + Whether to automatically track large files or not. Will do so by + default. + blocking (`bool`, *optional*, defaults to `True`): + Whether the function should return only when the `git push` has + finished. + auto_lfs_prune (`bool`, defaults to `True`): + Whether to automatically prune files once they have been pushed + to the remote. + + Examples: + + ```python + >>> with Repository( + ... "text-files", + ... clone_from="/text-files", + ... token=True, + >>> ).commit("My first file :)"): + ... with open("file.txt", "w+") as f: + ... f.write(json.dumps({"hey": 8})) + + >>> import torch + + >>> model = torch.nn.Transformer() + >>> with Repository( + ... "torch-model", + ... clone_from="/torch-model", + ... token=True, + >>> ).commit("My cool model :)"): + ... torch.save(model.state_dict(), "model.pt") + ``` + + """ + + files_to_stage = files_to_be_staged(".", folder=self.local_dir) + + if len(files_to_stage): + files_in_msg = str(files_to_stage[:5])[:-1] + ", ...]" if len(files_to_stage) > 5 else str(files_to_stage) + logger.error( + "There exists some updated files in the local repository that are not" + f" committed: {files_in_msg}. This may lead to errors if checking out" + " a branch. These files and their modifications will be added to the" + " current commit." + ) + + if branch is not None: + self.git_checkout(branch, create_branch_ok=True) + + if is_tracked_upstream(self.local_dir): + logger.warning("Pulling changes ...") + self.git_pull(rebase=True) + else: + logger.warning(f"The current branch has no upstream branch. Will push to 'origin {self.current_branch}'") + + current_working_directory = os.getcwd() + os.chdir(os.path.join(current_working_directory, self.local_dir)) + + try: + yield self + finally: + self.git_add(auto_lfs_track=track_large_files) + + try: + self.git_commit(commit_message) + except OSError as e: + # If no changes are detected, there is nothing to commit. + if "nothing to commit" not in str(e): + raise e + + try: + self.git_push( + upstream=f"origin {self.current_branch}", + blocking=blocking, + auto_lfs_prune=auto_lfs_prune, + ) + except OSError as e: + # If no changes are detected, there is nothing to commit. + if "could not read Username" in str(e): + raise OSError("Couldn't authenticate user for push. Did you set `token` to `True`?") from e + else: + raise e + + os.chdir(current_working_directory) + + def repocard_metadata_load(self) -> Optional[Dict]: + filepath = os.path.join(self.local_dir, REPOCARD_NAME) + if os.path.isfile(filepath): + return metadata_load(filepath) + return None + + def repocard_metadata_save(self, data: Dict) -> None: + return metadata_save(os.path.join(self.local_dir, REPOCARD_NAME), data) + + @property + def commands_failed(self): + """ + Returns the asynchronous commands that failed. + """ + return [c for c in self.command_queue if c.status > 0] + + @property + def commands_in_progress(self): + """ + Returns the asynchronous commands that are currently in progress. + """ + return [c for c in self.command_queue if not c.is_done] + + def wait_for_commands(self): + """ + Blocking method: blocks all subsequent execution until all commands have + been processed. + """ + index = 0 + for command_failed in self.commands_failed: + logger.error(f"The {command_failed.title} command with PID {command_failed._process.pid} failed.") + logger.error(command_failed.stderr) + + while self.commands_in_progress: + if index % 10 == 0: + logger.warning( + f"Waiting for the following commands to finish before shutting down: {self.commands_in_progress}." + ) + + index += 1 + + time.sleep(1) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/INSTALLER b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/INSTALLER new file mode 100644 index 0000000000000000000000000000000000000000..a1b589e38a32041e49332e5e81c2d363dc418d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/METADATA b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..6aaf99d785b2ce787bbdf915ccc96f7f3547c47d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/METADATA @@ -0,0 +1,177 @@ +Metadata-Version: 2.1 +Name: jsonschema +Version: 4.20.0 +Summary: An implementation of JSON Schema validation for Python +Project-URL: Documentation, https://python-jsonschema.readthedocs.io/ +Project-URL: Homepage, https://github.com/python-jsonschema/jsonschema +Project-URL: Issues, https://github.com/python-jsonschema/jsonschema/issues/ +Project-URL: Funding, https://github.com/sponsors/Julian +Project-URL: Tidelift, https://tidelift.com/subscription/pkg/pypi-jsonschema?utm_source=pypi-jsonschema&utm_medium=referral&utm_campaign=pypi-link +Project-URL: Changelog, https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst +Project-URL: Source, https://github.com/python-jsonschema/jsonschema +Author: Julian Berman +Author-email: Julian+jsonschema@GrayVines.com +License: MIT +License-File: COPYING +Keywords: data validation,json,jsonschema,validation +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Topic :: File Formats :: JSON +Classifier: Topic :: File Formats :: JSON :: JSON Schema +Requires-Python: >=3.8 +Requires-Dist: attrs>=22.2.0 +Requires-Dist: importlib-resources>=1.4.0; python_version < '3.9' +Requires-Dist: jsonschema-specifications>=2023.03.6 +Requires-Dist: pkgutil-resolve-name>=1.3.10; python_version < '3.9' +Requires-Dist: referencing>=0.28.4 +Requires-Dist: rpds-py>=0.7.1 +Provides-Extra: format +Requires-Dist: fqdn; extra == 'format' +Requires-Dist: idna; extra == 'format' +Requires-Dist: isoduration; extra == 'format' +Requires-Dist: jsonpointer>1.13; extra == 'format' +Requires-Dist: rfc3339-validator; extra == 'format' +Requires-Dist: rfc3987; extra == 'format' +Requires-Dist: uri-template; extra == 'format' +Requires-Dist: webcolors>=1.11; extra == 'format' +Provides-Extra: format-nongpl +Requires-Dist: fqdn; extra == 'format-nongpl' +Requires-Dist: idna; extra == 'format-nongpl' +Requires-Dist: isoduration; extra == 'format-nongpl' +Requires-Dist: jsonpointer>1.13; extra == 'format-nongpl' +Requires-Dist: rfc3339-validator; extra == 'format-nongpl' +Requires-Dist: rfc3986-validator>0.1.0; extra == 'format-nongpl' +Requires-Dist: uri-template; extra == 'format-nongpl' +Requires-Dist: webcolors>=1.11; extra == 'format-nongpl' +Description-Content-Type: text/x-rst + +========== +jsonschema +========== + +|PyPI| |Pythons| |CI| |ReadTheDocs| |Precommit| |Zenodo| + +.. |PyPI| image:: https://img.shields.io/pypi/v/jsonschema.svg + :alt: PyPI version + :target: https://pypi.org/project/jsonschema/ + +.. |Pythons| image:: https://img.shields.io/pypi/pyversions/jsonschema.svg + :alt: Supported Python versions + :target: https://pypi.org/project/jsonschema/ + +.. |CI| image:: https://github.com/python-jsonschema/jsonschema/workflows/CI/badge.svg + :alt: Build status + :target: https://github.com/python-jsonschema/jsonschema/actions?query=workflow%3ACI + +.. |ReadTheDocs| image:: https://readthedocs.org/projects/python-jsonschema/badge/?version=stable&style=flat + :alt: ReadTheDocs status + :target: https://python-jsonschema.readthedocs.io/en/stable/ + +.. |Precommit| image:: https://results.pre-commit.ci/badge/github/python-jsonschema/jsonschema/main.svg + :alt: pre-commit.ci status + :target: https://results.pre-commit.ci/latest/github/python-jsonschema/jsonschema/main + +.. |Zenodo| image:: https://zenodo.org/badge/3072629.svg + :alt: Zenodo DOI + :target: https://zenodo.org/badge/latestdoi/3072629 + + +``jsonschema`` is an implementation of the `JSON Schema `_ specification for Python. + +.. code:: python + + >>> from jsonschema import validate + + >>> # A sample schema, like what we'd get from json.load() + >>> schema = { + ... "type" : "object", + ... "properties" : { + ... "price" : {"type" : "number"}, + ... "name" : {"type" : "string"}, + ... }, + ... } + + >>> # If no exception is raised by validate(), the instance is valid. + >>> validate(instance={"name" : "Eggs", "price" : 34.99}, schema=schema) + + >>> validate( + ... instance={"name" : "Eggs", "price" : "Invalid"}, schema=schema, + ... ) # doctest: +IGNORE_EXCEPTION_DETAIL + Traceback (most recent call last): + ... + ValidationError: 'Invalid' is not of type 'number' + +It can also be used from the command line by installing `check-jsonschema `_. + +Features +-------- + +* Full support for `Draft 2020-12 `_, `Draft 2019-09 `_, `Draft 7 `_, `Draft 6 `_, `Draft 4 `_ and `Draft 3 `_ + +* `Lazy validation `_ that can iteratively report *all* validation errors. + +* `Programmatic querying `_ of which properties or items failed validation. + + +Installation +------------ + +``jsonschema`` is available on `PyPI `_. You can install using `pip `_: + +.. code:: bash + + $ pip install jsonschema + + +Extras +====== + +Two extras are available when installing the package, both currently related to ``format`` validation: + + * ``format`` + * ``format-nongpl`` + +They can be used when installing in order to include additional dependencies, e.g.: + +.. code:: bash + + $ pip install jsonschema'[format]' + +Be aware that the mere presence of these dependencies – or even the specification of ``format`` checks in a schema – do *not* activate format checks (as per the specification). +Please read the `format validation documentation `_ for further details. + +About +----- + +I'm Julian Berman. + +``jsonschema`` is on `GitHub `_. + +Get in touch, via GitHub or otherwise, if you've got something to contribute, it'd be most welcome! + +You can also generally find me on Libera (nick: ``Julian``) in various channels, including ``#python``. + +If you feel overwhelmingly grateful, you can also `sponsor me `_. + +And for companies who appreciate ``jsonschema`` and its continued support and growth, ``jsonschema`` is also now supportable via `TideLift `_. + + +Release Information +------------------- + +v4.20.0 +======= + +* Properly consider items (and properties) to be evaluated by ``unevaluatedItems`` (resp. ``unevaluatedProperties``) when behind a ``$dynamicRef`` as specified by the 2020 and 2019 specifications. +* ``jsonschema.exceptions.ErrorTree.__setitem__`` is now deprecated. + More broadly, in general users of ``jsonschema`` should never be mutating objects owned by the library. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/RECORD b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/RECORD new file mode 100644 index 0000000000000000000000000000000000000000..780858991c827e27df8a2d60180560693a905b73 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/RECORD @@ -0,0 +1,69 @@ +../../../bin/jsonschema,sha256=CtqArB-t-qzmZsVqkkqNMvCgsVGcYmuVq-EZo273DLk,221 +jsonschema-4.20.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +jsonschema-4.20.0.dist-info/METADATA,sha256=wDoqdIUwZ8n2NOlLv7m1iLMKkxMTAup3BbgAF2ujLBM,8092 +jsonschema-4.20.0.dist-info/RECORD,, +jsonschema-4.20.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +jsonschema-4.20.0.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87 +jsonschema-4.20.0.dist-info/entry_points.txt,sha256=vO7rX4Fs_xIVJy2pnAtKgTSxfpnozAVQ0DjCmpMxnWE,51 +jsonschema-4.20.0.dist-info/licenses/COPYING,sha256=T5KgFaE8TRoEC-8BiqE0MLTxvHO0Gxa7hGw0Z2bedDk,1057 +jsonschema/__init__.py,sha256=LkPwscySlJ9lTOp7ZB1M7jQ8mbG7-bYG41iBwbZ-o9s,3941 +jsonschema/__main__.py,sha256=iLsZf2upUB3ilBKTlMnyK-HHt2Cnnfkwwxi_c6gLvSA,115 +jsonschema/__pycache__/__init__.cpython-312.pyc,, +jsonschema/__pycache__/__main__.cpython-312.pyc,, +jsonschema/__pycache__/_format.cpython-312.pyc,, +jsonschema/__pycache__/_keywords.cpython-312.pyc,, +jsonschema/__pycache__/_legacy_keywords.cpython-312.pyc,, +jsonschema/__pycache__/_types.cpython-312.pyc,, +jsonschema/__pycache__/_typing.cpython-312.pyc,, +jsonschema/__pycache__/_utils.cpython-312.pyc,, +jsonschema/__pycache__/cli.cpython-312.pyc,, +jsonschema/__pycache__/exceptions.cpython-312.pyc,, +jsonschema/__pycache__/protocols.cpython-312.pyc,, +jsonschema/__pycache__/validators.cpython-312.pyc,, +jsonschema/_format.py,sha256=OTCvvvKKmk7SGUa8N31CVpiMxF7cZ9l1WO2trR4kjB8,14773 +jsonschema/_keywords.py,sha256=XH_6ed-ElmQ0kL3CbPHSAMIdJroikdhDXFsln5BaYdA,14592 +jsonschema/_legacy_keywords.py,sha256=4zI2iaIzQBdeHT1MbiNt77HLEvjNW3Vz_rB1jPIL-jI,15288 +jsonschema/_types.py,sha256=cQYlNKvI2UkxaoHfOVrQJ_JgsWxU0PYJ5E19XlnQ-J4,5352 +jsonschema/_typing.py,sha256=NZhPhkBOn9INYZk8G69rDeuRamztgXCMLh10z9cfT6g,610 +jsonschema/_utils.py,sha256=_NX2kZkpV_I_uwFfUggZEQUErEqY-f_it8vJSkXKaG4,10667 +jsonschema/benchmarks/__init__.py,sha256=A0sQrxDBVHSyQ-8ru3L11hMXf3q9gVuB9x_YgHb4R9M,70 +jsonschema/benchmarks/__pycache__/__init__.cpython-312.pyc,, +jsonschema/benchmarks/__pycache__/issue232.cpython-312.pyc,, +jsonschema/benchmarks/__pycache__/json_schema_test_suite.cpython-312.pyc,, +jsonschema/benchmarks/__pycache__/nested_schemas.cpython-312.pyc,, +jsonschema/benchmarks/__pycache__/subcomponents.cpython-312.pyc,, +jsonschema/benchmarks/__pycache__/unused_registry.cpython-312.pyc,, +jsonschema/benchmarks/__pycache__/validator_creation.cpython-312.pyc,, +jsonschema/benchmarks/issue232.py,sha256=3LLYLIlBGQnVuyyo2iAv-xky5P6PRFHANx4-zIIQOoE,521 +jsonschema/benchmarks/issue232/issue.json,sha256=eaPOZjMRu5u8RpKrsA9uk7ucPZS5tkKG4D_hkOTQ3Hk,117105 +jsonschema/benchmarks/json_schema_test_suite.py,sha256=PvfabpUYcF4_7csYDTcTauED8rnFEGYbdY5RqTXD08s,320 +jsonschema/benchmarks/nested_schemas.py,sha256=JyK95iIABBmku7AIHpRhr9XKYAxZ1-g1Qh84oRT8FPU,1891 +jsonschema/benchmarks/subcomponents.py,sha256=mfWy04Ibrn2Yeu5RlwoWa1eGfOU1L2UOjusRXgRnCeM,1112 +jsonschema/benchmarks/unused_registry.py,sha256=Rf1H2Mw79YzDfkjnI-6-FFrXpR-N9NMel5qvht6Vbf4,939 +jsonschema/benchmarks/validator_creation.py,sha256=UkUQlLAnussnr_KdCIdad6xx2pXxQLmYtsXoiirKeWQ,285 +jsonschema/cli.py,sha256=Xj1RxubUSWti9epUFUostExxuOOOiZ3bMYzHLnV2pN0,8431 +jsonschema/exceptions.py,sha256=qDpHDnBWNKrGCOsRA-4kFBlhac7igY2nS5FfN-CpgQk,13928 +jsonschema/protocols.py,sha256=6OQ_ME0-rB0jfCkDpbKqqb4gFM0G0NUw6S38hszNBI0,7160 +jsonschema/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +jsonschema/tests/__pycache__/__init__.cpython-312.pyc,, +jsonschema/tests/__pycache__/_suite.cpython-312.pyc,, +jsonschema/tests/__pycache__/fuzz_validate.cpython-312.pyc,, +jsonschema/tests/__pycache__/test_cli.cpython-312.pyc,, +jsonschema/tests/__pycache__/test_deprecations.cpython-312.pyc,, +jsonschema/tests/__pycache__/test_exceptions.cpython-312.pyc,, +jsonschema/tests/__pycache__/test_format.cpython-312.pyc,, +jsonschema/tests/__pycache__/test_jsonschema_test_suite.cpython-312.pyc,, +jsonschema/tests/__pycache__/test_types.cpython-312.pyc,, +jsonschema/tests/__pycache__/test_utils.cpython-312.pyc,, +jsonschema/tests/__pycache__/test_validators.cpython-312.pyc,, +jsonschema/tests/_suite.py,sha256=KMPsJ5Rvo3QuZL5emoIBYMatwIJsOxYCKwxb0jU3lZg,8062 +jsonschema/tests/fuzz_validate.py,sha256=fUA7yTJIihaCwJplkUehZeyB84HcXEcqtY5oPJXIO7I,1114 +jsonschema/tests/test_cli.py,sha256=4yK21qvPgsopcoW4DEmbze3Tc5h-gJKQJKGeAKDf9pA,28571 +jsonschema/tests/test_deprecations.py,sha256=eLIBCeAmSrGzN81LiVFuLOf_8CThcwiQ7XvaazPis74,15712 +jsonschema/tests/test_exceptions.py,sha256=8F39-3_jHgg4OvL7ynHMVNZpaOiWoF79mPM4LltnYxA,20122 +jsonschema/tests/test_format.py,sha256=eVm5SMaWF2lOPO28bPAwNvkiQvHCQKy-MnuAgEchfEc,3188 +jsonschema/tests/test_jsonschema_test_suite.py,sha256=xhqkEpVPUVM4TK_eZ1o4QojpkFFlAZi6_0GdMEXpvcQ,8084 +jsonschema/tests/test_types.py,sha256=cF51KTDmdsx06MrIc4fXKt0X9fIsVgw5uhT8CamVa8U,6977 +jsonschema/tests/test_utils.py,sha256=lJRVYyQeZQTUCTU_M3BhlkxPMgjsc8KQCd7U_Qkook8,3749 +jsonschema/tests/test_validators.py,sha256=h1S9CJtbukON_SZO5hwgS9y-Bob2Lrk7RxpQC-Ku7Kk,86856 +jsonschema/validators.py,sha256=LV66AJIO--llPArzpj_MODJNpdcxep1q4zzxj4QIx6U,46303 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/REQUESTED b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/REQUESTED new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/WHEEL b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/WHEEL new file mode 100644 index 0000000000000000000000000000000000000000..ba1a8af28bcccdacebb8c22dfda1537447a1a58a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/WHEEL @@ -0,0 +1,4 @@ +Wheel-Version: 1.0 +Generator: hatchling 1.18.0 +Root-Is-Purelib: true +Tag: py3-none-any diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/entry_points.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..eecef9d8fad351de6b048532776160696a796ef9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema-4.20.0.dist-info/entry_points.txt @@ -0,0 +1,2 @@ +[console_scripts] +jsonschema = jsonschema.cli:main diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..79924cf7e51665d03295ecdb7d0930bdeb806d4f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__init__.py @@ -0,0 +1,120 @@ +""" +An implementation of JSON Schema for Python. + +The main functionality is provided by the validator classes for each of the +supported JSON Schema versions. + +Most commonly, `jsonschema.validators.validate` is the quickest way to simply +validate a given instance under a schema, and will create a validator +for you. +""" +import warnings + +from jsonschema._format import FormatChecker +from jsonschema._types import TypeChecker +from jsonschema.exceptions import SchemaError, ValidationError +from jsonschema.validators import ( + Draft3Validator, + Draft4Validator, + Draft6Validator, + Draft7Validator, + Draft201909Validator, + Draft202012Validator, + validate, +) + + +def __getattr__(name): + if name == "__version__": + warnings.warn( + "Accessing jsonschema.__version__ is deprecated and will be " + "removed in a future release. Use importlib.metadata directly " + "to query for jsonschema's version.", + DeprecationWarning, + stacklevel=2, + ) + + from importlib import metadata + return metadata.version("jsonschema") + elif name == "RefResolver": + from jsonschema.validators import _RefResolver + warnings.warn( + _RefResolver._DEPRECATION_MESSAGE, + DeprecationWarning, + stacklevel=2, + ) + return _RefResolver + elif name == "ErrorTree": + warnings.warn( + "Importing ErrorTree directly from the jsonschema package " + "is deprecated and will become an ImportError. Import it from " + "jsonschema.exceptions instead.", + DeprecationWarning, + stacklevel=2, + ) + from jsonschema.exceptions import ErrorTree + return ErrorTree + elif name == "FormatError": + warnings.warn( + "Importing FormatError directly from the jsonschema package " + "is deprecated and will become an ImportError. Import it from " + "jsonschema.exceptions instead.", + DeprecationWarning, + stacklevel=2, + ) + from jsonschema.exceptions import FormatError + return FormatError + elif name == "Validator": + warnings.warn( + "Importing Validator directly from the jsonschema package " + "is deprecated and will become an ImportError. Import it from " + "jsonschema.protocols instead.", + DeprecationWarning, + stacklevel=2, + ) + from jsonschema.protocols import Validator + return Validator + elif name == "RefResolutionError": + from jsonschema.exceptions import _RefResolutionError + warnings.warn( + _RefResolutionError._DEPRECATION_MESSAGE, + DeprecationWarning, + stacklevel=2, + ) + return _RefResolutionError + + format_checkers = { + "draft3_format_checker": Draft3Validator, + "draft4_format_checker": Draft4Validator, + "draft6_format_checker": Draft6Validator, + "draft7_format_checker": Draft7Validator, + "draft201909_format_checker": Draft201909Validator, + "draft202012_format_checker": Draft202012Validator, + } + ValidatorForFormat = format_checkers.get(name) + if ValidatorForFormat is not None: + warnings.warn( + f"Accessing jsonschema.{name} is deprecated and will be " + "removed in a future release. Instead, use the FORMAT_CHECKER " + "attribute on the corresponding Validator.", + DeprecationWarning, + stacklevel=2, + ) + return ValidatorForFormat.FORMAT_CHECKER + + raise AttributeError(f"module {__name__} has no attribute {name}") + + +__all__ = [ + "Draft201909Validator", + "Draft202012Validator", + "Draft3Validator", + "Draft4Validator", + "Draft6Validator", + "Draft7Validator", + "FormatChecker", + "SchemaError", + "TypeChecker", + "ValidationError", + "validate", +] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__main__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__main__.py new file mode 100644 index 0000000000000000000000000000000000000000..fb260ae145d7518f8e8fa16ed13cc2c6173e7404 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/__main__.py @@ -0,0 +1,6 @@ +""" +The jsonschema CLI is now deprecated in favor of check-jsonschema. +""" +from jsonschema.cli import main + +main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_format.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_format.py new file mode 100644 index 0000000000000000000000000000000000000000..25d4caa7f5827bd3e21190003b0f566741e15faf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_format.py @@ -0,0 +1,522 @@ +from __future__ import annotations + +from contextlib import suppress +from uuid import UUID +import datetime +import ipaddress +import re +import typing +import warnings + +from jsonschema.exceptions import FormatError + +_FormatCheckCallable = typing.Callable[[object], bool] +#: A format checker callable. +_F = typing.TypeVar("_F", bound=_FormatCheckCallable) +_RaisesType = typing.Union[ + typing.Type[Exception], typing.Tuple[typing.Type[Exception], ...], +] + +_RE_DATE = re.compile(r"^\d{4}-\d{2}-\d{2}$", re.ASCII) + + +class FormatChecker: + """ + A ``format`` property checker. + + JSON Schema does not mandate that the ``format`` property actually do any + validation. If validation is desired however, instances of this class can + be hooked into validators to enable format validation. + + `FormatChecker` objects always return ``True`` when asked about + formats that they do not know how to validate. + + To add a check for a custom format use the `FormatChecker.checks` + decorator. + + Arguments: + + formats: + + The known formats to validate. This argument can be used to + limit which formats will be used during validation. + """ + + checkers: dict[ + str, + tuple[_FormatCheckCallable, _RaisesType], + ] = {} # noqa: RUF012 + + def __init__(self, formats: typing.Iterable[str] | None = None): + if formats is None: + formats = self.checkers.keys() + self.checkers = {k: self.checkers[k] for k in formats} + + def __repr__(self): + return f"" + + def checks( # noqa: D417 + self, format: str, raises: _RaisesType = (), + ) -> typing.Callable[[_F], _F]: + """ + Register a decorated function as validating a new format. + + Arguments: + + format: + + The format that the decorated function will check. + + raises: + + The exception(s) raised by the decorated function when an + invalid instance is found. + + The exception object will be accessible as the + `jsonschema.exceptions.ValidationError.cause` attribute of the + resulting validation error. + """ # noqa: D214,D405 (charliermarsh/ruff#3547) + + def _checks(func: _F) -> _F: + self.checkers[format] = (func, raises) + return func + + return _checks + + @classmethod + def cls_checks( + cls, format: str, raises: _RaisesType = (), + ) -> typing.Callable[[_F], _F]: + warnings.warn( + ( + "FormatChecker.cls_checks is deprecated. Call " + "FormatChecker.checks on a specific FormatChecker instance " + "instead." + ), + DeprecationWarning, + stacklevel=2, + ) + return cls._cls_checks(format=format, raises=raises) + + @classmethod + def _cls_checks( + cls, format: str, raises: _RaisesType = (), + ) -> typing.Callable[[_F], _F]: + def _checks(func: _F) -> _F: + cls.checkers[format] = (func, raises) + return func + + return _checks + + def check(self, instance: object, format: str) -> None: + """ + Check whether the instance conforms to the given format. + + Arguments: + + instance (*any primitive type*, i.e. str, number, bool): + + The instance to check + + format: + + The format that instance should conform to + + Raises: + + FormatError: + + if the instance does not conform to ``format`` + """ + if format not in self.checkers: + return + + func, raises = self.checkers[format] + result, cause = None, None + try: + result = func(instance) + except raises as e: + cause = e + if not result: + raise FormatError(f"{instance!r} is not a {format!r}", cause=cause) + + def conforms(self, instance: object, format: str) -> bool: + """ + Check whether the instance conforms to the given format. + + Arguments: + + instance (*any primitive type*, i.e. str, number, bool): + + The instance to check + + format: + + The format that instance should conform to + + Returns: + + bool: whether it conformed + """ + try: + self.check(instance, format) + except FormatError: + return False + else: + return True + + +draft3_format_checker = FormatChecker() +draft4_format_checker = FormatChecker() +draft6_format_checker = FormatChecker() +draft7_format_checker = FormatChecker() +draft201909_format_checker = FormatChecker() +draft202012_format_checker = FormatChecker() + +_draft_checkers: dict[str, FormatChecker] = dict( + draft3=draft3_format_checker, + draft4=draft4_format_checker, + draft6=draft6_format_checker, + draft7=draft7_format_checker, + draft201909=draft201909_format_checker, + draft202012=draft202012_format_checker, +) + + +def _checks_drafts( + name=None, + draft3=None, + draft4=None, + draft6=None, + draft7=None, + draft201909=None, + draft202012=None, + raises=(), +) -> typing.Callable[[_F], _F]: + draft3 = draft3 or name + draft4 = draft4 or name + draft6 = draft6 or name + draft7 = draft7 or name + draft201909 = draft201909 or name + draft202012 = draft202012 or name + + def wrap(func: _F) -> _F: + if draft3: + func = _draft_checkers["draft3"].checks(draft3, raises)(func) + if draft4: + func = _draft_checkers["draft4"].checks(draft4, raises)(func) + if draft6: + func = _draft_checkers["draft6"].checks(draft6, raises)(func) + if draft7: + func = _draft_checkers["draft7"].checks(draft7, raises)(func) + if draft201909: + func = _draft_checkers["draft201909"].checks(draft201909, raises)( + func, + ) + if draft202012: + func = _draft_checkers["draft202012"].checks(draft202012, raises)( + func, + ) + + # Oy. This is bad global state, but relied upon for now, until + # deprecation. See #519 and test_format_checkers_come_with_defaults + FormatChecker._cls_checks( + draft202012 or draft201909 or draft7 or draft6 or draft4 or draft3, + raises, + )(func) + return func + + return wrap + + +@_checks_drafts(name="idn-email") +@_checks_drafts(name="email") +def is_email(instance: object) -> bool: + if not isinstance(instance, str): + return True + return "@" in instance + + +@_checks_drafts( + draft3="ip-address", + draft4="ipv4", + draft6="ipv4", + draft7="ipv4", + draft201909="ipv4", + draft202012="ipv4", + raises=ipaddress.AddressValueError, +) +def is_ipv4(instance: object) -> bool: + if not isinstance(instance, str): + return True + return bool(ipaddress.IPv4Address(instance)) + + +@_checks_drafts(name="ipv6", raises=ipaddress.AddressValueError) +def is_ipv6(instance: object) -> bool: + if not isinstance(instance, str): + return True + address = ipaddress.IPv6Address(instance) + return not getattr(address, "scope_id", "") + + +with suppress(ImportError): + from fqdn import FQDN + + @_checks_drafts( + draft3="host-name", + draft4="hostname", + draft6="hostname", + draft7="hostname", + draft201909="hostname", + draft202012="hostname", + ) + def is_host_name(instance: object) -> bool: + if not isinstance(instance, str): + return True + return FQDN(instance, min_labels=1).is_valid + + +with suppress(ImportError): + # The built-in `idna` codec only implements RFC 3890, so we go elsewhere. + import idna + + @_checks_drafts( + draft7="idn-hostname", + draft201909="idn-hostname", + draft202012="idn-hostname", + raises=(idna.IDNAError, UnicodeError), + ) + def is_idn_host_name(instance: object) -> bool: + if not isinstance(instance, str): + return True + idna.encode(instance) + return True + + +try: + import rfc3987 +except ImportError: + with suppress(ImportError): + from rfc3986_validator import validate_rfc3986 + + @_checks_drafts(name="uri") + def is_uri(instance: object) -> bool: + if not isinstance(instance, str): + return True + return validate_rfc3986(instance, rule="URI") + + @_checks_drafts( + draft6="uri-reference", + draft7="uri-reference", + draft201909="uri-reference", + draft202012="uri-reference", + raises=ValueError, + ) + def is_uri_reference(instance: object) -> bool: + if not isinstance(instance, str): + return True + return validate_rfc3986(instance, rule="URI_reference") + +else: + + @_checks_drafts( + draft7="iri", + draft201909="iri", + draft202012="iri", + raises=ValueError, + ) + def is_iri(instance: object) -> bool: + if not isinstance(instance, str): + return True + return rfc3987.parse(instance, rule="IRI") + + @_checks_drafts( + draft7="iri-reference", + draft201909="iri-reference", + draft202012="iri-reference", + raises=ValueError, + ) + def is_iri_reference(instance: object) -> bool: + if not isinstance(instance, str): + return True + return rfc3987.parse(instance, rule="IRI_reference") + + @_checks_drafts(name="uri", raises=ValueError) + def is_uri(instance: object) -> bool: + if not isinstance(instance, str): + return True + return rfc3987.parse(instance, rule="URI") + + @_checks_drafts( + draft6="uri-reference", + draft7="uri-reference", + draft201909="uri-reference", + draft202012="uri-reference", + raises=ValueError, + ) + def is_uri_reference(instance: object) -> bool: + if not isinstance(instance, str): + return True + return rfc3987.parse(instance, rule="URI_reference") + + +with suppress(ImportError): + from rfc3339_validator import validate_rfc3339 + + @_checks_drafts(name="date-time") + def is_datetime(instance: object) -> bool: + if not isinstance(instance, str): + return True + return validate_rfc3339(instance.upper()) + + @_checks_drafts( + draft7="time", + draft201909="time", + draft202012="time", + ) + def is_time(instance: object) -> bool: + if not isinstance(instance, str): + return True + return is_datetime("1970-01-01T" + instance) + + +@_checks_drafts(name="regex", raises=re.error) +def is_regex(instance: object) -> bool: + if not isinstance(instance, str): + return True + return bool(re.compile(instance)) + + +@_checks_drafts( + draft3="date", + draft7="date", + draft201909="date", + draft202012="date", + raises=ValueError, +) +def is_date(instance: object) -> bool: + if not isinstance(instance, str): + return True + return bool( + _RE_DATE.fullmatch(instance) + and datetime.date.fromisoformat(instance) + ) + + +@_checks_drafts(draft3="time", raises=ValueError) +def is_draft3_time(instance: object) -> bool: + if not isinstance(instance, str): + return True + return bool(datetime.datetime.strptime(instance, "%H:%M:%S")) + + +with suppress(ImportError): + from webcolors import CSS21_NAMES_TO_HEX + import webcolors + + def is_css_color_code(instance: object) -> bool: + return webcolors.normalize_hex(instance) + + @_checks_drafts(draft3="color", raises=(ValueError, TypeError)) + def is_css21_color(instance: object) -> bool: + if ( + not isinstance(instance, str) + or instance.lower() in CSS21_NAMES_TO_HEX + ): + return True + return is_css_color_code(instance) + + +with suppress(ImportError): + import jsonpointer + + @_checks_drafts( + draft6="json-pointer", + draft7="json-pointer", + draft201909="json-pointer", + draft202012="json-pointer", + raises=jsonpointer.JsonPointerException, + ) + def is_json_pointer(instance: object) -> bool: + if not isinstance(instance, str): + return True + return bool(jsonpointer.JsonPointer(instance)) + + # TODO: I don't want to maintain this, so it + # needs to go either into jsonpointer (pending + # https://github.com/stefankoegl/python-json-pointer/issues/34) or + # into a new external library. + @_checks_drafts( + draft7="relative-json-pointer", + draft201909="relative-json-pointer", + draft202012="relative-json-pointer", + raises=jsonpointer.JsonPointerException, + ) + def is_relative_json_pointer(instance: object) -> bool: + # Definition taken from: + # https://tools.ietf.org/html/draft-handrews-relative-json-pointer-01#section-3 + if not isinstance(instance, str): + return True + if not instance: + return False + + non_negative_integer, rest = [], "" + for i, character in enumerate(instance): + if character.isdigit(): + # digits with a leading "0" are not allowed + if i > 0 and int(instance[i - 1]) == 0: + return False + + non_negative_integer.append(character) + continue + + if not non_negative_integer: + return False + + rest = instance[i:] + break + return (rest == "#") or bool(jsonpointer.JsonPointer(rest)) + + +with suppress(ImportError): + import uri_template + + @_checks_drafts( + draft6="uri-template", + draft7="uri-template", + draft201909="uri-template", + draft202012="uri-template", + ) + def is_uri_template(instance: object) -> bool: + if not isinstance(instance, str): + return True + return uri_template.validate(instance) + + +with suppress(ImportError): + import isoduration + + @_checks_drafts( + draft201909="duration", + draft202012="duration", + raises=isoduration.DurationParsingException, + ) + def is_duration(instance: object) -> bool: + if not isinstance(instance, str): + return True + isoduration.parse_duration(instance) + # FIXME: See bolsote/isoduration#25 and bolsote/isoduration#21 + return instance.endswith(tuple("DMYWHMS")) + + +@_checks_drafts( + draft201909="uuid", + draft202012="uuid", + raises=ValueError, +) +def is_uuid(instance: object) -> bool: + if not isinstance(instance, str): + return True + UUID(instance) + return all(instance[position] == "-" for position in (8, 13, 18, 23)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_keywords.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_keywords.py new file mode 100644 index 0000000000000000000000000000000000000000..b3a0e3cc603627cc4714f672d3ac7ac0e893cbbd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_keywords.py @@ -0,0 +1,440 @@ +from fractions import Fraction +import re + +from jsonschema._utils import ( + ensure_list, + equal, + extras_msg, + find_additional_properties, + find_evaluated_item_indexes_by_schema, + find_evaluated_property_keys_by_schema, + unbool, + uniq, +) +from jsonschema.exceptions import FormatError, ValidationError + + +def patternProperties(validator, patternProperties, instance, schema): + if not validator.is_type(instance, "object"): + return + + for pattern, subschema in patternProperties.items(): + for k, v in instance.items(): + if re.search(pattern, k): + yield from validator.descend( + v, subschema, path=k, schema_path=pattern, + ) + + +def propertyNames(validator, propertyNames, instance, schema): + if not validator.is_type(instance, "object"): + return + + for property in instance: + yield from validator.descend(instance=property, schema=propertyNames) + + +def additionalProperties(validator, aP, instance, schema): + if not validator.is_type(instance, "object"): + return + + extras = set(find_additional_properties(instance, schema)) + + if validator.is_type(aP, "object"): + for extra in extras: + yield from validator.descend(instance[extra], aP, path=extra) + elif not aP and extras: + if "patternProperties" in schema: + verb = "does" if len(extras) == 1 else "do" + joined = ", ".join(repr(each) for each in sorted(extras)) + patterns = ", ".join( + repr(each) for each in sorted(schema["patternProperties"]) + ) + error = f"{joined} {verb} not match any of the regexes: {patterns}" + yield ValidationError(error) + else: + error = "Additional properties are not allowed (%s %s unexpected)" + yield ValidationError(error % extras_msg(sorted(extras, key=str))) + + +def items(validator, items, instance, schema): + if not validator.is_type(instance, "array"): + return + + prefix = len(schema.get("prefixItems", [])) + total = len(instance) + extra = total - prefix + if extra <= 0: + return + + if items is False: + rest = instance[prefix:] if extra != 1 else instance[prefix] + item = "items" if prefix != 1 else "item" + yield ValidationError( + f"Expected at most {prefix} {item} but found {extra} " + f"extra: {rest!r}", + ) + else: + for index in range(prefix, total): + yield from validator.descend( + instance=instance[index], + schema=items, + path=index, + ) + + +def const(validator, const, instance, schema): + if not equal(instance, const): + yield ValidationError(f"{const!r} was expected") + + +def contains(validator, contains, instance, schema): + if not validator.is_type(instance, "array"): + return + + matches = 0 + min_contains = schema.get("minContains", 1) + max_contains = schema.get("maxContains", len(instance)) + + for each in instance: + if validator.evolve(schema=contains).is_valid(each): + matches += 1 + if matches > max_contains: + yield ValidationError( + "Too many items match the given schema " + f"(expected at most {max_contains})", + validator="maxContains", + validator_value=max_contains, + ) + return + + if matches < min_contains: + if not matches: + yield ValidationError( + f"{instance!r} does not contain items " + "matching the given schema", + ) + else: + yield ValidationError( + "Too few items match the given schema (expected at least " + f"{min_contains} but only {matches} matched)", + validator="minContains", + validator_value=min_contains, + ) + + +def exclusiveMinimum(validator, minimum, instance, schema): + if not validator.is_type(instance, "number"): + return + + if instance <= minimum: + yield ValidationError( + f"{instance!r} is less than or equal to " + f"the minimum of {minimum!r}", + ) + + +def exclusiveMaximum(validator, maximum, instance, schema): + if not validator.is_type(instance, "number"): + return + + if instance >= maximum: + yield ValidationError( + f"{instance!r} is greater than or equal " + f"to the maximum of {maximum!r}", + ) + + +def minimum(validator, minimum, instance, schema): + if not validator.is_type(instance, "number"): + return + + if instance < minimum: + message = f"{instance!r} is less than the minimum of {minimum!r}" + yield ValidationError(message) + + +def maximum(validator, maximum, instance, schema): + if not validator.is_type(instance, "number"): + return + + if instance > maximum: + message = f"{instance!r} is greater than the maximum of {maximum!r}" + yield ValidationError(message) + + +def multipleOf(validator, dB, instance, schema): + if not validator.is_type(instance, "number"): + return + + if isinstance(dB, float): + quotient = instance / dB + try: + failed = int(quotient) != quotient + except OverflowError: + # When `instance` is large and `dB` is less than one, + # quotient can overflow to infinity; and then casting to int + # raises an error. + # + # In this case we fall back to Fraction logic, which is + # exact and cannot overflow. The performance is also + # acceptable: we try the fast all-float option first, and + # we know that fraction(dB) can have at most a few hundred + # digits in each part. The worst-case slowdown is therefore + # for already-slow enormous integers or Decimals. + failed = (Fraction(instance) / Fraction(dB)).denominator != 1 + else: + failed = instance % dB + + if failed: + yield ValidationError(f"{instance!r} is not a multiple of {dB}") + + +def minItems(validator, mI, instance, schema): + if validator.is_type(instance, "array") and len(instance) < mI: + yield ValidationError(f"{instance!r} is too short") + + +def maxItems(validator, mI, instance, schema): + if validator.is_type(instance, "array") and len(instance) > mI: + yield ValidationError(f"{instance!r} is too long") + + +def uniqueItems(validator, uI, instance, schema): + if ( + uI + and validator.is_type(instance, "array") + and not uniq(instance) + ): + yield ValidationError(f"{instance!r} has non-unique elements") + + +def pattern(validator, patrn, instance, schema): + if ( + validator.is_type(instance, "string") + and not re.search(patrn, instance) + ): + yield ValidationError(f"{instance!r} does not match {patrn!r}") + + +def format(validator, format, instance, schema): + if validator.format_checker is not None: + try: + validator.format_checker.check(instance, format) + except FormatError as error: + yield ValidationError(error.message, cause=error.cause) + + +def minLength(validator, mL, instance, schema): + if validator.is_type(instance, "string") and len(instance) < mL: + yield ValidationError(f"{instance!r} is too short") + + +def maxLength(validator, mL, instance, schema): + if validator.is_type(instance, "string") and len(instance) > mL: + yield ValidationError(f"{instance!r} is too long") + + +def dependentRequired(validator, dependentRequired, instance, schema): + if not validator.is_type(instance, "object"): + return + + for property, dependency in dependentRequired.items(): + if property not in instance: + continue + + for each in dependency: + if each not in instance: + message = f"{each!r} is a dependency of {property!r}" + yield ValidationError(message) + + +def dependentSchemas(validator, dependentSchemas, instance, schema): + if not validator.is_type(instance, "object"): + return + + for property, dependency in dependentSchemas.items(): + if property not in instance: + continue + yield from validator.descend( + instance, dependency, schema_path=property, + ) + + +def enum(validator, enums, instance, schema): + if instance == 0 or instance == 1: + unbooled = unbool(instance) + if all(unbooled != unbool(each) for each in enums): + yield ValidationError(f"{instance!r} is not one of {enums!r}") + elif instance not in enums: + yield ValidationError(f"{instance!r} is not one of {enums!r}") + + +def ref(validator, ref, instance, schema): + yield from validator._validate_reference(ref=ref, instance=instance) + + +def dynamicRef(validator, dynamicRef, instance, schema): + yield from validator._validate_reference(ref=dynamicRef, instance=instance) + + +def type(validator, types, instance, schema): + types = ensure_list(types) + + if not any(validator.is_type(instance, type) for type in types): + reprs = ", ".join(repr(type) for type in types) + yield ValidationError(f"{instance!r} is not of type {reprs}") + + +def properties(validator, properties, instance, schema): + if not validator.is_type(instance, "object"): + return + + for property, subschema in properties.items(): + if property in instance: + yield from validator.descend( + instance[property], + subschema, + path=property, + schema_path=property, + ) + + +def required(validator, required, instance, schema): + if not validator.is_type(instance, "object"): + return + for property in required: + if property not in instance: + yield ValidationError(f"{property!r} is a required property") + + +def minProperties(validator, mP, instance, schema): + if validator.is_type(instance, "object") and len(instance) < mP: + yield ValidationError(f"{instance!r} does not have enough properties") + + +def maxProperties(validator, mP, instance, schema): + if not validator.is_type(instance, "object"): + return + if validator.is_type(instance, "object") and len(instance) > mP: + yield ValidationError(f"{instance!r} has too many properties") + + +def allOf(validator, allOf, instance, schema): + for index, subschema in enumerate(allOf): + yield from validator.descend(instance, subschema, schema_path=index) + + +def anyOf(validator, anyOf, instance, schema): + all_errors = [] + for index, subschema in enumerate(anyOf): + errs = list(validator.descend(instance, subschema, schema_path=index)) + if not errs: + break + all_errors.extend(errs) + else: + yield ValidationError( + f"{instance!r} is not valid under any of the given schemas", + context=all_errors, + ) + + +def oneOf(validator, oneOf, instance, schema): + subschemas = enumerate(oneOf) + all_errors = [] + for index, subschema in subschemas: + errs = list(validator.descend(instance, subschema, schema_path=index)) + if not errs: + first_valid = subschema + break + all_errors.extend(errs) + else: + yield ValidationError( + f"{instance!r} is not valid under any of the given schemas", + context=all_errors, + ) + + more_valid = [ + each for _, each in subschemas + if validator.evolve(schema=each).is_valid(instance) + ] + if more_valid: + more_valid.append(first_valid) + reprs = ", ".join(repr(schema) for schema in more_valid) + yield ValidationError(f"{instance!r} is valid under each of {reprs}") + + +def not_(validator, not_schema, instance, schema): + if validator.evolve(schema=not_schema).is_valid(instance): + message = f"{instance!r} should not be valid under {not_schema!r}" + yield ValidationError(message) + + +def if_(validator, if_schema, instance, schema): + if validator.evolve(schema=if_schema).is_valid(instance): + if "then" in schema: + then = schema["then"] + yield from validator.descend(instance, then, schema_path="then") + elif "else" in schema: + else_ = schema["else"] + yield from validator.descend(instance, else_, schema_path="else") + + +def unevaluatedItems(validator, unevaluatedItems, instance, schema): + if not validator.is_type(instance, "array"): + return + evaluated_item_indexes = find_evaluated_item_indexes_by_schema( + validator, instance, schema, + ) + unevaluated_items = [ + item for index, item in enumerate(instance) + if index not in evaluated_item_indexes + ] + if unevaluated_items: + error = "Unevaluated items are not allowed (%s %s unexpected)" + yield ValidationError(error % extras_msg(unevaluated_items)) + + +def unevaluatedProperties(validator, unevaluatedProperties, instance, schema): + if not validator.is_type(instance, "object"): + return + evaluated_keys = find_evaluated_property_keys_by_schema( + validator, instance, schema, + ) + unevaluated_keys = [] + for property in instance: + if property not in evaluated_keys: + for _ in validator.descend( + instance[property], + unevaluatedProperties, + path=property, + schema_path=property, + ): + # FIXME: Include context for each unevaluated property + # indicating why it's invalid under the subschema. + unevaluated_keys.append(property) + + if unevaluated_keys: + if unevaluatedProperties is False: + error = "Unevaluated properties are not allowed (%s %s unexpected)" + extras = sorted(unevaluated_keys, key=str) + yield ValidationError(error % extras_msg(extras)) + else: + error = ( + "Unevaluated properties are not valid under " + "the given schema (%s %s unevaluated and invalid)" + ) + yield ValidationError(error % extras_msg(unevaluated_keys)) + + +def prefixItems(validator, prefixItems, instance, schema): + if not validator.is_type(instance, "array"): + return + + for (index, item), subschema in zip(enumerate(instance), prefixItems): + yield from validator.descend( + instance=item, + schema=subschema, + schema_path=index, + path=index, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_legacy_keywords.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_legacy_keywords.py new file mode 100644 index 0000000000000000000000000000000000000000..7265511de0650ca4c2f05aa43c71c2939f770024 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_legacy_keywords.py @@ -0,0 +1,452 @@ +import re + +from referencing.jsonschema import lookup_recursive_ref + +from jsonschema import _utils +from jsonschema.exceptions import ValidationError + + +def ignore_ref_siblings(schema): + """ + Ignore siblings of ``$ref`` if it is present. + + Otherwise, return all keywords. + + Suitable for use with `create`'s ``applicable_validators`` argument. + """ + ref = schema.get("$ref") + if ref is not None: + return [("$ref", ref)] + else: + return schema.items() + + +def dependencies_draft3(validator, dependencies, instance, schema): + if not validator.is_type(instance, "object"): + return + + for property, dependency in dependencies.items(): + if property not in instance: + continue + + if validator.is_type(dependency, "object"): + yield from validator.descend( + instance, dependency, schema_path=property, + ) + elif validator.is_type(dependency, "string"): + if dependency not in instance: + message = f"{dependency!r} is a dependency of {property!r}" + yield ValidationError(message) + else: + for each in dependency: + if each not in instance: + message = f"{each!r} is a dependency of {property!r}" + yield ValidationError(message) + + +def dependencies_draft4_draft6_draft7( + validator, + dependencies, + instance, + schema, +): + """ + Support for the ``dependencies`` keyword from pre-draft 2019-09. + + In later drafts, the keyword was split into separate + ``dependentRequired`` and ``dependentSchemas`` validators. + """ + if not validator.is_type(instance, "object"): + return + + for property, dependency in dependencies.items(): + if property not in instance: + continue + + if validator.is_type(dependency, "array"): + for each in dependency: + if each not in instance: + message = f"{each!r} is a dependency of {property!r}" + yield ValidationError(message) + else: + yield from validator.descend( + instance, dependency, schema_path=property, + ) + + +def disallow_draft3(validator, disallow, instance, schema): + for disallowed in _utils.ensure_list(disallow): + if validator.evolve(schema={"type": [disallowed]}).is_valid(instance): + message = f"{disallowed!r} is disallowed for {instance!r}" + yield ValidationError(message) + + +def extends_draft3(validator, extends, instance, schema): + if validator.is_type(extends, "object"): + yield from validator.descend(instance, extends) + return + for index, subschema in enumerate(extends): + yield from validator.descend(instance, subschema, schema_path=index) + + +def items_draft3_draft4(validator, items, instance, schema): + if not validator.is_type(instance, "array"): + return + + if validator.is_type(items, "object"): + for index, item in enumerate(instance): + yield from validator.descend(item, items, path=index) + else: + for (index, item), subschema in zip(enumerate(instance), items): + yield from validator.descend( + item, subschema, path=index, schema_path=index, + ) + + +def additionalItems(validator, aI, instance, schema): + if ( + not validator.is_type(instance, "array") + or validator.is_type(schema.get("items", {}), "object") + ): + return + + len_items = len(schema.get("items", [])) + if validator.is_type(aI, "object"): + for index, item in enumerate(instance[len_items:], start=len_items): + yield from validator.descend(item, aI, path=index) + elif not aI and len(instance) > len(schema.get("items", [])): + error = "Additional items are not allowed (%s %s unexpected)" + yield ValidationError( + error % _utils.extras_msg(instance[len(schema.get("items", [])):]), + ) + + +def items_draft6_draft7_draft201909(validator, items, instance, schema): + if not validator.is_type(instance, "array"): + return + + if validator.is_type(items, "array"): + for (index, item), subschema in zip(enumerate(instance), items): + yield from validator.descend( + item, subschema, path=index, schema_path=index, + ) + else: + for index, item in enumerate(instance): + yield from validator.descend(item, items, path=index) + + +def minimum_draft3_draft4(validator, minimum, instance, schema): + if not validator.is_type(instance, "number"): + return + + if schema.get("exclusiveMinimum", False): + failed = instance <= minimum + cmp = "less than or equal to" + else: + failed = instance < minimum + cmp = "less than" + + if failed: + message = f"{instance!r} is {cmp} the minimum of {minimum!r}" + yield ValidationError(message) + + +def maximum_draft3_draft4(validator, maximum, instance, schema): + if not validator.is_type(instance, "number"): + return + + if schema.get("exclusiveMaximum", False): + failed = instance >= maximum + cmp = "greater than or equal to" + else: + failed = instance > maximum + cmp = "greater than" + + if failed: + message = f"{instance!r} is {cmp} the maximum of {maximum!r}" + yield ValidationError(message) + + +def properties_draft3(validator, properties, instance, schema): + if not validator.is_type(instance, "object"): + return + + for property, subschema in properties.items(): + if property in instance: + yield from validator.descend( + instance[property], + subschema, + path=property, + schema_path=property, + ) + elif subschema.get("required", False): + error = ValidationError(f"{property!r} is a required property") + error._set( + validator="required", + validator_value=subschema["required"], + instance=instance, + schema=schema, + ) + error.path.appendleft(property) + error.schema_path.extend([property, "required"]) + yield error + + +def type_draft3(validator, types, instance, schema): + types = _utils.ensure_list(types) + + all_errors = [] + for index, type in enumerate(types): + if validator.is_type(type, "object"): + errors = list(validator.descend(instance, type, schema_path=index)) + if not errors: + return + all_errors.extend(errors) + else: + if validator.is_type(instance, type): + return + else: + reprs = [] + for type in types: + try: + reprs.append(repr(type["name"])) + except Exception: + reprs.append(repr(type)) + yield ValidationError( + f"{instance!r} is not of type {', '.join(reprs)}", + context=all_errors, + ) + + +def contains_draft6_draft7(validator, contains, instance, schema): + if not validator.is_type(instance, "array"): + return + + if not any( + validator.evolve(schema=contains).is_valid(element) + for element in instance + ): + yield ValidationError( + f"None of {instance!r} are valid under the given schema", + ) + + +def recursiveRef(validator, recursiveRef, instance, schema): + resolved = lookup_recursive_ref(validator._resolver) + yield from validator.descend( + instance, + resolved.contents, + resolver=resolved.resolver, + ) + + +def find_evaluated_item_indexes_by_schema(validator, instance, schema): + """ + Get all indexes of items that get evaluated under the current schema. + + Covers all keywords related to unevaluatedItems: items, prefixItems, if, + then, else, contains, unevaluatedItems, allOf, oneOf, anyOf + """ + if validator.is_type(schema, "boolean"): + return [] + evaluated_indexes = [] + + ref = schema.get("$ref") + if ref is not None: + resolved = validator._resolver.lookup(ref) + evaluated_indexes.extend( + find_evaluated_item_indexes_by_schema( + validator.evolve( + schema=resolved.contents, + _resolver=resolved.resolver, + ), + instance, + resolved.contents, + ), + ) + + if "$recursiveRef" in schema: + resolved = lookup_recursive_ref(validator._resolver) + evaluated_indexes.extend( + find_evaluated_item_indexes_by_schema( + validator.evolve( + schema=resolved.contents, + _resolver=resolved.resolver, + ), + instance, + resolved.contents, + ), + ) + + if "items" in schema: + if "additionalItems" in schema: + return list(range(0, len(instance))) + + if validator.is_type(schema["items"], "object"): + return list(range(0, len(instance))) + evaluated_indexes += list(range(0, len(schema["items"]))) + + if "if" in schema: + if validator.evolve(schema=schema["if"]).is_valid(instance): + evaluated_indexes += find_evaluated_item_indexes_by_schema( + validator, instance, schema["if"], + ) + if "then" in schema: + evaluated_indexes += find_evaluated_item_indexes_by_schema( + validator, instance, schema["then"], + ) + else: + if "else" in schema: + evaluated_indexes += find_evaluated_item_indexes_by_schema( + validator, instance, schema["else"], + ) + + for keyword in ["contains", "unevaluatedItems"]: + if keyword in schema: + for k, v in enumerate(instance): + if validator.evolve(schema=schema[keyword]).is_valid(v): + evaluated_indexes.append(k) + + for keyword in ["allOf", "oneOf", "anyOf"]: + if keyword in schema: + for subschema in schema[keyword]: + errs = next(validator.descend(instance, subschema), None) + if errs is None: + evaluated_indexes += find_evaluated_item_indexes_by_schema( + validator, instance, subschema, + ) + + return evaluated_indexes + + +def unevaluatedItems_draft2019(validator, unevaluatedItems, instance, schema): + if not validator.is_type(instance, "array"): + return + evaluated_item_indexes = find_evaluated_item_indexes_by_schema( + validator, instance, schema, + ) + unevaluated_items = [ + item for index, item in enumerate(instance) + if index not in evaluated_item_indexes + ] + if unevaluated_items: + error = "Unevaluated items are not allowed (%s %s unexpected)" + yield ValidationError(error % _utils.extras_msg(unevaluated_items)) + + +def find_evaluated_property_keys_by_schema(validator, instance, schema): + if validator.is_type(schema, "boolean"): + return [] + evaluated_keys = [] + + ref = schema.get("$ref") + if ref is not None: + resolved = validator._resolver.lookup(ref) + evaluated_keys.extend( + find_evaluated_property_keys_by_schema( + validator.evolve( + schema=resolved.contents, + _resolver=resolved.resolver, + ), + instance, + resolved.contents, + ), + ) + + if "$recursiveRef" in schema: + resolved = lookup_recursive_ref(validator._resolver) + evaluated_keys.extend( + find_evaluated_property_keys_by_schema( + validator.evolve( + schema=resolved.contents, + _resolver=resolved.resolver, + ), + instance, + resolved.contents, + ), + ) + + for keyword in [ + "properties", "additionalProperties", "unevaluatedProperties", + ]: + if keyword in schema: + schema_value = schema[keyword] + if validator.is_type(schema_value, "boolean") and schema_value: + evaluated_keys += instance.keys() + + elif validator.is_type(schema_value, "object"): + for property in schema_value: + if property in instance: + evaluated_keys.append(property) + + if "patternProperties" in schema: + for property in instance: + for pattern in schema["patternProperties"]: + if re.search(pattern, property): + evaluated_keys.append(property) + + if "dependentSchemas" in schema: + for property, subschema in schema["dependentSchemas"].items(): + if property not in instance: + continue + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, subschema, + ) + + for keyword in ["allOf", "oneOf", "anyOf"]: + if keyword in schema: + for subschema in schema[keyword]: + errs = next(validator.descend(instance, subschema), None) + if errs is None: + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, subschema, + ) + + if "if" in schema: + if validator.evolve(schema=schema["if"]).is_valid(instance): + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, schema["if"], + ) + if "then" in schema: + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, schema["then"], + ) + else: + if "else" in schema: + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, schema["else"], + ) + + return evaluated_keys + + +def unevaluatedProperties_draft2019(validator, uP, instance, schema): + if not validator.is_type(instance, "object"): + return + evaluated_keys = find_evaluated_property_keys_by_schema( + validator, instance, schema, + ) + unevaluated_keys = [] + for property in instance: + if property not in evaluated_keys: + for _ in validator.descend( + instance[property], + uP, + path=property, + schema_path=property, + ): + # FIXME: Include context for each unevaluated property + # indicating why it's invalid under the subschema. + unevaluated_keys.append(property) + + if unevaluated_keys: + if uP is False: + error = "Unevaluated properties are not allowed (%s %s unexpected)" + extras = sorted(unevaluated_keys, key=str) + yield ValidationError(error % _utils.extras_msg(extras)) + else: + error = ( + "Unevaluated properties are not valid under " + "the given schema (%s %s unevaluated and invalid)" + ) + yield ValidationError(error % _utils.extras_msg(unevaluated_keys)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_types.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_types.py new file mode 100644 index 0000000000000000000000000000000000000000..dae83d00fcb2ee7534e08e5a3882a57977a34806 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_types.py @@ -0,0 +1,195 @@ +from __future__ import annotations + +from typing import Any, Callable, Mapping +import numbers + +from attrs import evolve, field, frozen +from rpds import HashTrieMap + +from jsonschema.exceptions import UndefinedTypeCheck + + +# unfortunately, the type of HashTrieMap is generic, and if used as an attrs +# converter, the generic type is presented to mypy, which then fails to match +# the concrete type of a type checker mapping +# this "do nothing" wrapper presents the correct information to mypy +def _typed_map_converter( + init_val: Mapping[str, Callable[[TypeChecker, Any], bool]], +) -> HashTrieMap[str, Callable[[TypeChecker, Any], bool]]: + return HashTrieMap.convert(init_val) + + +def is_array(checker, instance): + return isinstance(instance, list) + + +def is_bool(checker, instance): + return isinstance(instance, bool) + + +def is_integer(checker, instance): + # bool inherits from int, so ensure bools aren't reported as ints + if isinstance(instance, bool): + return False + return isinstance(instance, int) + + +def is_null(checker, instance): + return instance is None + + +def is_number(checker, instance): + # bool inherits from int, so ensure bools aren't reported as ints + if isinstance(instance, bool): + return False + return isinstance(instance, numbers.Number) + + +def is_object(checker, instance): + return isinstance(instance, dict) + + +def is_string(checker, instance): + return isinstance(instance, str) + + +def is_any(checker, instance): + return True + + +@frozen(repr=False) +class TypeChecker: + """ + A :kw:`type` property checker. + + A `TypeChecker` performs type checking for a `Validator`, converting + between the defined JSON Schema types and some associated Python types or + objects. + + Modifying the behavior just mentioned by redefining which Python objects + are considered to be of which JSON Schema types can be done using + `TypeChecker.redefine` or `TypeChecker.redefine_many`, and types can be + removed via `TypeChecker.remove`. Each of these return a new `TypeChecker`. + + Arguments: + + type_checkers: + + The initial mapping of types to their checking functions. + """ + + _type_checkers: HashTrieMap[ + str, Callable[[TypeChecker, Any], bool], + ] = field(default=HashTrieMap(), converter=_typed_map_converter) + + def __repr__(self): + types = ", ".join(repr(k) for k in sorted(self._type_checkers)) + return f"<{self.__class__.__name__} types={{{types}}}>" + + def is_type(self, instance, type: str) -> bool: + """ + Check if the instance is of the appropriate type. + + Arguments: + + instance: + + The instance to check + + type: + + The name of the type that is expected. + + Raises: + + `jsonschema.exceptions.UndefinedTypeCheck`: + + if ``type`` is unknown to this object. + """ + try: + fn = self._type_checkers[type] + except KeyError: + raise UndefinedTypeCheck(type) from None + + return fn(self, instance) + + def redefine(self, type: str, fn) -> TypeChecker: + """ + Produce a new checker with the given type redefined. + + Arguments: + + type: + + The name of the type to check. + + fn (collections.abc.Callable): + + A callable taking exactly two parameters - the type + checker calling the function and the instance to check. + The function should return true if instance is of this + type and false otherwise. + """ + return self.redefine_many({type: fn}) + + def redefine_many(self, definitions=()) -> TypeChecker: + """ + Produce a new checker with the given types redefined. + + Arguments: + + definitions (dict): + + A dictionary mapping types to their checking functions. + """ + type_checkers = self._type_checkers.update(definitions) + return evolve(self, type_checkers=type_checkers) + + def remove(self, *types) -> TypeChecker: + """ + Produce a new checker with the given types forgotten. + + Arguments: + + types: + + the names of the types to remove. + + Raises: + + `jsonschema.exceptions.UndefinedTypeCheck`: + + if any given type is unknown to this object + """ + type_checkers = self._type_checkers + for each in types: + try: + type_checkers = type_checkers.remove(each) + except KeyError: + raise UndefinedTypeCheck(each) + return evolve(self, type_checkers=type_checkers) + + +draft3_type_checker = TypeChecker( + { + "any": is_any, + "array": is_array, + "boolean": is_bool, + "integer": is_integer, + "object": is_object, + "null": is_null, + "number": is_number, + "string": is_string, + }, +) +draft4_type_checker = draft3_type_checker.remove("any") +draft6_type_checker = draft4_type_checker.redefine( + "integer", + lambda checker, instance: ( + is_integer(checker, instance) + or isinstance(instance, float) and instance.is_integer() + ), +) +draft7_type_checker = draft6_type_checker +draft201909_type_checker = draft7_type_checker +draft202012_type_checker = draft201909_type_checker diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_typing.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_typing.py new file mode 100644 index 0000000000000000000000000000000000000000..d283dc48d10489baf7516182bfb1b111faf12ba0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_typing.py @@ -0,0 +1,28 @@ +""" +Some (initially private) typing helpers for jsonschema's types. +""" +from typing import Any, Callable, Iterable, Protocol, Tuple, Union + +import referencing.jsonschema + +from jsonschema.protocols import Validator + + +class SchemaKeywordValidator(Protocol): + def __call__( + self, + validator: Validator, + value: Any, + instance: Any, + schema: referencing.jsonschema.Schema, + ) -> None: + ... + + +id_of = Callable[[referencing.jsonschema.Schema], Union[str, None]] + + +ApplicableValidators = Callable[ + [referencing.jsonschema.Schema], + Iterable[Tuple[str, Any]], +] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_utils.py new file mode 100644 index 0000000000000000000000000000000000000000..9d274fd9376575911cfe0e44c34ccc2aa684b50f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/_utils.py @@ -0,0 +1,355 @@ +from collections.abc import Mapping, MutableMapping, Sequence +from urllib.parse import urlsplit +import itertools +import re + + +class URIDict(MutableMapping): + """ + Dictionary which uses normalized URIs as keys. + """ + + def normalize(self, uri): + return urlsplit(uri).geturl() + + def __init__(self, *args, **kwargs): + self.store = dict() + self.store.update(*args, **kwargs) + + def __getitem__(self, uri): + return self.store[self.normalize(uri)] + + def __setitem__(self, uri, value): + self.store[self.normalize(uri)] = value + + def __delitem__(self, uri): + del self.store[self.normalize(uri)] + + def __iter__(self): + return iter(self.store) + + def __len__(self): # pragma: no cover -- untested, but to be removed + return len(self.store) + + def __repr__(self): # pragma: no cover -- untested, but to be removed + return repr(self.store) + + +class Unset: + """ + An as-of-yet unset attribute or unprovided default parameter. + """ + + def __repr__(self): # pragma: no cover + return "" + + +def format_as_index(container, indices): + """ + Construct a single string containing indexing operations for the indices. + + For example for a container ``bar``, [1, 2, "foo"] -> bar[1][2]["foo"] + + Arguments: + + container (str): + + A word to use for the thing being indexed + + indices (sequence): + + The indices to format. + """ + + if not indices: + return container + return f"{container}[{']['.join(repr(index) for index in indices)}]" + + +def find_additional_properties(instance, schema): + """ + Return the set of additional properties for the given ``instance``. + + Weeds out properties that should have been validated by ``properties`` and + / or ``patternProperties``. + + Assumes ``instance`` is dict-like already. + """ + + properties = schema.get("properties", {}) + patterns = "|".join(schema.get("patternProperties", {})) + for property in instance: + if property not in properties: + if patterns and re.search(patterns, property): + continue + yield property + + +def extras_msg(extras): + """ + Create an error message for extra items or properties. + """ + + verb = "was" if len(extras) == 1 else "were" + return ", ".join(repr(extra) for extra in extras), verb + + +def ensure_list(thing): + """ + Wrap ``thing`` in a list if it's a single str. + + Otherwise, return it unchanged. + """ + + if isinstance(thing, str): + return [thing] + return thing + + +def _mapping_equal(one, two): + """ + Check if two mappings are equal using the semantics of `equal`. + """ + if len(one) != len(two): + return False + return all( + key in two and equal(value, two[key]) + for key, value in one.items() + ) + + +def _sequence_equal(one, two): + """ + Check if two sequences are equal using the semantics of `equal`. + """ + if len(one) != len(two): + return False + return all(equal(i, j) for i, j in zip(one, two)) + + +def equal(one, two): + """ + Check if two things are equal evading some Python type hierarchy semantics. + + Specifically in JSON Schema, evade `bool` inheriting from `int`, + recursing into sequences to do the same. + """ + if isinstance(one, str) or isinstance(two, str): + return one == two + if isinstance(one, Sequence) and isinstance(two, Sequence): + return _sequence_equal(one, two) + if isinstance(one, Mapping) and isinstance(two, Mapping): + return _mapping_equal(one, two) + return unbool(one) == unbool(two) + + +def unbool(element, true=object(), false=object()): + """ + A hack to make True and 1 and False and 0 unique for ``uniq``. + """ + + if element is True: + return true + elif element is False: + return false + return element + + +def uniq(container): + """ + Check if all of a container's elements are unique. + + Tries to rely on the container being recursively sortable, or otherwise + falls back on (slow) brute force. + """ + try: + sort = sorted(unbool(i) for i in container) + sliced = itertools.islice(sort, 1, None) + + for i, j in zip(sort, sliced): + if equal(i, j): + return False + + except (NotImplementedError, TypeError): + seen = [] + for e in container: + e = unbool(e) + + for i in seen: + if equal(i, e): + return False + + seen.append(e) + return True + + +def find_evaluated_item_indexes_by_schema(validator, instance, schema): + """ + Get all indexes of items that get evaluated under the current schema + + Covers all keywords related to unevaluatedItems: items, prefixItems, if, + then, else, contains, unevaluatedItems, allOf, oneOf, anyOf + """ + if validator.is_type(schema, "boolean"): + return [] + evaluated_indexes = [] + + if "items" in schema: + return list(range(0, len(instance))) + + ref = schema.get("$ref") + if ref is not None: + resolved = validator._resolver.lookup(ref) + evaluated_indexes.extend( + find_evaluated_item_indexes_by_schema( + validator.evolve( + schema=resolved.contents, + _resolver=resolved.resolver, + ), + instance, + resolved.contents, + ), + ) + + dynamicRef = schema.get("$dynamicRef") + if dynamicRef is not None: + resolved = validator._resolver.lookup(dynamicRef) + evaluated_indexes.extend( + find_evaluated_item_indexes_by_schema( + validator.evolve( + schema=resolved.contents, + _resolver=resolved.resolver, + ), + instance, + resolved.contents, + ), + ) + + if "prefixItems" in schema: + evaluated_indexes += list(range(0, len(schema["prefixItems"]))) + + if "if" in schema: + if validator.evolve(schema=schema["if"]).is_valid(instance): + evaluated_indexes += find_evaluated_item_indexes_by_schema( + validator, instance, schema["if"], + ) + if "then" in schema: + evaluated_indexes += find_evaluated_item_indexes_by_schema( + validator, instance, schema["then"], + ) + else: + if "else" in schema: + evaluated_indexes += find_evaluated_item_indexes_by_schema( + validator, instance, schema["else"], + ) + + for keyword in ["contains", "unevaluatedItems"]: + if keyword in schema: + for k, v in enumerate(instance): + if validator.evolve(schema=schema[keyword]).is_valid(v): + evaluated_indexes.append(k) + + for keyword in ["allOf", "oneOf", "anyOf"]: + if keyword in schema: + for subschema in schema[keyword]: + errs = next(validator.descend(instance, subschema), None) + if errs is None: + evaluated_indexes += find_evaluated_item_indexes_by_schema( + validator, instance, subschema, + ) + + return evaluated_indexes + + +def find_evaluated_property_keys_by_schema(validator, instance, schema): + """ + Get all keys of items that get evaluated under the current schema + + Covers all keywords related to unevaluatedProperties: properties, + additionalProperties, unevaluatedProperties, patternProperties, + dependentSchemas, allOf, oneOf, anyOf, if, then, else + """ + if validator.is_type(schema, "boolean"): + return [] + evaluated_keys = [] + + ref = schema.get("$ref") + if ref is not None: + resolved = validator._resolver.lookup(ref) + evaluated_keys.extend( + find_evaluated_property_keys_by_schema( + validator.evolve( + schema=resolved.contents, + _resolver=resolved.resolver, + ), + instance, + resolved.contents, + ), + ) + + dynamicRef = schema.get("$dynamicRef") + if dynamicRef is not None: + resolved = validator._resolver.lookup(dynamicRef) + evaluated_keys.extend( + find_evaluated_property_keys_by_schema( + validator.evolve( + schema=resolved.contents, + _resolver=resolved.resolver, + ), + instance, + resolved.contents, + ), + ) + + for keyword in [ + "properties", "additionalProperties", "unevaluatedProperties", + ]: + if keyword in schema: + schema_value = schema[keyword] + if validator.is_type(schema_value, "boolean") and schema_value: + evaluated_keys += instance.keys() + + elif validator.is_type(schema_value, "object"): + for property in schema_value: + if property in instance: + evaluated_keys.append(property) + + if "patternProperties" in schema: + for property in instance: + for pattern in schema["patternProperties"]: + if re.search(pattern, property): + evaluated_keys.append(property) + + if "dependentSchemas" in schema: + for property, subschema in schema["dependentSchemas"].items(): + if property not in instance: + continue + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, subschema, + ) + + for keyword in ["allOf", "oneOf", "anyOf"]: + if keyword in schema: + for subschema in schema[keyword]: + errs = next(validator.descend(instance, subschema), None) + if errs is None: + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, subschema, + ) + + if "if" in schema: + if validator.evolve(schema=schema["if"]).is_valid(instance): + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, schema["if"], + ) + if "then" in schema: + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, schema["then"], + ) + else: + if "else" in schema: + evaluated_keys += find_evaluated_property_keys_by_schema( + validator, instance, schema["else"], + ) + + return evaluated_keys diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/cli.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/cli.py new file mode 100644 index 0000000000000000000000000000000000000000..e8f671ca2ea2ee85b63e7ecc919224f9f6181983 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/cli.py @@ -0,0 +1,296 @@ +""" +The ``jsonschema`` command line. +""" + +from importlib import metadata +from json import JSONDecodeError +from textwrap import dedent +import argparse +import json +import sys +import traceback +import warnings + +try: + from pkgutil import resolve_name +except ImportError: + from pkgutil_resolve_name import resolve_name # type: ignore + +from attrs import define, field + +from jsonschema.exceptions import SchemaError +from jsonschema.validators import _RefResolver, validator_for + +warnings.warn( + ( + "The jsonschema CLI is deprecated and will be removed in a future " + "version. Please use check-jsonschema instead, which can be installed " + "from https://pypi.org/project/check-jsonschema/" + ), + DeprecationWarning, + stacklevel=2, +) + + +class _CannotLoadFile(Exception): + pass + + +@define +class _Outputter: + + _formatter = field() + _stdout = field() + _stderr = field() + + @classmethod + def from_arguments(cls, arguments, stdout, stderr): + if arguments["output"] == "plain": + formatter = _PlainFormatter(arguments["error_format"]) + elif arguments["output"] == "pretty": + formatter = _PrettyFormatter() + return cls(formatter=formatter, stdout=stdout, stderr=stderr) + + def load(self, path): + try: + file = open(path) + except FileNotFoundError: + self.filenotfound_error(path=path, exc_info=sys.exc_info()) + raise _CannotLoadFile() + + with file: + try: + return json.load(file) + except JSONDecodeError: + self.parsing_error(path=path, exc_info=sys.exc_info()) + raise _CannotLoadFile() + + def filenotfound_error(self, **kwargs): + self._stderr.write(self._formatter.filenotfound_error(**kwargs)) + + def parsing_error(self, **kwargs): + self._stderr.write(self._formatter.parsing_error(**kwargs)) + + def validation_error(self, **kwargs): + self._stderr.write(self._formatter.validation_error(**kwargs)) + + def validation_success(self, **kwargs): + self._stdout.write(self._formatter.validation_success(**kwargs)) + + +@define +class _PrettyFormatter: + + _ERROR_MSG = dedent( + """\ + ===[{type}]===({path})=== + + {body} + ----------------------------- + """, + ) + _SUCCESS_MSG = "===[SUCCESS]===({path})===\n" + + def filenotfound_error(self, path, exc_info): + return self._ERROR_MSG.format( + path=path, + type="FileNotFoundError", + body="{!r} does not exist.".format(path), + ) + + def parsing_error(self, path, exc_info): + exc_type, exc_value, exc_traceback = exc_info + exc_lines = "".join( + traceback.format_exception(exc_type, exc_value, exc_traceback), + ) + return self._ERROR_MSG.format( + path=path, + type=exc_type.__name__, + body=exc_lines, + ) + + def validation_error(self, instance_path, error): + return self._ERROR_MSG.format( + path=instance_path, + type=error.__class__.__name__, + body=error, + ) + + def validation_success(self, instance_path): + return self._SUCCESS_MSG.format(path=instance_path) + + +@define +class _PlainFormatter: + + _error_format = field() + + def filenotfound_error(self, path, exc_info): + return "{!r} does not exist.\n".format(path) + + def parsing_error(self, path, exc_info): + return "Failed to parse {}: {}\n".format( + "" if path == "" else repr(path), + exc_info[1], + ) + + def validation_error(self, instance_path, error): + return self._error_format.format(file_name=instance_path, error=error) + + def validation_success(self, instance_path): + return "" + + +def _resolve_name_with_default(name): + if "." not in name: + name = "jsonschema." + name + return resolve_name(name) + + +parser = argparse.ArgumentParser( + description="JSON Schema Validation CLI", +) +parser.add_argument( + "-i", "--instance", + action="append", + dest="instances", + help=""" + a path to a JSON instance (i.e. filename.json) to validate (may + be specified multiple times). If no instances are provided via this + option, one will be expected on standard input. + """, +) +parser.add_argument( + "-F", "--error-format", + help=""" + the format to use for each validation error message, specified + in a form suitable for str.format. This string will be passed + one formatted object named 'error' for each ValidationError. + Only provide this option when using --output=plain, which is the + default. If this argument is unprovided and --output=plain is + used, a simple default representation will be used. + """, +) +parser.add_argument( + "-o", "--output", + choices=["plain", "pretty"], + default="plain", + help=""" + an output format to use. 'plain' (default) will produce minimal + text with one line for each error, while 'pretty' will produce + more detailed human-readable output on multiple lines. + """, +) +parser.add_argument( + "-V", "--validator", + type=_resolve_name_with_default, + help=""" + the fully qualified object name of a validator to use, or, for + validators that are registered with jsonschema, simply the name + of the class. + """, +) +parser.add_argument( + "--base-uri", + help=""" + a base URI to assign to the provided schema, even if it does not + declare one (via e.g. $id). This option can be used if you wish to + resolve relative references to a particular URI (or local path) + """, +) +parser.add_argument( + "--version", + action="version", + version=metadata.version("jsonschema"), +) +parser.add_argument( + "schema", + help="the path to a JSON Schema to validate with (i.e. schema.json)", +) + + +def parse_args(args): + arguments = vars(parser.parse_args(args=args or ["--help"])) + if arguments["output"] != "plain" and arguments["error_format"]: + raise parser.error( + "--error-format can only be used with --output plain", + ) + if arguments["output"] == "plain" and arguments["error_format"] is None: + arguments["error_format"] = "{error.instance}: {error.message}\n" + return arguments + + +def _validate_instance(instance_path, instance, validator, outputter): + invalid = False + for error in validator.iter_errors(instance): + invalid = True + outputter.validation_error(instance_path=instance_path, error=error) + + if not invalid: + outputter.validation_success(instance_path=instance_path) + return invalid + + +def main(args=sys.argv[1:]): + sys.exit(run(arguments=parse_args(args=args))) + + +def run(arguments, stdout=sys.stdout, stderr=sys.stderr, stdin=sys.stdin): + outputter = _Outputter.from_arguments( + arguments=arguments, + stdout=stdout, + stderr=stderr, + ) + + try: + schema = outputter.load(arguments["schema"]) + except _CannotLoadFile: + return 1 + + Validator = arguments["validator"] + if Validator is None: + Validator = validator_for(schema) + + try: + Validator.check_schema(schema) + except SchemaError as error: + outputter.validation_error( + instance_path=arguments["schema"], + error=error, + ) + return 1 + + if arguments["instances"]: + load, instances = outputter.load, arguments["instances"] + else: + def load(_): + try: + return json.load(stdin) + except JSONDecodeError: + outputter.parsing_error( + path="", exc_info=sys.exc_info(), + ) + raise _CannotLoadFile() + instances = [""] + + resolver = _RefResolver( + base_uri=arguments["base_uri"], + referrer=schema, + ) if arguments["base_uri"] is not None else None + + validator = Validator(schema, resolver=resolver) + exit_code = 0 + for each in instances: + try: + instance = load(each) + except _CannotLoadFile: + exit_code = 1 + else: + exit_code |= _validate_instance( + instance_path=each, + instance=instance, + validator=validator, + outputter=outputter, + ) + + return exit_code diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..a1b3ad8671d43f2049f3c85c7260d766104ce315 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/exceptions.py @@ -0,0 +1,468 @@ +""" +Validation errors, and some surrounding helpers. +""" +from __future__ import annotations + +from collections import defaultdict, deque +from collections.abc import Iterable, Mapping, MutableMapping +from pprint import pformat +from textwrap import dedent, indent +from typing import ClassVar +import heapq +import itertools +import warnings + +from attrs import define +from referencing.exceptions import Unresolvable as _Unresolvable + +from jsonschema import _utils + +WEAK_MATCHES: frozenset[str] = frozenset(["anyOf", "oneOf"]) +STRONG_MATCHES: frozenset[str] = frozenset() + +_unset = _utils.Unset() + + +def __getattr__(name): + if name == "RefResolutionError": + warnings.warn( + _RefResolutionError._DEPRECATION_MESSAGE, + DeprecationWarning, + stacklevel=2, + ) + return _RefResolutionError + raise AttributeError(f"module {__name__} has no attribute {name}") + + +class _Error(Exception): + + _word_for_schema_in_error_message: ClassVar[str] + _word_for_instance_in_error_message: ClassVar[str] + + def __init__( + self, + message: str, + validator=_unset, + path=(), + cause=None, + context=(), + validator_value=_unset, + instance=_unset, + schema=_unset, + schema_path=(), + parent=None, + type_checker=_unset, + ): + super().__init__( + message, + validator, + path, + cause, + context, + validator_value, + instance, + schema, + schema_path, + parent, + ) + self.message = message + self.path = self.relative_path = deque(path) + self.schema_path = self.relative_schema_path = deque(schema_path) + self.context = list(context) + self.cause = self.__cause__ = cause + self.validator = validator + self.validator_value = validator_value + self.instance = instance + self.schema = schema + self.parent = parent + self._type_checker = type_checker + + for error in context: + error.parent = self + + def __repr__(self): + return f"<{self.__class__.__name__}: {self.message!r}>" + + def __str__(self): + essential_for_verbose = ( + self.validator, self.validator_value, self.instance, self.schema, + ) + if any(m is _unset for m in essential_for_verbose): + return self.message + + schema_path = _utils.format_as_index( + container=self._word_for_schema_in_error_message, + indices=list(self.relative_schema_path)[:-1], + ) + instance_path = _utils.format_as_index( + container=self._word_for_instance_in_error_message, + indices=self.relative_path, + ) + prefix = 16 * " " + + return dedent( + f"""\ + {self.message} + + Failed validating {self.validator!r} in {schema_path}: + {indent(pformat(self.schema, width=72), prefix).lstrip()} + + On {instance_path}: + {indent(pformat(self.instance, width=72), prefix).lstrip()} + """.rstrip(), + ) + + @classmethod + def create_from(cls, other): + return cls(**other._contents()) + + @property + def absolute_path(self): + parent = self.parent + if parent is None: + return self.relative_path + + path = deque(self.relative_path) + path.extendleft(reversed(parent.absolute_path)) + return path + + @property + def absolute_schema_path(self): + parent = self.parent + if parent is None: + return self.relative_schema_path + + path = deque(self.relative_schema_path) + path.extendleft(reversed(parent.absolute_schema_path)) + return path + + @property + def json_path(self): + path = "$" + for elem in self.absolute_path: + if isinstance(elem, int): + path += "[" + str(elem) + "]" + else: + path += "." + elem + return path + + def _set(self, type_checker=None, **kwargs): + if type_checker is not None and self._type_checker is _unset: + self._type_checker = type_checker + + for k, v in kwargs.items(): + if getattr(self, k) is _unset: + setattr(self, k, v) + + def _contents(self): + attrs = ( + "message", "cause", "context", "validator", "validator_value", + "path", "schema_path", "instance", "schema", "parent", + ) + return dict((attr, getattr(self, attr)) for attr in attrs) + + def _matches_type(self): + try: + expected = self.schema["type"] + except (KeyError, TypeError): + return False + + if isinstance(expected, str): + return self._type_checker.is_type(self.instance, expected) + + return any( + self._type_checker.is_type(self.instance, expected_type) + for expected_type in expected + ) + + +class ValidationError(_Error): + """ + An instance was invalid under a provided schema. + """ + + _word_for_schema_in_error_message = "schema" + _word_for_instance_in_error_message = "instance" + + +class SchemaError(_Error): + """ + A schema was invalid under its corresponding metaschema. + """ + + _word_for_schema_in_error_message = "metaschema" + _word_for_instance_in_error_message = "schema" + + +@define(slots=False) +class _RefResolutionError(Exception): + """ + A ref could not be resolved. + """ + + _DEPRECATION_MESSAGE = ( + "jsonschema.exceptions.RefResolutionError is deprecated as of version " + "4.18.0. If you wish to catch potential reference resolution errors, " + "directly catch referencing.exceptions.Unresolvable." + ) + + _cause: Exception + + def __eq__(self, other): + if self.__class__ is not other.__class__: + return NotImplemented # pragma: no cover -- uncovered but deprecated # noqa: E501 + return self._cause == other._cause + + def __str__(self): + return str(self._cause) + + +class _WrappedReferencingError(_RefResolutionError, _Unresolvable): # pragma: no cover -- partially uncovered but to be removed # noqa: E501 + def __init__(self, cause: _Unresolvable): + object.__setattr__(self, "_wrapped", cause) + + def __eq__(self, other): + if other.__class__ is self.__class__: + return self._wrapped == other._wrapped + elif other.__class__ is self._wrapped.__class__: + return self._wrapped == other + return NotImplemented + + def __getattr__(self, attr): + return getattr(self._wrapped, attr) + + def __hash__(self): + return hash(self._wrapped) + + def __repr__(self): + return f"" + + def __str__(self): + return f"{self._wrapped.__class__.__name__}: {self._wrapped}" + + +class UndefinedTypeCheck(Exception): + """ + A type checker was asked to check a type it did not have registered. + """ + + def __init__(self, type): + self.type = type + + def __str__(self): + return f"Type {self.type!r} is unknown to this type checker" + + +class UnknownType(Exception): + """ + A validator was asked to validate an instance against an unknown type. + """ + + def __init__(self, type, instance, schema): + self.type = type + self.instance = instance + self.schema = schema + + def __str__(self): + prefix = 16 * " " + + return dedent( + f"""\ + Unknown type {self.type!r} for validator with schema: + {indent(pformat(self.schema, width=72), prefix).lstrip()} + + While checking instance: + {indent(pformat(self.instance, width=72), prefix).lstrip()} + """.rstrip(), + ) + + +class FormatError(Exception): + """ + Validating a format failed. + """ + + def __init__(self, message, cause=None): + super().__init__(message, cause) + self.message = message + self.cause = self.__cause__ = cause + + def __str__(self): + return self.message + + +class ErrorTree: + """ + ErrorTrees make it easier to check which validations failed. + """ + + _instance = _unset + + def __init__(self, errors: Iterable[ValidationError] = ()): + self.errors: MutableMapping[str, ValidationError] = {} + self._contents: Mapping[str, ErrorTree] = defaultdict(self.__class__) + + for error in errors: + container = self + for element in error.path: + container = container[element] + container.errors[error.validator] = error + + container._instance = error.instance + + def __contains__(self, index: str | int): + """ + Check whether ``instance[index]`` has any errors. + """ + return index in self._contents + + def __getitem__(self, index): + """ + Retrieve the child tree one level down at the given ``index``. + + If the index is not in the instance that this tree corresponds + to and is not known by this tree, whatever error would be raised + by ``instance.__getitem__`` will be propagated (usually this is + some subclass of `LookupError`. + """ + if self._instance is not _unset and index not in self: + self._instance[index] + return self._contents[index] + + def __setitem__(self, index: str | int, value: ErrorTree): + """ + Add an error to the tree at the given ``index``. + + .. deprecated:: v4.20.0 + + Setting items on an `ErrorTree` is deprecated without replacement. + To populate a tree, provide all of its sub-errors when you + construct the tree. + """ + warnings.warn( + "ErrorTree.__setitem__ is deprecated without replacement.", + DeprecationWarning, + stacklevel=2, + ) + self._contents[index] = value # type: ignore[index] + + def __iter__(self): + """ + Iterate (non-recursively) over the indices in the instance with errors. + """ + return iter(self._contents) + + def __len__(self): + """ + Return the `total_errors`. + """ + return self.total_errors + + def __repr__(self): + total = len(self) + errors = "error" if total == 1 else "errors" + return f"<{self.__class__.__name__} ({total} total {errors})>" + + @property + def total_errors(self): + """ + The total number of errors in the entire tree, including children. + """ + child_errors = sum(len(tree) for _, tree in self._contents.items()) + return len(self.errors) + child_errors + + +def by_relevance(weak=WEAK_MATCHES, strong=STRONG_MATCHES): + """ + Create a key function that can be used to sort errors by relevance. + + Arguments: + weak (set): + a collection of validation keywords to consider to be + "weak". If there are two errors at the same level of the + instance and one is in the set of weak validation keywords, + the other error will take priority. By default, :kw:`anyOf` + and :kw:`oneOf` are considered weak keywords and will be + superseded by other same-level validation errors. + + strong (set): + a collection of validation keywords to consider to be + "strong" + """ + + def relevance(error): + validator = error.validator + return ( + -len(error.path), + validator not in weak, + validator in strong, + not error._matches_type(), + ) + + return relevance + + +relevance = by_relevance() +""" +A key function (e.g. to use with `sorted`) which sorts errors by relevance. + +Example: + +.. code:: python + + sorted(validator.iter_errors(12), key=jsonschema.exceptions.relevance) +""" + + +def best_match(errors, key=relevance): + """ + Try to find an error that appears to be the best match among given errors. + + In general, errors that are higher up in the instance (i.e. for which + `ValidationError.path` is shorter) are considered better matches, + since they indicate "more" is wrong with the instance. + + If the resulting match is either :kw:`oneOf` or :kw:`anyOf`, the + *opposite* assumption is made -- i.e. the deepest error is picked, + since these keywords only need to match once, and any other errors + may not be relevant. + + Arguments: + errors (collections.abc.Iterable): + + the errors to select from. Do not provide a mixture of + errors from different validation attempts (i.e. from + different instances or schemas), since it won't produce + sensical output. + + key (collections.abc.Callable): + + the key to use when sorting errors. See `relevance` and + transitively `by_relevance` for more details (the default is + to sort with the defaults of that function). Changing the + default is only useful if you want to change the function + that rates errors but still want the error context descent + done by this function. + + Returns: + the best matching error, or ``None`` if the iterable was empty + + .. note:: + + This function is a heuristic. Its return value may change for a given + set of inputs from version to version if better heuristics are added. + """ + errors = iter(errors) + best = next(errors, None) + if best is None: + return + best = max(itertools.chain([best], errors), key=key) + + while best.context: + # Calculate the minimum via nsmallest, because we don't recurse if + # all nested errors have the same relevance (i.e. if min == max == all) + smallest = heapq.nsmallest(2, best.context, key=key) + if len(smallest) == 2 and key(smallest[0]) == key(smallest[1]): + return best + best = smallest[0] + return best diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/protocols.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/protocols.py new file mode 100644 index 0000000000000000000000000000000000000000..4ad43e70674b8e4c3ba0c9914a7885745adcd6d1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/protocols.py @@ -0,0 +1,230 @@ +""" +typing.Protocol classes for jsonschema interfaces. +""" + +# for reference material on Protocols, see +# https://www.python.org/dev/peps/pep-0544/ + +from __future__ import annotations + +from collections.abc import Mapping +from typing import ( + TYPE_CHECKING, + Any, + ClassVar, + Iterable, + Protocol, + runtime_checkable, +) + +# in order for Sphinx to resolve references accurately from type annotations, +# it needs to see names like `jsonschema.TypeChecker` +# therefore, only import at type-checking time (to avoid circular references), +# but use `jsonschema` for any types which will otherwise not be resolvable +if TYPE_CHECKING: + from jsonschema import _typing + import jsonschema + import jsonschema.validators + import referencing.jsonschema + +from jsonschema.exceptions import ValidationError + +# For code authors working on the validator protocol, these are the three +# use-cases which should be kept in mind: +# +# 1. As a protocol class, it can be used in type annotations to describe the +# available methods and attributes of a validator +# 2. It is the source of autodoc for the validator documentation +# 3. It is runtime_checkable, meaning that it can be used in isinstance() +# checks. +# +# Since protocols are not base classes, isinstance() checking is limited in +# its capabilities. See docs on runtime_checkable for detail + + +@runtime_checkable +class Validator(Protocol): + """ + The protocol to which all validator classes adhere. + + Arguments: + + schema: + + The schema that the validator object will validate with. + It is assumed to be valid, and providing + an invalid schema can lead to undefined behavior. See + `Validator.check_schema` to validate a schema first. + + registry: + + a schema registry that will be used for looking up JSON references + + resolver: + + a resolver that will be used to resolve :kw:`$ref` + properties (JSON references). If unprovided, one will be created. + + .. deprecated:: v4.18.0 + + `RefResolver <_RefResolver>` has been deprecated in favor of + `referencing`, and with it, this argument. + + format_checker: + + if provided, a checker which will be used to assert about + :kw:`format` properties present in the schema. If unprovided, + *no* format validation is done, and the presence of format + within schemas is strictly informational. Certain formats + require additional packages to be installed in order to assert + against instances. Ensure you've installed `jsonschema` with + its `extra (optional) dependencies ` when + invoking ``pip``. + + .. deprecated:: v4.12.0 + + Subclassing validator classes now explicitly warns this is not part of + their public API. + """ + + #: An object representing the validator's meta schema (the schema that + #: describes valid schemas in the given version). + META_SCHEMA: ClassVar[Mapping] + + #: A mapping of validation keywords (`str`\s) to functions that + #: validate the keyword with that name. For more information see + #: `creating-validators`. + VALIDATORS: ClassVar[Mapping] + + #: A `jsonschema.TypeChecker` that will be used when validating + #: :kw:`type` keywords in JSON schemas. + TYPE_CHECKER: ClassVar[jsonschema.TypeChecker] + + #: A `jsonschema.FormatChecker` that will be used when validating + #: :kw:`format` keywords in JSON schemas. + FORMAT_CHECKER: ClassVar[jsonschema.FormatChecker] + + #: A function which given a schema returns its ID. + ID_OF: _typing.id_of + + #: The schema that will be used to validate instances + schema: Mapping | bool + + def __init__( + self, + schema: Mapping | bool, + registry: referencing.jsonschema.SchemaRegistry, + format_checker: jsonschema.FormatChecker | None = None, + ) -> None: + ... + + @classmethod + def check_schema(cls, schema: Mapping | bool) -> None: + """ + Validate the given schema against the validator's `META_SCHEMA`. + + Raises: + + `jsonschema.exceptions.SchemaError`: + + if the schema is invalid + """ + + def is_type(self, instance: Any, type: str) -> bool: + """ + Check if the instance is of the given (JSON Schema) type. + + Arguments: + + instance: + + the value to check + + type: + + the name of a known (JSON Schema) type + + Returns: + + whether the instance is of the given type + + Raises: + + `jsonschema.exceptions.UnknownType`: + + if ``type`` is not a known type + """ + + def is_valid(self, instance: Any) -> bool: + """ + Check if the instance is valid under the current `schema`. + + Returns: + + whether the instance is valid or not + + >>> schema = {"maxItems" : 2} + >>> Draft202012Validator(schema).is_valid([2, 3, 4]) + False + """ + + def iter_errors(self, instance: Any) -> Iterable[ValidationError]: + r""" + Lazily yield each of the validation errors in the given instance. + + >>> schema = { + ... "type" : "array", + ... "items" : {"enum" : [1, 2, 3]}, + ... "maxItems" : 2, + ... } + >>> v = Draft202012Validator(schema) + >>> for error in sorted(v.iter_errors([2, 3, 4]), key=str): + ... print(error.message) + 4 is not one of [1, 2, 3] + [2, 3, 4] is too long + + .. deprecated:: v4.0.0 + + Calling this function with a second schema argument is deprecated. + Use `Validator.evolve` instead. + """ + + def validate(self, instance: Any) -> None: + """ + Check if the instance is valid under the current `schema`. + + Raises: + + `jsonschema.exceptions.ValidationError`: + + if the instance is invalid + + >>> schema = {"maxItems" : 2} + >>> Draft202012Validator(schema).validate([2, 3, 4]) + Traceback (most recent call last): + ... + ValidationError: [2, 3, 4] is too long + """ + + def evolve(self, **kwargs) -> Validator: + """ + Create a new validator like this one, but with given changes. + + Preserves all other attributes, so can be used to e.g. create a + validator with a different schema but with the same :kw:`$ref` + resolution behavior. + + >>> validator = Draft202012Validator({}) + >>> validator.evolve(schema={"type": "number"}) + Draft202012Validator(schema={'type': 'number'}, format_checker=None) + + The returned object satisfies the validator protocol, but may not + be of the same concrete class! In particular this occurs + when a :kw:`$ref` occurs to a schema with a different + :kw:`$schema` than this one (i.e. for a different draft). + + >>> validator.evolve( + ... schema={"$schema": Draft7Validator.META_SCHEMA["$id"]} + ... ) + Draft7Validator(schema=..., format_checker=None) + """ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/validators.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/validators.py new file mode 100644 index 0000000000000000000000000000000000000000..b8f6fcb26e8af62dec0a8afcc2f4cc8c42c81681 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/jsonschema/validators.py @@ -0,0 +1,1383 @@ +""" +Creation and extension of validators, with implementations for existing drafts. +""" +from __future__ import annotations + +from collections import deque +from collections.abc import Iterable, Mapping, Sequence +from functools import lru_cache +from operator import methodcaller +from urllib.parse import unquote, urldefrag, urljoin, urlsplit +from urllib.request import urlopen +from warnings import warn +import contextlib +import json +import reprlib +import warnings + +from attrs import define, field, fields +from jsonschema_specifications import REGISTRY as SPECIFICATIONS +from rpds import HashTrieMap +import referencing.exceptions +import referencing.jsonschema + +from jsonschema import ( + _format, + _keywords, + _legacy_keywords, + _types, + _typing, + _utils, + exceptions, +) +from jsonschema.protocols import Validator + +_UNSET = _utils.Unset() + +_VALIDATORS: dict[str, Validator] = {} +_META_SCHEMAS = _utils.URIDict() + + +def __getattr__(name): + if name == "ErrorTree": + warnings.warn( + "Importing ErrorTree from jsonschema.validators is deprecated. " + "Instead import it from jsonschema.exceptions.", + DeprecationWarning, + stacklevel=2, + ) + from jsonschema.exceptions import ErrorTree + return ErrorTree + elif name == "validators": + warnings.warn( + "Accessing jsonschema.validators.validators is deprecated. " + "Use jsonschema.validators.validator_for with a given schema.", + DeprecationWarning, + stacklevel=2, + ) + return _VALIDATORS + elif name == "meta_schemas": + warnings.warn( + "Accessing jsonschema.validators.meta_schemas is deprecated. " + "Use jsonschema.validators.validator_for with a given schema.", + DeprecationWarning, + stacklevel=2, + ) + return _META_SCHEMAS + elif name == "RefResolver": + warnings.warn( + _RefResolver._DEPRECATION_MESSAGE, + DeprecationWarning, + stacklevel=2, + ) + return _RefResolver + raise AttributeError(f"module {__name__} has no attribute {name}") + + +def validates(version): + """ + Register the decorated validator for a ``version`` of the specification. + + Registered validators and their meta schemas will be considered when + parsing :kw:`$schema` keywords' URIs. + + Arguments: + + version (str): + + An identifier to use as the version's name + + Returns: + + collections.abc.Callable: + + a class decorator to decorate the validator with the version + """ + + def _validates(cls): + _VALIDATORS[version] = cls + meta_schema_id = cls.ID_OF(cls.META_SCHEMA) + _META_SCHEMAS[meta_schema_id] = cls + return cls + return _validates + + +def _warn_for_remote_retrieve(uri: str): + from urllib.request import Request, urlopen + headers = {"User-Agent": "python-jsonschema (deprecated $ref resolution)"} + request = Request(uri, headers=headers) + with urlopen(request) as response: + warnings.warn( + "Automatically retrieving remote references can be a security " + "vulnerability and is discouraged by the JSON Schema " + "specifications. Relying on this behavior is deprecated " + "and will shortly become an error. If you are sure you want to " + "remotely retrieve your reference and that it is safe to do so, " + "you can find instructions for doing so via referencing.Registry " + "in the referencing documentation " + "(https://referencing.readthedocs.org).", + DeprecationWarning, + stacklevel=9, # Ha ha ha ha magic numbers :/ + ) + return referencing.Resource.from_contents( + json.load(response), + default_specification=referencing.jsonschema.DRAFT202012, + ) + + +_REMOTE_WARNING_REGISTRY = SPECIFICATIONS.combine( + referencing.Registry(retrieve=_warn_for_remote_retrieve), # type: ignore[call-arg] +) + + +def create( + meta_schema: referencing.jsonschema.ObjectSchema, + validators: ( + Mapping[str, _typing.SchemaKeywordValidator] + | Iterable[tuple[str, _typing.SchemaKeywordValidator]] + ) = (), + version: str | None = None, + type_checker: _types.TypeChecker = _types.draft202012_type_checker, + format_checker: _format.FormatChecker = _format.draft202012_format_checker, + id_of: _typing.id_of = referencing.jsonschema.DRAFT202012.id_of, + applicable_validators: _typing.ApplicableValidators = methodcaller( + "items", + ), +): + """ + Create a new validator class. + + Arguments: + + meta_schema: + + the meta schema for the new validator class + + validators: + + a mapping from names to callables, where each callable will + validate the schema property with the given name. + + Each callable should take 4 arguments: + + 1. a validator instance, + 2. the value of the property being validated within the + instance + 3. the instance + 4. the schema + + version: + + an identifier for the version that this validator class will + validate. If provided, the returned validator class will + have its ``__name__`` set to include the version, and also + will have `jsonschema.validators.validates` automatically + called for the given version. + + type_checker: + + a type checker, used when applying the :kw:`type` keyword. + + If unprovided, a `jsonschema.TypeChecker` will be created + with a set of default types typical of JSON Schema drafts. + + format_checker: + + a format checker, used when applying the :kw:`format` keyword. + + If unprovided, a `jsonschema.FormatChecker` will be created + with a set of default formats typical of JSON Schema drafts. + + id_of: + + A function that given a schema, returns its ID. + + applicable_validators: + + A function that, given a schema, returns the list of + applicable schema keywords and associated values + which will be used to validate the instance. + This is mostly used to support pre-draft 7 versions of JSON Schema + which specified behavior around ignoring keywords if they were + siblings of a ``$ref`` keyword. If you're not attempting to + implement similar behavior, you can typically ignore this argument + and leave it at its default. + + Returns: + + a new `jsonschema.protocols.Validator` class + """ + # preemptively don't shadow the `Validator.format_checker` local + format_checker_arg = format_checker + + specification = referencing.jsonschema.specification_with( + dialect_id=id_of(meta_schema) or "urn:unknown-dialect", + default=referencing.Specification.OPAQUE, + ) + + @define + class Validator: + + VALIDATORS = dict(validators) # noqa: RUF012 + META_SCHEMA = dict(meta_schema) # noqa: RUF012 + TYPE_CHECKER = type_checker + FORMAT_CHECKER = format_checker_arg + ID_OF = staticmethod(id_of) + + _APPLICABLE_VALIDATORS = applicable_validators + + schema: referencing.jsonschema.Schema = field(repr=reprlib.repr) + _ref_resolver = field(default=None, repr=False, alias="resolver") + format_checker: _format.FormatChecker | None = field(default=None) + # TODO: include new meta-schemas added at runtime + _registry: referencing.jsonschema.SchemaRegistry = field( + default=_REMOTE_WARNING_REGISTRY, + kw_only=True, + repr=False, + ) + _resolver = field( + alias="_resolver", + default=None, + kw_only=True, + repr=False, + ) + + def __init_subclass__(cls): + warnings.warn( + ( + "Subclassing validator classes is not intended to " + "be part of their public API. A future version " + "will make doing so an error, as the behavior of " + "subclasses isn't guaranteed to stay the same " + "between releases of jsonschema. Instead, prefer " + "composition of validators, wrapping them in an object " + "owned entirely by the downstream library." + ), + DeprecationWarning, + stacklevel=2, + ) + + def evolve(self, **changes): + cls = self.__class__ + schema = changes.setdefault("schema", self.schema) + NewValidator = validator_for(schema, default=cls) + + for field in fields(cls): # noqa: F402 + if not field.init: + continue + attr_name = field.name + init_name = field.alias + if init_name not in changes: + changes[init_name] = getattr(self, attr_name) + + return NewValidator(**changes) + + cls.evolve = evolve + + def __attrs_post_init__(self): + if self._resolver is None: + registry = self._registry + if registry is not _REMOTE_WARNING_REGISTRY: + registry = SPECIFICATIONS.combine(registry) + resource = specification.create_resource(self.schema) + self._resolver = registry.resolver_with_root(resource) + + # REMOVEME: Legacy ref resolution state management. + push_scope = getattr(self._ref_resolver, "push_scope", None) + if push_scope is not None: + id = id_of(self.schema) + if id is not None: + push_scope(id) + + @classmethod + def check_schema(cls, schema, format_checker=_UNSET): + Validator = validator_for(cls.META_SCHEMA, default=cls) + if format_checker is _UNSET: + format_checker = Validator.FORMAT_CHECKER + validator = Validator( + schema=cls.META_SCHEMA, + format_checker=format_checker, + ) + for error in validator.iter_errors(schema): + raise exceptions.SchemaError.create_from(error) + + @property + def resolver(self): + warnings.warn( + ( + f"Accessing {self.__class__.__name__}.resolver is " + "deprecated as of v4.18.0, in favor of the " + "https://github.com/python-jsonschema/referencing " + "library, which provides more compliant referencing " + "behavior as well as more flexible APIs for " + "customization." + ), + DeprecationWarning, + stacklevel=2, + ) + if self._ref_resolver is None: + self._ref_resolver = _RefResolver.from_schema( + self.schema, + id_of=id_of, + ) + return self._ref_resolver + + def evolve(self, **changes): + schema = changes.setdefault("schema", self.schema) + NewValidator = validator_for(schema, default=self.__class__) + + for (attr_name, init_name) in evolve_fields: + if init_name not in changes: + changes[init_name] = getattr(self, attr_name) + + return NewValidator(**changes) + + def iter_errors(self, instance, _schema=None): + if _schema is not None: + warnings.warn( + ( + "Passing a schema to Validator.iter_errors " + "is deprecated and will be removed in a future " + "release. Call validator.evolve(schema=new_schema)." + "iter_errors(...) instead." + ), + DeprecationWarning, + stacklevel=2, + ) + else: + _schema = self.schema + + if _schema is True: + return + elif _schema is False: + yield exceptions.ValidationError( + f"False schema does not allow {instance!r}", + validator=None, + validator_value=None, + instance=instance, + schema=_schema, + ) + return + + for k, v in applicable_validators(_schema): + validator = self.VALIDATORS.get(k) + if validator is None: + continue + + errors = validator(self, v, instance, _schema) or () + for error in errors: + # set details if not already set by the called fn + error._set( + validator=k, + validator_value=v, + instance=instance, + schema=_schema, + type_checker=self.TYPE_CHECKER, + ) + if k not in {"if", "$ref"}: + error.schema_path.appendleft(k) + yield error + + def descend( + self, + instance, + schema, + path=None, + schema_path=None, + resolver=None, + ): + if schema is True: + return + elif schema is False: + yield exceptions.ValidationError( + f"False schema does not allow {instance!r}", + validator=None, + validator_value=None, + instance=instance, + schema=schema, + ) + return + + if self._ref_resolver is not None: + evolved = self.evolve(schema=schema) + else: + if resolver is None: + resolver = self._resolver.in_subresource( + specification.create_resource(schema), + ) + evolved = self.evolve(schema=schema, _resolver=resolver) + + for k, v in applicable_validators(schema): + validator = evolved.VALIDATORS.get(k) + if validator is None: + continue + + errors = validator(evolved, v, instance, schema) or () + for error in errors: + # set details if not already set by the called fn + error._set( + validator=k, + validator_value=v, + instance=instance, + schema=schema, + type_checker=evolved.TYPE_CHECKER, + ) + if k not in {"if", "$ref"}: + error.schema_path.appendleft(k) + if path is not None: + error.path.appendleft(path) + if schema_path is not None: + error.schema_path.appendleft(schema_path) + yield error + + def validate(self, *args, **kwargs): + for error in self.iter_errors(*args, **kwargs): + raise error + + def is_type(self, instance, type): + try: + return self.TYPE_CHECKER.is_type(instance, type) + except exceptions.UndefinedTypeCheck: + raise exceptions.UnknownType(type, instance, self.schema) + + def _validate_reference(self, ref, instance): + if self._ref_resolver is None: + try: + resolved = self._resolver.lookup(ref) + except referencing.exceptions.Unresolvable as err: + raise exceptions._WrappedReferencingError(err) + + return self.descend( + instance, + resolved.contents, + resolver=resolved.resolver, + ) + else: + resolve = getattr(self._ref_resolver, "resolve", None) + if resolve is None: + with self._ref_resolver.resolving(ref) as resolved: + return self.descend(instance, resolved) + else: + scope, resolved = resolve(ref) + self._ref_resolver.push_scope(scope) + + try: + return list(self.descend(instance, resolved)) + finally: + self._ref_resolver.pop_scope() + + def is_valid(self, instance, _schema=None): + if _schema is not None: + warnings.warn( + ( + "Passing a schema to Validator.is_valid is deprecated " + "and will be removed in a future release. Call " + "validator.evolve(schema=new_schema).is_valid(...) " + "instead." + ), + DeprecationWarning, + stacklevel=2, + ) + self = self.evolve(schema=_schema) + + error = next(self.iter_errors(instance), None) + return error is None + + evolve_fields = [ + (field.name, field.alias) + for field in fields(Validator) + if field.init + ] + + if version is not None: + safe = version.title().replace(" ", "").replace("-", "") + Validator.__name__ = Validator.__qualname__ = f"{safe}Validator" + Validator = validates(version)(Validator) # type: ignore[misc] + + return Validator + + +def extend( + validator, + validators=(), + version=None, + type_checker=None, + format_checker=None, +): + """ + Create a new validator class by extending an existing one. + + Arguments: + + validator (jsonschema.protocols.Validator): + + an existing validator class + + validators (collections.abc.Mapping): + + a mapping of new validator callables to extend with, whose + structure is as in `create`. + + .. note:: + + Any validator callables with the same name as an + existing one will (silently) replace the old validator + callable entirely, effectively overriding any validation + done in the "parent" validator class. + + If you wish to instead extend the behavior of a parent's + validator callable, delegate and call it directly in + the new validator function by retrieving it using + ``OldValidator.VALIDATORS["validation_keyword_name"]``. + + version (str): + + a version for the new validator class + + type_checker (jsonschema.TypeChecker): + + a type checker, used when applying the :kw:`type` keyword. + + If unprovided, the type checker of the extended + `jsonschema.protocols.Validator` will be carried along. + + format_checker (jsonschema.FormatChecker): + + a format checker, used when applying the :kw:`format` keyword. + + If unprovided, the format checker of the extended + `jsonschema.protocols.Validator` will be carried along. + + Returns: + + a new `jsonschema.protocols.Validator` class extending the one + provided + + .. note:: Meta Schemas + + The new validator class will have its parent's meta schema. + + If you wish to change or extend the meta schema in the new + validator class, modify ``META_SCHEMA`` directly on the returned + class. Note that no implicit copying is done, so a copy should + likely be made before modifying it, in order to not affect the + old validator. + """ + all_validators = dict(validator.VALIDATORS) + all_validators.update(validators) + + if type_checker is None: + type_checker = validator.TYPE_CHECKER + if format_checker is None: + format_checker = validator.FORMAT_CHECKER + return create( + meta_schema=validator.META_SCHEMA, + validators=all_validators, + version=version, + type_checker=type_checker, + format_checker=format_checker, + id_of=validator.ID_OF, + applicable_validators=validator._APPLICABLE_VALIDATORS, + ) + + +Draft3Validator = create( + meta_schema=SPECIFICATIONS.contents( + "http://json-schema.org/draft-03/schema#", + ), + validators={ + "$ref": _keywords.ref, + "additionalItems": _legacy_keywords.additionalItems, + "additionalProperties": _keywords.additionalProperties, + "dependencies": _legacy_keywords.dependencies_draft3, + "disallow": _legacy_keywords.disallow_draft3, + "divisibleBy": _keywords.multipleOf, + "enum": _keywords.enum, + "extends": _legacy_keywords.extends_draft3, + "format": _keywords.format, + "items": _legacy_keywords.items_draft3_draft4, + "maxItems": _keywords.maxItems, + "maxLength": _keywords.maxLength, + "maximum": _legacy_keywords.maximum_draft3_draft4, + "minItems": _keywords.minItems, + "minLength": _keywords.minLength, + "minimum": _legacy_keywords.minimum_draft3_draft4, + "pattern": _keywords.pattern, + "patternProperties": _keywords.patternProperties, + "properties": _legacy_keywords.properties_draft3, + "type": _legacy_keywords.type_draft3, + "uniqueItems": _keywords.uniqueItems, + }, + type_checker=_types.draft3_type_checker, + format_checker=_format.draft3_format_checker, + version="draft3", + id_of=referencing.jsonschema.DRAFT3.id_of, + applicable_validators=_legacy_keywords.ignore_ref_siblings, +) + +Draft4Validator = create( + meta_schema=SPECIFICATIONS.contents( + "http://json-schema.org/draft-04/schema#", + ), + validators={ + "$ref": _keywords.ref, + "additionalItems": _legacy_keywords.additionalItems, + "additionalProperties": _keywords.additionalProperties, + "allOf": _keywords.allOf, + "anyOf": _keywords.anyOf, + "dependencies": _legacy_keywords.dependencies_draft4_draft6_draft7, + "enum": _keywords.enum, + "format": _keywords.format, + "items": _legacy_keywords.items_draft3_draft4, + "maxItems": _keywords.maxItems, + "maxLength": _keywords.maxLength, + "maxProperties": _keywords.maxProperties, + "maximum": _legacy_keywords.maximum_draft3_draft4, + "minItems": _keywords.minItems, + "minLength": _keywords.minLength, + "minProperties": _keywords.minProperties, + "minimum": _legacy_keywords.minimum_draft3_draft4, + "multipleOf": _keywords.multipleOf, + "not": _keywords.not_, + "oneOf": _keywords.oneOf, + "pattern": _keywords.pattern, + "patternProperties": _keywords.patternProperties, + "properties": _keywords.properties, + "required": _keywords.required, + "type": _keywords.type, + "uniqueItems": _keywords.uniqueItems, + }, + type_checker=_types.draft4_type_checker, + format_checker=_format.draft4_format_checker, + version="draft4", + id_of=referencing.jsonschema.DRAFT4.id_of, + applicable_validators=_legacy_keywords.ignore_ref_siblings, +) + +Draft6Validator = create( + meta_schema=SPECIFICATIONS.contents( + "http://json-schema.org/draft-06/schema#", + ), + validators={ + "$ref": _keywords.ref, + "additionalItems": _legacy_keywords.additionalItems, + "additionalProperties": _keywords.additionalProperties, + "allOf": _keywords.allOf, + "anyOf": _keywords.anyOf, + "const": _keywords.const, + "contains": _legacy_keywords.contains_draft6_draft7, + "dependencies": _legacy_keywords.dependencies_draft4_draft6_draft7, + "enum": _keywords.enum, + "exclusiveMaximum": _keywords.exclusiveMaximum, + "exclusiveMinimum": _keywords.exclusiveMinimum, + "format": _keywords.format, + "items": _legacy_keywords.items_draft6_draft7_draft201909, + "maxItems": _keywords.maxItems, + "maxLength": _keywords.maxLength, + "maxProperties": _keywords.maxProperties, + "maximum": _keywords.maximum, + "minItems": _keywords.minItems, + "minLength": _keywords.minLength, + "minProperties": _keywords.minProperties, + "minimum": _keywords.minimum, + "multipleOf": _keywords.multipleOf, + "not": _keywords.not_, + "oneOf": _keywords.oneOf, + "pattern": _keywords.pattern, + "patternProperties": _keywords.patternProperties, + "properties": _keywords.properties, + "propertyNames": _keywords.propertyNames, + "required": _keywords.required, + "type": _keywords.type, + "uniqueItems": _keywords.uniqueItems, + }, + type_checker=_types.draft6_type_checker, + format_checker=_format.draft6_format_checker, + version="draft6", + id_of=referencing.jsonschema.DRAFT6.id_of, + applicable_validators=_legacy_keywords.ignore_ref_siblings, +) + +Draft7Validator = create( + meta_schema=SPECIFICATIONS.contents( + "http://json-schema.org/draft-07/schema#", + ), + validators={ + "$ref": _keywords.ref, + "additionalItems": _legacy_keywords.additionalItems, + "additionalProperties": _keywords.additionalProperties, + "allOf": _keywords.allOf, + "anyOf": _keywords.anyOf, + "const": _keywords.const, + "contains": _legacy_keywords.contains_draft6_draft7, + "dependencies": _legacy_keywords.dependencies_draft4_draft6_draft7, + "enum": _keywords.enum, + "exclusiveMaximum": _keywords.exclusiveMaximum, + "exclusiveMinimum": _keywords.exclusiveMinimum, + "format": _keywords.format, + "if": _keywords.if_, + "items": _legacy_keywords.items_draft6_draft7_draft201909, + "maxItems": _keywords.maxItems, + "maxLength": _keywords.maxLength, + "maxProperties": _keywords.maxProperties, + "maximum": _keywords.maximum, + "minItems": _keywords.minItems, + "minLength": _keywords.minLength, + "minProperties": _keywords.minProperties, + "minimum": _keywords.minimum, + "multipleOf": _keywords.multipleOf, + "not": _keywords.not_, + "oneOf": _keywords.oneOf, + "pattern": _keywords.pattern, + "patternProperties": _keywords.patternProperties, + "properties": _keywords.properties, + "propertyNames": _keywords.propertyNames, + "required": _keywords.required, + "type": _keywords.type, + "uniqueItems": _keywords.uniqueItems, + }, + type_checker=_types.draft7_type_checker, + format_checker=_format.draft7_format_checker, + version="draft7", + id_of=referencing.jsonschema.DRAFT7.id_of, + applicable_validators=_legacy_keywords.ignore_ref_siblings, +) + +Draft201909Validator = create( + meta_schema=SPECIFICATIONS.contents( + "https://json-schema.org/draft/2019-09/schema", + ), + validators={ + "$recursiveRef": _legacy_keywords.recursiveRef, + "$ref": _keywords.ref, + "additionalItems": _legacy_keywords.additionalItems, + "additionalProperties": _keywords.additionalProperties, + "allOf": _keywords.allOf, + "anyOf": _keywords.anyOf, + "const": _keywords.const, + "contains": _keywords.contains, + "dependentRequired": _keywords.dependentRequired, + "dependentSchemas": _keywords.dependentSchemas, + "enum": _keywords.enum, + "exclusiveMaximum": _keywords.exclusiveMaximum, + "exclusiveMinimum": _keywords.exclusiveMinimum, + "format": _keywords.format, + "if": _keywords.if_, + "items": _legacy_keywords.items_draft6_draft7_draft201909, + "maxItems": _keywords.maxItems, + "maxLength": _keywords.maxLength, + "maxProperties": _keywords.maxProperties, + "maximum": _keywords.maximum, + "minItems": _keywords.minItems, + "minLength": _keywords.minLength, + "minProperties": _keywords.minProperties, + "minimum": _keywords.minimum, + "multipleOf": _keywords.multipleOf, + "not": _keywords.not_, + "oneOf": _keywords.oneOf, + "pattern": _keywords.pattern, + "patternProperties": _keywords.patternProperties, + "properties": _keywords.properties, + "propertyNames": _keywords.propertyNames, + "required": _keywords.required, + "type": _keywords.type, + "unevaluatedItems": _legacy_keywords.unevaluatedItems_draft2019, + "unevaluatedProperties": ( + _legacy_keywords.unevaluatedProperties_draft2019 + ), + "uniqueItems": _keywords.uniqueItems, + }, + type_checker=_types.draft201909_type_checker, + format_checker=_format.draft201909_format_checker, + version="draft2019-09", +) + +Draft202012Validator = create( + meta_schema=SPECIFICATIONS.contents( + "https://json-schema.org/draft/2020-12/schema", + ), + validators={ + "$dynamicRef": _keywords.dynamicRef, + "$ref": _keywords.ref, + "additionalProperties": _keywords.additionalProperties, + "allOf": _keywords.allOf, + "anyOf": _keywords.anyOf, + "const": _keywords.const, + "contains": _keywords.contains, + "dependentRequired": _keywords.dependentRequired, + "dependentSchemas": _keywords.dependentSchemas, + "enum": _keywords.enum, + "exclusiveMaximum": _keywords.exclusiveMaximum, + "exclusiveMinimum": _keywords.exclusiveMinimum, + "format": _keywords.format, + "if": _keywords.if_, + "items": _keywords.items, + "maxItems": _keywords.maxItems, + "maxLength": _keywords.maxLength, + "maxProperties": _keywords.maxProperties, + "maximum": _keywords.maximum, + "minItems": _keywords.minItems, + "minLength": _keywords.minLength, + "minProperties": _keywords.minProperties, + "minimum": _keywords.minimum, + "multipleOf": _keywords.multipleOf, + "not": _keywords.not_, + "oneOf": _keywords.oneOf, + "pattern": _keywords.pattern, + "patternProperties": _keywords.patternProperties, + "prefixItems": _keywords.prefixItems, + "properties": _keywords.properties, + "propertyNames": _keywords.propertyNames, + "required": _keywords.required, + "type": _keywords.type, + "unevaluatedItems": _keywords.unevaluatedItems, + "unevaluatedProperties": _keywords.unevaluatedProperties, + "uniqueItems": _keywords.uniqueItems, + }, + type_checker=_types.draft202012_type_checker, + format_checker=_format.draft202012_format_checker, + version="draft2020-12", +) + +_LATEST_VERSION = Draft202012Validator + + +class _RefResolver: + """ + Resolve JSON References. + + Arguments: + + base_uri (str): + + The URI of the referring document + + referrer: + + The actual referring document + + store (dict): + + A mapping from URIs to documents to cache + + cache_remote (bool): + + Whether remote refs should be cached after first resolution + + handlers (dict): + + A mapping from URI schemes to functions that should be used + to retrieve them + + urljoin_cache (:func:`functools.lru_cache`): + + A cache that will be used for caching the results of joining + the resolution scope to subscopes. + + remote_cache (:func:`functools.lru_cache`): + + A cache that will be used for caching the results of + resolved remote URLs. + + Attributes: + + cache_remote (bool): + + Whether remote refs should be cached after first resolution + + .. deprecated:: v4.18.0 + + ``RefResolver`` has been deprecated in favor of `referencing`. + """ + + _DEPRECATION_MESSAGE = ( + "jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the " + "https://github.com/python-jsonschema/referencing library, which " + "provides more compliant referencing behavior as well as more " + "flexible APIs for customization. A future release will remove " + "RefResolver. Please file a feature request (on referencing) if you " + "are missing an API for the kind of customization you need." + ) + + def __init__( + self, + base_uri, + referrer, + store=HashTrieMap(), + cache_remote=True, + handlers=(), + urljoin_cache=None, + remote_cache=None, + ): + if urljoin_cache is None: + urljoin_cache = lru_cache(1024)(urljoin) + if remote_cache is None: + remote_cache = lru_cache(1024)(self.resolve_from_url) + + self.referrer = referrer + self.cache_remote = cache_remote + self.handlers = dict(handlers) + + self._scopes_stack = [base_uri] + + self.store = _utils.URIDict( + (uri, each.contents) for uri, each in SPECIFICATIONS.items() + ) + self.store.update( + (id, each.META_SCHEMA) for id, each in _META_SCHEMAS.items() + ) + self.store.update(store) + self.store.update( + (schema["$id"], schema) + for schema in store.values() + if isinstance(schema, Mapping) and "$id" in schema + ) + self.store[base_uri] = referrer + + self._urljoin_cache = urljoin_cache + self._remote_cache = remote_cache + + @classmethod + def from_schema( # noqa: D417 + cls, + schema, + id_of=referencing.jsonschema.DRAFT202012.id_of, + *args, + **kwargs, + ): + """ + Construct a resolver from a JSON schema object. + + Arguments: + + schema: + + the referring schema + + Returns: + + `_RefResolver` + """ + return cls(base_uri=id_of(schema) or "", referrer=schema, *args, **kwargs) # noqa: B026, E501 + + def push_scope(self, scope): + """ + Enter a given sub-scope. + + Treats further dereferences as being performed underneath the + given scope. + """ + self._scopes_stack.append( + self._urljoin_cache(self.resolution_scope, scope), + ) + + def pop_scope(self): + """ + Exit the most recent entered scope. + + Treats further dereferences as being performed underneath the + original scope. + + Don't call this method more times than `push_scope` has been + called. + """ + try: + self._scopes_stack.pop() + except IndexError: + raise exceptions._RefResolutionError( + "Failed to pop the scope from an empty stack. " + "`pop_scope()` should only be called once for every " + "`push_scope()`", + ) + + @property + def resolution_scope(self): + """ + Retrieve the current resolution scope. + """ + return self._scopes_stack[-1] + + @property + def base_uri(self): + """ + Retrieve the current base URI, not including any fragment. + """ + uri, _ = urldefrag(self.resolution_scope) + return uri + + @contextlib.contextmanager + def in_scope(self, scope): + """ + Temporarily enter the given scope for the duration of the context. + + .. deprecated:: v4.0.0 + """ + warnings.warn( + "jsonschema.RefResolver.in_scope is deprecated and will be " + "removed in a future release.", + DeprecationWarning, + stacklevel=3, + ) + self.push_scope(scope) + try: + yield + finally: + self.pop_scope() + + @contextlib.contextmanager + def resolving(self, ref): + """ + Resolve the given ``ref`` and enter its resolution scope. + + Exits the scope on exit of this context manager. + + Arguments: + + ref (str): + + The reference to resolve + """ + url, resolved = self.resolve(ref) + self.push_scope(url) + try: + yield resolved + finally: + self.pop_scope() + + def _find_in_referrer(self, key): + return self._get_subschemas_cache()[key] + + @lru_cache # noqa: B019 + def _get_subschemas_cache(self): + cache = {key: [] for key in _SUBSCHEMAS_KEYWORDS} + for keyword, subschema in _search_schema( + self.referrer, _match_subschema_keywords, + ): + cache[keyword].append(subschema) + return cache + + @lru_cache # noqa: B019 + def _find_in_subschemas(self, url): + subschemas = self._get_subschemas_cache()["$id"] + if not subschemas: + return None + uri, fragment = urldefrag(url) + for subschema in subschemas: + id = subschema["$id"] + if not isinstance(id, str): + continue + target_uri = self._urljoin_cache(self.resolution_scope, id) + if target_uri.rstrip("/") == uri.rstrip("/"): + if fragment: + subschema = self.resolve_fragment(subschema, fragment) + self.store[url] = subschema + return url, subschema + return None + + def resolve(self, ref): + """ + Resolve the given reference. + """ + url = self._urljoin_cache(self.resolution_scope, ref).rstrip("/") + + match = self._find_in_subschemas(url) + if match is not None: + return match + + return url, self._remote_cache(url) + + def resolve_from_url(self, url): + """ + Resolve the given URL. + """ + url, fragment = urldefrag(url) + if not url: + url = self.base_uri + + try: + document = self.store[url] + except KeyError: + try: + document = self.resolve_remote(url) + except Exception as exc: + raise exceptions._RefResolutionError(exc) + + return self.resolve_fragment(document, fragment) + + def resolve_fragment(self, document, fragment): + """ + Resolve a ``fragment`` within the referenced ``document``. + + Arguments: + + document: + + The referent document + + fragment (str): + + a URI fragment to resolve within it + """ + fragment = fragment.lstrip("/") + + if not fragment: + return document + + if document is self.referrer: + find = self._find_in_referrer + else: + + def find(key): + yield from _search_schema(document, _match_keyword(key)) + + for keyword in ["$anchor", "$dynamicAnchor"]: + for subschema in find(keyword): + if fragment == subschema[keyword]: + return subschema + for keyword in ["id", "$id"]: + for subschema in find(keyword): + if "#" + fragment == subschema[keyword]: + return subschema + + # Resolve via path + parts = unquote(fragment).split("/") if fragment else [] + for part in parts: + part = part.replace("~1", "/").replace("~0", "~") + + if isinstance(document, Sequence): + try: # noqa: SIM105 + part = int(part) + except ValueError: + pass + try: + document = document[part] + except (TypeError, LookupError): + raise exceptions._RefResolutionError( + f"Unresolvable JSON pointer: {fragment!r}", + ) + + return document + + def resolve_remote(self, uri): + """ + Resolve a remote ``uri``. + + If called directly, does not check the store first, but after + retrieving the document at the specified URI it will be saved in + the store if :attr:`cache_remote` is True. + + .. note:: + + If the requests_ library is present, ``jsonschema`` will use it to + request the remote ``uri``, so that the correct encoding is + detected and used. + + If it isn't, or if the scheme of the ``uri`` is not ``http`` or + ``https``, UTF-8 is assumed. + + Arguments: + + uri (str): + + The URI to resolve + + Returns: + + The retrieved document + + .. _requests: https://pypi.org/project/requests/ + """ + try: + import requests + except ImportError: + requests = None + + scheme = urlsplit(uri).scheme + + if scheme in self.handlers: + result = self.handlers[scheme](uri) + elif scheme in ["http", "https"] and requests: + # Requests has support for detecting the correct encoding of + # json over http + result = requests.get(uri).json() + else: + # Otherwise, pass off to urllib and assume utf-8 + with urlopen(uri) as url: + result = json.loads(url.read().decode("utf-8")) + + if self.cache_remote: + self.store[uri] = result + return result + + +_SUBSCHEMAS_KEYWORDS = ("$id", "id", "$anchor", "$dynamicAnchor") + + +def _match_keyword(keyword): + + def matcher(value): + if keyword in value: + yield value + + return matcher + + +def _match_subschema_keywords(value): + for keyword in _SUBSCHEMAS_KEYWORDS: + if keyword in value: + yield keyword, value + + +def _search_schema(schema, matcher): + """Breadth-first search routine.""" + values = deque([schema]) + while values: + value = values.pop() + if not isinstance(value, dict): + continue + yield from matcher(value) + values.extendleft(value.values()) + + +def validate(instance, schema, cls=None, *args, **kwargs): # noqa: D417 + """ + Validate an instance under the given schema. + + >>> validate([2, 3, 4], {"maxItems": 2}) + Traceback (most recent call last): + ... + ValidationError: [2, 3, 4] is too long + + :func:`~jsonschema.validators.validate` will first verify that the + provided schema is itself valid, since not doing so can lead to less + obvious error messages and fail in less obvious or consistent ways. + + If you know you have a valid schema already, especially + if you intend to validate multiple instances with + the same schema, you likely would prefer using the + `jsonschema.protocols.Validator.validate` method directly on a + specific validator (e.g. ``Draft202012Validator.validate``). + + + Arguments: + + instance: + + The instance to validate + + schema: + + The schema to validate with + + cls (jsonschema.protocols.Validator): + + The class that will be used to validate the instance. + + If the ``cls`` argument is not provided, two things will happen + in accordance with the specification. First, if the schema has a + :kw:`$schema` keyword containing a known meta-schema [#]_ then the + proper validator will be used. The specification recommends that + all schemas contain :kw:`$schema` properties for this reason. If no + :kw:`$schema` property is found, the default validator class is the + latest released draft. + + Any other provided positional and keyword arguments will be passed + on when instantiating the ``cls``. + + Raises: + + `jsonschema.exceptions.ValidationError`: + + if the instance is invalid + + `jsonschema.exceptions.SchemaError`: + + if the schema itself is invalid + + .. rubric:: Footnotes + .. [#] known by a validator registered with + `jsonschema.validators.validates` + """ + if cls is None: + cls = validator_for(schema) + + cls.check_schema(schema) + validator = cls(schema, *args, **kwargs) + error = exceptions.best_match(validator.iter_errors(instance)) + if error is not None: + raise error + + +def validator_for(schema, default=_UNSET): + """ + Retrieve the validator class appropriate for validating the given schema. + + Uses the :kw:`$schema` keyword that should be present in the given + schema to look up the appropriate validator class. + + Arguments: + + schema (collections.abc.Mapping or bool): + + the schema to look at + + default: + + the default to return if the appropriate validator class + cannot be determined. + + If unprovided, the default is to return the latest supported + draft. + + Examples: + + The :kw:`$schema` JSON Schema keyword will control which validator + class is returned: + + >>> schema = { + ... "$schema": "https://json-schema.org/draft/2020-12/schema", + ... "type": "integer", + ... } + >>> jsonschema.validators.validator_for(schema) + + + + Here, a draft 7 schema instead will return the draft 7 validator: + + >>> schema = { + ... "$schema": "http://json-schema.org/draft-07/schema#", + ... "type": "integer", + ... } + >>> jsonschema.validators.validator_for(schema) + + + + Schemas with no ``$schema`` keyword will fallback to the default + argument: + + >>> schema = {"type": "integer"} + >>> jsonschema.validators.validator_for( + ... schema, default=Draft7Validator, + ... ) + + + or if none is provided, to the latest version supported. + Always including the keyword when authoring schemas is highly + recommended. + + """ + DefaultValidator = _LATEST_VERSION if default is _UNSET else default + + if schema is True or schema is False or "$schema" not in schema: + return DefaultValidator + if schema["$schema"] not in _META_SCHEMAS and default is _UNSET: + warn( + ( + "The metaschema specified by $schema was not found. " + "Using the latest draft to validate, but this will raise " + "an error in the future." + ), + DeprecationWarning, + stacklevel=2, + ) + return _META_SCHEMAS.get(schema["$schema"], DefaultValidator) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..44d42843993e4e6ec1064ce2c3ba64ed48ede4d9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/material/__init__.py @@ -0,0 +1,21 @@ +# Copyright (c) 2016-2023 Martin Donath + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +__version__ = "9.5.3" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/INSTALLER b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/INSTALLER new file mode 100644 index 0000000000000000000000000000000000000000..a1b589e38a32041e49332e5e81c2d363dc418d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/METADATA b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..f067250a5b0389b3deafafd9982d99ac597a3bf6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/METADATA @@ -0,0 +1,145 @@ +Metadata-Version: 2.1 +Name: mkdocs +Version: 1.5.3 +Summary: Project documentation with Markdown. +Project-URL: Documentation, https://www.mkdocs.org/ +Project-URL: Source, https://github.com/mkdocs/mkdocs +Project-URL: Issues, https://github.com/mkdocs/mkdocs/issues +Project-URL: History, https://www.mkdocs.org/about/release-notes/ +Author-email: Tom Christie +License-Expression: BSD-2-Clause +License-File: LICENSE +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Console +Classifier: Environment :: Web Environment +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Topic :: Documentation +Classifier: Topic :: Text Processing +Requires-Python: >=3.7 +Requires-Dist: click>=7.0 +Requires-Dist: colorama>=0.4; platform_system == 'Windows' +Requires-Dist: ghp-import>=1.0 +Requires-Dist: importlib-metadata>=4.3; python_version < '3.10' +Requires-Dist: jinja2>=2.11.1 +Requires-Dist: markdown>=3.2.1 +Requires-Dist: markupsafe>=2.0.1 +Requires-Dist: mergedeep>=1.3.4 +Requires-Dist: packaging>=20.5 +Requires-Dist: pathspec>=0.11.1 +Requires-Dist: platformdirs>=2.2.0 +Requires-Dist: pyyaml-env-tag>=0.1 +Requires-Dist: pyyaml>=5.1 +Requires-Dist: typing-extensions>=3.10; python_version < '3.8' +Requires-Dist: watchdog>=2.0 +Provides-Extra: i18n +Requires-Dist: babel>=2.9.0; extra == 'i18n' +Provides-Extra: min-versions +Requires-Dist: babel==2.9.0; extra == 'min-versions' +Requires-Dist: click==7.0; extra == 'min-versions' +Requires-Dist: colorama==0.4; platform_system == 'Windows' and extra == 'min-versions' +Requires-Dist: ghp-import==1.0; extra == 'min-versions' +Requires-Dist: importlib-metadata==4.3; python_version < '3.10' and extra == 'min-versions' +Requires-Dist: jinja2==2.11.1; extra == 'min-versions' +Requires-Dist: markdown==3.2.1; extra == 'min-versions' +Requires-Dist: markupsafe==2.0.1; extra == 'min-versions' +Requires-Dist: mergedeep==1.3.4; extra == 'min-versions' +Requires-Dist: packaging==20.5; extra == 'min-versions' +Requires-Dist: pathspec==0.11.1; extra == 'min-versions' +Requires-Dist: platformdirs==2.2.0; extra == 'min-versions' +Requires-Dist: pyyaml-env-tag==0.1; extra == 'min-versions' +Requires-Dist: pyyaml==5.1; extra == 'min-versions' +Requires-Dist: typing-extensions==3.10; python_version < '3.8' and extra == 'min-versions' +Requires-Dist: watchdog==2.0; extra == 'min-versions' +Description-Content-Type: text/markdown + +# MkDocs + +> *Project documentation with Markdown* + +[![PyPI Version][pypi-v-image]][pypi-v-link] +[![Build Status][GHAction-image]][GHAction-link] +[![Coverage Status][codecov-image]][codecov-link] + +MkDocs is a **fast**, **simple** and **downright gorgeous** static site +generator that's geared towards building project documentation. Documentation +source files are written in Markdown, and configured with a single YAML +configuration file. It is designed to be easy to use and can be extended with +third-party themes, plugins, and Markdown extensions. + +Please see the [Documentation][mkdocs] for an introductory tutorial and a full +user guide. + +## Features + +- Build static HTML files from Markdown files. +- Use Plugins and Markdown Extensions to enhance MkDocs. +- Use the built-in themes, third party themes or create your own. +- Publish your documentation anywhere that static files can be served. +- Much more! + +## Support + +If you need help with MkDocs, do not hesitate to get in contact with us! + +- For questions and high-level discussions, use **[Discussions]** on GitHub. + - For small questions, a good alternative is the **[Chat room]** on + Gitter/Matrix. +- To report a bug or make a feature request, open an **[Issue]** on GitHub. + +Please note that we may only provide +support for problems/questions regarding core features of MkDocs. Any +questions or bug reports about features of third-party themes, plugins, +extensions or similar should be made to their respective projects. +But, such questions are *not* banned from the [chat room]. + +Make sure to stick around to answer some questions as well! + +## Links + +- [Official Documentation][mkdocs] +- [Latest Release Notes][release-notes] +- [Catalog of third-party plugins, themes and recipes][catalog] + +## Contributing to MkDocs + +The MkDocs project welcomes, and depends on, contributions from developers and +users in the open source community. Please see the [Contributing Guide] for +information on how you can help. + +## Code of Conduct + +Everyone interacting in the MkDocs project's codebases, issue trackers, and +discussion forums is expected to follow the [PyPA Code of Conduct]. + + +[codecov-image]: https://codecov.io/github/mkdocs/mkdocs/coverage.svg?branch=master +[codecov-link]: https://codecov.io/github/mkdocs/mkdocs?branch=master +[pypi-v-image]: https://img.shields.io/pypi/v/mkdocs.svg +[pypi-v-link]: https://pypi.org/project/mkdocs/ +[GHAction-image]: https://github.com/mkdocs/mkdocs/workflows/CI/badge.svg?branch=master&event=push +[GHAction-link]: https://github.com/mkdocs/mkdocs/actions?query=event%3Apush+branch%3Amaster + +[mkdocs]: https://www.mkdocs.org +[Issue]: https://github.com/mkdocs/mkdocs/issues +[Discussions]: https://github.com/mkdocs/mkdocs/discussions +[Chat room]: https://gitter.im/mkdocs/community +[release-notes]: https://www.mkdocs.org/about/release-notes/ +[Contributing Guide]: https://www.mkdocs.org/about/contributing/ +[PyPA Code of Conduct]: https://www.pypa.io/en/latest/code-of-conduct/ +[catalog]: https://github.com/mkdocs/catalog + +## License + +[BSD-2-Clause](https://github.com/mkdocs/mkdocs/blob/master/LICENSE) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/REQUESTED b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/REQUESTED new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/WHEEL b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/WHEEL new file mode 100644 index 0000000000000000000000000000000000000000..ba1a8af28bcccdacebb8c22dfda1537447a1a58a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/WHEEL @@ -0,0 +1,4 @@ +Wheel-Version: 1.0 +Generator: hatchling 1.18.0 +Root-Is-Purelib: true +Tag: py3-none-any diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/entry_points.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..7404b2ba2a44bd45c9a72a656eeb4861f2a48c67 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs-1.5.3.dist-info/entry_points.txt @@ -0,0 +1,9 @@ +[console_scripts] +mkdocs = mkdocs.__main__:cli + +[mkdocs.plugins] +search = mkdocs.contrib.search:SearchPlugin + +[mkdocs.themes] +mkdocs = mkdocs.themes.mkdocs +readthedocs = mkdocs.themes.readthedocs diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..c6257ad669288cbca63b8e363295b864ea4d05d9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/__init__.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python + + +# For acceptable version formats, see https://www.python.org/dev/peps/pep-0440/ +__version__ = '1.5.3' diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/__main__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/__main__.py new file mode 100644 index 0000000000000000000000000000000000000000..77618fb29e72d76f49ab151000e9261abcf8e5ec --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/__main__.py @@ -0,0 +1,361 @@ +#!/usr/bin/env python + +from __future__ import annotations + +import logging +import os +import shutil +import sys +import textwrap +import traceback +import warnings + +import click + +from mkdocs import __version__, config, utils + +if sys.platform.startswith("win"): + try: + import colorama + except ImportError: + pass + else: + colorama.init() + +log = logging.getLogger(__name__) + + +def _showwarning(message, category, filename, lineno, file=None, line=None): + try: + # Last stack frames: + # * ... + # * Location of call to deprecated function <-- include this + # * Location of call to warn() <-- include this + # * (stdlib) Location of call to showwarning function + # * (this function) Location of call to extract_stack() + stack = [frame for frame in traceback.extract_stack() if frame.line][-4:-2] + # Make sure the actual affected file's name is still present (the case of syntax warning): + if not any(frame.filename == filename for frame in stack): + stack = stack[-1:] + [traceback.FrameSummary(filename, lineno, '')] + + tb = ''.join(traceback.format_list(stack)) + except Exception: + tb = f' File "{filename}", line {lineno}' + + log.info(f'{category.__name__}: {message}\n{tb}') + + +def _enable_warnings(): + from mkdocs.commands import build + + build.log.addFilter(utils.DuplicateFilter()) + + warnings.simplefilter('module', DeprecationWarning) + warnings.showwarning = _showwarning + + +class ColorFormatter(logging.Formatter): + colors = { + 'CRITICAL': 'red', + 'ERROR': 'red', + 'WARNING': 'yellow', + 'DEBUG': 'blue', + } + + text_wrapper = textwrap.TextWrapper( + width=shutil.get_terminal_size(fallback=(0, 0)).columns, + replace_whitespace=False, + break_long_words=False, + break_on_hyphens=False, + initial_indent=' ' * 11, + subsequent_indent=' ' * 11, + ) + + def format(self, record): + message = super().format(record) + prefix = f'{record.levelname:<8}- ' + if record.levelname in self.colors: + prefix = click.style(prefix, fg=self.colors[record.levelname]) + if self.text_wrapper.width: + # Only wrap text if a terminal width was detected + msg = '\n'.join(self.text_wrapper.fill(line) for line in message.splitlines()) + # Prepend prefix after wrapping so that color codes don't affect length + return prefix + msg[11:] + return prefix + message + + +class State: + """Maintain logging level.""" + + def __init__(self, log_name='mkdocs', level=logging.INFO): + self.logger = logging.getLogger(log_name) + # Don't restrict level on logger; use handler + self.logger.setLevel(1) + self.logger.propagate = False + + self.stream = logging.StreamHandler() + self.stream.setFormatter(ColorFormatter()) + self.stream.setLevel(level) + self.stream.name = 'MkDocsStreamHandler' + self.logger.addHandler(self.stream) + + def __del__(self): + self.logger.removeHandler(self.stream) + + +pass_state = click.make_pass_decorator(State, ensure=True) + +clean_help = "Remove old files from the site_dir before building (the default)." +config_help = ( + "Provide a specific MkDocs config. This can be a file name, or '-' to read from stdin." +) +dev_addr_help = "IP address and port to serve documentation locally (default: localhost:8000)" +strict_help = "Enable strict mode. This will cause MkDocs to abort the build on any warnings." +theme_help = "The theme to use when building your documentation." +theme_choices = sorted(utils.get_theme_names()) +site_dir_help = "The directory to output the result of the documentation build." +use_directory_urls_help = "Use directory URLs when building pages (the default)." +reload_help = "Enable the live reloading in the development server (this is the default)" +no_reload_help = "Disable the live reloading in the development server." +serve_dirty_help = "Only re-build files that have changed." +serve_clean_help = ( + "Build the site without any effects of `mkdocs serve` - pure `mkdocs build`, then serve." +) +commit_message_help = ( + "A commit message to use when committing to the " + "GitHub Pages remote branch. Commit {sha} and MkDocs {version} are available as expansions" +) +remote_branch_help = ( + "The remote branch to commit to for GitHub Pages. This " + "overrides the value specified in config" +) +remote_name_help = ( + "The remote name to commit to for GitHub Pages. This overrides the value specified in config" +) +force_help = "Force the push to the repository." +no_history_help = "Replace the whole Git history with one new commit." +ignore_version_help = ( + "Ignore check that build is not being deployed with an older version of MkDocs." +) +watch_theme_help = ( + "Include the theme in list of files to watch for live reloading. " + "Ignored when live reload is not used." +) +shell_help = "Use the shell when invoking Git." +watch_help = "A directory or file to watch for live reloading. Can be supplied multiple times." +projects_file_help = ( + "URL or local path of the registry file that declares all known MkDocs-related projects." +) + + +def add_options(*opts): + def inner(f): + for i in reversed(opts): + f = i(f) + return f + + return inner + + +def verbose_option(f): + def callback(ctx, param, value): + state = ctx.ensure_object(State) + if value: + state.stream.setLevel(logging.DEBUG) + + return click.option( + '-v', + '--verbose', + is_flag=True, + expose_value=False, + help='Enable verbose output', + callback=callback, + )(f) + + +def quiet_option(f): + def callback(ctx, param, value): + state = ctx.ensure_object(State) + if value: + state.stream.setLevel(logging.ERROR) + + return click.option( + '-q', + '--quiet', + is_flag=True, + expose_value=False, + help='Silence warnings', + callback=callback, + )(f) + + +def color_option(f): + def callback(ctx, param, value): + state = ctx.ensure_object(State) + if value is False or ( + value is None + and ( + not sys.stdout.isatty() + or os.environ.get('NO_COLOR') + or os.environ.get('TERM') == 'dumb' + ) + ): + state.stream.setFormatter(logging.Formatter('%(levelname)-8s- %(message)s')) + + return click.option( + '--color/--no-color', + is_flag=True, + default=None, + expose_value=False, + help="Force enable or disable color and wrapping for the output. Default is auto-detect.", + callback=callback, + )(f) + + +common_options = add_options(quiet_option, verbose_option) +common_config_options = add_options( + click.option('-f', '--config-file', type=click.File('rb'), help=config_help), + # Don't override config value if user did not specify --strict flag + # Conveniently, load_config drops None values + click.option('-s', '--strict/--no-strict', is_flag=True, default=None, help=strict_help), + click.option('-t', '--theme', type=click.Choice(theme_choices), help=theme_help), + # As with --strict, set the default to None so that this doesn't incorrectly + # override the config file + click.option( + '--use-directory-urls/--no-directory-urls', + is_flag=True, + default=None, + help=use_directory_urls_help, + ), +) + +PYTHON_VERSION = f"{sys.version_info.major}.{sys.version_info.minor}" + +PKG_DIR = os.path.dirname(os.path.abspath(__file__)) + + +@click.group(context_settings=dict(help_option_names=['-h', '--help'], max_content_width=120)) +@click.version_option( + __version__, + '-V', + '--version', + message=f'%(prog)s, version %(version)s from { PKG_DIR } (Python { PYTHON_VERSION })', +) +@common_options +@color_option +def cli(): + """ + MkDocs - Project documentation with Markdown. + """ + + +@cli.command(name="serve") +@click.option('-a', '--dev-addr', help=dev_addr_help, metavar='') +@click.option('--no-livereload', 'livereload', flag_value=False, help=no_reload_help) +@click.option('--livereload', 'livereload', flag_value=True, default=True, hidden=True) +@click.option('--dirtyreload', 'build_type', flag_value='dirty', hidden=True) +@click.option('--dirty', 'build_type', flag_value='dirty', help=serve_dirty_help) +@click.option('-c', '--clean', 'build_type', flag_value='clean', help=serve_clean_help) +@click.option('--watch-theme', help=watch_theme_help, is_flag=True) +@click.option( + '-w', '--watch', help=watch_help, type=click.Path(exists=True), multiple=True, default=[] +) +@common_config_options +@common_options +def serve_command(**kwargs): + """Run the builtin development server""" + from mkdocs.commands import serve + + _enable_warnings() + serve.serve(**kwargs) + + +@cli.command(name="build") +@click.option('-c', '--clean/--dirty', is_flag=True, default=True, help=clean_help) +@common_config_options +@click.option('-d', '--site-dir', type=click.Path(), help=site_dir_help) +@common_options +def build_command(clean, **kwargs): + """Build the MkDocs documentation""" + from mkdocs.commands import build + + _enable_warnings() + cfg = config.load_config(**kwargs) + cfg.plugins.on_startup(command='build', dirty=not clean) + try: + build.build(cfg, dirty=not clean) + finally: + cfg.plugins.on_shutdown() + + +@cli.command(name="gh-deploy") +@click.option('-c', '--clean/--dirty', is_flag=True, default=True, help=clean_help) +@click.option('-m', '--message', help=commit_message_help) +@click.option('-b', '--remote-branch', help=remote_branch_help) +@click.option('-r', '--remote-name', help=remote_name_help) +@click.option('--force', is_flag=True, help=force_help) +@click.option('--no-history', is_flag=True, help=no_history_help) +@click.option('--ignore-version', is_flag=True, help=ignore_version_help) +@click.option('--shell', is_flag=True, help=shell_help) +@common_config_options +@click.option('-d', '--site-dir', type=click.Path(), help=site_dir_help) +@common_options +def gh_deploy_command( + clean, message, remote_branch, remote_name, force, no_history, ignore_version, shell, **kwargs +): + """Deploy your documentation to GitHub Pages""" + from mkdocs.commands import build, gh_deploy + + _enable_warnings() + cfg = config.load_config(remote_branch=remote_branch, remote_name=remote_name, **kwargs) + cfg.plugins.on_startup(command='gh-deploy', dirty=not clean) + try: + build.build(cfg, dirty=not clean) + finally: + cfg.plugins.on_shutdown() + gh_deploy.gh_deploy( + cfg, + message=message, + force=force, + no_history=no_history, + ignore_version=ignore_version, + shell=shell, + ) + + +@cli.command(name="get-deps") +@verbose_option +@click.option('-f', '--config-file', type=click.File('rb'), help=config_help) +@click.option( + '-p', + '--projects-file', + default='https://raw.githubusercontent.com/mkdocs/catalog/main/projects.yaml', + help=projects_file_help, + show_default=True, +) +def get_deps_command(config_file, projects_file): + """Show required PyPI packages inferred from plugins in mkdocs.yml""" + from mkdocs.commands import get_deps + + warning_counter = utils.CountHandler() + warning_counter.setLevel(logging.WARNING) + logging.getLogger('mkdocs').addHandler(warning_counter) + + get_deps.get_deps(projects_file_url=projects_file, config_file_path=config_file) + + if warning_counter.get_counts(): + sys.exit(1) + + +@cli.command(name="new") +@click.argument("project_directory") +@common_options +def new_command(project_directory): + """Create a new MkDocs project""" + from mkdocs.commands import new + + new.new(project_directory) + + +if __name__ == '__main__': # pragma: no cover + cli() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..d28005e7a3f2f169d82f9f64501f06530030a003 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/exceptions.py @@ -0,0 +1,33 @@ +from __future__ import annotations + +from click import ClickException, echo + + +class MkDocsException(ClickException): + """The base class which all MkDocs exceptions inherit from. This should + not be raised directly. One of the subclasses should be raised instead.""" + + +class Abort(MkDocsException, SystemExit): + """Abort the build""" + + code = 1 + + def show(self, *args, **kwargs) -> None: + echo('\n' + self.format_message()) + + +class ConfigurationError(MkDocsException): + """This error is raised by configuration validation when a validation error + is encountered. This error should be raised by any configuration options + defined in a plugin's [config_scheme][].""" + + +class BuildError(MkDocsException): + """This error may be raised by MkDocs during the build process. Plugins should + not raise this error.""" + + +class PluginError(BuildError): + """A subclass of [`mkdocs.exceptions.BuildError`][] which can be raised by plugin + events.""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/localization.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/localization.py new file mode 100644 index 0000000000000000000000000000000000000000..87a27560413501af98c927a67c4cdd0aeeba617a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/localization.py @@ -0,0 +1,90 @@ +from __future__ import annotations + +import logging +import os +from typing import TYPE_CHECKING, Sequence + +from jinja2.ext import Extension, InternationalizationExtension + +from mkdocs.config.base import ValidationError + +if TYPE_CHECKING: + import jinja2 + +try: + from babel.core import Locale, UnknownLocaleError + from babel.support import NullTranslations, Translations + + has_babel = True +except ImportError: # pragma: no cover + from mkdocs.utils.babel_stub import Locale, UnknownLocaleError + + has_babel = False + + +log = logging.getLogger(__name__) +base_path = os.path.dirname(os.path.abspath(__file__)) + + +class NoBabelExtension(InternationalizationExtension): # pragma: no cover + def __init__(self, environment): + Extension.__init__(self, environment) + environment.extend( + install_null_translations=self._install_null, + newstyle_gettext=False, + ) + + +def parse_locale(locale: str) -> Locale: + try: + return Locale.parse(locale, sep='_') + except (ValueError, UnknownLocaleError, TypeError) as e: + raise ValidationError(f'Invalid value for locale: {e}') + + +def install_translations( + env: jinja2.Environment, locale: Locale, theme_dirs: Sequence[str] +) -> None: + if has_babel: + env.add_extension('jinja2.ext.i18n') + translations = _get_merged_translations(theme_dirs, 'locales', locale) + if translations is not None: + env.install_gettext_translations(translations) + else: + env.install_null_translations() + if locale.language != 'en': + log.warning( + f"No translations could be found for the locale '{locale}'. " + 'Defaulting to English.' + ) + else: # pragma: no cover + # no babel installed, add dummy support for trans/endtrans blocks + env.add_extension(NoBabelExtension) + env.install_null_translations() + + +def _get_merged_translations( + theme_dirs: Sequence[str], locales_dir: str, locale: Locale +) -> Translations | None: + merged_translations: Translations | None = None + + log.debug(f"Looking for translations for locale '{locale}'") + if locale.territory: + locale_str = f"{locale.language}_{locale.territory}" + else: + locale_str = locale.language + for theme_dir in reversed(theme_dirs): + dirname = os.path.join(theme_dir, locales_dir) + translations = Translations.load(dirname, [locale_str]) + + if type(translations) is NullTranslations: + log.debug(f"No translations found here: '{dirname}'") + continue + + log.debug(f"Translations found here: '{dirname}'") + if merged_translations is None: + merged_translations = translations + else: + merged_translations.merge(translations) + + return merged_translations diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/plugins.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/plugins.py new file mode 100644 index 0000000000000000000000000000000000000000..d25e61e4faf8cb54423c83a95efdb3718b9de491 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/plugins.py @@ -0,0 +1,636 @@ +""" +Implements the plugin API for MkDocs. + +""" +from __future__ import annotations + +import logging +import sys +from typing import TYPE_CHECKING, Any, Callable, Generic, MutableMapping, TypeVar, overload + +if sys.version_info >= (3, 10): + from importlib.metadata import EntryPoint, entry_points +else: + from importlib_metadata import EntryPoint, entry_points + +if TYPE_CHECKING: + import jinja2.environment + + if sys.version_info >= (3, 8): + from typing import Literal + else: + from typing_extensions import Literal + +from mkdocs import utils +from mkdocs.config.base import Config, ConfigErrors, ConfigWarnings, LegacyConfig, PlainConfigSchema + +if TYPE_CHECKING: + from mkdocs.config.defaults import MkDocsConfig + from mkdocs.livereload import LiveReloadServer + from mkdocs.structure.files import Files + from mkdocs.structure.nav import Navigation + from mkdocs.structure.pages import Page + from mkdocs.utils.templates import TemplateContext + + +log = logging.getLogger('mkdocs.plugins') + + +def get_plugins() -> dict[str, EntryPoint]: + """Return a dict of all installed Plugins as {name: EntryPoint}.""" + + plugins = entry_points(group='mkdocs.plugins') + + # Allow third-party plugins to override core plugins + pluginmap = {} + for plugin in plugins: + if plugin.name in pluginmap and plugin.value.startswith("mkdocs.contrib."): + continue + + pluginmap[plugin.name] = plugin + + return pluginmap + + +SomeConfig = TypeVar('SomeConfig', bound=Config) + + +class BasePlugin(Generic[SomeConfig]): + """ + Plugin base class. + + All plugins should subclass this class. + """ + + config_class: type[SomeConfig] = LegacyConfig # type: ignore[assignment] + config_scheme: PlainConfigSchema = () + config: SomeConfig = {} # type: ignore[assignment] + + supports_multiple_instances: bool = False + """Set to true in subclasses to declare support for adding the same plugin multiple times.""" + + def __class_getitem__(cls, config_class: type[Config]): + """Eliminates the need to write `config_class = FooConfig` when subclassing BasePlugin[FooConfig]""" + name = f'{cls.__name__}[{config_class.__name__}]' + return type(name, (cls,), dict(config_class=config_class)) + + def __init_subclass__(cls): + if not issubclass(cls.config_class, Config): + raise TypeError( + f"config_class {cls.config_class} must be a subclass of `mkdocs.config.base.Config`" + ) + if cls.config_class is not LegacyConfig: + cls.config_scheme = cls.config_class._schema # For compatibility. + + def load_config( + self, options: dict[str, Any], config_file_path: str | None = None + ) -> tuple[ConfigErrors, ConfigWarnings]: + """Load config from a dict of options. Returns a tuple of (errors, warnings).""" + + if self.config_class is LegacyConfig: + self.config = LegacyConfig(self.config_scheme, config_file_path=config_file_path) # type: ignore + else: + self.config = self.config_class(config_file_path=config_file_path) + + self.config.load_dict(options) + + return self.config.validate() + + # One-time events + + def on_startup(self, *, command: Literal['build', 'gh-deploy', 'serve'], dirty: bool) -> None: + """ + The `startup` event runs once at the very beginning of an `mkdocs` invocation. + + New in MkDocs 1.4. + + The presence of an `on_startup` method (even if empty) migrates the plugin to the new + system where the plugin object is kept across builds within one `mkdocs serve`. + + Note that for initializing variables, the `__init__` method is still preferred. + For initializing per-build variables (and whenever in doubt), use the `on_config` event. + + Parameters: + command: the command that MkDocs was invoked with, e.g. "serve" for `mkdocs serve`. + dirty: whether `--dirty` flag was passed. + """ + + def on_shutdown(self) -> None: + """ + The `shutdown` event runs once at the very end of an `mkdocs` invocation, before exiting. + + This event is relevant only for support of `mkdocs serve`, otherwise within a + single build it's undistinguishable from `on_post_build`. + + New in MkDocs 1.4. + + The presence of an `on_shutdown` method (even if empty) migrates the plugin to the new + system where the plugin object is kept across builds within one `mkdocs serve`. + + Note the `on_post_build` method is still preferred for cleanups, when possible, as it has + a much higher chance of actually triggering. `on_shutdown` is "best effort" because it + relies on detecting a graceful shutdown of MkDocs. + """ + + def on_serve( + self, server: LiveReloadServer, *, config: MkDocsConfig, builder: Callable + ) -> LiveReloadServer | None: + """ + The `serve` event is only called when the `serve` command is used during + development. It runs only once, after the first build finishes. + It is passed the `Server` instance which can be modified before + it is activated. For example, additional files or directories could be added + to the list of "watched" files for auto-reloading. + + Parameters: + server: `livereload.Server` instance + config: global configuration object + builder: a callable which gets passed to each call to `server.watch` + + Returns: + `livereload.Server` instance + """ + return server + + # Global events + + def on_config(self, config: MkDocsConfig) -> MkDocsConfig | None: + """ + The `config` event is the first event called on build and is run immediately + after the user configuration is loaded and validated. Any alterations to the + config should be made here. + + Parameters: + config: global configuration object + + Returns: + global configuration object + """ + return config + + def on_pre_build(self, *, config: MkDocsConfig) -> None: + """ + The `pre_build` event does not alter any variables. Use this event to call + pre-build scripts. + + Parameters: + config: global configuration object + """ + + def on_files(self, files: Files, *, config: MkDocsConfig) -> Files | None: + """ + The `files` event is called after the files collection is populated from the + `docs_dir`. Use this event to add, remove, or alter files in the + collection. Note that Page objects have not yet been associated with the + file objects in the collection. Use [Page Events](plugins.md#page-events) to manipulate page + specific data. + + Parameters: + files: global files collection + config: global configuration object + + Returns: + global files collection + """ + return files + + def on_nav(self, nav: Navigation, *, config: MkDocsConfig, files: Files) -> Navigation | None: + """ + The `nav` event is called after the site navigation is created and can + be used to alter the site navigation. + + Parameters: + nav: global navigation object + config: global configuration object + files: global files collection + + Returns: + global navigation object + """ + return nav + + def on_env( + self, env: jinja2.Environment, *, config: MkDocsConfig, files: Files + ) -> jinja2.Environment | None: + """ + The `env` event is called after the Jinja template environment is created + and can be used to alter the + [Jinja environment](https://jinja.palletsprojects.com/en/latest/api/#jinja2.Environment). + + Parameters: + env: global Jinja environment + config: global configuration object + files: global files collection + + Returns: + global Jinja Environment + """ + return env + + def on_post_build(self, *, config: MkDocsConfig) -> None: + """ + The `post_build` event does not alter any variables. Use this event to call + post-build scripts. + + Parameters: + config: global configuration object + """ + + def on_build_error(self, *, error: Exception) -> None: + """ + The `build_error` event is called after an exception of any kind + is caught by MkDocs during the build process. + Use this event to clean things up before MkDocs terminates. Note that any other + events which were scheduled to run after the error will have been skipped. See + [Handling Errors](plugins.md#handling-errors) for more details. + + Parameters: + error: exception raised + """ + + # Template events + + def on_pre_template( + self, template: jinja2.Template, *, template_name: str, config: MkDocsConfig + ) -> jinja2.Template | None: + """ + The `pre_template` event is called immediately after the subject template is + loaded and can be used to alter the template. + + Parameters: + template: a Jinja2 [Template](https://jinja.palletsprojects.com/en/latest/api/#jinja2.Template) object + template_name: string filename of template + config: global configuration object + + Returns: + a Jinja2 [Template](https://jinja.palletsprojects.com/en/latest/api/#jinja2.Template) object + """ + return template + + def on_template_context( + self, context: TemplateContext, *, template_name: str, config: MkDocsConfig + ) -> TemplateContext | None: + """ + The `template_context` event is called immediately after the context is created + for the subject template and can be used to alter the context for that specific + template only. + + Parameters: + context: dict of template context variables + template_name: string filename of template + config: global configuration object + + Returns: + dict of template context variables + """ + return context + + def on_post_template( + self, output_content: str, *, template_name: str, config: MkDocsConfig + ) -> str | None: + """ + The `post_template` event is called after the template is rendered, but before + it is written to disc and can be used to alter the output of the template. + If an empty string is returned, the template is skipped and nothing is is + written to disc. + + Parameters: + output_content: output of rendered template as string + template_name: string filename of template + config: global configuration object + + Returns: + output of rendered template as string + """ + return output_content + + # Page events + + def on_pre_page(self, page: Page, *, config: MkDocsConfig, files: Files) -> Page | None: + """ + The `pre_page` event is called before any actions are taken on the subject + page and can be used to alter the `Page` instance. + + Parameters: + page: `mkdocs.structure.pages.Page` instance + config: global configuration object + files: global files collection + + Returns: + `mkdocs.structure.pages.Page` instance + """ + return page + + def on_page_read_source(self, *, page: Page, config: MkDocsConfig) -> str | None: + """ + The `on_page_read_source` event can replace the default mechanism to read + the contents of a page's source from the filesystem. + + Parameters: + page: `mkdocs.structure.pages.Page` instance + config: global configuration object + + Returns: + The raw source for a page as unicode string. If `None` is returned, the + default loading from a file will be performed. + """ + return None + + def on_page_markdown( + self, markdown: str, *, page: Page, config: MkDocsConfig, files: Files + ) -> str | None: + """ + The `page_markdown` event is called after the page's markdown is loaded + from file and can be used to alter the Markdown source text. The meta- + data has been stripped off and is available as `page.meta` at this point. + + Parameters: + markdown: Markdown source text of page as string + page: `mkdocs.structure.pages.Page` instance + config: global configuration object + files: global files collection + + Returns: + Markdown source text of page as string + """ + return markdown + + def on_page_content( + self, html: str, *, page: Page, config: MkDocsConfig, files: Files + ) -> str | None: + """ + The `page_content` event is called after the Markdown text is rendered to + HTML (but before being passed to a template) and can be used to alter the + HTML body of the page. + + Parameters: + html: HTML rendered from Markdown source as string + page: `mkdocs.structure.pages.Page` instance + config: global configuration object + files: global files collection + + Returns: + HTML rendered from Markdown source as string + """ + return html + + def on_page_context( + self, context: TemplateContext, *, page: Page, config: MkDocsConfig, nav: Navigation + ) -> TemplateContext | None: + """ + The `page_context` event is called after the context for a page is created + and can be used to alter the context for that specific page only. + + Parameters: + context: dict of template context variables + page: `mkdocs.structure.pages.Page` instance + config: global configuration object + nav: global navigation object + + Returns: + dict of template context variables + """ + return context + + def on_post_page(self, output: str, *, page: Page, config: MkDocsConfig) -> str | None: + """ + The `post_page` event is called after the template is rendered, but + before it is written to disc and can be used to alter the output of the + page. If an empty string is returned, the page is skipped and nothing is + written to disc. + + Parameters: + output: output of rendered template as string + page: `mkdocs.structure.pages.Page` instance + config: global configuration object + + Returns: + output of rendered template as string + """ + return output + + +EVENTS = tuple(k[3:] for k in BasePlugin.__dict__ if k.startswith("on_")) + +# The above definitions were just for docs and type checking, we don't actually want them. +for k in EVENTS: + delattr(BasePlugin, 'on_' + k) + + +T = TypeVar('T') + + +def event_priority(priority: float) -> Callable[[T], T]: + """A decorator to set an event priority for an event handler method. + + Recommended priority values: + `100` "first", `50` "early", `0` "default", `-50` "late", `-100` "last". + As different plugins discover more precise relations to each other, the values should be further tweaked. + + ```python + @plugins.event_priority(-100) # Wishing to run this after all other plugins' `on_files` events. + def on_files(self, files, config, **kwargs): + ... + ``` + + New in MkDocs 1.4. + Recommended shim for backwards compatibility: + + ```python + try: + from mkdocs.plugins import event_priority + except ImportError: + event_priority = lambda priority: lambda f: f # No-op fallback + ``` + """ + + def decorator(event_method): + event_method.mkdocs_priority = priority + return event_method + + return decorator + + +class PluginCollection(dict, MutableMapping[str, BasePlugin]): + """ + A collection of plugins. + + In addition to being a dict of Plugin instances, each event method is registered + upon being added. All registered methods for a given event can then be run in order + by calling `run_event`. + """ + + def __init__(self, *args, **kwargs) -> None: + super().__init__(*args, **kwargs) + self.events: dict[str, list[Callable]] = {k: [] for k in EVENTS} + + def _register_event(self, event_name: str, method: Callable) -> None: + """Register a method for an event.""" + utils.insort( + self.events[event_name], method, key=lambda m: -getattr(m, 'mkdocs_priority', 0) + ) + + def __getitem__(self, key: str) -> BasePlugin: + return super().__getitem__(key) + + def __setitem__(self, key: str, value: BasePlugin) -> None: + super().__setitem__(key, value) + # Register all of the event methods defined for this Plugin. + for event_name in (x for x in dir(value) if x.startswith('on_')): + method = getattr(value, event_name, None) + if callable(method): + self._register_event(event_name[3:], method) + + @overload + def run_event(self, name: str, **kwargs) -> Any: + ... + + @overload + def run_event(self, name: str, item: T, **kwargs) -> T: + ... + + def run_event(self, name: str, item=None, **kwargs): + """ + Run all registered methods of an event. + + `item` is the object to be modified or replaced and returned by the event method. + If it isn't given the event method creates a new object to be returned. + All other keywords are variables for context, but would not generally + be modified by the event method. + """ + pass_item = item is not None + events = self.events[name] + if events: + log.debug(f'Running {len(events)} `{name}` events') + for method in events: + if pass_item: + result = method(item, **kwargs) + else: + result = method(**kwargs) + # keep item if method returned `None` + if result is not None: + item = result + return item + + def on_startup(self, *, command: Literal['build', 'gh-deploy', 'serve'], dirty: bool) -> None: + return self.run_event('startup', command=command, dirty=dirty) + + def on_shutdown(self) -> None: + return self.run_event('shutdown') + + def on_serve( + self, server: LiveReloadServer, *, config: MkDocsConfig, builder: Callable + ) -> LiveReloadServer: + return self.run_event('serve', server, config=config, builder=builder) + + def on_config(self, config: MkDocsConfig) -> MkDocsConfig: + return self.run_event('config', config) + + def on_pre_build(self, *, config: MkDocsConfig) -> None: + return self.run_event('pre_build', config=config) + + def on_files(self, files: Files, *, config: MkDocsConfig) -> Files: + return self.run_event('files', files, config=config) + + def on_nav(self, nav: Navigation, *, config: MkDocsConfig, files: Files) -> Navigation: + return self.run_event('nav', nav, config=config, files=files) + + def on_env(self, env: jinja2.Environment, *, config: MkDocsConfig, files: Files): + return self.run_event('env', env, config=config, files=files) + + def on_post_build(self, *, config: MkDocsConfig) -> None: + return self.run_event('post_build', config=config) + + def on_build_error(self, *, error: Exception) -> None: + return self.run_event('build_error', error=error) + + def on_pre_template( + self, template: jinja2.Template, *, template_name: str, config: MkDocsConfig + ) -> jinja2.Template: + return self.run_event('pre_template', template, template_name=template_name, config=config) + + def on_template_context( + self, context: TemplateContext, *, template_name: str, config: MkDocsConfig + ) -> TemplateContext: + return self.run_event( + 'template_context', context, template_name=template_name, config=config + ) + + def on_post_template( + self, output_content: str, *, template_name: str, config: MkDocsConfig + ) -> str: + return self.run_event( + 'post_template', output_content, template_name=template_name, config=config + ) + + def on_pre_page(self, page: Page, *, config: MkDocsConfig, files: Files) -> Page: + return self.run_event('pre_page', page, config=config, files=files) + + def on_page_read_source(self, *, page: Page, config: MkDocsConfig) -> str | None: + return self.run_event('page_read_source', page=page, config=config) + + def on_page_markdown( + self, markdown: str, *, page: Page, config: MkDocsConfig, files: Files + ) -> str: + return self.run_event('page_markdown', markdown, page=page, config=config, files=files) + + def on_page_content(self, html: str, *, page: Page, config: MkDocsConfig, files: Files) -> str: + return self.run_event('page_content', html, page=page, config=config, files=files) + + def on_page_context( + self, context: TemplateContext, *, page: Page, config: MkDocsConfig, nav: Navigation + ) -> TemplateContext: + return self.run_event('page_context', context, page=page, config=config, nav=nav) + + def on_post_page(self, output: str, *, page: Page, config: MkDocsConfig) -> str: + return self.run_event('post_page', output, page=page, config=config) + + +class PrefixedLogger(logging.LoggerAdapter): + """A logger adapter to prefix log messages.""" + + def __init__(self, prefix: str, logger: logging.Logger) -> None: + """ + Initialize the logger adapter. + + Arguments: + prefix: The string to insert in front of every message. + logger: The logger instance. + """ + super().__init__(logger, {}) + self.prefix = prefix + + def process(self, msg: str, kwargs: MutableMapping[str, Any]) -> tuple[str, Any]: + """ + Process the message. + + Arguments: + msg: The message: + kwargs: Remaining arguments. + + Returns: + The processed message. + """ + return f"{self.prefix}: {msg}", kwargs + + +def get_plugin_logger(name: str) -> PrefixedLogger: + """Return a logger for plugins. + + Arguments: + name: The name to use with `logging.getLogger`. + + Returns: + A logger configured to work well in MkDocs, + prefixing each message with the plugin package name. + + Example: + ```python + from mkdocs.plugins import get_plugin_logger + + log = get_plugin_logger(__name__) + log.info("My plugin message") + ``` + """ + logger = logging.getLogger(f"mkdocs.plugins.{name}") + return PrefixedLogger(name.split(".", 1)[0], logger) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/theme.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/theme.py new file mode 100644 index 0000000000000000000000000000000000000000..467d26ea20d870d24f69a9f26f6e698a3ccc45c3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs/theme.py @@ -0,0 +1,151 @@ +from __future__ import annotations + +import logging +import os +from typing import Any, Collection, MutableMapping + +import jinja2 + +from mkdocs import localization, utils +from mkdocs.config.base import ValidationError +from mkdocs.utils import templates + +log = logging.getLogger(__name__) + + +class Theme(MutableMapping[str, Any]): + """ + A Theme object. + + Parameters: + name: The name of the theme as defined by its entrypoint. + custom_dir: User defined directory for custom templates. + static_templates: A list of templates to render as static pages. + + All other keywords are passed as-is and made available as a key/value mapping. + """ + + def __init__( + self, + name: str | None = None, + *, + custom_dir: str | None = None, + static_templates: Collection[str] = (), + locale: str | None = None, + **user_config, + ) -> None: + self.name = name + self._custom_dir = custom_dir + _vars: dict[str, Any] = {'name': name, 'locale': 'en'} + # _vars is soft-deprecated, intentionally hide it from mypy. + setattr(self, '_vars', _vars) + + # MkDocs provided static templates are always included + package_dir = os.path.abspath(os.path.dirname(__file__)) + mkdocs_templates = os.path.join(package_dir, 'templates') + self.static_templates = set(os.listdir(mkdocs_templates)) + + # Build self.dirs from various sources in order of precedence + self.dirs = [] + + if custom_dir is not None: + self.dirs.append(custom_dir) + + if name: + self._load_theme_config(name) + + # Include templates provided directly by MkDocs (outside any theme) + self.dirs.append(mkdocs_templates) + + # Handle remaining user configs. Override theme configs (if set) + self.static_templates.update(static_templates) + _vars.update(user_config) + + # Validate locale and convert to Locale object + _vars['locale'] = localization.parse_locale( + locale if locale is not None else _vars['locale'] + ) + + name: str | None + + @property + def locale(self) -> localization.Locale: + return self['locale'] + + @property + def custom_dir(self) -> str | None: + return self._custom_dir + + dirs: list[str] + + static_templates: set[str] + + def __repr__(self) -> str: + return "{}(name={!r}, dirs={!r}, static_templates={!r}, {})".format( + self.__class__.__name__, + self.name, + self.dirs, + self.static_templates, + ', '.join(f'{k}={v!r}' for k, v in self.items()), + ) + + def __getitem__(self, key: str) -> Any: + return self._vars[key] # type: ignore[attr-defined] + + def __setitem__(self, key: str, value): + self._vars[key] = value # type: ignore[attr-defined] + + def __delitem__(self, key: str): + del self._vars[key] # type: ignore[attr-defined] + + def __contains__(self, item: object) -> bool: + return item in self._vars # type: ignore[attr-defined] + + def __len__(self): + return len(self._vars) # type: ignore[attr-defined] + + def __iter__(self): + return iter(self._vars) # type: ignore[attr-defined] + + def _load_theme_config(self, name: str) -> None: + """Recursively load theme and any parent themes.""" + + theme_dir = utils.get_theme_dir(name) + self.dirs.append(theme_dir) + + try: + file_path = os.path.join(theme_dir, 'mkdocs_theme.yml') + with open(file_path, 'rb') as f: + theme_config = utils.yaml_load(f) + except OSError as e: + log.debug(e) + raise ValidationError( + f"The theme '{name}' does not appear to have a configuration file. " + f"Please upgrade to a current version of the theme." + ) + + log.debug(f"Loaded theme configuration for '{name}' from '{file_path}': {theme_config}") + + parent_theme = theme_config.pop('extends', None) + if parent_theme: + themes = utils.get_theme_names() + if parent_theme not in themes: + raise ValidationError( + f"The theme '{name}' inherits from '{parent_theme}', which does not appear to be installed. " + f"The available installed themes are: {', '.join(themes)}" + ) + self._load_theme_config(parent_theme) + + self.static_templates.update(theme_config.pop('static_templates', [])) + self._vars.update(theme_config) # type: ignore[attr-defined] + + def get_env(self) -> jinja2.Environment: + """Return a Jinja environment for the theme.""" + + loader = jinja2.FileSystemLoader(self.dirs) + # No autoreload because editing a template in the middle of a build is not useful. + env = jinja2.Environment(loader=loader, auto_reload=False) + env.filters['url'] = templates.url_filter + env.filters['script_tag'] = templates.script_tag_filter + localization.install_translations(env, self.locale, self.dirs) + return env diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/INSTALLER b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/INSTALLER new file mode 100644 index 0000000000000000000000000000000000000000..a1b589e38a32041e49332e5e81c2d363dc418d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/METADATA b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..a1f507eb398b4ad900904fc31297d90906939e1f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/METADATA @@ -0,0 +1,356 @@ +Metadata-Version: 2.1 +Name: mkdocs-material +Version: 9.5.3 +Summary: Documentation that simply works +Project-URL: Homepage, https://squidfunk.github.io/mkdocs-material/ +Project-URL: Bug Tracker, https://github.com/squidfunk/mkdocs-material/issues +Project-URL: Repository, https://github.com/squidfunk/mkdocs-material.git +Author-email: Martin Donath +License-Expression: MIT +License-File: LICENSE +Keywords: documentation,mkdocs,theme +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Web Environment +Classifier: Framework :: MkDocs +Classifier: License :: OSI Approved :: MIT License +Classifier: Programming Language :: JavaScript +Classifier: Programming Language :: Python +Classifier: Topic :: Documentation +Classifier: Topic :: Software Development :: Documentation +Classifier: Topic :: Text Processing :: Markup :: HTML +Requires-Python: >=3.8 +Requires-Dist: babel~=2.10 +Requires-Dist: colorama~=0.4 +Requires-Dist: jinja2~=3.0 +Requires-Dist: markdown~=3.2 +Requires-Dist: mkdocs-material-extensions~=1.3 +Requires-Dist: mkdocs~=1.5.3 +Requires-Dist: paginate~=0.5 +Requires-Dist: pygments~=2.16 +Requires-Dist: pymdown-extensions~=10.2 +Requires-Dist: regex>=2022.4 +Requires-Dist: requests~=2.26 +Provides-Extra: git +Requires-Dist: mkdocs-git-committers-plugin-2~=1.1; extra == 'git' +Requires-Dist: mkdocs-git-revision-date-localized-plugin~=1.2; extra == 'git' +Provides-Extra: imaging +Requires-Dist: cairosvg~=2.6; extra == 'imaging' +Requires-Dist: pillow~=9.4; extra == 'imaging' +Provides-Extra: recommended +Requires-Dist: mkdocs-minify-plugin~=0.7; extra == 'recommended' +Requires-Dist: mkdocs-redirects~=1.2; extra == 'recommended' +Requires-Dist: mkdocs-rss-plugin~=1.6; extra == 'recommended' +Description-Content-Type: text/markdown + +

    + + Material for MkDocs + +

    + +

    + + A powerful documentation framework on top of + MkDocs + +

    + +

    + Build + Downloads + Python Package Index + Docker Pulls + Sponsors +

    + +

    + Write your documentation in Markdown and create a professional static site for + your Open Source or commercial project in minutes – searchable, customizable, + more than 60 languages, for all devices. +

    + +

    + + + +

    + +

    + + Check out the demo – + squidfunk.github.io/mkdocs-material. + +

    + +

    +

     

    +

    Silver sponsors

    +

    + + +

    +

     

    +

    Bronze sponsors

    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

     

    + +## Everything you would expect + +### It's just Markdown + +Focus on the content of your documentation and create a professional static site +in minutes. No need to know HTML, CSS or JavaScript – let Material for MkDocs do +the heavy lifting for you. + +### Works on all devices + +Serve your documentation with confidence – Material for MkDocs automatically +adapts to perfectly fit the available screen estate, no matter the type or size +of the viewing device. Desktop. Tablet. Mobile. All great. + +### Made to measure + +Make it yours – change the colors, fonts, language, icons, logo, and more with +a few lines of configuration. Material for MkDocs can be easily extended and +provides many options to alter appearance and behavior. + +### Fast and lightweight + +Don't let your users wait – get incredible value with a small footprint by using +one of the fastest themes available with excellent performance, yielding optimal +search engine rankings and happy users that return. + +### Built for everyone + +Make accessibility a priority – users can navigate your documentation with touch +devices, keyboards, and screen readers. Semantic markup ensures that your +documentation works for everyone. + +### Open Source + +Trust 20,000+ users – choose a mature and actively maintained solution built +with state-of-the-art Open Source technologies. Keep ownership of your content +without fear of vendor lock-in. Licensed under MIT. + +## Quick start + +Material for MkDocs can be installed with `pip`: + +``` sh +pip install mkdocs-material +``` + +Add the following lines to `mkdocs.yml`: + +``` yaml +theme: + name: material +``` + +For detailed installation instructions, configuration options, and a demo, visit +[squidfunk.github.io/mkdocs-material][Material for MkDocs] + + [Material for MkDocs]: https://squidfunk.github.io/mkdocs-material/ + +## Trusted by ... + +### ... industry leaders + +[ArXiv](https://info.arxiv.org), +[Atlassian](https://atlassian.github.io/data-center-helm-charts/), +[AWS](https://aws.github.io/copilot-cli/), +[Bloomberg](https://bloomberg.github.io/selekt/), +[CERN](http://abpcomputing.web.cern.ch/), +[CloudFlare](https://cloudflare.github.io/itty-router-openapi/), +[Datadog](https://datadoghq.dev/integrations-core/), +[Google](https://google.github.io/accompanist/), +[Hewlett Packard](https://hewlettpackard.github.io/squest/), +[ING](https://ing-bank.github.io/baker/), +[Intel](https://open-amt-cloud-toolkit.github.io/docs/), +[JetBrains](https://jetbrains.github.io/projector-client/mkdocs/), +[LinkedIn](https://linkedin.github.io/school-of-sre/), +[Microsoft](https://microsoft.github.io/code-with-engineering-playbook/), +[Mozilla](https://mozillafoundation.github.io/engineering-handbook/), +[Netflix](https://netflix.github.io/titus/), +[Red Hat](https://ansible.readthedocs.io/projects/lint/), +[Salesforce](https://policy-sentry.readthedocs.io/en/latest/), +[SIEMENS](https://opensource.siemens.com/), +[Slack](https://slackhq.github.io/circuit/), +[Square](https://square.github.io/okhttp/), +[Zalando](https://opensource.zalando.com/skipper/) + +### ... and successful Open Source projects + +[Arduino](https://arduino.github.io/arduino-cli/), +[Auto-GPT](https://docs.agpt.co/), +[AutoKeras](https://autokeras.com/), +[BFE](https://www.bfe-networks.net/), +[CentOS](https://docs.infra.centos.org/), +[Crystal](https://crystal-lang.org/reference/), +[Electron](https://www.electron.build/), +[FastAPI](https://fastapi.tiangolo.com/), +[GoReleaser](https://goreleaser.com/), +[Knative](https://knative.dev/docs/), +[Kubernetes](https://kops.sigs.k8s.io/), +[kSQL](https://docs.ksqldb.io/), +[Nokogiri](https://nokogiri.org/), +[OpenFaaS](https://docs.openfaas.com/), +[Percona](https://docs.percona.com/percona-monitoring-and-management/), +[Pi-Hole](https://docs.pi-hole.net/), +[Pydantic](https://pydantic-docs.helpmanual.io/), +[PyPI](https://docs.pypi.org/), +[Renovate](https://docs.renovatebot.com/), +[Traefik](https://docs.traefik.io/), +[Trivy](https://aquasecurity.github.io/trivy/), +[Vapor](https://docs.vapor.codes/), +[ZeroNet](https://zeronet.io/docs/), +[WebKit](https://docs.webkit.org/), +[WTF](https://wtfutil.com/) + +## License + +**MIT License** + +Copyright (c) 2016-2023 Martin Donath + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/RECORD b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/RECORD new file mode 100644 index 0000000000000000000000000000000000000000..b806e994a6eac75034d2975cb4eada34a3dc0b76 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/RECORD @@ -0,0 +1,13152 @@ +material/__init__.py,sha256=44vUaYQTX7UPgQOXK4kjsKPgZxVugRDxT25Iy_dIJMg,1148 +material/__pycache__/__init__.cpython-312.pyc,, +material/extensions/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/extensions/__pycache__/__init__.cpython-312.pyc,, +material/extensions/__pycache__/emoji.cpython-312.pyc,, +material/extensions/emoji.py,sha256=Z_Faj00o74mpSiqJyzJn3OjuFjSA8O4NL9XWWBpm7po,3633 +material/plugins/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/plugins/__pycache__/__init__.cpython-312.pyc,, +material/plugins/blog/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/plugins/blog/__pycache__/__init__.cpython-312.pyc,, +material/plugins/blog/__pycache__/author.cpython-312.pyc,, +material/plugins/blog/__pycache__/config.cpython-312.pyc,, +material/plugins/blog/__pycache__/plugin.cpython-312.pyc,, +material/plugins/blog/author.py,sha256=jPKJFDvKCPWOycIXAFg3yd9s3j7OQw8Xfd0lNgn80pI,1754 +material/plugins/blog/config.py,sha256=mCbFCX1xPKAeehMyaRlWfmmo4JyE3B3lbtGa2OIPp6o,3996 +material/plugins/blog/plugin.py,sha256=9CZCR7zeoWUDpK2DFqEa-XzmsNnRwNrSXdRWF5RJw2c,36749 +material/plugins/blog/readtime/__init__.py,sha256=1kHCgmKeFJkawQW-UprMd3A68xXPUQSBb_IUGYG2EKc,2168 +material/plugins/blog/readtime/__pycache__/__init__.cpython-312.pyc,, +material/plugins/blog/readtime/__pycache__/parser.cpython-312.pyc,, +material/plugins/blog/readtime/parser.py,sha256=qmlX7071SDEw93Tz9I-FC2kAP2ZjYwU5noufYwnh1ZU,1777 +material/plugins/blog/structure/__init__.py,sha256=ISo0aie5XHXk7DC1oYTqkUvDTBkIj2GL-vwM3U7KiOM,12248 +material/plugins/blog/structure/__pycache__/__init__.cpython-312.pyc,, +material/plugins/blog/structure/__pycache__/config.cpython-312.pyc,, +material/plugins/blog/structure/__pycache__/markdown.cpython-312.pyc,, +material/plugins/blog/structure/__pycache__/options.cpython-312.pyc,, +material/plugins/blog/structure/config.py,sha256=UcCoJqvwl2VHAFmvEXCkjJkBEHIg4CtusXsWN-DOmJI,1709 +material/plugins/blog/structure/markdown.py,sha256=CBSOkJ8dO0qyVEfGIptf8lnC_vmQwRUWJSBzdFu2o5o,2460 +material/plugins/blog/structure/options.py,sha256=kgwGWA6UU41_eO5aQavZt2tHEAo58mTDYbwWJKQv7eM,3858 +material/plugins/group/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/plugins/group/__pycache__/__init__.cpython-312.pyc,, +material/plugins/group/__pycache__/config.cpython-312.pyc,, +material/plugins/group/__pycache__/plugin.cpython-312.pyc,, +material/plugins/group/config.py,sha256=5WgvBHCKCM8ot48emIRZ4fxCBPrALHOORGycmlqYJE0,1513 +material/plugins/group/plugin.py,sha256=HgZ6p0DisM1flpUqzIkz3l6tV43TtHwuqDiW5-fFHh8,7109 +material/plugins/info/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/plugins/info/__pycache__/__init__.cpython-312.pyc,, +material/plugins/info/__pycache__/config.cpython-312.pyc,, +material/plugins/info/__pycache__/plugin.cpython-312.pyc,, +material/plugins/info/config.py,sha256=bT4sd0ph44yL7b04gW60CtU6D0-yAi14KSUQ4BH59qU,1656 +material/plugins/info/plugin.py,sha256=mRKUtSyi2bwb86OQ0nBsuR8--ybw2HQpGdDbbnIjsXA,9796 +material/plugins/offline/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/plugins/offline/__pycache__/__init__.cpython-312.pyc,, +material/plugins/offline/__pycache__/config.cpython-312.pyc,, +material/plugins/offline/__pycache__/plugin.cpython-312.pyc,, +material/plugins/offline/config.py,sha256=YQnYi4BIT3dwrSqr_gBHwbsca117EPB9VJV4JRxj0AU,1483 +material/plugins/offline/plugin.py,sha256=9ELV7VwF_DzbzbiqLDIfSkcr-mTVJBV08-IbubSzyms,2884 +material/plugins/privacy/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/plugins/privacy/__pycache__/__init__.cpython-312.pyc,, +material/plugins/privacy/__pycache__/config.cpython-312.pyc,, +material/plugins/privacy/__pycache__/parser.cpython-312.pyc,, +material/plugins/privacy/__pycache__/plugin.cpython-312.pyc,, +material/plugins/privacy/config.py,sha256=a3jMENavHSY2Nmb9tcJ61mK2G61PZ1disdRmkhB1TDE,1944 +material/plugins/privacy/parser.py,sha256=5SmtX39Qf3Pnr4MJjV7J-H7F1OBgwwa1Ha5qiX948L8,1955 +material/plugins/privacy/plugin.py,sha256=hVmQ1ylpYaFoTLBsFC8S-MrOifiYd3T7pKXfG37CH7M,22355 +material/plugins/search/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/plugins/search/__pycache__/__init__.cpython-312.pyc,, +material/plugins/search/__pycache__/config.cpython-312.pyc,, +material/plugins/search/__pycache__/plugin.cpython-312.pyc,, +material/plugins/search/config.py,sha256=RFya0Aemv20jaOR3oeeDxq68Wl_scm_mEU6JgBlKsXI,2381 +material/plugins/search/plugin.py,sha256=jTY4XqEqy-Z2_U19LeNVvNU-G1XJlIC-kQUD0uQUfDY,19862 +material/plugins/social/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/plugins/social/__pycache__/__init__.cpython-312.pyc,, +material/plugins/social/__pycache__/config.cpython-312.pyc,, +material/plugins/social/__pycache__/plugin.cpython-312.pyc,, +material/plugins/social/config.py,sha256=h8w2hG7eZ1euuL_56KC5oEkcN_ctyjuPj5-REEmEOSY,2145 +material/plugins/social/plugin.py,sha256=FibvvEK0yKtSE0y0R7LtN74kdM0okqc7HSh4ie0iuZw,18987 +material/plugins/tags/__init__.py,sha256=Cd3ioJ4PBxmtJSVU-oOWWRZetjNNYdOoJEqddlneisU,1397 +material/plugins/tags/__pycache__/__init__.cpython-312.pyc,, +material/plugins/tags/__pycache__/config.cpython-312.pyc,, +material/plugins/tags/__pycache__/plugin.cpython-312.pyc,, +material/plugins/tags/config.py,sha256=9UD4-AEWIZF2m66q-BGzYsjb6Zyqw21oAQ28CpgRLjo,1587 +material/plugins/tags/plugin.py,sha256=s6M3lbRMxTOsCQDz0VYSpMXvPJex7rDqBErj-vq39II,6254 +material/templates/.icons/fontawesome/LICENSE.txt,sha256=Cqj4ZSUnOy76T0D0JyoYjhh3BCUhcOl53AaHmt9o1Dw,7427 +material/templates/.icons/fontawesome/brands/42-group.svg,sha256=LMFcFYDO81Jd3rlfj4yxk-44j_FcY6e35wD1CKPjMIc,551 +material/templates/.icons/fontawesome/brands/500px.svg,sha256=HBW4xxLhrrCZT964AC8j-slBuIwa9l_t6o3JF5nsMeI,1455 +material/templates/.icons/fontawesome/brands/accessible-icon.svg,sha256=MRrqm37G-ucOPOOi7D6SrDEmXykQcWSdlTUvGwlxLiQ,985 +material/templates/.icons/fontawesome/brands/accusoft.svg,sha256=roWxi4HqavIGYLfqwEaLYkmwRUXIrH-72yptBIyjR4Q,1062 +material/templates/.icons/fontawesome/brands/adn.svg,sha256=a6eFfMt_q3_5rzhiQzEtjlm_kj0Yh9WmPQjKkJ5dH_g,477 +material/templates/.icons/fontawesome/brands/adversal.svg,sha256=Ko9UNelIUA1S6lQbX4LhVorXXbD6sy0bUoqwcrl3FkA,1516 +material/templates/.icons/fontawesome/brands/affiliatetheme.svg,sha256=2L7EBoQXllz8vGEqCNNmtlPar1WgJ6Qe6nCYJaoeOEk,614 +material/templates/.icons/fontawesome/brands/airbnb.svg,sha256=9AFZNvU0VYJlYAOFlGzenHh0-wJaBYihC4knJigTtCc,1059 +material/templates/.icons/fontawesome/brands/algolia.svg,sha256=zeB2SyOfYr1eQtOdN4DImDm1vSAV3rJK8HBkoBFbxbM,945 +material/templates/.icons/fontawesome/brands/alipay.svg,sha256=ViUEBkPXR9SaP-FJE3EPSMQxvkJxvxAHjqFa7g80AOs,955 +material/templates/.icons/fontawesome/brands/amazon-pay.svg,sha256=TybC9RDofyjtybBjckR0-xVUzdmFrfbwEIJMSEtTSx0,3676 +material/templates/.icons/fontawesome/brands/amazon.svg,sha256=F2mWUgllRwiVDME_P419UsXxP19--H-cGAjq7-qkUvk,930 +material/templates/.icons/fontawesome/brands/amilia.svg,sha256=WmKb40t3f9Y0S4VlwT2kYLIbMw7U0zXP1UJ7QppA3OM,815 +material/templates/.icons/fontawesome/brands/android.svg,sha256=EqPN0Vmw_Fgso8454XxmL94gfTmUK2usyZSSRtOl5wA,587 +material/templates/.icons/fontawesome/brands/angellist.svg,sha256=Kzte3LxOurYkDQG0_b-boi3P2rLUUvgf9byex9pUj98,1592 +material/templates/.icons/fontawesome/brands/angrycreative.svg,sha256=2Qz0QiPV-J7MeiaatBYX5Jfz8PCHb_ldyEpMqJx9KGk,2157 +material/templates/.icons/fontawesome/brands/angular.svg,sha256=tCLXiQ54gqoqD2i8bfQq7eUJcMh5-dkHiGxebMSx4ZY,449 +material/templates/.icons/fontawesome/brands/app-store-ios.svg,sha256=VWFFQoDtA0QlzLJoxuL4uL0kZLcvjYLqQytc-GmA6OQ,936 +material/templates/.icons/fontawesome/brands/app-store.svg,sha256=4ooav7n06lYTGtUqw3TR0mIZQ0JWi_4R_znJTHFkSmk,1067 +material/templates/.icons/fontawesome/brands/apper.svg,sha256=4tbrfJIXbzTZButnGlggoOJ1alaoI4DTtd_8Eo7QgOE,1939 +material/templates/.icons/fontawesome/brands/apple-pay.svg,sha256=4W8xGfjrx_Y5WwLhmjqmW-ctZeTZgANsfMguje-fm2w,1400 +material/templates/.icons/fontawesome/brands/apple.svg,sha256=1kNe4vEfnYQPzAdshxq99JzJt8iKXblusolIX_cP26o,725 +material/templates/.icons/fontawesome/brands/artstation.svg,sha256=6h-Y9dLHaN7waOnf8HGYm9_OCM1qzTjyMDYFONcnDdw,483 +material/templates/.icons/fontawesome/brands/asymmetrik.svg,sha256=FILznz_7CnoDA48YaIgHOis4pRgN3iGVTUayCHkCGuI,973 +material/templates/.icons/fontawesome/brands/atlassian.svg,sha256=x48z9E2iQxXOStzo6s-dOO735CP8rcYoqGtJFPvyXlA,576 +material/templates/.icons/fontawesome/brands/audible.svg,sha256=lpIn5jRn8Bz9jE6Ep2XSmrXjEQ55KmAVMelrH5UzVKQ,784 +material/templates/.icons/fontawesome/brands/autoprefixer.svg,sha256=p-fNJJXxd4wjc0xcfvzgARM1-fR203k4-t78D38FHh8,488 +material/templates/.icons/fontawesome/brands/avianex.svg,sha256=xpQMMWuoqqqDT9I7Fx4ZNA6tBBZOFLKhZN7OTISSctw,780 +material/templates/.icons/fontawesome/brands/aviato.svg,sha256=-ouYnQzhTRO-279O--X9PImKsL_4qUDH_Ncb3tNr6pU,2384 +material/templates/.icons/fontawesome/brands/aws.svg,sha256=BHcBX_fwaYk6oJzz__5C2HAUl6NvFPb57W-1jgZY4YM,2520 +material/templates/.icons/fontawesome/brands/bandcamp.svg,sha256=J0mOomGeQ3jaoduUBkyGr9ZGXQD9m_mHr4VnyAkcpsA,390 +material/templates/.icons/fontawesome/brands/battle-net.svg,sha256=X4eXCzQx9d9ozQxeyj3nfqvuLM2mC1xJTP0_yCJRxXU,2783 +material/templates/.icons/fontawesome/brands/behance.svg,sha256=rvu4yh4qLl8C3E16yXHaS7pwgzwG4_7Y1Vx09AfQsqk,894 +material/templates/.icons/fontawesome/brands/bilibili.svg,sha256=OGDKgFbLvsB9uG37gkjjyBvNgqWnAhP-nWsmlRbHr2I,1503 +material/templates/.icons/fontawesome/brands/bimobject.svg,sha256=pxxCkEs6J4BNvPaP_bD4YheeLw32JowsKLRGGAzSvto,695 +material/templates/.icons/fontawesome/brands/bitbucket.svg,sha256=xCUsbJW7kzF5GKUJwcP00arlEfTMLTrPYwXF9pI8fug,516 +material/templates/.icons/fontawesome/brands/bitcoin.svg,sha256=X7KoSnywX7PsWVIxEDI4tWBNlYzD-HDsdJcA-qe9w6w,1375 +material/templates/.icons/fontawesome/brands/bity.svg,sha256=A5YDbvc48LWc0UiQGlsMWV4393VtXngy5VbWLbSVVnU,969 +material/templates/.icons/fontawesome/brands/black-tie.svg,sha256=enhr-IFbTmxgPmpH9br8cfLvS64VCdH2qUWlP_RZBT0,387 +material/templates/.icons/fontawesome/brands/blackberry.svg,sha256=RjPZEeNWu7xIQ2bfBG9mlPAftcUMSAXht94t4Vr1G_c,886 +material/templates/.icons/fontawesome/brands/blogger-b.svg,sha256=vkHFtOceIB8aWvzQqNkvjCyV9AeosjF7FrSQgyLnMS8,1109 +material/templates/.icons/fontawesome/brands/blogger.svg,sha256=cNnmLIOMyo7EHC4vE96dP9Bs5qBSLtYtL6aoMJ6zU4Y,1409 +material/templates/.icons/fontawesome/brands/bluetooth-b.svg,sha256=SjFGES2RyBm4xDB06_ey4xJ3DNtIxzJi5YZoPfBNlJk,580 +material/templates/.icons/fontawesome/brands/bluetooth.svg,sha256=FjLwtspKWH5AgxRS1dUdVTeiJW6j6QD-vnVcTFkAH-s,580 +material/templates/.icons/fontawesome/brands/bootstrap.svg,sha256=A8mZ6pUC5Nw4IFJ4RQMTbOZ_Pvjig0QT7bZh9waXzxU,955 +material/templates/.icons/fontawesome/brands/bots.svg,sha256=X0TzmxmLBWiunBa5cYy7sCo07gy3P5ngHRd-bPWE-jY,2232 +material/templates/.icons/fontawesome/brands/brave-reverse.svg,sha256=-IUSQGOy5j6qlFVBvb2H0a5f4MHC7DaXD1MkSQfcxSU,3278 +material/templates/.icons/fontawesome/brands/brave.svg,sha256=pLPPRNqY2q6qNtsQKsZElxnt4zIxjfIRgPmRAxpcH2Q,2717 +material/templates/.icons/fontawesome/brands/btc.svg,sha256=rP_9yff-ZNXhYgofxX47-qlFsHDyEqw9wvZ7Fyf18Qo,968 +material/templates/.icons/fontawesome/brands/buffer.svg,sha256=hntBEH2kjo4TvfdDhCs7XV0YNLuMA_oL3zDvYpfoYIQ,917 +material/templates/.icons/fontawesome/brands/buromobelexperte.svg,sha256=zcd9iXVJOcfmdjVLmtIEb2Q1Gtjo2pXQf1fLtSZinGc,684 +material/templates/.icons/fontawesome/brands/buy-n-large.svg,sha256=pRG-WPvU91sTvSvKgHlI9uMAWXuGes3M8iabHSfbaUk,1066 +material/templates/.icons/fontawesome/brands/buysellads.svg,sha256=lUtRLWRf_hlLmWgg9mT6BsUfBwVwyuQA6vueNi49ZZ8,506 +material/templates/.icons/fontawesome/brands/canadian-maple-leaf.svg,sha256=wdnnmWMK5dFjuncqHCW3UGdPgkod9k75wKIuRk4c468,1076 +material/templates/.icons/fontawesome/brands/cc-amazon-pay.svg,sha256=Kink6A30s_r18RcEK6kfeUbZ_81b_BhkViZ8f4Ec8BA,3638 +material/templates/.icons/fontawesome/brands/cc-amex.svg,sha256=UUgkNpAGnNmXv-KpuZc3lPpvYAMthecFm7FESRm2JRs,890 +material/templates/.icons/fontawesome/brands/cc-apple-pay.svg,sha256=Cg26rlhsB9Ll_91FRpEn5efjvKA-NNUQQVPef6w5EgM,1495 +material/templates/.icons/fontawesome/brands/cc-diners-club.svg,sha256=uTfGoGF5d8Ll_8R4nfwCaIiGyN61ET9W6JAlGHl5RMc,810 +material/templates/.icons/fontawesome/brands/cc-discover.svg,sha256=mxrUeXvw8C8H_mXtxoINeNBzQww18YyM453B7Dlao0M,1447 +material/templates/.icons/fontawesome/brands/cc-jcb.svg,sha256=IFsxuSdWr62f4cLvD49u-rbsBjiYBeEsUx-3jmAVs6w,989 +material/templates/.icons/fontawesome/brands/cc-mastercard.svg,sha256=4c0cQ1aurEUKX98djr62snccpIPnFEa-yj3cTYY_54A,3229 +material/templates/.icons/fontawesome/brands/cc-paypal.svg,sha256=3MhG1ZKfppQrqCTIML1PzN1LsWq8yLbcv_W6TZgMEKo,1972 +material/templates/.icons/fontawesome/brands/cc-stripe.svg,sha256=XRpKgcyysGozZvSTowQJ7rQRSY7lrMoueaYJZD-9-l0,1497 +material/templates/.icons/fontawesome/brands/cc-visa.svg,sha256=9wI92wCiBLcSPG4tYIE8XKV0l43X8Md-EsNf0CcGheI,1144 +material/templates/.icons/fontawesome/brands/centercode.svg,sha256=2CMxzuLLY0WtRl2D7V3QUDWiK90SRtU9dIoEQCJS6zg,665 +material/templates/.icons/fontawesome/brands/centos.svg,sha256=xCWN3eDaFHXaHNdkZ6Jba9NiJq2j1z6BvGJMDpkRWRs,1120 +material/templates/.icons/fontawesome/brands/chrome.svg,sha256=rRwEC7mmZH1ewuP5pL9BGfMLwqKKuTLKNwvtwamxhLk,749 +material/templates/.icons/fontawesome/brands/chromecast.svg,sha256=icKC3SVN43bXp7C-4gKYmpOHoyUxqoUWTeILN-zONFY,637 +material/templates/.icons/fontawesome/brands/cloudflare.svg,sha256=pJb-smvlp31nBKwPPPDH0HXyiL1IzLtwL6CEQ979pM4,1310 +material/templates/.icons/fontawesome/brands/cloudscale.svg,sha256=r_5p0mxLNA2qcKPr1ZKio3ornvkHRt1Yj-9j5QjteGo,840 +material/templates/.icons/fontawesome/brands/cloudsmith.svg,sha256=2DiD1bjixoQx4_2gAR-NjOUdyGUnJknIPwfOZmVxYWE,421 +material/templates/.icons/fontawesome/brands/cloudversify.svg,sha256=2kfnXDWU8ei66sbtyDjTvobFF2ItvJwDIL6nvZ1dieY,1572 +material/templates/.icons/fontawesome/brands/cmplid.svg,sha256=B9BDHsZgj0G3wClhPXUUXNkfhPePajcjbd0ZPVOuZtE,1933 +material/templates/.icons/fontawesome/brands/codepen.svg,sha256=_R8u6cTg4qFbNikVv58dwxN-azjQ71-fSt_wx05WXCU,952 +material/templates/.icons/fontawesome/brands/codiepie.svg,sha256=k0FvWHuUiHa2ObO4_ijrYt_cYgEiKk-NXDgoGK2sDCQ,746 +material/templates/.icons/fontawesome/brands/confluence.svg,sha256=q-F7Z9boqkeroNLysMu7iDggk921QBuYfMVIOyouPZQ,802 +material/templates/.icons/fontawesome/brands/connectdevelop.svg,sha256=7fZyUgNqCUxKuVruoYg1Nto5kAm8c9NLiHWrzCWwajg,3324 +material/templates/.icons/fontawesome/brands/contao.svg,sha256=NpwCuvvowgo-0hCpKX8IuNFtWdtnHPMAE79TPcLA5q4,762 +material/templates/.icons/fontawesome/brands/cotton-bureau.svg,sha256=x_RQnmS5jav1WSfcWdXj6_QFYvCPszwThvgU2IxAP24,1500 +material/templates/.icons/fontawesome/brands/cpanel.svg,sha256=KbT6FvCdRqBAg2bkL2oeAUxMzkG0JKnZ3IyuMHmKkMU,1641 +material/templates/.icons/fontawesome/brands/creative-commons-by.svg,sha256=-GFn3JfPCernIlMQeX8TovNwjnGODMdo31wQ7EJxu8I,789 +material/templates/.icons/fontawesome/brands/creative-commons-nc-eu.svg,sha256=7aIwpHVFOAbtotYoP6gUrF3LsNJso8JEXYBP9GCXFpY,1033 +material/templates/.icons/fontawesome/brands/creative-commons-nc-jp.svg,sha256=En9AGAqLvs-y-5mK6npbVZQZwH2E5y0V-VXIA2O521k,792 +material/templates/.icons/fontawesome/brands/creative-commons-nc.svg,sha256=LQCEsASjxgroxUKezee4mFsqtwQBEyZVh8T5o5CSJJ0,952 +material/templates/.icons/fontawesome/brands/creative-commons-nd.svg,sha256=VzBiUqYwe0i_2-XYktDT7xfsDypZOR8fzmDClTVH_3c,596 +material/templates/.icons/fontawesome/brands/creative-commons-pd-alt.svg,sha256=nuj5Cv600L62qW8sPiDS3DQTcU63Fs6UJWwwsUFaB44,828 +material/templates/.icons/fontawesome/brands/creative-commons-pd.svg,sha256=h1sSf13tg1bfr4zxNdKQZWB5h8XJh0pyFnEHQH2x9jc,867 +material/templates/.icons/fontawesome/brands/creative-commons-remix.svg,sha256=Z6jk6HR3vk_N4uSuIP2S3qncM1YESie62-SDC-9XmAo,858 +material/templates/.icons/fontawesome/brands/creative-commons-sa.svg,sha256=-6IYc8-5EFeVbwkOtcKbrX3-sFVkIDdKp0iMonz2r7w,796 +material/templates/.icons/fontawesome/brands/creative-commons-sampling-plus.svg,sha256=CmRYmXiLcSCndxQhFjEZQX-74CnDrKGjK7JZxjSXmTs,1381 +material/templates/.icons/fontawesome/brands/creative-commons-sampling.svg,sha256=CiAMaHEkat_EG8FfG9TQbky6jGygz0GgNLd32aiW-50,1445 +material/templates/.icons/fontawesome/brands/creative-commons-share.svg,sha256=xk6G0Hy6tynl-KjUdJNf4-KO4ksWWGUYPyM3huTWRJs,835 +material/templates/.icons/fontawesome/brands/creative-commons-zero.svg,sha256=tOsH19BgkT1M8IEUbZdAgCYezHU08pYd8XVZ4JGcwv8,874 +material/templates/.icons/fontawesome/brands/creative-commons.svg,sha256=fbRoPjBzFFolnXv6BxfNkwTO-kK_poNdHW1TbV_-1NY,1170 +material/templates/.icons/fontawesome/brands/critical-role.svg,sha256=yw3oB3DSCKEAZksa41J62ir8oO5kvQUBfJc6q1FUBrw,7342 +material/templates/.icons/fontawesome/brands/css3-alt.svg,sha256=esTmiw98QAtfMqlH12CC2bAeVrZx2nM8eIdBCgHmffg,526 +material/templates/.icons/fontawesome/brands/css3.svg,sha256=BBK1K_Dsp2Hz7txCKZl_-_giBN5eEoe_0nBB8DkLt5g,416 +material/templates/.icons/fontawesome/brands/cuttlefish.svg,sha256=i-JN5e388xjqkCi5ZdvtLJYByHFJvt6nlXuJ7dCoGns,540 +material/templates/.icons/fontawesome/brands/d-and-d-beyond.svg,sha256=YrP_LrDQKbimZgu1_sgdg5hNUCa0nSGc0ern-KP-mbI,4205 +material/templates/.icons/fontawesome/brands/d-and-d.svg,sha256=wPaZzu748VtHMsk274bB51LmYWMT48Dvmgrcj2coZCo,4729 +material/templates/.icons/fontawesome/brands/dailymotion.svg,sha256=-felbgXh8C3rbknrcyL0leuDBmrblBdQ6YbY0qu0e4w,758 +material/templates/.icons/fontawesome/brands/dashcube.svg,sha256=Osj1SQAiNX87fVX1cYwXWE-eafCx8DAkoQet6eq0KuU,530 +material/templates/.icons/fontawesome/brands/debian.svg,sha256=2Oa7_9YmkjGlFXBjyx92Lit0qpigPVJvFOBs6N7TVh0,4722 +material/templates/.icons/fontawesome/brands/deezer.svg,sha256=xjXhI1hRxkhjKCVAqaYysWvB3ekWSBE9-RqI5xwAJPU,565 +material/templates/.icons/fontawesome/brands/delicious.svg,sha256=Y6uouW7aKUjYEMSNX7w01kNGMhgDOLYpK8rXMTIcUKs,756 +material/templates/.icons/fontawesome/brands/deploydog.svg,sha256=QMRj8MWQNiTedhMJfBZ3B91695RvJdzIX_Ijx4HK_Mw,1054 +material/templates/.icons/fontawesome/brands/deskpro.svg,sha256=SPIbLoeA0FTsPFDOVFrmE14t97XglUJBz3xN0VONlLM,897 +material/templates/.icons/fontawesome/brands/dev.svg,sha256=Qs9cjdBU8b6Omc2xUEdMFe4FwLIUnqHVNS9CGjd_ecM,975 +material/templates/.icons/fontawesome/brands/deviantart.svg,sha256=HfKARS-lBRdcN18ruej1BLwFYQkmP1YWESQLFd90xcI,461 +material/templates/.icons/fontawesome/brands/dhl.svg,sha256=sK8HKi2O2drDNoH0yrlLYyb9iJfPtpiWhR99sKnjDW0,1047 +material/templates/.icons/fontawesome/brands/diaspora.svg,sha256=y5HE75FLS6kXyE-eShWxHhUNHPohnGAHKmrOGSAea7U,696 +material/templates/.icons/fontawesome/brands/digg.svg,sha256=3F7tD-YI5c0DG_SkMU3_5SWu6od9RdUH8y44zyH0Zak,594 +material/templates/.icons/fontawesome/brands/digital-ocean.svg,sha256=Dh9t1sa1y4eYyqxdF6EfY33ebWGvqK93CWKYAsJ_xp8,586 +material/templates/.icons/fontawesome/brands/discord.svg,sha256=eJ8TCrtrDHI_EHdz988Dj0ich7cU9Q8KhPHGYc0_M9I,1559 +material/templates/.icons/fontawesome/brands/discourse.svg,sha256=u6dA5xMutiWQEt4KHos4ASCv_OGOFve-hPHrGvoe2n4,553 +material/templates/.icons/fontawesome/brands/dochub.svg,sha256=br5z5AvFiLx4CbnPMfd_feGF-SOJv85CGdWcqCCzX1k,477 +material/templates/.icons/fontawesome/brands/docker.svg,sha256=OIoTlaUAkxG1qwsZfSW_RKtsm3q8C7r72Cq5bKjDqJU,873 +material/templates/.icons/fontawesome/brands/draft2digital.svg,sha256=wlQiC-ZUG2LLgDIubi90XGd_dplZmImd_zza3jkigps,988 +material/templates/.icons/fontawesome/brands/dribbble.svg,sha256=YNd4XYEDRsHJsjyb8G2WycRrWK3hJe7tIDwQuNUUYNw,1341 +material/templates/.icons/fontawesome/brands/dropbox.svg,sha256=eDdPK5oVjgjpT6ADg2Jte6xYsoUNB_EAq4MaOw75aFw,519 +material/templates/.icons/fontawesome/brands/drupal.svg,sha256=DAqaEahmpR_aPSNPA095BA9wUTZUjS8NxMv6fOiPpSI,1575 +material/templates/.icons/fontawesome/brands/dyalog.svg,sha256=ozW8ms3crsIFKozrD-5N-Mf36vUairXMke2gGu4HQ1E,470 +material/templates/.icons/fontawesome/brands/earlybirds.svg,sha256=sM_Y0pa14p9bVrRz0ucAkoZhwJ10GYGOFTEizMhqSBM,2137 +material/templates/.icons/fontawesome/brands/ebay.svg,sha256=3nLaEdJN0CqD2qj1J9ezCgHdGZRWW_jBMzd9-E6D-pc,1306 +material/templates/.icons/fontawesome/brands/edge-legacy.svg,sha256=EsJTmdPKar-Y_OTk3jcCvCFS-q4qoFipc0iqVykmoUQ,699 +material/templates/.icons/fontawesome/brands/edge.svg,sha256=GSU-Zr8pFRfxQcpZMVlEQ2687XDQDFuILcGkIU4Dbko,1175 +material/templates/.icons/fontawesome/brands/elementor.svg,sha256=g91oGyCuME9iY3yfjPG8hEsAC57YRtxKqaXtRgPkSgM,491 +material/templates/.icons/fontawesome/brands/ello.svg,sha256=zwPKP2fknkSDhoHSNaMU7Zwk9HYqVlAPUUTjvldgpOA,638 +material/templates/.icons/fontawesome/brands/ember.svg,sha256=UGd3S1bmfgmeKTIKlRqC8eH4-TL5MVFsacW3CKkA-Zw,2143 +material/templates/.icons/fontawesome/brands/empire.svg,sha256=3ShScLPTEJcT6nkPubNKG_0JNlgIvR8C-yFHq-DniI4,2055 +material/templates/.icons/fontawesome/brands/envira.svg,sha256=abLvN6R3OF-fuk52eSzXbuHYDSNxZvk-atFJNT083Og,576 +material/templates/.icons/fontawesome/brands/erlang.svg,sha256=nD1FkmaY3qXft4qfYV9_bQZOAL2V4dAynn55CU47jJ4,642 +material/templates/.icons/fontawesome/brands/ethereum.svg,sha256=XKdD4V02S_pE8kBK6tVZj_yYoUME1dNOHVzcZT36NeM,385 +material/templates/.icons/fontawesome/brands/etsy.svg,sha256=nlGqbhFZPN1hNRyryrjU_isRXVhz82JpFXPQPgoPDy0,872 +material/templates/.icons/fontawesome/brands/evernote.svg,sha256=HyEFl3zndFSfCyGN3D9Pai_HzSyg1QkBVRInMbVUdio,1219 +material/templates/.icons/fontawesome/brands/expeditedssl.svg,sha256=xIck9nAhKZafTGdb5wT_HMv5HzINu7hDEUsPGX9GolQ,1172 +material/templates/.icons/fontawesome/brands/facebook-f.svg,sha256=3XyHQCQULsYrKirw22z458AXyHB-A99JtjM7AsWrdG0,454 +material/templates/.icons/fontawesome/brands/facebook-messenger.svg,sha256=HfZLuvUzg1LSQ5TcJ3kZ-IP-qqW1-49MEokHY_AUO0A,763 +material/templates/.icons/fontawesome/brands/facebook.svg,sha256=XCW9NMUWkv_OPQnTXniZTOJhuGEweX9m0YcPc_q3LmE,555 +material/templates/.icons/fontawesome/brands/fantasy-flight-games.svg,sha256=vWOjKC9HQOkbxDVMUchw9hmQE_fPq5JgQmPxEK5_-tY,1313 +material/templates/.icons/fontawesome/brands/fedex.svg,sha256=x1wAr_lyDQZlg7F6Z6Z4gLxkweyTUkHoho1dMOO6r3s,1028 +material/templates/.icons/fontawesome/brands/fedora.svg,sha256=yP_0Al2W2uPebNyEqq31bUqV5qP918rY5xYDKlonpFA,975 +material/templates/.icons/fontawesome/brands/figma.svg,sha256=0DmHPIBYi_hsYInfjY10MNEv9nb3h4nVyQlMX0eGVUY,1412 +material/templates/.icons/fontawesome/brands/firefox-browser.svg,sha256=x2Cr_1l1nYLSXjQM8gGgCvbNax4mUEhiL8jWCvVvF1c,1369 +material/templates/.icons/fontawesome/brands/firefox.svg,sha256=Nr0lFIJU_2Bk8-cW-pOs6e2YhbSRF9aiAVwW2TgS9n0,2375 +material/templates/.icons/fontawesome/brands/first-order-alt.svg,sha256=-f15DN_-VVm_yBoEg3oDDbs_InNgqkKuj9cvNoZsuho,1740 +material/templates/.icons/fontawesome/brands/first-order.svg,sha256=sJA0C38-A0xIeQP7H7OY7wh44be9K4dCUZmONJuJeDs,1452 +material/templates/.icons/fontawesome/brands/firstdraft.svg,sha256=q0ZKYzc_dld9ihk2Ct0ElFIOZcaV5HgmWopYOTEn2tQ,477 +material/templates/.icons/fontawesome/brands/flickr.svg,sha256=F7h2W6trbeDKul5INWw6Uvo_ElmHLDaUIrP8BiAlFbs,589 +material/templates/.icons/fontawesome/brands/flipboard.svg,sha256=z2ZxdgMCBx_an6pAUvdVKX0x5R1kz0kis-FTTzVXVYU,366 +material/templates/.icons/fontawesome/brands/fly.svg,sha256=dCRpSlbp1EnVg30wuzweK8fToMAm9SKAxVAZPifAbv8,950 +material/templates/.icons/fontawesome/brands/font-awesome.svg,sha256=CVBob1fZO93eOEwGeQ1xPTbFpQh_bDD00PThAh4y4ic,584 +material/templates/.icons/fontawesome/brands/fonticons-fi.svg,sha256=WQGBgIQv2P-z6ywQmjmegT3PJPobEqN_tCCPIwFIKvY,824 +material/templates/.icons/fontawesome/brands/fonticons.svg,sha256=VhxV4JlbbnEfQFRJ8UF0heTF9pNFpf6yhk_GigFkdGE,850 +material/templates/.icons/fontawesome/brands/fort-awesome-alt.svg,sha256=FIehBRV9G4Dk4zkPpRjErFQPLGbDP085onDf-WZCOIU,3901 +material/templates/.icons/fontawesome/brands/fort-awesome.svg,sha256=X3gO4LSEEZ3ZEMwMqHQxL0H1FQnYqKI8i3w1-ciXxas,1229 +material/templates/.icons/fontawesome/brands/forumbee.svg,sha256=LRPEL0x-u6xEYONXE5fX5NoECJ3aE0BjMhV8tMD5H_I,827 +material/templates/.icons/fontawesome/brands/foursquare.svg,sha256=fK0hQj6ncjbOe7dGW_fLdQ8TQISiV8nGWHkr1oWSAXc,832 +material/templates/.icons/fontawesome/brands/free-code-camp.svg,sha256=q5WPKzth3o8PuzTROFc8bC0jiJ9d1lGAx4QvCasdpa0,1431 +material/templates/.icons/fontawesome/brands/freebsd.svg,sha256=S0hMQRRVIfvs86QXnFlRsTKN2T-vu1vqWhNxXxoGP-k,806 +material/templates/.icons/fontawesome/brands/fulcrum.svg,sha256=mV0OC5eyeXnyb7vUdJxUsZeJyyEdq75qs0q7aBYtLuw,548 +material/templates/.icons/fontawesome/brands/galactic-republic.svg,sha256=xI6NMg_VLTCzqTwr2IOmM7TN_yS11gkZYkz9OGGpaBw,1812 +material/templates/.icons/fontawesome/brands/galactic-senate.svg,sha256=Lw05NHHxcTQLITm2WJRyfMNGmamrovSclzMnrj5uzd4,2894 +material/templates/.icons/fontawesome/brands/get-pocket.svg,sha256=9i9CUq1B-X4y0hb7Xu_HEw7jouSCedoG-O1eZ-7V540,634 +material/templates/.icons/fontawesome/brands/gg-circle.svg,sha256=cSxCM4I0xgZaNFKXT9e1LUJm8Ss7ItJh8gqLS9PeO9M,619 +material/templates/.icons/fontawesome/brands/gg.svg,sha256=3LjlbKO7rtKYwS5Q6Nvb-HI5Y6Ffveqy5s2JmtaM_0o,551 +material/templates/.icons/fontawesome/brands/git-alt.svg,sha256=9YS0ULGWIW2JHbpA6IQgpz6AoV7_WUlz0XTGHTCVJHo,748 +material/templates/.icons/fontawesome/brands/git.svg,sha256=34fZDPun0foRssk-wWYIrJJlqpaJFvfgWsgSNaDBWZA,1309 +material/templates/.icons/fontawesome/brands/github-alt.svg,sha256=dR_tpBzQXcd67CJvWE5pwXv4g0LcBwYPfaALVbhsk-E,1090 +material/templates/.icons/fontawesome/brands/github.svg,sha256=aN9_F_f-7gDDDr0KNvDcomrxg5L3oJZ5cesGyublMrI,1594 +material/templates/.icons/fontawesome/brands/gitkraken.svg,sha256=cJuC8d-3yCD1xNKA_zgxPYYcyC_c0h8x2PnXXmQn_Nc,1564 +material/templates/.icons/fontawesome/brands/gitlab.svg,sha256=a8i0knC01qWDr_-r0voNP3QuFQkCr4PFIbbkNaM9kGQ,871 +material/templates/.icons/fontawesome/brands/gitter.svg,sha256=0JrzD8MoPXOVKb4Pwj3AvJLhpwkH1GwgzHiKXv3wKIE,404 +material/templates/.icons/fontawesome/brands/glide-g.svg,sha256=xW1sPe-oXHivsOrXvcY3hflx7cLb9ECt-xKtoO77mmc,968 +material/templates/.icons/fontawesome/brands/glide.svg,sha256=-cTSEbhx6VfNxquhilcunSpUEwhLft4GMC2zgJP4Z3c,1065 +material/templates/.icons/fontawesome/brands/gofore.svg,sha256=w4U0bwfF8HTpnGDQCAv9dXUnKMflnzR4yYfn2h2MsSA,650 +material/templates/.icons/fontawesome/brands/golang.svg,sha256=8gk6XQ3g2dYnEhAh3rRZgo6HQV3L76Jm-oK5U1IVwp8,1752 +material/templates/.icons/fontawesome/brands/goodreads-g.svg,sha256=oZ3nBaZu3tiyqrhol49TkWOIhEBbVareS3JCQzMZ7jA,933 +material/templates/.icons/fontawesome/brands/goodreads.svg,sha256=K61BhMaxud7CP73Cs56kCueE-rhnTR7NH8BjJAAsCCs,1021 +material/templates/.icons/fontawesome/brands/google-drive.svg,sha256=YkatM8CdbaY3Bhx-FVxUwVcl31BusKfn58KV2XQ4M3s,427 +material/templates/.icons/fontawesome/brands/google-pay.svg,sha256=0jpAJg319kGdLgqdfkISm68GsTysQUods-aCXYPemf4,1660 +material/templates/.icons/fontawesome/brands/google-play.svg,sha256=5a8NHfqeNravEUN-76Ml_3jmb-LrlLnXSGrfhz5X_1s,535 +material/templates/.icons/fontawesome/brands/google-plus-g.svg,sha256=7JORP4lcpa5zKpLylK0T2oQrysY4V90h5qC30Ul0ddA,767 +material/templates/.icons/fontawesome/brands/google-plus.svg,sha256=tKpoErtqdPU3DCq_iktRy7JKmvZt20_nd6ngSG-wHPs,684 +material/templates/.icons/fontawesome/brands/google-scholar.svg,sha256=_Jt5j5hDIYv3_lGsMiaZ8xIyWbZIwzJ_WKTtqma3mLA,696 +material/templates/.icons/fontawesome/brands/google-wallet.svg,sha256=KxUSmnb-yvqLcj4uuoKwEnjouKcZdzN-1Rl7hF7MbEg,808 +material/templates/.icons/fontawesome/brands/google.svg,sha256=QRRPIwsb2uCsUoG1Uqqbcayk05Aq03jfoN3IByh_9yk,537 +material/templates/.icons/fontawesome/brands/gratipay.svg,sha256=rzcMcGjQWPrTdwjkzB2buoybMuWEg-U5I7yLJsS0kYA,542 +material/templates/.icons/fontawesome/brands/grav.svg,sha256=LI6AS24SalPzinT4I2Khsyq-SDfiRMrElAjLLElpjmg,1838 +material/templates/.icons/fontawesome/brands/gripfire.svg,sha256=2mS-M9sk9Y0bAQAOqH3_hmk__nvDnTHq-6WHxtoslwo,900 +material/templates/.icons/fontawesome/brands/grunt.svg,sha256=B7YfJ-f3H3OTrJZJatoKsqEGFfIj-LHKwy7u8zroacc,5700 +material/templates/.icons/fontawesome/brands/guilded.svg,sha256=5PjVLaYxBjyPSl_JChNTYgK_mzjQUCI7nACkikOtRv4,677 +material/templates/.icons/fontawesome/brands/gulp.svg,sha256=NSCvJC2ndZriUcKTq6kHvc5lNlGlpbufC8oiCHNcNYw,2810 +material/templates/.icons/fontawesome/brands/hacker-news.svg,sha256=s84GM17ayhvlU5E5h0ihVMqycDudSXaevE33eY41Zbo,470 +material/templates/.icons/fontawesome/brands/hackerrank.svg,sha256=QQZUdhXTN8aeOjEmF8E8TtA2gII7vyglqM6srBS0EqM,1053 +material/templates/.icons/fontawesome/brands/hashnode.svg,sha256=Zq0_YUemheXGwIr3f_vl553xemiIAnWcrSGNRclUq5o,591 +material/templates/.icons/fontawesome/brands/hips.svg,sha256=842MkgeBCzaKHPul0xqR4u4efvdiqrDY0EtSa7TnDfk,1655 +material/templates/.icons/fontawesome/brands/hire-a-helper.svg,sha256=M0la9KDSwruH2WCnB-dguPr3fZ80BAVT-DgNLJSMmXw,1272 +material/templates/.icons/fontawesome/brands/hive.svg,sha256=tcW4y54i_1M6iXp2Z6ivPLSfWilfORKcwnOe7YPUIyI,1016 +material/templates/.icons/fontawesome/brands/hooli.svg,sha256=NuVJZOh_fwJdC-eNNXLyfI3pksPBr4VOTsZBd78aDbA,1696 +material/templates/.icons/fontawesome/brands/hornbill.svg,sha256=Nh55q3YdVkzLaE5xKHCdeVBQ9J8mQxIcS1Jw9axXU8A,1304 +material/templates/.icons/fontawesome/brands/hotjar.svg,sha256=bixS0vqZGsdcJPtBfzdkFTXyZltP8uW6wcV9_sxAk_c,575 +material/templates/.icons/fontawesome/brands/houzz.svg,sha256=wQj5sdAj_X9Lk0Z6u29DPPO77LqrZc6NvjBGOvsJE7A,352 +material/templates/.icons/fontawesome/brands/html5.svg,sha256=snF05LzT0VxTUZUNt17x3Y8zz7KOqfurlwD83YVkaZE,489 +material/templates/.icons/fontawesome/brands/hubspot.svg,sha256=d3LwB0sY6lu1aj16winu2TbOvSEZKCaA0wsGar7D2b4,1042 +material/templates/.icons/fontawesome/brands/ideal.svg,sha256=DvvBNP2QqDPghSiSxFesIvyW4HJ9DMSyE7_-Ff0MI8k,1042 +material/templates/.icons/fontawesome/brands/imdb.svg,sha256=oJxsQmmH9QH4xUQRKxytsvMQCO8fJwq14gPRZL-70xA,1690 +material/templates/.icons/fontawesome/brands/instagram.svg,sha256=iqMSeBCwJW0wiwRobo-PiP21hhDRMaF5TmSE5Nwq-rQ,1212 +material/templates/.icons/fontawesome/brands/instalod.svg,sha256=Yz1Zoqhra9dmmrlsV4YqXfheUWg22OyEATDxfMnNlLo,449 +material/templates/.icons/fontawesome/brands/intercom.svg,sha256=EPP5XYQMLd1_UZxs9t-3d2S4YBDRNnlms5X7cgeIsvk,872 +material/templates/.icons/fontawesome/brands/internet-explorer.svg,sha256=npMsNkTrz0MyNvcbd2UvJTPd2Ke0qxSrKpGSWT93epM,1147 +material/templates/.icons/fontawesome/brands/invision.svg,sha256=jIxKBXI-k47U_8XS1AZzNDJGkqE4ZgSSfRdPV6wPXG0,893 +material/templates/.icons/fontawesome/brands/ioxhost.svg,sha256=zpg_jklIS2r3c_NtFCrh1s_pgkMBIUoaQrThMvafcT8,913 +material/templates/.icons/fontawesome/brands/itch-io.svg,sha256=r6R5FGxTQ-S_6K6XMQgpqx-KwlkwU5QvNMjcuoseBrw,1475 +material/templates/.icons/fontawesome/brands/itunes-note.svg,sha256=tvZwRTw4h5_uoYpPy_vrBin8yk-Yo32zxsFu-hFpPF0,872 +material/templates/.icons/fontawesome/brands/itunes.svg,sha256=UIIAEpg7XBD3D4OYxPeNTjOZDE7cs8hQhp_eIsUfOL4,1162 +material/templates/.icons/fontawesome/brands/java.svg,sha256=zpIRO0jxWSNdV6yDXnt7C9N5Haje_YFAv1Sk5QLwIpo,1392 +material/templates/.icons/fontawesome/brands/jedi-order.svg,sha256=3yvwr3dkFGpEOU83_pu_CroTowVtnpmET9M0iOli50U,946 +material/templates/.icons/fontawesome/brands/jenkins.svg,sha256=WXhnn29VfhKnkdrP1McsWXUK_0qFg3QJODhzA-BumtQ,4551 +material/templates/.icons/fontawesome/brands/jira.svg,sha256=v4mNcL7-KvnjW78OSy8B7BheUt0bQJtT26CGXDRQYo8,508 +material/templates/.icons/fontawesome/brands/joget.svg,sha256=tmEVOG2wvBoLBx2qWYX3q31B6bgptackZQJiYZDw_dU,1087 +material/templates/.icons/fontawesome/brands/joomla.svg,sha256=ShquclN8njirysBCa-IA8PgSgh_r0MtA0m6ypKBpUH8,1354 +material/templates/.icons/fontawesome/brands/js.svg,sha256=UUo1OHmYj2tYJg-gnfM6ZT0vAbjfQnhOqyaISRMJc4w,821 +material/templates/.icons/fontawesome/brands/jsfiddle.svg,sha256=ZdXI1QIuU4bnILOCWw8-RXqjhd3H5bJWVdEWjtu8XkQ,2113 +material/templates/.icons/fontawesome/brands/kaggle.svg,sha256=ZmhBTTzdv5ArhuEa3ahSrHnX0c6k97PEQCx2n3NRi_s,528 +material/templates/.icons/fontawesome/brands/keybase.svg,sha256=dp93jRA-5quKmUrFsZzQ5z1twanCEQWJ-1ySwDJPC0w,1775 +material/templates/.icons/fontawesome/brands/keycdn.svg,sha256=zTpFrKxjDJVhL7RRIH1tODuFQoC_78LigvRx7kzlU4c,1729 +material/templates/.icons/fontawesome/brands/kickstarter-k.svg,sha256=PLE3Mzr2bs9Jb4uTpBF-k1Mp3CNfclzvFzwAYlME4Q8,582 +material/templates/.icons/fontawesome/brands/kickstarter.svg,sha256=msdF88O1HrUR4j96dXC6jDYx9Rb_XgOJE0qbAkyikMo,679 +material/templates/.icons/fontawesome/brands/korvue.svg,sha256=BtUrthVOUa_Ik6JQjC8emOXRvr8wB9ygHLXggr-31qU,539 +material/templates/.icons/fontawesome/brands/laravel.svg,sha256=_trnJib4dipLMuL3rS5bTwYCWTuzT0gGl9-afzWjUQ0,1889 +material/templates/.icons/fontawesome/brands/lastfm.svg,sha256=6enrA4pZqx5mbwQlihy4wFC7iApaI2UPbVW90v6PqVY,858 +material/templates/.icons/fontawesome/brands/leanpub.svg,sha256=ujq5nR4hp7gtX7ixnLODlcnzekzLNlzo2u7ca-aZ_dU,1372 +material/templates/.icons/fontawesome/brands/less.svg,sha256=vtjItjs65J6IbEGfKG7G-z65Txqx3S7S_gqj6IbUNY0,2050 +material/templates/.icons/fontawesome/brands/letterboxd.svg,sha256=7Vb5W_6mwl10PtjwH05TkeefvF5br2lYQ-aHyH_sH0Y,870 +material/templates/.icons/fontawesome/brands/line.svg,sha256=fBXs49vi6o1xNsG2kQJLOxswk49hLDXRS1UqR03xGk8,1398 +material/templates/.icons/fontawesome/brands/linkedin-in.svg,sha256=Xt2S5vQijt8YjjW4CEaV8iJtOwqGY_ql3tbchU29CtQ,590 +material/templates/.icons/fontawesome/brands/linkedin.svg,sha256=ZnA3bI-6tRUZFaq1VJEKFL3XKw3Xe35u-dMFr_S2txo,714 +material/templates/.icons/fontawesome/brands/linode.svg,sha256=eRTCfDxg6bCBQdzso-lVGBzsVM8_yZSU4nyTAX_yf9c,828 +material/templates/.icons/fontawesome/brands/linux.svg,sha256=852Oc5nYw4pqizQr8M7PQQwfqZ2phS4nJYXtsuq_6L4,3778 +material/templates/.icons/fontawesome/brands/lyft.svg,sha256=l2I2ss-3naUCW__RIjpZQF3TSnny2dBbSbSiWkDVX7E,885 +material/templates/.icons/fontawesome/brands/magento.svg,sha256=XWDcdrzksBn48aIRxydB_ZoNgxUAvlY5lOqGAy519pg,489 +material/templates/.icons/fontawesome/brands/mailchimp.svg,sha256=7_3UH_3RIPyC_d90WrHiN3KTRIS1n0Vu2Bh16oeG2HI,3347 +material/templates/.icons/fontawesome/brands/mandalorian.svg,sha256=IbxLuHFBC9jpSGsmDcon9ni41iwZkPmspvOVaCyGSxM,6198 +material/templates/.icons/fontawesome/brands/markdown.svg,sha256=h2E2oNJYsORHQHzuck5aud05ZqJKG43y_tCJH2dSZCQ,569 +material/templates/.icons/fontawesome/brands/mastodon.svg,sha256=TVyZrBCNpyz4SoTPJf349Y7hWGEmnEqvGv7S-PMOw3o,905 +material/templates/.icons/fontawesome/brands/maxcdn.svg,sha256=zz1Sp8IIMvvxQWzsMUNRz2tb1MYfUkl3r6Zi9O6bmOc,510 +material/templates/.icons/fontawesome/brands/mdb.svg,sha256=syLxK00XMrhnUHB5VHCbciaj8hqgNrT0_hNrQE6oUuI,842 +material/templates/.icons/fontawesome/brands/medapps.svg,sha256=Z3LVQj2OJgHcYbxboObRT1nfz8QcEwppPHCPyY7bCSo,1106 +material/templates/.icons/fontawesome/brands/medium.svg,sha256=0eO56vlH0XtXcqRreMXSF2z8EFLQc6FehmjqXJUzfZM,701 +material/templates/.icons/fontawesome/brands/medrt.svg,sha256=5MJv2w0p22jL4ccoIXOJLryPBOqmdpnDVWPT7Vf8tOQ,1046 +material/templates/.icons/fontawesome/brands/meetup.svg,sha256=mbSKHjxTzeCMjqSW-OlPKqoYFWDzuA2-pABuyMAHlb8,2342 +material/templates/.icons/fontawesome/brands/megaport.svg,sha256=6QsKKmG3tTXk-ahEgW3WvtiGKzC1fgbZbGku2sP9_C4,639 +material/templates/.icons/fontawesome/brands/mendeley.svg,sha256=Z32qx5UTxy_3mvzFcnzyUrPbYnPSSLhuOq1DpTJ0HHU,946 +material/templates/.icons/fontawesome/brands/meta.svg,sha256=CnY4WcEVxIcJywseo6p9z-Ub2ukrpmISlv8xleccNZU,934 +material/templates/.icons/fontawesome/brands/microblog.svg,sha256=Rqex1prS5fp5hT5FuEVf7EXkgFk9_FSN6dkGhWMQ7PE,838 +material/templates/.icons/fontawesome/brands/microsoft.svg,sha256=18fto24mw_EA3mbxHIRM3QiYhHQzvsjqzp1aIZNGsog,397 +material/templates/.icons/fontawesome/brands/mintbit.svg,sha256=TgmDiJsmH060kDHoKmOVe7-QRqD7G2_MIcjp7-shtSY,509 +material/templates/.icons/fontawesome/brands/mix.svg,sha256=SEAYzrD6ULdqEQWRjYT_MlHhhyKqBPAModMM8BQWHNQ,434 +material/templates/.icons/fontawesome/brands/mixcloud.svg,sha256=n3h8vI8aSelN41dckZJDXW32iLWuffEU0NHpCSY_0Sk,685 +material/templates/.icons/fontawesome/brands/mixer.svg,sha256=pNQfneIVRKcu3Y2H_Vcbmluhy0WjX-Iqtu9mRMBvtso,707 +material/templates/.icons/fontawesome/brands/mizuni.svg,sha256=lwlpWhXZZ9kEbCPaEZ4cKZOHJPIDh99mTvfRI0cQnVc,647 +material/templates/.icons/fontawesome/brands/modx.svg,sha256=7KdOqPaN_7rGV_q_-LSzCGNdE566NUx3QoCth_fURSE,458 +material/templates/.icons/fontawesome/brands/monero.svg,sha256=Z4OU5Ub6wCIwyZP0hV2DB68w12ipg7ajx1U3eOLbM2U,504 +material/templates/.icons/fontawesome/brands/napster.svg,sha256=fweiceUpZuxCTfzdQnSxVX-2JGMO01OefuT_crXHiEI,1190 +material/templates/.icons/fontawesome/brands/neos.svg,sha256=bYGi5Z1WiTKhNgUPguTKTWvykxOhtSJproB8TNmkCQo,649 +material/templates/.icons/fontawesome/brands/nfc-directional.svg,sha256=Q5R2g7rQnCBMZbyQFVrOogpaKHWKAC8_dYc4bIZU1_o,3782 +material/templates/.icons/fontawesome/brands/nfc-symbol.svg,sha256=9Sup62YJVg_V-5g654EK34tFSx6R-sJdKa8ebrPiChM,1129 +material/templates/.icons/fontawesome/brands/nimblr.svg,sha256=IWnhENkIGY6Cikg8gUdHs756FHY_gAq5Wc48VjkZG-4,764 +material/templates/.icons/fontawesome/brands/node-js.svg,sha256=aM20KsDat7VFfA2M08aIB_KCmWEG19U0C0EzSAx0s0o,1374 +material/templates/.icons/fontawesome/brands/node.svg,sha256=ntm58NxtDyu--RyU_oB5jQZ0m7_UD4omY6OUMPcYtnk,3325 +material/templates/.icons/fontawesome/brands/npm.svg,sha256=dfKYwwQAbannFJJhi9-sAqc9-jfmbh7gAnWTOZu-gOo,464 +material/templates/.icons/fontawesome/brands/ns8.svg,sha256=sxmIKtVDmM3paVYDLUaur8OKbJJbTtl57IolQSI_GEQ,2338 +material/templates/.icons/fontawesome/brands/nutritionix.svg,sha256=FyNq2hfVIR5d3qFA588mV97cm4jhGSrQ2iec6MA8z9k,1708 +material/templates/.icons/fontawesome/brands/octopus-deploy.svg,sha256=pGKXLWpghoavN-GU7-hpTEyjM1bz-zh4EH7YJbsqp6M,1047 +material/templates/.icons/fontawesome/brands/odnoklassniki.svg,sha256=xOcM8R3zjbDqrnagVRS6pQsFIMiXWOb_rKMAzajUHCc,873 +material/templates/.icons/fontawesome/brands/odysee.svg,sha256=jxYj_-OA6c6gipdOb7evZGHIB9WIeCLzmF04abdi7xU,2237 +material/templates/.icons/fontawesome/brands/old-republic.svg,sha256=k_uDb_CV7p8ROecsqlS9t8JaMaS7h3yNE_ihhTl6CwM,11429 +material/templates/.icons/fontawesome/brands/opencart.svg,sha256=flmTqFjK5u7qPynDSjgq0b_BELyJiFZdTOV9VoZAoaY,636 +material/templates/.icons/fontawesome/brands/openid.svg,sha256=jMaY9lQbotImF2EIuWAhcDO2-8C1ZHe4bFxM_tST8iw,543 +material/templates/.icons/fontawesome/brands/opensuse.svg,sha256=0nFDhDF3q6esq31mSa7nWUj2ImqGK3kXy7f9as4g6r0,1459 +material/templates/.icons/fontawesome/brands/opera.svg,sha256=maaLOzNjmpZ08V_5WOAXy-DVGL4M97dVA-_cawrhwlQ,704 +material/templates/.icons/fontawesome/brands/optin-monster.svg,sha256=EvBHwYc_n6Qa3frAbtZr95ZZjgYpwLg3pnwKXhdwBBU,4961 +material/templates/.icons/fontawesome/brands/orcid.svg,sha256=j7pEMx-hXANBQTNzKUzlPDd4jVNK9PnyZ6fJMMCAxR8,653 +material/templates/.icons/fontawesome/brands/osi.svg,sha256=UFXYnujc7k-W_8nZRhhm5xSZNiL0HNQ2rdCMtvmrQY4,1165 +material/templates/.icons/fontawesome/brands/padlet.svg,sha256=Hxg6e7VSVDIeKDbzrLIxW7WD_43Lbt8n84pF76x13Xk,826 +material/templates/.icons/fontawesome/brands/page4.svg,sha256=4Wi2uTclhs3fIRyUB2Ua3s-sETvq5jkJiQ_MZ0mICio,1012 +material/templates/.icons/fontawesome/brands/pagelines.svg,sha256=dPoVpcPF7bKAXKDMR44sUQPwNUkkIobhkAIfK_yn1Lg,774 +material/templates/.icons/fontawesome/brands/palfed.svg,sha256=oW-TlD4d5BAvHxKMsxNQjaqgcuISbPCcoyZw9hhz4EQ,1052 +material/templates/.icons/fontawesome/brands/patreon.svg,sha256=D5_4Zmw5puWFt5fDU7TUgU-ya6mCx1-6pDho7d5aIcc,508 +material/templates/.icons/fontawesome/brands/paypal.svg,sha256=78reOvh4TvoB3J8RIAGG9PYRhx3e0A73wsSXw_7HS3Q,843 +material/templates/.icons/fontawesome/brands/perbyte.svg,sha256=Eh2Ya9_idmoMlkz9OmDfUjkhFq1JkD8UVOucmk3MCRs,955 +material/templates/.icons/fontawesome/brands/periscope.svg,sha256=m20xS9nv2oCACLEqGq57jo05ofux0V1sttpSVAAzHks,818 +material/templates/.icons/fontawesome/brands/phabricator.svg,sha256=Tea0p3HYxQGUGvmU7TJRDoTvMDBX7UBAaIyzvzMLo04,1236 +material/templates/.icons/fontawesome/brands/phoenix-framework.svg,sha256=sbMfScCX-Wi3OseT1HOE6TeyzaaMb0WlmLHE1u0ic4o,2702 +material/templates/.icons/fontawesome/brands/phoenix-squadron.svg,sha256=sQsqWZwVtmntrbjPusEt3yYwMM0zHvMwdRFyXtatKmo,1807 +material/templates/.icons/fontawesome/brands/php.svg,sha256=tV6guE3DvHqO3B_mPrzEPBBAE3pV-Ov12OzdxecC6yc,1062 +material/templates/.icons/fontawesome/brands/pied-piper-alt.svg,sha256=d5EZg5D8kb7z9YRrhEVOU5-blOgkKsnj22N6y3s2NJ4,1882 +material/templates/.icons/fontawesome/brands/pied-piper-hat.svg,sha256=jUtibfjbXoo20IVSLqVqhoFqqQxGj1dLFmKlhuqb0uI,830 +material/templates/.icons/fontawesome/brands/pied-piper-pp.svg,sha256=S8kProAz7VSEA-DCP_sjSWIZuBGGnI4Rjv6IxM4SurE,952 +material/templates/.icons/fontawesome/brands/pied-piper.svg,sha256=xR3E6YKAjMceMdB8n08XAVFIUSPXv-LN_RK6JqwPZx8,821 +material/templates/.icons/fontawesome/brands/pinterest-p.svg,sha256=6o8o91BS77f-lzJ0Wvb-3Hw_dkrrD1XNcvEooDo7E54,785 +material/templates/.icons/fontawesome/brands/pinterest.svg,sha256=HwwPAMsBgLroj1x5pZf-F_p9bE0GLqL5ltCmRfGyHEY,956 +material/templates/.icons/fontawesome/brands/pix.svg,sha256=166OU7ExdXDxCZW9RLE7w7G2fkD6YtqcmavHhQpYSKg,983 +material/templates/.icons/fontawesome/brands/pixiv.svg,sha256=D3beOdTIMMKd22QtbDjjjxVSWcJ6gk8TWFd4FDUfe0w,877 +material/templates/.icons/fontawesome/brands/playstation.svg,sha256=anhpHiAAxqhIrhz8zP1pfg98Iu0_J_IHovtboNXWgT4,884 +material/templates/.icons/fontawesome/brands/product-hunt.svg,sha256=yiHR5nldqYVYi81S_Q-HeDEHYNt1CT17wH79GRMxfKc,538 +material/templates/.icons/fontawesome/brands/pushed.svg,sha256=47kVHLL4CpD97Wr1gjbHhKjOBUmT5qQbUDM0wwoYGJY,752 +material/templates/.icons/fontawesome/brands/python.svg,sha256=50aNmns0wewI2vZNOH7rs6JwuHK-rNKf9BCXFjKe328,1054 +material/templates/.icons/fontawesome/brands/qq.svg,sha256=bY7ruUpd8EeSpOsrcluvme1cmfUuMQGrT-ivkmycaN8,857 +material/templates/.icons/fontawesome/brands/quinscape.svg,sha256=xRblZpVAeQfvTtoWPnfcsp5XN-FmvlJBy0nYB1v-AUo,619 +material/templates/.icons/fontawesome/brands/quora.svg,sha256=YF-7VRjMLC6W-l_AMtSdX91HPWSgp-mbEPyDprG92xE,782 +material/templates/.icons/fontawesome/brands/r-project.svg,sha256=VY8VxHbrZNHSZDunLgpbQwtYdugINRn2EfqcueiQO3M,835 +material/templates/.icons/fontawesome/brands/raspberry-pi.svg,sha256=RF5c0dDU7NnADovcEhdjxazBiV9YsgmQm33OVHHDHW8,4028 +material/templates/.icons/fontawesome/brands/ravelry.svg,sha256=VtjuhfBqnR7fF5l1pGqHmsg2At-0sfPu9U22tcMVx_E,1852 +material/templates/.icons/fontawesome/brands/react.svg,sha256=pB7V336BRkpjtznh00pgxfS_37jvIdPmBdzQgh24eqE,3118 +material/templates/.icons/fontawesome/brands/reacteurope.svg,sha256=6aG6iiC0Cv_QCQwsOZWgRObAaF70wzEpysDy37JGBvg,5697 +material/templates/.icons/fontawesome/brands/readme.svg,sha256=GirRdZ79XXOik7BDVpAunFXdMISpFa9Vu7v_87lbP9w,1273 +material/templates/.icons/fontawesome/brands/rebel.svg,sha256=fj7qDW1JXo4TjLtcCB3EP_4leaVKG6lc-3W180THX0s,841 +material/templates/.icons/fontawesome/brands/red-river.svg,sha256=JNtYQCi4jCc5QERI-QQyU6qCkotpWBpajvDgCK8OrkI,699 +material/templates/.icons/fontawesome/brands/reddit-alien.svg,sha256=1uisuN336DHZL2sbDzAAyXbW6whHqxSvCKb3enzQumY,1088 +material/templates/.icons/fontawesome/brands/reddit.svg,sha256=q3m4waiSQ1WdV2euA9j4r7aRbUIwf7hS1R2c7noCi2s,1215 +material/templates/.icons/fontawesome/brands/redhat.svg,sha256=X14f81o6MEyfQ74MrdTKsIcaJgs8L608yL4HYIDb3BM,853 +material/templates/.icons/fontawesome/brands/renren.svg,sha256=2YWK5sw4NI7vKLkgToOY0mMSSQ-1A81FQr2TqXEM06Y,622 +material/templates/.icons/fontawesome/brands/replyd.svg,sha256=SG2tXB3jym4Qgi0pRjvVu-2BdkBgjUIBs3fmouG73cg,1507 +material/templates/.icons/fontawesome/brands/researchgate.svg,sha256=HVe0FOZjDCgafaECc-6iU8Md3XjTUmrsni1i1IaVRzo,1022 +material/templates/.icons/fontawesome/brands/resolving.svg,sha256=vP17sVAZUvcShO_iqPiNgcfS6IJ2EDUZPenjDsC26Oo,763 +material/templates/.icons/fontawesome/brands/rev.svg,sha256=bOl53m2gn7nav-UZxgG1hoE1LIMHtv3yiQYNSzAs3w8,653 +material/templates/.icons/fontawesome/brands/rocketchat.svg,sha256=NrKxfiZFygp5_lphk9PUTNCmhggi9_KNwQcNBh3eJiY,1565 +material/templates/.icons/fontawesome/brands/rockrms.svg,sha256=snld_zsT-O5qSBGfPQBkF7wZ4ziYWQ8mW7W8C3oj-z8,553 +material/templates/.icons/fontawesome/brands/rust.svg,sha256=UWCUoq0q0eVNI3rwrk5OqLOku0v_16oc7XCuypz11Mc,4109 +material/templates/.icons/fontawesome/brands/safari.svg,sha256=C_FGwUghnjzBGGtBR_c7_j3sTWmOIMIi5zG5uHxnohI,1826 +material/templates/.icons/fontawesome/brands/salesforce.svg,sha256=l4VrB37JPQroCaqnsx_MlaMvyv3IlXl152aOqYv39RU,4487 +material/templates/.icons/fontawesome/brands/sass.svg,sha256=Guk33V0uq4kUW37p-e6zx8qMjR71LcwozAtFB1MrO1c,3297 +material/templates/.icons/fontawesome/brands/schlix.svg,sha256=ocdgoVho6uVIY-KQo7jbdkkK_coQo7Z2Z2UY1M4jA1I,1070 +material/templates/.icons/fontawesome/brands/screenpal.svg,sha256=DBHrQoa4AFcZkyTOWnd0Oc6zIvrv3rqWXdvspCDzHjQ,2000 +material/templates/.icons/fontawesome/brands/scribd.svg,sha256=ljWKKlOfHNIuAwkwuPIeAIg4Yo33XACGrGvymVJvxag,947 +material/templates/.icons/fontawesome/brands/searchengin.svg,sha256=6ai2_f91JZC_Hp7dbNT0ojnILg3T6zzoe0A7Is0TzYk,965 +material/templates/.icons/fontawesome/brands/sellcast.svg,sha256=TxJJwRJGJkPSA0u7g_owuWWPV3LGT3Ite-KvjgkByV4,1040 +material/templates/.icons/fontawesome/brands/sellsy.svg,sha256=wRsJ9G4ukMuAosUIwNfFBTe3hcNR95txllpoQamZPPg,1420 +material/templates/.icons/fontawesome/brands/servicestack.svg,sha256=7JbUOstllD09DQY3it2rTTs4JYE7LICptmxc7d-z7jY,460 +material/templates/.icons/fontawesome/brands/shirtsinbulk.svg,sha256=-bCMxACzX5NtjFZq64aTHFtTNWImVabCkWwJVQyLMb0,1798 +material/templates/.icons/fontawesome/brands/shoelace.svg,sha256=o8cXN7i621Mw1PAdvtDAvreCTtl1doAeihTdn3b9IBY,2534 +material/templates/.icons/fontawesome/brands/shopify.svg,sha256=pE2BsNSX0E4-jhdL7zasDUEx0GPNz0LvOJfBtt7rUdc,1496 +material/templates/.icons/fontawesome/brands/shopware.svg,sha256=flDbMe-4y9p9wywEhOKn9pIeAqi52z3VRM6IZEIb-XE,801 +material/templates/.icons/fontawesome/brands/signal-messenger.svg,sha256=JR0iaiRB9x_4rTf1do4iZzmol99OC2ONMhOfDudF0xU,2050 +material/templates/.icons/fontawesome/brands/simplybuilt.svg,sha256=W-Vk-xO05BZWPCkIwkVMoALG0eJuCNyYaLMKelnWRbQ,743 +material/templates/.icons/fontawesome/brands/sistrix.svg,sha256=UU0TLFsvw1IlHNH5Xvb1MGCo1O60_LjXDx_WsrwGbqM,567 +material/templates/.icons/fontawesome/brands/sith.svg,sha256=f46Tsb2RaQhXvOprC22h5rUHJ2KEvf57pHMdMtfVGaw,1036 +material/templates/.icons/fontawesome/brands/sitrox.svg,sha256=cvs3UcAQIyg0PywjihXIgpo_3h2w3orUGt9XbBVI-M8,528 +material/templates/.icons/fontawesome/brands/sketch.svg,sha256=9yHM_IHbpK41VWjOJKhIxiwPl7yM3XQbzBZI2Av_XiE,620 +material/templates/.icons/fontawesome/brands/skyatlas.svg,sha256=MnlMnTDB_-0Fuu1cXf_yKtdIB3wj-nA53QnY5RduprU,949 +material/templates/.icons/fontawesome/brands/skype.svg,sha256=lxhfuZktVOA05-UOCqpdv8DRazHIp4SF1Ikxx6lcp08,995 +material/templates/.icons/fontawesome/brands/slack.svg,sha256=8KRUxG49zJVeOBCu3aOxCPMNgbD4PM1wwlXRnTim8UQ,1279 +material/templates/.icons/fontawesome/brands/slideshare.svg,sha256=TdSSP0YgF7uRiXC-HHtw0Eq9Wz6PIVHMJFzXHdg37Js,1071 +material/templates/.icons/fontawesome/brands/snapchat.svg,sha256=_u7Mo1Yg6HJ5hRMJjyFILdGPqMsJgP-ok6YrhbCqrmA,3395 +material/templates/.icons/fontawesome/brands/soundcloud.svg,sha256=K0r81BR9FdWJxNLHwAMDi2k7-W2C7MVrYEEEUw1Z1os,2398 +material/templates/.icons/fontawesome/brands/sourcetree.svg,sha256=RKzQGjmfBIdPQD_Jsm6HDj0vh2VkgZUzy4E5tFgaLsQ,544 +material/templates/.icons/fontawesome/brands/space-awesome.svg,sha256=h-ZTnAtCKAioWMiO1eoyC7jOPs74dUxbi0fp6dNeewo,455 +material/templates/.icons/fontawesome/brands/speakap.svg,sha256=hroyNtW50QR3rBUKp-oAPEv1NpHmxIle0cz3h5jAAFA,845 +material/templates/.icons/fontawesome/brands/speaker-deck.svg,sha256=k1kZElMhfZSjTxUaclFInHJQ_ODk299_IX6BqJnR_qg,650 +material/templates/.icons/fontawesome/brands/spotify.svg,sha256=Iky7wfuROXJL39vFTE8vF0vWLv5pWb5I1PfnZh_G4WA,1079 +material/templates/.icons/fontawesome/brands/square-behance.svg,sha256=rZfYsVbLnn_pXITOvFJbf8JenvR3sWKwAN24Ea-EYYM,1008 +material/templates/.icons/fontawesome/brands/square-dribbble.svg,sha256=XSW1IfJhU0GPVtCmf5BA3DuFXMo_HBWm64VQY3SaGYo,1079 +material/templates/.icons/fontawesome/brands/square-facebook.svg,sha256=5XiJ7TFpJl1RPjzKDioZUOuD1rkUPovbMJVbTPK7pdA,556 +material/templates/.icons/fontawesome/brands/square-font-awesome-stroke.svg,sha256=nakPwazXNHP0ilTmtpCid-Bkk9vj9K3SAps4K54Q_AU,1012 +material/templates/.icons/fontawesome/brands/square-font-awesome.svg,sha256=UXgGvaYQd0glo5TqRP7-_xiyie0RVXapxjnt8JKQCz8,799 +material/templates/.icons/fontawesome/brands/square-git.svg,sha256=BI24RvwL_EaVUL1mU82iL4jSIrDhoYmyMVQ-pkvU6BI,1419 +material/templates/.icons/fontawesome/brands/square-github.svg,sha256=6nvhUuDY88-Ge_jpmY_dJo5qNVzSL9dY0SextZkh_SA,1732 +material/templates/.icons/fontawesome/brands/square-gitlab.svg,sha256=hfqX3UY0qR5utUXywPtZOG-aazW_tSeadBgUMigFusk,914 +material/templates/.icons/fontawesome/brands/square-google-plus.svg,sha256=kYar4VclsLMq8BvEVyTI3_t0nzqlNJ9XwHRi8WWPBJM,713 +material/templates/.icons/fontawesome/brands/square-hacker-news.svg,sha256=3ExKvtO_HmlIcwXCyecCAP14CDsSz78IqIqUEBhOD-8,608 +material/templates/.icons/fontawesome/brands/square-instagram.svg,sha256=4tCgwX21xmmG34EVsyG7jyb2WRxzJMikSxm6TpA516Q,1577 +material/templates/.icons/fontawesome/brands/square-js.svg,sha256=IloZCsqylMXE4Ue3Z0bdyyxs3dtzK4x8JK1T_IR6lsw,905 +material/templates/.icons/fontawesome/brands/square-lastfm.svg,sha256=Xhxdsfg9_tVc-dvfh4DbYGCmExOSHZVbZK4Zqrjfdd4,1039 +material/templates/.icons/fontawesome/brands/square-letterboxd.svg,sha256=cUQPd2xI89VqR4A-UnbKWQgmrWNsisfCHF5Xipu1PeQ,997 +material/templates/.icons/fontawesome/brands/square-odnoklassniki.svg,sha256=u7zjkzUZZa6dqJS_pnGLFygaoXlV_y87AXcW4C2mOU0,878 +material/templates/.icons/fontawesome/brands/square-pied-piper.svg,sha256=56IE13_8jqy1RngqtyZ314DDYsQAh245ctgV2TnIwCE,573 +material/templates/.icons/fontawesome/brands/square-pinterest.svg,sha256=WMrv5zBzxFiJ0eNgzODupaQyGeILrxtOd22z_WSlTYQ,980 +material/templates/.icons/fontawesome/brands/square-reddit.svg,sha256=ei8UQfkQpFJ3uROyeI99ksorRVvrTFo1lhXqHZjUjsU,1186 +material/templates/.icons/fontawesome/brands/square-snapchat.svg,sha256=i5xCPCZgh1LiXjKDsJhI3SZwzIlV20XZSW0Bw84kTak,3379 +material/templates/.icons/fontawesome/brands/square-steam.svg,sha256=5wjDTCdFguaCFbbdrFTNoLBZcTba8R8Fht_l324JW54,931 +material/templates/.icons/fontawesome/brands/square-threads.svg,sha256=HzP72xbqhDh8z75PYCrbbVwO4vy00EoIv_4G428xbJ0,1415 +material/templates/.icons/fontawesome/brands/square-tumblr.svg,sha256=X9w5U_uZsCVq2YVfQrw544M0kXSql9Q9RTwOLv7SHYY,765 +material/templates/.icons/fontawesome/brands/square-twitter.svg,sha256=PSIOk7AYZm-X3Mv23XZ74QnNC3dDXyqFsxLUO1uh_YY,891 +material/templates/.icons/fontawesome/brands/square-viadeo.svg,sha256=CHdmZ256-jSNlZ8pqjo99fAleIZDeskbEdKP89WBHS4,1124 +material/templates/.icons/fontawesome/brands/square-vimeo.svg,sha256=T_5tNKBqXBu1rWwYfvpXulkUsNIOcH35B1tDdzjNMd4,814 +material/templates/.icons/fontawesome/brands/square-whatsapp.svg,sha256=l0tBLRpwF0tGqV7OYps1IqTfTSx9iF-7Z_2frVvZxGg,1335 +material/templates/.icons/fontawesome/brands/square-x-twitter.svg,sha256=v9RjgCZr5w_iaG-ohlZfH0lnDGxd5TyYvqzo2Mz61dc,552 +material/templates/.icons/fontawesome/brands/square-xing.svg,sha256=vGkSuq9ZvWroQb1AarhkJzv6aUAsQvbri5FhEi6XiEs,787 +material/templates/.icons/fontawesome/brands/square-youtube.svg,sha256=GOVeq1R5IVtFDamXQ10hw36SdxoohwdB41zB6w0ZAQ0,733 +material/templates/.icons/fontawesome/brands/squarespace.svg,sha256=DF7TuTqnLkVZOYXbvZv_JaWUttMRH3P524XIKR3sww0,1395 +material/templates/.icons/fontawesome/brands/stack-exchange.svg,sha256=6muODHO6pQCBNCjIO0dpsWyiMsNzOcuCZnopEyENCXA,510 +material/templates/.icons/fontawesome/brands/stack-overflow.svg,sha256=R_2LM46rsi_EBq20RvZEP_u4bOcmW_tIAlG4taezucc,509 +material/templates/.icons/fontawesome/brands/stackpath.svg,sha256=BVtl9PbgcpHw4iIK4y8eKBQlOKS_OdL94lFeV7uLfGQ,996 +material/templates/.icons/fontawesome/brands/staylinked.svg,sha256=qM1X2NhNAvmXzs5QMj4GZG7JgLZ6HPILuLH6LpvXlz8,1005 +material/templates/.icons/fontawesome/brands/steam-symbol.svg,sha256=INfUbtXilYysQVxhL6eS5SppseHV_ZKv00tF04bhjXM,904 +material/templates/.icons/fontawesome/brands/steam.svg,sha256=sTPEopS61buv48ogu3e-LCrDQliCq03mfXDc_rTHbJo,1022 +material/templates/.icons/fontawesome/brands/sticker-mule.svg,sha256=h65ZW0a0uHZzWx0dJP0ZkXi8AbXfWjJ3Qk7A0lJNHgw,1845 +material/templates/.icons/fontawesome/brands/strava.svg,sha256=gxZhu-Gkg5r8Piv-UwtiumgH_IWTR-HrO1Qy8ro-hCU,393 +material/templates/.icons/fontawesome/brands/stripe-s.svg,sha256=fXRre79sVFuwdBZag68frzynSAzCs2UU-O148sCAT4g,593 +material/templates/.icons/fontawesome/brands/stripe.svg,sha256=fjZJgoalCH61umAiIj5fD2bJALc0SwKIvfJgqvLCCUs,1406 +material/templates/.icons/fontawesome/brands/stubber.svg,sha256=4HWb4jI4C2OIUhCibNQfYm0gRYvKjtameupktBXYsXo,609 +material/templates/.icons/fontawesome/brands/studiovinari.svg,sha256=w0HA1sdH8biVinr1bhBNBkVRcNQu1N8gyhXNGyziQo0,777 +material/templates/.icons/fontawesome/brands/stumbleupon-circle.svg,sha256=dJPIBJD-uGnkCN0pdnwuXEBI2Qap1uMPbI9XJ-zZlbQ,797 +material/templates/.icons/fontawesome/brands/stumbleupon.svg,sha256=p6mcBQzb_RlsRZCFHWrwDxcOnFxE4ph-UNedpI820VI,708 +material/templates/.icons/fontawesome/brands/superpowers.svg,sha256=9OKAIz6oBf7RWtQSLtMUg17amudMcHz8QNniZh5yLQ4,610 +material/templates/.icons/fontawesome/brands/supple.svg,sha256=g9DLO01xSKgHAj5HcgaPw7-XZLMwBYLGcsRXD-f6SBg,1922 +material/templates/.icons/fontawesome/brands/suse.svg,sha256=58J3NTStt1Vytx5BehOpte9Uz-s9oIwIUmaYhWfZbIo,1987 +material/templates/.icons/fontawesome/brands/swift.svg,sha256=wU1dNvsfv-1iAprEkGFW-i7sdUjRdUaNW_M2xjbD94k,1763 +material/templates/.icons/fontawesome/brands/symfony.svg,sha256=Pw1R-vTp_vFwyBSX_v_7EXWe7MjQIDAgKFR0TeNa2oU,1393 +material/templates/.icons/fontawesome/brands/teamspeak.svg,sha256=QUMLNFEzilfFhArXllqBQgHNHAF2sXQ-y-H8rs1ZbZ4,2068 +material/templates/.icons/fontawesome/brands/telegram.svg,sha256=3x1ohk5UD9NKh3HVyrR7URGfl_NS1HbNEMJ0_sNsVK4,988 +material/templates/.icons/fontawesome/brands/tencent-weibo.svg,sha256=QpAdLsfpEiHJkHddfyfSs4NwAPypyKqi4PoJTxk4Lq0,706 +material/templates/.icons/fontawesome/brands/the-red-yeti.svg,sha256=9FDYDsMSPeDsLusTKwMqhpI_5IIRM1ucjkCpPFtWiB4,6377 +material/templates/.icons/fontawesome/brands/themeco.svg,sha256=ZjztT098iVSxisGuv7FFcVVBjuTf4D50l9OX43SV9y8,965 +material/templates/.icons/fontawesome/brands/themeisle.svg,sha256=cjD4FYsaKf8wPlkPQgw1GgX2ug_m33JUtfLv3WszGsM,3489 +material/templates/.icons/fontawesome/brands/think-peaks.svg,sha256=ppwHFg__taKntNMxkoauwN12DYf1e6O0a1Zkj6IvFDk,421 +material/templates/.icons/fontawesome/brands/threads.svg,sha256=iqr-kMTDjdj2Sa_WBO8OlWQ3r5FcjuFHkAwnw9hmY7I,1352 +material/templates/.icons/fontawesome/brands/tiktok.svg,sha256=E2ShqubTh0RNCMQsirNoieO3FQdJNJXY1dh28KsNM4s,505 +material/templates/.icons/fontawesome/brands/trade-federation.svg,sha256=efBBTOt0QBEyvucAFJ35gmF6FmUx4-MJj93rieAycgM,1585 +material/templates/.icons/fontawesome/brands/trello.svg,sha256=1RaS8oFczGbGo-LSvRcc_lCnqwYJ1FKn0ZoFQ8oqHEc,694 +material/templates/.icons/fontawesome/brands/tumblr.svg,sha256=4x-nxYTE6cL3ijrSTHzGtGIz6bjHXLXM7rv0I4I1NAc,655 +material/templates/.icons/fontawesome/brands/twitch.svg,sha256=BSitGeTj_WJYYykEj1S6KHpwdtGLY1PXGpEc0Jh-lic,489 +material/templates/.icons/fontawesome/brands/twitter.svg,sha256=rRgGvRiZdWScoegPvI07-EwJ2n7A1cgQjbpHwyh1YoU,1081 +material/templates/.icons/fontawesome/brands/typo3.svg,sha256=da3jVPIalUo5qR8SjBRhxj8vi_hgJBO7Jtz6d19Zybk,612 +material/templates/.icons/fontawesome/brands/uber.svg,sha256=3OA6Vjrw7GbCZtWTbP5uadIp7KuW8kIrDadMCrIzje8,670 +material/templates/.icons/fontawesome/brands/ubuntu.svg,sha256=f6mXrpk94j9q3NKcGjgv92_-5uGS9M8_-Iso8D7OEkk,1050 +material/templates/.icons/fontawesome/brands/uikit.svg,sha256=xpABOC4OIyOzs1GCG7Gb9bWq7BEQaXRdEDBDjVwBhic,445 +material/templates/.icons/fontawesome/brands/umbraco.svg,sha256=ifdADhRbsKoXAcfBZDukD6cUiLKnOwoTHOieGIBJ0Sg,1185 +material/templates/.icons/fontawesome/brands/uncharted.svg,sha256=WCLmoFu0JklrxUmOY1PQJ9SDZne2utf0_skiKGNT5O8,1626 +material/templates/.icons/fontawesome/brands/uniregistry.svg,sha256=s2p1Mdr9lcp1vou9dYZZtwDO4ALTk_XvwNcqkGIgL00,1258 +material/templates/.icons/fontawesome/brands/unity.svg,sha256=8vLXZHzpJgemg_X-aVnr7N2yhJ-OQU9E0t4YePxMQeE,865 +material/templates/.icons/fontawesome/brands/unsplash.svg,sha256=UL_K33cHkPXBpm-LSvOz8M3-tPTx14InoCng-ftGB3E,375 +material/templates/.icons/fontawesome/brands/untappd.svg,sha256=4sEjtPg1U147JUg_lt3nNi6rYyH6GbeIWIFnaVN3ZhA,1332 +material/templates/.icons/fontawesome/brands/ups.svg,sha256=96wmOnjs81tHSBXLvc6DL5atwJ-2-W9_wes2Ac5_TZ4,957 +material/templates/.icons/fontawesome/brands/upwork.svg,sha256=MUpMyzWJo3LB8mkfawSCzE15uz6SugSDpg8CK9U8LSw,892 +material/templates/.icons/fontawesome/brands/usb.svg,sha256=NPwZqxKft5aoG56azsrDlSUaXJbQA-jwxrD6mpOeVDE,971 +material/templates/.icons/fontawesome/brands/usps.svg,sha256=IuA4V2txmPXF7krpz8V37cLQPiUezDrVOvKETu3wWcw,779 +material/templates/.icons/fontawesome/brands/ussunnah.svg,sha256=EWEqNUPWTypsmogihDjySekCyvpEiYLbSw6B1kdPUFM,2141 +material/templates/.icons/fontawesome/brands/vaadin.svg,sha256=c-MjJyRvn3qJsTW-SRKFYsquKwwoH-WW3EdLqGERWoM,975 +material/templates/.icons/fontawesome/brands/viacoin.svg,sha256=tmVI9lqU0PgGS-ipSiaF8diz0esT_fe_QkHWCVWhpcY,446 +material/templates/.icons/fontawesome/brands/viadeo.svg,sha256=bcR-BDZ2gKqNnqyGsff8_5NkVBMMJuSSSJ0ARgm47i8,1027 +material/templates/.icons/fontawesome/brands/viber.svg,sha256=eGnCKzHXIJYjcTMUXA8JK-dudAFXKA1jUx_9KuuDJbM,1667 +material/templates/.icons/fontawesome/brands/vimeo-v.svg,sha256=zxZqtQmyRQCsSMV5gMPl1woGnYqqSvl-bMTE7phBVOA,671 +material/templates/.icons/fontawesome/brands/vimeo.svg,sha256=3rAGZJdkKxzf5VMv7vmjUJuybJXqiywQbdiu4m-pukY,785 +material/templates/.icons/fontawesome/brands/vine.svg,sha256=YPv_fZOvfIpBN5F2RIWbSD3AyLu7Cf7phebZk2j4gQw,711 +material/templates/.icons/fontawesome/brands/vk.svg,sha256=bq_0LSX3XwNKROnt4kWsVo5Y_JGHDL4Tz-xgwzCxC6Q,878 +material/templates/.icons/fontawesome/brands/vnv.svg,sha256=vk9HFCQn-jwEGIlEISEZ9n3YkQUR_wiVgUNpX6YchL8,1061 +material/templates/.icons/fontawesome/brands/vuejs.svg,sha256=vnFyxBnxdY92aogi-spzIffSrLHOOZkaptuj22U1xQY,410 +material/templates/.icons/fontawesome/brands/watchman-monitoring.svg,sha256=y583WrI7axa4Zv_y76GhhjSsJYKffWt3QDOiU3Wkib4,1109 +material/templates/.icons/fontawesome/brands/waze.svg,sha256=wmnOYWVeRqoIZ0_ToWlsz_aJgtFCI6suwqVb8UURA5Q,1263 +material/templates/.icons/fontawesome/brands/webflow.svg,sha256=FZFubKkV-SSvbRWcvRapcPweVhB7XrBHFY5Zo6NHoTw,447 +material/templates/.icons/fontawesome/brands/weebly.svg,sha256=ictFAxtcpw-W45692HoQ9xOzv3Nt-gn1f3rKYzVetc0,1217 +material/templates/.icons/fontawesome/brands/weibo.svg,sha256=G4wrNgXkCO17J147-N7GVakDioa2kzjUwyRv_f6Rrl8,1210 +material/templates/.icons/fontawesome/brands/weixin.svg,sha256=SYbqZ4xu0_6Ij01-a88srdP2rEHfidgf-FhKYrx0dsM,1158 +material/templates/.icons/fontawesome/brands/whatsapp.svg,sha256=_aaUMU8Axfrejju-FBwZikTFy7vD73RjWT1oqebi4RU,1176 +material/templates/.icons/fontawesome/brands/whmcs.svg,sha256=I0W7A1PUq-aFx1MfanUoMfRORuqXYNk8QPt2UvParjg,1468 +material/templates/.icons/fontawesome/brands/wikipedia-w.svg,sha256=qunxjQEP9HbVUp_am9ysWtqPz6paswSM5Yj8jd_FRtc,986 +material/templates/.icons/fontawesome/brands/windows.svg,sha256=ObshJCTG1k70yURVUY2DgauUmxlnNiYNJWAwx_vhrTQ,425 +material/templates/.icons/fontawesome/brands/wirsindhandwerk.svg,sha256=bgCySH4I8h9eMXoZI0iOXRwpH--3K0Nl8clHC3wy75E,482 +material/templates/.icons/fontawesome/brands/wix.svg,sha256=fIQksB1D8bwKdPWkSFXPkosAzOvaThz3mFqDqy9jmvk,1437 +material/templates/.icons/fontawesome/brands/wizards-of-the-coast.svg,sha256=a0FhBza_y1AJ3xWfLLg2ALH4jZW3uzS-rag1qojrh_Y,8346 +material/templates/.icons/fontawesome/brands/wodu.svg,sha256=BfQzJPKZEGRSUn2n33YQPHe6Qwgyt7t9hMj5v-BLK6k,1371 +material/templates/.icons/fontawesome/brands/wolf-pack-battalion.svg,sha256=T1bTxiTcYHssgQVXv4GkHEd7jdmYLRsLS815emdLcjk,2682 +material/templates/.icons/fontawesome/brands/wordpress-simple.svg,sha256=klafqG573XLtnxYZ5uyX2jeGphgL-dQDiKZUz1u-aiI,1173 +material/templates/.icons/fontawesome/brands/wordpress.svg,sha256=c_BRoRvi9tKeYc9rxL8ozT16kKz5tc8Kt-JD3jI6fZQ,1313 +material/templates/.icons/fontawesome/brands/wpbeginner.svg,sha256=upmFMtJW9Dw1cOPAq2vhWdPtRL3Rue6hjUy36V3IFFc,788 +material/templates/.icons/fontawesome/brands/wpexplorer.svg,sha256=AzEGzVbGSuopk-uxA-E3qG97FpaBb3R0R2sGNLPejs4,727 +material/templates/.icons/fontawesome/brands/wpforms.svg,sha256=dLN5ScOumthI4h7rJfCdm4y5WTleJJx7PqEEif1fTvI,800 +material/templates/.icons/fontawesome/brands/wpressr.svg,sha256=htVfvpgvn7DOmlU-AH-mlUXpNyeczi07opoEj7fpqFs,1422 +material/templates/.icons/fontawesome/brands/x-twitter.svg,sha256=HkZX4_Jn4VbYX1Dp6bWoYpA5CJtPlblK7FKmPsz6g78,446 +material/templates/.icons/fontawesome/brands/xbox.svg,sha256=R5OVDUFCa6TlZMZaZ01PWVv-1NNy053bf3Cvz-Ma9zY,1181 +material/templates/.icons/fontawesome/brands/xing.svg,sha256=xc6ad5oNqbjrjwPuDWYeLe4Y3maVPkGug6kBsWEIjKY,669 +material/templates/.icons/fontawesome/brands/y-combinator.svg,sha256=YrDI06cORIU-MXySUxwsZrz0VSm6NWwm1jtJ0wmsd34,419 +material/templates/.icons/fontawesome/brands/yahoo.svg,sha256=IYQU2Crqg5ZgLdFK8AwAPJdigockNERw3Slx_Nvee20,490 +material/templates/.icons/fontawesome/brands/yammer.svg,sha256=0l4bSX5Nh70jBBLzm25Sk6xRwO5uveLJSH9GhewiyhU,1677 +material/templates/.icons/fontawesome/brands/yandex-international.svg,sha256=ftGuhqVZP48b0d4Yrnc9QQoMTVB50XdAxfK535BsTkc,366 +material/templates/.icons/fontawesome/brands/yandex.svg,sha256=tWUT1AMeq-vwW4c3a_hsR3EoQd54EtRglUHc4IjqAsQ,492 +material/templates/.icons/fontawesome/brands/yarn.svg,sha256=cx62ISZq_z4vY1dMTlX2rY5G5AIRh-pjURoKglYL-7Y,1622 +material/templates/.icons/fontawesome/brands/yelp.svg,sha256=oGtFOOSr-FaI6dpC15_qusTDXaB4ykG06W8XrqFjLq8,1047 +material/templates/.icons/fontawesome/brands/yoast.svg,sha256=13JHVpQm15ahyNKvckVUM06WHu62-qdjZIGeDmbCiak,730 +material/templates/.icons/fontawesome/brands/youtube.svg,sha256=2ch5EOKWLoS_ce8pcyHr2r8DXkaoqvNU52_pjiqCCB0,760 +material/templates/.icons/fontawesome/brands/zhihu.svg,sha256=Kfx4MliOUcl3IaBv_t6vnQIr4L5YGaikg28vEIviuBA,1754 +material/templates/.icons/fontawesome/regular/address-book.svg,sha256=_7LWFC1xSPc08CRNArgxkrzcItk3xitOpRbjw9opGO4,881 +material/templates/.icons/fontawesome/regular/address-card.svg,sha256=0vu5-QuW_jqrA3srqqrdkNQC3zaeT6T1E-JJ2D9UreI,808 +material/templates/.icons/fontawesome/regular/bell-slash.svg,sha256=KonREodoMj1aF1U3F_bLsslJh5kL6TzZSAQ-I7ayi00,933 +material/templates/.icons/fontawesome/regular/bell.svg,sha256=oFQJf12DmVjH8-QFWJzTNmlhzrWJdqqaM0Z1Bx-5lxE,783 +material/templates/.icons/fontawesome/regular/bookmark.svg,sha256=uvIg0SIvz795rf525OysZOlv1jGyEvo8WpN8peT2yaU,499 +material/templates/.icons/fontawesome/regular/building.svg,sha256=rbwffZRUyO7qmI-vUTn9tdr0mWsPseFG1nxBFhkGkPc,930 +material/templates/.icons/fontawesome/regular/calendar-check.svg,sha256=GDpyl4bu71Lv4prdh29TsLZbOawm4bPQwxxxHzhPM0M,696 +material/templates/.icons/fontawesome/regular/calendar-days.svg,sha256=KCPukoC3OyCUOMX4AnH7UeB3GQWgnHu5ILez4q223mg,719 +material/templates/.icons/fontawesome/regular/calendar-minus.svg,sha256=EpXcOxY7OISbKhBuhsjpvTV_ufISqVHv5zQmIsZEI0E,643 +material/templates/.icons/fontawesome/regular/calendar-plus.svg,sha256=hxHlxasNh6bWSx3nr7nx1T4pv0YbVE7UtzktK2Kb7DA,737 +material/templates/.icons/fontawesome/regular/calendar-xmark.svg,sha256=yvyXWQQbktrBaTGysnxYdDHrAZLGCGoPvkNqQu8p6UI,775 +material/templates/.icons/fontawesome/regular/calendar.svg,sha256=hi2npjPhHQmBgX6jZ43aR1oYgSy7BB5s1VDUFpmTZS8,551 +material/templates/.icons/fontawesome/regular/chart-bar.svg,sha256=64FRn8lmjMDndiZAWhZbNbEv-gTc8UJO0yJTjgnrjaA,701 +material/templates/.icons/fontawesome/regular/chess-bishop.svg,sha256=KvNVSMeiny33NC4iReYMwTyx_i0PiqSSMWveLi1yLMY,1135 +material/templates/.icons/fontawesome/regular/chess-king.svg,sha256=uktUWl3x6A5PLS6nbaAwPhnOOOdoGzTbgzlbuTZaVrQ,926 +material/templates/.icons/fontawesome/regular/chess-knight.svg,sha256=JTq_70mQDvbovSuOrpksExhTZqEHW9s7CjPaujk-MgU,1152 +material/templates/.icons/fontawesome/regular/chess-pawn.svg,sha256=TCEKUOs6QmDShfPraINBA3JuVTeUS_vPj8T4_g0HNt0,786 +material/templates/.icons/fontawesome/regular/chess-queen.svg,sha256=DuTQdjCGlvqColmtUUivUd8gFsbssmxQ0XkJZHXO1SQ,1091 +material/templates/.icons/fontawesome/regular/chess-rook.svg,sha256=5FWFFvUFQTNuJi79Gmy5wyBKT1iBkOmEFzfPcquwVns,1015 +material/templates/.icons/fontawesome/regular/circle-check.svg,sha256=0H1zS_GXpEkcBoVFcDAtwoRoYB6PL3cixZDHqeHHfkM,530 +material/templates/.icons/fontawesome/regular/circle-dot.svg,sha256=f733CSgrijq3WxHVAEM2wqT20vuzGYXeMGESblodPGE,430 +material/templates/.icons/fontawesome/regular/circle-down.svg,sha256=1D7cq14oPLspkreXs5YItKc9o-OUjJIQTAKbuUQjdtU,627 +material/templates/.icons/fontawesome/regular/circle-left.svg,sha256=EP0kPpOQBJ-QyAvJMSCp1D55S79mo-rpNJcdogH3yKk,626 +material/templates/.icons/fontawesome/regular/circle-pause.svg,sha256=REiP9_ewQzKkHJvIWM1x6PtizdlKpUxLv8FK5eeljzw,559 +material/templates/.icons/fontawesome/regular/circle-play.svg,sha256=oddY_gn8v_KW9m79uqn9KCR07fXI6bfGNZW3GEnSi6c,560 +material/templates/.icons/fontawesome/regular/circle-question.svg,sha256=l31Glg30RStewbeX6vRa-toxbdP_cAaVdhcx5ybZda8,767 +material/templates/.icons/fontawesome/regular/circle-right.svg,sha256=h88rX5MVc8thozl2GEZhziqfEgEgEmOxK4yD8oAi6nk,627 +material/templates/.icons/fontawesome/regular/circle-stop.svg,sha256=ij40PvTmcHvlJbPzBkgqSOPPs0zFNUsXpOfhUDFCTl4,495 +material/templates/.icons/fontawesome/regular/circle-up.svg,sha256=8L7j1f2fdSAItnZxoT6HQvjMqwOM-2hLUExbNO5vaT4,627 +material/templates/.icons/fontawesome/regular/circle-user.svg,sha256=yovZb9itpVMOsBjBL52bSHkYLTLDlOnzwiAydLl8H6o,721 +material/templates/.icons/fontawesome/regular/circle-xmark.svg,sha256=h2kEDWoksFn7fAQ5Eua1AVT_ikNaC_UYtoojGEjI6E4,616 +material/templates/.icons/fontawesome/regular/circle.svg,sha256=tuJPMuP1NlFCtuZrrlPtHFoTjXPFA3PelUZLVaITmdg,386 +material/templates/.icons/fontawesome/regular/clipboard.svg,sha256=Vnsv2eG5g_0nVEnkRPhZfYw23hIIgWGgADUhXbkQj8c,644 +material/templates/.icons/fontawesome/regular/clock.svg,sha256=qwotQyj_cPNe9DnHfYavG9cT9-RrFuF9ArMan2Giwpo,517 +material/templates/.icons/fontawesome/regular/clone.svg,sha256=TZgioXBrp7Zr99TVxrkHhy-udnDdywbkhSY3mwb_4AE,663 +material/templates/.icons/fontawesome/regular/closed-captioning.svg,sha256=5yIgr-looeHBvZTv0rjzuzeqKBfMXf77GgTDN0lkCvw,997 +material/templates/.icons/fontawesome/regular/comment-dots.svg,sha256=iSDb_4d0-vunFxBHu2efNfsxfjMfmNzcqoOz5zsArL4,1040 +material/templates/.icons/fontawesome/regular/comment.svg,sha256=SEkY3FB3Zy-BHhW4Hp0I0UWDwBj37KMtEjdNs0BQa3U,941 +material/templates/.icons/fontawesome/regular/comments.svg,sha256=mAHrR-w5R8PpvWFAWf6bRmfI1eWRJL9VpSeGPxAUzyY,1398 +material/templates/.icons/fontawesome/regular/compass.svg,sha256=0QgUH0j3NYnQ5in6U6nTCdrkVqdtrbID1alTWr4s7JI,592 +material/templates/.icons/fontawesome/regular/copy.svg,sha256=0Q9vFyaoAwn7PIfEWaWiMYmxR3x0RBf08fVP5OqF4I8,703 +material/templates/.icons/fontawesome/regular/copyright.svg,sha256=eKxQd2p5ACTvj3aO_613iEmixIFHfNTXOPyCUCd5vvg,602 +material/templates/.icons/fontawesome/regular/credit-card.svg,sha256=I00WL3nXg_4HFt6BM9EEt8YhfkOF-D7RVMVtL90y0Yc,689 +material/templates/.icons/fontawesome/regular/envelope-open.svg,sha256=ZnXRy8N_aWOuTsQ8kj2gDON19nblyq690ld3wkDfbpg,735 +material/templates/.icons/fontawesome/regular/envelope.svg,sha256=Mxp2m5cncNTfNAR2P7qwpO-6ni-CRqqe2wk3ddG_0HY,609 +material/templates/.icons/fontawesome/regular/eye-slash.svg,sha256=eEsXZVcsa3acridgGwkWpQmcr8h7Qsw2O0mc4NDSE1k,1318 +material/templates/.icons/fontawesome/regular/eye.svg,sha256=yqtNIVoc3AzuzFdJ74husBG0sS0R5SRlFDqQsCSf9Kw,978 +material/templates/.icons/fontawesome/regular/face-angry.svg,sha256=WbxtCWDmX2JarFcRH7mQK1qMLjaph7TG1PDqpCmywXM,1012 +material/templates/.icons/fontawesome/regular/face-dizzy.svg,sha256=3ERz3pzDcY10SnJ_gmF4L9zqZFUW3ElbztG-am-Raqs,890 +material/templates/.icons/fontawesome/regular/face-flushed.svg,sha256=TsDgvP3jIjn3Xk33FaHSxiCCbqcwcHJVGihHD9MFb70,733 +material/templates/.icons/fontawesome/regular/face-frown-open.svg,sha256=5_DKn-Dy9Nu7M73e4lUV-9CoipkIoc4qyB0RYE9TOAg,640 +material/templates/.icons/fontawesome/regular/face-frown.svg,sha256=USb6ZgN-hU_bAQXjf6wc8j542WqabncbZRJGAxMZIAQ,684 +material/templates/.icons/fontawesome/regular/face-grimace.svg,sha256=zyNoxSoMzFTDLQ09TURGLgLi16mmENEiOYcySeDYqG4,707 +material/templates/.icons/fontawesome/regular/face-grin-beam-sweat.svg,sha256=chd5GyOCEwQVpnxvf1_ka5KTAkNg-GOuBrBf2HfyqsI,1734 +material/templates/.icons/fontawesome/regular/face-grin-beam.svg,sha256=yY6NLtzgJ_g5eGWdX7wHOoDIYAoAjSPFGKTenwoWKnA,1304 +material/templates/.icons/fontawesome/regular/face-grin-hearts.svg,sha256=2NYsDGpWMWj-JPlsBe1jH0NoTl707000Gf9N4c5e92Q,918 +material/templates/.icons/fontawesome/regular/face-grin-squint-tears.svg,sha256=Q3YTjmx2d1LQMoKydZAwxISfFkgLXFMvY07oWIkDm2g,1542 +material/templates/.icons/fontawesome/regular/face-grin-squint.svg,sha256=VqbqT9_brHdi5uJhkc-Nsz83vVxSRsHJs0EbafbPxPc,897 +material/templates/.icons/fontawesome/regular/face-grin-stars.svg,sha256=m5Pwh5ZjlVuFbRXOMCVJKbKLVzTjMGuQPbm6hKCdN-Y,1107 +material/templates/.icons/fontawesome/regular/face-grin-tears.svg,sha256=-a_qEs0qpHpSmDvDQw9I2ZsQofDrZ0g-Rb-wNRAXpnM,2098 +material/templates/.icons/fontawesome/regular/face-grin-tongue-squint.svg,sha256=FUc2kEJSm1aN6U_hbll7QSJrebj1Qu9rSAB5efh9tn0,1194 +material/templates/.icons/fontawesome/regular/face-grin-tongue-wink.svg,sha256=QK4x4umOL7Xiysfd2Fkr35yxyEZ2yd0Cu_DAqGeD3U8,1181 +material/templates/.icons/fontawesome/regular/face-grin-tongue.svg,sha256=bcr4Lq84wqyrvE7_tHrHZSowUNw8Xzwruo6-_xRclHk,941 +material/templates/.icons/fontawesome/regular/face-grin-wide.svg,sha256=IEppSPAil44hwpPYHR9PqJfeVJZhy0P2SFRwEuI6wns,700 +material/templates/.icons/fontawesome/regular/face-grin-wink.svg,sha256=bsDRsQ2x-eeQCHkkXn02wQN7nAXemFUDgRCHQFSBPzM,794 +material/templates/.icons/fontawesome/regular/face-grin.svg,sha256=z0EotteGwoU8g3IrSF--GW6lv9dc74Eu9Hhx-B2O-tA,643 +material/templates/.icons/fontawesome/regular/face-kiss-beam.svg,sha256=lTR9j8InNbW-5iTUNkMdnAtydaJxcb-zPFzgVN2SYas,2001 +material/templates/.icons/fontawesome/regular/face-kiss-wink-heart.svg,sha256=A6EpJYeyu1-7QUgdoPdIymH2GDceJAgugkUglU8-CrI,1866 +material/templates/.icons/fontawesome/regular/face-kiss.svg,sha256=8efZ-rB24_Vaaz8p9RTUXQYyYtgOtK6wnOzD7hmnWGQ,1335 +material/templates/.icons/fontawesome/regular/face-laugh-beam.svg,sha256=-f1DgQeayj3gt8cATfRp3X3UCn4vEV7dlIlldzoC_0Q,1259 +material/templates/.icons/fontawesome/regular/face-laugh-squint.svg,sha256=IfRxMGtBkq6Tu9YyqpjlWYH5AYyCQ84zMCxTWOT4x48,853 +material/templates/.icons/fontawesome/regular/face-laugh-wink.svg,sha256=vpTsXGlKyMotk5l5ufVANXLzEa9ukTBXEJHi5hNJk_Y,751 +material/templates/.icons/fontawesome/regular/face-laugh.svg,sha256=tIXzbqGjourLsQWsmo9KcsLdx4utPjHG-7tfHiz7KQA,600 +material/templates/.icons/fontawesome/regular/face-meh-blank.svg,sha256=NS7RfAXAA-SYo4ZaTJeiLXSUjlZgfpSGYR6jGYELTcc,474 +material/templates/.icons/fontawesome/regular/face-meh.svg,sha256=0WYJ_koDEt8edWawSH_ndm5azx-CislGL8Vef65YBcQ,562 +material/templates/.icons/fontawesome/regular/face-rolling-eyes.svg,sha256=mcAqxWLjWUZIf2lu-VI3CSc4dEh1lLifCJwznmO6SrA,909 +material/templates/.icons/fontawesome/regular/face-sad-cry.svg,sha256=e9r0gtKfPI8cpf97o4hTWRueoFLtlHEOezNG0WXbWzA,1047 +material/templates/.icons/fontawesome/regular/face-sad-tear.svg,sha256=4CiLY6j_LCoKprCLQhRhwdfdLqFMA5mvw83c_nAzsWs,819 +material/templates/.icons/fontawesome/regular/face-smile-beam.svg,sha256=YFNjW8LS7XLbJ7z8Z3sU7vPunak5pliGWifcgL3je2E,1329 +material/templates/.icons/fontawesome/regular/face-smile-wink.svg,sha256=Dh-Kgr-jDZihSp2TAkFJmZltXDHufTRSPIKyH91juIQ,823 +material/templates/.icons/fontawesome/regular/face-smile.svg,sha256=WiXB8ZxgkTxKDvSyy_YYuNLAi2YbcSUetg5fESzTtGw,672 +material/templates/.icons/fontawesome/regular/face-surprise.svg,sha256=o1Wq9Imx1-bBb760g_4v8ais_mBeMT0wcQEIU_vwFLk,517 +material/templates/.icons/fontawesome/regular/face-tired.svg,sha256=CWdP9Vq8-L9VQB7ulOVmVy4xPR9af5QhOJcjX09dgA0,996 +material/templates/.icons/fontawesome/regular/file-audio.svg,sha256=LWb6RXdgiuP3jWJW7J8pzaox7K2wczO-86AJEmj43yc,905 +material/templates/.icons/fontawesome/regular/file-code.svg,sha256=s3VmGgz_rI0-Ns85wGDpgjN3eSxPS4Se6J6vK8f7Exw,821 +material/templates/.icons/fontawesome/regular/file-excel.svg,sha256=PMyqku48cbadxO8Ftt7s2KeMJwvTznR12ToicRAa6lA,819 +material/templates/.icons/fontawesome/regular/file-image.svg,sha256=BoAKmyGmGZjMlUZIEGuwwag3HrKF17hpQqR0ICRdQOY,802 +material/templates/.icons/fontawesome/regular/file-lines.svg,sha256=D_V3ljHMG9Xxq7aH-hGbCSNLM2ak-lQEy0HF3WKi3XQ,716 +material/templates/.icons/fontawesome/regular/file-pdf.svg,sha256=co9Nvswrv92pONYgQ4hE44XPVeQwnEFsP7gI-Hc2_4k,980 +material/templates/.icons/fontawesome/regular/file-powerpoint.svg,sha256=EIOLyNwLqIDsKB8WRKUGVPrlz-aUnjgrFwA1dVvrSPc,707 +material/templates/.icons/fontawesome/regular/file-video.svg,sha256=CT5r7ZZv3F03XGc7M8LZWqtLar6qPBywWuq7mQ1RPQY,772 +material/templates/.icons/fontawesome/regular/file-word.svg,sha256=l1t3ouVR6xOZ3EmtmZZGvBP_XFK_DlYqn73_b6UKeYs,836 +material/templates/.icons/fontawesome/regular/file-zipper.svg,sha256=Z4eGC4tLSsgmETudJV7CQXSXr9Oq1btNWMaSw4cy5hw,1023 +material/templates/.icons/fontawesome/regular/file.svg,sha256=WzWl7BqGAu2YFfY4tkbprnX-AkXkzMxBcfpbbLbycQ8,545 +material/templates/.icons/fontawesome/regular/flag.svg,sha256=Fve5xPsiF6w3B5swziV53iX-93ZYzdJW-zTPBniLVVQ,747 +material/templates/.icons/fontawesome/regular/floppy-disk.svg,sha256=PtLuIK5hmMTjdnyCv7wEeDgMSNA-BEwPt7duPVKF34c,690 +material/templates/.icons/fontawesome/regular/folder-closed.svg,sha256=kiDsOLFbUSUA_BTDOza1slx6o9c7cM-yQS7wy-WNbjM,622 +material/templates/.icons/fontawesome/regular/folder-open.svg,sha256=u2RwLW5aWhvbbuFaVSooXv_MZ6XCzRKZKFEpGkF1ms0,675 +material/templates/.icons/fontawesome/regular/folder.svg,sha256=IXv3XU9CFKeBKzgWOJRnYnGfQoJbO5G4Yzy0TsWE6HE,598 +material/templates/.icons/fontawesome/regular/font-awesome.svg,sha256=GJIr3qSRcd3phi02puj3LJZrNy0lujNsj6UkjK0L5UE,1071 +material/templates/.icons/fontawesome/regular/futbol.svg,sha256=BEHQcWW4aOZIL-RTbCB9gjvCciseJxVyPzpZVzKfiag,1173 +material/templates/.icons/fontawesome/regular/gem.svg,sha256=Wa69lYAGrAEc0jdI_B713l4bVXxmyjb4UUBDbcUKQCI,621 +material/templates/.icons/fontawesome/regular/hand-back-fist.svg,sha256=8KT2bxVRmPjTz1al9bPzD8Z1M3LLefPTMlvAuixd5_E,1314 +material/templates/.icons/fontawesome/regular/hand-lizard.svg,sha256=HKTTYxo3hY-y6clgt3C0I0taKVPidfN-CckLbzy8MT4,837 +material/templates/.icons/fontawesome/regular/hand-peace.svg,sha256=Ke53b5gioFdJsIOiKQ3T-slgLWnvW2WwAcyZbTh8TaM,1283 +material/templates/.icons/fontawesome/regular/hand-point-down.svg,sha256=WjPlRRU3VMvWlXBmy5hWdzoAAvFnYIvBZTpVrmayzfA,1134 +material/templates/.icons/fontawesome/regular/hand-point-left.svg,sha256=qc4ItAOZQeJn4o-PwmzhtRtNZqZE_IaUVctLByXD8z0,1137 +material/templates/.icons/fontawesome/regular/hand-point-right.svg,sha256=Z_yvXcsSTZZOqGXOz8xopMy1U0Gkh6USCy4YcZfcbZA,1142 +material/templates/.icons/fontawesome/regular/hand-point-up.svg,sha256=nQyldvVz60BCHWxOrhotP0Q0o262-9hJ3A0Fs91Xiag,1127 +material/templates/.icons/fontawesome/regular/hand-pointer.svg,sha256=EDHt67lFqx_187B88qHSAOD7vCvEGNDpNFrjJa3eYX0,1337 +material/templates/.icons/fontawesome/regular/hand-scissors.svg,sha256=aqTKfivrWPArFt6ZgFtYmjyCTh4O26VO-uP8DkBfaqE,1306 +material/templates/.icons/fontawesome/regular/hand-spock.svg,sha256=RYJeht16Tmbsi6WAiInWEF03Z4_6-dfAhiJZWMRCr28,1250 +material/templates/.icons/fontawesome/regular/hand.svg,sha256=WqOpkfq_Ul6I-wj99S3asrzLbSMgBQbPQsNwHM4VBy4,1124 +material/templates/.icons/fontawesome/regular/handshake.svg,sha256=icQkPPc6eRUDE0EMrKera_x4osDyMYzGiH7K1duYFLg,1609 +material/templates/.icons/fontawesome/regular/hard-drive.svg,sha256=1Jm2JwGESRMCeCp_joFrsCnl6fHWRQrrNpecjZRieVQ,681 +material/templates/.icons/fontawesome/regular/heart.svg,sha256=NbgR8MZYda6yFvW8jD4rrrNBXcb4VpndXPdTgYvVDpM,947 +material/templates/.icons/fontawesome/regular/hospital.svg,sha256=rjsceN34VxM9-L4djdJUtGmbevFY5tQ7e_u8wJKFWlQ,1082 +material/templates/.icons/fontawesome/regular/hourglass-half.svg,sha256=PHEmcCZEFQTu6llV_kqBuq4c3zviVXaDdtsfVmt2nTM,775 +material/templates/.icons/fontawesome/regular/hourglass.svg,sha256=2M5gENAxH3_zMwcACglFvtVKq8sofR1P7dPcuh6oHG8,774 +material/templates/.icons/fontawesome/regular/id-badge.svg,sha256=-lR9QWJIoc1N4BdQC3RK8WiQxQi_WlrGhjH4Vw8yYo4,689 +material/templates/.icons/fontawesome/regular/id-card.svg,sha256=AqPVL-cvk8EQ0gyxyQc20kza5oCgK53aCjdqCZiS7iM,725 +material/templates/.icons/fontawesome/regular/image.svg,sha256=mFelEofzKU01OrTZifK0QdqOd3VMUrj2X9aySHS1tFw,631 +material/templates/.icons/fontawesome/regular/images.svg,sha256=9QjQC5Y4-t4lrKGUAVbFMu3jBzjVUJJNiWlZobrb8OA,822 +material/templates/.icons/fontawesome/regular/keyboard.svg,sha256=uOW1U2ke_sLi8yMIRYYHDWwmvU407DkSAVEzlx20UUA,1579 +material/templates/.icons/fontawesome/regular/lemon.svg,sha256=18qGsfEifixNCvUznZN1p0_BuLrldRQXaJaOIepqnRY,1151 +material/templates/.icons/fontawesome/regular/life-ring.svg,sha256=mD8nJXuMl3sx1XRDpy0ang1QC4kZjz_JFVpoevE6ZSI,1292 +material/templates/.icons/fontawesome/regular/lightbulb.svg,sha256=f2x9Z6TXZmAy8pPJt4c1S4rXStC3O9_i6t8eF7ZOWQk,1015 +material/templates/.icons/fontawesome/regular/map.svg,sha256=J5uRhClU9RAg1CgiaoBmUyhP2jTyvNXEi4lUfTIalXM,665 +material/templates/.icons/fontawesome/regular/message.svg,sha256=GWFkv378e7Ll8sCUACt6OWzVP8Uug_RAya8SWVPrmkI,644 +material/templates/.icons/fontawesome/regular/money-bill-1.svg,sha256=jObXsykMUMeyf4RD52g93Yy8LhiqZeS1VdV4ukbu5mA,707 +material/templates/.icons/fontawesome/regular/moon.svg,sha256=QA4kaqnlNCdJGg8mvrLLlG1s1VCO6_pjvzLgpORkY4I,929 +material/templates/.icons/fontawesome/regular/newspaper.svg,sha256=WnMrkX4t_uJSwGmaUAN6jCAG7ceiLY850vkwcDCG0Rw,1041 +material/templates/.icons/fontawesome/regular/note-sticky.svg,sha256=qguH5QkyUhecp8gznxBCRV_8w0Tf8zLdyXXZ1cH5N1Y,552 +material/templates/.icons/fontawesome/regular/object-group.svg,sha256=6n7zdRzXr5W4ZSFAUaNnr7GVDUZZugXrlPezOGAJx7E,967 +material/templates/.icons/fontawesome/regular/object-ungroup.svg,sha256=xwjL2zwqTtB_NY9lhYtMPYhB2maAM7vE2gJ5KvyaPeM,1739 +material/templates/.icons/fontawesome/regular/paper-plane.svg,sha256=Z2oxfIGmqcR26XOlJ1l68KSlaEeVNTIWGtqfEVjNgt0,602 +material/templates/.icons/fontawesome/regular/paste.svg,sha256=DVFYHXNSCU2PovAgANIoLmthu9XrP3SRc5uNhjskAL0,823 +material/templates/.icons/fontawesome/regular/pen-to-square.svg,sha256=b-Pobc0f-ikrUE75uvG9wA3C30m3xAFxtTvsuF1MkeA,952 +material/templates/.icons/fontawesome/regular/rectangle-list.svg,sha256=51TjYkn2hI3BNvdn2BqSNCIEKyqSnyu_uuGZIshZAbI,898 +material/templates/.icons/fontawesome/regular/rectangle-xmark.svg,sha256=AOMBS8ZkuNnPrNGdq8rO-uci3pWHH3R0QJepu057b-U,723 +material/templates/.icons/fontawesome/regular/registered.svg,sha256=IByGz_VtViU3ERNvKflYbLPEDBwTFuD6lzZRyVawxYI,637 +material/templates/.icons/fontawesome/regular/share-from-square.svg,sha256=Kvqy4kGRgfxKgzRatt5nWvwzf4AwUU2fdSuFJn4vAOQ,1238 +material/templates/.icons/fontawesome/regular/snowflake.svg,sha256=-WmulvkoH7layN72xWD0PLIvhMIRMAZhUeeoLoQbQO8,1475 +material/templates/.icons/fontawesome/regular/square-caret-down.svg,sha256=XgwX1dhI0i7NLKFYi3qh0HxxnnUPJ5N-39f94oh_5BE,661 +material/templates/.icons/fontawesome/regular/square-caret-left.svg,sha256=ZBueRE66fWEUBfC5Ob1yH6uh6CYjbxdNINzxo_PnWaU,657 +material/templates/.icons/fontawesome/regular/square-caret-right.svg,sha256=XK1fDCL0G9UZ0LTU3hwxWtRTUdJarZ9FZo14MPvKYrg,658 +material/templates/.icons/fontawesome/regular/square-caret-up.svg,sha256=7NQEtD3qn1UeKaHffyt_3LcdImg391qKQosMgn1nSN4,654 +material/templates/.icons/fontawesome/regular/square-check.svg,sha256=pL6K8Nq4tPfYJvTq5uaEExHA4jpWAvVNMVAg6OxlgJ0,637 +material/templates/.icons/fontawesome/regular/square-full.svg,sha256=drbeM81rlS9BuwrRpYjaooC3VSiD5598KIF3RuJgs6U,333 +material/templates/.icons/fontawesome/regular/square-minus.svg,sha256=-58Ie-3nq7O4x9rQI8k8WxBmk8icj1p3k0qlpo8lZh0,582 +material/templates/.icons/fontawesome/regular/square-plus.svg,sha256=375K71QZA8YGoirwq7dKctzxnHVm8uKowTsns0IwJlk,673 +material/templates/.icons/fontawesome/regular/square.svg,sha256=WKhLVimCd4O-uH8kRG9hFJtu6GJQsB1-yq1UzrSPVr0,493 +material/templates/.icons/fontawesome/regular/star-half-stroke.svg,sha256=OJb7QdzTR4kLmXBwp1h7yi2f4xN4dglEg8HTn5PKWDs,781 +material/templates/.icons/fontawesome/regular/star-half.svg,sha256=Etknq24S9qDNKoOyfuVfiJp3SV_-lkjB2oDlJB3rH5U,654 +material/templates/.icons/fontawesome/regular/star.svg,sha256=Mf7-j7ZCQKGZf5Ftg__O1V-oQb1JSUJXfnVhiEFc0t4,876 +material/templates/.icons/fontawesome/regular/sun.svg,sha256=vM5rXR_m08aPXrFWBYHV5QX7ZDKwRtjv5orc0a-wGzs,1289 +material/templates/.icons/fontawesome/regular/thumbs-down.svg,sha256=ndh5re7rYKA4hOuo1eBYlpmRXEmME9pugs7BpSand2U,1352 +material/templates/.icons/fontawesome/regular/thumbs-up.svg,sha256=xJc35x-tnHdpW8bvAwFx_Eqx6mfd33VpHC0v4YayD-s,1351 +material/templates/.icons/fontawesome/regular/trash-can.svg,sha256=RQvMXPpW4LDCDHLVd7EArAuKH4km6J4-CWzwaOknH-A,905 +material/templates/.icons/fontawesome/regular/user.svg,sha256=p325yLRmzQGEa0SXBuC7CfjxyyHlGRMvrMCp1UErnqQ,587 +material/templates/.icons/fontawesome/regular/window-maximize.svg,sha256=CioFMFjsdQoFhDuOQ13lsjLiBNwLVoHZTy6d8QzNxRk,550 +material/templates/.icons/fontawesome/regular/window-minimize.svg,sha256=-i3va-oSXg_qBKSf_mmVFqZvKPwQZ9axeT0cTl76MPE,377 +material/templates/.icons/fontawesome/regular/window-restore.svg,sha256=94707YxKTQam3-Zdhl1Vi9YcJxXUJk8EJr5IBnTqgeU,630 +material/templates/.icons/fontawesome/solid/0.svg,sha256=-6FdG8sL5brZiiSzyy4r3AazypsFUkifJSkAi1IAiyA,463 +material/templates/.icons/fontawesome/solid/1.svg,sha256=Xt_nQzqUqenF9BqFdgCoIEfHWOP6scntU0RbQSDyPTI,492 +material/templates/.icons/fontawesome/solid/2.svg,sha256=SoRA_5xGObKPzn2pZ3Qtawt6YSGwstKAcUJHbOz2FwQ,642 +material/templates/.icons/fontawesome/solid/3.svg,sha256=0BOJWli5qISU1XpcOfNooBkAsNNU36vEshYOhLZiEwg,660 +material/templates/.icons/fontawesome/solid/4.svg,sha256=euxEKx6XGvd1dl8ducHt7bfNKGPbBOZEGr_J2sFs5_w,540 +material/templates/.icons/fontawesome/solid/5.svg,sha256=3zDvW_Hqa8NFf8BmFe66hShvH3G5X3DEfGOFn81C9dA,642 +material/templates/.icons/fontawesome/solid/6.svg,sha256=HdZ5dzbDejSnQU8JU2jI7nR0_JKJiOJePVgTQQspubw,538 +material/templates/.icons/fontawesome/solid/7.svg,sha256=7mnoPhm4sS8V4VdJ4BRdLCvhP1LAUI5QmVaAJqipXGc,454 +material/templates/.icons/fontawesome/solid/8.svg,sha256=bv2rRi1Sb44F-ewMN5u8hhPMfaJjO3DmpIam05PPprc,674 +material/templates/.icons/fontawesome/solid/9.svg,sha256=fVLIEHgO_vAiLP6ADa1auUJErAP-bWL_XIuM_Msfbd8,529 +material/templates/.icons/fontawesome/solid/a.svg,sha256=nu7qTLTtTPTNU87-FqpYpYRBBV9Iy_9qTneVLLiD-fk,520 +material/templates/.icons/fontawesome/solid/address-book.svg,sha256=Ee8wBzozJAcDIkwQaJULKJulFZgaKoE4VGvWPAZiLtw,781 +material/templates/.icons/fontawesome/solid/address-card.svg,sha256=Evd2He12W4VtpkDbSgdo7sykIzOru4TuYewbSKE75g4,775 +material/templates/.icons/fontawesome/solid/align-center.svg,sha256=0l-LBTtZCTcYMtN5TWqPW0lb7xj9zhtf2-fHGKuOyCk,665 +material/templates/.icons/fontawesome/solid/align-justify.svg,sha256=raXadqKgzCprl1SFiYghzbbeFdkyG2nU5EjDjJpqwDs,660 +material/templates/.icons/fontawesome/solid/align-left.svg,sha256=XmA9fdoHoBbIRwKvay7_S0Z4y5R2dR8riALm4WLIPU8,660 +material/templates/.icons/fontawesome/solid/align-right.svg,sha256=HQdDYMPlQosBOYJjFKjZMTE7_dq7YVZ1zZ1TJ6E6KHY,664 +material/templates/.icons/fontawesome/solid/anchor-circle-check.svg,sha256=ATajNGIPsW0I0m8dahoMxCSVfvl2fwjH5wmjsvYNjiM,967 +material/templates/.icons/fontawesome/solid/anchor-circle-exclamation.svg,sha256=MtL3ylcKzmryEvtid122ow0rW-AtHiCarvvDTQHmXQ4,932 +material/templates/.icons/fontawesome/solid/anchor-circle-xmark.svg,sha256=a2YYWzBVk3xCX-3ngbd38drbPYirzEdYcpSjaOu9-C4,1064 +material/templates/.icons/fontawesome/solid/anchor-lock.svg,sha256=tkenXkGNwcPpTlu03xMJkhIslaHiiBQob0lHuchphnc,991 +material/templates/.icons/fontawesome/solid/anchor.svg,sha256=fGcUGesLTp5cD8_u4CQ9y1RJuWtIyo6a-prL2oncb3s,885 +material/templates/.icons/fontawesome/solid/angle-down.svg,sha256=jfkVGieSCJK1om-26B1UdVs4ddyUJBz6wz39y8zK304,458 +material/templates/.icons/fontawesome/solid/angle-left.svg,sha256=SQxZOW9XN4_GTHp5Gg_ojNmvAxTsemmpH5_M-38dhss,458 +material/templates/.icons/fontawesome/solid/angle-right.svg,sha256=t8niB96CApl5YinAmxrF2c_OypgVkRLY9FCqjTUmTRg,459 +material/templates/.icons/fontawesome/solid/angle-up.svg,sha256=EnEHCaiH8PE6LKoxufU3ulHQf8DoS-ySpxujve6S0Pg,458 +material/templates/.icons/fontawesome/solid/angles-down.svg,sha256=4GDrceoaMnMknOp2aBE8zC_lUEnXfl2ZmJ24wXB5eV4,624 +material/templates/.icons/fontawesome/solid/angles-left.svg,sha256=m_mDt14KmlYq8wpw9KslN8Wx2jFXYSy-9cp3wlT-ds0,622 +material/templates/.icons/fontawesome/solid/angles-right.svg,sha256=35pLRcb9uX7vHY0nC9ITk-vA8KcCijQfToDXipURtWo,626 +material/templates/.icons/fontawesome/solid/angles-up.svg,sha256=-IRx4w3GrsYC1g7WonjjYzeU803R9eJ3LPkH3TEjqGM,624 +material/templates/.icons/fontawesome/solid/ankh.svg,sha256=HCq3oXRxjx7hVwOVxfi51rSdTeDl0H1Oejp-6qpuCbk,682 +material/templates/.icons/fontawesome/solid/apple-whole.svg,sha256=4Byd7Y_z9_xVUayFnMYxlEy5OWMWjvRLXCHWDdwJA48,644 +material/templates/.icons/fontawesome/solid/archway.svg,sha256=hx78Te2yhWcNFmZcvttCYGtB9ToUzo-FYINEZlEoEu0,509 +material/templates/.icons/fontawesome/solid/arrow-down-1-9.svg,sha256=vnLp5jkvLrS9KA6-JUlEUTgaKCAS9F5UsGG-T7ktYPs,951 +material/templates/.icons/fontawesome/solid/arrow-down-9-1.svg,sha256=qDVaKcNOkzMUX9YqE0AdpdHuwASagcLonAwSUXTbA8M,951 +material/templates/.icons/fontawesome/solid/arrow-down-a-z.svg,sha256=ZZ3LDdkTg52dSdyru0feTHBPxWqjKIZ8i2XLZrt5jhY,972 +material/templates/.icons/fontawesome/solid/arrow-down-long.svg,sha256=ftHAqOrh-HfPJ8aFNjVjjeBt-uxHM4qp82MC3yXF7Ag,503 +material/templates/.icons/fontawesome/solid/arrow-down-short-wide.svg,sha256=0JtkpIIgm8kyappfM_8J1I5f7asmIXthcg7ewwbrIUY,860 +material/templates/.icons/fontawesome/solid/arrow-down-up-across-line.svg,sha256=h-3uGQSxAwTn7kR0VxhfivUEg7z6oosHjGYIUcBDLbE,822 +material/templates/.icons/fontawesome/solid/arrow-down-up-lock.svg,sha256=kmvBQkRmNves5JjiPjF4FVUNfI6b_fnxWFqjH9EQjG8,1036 +material/templates/.icons/fontawesome/solid/arrow-down-wide-short.svg,sha256=QS7j0NxLLFoTdJ06YB4YRSINeg3CKmLLUz2BDNucTsI,861 +material/templates/.icons/fontawesome/solid/arrow-down-z-a.svg,sha256=HX5kx3Imx4WQbigYEJ2O6hRVIx4HMu-cuiF-syuCvhI,972 +material/templates/.icons/fontawesome/solid/arrow-down.svg,sha256=NaBGMsU9uB768Bw0UaJdeEhQWBsqYVFY28TnZj3uM2Y,503 +material/templates/.icons/fontawesome/solid/arrow-left-long.svg,sha256=c-C6lhhIwAI1EunQWT2EsChuXEvWt_Oh34HvtKMI2Ns,501 +material/templates/.icons/fontawesome/solid/arrow-left.svg,sha256=Fxqk_SK4XI5ux27Ob3_ouhBwAvxayeCkY8NkRrq2bj4,503 +material/templates/.icons/fontawesome/solid/arrow-pointer.svg,sha256=RUZ8AWu1w49CxZNSvIVOhOH-v4dtBZcu0G0mgCMLMSI,540 +material/templates/.icons/fontawesome/solid/arrow-right-arrow-left.svg,sha256=8kgA1Z9iDdh-qibgy0Dot-vFA9ICbeep2hMfaW_ioMY,707 +material/templates/.icons/fontawesome/solid/arrow-right-from-bracket.svg,sha256=c38tTSq6Z5qLh3Rl3FuXHsdSstSSJ04i7SiQEzzHF5k,682 +material/templates/.icons/fontawesome/solid/arrow-right-long.svg,sha256=HB1avT5k6Nx3WUI12yPpS92-E0edWP5_bAg3avI5Wfs,504 +material/templates/.icons/fontawesome/solid/arrow-right-to-bracket.svg,sha256=-VIuLjMa4-s81r5VGVqvUkVp_AcAo2-fhaxJhPTDW-I,681 +material/templates/.icons/fontawesome/solid/arrow-right-to-city.svg,sha256=eZbit9VrWmLuTRqYKSG_Nw4KCfksvbxj4SLleNqNw_Y,1174 +material/templates/.icons/fontawesome/solid/arrow-right.svg,sha256=NPSHeL7Ney09HcDYWTLY-TXFyTaDEvhc3ZFl-nXKmMs,505 +material/templates/.icons/fontawesome/solid/arrow-rotate-left.svg,sha256=cbQ4gKenOuEpz7xXJeMveRzRX1SB_3V3QAoSux4BHB8,608 +material/templates/.icons/fontawesome/solid/arrow-rotate-right.svg,sha256=TTBzzvgRrqZEDb10Qv4Vv-fBpwsGGOwTvMLmOclfMic,614 +material/templates/.icons/fontawesome/solid/arrow-trend-down.svg,sha256=Yg3PgP37c3BDsS2bTTlVk3r9vJVW-rI85bWM1Bofobs,571 +material/templates/.icons/fontawesome/solid/arrow-trend-up.svg,sha256=WFhjxDyFO5-FA_FA4-Sc4ilwX5na6LYXF_NUlE14EBo,572 +material/templates/.icons/fontawesome/solid/arrow-turn-down.svg,sha256=mU1A2u4ZQB2mvaRxpzmHfW3HDpS4YplGe5YzO_N2qJ0,537 +material/templates/.icons/fontawesome/solid/arrow-turn-up.svg,sha256=ALlgCL88-lLVSwFw5fc20AhWt9D7QHadzj_BGiXYGoE,543 +material/templates/.icons/fontawesome/solid/arrow-up-1-9.svg,sha256=zgLLA73rO5SnqSG3yeJXZsxLZoE561ZvQnZQwGxx5q8,947 +material/templates/.icons/fontawesome/solid/arrow-up-9-1.svg,sha256=Ev8KTNCJ1viDxHT1dNKEELF3Yf-eWIjAh4jQCYJ_zbU,945 +material/templates/.icons/fontawesome/solid/arrow-up-a-z.svg,sha256=1YNmDoIYfh5qgzWLZmYLqGNnX7d0HPKHRmozOB7CmDE,973 +material/templates/.icons/fontawesome/solid/arrow-up-from-bracket.svg,sha256=47Dhk_-5YuGsNCSNaa5rjw_UsEgs_sesSNj_2dwpBkA,678 +material/templates/.icons/fontawesome/solid/arrow-up-from-ground-water.svg,sha256=N8UzQlUswDFvilze0fQB33h2MxSzAO_WI-IYGUjyPA4,1363 +material/templates/.icons/fontawesome/solid/arrow-up-from-water-pump.svg,sha256=8aHefMSuPDvWvE1HwGmy4EDK-IdQFKceP6FkKh8_oWE,1468 +material/templates/.icons/fontawesome/solid/arrow-up-long.svg,sha256=eMWAQuEDB_Qzm8W_c9BI_11vne4GtAH6Zl6E7XC9RWM,501 +material/templates/.icons/fontawesome/solid/arrow-up-right-dots.svg,sha256=ODIiWVRqyrGBNwva_-BqWpJk4Ljp85UnvNrl56o2pRM,892 +material/templates/.icons/fontawesome/solid/arrow-up-right-from-square.svg,sha256=PgeocwrantnqvykJPJAt2JD17v9EBjzRCDpOOscqNTY,702 +material/templates/.icons/fontawesome/solid/arrow-up-short-wide.svg,sha256=zSfWyS6kS66zEmrQXkLdo4_mPOYnmS--4OBCpn7kYmg,857 +material/templates/.icons/fontawesome/solid/arrow-up-wide-short.svg,sha256=wDRVFxPP6NQkOsCHwT7ZYXdFxNBZ1JjhouixphdkJRc,858 +material/templates/.icons/fontawesome/solid/arrow-up-z-a.svg,sha256=f-lVKeZY-DugQlK5bkxlPJ5G0rSRyxbO8ZY7FCZCNAc,973 +material/templates/.icons/fontawesome/solid/arrow-up.svg,sha256=XmECeprzsnuu-DdDkJ4ADJscdI1aEfRU6_SIwDe4Zq4,504 +material/templates/.icons/fontawesome/solid/arrows-down-to-line.svg,sha256=0i-y5hERqcc6WmchyJk_m_IyAdKbl_P65Cu0SnsQ60g,802 +material/templates/.icons/fontawesome/solid/arrows-down-to-people.svg,sha256=RR7QrqaDXc7fnFgK5x9rwKCNBCPef-omzGy6gmygmOU,1517 +material/templates/.icons/fontawesome/solid/arrows-left-right-to-line.svg,sha256=uZ7A1pvahyXo-lp0dU98t99kTUuiJ4q1FTUJ9SKPxkM,803 +material/templates/.icons/fontawesome/solid/arrows-left-right.svg,sha256=wQoTUbKN0yp-tOf6cmkiFTXN6eqaaCXHhAhPCDI98Kc,617 +material/templates/.icons/fontawesome/solid/arrows-rotate.svg,sha256=KD2L9mP4e0i6ehz-QSaLTD2FidlUjCtKgjww8sGOoxQ,1008 +material/templates/.icons/fontawesome/solid/arrows-spin.svg,sha256=U6VXx8Bpo4ReW7OOArZulprtqp6vtJBmyUy79AB1m0A,1281 +material/templates/.icons/fontawesome/solid/arrows-split-up-and-left.svg,sha256=wUErl-zypakR5lXJ8CVU3KDmjgg9OzJ7sFPBoACZVxg,758 +material/templates/.icons/fontawesome/solid/arrows-to-circle.svg,sha256=mjtwdnFY-3a7V_x-nP96OS8urSCkErdbgrknxo5ebH8,1324 +material/templates/.icons/fontawesome/solid/arrows-to-dot.svg,sha256=F88yj0YazX6MAZO9v7LWCVlvdzVkaalBMP2T0xV88ro,1104 +material/templates/.icons/fontawesome/solid/arrows-to-eye.svg,sha256=LiISwycPJPX37yiT2iYc2pqQ85ByfNivenjiofpF-iY,1192 +material/templates/.icons/fontawesome/solid/arrows-turn-right.svg,sha256=2FD6nfOBDxcWlIuGZh1lbL6cIWnw6HnsQRvbXHeMaFA,821 +material/templates/.icons/fontawesome/solid/arrows-turn-to-dots.svg,sha256=ctzi065-KJGmptd8zCBEgUSWeEcWJ63QwEJM133sMzQ,883 +material/templates/.icons/fontawesome/solid/arrows-up-down-left-right.svg,sha256=NUR4OmlZKAVLcr62hhDBo_IoBh7EXc2A6fapZ1kwJG4,931 +material/templates/.icons/fontawesome/solid/arrows-up-down.svg,sha256=7IE-MQ8RuCtWjShzc_H8rE2u4veaSgrCH4GM2rjxJkc,615 +material/templates/.icons/fontawesome/solid/arrows-up-to-line.svg,sha256=PlmHMhX3Wnf4fdVjwRvGMvlzDCd7WDGavvjv7rJbbms,796 +material/templates/.icons/fontawesome/solid/asterisk.svg,sha256=RvEcTDGFDrKuo0pIkQg1E2VDxcSB4XJrHQgd3kElZzI,658 +material/templates/.icons/fontawesome/solid/at.svg,sha256=ygIiozdOwN5wJNDWiPnkH7JWnIPQTAoksOuAHUmhjr8,721 +material/templates/.icons/fontawesome/solid/atom.svg,sha256=xpgHTXeWQ8xwxvxi2smxosQT55F3-YbQ6KM03KilIzQ,1408 +material/templates/.icons/fontawesome/solid/audio-description.svg,sha256=z1YoBBVFPghcxqxOJB2mR2y1hOWbLeTz5s5Art1YIU8,776 +material/templates/.icons/fontawesome/solid/austral-sign.svg,sha256=cEL4Pl9G0YWn08KOUGJ0TzVcmt7gjWbgseHXoklC4yI,757 +material/templates/.icons/fontawesome/solid/award.svg,sha256=KxX5lehKgqfw9EKCqw6caEFTeYKGByb8iUdHEuLKIPc,1671 +material/templates/.icons/fontawesome/solid/b.svg,sha256=fXA9J7xTlnJWmNymXUWzZ8fYYYBjW2Pes0sy8gKP5ZE,555 +material/templates/.icons/fontawesome/solid/baby-carriage.svg,sha256=fbUFDyeO7Rg7OJZ_b10JhmYuz6Pa-6Jxe3oKCUrV4_U,683 +material/templates/.icons/fontawesome/solid/baby.svg,sha256=UVtXxtR1-dzlNFBThoHd-cQ5XSiAf2c2cOo3xnrcwIU,849 +material/templates/.icons/fontawesome/solid/backward-fast.svg,sha256=z3p509Go9W2KIBVO9WcEHTBGoBL24ZbxIsS_ujrjgps,618 +material/templates/.icons/fontawesome/solid/backward-step.svg,sha256=UmvrVQG7iAL44VyZP5gzNVnZsufNH4kl2506SULBOyU,505 +material/templates/.icons/fontawesome/solid/backward.svg,sha256=ewcPh1T9GB0q0c9WBP7mPo9TB88XpCQX5ie3AN0zQtk,583 +material/templates/.icons/fontawesome/solid/bacon.svg,sha256=AGpXVbdA8HI1dCj2wCKlurcJ_FSXUM4HhRfKr2ju460,941 +material/templates/.icons/fontawesome/solid/bacteria.svg,sha256=iB9tkigWOStO2uybFuTKPOa3K0c9IcGFBnTlK8W2liM,3011 +material/templates/.icons/fontawesome/solid/bacterium.svg,sha256=S8LiUm08F9yyyHPNfbr9cRoUZBXQUWRSr-_wV9wplv8,1736 +material/templates/.icons/fontawesome/solid/bag-shopping.svg,sha256=jPfdC34lpC2pRREzzMehdGriB884Bz9OAeDNFwdsb3c,579 +material/templates/.icons/fontawesome/solid/bahai.svg,sha256=Imfb37jrKalBYUSJGBJI1ZPOrD-enOKqUG0g_VppbX4,1462 +material/templates/.icons/fontawesome/solid/baht-sign.svg,sha256=k4ns3lD1bw7TYZ8zUsH5G7OnbKMKTOAMsYjk2MNu9y0,701 +material/templates/.icons/fontawesome/solid/ban-smoking.svg,sha256=Skmskr9MC9xl_RgQf6uZ5yW66iFSYS76vnnl8rCrOeY,869 +material/templates/.icons/fontawesome/solid/ban.svg,sha256=sYtPYuV2jAfsYvu5b7Nic-cDYcR7W04-HJDouOlYMM0,539 +material/templates/.icons/fontawesome/solid/bandage.svg,sha256=i4n-hZi2j0DATzBIEdjhTWU7eLCM8RjZW5m14T3nneo,612 +material/templates/.icons/fontawesome/solid/bangladeshi-taka-sign.svg,sha256=XBVxzIbXTkmNS3JV9jeQ2Vl3-F5L1Krz3dYQeb_A5-8,684 +material/templates/.icons/fontawesome/solid/barcode.svg,sha256=Eoa3sYoiZEKmC7wHF8w0LsWrYTdhYErVB9AcvQ6Ni1s,873 +material/templates/.icons/fontawesome/solid/bars-progress.svg,sha256=sNOScanYVe1fCvwI7qIf9bMdscwuKqmTtgJd83f98IE,550 +material/templates/.icons/fontawesome/solid/bars-staggered.svg,sha256=DFP8mowBR1JlTcCE_pYgxGMM4YULdNksry9lxcRr98g,570 +material/templates/.icons/fontawesome/solid/bars.svg,sha256=XBM3S3siV2cx82QQWB-v31afv93GOayAQzCx8qgo2hQ,569 +material/templates/.icons/fontawesome/solid/baseball-bat-ball.svg,sha256=dDc4X4phG7_c7IYuGbX-yY74k6CHleNoTc41YrGxH28,748 +material/templates/.icons/fontawesome/solid/baseball.svg,sha256=FL7Y0B9H5gfhVtE_OIshSgUGx83nHkmOV5m0PaE9BHU,1367 +material/templates/.icons/fontawesome/solid/basket-shopping.svg,sha256=NBgzVY-OzZKwGkTKWYaedMhT3iNr0-F9bORHV-ssXzA,847 +material/templates/.icons/fontawesome/solid/basketball.svg,sha256=c9seSRHUSFWVHUMHLKss_379w3ymQmoCPohd-cITIic,1205 +material/templates/.icons/fontawesome/solid/bath.svg,sha256=Mtq2HjS-uyfDR7lYqlDs5kj_K-5Y4TaG2VqrvJb146k,858 +material/templates/.icons/fontawesome/solid/battery-empty.svg,sha256=ZfO31k5Ho5PuRmtrYri3tCtrJS8WnIcAsmPzbFWUQqw,544 +material/templates/.icons/fontawesome/solid/battery-full.svg,sha256=t9lASWR6mO4Wnx-2AzddwSzGee_2rt-8CoccY00_k1I,571 +material/templates/.icons/fontawesome/solid/battery-half.svg,sha256=rGHwKQ6BD9iQGYslGM81YVtTXkHBmYSo3Y9zTXDN0mE,571 +material/templates/.icons/fontawesome/solid/battery-quarter.svg,sha256=W9TMm1doEXPvxjr7UmARLaoF5lIiq8HYEmg75jau2Gs,570 +material/templates/.icons/fontawesome/solid/battery-three-quarters.svg,sha256=KoyOx4dFxV0AX5goZFMxTwRvDKmFKj8JtZaKPu3tMnk,571 +material/templates/.icons/fontawesome/solid/bed-pulse.svg,sha256=5jxozOe11M21QztI__fP2r_JYURdkrExqIPaxOHRjYU,884 +material/templates/.icons/fontawesome/solid/bed.svg,sha256=MRgjpsmbrmf6yhxmj_y3RARMEipaQRMKiJ42HKSs5kQ,525 +material/templates/.icons/fontawesome/solid/beer-mug-empty.svg,sha256=WW7R60sTp7htFDa2wHCH8lUbTVPFY3Wc4rbU4m2K2NA,800 +material/templates/.icons/fontawesome/solid/bell-concierge.svg,sha256=Jdwc8krHQLhjxOSn7x8wSmDdGnhEs_xhh8cP-9106Ps,537 +material/templates/.icons/fontawesome/solid/bell-slash.svg,sha256=YiAzgQP7FHYxpm9OyY7cWRfdyvP-CsQgBEkNCYRWKaI,813 +material/templates/.icons/fontawesome/solid/bell.svg,sha256=cFy1e-3LparUouUbzt1fPsURUzG8AdI_F6UATf3Uoio,669 +material/templates/.icons/fontawesome/solid/bezier-curve.svg,sha256=xcMhENoXzbmNG0PiFZBQ8T2_9leFMTMwQx1_iND8j8Y,987 +material/templates/.icons/fontawesome/solid/bicycle.svg,sha256=dMesXXkTxDonqsbCOYGkYCvRnRqIi9Ky2r6bPpbSyJw,1125 +material/templates/.icons/fontawesome/solid/binoculars.svg,sha256=wAnHegLtt3eNBwxstwfgYO3e-M8HKkXFuU_8IPMsOEk,746 +material/templates/.icons/fontawesome/solid/biohazard.svg,sha256=yu74ddX91WZE_cnpK0N_c3zv-GiOyJ-xYONOeE2mPaY,1633 +material/templates/.icons/fontawesome/solid/bitcoin-sign.svg,sha256=svI3eoRjUk85T9ygFq94VpTVklbL-1yBWnP4KjQX-ak,772 +material/templates/.icons/fontawesome/solid/blender-phone.svg,sha256=ACFsZ81Q3CovQkTyHMDFSQN077uQpkvAaYh2jmncRtw,972 +material/templates/.icons/fontawesome/solid/blender.svg,sha256=00VMaOXfgNdto8fdxZAnGG1w-q4b4Kv87hTOWtvq-nA,734 +material/templates/.icons/fontawesome/solid/blog.svg,sha256=jT_RinQA40EAovoM_Up0QGOwW6ufJ2TsX3DPrKMP7iE,723 +material/templates/.icons/fontawesome/solid/bold.svg,sha256=Lse498e9YeO_H3aUQxjmisRn7Lm_nVwCVUwpIsAHPNM,603 +material/templates/.icons/fontawesome/solid/bolt-lightning.svg,sha256=6yUU7aYF-Z8NoqDkH7EEdB9XPQHGzJkWrfYl9B2wNEg,567 +material/templates/.icons/fontawesome/solid/bolt.svg,sha256=-LNWX5lYN8rKx7R00W_tU1GqIbcJloZmDpfDk5i5eRs,531 +material/templates/.icons/fontawesome/solid/bomb.svg,sha256=kxUD_a8g5ahq-CvkOQVRsQz7GInARig_KvNtxSGj5dg,893 +material/templates/.icons/fontawesome/solid/bone.svg,sha256=zfhS1eV5qYJzI9NyCk5nm5PD8CE1OmaVn3FXasKz70I,780 +material/templates/.icons/fontawesome/solid/bong.svg,sha256=vB8wD6sCoilhzEaDildEbiw1efTtVfLtGG4rpdZY9YE,897 +material/templates/.icons/fontawesome/solid/book-atlas.svg,sha256=0dtGDgBa7qla_lNdh7YSADl5xDlVWC1OEiR4ZKK1Fos,1140 +material/templates/.icons/fontawesome/solid/book-bible.svg,sha256=c5wQNp2hcFp6b-_xTMe_hScOGzik6V_i04cfFvOwjtg,681 +material/templates/.icons/fontawesome/solid/book-bookmark.svg,sha256=9xJ3Nyag6ExU7LYybKDWTxW4fi3Vs29-aLc5_Nh7-oU,560 +material/templates/.icons/fontawesome/solid/book-journal-whills.svg,sha256=62PhanjYFbbvAO2G1kcxkRWWdxJSj9YhcIvSm3i8d6k,1723 +material/templates/.icons/fontawesome/solid/book-medical.svg,sha256=EbUgZrrYRcZsYIXoF39UYj-NyZZ01PTd7W89ELDCQRY,691 +material/templates/.icons/fontawesome/solid/book-open-reader.svg,sha256=3OY1esUfXxv6xHHI3fl0hB25Kt5kx_G1lp1o3PzSZpg,617 +material/templates/.icons/fontawesome/solid/book-open.svg,sha256=i40Py0F5BAISHW2ZuoahPvWaT_MOhA4dfiQ05unF73w,741 +material/templates/.icons/fontawesome/solid/book-quran.svg,sha256=EX0WsQXakxhyX3xAxjO-VKQg_G9yJTcVwR6XYJtQEVQ,981 +material/templates/.icons/fontawesome/solid/book-skull.svg,sha256=OkN5I_07EaTYCjpufG04644jSFdtAbURACOQnT9y_t4,975 +material/templates/.icons/fontawesome/solid/book-tanakh.svg,sha256=REDDNxJGu7OwfNOc-BPDTaZbxXZcpAeBVY7S_CpKAUA,960 +material/templates/.icons/fontawesome/solid/book.svg,sha256=x_5gHHF-lOU9DSsU89n9bbrL5SrQrOC8RalLJjlPcu8,646 +material/templates/.icons/fontawesome/solid/bookmark.svg,sha256=nvjFK9s2e-EphpWkB0gZKLUKjo2xX8C8gW0SkXNmHjg,461 +material/templates/.icons/fontawesome/solid/border-all.svg,sha256=x688aARtWXkZX7AEwDLC7F7mc8BeGycAu_cQEoOUwFs,486 +material/templates/.icons/fontawesome/solid/border-none.svg,sha256=wVRdGplHr9Gtkv-lHWcQkPhR3F65HM1BV13yOsgwqZw,1168 +material/templates/.icons/fontawesome/solid/border-top-left.svg,sha256=dQUqmsgK_Md9kHsKCyN351av3GpybTyRxU28mu2UpQI,711 +material/templates/.icons/fontawesome/solid/bore-hole.svg,sha256=ur5ezkKsPPPwsZeH5fvdrAw5iU9G2R83H3I0X7WQcFA,629 +material/templates/.icons/fontawesome/solid/bottle-droplet.svg,sha256=k5VgCCZfqv4vGJ8EqR1OaiDGqkmRDgzMsqYwzAjBep0,697 +material/templates/.icons/fontawesome/solid/bottle-water.svg,sha256=lhV8JG1L3iDaDd0Hik96RNr2LmtYnKL7jfV9tjK-DVA,1002 +material/templates/.icons/fontawesome/solid/bowl-food.svg,sha256=ochv2FFPMCJVoxnEjr_IoVRmeE_foY7pBgvZj7Bh09g,733 +material/templates/.icons/fontawesome/solid/bowl-rice.svg,sha256=s9lJHRMb8kfGujivNN5_GEYNWo9e8IBVtfccOJ37Afc,1477 +material/templates/.icons/fontawesome/solid/bowling-ball.svg,sha256=Sc7XoUJplMCdwGs6OIUncX_8Pt9O2ZvPaTizXUeLhf0,466 +material/templates/.icons/fontawesome/solid/box-archive.svg,sha256=H7_onZOxL0ocFQz20MhTgm0r5aa5VV0_x_YM0TEeFdI,548 +material/templates/.icons/fontawesome/solid/box-open.svg,sha256=y3Z1rEhIsEcvzmv24FOEFCkMppfQeXGu_fykhkb2w98,753 +material/templates/.icons/fontawesome/solid/box-tissue.svg,sha256=u1XttKYbDx3sIcXX54hmsYk_zFhqH9xmVrC2sJPkr9U,688 +material/templates/.icons/fontawesome/solid/box.svg,sha256=acDUik__mL70-c_jhO3I5pdevI1w4SU2RD1hiXkl6D4,469 +material/templates/.icons/fontawesome/solid/boxes-packing.svg,sha256=9BQEQytc6Va8AiwhBqPVFQAzBL22hL7EK9akOPvAiig,909 +material/templates/.icons/fontawesome/solid/boxes-stacked.svg,sha256=T0XgDYBafzOYYENimTlTvJFYwqNPixY_3ug9Lu6Am48,835 +material/templates/.icons/fontawesome/solid/braille.svg,sha256=9XrQtFfjYfnYLAyMAhoEqFqzHtIXI_5fvanIZ8-KT08,1140 +material/templates/.icons/fontawesome/solid/brain.svg,sha256=TilwBoVNew9MKwXGjH2oLrx5_YwRUHBQvJGko9S5STE,955 +material/templates/.icons/fontawesome/solid/brazilian-real-sign.svg,sha256=jPcWm_CmCLkiNZLWXehoMCdLCFaA9ptpSlFxWvL3j9o,1128 +material/templates/.icons/fontawesome/solid/bread-slice.svg,sha256=sxEgW0GsX4xpIwsMQi1eiZmN6tVrKhnJIt2cGnUxbzk,433 +material/templates/.icons/fontawesome/solid/bridge-circle-check.svg,sha256=vmRPDB8lpohb8sMxKPpcW4nCUPiv-xgKj0RsKMoMcNg,835 +material/templates/.icons/fontawesome/solid/bridge-circle-exclamation.svg,sha256=nx-kpuBtmmP0EXzEpGZBg-uHhYiUuE9U0vsrb2Kx8Gc,800 +material/templates/.icons/fontawesome/solid/bridge-circle-xmark.svg,sha256=wjuiSmv4kUW3BTqNMPY3hJ14m5qaUO8G31aduJXZVRU,932 +material/templates/.icons/fontawesome/solid/bridge-lock.svg,sha256=UNaQLqHReRrrSzZKNHWSrmWgDc3H_0vv6P-mhr-bl0w,850 +material/templates/.icons/fontawesome/solid/bridge-water.svg,sha256=l4QliprrF3Tqc5_TCHuzRLE9DdVu0PgI0h1KpICQwVs,1174 +material/templates/.icons/fontawesome/solid/bridge.svg,sha256=kC-pNUNCFEAUCy4XSnEVhOR-xDd_1IGEnt8cPSJzvD0,626 +material/templates/.icons/fontawesome/solid/briefcase-medical.svg,sha256=WXi_UdeLDhZdK8j0PX4VyhY_dMYcF_WJ0H5abQzdceA,712 +material/templates/.icons/fontawesome/solid/briefcase.svg,sha256=-ARJvxMmU_A-7zu1UROkIv75KKVTUmmhkZu8uqzFgko,588 +material/templates/.icons/fontawesome/solid/broom-ball.svg,sha256=bI0WwhvAnr14hJzt5LO8nnfChztb5cVFjExHgvBZGj8,823 +material/templates/.icons/fontawesome/solid/broom.svg,sha256=fk9Lk5JEMokzdajskM-JvG_I46Y-rU2Vz1i-oOtUx-8,774 +material/templates/.icons/fontawesome/solid/brush.svg,sha256=U_9E7eLoRFsSdagFrEfSpiMGRJb_zI6vjBA1pbNvpm4,671 +material/templates/.icons/fontawesome/solid/bucket.svg,sha256=jHbDhWQo6VgsQmBuOhZB9AIzG19sVDcIAS5lyAb_MYs,591 +material/templates/.icons/fontawesome/solid/bug-slash.svg,sha256=xaq09m_nYe30KQqYKMfjvj12D3GWOiCAxjwA2B8xPOk,1073 +material/templates/.icons/fontawesome/solid/bug.svg,sha256=dC21C5n2FsyW31GfjaBMEKB9Og-unaEnur-M8K22QEs,1145 +material/templates/.icons/fontawesome/solid/bugs.svg,sha256=5OKR9FWtyx0JRQEJPdk_Bp_UBOgK6XqduOReCSmSESA,1634 +material/templates/.icons/fontawesome/solid/building-circle-arrow-right.svg,sha256=DsxcEzlysZttSxSSpr4PK_b2j-3iSrOXHA-E5rhuVf8,1347 +material/templates/.icons/fontawesome/solid/building-circle-check.svg,sha256=SbCMqbk6c1Wn-6-KxjQkziDUkEshCNlyHhNIFShXSyo,1295 +material/templates/.icons/fontawesome/solid/building-circle-exclamation.svg,sha256=vzW4lkIZR7TGMKu-DLB4PDGyqKkKOCW6fl3cH3dwkA4,1260 +material/templates/.icons/fontawesome/solid/building-circle-xmark.svg,sha256=x5A5sxo7mtIBjEQPm5TYEV-DDYa83E15HsM3RtEkstc,1392 +material/templates/.icons/fontawesome/solid/building-columns.svg,sha256=QC6qHtpjTA0Yy5wyM7IGns6oA55q8u2mEZW8y_1xiHk,739 +material/templates/.icons/fontawesome/solid/building-flag.svg,sha256=lfvAUAPwhAgPCSFMhPJ5rXwUk0udsGyxXJGWTh49pCs,1135 +material/templates/.icons/fontawesome/solid/building-lock.svg,sha256=VBvkDwwpYZ55167QTXX2YeCd5DIqsPTN4F47nVtsjuQ,1299 +material/templates/.icons/fontawesome/solid/building-ngo.svg,sha256=ggVa15dFO7FMRXNHkdH-_VoSWqCeE1kK34GetGKWsa0,1252 +material/templates/.icons/fontawesome/solid/building-shield.svg,sha256=5mA9R2zDvo75GW0q-pTQ1ZrwlsiYtH3a74jJPm3RtXk,1260 +material/templates/.icons/fontawesome/solid/building-un.svg,sha256=71Y44i_iXY1LIi_FR188Z58uleFHKbcxEnwxxwv7jaQ,1071 +material/templates/.icons/fontawesome/solid/building-user.svg,sha256=Hasopa3HHk_KyEz61aJjW22gpHC6M1XU6G9HbgWjVus,1237 +material/templates/.icons/fontawesome/solid/building-wheat.svg,sha256=Ln-XrZXZENK6ZVAuGmtVouVP2RQMUplvE5sain4G7Cs,1682 +material/templates/.icons/fontawesome/solid/building.svg,sha256=ip-CaM9co3_YqPtQyGaf0vb2sd49yUtICUBW0jAxZ-U,1025 +material/templates/.icons/fontawesome/solid/bullhorn.svg,sha256=OTq61KY_F_BikFUJmQL5xXqHNDe3uDcqqmeWVbbD12M,700 +material/templates/.icons/fontawesome/solid/bullseye.svg,sha256=eNYmap0WCo_uSL81MSEbSYW_pYdqg_vgd5d6fQNq0JQ,520 +material/templates/.icons/fontawesome/solid/burger.svg,sha256=O68YB5CQf0j-blkjgfq9IWO1xihwQR2cfv8L-P5nwL8,763 +material/templates/.icons/fontawesome/solid/burst.svg,sha256=8IPxPCfmoawMZjm7FjPBXMdt9uhFtudH31MNH8gVCeU,824 +material/templates/.icons/fontawesome/solid/bus-simple.svg,sha256=93UZMcIi9FIbDataj03rE4XY6OyzaQyrQmdxAebfnPI,693 +material/templates/.icons/fontawesome/solid/bus.svg,sha256=8FPaQE4-OcTgtYKKUi-URyh5tCVkdw4c7PjFEkhbKrQ,909 +material/templates/.icons/fontawesome/solid/business-time.svg,sha256=GVwbKLHTiR_WcILvIVGPvLl2NV52ITAAQr46yz3C-u4,799 +material/templates/.icons/fontawesome/solid/c.svg,sha256=OBLo8ThwW14j8YglOeW2AUWXA-x7U1--pRwSl9X_S3E,530 +material/templates/.icons/fontawesome/solid/cable-car.svg,sha256=X8RzxfDxCR7ikaXtLffJkSLMSR1Km4BkDgZt-sz_8xA,915 +material/templates/.icons/fontawesome/solid/cake-candles.svg,sha256=Twt7YvYOod7eXJRiktFAWaMm5FQzU0Kslnb-ftqBPXk,2005 +material/templates/.icons/fontawesome/solid/calculator.svg,sha256=yQjfi3-1bX1AI_vBaDJP69CKrcqQUHvEGgFx_kzcrQs,883 +material/templates/.icons/fontawesome/solid/calendar-check.svg,sha256=gWu2VYjVBoalefAomArTx2TKwmUughktzdVuVxU0kwc,655 +material/templates/.icons/fontawesome/solid/calendar-day.svg,sha256=VdOPZZtS6SXbHW5jxixXOknbMTcjeW6YmiA8AeQcL2M,609 +material/templates/.icons/fontawesome/solid/calendar-days.svg,sha256=XBhL-wnNLtuugCeC00pRgtLNoA_BrY455t24qKN6YAw,1102 +material/templates/.icons/fontawesome/solid/calendar-minus.svg,sha256=B7z-6tEMu2jEc7hsbs-Bwzmevf6z3jWHB1Ge8mWcaIA,601 +material/templates/.icons/fontawesome/solid/calendar-plus.svg,sha256=gif9VW9PMGrhk6po9_VSeNcZGIHSosS_AAw3A_Egscw,696 +material/templates/.icons/fontawesome/solid/calendar-week.svg,sha256=ACdO2nQG9tx7YUX_GPN6tSKD9Cl9x_KTcqVSWKhptGM,610 +material/templates/.icons/fontawesome/solid/calendar-xmark.svg,sha256=tAap0igiDQEmCxhFUVuFSX4N2RJuCltf2kjE0iKzM2g,735 +material/templates/.icons/fontawesome/solid/calendar.svg,sha256=Hxl7RAWeIIXWBlRxTbuKJiAXQOxuQTKATWNjjwzmxE0,509 +material/templates/.icons/fontawesome/solid/camera-retro.svg,sha256=3V36w4bKtM-UKlAqsQQ_whFQClDQUEPilFdIqARbTnA,642 +material/templates/.icons/fontawesome/solid/camera-rotate.svg,sha256=uH5fjgRns0TwPRBOj9iuMrQLAa1fWgA4t_P4u87h7EQ,1103 +material/templates/.icons/fontawesome/solid/camera.svg,sha256=PqQF3uarbSGCCA9BeRpotiQ5hpdriibJYjlE5mrhl4I,534 +material/templates/.icons/fontawesome/solid/campground.svg,sha256=xWRt3KLF27eY_3Tk0A246mU8LgcVWo8hb7m75xa4BG8,561 +material/templates/.icons/fontawesome/solid/candy-cane.svg,sha256=h0PtXEJLAS14neP6hlVxon3W3KX5LzDnut44JvuNtoo,1021 +material/templates/.icons/fontawesome/solid/cannabis.svg,sha256=KOv08aQwORK4TkyvVvvsA79PgpRa84Xh7KSGx2mTgD0,1189 +material/templates/.icons/fontawesome/solid/capsules.svg,sha256=r0QOjL4WzAr1yyhn56yCquwzNYXcOzLhpem2erDZcv4,745 +material/templates/.icons/fontawesome/solid/car-battery.svg,sha256=owELDhgLuXeIASYaMqZE9PVeB1m-T50Psgn00Kb85oI,745 +material/templates/.icons/fontawesome/solid/car-burst.svg,sha256=EXF5xBqhVbP8-NEpzX1FTUcMTwgOgVBRNGcnSQwm6g4,1267 +material/templates/.icons/fontawesome/solid/car-on.svg,sha256=rGbJu6srZONkohMdGvooM25uTurXvKdlvwXyHOAbEK4,1021 +material/templates/.icons/fontawesome/solid/car-rear.svg,sha256=kJCuY4tWitBt6_yRjvVxzmNai1ZDmNQXtuvE_FtIS40,982 +material/templates/.icons/fontawesome/solid/car-side.svg,sha256=EMxhQrBQKxQmMhixUByogv-cqSFbzIazP07Zkdc42Bk,783 +material/templates/.icons/fontawesome/solid/car-tunnel.svg,sha256=JRf1YfFrvXlXcGmxMosGHAvFJKW1yjv8eioel51CiOY,844 +material/templates/.icons/fontawesome/solid/car.svg,sha256=hkP3DZPAEFgelha7_KP-rMAFN09ab76iu91qucvCN_4,739 +material/templates/.icons/fontawesome/solid/caravan.svg,sha256=Cwnj-V0HIFGcuDz-cqhsGmlfNVhKccjEqCMw_IDEijQ,713 +material/templates/.icons/fontawesome/solid/caret-down.svg,sha256=dsDjB2wW58DXopRY_4Uiafmz7hbaPvd-TV7-TMSdL8A,446 +material/templates/.icons/fontawesome/solid/caret-left.svg,sha256=-qDuajizugcR8sNsESS8SRJkevcCTl1slBWgnVjr7ck,442 +material/templates/.icons/fontawesome/solid/caret-right.svg,sha256=_RIB6nEfUZNFBhLm23KALm9_vTE_6-AcTdx3JNxVz3M,441 +material/templates/.icons/fontawesome/solid/caret-up.svg,sha256=syM6CfaEAvekAeGxUslPfK4eeOsglYKr58pYP2TME54,443 +material/templates/.icons/fontawesome/solid/carrot.svg,sha256=XQJ1NIQnq0KXWkKb2k_IEoJvmP7hv0cL8Puz7FsVpjc,813 +material/templates/.icons/fontawesome/solid/cart-arrow-down.svg,sha256=KoG1O1ktVkaKVLjwn_nE4yvL-P4Y0BA6Mn-IKJfh0lo,806 +material/templates/.icons/fontawesome/solid/cart-flatbed-suitcase.svg,sha256=0pgBYOtK3up1O7M4Pu8Hrk4gYzdDSuGUbyzaz5MC7u4,889 +material/templates/.icons/fontawesome/solid/cart-flatbed.svg,sha256=SUcqNBC8z7EyYMZkkKjQ5_CJk1ETICYeijKx7WGHmow,855 +material/templates/.icons/fontawesome/solid/cart-plus.svg,sha256=BWyvGomO7T7YgXyajnSuLJPdYcqGceIghnlaX2Bbu7I,820 +material/templates/.icons/fontawesome/solid/cart-shopping.svg,sha256=bCVMIeaUTQFAu5ytvtu-wSmaTk6lmHEvjfPR6zIdZ7g,668 +material/templates/.icons/fontawesome/solid/cash-register.svg,sha256=hDjcyEIYcuTAKg2ZZwR5oa7FN5L97rPLEjbKcd4Pu5M,1058 +material/templates/.icons/fontawesome/solid/cat.svg,sha256=zJl9x7Lr5cBECcH0l1c6yGY_lFZ2zHkkO0R04Otobzg,1026 +material/templates/.icons/fontawesome/solid/cedi-sign.svg,sha256=djCz0SqpOtpLE1p1ZGTBdaaX9pPPb8P31qmtJ59IIUw,702 +material/templates/.icons/fontawesome/solid/cent-sign.svg,sha256=Qk6xMikTToqhJJaYGXO5SpCmO7XB8Za_e7xt0_CGS_4,686 +material/templates/.icons/fontawesome/solid/certificate.svg,sha256=U05TCqByEyg5-2LvXbmFuU0JphFu8n66-VN1YCswy70,1021 +material/templates/.icons/fontawesome/solid/chair.svg,sha256=ksnW42xRVr1gu9BlbpP3QuLKZOEiD3tXR8TzgHM5zC4,701 +material/templates/.icons/fontawesome/solid/chalkboard-user.svg,sha256=2luS-I83kFLyTrC_YNewLw4bsbebrJh4xPAcG_6X9P0,678 +material/templates/.icons/fontawesome/solid/chalkboard.svg,sha256=3ZLYhaNoeidyvk4FWRDZ2IfbHCMswN4c3zsft3DuOL8,513 +material/templates/.icons/fontawesome/solid/champagne-glasses.svg,sha256=mUePN3BLzS2G0mG4W6pMJfJOzuM3bpW5JKWZ2t-XPnU,903 +material/templates/.icons/fontawesome/solid/charging-station.svg,sha256=UslhUapHSY2AtpkO70IQ1BNQJmlvbUc78Lwy-UGyKwE,979 +material/templates/.icons/fontawesome/solid/chart-area.svg,sha256=AcZAuU-GVrDPc0BRVLs11uevAs1TC-iTrJdQ5D8XPUM,652 +material/templates/.icons/fontawesome/solid/chart-bar.svg,sha256=4DjcczO-Mzp0K5j5thPpFWR2e8QRSwbm_oFFqXRaFIc,697 +material/templates/.icons/fontawesome/solid/chart-column.svg,sha256=4Ox6HvyqjyXI2NUt8Ese5dafTIkXat1bZnj2D7Bioto,789 +material/templates/.icons/fontawesome/solid/chart-gantt.svg,sha256=QDmJAGbIC0yO03mMuHFH-y2hpc_a3ml1NEKPflipQdQ,697 +material/templates/.icons/fontawesome/solid/chart-line.svg,sha256=m13VrWz3mrnIk04FjVb1XqsIK80Axx2huM2T5LMpRbM,636 +material/templates/.icons/fontawesome/solid/chart-pie.svg,sha256=AJ4HjPzvB3ZHi_pINccvGB1eJkPVT1OsaBVkKDbNAhc,628 +material/templates/.icons/fontawesome/solid/chart-simple.svg,sha256=cLdcOEw8lebbWJmVFgXh-7vn_LJ90EEUSo46JVYRpco,611 +material/templates/.icons/fontawesome/solid/check-double.svg,sha256=ZN-fsZHInS5t7awssp_nch1L0StSr5ejJTSuBhkuSSk,618 +material/templates/.icons/fontawesome/solid/check-to-slot.svg,sha256=y2Bj9LQg4u1VoHIZMYvBcHIJ5kb5myg_MlS3QPOV9Jc,625 +material/templates/.icons/fontawesome/solid/check.svg,sha256=cGCVIaQ1lxbAwhqVK1UssqDeoDtd3UuaQXFNgg1pMjk,470 +material/templates/.icons/fontawesome/solid/cheese.svg,sha256=slxjNXpRj4MXr24Adftl-uIJ4XXi8qkLMvL8iivE8ak,462 +material/templates/.icons/fontawesome/solid/chess-bishop.svg,sha256=qHJW0ni3XNG8PJVEnqha2JngQrfOWlQX9cg90e3NJ9o,741 +material/templates/.icons/fontawesome/solid/chess-board.svg,sha256=V7wCszajVqFpT80Dtvv2FtBbnpti_MC6_ZKNHQuS6UI,602 +material/templates/.icons/fontawesome/solid/chess-king.svg,sha256=IQsQADt6c5nrdAEAz9Bi8_X64SWE8uoctwqpznOlRIg,687 +material/templates/.icons/fontawesome/solid/chess-knight.svg,sha256=zuiXwcuQkMR16vVKfWWAUtnifoVtyHyoPPWXISWgBOg,816 +material/templates/.icons/fontawesome/solid/chess-pawn.svg,sha256=6_wN0hRv5DtRmsOKF36TBYm4o46E3EXGDjPm8vldEps,656 +material/templates/.icons/fontawesome/solid/chess-queen.svg,sha256=JJTX_0gqWfK2dr-xskqa-ngQ0mnlNmgdTA03tMrBBA8,839 +material/templates/.icons/fontawesome/solid/chess-rook.svg,sha256=lFQwmW_fYzC6HddthR6aWvBawDOSCylpLA_xFsLIASU,824 +material/templates/.icons/fontawesome/solid/chess.svg,sha256=T2m939Z2hR-ko85xnPTIdaswbl_33filfL7uaE4aX8A,1202 +material/templates/.icons/fontawesome/solid/chevron-down.svg,sha256=svLXj-9Zp0QK79bOhqoM36J8T9xSccclpejgu7YKoVI,458 +material/templates/.icons/fontawesome/solid/chevron-left.svg,sha256=f6JThK8597aS3yaceyvl9x2MSCiZ9BmU6OPULNgHU9w,455 +material/templates/.icons/fontawesome/solid/chevron-right.svg,sha256=j5skh8kKmCpUcys1GyO1skv2owo1Tf2srW07azK_SWg,458 +material/templates/.icons/fontawesome/solid/chevron-up.svg,sha256=dJYLgCo8Z3h3JBLv5w9NRUMQXOY9sQGZLZj2GDh6Z8g,458 +material/templates/.icons/fontawesome/solid/child-combatant.svg,sha256=iYvOiX5oc17mgjm7Px-CB0OsVD9tlNHz3C0jFk3F3HE,1007 +material/templates/.icons/fontawesome/solid/child-dress.svg,sha256=c38rj4EiiZYkCKbleU3VINoBINHmpe_1SpuolGT-8iI,694 +material/templates/.icons/fontawesome/solid/child-reaching.svg,sha256=WEm4D1KhrFUrIjpmBx0lvN7zeEQs1sqWHk9JoCmBOsg,734 +material/templates/.icons/fontawesome/solid/child.svg,sha256=yGNOqH22DE0-EEgZZWkmsTcY5tzFhur5qo5gFUMyr_E,605 +material/templates/.icons/fontawesome/solid/children.svg,sha256=TkfA6LUxlXp3OKsbf52AC8ui6NafvVPK2HahuTzQIyM,1027 +material/templates/.icons/fontawesome/solid/church.svg,sha256=MygfUb3UYZXo60xUC35DJ8RMgrTSUQBHkG8RQTruMW8,730 +material/templates/.icons/fontawesome/solid/circle-arrow-down.svg,sha256=btmU1MRo-F51tAAYs1rIviy6kAaGDQkyLwuGQadfrvI,529 +material/templates/.icons/fontawesome/solid/circle-arrow-left.svg,sha256=79uklbpm7DUGwdji3DdIp1wzrUXN5BtQOJpe9NSLOPU,533 +material/templates/.icons/fontawesome/solid/circle-arrow-right.svg,sha256=pbY-yLBXGit5YrM1I28F3FXlOWiBDfeoEC-dpUIbv8Y,532 +material/templates/.icons/fontawesome/solid/circle-arrow-up.svg,sha256=ifg6N0fVLonSsFZ4UssPjK-Vwvagzln5V0Y-p-M6wXI,531 +material/templates/.icons/fontawesome/solid/circle-check.svg,sha256=876FQF7kyP47L1fdsCteYeAU163YOcUGyT2PaaoLpz4,483 +material/templates/.icons/fontawesome/solid/circle-chevron-down.svg,sha256=xVGHj757i2WdmhQgsjjpn-HJuWNcQU4GQkbxKPsFBXc,480 +material/templates/.icons/fontawesome/solid/circle-chevron-left.svg,sha256=pgdnn14I3kgom4zs7oqO_V13NRwLjWxmgCPGRmOqQW0,483 +material/templates/.icons/fontawesome/solid/circle-chevron-right.svg,sha256=ek0BFv8717LuCB4mcPeltDYJinSjsFi1ulAz0yYdQdE,481 +material/templates/.icons/fontawesome/solid/circle-chevron-up.svg,sha256=Fc6dL-NmjKWLHDl3dOhx8i8rXhQKMm0By8l-hNXtW6o,484 +material/templates/.icons/fontawesome/solid/circle-dollar-to-slot.svg,sha256=aPostxYT4myFSCO2zjjxmfYBTjbxhqlnCbhH7_2zWBE,1451 +material/templates/.icons/fontawesome/solid/circle-dot.svg,sha256=y-UZ69Mmnn1rWrZ2cZs1tQURdIFOwRUtp9rEr5D3nts,382 +material/templates/.icons/fontawesome/solid/circle-down.svg,sha256=2OZ9l0-70WfiaL7prCigR7OzZ1c7rApaLYYBrSH0h9o,578 +material/templates/.icons/fontawesome/solid/circle-exclamation.svg,sha256=p9O3ul-d-x0OzO56HBaBpL6ez2VXFehGNJ1J2fW80ig,475 +material/templates/.icons/fontawesome/solid/circle-h.svg,sha256=r34NraYj_eYHJzGqwQJ4PcdqMkMVv-Bm1tKx_1-fvGM,520 +material/templates/.icons/fontawesome/solid/circle-half-stroke.svg,sha256=TKcltgVWlyvuf4yAGuFYmL4PZPL1isKgQt4phCE-FwQ,392 +material/templates/.icons/fontawesome/solid/circle-info.svg,sha256=Rli2W0UK0FTjtssiiIMhFnrp8rmfAlNb-GrAq2IHPJQ,542 +material/templates/.icons/fontawesome/solid/circle-left.svg,sha256=YSBQ7hSaX0YRORzVfPAErKILDbFcxFcpDBVLKoJuDlk,578 +material/templates/.icons/fontawesome/solid/circle-minus.svg,sha256=47d7ebPQGuATHMJCXmBrUVMxJYScGflC_6NlmFEW1Oo,428 +material/templates/.icons/fontawesome/solid/circle-nodes.svg,sha256=d6ZpkAsqJPGn0MvGyhUAJ5ra5x-9gilk0JpBSy2vXUU,713 +material/templates/.icons/fontawesome/solid/circle-notch.svg,sha256=RAOJ9KUTUD8RgRYfyTtzLhRL7aO9CFUCc0_PdEIzcvA,588 +material/templates/.icons/fontawesome/solid/circle-pause.svg,sha256=jbQr6vWSkO_4K4iIJcO74yIh5IoG-mCqRIbNWOt6uAo,513 +material/templates/.icons/fontawesome/solid/circle-play.svg,sha256=9GU-FOUrU8q7reTzyrRBqtZYM9E727LTIFl_ADGx8hA,514 +material/templates/.icons/fontawesome/solid/circle-plus.svg,sha256=ymidFg66uYwzDCvsmvFdzrVvHOkowewxNp8CC-lon2I,519 +material/templates/.icons/fontawesome/solid/circle-question.svg,sha256=IW9VCFnONoB92fRQ9U13Q16FFyL8E13xEFlyKF0iah0,721 +material/templates/.icons/fontawesome/solid/circle-radiation.svg,sha256=_JtMhOmoRW90RWErHApOtDPoHBIBb2tlVqsOSDRlKT8,850 +material/templates/.icons/fontawesome/solid/circle-right.svg,sha256=alMgugUjVorXl_wtdYDpVCH6D8y0RX5fixnoVvlQbOY,580 +material/templates/.icons/fontawesome/solid/circle-stop.svg,sha256=zDOSXIWp-KDUEPv4vG-u3Oow0YWl7yNwVpXhKWqmZcA,449 +material/templates/.icons/fontawesome/solid/circle-up.svg,sha256=Pqi3Jktpu98_M2-PEFoDEZkjuYo142afqle1vBCh03g,580 +material/templates/.icons/fontawesome/solid/circle-user.svg,sha256=bBQeU1qgJb7en3HY7ob3HOWM1Y-p8f-JhALLBNbtilQ,502 +material/templates/.icons/fontawesome/solid/circle-xmark.svg,sha256=z9adQQafi-aTgS3BHcDLsKNVSzwrNjtqIIwKRiRb8eU,570 +material/templates/.icons/fontawesome/solid/circle.svg,sha256=2Eh77uGz6oETHC0KmkOkvsCmi8mJoalJwlCvu3ZwYx8,339 +material/templates/.icons/fontawesome/solid/city.svg,sha256=BHmOAu6UO-Vvv-dLlnpS8P1m9W2501tAjJ2YIoXCom8,1638 +material/templates/.icons/fontawesome/solid/clapperboard.svg,sha256=Q6i7ewMNKNiaJHJYDbFX22H2B1Fpc9i-zFrX2wKtp1g,561 +material/templates/.icons/fontawesome/solid/clipboard-check.svg,sha256=HHvUXpSWRHUtC4erJHMrL9PZTLa0VwW44OVAiRu-TXg,637 +material/templates/.icons/fontawesome/solid/clipboard-list.svg,sha256=MaNM6JjCf_b45wAMDW_zwDjTtpCJ6ukaWb0PMzvW3HU,745 +material/templates/.icons/fontawesome/solid/clipboard-question.svg,sha256=dban4RbU38aGuROGOKsHhBFO7jug3mtB3MvOMmgDW2c,875 +material/templates/.icons/fontawesome/solid/clipboard-user.svg,sha256=FaIlEdTJyvVD-0eeUp23WXDfryuhri257et3DY_6g0E,633 +material/templates/.icons/fontawesome/solid/clipboard.svg,sha256=o_XY1GrXLGfMJwfbHnjMIFDal1w18GDsZk-GrrSqFAo,576 +material/templates/.icons/fontawesome/solid/clock-rotate-left.svg,sha256=Uexi40GBE-bWF5IsISpVPH6T-B46WmJblkKGzeqpHFE,753 +material/templates/.icons/fontawesome/solid/clock.svg,sha256=5KwPM1ICxompRC6SDDdRDPBT05cmKfDHDNdFewWjVng,468 +material/templates/.icons/fontawesome/solid/clone.svg,sha256=lJGljinU4skdnBPakNbzNyMc4GNy1Q5bY-gkFRe_9U4,507 +material/templates/.icons/fontawesome/solid/closed-captioning.svg,sha256=LngrKwgdHiRSxtkPU47Auz0iSRPEfrhEZQyAndM2xVE,899 +material/templates/.icons/fontawesome/solid/cloud-arrow-down.svg,sha256=osGTSPAcZJ2mIbxdSWORKr-8o7DfCs5yhW-pC2OzG90,733 +material/templates/.icons/fontawesome/solid/cloud-arrow-up.svg,sha256=JZJO-H72OrKwj4JTyQ5pgqWNcb5Sh7gsXXtM1TdQIj0,731 +material/templates/.icons/fontawesome/solid/cloud-bolt.svg,sha256=OfT_l6mZf76c2SM6dVEELBvOL869S2VbmCQQjIM-gIc,836 +material/templates/.icons/fontawesome/solid/cloud-meatball.svg,sha256=4IB9TUKI9m8DtZRqCn9e3anjks1Jnonzp-42nHDL7Cw,1384 +material/templates/.icons/fontawesome/solid/cloud-moon-rain.svg,sha256=5Xt0L50HxHKRs4Ub9ob0N4E--popAAqtZleWqhM4ZF0,1303 +material/templates/.icons/fontawesome/solid/cloud-moon.svg,sha256=EduWMdHkDGo5c16XNjJ8ICdZTKxd7XnC2FIkOtvQ1mk,876 +material/templates/.icons/fontawesome/solid/cloud-rain.svg,sha256=BzGD4dOr-0a_J6Jx0NBpBQpFpJYcj3zNDWnsy7XaZfg,983 +material/templates/.icons/fontawesome/solid/cloud-showers-heavy.svg,sha256=WICeP9ZjIRwndCqVOOvY7gnI7GLT_-3x4YCIlUtggV8,1051 +material/templates/.icons/fontawesome/solid/cloud-showers-water.svg,sha256=duFOu3tgmwek_KK24GBbGR1_2pTMWtBcdQjEjw_d104,1518 +material/templates/.icons/fontawesome/solid/cloud-sun-rain.svg,sha256=eHAsflY8xqW2XMslh_fJ-EbGtftiEQ9v2Xs68Id9Kls,1555 +material/templates/.icons/fontawesome/solid/cloud-sun.svg,sha256=Jrwnaje9726iZuWBQ6oSZCfKf_JZDV1ZgrkJQs_10kM,1096 +material/templates/.icons/fontawesome/solid/cloud.svg,sha256=Gt5NeorZ_1V5vAyPk_KZimoRW5hiOP7SdCFqI_NcfvQ,538 +material/templates/.icons/fontawesome/solid/clover.svg,sha256=jRELWrmSjm-92h538SsD8V4iXL0P3KagsF77LAdJpW8,1484 +material/templates/.icons/fontawesome/solid/code-branch.svg,sha256=2Sp-4AQn5GyfZJPml9bNmk-Ddg1sQGpyLbcJsjBTtXg,795 +material/templates/.icons/fontawesome/solid/code-commit.svg,sha256=1KgvtcMPKH4elYDYKyCpAIsTIOOISuJisF_mMFSnr_s,521 +material/templates/.icons/fontawesome/solid/code-compare.svg,sha256=nhmP3xS6Tzu0zuquuLY9KzJ6JhZjanDu-J-4bzsNU-U,979 +material/templates/.icons/fontawesome/solid/code-fork.svg,sha256=sGUrBb99jRZ-R3qIFtkj0yeEQhLlwqmWTOgwnCpWBmc,790 +material/templates/.icons/fontawesome/solid/code-merge.svg,sha256=28MUURj9ekXKQXLkkvyDNfybJ7fBeZjx347L52twtb4,745 +material/templates/.icons/fontawesome/solid/code-pull-request.svg,sha256=7G9IQTF9o8_5BE8pwqzvwsAA4xxCMJlVuFOsg4dPq7I,913 +material/templates/.icons/fontawesome/solid/code.svg,sha256=8F-tWeNf_lBL60ko-Wxmj_MmtLaHt8BuF_m29CRc3Bg,751 +material/templates/.icons/fontawesome/solid/coins.svg,sha256=qFyVgCxaHYHYQoL3HCr9uciw3SvKmyVDkDxMWngHy7E,1600 +material/templates/.icons/fontawesome/solid/colon-sign.svg,sha256=PWidMXAUwqOJcPJJPobl891gaJTBOlbIrWAiNj7bPDU,1003 +material/templates/.icons/fontawesome/solid/comment-dollar.svg,sha256=0kgWBYyWu6DocnzBALkl2fgDHXdPoRTR_vRW7o-6xGU,1352 +material/templates/.icons/fontawesome/solid/comment-dots.svg,sha256=eLjpJgS2BOEvQ48lakXl1fiuyiikfP9NQjhMs2A3BAQ,746 +material/templates/.icons/fontawesome/solid/comment-medical.svg,sha256=88KtD_cMwYJ1HJ_AmHZkC3ZtA8OWze1Gg89av9-XwEU,826 +material/templates/.icons/fontawesome/solid/comment-slash.svg,sha256=4dDMW51SeweljY4xG1GY-fl2a0SJfYpYWZXNa32xPIk,845 +material/templates/.icons/fontawesome/solid/comment-sms.svg,sha256=8LKigstpQLtqR_eFRbHzRzqo_JStaA2gupQQt55gFIQ,1496 +material/templates/.icons/fontawesome/solid/comment.svg,sha256=FzS4zsMXPjUu-7SbIIpLrToDtlIC8H9cLVSKiCP2rM4,620 +material/templates/.icons/fontawesome/solid/comments-dollar.svg,sha256=B6xd6mrWTFp9oPusWXk3PZuKCmH2IKwTqa6Lktc1LTM,1711 +material/templates/.icons/fontawesome/solid/comments.svg,sha256=smPnw1XTlYMOCnDox2lnNiKb8KtWKsAHOq3hgqHJbzg,975 +material/templates/.icons/fontawesome/solid/compact-disc.svg,sha256=aTKIf9ZvB33ZprqHiEnHxH81-3fvcVK_RQHbuB7SLRc,580 +material/templates/.icons/fontawesome/solid/compass-drafting.svg,sha256=gjCxcN8GzuKlt9YkfOuxf6WQNMo5iH4o3TvISpbDuq4,1034 +material/templates/.icons/fontawesome/solid/compass.svg,sha256=LcCa53RF5A3LICxkhGs0h_i7icSleuxeFqIOASDqT6E,545 +material/templates/.icons/fontawesome/solid/compress.svg,sha256=rx0ZUHtTsaj3jjdmhhGa5ip3860o5yu761pA4_HlJhY,745 +material/templates/.icons/fontawesome/solid/computer-mouse.svg,sha256=WseI8-s9TQYWRDPKcTQtQ2WxInXWtvCn01EAK37d4A8,444 +material/templates/.icons/fontawesome/solid/computer.svg,sha256=Tse571oKroasKEQ5G0uhBEb1DvNRzMtHb5HgPHvQyyM,840 +material/templates/.icons/fontawesome/solid/cookie-bite.svg,sha256=BlQLge1ZlH9dRGK84EABfxBsohWgNdwRpW8Dsb0DwLY,853 +material/templates/.icons/fontawesome/solid/cookie.svg,sha256=I42Bp6XP_VUado8ytG4wh9zFfIjvsEBG2NWEAqEKxvk,809 +material/templates/.icons/fontawesome/solid/copy.svg,sha256=x_yM1OX4ec7h2_RqdEElFgSRGW97Qkp6UQCMEOzYPZE,542 +material/templates/.icons/fontawesome/solid/copyright.svg,sha256=fFE9nG6UiZmRTYek9rgj9_uePo4V7q1KwTbE_soOYIA,556 +material/templates/.icons/fontawesome/solid/couch.svg,sha256=Rnco5crdHrpZamp5Bav_VtA96Eq3DPcKH5Kct7I2bco,675 +material/templates/.icons/fontawesome/solid/cow.svg,sha256=VmIINtDZmbzIYDjf1ZhAk7UcA75YCc7D4UQXnNBKnl0,1184 +material/templates/.icons/fontawesome/solid/credit-card.svg,sha256=tz7Cc2Vk9HpA_DX94y28fS6dx71SedsOCElJlwA8hVc,586 +material/templates/.icons/fontawesome/solid/crop-simple.svg,sha256=jn6nCr1pULHsxXDhCfku39-DEF4h1G5rgPAe18fzzsc,547 +material/templates/.icons/fontawesome/solid/crop.svg,sha256=-4PB59vPVGQKgLbDBOz4-mDld7P8AGuAAW83EGV1-GU,610 +material/templates/.icons/fontawesome/solid/cross.svg,sha256=MT5fejpBKI0ilBadu66HNu3NgBbfnneyvoKdVpQF46U,508 +material/templates/.icons/fontawesome/solid/crosshairs.svg,sha256=oyeMyx-eIYhIBMmC90R6G9ry-bHZuTzgx8ACaHp0XOU,978 +material/templates/.icons/fontawesome/solid/crow.svg,sha256=dR3jD37CfXPIv8qvBvc-UgkNsozqTYKYHaxi-jWgxuY,701 +material/templates/.icons/fontawesome/solid/crown.svg,sha256=kxrFsMruJ1oZmUeEn2PYL01OSF7C0IR7JppbMTzwuYE,688 +material/templates/.icons/fontawesome/solid/crutch.svg,sha256=s6kvPbm4qVp3wG2dA00sfsY7wuoyTq2RkTdqZ4Hte3M,833 +material/templates/.icons/fontawesome/solid/cruzeiro-sign.svg,sha256=UrCeqnW8B80A8oE70b3Z-Ikg8w1V4eo7j2kUzjv7uFY,819 +material/templates/.icons/fontawesome/solid/cube.svg,sha256=P03Z4qJbYrq7HXXDw4961i9vHjAuj1GmTQf7CPT4lVo,573 +material/templates/.icons/fontawesome/solid/cubes-stacked.svg,sha256=4mPK47nO9XW-B_ab1glLbGkVqlVC9hEAtOPnvJDQHk4,987 +material/templates/.icons/fontawesome/solid/cubes.svg,sha256=NhhzAqWLdSA52ltMMuY0CFWchq8qOuh8aj42o3sNE7Q,1045 +material/templates/.icons/fontawesome/solid/d.svg,sha256=fy4jGAIX8rYALimqrOvJqkFXePziUCvDe3mt1fHtXG4,449 +material/templates/.icons/fontawesome/solid/database.svg,sha256=h7Ln49qGmo8uMXycYaxKlFqZF62LDb4bKiLNDBLS28I,708 +material/templates/.icons/fontawesome/solid/delete-left.svg,sha256=NRly4w3ehf0i6SSYekBqwt2aqc0KGtNp6oJYToknp5I,698 +material/templates/.icons/fontawesome/solid/democrat.svg,sha256=wLlFz7VM9cMfxPZZjCYrEAwnIKaKbj9QTFdwbGegiko,1767 +material/templates/.icons/fontawesome/solid/desktop.svg,sha256=KEhtU1-it_Abhr5IOWKtFPjsdkyHAjw2BcLpuFQQlVg,521 +material/templates/.icons/fontawesome/solid/dharmachakra.svg,sha256=FSOWyMHv6JZq7euUQ1CFumicPFXfaGf4xUdUUGngCL4,1730 +material/templates/.icons/fontawesome/solid/diagram-next.svg,sha256=n-iPuTCsOCdDRKJFUx3UxWOjmMAYT4umD6BeBDmHh1Q,752 +material/templates/.icons/fontawesome/solid/diagram-predecessor.svg,sha256=AIp2T2diHdlJmMmOtrPWyQwAylZFVwSWOD8xe9g9H1U,653 +material/templates/.icons/fontawesome/solid/diagram-project.svg,sha256=F0XN9eJS7PY0oEJ_SgU5RtlYj3pmgftctGIXOv6-RiI,613 +material/templates/.icons/fontawesome/solid/diagram-successor.svg,sha256=ef1BUasLed9SXZYOZIPjONk47OTjPJLljgTJt8Bpmu0,648 +material/templates/.icons/fontawesome/solid/diamond-turn-right.svg,sha256=fLdjc_CWftAgEE5UDF0Gh_c1CY1S65sEWbMxHDXYjYI,676 +material/templates/.icons/fontawesome/solid/diamond.svg,sha256=VlTns9G93MaGJjkF71x2p4a4cn12T6yImcIMXcPFrzg,446 +material/templates/.icons/fontawesome/solid/dice-d20.svg,sha256=w_hSLLSWtN3kBppfK2aNiwmMzdpqVQ3te5Yz4-HwKRc,1576 +material/templates/.icons/fontawesome/solid/dice-d6.svg,sha256=27cAzZpWZ_rPqmOZlqcNZ0fI5MipPSPOVrDncRwrx2k,778 +material/templates/.icons/fontawesome/solid/dice-five.svg,sha256=h_xcOeR9BZyA5nW37rdvvttGXrIegD1E0gH15GFLY4c,603 +material/templates/.icons/fontawesome/solid/dice-four.svg,sha256=t1Emq3jjp2wVCtHK_IsK1XxPgZl4YWEyGiPOzvmUQuQ,566 +material/templates/.icons/fontawesome/solid/dice-one.svg,sha256=-nsQEHCeMepnWyNWl71vzkcVXnwealGfMmVvGzORZn0,437 +material/templates/.icons/fontawesome/solid/dice-six.svg,sha256=lv8qB19EHMaekmX6otNTZBpJS5tjBGzrP9gq8vO2t9w,648 +material/templates/.icons/fontawesome/solid/dice-three.svg,sha256=X4fCGvKFxt_Rbsvy_aA4IQIQ8-JIhdQwN3c2cdP9VxU,519 +material/templates/.icons/fontawesome/solid/dice-two.svg,sha256=Iou9BT9zQbm0muchVOr7Kz7Nck-EDmQx22vNEREbgMM,481 +material/templates/.icons/fontawesome/solid/dice.svg,sha256=7avA8bujewSWeH6Qmd8Iu_r3Yr5XEeTs7dMyihWyVJU,844 +material/templates/.icons/fontawesome/solid/disease.svg,sha256=xHf3pPqPDgVyAvpQAPntcCPSEm0fafHfucygmOKp8eY,978 +material/templates/.icons/fontawesome/solid/display.svg,sha256=ioCj55pKN97WuneW_2FUGcp75TLY_Qbe9FMeQgyhOxI,521 +material/templates/.icons/fontawesome/solid/divide.svg,sha256=RbChWsFGsELzc5C71S0CAOjBZ-GKhdnPpusdmSkRLZo,461 +material/templates/.icons/fontawesome/solid/dna.svg,sha256=9ghXpM_o6RbpGmltxxM8-qoY2nNeFioF8WpxPkpvIzI,1073 +material/templates/.icons/fontawesome/solid/dog.svg,sha256=BqnANEOJUgwL1u_jIhKDmKL65i4fj-bZPcNN03FeUwk,824 +material/templates/.icons/fontawesome/solid/dollar-sign.svg,sha256=yfBGJEQW8QzeVGEhhEcJ1ULcV3EuKLbZ0bV0Z0YlBss,1168 +material/templates/.icons/fontawesome/solid/dolly.svg,sha256=AyK4Ir37Vf5dRx7ovjRVTg3K2BWgaDKj8fuCds9pJZM,759 +material/templates/.icons/fontawesome/solid/dong-sign.svg,sha256=uE12SaLGE1zf6bSbFO4Zz6n22RHqF0YL7plQ5FHhaxY,705 +material/templates/.icons/fontawesome/solid/door-closed.svg,sha256=GXXoI0h8GcCuMRSvJf0w9CEfkU_pavgT2lPrXGK6EFE,474 +material/templates/.icons/fontawesome/solid/door-open.svg,sha256=LmnuGjsVl7V2B7mFDi9H1n1UxPaSEMxyFna_vrMmnMY,608 +material/templates/.icons/fontawesome/solid/dove.svg,sha256=r3o-0yTMJVZ2bcz5Ag-zwbZTHhTa8T5GRgAT2bK03cE,888 +material/templates/.icons/fontawesome/solid/down-left-and-up-right-to-center.svg,sha256=qeJjBDnd5vPGceM3Iks0pPm6z2liPmGxTiGvv_ZAovU,701 +material/templates/.icons/fontawesome/solid/down-long.svg,sha256=wc9x5-v2oZfwp0BrgJMgjI-UY5MIv9_UHNYht1lGOeA,505 +material/templates/.icons/fontawesome/solid/download.svg,sha256=sRWNPGpBvkxLjmPEPxed7RGMpmxfTbtwz6QU-q9KNU0,696 +material/templates/.icons/fontawesome/solid/dragon.svg,sha256=ZymCo4Iqe8cwLi5fJYEsbeUhSWqK0tmM4nWfUA-N-A0,1200 +material/templates/.icons/fontawesome/solid/draw-polygon.svg,sha256=KP4RvfpCle3LCi0QlZH45nP1KUgftp2nnXbas9lH0tg,885 +material/templates/.icons/fontawesome/solid/droplet-slash.svg,sha256=3ZxmyQEgNv3ByYgFuQAys2zSYjJU5DXwMaMEsHamgyE,785 +material/templates/.icons/fontawesome/solid/droplet.svg,sha256=NivbQFRo6w4JpdR9k-yDZx0dZi_x5BJpRI4CztzUvXI,573 +material/templates/.icons/fontawesome/solid/drum-steelpan.svg,sha256=gXcInEZdagpOSIjekyWfbHD8TTWDgKr4laLRvO7acIM,979 +material/templates/.icons/fontawesome/solid/drum.svg,sha256=tPBlDB4UBTSS-t6gWaorF6xd_haWptvYio6PGD58KU8,1000 +material/templates/.icons/fontawesome/solid/drumstick-bite.svg,sha256=B1rw0D6kieRjOO4vBvr5YYDQ79sl56qSCI6VM-LMCFQ,763 +material/templates/.icons/fontawesome/solid/dumbbell.svg,sha256=z_oTqvm7PSRAthxEz6H4kGPyaeowcjAZZsDmox4MdKw,716 +material/templates/.icons/fontawesome/solid/dumpster-fire.svg,sha256=djwG-90xUFoeJmUT25e9N7Um7FT4DG8XsZSN_gRgH3Q,1219 +material/templates/.icons/fontawesome/solid/dumpster.svg,sha256=TtmWm2sKju71F7j0tkW075qZNb0MfkVWTmVeJAy8_JM,761 +material/templates/.icons/fontawesome/solid/dungeon.svg,sha256=BT5j9K2eDs8A3Dd-tJ4qg0wi2a0k2NFuB3RZWGD9-gY,1906 +material/templates/.icons/fontawesome/solid/e.svg,sha256=8O0HaZ3RBjE-UsCwRxdRier8gP2Zc8kBXaY4oOMMAwQ,478 +material/templates/.icons/fontawesome/solid/ear-deaf.svg,sha256=oY6WQnFZvrkhdGcguH88p3uBYexLk2KsRxLx95uAWtk,1031 +material/templates/.icons/fontawesome/solid/ear-listen.svg,sha256=AuS2LaNRp-7pVPARf359Rp3p8pJPNeakoBhaT5X801Y,1367 +material/templates/.icons/fontawesome/solid/earth-africa.svg,sha256=7H5QL9nKKxcyRR-COSf6WxUIFfdl8YyLvN0B2Y9EDmM,1146 +material/templates/.icons/fontawesome/solid/earth-americas.svg,sha256=HT9wy-LnzAwWHtA3m62YRb8jTCmidjpX1tAG2knkR7I,1112 +material/templates/.icons/fontawesome/solid/earth-asia.svg,sha256=tlV7C9fzFZmrYJQJTpkEvhTQaAAxkQur4WUAp4di3Fg,1392 +material/templates/.icons/fontawesome/solid/earth-europe.svg,sha256=UVVEYIVCWMzaEeF0kx17S1AUgo-60s2jP1h5EFSUSjA,1701 +material/templates/.icons/fontawesome/solid/earth-oceania.svg,sha256=WcGEdMG6vhZ515eYT8M5eHkkfrTdiZ9_eJYXv3BKLaI,1302 +material/templates/.icons/fontawesome/solid/egg.svg,sha256=xdOaP010V1CxrLHqDr3cqnjlO9u7LVUiGgQiRKHQQ-g,562 +material/templates/.icons/fontawesome/solid/eject.svg,sha256=Ng_dW0D9DasLt0vgm-gDsF9-F0aJItZYEO29aZpz1Uw,550 +material/templates/.icons/fontawesome/solid/elevator.svg,sha256=U14U238vkVQR8w8LYd_M0fwr6LkI9RJXYrN3DBqvOu0,966 +material/templates/.icons/fontawesome/solid/ellipsis-vertical.svg,sha256=X7GsHdJnlmJASRTSdFa_vPGB7a6y9tfRwv_RNMsVBQ8,420 +material/templates/.icons/fontawesome/solid/ellipsis.svg,sha256=bVax-opJW8SSjUb9jpVOgqK4xzGIqFqFC0aT-2uLyA0,420 +material/templates/.icons/fontawesome/solid/envelope-circle-check.svg,sha256=IGMQXqsQseP_tgnjV6Z0Uo2zt2l55TZBiL4fEUME3OM,826 +material/templates/.icons/fontawesome/solid/envelope-open-text.svg,sha256=qU1VAVhJ3zf0l8YqsK3gAjadWI_mHPSNmj4GVktCzQE,829 +material/templates/.icons/fontawesome/solid/envelope-open.svg,sha256=OiIFX_00Z8megnG-8YJautYKyA-7TGKp1M0IJtuigTw,576 +material/templates/.icons/fontawesome/solid/envelope.svg,sha256=I63l3VXkT8-US-_VOs-xGgx3O0KiV07MoC83aLpSdZ8,546 +material/templates/.icons/fontawesome/solid/envelopes-bulk.svg,sha256=RsAFvSi_hBsiKOEGw50GkMoKNCPveW39VcuBLLkJ5OQ,841 +material/templates/.icons/fontawesome/solid/equals.svg,sha256=_P7gZr2Lu88Yk_oKAe4SuHqGht5x0eiYp-axyt81P6I,463 +material/templates/.icons/fontawesome/solid/eraser.svg,sha256=WelUycN6rfIN_G1HuS6caImxFetXWD34w6yEQXhGJM8,537 +material/templates/.icons/fontawesome/solid/ethernet.svg,sha256=iQ0d7qc4ngDZIw1agZyaJeC3JMCrv86T-cgfS9H93qo,682 +material/templates/.icons/fontawesome/solid/euro-sign.svg,sha256=Crs6PdjXKh8Cg8mqN5WMTzZqzyKMljO9c5GibDVX-nw,751 +material/templates/.icons/fontawesome/solid/exclamation.svg,sha256=WlWyDjRcGZd0w8BfOnhiF6SCZp8JO7PA4qkTOEQYqLI,413 +material/templates/.icons/fontawesome/solid/expand.svg,sha256=Cn7AwNYd3M2xJ6nXbVwWVyHbHM3_NIlxYA3nAB-42Xo,742 +material/templates/.icons/fontawesome/solid/explosion.svg,sha256=Q8cLBLiNQGZsEXopB9UOnw-RzcYnv6KhIub29CG2ayw,942 +material/templates/.icons/fontawesome/solid/eye-dropper.svg,sha256=KmTUXzv5ssWL8WiK966Mtn7R_kswd8oLrv4OfvCB_Wk,741 +material/templates/.icons/fontawesome/solid/eye-low-vision.svg,sha256=hOXbK-yIc4sUQj_FfLUW-v9ZLYTA4PnaQSo5cIlf3mI,997 +material/templates/.icons/fontawesome/solid/eye-slash.svg,sha256=5S0M2yH0aX6KRggMwmkdQhd9OknomDpQDBYxErw7S7w,1053 +material/templates/.icons/fontawesome/solid/eye.svg,sha256=4T2C-uOjPkB0ExOl_Tr61nkTaDvN8__s-Cy2vAQD24Y,856 +material/templates/.icons/fontawesome/solid/f.svg,sha256=JHUXY9bnlRmYqvUM9DGV1GkXxN3RE2E6YGTdmaANDw4,449 +material/templates/.icons/fontawesome/solid/face-angry.svg,sha256=CHv7-SwSbzw11sUVP6MOEM-bres-6nDEVRZGcxBK_bk,970 +material/templates/.icons/fontawesome/solid/face-dizzy.svg,sha256=Xe9lwNyg8qzn1itqruUdCMFfh_Mgnq5SebupwzQGBak,908 +material/templates/.icons/fontawesome/solid/face-flushed.svg,sha256=NH54tpkhWUdXYNGd_DJ5AMeBV9krB7PJA05hT8Tg-hQ,597 +material/templates/.icons/fontawesome/solid/face-frown-open.svg,sha256=KEyRQtDEbrtXDiLsdsZIuAW4pglL2h563EiCFTl7OxI,592 +material/templates/.icons/fontawesome/solid/face-frown.svg,sha256=6HfJT3hEpfjHGqafSVE78ELpP-Uirvb4d_MQBd1XdgY,631 +material/templates/.icons/fontawesome/solid/face-grimace.svg,sha256=Kf0056lbfuJgSFZuVaXk4T3-9L4sC-G_zzkRgyyS8Ck,687 +material/templates/.icons/fontawesome/solid/face-grin-beam-sweat.svg,sha256=clpVHOuq3Qr9xMPqy24JBMU9TkTifnXg8LwgUJg0p_g,1575 +material/templates/.icons/fontawesome/solid/face-grin-beam.svg,sha256=mykHhavxlJ7HyvhE4PgS-QIPFs9WPduUco8p5YRek04,1251 +material/templates/.icons/fontawesome/solid/face-grin-hearts.svg,sha256=6W4gvK9GGkMvG7_SyS1FZgtJcKSfLkQW3xSYi05aO2M,865 +material/templates/.icons/fontawesome/solid/face-grin-squint-tears.svg,sha256=7k-65EtHaUqhmhbWa8ZTGNule8jdY7lSdSAzrr5VksQ,1595 +material/templates/.icons/fontawesome/solid/face-grin-squint.svg,sha256=WeldrVm4wwT555JRv3MiWK4hFRr6TVSLWFgw-nkgcYM,847 +material/templates/.icons/fontawesome/solid/face-grin-stars.svg,sha256=hBL2dSKdYRHGqiumtCAsqgpsVv3z47ZP7wJ8rOdRG4o,1096 +material/templates/.icons/fontawesome/solid/face-grin-tears.svg,sha256=D4qkmwHH5ohUYClmsGI_TCjkPUWr1H8xGxNppGAj0cM,2022 +material/templates/.icons/fontawesome/solid/face-grin-tongue-squint.svg,sha256=kSyGHod2Juyb8xT0gMM3OqaDXkELp4sXq5JfiFyIMm8,1148 +material/templates/.icons/fontawesome/solid/face-grin-tongue-wink.svg,sha256=IFw27WDlTQ6iGDxpEGDhq_vzdVULJ052lPiGvyNxDHw,1060 +material/templates/.icons/fontawesome/solid/face-grin-tongue.svg,sha256=3rH1QVtMzqb-EfGWR6BOz6S1dzmxmq_uMuMvuivLLAM,893 +material/templates/.icons/fontawesome/solid/face-grin-wide.svg,sha256=CZpBY_qt_PZM_IHUtUnhMOkSpcl7W5GKukKuWA65F3w,650 +material/templates/.icons/fontawesome/solid/face-grin-wink.svg,sha256=26teWufTm1mg8NrPvqS9BFbTr2zx56MCf25Muo9W9-A,708 +material/templates/.icons/fontawesome/solid/face-grin.svg,sha256=5U7yyhbNMmirVPbBH1jEUbVia3EUb5JJYYrn_W1KQ8w,592 +material/templates/.icons/fontawesome/solid/face-kiss-beam.svg,sha256=AqSGGgjYLopqPx4YkIo410GEzwdi6pQCPzPXAWeZmb4,1943 +material/templates/.icons/fontawesome/solid/face-kiss-wink-heart.svg,sha256=8hVcH88V0S82XfHVwk6i0RPzVWKd0P4VQzDIVBtCrs8,1761 +material/templates/.icons/fontawesome/solid/face-kiss.svg,sha256=I6tShmhNb_ixN3igzfOG52NQ0Fm4kgi2Y-EgszxxkW8,1283 +material/templates/.icons/fontawesome/solid/face-laugh-beam.svg,sha256=DQItY6xRf1L5oHt7EFgnA3bcpe2ewJ19AnsY1FZSY9U,1210 +material/templates/.icons/fontawesome/solid/face-laugh-squint.svg,sha256=NUINaVtdmGYxxaTDUfHc-CsuBBjnbXd-tyMI-XN2d0k,803 +material/templates/.icons/fontawesome/solid/face-laugh-wink.svg,sha256=PGJxfI0RZnPRD3Io1TTx4daDZvbC3RUbosN02BPhJuQ,666 +material/templates/.icons/fontawesome/solid/face-laugh.svg,sha256=xRO8-cne3wEPskPyK_COa-75uFfF0rmjp5UWOzJY89g,549 +material/templates/.icons/fontawesome/solid/face-meh-blank.svg,sha256=AnMyv7qgqScm4v3VrPb6KAaIXPd1RRhCmvt7Kigz6M8,423 +material/templates/.icons/fontawesome/solid/face-meh.svg,sha256=_1Vb58b5fPeWZvPXGcI2HNXr_SPxQdY1oaBKaBZ5QKg,509 +material/templates/.icons/fontawesome/solid/face-rolling-eyes.svg,sha256=6hAQm13iJWgvCyv0mTzhUbkU94JZBt4ues1CDCXNQcA,793 +material/templates/.icons/fontawesome/solid/face-sad-cry.svg,sha256=fD6S8SlOte34cfDD1KW0TJ4kufYGZrc0k3VHZSn_ra8,922 +material/templates/.icons/fontawesome/solid/face-sad-tear.svg,sha256=h-mzQ7IRY87-kgo8ZPrNnU-GuIpeqwuTygkjR0KXy3Y,690 +material/templates/.icons/fontawesome/solid/face-smile-beam.svg,sha256=1Gf8vveuKpWCD3umr5oHoO0MHz-uKk6QzQOckrNc9vQ,1285 +material/templates/.icons/fontawesome/solid/face-smile-wink.svg,sha256=5jYW-udOPr-OP3u5w-MSpLsURz37Oh3tTrX1RuxILtQ,743 +material/templates/.icons/fontawesome/solid/face-smile.svg,sha256=1_USO628t2vIShVPn78CbR0q3aceOY1mMCqGd6unIL8,626 +material/templates/.icons/fontawesome/solid/face-surprise.svg,sha256=bJmPA9vdJGjdaG0_cpY9KC7a2igsVjhjJaqe2bfH3RY,471 +material/templates/.icons/fontawesome/solid/face-tired.svg,sha256=MGQnE0f_pzAQAE0zCPoGDMn4teMSw2PZ8dVx38sOVn4,1019 +material/templates/.icons/fontawesome/solid/fan.svg,sha256=rADHPv_VwPpbHesifsb5luEBPbIdM-goqsxsHQMATUI,801 +material/templates/.icons/fontawesome/solid/faucet-drip.svg,sha256=k8gjA71rgT4UFtIdry63ziL2gAhMWNZOYkrl6q-gsec,922 +material/templates/.icons/fontawesome/solid/faucet.svg,sha256=0QX-R9-jygw2RB4TSWRPNlnLrtAdCQzClDZYIYz0lJo,753 +material/templates/.icons/fontawesome/solid/fax.svg,sha256=n0nFrp-FpXh_SxDlPqMNJ274ZkjuAemORsUX-Wmjdo8,778 +material/templates/.icons/fontawesome/solid/feather-pointed.svg,sha256=d9SsnYGboy-R5tty4sYkXecmdskzaT-AxHeRaLaXKts,885 +material/templates/.icons/fontawesome/solid/feather.svg,sha256=xXXKr7MydX0kJCoAaH3ci9k4sPogfSVQdTUYG6R3rP8,805 +material/templates/.icons/fontawesome/solid/ferry.svg,sha256=-eDFPz4yx8Pb_YGroKmtyr4jEXc6fvvFJu0tkvYcsGA,1339 +material/templates/.icons/fontawesome/solid/file-arrow-down.svg,sha256=lLToIJGry9N-a3cgFPmcwbQf_mH6EkQEbzx5HJZmRRM,607 +material/templates/.icons/fontawesome/solid/file-arrow-up.svg,sha256=6PtcwK6jwJLq7s7sI4cbkTiusYgZddSbFszVfMBGi3M,609 +material/templates/.icons/fontawesome/solid/file-audio.svg,sha256=FSPaGX9pXnhYI4jhDBqBTSSJxjNJdz89dw5tvF1M2Jw,985 +material/templates/.icons/fontawesome/solid/file-circle-check.svg,sha256=MtuzLocR63QF3Rl-0gS9jFm6H5Toz6mLkMTD91A6Cz4,689 +material/templates/.icons/fontawesome/solid/file-circle-exclamation.svg,sha256=bkc6-5vXskiuaiL8cj8H0FWI3w00ygt559KvWB55Vdo,653 +material/templates/.icons/fontawesome/solid/file-circle-minus.svg,sha256=b9XkagZg4l895O09mP89ZK47TS4NdftVubJ2P6-97kk,615 +material/templates/.icons/fontawesome/solid/file-circle-plus.svg,sha256=sFwoJuw9shFBpc-pIFaKQsLWKx-cf8i_eh8b8fi_lSE,693 +material/templates/.icons/fontawesome/solid/file-circle-question.svg,sha256=wa9i9spKf5pqRTFLbCHDit6cOIA9G86u1aDh9T0veMM,868 +material/templates/.icons/fontawesome/solid/file-circle-xmark.svg,sha256=DcN6jkP9chEG16Rp3H77MeT8PKvRRqLUM7qvsjO1zWw,784 +material/templates/.icons/fontawesome/solid/file-code.svg,sha256=8tEpG0aT-DAEqfwqL6wyZi4kTVtMgET5DnL9Dm9Gbo0,702 +material/templates/.icons/fontawesome/solid/file-contract.svg,sha256=nrOXgSaZfx7REBXmVLbK3HVZ1rVmQJTLYCDAnQ494XI,1001 +material/templates/.icons/fontawesome/solid/file-csv.svg,sha256=w9MEtr5woYJ1xVZwuFCIx4WKb-lDvfAU-_mSVG2XjXw,1261 +material/templates/.icons/fontawesome/solid/file-excel.svg,sha256=0Er7BcmI0OiHTTs_ZebG2nvEbtcOgKhMOwO4AU6u5fQ,695 +material/templates/.icons/fontawesome/solid/file-export.svg,sha256=87NVxCrUcBtcvCp4henpMXJkpHdTbo-20XJC3uHxSVs,626 +material/templates/.icons/fontawesome/solid/file-image.svg,sha256=3EbPtiKhbkkGNDHCvfjddd0YAjyq8YLx1NPxOuK2uL0,679 +material/templates/.icons/fontawesome/solid/file-import.svg,sha256=He8F-w5zmjok6MaQH94SfszhXmQmOb40wCPZRok2F3k,629 +material/templates/.icons/fontawesome/solid/file-invoice-dollar.svg,sha256=RqTLZdyMI70jxh7CE7AGhHLR_XaUoLhDrSf0G48VCBg,1357 +material/templates/.icons/fontawesome/solid/file-invoice.svg,sha256=SSE7fojTwY91N_QeqEbKuOiKEMKbiJ5L20IuK9iZNt0,786 +material/templates/.icons/fontawesome/solid/file-lines.svg,sha256=CHcTWcTzvVEKscCFYdk-wTuZNynw7KG_y3naKhRpYeU,664 +material/templates/.icons/fontawesome/solid/file-medical.svg,sha256=1xW9768Yd_YMU-C94B3p6dvMAd2omaj76TLuoAwozL4,626 +material/templates/.icons/fontawesome/solid/file-pdf.svg,sha256=Aod8Kp-2w6EJfkZrAzOjzKhwpBtze1gnpaPOlfaxbRc,908 +material/templates/.icons/fontawesome/solid/file-pen.svg,sha256=YnKl0s4EMclmBXcJerLNfBQP6_JOnsaOkgspltNJ3HQ,732 +material/templates/.icons/fontawesome/solid/file-powerpoint.svg,sha256=kPVjpnnUr9zBWr2Xk8YSkrZKHuDnfVJzgOowlSZuqFE,585 +material/templates/.icons/fontawesome/solid/file-prescription.svg,sha256=vNwv0MliwPMX_uM98IcTPj6uCuvlJuWuBT4b7GHg4Pk,809 +material/templates/.icons/fontawesome/solid/file-shield.svg,sha256=yOw-f58T9fzPQYYArmpPVQp5awQa55gI_ui_9aN9iK0,729 +material/templates/.icons/fontawesome/solid/file-signature.svg,sha256=1-dhdxW2KsC93hI6WXw1tRYdFGsGoTNJsHjnj1EDaK4,1199 +material/templates/.icons/fontawesome/solid/file-video.svg,sha256=XhvwmHUGgOtBGkBbFxqKKOvuT2YQzCC9lE0NjnyN_hs,661 +material/templates/.icons/fontawesome/solid/file-waveform.svg,sha256=tpkiEJTEA05mV3xgx-ikcHpHG9N2Ll_o_yRGI_ePAoE,673 +material/templates/.icons/fontawesome/solid/file-word.svg,sha256=zUhDJZnVV0aCbGoz8CkNQ5RYp6FZJh1VH5GaAGfyQV4,746 +material/templates/.icons/fontawesome/solid/file-zipper.svg,sha256=_bGDcjyHWy9kr71DwQH9yBx6LL8jblmQWM7F2t9BsTk,938 +material/templates/.icons/fontawesome/solid/file.svg,sha256=2cbbfFr7TNGQMb7REW_jmizJI9xaXgo6KpkizSezJe0,423 +material/templates/.icons/fontawesome/solid/fill-drip.svg,sha256=itBtraJ2HzuxVVA9AMhpglfRcTTXpaKDvO0xUNWBMMc,870 +material/templates/.icons/fontawesome/solid/fill.svg,sha256=6Tu9byBZlsiDs73RavxDrWCLg8SC4M2hWjhHnFdq-I0,726 +material/templates/.icons/fontawesome/solid/film.svg,sha256=6DONRWWCO3bAD1X9NXLKUpRr_1Nu7Af0q568t24pn-0,1203 +material/templates/.icons/fontawesome/solid/filter-circle-dollar.svg,sha256=PgnrEBzQtx68u3AlQIqdlDF2sIq9TfEgzB7Y8xORsVM,1366 +material/templates/.icons/fontawesome/solid/filter-circle-xmark.svg,sha256=UpeMuFNfEB3ZFBnopDrgYQYOsh4uHSjt62FLBoILX9I,838 +material/templates/.icons/fontawesome/solid/filter.svg,sha256=5iYfBvVrebMDKJXXPc7kpj-Ft4y2WWvvplVXGhkgrXk,503 +material/templates/.icons/fontawesome/solid/fingerprint.svg,sha256=sshWb2h9dpd_Y76GLZe9jVvyPzOCuq1rbBsuLAGBSG8,1616 +material/templates/.icons/fontawesome/solid/fire-burner.svg,sha256=J7kCcPfaqpsheHxYuq6puzDhLhOd-Tn3IVHo3YGYM9k,985 +material/templates/.icons/fontawesome/solid/fire-extinguisher.svg,sha256=a607OFzxHV46fPnKDLUkapnj-zjA0yCOlGZQP1HPwwM,817 +material/templates/.icons/fontawesome/solid/fire-flame-curved.svg,sha256=zVwrpWrWqeLKUoPxcBYsmUXYsaefUQHHL-YIhgPQJEU,699 +material/templates/.icons/fontawesome/solid/fire-flame-simple.svg,sha256=E57EikPpAuWEL0FTKmM8kCpmmezM7PC0bx1s3ljLo-c,759 +material/templates/.icons/fontawesome/solid/fire.svg,sha256=r2mQ1IjuvsARDVfgNuSJdISys_Hjo2qARObBl1U5yxg,802 +material/templates/.icons/fontawesome/solid/fish-fins.svg,sha256=PzCCqFihjcAEm17W1_FgCMiuBzEjOBwRP8uH8fbmFys,859 +material/templates/.icons/fontawesome/solid/fish.svg,sha256=yZ-qYX8rOPop4jTYE-lzIfrNp1KC6QTOmzmwcQS_JgQ,717 +material/templates/.icons/fontawesome/solid/flag-checkered.svg,sha256=I6c_huXPm1QeE3m7wKdBteiraP4mxRdif25Yk30PO7s,1167 +material/templates/.icons/fontawesome/solid/flag-usa.svg,sha256=KswrtQPVA14HoV6oYLCygiFWdsTLfDlx3jG1o4279B8,1283 +material/templates/.icons/fontawesome/solid/flag.svg,sha256=-kzt-MjtifvJm3xMCh8WOwmx5S8jHRWqR9QnGy2B70c,582 +material/templates/.icons/fontawesome/solid/flask-vial.svg,sha256=MFvAHGDxIKlmOEfgkQmkSSu6nTaycwBLMWGx9NvB-Wk,798 +material/templates/.icons/fontawesome/solid/flask.svg,sha256=aHMYYaKdfqw29gWYIyh0V4DAIyS4yW7Gievk_5GTlvA,670 +material/templates/.icons/fontawesome/solid/floppy-disk.svg,sha256=sGEGZN6O_2CYvo9WFzcN32yuXrMQGfyiOalcobSWM3w,586 +material/templates/.icons/fontawesome/solid/florin-sign.svg,sha256=lp5GlUng0sr_T_apYeIM8PQU-YWH_8Xjyc9xK1UBpHE,628 +material/templates/.icons/fontawesome/solid/folder-closed.svg,sha256=mKb7HoO9Ir5CwJPfcNKkyGEKqLQn5RLvsYTGm8dz4Mw,482 +material/templates/.icons/fontawesome/solid/folder-minus.svg,sha256=00boAMq0HHVPP-WoF_pbd9Fh0bFzK2xTjEX5KGiJah0,553 +material/templates/.icons/fontawesome/solid/folder-open.svg,sha256=lAXUspCGAf7PdLq2NSU6H_Z8O8vnJw1jeTF3CzGeWzI,634 +material/templates/.icons/fontawesome/solid/folder-plus.svg,sha256=4CC2O2GWNpTYvc36cmKhZjPehXmEkhupzjTYSKZwYTo,644 +material/templates/.icons/fontawesome/solid/folder-tree.svg,sha256=GDngZStDJjvMtlQVlLpx6YvHDg9OnJCWwW9Z5erudfk,728 +material/templates/.icons/fontawesome/solid/folder.svg,sha256=D8H64qdwGU_G3PxYhEMNxdXQ4nUumuPE3Q2cdbr14gU,465 +material/templates/.icons/fontawesome/solid/font-awesome.svg,sha256=ufXYqr4o55RspWjxOYVH7_x1Sz2c6uQ-b8BLg5MKeQA,701 +material/templates/.icons/fontawesome/solid/font.svg,sha256=id0Fw2UOoGeFpEh0KnG_oGjvvpoiyOWjBo7m-yXkAEA,586 +material/templates/.icons/fontawesome/solid/football.svg,sha256=Y1ydSfLgnDFIxuow0JEWFU0uvOFPM7Nnm8hfct3Iv_g,1057 +material/templates/.icons/fontawesome/solid/forward-fast.svg,sha256=B8DCzAeWGVK92WH5SmVyll0uQ04j-9JIk0-d7t_JM9M,613 +material/templates/.icons/fontawesome/solid/forward-step.svg,sha256=U43wb_r9Xp8z18qej8LOlgm7sQ1cpY5mtJNHaF9ATQM,504 +material/templates/.icons/fontawesome/solid/forward.svg,sha256=t0g2DQiTUnONegYKTTPggojEgYd1sFWDRi24UJYCuc4,582 +material/templates/.icons/fontawesome/solid/franc-sign.svg,sha256=iPOigRRD9BIw9U9OzuYF9RMVblOe1OKF_lxfhCnz5ec,544 +material/templates/.icons/fontawesome/solid/frog.svg,sha256=SvoRq4pBlZiLe3gDVwiPFXoPyL2-H2iHadOl61tkXQQ,896 +material/templates/.icons/fontawesome/solid/futbol.svg,sha256=Xq6DyC4S45MAMc99nD0uOT4cerjE2AAplIbEYSblbJQ,1007 +material/templates/.icons/fontawesome/solid/g.svg,sha256=QigVv64s-rMSi7aH2JcQICGsniNM9YbetqvnOAMOTlE,603 +material/templates/.icons/fontawesome/solid/gamepad.svg,sha256=qawhRwMF08u2DjzMqpORmU8rFYImRb3DZ4uw4nioTCU,640 +material/templates/.icons/fontawesome/solid/gas-pump.svg,sha256=61FjCePDI3HGq-stUCOZ1KWY3sm_k41RD0Z-fyoq2Lc,766 +material/templates/.icons/fontawesome/solid/gauge-high.svg,sha256=O85AwXHCTmB7_VQ5qtr7JzMIwJpM5ZpSYyDtre9V0h0,667 +material/templates/.icons/fontawesome/solid/gauge-simple-high.svg,sha256=qklFG5cCZ7B7uLqOuQqtBT39EU6chIpntkJrXOCGcFA,508 +material/templates/.icons/fontawesome/solid/gauge-simple.svg,sha256=uRS-Fqdn8XPJAe3IHcaz5mN0h229OQ-Fc4iWq-YBUiU,476 +material/templates/.icons/fontawesome/solid/gauge.svg,sha256=aZOlb3N_7vOpyZ-in-TvPQpb0wO8PynqzHOrSP2RPCg,646 +material/templates/.icons/fontawesome/solid/gavel.svg,sha256=A5LlEBuIPTFSNvNqQ5c9TJoaron64gx8Gn9tWVebjEs,794 +material/templates/.icons/fontawesome/solid/gear.svg,sha256=Aj9fIWhZAFJ6qLmYzMt2Y7LGajgjaK9T6bYK8cWNmXE,1318 +material/templates/.icons/fontawesome/solid/gears.svg,sha256=wkUTy9KAtJGxH3s10c_g3ZVXczhnQEDrRxfeF1GP8h8,2240 +material/templates/.icons/fontawesome/solid/gem.svg,sha256=PFuEWfBVlh9juaddVuBUbswiFeQldhAOD9UI6ElU7qw,732 +material/templates/.icons/fontawesome/solid/genderless.svg,sha256=o29GU4pH6c3dkqyZEme5jYpuP4BHaDvPcbPOoTvh1UM,386 +material/templates/.icons/fontawesome/solid/ghost.svg,sha256=nftQ_5gvq3CPSdSPTHrtWRZvWwZ6etmrhGsG8dJGOQo,732 +material/templates/.icons/fontawesome/solid/gift.svg,sha256=qnGJIdyF6uTJNvvpfWzYGwPklZ4cYfmVSeRm7jldzEk,851 +material/templates/.icons/fontawesome/solid/gifts.svg,sha256=D8N_OFGqqdTC13CsDx1TKpHxDbpkRd7oG79kKQMqel8,1264 +material/templates/.icons/fontawesome/solid/glass-water-droplet.svg,sha256=FIxVLnCroNGJVSyzPs94HzHuliST606k9cHPrE2KNTM,687 +material/templates/.icons/fontawesome/solid/glass-water.svg,sha256=hBDnoWCQhG0RDIXtJ8pC51yxo9X4oNO6KuoVA8Kk3FM,591 +material/templates/.icons/fontawesome/solid/glasses.svg,sha256=_LQzQk6AebYlHpUkhdU5RpUn-z8uXyzhPhZkLSHF9VY,1631 +material/templates/.icons/fontawesome/solid/globe.svg,sha256=hdQIuO6KqZ80rHvQ61LsvTkujHFSFfTGlLuOzZIrblI,1261 +material/templates/.icons/fontawesome/solid/golf-ball-tee.svg,sha256=-dV6uxDZBWWTSavKlTAJUFwDsTI9esHRYEpBYQIfEHo,1038 +material/templates/.icons/fontawesome/solid/gopuram.svg,sha256=7-dqfYBltoPFchNs3A8zm1a3AXLTgebwqJAMq0j-6_o,920 +material/templates/.icons/fontawesome/solid/graduation-cap.svg,sha256=u-ZogHIyc6fcCdVqq8c1oFyoWPEY5HodAZIvMYlSM3Q,1034 +material/templates/.icons/fontawesome/solid/greater-than-equal.svg,sha256=ZeHVftaXe0YJ7hJd7fAKaG2fXZKYk7x5szir1tutiAs,566 +material/templates/.icons/fontawesome/solid/greater-than.svg,sha256=GkwmgBtH7_Gy185Nv9xpzpoCCAoUO7xBwAXzXj7GoFY,491 +material/templates/.icons/fontawesome/solid/grip-lines-vertical.svg,sha256=bDQn8-WuNwKiUbVQoiYeRdOKRFHGBLsqUlNL7yedjjA,457 +material/templates/.icons/fontawesome/solid/grip-lines.svg,sha256=_guH_yv8Y-KtK4pXSRgBGLC45o0LhplWqUII6L-8llQ,463 +material/templates/.icons/fontawesome/solid/grip-vertical.svg,sha256=m5lrwFU4ZCzUOf9k26eKQASJEcEJNKOU2lNeWaKGzgE,927 +material/templates/.icons/fontawesome/solid/grip.svg,sha256=7hZe3fqX45I6jLEwVcuEiQQn3dEipgWhL-5i5T09osw,932 +material/templates/.icons/fontawesome/solid/group-arrows-rotate.svg,sha256=yIaSLqcpfwzwd-HJ2PhuxCjk_cePsxh6Ly2KDSMfLGk,2206 +material/templates/.icons/fontawesome/solid/guarani-sign.svg,sha256=Fqe0pli_z1uja_4HLhU0C45e196LsVWn5eOYPA001x4,693 +material/templates/.icons/fontawesome/solid/guitar.svg,sha256=Ws4imNpRtWl4BU5wvhvvG5EktJc3DqPqWp7yao1A8HU,763 +material/templates/.icons/fontawesome/solid/gun.svg,sha256=BsexPTRrGOrSIse3lcyKeOoVQffqc0k_klfiO9OJbe4,774 +material/templates/.icons/fontawesome/solid/h.svg,sha256=nHLtoHhq95989lghRFLUHdB9Wer49JoN6mCuxPbRd8g,467 +material/templates/.icons/fontawesome/solid/hammer.svg,sha256=EsHzsEVTl4hFvMJNIEiEmmf8zT7jy3NV1K2rTjnIKJ0,838 +material/templates/.icons/fontawesome/solid/hamsa.svg,sha256=S9d3FjKI_tRD3dozF73RxDluL86SBV7Kq2nJ7EsMYNU,935 +material/templates/.icons/fontawesome/solid/hand-back-fist.svg,sha256=1WJPFdxi3EJAe0id0cIYj9wOKKz-myORzP138Wv2RcM,682 +material/templates/.icons/fontawesome/solid/hand-dots.svg,sha256=rTRTO7jH7rGv6piA5-KDoxfNg0ZH2dExyk0qbfRsyOk,961 +material/templates/.icons/fontawesome/solid/hand-fist.svg,sha256=SzPAw6Y2wVAwu81wlRzMIPVDyzWUpx1Ksw0dt5-M2Lc,959 +material/templates/.icons/fontawesome/solid/hand-holding-dollar.svg,sha256=Z10_mVMVvAghjR-Y8bXJA8PtDb3nawnQ5-5unl3bueQ,1392 +material/templates/.icons/fontawesome/solid/hand-holding-droplet.svg,sha256=voQmicKrF89p5vUxGX-yVgx_Tkn7FVtlTwo2FnV7idU,761 +material/templates/.icons/fontawesome/solid/hand-holding-hand.svg,sha256=vxz0cfr33yjF4FNYvGGa3AbbAINnwAPgSOc1UykIlOY,908 +material/templates/.icons/fontawesome/solid/hand-holding-heart.svg,sha256=_IejE2iMF-Y8epuv75RZGbswRGdkUt5WEsg75OwccQA,784 +material/templates/.icons/fontawesome/solid/hand-holding-medical.svg,sha256=SkMEbouqIpoz0ALOe1pBLPNZqIczWkjp8Q5fW7pYDJA,801 +material/templates/.icons/fontawesome/solid/hand-holding.svg,sha256=208rpdFupKL7xE4tl34Z7f4HBhVuAFbmS7gzirCzD8s,610 +material/templates/.icons/fontawesome/solid/hand-lizard.svg,sha256=ksILVsVGbEAp_ImGzB4a4KOEcXsNJFaZ1P08HK8712M,556 +material/templates/.icons/fontawesome/solid/hand-middle-finger.svg,sha256=reOiFTZkL4FRlx9kGSUcbin479_sAv8hCNJtsViYwmw,685 +material/templates/.icons/fontawesome/solid/hand-peace.svg,sha256=JmZYskt4yXJ0AV4peRSW70TMQf6XRTjXc76uOvZZBxk,960 +material/templates/.icons/fontawesome/solid/hand-point-down.svg,sha256=syOcdb1wqFaXF0iFUQzdrCTtqHr29uHSpALoXDazXYc,939 +material/templates/.icons/fontawesome/solid/hand-point-left.svg,sha256=Xd0-Xm2_XXhOOMCX1ixfZSTq02toJygYJNI24Q1EsX8,947 +material/templates/.icons/fontawesome/solid/hand-point-right.svg,sha256=BlrISUKZhVDz-N99WUKBMr4j61vT7VaJ8prfQUkCgFA,946 +material/templates/.icons/fontawesome/solid/hand-point-up.svg,sha256=EB7m8eZsyF4ENzj8KvGdAfN6vXXtV1qlOaZAn7tNg4g,942 +material/templates/.icons/fontawesome/solid/hand-pointer.svg,sha256=ukwAUZoD1zKZaTrdC879Zm5nSMi6yGfjni28_VPzXgA,867 +material/templates/.icons/fontawesome/solid/hand-scissors.svg,sha256=Ulfh4TY4O0fLSfAuSusqTqEPBzEbF6kuSpmQz7twrWo,701 +material/templates/.icons/fontawesome/solid/hand-sparkles.svg,sha256=Dbu7IDQc1jNEpLBv7b-2HzcM1MCqpX459_mKkTjzl38,1569 +material/templates/.icons/fontawesome/solid/hand-spock.svg,sha256=FDoTDJhaI2dp9y81fgPH9NPJkQBVgWAnXqQUuIRII7U,905 +material/templates/.icons/fontawesome/solid/hand.svg,sha256=C6IS4JEYZquUTKkF2j4fedr9UAjbxOWMksg9ykZUwp8,709 +material/templates/.icons/fontawesome/solid/handcuffs.svg,sha256=hji2XzrinblvSzkio_Ao_RZT3uy3S40dMmUBN7g5oiw,1086 +material/templates/.icons/fontawesome/solid/hands-asl-interpreting.svg,sha256=AOGwNZooN3dtkargWluk0mp7rr7ahTfQRQ9ujvgLkDI,1309 +material/templates/.icons/fontawesome/solid/hands-bound.svg,sha256=kpEnX9_nyUAqQs08MDECAg7yLLdD84NrTApwfqQDD9U,985 +material/templates/.icons/fontawesome/solid/hands-bubbles.svg,sha256=YdELuL9I55yIR7d8vpFmA9eH_BDxh-ovtYYfstK1-tM,1495 +material/templates/.icons/fontawesome/solid/hands-clapping.svg,sha256=bfNgYvNK5zL_AlKpjMjGvMNEP57bI2BuG1dER0L5qYM,1252 +material/templates/.icons/fontawesome/solid/hands-holding-child.svg,sha256=h-VSwbAAF-lXcoSA5-V-iQxEYsc02_4xPmWczK0v_cQ,1371 +material/templates/.icons/fontawesome/solid/hands-holding-circle.svg,sha256=qFNIwz-XJldpHl-dIdNWNU2mTc-FSyISXAxP0yTYauU,1042 +material/templates/.icons/fontawesome/solid/hands-holding.svg,sha256=8t_PYfrjM_oG65GjuV_75jh5qtbvGHPQEaedozIFn1Q,984 +material/templates/.icons/fontawesome/solid/hands-praying.svg,sha256=lRSvTet9cyZW6IpBWCAp7iInZrAPdtNReDfpVP3WL9s,1190 +material/templates/.icons/fontawesome/solid/hands.svg,sha256=k12yxi25aZtwm5kxdFqpz-G8ckuGsPHU2CfFh6kcYL8,1290 +material/templates/.icons/fontawesome/solid/handshake-angle.svg,sha256=sj9c1VMMCZQ5cPYQXvsZaycc6590zITIOxhgZYAQeaE,859 +material/templates/.icons/fontawesome/solid/handshake-simple-slash.svg,sha256=nHeywXUx9s9Q-q2Ujhji_l35lvMfiwMnXO3jJxSVqMQ,966 +material/templates/.icons/fontawesome/solid/handshake-simple.svg,sha256=pWxHwVivps-2FMjBu0X6HxE3gPp6JPRG_ihtywekpnY,961 +material/templates/.icons/fontawesome/solid/handshake-slash.svg,sha256=3RO5MkPltDxiAFh6-42UqRP8vVdcyqpsMUBKRPjvoGw,1136 +material/templates/.icons/fontawesome/solid/handshake.svg,sha256=CIm8lVsuJ7b-ZEAP6VGTfkBQaCdZ5xyxIX8wKfTRqik,1117 +material/templates/.icons/fontawesome/solid/hanukiah.svg,sha256=Ben4nY1A4MkUohgNtw2tcs4NLwqP3U3QXIKJHRzau3I,2211 +material/templates/.icons/fontawesome/solid/hard-drive.svg,sha256=lLGUZy0J_blZ1urJ-STP6Kdq7btqS_RTmvjLh0A2i4k,596 +material/templates/.icons/fontawesome/solid/hashtag.svg,sha256=--GJR4AuipB1_TRADnxCBsIKIxGaVrTuBz2igEjY4Yk,841 +material/templates/.icons/fontawesome/solid/hat-cowboy-side.svg,sha256=lDwXByOwbGRRYvA7iQ4QTpybH3QrrUPspcv5R5CC2Bc,701 +material/templates/.icons/fontawesome/solid/hat-cowboy.svg,sha256=EOdX9MaIwLUQXcDCU_H2RHqDcQ0S-Wri9rV1SVQ7HOM,852 +material/templates/.icons/fontawesome/solid/hat-wizard.svg,sha256=d7eBcwgcKi0gncTaxnHQ5nHMD5jfCrsi_I950FFxr6E,1050 +material/templates/.icons/fontawesome/solid/head-side-cough-slash.svg,sha256=doa3DQti14qkVdKKOehUTm0g4tTWz-JymTaLDFi9Kt8,1080 +material/templates/.icons/fontawesome/solid/head-side-cough.svg,sha256=7hYch9F5OXFuAwU9Wpdu1XJ3PV07gIyGVWHIy3xb1F8,950 +material/templates/.icons/fontawesome/solid/head-side-mask.svg,sha256=EgIu-Y3CE3fXBC9NGeZ2MaLDgi8EH8il_VENs62caFk,865 +material/templates/.icons/fontawesome/solid/head-side-virus.svg,sha256=27TmreOCQLaw0d6QRNdAxfIkPzNySik7MxZFcZG8tAU,1180 +material/templates/.icons/fontawesome/solid/heading.svg,sha256=wxcMbo761Uy3WKNwfLwHK7cAtRH6bLnv26KskRqMmpU,659 +material/templates/.icons/fontawesome/solid/headphones-simple.svg,sha256=VCj7h4U8QYEvFVj1vvTWKUntSotRLgcTbvXAaLYX8eA,692 +material/templates/.icons/fontawesome/solid/headphones.svg,sha256=5ga8p8jNdZFXxEOkjVWKxh190hcE3Uh60G7Yd_tYB1s,582 +material/templates/.icons/fontawesome/solid/headset.svg,sha256=Vw4v0rPUT27GYH9i5Or7WEAu2V-nAM8hUa_TRFuM4iw,810 +material/templates/.icons/fontawesome/solid/heart-circle-bolt.svg,sha256=bi0sEGQki_QLv2_REV34c49wnp_5Lw3y2JDOIUN0Ig4,903 +material/templates/.icons/fontawesome/solid/heart-circle-check.svg,sha256=D8HEpv0IzXvX55dsiSjue3RdxXkzNedyFUcap_i0uJU,837 +material/templates/.icons/fontawesome/solid/heart-circle-exclamation.svg,sha256=HzjajblQhvwNLbPUb9Kjcpf0ZtxxYGXcw_MDu-VQYEs,802 +material/templates/.icons/fontawesome/solid/heart-circle-minus.svg,sha256=bIX5kSYt4beN40QhxtIxjcqXPm1bq4B15hH2TG4LUdY,763 +material/templates/.icons/fontawesome/solid/heart-circle-plus.svg,sha256=x8zRIRECx9Bx98R7_cDnfafvj6zsXWPQL-oENajWhDE,844 +material/templates/.icons/fontawesome/solid/heart-circle-xmark.svg,sha256=aylWlTflZWJT3Yf_G0bU2e1ofKHmxRrDY-gWn7Cez54,934 +material/templates/.icons/fontawesome/solid/heart-crack.svg,sha256=wCH3dT3nvf5yOI1S4uzc2YGZ4f-xR8EJ9EjcGojUNso,711 +material/templates/.icons/fontawesome/solid/heart-pulse.svg,sha256=hQmH7XtI8qAo_EfpRc99yyMePskLGstgmeTv9fkuob4,971 +material/templates/.icons/fontawesome/solid/heart.svg,sha256=s6U0KBRrycwcdrGXfFyV4Zhs35ptUfuRP7nvEyANHig,561 +material/templates/.icons/fontawesome/solid/helicopter-symbol.svg,sha256=zqV8L579W9QHeFw3bg-jsyVNbK9djYtIokuJOzLO2N8,785 +material/templates/.icons/fontawesome/solid/helicopter.svg,sha256=XYtvAWTJRsx4_BknOvbEckYlnuP6WdJ6gHavQuneU8c,847 +material/templates/.icons/fontawesome/solid/helmet-safety.svg,sha256=-rhHBm_g53Wv-76IweCyPKuVE3ryxYWc0iw8imqBclE,698 +material/templates/.icons/fontawesome/solid/helmet-un.svg,sha256=t1ENU4fx8tsFcEFAUwJuu4xh6Hdtadlr_AlWJCpj2BU,911 +material/templates/.icons/fontawesome/solid/highlighter.svg,sha256=-mGl3_izXhZeV33EKfn7cV9E13X3f04IUO-huWEY9y0,722 +material/templates/.icons/fontawesome/solid/hill-avalanche.svg,sha256=k9EDIj52pefWtDtSrbfJXJrh1mx-XlYFwDPa0mS5Exw,913 +material/templates/.icons/fontawesome/solid/hill-rockslide.svg,sha256=-3o4PqG2L4RjwDiv3ezrRcxwUgRslHkSqNmynzZ7vYw,864 +material/templates/.icons/fontawesome/solid/hippo.svg,sha256=7aUENROLDBRj0DDeEQwJhYZ4XNFKRpMK6GKW1n7XzYs,1341 +material/templates/.icons/fontawesome/solid/hockey-puck.svg,sha256=EQGKnpTHO_r25sIUFC_XzAj55RftifmNyiZsMOX8vak,528 +material/templates/.icons/fontawesome/solid/holly-berry.svg,sha256=J5ie6Ez2Jo89VnAVavPT3rlr4jHNptYSVjlqpl3qk4c,1267 +material/templates/.icons/fontawesome/solid/horse-head.svg,sha256=VP9xtWFPerFn3EwIcP0mcPgJiPBsctpegZ_cP-SL7vA,856 +material/templates/.icons/fontawesome/solid/horse.svg,sha256=OOOdUl6Ei-ghCSGEtV7X6oEYqtWngMmSv0hYesgQy_o,1010 +material/templates/.icons/fontawesome/solid/hospital-user.svg,sha256=pYEwkRU9nCEUzxX8J9EihVxdhbGQ1qZy06GfdYXleTU,891 +material/templates/.icons/fontawesome/solid/hospital.svg,sha256=6jjk3fUfeKLNuvT-LJlkmVBMR8cdCaV3-QD-jboMoxw,904 +material/templates/.icons/fontawesome/solid/hot-tub-person.svg,sha256=LUVcM_IHnc2jOrqA5FRQauRb-8PdhHg2O2ha7QVfm6Q,1293 +material/templates/.icons/fontawesome/solid/hotdog.svg,sha256=G9nzk_GC8bbyN-5RYYkl4ld5uHyD3W-0PztkBWWTjoA,1345 +material/templates/.icons/fontawesome/solid/hotel.svg,sha256=x45q4HssdCZEJ1BFbtPEQTUNau83AqelxlKC4W7hg7w,1210 +material/templates/.icons/fontawesome/solid/hourglass-end.svg,sha256=p_8ztTzFlc4UOY3lqCUpBzk6hVpCfTxOSv9oWEMI2Gg,699 +material/templates/.icons/fontawesome/solid/hourglass-half.svg,sha256=3UMw_pJvE_4c_A9ucnfzeOq5e-jWAd4hwPBWEqkffG0,756 +material/templates/.icons/fontawesome/solid/hourglass-start.svg,sha256=O3oPz738YGvMG3JVKGutARVeaFpaNk0yAoBtmttCNWQ,699 +material/templates/.icons/fontawesome/solid/hourglass.svg,sha256=E2emDlzHP0kPnpmI7rx7yUUe-SI-RISrTFApHmdiG0w,794 +material/templates/.icons/fontawesome/solid/house-chimney-crack.svg,sha256=_CpSr1Fkn91itLoY7p8TQFEFJqhJk301J3hED5p6zeY,696 +material/templates/.icons/fontawesome/solid/house-chimney-medical.svg,sha256=MJ8x5gEH_eYwNkedEBO7mSgD-A8jcDgZFBaemat5vno,760 +material/templates/.icons/fontawesome/solid/house-chimney-user.svg,sha256=mKOxeorDjwuNmQq_AlTGjqZayLA7gys3Wj3pQHpdBuw,695 +material/templates/.icons/fontawesome/solid/house-chimney-window.svg,sha256=dk_tQhqSUFgpMwb-N4_h7HfeHwerEWe1FtTUcamaA7s,663 +material/templates/.icons/fontawesome/solid/house-chimney.svg,sha256=g-smcU1ZXPMOdhi7acdzAPhj7vKrEwDF1TRzsnvkK7g,775 +material/templates/.icons/fontawesome/solid/house-circle-check.svg,sha256=b5zRGB5BS-6fCUUKJCKaE22t1L4_sjbg48alNRjrZOc,788 +material/templates/.icons/fontawesome/solid/house-circle-exclamation.svg,sha256=dvU1erQ9hmeGb1U1lZwKMNlRyBhq5pHIMd41HUyM5Mg,753 +material/templates/.icons/fontawesome/solid/house-circle-xmark.svg,sha256=1e49wRaBOFLlUY8wTRRBbS3clCCiDDRxjhk88fb2TM8,885 +material/templates/.icons/fontawesome/solid/house-crack.svg,sha256=1qtE3nXaQR5RUJNBFmloOdgkCpH84cG3J59d_-jEcPA,628 +material/templates/.icons/fontawesome/solid/house-fire.svg,sha256=P2e7Wwm6hZIzB1_qrFUQkP2MgJi3iPYjuqiDtvCjJk0,944 +material/templates/.icons/fontawesome/solid/house-flag.svg,sha256=RwA6j-kQ_pajz2UTKqXHMoN4MbB1U1TF_fkOoVlnZyA,633 +material/templates/.icons/fontawesome/solid/house-flood-water-circle-arrow-right.svg,sha256=Gm55T2aaNxootA-hfBByTMoLXqiejaJo81RJPKgr8EY,1974 +material/templates/.icons/fontawesome/solid/house-flood-water.svg,sha256=fZ2DDsBoDeJTohvjvfo14GbPAmmxaEksMRurxHMRsEs,1739 +material/templates/.icons/fontawesome/solid/house-laptop.svg,sha256=cAzCLHlkKL8qtt0yWNuvGA98CTGPtGWl6WZBUANytvQ,732 +material/templates/.icons/fontawesome/solid/house-lock.svg,sha256=GwDB5wiQJahtFBE2uRifEpeCrvIs6gmbnnGGyOrmmdA,876 +material/templates/.icons/fontawesome/solid/house-medical-circle-check.svg,sha256=VBuo6gzns-Yz5LJTf2Civ1B5dGtE2XhhjpvbHqjO6EA,849 +material/templates/.icons/fontawesome/solid/house-medical-circle-exclamation.svg,sha256=X5dgr4tJHu1fpFqK_trDBj2ouK-8qJXktIgalcyhBZE,818 +material/templates/.icons/fontawesome/solid/house-medical-circle-xmark.svg,sha256=9l6LjYdiz3z_1ihujIK8lxKj92dgD5T70OxwI02Dgnw,947 +material/templates/.icons/fontawesome/solid/house-medical-flag.svg,sha256=vOP2VvbiE9ykVX8npR_w4SU6hxchRrxpPl0lou9Hdlw,738 +material/templates/.icons/fontawesome/solid/house-medical.svg,sha256=ENjQVWzCbswRQXsondFnYBTd_WT1wocELfOLovzNYpo,695 +material/templates/.icons/fontawesome/solid/house-signal.svg,sha256=LgLwjkbF38MrU3kEweHSVH4F1-SA6s8fxn2nbAqcWmE,878 +material/templates/.icons/fontawesome/solid/house-tsunami.svg,sha256=ho8_R7sHiOAgklNhO4ebWNrDriiUc87-NPvD0voEa6Y,1944 +material/templates/.icons/fontawesome/solid/house-user.svg,sha256=5H0V54pYlHTRz9mdEVuSyaRvjeOXcp0Dy_ZlhPKGmZ8,637 +material/templates/.icons/fontawesome/solid/house.svg,sha256=6sKnYsF9JgvQ0-nBlcNpF7J8_7ke-gRRsTYV_ssZFhM,719 +material/templates/.icons/fontawesome/solid/hryvnia-sign.svg,sha256=ftrptO3jVWzCK_8axi1UhM7lvmJEaZWK1nRIv8l-y3M,961 +material/templates/.icons/fontawesome/solid/hurricane.svg,sha256=e8WK9k7PD9OBkNQnbCz0nUiifqxheqoeh2VkAxLjPvQ,606 +material/templates/.icons/fontawesome/solid/i-cursor.svg,sha256=lj7J1cgGvklRPWZGtF8X1l1td4FX_egxxLbjNnxaNdI,859 +material/templates/.icons/fontawesome/solid/i.svg,sha256=zaKhl8lsQMTIWjLUP1EQYHfZDkXejuWaysktpSufQ6Y,466 +material/templates/.icons/fontawesome/solid/ice-cream.svg,sha256=WChQ-4U_bHg6XVF8WVU2KyyutGb8t3jRrp3dV7Pg1co,537 +material/templates/.icons/fontawesome/solid/icicles.svg,sha256=LiEKXaAUNOjcGrT4ZI3OpDIMfdscn2Z5DHd6wI0h5TU,677 +material/templates/.icons/fontawesome/solid/icons.svg,sha256=RDi74BgyMO7190SHPm7ooWb43YMQbzqIxuRJpZVGVD0,1144 +material/templates/.icons/fontawesome/solid/id-badge.svg,sha256=Jw4gPICOUSIAEZL_q492q2dgUrzvmmcs0bB-bv2iOAI,612 +material/templates/.icons/fontawesome/solid/id-card-clip.svg,sha256=EKNkCLh1HVS5rCXbMKxBKMwUA4t4CmRfstBlWLzHpHE,730 +material/templates/.icons/fontawesome/solid/id-card.svg,sha256=pFUw0VeyNTylZEXTjCq9sYtwSpMCQMClOQ_v35n9UEU,837 +material/templates/.icons/fontawesome/solid/igloo.svg,sha256=jUefQzSChde_WDP-n_MSfC3rN8a8re2QcZTuqVrrMoE,642 +material/templates/.icons/fontawesome/solid/image-portrait.svg,sha256=z9qQN7LZOROLAKwqjBLEK9YBuCJnUooEyiyP58BRGj8,568 +material/templates/.icons/fontawesome/solid/image.svg,sha256=f3ehYefK6pSyxjmexF6g6PXwZKOEjUiuqQTQK8G4AEc,666 +material/templates/.icons/fontawesome/solid/images.svg,sha256=OF22UOqCzWZ5QMVFEQO3zkrTMZ2J_UUCRP-0AkY3wU8,792 +material/templates/.icons/fontawesome/solid/inbox.svg,sha256=5QBN4TfjEnnUsJdsAFn8PxrXynNyoHtYplqqb9Rf53U,648 +material/templates/.icons/fontawesome/solid/indent.svg,sha256=uAKukgN2UXVol1b_KGHm4MSRm7u1HBrr7QlBjF44JNY,773 +material/templates/.icons/fontawesome/solid/indian-rupee-sign.svg,sha256=w2_OsccvSgTl6_zhDQMP1BiXCXqI3OKyTm2YTMe9mCQ,702 +material/templates/.icons/fontawesome/solid/industry.svg,sha256=whNDEQTYTtR_0LDNrFRPRL8pUcPiPEGgQgwD77sRppU,482 +material/templates/.icons/fontawesome/solid/infinity.svg,sha256=Tyy8S8FqNS2cUoulaAsp9xrb43Vp9tUd3hteEc2qGCA,855 +material/templates/.icons/fontawesome/solid/info.svg,sha256=H4CgW85Ugc14KKUFxjGCCgaB9XV89D2TrVsn7U-iudE,497 +material/templates/.icons/fontawesome/solid/italic.svg,sha256=3RmlkP5I3Ej2BRta7mYT2LeoCH0VGtLy95Yx_6kf8DA,489 +material/templates/.icons/fontawesome/solid/j.svg,sha256=iyjne6WKDKizfOcsA_xFuP5QIP1mYofbi074i_ZevgM,456 +material/templates/.icons/fontawesome/solid/jar-wheat.svg,sha256=Tb5Rc-CPX1kFQOPdPL6ixG_yA2ZkQZ-iUAQqucogSOA,1042 +material/templates/.icons/fontawesome/solid/jar.svg,sha256=adfhi6dWAb-R3zo6YLUl6IkbeCHk3ORBqtcjcjRwxwY,595 +material/templates/.icons/fontawesome/solid/jedi.svg,sha256=60XpbiRYCZdaoO1zAaW8AQqYViVU9AjsmhzgjAxZY7I,1696 +material/templates/.icons/fontawesome/solid/jet-fighter-up.svg,sha256=LMJi5Jymzd4_urdsEQsizvfA3liOtJKHfv_zUJGiKkQ,767 +material/templates/.icons/fontawesome/solid/jet-fighter.svg,sha256=3DtDSsiReJOwhhQfqhBu4r2rTnTBeexMzCJWd2iVncE,859 +material/templates/.icons/fontawesome/solid/joint.svg,sha256=Ssv-D3SzL2Ms8OTICvqDG9FxWD7NQ9aIiWa_SxFe6hI,1369 +material/templates/.icons/fontawesome/solid/jug-detergent.svg,sha256=Pqmq_jxraTW31cYGNYRcZVRw5i_L1XZoTgwHqiBA9a8,625 +material/templates/.icons/fontawesome/solid/k.svg,sha256=dQtzTZ_MKz2REnZoAVa4RWSgG0CaPElAroX4k4wJ1W4,522 +material/templates/.icons/fontawesome/solid/kaaba.svg,sha256=lTCxJ7dYjNiu1nAAAnZ53zFfz-wJ566hDFbEolnABmo,1169 +material/templates/.icons/fontawesome/solid/key.svg,sha256=hX4Wb19YBjgyfQn5SBWdzeq_vFe-dz73czAncvY7Hwg,586 +material/templates/.icons/fontawesome/solid/keyboard.svg,sha256=FJwXLoO5qOZhbJ-ggY5GHPOuOIURsLOYgo4a9r9-Hjo,1684 +material/templates/.icons/fontawesome/solid/khanda.svg,sha256=XDpDHayBrLjQRRx2S-Vn5mAZIRCmpmF1Zehnhw_Jhxk,2259 +material/templates/.icons/fontawesome/solid/kip-sign.svg,sha256=XGzi73oBfHtISMwaIdU2D8bimfVrYt0sg2wAv8qcq0o,611 +material/templates/.icons/fontawesome/solid/kit-medical.svg,sha256=R-aZ5jfNkZKxAjQIzQ5lL4owxlX-CRXqWN0V43cWWzY,642 +material/templates/.icons/fontawesome/solid/kitchen-set.svg,sha256=ip10aShXZRXeBnywxG2NyuSGKXeAtlO_G-0xmPx4l_c,1049 +material/templates/.icons/fontawesome/solid/kiwi-bird.svg,sha256=roPdm0cI7rU9VhuqjEY9payZ52zdkX4fSP6J0MvHUGo,744 +material/templates/.icons/fontawesome/solid/l.svg,sha256=GJ-q0robqVJRFEqFVhVo2pm-mhcYGjJOhFuMjhk4oNc,411 +material/templates/.icons/fontawesome/solid/land-mine-on.svg,sha256=t--GR2KGl6PDHpYsKcYz4J5r0Z9lbdnQvyQwohZpPvU,846 +material/templates/.icons/fontawesome/solid/landmark-dome.svg,sha256=Uw2GKv9xyes61627ThAxrQm94XJAsL2Z2Btz_DTN1QY,706 +material/templates/.icons/fontawesome/solid/landmark-flag.svg,sha256=FE_1ZIfBjUPlV-1Bysvboq8kXdukd8lWZz8JvzC3IpU,665 +material/templates/.icons/fontawesome/solid/landmark.svg,sha256=L5ZgwhhQtx9eyfJCWQdkLUkb6LNL6TELM05Ymn2TzW8,690 +material/templates/.icons/fontawesome/solid/language.svg,sha256=qja6WKGVnab_YuCmQ46UfmXSPGV4XUYqHyBxeK403G4,1116 +material/templates/.icons/fontawesome/solid/laptop-code.svg,sha256=_aZ7IoxvEV2e8iCdnkr6ST5kQYXG3U2CMwyRRwzPi28,772 +material/templates/.icons/fontawesome/solid/laptop-file.svg,sha256=0koyU2Jhr8zU1zm7xl---HIp3x-WBYm7SzLzcbooSnQ,568 +material/templates/.icons/fontawesome/solid/laptop-medical.svg,sha256=kEkZbHurAc6Ylw5B88FoIV44B0qrl_59cgGHvlavYDo,696 +material/templates/.icons/fontawesome/solid/laptop.svg,sha256=khx8vCFD770UmtzjJwh-r1QZpXovykuiu1k8278vPFc,493 +material/templates/.icons/fontawesome/solid/lari-sign.svg,sha256=L7lLd9Vd6zUO21mDLkiZUfWcdcrdE1VaFJ72byQCBDo,838 +material/templates/.icons/fontawesome/solid/layer-group.svg,sha256=qoWGCm3bFI6DdhbMU_46W5Zw-_6Mx7LLbcrmeSNkhZk,911 +material/templates/.icons/fontawesome/solid/leaf.svg,sha256=2uEYg8nQVOVx6SUZZ8AlGmmEMHU0kejI_uzvuaymXLk,692 +material/templates/.icons/fontawesome/solid/left-long.svg,sha256=n8VkgRIeTkPjTspxNv2FMhZX7H__2y_8OFOxjOX3Sjk,503 +material/templates/.icons/fontawesome/solid/left-right.svg,sha256=ST0q_w2QfAzldZRmcWTyHY6s3r6cHV-3iG0x6FcBO9A,608 +material/templates/.icons/fontawesome/solid/lemon.svg,sha256=xTX4SL28ajmJq3R70U2Kytr7Vp_DJaFQNPSqlCjNFFg,784 +material/templates/.icons/fontawesome/solid/less-than-equal.svg,sha256=-_-zQsQK8g_EiFgPqvSUK9c9h2aokOV2LmdbrvinJz0,563 +material/templates/.icons/fontawesome/solid/less-than.svg,sha256=ArTLJO5856OVnaeb9259iDBJF8-xaNTtJvn2mC9Ed9g,486 +material/templates/.icons/fontawesome/solid/life-ring.svg,sha256=JmQzZ373jfYV5MVE6xvWy_9EkVZ_VEcukwiP87J1GFk,1183 +material/templates/.icons/fontawesome/solid/lightbulb.svg,sha256=_U8bkA7Ha_AKzQH1tVWQO46RTitOeMgHKL99cvYEZBE,694 +material/templates/.icons/fontawesome/solid/lines-leaning.svg,sha256=8L9QTVTARdPRRlqLg4sSnErTilrJoHoDfNAqtdvSI7E,639 +material/templates/.icons/fontawesome/solid/link-slash.svg,sha256=tjXr6piZeUEW_j2WYcVKkh8nde016-liG67PqXDWxME,1054 +material/templates/.icons/fontawesome/solid/link.svg,sha256=HQx7dfgS3xI36xaCdjWeIgfr8a0ojPlWxerlpAIwgM4,1066 +material/templates/.icons/fontawesome/solid/lira-sign.svg,sha256=y4EoXERlGJtFAnpMAqWJVKzBvDvG-zwdmReK9A6pCpw,825 +material/templates/.icons/fontawesome/solid/list-check.svg,sha256=B8TfzH9jQVzCq6eFRE5ySIIdU8KLEQ3xDnKXhBAew3g,968 +material/templates/.icons/fontawesome/solid/list-ol.svg,sha256=Db0D1ch-JbmVYkXIR9Ks1nPA_Fjnq7giKGE4YdcoDqo,1006 +material/templates/.icons/fontawesome/solid/list-ul.svg,sha256=K_74GajU8jkzLDCKZjkSny8sulyP7MKMfKCzttu4AHo,678 +material/templates/.icons/fontawesome/solid/list.svg,sha256=pu0DLtlPAwVHxSGGyixG_-DdrWOmO0gq4mLrrvi2X-Q,868 +material/templates/.icons/fontawesome/solid/litecoin-sign.svg,sha256=aKi012xauXQgUqXNlHl05bBWpjamB3wLFH16fl7oz90,546 +material/templates/.icons/fontawesome/solid/location-arrow.svg,sha256=ZPqsRacywPyFuY6QnDp-T0Wiyk81PageDeeYW0HlTbU,460 +material/templates/.icons/fontawesome/solid/location-crosshairs.svg,sha256=LdHzclTXbqU5y3NgBXj3gYrjSpwKrRrkd60IE1a1WWI,706 +material/templates/.icons/fontawesome/solid/location-dot.svg,sha256=L8Zh6plRqD0Qzaj5mxaUPF0NkHB0Rt51Ats4h2s-l4k,458 +material/templates/.icons/fontawesome/solid/location-pin-lock.svg,sha256=WdK-fFGuEuvhEeDHjgf0yexVwHY22uYUhWBcatbcZLc,739 +material/templates/.icons/fontawesome/solid/location-pin.svg,sha256=nOr87Xyo2Af1zH0Ams5Swv49AqO-J2MESGyile1wIEc,406 +material/templates/.icons/fontawesome/solid/lock-open.svg,sha256=l8aHxynieeov74gyyN5HzmzRjHxMBlVlhaPI5TJv2lc,527 +material/templates/.icons/fontawesome/solid/lock.svg,sha256=5I9C77SMU1qDO-k2_6Zyy827p62IXCTO-Z_xBnaeNCU,502 +material/templates/.icons/fontawesome/solid/locust.svg,sha256=eWrwzJkgwHCXjWcilajPtJuPg33ktvsEs8esquJ1r68,1046 +material/templates/.icons/fontawesome/solid/lungs-virus.svg,sha256=uShOxYhRhoM-okd2sbKAyvxKTiFRbOBD9jHPWeUIJVQ,2087 +material/templates/.icons/fontawesome/solid/lungs.svg,sha256=7WcTiFny9fRk0L7VlfQEu4wFjan8q_Suog9KjpBwJPo,1094 +material/templates/.icons/fontawesome/solid/m.svg,sha256=XPhy2ckQbVfzoETanf8LMYeLiVW3g63e_ZAS7mxRmGA,577 +material/templates/.icons/fontawesome/solid/magnet.svg,sha256=jFk4hzhm-IinupALsFZLHDI6cTE-MGR2dU06PGbN8nM,515 +material/templates/.icons/fontawesome/solid/magnifying-glass-arrow-right.svg,sha256=HTRo42g079Ou7MRSmlOgSfiwS431TxfUeXkJOIIg28Q,661 +material/templates/.icons/fontawesome/solid/magnifying-glass-chart.svg,sha256=LiM7EzPgMl16EEGdwsvh3D0vJxpZ35X5-8UcPlBk6vs,730 +material/templates/.icons/fontawesome/solid/magnifying-glass-dollar.svg,sha256=FomxwYH04wJQ9xA_9Z1GYpoVPL0Ai87m7NHt4v03py8,1206 +material/templates/.icons/fontawesome/solid/magnifying-glass-location.svg,sha256=bpEyxgMzQg1E8MP4CCedk0OAFINH0ClokEjgJ-i3n60,640 +material/templates/.icons/fontawesome/solid/magnifying-glass-minus.svg,sha256=LRlrGVrkiSjeWZt8yysAtd7M0Xwgj-XUoxaOPRYIiKA,562 +material/templates/.icons/fontawesome/solid/magnifying-glass-plus.svg,sha256=ESHaa0dl4ZZNH8ZJeH0EMeFyk8Eo_w5RfJFVWCojA_4,653 +material/templates/.icons/fontawesome/solid/magnifying-glass.svg,sha256=lOsLTD9sOlEKruVd9X7E-JnBYuEFQNW7UmdDI1X6dJs,522 +material/templates/.icons/fontawesome/solid/manat-sign.svg,sha256=C2TGJOIvO6mwUhSbOgV7mGulEoEQuZTb3g1Au3nEiXQ,581 +material/templates/.icons/fontawesome/solid/map-location-dot.svg,sha256=fTrbMjls3tFEnP8mVS5Wt59chY5Z1vqzVNFGvXkplps,857 +material/templates/.icons/fontawesome/solid/map-location.svg,sha256=LfCqAOOyFC22rz57As5SwLmO5EC_HCfqx__v2H9_jsw,816 +material/templates/.icons/fontawesome/solid/map-pin.svg,sha256=fof9Fcoq9Vs4yu2YR9ncZo9NqVONXzZ_aCUW-BqZfk4,532 +material/templates/.icons/fontawesome/solid/map.svg,sha256=VdbUbzaAHTTuUo-ika4cPrtmtFGUHIvwHHDw0tiOWTI,514 +material/templates/.icons/fontawesome/solid/marker.svg,sha256=HCU5j9HESdUpkISdtxbbweyPkg5pxg2BhICe3Eta5qU,670 +material/templates/.icons/fontawesome/solid/mars-and-venus-burst.svg,sha256=iP0bZWgMdox9rwtsEdML96aCk-NgKOO7i70w_Ucfcjk,1118 +material/templates/.icons/fontawesome/solid/mars-and-venus.svg,sha256=VoVY5HFP1pmX8mkbhQTSAmM6F7eS0db1FT1vjUZLPKQ,783 +material/templates/.icons/fontawesome/solid/mars-double.svg,sha256=7kmJk4ahNqmC6t5DzRdOoKNXVZg4cbE38MrRJJl8Uv8,1027 +material/templates/.icons/fontawesome/solid/mars-stroke-right.svg,sha256=CgvDU8FaSgydpU0RuHwyi2nUgnKQxRs4F5MIGtvbc3w,684 +material/templates/.icons/fontawesome/solid/mars-stroke-up.svg,sha256=VQhQbxM9oThCC2PUp-_HBrutufIJSI-MknDV2cK5Mhk,708 +material/templates/.icons/fontawesome/solid/mars-stroke.svg,sha256=ewMFYzX7oRS3d13a4YvfkkyWaB45bEws14lXggGEIBc,750 +material/templates/.icons/fontawesome/solid/mars.svg,sha256=AW3EwgdQjz-8SFVWAdrAWijhq2cZk4PSH3pFTyVrSfA,627 +material/templates/.icons/fontawesome/solid/martini-glass-citrus.svg,sha256=CJm6NzD9KRxcLxqdjcRBDv7uE_oAFJesSSvAfNsKp8U,707 +material/templates/.icons/fontawesome/solid/martini-glass-empty.svg,sha256=bBZFOyUZSQzrY0oFjFvvFkZldC9SiXyQnFfuVYcVKKs,532 +material/templates/.icons/fontawesome/solid/martini-glass.svg,sha256=Deuo9I0OPYmGZZN55wrEvUAYA57rAGBg4lM-HvRob5g,532 +material/templates/.icons/fontawesome/solid/mask-face.svg,sha256=BsB8jqTVHuf5PzfNiAU_r3i6zc2DxcCkZJWjAhcLsvk,1060 +material/templates/.icons/fontawesome/solid/mask-ventilator.svg,sha256=0d1-Mr21o7jevlp8vsoCfwy1q_0usXL84nW8P6EpDU4,963 +material/templates/.icons/fontawesome/solid/mask.svg,sha256=Cr6FVkH9avi1c4MOvb3Sf1aojoLK7W1Roc1aSQe7xzw,583 +material/templates/.icons/fontawesome/solid/masks-theater.svg,sha256=Qd-YpZvkKYIkzKm47sh2xXAiYQivbo5lNZ0-eKOCptw,1676 +material/templates/.icons/fontawesome/solid/mattress-pillow.svg,sha256=0cyOkzNARjG9YWlndI61-vXo7hgl_cwARkKHZDSjqpQ,527 +material/templates/.icons/fontawesome/solid/maximize.svg,sha256=LOnRzgwkJjmf6LZFZsN8o34l6gXQUkhsQbNqenkXEac,859 +material/templates/.icons/fontawesome/solid/medal.svg,sha256=_q3x6o4F5HOu3h2zv1w3EjN2RIvw67Cc_RdCney9T0U,956 +material/templates/.icons/fontawesome/solid/memory.svg,sha256=YlF7drJQi83tBQFTJ0Uc0cpQrtE1m_JdBNELVswzmfM,1048 +material/templates/.icons/fontawesome/solid/menorah.svg,sha256=FBJ092O62Jlq8qs8yUJocdE09eiDYhY-ethZnqNyJEI,1966 +material/templates/.icons/fontawesome/solid/mercury.svg,sha256=6DJ74CrGbh1ZbevtlQYTR1TO9zhAQys7DPiytUDYKQI,774 +material/templates/.icons/fontawesome/solid/message.svg,sha256=hukwKsnhm-ASfyiWDq6dwiEDlKdX6yM8iRV9y_d1OcA,450 +material/templates/.icons/fontawesome/solid/meteor.svg,sha256=-GRdsvZBIMBn5oNWxJt5a4UbLf2szx3O2y8w-GzYE4Q,681 +material/templates/.icons/fontawesome/solid/microchip.svg,sha256=KgrLHVyKclDbfbC5MBxmE9BOQt1W4Am_mUNwmkJjvyc,1052 +material/templates/.icons/fontawesome/solid/microphone-lines-slash.svg,sha256=9-8Fuem3SS95wU_7ip252KBcrmom0__SkAH-yJFmhL8,954 +material/templates/.icons/fontawesome/solid/microphone-lines.svg,sha256=NixXGxEL5gPoNtVuDDPPkIv3lVdLQUi-QCEV1JiCnNs,776 +material/templates/.icons/fontawesome/solid/microphone-slash.svg,sha256=KK6rYLb36IaDxk1Tut72grleekcAtsO6ov6IPeta49o,825 +material/templates/.icons/fontawesome/solid/microphone.svg,sha256=Gc13dq6XT0TlfsHsT5_5HfQKQc2_05eCyHaP_CR1QQw,653 +material/templates/.icons/fontawesome/solid/microscope.svg,sha256=sOsdOZEITtrjykT7tYEnV9k4HITG-TWJQNS6qxfRFw8,744 +material/templates/.icons/fontawesome/solid/mill-sign.svg,sha256=0vnQYOy2eiTCwCB2wWKHxS6SIGicUSuMmqjtj3C_iCs,813 +material/templates/.icons/fontawesome/solid/minimize.svg,sha256=AhUvilo-e-n8KWPUIEt-BdnCL_E0ASUWhYY5fFKm12A,1232 +material/templates/.icons/fontawesome/solid/minus.svg,sha256=dVUIFLpxouRCqngtr58fIO3ts7VLQ-SkTnZdvunTCvA,384 +material/templates/.icons/fontawesome/solid/mitten.svg,sha256=4s0ni5Ws6G50PlJWFN1JOicUtEJ1OxfUua1r-rxcOz8,613 +material/templates/.icons/fontawesome/solid/mobile-button.svg,sha256=6mLECnQkzt4u4zVqRuKiP-klQsIjqFdP_7uro0vJgCU,437 +material/templates/.icons/fontawesome/solid/mobile-retro.svg,sha256=YERdH6Wj3QRGJdsgcNgVxJH--2ff_OfztyiIhiXrMvM,827 +material/templates/.icons/fontawesome/solid/mobile-screen-button.svg,sha256=tM9hIp1jDs-v6oQCLQZwVjBKpJq5MyvqushC3-Qh8os,460 +material/templates/.icons/fontawesome/solid/mobile-screen.svg,sha256=T3AOz2tffquI_Ui0wD9FIBMqi1-A1DBPncQxyoL2vc0,505 +material/templates/.icons/fontawesome/solid/mobile.svg,sha256=XyyiwMLXSdPuvmbwnbx3ogrOkzHtbGp1-fWVSzztgdM,475 +material/templates/.icons/fontawesome/solid/money-bill-1-wave.svg,sha256=8qDV71GW4fkJP5ZsnpwccBpVw_dSUoaaawGbquVLBfY,882 +material/templates/.icons/fontawesome/solid/money-bill-1.svg,sha256=lTx32IE4SS2oT288udUQ-_ljrlKrarXpFB24LgevumA,730 +material/templates/.icons/fontawesome/solid/money-bill-transfer.svg,sha256=tPY25Nb4Sw0xHTZJd8XeDXn-dAR6Wn2IufDmzC1r6U0,1095 +material/templates/.icons/fontawesome/solid/money-bill-trend-up.svg,sha256=IKWBaR2zCa9WJXdY9SGKsy5hJEhOLCZUQ68aW857qwo,918 +material/templates/.icons/fontawesome/solid/money-bill-wave.svg,sha256=ZyIn250U_e0gix3Rv60od23sL1_IApjCCqyKSRIKv4I,733 +material/templates/.icons/fontawesome/solid/money-bill-wheat.svg,sha256=F2kSYVa8Bm4cg1PhYL3Y14YrULZm4TUGphYr2IT3fY8,1376 +material/templates/.icons/fontawesome/solid/money-bill.svg,sha256=S-WhFea_ekSst4QyOzcI1iX92-XZCI2y1P3_AUPKLQU,586 +material/templates/.icons/fontawesome/solid/money-bills.svg,sha256=vOybSMdVPRVMrF3C5tZpDjbC4U7GNkQ01KX2UGRSFTM,728 +material/templates/.icons/fontawesome/solid/money-check-dollar.svg,sha256=X8uz9WhvQqDBDLwR3u0F3UnXW_z3NPJBHFmc50BNnws,1300 +material/templates/.icons/fontawesome/solid/money-check.svg,sha256=WTiPs1CFe_ik15L-y-3-lhbNcnGiLXuOMCK1-DkKlDA,674 +material/templates/.icons/fontawesome/solid/monument.svg,sha256=xH6w01VY7IPNKONUwfyhx-yGCQ4HLcHX8uNV8lGgXrQ,579 +material/templates/.icons/fontawesome/solid/moon.svg,sha256=pSyFvTmPdzW17nyGWcP7YuS_dBVNQnN8K_HDQXk72AA,559 +material/templates/.icons/fontawesome/solid/mortar-pestle.svg,sha256=aff54LMSrH2tz2ByjEa8ym3S-Yy63TJ4FtOJBbamX7o,644 +material/templates/.icons/fontawesome/solid/mosque.svg,sha256=NOla5pR68RGkXhp8JVOV1bl4DdqZi6fnu0hxC8arf10,1080 +material/templates/.icons/fontawesome/solid/mosquito-net.svg,sha256=KSHB4lT7XwEkpd4fhjB_cV8bjg7BJrJWLYFWYbG-h8U,1855 +material/templates/.icons/fontawesome/solid/mosquito.svg,sha256=C5nrd6fpXuZhMV7XvVQqcajl1rvSdyvGtft9UiafkTA,1207 +material/templates/.icons/fontawesome/solid/motorcycle.svg,sha256=A2mf2dpuQKsA8IUSBD9vdpeWnB8tsKOF_xQyk9YWzrc,1204 +material/templates/.icons/fontawesome/solid/mound.svg,sha256=69cxGCvqFhts09QOsWGH_Byioboy-Y7PjWS8x95TaFc,429 +material/templates/.icons/fontawesome/solid/mountain-city.svg,sha256=l0YKL8mC6slom99xlsly8fWXLtwPWPNb_5a0mhIhRnY,1212 +material/templates/.icons/fontawesome/solid/mountain-sun.svg,sha256=JAYLmiKBVmJN6n2vKF_fv4hpWIh7rMR2CNf4Z22SS7Y,576 +material/templates/.icons/fontawesome/solid/mountain.svg,sha256=td-kChLHkbVGyaUn-JIe91IIgmL2ilg22mJQxD9ZpbU,569 +material/templates/.icons/fontawesome/solid/mug-hot.svg,sha256=nvijDs3TnwsQv2NdM2e8jmy4rBgHvc93BHcQ1lP2LfM,875 +material/templates/.icons/fontawesome/solid/mug-saucer.svg,sha256=7RLLvppr2tN47z4SOPSoTJPw5jBH56ARlP0aDkUZEzM,553 +material/templates/.icons/fontawesome/solid/music.svg,sha256=gGkmMk6P9Qz4BKEONBfL5qZkg9t8ijmoYtHujfOiiCU,543 +material/templates/.icons/fontawesome/solid/n.svg,sha256=txE_zmYO22R16Z-iAAtd9n0c7etnXjWGnCL95wIyTL0,499 +material/templates/.icons/fontawesome/solid/naira-sign.svg,sha256=yDZBYX2Xt-d5F9GD0biWZg0lua2oTuMzr-ZBPO2M1CU,665 +material/templates/.icons/fontawesome/solid/network-wired.svg,sha256=qTlHDCZcf9otAD5OqmVa7F4uAdpDtm-EFyT3SExf9Qs,782 +material/templates/.icons/fontawesome/solid/neuter.svg,sha256=aN1ZwUzJxTp9a5ycOFLtD5l5kxUPRedUIeuBY-65MS4,487 +material/templates/.icons/fontawesome/solid/newspaper.svg,sha256=Utk_e68937ldHb52Gscii1-MJikujsN2DPX-9HTxcfM,924 +material/templates/.icons/fontawesome/solid/not-equal.svg,sha256=tcLNpJeiac1kdqEFmX8OBnkXGQ09OP7NT-d_DhN27w0,643 +material/templates/.icons/fontawesome/solid/notdef.svg,sha256=vyvM5N2eo9YHixg7JurX0P03ISRoONu200wA-hl_sOo,530 +material/templates/.icons/fontawesome/solid/note-sticky.svg,sha256=NKcxFuryrdeqXsFAZxyPmLEY7p7TJveqLIpijOyJIr4,457 +material/templates/.icons/fontawesome/solid/notes-medical.svg,sha256=8FIWp6x2uK2HmTA05jy5sygr1oqPFu_Pzsm-DOEf8RM,785 +material/templates/.icons/fontawesome/solid/o.svg,sha256=HltLY5o3eRiDg6WbuoPQ1WWmKU7DeO6Xas0iCtUoPB0,387 +material/templates/.icons/fontawesome/solid/object-group.svg,sha256=J30qebjfONNDyPNvXaSOSZXVPug4ePCp5baBrLIF8o4,978 +material/templates/.icons/fontawesome/solid/object-ungroup.svg,sha256=GuiTBIuqZMbQOvqWj1OHSlyCaFd0EyTD6GuIDTHcvok,1144 +material/templates/.icons/fontawesome/solid/oil-can.svg,sha256=o81MnEQStazOdMaHq-YoIpqBCtnSraI_727tzmaOWvQ,625 +material/templates/.icons/fontawesome/solid/oil-well.svg,sha256=D1zvL-yMZpk-s67jIRmSSqyVAPH8bjjllROhhnwDESU,802 +material/templates/.icons/fontawesome/solid/om.svg,sha256=VYfVgTAUk7Vpd0hMKsHn3jlQXU11GhEWHzPbdWWcsY8,2377 +material/templates/.icons/fontawesome/solid/otter.svg,sha256=t4kF1S078NmD645ge8-LQFqneBCfsI4jpuxCZNFau_Q,1573 +material/templates/.icons/fontawesome/solid/outdent.svg,sha256=pqQlP-rXWuCfVbQyxNMbxTr8yf1S_vr2BQD5GOZSOSQ,770 +material/templates/.icons/fontawesome/solid/p.svg,sha256=51UiPMNR4AkNlsM93c5-81-JETUeNH9Y_6ZRMkWG8MQ,454 +material/templates/.icons/fontawesome/solid/pager.svg,sha256=zySMg-FJr6_PYyME2wVEK5jRmlQHRYJZ2tBf_G-xsnk,675 +material/templates/.icons/fontawesome/solid/paint-roller.svg,sha256=RS_4UcZLcUt1PtwGbV2HZmn8dz9QXYEQKh9YlXxa6x8,626 +material/templates/.icons/fontawesome/solid/paintbrush.svg,sha256=ZKJyyOGGpiZkfnszwNsm3E_nGvIh-e7E09LZQepdQsA,625 +material/templates/.icons/fontawesome/solid/palette.svg,sha256=0InPF6xvtuN7IGeZRw_nsFGWsHhXHsWNIiXu0waqt28,694 +material/templates/.icons/fontawesome/solid/pallet.svg,sha256=1WZghFJ8vstQYqS9OYlK7N4rxvVlOziyZQUvNOG80LM,513 +material/templates/.icons/fontawesome/solid/panorama.svg,sha256=oG91Lh4cAb9y0EzJwvwILv1X1drTzGhtEgGv5b8jDto,929 +material/templates/.icons/fontawesome/solid/paper-plane.svg,sha256=iyejpXXalRF-azkQ78poURYWNjVPDVuM6oOEX5Nv01Q,619 +material/templates/.icons/fontawesome/solid/paperclip.svg,sha256=zFteK8XJ98MSmDzSno2pJ_dU_LbpafzK4L3S5j_NKNY,733 +material/templates/.icons/fontawesome/solid/parachute-box.svg,sha256=TPH9boSnYarvkuLlEcRtdkupKfqdu9NOVTRJwDcUtUc,875 +material/templates/.icons/fontawesome/solid/paragraph.svg,sha256=v8JTPagjVQlQ3UU2-34g1whGMj0lQCe5IJQ2A1Gfbao,478 +material/templates/.icons/fontawesome/solid/passport.svg,sha256=r3ahD6CB3kCK1Atl2CFkCPH8bZBYcsY01vQalksbxjc,1074 +material/templates/.icons/fontawesome/solid/paste.svg,sha256=MJk7DXA9-hPOGUM2dLy9wSC9FRGG6Y2Hn3FS--WlvXk,652 +material/templates/.icons/fontawesome/solid/pause.svg,sha256=lA_7MWrGrabLtihMJkXuhkpsmzte0Ggxj3_2dqdKHN0,502 +material/templates/.icons/fontawesome/solid/paw.svg,sha256=lh2sAsof7HK14VU-0FaZFloOaj67ndndaXDmTT2ziHk,955 +material/templates/.icons/fontawesome/solid/peace.svg,sha256=jKCH_-fXLjc4M5yhjiQaTcbMRBDM07caUx8TFUXjj68,613 +material/templates/.icons/fontawesome/solid/pen-clip.svg,sha256=xUngeqRQ3fv6FMDP5XUBg2d96kePMvROpV7uGjsPkwE,704 +material/templates/.icons/fontawesome/solid/pen-fancy.svg,sha256=vmaDxTIQOC2OYhX5B6JiqW5OPqhm8QfEZ3ilPO1bLuQ,671 +material/templates/.icons/fontawesome/solid/pen-nib.svg,sha256=GpKdQT-6mkK9edRTWBcXFidsrTiMjx9FdDTN8JWdxRo,703 +material/templates/.icons/fontawesome/solid/pen-ruler.svg,sha256=SB5y3lCFxiomgwHHleuie9yh1ZQG9vFFkH6xGpe9-DI,944 +material/templates/.icons/fontawesome/solid/pen-to-square.svg,sha256=V2-3NMovCVdx8MdTvqreYykel3-7siIExCGyt1nbWAE,783 +material/templates/.icons/fontawesome/solid/pen.svg,sha256=6g_AMksodHXENLnGx6bj9gDccJX4l7F1ITee13LzG94,539 +material/templates/.icons/fontawesome/solid/pencil.svg,sha256=jHn9oMgbaIx_FpJSmh7wKwL_tEYMGqLIIGmx5M7sVB4,900 +material/templates/.icons/fontawesome/solid/people-arrows.svg,sha256=25WdeHGh10QNmacS2ATGH_aXU3DCv_GMb13wAxUn17c,1132 +material/templates/.icons/fontawesome/solid/people-carry-box.svg,sha256=QEpSWab8deaDwNW7kJb6ljvg9PhqlvsvozGqZwapBLo,1228 +material/templates/.icons/fontawesome/solid/people-group.svg,sha256=6O3W0cI8e1XyCd-dNmtyr-6bP6tcqjlhAUOjzm4WhhQ,1212 +material/templates/.icons/fontawesome/solid/people-line.svg,sha256=TIwwTUFRWanx1KxTDocrhTUCEd2m2hHEunBMdcS6ZBQ,1225 +material/templates/.icons/fontawesome/solid/people-pulling.svg,sha256=lHSJ1EIGRqynqL4nq-9mQxU5ROyF6J4v5FKW-4EFiSg,1328 +material/templates/.icons/fontawesome/solid/people-robbery.svg,sha256=8DO6sCO0ALRbubKunJ9TWdXLmc3O54Ma3ynlxZpvwA8,955 +material/templates/.icons/fontawesome/solid/people-roof.svg,sha256=pmoD1a5NyBaWXxeDwmZU7j2xxnfdKuLSd6AnX7pg-os,1299 +material/templates/.icons/fontawesome/solid/pepper-hot.svg,sha256=dD966ID_an1nmAGYTUpFzePtcFv4zGl_za_PJxRp_Wg,872 +material/templates/.icons/fontawesome/solid/percent.svg,sha256=oQIa74RpB7qOwoNhrZG0lT6HKj32v3G41rtpF6b9u8s,500 +material/templates/.icons/fontawesome/solid/person-arrow-down-to-line.svg,sha256=XA5zq0JfJQoP-0QB2j9HS4ukON-sMFR7dHg742fm1lA,854 +material/templates/.icons/fontawesome/solid/person-arrow-up-from-line.svg,sha256=V7IH4t1x1S3cnN6kTwVB1K0vjA-JC27fmaRQOlDVUig,858 +material/templates/.icons/fontawesome/solid/person-biking.svg,sha256=tnnI7JXPgUtfGAqGQODQHs3rmY_eZxgVx9tf3AnwQKA,774 +material/templates/.icons/fontawesome/solid/person-booth.svg,sha256=SkEl4LyHX5dFB9dnfcHjSC4qrrVGYxYxBZJBViijN3k,1059 +material/templates/.icons/fontawesome/solid/person-breastfeeding.svg,sha256=Xh94DKEy7dKJSS45LfzpdfVGROBSFsnJlMjvRJKUrAY,903 +material/templates/.icons/fontawesome/solid/person-burst.svg,sha256=cA0EwPPcuY8f-L9iYIdKH3E8cWpVVKm5Rg-e_XPf3Ww,1036 +material/templates/.icons/fontawesome/solid/person-cane.svg,sha256=RtKEW5ioowTFlC4Lh2_6dcoWzc0yz5XaI3njl4xPt0E,783 +material/templates/.icons/fontawesome/solid/person-chalkboard.svg,sha256=Lu34T2F2SpXK1TXqjFmQJiL5qxScQ9INcPm378b8gfw,699 +material/templates/.icons/fontawesome/solid/person-circle-check.svg,sha256=rD90JFxm8zTf382ogvj9hI56TyTrvO8oGGqCHkS6Y7A,845 +material/templates/.icons/fontawesome/solid/person-circle-exclamation.svg,sha256=2Rgz96sOCpaUbIx8EDW2xmEoG3FeJjuKwV8H3tQbJGw,812 +material/templates/.icons/fontawesome/solid/person-circle-minus.svg,sha256=-36KjbD26HN6XSabOHKlg1v1SMiVCdQQaGEIdV36ljE,771 +material/templates/.icons/fontawesome/solid/person-circle-plus.svg,sha256=yFcQkr5GwxSeOl-t_bn8uWpWdpnnnMeBG8sNJL8kuZk,852 +material/templates/.icons/fontawesome/solid/person-circle-question.svg,sha256=u_SapcrnRY-prGzfGfpp38RpNAaX2LVZdo3bOCUGXXE,1027 +material/templates/.icons/fontawesome/solid/person-circle-xmark.svg,sha256=mNrtXxCQBD5garJLjCoXm3xP1ANTa79t4JOZFapP6tA,943 +material/templates/.icons/fontawesome/solid/person-digging.svg,sha256=MKhssZ0BL7KJz97hU_5FXySHG_ABtGYYE2D3L2IoK-c,884 +material/templates/.icons/fontawesome/solid/person-dots-from-line.svg,sha256=hMqHVDy89UFFS6w_NGKMhyvrB_-0Kfv9VLbeB_SRV94,997 +material/templates/.icons/fontawesome/solid/person-dress-burst.svg,sha256=9n8S7OcbzHccArngvs0h9EmIUNoqnEAr7FP5fort5Z8,1122 +material/templates/.icons/fontawesome/solid/person-dress.svg,sha256=GoNoNwAI-m6X_Pvmbb-aEuYTpwNeLMfVOHmLzWVU7hk,709 +material/templates/.icons/fontawesome/solid/person-drowning.svg,sha256=rcuIUjEba6wq1CkK_RD4HhJSFK603t5X9MJyGdD_0UE,1244 +material/templates/.icons/fontawesome/solid/person-falling-burst.svg,sha256=S31sD8l5gnagBgdzRCBDePuxpZZovgZidlaU0JAP-Ns,1177 +material/templates/.icons/fontawesome/solid/person-falling.svg,sha256=_BWwxz9bUfThuHHZo83G08nzINuMHvVIFjQXPEk1gcg,731 +material/templates/.icons/fontawesome/solid/person-half-dress.svg,sha256=m5_042hgRgjdLqH0C8Gx7UgFcbBugwjmxPQxkSixCFk,680 +material/templates/.icons/fontawesome/solid/person-harassing.svg,sha256=wJSOvDajtJUfS8tXXMaGVNfk09PEga-eDGjvPBm5GLc,1103 +material/templates/.icons/fontawesome/solid/person-hiking.svg,sha256=2tjRAuPMCuPX1doa0Bt3qPvkOj6kUs1_rI_zXh-E1ak,935 +material/templates/.icons/fontawesome/solid/person-military-pointing.svg,sha256=yF8AW7YRtJV6evJ7MHVx--x_uJKwMRpaiZVhoOfNGRw,795 +material/templates/.icons/fontawesome/solid/person-military-rifle.svg,sha256=MRZ7_pkepN4UDGlEezfNjZLXxovPcz1GsdHuJQBj_oE,1057 +material/templates/.icons/fontawesome/solid/person-military-to-person.svg,sha256=q86YmrBX64111q-7aJiLRg1GzkLDTeYraUBAmuTAkoI,1268 +material/templates/.icons/fontawesome/solid/person-praying.svg,sha256=AyF8NB5XPX_sz8gA1ZhVegUmdBJyrYX_BrZL7Ok3sRs,686 +material/templates/.icons/fontawesome/solid/person-pregnant.svg,sha256=5uux6Wir5Sj6l8m3NAsG2jMVjeYbUSCk_IXRzcMaPxM,687 +material/templates/.icons/fontawesome/solid/person-rays.svg,sha256=Kym3RGizKoVIQCXZHalHYfQsgDyW27HrfSdUgzyQ3Yo,1043 +material/templates/.icons/fontawesome/solid/person-rifle.svg,sha256=f53AFllENZ2_6E0kPIzLsU9qa2xkoGA3joHu7M2Od6I,877 +material/templates/.icons/fontawesome/solid/person-running.svg,sha256=7NYrzsZZPYdrApefm7DEqYINofDB9WJjilt9Kvw7-BU,954 +material/templates/.icons/fontawesome/solid/person-shelter.svg,sha256=zsq15NpEpzYHIinK4-SeCuwqbN-k84BCMv2TGBZepqI,838 +material/templates/.icons/fontawesome/solid/person-skating.svg,sha256=ng-rftT74b6h-CVgcytR78dX7I1r_I9z1hPamxVUSYg,1039 +material/templates/.icons/fontawesome/solid/person-skiing-nordic.svg,sha256=1I_7iiJgFUxYd6TZJpqRPiewA7QDQH4sMvOjk47NA9g,1085 +material/templates/.icons/fontawesome/solid/person-skiing.svg,sha256=rmTYZ2DF3yrYsfKGS_9NxCKqooSx6kciG1lgtHc8lWg,1086 +material/templates/.icons/fontawesome/solid/person-snowboarding.svg,sha256=kkyjoldWwvMh_I4owM39Bmq5jRg7ZgnMbWfKgDUffB8,1094 +material/templates/.icons/fontawesome/solid/person-swimming.svg,sha256=qyYDtNoQruKKXEkSPgChQU5lsoDSYF-FwvGaozHEXTE,1170 +material/templates/.icons/fontawesome/solid/person-through-window.svg,sha256=7mnHmkP7BfqKlvS5zC8g-XCKbFSizeZW-qOjYujDYI4,803 +material/templates/.icons/fontawesome/solid/person-walking-arrow-loop-left.svg,sha256=68Ge2OV9bxO6UQnMYOEeB3LLXQO-kHybzRdxZIBWGSM,1268 +material/templates/.icons/fontawesome/solid/person-walking-arrow-right.svg,sha256=qmkcrlGKn1FQA2IWkT9Zwt5iemI4BnLFi8irEDwm9Bw,1194 +material/templates/.icons/fontawesome/solid/person-walking-dashed-line-arrow-right.svg,sha256=_TRDSpMvczfZe4ZaPzfTPagjTvU-f2yDYfdTw1NvE4o,1551 +material/templates/.icons/fontawesome/solid/person-walking-luggage.svg,sha256=cqtjKALUEV0WaWy2g6kEn_FF3ggvq4rPPa-I9zwyFWM,1210 +material/templates/.icons/fontawesome/solid/person-walking-with-cane.svg,sha256=W0pDs4TB1TU7OWsevxlMKV3cVr5MfdqNMsKG5YjNBjw,871 +material/templates/.icons/fontawesome/solid/person-walking.svg,sha256=CM8wbtxtivIPCdBI1exboaZ3jr3YvpakuqRieN3S0cQ,981 +material/templates/.icons/fontawesome/solid/person.svg,sha256=OC4DU9O__94g4LvJ0ZYshHrEOse0fkduaEH0L_rbPyA,628 +material/templates/.icons/fontawesome/solid/peseta-sign.svg,sha256=6xhDOqiAT2z7_TQhSLlWJf1pS01kI7ftLbZ_hyDYnj8,592 +material/templates/.icons/fontawesome/solid/peso-sign.svg,sha256=j2KNfvp-FB6EqVxXmnoSj07WjU_WIKsOniizFnJoNPs,773 +material/templates/.icons/fontawesome/solid/phone-flip.svg,sha256=XBC1S9SZAGO2NcagKsljWFfp7X32wqRacC8LqLloHow,569 +material/templates/.icons/fontawesome/solid/phone-slash.svg,sha256=NU1ZM_3rgOKZfgOpThQSB_RaXMPpNRa45TVNVfunRyU,757 +material/templates/.icons/fontawesome/solid/phone-volume.svg,sha256=SPW9n2w9HmHbXQmAg5tXGQknNFLPPIgvjsJ4XlOcMV4,867 +material/templates/.icons/fontawesome/solid/phone.svg,sha256=_er2ifFU9K8VD3nSkAGvd_3Am1IzFo1LuVxfE22brjk,567 +material/templates/.icons/fontawesome/solid/photo-film.svg,sha256=RZ_HNSK4VpbAOgdH_8qhiiy1J5na1WESJxHWqOLvnt4,1184 +material/templates/.icons/fontawesome/solid/piggy-bank.svg,sha256=hy4cdjPUsN9dHZTNbqaYzFaMRYwaG2guRAGt3KYc4SA,980 +material/templates/.icons/fontawesome/solid/pills.svg,sha256=FAOfZQFTHyabOfOwkRa_J5jFSVbOyxwCuKL6aifNNXA,752 +material/templates/.icons/fontawesome/solid/pizza-slice.svg,sha256=TO16DE7l_lKZEuPi2JNJiNEoSBK7HR-vOFJD49va3xw,708 +material/templates/.icons/fontawesome/solid/place-of-worship.svg,sha256=WeXDytwfQPqVeux8UQTiHF0Bc8dWS61LKHRzhG_vFBY,703 +material/templates/.icons/fontawesome/solid/plane-arrival.svg,sha256=EpZ7_e8Dra7RzifJw9Be37JdPu5d0upRBA1IdujfQ2g,813 +material/templates/.icons/fontawesome/solid/plane-circle-check.svg,sha256=H_3Al4NVJTZG9gEYSI_23w7qyfYskhrtc8C9mTbaFxE,837 +material/templates/.icons/fontawesome/solid/plane-circle-exclamation.svg,sha256=g78zTsqFNK5KTque15ccFF44U1H7Ja1ln30GbR1ejMI,802 +material/templates/.icons/fontawesome/solid/plane-circle-xmark.svg,sha256=VzddNECwGUhg0L-bonBNNeF1A1EfWVhx4s5iHXOd8RU,934 +material/templates/.icons/fontawesome/solid/plane-departure.svg,sha256=CPYST-z5GboD4FoZFndc38_RDWItMNyaSmXbCJ5oZX8,734 +material/templates/.icons/fontawesome/solid/plane-lock.svg,sha256=5hpTDQqG8J3-Npsz3WZUivJMOWMSYWkV2PlQ3jFH2hE,895 +material/templates/.icons/fontawesome/solid/plane-slash.svg,sha256=xEkEVlo9LOSImD0y44LXj1VBRCMglUFz5ZPTsY_Po5E,798 +material/templates/.icons/fontawesome/solid/plane-up.svg,sha256=u16Njj38M7_RwpHNPR_nLG9ZBxjzD_G4WISUKcDFsWs,678 +material/templates/.icons/fontawesome/solid/plane.svg,sha256=IF1qzjVWAYYYCLfo0sgTPNqbss1eJyxHATQQj4C0rdc,691 +material/templates/.icons/fontawesome/solid/plant-wilt.svg,sha256=BxPDfykbWyZZoo6Cl7Xd_Um05shX4YvEQX2JuYpc7K0,807 +material/templates/.icons/fontawesome/solid/plate-wheat.svg,sha256=hq3iVbpbaCsdSl_uDWQg2zQwR7cnLv7wsT1iSl6IYGA,1300 +material/templates/.icons/fontawesome/solid/play.svg,sha256=WIsRQdf_UcgPtYBHhI6zgBgY2sywSKabQeoaw_NI70w,435 +material/templates/.icons/fontawesome/solid/plug-circle-bolt.svg,sha256=7b9zlySUpcoaqxIDBUdkz2oZSkLhI2P9wqXpxlFVL7s,922 +material/templates/.icons/fontawesome/solid/plug-circle-check.svg,sha256=yKvDaqeOi4WCvVwJVLR3krKh2-TE3TRWckUjiC0anZg,856 +material/templates/.icons/fontawesome/solid/plug-circle-exclamation.svg,sha256=p-muQq97HXFqKyGlEiK0dPcze94iazfV58Yc56Cowkk,821 +material/templates/.icons/fontawesome/solid/plug-circle-minus.svg,sha256=T_7UcLNpwyha74eELpYtowUPXt3kP2fqsfDE9koJLQc,782 +material/templates/.icons/fontawesome/solid/plug-circle-plus.svg,sha256=mHgLUwBikQSyMxMLYtMRUQqY1U1DGrd83JH-55_xzPQ,863 +material/templates/.icons/fontawesome/solid/plug-circle-xmark.svg,sha256=VVodrmYBkd0JlXJ-2JSKkSaBcvwNKt1dPCUixUVnHg4,953 +material/templates/.icons/fontawesome/solid/plug.svg,sha256=FO_o67CNeNFWPOtbazunu103MEHfz3bogsi8XdWLXEo,591 +material/templates/.icons/fontawesome/solid/plus-minus.svg,sha256=REZeEhXQadvu0c4DgqPeEfVifqFIwsvH7_Ds-gRg03E,564 +material/templates/.icons/fontawesome/solid/plus.svg,sha256=gqqNuYHw1sO3vcsihDcDvmCZJwQlszfzmVCgI6n7QWI,471 +material/templates/.icons/fontawesome/solid/podcast.svg,sha256=wQ0HjG88eu5YnJKyrL7ujyz9nLihHvpe7eIPdaqHKU0,1038 +material/templates/.icons/fontawesome/solid/poo-storm.svg,sha256=VWQzgDq9kLn6MW5BlD7kd1ROjLHB9-IN8pg7PYu2w-8,1068 +material/templates/.icons/fontawesome/solid/poo.svg,sha256=wSAjcD8MLRHCwMYO0Nky6bMEi1iKQ-77z-EjWgp1reE,975 +material/templates/.icons/fontawesome/solid/poop.svg,sha256=vxZ73ibvF6rniSQKRhm7mNAUNodqy-oJPmKf9_V4Hrc,735 +material/templates/.icons/fontawesome/solid/power-off.svg,sha256=_3Biuc19DChJJyBqY8U0K6DD_c9Rg13kX6KvnG5jGkE,685 +material/templates/.icons/fontawesome/solid/prescription-bottle-medical.svg,sha256=B-wBwzGWLJNk-ZrGZRBQv--PbXFjre3YTveaBZzYtvE,660 +material/templates/.icons/fontawesome/solid/prescription-bottle.svg,sha256=Zpud0m4gsGgEqPkPNxQ_X0ktlV3c-gJ1isP6PXxKQwQ,587 +material/templates/.icons/fontawesome/solid/prescription.svg,sha256=_91sbQs3mm6M-8ec4sFA66DWY_6MkH_eTrirqU8ur0I,693 +material/templates/.icons/fontawesome/solid/print.svg,sha256=qz8laSxMlAHnLkFPOJqwEQRNh3S4h5-f4vxSN7YP0JI,643 +material/templates/.icons/fontawesome/solid/pump-medical.svg,sha256=nwAPXVd1OtnYJUoB8qR4en6rb05kbcvcoSud7zmfbTI,809 +material/templates/.icons/fontawesome/solid/pump-soap.svg,sha256=wEYxXpgq7wT4gpH8olqTva2lpUIlKQwGCMB1P6rgIHQ,769 +material/templates/.icons/fontawesome/solid/puzzle-piece.svg,sha256=xS_hpqmOMxP_dtzo0G1L3daCoM5NjCQB9Xu93ibBXy0,1199 +material/templates/.icons/fontawesome/solid/q.svg,sha256=eQg8e2aLPs8MUlo6xMnd-QkXrRait0-b75by2ZkqQFM,676 +material/templates/.icons/fontawesome/solid/qrcode.svg,sha256=eCCv-h27568XgOMcndbJRMYJS17A0c8OfLfCwM3FW0s,980 +material/templates/.icons/fontawesome/solid/question.svg,sha256=MQqeSI6RWcnZkR6HzM7Kh0Y4W-clYoxgBas80L-IoeQ,653 +material/templates/.icons/fontawesome/solid/quote-left.svg,sha256=4W7aSdL8RXuTCIxpmEi6kU0daRtecbn_iMh7T96O9L0,636 +material/templates/.icons/fontawesome/solid/quote-right.svg,sha256=XSJKIG5Nj_yakdFz9JKgl85nXiHzxmjOr4SQ3XV4Y_U,642 +material/templates/.icons/fontawesome/solid/r.svg,sha256=use1jJdGDFCwFQUnBnPsAntb5P_T1UiFHLVQT9G54NE,545 +material/templates/.icons/fontawesome/solid/radiation.svg,sha256=foj1bR8cmbxR80LDGOGbpbY_zpOyHoe5_jlSrTaLZQ8,772 +material/templates/.icons/fontawesome/solid/radio.svg,sha256=3p_O8-6iaYHO7NNREzKe8t2gTyeFqO7uemm6ov4Ks70,800 +material/templates/.icons/fontawesome/solid/rainbow.svg,sha256=U5i73XTHMh-OheEpBiAEBEKahwqsS1rWdeGLALzAur4,834 +material/templates/.icons/fontawesome/solid/ranking-star.svg,sha256=kX4RckuY6BkNx301GpzDpEBrsoVFQmCobUCB-O5pr40,851 +material/templates/.icons/fontawesome/solid/receipt.svg,sha256=gvLUxThlWSALGMoVq7-YJVg1BdUN6urJlEl6Yq4Nlzs,935 +material/templates/.icons/fontawesome/solid/record-vinyl.svg,sha256=y8lsNa0LxEj5yV__gG3sltAzYZpBarxeuS5YjlBOMYs,468 +material/templates/.icons/fontawesome/solid/rectangle-ad.svg,sha256=vR0-XJ8Bif73BTNJyp57EF4fVDHIXJXB1oX4aoas4Y0,842 +material/templates/.icons/fontawesome/solid/rectangle-list.svg,sha256=WzrPyqUEv6H2DEO3Q_XNM80AQNrVn7etLp0YILFnGtg,783 +material/templates/.icons/fontawesome/solid/rectangle-xmark.svg,sha256=GER0VXPTZIP7hcvy1s41jopn55bk3gVxwYutYUiwZYM,625 +material/templates/.icons/fontawesome/solid/recycle.svg,sha256=FVmxnDBJwwb-P072yEKZ2Kp1L8pZwW7i5GmmLTFc8vM,1301 +material/templates/.icons/fontawesome/solid/registered.svg,sha256=Y0oIXozxSG8hPiJJNqrGYMZdK3JlIv36lu4cLVFTSBY,579 +material/templates/.icons/fontawesome/solid/repeat.svg,sha256=YgInVY5cG0YQK-5jW2PB0Sieye13u5BEEDU7NAqJBP0,747 +material/templates/.icons/fontawesome/solid/reply-all.svg,sha256=FRZN-lLF3fmTfb5UCwRhW7-eAXPqlkw-NFMlJo8c_KM,801 +material/templates/.icons/fontawesome/solid/reply.svg,sha256=2P-k9Lgrn6CN72em46KDegTZTb4bc8PAMdW-KtAyc9Q,639 +material/templates/.icons/fontawesome/solid/republican.svg,sha256=yliMTCcrceqE2dIn2y001SIf6pDM_Kpn0SAVT9CQI9U,1497 +material/templates/.icons/fontawesome/solid/restroom.svg,sha256=YDP2GorGfyH0_mGVSanDQtOtB7Gl3hAm91QEGFscrKA,1093 +material/templates/.icons/fontawesome/solid/retweet.svg,sha256=sZ_6wNRJKDoF4bFVlzwEfUzY4f05K-O21SdnE-XXIfc,766 +material/templates/.icons/fontawesome/solid/ribbon.svg,sha256=2D2YYLsGNLL9Ar2IXpkYRnupOK0f5n7toSXWQjZJG14,801 +material/templates/.icons/fontawesome/solid/right-from-bracket.svg,sha256=972quhCbW-JRvIbuF6ub6GYqVOKI9szTGIbUcIarqtQ,715 +material/templates/.icons/fontawesome/solid/right-left.svg,sha256=V6G56kQog5YOvaA4OU4oayxbXQnQVbLctMe5aQuf6Hk,698 +material/templates/.icons/fontawesome/solid/right-long.svg,sha256=83F66BvN8pPeq9wmJLJuL4dYLOgCeFXFKfMm9bCaoUA,506 +material/templates/.icons/fontawesome/solid/right-to-bracket.svg,sha256=UhJdJJuksPjSFCRs_8SBcQ2REgQQwHReNFBnZTA7pek,715 +material/templates/.icons/fontawesome/solid/ring.svg,sha256=JunlWPcL_16xRCZEidTNF1ndmsPZW97Wvuv6bmnlQhE,844 +material/templates/.icons/fontawesome/solid/road-barrier.svg,sha256=W9M3xeKnblQWwcQUanpg0V3KL1akN4i5Rp0vx3FydM0,681 +material/templates/.icons/fontawesome/solid/road-bridge.svg,sha256=vxyrs54XtEIgETS4YBqVLYD2K41biP4HehdA7H3VB9Y,857 +material/templates/.icons/fontawesome/solid/road-circle-check.svg,sha256=ttD63P5g8JArtxKes1br4tyb7RxhYvY9h0ENn_nbqwI,904 +material/templates/.icons/fontawesome/solid/road-circle-exclamation.svg,sha256=wpewJgpsiKYSkUjgaRbzqJI92ve9ZYG_GrB9MS6Hz3g,870 +material/templates/.icons/fontawesome/solid/road-circle-xmark.svg,sha256=PSkk_km6a4MLHcrV9fxmmq_bdA8aB25mlAu-iwsAg60,999 +material/templates/.icons/fontawesome/solid/road-lock.svg,sha256=w7DJZsi-g4qzm4S7xoLpPj_15VzZpJiZP_4snWZiuMg,886 +material/templates/.icons/fontawesome/solid/road-spikes.svg,sha256=3ld_TJRufrEWyOjkCnAfs7ZzCDMtnVjwTX2yWItiKeE,575 +material/templates/.icons/fontawesome/solid/road.svg,sha256=sdEl6HYbRNdKW48G-2J-q4o09VE0t064uvttKS1Kay4,664 +material/templates/.icons/fontawesome/solid/robot.svg,sha256=YY2fSjxbiRSfQNyLrfpEZENS_tZTSPqdNt55nM8th8k,903 +material/templates/.icons/fontawesome/solid/rocket.svg,sha256=A9cvVpfBt_Ssxe1qx3PbpMyVCgmlTYawYqvCB_6IpRo,778 +material/templates/.icons/fontawesome/solid/rotate-left.svg,sha256=FrmELbDj_osvX35Ocj2P16yrz94CICjy3i9URxmiVyc,637 +material/templates/.icons/fontawesome/solid/rotate-right.svg,sha256=pOGm8hE1zuLGou6F83-E1S-62iVelAj8BCf0z3XCZ6I,644 +material/templates/.icons/fontawesome/solid/rotate.svg,sha256=aV08-dO3vBPMr9nLXvGorl0_fgJWfaQQMY8_IaC_Gcs,909 +material/templates/.icons/fontawesome/solid/route.svg,sha256=BT7TneQJGrmlXZkCSlkHTc6pKD6u_qBiqQCMScOfLxc,883 +material/templates/.icons/fontawesome/solid/rss.svg,sha256=BL41bs3goltyVLbYCrLMh5vtE5i8W4V4GJSyzjx_xJQ,598 +material/templates/.icons/fontawesome/solid/ruble-sign.svg,sha256=UMtqzP_7cvRG6B25BU5oN4N2W0HA5YqS9qxyUG85HiE,603 +material/templates/.icons/fontawesome/solid/rug.svg,sha256=oUa0yIgrC_3dpkuDOh-yrpdKjJW_qwpRakeC9a1afyg,780 +material/templates/.icons/fontawesome/solid/ruler-combined.svg,sha256=QmmShdub-RkL_AIGharo-jRx86XdCBxPCJbeUsV1u2o,704 +material/templates/.icons/fontawesome/solid/ruler-horizontal.svg,sha256=c_4ujY4Z6OlCfKdSd3sww1AH2oVD_QCU6NYqPFCiKGM,617 +material/templates/.icons/fontawesome/solid/ruler-vertical.svg,sha256=ciGmeEbBUphu17fNwfqmbbSXlRPMamdqfK0Tg_-Dr7w,564 +material/templates/.icons/fontawesome/solid/ruler.svg,sha256=KcNSLLA-elZB3dSYXxwVr5raRpMI6GDn7RbCqSjPZ8g,704 +material/templates/.icons/fontawesome/solid/rupee-sign.svg,sha256=mTJ8VHxqZksVorTVb1EGHPcg2qvDOrnz8qKyf5HvnOs,1318 +material/templates/.icons/fontawesome/solid/rupiah-sign.svg,sha256=SWBiShpOmQH6FtmYBY7lJF-IoWmNu-8VdBD7BGXdExE,712 +material/templates/.icons/fontawesome/solid/s.svg,sha256=3ONzzmO6O8ZJ7pTVjehE5YnhjGG79H8PiDPyTdFnEUA,1197 +material/templates/.icons/fontawesome/solid/sack-dollar.svg,sha256=wLtus0CY-jg_9ixncbFzygYF2UshKzp8_qfjAH17QoA,1268 +material/templates/.icons/fontawesome/solid/sack-xmark.svg,sha256=k0zs0PK1IvZheUQieSXFLZUVF_eahKaUzn0337x-VAU,758 +material/templates/.icons/fontawesome/solid/sailboat.svg,sha256=6DQR1vWtDIzQpYXg0ENddSnDDhbohkpy4JShF0Wo4RE,692 +material/templates/.icons/fontawesome/solid/satellite-dish.svg,sha256=slbdtVbRoWrOaP-kARukxeST0EbsJqLj83e_T0_x184,837 +material/templates/.icons/fontawesome/solid/satellite.svg,sha256=xLAlbQigD4SdMa1X_FaHixu9Yb6EUAtgcK2gKEf9Nac,939 +material/templates/.icons/fontawesome/solid/scale-balanced.svg,sha256=dVPcrW1ZHCBPuIawF_47CCiZ7EarLcQ6GcUuotad44U,1009 +material/templates/.icons/fontawesome/solid/scale-unbalanced-flip.svg,sha256=P97Ws0IEGrTGF8tUtdox-19ejv49SyKmmd7MoAKWn1E,1059 +material/templates/.icons/fontawesome/solid/scale-unbalanced.svg,sha256=kHHJGIj3eXiIVaf0-GwUSJxHDqdabXKjl8gC-2lysYg,1061 +material/templates/.icons/fontawesome/solid/school-circle-check.svg,sha256=jgpgOobmdZPS6RAg_-zYWXpilO-TNY6h8klfoWh40ZQ,1157 +material/templates/.icons/fontawesome/solid/school-circle-exclamation.svg,sha256=50B5z085rUFH6o4WiwvGpzWtTQFMC7tT_0mkmuBgl9g,1130 +material/templates/.icons/fontawesome/solid/school-circle-xmark.svg,sha256=5Rql9J6APeG-PPmA2nSEl4_-P7RI1hxpuNL74Dau8DI,1260 +material/templates/.icons/fontawesome/solid/school-flag.svg,sha256=Hl6nR3GvJgHR4Hz1jeuYNq03UYEvyxvL6S1DgRDeyQA,978 +material/templates/.icons/fontawesome/solid/school-lock.svg,sha256=YYtPx8WyA9KMpK5ynyL_NlYPptVozBeuFw8IOumXaLI,1090 +material/templates/.icons/fontawesome/solid/school.svg,sha256=aB76hIgvmcKD5ySLgGZmP7Vsu_rv5mUe1RfmKYDU1IU,1049 +material/templates/.icons/fontawesome/solid/scissors.svg,sha256=1Wjr2Y6lj_1tFlg1YHiX2U8UaVP4mN_V1hsjeuaEtb8,793 +material/templates/.icons/fontawesome/solid/screwdriver-wrench.svg,sha256=YvwP8d2AI-Is_estfRjH3eLeSb-x8B7DRxDxNrav0WM,1054 +material/templates/.icons/fontawesome/solid/screwdriver.svg,sha256=z-WWkV1CU6DnnoLvha7XPJOgQUAQFbbqdkF1p8GaUO4,628 +material/templates/.icons/fontawesome/solid/scroll-torah.svg,sha256=dZpAI9kE7THTuN9mzdNPm1Xjw134Tvpxm2vV5ywt0OY,1147 +material/templates/.icons/fontawesome/solid/scroll.svg,sha256=T7lh7q1VxoZ1GIYUjNs29WgBczQC0rnFZ1bZRsO3Ti0,598 +material/templates/.icons/fontawesome/solid/sd-card.svg,sha256=TeVA4pjUKWRfyDfWPGGjaVJqL9wVMOa539DXT5S-F84,684 +material/templates/.icons/fontawesome/solid/section.svg,sha256=0pVCImfpN65MpBbzZV5fXKQh3VIvNFRrtkJB1psv0G4,1591 +material/templates/.icons/fontawesome/solid/seedling.svg,sha256=nf6RVUIMs1MYe7tl9hKlfgnqaQZBECVRqK6Bxo43OBw,528 +material/templates/.icons/fontawesome/solid/server.svg,sha256=JsgjT7HGN67c5VtMOe7bJy1NKuGS32a2SxiDkIP62A0,666 +material/templates/.icons/fontawesome/solid/shapes.svg,sha256=fDk8RV6CuaGni4PsY1xBRzukNM87SvSlmr7nUxL-ghA,614 +material/templates/.icons/fontawesome/solid/share-from-square.svg,sha256=gn91X_MsXX4X41K6ExH1JRDxRXSzfQE_aL92EOZAI4w,901 +material/templates/.icons/fontawesome/solid/share-nodes.svg,sha256=8g6CXaNicVGzu1JrJ8r8qZjw4eGFLdpq51CvjC8rjZY,634 +material/templates/.icons/fontawesome/solid/share.svg,sha256=isayFbNlG-oh2zEq-WjHmZ7-HHafIfumXEcH6fx24V4,642 +material/templates/.icons/fontawesome/solid/sheet-plastic.svg,sha256=OgYHlanFbFES_wtlJvkkbGkdJRATcPb0Nxxfm05VWUA,638 +material/templates/.icons/fontawesome/solid/shekel-sign.svg,sha256=c7DqRc0_PfFThg26IhPSqrP3bMd7WdnkOa2b252GFtQ,624 +material/templates/.icons/fontawesome/solid/shield-cat.svg,sha256=6_yC1Q4Rzm0QnxEmH0yTK_CzWAHalP87xudD8cW2_Ms,792 +material/templates/.icons/fontawesome/solid/shield-dog.svg,sha256=zvM79M09OZvhG68GhpVYd9GeEJAfT-IK9Fgh-E8vgbg,878 +material/templates/.icons/fontawesome/solid/shield-halved.svg,sha256=O-__tll15e7pv-f_A2zqC2hkY5MLsJSj4M91L9kNnZ4,547 +material/templates/.icons/fontawesome/solid/shield-heart.svg,sha256=C0Kdl79bCP00VlKYPaiLtn4PAxK0OU_oUOIKFCjOTZs,737 +material/templates/.icons/fontawesome/solid/shield-virus.svg,sha256=_PXCVFjluQH5x_cVoMbnHwOSnANSndZrEXbhzgFBFQw,1101 +material/templates/.icons/fontawesome/solid/shield.svg,sha256=UgZEn7VhxJ8PBGCseZsfjRJrRVkxHN8_Hy2spQOgJ7I,496 +material/templates/.icons/fontawesome/solid/ship.svg,sha256=sfV9e0JMvEJu-poiWwu5vcHxtLXVPO1fvTDez5527WI,1266 +material/templates/.icons/fontawesome/solid/shirt.svg,sha256=vXJDZRcrCohUf_sNIoiRUN9V9EMr3WAbx_e8nKGZosk,722 +material/templates/.icons/fontawesome/solid/shoe-prints.svg,sha256=yBjGUsVEGqViE3bpQFJnoa-H9kM4mYfQ4s4TGtgredM,606 +material/templates/.icons/fontawesome/solid/shop-lock.svg,sha256=G7cIJguCmgoCijeYpcvAjRzqqoOSor1h6TjR8IDWKLw,826 +material/templates/.icons/fontawesome/solid/shop-slash.svg,sha256=iRNKIXlyPAB50YaiM4rD0l391rGJUiNqF6hVnT8waIs,777 +material/templates/.icons/fontawesome/solid/shop.svg,sha256=aBE8mmZN8t-3bxkvzSHjtd3gJCdykqucHySlZu2nyZw,615 +material/templates/.icons/fontawesome/solid/shower.svg,sha256=sd-PuFNp_39HJiAUkBMakJ037VBohkthKq1KOycTCQQ,921 +material/templates/.icons/fontawesome/solid/shrimp.svg,sha256=l0110JpnQX3BIkdeRm4rTJC6LRrB8IsKlxgmlc2Rjbw,912 +material/templates/.icons/fontawesome/solid/shuffle.svg,sha256=MuaIiBE9rBaBjG7WEvQNOF_epwGy3Xgtp3AL5b5B5Dk,1032 +material/templates/.icons/fontawesome/solid/shuttle-space.svg,sha256=OWkdCUhAgymZvCEgYGgMY_dKAGSnnM9gYcP7kPtFYA4,775 +material/templates/.icons/fontawesome/solid/sign-hanging.svg,sha256=IDjFzoBHT5hY4mteLwH64QEx61IKFUd4F1pd5lSaJHY,582 +material/templates/.icons/fontawesome/solid/signal.svg,sha256=ALpc6La_2XqJ3c2k_WKeepKrDRMrBkA9pRBdkCO3Ga4,745 +material/templates/.icons/fontawesome/solid/signature.svg,sha256=qqsyhlRRx17vy0BBG3Tv2NjOOvIEiw0HNXshqFpdmAo,1071 +material/templates/.icons/fontawesome/solid/signs-post.svg,sha256=uH7_BnVqUHtS0OCdxNoIlibeX8gcsSSgEV_-Tkt7GXk,692 +material/templates/.icons/fontawesome/solid/sim-card.svg,sha256=_AvJwW0RDbmo74UiKMazFUBu7PMjC2KvsOR666je6Jo,674 +material/templates/.icons/fontawesome/solid/sink.svg,sha256=h8HwN8pjeE0YAU0_rV24sRwq-KqFsbf3jVk3poZXrVo,720 +material/templates/.icons/fontawesome/solid/sitemap.svg,sha256=l0V6Z1LbibpB6MuWpVVCzn6NI2aBnwfGuUWJBPCiEvY,816 +material/templates/.icons/fontawesome/solid/skull-crossbones.svg,sha256=ASYQMsDgdibfv5plm6bAyHWqubwQYwAHWpFAdU6eIX4,824 +material/templates/.icons/fontawesome/solid/skull.svg,sha256=X3BSWLnAPNi-gAOEs2p32AP_5DpsnrlEo5to_ptWjnc,621 +material/templates/.icons/fontawesome/solid/slash.svg,sha256=isq7jYzBudyCSe6XjgLose0a94N4koXBQw4DsZ-BNZU,418 +material/templates/.icons/fontawesome/solid/sleigh.svg,sha256=Mjy7OOW_pZjWBYHpsaKEDJCgTzLeOf7E391EsAOmCN4,720 +material/templates/.icons/fontawesome/solid/sliders.svg,sha256=nOX873_G7sASP2d2s6RG_FWkFGWRIuNB97_JcEVWCZo,979 +material/templates/.icons/fontawesome/solid/smog.svg,sha256=PtngfuhwAkmn0-Ye4KMeR0Nv5FAQrIv-eqO3LZc6Wso,898 +material/templates/.icons/fontawesome/solid/smoking.svg,sha256=GJHDRwle-FYJD9IzzradKCck1WlVxAvl6cACloNgYSI,1027 +material/templates/.icons/fontawesome/solid/snowflake.svg,sha256=yzmHWfIotUMPeASk-HoXsiWFq19LJJCIOIAywuWUtzE,1485 +material/templates/.icons/fontawesome/solid/snowman.svg,sha256=86Q_BALJtfbFO7HiVx-W1_yT0n24IrdexIlbUAwoeto,1353 +material/templates/.icons/fontawesome/solid/snowplow.svg,sha256=yT4lkMya6AOH4o6-udpgukm-yPATeqq1ciZ94yvU60E,1032 +material/templates/.icons/fontawesome/solid/soap.svg,sha256=mvqm99vk9GKLy5TlSxVo5isYIaC871ngcGRGQo_9vQg,739 +material/templates/.icons/fontawesome/solid/socks.svg,sha256=VxYej5Xb3SmLx0EDs0Nma867mfnJzf46mfDYOfEALxw,826 +material/templates/.icons/fontawesome/solid/solar-panel.svg,sha256=qXvg3_IGVgE1U9P8rw3rkUKEbUJTqAx9JtRxvv2NSfQ,776 +material/templates/.icons/fontawesome/solid/sort-down.svg,sha256=12Wy0i0g6xVzCneN5n9Izn8lslJJQblGwZLvqOLjtkY,443 +material/templates/.icons/fontawesome/solid/sort-up.svg,sha256=bXomd5YEVD5_Xl0u34n8c955KKq5TZWKu5GcjwEYxWY,442 +material/templates/.icons/fontawesome/solid/sort.svg,sha256=Num0pz3B6MDOtnK4Y9gDAfgCZSVR4YCJNUupo8xWUak,589 +material/templates/.icons/fontawesome/solid/spa.svg,sha256=qUcLIIH3eRwdGxWSpy41Wn_jx_iOj_eQMwOcf63KQ0Q,761 +material/templates/.icons/fontawesome/solid/spaghetti-monster-flying.svg,sha256=NqqmxHTc7tR0h9jfHRKAUhL0cFrb6D9ZzkdVxvLQNzo,2704 +material/templates/.icons/fontawesome/solid/spell-check.svg,sha256=aFFN6OoqOW-KbgcWOQhpyBHebu5CSPs-Acpj7wBCwwQ,948 +material/templates/.icons/fontawesome/solid/spider.svg,sha256=Y3qwiUhVqtHLwJf-aeV7O61wuHZF_QE17VXoZzz_Ix4,1615 +material/templates/.icons/fontawesome/solid/spinner.svg,sha256=J3X-IYOe97xNEndfTOH58vNgkL0tTs5yEype6VOvfVc,615 +material/templates/.icons/fontawesome/solid/splotch.svg,sha256=rpL3qFQu5bRcoKpEVkheiM2z_htIZ5uak_mqp9sQz_w,855 +material/templates/.icons/fontawesome/solid/spoon.svg,sha256=hVrW7p0PMkkHQ5PrSh0Ix0m03w5G9OXHH-a21gfRH-A,487 +material/templates/.icons/fontawesome/solid/spray-can-sparkles.svg,sha256=Q9e5SzD2fkYOBwwQwQXAvnKwjmODOqKHevP2dLRzsUQ,1394 +material/templates/.icons/fontawesome/solid/spray-can.svg,sha256=ld1AojN7MJflUOxe8TsyXb3R0WuXpcSYXo-kSBEymEA,746 +material/templates/.icons/fontawesome/solid/square-arrow-up-right.svg,sha256=h5ssoOcX3IHbCerk-HVmmbdvi_PuAWyUSo2fwm57gVM,572 +material/templates/.icons/fontawesome/solid/square-caret-down.svg,sha256=v8wmR0f2o32JOkFcVAj_10YHrYbzmKJ7mN9OLUX1-7c,561 +material/templates/.icons/fontawesome/solid/square-caret-left.svg,sha256=C2dZ25lulc8TrnROWKVej3rnvX13NWiWJqyyBFPlflA,557 +material/templates/.icons/fontawesome/solid/square-caret-right.svg,sha256=5xBtFUXZBA4Shh15Y1Ror6CPEoVwcuoIuew4dc3Rwr0,557 +material/templates/.icons/fontawesome/solid/square-caret-up.svg,sha256=fw5FY14qC1qo-KeynIBJxOfOmb2lAVSf_dvtaCCvfq4,556 +material/templates/.icons/fontawesome/solid/square-check.svg,sha256=JXQ88iPgP328u1oKgvrnkKygMWDHTUaw-Iu8XcU0Ptw,538 +material/templates/.icons/fontawesome/solid/square-envelope.svg,sha256=0CSQKaSRalpeq0a_UyiIlN6hoTOAhUDNJDbu_eQQzw0,647 +material/templates/.icons/fontawesome/solid/square-full.svg,sha256=mF-kFY1hL86TQlk_dGiozxmKAEzdJfwqvSC0F0jp_us,307 +material/templates/.icons/fontawesome/solid/square-h.svg,sha256=ylOeCjBd7oFd51w4i0gEiZl5V7SoLI3TQ8EFz-_UWL8,575 +material/templates/.icons/fontawesome/solid/square-minus.svg,sha256=v83MgLEINuxSpo3q3Q2dlnu4IEKK75YhhPq4baSvPSk,482 +material/templates/.icons/fontawesome/solid/square-nfi.svg,sha256=p6V1iADgqhhhgmkAL6KGsCRTs57LGhiqKFDWJwcKEjI,841 +material/templates/.icons/fontawesome/solid/square-parking.svg,sha256=BiXhAnjH_ce0PRtP75oQ_lz_ZfckpLC75G09Sm2H8tc,557 +material/templates/.icons/fontawesome/solid/square-pen.svg,sha256=mbFDCHvrG0Tc4yccUOu4iCF3AtmxC2xlJ_DBCgZhNrA,650 +material/templates/.icons/fontawesome/solid/square-person-confined.svg,sha256=5TE3_Q6TfMeEebcUzkED841pL_fYkeNacxtXewvCVI0,674 +material/templates/.icons/fontawesome/solid/square-phone-flip.svg,sha256=D-og85rzdUU5AIjQrblqIeWDV2mJnFdCjf0wJOs-QSg,666 +material/templates/.icons/fontawesome/solid/square-phone.svg,sha256=HsIpazAH_D8-jy3TQjEYap-ziZ33GZeKP-an0g0LCfA,654 +material/templates/.icons/fontawesome/solid/square-plus.svg,sha256=LH6BZpE9phRb4ndrWLLbrld6lVUR6L-AXEKhA7ysFQw,574 +material/templates/.icons/fontawesome/solid/square-poll-horizontal.svg,sha256=YoHrLBqdMzyZCRHUFQxn36U_EqdoLVAl-wezz_CjMYs,670 +material/templates/.icons/fontawesome/solid/square-poll-vertical.svg,sha256=DlgqfE7dCUd7hz9XSAgU1cEVK6LdhR1G1CTKQisACuw,667 +material/templates/.icons/fontawesome/solid/square-root-variable.svg,sha256=s0TLLPxoPBiKfaCnuYOHBhG7Alg6iPA-Gs6Qq8oXg6E,817 +material/templates/.icons/fontawesome/solid/square-rss.svg,sha256=FXfcXgnz7iraZVpHvlhMh_uYqbFgSjlg7bDoPBvPJHE,700 +material/templates/.icons/fontawesome/solid/square-share-nodes.svg,sha256=z1CgUQ5R3NPUYSjZsFiQ6sI3G3JT8F8v4ACgrPfAvwo,728 +material/templates/.icons/fontawesome/solid/square-up-right.svg,sha256=oAoMnmljAWa32ZF6IUiGwV8XUW5tR5muCF3P413yLI4,660 +material/templates/.icons/fontawesome/solid/square-virus.svg,sha256=e9XSHiUNv44XT5UrybZlt84r9hJiNkxrZHX3LpDAvqk,1020 +material/templates/.icons/fontawesome/solid/square-xmark.svg,sha256=gpHIqSwwk9b4au6rmc35S_CqPdMbb-1BJrrUJ88aKL8,624 +material/templates/.icons/fontawesome/solid/square.svg,sha256=Ae9A9lb_U_qoDeeNPer5r8IiX_5KGNv9BBkE-z9SgOQ,395 +material/templates/.icons/fontawesome/solid/staff-snake.svg,sha256=ho2pSbNZSCYwvaBo2rrnZKZ4F7aXKkNAEC2bPzXbYUU,872 +material/templates/.icons/fontawesome/solid/stairs.svg,sha256=jvHxSHNdSBl_BIPSWNmusr21YoqKdkjMkYU6lIMObPE,544 +material/templates/.icons/fontawesome/solid/stamp.svg,sha256=FRJwsllvYKb-xmVhiHTFxwUVEtMKfe34NVlWh__k2qU,679 +material/templates/.icons/fontawesome/solid/stapler.svg,sha256=bpnvAz618tC2hf26fgi53ZK4E1NwvBZv2Xda41aFjnk,599 +material/templates/.icons/fontawesome/solid/star-and-crescent.svg,sha256=-0FyDilTeLZmNth8obRf9bIAq3lQF9avaiesEJHYbP8,923 +material/templates/.icons/fontawesome/solid/star-half-stroke.svg,sha256=ClMVEKqz8S3cCwnWbkWmGHOYPKwbaW5YeP7AchHO5zA,747 +material/templates/.icons/fontawesome/solid/star-half.svg,sha256=6lSl-iQb1_QsIzcn8AYEdavqJH-myL9o1toJi4zXViU,490 +material/templates/.icons/fontawesome/solid/star-of-david.svg,sha256=PsEl-bwyTCm4T2-Sh1r8OlnFPzaLp4dejE8pL81B0jI,943 +material/templates/.icons/fontawesome/solid/star-of-life.svg,sha256=RJmyCczqBkdoM79W6yYOU4NTPXtIbf-GxAYTTA6rNBM,746 +material/templates/.icons/fontawesome/solid/star.svg,sha256=TWXvQyTKBmCJdjIqsXVgn7VnwAvqib5eVcGypCgOu_o,624 +material/templates/.icons/fontawesome/solid/sterling-sign.svg,sha256=qkmIQHQPvcRJfFDSASECUUU5JpwdmAcKY2E9j3rt_y0,738 +material/templates/.icons/fontawesome/solid/stethoscope.svg,sha256=BUFHB61Fy0q5v0Bgqn_dde25DZLL9ChmWOqNiPBAD4U,846 +material/templates/.icons/fontawesome/solid/stop.svg,sha256=z03MPvhRf9fHA-MNReAh-B8UObbs0ahz-43_rjULnNM,397 +material/templates/.icons/fontawesome/solid/stopwatch-20.svg,sha256=xAstD_LDulsmNYxNxe_b_3ZB6lLIQAcMT9RSj4yxTcM,1116 +material/templates/.icons/fontawesome/solid/stopwatch.svg,sha256=PNsexFTx4AyG_IP2Ix8rEhMCvmfjRwPqBruodHe_0tc,662 +material/templates/.icons/fontawesome/solid/store-slash.svg,sha256=IF1gEpayaRrWWV4kKlXY3NqrWTmJwhV1X0mirgJky8k,993 +material/templates/.icons/fontawesome/solid/store.svg,sha256=lur9_IDgAzmSZhwti-dVb6ipKP15IUDtJzUY7dyTdSk,855 +material/templates/.icons/fontawesome/solid/street-view.svg,sha256=jTWroZWNf-pXsUiryo6O5ttvH8B0AQ-lbKPiweNoao0,1197 +material/templates/.icons/fontawesome/solid/strikethrough.svg,sha256=_arcE8xrL17N-AiMaj7RaUWjJgT7Zi9aKdfi76HTmF4,1139 +material/templates/.icons/fontawesome/solid/stroopwafel.svg,sha256=Li6KyCMMNZHKCsYSdXqzLSelH-y7eD-R7Ot0W37gAPc,1373 +material/templates/.icons/fontawesome/solid/subscript.svg,sha256=TFetGTwL9DFIwSzaC6OgGy06DWXM7pCxRTtB_xaBb6E,852 +material/templates/.icons/fontawesome/solid/suitcase-medical.svg,sha256=oacBsqM0BNW22ATtVHiWyVb5jui-s4BY4oWZyMsyqxQ,743 +material/templates/.icons/fontawesome/solid/suitcase-rolling.svg,sha256=gZN9dfMgwGriMDLbf80qiRD4DtBA5_t5w8KUduyGxO4,742 +material/templates/.icons/fontawesome/solid/suitcase.svg,sha256=LNN2tmZDeBbNBpDADfKocKzrDtAwZgV3CQ29fD4jBKA,542 +material/templates/.icons/fontawesome/solid/sun-plant-wilt.svg,sha256=d6Wmi6j7kWmWe-lyaP5byuvINn74hqqW5fPBLPMa4Dg,1383 +material/templates/.icons/fontawesome/solid/sun.svg,sha256=_v5KwijDr-jtpgxfOTl9K8tZhlbV2rUWL6na4LKtpwo,899 +material/templates/.icons/fontawesome/solid/superscript.svg,sha256=8v1gTEc_-R5A15B0vNApyq-eUFWWhB4fZdoebt8dzZA,847 +material/templates/.icons/fontawesome/solid/swatchbook.svg,sha256=aDjhkkYXp1cQR4cVt4p608vY68H7xbCcybGWyxdEMAM,656 +material/templates/.icons/fontawesome/solid/synagogue.svg,sha256=azoZgubuU1LMLV0r_ddcYX719DxutMXCfCLqE61eSM8,989 +material/templates/.icons/fontawesome/solid/syringe.svg,sha256=2mvOCoXUF5L_skYTA8DB4Hh0_Rml6ZzIX3VJ7cOgbtk,852 +material/templates/.icons/fontawesome/solid/t.svg,sha256=oG4oZ4rSOIBYZJ7CN_x4CuRtmqWyXEJia26EGZRtAH0,420 +material/templates/.icons/fontawesome/solid/table-cells-large.svg,sha256=xncyMdPBkBDffsAU0hr0wnKDhjI-9hWlT1YGdFuh3fE,486 +material/templates/.icons/fontawesome/solid/table-cells.svg,sha256=-kTzVu77g3H4VW6_zhuGcO3D72uciorl_EDjMfbDZiQ,577 +material/templates/.icons/fontawesome/solid/table-columns.svg,sha256=-Un_YuZt-z1rYXAYY8NOMX1xK96mc5h-lE1cfqToA14,440 +material/templates/.icons/fontawesome/solid/table-list.svg,sha256=DEcLSteV2rN-MPsQkIFDHE6BqqUhZ7Rxd4SXJbCM3xM,520 +material/templates/.icons/fontawesome/solid/table-tennis-paddle-ball.svg,sha256=RQbZRNftdLFtq4oTltpEvxeSZTKh5F33bUYhwafzHuE,863 +material/templates/.icons/fontawesome/solid/table.svg,sha256=Oq7Q_hsiMLko7mhs4IShVA2pdOkks8OFARDLolXm5Rc,483 +material/templates/.icons/fontawesome/solid/tablet-button.svg,sha256=_inQtFH9LOvyoxhL4IhelbKvRanC4G0ecBqejrnGdvM,435 +material/templates/.icons/fontawesome/solid/tablet-screen-button.svg,sha256=7YFDD8NcsXYRrPB_tWY_lWj7eGbSHxFuiQg0UqpX-ag,458 +material/templates/.icons/fontawesome/solid/tablet.svg,sha256=1GqeILQyCcBhKTPZAeA_3yNsnldZTov_JuYJR9RSI4M,474 +material/templates/.icons/fontawesome/solid/tablets.svg,sha256=reljseo1f2up_IafgDnD-JYEy8xcz2DHRgmLF4bJL3E,810 +material/templates/.icons/fontawesome/solid/tachograph-digital.svg,sha256=olv_I0cidnhjt2ZWiOrVfwXlVt_Zg7MQDvEHqFZRROI,882 +material/templates/.icons/fontawesome/solid/tag.svg,sha256=d5ru3qB8TMuIFoT9Ms_xCYz_28Y8WQA5pxeXmeOXIdQ,489 +material/templates/.icons/fontawesome/solid/tags.svg,sha256=xDfyO7GxC5A2ldbNlNv5-pQU0zEd4AeAS24LAUM0nVw,689 +material/templates/.icons/fontawesome/solid/tape.svg,sha256=7pBSIEFl2DJncyIh2-PlT8q3djVasChCNUNfr-h9K4M,522 +material/templates/.icons/fontawesome/solid/tarp-droplet.svg,sha256=usl-NLv6amcZhIOsQEnQ7NY14co4KlOR_-Ielw3DNC8,651 +material/templates/.icons/fontawesome/solid/tarp.svg,sha256=KBeh5wMq9qfx4fDIF61cn8YL9B8gY7VOdDXItTU6XEc,473 +material/templates/.icons/fontawesome/solid/taxi.svg,sha256=iuiuJVMNphieOTcxNETAM8JRkNYSD8FOp8YYCam9GpQ,777 +material/templates/.icons/fontawesome/solid/teeth-open.svg,sha256=cGkNIP2_DY84CrCJvWhS2hODaTmmcHCFi2YFtFonenQ,1280 +material/templates/.icons/fontawesome/solid/teeth.svg,sha256=-yV9vwVP_eBCp_fxCGGm-Kl2rvAmadUXZzuMJmPxai0,1179 +material/templates/.icons/fontawesome/solid/temperature-arrow-down.svg,sha256=5tH94zigzFPhgL2drSGcrqR0AIv0Wro1fAwRZuwVQ8U,1069 +material/templates/.icons/fontawesome/solid/temperature-arrow-up.svg,sha256=_U_N26Ge39my9Yr_XXbnlLqkqJK_3lv5_4QRAe8AsCg,1058 +material/templates/.icons/fontawesome/solid/temperature-empty.svg,sha256=gFxK0BH-c7AknsJL1oZpOMcDgtbmTSQX7qMceRtoZeo,763 +material/templates/.icons/fontawesome/solid/temperature-full.svg,sha256=MDl02aRWHz-RHDDnaNocjF5RW8sa_TyF3H1jyce9lqA,850 +material/templates/.icons/fontawesome/solid/temperature-half.svg,sha256=Z-1n6oMl3dDE2x6DCg8Ubog-fZZwJzQwwU0bcdsSP3M,850 +material/templates/.icons/fontawesome/solid/temperature-high.svg,sha256=lxGJSwEXGA1XXF1aURH0pYo3QntwN5dI95EaonWhGeI,947 +material/templates/.icons/fontawesome/solid/temperature-low.svg,sha256=I34bIsjLdEJpt0hEUGacc3RUGjjtPMdpIWY3DNbidk0,933 +material/templates/.icons/fontawesome/solid/temperature-quarter.svg,sha256=2eaVF5wsjvm0X8fHzrnhio7o-YGQhSHrLB3UN3r4YJo,849 +material/templates/.icons/fontawesome/solid/temperature-three-quarters.svg,sha256=hFWmnPRU44rpsxyximeynM9dG8UrZ21j5gMsmwTZPj0,850 +material/templates/.icons/fontawesome/solid/tenge-sign.svg,sha256=WXFEfw9javLimZkn5dcPG5sDmNMw4C6LEEOL-q0Gtso,521 +material/templates/.icons/fontawesome/solid/tent-arrow-down-to-line.svg,sha256=DhSebY4NDqbYgQGEF9AGwvLrTkWxd_qjqboW5s0G2vs,793 +material/templates/.icons/fontawesome/solid/tent-arrow-left-right.svg,sha256=9agsDtprb6RCBZ6gxJ9_NxmhnnIScpw54UF5phtPiGY,956 +material/templates/.icons/fontawesome/solid/tent-arrow-turn-left.svg,sha256=8-awk8R5SVQxULytpxNfUtYvVAL02y6XkGHDzuJBL_E,882 +material/templates/.icons/fontawesome/solid/tent-arrows-down.svg,sha256=z0L_H7IMb2bHEEXi_dHKLfV0UN4X-QYb-Dpc2hTChXY,1020 +material/templates/.icons/fontawesome/solid/tent.svg,sha256=HMOeczNpoi2si9NJ5Qe6JT0qEcQH90BIlMvuTWroAJY,603 +material/templates/.icons/fontawesome/solid/tents.svg,sha256=EaLsT-5N7apDkhPJayQLIN4-ry6XVYA7LjuZssx46JU,829 +material/templates/.icons/fontawesome/solid/terminal.svg,sha256=BPcsV09WpNOnCJ83mq-dhaDQJNWvvX99AMj-MRVgCZM,543 +material/templates/.icons/fontawesome/solid/text-height.svg,sha256=uQIyYs3s0y-CRjtvjRwy5kb4FRh-uUCFZKhxvlnObsc,820 +material/templates/.icons/fontawesome/solid/text-slash.svg,sha256=SJElS4t08seuXazcOvYY0-nqknP4KIx5cgOs1ktL-p4,754 +material/templates/.icons/fontawesome/solid/text-width.svg,sha256=dlbN4R35sXLBT91x_RNXU17Fx4STxnqFj2ZGcjWOXZ4,820 +material/templates/.icons/fontawesome/solid/thermometer.svg,sha256=EZBhkCey0LOGkvaNBVo-9fgPd0w6z-b1X0w4J8zCPqo,713 +material/templates/.icons/fontawesome/solid/thumbs-down.svg,sha256=8TVb08KdqBNhpbR_FUWM7WqMZEd1LgxmpSJn5CEJuiQ,853 +material/templates/.icons/fontawesome/solid/thumbs-up.svg,sha256=YKlSB-n6E-gMfk-ZH6WpcPPO-VbJAFbCdJWokrPcf_k,853 +material/templates/.icons/fontawesome/solid/thumbtack.svg,sha256=Uy7KNZVdtLMybSY5iJNlYNAgcZ3m8CdKBR3F5MtAxPM,621 +material/templates/.icons/fontawesome/solid/ticket-simple.svg,sha256=y97H8cwKlnexSqnMdAQZBbHrHwiD9d3B_J6MrPE7q8A,598 +material/templates/.icons/fontawesome/solid/ticket.svg,sha256=gi0OR-C_L0w73eI2GOgzAiH_urgCWy4MVuT4AwLpvfs,807 +material/templates/.icons/fontawesome/solid/timeline.svg,sha256=Uc_mK9VjOvAwS85YLi18S22Z__HVjx7aAz8_TAUYJT4,800 +material/templates/.icons/fontawesome/solid/toggle-off.svg,sha256=7znYBiGpP_SFpc8VYHI-YKq2o9jmoXe04T2-Zwjj0XU,528 +material/templates/.icons/fontawesome/solid/toggle-on.svg,sha256=EFLC0VkM1WDIY5jPLo_rnLemSbI-FgOpa0TJcWInAuk,418 +material/templates/.icons/fontawesome/solid/toilet-paper-slash.svg,sha256=jhTjfnlvPVo5ZzkSsRqbynKQB6qzt7FeohWBo9puJZY,877 +material/templates/.icons/fontawesome/solid/toilet-paper.svg,sha256=CSKFxTcZ7HrsaFL6JJ_nLRD6lpe5UgmY0Gj2F-PmeCI,812 +material/templates/.icons/fontawesome/solid/toilet-portable.svg,sha256=L40RkFZQg-ey66swEZL2U_ZdM3fUttNPWpHwV48KqYw,528 +material/templates/.icons/fontawesome/solid/toilet.svg,sha256=3tYlSEzban2jzuOD2rYeqF60gi2YboesdWugjKsrIMM,1106 +material/templates/.icons/fontawesome/solid/toilets-portable.svg,sha256=xvgb1AeOj2rzjscxwreYJ7gWTA0gurRvm8uWWC5SWKQ,781 +material/templates/.icons/fontawesome/solid/toolbox.svg,sha256=ExjffBg7rHdYC08ZyYi2nSwHcEEt3Jk4L1oLbBxmm7Y,794 +material/templates/.icons/fontawesome/solid/tooth.svg,sha256=vEJbDpp8IBY7pZErFbR0iiakz1xnaW4AX0yP163WWLc,803 +material/templates/.icons/fontawesome/solid/torii-gate.svg,sha256=p5CMBg_ejkuULY7HxxhLBoXckvYOYWLzQ0_CemSIFwc,715 +material/templates/.icons/fontawesome/solid/tornado.svg,sha256=--mM2YW98oj43fpjh7GmVg8UKSlaxo5bvkpmZiMq4Qg,788 +material/templates/.icons/fontawesome/solid/tower-broadcast.svg,sha256=fZzl63UQpLaX1C_5VbEyyMZ2Xoa5f_drrXFnX8A1CUE,1206 +material/templates/.icons/fontawesome/solid/tower-cell.svg,sha256=k9DgBHt7OGwFh1KXAcF0sza0TGaCNZE-ezDPJ_z6WeE,1403 +material/templates/.icons/fontawesome/solid/tower-observation.svg,sha256=lrUie_erMkOolajwWb5h_bEo8KtCZnULqJVjw1WRT_E,855 +material/templates/.icons/fontawesome/solid/tractor.svg,sha256=hrNRQoMEyplAVpB7ppQfwZ679eu0udfK4r2Q5BsWXus,1379 +material/templates/.icons/fontawesome/solid/trademark.svg,sha256=8EXKY-gVKj0bxL5LsbqPGJSj04aBHZeAOw2IlIWFWLg,701 +material/templates/.icons/fontawesome/solid/traffic-light.svg,sha256=uFHnwjk1X38aUTgAQXAWpU6UfJqj626pehFhjsiZMFc,513 +material/templates/.icons/fontawesome/solid/trailer.svg,sha256=xFTyvq2T6MyLBzajbJ_QJ38iau7dIi1_pTg0AkB_PwI,967 +material/templates/.icons/fontawesome/solid/train-subway.svg,sha256=uAGR9z8WuufbR5PTcShAzwaaWmeD2pk1QgjturtyugI,821 +material/templates/.icons/fontawesome/solid/train-tram.svg,sha256=47Q5EFtGm6moTBBqBU-eslwm66Y1yeiigXBgQAQVlvQ,973 +material/templates/.icons/fontawesome/solid/train.svg,sha256=TgdjYlX0RxEEZ3eTycD-_iSL5hp2XG_1FIq68FaMisg,672 +material/templates/.icons/fontawesome/solid/transgender.svg,sha256=AhufBIGjIjtf2-ftihMIj56AZqWEdoSZ8AhMknStVJU,1037 +material/templates/.icons/fontawesome/solid/trash-arrow-up.svg,sha256=6pUO2z1BOdornh7cM1US84mAgWb8_RrqJluCwPcT-kk,741 +material/templates/.icons/fontawesome/solid/trash-can-arrow-up.svg,sha256=ydw_sTtrDxDmttJwhyQCCx8dobK5gwf7CZA1nzHDhBI,720 +material/templates/.icons/fontawesome/solid/trash-can.svg,sha256=E50llnorApcLl089u1Luc4q_mRDCwTZtr6MKkKJPubA,777 +material/templates/.icons/fontawesome/solid/trash.svg,sha256=QjdoYAThcoSX4YHBHB4JTIMDSVKN1UqNMvN2Smr43IQ,544 +material/templates/.icons/fontawesome/solid/tree-city.svg,sha256=Z5kHsfn5PBeFUw6E3wqNsirPP-6mJCyu4gz_4OfdNlM,1154 +material/templates/.icons/fontawesome/solid/tree.svg,sha256=UfUNM8cOruYxDJpUqrNsYo5lPMTvvmuZion7ypHtLGw,756 +material/templates/.icons/fontawesome/solid/triangle-exclamation.svg,sha256=flm86Lw_bc_Sdf7-VlR5bzaZe_UuKklaWN53l0os6Kk,590 +material/templates/.icons/fontawesome/solid/trophy.svg,sha256=HmYZ3KZeTPcciI9iJn4AKN6eBuTOx73cEyvng-dDd6E,958 +material/templates/.icons/fontawesome/solid/trowel-bricks.svg,sha256=vA-UYSgDR6xg_QJ9AlWeTTN6yhyV6mtAbMc4R43r3eI,880 +material/templates/.icons/fontawesome/solid/trowel.svg,sha256=TQp94MEaJLoXX1aVGlDlRLny6k6zNI6D_VPtjuq2vhU,615 +material/templates/.icons/fontawesome/solid/truck-arrow-right.svg,sha256=mV5RJOu6Wra209M_Rm33P1Jn2TtZ4rdcy-CWaLlSNXo,851 +material/templates/.icons/fontawesome/solid/truck-droplet.svg,sha256=L7SlMb64074b2kzxR9NHKx45aIwlHEoClOD58sW_rIc,792 +material/templates/.icons/fontawesome/solid/truck-fast.svg,sha256=vbkEOKisy8dFW4_Bqy6t4yxNEiugpvBjBu5CH4U7aNA,870 +material/templates/.icons/fontawesome/solid/truck-field-un.svg,sha256=46F7VyGxb5goAoF14GeeJvTjf_Kzl89iTSDuTesGpjs,1095 +material/templates/.icons/fontawesome/solid/truck-field.svg,sha256=7k9sOcZXLzo1-EZy3-VYGVdGuR3Y7hgiGRZ9farXMvQ,749 +material/templates/.icons/fontawesome/solid/truck-front.svg,sha256=bnTQiiRcoMD6V24Ug9QNMrVSohooItOFJgU7km6-Mbo,682 +material/templates/.icons/fontawesome/solid/truck-medical.svg,sha256=Rc87rqi9J5OB6vZlIWTmxZaBlLkgXLGpulZQG3GRR94,868 +material/templates/.icons/fontawesome/solid/truck-monster.svg,sha256=ZRBYQZspHWfAVp8T00_L3BAqOBkryHgR0wXUbh1z-F0,2056 +material/templates/.icons/fontawesome/solid/truck-moving.svg,sha256=6LF-yS-uxEUowsHN1CFEZGLKKfBz8ojD7-nLu5ioZfk,820 +material/templates/.icons/fontawesome/solid/truck-pickup.svg,sha256=LlA4yI2DfTMiZOy5qpoocoU6iRF730Y9TGAdjvRxyjM,790 +material/templates/.icons/fontawesome/solid/truck-plane.svg,sha256=mqK6NN4Ki3_iB5LRFGWExuruEnuUwT8Pqi4Rs_17rbQ,1001 +material/templates/.icons/fontawesome/solid/truck-ramp-box.svg,sha256=WR5PITTnxAcqaA8n_6fiJWIyKj6wCgSqvY1yieuYxoo,757 +material/templates/.icons/fontawesome/solid/truck.svg,sha256=il1ndKKFoYd_4k5vE9yaOKLsUps46fm-P4KcBXWLV3A,663 +material/templates/.icons/fontawesome/solid/tty.svg,sha256=YpQwONPWEiBpde_EPikBGonv_3O5xQvxHQ4oKBEd1vg,1382 +material/templates/.icons/fontawesome/solid/turkish-lira-sign.svg,sha256=_hl_ElpP8E4LF2Q-g89_FYnhdWZBiZPQkbqgETaFeQM,751 +material/templates/.icons/fontawesome/solid/turn-down.svg,sha256=Mptbwt46BxrPEN-rDVpZRqq6IjOue_fdAqoZthmkGy0,554 +material/templates/.icons/fontawesome/solid/turn-up.svg,sha256=Z6C3uJVAbHls5q_cFfiYYA89q8gaUMQp3yv15loaRKU,555 +material/templates/.icons/fontawesome/solid/tv.svg,sha256=8wdppjDZq7PAkrtL6MOMgPybozJa29Goo1lKv2ZKPZ4,503 +material/templates/.icons/fontawesome/solid/u.svg,sha256=m5680n1N682Ox5Sg-cQzJDv9OUHaHRwk2KTnI4aF8Ds,462 +material/templates/.icons/fontawesome/solid/umbrella-beach.svg,sha256=8ucPCByWS2OtfESgqT9iP6YfeHqKZp1jASXGKMENrUE,899 +material/templates/.icons/fontawesome/solid/umbrella.svg,sha256=iX4x8v8o0PwAgfm8Lim7nPYBiJxRhRMNS6AoYRNSyd4,937 +material/templates/.icons/fontawesome/solid/underline.svg,sha256=BrBCBXcHc2qgW09W15zgHnWXpBgDfinhDZ8xq-IOIMU,645 +material/templates/.icons/fontawesome/solid/universal-access.svg,sha256=0FiKUGHArWK3-JAHM5xacJHS6FDeMRq94wp_qerK0lI,859 +material/templates/.icons/fontawesome/solid/unlock-keyhole.svg,sha256=IGcc9_XV6GQi-VOuGzfLDdymCgOA-kBHVTrR0NZye20,636 +material/templates/.icons/fontawesome/solid/unlock.svg,sha256=GY7f6JI2f1zCKAbjGyFSagEiy33KW4Wf1T_pwP-FF4E,551 +material/templates/.icons/fontawesome/solid/up-down-left-right.svg,sha256=GVfUn21OjgQeIWWFkoy2gNrbBj9kVOIzQzeqQes0SLY,888 +material/templates/.icons/fontawesome/solid/up-down.svg,sha256=wRmGOcRsizfNaLPhM26IKak9yZosXt2A_Bp6goVv8CQ,604 +material/templates/.icons/fontawesome/solid/up-long.svg,sha256=VKvaIf_KBdBMhlvCa0P2P5WWmrifc38Ore3T2mA-ZWk,503 +material/templates/.icons/fontawesome/solid/up-right-and-down-left-from-center.svg,sha256=DhXvXn__X51x7l-ZSJE11FbWTumOjZK8E8y5AdJGt54,701 +material/templates/.icons/fontawesome/solid/up-right-from-square.svg,sha256=7gJihntuF_X81-lOBjBzKkpii7GNIvHUmAA1oQWaJHk,734 +material/templates/.icons/fontawesome/solid/upload.svg,sha256=jkMRPu-WkQRRGxKJ6Z0wd-y4KfcRVF6V6x-MgPEwy3o,691 +material/templates/.icons/fontawesome/solid/user-astronaut.svg,sha256=HQu7p48iJQ55avH4QQ2CjrnufIS8RUDLKU7qb2GErVs,1180 +material/templates/.icons/fontawesome/solid/user-check.svg,sha256=agDYuSWu0nBYcwFEvffTAAMHqLVEyMVlO7fRt4fVC4s,610 +material/templates/.icons/fontawesome/solid/user-clock.svg,sha256=_doHkB0kR_qXpH9Viux3j3ba95x7sUJditu1uVQ0-z0,650 +material/templates/.icons/fontawesome/solid/user-doctor.svg,sha256=Amop3iQe7iBNnoxPaiqGkatr4yZ0CkT1hcTh50_IFVU,865 +material/templates/.icons/fontawesome/solid/user-gear.svg,sha256=dKJlFmBH5j4cfns5WeFoBtcm5q8VmfFysTiZe9uy2oE,1629 +material/templates/.icons/fontawesome/solid/user-graduate.svg,sha256=Rp0cftvvgQHHofxKhyX6BGHZCIwXL-KcvM4uyURcEZ4,821 +material/templates/.icons/fontawesome/solid/user-group.svg,sha256=9vuYyQNR81veE4Cd3MUw0MVjKfdJYNQ_RoaGzAlWFIM,778 +material/templates/.icons/fontawesome/solid/user-injured.svg,sha256=Vd-yMbmUaAMLakeegSeTNdbSS6v_mGR2vYmzqeCikPY,878 +material/templates/.icons/fontawesome/solid/user-large-slash.svg,sha256=qrF4rsNjLwpoHyRjK7-EIM50utaGBZe9pqYzJ1LDp4w,588 +material/templates/.icons/fontawesome/solid/user-large.svg,sha256=PNpQC7BNf_t1mUmStBmvxZgJzrPx5Qm4Pxwja7CPABQ,466 +material/templates/.icons/fontawesome/solid/user-lock.svg,sha256=XbpWQWQ3dipHmQXNpzj0rv0DteNPEMUQk9eYGmz1UgI,694 +material/templates/.icons/fontawesome/solid/user-minus.svg,sha256=DjuKpwZh5R9YY8Q-5EL_lgPhcgzpn6ks8yKyzioNqO4,555 +material/templates/.icons/fontawesome/solid/user-ninja.svg,sha256=5XwtusYiceDp-ETF2O652i5fB9gf3mLY57_P9QgajJo,963 +material/templates/.icons/fontawesome/solid/user-nurse.svg,sha256=gGcwDQTpW679XVypu23U0ELmuHeSFKqBhw_eEGUZP8g,926 +material/templates/.icons/fontawesome/solid/user-pen.svg,sha256=NbTuKttBpd5eJwl6VfvE2HGswUsm8qfN-AySQveHTxY,768 +material/templates/.icons/fontawesome/solid/user-plus.svg,sha256=2QIuuVJlQr43jLpYMz5_n5cACtCYsebGGnTGnvBhrnQ,646 +material/templates/.icons/fontawesome/solid/user-secret.svg,sha256=xG7aOMUBSp3s8BSdTOF0kusb5UDKmdpyUDj_iaJTS8o,1103 +material/templates/.icons/fontawesome/solid/user-shield.svg,sha256=uhl6BKRDN7q5AA9NE1D4Lq9iPQDuh2gn79KQXh_U2FU,736 +material/templates/.icons/fontawesome/solid/user-slash.svg,sha256=PrVmybKkJOJJ9uim9te-OO2FzJU1zw_sYMZh2jw2R8g,606 +material/templates/.icons/fontawesome/solid/user-tag.svg,sha256=tBKDKpI3h17D1UMqnBvAPCNRoFAGUxo_IReP2gjGK6k,728 +material/templates/.icons/fontawesome/solid/user-tie.svg,sha256=RSPTRVOxhv03PKmyLFQVBg8draQufsWKEwXoSycTdzk,633 +material/templates/.icons/fontawesome/solid/user-xmark.svg,sha256=g1uqAq5Fehs65cLEejpS3HNDsXcJGR9GMwtweRqsVjM,697 +material/templates/.icons/fontawesome/solid/user.svg,sha256=ACe2_RIpvIp1dFlaMWKbPyvNyX1UxVNd1ICJKjfUuU0,469 +material/templates/.icons/fontawesome/solid/users-between-lines.svg,sha256=nqdiWO4kKse_i7E_XQYcSoXiT5xMf_y2SbwgZbzX3Ss,1052 +material/templates/.icons/fontawesome/solid/users-gear.svg,sha256=imtjhlV6uK6fGd7zYOf2HfXGJdiSAZ1M3dBSyK57gTQ,2375 +material/templates/.icons/fontawesome/solid/users-line.svg,sha256=h5t93WL8Dp_OSuGZDTJIATqeH0akVxnFisQHGoZaz7w,963 +material/templates/.icons/fontawesome/solid/users-rays.svg,sha256=zUld129Hz0y6TbxXTwoYPMn5jJupl1NKiYRu5cfBHFU,1319 +material/templates/.icons/fontawesome/solid/users-rectangle.svg,sha256=MADEwwVGmT7CW5Gjx7OfEKbpb9OsSvl9sKQPhzuW1mE,1068 +material/templates/.icons/fontawesome/solid/users-slash.svg,sha256=0CMvVQt6WIx-OBqhtDPD6vNt_aGbla1Oz1a3jwM-rN4,1003 +material/templates/.icons/fontawesome/solid/users-viewfinder.svg,sha256=uWGWCeuPsNOq3SOA2K0husy98PLls9j7XnIG7_iiH6U,1325 +material/templates/.icons/fontawesome/solid/users.svg,sha256=4OpmK45ysCdoQFJyZMCd4jq0c1LujFTQocr5UDVm21o,861 +material/templates/.icons/fontawesome/solid/utensils.svg,sha256=MCMRzO18zHkA9tHPA2affpEOcy7pcuMXuiCQ3WIo1BI,841 +material/templates/.icons/fontawesome/solid/v.svg,sha256=HZu55sIeflRCwJXr1i85t4MlDSaIAdTd_GDspMZ1mBA,483 +material/templates/.icons/fontawesome/solid/van-shuttle.svg,sha256=msxL06PbxKXdpWeNGUxO7oW7cHePnWFkAwjD6QTM3TA,676 +material/templates/.icons/fontawesome/solid/vault.svg,sha256=spxPVCVbLXm4lSJsRAupmZkE8WRrYRX6oeXbilpulpM,660 +material/templates/.icons/fontawesome/solid/vector-square.svg,sha256=tO9UtWA7Ph0ekHnFH8ZAraxo5jkh_kddFJfWMmqvf2M,786 +material/templates/.icons/fontawesome/solid/venus-double.svg,sha256=Tjh915C51pnbzlzm-1VSbK6eWUIFML8eMZ9UdTojrgw,971 +material/templates/.icons/fontawesome/solid/venus-mars.svg,sha256=VlLaaiCMs0KRWcgr4BwA9v7CpwY7mfCBVI57Iz6j5VE,1012 +material/templates/.icons/fontawesome/solid/venus.svg,sha256=OC68E06kZ5wk_DzZup_lhDUl2wB4WFwqtYwjcNO1uoQ,580 +material/templates/.icons/fontawesome/solid/vest-patches.svg,sha256=Sg0W7ir1HHZS146obN5nyHFyKQPUaD5exHZfhYbZ4KM,1239 +material/templates/.icons/fontawesome/solid/vest.svg,sha256=5NBO6Of5X8mI0DUvHjpwjqzblCi52mshymj1OV70viQ,1062 +material/templates/.icons/fontawesome/solid/vial-circle-check.svg,sha256=ayOebVKWvRcZ5WV5T32OSlds8d3K-xJ2i8y8UCtPfpc,715 +material/templates/.icons/fontawesome/solid/vial-virus.svg,sha256=GlQbmWy781k1huIhfEuT39KV8_XhZJP5094eDHOuKOo,1206 +material/templates/.icons/fontawesome/solid/vial.svg,sha256=oP3U_GDe4Wi5XtqXBBqGb5PjELbMKmX1cnqkEYJjgwM,567 +material/templates/.icons/fontawesome/solid/vials.svg,sha256=dHh7BPg_Gi97TMdVG0VLNa8mljGHF-42goph-Kwaerk,597 +material/templates/.icons/fontawesome/solid/video-slash.svg,sha256=lKv_0olAceY7BiJr5rHHXNf-J6d_vs01t_yYJDKx4V8,676 +material/templates/.icons/fontawesome/solid/video.svg,sha256=xpZ0pJbkjbHfXBLBlxRjTwt7XA2Ob5RPo04RTn6T6UY,546 +material/templates/.icons/fontawesome/solid/vihara.svg,sha256=Kiakksc0-5T5-ieQ1zViOrqAL5TtSXGXgLM-95E2ipI,1535 +material/templates/.icons/fontawesome/solid/virus-covid-slash.svg,sha256=87v_w5JDeDAR0bqbcGVReMMI7oiGFLSFSjph26LdlEE,1372 +material/templates/.icons/fontawesome/solid/virus-covid.svg,sha256=WjU0bQACJTGT1LoHsRyCv3WY5zTPxSGkD1UVWe4CXus,1519 +material/templates/.icons/fontawesome/solid/virus-slash.svg,sha256=ZYjx_wUponx-o87CBr04po8H-OAZk5v8sQClSyt-IuI,1112 +material/templates/.icons/fontawesome/solid/virus.svg,sha256=iD69Cds7-P1VS9dz2Yym96pthMN6BHuTWf9t4-3qltM,1039 +material/templates/.icons/fontawesome/solid/viruses.svg,sha256=H8_Wa1V-2122KzxR90STZNFmbMta0DgRJTanPrbCXYs,1577 +material/templates/.icons/fontawesome/solid/voicemail.svg,sha256=DijrDqzswxBBxzBHovNtjsZ_DNPWykceguxFJyBce7Y,564 +material/templates/.icons/fontawesome/solid/volcano.svg,sha256=P8NxGkFeYUmmkobESi3vWhsy8XKZ1eeR38nAeh0GG2g,1004 +material/templates/.icons/fontawesome/solid/volleyball.svg,sha256=vwbJ6tLXAU2ja7NAYo3w0_GUrjMuHJHgZctO9rBW0kg,1062 +material/templates/.icons/fontawesome/solid/volume-high.svg,sha256=6t7PimN46P5CURTRDa6GyB9v-OVzU22kdMejkDssFI4,1100 +material/templates/.icons/fontawesome/solid/volume-low.svg,sha256=mHbuvrzdR1x2cleNhk2wQqhzf0GNjlm-vc7lqHUp22w,682 +material/templates/.icons/fontawesome/solid/volume-off.svg,sha256=3dmfQkK90CSFipaf5uIfOD-52GAGoEWKy1b_liP5IqM,463 +material/templates/.icons/fontawesome/solid/volume-xmark.svg,sha256=sZOTrFx-tKUphchrPLvo1OYT6f55r5opMdxHnEAOSzc,698 +material/templates/.icons/fontawesome/solid/vr-cardboard.svg,sha256=47vcLMn4V04JBLDMKnHttG9j5lf8KIp5rzeIxxDA1k4,607 +material/templates/.icons/fontawesome/solid/w.svg,sha256=rJQFONq8w5yr5yBxTMGkNDkkTtsZc3Sf4Lm864OmrAU,612 +material/templates/.icons/fontawesome/solid/walkie-talkie.svg,sha256=R9LoWHLDv4wRYZpq6vKlIWwgTOiRUEXCe1O6nFIdeqA,891 +material/templates/.icons/fontawesome/solid/wallet.svg,sha256=EEma3A3aBG6DvJlV-EbL2OajUic9viZBMEDapL_qMlM,514 +material/templates/.icons/fontawesome/solid/wand-magic-sparkles.svg,sha256=rmbEOllHvPsJt0t58_70Hfk5jPsijxs_P2YnP2cQPGk,1184 +material/templates/.icons/fontawesome/solid/wand-magic.svg,sha256=RU7OgVLlHjeGmsqwyvPonUH54TUEeZHiCNB3lJzVCs8,505 +material/templates/.icons/fontawesome/solid/wand-sparkles.svg,sha256=UtUEPQa0Eb1-P5xfQcxIVIBAe-wMXQRHSw9ICCOjF5g,1394 +material/templates/.icons/fontawesome/solid/warehouse.svg,sha256=pL0JG-t_SOHtM9KzJ0DU6HjX4Ykypjlw8lpsNXoB-gg,668 +material/templates/.icons/fontawesome/solid/water-ladder.svg,sha256=_gvnIcKnHY6XX3wH46pD9SvHu-1qkb_R5g5Txtwcpc0,1327 +material/templates/.icons/fontawesome/solid/water.svg,sha256=fhiMhnQq-GwscsIrMGwUWnj0S_GPRRghz_mTddHyccY,1951 +material/templates/.icons/fontawesome/solid/wave-square.svg,sha256=ClOs5UoU0nr5noe4wCEPtnXL7xEtedp51uBn08VnpDc,548 +material/templates/.icons/fontawesome/solid/weight-hanging.svg,sha256=HGu6osFZ3LgkBqz05weiY45GgOZcNv1m3k3vewlpr-U,584 +material/templates/.icons/fontawesome/solid/weight-scale.svg,sha256=TRpZj0mVNNCTki0nKmRBese_BmYrtoVEt7c2xKuWm2U,650 +material/templates/.icons/fontawesome/solid/wheat-awn-circle-exclamation.svg,sha256=9WraGz1iSNvWEOxACgsttE-Pf78l4JHrMQPLijwmuQk,1495 +material/templates/.icons/fontawesome/solid/wheat-awn.svg,sha256=TbLBDoG0SFqPGd-X9PkiNw9W-ejS-6-UVB2Zk9ztBiw,1359 +material/templates/.icons/fontawesome/solid/wheelchair-move.svg,sha256=Sb7FYssV2xKlIslZrylXsewFaYY06EeRikKxmho7IJ8,795 +material/templates/.icons/fontawesome/solid/wheelchair.svg,sha256=kzRX5TY5uLuPhZ021mJuFA1IyreTZIzh86BpzP0RKVM,936 +material/templates/.icons/fontawesome/solid/whiskey-glass.svg,sha256=hOO5aIYlWMryyYARxTsH1Txiyu4W5F2Gf9_nY8-QldU,493 +material/templates/.icons/fontawesome/solid/wifi.svg,sha256=2NKhznW7JAe1-gaTcxexkilnDsHaWBRXqgHE_hSWlBQ,739 +material/templates/.icons/fontawesome/solid/wind.svg,sha256=FdanDhm6q-b3s2OazYSyby-3VeFkaKJ8GTwiw0UTBGs,784 +material/templates/.icons/fontawesome/solid/window-maximize.svg,sha256=hiR_Rgv2AfXt-ZkZFperaKNbMB4vouaJr_8SBq1Naxw,480 +material/templates/.icons/fontawesome/solid/window-minimize.svg,sha256=tflSmPC3tDn-rN9uocvne3m0Zh6I2ejEoIESCb6Psx8,377 +material/templates/.icons/fontawesome/solid/window-restore.svg,sha256=u7c0b_y51mpA5iIqQFEP0_8yKnFrgd1cBl23oFqGxfA,655 +material/templates/.icons/fontawesome/solid/wine-bottle.svg,sha256=iIyl4BCB1VLgvwuu5szSYYH7vd6Z2OMMf8DbreMAVZk,794 +material/templates/.icons/fontawesome/solid/wine-glass-empty.svg,sha256=HR8qsM6zPcPgykgw0GV3EKahEaJp8DAGOq92zJgGq5A,610 +material/templates/.icons/fontawesome/solid/wine-glass.svg,sha256=B3wT9WkP4HhY8hYYGawHpJ7eILz11hl_AoAHXMPXVx4,558 +material/templates/.icons/fontawesome/solid/won-sign.svg,sha256=9mXUCJTZEh-yhwX9PFLO3SERN4mjA_o1gAZz-sMjj0o,824 +material/templates/.icons/fontawesome/solid/worm.svg,sha256=cn96Vfy3RYs4wYeJP9aBNNIpfazMrt82ImlT_tMOZj4,622 +material/templates/.icons/fontawesome/solid/wrench.svg,sha256=90nd94IhDLEOVDBOC5-YY6qcD--k5iiFFlruCk8cn8M,736 +material/templates/.icons/fontawesome/solid/x-ray.svg,sha256=uZRu8aMSY1lDkuGZxXmVc6fiiJ1rGwY7mgqa4qzdM8A,1030 +material/templates/.icons/fontawesome/solid/x.svg,sha256=W65sukpBU4o0EjmKnI519nLuJ7e29YUbjIsmjWmq3eQ,572 +material/templates/.icons/fontawesome/solid/xmark.svg,sha256=EuBpeZyXouB9EYwdcY1xuZ94SqQzsbvnho8LOjdusdw,569 +material/templates/.icons/fontawesome/solid/xmarks-lines.svg,sha256=CMeICOCc0Wz68wBMQpVghkLKT10H8D928vZR0PIN0S4,1140 +material/templates/.icons/fontawesome/solid/y.svg,sha256=3WTc84oktK5uj4RIhPehxjW4VQM9ZP5qPpga4FnM9Sg,469 +material/templates/.icons/fontawesome/solid/yen-sign.svg,sha256=_-mvILaNLRTMNo7g5uQmgAdTPTIH30UbKxGhaRJmsyM,654 +material/templates/.icons/fontawesome/solid/yin-yang.svg,sha256=TKack3D5mTYLFizDRFW34Xxki3aK7ous12Cvh3Cs-dw,520 +material/templates/.icons/fontawesome/solid/z.svg,sha256=a4pxqAfKf8xPeen6JJAeRhWyc9wsiPiOAAfmkZNTHcc,492 +material/templates/.icons/logo-monochrome.svg,sha256=qwn4-jdUC04qAIr9UX5UN5A04zx7r2yk2K29YnS0_g0,323 +material/templates/.icons/logo.svg,sha256=B2U2F8AWkzryB835tlovGGDUE_6LAE37_GBBW3Lo67Q,433 +material/templates/.icons/material/LICENSE,sha256=O65jBbyqbRAhm5mfZcNCA0wtQLHA6FZ_oIYF5zzLqCk,992 +material/templates/.icons/material/ab-testing.svg,sha256=jKHkSdpQs8XphlnUoO1KH5OmNEWxDFs9Q_FmIY--c34,302 +material/templates/.icons/material/abacus.svg,sha256=PnPqGIYdS4uZX73-bZ0-wLfRa33SFDirGhyCTiF_7aI,207 +material/templates/.icons/material/abjad-arabic.svg,sha256=eomUIzQkCNNtrO4m1-2vznXXUbiLruYGNDpp4zzWLuc,403 +material/templates/.icons/material/abjad-hebrew.svg,sha256=iXaaXOmsNwaFJoQf7m20MDli1RdHA-r1icH9yM1ST5A,277 +material/templates/.icons/material/abugida-devanagari.svg,sha256=8azoUU8Gp3R-QuVKOTYqNwsroRFpMEY5CJM2y4fQ-Rg,267 +material/templates/.icons/material/abugida-thai.svg,sha256=GA9mzMsvkSvP5yaAyV_7TvrVRxZzg_wvpNhAZxLGpkc,375 +material/templates/.icons/material/access-point-check.svg,sha256=XBkekoxYqVwY7WrSScKrvWr3-2MqLthu88CTc0KEUqA,667 +material/templates/.icons/material/access-point-minus.svg,sha256=cSQRrz3QrF6ruxmHrRr_SH8Qtgwcoa_Ojx44ZrTN7mY,605 +material/templates/.icons/material/access-point-network-off.svg,sha256=e8vx7lF7li3ACJYaVO_OuL2_0BOp0Vr1vWMUbA6KSjE,839 +material/templates/.icons/material/access-point-network.svg,sha256=YW_VtXo48eDJ2bwz7SliCuIZzMl-_QLNom6k2tY701E,733 +material/templates/.icons/material/access-point-off.svg,sha256=WouoaPwosyZoD42w4Vqei1a3zZ1SsFjPPe3chG1aOWA,621 +material/templates/.icons/material/access-point-plus.svg,sha256=T3S0cQ615vrOnfj-nP0BDTysAevME8-iAhF9Ky4sAwU,625 +material/templates/.icons/material/access-point-remove.svg,sha256=TRcP2yrJFHFTGCoQQ6O1h8Zzrxz6x_xFQ5sL-Upv0Rc,721 +material/templates/.icons/material/access-point.svg,sha256=WJMn3a55VgOAvWwkfjwXAkSjeFNNaqWQiR23OZb-9aQ,643 +material/templates/.icons/material/account-alert-outline.svg,sha256=C5eov00outUr1VJSqqI4JUEPMXI3vYEtIfoOd0pVwQ0,370 +material/templates/.icons/material/account-alert.svg,sha256=ZmRHEe-2qqdMHgXdFY3AAeUTZJJFTqgDYoKXU829Ch4,216 +material/templates/.icons/material/account-arrow-down-outline.svg,sha256=EgvuZLGwYp1YzNVFsskwPlQPIU6VDz3w3zXW7sB57U4,333 +material/templates/.icons/material/account-arrow-down.svg,sha256=f7zziJVztNhTnoKblfHKBDqrAPsLbF2TVyixqC_49G0,243 +material/templates/.icons/material/account-arrow-left-outline.svg,sha256=J42xOmkFMO075OppzxicFG4jOTax0YVz9qmBSM7XIHA,334 +material/templates/.icons/material/account-arrow-left.svg,sha256=fb3EiYz7pvQt_m8J587ydPvD72l_HpwR1Ko7_K4wDFo,244 +material/templates/.icons/material/account-arrow-right-outline.svg,sha256=sESCNw0-UUxE9aAe_5CVzx4-7hZ2ivuC0bdYPJbQ_XE,330 +material/templates/.icons/material/account-arrow-right.svg,sha256=J9IwyT0FwOUxLg7m3IV5-mgvGGvMkEtd8MOUJWoMCJo,240 +material/templates/.icons/material/account-arrow-up-outline.svg,sha256=NbUyPfC0kr2AsVRHU3HsOiK1kXVmQTaXr7P8qaJERRU,331 +material/templates/.icons/material/account-arrow-up.svg,sha256=PWaSkjhBGctqDDEi7fkcliuQkGDra5zXqHd5MFaUgIs,241 +material/templates/.icons/material/account-badge-outline.svg,sha256=bZ7dYIQJ4-51a3OQNi383A3How9WTY287Sfq9hV3mTc,386 +material/templates/.icons/material/account-badge.svg,sha256=olYIQyO4rAFdyDanejDhD_6TMAS0cOuIzRaAV5Mhr_I,284 +material/templates/.icons/material/account-box-multiple-outline.svg,sha256=7RlfAaYucUf83ZwcJxUHuQ_1rfG6Y30bOB_J3T20uxw,351 +material/templates/.icons/material/account-box-multiple.svg,sha256=jbz0MIYrfKM01TYGBOGqX4RDeRnxy46YZ42KTvNhIws,283 +material/templates/.icons/material/account-box-outline.svg,sha256=sCnrPLsTEw8nvTcjqSJXrpk96mRQDqDbjX7fuHaL7aI,324 +material/templates/.icons/material/account-box.svg,sha256=-G695z1Ise93GVHj_13nAwYr-vIwNraHjAelePGo5ZQ,246 +material/templates/.icons/material/account-cancel-outline.svg,sha256=Qr7DqcsDcTL_2Tk7eVVFbmR5N0QN7zpQfAsHyaEkCTI,574 +material/templates/.icons/material/account-cancel.svg,sha256=dHxHNAfGLi2_YUGkyZickLKXe0gi4_RsbzqBUJwiMWk,468 +material/templates/.icons/material/account-card-outline.svg,sha256=UhRoRDMrNpIiGXSz5qF_ffkfk8Zb7Txi7-lb0GHQrtg,349 +material/templates/.icons/material/account-card.svg,sha256=mvqgAX_fSKwwU3DPsZDk3z6Eozs3X8mXLFljH34BUvk,255 +material/templates/.icons/material/account-cash-outline.svg,sha256=huo0vrLlLqH5YJcG-YQpLDBk5IDHn8fQdMjyKZRngqY,417 +material/templates/.icons/material/account-cash.svg,sha256=VK_xNKjNxfilOa0HPsl9SaO_nGz09OnllDnnYfYslVw,322 +material/templates/.icons/material/account-check-outline.svg,sha256=C-nh5SgnblQJI9U5_2A0JuUSLv8wa-YmH0IVz0Nc_yE,372 +material/templates/.icons/material/account-check.svg,sha256=K1aNQ-kg4hqZ1KFods3LEXLWrRvAjAIh2QuNorZWdYQ,253 +material/templates/.icons/material/account-child-circle.svg,sha256=zJ3XvhW2sthVTl1MWAn0GmJ6ksshfbRWhFYpBI6AGRw,622 +material/templates/.icons/material/account-child-outline.svg,sha256=kIY06NgM9w94nMnvIBac1jrv-Cc4QiWNnIjC51NaCQw,569 +material/templates/.icons/material/account-child.svg,sha256=2oCBPo7WlHluYsQXKkKJ2U91oLZT3Iluw6vHpDCiMpw,520 +material/templates/.icons/material/account-circle-outline.svg,sha256=-rGveBtI3MbdgVgSfBjRYp2t8OrkCDq5mrltFKIuBNo,559 +material/templates/.icons/material/account-circle.svg,sha256=TVNIsS8bnFxpHH6EcU0gODJKdDdiCltovrv-TQqbE8c,304 +material/templates/.icons/material/account-clock-outline.svg,sha256=iE1XQZ0ZGrxA5V6rldkSVeXhtfiqoJGVFh7jShCwLvU,555 +material/templates/.icons/material/account-clock.svg,sha256=NhRdXJaKDQn7ZRF6_oZ30ci7akbO--ixrJvtd7SMo4o,565 +material/templates/.icons/material/account-cog-outline.svg,sha256=of3GndQtBPY2pgFr5D8eqsjmHU2u-wvhDQ7nkH5fiYM,940 +material/templates/.icons/material/account-cog.svg,sha256=64X-P39MXam_xjEfe9rbICm7tHRYZe98JzhnklDy_SM,859 +material/templates/.icons/material/account-convert-outline.svg,sha256=U4k6-ge5cW7ilHDWfGhEwuQSOB90mTpbx-5l9u0hGKQ,514 +material/templates/.icons/material/account-convert.svg,sha256=cxltjsK71qvtmhqsfd-hb7Zoo-Fl0JNbghXjZ25tR_k,393 +material/templates/.icons/material/account-cowboy-hat-outline.svg,sha256=R86R5A4Enq4HQIOfNj4StnfCIsPoTNAlOVE6Rwpg3Dw,443 +material/templates/.icons/material/account-cowboy-hat.svg,sha256=XKrroLxYM1rUTWLYu-fKvEmA3VRBDFk533olWWLfAh4,352 +material/templates/.icons/material/account-credit-card-outline.svg,sha256=61qKv7XrOkl113a8RDHQ-YjQklKWvbsf5QP3790m8aY,368 +material/templates/.icons/material/account-credit-card.svg,sha256=hu79sUMearLm6ArW2hwl1pThqn2jA67neoM8SDUczqI,271 +material/templates/.icons/material/account-details-outline.svg,sha256=GPDUUgVhnVBrD5zOQsI2YNwhKaDS3Bq4lknCa9VbvBA,293 +material/templates/.icons/material/account-details.svg,sha256=S04N_uFg8U30CVjPllkRy04Sc9uYKyUwCRnAEh8ylG4,209 +material/templates/.icons/material/account-edit-outline.svg,sha256=acW3hKUVOhScGAbkWddyoHuOdgR9C-mfY1NIWNKtIak,420 +material/templates/.icons/material/account-edit.svg,sha256=YiJKRFfjc6hTiQBGE6MH7WOC1byj75fQvluMcOudGKQ,327 +material/templates/.icons/material/account-eye-outline.svg,sha256=YuVmx3E_zcwdJca7vobwUFgmhELxxAg5fLHkwE5Tuyk,542 +material/templates/.icons/material/account-eye.svg,sha256=puCNrY2LNf8qWxFFfr92S44Q_LQhSb8oxlfleokDhZE,435 +material/templates/.icons/material/account-file-outline.svg,sha256=Xo2JbMgO2Ps3rQl3XZ__wnHL6F3uGYCFXNKIlf2mLDY,418 +material/templates/.icons/material/account-file-text-outline.svg,sha256=ehfX_g6oyELEunTi_2jKsyzZj2a0hPQD3rL22AJ5CSc,434 +material/templates/.icons/material/account-file-text.svg,sha256=qlB4nqtjRwdItPEpzYMsBMC-W2FiQhoOm1orN2qPoM8,333 +material/templates/.icons/material/account-file.svg,sha256=L9K0g_D6e9PDCIcLVFFpwm3Kr3-lavo1CfTYvWRkYqI,300 +material/templates/.icons/material/account-filter-outline.svg,sha256=A5J2pIiy7OzOZNDdo_q7jiAhnRyVfFqX9UXEV7Gh2Ds,386 +material/templates/.icons/material/account-filter.svg,sha256=0MOinoUYzlf7xbVdDY41TY9qyZzAey2FC95jnF08rX4,303 +material/templates/.icons/material/account-group-outline.svg,sha256=u4n5Wpo5nzFnicIVoQ24iqUHeKiJiDlfyutl17in0Dg,840 +material/templates/.icons/material/account-group.svg,sha256=OAFvRu31_F5CV6AWMOCBYk0XezDmMhYXoY3cDhAD2iA,591 +material/templates/.icons/material/account-hard-hat-outline.svg,sha256=0MuNLODlL4LZxej6nmo6fVlyWa2bHW7hDERj5T-Akm4,365 +material/templates/.icons/material/account-hard-hat.svg,sha256=ZlIsvCYWCQaZi_-nF7L0Dz9ok_1BnzgO6GP5zyw8lIk,316 +material/templates/.icons/material/account-heart-outline.svg,sha256=D2F8DH3lQYPehjdwWKOaJ6Bz9JgsJc1Z45km-esDt3s,457 +material/templates/.icons/material/account-heart.svg,sha256=DOQfWOXA3SuqUAthH35POvVDfEvcChoG9UsCMfwK9dA,320 +material/templates/.icons/material/account-injury-outline.svg,sha256=8gWo9-7IO7bAmKIayXTuIo0e3dvYxjCPbq7fqFfdwK0,570 +material/templates/.icons/material/account-injury.svg,sha256=BG9bKEfnLb-SId3PY2LyvVgpkEmdGlcS0p-JnKPsJKg,423 +material/templates/.icons/material/account-key-outline.svg,sha256=EL46kh6Fa3CapyjOcZuJA5u61-A_-9iCnfsh2Xjigig,458 +material/templates/.icons/material/account-key.svg,sha256=fsVL0IWIDhB3F_Y0gQvITQW16N-Mf8msBuTHdJOMbl4,309 +material/templates/.icons/material/account-lock-open-outline.svg,sha256=usoIL-5YJUYQRuBtZg6BPuIom9U8VfYmNrU4440Jtmw,512 +material/templates/.icons/material/account-lock-open.svg,sha256=j_-T2eq8Ws03sbiqlM7N7s6asBh-Dt08Q_2Fbf-9CCM,438 +material/templates/.icons/material/account-lock-outline.svg,sha256=lVwkaGKnwceiSXZ_rv--vC87rlTmKkq6xhfauRLOkSk,508 +material/templates/.icons/material/account-lock.svg,sha256=Mb-o0_ttYGTnCokGcj1JQNKVpI8Y-HoFyNrFJrnbrjM,443 +material/templates/.icons/material/account-minus-outline.svg,sha256=0wjt6h1FsVYmoX5v8SRoTGTY8Av69lzvh7NRwklX9b4,335 +material/templates/.icons/material/account-minus.svg,sha256=qBS7-vm18XmdPOmn9jjsLI-tGHDHPlGzbEUA_Ld6nF4,202 +material/templates/.icons/material/account-multiple-check-outline.svg,sha256=REIn3xzvRIG9twsuLRCxbmBsk3_NnwpkH8Kc2A6AUsM,428 +material/templates/.icons/material/account-multiple-check.svg,sha256=gEnjLgptILfWEsaHDksaIWl6L3U4z498cmGlyfzw7JY,340 +material/templates/.icons/material/account-multiple-minus-outline.svg,sha256=81J9vNT-y7tQuRE5RaV3Y_nXDdsDYfkFJ61_e-63kvo,374 +material/templates/.icons/material/account-multiple-minus.svg,sha256=_QNhP6Lol5XSQtl9kXiqTaPybXlUBHWv3g3o3Kz-PfQ,285 +material/templates/.icons/material/account-multiple-outline.svg,sha256=04x6U2BWhOxBOKy31ALdrMXLeXK5JduxCjo2CDUjpc8,385 +material/templates/.icons/material/account-multiple-plus-outline.svg,sha256=t1f_N8XmW7RAKvf1AEaOvh7RYFi4Qd07nQC-201Lo0s,391 +material/templates/.icons/material/account-multiple-plus.svg,sha256=Og60aaAvInKoBapywA5sjtssV6T4-1Oz0ICpvDjjQnE,302 +material/templates/.icons/material/account-multiple-remove-outline.svg,sha256=6LNN2zVnmTQF_Oh7mZToxglJpB7-SThuSA5_4a4n91E,558 +material/templates/.icons/material/account-multiple-remove.svg,sha256=6aQMzqokCmJ97gRuMdtNvW7V5CJeyp7RxtYgUzyCe4E,466 +material/templates/.icons/material/account-multiple.svg,sha256=QSs-InRWsmVRN9KsJunS0iPhhDnW8aYjNChRBSUXHdE,296 +material/templates/.icons/material/account-music-outline.svg,sha256=A0CpMNsC6c68aW5DU8FS0iZ9DZoVBxarkILlQtWOM-o,458 +material/templates/.icons/material/account-music.svg,sha256=bqnGAvmH8zO3nfqPlV1tCYoprFVDDUPiMnjOigT0e50,501 +material/templates/.icons/material/account-network-off-outline.svg,sha256=eIZzv1p8nZUaV4dfwwzOJWfivoK_Mf6E7z1WndiPVp0,541 +material/templates/.icons/material/account-network-off.svg,sha256=D4rRoTWLmueU02E-ROtTpb_mbQ87U5_VLUVBRPfWJQ0,431 +material/templates/.icons/material/account-network-outline.svg,sha256=dQJhgus2vyoI_IWB_h7T3Y7i-C-2O9Ke3IlbOXhlHTE,440 +material/templates/.icons/material/account-network.svg,sha256=7hsSSiPQfjkKXX7VECLz-vnrG9bG8GNmK6dvGNRcxoM,303 +material/templates/.icons/material/account-off-outline.svg,sha256=HD51hdh_tpcHQTDxkpq19aMob0Zl69FuRk9qk6_yIyI,428 +material/templates/.icons/material/account-off.svg,sha256=OE0SUdiyaoLX1Hnaxv3C4HHjTYU7Lw2rY8OEL4uHXM4,297 +material/templates/.icons/material/account-outline.svg,sha256=fhDSYKPrjASUETnkduFurNvX2_jmFTycx5vH9gELVtI,313 +material/templates/.icons/material/account-plus-outline.svg,sha256=W55IxwmwZUEAMWDoJFLkAS0AYb3Z_-exq3A60eoVYwU,351 +material/templates/.icons/material/account-plus.svg,sha256=kKAwjTtp3Ez6jstHpH0_CxmNXUQaprEo-soSFwNGF98,219 +material/templates/.icons/material/account-question-outline.svg,sha256=ulhXgRA1QvG0yWhlgVQ0nZOxEun59qfU34l26wC2QDs,567 +material/templates/.icons/material/account-question.svg,sha256=2BOBsDP-x4h4g2gLGL_Ln2sGxvuBtTvx6H3ldCj1zas,406 +material/templates/.icons/material/account-reactivate-outline.svg,sha256=GLZSqrVzvZDBFKaTA9OAutW9K6i-YT3qJkz8rkZWxsg,563 +material/templates/.icons/material/account-reactivate.svg,sha256=U1ab2D65ElEkGaKDnYYqmIQq8GRWmblnl-kVHUProgI,380 +material/templates/.icons/material/account-remove-outline.svg,sha256=iwSsOfHE7t2-7UQV2Dtqqw4Cxr4XSz2B-mNP9t_D4yU,443 +material/templates/.icons/material/account-remove.svg,sha256=u4SHLq7hL5qkam7qzB22ceHqrgQ4HOJMyRy5Al9SUIs,307 +material/templates/.icons/material/account-school-outline.svg,sha256=a3msLZGsFFttBF7TUkBxiIhR5bgrLVqOCPSQvWm1B3k,373 +material/templates/.icons/material/account-school.svg,sha256=LxoIjg-t9vifyj3UOV9ELOFZcFMOIzWYaE5odBdm7eA,210 +material/templates/.icons/material/account-search-outline.svg,sha256=rSY257dLcadF_GGh1Nl8elxw6rYvulVv4ccTZAUHQ8Y,611 +material/templates/.icons/material/account-search.svg,sha256=0cdQ-pszvlvr4cKaT7YSU7FJ2Wr-so0At1gPnYSuM5o,486 +material/templates/.icons/material/account-settings-outline.svg,sha256=Hmx5aI4jPq2fXr7XTp2a9JQbxexD_ASKptC9h8etPb8,342 +material/templates/.icons/material/account-settings.svg,sha256=tghwcVKVNhDKpor-Kek76Dv2LFmFljx9Sofgsco9nk4,230 +material/templates/.icons/material/account-star-outline.svg,sha256=uZKs_EO6-RzbmPcNGCc2a0iD6o9kiUqUAogXkkvmC1k,414 +material/templates/.icons/material/account-star.svg,sha256=qe77DGYBlGAclVVwtqMU41s2OVx26KaQbzmvlsRBC0M,287 +material/templates/.icons/material/account-supervisor-circle-outline.svg,sha256=7pl5eURK4xFf4GhBQ5PRwyxDPH2JUxfC_FUFxQQQ6tE,629 +material/templates/.icons/material/account-supervisor-circle.svg,sha256=udp8lj4XtZxWQL47BTq2Y5QO3y34OUFdVgKNHzix1JI,601 +material/templates/.icons/material/account-supervisor-outline.svg,sha256=ht5gzHwAPxgzhqqsO9Ars4-l0vwSA7thfWtQf-iYJTg,492 +material/templates/.icons/material/account-supervisor.svg,sha256=JKjilnDzTa0ao9-wGvjIJTiPsR7sBiiskU-Kbf-yiLQ,385 +material/templates/.icons/material/account-switch-outline.svg,sha256=tYDsPbrvB3KMhlR69dFukHIJU1tQlClE67Nxw6JeZTs,441 +material/templates/.icons/material/account-switch.svg,sha256=FaJxfGVPPWXIBd45YtuU7cBuRlwRZGffxr3kjBI5WKI,342 +material/templates/.icons/material/account-sync-outline.svg,sha256=hFHbwLes9WT2RKBPpHwSriqNJWdsEzHqNWPMGeoO5I8,526 +material/templates/.icons/material/account-sync.svg,sha256=l4ubwQpXfGpAq-y-n0w4KC_guHmfMZkNigiSKEOvMx8,436 +material/templates/.icons/material/account-tag-outline.svg,sha256=ev9szYseTEowD8rkHkYd9AuvOzyIofytw3HGugt8ESU,517 +material/templates/.icons/material/account-tag.svg,sha256=CDQ8nz0mr1UL5IngjoyAbKcEBzGs59NGZ882eFH4pBk,432 +material/templates/.icons/material/account-tie-hat-outline.svg,sha256=pnC-H1q-xcLw6mu5EYdCM0WkDYveFkafqDSWql3wmXc,587 +material/templates/.icons/material/account-tie-hat.svg,sha256=c0IrsKI0vNbG50jzq3nkXgamM127wL-iWEzKVgWk7Pk,507 +material/templates/.icons/material/account-tie-outline.svg,sha256=OTGPIG-O4fgoYdsZpxhk8mMuokUlb37nIGOEYrqc-ug,431 +material/templates/.icons/material/account-tie-voice-off-outline.svg,sha256=ueO044XxL5s6xLy93NDxXhvRFQK3YRlIAUkqOQ8LgKo,687 +material/templates/.icons/material/account-tie-voice-off.svg,sha256=tqvbL_55ZjwF0-8jndrccSH1TqtlR0iS3AgX8GB4Q_4,611 +material/templates/.icons/material/account-tie-voice-outline.svg,sha256=hxE6J2uNrKV9Io-B13-Zl9l2AMQSnkwr9bed9SeJur8,586 +material/templates/.icons/material/account-tie-voice.svg,sha256=96iAFmzhe-1F2ezOKDHTS8Z9mMlYJeW75i7UZ2Vl1r4,483 +material/templates/.icons/material/account-tie-woman.svg,sha256=o7IvokNV4OilR_DmrvSTkc7i7r9ytcCHN-zD1crALo0,367 +material/templates/.icons/material/account-tie.svg,sha256=9Flr7p0346og9F5yJkwiwoIHvd88OhLzZ7bDOzkz6aQ,323 +material/templates/.icons/material/account-voice-off.svg,sha256=lJDaHYPCvskhaxDVSyjjo6bI3QIXLTPzRCSGDmjj5b8,450 +material/templates/.icons/material/account-voice.svg,sha256=KeaeaI2HTbOJYBGm16_SL9W8Hhnc-GaJygyIh_qzTRo,348 +material/templates/.icons/material/account-wrench-outline.svg,sha256=h-6FxUVXv6PaxGU7jaQnKABKFBvYsqIf7Xx2moopSk0,464 +material/templates/.icons/material/account-wrench.svg,sha256=viRu12Gdt5k4JRAcpjkdKYuaUXeVzxHwJcRYIrEfJU0,364 +material/templates/.icons/material/account.svg,sha256=tO368io0JwqXBZFGPVhoEONjuyMkCcovKctugjWeCic,188 +material/templates/.icons/material/adjust.svg,sha256=JJeqiFQzaAhdlbciwSVsTNW0NzPUm4h99ubzeKgfnWk,271 +material/templates/.icons/material/advertisements-off.svg,sha256=T7Lj9RZe84YBB8oW_r0QPkSkHBhK2-Wn7l8v0fOzp9M,363 +material/templates/.icons/material/advertisements.svg,sha256=WT_0RpTIpKB3xA-Y_hR5uushnQW2dBc0epmROMAj8nA,292 +material/templates/.icons/material/air-conditioner.svg,sha256=-d_WekbyVSew_SPrkik4CvSWTAO7rCm6pnHAwvT2uEI,626 +material/templates/.icons/material/air-filter.svg,sha256=sRy4X-WNRvqmvOMMQ1YsI6W9OesKNM0EVmjvFEhCtl4,1115 +material/templates/.icons/material/air-horn.svg,sha256=_dKIwvh24fMhwK7xlkYUPdsCCuneNJ9Z6GAk93O8qac,379 +material/templates/.icons/material/air-humidifier-off.svg,sha256=vLRG-KA829eRWqxvKZrA9mNqDASgfmcyCV_Zs1f2WHU,440 +material/templates/.icons/material/air-humidifier.svg,sha256=2YVrn7d68au6uoGpAxbLvr7NpEFnyXalceu3KrT5S0U,346 +material/templates/.icons/material/air-purifier-off.svg,sha256=-oqkpv-v7WlREyDIc3gPHA_1XcX7cYrqr74FvepA3hk,487 +material/templates/.icons/material/air-purifier.svg,sha256=F6Gd4wajKrir_zt8yAAN-8gm_tds6NpqZMhkyoYpEAU,372 +material/templates/.icons/material/airbag.svg,sha256=UjfxNYVKY5rliDyaMaxVgDz-kSs6w2GhNIDDhpGFgcc,410 +material/templates/.icons/material/airballoon-outline.svg,sha256=CzsR_nyFJcnYJ8Tv5gWZAv0Ly1qAIiCr9618ogx8maA,721 +material/templates/.icons/material/airballoon.svg,sha256=VW862OFO3u8-olQIoEyWVzOqXwdTdlfRA-h64lukbsU,496 +material/templates/.icons/material/airplane-alert.svg,sha256=R_vXMmRPUAROgDZdB23V_GXwkIIyKCYYqtlvVN2w-5U,315 +material/templates/.icons/material/airplane-check.svg,sha256=7BXxAuMAFEvcJ2gAFWh3BRO8-wzg_mp4PHuXZMS_aEw,363 +material/templates/.icons/material/airplane-clock.svg,sha256=loyR-nJTJFkmLBKH-ZbpS0kujlt659bQTbcuEmnYg3s,438 +material/templates/.icons/material/airplane-cog.svg,sha256=c_9Qb2Skt-NlWdO6tglu7A2Rk27EI-E-Bxp9LoDFF5g,760 +material/templates/.icons/material/airplane-edit.svg,sha256=wdMQn6tN2cV15wu2c0fGmNiw_8CFWsKuARIETmKMi5o,413 +material/templates/.icons/material/airplane-landing.svg,sha256=zEa3oVOdeXJwupuGYfs5YW58mpjBMHX79s-Ej5Q8to0,264 +material/templates/.icons/material/airplane-marker.svg,sha256=RMZA2AfyfFvCBJIQq9qNhfMiTu4xAZxAntyQ7aNnTos,458 +material/templates/.icons/material/airplane-minus.svg,sha256=6nTzyaPWj5-mfaQR0PYU7ff6-Bt89Wwp5Bse28wGIPI,316 +material/templates/.icons/material/airplane-off.svg,sha256=b31ceG8Jc1egoh4tcXhRNCK51S4EWXGuROVSQh9jniU,362 +material/templates/.icons/material/airplane-plus.svg,sha256=HC9acTfVvy5AvqSrfJhKLY-lgJGenOyHu-0FTwgxrjc,336 +material/templates/.icons/material/airplane-remove.svg,sha256=u6-Rb3drOMHbxPqvCa2yatGRdQIcga0Qje6ezlGkqoE,428 +material/templates/.icons/material/airplane-search.svg,sha256=v1TFiDfKUp88V_RbniXcgWtbP-nlWU6DdOrb2JZV6pA,473 +material/templates/.icons/material/airplane-settings.svg,sha256=U2srAXCELNg3WBokrjyW7_5cUEk0IuvRB09cVBGmybw,329 +material/templates/.icons/material/airplane-takeoff.svg,sha256=cGW3nmCnXHpty1pdDgYqb_u6g8FFP9u46XQ1lyUOjfU,282 +material/templates/.icons/material/airplane.svg,sha256=j7uKg2yQoiek05ZFrXuk4lOWX8L-4oDv-XjthbFDnww,286 +material/templates/.icons/material/airport.svg,sha256=jrn98AndTw46F-Y63othcdlovFSu9LGx9S6GjlN_254,279 +material/templates/.icons/material/alarm-bell.svg,sha256=yJsKYUZP3mLx1N-2xvfLZCnbGc8qS-my201t4z9lWXQ,395 +material/templates/.icons/material/alarm-check.svg,sha256=d_dd3yyTDHGKAdIwyqgeRGkQwxzg6peln-rG_YWjYJw,360 +material/templates/.icons/material/alarm-light-off-outline.svg,sha256=dSQgaKsIlv1kXEU2xPif7g23RRdCQum7bBS-fBg6teE,384 +material/templates/.icons/material/alarm-light-off.svg,sha256=wmXSnb5PQINYYhG3_BnUwdrWN7Wk2aQXeNV86DDNMaw,310 +material/templates/.icons/material/alarm-light-outline.svg,sha256=ftAwoUFIL6RUXDHjkD9QMNoQdRUEQwh6Z69TMgJyTHg,330 +material/templates/.icons/material/alarm-light.svg,sha256=Aow2nPyBvDo8thNXSxYhb1Di0w5HPJb4EBWGsLB_xVw,291 +material/templates/.icons/material/alarm-multiple.svg,sha256=qgnoXJl4vOkGuzn61pb7ITQLI5KJLRatr17yY1LIfeI,498 +material/templates/.icons/material/alarm-note-off.svg,sha256=kDFaA_UF5SMFuoFeaKJHYiA5fiuKgWmSfuakXX7kJxg,669 +material/templates/.icons/material/alarm-note.svg,sha256=mvy7cpgix26-y0BTSuXzaNa37GJ1ZNiR42tB5F8g758,470 +material/templates/.icons/material/alarm-off.svg,sha256=4P46YKcRROEsc3Ov-I12n5MMfxBvZ2BTNnQPdk4L4Ww,535 +material/templates/.icons/material/alarm-panel-outline.svg,sha256=ROqOeHydxvv_45_OJA3N0HsGOF7HEjEX5V6P9KnHQmk,318 +material/templates/.icons/material/alarm-panel.svg,sha256=QYyDBNKuqaZaL2N6sfPMWpFbkASDckbGtsApI0YQkv8,295 +material/templates/.icons/material/alarm-plus.svg,sha256=414hOUDLuFDyQbhjFD3RETCaj4jtuqDOKBgwmmXJhpk,314 +material/templates/.icons/material/alarm-snooze.svg,sha256=VgUGOQ41LPLEE_zJcaAyJ9jjP-cdQZgOvqQsveBIsFA,337 +material/templates/.icons/material/alarm.svg,sha256=4TuvP6Wv3QqpCoe6xE-EGzCDrwjrz_3eB0v11AsU08Q,330 +material/templates/.icons/material/album.svg,sha256=-UfH295ByurNm6-nDTKj5MtYsNuPoMbHkAs-0gpZsE8,285 +material/templates/.icons/material/alert-box-outline.svg,sha256=MIshpKl76lru-2IwHqeL0VTgk3UWmsiwlmpod1KzoqE,190 +material/templates/.icons/material/alert-box.svg,sha256=Ux0R_Z0GgKFd8LO0O0zbaFuunB8u-sooSwoYUFn49YE,177 +material/templates/.icons/material/alert-circle-check-outline.svg,sha256=0fayvbKWNtPrUi-bqxSH8cp3BTBeAvCtFUS3G3v5bKA,382 +material/templates/.icons/material/alert-circle-check.svg,sha256=H4NTfb5g8doD8PyvZ161x8r1Nl8hpGi3JZGqJjl6mdI,308 +material/templates/.icons/material/alert-circle-outline.svg,sha256=MKvW3bLZt0C-Jt4mJZc8kR6o9GXF5HcsBtozZauHfZQ,244 +material/templates/.icons/material/alert-circle.svg,sha256=W4oVu7_5EmKelvevefKU5fcx_HlIuR8cBuw2CO9-Dc4,180 +material/templates/.icons/material/alert-decagram-outline.svg,sha256=68TID4H6YshWiXSzPusPn6azYMyT-lWZeFw_zwi0Amo,463 +material/templates/.icons/material/alert-decagram.svg,sha256=tRDykcXvjNdQTL8rJiSHd_8L60BEAM3dYPH2qT1kNDw,283 +material/templates/.icons/material/alert-minus-outline.svg,sha256=c1dW72yaa1ntnJANHGw5itT8k5jdMuhjWhPP1XL1BOg,234 +material/templates/.icons/material/alert-minus.svg,sha256=xyFpYM0SlcQITs9rO-NK8q_nGAqb0auGhwSG48dkWZk,193 +material/templates/.icons/material/alert-octagon-outline.svg,sha256=kkvVUXzRrkEU5hbrPnRPi_VAEQ_aZo8Pf0Yq7-uEvcs,225 +material/templates/.icons/material/alert-octagon.svg,sha256=38aXLplQ7Aa95HW8bnLJsv3g0vcxnR0Op1Ll4bRne6o,164 +material/templates/.icons/material/alert-octagram-outline.svg,sha256=5oRLxqzXJZCTH_IEHz6HP1TYFomKxawD5YBaA-vGpuo,407 +material/templates/.icons/material/alert-octagram.svg,sha256=D_s_7ZlA5TIJ6VA-RhO6ae5GiqlaCUu8xqUsn5MhdAE,271 +material/templates/.icons/material/alert-outline.svg,sha256=7JWgk2J-qqiI2V1cBp5outDuD_HYHxvX7R6tWBlRYwU,134 +material/templates/.icons/material/alert-plus-outline.svg,sha256=trJ8A9UIh_Tn8Ps24NcL0lDP3BzsZmOlX3gM63ciHqc,254 +material/templates/.icons/material/alert-plus.svg,sha256=3TXg2VqeH4_GLB63moUrpIRPHICMv9k7iFuoy-2DLsc,212 +material/templates/.icons/material/alert-remove-outline.svg,sha256=nGg3gDPim3WOfd_Pf-GOUiFEeaFjveo9llmiPzu0a8M,346 +material/templates/.icons/material/alert-remove.svg,sha256=8FYMiawwYnFXXJI_bNRPscyLxPtJTks4X-LmdMczuEw,307 +material/templates/.icons/material/alert-rhombus-outline.svg,sha256=oyI-BXWnxZRKtTX0F45o5QXInyM9R2Tf4COCrnFGN6w,249 +material/templates/.icons/material/alert-rhombus.svg,sha256=_IZ1QBRzTvuuauHjZqah9y0Y6hbWptbYCMHvL3UEt_g,239 +material/templates/.icons/material/alert.svg,sha256=z7FPk_AMW9aJQXs0lgeWzMvJI0YwFK7wSf7rld_vo_8,122 +material/templates/.icons/material/alien-outline.svg,sha256=T1CKTe9fc1WWqGwZucuT54zUn7mCbMqzi76s2BooqTs,535 +material/templates/.icons/material/alien.svg,sha256=Z7IJF8B4T8lA7mCKZXMs5TPO9IxDv-OSvzP_J2XX3EA,449 +material/templates/.icons/material/align-horizontal-center.svg,sha256=ygX_eW8VLeYl6FoWOBpu2jYeOONTDkDzviEz77HAFOk,130 +material/templates/.icons/material/align-horizontal-distribute.svg,sha256=FszqULIKx0yKMddozZu_JYqNKleEssNmZqrQMbN-XNo,125 +material/templates/.icons/material/align-horizontal-left.svg,sha256=ic5IAd0AEBHXODyoTwqghAsYijEmhB71zhyPEHrt0uM,122 +material/templates/.icons/material/align-horizontal-right.svg,sha256=9FND9r8g5WyvlX1X1m_muV1DV4HDjCYgeT22owGZ0Us,122 +material/templates/.icons/material/align-vertical-bottom.svg,sha256=3fNiLSAmsxbCl3IAq8GBmYNBoPrU-4q9KvMAGpQUvNk,123 +material/templates/.icons/material/align-vertical-center.svg,sha256=gS-JBtvCxHnFTAdCiTHcvT5g3uTC3MhrJGnhDz-Tkf4,133 +material/templates/.icons/material/align-vertical-distribute.svg,sha256=GrR-aek2Dja-CzJmLlM56hy9y8P0kVgE-YnKQ5K4mPc,125 +material/templates/.icons/material/align-vertical-top.svg,sha256=Nb_W7njX0TpfQjIyey0iWvOcpidUKnGwGBb6WL1bFUQ,121 +material/templates/.icons/material/all-inclusive-box-outline.svg,sha256=-aA5zq-03v7y9pxJ83tPqz1CaaGby7gh5ofXIOaI6fY,618 +material/templates/.icons/material/all-inclusive-box.svg,sha256=Z_1UMevcpPlOql1zF0NRYRJNxAebxDTwreiodxuSi8k,551 +material/templates/.icons/material/all-inclusive.svg,sha256=RE_3enAxXnWgVvqdrOlWO9HjqKftyVTCZ3qqd8MArzc,552 +material/templates/.icons/material/allergy.svg,sha256=jkuysCqXXq_kkKjzyVnVBchA8BHqOcotgWeeeqmpiI4,536 +material/templates/.icons/material/alpha-a-box-outline.svg,sha256=nnfz0pQ085qHSG8qbKE98ldY1LL1Y2AckJDUK6xlcW4,227 +material/templates/.icons/material/alpha-a-box.svg,sha256=aCnpaWrZls9V1Fwxr6cu0Rdi0On5PgKhWVqM2UV7fvs,212 +material/templates/.icons/material/alpha-a-circle-outline.svg,sha256=YrK_4_c5vtXeEgEclR5cptLBqE9LoxFARVE8-LJZExo,280 +material/templates/.icons/material/alpha-a-circle.svg,sha256=On3KP4WqOza3sTjptpDLfMHnIOapNHBvv6dB983E_zo,218 +material/templates/.icons/material/alpha-a.svg,sha256=ZOzbU1dTTQIDXqRFaksYNgCEKGermB9O2Kn3ZZ381-I,143 +material/templates/.icons/material/alpha-b-box-outline.svg,sha256=90RY02vDcRDjUgYER-VEMBvEfd8DLawTbKhMvxKrtCI,279 +material/templates/.icons/material/alpha-b-box.svg,sha256=34OW7XfjQyafPZRoEBlKSbg2_e_ZMQpnJUMmkMpKdCg,266 +material/templates/.icons/material/alpha-b-circle-outline.svg,sha256=rTALNGUv19CsJ0_jCYM5deLS0N1GDn3UTUoTU38hc9A,330 +material/templates/.icons/material/alpha-b-circle.svg,sha256=DiUuCUYEzD-z59lZsZho4EYQFiLPgEJN7xDH3-BzCbQ,270 +material/templates/.icons/material/alpha-b.svg,sha256=1_g-eVuJ8vLXm8oMXMmEuuICyA0UbJXe9Am9-FfMnSY,197 +material/templates/.icons/material/alpha-c-box-outline.svg,sha256=iDI1iaA6WlVWe7WuZ0JYggXQM4zGMhhTkTzsO2z6oxc,251 +material/templates/.icons/material/alpha-c-box.svg,sha256=kgFabZQGrd4PTtIbM6jJRWvfyhJPpNjir6r_S1CLO5U,237 +material/templates/.icons/material/alpha-c-circle-outline.svg,sha256=81jewf0HOaGxdD0-OECug77ZIJqV9q7Py2AgTJJb5Ls,302 +material/templates/.icons/material/alpha-c-circle.svg,sha256=sto6ZqoB_NklLegBQHfgbq-az4srtXPHb_mIrw9Jgd0,243 +material/templates/.icons/material/alpha-c.svg,sha256=k0ktzpEGITpjWkXW7sGJHadyez3vhteMSoJGZbS0vzI,168 +material/templates/.icons/material/alpha-d-box-outline.svg,sha256=g4L30KUwo3mvy7Q2laznLTEUk1co7qv27V3NqOdhI9g,216 +material/templates/.icons/material/alpha-d-box.svg,sha256=T5NgGgmrNLNEQf9bQhEq6_d4J-wPmvKj013n2xtY7zU,203 +material/templates/.icons/material/alpha-d-circle-outline.svg,sha256=9a0bvlupJewLfgEHrXC07FZakNjIShG_AbSwX_wK-Ok,266 +material/templates/.icons/material/alpha-d-circle.svg,sha256=BMjPifhLJLLiFZhKOO1VHAluE_ffReNGpxddZJJHGuc,208 +material/templates/.icons/material/alpha-d.svg,sha256=37j9r6RgUFgA7AL-3ksbIWIJypGKX2bD7FaCoHHiO7o,133 +material/templates/.icons/material/alpha-e-box-outline.svg,sha256=B-rvB-4_z7b8NmqngKYFQsEq3wyYKJOVQqdHjhIinpA,193 +material/templates/.icons/material/alpha-e-box.svg,sha256=9Kf5dkN6EV-9vO08a4vFxwJDeFfNeRDJvOn7qWPU3ko,183 +material/templates/.icons/material/alpha-e-circle-outline.svg,sha256=3W1wqsAfYidTvFYMmtr9JFo3xRSw8QvZsW5vc42Q_ic,243 +material/templates/.icons/material/alpha-e-circle.svg,sha256=QWqktvk8JdNjFkZ3VMlry1uVefTvO3IuJ6Xc1I5dcDU,188 +material/templates/.icons/material/alpha-e.svg,sha256=PUNdHImXVLy9SsOdZXIOWPtUo_Omy5K_z-4PxTN8ClA,113 +material/templates/.icons/material/alpha-f-box-outline.svg,sha256=XPyBMt-3nsErJ2BKxfwdJ3HLUMHNto-VlNdFaifHjA0,189 +material/templates/.icons/material/alpha-f-box.svg,sha256=zxRC9lnWBUdJDBjkJAX1bfKizlKIRZipZzSa_G8v9Lo,177 +material/templates/.icons/material/alpha-f-circle-outline.svg,sha256=XUng7tVgF5514ewf9vhfG3xE_LwvqBnQH37le6zvErA,239 +material/templates/.icons/material/alpha-f-circle.svg,sha256=BinCqvdU4C2R1-K30H0bxqKMAIs92NZmAw1UTFAQnEY,182 +material/templates/.icons/material/alpha-f.svg,sha256=3xIUVa9OVUS4hLj64HGmQypZmbajO5F0ZWUojBsoLPE,107 +material/templates/.icons/material/alpha-g-box-outline.svg,sha256=m0MKYi8-3ZOTCMHPBO7p8i2mLcL1wGBs2hf_1qVhB5A,233 +material/templates/.icons/material/alpha-g-box.svg,sha256=vlTh2FdfggcRqtpvAovo6YgPWAfSUgk6YamDDWfiWTo,220 +material/templates/.icons/material/alpha-g-circle-outline.svg,sha256=7q-l1_xr1TXxDtsO5A1QSWKfQh2nWuF62A3gom8itI0,283 +material/templates/.icons/material/alpha-g-circle.svg,sha256=uc4BNbtipo-14jcycKMT3FjdaZsYvS1r1SSGCZgzdLs,225 +material/templates/.icons/material/alpha-g.svg,sha256=YV0Gjz_lroXL4KTl6spn4e_s7hmaVECm-lXoKMobRms,150 +material/templates/.icons/material/alpha-h-box-outline.svg,sha256=XFgEDPcEcEqRwTLXtO_bainPIIlrBZLpNDOF3GCCWCg,195 +material/templates/.icons/material/alpha-h-box.svg,sha256=ghwyLywmsDGGT46ksy0coCaU624VWpD8-ZBNQXqCXWA,181 +material/templates/.icons/material/alpha-h-circle-outline.svg,sha256=AEbWPaurIW-WC5haQ7Nbty3PV3VWsNOcLNP_VZMpnow,245 +material/templates/.icons/material/alpha-h-circle.svg,sha256=-AhcH7Eg6Yjqe2mfygYlGg7hu6WXyeweSadmMsiTf5o,186 +material/templates/.icons/material/alpha-h.svg,sha256=fZjZ2unHgGR4tgDbJjWqziesMabuqLc9_f7fDN85ryk,111 +material/templates/.icons/material/alpha-i-box-outline.svg,sha256=KmU65bHZVLThoBy9IUv8GSAWDhl5iO2v4KkdOAFU__4,196 +material/templates/.icons/material/alpha-i-box.svg,sha256=-x9O_rG4qkD8Uk28mssTS8U1oEURHVUU7Y8bJ1ZxL9Y,182 +material/templates/.icons/material/alpha-i-circle-outline.svg,sha256=n1EWzPd2doRux2u4WoXPs95CNxHzdAS_wuYrMugzTTI,247 +material/templates/.icons/material/alpha-i-circle.svg,sha256=KVlnJ1R0bzwJoqwV9BZLfgpJ5GiWG0n2_3KXHUbjSiE,186 +material/templates/.icons/material/alpha-i.svg,sha256=4edaA5FMij_gtQnlYMLkMxpkOBFHNlHXfMmLi141IPQ,112 +material/templates/.icons/material/alpha-j-box-outline.svg,sha256=0_JjEioJES8nUZ1ajwmjqdIAWN9NlRY_yLTsctk6MNQ,214 +material/templates/.icons/material/alpha-j-box.svg,sha256=Ha1IyymuJDlA6DZbW2LBO8OxjeQCFGsE1Yo97WoVhyo,201 +material/templates/.icons/material/alpha-j-circle-outline.svg,sha256=ZIYfVuMKCQKPZ7SEqllHapmKq9iBlOYaQkhXeZN2tvA,265 +material/templates/.icons/material/alpha-j-circle.svg,sha256=JLDM4-2G2eFtqIVgqJ2CvKFgqR6wrhB2Z5FNho3e8eI,205 +material/templates/.icons/material/alpha-j.svg,sha256=kwus-tc9H0QL4ibgLbSAYHxNV_iwdJAGcoDj9xs7fow,131 +material/templates/.icons/material/alpha-k-box-outline.svg,sha256=k76-5kghReV391BwYFmipph5veiFs5GGiAiRCNB4G2U,208 +material/templates/.icons/material/alpha-k-box.svg,sha256=4CK4sC797h9M4CDUGLC_JpiTD3PEEIeAgxeXIDgCwr0,196 +material/templates/.icons/material/alpha-k-circle-outline.svg,sha256=6-Hl6dujMNRlUo8V8T8qWcSzD8bjj0D2j5b1FXHUCJk,258 +material/templates/.icons/material/alpha-k-circle.svg,sha256=0-zHgyMX4k6qlGFX9lhA6BenRX_pEJlavpoQb32GyEo,201 +material/templates/.icons/material/alpha-k.svg,sha256=CS9P72NAZjii6H4970TDcCq3SfadpzxGVWs5t5gVbGo,126 +material/templates/.icons/material/alpha-l-box-outline.svg,sha256=LkZ1gMIH0PuWxD1Lg74xSzKHKH3jKXtSijp5TtWLIGM,179 +material/templates/.icons/material/alpha-l-box.svg,sha256=yYfSlkMfN6f4PkLnvldCZwamGAlCcyAGuUcuFPxo-u8,168 +material/templates/.icons/material/alpha-l-circle-outline.svg,sha256=AlPyRbckf5QEprmACS4v5Cgd0KTLdfGRbTC1Dt_17ug,229 +material/templates/.icons/material/alpha-l-circle.svg,sha256=y22MeJhrOVSwVLAazr5oiuFWMENSmPQg7v-QxqpVai8,172 +material/templates/.icons/material/alpha-l.svg,sha256=ZgqTml3dbni3f6hs1LFHwugKe7IxWNZNqAU6qVWwwRo,98 +material/templates/.icons/material/alpha-m-box-outline.svg,sha256=mZYj4Du9Lx5T8A5n2yI8vBGAweAtqeU8Wa3fU5sfeI8,222 +material/templates/.icons/material/alpha-m-box.svg,sha256=LPoAPWo4-H35CQu-jus2aEcVFlbWMV2DIBI6qcT_yCE,205 +material/templates/.icons/material/alpha-m-circle-outline.svg,sha256=cm2eIJWnrYkHCOImqI66cuaUjUDXqGO4r1ZArF13rWM,272 +material/templates/.icons/material/alpha-m-circle.svg,sha256=hYuPTsa1dg4xbQ83Uc96js4W7XI9qTnGMJzUabTI0tw,209 +material/templates/.icons/material/alpha-m.svg,sha256=BqC7zW72K0XXWyRIsLa9X9A_D2Rus5DyXK1fUJ1czTk,135 +material/templates/.icons/material/alpha-n-box-outline.svg,sha256=nOb7o8HXOWCk6uIImJ8no2U78d4TDJWgzQ7I0KAfjDc,194 +material/templates/.icons/material/alpha-n-box.svg,sha256=xVLIIJZwasDSNXD0RcUWXZANpjcQS4bTmCuGtJzsrOw,181 +material/templates/.icons/material/alpha-n-circle-outline.svg,sha256=0XseWFhhVscnnlo_nPK1Dhbqm1ENyUP6cXTRzTnofPo,244 +material/templates/.icons/material/alpha-n-circle.svg,sha256=WKqEk2enysqmhEsDP24luuOOZYk3YgxRA7UFROze4Hc,185 +material/templates/.icons/material/alpha-n.svg,sha256=wAiYW4FboR1mUMsa-1jkB36bwyg_w-UD4ZYjEmR92dw,111 +material/templates/.icons/material/alpha-o-box-outline.svg,sha256=nsF7MdrtZILUIBSBO2Nk9i10rjVJi69bT82O0_BYE9o,245 +material/templates/.icons/material/alpha-o-box.svg,sha256=MvO_bL7ZKcfsjNhY5WFig4aR8LztOuwVy1me3TojzGM,232 +material/templates/.icons/material/alpha-o-circle-outline.svg,sha256=EPJIX3et9SLsK57hL6e4aFdvc9DanA4kynwR3uWFUkk,296 +material/templates/.icons/material/alpha-o-circle.svg,sha256=bOQd8D6gfTFjw3vmszhJlbBaLa1sIusk5lBKN_6F6PU,236 +material/templates/.icons/material/alpha-o.svg,sha256=WnQoYu54ogrN8IfXUXvByxbOpTPjunaLUXxBZf4N1zU,162 +material/templates/.icons/material/alpha-p-box-outline.svg,sha256=IVb-Lvx2B0kvZ8KJ0PUDp_QjVEpUfh5FctLnyNt-i0k,221 +material/templates/.icons/material/alpha-p-box.svg,sha256=DX44kJoE4R3AwgFNAdUBpvLtzJBaAHwTmVtyBZ9A_Jk,208 +material/templates/.icons/material/alpha-p-circle-outline.svg,sha256=NznVRa6geJO6OeZ7UCYSJ-g2OHzmVr_a_JgMWoQWlJw,271 +material/templates/.icons/material/alpha-p-circle.svg,sha256=6e9GxhXTeYtiYfOFbBw8cIiEE5YglJR3GDrVoC9iXf8,212 +material/templates/.icons/material/alpha-p.svg,sha256=J3x8bgpHOkc5Cqt5G0mhxNO3OyBUR6FdWW1Nz1jJ1FY,138 +material/templates/.icons/material/alpha-q-box-outline.svg,sha256=GUqQANdtRmQ8lFtpH_jJYlQqKwrYGhl2PnBOd6yQf3Y,250 +material/templates/.icons/material/alpha-q-box.svg,sha256=nfi5ArY37qH2-n_Dx9vkbi5SDnJQXQcr-ngS76aj9g8,237 +material/templates/.icons/material/alpha-q-circle-outline.svg,sha256=2myTXLTYR_ZRjXytrmPSbCBEqmx969zPxtI9RaQsTo0,302 +material/templates/.icons/material/alpha-q-circle.svg,sha256=gWlm2l00JwDGUHYbJkGNYTP_CIC6QqR8NmuSGVmtMkU,242 +material/templates/.icons/material/alpha-q.svg,sha256=W3qTUtYTjlOOPkS-XS-31HbQ6hzWKaurZgW0vnhvie4,167 +material/templates/.icons/material/alpha-r-box-outline.svg,sha256=XS5B4_Yz4oV2PKAZZCAQgLH19RAJopvw3K8FAUHUz8k,247 +material/templates/.icons/material/alpha-r-box.svg,sha256=-s2AC8nRK0A6weGMJYCnib-fGelEPUXUfIFFcUm3tLw,240 +material/templates/.icons/material/alpha-r-circle-outline.svg,sha256=qRAQuTT8BrTrcZibrY0XAtVWAKi9x8ehUWP0BtQx5B8,301 +material/templates/.icons/material/alpha-r-circle.svg,sha256=W8-MI_P7cqHT2vJQJzzRKY0mRWUryquJfwKuRWBj2RU,244 +material/templates/.icons/material/alpha-r.svg,sha256=R1BBLBktDiTfklOFsiiYMOxGevXehXLyn_64yAsto7M,170 +material/templates/.icons/material/alpha-s-box-outline.svg,sha256=UAgGRlf3ZkkLxoQcZYzrmwAlqChRJxlnpnJCAfQryKo,252 +material/templates/.icons/material/alpha-s-box.svg,sha256=fzNVZpjHd6rVXYEb2Sjg1P0Da3CdNy8q79A9O1xjOjA,237 +material/templates/.icons/material/alpha-s-circle-outline.svg,sha256=Yqqc2xv7C416UvbiR2bXigWvdPzNjSYobx3Q3mL1kt4,302 +material/templates/.icons/material/alpha-s-circle.svg,sha256=ugBmpkThGKcvVaW5bxOGuCb6QwGBgH0VvgfZwgewg4A,241 +material/templates/.icons/material/alpha-s.svg,sha256=iYECir5l80DHRrk5vPiqGeZcWzt4aCtLux1_nhIZfmg,167 +material/templates/.icons/material/alpha-t-box-outline.svg,sha256=aVGbdWDIeWWGYgytJZS_sJHp_IJCWPuclpytrWwztjA,185 +material/templates/.icons/material/alpha-t-box.svg,sha256=9e_tRk7N80RWwIpsn44IYwJi0tBSnsF1QiePU14O7vs,169 +material/templates/.icons/material/alpha-t-circle-outline.svg,sha256=JtI6EALuMvOLR9dOQ8W5lXKIfatypEeYPSumMF6egqs,235 +material/templates/.icons/material/alpha-t-circle.svg,sha256=FjwSccYeHua8PtaO64FtMNynWYD8cXuvvTbvnxFdj7s,173 +material/templates/.icons/material/alpha-t.svg,sha256=INylpegFaRtVPeJDeWXCSFzAkWshyZRcjaWQWDO9Fcc,99 +material/templates/.icons/material/alpha-u-box-outline.svg,sha256=MKg7_6OKSwxhuY4jtsBawiWIa9NJYTA9YkKzdPgvtKo,212 +material/templates/.icons/material/alpha-u-box.svg,sha256=v-0S5XOR1p4K9PWMTEr_zlPzmIR-dbT42e969rK-WM0,199 +material/templates/.icons/material/alpha-u-circle-outline.svg,sha256=5u9HPWlmp-f_N76GqQSdiJUJLCBJtW5MYPq4RfWPEN8,262 +material/templates/.icons/material/alpha-u-circle.svg,sha256=YgY_UVBtxLG9ump1IKnMsjTLoZHy4nRNf6pfg37CJd8,203 +material/templates/.icons/material/alpha-u.svg,sha256=cGrWXZ_na_oi7GnDnPghIBmkCM3LJfZPuhtNj6RtW88,129 +material/templates/.icons/material/alpha-v-box-outline.svg,sha256=LtkjUVr_I1UvbU7FgWV6YAi3gf9qu2FZ4_TcAXTNlVE,192 +material/templates/.icons/material/alpha-v-box.svg,sha256=1alw_4kfsqllKxDpx3aYevHWkGgRsXpKqQ3hgPXB2TE,179 +material/templates/.icons/material/alpha-v-circle-outline.svg,sha256=4AQNIT9AY4VMlpk_pVEnGUlH9WYSnJHNF4FafPJwrBw,242 +material/templates/.icons/material/alpha-v-circle.svg,sha256=H1kAdIQl9Om2a38G6Zbi46s_Js6X1k0KzO0E7MsefTs,183 +material/templates/.icons/material/alpha-v.svg,sha256=jIvUkZpfyW2uti812qZ8Vfm1RrKGf8_-C35a8pKJFWo,109 +material/templates/.icons/material/alpha-w-box-outline.svg,sha256=p6K2skik12axfLbzEmDfXpOxthNPYjTDlH4Oe2-Fae8,220 +material/templates/.icons/material/alpha-w-box.svg,sha256=FcdoKyX6ZFsBApoI9O6B8nmxopTYwN7yBUzItlMCzsA,209 +material/templates/.icons/material/alpha-w-circle-outline.svg,sha256=ZCsVbNFDuiLfw2bPi4Ebn2PxdY5FdzktbBrm8I45Djw,271 +material/templates/.icons/material/alpha-w-circle.svg,sha256=mSBfFYYlEAO6p3QV-UjKMlqVdclCrLIKYBtrsJwyW44,214 +material/templates/.icons/material/alpha-w.svg,sha256=5pnhIFhCYgqt5B4HBF6wH_6nEynVhxzlDvE_s816J78,136 +material/templates/.icons/material/alpha-x-box-outline.svg,sha256=WHlf23VSQDBOaBayatySl5chg9IoPSj5RIrMgtCX6jU,217 +material/templates/.icons/material/alpha-x-box.svg,sha256=9vhw6vl5sv4oeY745TJqKMSIBI3BWrYRt9MCfhgDjuo,203 +material/templates/.icons/material/alpha-x-circle-outline.svg,sha256=26lfH6pZaIvjtgQBhiZGEl7G1MFvEi4nY45T3vZXogg,267 +material/templates/.icons/material/alpha-x-circle.svg,sha256=XhZCnNk2vbxhC890JK2sV-9LCobDLrp1Fo2dyx3O_94,207 +material/templates/.icons/material/alpha-x.svg,sha256=p7EVqc3zLuHPi9jqd7d_w0k4OJE0LOsdgroenaOjGT4,133 +material/templates/.icons/material/alpha-y-box-outline.svg,sha256=2oFfwK83NKgz_DgPRaFruJH8tKQbpbXCRIPRyoZwwuM,196 +material/templates/.icons/material/alpha-y-box.svg,sha256=aOn2loso70vfHBFsdEenwKJx6UCwDqj97PFrfwgVyVw,182 +material/templates/.icons/material/alpha-y-circle-outline.svg,sha256=Kpv5X7_5JBSGbd6ZDFyd3wUrPSRaWQEWiQrHObzvukA,246 +material/templates/.icons/material/alpha-y-circle.svg,sha256=i_QE32qZPVHDH9hEVks9VcR2JE3cPiAg8WL7fFJmZJA,186 +material/templates/.icons/material/alpha-y.svg,sha256=xL5NjnAgYZFplwjtbhAPUAvpSh2b_mo4VJmQct1gAxo,112 +material/templates/.icons/material/alpha-z-box-outline.svg,sha256=m0sA0plCYdDvo0prS0PvTYxoNGAuB9lAAcvwMhCoF8g,193 +material/templates/.icons/material/alpha-z-box.svg,sha256=3k-pOcXEO2M0hIN8fjOXcTFV7PCpchF6bErJu8CuS2s,180 +material/templates/.icons/material/alpha-z-circle-outline.svg,sha256=gsXIvXWhWW4oG-QYF6OELBeLUXdpJxCjuiEI0Wv0jCw,243 +material/templates/.icons/material/alpha-z-circle.svg,sha256=U82ZF2mXvVogWAVGgUIFz4lECFHP9-kjSOOl4t-ZdLs,184 +material/templates/.icons/material/alpha-z.svg,sha256=Y7YvaQ-u4ihkQU9t1Tg8BWr4xwssjk0b35lOpxCV_cA,110 +material/templates/.icons/material/alpha.svg,sha256=OKR7f2CbX3R-enuwrCI6AXquP11WLm-jOvofjVFyrJQ,616 +material/templates/.icons/material/alphabet-aurebesh.svg,sha256=iunEzeHFVLSkRPfkPBc3b8KcGUcMltEkcIDUxuGOgjM,147 +material/templates/.icons/material/alphabet-cyrillic.svg,sha256=Vb30rwpsG8ZIURPP2Tp8jZsn9dUp89I6G5J_WooqlKo,390 +material/templates/.icons/material/alphabet-greek.svg,sha256=A4WkddeWTSRXgDlxzvaZXLb4rqyC_MzN17uYJTgjphY,466 +material/templates/.icons/material/alphabet-latin.svg,sha256=I8SP23jQM5gy4Ye626c--iOHCxD1bP-f45hnnC-IQQQ,388 +material/templates/.icons/material/alphabet-piqad.svg,sha256=OxsGhSvv-zMImFexklUSKBCwZ85uxcN4UNEkq88xwMQ,284 +material/templates/.icons/material/alphabet-tengwar.svg,sha256=FMeQSfdG0uhwOjWEFEtHemkrn0AF73G9s5naZ8PSnGg,266 +material/templates/.icons/material/alphabetical-off.svg,sha256=vT5-bfnwM3xofpEuCL3mFedwvT3Yec3koRLp_Ti7R3A,387 +material/templates/.icons/material/alphabetical-variant-off.svg,sha256=jVbmqnNC8ahG4tACwh1EaHzwGU0IBOo8NQSphtLZMu0,404 +material/templates/.icons/material/alphabetical-variant.svg,sha256=-W5WVSZ9AfukP-Ol-LK6ZaQ2hu-y5rkmGB-gtAoO9hw,346 +material/templates/.icons/material/alphabetical.svg,sha256=WGFfDexsRWFuSv1JqtaFzVWMGeJnbtaVUm0ZZ7cXQ24,275 +material/templates/.icons/material/altimeter.svg,sha256=Ja8GTsQLG3AqLbtx7ckba_De8OhB43F3SvVBd1N6nPM,203 +material/templates/.icons/material/ambulance.svg,sha256=SwqAiuKQgMtgd-ws8p4HvJjPNItMlRnKXhL3FZdGq-I,421 +material/templates/.icons/material/ammunition.svg,sha256=oYQHQkiFTeGer7pd-MkFZg3t9U2d6dftv8oK4qpOy0o,312 +material/templates/.icons/material/ampersand.svg,sha256=7JUEfHFvnm_PSsF7M5gRDA4oTlu6cY7iV_RJNA9E3qo,685 +material/templates/.icons/material/amplifier-off.svg,sha256=ojY8JhF5VnO1ZGdQO6gKPP-x2XCxfdhPryofI8fmPh0,434 +material/templates/.icons/material/amplifier.svg,sha256=wM2LLbutpG-VVBYDzA-wmw325ydRtAwU24vegCvF6qI,420 +material/templates/.icons/material/anchor.svg,sha256=L6kD43w2xxjfifdqsAc-YgZyfzwblQyu8JL16qpD7IM,614 +material/templates/.icons/material/android-studio.svg,sha256=nNSYjYK12RjcrMy0Suun1ba8xL2WSeptf2bF6Z3kVU4,514 +material/templates/.icons/material/android.svg,sha256=jI9jF3TlZroE2KQw45NZoYFa-DdgOx7HRmnrKY3wKAg,502 +material/templates/.icons/material/angle-acute.svg,sha256=jqNNaSKX5lq4rHp4WnMpZQl3XsC9okcm_QIQE3qNQvs,241 +material/templates/.icons/material/angle-obtuse.svg,sha256=q1VRg4rEqZYP2fRPzjfUobqZf0zeqm5ECzZp0NdkdU8,247 +material/templates/.icons/material/angle-right.svg,sha256=cUFXMB-fpJxIt3UWDMEoQxcsoWcn6nd1nEoUnfkh228,113 +material/templates/.icons/material/angular.svg,sha256=Wmh3FJGhtZQUwKzYvhsD88zqsN2w7pxCsfgiD9VTLtQ,228 +material/templates/.icons/material/angularjs.svg,sha256=3TDIAJVq5ny7WvsamsgfWl_mFZS3NsQfM9rJ7hy24dE,281 +material/templates/.icons/material/animation-outline.svg,sha256=ilrZIwdjWhtfo6o4IaY_GAcKn4enLX2K7rjeOXr0j6o,228 +material/templates/.icons/material/animation-play-outline.svg,sha256=taD8GcDu_w9nqHZXqF3FtKIxRhLOcCXcsMIMGsDqORo,243 +material/templates/.icons/material/animation-play.svg,sha256=LdfguDg6j-hsM8ERQ13Uhj8-pJ5jFXvXCO1RT8W0J8Y,243 +material/templates/.icons/material/animation.svg,sha256=5pTLKyfXZphnvBexR4sYCylRye__S2Gd0v8y1en2Tj0,233 +material/templates/.icons/material/ansible.svg,sha256=XecbO7UOQ0G4VjRSGmCGsppEw7P-NWI6226Rw_-dDOs,330 +material/templates/.icons/material/antenna.svg,sha256=yugPikRVjWLkNUNvEig1r0l6frtIvayrn-FZ0mYuanM,702 +material/templates/.icons/material/anvil.svg,sha256=Whrsr0jZoHkCWukyuHIRYNOSaUkp8j93juFcyjuOi74,172 +material/templates/.icons/material/apache-kafka.svg,sha256=wo0Zfd1uXjwHDKHeiLvjV4TVILwyVJ65ix1TPO5ndqg,1143 +material/templates/.icons/material/api-off.svg,sha256=muQzVWMzMPxfnCalYnshB5wy3fUGj_sGNRfWCvURfHk,286 +material/templates/.icons/material/api.svg,sha256=M_5nlqYsBiU9TQ62zv5Q-o6PzjGgbvzl3JnDVhfTAj0,225 +material/templates/.icons/material/apple-finder.svg,sha256=bwCrJROJtxdZ4JFqVPFWB2Yfo57ljL2ASU_hP8U8t4E,741 +material/templates/.icons/material/apple-icloud.svg,sha256=SzqJu2YJ9oCQqA55gpUq-AU35F4-X-RUeRT8yGxIjks,339 +material/templates/.icons/material/apple-ios.svg,sha256=REYEfSUvdlNtIh2hzfURDOAFALA7ICLPldEyLJYrGuk,737 +material/templates/.icons/material/apple-keyboard-caps.svg,sha256=t9VLTywEfxDmpZXBnAA7qbra1s3_JX44DhUl-LimGbE,169 +material/templates/.icons/material/apple-keyboard-command.svg,sha256=ytsqIyr5Z1_wkRmu6NHzrrhb2pJCRCD1qf-2rONiPzI,500 +material/templates/.icons/material/apple-keyboard-control.svg,sha256=Lcir-0aLH5IeADzqVIJAphJtLgMUIhErLw4fM72Fq2Y,145 +material/templates/.icons/material/apple-keyboard-option.svg,sha256=6u9Ko38GqUKWM4xSlQY1O6yePRZMv0nHgJaSfMWEuc8,132 +material/templates/.icons/material/apple-keyboard-shift.svg,sha256=QRuPS-MqLXzH8sgg-XF6JVeQs-DkWvjyQ8790TPd1VI,143 +material/templates/.icons/material/apple-safari.svg,sha256=T8RaqN0J0mWqvNvl5RufsxWiSim8jNaUAMT1UyAhGEM,524 +material/templates/.icons/material/apple.svg,sha256=SzudDTITM2JJpiEWFGspb1WHU2cUx2wMnZJBBfU-CeA,519 +material/templates/.icons/material/application-array-outline.svg,sha256=fbQo4s4RnQYgPiK9lrC_5niOmZq4SEJ8KPNW79UlPmo,214 +material/templates/.icons/material/application-array.svg,sha256=3ITl7lxrOaiaY0NgZekyq88p8gkL9kZMF6U4mnrbpps,215 +material/templates/.icons/material/application-braces-outline.svg,sha256=AFYUroFoqYf9IYMmQ6IslR_YxuuzUOlqBnswHvbk7KQ,378 +material/templates/.icons/material/application-braces.svg,sha256=n2WFYWj4ugWZg_0y7oGqmhdhIkvhpb3kX1XNguLHT6Y,419 +material/templates/.icons/material/application-brackets-outline.svg,sha256=H_2NHB8SYzAcgWouF6uz22cToISgLjBKMsEFMSGXsvE,250 +material/templates/.icons/material/application-brackets.svg,sha256=UV6ySKqjD8g-XKs2zQ5m3s9lrc2LSVFc7DSYyP37DP8,257 +material/templates/.icons/material/application-cog-outline.svg,sha256=znLDbzkxHtiTZdwtLKs8LkAqiSF0QtNndNOB7FCPVyc,644 +material/templates/.icons/material/application-cog.svg,sha256=eHXvEYdgB1s9Ehu3jtTHANBqDFwdIKrCd_5JbDqLZXY,662 +material/templates/.icons/material/application-edit-outline.svg,sha256=qJ7q7fCTJ_CgxJpX4TZ2Hqy9xlvO4J8jrBM8CcNJOuw,289 +material/templates/.icons/material/application-edit.svg,sha256=VYddz5JdK1KCJwBpLEBjHfxKSUCjCbKR9bT_zHVb4x8,324 +material/templates/.icons/material/application-export.svg,sha256=kkMckA18icxt53I8Ea3Z4VGrHpTGU-YxawVqL_P0ukA,247 +material/templates/.icons/material/application-import.svg,sha256=7sQrsGmWK6VE3QUdz-gZUVDFgia2H6z5moyIgx-Vu-M,235 +material/templates/.icons/material/application-outline.svg,sha256=JhX3JlAvg9ELVp9_eo9ncWwr80EDbmpQdEU9reXUC1g,169 +material/templates/.icons/material/application-parentheses-outline.svg,sha256=rpEVzO7GJ9VAL2dM36N4mu60FGPIes2QxDAH2HTP0sA,344 +material/templates/.icons/material/application-parentheses.svg,sha256=dlyW604WVMWe8FnbjLNI0tP45PJCXfT6oKRdbJUkHPk,351 +material/templates/.icons/material/application-settings-outline.svg,sha256=Cz6XS0NWpaSRDEsk7AE3kzn9wVggmP6xTv6OCv2SkBY,209 +material/templates/.icons/material/application-settings.svg,sha256=msXkWNd6BuSbyQBn-UoidvjJorSiZQf7bIyHukg2xrw,207 +material/templates/.icons/material/application-variable-outline.svg,sha256=nDcaosDCqZ1L1TsXNwwp7fG-wv1z9d2SeQr1iwFxS50,414 +material/templates/.icons/material/application-variable.svg,sha256=L86gwhP9hdfe9jJIa30zWGv0Ca2d8XM22-OfbAbHQ1s,419 +material/templates/.icons/material/application.svg,sha256=v8GQY55yUviC9DayL79-NZuB3OYjIn8nADK9qpgFOlQ,167 +material/templates/.icons/material/approximately-equal-box.svg,sha256=ZDGjBbO0rlda-3qEVvd_58hSK8vWvy7UeJir3fu34N4,496 +material/templates/.icons/material/approximately-equal.svg,sha256=4toNxpT6vSCoGrdpDqUf7XMYUHojVrmL70OIZqrLAQc,438 +material/templates/.icons/material/apps-box.svg,sha256=XZ4R4D1DjcKcHpf22ninQYQ5shyoJ3de_sLjK8je5Q0,271 +material/templates/.icons/material/apps.svg,sha256=bdq7nfAtQ9tyihFWo3K5G_c3b7ZOf7SJFBnNMkG_5hE,190 +material/templates/.icons/material/arch.svg,sha256=fS4S-L-gZrk2iNzzFGnFGd84C5_4pQkflb-f1eIu7fY,461 +material/templates/.icons/material/archive-alert-outline.svg,sha256=ArSRRlg0G6WRo2DlD3aMG2feZfXIXxywXDXLXvB_y6g,195 +material/templates/.icons/material/archive-alert.svg,sha256=i3ZJICPXuV8WMCpUSfzD2ZG0LrJEtLVxlHXsp3ofxKI,191 +material/templates/.icons/material/archive-arrow-down-outline.svg,sha256=0Fes09RLq9O8w9vwL6P-5AarTeQWjfV1OIsU-iKAaPg,155 +material/templates/.icons/material/archive-arrow-down.svg,sha256=D9dZUxxFKaF7cw4TjzHhdAf0eSvUONFDGor61h3M47E,133 +material/templates/.icons/material/archive-arrow-up-outline.svg,sha256=gNcYDHR8lUfXi8auyi2G0XnloMwLqh_CGdON_Hj7R44,156 +material/templates/.icons/material/archive-arrow-up.svg,sha256=8k5w2w7IT2uXWj37dHiDNu8jtiFtAjhIUW8AApnmfvM,124 +material/templates/.icons/material/archive-cancel-outline.svg,sha256=spej4qdYXN-Jgvvww6oLMBSD-vpy80ihitqzc6naPA8,485 +material/templates/.icons/material/archive-cancel.svg,sha256=GX8Turnu6zfPiu-ujLcAB-yOK1P3cQc5dfii8OHZdr4,426 +material/templates/.icons/material/archive-check-outline.svg,sha256=cccEp528ffSbGdS2gIW3Z4uJsB737xx5cgp2E3Havxk,319 +material/templates/.icons/material/archive-check.svg,sha256=hsxIDoSOzvkPRFBce5ngR2uGbUQ-lOKGU_nCpr2S3fE,286 +material/templates/.icons/material/archive-clock-outline.svg,sha256=pyvJMN1fkcO15fEAW9VprsBsxTCQKT9b4Ky7uGy8XSw,374 +material/templates/.icons/material/archive-clock.svg,sha256=8PyHM8UTqD-YYRFyCym6jaWe_jCRJa6fj1ad1m6g2mc,335 +material/templates/.icons/material/archive-cog-outline.svg,sha256=rksSaH4tYM1v91n7HevGBU1cXnW_6-9w2x7JX8GFSwU,724 +material/templates/.icons/material/archive-cog.svg,sha256=BjtSeUAF2y9ZLWYz2bHv9EKxUZa1rVLeT2DVQWnGEpI,681 +material/templates/.icons/material/archive-edit-outline.svg,sha256=a9-30QUaS6vSR8i50etBhq2SyAebUC_qm9zMVKXptiQ,373 +material/templates/.icons/material/archive-edit.svg,sha256=9YspiOCeT13Sxx5EMON388t58f3blXn_99HxGM4vLg4,324 +material/templates/.icons/material/archive-eye-outline.svg,sha256=voh68d5QQ8jYQMGzRYH13MVWyRg46zbJ_Pn-5P-dM8c,428 +material/templates/.icons/material/archive-eye.svg,sha256=8Hjv0JHlmQ4NgmiEvUTqauPEgnAVjw6Z3O-y9zuF7wI,423 +material/templates/.icons/material/archive-lock-open-outline.svg,sha256=RDZMc-OfDOo1XVkTSMC9t2rV52kHodvjSn43A8RkwQA,426 +material/templates/.icons/material/archive-lock-open.svg,sha256=wpnd-dmPQrNOQQQBFDHz1KyUqvEfpej8FjgDK8vts6s,464 +material/templates/.icons/material/archive-lock-outline.svg,sha256=3yT9aS9BSyA08R-00zjP6uGDiXSLuE3CfjqiZBy-d8A,429 +material/templates/.icons/material/archive-lock.svg,sha256=wH01rip8AIA8f4wcXX2FFAZ_V57uSe5GyabD9UCqQFY,475 +material/templates/.icons/material/archive-marker-outline.svg,sha256=V3bxdJU0Ec_DKunUj_K417fWkP4YTyPL0GfH6sibD8E,388 +material/templates/.icons/material/archive-marker.svg,sha256=xFs-8MvxJ2x73rcaOk9RckISpt8_j_GN1_9NYYoa9wc,411 +material/templates/.icons/material/archive-minus-outline.svg,sha256=zm1RPf93j0cSgbd1nWcu1lsDwXvszvKMlpcd5mOgMJg,270 +material/templates/.icons/material/archive-minus.svg,sha256=Tau5u1oKPM6liScUAl6x_1RvaoEANv0rvVvELNi-t4Q,236 +material/templates/.icons/material/archive-music-outline.svg,sha256=Zaa9_9TSanHzoGzW_ehUIgouDrhAeZbJ5C56EsPVepQ,298 +material/templates/.icons/material/archive-music.svg,sha256=Fxf278sJ5yuKSNUPvbvkIB-NL_M8oD0HSsEwAS1-GKw,281 +material/templates/.icons/material/archive-off-outline.svg,sha256=whVVR3HZS269Y6VrAU1Tm2JkUqAP3HOcJDaf19ABM6U,260 +material/templates/.icons/material/archive-off.svg,sha256=4EBlb-s1o9hzYjvtcCa4-Ufjn4Ls5c5nAT1nwU89iew,220 +material/templates/.icons/material/archive-outline.svg,sha256=YHWsDGKB1qnsr1wpeL2aq6fA_qbCOHPx-IPtEtBKI4c,182 +material/templates/.icons/material/archive-plus-outline.svg,sha256=GfBS_nbQde8QaWam8sO6QJaVSec51S6NjAwqCkz6oX8,303 +material/templates/.icons/material/archive-plus.svg,sha256=97e0MTB54hOA1LOz_uMIDN1hH2SrcnumuMv6OUKjC5o,258 +material/templates/.icons/material/archive-refresh-outline.svg,sha256=_ALq5GB6FUGdKUbZ7mPCBaSMq6OhM5pBWYZy7gY5hx4,402 +material/templates/.icons/material/archive-refresh.svg,sha256=lHjHimdqTt-5w_OUDoT8dTGpRJs5Zh_ZY5ZlmGsmCQs,335 +material/templates/.icons/material/archive-remove-outline.svg,sha256=jWijjBxqGUTKJ0Dg2eMIKvXDwoI5DCQHEc5M8aT3JCc,398 +material/templates/.icons/material/archive-remove.svg,sha256=ZMugFkOZNjGhx0j6ESwEEwL85I3-8xLMF2jzLD5XytQ,352 +material/templates/.icons/material/archive-search-outline.svg,sha256=aOx7YiHJLhr2sSHlfpSSulBlOU2b6OWHIulSzKkkzWw,406 +material/templates/.icons/material/archive-search.svg,sha256=L4unmpLcTNqxXSOYotBt78ObJuaQneMZJB7uHYG-Pkg,369 +material/templates/.icons/material/archive-settings-outline.svg,sha256=yjGswcd7p2N7aWiLRZdCXPyHnXJH7e8PWxJBrSufeWY,223 +material/templates/.icons/material/archive-settings.svg,sha256=JM6yX5baToKW1Erp_XqLdXP8mXS2iySNVffbr3Zuxew,203 +material/templates/.icons/material/archive-star-outline.svg,sha256=v301oARp3h3KgWuWguEmtkMAVGm5U6OtS_JiF5n4HFA,366 +material/templates/.icons/material/archive-star.svg,sha256=y8PUJ8TwFfIoFq2I73mcijjWgpWjISWfAmH57WOu3uc,321 +material/templates/.icons/material/archive-sync-outline.svg,sha256=HLlWzoPb-8L1nyXseh6HkMIphhiF8s7LkoBPyvsJpWg,534 +material/templates/.icons/material/archive-sync.svg,sha256=uo2g190ybe-w95Y-a4AIfkaSlXNVqOsaPjCGQZVlhYk,507 +material/templates/.icons/material/archive.svg,sha256=g-dSTs1L8nfDMSEsRoSYX325Lpfnr2MNyRUlZ9z9NnM,158 +material/templates/.icons/material/arm-flex-outline.svg,sha256=tLods5UcsWOHGmZHCfcUhsqCiIp0zbku9nlsbIhmdq8,453 +material/templates/.icons/material/arm-flex.svg,sha256=mdDeKOoEGvx9Ml6SlZi-E78coazAQ4qvV4N7UqRUe7s,193 +material/templates/.icons/material/arrange-bring-forward.svg,sha256=-8xzyopzSt0fJdpBuFrFxLhHaCWFr0cY30hawi-8Qg4,123 +material/templates/.icons/material/arrange-bring-to-front.svg,sha256=Rn4oQYMFsNh9s8Pm5k1O6Sd-g-RnO4ZoU2yDPfVrxS8,146 +material/templates/.icons/material/arrange-send-backward.svg,sha256=ZviKDJJ9sZoVievPWjwoMm1tJnV77gzgRfkzSnltiK8,127 +material/templates/.icons/material/arrange-send-to-back.svg,sha256=JtzRwqiAaO5Wn0jVUtsdmVeAECd9fRMfqDMWJT0hmoc,161 +material/templates/.icons/material/arrow-all.svg,sha256=_Q-t8um60WNrTnfwSYEyRWpV_gQeZ90D814dSxPob6o,310 +material/templates/.icons/material/arrow-bottom-left-bold-box-outline.svg,sha256=mxndyboTg4FyHzhJkZjC1G2UZY8qzqv5dk9nxYgmnnU,217 +material/templates/.icons/material/arrow-bottom-left-bold-box.svg,sha256=hxoFVm7fRTwWH3cGBG19Vo2GHcim43FgC7_1ubxDm3g,207 +material/templates/.icons/material/arrow-bottom-left-bold-outline.svg,sha256=UgRHNIsgPhXNBabesPhIzM5LXxKTi6KVz35rtOkHixM,223 +material/templates/.icons/material/arrow-bottom-left-thick.svg,sha256=wKszppPsMxIfaOKURIqVoPTu168cSD2QEPv3r3lApN4,149 +material/templates/.icons/material/arrow-bottom-left-thin-circle-outline.svg,sha256=cdc6MhursIbXxgRZv_YYk0YYmk_S59CYB0Vgh4WrPSw,318 +material/templates/.icons/material/arrow-bottom-left-thin.svg,sha256=LXPiyD0JNmyOlVVPfFEwNVpsiX4Bp7H0MUvrcaYylkE,136 +material/templates/.icons/material/arrow-bottom-left.svg,sha256=mESQXol8fQjwVYW2XJtCiIZLAnTdFBHjr8oPZGKOV_8,129 +material/templates/.icons/material/arrow-bottom-right-bold-box-outline.svg,sha256=Ve1nJ3PBt72lVkFEcuVHxoG-gUlKxk1SJ9Qj-YBGHlQ,217 +material/templates/.icons/material/arrow-bottom-right-bold-box.svg,sha256=SnowDd1Nm4gegKvZrAP3Q9Ur_42l7BKJ6q98QFOYznU,206 +material/templates/.icons/material/arrow-bottom-right-bold-outline.svg,sha256=p9TA5tb8SBFF2lHfyGdb8JPVYDJxCSBZAWh6dqXWhXU,222 +material/templates/.icons/material/arrow-bottom-right-thick.svg,sha256=065Rj7_68mc4T-R4mgGP07n0HAF_ezpNJnPAOQIXhjE,150 +material/templates/.icons/material/arrow-bottom-right-thin-circle-outline.svg,sha256=7ngGUbZXYnJW21St-iGkMZcwia0_mKAtMrKvy_sRTr0,316 +material/templates/.icons/material/arrow-bottom-right-thin.svg,sha256=UtOKyv7W7euJkiCKONZo75CNQvZ-AwEVeKkvINmgeKk,134 +material/templates/.icons/material/arrow-bottom-right.svg,sha256=5r9uyF583UWE6eq53iNXwS6G9GvIR8akvn1qjmjunPY,126 +material/templates/.icons/material/arrow-collapse-all.svg,sha256=c5PRzghUH56ZY6L7TSk2TvH-e7IDMooIi4BQjbRnD8o,291 +material/templates/.icons/material/arrow-collapse-down.svg,sha256=tbeG0RVN2QGqTW2Q5usz2TfxhyG0xmZCcZitb9YuEuw,174 +material/templates/.icons/material/arrow-collapse-horizontal.svg,sha256=nkTFeklwhaWPps_Cx0aunM7NCMlbH9zbNnvv5jbkgUI,168 +material/templates/.icons/material/arrow-collapse-left.svg,sha256=rD1kWyfHp5fOrNz8bxjQoYobw0YCgHQ9eZZ7nGUN2R8,170 +material/templates/.icons/material/arrow-collapse-right.svg,sha256=R5UkiVvOQPVJp0OQWFBIgXTp9yUlrKzmCrlmoG2LPuY,174 +material/templates/.icons/material/arrow-collapse-up.svg,sha256=pMFWyAycmxz77nS-lSTqbos39yFj9q0S5-JnhrQILmI,170 +material/templates/.icons/material/arrow-collapse-vertical.svg,sha256=zduiSsXcwOHFwDFmUCHgPL8WxETBnFnDl5O318a-c0g,156 +material/templates/.icons/material/arrow-collapse.svg,sha256=PvvDZcmr5fq3PtfJgoFXpQU3By1HW489wN8Mbri4LPM,181 +material/templates/.icons/material/arrow-decision-auto-outline.svg,sha256=EbIUAW1IP73mpfo9g_PRoJQja-bE3ZNoxa3PefIzBqA,443 +material/templates/.icons/material/arrow-decision-auto.svg,sha256=iz2-7UakbwIbs6ELwusf76TuOECpkWKQpXGAxXc5Y0U,380 +material/templates/.icons/material/arrow-decision-outline.svg,sha256=VLZCpE9OMeHjFtgnzkVSmg-WdHQ0edZF-uaojfI6olM,467 +material/templates/.icons/material/arrow-decision.svg,sha256=yUTVabhNMrQE-6iA8IthuX1kbpxV5sx7g5wbKWUZOms,395 +material/templates/.icons/material/arrow-down-bold-box-outline.svg,sha256=p8qycqwddeX0_vGsd_BEwpjbBw76oZhmxTcVJzHv1Jk,188 +material/templates/.icons/material/arrow-down-bold-box.svg,sha256=d1-zx7dw4RqRKs0RqsfmAKlfAoAWkbbYC90ulXZ-oa4,174 +material/templates/.icons/material/arrow-down-bold-circle-outline.svg,sha256=C5M8hQE7lq2LHDItepNcBU3_2_OiikFCvL_5vMO96nA,239 +material/templates/.icons/material/arrow-down-bold-circle.svg,sha256=9UduXXvTq3rn3Lhv_kpmn13cFIn-iorWOjYPB76ondw,179 +material/templates/.icons/material/arrow-down-bold-hexagon-outline.svg,sha256=W-OnW-8dkE1WkUG_s2uGRKZ2N9_AaN65Q6oTDRCZa14,363 +material/templates/.icons/material/arrow-down-bold-outline.svg,sha256=_KLLrtxCC_P-UBB08aPeEDeurvxYLujgFaYyhzCifGY,132 +material/templates/.icons/material/arrow-down-bold.svg,sha256=DiFBTwrdRlTJrUcdv0AxURe5gMP25Unsf2luQovUCEY,113 +material/templates/.icons/material/arrow-down-box.svg,sha256=BNsD9R6kTov2DTzj4zzBuDqwv4-_kX5rcVF1lDT117o,215 +material/templates/.icons/material/arrow-down-circle-outline.svg,sha256=ia8rjtmiWg8IXw732Ki47DLUQYbxSGeRyd1vj3AK6GM,278 +material/templates/.icons/material/arrow-down-circle.svg,sha256=cDM-t1jXZOMgVBVkE56UqN--E0zW1b_QP-XIgnCfJcg,220 +material/templates/.icons/material/arrow-down-drop-circle-outline.svg,sha256=pwPnZQKQ6Mm9-Oi5uVubr-xEmz-kE5zv-H7bSEW2bxg,229 +material/templates/.icons/material/arrow-down-drop-circle.svg,sha256=gBEL26qlTFm-61PHisYgHCvMjcI388QUabAFq44KP1Y,169 +material/templates/.icons/material/arrow-down-left-bold.svg,sha256=ohABcT_exxxykBmAtbGkW5WkItBMPOwYeDT1G8H2Idc,160 +material/templates/.icons/material/arrow-down-left.svg,sha256=L6pLo-m8f7-3xYD6RrQJ_KAHNpqDrkjadOXJxueDkwQ,193 +material/templates/.icons/material/arrow-down-right-bold.svg,sha256=ngFezR9GPR7W1b4qQcQgzkH3DFqEX2GG2qO_wj_AJyg,162 +material/templates/.icons/material/arrow-down-right.svg,sha256=TT1sNIuLlia448OMb_9PJ4HBR39lWXfBoURD4_d0rUo,200 +material/templates/.icons/material/arrow-down-thick.svg,sha256=lTE4CInNKMQ0NP6oMn3i5W-q5UV7xCH3A7Jeg_6MxlI,142 +material/templates/.icons/material/arrow-down-thin-circle-outline.svg,sha256=ka6iAMIO4S9WCfOmAUrZW7V5JQftpUj6VnDLyNXAjug,296 +material/templates/.icons/material/arrow-down-thin.svg,sha256=SjufZKGyz0jHf45YIC-TROuk-VcjAD9Im4CzVgDbDto,118 +material/templates/.icons/material/arrow-down.svg,sha256=fR2qAYIW7As2xATIC7ru5JUFaKVto6xv0p5XXBfMikk,144 +material/templates/.icons/material/arrow-expand-all.svg,sha256=vaRCXZdA5GoKkUwFh8jY20Vb0_e2uYTbn0PQGP0oH3w,292 +material/templates/.icons/material/arrow-expand-down.svg,sha256=8RcmcggGGZV13-DPh5_o88cf1G0f2RYFoUVXk4O5yyE,155 +material/templates/.icons/material/arrow-expand-horizontal.svg,sha256=XEmnAisDso32UON7K8ifiR4eFca0-J_HBIkcOOjc25w,143 +material/templates/.icons/material/arrow-expand-left.svg,sha256=y-BPyiEJq7or8zMmuRjANBS0sPWnvPwQyJXHnNk2YeY,155 +material/templates/.icons/material/arrow-expand-right.svg,sha256=-i2vbWlcu6jHhmmVd3HOfkUvazFhT7UEvr-VQ8JiJhg,157 +material/templates/.icons/material/arrow-expand-up.svg,sha256=XfhKes4FkXqi5Yv7TdHkltzmXUJAMedB6d9LGZ3X4Pg,156 +material/templates/.icons/material/arrow-expand-vertical.svg,sha256=YFVBITVy4GOqWrm7KsJFh-C8UglvWkas_LfZao3a_Ag,142 +material/templates/.icons/material/arrow-expand.svg,sha256=gtBBsaufPjMWe7JTxXBW1wS8o5s2nNzX4RsPu0IKlqE,182 +material/templates/.icons/material/arrow-horizontal-lock.svg,sha256=3OuoKAyxAHc4e_Aczo9Kxr13PMsszaATI1ATHV0lhnQ,304 +material/templates/.icons/material/arrow-left-bold-box-outline.svg,sha256=nB_J1gqCrss7RFaYSw98i6xBEUMN_ZIYKlnyYD6crtc,190 +material/templates/.icons/material/arrow-left-bold-box.svg,sha256=NGTz3o2aeMOO6xrhkDxEk2GJaMUqb6FUGqnHjl6eod4,177 +material/templates/.icons/material/arrow-left-bold-circle-outline.svg,sha256=p8pQFwM78zRrEVlGSQpvp6ijMTfyan0ZxwC1Yz_Z8n0,240 +material/templates/.icons/material/arrow-left-bold-circle.svg,sha256=166sREKVjXS2mY4ItElqGDjNZD4K4h3zq1WfsCRtPK0,182 +material/templates/.icons/material/arrow-left-bold-hexagon-outline.svg,sha256=hneeSo63ZR7057ycSQpPRyr4lVDAxEsT1ZQDgq6bsf4,365 +material/templates/.icons/material/arrow-left-bold-outline.svg,sha256=-yGDnBOEmPULcobFIz_awCIhFiBQ-wahU6_DAkF8D8o,133 +material/templates/.icons/material/arrow-left-bold.svg,sha256=YVrAtgPg1mft4jpoPPEvC6WJSNAKCxajVWs7JEfq_Jw,114 +material/templates/.icons/material/arrow-left-bottom-bold.svg,sha256=5bmYJgDigrFhvIW1kzq-67ZfDPV5otyOU-LDPCLx1_s,163 +material/templates/.icons/material/arrow-left-bottom.svg,sha256=TMgWOwMc7LviB9VyMJs8rIv2hGZAXcxxArjrHy08Ofw,194 +material/templates/.icons/material/arrow-left-box.svg,sha256=OQpUrdps7CN5KoYjv2CwiVam_aCJ1gF5O08uwyx93tI,216 +material/templates/.icons/material/arrow-left-circle-outline.svg,sha256=80hDG9LnJOK59YfqsFG8tiYC_oCK8K7Sa5uGTrsFizE,278 +material/templates/.icons/material/arrow-left-circle.svg,sha256=LJ1DyZ307z4YFlMwZ4R93TGrNQIJArBfxnZA7RuwX4A,219 +material/templates/.icons/material/arrow-left-drop-circle-outline.svg,sha256=07mwGKcGagI1MQMJLF3YfLqvE1bSrMSj1VTuLgaOwKU,231 +material/templates/.icons/material/arrow-left-drop-circle.svg,sha256=88y1RXBn1uHWGO7bA2bnMMoPm2p0oGslU7nvtZqKMNY,170 +material/templates/.icons/material/arrow-left-right-bold-outline.svg,sha256=I_Ay-BcY-h4x1-kb8akAbhz9iLmV65_F2krMb8mks5Q,156 +material/templates/.icons/material/arrow-left-right-bold.svg,sha256=BFrOd98l9SKr1lvyyvW5u-facIczjJ1kh-MNvJV_b7I,114 +material/templates/.icons/material/arrow-left-right.svg,sha256=B1rzlfWQejHM0N9saCd5E7ncRibhpwE41NcLBFtACm8,211 +material/templates/.icons/material/arrow-left-thick.svg,sha256=OFIuD3U0CVuhrtzFzO47djvzTQTiigLsYiJG_-ynaJQ,143 +material/templates/.icons/material/arrow-left-thin-circle-outline.svg,sha256=-5FfvfGSeaUp4WHa46sivhUfe1bnR9KnUFWaEa3aMVo,293 +material/templates/.icons/material/arrow-left-thin.svg,sha256=4p_-xTN-Kxswj6FjOnu4xnXbkE6OQNtZiN7tqjISmZo,124 +material/templates/.icons/material/arrow-left-top-bold.svg,sha256=IY6hhBuJIW1gWqgtUP8fTXt_Mske4eoiQxQnTkw2Zoo,163 +material/templates/.icons/material/arrow-left-top.svg,sha256=pQJEs4mUYEHzoIG1W_lHUHbDqiNAEA2fUQp15OHzJi8,196 +material/templates/.icons/material/arrow-left.svg,sha256=Hn_SvCglhrfHFAt97fYBFxL4ZZjxtoGjy0aESKZDE5s,142 +material/templates/.icons/material/arrow-oscillating-off.svg,sha256=g05W22kFkqfTaB_SFjfwen-KjgZn0b6u-pEorG02p2k,280 +material/templates/.icons/material/arrow-oscillating.svg,sha256=GFhSFKcoxVW2J790KIva-HPPT5aVZiKcJ_RnGuIqwbE,197 +material/templates/.icons/material/arrow-projectile-multiple.svg,sha256=mCOf44nmA_66liAtfpVnEWbmbhfdkwYOvzM744n_EaE,230 +material/templates/.icons/material/arrow-projectile.svg,sha256=ZhNiCTfsC54kpgRZOsPQbo6saMozz06moRGEeDiqlyQ,149 +material/templates/.icons/material/arrow-right-bold-box-outline.svg,sha256=xPvI7xOgF9nPH6fZlK_UYyMT4gJSXrU4MKiQJj0JSQA,190 +material/templates/.icons/material/arrow-right-bold-box.svg,sha256=90jIDivIi1HLLpqq-eZV6S0WzYj25JAPt8Z4LmpqDws,173 +material/templates/.icons/material/arrow-right-bold-circle-outline.svg,sha256=-5WGrkOTqQEGpyvILe93ueFpUHPw4xgUAQstHj7dA8I,240 +material/templates/.icons/material/arrow-right-bold-circle.svg,sha256=k2C3EpC3K-MM6RJyzj9PyhvS8dVPtwGH5wqKbhItEeQ,177 +material/templates/.icons/material/arrow-right-bold-hexagon-outline.svg,sha256=khbMpIIo9wLbjgXzQejeYtiBJU9UQrociFwL2k63L7c,365 +material/templates/.icons/material/arrow-right-bold-outline.svg,sha256=W281mKN_afr0a2EYOONPlrBtPt45cUBLpPIBQhIxbd4,130 +material/templates/.icons/material/arrow-right-bold.svg,sha256=8bU8VsFXxo9QMh6ZUmyL1efkGJeUE23qdYPPFMth2Es,116 +material/templates/.icons/material/arrow-right-bottom-bold.svg,sha256=R8r7fcAg8eSwbrcRwZPxVVH5nQ8iNsoUuFb_1mJXcbo,160 +material/templates/.icons/material/arrow-right-bottom.svg,sha256=9WFkmW_w2VhLo_rIHs-DcaV-DfYj_XL57fjoZ8nhZgg,196 +material/templates/.icons/material/arrow-right-box.svg,sha256=jx__rGACo7ueUGCddecN7kXEhU0pd02ZzavcazCA7mw,215 +material/templates/.icons/material/arrow-right-circle-outline.svg,sha256=sbycA91n6RoRTxZ5EvgSsTryZDYUoG54-5rdeUwMYxo,282 +material/templates/.icons/material/arrow-right-circle.svg,sha256=XLiAnGyvaF3lNwbWcgom94pLVhzmzKisGPrSBHfwxIw,220 +material/templates/.icons/material/arrow-right-drop-circle-outline.svg,sha256=-jBLHkB1mddGmdsNhla0Vslyid0vUZlpR8nPOxAhuYg,229 +material/templates/.icons/material/arrow-right-drop-circle.svg,sha256=DBAEMOTHDo7VZR0FOEC2V8N3iByx3DKsSw9Q3dC_mso,169 +material/templates/.icons/material/arrow-right-thick.svg,sha256=auyzIwGLZiOr2088JprfQSc70E3Qq1Zb1_uOl0WS25I,143 +material/templates/.icons/material/arrow-right-thin-circle-outline.svg,sha256=FnPDfAURP0sNGcITMaJzdyExs5Gs8thGhj69-i8-ECg,293 +material/templates/.icons/material/arrow-right-thin.svg,sha256=xGd7YQx3MqcpkYQYS7XpqkyjvLpOrAChScnJ5CF_k-E,118 +material/templates/.icons/material/arrow-right-top-bold.svg,sha256=zBp7oZ-5KC9whldWXNzCay964Yg44ujW2dw8EvUxZb0,161 +material/templates/.icons/material/arrow-right-top.svg,sha256=Zyuzk44Zt_u5kLzsYo10fsMK4mWm60wL-RnTbpR_PhQ,192 +material/templates/.icons/material/arrow-right.svg,sha256=C5_pjiqPLfFAQKk-x9lorwxG08beF6kFp3ft32Mvfsc,145 +material/templates/.icons/material/arrow-split-horizontal.svg,sha256=_RMe2DKZ9naU9uPiYBqlTve6FdsfbWdQ7ktLl1DyuzY,149 +material/templates/.icons/material/arrow-split-vertical.svg,sha256=C6kre_N4fjZn2urEiTQq-DoYgL9afWAw_D8yUErrX-E,147 +material/templates/.icons/material/arrow-top-left-bold-box-outline.svg,sha256=FvDOMHR5zvNFrE8mOdoo_qF9P7nFh2cPgJF-3zjCT8s,216 +material/templates/.icons/material/arrow-top-left-bold-box.svg,sha256=dURNXI9SPqOULZMXYq0yTh9k_9zK2sAjMsmYyrHMcjY,205 +material/templates/.icons/material/arrow-top-left-bold-outline.svg,sha256=-pnsMJRYc7lnMDYh5mmD6V-hHrSuxftjDqxerNGE1Kk,223 +material/templates/.icons/material/arrow-top-left-bottom-right-bold.svg,sha256=02IK666X3aPPvVpVJCAxthLbObrlVBs-Uso-00qfv1I,158 +material/templates/.icons/material/arrow-top-left-bottom-right.svg,sha256=b4-4mk_HtnevWkzD0OoKm_g6gRRRRYXnULsyb-rSSPY,135 +material/templates/.icons/material/arrow-top-left-thick.svg,sha256=WQ9Uan8mtV0gT-izDt_UBkX6AqPHMCWM6gvkapVVe34,151 +material/templates/.icons/material/arrow-top-left-thin-circle-outline.svg,sha256=RUz7r6Sqq9pw5PH_mjPTY8Ql_G277YaDMhPG8k1gUZ8,314 +material/templates/.icons/material/arrow-top-left-thin.svg,sha256=nFHQq5zKUxlf_oTZD5povVcTfQ9H6eEo0nCcjN2UERs,135 +material/templates/.icons/material/arrow-top-left.svg,sha256=gMRlu9m9xDRbBdFQkHS4bBGKTRbbTIPP8D96Huid_NU,130 +material/templates/.icons/material/arrow-top-right-bold-box-outline.svg,sha256=IGEpB9_Zmt1OAY73NTrf8sGy1I8MgbUz2-BGdnFc57o,215 +material/templates/.icons/material/arrow-top-right-bold-box.svg,sha256=gavsILeY50I5Lr9SkeXsaIJrYrq4p6xxMtylFEXMxBU,202 +material/templates/.icons/material/arrow-top-right-bold-outline.svg,sha256=3qICeuUux02wAloUeAxEHOlUG3u-UJczvjIFQBqfTdk,224 +material/templates/.icons/material/arrow-top-right-bottom-left-bold.svg,sha256=t1qYDlUIRmf50BfJTYA3QL7-vQ6XOnJVlMxHmv8ndUA,160 +material/templates/.icons/material/arrow-top-right-bottom-left.svg,sha256=rQBcHEXcxOzw5L5TnHslEwAn7se7d1lLtgzFaJNQcFQ,135 +material/templates/.icons/material/arrow-top-right-thick.svg,sha256=sg29tzwMPXO-SUrGTaYjUynHFVyg8SZwronBv8j_Ltw,151 +material/templates/.icons/material/arrow-top-right-thin-circle-outline.svg,sha256=NsfJYVGplYwTQlUdeb-V_lCz9JV5BP5C7CGz4iP9dTk,315 +material/templates/.icons/material/arrow-top-right-thin.svg,sha256=A6Q1EmzzSdrygTR3zmi4CY33CwU5ekJTbYJoMl4p0U0,140 +material/templates/.icons/material/arrow-top-right.svg,sha256=QkNA33NVf31E08D8fXf5ab2xD4lN91GPdGi0H4lyXcw,129 +material/templates/.icons/material/arrow-u-down-left-bold.svg,sha256=oJYR411tNcV5hFLGG481iduLzIt5OvK3EKTB2RJyx3c,195 +material/templates/.icons/material/arrow-u-down-left.svg,sha256=bLLVWYcPL0lSBxNKb6No4LCnc_yy07u_nb3V-9fzga0,207 +material/templates/.icons/material/arrow-u-down-right-bold.svg,sha256=dVDJfj0Tm4GRSu2g1BH4opZwdmQigTCm5Acqstg3FsM,199 +material/templates/.icons/material/arrow-u-down-right.svg,sha256=xAZUuqug5qXbrOxKECPQ08NS9OaEQ1GTgp1XWaiAIr0,210 +material/templates/.icons/material/arrow-u-left-bottom-bold.svg,sha256=apj2HYaWIN6aCVlXys1GqjYdmP6Mdd6ywVcBpoBMthE,202 +material/templates/.icons/material/arrow-u-left-bottom.svg,sha256=KiDGW8u9g7Uuc6EQdCTzgkN4DeLTFeBDIAMlt8nYIuc,231 +material/templates/.icons/material/arrow-u-left-top-bold.svg,sha256=Cg0bny1L9hWSJ2VKE4vAK2hzMSG9JGlbABIzWVyBCjY,197 +material/templates/.icons/material/arrow-u-left-top.svg,sha256=ZQ9XW2WmSxU2_JeYPLPjG7IOQIc1L3iaI8WatYOpJGg,230 +material/templates/.icons/material/arrow-u-right-bottom-bold.svg,sha256=ueCK2Y1pVpUHUFV3BxtWSeX0BLvwxt1tNdIBHcMHtaE,192 +material/templates/.icons/material/arrow-u-right-bottom.svg,sha256=TSMdLeoZX_4jnXorAJkOnyWYwW748x5vj3TtemiUR_0,206 +material/templates/.icons/material/arrow-u-right-top-bold.svg,sha256=s6sJBPMMVNnC1CipEQUC3RmuyFpcM9qMKtIqwjhN8oQ,200 +material/templates/.icons/material/arrow-u-right-top.svg,sha256=rSJfEbL3RqNHHxGdH0T7cfk9VIJJf5B4PiUlrsZp4J0,207 +material/templates/.icons/material/arrow-u-up-left-bold.svg,sha256=-ThvRDW4ZZoJvHFG6zc2hF6Omho2WA7IVXW3-tOYz5s,203 +material/templates/.icons/material/arrow-u-up-left.svg,sha256=XTTXTbhP0V-ZKiTcuAzTT0LAkSjuoDkjhVf0jpK5SI4,202 +material/templates/.icons/material/arrow-u-up-right-bold.svg,sha256=RAXEkjSuO0zoqPVOp7OVTz8qVp8PEr0Qr-KvC8b95R8,195 +material/templates/.icons/material/arrow-u-up-right.svg,sha256=wPQOyXKBtrCQXNixKn09i35-OFQv--16deMO07ey6-o,208 +material/templates/.icons/material/arrow-up-bold-box-outline.svg,sha256=tIUPL0mGQtrJ_7WzdJkYHCC3VfGMdggcYKX8J9CRMkM,190 +material/templates/.icons/material/arrow-up-bold-box.svg,sha256=_x0yb9FZl4V89NIHiPtIg3_4jIKnGik2mZ3J-T8A2i4,177 +material/templates/.icons/material/arrow-up-bold-circle-outline.svg,sha256=r0By7UBlucTbrEO59C6n1jsg8G_JjoG-p92VhzOkP_U,240 +material/templates/.icons/material/arrow-up-bold-circle.svg,sha256=ijuuhUynqduckFlMJg6t3znXP0BFnpsBPyFlM6WWJis,180 +material/templates/.icons/material/arrow-up-bold-hexagon-outline.svg,sha256=LJqKslsZeTEinab5EXfoW1IaoPlPUl13pEBpPHUwQAc,365 +material/templates/.icons/material/arrow-up-bold-outline.svg,sha256=R--7DZZecIwOwUVPQiwOpVoyvPQBLmYaRXqnIV9Ns_M,133 +material/templates/.icons/material/arrow-up-bold.svg,sha256=qHXewynXuP8P7uoLh-PYFZ_FyrcJl4ZeuYrqf0zFXQg,117 +material/templates/.icons/material/arrow-up-box.svg,sha256=5KJACx_1dbrIl4BLKKLw1RkNj1eVCD2U3TOkF3vwqKE,216 +material/templates/.icons/material/arrow-up-circle-outline.svg,sha256=aAdJ51PGglYLvVEo0xqBXLpA4oz8X7RSIDa3ImO1paM,281 +material/templates/.icons/material/arrow-up-circle.svg,sha256=9L9OhPm9Ck0_HX5-BggzW0K5Vyyx3IGTP_MwEBq6QRg,219 +material/templates/.icons/material/arrow-up-down-bold-outline.svg,sha256=_u0Xrc_J2MqNnX8sZQHEeD9ZLYZ_bMpyBu54XUn9vEQ,156 +material/templates/.icons/material/arrow-up-down-bold.svg,sha256=NpFnw25uvbz1_ErvhtSjqXkPVtHu6EW9EPVjW-itGbA,114 +material/templates/.icons/material/arrow-up-down.svg,sha256=7kRBGIdinmze4_3_eQirpwXQov5y-ann5GodKCA3YY4,211 +material/templates/.icons/material/arrow-up-drop-circle-outline.svg,sha256=ve41GZKj8SRvwzGJQBcOjN6L4YpLT4Ysrz2FRKI2PEM,230 +material/templates/.icons/material/arrow-up-drop-circle.svg,sha256=Q1JLAEow2U51pBbquN_3O9HbhUGk6tuioEllBFqz0ZI,170 +material/templates/.icons/material/arrow-up-left-bold.svg,sha256=htVys6ZIJeAhG_k2SQuA7xELtsq3Xyt1C4yzbTOCPbw,164 +material/templates/.icons/material/arrow-up-left.svg,sha256=xoJXP8LWTub0_2eowRAlxakOQg_8C6hUL2RKJGME6Uw,193 +material/templates/.icons/material/arrow-up-right-bold.svg,sha256=BxL_z8tgDrDMLml6o6H2SUoLjaEokSFtNjCOFQQduI4,162 +material/templates/.icons/material/arrow-up-right.svg,sha256=RnJen1lguC5AdkAUTUwLg7pI2Z4OgZ_6dprdQkesyzc,200 +material/templates/.icons/material/arrow-up-thick.svg,sha256=0-CJG37lFJSpifclpVlHenVeVA2a_4WairY2egFMva8,146 +material/templates/.icons/material/arrow-up-thin-circle-outline.svg,sha256=_Xoy2cl5Z0As85m0ylYOJDceRxLzY6Dks0EB1FnWm-s,294 +material/templates/.icons/material/arrow-up-thin.svg,sha256=eS8wDGOIcrNx-wJAIWVzWWEONiMiR3M_e6vVQP8UBIM,119 +material/templates/.icons/material/arrow-up.svg,sha256=kHPubD0zw7wWEnt77pCHkOlOCGPpeNsK-5XpMMAXLA0,145 +material/templates/.icons/material/arrow-vertical-lock.svg,sha256=PteSjC4JvI8QAWU242XWfjqLomwh7xilEpql04_sKSY,307 +material/templates/.icons/material/artboard.svg,sha256=m0yZyFLJKlSkf1ug9H3ZEIK0sQtQZ_yrUErbeB2eV9w,217 +material/templates/.icons/material/artstation.svg,sha256=HXwoTw7BxQN4GHbJZLeTGinEKFD7rcYIabKr-9tlhgQ,295 +material/templates/.icons/material/aspect-ratio.svg,sha256=iirB6uR-MwVevlBHiATzGWq9D4dxbYjV1kg2YRgcclg,202 +material/templates/.icons/material/assistant.svg,sha256=ICw94_A6EE4-PXZ2FedKSl9Gmr-QRukZ1Wcrq9-P6RI,223 +material/templates/.icons/material/asterisk-circle-outline.svg,sha256=xUey2Xqp1y4n7mLnTX0xpvh64Sv4LCuV6TIreRvJTX0,345 +material/templates/.icons/material/asterisk.svg,sha256=bNiX36zpscwIg3smE1dzhlvXkuDgVocF2nxZue4OFZY,216 +material/templates/.icons/material/at.svg,sha256=drvJdAwoEVSwHSoDCrokzfIPCYLT1FK_QGcl06KHC8Y,828 +material/templates/.icons/material/atlassian.svg,sha256=mCUxLQoJsYyehALT5d4I3kJhY0i1tGTjvJLBByHlyJA,419 +material/templates/.icons/material/atm.svg,sha256=xMzXm4y-Q0v3_AVrwZdEelTGWI8Ji-OhUl96CKy4nBw,258 +material/templates/.icons/material/atom-variant.svg,sha256=RuYYKnFHPuUeikSQz4OAQkp7R3sxiVvVGj_IWA6QNEI,688 +material/templates/.icons/material/atom.svg,sha256=WdJov7syiCGKD6q_On8tRbn-JkjL9htUijLfY7UTaHQ,1075 +material/templates/.icons/material/attachment-check.svg,sha256=qSzCSR8xVt0IFDpuf4H4V2AvVOw49aNHyfl5U29e1v8,453 +material/templates/.icons/material/attachment-lock.svg,sha256=ihV4PuLWJF7vuXrMylrAVxbaSK3uJK3er81StCSG2Ls,578 +material/templates/.icons/material/attachment-minus.svg,sha256=JxVK_LFMLekEsYXGbyyYRTbocrxVCNZHvG8miuzqj0U,405 +material/templates/.icons/material/attachment-off.svg,sha256=7Iltm-10miqdx_F891-6u5hzzrAgCKOYePrbdhD6KxM,491 +material/templates/.icons/material/attachment-plus.svg,sha256=Bl0ja41AqZ_EHqzIfPfRhlWlgOrtau_olfTbYq7ades,415 +material/templates/.icons/material/attachment-remove.svg,sha256=FO6kmb0xYHHbe9uZiVm44ek6uVOOwKAlsqE7mUBu1Q0,518 +material/templates/.icons/material/attachment.svg,sha256=Ya5D04fII-kNcAcWoJf3waNnFqCBghtRYKFwHApSJ3Y,331 +material/templates/.icons/material/atv.svg,sha256=iBzrLueLFip3_ZVNcVL7ErulDLKPRFVtA0yGCKob-sM,368 +material/templates/.icons/material/audio-input-rca.svg,sha256=axd1yHC-P_Ruw66VMq54eA7Be045kyfYEBzHY03Rbks,304 +material/templates/.icons/material/audio-input-stereo-minijack.svg,sha256=AZPpFb7O56MkOAfkXc3evi36Cef1yIWoavrx8CoxSBg,190 +material/templates/.icons/material/audio-input-xlr.svg,sha256=rnso9JDXlMrV3d1UdLhIsVR-3zgqxPHD3Kzfa9LbkIc,414 +material/templates/.icons/material/audio-video-off.svg,sha256=PRhV-Nm0bB1UPAsX5DzW6cLpwh5uKEV35maj3HY-CW8,385 +material/templates/.icons/material/audio-video.svg,sha256=_EgKtEZZlli9LoLiaNT9rBajEXhrEYEiBxDwp5u8uxI,336 +material/templates/.icons/material/augmented-reality.svg,sha256=yZN6apOVD3MSlkoDll-qI2QvQp8TsE8NG94kSo6X2-k,320 +material/templates/.icons/material/aurora.svg,sha256=2srmpwhtDPiz19uiDioggCFqbkNmTQzmdWAUueo4sV0,443 +material/templates/.icons/material/auto-download.svg,sha256=JXcU2_aaoSMAVIIor1rsgL2PC3MoB7jB1Qv2ZJ-ScEE,207 +material/templates/.icons/material/auto-fix.svg,sha256=dq0K09UtPy4_ulRlWhX9CmuGFIoOOKAfXfHcMl_IQPE,460 +material/templates/.icons/material/auto-mode.svg,sha256=rtiMJQ_mv1TYSaaBIEppHfs6iY1074k54bZlFUgqW1Y,564 +material/templates/.icons/material/auto-upload.svg,sha256=gzCdVKbCEy-gOrVzh4QqS1zsA9Dox3usP3Y0vvj_t6c,192 +material/templates/.icons/material/autorenew-off.svg,sha256=nJ7T-pLgRrpRvCXytRdEreXEiHRpNrS58vp8flhsqLY,500 +material/templates/.icons/material/autorenew.svg,sha256=38obTizQrINlOEbFIyCWrjNSDLIt5dCh58YkMzPaHSM,284 +material/templates/.icons/material/av-timer.svg,sha256=mjV8iiLgS192u97A-xDLQR4KxzNtHxaEXGQoU3t93-o,443 +material/templates/.icons/material/awning-outline.svg,sha256=dCU-JiOOYKIxkE9tc8LzQaiLkJr4UoXQUfQYHp19L7E,915 +material/templates/.icons/material/awning.svg,sha256=yCViGX9kjcmSvOmLLqdWeQXUunk52YLoWXBDMPMGcQs,467 +material/templates/.icons/material/aws.svg,sha256=T5Ttj-KlQeIuMzdFB9p3dmvrip9BbkRjbnRLAA_hlyQ,2549 +material/templates/.icons/material/axe-battle.svg,sha256=bRvPtaQvy-CvavzJsKYsL_H2LoHnYqFtzoORkwIRTZg,262 +material/templates/.icons/material/axe.svg,sha256=JPK2hQnPe7gUTmTJ4SMi0d79vLbfgRq2upe1aypS8fs,163 +material/templates/.icons/material/axis-arrow-info.svg,sha256=oHnZx0U6zhrVweZVLXsZDwTp2oPcjK8x-MXnK5FYHTk,255 +material/templates/.icons/material/axis-arrow-lock.svg,sha256=BmIaHbvcAR4J-2Lv0r9j0LKbQGti9OtBwXWO6vb_rYA,418 +material/templates/.icons/material/axis-arrow.svg,sha256=JEZcmifiQ98PdDWSG_vvDGLYQyXAHSndrX-1O_2XpDE,215 +material/templates/.icons/material/axis-lock.svg,sha256=oYFo7Q3WYCigW8oh8KZPuKBK3RX5XR8n8n6Q7UMWBKY,342 +material/templates/.icons/material/axis-x-arrow-lock.svg,sha256=Pj64QxIrfJhhboBn-8VrpZRhhUKBQrARFxUd5wrZ-v4,402 +material/templates/.icons/material/axis-x-arrow.svg,sha256=-EjWVKy5AQ0qEQrKijVqywVBCdSCRoJ6Z4dCataJWyE,179 +material/templates/.icons/material/axis-x-rotate-clockwise.svg,sha256=qiqpSkXFSDDU5ZWpPNFDUjwj381DSz7abaMP9P69bM4,451 +material/templates/.icons/material/axis-x-rotate-counterclockwise.svg,sha256=s0vtIDeKA1iP0_saeESvd6llh1kNbqL5zNoFPi_v6sQ,455 +material/templates/.icons/material/axis-x-y-arrow-lock.svg,sha256=Z5AN3KoVTCzUv3S7xagU42JTDXug5irD3_cG5m4pqrY,407 +material/templates/.icons/material/axis-y-arrow-lock.svg,sha256=JsppjX9vkvAVjReb49bwHUq28obve8g6wb0Bhqujfw8,363 +material/templates/.icons/material/axis-y-arrow.svg,sha256=kdlwMXB9Ovh0y_Z8QE6pcpXH-LP_Zb_-CshxvAQtXlw,180 +material/templates/.icons/material/axis-y-rotate-clockwise.svg,sha256=Ru4jzIl31P6oalIODccJmvtpSFEQ_3tx2_67W7454cY,456 +material/templates/.icons/material/axis-y-rotate-counterclockwise.svg,sha256=zISebN7myp2KLOrM_N6Xo9nzo6gPZmLv4L9Hbh7kVbI,445 +material/templates/.icons/material/axis-z-arrow-lock.svg,sha256=-j60_F5jJWZummQ2QCyXa1GE4MmeU5pJT9IJ18NLerk,348 +material/templates/.icons/material/axis-z-arrow.svg,sha256=RDm2RDNYA5qQjbQHR8Xe1M8RORYF33TC6IrTpQAlYlM,155 +material/templates/.icons/material/axis-z-rotate-clockwise.svg,sha256=HmSC_ZPMd-yw48YfklLNRuDvjFl-4uyIPP9cYYfxFsA,347 +material/templates/.icons/material/axis-z-rotate-counterclockwise.svg,sha256=hz0qazG9TM9q_ds4ehgz8byXCcRZhdAP3c7GoSnH1tI,349 +material/templates/.icons/material/axis.svg,sha256=x96AonFaCs2731xS_U15UBjIfzY83r22NX0KJiqZBxc,147 +material/templates/.icons/material/babel.svg,sha256=4Wc5w074VfAM_0nACxcW0M4pD3_-wPZCUI4mtEvH_lE,3101 +material/templates/.icons/material/baby-bottle-outline.svg,sha256=FhhUUKjV7hmwltvyDXQTZyXLP7p1p8COPqOMr78pzt4,823 +material/templates/.icons/material/baby-bottle.svg,sha256=KqvhGmJtz9TPYSss5B0qJun9Zkj97dQz8JlK3c9Mvkg,496 +material/templates/.icons/material/baby-buggy-off.svg,sha256=KniFOJynxgMmAnClOdw3sKIIUBSoz4SEym-ZHH7nBzg,578 +material/templates/.icons/material/baby-buggy.svg,sha256=Ur5QnfXgAlwb35NDPTyK-JMtlfjmNHO_oXPCrbQOyk0,520 +material/templates/.icons/material/baby-carriage-off.svg,sha256=yXgwcTlUu1t0GCg1V6VYUumcXD9ztQWq_csqqrtYQVg,454 +material/templates/.icons/material/baby-carriage.svg,sha256=iZbjVraTGX3kimirOrhPurczKfCqYJooGKHOaDH07Ec,495 +material/templates/.icons/material/baby-face-outline.svg,sha256=HFgXOR4bQ77WmcEIcXbC-Q_rMwKjfzNrRNtmQWWKxIA,697 +material/templates/.icons/material/baby-face.svg,sha256=IAt9qXvkbAMQN5OuxEGIdyNBGnk1vpOFs_B-_dLk8sA,729 +material/templates/.icons/material/baby.svg,sha256=JNMwNTyxDB-ANqtspT0H99O56ml9LQxhAAfQ8LNvb78,393 +material/templates/.icons/material/backburger.svg,sha256=Y_3CaMYI0BM6nlahfuNe948o2tN-lQKC8Oy1iDZ4bA4,161 +material/templates/.icons/material/backspace-outline.svg,sha256=lMX37WWiZKkqTrNGMEF6txjFupipWViRT9BhH2---bs,316 +material/templates/.icons/material/backspace-reverse-outline.svg,sha256=7T3dUtYGJYkk0MBg3dqZyFoVkSJNz8uOuSDiPzzi39Y,315 +material/templates/.icons/material/backspace-reverse.svg,sha256=ZpNLUwkvHpE7tNBj0EUekIYhwTUGP0upcVDyrByc2lQ,260 +material/templates/.icons/material/backspace.svg,sha256=Z2RVb9qcy5htdZSccxVdxtMHc3P3ByNflAV5js0zZOI,278 +material/templates/.icons/material/backup-restore.svg,sha256=HTul8KSEfRkV8caYxfu9SBWSKeF-fXqzXAfeMRBN95A,298 +material/templates/.icons/material/bacteria-outline.svg,sha256=iqW0cr2VD2JoyLfZlWRmcIETuRi4CJJCe_fRbm2dOTY,1062 +material/templates/.icons/material/bacteria.svg,sha256=BQNYJ3A1kTZABHyIiFt-IRSc9SzLXFTNBCdMyymzbrk,919 +material/templates/.icons/material/badge-account-alert-outline.svg,sha256=NXgDRB71y_cFNZ7ugxvek-de3C9HVcxMdtvV-BL0O_A,335 +material/templates/.icons/material/badge-account-alert.svg,sha256=ixy01n8FY9KvJCeP5sQZRVadIAYFW94O4ZtRJMrfFZM,327 +material/templates/.icons/material/badge-account-horizontal-outline.svg,sha256=6dwMQxhbVVqeEjF7pcOPOv_WdPSDjC1DPPpcBgCM-gg,322 +material/templates/.icons/material/badge-account-horizontal.svg,sha256=tfXqvPAn2aNerHyAnscSJ6MUuGLI06-r-Pdea0jgKPk,314 +material/templates/.icons/material/badge-account-outline.svg,sha256=_nXBgn0BTNKNPtjWzELtYtFH_KY2Pb7vvyW1wBGRDeU,309 +material/templates/.icons/material/badge-account.svg,sha256=NSwAec6TxKF6ptxih7JB0h1Xne1tpmAKXczQOrgqSHo,302 +material/templates/.icons/material/badminton.svg,sha256=QpDiirzIigh5Iya1cpisxkLc0MbVK9DLZa1mDQ6mHEQ,990 +material/templates/.icons/material/bag-carry-on-check.svg,sha256=dCKhyS4DYpopaxoKACtVp6E1ASZ9_MrOss9HZtN-_eM,321 +material/templates/.icons/material/bag-carry-on-off.svg,sha256=UCRXPuK3XlNOFarRrteAn_iW7QZ0rWWJBx514dJjAdo,333 +material/templates/.icons/material/bag-carry-on.svg,sha256=GdGJto6U9oBYsPBPsIsmwmWo984O6Cy-ts-TLLn-r_A,364 +material/templates/.icons/material/bag-checked.svg,sha256=bBiGkC7mWaZkAJhgecdFbsQ3i-irWhTNMU0cD73I_M8,397 +material/templates/.icons/material/bag-personal-off-outline.svg,sha256=i-5M-BCeNmfoXRjqIYd-UnxUDTGWWoWlkRiba9JJQDA,386 +material/templates/.icons/material/bag-personal-off.svg,sha256=GAwt6q83oQc7DAij1l2uhlf5IRVCTB8-2lU6OOPhayI,314 +material/templates/.icons/material/bag-personal-outline.svg,sha256=ycoyauThI_BRUlSo9zuODWtXIgjHwvo6G7CCNT3x8tE,280 +material/templates/.icons/material/bag-personal-plus-outline.svg,sha256=IK-qX7SsTxud83ScWfpProABweeeI_EeS60klu2TFjw,353 +material/templates/.icons/material/bag-personal-plus.svg,sha256=GgvE3NmmQeNASKHl3y5fLBVsmD7QUDonljbrauAi2Us,313 +material/templates/.icons/material/bag-personal-tag-outline.svg,sha256=DTQn3LUKp-aFeh9lisPWpr0GNSL7pJxJh6wJ7vbCsNY,480 +material/templates/.icons/material/bag-personal-tag.svg,sha256=gDuu9ywunCUGjuS69KmAEg7ZH0O4bAqcE0CDCzyFbLc,492 +material/templates/.icons/material/bag-personal.svg,sha256=mLfCK-OTBXgZ89YvXuyLAZKAXJWpcXxuGvEXuKsd_Uc,240 +material/templates/.icons/material/bag-suitcase-off-outline.svg,sha256=uvzzmFVTkKVbU6gz-rqwP22Yt1hFYqXky7FwWMcuLKU,510 +material/templates/.icons/material/bag-suitcase-off.svg,sha256=On5mrFrF7shRGl3W4Le4FXGVsFQ4I_b9ZqYqr8pkMpw,464 +material/templates/.icons/material/bag-suitcase-outline.svg,sha256=Nzd0iHABYLs8Bjbbq-ckU7Y8zd6zokXT3wscsVLW8gY,364 +material/templates/.icons/material/bag-suitcase.svg,sha256=uRdjCyHeV9ybd2In5bzEVevXqDVr8T8AJUQpc2MlIAA,361 +material/templates/.icons/material/baguette.svg,sha256=sspM5W7ewGOHw72upv5vtjDo-Kfe7ZT2FHFgtMfmggk,643 +material/templates/.icons/material/balcony.svg,sha256=lH6SfpCbkH9UaMmxrVCIxr2hrY_OPCOLgzOELFcmmtc,289 +material/templates/.icons/material/balloon.svg,sha256=XBrvn5xDHTKwi7uhGvRuw-kal4xfY3xep2DwoGbJnro,246 +material/templates/.icons/material/ballot-outline.svg,sha256=uosq8Fn5cPa93UglqcW4QibyL1D70fV2VT96f2-6OFI,249 +material/templates/.icons/material/ballot-recount-outline.svg,sha256=LvHd1zheCK2by2GJHjQN-mxLgF2FOl5By54NHGD5eFI,506 +material/templates/.icons/material/ballot-recount.svg,sha256=--Z8SN3iDXWFBysmSjQkN73NsdrkeUuVLGUGzmezPa8,517 +material/templates/.icons/material/ballot.svg,sha256=UWmWw5VLcUV5zWArXcE2zenX8qBFAZGxLkkwqS4NbR8,234 +material/templates/.icons/material/bandage.svg,sha256=Yyp9HT9vuylkv_I494crDe6JfNIWgHTK-85HDADey5s,738 +material/templates/.icons/material/bank-check.svg,sha256=UB1Aq72p_xXCSwLsifeOeY7pVXpW3SoGNs9wvNNHbUE,291 +material/templates/.icons/material/bank-circle-outline.svg,sha256=oFxoI_b7_id_D_mI9il9sITsslLxmn6vs29y6KeNuvY,271 +material/templates/.icons/material/bank-circle.svg,sha256=nENtJtCzErfAvlcCMDwyC1IuL--vkQ5TIYjtXWABQqE,220 +material/templates/.icons/material/bank-minus.svg,sha256=XusAj19FAtudyI47nBJ0RrRXdPwUKyLEinWLaF3CYJA,259 +material/templates/.icons/material/bank-off-outline.svg,sha256=GBambxIeVqbwSRQKd6FvqAeNl5FrOCbuFrj5tXtBGQQ,267 +material/templates/.icons/material/bank-off.svg,sha256=4sbNc0hVWGH4PHIt9NJ72t2Rlh8XhZQebxYkF71it10,240 +material/templates/.icons/material/bank-outline.svg,sha256=RgSMx8YBlokL46b1NBx-4HXVMgUXKFnXfS8bGgqQclw,199 +material/templates/.icons/material/bank-plus.svg,sha256=qjumoM67u3Gbik7D6D17SV3QnQB3E8YL_lT4NKewZ_E,279 +material/templates/.icons/material/bank-remove.svg,sha256=sRZS-TbSpBbxWU_NtD7HAPu2serybIRU7KvRt-i5j8o,373 +material/templates/.icons/material/bank-transfer-in.svg,sha256=U5RAF5RY_YOpk8zLKYHc2BtU2uk6LDeBSMfHHb9A0Pk,196 +material/templates/.icons/material/bank-transfer-out.svg,sha256=y0jsfVkK_u8AohLVcmnBgyaEorKxEQyZw0gvRlaQ_GA,193 +material/templates/.icons/material/bank-transfer.svg,sha256=3xBwO6aF-x4icT6p720sQ8l6n6mrlBC6bINeY8XazEc,243 +material/templates/.icons/material/bank.svg,sha256=xW4DT4WyDmn30qZRDMseUCx0DtYm2eFwfI998B80yLc,147 +material/templates/.icons/material/barcode-off.svg,sha256=IdIYyBMsbaRfpeMZBII3FN16afsu7Vnj-VSiAh1UWZc,364 +material/templates/.icons/material/barcode-scan.svg,sha256=DfgISi2CsMymXm2D3_bpHn8R-dAuRBP_FTOnkcJTrWY,289 +material/templates/.icons/material/barcode.svg,sha256=qbOp6GQxSTvIDc0Jy0PJ91PxDmloNUbEEucfRCtV10s,174 +material/templates/.icons/material/barley-off.svg,sha256=7VM1sAaJwAXyhgoz694kksDbTII-XC4n5E7v8DPJkUw,779 +material/templates/.icons/material/barley.svg,sha256=0YOsE8fXl1SKlDklI7qWKGOsIFcNCkOzPhl42N4Tjrc,755 +material/templates/.icons/material/barn.svg,sha256=Al-9nsuFOYDT0fymJxeQLgr-chVTeVLmBjbQob_BYD4,182 +material/templates/.icons/material/barrel-outline.svg,sha256=0p7aRBFiOSY8iUXsganLKbmrg3GeWa85Te1rtfsrgC8,443 +material/templates/.icons/material/barrel.svg,sha256=UlZu9naqTZKDOq4hTRyewGlTQx_CCQSc5AKOXmMqdJg,374 +material/templates/.icons/material/baseball-bat.svg,sha256=bGrcfig6mxGEBz8cxf2fJ7msCtKUtfd7hxYgp5MMS_8,438 +material/templates/.icons/material/baseball-diamond-outline.svg,sha256=Rs-XT3J8w2_jDyDZq8nJGzwLaRzcma46QwQZj2JQTuI,368 +material/templates/.icons/material/baseball-diamond.svg,sha256=GZm2av3vxwjcFZ7W2ARTkYKYHThUnM6NLXRkY5CIZPk,308 +material/templates/.icons/material/baseball-outline.svg,sha256=MuGh41bwq7jkwAYqJnH39I8e4XIBYauS4qu9bk42elw,874 +material/templates/.icons/material/baseball.svg,sha256=-cSQp7gaJ3lqZ4NvDFFPgL5CiNGUdQoaSfcMC-vyz8U,885 +material/templates/.icons/material/bash.svg,sha256=SxjAD0NfGb6ih7g78B_pDXTLx4VxXTjMaqI93Hixdok,241 +material/templates/.icons/material/basket-check-outline.svg,sha256=Ja7HxB4tAmgcut0syzXwKCUNF_yd8rOLtKbCoBSSnhg,469 +material/templates/.icons/material/basket-check.svg,sha256=eWYaanitwKEAWHbicttRC_VoxNnQg3CgbQO_K9doZg8,430 +material/templates/.icons/material/basket-fill.svg,sha256=Wf5kVYsnzPgsDATA9QONNclolRwKSoQGVURJP9c5tW0,293 +material/templates/.icons/material/basket-minus-outline.svg,sha256=PGH5Yx8nHGX8gXMu8d-uvZDXxkrFKVSjNvZmN88NIvc,401 +material/templates/.icons/material/basket-minus.svg,sha256=zb5s5YuCCu6mEiucCdnNw90LRQBYSL5r5kFZ0J22JTA,346 +material/templates/.icons/material/basket-off-outline.svg,sha256=bF6-PDd23atX2g89BFoyV5CoSgKC5Z1DA9UF9asR2Bk,487 +material/templates/.icons/material/basket-off.svg,sha256=-L8179SKnlLQBulcVfxJuVmg1tkIHsNzfZPTLIdMINU,439 +material/templates/.icons/material/basket-outline.svg,sha256=O-n4AdWtzOBsUSF8LkdnxbbUSSjMGiKY7yGX7qNOmxg,368 +material/templates/.icons/material/basket-plus-outline.svg,sha256=84HTomKh3oSxnyQP_3r8SrfXuLgd67CCCRNRVhwnI6Q,420 +material/templates/.icons/material/basket-plus.svg,sha256=wRDX2Mnqe0-jYPD_ZjA5frnRGPKM90tqYDjoLDpLyRE,366 +material/templates/.icons/material/basket-remove-outline.svg,sha256=ZPWQKbYpom5J13CFmisvPKTewsKrnk8d6QPG9W2dDVA,515 +material/templates/.icons/material/basket-remove.svg,sha256=dy5rI6QWX8TMc_5XGwpqNP8I0zBDXjkqBbDJ0VOakKw,463 +material/templates/.icons/material/basket-unfill.svg,sha256=kg8FoEVzMTgUya26aYDKylar4L8fhmrPxP2MU5jugXs,294 +material/templates/.icons/material/basket.svg,sha256=PJRaJV37v9mT9BJycpwAhacSAMIpQfxgUJtWqmkPdSY,334 +material/templates/.icons/material/basketball-hoop-outline.svg,sha256=0DSQxmHi25uta9xfKdOomNzTGIVZrvVbvOJAiYvCZKw,258 +material/templates/.icons/material/basketball-hoop.svg,sha256=61m0OQZcgXjRR1Ff-5r0wPLT5hqRj0P6FcgeWftO6pY,251 +material/templates/.icons/material/basketball.svg,sha256=zd9qUT8FhRJPwAfqMk6jmApNiNddyCoSnFYBD0d0cVE,998 +material/templates/.icons/material/bat.svg,sha256=VaJDWysDlQay0h_vtTvysWOWv_LCSGys3mersOsFLYY,294 +material/templates/.icons/material/bathtub-outline.svg,sha256=y3aBvC-yaS-rHfg7cnLD0vODk7B_2eleg5dEFryLRJI,518 +material/templates/.icons/material/bathtub.svg,sha256=xCTBjqUCFIeNjLKb6CCdqguA35GPJzSxR67zaHfAIps,504 +material/templates/.icons/material/battery-10-bluetooth.svg,sha256=j3AHk2xXsabu1eYVY1nqo93_kXYMGJ6TdFzRBHPUWSg,376 +material/templates/.icons/material/battery-10.svg,sha256=2PvaKUiTh5AdQxlEtcXp_jXM6qUxyf41rqS7Z8_Yp8c,219 +material/templates/.icons/material/battery-20-bluetooth.svg,sha256=z4FIrB3J9cVOwGbvUFR6hm0ACyeNu33e8MqYwecrHVI,376 +material/templates/.icons/material/battery-20.svg,sha256=jBWiQ6mC2nPdEQJHtG4ieqQFRrCaHMmkqIndKDZ4NfA,219 +material/templates/.icons/material/battery-30-bluetooth.svg,sha256=JdQ2R_l_PV7K0AHOd1lj-lGETMdGY3tF-AXJNiuS3ok,375 +material/templates/.icons/material/battery-30.svg,sha256=4ffMv8mB4coTV84y1ACBp1doEoI2Uzin0yYLh_ILtjU,219 +material/templates/.icons/material/battery-40-bluetooth.svg,sha256=dcSYgn5ankZgX_Ge_G56U29JwZ0BvzjjdZ2umkqQS6E,375 +material/templates/.icons/material/battery-40.svg,sha256=eKbBahorGDVCUAM-Fyi93VOxcMFtt56PVzZCJkJWI38,219 +material/templates/.icons/material/battery-50-bluetooth.svg,sha256=d0bcn99usb2aAfOvqgFLODrHbNOuUug3v3FJs-27qP0,375 +material/templates/.icons/material/battery-50.svg,sha256=98pzXQ4YeIBOvnofFH0_zGfwjsPn3atfSkbMsXwu1qA,219 +material/templates/.icons/material/battery-60-bluetooth.svg,sha256=G7HpC0tGlR21dbIcNYMg2jC9zg1ngSnjn5W1NXcul_E,375 +material/templates/.icons/material/battery-60.svg,sha256=V8B2KoW762iOLF-6JZLI0jUnK4ysxgEGCCQtwQFVe4Q,219 +material/templates/.icons/material/battery-70-bluetooth.svg,sha256=mqZkCilmEnYBNY4BgNCcPFsIHpL10n5LjYldILZ_eAg,375 +material/templates/.icons/material/battery-70.svg,sha256=10BkAcK_5I1TXC13MxCNvgsIm-eMdvQJ0lm-1_tlyJo,219 +material/templates/.icons/material/battery-80-bluetooth.svg,sha256=IbOLQj16poAXBNPawCkq9GcWSQjx8rI7lvXRDgBxSkI,375 +material/templates/.icons/material/battery-80.svg,sha256=6RAfYIFpDvSMzA07s_ms9w0_LXkezDNV60_jhoKAa_s,218 +material/templates/.icons/material/battery-90-bluetooth.svg,sha256=niqd6O0KgAUMEQ8VbFswosN3-L98ZIJn54mDmEop7i4,375 +material/templates/.icons/material/battery-90.svg,sha256=ptxqbzEmawTnjG7Q1fwOgNphOFTdTTquuEHZ2ceJ4DA,218 +material/templates/.icons/material/battery-alert-bluetooth.svg,sha256=wcIFRqZBIX6jhn-f1NbiSceF_mtU_s9Q_0s168a5E_M,342 +material/templates/.icons/material/battery-alert-variant-outline.svg,sha256=uASHMkAQzE8PBdONly2dYxj7BZl7d7-7T_YxZTx517Y,242 +material/templates/.icons/material/battery-alert-variant.svg,sha256=ljJ1j0O_BCIZOhxVYCcMbmgxEnWY_62YdpBpKqBI33U,233 +material/templates/.icons/material/battery-alert.svg,sha256=53M_FrsMwXjOZ4IaJ--Jm7_HKiIENuOn0J77enItuNY,216 +material/templates/.icons/material/battery-arrow-down-outline.svg,sha256=iVxWxQZnHdPdpOvHXtNjZEYsY_N3zp0_uq4gqZJWabs,260 +material/templates/.icons/material/battery-arrow-down.svg,sha256=P5EScSAEkuKY0QIsY0o5eMNY0k6YIEIbXNF8HhDfpFA,247 +material/templates/.icons/material/battery-arrow-up-outline.svg,sha256=1aJr-yfGOl_7ksYFJ_7zAsoQTPl7jstRi1ZnKWsFoZg,257 +material/templates/.icons/material/battery-arrow-up.svg,sha256=2Y2cLOoRQSdMxzTyub6F9jlGRZBUtjNmgMkr85liUuA,244 +material/templates/.icons/material/battery-bluetooth-variant.svg,sha256=TGPuMIAYXDdlNt__7Pqwj8B3jHQphRZ5BpiMUqE4_6c,376 +material/templates/.icons/material/battery-bluetooth.svg,sha256=pHOL4mA65gT3iHRgM85G8wzQrGSSvyCCSm1t_E295-8,363 +material/templates/.icons/material/battery-charging-10.svg,sha256=uK5-b9MDnc_bPrRLaNk7TvYLp0nej96OBSG_DPRFJQM,257 +material/templates/.icons/material/battery-charging-100.svg,sha256=2n9GtoqkXaJNUCU9m42nXdutw9ZSfX6Pal6Hl5YV5xo,231 +material/templates/.icons/material/battery-charging-20.svg,sha256=DOxsBOlp-V6_r1CruPJT-OP4pvO2_3z7Kph8F6IJ8Sg,252 +material/templates/.icons/material/battery-charging-30.svg,sha256=5vzCLtzchzRv97spGFIcUCz3gJoa_pGvG9B9yJiji1w,246 +material/templates/.icons/material/battery-charging-40.svg,sha256=TgPstwvwn16miQldV5YPFm9-MJM1itRsOjAY3YQYSD0,197 +material/templates/.icons/material/battery-charging-50.svg,sha256=gPhr1PWLAsWcmcyYGIoVDy-NXh70lphliLd15CAGnls,240 +material/templates/.icons/material/battery-charging-60.svg,sha256=ITvxB8vmiOBScNkLEjIKikRPQfw_0zVWylNgSSPC7EI,246 +material/templates/.icons/material/battery-charging-70.svg,sha256=F1xnoL3wr2aQWdpj_y9RKFESaOzDFab7olHGnToI7u4,246 +material/templates/.icons/material/battery-charging-80.svg,sha256=HilCNgMzEUPb2XglaY216M82Oy2DHD40oRb71GXH6iI,240 +material/templates/.icons/material/battery-charging-90.svg,sha256=X7RLksLCJWdT-P4uOrEDvOg1oO3Y5cgr-hktrHaQARQ,240 +material/templates/.icons/material/battery-charging-high.svg,sha256=P_E2ah4X1Cc8DkU0pDox9ibBBn_PXiIPjaPXf_k6IsI,277 +material/templates/.icons/material/battery-charging-low.svg,sha256=tKbVoXBRnbEtTXlioNAcRcKyS7Ctwmn6C_hOz8kyv0w,249 +material/templates/.icons/material/battery-charging-medium.svg,sha256=mjv6pgj9xCcfP4dDJJ-DM71eg-l0GozF36xwH37aW7k,265 +material/templates/.icons/material/battery-charging-outline.svg,sha256=zRNs9jSgIa8nDZueoyYUm1Kl320hvhDIjPxOuXK5Y_s,257 +material/templates/.icons/material/battery-charging-wireless-10.svg,sha256=F8yhIK-ra7VXd4-gp-saWdnfXx4jVujGO27MXz9noto,336 +material/templates/.icons/material/battery-charging-wireless-20.svg,sha256=HEJgBdYsNM2QXeGmFVecdtJ9HzA0JSVv2gSIAgOHKjs,332 +material/templates/.icons/material/battery-charging-wireless-30.svg,sha256=aR7SGvoUzAii1hU5xhW8FjwGnhZFHZN4AtaY-lUyASk,332 +material/templates/.icons/material/battery-charging-wireless-40.svg,sha256=cDIy2rcqOUG2bm3IFH6J6VD43cgO9HV-8Dyb9jiDoTU,335 +material/templates/.icons/material/battery-charging-wireless-50.svg,sha256=O74Ep5KnDRejmf_VtzsCd40ZFkhxTCIuslm3ikEP21I,330 +material/templates/.icons/material/battery-charging-wireless-60.svg,sha256=Re-7HvluOsDs1brtOnPS40HLeJAT-M1v0clhdUVpUzc,334 +material/templates/.icons/material/battery-charging-wireless-70.svg,sha256=g9pIYSzHrLyD9qyCrOYqXAkPELQsaj7LWkAisvpwTrU,330 +material/templates/.icons/material/battery-charging-wireless-80.svg,sha256=pAtbx9CT3bexHYKYWTHvVnsMAMR8nZ4d1jn-cW-EUz0,330 +material/templates/.icons/material/battery-charging-wireless-90.svg,sha256=qW372OT4Ogd27uf-Lj4rCeyXJ_WGPx2oRg8lcih8nr0,334 +material/templates/.icons/material/battery-charging-wireless-alert.svg,sha256=BuaaHLMdS447rPjdk24qZty8YLOXmfFHGItAu-8-j78,326 +material/templates/.icons/material/battery-charging-wireless-outline.svg,sha256=Z9aQVb5gQ1KfjeDxUj6N3JwCQesJnZuKWDGhRxgZDao,332 +material/templates/.icons/material/battery-charging-wireless.svg,sha256=uU12K1Gm87YPBvm3Z5orLhp173EadLpVNvVaIhZe_Kc,314 +material/templates/.icons/material/battery-charging.svg,sha256=-8PHQ5Lec3yAkpZy5BhOyPSzZpADJq9ihlcJQKWdB2s,231 +material/templates/.icons/material/battery-check-outline.svg,sha256=mLrV8iLSHGDSFxM_YQNxGmlp7golonj3mIbx0VZiUrk,306 +material/templates/.icons/material/battery-check.svg,sha256=7v80d8XH3qfjVOEJZpLZE41cXOeXHxXT3rzxz56TsT4,285 +material/templates/.icons/material/battery-clock-outline.svg,sha256=EGt8-0qmSNp5q0kShdcOim1tH_LBiJgI-YRkpmKvU2s,398 +material/templates/.icons/material/battery-clock.svg,sha256=b_8JG_tbNz2Nbxy6mJDaJYDFvXEPEDyZmhB4l9UlV84,344 +material/templates/.icons/material/battery-heart-outline.svg,sha256=JsfAivcCy8XZr7ZkVmIW8-vN1UPU9N-FfBr9YpQjtYw,345 +material/templates/.icons/material/battery-heart-variant.svg,sha256=SZ-96-6blHBidwxXBrcz2-Q2hwCf44utOHNgFMzbtDo,380 +material/templates/.icons/material/battery-heart.svg,sha256=I223FPAC8eUWz54Uq15akez3Dd7pBZqYi6hCHkxEuJ0,373 +material/templates/.icons/material/battery-high.svg,sha256=xJt3YRWsDKt9eWdzsOXdfAdGPQVbK3Z4RYkZqIRWhiU,257 +material/templates/.icons/material/battery-lock-open.svg,sha256=kNseAi1jiwGKHKKjlaZdCCsk7DEEB7-ESen0BI57cmM,477 +material/templates/.icons/material/battery-lock.svg,sha256=7u7Abp_LWjrydcot8ocHNjOeeh_CG0pZivZnXtegqeU,451 +material/templates/.icons/material/battery-low.svg,sha256=l2TSDR70l6mQby-RfymKNeLZeRP68bVRo4o0hE_YKiY,229 +material/templates/.icons/material/battery-medium.svg,sha256=Q8FmEaXl0t7evnG-TtlnXYGXkgnlZ73YwzYSu7zQU4E,245 +material/templates/.icons/material/battery-minus-outline.svg,sha256=Fayy9j49ZAjJxGV6WcaXQ3xJrNzfydPBBgyekww6JKg,247 +material/templates/.icons/material/battery-minus-variant.svg,sha256=om1kvAVifWbXIqxzBpEHzZXInsdsODKLPoqAcSmYnNc,219 +material/templates/.icons/material/battery-minus.svg,sha256=cCIondYdv0FDu1tuwgUtYSZkvyJjNB_4zwRPeSg6zOc,234 +material/templates/.icons/material/battery-negative.svg,sha256=FnTEpn7qv1ect6Do1wduSWt-jZfqRUq21W3lTBDOz7Y,238 +material/templates/.icons/material/battery-off-outline.svg,sha256=SuM7GPeHGI1GHZTQ64Kgrx37q_dacUbWUU41-zvUkn4,274 +material/templates/.icons/material/battery-off.svg,sha256=q5L9Rja4dO3Eoh-oBkuGSN4k3rzbciTfDEOa7ix1h2o,248 +material/templates/.icons/material/battery-outline.svg,sha256=K6jEkXzIWBoG0-lkng98-ta_UfPAya_suR_mb8yMqgs,219 +material/templates/.icons/material/battery-plus-outline.svg,sha256=D4oykpHCG7lD4fyFbOqevYf-XdSNtf__C7j4556D4Dg,267 +material/templates/.icons/material/battery-plus-variant.svg,sha256=TvlvJcJgkb3Ry7PtDIBDEyE-LVybkiGCbzH_TZaoFlA,242 +material/templates/.icons/material/battery-plus.svg,sha256=LfYTyX76It-S42BN3Y4W-PfuuZqVls-pfNywTfs__18,254 +material/templates/.icons/material/battery-positive.svg,sha256=dUojCdqRvjYKmr0qoFjpIVl7Mt57dhoLCDSNBD9Dk9g,257 +material/templates/.icons/material/battery-remove-outline.svg,sha256=lf7PeZQPqohualWtt_g62FXKJS8mppbCQR2WE8tE3UM,356 +material/templates/.icons/material/battery-remove.svg,sha256=fgu8asW0li9Kwru3jgv34Pou8Upt_KAPbdGFjV7YJhg,343 +material/templates/.icons/material/battery-sync-outline.svg,sha256=Pkk6DpN-qnPsZSsSHYQKzc_KpHLMDVWfX6WgGRfTdRY,423 +material/templates/.icons/material/battery-sync.svg,sha256=dG_kAX_6HMb1GTIoqov52NNeoCDUJsVbT9MO8kxX6pw,410 +material/templates/.icons/material/battery-unknown-bluetooth.svg,sha256=7sqBvQHoZ0QxufOsEUve2PSEIRRKwjEyxAiosdhJ3_g,559 +material/templates/.icons/material/battery-unknown.svg,sha256=oru5kUvMk_n3amnuB4WblJJNe4uBMObjpHPI5Pb_IKE,414 +material/templates/.icons/material/battery.svg,sha256=TQmyfAucwLvKOO8UTP2Z5GaYhTWK2JWgki5dELIdsFE,209 +material/templates/.icons/material/beach.svg,sha256=otmoVxVAQOO2-tb1a-LKLp-a0C5JRzIhmvWFcBFeaIY,343 +material/templates/.icons/material/beaker-alert-outline.svg,sha256=BM8dkx9ibYMytD1A3Un5lI21cEvn27xCiDXURdUIy2g,239 +material/templates/.icons/material/beaker-alert.svg,sha256=KeivY8zEfUVon3T9zdhE4IUjr3HaNKAcpq-WEoYH5Ks,249 +material/templates/.icons/material/beaker-check-outline.svg,sha256=ysdVfc2jDcWNucTGyAH613CFSooGtyIy_7mFUJDaJcc,298 +material/templates/.icons/material/beaker-check.svg,sha256=yzL4z-3r4oTVvsZ6FYW9bobs7tFRWwXIwreDR10P8k0,297 +material/templates/.icons/material/beaker-minus-outline.svg,sha256=MuRg3YruGUHOYwluGB4s1cmsOXjj_mfKWPposjlHGpQ,245 +material/templates/.icons/material/beaker-minus.svg,sha256=xY8nwXqBIqQZBXYMjyxPI0-9d0r22pVJOHN2XwomRV8,246 +material/templates/.icons/material/beaker-outline.svg,sha256=xjKuOcT_6tV6kTm1BjUATtbfqKRQUyBopj1JJ7OkY5s,206 +material/templates/.icons/material/beaker-plus-outline.svg,sha256=ZuQ4SBq6ZuiH334bs2EOeniwQ--n3thcqeo7Va5TyDo,267 +material/templates/.icons/material/beaker-plus.svg,sha256=_xhIXhpq30WSvAMYHWqaLEsIG0bRpEXvBjg9IcP1uQI,266 +material/templates/.icons/material/beaker-question-outline.svg,sha256=rEWdMiBLUC6UJbBkQWRU_dOi874R0LqW4eKlDb5XB9M,436 +material/templates/.icons/material/beaker-question.svg,sha256=6TqLNsCXwFHIMejzVjeFjPxL25fJMxuKUx0c3si0GiQ,446 +material/templates/.icons/material/beaker-remove-outline.svg,sha256=cPIwX85t-ViQ79BUUQqkpp30wVNDLKjLP86YxIWiBWQ,361 +material/templates/.icons/material/beaker-remove.svg,sha256=qKePCDPQD9mM3_Smw0c97T3IDLF4fX-5Nr5xLGvUqOQ,360 +material/templates/.icons/material/beaker.svg,sha256=PXhR1ENeZTgx74S_kMwvKDSNKairH9b__LTMS-nVaI8,216 +material/templates/.icons/material/bed-clock.svg,sha256=FbDbJUhW6yDYP8KrUGqoc23D4sj_Zktoyf_H1c5oUMY,340 +material/templates/.icons/material/bed-double-outline.svg,sha256=KUFEy-k8NXjneuYX0Yhni1jOOsVZVg-UQXtZ8r1f0TA,296 +material/templates/.icons/material/bed-double.svg,sha256=NMarO6957xIqSLOQOG5zekP6aRu5fD9XWNbWBeE8GcU,214 +material/templates/.icons/material/bed-empty.svg,sha256=EEU6_VvnbLNl6Eicc1exQz3eZJCJAsOskXN_uYV3VXo,125 +material/templates/.icons/material/bed-king-outline.svg,sha256=JAkjwV4_jiiOJrsqPNAULn3bhCZ8rQM_G28-6Ho8kE0,228 +material/templates/.icons/material/bed-king.svg,sha256=BAB75fb3KaCbIqYNu-xokVDC2kvehrZyVSRAd4cZ8rw,293 +material/templates/.icons/material/bed-outline.svg,sha256=5w9gAFdgu3hyNsRQn60uXXz7IjHgWeTL7AkEoLm3Yis,265 +material/templates/.icons/material/bed-queen-outline.svg,sha256=J5Tqb_a750U_3IDAaA5tpqE6xgcGwCXDUgMmmr6-gCI,217 +material/templates/.icons/material/bed-queen.svg,sha256=JxkN948cEiG-SpfYl4A0WIXF7ePBWQLmF1nzdNVTm_0,205 +material/templates/.icons/material/bed-single-outline.svg,sha256=6FA_3bs3eGVMfn3MRuS7F6iWz8eYphhRSoRWp7SRDTI,218 +material/templates/.icons/material/bed-single.svg,sha256=kC8zIonwxrty8uq852NLHQyXEktqbiXbdwbDdFQMThA,209 +material/templates/.icons/material/bed.svg,sha256=idOIuIbs-5VdRsmxFYw71MEkINshahIs38uK6Xl-uSI,188 +material/templates/.icons/material/bee-flower.svg,sha256=5POznO58rBi6AcPMKx8mWIXh2W_YmBKNQ1bvz6_zLdQ,1047 +material/templates/.icons/material/bee.svg,sha256=lIRUpXL-I3KXvwG_rAyWLCGgwBv35tm1rlrc8_MR0zw,665 +material/templates/.icons/material/beehive-off-outline.svg,sha256=KV_z3CaBQ3NKkJfpCpgbsq3i9uML1y_q-yLz2F9SEH4,809 +material/templates/.icons/material/beehive-outline.svg,sha256=6K7W65PPXcX-XMJSlw-cD_QtMjCmN_mtYg2RlBlB6lc,885 +material/templates/.icons/material/beekeeper.svg,sha256=bztyr_qEcjuWwGwgKrjrW7CFMBFlpdgecWZalPbehVo,486 +material/templates/.icons/material/beer-outline.svg,sha256=lgU4bbvwVoPDsuKZsOvnE4R-EwLnTsCbIwnYOStiAxg,379 +material/templates/.icons/material/beer.svg,sha256=0Yw0vBeO9atdIX3HKdGkS5hQqNDLS7ZhNarU2yOSjSQ,180 +material/templates/.icons/material/bell-alert-outline.svg,sha256=nVqiNzYUxbU64u0Ftqg9urUwFgytZHYfMULzxpKc4j4,315 +material/templates/.icons/material/bell-alert.svg,sha256=WaRRP3POZgwXH7UoUlwfYF3H4xg25p5REM8uOwYzjMw,269 +material/templates/.icons/material/bell-badge-outline.svg,sha256=gZXWaHHwYN-yDulcpUJbi36Ig_VXqBhAbdLyVaAzCnk,329 +material/templates/.icons/material/bell-badge.svg,sha256=qCeyTPzPd1iUdJWES6topVueG1rHu6oz0_NBOEqIut0,357 +material/templates/.icons/material/bell-cancel-outline.svg,sha256=tCa7-O93shTYhnHhRIK4JejmtuuL-9bpyLOLVDeKRm8,566 +material/templates/.icons/material/bell-cancel.svg,sha256=KpYuUQSlEzOBO06H-iMQnmK8chhOgI3qkeElXFviUHs,537 +material/templates/.icons/material/bell-check-outline.svg,sha256=fwfa4DpUfkgWPpp4_LtgckTII-ipHRJO2wdgjCZYfMY,356 +material/templates/.icons/material/bell-check.svg,sha256=bsQDPuCFxjbnKbf0nAv5OenFfFa5xETarlIZ96MgKgc,317 +material/templates/.icons/material/bell-circle-outline.svg,sha256=m9EQ9KGMwGih-X5XgfkTC724DYdUUDRIB-GwcR7QTng,425 +material/templates/.icons/material/bell-circle.svg,sha256=Cu6_hut-u_fsKUGqNhWFohRzPKQmVdtsnTII5pBHhWg,375 +material/templates/.icons/material/bell-cog-outline.svg,sha256=PhaTQdNNFiq1HjrLKs0_4vT_35Ow9AJhKInwSJA_afA,967 +material/templates/.icons/material/bell-cog.svg,sha256=d3uR72DrLbirjL9Ram_2z7AGDKM_4kNcoG8QGb-fF2E,923 +material/templates/.icons/material/bell-minus-outline.svg,sha256=Z4gGU44959M4cHyJX5YhWZXXgXEPUldI_t9Oxh28uMk,332 +material/templates/.icons/material/bell-minus.svg,sha256=v_cY1mTxPbuS2eS-SU2Rk0-AJPCNBCneWJv_eJFEmLQ,312 +material/templates/.icons/material/bell-off-outline.svg,sha256=C4HQxtzQUEE3BlG4v1T22NzsX_Fm85K-2R3F40Tt5ao,400 +material/templates/.icons/material/bell-off.svg,sha256=xQnfonjwGx7LkXAutZgrSHz5fhrnVoo5hYwG58NvFm0,309 +material/templates/.icons/material/bell-outline.svg,sha256=hHoIs1fcYempVsilWTGKsMzT1nblC-LIf_06JN_gAAI,240 +material/templates/.icons/material/bell-plus-outline.svg,sha256=Lvo7OpOxxzT_RgfpyqDNGzHm0rhqRwhMGnPfEjpd05w,348 +material/templates/.icons/material/bell-plus.svg,sha256=1ftf0BW7J6VuEOGYlP_HFBSCfNScRDFl89jiEM9p5X8,343 +material/templates/.icons/material/bell-remove-outline.svg,sha256=qqaMyS9Cx7ZIXfsQaI5ntbbnOdxPQr00aA-UkDoxr78,453 +material/templates/.icons/material/bell-remove.svg,sha256=1LdB_Ml7Q8u2Eq_wI0RVvZH1QkV1X-RwuIeTkCq0YiY,413 +material/templates/.icons/material/bell-ring-outline.svg,sha256=EKWXGwQbf_6pubtrAwEEWpEcQQfYLhyWq2Z7wbFaHZw,396 +material/templates/.icons/material/bell-ring.svg,sha256=WoU1K7lkCuAXdp3io3aq3WNwfFl6c77XM9J6DEVAAHQ,354 +material/templates/.icons/material/bell-sleep-outline.svg,sha256=zR1_p_IVrtEged6S-lIpNxQaVYrGyOQ7y8aCenjagTM,304 +material/templates/.icons/material/bell-sleep.svg,sha256=201fScf9r-wsPAVlS8KoVTNqls6v5dJbvYpapNPYN5s,264 +material/templates/.icons/material/bell.svg,sha256=Cro2XG7sVnny2uqnff_hEhMK2jpp7bWDQE7SYoy0cP4,216 +material/templates/.icons/material/bench-back.svg,sha256=z_vI7lOGOwyL6-sVN4VNrfMNCfj58fg3OawKLwL0fRM,208 +material/templates/.icons/material/bench.svg,sha256=LUbnvXhrnl8fFz3rfH1k1RIu9DMGc6_2nCSlETGvENY,113 +material/templates/.icons/material/beta.svg,sha256=KTnIsZ9wSC9WRDIx1ox2BvX3bEgkA_D38HxIIrpHHvg,612 +material/templates/.icons/material/betamax.svg,sha256=dU7xDgqbNxHjifE_KBhoiTQnw4YkOL8Zx5Alc9OYNP8,283 +material/templates/.icons/material/biathlon.svg,sha256=CTN7C22BjAkxX3JVAfeQwrtZl2pTxuGoXlTcIpp7-ko,613 +material/templates/.icons/material/bicycle-basket.svg,sha256=m0dGn8xnfxVpGRXZ5qW-AO1a9eIf394ssgCHpi_478c,624 +material/templates/.icons/material/bicycle-cargo.svg,sha256=wcTHWh-0w3F-_n-1AZltuCQxnbra39zc8Qnuh1KWJfA,509 +material/templates/.icons/material/bicycle-electric.svg,sha256=HN_dOnk0eobrSnEH3jeV64hBYsNpGTvD6yU-4av6YHI,692 +material/templates/.icons/material/bicycle-penny-farthing.svg,sha256=sgFzKVcbt9Kth305OgsH8Nh8UglS8qW_M8Wpjou_PNo,570 +material/templates/.icons/material/bicycle.svg,sha256=PfbtmW4HroA8dd0oZEJvgnCBoY_dZ0t8J51bjxQodsI,674 +material/templates/.icons/material/bike-fast.svg,sha256=4B4QxmrksHJzWkEA5PwTYju4Zy_ZRxGzkw4Ka3Jfh4Q,840 +material/templates/.icons/material/bike-pedal-clipless.svg,sha256=8FoUXSpJL_J3TK0mC8YsPRqaKFsUnofSCgkjso93eMI,432 +material/templates/.icons/material/bike-pedal-mountain.svg,sha256=dGwedkcgRfh5C9u6iGSt3RXOqVcU9dJWq6hdzSG991g,424 +material/templates/.icons/material/bike-pedal.svg,sha256=JsmUm13DEsNmixG0LSaY3qXIDARek-c1isRKFG00SDA,307 +material/templates/.icons/material/bike.svg,sha256=GFCV1QK8s9h9viuhOptATb3F8EeR883e-lam-Ox4Jjw,618 +material/templates/.icons/material/billboard.svg,sha256=GWOQF9dXjMDoWATUnnIP0OJtEBlfM3-5V6u_zLYc9Vk,261 +material/templates/.icons/material/billiards-rack.svg,sha256=fxX_UkLygt-eSB_nYi2yoXgN2zlkdRfBdHhz3ayWTWI,698 +material/templates/.icons/material/billiards.svg,sha256=y04WCaAUSVNW6ghcZs80utyqSQ6pvAQmBnZNnXozKuI,395 +material/templates/.icons/material/binoculars.svg,sha256=1tvD7d4x21e0bk0jfNE-Mj0UGRamYQj_ylX8KTFqdDw,245 +material/templates/.icons/material/bio.svg,sha256=wp7El0f4puvo9NuC4zo8k8y20seEaIcwzLU9X-SdSjM,287 +material/templates/.icons/material/biohazard.svg,sha256=Zp7O5ExUhAswC7Qa2PvII09E70CTPpfT6EVLkDa39eI,1056 +material/templates/.icons/material/bird.svg,sha256=uFIykqyuCVw0zir4Td7kFXSzJpgSs_uYkNDkco9QcMM,348 +material/templates/.icons/material/bitbucket.svg,sha256=btGfqqRjO-APutdR48_c3vqQY6-jxNGIOoBApY81nG4,269 +material/templates/.icons/material/bitcoin.svg,sha256=fJHXmwuu-erTbly5bBTc5fxgCRJC3Vw_fo48JSPutHs,761 +material/templates/.icons/material/black-mesa.svg,sha256=bC2keMeDm0QOoqfdzSnw2QECifUaIQ6Nm0tDArTZ2Go,250 +material/templates/.icons/material/blender-outline.svg,sha256=vr8CjWCQbD9yZMHewOnIKDJ1B0OPpNYHtBUHcZRvtM4,394 +material/templates/.icons/material/blender-software.svg,sha256=1F3mxGe_FKK3vtyqCDm9ip8K9nNNGZcYZN2x9o7eTNE,1095 +material/templates/.icons/material/blender.svg,sha256=g8nuAhDYPH-4Ca1mvPTpOeuEQQqlLDVTTvoak0J_UJg,343 +material/templates/.icons/material/blinds-horizontal-closed.svg,sha256=w6djwqGpk5AxxjDf3AMCVD4cFNhsydfCM7P75ym_Vkw,263 +material/templates/.icons/material/blinds-horizontal.svg,sha256=abHlh5gzIBndXm8NAL9zaU2_bTgyeLKG7DdVqvyzd04,231 +material/templates/.icons/material/blinds-open.svg,sha256=ZbBCPzvV90C9h60n1rLnF57j1E-sF3if8TLWTSKqmGo,328 +material/templates/.icons/material/blinds-vertical-closed.svg,sha256=y8YjE71E9IkXxr4Hbsh_arsCT8xGBf9A8_PgGDYcWMQ,176 +material/templates/.icons/material/blinds-vertical.svg,sha256=dbNnAkWAP9UtNamewuvEEZU4h8LVncbM2oRBw65-JMg,121 +material/templates/.icons/material/blinds.svg,sha256=PVQy-EHNv5fyq9DyPjgdpCn3URaY73KCi7U3xUaCBKY,329 +material/templates/.icons/material/block-helper.svg,sha256=s8PjLzA8oMs3HlWkcy0yGGcyLH_3h6iSkyMM9dzA4oE,314 +material/templates/.icons/material/blood-bag.svg,sha256=_tL3cAz6nSS2LaU4Tta1xG8PoqC2mAUjAL7RX937ma0,337 +material/templates/.icons/material/bluetooth-audio.svg,sha256=B4Y70tjzCqaFKIz-cwUzjlIT-77ky-pVX3hp2UKnEs4,419 +material/templates/.icons/material/bluetooth-connect.svg,sha256=s-eWdvwA30X1zhIGscyqF4hnHpAQrfd5uKfC_3MB9gE,265 +material/templates/.icons/material/bluetooth-off.svg,sha256=CrNqKpioEtxxN_fPdaPpM3bxyxpArSGFAv_Ucgmbwhk,245 +material/templates/.icons/material/bluetooth-settings.svg,sha256=FLdVE9-kfJBRX7zeQZZ_yPTaOWloEUEZkXKvc2DI44M,286 +material/templates/.icons/material/bluetooth-transfer.svg,sha256=CnzMr65gN2UeD25J0SB_PlMMEY3ye8HFFOOulzTGRTM,295 +material/templates/.icons/material/bluetooth.svg,sha256=gfbpYjMEzKpUKgoE5OLZE8hfvElatPx4c0ZyLxEptnw,235 +material/templates/.icons/material/blur-linear.svg,sha256=x3fxK_kkJ6uO2rXZ4pGz0e11TqflVnEtdHwRuBcxjLc,939 +material/templates/.icons/material/blur-off.svg,sha256=w9de6mjDhhJo7y6-lDFV6-EmZlgaAfb1rTfOc8AAsF0,1522 +material/templates/.icons/material/blur-radial.svg,sha256=oGPnH27gYP29bWN1czp1d06DwzYkg7XpgsuJTMs7040,1007 +material/templates/.icons/material/blur.svg,sha256=tSDohYmp4uxDDwa9my64PEjFgcktqR6Y9UtRZNsDEPI,1726 +material/templates/.icons/material/bolt.svg,sha256=gt4AUSLxe9sFU7EdW7xhRIReqC-KF-29Jsiafv1jfZk,225 +material/templates/.icons/material/bomb-off.svg,sha256=8VTZqCN1nnyVoSr0xxQu2kI_vhaJ8a_oROMq-RKvTvI,519 +material/templates/.icons/material/bomb.svg,sha256=C5a0R8-YFjhR8_bAivRuFoFizqI43rqwsQdehivMIgU,440 +material/templates/.icons/material/bone-off.svg,sha256=tmXmJA9gtVowvBoR5BWj-K6Otc1P2uCJtHYDPIpE7Js,334 +material/templates/.icons/material/bone.svg,sha256=M2m3WASPZ_qM8JycrCy0dQLgktYPOPBjYQosDPXxs3Y,356 +material/templates/.icons/material/book-account-outline.svg,sha256=juGTySf-a3Lb_xmIwFB6OowubwyJ56Uf-aE6DXiCcQk,253 +material/templates/.icons/material/book-account.svg,sha256=GLk6u4KMfbJ-UhgZHWAUlJGF-oXH95YHZ1nb-6ExZNI,241 +material/templates/.icons/material/book-alert-outline.svg,sha256=Zs-0jWaO09PMI6XUlbYd83Phk7QAuaXUxwNzcZlQOyM,217 +material/templates/.icons/material/book-alert.svg,sha256=Jz1jSku9EhDp5c7pKIQcw-b7jwM937z2LGXIj73pFpo,200 +material/templates/.icons/material/book-alphabet.svg,sha256=t6w-R4hQxys2_or6kpAcuAUmbBHUTV7bAjf8f03F5EY,285 +material/templates/.icons/material/book-arrow-down-outline.svg,sha256=wAAIbJLM--hL3op9XJi-I7FtF3WXR3M0TtvIl_W8-Pw,270 +material/templates/.icons/material/book-arrow-down.svg,sha256=W4-hX3oF-2cDoSkOyEmJNNQe5VRvpjkETmQ0kKT-xOY,246 +material/templates/.icons/material/book-arrow-left-outline.svg,sha256=hTEysfVuGi2RU295Bcvu51ke455txPq89-rMOm4DbFE,271 +material/templates/.icons/material/book-arrow-left.svg,sha256=K6_G6Me2f5T9Q1_PH58OweQLKp5eVtVjLC_C7o7F3_Y,247 +material/templates/.icons/material/book-arrow-right-outline.svg,sha256=owDhDbU0MvGHCCvASJPwfCF5Ty-fxDIh-USTWsQOs7U,268 +material/templates/.icons/material/book-arrow-right.svg,sha256=aMOuMOXo2kcSq1lQkwh4AoqTtP4IiRcHWErMAs4KlP0,244 +material/templates/.icons/material/book-arrow-up-outline.svg,sha256=vc4rN4RATp-2o-n1W0SH1aHEUZOG6xGtwK2sy68X5KM,269 +material/templates/.icons/material/book-arrow-up.svg,sha256=XfEkX8dUpvxWF_ylNYIKkVt92RE-RDzjrZn6Mx3l4PI,244 +material/templates/.icons/material/book-cancel-outline.svg,sha256=4SPjoB0mEwlSmfX_CJ-8woJNUjJcxejEedcFhcIh30U,470 +material/templates/.icons/material/book-cancel.svg,sha256=fiKWfX6llN6LPrrSfGQ_W4i51yZJy4hcO7OKwJhT6to,457 +material/templates/.icons/material/book-check-outline.svg,sha256=ZcnNht-hpwJFC1yy8IPpHpF5RwGXSSHms8gE99f6eek,285 +material/templates/.icons/material/book-check.svg,sha256=Zq2jTDQqEH1y-JJ5opjTQBXwRXpCt-x-2Cxqfn52lSs,251 +material/templates/.icons/material/book-clock-outline.svg,sha256=XdWf2yDbT8uPHIM3GNl-P_MVLu9IcoKV_wfNWdJI--s,444 +material/templates/.icons/material/book-clock.svg,sha256=2uM__3PnhJDQonJChLObRP5xq_uETsrDd7EmfhdahR0,331 +material/templates/.icons/material/book-cog-outline.svg,sha256=4J41yq63M8ERQdLoYEjZVqIjzMkwO38kSf3v64q5d-0,696 +material/templates/.icons/material/book-cog.svg,sha256=-Sz-75P0M85M7YKvgJoxcNlwZS4q20uUt8YEhEJYfp8,681 +material/templates/.icons/material/book-cross.svg,sha256=6pRRogBs6uKGG6MfMTo4jB9TF8__aCQDIjn2cDeIKtg,219 +material/templates/.icons/material/book-edit-outline.svg,sha256=mOZtlesWSpDI00sw-PJxgvIvuap0yZC7xAB9crqbPqw,336 +material/templates/.icons/material/book-edit.svg,sha256=Hk6KtiwhwEcNTTIVvcyUXznaF_hVaD-_lI5pPsDOBVQ,330 +material/templates/.icons/material/book-education-outline.svg,sha256=lp0x7sjQroPF39HpvMhvBV2qxydTlc6tbtuZu9dPSpw,266 +material/templates/.icons/material/book-education.svg,sha256=8Q49YELWh7F5tAsNn9GKv8j4FUtRucMIvc3VfSN8P8g,270 +material/templates/.icons/material/book-heart-outline.svg,sha256=6jW9F8Mu9RwHbn4K7r5qykEY3YM5i4eLeZOYSsY5Urk,348 +material/templates/.icons/material/book-heart.svg,sha256=OCtFYXapvQUbhcQADzehlvcdih0jHk9telVtyK8bCLo,328 +material/templates/.icons/material/book-information-variant.svg,sha256=p94U-qwMth5_FqxAU06WRtVmS396Y6kaanWptPLatMM,557 +material/templates/.icons/material/book-lock-open-outline.svg,sha256=8Gh1HUtSQDS8UPWAdgowws4Ub125xDomVUllk7IEwV0,429 +material/templates/.icons/material/book-lock-open.svg,sha256=dnaDtsdZoJZOx0Q2oGX2TP-dcxuFDwJMdUTB21RKhHs,456 +material/templates/.icons/material/book-lock-outline.svg,sha256=5W2SDYZfKDLA-UojqmmGdoawAN5AC5ZSQaX3Insn5Kc,433 +material/templates/.icons/material/book-lock.svg,sha256=t30v-JA0sLSLF_pobCy5J_T-GDIXQ-OEmPEpcM5YBcM,460 +material/templates/.icons/material/book-marker-outline.svg,sha256=XPnfhi7tCScy8XwbJZtFEnEm5YW-xNS1mgvcEDc6tfc,402 +material/templates/.icons/material/book-marker.svg,sha256=eQTAcRRGUMUD58koKfDkCbssrdL5qpmzaPq43BJVdzU,386 +material/templates/.icons/material/book-minus-multiple-outline.svg,sha256=Yy8Io5woTZB6xfpLDgLRSLQK-nGeDNy_iM-OY9SvYfs,284 +material/templates/.icons/material/book-minus-multiple.svg,sha256=0H7LWEPCPYMI6bULErx21AXeCb11t1O4h_-06AwSc-U,271 +material/templates/.icons/material/book-minus-outline.svg,sha256=-5Yfs7wAFpjaNd8-aTg83U0emTe2fisadxCQI7qg_3E,258 +material/templates/.icons/material/book-minus.svg,sha256=ynXHEkHq0Ma-NSX23ko6vBKEmJpQQaYGiSEdKnjVHJs,234 +material/templates/.icons/material/book-multiple-outline.svg,sha256=wsRsa94TFD-QScWGze1fjYs4XLnOeby_dvaPZjoRTKU,216 +material/templates/.icons/material/book-multiple.svg,sha256=O8RhbxoRN-s4Yi_40je-SaBHRN9xVqChGiR5eVfDaaI,200 +material/templates/.icons/material/book-music-outline.svg,sha256=Y0rMuDhkIULTMEZbyl5NTFewJjqe3LZZyEDidWauwjY,291 +material/templates/.icons/material/book-music.svg,sha256=PbNEmwH8wtneCHj7fplbC4k0MX_bZn20dEHSwGDFRi0,286 +material/templates/.icons/material/book-off-outline.svg,sha256=XM3gtr-oi3UBnaA-mL9WbDbf6hZrF_DTVa5u-ap7rwI,302 +material/templates/.icons/material/book-off.svg,sha256=uR57iJApIoFr_2jwfGybQNDHPMc_hTG-EhChTZqHRuY,279 +material/templates/.icons/material/book-open-blank-variant.svg,sha256=DVedwRbINCkLm7vlLuQT-8KRnL4XVqzbKQX1Qn-uaWE,475 +material/templates/.icons/material/book-open-outline.svg,sha256=zRkHWuOtzLqxnnBX7yBePpE8XkJLO5hX_naEQ_JWOZk,235 +material/templates/.icons/material/book-open-page-variant-outline.svg,sha256=inDHZ9sQ5_x3yAHw91A2a9ydJG5dneHSi0SmTm2YNRk,510 +material/templates/.icons/material/book-open-page-variant.svg,sha256=ZhNJGGomA8OiRTrv0OQXsOUz0PmG8NDB-5dKwam_ZME,403 +material/templates/.icons/material/book-open-variant.svg,sha256=yQBeKVKbuOJrynfnP-Ci8GvBW0LZBafQS68qAOE982Y,873 +material/templates/.icons/material/book-open.svg,sha256=QjqGBg4E3p9HWXle9bA_M59Dv5k6TwkXEohJcG1C8os,202 +material/templates/.icons/material/book-outline.svg,sha256=bBtIL4p3wIqHmWBDVg5DRtv20g07CXI25HAzcGZsjAY,186 +material/templates/.icons/material/book-play-outline.svg,sha256=TEvX97Eiwi5GcQyfT8H64llugNxWw-WmyevEuLoo66k,258 +material/templates/.icons/material/book-play.svg,sha256=rYfPpGhiFYBmu5pWRS338SuYeYteOVtKEx7jcqQ7ixU,234 +material/templates/.icons/material/book-plus-multiple-outline.svg,sha256=tZbq2ZBOz-K2Db6UL-UUYP2tNZSX8jGhH48e2JK-hCU,293 +material/templates/.icons/material/book-plus-multiple.svg,sha256=q2TqOIwAQrDK28Fr1k7vInrOs_dQzXfN840arsiPkVw,266 +material/templates/.icons/material/book-plus-outline.svg,sha256=0nYiHZzT1nJO2Sqzm5nTBSnZsEbuTuLPl6jkJ4eoLuI,278 +material/templates/.icons/material/book-plus.svg,sha256=UmYCVoFUWc2CNnjFO3p8kSI4gTfGFPjxYn217L3aRTI,254 +material/templates/.icons/material/book-refresh-outline.svg,sha256=eYPGwkdaBVOPpzcZG-2jhy0PVM1w_K2tc24HMZyqxWw,378 +material/templates/.icons/material/book-refresh.svg,sha256=UgEJX44Yp3_9wiEfBsVqUQkiuccmX_uaO7XcNgCNoh8,365 +material/templates/.icons/material/book-remove-multiple-outline.svg,sha256=vOeT0dnm_c74F5XwIghkf8KUSqdCbjhMmgFT3o5WxAg,379 +material/templates/.icons/material/book-remove-multiple.svg,sha256=zo3FKA2KcB-AMQi2eWZNjl-Vub3j4DLIwdqnYOfwlOk,352 +material/templates/.icons/material/book-remove-outline.svg,sha256=98_ETgJyx44A7ExKUtq__W_RBRYzxdRtWgXUUK92dqs,370 +material/templates/.icons/material/book-remove.svg,sha256=DbRtXHP7AajxUhSaDWAi_gPqZD3Qbwdq--3gVxsE5pQ,348 +material/templates/.icons/material/book-search-outline.svg,sha256=nkOayeGI5iV5xqagqrBgqoWx9G7skff44pfoy-0E448,445 +material/templates/.icons/material/book-search.svg,sha256=GCC0Z-zONI0yq1q4opXB095uMg0Hc0O0Sku9_XJFrSU,457 +material/templates/.icons/material/book-settings-outline.svg,sha256=hraOw6mO8vzNGguravJV2_kKldZlPBzVu_fRmZSPymY,240 +material/templates/.icons/material/book-settings.svg,sha256=TrDTID2F3AS7w4WGwyljXqSGyzdbtmSnW15zjMuij7g,221 +material/templates/.icons/material/book-sync-outline.svg,sha256=Mev1ZVnrSyB_tqsyiG6KVfLehqHAj0EdyAOF8Fy0U2A,495 +material/templates/.icons/material/book-sync.svg,sha256=1eENHbCCq9W4nDBO_z3-XpcZDQ3UODFxsvSa0kJte94,486 +material/templates/.icons/material/book-variant.svg,sha256=JHY_kDmEz0d3qvWC5AC1zd7o1D7MVCCqxDN9Zof7Gv8,172 +material/templates/.icons/material/book.svg,sha256=k5CjCfiTd-_UcLHaHsSeCtgueR_kn3z0yGa2tX2Cd-4,170 +material/templates/.icons/material/bookmark-box-multiple-outline.svg,sha256=H6St07zseNZtASIzCazBNDaeHRFP1Eimx1iHJraV128,230 +material/templates/.icons/material/bookmark-box-multiple.svg,sha256=okOyGYSh3criSsDL7eT97UMC7V7v6EvPwnq1xpkgy7U,212 +material/templates/.icons/material/bookmark-box-outline.svg,sha256=uwwzTKScfuw3IqVULVqnqztJV8ome0jMbyC_2DO3dAg,260 +material/templates/.icons/material/bookmark-box.svg,sha256=eF0_b435pK2fS0LQIwwKfX1gxcld53IIubeSSrXlcgs,180 +material/templates/.icons/material/bookmark-check-outline.svg,sha256=mQSFzR48xKYA1oLZtS79TvRQI-EFxMe1TEtSgWPzn7k,207 +material/templates/.icons/material/bookmark-check.svg,sha256=tZv_cYthVrlRQLR4VqC_4urgKBM5nIUIg2IrjWGCG4c,183 +material/templates/.icons/material/bookmark-minus-outline.svg,sha256=FirMqRgDj4T22TLuLyUB-L5lc8vRtzrM7uy7Sc8cobA,167 +material/templates/.icons/material/bookmark-minus.svg,sha256=R2ea-rmPqAy6f9lAe0FlayWJdpO-ZGhGMpF81-6lYHE,140 +material/templates/.icons/material/bookmark-multiple-outline.svg,sha256=xGJ77JjF-ULakGPpTuaE2veCWcywLTeduRmZkyqH5Bg,203 +material/templates/.icons/material/bookmark-multiple.svg,sha256=JUFNpwmJ20jOrU-7iWEu8nB-u63lsqCndsrnTHfa9IE,178 +material/templates/.icons/material/bookmark-music-outline.svg,sha256=hO9U6PxYvwd53U_SfBtaksmx2DI2jgOnHpyi6a6wZgU,219 +material/templates/.icons/material/bookmark-music.svg,sha256=FzhwkplqCumAyaGY-ViwgR4llSGu05M8M_CuRAuuwdY,213 +material/templates/.icons/material/bookmark-off-outline.svg,sha256=uLFJPtJgre97uwoIJBkaDehe6yGrnM3V_VoAZFQDTxo,241 +material/templates/.icons/material/bookmark-off.svg,sha256=JkSkACNf5z56UHgYobJDQsAZbbgAlol5FKHxJgkTAos,202 +material/templates/.icons/material/bookmark-outline.svg,sha256=fmRPxeIVLlNBKNc_szv_6Fn2m7FzYAS_e08xabv35ZM,149 +material/templates/.icons/material/bookmark-plus-outline.svg,sha256=eRdi0i-icRsnq80FTh092q_vw0IFVLhSuHCNdnqm9R8,187 +material/templates/.icons/material/bookmark-plus.svg,sha256=1NuTxnzISbgQ22rd9ej5KB9axnX0mcfAAfkVGvTYzz0,161 +material/templates/.icons/material/bookmark-remove-outline.svg,sha256=11XAd35GmkIuaMZyj1NNPEPDoosru9v-fdDGKm85tO8,279 +material/templates/.icons/material/bookmark-remove.svg,sha256=e-JbLXH3261SJyDHGCh3seQXtZRRssVS_6Vv0EZJWFw,255 +material/templates/.icons/material/bookmark.svg,sha256=u3NNZK2c-SZx4-vH7CbyT_zFFp-C6f58mn5FMyXHqv8,127 +material/templates/.icons/material/bookshelf.svg,sha256=8jDXNlgb6kApqB01x0hLiOTM8rVljX0jri2OG1oHG8Q,142 +material/templates/.icons/material/boom-gate-alert-outline.svg,sha256=Gr8iG5SefxLMzyqd9VNyWzvC11KdOVH9KbesGc_Kzqc,450 +material/templates/.icons/material/boom-gate-alert.svg,sha256=USfOsQq3JkQXXDiAuKwRixuTMerWbKR5tMtdbAH5U4U,417 +material/templates/.icons/material/boom-gate-arrow-down-outline.svg,sha256=DbFvHkGtm3oUKAJoxahuJAnWiWEx0bXcp3dKsqT8hbo,509 +material/templates/.icons/material/boom-gate-arrow-down.svg,sha256=USDpPurBFs_FZ77MvgoLIKhv995pNgOfvws9MIw94A0,461 +material/templates/.icons/material/boom-gate-arrow-up-outline.svg,sha256=V4x3ASdCVmZ8AZS71eJs-Zr0dWjOKFva2clXbvSyOt0,494 +material/templates/.icons/material/boom-gate-arrow-up.svg,sha256=Yo0AvMctbsqGVOjjf6cK17plYETWjjgAthnOEnzQ5Rc,462 +material/templates/.icons/material/boom-gate-outline.svg,sha256=2mweJ_XgTs32Qj-xBdKbCiGlUz1G5HAUb-MdUEyxBPg,407 +material/templates/.icons/material/boom-gate-up-outline.svg,sha256=dd1rc8-C2pWLrsEZ7muKi9kJepDugoa1edlpc_-BHLo,419 +material/templates/.icons/material/boom-gate-up.svg,sha256=TNkwmGvg-koTr21Pfm8hvoHCyVOkr14_8BgyZ6igarA,386 +material/templates/.icons/material/boom-gate.svg,sha256=dmOYZEGXjm5wqZJZcSQbj3z9UA6ZLw3gUIXCZrVJ9ks,370 +material/templates/.icons/material/boombox.svg,sha256=4FjM6NoAdsbdVGuSGg56WV6qqseTCn6aBeXWtYTlPYc,560 +material/templates/.icons/material/boomerang.svg,sha256=CsRKdCqTxaxzTaxRl_dG_cmLmLHP41z0QpDjUh6LA_Y,205 +material/templates/.icons/material/bootstrap.svg,sha256=TctSL89utSlGQukrw0H7zIP6v2nkP7vIjwZORv0v2pw,477 +material/templates/.icons/material/border-all-variant.svg,sha256=Da8TQjO-tB2BE--EVNjiwwErXbX5JB52wyQdj4fYX8M,108 +material/templates/.icons/material/border-all.svg,sha256=mTXZpqteNi5aZ3ueHGvJCn9GOG5hLSnoESGl7dtXWGE,143 +material/templates/.icons/material/border-bottom-variant.svg,sha256=fjVtSgkbrEdwfS-VRfh4KxF6B0EzVfDgkfEJzqzTSdo,214 +material/templates/.icons/material/border-bottom.svg,sha256=CaGN2XH6f4UppYUVZwhn1BV9TFeBH1TBmI7vS-Cuy0I,275 +material/templates/.icons/material/border-color.svg,sha256=NXyvSL5tIKoeXicoRekqsd4L-eB9Yr8xS4NvxNI3Lfw,196 +material/templates/.icons/material/border-horizontal.svg,sha256=0QYs2Qfz2bNU0J1zzGsMaCxTMvwMbltTFfy1CW_PWnw,281 +material/templates/.icons/material/border-inside.svg,sha256=oUGfFABSBWrnLvxqJtr52i3ilP47jwYCv9Moc0qRVsM,252 +material/templates/.icons/material/border-left-variant.svg,sha256=y1Q1cyK92JIGByWdbp2QHDsMal81BWt0XJWLCxZ8HNM,225 +material/templates/.icons/material/border-left.svg,sha256=k1zCn72iCpWZA7GCsHJlotRcAyHz-1IJTS9EDO5dopo,284 +material/templates/.icons/material/border-none-variant.svg,sha256=Efhkjbn5aAFmURmMwUOaN7SMPhAvicTxRoR2WoF---4,264 +material/templates/.icons/material/border-none.svg,sha256=CMBRSyTiC9HRGi3WqHvGad8BsGDJe-M-U1TTDdWjY8M,325 +material/templates/.icons/material/border-outside.svg,sha256=WlUgLGNhRsWdZO7nPHMPQ_cEbFmKVjZicbJTHcR-UKg,161 +material/templates/.icons/material/border-radius.svg,sha256=WyxvAWiaXMvWj-u05L3I8PMCD1y-3aru_dNLcl4FPI0,282 +material/templates/.icons/material/border-right-variant.svg,sha256=LYT_BzDREgWNQYkUatTIBPKzZj58kPWIvgx8PvUFLDY,218 +material/templates/.icons/material/border-right.svg,sha256=PPgRkEe2-Ull5A9cjljXkSpJzVshbXuBr1W4dcuXrY8,280 +material/templates/.icons/material/border-style.svg,sha256=4qKoUWltuzxXVz6lW9GieCcRyQ3rYIYj2vnWVHCPdFY,180 +material/templates/.icons/material/border-top-variant.svg,sha256=r-0rihcEFKCszeN2cvFZFCRlOVYqvvfMEEvlyIxNIjM,224 +material/templates/.icons/material/border-top.svg,sha256=L8kvmjwuHilbDJ_dQzbmA7z5MF4QmC8sTL7VATotxD4,287 +material/templates/.icons/material/border-vertical.svg,sha256=VHSePBh3tsSOX3Wfb1vgFjWCOm-BDA3fM6r_myy67bY,280 +material/templates/.icons/material/bottle-soda-classic-outline.svg,sha256=D7RIOKqG82ePkyovRmM9vX-Zqn9thfPMRR55P3Opi3s,382 +material/templates/.icons/material/bottle-soda-classic.svg,sha256=Tt9t-qg033T7Ie-5rObDjiKeqVap9vlOg16k9HjRDUY,226 +material/templates/.icons/material/bottle-soda-outline.svg,sha256=ead2t8AlBdDYYT8spe2cnAXV2OEA-C_PY2s3r3BRtjE,277 +material/templates/.icons/material/bottle-soda.svg,sha256=rLjiV8hOoC7YT_P6SzsUwLpm2DeLVxXubX591HmGZeY,205 +material/templates/.icons/material/bottle-tonic-outline.svg,sha256=DrZTkjBBZQunah2ZT9bOHRZR3PWkIuR4DXRBkMLb_Vs,214 +material/templates/.icons/material/bottle-tonic-plus-outline.svg,sha256=5SyVXbjvCOHTHnbajEZ-EbDV-4MGt_-MUoYyo5xJL_g,248 +material/templates/.icons/material/bottle-tonic-plus.svg,sha256=yWA0_ztXkLXtZdphI3vtceYG7Lo30cFHG8owfhVOcGU,195 +material/templates/.icons/material/bottle-tonic-skull-outline.svg,sha256=6E99AR16EvdB8vfe_kCnr6hSCRqd9NalaeqM2r4oS8w,479 +material/templates/.icons/material/bottle-tonic-skull.svg,sha256=LShPTtJ4CaHLM7cM7zNCPKES-FQ6H_9mRAjbxgd-FKo,428 +material/templates/.icons/material/bottle-tonic.svg,sha256=2IsRaQsysBKOnJ_upwG7-600p3lfzlrWiVPGwDtgtPw,161 +material/templates/.icons/material/bottle-wine-outline.svg,sha256=wIKkS6GXbKUioIcx7zuiPVv_YQKb8stH2hdBaMKGiHc,468 +material/templates/.icons/material/bottle-wine.svg,sha256=zcuXHrGCxhfaTwtUt8TXoxjoQqW5OjhE71YsSuBZWRU,192 +material/templates/.icons/material/bow-arrow.svg,sha256=WiAczTRYqbKXI1nI1aMqmjoAGvWf16jzlWVdeqwjnjA,410 +material/templates/.icons/material/bow-tie.svg,sha256=dqkSbaxw_RVIGhFwTsw06JWXIkgy1WlDlHBOox-WshQ,129 +material/templates/.icons/material/bowl-mix-outline.svg,sha256=IUhoUDp3cIGAZYMB3U8O6Hl12dNyTL6mzp5GHgIx54k,217 +material/templates/.icons/material/bowl-mix.svg,sha256=2JzbztW-OEvkpwhfJg7ji6rZHS90ECw6ZcDYItMGfNk,166 +material/templates/.icons/material/bowl-outline.svg,sha256=Fc7rimsM6Do-CcO_vIViZbXyfZE6TVvPHy08K7BZez0,172 +material/templates/.icons/material/bowl.svg,sha256=Zh0abM3MasbwmIz0PKSm996ASa3GFgo6Qz-Gp0E2SO4,128 +material/templates/.icons/material/bowling.svg,sha256=w_R3WPllMb2S30KfTnlV5nyY3esTn5Fu4Ln224wuEEE,414 +material/templates/.icons/material/box-cutter-off.svg,sha256=FobKvfth5cNnzjwjnf6A0fZrfZKNyWXuruolBHE99yw,418 +material/templates/.icons/material/box-cutter.svg,sha256=Dy0v1tK794eN6LqYmeuTe9cAWByi8Ci-JruG8UM2qHU,334 +material/templates/.icons/material/box-shadow.svg,sha256=0dKLobiDSQ6-8yWDihtK2SwNhnKZT0kaUAZy08QiRC0,224 +material/templates/.icons/material/box.svg,sha256=bdWxIs4u0eAy5f-SMpGVkNgxbAe6l4N-KrO9RPD8lCw,815 +material/templates/.icons/material/boxing-glove.svg,sha256=T_-_ywU-VEflXKWYtwfbnsd78X80caKZ0scti1kQT8Y,218 +material/templates/.icons/material/braille.svg,sha256=PS5oc2fxDIzxPudxyRm5OAjQuUzIGFA5UQKipHAZwLo,619 +material/templates/.icons/material/brain.svg,sha256=_6kHEQL4FKvbslWxRRr4Fqye6s8Pxs8IUNv_ayj2im8,1640 +material/templates/.icons/material/bread-slice-outline.svg,sha256=BozQ8_usgk_f6GWmRqvDi0yoPWstNUt2kBevFJM21ms,289 +material/templates/.icons/material/bread-slice.svg,sha256=PBt0tRlNCbvui0jYur7PsStck5TMe9rJLuRWMzARwVs,190 +material/templates/.icons/material/bridge.svg,sha256=8MaEESd27mB7pbvCM3unaJk6j8di78idhEXDAGTlJQM,358 +material/templates/.icons/material/briefcase-account-outline.svg,sha256=-sux8g7grAdXtPaCc63BzTzG75s3-baHyFAGWQym_cg,539 +material/templates/.icons/material/briefcase-account.svg,sha256=YpLEnx21Xs-n8JbmG7aYKUnqiZU0i4LCM-weGiD6WDg,348 +material/templates/.icons/material/briefcase-arrow-left-right-outline.svg,sha256=amhbaDmTaaG-aVxQSO-WxfXUIAHRkkD-g0m_p8VvhbE,308 +material/templates/.icons/material/briefcase-arrow-left-right.svg,sha256=ky-ZA2HA3kJ5B_vA5PdYJPpJ0vLPtLozWLj8_pef4y8,303 +material/templates/.icons/material/briefcase-arrow-up-down-outline.svg,sha256=7pDT1OKIn_lUyWyf9JNVMwbuWHr4TjltTXqNyqWrPB0,309 +material/templates/.icons/material/briefcase-arrow-up-down.svg,sha256=DAi5WQr9n4oe6BKFWLTDndvYrecMgTfp7E-0TMA7wCQ,304 +material/templates/.icons/material/briefcase-check-outline.svg,sha256=At7e2J00skwpfx5R1WHz0nQweoSwY4f3nVZwrxbdPhA,445 +material/templates/.icons/material/briefcase-check.svg,sha256=B4gDsU8swc07J6eJUpku-Eu3qTE9acYhyslKimudMKs,261 +material/templates/.icons/material/briefcase-clock-outline.svg,sha256=_0eXNV_X8IdFw8H_z5WEPQlpmzzX2Wtppy9YzJbZatU,541 +material/templates/.icons/material/briefcase-clock.svg,sha256=FTrNRC193SaAR4Okdm2dHUtiEs8tpOkT8PS55HCq-xM,285 +material/templates/.icons/material/briefcase-download-outline.svg,sha256=z-bzOcO64OqtwxK7fQwmLnm0GoCFhJW1aF47dQ5YFbE,241 +material/templates/.icons/material/briefcase-download.svg,sha256=YoKXPAswy-kXSNYaAdMV3XO1CDmCIu8WLnur7AGUTfY,229 +material/templates/.icons/material/briefcase-edit-outline.svg,sha256=n0Y7iCpUyh1vct2Dwy0Xtaoqm8lQK7N6pi4PvdKQtI4,347 +material/templates/.icons/material/briefcase-edit.svg,sha256=Z-AexIxloK9vL06gVRNaVJL5Z6ut9vTZ2Icz9lS84GU,349 +material/templates/.icons/material/briefcase-eye-outline.svg,sha256=gX8eJ7tFYNuo_9gpK7DmI34GURpRpQklRoyD6o3MvZM,540 +material/templates/.icons/material/briefcase-eye.svg,sha256=e8OxP8jENzyghhag_8qucQcTGdIb2aMCnyPgvhBuVpY,468 +material/templates/.icons/material/briefcase-minus-outline.svg,sha256=W7X4GjJsvhxdbYBYjL0lYpjS0V_komk3fr0vI_gf-xc,256 +material/templates/.icons/material/briefcase-minus.svg,sha256=7Es1ynLqT1m4hfnpA0IDrUjtGmZ-BVLoYiwLEjGvTo4,261 +material/templates/.icons/material/briefcase-off-outline.svg,sha256=x787cNJJ-G0gLniakc42xOZriCfWczs8Hrlwis_71mo,420 +material/templates/.icons/material/briefcase-off.svg,sha256=vP3_7Fs5DatS2ylWVwRrqRYYYF67iHR4C0Aswo6ZSns,260 +material/templates/.icons/material/briefcase-outline.svg,sha256=tmrs2p83UrwzUmPv2aOtQ-pnL3bkpKLyyaxcKoO-Pcw,378 +material/templates/.icons/material/briefcase-plus-outline.svg,sha256=XAFwKD0bHcUc1s0OKsFvDDxvOCdbjj9V3opmKmViqw4,276 +material/templates/.icons/material/briefcase-plus.svg,sha256=lE64761C8xE3_ppSYSZuxVKJX7D4qTj-hXNBogqqd98,281 +material/templates/.icons/material/briefcase-remove-outline.svg,sha256=Unz6uLNs5EswrI6vpkEowZnBsbfRmCMqxYG5ZNQ8EpI,368 +material/templates/.icons/material/briefcase-remove.svg,sha256=wt5vIX6eMPABv0Wvsomex1no4U45bcYAaxlwRWR40Cc,375 +material/templates/.icons/material/briefcase-search-outline.svg,sha256=F8O8RruiydPOn3k34deNe756EdHly-2yOJO-VChQYDI,476 +material/templates/.icons/material/briefcase-search.svg,sha256=Cacd9Kt8wLn8pVcc13hi4mcsIDS1O6CpT_Tq0C736-Q,492 +material/templates/.icons/material/briefcase-upload-outline.svg,sha256=0smUCa4fXjcEBnqvGgnDszSMLDeNEhHqJd-dc5peCQI,242 +material/templates/.icons/material/briefcase-upload.svg,sha256=RDlEiN62oav3o5C6I3Os_0MRn8xTZMU_OaVcLKgOALg,227 +material/templates/.icons/material/briefcase-variant-off-outline.svg,sha256=D-pOS6aSRfvW0SapMKymsCrquoE8whDQn2ExvN9rl1w,397 +material/templates/.icons/material/briefcase-variant-off.svg,sha256=HTrtnc5UleRVeH6mfXWi4LtQX3NPrBnAxvYcV7caud8,326 +material/templates/.icons/material/briefcase-variant-outline.svg,sha256=I2upeyE73aXzRFeEh3fHgNvpDOyNQ7CVS0t3cyYhdms,299 +material/templates/.icons/material/briefcase-variant.svg,sha256=eWk1oAmpHJLtgItyaYYKsZJOyOBiuH-lELNdfCE07Is,256 +material/templates/.icons/material/briefcase.svg,sha256=BzISLvgCv5tJ97ClSB4HoN6g2HcZxRaPD9lUmJdWAGU,202 +material/templates/.icons/material/brightness-1.svg,sha256=RLdxASL_E0G_itDPTSh2vBfeDOQQ071BVVwYDv7mlAk,154 +material/templates/.icons/material/brightness-2.svg,sha256=VkP_W4UungnaaNDPnYwcvih23y9fxs4mKF_vQmb0B3M,200 +material/templates/.icons/material/brightness-3.svg,sha256=IrXFhoWlRuQYR7wxpGIB9OeMx1gGYUutkVMcCDE139Q,205 +material/templates/.icons/material/brightness-4.svg,sha256=NdAo-o3UFMF0BvSdYPBvi6nPwoPxo-GdjWcukOKqq-8,313 +material/templates/.icons/material/brightness-5.svg,sha256=W0wBlWu7A5R28lGKxAbAn1OpcZH2g8xGkKaUbkG3l2M,244 +material/templates/.icons/material/brightness-6.svg,sha256=01pfGNNZXrYXWkFsqkP1sj6DBXs7JfiViXUdCuxBvlE,218 +material/templates/.icons/material/brightness-7.svg,sha256=WqTbpJTkIO5ewps9u08slWSitu-2LlUi2GBOFrQhij0,304 +material/templates/.icons/material/brightness-auto.svg,sha256=EkFSzxZdTsRJrMeslpLry1XzWlAo7sHbJIp328ezIPo,260 +material/templates/.icons/material/brightness-percent.svg,sha256=6Efl4we0DPIbd1S0cB-L9TRCmnpsAy1iA0XOdDooYWY,452 +material/templates/.icons/material/broadcast-off.svg,sha256=hoOJjMU1xt6zKfUTR27k_Ul8V1HcuMoUibQVZmhr8JA,568 +material/templates/.icons/material/broadcast.svg,sha256=13eJav4QebjGt70cjttSUvb5yypPtt5HKsrOP-MY_Nc,422 +material/templates/.icons/material/broom.svg,sha256=QiiTZd24Q_fmacGa63nTHOP3jnwXK0iaRpekCJMrcZ4,284 +material/templates/.icons/material/brush-off.svg,sha256=9o9yaXUfnh6F7TcHMiZWc9Tng8KKeprPUsB2paUEpcI,306 +material/templates/.icons/material/brush-outline.svg,sha256=LecPfyqK9NoT2h9qqDxwjTNudYWXENQaNf4lzhMDELQ,378 +material/templates/.icons/material/brush-variant.svg,sha256=f1FeEjVNDjxNWtoTJ-ek5FslkvyKSWEahyIy4FN-RHM,233 +material/templates/.icons/material/brush.svg,sha256=yHufcWU0xZj8y5oSM3LFW5vuZ02IBkRJ8UuUWIto7Hs,259 +material/templates/.icons/material/bucket-outline.svg,sha256=30KNIlVUfz4srt7-VlOss_uqv3F3z0IfmigBZw5apd0,144 +material/templates/.icons/material/bucket.svg,sha256=eFRB0D5PFk9-8gib7WSlkySFtXlYoQ62oARNBBoqHRA,111 +material/templates/.icons/material/buffet.svg,sha256=9m2CJxIeCVpqQv3Fpr8Uu0b4GWeRsYHOTL_jPMi5X5U,318 +material/templates/.icons/material/bug-check-outline.svg,sha256=H2bjBKYrTVABZELS-dR4Bfp0a96yd-CbbceRrAM5P2I,575 +material/templates/.icons/material/bug-check.svg,sha256=HZ_E-zzeO6VkZjJZL7JWZhaEFxkgWbhiVUr8RUNiQA4,461 +material/templates/.icons/material/bug-outline.svg,sha256=aI-kv-1RvJruSnK3i5UCGcYfjY0iDlDud9S-zVDCeUs,499 +material/templates/.icons/material/bug-pause-outline.svg,sha256=RE_PPaWAvO6SDfhyK_707amCzs20NaVcs6KqLiC6kxs,540 +material/templates/.icons/material/bug-pause.svg,sha256=go3rL9zw9bHecN-WMuGH97D64RjwT2KGOJ8TbePahJY,421 +material/templates/.icons/material/bug-play-outline.svg,sha256=vBjHhxBwXm2jdClj0Hl8JBTNjlY2HTIqHzhGB7q3G_g,528 +material/templates/.icons/material/bug-play.svg,sha256=yYOE-UFbJKaHev9-FHgA7Jtk_NPFrxXJ_LKJ4jLbA9Q,409 +material/templates/.icons/material/bug-stop-outline.svg,sha256=MRBS7Yvy6wsLiDU8mOe98S1f4yTfd1iytg6qOOo4PR0,528 +material/templates/.icons/material/bug-stop.svg,sha256=gMh71TXoeI8wd0bpJ7KtK_ekfUehX6vERFDMsYqLBwY,409 +material/templates/.icons/material/bug.svg,sha256=t2MCOQ9aCo4X2ZQ55OJ6PtR81Ehv3tXrMx7MrTIjnTI,424 +material/templates/.icons/material/bugle.svg,sha256=PvNMzXivYhEiVyXdvLo26J0IYVD0gFeWs_AFrmnOf9k,317 +material/templates/.icons/material/bulkhead-light.svg,sha256=6-byyuYo-epUv2qdfmNpPY7F96ysvND8wLKJ6QbXPB0,562 +material/templates/.icons/material/bulldozer.svg,sha256=1_FjwxdwcJojGsS8jYIEO3rCy5KXEZZG0jP7soP87Eo,356 +material/templates/.icons/material/bullet.svg,sha256=5nW0xgr8oN-yW-fGTbS6WT0acvzZ51sclOTjz2RRDmU,159 +material/templates/.icons/material/bulletin-board.svg,sha256=JNaC3ljPrSZeZ90cWrFftA7rH3vcZmyPE3czMdPfQ2Y,242 +material/templates/.icons/material/bullhorn-outline.svg,sha256=T6p7j8uygk6J2ksPrpVzSuaUceeNJeUFEMGimibJ0QE,249 +material/templates/.icons/material/bullhorn-variant-outline.svg,sha256=PmveUImmYCpbpMYQsG0TU4Hj9sqcHkTdUWR9rGQ78Yw,239 +material/templates/.icons/material/bullhorn-variant.svg,sha256=YC2ps8emAKtWertXUor_00zACKlcVjoSji42w8jh3dQ,218 +material/templates/.icons/material/bullhorn.svg,sha256=Er2xjYktffSerr4x1uDuslG4UQ8KaX0iX52ghpB9zHw,218 +material/templates/.icons/material/bullseye-arrow.svg,sha256=adGukqGLrdmaBYUfjPNtGRHEJbONSwg_4xkFD13mZyA,509 +material/templates/.icons/material/bullseye.svg,sha256=71YLMYLeDABxdejj6rH4VEmBcMO9YZjJdviUItiihKw,394 +material/templates/.icons/material/bulma.svg,sha256=EvBRr_YjEyjw4g5rw2ZFjxrgoKmW7jTPzRy1xi_fgT8,138 +material/templates/.icons/material/bunk-bed-outline.svg,sha256=PDcB0FksBukWRlHz9dH1NdKwq3O0DpwyeRCp8E-oRaE,456 +material/templates/.icons/material/bunk-bed.svg,sha256=gSxBLx8dIjwVi4YtBPNW1sDXWDMn-833oco-D7wx_cg,347 +material/templates/.icons/material/bus-alert.svg,sha256=E8C1sA9p8Gkkty5fqc4DMxzw_m0C2YX2Y_j_qA3t9CY,744 +material/templates/.icons/material/bus-articulated-end.svg,sha256=Fmjc2MmhbjVc5fnR1Xromrqhx89Ee9lrAGsshY-soog,331 +material/templates/.icons/material/bus-articulated-front.svg,sha256=ymMv9HX-eM9z8O-mlrWyzYOtA379Jzvlp6GZNnsbmxs,462 +material/templates/.icons/material/bus-clock.svg,sha256=t_B4rrP7wsmujJu6NU7EqhSdKsc6PhpMNDsJgquYyak,1121 +material/templates/.icons/material/bus-double-decker.svg,sha256=UB4y6pFEglQQCgKdlVdeMWG7NfsQTeNRIc7Lfx8iRAo,523 +material/templates/.icons/material/bus-electric.svg,sha256=1Tm3wyEgZAE1dPVgRYooZcAfrVHjKcUoom5TZifQdHA,397 +material/templates/.icons/material/bus-marker.svg,sha256=iWFtwbxI5pnR9hbKePL1OjW4Yrgewda9ykSp1bmMdiU,486 +material/templates/.icons/material/bus-multiple.svg,sha256=4MpVOUDqwCLzq1daJG3nAxGvomIpK_rtuFq-ASOa3-M,558 +material/templates/.icons/material/bus-school.svg,sha256=6kNnUdRWL6i3A30VX__nnx0NRj7_X13Ljx90bBD6ciQ,447 +material/templates/.icons/material/bus-side.svg,sha256=wkbsbFw-9xBDfFKG_O6E5ueWmaZDWubukXi7bnhfEls,447 +material/templates/.icons/material/bus-sign.svg,sha256=4XId78fJSLVBsKLAwFi2-b3v8LlesA7X4cB_KNrqnL8,473 +material/templates/.icons/material/bus-stop-covered.svg,sha256=EaeeviFoIPHGapAgCfF2iB3LoSTTPXkS7-h5hccocNo,333 +material/templates/.icons/material/bus-stop-uncovered.svg,sha256=DoG_MZ2ByKmfMzizyjCz2xLGM2micFuOgDUBu3yb7X0,314 +material/templates/.icons/material/bus-stop.svg,sha256=C9LsFAi1diYv0TZyktXxPw2QSRzhEpeLGvcD_W-OU8s,496 +material/templates/.icons/material/bus-wrench.svg,sha256=SCHOCrwoGyWQqogUn-FKznkYalPaowZ56d_BGYKu4aE,508 +material/templates/.icons/material/bus.svg,sha256=R1qvV9xz9UQ5WnGbTELlVwK1YnkPsvt6GZJQkPxs_mE,433 +material/templates/.icons/material/butterfly-outline.svg,sha256=el8F6bae_mRpYqnr6mpXtbIaEgU50elbJtIq5wqlY78,534 +material/templates/.icons/material/butterfly.svg,sha256=CnHNAAutR5B-fQdyTpLtxRGC7jIUcVB-ES4NmhHyF74,407 +material/templates/.icons/material/button-cursor.svg,sha256=rRNNJTR2H0So1hJuqmlXIwjEvux9GHMveSJAn5F_FJw,383 +material/templates/.icons/material/button-pointer.svg,sha256=xdBPoyGNILh9s0J91NtpO_81J7j6ZrX0URbWWNR8F38,317 +material/templates/.icons/material/cabin-a-frame.svg,sha256=_XcSNZLhCt-wQF_4FhwGlHaBfGEtPkmMjq6s5CY2828,190 +material/templates/.icons/material/cable-data.svg,sha256=qGo6GftvD9y0da2dJKbR4CDQVrBODjSliRXUaT2QOw4,673 +material/templates/.icons/material/cached.svg,sha256=JSwDVuScyH30rLwL9Ibm-7-2QxokBaP38dS0MwrUtTo,265 +material/templates/.icons/material/cactus.svg,sha256=2IXt9tnkfzaHz_7ujP-VE86gYGFbT0H9soBOEa0gnrg,257 +material/templates/.icons/material/cake-layered.svg,sha256=-KJU_uaYGsf0CO74dJv729bNyLsbZCoJiXgtik2I-s4,280 +material/templates/.icons/material/cake-variant-outline.svg,sha256=AKE_ETByYrxMxkI0Quw3TY47iYy8CJBKRTV3tCrvIMk,531 +material/templates/.icons/material/cake-variant.svg,sha256=15Y1tiFxb9ek3FAL2tiG053diFnMLowxvtHicQt0hL4,541 +material/templates/.icons/material/cake.svg,sha256=NfMT92vb39_MgCzvNFfh7gZ92m25fLv5o1DwTrPjjwU,448 +material/templates/.icons/material/calculator-variant-outline.svg,sha256=GTPqMQ9nJjbglSrIbfjK_iuRky_uEcDbJ8XUNUFYl0g,366 +material/templates/.icons/material/calculator-variant.svg,sha256=A-nZawfQX4djNsivYtMDAD0teHdqu96Cde7ClJf3nDY,356 +material/templates/.icons/material/calculator.svg,sha256=-AJTsP9VlpMmvtZosR2ZIYip3UXMjY8Y-iY2E9wQCbc,287 +material/templates/.icons/material/calendar-account-outline.svg,sha256=2R_xey6IeAtV_n3DvgJIHxtYSJXRH9mE3Upbe4bXiek,335 +material/templates/.icons/material/calendar-account.svg,sha256=8bJwnMQyaQceUVYA-kkbBhI6KT5xo06S4W1qI1QuRsU,314 +material/templates/.icons/material/calendar-alert-outline.svg,sha256=u_IU55Do2-JufGGr5kwlIXVAThgkJSK2fdK3_C6OXP0,229 +material/templates/.icons/material/calendar-alert.svg,sha256=QSy1dcX6c5JFx0sXaE5y5i57MrlYHIMo_AoOJavKZqE,215 +material/templates/.icons/material/calendar-arrow-left.svg,sha256=ldUI9bmxEDquznxCnJmsutVcsbcoixWNYI6_NP7zQzs,217 +material/templates/.icons/material/calendar-arrow-right.svg,sha256=d3BstjlRQ9YdYxIseahMMqxkUeQHo6e1ZYUuavk8q0Q,218 +material/templates/.icons/material/calendar-badge-outline.svg,sha256=-dWoAg9l7MtIpOuW7M_55y7Q5efMhlL2882367IZnXM,341 +material/templates/.icons/material/calendar-badge.svg,sha256=NF-ZTWBtfpUABhRev-RJwu0Ai8Qwo-u5KHQ2PnkSFsk,328 +material/templates/.icons/material/calendar-blank-multiple.svg,sha256=VmEPF_9anh0W4r73Zg7xihf777GM4uZj_HcoFaO_RhE,215 +material/templates/.icons/material/calendar-blank-outline.svg,sha256=umS7QoTuyUl4TECXXTD2_WrXktVZWrlWPhnMbMR5Jsk,200 +material/templates/.icons/material/calendar-blank.svg,sha256=Xlz8y_7U3gpRcaeKWloj-EKksCsREB96-ly-JxgMfoU,181 +material/templates/.icons/material/calendar-check-outline.svg,sha256=IoL4f0L-1JHNq1vPzitn7f7QbLX7wUXX7UQCwklQfjg,272 +material/templates/.icons/material/calendar-check.svg,sha256=F_PbWnTUaw7EaAuyK5ufGt3YpOxS4EIwKbwdbxX-3LM,250 +material/templates/.icons/material/calendar-clock-outline.svg,sha256=mXvLsbE5fkzeWGxqkMr_E3YmYydqZxogO2BCUta0PzM,462 +material/templates/.icons/material/calendar-clock.svg,sha256=LwPIO06WqV66uwL1CKArr2Za5pKoLgeCc57aOvb8PZI,446 +material/templates/.icons/material/calendar-collapse-horizontal-outline.svg,sha256=Hp2lbGXEGKT0PSR4suUnPngNxJwHiDfV63c0dGJPnQ4,250 +material/templates/.icons/material/calendar-collapse-horizontal.svg,sha256=zqs7q6YQqwuRpUFy3FsFArNBJ-JcPuX0RAP6O-rTkOw,233 +material/templates/.icons/material/calendar-cursor-outline.svg,sha256=U_GQ-nbygo35pDpgKRPcFLgTzavX8KQHdO_1VJFfE0c,398 +material/templates/.icons/material/calendar-cursor.svg,sha256=caS4jayNM-opVRuOpO6zwAnBKp6qi9VOy2Kvu1dW1QE,430 +material/templates/.icons/material/calendar-edit-outline.svg,sha256=tcezKw83yVcuhEHhkn2j1CKAPMR_bPeYi6SB4ObuwDI,288 +material/templates/.icons/material/calendar-edit.svg,sha256=u13XFubmUcImMJ7KEebWs6K-Cfn4nhNXB9Mw8Eqghdw,283 +material/templates/.icons/material/calendar-end-outline.svg,sha256=QGvrxb7FzwE2JQ612-bI3m_WL_Z4SbcUaEJu3kk0NWo,222 +material/templates/.icons/material/calendar-end.svg,sha256=EJBBX4yqa3__0UkT4JyJz2aqCydeXNYJY5_-FpMASZU,217 +material/templates/.icons/material/calendar-expand-horizontal-outline.svg,sha256=zOj8IB_vCXqahjcgV4I2qpVcwBo1UgGzV98Ho54nNqw,237 +material/templates/.icons/material/calendar-expand-horizontal.svg,sha256=nPc8wfOcggYtevAc88KceRNN9SNk3XRpJNSKRLEQ69Y,218 +material/templates/.icons/material/calendar-export-outline.svg,sha256=btXgImrlItPLSO27TKd4cITbM6xO8MDlhbTzstJrmU8,235 +material/templates/.icons/material/calendar-export.svg,sha256=uASJoGNSK7BIVAAZVDLfsIvYvY8L71D2Z9KmKA5RSIg,224 +material/templates/.icons/material/calendar-filter-outline.svg,sha256=lfK7T14CZNzt3thOKGLkD7OcgHypJbWUtfK8hj4Mk5M,338 +material/templates/.icons/material/calendar-filter.svg,sha256=NlSvaSpKeE2SJrUnduI9tQSqdJ5VPfzTclRv9T5xKOs,254 +material/templates/.icons/material/calendar-heart-outline.svg,sha256=hRoAUZvxZwJW_w3yiSxUDZ1IRhoHzObTtBbJsvIVn6U,360 +material/templates/.icons/material/calendar-heart.svg,sha256=13u3-eLo9BiGMmSxhIXw_dwwybUOaO1UosIBsvTtYUs,349 +material/templates/.icons/material/calendar-import-outline.svg,sha256=LhXjEE6vqqSCZiRI3xaX2rxWLFWm80OSs1vVdVfIdZo,228 +material/templates/.icons/material/calendar-import.svg,sha256=C-mAhcSnevp9X_HxkJGx58ME3j8LlDWVduDtNMdtG3M,213 +material/templates/.icons/material/calendar-lock-open-outline.svg,sha256=ASuGyUWiMt5ONMB_CrpeW2uVMEtHWzq41tIHV8K_BLQ,396 +material/templates/.icons/material/calendar-lock-open.svg,sha256=g8RFoFsXNLvogKfASkvpPyq5jF874BTrp9rrtmFNtWM,379 +material/templates/.icons/material/calendar-lock-outline.svg,sha256=3R0I6XyEwKlvCW-9_86bJcE8IHKj39JMAwLvsx-1nkQ,394 +material/templates/.icons/material/calendar-lock.svg,sha256=fACK7ypzdqHvdiLt5lmSf6EnhqJFbvciJ3gUeW1FNtY,384 +material/templates/.icons/material/calendar-minus-outline.svg,sha256=HQmT7uznVoV9rp1eaZ5_3JLePu1bt4q_K-hzBGK-s2c,216 +material/templates/.icons/material/calendar-minus.svg,sha256=t5oQTpEa5s-Tgq044Svv1Q2vU5fS0iHt_akYg5CdvLw,202 +material/templates/.icons/material/calendar-month-outline.svg,sha256=2gC-xlPLHBQ7IgrIvGrgg5Blde22vkUcd3Iry34QhHA,284 +material/templates/.icons/material/calendar-month.svg,sha256=suUe3z0kR_8Os_mHmQQHYhYFWCYpqMvVkdwQFGWogaI,263 +material/templates/.icons/material/calendar-multiple-check.svg,sha256=tB2aU0APs-J4o_zd3Ba8BKDd8yLoxTcJr5gWyVhI8kI,283 +material/templates/.icons/material/calendar-multiple.svg,sha256=df1HeR6W8jPEs3I32poX0MdSD6s-L2xxVoVEnNG02Gc,228 +material/templates/.icons/material/calendar-multiselect-outline.svg,sha256=mlmBHNhYls_Q2p2o_w7sprudYPrDBOvTVU3psf3Nd7Q,256 +material/templates/.icons/material/calendar-multiselect.svg,sha256=zWcvlTYGeahCyeanfIEX7mIAjWZkZgQQO4-nI3FrK88,240 +material/templates/.icons/material/calendar-outline.svg,sha256=pI98XW516_LSdC59MSd6hSwYeq9IYV8_ymaZWUwDbF4,215 +material/templates/.icons/material/calendar-plus-outline.svg,sha256=9wYEJ9iGKmvN_CPj1i7w7WFZ9ZWBoG2Jzs7z1WzEC6w,233 +material/templates/.icons/material/calendar-plus.svg,sha256=1VK_zsfkdJ0Gau36GEM49PRabYBzGNVe2SeVlvDFgmc,222 +material/templates/.icons/material/calendar-question-outline.svg,sha256=zC2Fq4mk-jPANxWRgO6I3xkd-iLcyAbiAutUueSbnBY,586 +material/templates/.icons/material/calendar-question.svg,sha256=eIjPtGE-6v_2eyFkH0X2UGbvZz0rUxtJcYmd_6WVnoQ,557 +material/templates/.icons/material/calendar-range-outline.svg,sha256=S0ADn6xjxpncH-tNQtjmTn4wxGUkRWK4gs7NYhOp0Jk,241 +material/templates/.icons/material/calendar-range.svg,sha256=3PpTWiqD_2S6tEfEwpVBNdWj8_5xqnv2Xkc0daNMQ1Y,224 +material/templates/.icons/material/calendar-refresh-outline.svg,sha256=eJInow3YemefCI04EMlnLHkTfTZNsnZehhlplNImGbc,388 +material/templates/.icons/material/calendar-refresh.svg,sha256=YkungCZn0k3tpxYpIb4s4FJ-l15AhZLEqnRktVYbWVU,377 +material/templates/.icons/material/calendar-remove-outline.svg,sha256=MzBysJOL9jA3AVKWFpuvKOENVKtOg4gkCIkufgEhwPc,331 +material/templates/.icons/material/calendar-remove.svg,sha256=29mVz1VYr_9it6lJwyUnj3HGjDLzSbIWMCs31UP2Sks,304 +material/templates/.icons/material/calendar-search-outline.svg,sha256=-ZLBQl-kAV3jiUegx5zBuvFmt8_EKTVvYQavB6yh_sE,414 +material/templates/.icons/material/calendar-search.svg,sha256=Y3KOegBqZ836-qLanSCsubvNKLk3f_NSriTS2FuEvPs,442 +material/templates/.icons/material/calendar-star-four-points.svg,sha256=5sLqymr6KGWTufokhdDN3cwpRK1KxHFaejYLkC4whjI,387 +material/templates/.icons/material/calendar-star-outline.svg,sha256=SF0Bqp6vtJljCzn3Et8ndIfV7o1ipam8byO5nZH-AWU,258 +material/templates/.icons/material/calendar-star.svg,sha256=y1Qa4Y9_WQjhByTsPeGiMhwaYaQagCUfFbMLfMR6fDI,277 +material/templates/.icons/material/calendar-start-outline.svg,sha256=eBDjEW3Qu_SeZa7KjRqTRJcJ3ByGZCXeYuZNpjLUutw,224 +material/templates/.icons/material/calendar-start.svg,sha256=dP3VWCqH1jlSecawe8709Tc4EwRcYWTZFNMM1r3h3Ag,213 +material/templates/.icons/material/calendar-sync-outline.svg,sha256=b1Xo7iXVaGHa45Qmyf0RBpbu3AVGw0Yog_fUp1SIOx4,412 +material/templates/.icons/material/calendar-sync.svg,sha256=yd687r6wqPFectZSz5MCCX1dxLeuiM7hqBaEmZ1rNZw,402 +material/templates/.icons/material/calendar-text-outline.svg,sha256=sn2YN8ifR7dWoZdmuPT1G87A1h04AkV1kpJmXMuva30,228 +material/templates/.icons/material/calendar-text.svg,sha256=OesHTeZEJQ9iY9r-EG7oVcYcg2qf6aiL94SwC6q6yrc,205 +material/templates/.icons/material/calendar-today-outline.svg,sha256=miKrGIxMNVCjHZZIfCMzo6ndDeIwNTuc0v--1GwlcJY,211 +material/templates/.icons/material/calendar-today.svg,sha256=KiL_3cIJ84ycKV78LnxqAS1vMe0tWIi_4mlnXYYfBoU,190 +material/templates/.icons/material/calendar-week-begin-outline.svg,sha256=nsWiUfduUL1XRMJYAXpQtNNOK1qXIY268Wb77BsiH9E,213 +material/templates/.icons/material/calendar-week-begin.svg,sha256=5iDbJvCGJsxNtGTMICRsA-AGbm7mluZNWQT4d-FoYh4,196 +material/templates/.icons/material/calendar-week-outline.svg,sha256=SPQw4IP_eyGXH1sZUw95diLfpg-nZmqohGblpOnahiE,209 +material/templates/.icons/material/calendar-week.svg,sha256=kNzLo_eBBp3_SR4KziQd5Nu59kQFVuphp4RWtxnYSLA,197 +material/templates/.icons/material/calendar-weekend-outline.svg,sha256=J3Q_HgyD0tYM3-EOb65bU7jMKehRxhNzMZ0Yg6ZrH1M,225 +material/templates/.icons/material/calendar-weekend.svg,sha256=rGCeVnxp3f5DXNfCwrYH7I94A2xT3_jM1sXtQlGg17w,212 +material/templates/.icons/material/calendar.svg,sha256=MoSnop02eBatqg4cwBC4QHjhoDwgLCxjesZCBddZr2Y,198 +material/templates/.icons/material/call-made.svg,sha256=vgh8ZSk4POK7gzJD5sL_yVrHp2-WT9DhFdvrMkzosHU,120 +material/templates/.icons/material/call-merge.svg,sha256=dEWpKhVyrWiqPtq2V6cHiJ_PhUYzlgsiFAs1nSfY7eg,161 +material/templates/.icons/material/call-missed.svg,sha256=Tv8BOYTOusFLtJv7f_4jX3NGt_JJzlccKJf6XvapFnI,127 +material/templates/.icons/material/call-received.svg,sha256=SmQMmDkTPLUVv9DbYhZmWqs4pdb48R3UO3pJLGC35Js,120 +material/templates/.icons/material/call-split.svg,sha256=rU0WjpA_eIc6RYna5VgGQxo7sOFQyFLn2ShbBiQmq8Y,180 +material/templates/.icons/material/camcorder-off.svg,sha256=ijSZy-BTp1s2RmF5hvkljnIwFCcAALSWbgk9PS7fCKk,440 +material/templates/.icons/material/camcorder.svg,sha256=w8XKUuScJtD77cWy4F1-UoxsLYlQFls9V3ojOXNvQBQ,318 +material/templates/.icons/material/camera-account.svg,sha256=u8ynrOH6PcQyt7bmQY4lkPolOsDUXMqess9NTYimmaQ,263 +material/templates/.icons/material/camera-burst.svg,sha256=aDqCLcKiF5LBa7Y9-2vjp5sIi6j1YB7R7yoHdXLU7P8,219 +material/templates/.icons/material/camera-control.svg,sha256=i3Iiy6yixPWKG3D_dBeJquwnNEqlZrEtQPNIKcbFnKE,519 +material/templates/.icons/material/camera-document-off.svg,sha256=TYRkw0vzABuEBAu_HA8j_n9jRLUugDSA7JGSlL7Ofpg,359 +material/templates/.icons/material/camera-document.svg,sha256=hqgz9Yul9nzJ21uFHXuUz7q3o2XhlHJxtJ5BYBm_Wes,248 +material/templates/.icons/material/camera-enhance-outline.svg,sha256=6mJRnxqI5eNIMD1ZerKpfgd8yvIL6W-sW37AlSYImjM,411 +material/templates/.icons/material/camera-enhance.svg,sha256=N8gq30OeYMAwBrr0Db5oswYPw6-YRVH073SXBL40yhA,290 +material/templates/.icons/material/camera-flip-outline.svg,sha256=IcVEUC_vRYLAa66Rht1bfU6ARjR5DKwgu5PRck56gUM,462 +material/templates/.icons/material/camera-flip.svg,sha256=WjcW5y76-qdpegsKsQYymFyI8fLNWXV0hQOrwj6E2lg,420 +material/templates/.icons/material/camera-front-variant.svg,sha256=CRYjlzoZ2O2OaO8At7oqF2M3ipS8-aMKXTRnbcQ8klg,294 +material/templates/.icons/material/camera-front.svg,sha256=fcL3MPw0bnL7xPJUqiXM-G3JVXnikVnrv_ujqS-GoII,293 +material/templates/.icons/material/camera-gopro.svg,sha256=xY_6IHGB9X7Iu__M-4oUlf-1zZjGNy8shzPx-iJdmLA,382 +material/templates/.icons/material/camera-image.svg,sha256=jWFHoShAKQhx4lGXeFQkCkD6kV6WIJgdHpasQ7DKS-0,226 +material/templates/.icons/material/camera-iris.svg,sha256=Wb-YcrIKnEY2E7ZfyHpZZzeS81NvBpCxnMFhKo_nbDk,445 +material/templates/.icons/material/camera-lock-open-outline.svg,sha256=GXJCVVswsIGQDe3PwHVUW2P_24GaKRdVrJc79dSaszU,581 +material/templates/.icons/material/camera-lock-open.svg,sha256=R_-2_B5VzNPGdp41u3KMAB4eMvOidycIgmJOYUufF84,547 +material/templates/.icons/material/camera-lock-outline.svg,sha256=-11-gtFU2_EY83Nm9TA4Ok_wNm9eEVGeG-IdJbjb-NI,603 +material/templates/.icons/material/camera-lock.svg,sha256=xR02rMg5m7ioBupIM7RVBQd4-LrfpKEO5fQwE2ivXhE,547 +material/templates/.icons/material/camera-marker-outline.svg,sha256=E8s8W7UU7PZdzam6MQoBz7icNBhFpb4qYU_R65ju6TU,567 +material/templates/.icons/material/camera-marker.svg,sha256=hMNY8s2q6wOwr5BEOJldrvA61akVpgnTqq2an1csqV4,562 +material/templates/.icons/material/camera-metering-center.svg,sha256=atwJ_bjzlMJXIJmC8aTlMzs26UFblxcQQK6DGX5KjK8,468 +material/templates/.icons/material/camera-metering-matrix.svg,sha256=GCN2pXGvMPGEvwbbPQ6GVpDnsIcBulV81dHUz-h0TVw,450 +material/templates/.icons/material/camera-metering-partial.svg,sha256=DnkoGTEPLYNdq4cIzDW3IyZrXfwJcinANXlXrmgEv4M,376 +material/templates/.icons/material/camera-metering-spot.svg,sha256=Zvy5PIGEVWGc-tUJ5FgGNWMb57Edcs0wtl5JVYpZUsA,257 +material/templates/.icons/material/camera-off-outline.svg,sha256=IcZHf-5R2uu6op5u5R-JQ7puPzOioG3GR8WpZgfpw7M,581 +material/templates/.icons/material/camera-off.svg,sha256=s-m4-vnmD9M_rehOffZw0cY9xtacf4sX_Wpc2124ouc,458 +material/templates/.icons/material/camera-outline.svg,sha256=OLVl4zLED5jlS12p67KI_uuQLSgxv9_Ou8fkdP3Lj1I,330 +material/templates/.icons/material/camera-party-mode.svg,sha256=AkaUcVhdIL0tjgoAGn9JFUaiPqCL6jBx3KLTd1xUPEQ,364 +material/templates/.icons/material/camera-plus-outline.svg,sha256=Lfny2mVBo_5IVGAigqX4Gwvf2WVY5pMLRUduU-V9aLE,356 +material/templates/.icons/material/camera-plus.svg,sha256=UkHij-Uc9RORMSDey3wIilydypDogBoZ029FvpFqG-E,338 +material/templates/.icons/material/camera-rear-variant.svg,sha256=IX0vrSj2_rGGzT_1GRpTsDzSJ1NXCUZlOvSDcpise1A,232 +material/templates/.icons/material/camera-rear.svg,sha256=iB0eiSDw69v6VxIBNUf5EFwLJGIPpA-gTQCOXgrmO6Y,248 +material/templates/.icons/material/camera-retake-outline.svg,sha256=kSN7kxALbHM3TOdNu2Rik_16vO6aqnzNXjTGenxwnjE,371 +material/templates/.icons/material/camera-retake.svg,sha256=hPlJXAwoqzIdaNunZJ3lE4_2ljbukm4BVzb3AfgHfmc,330 +material/templates/.icons/material/camera-switch-outline.svg,sha256=eG35FEpT5r2FU950lmkB7bK6BSsz7szdZFsyzXtLp-k,255 +material/templates/.icons/material/camera-switch.svg,sha256=78U9cbLLgwKrYwXyGUb6b_MKzExOHeiepDYOGIb135w,217 +material/templates/.icons/material/camera-timer.svg,sha256=VCiMAaWATrDO6i08G0MnCimuu8oNs-zZ52zBNcB0JFI,406 +material/templates/.icons/material/camera-wireless-outline.svg,sha256=Q2rVxpkaKwe5m-yBAA_6z7JSTMp17iA-EwjvztRoAX4,407 +material/templates/.icons/material/camera-wireless.svg,sha256=GBZIINXKP-_IkjKPhOx_OmGW2rtB_EeV9_vTwiyugks,434 +material/templates/.icons/material/camera.svg,sha256=VFO3n50litCfhC-eFHYn4j381vEsrDnIFg6kZSI-WS8,280 +material/templates/.icons/material/campfire.svg,sha256=zNJF6AFJaSwlrYYweI5-CEMw2YFnh9LCAdePwzdwabE,795 +material/templates/.icons/material/cancel.svg,sha256=TqE97es3RN-mVYvqgedrITC-NsRRIX8PJ_KdBbFYaEc,287 +material/templates/.icons/material/candelabra-fire.svg,sha256=ZrfrbXMmkjiNvENfaOaJ1iqM3H4OjvwwJsLu-zjj7oo,888 +material/templates/.icons/material/candelabra.svg,sha256=8OFhzLwuUooOSNEW3zpBfzPnoqR7azZ6YlnlTZV06es,409 +material/templates/.icons/material/candle.svg,sha256=Vcmg3yJ7AEA95hu77_OIwx4k-IHguDxYwNqc6IhthEU,352 +material/templates/.icons/material/candy-off-outline.svg,sha256=sjMxMD8Y0UNI3WJ8GL7MNcd6Jvb8hBWQOi70Bcs1lfQ,621 +material/templates/.icons/material/candy-off.svg,sha256=nefrF78gwEnSY5g-2Rqd_-sFwpxzayCbMuwTtfNYfWE,525 +material/templates/.icons/material/candy-outline.svg,sha256=VbNSlunNihxAbRqkm9ts5Vio7FO_kyYiewdGYuBjnUc,624 +material/templates/.icons/material/candy.svg,sha256=Q1sV3I6S23DQ7txeuesXGLIK6oZeJ0hBjC1UnCH63pQ,536 +material/templates/.icons/material/candycane.svg,sha256=NjPJcHbXbVKg6Eh8j8B8ByOq44qlXBroYmDBqNLxFWw,389 +material/templates/.icons/material/cannabis-off.svg,sha256=LooUp1vngEjNhY7EowYis4N-iXdrlqZWazQ8aAr7Sj0,520 +material/templates/.icons/material/cannabis.svg,sha256=bMM_PacyqgkTUZXadSZ3U_iPiCpggvbwZzO3MLQWuys,467 +material/templates/.icons/material/caps-lock.svg,sha256=dYav_-1aO-MmQ6cUR4z8sUsmWHdmukEphAqrsUee2Ss,264 +material/templates/.icons/material/car-2-plus.svg,sha256=fhl-VCLfMglS_Rk7dp9tV9kil78KDB-b7hZRQf23UsE,435 +material/templates/.icons/material/car-3-plus.svg,sha256=dldxSqjazkoVTkfR9iUnstXgVBMW_aev08X8ytnM5WY,453 +material/templates/.icons/material/car-arrow-left.svg,sha256=I-eEeWVKACuFLzfmhy_swRyhcHFjXHTjcm-xt0Gk8mE,378 +material/templates/.icons/material/car-arrow-right.svg,sha256=7JL-v6URjPz2xB4CucxtRou6yitRCJ8Qc6udyO8dzzg,380 +material/templates/.icons/material/car-back.svg,sha256=DJYTabeO8GxgEmrhQSeKxayw-RvASrFB6HwD8o5n1h4,277 +material/templates/.icons/material/car-battery.svg,sha256=OrG22ixILiHIYb_mTQpbAc4Uk7C6urYfwRl4H7C0jDw,175 +material/templates/.icons/material/car-brake-abs.svg,sha256=vbfW16_X3hQOK8R4MObb_EzgNNNk6716LTqM3tw1vTk,941 +material/templates/.icons/material/car-brake-alert.svg,sha256=nuXi3G75xNlLTKV-9bpq0xAJruhxVqbVAwZCVqqz3s8,487 +material/templates/.icons/material/car-brake-fluid-level.svg,sha256=e0mXkbNV5wsn4aNf5Tr6oNmqFIHU92ysuzN171ocvZU,666 +material/templates/.icons/material/car-brake-hold.svg,sha256=8n7DoCU2uFlSpu8WTxTR46VIMJwIi9k_WFOnXQklHFc,424 +material/templates/.icons/material/car-brake-low-pressure.svg,sha256=m7Mt4Xo328Y8o_0bSwxEjW85CYT9pttGxba39L0yt_U,621 +material/templates/.icons/material/car-brake-parking.svg,sha256=Zxvg8f9_LiNh-D3xzhwxGpaXT2jrG1vKW_r8Jep7F7g,454 +material/templates/.icons/material/car-brake-retarder.svg,sha256=FeaGhd9Y543OqgcXmz7VO7R5Htinn0Rn6akmHzoLTCY,868 +material/templates/.icons/material/car-brake-temperature.svg,sha256=Uo6uPmRpWY3xyzEwHOEyD3THtGCvgSvqN_RVYU_uLaI,597 +material/templates/.icons/material/car-brake-worn-linings.svg,sha256=o148npu1jSQRYDhjetr9bCvfK6YgopKTU9O3w_FC-UM,751 +material/templates/.icons/material/car-child-seat.svg,sha256=9pGmdpNEM-QAdcfXe2Odz0tCRHBrfue2UusGi8LFuQg,443 +material/templates/.icons/material/car-clock.svg,sha256=UYcEvQrFJFfEW9WCa3OfMPhrLKBbAv-4ydIMwXe7W7k,700 +material/templates/.icons/material/car-clutch.svg,sha256=71GnfI8MyxtLmV9cxYqseYM9YNyGmJykN1M94VJrGrk,177 +material/templates/.icons/material/car-cog.svg,sha256=iC_ZzH6L_RqYHW1_V_7cY3lOj1JNoVvVTGWfdR4CAQs,978 +material/templates/.icons/material/car-connected.svg,sha256=wlmiD0PLOM81gfcpNDgO9dkpJtIdv4ZwQoQSMlSJSXI,663 +material/templates/.icons/material/car-convertible.svg,sha256=MQzetzW8iLgqKDs7y4EV-zAd8RBb7sXIPa7aW-KEmMQ,407 +material/templates/.icons/material/car-coolant-level.svg,sha256=z10l7xDu-SKeD0-q4rC7akJxGIxXTLX92kTey3B0-Vw,339 +material/templates/.icons/material/car-cruise-control.svg,sha256=uhYpa7ShIl4pfu2k9BsY3Pq0jKInXfc0PgwHH8BFMVo,503 +material/templates/.icons/material/car-defrost-front.svg,sha256=JUKGptawhgrCEEht6y-vg7BXYJ0oJgFRj-VcNpe8Crc,965 +material/templates/.icons/material/car-defrost-rear.svg,sha256=UrpMKJfC-5ICYhhvPuwyVopYr8W4XIUmNxnmZoTLSjE,898 +material/templates/.icons/material/car-door-lock-open.svg,sha256=TopcxfIJAszgX_q-v5MhFDuUyulKDMkmv4UWrgDBCSM,429 +material/templates/.icons/material/car-door-lock.svg,sha256=g9Umcb7D4uqbd0eLmYOieKnoxoqS__FJpvXjxZlJO-M,425 +material/templates/.icons/material/car-door.svg,sha256=t6zp6CLoY6aZymFeBfd5plL3OL6oLr9YJ2V93B_vYp0,152 +material/templates/.icons/material/car-electric-outline.svg,sha256=gu3qh-R4spSOFQM4lE0Wdjifo6ZV8RtqDUQR7g2uhu0,441 +material/templates/.icons/material/car-electric.svg,sha256=SqX5v_7UrPcr08rReDK0OB662ZSJ4eqsdm2VwtDWxKU,416 +material/templates/.icons/material/car-emergency.svg,sha256=t5KiUIW3c4vs5byryvz8YrxzDGAiv5W9R_kFQ6uWZmo,564 +material/templates/.icons/material/car-esp.svg,sha256=mIdW7B7m_pNIT4n6JDSKItrDAhpccl8E2SlhjZTbVHE,843 +material/templates/.icons/material/car-estate.svg,sha256=E-Zsx3KjSF-3HDVtPL7pcoJdTYbk0oP1tn6oTtUgTkE,421 +material/templates/.icons/material/car-hatchback.svg,sha256=a0LgU2ArKlDjow8l2zynvuFluMHFpUvGatKHzk6pLKU,413 +material/templates/.icons/material/car-info.svg,sha256=W60-WKJ-efWT1jxtIJ132k0Y0iJTifcdUniOt5KEJeU,326 +material/templates/.icons/material/car-key.svg,sha256=oHENkLTfC5KZLUJXm7MJyx16Xk-MygE3KwIdG1ubky8,500 +material/templates/.icons/material/car-lifted-pickup.svg,sha256=RPYZpIb50JDjrNM7A8Q88G4GrfJY7x-uYpDiqvHIfzY,1138 +material/templates/.icons/material/car-light-alert.svg,sha256=WxJpKJqkvIHCvZMZ9qqDRblky7cCbOVNikFKkomG3xU,372 +material/templates/.icons/material/car-light-dimmed.svg,sha256=9-BA1loBLPqeTY3oiZ2scbXLUId_l9rOQ0aXer-3MhE,372 +material/templates/.icons/material/car-light-fog.svg,sha256=-9hYdh-uj34_Ul2BkXs4GvcSgv28xlC_ua2CWFtLGFg,323 +material/templates/.icons/material/car-light-high.svg,sha256=fkpR7Jqh7X1hCUI56p3jyQuCLfouicpBVPW7UHPb_nM,348 +material/templates/.icons/material/car-limousine.svg,sha256=4e-BVrIrw6ADfJy0ZnZU385h4KNqwqC2SCNle6n7fk8,338 +material/templates/.icons/material/car-multiple.svg,sha256=D846RDcZ-7WUaHNJljoeqF505GjspB9Afxy6tOOKWK0,592 +material/templates/.icons/material/car-off.svg,sha256=j3VUnGMLMnKBfoqzRNrRbqa9aAKsOqcEV2s6KAXunz4,464 +material/templates/.icons/material/car-outline.svg,sha256=E64OsjaTEtYxEPpvSG1PuWNCL8d6JPHFrRIvpTdcRcw,386 +material/templates/.icons/material/car-parking-lights.svg,sha256=W5JcaoO6fOZkNXGgR8OK4ylBYUwDMtXrEY1ytzgF7t0,545 +material/templates/.icons/material/car-pickup.svg,sha256=iP_P2a5fAmgQYLWNvb4eLyObIUTxWYYm3HHfNNlkIjE,394 +material/templates/.icons/material/car-search-outline.svg,sha256=Fo9GXhMzI6aU7skxo0TyISMIq-H-hQxBy-OdDdT1o2w,567 +material/templates/.icons/material/car-search.svg,sha256=M28tpXnSRr152ob7iOfwWiQ1q5P9YEFZZxk9WzRmwPE,580 +material/templates/.icons/material/car-seat-cooler.svg,sha256=JwvILr9_ExMw_c2AhrXq3rx5ggCbfU5D9czszY4og2w,593 +material/templates/.icons/material/car-seat-heater.svg,sha256=kjEnpIce9eghOtrOfMFF0sQYH9RthRo1cow6xwZx_oo,424 +material/templates/.icons/material/car-seat.svg,sha256=5BI4CRLDBBzrBhm7JOuTEvi6XS0Biajo7YpIbWW5cgw,225 +material/templates/.icons/material/car-select.svg,sha256=Z18MbakmEspqVWKr56cLBs_qf1u5DYkEs0K_OeH0PsE,380 +material/templates/.icons/material/car-settings.svg,sha256=0EWZxxRKBXbMAvqgOUTwxoWZW0gVu7Rs-YfNRpa9ZXU,455 +material/templates/.icons/material/car-shift-pattern.svg,sha256=4Olv1VewtoC5Vq3dn6XuJbSOEj3kbktRma4FUFzVoLQ,195 +material/templates/.icons/material/car-side.svg,sha256=gk4R1bsa79D2E187wBbc_jedDVrDYnugZNFcTTvWnWM,438 +material/templates/.icons/material/car-speed-limiter.svg,sha256=hrAxXKe_Wyj6Dg1_Ky3vHTi9rmtxa_DLnEHaSFQ8lO8,587 +material/templates/.icons/material/car-sports.svg,sha256=m1JBU4F6eR3mzDfrv2Pab9CGoOYmyEKZfT338m-o9gI,441 +material/templates/.icons/material/car-tire-alert.svg,sha256=0dteRJ5I3IDMYWufmVXjZLKsSlpJ7zJZHDFmPp1EZVM,336 +material/templates/.icons/material/car-traction-control.svg,sha256=mojCGOSgQAnN_1HQc7H5tYcbqctzrkcZQRp0YgdOqMc,604 +material/templates/.icons/material/car-turbocharger.svg,sha256=1WVKuHZhw31ejvxooeVdaNgblF7pPVkRSrGXAddZy2Q,744 +material/templates/.icons/material/car-wash.svg,sha256=HME9nSGKpAPSxDRQNWMfJQK7MEvkWJq5hDnQRF3nYFc,661 +material/templates/.icons/material/car-windshield-outline.svg,sha256=5Nq-amlpDJCZgi_w269tcWmtd3UQsUj7_UIVmz-ndrs,391 +material/templates/.icons/material/car-windshield.svg,sha256=Qq2-bEwx8W2oFPsWLAT5n-hqI729Y6SqrEsYTUi9PFQ,280 +material/templates/.icons/material/car-wireless.svg,sha256=-u-HxksIfCpjhI-yL_bGW5-PbyhoMoD05nAb7PWsAIo,609 +material/templates/.icons/material/car-wrench.svg,sha256=KMoTz08iMa3-4RsKI1s2L9wMXUJhVtMozG3PGGLimas,592 +material/templates/.icons/material/car.svg,sha256=H29Y7c1txHrhJn3Tz2qcAavFzNK7PvLyr_3FnoOWjNA,427 +material/templates/.icons/material/carabiner.svg,sha256=vV3h6lWTQRj3KOx-21gs_oEWHovfL2I66x0gIqVt-zg,580 +material/templates/.icons/material/caravan.svg,sha256=BEZQA5PQoDWyQk7uPtMcIoHl5NDooBUdO_uzFdc9ios,255 +material/templates/.icons/material/card-account-details-outline.svg,sha256=-vLp5W16k7AQK5DgHuLYAOzvtcwP0oeQu3ziGXQPX9Y,377 +material/templates/.icons/material/card-account-details-star-outline.svg,sha256=Ei2LgMOrJFTyCHSBJEduShsRY-TTGptvrazUC-Jkn30,507 +material/templates/.icons/material/card-account-details-star.svg,sha256=Q9PjTVn2KQd3Ddmjh1AjokKjDz0N8z2tTNTucK043sA,457 +material/templates/.icons/material/card-account-details.svg,sha256=vN_wZYoG0z8MZRMM81OSphxPEt4k9njaxvyI2KgrB44,314 +material/templates/.icons/material/card-account-mail-outline.svg,sha256=yao5dK7IKGvc1Pe9rxSl8GBGSYhIfnn9G0HhrI566C0,442 +material/templates/.icons/material/card-account-mail.svg,sha256=H25ZtnEzgnmUSq44WJIsHPRB0F9bNUuFGNfWtRnTQGg,279 +material/templates/.icons/material/card-account-phone-outline.svg,sha256=uYY7yg27MeHt63t06fM5nmt5Z_QwcKvlFQBUWo3p2CA,546 +material/templates/.icons/material/card-account-phone.svg,sha256=qZvxkcdNzlUDFc0Yb3d-f_-P9qM4jSMAj7xDt4KHaB0,407 +material/templates/.icons/material/card-bulleted-off-outline.svg,sha256=PfEUTehnE5S290BSI5Pp7o4d-JwznNMzqMe28MCoEOw,342 +material/templates/.icons/material/card-bulleted-off.svg,sha256=aAZG3B689jyJcpus3ozm3bnYxytIVVpbuwnu2sajFOI,316 +material/templates/.icons/material/card-bulleted-outline.svg,sha256=uzeqtrXkLxok1ubKg1Vluqh2AXdFF3L2gp1-MwJVFFA,220 +material/templates/.icons/material/card-bulleted-settings-outline.svg,sha256=RYYx42D5_LaG-bOs4POfyF1AaxhIsN5aCg5AEKI2ftc,261 +material/templates/.icons/material/card-bulleted-settings.svg,sha256=MAlRZ_qVUActuWJCJhVDyWDrm1hnqjA-0xWM4bIRPLQ,245 +material/templates/.icons/material/card-bulleted.svg,sha256=7CSqIQ51gwJcUnX-dAtAhLJMpbL-n0NnZ7V_q0ZKGns,204 +material/templates/.icons/material/card-minus-outline.svg,sha256=l4hGYVzZQLvuQe4hxl15aeufFWWoQH7QROcSZgawAtY,234 +material/templates/.icons/material/card-minus.svg,sha256=Ams6zti2XArmFT2L49-RcE6wiWjGYfbrwBjljzTlwkU,218 +material/templates/.icons/material/card-multiple-outline.svg,sha256=ZvhOz5n_Yzr9PGkNUJLb9e9MkdvnQMM6_pq-JKSbWPo,296 +material/templates/.icons/material/card-multiple.svg,sha256=-YdwML5_akYhh2AYBKpj9NRpGFhhmsQ7snNgcSNqPwQ,342 +material/templates/.icons/material/card-off-outline.svg,sha256=N8dVCnOvKmUaXZM8PLp2GLn0vhv2V7VznDycl98y8O8,303 +material/templates/.icons/material/card-off.svg,sha256=xTWVd-I3CAh-lhcZjkXL1DFua6oWrPEH86uXO7_CjgQ,255 +material/templates/.icons/material/card-outline.svg,sha256=TQ83ULZVXmZPI8C6JnNbQx-_QR5i0cEiIquFnctDG74,165 +material/templates/.icons/material/card-plus-outline.svg,sha256=vU2aF-f0kyHcEwfaueNc9orjT9lqSnhn022l34QT3mk,189 +material/templates/.icons/material/card-plus.svg,sha256=Dn9anIklX3EsneU467YTgPwEijaxb1B3FHSDlmccj3I,240 +material/templates/.icons/material/card-remove-outline.svg,sha256=SWCqOQ06uUiVztDtKUVp-OBqjihdYrVQ9RvhPmTNbzc,345 +material/templates/.icons/material/card-remove.svg,sha256=yWTWVoz7BXvLKeSL4pXpcsgADL3UCM_vq8zHhiWmyCo,330 +material/templates/.icons/material/card-search-outline.svg,sha256=3KMbrIi0QNRYBxE59_x6xKJgDsmCBcgQrNXh7h26eJE,323 +material/templates/.icons/material/card-search.svg,sha256=stXszmGIoXm-DJPelehnepcSbYK8AsqrLAnP_b3u89I,315 +material/templates/.icons/material/card-text-outline.svg,sha256=oFKdFOt2HS9CmF6QYsjVtMsOjgJzowwcxlXMT-wGS_0,192 +material/templates/.icons/material/card-text.svg,sha256=PMeUD5_O2i_jEelJYc0ra_-H5erdEMSvhAwFLZVsKFc,179 +material/templates/.icons/material/card.svg,sha256=geX3zh-CiBnO1lVbDl3yG9z9aq3bF0OCPw7HJadRkdM,151 +material/templates/.icons/material/cards-club-outline.svg,sha256=b2Bh_CBvt05yxbWXk-Xnbi-x8FCO_HaUICZraqLvQBg,598 +material/templates/.icons/material/cards-club.svg,sha256=cDiPtE1wns3VTzY7A3Tgbv9--0Trco8mspPJSmxnjHY,343 +material/templates/.icons/material/cards-diamond-outline.svg,sha256=FQrhdTwJ0hSmg4XGEXsBSgLJmu9f95YnQjv7zqMG3ZE,130 +material/templates/.icons/material/cards-diamond.svg,sha256=oCg-2pHVJFbdAS0bSCNV_iVFrzCOefgbKKFShwuanLs,99 +material/templates/.icons/material/cards-heart-outline.svg,sha256=_5KAmpP84zWvCRM-kds2JI8r7uumnQXD8pFfSVXXaHs,416 +material/templates/.icons/material/cards-heart.svg,sha256=U5NnZP7bIcAXUtxGDnSpkZvX5k6gGtlusnpptFUqEmM,251 +material/templates/.icons/material/cards-outline.svg,sha256=Wv9Gcvo0Gda5yyM1kputfTevzjJuXbVCNbIqn3LnLAs,416 +material/templates/.icons/material/cards-playing-club-multiple-outline.svg,sha256=l1YUqZof0upDPZSUYVjb9nZFDf0NrHOe7nzGYlo6OQI,372 +material/templates/.icons/material/cards-playing-club-multiple.svg,sha256=zEqZl6ON7TXugPQJFpr-SdRwzrm9FVPEfat-2txaUP0,355 +material/templates/.icons/material/cards-playing-club-outline.svg,sha256=dTxoiv6zVgTuAgngSTQFfyUjsxdXnyP2y0j4Hr0JBoc,340 +material/templates/.icons/material/cards-playing-club.svg,sha256=XAQkgJMfr8krQeQ5490tZkI5kXJAUyaacqYpMA8pGjc,323 +material/templates/.icons/material/cards-playing-diamond-multiple-outline.svg,sha256=pdhC1GXPU8rRqnjr8dYS5v8bZyuJXGx9-jCHGEUmet4,222 +material/templates/.icons/material/cards-playing-diamond-multiple.svg,sha256=-JUHMSL8akYbTW1Qxd3SfJMaKr56g3N88PFq2JyMWoQ,208 +material/templates/.icons/material/cards-playing-diamond-outline.svg,sha256=_Al9ysbcno8abMtGEc7PJaSrL3z_d1dbtz1rnLmlHng,191 +material/templates/.icons/material/cards-playing-diamond.svg,sha256=nBxTJEd0UoeBreiyU8kkLJlwZLCggE6SxlPYPCPmLR4,176 +material/templates/.icons/material/cards-playing-heart-multiple-outline.svg,sha256=qVYR-3YCPY79ICF_KpFDGpNIqbpUcrOqz1_o4Mkw-OA,335 +material/templates/.icons/material/cards-playing-heart-multiple.svg,sha256=rMpHunjhDYUnT1K68ascfJGNnEulP49c5n-QVhJ9vA8,324 +material/templates/.icons/material/cards-playing-heart-outline.svg,sha256=FEkiatQYLRoPNctsq-_67LmY0ubujY63Hw8KvGeJxyE,303 +material/templates/.icons/material/cards-playing-heart.svg,sha256=sR2LOtXmvHKXUcFJOtZCSZL3Kaq61b6mxB-sOPaRY3E,292 +material/templates/.icons/material/cards-playing-outline.svg,sha256=scaglVm0LRBTHRwfGDvA7ZpiccxrCvhYtwNNJ5PHSFo,478 +material/templates/.icons/material/cards-playing-spade-multiple-outline.svg,sha256=6MARvW_c68UsGnFTbp_SbJnd96noIIUN8p2b0nM-48Q,356 +material/templates/.icons/material/cards-playing-spade-multiple.svg,sha256=BqKRWQDk7D32j99xqV1_NmaM5CqFcDaCk78j7aSlgfw,341 +material/templates/.icons/material/cards-playing-spade-outline.svg,sha256=V-i63Fstfn7rwQpn-2aWHsU4TXBRr6unv8-G7oB5veA,324 +material/templates/.icons/material/cards-playing-spade.svg,sha256=jGB280d7KyO4akx8yr52qlCjas2ye9gwlpU6fXDIeGg,306 +material/templates/.icons/material/cards-playing.svg,sha256=ZpqRi4RIiagu_Lwvd5t2kYoosl61cM5mraCVBalbpwk,355 +material/templates/.icons/material/cards-spade-outline.svg,sha256=djz6diqaemtSUNfhjfHgTJYf3DX-t5E-2rA4F8Oz4kM,273 +material/templates/.icons/material/cards-spade.svg,sha256=2C3dwtjle8SbEQ6_v5NpX_AhhaGoI6RRID6KPaEVt1Q,187 +material/templates/.icons/material/cards-variant.svg,sha256=X5YUDnn9nLUq6K4Pi1YnGwaXSv3jo3jmk1N4TC7KG5Y,248 +material/templates/.icons/material/cards.svg,sha256=ruLB4Yrcx2UMoLRWZdz4-b_ivDGv_6TtUnXiieFqrvc,400 +material/templates/.icons/material/carrot.svg,sha256=5mApNQUsy3gBrdG6lOeqQq-gZRNHk-9pLaygbxh4MJk,470 +material/templates/.icons/material/cart-arrow-down.svg,sha256=EW9A7Jt-1ev-4ZPpAsRjXyeQpchUb4VS0quD17Ug57M,338 +material/templates/.icons/material/cart-arrow-right.svg,sha256=F4n-cT3EfMDRxkvItSo5D8ZNa6mbXrH8Htz_OIAIunQ,422 +material/templates/.icons/material/cart-arrow-up.svg,sha256=Cjmgn6MqWvP6KC2U089N4YA7c1gDy0kyjB28wiaPDpU,335 +material/templates/.icons/material/cart-check.svg,sha256=pwQuHy7NIK8krNnFTkG-2pr6pjj9rUzLL2yuxOs1RTM,371 +material/templates/.icons/material/cart-heart.svg,sha256=JmfDbCaMIiIepKGAkjCS5tmMVdIHn5LBDBFq07wvn1U,454 +material/templates/.icons/material/cart-minus.svg,sha256=o4S5v9Hyz2hu7AB1T_M4CbI5cZiTALIIK8isLm9cJiM,334 +material/templates/.icons/material/cart-off.svg,sha256=WEwlspdR1aI_MoDQXsniKi3Quum2hYyL9aOudVMpzrc,477 +material/templates/.icons/material/cart-outline.svg,sha256=LYwIi9tLSJFQpcZ-xexS2y76GHdvXf8vODIiPYf_7-8,418 +material/templates/.icons/material/cart-percent.svg,sha256=_1X4eMx5HkZtccWuVQPJzEmnaerEE-Wzxi5QdFKujhY,477 +material/templates/.icons/material/cart-plus.svg,sha256=J_nj1_g82oMjMBMedKNY4LYOczv5jzDsmat5u4KRw44,352 +material/templates/.icons/material/cart-remove.svg,sha256=JluTyDWg_8KPvfCxs0idJb9XgTzLS-_KAMPQ4P6w8L0,412 +material/templates/.icons/material/cart-variant.svg,sha256=9WbESdX6-RvOSlpz9L95XhBUbeZb7HMfEZ3Q56BJVV0,519 +material/templates/.icons/material/cart.svg,sha256=0xyCUfARzgwNcUVOX9gASV-5deWqI-OJwMs0fN6VaG0,419 +material/templates/.icons/material/case-sensitive-alt.svg,sha256=PcrK1mUUjRw0O9ScoThLc_Pxwm8ZXwcPWzHuloVe8l0,330 +material/templates/.icons/material/cash-100.svg,sha256=Fu4wYREPxExWVyyLuFxGDg_0_uMhqG3wH6wQgFRPRLA,503 +material/templates/.icons/material/cash-check.svg,sha256=qRVhzLK7QIPk0KC2qnMv2fMWcty-mntavZ96Ap5bg78,372 +material/templates/.icons/material/cash-clock.svg,sha256=CfaIAf6F7W8-mGUe0Kyyo_LSnH1hHN6EUfdBion3jc0,484 +material/templates/.icons/material/cash-edit.svg,sha256=sU5oecSGGpEOzaZDskiq_dAvCC6pbKQdIS0sw-x8BsI,477 +material/templates/.icons/material/cash-fast.svg,sha256=U93mN3IdPRSpV6N-kJ0Ie5Zrw3qBtSdyHWe6MZ6yF38,471 +material/templates/.icons/material/cash-lock-open.svg,sha256=JD4BDx9G-e1W8MBXuq1Ujp-mMTgkJxyJooYnKmqD0XU,449 +material/templates/.icons/material/cash-lock.svg,sha256=aZyDZMRCIcBNWksrpGYSv4Cr4m39y-AwgNMYdT6wDS4,450 +material/templates/.icons/material/cash-marker.svg,sha256=tQKfUpcJHx9lbR5uTk0sv0Pc110gVnzbVNtK169pQNI,439 +material/templates/.icons/material/cash-minus.svg,sha256=SV_-wl6-qde4fgqYhHGaFBRNF5P6ICdbChn-Cs2zxTs,328 +material/templates/.icons/material/cash-multiple.svg,sha256=7p478-BGTMrXdn9p-bTKoh7N3gWFMyUyRNacg-cNcmQ,243 +material/templates/.icons/material/cash-off.svg,sha256=2rvXte_-JGc9TE2bDu-pPkxq5jBk--blnjAUZyJ61Eo,466 +material/templates/.icons/material/cash-plus.svg,sha256=G1EB9XBjB2YtbFlSusYKngY7g0EiIifNHsKVmfl7X7Y,348 +material/templates/.icons/material/cash-refund.svg,sha256=niV7nXwEI5SOz7z5RkZmv8OGedk9cjwS8GNEaVzJ5s0,279 +material/templates/.icons/material/cash-register.svg,sha256=FGbW_Q9ZfgNesmXXr7FRV8EKLrqnhePSlExgS0Dgsrk,269 +material/templates/.icons/material/cash-remove.svg,sha256=o-8YQIUdE2DiyzjAI_cPE9F6B_0IsCJUlku-XR3Pbhs,434 +material/templates/.icons/material/cash-sync.svg,sha256=jdG-kG9-vYmzqBQZjegmPaaNQNFmu8hCeYqp6WDRHuE,496 +material/templates/.icons/material/cash.svg,sha256=nQNdvhmz2vKrOf5SXvtfkG8ExvzhKOCi_I4_8d5vU8Q,223 +material/templates/.icons/material/cassette.svg,sha256=aH9xjhEX3as5_2qG5XUR-bf5G0XmTzez3ZuOVJZqPe8,359 +material/templates/.icons/material/cast-audio-variant.svg,sha256=lIWnTeGP5E2XL9LjUQi4LQign2AONVvGAbgljJgfeZ8,644 +material/templates/.icons/material/cast-audio.svg,sha256=vvLFkcL3sUQx4OGc93EiIiWAhdivoNh7g2VswHsKhWI,474 +material/templates/.icons/material/cast-connected.svg,sha256=wBVX8-Bzffj-J0rpYtoRjEU9DMO8x-VstidCMm98khI,301 +material/templates/.icons/material/cast-education.svg,sha256=JthzC-NhzLXKBCKEbQQdJnpVtPiyUxnKxctsH-zCM7E,327 +material/templates/.icons/material/cast-off.svg,sha256=3AQAwQff840uTgMlq4kvt8r4mSaJqHJ46QxJX0db5-k,318 +material/templates/.icons/material/cast-variant.svg,sha256=mmaJReNVX28uIwciR19jLhkmGl-xAxlLKV6U1UHUp14,182 +material/templates/.icons/material/cast.svg,sha256=6-o_BfOkpJg41YhKAZLamGNsAd0RlrO0DmdkOCbWAIE,255 +material/templates/.icons/material/castle.svg,sha256=PZqbHHdRnhHIFlhYx2quZop9uvISWGUDucj4bf5ovqQ,231 +material/templates/.icons/material/cat.svg,sha256=UEkIRjaG_J5ORRZZDPglGvSWncP2S16TsK25Hfd2QOw,711 +material/templates/.icons/material/cctv-off.svg,sha256=R58qi7nnfbnhpa4mJKurt2C1mGc-WJIBlREWoRRWHxo,429 +material/templates/.icons/material/cctv.svg,sha256=hxrUjE7ffnFHWg_rSbp0GkFkekTL7g23xiMk5aOZLcE,384 +material/templates/.icons/material/ceiling-fan-light.svg,sha256=8wsxTPUCmfWZ01xwTWPX5I3AOMXY5H-DbMP0k9Ak4cw,464 +material/templates/.icons/material/ceiling-fan.svg,sha256=PmzoFj9Gb5jPh7cMTuQ8JF0lnSRBw5smAY9GiM2r_yI,355 +material/templates/.icons/material/ceiling-light-multiple-outline.svg,sha256=squYpHW6C8EOElhYfKtA9GZCnziDGdY1-L4BuUxc3O8,221 +material/templates/.icons/material/ceiling-light-multiple.svg,sha256=cHxf6sGQmwsr9Kv541zRmKuH2Rj-lYqchi4gLoYpd-w,188 +material/templates/.icons/material/ceiling-light-outline.svg,sha256=Lj3wYcpZ1zDzFOTLW5khJYiHSLnVN-7R0Ju6Zj_Vibg,158 +material/templates/.icons/material/ceiling-light.svg,sha256=XyAgnsG60HeSY-zGi76jcQfcfO4ylmdirQTmlTWK194,137 +material/templates/.icons/material/cellphone-arrow-down-variant.svg,sha256=reT9mV_3CJzcOEmnX1KArxJ0kl0EmXz16DQpzo79nG0,204 +material/templates/.icons/material/cellphone-arrow-down.svg,sha256=_kxRl7URNDEAgm5ebREKDmUf9bvAjVUzLdsKr_YXh1s,190 +material/templates/.icons/material/cellphone-basic.svg,sha256=N3tyT1CNV2t8O0BDIR1c0Nm06E73YUUnidI2U3W-_GA,340 +material/templates/.icons/material/cellphone-charging.svg,sha256=3DZVfE54kJFkoY-i-dZZbSneFOfWpGPZzix_s71HvsU,188 +material/templates/.icons/material/cellphone-check.svg,sha256=W130X2FeHYR6mPkuHmbxOKJOe_ER3eHX2ABKOlJUZU8,256 +material/templates/.icons/material/cellphone-cog.svg,sha256=vQU1YV8CpaSLyDPfU9yy-nc7p1_EkFvg0fykZrg5R2Y,819 +material/templates/.icons/material/cellphone-dock.svg,sha256=-uAqtG_Jv9GT1sZL17FNzH4SbB_S9BqzG1tCEIWZnjE,178 +material/templates/.icons/material/cellphone-information.svg,sha256=O4Dr9BFGZKXKO76E7L8z9cR7MIPoPieUmTbhH-fM_g0,197 +material/templates/.icons/material/cellphone-key.svg,sha256=TeF6zHpgS_TjpPPa4nxrpoBf0CaTMDxW4UG5GHfrQhw,304 +material/templates/.icons/material/cellphone-link-off.svg,sha256=smCyuIDE0s6i2odvtaFOm976UcQ69YCcLJgOGCuCRnU,301 +material/templates/.icons/material/cellphone-link.svg,sha256=IM2Ci5B2K9GIyJt-fPrdzRZwMJbJttgM46J099LF4X4,205 +material/templates/.icons/material/cellphone-lock.svg,sha256=q4BpnIGXGMTcFFnLRPYx4xP4RV5bBfi-eYc3-qBowsw,358 +material/templates/.icons/material/cellphone-marker.svg,sha256=E9o9SvtmaDXwnyP0SqWIuCO8y-1L0dzoKij7BNieLI4,399 +material/templates/.icons/material/cellphone-message-off.svg,sha256=d99TJzEr5aJ8L8V2I11Xp0_jj-WiU4dhmixktrlg1FY,365 +material/templates/.icons/material/cellphone-message.svg,sha256=odGaovsOBizNOez8fALC6bwGSZbYpWCz_HvHmTSEzSY,249 +material/templates/.icons/material/cellphone-nfc-off.svg,sha256=cwNHw30ZbpnGHCMIls2WowgkVATmfGoWHM9yxHeghe4,420 +material/templates/.icons/material/cellphone-nfc.svg,sha256=UeyvqNrUssCmgHzTNJP2Y0UcwwW1UsBH_oo8noYGl0w,297 +material/templates/.icons/material/cellphone-off.svg,sha256=igmVykNvWRJo01yCLrTNbnsJ0Xqwe37WPmFBpSxUlsQ,243 +material/templates/.icons/material/cellphone-play.svg,sha256=_0O_V1Vlt1_WkSFH9DAet4uB4SyZQOrFdjihFQIbVgI,182 +material/templates/.icons/material/cellphone-remove.svg,sha256=5b7agFtTvhKPo5MQtOy0rcDZlrGuM1RXNdmkphNRFno,322 +material/templates/.icons/material/cellphone-screenshot.svg,sha256=poK2GmqP9TNOaLh48ouuf5X_rF5U13Wo4co4cn2G2VA,210 +material/templates/.icons/material/cellphone-settings.svg,sha256=HI9xK6gm2xAwSbuFLYVeOefdoUxvnkQY55hGC5xbQrA,201 +material/templates/.icons/material/cellphone-sound.svg,sha256=3EIdUnLCWh1OQQqSndmwt_ZEmK4wW9JBTAuQ3FY5z04,280 +material/templates/.icons/material/cellphone-text.svg,sha256=QdXJ2vrOk7HW4DCq21I-WAMpEb6oGqGBd19I-mOuwXo,193 +material/templates/.icons/material/cellphone-wireless.svg,sha256=9J70ptrPoTcf8L4GlM5dtI24bNE8Dqbe07WFk9DHLkc,525 +material/templates/.icons/material/cellphone.svg,sha256=NavJZ4M7Fe73FnmhfcVSNnKu4K6FG9-31KzY5Bwvbyg,166 +material/templates/.icons/material/centos.svg,sha256=-P0zmj_S2LZ9JyipWNpQicF2hq51KTw71A-PZNe8oGs,1149 +material/templates/.icons/material/certificate-outline.svg,sha256=kYyrGMgHJSVo45ybbcGuY_Of0koNNjrW0Rbt50P_tDs,264 +material/templates/.icons/material/certificate.svg,sha256=ksJBoc0WIpKyyGM39KOltB60ZSEzCu3xOlvSMMTtpGk,262 +material/templates/.icons/material/chair-rolling.svg,sha256=3Ih82YMhbwNRZEZ_AmReb9-PGYuA2QSZsLcfUkCJUDY,210 +material/templates/.icons/material/chair-school.svg,sha256=lUtEBHDo6paKxjTSWBMWGpzNgXfg44iK7yiNhx4VUrs,276 +material/templates/.icons/material/chandelier.svg,sha256=2ksWVa6uVlySvIbPZlk0IXfdFGPabf7bdpQcCnYoz6g,700 +material/templates/.icons/material/charity-search.svg,sha256=JTNZNbdvCz7UBpxdfYoqdmWQrgf-kWhJoGD1A151L-U,947 +material/templates/.icons/material/charity.svg,sha256=wqs-Ngh_TfcgXvS2iP3MduW2039wf_W_YvV-j-rBecc,1112 +material/templates/.icons/material/chart-arc.svg,sha256=Z2jHa7Q95ddt_nooAeWqRfbOoREw_8df_93sRj3QgRY,452 +material/templates/.icons/material/chart-areaspline-variant.svg,sha256=nb9Lzi2UuNIVrDBDR_3g635_1ewpgIwZgsEbWiy7IZM,134 +material/templates/.icons/material/chart-areaspline.svg,sha256=7W3p1FE7DtYWTHUNA6nMNA9nEQAG0wHhd97ikYlIjQQ,198 +material/templates/.icons/material/chart-bar-stacked.svg,sha256=oF4VHFG4HWocEiwV7YRZGRn3md9DxU-iF3Ean9yHl4s,191 +material/templates/.icons/material/chart-bar.svg,sha256=0IGeSWac3La86jm2OxvIV7Zeud90oqh7FzTO8z7YlQE,121 +material/templates/.icons/material/chart-bell-curve-cumulative.svg,sha256=imWw5t-nMy0RFp_K8ey-mrnFt0kI9ycx42_v2ex0cP4,183 +material/templates/.icons/material/chart-bell-curve.svg,sha256=sY1eGSEPwJYqY7qUJ0emonVEhmcxdxxemKVrZrxLVV0,295 +material/templates/.icons/material/chart-box-outline.svg,sha256=ix-Rzhw2k2W6JZbuC2IhHotSqt8-DKHtbJ6qqxxL5AE,212 +material/templates/.icons/material/chart-box-plus-outline.svg,sha256=sbV-3VKBK66ZlsOKnx30S5i78w3UWHHN5WJ2G8qf7iQ,229 +material/templates/.icons/material/chart-box.svg,sha256=BIquPg5DI-8p3idlp26u8okBMbwORTfnihEctUw9gUU,196 +material/templates/.icons/material/chart-bubble.svg,sha256=2GuG40pBSQBtBCSkQa9M2VRYANa3ay-20_2YqIgxQio,345 +material/templates/.icons/material/chart-donut-variant.svg,sha256=VsztQY94Z9WHgn6W7Z4bBX6qSpZYxr0RKa7p1SSd20E,582 +material/templates/.icons/material/chart-donut.svg,sha256=GWTRyoo2rY7-2fiipJKd7fb6aI46FEO8ODmFLb6PxY4,342 +material/templates/.icons/material/chart-gantt.svg,sha256=43FwqbIBGUcxSLfi8nzBwi_5WC8_pZvSnQU0WlujHao,163 +material/templates/.icons/material/chart-histogram.svg,sha256=buxGQuHrwboYtuyCx25q6qs6NjMwWPdxKVowl7fUBVc,108 +material/templates/.icons/material/chart-line-stacked.svg,sha256=elafG05AyMOnlhuv5MQ1SOD-kxdaK47PTVwj_FIz3Sw,169 +material/templates/.icons/material/chart-line-variant.svg,sha256=3p00hDSd64VmtiYzY-sbz4Ov8uaazLemhbiDbUb52o4,139 +material/templates/.icons/material/chart-line.svg,sha256=HzfUpy3mWBADBjy0UPibOqojiVDLkfSlbkrlLvMREz4,165 +material/templates/.icons/material/chart-multiline.svg,sha256=eqdgwJZAqHWdCQBsK7hR6OiMs5LdS8HXXbta265OK-M,328 +material/templates/.icons/material/chart-multiple.svg,sha256=5IH9DVE8_1N_C42R4kjtt-frPe7hbKijKHr2ITtJ2zo,182 +material/templates/.icons/material/chart-pie-outline.svg,sha256=yV9XkZJ9AQH8zEe6wDISqST9mUHkzE8XbLitX-RgFI8,496 +material/templates/.icons/material/chart-pie.svg,sha256=EtPnp8pcWh0GfpLXhfsCrUojwIH8DWA4Ykct3SP0194,176 +material/templates/.icons/material/chart-ppf.svg,sha256=6cGYqokepOpKkpoo15Oll75tOqEBLSNMdpNEtv7uros,178 +material/templates/.icons/material/chart-sankey-variant.svg,sha256=CEnfrwZ9VwOgHZWxP7NHHUZ7KH0LupeeBpmOPjcHajk,212 +material/templates/.icons/material/chart-sankey.svg,sha256=IeYBZfKmcJLDJicovNbLNf-ObrnAGUkikzmau-RhzTY,184 +material/templates/.icons/material/chart-scatter-plot-hexbin.svg,sha256=vTcVfuibVrzG4vQD4ua70J4RbKmfqLlrwkWgYyadCrQ,238 +material/templates/.icons/material/chart-scatter-plot.svg,sha256=PzrlvYtQM-u3fTGfTv_RaGFJPa6RisZTtaEZ9YoYBTU,278 +material/templates/.icons/material/chart-timeline-variant-shimmer.svg,sha256=8trBJlfsQRryoyn4c9I3CgT0YDmKRAd7kuVwHm6ii5k,456 +material/templates/.icons/material/chart-timeline-variant.svg,sha256=fdDawy6VFPVAUHgN1iSlGgAIDac-usfvIutAIb0qPXo,447 +material/templates/.icons/material/chart-timeline.svg,sha256=AUe3t4OKgpH8YSAvBH4QCN8qxNM74UVR2Sk19g_xLoA,148 +material/templates/.icons/material/chart-tree.svg,sha256=TgQHGI9lwTvYsnSqDEH8GBQogsLoHOG1Th2jKMySKsQ,150 +material/templates/.icons/material/chart-waterfall.svg,sha256=xUFAKUiL2yK6VSYJDi3C4ZU2qaTCqBAJ_zQHyVa3lxI,153 +material/templates/.icons/material/chat-alert-outline.svg,sha256=FPmKgjbwMNR7_aowSNJyoZF2W_5n7HFRJdqrRPm3D8A,315 +material/templates/.icons/material/chat-alert.svg,sha256=J7p5z59RjZw3wL9JJ6hfyNbS1CkZSOB56RTCdeHOZrE,256 +material/templates/.icons/material/chat-minus-outline.svg,sha256=Er-LdfgcnakluoSzn6a3Wn294-O-RkNPceLW3OKBU8I,375 +material/templates/.icons/material/chat-minus.svg,sha256=BUglRv4a_nKVyiNu0ZPKGfp0dO11sosfC4oM3SdloJk,292 +material/templates/.icons/material/chat-outline.svg,sha256=vw3Qm4oo82uNMkoZe-D34DbfeO5zpoA_Bg30FN7oHdA,287 +material/templates/.icons/material/chat-plus-outline.svg,sha256=_kLufJQsV5o9SQNbsiETXZjS_Ogq0tOz87pie14qhRg,394 +material/templates/.icons/material/chat-plus.svg,sha256=bIp03K-ho8AtEewRoMF0RnPz3p__jXmxedWqQEVlOLs,312 +material/templates/.icons/material/chat-processing-outline.svg,sha256=jY5lDctHa-sjv6s4dnizuTX3_5oGCI3I6aYLtNzjFCc,330 +material/templates/.icons/material/chat-processing.svg,sha256=fZH54n5mSr8ApUbL0UPPG227BanBx27jbtyiPm42Bhg,270 +material/templates/.icons/material/chat-question-outline.svg,sha256=YQDq0erx289xSM5dpwHOC1Y19UM_yaa-yyJaYK7WjPw,547 +material/templates/.icons/material/chat-question.svg,sha256=dZf63wjuDGJ1FCalN5GIfZPReTLO4wbg2cSHxAz5WI0,493 +material/templates/.icons/material/chat-remove-outline.svg,sha256=DVDEkPjlsksBh0H3xDU6PTxOU3vD0hEhaDIo_4qd8-s,489 +material/templates/.icons/material/chat-remove.svg,sha256=G_Qd0fmtJR5d1vFK79dKc1hJ7QcVJ6yF0TC1Ubq9jWk,406 +material/templates/.icons/material/chat-sleep-outline.svg,sha256=KEU0KumUo-GCjJfRMk946HKJ53UQ4IB_Qday-Mwa-Zg,331 +material/templates/.icons/material/chat-sleep.svg,sha256=GtVmxsJmWcwRzCGAlecotn0a8ZRJaKB6eb2WFlD1Nlc,269 +material/templates/.icons/material/chat.svg,sha256=xJB5NIU_dOSLVrv958B7LWK2-bsbWt3ftf2WBeIy_go,227 +material/templates/.icons/material/check-all.svg,sha256=7r9T5Ad0VCIlInbp-Q35GdnMvOla9ocfg3mU7TV25Xk,209 +material/templates/.icons/material/check-bold.svg,sha256=h0xPwMcFsSOlfrOlrZlQ0Hs6b_FJxi66sacU1xiLOHU,143 +material/templates/.icons/material/check-circle-outline.svg,sha256=3-1ermqmpgdxcEoL2OzKikqyItGLmDIkdiB4puOf6KA,250 +material/templates/.icons/material/check-circle.svg,sha256=3yg3W8rds-8zUdGE8OYUvcFD1xe47KorJA9It1HmJus,188 +material/templates/.icons/material/check-decagram-outline.svg,sha256=J47c74Ou1yMqjwPfFzA-PX4xN0NoZjgVU2ClqZQetiM,424 +material/templates/.icons/material/check-decagram.svg,sha256=mCnsk9LtR4wx9P2TeOEoP2AHc5rcMF6-vJxxm60s-Dg,303 +material/templates/.icons/material/check-network-outline.svg,sha256=fHc4ra7tpVXcpb_l6WSvadRTPKGDPUf5EXvsaeuwv38,310 +material/templates/.icons/material/check-network.svg,sha256=uRXFfTxxEWe3OWuluCXnITMjOv-Ekpoxz_14vAh4pv0,301 +material/templates/.icons/material/check-outline.svg,sha256=BCevWsPD4e439P3LEFY70tj-To_IMxkNnltjfMsflGc,210 +material/templates/.icons/material/check-underline-circle-outline.svg,sha256=Jsm3NSkzJt-Z3lfX6c3yxWbp0RoH-jqp8MCU7JZuVrA,281 +material/templates/.icons/material/check-underline-circle.svg,sha256=rbe_sCkgvYHL4OVbk6IDfSuUaIPvQXEm9OhrQ_PH_l4,222 +material/templates/.icons/material/check-underline.svg,sha256=NCj6tsGxv33zuzELYLbKNuyHfZC6GbwgvYEcG_J4f28,147 +material/templates/.icons/material/check.svg,sha256=Jh410W4Uj3gTgeTse6PUC38dAvcoSln-uZWuni9aW7U,132 +material/templates/.icons/material/checkbook-arrow-left.svg,sha256=vt_jwfwLzPZ6br2VTBJgdoICCBBTdEIdSk5o-wyFQc4,246 +material/templates/.icons/material/checkbook-arrow-right.svg,sha256=9nwYkECQrDPUCqQh772F27SE7ZSln-C4wX54nQH7FB0,245 +material/templates/.icons/material/checkbook.svg,sha256=lvoH5tMq09G2rAVWi_ipvbqAI_u21LClVUcEDUXGR4c,135 +material/templates/.icons/material/checkbox-blank-badge-outline.svg,sha256=wwYTVBb641AdIaRrXzzpN56yv-1ycvQdfZP4Nw3g3HM,299 +material/templates/.icons/material/checkbox-blank-badge.svg,sha256=Wc5O3zFRSV3AAijYFTghYHB7lu_wcgLj_8fzrj_dEZs,285 +material/templates/.icons/material/checkbox-blank-circle-outline.svg,sha256=wLsGmrXWXW9orLWuKFThD9hRzNxDRONE03NMS4zbsWc,216 +material/templates/.icons/material/checkbox-blank-circle.svg,sha256=iB6lSVyLO_7UNRvdjz_Wv1ggJ3Q-ARFgyzIIqCNm9oA,154 +material/templates/.icons/material/checkbox-blank-off-outline.svg,sha256=4bKQu12aJbSK_EKXZ2BL3N10YpEo_CxO8ybB7sk8zHo,221 +material/templates/.icons/material/checkbox-blank-off.svg,sha256=hE3RTPDS3-1CYMmm3e13sqIQd6ZnzeRmXAknVCYy8Yc,191 +material/templates/.icons/material/checkbox-blank-outline.svg,sha256=4A2CiVt7-PkookdwoQHhhHoZC4ehb-zElfZ5qoGiyTU,168 +material/templates/.icons/material/checkbox-blank.svg,sha256=nYr8z3wbObQwRORFAslTMqAWKJxXAEyhIPyl0c2_lpI,154 +material/templates/.icons/material/checkbox-intermediate-variant.svg,sha256=MQXQ5WBG-PWqlWSfPkSvUgCDyq9H9fa_3MxEipt-A80,178 +material/templates/.icons/material/checkbox-intermediate.svg,sha256=4LS1g_gkpNlpkYOQVBB-Vg_777duXcIGtSVr71DcJdc,180 +material/templates/.icons/material/checkbox-marked-circle-auto-outline.svg,sha256=fgYhhJ_DgDnQPdMjUUm3jY394M0QBDYFQXHvOpUykQA,366 +material/templates/.icons/material/checkbox-marked-circle-minus-outline.svg,sha256=AmEmcj8LMwk3J-ch1azBC0RlG0SL-VKe9BT0xnNnLS8,314 +material/templates/.icons/material/checkbox-marked-circle-outline.svg,sha256=Jp7xjLZjARmWTbT9EEZGpweajwNZfJMwPuWPKuJGbug,295 +material/templates/.icons/material/checkbox-marked-circle-plus-outline.svg,sha256=rvsbkzUpy93m0Ra-P1tR-prX-a4lx9gbKW9Vbr18BA8,334 +material/templates/.icons/material/checkbox-marked-circle.svg,sha256=6eUWN0i9_yX86wowO47hXmng48pA1MhMZV2DgNKEICI,198 +material/templates/.icons/material/checkbox-marked-outline.svg,sha256=-GO5fP7_kiS8iBOIElB2FYSFW7EJolM8mBN88TyhTsY,216 +material/templates/.icons/material/checkbox-marked.svg,sha256=mZwG5o0ZSSQEbruuNEI_I51SudmeBJ50E6ixuraNujA,197 +material/templates/.icons/material/checkbox-multiple-blank-circle-outline.svg,sha256=dMzf626MZAp75u-_fLMp7N_tFElFkkmgvDgiq1ku51Y,395 +material/templates/.icons/material/checkbox-multiple-blank-circle.svg,sha256=FwwoOwJ3XHYf61AEdQ_BQSeCIDKLQEXuFcIGTWfhO0E,327 +material/templates/.icons/material/checkbox-multiple-blank-outline.svg,sha256=cATJ9K1rZO9yXXKoSfJHMc6riiAfOQIRdhpOo6ExzlE,200 +material/templates/.icons/material/checkbox-multiple-blank.svg,sha256=jvQPmlemG4-L8TokGrUmpFFdYOV_Ttuh8xvMpNnoJxg,186 +material/templates/.icons/material/checkbox-multiple-marked-circle-outline.svg,sha256=79REl6zsM8FBeAa_ur6iwWEJWeSE7Ye_sjwWE-2XgfQ,463 +material/templates/.icons/material/checkbox-multiple-marked-circle.svg,sha256=UDJ_mJPgZm3VJhXSzKww7NiC9JIy_feD6viKfpjbhYY,380 +material/templates/.icons/material/checkbox-multiple-marked-outline.svg,sha256=0-ue1FCdUq3w8wfdiePRWn96AM2SwMzX849gRlZV9mw,244 +material/templates/.icons/material/checkbox-multiple-marked.svg,sha256=NegRSAOf1Sai9JD0f3tSzY7o3Q_bQCJX3BbQGe7Ngc8,238 +material/templates/.icons/material/checkbox-multiple-outline.svg,sha256=7xrd4a4I4V8z6ffos-5uQXTKeOIYZ8PmJXRxk9DC8bo,267 +material/templates/.icons/material/checkbox-outline.svg,sha256=u-Flla9I8G_ePhBS5_XnfbpwH9pg3nXtNGCK3lvm95Q,207 +material/templates/.icons/material/checkerboard-minus.svg,sha256=4VnIsjcP9WQhzHGsW7GSJUrCD5HAmEh6zbVVtyfuX2Y,208 +material/templates/.icons/material/checkerboard-plus.svg,sha256=YUZRBHZaSCob_y_hRo9ZL6rK_o1QrGdRcQH5wWO9zzY,243 +material/templates/.icons/material/checkerboard-remove.svg,sha256=jmjEN8vk90J6KEXAcA00qWI8nuB3aQ0Y-vPtznl8_cE,302 +material/templates/.icons/material/checkerboard.svg,sha256=gqdLXikSNCpx3yLQ-6ELT-SKuwGhSL3B3OUJ_mWUzvs,181 +material/templates/.icons/material/cheese-off.svg,sha256=l8r_MZlXua24UNCEstI7kzZ_fiDJIgJxRj_sAPX9KxU,509 +material/templates/.icons/material/cheese.svg,sha256=BOYyktr51HUZ2rx9YfLRL3DhCjAq3imhDMgWcYqWN-8,530 +material/templates/.icons/material/chef-hat.svg,sha256=6L4Di2PTgzxJjzYV5ZzdM6zalBoe2QODyceBVIlm3Ng,360 +material/templates/.icons/material/chemical-weapon.svg,sha256=CshJzC3cjNHCtDD8fHqIUdvtVCnFsfXSKQkrNXJpGRo,818 +material/templates/.icons/material/chess-bishop.svg,sha256=gRoYvx3whqc8dGf-PBeRMoDQ8vcmcvzbk8iYJZce4x8,313 +material/templates/.icons/material/chess-king.svg,sha256=pua-4pmUbBEh2ESIyZlXWxJkPWWP8DOkAEqW4bM7rho,262 +material/templates/.icons/material/chess-knight.svg,sha256=wRJDDqWJRdEaSAjn8F8e2BZpwlYrFc9I6EUHVwhqBug,278 +material/templates/.icons/material/chess-pawn.svg,sha256=K11DidQ5FsTyVp2rZ2jjGrg0kuLcVeIlZrz4BVasEj0,256 +material/templates/.icons/material/chess-queen.svg,sha256=HozHT34KlSGXAvtYzX-1WVIin4KpV3UYEZLXjsBD9nA,373 +material/templates/.icons/material/chess-rook.svg,sha256=KEjNQDCjb5oNg-E4szCFsJ49rItjf7WtJoc0H6qC9Xg,145 +material/templates/.icons/material/chevron-double-down.svg,sha256=tc98oDVlA7jc-3NqWuEEzPnzxmzCV4tP592KvMhW508,181 +material/templates/.icons/material/chevron-double-left.svg,sha256=-Ydi1QGFGQbc934RKFuCpxIfaSwCcC0iMH2NI4BzPHY,180 +material/templates/.icons/material/chevron-double-right.svg,sha256=l7dClNpxcNo8kPHuzIKktD1DOK9K37sGewRSZE5VoEI,177 +material/templates/.icons/material/chevron-double-up.svg,sha256=8VosABABwKqKF4JkJIYxybobhLcFLuPpPvg5Ux63gV0,179 +material/templates/.icons/material/chevron-down-box-outline.svg,sha256=u3ozdZ3IPbSv-98csAziVeWeJ5DRCrOeKfMGicEMVKg,224 +material/templates/.icons/material/chevron-down-box.svg,sha256=sfGbYFuYpUktns1BnLlm-AR2l7ruOud9NVT6LJQIcMY,208 +material/templates/.icons/material/chevron-down-circle-outline.svg,sha256=Hg3AtR46A77NnKghIL7xTtj4IjgMkNQRvoCPOo9FgRk,258 +material/templates/.icons/material/chevron-down-circle.svg,sha256=bVyQVGUyjrxmIeTgeAe8TAUBXNnpy-xXHP0PpmmTGjQ,197 +material/templates/.icons/material/chevron-down.svg,sha256=0o0jFIuU51U3uQvoSQU7kciPYUZSpAO3ZRyVsUwJZaA,133 +material/templates/.icons/material/chevron-left-box-outline.svg,sha256=xd067wUJKZHg452XP68g9ha46fWRlEp_KV5mbHFXe3I,226 +material/templates/.icons/material/chevron-left-box.svg,sha256=DMh92EVDk7_WwzHsGdQErWBY-3vzO4XCmcsbl700gBI,212 +material/templates/.icons/material/chevron-left-circle-outline.svg,sha256=fAAlbbXGnBScRkDIIjGZ0s6mFq5CwboSOZcAVLigsKU,263 +material/templates/.icons/material/chevron-left-circle.svg,sha256=GOLLlD1LW5jfFSdpEbGIXGYLzZTbjFdzG20Ys-UPMfE,202 +material/templates/.icons/material/chevron-left.svg,sha256=5huoStIy6H6rNCyEsqexJWXFSjoM4FEsGhad-cwoY2E,134 +material/templates/.icons/material/chevron-right-box-outline.svg,sha256=5DGKMuIoS9DNhY2KH1TAF_GO8J9ETVsaiWonvjkd70w,223 +material/templates/.icons/material/chevron-right-box.svg,sha256=mtqjIHksF94f9rcB1f0WhPHl7tEsP_Sv_u8LcDPh5o4,206 +material/templates/.icons/material/chevron-right-circle-outline.svg,sha256=55Rjy8HpNeDzmC4UZkBPQe5gSdFYf3peUJZ6g6_cEJQ,262 +material/templates/.icons/material/chevron-right-circle.svg,sha256=t64-QfnpFiMg9b6XnyHD8oS36klOFk3C-Ubgfb4v6No,199 +material/templates/.icons/material/chevron-right.svg,sha256=I4xHeDAuhyB7BxaCQkzvNUAdGfIC0PAFbbWBIwwbeVo,132 +material/templates/.icons/material/chevron-triple-down.svg,sha256=VOHodKgRT2JFEEdcijV0AwBF8KPKUMQC-SbCOL_nmeE,228 +material/templates/.icons/material/chevron-triple-left.svg,sha256=bNwHR_F56pi-cU9pXtV4VR3nEFxBYI0LGwwqnTk2RDU,227 +material/templates/.icons/material/chevron-triple-right.svg,sha256=iYA_qTk5CCXhR-6c46-LnHfSnfDE8nwXRK54-bGD2KE,226 +material/templates/.icons/material/chevron-triple-up.svg,sha256=6NO_lQkVxHNM7ocvEyMBZx5jEhKQtEMCFR9_V-UcCVE,224 +material/templates/.icons/material/chevron-up-box-outline.svg,sha256=_HP2OaFl4wnRkR2oRBpcRO_qtVhuAQt0Scs4kCfAeNU,225 +material/templates/.icons/material/chevron-up-box.svg,sha256=Kth3GcNk5TRxC2gRrTaSdljkBpwidF0fh9suflylr3g,211 +material/templates/.icons/material/chevron-up-circle-outline.svg,sha256=hEld-de8ATsSMPwXSfFGnKOskjn2uiHNLUOKDyMzMd8,264 +material/templates/.icons/material/chevron-up-circle.svg,sha256=b_s4I-WrktxLQwWPEJBjpwOAdnBgbnDNZqJCZpHo2VM,203 +material/templates/.icons/material/chevron-up.svg,sha256=-YUh2BDWkPTjtQidWJOR3T3xmIHbVO9E2tAIe1HnEmg,134 +material/templates/.icons/material/chili-alert-outline.svg,sha256=pStHbKG1YGxsQvpyBmuhVY1N1kLE-BTEpCEmDHCisFs,401 +material/templates/.icons/material/chili-alert.svg,sha256=oFP9pLKJxk02ZDAh30aNn7UM3dvse1vb0fv7Jujf4uc,344 +material/templates/.icons/material/chili-hot-outline.svg,sha256=9L6bvaYCy7muv3pL1KExp1NZXC-JNZwS2PaF5sPn8Kc,841 +material/templates/.icons/material/chili-hot.svg,sha256=6_IsyUt3DIBAMiYipvtZNuludR_EGpwoITTi6mnOTJE,797 +material/templates/.icons/material/chili-medium-outline.svg,sha256=qLAekh5Gh1LTp2p0BrZIBe7aRm1WXC9PomKeEsDrF7Q,599 +material/templates/.icons/material/chili-medium.svg,sha256=ybcUul22V6cIEU4667A-2Cqd9YaDOsCZuf3n1AE7QWs,552 +material/templates/.icons/material/chili-mild-outline.svg,sha256=sRtwj7sGlV2BHQ6GwqtaCmQGSOJMg7g0xHzVcCQPQWY,367 +material/templates/.icons/material/chili-mild.svg,sha256=pxMquWF8djy0Ly0IjuVl4zT1z-4oWSbBN0QNqU4PkYs,304 +material/templates/.icons/material/chili-off-outline.svg,sha256=5IWFZBpuV7i-ePGjEV13k_gFTdroJLZv3CiSDktLoRU,408 +material/templates/.icons/material/chili-off.svg,sha256=CdBvD6k-ilChltIvpYnNs8xFGRMGbHrGMoNXAHEkSZs,352 +material/templates/.icons/material/chip.svg,sha256=4WO6j8mjCUaY10p_tpeHXXXxDzlV2bnL4fcJdDa_h5o,208 +material/templates/.icons/material/church-outline.svg,sha256=v1kAwwhfqn8exvn3RjdPeR01bZiW4G2GPz5A_xsvdkM,365 +material/templates/.icons/material/church.svg,sha256=xSxk6dcI1NCSClLdmosunonVnmfqN0Y_j78vr4on87s,260 +material/templates/.icons/material/cigar-off.svg,sha256=GVUCs03bg-dYwtThmGU056VufHJg7tacWE7r-taBHVM,688 +material/templates/.icons/material/cigar.svg,sha256=E0Rp88J2mXjfQJjSI9IngnSXr41JKZUy6mulzIX7wa8,507 +material/templates/.icons/material/circle-box-outline.svg,sha256=XbP91UkaizHZQd3aWQJwZxgCM7tj73ayC5mmsSFrdf0,226 +material/templates/.icons/material/circle-box.svg,sha256=lEUah18x8OFMkSJWFs3I7WiTKipLNSrLksfn0BHeuS4,213 +material/templates/.icons/material/circle-double.svg,sha256=p5ZzD0v84D_4Z67uaW7HIyFZSbuvYfhSRIr34IGcWrQ,334 +material/templates/.icons/material/circle-edit-outline.svg,sha256=Q8durWpOzEGvQfKgZXKNV4yaMGPYNU1CSQQhwUQ8bJA,333 +material/templates/.icons/material/circle-expand.svg,sha256=A9vxwEeGqsQpJotS8om2rlaOFd7_AOjL-D8BxaQPjZw,337 +material/templates/.icons/material/circle-half-full.svg,sha256=2u4hf3KaMM8hrd6Mzyh414bMoE9AHeeSFNLRYHK8gis,188 +material/templates/.icons/material/circle-half.svg,sha256=b2ihXx4oGlUQ39jNYoeiALYaqhGi7d5U9CaPM1Qgra0,121 +material/templates/.icons/material/circle-medium.svg,sha256=1mYZ6Ipdfe18iuRDS4zLSjsWhAQekFSi5qo_YB3h1rU,140 +material/templates/.icons/material/circle-multiple-outline.svg,sha256=_Pr2vdrJgIe1U3cLXJl7lnyZT2Tpd6JiRRpNiTK_i2E,309 +material/templates/.icons/material/circle-multiple.svg,sha256=3tStxebMhcDtClW04d3nDcYgAUH-iFxdUGXifmdtS2s,176 +material/templates/.icons/material/circle-off-outline.svg,sha256=VbKLOIXBnLjlKaE2ueDsUZf5AmhxMbPydUitCweMDYw,449 +material/templates/.icons/material/circle-opacity.svg,sha256=J7pbWvTPTEOfNaTvKd2U8irppHD5howIZA8_s5Mi1Vc,552 +material/templates/.icons/material/circle-outline.svg,sha256=wLsGmrXWXW9orLWuKFThD9hRzNxDRONE03NMS4zbsWc,216 +material/templates/.icons/material/circle-slice-1.svg,sha256=7MvkmcHd-9VzMvpdi8YR0N8nTiSEnjypOIJNwsvbN-k,233 +material/templates/.icons/material/circle-slice-2.svg,sha256=T-O-sgmNkxBEyfe6n7IdCgefM-RMI9fjUOVXwdeGb20,223 +material/templates/.icons/material/circle-slice-3.svg,sha256=jpi3levA0_BxiGQPfLR4Eg0EuJZaU78IwESlIlEaY4c,252 +material/templates/.icons/material/circle-slice-4.svg,sha256=CXK8GE7OerASo2OzTsJNaOFftZcfqljlXrlP9tYSzag,232 +material/templates/.icons/material/circle-slice-5.svg,sha256=c5P5MbQcwXwpgwdw_n1-I1ZYeUkBP0U_Iyj1RiCJawU,265 +material/templates/.icons/material/circle-slice-6.svg,sha256=G7K2wKRHTlxk0SkEaUULtuh81UPTCikXqO-mil_dqss,245 +material/templates/.icons/material/circle-slice-7.svg,sha256=wU5eveZD0Ksjm9fRkiX3AWiLwfcTdIBtwb9KYTXuPXM,274 +material/templates/.icons/material/circle-slice-8.svg,sha256=dmWfARt0YEm5UON3pKfaWBfRBE8N82QwVQIh26NQmh4,252 +material/templates/.icons/material/circle-small.svg,sha256=582smMzoIdcAIf9cNNgjvxZfMBE31dR0j8XaDsxr7mg,144 +material/templates/.icons/material/circle.svg,sha256=iB6lSVyLO_7UNRvdjz_Wv1ggJ3Q-ARFgyzIIqCNm9oA,154 +material/templates/.icons/material/circular-saw.svg,sha256=LNAEvBwe_ubF_7R_igCRFZANjNJzHjO-97u44oBvmP0,557 +material/templates/.icons/material/city-switch.svg,sha256=ysATa2HNe3F49p0ARzP-HIryMQNyti_ve2TU2tBPnyc,227 +material/templates/.icons/material/city-variant-outline.svg,sha256=da9LaXFq_bwgu0C19Iacoaiujf8v2ucSXxQwCa9WcZU,331 +material/templates/.icons/material/city-variant.svg,sha256=UwipyKrzkBmmo9itS3GEq-v6MZKK2ZHJxps0OJ-TI1E,293 +material/templates/.icons/material/city.svg,sha256=3KODN2sDzRmJLrDx3cAucsgzF-jHQb-fnTOLkF-4TXI,216 +material/templates/.icons/material/clipboard-account-outline.svg,sha256=IxEuDPDFymKDXUl8djdLyzc6PCRNVOFj5ND0KODZbG8,378 +material/templates/.icons/material/clipboard-account.svg,sha256=E67hQq4CUJ1KZYq069osWeKgNku-bHNTD3ROaMAhK_Q,360 +material/templates/.icons/material/clipboard-alert-outline.svg,sha256=WKKGxx6s8KEdoL9rXKyFhFlTBDU5JuxbCap3PFry7Vs,309 +material/templates/.icons/material/clipboard-alert.svg,sha256=uSUFU7-FIZOUjYRklRXsj0As6AyJWgATqHfqB2OSNMM,284 +material/templates/.icons/material/clipboard-arrow-down-outline.svg,sha256=Yr8hxJ7yk9LaIW00TZi5-t2CXzEZ7hh9tyczIjEpQ6g,304 +material/templates/.icons/material/clipboard-arrow-down.svg,sha256=iI-3K378Ck_nI3pAXaKtd1rESHHgwoGPohb5aG2zcmE,279 +material/templates/.icons/material/clipboard-arrow-left-outline.svg,sha256=Feizhj5TffnUq5GBbK6opnu_McBSmh4cTlqNZCvxqqs,306 +material/templates/.icons/material/clipboard-arrow-left.svg,sha256=5df92kDxW1-yQIuC4cEQEH909G33RtT0y2iONjpKKm8,283 +material/templates/.icons/material/clipboard-arrow-right-outline.svg,sha256=DxE790D5ispwXaplUHoFe6jiQBltAStvfEXz0Sfzh18,308 +material/templates/.icons/material/clipboard-arrow-right.svg,sha256=3ZIgnV0L5QbjAzp7N8dexGe9XrxGajE45hrJjzbFvEI,280 +material/templates/.icons/material/clipboard-arrow-up-outline.svg,sha256=OO_ozOLvsUwbSoDrwUgbi5zvioidKThvU__9mPNyHyA,305 +material/templates/.icons/material/clipboard-arrow-up.svg,sha256=khQWI650kHDJbW0ob3wVvzoc2PA5rPI5BfFUnql_iM0,281 +material/templates/.icons/material/clipboard-check-multiple-outline.svg,sha256=lX8sbtFHqJ3ZD-gEgo2-jp1i2zz-G9U-18iOtNmR51U,369 +material/templates/.icons/material/clipboard-check-multiple.svg,sha256=_C1giKG3Bk0h5Nv1K-x1xodGii_KLjAXaPuLNV6QzCE,321 +material/templates/.icons/material/clipboard-check-outline.svg,sha256=Y3aRplyQKUi3DZ896ZBHXOaAl5oFkD14qzHiRddZBx4,325 +material/templates/.icons/material/clipboard-check.svg,sha256=gZ6dOCEzx7bAaHJJCRSMnmUFbzJIMGSVeVWcBNdq-0Y,303 +material/templates/.icons/material/clipboard-clock-outline.svg,sha256=6MmIXbK1xhAj1qQCbRMt4gRqDhzGoFZMN5Wt3Js12QI,457 +material/templates/.icons/material/clipboard-clock.svg,sha256=AktQ6gp5iPTsmOpeU861-qIMnRCwhUKqsQpm6IgU6kY,400 +material/templates/.icons/material/clipboard-edit-outline.svg,sha256=-SFGM0Vibk7H6JF5zyHWHTDwT66xi_dbmWXgb0HqcFA,415 +material/templates/.icons/material/clipboard-edit.svg,sha256=rXvokObIhuUNNDSfGqXogwsKTIhjcxSqZBSybqjMAIs,394 +material/templates/.icons/material/clipboard-file-outline.svg,sha256=LJwiVNtNzDecZ9bxLSoUUKtDFXG6OcD53kgk3zN83X4,361 +material/templates/.icons/material/clipboard-file.svg,sha256=YgFJqKxPPa6PcbiMYKD-YbC4PVh8VJYHesDp6wdVLVI,363 +material/templates/.icons/material/clipboard-flow-outline.svg,sha256=HJW1h14T5ncr5E3iZD7uoaJquGSikJXa90TcWzOheGo,320 +material/templates/.icons/material/clipboard-flow.svg,sha256=p68hoHmKn1HBD9O-Gntj_6t7yVTVDehVMAhsUSUrgXY,307 +material/templates/.icons/material/clipboard-list-outline.svg,sha256=HUUyamFcFCEEf0HLx4Ac6GqEKRgAzNQXgxMDho8_O6U,395 +material/templates/.icons/material/clipboard-list.svg,sha256=HqC3a36YBywxLCuBNDBpD0zDaCubV9dgooCecAo_6Do,368 +material/templates/.icons/material/clipboard-minus-outline.svg,sha256=9EUsrapZfOQH2BXtepb20r5C2kxgogy2k3eWmhEQRD0,287 +material/templates/.icons/material/clipboard-minus.svg,sha256=Fe1DxGLGI4-XmpB8mXFNAjIWDxdaI4g0JgQ9sQ8KRBU,264 +material/templates/.icons/material/clipboard-multiple-outline.svg,sha256=BETwbZ2EmlKjKja6H_8iZwrAT21k5YSP8lDB2oS3zCw,312 +material/templates/.icons/material/clipboard-multiple.svg,sha256=Za3S7iIN_p6dKRasdTqWsiWn_TvimUw2RPTRg1slFoQ,275 +material/templates/.icons/material/clipboard-off-outline.svg,sha256=Sl88PaArffabN9oN5nWd8Ey1E2rveBLZ1OgR2Bkj1WU,315 +material/templates/.icons/material/clipboard-off.svg,sha256=c97JrtTetPv4MaIF7aWBPaNXnSoa-H_ZVsIzE2qjPFs,286 +material/templates/.icons/material/clipboard-outline.svg,sha256=CvvHXG8XO3QZjlq6KuaJ-RB3WghXc8wun33kH2S_V9I,282 +material/templates/.icons/material/clipboard-play-multiple-outline.svg,sha256=QBwoFiwalkR8-oTSygYs36Fi1VvewAqAeazvppjEhL8,308 +material/templates/.icons/material/clipboard-play-multiple.svg,sha256=_HyQ-oyHeCLg2vOX69lRKtqG-TWM4BuqHnjnyhIvzas,281 +material/templates/.icons/material/clipboard-play-outline.svg,sha256=_y5fh4yW8NE_VxatbYCDcXIS2cxf9tbqXrzKGlf6OAQ,304 +material/templates/.icons/material/clipboard-play.svg,sha256=lEdWEyXomt3MvNYKY6re7WHJb2HkKmG8cFJ-u1fysQg,283 +material/templates/.icons/material/clipboard-plus-outline.svg,sha256=-Ukpw7AUneWrEopSr29ET8-6GYR7NatfTsgCSLp5RA4,304 +material/templates/.icons/material/clipboard-plus.svg,sha256=4nR5nLi7Gk8zjxJt3uZRAFdxldPOJuautR45GD25epI,292 +material/templates/.icons/material/clipboard-pulse-outline.svg,sha256=vF047HilLbDFuZQNZNuGL61oiHOCH13Zct9pzkuPegw,389 +material/templates/.icons/material/clipboard-pulse.svg,sha256=KMPVz0by6vRWw1i6FepNqRnB8adk4A5uztpkiMiyDJU,367 +material/templates/.icons/material/clipboard-remove-outline.svg,sha256=CXKP5CADwCeDYOJsWS1SmnQLBvR9NAKFZE1Df0iecSM,402 +material/templates/.icons/material/clipboard-remove.svg,sha256=5sx4fQiurhIjhDYkrJ2iHF6EH4i4We-Eje7558CDpBs,379 +material/templates/.icons/material/clipboard-search-outline.svg,sha256=e92qIi8AyP8lonRN5rrolu30mkRHxQz2a1YIXA2xBPg,503 +material/templates/.icons/material/clipboard-search.svg,sha256=rcGkXPCyIjZCRFH1AhvTX7w66vU_wQLCH0AI5Gsb9Pw,491 +material/templates/.icons/material/clipboard-text-clock-outline.svg,sha256=0Fuwn3lAFaqSjdnWgmozEfIybRQg6NrTJIJ_Ga64DEw,537 +material/templates/.icons/material/clipboard-text-clock.svg,sha256=f0D2_hTONq7BClTV3-r93AtXLCnOPNh77a2fsqichl4,510 +material/templates/.icons/material/clipboard-text-multiple-outline.svg,sha256=KjcDB88N4io9aUlYCMUNU3QgJnTTefxUo1WanRMtLhg,335 +material/templates/.icons/material/clipboard-text-multiple.svg,sha256=WEBuhRLaAEyNANLwEB2ILswFm6mTw6OlXqDT74nQ30c,298 +material/templates/.icons/material/clipboard-text-off-outline.svg,sha256=9FQ-N0M2oP8Fe6_dsKIhi3ycQInvqC_HnyKo2KG2Pkw,372 +material/templates/.icons/material/clipboard-text-off.svg,sha256=HXecux1R4-gXiXt6Mr64Wnc-ApTLdmpP25CPaTsmLjI,352 +material/templates/.icons/material/clipboard-text-outline.svg,sha256=dAFxeYlWNUX50JRJttBvP51dvNfhSQQAXpeRsTCPYgY,317 +material/templates/.icons/material/clipboard-text-play-outline.svg,sha256=hDQ92iikuGOI-YVICk78hM-2-DEqy4lW-zFHotBQ9nY,317 +material/templates/.icons/material/clipboard-text-play.svg,sha256=ShKDT6347q9fLGzM8qg3Rj17_Iexc3_xVW9VYOisnDU,370 +material/templates/.icons/material/clipboard-text-search-outline.svg,sha256=PGFbjOMDKlOajPFObm-F_1cPoXRZoQGJKK6lUACAE9c,608 +material/templates/.icons/material/clipboard-text-search.svg,sha256=0O2O52a3dz9sr0Ar1_cPM61doTxyrnhNi_1Bz8zF1dY,584 +material/templates/.icons/material/clipboard-text.svg,sha256=8K5bG8m92wjIvBLFhp7kZMoorDvvyTskzUe2uojFST0,295 +material/templates/.icons/material/clipboard.svg,sha256=ue1OM8CQzL4UU9s8tr-hmSL5zKXQ0yl6s6-iOmB1NjU,259 +material/templates/.icons/material/clippy.svg,sha256=VRM6ulm30EwvErQ9nieTcVXRfFZ10m5wSW07VFCStgg,1031 +material/templates/.icons/material/clock-alert-outline.svg,sha256=5WoZicABrEjbIPzVH5t8pkAYApy6gxMVfRYlhUFyttk,287 +material/templates/.icons/material/clock-alert.svg,sha256=Hu_0IgMeBwx4XUORnlLenPSi-kQfoszTIACDrTyLbaU,226 +material/templates/.icons/material/clock-check-outline.svg,sha256=Ok5yTwfqTcuF4Kl40NA_dz-wQtv9Bko5rFt_H0H5RQk,370 +material/templates/.icons/material/clock-check.svg,sha256=7peTWffT1b8UP-bM9iAjWcFPMLDYArQ6jsspIX5d1WI,312 +material/templates/.icons/material/clock-digital.svg,sha256=poD8C9VHxsdxX_Ony7LCvfVciebAc0RXUVRKWs1gjVI,329 +material/templates/.icons/material/clock-edit-outline.svg,sha256=uhqvniNSMwjJGPzJdNtT1aL5XQFe4jq0dbzwtPGDQHU,397 +material/templates/.icons/material/clock-edit.svg,sha256=FXEalf71iYXdu341wJ9tyGuhh818X1ojCLk_7Jmgr70,341 +material/templates/.icons/material/clock-end.svg,sha256=UCSHqRKP3YhEWC7w1lWyfw-UBkNpcr8fA4XSZxnhHgY,333 +material/templates/.icons/material/clock-fast.svg,sha256=6ekHq2kBFb7-Tup8yPy1Zq2Aq6Jh4FZLa40XZ_vVFo4,416 +material/templates/.icons/material/clock-in.svg,sha256=qlgxhIfLWM3qeCe5yrOMRTsDivZrdQQUlu8mYTQJ17E,341 +material/templates/.icons/material/clock-minus-outline.svg,sha256=zJIF8sRDk6IXsjeTzOY17PtGg_ZJXTE3F84Ntlh4rv0,389 +material/templates/.icons/material/clock-minus.svg,sha256=ZHMo4pvuiGS5H2nOjcX39656dgw4eYQ80eUm3ed1QbU,314 +material/templates/.icons/material/clock-out.svg,sha256=wYbTunAciPV44PI_W1ipcM-478UaSKeqWzJZH2LMan4,343 +material/templates/.icons/material/clock-outline.svg,sha256=frhOnenyTq1_jPUywYWnyA23Jddm9WirZCXLzIP0scQ,259 +material/templates/.icons/material/clock-plus-outline.svg,sha256=5CbAQLOvbARQ1btVOYb_QmyJA_3PtVPT2KHf04UlxG8,409 +material/templates/.icons/material/clock-plus.svg,sha256=Q1h38ZmUpGFU873615RJl2jMVkg3_YCXcTi2HPUtE-0,334 +material/templates/.icons/material/clock-remove-outline.svg,sha256=37VlgGVSyEF1AELVVe3sqk0aXZGs8Vo9ZcuXOn1BNHs,501 +material/templates/.icons/material/clock-remove.svg,sha256=COr2-Q0ZDwA5d0PqzfoAKLQB3ATBkI_bryLoglclwNY,425 +material/templates/.icons/material/clock-star-four-points-outline.svg,sha256=v0iOOLokjwiWGexRoPeOWz3WHiNdtcyYUdqH_w-OfkI,403 +material/templates/.icons/material/clock-star-four-points.svg,sha256=WFSDxRA-Uu_fYL7nFyzA2DWUbN8ptBBKZGALF1XFgVA,357 +material/templates/.icons/material/clock-start.svg,sha256=_dsIeWO07tyd0JMRjMX7bJaVMJ9xK_xOaJHaETl0YqU,330 +material/templates/.icons/material/clock-time-eight-outline.svg,sha256=zED0fyn0rundaQqqUsW7tMLKOZbrpEF6Ef-nfKi7zf0,232 +material/templates/.icons/material/clock-time-eight.svg,sha256=KfZXxtxA-xYXzyy2e1kYLaY_c1ybub9odItHVoVQdFg,180 +material/templates/.icons/material/clock-time-eleven-outline.svg,sha256=oP0A2AIDmdZHdsA3522miJ06qkggGrNYG462QZ29az0,230 +material/templates/.icons/material/clock-time-eleven.svg,sha256=VWxuhKiEZhan5OmvN_1Qjdk9LtMOzYgfOnEpo1NEJM8,177 +material/templates/.icons/material/clock-time-five-outline.svg,sha256=6c7osLL6GvWDTv3kIit9sgWGiSDUhjfI4TjANMf7d6c,233 +material/templates/.icons/material/clock-time-five.svg,sha256=JelmtR1an1uAn8jxS3-0q_taa6AbO0aGp2StlFm6uQE,174 +material/templates/.icons/material/clock-time-four-outline.svg,sha256=zu2_Da38BDGMN0SFFp2dQMZRZEgGJ2tzwdWwZ-xoThU,233 +material/templates/.icons/material/clock-time-four.svg,sha256=vijUId83bmyT3A2IfqikUO3GKA-lG4VU6i6bkUlQJFU,181 +material/templates/.icons/material/clock-time-nine-outline.svg,sha256=-oqHqjwIknJTNrEfu3omOgXTdZfJ-eOsNOf4T0q2M7o,215 +material/templates/.icons/material/clock-time-nine.svg,sha256=rvbpqiAc0VyIQpZYlRyQGvmuKH3afBm7jMjfL7EU_lk,162 +material/templates/.icons/material/clock-time-one-outline.svg,sha256=8Drx_A992mv91dzQsAMVtoWDS4GjFFsU2jcJqPfKIj0,249 +material/templates/.icons/material/clock-time-one.svg,sha256=PT8wszIQtSxq_Uv2vFQvc25Jeva0XOmqkmCZB6k9CMY,177 +material/templates/.icons/material/clock-time-seven-outline.svg,sha256=_Dz149MMrztLBtUwvWr3VZR0AtJOCr68FHwM1EUSfbE,231 +material/templates/.icons/material/clock-time-seven.svg,sha256=Mey92ctvYxNvtneVQGjnnZA5qgvet_CNk4YRz1QL1Dk,180 +material/templates/.icons/material/clock-time-six-outline.svg,sha256=vWL94ifkfXU2k5Vh5cp9n9hHRzjZRmGpv8USdlFP_Iw,210 +material/templates/.icons/material/clock-time-six.svg,sha256=8T9r97oxb_1CoZ5gV9J1qomoRqKlhpnEZ8G9g6PvilE,157 +material/templates/.icons/material/clock-time-ten-outline.svg,sha256=bvBO02VO1btB5iiSpfo3V-WyeQdpxbdam4JWCKwwrF4,231 +material/templates/.icons/material/clock-time-ten.svg,sha256=bVg2aYxN7ea55XLCo_tJRT4olSQLUJE9ka_T4VQ_GdQ,177 +material/templates/.icons/material/clock-time-three-outline.svg,sha256=xf7KdFhtItZg_JFQY3vRj2IuWvysCmPN6ISGFZBBa9c,218 +material/templates/.icons/material/clock-time-three.svg,sha256=C5qC2ABIGtEgv325cj5Df4hxE-ebcAZqOvA71FjZ-sA,163 +material/templates/.icons/material/clock-time-twelve-outline.svg,sha256=ARkLDQc4r0Zu2EU-XRWGnNmK1gYhm-afuf2GVLsRbr0,229 +material/templates/.icons/material/clock-time-twelve.svg,sha256=ddFbtEm9gLLgxxW58wWw-1w4EhgYqElIknpzdIHu9u0,156 +material/templates/.icons/material/clock-time-two-outline.svg,sha256=bz_SxieRA4JfOW8JKsQmMoWpWeTDGeN7uhOuo1ZQ6DE,250 +material/templates/.icons/material/clock-time-two.svg,sha256=ma3bn7y56G9j0HrTDVEkM-MSbEAV_9o0H6PpRpq4Kew,180 +material/templates/.icons/material/clock.svg,sha256=Enn7sN20c4cVKVwi8j9hA4P8HLn1YcXePRbSRfU2Egg,194 +material/templates/.icons/material/close-box-multiple-outline.svg,sha256=6hh_oGO3SjucJ-K65Txw6AhoZxww9wGYDWa1J5whCaI,316 +material/templates/.icons/material/close-box-multiple.svg,sha256=E9z5d07L-n2i1732FCYYzOkJroNcyldpSiRYv6MQ0R8,326 +material/templates/.icons/material/close-box-outline.svg,sha256=K6oCkUHX--YV1XCFrv2NHK4spgycV33wR14FCoizE6g,260 +material/templates/.icons/material/close-box.svg,sha256=gfIjfe11VMgU9zJoZRr4d2zGU_eqAaJUXzxTz4RR-WI,246 +material/templates/.icons/material/close-circle-multiple-outline.svg,sha256=NZlHRFRfFd1TCDb8vw8OcSAI_Kt6BHX5E-v88b4JSoA,409 +material/templates/.icons/material/close-circle-multiple.svg,sha256=UVqSFsCP_FvEKnfik4JFQG6F1CWPMTdUesUmzNAbnFE,345 +material/templates/.icons/material/close-circle-outline.svg,sha256=QCrQm_gnulRpiABcjNCnKf579zVKAoMXAFXY9eKVwnk,309 +material/templates/.icons/material/close-circle.svg,sha256=vsBOEV6gz1laXIvPfKHRpDuLOr6DqDxw_opa4QMieUw,252 +material/templates/.icons/material/close-network-outline.svg,sha256=hOSEngjerwS3Lt07d5WUb4OjmZiS_qN32h3YaQ4kxoQ,376 +material/templates/.icons/material/close-network.svg,sha256=vQcRqgwfdW47IXH44vzWimeOgmMnc_-rJFcVHmFgNUU,342 +material/templates/.icons/material/close-octagon-outline.svg,sha256=ta3O1FwAXBVSBe3Nqk7q9JTnjH-hF-uQoxanmGL_hfk,313 +material/templates/.icons/material/close-octagon.svg,sha256=vdj3mAy_HhfCc-131056nXlsw4Adk3qc8ghPLetl6Tk,232 +material/templates/.icons/material/close-outline.svg,sha256=x3Vmx-Vna3cqnTAqH3tJsEnZJJXOh0xwgNXz0fzweRI,309 +material/templates/.icons/material/close-thick.svg,sha256=vzCGs0Ig28-4IuNjwv12AhytrFzpgJfDvxAV-uVcilk,185 +material/templates/.icons/material/close.svg,sha256=E4AmsRZN_AlF6fw2ur6lH6A4ltGXzTYofuWVtvmkDIU,187 +material/templates/.icons/material/closed-caption-outline.svg,sha256=E5VctkXiy9FuEpX7xWbG9B8_EsJ1s-N1xXc21kKWYF8,675 +material/templates/.icons/material/closed-caption.svg,sha256=eVoMluIsWSSRQc5nA7-j7LDn-h1Rwlr0R7YKzPmQA40,338 +material/templates/.icons/material/cloud-alert-outline.svg,sha256=VPgBkxr2W54vaZf35d_ciBKmlCWGArAfSoxBPaN3eV8,687 +material/templates/.icons/material/cloud-alert.svg,sha256=0MM1LyuFC045zFlWGXRLTkThL1zeAGtE2YsNhNJpWGM,403 +material/templates/.icons/material/cloud-arrow-down-outline.svg,sha256=_n_Z0tlImFt3ga0PDXAPQbCoPGlhBQ3kM2mOcTVchOs,602 +material/templates/.icons/material/cloud-arrow-down.svg,sha256=bHHxO_hIDZZ4MorZ54pFkKYqA7u-NUtiX2qw5LcSpQs,402 +material/templates/.icons/material/cloud-arrow-left-outline.svg,sha256=B2RqJaSPzNjcoj7ZXSQhbOmHtG6VNQPCkiBO7DEIv3A,595 +material/templates/.icons/material/cloud-arrow-left.svg,sha256=1XwaHeVlrMh9zr2kTSO-5hWapmLqLQL8znAjEBL_x3U,402 +material/templates/.icons/material/cloud-arrow-right-outline.svg,sha256=geZ8QKlfLp88d9z3uybJIEaL5CSKrCGPYFU-TIWUDI0,600 +material/templates/.icons/material/cloud-arrow-right.svg,sha256=eD4P8a9ZIHJyMizav-C_sXtfaDhmcjOJ_Wjr2_EbvTc,400 +material/templates/.icons/material/cloud-arrow-up-outline.svg,sha256=57yUXC4-QJrbNhfK4T_T5pBPttLSFbf9gemPvOo8qJM,600 +material/templates/.icons/material/cloud-arrow-up.svg,sha256=IEK-C9mTGdk88IPDKYLnGJexrUGaDZxmnWOr1FOKVpA,400 +material/templates/.icons/material/cloud-braces.svg,sha256=r6gj4lAr-gSz_y58UST9Op235MXVqfjLlSfKPu9FfiA,642 +material/templates/.icons/material/cloud-cancel-outline.svg,sha256=EJDVEPAJ0xbNBTMvKADEQeq4On1PppCTKOkrXTWK3EE,811 +material/templates/.icons/material/cloud-cancel.svg,sha256=ryyKVxfsBKD5nGFqiNzBMxt3Qp8K8SucdmDeU1nMAf8,605 +material/templates/.icons/material/cloud-check-outline.svg,sha256=t6DGOnZ7yIcZoAaQvygJuw6Ap9xuNhSobsvnqCynsy0,630 +material/templates/.icons/material/cloud-check-variant-outline.svg,sha256=xuasuyW1SnnDB73wybsECs_nUqDmqqgV58kV5uHAgow,536 +material/templates/.icons/material/cloud-check-variant.svg,sha256=1i3OTP3O2wQGD4yRbMhIGydpEYMEBAa9A-kD1-ZrmBU,331 +material/templates/.icons/material/cloud-check.svg,sha256=ExkeOPZvZsI5PusbPjLTEp_DPOL_FSdG-yqInzEjvQQ,437 +material/templates/.icons/material/cloud-circle-outline.svg,sha256=4cYUBKmTR0HYz8m121BuihCpbijwyTOqbCxigS8xwrg,779 +material/templates/.icons/material/cloud-circle.svg,sha256=vbVtM8Ff0E7iohUtaKKWm9uXrglkhaiWJCFWROnyuLk,502 +material/templates/.icons/material/cloud-clock-outline.svg,sha256=hEUxx3MmYDd3B96R67fN6pPWw45y-J9SxolOsmV5h6U,724 +material/templates/.icons/material/cloud-clock.svg,sha256=0Ics96aylLw3_cNLM5lDIa2jLcED8_wpM8ztnWl0GbI,476 +material/templates/.icons/material/cloud-cog-outline.svg,sha256=ENBLsOI5EZsXfd8Q_TJTFJf_zFAMxjy3IM8wt-eluhg,1198 +material/templates/.icons/material/cloud-cog.svg,sha256=5RgnlSmU0aKHFlemy33LFC2_FdeD7w_532at0LyH6Bc,987 +material/templates/.icons/material/cloud-download-outline.svg,sha256=yyO7hlnNBt-KHO1clprFOqqWuljupqmf_kDX4iuFuhQ,563 +material/templates/.icons/material/cloud-download.svg,sha256=lwu0LAfKvUnDHdeWysuBf5XKjvhJN64DiZYS-yJogL8,323 +material/templates/.icons/material/cloud-key-outline.svg,sha256=lcbpE-vk95NIJ7k8pX-GyjjvBuugkjjqxa1mpq7CAHw,742 +material/templates/.icons/material/cloud-key.svg,sha256=CRyRNBTGksFls-VmAWrAaT-skic8ioFh0j87zIaAZ8E,535 +material/templates/.icons/material/cloud-lock-open-outline.svg,sha256=wCJ6etYq3kfg4f_lQ_NAFqKlvnhbd0dSLezcmjBtHOE,679 +material/templates/.icons/material/cloud-lock-open.svg,sha256=AjfSjOsObo0LS-BEzVHs0Ia_krjFNNBdR3ivV8t_TC8,533 +material/templates/.icons/material/cloud-lock-outline.svg,sha256=ZzHO21YkG1rtrtw_GQXFwYbptxQ89_2hNcaVC3GdkAI,685 +material/templates/.icons/material/cloud-lock.svg,sha256=fZ3Qz8NgnozNSv2jKgHyif_ps2feQ4tH3Ssy5It0f6o,539 +material/templates/.icons/material/cloud-minus-outline.svg,sha256=rR-O8ypRxVttOFXA8-cFBAG3m1CkkBvZl1HRoE_1PIo,583 +material/templates/.icons/material/cloud-minus.svg,sha256=WkmUumUqEwS_vkPZecX0Y7NL0n_gyUHPq-OL6bnsEFo,390 +material/templates/.icons/material/cloud-off-outline.svg,sha256=RHIzdCC-QQYpaDrpAKdbfjw4MRpsiIRfOWqrtK11Y7Q,620 +material/templates/.icons/material/cloud-off.svg,sha256=SC6vPWdu-UylsscI2JvDJ6D0QlsPrqQSuUY0iChhxLc,353 +material/templates/.icons/material/cloud-outline.svg,sha256=emvD4RBWNmXlKVDyYWBL2rCmAVFVG5qdwJAJHz26nJ0,479 +material/templates/.icons/material/cloud-percent-outline.svg,sha256=gianil5UgaLdqjOrOJgmVefuRyMxHPsptACvA2ZhFpk,908 +material/templates/.icons/material/cloud-percent.svg,sha256=JG-ZIpXOmugBJsTVf87cDJ-gMJpWtoYFjfaRk9c3dtU,625 +material/templates/.icons/material/cloud-plus-outline.svg,sha256=tYMZ5gtXKS1pa-zjGkRvkj0NPagpgJ30GsI6-VyyfxY,603 +material/templates/.icons/material/cloud-plus.svg,sha256=rZPMidHIQ6xB3eWBDZC80HA7vx25zG2urAJHAM4qYow,410 +material/templates/.icons/material/cloud-print-outline.svg,sha256=IAY7J0jSJ5RUogdB6zMFpRfFTJsAp2KbbEJdj1csVdo,726 +material/templates/.icons/material/cloud-print.svg,sha256=aFbSu6sQoa4d-YIVl3A-cP22-j_Dtwr2GxMFeX8MWJQ,439 +material/templates/.icons/material/cloud-question-outline.svg,sha256=Z2PKESZ4XujVYLe0e973MQECPZFEmFswlgnobmhQBg8,1037 +material/templates/.icons/material/cloud-question.svg,sha256=RCMwfyv9quoxU9m_4_WCHjLS-XmUOFwMjGm26_i6pi8,747 +material/templates/.icons/material/cloud-refresh-outline.svg,sha256=MMSRpxqUVJnWeSg90-WUzns03uBw23LPJ4zUSURtqDs,718 +material/templates/.icons/material/cloud-refresh-variant-outline.svg,sha256=3kPIdzhbwI2l117NrrzyvDRhCIHshbqjVklwHLnDhDc,794 +material/templates/.icons/material/cloud-refresh-variant.svg,sha256=KlavpGYttZV5WcDNS5UbmBeTXCL9PM-ycPqHo9_rBKg,506 +material/templates/.icons/material/cloud-refresh.svg,sha256=HmomeNFLlb6-UEnPTnWsFeyntE4d1e8lvMMXB8CKc70,512 +material/templates/.icons/material/cloud-remove-outline.svg,sha256=ZrfL8T26RDEszPFgcIZx-75qpGjI_4Nzn_SSiF5QGVU,697 +material/templates/.icons/material/cloud-remove.svg,sha256=MBgTJsro2VQd-UtIIYkyRhyZFz-AwjejqFep9_vVV6I,504 +material/templates/.icons/material/cloud-search-outline.svg,sha256=JGjA_HbhnDr7OgpWlIgXQvmZI5RAsQPfsMpVTUanOeU,824 +material/templates/.icons/material/cloud-search.svg,sha256=aJ6SG-s_of__NpHW4r2rmNsU03wc9rvTkPr1GBGzyuQ,545 +material/templates/.icons/material/cloud-sync-outline.svg,sha256=8Qkd237jDdK_GBv7SNXkpjkUGnAB0FI1KAG_rrPnsBY,760 +material/templates/.icons/material/cloud-sync.svg,sha256=WqIGlMTak3eJ_X5LZYoC6x2be5pfycqwdptIih3lwvY,571 +material/templates/.icons/material/cloud-tags.svg,sha256=UMuWCNsWdIYp_Ekb5NXAQa9HVSp0SbXFuZfAheJoa7k,506 +material/templates/.icons/material/cloud-upload-outline.svg,sha256=4NVEo3ZsOSmjnrbhZS1qFbbgOxwiRcGJcvypGClpmxE,558 +material/templates/.icons/material/cloud-upload.svg,sha256=XzKrZzqMUIaxOLEfDT_cphpU_Zud2My2m_Qd0GITlmI,327 +material/templates/.icons/material/cloud.svg,sha256=rV2d-V-E9uRBay8C8bQ5pNy7JVIyzhL7YFVnk5ipDlI,274 +material/templates/.icons/material/clouds.svg,sha256=ZAmM4Ob3LEhbtBxkuVB6lBqDB1x3y4NCrnS1XvzkENI,474 +material/templates/.icons/material/clover-outline.svg,sha256=EwTH6giuYlaZJyM3OsquU3IVgkZsSnRVE6PqfCNNghc,2016 +material/templates/.icons/material/clover.svg,sha256=_8TEh2mgDKKY6Yw0sdFLmiTodXwoYCMPIs_78zru6D0,651 +material/templates/.icons/material/coach-lamp-variant.svg,sha256=5dAQcX0OgAPZ_6FJNGlGmvCgPBhnPOlDp1XnmGT2ky8,208 +material/templates/.icons/material/coach-lamp.svg,sha256=BoFlKddb4bE0_eq_e4uv3dY5waYAOj277AKTMN7GIXU,173 +material/templates/.icons/material/coat-rack.svg,sha256=y_QD9orl7dT_es3vtp7_-vdux-MEGSHmkPKSjTc-UuI,299 +material/templates/.icons/material/code-array.svg,sha256=wkvbAa_-T_y-EGD4L-PP38ql7UpmTvn94qdBh6KAozc,195 +material/templates/.icons/material/code-block-braces.svg,sha256=EG9LGcJpnntGfycGRRheE4IV9j5nqy45b0lxMFMefj0,365 +material/templates/.icons/material/code-block-brackets.svg,sha256=51gIX7YdN4HrrgbBK1smqAXLN3Og6iQGlYZvMwibgc8,205 +material/templates/.icons/material/code-block-parentheses.svg,sha256=tmEvfUwxGCfImjGsO04UQb1vsmXXCb01sJF8etqnCkg,331 +material/templates/.icons/material/code-block-tags.svg,sha256=FeVsCwaFScDJItV23Y0vN4NCOaEMHFfX8VZMwu-M0rs,273 +material/templates/.icons/material/code-braces-box.svg,sha256=l0rMmEdpmkAF5bRlJad6PJaROZkGvQhGdOS9MqjACIA,392 +material/templates/.icons/material/code-braces.svg,sha256=1B7kRIjQd3QhtrDBcYMKMAOsYAaEevZwaxFimPiAzkU,312 +material/templates/.icons/material/code-brackets.svg,sha256=YOllfvbYh5WPpbhopHNicCSYKkaa-FTOrPDiu9rF0_o,122 +material/templates/.icons/material/code-equal.svg,sha256=rAR8hRe2t1tLv0Boba7-DXuaXMq1fiCkd7tDlPHHjmE,192 +material/templates/.icons/material/code-greater-than-or-equal.svg,sha256=_uFch0DJb8R4970jUjs9Wv5N_MZxmjMMhPew8WKLMDo,228 +material/templates/.icons/material/code-greater-than.svg,sha256=dwmzD-MlTI64FGRUfRm3VWFeWCrewvlx_xCWomxD3t8,200 +material/templates/.icons/material/code-json.svg,sha256=XRM64IF535G8eok3aXNWI3HBgCXTfddtA6z_Fnj4aJ0,503 +material/templates/.icons/material/code-less-than-or-equal.svg,sha256=aWljyrbCRuTKUT6Bbl8ZAAHfhxJl8ce0q3VUwA4UJ6w,229 +material/templates/.icons/material/code-less-than.svg,sha256=glCRZxL5RI5-zErQYmD7J600nt0nr7o_kOtt75isMOM,201 +material/templates/.icons/material/code-not-equal-variant.svg,sha256=EikmZIKUplrs82KvsNWV5LSaLyChLbaEWdgqBPWuofw,239 +material/templates/.icons/material/code-not-equal.svg,sha256=ys5UYeK3TZahzaGETguHQkm8JpIWX2zyBgOiyq6Ntb8,192 +material/templates/.icons/material/code-parentheses-box.svg,sha256=lIH7fZupBUMna85kHd6t0ELB0XV3OQ1Ac4riLrUK418,330 +material/templates/.icons/material/code-parentheses.svg,sha256=iF7Qa76fuw-m5zbZTlfeYYXETsxBtge2w4FdaE3vPxk,293 +material/templates/.icons/material/code-string.svg,sha256=AIe6RRAskKKSRUI_uNhSymWlUkumRIiuC3X5OS9Ulzg,432 +material/templates/.icons/material/code-tags-check.svg,sha256=ddJGcjAsnM38jO-IvEMuccuCvUUmZBws63MmhuthPxU,258 +material/templates/.icons/material/code-tags.svg,sha256=vakM6L8gcCID1SoezorM9MuK0ofpwWylI5fK4NfG6kE,169 +material/templates/.icons/material/codepen.svg,sha256=Ux7Cr0ldQVsmXjaaS3wN9L0gLPmW4cC3CjNplDPbr5c,945 +material/templates/.icons/material/coffee-maker-check-outline.svg,sha256=TT441nqUQUOfu9eN54ir2OWJiby5HCnseJPdhEf9sA0,421 +material/templates/.icons/material/coffee-maker-check.svg,sha256=XcgsyseuUzWJXPO0ZIS4gC2eyWzf9nB-5Q7ngU_h9Pk,365 +material/templates/.icons/material/coffee-maker-outline.svg,sha256=OZWmrn--tFn6y_pxzEV11rmZuxHGHccrzBC8Psf_z5Y,325 +material/templates/.icons/material/coffee-maker.svg,sha256=XYOudJmwe5YJjx38SAtEI4Gw72z-YRwYbf4rjkXBmcc,283 +material/templates/.icons/material/coffee-off-outline.svg,sha256=xhs6HJOGsfZOn9odZjRUJ8bnSieGIVD8-W60mPTVkwk,323 +material/templates/.icons/material/coffee-off.svg,sha256=tjBa4_GN4WwuAr_lkpSpEaqBXgOddQwQMFW3dhiMm6s,280 +material/templates/.icons/material/coffee-outline.svg,sha256=-NEJKTTiw7D0SZiNnmPskxVcrTyqNthc5SP39d324v8,223 +material/templates/.icons/material/coffee-to-go-outline.svg,sha256=_-vgMuSuQlao1Z0H2WMtZEfYsvtG7G-94irZjVlStjg,283 +material/templates/.icons/material/coffee-to-go.svg,sha256=TYcZgoLYLwi6PCODelk41iRzfkH4TKF0YyX05_hxKqM,240 +material/templates/.icons/material/coffee.svg,sha256=-dx0x58j8q3YgMRNw6bHbnsMRqiRIOF7tpmtLyZEgfE,178 +material/templates/.icons/material/coffin.svg,sha256=mnX7en8ya0bwZGmaZY5FWdkzh8adSC1Bf6-6z2T9FYk,137 +material/templates/.icons/material/cog-box.svg,sha256=OPvCmFck2cQ8o_b8pkxXMxIfepq7HZD2FiHZIaIBK7E,819 +material/templates/.icons/material/cog-clockwise.svg,sha256=tQZLVb2sSn6eKz0STgpxTTR7quwQ7d4437UZjCMsuu0,845 +material/templates/.icons/material/cog-counterclockwise.svg,sha256=TWwUlEYRspoTZhDDhkZCoOy8hAwGdzOXi7L2QszOO20,839 +material/templates/.icons/material/cog-off-outline.svg,sha256=HF9-g8nX7B6DQ7WGZPDT4qY8p1It4BUypOaC2HTaES0,1099 +material/templates/.icons/material/cog-off.svg,sha256=py191TtxUA8Q1tVQMGS-IH6rCNiUoIqIFitHS1ELot4,798 +material/templates/.icons/material/cog-outline.svg,sha256=9Z6xnEY-kQ1EEVUmMTv4ve6_O-uqVlAapd4BYEF6IQU,1044 +material/templates/.icons/material/cog-pause-outline.svg,sha256=heFzXKm0QKBBikqQTvVLYuLSAQeNLZw70Ggny5tgxSQ,988 +material/templates/.icons/material/cog-pause.svg,sha256=480E-lR7DepLtL06wPafdrCsEXv2s3i7TUucs5VrPtw,720 +material/templates/.icons/material/cog-play-outline.svg,sha256=ZpLxjo7eU8FOJKBncn_n1_yOp34JZz66ZrQalxZOJLA,977 +material/templates/.icons/material/cog-play.svg,sha256=kU2IfubHpB0re2DccPThN_QfH4huoZP-j-c08pMiBl0,708 +material/templates/.icons/material/cog-refresh-outline.svg,sha256=12VOPoTHeoToete2aM1ib2yd9Aj4et-1zLOtpmXCkcI,915 +material/templates/.icons/material/cog-refresh.svg,sha256=aR6EIH9xpusCEp9jNj5korYwrl7-MbK1zcSx3jw9Rcg,737 +material/templates/.icons/material/cog-stop-outline.svg,sha256=IEfcbOXlw9vdoUFyfg8ubt3NYHM6wva1j_HOvjU0zdg,976 +material/templates/.icons/material/cog-stop.svg,sha256=pZYoExhkvAD7gpA9gg2AxklXEvZb2PhJksAupEhuRqY,708 +material/templates/.icons/material/cog-sync-outline.svg,sha256=1dWu6v5WY4HojbUFYdp5K-vD-zvwZpPHermmUu48n80,975 +material/templates/.icons/material/cog-sync.svg,sha256=4X-UYZOVdIHNyIou1CetPP-n-3A2fO-PhZGHnQWx0Do,800 +material/templates/.icons/material/cog-transfer-outline.svg,sha256=P03IjYdaOrVvA70dgp2LnLSQn-zMQYIU4B2A2u_KDho,1098 +material/templates/.icons/material/cog-transfer.svg,sha256=xJ2rQWuuFKgnWG-lsQUH_T5cnqUktL3GMEglo4SjUrY,613 +material/templates/.icons/material/cog.svg,sha256=J81X13A4QylaWC4rnRjmOsY-DnB-cWlwBknBeDvXtp8,763 +material/templates/.icons/material/cogs.svg,sha256=Q2yYAkjIKmVbSYUZRrNFWMwJM7ADHwqrCI2sJR-wGX8,1289 +material/templates/.icons/material/collage.svg,sha256=5rkbBzZqmeXpv6kA269AZzWZBR0ymtwszjAEk3XEA2g,180 +material/templates/.icons/material/collapse-all-outline.svg,sha256=vJrGoinmtT7iK9hLmA_SRYeKVdRWe3c0nRRqS07sux4,243 +material/templates/.icons/material/collapse-all.svg,sha256=LCBw4JErAKq-KQHKj-L6V71RkrebHIUO6XVPhDag4-w,229 +material/templates/.icons/material/color-helper.svg,sha256=DbFr-46I14VByyx4wNaUmItxn514c5iz_pWQmnT5c90,94 +material/templates/.icons/material/comma-box-outline.svg,sha256=R58ocj2NE8eg-mGgvlwkeYyrObsSg6GzorijYTSdqPQ,189 +material/templates/.icons/material/comma-box.svg,sha256=XYhHEMNw80fvxpzUW6ejUXyx_J8r4DfHgkVKAb1e2KM,174 +material/templates/.icons/material/comma-circle-outline.svg,sha256=UhuIX3DKD7ktL-UoEbdP0C_7PdFm0WjxksvAQlbrfrc,239 +material/templates/.icons/material/comma-circle.svg,sha256=5ajU6h_POFNsDBIjsVn6XEhpaN8aLKmxfHARhRsflbk,178 +material/templates/.icons/material/comma.svg,sha256=OUJmnNN-wKebkBzV0F-6N6Rme6iUbXchFvpb5YuKBv8,120 +material/templates/.icons/material/comment-account-outline.svg,sha256=tpfwtm4zaS0mCvzXrG9I8cIZ0gp7O4Og10z3Ad_OrUg,334 +material/templates/.icons/material/comment-account.svg,sha256=dkzYh288A0WmIqp_nSYVI8iVv_L7IBJ_SOzVpJ5U1ak,305 +material/templates/.icons/material/comment-alert-outline.svg,sha256=FkNglhUwflR9CvqfTfABt6sr5ah-boHUXNehJTDNq4o,261 +material/templates/.icons/material/comment-alert.svg,sha256=lZ_XsG1hjxrpI-swUm2wRhfG6OCt6HYSh3Ti964tVvY,230 +material/templates/.icons/material/comment-arrow-left-outline.svg,sha256=24ai1IdVn8xSx6lCRHvJ8kHQpMQ3UFrwZWCcE8x8-Iw,282 +material/templates/.icons/material/comment-arrow-left.svg,sha256=6kmbjuetJNtJxmnNK6K8XQtf9cs7ru9Gg--q8aMne5g,251 +material/templates/.icons/material/comment-arrow-right-outline.svg,sha256=j-VaWEd6R1jCeiALiyQc6xd6E1g_9SKEcIYlB0yrgGA,279 +material/templates/.icons/material/comment-arrow-right.svg,sha256=9I-whPcUMOOFFselBhJ9lFgbtjXg61yGpM1MvW62pe4,250 +material/templates/.icons/material/comment-bookmark-outline.svg,sha256=mIV5bEWEfaK7EQhGs5F7LSQZ6lkx4lRC_cBj5omOcug,257 +material/templates/.icons/material/comment-bookmark.svg,sha256=KDjXnP22-_tzuByPzqiV3KdpqXR5N04YOZ2we3klSr4,224 +material/templates/.icons/material/comment-check-outline.svg,sha256=qYaFAbVA5J_GL7hf0vDov8ef94qCiAJNo2w25k5DiM8,296 +material/templates/.icons/material/comment-check.svg,sha256=28t2uvr1r1rO8N61YPy-WOZtu1ftZuqYwArqtRcv7lM,260 +material/templates/.icons/material/comment-edit-outline.svg,sha256=f2S_HiX9HyO5NCIbhBKAvGk8JM6x93o3IhoBfzeHXqg,372 +material/templates/.icons/material/comment-edit.svg,sha256=E_0cJvNWYZxkQGwnguEchipTY5hdGWnW_8eMq_xRafM,334 +material/templates/.icons/material/comment-eye-outline.svg,sha256=c4p6QElVGNzTzycYj0KXWODu9KKyp2r2TP6TB3xiRFU,484 +material/templates/.icons/material/comment-eye.svg,sha256=8gV3kSHecuL_Q9hoFsR1kz9J54ctiW8olim2oDuI_PI,498 +material/templates/.icons/material/comment-flash-outline.svg,sha256=3yEuI75AY6AwaSW0wH530JicuXcAMwaIypzjVDeyGlQ,252 +material/templates/.icons/material/comment-flash.svg,sha256=5-U8Ju4MYdUXCwXEW_zqU8nZNXlWZiU3rMP8mHERfRw,228 +material/templates/.icons/material/comment-minus-outline.svg,sha256=EbDkfX7QboqpXph4Qv3KTTOfMxoJS6SYF2EDq6lj784,253 +material/templates/.icons/material/comment-minus.svg,sha256=0Sb_MJ006xFI4iMogc1jVfplsfxuWA14isj3mOrjwn0,214 +material/templates/.icons/material/comment-multiple-outline.svg,sha256=T_dRhHGpQv51qQrkWDFk2bjbcUMbbIFBR-Ac8UvDqXk,269 +material/templates/.icons/material/comment-multiple.svg,sha256=hGdQVB2WcPnEx0wpgPFNx_dAOJE2FM03sTY56zG6ADw,239 +material/templates/.icons/material/comment-off-outline.svg,sha256=9riFsnkuCNEdBkiWsyEPXUoGM3F0TE1wbgLJ-ijRxys,327 +material/templates/.icons/material/comment-off.svg,sha256=uIADKsg_HDtUaS-KnBhsWaPCp4xHkf9vypani7oRTGA,281 +material/templates/.icons/material/comment-outline.svg,sha256=r_NzJmlYd1OkOjhbjnpw5i74u9UxAXc4J4CYpOOg9ac,234 +material/templates/.icons/material/comment-plus-outline.svg,sha256=ZmLcAkE3WJFvGOOZ71qI_eP9iYv6RcuBuEUbdT9pUPQ,266 +material/templates/.icons/material/comment-plus.svg,sha256=RhpkgcmqEjUfARl9buR5dplJ5vAjgW8vDzNSahuT2Sc,236 +material/templates/.icons/material/comment-processing-outline.svg,sha256=UCdjddDVkffzjTmhR7e8SNhLCkzPmo-FgztyC56Sz3w,274 +material/templates/.icons/material/comment-processing.svg,sha256=4waN7cSnKOtzgDMojajMAJyQqA-DPF4H-gOruevn1XE,245 +material/templates/.icons/material/comment-question-outline.svg,sha256=duZaTV3AmoKQfwy4MkvrZs1d1maKIaY4ZtJp9uWLgw4,597 +material/templates/.icons/material/comment-question.svg,sha256=KlWcelZPEutDw9G9mFiexEZL_68aTiKCZ-MnRGqBOYY,572 +material/templates/.icons/material/comment-quote-outline.svg,sha256=5VrW2nQ2g7mkRqYn4kVGxA5rS1bF6BL6fwZf6wCzl1c,296 +material/templates/.icons/material/comment-quote.svg,sha256=K_QnwgQeWQyAh2AnsnCe09E7JLWX5ca81e9g2IZKb4g,261 +material/templates/.icons/material/comment-remove-outline.svg,sha256=sptDYjqf-quHWCmw62k4AKMOCZ-8ZfC0E9oEacBpMxo,340 +material/templates/.icons/material/comment-remove.svg,sha256=CyZam6LVW41v7vCegSUzFfb7BilH0UQeHZ8Tuk0ZPQE,310 +material/templates/.icons/material/comment-search-outline.svg,sha256=6yZDqR1Wry4X9TOt58rzvPJ7e1XikHW4b9JgSZdcAKc,464 +material/templates/.icons/material/comment-search.svg,sha256=u406T2YYrWCOMXVHD_9ylpeH4kqbMFruJJFuT4ptpck,486 +material/templates/.icons/material/comment-text-multiple-outline.svg,sha256=Uu4x8_cJ-U44qrHwd8-M1J_2EL2eB1vb2QCUeRFkxhE,295 +material/templates/.icons/material/comment-text-multiple.svg,sha256=JFeQetpGx4cgaF4BTVMVRyf430OCFnshodvY2Ni6m2k,263 +material/templates/.icons/material/comment-text-outline.svg,sha256=dgoO8UK8tEaR5yNx7ntz5jS5Igsu8e0ixccAPfCjAm8,260 +material/templates/.icons/material/comment-text.svg,sha256=EHifoAz0GLL1cFdOU24rPW7hg6ySWY5tNnRxPUOkAWA,243 +material/templates/.icons/material/comment.svg,sha256=biMo4YSrsR2rB4wpM5bEtc7uzvuP9uF_hzQ7OT1K-A4,204 +material/templates/.icons/material/compare-horizontal.svg,sha256=Jkanu8EJYnkhcHam3qW21JDt9uYM0p8bNXYrR0Ckfy4,127 +material/templates/.icons/material/compare-remove.svg,sha256=P9AxFvXc_7-ZLnwWILBFTvPt_2G9jhrca2eXJjyXJ10,340 +material/templates/.icons/material/compare-vertical.svg,sha256=a-vE0eEf8TSGEXLkz6_enj0vj7OrfHe4rBQ1zMJnOug,129 +material/templates/.icons/material/compare.svg,sha256=nL0OqbTdo_iWpbjCKTqXIQ_bUnYoR1U5zO9US8F4c08,199 +material/templates/.icons/material/compass-off-outline.svg,sha256=yvhBGe4SDN-DSfU7Ejimh-5DKXDOX9i-BChlEKD3TVY,479 +material/templates/.icons/material/compass-off.svg,sha256=HDc-sFhLJ_asG-jwErNo7O_HSjLjn5tWb4YrMM-UuMk,322 +material/templates/.icons/material/compass-outline.svg,sha256=Ub0koschEYAkcyos73l-AxMdlGwNVf0Gss_Kz8MZvjA,315 +material/templates/.icons/material/compass-rose.svg,sha256=at8jEuo-hmd2E5rKeuGj8aXDntN4wW2N-B0tn_sEsm8,311 +material/templates/.icons/material/compass.svg,sha256=8pCh5fN8luFDUKoTZv4JXfCThQkfZlWuYRgFrhJsSI0,280 +material/templates/.icons/material/compost.svg,sha256=xaUr2AObLq7oI8RhIXA2TKaR8mSUt8t63kMeNTk8RpU,571 +material/templates/.icons/material/cone-off.svg,sha256=zydzPZDpBw4GjKV0HH7fuRa0dCCMMdhOPzAIIfFhKNg,514 +material/templates/.icons/material/cone.svg,sha256=AYyDDOJQIcaHHe5ODqnpiH31HTCUxr42bhl4Q2y1l7A,368 +material/templates/.icons/material/connection.svg,sha256=S5p12XixHyJFJpuB-Y8f4XbE32zX2ytyHUxqMpxZocM,346 +material/templates/.icons/material/console-line.svg,sha256=zuyhqrXr2u6vmlf3n5jSCr7oH6vXviGr0EVqXV5OcIE,162 +material/templates/.icons/material/console-network-outline.svg,sha256=ueRDGLrXPjSaS8lhHuVoz9G-x8QTSELMTL-49Pqg0Ak,345 +material/templates/.icons/material/console-network.svg,sha256=XVX457Wuk94xUG_GkO_rFsrmcCA9aNNNEznSbjkxtyc,309 +material/templates/.icons/material/console.svg,sha256=62iLWxzzbmxFuIeGx1sbawKMi0xPIcMoOkJtrSDjmMs,251 +material/templates/.icons/material/consolidate.svg,sha256=qgSgY4fQzejtjTxcDgAnVkrCzjgZp1lP1bZm8MyNXJY,236 +material/templates/.icons/material/contactless-payment-circle-outline.svg,sha256=XhW9xCZ_AMz2_1IhruTuF2JWcrxMjxYJY_5taXZztos,571 +material/templates/.icons/material/contactless-payment-circle.svg,sha256=aMeh1cahRKwTV5uT5AijHNFkSX26Qxnar0nb1Z2-QPc,515 +material/templates/.icons/material/contactless-payment.svg,sha256=nbDj-1g8v2cj1S3MEQa3NYgo5JAAL0Qq8jlO1N4dqJE,1101 +material/templates/.icons/material/contacts-outline.svg,sha256=xHkohx6MVWpKOM6HLZMjUJ2yho_Zz09vqRrTucbsmWk,382 +material/templates/.icons/material/contacts.svg,sha256=MNbAlOASWYAVVs3hbZ-obN3kUVnetBMK-STdfyjaPTk,333 +material/templates/.icons/material/contain-end.svg,sha256=M_IFFLg1-QB9n5KeTHGGtnuCiTGLTwkEpo-sPwSKCL0,146 +material/templates/.icons/material/contain-start.svg,sha256=-etmJZ8ETzJoKhualdDVBLvAmHIkB024NWoYFtQQ2do,142 +material/templates/.icons/material/contain.svg,sha256=WO87TEFZZZDvGblPtt4hTmX_J1IC5U33fdKLE_E8TdY,167 +material/templates/.icons/material/content-copy.svg,sha256=wKDrEk5lH8cVAOqaWphNkECc-0E87dcl7cZA9lQcteA,195 +material/templates/.icons/material/content-cut.svg,sha256=nuh-xVl7lZghmAoFG3OJiENi9N1Mp7etg6Saa-cW7jU,520 +material/templates/.icons/material/content-duplicate.svg,sha256=kSXBTcIALLWFuNkssMydSqHld5RKTv2NHdM5-19R3JM,231 +material/templates/.icons/material/content-paste.svg,sha256=V7NmLaa78YgUomNSbMUI2_xcl-T7rPWig4DD8VQVdPs,278 +material/templates/.icons/material/content-save-alert-outline.svg,sha256=m89tSdtRUPnr_oJuCkMRdzBKJZfVG8oOd5poeZi4WlE,260 +material/templates/.icons/material/content-save-alert.svg,sha256=zTHkugtsSfdKHmDMM6KNAKDDwne-mBfCg7T1xEdJ7sE,237 +material/templates/.icons/material/content-save-all-outline.svg,sha256=zwOkxmJz0bdntO8mQy8vVKPZK_ctpOZ3n3yCq1ri8zI,269 +material/templates/.icons/material/content-save-all.svg,sha256=WkB5-bULyHd1yUvyHTGaWMkt9sYSJQuqRkOqP1-VjJE,248 +material/templates/.icons/material/content-save-check-outline.svg,sha256=LLaiea1q-XuHeKLdXbFE0REoaaxZ4eYQA3uh9DBsOwo,355 +material/templates/.icons/material/content-save-check.svg,sha256=ansh3o3Ne_GLMiyhkmOEpAdNk8POmkyTEg9-e4ltf24,333 +material/templates/.icons/material/content-save-cog-outline.svg,sha256=zRCm5pxa6WvZQ78gTQrFo_FuF7DBvjmryFzBIPeDl4A,737 +material/templates/.icons/material/content-save-cog.svg,sha256=jHv2WauooZ5ib0qYeULGwoeU3k_RaVpc3vMactXmf8c,710 +material/templates/.icons/material/content-save-edit-outline.svg,sha256=iZlmV2vC0rCzkqgdYTWgn6cVu5NUf3DqhHoqak9P37s,380 +material/templates/.icons/material/content-save-edit.svg,sha256=Mxg4NSs5j2T6agij1g20_SKG8hzNm4zM9Sor3fkezmU,368 +material/templates/.icons/material/content-save-minus-outline.svg,sha256=C-OkAMqWzNlm10bMwE6HDOLgsroGj0cK3Bo2GV7gBtY,302 +material/templates/.icons/material/content-save-minus.svg,sha256=T7AZcmThFFHWIMzKV6nmIagO7wUuBIzdO71gHRUVgvM,281 +material/templates/.icons/material/content-save-move-outline.svg,sha256=OADbmHQLC991Ki_UfBaAI0sl2mSs3_jdnzUmTMck8vM,323 +material/templates/.icons/material/content-save-move.svg,sha256=JojkBYW7FILpDYMznyr7OHVw-RKnLNO5L8R5-eYSZ6M,300 +material/templates/.icons/material/content-save-off-outline.svg,sha256=pgQpFBlW9hwJY5qTGZyCxo7-iMU761b0ZO0sab6PI-c,294 +material/templates/.icons/material/content-save-off.svg,sha256=btsLYR6_ghQyci60LvrsCM-3QvtLKXOGcliZW5o2CW8,305 +material/templates/.icons/material/content-save-outline.svg,sha256=QAM4xPw1fRFEfdbWhgE3w7TUNxQNFFA_x3eFxqzedv8,237 +material/templates/.icons/material/content-save-plus-outline.svg,sha256=__KduPNGncy24FjHsmTzr0yn3WCKFrEsyMzKqyv5qDI,322 +material/templates/.icons/material/content-save-plus.svg,sha256=q0iPW2Bfb-DH1FSKNecCpTcI0kVLgB5A2QmEfGR-t34,300 +material/templates/.icons/material/content-save-settings-outline.svg,sha256=f7HimOw_l1d0YdVH5-WsJfExV8Cg7oLcsob3QlBcYYA,279 +material/templates/.icons/material/content-save-settings.svg,sha256=sgVY7wx0F35vNGYOSl-t015L4B_I4d1nq072AgUGAgw,260 +material/templates/.icons/material/content-save.svg,sha256=3nbdzSvj6GarHOa8Alxruz1rDw61uOe5075240JxQXs,215 +material/templates/.icons/material/contrast-box.svg,sha256=YBuOO69_SviRqoHCKXB0MGkcTo6N_5iYXmaAsF606pQ,215 +material/templates/.icons/material/contrast-circle.svg,sha256=95NIs1tw6_KUG9-dvlqtvM3QvuOn_uu57jpw9zQpwgc,285 +material/templates/.icons/material/contrast.svg,sha256=JGPGbzSWNe8PKYjgVu-Js3DLz7EC26QWrXukfFZ4RAY,193 +material/templates/.icons/material/controller-classic-outline.svg,sha256=IyG5G6BSdLAm3t7HnF9UbPNy7nwY5ac_8L8F6QigB00,561 +material/templates/.icons/material/controller-classic.svg,sha256=j3iXLs389syXm4LM-Z6Y_qcjm4srGTTeDBqfYlOyvJI,440 +material/templates/.icons/material/controller-off.svg,sha256=dqS-SKSB3ggZKrYvscSSc5so3J_DwpYVRlICjmMozHk,670 +material/templates/.icons/material/controller.svg,sha256=1hIRULufOO2rTLL0wVuqPimF5QTaRdtt3cHzZ21YM4c,651 +material/templates/.icons/material/cookie-alert-outline.svg,sha256=NcvnQG8j4uVr9K-1BLPzXhYWXZ5c9HIbIbQSC-Dh5aA,721 +material/templates/.icons/material/cookie-alert.svg,sha256=zKay3xtU8M8-wyM9kw-dnVOhtgaEWrImMnsSekmrgUQ,559 +material/templates/.icons/material/cookie-check-outline.svg,sha256=qXWDeNZbCgb_AfxfPtQPW7h27cOWMAeI3re7PXls1EI,897 +material/templates/.icons/material/cookie-check.svg,sha256=nk-_9PtQRdv71Z87AipKgL_KwH_7qIF54wstzN5G9iQ,710 +material/templates/.icons/material/cookie-clock-outline.svg,sha256=a6ZMdVhmjngjngIQ-eHTAX3SmyHsZUG9nd4ZHNo6Xpg,800 +material/templates/.icons/material/cookie-clock.svg,sha256=_4qm_SAeRf2B1jprwiFOdzXfP9v1fP9edwZJkroZ_w0,731 +material/templates/.icons/material/cookie-cog-outline.svg,sha256=NeKNdE6HfdJucFHe79K57Lsit5asyl_0t0oZ_QSCg8c,1167 +material/templates/.icons/material/cookie-cog.svg,sha256=jW_n0vsFMa379I97zQkLqVH6bW8nIAX4c2CbPwPgaQQ,1017 +material/templates/.icons/material/cookie-edit-outline.svg,sha256=X-wzgiDPzs_mVokFg7RILISY5fwAOfDH43pDNCONytE,905 +material/templates/.icons/material/cookie-edit.svg,sha256=XY94z6X-IYzMcVd8gBBr7uUDmPM75l-Uom-AobxtifQ,714 +material/templates/.icons/material/cookie-lock-outline.svg,sha256=MKutaDyWHwsHZ4USd3Dx4ole6bID7GW1ENv6Lfb1Qlk,901 +material/templates/.icons/material/cookie-lock.svg,sha256=6HJni45MHuYA6W3KLj0bmZY0bBUl8PJDikjKvoCan3k,732 +material/templates/.icons/material/cookie-minus-outline.svg,sha256=VpeJvwHr0osFoWs5O-Ywj6LiYIqQfM1mKdKuX7Pov_w,846 +material/templates/.icons/material/cookie-minus.svg,sha256=9qb0Dl1hKXNimtRrTrkHJWR7oNLcknd01dqXg0_1ZkQ,663 +material/templates/.icons/material/cookie-off-outline.svg,sha256=peR3LJhhV8Zdj6dfbEr2gmrd6u5naMzc3gunE0gJnNg,945 +material/templates/.icons/material/cookie-off.svg,sha256=x_XuXiU1io6B-5EbgmG-SbQFZcxu-OXtAL49bZaKuFM,680 +material/templates/.icons/material/cookie-outline.svg,sha256=GQjIpxp0aruwnrGb0XMaVKNIinbspcPAGnwh9NjP1FQ,769 +material/templates/.icons/material/cookie-plus-outline.svg,sha256=E9ukI8k0uFWUg4m6K8JLIN-9TUPaN2Qd4rN0zJOg8-U,895 +material/templates/.icons/material/cookie-plus.svg,sha256=okARn1lIbUtcX9pRGfg2GUQwmGe_TphyX_5iXybfpPw,683 +material/templates/.icons/material/cookie-refresh-outline.svg,sha256=JtEsoXHu90V6w0GsehAFAZsgyCMuCIUc31bYQorweaw,882 +material/templates/.icons/material/cookie-refresh.svg,sha256=KiHWcg40Mg5ly6w5KAWbKQq8y0QzhIUdFz0Itm4tRV8,697 +material/templates/.icons/material/cookie-remove-outline.svg,sha256=OVXZjnB00g1Ag7NdI_V57Hdhftiqn2G68EXeQ-bWfLM,992 +material/templates/.icons/material/cookie-remove.svg,sha256=rQYjb__isfxwD6Pkq53GWQk24Hdmmfl2kQBcdvvgID8,771 +material/templates/.icons/material/cookie-settings-outline.svg,sha256=-IFM3DrxFyoO5QsDT19x7d8moe2MmrvSm3i34MS-DJI,767 +material/templates/.icons/material/cookie-settings.svg,sha256=nEuNi1tO457F2e5UrCz7Vcyq9gq3dtbFxHcS7UQ8RBI,595 +material/templates/.icons/material/cookie.svg,sha256=w9v4qVTB3HFx-g3tgQa2wvD_pr3rmT_-RbV1JVXDtqU,666 +material/templates/.icons/material/coolant-temperature.svg,sha256=xqWdNpq9PEHfH6LaukDr5l_bMkoYuvlBefHq_DT-nsU,1088 +material/templates/.icons/material/copyleft.svg,sha256=6W_FtfAj-edJivn_-tl4QAZllsCSWhcRxBf8FYCyYPU,607 +material/templates/.icons/material/copyright.svg,sha256=Y-GfLvoE9nd3SnQ8twlV-QCNrSKD3ggp7JCQdcliDXk,620 +material/templates/.icons/material/cordova.svg,sha256=u6wV-1uLFTFZLM9A5Hd1oSSvCwskFXS_uNIJtsCxIW0,475 +material/templates/.icons/material/corn-off.svg,sha256=eXYIIb-CWEHtjLyPm-GPmrlCtCtGFDHsK5dEiGDs16M,522 +material/templates/.icons/material/corn.svg,sha256=vNsYRiPapGf3daAaVYWQdjQTPGHJ_ebJq_ZdPeK1nqk,464 +material/templates/.icons/material/cosine-wave.svg,sha256=Hy0t6xNCWtp0UI-f4su6atugp-zVXNUWBObZMJwfSl4,276 +material/templates/.icons/material/counter.svg,sha256=bCNQO6HBuVfeE7EGa5czPnYBb0T_QhqzqvUHWh2MAQk,571 +material/templates/.icons/material/countertop-outline.svg,sha256=wqjxYwtEIC1AMD52CeOduv-27oh1iqhZbhbOdylale0,246 +material/templates/.icons/material/countertop.svg,sha256=2X6aL9NBJIQ0zwVNNbU8fi5imf0ygJlP1a-9oXObVZk,220 +material/templates/.icons/material/cow-off.svg,sha256=tEC7DO8ItoC8vr4AX802ptSSNhaKwph_TaLSxor2UlI,883 +material/templates/.icons/material/cow.svg,sha256=FmnykytiZ3rCFBxId2bjtPyaXPhYzBHchMHj-_SD8dQ,1002 +material/templates/.icons/material/cpu-32-bit.svg,sha256=PdCgYG-ytsLCfLIuIG_gRzi0m9cri-9O7c8_2UBj7ps,379 +material/templates/.icons/material/cpu-64-bit.svg,sha256=ZjOm_qytHZjPGpvb6m0xN_zmvvKMbKmEBDy50TmweKo,357 +material/templates/.icons/material/cradle-outline.svg,sha256=kozF7YUlGjRNs8U63GibIMybQkCmbjTjp_ZZsQULn0E,342 +material/templates/.icons/material/cradle.svg,sha256=393lsAKqFkGjKDlASCwIG1g0MUYuTIr0xW00RCxbgNE,310 +material/templates/.icons/material/crane.svg,sha256=ocO5DAB0DXWQnA5VakAqHbm_cAZw_yXyHVWFn9UWfro,529 +material/templates/.icons/material/creation-outline.svg,sha256=kYCHimE1WFAF4FJD157a023ZD4IlNkdsk90lUWScGg8,332 +material/templates/.icons/material/creation.svg,sha256=LD0RmOUErHYKe_U_nWJslP0WnC91ZhatToVGGIZ5tJ8,258 +material/templates/.icons/material/creative-commons.svg,sha256=olI80ZukG-xH1fy8WLa4y6rNQqhQiDfJBWpeOW1pgS0,892 +material/templates/.icons/material/credit-card-check-outline.svg,sha256=jW5Fx11MpatLADBTU0oF3S0INxuN5BZQ0SB0pL12MeI,293 +material/templates/.icons/material/credit-card-check.svg,sha256=FTuEEo7YE3Xa3gmWZ01W_f697Z2Ueo5PHQtmlwXgTTA,277 +material/templates/.icons/material/credit-card-chip-outline.svg,sha256=h4gf_Fgu3bCMG1eqocvADUFzBPdTNmiZJ0bbJw1fpz4,190 +material/templates/.icons/material/credit-card-chip.svg,sha256=1CxvcRdSbmgrtL2T-3MaBqCdQ4zhJDL8_hGpDW5YoVo,177 +material/templates/.icons/material/credit-card-clock-outline.svg,sha256=PCOJC5NBzUs_wFqwWhiFma9duJMQQ0k4wIWqtLlEqS4,376 +material/templates/.icons/material/credit-card-clock.svg,sha256=PZn6WCuJUUgUSvvIrsSJyJDANctp74Z3Mx-8IUa1N9k,318 +material/templates/.icons/material/credit-card-edit-outline.svg,sha256=Jr1JMIheKQQcTUBwgRVd0Rmnxl2lV7-OQGj6o9H_KTg,282 +material/templates/.icons/material/credit-card-edit.svg,sha256=wXh7UZ1ZionASRm7EncvFNWiEdZIHBRwotOZWAXCW8Y,318 +material/templates/.icons/material/credit-card-fast-outline.svg,sha256=vvwGlyiFicCKZvR7RrISWag3_m719WKloaMhiyYfAa8,340 +material/templates/.icons/material/credit-card-fast.svg,sha256=mX2jeDJ1ehywYLb7kZjezUmEcuYrYX-lHQEB8_A0PsA,325 +material/templates/.icons/material/credit-card-lock-outline.svg,sha256=QjlIZpmYic086gzGxICwD3DZ3wEZ7ecueVmf6JUoyxI,434 +material/templates/.icons/material/credit-card-lock.svg,sha256=ojNALPApMxS7kH9ve2PQo6RduvH228XxlFwg61vdFTg,449 +material/templates/.icons/material/credit-card-marker-outline.svg,sha256=1UwFCZXCBogjy3zPZVuBskYeeixUl0IldQO0nkiCUCA,392 +material/templates/.icons/material/credit-card-marker.svg,sha256=ZorFssw8w_I3k9roqfGGboGalegRmth2BRVIU3PXMfE,399 +material/templates/.icons/material/credit-card-minus-outline.svg,sha256=U15KZumZizLGFdG9iIW-wB0of-ZHVpv-F39nXXx7UKU,182 +material/templates/.icons/material/credit-card-minus.svg,sha256=6F7lGE-tfooYQFdU7vzc4pFBesGA4LeHIiPmqMY8qk4,229 +material/templates/.icons/material/credit-card-multiple-outline.svg,sha256=H4FYXSa5VlMTuTPnwCzy0KAHyfHc5QLMBZtcSSUK01Q,213 +material/templates/.icons/material/credit-card-multiple.svg,sha256=fv3NYoUvwKKBo4LAPTyv_sTTkePG7BgbPhr_C8clRw8,193 +material/templates/.icons/material/credit-card-off-outline.svg,sha256=0ME9lhJPdVBkmNSmp816IQuiIWHYRl7-02oJ__1Un74,290 +material/templates/.icons/material/credit-card-off.svg,sha256=1m7ShC_CCdQMfd7AVCacZht3CD5_UIT4LqokkK5r6J0,248 +material/templates/.icons/material/credit-card-outline.svg,sha256=Tf7Mg9N8eySy71ErBZYEVOy3-li_-X4L9X2jPq70uUQ,178 +material/templates/.icons/material/credit-card-plus-outline.svg,sha256=aR7Ao9ta5Qgpu-dErlqoIIWOF4EZYqXpVzV_kO_uRJU,201 +material/templates/.icons/material/credit-card-plus.svg,sha256=z8mwByTpM8tINVrB0iATqwCC_H-eASZj5pbGpsmDsa8,239 +material/templates/.icons/material/credit-card-refresh-outline.svg,sha256=hEMQ-uKnTAaJ1GNAFA1dlu3ozs-nl3fm5qYet0GFIOA,367 +material/templates/.icons/material/credit-card-refresh.svg,sha256=XTJI3mlJ-kvtVvFqSAIjBhGAyx_DECnMGl7gdcd_J7c,353 +material/templates/.icons/material/credit-card-refund-outline.svg,sha256=dE73_yWdJ7pmD32CjpOOH0KX_7mP4aOS5qsq6Bc_qXE,257 +material/templates/.icons/material/credit-card-refund.svg,sha256=kD2R2vrNjFBG6wmFMvdD76lLmic3DL1VRTXec_afusg,237 +material/templates/.icons/material/credit-card-remove-outline.svg,sha256=5XgB6SIgi8808bh_8Kt_syg9hwDMiixdD3nYE92XgxI,360 +material/templates/.icons/material/credit-card-remove.svg,sha256=G4__2Rxkvp6NiFqc5YJofRLAx--F0jzX7QRk4ckPL7k,325 +material/templates/.icons/material/credit-card-scan-outline.svg,sha256=Za_uqACXQi0gHESZh77_cJYSKXwoX86ahdaBcJQwNdI,305 +material/templates/.icons/material/credit-card-scan.svg,sha256=LvwADyK2_aIUEeDngE_F6Qh0w2qFuoCwLw3q1uusoPA,288 +material/templates/.icons/material/credit-card-search-outline.svg,sha256=1NkyJigAc_F_JBZTcrIggarGpL45hDyADzLgsHSfIMY,436 +material/templates/.icons/material/credit-card-search.svg,sha256=IoioN3-PjQiMxheg6UBEyxnxyCTQed-Mkakyx0kSr4g,404 +material/templates/.icons/material/credit-card-settings-outline.svg,sha256=AUIaRhKhHf7p1PCUYFk9RfueJyp5pdsW0_xmkZrLQF8,220 +material/templates/.icons/material/credit-card-settings.svg,sha256=SuNOYWUBfRBVV0ir6Ehd0D8b5bhcZ-qDESqDSNMDsKo,200 +material/templates/.icons/material/credit-card-sync-outline.svg,sha256=bd4KEdil-I0G5ehRhuOziQ_F4Y5V3gQ0WxArPlNLejw,483 +material/templates/.icons/material/credit-card-sync.svg,sha256=lvZ1Y1UFn5fVLPUbcaSha3k4PxJOCUpIEtUtHpJiflk,476 +material/templates/.icons/material/credit-card-wireless-off-outline.svg,sha256=QVX5UDHBYtnZTECDZ64SXlQrhJmCJOe5odJ7CIqnOgo,451 +material/templates/.icons/material/credit-card-wireless-off.svg,sha256=OM5WXenhCcCR6RkFiGyjWDE9ZkVfd4dI0Eg8ZIBrLas,427 +material/templates/.icons/material/credit-card-wireless-outline.svg,sha256=fQncIyvjeaV4bLa_91ncCg66yN1YUj2eu_wUQs3ow8Y,335 +material/templates/.icons/material/credit-card-wireless.svg,sha256=RfERXuEde87VUlmk_UpTEI1xe2UdwgwalhihaAFtzAk,325 +material/templates/.icons/material/credit-card.svg,sha256=jhIdHp3jh3BM57HS-VVAwNfUJF_VkoikOHSzfIlIujw,161 +material/templates/.icons/material/cricket.svg,sha256=XLdF9NLROa5S6GT-NnGBrfs1RH-ZoWX4rPPFt3O_HHQ,359 +material/templates/.icons/material/crop-free.svg,sha256=oOrhMoyqp_NbSjWfWTxf-rhNn2x52YQxqxbpA2XxU3g,203 +material/templates/.icons/material/crop-landscape.svg,sha256=dONEbPzXZ1TiXkgvQ_cdg_5uJWJBuSjCEv7i0xUWAXs,162 +material/templates/.icons/material/crop-portrait.svg,sha256=Z0r-YFQTgf2AiAAPhDHPcvAeMmYmsRJL09YgGUhJYiA,162 +material/templates/.icons/material/crop-rotate.svg,sha256=vbf_JELfTjUZx7sChppp5Mx98NRIglza3mTZfoCC0aI,372 +material/templates/.icons/material/crop-square.svg,sha256=g6Y4Md33hMT3k2fdcWQwy5GqGefZHRUguQwursieiX0,162 +material/templates/.icons/material/crop.svg,sha256=6e9SjfnP47v91lgvABx-QLLoPIwWzgveihOba0MttDY,159 +material/templates/.icons/material/cross-bolnisi.svg,sha256=7b5M3uOmnxBhWquHpGSz0bB2icR7PZR1qbe3TVWxo7U,737 +material/templates/.icons/material/cross-celtic.svg,sha256=mt1D95iLxQNg0EWn56uUuNwWgaeg3nHRlOwsDt6cGAE,502 +material/templates/.icons/material/cross-outline.svg,sha256=L7EmYyYMBfBm1zQkIEwnmYYw6rz0W7NjG7yI6w2fP0Q,158 +material/templates/.icons/material/cross.svg,sha256=BpL7lKKWBtRV5FzUzc782rHE4WCi4iCwEtj89KZuBms,119 +material/templates/.icons/material/crosshairs-gps.svg,sha256=d11e6UIU7yj_fYv_8tCUzgfc48OhLWGvMYbFnJfJqVA,361 +material/templates/.icons/material/crosshairs-off.svg,sha256=T6xqdyQv8W47RQ4Nc4oP4NRW61Xf8x6PKgkXUHsVk_w,448 +material/templates/.icons/material/crosshairs-question.svg,sha256=sE9UfBrbumVSqEwoBKcL3raMRCfe1xCo9m8Qny5HntI,491 +material/templates/.icons/material/crosshairs.svg,sha256=y9FwSjGhSLYHGgX8gs9mVi3M2m8Cbe_hUnvq-1zzdfw,300 +material/templates/.icons/material/crowd.svg,sha256=0Cmw-Hw5cBRNseoa4P4WEhybPip0g815KaihtKrfVA8,967 +material/templates/.icons/material/crown-circle-outline.svg,sha256=tWm8XI_h1Agoa9eyt4IJYC430RW76UYkBVOml1ZMuUE,291 +material/templates/.icons/material/crown-circle.svg,sha256=OH5wDVciCFDK3zu7lf4Af46v8KwDQzEZ432kIcpiePY,237 +material/templates/.icons/material/crown-outline.svg,sha256=3tL-mqVJIx92juT9sonIvxRDOms-bpo3VfiTKKMNiEk,205 +material/templates/.icons/material/crown.svg,sha256=BlMN5HMFAxYhuUcG7pCsGtt0uKVkhGOqOsPRo2HBq8w,162 +material/templates/.icons/material/cryengine.svg,sha256=G_KKq_glSsIBp_7U33E8dn1H936Krr6NEa0qze7Bowo,594 +material/templates/.icons/material/crystal-ball.svg,sha256=dZUCYnHc8ZuvBDAlc_Aj56-9wTCIEwbvyHwn6ykD1l4,566 +material/templates/.icons/material/cube-off-outline.svg,sha256=Fr0a-I00wcK8SYhEyJLKo8Lyb_vctCu8aTKcAB-EdxQ,481 +material/templates/.icons/material/cube-off.svg,sha256=GFqxNkH_C1HgiI_NOyBEcAld7vAdSDeSMKDxbqpGOO8,410 +material/templates/.icons/material/cube-outline.svg,sha256=QvgPsgNM-SSQVq49JUcN8gI0Simcr2ZxntHkOf7Taho,400 +material/templates/.icons/material/cube-scan.svg,sha256=6P-xeUtKAiLxiEEE_-x9cv0g808iOS8vGZu6dgYTY8c,632 +material/templates/.icons/material/cube-send.svg,sha256=hJqVJtKAnhrnXz4iiD8n-5agYQn6_xvVIz6bTPq4v9I,233 +material/templates/.icons/material/cube-unfolded.svg,sha256=0Cl5fJ0n3hL5miBEAUQCax26vb9FBrNsP911ofhe798,196 +material/templates/.icons/material/cube.svg,sha256=-TdFDCKMp7I7Pes6rTdd9jid3YBERlSIaQUDi8kC6w8,338 +material/templates/.icons/material/cup-off-outline.svg,sha256=kkr2HNOdzlekNEBt6JR8qBacFnNM9dcEXo_FVMUzE0M,239 +material/templates/.icons/material/cup-off.svg,sha256=1ZlmcCSA09Ph0JxKhV753x_hYaJzvaBszrfvoZCRVos,236 +material/templates/.icons/material/cup-outline.svg,sha256=zS_27T11kkI1DbS5RRKjxkn_adIge6PvuhyEGZq176E,171 +material/templates/.icons/material/cup-water.svg,sha256=3MdiHJ7u89OZVjgXjJ7Qemg7laFXzyjVi--bwQXkjqI,231 +material/templates/.icons/material/cup.svg,sha256=jnIaWvSaFVsI7ADQNeTY43LRMExIA6VFljWzdvwgpHQ,169 +material/templates/.icons/material/cupboard-outline.svg,sha256=cLZO22eKLOZ_u-tm1OaCPEUGHaMS-y_KvzZUwdr9GhU,248 +material/templates/.icons/material/cupboard.svg,sha256=zvMGzTegQ7kdtviBo6ynTb-ynlG-fDhTJqincLvXVgE,223 +material/templates/.icons/material/cupcake.svg,sha256=FaQv0_9L3GG8WdBzU6z7GezIlVYiYp8amOaapMdsB9o,344 +material/templates/.icons/material/curling.svg,sha256=72Lzk_Tzltb6-z5h49mslBdnCD_-lBgIGcabZY-5vkI,291 +material/templates/.icons/material/currency-bdt.svg,sha256=B0XxGxA6o0OnGgYGSK10wTtDLDRskLSsBRPOiJthrFA,463 +material/templates/.icons/material/currency-brl.svg,sha256=UlxCwkAGEyhYEtCrR4yN_QBpclXN-HkIQQFedJ_5WmE,513 +material/templates/.icons/material/currency-btc.svg,sha256=nlfViuIrJstemJGRT8y_CvJ59eGmWVo29ZbJH0rKrOU,300 +material/templates/.icons/material/currency-cny.svg,sha256=0IrDl7UfGg-CCWAqvRH-6hCfu3rnSdGHJq31SjxY6i4,151 +material/templates/.icons/material/currency-eth.svg,sha256=PFM3XxfyFfiJh06DRzHZX9dFVEZXg-RtKutZwg-luLM,116 +material/templates/.icons/material/currency-eur-off.svg,sha256=X_oO9lZfpIj5fFSWcTjDkW3cEa6pBF15xivAfOuezno,534 +material/templates/.icons/material/currency-eur.svg,sha256=q--2tZ8WOn2on801q5Sa9Z3WSnNLlonmBYiIterStFM,414 +material/templates/.icons/material/currency-fra.svg,sha256=2aUD4GFBNGNbgBfEykjQSsKBvCls7ad6czaJriToAyg,125 +material/templates/.icons/material/currency-gbp.svg,sha256=ibRlIVmnwWM_LFdcy9aE2Dfk6nAumcayc_HFRGGv6CY,361 +material/templates/.icons/material/currency-ils.svg,sha256=Ckp0FHq2De7SAyHc4mh3y_8aer2YmKz07Zn2tBduRks,182 +material/templates/.icons/material/currency-inr.svg,sha256=LJKscanYvHuFbnJJcu3Fy2u7XqwTBinaXY7tDbWXcTo,246 +material/templates/.icons/material/currency-jpy.svg,sha256=YakRMRTttw-ne3p6Mthf6pw2y3l6QftUlAZJfAVOZkA,170 +material/templates/.icons/material/currency-krw.svg,sha256=k8iWj_jaAz9_nW0wjCB_i5CULZGTTfpqYJDRU8zIgUw,388 +material/templates/.icons/material/currency-kzt.svg,sha256=_E54vbf7LWCyy9YbXp1YYyNwRz80RsUl2VjjpfAhm54,116 +material/templates/.icons/material/currency-mnt.svg,sha256=uPzpCbjSvvjdsNicqivdqw6f2ZTli2q5CI5ceSrFcXY,207 +material/templates/.icons/material/currency-ngn.svg,sha256=jyGB08h_TXAgJ2Kbobpb-b9eWDdfS428xzaZzy4OQZs,242 +material/templates/.icons/material/currency-php.svg,sha256=Y32N0Vb5tDJ2-Svy5M9xMJANAqSW265Q2LgLZNNU8nk,308 +material/templates/.icons/material/currency-rial.svg,sha256=lier7cKoYfeR3fhYiptxi4fb77I1Kg1i5tloRjTUsKY,293 +material/templates/.icons/material/currency-rub.svg,sha256=Bp6X18sCyS-Q3UnaEBOxzp9I2nv22uNbcqkB6VgcxB8,216 +material/templates/.icons/material/currency-rupee.svg,sha256=LPdDNaC3lle-_OghXYlE-wVN6Mljogecennc3xqImQQ,240 +material/templates/.icons/material/currency-sign.svg,sha256=SkDK_vLPVUT44IgOIwjk-FLNr8Kcacs_SFjLhscylpE,440 +material/templates/.icons/material/currency-thb.svg,sha256=FZ4RZqyXps1ZcWNtQ_dA10Kri_mxmpM_sveCNgjm_hE,292 +material/templates/.icons/material/currency-try.svg,sha256=xdiNab5SK9QxMZ9oYWj6Sizs6vsI1x03Ng-ZoCw28XQ,230 +material/templates/.icons/material/currency-twd.svg,sha256=G2NbtJ6M248rqGhaPqkskhxK6n0LnjsQocmdbGSJwAU,162 +material/templates/.icons/material/currency-uah.svg,sha256=qqkeNxsdf2Qa3fbS2bEEa1UxMO9qziKNnlRmUEQCjsc,435 +material/templates/.icons/material/currency-usd-off.svg,sha256=CxXT6sKZYC0kbgQCpm7AYNCwoZ5BR8PqVNb7pcUp4XM,390 +material/templates/.icons/material/currency-usd.svg,sha256=04dOJWU9h_G-ztDNkg8XwWmQjKNXeAPpV_sDIR7jcic,367 +material/templates/.icons/material/current-ac.svg,sha256=gllkA521Z-KfSJNf4CIfw7YZ0gdHqqfybKM3fe0YtVA,278 +material/templates/.icons/material/current-dc.svg,sha256=NWOLiMPLBPle7XT0EJLMJsl8X_gdMS6KPrvsriYHUjk,132 +material/templates/.icons/material/cursor-default-click-outline.svg,sha256=JZoYppV3i6GWU0dda_DFdEIe0TJXylx2CoumsFdfCQY,676 +material/templates/.icons/material/cursor-default-click.svg,sha256=ZYsPInKgTYcXYubxtQYDZYE3d52trx0zz_qLv12bCjM,538 +material/templates/.icons/material/cursor-default-gesture-outline.svg,sha256=c2-7g5MVQ3MwJIM7gZ_es8gyOo6EmvAEu3wZz_j6f40,1053 +material/templates/.icons/material/cursor-default-gesture.svg,sha256=FMOhu7G_MfZPdLSU3N7ZKcowMP5Y5jVGFCDxcg7_je4,969 +material/templates/.icons/material/cursor-default-outline.svg,sha256=dADFs63mooM4jqdYrWygZDixEzSKQxj_APRqGuGRT-o,431 +material/templates/.icons/material/cursor-default.svg,sha256=TwYWVJfqwlqQSh8Yj9L2Mdxj7Qzkd4QNL7xdtgiE6tM,303 +material/templates/.icons/material/cursor-move.svg,sha256=_Yxl9UN4C1IUqb4-eN7nH5njGDSUXO1SiL_zqSdFbuY,200 +material/templates/.icons/material/cursor-pointer.svg,sha256=E5P27QXfjr9FkFGrNnwpXTuZDkPsoAmAw94Xw5nGeqc,304 +material/templates/.icons/material/cursor-text.svg,sha256=juRArnwOyXs8vMvIq2l1FMVZoc-JyTfe7D7bGmzjHH0,253 +material/templates/.icons/material/curtains-closed.svg,sha256=B5qDAEP7mZx3ydDirLupIqZPOu9ldYpd49RZDCV96_8,122 +material/templates/.icons/material/curtains.svg,sha256=4iYREUe6EZLl_1wBmBprpZAwPsDz0yhpfnq-Z-w19Ls,164 +material/templates/.icons/material/cylinder-off.svg,sha256=LMg28TCp61m19Vr7F5iq5-MK8ROlVHlLpaTIs4_WZws,572 +material/templates/.icons/material/cylinder.svg,sha256=HBIuPJStgN6fQ3-g-RI9-YnmJWCSLv8nhVXY8TWX3Qs,395 +material/templates/.icons/material/dance-ballroom.svg,sha256=0W4PbpPUy-Jk2hnjwmFSvxFDFmP7PdNvgAEB4X01oes,606 +material/templates/.icons/material/dance-pole.svg,sha256=HJSCN6oxItF1Y4eFxQc6JTSjhWcZV6dqEZL83J4Rp5s,406 +material/templates/.icons/material/data-matrix-edit.svg,sha256=_Hz5O7EiLnfDIKprGkDsteULibFK8SkAqU-S423r6oM,432 +material/templates/.icons/material/data-matrix-minus.svg,sha256=2xM4OFDDAKavUL9cPGv-Zp40fSBdHrXqqO0w_yBlqVA,381 +material/templates/.icons/material/data-matrix-plus.svg,sha256=kNg_xDrojwqv3aeThjgts4yHJYIux60TSSKSNNW0xvI,400 +material/templates/.icons/material/data-matrix-remove.svg,sha256=xYLnTNSg7ieJjN9-qjnhfXYA53YKhpnp2t8LCLbqhdM,470 +material/templates/.icons/material/data-matrix-scan.svg,sha256=nE8xmYwWNmKLEZGv1H94AghdvHuzLdJI4xZtOk2koxw,369 +material/templates/.icons/material/data-matrix.svg,sha256=XQP7Gyidj5j0KbIttOuhbQ0THnJdJCuX9P-Q0eOnVH4,329 +material/templates/.icons/material/database-alert-outline.svg,sha256=aq3Z7zlMr1S_IJEnplIYjHDgzqzL7uy-Oq-HZsLeRrw,417 +material/templates/.icons/material/database-alert.svg,sha256=m4WFPE9d59HvcMZtNKuW1pv2sK51iZMLfEw2VvIKLV8,315 +material/templates/.icons/material/database-arrow-down-outline.svg,sha256=nkJmAvRczKCoevPEYBLJHVyXcy9ayLGNIXCBec1Kiaw,499 +material/templates/.icons/material/database-arrow-down.svg,sha256=ArDG4yB0KhPeN_21G5FrBKc36i7Fm1APhRvWbFKyeZs,445 +material/templates/.icons/material/database-arrow-left-outline.svg,sha256=uuEhIm2xNvasvNo71cTfWs6EzpKpiFzHvmib3qmxnCQ,499 +material/templates/.icons/material/database-arrow-left.svg,sha256=wjkBDh67LeE8RDCN_tzO4V5KPum5ZPpwuzLAItx_muc,447 +material/templates/.icons/material/database-arrow-right-outline.svg,sha256=7kncDZtf0wMSL3yUtltMzvE-kLhe8W7NN9C8nT-KxHw,501 +material/templates/.icons/material/database-arrow-right.svg,sha256=qwqP-blxF94aUx3iA6juS4zVzgPsQWDp22LoKslPIBU,444 +material/templates/.icons/material/database-arrow-up-outline.svg,sha256=yOzwOujgQXiBL6xqk7GushOc_YQ0FHo6cwJj0TfEXMw,501 +material/templates/.icons/material/database-arrow-up.svg,sha256=D4ponyhvQau58Sgs1bASxJ5dxyKYjAWHRpVCnnv0hVI,444 +material/templates/.icons/material/database-check-outline.svg,sha256=w8Hu-FbVjW5AH2E0oC57rs4KUlk0Wrqn4shwbbICY6w,539 +material/templates/.icons/material/database-check.svg,sha256=nGD3-WE_o09SG7blepiBwGm5kuNcPBUGjTf4nOkXeOs,369 +material/templates/.icons/material/database-clock-outline.svg,sha256=7o7Cp09Uswn8hXduogys2mKllsYB_K664fh2YsF9srQ,631 +material/templates/.icons/material/database-clock.svg,sha256=XPEB2Dihmxls1zBVC_trJ9AN7vYBPZduBet0n2rLFjA,553 +material/templates/.icons/material/database-cog-outline.svg,sha256=3S01qGaD9G7k_W5PBcqr_b-RtG_HKGJUG_BJW9n9130,897 +material/templates/.icons/material/database-cog.svg,sha256=2KRpDPX-S8cTS-ORjzIaIn_DWa0SJbKutUz5KyW15wM,795 +material/templates/.icons/material/database-edit-outline.svg,sha256=7nqFAhpvraEoWrz0L6hwG6h0T6Vdi19H7Ei5PPFRGJA,553 +material/templates/.icons/material/database-edit.svg,sha256=3XAKxFygT9nJjWZacxnTyuwIm5fjNahRkOB5Yok5SLQ,418 +material/templates/.icons/material/database-export-outline.svg,sha256=xS5Od2dTGhOBZbiO-I10KJbJcBGxQpFJib7ZZtVpFVc,562 +material/templates/.icons/material/database-export.svg,sha256=QKH5BKK67ENWiYcUhASvSNmUl94_DaOhn6sfymkv27E,433 +material/templates/.icons/material/database-eye-off-outline.svg,sha256=v4GJfqlU2vrSTi_3nqUNumax5fW9siQwff38xut_Jng,736 +material/templates/.icons/material/database-eye-off.svg,sha256=gCDbHzpYReNXAqwqZL3P9vfEg9TD9Xj-JF5qILZwbBU,720 +material/templates/.icons/material/database-eye-outline.svg,sha256=37N8bYBYlEo4whKrgO1VlbRdlnxUam11NEBkLMphcXk,575 +material/templates/.icons/material/database-eye.svg,sha256=T71YmLU6Kxan59Otlm4aBuKeU0p8HQkWtT00uU_TXvY,533 +material/templates/.icons/material/database-import-outline.svg,sha256=Vxl7lS6b88IWzny1ZbJ-EH1Q1_nU8KbbQqqB4s2ZJT8,541 +material/templates/.icons/material/database-import.svg,sha256=rB598elKP-W5M1tIfSWj51sUri6X5AfmWp4Wk1s3Mis,429 +material/templates/.icons/material/database-lock-outline.svg,sha256=feeQPRq2y29F-4Qj9Boxq-IuyeAbBbUpXsjvJrlmRnU,636 +material/templates/.icons/material/database-lock.svg,sha256=yDiuPyw0m3AGLnik6ofnSpPKZFcUNvOGyIq-H3juHQA,521 +material/templates/.icons/material/database-marker-outline.svg,sha256=GSrlpr3pAPls1T0FWyC0yb0ZIB1TDAytN8hKIDP9GHU,680 +material/templates/.icons/material/database-marker.svg,sha256=U_ZUawq8vbms0EuHThtkuaJ2GuLxHz18QCP0Jc2gqms,551 +material/templates/.icons/material/database-minus-outline.svg,sha256=xoqsCjjiX3hDF3jxLZck93MXMadjKHf0k6j_iwp5sTI,489 +material/templates/.icons/material/database-minus.svg,sha256=56D4oOUjuYgVVpVxZkOn2kHQzTfAoHl8DV2wS57q7fc,322 +material/templates/.icons/material/database-off-outline.svg,sha256=1mg8QJYChPJT8uiXib9OFH5mBl29iwHGTgqkRqLMbJs,588 +material/templates/.icons/material/database-off.svg,sha256=3E9-LtRgeHGJ2wL4g1KrO31ufr_05fyHc99p3YXm8_U,537 +material/templates/.icons/material/database-outline.svg,sha256=HYPEk0QkTus_zYQ7ZJ0xuer7piMXnQVixnHsHx5GVT0,388 +material/templates/.icons/material/database-plus-outline.svg,sha256=ZBFFpKEXPJBAvYlKPDfy4jqf7F2YBxnNeEaBLYLb-3w,509 +material/templates/.icons/material/database-plus.svg,sha256=dUrVLD4IL_iOt7wfz_neJijl0nM-lkprvRuHHrVqAyU,344 +material/templates/.icons/material/database-refresh-outline.svg,sha256=Vb_ydV8tktPpEHig9aP58jbQnf6aJO3TozMSXckG8-8,570 +material/templates/.icons/material/database-refresh.svg,sha256=iYc5KZ6feP29vZJTPzdeHWejMvvyJ1V4Scxp41l3T98,496 +material/templates/.icons/material/database-remove-outline.svg,sha256=IPt90Dqpzw406hkAD6euLLveNPj28drp9QiKtuWiJyc,599 +material/templates/.icons/material/database-remove.svg,sha256=5eOsd_EsCyarFW2rIBLV70hc73gozzrOFDpLoHnr1aY,438 +material/templates/.icons/material/database-search-outline.svg,sha256=eK-6nYH1cme0-JMvDFEL-uaSUa6QLjSahKfWlB3-0Hw,616 +material/templates/.icons/material/database-search.svg,sha256=BD8PHGey2wNIzXlqVPpoL2WcsBrKTa4SG24kXjPxO6A,633 +material/templates/.icons/material/database-settings-outline.svg,sha256=LSGcKDB3XFPncibfJD4TmM6IAdXL6QP9IbkPdIOi7oY,456 +material/templates/.icons/material/database-settings.svg,sha256=CRoH4Ma3BCOmYMIM4g6SrJpWLUPAKdbkj_laiZ_Z-gY,336 +material/templates/.icons/material/database-sync-outline.svg,sha256=6h3bAn0ZJsVLirAAD6ysSD3d5eK0bZ4HxbVwo1-mX6M,747 +material/templates/.icons/material/database-sync.svg,sha256=tDUeao65f9wHQT9ERiVssyJp4AtgFFQwbAAy3R_DQzg,605 +material/templates/.icons/material/database.svg,sha256=L2dtbeDCYIz4zJqMNO-c9xr7u6J5XwMtTOh7XCpHe-o,270 +material/templates/.icons/material/death-star-variant.svg,sha256=yHzha9XrkabymqflY36WYoulLq26Q37eV7Foyn3RLxQ,351 +material/templates/.icons/material/death-star.svg,sha256=_vzq9N0Ml6hvlAvexJVIwBte-sB276K0tJa8OJu5-5Y,285 +material/templates/.icons/material/deathly-hallows.svg,sha256=usOGGyAMahe6WEbbtKwygYPZzSHXIkBq948QkGCHJ_4,404 +material/templates/.icons/material/debian.svg,sha256=iMOknZ8QA8w6NTuyzEG6hl8lh0bRgT-aZ-KFHJ_886s,1829 +material/templates/.icons/material/debug-step-into.svg,sha256=8PlWyY_kPlx8w-21fObqV-x4WO1w2eOHCglOJWCSBdo,204 +material/templates/.icons/material/debug-step-out.svg,sha256=uy1sFOWjDYV3kWFXt83StSoVMH06ic-aMo0XAnhX0to,205 +material/templates/.icons/material/debug-step-over.svg,sha256=6HS5P1EMVsCeyprvPz8Pako7A0gWZcgcOacaWl-cQgQ,299 +material/templates/.icons/material/decagram-outline.svg,sha256=jgMGhLNzzATZdjnvSKm_DusGWxEMdO2OlZFIObI1Ssw,435 +material/templates/.icons/material/decagram.svg,sha256=3nPnSuwlBkORF4BdfNpYwLVmotFk4Bhl15IYB0sM4C4,254 +material/templates/.icons/material/decimal-comma-decrease.svg,sha256=fX9B0JnW6Zi7TNZi1hR6KnqdNDlqN55MY5YZI7AxLIA,202 +material/templates/.icons/material/decimal-comma-increase.svg,sha256=MNmfNF3tfJgnuFf-Qz4XN8XAjgrMLjjcFnv0jHIyGnY,298 +material/templates/.icons/material/decimal-comma.svg,sha256=LN-M3IBsbMGDSCG4IwKKtf1-_weFBf8BhYLLsdg9FQw,326 +material/templates/.icons/material/decimal-decrease.svg,sha256=M5TP21C44Lp55e3KXnhjHfK7KeYUW0lCxshduZhAqnU,297 +material/templates/.icons/material/decimal-increase.svg,sha256=t0nJI18daUn3mIUlcWzORDunwI-mP0f0izq6N9W1HjI,424 +material/templates/.icons/material/decimal.svg,sha256=X_TeOc4YlWv61JxOEjWAPtUmCtrdMUJ--0eW3Vwhoyg,285 +material/templates/.icons/material/delete-alert-outline.svg,sha256=p-bnFq_BkyOyxBpxmj316Cfvm6psyMJz04tfs6k-Uns,196 +material/templates/.icons/material/delete-alert.svg,sha256=kd1WcGMydtG3hkFDZJm5SzImEwkMVwogmHY8gvgnUow,181 +material/templates/.icons/material/delete-circle-outline.svg,sha256=8AY2E7J_F-DzGMARgZN1O_sEf5eweF1fyjO5epz7UoA,285 +material/templates/.icons/material/delete-circle.svg,sha256=Ot2MO5bGMPZvRSKSUZz5CWq5ybyZ-ngvgpl5NHp7ezE,218 +material/templates/.icons/material/delete-clock-outline.svg,sha256=lgX2otPixNU20Jt5ih7SQtSFk-bMVrwkY2wo6S-6y6A,360 +material/templates/.icons/material/delete-clock.svg,sha256=EMQquzDaRjOVjJFEBdSC1RQrIWJUbdnTUd1pWYWWk6w,302 +material/templates/.icons/material/delete-empty-outline.svg,sha256=6QLY6IqueMCaPH-kTMqUmI4nFli-kzG_lf5m8460x3s,232 +material/templates/.icons/material/delete-empty.svg,sha256=k4xwvHz7MOg1ZA17VdKCEHCS-KOlLugtfGCJhh5pg6w,208 +material/templates/.icons/material/delete-forever-outline.svg,sha256=8I8Wq2EEA0cXi3Pyvj9fGW1uXW5aT3YwGBY5AQ23lw8,298 +material/templates/.icons/material/delete-forever.svg,sha256=pV_Ur0ogg1ahx4ivJkX3Aw8z_xZNc1OT8oIYDFWjH_s,283 +material/templates/.icons/material/delete-off-outline.svg,sha256=VlZbpEVgK0DwJp3qG9bdQZximpIYFo2ZF49OF0O5dFQ,291 +material/templates/.icons/material/delete-off.svg,sha256=I5F43-2aKFst0hMpY20F1u0WV8EPdJNf7fi6gnoPr4U,249 +material/templates/.icons/material/delete-outline.svg,sha256=Yy2A5Lxv9yjR6sP0s5cd0yIlGLTOuksvL-Wqa5xz_oI,166 +material/templates/.icons/material/delete-restore.svg,sha256=Qx40zU6CnYCxDaJWVezYGDNLErSFd9_YBMVvZYk4IdM,227 +material/templates/.icons/material/delete-sweep-outline.svg,sha256=-KNhH-_xHmTzDHrRYVil2OXQUZH_aNOTXqotzNuuyHI,204 +material/templates/.icons/material/delete-sweep.svg,sha256=KzfpzvJ2v5hBz3Trsydxi7eepyyHEmLvORvMnmKSVYY,192 +material/templates/.icons/material/delete-variant.svg,sha256=9LCcxsFfg3-QWZLrEGVn1LHU7jVEnbi9qHF8ZPUrl0k,236 +material/templates/.icons/material/delete.svg,sha256=lkwfpy6hrGx4KvxQ4BUIeoLRxLTWhLtvjmXfHL6pHHo,151 +material/templates/.icons/material/delta.svg,sha256=JHtCKbqeW7o2q37m8JSw6G4p5At_YF6ZrSY4_wOSGHE,121 +material/templates/.icons/material/desk-lamp-off.svg,sha256=tCEmwTcvbDpvRYkyzgIMAIrq0Mjw7wKnAxnwO7nVcQI,432 +material/templates/.icons/material/desk-lamp-on.svg,sha256=DYY_I8jK7PiD5xhViKI9MVM5TvHc9HG6895SAV1lmpw,434 +material/templates/.icons/material/desk-lamp.svg,sha256=_l_GqF4AjtEqioYNyq2-YoLpARXZcY28zJL8CJudQro,362 +material/templates/.icons/material/desk.svg,sha256=sNIHWc4GLXwdS8alRfDlODC2N8HgEygMYQhrHVPpzRM,277 +material/templates/.icons/material/deskphone.svg,sha256=W09V-H73qMhLYEwjKxYTxmc5U65u4CpmxHIKQCtYDiY,299 +material/templates/.icons/material/desktop-classic.svg,sha256=rkg7IlsE-0RvSoOAsZLYj89wC85b3QRR6q4KeFruiQ8,307 +material/templates/.icons/material/desktop-tower-monitor.svg,sha256=fsSHTkirPsqP_R06M6jeDAKi2I-J2wzLDFle_5yvcG8,279 +material/templates/.icons/material/desktop-tower.svg,sha256=yJ5sXJ17tj2Br5btMrfJdCiqx1_YWjtu90sQ2Xa18II,187 +material/templates/.icons/material/details.svg,sha256=jlaNbmsRpgzlm7ri3F_AflUh1aFJoMwdhKDWkoUFi6w,121 +material/templates/.icons/material/dev-to.svg,sha256=-iR0Wa-LOY9BSO1QEqnrfcRWt3LCcPXwhGQiOgfBa8Y,814 +material/templates/.icons/material/developer-board.svg,sha256=PYmHOL9LDJFNNIiM2BPUfQHQsXckPidBPslqVSe09-U,250 +material/templates/.icons/material/deviantart.svg,sha256=uBQuAoCnNZMpU59eWVSNM9UPvW3WYtgJFQOBE15wWxM,128 +material/templates/.icons/material/devices.svg,sha256=VWQ4hy62VueFiCP3wtUepAsKsztUlyQNuAPYGAUvJAI,404 +material/templates/.icons/material/dharmachakra.svg,sha256=kt2298MH4fpTjorR6uLBVguE6FjnIRrD-UBcaQu_tHU,847 +material/templates/.icons/material/diabetes.svg,sha256=QhkskQUCwxeTPfVSLzA-3zxjryGOxKekR4Hkb5q0qng,367 +material/templates/.icons/material/dialpad.svg,sha256=mYZ4FT5giTPdBnlauXDzV_XTSwk9cAx_wjEIXO4F4MI,684 +material/templates/.icons/material/diameter-outline.svg,sha256=Y1LTYgoAEczJrE5eUCrYLfQXy76b48smwVHlaiGD51o,249 +material/templates/.icons/material/diameter-variant.svg,sha256=_oq7PtFnTSECogzI4bJbAdmioftM-6XVTux2KjZE5CU,442 +material/templates/.icons/material/diameter.svg,sha256=RQg79lKYxJ0K7OvR23PhRDiB2tt1aMcmCuxcWBuFfRk,190 +material/templates/.icons/material/diamond-outline.svg,sha256=KD35CGRTQq9JIBuANFdikupoROINSjWTH3-C9j98HEc,148 +material/templates/.icons/material/diamond-stone.svg,sha256=Zk2jZ7F0k04jTdo-W2kyGKHzdibd1AUSb7aooLsgi-c,179 +material/templates/.icons/material/diamond.svg,sha256=xn4bAN9IW5i2C-0FdV43Z-IPXuCvKXJGXbOIHIRtMr4,105 +material/templates/.icons/material/dice-1-outline.svg,sha256=McUO5hqRLC-hIStK5dxKQnu8i2yIsU0nk9XoFuPyTyU,245 +material/templates/.icons/material/dice-1.svg,sha256=OtZXuT0CQzV57u-owYc_hED5TxEE_nWZpuKb9rptLjY,209 +material/templates/.icons/material/dice-2-outline.svg,sha256=eoC8JFj0lclBTSCf470J1pfUWLzFsWdemi0hsV1Ua6I,308 +material/templates/.icons/material/dice-2.svg,sha256=aHnEisrBGQ4la7y_gD3EnVo0FFuWSOpLQABtN-LQ9xM,271 +material/templates/.icons/material/dice-3-outline.svg,sha256=a7YXDLvIsyTYJQMfjtld82xWvJbljqE5pxC5rIWJ3e0,369 +material/templates/.icons/material/dice-3.svg,sha256=HZs-R1XOlqqSYv9pzL3K5XCIyBdJfa52_zObtivwAWY,331 +material/templates/.icons/material/dice-4-outline.svg,sha256=yTcOJUXTo7uCwzc-ww6E6T7e1OVP_Q0gbqrLwVsJzKc,451 +material/templates/.icons/material/dice-4.svg,sha256=hJ5tR5QZy5uIEItPrUXwfuN06CmyeYW89lvev3z013I,393 +material/templates/.icons/material/dice-5-outline.svg,sha256=E0m7zosYuNx9A1kElxFD2jS8uzBwsgFfh5LOF9lkhes,505 +material/templates/.icons/material/dice-5.svg,sha256=FWBGCGLkyqsqJopal14z_qCxpEJkbZl1JvLHjbwJPBo,454 +material/templates/.icons/material/dice-6-outline.svg,sha256=peURI4RJqU3ZRNq0aj8HeXS58C0cO-RpAgIPgtTTonE,574 +material/templates/.icons/material/dice-6.svg,sha256=shCXoboTJqh12GkwyjsfW2yDSA-b-GYhLgHvKUkPGS0,512 +material/templates/.icons/material/dice-d10-outline.svg,sha256=bB-ya7fpdEodFnM1cgJGZtoG5pM3gI02VlH25MKgaMc,514 +material/templates/.icons/material/dice-d10.svg,sha256=4yz64ganVkzTYxq3fGinnVurj0ufPRr6J5Xq8LD6fYo,497 +material/templates/.icons/material/dice-d12-outline.svg,sha256=tOXbTHv68XQHhfXc6zgcVrkJso_N4MNxcmlXlqf27dM,392 +material/templates/.icons/material/dice-d12.svg,sha256=JTcW5z8z7ls-81c8PXIo6a7iGjTBH0dCt5Fq8H-pvy8,350 +material/templates/.icons/material/dice-d20-outline.svg,sha256=tsY_S8q6boj54-5A-Afyao4QnGqUDsP2QRRmzUs8ZaE,766 +material/templates/.icons/material/dice-d20.svg,sha256=AL51_WQPxw3Yim95f5d_NiZcT8ijXWSJxkh6iBSUYBE,704 +material/templates/.icons/material/dice-d4-outline.svg,sha256=9AlxmAlPAxoykU9vIdF9a1bt5bJ6SHjiRx8kQIvubag,324 +material/templates/.icons/material/dice-d4.svg,sha256=FvpMPhV_w3HkX48m-hsqyAabIel6ADA0M3a7YWi6pBE,295 +material/templates/.icons/material/dice-d6-outline.svg,sha256=-SFP7BiGnIKtKdggkMqgXTDfswVkp-beWGCZxTb1yAM,423 +material/templates/.icons/material/dice-d6.svg,sha256=YZvBup3ZSwegH2Zfvtsu5V5ESjWRlOTI3lDitk2e_XI,409 +material/templates/.icons/material/dice-d8-outline.svg,sha256=RyHr48floY9RQliqXTHzYqJV8ThxzyEzV-NBUKRqOpM,574 +material/templates/.icons/material/dice-d8.svg,sha256=2fzFnrDxLG0BYlv3w0p4B4CJnHlChxw5V9Eva31mnfM,560 +material/templates/.icons/material/dice-multiple-outline.svg,sha256=xc7_mdeg3jtGLsFHZyBHaVdDzAfc0mFEXaZs3G_wFQo,583 +material/templates/.icons/material/dice-multiple.svg,sha256=kn32RHpeG8fHHaLwspQ0Xmds972tyrhiYnKwGotNwQo,876 +material/templates/.icons/material/digital-ocean.svg,sha256=MAWSMgnvqjX-mZSPTfKDylTC-RyNrF2JilrZVMC0YuU,209 +material/templates/.icons/material/dip-switch.svg,sha256=_m2wHc0TRtxZPmfStKQyvHtHjjdyAUjY3tvs61pV7Ng,329 +material/templates/.icons/material/directions-fork.svg,sha256=2Idl-sJ5nA4pAOdPvukl7yDhibUnRbY9c3aYx3NoWwY,208 +material/templates/.icons/material/directions.svg,sha256=vUc6mOzu_MkeI1QQmcMEgNmAQhWhavoKyeyhuM85Nec,249 +material/templates/.icons/material/disc-alert.svg,sha256=r2Q0XPfiXbwC8gPV00Bur7DAQyTCOQ488mOAHYkkGYg,207 +material/templates/.icons/material/disc-player.svg,sha256=7ALpcRG2HZ3yFt9ZVH93XVnn4mjIfkvFYZTtAQxrmKg,389 +material/templates/.icons/material/disc.svg,sha256=trTUS-c-6s_Mx3rKyMzr3owHV349_CWlpnby03ZOwsU,207 +material/templates/.icons/material/dishwasher-alert.svg,sha256=DO8_x5fBnMeZRsDtIL9GL7aEE4qUKffKDk47gobFgX0,463 +material/templates/.icons/material/dishwasher-off.svg,sha256=AWW_XQ6CP8apxm5RNxo2AJpvQ9JS4AdMvJ3BFSYPSYI,439 +material/templates/.icons/material/dishwasher.svg,sha256=7znx4-jFwx0SaQthrk62mR4K8azPRz7krRgZrVZQ61k,447 +material/templates/.icons/material/disqus.svg,sha256=c5Vry2OoRitFYYF2RL5boNvw1WIGJY1nY_cu76V7xQg,374 +material/templates/.icons/material/distribute-horizontal-center.svg,sha256=67D91WxInm0GkWE6fVrkAFCkGcdzV8YcOuw22dx2vQk,142 +material/templates/.icons/material/distribute-horizontal-left.svg,sha256=KnhbDWsmdvv9L7KZOFJa9yALHLPSSpD_8EEtmeU0ciE,125 +material/templates/.icons/material/distribute-horizontal-right.svg,sha256=rOuUY_b2Yjy0Ww8HEa8y3uxOLWhxneO0lvIe8gCXFkQ,126 +material/templates/.icons/material/distribute-vertical-bottom.svg,sha256=nPtGM1AeZVWaNazV01kfHmnOLn7epjLDvfB9l-V4kys,125 +material/templates/.icons/material/distribute-vertical-center.svg,sha256=4xWHAmMwCwFpCn6TpTiy4u5UafXYpGRlTL-vYhfUwXE,143 +material/templates/.icons/material/distribute-vertical-top.svg,sha256=8VqIWAo-T7W3_ya0ZldrgqQPpitapydwjsrghKFPmgg,127 +material/templates/.icons/material/diversify.svg,sha256=h-omPXVZmlJ4YKZoEr9x2aCPJe6Rjt-rnaEw_szXnTo,285 +material/templates/.icons/material/diving-flippers.svg,sha256=iOFUdk129ffIYX3vXhosYmVFO-wfKTspw46yurdVx0o,626 +material/templates/.icons/material/diving-helmet.svg,sha256=otrHyYoSm5Y_XsDU8v830259X5Fuo_YYHJed7hQEkdE,518 +material/templates/.icons/material/diving-scuba-flag.svg,sha256=BemAz8nFTRwbWWWbMOxUGobGEp1LuKcRWSAdpJsyrV0,107 +material/templates/.icons/material/diving-scuba-mask.svg,sha256=lvRxBM9Ek0z2Z0h_E64r4w9RC82JpeTXXPkyOjjQsbk,494 +material/templates/.icons/material/diving-scuba-tank-multiple.svg,sha256=rV2wST7OHU_JkJzbaay4MHbncFCO6hNXaMC_-aUFwY8,431 +material/templates/.icons/material/diving-scuba-tank.svg,sha256=qmpeNqVC1OzzwvwcFdwJqqgJinX57h07Py8qtbw84pU,322 +material/templates/.icons/material/diving-scuba.svg,sha256=BGZiqwS9Jjiphm4TuyZDzSVbaPS7UVpUY6zQqk45LCo,330 +material/templates/.icons/material/diving-snorkel.svg,sha256=IhqFTe5iIex7dIlplG3-fXUfM6gmZsmbW5nY181es6k,553 +material/templates/.icons/material/diving.svg,sha256=Cs-57DJ-zag6xvPbTn2ZMVP6TuYNI5mHTk9DO7bCY90,424 +material/templates/.icons/material/division-box.svg,sha256=euKl6OLBoG85uNBsAEutErpC0ZfqP3FWjfVkR_dFPPg,289 +material/templates/.icons/material/division.svg,sha256=xbY6thw9cpiTZByA4f9iSpjO5PA26zH3YBdnQ2xhiwA,217 +material/templates/.icons/material/dlna.svg,sha256=khUtvDrTQVvbNaL8ufy6IEamNYbHQVVhLUrPBsOro90,888 +material/templates/.icons/material/dna.svg,sha256=qnDEnEpizsSXdOomueF-HgsJRsDM1qOxC10TpuBIxFk,790 +material/templates/.icons/material/dns-outline.svg,sha256=qdkjnksDloTMQzj4I1nvkI0VVkbfjPYxqRnmFQjccis,425 +material/templates/.icons/material/dns.svg,sha256=XTwwVXQVEjuRiKtaCYv6Jl2dsFcxeSYzfId_RGtsKGw,341 +material/templates/.icons/material/dock-bottom.svg,sha256=tTZiAlLsyJgWFeHkzRRNDe6oq0UF_C77BzRss1mB8Z4,161 +material/templates/.icons/material/dock-left.svg,sha256=OPZIxUqvLitCoeO7ehWAotbuxEWelFr7eD-LEc1Y8IU,162 +material/templates/.icons/material/dock-right.svg,sha256=jKkpmkvf9HJgR5Fu5p3SpgIaAlCo9YKKJCZ3JhTsfo4,163 +material/templates/.icons/material/dock-top.svg,sha256=tdB4BISu_kiIoYb5NOsZhzSEszN-ETJmwlib4fUyvYU,170 +material/templates/.icons/material/dock-window.svg,sha256=KWsOeJ0dRkorvm_wZvhOw3J037LN27ivknKNs0tOUQY,192 +material/templates/.icons/material/docker.svg,sha256=a0mmb_pCZOEE8A11PBqzQOxTgILpf88zAoL-Gl92OPA,1493 +material/templates/.icons/material/doctor.svg,sha256=gC3u38d0_6wBXRXEbaDGiMbSGRE46Zm7-eDljOUzbP0,294 +material/templates/.icons/material/dog-service.svg,sha256=83vUzajKdj4V6ly22B0cleUEPCtbLtIWuSBrqAj1g3M,293 +material/templates/.icons/material/dog-side-off.svg,sha256=pBetnX3QoiHVzEBciMjwiFR-1PverjYp8Tv_zECSJc4,247 +material/templates/.icons/material/dog-side.svg,sha256=r0w9tqzW4WWlkiSnvHdRiHMKH3GKdQRRS8LqHnZ9nw0,164 +material/templates/.icons/material/dog.svg,sha256=MB-6AnuoWs7NCXocMMkcVn5ag5VDsMyhu4ANCRR1j_M,726 +material/templates/.icons/material/dolby.svg,sha256=-V1kfdk2Jg5fYo5ndw2STWPGKxVvtLkuCyMr3gzTh9U,205 +material/templates/.icons/material/dolly.svg,sha256=YxDiubn4YdbqLcRumFo-fWsNlVm5AJx7qZ1naZwu-MM,535 +material/templates/.icons/material/dolphin.svg,sha256=2tOhjTk35PtTa0MuR8OmNV5UGLXsNkYvNQA4heibDw0,312 +material/templates/.icons/material/domain-off.svg,sha256=W0p-MqKZs0WOAt7Yqom5SzVTDITec87EJa30xvh4l28,292 +material/templates/.icons/material/domain-plus.svg,sha256=OYwJFtZ4x_kVSxGhL7TfW64KLBvOG5B-n_8_EcwLiAk,350 +material/templates/.icons/material/domain-remove.svg,sha256=V0sS1FVKvtXHtwst8f3ylspMaZaVwAzw6e2pglv61Tc,436 +material/templates/.icons/material/domain-switch.svg,sha256=pL3EtC1a1I-Jv6gkghZIbE1ZWNQ7EDS3uwQFa_eBLnQ,245 +material/templates/.icons/material/domain.svg,sha256=UT3_3S1U__Y8aCfD66CXy8zM2RHmk1vIBuWH3xotlVk,241 +material/templates/.icons/material/dome-light.svg,sha256=HLIQWdsBSa07pPZ3A1S8aqZfiYUpcTsbME7FCkEcDi0,301 +material/templates/.icons/material/domino-mask.svg,sha256=d7PbyWZifhYwmUKisi-WwKIarwBlJUQ286wKycidYG0,477 +material/templates/.icons/material/donkey.svg,sha256=-MObW0tUiwEljabMtCM1BKZb1TGXwDJS2tkT76bHf1E,364 +material/templates/.icons/material/door-closed-cancel.svg,sha256=3ZOmniQ10Psuz9qZkNYBgBdZyt_w0I4ZBswm-2XRnMo,403 +material/templates/.icons/material/door-closed-lock.svg,sha256=Wxawy9-07cBS7E9Pf4zw8CpGlOsr2r0OD2XVw0NTJSQ,280 +material/templates/.icons/material/door-closed.svg,sha256=XvsJDytlW5incKrFP6VrUB2bDdu9XSsEqqAEx4vdB68,165 +material/templates/.icons/material/door-open.svg,sha256=mwPuPZVOEySxSxk67gCxGXJ4A7tGUl452v9ZKodXxIc,170 +material/templates/.icons/material/door-sliding-lock.svg,sha256=asiqbauYVqm0RwhbYSpaMXmPW5U5_7H-EEiGifDfHPA,408 +material/templates/.icons/material/door-sliding-open.svg,sha256=qM1LWV-yTqV7mnwTGeYFCwM8rK3bbnR8cPkhfVJCxdE,193 +material/templates/.icons/material/door-sliding.svg,sha256=euPBExl1ZOQoOFNvuxVc5oX-QF6X9azpzbjMOTx45Ds,188 +material/templates/.icons/material/door.svg,sha256=w4t-hoy6pUasdigc77SeBnZSB8rrPZoJRdgMKWEH-Ws,155 +material/templates/.icons/material/doorbell-video.svg,sha256=JwVkL7iZ2Vl62ZkMsASf-uPf0T5kO5JE5dWns4h-pmM,292 +material/templates/.icons/material/doorbell.svg,sha256=aNWWVzhOk7mhobBslTPOqwxzXDqLm5W9G9cExMSYN8U,215 +material/templates/.icons/material/dot-net.svg,sha256=hJefMYAwdapX08JdsoqJGkklUJ6rMQys4KRM29GYEoE,227 +material/templates/.icons/material/dots-circle.svg,sha256=ndyixR0ke62mUmfnPTJDBXxzQSICWFomLle-tVdC3yM,463 +material/templates/.icons/material/dots-grid.svg,sha256=95io59rqQuCnhqTonv39IU7ztkoxub6nx7-R8hRxcNg,507 +material/templates/.icons/material/dots-hexagon.svg,sha256=5RiCWMGrY6nG-ZKTvV3Btn5o0GMooHqicyP4_1rEkmk,399 +material/templates/.icons/material/dots-horizontal-circle-outline.svg,sha256=xVUG3i9NIn-p6X3vdQ0Evmh2BqRGA40o58YOc16R7hQ,485 +material/templates/.icons/material/dots-horizontal-circle.svg,sha256=bU082ormvyMg1m7yPwZdki59DHRjdtq1rC8D113B68s,426 +material/templates/.icons/material/dots-horizontal.svg,sha256=cC2U6HoxPdqOXcwDyKHoKh1IT52a7NxX3WLbINgkniU,263 +material/templates/.icons/material/dots-square.svg,sha256=B44gl-ulxXmL3MQZ9SA2NkOjDqvWwMOyAwLxv_4bB5g,461 +material/templates/.icons/material/dots-triangle.svg,sha256=TaAEKSVLJxEZx1TOPqDGQ3QDbDWTsUj78uyy0enfnO8,364 +material/templates/.icons/material/dots-vertical-circle-outline.svg,sha256=0CdicIf6ROIc4iH9NuPp6BI6y8a9tvfAp3YHRu1h3Rk,486 +material/templates/.icons/material/dots-vertical-circle.svg,sha256=g4KJnbrQTBPPMVq4jpgc_LZAVQg3pk8J4dWDm6egXjs,425 +material/templates/.icons/material/dots-vertical.svg,sha256=I189OGH65GGlQ5B6HOPDneXePg3p3NH3grz340mV1FM,261 +material/templates/.icons/material/download-box-outline.svg,sha256=ngacFw1dg9n6Adbs17TfheVdFHeaKf4q2EJd-C9xu_k,205 +material/templates/.icons/material/download-box.svg,sha256=remszeBPM5Z-0WaVO2lge3sc6Oqk_AqnyiaiBiXAA54,192 +material/templates/.icons/material/download-circle-outline.svg,sha256=9LyqjZjufzVC6Z0eMuC0nGy7nJvraEnUXw3QSf2CBeQ,235 +material/templates/.icons/material/download-circle.svg,sha256=mRP7MP7RTyVk75ocS_i0r35zlL98RgSHdS0ij4f-HjY,180 +material/templates/.icons/material/download-lock-outline.svg,sha256=JwOJ_egWfeCQN8QMjZ7zpUzd2poHiVOMh4_JoVKtipM,303 +material/templates/.icons/material/download-lock.svg,sha256=lTPLIwT2PTuJjSjOEhBFJJ4pGEH0XnCv5x-6qyw9iH4,262 +material/templates/.icons/material/download-multiple.svg,sha256=MbN_3qvDq7MdEmSI1uRjFc5W1YtYFmLymw3ec0FVmZY,131 +material/templates/.icons/material/download-network-outline.svg,sha256=nCjgqHdO05SeJ_R_82SdFmFiQ7DwTc4Vx9u7beI2qrM,274 +material/templates/.icons/material/download-network.svg,sha256=lUA5S3z6lSnTqCO-5cX8JvOh4tBMm5mE7KKl-U9nacg,273 +material/templates/.icons/material/download-off-outline.svg,sha256=Cvi1ol7o-OAjphfO8PduRgfaSP2FrGcWB4tEvhpyajI,208 +material/templates/.icons/material/download-off.svg,sha256=lv5pD_DIsbPPT2aYbf4dRaVmlBR-1xKHnOoxbMlQ6p0,203 +material/templates/.icons/material/download-outline.svg,sha256=x7m2EDVd8pSF6p4zvvq2JGGzIyiFflbXeB8TcVsfEWQ,153 +material/templates/.icons/material/download.svg,sha256=p8KjOojpjFdtQ7ybYMjR0tiCnhlY0mCr9RuC8SewF-o,116 +material/templates/.icons/material/drag-horizontal-variant.svg,sha256=JT-v03fWI2D16sMnK2MIF0bMwve70JSSCHzaWcywfsI,108 +material/templates/.icons/material/drag-horizontal.svg,sha256=bOEGNm8QlJR2Lwek0NoXGSxBS1XT7eItqFVg_pfouM0,211 +material/templates/.icons/material/drag-variant.svg,sha256=xN-KDQ4ryiSsAZQckhQHzGBWABmbhSR-EXYN207Nh90,388 +material/templates/.icons/material/drag-vertical-variant.svg,sha256=A9s8dWjVffvdZpuzdoGLGTabBrEK2h7-ManKhhgd6IE,109 +material/templates/.icons/material/drag-vertical.svg,sha256=NjomuKQbT2-iSmpj-Zj6ck3aJv0LpWLe361BuEF_rvM,213 +material/templates/.icons/material/drag.svg,sha256=OOzG7h5wydjtH59xGL0CgnxvEOXPUYaJifrafM_pG6s,240 +material/templates/.icons/material/drama-masks.svg,sha256=zLefDhaTvz3Pc0buD9GMyAGA8KqnIYX3EuH4f1zcDDk,893 +material/templates/.icons/material/draw-pen.svg,sha256=rWDpk5SvTMQT9Qk7BpuVPzLuOJi_DFZs04U7WklI16g,707 +material/templates/.icons/material/draw.svg,sha256=lpbXcUQ4G_6BHqg9sc0Qimu8sFfuZ9Us-pW-7Z7ShAc,593 +material/templates/.icons/material/drawing-box.svg,sha256=-QEowwLt4eIHvhTLNULAfsgEeBwl6I9Jbfgpoj782Ws,287 +material/templates/.icons/material/drawing.svg,sha256=aIsIqdZsrNfF4abIUis9eODXIMt_545qxynSat_zxVs,212 +material/templates/.icons/material/dresser-outline.svg,sha256=OxQZo0PXHHraac-E076GRffZ0oC2B4wsinMdZlUlkFg,252 +material/templates/.icons/material/dresser.svg,sha256=Y3ua1kaVRK9S5YnxLLxTdtSln8TAbKOYu67mE053Bns,236 +material/templates/.icons/material/drone.svg,sha256=sBFY7wx8nwgCg2GgmlnEkrzWQrhXJnzDhlePLYPC0Ww,416 +material/templates/.icons/material/dropbox.svg,sha256=KTI-RSSGpNRk2N6lKZ_3egLFa8UKsMAwT4nVfmM-3YQ,249 +material/templates/.icons/material/drupal.svg,sha256=ZN0xKW_AGQmhg_3JMKKLj1DlnHXQUt2mSu1aI2RDjxk,568 +material/templates/.icons/material/duck.svg,sha256=8yfhyaoD6WMlFHg_13AjmL8JbB9T7GVoaPCG6Rwv640,336 +material/templates/.icons/material/dumbbell.svg,sha256=bez7F7hBrUGc0DckGRd4HhmiKCGHFQgROVZ0USocn7c,344 +material/templates/.icons/material/dump-truck.svg,sha256=UaFbkuyf57bpCsKtUT2Jv-J_ziiMk3yhnj6rMAkPhfg,406 +material/templates/.icons/material/ear-hearing-loop.svg,sha256=4ahoenS0oEq7re7JngakHzaLjTY1AxLeIMO0Y9x6Lc8,623 +material/templates/.icons/material/ear-hearing-off.svg,sha256=9Jc7WdeduOBb-92IYW4IHXwHE1g9t2LF2jzhiFPPZtY,747 +material/templates/.icons/material/ear-hearing.svg,sha256=SP5Zw5EXr30sEGpFZiZM3HG4tlGH22gIdg2JM3w6dsc,641 +material/templates/.icons/material/earbuds-off-outline.svg,sha256=hXm4vOS5umcbFl7uc5Wx_MKjJumtwrNHwFDrdU9eFSE,654 +material/templates/.icons/material/earbuds-off.svg,sha256=l7hl5gBiJQEw2Vv1suU00Hhry__m-cVye9hGZ4dxtCA,453 +material/templates/.icons/material/earbuds-outline.svg,sha256=ltt4twmchDkza1hai-aJieYTQVin8_w5Kgcpxh7uuLw,519 +material/templates/.icons/material/earbuds.svg,sha256=o1a7W0qbGhZfS1E6IbjIbfU7aU1cmTm95tjmKa2UlMw,349 +material/templates/.icons/material/earth-arrow-down.svg,sha256=EkaGnibWP-9N5OY_qX15vocJlc8mK4JWpxgE8UuYVas,396 +material/templates/.icons/material/earth-arrow-left.svg,sha256=iamKsYnSqRgcdS-vgdwVkWyFiGxQP2fJuU2f7nItxps,396 +material/templates/.icons/material/earth-arrow-right.svg,sha256=JNmRyZC5-snAaDi4tTGNqsCgH6sSsDLr-2kmPyqRHzY,398 +material/templates/.icons/material/earth-arrow-up.svg,sha256=3npt29P7fRotLK3KaYbMaKX9Q9-zRFeBV1dViuaoZQE,398 +material/templates/.icons/material/earth-box-minus.svg,sha256=VHy0zeACSehOmPhLG0rYrXOKrObb5JporzFaL68Sua0,349 +material/templates/.icons/material/earth-box-off.svg,sha256=CGEy8_uznAskOsLdWNho0YKQIplvPBRwAH9gqPiKS58,385 +material/templates/.icons/material/earth-box-plus.svg,sha256=qF_tGj9u5a7NvKWZ-sP5CPgc_dnSSc4vPDwG3Pp163M,369 +material/templates/.icons/material/earth-box-remove.svg,sha256=DlYjOtm1GEC8pp2pVdSbbUlyqC7FTSG8FHEbh9g28Lw,463 +material/templates/.icons/material/earth-box.svg,sha256=7rMMrkSGIYlX6AEiSi5I6Opf0S3z_BtBnjG1aH5l_Pw,313 +material/templates/.icons/material/earth-minus.svg,sha256=B2jXsS5YT2J0EWbosupCcxbYwIqZjaEqcRWxtLk3_Ow,405 +material/templates/.icons/material/earth-off.svg,sha256=6JKYVrm-PfTNiqAlf1vZAvg7yhNCRuWLTyN2r44w8xU,614 +material/templates/.icons/material/earth-plus.svg,sha256=sFBd7QlFJWAXa8Jb901M0Q7-sFkLDd3qNdax0xL2NF0,425 +material/templates/.icons/material/earth-remove.svg,sha256=FFtEt8XTH5oTPVSkbMl0HJ-m9CfQtE0_9PoyUbPH_nM,521 +material/templates/.icons/material/earth.svg,sha256=7Mqgn05JM90Ud3kDflwQ4BCdxWmEiEm84zie4aVKVx8,359 +material/templates/.icons/material/egg-easter.svg,sha256=Y7GZbrmLPUd0vSnEffToJUVG_HQ6Maqlq-zcp9-6Hng,535 +material/templates/.icons/material/egg-fried.svg,sha256=SSlmnUBfWA6xqG9OhD-5KQE9ZBrujgm3bN-YyUWfN8I,580 +material/templates/.icons/material/egg-off-outline.svg,sha256=SD2wOvpewgcjrRXdRlBoShfYL-c8DQ6KcYC0uPEn7hE,445 +material/templates/.icons/material/egg-off.svg,sha256=UQNEr3jUsKkSJGFv1VqyeWdRgnwo7rGLAF6F2XkQZJ8,267 +material/templates/.icons/material/egg-outline.svg,sha256=8tsIjGsxPCkIZViGqNOKGgokkhw5TuYMiFPO94ZyDxQ,266 +material/templates/.icons/material/egg.svg,sha256=Bb2pvEvGdCLRG3QHpCYJdZRiWhg7_P3b8xXy27uRbLk,178 +material/templates/.icons/material/eiffel-tower.svg,sha256=D-DpABIenMdR8PzV5_3hb6Wb3FECyAb0t2jrHIJQJLs,337 +material/templates/.icons/material/eight-track.svg,sha256=CleAPHSo49SuyxIG3bI_OxTjMd29Ps1wzoEz6hw5lUA,164 +material/templates/.icons/material/eject-circle-outline.svg,sha256=-mnmY3lbNWqWT4kFlBUxS11_8Icrt6-nYOial6VTq3c,230 +material/templates/.icons/material/eject-circle.svg,sha256=Ue_qccHvNg-lEeaajXSx1BB-QOoKR8Yhe_gI_R-jqPU,175 +material/templates/.icons/material/eject-outline.svg,sha256=hAE0YP8DX6MTujSoENh3H9YCuhP7UtoUcY0l3HOcp5o,145 +material/templates/.icons/material/eject.svg,sha256=gBLl6J6Uln2E75iLOOIVjEx2lmGb8YqtcJ7g10dlncY,113 +material/templates/.icons/material/electric-switch-closed.svg,sha256=8EcRE-uVFD2SEHkGJiIqRe26qYli2LjFoJBPIa79zLk,247 +material/templates/.icons/material/electric-switch.svg,sha256=X1_N8tMhLvtcMPtYWRPSQQIQtBvGvLboaa74YXfSpUI,430 +material/templates/.icons/material/electron-framework.svg,sha256=grh1xysNos-P9fi5IezffW3JAdyyDn8X-AxB_aOp7ss,1829 +material/templates/.icons/material/elephant.svg,sha256=xCVpjAk3oVqbYijUyL-F2bJKoKObPEBBZuazhaV7jhE,256 +material/templates/.icons/material/elevation-decline.svg,sha256=Cpg16EhGEfbLBrroFiCBo5LKbexZv81SKXXJqXTziyc,192 +material/templates/.icons/material/elevation-rise.svg,sha256=WYdnOehnYK2thNlH6BI-5haTktIPERSib3xh8fe60OE,195 +material/templates/.icons/material/elevator-down.svg,sha256=9nMcyMEdsyUGwdxq-d4o7uBVTpH6LYYY67th1eWkR4U,214 +material/templates/.icons/material/elevator-passenger-off-outline.svg,sha256=ASKjprrqYCSZkwD1SwoWQFgNwwnrXc-NxZUAJG0wg-A,340 +material/templates/.icons/material/elevator-passenger-off.svg,sha256=o0EsZkoHZrblpxD3biHAgBo3O0jgE7gvK3SBxSrii8o,315 +material/templates/.icons/material/elevator-passenger-outline.svg,sha256=gQSuVEzq2DXnZk0Va3v059xU3MysWWH01Yf2YFMrX3s,319 +material/templates/.icons/material/elevator-passenger.svg,sha256=yhTLcP4gaJ8Fcn4dCsqKrdHHOW4t5bHQ0KxNHomil8Q,303 +material/templates/.icons/material/elevator-up.svg,sha256=JeV_X-i0s0V8zOrDDUK6cNzPOdmYYxNC_z7PGwZiTy4,213 +material/templates/.icons/material/elevator.svg,sha256=NOCF9qDO4za4e37X3dfD2Ktzzbdc3f1c8e6pa42YPTo,210 +material/templates/.icons/material/ellipse-outline.svg,sha256=FPpwwK6zs5YFwCyvnlUhZkzvtIien1niPuJ_Ucn0OnA,193 +material/templates/.icons/material/ellipse.svg,sha256=0fbZvicZoUjSNQYTc0-YR-wYdxXFccDyFjnXSW0QmAY,137 +material/templates/.icons/material/email-alert-outline.svg,sha256=L25iL86T1dqHIdS27w6BmSO01IPqPgn96rbzm2eFcFU,217 +material/templates/.icons/material/email-alert.svg,sha256=3zOoJ5-5D-2o06LppkMras1DybFKU21FkIeeimZJXh0,202 +material/templates/.icons/material/email-arrow-left-outline.svg,sha256=ItO3oQyvVzzXJYl9G_Gi8hysAb7CjwwbqjfTbl76LWE,263 +material/templates/.icons/material/email-arrow-left.svg,sha256=rj-vcmJvKAaYUaEQ-lqWxTH0kt0yepJs8imy4n_AKk0,253 +material/templates/.icons/material/email-arrow-right-outline.svg,sha256=7HaYXg_mh1j_XD7kiZ0YHoYlb5sEkO45pXWXVJ8aZhg,264 +material/templates/.icons/material/email-arrow-right.svg,sha256=IBr2ZfLwFWF_WlAdsfOMvvKEjzrdHL9ECqRRFmsBSFw,256 +material/templates/.icons/material/email-box.svg,sha256=egRS4Iv_rR_qdDmK4vwA_-QpeaecwrhbQktF6MMMoUk,286 +material/templates/.icons/material/email-check-outline.svg,sha256=CBUzYCr_yrdxZwNGkZKYvuZFqsXUONkLweld4PkVJJA,303 +material/templates/.icons/material/email-check.svg,sha256=_50BfQof8wEtHrfl0ZoxfoqlPR91cNDpMOZyke8kX8c,294 +material/templates/.icons/material/email-edit-outline.svg,sha256=f1SW-LXI0vr8NzMpjf3GR9JRF3xKWh-SkvsE-350ekE,314 +material/templates/.icons/material/email-edit.svg,sha256=mCMrXdm-Y74TBMr0uw9k0sEic_qlvnSqurB0ZsScFNE,357 +material/templates/.icons/material/email-fast-outline.svg,sha256=3jm3iYPJlU8L1N9OwUEJ8aqbVToDJRdmn7btyrl_i-o,385 +material/templates/.icons/material/email-fast.svg,sha256=xr1a3JxO118No21cF-1hRnKXkjFuVtfMsKZVeidELrw,370 +material/templates/.icons/material/email-heart-outline.svg,sha256=5kvaJ4BA_Z8chduPY8hrJoe1pnV111iC-mIqYyEFkmY,414 +material/templates/.icons/material/email-lock-outline.svg,sha256=GFTvJ2DN396MKMtPSiudnK_FMuzsHZFk4Z1YLhQ11Lo,400 +material/templates/.icons/material/email-lock.svg,sha256=ub6v1S6HxBbcA_VPA5LPE-OwOji9FCS9nC26NMTyBnE,442 +material/templates/.icons/material/email-mark-as-unread.svg,sha256=VtOqGLWnocPx3lM_WVic-79mHykwRiYWgeE5a5SeP-4,307 +material/templates/.icons/material/email-minus-outline.svg,sha256=GtGo6kqb14o5ce1aJswedJvPkBR3ckybo-9vmSGfoKg,252 +material/templates/.icons/material/email-minus.svg,sha256=sBkJmCemn9GIMJLLFMe7ScDcsjFzSI6Kscmop3OEi7k,244 +material/templates/.icons/material/email-multiple-outline.svg,sha256=Sg9zIjcc_eDPn6qAtzRlUYA_1mK0uc8rQ-952N8y6wI,227 +material/templates/.icons/material/email-multiple.svg,sha256=jr77tXbAmYy3CAjLVABK-OhJ7u_JQjxxK3M8bFwYBSk,209 +material/templates/.icons/material/email-newsletter.svg,sha256=WSztnfozpgaDaoqPqDlTKMy7woU_Z2BAh8ZH0n6kHGs,291 +material/templates/.icons/material/email-off-outline.svg,sha256=v6KrZQGuNRSioMAM2QweE98rrIfLvlOw3iqH7MmENiU,275 +material/templates/.icons/material/email-off.svg,sha256=AoU4i1j5d5cTJpRHC1QvFA8GzFQuv0RLX_y3GkB8ijY,265 +material/templates/.icons/material/email-open-heart-outline.svg,sha256=lK9s9F-fbUSlR1F9KEBz5MHpMRST44gHy8mFiViZ1RU,450 +material/templates/.icons/material/email-open-multiple-outline.svg,sha256=-Qid41xrDY0135vo4FlBtBsYcJUwaftPsvgTZ6blqhA,268 +material/templates/.icons/material/email-open-multiple.svg,sha256=3k7NFmRrV0c3xDfMNcFBpJtmnlpokhjdOP8-gE_4v2M,231 +material/templates/.icons/material/email-open-outline.svg,sha256=YJ6HDTOgx16zQ95FVhtpGof1kcMGGsqEc04EmEt3Fsg,231 +material/templates/.icons/material/email-open.svg,sha256=uJ1-fFXVDciG_S_Y21n8Y0o-kM9tmkTmBXTkvtF3H7o,199 +material/templates/.icons/material/email-outline.svg,sha256=Tz6hhAFApVoyoXFobPzkOM5526sGjef51af8gkv-a80,190 +material/templates/.icons/material/email-plus-outline.svg,sha256=Cdja_xpxdl78I1CSg2ULUz54whB8kKUngDLO1PrfvLM,271 +material/templates/.icons/material/email-plus.svg,sha256=tJalmMipC5P0BJUN7hzAMRDWPUN5eCRhyY7uKLplais,263 +material/templates/.icons/material/email-remove-outline.svg,sha256=QM4hXs0Y14iT3xXMfFhtCF7UZcxjaB3nooVd9PuTGVc,366 +material/templates/.icons/material/email-remove.svg,sha256=7cZSXB0vkPIrPdYB-G9rQPXV6HQ6uuR1T7lZPT9MB0A,352 +material/templates/.icons/material/email-seal-outline.svg,sha256=I86kHw894VVL1FeteLAUV1lvubKFj7HANQwR_fsF4oo,856 +material/templates/.icons/material/email-seal.svg,sha256=WGYOFoW8oLEgJvb_C0vUBFdfxa0Fm2HS9S4rsis2GLY,899 +material/templates/.icons/material/email-search-outline.svg,sha256=lVqOSFbPgwnPRaeEkcHlbW3bthXOaVEcEJFUHBG3BUY,448 +material/templates/.icons/material/email-search.svg,sha256=PfuoduHN0TkKDP8X0FdEAau02Ug6chn0KbwC1UOGMxU,471 +material/templates/.icons/material/email-sync-outline.svg,sha256=zBrOlXf4BSlEfihc2rV_KNyzThOfE8gKsZS0R8PrIjY,485 +material/templates/.icons/material/email-sync.svg,sha256=xcPIvE3zQa8Ch-jaBQTjZKPMITZnGoZWXzPlYYDdPDw,486 +material/templates/.icons/material/email-variant.svg,sha256=Z40RiJ1aH-ZHs0PBJNvQbLoR5DsQV6LA5W1AIgG8KN8,206 +material/templates/.icons/material/email.svg,sha256=0gsJTdIOciQsnwZYToLg153XHs3Pak-r9HqssfCP4jw,176 +material/templates/.icons/material/ember.svg,sha256=4XD3Bb8qLbQ20R7heDZR5KHdC6Gih_r4Tg4o3Xl3pj8,479 +material/templates/.icons/material/emby.svg,sha256=0D608Y65b3kVlWwvnSMLm_WY8V6ictxwxLGiQliheNE,154 +material/templates/.icons/material/emoticon-angry-outline.svg,sha256=zlRgQns0PiE_4zJ637bsVScu7b0gmhVbJUdBHSofoLM,431 +material/templates/.icons/material/emoticon-angry.svg,sha256=t_smGcEXvkwvOIrGnEQWvJJP2sJNKQssY5iZYFQ7nuU,379 +material/templates/.icons/material/emoticon-confused-outline.svg,sha256=mgsDDFs5bmdpJ1HPiIxrxNmZHj1fZt9XUdB4R_7hb0U,304 +material/templates/.icons/material/emoticon-confused.svg,sha256=S4oEMBcYoa4HsyKUqTLkYYh_Ak7CGftiVxIn4PQNbx4,270 +material/templates/.icons/material/emoticon-cool-outline.svg,sha256=ZY-RirpFhj0msLKrkNP6i6IeOXnOEe8Q7U-s74K630U,515 +material/templates/.icons/material/emoticon-cool.svg,sha256=290IA4xRh3I9qKwRyXPBMgtj_8BIlGMzlP43zL9RvG0,478 +material/templates/.icons/material/emoticon-cry-outline.svg,sha256=HVxUo4tbZD7RbLtF9_AxcXxDaz4oEY1nvscBcf9Znko,682 +material/templates/.icons/material/emoticon-cry.svg,sha256=-CQICZmJDE1yC-wzanLqtAeWcqZ60Ydb_dolOlbhf2I,662 +material/templates/.icons/material/emoticon-dead-outline.svg,sha256=Bcpy8uykOCBrxZ66AkKZUX0OPxgTrfXgZOuBU0IuGF4,529 +material/templates/.icons/material/emoticon-dead.svg,sha256=w7FAhnv4dWFNQOUBTjAAyM5xu5hDumwBgySw2NsKB1w,472 +material/templates/.icons/material/emoticon-devil-outline.svg,sha256=NXMPXno_TIOGZT1JWqIvPE2p-qwPRgXjSaftdcp0iug,617 +material/templates/.icons/material/emoticon-devil.svg,sha256=iHgaDnGlAFpgBJ-u-msRwU3cFsO7oeQrJ9dXfgWyCmE,560 +material/templates/.icons/material/emoticon-excited-outline.svg,sha256=fiYh6ejzobiA81Ggt8q1esdSqBTnU7_xk5kEaI-ZJKU,407 +material/templates/.icons/material/emoticon-excited.svg,sha256=fgfXZ01W3BvsyVxNlE4KDSpAoDEhX0g6mgG83Rrz-oE,352 +material/templates/.icons/material/emoticon-frown-outline.svg,sha256=aGCQWWMMOKWvlCu_tX8JtUuHDDljWCZqyynXucZlD7k,414 +material/templates/.icons/material/emoticon-frown.svg,sha256=n7UZWqOjyeXkRFtI9xNO4QXI8W77MY55QwJoCNYNoLg,348 +material/templates/.icons/material/emoticon-happy-outline.svg,sha256=wMGe8iGvjWYkNJFLNnQ8UHi8hustQDCCoxh5j_fvYMo,476 +material/templates/.icons/material/emoticon-happy.svg,sha256=FbuAVOS-ByjGmtqZogJLPHdkwNUewBNtauuMulck2BY,418 +material/templates/.icons/material/emoticon-kiss-outline.svg,sha256=qxmkqbkquk3SLWN5vUcJYOuHeYsmiRwDYTPYPgBQJUU,689 +material/templates/.icons/material/emoticon-kiss.svg,sha256=Kdx567Sp2lRwkE8gUwgy65qa1bFasTlkx9Vb2zPeaO0,718 +material/templates/.icons/material/emoticon-lol-outline.svg,sha256=P2Ejo36vIKMNEf_PCMII8GWaB0ng38zN9XcInvjuw5A,640 +material/templates/.icons/material/emoticon-lol.svg,sha256=xOPo-WzpN6L6HUpPOWthLUEFXdrhV-D79tlf5SgErCM,455 +material/templates/.icons/material/emoticon-minus-outline.svg,sha256=_wDAsHs9VJVs9zOXX5YrbpigftKF52awJX57qZIKOpM,535 +material/templates/.icons/material/emoticon-minus.svg,sha256=9WKsRgPP6n4lQ0_ra38lFi0RXydjyd3IML5C7OkfhSg,468 +material/templates/.icons/material/emoticon-neutral-outline.svg,sha256=2CVsv0x1aV3y-YgOSy5jgfArY_8YqqKEc302lJniE9E,411 +material/templates/.icons/material/emoticon-neutral.svg,sha256=91G3mLi8sqMlFIlnnVoia4XthVXDTWu6ne75z7St7E4,348 +material/templates/.icons/material/emoticon-outline.svg,sha256=ndkhJ_MVMZXnd-0mPfTFN4ieVAzfChQScClXlaxKSEY,459 +material/templates/.icons/material/emoticon-plus-outline.svg,sha256=yC0o8PAe14h_LWQz_3c2LywO8xljtoA6SLLlCbsLkwo,555 +material/templates/.icons/material/emoticon-plus.svg,sha256=0n5z-VQxoHr3UdKR8BiBe34gx_x9b0L2TMzeNGbdglM,488 +material/templates/.icons/material/emoticon-poop-outline.svg,sha256=OiEXXDWH7k2_0XKNgB1MQHF08Fy-CVVwl9Nm76vLJ5w,1983 +material/templates/.icons/material/emoticon-poop.svg,sha256=paKDMLycO0xIlDatHFQ0FbGc4FkxgnK2bhL1BrBxmwE,1399 +material/templates/.icons/material/emoticon-remove-outline.svg,sha256=N8GQgknpQ934NTs0a6O7QAcSAwHrqsrNlmDeV1x7v0Q,651 +material/templates/.icons/material/emoticon-remove.svg,sha256=8FapSh3jFG8VApzhqu5thQ6dIRK-AuX2Pi1OS5TUK1w,582 +material/templates/.icons/material/emoticon-sad-outline.svg,sha256=iXohKkJjRJpL3c86ILOlIqT2avY4my1DLZIYR_-nJmA,475 +material/templates/.icons/material/emoticon-sad.svg,sha256=awABq5LCFI5JRRSR16ZcqsNx1oKcjL_xK3rtWj15dQE,418 +material/templates/.icons/material/emoticon-sick-outline.svg,sha256=mO3YS-HlXVN-CkG873bEbzz6ZO28KiKdg1SKBztTVtI,880 +material/templates/.icons/material/emoticon-sick.svg,sha256=YHCwOHEI_U4t9i5yv086zm842lGVkFjN8NncCH5JxY0,658 +material/templates/.icons/material/emoticon-tongue-outline.svg,sha256=jDV85RjYA5sMmSi2RFXg5WMKApK5G8PeJhMRxJaaDCU,462 +material/templates/.icons/material/emoticon-tongue.svg,sha256=MqBEnVyTMO2RB3R2HvniCO3Wx0G0ciZ4nK80HU8acWc,421 +material/templates/.icons/material/emoticon-wink-outline.svg,sha256=B2Lu12BAJi50mJWcuiLpYusp-3eO3FGkyN_hZCz8gxI,423 +material/templates/.icons/material/emoticon-wink.svg,sha256=lFEwviozRXN05VYrLHotNZt_FD3Wrk1BOBsMw5iLEvE,361 +material/templates/.icons/material/emoticon.svg,sha256=S440YImgNu-E7LGtTGEJKqBAbBsz_8iO7y9f3U8kspU,402 +material/templates/.icons/material/engine-off-outline.svg,sha256=B8iTxmADg9uSmpemMnb6urQbmVYzdJa-T7HO2rRaHBM,268 +material/templates/.icons/material/engine-off.svg,sha256=ewLgD7fMQLsASagc59z9WHo28UiP5WWHIweFIEUi6Nc,221 +material/templates/.icons/material/engine-outline.svg,sha256=m6IQE0RA6gN8y53gpc2ssBUSRUeLYpR7a81BZmdp_es,178 +material/templates/.icons/material/engine.svg,sha256=TdmRdvnG0T4NNTjOB1iKt8Sr3CxBV6yUWzcbNQi3bSM,156 +material/templates/.icons/material/epsilon.svg,sha256=_01G3yLFBAK7NlScN9-ZslM2rEm9tRXXzhhR4w5vsfI,391 +material/templates/.icons/material/equal-box.svg,sha256=o7VRm7K5n9o6Co-lEw-WjqiOLjRqaprcvAvMD0wZACM,182 +material/templates/.icons/material/equal.svg,sha256=mwJc7YWXZXg4U3vjHgFbYekcuFisvSK5PnMXHAgAlXg,108 +material/templates/.icons/material/equalizer-outline.svg,sha256=buisCI8oQSGC3HdsP5atIvsLEsxmst4mrhPHlBywFBs,168 +material/templates/.icons/material/equalizer.svg,sha256=kUHy-hehDdDDuDdKhm-o1IhPH_w5_U08KT7tyOZ2aGw,124 +material/templates/.icons/material/eraser-variant.svg,sha256=0-qmPIwwdrX8OEInfIYxQUH63UL8LJd4RWVCa4vOOwk,242 +material/templates/.icons/material/eraser.svg,sha256=7is1tMXGSg16j2iOhzdIv0hKIOKuIDQlUg4-3s60fTg,296 +material/templates/.icons/material/escalator-box.svg,sha256=8gEPJezyv6FoFlok1IEqK5_timCZkRE_lGvfIGMZuY0,240 +material/templates/.icons/material/escalator-down.svg,sha256=9oc5ghbMcn6heDer3m7-jnPo3DKAoM6lmjfkGp3eY_I,345 +material/templates/.icons/material/escalator-up.svg,sha256=7NmzIj4JQBu5nsUtG9L9uR5npSXVwRKlNpR3WKCVBfo,346 +material/templates/.icons/material/escalator.svg,sha256=yNnI8yynL-clvEtZD8AGlEqCy_bUjYJBkqhGBt5VH7g,304 +material/templates/.icons/material/eslint.svg,sha256=2VtZtOBgeL74Xb7N-thLWjHWMVd8-T0pE4AWGju1eWQ,623 +material/templates/.icons/material/et.svg,sha256=ukzQLtbOOCiR3SiDYC-IlHxZCjkNSDRexon2G4hXMZc,527 +material/templates/.icons/material/ethereum.svg,sha256=0kGqfZY3JpJWDYn4Xcbib333yok5GFeaKaD59GtFeOo,169 +material/templates/.icons/material/ethernet-cable-off.svg,sha256=KQOLKrEvjYomTC799lGKIPogPQ_JfKoq3Ao3et2nW4E,184 +material/templates/.icons/material/ethernet-cable.svg,sha256=CJ9WHbx3PguDe_TDy6KTD-Q2eHsiPNHiTF1oz-nveVY,130 +material/templates/.icons/material/ethernet.svg,sha256=UrH_3MAYbHknX73yUcOju0E2OCgmuYYpfFz8lg6o3jA,251 +material/templates/.icons/material/ev-plug-ccs1.svg,sha256=9YSd22STSJ84YSbmy_E_yBCDsAZfS905NUv0G8P4M-s,845 +material/templates/.icons/material/ev-plug-ccs2.svg,sha256=bx8lD5WaZPPMAd4et542S713S-dHXnOFN8RR_L1TNQI,1063 +material/templates/.icons/material/ev-plug-chademo.svg,sha256=iGb9qcwCa14mTkfYP7CKwyVaw1fEthQLGE-zZpl5clY,848 +material/templates/.icons/material/ev-plug-tesla.svg,sha256=-v_rDoMxvusVbtyX41bXw8TbtN9bN-4DdG4_CWenJok,792 +material/templates/.icons/material/ev-plug-type1.svg,sha256=mlH18d-g3sWok5NfZpzbT1XL9YbpXYf77KCp9oRKZOo,481 +material/templates/.icons/material/ev-plug-type2.svg,sha256=9gTEFudvMwVoMjpSlyLEtU3s4YyRlZqeQ3UG38kH52g,621 +material/templates/.icons/material/ev-station.svg,sha256=hmODuPWsJTbEsSa2-Fcpqw13Nb-Ipl-p_xx3j5AF-1M,453 +material/templates/.icons/material/evernote.svg,sha256=WQCiiChtOU8YkkzkQRimjhsJrgua8_daqPXMPzB9QOQ,597 +material/templates/.icons/material/excavator.svg,sha256=ldJpmIe8MbM3Wpetpa28OiFYXPsvXHEPIdRcLnBCHmA,443 +material/templates/.icons/material/exclamation-thick.svg,sha256=9XpLj4e2i8PCHfU0sANBkKYNg25d4AYkL9ken1XgA5I,109 +material/templates/.icons/material/exclamation.svg,sha256=y97_kpaD1hDyLpcBs1PD5f-cuQK_7I8FS-Y_a4K9qR0,110 +material/templates/.icons/material/exit-run.svg,sha256=AOM5ahqQVThO4EIQ6iJIOWGjEvDSTfJMg_QEx3JsZWM,466 +material/templates/.icons/material/exit-to-app.svg,sha256=QVxZXTNhunsiCLJsQikL7Upu9lO2N2J2PQhRnKBEO48,239 +material/templates/.icons/material/expand-all-outline.svg,sha256=9T_5TVrxHeLWP-4lTJvqQFBayx7H4HfbtIDrSi1YhRE,263 +material/templates/.icons/material/expand-all.svg,sha256=4gGaRJohdLoVBTj_CeaMbE1w_QaQvh6-ki9zC2imnzc,251 +material/templates/.icons/material/expansion-card-variant.svg,sha256=H0D1u2kCQe9WcbR7p2kUwOU7oATveKw_WWkf2eA3I1Q,153 +material/templates/.icons/material/expansion-card.svg,sha256=YRJtWJ5oNot1BhYrUE9PVkW6X9NVDGt4Mq0Sq5YDNcU,215 +material/templates/.icons/material/exponent-box.svg,sha256=BSoZ5MZxty6jT6FD_pEPNIopOp2JpaOvH2xMu1f60O4,399 +material/templates/.icons/material/exponent.svg,sha256=VTctugtIhgFwNC4P_eT-RMDUnG89pUfB1XuFZATUr_o,336 +material/templates/.icons/material/export-variant.svg,sha256=oFbhcbpa5EifOZoMxCZWALixVdzANLnynNVa8kvw0LE,187 +material/templates/.icons/material/export.svg,sha256=zWWXm8IxSkNjeSaDaJ_Q3D0b3bRYFObrBnGqunkvYuE,190 +material/templates/.icons/material/eye-arrow-left-outline.svg,sha256=_DrEu8mC_quO5MpqbPKlyzVinrF3TQ_Mf0ynwLk4uy8,433 +material/templates/.icons/material/eye-arrow-left.svg,sha256=Ah19V6nl6xAEp6L9wkK-5oo7nctda80-b043LKF9Cpg,447 +material/templates/.icons/material/eye-arrow-right-outline.svg,sha256=64ads5JuDc1vW9zWJkISk-BynqcovI2HKKslYjSbYKQ,383 +material/templates/.icons/material/eye-arrow-right.svg,sha256=QACVgpFDwgrR66iAeeHwVhgZlTMmw4aiPlbtckDUsi8,385 +material/templates/.icons/material/eye-check-outline.svg,sha256=SOSuyA4JoGirHg_ynrNXRT2YhzJi1THvyRqbiRCokuw,415 +material/templates/.icons/material/eye-check.svg,sha256=_Xv1PhnMvsm1XCThHIHnGUN2Fagogqta-SevaT2RrmU,448 +material/templates/.icons/material/eye-circle-outline.svg,sha256=8pFksEcsm0swSJvVbaTYkknprMQf1sv5hDwiq8rK4Hk,453 +material/templates/.icons/material/eye-circle.svg,sha256=FjPNMbDNRQL1DMIfjnBQHEC0gxJAXQev-aVxyEUoJMk,708 +material/templates/.icons/material/eye-closed.svg,sha256=Q6_hQq7zArC0GxkBWjTNs-OoKg3BxM25OA6NfuMIw40,176 +material/templates/.icons/material/eye-lock-open-outline.svg,sha256=IraGuXv0Hvwc-YctrMEpgfh0fHPILfXB24nZeXvFk6o,566 +material/templates/.icons/material/eye-lock-open.svg,sha256=i2Bpov7WhaMqf6igvagjaaq8Z2SiMwJKhWMzQEFszJo,562 +material/templates/.icons/material/eye-lock-outline.svg,sha256=7H8n2Dn99TMtAuxTgQltE8x6L5ZkqNMCW5CNie3c990,550 +material/templates/.icons/material/eye-lock.svg,sha256=LZnHbnPnAMKp6jvHqy0N1AqUFIu4j-w4XTOrIaCWFD0,550 +material/templates/.icons/material/eye-minus-outline.svg,sha256=_mZap004aJ5t3YMmJcSzD2cW50tQ4cR-8qCJtwiig7Y,362 +material/templates/.icons/material/eye-minus.svg,sha256=lskG2Dm-emEkmXd8rLrvQRla7UphGV3XyOgeez1VuRI,349 +material/templates/.icons/material/eye-off-outline.svg,sha256=LrLXlfGhZZNyz2kNqpR-DoX5j4JrWJfuNdU9U302d28,561 +material/templates/.icons/material/eye-off.svg,sha256=OfPHCLwZqSAiAQcba3etADFBwTULCsreCtW7OCAvPWQ,540 +material/templates/.icons/material/eye-outline.svg,sha256=E1uK5ObE4IyllNv73Wk6wsvTbsIGTFuQYCdpD023Lyo,289 +material/templates/.icons/material/eye-plus-outline.svg,sha256=JEMLpcHKbo1LSbX07m95wuPvHle2Qc9J-pYZ7sh71dM,450 +material/templates/.icons/material/eye-plus.svg,sha256=VSqM62TrcOR1p4Htgj5_y43MF9fbi3k51eUh3YHKFGo,466 +material/templates/.icons/material/eye-refresh-outline.svg,sha256=IqOPNV98k-obowf_JPM3OOX50voJC6VcJgurUXADt1g,510 +material/templates/.icons/material/eye-refresh.svg,sha256=DtUDiAs5QefJCIxno-2CvNYo2c7AOnkbWJZR7ePTr_E,509 +material/templates/.icons/material/eye-remove-outline.svg,sha256=76UvazC9UGH38GD36Npa9KgfSssiHg_oVtN2zNKqpjg,539 +material/templates/.icons/material/eye-remove.svg,sha256=ecDqikPA7uI_U0MwAxJbBxtTnkUuwMTmuRG28t72Vlw,548 +material/templates/.icons/material/eye-settings-outline.svg,sha256=Oaz-lwsiSVYw0ftgl_95ncVRsOA2hOff9me28pp2uks,412 +material/templates/.icons/material/eye-settings.svg,sha256=ayS83d6yprPex4ScwR5lc7F2yy1hH9mGlsJEbifT2F8,356 +material/templates/.icons/material/eye.svg,sha256=rqo6HeC6Qq3InZILIP7XlWn-7-XzYZwl9RcuFWuMGgU,292 +material/templates/.icons/material/eyedropper-minus.svg,sha256=-lGl9NOZfdxMbh0Na3mkpLTxkg1d1-WphsjVvd5ipBM,333 +material/templates/.icons/material/eyedropper-off.svg,sha256=Wq9VuR08apmg5qJ-Y2Kpb0SSHGtJYZ1AHraHbt2Gcik,441 +material/templates/.icons/material/eyedropper-plus.svg,sha256=RpqolS9QSN4TfMJ1TGKhexAQ3mCXQcVbmgFTX69H_7w,349 +material/templates/.icons/material/eyedropper-remove.svg,sha256=Ul7wtqCT5Iep1MV8v5_E2CQClmI53YupBWyuvGwLQGg,439 +material/templates/.icons/material/eyedropper-variant.svg,sha256=rK311alU2dcEE5E3T4uRFh5X0MRitNNYJQa2OSBvRmI,285 +material/templates/.icons/material/eyedropper.svg,sha256=KtaW83uLv2Q3gedL3W44j6I9PZ3WuMlJHEKsaoYqCAw,309 +material/templates/.icons/material/face-agent.svg,sha256=oEVQCrgHJCpo3wtaX1lhBGcQJVLtb9QrXIbtnfyO-aA,724 +material/templates/.icons/material/face-man-outline.svg,sha256=S8mpYOKGeuAbZM98Zckg6KZOBKBoLOtxoCi1u2HV1TI,674 +material/templates/.icons/material/face-man-profile.svg,sha256=gGWzfbX-WgOL86HLHcxDBljTqB5LoJFHuaiFNruZiPw,444 +material/templates/.icons/material/face-man-shimmer-outline.svg,sha256=Q_3vBfySCbLAds1UAXV6ttA5yr24OUHHAgNxcl0DD3s,711 +material/templates/.icons/material/face-man-shimmer.svg,sha256=0Y2mIGD2MTUlnIgJ8KIhKuRQugigw5lQ57aqjqCJ2W8,611 +material/templates/.icons/material/face-man.svg,sha256=QE7132-DZ1mOx9jDDU7QBO8VgbYITtPHoOFxQAmZsKU,506 +material/templates/.icons/material/face-mask-outline.svg,sha256=d32y7WmjCKwkJ_KNFqwmz6g7hvMbVw9V0Y9T0q-7Xow,624 +material/templates/.icons/material/face-mask.svg,sha256=iIoH2odyciLiPk_waR1cBNzEIZZ5iW811kfwBBNvqts,546 +material/templates/.icons/material/face-recognition.svg,sha256=WG84qml5MBn44fzzbfY3gN1zJcNnCfgI1k5juXukj5o,665 +material/templates/.icons/material/face-woman-outline.svg,sha256=lz8hSk7W8ebLT8QROtcsXVz3YCm_VhtUkKYUO9_NsxM,597 +material/templates/.icons/material/face-woman-profile.svg,sha256=Ce0QxOHD0xQ7izHhpWoMJ_JhIDoQR4MKwgzqOZnEs2k,347 +material/templates/.icons/material/face-woman-shimmer-outline.svg,sha256=t0uNM_XB2YhWGkB0eqYaQBfvv3zsx8kFtjWfokgoMlo,674 +material/templates/.icons/material/face-woman-shimmer.svg,sha256=WHrGsgAWN56p-tvtzX9aO5g7qulOU4MdVDn47rn8ZD0,600 +material/templates/.icons/material/face-woman.svg,sha256=jvUeVMGIqWXhG4M-QNwKGR1XYYFHOria4_H_oQa9nXc,364 +material/templates/.icons/material/facebook-gaming.svg,sha256=1Omsy0Snkj6bCofl343VthFVMmMSKdr-x_Se_MNPz_4,136 +material/templates/.icons/material/facebook-messenger.svg,sha256=gyp0jC4SkGgh9gfiuYGJC_2E6yl8MkROrMK-GaCsIxY,465 +material/templates/.icons/material/facebook-workplace.svg,sha256=J1LjKOOgibNcki-LgoUf6zVT4uMdszHrM3kfSAeV5b0,741 +material/templates/.icons/material/facebook.svg,sha256=H2UjDkXABIssmHGdB8XFPI-mjTs_pPhywvDZOdaYcY8,317 +material/templates/.icons/material/factory.svg,sha256=xV7FM3cY7WX4CZdv54AHu0W_cf-NtzccT6-xn9Q-9PY,189 +material/templates/.icons/material/family-tree.svg,sha256=_FD7Vw7HX3_Cfnewuw9DNDj0Nlj-ZbExUzwTCSlBTo0,1292 +material/templates/.icons/material/fan-alert.svg,sha256=hpXNWIrqwsedglzg5hru_HgsfEhKWhadLqWYT0lRths,571 +material/templates/.icons/material/fan-auto.svg,sha256=HZbrwUVnIv01OoC3qKJ5FtalPW1zz7WexSMwHpKTqeE,680 +material/templates/.icons/material/fan-chevron-down.svg,sha256=L2F-Rrb0rGUa3aWjnN2Tb0hCnNK-pYfnpQxzFmiYc24,677 +material/templates/.icons/material/fan-chevron-up.svg,sha256=7n7ldIedKOLqSqun-1g0fsfFW3-T3do8DLWAsSeBQIE,677 +material/templates/.icons/material/fan-clock.svg,sha256=CBlkNwoSbVaon_U23KysdkbDV0f8kMv668QhqZQNGLM,530 +material/templates/.icons/material/fan-minus.svg,sha256=RHZ3sHrnCk1qaSSOKSgj8WDtEqFJVYhAkZfRhnUfbrA,632 +material/templates/.icons/material/fan-off.svg,sha256=gDikzfQTTkV49MLq0VYeeeHqZ8NpyVTis9ygiKpBINA,470 +material/templates/.icons/material/fan-plus.svg,sha256=vijHsSfV6OAwxfmLEl5IUuh2WFERSliFUm2dVsXsy2U,651 +material/templates/.icons/material/fan-remove.svg,sha256=viBpkSuzt8gj56z3VXJqQpMbhf1gamkHFJBbxBXO5LQ,746 +material/templates/.icons/material/fan-speed-1.svg,sha256=v50vLFY2b_X704qoQOLQwuxhHIVWVu4RLS-VYc_cEXw,635 +material/templates/.icons/material/fan-speed-2.svg,sha256=wmzOr1dD4IfVfwnFHDd1QYqEy_ucOpA8eMBT4Vzvkww,698 +material/templates/.icons/material/fan-speed-3.svg,sha256=IC9jKhpD7mD3VfFGvxyT4HQZHWQm3ZaBfCwofJ16d-s,726 +material/templates/.icons/material/fan.svg,sha256=wWimQSYEz7CGLR43uTDEgjs_r4ss2X6VMZ1wxz9SYLk,544 +material/templates/.icons/material/fast-forward-10.svg,sha256=DSab5IOPR7pCVYAlMcmiAJ0g7ZpnnyWoFZPqkfye9wk,327 +material/templates/.icons/material/fast-forward-15.svg,sha256=v3_TLLmUadnNZDnPt5q819p2O18hS89qh6JmuZIrtUs,304 +material/templates/.icons/material/fast-forward-30.svg,sha256=b36xEp39wC2lXc5y4AOfJqDqCmtKUu8NpB6nZPk5MEc,415 +material/templates/.icons/material/fast-forward-45.svg,sha256=CiAhL0QZKn5VAJi0OdRmzZRWbzPmHdsaRUPgNnt4ioc,288 +material/templates/.icons/material/fast-forward-5.svg,sha256=HZ6RNg6oZnMovTgVbjG12rII3X9IN7t_571dxbCmAGs,282 +material/templates/.icons/material/fast-forward-60.svg,sha256=3kFDQ5R_GDVsOOPZQ50eXm2CCRRz8ysO05WgO-89fRE,380 +material/templates/.icons/material/fast-forward-outline.svg,sha256=EnRO6HwgSonVDvSwyAVBmvaLUq-SyyB3DgVsuwT1jqE,159 +material/templates/.icons/material/fast-forward.svg,sha256=G_4fCU9L_PV_ZyYlNYiEZeheGEd0X5YOGzb-vy_iR5U,111 +material/templates/.icons/material/faucet-variant.svg,sha256=VeWy8dNd8_1BwADyUjWc5155EawUIRX68-nUOevzN_0,305 +material/templates/.icons/material/faucet.svg,sha256=GyKPuCfstmWgQHpvxzqHp0XRSjFyEoQkbpTurKPXpJ8,195 +material/templates/.icons/material/fax.svg,sha256=XxuLkVM65BrVwTxHCfhnP5zMWD5tyRf6XSit1tYrUWk,421 +material/templates/.icons/material/feather.svg,sha256=iT9jcoSpy_m6YOf_1MpUSQLxS91_I1iNXIc0YlNMRM0,371 +material/templates/.icons/material/feature-search-outline.svg,sha256=AUw5tRdS6tOxeS4AMwim1O6X9Khp5t38ajXXb7Y2oe8,358 +material/templates/.icons/material/feature-search.svg,sha256=SqcljegKBnlQgZpW3UyY7xzgdC_ff7C7A5Xo9oLf1mk,386 +material/templates/.icons/material/fedora.svg,sha256=E5BjoA7gDqcBA0or5oXTB-iK5IRhEvMFQinOGqDGTug,654 +material/templates/.icons/material/fence-electric.svg,sha256=SSmugTcFEzGgHcmPamP_KZQOJZlsaVzdit1ManRsTxE,273 +material/templates/.icons/material/fence.svg,sha256=YjHF2MoiIKuz8BuX6iLWpIzi0chVUSoJ7T8_CGeSpyI,252 +material/templates/.icons/material/fencing.svg,sha256=zAp5kWPLzjP5Te_XoQdT7nquXStB0vyW6bXZgqVZGnM,458 +material/templates/.icons/material/ferris-wheel.svg,sha256=J8jpmHu-a6HVmOF9sYaoO0DXgflblHLYD208TgmQFns,1329 +material/templates/.icons/material/ferry.svg,sha256=2OIVtLO56hi2R9I-q5RlfuaVghTBmFNSMzxO-d6yx1E,487 +material/templates/.icons/material/file-account-outline.svg,sha256=M6DV4Ny6NmkO-0vuF0zpuAOdHROMr1S28JhpJV4gAfQ,251 +material/templates/.icons/material/file-account.svg,sha256=tqKH6DPFYPM2RHJVXdJ5nwsgyw_9Q5J3QqZKSWTx-bk,260 +material/templates/.icons/material/file-alert-outline.svg,sha256=AtUgh7CIganHZwJFIMXo2aTzwKBcxzgslfjI1OCZ7xk,189 +material/templates/.icons/material/file-alert.svg,sha256=N7tQMb-QH5A3cgxGo8LcoZiv2NKmWmeNxrXwMdco8Bw,191 +material/templates/.icons/material/file-arrow-left-right-outline.svg,sha256=fhR-HErNquzLMPX1EjL3f5hTi4sMFIbB4DFNMcU6mFc,282 +material/templates/.icons/material/file-arrow-left-right.svg,sha256=r41GEBNx2a2weNKB-FV8E75X2AvMrRH7XEmkDKSJVxc,282 +material/templates/.icons/material/file-arrow-up-down-outline.svg,sha256=euZW3XkJEBe8ig79ptfRwLjBgpTbYGtxt4EuH8yERVg,279 +material/templates/.icons/material/file-arrow-up-down.svg,sha256=Awi2tvSymCbVyyTKSbnGwsDEMAhXmds9Gpa-D-5xDlY,285 +material/templates/.icons/material/file-cabinet.svg,sha256=2tD041EMBJNSH2J0uY0ElYLO_FqW_vCtTM30m0brDDM,214 +material/templates/.icons/material/file-cad-box.svg,sha256=G1yAUOSPJRsTDflYkzPg_wRcIdC09eruCbm7QBXjR-g,506 +material/templates/.icons/material/file-cad.svg,sha256=ZRUK8CkiMfCxQA-4RmGKhcqXma3pACeQeZWjzEoK-Xw,578 +material/templates/.icons/material/file-cancel-outline.svg,sha256=T-npoco7SS3n-tvWgkMDmS2YIEGY3snsH2fwI9PmQlw,372 +material/templates/.icons/material/file-cancel.svg,sha256=Yk-m-gUp5XVhKcqGCTkRdmHek2L8TUeuwQp8sKxopWs,367 +material/templates/.icons/material/file-certificate-outline.svg,sha256=qKw7f6qmxTYJn3f5gykpYlpWSkOTDl0WfjY5WVz0XQ8,312 +material/templates/.icons/material/file-certificate.svg,sha256=KoRaP9L_7Pr_Wlf_Id5MvvDPeMEfA6ny_5NCJ79WejI,211 +material/templates/.icons/material/file-chart-check-outline.svg,sha256=cglHm-GX2gsTlSinB9gbSH-Fq5GmgBp6NOoZgLFAEd0,268 +material/templates/.icons/material/file-chart-check.svg,sha256=SHjtPq2K2Bddb7A4cbwluUM-G7lWlk2GCqQI3VS0asc,273 +material/templates/.icons/material/file-chart-outline.svg,sha256=PlqcuTm-e4hGxPJAr4sgqu2yUASDymzzIvi-YprfcQo,205 +material/templates/.icons/material/file-chart.svg,sha256=Y1ko8xGfwqyKycxeogUx9nGEWbO9f-rlReW57ppeJdY,200 +material/templates/.icons/material/file-check-outline.svg,sha256=tPyD8TGuscX0gJjSRpNV_LyUOde7JLmhyhK9Q70X9L0,255 +material/templates/.icons/material/file-check.svg,sha256=mHvSS1fa-_68ZEzsAPMz3ialuDymtLQUV6J8O87XkBQ,258 +material/templates/.icons/material/file-clock-outline.svg,sha256=09Bl0DJAZP7Hg4_dS4wWMwR2Ao2ZI1U1EpiHmbp-NC0,321 +material/templates/.icons/material/file-clock.svg,sha256=NVCCtgZ5zwOE9carPmRGqkDOdCAmvSfz6tHdp0q63us,301 +material/templates/.icons/material/file-cloud-outline.svg,sha256=tfFUmTEuXGAuiPr6_zpq70v4nIyqaHr2zV2VXT8_FJI,321 +material/templates/.icons/material/file-cloud.svg,sha256=zMK7HDiX_dwcAUIb5kZVMAxOO77XuaZ_Kc18eMGI9ZA,277 +material/templates/.icons/material/file-code-outline.svg,sha256=VA68QOR84XyUP6V0iEKqMbE4PdzFAKKBs1hrY_Cg7XI,298 +material/templates/.icons/material/file-code.svg,sha256=_DH4Qj4eerwZlJ7ZNbBA4xAvgP3sEZhP9g2SJViKhQA,295 +material/templates/.icons/material/file-cog-outline.svg,sha256=T-5MpZjIvYknqvaKLzFE7BhsB62589UqicKigZa_PrQ,767 +material/templates/.icons/material/file-cog.svg,sha256=srStO-OjxEXN1RPPIQvWRMxxnnBzNJhPh9NxsetE7T8,826 +material/templates/.icons/material/file-compare.svg,sha256=MfgIPMH-busbfX-KgRw55WsNFLa0hTdtN2MLAtAClng,249 +material/templates/.icons/material/file-delimited-outline.svg,sha256=lBHohhqYCbPt_R8tPgFEhwxdpHvbaIYgKNP2BlWnHkE,187 +material/templates/.icons/material/file-delimited.svg,sha256=mpjjX_HlTLGtM60rTZjuvMGDSI7GT0EPGvYxpZc4wOw,188 +material/templates/.icons/material/file-document-alert-outline.svg,sha256=FZwcTvFZYBxXvJefj9v09VAdt4qoYlBwVnuLGO6CXwg,210 +material/templates/.icons/material/file-document-alert.svg,sha256=Q44ihFDsC6kr-mJu9e0iD2CdnG9QabNYrzmIETaP47w,219 +material/templates/.icons/material/file-document-arrow-right-outline.svg,sha256=Dd9qJLioOc1OuldrgLbosN9gwAJUKN9zpMQcn8ifsOQ,260 +material/templates/.icons/material/file-document-arrow-right.svg,sha256=vjd_MmshddupOOUdJQVFxeInb5oq6b4nN2bOVK0Ssjs,277 +material/templates/.icons/material/file-document-check-outline.svg,sha256=Mue43FfOI5IwhsI9rCz8_FNvkGh-4asElWPMOIWvmC4,277 +material/templates/.icons/material/file-document-check.svg,sha256=9KdCssIphka-s7GJBqu78U16MoxbknJ40HcGSG2InJA,323 +material/templates/.icons/material/file-document-edit-outline.svg,sha256=YKV0JQgObW0b3rQOcb5CH6NtPy32xFn7TJnwzekKVAI,296 +material/templates/.icons/material/file-document-edit.svg,sha256=BIHgb7TnU6XRWbqKjw_tm8g5jG_gtZDDnOPUvE9rSpc,358 +material/templates/.icons/material/file-document-minus-outline.svg,sha256=JID3NJcutIOz7RNfpvdC2oOBCiOm5_DXrLzzAjEoPGs,242 +material/templates/.icons/material/file-document-minus.svg,sha256=kw9EgrblIO9KDr0DYP24E9eE40d0iAx_3WUewTLacfA,288 +material/templates/.icons/material/file-document-multiple-outline.svg,sha256=VFcdSzWiG1lrqD6oDYQLv4a6MtgpJ0S2zGwXoCMTkbs,223 +material/templates/.icons/material/file-document-multiple.svg,sha256=w5n_gP63sCk2CtLyC7A_HwAXrjp-2grjjBtJ6aNgTXI,223 +material/templates/.icons/material/file-document-outline.svg,sha256=C2eYdgiLdC3oHIzo4ZgZ6JWNAePFX2XIcu8b5mBSSdI,183 +material/templates/.icons/material/file-document-plus-outline.svg,sha256=OwJYHO-HjTic7WEyR8vQaBeocw4CdnzvZ_115wylZRE,262 +material/templates/.icons/material/file-document-plus.svg,sha256=psn2oQ3NeKs9xxLWuOC8zeVvgvEDccFA3I4w635Jlsk,309 +material/templates/.icons/material/file-document-refresh-outline.svg,sha256=VsU_wOXWIu6avPSYgIztTPirOtpUu0VxvlgFLx12d2o,451 +material/templates/.icons/material/file-document-refresh.svg,sha256=U_5WnXcEvJH8xZUIs_ZKdtBxqrruV2EbDChP52fvqdc,362 +material/templates/.icons/material/file-document-remove-outline.svg,sha256=LUg7cJRUJiISxN8hVg3LseckBeoJ0hbgf0v1BtkzHKQ,349 +material/templates/.icons/material/file-document-remove.svg,sha256=tOn-O2gNTSL8x5_vBJ0QAFbXvRjztmDY8i_h_AX_t-w,395 +material/templates/.icons/material/file-document.svg,sha256=CyC-Flfuhg05YKGe99lVFQqkPojulytAXagidLHWe7I,186 +material/templates/.icons/material/file-download-outline.svg,sha256=5KeWQpFSjbaGbSId73tOSVo4gz3hl0ehavA5VrNYZEw,187 +material/templates/.icons/material/file-download.svg,sha256=HjGG8pPsAekAm9BveN1eMigaKB9yTfhNMVNWVZwJrwY,198 +material/templates/.icons/material/file-edit-outline.svg,sha256=zfY17UqGhyD0SODo3WFr5k2PH1lI51srb_nvFA_BJJU,264 +material/templates/.icons/material/file-edit.svg,sha256=9D2bI0GUUmBWMQPv-hZfB_2DaU653oFu5HHx8uwgGmI,281 +material/templates/.icons/material/file-excel-box-outline.svg,sha256=Gfq43b9de-JkS0scwBq8qPgsksaVT6x299onHOAQ0DU,243 +material/templates/.icons/material/file-excel-box.svg,sha256=OZPMyBfjkLMEmaM3xDxByBKBmnz2J4wJ0isIEeZXILE,219 +material/templates/.icons/material/file-excel-outline.svg,sha256=N6vysI2GFdKsf1vd3ZV3jP_SUrShhozAiiKByCc8rtE,244 +material/templates/.icons/material/file-excel.svg,sha256=9_Wu9Fh0QsLEAQ_HSHhxbpagjUO2ZK3CjNQxhYB8AvE,238 +material/templates/.icons/material/file-export-outline.svg,sha256=fOEygRshsNF5MhEZ5VtCzQ6bgj9WhRTAYvzFxSM737s,213 +material/templates/.icons/material/file-export.svg,sha256=yv0_G7rscWZpOVxxegXBvsfHe6E_93N9Ka8vIrEZzf4,214 +material/templates/.icons/material/file-eye-outline.svg,sha256=NRTNuZ0oGjZmBNdUY2bPWtMTYQ4429Rz2ivsX2Y_EBQ,417 +material/templates/.icons/material/file-eye.svg,sha256=GkOaVoT5hiXI1hlmL2OM8GJQIb5lvbFe7bBfnwwUuyg,476 +material/templates/.icons/material/file-find-outline.svg,sha256=PH_Kt3L2dGfHEhITyI4qlB-V31lXG6Oljyj7f9SjWQg,517 +material/templates/.icons/material/file-find.svg,sha256=D_FY_9HANVUecYH-Bteawr-ZdbbDsRvqEpBF3zrITcE,320 +material/templates/.icons/material/file-gif-box.svg,sha256=qjGW7Tp1xYBbLEt2NuSwEfaIp8iqwB6YIii6cZA3Egc,329 +material/templates/.icons/material/file-hidden.svg,sha256=lOKGu7jtFwzyGfa3viCVEfm2ZmIsGj-oZe05xP0Jsq8,393 +material/templates/.icons/material/file-image-marker-outline.svg,sha256=R4fi_8G4VtGmfRv7z5cTL04ZoxWq_kMVgrxxbiwUwUU,502 +material/templates/.icons/material/file-image-marker.svg,sha256=22D-q-p6Cu9jFZmxab7Yr7WmW-5IOJkLllRXc8DGYAg,456 +material/templates/.icons/material/file-image-minus-outline.svg,sha256=VPkFU_WQ7VPo972eus6p9G5e00Y-qU8F8R8Kand9E-I,347 +material/templates/.icons/material/file-image-minus.svg,sha256=1EwbBowaEhdDg03UAG2FUJMb1yLbcxoH8ClQL-MIp3s,335 +material/templates/.icons/material/file-image-outline.svg,sha256=bqVMqSzhomOQqxp4M7XKHo6kOU4xUiBwuUMtDHWvI9c,267 +material/templates/.icons/material/file-image-plus-outline.svg,sha256=_Kn_B6EsxBqnNsHgsGCzx_9NMwu6_O64TaewQ7g9CgI,367 +material/templates/.icons/material/file-image-plus.svg,sha256=ikpdgjJUXPlrn7WTj44lWSUqML6YXoXwcutg1e55siA,355 +material/templates/.icons/material/file-image-remove-outline.svg,sha256=7YSuCJPTYwjZPD8TG5kE6YrJpk7omCPy6y7FNRc95qc,459 +material/templates/.icons/material/file-image-remove.svg,sha256=pNDFm8v5qga82y6TFhCLCGOzwIV5hG-fuS9UQmZhtjU,449 +material/templates/.icons/material/file-image.svg,sha256=ijCFJ3rKuR1wW4aJmZRXnnyafttiJRT7RCv7K9rfjl8,242 +material/templates/.icons/material/file-import-outline.svg,sha256=of7P_hWuZA-ZcZ7zHv0Cz6gt-NwggtqpuILpmkaTMOw,229 +material/templates/.icons/material/file-import.svg,sha256=Pc_4FJ37nm7353ZjNO8oYf36tEWhOJPQQnQaNe4LuFU,212 +material/templates/.icons/material/file-jpg-box.svg,sha256=qsr2xJObw3OqdTseKjzj-JCnnhdba7P4ooSqA_oiUMg,410 +material/templates/.icons/material/file-key-outline.svg,sha256=2SxEoYrd8Hh9ayGl8eiD9qlssyVpViThDDiMWMJrbqE,226 +material/templates/.icons/material/file-key.svg,sha256=8u1DZJ3hvg3A0HFAZmHT1Z7k-EGeF7jtqeJeUL2kteQ,307 +material/templates/.icons/material/file-link-outline.svg,sha256=6MBi26Q_13izs_KiuWu9dyy4SC3Cxk9T01jkRBjczWw,423 +material/templates/.icons/material/file-link.svg,sha256=aLeF2BmL3PBAB1a8_nNj-vvWtpXv-e3mjplrfctwu3Q,363 +material/templates/.icons/material/file-lock-open-outline.svg,sha256=gbhEJXvqvieLxeQAfilbwqXPBlph-dAr7DY0XSDV9GU,356 +material/templates/.icons/material/file-lock-open.svg,sha256=qku3cXYnmbRtrMTgEOoIAHzVCYf0W-buqrAvqJ5_TDg,424 +material/templates/.icons/material/file-lock-outline.svg,sha256=m5ZvcqNwhPzn3eo5eunPNKHcLUpEwcyKYE7mDQBYQnE,364 +material/templates/.icons/material/file-lock.svg,sha256=2Em08lh7SrQ0Ko0b6JkHkL1Og9evsSEkPvNKvCqPy1w,431 +material/templates/.icons/material/file-marker-outline.svg,sha256=0HT_o2vci1gBawU5LC8mgCjvYHXm8KTfh5gr07TSQ0M,374 +material/templates/.icons/material/file-marker.svg,sha256=kL5TkB89dEUOIZdsEpggasjBdgGcS0QVyXihzGbECQ4,396 +material/templates/.icons/material/file-minus-outline.svg,sha256=ljRVCbmCAHPBl9jfXB0iDheSqOLLO1Q1Rzco1dMM2Ek,225 +material/templates/.icons/material/file-minus.svg,sha256=KVM8R20XuXkMRM4M8Kg-OxQhqOsX76-pfILtl4o67aA,231 +material/templates/.icons/material/file-move-outline.svg,sha256=C9lNT5w7QsINBbNGrbk9j5fe993ou0HUAEkeroRoehk,264 +material/templates/.icons/material/file-move.svg,sha256=9bGniL0ai6uRCePKjnjmwsmW8zJeZMSrbn6gEUdtKpw,235 +material/templates/.icons/material/file-multiple-outline.svg,sha256=SmgAHZMENS0arK-WYqSXD1XQMcBQm4KAgnF8tGJV5-g,195 +material/templates/.icons/material/file-multiple.svg,sha256=NnmVJ99bRjGpo_UFiyEnl7GrhQ94MAvDWouq5FzO9b4,188 +material/templates/.icons/material/file-music-outline.svg,sha256=B1zO1nfic6pgquZg44-clapptdPN0uHiyI7yka_6DV4,234 +material/templates/.icons/material/file-music.svg,sha256=zLyr-GwiriRqkkIIpMXMt7cpV6er_DRTl_ToQBQvrN4,234 +material/templates/.icons/material/file-outline.svg,sha256=0WoJ4rolObToZK26yx_6FK0KmsLlBohdsDp0V4bWhq4,159 +material/templates/.icons/material/file-pdf-box.svg,sha256=q96Ldvv599ulESO0JMCJUTUKVjTlyH44dktj4IjVNqw,336 +material/templates/.icons/material/file-percent-outline.svg,sha256=4rvQLz0HKRylKQQbPJIX03FJ2mA3XHyk-9u5xeLoEFc,352 +material/templates/.icons/material/file-percent.svg,sha256=oIl4XQOWUgpXZ65rGhRoTcj0qyJ4eeIqKPEfyq2z8yU,382 +material/templates/.icons/material/file-phone-outline.svg,sha256=I6isC1TZqic8oVOxwPolrU8tcGoAdutjKVxnn4S-rRM,410 +material/templates/.icons/material/file-phone.svg,sha256=FIJaqIpGSRMObmL868dQMXh46hMzF8s_5jOfWULfhFM,416 +material/templates/.icons/material/file-plus-outline.svg,sha256=WzZRnhOZYtndRByMOtBbngGy6Uuidq3GLZZXHy4ufKw,245 +material/templates/.icons/material/file-plus.svg,sha256=mQcFI2uh4LOyMtMBBiLa1WfKgTEHL9mvmQJhCZFfD3c,251 +material/templates/.icons/material/file-png-box.svg,sha256=hUcvXtFa2hnjveHq5AeMSb4GDgJpV3S9dMQ8akB4PoQ,402 +material/templates/.icons/material/file-powerpoint-box-outline.svg,sha256=BBUrD1tur8a3vXG3WVk5LyxVhplId5ayGq3uzakEP2E,397 +material/templates/.icons/material/file-powerpoint-box.svg,sha256=oQ6Z9oMbLK-HO_Eg4DX65GLqsug-xwZ5REcEkgUY-to,366 +material/templates/.icons/material/file-powerpoint-outline.svg,sha256=eP_n4ERxvWZ7nhe1yA0dUoizU8DY7aUxEuF22UWeX7Q,347 +material/templates/.icons/material/file-powerpoint.svg,sha256=dIt_yXDFP6uqBJK-hLK1-iPmqrbeLLght4lb1uvyvaA,347 +material/templates/.icons/material/file-presentation-box.svg,sha256=vTbNpuKzhexT91BZF2ZChcQta0cvg_rq10piOUT1QMg,166 +material/templates/.icons/material/file-question-outline.svg,sha256=vZz_0ObnZDD-5-qSoqMWhg0SxpmTp4tIiBxJkrcVH6M,324 +material/templates/.icons/material/file-question.svg,sha256=7pr3Wjz61V7fulk6upijzFXcf6LJu542PN9xL3fLLjc,329 +material/templates/.icons/material/file-refresh-outline.svg,sha256=28f0JwSxADQNiTc6dYb_rrVUzeGC24jNjv6mebBHzqw,328 +material/templates/.icons/material/file-refresh.svg,sha256=zopww2HAZfzvew5vHb1zwxmD343HkhFLZ2WJ4eNOnsU,350 +material/templates/.icons/material/file-remove-outline.svg,sha256=B49Won9MPEsxKBKrxYFCbPCHYD8zHhxLtiDY8Z19uwE,336 +material/templates/.icons/material/file-remove.svg,sha256=STNJaZX0KlKzRg5zCcWm9rfKLFSS3epKDaMPj8579pY,345 +material/templates/.icons/material/file-replace-outline.svg,sha256=unE_7ibs5s4P2BF6kdFRwlqQ4g2gu5BwuiUXN7VNZmA,225 +material/templates/.icons/material/file-replace.svg,sha256=Sn4LYK5IO9DMDCWHe7iJKZFm6eoRVqxkGTPXq3dv5h0,232 +material/templates/.icons/material/file-restore-outline.svg,sha256=1Vi4Ws5kudhlo6d2zs3dkdDWIAuU8nF5TRkSs6h7FL8,408 +material/templates/.icons/material/file-restore.svg,sha256=e_bTVpCTbzZlkyRStubnESk-1xY7SYOVv0MrCAIG8RU,339 +material/templates/.icons/material/file-rotate-left-outline.svg,sha256=HPqZJo13Vzd08o8hLSI_BPBJCDYZ_ccg1gTPWpc7-K0,235 +material/templates/.icons/material/file-rotate-left.svg,sha256=NTJDc9iGXqFgGq4Lb3Lg-0_dUUhGrydM8EGrsElJp5c,241 +material/templates/.icons/material/file-rotate-right-outline.svg,sha256=RBWIHCYfpIoTQlc1DnbwQtmXYzMR_TIbCA2OYl89nA8,232 +material/templates/.icons/material/file-rotate-right.svg,sha256=zWJIuEHhtwoif-QxVdbwSwIiZ7g67srz1BKt-9tfpuo,237 +material/templates/.icons/material/file-search-outline.svg,sha256=UsjCPPSjXOl3pYv_pqx5bb5XNLGOabVOkW2umVpqa2Q,449 +material/templates/.icons/material/file-search.svg,sha256=Z0K77QykXq4vlHjawoOkbFksYapiKIRbGGQZIw_FOrk,462 +material/templates/.icons/material/file-send-outline.svg,sha256=5iNYw9gVbI-QRmYdqlbt2l1Htw_kTqfZdLkdoyeQq6U,196 +material/templates/.icons/material/file-send.svg,sha256=LELSHNRf0xw4ReJSih5yHO5JFTCXUyqxb1N3pORjbZ4,204 +material/templates/.icons/material/file-settings-outline.svg,sha256=yYlrZRdKLDNqz4CDLcpDH6vO_KPLI21p0YNo713zkg8,199 +material/templates/.icons/material/file-settings.svg,sha256=gKe5MPYbtbEoxlUxaVGdZrMrMTwyPxrf9YvmnhYD4cg,205 +material/templates/.icons/material/file-sign.svg,sha256=JvIhs0xXUQfMFA8JcQ6Fo-CfO85454Ku84sXdjxqEvQ,439 +material/templates/.icons/material/file-star-four-points-outline.svg,sha256=05_tD5gSgOtjwZqignZ3u-5o7KkZ5g-FunZKqGCLvBU,230 +material/templates/.icons/material/file-star-four-points.svg,sha256=giBjKS7dA31LnUuu_lAGKnETZ8CdR9Bu7jzaULafphs,296 +material/templates/.icons/material/file-star-outline.svg,sha256=FCwjZzVwUlBOnbSYiDE3HtLusv3Bp_Oe8DvV3PFlGSI,241 +material/templates/.icons/material/file-star.svg,sha256=puEouFwUP4C-2wXT1sLZpFwJX7a_Isxetu4tVMl5eVs,241 +material/templates/.icons/material/file-swap-outline.svg,sha256=jv_xnlHqNEgsu83STTCiCue87JdEo5cDgq8Z1_5Au2I,190 +material/templates/.icons/material/file-swap.svg,sha256=m2SWOsVeVl6Qt7_MecSfakgN7HRZLSoq2-CZ6B9exb8,186 +material/templates/.icons/material/file-sync-outline.svg,sha256=0guDBuOXIgsc3J9nElWEE5PeimmRFrpdPBFjwLL95CI,407 +material/templates/.icons/material/file-sync.svg,sha256=tH0zNxHejn-qYSlIjfqBRVLHVkHD48QeagDnWIsc2ls,438 +material/templates/.icons/material/file-table-box-multiple-outline.svg,sha256=G1TMS6J31O-3jyO3VMzaWFdzzqOb8eRqvAlbueWYjd0,290 +material/templates/.icons/material/file-table-box-multiple.svg,sha256=Ms77O4ixeEf7Fh4IL27Jprg6OLJGhWv6yGKpfcBaGsQ,272 +material/templates/.icons/material/file-table-box-outline.svg,sha256=oVbnCZ9jMRjy_EAxqTUS30mq2HzQfzx8PXJDpxqRKGU,261 +material/templates/.icons/material/file-table-box.svg,sha256=8KE8_8BxbOARqZNX-V8FLsMLouoD8VcXuJnR-AFYhwQ,237 +material/templates/.icons/material/file-table-outline.svg,sha256=0ybjgKT9vQLPk8T2j7u54JlFlQpFoAK-iEyZENnIzAk,243 +material/templates/.icons/material/file-table.svg,sha256=tsj1f-dWDk1pEnr8dXtMArZKhst5oAOxrzbSd_OutgE,243 +material/templates/.icons/material/file-tree-outline.svg,sha256=fu5Afv0P--jttvUjqJDK_Mycvp9dhdqrBGjlv52DPIU,187 +material/templates/.icons/material/file-tree.svg,sha256=miLlS_pkrJREni56Q5HtYFVpPUzwIbrxuPNsocwMaFA,145 +material/templates/.icons/material/file-undo-outline.svg,sha256=wRhYmzbJaG6F4s_Fq-bFqAXvNeoD5qyGY1vN9WLFkdQ,308 +material/templates/.icons/material/file-undo.svg,sha256=WfCa1Q6Xsh9wnZNAp7Y-rG-yYBcr5GPnPHoZ2AHe7l8,314 +material/templates/.icons/material/file-upload-outline.svg,sha256=KKAhLVMa2AklpAiO3ZEkvMjaCj7-x1kj6p6ch3ZWqpQ,187 +material/templates/.icons/material/file-upload.svg,sha256=feseqIrbv6TUAej4BUUgSkb4TrlqEJtjY2HGGCCb8IA,190 +material/templates/.icons/material/file-video-outline.svg,sha256=7sQViHv3uu1eBkEefQl3Wo1-Xt3lv1UEFRwMPk52gkc,196 +material/templates/.icons/material/file-video.svg,sha256=VV9pq5pf5ffFbp5KfUQTQ8KVHPPataIFdIJuYK2RyXA,194 +material/templates/.icons/material/file-word-box-outline.svg,sha256=7jA8LAjAxbGdAAjlZ10jWRL7fB_hGHMmPgg--cNIREQ,259 +material/templates/.icons/material/file-word-box.svg,sha256=1RKx5_3tZd0A-BMm7I077k9arkfnOtIlXQpv7xrCQcQ,232 +material/templates/.icons/material/file-word-outline.svg,sha256=TE-ssJO2kOlv1PmVCpnWjJZoIEChC99jrO7pPEP7R7M,262 +material/templates/.icons/material/file-word.svg,sha256=DWSP-bObb1af7Rr8KlYZhIc8nJ56FKnU-xTcxJzwah4,250 +material/templates/.icons/material/file-xml-box.svg,sha256=In9DDHO8-Gr8BHT2TgNA7-f_kxV49wt7blBnWMmYn0U,322 +material/templates/.icons/material/file.svg,sha256=d2rONRbCe8SA9F-QLG2S54FGGcFVujY_kN0Kne52CBs,160 +material/templates/.icons/material/film.svg,sha256=ErRpjg8WdoZZfE2-y41y2qW3hj4haqwvohdqLQV3tdA,323 +material/templates/.icons/material/filmstrip-box-multiple.svg,sha256=K6Ady5CZSVbTQy8XUOQ7go2GSUD_L1I6n21JCWT77S8,263 +material/templates/.icons/material/filmstrip-box.svg,sha256=YuSRyanVey8A8XISLvDwigd2Mph0q7Iom-8qlzhrZ28,236 +material/templates/.icons/material/filmstrip-off.svg,sha256=1MQ05kRegfliCGPmsqbaetbtGGZpAwib4j_QDGKskPM,273 +material/templates/.icons/material/filmstrip.svg,sha256=cIVNJL2EsLQC85tdLSGJ-SviFmZCNWhbmDGFcbC8Pqc,197 +material/templates/.icons/material/filter-check-outline.svg,sha256=KYUbbFLcmXvdEy1_c5dfrmbNyYTU3MtTcjqs8bILLww,377 +material/templates/.icons/material/filter-check.svg,sha256=LxOcp6_CmQYl_GMd3ZXmBvVmSCnagAswIjYkgI6j1So,335 +material/templates/.icons/material/filter-cog-outline.svg,sha256=cMVGmijRbWulpQm_m1PX48PbMBssJ3JPBaaY_AlVPkQ,958 +material/templates/.icons/material/filter-cog.svg,sha256=dEKWVIlIH9NJR_o2la7TG-DRbUGXhY_aciAtApX1ba4,916 +material/templates/.icons/material/filter-menu-outline.svg,sha256=Kuu7gnlgwNmd6xavE1NXmtslZT3Ob9nyNpDwkGC99cw,286 +material/templates/.icons/material/filter-menu.svg,sha256=9xYw3EpdO__-GxQwJo6NgTxv1McR5aA3e36Vfm99AMc,245 +material/templates/.icons/material/filter-minus-outline.svg,sha256=S8XOJGe-AXf8qRluy-tXfvDJmPG6DuVU0sqk6zyto1Y,329 +material/templates/.icons/material/filter-minus.svg,sha256=s-Y4jdzMBMoh8lU3xvXrGSq-ewB5OUxeSlUYbEMweJU,288 +material/templates/.icons/material/filter-multiple-outline.svg,sha256=09EY3jahLzWFnVqjpY4k6yQjec7Xch74DYzinIYpgg0,492 +material/templates/.icons/material/filter-multiple.svg,sha256=OeBhjHTD3NDSjqpHcQ3woFpPhvDG9WAx506Up3FT4zU,444 +material/templates/.icons/material/filter-off-outline.svg,sha256=MJymXHI3bRwV9KyI0orOa0Y3o_puxphjKgHfT9dP2Mc,385 +material/templates/.icons/material/filter-off.svg,sha256=BRImtbXbVVFA_pzR1WLJOqgtYheZYjph_aOatNrHMCg,331 +material/templates/.icons/material/filter-outline.svg,sha256=9KZ6oyggr-lrB37SHXgzBRGRGP2jM63AKv59NFaTCEs,316 +material/templates/.icons/material/filter-plus-outline.svg,sha256=68SfaEq1JOJe2ZdCEy3NyswyeLVsVrdG_OsDYHcM8as,349 +material/templates/.icons/material/filter-plus.svg,sha256=XtLyWuSy5iJxMwEp8-3_5Wpj9i26rGVmlCim7ebotkM,308 +material/templates/.icons/material/filter-remove-outline.svg,sha256=DygL_be3fffEexH-qDETmWhdY2uAFb88s6B5eRrrInQ,443 +material/templates/.icons/material/filter-remove.svg,sha256=MgdJHVTUgoxmmaECDq03JubPM4F1KokU0dCFNd9Evhw,402 +material/templates/.icons/material/filter-settings-outline.svg,sha256=CE_GVGEuEJ5eW_kZP0gNubvM2Z8uzT1gbXxrCg0wg00,345 +material/templates/.icons/material/filter-settings.svg,sha256=zCeA_yXEdeji-JeTVgeZJ3F23fg6OKcsYhKReSd9d3U,307 +material/templates/.icons/material/filter-variant-minus.svg,sha256=OizSv7Tf0t9ckadip1YFbYuhsuix-RigPw05HFbsLEA,162 +material/templates/.icons/material/filter-variant-plus.svg,sha256=mn1PUhUK_w95YyrRQFHGBmetsmPi0bWe-shjd_qWIuA,182 +material/templates/.icons/material/filter-variant-remove.svg,sha256=CZAwdI_VtOmquEOAhbBt4MLE0NlEtpPDLruQxHMe5Do,276 +material/templates/.icons/material/filter-variant.svg,sha256=EVw_RwXuGVH-My4EPTyq-qfKnHFaxdOl19vyjzdWpI4,119 +material/templates/.icons/material/filter.svg,sha256=9kpibHAHt4vMTNiqWgrvGxbLjy9r6y4MIOOAXAeVf-0,275 +material/templates/.icons/material/finance.svg,sha256=0BFn_Kh52r78w1CppcX90NZK-2XnMCBbHllfpyMxiXI,218 +material/templates/.icons/material/find-replace.svg,sha256=eP0iPtq8CeOcgfF6yiiMhi3Dn1MoBxGexiROTU00z_g,372 +material/templates/.icons/material/fingerprint-off.svg,sha256=Rv1lb9idZP2c8NwnhbQUhSDPXuvNaMl98X1AJM92HH0,1640 +material/templates/.icons/material/fingerprint.svg,sha256=-JdbMHqvTJG7bb36Z4eO-Jut_9lktGyfQAFPu-xw2cY,1695 +material/templates/.icons/material/fire-alert.svg,sha256=eUp3xWOPxH22jl5DEoY9O69nBBXZezB63VMuDRwe_xU,761 +material/templates/.icons/material/fire-circle.svg,sha256=K85f_riolIc0qfSdT0gxznApdPZD2d46_DyGctrEKGk,788 +material/templates/.icons/material/fire-extinguisher.svg,sha256=8Xk7kB9LvVV9IRG-CnhZsWpoE3KbIWIYxJo7wyNSn-s,208 +material/templates/.icons/material/fire-hydrant-alert.svg,sha256=b6cvZdVThx-MPBvYnzjHWme0E0LNWUZ1eOD6GZAFy5Q,323 +material/templates/.icons/material/fire-hydrant-off.svg,sha256=AMtCGHKRBfhCn7BwlaM9ImN1lqTyo9Xgujr3EzmJdUQ,423 +material/templates/.icons/material/fire-hydrant.svg,sha256=8VGOAr_aMpJ266d2D1gVeHUBfdNnkKCFrAxg8hzAJB4,296 +material/templates/.icons/material/fire-off.svg,sha256=ZDa2z_Wp7XWHnW1GvcPUbPKmHKwhLGY01zE-Y1V-piU,744 +material/templates/.icons/material/fire-station.svg,sha256=PxWRV0d2rAW-V8js9K7O4o6nXCZsaO1pBkTkPiVQN_M,737 +material/templates/.icons/material/fire-truck.svg,sha256=QLMrrfK67iP4ACCR2-nirIs98OtGpCgvuNwcJ10Hto8,530 +material/templates/.icons/material/fire.svg,sha256=PvOjympvAwr99J3uch-iULP3p2jFZ3bEETypxoumS1E,732 +material/templates/.icons/material/firebase.svg,sha256=tvt3pvCXxrNSV8AXyO0hMC_bpsct9ZjCaWrxH-BRx_E,313 +material/templates/.icons/material/firefox.svg,sha256=2lec1fTrEwWUrFC8luzgqKr8408h2v7UQVsn110uEKc,1198 +material/templates/.icons/material/fireplace-off.svg,sha256=kAtDCvSQA5nojzJ4M6yygs4n7FH4Xkw-_4cmPqW0E9k,151 +material/templates/.icons/material/fireplace.svg,sha256=wmpb7rpm3TzfW0tDYgxNdnqCgIpjIILppMrI-kmMM08,634 +material/templates/.icons/material/firewire.svg,sha256=4_vLbh4k_GHnQVEq4j0jdEbM4Dfyw6FMC6ZDPM9PSEM,342 +material/templates/.icons/material/firework-off.svg,sha256=p8Io_TKNq_GcUfZHwIdu4tJxp11ZuJKJmv72mXNmnK4,566 +material/templates/.icons/material/firework.svg,sha256=npoFd2Si0gzpLZ6ApLfMjqjv0rYq6EJ2H9BGMIj9G3w,479 +material/templates/.icons/material/fish-off.svg,sha256=wSBS3lz2HZ_RRo4dBR-_XZw4CshCu7RgUUXluiKXM0A,460 +material/templates/.icons/material/fish.svg,sha256=CzBlvl5IYfIIg6LIGI_Y-aFgJtVPymTgLCNtC2GVGKo,475 +material/templates/.icons/material/fishbowl-outline.svg,sha256=LLU3AoVOiJe0dlDsUIua3NadEh6VaIMurs0p_fAFvig,705 +material/templates/.icons/material/fishbowl.svg,sha256=_yE4h1_yc_bFM6Q1PY_nFD2Xd2JkShvMX1gmNb_hta8,528 +material/templates/.icons/material/fit-to-page-outline.svg,sha256=uZwwI74WCfj8vznMgfubAqNl_di6ivekl3q5KjuRMn8,259 +material/templates/.icons/material/fit-to-page.svg,sha256=34nC5hy2kKa6rdN_9gdMjZugy78FRnSGRKXjWlJ8QgM,243 +material/templates/.icons/material/fit-to-screen-outline.svg,sha256=tdk8PO8dCX3Q-t0aXjupcvwbgu8FNlC-pDHDiJtprlE,239 +material/templates/.icons/material/fit-to-screen.svg,sha256=h3hsc7RgccmB1F7uYR2BBp1g7cZmy1RlaNwnAJu5nfg,227 +material/templates/.icons/material/flag-checkered.svg,sha256=l3TU1mOJT85zvrdGfynBGwX83qOBLq9wg9kUULziF_0,218 +material/templates/.icons/material/flag-minus-outline.svg,sha256=1XQpFaGk_TKuSwJJQGZ0JBxSP52CBVy-h0VZsJ10N4E,167 +material/templates/.icons/material/flag-minus.svg,sha256=t9noDw9krYir8R4nHphsCsfS0xC5Wtl71kcJ8TzJ3KI,132 +material/templates/.icons/material/flag-off-outline.svg,sha256=EdpP3ubrgiZ3H6e1xsA7KtdPdnbEdCoKkNCIydXKZA4,241 +material/templates/.icons/material/flag-off.svg,sha256=oZB4_YHqWrDXeuPnMJKy9ZpUE4EG9hKi0CKcwNNHeqQ,201 +material/templates/.icons/material/flag-outline.svg,sha256=6gl1ci-lyCzkgggBk4WYo6WBBN_-G5tfdS3I7LKq5Sg,150 +material/templates/.icons/material/flag-plus-outline.svg,sha256=VKrts_QTZJxhn8iV03bT-A7D0aGNMDiH1yqEfwllcb4,248 +material/templates/.icons/material/flag-plus.svg,sha256=ZCf2Yc32KuAXjD6MdGC5oWVMwPB0D7v8WNVmtNMw7Yc,175 +material/templates/.icons/material/flag-remove-outline.svg,sha256=uA8J6QVH-ZDTjty0lJ1NzsntQh5xTNJ7wOvHfCs8G88,341 +material/templates/.icons/material/flag-remove.svg,sha256=ulgmVmNJ551pJjwLteyv4K0kE_iFb-QZ4GOj4CRVxSY,269 +material/templates/.icons/material/flag-triangle.svg,sha256=mWs3OrZZsh23I-Dy4NfK_FocWi-m05mxGhFBR-jXzQE,112 +material/templates/.icons/material/flag-variant-minus-outline.svg,sha256=Z3XnXRDJOo4eEWiqqdsnXZ_IJz8bXVaWg_7qA-VeSyc,287 +material/templates/.icons/material/flag-variant-minus.svg,sha256=uiF6eEXxuqv9Dz5_UUBWs3npU2TPZbeCPouyNyZmCwI,209 +material/templates/.icons/material/flag-variant-off-outline.svg,sha256=BltE0YzDNoadxYuMXa8XqodtwHw1gPFfrg-EyPhKsLA,341 +material/templates/.icons/material/flag-variant-off.svg,sha256=-XB1VrbWxNzR3Fp6rDFAEEZqxzYeS_2f9ePGwtWqv30,236 +material/templates/.icons/material/flag-variant-outline.svg,sha256=CZFbTUTW7iMHXvqodEmDMmmfQxfN-su1lqw_t3TLwHs,278 +material/templates/.icons/material/flag-variant-plus-outline.svg,sha256=r8WEsQJ6zzVGoCy_6lPDvIk79WfQ7EZw0R3nyo2qyn4,307 +material/templates/.icons/material/flag-variant-plus.svg,sha256=MCGaogzgQwQ62OQ_D244_YhfqPRTStp5GywiYPfXhWY,230 +material/templates/.icons/material/flag-variant-remove-outline.svg,sha256=PuRKIDgMhhoDmjzQbPSZe67pjxi1_bX9szaJu8_2tj8,377 +material/templates/.icons/material/flag-variant-remove.svg,sha256=y0O-OCTmgamMBx-biLIMlODt8ma8UShTqi5E50n44ig,301 +material/templates/.icons/material/flag-variant.svg,sha256=JtOWs2pUoI4RRR6saOi0PaQs0ijUzN6yfKlElvtGHcE,198 +material/templates/.icons/material/flag.svg,sha256=9TxpH8O2xY1SVx7DL7GQttr5_e-Odtubx9c8LX2hOy4,119 +material/templates/.icons/material/flare.svg,sha256=7RI2YnwPKGvYngh3G5i1VAv3Xqt5Je7g_lJ7D7AtXNI,399 +material/templates/.icons/material/flash-alert-outline.svg,sha256=FLqnHznMFHNgZI963991r3yFNQCz63L6KGUv-CE45m8,168 +material/templates/.icons/material/flash-alert.svg,sha256=qa1mRSFrpZM1nlxicBqb_t8Vjq3hX3_Ntf7NtDrtEgU,130 +material/templates/.icons/material/flash-auto.svg,sha256=FoGo0XpKE8CK7frCBNNwQNHffeGtcjNjXSppwRRC3O4,166 +material/templates/.icons/material/flash-off-outline.svg,sha256=ldnzK3FBwtG54jAbdW0phnNDNYZm7nTYjlW1VLfNO2w,207 +material/templates/.icons/material/flash-off.svg,sha256=zx8v2gOo6H2XaLbv72X_uu-fXbxB7lHyIVUHmOVAIOA,169 +material/templates/.icons/material/flash-outline.svg,sha256=1iO6pNFCLcStOugu9ZzPzXkeZfWn1NERvk-C-LyKhIs,143 +material/templates/.icons/material/flash-red-eye.svg,sha256=It7fAlnzJtvS5aZVIWRxQskj1i235pV9FlVjc4ZQ5fM,380 +material/templates/.icons/material/flash-triangle-outline.svg,sha256=oildWQGHNNwRm0ELsvCEgSd-6Mxl2PLxJZC2M6Qm9Ts,138 +material/templates/.icons/material/flash-triangle.svg,sha256=FNoOknt4d03-TLADwt0yanT_Ku7MTBPHBKz5BlXIdN0,132 +material/templates/.icons/material/flash.svg,sha256=r_cF9GjIrhg3dAvgQxpkwOW_HOmIOMGWqJg7fASkruI,104 +material/templates/.icons/material/flashlight-off.svg,sha256=mndK_AQU1wzWZxBioJS6MnPP7n7OdYkn6aBMs5YAdNQ,195 +material/templates/.icons/material/flashlight.svg,sha256=zM-KXLDoGhhCWeLEgXNiWDKM3E7TMyadZcgxD2BhhCE,186 +material/templates/.icons/material/flask-empty-minus-outline.svg,sha256=0f-bc54RL8-XDzffLH74oCBPZRSrK2sYUJnRpelAMvI,348 +material/templates/.icons/material/flask-empty-minus.svg,sha256=j_mH7dAj6TQgv6jsKTkn9ust4W4dIBOVVLDsVR_fzto,279 +material/templates/.icons/material/flask-empty-off-outline.svg,sha256=UwlTDKZ11dLVzMy2pvUp4BOtxTzmGOQeUf2J1QeemSg,352 +material/templates/.icons/material/flask-empty-off.svg,sha256=Xacet6FOM4QacX_C7aIOXdlpDgYhsGXi2BPX6Jf-eOU,269 +material/templates/.icons/material/flask-empty-outline.svg,sha256=Bjf_T6oQu1OdX4QSs1phgkf43Q0mXz1Ao6DMk3iYRWo,348 +material/templates/.icons/material/flask-empty-plus-outline.svg,sha256=70TXarOfjQV5UQAnsSXNB7fgAntxIrAj1FHwlPHBYn0,368 +material/templates/.icons/material/flask-empty-plus.svg,sha256=ggbcHQsLn9syepKNoXr2aypN_79FgZTAxWtrsBhf1H0,299 +material/templates/.icons/material/flask-empty-remove-outline.svg,sha256=0ECGXMgFfE2__ml6ew_uf_y9GAAIKJj44XPUmdm4Q8w,462 +material/templates/.icons/material/flask-empty-remove.svg,sha256=yAElaYu2tNte4bI5XzFbrER7w7niDhc_dwistZWsikA,393 +material/templates/.icons/material/flask-empty.svg,sha256=Ac9TqPFCG9rsej1R8i2iuTq2bSB_jOu5o-vy55ITrgk,240 +material/templates/.icons/material/flask-minus-outline.svg,sha256=Ajbfe77WFGkXALHaWMy4S0QNHOp6zfP0Mfzj1mgbvbc,465 +material/templates/.icons/material/flask-minus.svg,sha256=VH2T37w4OJoZaDb9ZHE3Tb1DG4TeC6Eahxw8CAcivaY,394 +material/templates/.icons/material/flask-off-outline.svg,sha256=1OPOSVi2xHE2Lmg4kUyphImDAtwgCZR4I82AyOj5_4I,384 +material/templates/.icons/material/flask-off.svg,sha256=c7gPY8B4KrLtPyxVPjEPsqso3saRoKyw94eS9Ip8Cfc,339 +material/templates/.icons/material/flask-outline.svg,sha256=_JEQuAUYmsl0LhcdiXoH8CyT5wn6cv_ddb15v7JIZQY,461 +material/templates/.icons/material/flask-plus-outline.svg,sha256=05W5hhYorx9dUzh9xTBoxq7aQt6ZJ5AV8EJ_Ju5nFkA,485 +material/templates/.icons/material/flask-plus.svg,sha256=zf3RQpmREEdiR0JzONW8ommhEx4WSIk-cAs_JRgZ-U8,414 +material/templates/.icons/material/flask-remove-outline.svg,sha256=_UW_7_fvel6njFliFqIFZSGj2mbo545pu7l4x3AeGDI,579 +material/templates/.icons/material/flask-remove.svg,sha256=0PL6feMeWZHH-Jra-zDJy7CR12I8MKBqEVhx4XvJJ6U,508 +material/templates/.icons/material/flask-round-bottom-empty-outline.svg,sha256=Z7lBVFTdIFCf2vMSig3WpjRF2Y-0E0PSCZ_FOFYKdRo,246 +material/templates/.icons/material/flask-round-bottom-empty.svg,sha256=PKPD4E7NkFd17sDFKO0VPJSZeT5q5zQFmd6Qp0vKZT0,218 +material/templates/.icons/material/flask-round-bottom-outline.svg,sha256=gXG7F0BzzxiZ7DLP9bdJXvczjt5mwOhMDJj7MmIJduM,319 +material/templates/.icons/material/flask-round-bottom.svg,sha256=bnjIBoMOOuVaStP577dT9h924QF1_8GR-3dKLiZJqkc,368 +material/templates/.icons/material/flask.svg,sha256=lUc7MhEAjdQe-l0rp7VdP6PdYXwd8yqE961yQt_UxWU,417 +material/templates/.icons/material/fleur-de-lis.svg,sha256=rGHXaMGSfG-qofC55e3UiVlrJQTMjbOfG1_UsF3bgYM,281 +material/templates/.icons/material/flip-horizontal.svg,sha256=9ASxr1ZUK0sW5EV09P5X9USbd4ufs4tzAniT04G5nKo,255 +material/templates/.icons/material/flip-to-back.svg,sha256=1CHeM0rilKYIi-rVnXAzEd_g4KGnAFYM1Cb0Io8vjj0,298 +material/templates/.icons/material/flip-to-front.svg,sha256=l9VA7a8YFaHO0LrdW393ZJVGyl1mKq6YmcYO7E1q5Eg,261 +material/templates/.icons/material/flip-vertical.svg,sha256=twzK4besrIV5JPiwPziBv-657G1ukRyw5LjqsAG14LY,253 +material/templates/.icons/material/floor-lamp-dual-outline.svg,sha256=Os2U-rkJONujA7AYzUuYi3nRJGF2yotEkzko6kmI1Iw,326 +material/templates/.icons/material/floor-lamp-dual.svg,sha256=2l3TfZ8v3y9kqNp2ojrqZtG0CqglWkELhwYh0L_UvCQ,242 +material/templates/.icons/material/floor-lamp-outline.svg,sha256=bZTPkEZyeXzHUTzKtwzRJgZIjnkxojsD44i4acadW-o,138 +material/templates/.icons/material/floor-lamp-torchiere-outline.svg,sha256=uxH07-YZWstD-3dm3HN4DTezjvPZWJ3Sj6lgB5au-ng,143 +material/templates/.icons/material/floor-lamp-torchiere-variant-outline.svg,sha256=G3YPaf5ej2viA0EGae0gEXzNGKNtDfxquKC21-Ws88E,187 +material/templates/.icons/material/floor-lamp-torchiere-variant.svg,sha256=2PsZV1Ym8JWYsXBrrfhFwdQm_VNwrPe417_X7e34kM0,151 +material/templates/.icons/material/floor-lamp-torchiere.svg,sha256=6x-sSQXHvnzZsjkY-mxeg2v5rqewzzevNTfS9vD0tV4,119 +material/templates/.icons/material/floor-lamp.svg,sha256=v2DBy7doJxbStJGUIZRr2d-rL1BEVB0mS7vB03gL6wg,117 +material/templates/.icons/material/floor-plan.svg,sha256=31IgMoUfBti6dPDDCUnDsvmp3-yZacMufApDvFxnl-k,163 +material/templates/.icons/material/floppy-variant.svg,sha256=wHLRq84cu3pBjynyONCuyrFP38NJlz0WWdW9qnrNSrM,218 +material/templates/.icons/material/floppy.svg,sha256=ZUWLIlT9aFMJD4O9WG6Q1am08UbPJQ1bJLdQiGTKvM8,237 +material/templates/.icons/material/flower-outline.svg,sha256=VnRieMCYm8ArLqw-FcV5UYxLO5br93iJHnVGXyfyB9I,1282 +material/templates/.icons/material/flower-pollen-outline.svg,sha256=EOfCPdc7m6Lv0pL973rMsLvncdxjgkiWnWuRRYhxkgk,1430 +material/templates/.icons/material/flower-pollen.svg,sha256=IkVEahNQ7pyQgxKsTgEt6JpjavBp3qHbeQXXCc7TGts,816 +material/templates/.icons/material/flower-poppy.svg,sha256=S5do5SZ0ZvGSW1PqlQD1nZxWos4EuKOU-9mpqBR8YdQ,495 +material/templates/.icons/material/flower-tulip-outline.svg,sha256=6z5ccCLYS49A5-YYJGiqA4tFksO0SzWll7X3d7Vxv_g,493 +material/templates/.icons/material/flower-tulip.svg,sha256=YqQ2U1cY34F7Nbeu9-08-mrBpUWrRkbiS_uZKZWKF-Y,279 +material/templates/.icons/material/flower.svg,sha256=S4eLmU1XlzYORxadZ7xtkOzdweopCl1lb_uJwqfwDEo,623 +material/templates/.icons/material/focus-auto.svg,sha256=kZGVj2D1Gz1usNQIRDKDP_il8pJzZBuESgz91pi24no,301 +material/templates/.icons/material/focus-field-horizontal.svg,sha256=gTAR6j7u124ROdqN_QWexumyGWVq2vf8fU38-4XtQXo,249 +material/templates/.icons/material/focus-field-vertical.svg,sha256=nG3nTXieixzWuuKmjiY935CdNo9g7P6aM9PH0fF33ZE,249 +material/templates/.icons/material/focus-field.svg,sha256=NRGGlr9gBcHWKngBETUL-OA5QY-y7G_sANz736QXTs8,329 +material/templates/.icons/material/folder-account-outline.svg,sha256=SaphIgqYNYoO1NdnStXGHInGuaXD9d7e1jCgusjCWbQ,267 +material/templates/.icons/material/folder-account.svg,sha256=SreXhC-bfWO11t1Ng1TtAPRpS78iVimK5mB0Cbp--tI,262 +material/templates/.icons/material/folder-alert-outline.svg,sha256=m7dU8Ot8y2WCCDMt0fEhoKiQ6zsujCOpO-eyTdCTYPg,367 +material/templates/.icons/material/folder-alert.svg,sha256=dk79aq6AxyErhyDYpedYOCLLjW0rlVlwJH7WFCrrO6E,295 +material/templates/.icons/material/folder-arrow-down-outline.svg,sha256=ShX_MH8UtFGb4_NEsB1dZdRjcg8sSNTv7nZ_G4XuVXE,246 +material/templates/.icons/material/folder-arrow-down.svg,sha256=K7Cxl18vyyrklnHHDSbaxfXCfT-q8P6Y-evJ-NSS7fk,230 +material/templates/.icons/material/folder-arrow-left-outline.svg,sha256=M5HEkg2r8drhXQ-AUlbnFuYVV_Fy2I7T3UAWuqtJax4,246 +material/templates/.icons/material/folder-arrow-left-right-outline.svg,sha256=m_a0bI6C-Xss0IxDcyxmhRyhrjkkTmFwx8VWyAt7UQc,286 +material/templates/.icons/material/folder-arrow-left-right.svg,sha256=dksgRFQU2YcCcM82dGLNPLtO6qnErCssTxt3BTxVooQ,270 +material/templates/.icons/material/folder-arrow-left.svg,sha256=fpP5QQ-U6G_nnv8e8bkF4z75UEK-ENqhaQ274ZAAhqc,230 +material/templates/.icons/material/folder-arrow-right-outline.svg,sha256=BGTq7-crbjh1OSVHqZjm7qQI6aIVq84ObKv7SFaww9Q,244 +material/templates/.icons/material/folder-arrow-right.svg,sha256=pQAu78rqq2Azl3th4MlLvxVz2E5pRuqglnVNjZuaa4Y,228 +material/templates/.icons/material/folder-arrow-up-down-outline.svg,sha256=LSJuY_04noX0l8vtKrz_UORAKHAL44bnOsvcs3X2chg,283 +material/templates/.icons/material/folder-arrow-up-down.svg,sha256=8fVQHXItKNccaZ6HJGc1YgfGR2Xm0_7W44so-5Jp3GU,266 +material/templates/.icons/material/folder-arrow-up-outline.svg,sha256=ntFM-ZN74xUg06CnLAt7D1EBj1q6E8eyN4zJ-Eca58o,245 +material/templates/.icons/material/folder-arrow-up.svg,sha256=KZfqDPaeeUUtsOxKlXgxIaJqwhL93VouW1CRQRU5Lt0,229 +material/templates/.icons/material/folder-cancel-outline.svg,sha256=0eaP9btYbGhbf9lMHF7KIdmGTRrByx6a3aFv2lvGvc4,450 +material/templates/.icons/material/folder-cancel.svg,sha256=01IgyD-rl01PTtPeSjkC7u28JVHetFfJumXSO5-JG1s,441 +material/templates/.icons/material/folder-check-outline.svg,sha256=LlomAf2QJ0V-Hetgo1Ixyybh7n44TcIJCZKMJN9mpHw,283 +material/templates/.icons/material/folder-check.svg,sha256=BTIaJOToox7f5CORDaIejh3Z_GNCXU6A4Y67qInGFZ4,267 +material/templates/.icons/material/folder-clock-outline.svg,sha256=PBweCsJMo0wXwwunGpimbCidOAmBFCooX091yYxjm9o,380 +material/templates/.icons/material/folder-clock.svg,sha256=GzwjzMHKMDxa90VVadWG8aAW3_gzBi0ZQBHG_TzSRzo,311 +material/templates/.icons/material/folder-cog-outline.svg,sha256=jrb0EW2yOdmihHg81r0WBJUT0eWIjd5kuYQdN998Tw8,783 +material/templates/.icons/material/folder-cog.svg,sha256=Fl-lTAJ2vuW6OwQav7RcIT92yW4j_BGkDvraFlolcO8,823 +material/templates/.icons/material/folder-download-outline.svg,sha256=sPWMVX13xz4yJ1WNwCfSOZ-RnvHITVqY0rWQgTJkiBQ,192 +material/templates/.icons/material/folder-download.svg,sha256=5k-SojU7hgz8ozuhrOJsS3zQcVmSWZkDcZTXrwmfk3U,188 +material/templates/.icons/material/folder-edit-outline.svg,sha256=aHwAbOTC-Y1nNJoXEnWDfB447wsxun2K-UYW0J-1h-Q,345 +material/templates/.icons/material/folder-edit.svg,sha256=i4h1fXy5X4HOBzn0ekmmpk3WJB4e-RjBsl1a4j3-Kec,340 +material/templates/.icons/material/folder-eye-outline.svg,sha256=4yJ3G2H1SXB3Yz4FVl_7yjh-xMwYIAbV0iLyMKN0iWs,407 +material/templates/.icons/material/folder-eye.svg,sha256=4wvTov8hps8CrxNlp927rVkNgjWgNi1y03OmY6yrMDY,404 +material/templates/.icons/material/folder-file-outline.svg,sha256=4Ob9xp79kh53-PH3BEkprQUQzmL1-FdSL_oh_6ASCmY,260 +material/templates/.icons/material/folder-file.svg,sha256=E7Qz3k6aE8guznoXAJmQCi3WSiENaV4qx8Oz_fmED60,279 +material/templates/.icons/material/folder-google-drive.svg,sha256=3XoDlG9iVCXrsocp7NQt1X8ohaPxQ9LsEKy1ydINf7s,277 +material/templates/.icons/material/folder-heart-outline.svg,sha256=MGe90AVHqd2uXaZHkQzlBd-D9Ryo8_rORywJSC5DMIw,340 +material/templates/.icons/material/folder-heart.svg,sha256=ISarHTfS_sDo_DMIbIVQXziw76C7CoqbTfiUr6mWwMU,336 +material/templates/.icons/material/folder-hidden.svg,sha256=u-74PbKoXknNwY-GJT41Pyv1R6lgDw6LR3OGRi4RjLk,352 +material/templates/.icons/material/folder-home-outline.svg,sha256=4s3YMskWig3RHojvmmbLwiJhPJKtMEWGnmzMJorjEFY,202 +material/templates/.icons/material/folder-home.svg,sha256=3i2srGH5doNX4_4lL1VfDyDOopo28CUtdDDMfz41aH4,192 +material/templates/.icons/material/folder-image.svg,sha256=lYyxWfJCfvr1QBi9hmpZzJUUvo4_KMaVl-MHFyk8cYU,189 +material/templates/.icons/material/folder-information-outline.svg,sha256=zmgLYdIb1c9ueZZhy_UTY520xpiThruyHKebZBQOGwM,354 +material/templates/.icons/material/folder-information.svg,sha256=KrNH5KbOakL-tYFa8I7LsmHnI8r1jxjbJop1PgT6Om8,286 +material/templates/.icons/material/folder-key-network-outline.svg,sha256=twyxIEccCIQR7V1aaOe1zWfJzT-I0GoEj99qOII5M8E,395 +material/templates/.icons/material/folder-key-network.svg,sha256=M1hWjpYy__EQhd5PZVCz3MJ4VSQ2JS-z3M8kmYxHTkE,379 +material/templates/.icons/material/folder-key-outline.svg,sha256=fTKedvom0WGWvWxq-zxNh_PIyMmiDIj1yOfgdZQDOpg,314 +material/templates/.icons/material/folder-key.svg,sha256=hc0pehl_g8H80niH754hHxx6XxEloJ1HLoid-ViEeMc,294 +material/templates/.icons/material/folder-lock-open-outline.svg,sha256=EAhaErhy1dtKOWXcEzAV4SciP3VE27qkjbnzgRhYj6k,375 +material/templates/.icons/material/folder-lock-open.svg,sha256=7AwBdjLh1L_ZHC-X43Km30316_837HvA0UiSpJ3fJu4,424 +material/templates/.icons/material/folder-lock-outline.svg,sha256=99aLzq5LiqWBvAtAw4Ds5TwUE6Y20yLC1S5PbRl62aM,381 +material/templates/.icons/material/folder-lock.svg,sha256=sCW6NDC7N96bhFWagPkeryhWgyvv6js3LW0nulAW00I,424 +material/templates/.icons/material/folder-marker-outline.svg,sha256=aGOUnhXvrOPxRXvbq6NQavftcKbTiL_qVjBL3qTtyRw,369 +material/templates/.icons/material/folder-marker.svg,sha256=psPy-fZgEEdl2Pk8fLQWZfVEg1BEl0yQeS3BxL7UupA,385 +material/templates/.icons/material/folder-minus-outline.svg,sha256=CfQj3wWA8GfnsUn6bc7rsUn_rv0wF_j7dnL0lCxTjos,234 +material/templates/.icons/material/folder-minus.svg,sha256=36g9zyRrSCSIztngpmN3em__4yIYkVtoPEDwW7PQEu0,218 +material/templates/.icons/material/folder-move-outline.svg,sha256=hzj4J0mdOOoC75kLIVu_cuzRLzhpCskB2fbE2AOm1gY,203 +material/templates/.icons/material/folder-move.svg,sha256=X-L84FL7q_1NoxyNpwVDlANhv6lul0BxBd0JM4TJEvU,184 +material/templates/.icons/material/folder-multiple-image.svg,sha256=bEExrdTDaYn2g59cIM6qpEKnjDgLFk6DSDixX0r1L20,222 +material/templates/.icons/material/folder-multiple-outline.svg,sha256=xzEI_6kc5b7ARd_-IX5P8EXDmuAt4DeYkwd7ryJ79Cg,201 +material/templates/.icons/material/folder-multiple-plus-outline.svg,sha256=xZ1V0_y8gMdsMbJJ8qHhVx6argKzPjwHvdW5hvygNU0,240 +material/templates/.icons/material/folder-multiple-plus.svg,sha256=ZhY9J3OTaG2iISFwElTK0vTCGMT1GcUT7fI0wAaKHzQ,282 +material/templates/.icons/material/folder-multiple.svg,sha256=neoLLqs8r0PkqwVv2VB_Hjwxlk_xt9fum1cwQL1eRxI,191 +material/templates/.icons/material/folder-music-outline.svg,sha256=pX892TguJzaFiuVb-trYJcXNAfgb599SBa7yOs3forw,247 +material/templates/.icons/material/folder-music.svg,sha256=w7P8DYKfmMxHR4F_Vtkqu6iAJQzCcninHWrKkXJtJZA,249 +material/templates/.icons/material/folder-network-outline.svg,sha256=DkQRJ7z4BZ2JO5pbF3ArtCl9ZH8r4nDLsAPJjxq2VvU,270 +material/templates/.icons/material/folder-network.svg,sha256=nzEk_1tiel3qCc2_kpuPWPHU4OyaIhRgzJRWO9vnHdw,239 +material/templates/.icons/material/folder-off-outline.svg,sha256=1sVnpvkEKfbyme5A07zXxP1lBox4h-70e6TpsTzRAXM,271 +material/templates/.icons/material/folder-off.svg,sha256=n1g3NwUCDHzmaADGsR6HxNb0Xc09E4JvE-l-61VdB9g,246 +material/templates/.icons/material/folder-open-outline.svg,sha256=wANu8LTVC5bRvnM9jfIIS1iu6u9eSeVfiO7iadEIxUU,209 +material/templates/.icons/material/folder-open.svg,sha256=8d7zJZo_82s_Op7M_cjUoc6MPaPXIf0sj9mO74Mox0M,195 +material/templates/.icons/material/folder-outline.svg,sha256=m-UcK4nZY-qwDdwqVgCGX_C5sFgej5s00C6Kfql6HJM,174 +material/templates/.icons/material/folder-play-outline.svg,sha256=RcyQC1mCYGbmgy_JgClPZutZiPBoLHB4UgEYMDwNMlg,235 +material/templates/.icons/material/folder-play.svg,sha256=9byOUU34BGYAshtH3c3iY18K5mJ2RAJQ1ws6-Tmnfbk,219 +material/templates/.icons/material/folder-plus-outline.svg,sha256=duWIOmdrM8YIQgUD2pW35hB6gQw173LA6Db6fZfP480,254 +material/templates/.icons/material/folder-plus.svg,sha256=6G86opQz0QBp1U6c92jLuKMbTTv_sSUkwKjbO6KJ9N0,238 +material/templates/.icons/material/folder-pound-outline.svg,sha256=XsS7LoR2fr2BXIO4c7HlcMel8wcEv1D38Emdhbi-IGs,315 +material/templates/.icons/material/folder-pound.svg,sha256=0QMbjqqEbOmdrGV3wiD2TUCrVaa1DOnCnktss__txOU,299 +material/templates/.icons/material/folder-question-outline.svg,sha256=FaeeBbjXdpF8AlPDGQgOdXutc9919jJnJ5EoRrt5QFU,323 +material/templates/.icons/material/folder-question.svg,sha256=-Dys3fPjJ2dJQX_-bd4tSr3AKBdtTuOQbKoW1JQonHs,306 +material/templates/.icons/material/folder-refresh-outline.svg,sha256=12UjLeRSMBT1n1HjFsIwCy2Hp5GU2KL_cEvmhkcfjqc,331 +material/templates/.icons/material/folder-refresh.svg,sha256=Ou9MdTR2zf3FUSC3MhER3QUqvDBJuiOj0RwM9HvtXpk,339 +material/templates/.icons/material/folder-remove-outline.svg,sha256=Ewg4p8RjeNa17OJk_nk1yjv4bqfuUrbMZ7jFwc9niiY,348 +material/templates/.icons/material/folder-remove.svg,sha256=Gg2eSnE8qesZEVG37BmZ0IfN7CX_EDIuMo6y3H2ZO8o,332 +material/templates/.icons/material/folder-search-outline.svg,sha256=IIHs49i79CBUvIGFtC_c2xYvpinij37W7b2sVK7wqX8,430 +material/templates/.icons/material/folder-search.svg,sha256=vjpKiBFuW6-4WOSVltxGlwggihk8D8tH0IgH9bnAHM8,440 +material/templates/.icons/material/folder-settings-outline.svg,sha256=sKyxB-bRJzMIHN6S-3l8VZscstYVfQHERAHdmp5UpVI,216 +material/templates/.icons/material/folder-settings.svg,sha256=qLi_jRxWnvsAM4EC-hqmIyqMZxV-31etR1saWmpn4_Q,203 +material/templates/.icons/material/folder-star-multiple-outline.svg,sha256=OyGWnt7-LkzNSItIBYqN64NpLMl6sehQlNipSiC_FYU,306 +material/templates/.icons/material/folder-star-multiple.svg,sha256=KBDiKR8fKXyWrF_tck57Q7-rScFY0S-zS2W3dsE27EA,297 +material/templates/.icons/material/folder-star-outline.svg,sha256=iddejKGQTa6ea7WL4C3E73Tj47JZ2iYAohyJNN9mXRw,270 +material/templates/.icons/material/folder-star.svg,sha256=JmX8Dq2snYTLVctIEebu_tZ71ekCu6c2k3a0yNrQUlw,254 +material/templates/.icons/material/folder-swap-outline.svg,sha256=UGZR4LIdGidBCKXBTBTaOLvp6NbA_wqUlF0O70Bj6r4,202 +material/templates/.icons/material/folder-swap.svg,sha256=bHzaxWLV43qtLe-TMnPTpZjsgMxF0-DjsGpuPbTCI6w,191 +material/templates/.icons/material/folder-sync-outline.svg,sha256=qwEJWcavUPtchWGScqSQ0oUxf8BAb4xNV_W3Q0nawwk,486 +material/templates/.icons/material/folder-sync.svg,sha256=U0St7Kj6moqSWlzcfj74akw9LMEZZ6MwzTRgB4srhAI,452 +material/templates/.icons/material/folder-table-outline.svg,sha256=NSxVi7nIhUzNNJP79HiVvg035ZbT4KAoyEEqVtLHaWQ,259 +material/templates/.icons/material/folder-table.svg,sha256=XCjTXhXlg8V9wL8I1SAYCoUcf1m8Bmr7eJSYPoq2v0Q,245 +material/templates/.icons/material/folder-text-outline.svg,sha256=eNKA5w9PkwVK-ZYzOBDV_w_dFqPIXxOLQXrGnn8KXeo,199 +material/templates/.icons/material/folder-text.svg,sha256=xbIOb52RuRlQ7gnfMUv3mVcfldFfTxJRfpBHiG8xayo,187 +material/templates/.icons/material/folder-upload-outline.svg,sha256=fBRVurkC8fTczI4zgFA_2yMCYdkM583SGZgmaYUIwwM,196 +material/templates/.icons/material/folder-upload.svg,sha256=B5T6wqfn83gYIWIUY1onmFa5acCWer7mFAUtFIsbrKY,185 +material/templates/.icons/material/folder-wrench-outline.svg,sha256=kNrKKEVy85gop2xJgC2sz4R9tV9t4bZdPyX1JYOK_bA,447 +material/templates/.icons/material/folder-wrench.svg,sha256=97OsXdlGz4DKxBq5pKJCF3J7D4GqF1zl4dhYzSkSbSw,443 +material/templates/.icons/material/folder-zip-outline.svg,sha256=E6_hgyj2IrjIVGPg4OeNBkzytT2CKjo1BNJOKjgWlv0,240 +material/templates/.icons/material/folder-zip.svg,sha256=QZ4IN8m4fk_eSbX6JbURQmRf9xq4gQNIoys_xcxOwAM,216 +material/templates/.icons/material/folder.svg,sha256=HL_3b5tWVlniOxWvyZG5AEmG_D_HbCv5xHIeImQzJbc,162 +material/templates/.icons/material/font-awesome.svg,sha256=dXr3ocEkMc2kF1UZwux7TVAqecMPw2s-CB5F-3fMVlY,589 +material/templates/.icons/material/food-apple-outline.svg,sha256=TkVhnbFdsM7CS2f1xuDkkMnIKAUS9vEGpzbUe6Ciyow,520 +material/templates/.icons/material/food-apple.svg,sha256=pnmhS76lZozcte1h1S_wFu2a6b4paLlRSMXy3UyMllw,196 +material/templates/.icons/material/food-croissant.svg,sha256=PiICpvkDjW8rYnfryVJ8gDZRcULKSOYWeimUO1GmKEI,178 +material/templates/.icons/material/food-drumstick-off-outline.svg,sha256=v9Did5qtQzdvYa_kmlTQwqUdzrjk9xeIHxi3vJBio2E,750 +material/templates/.icons/material/food-drumstick-off.svg,sha256=ozcl45O3dpYfZUbb4i4pRzcxx5roYkvrvPnHYwOiNYU,478 +material/templates/.icons/material/food-drumstick-outline.svg,sha256=hFJmt_oxpmf46l2J_It7PFdoJ474hOyOdC-RazXvavA,808 +material/templates/.icons/material/food-drumstick.svg,sha256=3hmPEh59UYbnOpO8W9dbYmRv3SdBGBojvYCqsh1GtL0,497 +material/templates/.icons/material/food-fork-drink.svg,sha256=ADM1MrDoS-TF5vwr2dooNdDxTsDSjqC0bqpB4Grcjek,471 +material/templates/.icons/material/food-halal.svg,sha256=dHlFwEF0ZPrz-5E0HoC3ZAejBg2q5Y21LSTiPTGnxRc,478 +material/templates/.icons/material/food-hot-dog.svg,sha256=zB78YW5SbMZHSvGHRiCukyV29ULiIhQ81bZoZGiNFkk,583 +material/templates/.icons/material/food-kosher.svg,sha256=qsg3PazbvI5TpGCY5xqUMjX0oEwNggvvfFIkeD_o_2U,361 +material/templates/.icons/material/food-off-outline.svg,sha256=u07FdP3ZY64yNpCozamoUtPtEqnwpYsp8N0XmIK2F3M,332 +material/templates/.icons/material/food-off.svg,sha256=9Xn3EgvHdfZ95xxYIHntvTVyjqOW8udZmFIp5OMOj0M,263 +material/templates/.icons/material/food-outline.svg,sha256=D4rnztRabjrJ6SFBMKPlApZDpw-Sp0OctR0U3vDQgF8,312 +material/templates/.icons/material/food-steak-off.svg,sha256=PkaaBd79qX3pW2-voVaknPADZYS5-zUJL-XWscRkAUI,837 +material/templates/.icons/material/food-steak.svg,sha256=2y-o15p9Kp2pQdU4QoamleB2oLzi2OgIyLYHp36FSls,563 +material/templates/.icons/material/food-takeout-box-outline.svg,sha256=hd_VsWcisB45ekOEDLADzQ_0pqFz1rD0sEdlSB0x4n4,272 +material/templates/.icons/material/food-takeout-box.svg,sha256=KVXsLtg1vEvd-GE25o5NlDrMtX1bLFvZ1F98WexPD1M,188 +material/templates/.icons/material/food-turkey.svg,sha256=cNuAnoFjBJEJjS9GbtVZ3QqNHtiVva98jJSpJm1PIME,1054 +material/templates/.icons/material/food-variant-off.svg,sha256=a60LA2ctpsP7kK1ijjGCCzlMYJ3b_eSVcpMatnvp3uo,381 +material/templates/.icons/material/food-variant.svg,sha256=20oPwP7ULeMyWC2FKlZ7Q0rKWovhS49ynmnHehnfssc,256 +material/templates/.icons/material/food.svg,sha256=7QXMJtcyKjI_dsPtUhfAFtrNu_MOd5N96VWKnEIxkyw,317 +material/templates/.icons/material/foot-print.svg,sha256=5f8Xs26IOxFzUXeKrT1k2lYcLRDGReK0unGhFqQ0SHY,491 +material/templates/.icons/material/football-australian.svg,sha256=SD0G2Hmu65SV9gqkoccnOUKz3kYv-6haSuZe1-xQgU8,489 +material/templates/.icons/material/football-helmet.svg,sha256=w-rMgY8ZoTFHq9bmYmqGrQtCgsOE4uOknXBizWkxZ9o,445 +material/templates/.icons/material/football.svg,sha256=cut6Up5zkOQUFFlkuzE7qOB1VPcYcnHASBqJCcM8Ja4,469 +material/templates/.icons/material/forest-outline.svg,sha256=e5X_iCbvMIG_hAyl_vdPq5E-6c-KtdxyUmL6RzbyJ0A,255 +material/templates/.icons/material/forest.svg,sha256=b_qdkS277W-DDxmom86YvcclA4_VhnvzWkoCCPYMZF0,201 +material/templates/.icons/material/forklift.svg,sha256=4FEQagyv8MqcZIqcQHNiagVPZfULC22ThT9L3m89Kf0,409 +material/templates/.icons/material/form-dropdown.svg,sha256=RCvbxML4FOmuJAea5hzyTr_HZllAAaPmlSzUqaLc8zg,262 +material/templates/.icons/material/form-select.svg,sha256=WtdktUuTbdJ__k7bQOkaXpX45LJaFiu1edRgrD0eopA,228 +material/templates/.icons/material/form-textarea.svg,sha256=L1qQcCUM62ALqEu06MilHDuYgAjB1nvvVibc_hNntuE,276 +material/templates/.icons/material/form-textbox-lock.svg,sha256=XiZ-4klbDX-StOzvlnjM6pvw7VDhLu2sRi8ftnfEWq0,549 +material/templates/.icons/material/form-textbox-password.svg,sha256=m5JqV9iFjDMU6E8B5p6h9yEASI215Ld8TLD9TPTsNEY,471 +material/templates/.icons/material/form-textbox.svg,sha256=Vq17tYGsqZcrGhJpoiLy-OKDEARPD2KXcUbAjK8K0RM,298 +material/templates/.icons/material/format-align-bottom.svg,sha256=rqsIG5GFbmR58pVpnIxMuvh02Ab72K0CvZhoFXfJklo,169 +material/templates/.icons/material/format-align-center.svg,sha256=RVyhSRQ-7w6DZbsB_xdmtSLld8v-9cwNXq8mDR12z4k,149 +material/templates/.icons/material/format-align-justify.svg,sha256=5bQnohtYMVasNarJrZ0Eq1sErF6-Ic4JfDWzN1m3TtI,147 +material/templates/.icons/material/format-align-left.svg,sha256=I258UAuzk3kDEsLPOFi6OadrCnpCermhGo7F0bjn5cY,147 +material/templates/.icons/material/format-align-middle.svg,sha256=RpjCT9veljvpO_rdvu1d1cmlJcdWvDFx6I_7re9oU28,203 +material/templates/.icons/material/format-align-right.svg,sha256=hTOyXgGWSoizJLij33EIiFNKE9sC9JmWZKPU1E3gm8Y,149 +material/templates/.icons/material/format-align-top.svg,sha256=n7xUTFT18cpaOaxKfDqD3TTC7vyFl7beyULWrpcNxqY,171 +material/templates/.icons/material/format-annotation-minus.svg,sha256=MK8f5UxlncCmVajg4D7tqF8TpFrQEsPDyCXRuS_hnwY,165 +material/templates/.icons/material/format-annotation-plus.svg,sha256=phsUkyDpABtswmiFcE1pUTuRIaCe1iLQUMbm0lPJBI4,182 +material/templates/.icons/material/format-bold.svg,sha256=W7CuJevAWZDHqJd9DUx2aI36VgNvU69qKsAwe5bnwcU,311 +material/templates/.icons/material/format-clear.svg,sha256=gDy_-tr1m9Piebp40OcpA_xTuWwx_MYhwvFmIFrxRmA,209 +material/templates/.icons/material/format-color-fill.svg,sha256=7lqo_LlOCQ3iSa3_XCQQ9vGFoeXAcm7LB2VUc_vi_78,321 +material/templates/.icons/material/format-color-highlight.svg,sha256=Uh07UKvREUlH89QH1inEjUIQf4v5AFHelWhHav4yARA,286 +material/templates/.icons/material/format-color-marker-cancel.svg,sha256=KKl5-yZxeImCSGrfktGH_cb0aj-z1BLZaOrVYYHA1wA,504 +material/templates/.icons/material/format-color-text.svg,sha256=aGODSvljB59m4Vtg6pB6IgIe7qTmVCfLayIPW3seD-c,153 +material/templates/.icons/material/format-columns.svg,sha256=PopORG5YW3SWBVNynyggy0pXIKscMrU6eT31PPoghvY,218 +material/templates/.icons/material/format-float-center.svg,sha256=4SU5EjYqYWlrjZMNMqSYOZpbyA8ZC1Xo2fPzosoLX9M,133 +material/templates/.icons/material/format-float-left.svg,sha256=ho6Y_3vG8BKl9fRm7lsZ-oWDb_RJ9eD0aSY9dIZ8ovE,163 +material/templates/.icons/material/format-float-none.svg,sha256=d_KvNdnAR6HVfV53-GxGgqW6XeOGUPmTMHtCB7r9T2E,149 +material/templates/.icons/material/format-float-right.svg,sha256=9q1mdpxWSPVIc48CbZ2ZRrT3C80zS7-Y6L8Yvv7emiM,163 +material/templates/.icons/material/format-font-size-decrease.svg,sha256=kxl4c96DX4IYDI3spCfe2J29_qh93yJPEm1h5bfGU34,216 +material/templates/.icons/material/format-font-size-increase.svg,sha256=F1DfylswPeBQoXD1uijULDvJMs6gm-SgkJNoPuRfZvk,215 +material/templates/.icons/material/format-font.svg,sha256=m0t6-FteeTOL0_dp2BMe8E3SMJLhQHz8Pldpk5nqwnc,214 +material/templates/.icons/material/format-header-1.svg,sha256=7v8AOzbqWz2KBnqdMeJCiJR-BKB88bR13GxMmHm9aVs,157 +material/templates/.icons/material/format-header-2.svg,sha256=mfzNhgbht83qmlJvFhPG4QEEn7BIC8jMIjSm2qREFZI,277 +material/templates/.icons/material/format-header-3.svg,sha256=a2Bq-l84tfeoi5RUjSJ55truTN5u2cTrzPL4ECuOHlM,210 +material/templates/.icons/material/format-header-4.svg,sha256=p2C0pz6CmPFoTLp6NfFvjqcNmytVs5G99jwL02y5xXw,165 +material/templates/.icons/material/format-header-5.svg,sha256=IyLQ0m1tHFfVP7Do5W_uLD_Msi6LokO1yTGNyBHhmtE,240 +material/templates/.icons/material/format-header-6.svg,sha256=1WTTm0DZnOy81jFnWgA44SD3Yqlo7q6BKTxU3Yxo7wo,221 +material/templates/.icons/material/format-header-decrease.svg,sha256=k-weWHXY2jXvCYyQxZvcrlgaeqk-13O2YIAREP4EWQ8,165 +material/templates/.icons/material/format-header-equal.svg,sha256=tND0THpLqIN1cs90uc3SfLUNIl5FZ6QOSCqFTyDngGQ,138 +material/templates/.icons/material/format-header-increase.svg,sha256=eIFwtxtR_Bk-_-NnkovLQju_mg1YBMiq0Fwu0axNAAY,165 +material/templates/.icons/material/format-header-pound.svg,sha256=ANLPmwzd2KN4MsYxc4fZjStRh3aLFbCbekubmmo9uko,254 +material/templates/.icons/material/format-horizontal-align-center.svg,sha256=eoP-9C-BgceU9wfePCYTOoyzmX9MT68fMCs6IwG6nCI,144 +material/templates/.icons/material/format-horizontal-align-left.svg,sha256=Bc43n6d0Nt7UodNpSW4NIMzhFaYfcHQhDhM4VcgRnIQ,122 +material/templates/.icons/material/format-horizontal-align-right.svg,sha256=3XAxzgyH3vk-lMuV2aafXO_n8HnU572ML4pjG9SSYZQ,118 +material/templates/.icons/material/format-indent-decrease.svg,sha256=HLRzp0lWgRArruX16UDAs0aGjfEA4k5ycZjguzjZATc,155 +material/templates/.icons/material/format-indent-increase.svg,sha256=1v6XkAuNp-SBFarCZ6Ut3JoayaTz-xYRdTDP4jeZofc,157 +material/templates/.icons/material/format-italic.svg,sha256=uA3zydMqhLDhSfBw5_J1x2GOyqiFSlYhBEoIiQzCMys,129 +material/templates/.icons/material/format-letter-case-lower.svg,sha256=FlmY0pCWiDkztEy75IV-2TladEdn92gK8B7ppoizRwk,714 +material/templates/.icons/material/format-letter-case-upper.svg,sha256=jfFIimuxIVnx5L4ljHWWGZpvgNcaBJ5GY4JE-OIXgMA,710 +material/templates/.icons/material/format-letter-case.svg,sha256=KOjJVd1adXDGuNa5zoL39rdr7TgropISJthiCngtX6k,695 +material/templates/.icons/material/format-letter-ends-with.svg,sha256=0ysdw7dodNbkrwOPZNgYt7DJjU8nEudhgKKQwH-f1-s,177 +material/templates/.icons/material/format-letter-matches.svg,sha256=cPMkyFdRS7McqK0_stToXj6DNTWKQV4eyHfNRKzEzG8,182 +material/templates/.icons/material/format-letter-spacing-variant.svg,sha256=ntvI1BNWV-z-tC1R87NAvtmQJCMWV9vn3j4kz-rPDeA,179 +material/templates/.icons/material/format-letter-spacing.svg,sha256=ddcYDMZsvR0_ij1Da3uy7_CMWbCtx88tlLfLBswtMDY,237 +material/templates/.icons/material/format-letter-starts-with.svg,sha256=JLKYMQdwicUkQhxy7DUclF9_mOy7hoFZoKu76i49Ymg,177 +material/templates/.icons/material/format-line-height.svg,sha256=2uzYpz6yrefcqKC0eP5e_1vem9Kbl5TlxGAkkjIMEx0,182 +material/templates/.icons/material/format-line-spacing.svg,sha256=Fb8o_en7Ip3Ud2ihtsF-M9bS3dEy15jE912SxiE1cTA,167 +material/templates/.icons/material/format-line-style.svg,sha256=GlPWUaS83AogRRq32JJNWlDCeFuouOevkso3bI4u4VI,236 +material/templates/.icons/material/format-line-weight.svg,sha256=kPITUCRq1ayVMhf1ETpmxyYud8iyEmthKnOHiOvNiNg,135 +material/templates/.icons/material/format-list-bulleted-square.svg,sha256=KENnrf643Cskaq3qtdAI5j0N8WSKFk9coOCJz_CRLe8,159 +material/templates/.icons/material/format-list-bulleted-triangle.svg,sha256=6SVvZYfe_YF23Uu6UlQ12MKv_Al4LCOHp_c151I7byo,189 +material/templates/.icons/material/format-list-bulleted-type.svg,sha256=eBP9SzzQcPL37Lv7QZ9Q_TFIg3weZq9OX8AJLOY9O_c,216 +material/templates/.icons/material/format-list-bulleted.svg,sha256=sRvmT0_KORWyFNOFTwsk2NXosbPY-jEQAuZ_4SHTS64,386 +material/templates/.icons/material/format-list-checkbox.svg,sha256=WcxLuX4wLGkelYDZRHwO230ltzz78mANbYukRKjl9kU,368 +material/templates/.icons/material/format-list-checks.svg,sha256=z2WmY9xiMc76FWsXo0XKB4WpQZcLE4ERlZlUZ8iGObI,184 +material/templates/.icons/material/format-list-group-plus.svg,sha256=SalelK_Xn7VT6Q269V5HYWcwJbdhh9JlGYjprJIsJBM,234 +material/templates/.icons/material/format-list-group.svg,sha256=FJ11yEa0KqQNsnL37CWWuQoRIMEGNyUJSjuiZWvXiAk,142 +material/templates/.icons/material/format-list-numbered-rtl.svg,sha256=KXnPHGljcaL5TL_FX-wBeW4ZyWHgyH2IRb7zV1eM7uU,248 +material/templates/.icons/material/format-list-numbered.svg,sha256=0D0e09WYQ1ihoRmVE7FdH1mCEJaTNArm2B04pbgk0zI,252 +material/templates/.icons/material/format-list-text.svg,sha256=44wb5En06GS8oHYRT1ORsNj1GL6frMAuGgSwg_Wy3rc,150 +material/templates/.icons/material/format-overline.svg,sha256=czZLTfcpVu3VBZ84B3F6IwdnlNMLf0XL-89uHYgHyw0,166 +material/templates/.icons/material/format-page-break.svg,sha256=X4z3tq7v9lOrFONav43KasjI1LFo8gIm-H0XJBOH8fM,235 +material/templates/.icons/material/format-page-split.svg,sha256=myx0uZhnMCx__od2QdDEUd38vgoUjeCdpSy42F1RUMo,236 +material/templates/.icons/material/format-paint.svg,sha256=XMmhpEfsmJtxhA9hhJgapFBvVtABPUs4I4OKmTzJ77g,200 +material/templates/.icons/material/format-paragraph-spacing.svg,sha256=jLl0cxGT67IhvSGcARPXMG-Zj8AM6GbqeUEaGEBzrWE,157 +material/templates/.icons/material/format-paragraph.svg,sha256=SW7x7aD5vwkPkDuvqdIxgx0vRA1bLKQIqW23Pd-uz-Y,162 +material/templates/.icons/material/format-pilcrow-arrow-left.svg,sha256=lJLnpaUqYPdDHAx-Mhr3YmBaVfo-rrTbrkznGKZqHA8,161 +material/templates/.icons/material/format-pilcrow-arrow-right.svg,sha256=8LAbcYo4SdwDYiARmR9dCSSDDjeG7UyzMtogrVBMahM,154 +material/templates/.icons/material/format-pilcrow.svg,sha256=XOWSQGyCh_Qz0yXQTNBoX3PwQXvvj0ls24lxl3r2XK4,140 +material/templates/.icons/material/format-quote-close-outline.svg,sha256=j03Zd1ONN-aXBazgavMuqXM3cNqqp5Orf9pZPyL1JX4,208 +material/templates/.icons/material/format-quote-close.svg,sha256=Dzyln0iD9BOtbseocgzOWCqzBr2peLqgqJMa_3vISQQ,124 +material/templates/.icons/material/format-quote-open-outline.svg,sha256=Gu4gPcfJq6hLM41zA1cH-IHM4IPIbq4sgA7TsQroBUM,214 +material/templates/.icons/material/format-quote-open.svg,sha256=Wo5AtrMoeHr23CFNm9uEEc-oqHbC94foLZwDSTjIpyM,127 +material/templates/.icons/material/format-rotate-90.svg,sha256=HgOszJ30DUVQlSoKn7Yiz8_94hQoeyFX3qnqYia_6mA,388 +material/templates/.icons/material/format-section.svg,sha256=rYEjZqDF5iBtRyegiWWyapIrZwkbYZXtPj0daPD-YgE,653 +material/templates/.icons/material/format-size.svg,sha256=hDbXYR_bKWVBFEgC7gWStGnbvkwonbOVD3CK_6Fefy4,123 +material/templates/.icons/material/format-strikethrough-variant.svg,sha256=C1gP-pzct5Uc8viZUluEPrPQy7bUoqZ41BxkiQ6QnDU,383 +material/templates/.icons/material/format-strikethrough.svg,sha256=iUYeDHmddRBBFmkdobNQAFfyVp8ON4eoibWRviXFjyY,126 +material/templates/.icons/material/format-subscript.svg,sha256=8_YhKiIK9OD4iWI75mXPWvFtDWaALbSVl34y8y_26DY,498 +material/templates/.icons/material/format-superscript.svg,sha256=3EysG1iG4J7Bl1m9elrTazXXRoB1up-1Vf7yYenAtOw,490 +material/templates/.icons/material/format-text-rotation-angle-down.svg,sha256=hDnA72bdh9kul1fzOX2HhaFlufr4zg-sA7GjUGfxOSo,244 +material/templates/.icons/material/format-text-rotation-angle-up.svg,sha256=Sodz-4Sycvad0Tfilk9nuFFYjznuPVFe1NF4r_FGf4Q,245 +material/templates/.icons/material/format-text-rotation-down-vertical.svg,sha256=GDc-5ujLpXsv8QaXuSXB9GQdFLEZx5e_dlaJxfrDLkY,212 +material/templates/.icons/material/format-text-rotation-down.svg,sha256=8bafCe65rTdRxCCBPExkta-jEfgykmDiwYs8bWqLdr8,203 +material/templates/.icons/material/format-text-rotation-none.svg,sha256=RRGNV3ibHRPVyWKySYd1eG-3d6gudfmi-GT91dBL50Q,200 +material/templates/.icons/material/format-text-rotation-up.svg,sha256=pscM1UnwsuiF8OmvmYMIrCYYjdadMqhm_Mu7wB7Alow,188 +material/templates/.icons/material/format-text-rotation-vertical.svg,sha256=VhC7xq0MkhHeJKJrz4NpSLCjP3WqIrLD1Mr3qntgs9k,189 +material/templates/.icons/material/format-text-variant-outline.svg,sha256=a5z149mgzXbe_9RCuEuVWlSCJCHnLFu-5VcYNi7gCjQ,344 +material/templates/.icons/material/format-text-variant.svg,sha256=D1cpYu5a7kswmVN-MrxRHs7oLCfrpopSmcvP7nZcPlU,144 +material/templates/.icons/material/format-text-wrapping-clip.svg,sha256=oORUqTuN4CWncXeLqYZXPfRwMHgCouiEVdIv_g6OMlU,115 +material/templates/.icons/material/format-text-wrapping-overflow.svg,sha256=sM8aZkRrMZNU2tC1UyDoGWctu32Y2OKD7RIZa-Bec9o,144 +material/templates/.icons/material/format-text-wrapping-wrap.svg,sha256=RZdREuB0i8g1CvD0fmOL6mm_kWlvGdlA0J_pCd_DmDk,203 +material/templates/.icons/material/format-text.svg,sha256=p3ZvivjGJPPmS1kJyk3f2IOQk_9FTP_RGqFKuWAAIoA,323 +material/templates/.icons/material/format-textbox.svg,sha256=wvW83GvMX19blJxIRsHwsNbaKah_Aq_Xzf_heJCpil0,242 +material/templates/.icons/material/format-title.svg,sha256=oopJMNEIOhVA1Ix1B2NZqC-gdXtdBPQ_h78JS3hbtJY,103 +material/templates/.icons/material/format-underline-wavy.svg,sha256=dat_jSK-L7ZTfsZGsCwI5sB0t3hZR0rrzRHkDo6aR5g,462 +material/templates/.icons/material/format-underline.svg,sha256=pqYMNZgh87SsPLhqkqqkABQArooZgJTd5vkD4sB00jk,184 +material/templates/.icons/material/format-vertical-align-bottom.svg,sha256=YXiM6djq5pvv9NZZsOxgalxJHSoSiqdKrE0dNPDpWLI,121 +material/templates/.icons/material/format-vertical-align-center.svg,sha256=FwQsBkQexnDcJAAyvDKvsN2HzjWFx0oDgxs8T3peAPQ,144 +material/templates/.icons/material/format-vertical-align-top.svg,sha256=-0RrsxOVcYjU6FPyh7l8UhVDeo3Fd0xqYLT_apEUtlk,118 +material/templates/.icons/material/format-wrap-inline.svg,sha256=eo9xVlCfKnHQb2piXaSe6DmU6fV6pm9_jFN0r3LDGMY,138 +material/templates/.icons/material/format-wrap-square.svg,sha256=EjkK8PsRegIPydwtZX_6LEY2expSURyXu2cw60DY8J4,208 +material/templates/.icons/material/format-wrap-tight.svg,sha256=AbOfca26zQwvC7gpxBWomZOWkGBo8mOu56dfhb4IREA,208 +material/templates/.icons/material/format-wrap-top-bottom.svg,sha256=jI7VeY2FV3I_JbCG5yhwl0g02mIDk_3PrGBNv4dhuWE,124 +material/templates/.icons/material/forum-minus-outline.svg,sha256=wDKksKhraQTLLTuS2sb6gppSU1xFm5i5d5dnXvaZrbE,271 +material/templates/.icons/material/forum-minus.svg,sha256=mL46IPi3GSU94imKKtldPAIDAJNoIARMns-D8MX14kE,249 +material/templates/.icons/material/forum-outline.svg,sha256=2npX7vWbDkOHPDHXSFrbU7vk8N2TzKY0aWmmw4NA_bk,214 +material/templates/.icons/material/forum-plus-outline.svg,sha256=OaaQXWyU0DCJsXKqbhE1zVVolh2-T2o5lvm29V8gM38,291 +material/templates/.icons/material/forum-plus.svg,sha256=87Tg1fQmJjwaliMl9U0HVMWxOMhHeBkiaaZtUZEy7EQ,269 +material/templates/.icons/material/forum-remove-outline.svg,sha256=BM32khnT7J2SyZ29LMu9bDdy1qxUPxa_X3qvhCoSoLw,385 +material/templates/.icons/material/forum-remove.svg,sha256=kUXO9hNXhkmkn5eO5-naUaOm3v08hdVCxAY_dwZKB0s,363 +material/templates/.icons/material/forum.svg,sha256=hy6cLuBfs5DNXOixmQMrMsVMfUDO0EnFW36Gyo4FonU,191 +material/templates/.icons/material/forward.svg,sha256=mm8N1a19U12AJx5-XswT_9ai_Q8Cb4K5XvVryibbnp8,103 +material/templates/.icons/material/forwardburger.svg,sha256=Iiiz9F4zF7hULTe0gfjzL_mguQG2DT-RCWb1Bl3knLw,161 +material/templates/.icons/material/fountain-pen-tip.svg,sha256=Q82aOQoryw6Mmz_H68h-DTHldGDpIqJSfGTyoRnJdcQ,296 +material/templates/.icons/material/fountain-pen.svg,sha256=EbEsEko8jKJxLF_w9Bc1FIXwUYKs0A84k6LPhzoYw8I,307 +material/templates/.icons/material/fountain.svg,sha256=cLyhjL7H6FfrqcRGqNVTb89cOETfcFL_aivpVPzXk2g,638 +material/templates/.icons/material/fraction-one-half.svg,sha256=CGTOHeChzdjd6U4QbDTadSlC_qsOiSdAuuAu4igAqxU,221 +material/templates/.icons/material/freebsd.svg,sha256=cmOS6Qo1nuQY1JRbRbY3GFu0_TnjRNqyANbQVZ2HHqg,578 +material/templates/.icons/material/french-fries.svg,sha256=U6XRGYWnmD8a4oZIRa8YNBt6mwgzduwHx8IpIT20H2A,338 +material/templates/.icons/material/frequently-asked-questions.svg,sha256=r49_z7C-iRE493lQJnaAOqVCruijHd03WulnL7SKAd0,592 +material/templates/.icons/material/fridge-alert-outline.svg,sha256=xwUPMzaDCeRf3Wqfk6aNEARVxqBiwjlkhhOh67gOyiw,249 +material/templates/.icons/material/fridge-alert.svg,sha256=xnJf60L80018EUIidjIOuT9QtX67CoGU2Y-2WCDGXtY,235 +material/templates/.icons/material/fridge-bottom.svg,sha256=kSrBJ16EbTbHS5XA4FQ3uXIC78L2CDJBk6rOyrNcUsQ,202 +material/templates/.icons/material/fridge-industrial-alert-outline.svg,sha256=KRcr_6fEy_CIeyBIr9Hmn-i51hscQ1Kxd31xmSoaJ5s,226 +material/templates/.icons/material/fridge-industrial-alert.svg,sha256=0_vMOolDYKdPKy6PdNvph_kKuJdW7kQpM16OsI-F860,211 +material/templates/.icons/material/fridge-industrial-off-outline.svg,sha256=gI77nMuAnapD71YZ6ch6h607WeHUBudfWDSizV1YSG0,309 +material/templates/.icons/material/fridge-industrial-off.svg,sha256=7q1jD4OtHHT3UbwnbXCXWZsfwU2KOlFHttGTd1-s0Ec,283 +material/templates/.icons/material/fridge-industrial-outline.svg,sha256=4iPmYierA2culVyWD-B4qSKzUUFdmAcG-4c_3lYrl3E,197 +material/templates/.icons/material/fridge-industrial.svg,sha256=HImARV1lHIJhETy3WWwQlwKFeIpv2h-fZOP-YDMY1Y4,183 +material/templates/.icons/material/fridge-off-outline.svg,sha256=7cIyrdUR3lsC-rSJzoAg069fqr1ZCXjXk2me4m3ZY1E,316 +material/templates/.icons/material/fridge-off.svg,sha256=G_g2E8H4s8RpT3fCkxrQR4bIeCbhojqorUR44VQxwJ4,309 +material/templates/.icons/material/fridge-outline.svg,sha256=2ClwaGScfSMXUIK0g3fEQplHEoAB4v8LRmikxn0iNBU,218 +material/templates/.icons/material/fridge-top.svg,sha256=NYwfUon7C2EChFg0oD58Ie9rUvPMVIwg_Aj9_3MYk1s,202 +material/templates/.icons/material/fridge-variant-alert-outline.svg,sha256=cz5inPHvI4hU-hLIHJI0KI6Adn8A2qSKNp8mzdU-shQ,233 +material/templates/.icons/material/fridge-variant-alert.svg,sha256=b1iyMk6jRY_dbyTMPeaUnC8V9HkJq64mdsjdXMJ9EP0,228 +material/templates/.icons/material/fridge-variant-off-outline.svg,sha256=XrBSIyMXxodKjpP3FGOnQ12qu29VlCPQbhS0_yoPD3U,343 +material/templates/.icons/material/fridge-variant-off.svg,sha256=qGCw1sJxbnf0uXYXAW-41PWyQdBRlJSkkaNbqwbM3Gw,318 +material/templates/.icons/material/fridge-variant-outline.svg,sha256=N5vtNx2gq4WiWGdJ5_to8ZzIBgAyL9Hgv8OndA2IGuU,207 +material/templates/.icons/material/fridge-variant.svg,sha256=4R_I75pIwrEVuq84TUoewGagl_BZm43Xq9-uOpBloDk,199 +material/templates/.icons/material/fridge.svg,sha256=YIkW4Ws6y8Dxjd2hx_NyxMVo_IShX5_E-Gt9ZdVs0Ac,204 +material/templates/.icons/material/fruit-cherries-off.svg,sha256=7hnwIOUx871DFjxnMzipxah6Nt2agef1zqjDHLQul78,655 +material/templates/.icons/material/fruit-cherries.svg,sha256=Lh6jo5YzAfh8L0A9Iqoiv74W5EggscOugUnIabaBynI,532 +material/templates/.icons/material/fruit-citrus-off.svg,sha256=wLShRWIHqPS6MBQE8vYkV7VWBkhxi4GkrgLVD-fmvGs,724 +material/templates/.icons/material/fruit-citrus.svg,sha256=_CA484kwVOAH031zXJnHSecpDtUX0Q2EhnrX0MmS4lA,628 +material/templates/.icons/material/fruit-grapes-outline.svg,sha256=6owo88KvoT6czGh3ZWiX6PqwDhch5GsDRqN11z1Aw34,1115 +material/templates/.icons/material/fruit-grapes.svg,sha256=9axmUDr7DwIvzVmmMfmu9mnODo0sAHrWWG0lRgGy6lA,527 +material/templates/.icons/material/fruit-pear.svg,sha256=ZD0CWyNnMoQbpiP9MW1lXqxzwrtwZ2BGmrsH1wlxFuQ,323 +material/templates/.icons/material/fruit-pineapple.svg,sha256=i0IOzS7-mujeHh-anK9XaH8GPGfOHLL_FT4XpGeGMe8,668 +material/templates/.icons/material/fruit-watermelon.svg,sha256=MgizFG5_0VQLFmmpoPLPyfKCi3JR5nBH9Amerys2S9A,492 +material/templates/.icons/material/fuel-cell.svg,sha256=OpAfWl6m-gHQmMReNU4115-_ir0FY3hpNxXBBDRIzYA,306 +material/templates/.icons/material/fuel.svg,sha256=6qhu9wQW98FbngL_PNnHCsN8mlLer5soo1aBjWhyNaY,377 +material/templates/.icons/material/fullscreen-exit.svg,sha256=1Pa4CjIzm7or3SMnsieGKJ19b4xqqMPJDcM7Xtd37Gg,153 +material/templates/.icons/material/fullscreen.svg,sha256=nTkOGhLWnkxAzhVTcVhAkjF2_nqoA0dSHraMEcHm6Do,150 +material/templates/.icons/material/function-variant.svg,sha256=_J8rROravnKN5ECUdnAT9NBKXQ4yTEOFxUSqzsAGBGw,470 +material/templates/.icons/material/function.svg,sha256=KPezYcr38ICsAFNrxW1dHVK_gcIGVTk-OPtTwB-WsUY,370 +material/templates/.icons/material/furigana-horizontal.svg,sha256=DuJgfVgkcZn1O7ari4pAn5xZBMbZs9k56TTlctV7rU8,397 +material/templates/.icons/material/furigana-vertical.svg,sha256=MLivGdMCEUeli8ngD7f6fPpix5sC5r15TLx04EEwBz4,398 +material/templates/.icons/material/fuse-alert.svg,sha256=gHe3vJcO00dgDz4BYVFt-yRj19Vb2SWG2LeWg5Rc508,253 +material/templates/.icons/material/fuse-blade.svg,sha256=Mkq5t-DFP57SA6EtVOWiecTz1PhyUlak6y8j-B3IAsE,235 +material/templates/.icons/material/fuse-off.svg,sha256=9Dw_uuFHYGIX72PZ9eJgX4R1gV3KuyVqxt0wKpbmpHc,263 +material/templates/.icons/material/fuse.svg,sha256=QIpuDvMUVbPnzdBSU43fOSH-kjgC3stN4XQIj9sUvCA,220 +material/templates/.icons/material/gamepad-circle-down.svg,sha256=aeMuqjgfYl-FFs7iTCCCdNRzf2XXbsRB5X4BIFgMQc0,503 +material/templates/.icons/material/gamepad-circle-left.svg,sha256=7e5uCPyhQBZGCt2rZChZlim1Tcue_765hKfZdMR5gfw,502 +material/templates/.icons/material/gamepad-circle-outline.svg,sha256=bk8LF8H0v7UiZT8t8GNwtT0dLUR-oW2KD5d92uF_6FE,560 +material/templates/.icons/material/gamepad-circle-right.svg,sha256=H1hj8S2y9lWX8joJiCRqzi_UbAQwx_PB79_HN0wogVU,502 +material/templates/.icons/material/gamepad-circle-up.svg,sha256=vbgZyw3uRQQXAFGZ6vU8GVuLfaRzHhEeZgkyyQHOqiw,503 +material/templates/.icons/material/gamepad-circle.svg,sha256=6ls_bPxU6_BvHcGzw6OjAbgM9c-FgaXallxYiGEL7NQ,320 +material/templates/.icons/material/gamepad-down.svg,sha256=mGLlKqG0u7nXWyrND86HxdxLgNaTRa26vFayOIhaSw0,188 +material/templates/.icons/material/gamepad-left.svg,sha256=iByFULwPZLKQnvGaHazxbY6qLup3KChpU07yA6eWVjc,183 +material/templates/.icons/material/gamepad-outline.svg,sha256=av7YiGDrrcf6aIKA79CnDH5_OSlR_E2W6HCa01zcOQU,234 +material/templates/.icons/material/gamepad-right.svg,sha256=b8gXqcoyjbQJdPZcYCTVIj9-KO9HtBOoSAShAxvHXB0,186 +material/templates/.icons/material/gamepad-round-down.svg,sha256=4iDLeZeNr0fYPpLcbjz3SCf9MCxOOZzZYCZq9J9oxbU,237 +material/templates/.icons/material/gamepad-round-left.svg,sha256=KqAEEJYKDE8lzSBk1NQd88ZlNP55YS-NkFHtiruygLM,236 +material/templates/.icons/material/gamepad-round-outline.svg,sha256=Lu-LjWyDooYgPiNG_hLBK6rGJMTGD-1w_1ma2auypzY,255 +material/templates/.icons/material/gamepad-round-right.svg,sha256=dZvqa246IRxeud9UWZze5lKZfxwNFQPk7v7M_F2gBnI,238 +material/templates/.icons/material/gamepad-round-up.svg,sha256=yubpKHEfYC1p9Tca4jCoOJkl1Q83K1xOkJjDfm8xSfY,236 +material/templates/.icons/material/gamepad-round.svg,sha256=6uezO_a0E0KTmHaPB-3tnt5j1TE2FbZlyEpfcsUkwgk,223 +material/templates/.icons/material/gamepad-square-outline.svg,sha256=um_PMF4gDKanxUr1kqxMdmrtmvsPxmQJ9NbicLaaPZA,375 +material/templates/.icons/material/gamepad-square.svg,sha256=k1bCftTyG3qip1LKMuX08x8iuf3ABRV8Afo2gQQQC64,364 +material/templates/.icons/material/gamepad-up.svg,sha256=-pOBjyk2dytEygCd-SrTKZjizt68ivnOkATWRE4iGVM,185 +material/templates/.icons/material/gamepad-variant-outline.svg,sha256=64yLggkyS4MmzUQ3q02jBBllycDHa_jRcjvtoPA7p_s,507 +material/templates/.icons/material/gamepad-variant.svg,sha256=dcV8idstoQCp5xAYG5IZVzot7u6kXbtx-NcGseo-8Mk,411 +material/templates/.icons/material/gamepad.svg,sha256=gqLyWEwv6P-oSlFtX0Eg7yHnFNPtwUpaDCcVUXRMdQI,162 +material/templates/.icons/material/gamma.svg,sha256=lmgtXa6ENAC52uqcelMfSNm_8FGbexOGuRIjUpSV69k,336 +material/templates/.icons/material/gantry-crane.svg,sha256=fvojKJw0yfcnESHLVrJ1ZO32TRDhv9GIwbBpnKoQlDQ,691 +material/templates/.icons/material/garage-alert-variant.svg,sha256=skn4G5P8IXc36veGDOTYJwju3uRPqnB6dkPnBPtSMdE,168 +material/templates/.icons/material/garage-alert.svg,sha256=L0CsQPMtHwVU3imhO5kTTQcXavvrE_H57Mfx134HAFM,166 +material/templates/.icons/material/garage-lock.svg,sha256=flMwrgHdgoZ_TMp-dh3vWEnzo46quzC_9paxwplVpa4,391 +material/templates/.icons/material/garage-open-variant.svg,sha256=rp_cypWM4O7jKPzFFFwOI7gMxNZTijzCzzhQ--1r0Ls,126 +material/templates/.icons/material/garage-open.svg,sha256=85S_Qz5GUSEuK-LIu8XraD219RQmT9ERAMn3T6d2mHU,124 +material/templates/.icons/material/garage-variant-lock.svg,sha256=ecpCPi_JeOpAL_tQNiZ71CIifLqCSA5S78hM8VO3rpw,446 +material/templates/.icons/material/garage-variant.svg,sha256=xNCXLNbCXq0PonRE95ygUBF8iD-PhFAZD-tQ2cAEYRw,154 +material/templates/.icons/material/garage.svg,sha256=JUDHVEA4KF5v-WwH1KFCO9Nmwt-oy53mg1xVtaNjo5c,150 +material/templates/.icons/material/gas-burner.svg,sha256=M16R3sMC7jJexedMHGjgUeinn6eqpbwaXslLnwteuxY,816 +material/templates/.icons/material/gas-cylinder.svg,sha256=ZbYxosTvxrUnffuDom2THpn1Shdd9xcbITC_Kd1Y9vQ,184 +material/templates/.icons/material/gas-station-in-use-outline.svg,sha256=jNWeArd2yaoZX_1VzCDB4p-lTpWjTWs42zLddLoeed4,415 +material/templates/.icons/material/gas-station-in-use.svg,sha256=a8b_AuLx5fYaT4FmDxCNCMjxqdlCxsFvNTt9AAErERc,682 +material/templates/.icons/material/gas-station-off-outline.svg,sha256=mahjEm2S_c6mW4eoyADtVDML7SRb09Cj_t51iHgPaJk,526 +material/templates/.icons/material/gas-station-off.svg,sha256=6wrtvAXMBuPBRVV-yLgv5JG-Kzshr3OSI9NEAJruHxA,493 +material/templates/.icons/material/gas-station-outline.svg,sha256=2bMnBydj4IlfGRioWDziOI22uK2oMtYtayxxp0ZybjQ,461 +material/templates/.icons/material/gas-station.svg,sha256=dY0Q8BflfFx8izLTyFTzT4myl5zXMWqnoNxpkZHL7AE,438 +material/templates/.icons/material/gate-alert.svg,sha256=UHS_xlIMaqsvSJCE1lFzpHFRdIK8A03-QxsE7xVjZF8,238 +material/templates/.icons/material/gate-and.svg,sha256=GZ7AQMYYEvcCtShVUPoRb3Fv68RENqWTE3a0kEFsbGY,158 +material/templates/.icons/material/gate-arrow-left.svg,sha256=PqTIUsJjUR6ANNDpi8Ic1MdiZymHnMOZs2tVilJWqyo,281 +material/templates/.icons/material/gate-arrow-right.svg,sha256=JJbut_dKDKKG5z8nbAoT0r8n3C0x8hjGS0QUpHmlZnI,289 +material/templates/.icons/material/gate-buffer.svg,sha256=fbDgRlEHvETZCH7pQv6UinkKV-xu27bKKIdcraxsvpk,124 +material/templates/.icons/material/gate-nand.svg,sha256=-y8Jvvzos2Bd1WMEfJKeFurc0MY3lYmBtfcO4KfaCQc,292 +material/templates/.icons/material/gate-nor.svg,sha256=OY0ion76y2y-1bC86ElPCbxTYXswOy-uvBtb2c8rcH8,327 +material/templates/.icons/material/gate-not.svg,sha256=Gig4es0AOu5FsEG2DS5UzazBBBQqGSXdH_mnNXIzLx4,251 +material/templates/.icons/material/gate-open.svg,sha256=g4GLT41lOsAWdQg7ioNY-boStYRZOqy3hY6sz3gvrGw,172 +material/templates/.icons/material/gate-or.svg,sha256=TYQJYp898eR6SNEQcqYbYnNjq2zZMlFv6amrHsqJPyE,193 +material/templates/.icons/material/gate-xnor.svg,sha256=G1j6Y1dkcyPp8Bd8n5SAQiTuq13Ld25k-RLTrt6uHj8,353 +material/templates/.icons/material/gate-xor.svg,sha256=mID_1p_knpAiOATqzA5eHBKI5Rpo9LcG8jof_VT-1CM,225 +material/templates/.icons/material/gate.svg,sha256=4oRrThty-uyMgC7fcgW77RF4yg3fm6s2ClcV4Bqob20,252 +material/templates/.icons/material/gatsby.svg,sha256=tcdNdsCFlqScb7StAw1TCRPcE0jNlETaqL9peCf0Kck,382 +material/templates/.icons/material/gauge-empty.svg,sha256=UfrHNkW5MBRS6TwfKvEda2bHud9qws0z1lYOact0qNw,659 +material/templates/.icons/material/gauge-full.svg,sha256=pASCEHw33wlXxwjSPoy2q0cse4Q0vrQeILK8tevb08c,655 +material/templates/.icons/material/gauge-low.svg,sha256=Y_IM6cCR75AQ5_9GJFwmbRmp2vMxPCRvk0tyVtnhRH4,650 +material/templates/.icons/material/gauge.svg,sha256=qZSUYfn217hVagEj-5vEr0zRlORvWtHN31JLfMDT86k,655 +material/templates/.icons/material/gavel.svg,sha256=vT_tVzAHn2yh1hPVA0Uq2VeOE0_jZ9Pk0UKm9ZMw7KI,537 +material/templates/.icons/material/gender-female.svg,sha256=pCLA73025IZg2IHsNXX62pmwYy6T6AObOc9hqdOuz6U,251 +material/templates/.icons/material/gender-male-female-variant.svg,sha256=Guxotu8X1zHx-7BmKj89IN3cHGDABXxircegcyl77lM,291 +material/templates/.icons/material/gender-male-female.svg,sha256=p411QPeapj85ofagwfF5dTy6lc8wRJkkRAo04ubeV8I,280 +material/templates/.icons/material/gender-male.svg,sha256=_UfXNuDBxYlReQFzE2BPKD86hI_N9D40naY0RApKjYM,268 +material/templates/.icons/material/gender-non-binary.svg,sha256=dEeyRp7oIo02HCsWdFVtbzfX1jOGXDuXWTo_YFBYSwE,271 +material/templates/.icons/material/gender-transgender.svg,sha256=sdbX11YOx-qFpeiK8dG8ZHGpU1hy3uWsUcDDKfsB_6A,395 +material/templates/.icons/material/generator-mobile.svg,sha256=I4cCJpamWWLeZV7Y3wB3LtcxSA69_mYwqGwMvDLoTzI,376 +material/templates/.icons/material/generator-portable.svg,sha256=NkV0Orh6Xf9Nn3CfvZCXqFzj1CM68h7STziK2-arNYY,304 +material/templates/.icons/material/generator-stationary.svg,sha256=cKWCnuZTFVosWKEwAfzqoGz02x9uNKmvvTXvX8a_0Kg,264 +material/templates/.icons/material/gentoo.svg,sha256=RDhQRugxBKRfBG9SkpAPc8IZv3UJE7w1ERHzrTv7c7A,698 +material/templates/.icons/material/gesture-double-tap.svg,sha256=LQzGr-5RBLFOlFbdmonlX_5MA7idUGgsgv5JiNexdt4,583 +material/templates/.icons/material/gesture-pinch.svg,sha256=Ai6NabiR7wSpBWCd3Q8xXra8_flBT07CaHRIiyYdHtY,604 +material/templates/.icons/material/gesture-spread.svg,sha256=6SWC8wKmEFq507IGbbjQKLh_sS0SL7RuRjBCkxACns0,605 +material/templates/.icons/material/gesture-swipe-down.svg,sha256=RKqwXjbFJi4mx9Y3aa8J52tdfjNXeThRQqHK4vGzz9U,282 +material/templates/.icons/material/gesture-swipe-horizontal.svg,sha256=GHKWy3tbq0rc0aD3Vq1WmeGUE2rSGmgp2RRiflI0PV0,295 +material/templates/.icons/material/gesture-swipe-left.svg,sha256=catkYLZ_b1-G3e8wsPkE8vNzT9dfz4rDU1Lk9z74YB0,282 +material/templates/.icons/material/gesture-swipe-right.svg,sha256=Jf7qMwa3BjJf5wNpCJ5UAjS633Vb2D-XmDRapXJAPq4,282 +material/templates/.icons/material/gesture-swipe-up.svg,sha256=7T2wQ34o9U5x1IaGIvltW08o4EGOORH7fu0lL8FlltA,282 +material/templates/.icons/material/gesture-swipe-vertical.svg,sha256=S0PItBFWZEUw8ZFAiissWs3zkqprUrg79_j74D3qXCw,295 +material/templates/.icons/material/gesture-swipe.svg,sha256=4Mc6TMbXWxyVsauO5snACmo56qnovPBUov90Kb0v5dA,608 +material/templates/.icons/material/gesture-tap-box.svg,sha256=yDLSzQ6bbqMyMYszr_J3aW5SjGsYLY9O3Sot_rRDeYw,504 +material/templates/.icons/material/gesture-tap-button.svg,sha256=pP5klLAO9zBb1rtYzkkvhjpviDvTCWDMsiZarHGadjA,534 +material/templates/.icons/material/gesture-tap-hold.svg,sha256=-ndab7wDLbCHgEc2hXVMZqp5HPnrmWmktoLEwdRLTuI,376 +material/templates/.icons/material/gesture-tap.svg,sha256=LKjqzp7RPQQAem7FzYS8lueXL3vK3Uoaw_6WtflSeHg,416 +material/templates/.icons/material/gesture-two-double-tap.svg,sha256=gVUdv0h4SwYTYLzNHfSMgkgR8acVxPajA5Zk3IEzDsY,724 +material/templates/.icons/material/gesture-two-tap.svg,sha256=M6UT4OjKZN0SZ8x_FCIH9SUjsx8Pcq5aL86myFR4CfA,614 +material/templates/.icons/material/gesture.svg,sha256=fIX5BNbZ_uiRBf5wCSw4FD-nJouhD0HWFEk8jlPtbcs,725 +material/templates/.icons/material/ghost-off-outline.svg,sha256=id-Yy9-dwHmOA12-LB550Xinjaie0bq7gS4JV6mfGD0,609 +material/templates/.icons/material/ghost-off.svg,sha256=MPkq5Z7lu4z5fnZQftd3SCh6KTBk0Ld9pQKRlF8VB5w,380 +material/templates/.icons/material/ghost-outline.svg,sha256=AOY7rZcwaJJre2xoX8J8SXGuj0qQ1RoCl4F_OSCldlA,375 +material/templates/.icons/material/ghost.svg,sha256=bWE-1-BkyrtOyX0-9d63DSXFlFeyVY9qyYiFrDdlQV0,262 +material/templates/.icons/material/gift-off-outline.svg,sha256=qoazTWP4Pi8zlThBh4rhKfZ0qMTrLVieoIsS35T_16o,575 +material/templates/.icons/material/gift-off.svg,sha256=-zK_XZr39fdzZifh0kAa4XzKuESCSJVR__l1-zoTefM,590 +material/templates/.icons/material/gift-open-outline.svg,sha256=RWRRUm7WiqYqjlJoTX3Ewrs4L1482sQUnnJY0RN58Ys,747 +material/templates/.icons/material/gift-open.svg,sha256=8iMUQSmbwLgO8mG1wLnFHoq8QD3eJU9-ufQO_xsmtSU,644 +material/templates/.icons/material/gift-outline.svg,sha256=qRKb_RgdGdb98r6B3L4OJGnQKVrPcImwiJe9ixT7dOY,484 +material/templates/.icons/material/gift.svg,sha256=b2tpd_ND6oNwlbG91LkyCaJmpEnqi1bRgkllBA--c5A,446 +material/templates/.icons/material/git.svg,sha256=CscYm1zYpNF0DvE5YlDEh3JLOGkheBUBxaGRdET7RpA,505 +material/templates/.icons/material/github.svg,sha256=iHfQ5ghLlrFX4OfTu88GuvEXPhKsShx0XCR3LQfJVd8,631 +material/templates/.icons/material/gitlab.svg,sha256=XRR1IcMAIL_7UyIvgnsJR93rEDOblBqwE6QFTsZ43jA,631 +material/templates/.icons/material/glass-cocktail-off.svg,sha256=Ap20znShmdS8jerFJvJ59a02MMiLbMOF-uuJ18e1ZK4,251 +material/templates/.icons/material/glass-cocktail.svg,sha256=n4MXw8eekaNdn3EUAEzJCitxFItSd-X0D_Ska_gqkk0,135 +material/templates/.icons/material/glass-flute.svg,sha256=av6oFlXuiQ4-3u6nT79x27bm_fSYNVI6vsd0cHVEVrk,380 +material/templates/.icons/material/glass-fragile.svg,sha256=4mH2nZvvO1otON6vvmZTx_vI2xOhgBb4R668CRZnYZw,313 +material/templates/.icons/material/glass-mug-off.svg,sha256=adRPLIyhIHHnTl5AWdEEHZj_ppH17R6pWKeRK8xBcpw,310 +material/templates/.icons/material/glass-mug-variant-off.svg,sha256=vVmhbpuov8CNISg1k0_F6PVdmZEzQE4rDDl-O5ztAQA,522 +material/templates/.icons/material/glass-mug-variant.svg,sha256=y2LPilDNFwOG7OQ1UkCeU2dR6GFNOeuex18oyhP8F8s,390 +material/templates/.icons/material/glass-mug.svg,sha256=6rXUq_3Ye8oNgX8Asr0EAg6OhhGD57Vyabx9tNrn8zo,208 +material/templates/.icons/material/glass-pint-outline.svg,sha256=tCWgFRlSciOlVFnCRfXDS48ngmasHPDAx17Rf8frfzg,127 +material/templates/.icons/material/glass-stange.svg,sha256=jysuY1z5l_lrnLvwtsTaN4qgcwjqFEE2SY3yWg9MqE4,105 +material/templates/.icons/material/glass-tulip.svg,sha256=TexJ290H00CBS30U-8rZ2dR8-EYtmkknC_Y-s4WsAYA,441 +material/templates/.icons/material/glass-wine.svg,sha256=CAvoSY1PfpP5xjbU2h2JkRFrLOGK5ZdfX6eAyJzjsCc,323 +material/templates/.icons/material/glasses.svg,sha256=jO2_xzELFQyhwbYReVadZ7OML-V-iPj55613vuJUTyQ,775 +material/templates/.icons/material/globe-light-outline.svg,sha256=mc9sO9AJlZmnChYIyi7Pc9VtgA3jkAPpR7a-X5YOMzw,267 +material/templates/.icons/material/globe-light.svg,sha256=TvqQdk_r78I0_K3teMXSZ0YxzV87eA-v4OlSX-dour8,210 +material/templates/.icons/material/globe-model.svg,sha256=wV4vRufeiOKOMcGkqfu-m22chgNvSHUdpSHNxtFe7Pg,455 +material/templates/.icons/material/gmail.svg,sha256=ZOUs_M7LRqJK4am5PcAT6hMqlJuPUwpuvFndvCnYOJU,210 +material/templates/.icons/material/gnome.svg,sha256=CxHii_zFzNIM5_iM_MOcgtth4XNrX1NSRK9eFk_d2vM,581 +material/templates/.icons/material/go-kart-track.svg,sha256=P5CXrnPpJIrjUBSh8CvOGMb7UCCmM8rleHcsBhIuciE,669 +material/templates/.icons/material/go-kart.svg,sha256=56S1QrLZ2IIOrXIZqfJzQKWHGOhH56IvH1-PkJqDUxo,480 +material/templates/.icons/material/gog.svg,sha256=Zdi8TLzTqgWyw2W_RGY08IXZKXuy16Ad8XmZPmdpG0I,1296 +material/templates/.icons/material/gold.svg,sha256=6sugEc9LEJFHJshlvJqgTSb7K1ejR6auMgdm5KHYCL4,229 +material/templates/.icons/material/golf-cart.svg,sha256=muC96rleoCFPFdQ3WRtsjfJuwsMxz5dnDYaOYEcIRCw,394 +material/templates/.icons/material/golf-tee.svg,sha256=U51v68N5iNslbv7f7kQfPIi4p8wlGTmiJ_3P8C6fX_U,670 +material/templates/.icons/material/golf.svg,sha256=NSbhOP1Qqrvqio86SrXWX6SPfCCCJCsPQbHuC4mZNOE,278 +material/templates/.icons/material/gondola.svg,sha256=XY-KsJ4m4fTEQE_NNLUSpqOIstEWJKLXw1aDyJESyHQ,458 +material/templates/.icons/material/goodreads.svg,sha256=XLl7glAaOFkc6PZy3o0bixdm-ut9nd3geTCW2Syp6WE,388 +material/templates/.icons/material/google-ads.svg,sha256=xlAWnFpiKLl7HyoCw8QNqEcNPWtEGUf4OEALmtuCdbM,408 +material/templates/.icons/material/google-analytics.svg,sha256=l6Iz8buzdGvru75sxpuqI8V8YYwpIWGRaSi6MtlCiu4,399 +material/templates/.icons/material/google-assistant.svg,sha256=Q7qV4Hmojrc-u-iVNbv60mFFhwthuHQ_wuBti0Di_nw,379 +material/templates/.icons/material/google-cardboard.svg,sha256=sUsNHuZLz0Xp8kYI7QPgMi8wFRTCWxc5RkTkb6kCo5s,500 +material/templates/.icons/material/google-chrome.svg,sha256=7JiVRMd-m3B7oyGvhEEto-SD6h2rSe5O2vUKGfrd0xw,519 +material/templates/.icons/material/google-circles-communities.svg,sha256=ASEyTeDHWfrQoy-v0ri2j8hnnLwfxeW9aRvaW9bZID8,406 +material/templates/.icons/material/google-circles-extended.svg,sha256=SveWj0Rxa1vCh66PbmGY6EfAB3A94KWeH6TgG7JS92A,543 +material/templates/.icons/material/google-circles-group.svg,sha256=9ydKTFkG0THj_FMH4reF0KynWGJwX7cVHNP_fHvWV-k,485 +material/templates/.icons/material/google-circles.svg,sha256=BysPOTDvWVgBzXAAen6WYtxsj_AEoMwfr0kRIovScE0,383 +material/templates/.icons/material/google-classroom.svg,sha256=Z8jIR8zgxLkaiXlLBkaDVk5gvhD6IKA5Dyhf2DLjKKI,643 +material/templates/.icons/material/google-cloud.svg,sha256=eI-PWgV7ZxzPunJEIMLpyGx8NWn_Xof3XTktOYvohcY,454 +material/templates/.icons/material/google-downasaur.svg,sha256=ic8WlsUTlUE8SRPFLxIp257eDManpL_VWqMVa3EgmY4,240 +material/templates/.icons/material/google-drive.svg,sha256=ii9T_pTMZGpC21DsmADKgmRTHvHKflrIjXLfjUQ0r4E,174 +material/templates/.icons/material/google-earth.svg,sha256=7UyGCOj-GW8rzn6fyvi816Ajg2WHnEsZ2QmBg4CycyA,922 +material/templates/.icons/material/google-fit.svg,sha256=SyILqeEJawt6dJiK_1F1qecIEmtsd9bcVFJX8NUlBwQ,441 +material/templates/.icons/material/google-glass.svg,sha256=wDM53wz7Pd4jqBOKITIRVGbfXlCOgnBS2BF3nBGIqGE,236 +material/templates/.icons/material/google-hangouts.svg,sha256=4WWt_csv5Oy3GFCLFPlXQIJwkoT8D_Fq-hemFCr5m5w,225 +material/templates/.icons/material/google-keep.svg,sha256=DeMCejVDZE7xaKIXHc8tFL0lIBY6yeoszUU1AbM6wnY,344 +material/templates/.icons/material/google-lens.svg,sha256=bGdoFyyAxmS7DCtAP7fF-M4RelFOiY_pExHJConDisY,310 +material/templates/.icons/material/google-maps.svg,sha256=gSkttGdP-nLJp6M1NjEb3XJgXunS444T91c41UZ-6YI,773 +material/templates/.icons/material/google-my-business.svg,sha256=lGvdRUJCBPhoRYfHIMecmPGrkSB40o7kzt04GMJ2ESI,855 +material/templates/.icons/material/google-nearby.svg,sha256=2gxP9JHSkBkGPdoT8ifOkzbxiAvoXmLee8KUNVaFCNo,285 +material/templates/.icons/material/google-play.svg,sha256=A_Hqf0gUdEzUK34ykUelNo7SLZye_X5Ok5L_8BO2wWU,324 +material/templates/.icons/material/google-plus.svg,sha256=Hc9ymsWJlFckCr9oqnvo4fUhLGhmtLqgtJBrcuVeepI,293 +material/templates/.icons/material/google-podcast.svg,sha256=UrlImLTzFa4wtP7a1vwkLkJIeci1VC3LHyxYhpA8XJ8,1089 +material/templates/.icons/material/google-spreadsheet.svg,sha256=zwqwNayEFFJjIgHsJuQ8_eOjdKheCJB3EWwOLxNDsNk,276 +material/templates/.icons/material/google-street-view.svg,sha256=9dTB_r6HZ_gWDYy4b0UR5a_RteBMEfmLwDYZSfIfy58,564 +material/templates/.icons/material/google-translate.svg,sha256=DnaKRnXNbEKnX-UmX0qfb3qoqNd2HrNjvA4V48y48Ws,730 +material/templates/.icons/material/google.svg,sha256=AakvF0QXHxf5qRdDLQp7hNTw28_GIcjSBmRp9SLoXwE,330 +material/templates/.icons/material/gradient-horizontal.svg,sha256=U-66XqDLeKpOmypsh1MKg9-sDIsPEGMFH_RQNmyKa08,303 +material/templates/.icons/material/gradient-vertical.svg,sha256=iKwSzld7A2bZMISOsFh2talgLy82VROZsMKfqdzITT8,322 +material/templates/.icons/material/grain.svg,sha256=744XWqmbcNBNHHOlG70UyL9A15J_DdpGywXN0QdfWkQ,565 +material/templates/.icons/material/graph-outline.svg,sha256=sEbNbx4L_9-T87thJ7zLYOa20rl4MsMbIKDgM4zUQvE,1113 +material/templates/.icons/material/graph.svg,sha256=uYbcuBAURs6w_WhsWjd7MoxMA_PryF7sW7l_nsG0nCc,777 +material/templates/.icons/material/graphql.svg,sha256=rnPnwxelhI6vgdTh0BR2ZVgTX7n3_kOavb1gspo2xPE,857 +material/templates/.icons/material/grass.svg,sha256=AnAEUa_M4V_qRuShretXyf5YnXn6RJY8JLZAGTTP9iM,507 +material/templates/.icons/material/grave-stone.svg,sha256=J0istPbKlHL78Fg_6YipXQS8k9SQKOjZ6k9eIOOkyMA,245 +material/templates/.icons/material/grease-pencil.svg,sha256=CGC1uaBMipiHxzZJOg0jD7UulJQWSUDZtZ5bzMU2RyI,335 +material/templates/.icons/material/greater-than-or-equal.svg,sha256=ikWIu7tAQX1rHhOoSWQMwXDWirUUpTfi35rlYRIC7bc,152 +material/templates/.icons/material/greater-than.svg,sha256=RX5OKax-sZ0PF61xZDbyR_oeESl5WemrUwv_yS6XGzY,133 +material/templates/.icons/material/greenhouse.svg,sha256=6_QDP-1QEWMYmv02Hvu0rmrVJn3rmuLkd8GsJ739pP0,200 +material/templates/.icons/material/grid-large.svg,sha256=BF5II2kJDbpQMY4DhnOBS5tFGk-_QvrJJrlGVKpQpQs,207 +material/templates/.icons/material/grid-off.svg,sha256=Ed1Qd-ZRuYbqlBpjTJNrVgACuVY3Ggfw2xkEC2mq-kk,396 +material/templates/.icons/material/grid.svg,sha256=wIFkyXGIAvPghrXAqG_zIFAl1i3ssBFwKJU7PvKmNIQ,275 +material/templates/.icons/material/grill-outline.svg,sha256=y10FcYE8bHUjCKnG_enEcpTSMIvchKQzzbDixWHq92s,694 +material/templates/.icons/material/grill.svg,sha256=GhpalzXFtuyHMQNvxT9iY1zLPUyIM6vVL5BW-QzWrPQ,1129 +material/templates/.icons/material/group.svg,sha256=Wv9Csa_DcjxhI_2hNtFWrvTpTyJS3hHlPvZFWINHKj0,201 +material/templates/.icons/material/guitar-acoustic.svg,sha256=fvIQoK7LoK-brlx0_YCSxcOHQXVRAq81TORrNwGI9q8,397 +material/templates/.icons/material/guitar-electric.svg,sha256=Sa36df2mtslEhlnHXufbyTNImZX6bWgcUAsRTnaM5uM,387 +material/templates/.icons/material/guitar-pick-outline.svg,sha256=bOJoBWVLXj6ableaXdD7r2c6_xThlMDbTyFHPHv4Mbs,545 +material/templates/.icons/material/guitar-pick.svg,sha256=Fh9SKKNx7jIdWUqgaDGCtRfLImxR2pfmPPF7UQxeiLE,298 +material/templates/.icons/material/guy-fawkes-mask.svg,sha256=iH1itKsC3gLr5l_3UNEInzmLYpbKy_pNyt-JsHi7KOg,536 +material/templates/.icons/material/gymnastics.svg,sha256=YLp_TwJ64bYTcDsznY8gD5CO644xvwzIHBXjVYMAQlQ,200 +material/templates/.icons/material/hail.svg,sha256=gTRSsR9vrgGaQN0tOwjLqTLKW3CPXvVEdnXGnyQJ3gM,402 +material/templates/.icons/material/hair-dryer-outline.svg,sha256=68jCtU5kCYqbPj1_4agUUImKTukFTRI5LuOhe8YRQNs,677 +material/templates/.icons/material/hair-dryer.svg,sha256=Gp7mTArQvLQI_x4zMJC8flBMGliCn9x5dl78Hzu6FvA,582 +material/templates/.icons/material/halloween.svg,sha256=u7J-lVCTWDxgJW8Jm0X_P6CtJTJUJgsN_Y8kdm46fnw,504 +material/templates/.icons/material/hamburger-check.svg,sha256=swpOQkDb0E6uPzs9VIMGFs4-8z4IK0eyhL2bGHil7Ao,355 +material/templates/.icons/material/hamburger-minus.svg,sha256=8lLtk6fjCq4l0W5qfNuCmg9EQiAwdqDd0e-D1_MpBMs,308 +material/templates/.icons/material/hamburger-off.svg,sha256=XMfF6gNHh7aA_vI2kgqBBt67V_MW7IuB8n2YP3AgZ4s,362 +material/templates/.icons/material/hamburger-plus.svg,sha256=IrBFTIV0u61CRdROV8TXg4T85pNify_8VdkSnRs4U9U,328 +material/templates/.icons/material/hamburger-remove.svg,sha256=CMP5HS7BYhB0e8K-iNJAg_ST3fssB0qq_4ygcNJLP9s,419 +material/templates/.icons/material/hamburger.svg,sha256=E7ETGcvbt_4IbXmompqoujYQiHQT7M-ENoHSYZiik6I,227 +material/templates/.icons/material/hammer-screwdriver.svg,sha256=qCF9gOweT8rNObaTLmXQZPkfjhTOXF5dX39xpk7N41s,388 +material/templates/.icons/material/hammer-sickle.svg,sha256=6Zt0gFSy0yFxglup1VxzUiROl-8deEIgDBWLDNGFY2w,589 +material/templates/.icons/material/hammer-wrench.svg,sha256=Ck1zkASPkTHoZYB3mfyHv89e2JFBcvOfTOXORdrx8Xk,475 +material/templates/.icons/material/hammer.svg,sha256=RHFQVsPABwyHrmiiNyZFCISDGr0m5Cx40ydsQynVSCw,241 +material/templates/.icons/material/hand-back-left-off-outline.svg,sha256=ovHHF319UrWCcVBAfCtoawVx3-InBVMx8KDWqF0xyvs,721 +material/templates/.icons/material/hand-back-left-off.svg,sha256=v37jOyUDqVGZBOIwzSh7ahPaY68DisOr7JgZeTeWRd8,474 +material/templates/.icons/material/hand-back-left-outline.svg,sha256=BzmePta8ICv6Ik4nMXh_ahYhngxeol0dHah6Vz0KOpo,606 +material/templates/.icons/material/hand-back-left.svg,sha256=BF-ai84AezUT8I7vI13BI_bxLkjCdJ3n2hfjkG8pi10,324 +material/templates/.icons/material/hand-back-right-off-outline.svg,sha256=gEYEwq_Vp3QhJAE2f5_gNx88ZSviq2bj9qMwX0vRGLU,758 +material/templates/.icons/material/hand-back-right-off.svg,sha256=Brv6kXpecVrfBve_TwgYVukMptXDqo5tQ-Lrj5E314M,465 +material/templates/.icons/material/hand-back-right-outline.svg,sha256=07r6MwI5oVBOVfzO75aue7nmbGZWxIJh0pttv8lHo3w,605 +material/templates/.icons/material/hand-back-right.svg,sha256=jDmtV-afFBE_g0pA1d5e0HwXfB3Fv8n88qaUsjF-O44,323 +material/templates/.icons/material/hand-clap-off.svg,sha256=ux-tn1gWVQBF3EJNLuxOm7z5L60EnTSQ37JQF0Tdq_s,992 +material/templates/.icons/material/hand-clap.svg,sha256=ZfHi6GPTRG8k9jlM39w_u6xJIeQlEhveQM5ZboN0zlU,939 +material/templates/.icons/material/hand-coin-outline.svg,sha256=iwN94ZQEcaVLKS6hg8sBT6U0BVFCbv7huHmqm2HMx0k,443 +material/templates/.icons/material/hand-coin.svg,sha256=P3w977erab0DMT7fGFa--DWP4zps59yUd0MB86Vs5BQ,321 +material/templates/.icons/material/hand-cycle.svg,sha256=FBb8lSpYcpFbxZLLzIym4wmAMHDLi2mVSrj7A1KkTjc,608 +material/templates/.icons/material/hand-extended-outline.svg,sha256=SLOA_xcqyS_D7DxLlztNWry9ZlWjwudzD71Z-NwfXco,302 +material/templates/.icons/material/hand-extended.svg,sha256=A9c0SmFJwR06I-U-RKLfc_Y8B0Q9ucIBExMW8DtE0Tk,217 +material/templates/.icons/material/hand-front-left-outline.svg,sha256=eWEejo9ypBD4q7uk3Rjrx0pAJnjjrJv9AdffHznX2vY,573 +material/templates/.icons/material/hand-front-left.svg,sha256=zYpFHeJbW4mpKXfmHoh8YZcCHbFUUGMH8hthuZAwKX8,342 +material/templates/.icons/material/hand-front-right-outline.svg,sha256=1TrFj2ap3Nz-9kx4048WmdPDyzdBIpXFDRK7AnRrzGk,575 +material/templates/.icons/material/hand-front-right.svg,sha256=G9noLEI-citIWC_roLngiJ8W3MOeXdI4gaHHHO4w1YA,368 +material/templates/.icons/material/hand-heart-outline.svg,sha256=k29QAp0vYOH1tmBnCEJagcyXz5Q5ydYFAis5BttHXek,631 +material/templates/.icons/material/hand-heart.svg,sha256=W28G1iU2B2oRG3XKvc5W63m1VKqe0DY7GkXKpq1UPV0,369 +material/templates/.icons/material/hand-okay.svg,sha256=h3wLIHAhRP4HbpslDUMtCxknSrz2GFhjWutQg6Lz5Ok,653 +material/templates/.icons/material/hand-peace-variant.svg,sha256=AqnyaPaQCGFgYCbRXwG1Lm8PY4ZznXscbli-rjzyrz0,382 +material/templates/.icons/material/hand-peace.svg,sha256=gvbeS1YV49tlBZ-ZM07foEYA1SpGU8HO9PyquoHfQyc,525 +material/templates/.icons/material/hand-pointing-down.svg,sha256=WD-ftp-7rq2-2KzQCjKm3ft1JP9qA0_09kl6RCx5f9E,280 +material/templates/.icons/material/hand-pointing-left.svg,sha256=TS6a70b2AJ1vTRMNzSVEoQMUFDpVRbMeybShLPqInPA,277 +material/templates/.icons/material/hand-pointing-right.svg,sha256=qIRV43SPOwT1lKhX_tftrXNydZoSOkHpfU445ycUe-g,267 +material/templates/.icons/material/hand-pointing-up.svg,sha256=KCrxekDJwDz8FBXZc1HnqF8_Tqs1MbhBO9sz-21pAUo,273 +material/templates/.icons/material/hand-saw.svg,sha256=OBX_ya_swQfyZBYdmN5SY8jCG8_q7hh6Mbg-FMTgvV0,244 +material/templates/.icons/material/hand-wash-outline.svg,sha256=a5ty_WUko4Ubj0jDVN-JLnzS5OSsS7jLSKOPB47ShkE,622 +material/templates/.icons/material/hand-wash.svg,sha256=dI5ETuk-rUAjMrQqisKEb9Ck-BzoVomqPquh0hXUoYw,452 +material/templates/.icons/material/hand-water.svg,sha256=mC57uep0cP-97QdMngl-MIrwb2tHvBGgz72QUcrUYkM,475 +material/templates/.icons/material/hand-wave-outline.svg,sha256=V0tvJ1CkH53t3KQbqSbr2HUEfMaO7TQmIEDJ_lsLjNM,867 +material/templates/.icons/material/hand-wave.svg,sha256=XSIrAZxBOvZZeV8Ym64kX6OjArtUwBOpsoBSoQJ0w-4,631 +material/templates/.icons/material/handball.svg,sha256=zEb2Uh25RsbVap1RNjJDVHZj-Cikg7NO7rSSS7UY7o4,443 +material/templates/.icons/material/handcuffs.svg,sha256=Maz4mJyq2wCLm8UATsy6eCG4zukB2tgDd-P6Ts5H_bg,881 +material/templates/.icons/material/hands-pray.svg,sha256=GASb8515vBJ6DFas1HBNcfXnWGyKT404ns0EG4P7638,713 +material/templates/.icons/material/handshake-outline.svg,sha256=nuii1W-RI3Jxdj6YUHtqjysFGdywXtILDYPuN85r14g,686 +material/templates/.icons/material/handshake.svg,sha256=fzC5c6lXoIJsuSRrOWnURky6cUx3FPUgZ0donwWVBI0,355 +material/templates/.icons/material/hanger.svg,sha256=2WCN5PJvQNyrs9vLbOPyoN5gvcI2VOo82DGInZ-1Zro,303 +material/templates/.icons/material/hard-hat.svg,sha256=KfID42GOdoGLg2lShZVEjJ5jw6TsPt99MuGl2bncswQ,400 +material/templates/.icons/material/harddisk-plus.svg,sha256=yHCgCoESeJPI1uKiKKU8sqXUSCKa2G-Cxa1J_TB7_jk,474 +material/templates/.icons/material/harddisk-remove.svg,sha256=Hair3Bam35oavMcv8bS-m415KgQ0rXyWF3gu-AN6G-k,559 +material/templates/.icons/material/harddisk.svg,sha256=diZT9T3Tk_ZP-W62JwW7xL9QouKCmbEiPJ8Kn7L3X0M,467 +material/templates/.icons/material/hat-fedora.svg,sha256=wieIZvzRp3QqQHtY9S2lW9zoN1z8Y3jUkUw1_ZJkaTA,511 +material/templates/.icons/material/hazard-lights.svg,sha256=SVPaXjGrnX_BBGdgYFugZW843c9gEy3lNw1NnrelZwY,164 +material/templates/.icons/material/hdmi-port.svg,sha256=5N0MmoXDdWRMHO7nTnmQIkpgeyx2lqn6I9Vi8rGPPys,253 +material/templates/.icons/material/hdr-off.svg,sha256=o6Nzf1vWiUPcbwAD2yWVtKXtP53SyK1at3tkd55kY14,341 +material/templates/.icons/material/hdr.svg,sha256=efF53bj5dtZlyOCGamFLkAcjtlC1UWW-qVBXdZLyNE0,289 +material/templates/.icons/material/head-alert-outline.svg,sha256=GdNsCShclZASQd8psRsD_oL1qVhJ0YEPcibDdl1eLhU,358 +material/templates/.icons/material/head-alert.svg,sha256=JFT0Q73wc_fTNViofATnX0df23palxz2ziDf0zVdYIA,221 +material/templates/.icons/material/head-check-outline.svg,sha256=hbv9py7mf1VBrFtbpEHUDwwZpwayzLrjyc4uuwRbRFE,436 +material/templates/.icons/material/head-check.svg,sha256=jpypUlu7iBezC5VTeijV0h_vrQZs1-uh8kxAqLOklws,270 +material/templates/.icons/material/head-cog-outline.svg,sha256=ydo53LPU0ZO3eQ2OzDd5_Z0EJMRR0PtljAb3P6oWyhE,1022 +material/templates/.icons/material/head-cog.svg,sha256=7OOIQPjtBXUP7YbEy2zzUxNv8IZ0f0xWOpKmFKN8i3c,847 +material/templates/.icons/material/head-dots-horizontal-outline.svg,sha256=ITbJAtXhG4flJCI02inO0s5PUGua9RjhkW-ittTS1W0,472 +material/templates/.icons/material/head-dots-horizontal.svg,sha256=X3ovOooHk4CXd8FM8eM8lXN_boRMhXq0THIaue5xQpg,367 +material/templates/.icons/material/head-flash-outline.svg,sha256=XGgLFcmJIb6WY15SL7oNSpyh_k2gOZ1KrtOwTjv8usk,372 +material/templates/.icons/material/head-flash.svg,sha256=X9s5U-aTqDmMRdmVyAm1LUDs48E3b3Dh2AwaPYJQ7Pw,226 +material/templates/.icons/material/head-heart-outline.svg,sha256=cRN0uIgF_qWe_vrD6s-0xH_o1V0Vv28LHp-frNK3xj8,564 +material/templates/.icons/material/head-heart.svg,sha256=xmKIDp8til4UlbVrai_MFJyysHaRsPGbMT0cXMatsjM,388 +material/templates/.icons/material/head-lightbulb-outline.svg,sha256=hc3r7pJY0o8Bzw2AMuCnY4s9WkJOH58e-vCwHum9TqA,442 +material/templates/.icons/material/head-lightbulb.svg,sha256=iETyLAlgjMXeWkhOSoQ4kqJ47mOv8GpbaUBwefcK3N4,334 +material/templates/.icons/material/head-minus-outline.svg,sha256=XdpmuwZ--VcJtJMdJ53kHl0yAT01s-0vcdCgyE-AnRM,344 +material/templates/.icons/material/head-minus.svg,sha256=ByaLMPvJZ8duWzriae1k-FyY68m7gMcnN-Edf2hmCDQ,205 +material/templates/.icons/material/head-outline.svg,sha256=6kmGjV28wRoDpMZuISYszAGUbibuxiNnX5s4Q4Tj_Pc,334 +material/templates/.icons/material/head-plus-outline.svg,sha256=WQ3-5Qw_JZnGVgyA1ehexQnjTDAznfoazcY9zm2hn2c,363 +material/templates/.icons/material/head-plus.svg,sha256=xczvBbD2BqQ_gcNLU4Bw7cbbUsNGLCOivbQI56SQlsw,224 +material/templates/.icons/material/head-question-outline.svg,sha256=qOq6-CTCDo4cesp50cTpM9-qRT3ERT4JdmlKhady4As,769 +material/templates/.icons/material/head-question.svg,sha256=LJ2s_akgI0rE8Lu4kx9gNCSH3O7B7B2uyjl5qMxljwU,602 +material/templates/.icons/material/head-remove-outline.svg,sha256=046iv1R212aN8xzofBCOLRDf5ocefNVjS6-vaLFWPKk,433 +material/templates/.icons/material/head-remove.svg,sha256=qGrZ1-VnsUShruz9A0NMnjRCCWZQUHX0NCpsXTr2-ak,295 +material/templates/.icons/material/head-snowflake-outline.svg,sha256=HbbPiYoKNOqj6U5ru6c0VRDKM4IcBiM9lWqIVuVhmes,741 +material/templates/.icons/material/head-snowflake.svg,sha256=67jbFfuc9LDXK21w0FRvMzI57T0DxPrOHPZXEt7x5u4,567 +material/templates/.icons/material/head-sync-outline.svg,sha256=GlP5WRPStGreRvBL6lkf8pocPqoV1WTU5p2YAe0wZaU,643 +material/templates/.icons/material/head-sync.svg,sha256=8mKlKHY23VKJ0vZWCZ9zHJa_XFHSH5I85S491aEAHnU,467 +material/templates/.icons/material/head.svg,sha256=3MSTIDCfg4rsdWmMUsPanegeeuHdJamCNJJ7Fz6IFy0,192 +material/templates/.icons/material/headphones-bluetooth.svg,sha256=SqkelSRHMXpUQGGQ4MpMj1Dm-AfxaXso2NxplMy0gBo,367 +material/templates/.icons/material/headphones-box.svg,sha256=o5YvF9LPuQPrgBzEkoAeRtx3X6nMt4cCR_zIL82goL8,286 +material/templates/.icons/material/headphones-off.svg,sha256=wCX3uDTOkMJ_U7GY060qtJ3mtm_ed0yZHMc9o24MSIw,372 +material/templates/.icons/material/headphones-settings.svg,sha256=1pkD7oKX3kMdZzVEhr9vB3LIBUoOOC22u_RxM2I2b5g,236 +material/templates/.icons/material/headphones.svg,sha256=jzXPD5GvFbkdHxWyX_tknDGd1QQ3pX6EI3J8Cp4KT3g,192 +material/templates/.icons/material/headset-dock.svg,sha256=ER2iWLjRvPEugFJuwOdfVHKKjVpGlvsYW-BweCWwFxg,259 +material/templates/.icons/material/headset-off.svg,sha256=FkbsP_J32zisMYHvPyNt149Bqq7O-H8HMN4qGO1QJNw,376 +material/templates/.icons/material/headset.svg,sha256=Htwb-eXYPJcwri7oRGFO-rLonLTyak65FsAWc5xagy0,201 +material/templates/.icons/material/heart-box-outline.svg,sha256=CytU-BHBzfG9RGLEmQ5TH3CymGa2FCghIpu3WDX2iRQ,335 +material/templates/.icons/material/heart-box.svg,sha256=wYf0VN97ELEbpRBzTRSrmywp8Kp9vp7V36CV8_4S2XM,323 +material/templates/.icons/material/heart-broken-outline.svg,sha256=TfR5luSNEs8CzMqvGELM349oDOboC2B5d8CSbQ1w-6Q,426 +material/templates/.icons/material/heart-broken.svg,sha256=AWJPZ2ohZfJwp-br_l-w2EsmOpq261InFndqcYTipTc,294 +material/templates/.icons/material/heart-circle-outline.svg,sha256=u3P2OCvT-mm9TlxlmEwB_HACA4tvcJNkMXfQfL8hr6g,393 +material/templates/.icons/material/heart-circle.svg,sha256=r_7FPSgPkCBabU5Kibg-77O_CM4LndvjxcfmGfAIx-Y,333 +material/templates/.icons/material/heart-cog-outline.svg,sha256=hR9dVn0nsHrATSn_mwkZA7-wf52jymNt5h7N2zToXEg,1077 +material/templates/.icons/material/heart-cog.svg,sha256=UMuyYMNyyA1IdcCWmfv6eg9N2EVzGlKxrCn8ECKqkK4,933 +material/templates/.icons/material/heart-flash.svg,sha256=41ajbYTrimzSd541NsvO8dfhA9gYamI8ZrV5WKMuO_Q,284 +material/templates/.icons/material/heart-half-full.svg,sha256=QJCeLgaJczMsi9hKrgSOn59jeGt9_02pSs_z4ekcFH8,327 +material/templates/.icons/material/heart-half-outline.svg,sha256=DyadlFnmF87taKye069B6opkisFtDfnsxA7ZJysVh8I,241 +material/templates/.icons/material/heart-half.svg,sha256=z_reaG9SS5DmhbEi5GBi2bp5lf6elPb_qhlRwdsxJ78,170 +material/templates/.icons/material/heart-minus-outline.svg,sha256=0R1SxzlGOsmUAVW5G675Qj5noyy4kVJ9RJK1UodayG4,467 +material/templates/.icons/material/heart-minus.svg,sha256=jpHPerj23WaMsBjdZTrv31YME_q12ztDAwxkFxLXJGQ,324 +material/templates/.icons/material/heart-multiple-outline.svg,sha256=Umv046rhzejqHb9TbX6OK51evr-T13dr_lfZmf0imHQ,439 +material/templates/.icons/material/heart-multiple.svg,sha256=PDuKrarKbpr3s3X5tF9PudAateKcUkAZfwdwAhZZ2WQ,301 +material/templates/.icons/material/heart-off-outline.svg,sha256=fG1IaAeul1oI8reTc4-oCVTZyAz64U_2eHadmiMVb3s,571 +material/templates/.icons/material/heart-off.svg,sha256=ibDrSKQ2bKi_rauRdrzBo5MIswXu-0PnE9KGTcuOr-4,342 +material/templates/.icons/material/heart-outline.svg,sha256=_5KAmpP84zWvCRM-kds2JI8r7uumnQXD8pFfSVXXaHs,416 +material/templates/.icons/material/heart-plus-outline.svg,sha256=1c5SJwzBWGIwFNr-KKaIWzSuCvyOFyf18Y6c54urIt0,487 +material/templates/.icons/material/heart-plus.svg,sha256=QA1uZ1mzwLfSYf-IErA_EEkOu-W-0iHme4cRyTnEq2s,344 +material/templates/.icons/material/heart-pulse.svg,sha256=spk25LPdIPGvbTSNJhjk5EQ4bKPpa_0sdQdIMEuFPWE,470 +material/templates/.icons/material/heart-remove-outline.svg,sha256=ro71dzBf3nfovp9MkbQ3uP2sObRqVTngFI5jjGfpSG8,579 +material/templates/.icons/material/heart-remove.svg,sha256=16-QQvy__CziCMayXaES3ZhVhr-PhxatmOo8x81-F3E,438 +material/templates/.icons/material/heart-search.svg,sha256=UjM6W582Bl0z2XR0sC6wWVkyT7ZeFyuHYk2XX0xvD-g,501 +material/templates/.icons/material/heart-settings-outline.svg,sha256=hOjArAJcahSaZmzq5sGJ4eAKWpYNKDCkC04tqqdAFHs,453 +material/templates/.icons/material/heart-settings.svg,sha256=McDz1y8ALz-5CpNiytA_XLwyFCP2_ReUZ6B_QjEPC6U,296 +material/templates/.icons/material/heart.svg,sha256=U5NnZP7bIcAXUtxGDnSpkZvX5k6gGtlusnpptFUqEmM,251 +material/templates/.icons/material/heat-pump-outline.svg,sha256=efPPUVSlvdfG9DKKorBdxE16-wI_cHdDM_8kMhhOssM,634 +material/templates/.icons/material/heat-pump.svg,sha256=KrBjrmEhylUfFaqarnJKyzIo3Q8_ggMXZ8Eih0mIfvU,575 +material/templates/.icons/material/heat-wave.svg,sha256=X1r4XccAq755xWYUPc58oPt5ithQ-wX0_zs74tHhr3Q,266 +material/templates/.icons/material/heating-coil.svg,sha256=1LyAcy7sX5uUysABkJP6q7EGW6TUhrR0kCunwl6s1LY,484 +material/templates/.icons/material/helicopter.svg,sha256=gnrPh4xxA6_PM0mYb1h8-fIfgbx1YptPKiDypSDTqXs,325 +material/templates/.icons/material/help-box-multiple-outline.svg,sha256=IOz3sUvq4D2ri4RohP8N2ozmCJuZmQOjrKtNg9ulha4,487 +material/templates/.icons/material/help-box-multiple.svg,sha256=ktyRIO4yy99DkkrYWBSw07Gcajacg3OlH7dOh7iLrN4,480 +material/templates/.icons/material/help-box-outline.svg,sha256=snQ7T5oYfnzO3CDIIupTPzMMY0dasnwldcnWMh3F5Dk,278 +material/templates/.icons/material/help-box.svg,sha256=9jYp11QDWtTekRQnHEhJMEccBjjq_TsAfhzHW9imDrg,262 +material/templates/.icons/material/help-circle-outline.svg,sha256=1glTuyz1VjGs2pEIsHS09ia4VmsGSgkY0qWkUuPVRBA,324 +material/templates/.icons/material/help-circle.svg,sha256=-LRNym4htPWV5wzJJMptHFnZ641kYbOApE7iQBt71VQ,361 +material/templates/.icons/material/help-network-outline.svg,sha256=2rkUGdA_FcEOAmmlMZsp57nwyEe-X66rftQ9KWNvcjQ,639 +material/templates/.icons/material/help-network.svg,sha256=mayf6EApRuIw_kiJzOFYDVxHMd_JMlk5GFZg-jqD28o,612 +material/templates/.icons/material/help-rhombus-outline.svg,sha256=Hp6LIwMnmt7ehBJZi-ArdCWY2ULMTE91cbIoQwF8FIg,451 +material/templates/.icons/material/help-rhombus.svg,sha256=R2dqjXcwYA7f-ti1DvYp6nPskB4d6Usqnb7hoOHRoX4,435 +material/templates/.icons/material/help.svg,sha256=9GnaMrs_BdKhIvESR55FwKNPtXlS_h8W85d90KDnGYU,274 +material/templates/.icons/material/hexadecimal.svg,sha256=JX3EZh4dhUmYl7cHx5hnVD_s5tKpQxM-h0p5XaYk3Ig,267 +material/templates/.icons/material/hexagon-multiple-outline.svg,sha256=OMtoq0Ohq-kE8mPbxGEAVePrXEy3aiDWvAzeLqkPEEs,734 +material/templates/.icons/material/hexagon-multiple.svg,sha256=W874nGlRIQaH4zywhIfG2YmRkoEF8XaYVCfzKRfe1eY,589 +material/templates/.icons/material/hexagon-outline.svg,sha256=w46XVmOj4P4Mc63-hnK0YJYfq6SXGXlkjVWj_-iaePk,341 +material/templates/.icons/material/hexagon-slice-1.svg,sha256=RCdWWyvKPnAya-nndGVexOYRFtwddxIJnPytMkQHryY,368 +material/templates/.icons/material/hexagon-slice-2.svg,sha256=pVxCKEiF_IpUk3vhERMyhPvLyRHadeXROB7DraUYvUU,372 +material/templates/.icons/material/hexagon-slice-3.svg,sha256=0af4O_EVytPzcYhsoRXRS9DUBLiVXa1DSRmYxSHYSnw,374 +material/templates/.icons/material/hexagon-slice-4.svg,sha256=kg3yH6NTpAIXS-Yy0hGu8wKlY0TIKFI7VKhPmk3GpH8,390 +material/templates/.icons/material/hexagon-slice-5.svg,sha256=zGjb_p60CgR4CiG9qU3faaco5RHjelh0PuKpCuhq0jI,392 +material/templates/.icons/material/hexagon-slice-6.svg,sha256=5ErZtWNZUXknoCrbqJ5K3ZEOXX4biHTcbJBc8E9o4hc,388 +material/templates/.icons/material/hexagon.svg,sha256=mGeXiPV9aSVk8iP48W4U8IhDgCuupyECfisZyzaxuE0,294 +material/templates/.icons/material/hexagram-outline.svg,sha256=3rf_ytnOPUqkWwtCIcJXPmKdi6Q2Er45EeMXckMrpLY,246 +material/templates/.icons/material/hexagram.svg,sha256=-BJWRZRxcPRL_Ae8v4HODiJDwxOmGFcOjp13X_VhsxY,192 +material/templates/.icons/material/high-definition-box.svg,sha256=6lX9yLDxQftB3JKCN30t5LMMRn2WC0I4Nq50Dnd2D10,248 +material/templates/.icons/material/high-definition.svg,sha256=Xw0NRqcusWL06dMX2PKOlSSX19avabMVcX-WnEn1A8s,192 +material/templates/.icons/material/highway.svg,sha256=OXAZmQitSxCdXqfplPzISSR82UjUCiD41yg3zphYxHQ,188 +material/templates/.icons/material/hiking.svg,sha256=JnCC9tbWPf-3lmJZJBZZJs46G7vb53yIKxkBmBxkBEY,536 +material/templates/.icons/material/history.svg,sha256=hi9uUAfTEe-XqO-sYgXPz3Rye6rdmVcPPPXwxB3bb-Q,289 +material/templates/.icons/material/hockey-puck.svg,sha256=EnrdKZ7GdHrOA4AFACS_PGh6UXFdUOYqobG0urnmAvk,294 +material/templates/.icons/material/hockey-sticks.svg,sha256=OPaB0j_mzUiLdKco0oROlHH7C8c-F_qiCC6kZLiruNo,441 +material/templates/.icons/material/hololens.svg,sha256=DaUZVZI6FYkHyOGJsdgPP6YIZOko168x1Zs9hfK09FY,309 +material/templates/.icons/material/home-account.svg,sha256=BSs16J1a2ErGJ1YGmeiCObM3IvFvqf88VzgrIkNKpAQ,272 +material/templates/.icons/material/home-alert-outline.svg,sha256=8hWVUAQ4QptP-cV3AjQJKDo_rOVNjFqnrQZjdnUPTyY,160 +material/templates/.icons/material/home-alert.svg,sha256=qcz9JmEq_xx4aYet_V7_bK4DqFstqtLYNxK6gRVcIII,134 +material/templates/.icons/material/home-analytics.svg,sha256=JI0mOjMslRoTeUwINMl9TblRws3PKpujy5lPrCWSAXc,136 +material/templates/.icons/material/home-assistant.svg,sha256=G2GT54tl_8InVjyZUOjFicD4y9Bp_pJT-iEvM3lnEQE,713 +material/templates/.icons/material/home-automation.svg,sha256=Bo1GABEjqbt3BHyhwJ7YgnRRlvseteDEKYArBPIETJ8,443 +material/templates/.icons/material/home-battery-outline.svg,sha256=NCk-mgrri5D9OMLuKLGXBHA3fXBrBDnTWq_uiIPVCo0,248 +material/templates/.icons/material/home-battery.svg,sha256=a7QnRqJ_lXFTNAx-B7mjag4bRTxFMgdmyZOjojmg3xs,244 +material/templates/.icons/material/home-circle-outline.svg,sha256=dM05y6YWCdZGbF7YrDW2coK0_z4fuMigUQwhl_9vM_c,226 +material/templates/.icons/material/home-circle.svg,sha256=56vUgOgwjF7UfSXCODXeGbAbGaseAuapBW3WVBLGwD0,334 +material/templates/.icons/material/home-city-outline.svg,sha256=HSfzqe7abne8IJ-AKX8Oqz_PhWvfWSCRbfI_e217bNg,249 +material/templates/.icons/material/home-city.svg,sha256=oOEn0SCI9yCWOnD2BzHDLdJAbnHqluNk_dfMFp6GRJ0,202 +material/templates/.icons/material/home-clock-outline.svg,sha256=7jJaX3Ln4SLL8pL02hAMVwAo-tFl183P2fIEIhWelME,353 +material/templates/.icons/material/home-clock.svg,sha256=MwKzgLFJHdfHykRYdvaYsOYyue-VvPS9CAguhc0WmtI,273 +material/templates/.icons/material/home-edit-outline.svg,sha256=UX0PWVIS8zyqZezmoznIDSFVyNXo2UEj5PHmubLDBbY,322 +material/templates/.icons/material/home-edit.svg,sha256=vnhzX3lr7UGr8dsB_h96dNSz6-FB3i_PP7MPNaUJoHQ,270 +material/templates/.icons/material/home-export-outline.svg,sha256=5ZjNs0NOYZn6ybrHMWzJ2KUiQvAt9wx86kLbSvcVjWA,166 +material/templates/.icons/material/home-flood.svg,sha256=7hClhEvSoA3XIzYB6CJX_HCGM55OTsElFhM7yI0sh7s,663 +material/templates/.icons/material/home-floor-0.svg,sha256=NnnVoPQCS4VXPIXHfqfM_zcnayzPoqZcx57NUb__zVg,193 +material/templates/.icons/material/home-floor-1.svg,sha256=nXBm_LIFsJovgDBgspIdlDs31jt8MOZUyaHyBcUPneM,127 +material/templates/.icons/material/home-floor-2.svg,sha256=Cn0vTyWiYAthR0HgKWHycq0O7kzI9UEgmD0SPNjiVko,179 +material/templates/.icons/material/home-floor-3.svg,sha256=anqM0q4391NGtDXPHRmC9DqwTj4ckeKJJ6RsqompeBo,215 +material/templates/.icons/material/home-floor-a.svg,sha256=2dNgDSbdxunmX52SIsPSHQIXG69DKNE9Un0B4a61cC0,173 +material/templates/.icons/material/home-floor-b.svg,sha256=dqg32Ql5BQHRz-NrfEDnsqH8WBI4ms_qOEdBA8qRNpI,223 +material/templates/.icons/material/home-floor-g.svg,sha256=ytCuYPo4iXmBUNPXv4jNa3nOCy6ePU-9m7uWXDxMUSc,177 +material/templates/.icons/material/home-floor-l.svg,sha256=viMMkCyTR11TatlFI85ibXVSqDGByd0z7f__NBZB2wQ,122 +material/templates/.icons/material/home-floor-negative-1.svg,sha256=Zup5qYKhFkrmB0FRiTaJjEjbymEnwerMyVDvK3kIFTk,141 +material/templates/.icons/material/home-group-minus.svg,sha256=9qhpNz1HCoNh034BL4D5aGi65Aom6ZLDS9zjwN43qz4,244 +material/templates/.icons/material/home-group-plus.svg,sha256=B9h2FsMRhsYm9I0PTZNIlwOA7e1ODzNnkZwZDiwMB-Y,264 +material/templates/.icons/material/home-group-remove.svg,sha256=mhwaBzMaYGo0OIBRBsYKa2a2Wd2LIy2T8YOD2rQ1QqU,333 +material/templates/.icons/material/home-group.svg,sha256=H3rHxQK54a6YQ96BJXweuhj7kp0MP560u99lnI0pmk8,193 +material/templates/.icons/material/home-heart.svg,sha256=6zINBAX8l1APWjBTKpX4Y8qAXh6vXKQAuXiJ7XWxqjo,281 +material/templates/.icons/material/home-import-outline.svg,sha256=X2vu-vmGsu0C2fIbVhLxI95NDAgtIIWuPE-EIyFM670,163 +material/templates/.icons/material/home-lightbulb-outline.svg,sha256=kdyNV39Nc5ZCisxdgWgA9bAtIKX3nlMFTJL0D_LvrNE,281 +material/templates/.icons/material/home-lightbulb.svg,sha256=OIzI28tw46a9wDYLoIj4FELtcgA7FNTC0uvU6_FQduI,148 +material/templates/.icons/material/home-lightning-bolt-outline.svg,sha256=Jau6llSqQUUAeyq0Bxwuc2g5n07YOHSSwK2LzpqKDIM,170 +material/templates/.icons/material/home-lightning-bolt.svg,sha256=btwxqbaFmVouDytTvvNOvPjL8tZKVVl0fnzhEc76nEU,136 +material/templates/.icons/material/home-lock-open.svg,sha256=VLcKhKJIqJPdJ2196i7YtWM2aLB0HBAU52yimwR5Fmk,185 +material/templates/.icons/material/home-lock.svg,sha256=oyyiEbLOgNwT45dnH8IFaxa0rSLA9qpJZIbaoLoayGE,193 +material/templates/.icons/material/home-map-marker.svg,sha256=klBjq3_8RQfKVK0LAVToPxIpAQjXGiylM2vmn_zDgOQ,283 +material/templates/.icons/material/home-minus-outline.svg,sha256=bf34dzLrCq9SmcfDeMDcMizoTMY5l07QsGRy-OMfoYg,162 +material/templates/.icons/material/home-minus.svg,sha256=Sxq380x73UJyfzVqDcBIeJSZIVWcJAKEBb2yjgsPkR4,145 +material/templates/.icons/material/home-modern.svg,sha256=W-Ba7Nuu-gxAFGghCSfTvjW2C71pMyGsqhLBRVaeaa0,175 +material/templates/.icons/material/home-off-outline.svg,sha256=vACuPXtx3aRaN5Snit1x-50AWb5oSnovpveObHc8FWo,294 +material/templates/.icons/material/home-off.svg,sha256=63YPQpmyGbj0uxrpOMkVUcNvkuEhOSjXhcOw0A2c8ME,213 +material/templates/.icons/material/home-outline.svg,sha256=JLIlLr_QyG05OqSS4RhDnduFnWmHZDdbsuhXwvSwpPE,149 +material/templates/.icons/material/home-percent-outline.svg,sha256=Ff04o9gE5xMNQVsHqp6Ro8PWiX4V_tXz2XEBtIztS7g,524 +material/templates/.icons/material/home-percent.svg,sha256=Z_M0oYZw3Q09dS2RyC9absoKVpfcU09yCTLNp4nJXWM,492 +material/templates/.icons/material/home-plus-outline.svg,sha256=g4KI-wOSjMaoEZ0R7GPtiMkUOJaExvfcw3Krr1WzGug,182 +material/templates/.icons/material/home-plus.svg,sha256=TYmfNQzlZOKYMJh_eXVzV-Lyib5KhmN6F3I257Evzi0,165 +material/templates/.icons/material/home-remove-outline.svg,sha256=wLVWspnQGXAfYcY4DTyD-MKllY6ycC6-Ne5RTqcB1UM,276 +material/templates/.icons/material/home-remove.svg,sha256=ut7hp-wNnUWo6rLS-J7FzdyPa6cu8V9lNAWX8diKaNw,259 +material/templates/.icons/material/home-roof.svg,sha256=koeO30AvrbDmRVd581YEk6F5BrZEDgQPwx_hJkR8umA,134 +material/templates/.icons/material/home-search-outline.svg,sha256=J-_OvolgNSJmOcYwkEMb2ogtDF5a4e-iduDFk_X9MWQ,352 +material/templates/.icons/material/home-search.svg,sha256=uQrEgCp0E49NZkRSM45XxC5gjP8HrtMz7MhgpmbsLqo,357 +material/templates/.icons/material/home-silo-outline.svg,sha256=Dz9VCH3WQ-TNk8jvRQNht2m1LFmiVeDoaS0fy_ONRTU,321 +material/templates/.icons/material/home-silo.svg,sha256=8MD_-m1-xLUuMnZkOH8UP6uiU68XratqfZhOCRcS228,272 +material/templates/.icons/material/home-sound-in-outline.svg,sha256=ndSgeBlRazJ2z3LXuRpjRC01J4-sqR_jH50eWUGC5OQ,472 +material/templates/.icons/material/home-sound-in.svg,sha256=7ebSpo4_7jUol45H13Wg77g4jzZBYqOO4F5AoGuU-PU,442 +material/templates/.icons/material/home-sound-out-outline.svg,sha256=WGbMQBdk5TqxhVKWJ0qhoaTccGbWwZcsYxHMQLY03KU,458 +material/templates/.icons/material/home-sound-out.svg,sha256=cAyyU7S2zzu8I62FwT5rEKbRTCTQ1CeHIktnkFuJagw,428 +material/templates/.icons/material/home-switch-outline.svg,sha256=gT6P_sSGaspQ45bifyAu7Ya9hwjB_HVtt-R7gMTLDL4,222 +material/templates/.icons/material/home-switch.svg,sha256=eDf63Z8FZx8QHy3sctxbHosZHPpvBvHim2blzhsUPLo,190 +material/templates/.icons/material/home-thermometer-outline.svg,sha256=SKEo4IfVo_JfFzN7ZPgHo5251pzcXT4s_Qh2pBpw8FQ,323 +material/templates/.icons/material/home-thermometer.svg,sha256=QPacqQMCFr1icYls1qHjk8DZCSbfpRHfVN2UNjeFXVg,310 +material/templates/.icons/material/home-variant-outline.svg,sha256=jThFIMwVJnSb7cJW6Eg1iuVIpujejq-KOpNcGO1NaK4,132 +material/templates/.icons/material/home-variant.svg,sha256=jr1FpSwih4CKOhNvd8YGtRgq7JQkHUn2x8KSDbOmfZ0,109 +material/templates/.icons/material/home.svg,sha256=T4FGqMJ4TexxKePGr_TVyBP87D-_C9n7en0-M6rdrIY,115 +material/templates/.icons/material/hook-off.svg,sha256=zaFm9fZ8COyopsosaKfeWSppdb_66Zf6U2jk3aBsBU8,413 +material/templates/.icons/material/hook.svg,sha256=rzIjOgDlOZVNQQvhl4OX_IQ9NEhWhlsWZSek7nxQEns,303 +material/templates/.icons/material/hoop-house.svg,sha256=5D4otv9RACyK_wU7ucBCto6Itpt1gL6UCqU6ioh8xFA,268 +material/templates/.icons/material/hops.svg,sha256=ojnKngbZlF17u3VG_C3crOl6soO6n34Y0dHRNCcVtGg,572 +material/templates/.icons/material/horizontal-rotate-clockwise.svg,sha256=nlUfjYxCtd8pfM3-Ls7uN91WEj-LmJaBEK9CbP9Grts,335 +material/templates/.icons/material/horizontal-rotate-counterclockwise.svg,sha256=pTckJH14kDnFFsDBEeMVmgVnB7c7rlf-rtAmKbWs8pg,341 +material/templates/.icons/material/horse-human.svg,sha256=Zm7s1U76GyV9iOI6n3Um_5-DClpjaJjq4LZPWLEkYrk,806 +material/templates/.icons/material/horse-variant-fast.svg,sha256=bsg2SM_DPO-YzbW7K_tovFyn3oYKaJE6abLmVZMcjlc,384 +material/templates/.icons/material/horse-variant.svg,sha256=o7e6Jk_-2Nx1kHehhoLGchkUYF0rQUvQPbfXqv3v60M,205 +material/templates/.icons/material/horse.svg,sha256=TKwivjS7w4SaQmt8YUFNZ1HqMedA5Or54MUcKu8OpBY,619 +material/templates/.icons/material/horseshoe.svg,sha256=RXAzzPFjnSAVsnHRhCF0LYVJNwKKn-S6lFmwZxJwkJ4,410 +material/templates/.icons/material/hospital-box-outline.svg,sha256=aKKJx5ZwQCE3C6cXcfN7gSWp4Ow6731-Nz_2w-nKJi8,200 +material/templates/.icons/material/hospital-box.svg,sha256=iN12E7R3K-XBrWdw28jO7mV3BchcFRoQxz94OwGZFxU,185 +material/templates/.icons/material/hospital-building.svg,sha256=BZIyFP1eNuIbeBeKh0OX08GcmftNX2cQKMy7xMscIT0,242 +material/templates/.icons/material/hospital-marker.svg,sha256=PuVUptCSkHkBquPcI-3ecKkAhMwD-uj7akMXiNN5JSI,176 +material/templates/.icons/material/hospital.svg,sha256=RWHuSpTN64BjJTdXrjJEaaNtApGx-jLGcQouZYDxQ_4,110 +material/templates/.icons/material/hot-tub.svg,sha256=tjgpYK__48cLIzw6A4y6p8BoD8IVC57Yn42fHOtP9-Y,658 +material/templates/.icons/material/hours-12.svg,sha256=YP4vqtbVaSODWzPosIINVNc5GBEWSbW6vyPhKqgTBYQ,516 +material/templates/.icons/material/hours-24.svg,sha256=1Mfwmz4WVnw54r3XgMcxNhAp1LTw5PK-sROfRpJwuCE,597 +material/templates/.icons/material/hub-outline.svg,sha256=lc-YlGh8ZiVYDabGHNeRjegROI3rs5G_ghaxpCq1yk0,904 +material/templates/.icons/material/hub.svg,sha256=TMbQeF4SBQ6qZmnpcCpdgU5VNSOToYdAex04QvCK5kY,585 +material/templates/.icons/material/hubspot.svg,sha256=3IFRXaLkbl9_1VUOyl9c9JIT0culWz-0vyYrWFHQySw,586 +material/templates/.icons/material/hulu.svg,sha256=OrFB3gY6HJc7mHGQQpD0spZHyc88MMzPYtpZCfHe01w,205 +material/templates/.icons/material/human-baby-changing-table.svg,sha256=7SIL3ryzj8hUlGxsgrDdI1VORscCq3iTj9A6q6FRLWE,436 +material/templates/.icons/material/human-cane.svg,sha256=0jKr4BXREQmZPQ20bhivvRaneDiE4KJVtW2rXX-doIA,623 +material/templates/.icons/material/human-capacity-decrease.svg,sha256=pQWJK40uY9FVXtXf9imDnF2DG0zWxDL4A3F26BfZ5_k,871 +material/templates/.icons/material/human-capacity-increase.svg,sha256=Zo7gaZAllWUpAkDB7kDpJV-0z2VjSJvGvWlenHfsIjk,859 +material/templates/.icons/material/human-child.svg,sha256=QfQ5RCqfApp3lBhL0NfL24Hp1buy0KsfivhqNUl_Cv8,176 +material/templates/.icons/material/human-dolly.svg,sha256=Z4coK3BLb1Y4wEx9aK7jXTM-92dhLYA0tHjp0r-Aefk,756 +material/templates/.icons/material/human-edit.svg,sha256=JtNn-lRIoDXutt4GLNRHKprNgnanc_SitVe8e4Osp_0,312 +material/templates/.icons/material/human-female-boy.svg,sha256=ICr-nJrw-WV4BcSs8BUWtsrhqe7g6XptTTl78aZRXmg,300 +material/templates/.icons/material/human-female-dance.svg,sha256=R8O0R3GrMDkPMT674FOgS6oB42efiC6PVkL51kcQT1s,601 +material/templates/.icons/material/human-female-female-child.svg,sha256=eesLAKfOY5igPLtA1_8TNpnv3bv6qqOwpVak3grz13k,476 +material/templates/.icons/material/human-female-female.svg,sha256=iKDqLpDXXK6VVwatQkEAFgvVjGRJMqX163AdZpG0ifc,335 +material/templates/.icons/material/human-female-girl.svg,sha256=yrMJo9eiGHNwAWF12Ip01x_WJb6B9AcHzPLKxNee0Ho,307 +material/templates/.icons/material/human-female.svg,sha256=xs3F_KAqaYGeu2NHiMKYNXkQWMDbkjPhUfNZXhJYc7M,226 +material/templates/.icons/material/human-greeting-proximity.svg,sha256=Rni3Xb9XqMNx85yBIRgOeu8y_YqTSj1R6bsxzhznN8Y,463 +material/templates/.icons/material/human-greeting-variant.svg,sha256=WHQxovvujCoa1HWJET9JyPwgx9QVLR1zLt6KbkJcE7k,224 +material/templates/.icons/material/human-greeting.svg,sha256=x73hN_LHSVNg7scGA8EKFjtkvIC-qHSduThKjf1Xjz8,240 +material/templates/.icons/material/human-handsdown.svg,sha256=Kl_ZZRUzQKh4JIgEMDKqzTgdfGmLcR42ifRdlKA5kC0,266 +material/templates/.icons/material/human-handsup.svg,sha256=GQc5luMyYInULguulbymJD9XnSJLYLxQ0luYgF5HwL4,251 +material/templates/.icons/material/human-male-board-poll.svg,sha256=QgfHRs0IVnCM95671MmXADEfA52EEIPaxvZY_MTb-Zc,286 +material/templates/.icons/material/human-male-board.svg,sha256=tJynfhipM7pqex6dQWBL-v31wL0LV3msS8vVGv6EikE,259 +material/templates/.icons/material/human-male-boy.svg,sha256=Aijy6jeiPGLaiV5hBVDS3A_pLdJH1Fp96N7IuNkgXOQ,288 +material/templates/.icons/material/human-male-child.svg,sha256=YXK10jS0_exOItUUOWQhrnKilBm8roLLGqZmdRQSPQs,372 +material/templates/.icons/material/human-male-female-child.svg,sha256=MlSvKiHDCqitgj7e1jJnVszilJQdKerwo5Grddlv3MY,466 +material/templates/.icons/material/human-male-female.svg,sha256=bLWRAQt349WoBb1N-4W9DRUKYfp6h6bPY-Mr-kRxR6g,345 +material/templates/.icons/material/human-male-girl.svg,sha256=zzvzwJk8psk6zhtNtSXIYxY4phreyrqu45MKh6hVaRk,295 +material/templates/.icons/material/human-male-height-variant.svg,sha256=QsoOU4NIh7U4LNveTC0c7EZWGuQvzwuFYAZezAGcmaQ,260 +material/templates/.icons/material/human-male-height.svg,sha256=jjcojnkR-hIG9kTvvaMyUN3MK_FHVS5k1C291hvoCV4,281 +material/templates/.icons/material/human-male-male-child.svg,sha256=n1MZTo88gKZP_1HTqR8Te6TJYAIHX2m7L_NMspeQyyk,444 +material/templates/.icons/material/human-male-male.svg,sha256=4f8M36SjWCknjG_ss85ogugtEJZL7xa3S2PSkY-FTEE,321 +material/templates/.icons/material/human-male.svg,sha256=FZs_WQ3Je64H2iN0VKxutNQDauS-8hAdscbUQLSAg0c,201 +material/templates/.icons/material/human-non-binary.svg,sha256=-YyT6QvFMGT11Olt4QTTHxjB4-jbmV-PDVK2h3RQHMc,209 +material/templates/.icons/material/human-pregnant.svg,sha256=8rvTrnpKsomlEet6HTpp2ZUOs_5r1p42FH58W2Cf700,217 +material/templates/.icons/material/human-queue.svg,sha256=dmM9iBCNJGXbtt8m3ppLZkQsR_b3jx1fFS6d1SycZVc,423 +material/templates/.icons/material/human-scooter.svg,sha256=OIR_hsHVDfmfGOBQsZYpVwj3Am9zYI7HDLAoOZjjqfY,635 +material/templates/.icons/material/human-walker.svg,sha256=pJ3URO07WvI0uIs3r0cb0HYuN71gy75WiM7Cp6Chn5A,473 +material/templates/.icons/material/human-wheelchair.svg,sha256=2hHPmwGGAt2pJS0kjdWHGXmgj-V71SY43yDVyic27gs,371 +material/templates/.icons/material/human-white-cane.svg,sha256=VS_y065ksQFQ_jXik_7sZCy9T7kvGL_1G-ZduWst4E8,514 +material/templates/.icons/material/human.svg,sha256=OXhV0ZDRi1mCxyfgWyTUQzj0qO2HCn83io0eoNEck6k,175 +material/templates/.icons/material/humble-bundle.svg,sha256=oL3SHDm4PxrnpOQ1WjEmTQOrXkYhKSUYSzlgFu9HfUA,421 +material/templates/.icons/material/hvac-off.svg,sha256=CHV71FzYipr2MB2rpnuOtanGXiKM_azAaW8UjXs49cc,561 +material/templates/.icons/material/hvac.svg,sha256=yUboAJ_kHdeNDpZD7pZiir7iidZJBxPWdJJELg4cqFU,387 +material/templates/.icons/material/hydraulic-oil-level.svg,sha256=SDeWQgTsMSfoAhGkdFs_7g9e0WVhA2SXny9DY7ZE7no,251 +material/templates/.icons/material/hydraulic-oil-temperature.svg,sha256=tDM0TOrKW3E40vKUHMcGuGsNVYrMVcgGz7g7xYJ8ESo,334 +material/templates/.icons/material/hydro-power.svg,sha256=6sAeHvVJzAEA47T8g0kY9hOdD5Q32STBstlkk8jY04c,966 +material/templates/.icons/material/hydrogen-station.svg,sha256=34PagNmxLCWylNtVxaeZCti-lYYwQ1s-AZlqOK_b2qw,417 +material/templates/.icons/material/ice-cream-off.svg,sha256=e96OiJsdGT_0pF3uZn15k5X0JxzbghCaTE_vyDdIlz4,385 +material/templates/.icons/material/ice-cream.svg,sha256=_ytRFiZnEHAoTWFi8YV464OBZsbQ3sFP8c7L2dG9ic8,316 +material/templates/.icons/material/ice-pop.svg,sha256=aIJz0mInDiej373LaeDRpHS03gCR6ExXi9P3o3wS2sY,235 +material/templates/.icons/material/id-card.svg,sha256=Dy9LLUnrsvYYf-1GGddftTaqCJxQ0KYtVowXA3SuUEU,232 +material/templates/.icons/material/identifier.svg,sha256=FoeRk0eUcHgIVoMf5ijqtKRNP5CvxUbp582ws8sLqtA,164 +material/templates/.icons/material/ideogram-cjk-variant.svg,sha256=1Vz4Y0iKrjQ3WVWxMjJGTl0zwMHHQ6k5-t9Agp7wvZE,387 +material/templates/.icons/material/ideogram-cjk.svg,sha256=eVQlVRjB1wishv1Jsbxs0dJHh4zyYlDaTJ2V7GUuduY,166 +material/templates/.icons/material/image-album.svg,sha256=kLb80M0h8H1FBAm1vORpxtisKnYfCrH662fXX5bUO3g,209 +material/templates/.icons/material/image-area-close.svg,sha256=ofakE7jBUZvkCAvhNazdifIADM9_85FGjZxmDcMpqj8,201 +material/templates/.icons/material/image-area.svg,sha256=zc9QgkasN-40IlnW81ECG-WXpRHQy5fkx1mXQzZU0RI,186 +material/templates/.icons/material/image-auto-adjust.svg,sha256=6NKEcTsngrbTDukBRp09MsM-CP87dzjsD3OLBD0MRpE,293 +material/templates/.icons/material/image-broken-variant.svg,sha256=5dYYrMfMUsV64iL9O166LhPeQQJNTWJkazjyiZUTTtM,220 +material/templates/.icons/material/image-broken.svg,sha256=o-PKns4LQ7-stZTd8Cj5cHhPpoohIOujgTUaJKsmPp0,287 +material/templates/.icons/material/image-check-outline.svg,sha256=AMcquA03VYOns2qhK2lpucm94UMn2eq1J6sI4MsPJfo,394 +material/templates/.icons/material/image-check.svg,sha256=U8Sl2KiG4nvKUE9lrkTK4yDYCPAWLpRQ_YOKD8F8cA8,382 +material/templates/.icons/material/image-edit-outline.svg,sha256=KX3SBw7DCnvIG1SZZ6jTD55OykNfC7LsTkidRBsIrVM,345 +material/templates/.icons/material/image-edit.svg,sha256=clGS3vOQii9b273LzYB9x23UyJC9wYqq950COqnRWmI,295 +material/templates/.icons/material/image-filter-black-white.svg,sha256=cUmAEUZuH4p-1ExpmQ6P6f8D9aOtxmL2j0UprkboW9E,171 +material/templates/.icons/material/image-filter-center-focus-strong-outline.svg,sha256=bnXu4BCKzFurTOX0WzNF0R1YuMBvIzsFoW1O3dH6tq0,350 +material/templates/.icons/material/image-filter-center-focus-strong.svg,sha256=riTqsKmTRQLu9v6FnMuEvGX56JHxk5RcLqnXOAkyBDA,282 +material/templates/.icons/material/image-filter-center-focus-weak.svg,sha256=UaHglot5ePmPYmJpDP7YdQ3XzLkMtJg6GGzgWuxbfF8,322 +material/templates/.icons/material/image-filter-center-focus.svg,sha256=ThYz7MzgfdsOgyKGOnbbJstDfQNvvrCm6AdSR_oFxDQ,264 +material/templates/.icons/material/image-filter-drama-outline.svg,sha256=vQFcku7YbMlo683oJ4lSyGQBTESdtm77mvFOrigdZLU,515 +material/templates/.icons/material/image-filter-drama.svg,sha256=WA68pKjniWQsxjUCBZy2iDR259wmnDkLpzGkbXIRfAI,321 +material/templates/.icons/material/image-filter-frames.svg,sha256=nzzYrlad9N12TariOIyjeRakK1UdAIYJKSWnvDvrd70,205 +material/templates/.icons/material/image-filter-hdr-outline.svg,sha256=OmaQFWfCPP3uscMrOhn2sC3NO21OWLs9rdQYwAlcdiw,175 +material/templates/.icons/material/image-filter-hdr.svg,sha256=pSdSE4bJqPQ2fhfbokkoDFGZWjBbX5Es5_FrRChdp4c,142 +material/templates/.icons/material/image-filter-none.svg,sha256=K2H-4eAqARz8vmJkL58O0I18xFUckbDL5-A7Z9wP3co,195 +material/templates/.icons/material/image-filter-tilt-shift.svg,sha256=lIti5S6Q85B_6n_wGt2WlRE-RgHNfRnyIyvA2xMggVc,729 +material/templates/.icons/material/image-filter-vintage.svg,sha256=v0Q4ZZBm7zWRZ9RJycpDwa4CpHzLocjG_UdOvwaQH5I,669 +material/templates/.icons/material/image-frame.svg,sha256=rXJ_-HVUwMKbFeFKtSkAudMxhEGNikCOHrpZNhh1c-E,377 +material/templates/.icons/material/image-lock-outline.svg,sha256=ri4sS-CTzxop23TQpQ8vxwc-gAH7hTbTeld73eaUkh0,511 +material/templates/.icons/material/image-lock.svg,sha256=b7s9ilDNChNrABI7Pn3JJj_l_raq0iJjXBQGeBqVZNI,439 +material/templates/.icons/material/image-marker-outline.svg,sha256=DgNyCuTD6ORt9ZJ0eLlXXebiMLaaiLglQRe6Ki41Z6U,447 +material/templates/.icons/material/image-marker.svg,sha256=msEG7y5BGrjL_HHKe16Mx2gM5scy5a44JfbuLfFEIMo,405 +material/templates/.icons/material/image-minus-outline.svg,sha256=j49BqK8aixucqtPKB_S_gdyTDHQugDHNzIItOHnc3uk,288 +material/templates/.icons/material/image-minus.svg,sha256=WS4eHUq_OV7WP_MWHoywplJZ_iiJ-gChrPy49Cj4tZk,258 +material/templates/.icons/material/image-move.svg,sha256=7tY-kjLiBgk3KuqDHRD2W_HwJg-pHRoJJVWuejEf9Zw,252 +material/templates/.icons/material/image-multiple-outline.svg,sha256=9945jbgKmCultlPKEMm90fsKZtqXsT0KahY9Szsx-Ok,246 +material/templates/.icons/material/image-multiple.svg,sha256=NoSKW3VS3xqrXCKbeYE-Id_tQ93y2pTqDuShmAKg07Q,209 +material/templates/.icons/material/image-off-outline.svg,sha256=U43nB2M9HGUwVirc2J_qlICe1GCEBEXwAPvAd-crhI4,228 +material/templates/.icons/material/image-off.svg,sha256=IOXUZav2YmzxKt21rDfTE27kiL-lIqvmGBwRZ_HKJYM,216 +material/templates/.icons/material/image-outline.svg,sha256=d4F4UvPhHloZ7UPR4w5KOYrS2HremTI-vg8DYpt7Vb8,214 +material/templates/.icons/material/image-plus-outline.svg,sha256=rZEBhc1bOxglOu4NMlGpznRT-yZ8IcWx1HjguMmZypw,305 +material/templates/.icons/material/image-plus.svg,sha256=xzNrIVe2Hz4LLLa15IqVja0etynkpUZfXWJfGbpiTH0,278 +material/templates/.icons/material/image-refresh-outline.svg,sha256=-AuBk5gBNR66pHSq12Yqj0eJhApVVZS5LeuAvKkijgA,407 +material/templates/.icons/material/image-refresh.svg,sha256=ZzvDwi0_YJse-gKmUXoUcNFZDPTkVgZKA9-3RQut0Yk,396 +material/templates/.icons/material/image-remove-outline.svg,sha256=j6KuUDNihjiC8wmsBuJAkfnXFjQ0jJpKeYmZ3b_Hj8c,400 +material/templates/.icons/material/image-remove.svg,sha256=vplVEmMWZWd7Be4RWIBJfQsaAb_CN8juPTWI8pSWzzo,345 +material/templates/.icons/material/image-search-outline.svg,sha256=MAUv5We8Gea-QfuGf_v7mkouFW0GQ7FxCUAfBfaLr9w,710 +material/templates/.icons/material/image-search.svg,sha256=J60SxNWnWXMctAY5AR9ZDb5pWsQJnU6G0lkMRQgfiK8,470 +material/templates/.icons/material/image-size-select-actual.svg,sha256=-JaxnA3-XW4iNryh5Kgh2oYf5uSHdkX9EkHK8jtuUhU,179 +material/templates/.icons/material/image-size-select-large.svg,sha256=TD7FBbBam0ugYie6QxxxKhWMCfo99C0dLP4pl4AVCbo,331 +material/templates/.icons/material/image-size-select-small.svg,sha256=StIQInYSGP6F7IHHn1YEZ0g9tYwjjgRllFIMKJl9NhM,320 +material/templates/.icons/material/image-sync-outline.svg,sha256=UGQ0sJtoQHJPyV3M3zUHCGRhwhMMvW3vN8pgsK0dVVs,546 +material/templates/.icons/material/image-sync.svg,sha256=R470Dln2djU6KYjrVVlWRoRPrJNQnZnpZfzu5LgILJs,495 +material/templates/.icons/material/image-text.svg,sha256=6nw5_eVCu_hpNntTW7QAO4-37CHW9fvdTE6uDMd9bLY,235 +material/templates/.icons/material/image.svg,sha256=thG2sAtrRYc8iKMiooupRm9Vqm9OwpuecSWqtiRIN94,181 +material/templates/.icons/material/import.svg,sha256=DsqSmuIIMs4Coz5PxaX7ZRD0Z_31N3vqx4ukfAIbTvw,188 +material/templates/.icons/material/inbox-arrow-down-outline.svg,sha256=REpbtq4BLS9hKdy7K_JNhvz8U9vB2FZcLMLkjYMoggY,276 +material/templates/.icons/material/inbox-arrow-down.svg,sha256=8xeU1wfgsnTyZtZN-97pd_KrrvuIxpWhjfldKVvNl2k,213 +material/templates/.icons/material/inbox-arrow-up-outline.svg,sha256=sZ6IqLzRgyot60qnBdrK2SVxszLL85vicXEmCBuqkEc,276 +material/templates/.icons/material/inbox-arrow-up.svg,sha256=9_svXFBFkz-rGAhSZX2WS20WRsiGbH5i7geVtd6RYzo,222 +material/templates/.icons/material/inbox-full-outline.svg,sha256=YUodn5wCdS1IgLFJvtDIdKpI_nM1sUg7xCPnNqAsVWc,299 +material/templates/.icons/material/inbox-full.svg,sha256=jsKoDyMVsSz1Ane_8EoPGfTZrmwJkIhC21ijeszptGs,226 +material/templates/.icons/material/inbox-multiple-outline.svg,sha256=ZnSzAvVnmxb-NsmPuTQ5-HhW26Yi7OUC5RrK7KPaAT8,440 +material/templates/.icons/material/inbox-multiple.svg,sha256=Ml0HJB79OEd5aetrsb_1FJEhDjegzsertmz5uQCoYCY,263 +material/templates/.icons/material/inbox-outline.svg,sha256=bkzx-WYbyWJdEqmkBlJPvPWGSrLzuQjpdd_mH7GZJhQ,256 +material/templates/.icons/material/inbox-remove-outline.svg,sha256=EqjFL004OgE1Nqg9d-1cyu89QQVoLkCssGJbGXsjtZk,368 +material/templates/.icons/material/inbox-remove.svg,sha256=OUE-O00hutsTYLgzI8mPnbTfU7jvV0ape7Vov5nMNYE,300 +material/templates/.icons/material/inbox.svg,sha256=nqAqw5eC2rxfl71jc_LtHVRWn9cEgShd7e4uzUS1x3s,193 +material/templates/.icons/material/incognito-circle-off.svg,sha256=LpSlyV-U5Oue2rCoUvNOXrLflaiZO1b5r1V4VaQDRFY,830 +material/templates/.icons/material/incognito-circle.svg,sha256=KAA3dcVD-evJmzTbL0saNz4HjIKUTwbaQuWpQk-td3g,736 +material/templates/.icons/material/incognito-off.svg,sha256=2em79_C1pbxOHBB6-EfkK6mOiGKnTVAotXXCsbUyxSM,848 +material/templates/.icons/material/incognito.svg,sha256=76I_x0FusgzS9LPaFy_7ZvCf31okd4BnDvUavMOucDA,657 +material/templates/.icons/material/induction.svg,sha256=XAF3BF9bulq3u5ULe1dmkVej78BA_EbLrYz5S4BHCuo,657 +material/templates/.icons/material/infinity.svg,sha256=HNfNyrNUha3tSoyMUYKvW5kyl0ZWZdbexjQbmD3KDaQ,578 +material/templates/.icons/material/information-box-outline.svg,sha256=2W2AAN1aUQzrexC94pl47kRBGSCR523K62yoODtRXkA,262 +material/templates/.icons/material/information-box.svg,sha256=66bD1aCNqR6d9cHxHBiWe0qjEM0pBaIIIZBp1Q1MT3s,245 +material/templates/.icons/material/information-off-outline.svg,sha256=kM28QAbuVFtPF-apH4lEDiEJzsV2YUv852bUdYhuGck,421 +material/templates/.icons/material/information-off.svg,sha256=fDp6rTkjkMWOXjyowX5LB7CE86P0MjiAHJyQAG6Sc_0,294 +material/templates/.icons/material/information-outline.svg,sha256=Kn_DhCAh3hZC-C31jppq-U4haLNw86O07hAdx2InGbc,239 +material/templates/.icons/material/information-slab-box-outline.svg,sha256=P4ObBlhwDMfILoSV5fobnNJCMyLD-W8PuXYnUppd0RU,277 +material/templates/.icons/material/information-slab-box.svg,sha256=y-g8KOTcyxjgphYbHWGfwro60hxX-tfV4yRLHDAYepg,260 +material/templates/.icons/material/information-slab-circle-outline.svg,sha256=iGbyphr4JTbQMvdFuIeFmiwB3qye7udnLiaa2IWJLcI,239 +material/templates/.icons/material/information-slab-circle.svg,sha256=wYK0NNvXJ1ItTMwoeFMN6g8pJ6tQqj92KXuS1RAxdz0,184 +material/templates/.icons/material/information-slab-symbol.svg,sha256=SUi-9SanDKJNN1-tx7S-SFnEbJar_UfyBuVy4qoRJu4,122 +material/templates/.icons/material/information-symbol.svg,sha256=5tf_F_PgOnOLJbE3QC2qR3JuCJ1I0tq2FJwJDmZ-ptU,107 +material/templates/.icons/material/information-variant-box-outline.svg,sha256=ToGEXyPe0UAzJyNBZYjLgHQrE5mlEGk2lY01esHvdO8,794 +material/templates/.icons/material/information-variant-box.svg,sha256=iTciMCFAvIqo0BRGIsC66gK5Mov1o3I8owzYnL46TLE,756 +material/templates/.icons/material/information-variant-circle-outline.svg,sha256=N3PycqLVjqCGe8gSQh_sJpfCqzrfp2LkGtNiP5zQKoc,757 +material/templates/.icons/material/information-variant-circle.svg,sha256=iCEfcK6uFuADtJB-_Ut-h7O8RXOmlKgvfUVp-asBic8,699 +material/templates/.icons/material/information-variant.svg,sha256=b7u9rinNHp9THOGUTZn_I6MEty-LDFePtzBOxuApivo,463 +material/templates/.icons/material/information.svg,sha256=8ufcxv55OQxahCnxlYYIYYQMr3Sxxu60Hhg7bLEWdS8,179 +material/templates/.icons/material/instagram.svg,sha256=x3SP2yDE5Q9EUw_sdK-dZqbHfuVOPcQtdFNMAWPYNtU,525 +material/templates/.icons/material/instrument-triangle.svg,sha256=B6p6DzDeE9gziUhYzcifoxCWhMNNVEQVdDULdQJBhBQ,210 +material/templates/.icons/material/integrated-circuit-chip.svg,sha256=8i8PDJE_yQAbl99uLYo0gU5NIN9NcS3teWviN0UjuuM,335 +material/templates/.icons/material/invert-colors-off.svg,sha256=evhet0TUxFAxRtW0wb5T2Qk1u4JIFmIAtplTvLJCWiE,438 +material/templates/.icons/material/invert-colors.svg,sha256=sT_saGfwsKyzqxGD9cxWNpH5SNrU4cMJMfOB4pVz6D4,307 +material/templates/.icons/material/iobroker.svg,sha256=3quSZVigbQ66JOZa_viv1g2UQMy5pTRHbKmnvVt4Aao,462 +material/templates/.icons/material/ip-network-outline.svg,sha256=MvIGQfhYiLZjk6fkAWFNA09hOUwYIiunJZVdeu02zIk,321 +material/templates/.icons/material/ip-network.svg,sha256=8rlVzG96A9uztqshnjgBtOHaPytYI7isXqC14PP0DWY,310 +material/templates/.icons/material/ip-outline.svg,sha256=gLKcaU8nkCNjcGUEAVMrmDHJgTAp7Lg_X_QMXZEpR6g,243 +material/templates/.icons/material/ip.svg,sha256=uYdA6mtLfiFaP2jpOvlPxTl1erCI4mwYjyVO1HLNcpU,225 +material/templates/.icons/material/ipod.svg,sha256=VzGUDymXZiaRnIOZRbGOFBGqgu0T0T9p5FDQXfkR4lA,282 +material/templates/.icons/material/iron-board.svg,sha256=hOmJcf0XcPsWP_mauCzTuHxXBUiJKYf6FcYchw-bHWA,366 +material/templates/.icons/material/iron-outline.svg,sha256=fX9LRVrscu7Yrc-edLt08LrmwyJzYT71LbgT3GESpk4,301 +material/templates/.icons/material/iron.svg,sha256=1V66PqzzbFxPskuyKCYq-tAz5UegjIimgQM72PlWxo0,272 +material/templates/.icons/material/island-variant.svg,sha256=JTwh0O6pCsfBXGGF-3hNUosfMZd72gi5MPdERh0-X24,368 +material/templates/.icons/material/island.svg,sha256=wuylgHOS4VriEK2wIjVugzM6g4_GNn46KCENdUbOGtE,983 +material/templates/.icons/material/iv-bag.svg,sha256=tz7vKsOddsUlouahd6DlW0ydwONsVFaBL6lxfwFY0fM,272 +material/templates/.icons/material/jabber.svg,sha256=qSf5IkFhmmYZuVEEAE1VFS3FRdGRc3EWrdqkRP46dOQ,960 +material/templates/.icons/material/jeepney.svg,sha256=IAdYazHrihYnKavXqC02vIcks-6KzPiS7l-0tbEJzhA,454 +material/templates/.icons/material/jellyfish-outline.svg,sha256=S6ZvanOwanDayFbfjHrDKsCyFMpwOXR987TC9EWqJc8,802 +material/templates/.icons/material/jellyfish.svg,sha256=wLSFAeCx472GTResESCKCjIn8g-kSdl36XPLXvTj9d0,765 +material/templates/.icons/material/jira.svg,sha256=ietaADLf-b8p4IZlQqFBAONhdID9z-BEPxWbR2Lpbqk,393 +material/templates/.icons/material/jquery.svg,sha256=VWZOtbFG23oNxyzTp38CmYnoP9eApaSmlvzR2OSivpY,499 +material/templates/.icons/material/jsfiddle.svg,sha256=ZCla86a2RNtRWzi5pT-2VQXURqddV7Rf3hq4ULrKKto,1276 +material/templates/.icons/material/jump-rope.svg,sha256=sLOih3k0A6l5_g6tXWxk2-LZDR5xzS0Qe7TVdzRqKR0,564 +material/templates/.icons/material/kabaddi.svg,sha256=ZENbcZ0yC9GFRP1_0triScT7tSbxPIO2nrzT7UNoPhE,566 +material/templates/.icons/material/kangaroo.svg,sha256=84zR3OoSlpCupYFK2J1dv9Ms-tbFjy8TK0mV5X2v9fA,854 +material/templates/.icons/material/karate.svg,sha256=UCmHaP4uXi1AG84QCnb_oPBts6dVby5nI4dyMBvBfLw,264 +material/templates/.icons/material/kayaking.svg,sha256=TvuX1qbg5wiDwXT7ujODfGdCBA1dRVXOa6HnIicaiFw,740 +material/templates/.icons/material/keg.svg,sha256=H39sa2-jtMg8XPM4gUNnuz_hf6598SxSWVGv8HWrJqM,214 +material/templates/.icons/material/kettle-alert-outline.svg,sha256=kXloXPzYP-vuLB51A2vK_SmrA_M7er1j1J8GycNMlP0,450 +material/templates/.icons/material/kettle-alert.svg,sha256=42p239uY99TLfmwXNaQeAmElhmvbmnGnmj54jog7p0E,444 +material/templates/.icons/material/kettle-off-outline.svg,sha256=Ot3yJMmpiLLIL2Qmexok95TLk_mRzqgA3FQfKvmLfxU,564 +material/templates/.icons/material/kettle-off.svg,sha256=g4dtwe3e0DhDHFgw3-nCPg4TCI9BVro6wyEzsdJHqP8,502 +material/templates/.icons/material/kettle-outline.svg,sha256=NWBcMTaF7nd0XElKnSmQ9vqSkTPvtbFQDu385-n5UOQ,413 +material/templates/.icons/material/kettle-pour-over.svg,sha256=1JAEbR5fTH7XBp_F4OICuBxiOklRo2Q-sGDs6RVxeuc,316 +material/templates/.icons/material/kettle-steam-outline.svg,sha256=DNHIBUxcY135Udnmn5-rZb6rdjW5nJQb82IP8AwJUQg,715 +material/templates/.icons/material/kettle-steam.svg,sha256=Gj3Wa0fKT-0pALoIN-CCLel_jmoqYnkqb_Qy7bXZpA4,752 +material/templates/.icons/material/kettle.svg,sha256=ykGljtOGm2buplB3Wni5qh6viN8-q4_NIoGbPUJSfuk,471 +material/templates/.icons/material/kettlebell.svg,sha256=6oioKnwh7Xmy0S2z8-Zp1qdkQjS3vr9H3fjmPoUkkzY,407 +material/templates/.icons/material/key-alert-outline.svg,sha256=I-U7HdveVwYdG17HEYl_w6rqKykhZFm4MKPtJhQ4S8Q,427 +material/templates/.icons/material/key-alert.svg,sha256=iLLKo1npT-4ytvvccHtVbjGQ0EX-PZbZZCUR9vxnOAA,267 +material/templates/.icons/material/key-arrow-right.svg,sha256=JvCnJukOqjuotUgmZV5g5a--56-wIROXGYmeZiG18uw,254 +material/templates/.icons/material/key-chain-variant.svg,sha256=TixggSaUOzxflF6hI5aoF5Xk-YjbBofQQN182e2-KaQ,795 +material/templates/.icons/material/key-chain.svg,sha256=EHs0nb2YdRWfGCyk7BPgzM1fgzG8eL4lt4_AHue-oCU,801 +material/templates/.icons/material/key-change.svg,sha256=aHIBuvoYjYapN113W5c5XjDfqLERQBBskkU9Ga60eXs,395 +material/templates/.icons/material/key-link.svg,sha256=NZKcxsf4CGchWcYbEfz6oSM_vX1LKI_BMF9g0q2yWFQ,388 +material/templates/.icons/material/key-minus.svg,sha256=gtxDehKeIOTo_RlfkWOLyJkeV3gHnaw4L7byJHWfhSw,241 +material/templates/.icons/material/key-outline.svg,sha256=pvC4rl5Cqpk7QhKB35WWH7qqDILCy3SPU4433SedSIM,373 +material/templates/.icons/material/key-plus.svg,sha256=5zfnTldFxsop2tX-yaf_pMAY0Yuu4rYOEMa2XHQGyuc,261 +material/templates/.icons/material/key-remove.svg,sha256=5TX86UqaZ1UrV20KfI-PUkEQQMzQjE-E-5z8nwfEeVg,325 +material/templates/.icons/material/key-star.svg,sha256=njQNMy4uhPXOH3ZThi8w7JHzjDD9zQJcLd4YV8Z4TA0,304 +material/templates/.icons/material/key-variant.svg,sha256=teatin2HTAprh0WASCRCNwTv0Ln4eqwP9AnnHAyppOM,269 +material/templates/.icons/material/key-wireless.svg,sha256=5eywHP45q_jOE0L54aRq8Iqd0jqDiiUMEWVs1xWGf7U,385 +material/templates/.icons/material/key.svg,sha256=TVDqfpX9l6GJD2PwoSHUHiBdhRU2k9gv2XYTfsAAgcw,217 +material/templates/.icons/material/keyboard-backspace.svg,sha256=hWu5pKLDHTMEa_il3gfCaq8yC8kbI9kJUm6tKRa3e8A,137 +material/templates/.icons/material/keyboard-caps.svg,sha256=SJd77ivJvPkGbZBVuPQ1y0KpVjLngrEYloYWHKINAwM,142 +material/templates/.icons/material/keyboard-close-outline.svg,sha256=hIGTIBJFoTpjcDIXBujkj7VQj_wsYBKDXBf56aU9D3Y,319 +material/templates/.icons/material/keyboard-close.svg,sha256=MmWNYfeafjRJm8TL5hLjye8uBX93NJBeQpM5Z-TQXhk,284 +material/templates/.icons/material/keyboard-esc.svg,sha256=7t-xgFCdZcSdyJ9YIdggVvgRwzaeRTwhNqQyGnY0Rws,290 +material/templates/.icons/material/keyboard-f1.svg,sha256=7S6V6xTH9trqW1_sXGTYX2a1xkGMtN7v9wqUsOarU88,122 +material/templates/.icons/material/keyboard-f10.svg,sha256=UUtqfaLL2b5cTqTUuIe3HB-5sW3RlxS5vuTrjPaEgco,207 +material/templates/.icons/material/keyboard-f11.svg,sha256=OSp1N-7g14x9WSMkx2X5dZ1iKR9tIXk231Ye2theJDs,141 +material/templates/.icons/material/keyboard-f12.svg,sha256=-Jql3Q81CiXrzKHKiXahIIK39M1450C3VWHS0j_KLh8,201 +material/templates/.icons/material/keyboard-f2.svg,sha256=rxWQTkMLVdjNzRiqcYATnQVfqfdOoINfVrYkTteHPYI,180 +material/templates/.icons/material/keyboard-f3.svg,sha256=OpyrxqLi24dOFG-FOsYhSwr1QOyhnP63VbIjxow56JE,216 +material/templates/.icons/material/keyboard-f4.svg,sha256=uhnnI3uW7VZToYQ7Q96J537n3gJwq9_d8uC_fbfCuX4,131 +material/templates/.icons/material/keyboard-f5.svg,sha256=12-NBBCVhZqQnLPCMRlz6WQeZvVFQ13ZawxgA33HUKM,167 +material/templates/.icons/material/keyboard-f6.svg,sha256=95hIMhZYMXGqpsqjwEcpX8oUFH8q_egzrli3vqIeJgc,199 +material/templates/.icons/material/keyboard-f7.svg,sha256=IKCOqJX5_7_HDf5eoV-pr1sc_3l_rmwXOriwbQVvM8U,130 +material/templates/.icons/material/keyboard-f8.svg,sha256=qJM8LTadbqCfbSKEid0yDWUJPttdeksEVbqQc66--f0,298 +material/templates/.icons/material/keyboard-f9.svg,sha256=Ap8eoVzQKNE4Rn1bQufL-WsYhJTw7oZ2GY4NaSNAmAA,201 +material/templates/.icons/material/keyboard-off-outline.svg,sha256=pHLSHn9vcf8JraQwtRjEDcnfryu2zlyhILMHfMCapUE,400 +material/templates/.icons/material/keyboard-off.svg,sha256=5RJni_4zmlkld2fH53g9UBJLzwXJtTbaF2ar-7sbFkw,381 +material/templates/.icons/material/keyboard-outline.svg,sha256=t3YepG2jKh0-8sEB1x0I-CSFeNGNkgDEcHyiliiQtRk,309 +material/templates/.icons/material/keyboard-return.svg,sha256=rTdp6A9fJsvp7R2bJqkVO9WA8B5YHHDyk5vxaEtvxmM,140 +material/templates/.icons/material/keyboard-settings-outline.svg,sha256=a9wLOer8BU5iHiqa-gGc2qZ3y-hamf6yQJczAPLkYFU,351 +material/templates/.icons/material/keyboard-settings.svg,sha256=_PSd--JzZzYKOdzN623os8Pr1jjBIebH-vk2dmk04Ec,315 +material/templates/.icons/material/keyboard-space.svg,sha256=D5EsUnHzm1_EM42JyPT4LFH5STn_hAIRq9GErL5v3_Y,134 +material/templates/.icons/material/keyboard-tab-reverse.svg,sha256=aS-Vr2nFB1IwdGQZIVPZeExR1uisc2sI10quYU9K2Yo,147 +material/templates/.icons/material/keyboard-tab.svg,sha256=gOXX7NbPZWYNSZhtN280FNZuTRezQhDJj2hB5DIv1mE,157 +material/templates/.icons/material/keyboard-variant.svg,sha256=y3UZVjt3JiFYJozktzjHKR5MenOkQuC0XtDLg_8YAD0,322 +material/templates/.icons/material/keyboard.svg,sha256=sklJB2CseXJTYslvOPiOhVCUey8iUAjE3h_qU-P7FjU,277 +material/templates/.icons/material/khanda.svg,sha256=WlKAfXsOCjBtcdcqNxtcSWNQQhONCPvOm9EGpFiLAOE,823 +material/templates/.icons/material/kickstarter.svg,sha256=NWsx_Vic0OfyAdKS-c_7sKq4hiWsRgpNcYZFH-4_49Q,323 +material/templates/.icons/material/kite-outline.svg,sha256=lCF71wQpS52yMLHoluElyGJui-rMXG3mm2SUrFBWY60,542 +material/templates/.icons/material/kite.svg,sha256=2wPUDbTbWtYYAhcGjOtKOUtHZsLDuF6yN9vUa3dmsAM,502 +material/templates/.icons/material/kitesurfing.svg,sha256=G3Xo7ZDZmiA_Fw5fntf0rRoIPleRptCx7Qud6zYF-es,710 +material/templates/.icons/material/klingon.svg,sha256=J0vsOH0mh6fnRBlWwGV_P4TrL6NcbYjrx6md-GFrwGs,1151 +material/templates/.icons/material/knife-military.svg,sha256=1kstpC-cFUds06mWdMvsREyXcvlIgxgGSLc6g_4ZOjQ,229 +material/templates/.icons/material/knife.svg,sha256=5j3OW-m2y-jhYwOx5JP6Ko9gKD9SDEY3QgBofVdzZQw,156 +material/templates/.icons/material/knob.svg,sha256=ZY_q-Oi8bTR6-Gt003dogRolbJx0v995nvmBV4qpoQk,179 +material/templates/.icons/material/koala.svg,sha256=Sj8QDWa7JDPyVT5lvpHrz8_gWFpb95fyOGRnonG7fYw,677 +material/templates/.icons/material/kodi.svg,sha256=17Hi59SPWkjnrgNP5AehQoKGV8SPFS19xFn4m2Fq7Mc,1080 +material/templates/.icons/material/kubernetes.svg,sha256=Iu6Arc4TMXcv-1apzkRCgAjDxc9yVU5U7QYk3HKtapc,3177 +material/templates/.icons/material/label-multiple-outline.svg,sha256=xcCyqziwyFUaGVmAW49iOTvG3zUsigOqEMpbaMz2rJ8,278 +material/templates/.icons/material/label-multiple.svg,sha256=IMU0doWzY-fmGxqksL2NslTJo3FHcYwOmsvAytujsXI,259 +material/templates/.icons/material/label-off-outline.svg,sha256=fsVsXEDRBJmYvKmpmvc7YabKndqmOcGCF5mPM5ycqHU,286 +material/templates/.icons/material/label-off.svg,sha256=rz8S6vkIHsty2YBOGWrh1q11GE1Eqi7hWKLEDW0kywA,240 +material/templates/.icons/material/label-outline.svg,sha256=O1iBFyV3Ka5QmpdUt0TMmuzqtqcGvqXxtIyiz85CuGU,211 +material/templates/.icons/material/label-percent-outline.svg,sha256=rL2FJCHziaQA1uifDNgVmImivQ7YoFZJF-IujYlThJc,438 +material/templates/.icons/material/label-percent.svg,sha256=xDWR8DPtPy6zzZ35d48FqqbyVDBffaQLqPt-W68c3ug,410 +material/templates/.icons/material/label-variant-outline.svg,sha256=iQCyXWKyraNamqcw3q3jzloHXlu1Bz7m5VQ_07w8H-Y,198 +material/templates/.icons/material/label-variant.svg,sha256=jmSrX2BAd8nso4ujBxVbeSiueJ4xqkV1-Bm_lI5I7I4,169 +material/templates/.icons/material/label.svg,sha256=EN6d9a1k95MG67O1SS4aG6GEuXNEw4owGQJfTDO9xp0,191 +material/templates/.icons/material/ladder.svg,sha256=Z0l2PZ_dNUfzck7oY-Yb8cyQuD9CMcrOXm7x65Lovzg,154 +material/templates/.icons/material/ladybug.svg,sha256=daGs1vCLr6C6PQkPRR5IfiOe2ouIaf_pYMipMv7l7CM,413 +material/templates/.icons/material/lambda.svg,sha256=jo7JHr35VfpBMiuGaryXaxW6bbXijVy56LZ9Mz--bxY,188 +material/templates/.icons/material/lamp-outline.svg,sha256=0QHYvGj5f2Uh1l4NBIm0kNLpQ42JpC885rwIAHMoS5g,155 +material/templates/.icons/material/lamp.svg,sha256=IaU_6By-Gg-oK_WSe3tbjMCZDWpFmk0D3Ps3Bg7mW24,119 +material/templates/.icons/material/lamps-outline.svg,sha256=ZWoAIPMjX8vB9ePvIYE5z-u8q8a0jpDkLZA-ColWLfY,218 +material/templates/.icons/material/lamps.svg,sha256=OKrXOcLeb4qZsNR8WfVxHBrEKceiJn30BxP39TiGf9A,156 +material/templates/.icons/material/lan-check.svg,sha256=KfSWC0U83XBcriXfKXqG8rALRvy7rZA-PMj3y1jraoQ,335 +material/templates/.icons/material/lan-connect.svg,sha256=ucutquk28AC2edsP2EJ0xtC6b4mYmVqedQiMKNCFz04,309 +material/templates/.icons/material/lan-disconnect.svg,sha256=UsdnyhbjEOVgAYqLdfrc8FHq1jmZYjeETTWq887_fpc,417 +material/templates/.icons/material/lan-pending.svg,sha256=uADFIiTNQXTjYsZh57WSH4zffoWtYrqc_JQ_2UK30JU,359 +material/templates/.icons/material/lan.svg,sha256=mhmhfkHuPLV1fxZErScXWsFfU_4bAMPA5_4O7eqOVgE,395 +material/templates/.icons/material/land-fields.svg,sha256=Ef3FtXBWVODjwbzH8Kpi6o7ISxhVSy938EctLRf-qmE,479 +material/templates/.icons/material/land-plots-circle-variant.svg,sha256=P1kx-Pu2PWwKkopLzSjgfWs9kVKp9SESc9f6UJof6Wo,248 +material/templates/.icons/material/land-plots-circle.svg,sha256=YAOifovhj8aR5vL7uLgVps7s1ZO2A7P-1rZBU_wVWHc,267 +material/templates/.icons/material/land-plots-marker.svg,sha256=CW_XR1drhMIUl6Jr-PGXlCEcp16BDbCw1wKF2v8pNdQ,500 +material/templates/.icons/material/land-plots.svg,sha256=YjpCERTLFyj_BXpXWrLpwia7llA_Mz2R5HtrbOAdYfY,213 +material/templates/.icons/material/land-rows-horizontal.svg,sha256=DGzT8AGBAEtZoO1EGq2PdQXNMoWEhFnXWSLnAzzy_Sc,225 +material/templates/.icons/material/land-rows-vertical.svg,sha256=N_AJpycnLtFp3OUG2j5Oz2wt2p_YbPrnDvW4Hnb13vY,227 +material/templates/.icons/material/landslide-outline.svg,sha256=PJ4bo62xCp44A5HLlTpNmpn4-EAbMuLjOq886q2StI4,389 +material/templates/.icons/material/landslide.svg,sha256=vsdTiXMYrw88IpfJmUI_uVEJyz81haP8DlSq4HYTkzc,277 +material/templates/.icons/material/language-c.svg,sha256=-WnTsMBU8AlumfbfCU0KUdCLyfHhYyBamNiHTY6D9WY,459 +material/templates/.icons/material/language-cpp.svg,sha256=Z_ucdKaD-zMbA-praIZvKjm2przkIKc87bBo6zI7vJs,524 +material/templates/.icons/material/language-csharp.svg,sha256=A-l-T1y5Tz_C-pqfFRduVl5-8KMZAMWLgjNq3jCKEDw,627 +material/templates/.icons/material/language-css3.svg,sha256=yzYDwKeC4YArm04IEUdLiJz4EAxwG9i3nfw-5ol-Uf4,219 +material/templates/.icons/material/language-fortran.svg,sha256=VOUYlsk6qZSOG_4qSHfMgPOqBRjNyFC7XKNq9bLgvFY,230 +material/templates/.icons/material/language-go.svg,sha256=CkaFbJX9OfQWbrotCHHP49fLSe8cGTM2svwgoSj0TJY,1063 +material/templates/.icons/material/language-haskell.svg,sha256=LzoBlid85EblioPATWaYVYeRJ8khjyM4Uhd3ZhymyXo,259 +material/templates/.icons/material/language-html5.svg,sha256=Fc3xDqwHxW2W6iiL3hLbk0pn_6DfNN3QHvuKK4geo2Y,246 +material/templates/.icons/material/language-java.svg,sha256=jPr340iN0OXykLAkwCPdAc4tsHDCsnwp6eeVY8YVS6U,1040 +material/templates/.icons/material/language-javascript.svg,sha256=kP--haS9JyZzUg_7F4LOCBZ1LQZZZhpXp11K4I-nm-A,555 +material/templates/.icons/material/language-kotlin.svg,sha256=HRU6py_Fu6SxFD42kze5cksYi83D8-459G2vLT28RiE,100 +material/templates/.icons/material/language-lua.svg,sha256=bT7A2QxVTQs2nS1uSWJlKAI80pWpo3xHNimsplw_LEc,351 +material/templates/.icons/material/language-markdown-outline.svg,sha256=gjI6-wiuAd4s_ibjPvzTuKZ8mKUYi-GX6805mrqh1Ak,459 +material/templates/.icons/material/language-markdown.svg,sha256=gyceLuCWDSJVo_GOVKfKdC-4x97nwjYOzKe9CZ3Y-wo,351 +material/templates/.icons/material/language-php.svg,sha256=BMkIqa2Dhp6HsrQ2I8Aw1Tt-Bvh31pjbasyKuUs4YY4,906 +material/templates/.icons/material/language-python.svg,sha256=B2wxX_0Q82gX8ODMcDBnCwW8gcrSnOcm7ugBNoIBOGk,696 +material/templates/.icons/material/language-r.svg,sha256=mmH8Smm9tuZM20swwS1OPvnzLzS-BECob4wKv-3Mo2E,602 +material/templates/.icons/material/language-ruby-on-rails.svg,sha256=Ni4ZGLKpNNqfKyhvS_sSgVMPHVkTtHYbBeRw3X25TyI,743 +material/templates/.icons/material/language-ruby.svg,sha256=IqjQAkD18VWQC3LaAzklN_mZOeqaHLziTwNVqAiY16k,411 +material/templates/.icons/material/language-rust.svg,sha256=klyAZlUXpQCMtq62imnqfw1h3I1xXZ-yIYzx_t9Tyr0,2403 +material/templates/.icons/material/language-swift.svg,sha256=q0HpL2FNj2KJxZvbXhjdectkppLunzr6z8MhOCeOsMk,487 +material/templates/.icons/material/language-typescript.svg,sha256=XX1M8pYG_7bmLyI6_fiqfzOoHn11GN8LhdO1gjsU9iU,470 +material/templates/.icons/material/language-xaml.svg,sha256=Qvu-IT64t1ceyNPhUPKg0whomBWqFRsJeJadCffn5WM,962 +material/templates/.icons/material/laptop-account.svg,sha256=5Az7tSzMiFdWyKdS3UcjTiCTDPxG_sqX6iBuuiny18I,268 +material/templates/.icons/material/laptop-off.svg,sha256=ppM-xTAjS2svjQK-ZnUjRyz-16uMa9-N4I6oXwlXquI,254 +material/templates/.icons/material/laptop.svg,sha256=iSh_PTbJQE_dypqCTx_Xd9t6LcKc7DzAKoz9byRKNUA,176 +material/templates/.icons/material/laravel.svg,sha256=2MNqntIpONSIIHxHz8g96C8NV0Ge1k7JfsHRQz46PN4,1245 +material/templates/.icons/material/laser-pointer.svg,sha256=3HppGhtjn8ONE01sq-5IN8nHxUNjbUuPRf8Gz58IfQs,351 +material/templates/.icons/material/lasso.svg,sha256=1kkDPipHjwdlxPtenfWA1XK9jGjj30SFPZMkto2O-o0,686 +material/templates/.icons/material/lastpass.svg,sha256=mUfT69jawlDon8H_JVSx62mWhUAJd9McaOVz5MOCUeU,278 +material/templates/.icons/material/latitude.svg,sha256=n3p55UVlo4pkHoiDFAQOMhv-cTmS77T27Nit8mxSfC0,306 +material/templates/.icons/material/launch.svg,sha256=CgCPmM81-Qp2fcl0CX4gURVjhr4aCMWaUM9MORi4YiY,203 +material/templates/.icons/material/lava-lamp.svg,sha256=GwMggvLXDMP1U6et6xjK3ZY3pFhRdgF6YHzB5t1xzG8,371 +material/templates/.icons/material/layers-edit.svg,sha256=Qv5_gGYkuIzhVPzrrc3ni03iOg_pdU_Eo_8jYTkt3MQ,313 +material/templates/.icons/material/layers-minus.svg,sha256=b1b4K8GQp7ACcldidKWDS3POjgjUp-L5kI2j6DIzDKw,185 +material/templates/.icons/material/layers-off-outline.svg,sha256=hln2vu7wDqHKR7zjeSDF5fxSxYFUW_POisvrnwjI104,355 +material/templates/.icons/material/layers-off.svg,sha256=hY8a1hDZD-turWCdHuj7pMsxUhJZYF-iqXUvJf1CqwM,303 +material/templates/.icons/material/layers-outline.svg,sha256=Blj3rgBWaaR6KaThcarGpJp2qv9DdvfSkurP7t2DOLU,197 +material/templates/.icons/material/layers-plus.svg,sha256=d-MbRwdJwC_hylAjG2nFRtyh1LQ8386GQYpcXucV1cQ,204 +material/templates/.icons/material/layers-remove.svg,sha256=LRkT9lojz912RuvkpwEdx6KIbWIoibMLOsBQJxP49hY,299 +material/templates/.icons/material/layers-search-outline.svg,sha256=gxPkxspSHzseRKu0pRiC8712ApfrA4p9OywNel38-Wk,432 +material/templates/.icons/material/layers-search.svg,sha256=TNs4r3g1HsMnxceyI6d0-pKBt4qWSs6biOIvRti6oqE,418 +material/templates/.icons/material/layers-triple-outline.svg,sha256=gI9sY4ERWHbTPUMLUCUDprpUWd6aRMGr3P-mZPfxIos,248 +material/templates/.icons/material/layers-triple.svg,sha256=abY-0q_9PQ9eFuWD77YrUiZxshynqwBGTmNTgVaHGqo,225 +material/templates/.icons/material/layers.svg,sha256=vzwQ2EA21kWuzH4Lu_76Fmr9hj7QvFrUU5tpuJwdT1o,174 +material/templates/.icons/material/lead-pencil.svg,sha256=eGnQdSrOFGwLg4tsK535Ui0rlN8U5UR7u-Nhdw3n0Go,310 +material/templates/.icons/material/leaf-circle-outline.svg,sha256=G9y4i4rcyngD8ofifpq1hCoHByL7602eIvaUxXyrh-o,408 +material/templates/.icons/material/leaf-circle.svg,sha256=kdpJu5l1UUBfgz79WxgQEprO_vEu71jAGZxtYuP1O-c,353 +material/templates/.icons/material/leaf-maple-off.svg,sha256=he11rtcV7t1mofBVsryIzrVF78E1qzhvf58vjCJawng,290 +material/templates/.icons/material/leaf-maple.svg,sha256=MrVCA-Zd-79kDXVeG40Anr3z-XJ3Ap5Bg63r2PEilv4,234 +material/templates/.icons/material/leaf-off.svg,sha256=GItTxsu-QkRjFl--UgRaVQubR8yQSikwg01e5nO9yzA,450 +material/templates/.icons/material/leaf.svg,sha256=FI2P-zkckztOUQfLkv7cGD03mGbny7qM-aZoiIhhLBE,228 +material/templates/.icons/material/leak-off.svg,sha256=xjAWA4I3BaoOAEoZWD7DhQhQeVk6okM0F9cGmijATWs,613 +material/templates/.icons/material/leak.svg,sha256=tK9ZXDe8aAHYo-fSS7S2aQVY_vmLDWe31L-NGckQjg0,285 +material/templates/.icons/material/lectern.svg,sha256=dV_LgNM42rborqGE4jc5KRg82wEbC8Fz2MhvuWfVZpM,253 +material/templates/.icons/material/led-off.svg,sha256=gsbuSKs2_tf74oqMKQ1T4lRJfQFi4VRHfbvXJkC410c,147 +material/templates/.icons/material/led-on.svg,sha256=gbbB-MY1fWgfVRkfZKBN_wVB9LBqRwdXHCjn-PxR7uk,265 +material/templates/.icons/material/led-outline.svg,sha256=04vYV90qkcoC4yhhMoFc22F_k0_kCZL5JakLsqEP9r4,187 +material/templates/.icons/material/led-strip-variant-off.svg,sha256=CUHbgnpRn-t2iKrQVlgkGI_9gvsN6-jcOmLD2sKY4MA,591 +material/templates/.icons/material/led-strip-variant.svg,sha256=7XsyuN3nqodMkNq7lS8sFkSXI517rnlxWZJzutJ1oxE,552 +material/templates/.icons/material/led-strip.svg,sha256=xOr5o-ngVzalAR6tfVcZ1ApQS5DHDopiD9z2LHQyIAA,446 +material/templates/.icons/material/led-variant-off.svg,sha256=zdxIYdzDhrq04979C9u7RvqL98vu8rDceR0nGdhl9Vo,237 +material/templates/.icons/material/led-variant-on.svg,sha256=-pH2GwkBJzkThLdk87U2TWA7_7qGMNOaRc2Ux2Zk9XU,146 +material/templates/.icons/material/led-variant-outline.svg,sha256=Ez5qaiuj7FkKaaaTpyjh8D146LcK0kjaICvcTiEDf6E,185 +material/templates/.icons/material/leek.svg,sha256=mQe4X-Sq0BKhSv77OYEodkOA5jD7AQV9tByBmMj5cF8,253 +material/templates/.icons/material/less-than-or-equal.svg,sha256=tjkF6paGZpOxE5bHazObqjIgT70ccfIfaiqNHmLZ0lI,153 +material/templates/.icons/material/less-than.svg,sha256=ZpSo19trkImAfF7WzQ_Yvs1g9LIk80m6Y8howNBiRTU,137 +material/templates/.icons/material/library-outline.svg,sha256=G6UvRiUTBifHuTLV2_fCO_MB2jZgODK70GMB18961PY,579 +material/templates/.icons/material/library-shelves.svg,sha256=83sMBYjqQAWJDv1otwDE2QBnfE3sGESUFolf8uAVWuA,201 +material/templates/.icons/material/library.svg,sha256=i5cLWZ4V3DBzBw7m1_a2L9jV6Fr_XlEauv0-dHTp670,245 +material/templates/.icons/material/license.svg,sha256=PQEy-DkimvFyOpRnKbIWDwhQAZl9asZWPrTul5fjdHg,606 +material/templates/.icons/material/lifebuoy.svg,sha256=U0WkrasoTyAql26QoEMHbpvxPzwcwGDCLIe2n_VoPEA,531 +material/templates/.icons/material/light-flood-down.svg,sha256=KLewhvJ5izYI_lZM3V1YPrbDWTTTyvVd4T9IS1G1b9M,372 +material/templates/.icons/material/light-flood-up.svg,sha256=YXVdk7m4b9zYAcYiyqTrLd8v2Csbz8vwLgkT3TNuFQ0,369 +material/templates/.icons/material/light-recessed.svg,sha256=6e3E3oP720CnLRiJI9FmUS7p80k8j69XS3n2YxlLywU,408 +material/templates/.icons/material/light-switch-off.svg,sha256=j5jTTyHNBnzww89FpVSuO8sYLZ19DHbH4Ly4s-EVItw,288 +material/templates/.icons/material/light-switch.svg,sha256=1qZMbBvW9P80JVlWecokMsZuP27q0M_1vC5IidCaGAM,271 +material/templates/.icons/material/lightbulb-alert-outline.svg,sha256=VRMPljGoiid7qOYclTJkr80EEjjUkNGNWovK3l8daB8,351 +material/templates/.icons/material/lightbulb-alert.svg,sha256=e3oKk43sltKPZAlDeoHgLt_6P1APVFV-g1skIgye_LA,262 +material/templates/.icons/material/lightbulb-auto-outline.svg,sha256=lebx8RXp7OODgjyGTprl1xOJNtuKFXUVc4_lZpcI5WQ,430 +material/templates/.icons/material/lightbulb-auto.svg,sha256=xh4fgXaWM92HIgkzl5apAFRCVOz6sZUhLhXhzw1m2GA,329 +material/templates/.icons/material/lightbulb-cfl-off.svg,sha256=vQes9mFgNppnD_E6RC1PGZEbh-UOEk-d7Lt2V2pPrZk,365 +material/templates/.icons/material/lightbulb-cfl-spiral-off.svg,sha256=6muKa8Ncv0Ys5VqWV1OCSzRfnBS6w-80a_Bz1_X-oNU,511 +material/templates/.icons/material/lightbulb-cfl-spiral.svg,sha256=RJ63KlTcTbjPn9vScmSEjeJxQpm0o0bXiuOfP4SEtoo,475 +material/templates/.icons/material/lightbulb-cfl.svg,sha256=ImKIITDBD25e1iNxvyc_X21L2e69wKKwQR8NwCKWfEQ,350 +material/templates/.icons/material/lightbulb-fluorescent-tube-outline.svg,sha256=R9J7VgFoVEXhW8fbypGWpwbvFKog8iUTBMDTbwy1P5o,343 +material/templates/.icons/material/lightbulb-fluorescent-tube.svg,sha256=h8f_9vLc9OI_qk64UU7aUcUCUdsprBstuYn4t80UyTY,269 +material/templates/.icons/material/lightbulb-group-off-outline.svg,sha256=l2wYig0f4sckFs_tU_A3gYSkJp5uJZSfh1HFMKGATVs,837 +material/templates/.icons/material/lightbulb-group-off.svg,sha256=wgamHk-2O-jCDiT7fTbdBjsfU-869TKxPN9tlgcbusA,696 +material/templates/.icons/material/lightbulb-group-outline.svg,sha256=CygQB0YCbJLxeiWMvlTcLvM_jZQwltUJN4KKGTdkV8s,518 +material/templates/.icons/material/lightbulb-group.svg,sha256=KpVnmWeU78plClHQDe01dGm5uDI7ExoAoEd7btR1-jk,463 +material/templates/.icons/material/lightbulb-multiple-off-outline.svg,sha256=JGDAjk45ODCQsNTBNgW-mhMCTGtD-NNq08iLVEj8-sg,787 +material/templates/.icons/material/lightbulb-multiple-off.svg,sha256=RqZC7Gsz5KHMwuz_KvAi3cEckKYzmL0UheLfhtCo7MY,595 +material/templates/.icons/material/lightbulb-multiple-outline.svg,sha256=JYcnXvqMGsTU6vbP6jg52f2DDKAJPTaA8asi6wkKnLA,550 +material/templates/.icons/material/lightbulb-multiple.svg,sha256=Dml-xHqTtPqecb1Wx7jHL9JzVmH82alh5lwAoFZVkag,450 +material/templates/.icons/material/lightbulb-night-outline.svg,sha256=j1DWC-uI0CIFcccuEJSOQj5Rqbl2Z3tfXyUk84y0ppU,617 +material/templates/.icons/material/lightbulb-night.svg,sha256=gkTPIRpI52giW0JT5m5_vPvJeNqqXDypZngmQ7CzAdw,530 +material/templates/.icons/material/lightbulb-off-outline.svg,sha256=eBh_TWrapPZnM2nfOxWwNxTFABqQSMVKqbjGI9VqyJM,436 +material/templates/.icons/material/lightbulb-off.svg,sha256=XIUmqY0lvAnywiHMASbcfYkjkQ7cXwCRhQm7t_AGUQA,309 +material/templates/.icons/material/lightbulb-on-10.svg,sha256=2VPVHDmJvfkQuPy7TzjI38kbRxDZYAUcqCSTA0H0qwg,433 +material/templates/.icons/material/lightbulb-on-20.svg,sha256=op68YRUba5d54UBnUzqpQJUi4Q6BUacDKiYUtcCwXRw,406 +material/templates/.icons/material/lightbulb-on-30.svg,sha256=SdHRYkL8c47KkT3c2npM9hZhFIx3tRm8y7QhfL6uRbc,431 +material/templates/.icons/material/lightbulb-on-40.svg,sha256=mKAIBAns2_zsvhwps2VRJMgqZoVARzMLTgncDNOUkvM,427 +material/templates/.icons/material/lightbulb-on-50.svg,sha256=il8AIAaqa7pYUVbG5LpP543taVGJQ32Du8VMH4thOW4,425 +material/templates/.icons/material/lightbulb-on-60.svg,sha256=lc-B4OuHHdkcEnY-0i_HA6l_L1RkBYNZvU2EnXa5JHw,387 +material/templates/.icons/material/lightbulb-on-70.svg,sha256=qGFoAibuZ5ZSxsPA-Vpp198w0y1jjADDKGPASqxaDFc,398 +material/templates/.icons/material/lightbulb-on-80.svg,sha256=OTJmW2po3LsMMiuaVMChZ9pRvqS-niDMd2pi2BHIl40,399 +material/templates/.icons/material/lightbulb-on-90.svg,sha256=0omWzSb7zeeYpSy6jCECGrV31T5uuowE1TFS2gIq2b8,397 +material/templates/.icons/material/lightbulb-on-outline.svg,sha256=tfL_kOSdr2LgoTwZzLVMyFtehY0eZC8sK5yK6iJ6voA,474 +material/templates/.icons/material/lightbulb-on.svg,sha256=PlbAkgGWHhVKcoNqr_YrIS-4q_euBpa2R66Ti4PyH3A,382 +material/templates/.icons/material/lightbulb-outline.svg,sha256=y3DWEs19jw9z1Ko5amEkQZMPqadGT5WOBx9JMKaIxYo,332 +material/templates/.icons/material/lightbulb-question-outline.svg,sha256=h5xUTezZJYsecLloT4vrdfnMMT6C44_EhKoPr0XqeEI,517 +material/templates/.icons/material/lightbulb-question.svg,sha256=_dEe-jXZ_BDMLIFS4stITRoFFYmnox_1w059VE3FFfw,427 +material/templates/.icons/material/lightbulb-spot-off.svg,sha256=YgG4_l6IVr-XgaNg9XnTc2jp8vu8OEbWtMazOcbSru8,260 +material/templates/.icons/material/lightbulb-spot.svg,sha256=WkkDLb8IBCMZWmq073qzQxF3uSohRO34ZgUJWRG1zXA,168 +material/templates/.icons/material/lightbulb-variant-outline.svg,sha256=Ztsyi8iEkpNUson5BOVgal-0GDybqBv1MoZBjF6RvBA,497 +material/templates/.icons/material/lightbulb-variant.svg,sha256=0WXkUAkO5x1txmPDRR_XzWtssRlABbV2Gra6ALVAtBQ,405 +material/templates/.icons/material/lightbulb.svg,sha256=r-EorWTJSNAjjElRsTmpYL92vljRwXvTogHCuoHhAfo,241 +material/templates/.icons/material/lighthouse-on.svg,sha256=nSd8QbqII0qgMXIobca7IrGvKGujlppkKj0ryLwFcc0,237 +material/templates/.icons/material/lighthouse.svg,sha256=mdF1sA5zsfP5j9OhVNatGkywebB9Np_W6ywXOwhlpX4,233 +material/templates/.icons/material/lightning-bolt-circle.svg,sha256=A4Px6p6l6sxDoj9zvXFak1zJ9gnb2D-Iw7lARTTmiOc,277 +material/templates/.icons/material/lightning-bolt-outline.svg,sha256=Z_w9Mq1hOZhBk3BHXVmIu0AbVMwkvUsKqSfAbjGUyfo,144 +material/templates/.icons/material/lightning-bolt.svg,sha256=h_cSI5CchemxjJrZdz1p9iQSln7Xgtg-KHDks41PIPs,105 +material/templates/.icons/material/line-scan.svg,sha256=pYOe_OBCGd3bL6mTCzoI6QlGuGMc_061GBI9EUB6J3k,292 +material/templates/.icons/material/lingerie.svg,sha256=ElBf6zjV4ysMm701fbLcTLOONg28ZJ5sVchcyDVefws,490 +material/templates/.icons/material/link-box-outline.svg,sha256=k1KghRf5sV5XQRPkDibQTtdvCkbeeG9mzKSuNaUEUJg,356 +material/templates/.icons/material/link-box-variant-outline.svg,sha256=01p6BWsoc-t2YOskn9GZds4POy7Mp44e7gT4zlcxZx8,830 +material/templates/.icons/material/link-box-variant.svg,sha256=oUVokawpRJNciMLaaVWIEGk3rrJ80i2PmouaAo3NN5I,817 +material/templates/.icons/material/link-box.svg,sha256=dmzA93NqAsOVq4yRNIcOJ-z_aISweWCjY--qE8KMbOI,343 +material/templates/.icons/material/link-circle-outline.svg,sha256=wBrUkqybzzr_AhhRPQ2LN2jFtWbcKs5R1QGdxeFokJ4,768 +material/templates/.icons/material/link-circle.svg,sha256=uWsyESzM04Ybk9YLELWsDjGmdY76qIpYKk3BWhGr97k,581 +material/templates/.icons/material/link-edit.svg,sha256=rHQsoVzDPgHQKGmc3MAw2qipM_TjdYiiJldRKw9uIkk,472 +material/templates/.icons/material/link-lock.svg,sha256=EsTHrkjl01t69x0mNEXwx4r1NZLJGnI70d2z3BdndSI,368 +material/templates/.icons/material/link-off.svg,sha256=jOhSqwQVfobeyg-DtDwtHj9FTITbxxCR1b0QbauqQQw,390 +material/templates/.icons/material/link-plus.svg,sha256=FwN4mG_A4zI8nqALOqFCguZ98R_mQbMJU3INoMkC1-U,242 +material/templates/.icons/material/link-variant-minus.svg,sha256=7X0fAlneEOGQDizdmF8gcPeaniY-zjS8YjZQuAHQExA,511 +material/templates/.icons/material/link-variant-off.svg,sha256=edxMpaWXFHurOxFUcFVzLb7SZ-DovcJbdzLqxO8q5-Q,675 +material/templates/.icons/material/link-variant-plus.svg,sha256=apSM83AUZayhL4RoRXE5R__1UPhQ3Bb_ixU1ppT7djg,532 +material/templates/.icons/material/link-variant-remove.svg,sha256=VfwLPryzV-IK9TTJBsstGPawrt6nLh1Au3uZRUycx9Q,592 +material/templates/.icons/material/link-variant.svg,sha256=Tw1k-TazlhhWsmbfvVZjTgoBLpe549sP5v06BZGr46M,617 +material/templates/.icons/material/link.svg,sha256=gs7lcn0X7dEG2TSrCIiQy57DUcI9X7TwkmclDf9zUwQ,289 +material/templates/.icons/material/linkedin.svg,sha256=GLtbcdCT0TeknoGf9SFu6uJt957PfXA6fdsDS_bh3wI,437 +material/templates/.icons/material/linux-mint.svg,sha256=MbvYGQOm33XiKm7y7yEGDmHqh7NApJJStDTUtpsYD3A,773 +material/templates/.icons/material/linux.svg,sha256=1t8cHsO6cs1mZVVrP7V3AGmtr4sMbE6yBH9r-VlfPMM,718 +material/templates/.icons/material/lipstick.svg,sha256=zryp73hyiI2z3z324p0t2Gh0t4qvrCUJVe9fLe4a6KQ,258 +material/templates/.icons/material/liquid-spot.svg,sha256=HkFecrP2sjdK9F8HG37uQcKBHYe2EK5RdMuASYDCYBo,938 +material/templates/.icons/material/liquor.svg,sha256=ICewZzqlfwUrNYnzJqFTyHvWVUPZxjCcoaneTT3Hn64,433 +material/templates/.icons/material/list-box-outline.svg,sha256=4_GVhaIhc4NW5WXkhxETpjvEVQUS5dGzKySZ5cOBuvI,252 +material/templates/.icons/material/list-box.svg,sha256=h-H3I0raLfSLjqoSeEO067oG-B-xpQoXbcNeUa7LGmQ,234 +material/templates/.icons/material/list-status.svg,sha256=S0ZUutjXS_AT87_zesA0DNlz-eBj6q7DrSMi8tv5r1k,264 +material/templates/.icons/material/litecoin.svg,sha256=GuRIbc36ePboX2bzoWiyL4E0yQ6_BPvXfgWOZOJohlM,313 +material/templates/.icons/material/loading.svg,sha256=tbVg55euLPp9SA9vR7B3mqU0vxm_9vjpk7jlc0rnzM8,119 +material/templates/.icons/material/location-enter.svg,sha256=f9GWda5suF2yqCY7Mtx3SnkoXHZ7300lvprFzj6IVXI,166 +material/templates/.icons/material/location-exit.svg,sha256=6_pkvfOoMjGtcrsIJ4jsjGiolqrHrbcWxC7z4U3RdQk,142 +material/templates/.icons/material/lock-alert-outline.svg,sha256=1CrqjbLFHdboNTtOI75UbNwIDMKH2do5T2_6hU9EXX0,321 +material/templates/.icons/material/lock-alert.svg,sha256=391r3NqVBANZ6oNzWpwQqs3cbpVRZDCH2dp0UAKUgW0,306 +material/templates/.icons/material/lock-check-outline.svg,sha256=fzr9e7zVeYqw4vLCdnzokDfPUKw-f-CffvIMov5Dq88,422 +material/templates/.icons/material/lock-check.svg,sha256=6GPcc6WW89zq3c9j6z28XFQJ1392WvoHzTm6Z4PcQNg,376 +material/templates/.icons/material/lock-clock.svg,sha256=YeQCUuyBn7IW87J6SOOf5H5nATMcTXU02pyQo7U81VU,394 +material/templates/.icons/material/lock-minus-outline.svg,sha256=DX5arB1sTUmzFn7Y2tz7XcPusDZu7C8FlMVZlc3GL-4,373 +material/templates/.icons/material/lock-minus.svg,sha256=Iz3KQlOi30JKrfirp-B-7qBmzqmAXJljfRQzVqeUoBY,328 +material/templates/.icons/material/lock-off-outline.svg,sha256=FL-yO_9g0fPEKFnt5TzJoFgxO_usaK4NYhV13t_OYE8,448 +material/templates/.icons/material/lock-off.svg,sha256=1GPh014lttMbxsd2i0JMaNsRH1hDND8Tv8ha_rDmL5U,420 +material/templates/.icons/material/lock-open-alert-outline.svg,sha256=EjbHXCVcc9rusurLfkKdeMlnOUWglIbBDz-Rl0m7nK8,307 +material/templates/.icons/material/lock-open-alert.svg,sha256=qMDjEsWAhz0meuREgJwdk9VBpsNqGzPi2L-uqv8DLVw,290 +material/templates/.icons/material/lock-open-check-outline.svg,sha256=EgWURMro2nlsEroaa75i78EWFKiq-nLfsXg_Tjo-PTI,398 +material/templates/.icons/material/lock-open-check.svg,sha256=VY7kdo6nWi_kW7cUOcfr85NveOjrdOUxBm8TJ8qc-Ac,380 +material/templates/.icons/material/lock-open-minus-outline.svg,sha256=9o2jiceV0Cw78q4YUbmBhtvpzQ1nv9oOS2DxHNixMHs,348 +material/templates/.icons/material/lock-open-minus.svg,sha256=xDJ58j_ZwF4JRo2ciwo3FmRF6jrG_z7pRGRGV6Hr37I,332 +material/templates/.icons/material/lock-open-outline.svg,sha256=UkrZzXnlv1uhUmygJblmFPjhzSPsS3aJCX6otIVEF9I,292 +material/templates/.icons/material/lock-open-plus-outline.svg,sha256=j762eUeK_qg5s54gRGH5zjyJFdroKTc9JLIU4ulBAdM,369 +material/templates/.icons/material/lock-open-plus.svg,sha256=iRMEeiERDGLSp_yFvDeM9a6v_3ewGVqvjDqqRKQ3ANw,352 +material/templates/.icons/material/lock-open-remove-outline.svg,sha256=ARhDlskRDn5t92T4TK9F-ZVaXZZ-FpGdARymtfV3Xlc,463 +material/templates/.icons/material/lock-open-remove.svg,sha256=AVtslj9Aas8gBCn0aE_Or2na23qRtyKhKWP5p4piR5A,442 +material/templates/.icons/material/lock-open-variant-outline.svg,sha256=v3ERHBNBRFUhnK1_crbwOCOOqyJa53FNmCdRUjwS4YY,307 +material/templates/.icons/material/lock-open-variant.svg,sha256=yLAJTXZKS12qyDZGMxIJZbokrRVJhWFXAkN6vNQZWok,284 +material/templates/.icons/material/lock-open.svg,sha256=H4pWh5dbHmvLtx0E-duPmlIjp5mkvhcjTsr2e2A3X10,275 +material/templates/.icons/material/lock-outline.svg,sha256=O2d_T52j6AOwJGsQotg3N_ZjdEozsXHJVbsGNVD7RYM,304 +material/templates/.icons/material/lock-pattern.svg,sha256=pF7MWI89Z_NOOm5ACUZ8ErlsNspAzT_C3aQBYJ1GIEA,488 +material/templates/.icons/material/lock-percent-open-outline.svg,sha256=DDJA25tgNKkDoDxwqUBEgIUscIXLC4xf6qf6HWST_UA,409 +material/templates/.icons/material/lock-percent-open-variant-outline.svg,sha256=5cZOIGH2w2Xf24jbeV-qT1wO5ME7n1s7xYguH6uUXLM,419 +material/templates/.icons/material/lock-percent-open-variant.svg,sha256=Po-c-u7plKwKJe69FHVbg4hwJfsbqJKkatkCo6C4x2M,403 +material/templates/.icons/material/lock-percent-open.svg,sha256=8QsW8tq9Rgg3kXHPTsG5rqnhaKpF_vN8kJjng-TEhpk,393 +material/templates/.icons/material/lock-percent-outline.svg,sha256=MVTozVsRClkG_3IyxY27Ks82BdOtZO8CKr_J0eHsYyo,416 +material/templates/.icons/material/lock-percent.svg,sha256=sk8-qclsnUJhcm9tLvSiXnM5IE8KC2GWUvnlYBy7LfA,399 +material/templates/.icons/material/lock-plus-outline.svg,sha256=jRQhAEDiL0doeEpRUi8BJO5-9_v2Sqz1jyEX7qV3s9o,393 +material/templates/.icons/material/lock-plus.svg,sha256=1sTXprYvCDbx81xgKuj2wUGYKPRNu_B_F12Uyx-W__s,348 +material/templates/.icons/material/lock-question.svg,sha256=etXP60gPHb3fRcxP5gu-Yb-94Coljktc89o5dHFglk8,625 +material/templates/.icons/material/lock-remove-outline.svg,sha256=mpUulNrKDqYMHWWc1JlrsxJRpHu_vsL3Mm4S361LW90,487 +material/templates/.icons/material/lock-remove.svg,sha256=Y-QvANJT3galAd6vHHo_ZpHCByNKakPAVOqcU6kW67I,438 +material/templates/.icons/material/lock-reset.svg,sha256=wut29eX7mmMbqWqSinZ1aah4C_WclNydT262-PcMD08,544 +material/templates/.icons/material/lock-smart.svg,sha256=BcVlXSvOeDGRFKDeGmcS0ISnHuDiwtkR7is2qPC6JRU,323 +material/templates/.icons/material/lock.svg,sha256=cYVf47AJEcX2Q5JflCREl2Dsd4TtheGUxzAZ1diiklk,284 +material/templates/.icons/material/locker-multiple.svg,sha256=Uj_RHk6BS06MMqm7hL4nDdxdxc3nWY_2hDc1Kjc6uY8,263 +material/templates/.icons/material/locker.svg,sha256=q6_5Hc-iJdBzA6CKYNHTiPbqE2k3UcjdcUFaY_I5AnA,205 +material/templates/.icons/material/login-variant.svg,sha256=QVxZXTNhunsiCLJsQikL7Upu9lO2N2J2PQhRnKBEO48,239 +material/templates/.icons/material/login.svg,sha256=tZK-nHnnXNsNmxgvHVgWfXNPm9Hx47kn3vVzOApzXr0,186 +material/templates/.icons/material/logout-variant.svg,sha256=k84D4Hv8GehgArwWNiTyhUl-N3v2BEZxpSvCMPHyQvs,249 +material/templates/.icons/material/logout.svg,sha256=isdYP0EjyqfokCaCrhItTLFNUPQgoL9_N3xmQyLsqfo,183 +material/templates/.icons/material/longitude.svg,sha256=9smNEE9e6zopQrCAEBewZ554UC9bp0Uw3YprxXpYAm0,385 +material/templates/.icons/material/looks.svg,sha256=2NeQEzRdCC2MfTA_62anmCxCK__sX5GoZOtI_zvB7C0,224 +material/templates/.icons/material/lotion-outline.svg,sha256=qGnFtUozEQjRmBdvbteRmDHrhfmJpvhoYKXRxJqwh-4,455 +material/templates/.icons/material/lotion-plus-outline.svg,sha256=5pHUmx3ufd0nwPNNCffMNes-2yCVvdlk7XlahPrOvOY,487 +material/templates/.icons/material/lotion-plus.svg,sha256=ktJ_6fmhU_TV_Qs_xvQ9bFQDnjuM4RAhxd2vq6Gj3lA,415 +material/templates/.icons/material/lotion.svg,sha256=qOEtYku343NrXy3ccgskqKn3T79cYyEnnKmSvLwWb98,383 +material/templates/.icons/material/loupe.svg,sha256=D24qccjTgKvo4WLq6wp7EfNZIPOdcbqWmfZxGZAPlsU,245 +material/templates/.icons/material/lumx.svg,sha256=RW511Zn6bgvJzLF79mlb9AS0juPf9A-FL4UfXhixNaE,362 +material/templates/.icons/material/lungs.svg,sha256=m0Ukx1AcKb98Br98k_dZ73DsnDFkGMklE2UVAaK3Xz8,508 +material/templates/.icons/material/mace.svg,sha256=2_XdabWyg2bNVn6I4scYU3i8-q5tUNPPERRRc2Th614,638 +material/templates/.icons/material/magazine-pistol.svg,sha256=nlJf1KfnlDT1djJxpqt7Ta6nP5zYy10vvJxjIyEIGhA,176 +material/templates/.icons/material/magazine-rifle.svg,sha256=VN9hjDhiA1nkt6o0J6l1jJldm35EjXJtG0qfaQaLnQY,151 +material/templates/.icons/material/magic-staff.svg,sha256=HbJr7FyRjURcNmVmNLeXSZHqIg8js_uCF_Mq0kDdxX0,372 +material/templates/.icons/material/magnet-on.svg,sha256=7CMsIlqtjQ1rKYA7jrs2VRF_6cqQ2TysKZ6DR_XY3mw,200 +material/templates/.icons/material/magnet.svg,sha256=dh1YrdhPHtIm7SBWLzvz6jRQg3dCk9BJfo85njKz90w,171 +material/templates/.icons/material/magnify-close.svg,sha256=EN7wuRMyR3qu3IBXAuCHvl5IxhprtoOTdYzYTVCWDA4,322 +material/templates/.icons/material/magnify-expand.svg,sha256=YUj5KHROEO2a-bi9QDTfgcgZy7u61AbwdR6AzDvavVM,360 +material/templates/.icons/material/magnify-minus-cursor.svg,sha256=sRJhQYfi22BZSGRrwI19BPwS33EwZi67MFtbhiGFW1Q,255 +material/templates/.icons/material/magnify-minus-outline.svg,sha256=Ls-w80oVXnGHA2memwpH3HBpVWPtKcfLE7aCkkoW6ho,308 +material/templates/.icons/material/magnify-minus.svg,sha256=pxtlOXwuZBJ0-h_ih5tub8BHq_wz7lxVfTyv4sS6-tE,216 +material/templates/.icons/material/magnify-plus-cursor.svg,sha256=ki9CYApT81fhQ9fzsFwKsGqkXWF8FCvy-mBk1eY2Bf4,274 +material/templates/.icons/material/magnify-plus-outline.svg,sha256=zLreSHglJMOBOD6NAhbOpC1RufWfVCZ_UOUXynDqK1g,329 +material/templates/.icons/material/magnify-plus.svg,sha256=FhQtaTrkf_0SuzETl1ChncvMSpS0EshCnt1NuumVha8,234 +material/templates/.icons/material/magnify-remove-cursor.svg,sha256=Bu3IIXOJ0Q0KGzPo-reB31RMjlonV_ngfz-scm41-co,377 +material/templates/.icons/material/magnify-remove-outline.svg,sha256=-nQ0x5No8n-RJCVmT_Wj9xexR4nOJuYL6LB_G8qbfZQ,374 +material/templates/.icons/material/magnify-scan.svg,sha256=x3Sb3Sxgd0SwL4UnxIyYXcgbEb1-uAfCIBkWnDj5bEE,497 +material/templates/.icons/material/magnify.svg,sha256=ZOzOaIIR7QhEcC6WdQz2dehONNs__NJm2FAmcQVBuiA,292 +material/templates/.icons/material/mail.svg,sha256=N98cbmqp6U8lgQG9M7JdtFSbEgJ5az5dx2aTHF6ICZg,190 +material/templates/.icons/material/mailbox-open-outline.svg,sha256=jK-U7rSS2sLofnbmXMMmJBePdUDS6RWt6Xp-NzyIUZY,248 +material/templates/.icons/material/mailbox-open-up-outline.svg,sha256=h7Dyjox_Uuj9Ykynxn2QdJDo7QPfUgWIw0lHXwAl7cY,253 +material/templates/.icons/material/mailbox-open-up.svg,sha256=q7XSwGl3ezrUT9-52Us6Ws8qLYnUPVq1J3l15eesUdI,194 +material/templates/.icons/material/mailbox-open.svg,sha256=t119TCgZHW7aQKELsWGIFQVhRZEiKepWge7iBUVxh9U,196 +material/templates/.icons/material/mailbox-outline.svg,sha256=lFoLuBysDQPgsDZfTg6g0SREUxO44G0aeJsS0NdpzVA,256 +material/templates/.icons/material/mailbox-up-outline.svg,sha256=ElcQ9XIi6qWEyzyoWHiW0eRJ1dLePVorBmLEKPpx1mA,255 +material/templates/.icons/material/mailbox-up.svg,sha256=akfwAexyUqf9LMmurYWHkALFdcwbyFC4l4QG7EYNe50,203 +material/templates/.icons/material/mailbox.svg,sha256=1qE97ChA_ebYiOLgUYPWGQ4zxXQMKoKe-jWPDNG7B5c,209 +material/templates/.icons/material/manjaro.svg,sha256=YlK82Ay3wNYzEgGwpKviVi4cjMpjh47IevdDpPUEG-k,145 +material/templates/.icons/material/map-check-outline.svg,sha256=aiW6GE-ny10ow4AfSEJZh1RcE812MaOIMJvstEdIxbg,414 +material/templates/.icons/material/map-check.svg,sha256=-CGpAz8D2rZoghD2xGmSGr6iISszN3Di1BG514w0YO4,369 +material/templates/.icons/material/map-clock-outline.svg,sha256=1bbBA1anOGPCWfl3fvcvxYexiV-iW_U22vk5_4FhtJQ,504 +material/templates/.icons/material/map-clock.svg,sha256=REcoWs4T-IoRkyUv4SRYl84CyY7-0YOgcq-ojxI8uI0,410 +material/templates/.icons/material/map-legend.svg,sha256=4AXtHk3QDEiPSwBZxor0B25dKHTytqYYrwxvpPQjms0,459 +material/templates/.icons/material/map-marker-account-outline.svg,sha256=C603kVnrpCb9bLsPaQauQagWE1eVH-jhlO86Je730UU,353 +material/templates/.icons/material/map-marker-account.svg,sha256=Ldd8K6QJSCKgKyr4N8tE4X8ROExco-hW5HBp3fODkz8,279 +material/templates/.icons/material/map-marker-alert-outline.svg,sha256=HZ-RPZ3cU4hnKWrZ8ZGOllZS9HnnLeiwbLXtf_mgCkM,233 +material/templates/.icons/material/map-marker-alert.svg,sha256=yMHSkhIUFR7eYA1cTmJLuiCr6Soxr-_QXQKitmMIlFU,171 +material/templates/.icons/material/map-marker-check-outline.svg,sha256=Sra6k_I29o5rMxvVyFquVFt2WdO5J3FRfrXVEZvl5Vw,265 +material/templates/.icons/material/map-marker-check.svg,sha256=v557gVpz8gTvM6GFz14jrhA9dfEJRGKey4YW1XbGVhs,209 +material/templates/.icons/material/map-marker-circle.svg,sha256=HFhhfixXvP76PftuN5xIRIPrMfQcxPY3wZrHcQCRzfA,397 +material/templates/.icons/material/map-marker-distance.svg,sha256=s3dPjWUVC8NZXAnw-DDQfizGIfWMcqgMIx92tiw3maI,725 +material/templates/.icons/material/map-marker-down.svg,sha256=BkC4VEmu7xbM-FqZg_dJqOxfRDC61idVM-ZZR9FSCXk,169 +material/templates/.icons/material/map-marker-left-outline.svg,sha256=zqk0RpB30qO3O7iBYAFVsnvXQQOO59pq6hVeW37iX18,274 +material/templates/.icons/material/map-marker-left.svg,sha256=5IqY-UH_PdqVsHVnd9VQCMBYW_QCj0iK3D4ehdHqVhA,200 +material/templates/.icons/material/map-marker-minus-outline.svg,sha256=Opi9wGsDANPYwq_6e-Buxksvx72MbvKaASv2WKe6Nfs,299 +material/templates/.icons/material/map-marker-minus.svg,sha256=NP9f4EHSK0qOO4DYpcBZuk6THxX_6n8jbymx3D9VtJo,248 +material/templates/.icons/material/map-marker-multiple-outline.svg,sha256=-jEjeaYYDZ5MzUB3LjFPlSPyRtlBgjASarcWUB5PA4M,453 +material/templates/.icons/material/map-marker-multiple.svg,sha256=iwZAqWI38z3P26DLgH0PLuX-5QqmoxfzNqLQQIeT7l4,330 +material/templates/.icons/material/map-marker-off-outline.svg,sha256=alWmGoQTYBPqDStXbzuuPJGPx7uaRgsivbQJaEbdmzQ,436 +material/templates/.icons/material/map-marker-off.svg,sha256=A7M2VCFm28M-6D3OBrRFc-4JEUGiOUflIxJEi3gwzgs,369 +material/templates/.icons/material/map-marker-outline.svg,sha256=0_7GhF7ryjPfe6ajePZ6oKV26E9tbvYcgaNcvxMAn_I,296 +material/templates/.icons/material/map-marker-path.svg,sha256=dGV3qPU5AvZ0NkJguhPw1rxE3e4ZH47cLHeWGCIktSc,718 +material/templates/.icons/material/map-marker-plus-outline.svg,sha256=rnganxIzjL4F0pn__Gnyh5h_FxgAmSSOE_6D7qONdAY,319 +material/templates/.icons/material/map-marker-plus.svg,sha256=7lZUYgXLM6bkEH5ceMXnNGhLxHsioZ2Ohgo80cLAcyc,268 +material/templates/.icons/material/map-marker-question-outline.svg,sha256=ggKDdF460kHwq9o95R5JtKtJye2_YgUAIeuthqVWX2o,458 +material/templates/.icons/material/map-marker-question.svg,sha256=Bz5sBCcEKxaE2Hx_8lIOnnFvblWCRhcY0lO1NOr0qnw,335 +material/templates/.icons/material/map-marker-radius-outline.svg,sha256=MVAuMUQX8sjARdWDsZgTzJ_25VY_HKsw2eishV7XfBk,426 +material/templates/.icons/material/map-marker-radius.svg,sha256=kham98SG_9SNFnoWub1nZcnbCeq8IWFColxSCEvXhnw,410 +material/templates/.icons/material/map-marker-remove-outline.svg,sha256=cLRi2uV-8zmAOGk-bcCsBdg0ZL9S_3r1N9o3H0BOY4s,381 +material/templates/.icons/material/map-marker-remove-variant.svg,sha256=K31LjcgWysprv4ROVG6zZWM3RGvAzZk5mP7FNuVk8yQ,262 +material/templates/.icons/material/map-marker-remove.svg,sha256=CMqiW4HK-TiaufnIRIDWXodpDAgNpjOUK7bPt18WDG0,348 +material/templates/.icons/material/map-marker-right-outline.svg,sha256=G3Q_63303rPo491B2N1OxLbcNKoDrN5psp3GO0_nGF8,278 +material/templates/.icons/material/map-marker-right.svg,sha256=5xWIiqZ43P1I0seuKTCMhgg2VL83Ol2jTLYzQnOLXWg,207 +material/templates/.icons/material/map-marker-star-outline.svg,sha256=TkWXrPMvehRQVK9xWcuKERJLLHMCQ-aIKn17smHPfIY,289 +material/templates/.icons/material/map-marker-star.svg,sha256=0bimvMrgIHmbTPpODilLiK2AZ75dTbAHPHDiVsbm0Jo,219 +material/templates/.icons/material/map-marker-up.svg,sha256=LON5kPOf9hK68Hhd9RvYZ5g243U1WWK3w0BonVt7EXg,168 +material/templates/.icons/material/map-marker.svg,sha256=ApZNFtAKVOVgFfTBfeUVLYj0MUVp2m4DK3q7L3B-oEg,233 +material/templates/.icons/material/map-minus.svg,sha256=BIKnYgxDTXn_l1XcAxm8f1lOJ1fyAndcO26sRn5KwiU,321 +material/templates/.icons/material/map-outline.svg,sha256=QJ-J-iOxN8gxaaF0w2JI8FmoMrXdhpztlfdWUT8BWRw,327 +material/templates/.icons/material/map-plus.svg,sha256=P5zhMEdO_poiP3uhNzxKEBZi4XAbLCsrCHKc9OKxtkA,348 +material/templates/.icons/material/map-search-outline.svg,sha256=7LN4TpOcA-TkoU-EGMyMXTRqgN9r2mQnhjrdcHuoFps,557 +material/templates/.icons/material/map-search.svg,sha256=wOUgdsecl_nncBdgM-KrpL8mzmKjhLVIsAX5F3YnOds,517 +material/templates/.icons/material/map.svg,sha256=fc4dBl5uhp9BjciwP-UbV_gG9P6jWHWQrCBcgS62lxY,260 +material/templates/.icons/material/mapbox.svg,sha256=-K1yvdO9idBElw-6917j6map5uiVhJ-Yz8v9rxukXes,349 +material/templates/.icons/material/margin.svg,sha256=8COBH7MaHjCsd-PwtbexETnVazU9l6pSo7RX4FAqQ-A,379 +material/templates/.icons/material/marker-cancel.svg,sha256=krHMkWKrpeWoheUoVIXsFRqpUiCQUGQDngck3bKT3Uo,587 +material/templates/.icons/material/marker-check.svg,sha256=nz9b3DcytEo54F99bQuBWpbQN6k-0pbECNxKCmn5u6M,229 +material/templates/.icons/material/marker.svg,sha256=NeVpKhGRdLcviO3NwuPYKm0lXdLJE2rsCrPHS48g42Y,321 +material/templates/.icons/material/mastodon.svg,sha256=Krm7VlmPq9UzaqrRSTrhvWiiA4eMLaOFlIAwVu8IDqI,733 +material/templates/.icons/material/material-design.svg,sha256=JsHAMxJ1Zej5SmKReSxeRQ1LzVc1PL57Ajj98B0v4n8,618 +material/templates/.icons/material/material-ui.svg,sha256=ltV4t1vOTURC9NoPQRmHjgKvJZ_pU-uYdo6R8q9Rd0k,288 +material/templates/.icons/material/math-compass.svg,sha256=21RNLG_Y5075i28GVJgw9Wro3QOn9FSCjx5Ss6bhsVU,345 +material/templates/.icons/material/math-cos.svg,sha256=2ECc-DTkWFY6aNk_lDbC_IVh9Bztb0BPQfnLByJMee8,334 +material/templates/.icons/material/math-integral-box.svg,sha256=hgglDACPLEzsuV0wA17jM8m-ZtTHx0U34M-gme02U4U,369 +material/templates/.icons/material/math-integral.svg,sha256=ZXiBKvRcChu3ZlWBervtXGJsHjHBY5u9Z3VIRGFcUVc,310 +material/templates/.icons/material/math-log.svg,sha256=V2RM958HwRBnbfO3XeJdlG-4irjelA39TNt8FoY3yz4,257 +material/templates/.icons/material/math-norm-box.svg,sha256=c-QnubwEdfNMxJljdlm_FOn1RmifWU6Niu-CrkzCg7Y,183 +material/templates/.icons/material/math-norm.svg,sha256=_npyGLTLCNqSSlxZrMw3_SSqgwyZ8vH4NoHDX6qQ3H4,109 +material/templates/.icons/material/math-sin.svg,sha256=pf51O9P2CvujHMpOcTulbDNis3RWYSEC_h0bQlT5VY8,230 +material/templates/.icons/material/math-tan.svg,sha256=OKGzhCd1qjOflmbG8DdZeptDE026U4_smRtVSlqO7UY,195 +material/templates/.icons/material/matrix.svg,sha256=tmLT9BOhyLIGAoDabZwPT-_gxWCKfeAL0AyEUTqPkwg,397 +material/templates/.icons/material/medal-outline.svg,sha256=gtGhn1tt8-kqjxxDwcx-5nWAXSuHR5jLLcR4PWIK3Rk,303 +material/templates/.icons/material/medal.svg,sha256=Apnvf9MhlKig2iVaytibI73_9FycuDb4IjteHxHUaTM,280 +material/templates/.icons/material/medical-bag.svg,sha256=L5N-ph_u91oq1AcT8vkhk7bdUPyF7YNZild5DMfatr8,234 +material/templates/.icons/material/medical-cotton-swab.svg,sha256=EdNan0X1RvO0uhf2LyVTjas3a3xQ000MYJd6_yOtSAQ,232 +material/templates/.icons/material/medication-outline.svg,sha256=SE9UJ8j0Ng6lePZ82dfYnlHmVXmbf7vpj9ZWQUMLHNA,227 +material/templates/.icons/material/medication.svg,sha256=h8FQMBzpBIfPm0I41FcLY-6Evzyr8XG_bDZue0jrOhY,210 +material/templates/.icons/material/meditation.svg,sha256=qbEnamMKtWZpLSO2lR4mg-b5nbZN-3v74tDd1qLyfPY,528 +material/templates/.icons/material/memory-arrow-down.svg,sha256=Dz3qQJEwYRTxeFM_NVpQ4xqdt6JlvJ2wu76ez_hZGJw,339 +material/templates/.icons/material/memory.svg,sha256=3bizO0yJ7gzhL4KpivQarOp1npj0qRsINYna2c3cr9g,261 +material/templates/.icons/material/menorah-fire.svg,sha256=8S8uL5OYQYMIQ84FdiOFl_G3SVC4S3qot-QEuJ8WDTo,1265 +material/templates/.icons/material/menorah.svg,sha256=qQNFBpqZzySPuTwHgLBShsaqgREKJPLQSMs7HZ8piDs,392 +material/templates/.icons/material/menu-close.svg,sha256=054_AM7kmL0CaZTL4VOCJCFUa4Ne_u_MRTuaqLMrl4o,170 +material/templates/.icons/material/menu-down-outline.svg,sha256=4eKX50y1WMAd2s0qdOyjzCmWHTRP24zIjo62W7gnRCc,133 +material/templates/.icons/material/menu-down.svg,sha256=TZwimdQn64Fmt4zpeAfGpUYx82dREV2JYCiNjw7E0eA,94 +material/templates/.icons/material/menu-left-outline.svg,sha256=2uBJFU1n0_5syepyBnFCl-mN7KK1Ev_O6g3Z-umu60k,136 +material/templates/.icons/material/menu-left.svg,sha256=UCmKRg7MjVRmxYf3yRr_LkVUwbUeE69CMBPAl7rq2to,94 +material/templates/.icons/material/menu-open.svg,sha256=_t1uUvmwmIg2qCCsnw_XHD7AlV-cQaFJIsTbD1JUbYo,179 +material/templates/.icons/material/menu-right-outline.svg,sha256=YiotYfmpsEPyKE1fVquguTSzPK0G-NSe354Rd8rnTps,128 +material/templates/.icons/material/menu-right.svg,sha256=X8t-esStSgSDcYTJmhOdMT8t0ANVmGU5L_oP0dCEmZc,96 +material/templates/.icons/material/menu-swap-outline.svg,sha256=HbEanqylUs6oD1PBsNMEqsWGN-hNwczDF9Uj2c2Qr80,184 +material/templates/.icons/material/menu-swap.svg,sha256=pkwB6WHuBkiUTDNOmcuRgFc8Ar8k_HQk02ZcciTSDF4,111 +material/templates/.icons/material/menu-up-outline.svg,sha256=El2RCN2LiblmDuQ5gGDM-YYIXK8owNEds-zgJfePfv4,136 +material/templates/.icons/material/menu-up.svg,sha256=41zJ4QmeAvkfjzNjSFc7stwIabNvSh66_31Rf0ZiItQ,94 +material/templates/.icons/material/menu.svg,sha256=HiBG3k5tT-pEFQUoKM1V80saSZlCF5pK647n6Qk_EL4,120 +material/templates/.icons/material/merge.svg,sha256=Mg7o-gr4su__mC7Rp9x7yi39uxmyuhd7XICvM-q2hFs,192 +material/templates/.icons/material/message-alert-outline.svg,sha256=NESQu99tasLroqfO4reYp362jAn_b93EUTQnPOZ7DTg,193 +material/templates/.icons/material/message-alert.svg,sha256=Fng8LaK02eoc5Iy3CofMdgVupKwn5Wj7GGbCDcZqodQ,170 +material/templates/.icons/material/message-arrow-left-outline.svg,sha256=1xlcijprSGnRBHry0OaR3LuSUP58m4qlW8udyXaur6E,221 +material/templates/.icons/material/message-arrow-left.svg,sha256=oKjMH8YmlUV2JEbmLbRPhiq6HZaQxS3pfeCm7Dx3GUQ,197 +material/templates/.icons/material/message-arrow-right-outline.svg,sha256=75gka_CzKfPIdAShRM3ku1at6_8c49DC2EhAxzzfQ70,218 +material/templates/.icons/material/message-arrow-right.svg,sha256=1B16v7vr3Tu52bNxmA9o30Y8t2wlBdaLYzpf4xwJzpY,196 +material/templates/.icons/material/message-badge-outline.svg,sha256=QbAt1OUU3ujaGq636h4nzz3QlvM993t-JGBZGgjGbrs,235 +material/templates/.icons/material/message-badge.svg,sha256=iOx4A6mM0mVAMjVvRmjrAnrrV66SwDEdSnxikiaZRB0,229 +material/templates/.icons/material/message-bookmark-outline.svg,sha256=IYFb7TxOS4JLYSsmePtjhgLRwQ8jQ6Fc6_NkteS6aOY,193 +material/templates/.icons/material/message-bookmark.svg,sha256=lAIKnRwr9J7BNPOEojDH4sqkLM-lXHxfXLCQapbe_M0,170 +material/templates/.icons/material/message-bulleted-off.svg,sha256=LPu-Ie4HmzYshYnVQwEGdEEYh3xtgnEvhdoR4T4GzkE,255 +material/templates/.icons/material/message-bulleted.svg,sha256=-dCNXPaFfIigigGWk2o5G8t2vw0ZnSph73Rr52z4YQ4,218 +material/templates/.icons/material/message-check-outline.svg,sha256=EBBpxJgYmL1wdZDmrACzpAicjBB7c-9XlGL4lkS-EXY,226 +material/templates/.icons/material/message-check.svg,sha256=WBMjtlLM9EVc4XdFfxNfuYEmYjq8tgXyepdVcALm1B4,204 +material/templates/.icons/material/message-cog-outline.svg,sha256=jyLrvxdftu7Iav6xVtCOeO-YWQr6Cf_Jn3a2og3Tq-8,623 +material/templates/.icons/material/message-cog.svg,sha256=e9DuRaD4D8JmJ3OT-uLjA0BG1zdvj-M1um2ehc84Bsg,777 +material/templates/.icons/material/message-draw.svg,sha256=jsodMNqcypa4VagHQlKzdRilk_Vf8PylgPw6w120v4Q,232 +material/templates/.icons/material/message-fast-outline.svg,sha256=QiIaux7qwW-lsj0H9pi6Q0GW2bL3GfWVmXlKYdKTSqs,273 +material/templates/.icons/material/message-fast.svg,sha256=EiSAhkT_0iUTcQEO8zGVGRjMfSNgGNb2oHqBZtQT8uc,249 +material/templates/.icons/material/message-flash-outline.svg,sha256=lazb8DaRfoBlevhIuwlyJDE6-y93iB5emupj-VmO9XA,187 +material/templates/.icons/material/message-flash.svg,sha256=Wwji4uWqTZIxZgLdCynfB71YYzRm-7fPmfaKbOzf80U,165 +material/templates/.icons/material/message-image-outline.svg,sha256=6i4hNaKZsBzVOnnIgBn5gQq65eGVQemahPBmYe68kgU,199 +material/templates/.icons/material/message-image.svg,sha256=3_mrOdcpGkkyz7RVfw5kqoQ2H5t3-Mue_ITZ37v9P38,172 +material/templates/.icons/material/message-lock-outline.svg,sha256=cPmEstkQKP1TtpWh-PNmFHBrqWNhXgetPIJKyP6Zsps,305 +material/templates/.icons/material/message-lock.svg,sha256=-zhFEaEqo31D37wVVI7wcizNQjEcq5-wGd1_LvhvajQ,321 +material/templates/.icons/material/message-minus-outline.svg,sha256=f_CEFV-WKPpZv_TSS1E0huVS6ANGOuIMK10JOFsL_b0,180 +material/templates/.icons/material/message-minus.svg,sha256=0ChqzsJtbk45OMRimx2EPowetqVg-EKCwMPHWZG9eW4,156 +material/templates/.icons/material/message-off-outline.svg,sha256=yafK14eihOuSwbPzyV2pIGCuc5P3uJFl_E_EYUF4Hy4,278 +material/templates/.icons/material/message-off.svg,sha256=ukvNK2Av2gzXn18Rd8pAQ8ZRBDMWoIhM2qrIz6wgOSY,208 +material/templates/.icons/material/message-outline.svg,sha256=fBM6dXp-LtQdNk-x4p2rgxXUplc1VQ0xPAx_nBrH9PQ,168 +material/templates/.icons/material/message-plus-outline.svg,sha256=hnAqfdjotlggqgpd4s4bRDi2--JaY-qnyPt3ql2wgFE,200 +material/templates/.icons/material/message-plus.svg,sha256=i4RWsQ4xzbA50N7clGnpZ6Gb8sYQsdY76xXifmDnxvc,173 +material/templates/.icons/material/message-processing-outline.svg,sha256=sQM-rRS-64CqOYzuaYPUhJ-e-Pxw50URzm8bN3lC-NY,202 +material/templates/.icons/material/message-processing.svg,sha256=6gY6KoukPmibssTdxwP98LKeieQFZchZQ6jatcnq9Zc,176 +material/templates/.icons/material/message-question-outline.svg,sha256=hwPce5olmjfMnLyaUnVNf2q9nyBc8AF86gG0QEquG_U,452 +material/templates/.icons/material/message-question.svg,sha256=0bBIAE4hPC_VwmGSgmUHX7ZjGgS9Li5zas7SFziAXww,431 +material/templates/.icons/material/message-reply-outline.svg,sha256=2h7UbAcU6n9Jd-OEO8D-PmoOm8ZPYFN31zbvfB_EP0M,170 +material/templates/.icons/material/message-reply-text-outline.svg,sha256=nKKd2kllnJuhCzE2PGFfex1nz53j-GwknUujf8V-89I,194 +material/templates/.icons/material/message-reply-text.svg,sha256=6OJHSEHrrtkdzbFcGJtKwp8apRDJkwPUl05LJ5qOD98,181 +material/templates/.icons/material/message-reply.svg,sha256=xujZgqk9UAtZNgoZHb7Fjh8TiMEfFod8hJZ-e7XdIFQ,140 +material/templates/.icons/material/message-settings-outline.svg,sha256=8MTkSCHzEYfYwNmpFIS2oFVHZBbh68n-hdwTLwyFYUA,210 +material/templates/.icons/material/message-settings.svg,sha256=GhEabiCbKGObUslwQ3isUXI2J8I9p0J1xaDYllIhN5Q,184 +material/templates/.icons/material/message-star-outline.svg,sha256=9Etr30NyV_UhVxKtnosgD89eETD3F_D9rnL_Pycr96Y,237 +material/templates/.icons/material/message-star.svg,sha256=RNRwH9rk8vz_Ug1NBBlsld9OpoizsFofvLYkyZnnuxI,214 +material/templates/.icons/material/message-text-clock-outline.svg,sha256=Uu_QkhTkRYXPzaKvwWInJnUWmTKsiERHpIgZe3aJs2A,455 +material/templates/.icons/material/message-text-clock.svg,sha256=1y_u35M1OdfWaDjKdduZD4Rf7m_KXnS_S2CFuukMncY,416 +material/templates/.icons/material/message-text-fast-outline.svg,sha256=qX6yJcQYC-zX-kuLkSEW1d3IpNUsBkKXsPVpzxonmkU,310 +material/templates/.icons/material/message-text-fast.svg,sha256=xZ_QcB9tJjkytBl1rjKCHatu0-NzIQ0Im0OoKGxPed0,275 +material/templates/.icons/material/message-text-lock-outline.svg,sha256=jZO8Qh9psHulplKEKitKnYwMPEd9JPLtw7p6ex5GIZ8,330 +material/templates/.icons/material/message-text-lock.svg,sha256=lEC497jYk6V30OxAQbdn5PKOLFkfe4CnlardTI9qD2k,358 +material/templates/.icons/material/message-text-outline.svg,sha256=O0ylpmnQpx9euqt_ybVlxh5Ma8fyqXFkHF8XfL71Jjo,192 +material/templates/.icons/material/message-text.svg,sha256=aBls9U37YyEMVn0n5G_3GpZOgevgwZbU5LRnhCaPxdg,172 +material/templates/.icons/material/message-video.svg,sha256=l9oIe3HVAUbnINzUwZzDTLs_En2_0DL-RXugiF7G5UI,169 +material/templates/.icons/material/message.svg,sha256=A396cGVBC5rvw_Uv9SQCaKTE5A2T_61bF5uvhnqoM2c,140 +material/templates/.icons/material/meteor.svg,sha256=nr5Lxk3lyY0W8dXXrcJrbBc5DUA4_rM5MOkd3PagJyA,534 +material/templates/.icons/material/meter-electric-outline.svg,sha256=dquYqCgmaQJu00S6C0cP97YOpIpRo1WAq21nijlI0KM,334 +material/templates/.icons/material/meter-electric.svg,sha256=SZYQan8-g1K-w38yhseyXkxxrIzwF5xDtGHeAJHBhqk,300 +material/templates/.icons/material/meter-gas-outline.svg,sha256=bCk2DlsJkphWr6pL0_Zfn2PrmuONafuknIyIbvJZfiM,373 +material/templates/.icons/material/meter-gas.svg,sha256=FTOoDs5Gwd0nkrLSsWsw81ybpWjPpLJ0zYhW5Mjhnd4,303 +material/templates/.icons/material/metronome-tick.svg,sha256=vrstc9-k77JeYUmDr0Jh6VSXkfJDvzOaFMlv5T9oE5Y,268 +material/templates/.icons/material/metronome.svg,sha256=CjbLRe-vlSljjHJUk8gCWHkcG3ZQ_tBizgZ2So-PAXA,411 +material/templates/.icons/material/micro-sd.svg,sha256=rnk_hL13vNlbDUnwUbwG5532QFd67R3Gr-bsTJ02Rm0,193 +material/templates/.icons/material/microphone-message-off.svg,sha256=50zfKUum_jVefYnAPo6n7HppZauwSJ2DO7G6NqaKZZA,373 +material/templates/.icons/material/microphone-message.svg,sha256=udXwsMxnm2USmR42qQJwsFBrcz8d0IIuysDPzF_KyFE,342 +material/templates/.icons/material/microphone-minus.svg,sha256=1MNunmhouXMqoqBS8y94nM6lclSIE1XeIJ5l_D3qBvM,250 +material/templates/.icons/material/microphone-off.svg,sha256=DmHPz3an0OqjK1KRvEqUrbEYtHtdlOpgvnfQ3tO7x9c,388 +material/templates/.icons/material/microphone-outline.svg,sha256=qWPHq9MZzFKxxSX-lsXeBUseuNBTfqiCZqifyUpeEW4,352 +material/templates/.icons/material/microphone-plus.svg,sha256=hNPd-HvRJQsIA_lG751oziD297qyec2sWLU9NPl9uyM,268 +material/templates/.icons/material/microphone-question-outline.svg,sha256=RRRSnJ2_huP1V68ytdAwhB6Vm2i-VVx0wj4l0XI13co,570 +material/templates/.icons/material/microphone-question.svg,sha256=86bsGszHIU4ulLnKjDEYYmf9pIR9OAzgfvJaOzzmK6Q,470 +material/templates/.icons/material/microphone-settings.svg,sha256=Kmxf8vWLrNFB_ZcNPazLdleLyeRHUonUoMYAqqhvbj0,290 +material/templates/.icons/material/microphone-variant-off.svg,sha256=Pq_N2kTqunXRDWDvMX1uO7-cSMfsRhMmuYzwiCYNL6M,513 +material/templates/.icons/material/microphone-variant.svg,sha256=LrYQangRLJNBHltH6URgUmsIYT1Nr0OtJ02V-AqSkXA,370 +material/templates/.icons/material/microphone.svg,sha256=Y-NQDXyraMzSAkVw2WVKldJuRTwj0J4ByKr_3-x9CMI,239 +material/templates/.icons/material/microscope.svg,sha256=hHuqEoRJlLV4kgHImFs50BmZD8x7ZviKlz8YTt8SlI0,341 +material/templates/.icons/material/microsoft-access.svg,sha256=c46EwUFee7FS2SDhp0cM2dC9rbbPExBsvJ0xV6IXAPY,1668 +material/templates/.icons/material/microsoft-azure-devops.svg,sha256=U4pwdIfMnn-ksuljduMnQFAJiyJSMygjh9je5NZefIw,204 +material/templates/.icons/material/microsoft-azure.svg,sha256=maZTJ2ZQHcr-PeEdP6Q8gG4eELhFv_M7WYmvVrTIJvo,174 +material/templates/.icons/material/microsoft-bing.svg,sha256=K5HjHQjI-YpSKmwBLFW7IRI_kpl4ZR6KF4vN7SsuRFY,155 +material/templates/.icons/material/microsoft-dynamics-365.svg,sha256=N_MiLZR6hFVEZ3krb_0n1AUaUzNQPdGK7gQWTdEezL8,138 +material/templates/.icons/material/microsoft-edge.svg,sha256=LQaVDtUnAzQvN0be3iISuIo6ZBWqCma4oDDY9mHHZrE,595 +material/templates/.icons/material/microsoft-excel.svg,sha256=1UAfovWRBxroBC4PIeud9pc7TvbDJnc3T1lA-QytHLI,604 +material/templates/.icons/material/microsoft-internet-explorer.svg,sha256=vDbrqH99k7dpYTTXFyD579R5khU0v4Z5hzmp11Ma_38,643 +material/templates/.icons/material/microsoft-office.svg,sha256=ULkAYJmKd-6zkJRCp54fkbKdt3AUkpE2DXNeBYLvInE,655 +material/templates/.icons/material/microsoft-onedrive.svg,sha256=DcYzGISeJElf2TJXQsx61MrIvjeZb671E3tBL_yvqH8,1034 +material/templates/.icons/material/microsoft-onenote.svg,sha256=QYiEal4t6s_wm5-AoGGfjGCl7bqWYxG9Wl1M02CTTiQ,515 +material/templates/.icons/material/microsoft-outlook.svg,sha256=dE5S_EKvGNNC-0qUVVovTEI0SuethBu1zLoeGio0Bgc,1057 +material/templates/.icons/material/microsoft-powerpoint.svg,sha256=0s1-4X1IwGR0yJ67aWzmqBCXDrZKa4S6Rhd_NiIrqjg,1067 +material/templates/.icons/material/microsoft-sharepoint.svg,sha256=rOUMl2wd_LCVFwdjNVnt8VjlxzwrPB7cwZSnKPthnWE,1800 +material/templates/.icons/material/microsoft-teams.svg,sha256=yqE1G-knetW5UOFnCdansLveCJ5r_2lPkQ5XOxlHV04,1477 +material/templates/.icons/material/microsoft-visual-studio-code.svg,sha256=sbtP2GlS6UuttBWvwtuqamtLp3piHK16TWfVBplLp-o,366 +material/templates/.icons/material/microsoft-visual-studio.svg,sha256=XqGW8r-rYyH5U5C_zZhm2FRIuZcR_F88j1opO5OuPHU,201 +material/templates/.icons/material/microsoft-windows-classic.svg,sha256=zizg09EWLCrexi9IiH9k9B_48JuVdvCF_GHMEWw1_xA,1942 +material/templates/.icons/material/microsoft-windows.svg,sha256=FBzu_CWyb3xl0d8nd4Qpe9u04YlODUMbIcCexlSWXvA,192 +material/templates/.icons/material/microsoft-word.svg,sha256=KrRYbIFkb5BJsiuglA8iaaMb5QnojwnWbkGYwV8sg6s,476 +material/templates/.icons/material/microsoft-xbox-controller-battery-alert.svg,sha256=AmDnHgZ4ulcnKPA_FYv5jV8Hkgqp7MedDSi0O7IAn0c,396 +material/templates/.icons/material/microsoft-xbox-controller-battery-charging.svg,sha256=KkGKYo-XCrXvLs8KL7fWiRuLK5QXWePrELOR4zmovzo,396 +material/templates/.icons/material/microsoft-xbox-controller-battery-empty.svg,sha256=90zg4dDRU_Ip3DJD2xaQkLKaXaHgtQWIZ0auADx9E6E,369 +material/templates/.icons/material/microsoft-xbox-controller-battery-full.svg,sha256=GQiEjIkR6WLoJ0p4vC0wGkYYqlwLwln0ds5MAkFJ9Bk,354 +material/templates/.icons/material/microsoft-xbox-controller-battery-low.svg,sha256=_wpSdgLWsaUNAwZzwVr-736kofGoRb5OiFVvVnew9Bs,368 +material/templates/.icons/material/microsoft-xbox-controller-battery-medium.svg,sha256=d1Tuso7eWbPlZ9aEnlPg7SVDe8MHzsyqqYMEm5FajO0,367 +material/templates/.icons/material/microsoft-xbox-controller-battery-unknown.svg,sha256=_q1nQtfUrsTU-bOI91Gfvki9C8zV2kCkeAD_CrLmzw8,730 +material/templates/.icons/material/microsoft-xbox-controller-menu.svg,sha256=Nr7prg6JZmSmKuvHNWgjGENH6_8-zXuLQA47jM18UQc,195 +material/templates/.icons/material/microsoft-xbox-controller-off.svg,sha256=nvm_jXsGKs4TPxcKJILbsqFPZiL_Yowk1U1xBDy_D5w,351 +material/templates/.icons/material/microsoft-xbox-controller-view.svg,sha256=wpCvOIicXpajVum1Ofa54aKKjbycFe3sYFEWMZJPjEk,198 +material/templates/.icons/material/microsoft-xbox-controller.svg,sha256=9skkKPUf0Cg5Y8u6_IbH9sjKDAnS_Tb_fRVhgkpH2wM,309 +material/templates/.icons/material/microsoft-xbox.svg,sha256=nRlBJ8N3EzRKHa0qZ2nIrwnCGr62Lo7cIbWRp9h3Fm0,807 +material/templates/.icons/material/microsoft.svg,sha256=EvGTEbcc-xnzTq5io5nznK4psE-_5ZZhUAn_WwRuKaY,134 +material/templates/.icons/material/microwave-off.svg,sha256=9NA-Pi4_hw8Mq16gAMq3RUuytO9RfSJvcxfZDf4__JY,389 +material/templates/.icons/material/microwave.svg,sha256=e8_UmcTsI8IwLY1SlQSzUQrCgLeDeUSTE_NLfDQqeRE,298 +material/templates/.icons/material/middleware-outline.svg,sha256=7lSox_98j2Gn8QFj76HZ6ZoqtUQWclOztKJH6ziq5s0,248 +material/templates/.icons/material/middleware.svg,sha256=roH-KkmC0pJZS5G5wADNBFctOBhTfYI6VoibFh0fAaI,198 +material/templates/.icons/material/midi-port.svg,sha256=Ek9K1TnY5QjcNWyLQq9henQCPJ9SeMSudG0wxyvEkV0,813 +material/templates/.icons/material/midi.svg,sha256=REGLP6hJs-BYpbXGQd_iIonuYrKO56Wa3nqMKq1NivM,299 +material/templates/.icons/material/mine.svg,sha256=32J3fGMGZMKmIvTSkaQ7p83x7H6pvKhDs5NYrVsr5n0,493 +material/templates/.icons/material/minecraft.svg,sha256=4r23R7XpTu-IDXQ20_La1CDSyN9zvvhC80re2k6vScQ,199 +material/templates/.icons/material/mini-sd.svg,sha256=F4uU0HbTmQnCpi1T9hGv-lBuGc3jwWjgQbOkX5tJcH8,195 +material/templates/.icons/material/minidisc.svg,sha256=xAhf2oFquv1OzU-ugsFmieW5WZc1YudaYFkTXZRCgZI,323 +material/templates/.icons/material/minus-box-multiple-outline.svg,sha256=RLWFPa4HYHTWdkw9_XKNwn5xxb3oTX5LQ067eMD5sto,214 +material/templates/.icons/material/minus-box-multiple.svg,sha256=7-uFOfynQG61oGfKd6IGdxJ-pi7cDzStsnjKkVKBakI,200 +material/templates/.icons/material/minus-box-outline.svg,sha256=ocxlgjHzT3pZByWSVXp16Lkq5bPYngo2AVMfhRv2oWs,181 +material/templates/.icons/material/minus-box.svg,sha256=zUg6jqGun-onGEjbwMQiXV4oo9TRpPgVGUB9D4mK0W8,167 +material/templates/.icons/material/minus-circle-multiple-outline.svg,sha256=s7dEDVjxbqrTz35DGXZH0gkYGKXyClr66VizBhXmYP8,306 +material/templates/.icons/material/minus-circle-multiple.svg,sha256=E3cgO3zZrGano20d9mCOjrEImZmOGvt9aXea283-zg4,249 +material/templates/.icons/material/minus-circle-off-outline.svg,sha256=4ETKV57werqyPKL-rzEgCrg8tKRYuyZ041e3guh5pkE,421 +material/templates/.icons/material/minus-circle-off.svg,sha256=WJ8jU1RhN0fBTxO596Zbpe2glzT5QZobOxLvA1hrIKs,291 +material/templates/.icons/material/minus-circle-outline.svg,sha256=KfSuZPnlM9l01E0XRTLHJhXeSGo-JhbvlgjUyW7jFQE,224 +material/templates/.icons/material/minus-circle.svg,sha256=xP4Z_6lxySK0NIGK71EkS08rA7vCDO2usnw0qWrzWPQ,168 +material/templates/.icons/material/minus-network-outline.svg,sha256=ldhRhtfuNtLpxKs_q8h-DcUTNa517EzOBSi_5-GLz3k,261 +material/templates/.icons/material/minus-network.svg,sha256=hp6dz6rpp_Fara04E5kfvVlpxjEH-3KmDLtTWY9l2eQ,248 +material/templates/.icons/material/minus-thick.svg,sha256=_-E6QGUwVDH1wGFbWLsPS3ZEmIx1fjUQzE0J-4VRpCk,92 +material/templates/.icons/material/minus.svg,sha256=OCUX45pCRB0WkXpXC9ApizWWaZMIEC6mfp98yJCS2yQ,95 +material/templates/.icons/material/mirror-rectangle.svg,sha256=LPXeAT69EjOEwdgA2vOo6S_N_CgZ2rnh0G9oADYNtQ4,208 +material/templates/.icons/material/mirror-variant.svg,sha256=S44J6OGGE7hBVPD29XI2YN18QB7YPwzxupXZDbaZJo8,271 +material/templates/.icons/material/mirror.svg,sha256=_sX9X4115y3joOHkCWSpaTHJwTLhM8lM7svsJERoBx0,341 +material/templates/.icons/material/mixed-martial-arts.svg,sha256=jPJqPdLFeiZwYLAKja0F6hD31-St5nvpFeAnZ2wvC6A,462 +material/templates/.icons/material/mixed-reality.svg,sha256=KA7MzB06m9iS_zb6Vm7qC1P3ahUM7cJiOTBkV8fn_AA,320 +material/templates/.icons/material/molecule-co.svg,sha256=NTO0qiiDKujHQlxbNOIrIInwOgM9EqytrjJKCbVUhLc,216 +material/templates/.icons/material/molecule-co2.svg,sha256=lzA0ZKQLVjkNK3Wbkopqhibcwn41t53b0ra-BqShP94,320 +material/templates/.icons/material/molecule.svg,sha256=n63391bQImTq3dPMnB_jVdeLpFpuSjNa2G_hDIp1TxI,690 +material/templates/.icons/material/monitor-account.svg,sha256=rYrIbwEg1jxKDYySQcU8MuDu1C8YaV9wKQ1hRq1QgmA,303 +material/templates/.icons/material/monitor-arrow-down-variant.svg,sha256=UWEVOIDQb22lGtJPQtUWNOAJF2MluLcA5XFK9qRXhR0,223 +material/templates/.icons/material/monitor-arrow-down.svg,sha256=mV_vLshOUGxO__YTWQBpgVrO4P36UWwUZVWPXbCv_m4,208 +material/templates/.icons/material/monitor-cellphone-star.svg,sha256=QnAEBgn0V0h22XAkiv8q1tr-jjSyapnwxV49uf0u4Zk,336 +material/templates/.icons/material/monitor-cellphone.svg,sha256=fh5BX5KCRpp5ZgbGyYGqcGmosAFRfqlGbzLcCBDBsn0,257 +material/templates/.icons/material/monitor-dashboard.svg,sha256=WmP0frOv8L1ozCOudA5kTk9mf1pVGF-ef5MCe8TnA0o,254 +material/templates/.icons/material/monitor-edit.svg,sha256=lJmeW6Oo2EepOR6IDxsBkxbbQCUHe-Vi_aeUI0GpcUM,321 +material/templates/.icons/material/monitor-eye.svg,sha256=AXb-cmLduO2Fn9U-QDO401zizepjnrPnoNQclp-zxfM,671 +material/templates/.icons/material/monitor-lock.svg,sha256=YGoju_9I-uidS_W1YRWPNjuh5zP-7iGmJ7A2wDSEi6Y,375 +material/templates/.icons/material/monitor-multiple.svg,sha256=reLdjfLeijk_fM_dmTw5FwJO-JMDCiNrvizSm2qmu_M,222 +material/templates/.icons/material/monitor-off.svg,sha256=Lk2yZAxSNJBsMtoWRxWYAFiroaxZMHd6zJPhxFcrpRE,243 +material/templates/.icons/material/monitor-screenshot.svg,sha256=yMdyrMr2RDYPcsBqVjskXdH2KwNC-WqxN3kNEqHQxbA,212 +material/templates/.icons/material/monitor-share.svg,sha256=oEr0_sYhxYp4pqpVo82Re2hHVf4a4_eNppucf9g1I2g,210 +material/templates/.icons/material/monitor-shimmer.svg,sha256=7Ld_9Ue2bqD7gFccc5mnJSqYJXmo-pGlm2qwHfnmwzo,333 +material/templates/.icons/material/monitor-small.svg,sha256=lzbCaKZx3O3Hm-P3F_b3fNPL0s7l41M74JsxvebxKwA,190 +material/templates/.icons/material/monitor-speaker-off.svg,sha256=bi-PTfJNAKcx0Lkzlv_MyIZ_i5MlLZTDQB51GRkZebA,472 +material/templates/.icons/material/monitor-speaker.svg,sha256=_vSZhH5LL5Da9XGJsnAs-skNpFXwM46BhX_n8gMfmeU,448 +material/templates/.icons/material/monitor-star.svg,sha256=ZWbmGsyQ0qSs5MDiyaDSsMMLiG2p7aTwcQAEPq7lWgI,263 +material/templates/.icons/material/monitor-vertical.svg,sha256=kcwNI9u5ksCJBFolssHkQeLulOoFa1yNwdyQKyAXR74,189 +material/templates/.icons/material/monitor.svg,sha256=3NbtiHYm4CK7r3uyuAo5IVuBKdoXz6hBtwmYvd80vM0,184 +material/templates/.icons/material/moon-first-quarter.svg,sha256=tPACOpYKRCPiRTlpYGLqUMd69aQ-pejKkgZ9GFrZax4,104 +material/templates/.icons/material/moon-full.svg,sha256=XvcQyFY1MDTkY9xeA4DHZ-tNajBbXBX2wlHNNDkr_5Q,118 +material/templates/.icons/material/moon-last-quarter.svg,sha256=lofV8B6JmI2jUPkLk1fk-3nPzrqVUD7wIAh4GremjyA,101 +material/templates/.icons/material/moon-new.svg,sha256=ElFQTAJ0ue59RWwfhlEmM2hvpYaiU7ARRGhHJy2iMys,153 +material/templates/.icons/material/moon-waning-crescent.svg,sha256=WVvzvKZPmKjcgCb88Fc-oe1KCJrDor99l_VZKiot7m8,141 +material/templates/.icons/material/moon-waning-gibbous.svg,sha256=fBEvnhZwCbjOr3c8sbUiOJkhTAzt0uzp8kX1ljVgR4k,144 +material/templates/.icons/material/moon-waxing-crescent.svg,sha256=dvEOJJyBDHIE3pVnLwIHuMdccDXEEp45QIwRQxLc5WM,143 +material/templates/.icons/material/moon-waxing-gibbous.svg,sha256=U_rMaL37_4Dc6Sd4fNQai2PgP7643vg2hCmBRDPw1aQ,144 +material/templates/.icons/material/moped-electric-outline.svg,sha256=EFZiBbkJCP8Z87cQQ0oVOK8gsVgI4dVqkw0byo51_Ck,403 +material/templates/.icons/material/moped-electric.svg,sha256=Rs5PJolo2Fnede_8J8LIEHwWSris8rQ_MNuYxRd1aH4,376 +material/templates/.icons/material/moped-outline.svg,sha256=l8wK2Obt1c7U-9mwWOQiFXR8KjN4Z_N-_DCKv-1Oh8w,380 +material/templates/.icons/material/moped.svg,sha256=ysfgQrtJ-_43uBitrhm-1RACcMa3QlYKQYZdhbiVkYU,353 +material/templates/.icons/material/more.svg,sha256=Y9n4wUZoHGGjEbC5vj7hbuaUUz_hXru9CL9amnEAN64,457 +material/templates/.icons/material/mortar-pestle-plus.svg,sha256=hI84wNJRf3TopSvW7AW4vApE5EQ88mDNwRBdxqNgu1U,178 +material/templates/.icons/material/mortar-pestle.svg,sha256=Ief8t3UEVRLO7xclX9yLolf7wnyiiTPKP5zExo8EWXs,138 +material/templates/.icons/material/mosque-outline.svg,sha256=M5SLd1Bs1pNyx9EYnWgScqAoW5JoHZPauZbwEjUKHpc,535 +material/templates/.icons/material/mosque.svg,sha256=_6rqoZ9Oke1m7gprU6Q8hyMSUCJ5QOce9gzsJcyypZE,406 +material/templates/.icons/material/mother-heart.svg,sha256=nq2XaYkAlnVPVDi7zpgeWver776z8PG6ydjBb_u0ooU,520 +material/templates/.icons/material/mother-nurse.svg,sha256=ewpHuKgJV8k3kp9Pcf8PJm3PseCIWc7lzov30wJE2RI,611 +material/templates/.icons/material/motion-outline.svg,sha256=JEwYCcmjTmUDpeY_y456Bm4_ogyFf-IUFOR2wpDdQ5I,446 +material/templates/.icons/material/motion-pause-outline.svg,sha256=Z7EisuXOuCZ0gxt48cJ9NuMt8TQe8gShtMe9gt_5XBo,447 +material/templates/.icons/material/motion-pause.svg,sha256=RW_I1tykmqUr0TsEk-ZrQEKvgSXYAtFUldY1bGPvXHs,510 +material/templates/.icons/material/motion-play-outline.svg,sha256=hCBbj4vzPZ6FBQia7tATWNZGLZ74T5najqUC1ppljbI,451 +material/templates/.icons/material/motion-play.svg,sha256=QXaNbJcHdOG3Y9AQX_-U99QJAMEf2f0lZQxg-Vvut5c,499 +material/templates/.icons/material/motion-sensor-off.svg,sha256=pNXZGMYV9loiE5YiEqteVHnyZ7wNd0guK_eH8o3v4kQ,555 +material/templates/.icons/material/motion-sensor.svg,sha256=HZecCc7BhvOPAvw7vHsDWWOlwUA4EHBTbKyy2LnnBKA,457 +material/templates/.icons/material/motion.svg,sha256=UT2ubhIWJGxMSQfpWRZuz3Qt2cDdWPUFbTUtI53vEnU,389 +material/templates/.icons/material/motorbike-electric.svg,sha256=JYEyF2h19NeuGkNWywxcwh0v94GnG5F0e9Tb-NKKKSQ,405 +material/templates/.icons/material/motorbike-off.svg,sha256=tYmtSmh8k97rqo6ZozN6oOw9w8xF534H0VD1aF3QIkE,454 +material/templates/.icons/material/motorbike.svg,sha256=og0FpNiwpt4rYabcqx0OQ4DlIrU_zanHDREVLH3vADs,411 +material/templates/.icons/material/mouse-bluetooth.svg,sha256=QWwMvE1KUDj_LJYnPuQpRol3WdSroabYi7-JGfn11G4,355 +material/templates/.icons/material/mouse-move-down.svg,sha256=W4Wg97AbJqZzP_10uiWpjGpcsfdwkyNB09UlyKbqPd0,210 +material/templates/.icons/material/mouse-move-up.svg,sha256=kWVHYiSska94odB-E9CriwjcGi9zD5SGkNOY98ddu2M,209 +material/templates/.icons/material/mouse-move-vertical.svg,sha256=58O54w_k2xPzNTAQWkBo_uquuaYOoR8iTSCyDj_UIf0,225 +material/templates/.icons/material/mouse-off.svg,sha256=7ORzka-eXM_AHQthMZxZ87tw_sDJTEWrKMcs8W6sQbg,333 +material/templates/.icons/material/mouse-variant-off.svg,sha256=mxqYd6O3RV6poxElg_KPd51kTbU0Aa8PQ44QU1MP6gs,433 +material/templates/.icons/material/mouse-variant.svg,sha256=GcG-UyzvlJDYYeSJMaErJUAWljh4bZNckawEt3pdi_U,284 +material/templates/.icons/material/mouse.svg,sha256=GMobS5NIz3ZSxTRL81UxcRaT3dYzsJw68YUPAO6ELjs,183 +material/templates/.icons/material/move-resize-variant.svg,sha256=G0HmpZsHHEjiech6wD4wwgwUgrG1GaOUh4EnwzECgLI,224 +material/templates/.icons/material/move-resize.svg,sha256=qTHcZQdMspJWTVvtgFGP3MnRe8VWY8zsePgYu2YyMIg,296 +material/templates/.icons/material/movie-check-outline.svg,sha256=U7VNsZtc99kll3GuUDXqTCoxNN_o5X-MCmVOeWAA5TU,310 +material/templates/.icons/material/movie-check.svg,sha256=P_as7McXhta0QXCSG0KjNnc5vFak_LA5Gu4PWBGYlz4,283 +material/templates/.icons/material/movie-cog-outline.svg,sha256=gAFffEx0SvdcB9C0oIHr5m89Y0Mf_ly0BNsTrKvKgec,703 +material/templates/.icons/material/movie-cog.svg,sha256=--eNa5n9-9sWXGnWRmepbFrkELuWSMSrIFwqtkA_w2E,662 +material/templates/.icons/material/movie-edit-outline.svg,sha256=yhE_R0RCg6t6JdBIe17AXw22aeGQK-q8wClcSsC1Zhg,327 +material/templates/.icons/material/movie-edit.svg,sha256=4JOt7QqwQ0lBOtwhKO0y7pMoCFE2kgOCNq_xl8H1Ucg,329 +material/templates/.icons/material/movie-filter-outline.svg,sha256=rh9L8GrnImBfR53VfAi_C8WvvpiS0EYfwejFRTWx1BM,329 +material/templates/.icons/material/movie-filter.svg,sha256=oTXo1J6Paem6YLdxjBPlEVhW2utSUHnotAnNu37kBZ8,328 +material/templates/.icons/material/movie-minus-outline.svg,sha256=F4kv_yKL2HxJc1AxM3-ZYXRcnxkZTCEz_AZxC6mnvRQ,261 +material/templates/.icons/material/movie-minus.svg,sha256=0In9xKFJnB_Sdgg9cswLYEB4tyDcHMeh8BzEVWQEfig,234 +material/templates/.icons/material/movie-off-outline.svg,sha256=ckfwB0UFK6S6i7WIfkhxbeLxvvH6HkGrf42oBQtxYvY,295 +material/templates/.icons/material/movie-off.svg,sha256=pB45Nonnql1oLx_yw4snOyEz6nENTRwnHxT9AakE7DQ,263 +material/templates/.icons/material/movie-open-check-outline.svg,sha256=WgU0ph8qAESGfk4H9moxwvEz10axT7hyrn4bQ2t3eD4,439 +material/templates/.icons/material/movie-open-check.svg,sha256=ITOde_9kep3-92v1DjzO-pvRmcj5n2PZhkb3c50UUSQ,442 +material/templates/.icons/material/movie-open-cog-outline.svg,sha256=PpPgt702BAq-fpZ7HBa9nOL6qK8czRpJTTbosZ-_K60,827 +material/templates/.icons/material/movie-open-cog.svg,sha256=N7PQjUb5WEseLPgaH_8D2DkCbZIBNbZOjBC10QpnHho,823 +material/templates/.icons/material/movie-open-edit-outline.svg,sha256=79YU_6-Qjl4pax3XQH_U1xnx3KVx-SYhNC7J47-4hco,458 +material/templates/.icons/material/movie-open-edit.svg,sha256=Jo6EhB-uqhK2z5kC0LHnm_dVzlLHoH7-949kAhQkC60,454 +material/templates/.icons/material/movie-open-minus-outline.svg,sha256=40cY_zNqXjkctnNBFRVEBnqGEcAPEABju8KtrZwxvvQ,392 +material/templates/.icons/material/movie-open-minus.svg,sha256=2U10PuG2RAP6yC9DCPmjA-01-A7AgC4fTpndGaaTUVw,393 +material/templates/.icons/material/movie-open-off-outline.svg,sha256=kAGeQFfsY51vSiR2JCBDCzVt1sfw8Thy_QSBb6ERb9U,350 +material/templates/.icons/material/movie-open-off.svg,sha256=WAL87c0RZdsBjJ2meY5uQwU5xQNmtwDLCc1Zf4_lmVw,315 +material/templates/.icons/material/movie-open-outline.svg,sha256=av8KQnNVeBqVOlgaYOKUrN2bZ3X5GWcQmUXwFN58-zA,344 +material/templates/.icons/material/movie-open-play-outline.svg,sha256=-c9qTlS2n6UjI5wVW08JNE-iI03ZL1Eoe7UXmhLe9BY,391 +material/templates/.icons/material/movie-open-play.svg,sha256=jEZvaKKRhfh78fJ5OZ_VKRKEETAlyM4qSRhmzI47JQo,392 +material/templates/.icons/material/movie-open-plus-outline.svg,sha256=2QnixS6Wgxafc6MnDz2_WC4a8YYbDLyZqyZJuRbhwrM,411 +material/templates/.icons/material/movie-open-plus.svg,sha256=nxcLtWszfyWdPDXMMsLDimsUjFi5BTFpAMSPYVpa5Lk,413 +material/templates/.icons/material/movie-open-remove-outline.svg,sha256=vvazpiShBRJoWR3r54jWbzAcfjgQdueY2gkBt6hGaik,502 +material/templates/.icons/material/movie-open-remove.svg,sha256=nlvvm1BMp5P2l6XCq-UBXV_PwqO8krF3ICMReYvD7Lo,506 +material/templates/.icons/material/movie-open-settings-outline.svg,sha256=hC0gzAQkASU4J2FHSwY4IIkPgYP8jEao6HE5r7c61q4,383 +material/templates/.icons/material/movie-open-settings.svg,sha256=B9UoedYSQkBaujWmE7_BUGsPQivzmE1Cekycq8QEM98,373 +material/templates/.icons/material/movie-open-star-outline.svg,sha256=-hO6dPF6fiTtHAB4FISiTYNKTP5Nm_9iBaOUfAhKMf4,471 +material/templates/.icons/material/movie-open-star.svg,sha256=Ndc1EQYxEzAxSGdQUrwS3UeFiS41yoTvgN_es2g3TyY,476 +material/templates/.icons/material/movie-open.svg,sha256=Y2hXbIYkoAXExLysBiXO05XQsIAjD28O2L5goDdiTiw,321 +material/templates/.icons/material/movie-outline.svg,sha256=21J3radeRZZK8WTV4IGpTgCykwBbqHYLj3H27K-6VpA,198 +material/templates/.icons/material/movie-play-outline.svg,sha256=7_HXVzHZkv1uhrVcv0GwRvX0i4ED0sYf-M5MTKrblN4,262 +material/templates/.icons/material/movie-play.svg,sha256=Rh44rOAlW_WQt3fxrgXbzSx_xkmiI53sREwGaOqy9j0,235 +material/templates/.icons/material/movie-plus-outline.svg,sha256=SsJ1cUKx_k0hJTObxK6xxHnkR9dLLzKJhG5EwSw8LuM,281 +material/templates/.icons/material/movie-plus.svg,sha256=3eS2j3Nm76lnni7RUxTWQjA1X6D_Y2BggwPHsCFjfKI,254 +material/templates/.icons/material/movie-remove-outline.svg,sha256=MZ6V6IHph7DnQE8fd1lRbqe6haV1e2DWd_ruHYdrfw0,375 +material/templates/.icons/material/movie-remove.svg,sha256=XQ-9hum_58pOAUSGv1qvgmjEjY_qNFlDi4H4JWeu--4,348 +material/templates/.icons/material/movie-roll.svg,sha256=toiDqJMDBg_pkNyih9-NQ2Sce6sBs4mVZg0yBHABu3w,791 +material/templates/.icons/material/movie-search-outline.svg,sha256=zy57GD8_HIRM3l4FieI-QsQp51QDucSEm7P2paZeHz8,410 +material/templates/.icons/material/movie-search.svg,sha256=GJ5a_eTvYbhO7vJJxbJbhQ5MK71x_mDKI0mQO6jDV8g,417 +material/templates/.icons/material/movie-settings-outline.svg,sha256=4t4LsJBDWsCN2pXflNZSWiJE5LCrSubwz2VPhaD7akc,249 +material/templates/.icons/material/movie-settings.svg,sha256=MHVxLVZEiplyIb-c2mXBPE7lrI4bGhHf74Ois1w827U,218 +material/templates/.icons/material/movie-star-outline.svg,sha256=wkjy5QDouPTMOSfKYQ0WPF5KLlzGBHEllOdD6JL34CI,345 +material/templates/.icons/material/movie-star.svg,sha256=P1686klqn8qGOjkoTHaoJIRn68SEUDm-ogHWdJdTKqM,318 +material/templates/.icons/material/movie.svg,sha256=5fIwVa3XnC8YQqhp9XcxAJEh84UZ-idw5x2vdIZFSw0,178 +material/templates/.icons/material/mower-bag-on.svg,sha256=mmDr1S8SfwlecDaFCssYmIOI_up8unCuzgaM2KURK-4,520 +material/templates/.icons/material/mower-bag.svg,sha256=v2xAq8gkTmDkT8dW8NsgfQ4LsrBHNhVLXaNCAC0yK0w,528 +material/templates/.icons/material/mower-on.svg,sha256=9Ib4SZFabAEKH9LOEuoQoIHqO_3OmmJTPSIgxYTxdB8,492 +material/templates/.icons/material/mower.svg,sha256=V-3nQvxJ3c4fQ9_sKz8G2yblcde6VmcUV90g_t-_u54,494 +material/templates/.icons/material/muffin.svg,sha256=MTp_mMLDWbl7NmNK3aXuFuf1QQZTAu9Ik4EuqKyY7pA,213 +material/templates/.icons/material/multicast.svg,sha256=CVNxp504X1PBtO2on_jrqY_61qM2cBePv8zr9o43FqQ,258 +material/templates/.icons/material/multimedia.svg,sha256=IatoB2tBM1sd7FERhgF5uaCrBGsCfv0xZQNNEFOqxeg,511 +material/templates/.icons/material/multiplication-box.svg,sha256=Xfb7V20zcpQX-KbonhqoH7-ozdBVN22TFvT6ErTBfS8,279 +material/templates/.icons/material/multiplication.svg,sha256=nVVGRh6kPTsLTaY4ZQsq_XudmzIihx3XuBnMDNjsa1U,203 +material/templates/.icons/material/mushroom-off-outline.svg,sha256=HKWgK3RBIFOmzfKHFFG-zE4wRVnsMGF_rh1Z_tAXBQk,559 +material/templates/.icons/material/mushroom-off.svg,sha256=LsFEZFigIqHnYSSTkWkazGeGIN3ny6st0ASR5bA9LXQ,489 +material/templates/.icons/material/mushroom-outline.svg,sha256=D750zm2CELgwaHcaQ2UTRLugMyMEjBhGLzK6sAv8ALw,495 +material/templates/.icons/material/mushroom.svg,sha256=iRnfQ5J8yCcU6x7OtFxjeGNQ9ywAfhtkDd3T87Aqm4o,399 +material/templates/.icons/material/music-accidental-double-flat.svg,sha256=ffYtQITxn2VSfsTki7PPtM_kWoZRUtf08m4i7FclawI,376 +material/templates/.icons/material/music-accidental-double-sharp.svg,sha256=vz9QGEyNYdVeF6njhE7WCSN-ipisUWSZoLJEpyySUIM,172 +material/templates/.icons/material/music-accidental-flat.svg,sha256=rCidbnWaLWtGonKEhvLJN6qcOLrgHXQlRnrK2oI8iqY,222 +material/templates/.icons/material/music-accidental-natural.svg,sha256=l0JhDW3eSayj5g_XQVmF-KeOfoKlc6EjQKct6o5XmYw,145 +material/templates/.icons/material/music-accidental-sharp.svg,sha256=qIMJGf8jRhTz7EtG-cENqrR42WB8IwpfJuzwCAy3Cag,221 +material/templates/.icons/material/music-box-multiple-outline.svg,sha256=CBQQDrtsTczIUgL1LhGhEvyj6M5ff-bJPgqL8jgGt5Q,302 +material/templates/.icons/material/music-box-multiple.svg,sha256=M-fwuV2za_x7rn77E0CoCZfnqHchXLMWOSFXhIMzlRM,282 +material/templates/.icons/material/music-box-outline.svg,sha256=fuDRrzEO20ZQyVB9VQhleg7bGBDcFtsvmky3xBDkCH0,266 +material/templates/.icons/material/music-box.svg,sha256=EJN7hBle0CugOaPamSuY-FmGxPJ5yGrS4ADbt5GPGbs,250 +material/templates/.icons/material/music-circle-outline.svg,sha256=8vt_kAZyfDoA0QOeep49iUJrJm50umL-3O3W8WYZ3ZY,317 +material/templates/.icons/material/music-circle.svg,sha256=qcEhvdPZFuFHkQUN3YkNZh-adICxwfOZBw-LrvPkZSI,260 +material/templates/.icons/material/music-clef-alto.svg,sha256=eCVgfASdDX-XaYBD5N04K9mwdaKR3zUfpXWFr9araYE,243 +material/templates/.icons/material/music-clef-bass.svg,sha256=zSdO9p95B9MHTkVUXeezSrviWI__9QkQ8bBqfFVbNnA,316 +material/templates/.icons/material/music-clef-treble.svg,sha256=86LluEZ4YtIHphG5P0YrVf-AdSxZJH_FQprYpuzwiNs,617 +material/templates/.icons/material/music-note-bluetooth-off.svg,sha256=Gjdz1333PPd0h1sbQOUEGmib_t7rBJ6PwauUb6-4XZU,397 +material/templates/.icons/material/music-note-bluetooth.svg,sha256=NkO9jgDc8oaKVe8sMP70kV5kOoS6qfOfOX1gyc6CM3Y,333 +material/templates/.icons/material/music-note-eighth-dotted.svg,sha256=km7aAPWhVif7UZ9-ig7xg5yzWCVDsaDgR3iUOnJ4py4,164 +material/templates/.icons/material/music-note-eighth.svg,sha256=JodNkzAYWT_Mbtr0n880imckHMSlLoSs9nfl82gPjQ8,163 +material/templates/.icons/material/music-note-half-dotted.svg,sha256=LNg61ajQA1zbXkcCZwqNWIdAo1TMnxyPuO9zOHHF40A,215 +material/templates/.icons/material/music-note-half.svg,sha256=qqFc0lBed8DSM9IWCN0lm18oNcQWjSrihwzXDjqW7WM,165 +material/templates/.icons/material/music-note-minus.svg,sha256=ury3q6dmSiLNQ5BW7wfP_Nt0i1Z8Gt1KnlCz2NwZAXg,177 +material/templates/.icons/material/music-note-off-outline.svg,sha256=5boBYyy2uLN23N57Ek5mLbGtmjYJzCk4eEVUEPBMCk4,259 +material/templates/.icons/material/music-note-off.svg,sha256=s67p-SJs7mDAkV_MWpFBANTEioAb0KFQZHNhKsvoq3c,217 +material/templates/.icons/material/music-note-outline.svg,sha256=kHw9CwuRBBNWbhvCirPy4AR04K-C0B5mAqVNwUSPoMs,146 +material/templates/.icons/material/music-note-plus.svg,sha256=dblEk59xVVH8Ufz5NoLF9oTT7wNuvPpxaa5dBgtQnp4,195 +material/templates/.icons/material/music-note-quarter-dotted.svg,sha256=8rB9Z-ixVvntzP5Iaus0aONmNKO5lPqwj8LffjSSdyc,181 +material/templates/.icons/material/music-note-quarter.svg,sha256=Aij0DwGqEzLMkhBxOncZ0beZjoR19qWTLDCMFGP1ifg,159 +material/templates/.icons/material/music-note-sixteenth-dotted.svg,sha256=boWCqHRjSzr8lPuuzZgzYKYfgwOiQ3556QyGG4rgFDM,175 +material/templates/.icons/material/music-note-sixteenth.svg,sha256=n1DhohfKilS-GgFJFs-sClwPD9SR7chvsM7NXhYLfng,173 +material/templates/.icons/material/music-note-whole-dotted.svg,sha256=Wi158VcelCh_BHXOVsOQFw-iYg-ehwVPGyHHwNGkDFc,195 +material/templates/.icons/material/music-note-whole.svg,sha256=J8B1QD8St62sr5N0TWOcZphUBqAmvs6idUukvcTXhk8,145 +material/templates/.icons/material/music-note.svg,sha256=JodNkzAYWT_Mbtr0n880imckHMSlLoSs9nfl82gPjQ8,163 +material/templates/.icons/material/music-off.svg,sha256=4GV-OZoWZRZivduC8tAxkhD-VEqLK3M41IhYM1-iaNE,342 +material/templates/.icons/material/music-rest-eighth.svg,sha256=KIFmLzCFVkSo0w5DJBmmjbilMM8MWfQQUnLZXdaXXnU,173 +material/templates/.icons/material/music-rest-half.svg,sha256=d_9S5oT935E0ACJDL-bguVady434teZpLCYw1o_qX2Q,102 +material/templates/.icons/material/music-rest-quarter.svg,sha256=cUBQQIA8Wf10f_iiAb28qWfTiq1DqamGaLk8UdFgXZQ,354 +material/templates/.icons/material/music-rest-sixteenth.svg,sha256=oWDg1wQ704vEnUYnRvGJnbThRaCeeyCD4zfG8jzX4oY,259 +material/templates/.icons/material/music-rest-whole.svg,sha256=P0ZGxiWhvN69uBPmnj4jBXo4zeou5DB9ANZJ1PGeTXQ,104 +material/templates/.icons/material/music.svg,sha256=LfripZqlXfBO_qqPcVSPbhrOvop91er8j02-y3okWAc,282 +material/templates/.icons/material/mustache.svg,sha256=IAdcYGHMn-LxZJWSSI6lzEdXyJ1Q6xbr1DMRT9v14zU,185 +material/templates/.icons/material/nail.svg,sha256=Ud8CgyTZHaiVn95MG7-ZfWg71yKE7tchUG404vD8-9E,120 +material/templates/.icons/material/nas.svg,sha256=UoUv58duGirk5bZLK8Ji5gulxSUe9GfIVFbcui5oEXc,312 +material/templates/.icons/material/nativescript.svg,sha256=ebrc1itEerrEU5N93B3C45wTzCnx43SsDg_ue67btZ4,382 +material/templates/.icons/material/nature-outline.svg,sha256=yZ8EHkU6Fqnb_qzhu66F-eX4TEjEM8yvJ_ddK_4aI3o,295 +material/templates/.icons/material/nature-people-outline.svg,sha256=A2bMBXRDAUxuLfcX1k5zjV39izdccuwa2op5R-_Pex0,548 +material/templates/.icons/material/nature-people.svg,sha256=2HwfypW88k9HTLbIlXafmv-GtASN1xPA2GcaBFXdSUw,321 +material/templates/.icons/material/nature.svg,sha256=DVHet1JCFX-IJjnjGFkZwE_A3DO_5UoKrkY3GDhd6pc,189 +material/templates/.icons/material/navigation-outline.svg,sha256=dJLB57ni9D8ZhkOfP95C1Pc3npInJDBOjEzBDIRI0Z8,171 +material/templates/.icons/material/navigation-variant-outline.svg,sha256=kyZIFmawYIOscRnaK5OzH5Br5VnF7-2EJcginD6OVO0,192 +material/templates/.icons/material/navigation-variant.svg,sha256=z_28qfakrBTv58QLmG1xTyLPp2SWJRVsr83AxmgNxZo,123 +material/templates/.icons/material/navigation.svg,sha256=Z1T4cLKgPPeoFcBvNntnhi5EBk2BTC2u-idpnP-11W8,127 +material/templates/.icons/material/near-me.svg,sha256=z_28qfakrBTv58QLmG1xTyLPp2SWJRVsr83AxmgNxZo,123 +material/templates/.icons/material/necklace.svg,sha256=R7BnKZYnBbtAjWtHnHWvt1Ezdhs4GX5GWXpwhjlNXLY,254 +material/templates/.icons/material/needle-off.svg,sha256=1hNsXNyf0MzjxjsBZykgNw5aMiPcbzDXK0J56dGqWHE,378 +material/templates/.icons/material/needle.svg,sha256=smJRJPKhxi07MejO6f3Rh9GD-sX0rcPzgYmYeIuNbww,359 +material/templates/.icons/material/netflix.svg,sha256=nB6pILVWCcp3OxC7KUSimwSiC1aYey6ZPU60mkW4WJE,180 +material/templates/.icons/material/network-off-outline.svg,sha256=fZwOY2fEbBmRwU3g7frjiWr3XofnbaBuBhrBbZm4YxQ,397 +material/templates/.icons/material/network-off.svg,sha256=kB7PbFZqrXjamjzp_s52hkVm_DHebu9lnakG-4bhZ4Y,346 +material/templates/.icons/material/network-outline.svg,sha256=Ta6XvD71FSq99NzNUpDyCRDRKv3jHgAQeImX8HIeWcs,250 +material/templates/.icons/material/network-pos.svg,sha256=5UtUEGMmwzgriuj43sfjYlllYEwJXdYrOZqkPMz0Dwg,358 +material/templates/.icons/material/network-strength-1-alert.svg,sha256=GEDShZLez0zqLgcZnTBMgwqWbLmuzUTa8d0ejw8oVIk,134 +material/templates/.icons/material/network-strength-1.svg,sha256=8mk4mfKk_2ewqmLVFDkG01HT5unGqZpjsdnCLfnrfZo,108 +material/templates/.icons/material/network-strength-2-alert.svg,sha256=9Ad9TunA98ArMF9Jy-KG-nY5sKYP7YR8yvbxQ7YIcUU,134 +material/templates/.icons/material/network-strength-2.svg,sha256=wjo-LWySV_pipnT2lCtmHY1wrg3y-2pU5vePzVOs-jE,108 +material/templates/.icons/material/network-strength-3-alert.svg,sha256=aUotf_RmYof3q6Mtg9GWwyUlIsC78JFb-Ooi9MkJ04w,133 +material/templates/.icons/material/network-strength-3.svg,sha256=WTSLgEQHd5M9HAu0Ba6hUgtpt5ErmroJU_7AlIcrfYY,107 +material/templates/.icons/material/network-strength-4-alert.svg,sha256=J3QzucfTqTkHFcp7CfDvMotECN04i_GOXv5-fFjQVnU,119 +material/templates/.icons/material/network-strength-4-cog.svg,sha256=8jLT2FTF_589_a-M4Jav-pIosBGkwcdHf43gnwGytAQ,602 +material/templates/.icons/material/network-strength-4.svg,sha256=Mqx6ifzI5QUSOY_rjYzWoIxOEtFd0dJoBsKF5do1Abc,88 +material/templates/.icons/material/network-strength-off-outline.svg,sha256=x6VeoVZa5S_X2eQo7CHkTPixa119eLY8-P6dxpkOFHk,192 +material/templates/.icons/material/network-strength-off.svg,sha256=AbDwvDI7UdmpaDkdzu8rpmGQ2pRUopMpO7ihewXpaw4,152 +material/templates/.icons/material/network-strength-outline.svg,sha256=Xq4PXwEcX4HihQDdQ5vU2YhT4PAoTrPbqtZhubkyLsU,101 +material/templates/.icons/material/network.svg,sha256=HXgAQTRm6t65yt4d3C6MuvQJYmoeCW9MezZykwoje9c,235 +material/templates/.icons/material/new-box.svg,sha256=JSwhSB6B_7bv4BTa_LnitKe2FLtkqcpaoEwOiX-k2as,351 +material/templates/.icons/material/newspaper-check.svg,sha256=zi0M865u7VsFUrrtFY_3iJmAa2fQ0ixBhVh9ZIBtOmw,399 +material/templates/.icons/material/newspaper-minus.svg,sha256=2dnHtcjNdj_vSg69hb2dqKfPLofm1GGOsCohGhY4PkY,342 +material/templates/.icons/material/newspaper-plus.svg,sha256=xBcgx5_iUIOTdBFauZVZ_45Juti_9SQqsOQt37qeHFA,361 +material/templates/.icons/material/newspaper-remove.svg,sha256=RI4UCewgG_n-hpugn5Tn48BHazkYd8zJfr42EdCyEPo,461 +material/templates/.icons/material/newspaper-variant-multiple-outline.svg,sha256=Ln8xNtGvCkm5zxYsBsRytbbgHmN1IWmtnAWiiO7waa0,290 +material/templates/.icons/material/newspaper-variant-multiple.svg,sha256=irsL6DyBmwEr38t-vAQX6FvsRj0kosOkkmMVa4giMKw,278 +material/templates/.icons/material/newspaper-variant-outline.svg,sha256=c9I9-eGFzIY-p2m1wSYP4rqJ1gvynm3KT0B1EmHnEpI,232 +material/templates/.icons/material/newspaper-variant.svg,sha256=RP9mRWE3lhjyCCzAiYicBm-7fUVWyzDwbHUHsg9r4ZE,217 +material/templates/.icons/material/newspaper.svg,sha256=wDD0Jxs78TkdrIQyd2WPYzdloDQepnjoeJuTzjpmlCw,271 +material/templates/.icons/material/nfc-search-variant.svg,sha256=9fG9juSUJ5254e3YhzdYcER94xcv6RsHLjX2Oy2J1M8,606 +material/templates/.icons/material/nfc-tap.svg,sha256=NvkyZ7ett_zwHZYSulloDZGfoSTBhz3bXl1jUdt5Jk8,302 +material/templates/.icons/material/nfc-variant-off.svg,sha256=DMd4kyrbPPAPZUOsFb0sxsEn_ekFDSt6BPqQYn0FqgM,342 +material/templates/.icons/material/nfc-variant.svg,sha256=fhaWMmkzDuUmCMHWTIJYKP0LVyx_WAqTTNcR2gUjqoA,282 +material/templates/.icons/material/nfc.svg,sha256=JQQQz9jf9DiPuYjc6aCna_S1HcwdVy0jjGma-njcbWk,700 +material/templates/.icons/material/ninja.svg,sha256=R_9aYRIVWmrib3G42G108RknStnj3wQ55AyHatFyI_I,483 +material/templates/.icons/material/nintendo-game-boy.svg,sha256=YxJDcw5ymeMkQzEL4MPHoqxnR_uAPGwJ2O0B0IVeOvs,302 +material/templates/.icons/material/nintendo-switch.svg,sha256=x6FsDQeTYeLmpm_-8HB5amTAeJV7rqP49DcOMsDSjJ8,549 +material/templates/.icons/material/nintendo-wii.svg,sha256=e-Y019mYmrxoIxgBF6u3TWd_vnZ1c7vwWA_JYnPrlDY,552 +material/templates/.icons/material/nintendo-wiiu.svg,sha256=8iOUYW0g7fzjfVqxB6F4RVQ4SW99Cddi5JBzXBCy9K4,299 +material/templates/.icons/material/nix.svg,sha256=WkBzO1fhOM7Zybr-GCtlQvyEvomP46RAKj8j1ED2wAQ,459 +material/templates/.icons/material/nodejs.svg,sha256=MSXPu52EQ0GqI-h9hJg5eBWVnBolyh-kZkUU5Q_kgOw,1098 +material/templates/.icons/material/noodles.svg,sha256=UMA584iqC0i72t3n50EnW-C-jVx-Oypki3UO7FVinpc,283 +material/templates/.icons/material/not-equal-variant.svg,sha256=vtJCM6LKloKIClmbGy9Zju90yeMUGK2ShgjUMuZRjns,197 +material/templates/.icons/material/not-equal.svg,sha256=tQ2fWDW9pH5hXcdpNIZO4Ig0ka5qIk7cXC3hmdncCsM,135 +material/templates/.icons/material/note-alert-outline.svg,sha256=FdZO74SBdX_QOQTUFvEIsUbKiAN25zcv8Mrr3XdRIUc,214 +material/templates/.icons/material/note-alert.svg,sha256=_l-SS2SWZyzUh5tt2vC_RAB_aQAGQNpqiz3F3JOkrt8,195 +material/templates/.icons/material/note-check-outline.svg,sha256=qXlfPEha5tR66gCRi-ptEpHTK4SiTpCie89K6recliI,274 +material/templates/.icons/material/note-check.svg,sha256=XBUJ2SKAUaxUolqpVJ7VqhgUGC-bFSqL6HV0yidAr60,281 +material/templates/.icons/material/note-edit-outline.svg,sha256=uGMP4cCzpvw19W5y70WQHO3ft7N3wjDy5iRyF2nUs0E,340 +material/templates/.icons/material/note-edit.svg,sha256=SB-jVcBWCPmZNqXaGdRJvJS1I_llhBnuZwMVa09lR-g,318 +material/templates/.icons/material/note-minus-outline.svg,sha256=8YR8LLYU5kgYJK9xRRtI8izdrGNhJ2MO3C0E8udwljI,221 +material/templates/.icons/material/note-minus.svg,sha256=cmWJ5atqCy3UBENDruaw8XSOLpLDXqjzq7D8V68OV-E,232 +material/templates/.icons/material/note-multiple-outline.svg,sha256=OudUpTc4mP08V2cek0lfb4sl5XlmhlR_w7mBJepWI-4,209 +material/templates/.icons/material/note-multiple.svg,sha256=NW1gwE1P_CqEF5d1jg0_dyouF9xrBUXdaBbtVoKldtg,189 +material/templates/.icons/material/note-off-outline.svg,sha256=ug9FZkVef9eHJtq5UcQG7FS8eShRUExyooyF_nyxJU0,300 +material/templates/.icons/material/note-off.svg,sha256=gWbbsvZjuo5IkyJO6ry_odrGRP5egoi8h79L6jxNe0s,218 +material/templates/.icons/material/note-outline.svg,sha256=CBYCTW2H2yB8mPHhuR07wt7CwGq92x_EW49clGLO1yM,181 +material/templates/.icons/material/note-plus-outline.svg,sha256=d-T167ATtiQLdxTHCWjc7SNMjisS3lbftdSVf-wCpW0,245 +material/templates/.icons/material/note-plus.svg,sha256=6YpCjGSfnhmP9MIfApiSHQq42Baf26fWNeFpI1ghhC8,252 +material/templates/.icons/material/note-remove-outline.svg,sha256=nRywkhvWX9l7sKBS-x5HL0090fIfyapB41wbJzf66MU,336 +material/templates/.icons/material/note-remove.svg,sha256=Q6jeg9bazHiiDeK1DIVbC2dL4MeEDHdirWhTFrFUv7A,343 +material/templates/.icons/material/note-search-outline.svg,sha256=Xa2O8eIlEguPwDYCNUXd4X33mMODabDdt6oBYzLCTeo,445 +material/templates/.icons/material/note-search.svg,sha256=spwP_JFgrO0XXhTxdQqRL9FL5QmCelfz5_zt1LTbb68,393 +material/templates/.icons/material/note-text-outline.svg,sha256=EYPup38DE6IKfRX45HqQk5aV2byL90WNrCyRURvqg1A,180 +material/templates/.icons/material/note-text.svg,sha256=JgL9wbO5-H9xpqvEdwdePQURcuq7Jg99QCyBz8Rc9kc,188 +material/templates/.icons/material/note.svg,sha256=R8vTsUXaZ3XRyNuPpImTe7xik1zOWj3LwDy9IEmVYSM,162 +material/templates/.icons/material/notebook-check-outline.svg,sha256=PH0IBcFF3OF7epTo9WaPntCPP5v_AxrEQ1kyB91_9Pg,349 +material/templates/.icons/material/notebook-check.svg,sha256=60AGx8lz_wX_2gxfzJvcNXlsrnLYveA_HeTXc7i9_k4,321 +material/templates/.icons/material/notebook-edit-outline.svg,sha256=ae7yhlSGAtepgxT6HXU1x8295D1qoJv7KyD9Pwa6MQw,389 +material/templates/.icons/material/notebook-edit.svg,sha256=8Hoo44fVYEcGrPJ3x4dvEn7jQ3SG-lBeYWpHleVQD4M,383 +material/templates/.icons/material/notebook-heart-outline.svg,sha256=X92Qe5i9Tnim9ZccvOeb08k1n98nEyp-I31AdSvL-Jo,423 +material/templates/.icons/material/notebook-heart.svg,sha256=vCJw_HN6dJ5TU_Xw48e7I40nzOJAgp5Hwavlf00w2GQ,395 +material/templates/.icons/material/notebook-minus-outline.svg,sha256=CtFlJRbqeU4_J_PwhEsR4RY7zcfEioCogcK0r4CRsD4,279 +material/templates/.icons/material/notebook-minus.svg,sha256=tlGNroK61x8t0IiS9vPh9YOat4lsNttJpJc2DSkUK8s,285 +material/templates/.icons/material/notebook-multiple.svg,sha256=vYl-IW2n2HeBQIWHspdfHpjxGqgeqWbah0CXAuKcnns,344 +material/templates/.icons/material/notebook-outline.svg,sha256=kCfByIwcwKka9EAtUvT2pwDUJwHVdGm34PO8kLJZKDI,257 +material/templates/.icons/material/notebook-plus-outline.svg,sha256=fDIljfpNk2WoH-CiSvHKo3AbaGyeFz2Z5Ta5h9kiiyQ,299 +material/templates/.icons/material/notebook-plus.svg,sha256=pbUMBX9IDVZ4MS6MiD9DzC8tVSBTjQ1nq0r_bkXBIuA,306 +material/templates/.icons/material/notebook-remove-outline.svg,sha256=T77E8Gzs6CIqQHqb5ooHX4JlZSHdcT9X8VVgvJjewuk,370 +material/templates/.icons/material/notebook-remove.svg,sha256=kfGeJrZayu92t7mMldKEed8FJsNtYyAm5qGg5rPM5R8,377 +material/templates/.icons/material/notebook.svg,sha256=ZeK9RQwLIt3uw1fOHheMazXt_fXX6P-7qBz4JYwD4Xc,244 +material/templates/.icons/material/notification-clear-all.svg,sha256=9ZQlRRVrg091xfGu29598P1jBkISelYB7h7ET6Ct0FI,115 +material/templates/.icons/material/npm.svg,sha256=HTL2DA1dQkg5uQmShHJQWnZ4IkGRBB5ToQ-VtxOm0rM,189 +material/templates/.icons/material/nuke.svg,sha256=GI4w3z1JuVz1q1UXkCiuEg6L3Ow7fFAAUyeG1vBVlUs,427 +material/templates/.icons/material/null.svg,sha256=Kh16XuX55Se9AX6lXoAZ45Tx9fMWisiMRYkOkKnL6Xc,443 +material/templates/.icons/material/numeric-0-box-multiple-outline.svg,sha256=4WQT2uuPd5hE1iiwoItnlD_QIMU-tAqjRFB395k1Tk4,281 +material/templates/.icons/material/numeric-0-box-multiple.svg,sha256=r1SUGVbwpMx-EbgKPm3J10DX-49XicJzy6-SKXOIQjg,265 +material/templates/.icons/material/numeric-0-box-outline.svg,sha256=ndEAzfBmLVIFB4EkVJwoJOG69BGzS4g9Q5Hf5H9bUJo,249 +material/templates/.icons/material/numeric-0-box.svg,sha256=fn3gCkoXiGOvhNHetDVg-6CthlXbNfSEoU2CaYtzxeU,233 +material/templates/.icons/material/numeric-0-circle-outline.svg,sha256=EPJIX3et9SLsK57hL6e4aFdvc9DanA4kynwR3uWFUkk,296 +material/templates/.icons/material/numeric-0-circle.svg,sha256=bOQd8D6gfTFjw3vmszhJlbBaLa1sIusk5lBKN_6F6PU,236 +material/templates/.icons/material/numeric-0.svg,sha256=WnQoYu54ogrN8IfXUXvByxbOpTPjunaLUXxBZf4N1zU,162 +material/templates/.icons/material/numeric-1-box-multiple-outline.svg,sha256=9n78KKz5KOW2bakw_aqhxuGJU8s_MAo592BCTo1CqII,212 +material/templates/.icons/material/numeric-1-box-multiple.svg,sha256=XJaau5uGr-6FmuC8XKoX1iKdOQ7TRfSFeZYqGc52xaM,201 +material/templates/.icons/material/numeric-1-box-outline.svg,sha256=xqC0PiEogpdEG2H2NKq5ciBHmnXhcXKtMTWHaHhtmpU,178 +material/templates/.icons/material/numeric-1-box.svg,sha256=8c7wd09BTNGp4wYfErHtinz7tiwThvGpaSxeuX0-3tA,167 +material/templates/.icons/material/numeric-1-circle-outline.svg,sha256=uOO04OxPVQ4GjAikt_2mBZCX--67LUOQw4GZuqJRP5Q,233 +material/templates/.icons/material/numeric-1-circle.svg,sha256=nzjK1org1lI_lBxFxVwV2LGHPdQzEmmX4QtHt2O4WxA,171 +material/templates/.icons/material/numeric-1.svg,sha256=LZk6NoBlF9ht2jqopIrtFQd99KeM-IWZr-sxYZIl5wA,97 +material/templates/.icons/material/numeric-10-box-multiple-outline.svg,sha256=Zu_wKORN_5KCqwDuTlQVgusjnP2WnBfEI9uglYmBc68,304 +material/templates/.icons/material/numeric-10-box-multiple.svg,sha256=jEbTcx3SEqLE0H4wbr3uRcrXHU1ibGYDrRVNzJyombg,293 +material/templates/.icons/material/numeric-10-box-outline.svg,sha256=kgkBHbUunRqnQlWJo0hgLIo-svAxYOARc6Gfk51-y1g,265 +material/templates/.icons/material/numeric-10-box.svg,sha256=T2uEYtKNq6lIVdrp027N4GqICDoqA_jocLPQVHMzMVs,255 +material/templates/.icons/material/numeric-10-circle-outline.svg,sha256=FfI2IhJi2fwUJZrdn_BBSw6I7zF1vU8tb_enKyOrVPc,300 +material/templates/.icons/material/numeric-10-circle.svg,sha256=IaSvsSw6pDLqdObJUWHC-LKV8WWjWLbx975j7oU5UrM,243 +material/templates/.icons/material/numeric-10.svg,sha256=aRGBOonY07FhwzzbB6xnZfzMMHus0eoceaNI1fiMv9k,183 +material/templates/.icons/material/numeric-2-box-multiple-outline.svg,sha256=v1-ngHr_XVPIhjtnzzz_RVEb5KPePiO_N8BQlcZAug0,267 +material/templates/.icons/material/numeric-2-box-multiple.svg,sha256=ub49f4Q1kisdMsupOl5OhUZNSKm8Sxl7p6MUu6pLZbg,258 +material/templates/.icons/material/numeric-2-box-outline.svg,sha256=OsDVyn0iWEFfFojQ3eb_fCCepHuN0h53u9Y_Sc1Kstk,233 +material/templates/.icons/material/numeric-2-box.svg,sha256=LiEvOcVW_go52zmwe9zOreiWDwzzG0PFs8Txsh8lsZQ,221 +material/templates/.icons/material/numeric-2-circle-outline.svg,sha256=pZkRFpvcZu2PO9b-2q9_qIXwHpTaybfjFjiC9BxcX3I,285 +material/templates/.icons/material/numeric-2-circle.svg,sha256=U81JARRwBVr7as0JVa31tMq74FnQe6RRAJa3IcKrI2k,227 +material/templates/.icons/material/numeric-2.svg,sha256=T0wI1uRai5MDIZo75rk_u_gIX5aPxx36CaKMaiA4v-U,153 +material/templates/.icons/material/numeric-3-box-multiple-outline.svg,sha256=6Zu1kdC7MXcaossGEG7S0igTYJjuE5HABeeUkn_5cuo,301 +material/templates/.icons/material/numeric-3-box-multiple.svg,sha256=NiDhS_Qjb_x2iRSGKKekNG3-WKzi5QiZitHnTeKLD70,290 +material/templates/.icons/material/numeric-3-box-outline.svg,sha256=ifUE9xdOiqjjkbXyL_NYql3SXUAINYkaqpKEB9GFGyE,268 +material/templates/.icons/material/numeric-3-box.svg,sha256=kmUpVd0prUc40LmDLNd5_XbQbh96FPbDiJLzu7cos7Q,266 +material/templates/.icons/material/numeric-3-circle-outline.svg,sha256=9mhoDzPmx9jaO8v6P5dupa24N3lX_Ieuct6cmBmRZEY,325 +material/templates/.icons/material/numeric-3-circle.svg,sha256=sC90w-WNk2fMSyj0JguDO4avV4hodwr8gSfMja8f9Hw,262 +material/templates/.icons/material/numeric-3.svg,sha256=tpN99RJln3KMALRW6KKJKK1UcB6QBiD00ROZIAKTpns,186 +material/templates/.icons/material/numeric-4-box-multiple-outline.svg,sha256=4Z7YncoPEETP-2KiExoQzgWK4NwoRI3riSu3s3sOcxs,222 +material/templates/.icons/material/numeric-4-box-multiple.svg,sha256=jdJa0rW8ZaIMEOURPw9T_jQtnLOi243oHEjN2QMiOyo,211 +material/templates/.icons/material/numeric-4-box-outline.svg,sha256=EcYmxvmBEWhnShuUI9NDlNDHvzMqAqG2JiqWYA_VwUc,187 +material/templates/.icons/material/numeric-4-box.svg,sha256=zgSW4SQUkERFySpXiU36IVfDqtrqgS981QPJxxS69aI,175 +material/templates/.icons/material/numeric-4-circle-outline.svg,sha256=WMaT6gEvA_i98uRnnCRlJeBYFYVc55KtukO-10ChI64,240 +material/templates/.icons/material/numeric-4-circle.svg,sha256=VhMx9z4A1yIl-f0820zDEpHDZGIwbzSsz8TRYCC5Law,179 +material/templates/.icons/material/numeric-4.svg,sha256=Ux4mG90x1hBPG03Ab9fr8IeLNvLDo-w0o2JCloggZa4,105 +material/templates/.icons/material/numeric-5-box-multiple-outline.svg,sha256=qJXLFVbEc1nPyIDgk-c99XZoIXvOJoI6wcqy58-RmxU,254 +material/templates/.icons/material/numeric-5-box-multiple.svg,sha256=wN9JVGF8w_t4ZcFILSo2LwY1XCHN3VSz7M897sXU9nE,244 +material/templates/.icons/material/numeric-5-box-outline.svg,sha256=5fFjv-7UNuex0jMdrgDRZMzRHF39dHyQUhavppUdZKU,220 +material/templates/.icons/material/numeric-5-box.svg,sha256=wQO8R8GiLT6pTLrmExnzwySgnPm3Ty_UrBcKwyygzNE,207 +material/templates/.icons/material/numeric-5-circle-outline.svg,sha256=zvlv3bIvPm5nkSsJ1pK4iKJdunek2hmygt6H-ULncG0,272 +material/templates/.icons/material/numeric-5-circle.svg,sha256=fpKUIQR3XaG-wFp1WR8p5OQ9qES1NHVKADEV61_yqQc,211 +material/templates/.icons/material/numeric-5.svg,sha256=mET3bnoPED7--gCQuiYuGHVwmjlnZsd6M0WjiFNcW78,137 +material/templates/.icons/material/numeric-6-box-multiple-outline.svg,sha256=hulu9xiD6q99xjEGx4vkn9Tv5kvGmiKszh6LHGPZwWk,285 +material/templates/.icons/material/numeric-6-box-multiple.svg,sha256=S4gGYZayBqTOfOtxRcgvYbrij8OzTlGSfBK6qamZEBU,279 +material/templates/.icons/material/numeric-6-box-outline.svg,sha256=DOUVJuUl0Goe-3UmD2-bn5TjqNuGFQzOfe48CMMkFuw,252 +material/templates/.icons/material/numeric-6-box.svg,sha256=yWUcfbqHAOwT5Tw3wXpodK5MdEs6SJcjUpJbYndf0gc,242 +material/templates/.icons/material/numeric-6-circle-outline.svg,sha256=jOtsAdvXRt6Otg5oj1444wSdeVaUpvJAvuRw88qABhg,307 +material/templates/.icons/material/numeric-6-circle.svg,sha256=x2Xnn-xGsAUIIPRY_xkU5bMEvCvKUPuSpEGl49MZG4M,248 +material/templates/.icons/material/numeric-6.svg,sha256=AoetIJag2a5GYkGxq-Rb5B4ELEbrEwVxOVOZJcll0DM,173 +material/templates/.icons/material/numeric-7-box-multiple-outline.svg,sha256=hkreQLDyn1udKZXvZTUzwR8mppv_zlprV6LylsWJy10,218 +material/templates/.icons/material/numeric-7-box-multiple.svg,sha256=TcACadx1FpX8_K1W-E6spMS0mR8rcvdi46h3kvlPItM,208 +material/templates/.icons/material/numeric-7-box-outline.svg,sha256=Az3wWIYc15I69IVQwTT6mAlqehzi-EkGACubkbgkAzg,184 +material/templates/.icons/material/numeric-7-box.svg,sha256=Ey8MWMQa4dXqYXeHOWrND3WgJf25Hc6kZ-ZnEi-oM5I,175 +material/templates/.icons/material/numeric-7-circle-outline.svg,sha256=K7C7yCyibaPGhZMbI0kjLz87fOAj46WffmSgF52HBrk,239 +material/templates/.icons/material/numeric-7-circle.svg,sha256=SQt3sAj7eyRj56ourwavyS_FKe-ZEp3UfUUPt-KMpvw,179 +material/templates/.icons/material/numeric-7.svg,sha256=qAiFFSQNe2IRYvhVdS5fwSU-YVTF805_Jx5stFm-fak,101 +material/templates/.icons/material/numeric-8-box-multiple-outline.svg,sha256=0LfGeftSALueds8sxVcMRhl2MIL7lJDwsYOAL0E5NKw,383 +material/templates/.icons/material/numeric-8-box-multiple.svg,sha256=jCECTc_chCa2feLJ7w4CLG73Vl5piFdkpiMo7Q8lWgo,379 +material/templates/.icons/material/numeric-8-box-outline.svg,sha256=FqE39InDmaObbbcxJ63NETYJeQzhbSaMMuKHTCJAyqM,350 +material/templates/.icons/material/numeric-8-box.svg,sha256=z4vmmbKTabV0Kw4ss3BbOsBEWTOv69dkF0KaS-bwiZM,345 +material/templates/.icons/material/numeric-8-circle-outline.svg,sha256=Wz9VxnYBdGvwUTTzrEBdCha5Vn7GyrrKNX_ehkIDhm8,409 +material/templates/.icons/material/numeric-8-circle.svg,sha256=2Uq6_SzrzlCO0EruhcqdDqFAZXLkSCwLRHSHE4QI_fI,349 +material/templates/.icons/material/numeric-8.svg,sha256=XdXpf4qUCHcklQPhjuiIlGHzXmWpRyeJ6-9QYc5kMNM,268 +material/templates/.icons/material/numeric-9-box-multiple-outline.svg,sha256=3zkCB_zXJZ6DjHMZFpNaXeqAzREyN93l2FbjhdTEbqk,284 +material/templates/.icons/material/numeric-9-box-multiple.svg,sha256=LW3RiUsDKc6HfgkXanr1jWi-FYXx5_l1yQSKMtHpAY8,274 +material/templates/.icons/material/numeric-9-box-outline.svg,sha256=KLS5suj-T0j0ZzwFG_T5ky9AWvzlope5m2VQ1Zdopyg,251 +material/templates/.icons/material/numeric-9-box.svg,sha256=f_3Se4GdVGVB4nd1ckpN2D-xrow0OF9y77tYpaFqZH4,241 +material/templates/.icons/material/numeric-9-circle-outline.svg,sha256=dh64S7OH1R-obr6QLhmTx8Inxk3QZ4zZONYqwKCF3wQ,308 +material/templates/.icons/material/numeric-9-circle.svg,sha256=_8GEy76TKkJbDq4rIGdpXmPqdikOpEwkl9URufxlfNE,245 +material/templates/.icons/material/numeric-9-plus-box-multiple-outline.svg,sha256=znBCZjjKOWxvcxjAV09L5Lys5Ztvnf8H5F-nb8q4LX8,310 +material/templates/.icons/material/numeric-9-plus-box-multiple.svg,sha256=KJJReffcJdxfmcqMFCW1h-G9q0ZlvFflPLrSYH8n7D4,307 +material/templates/.icons/material/numeric-9-plus-box-outline.svg,sha256=mCpDLRHeY8AbfbB7rre53rcRNqJrTVrsA-dhP4NLl_4,279 +material/templates/.icons/material/numeric-9-plus-box.svg,sha256=I-ud86GGzw4tJWDRxo9hglsOr7jtl-Q1UwPgWppdn9Y,273 +material/templates/.icons/material/numeric-9-plus-circle-outline.svg,sha256=Es6nS7xfTW1qSUl9-S65JDP9yhODme_ml4XsjMWjKs4,339 +material/templates/.icons/material/numeric-9-plus-circle.svg,sha256=TJwax1hpGuPLr8fxDKfOtN58pjfDI5mBIT3bnCrBx5w,277 +material/templates/.icons/material/numeric-9-plus.svg,sha256=_R219RKhBLoS2UUswSLNZmtP57p6EQ-oEg-fcH-NC1o,208 +material/templates/.icons/material/numeric-9.svg,sha256=GqpmWBPq8h4iJ-gU8QOZcgfHYRtGxVColXZbsMLdsyo,171 +material/templates/.icons/material/numeric-negative-1.svg,sha256=Ru_92VsOW7cZsQWm3MZit-5kdUaKGLZisSoHu6MQQIs,111 +material/templates/.icons/material/numeric-off.svg,sha256=wUHJQE4aVCkbR5u26HV1GPvX-PjfIRvT3Aqc3LxQyIQ,339 +material/templates/.icons/material/numeric-positive-1.svg,sha256=dK6oipINX9JaXPFkLHO9t7Ko-zdlb5yZb8D2vSOtEtA,128 +material/templates/.icons/material/numeric.svg,sha256=xa_KY_KZyX9eVbqWeKm9aOsm5b70Ld6UB8cgSZj1HjY,282 +material/templates/.icons/material/nut.svg,sha256=6WZ3-VhTdxfJ3_dClHRLkp7e8ABDKKxR-vK1U9kUeZ8,355 +material/templates/.icons/material/nutrition.svg,sha256=9ybj9rqx8xkMipsmr6e3I182P5oKrkr4okR8cTxfZ1g,249 +material/templates/.icons/material/nuxt.svg,sha256=FAO70Z_icp9BpP20ClAJ6rq7BDdYNYoqMThKsYXcrR4,428 +material/templates/.icons/material/oar.svg,sha256=zpFXmyvQYDw8lYU8P8XF4luWXKKn97VI-XGedgYZXtw,225 +material/templates/.icons/material/ocarina.svg,sha256=Tza_X3e7pANEkmWokWotp4jmdk-2o0l1gZKLnE89VDc,521 +material/templates/.icons/material/oci.svg,sha256=ce-0xNUO6omrXX-hsxQpnHmM-ytXpjvgtbuoyzo-Kn8,217 +material/templates/.icons/material/ocr.svg,sha256=Ofj540uxx9V6Zhrs3AOzFFhni29RUSYl-RaAMQLz3Lc,311 +material/templates/.icons/material/octagon-outline.svg,sha256=NbtCq6ZgwB6gyv_URPF2CU72yUc4E295zQ8LRRq_efQ,196 +material/templates/.icons/material/octagon.svg,sha256=A7YyDJUW_p5ekbmFYgVq7LH46rxCn5PI8MhLmYlx1Do,130 +material/templates/.icons/material/octagram-edit-outline.svg,sha256=Tc_eacCNGwgAML1sg_NNFIH0O9jWULyE2EJNk4NwU1g,472 +material/templates/.icons/material/octagram-edit.svg,sha256=cBJqmU_XW0k1StzqeCeM-DFVq5_952gf0EbU_aiRmGM,367 +material/templates/.icons/material/octagram-minus-outline.svg,sha256=4r4jGu_eCWoW18Hb-axK_-ZQgaB8Li_1I1F9AjL8B-E,439 +material/templates/.icons/material/octagram-minus.svg,sha256=yanqk5RnXaY00lnOxmf_DTN-2Cs6u3TBPEO_ESOnru0,304 +material/templates/.icons/material/octagram-outline.svg,sha256=PRR_i7mwmzr3wHLWT1cxwsXaA7WTiAJ8Z8hAcjbuLms,379 +material/templates/.icons/material/octagram-plus-outline.svg,sha256=xq8I1mGZvtFf_IUh5Mm8ryV_e5cnkXWj8lApKDabjC4,459 +material/templates/.icons/material/octagram-plus.svg,sha256=ZGzbT_T4cyErDUk7kOLHmFKOdsIdMixmMSIsHHTAbEo,324 +material/templates/.icons/material/octagram.svg,sha256=N7oPMYkzqOzD1YXg5K6JCmfU22kx04zgPU5xJHx8j-Y,242 +material/templates/.icons/material/octahedron-off.svg,sha256=LgPuTEtZLBvQCioTjrzIUVffSKPYusRNTBE8IGcxdiM,548 +material/templates/.icons/material/octahedron.svg,sha256=SW4xO-YTo11Zwtyvc02aT__5lu_lGD9LrvTbt-wAcnA,407 +material/templates/.icons/material/odnoklassniki.svg,sha256=4jPY4cTtMRhAS1zxrEJsQckemjBLalrs3kPYfyLQSxc,676 +material/templates/.icons/material/offer.svg,sha256=8x_hwfXNbMH12ZMoxs8c87ootdY6V48FftYxF2SCkD0,220 +material/templates/.icons/material/office-building-cog-outline.svg,sha256=qaRRtBcW4CftsoN0hyLXSAyCi30V9BXFfZMBzSsMQ-o,954 +material/templates/.icons/material/office-building-cog.svg,sha256=eHSC193zpYRWkghvj68IoZ91BwlQSnO8U49KJhE2OLY,872 +material/templates/.icons/material/office-building-marker-outline.svg,sha256=scS1occRTUgIyqmSvC6PBzgvaTwO0aPUrrttVpq0bLc,452 +material/templates/.icons/material/office-building-marker.svg,sha256=0gMuzEeZ7iqEXNDBsL5Ma6E9gdcDN_x_AC9A92MOgJg,493 +material/templates/.icons/material/office-building-minus-outline.svg,sha256=WkMtASIRmKE8F6-pKEq3Fnt8cq6wQ12CEy1S2-znaaM,348 +material/templates/.icons/material/office-building-minus.svg,sha256=4XvZC8yjgwFoWyAM4kjnS8SiJOwd4KNY8TQQXHG8gA4,308 +material/templates/.icons/material/office-building-outline.svg,sha256=QVFiJtVNZ5JvQ2SZVrRFvGE2mj_eNsIzR5Gfi4duy2A,274 +material/templates/.icons/material/office-building-plus-outline.svg,sha256=p3hJmwNlQiJuz1RY4nwZK9kxgolPrAxU9arM4WMrf8I,369 +material/templates/.icons/material/office-building-plus.svg,sha256=qdhPNIAi7OyCxHsllpSYfUyjVxJxWg7Vp15UaE9N1AA,328 +material/templates/.icons/material/office-building-remove-outline.svg,sha256=Ayo-oxbFjoFWlYEX49WidPn6y35moCGaiYtsstn0sdg,440 +material/templates/.icons/material/office-building-remove.svg,sha256=VALTo9dxhwpNFwvK66Z9L1xsE7jDqx8QsByjE9rV1cI,398 +material/templates/.icons/material/office-building.svg,sha256=CmfYP6-0IwLm2MCMU84dElxEQ0AohC7f9TUphJpaN6U,250 +material/templates/.icons/material/oil-lamp.svg,sha256=HUhOnOuzGWR8p73TqHcsynfQ3lHC33yi0JXugXPbSWc,315 +material/templates/.icons/material/oil-level.svg,sha256=vSPvP9peQy3T5PdJhE2kJpRYaUqzOk7nIAtj6QPdcmk,1028 +material/templates/.icons/material/oil-temperature.svg,sha256=xZ_8zwwgATJmZXUscmonc1jrmnw_L0hnRbfxbK6qLAY,493 +material/templates/.icons/material/oil.svg,sha256=7kBKRMRyLiIyQEKURMPZx74CpVdDN5CmlReaMr0pEJc,535 +material/templates/.icons/material/om.svg,sha256=nWpet55t2qjQVcSo7Zo5scRhp5tz_o_DuRQEe02NkoU,360 +material/templates/.icons/material/omega.svg,sha256=FvpNXsqADyUDdVPW75r237tTVyhlJhTQhUw8xvxWdo4,446 +material/templates/.icons/material/one-up.svg,sha256=_2pfh1Wlv6qMvbF5LBkrqh2dLyaXU34CJfzNHViD2wc,584 +material/templates/.icons/material/onepassword.svg,sha256=jINBI7XMhUdbAtzezbnN4oTvU8HQxt-J7FHZppY8gT4,319 +material/templates/.icons/material/opacity.svg,sha256=FDr9SCnFju9TPpSZioJfWeNvEqQaY52_aAte80rs8m4,293 +material/templates/.icons/material/open-in-app.svg,sha256=gBhwxBKDinGTyanBXKhNxzfPFVf_aYBfJgT2G1Yjovk,190 +material/templates/.icons/material/open-in-new.svg,sha256=j4o_R6F8EAP-KCSbsQ-Cf1EdI8QMSyslsGKNTEgMTXQ,199 +material/templates/.icons/material/open-source-initiative.svg,sha256=c6zwWsMU0jMcDy5cGfinz3OZTCyZQZEtuFBdR2zLccs,729 +material/templates/.icons/material/openid.svg,sha256=Mde9HxPFxeYFf-iwpmo6wT6vUhKJcfE-sUkk_ZO73zg,294 +material/templates/.icons/material/opera.svg,sha256=tjuVlZ_tzWPGmnGHYp1FVJYkukVgrgOo5DE6rEOh3xw,397 +material/templates/.icons/material/orbit-variant.svg,sha256=miq--j1W3XQpOWXA9M99VxsLevRJvqOdcNDf7Y2mmPE,332 +material/templates/.icons/material/orbit.svg,sha256=hSBXL1QwSpa6V6asVjp0-1233uyx72H14iAYFeJepic,444 +material/templates/.icons/material/order-alphabetical-ascending.svg,sha256=8-RzJioU_E_SIKbwPluaS9hGsTqcEfK9rLzbMKPNEDQ,215 +material/templates/.icons/material/order-alphabetical-descending.svg,sha256=tBRcsisgMFrIca9xzlCh3LMZwwV0cgp_Yu-VfstByGU,214 +material/templates/.icons/material/order-bool-ascending-variant.svg,sha256=3BNiPjIZYbbNJLmQS6msyksnBUcgCNkerC89l4l5ap0,343 +material/templates/.icons/material/order-bool-ascending.svg,sha256=6mjyMioqbSE_go86uE_l3x5TYt-gPXVFfdQoafrxt0o,282 +material/templates/.icons/material/order-bool-descending-variant.svg,sha256=3tCTx6MKM-6vtMc_KA7UxGGxsmFG0cOAe5m71GmNpHk,343 +material/templates/.icons/material/order-bool-descending.svg,sha256=cax8t0nSG-K_ekmAMlS_9l6Uywwwi6A0ck7cxU5jFW0,283 +material/templates/.icons/material/order-numeric-ascending.svg,sha256=AKl1oCqs-8AePK6WYQcoE85yPr534qnlLeH_eUdWKN0,292 +material/templates/.icons/material/order-numeric-descending.svg,sha256=miTOg9kDAq02FJOky1Hc6UqbQWVSLwaIlxeuSeZl-QM,293 +material/templates/.icons/material/origin.svg,sha256=KhQmjHfvgeScmuaazkQuG1s0R747-_apnKyFd-pstHY,456 +material/templates/.icons/material/ornament-variant.svg,sha256=975QcxceVHGCbjpEIa75E7tc-ov97nITixAowvycdFI,614 +material/templates/.icons/material/ornament.svg,sha256=GQijSj8fGcIycsiLbCKmD0VFhPRhv94farNx-NZGGhc,524 +material/templates/.icons/material/outdoor-lamp.svg,sha256=Dzy7a1PfIhiFEzDTFZXpNrzXzdB_Pj4Sv5cxOBiUq2Q,262 +material/templates/.icons/material/overscan.svg,sha256=_q-R4vRnBtNV2c3T0rFrWpY8mpHJs2Aw527HAIrKHEQ,249 +material/templates/.icons/material/owl.svg,sha256=3fpEc3o2J-J2jpORgWysyGvDMna-HGZOuLZj7VhZsMs,660 +material/templates/.icons/material/pac-man.svg,sha256=D7yeFfkDZuIsyLCBEIUDY5Nax2mzJMtpAoGYM1XNLG8,238 +material/templates/.icons/material/package-check.svg,sha256=iqF-S7Zf-wQYVPQKF1ISQkf2MAWrwkxtePWlvuQGQvM,339 +material/templates/.icons/material/package-down.svg,sha256=JIcUflZmLNaryjafjF71YavLByrPJ0cyzGNIKVkS-1E,297 +material/templates/.icons/material/package-up.svg,sha256=6udmWvRURDU3_Bnet6HSyWUylMK-yI_KoEFIyyDISTc,299 +material/templates/.icons/material/package-variant-closed-check.svg,sha256=AaED7zcMAASo1Sr6-pzlqc6X29vCZoGCJeviKFVAgos,423 +material/templates/.icons/material/package-variant-closed-minus.svg,sha256=WmrF4RA-hqxewkaLw0jS4Is3Zln4Dv7Q-HJFEUdyGxc,373 +material/templates/.icons/material/package-variant-closed-plus.svg,sha256=oOXnQfVbDBHJqnehfL5KfGoBBS_FB2O8YtG5PDGPC3Q,398 +material/templates/.icons/material/package-variant-closed-remove.svg,sha256=QzrhlEUx0N2-Ss49Adook-oZQN5NpdTBVUFXucoPeaw,461 +material/templates/.icons/material/package-variant-closed.svg,sha256=TTrFvlXRih5e7S6ADGn4oATJ7g-NY08fO1jvZap00qM,446 +material/templates/.icons/material/package-variant-minus.svg,sha256=aKxJnInDeE2ZgLvXlV5cBa7tKgxZJi7G-tUPOE0fDZI,454 +material/templates/.icons/material/package-variant-plus.svg,sha256=uZbK3z89wDno_J3vy6abJss7Vi5dy_g4wcL6ND4d5vY,474 +material/templates/.icons/material/package-variant-remove.svg,sha256=fyIteiapjdzXvu6MySpgA4Xr9GKT_aj9jogfqi81WCs,543 +material/templates/.icons/material/package-variant.svg,sha256=ef1AxKFtoPy62dtkbHqI9qEvky_7HUw5sRA_Y-_9nAI,551 +material/templates/.icons/material/package.svg,sha256=kSx1yr1S-W4sOw4PzZmjSHh9i_psjzKoUxGmJaVkS9c,276 +material/templates/.icons/material/page-first.svg,sha256=bYAYuEZMnzb8nJyBLszzOWv2k7zPYLReKEGtV9SO73I,147 +material/templates/.icons/material/page-last.svg,sha256=c9hiIIpPqmTBC13iQmzk-qIWKdOeGRJOzSGCjyGgWqE,147 +material/templates/.icons/material/page-layout-body.svg,sha256=bLvzCkfS78d9GTspaF7KH-7fdhEbpO9luKE5GBKLHNE,162 +material/templates/.icons/material/page-layout-footer.svg,sha256=T0P3TOTjcV8V7E_kp79PCJqjOuxtr5ea_BvOO-HXJF4,164 +material/templates/.icons/material/page-layout-header-footer.svg,sha256=TYUjAHp6Uw9aEc3LxRAgIHdWuoL1YtuVpWEf8d63T7M,184 +material/templates/.icons/material/page-layout-header.svg,sha256=14g9D57VhE27jwsh4ManH9lUwRDOLvkty9AJbGEZKLg,162 +material/templates/.icons/material/page-layout-sidebar-left.svg,sha256=gcSz4u7UnCNQYaap_KkSztftp_fQrXdtoTAtvlE1EOc,161 +material/templates/.icons/material/page-layout-sidebar-right.svg,sha256=eFAwdZfgygoW0JCOngXsCyz0hwHh-6ZiD0DrOAqsG-w,162 +material/templates/.icons/material/page-next-outline.svg,sha256=sbaMCCd_DQfQvZHneFQpEWwinnnq1HEGGLIQRaNDzuM,236 +material/templates/.icons/material/page-next.svg,sha256=Q3RCW09UfyaoZClqcYLmVpSXfoN0rtzgN1DAkcxAQRE,225 +material/templates/.icons/material/page-previous-outline.svg,sha256=ayBzyyk2YebIv5QPAFHXMmxjyAy1bwpXQvK4xZv0ukA,235 +material/templates/.icons/material/page-previous.svg,sha256=0QXLywpq8tz_4f-x0Zmv-E8ioSY12QlBvJgN0mP_HVI,224 +material/templates/.icons/material/pail-minus-outline.svg,sha256=hG9cCTn1t9GJYk4qW70p7asAgOV4_Us9lbQSnZ3s_Eg,336 +material/templates/.icons/material/pail-minus.svg,sha256=QnD73H0NeMMzxRFBBlji0x4H7btvSDwsMQ8M2CuPlSM,346 +material/templates/.icons/material/pail-off-outline.svg,sha256=uVejOnzLFpElaakRcaBvQ3GTr2rLFIBuUMUOTVQ3k6Y,391 +material/templates/.icons/material/pail-off.svg,sha256=w4d79Jma0B6ZKrbHldA1gvKtOJ_lTekE230if17wzI4,413 +material/templates/.icons/material/pail-outline.svg,sha256=UDGIHzE5YoNwvV7aHI7fImCfYK03HT2x88q3wfgsLms,269 +material/templates/.icons/material/pail-plus-outline.svg,sha256=i6O_IhDaP0BajuvrfRcnno0J0n7o1_2EFl-pUJ9Kglw,356 +material/templates/.icons/material/pail-plus.svg,sha256=ec736K9t1EJaIz7KLXQT969TGk2q2lm98Ba51si4p14,366 +material/templates/.icons/material/pail-remove-outline.svg,sha256=tgYqKf_wBeQenYSRUE7OZweTXW1vbKC1ernt1hyo0B8,450 +material/templates/.icons/material/pail-remove.svg,sha256=OjXMZRcSzqdV35-MFx5-a3Dl7OLjsaO305a-rRWwHY0,460 +material/templates/.icons/material/pail.svg,sha256=kfs6ZLV_H4hO_rcgiVFhG4n2MIj8iLX2mhzt8aD6aj4,291 +material/templates/.icons/material/palette-advanced.svg,sha256=1DOA139z9gLiP3ZjVGf0Q_bZmvR0xNhdBEViFJ58VZs,222 +material/templates/.icons/material/palette-outline.svg,sha256=WQmWXzYwrrnF-5N0FSbyfKEis-Iy2x9RUn9iQFyv2yo,619 +material/templates/.icons/material/palette-swatch-outline.svg,sha256=ruHjZxEl2AkbJG3Tc1g1s9o3j0GISVcoOf23uJ0ZfFI,415 +material/templates/.icons/material/palette-swatch-variant.svg,sha256=2sKNTQ33wYWSq0f64A-shJdQezjJPtPyCAg2QFU2JRs,311 +material/templates/.icons/material/palette-swatch.svg,sha256=jqywkl_0PsVh-43YU42Y9nfshrQFpjBJxsPNp5fQgoM,452 +material/templates/.icons/material/palette.svg,sha256=cEdR5YLepIEE3-jw54v_S_pMGy40fdTzTbD_QX5gXdE,591 +material/templates/.icons/material/palm-tree.svg,sha256=UueevQqd2YPvK2zboOgdqNc6ePHc4f6cSuXjkU7TfJE,642 +material/templates/.icons/material/pan-bottom-left.svg,sha256=0K75MUsV6qrXORTON0XfY9tMPMKrMBvNlY90E6Yh-uM,169 +material/templates/.icons/material/pan-bottom-right.svg,sha256=ZqiZPsA1xrCr2eIdluVv3oMqxuuY5CQEEQF2T2dWWIs,169 +material/templates/.icons/material/pan-down.svg,sha256=8r7kT32h-G9q2OsTP2vcFdaUV62vc6QGXwIkOkJWTMs,160 +material/templates/.icons/material/pan-horizontal.svg,sha256=5LcOjuQ-I5jt6nVHVUidrFH1aoVH6jpYa1rDvBwNdOE,175 +material/templates/.icons/material/pan-left.svg,sha256=kYo55lyqHIr7QjvQ_aOQoKC_HeKjA28k6XrZlCdgad0,156 +material/templates/.icons/material/pan-right.svg,sha256=0RjlmSLHM1mqflatlwyqePbjudr6fQpOq-eveBR9tK0,158 +material/templates/.icons/material/pan-top-left.svg,sha256=pfpqndFR7Dx9RodcBcChjfJcPzR4OVOVWVSKQ31XjhY,167 +material/templates/.icons/material/pan-top-right.svg,sha256=pSr1CAqMJlKNAsXArPfAF2hOgIsA8GKtGx8gKgVulh8,168 +material/templates/.icons/material/pan-up.svg,sha256=yJTKVFgo8hGWgkmZepYcyBLacCo_VM8xCZaazflnwqs,161 +material/templates/.icons/material/pan-vertical.svg,sha256=5DL_C3D-_6ku0s7VWwazsYQQ1JD-LGd-rGNSQMXGGlo,180 +material/templates/.icons/material/pan.svg,sha256=pCu78wZFr37OP811xKqgSN9NU0x5Ygb5SEJKB9MdzBc,215 +material/templates/.icons/material/panda.svg,sha256=XoYFJ-yRYqY_lC9nYbqBGoTAa0QxoapcWClQH7iMEho,920 +material/templates/.icons/material/pandora.svg,sha256=ilEJWWNtqk4zfhNJ7F9BRDt2a_Nvl1Ghhta3arIzA18,167 +material/templates/.icons/material/panorama-fisheye.svg,sha256=UmOdgF9CSWRvqeb96FGLAXS8JJTatj9xEALu4uRHz_k,202 +material/templates/.icons/material/panorama-horizontal-outline.svg,sha256=Apm0ZQfG9f013XZK1d-2y0pLDeqaUvU3VoTkpEb1134,474 +material/templates/.icons/material/panorama-horizontal.svg,sha256=ir5p7FvcinixV3pCirDIuQbPEd3Mj16feIrJDZivti4,248 +material/templates/.icons/material/panorama-outline.svg,sha256=fnExUCY-l0UBFvoiNCIehxud9gPpjaRFGVAF2ZRhH7I,206 +material/templates/.icons/material/panorama-sphere-outline.svg,sha256=wy3lxg1Y98ashuK4ccCok2BIp7P0iA5DQ-Dn-TodmDU,531 +material/templates/.icons/material/panorama-sphere.svg,sha256=CrOTm-6q4J896_lbR7Wp3fOWD-fv7UhcvmtnnFXZ52s,448 +material/templates/.icons/material/panorama-variant-outline.svg,sha256=OOnqg9R_ZrSVlh_0pTZuFsq0cHK1k8R7lzNkL-fdI2g,375 +material/templates/.icons/material/panorama-variant.svg,sha256=F0oblJ5EYCUgFtLzJz8V6DJZv_VbLpgFNTq_6arBsTg,322 +material/templates/.icons/material/panorama-vertical-outline.svg,sha256=QFYjoUnJw1XxQEXQlgsi6C4DGT7LptwsyOm6MAXMIhk,474 +material/templates/.icons/material/panorama-vertical.svg,sha256=kSBAD3pIAZdzUtriS3wo06aa-cxp2t0mgk7qLNj9Qcs,249 +material/templates/.icons/material/panorama-wide-angle-outline.svg,sha256=mHkXixUst_HQkzbj0BRdEElAu1X16YF67pM1SgiZYRc,502 +material/templates/.icons/material/panorama-wide-angle.svg,sha256=Bp0GDLxEe7fsIH2ik9Cz9_VlGSaUqGFaIOn20P1eMTo,193 +material/templates/.icons/material/panorama.svg,sha256=oeIOFowR4kldNrjuy6YpUDWvequuQtUGtQf7sIzjPd0,181 +material/templates/.icons/material/paper-cut-vertical.svg,sha256=bysDJolZoiPLFnmSrEibcsEqyOMSjwQGKlP6URouRBg,686 +material/templates/.icons/material/paper-roll-outline.svg,sha256=88zveD0tc4okltkX8H6lFoSwq2BnDKScZalsL7nrSQY,402 +material/templates/.icons/material/paper-roll.svg,sha256=nxiJOZ4V9TA2uNYuVx8j2gbUaDbx7zBQdnDIQF9HRKI,369 +material/templates/.icons/material/paperclip-check.svg,sha256=W32-QgfawvrocmvLkRXEFmRk_pGJQNr5VhoB8x6a7vA,441 +material/templates/.icons/material/paperclip-lock.svg,sha256=PzV59frUFL7H4x6pVV6AIX0cWrKJC4dU-sC-iurij-A,568 +material/templates/.icons/material/paperclip-minus.svg,sha256=CqX1rF_Lp9NBZnO0KTs-ikPQ8XgFZNHIOlOM9LEhYxo,403 +material/templates/.icons/material/paperclip-off.svg,sha256=0s8sZ5jJrZZoHtPk3ACk5MP5cOWBeZxoWWbHqD-gHsE,516 +material/templates/.icons/material/paperclip-plus.svg,sha256=1NI0RUHGzovoxrCRfKEjYuKbEy5G18ElIKj4kCtVtuk,423 +material/templates/.icons/material/paperclip-remove.svg,sha256=I36uWZM35MRPXgeaBW2gxlSbIiKznyjiTmWxHT35t9Y,518 +material/templates/.icons/material/paperclip.svg,sha256=ipw7bdlnwdRnorlaVGJkA_5_vExQ5_J5TVI_fP2vtbA,335 +material/templates/.icons/material/parachute-outline.svg,sha256=ozCSPs1tPh7SNvPDp3ccUZHbx-mKruzg_X8e-XMZLWw,564 +material/templates/.icons/material/parachute.svg,sha256=tPxU0KQNSMpmth5k_1k1LOgplDOgQETsQVAe1QY-rLw,419 +material/templates/.icons/material/paragliding.svg,sha256=VS6_QLGWPEPjXuOp4lK432uEQi_4UFzr8-k9Y7LGof8,508 +material/templates/.icons/material/parking.svg,sha256=GgVVPZ1pUoxSQJymlve-4qt3OWZ2UYHzE45cCeFsmAU,173 +material/templates/.icons/material/party-popper.svg,sha256=u2gBqDCFaiImqSbxF2rBjAzjoetw7HkZze2r2XHkHfM,677 +material/templates/.icons/material/passport-alert.svg,sha256=O4VlIPge6alfZQ6_hX1F2jun1Fpm8Mn6rqV1IElFLaU,1125 +material/templates/.icons/material/passport-biometric.svg,sha256=mJdc2oA1TZ_buuppluRjVRxsuivvtdPdn6y777H1E5E,325 +material/templates/.icons/material/passport-cancel.svg,sha256=x0OTo8NAumsQ1HCM6EqleIvlPScEzkppCwHut7N2Zs0,1337 +material/templates/.icons/material/passport-check.svg,sha256=Ly9z1qkFcjkztZ4ccnIC6FqRcvxYkKkWE7ABI2uMddg,1162 +material/templates/.icons/material/passport-minus.svg,sha256=fgWD7OkjGbE88Q3p1VMJiQrVCVigJapUsyLp7R67xDo,890 +material/templates/.icons/material/passport-plus.svg,sha256=0TAT_dc7ogDetfjDEZPRIMGdqVk7ih6y9nYXffUbl48,1150 +material/templates/.icons/material/passport-remove.svg,sha256=bHs6_MYsHoOfQ17m8qnZJlQ7KMnGznWISVaM56O26l0,1244 +material/templates/.icons/material/passport.svg,sha256=0HQ-riVsgAW-TL96KnjJcCtniKE3qUvtD0hKHG1jzxg,851 +material/templates/.icons/material/pasta.svg,sha256=AQRrUgN9_fBHmpLjT8A5PlzkTgp6dSxXDkbCcBRFgIQ,476 +material/templates/.icons/material/patio-heater.svg,sha256=ZaaJosItIIh1XV-TKNJj6v4IWVdf9umxYRzbx76P7Ns,219 +material/templates/.icons/material/patreon.svg,sha256=VYQfosFuz3xH_ghyur13Jx08omadhJw2iLNKR5TIeBk,221 +material/templates/.icons/material/pause-box-outline.svg,sha256=7gk6oEHWuSIhUIcL94DZ2zsYIQrmaLL5a-2K0parJ58,195 +material/templates/.icons/material/pause-box.svg,sha256=TMEq-i2jbOAy1fnArM96bt2Brtk-bAI7SW_aneI3AZg,182 +material/templates/.icons/material/pause-circle-outline.svg,sha256=f0DR_qkSPKTfMjt5ECHwnVamljElgnyeQ_U91Tukej4,242 +material/templates/.icons/material/pause-circle.svg,sha256=UTpBawHoNnk0N-ccZGHJo5KfegK0Y7K6c03igG48gEQ,177 +material/templates/.icons/material/pause-octagon-outline.svg,sha256=BhKmZKhnAPyVz4X6gu6gHQF0iXdqCtvehDpqPwgcKvw,218 +material/templates/.icons/material/pause-octagon.svg,sha256=Ou4frCRWUt3pDIenlXg2pSbgILzWI1HvGaR3XnP5RIg,167 +material/templates/.icons/material/pause.svg,sha256=VipSCVrgDAandeVC-AymGnFstXDP4fwaGHsz3OF0f6Q,106 +material/templates/.icons/material/paw-off-outline.svg,sha256=BJ5u9qM3P0AtAJR0_l1-zaIs8-jr2i2DMvyiXw_Jnjg,1845 +material/templates/.icons/material/paw-off.svg,sha256=UUZglfgfLir4SedfdC8su5oBh1e-8DJ2cLd2tz2vx6I,708 +material/templates/.icons/material/paw-outline.svg,sha256=kVPWkpMlGQLSiFwwZWX84yQMy4_XRwTyGg5tC-bv1I4,2085 +material/templates/.icons/material/paw.svg,sha256=3qlSH6DiS_51QpEmEg0i6sn69oIlvkVnWUtJ6l7WotE,759 +material/templates/.icons/material/peace.svg,sha256=S3RdibnAhcAighnxOUQfwKKpn3QCGE6PFTeLl2fCHyo,378 +material/templates/.icons/material/peanut-off-outline.svg,sha256=qraIH3t4bTmBDzzesuKmGVn0vwcwYv9HWQXdfiivA10,856 +material/templates/.icons/material/peanut-off.svg,sha256=gY59CGUBS6GuPN7JlSa_KljThfm2SeL1HZc1rUB88Gs,516 +material/templates/.icons/material/peanut-outline.svg,sha256=61ikEgrFETWTsAY3GyQXUmav80max4QCLIymZzdMnFk,758 +material/templates/.icons/material/peanut.svg,sha256=fIzmUdu_bTyzcWFwBjOn5E31e4uFcjv2w-xEsBqIBx4,395 +material/templates/.icons/material/pen-lock.svg,sha256=hE6lpluMdiAcCxoB-OYrcYVaFy71yM0cJiN1sje6ksk,419 +material/templates/.icons/material/pen-minus.svg,sha256=Yo5D8DcOO4p8iLTzwVirh-hzdT2wV9N0MAX3_mlN2IM,288 +material/templates/.icons/material/pen-off.svg,sha256=qRHlXzROKLtDbNFboZbO9adQNiNoQPGp2_aowZa6adM,343 +material/templates/.icons/material/pen-plus.svg,sha256=n9tClpD9bQekVBrfRd53fgQ7a8SjHExOek1bz1SBBvU,303 +material/templates/.icons/material/pen-remove.svg,sha256=euqlXmjSMGqQ5TnsAsB5F3PQSfoRlgAIm6HZq3X7pnQ,393 +material/templates/.icons/material/pen.svg,sha256=45lEsxQdfakMwgDtwtbWqf63XrW7Py7hyOJE85yrUnE,339 +material/templates/.icons/material/pencil-box-multiple-outline.svg,sha256=HFGgb2c_uHIm6HVZJKBqQkdN9lQm6uKS4fAWqqP-X-s,323 +material/templates/.icons/material/pencil-box-multiple.svg,sha256=-Sd31axVkClALA_DBlJePxYq5dRQwh67VbxzuVfEy4Q,353 +material/templates/.icons/material/pencil-box-outline.svg,sha256=7Bcw1gmB9YymfB8v7ikOjtLXQG_eVu_knw4Bu-xs_iQ,287 +material/templates/.icons/material/pencil-box.svg,sha256=vZA6EOfDqjmcWin1Abh1bnNcL2qZorw3AAW9AuObfKg,275 +material/templates/.icons/material/pencil-circle-outline.svg,sha256=8nMLXLd2UxuTa3tS_7eAE_hCr1DXht0S5MpdMy8X6GY,336 +material/templates/.icons/material/pencil-circle.svg,sha256=1tvFntoKzKYmYKz4UH3M_FQ4yw_GIP3PY5GAtmZ6fm8,292 +material/templates/.icons/material/pencil-lock-outline.svg,sha256=G5pJP7WJIpR5btve26wL9W2nQnOnw4m0e5w2rar67Ks,384 +material/templates/.icons/material/pencil-lock.svg,sha256=WIC_URPobDfr0-hKyrbTxd5g8_Ahpkmo1zLW-5Af8C0,409 +material/templates/.icons/material/pencil-minus-outline.svg,sha256=NYl2q5f1PrBiv4HXBhq7jK8A45k5_qcOb7TQNC14o24,253 +material/templates/.icons/material/pencil-minus.svg,sha256=Wb82SF8T_lG9RpWNmCxCAqbdOL9ZEMO4ojOC-ZIZx0Y,195 +material/templates/.icons/material/pencil-off-outline.svg,sha256=Yo-ljBhYGb9c6cXcuKuyBLdd4zsHsmy3qUQV-B_KXiA,334 +material/templates/.icons/material/pencil-off.svg,sha256=_42BCBq1knRpn95iQnCSzzj9VgZZHBsbBoK-vn6Sk-k,338 +material/templates/.icons/material/pencil-outline.svg,sha256=ldVU63RMdDaTT293A9ETtibbL1JCwOJLL-GaFnQKmTY,278 +material/templates/.icons/material/pencil-plus-outline.svg,sha256=3ujiune9Prj0w17UYO8ma4SIplJ3Akq02PL80lziocQ,268 +material/templates/.icons/material/pencil-plus.svg,sha256=gWrFi_YJlTq6zemzt1ACyiYBq_D-2GolCCBWpjQjClY,210 +material/templates/.icons/material/pencil-remove-outline.svg,sha256=4uM8R7YyIH54h8cucjmEouz38ZUxwZdfySq3L0Uk0I4,337 +material/templates/.icons/material/pencil-remove.svg,sha256=UIVIzRX9BGUwVUzYSG4u-7jcJ0xzE-Dxh-Qfs-LKXQs,278 +material/templates/.icons/material/pencil-ruler-outline.svg,sha256=Lvtzi7jwgr-wJfmgwQBiy-323lDjozVRwq5UgZFCRrE,472 +material/templates/.icons/material/pencil-ruler.svg,sha256=0JPTgvt7dN3gIFviMaAPdMgnFKStG0KWh1bdImz-b2w,413 +material/templates/.icons/material/pencil.svg,sha256=7koYnCeOwGxV0aOcseeyOZDjyMHFW-t8AlZfo1JUsRE,216 +material/templates/.icons/material/penguin.svg,sha256=2fu3Hc82I_eBzUxPEWOoIsB5Zt2I2sizlHfKeqNT9nc,530 +material/templates/.icons/material/pentagon-outline.svg,sha256=nw2L2bCJ1OTnijI7GqzjDDsdghb0V0ce7eR0bAPVaqo,158 +material/templates/.icons/material/pentagon.svg,sha256=oCjQkvlkPshUKilKLbX-SDpVX1d_xtAMF_vkiaZejiQ,120 +material/templates/.icons/material/pentagram.svg,sha256=3DLQP_3LRS0SYHGEsMYVkP0VlgeQAlYDsw6KNiJBhYo,389 +material/templates/.icons/material/percent-box-outline.svg,sha256=hlaTcD4scBHeZ0DMZRm-53du0-7qTbCMg15PDUnRCnw,410 +material/templates/.icons/material/percent-box.svg,sha256=rUB4yl-aTQLN5M_Kd7S6BVDSTY3qKvqSLic9FreJzMA,396 +material/templates/.icons/material/percent-circle-outline.svg,sha256=KsEzhWvZTpfKxx05uOGqG9Q4XST8tWjybwoQWP1Ghro,435 +material/templates/.icons/material/percent-circle.svg,sha256=ngKjd4AXdu9--i5W_OT6XymAj60M9ie2aKtCM65_om8,378 +material/templates/.icons/material/percent-outline.svg,sha256=-Ru5NDhcbt3RZkTYVmboG7PvO3nAwDwVl10yRRv4tKs,326 +material/templates/.icons/material/percent.svg,sha256=SbrAUMvti7PphhI8IpkGVJSijhTduf-KD4Pgc_FTOeo,226 +material/templates/.icons/material/periodic-table.svg,sha256=bZjseLFG8fSAkTdo6cGMd2zHoC8LB_CPG-UA-8y2C8k,429 +material/templates/.icons/material/perspective-less.svg,sha256=nSRq3kJiM2GhfmEIH_Pz_5-hJ4TBBDcISHmcxJZOr74,178 +material/templates/.icons/material/perspective-more.svg,sha256=FlQhC16kQyGqb6Tav4qGz7SejtyA3htm57q9cus8LIk,180 +material/templates/.icons/material/ph.svg,sha256=UxMASHIeRPS2vplem7Ty71uHX32f75lCYtp9FtTnEW0,178 +material/templates/.icons/material/phone-alert-outline.svg,sha256=kzS-cjX7u5PsCMB7NgPVeTQTgBD8NdC6P545IOQemI0,426 +material/templates/.icons/material/phone-alert.svg,sha256=wHwsWRQUroa7mHkQsX2aww-bIVFkF7dC_zjpo07ejoc,338 +material/templates/.icons/material/phone-bluetooth-outline.svg,sha256=kDcDiDv9EJr4Ek3DV3pjzG2lGsFs8bmSkhTqF58SBRg,548 +material/templates/.icons/material/phone-bluetooth.svg,sha256=CarDaEvCTzaOmRGQtVhw4vqjbxAI1BpNb4LNfDAd9dg,460 +material/templates/.icons/material/phone-cancel-outline.svg,sha256=YJgA29Vmq3MsZhKuyYqSMkXM8DOl-j8lljBEZeRQnv0,616 +material/templates/.icons/material/phone-cancel.svg,sha256=sRXNxB5lutEbNDBJhWkCkDTKvKGmeJ7K7Bu3wrWoDlM,536 +material/templates/.icons/material/phone-check-outline.svg,sha256=Jr4fwGmzAIdt67GTPSIFTuLiwyKJhBKLIK2PZRUKvPY,468 +material/templates/.icons/material/phone-check.svg,sha256=xOyCzG22lgWetl4C_buQmhTUD-Ni3qUpjCUl4IG2SnQ,346 +material/templates/.icons/material/phone-classic-off.svg,sha256=SpbX8sw0n-ct4jv7hkQNEHVnHMlNSjpsW7hFYXziyDk,720 +material/templates/.icons/material/phone-classic.svg,sha256=niQjmL08C_oRXIV7AWGOBbDQoeFtDmOzE8nKhcdA1y8,644 +material/templates/.icons/material/phone-clock.svg,sha256=q8alIa4nv47j4858LaozuL5ec6c452sD8ObG4lvqtl4,436 +material/templates/.icons/material/phone-dial-outline.svg,sha256=2kfYFeaFsCZe5C2hJnvwZJSqTefHiFNPBJ-NCbmlJxY,815 +material/templates/.icons/material/phone-dial.svg,sha256=6fu1U4TvcU0OJUM-s_ns6K-npibhcQoW1hVJKKC2SB4,692 +material/templates/.icons/material/phone-forward-outline.svg,sha256=80hYlhS72s5-1dFxrd0mMyrvLt4wKMZIEK2Nb_8QLrg,422 +material/templates/.icons/material/phone-forward.svg,sha256=8A2xRDdcRhqdq_2tak4QolFPkakAzbdyNNYZLMtjPfQ,336 +material/templates/.icons/material/phone-hangup-outline.svg,sha256=wBgjwlZCDFIF4STCFrWHzt2wiYADehoNarASZie4ogE,536 +material/templates/.icons/material/phone-hangup.svg,sha256=SfzfgJMBduOXqBdrMYlDlxKBA8-2Wj6ptE64K1cykiE,464 +material/templates/.icons/material/phone-in-talk-outline.svg,sha256=D6wzXR8958WXZrHx6gpIF6QOuPbkumD32Jx47arY_kg,476 +material/templates/.icons/material/phone-in-talk.svg,sha256=9hrjalbNYeqvd7x-hCHBiRCsaQTKp_10W3xX6Dpo3oU,388 +material/templates/.icons/material/phone-incoming-outgoing-outline.svg,sha256=xqzzrz1QLSPMuAPDkj4iV2qAD80V4aEmrt9PH6Vu-SU,480 +material/templates/.icons/material/phone-incoming-outgoing.svg,sha256=h7ffmVmuYCJ4aLrV9gN1Cy_8OUP3vtMXyzD5jijWylI,396 +material/templates/.icons/material/phone-incoming-outline.svg,sha256=UaBHb3-qL5zYCnhZUUxjJ2jIjDNuwUj1xt2aZRwcmAg,438 +material/templates/.icons/material/phone-incoming.svg,sha256=hLrC3oJBM9E_H3oY7mCUe9o8xFQaN4cXEsQMfHKU-8I,345 +material/templates/.icons/material/phone-lock-outline.svg,sha256=zs2nOXpdlwhkXpkY_Cl0NOjT_PgVFp2Y3oU9_y-rk38,564 +material/templates/.icons/material/phone-lock.svg,sha256=nSZypW-U7TFkhSl1Kf_0seFHPmztf886d0BfSyP3uw0,477 +material/templates/.icons/material/phone-log-outline.svg,sha256=IzdxVBaEWzzqs24sWRLODFDJN1dj3714vRsKib2R_ek,467 +material/templates/.icons/material/phone-log.svg,sha256=hqhw9XA1ntuof_89eBE4t6Jj3zkq-SC_d2UWTsrJXIw,373 +material/templates/.icons/material/phone-message-outline.svg,sha256=OKGzrRK0ziV1es4Ey6olAxJthMEK1cGHQYBeLQLWRk8,514 +material/templates/.icons/material/phone-message.svg,sha256=QFbnAO-omseBqJ_ayKSEBseSBrA82nmRCJPmMpLswac,343 +material/templates/.icons/material/phone-minus-outline.svg,sha256=TYs0Rm4dq5I8pRnfRt7gxrte8gxubM0ifBDGxWaHIMI,409 +material/templates/.icons/material/phone-minus.svg,sha256=3opNWjORg4C8RCmrRdXlmS1x2A-j1zj3rbvvF4gpcxU,316 +material/templates/.icons/material/phone-missed-outline.svg,sha256=zQvO0ooDkWvLB2MOUiEOlkvhvcnlIEkNX8tne_vh868,566 +material/templates/.icons/material/phone-missed.svg,sha256=6ssCh8sEl6YgRPq0e6LIXm4L_RidAaAXcOBOe_yLHX8,514 +material/templates/.icons/material/phone-off-outline.svg,sha256=aqhvNXnxAbpVsoFV0RWp6S_UGa_1CRkcZcrjYiyl7eQ,501 +material/templates/.icons/material/phone-off.svg,sha256=BQ3PBarU1n14Lf0bmGwr5b-RAsJJK7Zer-g6W7BagsE,439 +material/templates/.icons/material/phone-outgoing-outline.svg,sha256=buSJu0tyIMVJ_x4oB9JaqNCGAqOiWosmhLpW43LKoLk,439 +material/templates/.icons/material/phone-outgoing.svg,sha256=jLfNXAZ-IbgsPdAIAvvwVMr3rVu484fvmYNIU-A6LuU,345 +material/templates/.icons/material/phone-outline.svg,sha256=vfGqwOhMPBsPyuvp0glJ_RiEk7OUpnVRWgRVi3w9ZuU,398 +material/templates/.icons/material/phone-paused-outline.svg,sha256=1uUH9oOcVIuWX6BK7ZZ7MjvbiNhNqabUzYtpYz2iouc,423 +material/templates/.icons/material/phone-paused.svg,sha256=eWm7gIxFbuwMQ3LcDUGZ9aV6qruWM7_0nb3jPpOLJWM,337 +material/templates/.icons/material/phone-plus-outline.svg,sha256=-xz5mu_thzIL56CJIn00fARnw_Qg1ZWk8DtXhlzgYP4,427 +material/templates/.icons/material/phone-plus.svg,sha256=FBSEb8PyL2PAjNxmabQ9ete9M7CYoJM82mry_Cg3J2M,334 +material/templates/.icons/material/phone-refresh-outline.svg,sha256=z-vrDC5e3peYEZCtNwrgwe1V_6WlYa2aJ44tWLOshD0,528 +material/templates/.icons/material/phone-refresh.svg,sha256=RerNZJK_Fa6DCXLIbsgENMZfBL9aJ1H8GCTXCRrRvv4,448 +material/templates/.icons/material/phone-remove-outline.svg,sha256=J5THUPijch17_m_3IKLHYRhneMkOzgGoag0q8l0w73w,500 +material/templates/.icons/material/phone-remove.svg,sha256=GFQpzk2OtJ8yM0G8XDaMKnMi8Ik9CwnT0ISIYWeO-sQ,370 +material/templates/.icons/material/phone-return-outline.svg,sha256=yB5Y8XIJfzoMeGbOVOt_45omHMc6-Gr9m_aeSMjINY0,478 +material/templates/.icons/material/phone-return.svg,sha256=mlF6S-Ox5fsF6r3lgzFZwiGt_KqacDUPo_xRiiTV288,390 +material/templates/.icons/material/phone-ring-outline.svg,sha256=xhFtuhK9W_vtzNqycpCedTcx3wN8LwMisoSYy2I3TTE,756 +material/templates/.icons/material/phone-ring.svg,sha256=fOSH9KHMPoU6eUizPAv-oJwWqSBV_FlO52VIco18dDw,595 +material/templates/.icons/material/phone-rotate-landscape.svg,sha256=AbN1AiguljrAO1miRqmj4atkSjV9mY-14XbCkSZZkCo,291 +material/templates/.icons/material/phone-rotate-portrait.svg,sha256=k9s_V6946pfUHGOIP4vH6VCGarUJX-E8AX9_O9E1FyA,293 +material/templates/.icons/material/phone-settings-outline.svg,sha256=swZz88PkxjhGHyWn1FFNDYuVUD5vB5KrAp7vKZJfCfQ,435 +material/templates/.icons/material/phone-settings.svg,sha256=jjofpTiHr2Rd6JTt5zTJHkeMqDCtTT5ZDpyKeqUHQKs,348 +material/templates/.icons/material/phone-sync-outline.svg,sha256=SvJZfGtef2O1FP-T1Uxb3eckTVN70yi76G_wJESJzI0,644 +material/templates/.icons/material/phone-sync.svg,sha256=9Z7hXf0H8SyJPBMMrah7ufNrklcGO54GRQA3_He71so,564 +material/templates/.icons/material/phone-voip.svg,sha256=3irfOAtBMCbPMjVtcZGjMIaRLvg3yZ5994cd_QaUGcc,595 +material/templates/.icons/material/phone.svg,sha256=rgokuqbIbZAwQY82PL7oQI3v7b2mM_BtJNtFw_A614g,307 +material/templates/.icons/material/pi-box.svg,sha256=GAcJ0-ZPro4p0Q16cpGvXFeyJKzsYbCHqZBV_cJPsps,231 +material/templates/.icons/material/pi-hole.svg,sha256=pGhZxDTCDmGbFlXAkVF1Tu55_DxJbTp3YiYr1cU-Jn0,593 +material/templates/.icons/material/pi.svg,sha256=CEes_x7stCL3c2jG6Og1yPXXU3gXNfPbbyOP5mTOhmk,162 +material/templates/.icons/material/piano-off.svg,sha256=rFCBWfxWslxj9_3ySzDL1MOdlLjTFoNwy79G4sgkixI,362 +material/templates/.icons/material/piano.svg,sha256=VPF2aIhKB2IXijSiWepB0rL36YW3_TopuLffWFN95_0,301 +material/templates/.icons/material/pickaxe.svg,sha256=NxIwnL0P1edE3A7psi0ny1NqFzs7Y-e8fv9u5DTKphw,341 +material/templates/.icons/material/picture-in-picture-bottom-right-outline.svg,sha256=_Eulg1nhl2rVhBR3dO39T4ooFeGFKw_RlZLkAY_YBBc,201 +material/templates/.icons/material/picture-in-picture-bottom-right.svg,sha256=CsOp1R2cvMadvuC22dSUX1VLegmWXUk1Ua7LWxmWXkY,185 +material/templates/.icons/material/picture-in-picture-top-right-outline.svg,sha256=-Q4cJ_qGpK91NJHPD8i3kjHiQni16tdxtfNrLr9KOF4,194 +material/templates/.icons/material/picture-in-picture-top-right.svg,sha256=yK74ctTIs3mYHO-JKKUH3Ynox7DJkxM2IB8k_ZXEpYs,178 +material/templates/.icons/material/pier-crane.svg,sha256=nDHp-ryFAekZ7UriIO0SZT3rCKREMAMeEGA8eDkCx88,720 +material/templates/.icons/material/pier.svg,sha256=AmUPSe5UTUmQ-yGYzUxu513glGQExYyXA10Eq0JN9BA,331 +material/templates/.icons/material/pig-variant-outline.svg,sha256=QiLTyxH5HyRyEoSMacnj1LGNsU5015tMgIfZhDnYXPA,430 +material/templates/.icons/material/pig-variant.svg,sha256=NRx6wz4vU-7Un3jaeuyp0mC6vjLSON27EOGIjTuemKI,300 +material/templates/.icons/material/pig.svg,sha256=oe1eNpoK9WQ8tQ53Vd-EsaIHUMwQCRRKebUbs-1Zv94,901 +material/templates/.icons/material/piggy-bank-outline.svg,sha256=3iDPlsyPix48VwYw6OmxOgxuVuYdPlnw3rnEtAau9rg,443 +material/templates/.icons/material/piggy-bank.svg,sha256=JOjhLtucjHlQj6la7Pt-Yjuq_amDc-MiSXujr8jYqtE,311 +material/templates/.icons/material/pill-multiple.svg,sha256=nZ6q8OGYSvYH39LYkj6gKmLHEfyJ8XFhYe_Nw0Llf8E,458 +material/templates/.icons/material/pill-off.svg,sha256=-Za683XePPdqCU3uasULGSWTnwoIfZnTOFr2F3_PtC8,450 +material/templates/.icons/material/pill.svg,sha256=5PSCA1wYeUJhG3k7j2hcV25vE219rbx_cX03JKKM-_0,345 +material/templates/.icons/material/pillar.svg,sha256=-aQlO49zhSTNPERIDGWkBSsg461BZxPZ_uAwAXs-qSc,200 +material/templates/.icons/material/pin-off-outline.svg,sha256=RJYyRtmtpxm0dmrUaebIPDv5ewEtnrJVC2AzGPl6Mu0,224 +material/templates/.icons/material/pin-off.svg,sha256=X_mdru0rdaGkSFiCcNGG7msDesUoSmwatPsRGhgEn7I,192 +material/templates/.icons/material/pin-outline.svg,sha256=hTSeBgIMoftHjtAZXtAKIOQ1FkfjxzCGAGc46MLg7-k,165 +material/templates/.icons/material/pin.svg,sha256=rR9SC5F3WiuCQinWCYAHWJxwBm3LJLCUCaJNPL9oNxg,130 +material/templates/.icons/material/pine-tree-box.svg,sha256=PRmtipzQU78BpaTglREjcjaUMOgMGeL_ySux5Ge6T0Q,202 +material/templates/.icons/material/pine-tree-fire.svg,sha256=DvhHsn_GNI8TXmV2OI2RCPNyMv9TmjujWwWP4fbyzHs,772 +material/templates/.icons/material/pine-tree-variant-outline.svg,sha256=IbETC5lq157jAd6ZU-mKCvHNwbQeMGfl8jmbqWiwkWM,180 +material/templates/.icons/material/pine-tree-variant.svg,sha256=C2EFy3b2KnfWEdcBaq65SMlzZGBJoGcgITpJebUlGiQ,127 +material/templates/.icons/material/pine-tree.svg,sha256=SnnQU5mDHjKNw3UsayT1rT0hdAQtfWGXEXGyJPsKGj4,132 +material/templates/.icons/material/pinterest.svg,sha256=68-cKRzMIVKiIWHzaqAxU8xGXzzC42TobjjK9g51oAU,660 +material/templates/.icons/material/pinwheel-outline.svg,sha256=Jx32U3kXKNlpwLv1tPfpYOzgJNKjOrxFqZnsaTz8eHI,492 +material/templates/.icons/material/pinwheel.svg,sha256=tv2FYjqQ2hzKbobDj92k6yukvrIn6icdGjWfLf_9n6M,232 +material/templates/.icons/material/pipe-disconnected.svg,sha256=kAa3Av8HkVMzCspVsgyQtsxP7OSK4trtTyeBEZdvA7w,178 +material/templates/.icons/material/pipe-leak.svg,sha256=KLSQlZf59Ragex6i5p2b4s7TZyNwdjYDYiBmkxpreBk,201 +material/templates/.icons/material/pipe-valve.svg,sha256=ExSpMCZkTv32zquJH4bixB6vpLTtIc6X6nT4ZxSOHrY,321 +material/templates/.icons/material/pipe-wrench.svg,sha256=EXSbj5_xlQJyS0E5dFgLlh5rPRJ5PUR2P1CZbW4iV9s,321 +material/templates/.icons/material/pipe.svg,sha256=wciD0O82UNPMJK89q7YUpmQwbvWAwL0PXYOtbiaIBG4,163 +material/templates/.icons/material/pirate.svg,sha256=5ocm6lCWurw5-YontWxLiJoqOSMzIbqZF-8N8-tPtdQ,696 +material/templates/.icons/material/pistol.svg,sha256=ertTlIS3QVx0JVjkSXNR69MbwUxr18CdRmTXyZC32gY,315 +material/templates/.icons/material/piston.svg,sha256=vbkAK9ezR46s3unwCv_owDm3WyZH4b99jHiPbsKUa9w,360 +material/templates/.icons/material/pitchfork.svg,sha256=KbiZNNjjBjEVzsW9oEg8ejSyBM2vK-eUmlSdY2n6yB8,332 +material/templates/.icons/material/pizza.svg,sha256=xTpDBXexSIr7rEEwlTvyhO0FLqkk0guqOBH-cIqA8ro,260 +material/templates/.icons/material/plane-car.svg,sha256=5rsh6KOtjdzdDh3e7bD-wkPcki0xCVcwZJlvyTeNFIQ,635 +material/templates/.icons/material/plane-train.svg,sha256=ux38swXUXewHeKuz3t2QsYri7J-HDfRciRpZ33H28Zk,519 +material/templates/.icons/material/play-box-edit-outline.svg,sha256=HGuvQK6N0jafRn7CXNs6Jr4jfGEesBnKV-eXciYX9Dc,317 +material/templates/.icons/material/play-box-lock-open-outline.svg,sha256=k1A8T1s7fYOK5QbTlX6a6JywvoK7vS40FawCEc7oYAY,373 +material/templates/.icons/material/play-box-lock-open.svg,sha256=VWWNfg4INCJX8UtpRCw4UipELffu7Phd4AaCas6Pzeg,405 +material/templates/.icons/material/play-box-lock-outline.svg,sha256=p0ZqY55zO9ruvjPOsN0rU_DrkFtbjuup9hHqpQYkQIk,376 +material/templates/.icons/material/play-box-lock.svg,sha256=XyzpQ6_tUlwaA_V2vUcHTayo_DSFSUfhG2sRflthOzM,416 +material/templates/.icons/material/play-box-multiple-outline.svg,sha256=2xB9UFBW0Sb9AN6Q301e37r3f8phrb3AY4D0LFkMkzM,224 +material/templates/.icons/material/play-box-multiple.svg,sha256=7aQDSZmhY0gCm7S3cznPCsHZbO--egg1u9Ui6Yg3kPU,206 +material/templates/.icons/material/play-box-outline.svg,sha256=ETgl3BODR30-Ww9-C32NhbooyXLuy75TqrcPGWtc1tU,177 +material/templates/.icons/material/play-box.svg,sha256=sUXQXQBWA8JHl-2h8lb48hO0BIeqMBlwOXYg6Ga9VK8,166 +material/templates/.icons/material/play-circle-outline.svg,sha256=KLrWvVn1mV0TLr2xBqeKmvZHhH4arV_dzwNueGRpj70,234 +material/templates/.icons/material/play-circle.svg,sha256=qg8_j_oLboEWnu7vtH-ul4Aci1owBwVjr-YEjlMLhzU,171 +material/templates/.icons/material/play-network-outline.svg,sha256=cjIpOZ-wrjCeVI4i5E16kIFghlyi7yEFYi9IwwQqOFw,264 +material/templates/.icons/material/play-network.svg,sha256=Trobv2T3MAS7hjuCwhslopTnBVJYBn2sLCJ9-VWzb3A,250 +material/templates/.icons/material/play-outline.svg,sha256=Nu310jSflOz44jvCnkwtQ4yeZVfp-DM2zHJN_cuUu6M,125 +material/templates/.icons/material/play-pause.svg,sha256=RpSvjEM-qTuJ0fhUfsc1TOBfXNsdY8r5AjVLxCQycJY,111 +material/templates/.icons/material/play-protected-content.svg,sha256=ZxE499Dd4Xzim4qSK82qZA4tOJpUd8EG4yvIihm-XHc,195 +material/templates/.icons/material/play-speed.svg,sha256=-kdE9xsJ-zVJeMcQ3PbOMgJcMrQEuV7mnx8QlPsZwgY,524 +material/templates/.icons/material/play.svg,sha256=0OfKLiMpP4_OsTu0bpresSKGssuOcOG2E2V5LuS_QLs,99 +material/templates/.icons/material/playlist-check.svg,sha256=sps3oYRuit6TrKopWXeRfFfuGVU4BuWPTHAG5k8Qm1c,168 +material/templates/.icons/material/playlist-edit.svg,sha256=oxdXmNmew3Q4u1rexAHx9SLMKyMygsNtgkFIkP2poxk,239 +material/templates/.icons/material/playlist-minus.svg,sha256=mkahvOZt7-VuAux16z4n0QKzt3fJPkPR-eUZSZzAlNw,129 +material/templates/.icons/material/playlist-music-outline.svg,sha256=lHErdke62ELTaYhAI-CzTc_YNcOmL_y3F36yvqsq4xU,260 +material/templates/.icons/material/playlist-music.svg,sha256=ENyqopB7tAvhZvV3gSmUH24AtFhjqzfSFFfoE08m0Uc,205 +material/templates/.icons/material/playlist-play.svg,sha256=Qs73iHqGTjz_BDK8y5DjB3SQCPiIrFd4LGICFC43Y5I,135 +material/templates/.icons/material/playlist-plus.svg,sha256=XNFtqpFprlFW4xrERK0iphzRlAXLJloAiP9l4c-8_kA,149 +material/templates/.icons/material/playlist-remove.svg,sha256=bVD0Xp_Ho88-En3LX5q9x-TVPOJCPgRvvYj-YnyuoS4,225 +material/templates/.icons/material/playlist-star.svg,sha256=aAJAtlF7VzpoowugNHDGGfXsnGaiLgfTlpIU5vyIs6s,202 +material/templates/.icons/material/plex.svg,sha256=AObPWkaiPbK7UGw7WdSIu8kGbVn0plHQIjsT6e0FbYo,204 +material/templates/.icons/material/pliers.svg,sha256=mbaduX_ENoy-6nEjhWk84yREBbQIWCnngWoiEW9OoDw,519 +material/templates/.icons/material/plus-box-multiple-outline.svg,sha256=MjPTEKbC3WoSwhpKlXsltKXPy_q-Q3BHP9_6Yy1SAuk,233 +material/templates/.icons/material/plus-box-multiple.svg,sha256=4FwHWKEfG7UlAbBdhOrJ7DKb3Xdj6BkdjejBgfacETI,213 +material/templates/.icons/material/plus-box-outline.svg,sha256=p3fLDJIgglfaZzVni_sRXK_6mv5nknuN2iPFBd9Rtxw,199 +material/templates/.icons/material/plus-box.svg,sha256=Xs9I4SvpEANEKUuz2s79B7NLwFVJuQfhh79htxNEPSc,185 +material/templates/.icons/material/plus-circle-multiple-outline.svg,sha256=yVEquBZrAontL-sKtc9sZTwGfJ3_nMLmlyXrF1pmDn0,322 +material/templates/.icons/material/plus-circle-multiple.svg,sha256=hrpoDidCiyTGrMvxJt3R7o7c8nYM-gVCwNtQGUIXbbo,243 +material/templates/.icons/material/plus-circle-outline.svg,sha256=jp9HdrJey3bHDjnnDExO4-aT7OajKSll8FnSySIBI5w,244 +material/templates/.icons/material/plus-circle.svg,sha256=MfzjA-x2c6Mk836KyqoYi7xAGnYehmp9Be0EeSyC5Ks,186 +material/templates/.icons/material/plus-lock-open.svg,sha256=kliUkhdnQqhVJUHNENA7phHSHd7r6trOF5T0flZgo_o,327 +material/templates/.icons/material/plus-lock.svg,sha256=-yl1BTRIDo15exwMu7yh6kjfAesyhAxJoxhaAWYX0_k,341 +material/templates/.icons/material/plus-minus-box.svg,sha256=OfS9_iXoDJ4J7PoTjKDc7pAE4mc4DcMOYJanYfmI90Y,198 +material/templates/.icons/material/plus-minus-variant.svg,sha256=TW-93HZ-hIRGiKNHrBUMBGrA7w-2CddyXo0F3B3c6Ts,156 +material/templates/.icons/material/plus-minus.svg,sha256=zJjlrdXlV5zcIT7RhFUFZavmfBgiSxFRfbBZeHLug5Y,126 +material/templates/.icons/material/plus-network-outline.svg,sha256=2QUzycQDhFgOSpTVOsdNlEAe9jHwca894hRRKrKgbQM,281 +material/templates/.icons/material/plus-network.svg,sha256=7kHBTbM2ThyiSBwshoBbP3i9qWgNZ6OyY6tp5ZM0QbE,267 +material/templates/.icons/material/plus-outline.svg,sha256=BdHAe5XDei0tpPrnvnrzUut9m1h7S0nAkd0siQaMYR4,141 +material/templates/.icons/material/plus-thick.svg,sha256=H2me15WJ2jUkY_5xeXk0L4UUrqtZQfjbEe6tgOYrcE4,113 +material/templates/.icons/material/plus.svg,sha256=4ArJaunryrdkA84a8O9do3mtViwEJLgw11YRLk8CMYg,113 +material/templates/.icons/material/pocket.svg,sha256=Bj7WQ2VFAewHP_Pc-XYOqFom8lOZX7di-SLyIBPOq9M,149 +material/templates/.icons/material/podcast.svg,sha256=yg-XHtlAJ0CzFHK94Dl-44rgn6GkoS6oRPFO9t8DMUg,642 +material/templates/.icons/material/podium-bronze.svg,sha256=hb8Nnyw-8c-Txwi7vN2NUJ06NqmeCM0ISidK-1Nb_y0,244 +material/templates/.icons/material/podium-gold.svg,sha256=pfHKVd27zIHVHgwNDRZpkn3hLf9bVpkM-3oCbyYXfBI,247 +material/templates/.icons/material/podium-silver.svg,sha256=7hJsFfNh-R3lovLIwzcHbLBY8pnELVJBmZpL6l6qkk0,251 +material/templates/.icons/material/podium.svg,sha256=EiucwJB6v0A7d6iTfYFDhvzNjdCx-hHhaQyml1gOW4A,403 +material/templates/.icons/material/point-of-sale.svg,sha256=qUj71NG9PPfK9ONuH0X2uj1zaXXGj0WDTlce-RIHYtk,452 +material/templates/.icons/material/pokeball.svg,sha256=JV9JoenDKLXoJQnVtHJI2o7_amNEZnqG-u86sYEmZWM,436 +material/templates/.icons/material/pokemon-go.svg,sha256=MX2q-iBoBUVMDzQoYHoxyA69ZYqLFHwbFki89UM6ss4,535 +material/templates/.icons/material/poker-chip.svg,sha256=MJiIUoGUZoJSl_0gRob5Rm3r--8DTpO7zS4NHOU5MZA,577 +material/templates/.icons/material/polaroid.svg,sha256=SWyXEXvxd0eZ1wDyyu1O1CKk1mbQGAmMsKAZ9EyQSUA,163 +material/templates/.icons/material/police-badge-outline.svg,sha256=DczDoOm0rfR37cQxp1t8d-Yg3qGKl8PewyeztXVPKuY,586 +material/templates/.icons/material/police-badge.svg,sha256=Dt9Tu_BxcEfDNA1IFzr-0amnoeTSU3YxyfEuPIGgwBg,317 +material/templates/.icons/material/police-station.svg,sha256=n1fGrSg5YR8SHcaAXC-L5PhtrFWCuywu2iDT7uYUhOw,576 +material/templates/.icons/material/poll.svg,sha256=zKhwJ4p2lASyF9XH2gzAxxVRoXLkndCwBiiXRVbHBl4,121 +material/templates/.icons/material/polo.svg,sha256=atir1cfjt8PIxiMZgxwRvUAzjyZ7hm866E5Uu6-_Ow0,163 +material/templates/.icons/material/polymer.svg,sha256=VJ_xxo09DVPR7FWo5QEq534zGhJcEEJnw2IYs18OugI,161 +material/templates/.icons/material/pool-thermometer.svg,sha256=RW5nDlTUFdwfKnpu8Fg2B1JJ07ZVeTm3qxozjsFJBaE,614 +material/templates/.icons/material/pool.svg,sha256=6bhZGE8amOnC1JTgmYied08Bz6SNzSm2FxNc5PSCsrg,503 +material/templates/.icons/material/popcorn.svg,sha256=71YU7xtnKTEpa8jYvpKOyydJN7Eyc9iNMze21tUsjSI,475 +material/templates/.icons/material/post-lamp.svg,sha256=erWuZxS5RNIuHnQOleiB0RD0itbDeQQEtpqPbm6H9Ok,174 +material/templates/.icons/material/post-outline.svg,sha256=UFpRq7h8n_bPxj9N--5khBKlBXFdjRW1FSnTzo9H8vc,151 +material/templates/.icons/material/post.svg,sha256=ZfcR0OZfjVaJvLpi8vHOl9ZqaY1fU-241jwcmW-ok6Y,136 +material/templates/.icons/material/postage-stamp.svg,sha256=rDAlF0LKuYLIBpKeupmbeHa7tEUt5dsSCRIIP_eqSQs,477 +material/templates/.icons/material/pot-mix-outline.svg,sha256=UxrkhUn7hXqxAva8Hg1zTIj5o9czpkEwx1-qqsWNF7k,188 +material/templates/.icons/material/pot-mix.svg,sha256=k0TPo4SyniUTEcd323tme_PPITMEv2UBBaRQEVvizDQ,168 +material/templates/.icons/material/pot-outline.svg,sha256=pi8Vy2ls9o3YuO-NnsfbEp6Ylw72Y2kBU4xRjV9teRw,146 +material/templates/.icons/material/pot-steam-outline.svg,sha256=1AhRt57BqFqN3jUwMGrWt9qbaZV-BvvC75cVTBs52yg,389 +material/templates/.icons/material/pot-steam.svg,sha256=txkkYiGkvy-Nyt8YtZ5L_66J0addbBuGZotNpDSXRUc,366 +material/templates/.icons/material/pot.svg,sha256=FG6i1T3zFJBtENM5QEe3naWNpdq4mJ90VonSMwfh2jc,136 +material/templates/.icons/material/pound-box-outline.svg,sha256=2nqR-O51GPLMqwGey30aT-c_suyfDFC9fxdWhKc4U1M,301 +material/templates/.icons/material/pound-box.svg,sha256=JJHV8caCWh5mp-whWyA4XN-MJyplazTV_ZJeCxKOQDs,298 +material/templates/.icons/material/pound.svg,sha256=U2WoJyOlq1vAhqkchxesMYRzhyCRaZogp97dgAUfL7g,242 +material/templates/.icons/material/power-cycle.svg,sha256=9P__rx1yTKWFh3C8_LWrejWLms6uUbTmicndx8AIAKE,215 +material/templates/.icons/material/power-off.svg,sha256=Eonay7VMd6fQBcE6C4KFbRlquK8anUdKJrBZo_zsJSo,201 +material/templates/.icons/material/power-on.svg,sha256=bFaFyVRufdoj6gWp-cjlDFlUFdgWv220-UO5laF-t8s,94 +material/templates/.icons/material/power-plug-battery-outline.svg,sha256=KPkcOUwHyibjQeGgYd5BuZpmEZ6RLBR7i6jIUoY7giI,444 +material/templates/.icons/material/power-plug-battery.svg,sha256=4qgds6vDfVIVwAJRogeI7X8-mB_Fpju66Ip_LVnRvio,378 +material/templates/.icons/material/power-plug-off-outline.svg,sha256=Ho1Ea4INexwBgmSycyOI3TGhzqjjGIwz6I65NmR5jco,349 +material/templates/.icons/material/power-plug-off.svg,sha256=87EObY1frmGef2ozoBLRXmdqgo-vZX8UWHqOWPnC1qQ,249 +material/templates/.icons/material/power-plug-outline.svg,sha256=OFq4Re53zUdsJGsGaUlGEnJ0ROQJfID4OyVBJ3815ds,253 +material/templates/.icons/material/power-plug.svg,sha256=hxNTGyj-kcDt9MsmUtJtBXKiHwtQXzJkYPx6uxKMWMg,152 +material/templates/.icons/material/power-settings.svg,sha256=HnMGLi0fQMAmoLj1RJAU7JujVGIUxL_MbqRwbAaIYxc,322 +material/templates/.icons/material/power-sleep.svg,sha256=Yb5HsJOPzleHVKYko73334hEFRgDxVxfSsDHfj5xBpE,228 +material/templates/.icons/material/power-socket-au.svg,sha256=1G1MvdcomibZo__y18hQjlHGAkl6yGJ8flCyH6vPsnM,340 +material/templates/.icons/material/power-socket-ch.svg,sha256=ijDWNI1LWlld_6IIY5z5J9qMrdovYjJTn95EwBgx3Rk,571 +material/templates/.icons/material/power-socket-de.svg,sha256=ZOr_zb29-fvWim_d-rkPoUIqNVuME4hTZV9hUvs4pwU,463 +material/templates/.icons/material/power-socket-eu.svg,sha256=G7F7LWnE31Djzi4rkZQ1nOmYnNtj0Zl6EJf4P8ZgUbk,436 +material/templates/.icons/material/power-socket-fr.svg,sha256=NsnVlpQ1cz6meiyD7DBTQj05COSM38lfJaSguK1vDco,517 +material/templates/.icons/material/power-socket-it.svg,sha256=WiUhlr7uARwspNMQ0iy7680F_yb1cnKRj37TfRWD9WY,467 +material/templates/.icons/material/power-socket-jp.svg,sha256=jG7duhsOA5mgMdpd6OPm9VAx5UGCqkN5Lip6b7kso4M,260 +material/templates/.icons/material/power-socket-uk.svg,sha256=SEH_vb-Akq4eHQY5Wab-LvXK8FpV1JtYEs8osKnBoBw,222 +material/templates/.icons/material/power-socket-us.svg,sha256=VJQqd6AzkR9J-YKGJ7aPSm9uC0MHVHaJ93QW8zE9WNA,346 +material/templates/.icons/material/power-socket.svg,sha256=_CjdJNQuEm6e643vnfw05tndf34aavi3ff9O0V_glF0,170 +material/templates/.icons/material/power-standby.svg,sha256=YH7vzOJAL7mmPXph6k7rig5pVVXjGG76DP_YaWAXm_g,300 +material/templates/.icons/material/power.svg,sha256=UzYhBgiqXTZqx9-mLXVyomZf56KwF3vG5EC8naPOL-4,279 +material/templates/.icons/material/powershell.svg,sha256=UCUmtVUb90DdgzkVWkjt9dEokFRx8w8HxfIW9W2apjc,495 +material/templates/.icons/material/prescription.svg,sha256=7X6eVucz3DQYEfxdrcdvJa_qeO_sSZI5wMKDdyggBHc,266 +material/templates/.icons/material/presentation-play.svg,sha256=LQPpr2IekdkkSEO3rniHBY0-kACwZHQUrynrkMAxOPQ,329 +material/templates/.icons/material/presentation.svg,sha256=LdW2Hp69zuwgwxrA9i8ASX1Yg4VKbsN5_kpbUq0GaDE,186 +material/templates/.icons/material/pretzel.svg,sha256=66XsTkH0lNSsxsg-SSdr9dFEu82mGWvuwivDkNfD-4M,553 +material/templates/.icons/material/printer-3d-nozzle-alert-outline.svg,sha256=8osNr8ZlP_q_Is5J80S6D1sH9gEKl9P4oRFbMih58KQ,236 +material/templates/.icons/material/printer-3d-nozzle-alert.svg,sha256=Gl4kF0MEHPDqnN1V-K8DuMylBczNlsWmVQjc4wcOsZk,198 +material/templates/.icons/material/printer-3d-nozzle-heat-outline.svg,sha256=cQrrFUcGI6SWnNY8O3qVVoUQ2ZmybE3AoV6KaEJyPtQ,286 +material/templates/.icons/material/printer-3d-nozzle-heat.svg,sha256=oVwVs4ggooA8Ss1OL372oD-F_WfhiyV1P8meG_ExBsA,248 +material/templates/.icons/material/printer-3d-nozzle-off-outline.svg,sha256=wO2jibixGiuaU5_gdhyyDDaFfvHMcWLzMXEckmFC4hE,284 +material/templates/.icons/material/printer-3d-nozzle-off.svg,sha256=aWWAk2YsoK9gcZvbduk7OD7mR4cgSFJ3oGSk8CjmQps,230 +material/templates/.icons/material/printer-3d-nozzle-outline.svg,sha256=uYNNkeYrBMVnS19QRBofGGNvtMjs9zFaL-OWRRVmc1Y,206 +material/templates/.icons/material/printer-3d-nozzle.svg,sha256=QFD-5RYKzn63ItNogbNAPgiQzQM2zobbB8c-16B4iDY,168 +material/templates/.icons/material/printer-3d-off.svg,sha256=O--Zjaj04MoE4hgNrgM3Ls1myZXhbtlkqzphu0olewI,490 +material/templates/.icons/material/printer-3d.svg,sha256=rkND4cfymuZQyO7P0uLQOd2PpB8KgoPS_qcF1QD75wA,514 +material/templates/.icons/material/printer-alert.svg,sha256=t5aRfI0NTLMAltFd5ziGNi4NlbkcgAX43mMXbhz5-DU,232 +material/templates/.icons/material/printer-check.svg,sha256=6285EAjNCUOhj2CG47QwP5_LBDTf7L-dVAqmBZs6wDg,318 +material/templates/.icons/material/printer-eye.svg,sha256=fiVCxlzeg5Yb5BjCCV8ZsEZu_cjeTRhkSgzQEJDXEJI,460 +material/templates/.icons/material/printer-off-outline.svg,sha256=ea950Ji4KoC0C0FryCQvT9ff51zrCA8IetfxKXbPTOo,366 +material/templates/.icons/material/printer-off.svg,sha256=Zn68mCZzOb89LLLJ117rvj8Gtj_xUNelxCKWX2L0MY0,293 +material/templates/.icons/material/printer-outline.svg,sha256=TlbgSAeLB-cuSJbETjelkUlaxq7Tr3XkqpWi5gGOLC0,283 +material/templates/.icons/material/printer-pos-alert-outline.svg,sha256=fOGhp4uu4LjpFWykh5XJeiDd9_mMEZberHMCVjWNQO8,200 +material/templates/.icons/material/printer-pos-alert.svg,sha256=I8vsrKMD9LD9t3kgVjtlejgYLUmXg7xnqVTR9ry3coE,181 +material/templates/.icons/material/printer-pos-cancel-outline.svg,sha256=612uOVUsqon53nnxaTyPnnu9owIqRK4rNBEvjUdpDcc,435 +material/templates/.icons/material/printer-pos-cancel.svg,sha256=jeyb7JvFJ24tL1Ldj8g9zHb1tB43JkS7AbV989JXw2s,445 +material/templates/.icons/material/printer-pos-check-outline.svg,sha256=b6vXXkOqgCDb4zC9O8fWAPZb5mFx-M7mFgsTI6y5mQw,299 +material/templates/.icons/material/printer-pos-check.svg,sha256=Z9WSCnof_oK1mfYdQzdECwvOvTAV6Z74s3m-kDczi1c,258 +material/templates/.icons/material/printer-pos-cog-outline.svg,sha256=_xQQzQfq-iDO7_dmdrr9FaP_SMjHfj_j_ihYCXr1uHc,634 +material/templates/.icons/material/printer-pos-cog.svg,sha256=oqKRBtC4DgP5PHji09sOsVivnYF7AR_RySfpfwY-RUk,652 +material/templates/.icons/material/printer-pos-edit-outline.svg,sha256=dfDA8f_swOFhmVv-S3PrSP16usGe1S19kA7ofXJxF4U,339 +material/templates/.icons/material/printer-pos-edit.svg,sha256=JQsiRc0-sUB-CfSI_q6NryRPsH7r62rHhDncRe6RAP8,319 +material/templates/.icons/material/printer-pos-minus-outline.svg,sha256=f6roLGyvYBS6kmlBupD08lGQFulxwUJdLqoWGBsK6WY,241 +material/templates/.icons/material/printer-pos-minus.svg,sha256=irlHO5hcWq3A0ix8by_SeN5F0oa7BUn_qzTjqzBhbJw,208 +material/templates/.icons/material/printer-pos-network-outline.svg,sha256=qSxLNtd6Ghzcc3Wu1OzZFFhwYNh7jUgLKS8WCfCZj54,264 +material/templates/.icons/material/printer-pos-network.svg,sha256=TGlvKmdCpkk_thZkiHcRKB82s4hWVIKVSQPp9aFppdE,245 +material/templates/.icons/material/printer-pos-off-outline.svg,sha256=lCycjZxg0Td3DokjznDoT5B9I_oqkxZypkDdujsldxQ,256 +material/templates/.icons/material/printer-pos-off.svg,sha256=hRe4t-OoV8FbYLZRkqnkqH2POmNJ6a6D4Gdkd-PZRpI,233 +material/templates/.icons/material/printer-pos-outline.svg,sha256=oLk76US4YzoUwHo8DNHJEfMwtLk7dHP7l3xBku-QO9Y,174 +material/templates/.icons/material/printer-pos-pause-outline.svg,sha256=KoOqxQ7_8bnQjwh869o8nV9KNlESh0UMhVTNztmWK6E,256 +material/templates/.icons/material/printer-pos-pause.svg,sha256=N63Ay9T9ExKhDJW7EG-qm_NJzrPdcNCU_J_772Hkezw,226 +material/templates/.icons/material/printer-pos-play-outline.svg,sha256=nvhQP0Um0BCVPy_o9dDHQSIrfCtc8I36cufz_9dasAs,249 +material/templates/.icons/material/printer-pos-play.svg,sha256=i-hu1X_AEpFmTLZXQH2vAhuGroymH78XQIOMovONsys,206 +material/templates/.icons/material/printer-pos-plus-outline.svg,sha256=nNcLzbJ9mqGlWTKWbeRcLVkq9xh1n_7wkSj1Y5JjVjI,261 +material/templates/.icons/material/printer-pos-plus.svg,sha256=q7vh-ZxZGSvAW27lDZLgPCH7xf7i6QSOEwXom3S8Gsc,229 +material/templates/.icons/material/printer-pos-refresh-outline.svg,sha256=3_YS9JgwF1VMdp_VrkGfM7-6h_my2tVJ9mcI2OQBO4A,343 +material/templates/.icons/material/printer-pos-refresh.svg,sha256=lY1XVP6EzvrjmBUBcAakPNRok3mtikiUX4ifwQSMBbY,353 +material/templates/.icons/material/printer-pos-remove-outline.svg,sha256=ChWHercrPzYaLNfJYZaThqmZOEPqnj2eeUsw-4bQwbw,364 +material/templates/.icons/material/printer-pos-remove.svg,sha256=IA7h4WSAVrbXqmjUxBTBckeAZVZslAFZYR_fB36HV3s,323 +material/templates/.icons/material/printer-pos-star-outline.svg,sha256=D5jVakU84OHWwACjdPQCbZV_tkESV4d6W8fNK0HlOFg,322 +material/templates/.icons/material/printer-pos-star.svg,sha256=bY9yVP1pvObl2HCugKvrGsZurrx3o6LDWqNshdA_n38,292 +material/templates/.icons/material/printer-pos-stop-outline.svg,sha256=MEgGZC9bn86kxE2RIZSGlSdnuVcIL8tUOLzsa4pXNJ8,241 +material/templates/.icons/material/printer-pos-stop.svg,sha256=iUAvfJ76XNUWAdLSfr6RGjTs1sHkNfXGb8ubwza05CM,208 +material/templates/.icons/material/printer-pos-sync-outline.svg,sha256=hAkFL5a-979XL9IQePIAN1z99a7vidSjM3nR2jRCnmk,493 +material/templates/.icons/material/printer-pos-sync.svg,sha256=6awn_rYYATRl7wDz7f0n4CPtP6samFz7D_KZQ_vWkDs,454 +material/templates/.icons/material/printer-pos-wrench-outline.svg,sha256=ifvS2RIKIiLECv7I5K1odKJGy3qdvbhhFtnh0HW_xVg,449 +material/templates/.icons/material/printer-pos-wrench.svg,sha256=4LorEzAlDGOkTBLHw70IM8BWp5Olf7jAEdKFrVvKa5U,427 +material/templates/.icons/material/printer-pos.svg,sha256=e5wZPiUxPwGftHtjRULYOhrHmG5n14bD85PacdnkPzg,147 +material/templates/.icons/material/printer-search.svg,sha256=lsvFFHvAAyFuicNKcqlihkRya4i9KaF3zOiTzJZBxAA,404 +material/templates/.icons/material/printer-settings.svg,sha256=iTp1n20HvVidfsI6CWRd987JTWYXcCkEqFvdE-CsU1g,265 +material/templates/.icons/material/printer-wireless.svg,sha256=FtzSn6BWB7T1eixuiOWn7ncNXsmQlVeHKlDlqMmdRaU,362 +material/templates/.icons/material/printer.svg,sha256=1uDOyB6pM7AF22milyXO_ziJzbaYPYRFBEiWSsdz13U,214 +material/templates/.icons/material/priority-high.svg,sha256=LO0cwltsNPYcGvjqZ6iud8j5erJmzGULUsdQf7lgJfY,230 +material/templates/.icons/material/priority-low.svg,sha256=YdbsHZVRqMTDKWbzeAIXpT1cl8X-tAR3nkaPIbovCC0,230 +material/templates/.icons/material/professional-hexagon.svg,sha256=UK-OySx33diqwkOemrE7AQ4HR9QoE-Q_qTAVzT3UsIw,671 +material/templates/.icons/material/progress-alert.svg,sha256=FxQB068H5RmWnjwj2PN5y04yHEdcFyVczh-hhnmyp3I,516 +material/templates/.icons/material/progress-check.svg,sha256=rskoI6YLShkmR1jJV4asByL4xSKEWRp_NU0rYtETzA4,568 +material/templates/.icons/material/progress-clock.svg,sha256=YnuRt-nOxaN9PiOoIkd9eSjSx-H-4xvmFAfi2qhdlhs,541 +material/templates/.icons/material/progress-close.svg,sha256=SJ09PCckj8WB5cLC-d0WxNrpaIlYOPZb7sKuIVQSCBw,607 +material/templates/.icons/material/progress-download.svg,sha256=q7cM8vNkByaDUKn3vqrJ6tEfF0cnBoMA0U1jkLGXqJA,532 +material/templates/.icons/material/progress-helper.svg,sha256=hwf87_Y1zWRC__mmLc6s5ccbObxf0fbyGrIY-xobvCw,486 +material/templates/.icons/material/progress-pencil.svg,sha256=dpsakrBPr3OreI-7Pmoxm1T5BtMpK-ykYmL8IuKG5wU,621 +material/templates/.icons/material/progress-question.svg,sha256=84axHhrSt6s69c0OHadsDD_wJMmpTZs9WWUnzG6LUvk,590 +material/templates/.icons/material/progress-star-four-points.svg,sha256=wUkHltAPR3GORKDI3NpJWaDIZ393RN3LQ-QrddIjno4,562 +material/templates/.icons/material/progress-star.svg,sha256=G_nas8nKdLdYsyO4m-2-DJ9ci784kQVVPcGS1QAajfQ,579 +material/templates/.icons/material/progress-upload.svg,sha256=8okf5AbfAXxPxAiLP0ZrLhi01T1eQ0ZGmJysHlCyPVI,531 +material/templates/.icons/material/progress-wrench.svg,sha256=i2DpfxWeZqPeyKAH83en0NhodrcsSN_LtBlYHJZU6Aw,710 +material/templates/.icons/material/projector-off.svg,sha256=9n2amu7omhJqRfAWEypZMHqcmW90buUwASR1xgm0t3g,775 +material/templates/.icons/material/projector-screen-off-outline.svg,sha256=HN_FTq04T_Wn3v8hUWe_zp3vt8zlaEMpa_Xz_R2f6Lw,310 +material/templates/.icons/material/projector-screen-off.svg,sha256=NGsu0OCKbcn2F_yQeQM8mIHrr1d2-q6LwLIQnWwWgio,276 +material/templates/.icons/material/projector-screen-outline.svg,sha256=YTGXqy4tEsg2ZngD56kreR5CZvkp82_ZfCRUu-r0XSk,257 +material/templates/.icons/material/projector-screen-variant-off-outline.svg,sha256=_MJWLk6K7F1loTuys7GOgWH2Oey9QfBeKq6SxlU061Y,261 +material/templates/.icons/material/projector-screen-variant-off.svg,sha256=VI00bI0kdxd7Qse8mWSvrgsWUXtkOIHBCUWrZa8wAwQ,236 +material/templates/.icons/material/projector-screen-variant-outline.svg,sha256=81O9oOqKjOngWRQgRrwXru1WsnaDi5dpxbc81FogK7E,180 +material/templates/.icons/material/projector-screen-variant.svg,sha256=Y5f0vaTuoUBpfUscmdqZbbxKnr0hIoH8UNzsE_ywc4s,166 +material/templates/.icons/material/projector-screen.svg,sha256=le-80TsMAeyGQH6MJWpZNbqsgUXNxy6_rlEeujaIAMA,233 +material/templates/.icons/material/projector.svg,sha256=DAKQfYy5Oe-jQEpEQbhCtIC1cIbWUWXAEGGsP3Tfges,478 +material/templates/.icons/material/propane-tank-outline.svg,sha256=X296tAwuy9r96lnl1pDQ66Q5IEfqEpawggtGfK5ixc8,344 +material/templates/.icons/material/propane-tank.svg,sha256=m0RCDerGw6-6s1ysDgm6Vg9cTWM7qQiU6N30l7b1tas,268 +material/templates/.icons/material/protocol.svg,sha256=DIccOYL31wV_lbEg0lUPKzm4OB4LSYNR-UtYqMC7PCs,286 +material/templates/.icons/material/publish-off.svg,sha256=2GPhJt2P97rgsfm8uxm1n0tUAQDye6gwMukUyQM3IBE,193 +material/templates/.icons/material/publish.svg,sha256=hIXTCM8VNwYU5_nx_xV37S083qEd1kQETEKMoL7MBvw,117 +material/templates/.icons/material/pulse.svg,sha256=s192TE9aj8sk5YyhYhvl_ePNMeOEwZ7CWwwgQcIU0v0,176 +material/templates/.icons/material/pump-off.svg,sha256=Gw6AZXctm1LK7biiyUwJu56ZQCdDJz0YC7pZonAgvnE,476 +material/templates/.icons/material/pump.svg,sha256=ur-6kxJjv0tp0qsav-lc38ZB4EP9a_v-Vw8FhbJhRLM,475 +material/templates/.icons/material/pumpkin.svg,sha256=3674wX8u65fdOx9JEIMOSGrIaKK_NrGBC3XzqBiZWMs,385 +material/templates/.icons/material/purse-outline.svg,sha256=a_Gb80hkBWlgbBmGUjGyhT57_GS7DcOICQ0QGaVs6EA,248 +material/templates/.icons/material/purse.svg,sha256=qI6Z9wpWF4gp5mstX9VLf1gndPyizwKLyrJgtgdlfsg,232 +material/templates/.icons/material/puzzle-check-outline.svg,sha256=FrAuiN4rBKkT-HtSBYLNQ2VuZOA3oBIT_xIIH2uxRFE,592 +material/templates/.icons/material/puzzle-check.svg,sha256=goVRy5pXA7d6WRgZlKD3fKMVXx9F3jsr1Em9SximiP0,428 +material/templates/.icons/material/puzzle-edit-outline.svg,sha256=ApWnx2loRBcjkTIF19FlrPSbXYZbSy3cOBeTyw5G6hE,645 +material/templates/.icons/material/puzzle-edit.svg,sha256=N-lYbTWUmx0C81Rt1vjET3Zcw8WWjF6_TQUh9OxSfKM,431 +material/templates/.icons/material/puzzle-heart-outline.svg,sha256=h3S7Zacl76r-55rDNo_Bmotp0_V-zOLMIfXwDVaikJw,646 +material/templates/.icons/material/puzzle-heart.svg,sha256=E4fUDui7INp5JchEW4f1hyAD0-daCCgt_AOy7FL_KMc,503 +material/templates/.icons/material/puzzle-minus-outline.svg,sha256=IXu4vsgJcIK-VvQDL9AXcmNT5Nj3-9ghHt57B3WNzCI,568 +material/templates/.icons/material/puzzle-minus.svg,sha256=qmi-TeTiJxB6NanybM6-m2s9PfU61THdfiWhXKayUu0,392 +material/templates/.icons/material/puzzle-outline.svg,sha256=NXGySzZ47mh_GhVqVKkpO94X_tlacIfhzFcJr3n0hMo,566 +material/templates/.icons/material/puzzle-plus-outline.svg,sha256=9taQmPg313jDYZyQay3bi8s4wrOxbFgxAwVTjkdctcw,588 +material/templates/.icons/material/puzzle-plus.svg,sha256=WBNHIwtcrHf_fRRVvIXsiqMDQvN2hTs3ADg9Yvhw9yk,412 +material/templates/.icons/material/puzzle-remove-outline.svg,sha256=49zgD_2VOFC16Bd6ZtLaam0qMPeU3f6aKZHUIB2j6Y8,680 +material/templates/.icons/material/puzzle-remove.svg,sha256=ikQwYrqsSMTYanMQU2fpy5LnZ4AUaUO5_YwTKG0cCpA,504 +material/templates/.icons/material/puzzle-star-outline.svg,sha256=sdySweR1Af1b1jZ-O38Y9Oxu8erb-Cbt5FTlR5MuFJQ,603 +material/templates/.icons/material/puzzle-star.svg,sha256=bjNWmuFCyUS18g0RWwQOjbavtsghS9LkF8n453wKLdg,454 +material/templates/.icons/material/puzzle.svg,sha256=tvO_deFWxWa0c40GMnTFphW0wThiRhkG11UJyHDtW9k,367 +material/templates/.icons/material/pyramid-off.svg,sha256=6TTYFTKXAn9aRP95xud4OGqniDzPaU6H3ixJjsIu6F0,450 +material/templates/.icons/material/pyramid.svg,sha256=J4tjec7y6ahzloqnZ69AK7dn7RfrWcNKIZj5oMxtzQc,326 +material/templates/.icons/material/qi.svg,sha256=dOm-FMRzp-mL-kuT5rcvY_O6iHc4V5aA-tw7NW8rdr8,568 +material/templates/.icons/material/qqchat.svg,sha256=d4ss5R7Cbt4V0QNteuEVD2Lh1XJBparrbcYe_0KmtRA,567 +material/templates/.icons/material/qrcode-edit.svg,sha256=LLShcK3CLFk-n4ddM2hpYSSySD9pLdWuHt0IIVNAIF8,367 +material/templates/.icons/material/qrcode-minus.svg,sha256=tVM5KUAronV6LEHr0JBsQWILOmDHLXg-szuyT2Flp78,261 +material/templates/.icons/material/qrcode-plus.svg,sha256=DU2y59leQwKGtS1tkghWReR7M15ny8SoP4bdUAHiJZA,279 +material/templates/.icons/material/qrcode-remove.svg,sha256=RWiCnmnduZXhdKthVRFqM-8RQYOtudKRaBfGmXatAMQ,376 +material/templates/.icons/material/qrcode-scan.svg,sha256=LzwfbM6k-mKVSPTpYDdj5EG-H_Q_CWdhgfRxRd2mTQc,414 +material/templates/.icons/material/qrcode.svg,sha256=CbgPpjmPcvY3Xj9YYVahbmHPaahL4JIZgwRSRJq3qvk,282 +material/templates/.icons/material/quadcopter.svg,sha256=28pjM4C2SDKalyeYq84EHeFipb2rL5SgGQPQ_JOLQNU,1464 +material/templates/.icons/material/quality-high.svg,sha256=5gTNmXrMeAjSe8SkmxKdlxD1tm8lLtTS_rC8Cip5LAU,294 +material/templates/.icons/material/quality-low.svg,sha256=NFUUGPfnxr3E2xt6p2qRLQmvDb91_IWVExdp82HY_v4,279 +material/templates/.icons/material/quality-medium.svg,sha256=K8RGbtgVfXK-Elwap0NVgQxFYQLmn90ejWcqZPZiVmo,327 +material/templates/.icons/material/queue-first-in-last-out.svg,sha256=44Wa_pWBsXNiewUkZpMgJEdeqV56mNGKFuFUPpsEif0,153 +material/templates/.icons/material/quora.svg,sha256=O4HX_NrH9riWl_3I2fr18N2mytMj1ukoJH4QCFGzL-s,728 +material/templates/.icons/material/rabbit-variant-outline.svg,sha256=vikYgpbA9KjzOu3BmqDBlQFlmhTTCrVgaP_J4VTrvAI,984 +material/templates/.icons/material/rabbit-variant.svg,sha256=GCm5QbuEJ3sQU-GoU2empUoemRPdYzuVj2uOReJERLc,776 +material/templates/.icons/material/rabbit.svg,sha256=KzwwYJNidyG5utKjqTcPtEchBKhYu-koGAsxe5f2rF4,828 +material/templates/.icons/material/racing-helmet.svg,sha256=yE8wMHQLV6HTYU1fpuXwkuMtXf8Xh_BFZno5bpZkJ_0,415 +material/templates/.icons/material/racquetball.svg,sha256=i1xucLmLe4UbDbCo000XIR_uZATXRhZPNLz15OWqcNI,624 +material/templates/.icons/material/radar.svg,sha256=wv05iFPdMdUQks6Bzw5baF9bg8RoBHkQRr9V__yNVaM,503 +material/templates/.icons/material/radiator-disabled.svg,sha256=FlWCVcR6ntT4Ic-5PBPAkyXJD1qCMYsu1jXVUy17iCQ,393 +material/templates/.icons/material/radiator-off.svg,sha256=sP9z8dC0JYbJH96vmyLNk8r_9sjoJH4qu7Sw13FOtQY,677 +material/templates/.icons/material/radiator.svg,sha256=kCyEJ_03H4q5q6UPzACg_9gVC0-qUaL82G4NY5P2RT4,631 +material/templates/.icons/material/radio-am.svg,sha256=eXTT5tHSVWPLVHYYZ6KG0tyMyASxxM2B4kY7b0Rbulc,197 +material/templates/.icons/material/radio-fm.svg,sha256=8o8v1T1TyWvk47dlvgf6NJNk3itpMvyMzNAk4QNULFU,164 +material/templates/.icons/material/radio-handheld.svg,sha256=k__G2m_gStizOfNlxwX8ei7QI5YWQV2b7CINhM_QRtM,186 +material/templates/.icons/material/radio-off.svg,sha256=fqoICtvPFD532pRYg31bc_XznMy1PC_26jXUIS9GeOs,324 +material/templates/.icons/material/radio-tower.svg,sha256=-NkpftHEp28Vp98zTFDSx2u3ZWxVgZYyhSrKjgIl9fg,538 +material/templates/.icons/material/radio.svg,sha256=L_khYRiKln0TWgqG6UbE256oTkC0NQfgiS6_XnQ9ZDM,267 +material/templates/.icons/material/radioactive-circle-outline.svg,sha256=9UnHwSLw38aHVbhmIMbBC7hvXrFdoQrGCSEdzaXhZkY,447 +material/templates/.icons/material/radioactive-circle.svg,sha256=casol9TNeRl02FTr5-DUUkWWIQVHzMH7PCAF9gsLLWM,395 +material/templates/.icons/material/radioactive-off.svg,sha256=v7KGwiBd5Hb3hGF4s67kTmcvDNDvw_9SVt2Ts7ns-AU,388 +material/templates/.icons/material/radioactive.svg,sha256=CQrquzaMbdrxFhsuKxoeGfKvUeQOmCpy_Veo3s4NpVk,341 +material/templates/.icons/material/radiobox-blank.svg,sha256=wLsGmrXWXW9orLWuKFThD9hRzNxDRONE03NMS4zbsWc,216 +material/templates/.icons/material/radiobox-indeterminate-variant.svg,sha256=jyoCg7vtV9eKnvqtXUNJkHGOi0JcpGDqKNOl6HqmSWA,681 +material/templates/.icons/material/radiobox-marked.svg,sha256=aXDnlIXGbOQAcftEHIDc9hB3FWeJYR6djf1WIhqFEWg,276 +material/templates/.icons/material/radiology-box-outline.svg,sha256=hS9wn_wNq9xxC0hLsfe1n69Hc1qMNU4V8B2X6CAF-S0,497 +material/templates/.icons/material/radiology-box.svg,sha256=rI1dB4IoBwsh2LyHgN3WgzL92doIc4oR6Iur749bLNM,480 +material/templates/.icons/material/radius-outline.svg,sha256=2XNDprUVkXZCIVgAzOQ2x_w-bNGoLNahG_TPpTq1AAI,312 +material/templates/.icons/material/radius.svg,sha256=BbdJ_0mOd0Ie2n-ZofT6mOqNPo5_m353CjAjb74fpA4,252 +material/templates/.icons/material/railroad-light.svg,sha256=aLaKbFLV2wjX8yXw5r-hDU1No3hZCTRgPaSOMybBu9E,531 +material/templates/.icons/material/rake.svg,sha256=S0Rf3KcPU1jy39uiXrEP1xDBxMwjtTi67UTW7KmmZX4,335 +material/templates/.icons/material/raspberry-pi.svg,sha256=3l6cDHwrcBeFon00brXEYxspoSheKV-iCNzg1P2VNmI,330 +material/templates/.icons/material/raw-off.svg,sha256=TtPHGO_DWc2V9MX0_ZbWTxPJHrzVfMJlyLgLYDVDmao,340 +material/templates/.icons/material/raw.svg,sha256=vm38JdELUVNVg9t2tJ1BzDDWwpraLczv4PxAIsmjDSc,328 +material/templates/.icons/material/ray-end-arrow.svg,sha256=7bCTdlpVcHEWHYFcqrUgE0atPvecfBTpkp7NRz_JtEQ,180 +material/templates/.icons/material/ray-end.svg,sha256=qPDu96py_lE4NdPCn-NdguwH60MRtCWjfyHHT61VviE,168 +material/templates/.icons/material/ray-start-arrow.svg,sha256=uxE5RZ2k3G90ezEt25kPfp8yEx5EKM7HxQAm_nLBm6o,177 +material/templates/.icons/material/ray-start-end.svg,sha256=eRJOyQh33OQcC5deZ6P68UE6xhOUPdJncEcJeThP25A,239 +material/templates/.icons/material/ray-start-vertex-end.svg,sha256=uC8iesOFO1fyerYqvIy_DIiuRhTMV0QROWT2bVMJvIk,328 +material/templates/.icons/material/ray-start.svg,sha256=tGnyosgVwlgGd7Nz0nK1djmqPpldr9ashxjPjs6Ejtg,164 +material/templates/.icons/material/ray-vertex.svg,sha256=eL5apmvJtyxCtcQesLRT768Dc2A-lnA91WHsnyBGZpo,188 +material/templates/.icons/material/razor-double-edge.svg,sha256=tJhf859qpPmciqQ6Bc4PyabizF2kovFJNyQcGIM-V-Y,353 +material/templates/.icons/material/razor-single-edge.svg,sha256=aNz4KMpmgtJjZqMvLgEI1bwnmmpy4cGM3RoluTrsxdA,262 +material/templates/.icons/material/react.svg,sha256=2peKY44pRw8iiSfDVXjcmD916tLidk4PfpJYWBmvvZ0,1756 +material/templates/.icons/material/read.svg,sha256=fdFw3zyX-HjeLVOOYvY2SKljKFUzmepeWEbe2rJWL1Q,254 +material/templates/.icons/material/receipt-clock-outline.svg,sha256=KL-OkN4r4U3_jvLEWfyKKUayxWouQCH_tNauGxml5p8,593 +material/templates/.icons/material/receipt-clock.svg,sha256=bTNsGkGSV8DhdcwAN_-iLp0IlsLjWn9u9771Si7WlNY,506 +material/templates/.icons/material/receipt-outline.svg,sha256=tBhz64X4vQoR9hXpXDHaSs1FFBMqzOArnJiQLk2VJGI,270 +material/templates/.icons/material/receipt-send-outline.svg,sha256=HyQQ3NsdzYTanuBxxaYvWIgXssDxlh6Nl7kpYCw56rw,256 +material/templates/.icons/material/receipt-send.svg,sha256=ENevB4cQB4de5Pfy_K5gyrF8bRUe0Hc6BUwFDs13buc,254 +material/templates/.icons/material/receipt-text-arrow-left-outline.svg,sha256=XcZgDrguuZGhizXyIL6Ap2w78c4AIIAiQ0Eg2eYsgI0,371 +material/templates/.icons/material/receipt-text-arrow-left.svg,sha256=lx2pyO5za7zrTh1cWN3FNVELmZuZlJSJZKJ4LOY0gSE,361 +material/templates/.icons/material/receipt-text-arrow-right-outline.svg,sha256=f6i7JLRagndVkMq5R7_STi9oCE3eecwq1apqSzCCJyM,381 +material/templates/.icons/material/receipt-text-arrow-right.svg,sha256=EZ-4RK_sVY-bJboXWFUMYzxloghxg1sahBhNgJ1LNpw,361 +material/templates/.icons/material/receipt-text-check-outline.svg,sha256=vRxrdXa0GEGkrqG-Pb2MlZGMa1Q92iF8vIATgzkrRsM,392 +material/templates/.icons/material/receipt-text-check.svg,sha256=hmnW6H799BFk8cZR_ca45w7fUhB58eP7ZtuvBD44cFQ,389 +material/templates/.icons/material/receipt-text-clock-outline.svg,sha256=i_nRglTGneXQVtc7RdJ-8tutMaEVEIlYUlfQioKHHcA,662 +material/templates/.icons/material/receipt-text-clock.svg,sha256=s-HlJyrmfk8W2SAqjuKYObjIhcWx1cZXcm27-0fbTuU,620 +material/templates/.icons/material/receipt-text-edit-outline.svg,sha256=RsZlOXv-aiUR0SziLZ-Iv2Ctxa5y1aQWa7PmUDLvIuE,447 +material/templates/.icons/material/receipt-text-edit.svg,sha256=W9nDqIll78XPuAvXof6BFOXVajRrxFi6sR0MCV5rrJ4,407 +material/templates/.icons/material/receipt-text-minus-outline.svg,sha256=xSi3DapkYscaZh32uSkG90w1BqZxx3076rv-DzZJ24k,362 +material/templates/.icons/material/receipt-text-minus.svg,sha256=_cbOLZeqjZs2eWohSRcDujlhS1vEGjEbJ974KO-tM3U,350 +material/templates/.icons/material/receipt-text-outline.svg,sha256=Mxw71tVvk5VZOJkeP4ljXhjjRTk31em0ZiaCUzzL6OI,306 +material/templates/.icons/material/receipt-text-plus-outline.svg,sha256=SmWVmhzJLX1IgiepYdxSmCmDGONYXJSuH6pOK76o4a8,382 +material/templates/.icons/material/receipt-text-plus.svg,sha256=JWCqhA5Arj8Tz4EhZrc0bm99A2nir_djcJuWV-RzeOs,370 +material/templates/.icons/material/receipt-text-remove-outline.svg,sha256=zqATmMDbZJKksJU9eUhf5frbxq0KWO60cLAwnSO6Lyg,476 +material/templates/.icons/material/receipt-text-remove.svg,sha256=XQCegwae8-VInx2Lm00DBSvGpIOxLxrVIjMJ14ji0d0,464 +material/templates/.icons/material/receipt-text-send-outline.svg,sha256=VN6A5nFHGZ6tt0MU6TaVEh8VyyUd3M6umMp7a1OHcdo,310 +material/templates/.icons/material/receipt-text-send.svg,sha256=2pTI0IHLbolLYIVPrgIvgFp5R3jMyD_WVY7ItjbsbOM,281 +material/templates/.icons/material/receipt-text.svg,sha256=rwE3cKpFEwMFNCJKT_uRa9u60NWG1l_pbWeTHsKIKrg,285 +material/templates/.icons/material/receipt.svg,sha256=xCoBAFkJgbR7bhBC2kukCoe26nBkZCJYE9flImiklZY,246 +material/templates/.icons/material/record-circle-outline.svg,sha256=y_aO2W7HbFCZ38x0sk4y7aj1pn44Vd66jIBhIER8oZU,274 +material/templates/.icons/material/record-circle.svg,sha256=k7q8oBKleAT8gxaaQK2cw_yoo25Bx0zDwTNhYdaiCEs,214 +material/templates/.icons/material/record-player.svg,sha256=M1oGo9yw5otuyloWPI272qxtf7dN2beg9abgrXmrVZ4,390 +material/templates/.icons/material/record-rec.svg,sha256=ra9KlJG9yAzWJZkJVbKW3gyZhXAMfw0HzoSSpyjkd_o,358 +material/templates/.icons/material/record.svg,sha256=-5QCmCz8X_psOXGqrvKrLr1Wybs0IIuhxvdTbZf4-hg,137 +material/templates/.icons/material/rectangle-outline.svg,sha256=tLjAKT5u5fWR-8SZ6MxmYmwfYiZkwiDAR42SCYy3GB8,108 +material/templates/.icons/material/rectangle.svg,sha256=u-Rz_pGOyXAcDOJIhfkvdqYEXoubMfeAzFGit2kuuFQ,93 +material/templates/.icons/material/recycle-variant.svg,sha256=STq03Pyzb45Qb2BnHTsz-PekhOWW6q46cwpomI3uokU,387 +material/templates/.icons/material/recycle.svg,sha256=HBwDr4pZH54jP9LvBD_QTVwePbhQuTzJDiJku7p8TnU,474 +material/templates/.icons/material/reddit.svg,sha256=ja8WBoP5igrlVk_8hCwcdPlLPqG8BijT33U7jWMjaCk,982 +material/templates/.icons/material/redhat.svg,sha256=NPZoTFf5i2k-Xy5wXVRsP_Omjf3-lcQaVD2kZvBstrg,546 +material/templates/.icons/material/redo-variant.svg,sha256=EVpc5JYPjxLEqsQRNH3eZXTdWtEE10gJpYO-tBqLBls,247 +material/templates/.icons/material/redo.svg,sha256=bRMoNuNEe5jnYsNNG-P8hJ44VAOMs4g9vg3uUQoi-X4,217 +material/templates/.icons/material/reflect-horizontal.svg,sha256=1qfGlGr6Q4j4mlyNpMj2XBGUdSulaZYHF7T7ii2cLi4,329 +material/templates/.icons/material/reflect-vertical.svg,sha256=GfUaz1qVRPB2rVsSJpqV8ueMJ7RBo67B7yO1BhHtkdA,367 +material/templates/.icons/material/refresh-auto.svg,sha256=LkMFgNeRA4T3LGw8OXkhfHM6KoOjg3h3Flzb-38EogU,337 +material/templates/.icons/material/refresh-circle.svg,sha256=M4cto_2drr5N4xplxSyQLNtt-ZfBUGqcy2dmSkZnXPA,225 +material/templates/.icons/material/refresh.svg,sha256=jBdfl_2IJQzuMdX5NdEhxchJoHllPLBirqasz2TmrS8,267 +material/templates/.icons/material/regex.svg,sha256=lQAtCPe7OEWsRXIKIQn4I8YiAk9jBQ8P7wovoYG86Gk,552 +material/templates/.icons/material/registered-trademark.svg,sha256=47UT1X_gLNnRd6n1kDREu5k-T9QM6-A4GWkU7oewfpY,474 +material/templates/.icons/material/reiterate.svg,sha256=codaNwcB918WIIu_fZsdYLkl1F7Xy3_LqHPRt6yitvw,279 +material/templates/.icons/material/relation-many-to-many.svg,sha256=mhX9VDoBx6cOIr-jB5rAiEnKtuF21pb74v5_-YJk4AU,127 +material/templates/.icons/material/relation-many-to-one-or-many.svg,sha256=8ee6DivQFT-E1G-FZScN1i0ZE8Bw6npAhiOwdtmcDz8,142 +material/templates/.icons/material/relation-many-to-one.svg,sha256=R6siPYX4e_49enuBZAHQPJblUzNXSqDlioebIpSRu7E,133 +material/templates/.icons/material/relation-many-to-only-one.svg,sha256=GERnSJCLkgjsNvNCP4N3JYuDgOLv7Wy-9EmRxyYZpCU,153 +material/templates/.icons/material/relation-many-to-zero-or-many.svg,sha256=vm8STBdX_cpdUWN0r4GV8fgDFqFdYSwBCDzzDWHTWxk,213 +material/templates/.icons/material/relation-many-to-zero-or-one.svg,sha256=tvVGVPj7haZOFupqCYA5VxIg3kggAwwmJ6uSgQfk8Wc,220 +material/templates/.icons/material/relation-one-or-many-to-many.svg,sha256=VdGC7OKnKviiejqL6X3yjT43DGsZ17_jG7lpCngTz3k,139 +material/templates/.icons/material/relation-one-or-many-to-one-or-many.svg,sha256=v_7EGTfOZghH7NPg7cc_NfqnbZAtk_e2XbcO3IFN1EI,154 +material/templates/.icons/material/relation-one-or-many-to-one.svg,sha256=gG7kUioRL0S8DYgc1auGZsEaEfFqOF_uM_6aNvu9fVY,145 +material/templates/.icons/material/relation-one-or-many-to-only-one.svg,sha256=hVbADnveJBC0yRrQFUP3wbOMsvCoxItWp8nh1Xmoj_M,165 +material/templates/.icons/material/relation-one-or-many-to-zero-or-many.svg,sha256=cVxf7MFxeBTxp8ef8yioEImXP17ErB0SXrXMuBmwDmU,225 +material/templates/.icons/material/relation-one-or-many-to-zero-or-one.svg,sha256=YoOD2vYoYLleJtlnfRiCaP0329Y4QdJFQpKJfT3nUfk,232 +material/templates/.icons/material/relation-one-to-many.svg,sha256=OHt5XrMSfGqJk_CW092fKcm9e8JwlhsBf4x_5sBvmv0,130 +material/templates/.icons/material/relation-one-to-one-or-many.svg,sha256=NamAqBLxRXEF_6mQaSVm3BBXgNo4d8gW_jr3L40OiVI,145 +material/templates/.icons/material/relation-one-to-one.svg,sha256=J8BFKPwdqzQFEqFb6YXn4OmKfP8loTUgorz4w0W5rq8,136 +material/templates/.icons/material/relation-one-to-only-one.svg,sha256=ZB0SFgHj7-8gDyBsYVm8z_wjc6VFtg08y_gabMNsUrY,156 +material/templates/.icons/material/relation-one-to-zero-or-many.svg,sha256=hJCtvfDUOJjvaGXfUOluhQtZXP4dc9EgeurpPKjXp2I,217 +material/templates/.icons/material/relation-one-to-zero-or-one.svg,sha256=H27X2dQmF4oXubEBA2up1qfKWT0-BIaiafdrv5f3jfw,224 +material/templates/.icons/material/relation-only-one-to-many.svg,sha256=toumtHbPDfOv7FHqn1LCyvDxIWWBB0HYLy0rqdAKNRs,146 +material/templates/.icons/material/relation-only-one-to-one-or-many.svg,sha256=r9ej27VbKBY2h2DeqeTGP80il7WqKaZP0Kt3lE4hERQ,161 +material/templates/.icons/material/relation-only-one-to-one.svg,sha256=-fwp_axp9CE8hlTIVSq0FMRL6WFdjpq9RUipQEunUX0,152 +material/templates/.icons/material/relation-only-one-to-only-one.svg,sha256=5BMj42AEBfMWPR6osvUqJ5-zA46PZ8uOjz49n2kwl04,172 +material/templates/.icons/material/relation-only-one-to-zero-or-many.svg,sha256=f73D5jdapxHx-q8HaObwcDnd2YayBimlT-PnLxMHCdk,233 +material/templates/.icons/material/relation-only-one-to-zero-or-one.svg,sha256=Od8eCmLxazV7SCS0HLyyPpRZUN9IpnkfNXADY5Ss1Bs,240 +material/templates/.icons/material/relation-zero-or-many-to-many.svg,sha256=vqz4LK_AbiAs7farvLeN1w71Z3j0SYzvW7l0ig9N9_A,211 +material/templates/.icons/material/relation-zero-or-many-to-one-or-many.svg,sha256=9Z_I4uCIgqCJvt3lC6YgiW1-gcJsL-SUFH_LBmB0LKM,226 +material/templates/.icons/material/relation-zero-or-many-to-one.svg,sha256=7aZ7Dbt0DrQkCHtZ6B37fZuu4JuW956R2-ufP5-m1u4,218 +material/templates/.icons/material/relation-zero-or-many-to-only-one.svg,sha256=9SnTzMQ59EMPz8RYCGaMXrspp4VWiUgwmskHFDGKRPU,238 +material/templates/.icons/material/relation-zero-or-many-to-zero-or-many.svg,sha256=wrMDWQLgMUDVQ6aNWC9NhM_4fvTYMWYJS_ufvAUjfLk,296 +material/templates/.icons/material/relation-zero-or-many-to-zero-or-one.svg,sha256=BWnujMJXwCxsWqivE84bS8KZMvQRRMhQ5yxxBoW4I0U,303 +material/templates/.icons/material/relation-zero-or-one-to-many.svg,sha256=hl-J3uFLQ27xZ4UShZ2m9DxXTNwWn2Ld5U-Vw4o4vLs,215 +material/templates/.icons/material/relation-zero-or-one-to-one-or-many.svg,sha256=DNs4avnVbQamSas7WBQ_wvVdhvUfxN3BSXzYZpCuB_A,230 +material/templates/.icons/material/relation-zero-or-one-to-one.svg,sha256=saUPXcz6jnQYujs-oU6_uzfA1M8GNMgbXPvMw9D2B1w,222 +material/templates/.icons/material/relation-zero-or-one-to-only-one.svg,sha256=ncXm39xnE9byqm3YSf9E1Zrlv6QvKrbpmwVfnyMVhsQ,242 +material/templates/.icons/material/relation-zero-or-one-to-zero-or-many.svg,sha256=p0r4UsJsaGZQdWlKoD6Q3m0caCGUPW6zMcNS2h5q60w,300 +material/templates/.icons/material/relation-zero-or-one-to-zero-or-one.svg,sha256=ZRdMPxL7qxt_SZxRlnMXYWG3xkMPAGQ7zfMn15T9fDk,307 +material/templates/.icons/material/relative-scale.svg,sha256=ht2nOyaErXEiKn2WKgckxRLEm1KfgZccBF30X0II5Sc,214 +material/templates/.icons/material/reload-alert.svg,sha256=FnKbRZhAXlFEcnYe2h-YlguR_9eX3CNXUhrUjqm68Vg,251 +material/templates/.icons/material/reload.svg,sha256=4lti2qyeZjnq64v4BPhs1xAL0tJ3RlroG8jLgHhr1T0,243 +material/templates/.icons/material/reminder.svg,sha256=H2jPpQ-tvZ5e-naRMSXXLJYL4t3afwXPu2Pp-SlOAm4,607 +material/templates/.icons/material/remote-desktop.svg,sha256=wcYa9umo6C0jbhDND-P7NJb9QhbpRzkIRmLHfHlDePI,261 +material/templates/.icons/material/remote-off.svg,sha256=praoOEzEDbUTFI3vyBJAkOxhL08Hod_duew1KTGmc_k,502 +material/templates/.icons/material/remote-tv-off.svg,sha256=XICqg0KPEju-jLHO5blKyr7UTYG7LryzmmQgAaHLJ08,319 +material/templates/.icons/material/remote-tv.svg,sha256=ltpYcZNemH8fjdYAYj8fAtkRPf3CFd_l8MYd2iN1kYw,257 +material/templates/.icons/material/remote.svg,sha256=jwaF2fPWCI2PvOyx4qlw26Pbmb7O630bdDjKEFPWiHQ,437 +material/templates/.icons/material/rename-box-outline.svg,sha256=65nPoeHgPxgjVVWRC8W2IYa8o78EHfXKlgyq-UZuRyQ,248 +material/templates/.icons/material/rename-box.svg,sha256=WrX_rM5HSMO2WK8Ghv3jzx_7hqBc3qTQJMc3juqUsKo,244 +material/templates/.icons/material/rename-outline.svg,sha256=7DtQv_wP60P9y7dQ_tMN3bT6Hu6_g7iBF0mIxQh0rTA,285 +material/templates/.icons/material/rename.svg,sha256=h5gYD8LJjRVlmErkDt3NpKkTmCkSXexlf9axdJ_bJLI,243 +material/templates/.icons/material/reorder-horizontal.svg,sha256=i0lvzpH_xL_5YEbODeJ8LMdkwsIgTwjLsyo6kWVlzO0,134 +material/templates/.icons/material/reorder-vertical.svg,sha256=yNwBwd70fdFEVefugPIbRdlSZ8bOKeYf3uKb6pGzPNA,133 +material/templates/.icons/material/repeat-off.svg,sha256=tXcpWl1Cwl9C9VpF7tQ5VAN4hpN303B0zAgZUw1yNFk,209 +material/templates/.icons/material/repeat-once.svg,sha256=5dOg2YsshMP47KZXCFds74m7zvKg6eqVN8ai8eydIlA,162 +material/templates/.icons/material/repeat-variant.svg,sha256=HXcz0I6TQuT7skCmC4wjRFPKfwte0chO0Ou_cV6rNAU,203 +material/templates/.icons/material/repeat.svg,sha256=ujgYJ7SFESN26GbRgi4auRboUReNEAXdb_BheALYRQY,138 +material/templates/.icons/material/replay.svg,sha256=xTeHTUUyOLgG1qjgEFfF4k43esuEnk5_yy3en36Dw_0,182 +material/templates/.icons/material/reply-all-outline.svg,sha256=zBRisjv8D-uGT-TGSP-bCrSqaPO-HNG7rg3OnWdAmTM,234 +material/templates/.icons/material/reply-all.svg,sha256=wPxU7Dy2t3Lvtgmr15xv37XD1dArM-VA65-XNmo7IhU,161 +material/templates/.icons/material/reply-circle.svg,sha256=5wAIy6iFw8df3xNBivhOMLXy5eFqSdYmByraT0gwOUE,199 +material/templates/.icons/material/reply-outline.svg,sha256=ZpZEj1u0_kEdlowC4tSpz7B8SxLuFM_-3oMsl8v4IHg,208 +material/templates/.icons/material/reply.svg,sha256=H1ac2Hf5ahblsijXR3wGGj81yLGvACZTgFVTY-TWchU,134 +material/templates/.icons/material/reproduction.svg,sha256=YM5-B9WsWSQgHWEZTLM4bxGcd_O00TR4kPfIW_Dljqw,546 +material/templates/.icons/material/resistor-nodes.svg,sha256=yw6Uz5RXqj0O87rhRpV_8b-3mMxGfL0qZrkTf55teUQ,524 +material/templates/.icons/material/resistor.svg,sha256=D2tR1cY4uWqF7AnAxvG-KL6x8j8euIVEJM1QljPXRmQ,147 +material/templates/.icons/material/resize-bottom-right.svg,sha256=PnmUNKQnfHM9jKNF70Hk4Gly9fvzv-tlgG42EgoIbl4,167 +material/templates/.icons/material/resize.svg,sha256=Rzhs9Q-0OaWnad_8449qu7Cuk5Uh981KlPJeco5YctA,170 +material/templates/.icons/material/responsive.svg,sha256=i9bt8cvBqMA6iFsApu1dmcU7pFq9yvmSJ03PJWQ-0WI,411 +material/templates/.icons/material/restart-alert.svg,sha256=iF4DxUe7faUyYNIQNoN0D_GGDRsW9ecgCrfvBJMRzbY,409 +material/templates/.icons/material/restart-off.svg,sha256=HgKjVpFTq4PCUm6sD3mCBblAYRjp4du9UzSQnd4Tfwo,423 +material/templates/.icons/material/restart.svg,sha256=eWZPfM50WNJlnynA5oDUZbBEovvGvVEe_4-BsDhARAs,340 +material/templates/.icons/material/restore-alert.svg,sha256=Yk7xPnIyQhn3SuN9TuMe9v33DLjywkWEshpPBs3D-K4,254 +material/templates/.icons/material/restore.svg,sha256=3VElrrYGLIQXpE4xj_CAbOlWzVADhUEAGPC37WgYFQw,255 +material/templates/.icons/material/rewind-10.svg,sha256=fhPVCmX-43Hrj0dg4lQ-XwEYTo7fXJ1PYQhtSZVVqi8,322 +material/templates/.icons/material/rewind-15.svg,sha256=9U4Xqh7aldGT6IlFTgzYmPTSw0esXAyYasZ5mX0ZQyI,299 +material/templates/.icons/material/rewind-30.svg,sha256=V47KPlvpxPF6iQo5lP1sw6oaMAlOAYuq1WZzEF43K7I,413 +material/templates/.icons/material/rewind-45.svg,sha256=SnnEyq1KFFANQeC56fVs0jH2xjuzOMiD6LCL2TdtopY,283 +material/templates/.icons/material/rewind-5.svg,sha256=j0uYO5jtmEJBdcln4iY-VKZGI2UitwDrvfuhjT8Kado,277 +material/templates/.icons/material/rewind-60.svg,sha256=9P0it7sRLxSZc_4Zh8xW8vnFsdiSue3h8bAb6Azu9nc,379 +material/templates/.icons/material/rewind-outline.svg,sha256=2mmuZh_oHpTFuWblZV8XtYuDUgrOpBkU_f-FBo7EwbA,160 +material/templates/.icons/material/rewind.svg,sha256=LVaxrl2-ttOwN96PrsJarnGxHH2y1l-cliIQOOlU7N8,116 +material/templates/.icons/material/rhombus-medium-outline.svg,sha256=RCR2G0Cv-hE2e0EnXBqC-SqxvMmpmdd61aAAgfS-RxM,283 +material/templates/.icons/material/rhombus-medium.svg,sha256=JUKDyiJpCelJRVEVrN7arxp7Rs8kHyfvyroBLfpaqa4,242 +material/templates/.icons/material/rhombus-outline.svg,sha256=B7fjBr5O0CzeUX-9OKSzxu3VxZuW3YnYBBtVMd-ggio,227 +material/templates/.icons/material/rhombus-split-outline.svg,sha256=GR90t8K_aoiWbK0HQ473BDI7cSAVK5Y1UExVS-O-Tno,377 +material/templates/.icons/material/rhombus-split.svg,sha256=4SzexXNX5oxRZ1ilJXjfF6_7u6MDsU4t-ubUQCLjNYE,368 +material/templates/.icons/material/rhombus.svg,sha256=mJ0LAdvfr5mSxwba3lMG6u448hJzuOGcmc9HJPfE1-A,211 +material/templates/.icons/material/ribbon.svg,sha256=ccxcj6-T7-fOREHWhXdl0vkkN9h8D-GGrRxpsucC4Sg,347 +material/templates/.icons/material/rice.svg,sha256=QH0XLhG3DF3ZlNh0I0pYcnz-nMWlJ0lcpiTAnjkQW4k,315 +material/templates/.icons/material/rickshaw-electric.svg,sha256=UaBgHghl8pJeEZBFOx6cpiazft2TE9IP3-govelXm0M,455 +material/templates/.icons/material/rickshaw.svg,sha256=hqyToU2xrq7HeB-GqDswBzFOKZIbTLQEllc41rDCNgE,431 +material/templates/.icons/material/ring.svg,sha256=J4_EfFLJhIvhUmoFQGr1N9xn7BSBtacyszCe4_rEyhI,278 +material/templates/.icons/material/rivet.svg,sha256=4jGWYkX1r7P42JXne1xI9IWC5GLPZBkiJFH8Cr7s4fY,210 +material/templates/.icons/material/road-variant.svg,sha256=ozEnF9nJxg7FhP9loCdBJQChqPr_kR_SSCggbaK6PKg,242 +material/templates/.icons/material/road.svg,sha256=QbqIyAAhe7DemgNU_VJOnQKyqSkA6UijZt8Ky3ENVPM,131 +material/templates/.icons/material/robber.svg,sha256=xp_6_ZK-sKpLT3nbSSaRU_dNAQogw33wqNVY9g4bmZg,450 +material/templates/.icons/material/robot-angry-outline.svg,sha256=99H70mDMNBznqr5jJaDe8-iHjAYwwVMfQykVADpeJlY,513 +material/templates/.icons/material/robot-angry.svg,sha256=j0WBiG25DX-XRAmHZhvxuW9dIpvxhi_iV0lAVBIsvlc,442 +material/templates/.icons/material/robot-confused-outline.svg,sha256=9-Dkd8F2MY_UHw8tdYULKU29K9aBToH0SROR7TKR_28,624 +material/templates/.icons/material/robot-confused.svg,sha256=8rMoJsUqfLV4odJJIZnVbLUozt5pLmnSXXBz1dX__WM,531 +material/templates/.icons/material/robot-dead-outline.svg,sha256=3TRNQKW-Fsj1awke-1GDV9W4F0f7ZLrFqrXvNghp86I,647 +material/templates/.icons/material/robot-dead.svg,sha256=pvf164bgiond2t8AtD1aQ7YZ8F4AA3sHMFqSWhJcYt4,543 +material/templates/.icons/material/robot-excited-outline.svg,sha256=_TOP36Wm_VjaLsRnYlPdwE8HEhOoI8ZcqCeVtKvuNzo,488 +material/templates/.icons/material/robot-excited.svg,sha256=rfM8o8p3HiGocJm27ozohtULXwsfhsg5PHzXD2_FjSg,422 +material/templates/.icons/material/robot-happy-outline.svg,sha256=j8drqcZIYogcmpWtr8WTaUOFuM_cNUPLy5DW9WQV_TE,603 +material/templates/.icons/material/robot-happy.svg,sha256=SS13_I7U6NOyQZxG8ySHgOBEU6g5oyW5Zef8iUGVaAA,507 +material/templates/.icons/material/robot-industrial-outline.svg,sha256=TClMoqMNcCM_S7CeW24FfKu8Yipl6sTwzv0c7clTRlY,436 +material/templates/.icons/material/robot-industrial.svg,sha256=IshimRsKGIdkQByz3tjDe_8o709WOjwjpXg1U4ld66c,417 +material/templates/.icons/material/robot-love-outline.svg,sha256=upE9D5DWE1mkSEyNb_j5GnMKXAdEVi3UUlbp7NX9ZGI,626 +material/templates/.icons/material/robot-love.svg,sha256=4YBKyGrWvE1S-eJUhXSVnAdIz04MMUhYV0K8I_3rX0U,558 +material/templates/.icons/material/robot-mower-outline.svg,sha256=09oHUy_QF_MuP7mLrdp0ev658I4qSQ2m31JlcPxZNu0,327 +material/templates/.icons/material/robot-mower.svg,sha256=mzB6_SbrLPRL8slnNCnjVd_8zpQOqTUxhNih4vH0GPs,280 +material/templates/.icons/material/robot-off-outline.svg,sha256=H7MiyJUJ0E1gEwBLwd1k4G7--430kwGbtow7-xhrnM4,582 +material/templates/.icons/material/robot-off.svg,sha256=Aj27FeJe1YSCjl5UyqlbfCHXVWe5uPRUL3yGcsnTZrc,553 +material/templates/.icons/material/robot-outline.svg,sha256=7wi8ZlhalNDlvSkTc82B-NiiT4heS6qvQ_A_Mp9B-tQ,491 +material/templates/.icons/material/robot-vacuum-alert.svg,sha256=Vsm4g1a9ebBhsnuRWPKHFkSmfTB8yQ5QrpURFKnlOiM,549 +material/templates/.icons/material/robot-vacuum-off.svg,sha256=3IjEIwKrsWRjcAmVb-GX8Wups9QTaQkPOGhFM9Z5l9M,674 +material/templates/.icons/material/robot-vacuum-variant-alert.svg,sha256=i7BtI2Bx1FYbLsKTQ4SZ9NgSiMZAt6ulAxTRZHctRrw,305 +material/templates/.icons/material/robot-vacuum-variant-off.svg,sha256=icd8A3DfUgtn_945nM73j0YRVTtmro7CkOMj4Lsy6sc,406 +material/templates/.icons/material/robot-vacuum-variant.svg,sha256=NjR_wV32x_86TNI464GcxWFAv_xi1s0imUC9gsgnYDw,301 +material/templates/.icons/material/robot-vacuum.svg,sha256=44tS_LbYMZxbR6rD0r-rUU3M5NPtaBIHH8q5RwEZQIw,577 +material/templates/.icons/material/robot.svg,sha256=VmdWCkxPln3nwfeNtCrqSakLknQmJFbD1b17c17hVFo,482 +material/templates/.icons/material/rocket-launch-outline.svg,sha256=kqnvnofBkT4kS5SIiZLfuFNGPaDuiIiwJ3JuggivWsM,827 +material/templates/.icons/material/rocket-launch.svg,sha256=mGf7GBZ7eg6mVEBfaWR7IRuRJwTjOWQ1UDE4J3UJQ0A,647 +material/templates/.icons/material/rocket-outline.svg,sha256=uorSh_ZUxsii5QPrhqiK1XBF_-m9c35c6bLFPiaXomw,439 +material/templates/.icons/material/rocket.svg,sha256=1Et95EZabOoZSpT94UQevp1eS0zNkMtobwwAWrLQDWc,346 +material/templates/.icons/material/rodent.svg,sha256=xla8iiS1X6ewAaXfzPzmEFr9MW-D_F1dd7Y33_OsVWk,570 +material/templates/.icons/material/roller-shade-closed.svg,sha256=HOGmATonLw3FPwuKU8QQEpGvuJjN1TZDoN5UoQ2c6K8,181 +material/templates/.icons/material/roller-shade.svg,sha256=FfPphJB4SXboOMoMT_GyeTlHzIJUjHRo9masKr7-Hjs,199 +material/templates/.icons/material/roller-skate-off.svg,sha256=c2yZ_IFWyBuzawYKipWhlgO8aChO7qljv6YzMUtLvOQ,514 +material/templates/.icons/material/roller-skate.svg,sha256=OUn0MxYm486A6DxQzXJGlevsa6oY3qwk01J_-gDhgwo,403 +material/templates/.icons/material/rollerblade-off.svg,sha256=HlbRH2fsVFnhCRbCt2JifYzgk7TQ2Akr4oyjv2WOS5Y,518 +material/templates/.icons/material/rollerblade.svg,sha256=i2sIJ2sVEsewnJttKCyUSIVYSL6rbxxvqcK9r75f8Fk,378 +material/templates/.icons/material/rollupjs.svg,sha256=E8nPojE-9KhQBCTKrCjA5QKiDqnjWHWM2vnxnu0Y_Sg,479 +material/templates/.icons/material/rolodex-outline.svg,sha256=CZ-SESL-ikhytDhZSrbhr33JFd4m5OcNvlW4FX_N4TM,553 +material/templates/.icons/material/rolodex.svg,sha256=lj_jBcCXAMUItIXjTfyVCeMgOPwpzByt5EMtOcxwANA,537 +material/templates/.icons/material/roman-numeral-1.svg,sha256=4edaA5FMij_gtQnlYMLkMxpkOBFHNlHXfMmLi141IPQ,112 +material/templates/.icons/material/roman-numeral-10.svg,sha256=p7EVqc3zLuHPi9jqd7d_w0k4OJE0LOsdgroenaOjGT4,133 +material/templates/.icons/material/roman-numeral-2.svg,sha256=oO8-DzmeDAWNcUFTaCdEqwPRICSzRPsPT4ZFvi7eWuQ,142 +material/templates/.icons/material/roman-numeral-3.svg,sha256=GpdRmuc3bAogF9zT_OBCwnz87FWfnqTng_9qeGM6Ae4,172 +material/templates/.icons/material/roman-numeral-4.svg,sha256=33sDJYXmQCS-3PzkUp8D16y2PH-UoMB3-rJE8Kf2UVQ,142 +material/templates/.icons/material/roman-numeral-5.svg,sha256=jIvUkZpfyW2uti812qZ8Vfm1RrKGf8_-C35a8pKJFWo,109 +material/templates/.icons/material/roman-numeral-6.svg,sha256=IoJYpg0fa2GwNniDjeusXi4FdK2D08JYd2fVvK8-6_M,142 +material/templates/.icons/material/roman-numeral-7.svg,sha256=ffCllIJxzzejxhD8hHjw8oOi9w0SdXttZYOlZgG9iuI,173 +material/templates/.icons/material/roman-numeral-8.svg,sha256=beUGxopznJ7VjjjTUf5z2asFNIf4MbbSwM80Edb4gek,202 +material/templates/.icons/material/roman-numeral-9.svg,sha256=Uq9-uwUWZFSi9Qq2qELkSPg6ms7P6ZZEu8K594pHlhg,165 +material/templates/.icons/material/room-service-outline.svg,sha256=9DCp0kvMJ83oTeRbv1ETmwIyQO_asRRx_4N72E4wOtk,293 +material/templates/.icons/material/room-service.svg,sha256=ALMaXrlQ1pDKoVxlKDfaPSi-Pzdj0H0F3j3wTzK4WBo,225 +material/templates/.icons/material/rotate-360.svg,sha256=KNPDvkdlwhU4v5Jvg6f-dU_zeWb0Swov-vQNmpJEh8k,239 +material/templates/.icons/material/rotate-3d-variant.svg,sha256=18z7ZLz7iVg1ayig1NmatU12UO44sEZe0w45tZ5Cz6U,302 +material/templates/.icons/material/rotate-3d.svg,sha256=ALaRcCa7kKRzXK6O1j_s1sekn-oiTtJAEfnUsOMUg-4,1541 +material/templates/.icons/material/rotate-left-variant.svg,sha256=zj4lYLybXE9rx-DI0fkN17SwfhPviB_is4UHsmmwRjk,257 +material/templates/.icons/material/rotate-left.svg,sha256=RiD4Uitoo1Sp7Y_SQloqRh0eCedj29Dl2WquvK9Hq-M,430 +material/templates/.icons/material/rotate-orbit.svg,sha256=Bp-t0fXeIF9mwJTFoxr8XhY091SkTJYDR-tLavh3miI,645 +material/templates/.icons/material/rotate-right-variant.svg,sha256=t9hJ4Dv6Zn4WZyNT8I-063m3ocAL6Xb5iTj9mDFkyag,252 +material/templates/.icons/material/rotate-right.svg,sha256=ugtX1iPbottyMUF9WcSgoU8QXz2Y_xvlwjrp9XAfRGA,428 +material/templates/.icons/material/rounded-corner.svg,sha256=E5sgQIdlkeapEaZTV2s_C-UCchjB5yHptILe-TUVGvE,290 +material/templates/.icons/material/router-network-wireless.svg,sha256=DPFhrmQqP4NTkqk1EJJllZwUBqDsUaSajQY0CQ3azUM,616 +material/templates/.icons/material/router-network.svg,sha256=AWQtinn1dI7eFBQ91J09GEVpBvvXGgIlX74w9BtB820,291 +material/templates/.icons/material/router-wireless-off.svg,sha256=UqcCXoNDrHgDBB1imIvj3gMsctQyWkzukI2GWUwjBs4,442 +material/templates/.icons/material/router-wireless-settings.svg,sha256=PvswZ-4Ku8pHvZlNphejj5-r_rGhqNridREBWptZg54,441 +material/templates/.icons/material/router-wireless.svg,sha256=qiRDB52nOOnsTGY8xE9QNW5Ib06Vkm7hUljMRRry0Ak,397 +material/templates/.icons/material/router.svg,sha256=RZfpJAMSOfPtpqBAFX_cTcMzHyR7lC52xx8q7rcSwAI,282 +material/templates/.icons/material/routes-clock.svg,sha256=UXJf0O99weXyk3bGckMcuX7exWtKi1JXw9w1GGAfrio,365 +material/templates/.icons/material/routes.svg,sha256=G74GFI2csl5SIUhg8zCukMlWBrmnXH28osJCvGc7Frw,172 +material/templates/.icons/material/rowing.svg,sha256=d3DOHBzKvVuVqBWmmUXxRYXWKYJhNE5GZ1654qrrxBw,422 +material/templates/.icons/material/rss-box.svg,sha256=sSe-QtYtIH2w46oF-FVdVoIKgggR8SS1mQ0cXucse10,319 +material/templates/.icons/material/rss-off.svg,sha256=iz66ANIKO_jvRpF-H0u4bhskaFpqhdvFqRMGz5xy9IQ,416 +material/templates/.icons/material/rss.svg,sha256=mgp_wUEPW5ydphtz_aNJ4EaOvcmNWxTb5ElE_bAurVA,318 +material/templates/.icons/material/rug.svg,sha256=bn9t_geqlD3Ygdx5UpaBjE8GoRwKT-8hxQEKJbhKOxE,443 +material/templates/.icons/material/rugby.svg,sha256=y_jKzMBDsBa8S_4XJkMEggo4CpJCUcnFTN9TVWArfR0,656 +material/templates/.icons/material/ruler-square-compass.svg,sha256=prGCQQ3l9K8LfF9BW0RQu1JJUjgPVQVhnR7jMKGj_5I,395 +material/templates/.icons/material/ruler-square.svg,sha256=huSyNvKuzpQXHM6hJI3T65t3-rKF6wHfHioRT8vGK1o,257 +material/templates/.icons/material/ruler.svg,sha256=IYLBt0hRIyg37_Z5Q0OAqSj97J7YlFxww4bKGzL4Jek,367 +material/templates/.icons/material/run-fast.svg,sha256=A4EdqKRBJh7wsUAlDKonucsAf5Ak48sf9Mu0JulZJ7k,441 +material/templates/.icons/material/run.svg,sha256=QFxi0N4KEkMo4rDoOC4kAKhtbwyzWiqXzkzLvPCZcrA,347 +material/templates/.icons/material/rv-truck.svg,sha256=0hR_ar5UYCURfoBQgqKm83hwsA6xBlL41K9D2OKFMoQ,313 +material/templates/.icons/material/sack-outline.svg,sha256=nqLakV4vTymGg1iam886-0tetAsC3nG0WIR2yZJsUU4,491 +material/templates/.icons/material/sack-percent.svg,sha256=Nk4_9juJLkgJF8zDC7CynYEW5ngDujPuyXc6D6C0g1w,382 +material/templates/.icons/material/sack.svg,sha256=FRrnwQLuUB1wUf1LkU98iVKZAAlJKGIvKRHAkbwZNcM,157 +material/templates/.icons/material/safe-square-outline.svg,sha256=67BrkQe6anFax-GRv7xGbetn8KaxHELtJ1wZk4ahieE,525 +material/templates/.icons/material/safe-square.svg,sha256=mcHk0gImQtuDlxDK-sQk6uX9gNscvNufS7lvhijl9I4,509 +material/templates/.icons/material/safe.svg,sha256=I5Gkpxv4nkXM9ZN7JbsVwThz0ij6LA-X8NnjoYUm32M,335 +material/templates/.icons/material/safety-goggles.svg,sha256=9I3dQSyga0aHhdfqV1Ghuu8OpmlqIANhjW5yx9EAaT0,394 +material/templates/.icons/material/sail-boat-sink.svg,sha256=52Ym5BSG63mhc9xry_ghJtoY8S7Qj_aIB1osOGtRp3o,457 +material/templates/.icons/material/sail-boat.svg,sha256=sX6grmiasCiiZHDqaH4cpiOAhECJKVXw7K5pGo8nv4c,563 +material/templates/.icons/material/sale-outline.svg,sha256=Wg9UhDRAp5exFAAzVNMegKgVTfWUUBgedDaHXlNW-RY,620 +material/templates/.icons/material/sale.svg,sha256=snnpH38JNIFFbcYH9LWameURWeO1t3yao9TZLKk6O3A,486 +material/templates/.icons/material/salesforce.svg,sha256=f5jN91sU84HoJexw6WRcWdGTCbzMk6OnrDTinC5eBFQ,466 +material/templates/.icons/material/sass.svg,sha256=zkv2aKnXRlzLSLdqxoxtoVlgbriRbo1sedlPzo1vL00,992 +material/templates/.icons/material/satellite-uplink.svg,sha256=R4QMOqVK9mr4APRIRrh-JKHegfMXONC5ldJjsIDGxUU,415 +material/templates/.icons/material/satellite-variant.svg,sha256=y7xdZQPlYLzreyS5YZFmXvbgXOmY0G1e7wT4HGA2af0,483 +material/templates/.icons/material/satellite.svg,sha256=2p_2p7lavjiQrKvEMMMSDr0SLiEeFNAEGvSF5s5vDAI,241 +material/templates/.icons/material/sausage-off.svg,sha256=8YFbAtqGK9BKetFfO9TxI2aq6TEqb3hIiLcPKYj9Ke4,336 +material/templates/.icons/material/sausage.svg,sha256=fmj_NuRIuY_OzDO7tyRLT_8XYLt84EMDviO3KUL_RcE,237 +material/templates/.icons/material/saw-blade.svg,sha256=jimsY7QVOfgewXpRy3jt7e6hvYeSO7FMwMyzrgsZ2R0,341 +material/templates/.icons/material/sawtooth-wave.svg,sha256=F7Lt3EvOohe_GPZv_JIVSTJG3AfQBUWoB9LVeSt3IVI,128 +material/templates/.icons/material/saxophone.svg,sha256=cx3tNOhtjn-jUA2Qhd4QditUZCXEliAoofLGl9-0bvQ,346 +material/templates/.icons/material/scale-balance.svg,sha256=nLp_xyMhw2kcIC6ZI-HYtjKIH2WqqKO8DkXq6WO5Bag,423 +material/templates/.icons/material/scale-bathroom.svg,sha256=OQh4MBiTHDZRRveok9Cu5fgA9_z5ty5Qiv6fbbnbPWk,222 +material/templates/.icons/material/scale-off.svg,sha256=4J4NWenIas76Xm6vhsNB7DZgJWD-UyHL-p1aGNQhmik,422 +material/templates/.icons/material/scale-unbalanced.svg,sha256=N4qcq-7tiqgWZoc_RzHEy-9fiYz1d23VTTcGe4pwMQ4,423 +material/templates/.icons/material/scale.svg,sha256=nOh-IDXfYAjo-ldSgTM-Xxmk86rIP_NIGzkAgVHJBK0,455 +material/templates/.icons/material/scan-helper.svg,sha256=XxtrEOf2qIVmjC1e2hS8YkOwztGKsectmx-UNCU54Bw,209 +material/templates/.icons/material/scanner-off.svg,sha256=CUrZDQmyj7_SG_ok-66xJuqOqs1QtSE9mwfopVuJbq0,328 +material/templates/.icons/material/scanner.svg,sha256=KC2TG8J6lkB_EDdEDiw_cvqeBfmyN6CQyX-MIxxvg2c,213 +material/templates/.icons/material/scatter-plot-outline.svg,sha256=zSzIzC34m41jBDgtcXDOHNH_OCJluck1GLf2137h-BQ,455 +material/templates/.icons/material/scatter-plot.svg,sha256=m0SfZFXpYQwh3O7CSkvnTgVMWWZjtS4UyomJMXjN4uU,274 +material/templates/.icons/material/scent-off.svg,sha256=8cI6dXY9vwSDOzdCJAZW5piLI2sEpZOtqAKnuyoCoEk,827 +material/templates/.icons/material/scent.svg,sha256=G6ccBL0tKxUH3QuoV1IK7EGp9TgPKdyUpd2-oF63NtY,744 +material/templates/.icons/material/school-outline.svg,sha256=t8L1rJYu9pE94lcA3hiPWQpgIgxt47EVAD2dOqaYls0,212 +material/templates/.icons/material/school.svg,sha256=65bDS_AR9j8DiWW8vIjwRjuKL4qI72-lO0XVp03pUdE,147 +material/templates/.icons/material/scissors-cutting.svg,sha256=1APNVq7cLprbSg_b7jeN6H18pZiNpQvc5NiScsL4b8w,639 +material/templates/.icons/material/scooter-electric.svg,sha256=5uH-oGrTG7Y6FNm6JY0UDpUV1S5Vy9d7q_mHBKErJbo,490 +material/templates/.icons/material/scooter.svg,sha256=sE3lsf7pOhf-Wjhhi0CGVJsHQeIPW4Zb1bRbccaE_O0,467 +material/templates/.icons/material/scoreboard-outline.svg,sha256=Dyb08MdJ5uDOdX-G9QhUR7AK6AL2N36c_lav3c56SLM,416 +material/templates/.icons/material/scoreboard.svg,sha256=rPB9yrpgoQpinkJW6fF8m-UV6rGPYHWYoFUtpKeJOik,410 +material/templates/.icons/material/screen-rotation-lock.svg,sha256=2ncWWn0scIegU6UuZpepclCgzZoZ_jjbyXGDqIpXQBA,564 +material/templates/.icons/material/screen-rotation.svg,sha256=gqJb2rvyropoO5m_cjRTSqZF8RwdmwFmIP5qGEub2wk,443 +material/templates/.icons/material/screw-flat-top.svg,sha256=JVkCbrVaLKUgPjDkN1_a1KPaTNNNcW8aloeMmviulGg,250 +material/templates/.icons/material/screw-lag.svg,sha256=75XAdzmSuFq_o0YiGsY72d6Is2tRdnOdrF5W1VQuD78,210 +material/templates/.icons/material/screw-machine-flat-top.svg,sha256=DZFPScWr2B7fSoQAGs7AufkTeWJbTgUClUmv0iFonvE,245 +material/templates/.icons/material/screw-machine-round-top.svg,sha256=6hEyHkY-8XWvykVLPZeGO4TAy3ZyRDIlB90ucRlyZyY,237 +material/templates/.icons/material/screw-round-top.svg,sha256=P7qia5qLZuwP2_SqlnkR9TNAinOFUr4BBXSnfdpHIrs,242 +material/templates/.icons/material/screwdriver.svg,sha256=GOkM1jVl5uV3guekBZZQ8QkG6n0SHrRiR__Jk3VlnbY,246 +material/templates/.icons/material/script-outline.svg,sha256=ATlE2mVTiJk50N1ISVHGM-jsMV9ShvcgdGCa2KloeK8,243 +material/templates/.icons/material/script-text-key-outline.svg,sha256=jqqYiiEtFM53TfPranm1VQ2Zj6pxWnvSs3PhcvV3id0,477 +material/templates/.icons/material/script-text-key.svg,sha256=-JgdZcMqqHRKQOo4lp5HgbKK-0tA9Lws_tZJ7TioIs8,438 +material/templates/.icons/material/script-text-outline.svg,sha256=kRSXiEh4NIkoD0Ls9qAaQSgk16ZH6YVyJgNszk04Egc,281 +material/templates/.icons/material/script-text-play-outline.svg,sha256=8zDUzR2SIJwruqzX-HwSevdkriejsMQeg2q_OFG9tIQ,313 +material/templates/.icons/material/script-text-play.svg,sha256=ETmJR0kwN4Sn95ZR_H3jvCIsHt_1PXYJvLS9xdkwYJ8,286 +material/templates/.icons/material/script-text.svg,sha256=yDA6-mARDJH24AoRuh2M_R3xmIPFOtP4KLfjFrETMJE,280 +material/templates/.icons/material/script.svg,sha256=zsPCl1c_mI7Ma-1n8Xe3wFK5drbYwCqoEzwU7VLXWjI,248 +material/templates/.icons/material/sd.svg,sha256=psKsxE2s9aRI2q1k1UgNJhTVDVazsyr-otro9a2KPEQ,176 +material/templates/.icons/material/seal-variant.svg,sha256=bHx6pdDrlzI1sq7kx3tDuV13imU88P9qEHslTdZl7TI,718 +material/templates/.icons/material/seal.svg,sha256=GQDeUivYRUPXivUmV1sN1TPwqhD-G_hpbT_3-8-erpE,326 +material/templates/.icons/material/search-web.svg,sha256=4bzMTtMOhMZnYXwiUHEVPqJsJnu8KjrJWYbgexkbEe8,885 +material/templates/.icons/material/seat-flat-angled.svg,sha256=yBnTbTbR1N9u9eOHzFQQaGWS6m4vmHvxRqapZqbhnjo,317 +material/templates/.icons/material/seat-flat.svg,sha256=-yL6he1xnh_wF5owFfNHluyMOh4HAA6gznv3jQB3ZBU,244 +material/templates/.icons/material/seat-individual-suite.svg,sha256=gHkUEpXODu74T2OUIcevlaKqQitJqRyonnUIpWE_q0c,179 +material/templates/.icons/material/seat-legroom-extra.svg,sha256=Pk9ZUu_VGNiclmRn5Jo1PG6Anv2oRGpJPURAVGN8jhA,270 +material/templates/.icons/material/seat-legroom-normal.svg,sha256=i6Pt4-HVVdSSuMaoiwCDYoElQ72ljL6dvsN4kDRd-8Y,227 +material/templates/.icons/material/seat-legroom-reduced.svg,sha256=lmb3le3EJms38P8d3c1jwVZ7xEDMIz-OodpygTxFtu0,240 +material/templates/.icons/material/seat-outline.svg,sha256=eOAy-AwcupQgDF8g3Ir4HWEamYT22Jhc8U8UFO47gp0,185 +material/templates/.icons/material/seat-passenger.svg,sha256=yf1nOfROtCx58qVW-P68oQJ3QQQk8EGWFwdDKjBV1Z0,333 +material/templates/.icons/material/seat-recline-extra.svg,sha256=Gn6DnZQ2RbZ2fbQqSWkRm1Yy7bxv5tzFL0uiNrJhn_Q,495 +material/templates/.icons/material/seat-recline-normal.svg,sha256=BPmQm7mdealQhEk-WeXm27xcc7c_LDb9sxWggOX7rqk,423 +material/templates/.icons/material/seat.svg,sha256=V5YiGYyHr6wumG-GOOqUpIJeF-7owsnm8-N7eV2TvBQ,175 +material/templates/.icons/material/seatbelt.svg,sha256=8GiuWGPsUxkUcrJqvF0qmqE0ioSmdpyX6h_UK4vFjkU,745 +material/templates/.icons/material/security-network.svg,sha256=EHsTp61scBMxGRPVyD3W4AiqBdWDtY-j4ShTZpqEbTE,286 +material/templates/.icons/material/security.svg,sha256=05LDi88su8P8yvEsnFCLQVBSPxEcsCevW5yDVvGDTfE,193 +material/templates/.icons/material/seed-off-outline.svg,sha256=mBU4UMtBvxoVt7vb9DXhWU4-yZh52pJBlOMshaxcXqA,496 +material/templates/.icons/material/seed-off.svg,sha256=xDaiPpoKFl7ewdJ2B9lQ7XiaB0UWFNmX-0xyWNk-aeI,356 +material/templates/.icons/material/seed-outline.svg,sha256=fEF5Q1JxqmSRV5QlnrL1qbWaJeFr4tWzPzMFdEl1KDY,315 +material/templates/.icons/material/seed-plus-outline.svg,sha256=QNNpwIja15I5bL8g-4k1IPvGJJbA7flTI1FhApPGCzw,415 +material/templates/.icons/material/seed-plus.svg,sha256=ykE6lNKDl-AZryT36EiE_0J8HkQgSrN6kUZ13PDUJQk,320 +material/templates/.icons/material/seed.svg,sha256=Mo0EarAg9yqQNs898-zhIlWZtRE9w00IyHwWkpQH8zY,198 +material/templates/.icons/material/seesaw.svg,sha256=VaelECZRsvcD0mkZz6B6LBaJgnLmnfX3hU_Ex-vYQLo,311 +material/templates/.icons/material/segment.svg,sha256=ItmtfZ8SuB4cdA1Gm8MYiKTkANHqndAtwZRTTmO3Xho,115 +material/templates/.icons/material/select-all.svg,sha256=GO6sJ0qInZ_lEYey4AtpJtmENp91LJDTSvo7rm1yfLk,332 +material/templates/.icons/material/select-arrow-down.svg,sha256=UvZC82CzwIAzcIdnl1tr96Ez3ucXcxBM6Kx9abHzTEM,326 +material/templates/.icons/material/select-arrow-up.svg,sha256=TVMySyyezWFeJviUDY7qLqgKGi6BD18Aby2luSLMrf8,323 +material/templates/.icons/material/select-color.svg,sha256=n0oFMLIEHP5PLdIdO4DjGnx0We0gsjraHLZ1mhsV4eg,501 +material/templates/.icons/material/select-compare.svg,sha256=-bepNV_kavIEwdJ6naWjUCak6JAd2JSwd9QY9szG12w,272 +material/templates/.icons/material/select-drag.svg,sha256=FmJ4y-CtBPFuMUO7Lj157AD9tN3F2zs2GbyAqBIoqbQ,234 +material/templates/.icons/material/select-group.svg,sha256=0V1U9UGDr65bFGWtcu9AgOJys7Xee3OZJW_UWSkMA7w,337 +material/templates/.icons/material/select-inverse.svg,sha256=0j-L0oxxAAB4E7kUptpyMouvhavNwWOgS8hTc2JSYts,219 +material/templates/.icons/material/select-marker.svg,sha256=Z-9VlLTDLmqt0KzY5O4DUBZsaH2qlg34-UDiTHk6xWw,458 +material/templates/.icons/material/select-multiple-marker.svg,sha256=IMdWyh6ssY0lbBbEIg9M-mOmGR1lVxOByfYnfsi7wBk,477 +material/templates/.icons/material/select-multiple.svg,sha256=IQGUrM3ek2FLQYZwnqRYgnfwYKURFYjUBf75EqbupBY,379 +material/templates/.icons/material/select-off.svg,sha256=axmIWrsh6NGTRryCx6kNGMEAIcSXRIYuMXfSSRmuhms,353 +material/templates/.icons/material/select-place.svg,sha256=Mr13pqpwhzb5sxbWGzN9KBWmZgFxmyye031ir2bF2xI,315 +material/templates/.icons/material/select-remove.svg,sha256=-BrPTsYrNDBCCCbJFUwRcblWL4SFUgTnkzwPGnzgEjI,475 +material/templates/.icons/material/select-search.svg,sha256=iotuOBNtAEGtBtKBsHMchuxtpIje6l4FpWnAdR50MRA,498 +material/templates/.icons/material/select.svg,sha256=9EOD0clxdDJzy3yMsbnA41tOSwvzoOtbeP5W2oz7WlA,359 +material/templates/.icons/material/selection-drag.svg,sha256=Vf6M4rO0w-X5VovIXHxBZwnetmQVU2LnAxUsmNTCq8Y,221 +material/templates/.icons/material/selection-ellipse-arrow-inside.svg,sha256=vigxL3bbY8Bub-qyuQXFxVcsE1ujn_cNHxenC_9gjjY,556 +material/templates/.icons/material/selection-ellipse-remove.svg,sha256=G_3jewoRl6IyCuGbPGW2xb_S5UbTdfDbkBoX1rJLu60,851 +material/templates/.icons/material/selection-ellipse.svg,sha256=_0UCju8OEXuNU-NlRJICJEdT4bDD1O9G3TwAoPF7a5U,745 +material/templates/.icons/material/selection-marker.svg,sha256=wFwpaugnyVnNj9hRfhz23QOkvheqYVVMR6ptGGVgZoM,426 +material/templates/.icons/material/selection-multiple-marker.svg,sha256=Z0dVs1F9cAxLtVRuruNCLVP2j81HOIQRkogrwpgLITM,508 +material/templates/.icons/material/selection-multiple.svg,sha256=tIt-Nbm-H0ZOggOJMrAV68bAllEc17s0BWmFPEpU3rc,330 +material/templates/.icons/material/selection-off.svg,sha256=DsDqAalXHum_EG0KLoC8n69bTDaowWAuVa-zSrbcDcc,327 +material/templates/.icons/material/selection-remove.svg,sha256=W7mPOj0m1dKqCEbRKqu5ICD40XoEv-iM_krL3Iabo9c,378 +material/templates/.icons/material/selection-search.svg,sha256=xS5B341c4bA7eivTkDqXgmqGUx9FZ1sy2XQ-G3lWyhQ,500 +material/templates/.icons/material/selection.svg,sha256=tDBLD_mR273E7fECLBS4Z4vFrsIkzCTXTW72eCO6zoE,268 +material/templates/.icons/material/semantic-web.svg,sha256=7gZDQP3ixXHU2tlV6ZmZNz-OzneouwZS9cWvSrF8xlI,260 +material/templates/.icons/material/send-check-outline.svg,sha256=ItHdTLjbLPyA7f_f0WOwbxzP8hf4Pi0jA7WdPoDjm0c,189 +material/templates/.icons/material/send-check.svg,sha256=3UIJXbvUFlcsyywFZrgZGxnx-BV_AQVcASgXKbnPfvI,142 +material/templates/.icons/material/send-circle-outline.svg,sha256=cpxwE5isZkOfpMY_S5AWvSdoAjJN1Py8_SxPVCtLfpk,263 +material/templates/.icons/material/send-circle.svg,sha256=gnZPtgVGoVsFRi94-f_ZAQx7mONsFiC3yeUYlnORt8A,200 +material/templates/.icons/material/send-clock-outline.svg,sha256=b94JxCT8AeYWCgzJ9y_KPlSgFnxG5fhzUKtv52ABkd4,350 +material/templates/.icons/material/send-clock.svg,sha256=B2A4ID42qoGxk_RWBTy_4C3sxbEIaoPSlRH2w0sP2Hg,253 +material/templates/.icons/material/send-lock-outline.svg,sha256=ERkXOeSQ0ohOVBbGX1t7eseZwHqzI0tla7TY8IbUI1E,315 +material/templates/.icons/material/send-lock.svg,sha256=_HrYT0rRQ-cnsXaosL6yifX5Qjrp47KvciFvsnyT28Y,287 +material/templates/.icons/material/send-outline.svg,sha256=0veNilIwvifTWrwkbGFxbPnt4hghChx4-3tJtP_D89s,162 +material/templates/.icons/material/send-variant-clock-outline.svg,sha256=H4unhaBOlhDGJijHSHoclqFGRdGB1edIhTRFYMmlE_4,611 +material/templates/.icons/material/send-variant-clock.svg,sha256=1r_wyqhKEhQTkvRqDSG-YY6iUwjpTpuftCQIB1LJgEo,533 +material/templates/.icons/material/send-variant-outline.svg,sha256=hWZOzWzIBmd5u3BaIGEFwuGudMnNMNZuTAW-ZThSjkE,135 +material/templates/.icons/material/send-variant.svg,sha256=NHg4ST5hI-75V5mTyAsGXaWuBW_IgsHjd-P9Wwf7eN0,102 +material/templates/.icons/material/send.svg,sha256=t-_SDXRbcIYVk4tOgaJC_4zR5B-1Bqyzfvy8rjSO8Ag,107 +material/templates/.icons/material/serial-port.svg,sha256=rZUINzGAeyQWNEVFiIl6pVQgAHFj-SllKt7vV_Zu520,150 +material/templates/.icons/material/server-minus-outline.svg,sha256=B40k4cVyxNQWmih7tyzi9nHWDXiJLKms5zYQQawcqwc,233 +material/templates/.icons/material/server-minus.svg,sha256=Sz8C-FN0z42eoLgNcXLs3EoJBt03CF7sajRyLcoNBE8,186 +material/templates/.icons/material/server-network-off.svg,sha256=fbGpQkBITMv-j1Lt4gtgsLa5-fxnk2VfxzccgFGOaYY,464 +material/templates/.icons/material/server-network-outline.svg,sha256=Ctde8BSgv02ovgSgc8-Xt7IgderHVQCJYupiSLdZp7E,304 +material/templates/.icons/material/server-network.svg,sha256=xkqnk9ph9taLUv_v3t7rjt842amcNoRMbW9dHi7Fd_U,355 +material/templates/.icons/material/server-off.svg,sha256=LeQDEXZVQClpgNlH_AvoPgqJSFSERdqLU4vXLue8wD4,482 +material/templates/.icons/material/server-outline.svg,sha256=EzSwOj47wkhUZYiMKgFG_i5AyeTUOtVaTwch3vc0ZBE,367 +material/templates/.icons/material/server-plus-outline.svg,sha256=sen22FvsIjB97bYVLAN5Ri0MQyOB7xy3cea44MYhA2U,253 +material/templates/.icons/material/server-plus.svg,sha256=8OqjgybmhyeKswK5loGMdhDxUtsfVSsYbQvYZxg6cCQ,206 +material/templates/.icons/material/server-remove.svg,sha256=xhRHYjJJIgI2g8J5hp9RJU-wHnZZAx9_fC_kVWv8Vt8,284 +material/templates/.icons/material/server-security.svg,sha256=PyVM_uBiYj2Dq8sC1AYPLNPP36MRDbiBO6MC4DGMwQ4,489 +material/templates/.icons/material/server.svg,sha256=C8Dr5Jp7c4aR3YQtL1PqGHQOrcxtyAgv-emgzyJG_-Q,364 +material/templates/.icons/material/set-all.svg,sha256=-77m4AlIxyirwIqPFYaVu19aJlY_kKw8xBkPyLzioZs,470 +material/templates/.icons/material/set-center-right.svg,sha256=JGyQTHMYFgscBHu-XDCb7vHv4ZfDoZXaBdyd2ESvkVg,440 +material/templates/.icons/material/set-center.svg,sha256=Alnokk63NFD15HFZY9zizqAgGH_-lO_5WT0uR6LHRT8,459 +material/templates/.icons/material/set-left-center.svg,sha256=zBh0gKqTNodTgOiuUnMIlaTabn3Q6jytV9uYJutg2ck,437 +material/templates/.icons/material/set-left-right.svg,sha256=qZ7WuKlj0bZyIWydZqL9pBH1MtHhoCUF9yog1yZwqN0,316 +material/templates/.icons/material/set-left.svg,sha256=9C20clPB2XzUwzVyrgVrh4VsL8O66VMbYas8XbWoLIc,427 +material/templates/.icons/material/set-merge.svg,sha256=jO-UtNAEvjN3xdweMgV8v1KRVT89xphfUh1QflIzg0A,154 +material/templates/.icons/material/set-none.svg,sha256=M01BsNoYXwJX7Wv4yT_lTfIK_EMWsNiatHHEEPL3iRI,542 +material/templates/.icons/material/set-right.svg,sha256=kx0a3vrvCpK6Mq7O25Cgy6vrYi8t8a_VL9DJvDq-W3M,398 +material/templates/.icons/material/set-split.svg,sha256=UQzQqFrBtn-o1P33U_NilgN9OQCQnOG1yHn4Nuh8ngA,156 +material/templates/.icons/material/set-square.svg,sha256=1SjHyzP3-N6dATdnKWXZB8JE-28DXZquC1XBbqY3O-U,255 +material/templates/.icons/material/set-top-box.svg,sha256=YiQ-kEGmmihHIaz-jCYz6xs-pabnVGzs6r2KgD__Q0U,332 +material/templates/.icons/material/settings-helper.svg,sha256=8NZoi3KIose587Hj_70kkNocYc3eNHTq8Pl1QSCQ1Y4,121 +material/templates/.icons/material/shaker-outline.svg,sha256=RQkmb06bnioyhDYUHVXXwYS6CDlITS-mzcnW0g-sgcI,534 +material/templates/.icons/material/shaker.svg,sha256=DE3gBB9kCplplgBK0op2GRaCVWWcW5MCh9NclD1m23s,468 +material/templates/.icons/material/shape-circle-plus.svg,sha256=9UITyVnhDPoHCHME04jOhVIn8OvfopAuosnwmQAyfCA,205 +material/templates/.icons/material/shape-outline.svg,sha256=KQ-CRy3vzJwUz4pcr5pxfRNhycgXUqQ9tpOhFdQ0IAs,320 +material/templates/.icons/material/shape-oval-plus.svg,sha256=Rtr5gDSDGjpm5wR90koZ1busacfLQDP0QTRJgqEJeOI,249 +material/templates/.icons/material/shape-plus-outline.svg,sha256=LL7nEYG5l2oMGrfRZ1bpPFlQKF4DB8PKojPDogpLKcI,305 +material/templates/.icons/material/shape-plus.svg,sha256=jQ0B84Q5MzBgWALE-N7z70Q-jEA3ZYUdpqqmG0hsvHI,210 +material/templates/.icons/material/shape-polygon-plus.svg,sha256=I_Fdf6XRWoexrdC2iHAJAenmlqZL2qOHajp-HLKtIp0,168 +material/templates/.icons/material/shape-rectangle-plus.svg,sha256=SJG049vhyfAPf9Xlr19UzqMP6vMLvDGOoIkoBuAceLk,139 +material/templates/.icons/material/shape-square-plus.svg,sha256=ZigilgbdHfqBuayH9WwzT0J8oAZBuhnWZ8UMfgcHD3Q,140 +material/templates/.icons/material/shape-square-rounded-plus.svg,sha256=8PaZhjEnxWRakIWTZZMxIx1Loud7a4zaeODCUMXa4xI,238 +material/templates/.icons/material/shape.svg,sha256=4PsQfHIYrnjD1VB4gO2-gcXBWTs1nI1eCBqcEnieTMU,185 +material/templates/.icons/material/share-all-outline.svg,sha256=o7-EgsQkGhaKhkGMAx7SojNVCGR9HnhjuLLPaKNSF20,234 +material/templates/.icons/material/share-all.svg,sha256=h2k4f2VNDIT9uoIfuKZPQuM4MS3ZKuD_ci5LHfSM7g4,159 +material/templates/.icons/material/share-circle.svg,sha256=WAOgeJqe2gSbD3LSS_MmYLbDXJ6oSZRXormYm9RcYNc,202 +material/templates/.icons/material/share-off-outline.svg,sha256=uqFTcKOItTMKgmYb94TeY9Xs9Upep1zs8QyHg5mZNSo,280 +material/templates/.icons/material/share-off.svg,sha256=-Mei2wGrlWqNaqiDQ8kQFiGHtYswn6GcIQrs2alccX4,214 +material/templates/.icons/material/share-outline.svg,sha256=lFUPvD0nyNpskF8IgfW_BSmEdgRBZPLWIJewmGMfxIk,231 +material/templates/.icons/material/share-variant-outline.svg,sha256=BiarGAfD-IDRqKEZoY_LokHnX8yvlspuNnoUGDZ8Z9k,584 +material/templates/.icons/material/share-variant.svg,sha256=I8Z7ZACmDlmPtw1zYJKMjyAe19TIzrdB0THySvCbDUU,444 +material/templates/.icons/material/share.svg,sha256=kxlHKvXDp55ydCpuPtWYmA5DeBFuNUc-cYwZPsMH1ao,134 +material/templates/.icons/material/shark-fin-outline.svg,sha256=JPXP1Dn-SeWjStL2WbiWBZo6Lv-NLbp9oqxYConGHN0,558 +material/templates/.icons/material/shark-fin.svg,sha256=v0gBNdm_6mQ2zXyEe74eeraLZ-qJzvlN4XJRdWzYK3k,570 +material/templates/.icons/material/shark-off.svg,sha256=ZcU9wL1iG5kxOMG71NsiM36AHiLCsHLKYUOXqVbJ1l0,573 +material/templates/.icons/material/shark.svg,sha256=ASWGdShzrsvnfSrD1XjLgRsNObcNGVGqBZbaoT0xyUA,505 +material/templates/.icons/material/sheep.svg,sha256=ayOpLbD2i5QLNWaYy9eGpatxRdW3UHdBnwrcSLVG6xM,1052 +material/templates/.icons/material/shield-account-outline.svg,sha256=YEFyQNekZG0lw4Ir40vLMmgi66ku7dBYJMnx1OrDC-o,564 +material/templates/.icons/material/shield-account-variant-outline.svg,sha256=btVshQp49YEvSWab0wikZxScBCpfdvX0sHQ5RN3gi6Q,508 +material/templates/.icons/material/shield-account-variant.svg,sha256=34NeMHOSaMGacn8fa4sajBKE8AIT_5ieUZpafGwmWQg,409 +material/templates/.icons/material/shield-account.svg,sha256=-9qdmMoZJrdHuSHXgcOg_jNeZDdiBpDXdbjDOMPHYHg,337 +material/templates/.icons/material/shield-airplane-outline.svg,sha256=jX_C28mHR1bhhR8ZIp0r4O2a_hNAi8GUVaPyao17Jy8,374 +material/templates/.icons/material/shield-airplane.svg,sha256=nUK8R-MdE_b-uG3BPyAADXZi2kSaf7G04ar9CeVtxPs,301 +material/templates/.icons/material/shield-alert-outline.svg,sha256=y1iOve9KiTelc43Oxi60OWh1ViOX2TrSAsjrdy66sBA,242 +material/templates/.icons/material/shield-alert.svg,sha256=GFvuzHtSowpFOBwHNqYLfvtti1cCbIo7S7qdxPSffwo,159 +material/templates/.icons/material/shield-bug-outline.svg,sha256=c4Af8RYjVhX5UTSyY7RpHp1CW2NbFpaCB5VqO1BdeX4,429 +material/templates/.icons/material/shield-bug.svg,sha256=oJuCgrSbYrjchLSLN6w2It9j0O53R8K8BuqAokP34Ac,363 +material/templates/.icons/material/shield-car.svg,sha256=-TuB7zMtG4dzCHtPTM8ik-KCPAWXGnujxlXTumHLCsQ,411 +material/templates/.icons/material/shield-check-outline.svg,sha256=cIjr0kaY0RrBDycGslLp4WY_RNLzIjPpL4G0saF70vw,256 +material/templates/.icons/material/shield-check.svg,sha256=2_LImRXBFs7bgIs_6hXjE-dmhuQYAMfSp8nXaLOrWpQ,186 +material/templates/.icons/material/shield-cross-outline.svg,sha256=h911KW2svBGVLJIE8IGa0kidNuu7OPPL2L30bJ2L6Sc,233 +material/templates/.icons/material/shield-cross.svg,sha256=wH0SNgcD7iNSp80ZGcfr7hNaKto5_XnzjluEakJAbtc,167 +material/templates/.icons/material/shield-crown-outline.svg,sha256=3IWbrG_j1PUyt0LGV2zjfWaXCGvJo0ebSEqZT90EogE,329 +material/templates/.icons/material/shield-crown.svg,sha256=vCYpyu6SWbQzaFjRlY_VoarDWm1t0PxALdRlvtL-OYs,245 +material/templates/.icons/material/shield-edit-outline.svg,sha256=Sp6nTdZByXjSDz7orOeQHLUwUCBl5m8zj37o3_Ghtpw,288 +material/templates/.icons/material/shield-edit.svg,sha256=USnB65se3J9eybHr6GZIyEN_kHOj3xY7mJZwr1xtOJE,233 +material/templates/.icons/material/shield-half-full.svg,sha256=GshDH4muAEiyqPXYik82uBxM5mvCYQv-_aXPteXr9iE,184 +material/templates/.icons/material/shield-half.svg,sha256=k1jRQIDUKQVWHpF-uxjrfRPT1ay3It6WQ8MzsfaC-5E,112 +material/templates/.icons/material/shield-home-outline.svg,sha256=HZtBmU_LrnMGW9HweioxphT7tUCwx_-krswRTDzdHvA,247 +material/templates/.icons/material/shield-home.svg,sha256=dzTDGfbrTwP_1aq0r8D07CW5fga8vjgbwwQ-rBUlU58,176 +material/templates/.icons/material/shield-key-outline.svg,sha256=6NjiAPu7x2RLQGyjZawtR6bOzD9oZPXbNHg4iRSm5Aw,371 +material/templates/.icons/material/shield-key.svg,sha256=KCeqoObCDspy4QRjfUz-38MwiNregmq-6XB6lsjtEZU,301 +material/templates/.icons/material/shield-link-variant-outline.svg,sha256=LBVU4FSqbq5kOogmg-cLNQyh1emZIy_s-3bWiFy6_WA,943 +material/templates/.icons/material/shield-link-variant.svg,sha256=B7HOdCdSZsk9ld96o30g3JdO7cm9x8TJoaQtPA_4pyk,865 +material/templates/.icons/material/shield-lock-open-outline.svg,sha256=ZieV6RshI8SzkSba-HQ41Eqs-dLi1gLfbbVN5rF7Rpw,392 +material/templates/.icons/material/shield-lock-open.svg,sha256=r-Za-izLVyxtlhWgaR8kocwUU90U3Fl8PuGc8SuSVlg,328 +material/templates/.icons/material/shield-lock-outline.svg,sha256=icyTO3fX2Z7WGoC_Ra0Zov7pmswu4WLqrv1G_xDEfw0,407 +material/templates/.icons/material/shield-lock.svg,sha256=d4JlAX9MNLTYjmDBh-LqugeQcCb_tkW_dw5m35QUi3w,342 +material/templates/.icons/material/shield-moon-outline.svg,sha256=hc02CmfgTwAFeBN5wifml-izd7rpKHSc4sRwHlCLhgc,374 +material/templates/.icons/material/shield-moon.svg,sha256=BxS829rOz5gMEpGFb7CkkJGWkzO6a4jlXGEgmDVNRuk,300 +material/templates/.icons/material/shield-off-outline.svg,sha256=kKcgSdYp9Zi88HI9MBu5UdY_YJTtET5hSei0hO6X7DY,365 +material/templates/.icons/material/shield-off.svg,sha256=GAsV6dOe404W5dhX5e6gM12VdTv1g04mZ6SD3EAsk50,235 +material/templates/.icons/material/shield-outline.svg,sha256=EeNIfVgU5nke931LWZm8R8Y5G3-vDuG9AUAQBgedV6A,214 +material/templates/.icons/material/shield-plus-outline.svg,sha256=1fYm8TybX569gCsi7P8xM1Yf_p0HuBiCJl78M0OLq38,304 +material/templates/.icons/material/shield-plus.svg,sha256=H2W7XAZoSu1ujgiGZk6gYFhE4O1jtZ8QFeF8CitWM8o,245 +material/templates/.icons/material/shield-refresh-outline.svg,sha256=9kWS6IZfLde95FmzbQKiw9tWhBLOgMiey9ribep00vg,398 +material/templates/.icons/material/shield-refresh.svg,sha256=RtWiwmDVkojUZ-U9P_hqw2LgAOqOv_WrENsOv__9f1g,382 +material/templates/.icons/material/shield-remove-outline.svg,sha256=y3vQQUUrAZ-HBRF1jg07JID0p2HMRa9iBZ6RtnWazPo,394 +material/templates/.icons/material/shield-remove.svg,sha256=OcqzNbdKSHAuNxK_PL9Yb76GAHqhgF1C4WQQSi9qsTU,333 +material/templates/.icons/material/shield-search.svg,sha256=_ALUQ1G5JeNyjeaOz3DQl7bYtw2Tq1PuGNE0DhNi5PE,379 +material/templates/.icons/material/shield-star-outline.svg,sha256=8lbyR8wx6MDyDxwbSzC1qTkC2uLqGzv8ylwVZXfLojE,305 +material/templates/.icons/material/shield-star.svg,sha256=PjvpGIq5shll0KKgTJ1u7tOEzhR5TT12EyknpYoFfxU,237 +material/templates/.icons/material/shield-sun-outline.svg,sha256=yucQeL6Rta7w5mdxXSXMDX-rlYrSV5Py8oRWZaHVauc,697 +material/templates/.icons/material/shield-sun.svg,sha256=nFL6yE4W3WwbkoZMXGM17xg2pAQwJUIUUb6YzYdWs94,624 +material/templates/.icons/material/shield-sword-outline.svg,sha256=k8wmCc5FQT3zQCBkcXYlIg5X04uUAzgexqkup5sL6Ig,253 +material/templates/.icons/material/shield-sword.svg,sha256=TlNvdNwiOGZ1100pfHk8fPce-QclkzIKoiuZ__HqUQU,188 +material/templates/.icons/material/shield-sync-outline.svg,sha256=ZAZNwWVHn0uKH4U3JMvqkeSBXcp1u2cVkv863tJ3atc,415 +material/templates/.icons/material/shield-sync.svg,sha256=sGKpl7Uc8G4_5RviwxYjRkGiXsdJEKz41vQfjdfZlEw,396 +material/templates/.icons/material/shield.svg,sha256=6Lp7DV8UPFrybN6jHgA9FnHn0m2VhBHLDGAVVuHQLwc,142 +material/templates/.icons/material/shimmer.svg,sha256=7qddVhK0Zlqo5G86ywKkiDnhaEw3w_m_TrxIQync_lc,247 +material/templates/.icons/material/ship-wheel.svg,sha256=NlayAp8noTj8t1gmuJt66puxUNBwEH9brRdycsarzPc,1123 +material/templates/.icons/material/shipping-pallet.svg,sha256=NgDGXhG3q60LU04bPM99czxFKb05-EHnb5RYJTK64B0,161 +material/templates/.icons/material/shoe-ballet.svg,sha256=gf4Q79NdhrNJUOQA5wZF26UrnaW74hCQDtaJft0g7d4,797 +material/templates/.icons/material/shoe-cleat.svg,sha256=BlE9lE5crTNuV9fIxzJ2CBvIzTOBpb0Nrs6QLHEu50I,632 +material/templates/.icons/material/shoe-formal.svg,sha256=E5-IIVivvMBVHCWtw8Pd4vIQn1O--vzrF7gkZrenEz4,173 +material/templates/.icons/material/shoe-heel.svg,sha256=32o2LL53jcjyZWNuJVlo4kikcvXc47KNwrF8RKjjzPM,143 +material/templates/.icons/material/shoe-print.svg,sha256=64iSPBBaP4HPC61NhozFqFdiheoYgMPyhP8o614Spc0,473 +material/templates/.icons/material/shoe-sneaker.svg,sha256=eVdczlATP71K2SRK330VYx-ImRQypEndzuANaASi_bQ,565 +material/templates/.icons/material/shopping-music.svg,sha256=g7BI7l-XI1rXIa6zanWMY2gmWoPZSzCgkEPwvpHWpHc,233 +material/templates/.icons/material/shopping-outline.svg,sha256=SutrSDDFeEUeZeurV340-lzwFS8hYhLc6aKh3bow4JA,306 +material/templates/.icons/material/shopping-search-outline.svg,sha256=J79eLQeYSdpCs-eQy5jrRJn1tC4nXnEqomSVRG48aNU,602 +material/templates/.icons/material/shopping-search.svg,sha256=-dIv14hc1_fG-3SrDQgplZScKfwEBKqPCrLukV02YNY,441 +material/templates/.icons/material/shopping.svg,sha256=dPgafVzenfB0b3VdVdsmC5uJmpMGT2IfhSdTLzJhI3k,285 +material/templates/.icons/material/shore.svg,sha256=Gxw90jk5X0DlFV_Q_ZNcwGIdxR8fzT5fMvf014-4QXQ,354 +material/templates/.icons/material/shovel-off.svg,sha256=w-TfQjnLadgQvcT0jgPfSjcyim084O7MWWP0JYaZTPA,403 +material/templates/.icons/material/shovel.svg,sha256=ZGjbuOTe-n5mEvIZKaUh0UgBGlyP2pjg7F9zw1iUMx0,348 +material/templates/.icons/material/shower-head.svg,sha256=-X2UZ3SGbmeLt9hqb4ehN5PQLYy6XqVFGFj4JJWSQxw,892 +material/templates/.icons/material/shower.svg,sha256=3QKh2voWCnZ9PfH4MjTnJlX5Bfz8Qv9kdx5nq6ylb9M,342 +material/templates/.icons/material/shredder.svg,sha256=MbROIaxS9KOIGEJtXNRQ1Wi7MGMQ99p4GpAFQDRVokg,253 +material/templates/.icons/material/shuffle-disabled.svg,sha256=5t_cAu06TBS8D5Q-xQa12kGj2ZmGWX4ykjieqH7w-8c,135 +material/templates/.icons/material/shuffle-variant.svg,sha256=eEEXK-_31Z8MmzK7DSFEHykK_Ohlv1u65QwPhfVWS6Y,225 +material/templates/.icons/material/shuffle.svg,sha256=cHbBeVfWKudXjYreTY_7LJsdQRPImhe3WAe2K7bGP9c,246 +material/templates/.icons/material/shuriken.svg,sha256=V-KFMQBvbUxdfL4pJ74bS-WTjSS1MvCKznGRIy9H8sY,229 +material/templates/.icons/material/sickle.svg,sha256=k4V7jmGze30remi9i6oIITcF0xpLrFXZWyhNK0wRHcI,219 +material/templates/.icons/material/sigma-lower.svg,sha256=1R_tapfEDN_pQWGSVKjSsCAglWVfY88qTj4pf2jEAC8,241 +material/templates/.icons/material/sigma.svg,sha256=2HYSk13bQyP33TikCW35s0XZBfitw-F8UMV9Tx98-Ps,122 +material/templates/.icons/material/sign-caution.svg,sha256=SRqbF02VpKD67B6ugXK8bXXlrZv9jFCd83RsN5H1ORA,228 +material/templates/.icons/material/sign-direction-minus.svg,sha256=ylO9KaLih1NWNPgILgVVwVxSe91iKi4NtOW74sTFTmg,164 +material/templates/.icons/material/sign-direction-plus.svg,sha256=-Q95aSP7xt0_xmeywACRjgIk8t1MIQh8ldEuh-W_dTc,209 +material/templates/.icons/material/sign-direction-remove.svg,sha256=9N578PaUiQ-1CK0x4HmiKejonF3nZUf5uM7CUQr8x8E,296 +material/templates/.icons/material/sign-direction.svg,sha256=bU1f9WkEZvlkywIKqhITH9INtqbw6shtpnHx7pYEGM0,170 +material/templates/.icons/material/sign-language-outline.svg,sha256=CnKCiWhcE7Ep6cst-cknaL0oYSeA_HOmKugek5KI_UY,748 +material/templates/.icons/material/sign-language.svg,sha256=Xev28Ou7vr3mFMTM5ZcpaeQ_kn3f4n-kKsHkz7teezY,654 +material/templates/.icons/material/sign-pole.svg,sha256=Grasi6Xb83-HThLR9ICl319oPbrGkwRBr7lGZ3REQnM,127 +material/templates/.icons/material/sign-real-estate.svg,sha256=8QYW0lPZIiJP5uCeGqN5lE9-Q7BeZth8oLOumfVF28s,205 +material/templates/.icons/material/sign-text.svg,sha256=9sj7hwGKQ4VM5Hg72WjC2tbjsNsyCbW-2S_zoIHyeMI,227 +material/templates/.icons/material/sign-yield.svg,sha256=aT2vz8bLrwtsbkS-63Zd1Nd1B6akhQw-DmEIZtG_wLU,230 +material/templates/.icons/material/signal-2g.svg,sha256=m7ZYk70GC4x1dpzJbsvuyM9yZjxwnPdcRnQiWSBJodQ,230 +material/templates/.icons/material/signal-3g.svg,sha256=0io85JZxf122uk703g4Pnnt1Vug0umoKwIpiA3Fb85Y,267 +material/templates/.icons/material/signal-4g.svg,sha256=mJ3HW0xpIFpR2CSS2w039fUXWOuPG44QIyD-WKLr-AY,191 +material/templates/.icons/material/signal-5g.svg,sha256=-idVQ-CWAor2yhXkzNEPwtjJC13PHcRWpIEVwmfexVU,240 +material/templates/.icons/material/signal-cellular-1.svg,sha256=GbT2WUzGBwwBmKSl_aHPHjykTMtC8Qv_LMJoM-SZokg,158 +material/templates/.icons/material/signal-cellular-2.svg,sha256=3UIEHf_WJbNuR5NU2nHR3TqIiia0VlF0cjXyqZ8A5QU,143 +material/templates/.icons/material/signal-cellular-3.svg,sha256=BrtZ6clgo-7H1y3TGz75DPemrRdyEb3rrWTG7am3SC8,122 +material/templates/.icons/material/signal-cellular-outline.svg,sha256=W0zzzHrWP-638gj0rJyvmVeVLQz3TcWuQx9REzjund0,173 +material/templates/.icons/material/signal-distance-variant.svg,sha256=u31EZ78STojCKZk2b6K9vo4iuS1ZsHvYnXo0A191KU0,209 +material/templates/.icons/material/signal-hspa-plus.svg,sha256=SSYrI8v-oESNtm4BGzY6w0QiqGaimVtf8K9kV3ZdkgE,149 +material/templates/.icons/material/signal-hspa.svg,sha256=0rUM2OhTU5_iMZ7oycAsqH2SyvP8DmSqBWIOwVoTRQ4,121 +material/templates/.icons/material/signal-off.svg,sha256=dgvmsXwvBS9B0K1U41BsiqXVxBKf7ZMp5arpchE-bzc,207 +material/templates/.icons/material/signal-variant.svg,sha256=aQp1kSra27dwdY1h5wNO0c9rVbxY_1bS64vy5wuM6e4,245 +material/templates/.icons/material/signal.svg,sha256=PfrXEBIB3L_stQvpWc7Yw7O9WKKc4L95i7JgDNlHYRw,128 +material/templates/.icons/material/signature-freehand.svg,sha256=iANrbv8gySkOCo9kK8dDMXikw--ffZloF4IgHKDpH0U,764 +material/templates/.icons/material/signature-image.svg,sha256=YMvL4axFBa1xyPI7HACi8vpHQjRB3NDatvsy-L7xeog,299 +material/templates/.icons/material/signature-text.svg,sha256=wdUdcWBqMYpBlRELbgwwgbnT7q_obRd3xcChJb1gogs,391 +material/templates/.icons/material/signature.svg,sha256=UGvMbfI6IqhtcDCwwyQEKyVxsHGPe6TRIdZF80lx6EM,223 +material/templates/.icons/material/silo-outline.svg,sha256=U-FIRSfwr_1NXJYqDFzKQmSIdN8OxpUkcTbLcwC-WP0,278 +material/templates/.icons/material/silo.svg,sha256=W-7jfbaKhpfdkpVdwvu4Li47ya5JSAud8dLiv3_Kg18,267 +material/templates/.icons/material/silverware-clean.svg,sha256=1KIjZVMkFQeMr_gSWwT0MGSa82y37hom3SetCufBIeI,489 +material/templates/.icons/material/silverware-fork-knife.svg,sha256=sXhcUr3bPe6ghgnOp7E0sPcyg8d8tI_w_cduNxvuzjQ,209 +material/templates/.icons/material/silverware-fork.svg,sha256=xt-mHTwVmeVI7zOL_OED7cU4qmo1fQNSnt9iZTSGNZQ,270 +material/templates/.icons/material/silverware-spoon.svg,sha256=MdEOn2fqiH9NJ3lq5QRQSCHbKKQwVgOGjhOW3NU5bWE,238 +material/templates/.icons/material/silverware-variant.svg,sha256=EDpPj5tXAoysnhJFNUi10Zin-09tgdHpLfu9szZrLWk,369 +material/templates/.icons/material/silverware.svg,sha256=OxxD0F31DnDStrsOpIWsKF2nnM6jHmxiXhIYFs4GadY,337 +material/templates/.icons/material/sim-alert-outline.svg,sha256=yYCouVyObh84sKsopSOdS81yVzqd0KZbQhtm2SjV-cU,192 +material/templates/.icons/material/sim-alert.svg,sha256=hbjslVP9EKivpVuZHG18ClPcbkKQ-4WOKzX_NcR6cXg,169 +material/templates/.icons/material/sim-off-outline.svg,sha256=jOGyPW8UqL3GE28-yRClNr5EUSl8BkD9ZJQQm8uZ7HI,282 +material/templates/.icons/material/sim-off.svg,sha256=GYGNPNkyI25j--iMGPbZkxlyZZsU1a-IcWjexySHPN8,234 +material/templates/.icons/material/sim-outline.svg,sha256=tyLzREaiXApFeBm88x8FhLCchGngLpNNUB8SvoRpxAg,258 +material/templates/.icons/material/sim.svg,sha256=SPAmw6BIecnG8lSMuQWPixDY307BCDe8N9ePIUAf6iU,225 +material/templates/.icons/material/simple-icons.svg,sha256=R5r4_EVr8MlEnMEpRLhpKOARjJBjtFMKZFPq7E0h1jo,637 +material/templates/.icons/material/sina-weibo.svg,sha256=ynwRHYOdMY66WgNdejPYwgo38fSGwPz7EBgMpV6-Ml0,741 +material/templates/.icons/material/sine-wave.svg,sha256=15lv23WC8_I3wVWop4C0igKjR4Zmkj9GVp2A2Nuh3sA,266 +material/templates/.icons/material/sitemap-outline.svg,sha256=q-DY1B08o7InKs_jxP44ZMLLqSKSJ5XovTmAaIOIndQ,250 +material/templates/.icons/material/sitemap.svg,sha256=VAx4TE5Tkjj_DzdN_Ot3taVCyy6w3OITCCZnaDVYysc,192 +material/templates/.icons/material/size-l.svg,sha256=ZgqTml3dbni3f6hs1LFHwugKe7IxWNZNqAU6qVWwwRo,98 +material/templates/.icons/material/size-m.svg,sha256=g2c9-7z3WIqaWA6_gzIEhGedp0QWvs6WxgQqEhUY4_8,137 +material/templates/.icons/material/size-s.svg,sha256=r6XzJm3_Kzw-rLSjkdrXFkVmiauLly63oKMxRxRqq74,172 +material/templates/.icons/material/size-xl.svg,sha256=NsRF_ih61qEmqjuxmyV_i5mFph6HZT-i76b90j-9v1Q,149 +material/templates/.icons/material/size-xs.svg,sha256=aTdJ-dHoOkSUrjWBYxLL6S7dIy6AKAH1S_xeIxJfLTg,224 +material/templates/.icons/material/size-xxl.svg,sha256=BsB15w9yuPgegk4sSygL-tHzVhhxuI426INaRUbxCfM,201 +material/templates/.icons/material/size-xxs.svg,sha256=bZdolE9kkazR5SapOVSHlWvYIKu4f8mKdOSsESh8a_c,276 +material/templates/.icons/material/size-xxxl.svg,sha256=nFPt4rvciDM3y-CUHwJfhbbMGmRgM-GIJ8iALs6GAzM,260 +material/templates/.icons/material/skate-off.svg,sha256=bl0ngYc5rfXTyM8c57wCld_JN6wsSZNGK3TZpDJUlCo,436 +material/templates/.icons/material/skate.svg,sha256=mApbX9Km2SYggjJrtd8wmR1rCIIKjIY1hpmbDyt3bIA,334 +material/templates/.icons/material/skateboard.svg,sha256=1uPq7EPBdQRNnS3UWxXIwRiuS_cVwOsV26OAF6xs348,475 +material/templates/.icons/material/skateboarding.svg,sha256=Dgs9hKe8bVCBTLeiScnS8rfrBd6G0ZP3u_k2h30faO8,902 +material/templates/.icons/material/skew-less.svg,sha256=QwlwJVrIYRUhHk0SPb-HXE-AmyB7Ka8DkIAERQ4xksQ,153 +material/templates/.icons/material/skew-more.svg,sha256=VL1V5xMILeawA9SEQnSHjXleQNkILGBzouX-A7hSPt8,151 +material/templates/.icons/material/ski-cross-country.svg,sha256=QRVdvoHBBSLHxO6bH1S2vuWQBsJaz8hrC6XPv5PsS_A,413 +material/templates/.icons/material/ski-water.svg,sha256=rwPsw0yaU0hSSgjLCs1qoegW5ngKljAuVhCHkOiuk08,449 +material/templates/.icons/material/ski.svg,sha256=MMZk1Gt3VCkVBTKtDyROrExDLCbZu770VpG5xw7Gx7E,667 +material/templates/.icons/material/skip-backward-outline.svg,sha256=yksqulA5RrTy6245CG7-SDSQ9ORR4OM9w_KU12yo9N8,174 +material/templates/.icons/material/skip-backward.svg,sha256=AP_z2xRLUg99bjhGkVa2mYWLaw3DjNEvnPpBAy3rvIY,114 +material/templates/.icons/material/skip-forward-outline.svg,sha256=j54cPcDQ4Aq61NklznL_ypyiRlZ4EMnanCnK6pC7mh4,172 +material/templates/.icons/material/skip-forward.svg,sha256=Iy_SWdZhOidWY8QxtEKRtXJFf4HBxVODVk_h0dyXD6U,112 +material/templates/.icons/material/skip-next-circle-outline.svg,sha256=JlaWsIg0GvIcgiMSFVG9Jy0cLe51yQS1GCrMpn4H900,229 +material/templates/.icons/material/skip-next-circle.svg,sha256=agN30Nwb3jCda2_LUbjJGT5onbTQxMh6lfvW9CM4IjI,176 +material/templates/.icons/material/skip-next-outline.svg,sha256=YRb22PUAyuhSmpd-F5zoFw_jDAJv6tQ9FbSVBenFMDg,130 +material/templates/.icons/material/skip-next.svg,sha256=FdQnnnF7BwqAd3YE3uS2uC3dRTWgdtdd1nhl95LRe8I,110 +material/templates/.icons/material/skip-previous-circle-outline.svg,sha256=E5ML2AM68-2VZwwgne4gX48JJqXWu0aBkcMcgxr2MpA,231 +material/templates/.icons/material/skip-previous-circle.svg,sha256=eOLBwo1ylLxHmUN96c8tBaU3RcnNO-UD_ysq1hXo_Cw,174 +material/templates/.icons/material/skip-previous-outline.svg,sha256=B3Ltu_XpWNikuY19GPEulEuMgL2xLqA0P_Qyf4SdZ3Q,134 +material/templates/.icons/material/skip-previous.svg,sha256=r2xYzjyWCsz-3wAuxq8_svWmBcyXEw0rlu3JJNaYrRQ,114 +material/templates/.icons/material/skull-crossbones-outline.svg,sha256=GRcnJAPlye2II48JLowCkuczVLu_FzN6M8EDxsXfcqU,498 +material/templates/.icons/material/skull-crossbones.svg,sha256=XWQq13wxSbBH1GulfhcoU73ACiUl6HGwh3HP-kdkWX0,424 +material/templates/.icons/material/skull-outline.svg,sha256=ZoaYm5SosiGWtokCEwSRcN52X5eS2jZyK1lDIouiNzQ,417 +material/templates/.icons/material/skull-scan-outline.svg,sha256=98-SvNvZluD4P29ntN9ln94TXittrA_UD7xsFyRadFc,560 +material/templates/.icons/material/skull-scan.svg,sha256=sAFqaZwTnUum8jKVDsVOcYX-DfsXqwJWt5j-LkdbzLc,434 +material/templates/.icons/material/skull.svg,sha256=Ss5xipeL7fjzGtMPL5egjjVAZ5Qjffi62KdFhfABn2I,329 +material/templates/.icons/material/skype-business.svg,sha256=P3H2KUFKVosooFH4GQ0j8B_kL1F3RdvXspHSHlGMHV8,899 +material/templates/.icons/material/skype.svg,sha256=7oBX6udmwKgpA4NcT3YgEc7b5Y2h9IXcgWmqccFfbTo,690 +material/templates/.icons/material/slack.svg,sha256=DjzVSE4EcVAB8lVIB-ndTBSoqetVXrwePGDFhvVkTcM,543 +material/templates/.icons/material/slash-forward-box.svg,sha256=eHrjfJxxDIc5wFMRP6McZPtb0bboXBICJZeeaSibDz0,180 +material/templates/.icons/material/slash-forward.svg,sha256=IwZ_GNzsbIKeLiOli--ZWe2i4JQ54CHu9S_yyKg46i4,103 +material/templates/.icons/material/sledding.svg,sha256=HCgb8Ly0TLf8YaFswAUjqppC1no1UhJatah8e5zQNmY,797 +material/templates/.icons/material/sleep-off.svg,sha256=4XaFdoKUBJlMp0VLbYqU6EJzmh3-WPo3tNKcjKstlms,245 +material/templates/.icons/material/sleep.svg,sha256=JAgX5-3ntgh-el5u6HgffSCJSdiG7JYtnRJB5d0YEAw,196 +material/templates/.icons/material/slide.svg,sha256=uJ6lcA8ek-VUokyG5FBfGpE2Vz6sxmYbUuBlH2mmTZQ,392 +material/templates/.icons/material/slope-downhill.svg,sha256=trvFTfuizQWOH5oWmJwxVSowU-ZJmHx4i5B7rUHUvMs,239 +material/templates/.icons/material/slope-uphill.svg,sha256=8Unb5J0q7fl4ySebzP0qpsAl74zsGstiPjw_uNryb9o,265 +material/templates/.icons/material/slot-machine-outline.svg,sha256=3c7xKLHK_C_NJKOmSE9XAFThEkZgavk1njxxkCJipE0,394 +material/templates/.icons/material/slot-machine.svg,sha256=awbNScY58Bw5iBlGOUpKjd9z9chbQcTTdjXUjKs8gMk,379 +material/templates/.icons/material/smart-card-off-outline.svg,sha256=cLg1fQpV47A4eVFeydWHRWV90ZwNu9tyniOzSuVnn4U,445 +material/templates/.icons/material/smart-card-off.svg,sha256=ynRbUisM5vM8Z5sI6dl_ystYHuM8pfxPEWxBBGp3NE8,413 +material/templates/.icons/material/smart-card-outline.svg,sha256=GjdmxbN7QfR-XVQuRII1Ud_xIx3BOBjqzlcQddzlZdU,296 +material/templates/.icons/material/smart-card-reader-outline.svg,sha256=6hQLmby001wk-zEqOj8Tiv8u-qQBbCZonYwEE5oAxYc,287 +material/templates/.icons/material/smart-card-reader.svg,sha256=a4V2PqKIFTKM7dEFC40Qydo_tcNwpdyJ3z48MjiqKNo,279 +material/templates/.icons/material/smart-card.svg,sha256=aIdy_3rUqo03I3bKYRRZYVj1ROHQlFuSeqt93yk7nsI,270 +material/templates/.icons/material/smog.svg,sha256=4VJutNSeKNB9pXbL7o-KOqsPPLtfwyJDfXiQHwipZFw,351 +material/templates/.icons/material/smoke-detector-alert-outline.svg,sha256=RO7KAG2L62eviiTaRmGa4Oqm1byW4I36mEM3FfpnV9s,301 +material/templates/.icons/material/smoke-detector-alert.svg,sha256=Zssf_fmljhFnbKL8fRmiTvTByFSxNfd1ficagNZTDDQ,286 +material/templates/.icons/material/smoke-detector-off-outline.svg,sha256=3ajnbfvvYRHVitoYsiYBqUIqCFZi6gdFGCmPT8uOXTQ,524 +material/templates/.icons/material/smoke-detector-off.svg,sha256=A6x5ZEcMpCGC_17w4lcAh8_hb5I-eZTdTBO07ySuUQw,495 +material/templates/.icons/material/smoke-detector-outline.svg,sha256=_8IhCj-pPVQIeK3JrPs69d4hhRjAhWcvBL4dPajd7rI,306 +material/templates/.icons/material/smoke-detector-variant-alert.svg,sha256=adYdiqlLW6v-qqDZ9KtjCAitAeUmX3gyX-bqcShQqZ8,922 +material/templates/.icons/material/smoke-detector-variant-off.svg,sha256=Qn9vhmo12qV4XqG_PI1lGqrYzS1JEgURJcHOM5TXwvY,1282 +material/templates/.icons/material/smoke-detector-variant.svg,sha256=07QcfqJt8gTQ9LHj54IEl-wLtHEe5cwmZaQtqKTqOhQ,1041 +material/templates/.icons/material/smoke-detector.svg,sha256=3VAXT8CvbbAD38ZFdoaTyCO3sWENAUWgp9KzkdYzdvc,283 +material/templates/.icons/material/smoke.svg,sha256=zPIKM_j3sy0dCLhrDFP9kZGByfhb-crej26Ji4jycqQ,450 +material/templates/.icons/material/smoking-off.svg,sha256=XOQeWvqz9gR2ntpiaX-mMto-dF0V_VWKNT4BIMsZl1U,479 +material/templates/.icons/material/smoking-pipe-off.svg,sha256=cPhxGCej2xNrXhm_d28FuuaL8Dd10CeDNFXR2FuGPcI,695 +material/templates/.icons/material/smoking-pipe.svg,sha256=zEO58tAKSBDuk4DhDyo3BVMfnq2q3nPqsOIcvKp5w4o,547 +material/templates/.icons/material/smoking.svg,sha256=qod4VLVP0enx0jt4p7nfdfCn0ztBfBxuaMQJl1IQPmc,478 +material/templates/.icons/material/snail.svg,sha256=Kdylg4K6kcBxvzPRflflVIhzQFFyY7SEw7jAM-TN_x4,767 +material/templates/.icons/material/snake.svg,sha256=whNb-xhnW18lFwaTP7wSne0oXL31QfM05RsEjJm7bfM,466 +material/templates/.icons/material/snapchat.svg,sha256=s7vKewKSHYOA1oInH_x0OcKaOCL3y2ZiEKOwTfCST6g,2242 +material/templates/.icons/material/snowboard.svg,sha256=Muy3U1rT8HUio1BYcM8R6CXM7vQbdERx0sWg1ovOvfg,842 +material/templates/.icons/material/snowflake-alert.svg,sha256=r6x__yD0loqBKSQ83K_WMhAYxQ6HSKIXNqZNnOjReVc,471 +material/templates/.icons/material/snowflake-check.svg,sha256=KxcborfW7lT7Ooxk3hz-xcSQjgFKKH6WVxVd4uG80DQ,614 +material/templates/.icons/material/snowflake-melt.svg,sha256=RQDd01cKodI_2RQQjojwI7xALQ-bErK1uymG2ZmK0Sc,591 +material/templates/.icons/material/snowflake-off.svg,sha256=xVyocQcbacIJYDyLQUc9exbNDC_q5lNpZCCE-l1gFV0,618 +material/templates/.icons/material/snowflake-thermometer.svg,sha256=OYYR1uIdbvjC_6Ek8_utHOJVy1mowdiZpoZg-Pls7cA,599 +material/templates/.icons/material/snowflake-variant.svg,sha256=6CmcfpnTSbUpG4p325ZgpNPM9WX0IeaZWpwEzvZyHbs,412 +material/templates/.icons/material/snowflake.svg,sha256=7e2sTo2fWplxEle5X3b8OuHHJ-xsgd_vZzCkZ2dl6u8,585 +material/templates/.icons/material/snowman.svg,sha256=55-OvIP5jDM-iT7RTDp6nS2o7edal5fbXW6PHSXPnZ8,546 +material/templates/.icons/material/snowmobile.svg,sha256=eqv44gRMyeRDe6AQk7cO1IUUf8Ffb1HXxWUadrZmdH0,434 +material/templates/.icons/material/snowshoeing.svg,sha256=XESlJT-uxKWK0C3bjjYjp-SLROMghwgtsqyKympSjlA,577 +material/templates/.icons/material/soccer-field.svg,sha256=IFXYDaWJWs-ypYF2lCwJiOjVP5TTthpJME1r_i8uIfs,429 +material/templates/.icons/material/soccer.svg,sha256=kdrhQzYtkGvmQrd9qwUYNdYM0AMuGSbNaOXB5LGFw3U,789 +material/templates/.icons/material/social-distance-2-meters.svg,sha256=KCvWvEbLuS3_WtqSRTClZReUaB33e1u2rEwiSxb7OsE,569 +material/templates/.icons/material/social-distance-6-feet.svg,sha256=E2gLK-_HRLKAAuXTkw3Qof7WzoIps-yME2mdaU0C7G4,591 +material/templates/.icons/material/sofa-outline.svg,sha256=GCKKvSoC97PyauOeyFJvCuAATA8MTQfjOdMExyQNpTg,511 +material/templates/.icons/material/sofa-single-outline.svg,sha256=jU8QgvLCrwUQW54NCx9kFsv6Mz_YfyHVKbS2th-hp2E,420 +material/templates/.icons/material/sofa-single.svg,sha256=tlPpPU2hyHt6qYuQOqwPeXcKoCwKCHLb1asy2kbAg3U,290 +material/templates/.icons/material/sofa.svg,sha256=2tJH7Opr0ZypBochd5gaTYd6d-WG4frrg3MbYmZpIxA,376 +material/templates/.icons/material/solar-panel-large.svg,sha256=9uct3Ijo26m3jEna5YRGfg2pnyhst0bMQi7zpwaln70,338 +material/templates/.icons/material/solar-panel.svg,sha256=3rS0-xV_7NGsuf7SqBJTF1obYEStnJMM1MhjUwl_mB0,234 +material/templates/.icons/material/solar-power-variant-outline.svg,sha256=cLxqKkpAJ-oFFX901GS3mdMbM6cdD_jnOgkCmtgafrc,404 +material/templates/.icons/material/solar-power-variant.svg,sha256=joXlXuLppwMKS0ZJzizsVOMykFxa6Apk0uejIBpgO2A,346 +material/templates/.icons/material/solar-power.svg,sha256=ck8riGTvuK5YPQ3VbSyWcFqXmk_9E8H-Ajb_3VeRfRU,273 +material/templates/.icons/material/soldering-iron.svg,sha256=f3aeIr3eq_23pLBCiiBsaTsmKz3yg_b6Azj73SQAATM,405 +material/templates/.icons/material/solid.svg,sha256=-1oGKKInP_pJmuzQTRNNZF3RKQXCci35z1ekaRbjasY,90 +material/templates/.icons/material/sony-playstation.svg,sha256=lahN0CpGe4FSuxaZVmtkzfEGqDWGvlhL8BgP3Z-scwU,607 +material/templates/.icons/material/sort-alphabetical-ascending-variant.svg,sha256=louHWE355u-3M6twRjheh5pCna5BVy-v4-bmPRanw7A,304 +material/templates/.icons/material/sort-alphabetical-ascending.svg,sha256=xqoz16URGNbTjjt7XE3OGOVS3Gsrv-xlAT8EBT9rFgQ,200 +material/templates/.icons/material/sort-alphabetical-descending-variant.svg,sha256=g3Xr-vlXEoPTe4C8ZxGFf9qsb6dFk8uNxTDt_VWm-z0,306 +material/templates/.icons/material/sort-alphabetical-descending.svg,sha256=qR-mLMrx4NpM-a3-G2BoSPuUeoQJE2Y_6oRGGKYELPA,199 +material/templates/.icons/material/sort-alphabetical-variant.svg,sha256=UrxB_en6dLw0jHfBMzSIx4T5OW2QpyPSqnXFIa5swnk,334 +material/templates/.icons/material/sort-ascending.svg,sha256=02OY9mAME8n7VLQgsNXxfhjN9CeajwhDUcmPOdU4E8o,137 +material/templates/.icons/material/sort-bool-ascending-variant.svg,sha256=sQA4Iaz0AUlwvLuQMIhhTwjj-rPRfRBUJYRSLYFYv6U,348 +material/templates/.icons/material/sort-bool-ascending.svg,sha256=Kl5B03jSd6ZQABH5KjpgwDnI8tXyjK7gX5HGDafjfsM,263 +material/templates/.icons/material/sort-bool-descending-variant.svg,sha256=b4SPKmtRp7LUTIdpSfmjEyJB6-VgDRW8Saz1yAhcTa8,327 +material/templates/.icons/material/sort-bool-descending.svg,sha256=2HJ-AqgGziqKbTSt-0aW6i7E86HbsyZetBY2vbtbLAU,260 +material/templates/.icons/material/sort-calendar-ascending.svg,sha256=ClERkuZ-cg9QAKvoKo1UrqWEEz7XP2IO_rooA4cM4eA,235 +material/templates/.icons/material/sort-calendar-descending.svg,sha256=erXBhpfhNDXzt5F39mYRd444XslHiehi7PRvUxhcNd8,236 +material/templates/.icons/material/sort-clock-ascending-outline.svg,sha256=qMDhJi_OmBvwjeGjgiU4JJ7zhK9fM7eQCORTizgR4aM,321 +material/templates/.icons/material/sort-clock-ascending.svg,sha256=cQQBGdnp8I1QyKXnz2E7zaFR62AuVnaXoCbK2GLJfNg,216 +material/templates/.icons/material/sort-clock-descending-outline.svg,sha256=xLg19hnY1TnA_5mEe7xDSdf0nbEP7cbhB1cbkII-oHY,322 +material/templates/.icons/material/sort-clock-descending.svg,sha256=UvK8miXi7mWbFrlN1kBXLlohCJJ38qtkg8m6dIvt-wE,217 +material/templates/.icons/material/sort-descending.svg,sha256=yc0zRJMggDuJYmFGfJW1N45r6KafDti2iC8tu3dohzY,137 +material/templates/.icons/material/sort-numeric-ascending-variant.svg,sha256=EYi8SJQT9IFT2a9V8byWVKNzYgAZHnGLDVP7o8CLuTA,1036 +material/templates/.icons/material/sort-numeric-ascending.svg,sha256=Ikvivp8-rppw3E2JMZI-zvEzmnoHXFQ6YDddLdjdLzE,286 +material/templates/.icons/material/sort-numeric-descending-variant.svg,sha256=ZOwgBJkwTjknZaAQ6UBMaTETWq5o3Zxm8PiiF7Narj0,1039 +material/templates/.icons/material/sort-numeric-descending.svg,sha256=49JWNc_TLYMA015B-hOr6HfEDx4DtezKsIRSFTlwYkg,276 +material/templates/.icons/material/sort-numeric-variant.svg,sha256=LdpfgidXrml1OIXhhzfU9LBHqDQ5079bchDDSc_t9Ds,1077 +material/templates/.icons/material/sort-reverse-variant.svg,sha256=1MASvgd_d5xv_KYbDkLGu918tMA4z2UXE_qlueJ1rK8,113 +material/templates/.icons/material/sort-variant-lock-open.svg,sha256=8-cS3gw6I7nXlhkjUGdMQC0uHMfUKG7xtGP9LRxr6sg,318 +material/templates/.icons/material/sort-variant-lock.svg,sha256=CArM_YgpoZCit3CObxKRzthchlI-g_T7uUkYo4jVnP8,318 +material/templates/.icons/material/sort-variant-off.svg,sha256=s_Bff9su2FqCpT-e7S-4MPq2sg1y-06CQHUJwrjruGI,210 +material/templates/.icons/material/sort-variant-remove.svg,sha256=PS3IXf1W0ew_9So_ODvAVXoHAh3exU1bKupeTaDpMMo,245 +material/templates/.icons/material/sort-variant.svg,sha256=s-M784ZZmK6LXkWCd4w37i7wNAf5AxJS3Vn7ADjF4c8,117 +material/templates/.icons/material/sort.svg,sha256=d6k4pATRDq6OJA_hVt41JG5_BeltZvGecl3TYv6aocQ,149 +material/templates/.icons/material/soundbar.svg,sha256=0aOIEvkApDHxQJwdXRWx5FXLIYnGr-4-vAW81i_OKac,456 +material/templates/.icons/material/soundcloud.svg,sha256=xWXwff7j2hy454qdmYBn6rYeDOS78HSI337D92QXIx8,624 +material/templates/.icons/material/source-branch-check.svg,sha256=UBnjH44KbD45fx9OdmD10lG8Qn1jSEc5ai1DW3JNM0w,635 +material/templates/.icons/material/source-branch-minus.svg,sha256=Mm7TAF1jI9vphhZkW-59w2bjzH3-nSkTFdKoOh-szFw,586 +material/templates/.icons/material/source-branch-plus.svg,sha256=dVO_eLdfc3NIYci-jCurAx9eAABe13scoaV4DmTGB9c,604 +material/templates/.icons/material/source-branch-refresh.svg,sha256=udEwl8YmiUaF84zTIJnDw3_BxfUjcLC8QJeMHgFp7Pg,740 +material/templates/.icons/material/source-branch-remove.svg,sha256=x_90HPudXLkCz7wpfy815KfDZOhxpZjESujpBbbXjCs,698 +material/templates/.icons/material/source-branch-sync.svg,sha256=NEjqLQTHW-3EQ2PBHp6jZC4jkZBCQrwoRcyCMZKF_-U,872 +material/templates/.icons/material/source-branch.svg,sha256=4k_j1xRujcE8FzSim_hvVeHwBJLUFgBXlrWLhOLK978,606 +material/templates/.icons/material/source-commit-end-local.svg,sha256=mjai6NvvfIw5MoV5pxpDS3zKsbmTh5EsvuYbPzcvkJg,214 +material/templates/.icons/material/source-commit-end.svg,sha256=rWNjAQkdc2B6k_UsYsgA0tA41F8354txGi8SD4uDwtk,214 +material/templates/.icons/material/source-commit-local.svg,sha256=wSm8SyufXmRFYfZ-vUP9QdmOvUhMPficg0OuJdbjJuM,229 +material/templates/.icons/material/source-commit-next-local.svg,sha256=7b2RbaGlpSgs0Ct767dhtMVSUdcOpiamIz6nlhraoNY,230 +material/templates/.icons/material/source-commit-start-next-local.svg,sha256=VJMJqvckvBYWlsv_VgiNI2ooEItpDsGlqCqEUplS-Mo,216 +material/templates/.icons/material/source-commit-start.svg,sha256=hDVDOQTQbK23n36Dx_azGIXeJeYLDfWwtXTkuFvI6RY,214 +material/templates/.icons/material/source-commit.svg,sha256=pVV-vG9CkgJY5F3IsWefOa4yVdgNLXg9vde-96Hbc3Q,213 +material/templates/.icons/material/source-fork.svg,sha256=sCajzbJHhE6mwv-kd4204oUKoxsAjtY2ww3oMmiFODw,727 +material/templates/.icons/material/source-merge.svg,sha256=JoIX3IuVWVGH-l2xIeaRmn5uLN4iOZxpG7KqSA6li5M,550 +material/templates/.icons/material/source-pull.svg,sha256=Qy5xJw90TUHUcvQsLmm6KgLcBtXtiL_P-mphzVUAJ_8,544 +material/templates/.icons/material/source-repository-multiple.svg,sha256=5dnMbSKKRp3SV2vWfdeZHvc2Ijnr-mE9LZ4C4tcswxw,820 +material/templates/.icons/material/source-repository.svg,sha256=2BkE1P5FR9X8kxxfxUwjtR18aB1nHBDt1s8tjQmUA9c,787 +material/templates/.icons/material/soy-sauce-off.svg,sha256=IyTjVhdqZeSri_6CD61HrCqZWEPCV1AZhmiFQz8swcU,358 +material/templates/.icons/material/soy-sauce.svg,sha256=sXlgWNmB8efpT27yfAfJrd196BU_rc-qvohn6TiYeGM,298 +material/templates/.icons/material/spa-outline.svg,sha256=ryZCzGnu9kI-whkLeU9QRW72JOnRfGDznO9qRKAvEAU,473 +material/templates/.icons/material/spa.svg,sha256=ZuTbITtgXahDl2Oo0Z9S0mqXvconS_VokMtDjL_OMWE,301 +material/templates/.icons/material/space-invaders.svg,sha256=9WlPmboAUdZM6xtj8YhfR0070hELfcG-mASadRUt2JA,237 +material/templates/.icons/material/space-station.svg,sha256=fE_DpZ_b9USdMsY8GSK6w8iITW5e7GFwjYWQ8wH6e-I,652 +material/templates/.icons/material/spade.svg,sha256=XZ1mSPX0Xp8rD3IWIv04cw_koKTLifJXqqvZVSfqGW4,303 +material/templates/.icons/material/speaker-bluetooth.svg,sha256=m11o0U-xJyRBbTLpYDpz0d7_uKkPlstYnRHNnc5tLfQ,487 +material/templates/.icons/material/speaker-message.svg,sha256=T5p7ePhvZPfeXYwDAciyRNC_flUsRsMHA1ftq4sGnUI,377 +material/templates/.icons/material/speaker-multiple.svg,sha256=uUSsMLkaRVH1vSi-fJOaSi9fPvL190Agjcx8_8XITJc,361 +material/templates/.icons/material/speaker-off.svg,sha256=SABV6BTNnHReHS38y4UuR75AGFz9d8lhmUE2-wRVOvQ,462 +material/templates/.icons/material/speaker-pause.svg,sha256=nNAUAbK1mjAYOFcLYkenosUdImv5HV-v79nGGuxuvno,483 +material/templates/.icons/material/speaker-play.svg,sha256=LABeRpRBYlevzq3gFUZkTcBVjYz7bbce9tQiq9oO9VA,470 +material/templates/.icons/material/speaker-stop.svg,sha256=tPVvkS_RO0VEPyqjJQ8xv9XTIVw7Fjer4gWdeOgx-WI,471 +material/templates/.icons/material/speaker-wireless.svg,sha256=5EX5FfTFjxinXEHoj8632nIOCvzbI4JrRafUD61xE7Y,588 +material/templates/.icons/material/speaker.svg,sha256=TpPwgeCXUt_8Q15Allple6ze4_Cp2wTuOKrYyAKQqrY,338 +material/templates/.icons/material/spear.svg,sha256=YfSzsnb0DEhe0ZSUT0b8pIVdL3MeR3DKo5znf-BGva0,129 +material/templates/.icons/material/speedometer-medium.svg,sha256=VhuTcW5-gqHge7XICvoeDNK_22KCNLFiDOimrwxa-4c,487 +material/templates/.icons/material/speedometer-slow.svg,sha256=Nxz5r5ahp4fVpZ323zNHK7H9lG77sgZwI_mIKZDltE0,510 +material/templates/.icons/material/speedometer.svg,sha256=n0wN37PZjX8DbraTdL_RQyH_PtJovEE5lrnHiGaMeQg,504 +material/templates/.icons/material/spellcheck.svg,sha256=b4E55_IQUAJ3VmHlmP618jMSXqwd6tSewR3Q3S3U9t8,217 +material/templates/.icons/material/sphere-off.svg,sha256=wwYtrex_Wn7FXx95-si0ND_tyiWkoO5O3GP00t--JCk,720 +material/templates/.icons/material/sphere.svg,sha256=hlGp6aFokxKmeJv2g6Lrl6DGr2U0PGzrMGczFtccQec,419 +material/templates/.icons/material/spider-outline.svg,sha256=9VBU7FhzNvS4sUeBe0_cKA2Q5xsCmdCfyAA7MLXrRBc,972 +material/templates/.icons/material/spider-thread.svg,sha256=1skswPITYVp3yKblJcahSjQULg_xL2n0F-9x8QIeaKo,524 +material/templates/.icons/material/spider-web.svg,sha256=5EmH7wjciQeUwhGYlve3Ub-aK5sOapdtKPWkchtBy68,1523 +material/templates/.icons/material/spider.svg,sha256=J3pUNmckYpbPNbrAxfqUIohOX-r6uInBU7JIKmK0b6g,436 +material/templates/.icons/material/spirit-level.svg,sha256=Uqvg1tHEmnZ2gHE7Cdbf2jXY-0GQ4ECaf4zjJL8gmeo,168 +material/templates/.icons/material/spoon-sugar.svg,sha256=_-BgM1mClboqM3l6phDW3waBksCYIhoxAJnG2LRRJKM,252 +material/templates/.icons/material/spotify.svg,sha256=JZTHf8fQuUEGCUZpmSyejSA2z6svEqxPkIOjsDQauoA,572 +material/templates/.icons/material/spotlight-beam.svg,sha256=mpEz2g7osxsxvm7JGs3Z6ETQLj7Dnu74jsZKHYWz7Mk,309 +material/templates/.icons/material/spotlight.svg,sha256=6FUfK1OVVbvOL_vjpXUZ1J5u6ZetC5efruzDnb7xde4,452 +material/templates/.icons/material/spray-bottle.svg,sha256=m3YjWj-tGavuG6808JwURdJZ9VUfJjbhROFCckLuQss,277 +material/templates/.icons/material/spray.svg,sha256=T8mSwQMWxNvP-NCOb9PWIV73g7sffw78vGL_Zg3CAIE,253 +material/templates/.icons/material/sprinkler-fire.svg,sha256=O2h6RM3Rrxx0U9VWRK9qW7efu1wWXlxWlqgyHvqtR6k,279 +material/templates/.icons/material/sprinkler-variant.svg,sha256=fjSOQOLGWiglE7sdbaKKhk-FIB808y8hW00RzsOXZ5A,283 +material/templates/.icons/material/sprinkler.svg,sha256=9NKKxGZbvatZTb-7Mv0BAzgoVzkkdHHtGbuBj2veTWo,204 +material/templates/.icons/material/sprout-outline.svg,sha256=f4OFrQJy1DDmDew66iBXsT1SAP2eql96yum9NfD9Dqs,476 +material/templates/.icons/material/sprout.svg,sha256=XW0JgKC9Z4a8PqiwmvLCln7DKSFpe1hMgLDbCRea5Og,255 +material/templates/.icons/material/square-circle-outline.svg,sha256=_oZPAJF_GgvGgiVOunemV4SwdZkDs7SzRbxQFLJBunc,222 +material/templates/.icons/material/square-circle.svg,sha256=exzznpb308bq9vdenlKXG1T0Rj5-4qFqEluKYAxx5hY,165 +material/templates/.icons/material/square-edit-outline.svg,sha256=7iULyxa6VGys3klqzxH0tL9R5lyMHzDQV6LIQUgFITs,303 +material/templates/.icons/material/square-medium-outline.svg,sha256=wdFkG56YQXziraVkln35gxsUAEEhiFt4T7355pgxJLM,107 +material/templates/.icons/material/square-medium.svg,sha256=GGqfCN4MeA9-bwlcWcUUwanIP-6W4K7BBBO7KDDrUjo,92 +material/templates/.icons/material/square-off-outline.svg,sha256=HYysO1rfAN7NzTY9Z2_N88crrkZXN9ggJE6yWscrOZU,195 +material/templates/.icons/material/square-off.svg,sha256=nFFRWnC6pOS5Ut8qo8nEkUmU-VfEjJNjtzr3nOVpZMA,165 +material/templates/.icons/material/square-opacity.svg,sha256=DDpk96zlBpsVc1YdvMUjVxqYem_dkGg6p9xYH8dXAH8,332 +material/templates/.icons/material/square-outline.svg,sha256=SI9sRiaNpsbjSHoGZr2lpaxWA4-gpFpNAV_yui2isxg,107 +material/templates/.icons/material/square-root-box.svg,sha256=hAu6z-Ae_mpy4PFm18FUHgm0uDjq5mwwN0jy4jcphjc,330 +material/templates/.icons/material/square-root.svg,sha256=LVic7vgftvC8oEoaX0jA2NE_LkkTcvPR2r9hKnu7le4,267 +material/templates/.icons/material/square-rounded-badge-outline.svg,sha256=8e6B2d69BiyIA5Q4gyqeckq78yqtgVCCbQkOR9FE6GI,333 +material/templates/.icons/material/square-rounded-badge.svg,sha256=UshANuoQpxPY01BJQeaO72BjXR7CO6Y6GHBXwxi40vw,269 +material/templates/.icons/material/square-rounded-outline.svg,sha256=xOZDjXdG9IOXHukF_bvxg3kpm9UUmnE3X_yP08xzRTM,248 +material/templates/.icons/material/square-rounded.svg,sha256=goK503kvMLLRginOtMU_C1n1Q7-bJKQfvzDl1fBI7LY,164 +material/templates/.icons/material/square-small.svg,sha256=iUxCNQN5cR8urdGnXuYxEkapiB11I8s6kQW2NlwRo7c,95 +material/templates/.icons/material/square-wave.svg,sha256=f-DKX-n6UyM3BnJaGEI0mFdZhmCj9_lWCu6GUAUGDZM,113 +material/templates/.icons/material/square.svg,sha256=ho77mHxIAN68qJq4OxBggk4OrxFvwtNbnBpylcyN3kc,90 +material/templates/.icons/material/squeegee.svg,sha256=tZZVqG1-2K3X1ki7ExfQPUHf-Q__3y-8oyjqkCSBMaE,153 +material/templates/.icons/material/ssh.svg,sha256=cJEVWHqe0gMNKzXokMcbVClsJA_QNiVh3EzsI_z7w4A,327 +material/templates/.icons/material/stack-exchange.svg,sha256=Z-Txq6fTzt0K1x0oFTb9XWlg0XRRE6e1GOHNOxhKopA,293 +material/templates/.icons/material/stack-overflow.svg,sha256=xYaSy3jIQGBWkBJGs0k1x3NBrGZv6aBFAMlmo-icQrU,350 +material/templates/.icons/material/stackpath.svg,sha256=ewfXfuOEUM-IBVgHvfECEmnE2Ctvmavcfm0WtC-daQA,901 +material/templates/.icons/material/stadium-outline.svg,sha256=XewScaIc4IpGJPMxstADtcT7R24gApGNgiQqWPL8oYM,358 +material/templates/.icons/material/stadium-variant.svg,sha256=O0aMGQPXgGPGS5GWUR4WIIf5fY1Fd4BYThk7yOCd0To,411 +material/templates/.icons/material/stadium.svg,sha256=aLa-ygp1uMEdZISOfSLMwBc-iVdQpbw6KRLXNcYX9hc,268 +material/templates/.icons/material/stairs-box.svg,sha256=UGdxVcB9-zO8rSuDQMvsve5vpXeUltJYGTSpjgCRnnU,203 +material/templates/.icons/material/stairs-down.svg,sha256=QCAPp0Pyttda666vXfR5JMr0DuK7toaWSPJccSHsMk0,185 +material/templates/.icons/material/stairs-up.svg,sha256=brmAeY4PCk16hPh3rjdTp4M81a85yii9OU7bazLlyho,185 +material/templates/.icons/material/stairs.svg,sha256=9GL3IHEX-1yVz6EXos8fu960oPqosJ7EnIrXlrcOtSA,120 +material/templates/.icons/material/stamper.svg,sha256=QHvze96lwXaBQT2-xxkvz7OjbIAakb5Jj8Y6BaiJXd8,189 +material/templates/.icons/material/standard-definition.svg,sha256=6Whhi79ijuRDwCVGpQJkFIMm-kagdBOr6VGX_IW3vmo,249 +material/templates/.icons/material/star-box-multiple-outline.svg,sha256=CdM_2BXsfVBUI_42scAydBmH3HhN2aP6xXhxJXfu7NA,276 +material/templates/.icons/material/star-box-multiple.svg,sha256=LG1JHbGOk4rL0GAY2ZqAtZm1b9OK9Q2I68XTSO6bMcQ,265 +material/templates/.icons/material/star-box-outline.svg,sha256=Wgc-UHDYZDiMdBacKwPCi93agjntla_vtkvvOgUjvdg,259 +material/templates/.icons/material/star-box.svg,sha256=PLSZ4tepm6gxpXiBp6ZEyzBPc9PXlvCcds81z-2onqs,247 +material/templates/.icons/material/star-check-outline.svg,sha256=HPCx2U0VkhekaZqKigpTyb1SpCbIRyyHAaqngC7c0_k,290 +material/templates/.icons/material/star-check.svg,sha256=u1ETr26ei_PHOpw1-NtrjrpPe3IWNBH1XQNf8NFEDGs,214 +material/templates/.icons/material/star-circle-outline.svg,sha256=1xaQv6yi6sst7Q21R2wBDiBnf77Z0Sl19uqcAZagUX0,309 +material/templates/.icons/material/star-circle.svg,sha256=457yoVQrPFV9qjzKibxorJhb-dSuC6D92FjwB967W2U,252 +material/templates/.icons/material/star-cog-outline.svg,sha256=pwX2T5T2wQNCjZLrD49NtjotbDYICLBK-V49fcsOZJM,929 +material/templates/.icons/material/star-cog.svg,sha256=WOMeUGP3NZfNV4f-zukNyE8ceeXYFN6DAXb4Fz_Sn9s,812 +material/templates/.icons/material/star-crescent.svg,sha256=cAqIYm-_D6WlmZLkOcUZXYb3BkjizqWl6CdMUiaNp-w,270 +material/templates/.icons/material/star-david.svg,sha256=tgqlz6F3Eenw6HGFKhUviyj3-w58nxAU7dkgn3228kA,309 +material/templates/.icons/material/star-face.svg,sha256=Mk8lrC0msUTO37QxC0h7zPjWq_O2khRm4eQYxU_ujEk,413 +material/templates/.icons/material/star-four-points-box-outline.svg,sha256=-EluJa4jCILMOFrw8e8sRHcmw2JJj0slcIa19XbAzBk,303 +material/templates/.icons/material/star-four-points-box.svg,sha256=hTiNLAiCfJkKNknIFQ2Ujng2VS7oSDcQsb78SjAeHbI,287 +material/templates/.icons/material/star-four-points-circle-outline.svg,sha256=TylYNOzSzAPPy9lgwy3mkdX-XuiawcivJ9yVlaeFjHg,645 +material/templates/.icons/material/star-four-points-circle.svg,sha256=-Z2xMUzi6MAsX-d4D44b3gIUf_b5W6Qqk-R5Cz4_HkE,458 +material/templates/.icons/material/star-four-points-outline.svg,sha256=EYqgHJkIfSR_zd1z1e5tMV87HNVelIawjVYdYCl2Xww,196 +material/templates/.icons/material/star-four-points-small.svg,sha256=Rpeue68C7s3950hOdI_gTr6U8FeOK7ywq57_Tfguxak,155 +material/templates/.icons/material/star-four-points.svg,sha256=l8VjC9tORylkf-JZjWO27hF9nPXewdxfMe30nSZVH20,117 +material/templates/.icons/material/star-half-full.svg,sha256=5sbYg0vDGlpQH4UHVY0yYhMZHl7b6VlMcrFWgcW-rMk,222 +material/templates/.icons/material/star-half.svg,sha256=CUkGlg9UMOi9G7NxZ03Pw_Fk_h5EacTUWCdVfjnbdXk,130 +material/templates/.icons/material/star-minus-outline.svg,sha256=8-45eEKXk2HPxid_7leFtiYeBkGJIra8ZDqdF1beb3U,255 +material/templates/.icons/material/star-minus.svg,sha256=E8g8Ag1DIxGN7q1LnSSMU3RiuaHbcvxibmBuiyz3IEk,179 +material/templates/.icons/material/star-off-outline.svg,sha256=WTVPaxXozY0ML7lnbPI550tM5jOgMJ2cCuPIcaOwYM0,300 +material/templates/.icons/material/star-off.svg,sha256=QMDmpmuWTPfwFvorLVdU9IQsSKyMDZT9YPAgSAV36Ac,211 +material/templates/.icons/material/star-outline.svg,sha256=b1gBcQ3116tIc0tiIdIw9x0GsxwEpJiIkJxXQLdv2YQ,264 +material/templates/.icons/material/star-plus-outline.svg,sha256=ss1hK3x4ftx74XkDwF8nium5ukAzX9iC4CH2RFH_nHQ,275 +material/templates/.icons/material/star-plus.svg,sha256=2sWodMTcQpUG5K60CRoKiK_uVOC1tRJ_--nVQ-9GF_8,199 +material/templates/.icons/material/star-remove-outline.svg,sha256=-VvVa2eYw7g3qAmEX-AqG7PWGVl3SyNh_rstL15ogE0,345 +material/templates/.icons/material/star-remove.svg,sha256=8yQX1PgxUNSfSm8umHu_8u-BOuXqZbBwQu7VAzVzS-A,269 +material/templates/.icons/material/star-settings-outline.svg,sha256=reW5c0EsXc1WjNqFla2HCzt9ZwjK9nz2hPtJ9KYo9Gk,322 +material/templates/.icons/material/star-settings.svg,sha256=cq6joLug2g6yhfJonBQz50A0FZ0PjK2b-y_fMkjCm_c,215 +material/templates/.icons/material/star-shooting-outline.svg,sha256=55PSEczMb3X38epsobV3Ia6NHK2wnZsGZXaIJhWswcY,677 +material/templates/.icons/material/star-shooting.svg,sha256=PbMi1MEygdkmEcD4h_N57e-dNWgfeqY9ZFPZBUE7sys,488 +material/templates/.icons/material/star-three-points-outline.svg,sha256=BH18kTzidN396MaKS7EVJhzZD3x6AoSCWlesHHnwpZw,165 +material/templates/.icons/material/star-three-points.svg,sha256=icQNgG4R87lvbOJvm6wVKrmYUmKx6qgJGm5USvyJW1w,124 +material/templates/.icons/material/star.svg,sha256=i5chvwkJ1rD9TMdbBZHPKeNhKHp20H-rUNYo0ZYlny4,175 +material/templates/.icons/material/state-machine.svg,sha256=CFiy8ku5aNCKEf8lIGZ38Xik9dg5RxMCi8hv6TjJAow,457 +material/templates/.icons/material/steam.svg,sha256=ROdubHuFACQlC7MZqf5Bc5FeF-nUFYfemGcrc_BfcSo,785 +material/templates/.icons/material/steering-off.svg,sha256=bPGpfLRz6Y3sA7HNmrqLABniOq7GwhnhXUby44iRCgo,729 +material/templates/.icons/material/steering.svg,sha256=KqVLmtpSJ0RHDt5d3gCxNlRgyJ3Z6nWmMvq_24gWMPE,594 +material/templates/.icons/material/step-backward-2.svg,sha256=5X6bW23d98eangy-3uZuIGlIOk8zajZZ0XEZm2JCzKo,126 +material/templates/.icons/material/step-backward.svg,sha256=7fSvwVKDmh3WyGNLDwgqvacDVFNqmfg4GozjyxfBwNI,104 +material/templates/.icons/material/step-forward-2.svg,sha256=b2GHEu0nRCSvhsCmDsqPo1EkOC1LzEbgMeZ3xlvLUIA,121 +material/templates/.icons/material/step-forward.svg,sha256=Gl7eIhvoX0xTkmS_YBh5suf7qU3gMHqKJ8K_ZGFs2Wc,101 +material/templates/.icons/material/stethoscope.svg,sha256=HAOKdIyZs86bDql0L2yQTA4-hU0gZxr7Cdzm4RkZtdk,423 +material/templates/.icons/material/sticker-alert-outline.svg,sha256=ibzgayQRIY9F0WDeGk-piLDA-nUw7DpmMTwYBz5e_4k,302 +material/templates/.icons/material/sticker-alert.svg,sha256=VJEpUbGN0qVGmrA9qNUUNirdFu6IEL4Bo5Zv4dMPLUA,232 +material/templates/.icons/material/sticker-check-outline.svg,sha256=tWdeG-rDzHNZYLOaWgGWp78npbBVpo5pyJLID8xhS-A,322 +material/templates/.icons/material/sticker-check.svg,sha256=_RbqFOAPRQqcy11XaYQ5Lm4VwiX-aPJNHclybIWrixo,257 +material/templates/.icons/material/sticker-circle-outline.svg,sha256=8HwRDbbx0NvO4NUfVlPeDdL-yZNfZKibwbe_57ICzh8,483 +material/templates/.icons/material/sticker-emoji.svg,sha256=145sNMGvurADEIZWDCwlhvNUSDrm9EQweqJjCkBYigk,633 +material/templates/.icons/material/sticker-minus-outline.svg,sha256=TLgRSe4l0H7LGpDNKK-72T2N8oM_l2XYbbECYYCu03c,287 +material/templates/.icons/material/sticker-minus.svg,sha256=BUpAzvxZNXGdHFRBVaiPfVEaWf7SODNmGFBfJqKvpMs,217 +material/templates/.icons/material/sticker-outline.svg,sha256=rRo5l1npNcDWB-w-oHCrgFmRz6Qm79WML9LRuHz6mEI,270 +material/templates/.icons/material/sticker-plus-outline.svg,sha256=Q5oOrrk10VVfRLK0ML1COkWn_smkL86ofV0fPnl6kuU,306 +material/templates/.icons/material/sticker-plus.svg,sha256=5q24Jmab2b1FdrHVH6e5qGLsoNXiBqpuq5oTfiyKb3Q,237 +material/templates/.icons/material/sticker-remove-outline.svg,sha256=eUGXquWaMBOT4hPUjwPl-EK7Q0QyXQTNc2G5WMKgdS8,367 +material/templates/.icons/material/sticker-remove.svg,sha256=K2_hvQWxiNGhgbZwACp9_-aX83Wgw2NYR0a99KGuEvQ,310 +material/templates/.icons/material/sticker-text-outline.svg,sha256=Cra0t1_iFLoF-79u47kR0jVHDple46hLZIqt34Li0T8,314 +material/templates/.icons/material/sticker-text.svg,sha256=jWJP4hbLbe2RGnHr6opAKDqbVgUcqW4iwSXeLSHmfW8,243 +material/templates/.icons/material/sticker.svg,sha256=SVPOkTYamYRiSciTzYma_kMztspi6-m6cCvnRDI2reo,205 +material/templates/.icons/material/stocking.svg,sha256=ynlYiKRDFcTAjbYzERHQGf8W_y-JOSoVblZtRniB09k,258 +material/templates/.icons/material/stomach.svg,sha256=x7_o6Z85vraZrBgNeUYWuTJg9T-AOizRkINREyKKUQA,343 +material/templates/.icons/material/stool-outline.svg,sha256=Q0sYZW40FdFo-XJZlhPrOhhf9uI2G5sXDoJ0Kyhd1hA,249 +material/templates/.icons/material/stool.svg,sha256=KxHJ22rja8KA75x0Lpct-_2U_iD24UiLbru0YS7iCbA,212 +material/templates/.icons/material/stop-circle-outline.svg,sha256=a397JIXHZi-2-mHWyakEpmTNX-_9_cBONIU2AHqIeq0,219 +material/templates/.icons/material/stop-circle.svg,sha256=qz5ivbgRMBRCqf-5z1IXiOh82jLmaq_Pf2rG2oswun8,163 +material/templates/.icons/material/stop.svg,sha256=LtcM9sgcJAJ4Ccdmeg1NE44Zc-bmooGO_xpab23UDc4,95 +material/templates/.icons/material/storage-tank-outline.svg,sha256=y3GZJuiRdVNU-1sjWqOrHJd__qqcAFCejYapieZ03m0,287 +material/templates/.icons/material/storage-tank.svg,sha256=94Js4fVR_v52k-PoO3-vh2rNdY2mlJPcitZUOBJSfgM,217 +material/templates/.icons/material/store-24-hour.svg,sha256=mFiuNTf6Zxxn34hRK1OlweeeRDlkTnAbB1uEXVzaqXc,164 +material/templates/.icons/material/store-alert-outline.svg,sha256=ICjmY-yEM71HqmqCoxX7Wpz5UI0QeCP-6sYlnq9CLBo,205 +material/templates/.icons/material/store-alert.svg,sha256=EKHQLvGrkehQu2AIewgipvBAXwKG6BiZBUu2uKVpDcw,176 +material/templates/.icons/material/store-check-outline.svg,sha256=xGcUYTBDbWItUbVORpgvu1nWoypmAaZkQZzkOJi23-4,326 +material/templates/.icons/material/store-check.svg,sha256=SeBvRNe0eWJVaI-n4TGrXjys1hoFmG_LeZLtsBrq65M,297 +material/templates/.icons/material/store-clock-outline.svg,sha256=DYuXpG9u9fg9uF1IL2IG9NCHT6QQ7LBy7hYHCcnNRls,332 +material/templates/.icons/material/store-clock.svg,sha256=vnj2zS_RRf2qzyHoFaTvgwb0On1Ye7NA1XOOE8BGM3Y,301 +material/templates/.icons/material/store-cog-outline.svg,sha256=UXFdwaZ7oaKcqNxADEK114MQO2iYJDDOf9ytg2TD48w,717 +material/templates/.icons/material/store-cog.svg,sha256=-_LGhO2tzpOSMbUoKRX2zN3XYzwzItTqZLfg3FdKYlE,688 +material/templates/.icons/material/store-edit-outline.svg,sha256=1-wxqoKz1O8sZzAGixia52r4PmIxDY-KPm7Xl6oCfVY,348 +material/templates/.icons/material/store-edit.svg,sha256=-pNnPiCq1a5QGC5ACGeziCyyNtxvmK0eGfYfs2wrceY,319 +material/templates/.icons/material/store-marker-outline.svg,sha256=ZtLELYcXMoCqDXWPbPOxelTovR-IuC-1Y4nKnJEiA7Y,392 +material/templates/.icons/material/store-marker.svg,sha256=o0hZ1Bt7ePh8cztIkAJfG5pqfVvc0BZPd9aROqCHqOA,364 +material/templates/.icons/material/store-minus-outline.svg,sha256=QzRBepU_SbXunTxArMcdAFgmScNATNRwqlyIkf9oahQ,279 +material/templates/.icons/material/store-minus.svg,sha256=xFxH_IFzfefCYzNfiqI9k_WYi51yW3YSeAEXgjTFkFg,242 +material/templates/.icons/material/store-off-outline.svg,sha256=p7h3103KlwKwli74FGVb_8QoklFvHHRC6KnuKKFftZ0,273 +material/templates/.icons/material/store-off.svg,sha256=0sRPnsaAHBI5qIA0K18VIies77n6tnYPJeV71-mHdg4,231 +material/templates/.icons/material/store-outline.svg,sha256=fU6Zyc3myzYvVox1tWZCgzrvQ6XzIHUtS2wY2rNLcRU,178 +material/templates/.icons/material/store-plus-outline.svg,sha256=06ubKVMYPPLxT_2qbYJdPS6DkYRXzWkzeTXw3uwBMv8,299 +material/templates/.icons/material/store-plus.svg,sha256=uCpu7Vdxreq0WwwRTuBQhDKyGI9Vl9NBcoL6OeKVCn4,263 +material/templates/.icons/material/store-remove-outline.svg,sha256=MgdzSb1conOqvpTKNYDDaE4pWzTBOsyr3CLHeXLMCE0,391 +material/templates/.icons/material/store-remove.svg,sha256=1aMK275Ha37CwK34zMtHbRO7cg0NS0R4-6BT1L2VPG4,354 +material/templates/.icons/material/store-search-outline.svg,sha256=nibya8PQUATsRe7Lp3fDsRReeGPi1me769YaZsZgNWs,425 +material/templates/.icons/material/store-search.svg,sha256=EF3tz5L1M8y__GEzJbjGcKjxub8iDponLzb7wnyMo4U,387 +material/templates/.icons/material/store-settings-outline.svg,sha256=O0wZWYH-AsO2fN-pJGnj0l97m3OM89fK7H83tBR4iHQ,221 +material/templates/.icons/material/store-settings.svg,sha256=8PQCJpfEcScnen6hvu3W6_XHvAxS9fJDeUY1X5_VXD8,192 +material/templates/.icons/material/store.svg,sha256=hIRtqI9l75GCAi_8LRg8RRQn8rhueYMl2xR1Fk5r378,146 +material/templates/.icons/material/storefront-check-outline.svg,sha256=7YFg4xIjMKefkySFn6MuWxW9AaBO30_W7fVqCTmeV1s,961 +material/templates/.icons/material/storefront-check.svg,sha256=EEKi8xcSBhMIMKHKbv3aRrG_Fd_aNK86uO1m3EwTTX4,1106 +material/templates/.icons/material/storefront-edit-outline.svg,sha256=XVo1vh4oOUOlTQmoa6NVXAy7xJBSRX-gnW4Yp2y097w,1022 +material/templates/.icons/material/storefront-edit.svg,sha256=-t_sZ1zq8pCtEIXoO5s-01281RYcvMueJisdlQA2wcc,1161 +material/templates/.icons/material/storefront-minus-outline.svg,sha256=GFfbiR4Whaugxz8GeAjQiILznpHgmkURif1a18_d3KU,935 +material/templates/.icons/material/storefront-minus.svg,sha256=y4DZH1i4M21wwFUjE7-flMP2uVmBM2p-UYBOg9_35Ng,1072 +material/templates/.icons/material/storefront-outline.svg,sha256=wNi4sOMHb3mDNACLgkRRZSf7mFS-6Uqy44khS2y26qQ,936 +material/templates/.icons/material/storefront-plus-outline.svg,sha256=L9Q68C4BATmf5YbeN_OuGidzxJbwnjUyD3PBSphHHqs,936 +material/templates/.icons/material/storefront-plus.svg,sha256=d-g5oFBaESbNj2ac2DHMWGyswKExgg2kbcifG5pylSE,1072 +material/templates/.icons/material/storefront-remove-outline.svg,sha256=7YEFE6WnF-Vz3NEr84Bit4Xlg1wMDeWmldglrz2gkPg,1048 +material/templates/.icons/material/storefront-remove.svg,sha256=mfx5gHmlmcdiyVIH7ZI9xub_TvrYcXZiUx-InVsCVO0,1184 +material/templates/.icons/material/storefront.svg,sha256=WaKuyCJ0zhJpijWTw7L0K_kJC1ym87DzHk2AzmV95bA,1111 +material/templates/.icons/material/stove.svg,sha256=n8tbwTUAosad7Dui_57F6Lq4_dbXjMsoeVfqEYf1hXE,481 +material/templates/.icons/material/strategy.svg,sha256=Bhun9Hp6HFT6tGKPyKPWKba_ek6XU5XNF8pBPA8-57A,499 +material/templates/.icons/material/stretch-to-page-outline.svg,sha256=Q5taFYm943PYRLKnBWmqpzYohKJq55P5p3vT4cW_qmU,364 +material/templates/.icons/material/stretch-to-page.svg,sha256=4PP3yCWKptDIqvWlV-X3rltJ_E0bRaT4EWhZwqS51nU,364 +material/templates/.icons/material/string-lights-off.svg,sha256=Oz0Uk-4pLYjfHDFvP2dImvxDh9WrJhfUrgkj9cLC8bw,965 +material/templates/.icons/material/string-lights.svg,sha256=EFpAEs9gdtmWMPTQCL7bSbv0KZM4XOBLBD8TVnHqJjw,832 +material/templates/.icons/material/subdirectory-arrow-left.svg,sha256=H_EezQVysvHfRpgZYm-PhYBSq1b9jsTZi08S-H--PKo,142 +material/templates/.icons/material/subdirectory-arrow-right.svg,sha256=5KBYie_wvAdy_MRPmMZcMtw6-qDYecgl_68rtbS2UZE,142 +material/templates/.icons/material/submarine.svg,sha256=A4rnKO37sU57hVHbLPD9Z5NH-XgW_izcdI8W3erJ1Ow,349 +material/templates/.icons/material/subtitles-outline.svg,sha256=oEUdZOGoE373gblHs6pWDIXIZRWwTO7rhdNcrxzpY1g,222 +material/templates/.icons/material/subtitles.svg,sha256=x9dfvmavlT1LPoqGgz7ZNd3PNbnIjRxtz1NED3nzr0s,208 +material/templates/.icons/material/subway-alert-variant.svg,sha256=ChcwZDaTeQPwZhb1NW_1hbAFqu58iv2ESdPDZtBa1jw,385 +material/templates/.icons/material/subway-variant.svg,sha256=cTzGJ-O7aI9QLozqXzXPOVdyhMjbeGRTqEcyDo9SemA,404 +material/templates/.icons/material/subway.svg,sha256=Qh8uC1O5DVUknkSJ7qkknAOj5xMfcXKhVlpsPxfknZ8,483 +material/templates/.icons/material/summit.svg,sha256=su7e62KhXoC4JVnrXQjzxhxAJAXRWt-9L0-5nCZ0_nI,130 +material/templates/.icons/material/sun-angle-outline.svg,sha256=8uR45KMFCDdXdiFg4VHLl7uvJgKK2TeN61eGH12pSf4,408 +material/templates/.icons/material/sun-angle.svg,sha256=AcaUvNV5NpmdZaVjUpo98yenB1-oTm5dw-blekAkXts,349 +material/templates/.icons/material/sun-clock-outline.svg,sha256=RKjHo788yJ9Wa9Isu3szl6j0OQDSSyxOxN1iYk2FdVc,720 +material/templates/.icons/material/sun-clock.svg,sha256=cBOHOD2VTg7noTXmsIZe0b_vMTb-Gdegsla0NmtKLCI,542 +material/templates/.icons/material/sun-compass.svg,sha256=GnCobQl6FOtBiDp2wW8AOvRXhD71JBovlMJZVJ-U6d4,720 +material/templates/.icons/material/sun-snowflake-variant.svg,sha256=26Q15r_83cEue61Y7GHJOZG8Dz47Ezbgq3Gp0X3-syE,680 +material/templates/.icons/material/sun-snowflake.svg,sha256=-dMdLJpfaf1Q0BL3Mi3d4k6tCeJEwwV7jZfOqspI_IY,380 +material/templates/.icons/material/sun-thermometer-outline.svg,sha256=AAkIfrmu1pgByy6Oaz2aOdG5TElpyOS3OPNpdrhXf2k,549 +material/templates/.icons/material/sun-thermometer.svg,sha256=6UKvxaKmdjS2Zm4NB-EiAoUJSHqcLo_Qn8iiZeFfXkc,525 +material/templates/.icons/material/sun-wireless-outline.svg,sha256=GjTpkOLqGkygn5B0m-dggLZTt2yjatcx-RON5dk6WjU,610 +material/templates/.icons/material/sun-wireless.svg,sha256=v8q4LyNdurQEsZTS4euJl52b3if7BSg9PknFuI3mcas,552 +material/templates/.icons/material/sunglasses.svg,sha256=minT-cQV7SAehJSu34MI1Ey5mEouuNol9vZzzY5AhcM,456 +material/templates/.icons/material/surfing.svg,sha256=1h9Itb_IP5gp8qGzwXHjrG_xV0gEzy1LU76uZuUG1Rg,714 +material/templates/.icons/material/surround-sound-2-0.svg,sha256=l07Al9CAdUVVVDDdGcciOdOlqK8LMv95xwZQDFu685M,258 +material/templates/.icons/material/surround-sound-2-1.svg,sha256=lALIgLh6OOxR9JLki7mCSCfoJtZBbdnkxwQTEMkWX0s,189 +material/templates/.icons/material/surround-sound-3-1.svg,sha256=rGlmxp0i53JxZhKGjH1M_jBcAbGU-mAXuw4ODYbAeVo,220 +material/templates/.icons/material/surround-sound-5-1-2.svg,sha256=kIIySIgkcqi94X1i4hB6qzHty6iPfd_V19CJkWPL6j0,263 +material/templates/.icons/material/surround-sound-5-1.svg,sha256=fjwte_Wol5UjVcPsLPYIeElNvXOFveBS9vXU5caOOLg,176 +material/templates/.icons/material/surround-sound-7-1.svg,sha256=nalDHM0nbJqk0TJmsGnYDPlRw_GONPu8iZ0oO3QbZtE,136 +material/templates/.icons/material/surround-sound.svg,sha256=zRsguTT4qdnmR2eMQqedDoaVF8dWhK6hc4oZ2pydX8s,530 +material/templates/.icons/material/svg.svg,sha256=FN7IueWNw2RJr74r2p6YI9x064Pryyb-_U3JZmTGao8,740 +material/templates/.icons/material/swap-horizontal-bold.svg,sha256=h0VCLzcKnp5M3-ZeXnfHNVdEFd2KOjgWf9fRZuF4zs4,135 +material/templates/.icons/material/swap-horizontal-circle-outline.svg,sha256=pLlyAL76GDAp8G8dHHo1cHXpCcSUAPCDotPUOA8NKjg,265 +material/templates/.icons/material/swap-horizontal-circle.svg,sha256=A5tQvowskvCGhvBZfmeWjsYlC0ndyepqE2wjOFc6IgA,211 +material/templates/.icons/material/swap-horizontal-variant.svg,sha256=gGaOtU5AIzMyj2Oh1O6q_cqhfHvQro614MYz1ewJHho,231 +material/templates/.icons/material/swap-horizontal.svg,sha256=pChb1p5V1NxBebfXxiRJtixIEmMmb_Q4tR63kn1Y6jg,126 +material/templates/.icons/material/swap-vertical-bold.svg,sha256=L1SYoFNnpl75rJxbj17ckHeWU8sb9Y8-CEG0N55aYmM,139 +material/templates/.icons/material/swap-vertical-circle-outline.svg,sha256=W2e9Qrzjq95T9iSTdAfzy6Tt8zFTQz3x9EJl8ltcCu8,264 +material/templates/.icons/material/swap-vertical-circle.svg,sha256=ckpA8ATWOyTvDVKm4mHrWW-aW8iR15PWFmgZ6UgY168,207 +material/templates/.icons/material/swap-vertical-variant.svg,sha256=ad7_eQWJgSLY2VHo1PECDcmddtrWRaQQTuEU37mqp-8,233 +material/templates/.icons/material/swap-vertical.svg,sha256=AsSX-FawM6xNBd8oPKSvwo5T6jD-0QY8tq_g6-p13m0,124 +material/templates/.icons/material/swim.svg,sha256=Ld0uoAa3bgpGr7urgW3eMm5q1y_idlDpkAH1S-jsH6o,453 +material/templates/.icons/material/switch.svg,sha256=8kd_4SPeSteFgp6GOltKM7-Wd4pD9-wXYBGIiOn6Ojs,286 +material/templates/.icons/material/sword-cross.svg,sha256=tQxB2LO6D5Ti8b7rnLzbWJBJLaFFsZHd3i-m3oF5gDk,464 +material/templates/.icons/material/sword.svg,sha256=KwW-KYQ2vZKIyng8GfqpO98IgKP3yJHnuifA5L09-9U,262 +material/templates/.icons/material/syllabary-hangul.svg,sha256=yBegbOEu6bhTpCfjmB4LMycBJnRXH3rk1ThoDMJJkLk,264 +material/templates/.icons/material/syllabary-hiragana.svg,sha256=o2wV_ZoJdUwimk8y4NNyUh2SMi-DhH3ix7PJJf3PJJE,594 +material/templates/.icons/material/syllabary-katakana-halfwidth.svg,sha256=Iqxzbv82WZvXCI-31XlQm5fOKG0XhlTuo6j1WHI6mUM,176 +material/templates/.icons/material/syllabary-katakana.svg,sha256=aWS2VnQIva6ePpGW3E3op6fzlR-K6NlcnD_AFhyIaCg,192 +material/templates/.icons/material/symbol.svg,sha256=VZADd7hxJdF0C7qYyKFNiaE_KJ3uzh1yyfSyg3iJ1V8,314 +material/templates/.icons/material/symfony.svg,sha256=xy6vM098T1Bv8CZdQOVpoiR5THMLcdbp16erpo8rUc4,1137 +material/templates/.icons/material/synagogue-outline.svg,sha256=_EyFkvNPcjJxDu_dbgU6ubzQ8ZWt4T3mXnf5DixqcOk,432 +material/templates/.icons/material/synagogue.svg,sha256=jnHDUrhUb_gXA-Okdd4Rtrcz8Vm3ZQDF8OHMtWb4cl0,310 +material/templates/.icons/material/sync-alert.svg,sha256=IELUS6LmNE3LaILw8X9QskSZ3juiRX6A5cux7Xl-2Mc,349 +material/templates/.icons/material/sync-circle.svg,sha256=_n_zNGZ6va7ECfKs-ZhVAuYxK-SzM9_iNkPaKZvDR9I,306 +material/templates/.icons/material/sync-off.svg,sha256=A8yNUMGid0Oag9g2vQtthfaS_hWIS2_AS9FeC9HKurI,470 +material/templates/.icons/material/sync.svg,sha256=Kf6oV2CbxC-mYEEtSX0kTMrT8IPoq0s5dxCsagWibUs,270 +material/templates/.icons/material/tab-minus.svg,sha256=N6VOH7tHw0vVDDYlpNIDcEShX8isYULxTMWlDxHhY6c,180 +material/templates/.icons/material/tab-plus.svg,sha256=4WIu5SaxWU16zmUM9DdBp7AECIru99qBrze9acAycYU,200 +material/templates/.icons/material/tab-remove.svg,sha256=yfAJ25E-JuNo7SO1RF-vtDb1iMoAVFHQP2at3NP9IRU,296 +material/templates/.icons/material/tab-search.svg,sha256=Jcga0kQmCOzUPmNrnIWktipN7lgf0Z1Cc410uThfLVw,372 +material/templates/.icons/material/tab-unselected.svg,sha256=2VPVk0PmB8-iU7fWKagRGoNz5pLeIpaCMMdWMJf-E0Q,327 +material/templates/.icons/material/tab.svg,sha256=nNIzEYTZxq6WYhWrCmSmQ7lI6npOuzUg8bwXOVPGEtE,169 +material/templates/.icons/material/table-account.svg,sha256=hBTcH7Rale83mJaFGGeWzDRDnjdqvuU8tyQAHALOshM,322 +material/templates/.icons/material/table-alert.svg,sha256=TCTA691BjDSjYZppPX7Dfohgm9sQuX8ptmiQtbc6iYA,236 +material/templates/.icons/material/table-arrow-down.svg,sha256=3YqFVtLUG5AJsug5m1I5CmmFrFdBdW4wi39msLBH72c,260 +material/templates/.icons/material/table-arrow-left.svg,sha256=aHsCYumLsH11Ee9pxlQzGYIvMLbbOI9omrPDt7JIf5k,258 +material/templates/.icons/material/table-arrow-right.svg,sha256=czWYzbBIkqIr3nO038pB6LY-glTskJ5MTpi_UZFm3Mc,260 +material/templates/.icons/material/table-arrow-up.svg,sha256=kNSrQv2wmlozIsTfQiE9C6fqux1hO4_DM8--KdJGGro,262 +material/templates/.icons/material/table-border.svg,sha256=c6Ch_-EgujdfVFdnG3PhgpdzFFojJhL1bv63cYGfMQ0,311 +material/templates/.icons/material/table-cancel.svg,sha256=TEq_hvJuR3CSh3yVLxG4fP5mvbRRQeR9FmdlxS-YzGA,459 +material/templates/.icons/material/table-chair.svg,sha256=p9JXl5G-uiXOKyGwVp5fHX7Mf8EKt-AgIO_1WOC6QwA,175 +material/templates/.icons/material/table-check.svg,sha256=0P_ixlrtJUQ3DNemq02iDLfayx0eIou0VZCO2tJL7bw,293 +material/templates/.icons/material/table-clock.svg,sha256=IAcYff8qk2j2xDlWuq4vp6sPtskW1vLqxP8Qwe2i--A,440 +material/templates/.icons/material/table-cog.svg,sha256=akO9Leweb2xHhM7l52DdYgxvVHwuRcm0qa5TuHFduug,858 +material/templates/.icons/material/table-column-plus-after.svg,sha256=vxcqE_Xz-DLq54a98HQW17gnzDnAJcwUYLH6h67y2WM,194 +material/templates/.icons/material/table-column-plus-before.svg,sha256=1d_vi420TcLvQQNu4WKZO7esQ_ZJ3fDmYJ1NRdr-O4c,195 +material/templates/.icons/material/table-column-remove.svg,sha256=q8UF7IJ33_iPP2x09ao5ENrvWp5bgULe_hxOm-UFAmI,298 +material/templates/.icons/material/table-column-width.svg,sha256=E9oRYyVumXps0FnSsVnpeMj9dQzeXMUugAY9gbgPtm0,230 +material/templates/.icons/material/table-column.svg,sha256=yKuvarXvz8OmEmqr4q-7lhaJi4w5wy_1JMxXduwy8-4,186 +material/templates/.icons/material/table-edit.svg,sha256=HH7bK1zjX2Y1TaIzH6UkeScWpcjrb09sm4Koc-xuCF0,327 +material/templates/.icons/material/table-eye-off.svg,sha256=wmKf6uRPNdCV9xPPkD7qdLhvsrQ-pKSeZUNWNufAnT8,621 +material/templates/.icons/material/table-eye.svg,sha256=bprVbDC1aayZm2-E0--ZZLtX8Qv9UVWkBYN3LClHHnA,475 +material/templates/.icons/material/table-filter.svg,sha256=tk-n_I-62MVGaGzpvc9LgBUbfxj4MEaVxcmmXeNZL-Y,283 +material/templates/.icons/material/table-furniture.svg,sha256=Zc5Du7WRF_TQMUAdySe9JoqcY3nnCb26ojA7r0UWgac,160 +material/templates/.icons/material/table-headers-eye-off.svg,sha256=sx15IXiL9nrkVB0S_AABdrtWQMATk02uUSm_vTK45H0,499 +material/templates/.icons/material/table-headers-eye.svg,sha256=zUNKT1knC81FROMw3pC_MykPZYrULK3c1Xyj8R7mIBs,340 +material/templates/.icons/material/table-heart.svg,sha256=kldjqZYiH1mQwQp8maX9gWfRiSSl0r7hepx4ZMOwjls,369 +material/templates/.icons/material/table-key.svg,sha256=0IRxGVYGPRZHyJGRE0uO7HOOJ2BHwZLaprbQDFKqs5E,374 +material/templates/.icons/material/table-large-plus.svg,sha256=9r6orGiyKRJs1qsbaj2bJqq8U85Ri3e4lTu7LI_PP0Q,370 +material/templates/.icons/material/table-large-remove.svg,sha256=A6kjd6PUrdFj-YA5bID6IhATlwQWJNt8LKS0diLTUoo,464 +material/templates/.icons/material/table-large.svg,sha256=rSHDMzoBhA6krlyz3o0Q3S90I_zk-9Ow8QMDs4cQnIA,272 +material/templates/.icons/material/table-lock.svg,sha256=nd5p0oPswK8WDNCBTlCSKDWDFJH9EGrsp5RlS007MVE,405 +material/templates/.icons/material/table-merge-cells.svg,sha256=T0xhmOGhP4XpSjIRk1uEOEMeCs_GjhPP2x5mD11bI_o,202 +material/templates/.icons/material/table-minus.svg,sha256=Zsh6ru7C5kfWY1_k897-D_amYLILez67wK0uvdXdFz8,247 +material/templates/.icons/material/table-multiple.svg,sha256=SC2tKdCMHYDTZfyJhzCn_vaYY2UoGnm6cR2snVw0rLk,241 +material/templates/.icons/material/table-network.svg,sha256=TS9M4f4o3s1DnfLg7y8ARU3qN26v9W03RHEv_JDToDs,302 +material/templates/.icons/material/table-of-contents.svg,sha256=A4D0JbrXveXjRulvCXOzBpeY1Vxz-8sTv-BzVLyi8HA,163 +material/templates/.icons/material/table-off.svg,sha256=ChW-0XZxba_xxE4qhrqs6jQRpMgWai9n708RmETVU2Q,308 +material/templates/.icons/material/table-picnic.svg,sha256=rnukDQDuFVquDmt9xn_G0EaKJNyI-p5616DnRTSZKFc,184 +material/templates/.icons/material/table-pivot.svg,sha256=B8wOJaCR__GTWnkSrzd3GTzIZpowf7hr93ZjtTiGI5I,300 +material/templates/.icons/material/table-plus.svg,sha256=y6ChNGgrIrEdRr6KUtnsgC8KCSMUwIbWMcPG1AaKxVY,267 +material/templates/.icons/material/table-question.svg,sha256=BaEr7-DHtONYaqkN9lSIk5qLOpZzoxpeRbu9Zpff-H8,467 +material/templates/.icons/material/table-refresh.svg,sha256=2Kd-L3kDZh3C4LLGykuhZbqbZUb1w5K-tPX19aHfDmA,390 +material/templates/.icons/material/table-remove.svg,sha256=1cdkdxe3s_m35XSaQXcBxl8glV6Lqr2SYWjo41JBe6g,361 +material/templates/.icons/material/table-row-height.svg,sha256=46KCCvuxuzS7UXGXo-PFq07_CMRkLFC4WiihUzcRLjk,225 +material/templates/.icons/material/table-row-plus-after.svg,sha256=_d5N8KZEqpzT3g9UOv39J3g4KkrQmmBnZtE9c4WFi5g,219 +material/templates/.icons/material/table-row-plus-before.svg,sha256=fixCOAoxnTTsQRU4FaDzxkA9YWBAe1iNe4_v6nGGgNw,223 +material/templates/.icons/material/table-row-remove.svg,sha256=86koIckHQBkXVStTwALpFQviKbaNRCuXOgMLeFY7OAE,299 +material/templates/.icons/material/table-row.svg,sha256=jvK1jgW5Q_YzuUv4XeSIX-M9qorJj_NpT_JC0uUK04c,193 +material/templates/.icons/material/table-search.svg,sha256=eMOwjXvpqW5PAe5jYQOdgnGrwCjn2oqAEgyzvtX8Rjg,498 +material/templates/.icons/material/table-settings.svg,sha256=PnTCUcGN0M_PhYeNSEgVXGqRg_LH2pOzNIxgBCz-3MI,244 +material/templates/.icons/material/table-split-cell.svg,sha256=nEPFxaCdAEKWjHRxXEXaaVB6UC9l4e_zGrgs35ZKDhg,173 +material/templates/.icons/material/table-star.svg,sha256=VU0mtvbC7nqkBoYA6nN5YHyCwiGeTSguZ-2r5PZxEAU,311 +material/templates/.icons/material/table-sync.svg,sha256=Q4_SxYDu4HaGCIiU71whFO460k-qZc1quWv6-fiwcno,480 +material/templates/.icons/material/table-tennis.svg,sha256=RvDQhWIvbBCxL0o04sqtDhJkp3bEgr_DuEcn3Mdvjng,265 +material/templates/.icons/material/table.svg,sha256=tFxN-vT30y8w_Dq6eep71CafyhUW8eWC27zV6XguHrY,202 +material/templates/.icons/material/tablet-cellphone.svg,sha256=Mae4TesN5PKwQjOq-2R0ikmEaJscMMpe9iaVa9mKDds,234 +material/templates/.icons/material/tablet-dashboard.svg,sha256=J0eN0o386mErs0Epn2g59nHSchTbQsEJ9GujJxg8ZT4,219 +material/templates/.icons/material/tablet.svg,sha256=r2IkQdEKnE2kpIV2lgBcE-qkXJGgFsv_J-137v9ptXI,166 +material/templates/.icons/material/taco.svg,sha256=YDUggvGDpH6CPtApItYwfu6YoXh7byqleFCAuS-4ptM,334 +material/templates/.icons/material/tag-arrow-down-outline.svg,sha256=N6_jyv4Z1cKA2sazqeNWvf1ZRHf7pm_g46daJHjD2Gc,563 +material/templates/.icons/material/tag-arrow-down.svg,sha256=6BBqN64U3cC4fvG_a7udG9myjiIV_m9MYdhTUivrbmM,406 +material/templates/.icons/material/tag-arrow-left-outline.svg,sha256=GlM-ZwjXYULd6XDAu23Pxo8cJKc9Jgcnp1XTWY3Dws0,566 +material/templates/.icons/material/tag-arrow-left.svg,sha256=xtDVmkXCo8bb53iOIq3yxdY4fLgwcnAIS0Z2UQRFv9Y,409 +material/templates/.icons/material/tag-arrow-right-outline.svg,sha256=32xP6pkdmI-PRjQAzx4pchGAAcJ-sgUoI3THLXjdFhA,562 +material/templates/.icons/material/tag-arrow-right.svg,sha256=tmBk3IXyqtjkFm0lpxpwnJcUsljRKBG6dT6AiSz7w28,405 +material/templates/.icons/material/tag-arrow-up-outline.svg,sha256=nxTQX9OQfrU0NnHuy6F7mT7ZjptXAoLOY3lt_hOD5Dg,564 +material/templates/.icons/material/tag-arrow-up.svg,sha256=XI7ghYZBLoJ8F4Q7fBef5Hk1JR-_hnB62GB2-zG1gfY,407 +material/templates/.icons/material/tag-check-outline.svg,sha256=dxnO2FrDr3nOmXpfMA6SDw0gr2WsaM4hVy9qQvUA_4E,602 +material/templates/.icons/material/tag-check.svg,sha256=KsFvl8NpgQI1izn6_EPis4f2IsvTJNdmf5uRvriOH3g,445 +material/templates/.icons/material/tag-edit-outline.svg,sha256=0pd84aevV2mm8UR_ZlO496PRhCVBXlPHR9OgJ1hi4go,647 +material/templates/.icons/material/tag-edit.svg,sha256=3Ln-cw2aN8FfvB1NQ2EJ-q4deGh4HnXKXSb9-4gUeAU,572 +material/templates/.icons/material/tag-faces.svg,sha256=h-G-KADvGGI4qG6mJ1kmtSbIVoOFSyrStFza975OWPI,484 +material/templates/.icons/material/tag-heart-outline.svg,sha256=nEQq3b-ggrNESqy2iySfcO8aqOPJ1iypLQ9Y-4kJ4u4,536 +material/templates/.icons/material/tag-heart.svg,sha256=9Wb75ZaQVssvYpntTt9BP353dKvS9tZm9wBY7cUMVU0,528 +material/templates/.icons/material/tag-hidden.svg,sha256=9fo5wg79miTa19md4of-9_lfk-DB9VLPj9VDm-SjgFw,873 +material/templates/.icons/material/tag-minus-outline.svg,sha256=w4M4oZ927j5DBYHzC5My-Qvh0Pyn68ObMEELdGoKKBY,554 +material/templates/.icons/material/tag-minus.svg,sha256=J3zzCtq1qMpO4mpRiwUfttG3Exg0VQn1TUjTfM5Nh4c,422 +material/templates/.icons/material/tag-multiple-outline.svg,sha256=2Ftp9NRCCgUL8mWgH8CF0VVxh3lHANKPFDBXRLIcJps,380 +material/templates/.icons/material/tag-multiple.svg,sha256=NKrovv-M29MVnA9Ke6fRUyglLIKITHlki2bnzzVb4_Y,437 +material/templates/.icons/material/tag-off-outline.svg,sha256=YfdfpcUUfZ1eJv0pUzloG0tBhR6VvZ2BUvDxHNLy5Kc,488 +material/templates/.icons/material/tag-off.svg,sha256=LqJYUiFcgKCg21BmUxNJLswHXzB9eA_RcrGhr2CnAeU,348 +material/templates/.icons/material/tag-outline.svg,sha256=UGM2E_orba_oMg97aYHP8SaThwIzRc2IxzwUEGS3tCQ,290 +material/templates/.icons/material/tag-plus-outline.svg,sha256=AA0JFXk9flInzl4whz5vXf4iGWQ3fAJCg2ClHP5YrEk,477 +material/templates/.icons/material/tag-plus.svg,sha256=5aXbbgfSegLtWORWPGZr60-WWWYY8GXtMSTXTchYEiM,440 +material/templates/.icons/material/tag-remove-outline.svg,sha256=2_eMJTl5kPc-nw1AilbxaoR4liBcbogsQ0sn8_-BN_g,561 +material/templates/.icons/material/tag-remove.svg,sha256=2_BfB11FrgqGg4xfP0WiZlP74HsLuiESDTAQtpG8wAI,532 +material/templates/.icons/material/tag-search-outline.svg,sha256=-e2JNKk6srlrSk6lBl9LRR7M3Tw2Vq5IJq-L22qd2CA,627 +material/templates/.icons/material/tag-search.svg,sha256=780x-RSul-5kVrBJlBVI55F2J5mV0VZA9JN2z35mwEU,588 +material/templates/.icons/material/tag-text-outline.svg,sha256=czERVOrXcTacEM69_BKwopPwGAiVHGyaOQBoXflsp_s,369 +material/templates/.icons/material/tag-text.svg,sha256=qp5-k6uoC6haUlBZnuGrtQ19HNHVMouA4Uj7kkMakJk,325 +material/templates/.icons/material/tag.svg,sha256=8-ECv_tS-dI3orOmKyvu7VvuKOsmvfIq60yIvaDAWdI,350 +material/templates/.icons/material/tailwind.svg,sha256=u5jlV3ZbQgHqH2a9M9PJxgZAEYA_XQTcTA3njgBKw6M,470 +material/templates/.icons/material/tally-mark-1.svg,sha256=uQTa6BwmRxIe4W81G9YnIgT5DTixAklbpEUarBEthTQ,95 +material/templates/.icons/material/tally-mark-2.svg,sha256=jNOOotmsoBAOEGuBIz2rAuWPrMsvpDbXalcycrMoJwQ,109 +material/templates/.icons/material/tally-mark-3.svg,sha256=PZXlnNLihxnBYnPVGpxddyxlfMhbS2A19wbJ0dmeXG0,122 +material/templates/.icons/material/tally-mark-4.svg,sha256=PenIDkcrg_JxRUbpdql9wxMPzuLdxFAD_LCuvF-sQkY,135 +material/templates/.icons/material/tally-mark-5.svg,sha256=nxgKtU8cYgCpNtexU3Ag5ezF8kBeOQSmLh88Pu4I3vk,248 +material/templates/.icons/material/tangram.svg,sha256=Ne66oYDV40sO92hiiz157QorZqZKf24yYPS9ZUTHePE,373 +material/templates/.icons/material/tank.svg,sha256=wvlImEU0BrhwjQCKxpMsgyy6zn7H_sDgvmiVfH0dsVw,378 +material/templates/.icons/material/tanker-truck.svg,sha256=D5Pz1JR456IdhVtTisi_4je7C2zDGXB-0s0UgdEQWJs,429 +material/templates/.icons/material/tape-drive.svg,sha256=Lc55ZPU9NIlzZBbpG_caBb0VltYNZuqv63MJspEHVHE,273 +material/templates/.icons/material/tape-measure.svg,sha256=YQU3qbZg3FwUuERAfm-APtg9JdxOymBjdAMVK5iTdfk,216 +material/templates/.icons/material/target-account.svg,sha256=t86sFolR1cO_PLKXgmOhQPO6farzSZHq7cvJfqiQzfQ,504 +material/templates/.icons/material/target-variant.svg,sha256=LJVsvLEsfHGEteWiLR1y1vS1BQpdOf47-XA7KZYoRNc,352 +material/templates/.icons/material/target.svg,sha256=nplZVO--cU54eW0y9Wi6vc0StxqdZLcxF-lP832qEDM,443 +material/templates/.icons/material/taxi.svg,sha256=j8QXKjUOjyMeH4ZHos1jVZSqQj1EbM7hfL61MteUwYY,436 +material/templates/.icons/material/tea-outline.svg,sha256=kglyG60m3KZHWCn0eMF2SkwaxBfD5AMtXE-jXOXO8cY,454 +material/templates/.icons/material/tea.svg,sha256=FpwEv3ZTUnC67T1lZy92ZbT9nHUi0UhzQ8mqNavGCgg,363 +material/templates/.icons/material/teamviewer.svg,sha256=pz8y9CTEIt714D9Pxbt4p39nedsZIFSxIgfcznAbDzo,425 +material/templates/.icons/material/teddy-bear.svg,sha256=71djzCByqrVssLujYLh8uJiwi05ZLPDGPufhG0E5oiY,1041 +material/templates/.icons/material/telescope.svg,sha256=0U7Z7DKO_eymvEFXcN0-FtTSOj0zUvjfDFlP7ljIA98,311 +material/templates/.icons/material/television-ambient-light.svg,sha256=QFq7BDSnED7hJleQkJetjV82I97SPnkjOCaggm8RjEs,442 +material/templates/.icons/material/television-box.svg,sha256=PRfVqmcufDmJ0_p4cdqDha_p9DhslzLUK7VPXy9fGfM,205 +material/templates/.icons/material/television-classic-off.svg,sha256=02P4OzoOC8eIxS5nxUdm_fxtDepG21fFsXt-IyeIcJs,437 +material/templates/.icons/material/television-classic.svg,sha256=QKnP43GwWeDsUGuRdWUABuZ1FLvu6ksyuK1f4CefL0M,357 +material/templates/.icons/material/television-guide.svg,sha256=EJL7l67_vsdWIisAyG5h8fPExZX9WwUoNcYjOMaOT5o,228 +material/templates/.icons/material/television-off.svg,sha256=R13Nqgx-s5CAsvebABNwIEMZYK1e283RiRjfMjArG0c,270 +material/templates/.icons/material/television-pause.svg,sha256=FhoDjCYK4HEKZZlUH8VqnU8U8FSvCzIACI8HKyVf5aY,191 +material/templates/.icons/material/television-play.svg,sha256=m_iprSFZufm9nfJNVUhzn2wYW5AP9M--PQf0UH-RWXM,184 +material/templates/.icons/material/television-shimmer.svg,sha256=74UhN3tzJDYkes7Nq-BJxBTNlPrmJoI97i603EnCB1s,321 +material/templates/.icons/material/television-speaker-off.svg,sha256=1YlLVtkLw0cW_OZeuPWzgEU2oPBsrKRp7a5_Q3CF4SM,467 +material/templates/.icons/material/television-speaker.svg,sha256=FoBMzd93P75vUjgUvSvGj2mGMZzNQgN75o293HM4TxM,444 +material/templates/.icons/material/television-stop.svg,sha256=10jY6O-mipah3p9mdf5c5ffh_0jGD7-YR1wx7K8LJsU,190 +material/templates/.icons/material/television.svg,sha256=I56v82UiZ-nrDdoPvvbL8xf3JTynFAJxWkG91trB6yo,170 +material/templates/.icons/material/temperature-celsius.svg,sha256=HChN7duUgsFDmy11F2wcC6cB5KbsxKVFloVXny1aodE,397 +material/templates/.icons/material/temperature-fahrenheit.svg,sha256=Wp-HgRE7UxosSND3qyp3W5p2JYpJAhQ_9CsBC3Tdha0,228 +material/templates/.icons/material/temperature-kelvin.svg,sha256=hzjnU9a7YjGjRvL3pqUoQ86ejDCIxsGvA90bC4NdS_8,143 +material/templates/.icons/material/temple-buddhist-outline.svg,sha256=haom1FlU9_2y5_7egaPDNV2dfzReoOtHM0DbUh9xDqc,384 +material/templates/.icons/material/temple-buddhist.svg,sha256=iaS1FgGyCn0eu0_zPY3LAyqhLHTBVd_JSfc6Brw_snY,308 +material/templates/.icons/material/temple-hindu-outline.svg,sha256=DX-8rrI_Fwh_ZyGnOGr718h8jIX8kQEqEOPMmJcDBLY,237 +material/templates/.icons/material/temple-hindu.svg,sha256=AKkXjzszplWIJIC4Pze7MasEMC9NywePu_pFnYlXOOY,181 +material/templates/.icons/material/tennis-ball-outline.svg,sha256=Lql-s4WNEiegX4NsGE_jQvefz-8lIQH__etkoEGdceA,779 +material/templates/.icons/material/tennis-ball.svg,sha256=u3V1w54CLn6SOBSpJoWQ80v6R5LuaTwcNakQdxOaYfI,472 +material/templates/.icons/material/tennis.svg,sha256=7yd449TLTKYtrHkR-uYUB6RRSK0a8lHv4Ap1EhQj4Uw,535 +material/templates/.icons/material/tent.svg,sha256=rq8cGeNRsslqFN4q8uEqnI__wO7TSln0cc30p6_RyuA,210 +material/templates/.icons/material/terraform.svg,sha256=BiFBtjUm7FdY7hgM9EN3wLJU5TxjDy0WaMHiOeFK3nw,202 +material/templates/.icons/material/terrain.svg,sha256=pSdSE4bJqPQ2fhfbokkoDFGZWjBbX5Es5_FrRChdp4c,142 +material/templates/.icons/material/test-tube-empty.svg,sha256=i61EPon13XA763JdFYw8i1453QprAwF1eSCAqswY-ZU,168 +material/templates/.icons/material/test-tube-off.svg,sha256=lJvS6_JWdRgjDC5sxDm1GmFZmpXP1Tr82UoNaYmZrfw,346 +material/templates/.icons/material/test-tube.svg,sha256=FkhtcXZEQQ1Zqcf_3fTPYi7OOdV41YEubr_JhjcsOa8,232 +material/templates/.icons/material/text-account.svg,sha256=eBDvNZhKm54SQ2S1UfyFQwc0KJJZ7yocSCZatwlmBYQ,206 +material/templates/.icons/material/text-box-check-outline.svg,sha256=-6118w4xcEbHu5JP2OIbOGL1AIirFT1kVkvg7R0X7ks,324 +material/templates/.icons/material/text-box-check.svg,sha256=4d9D7W6CwpKLcIYHYVha86Bl_e76cV5t6Ru9q54m6Qo,301 +material/templates/.icons/material/text-box-edit-outline.svg,sha256=RNRtysUhIVj1F7B6cz6duxyljg6SiF395B-JDS1Jkwc,396 +material/templates/.icons/material/text-box-edit.svg,sha256=-pJMW2Fw3tA9E13MIxlzYZEUUxS5VqmYdSw8WDsFktI,380 +material/templates/.icons/material/text-box-minus-outline.svg,sha256=Kk0eZTithoWBFC-PJj03lcK37d_S1V37TPzMxLvob9g,283 +material/templates/.icons/material/text-box-minus.svg,sha256=Wrlx0FU0o9dqPdJV6TRksYXJQaN34Be-x8my7x2CkeA,266 +material/templates/.icons/material/text-box-multiple-outline.svg,sha256=s9uJHu7gZKcBhLpON0HsgMrGdRIDi-XBy7xIWSd1AxU,242 +material/templates/.icons/material/text-box-multiple.svg,sha256=KW_7qjtVT2kviZzUd1GU8IAo8xfWDmEjv6JxcLAExo8,223 +material/templates/.icons/material/text-box-outline.svg,sha256=1CMSHBwocKx4M2MRnh1p-ddZQxt15PplaB3n3XgtrtU,215 +material/templates/.icons/material/text-box-plus-outline.svg,sha256=zwoHYJzw51pXDfgs_Dzl3nityyeB1Tk9zXLfknnGmWo,303 +material/templates/.icons/material/text-box-plus.svg,sha256=vxdf5zgxFb_KnWSAfvSoRu-8BtCkjM2sAQVQV6Mqs6Y,285 +material/templates/.icons/material/text-box-remove-outline.svg,sha256=ROSHOM6ZUtWhY7uKaqMXva_GkaUvrcAfNqYmu7Jl2Ro,397 +material/templates/.icons/material/text-box-remove.svg,sha256=6Pv-pzx9lxlUcwzg2FjP0RzRZmZdf-oQOE6rtSC6duk,380 +material/templates/.icons/material/text-box-search-outline.svg,sha256=z9lNXhjWa8Nh6ntqb7YCiEAIwenthr3f04TGaQJDGpc,521 +material/templates/.icons/material/text-box-search.svg,sha256=r0GWeLRd6omXVW0wkn_xuxQsn3souWw2VDOHJvQQo-4,490 +material/templates/.icons/material/text-box.svg,sha256=ylDMa5hAqu75fArKDgWiFnwNOXTBxC62Z1ysQuGaa1A,189 +material/templates/.icons/material/text-long.svg,sha256=gAKjG-pPkkVQMTYX6MTErTOIHS7ySXqFlnsxylacUps,133 +material/templates/.icons/material/text-recognition.svg,sha256=OE4OagdkgQJ9xgnnYNDRuBhIUBjYzMSKwaz6J8feyu8,232 +material/templates/.icons/material/text-search-variant.svg,sha256=KW3jwPHcKiaBaUnQcerfHMxiCHLFfW1bkUM9yx0Svjs,318 +material/templates/.icons/material/text-search.svg,sha256=KVqoR4mBiB4OiFLyXemWu-BXyzB3Eq-MwT-t5VOflgU,344 +material/templates/.icons/material/text-shadow.svg,sha256=Y2UxsdcvDVj7xnztM1zczNomL0amCTjpvdMIu-rFz-w,198 +material/templates/.icons/material/text-short.svg,sha256=D8RsKgCjqLW2cdgGGypGPJI2c-kjx3ndTBGof9yN6lY,106 +material/templates/.icons/material/text.svg,sha256=fzYtYLLDzei7SUDerX3a5MffluN6sUaJEwQDOinjdcU,121 +material/templates/.icons/material/texture-box.svg,sha256=Sz27n0DCyaj_ZVzB46DLkhnGc3YOZw_kqPFLbk0z5_k,261 +material/templates/.icons/material/texture.svg,sha256=TVeNZX1ZsYB942fzZkB4RkDWKJyygUzVx84fZ2txxiY,310 +material/templates/.icons/material/theater.svg,sha256=qO0SQ6WpTmfDz4IDogzb3d6jOjpJcD2UpWEWEKaJIUk,309 +material/templates/.icons/material/theme-light-dark.svg,sha256=UiAJj9uJ9bKhEs0L7VXJUkT-x0RMMT7U4PNOZVGxaHQ,647 +material/templates/.icons/material/thermometer-alert.svg,sha256=TYeM3ADbpbYCfeVoc4Z_h1spjFrnDntgasdvIJcQ0S8,243 +material/templates/.icons/material/thermometer-auto.svg,sha256=sFyaTJWPJGfFteFy299obA_qITsY8NylrgXCOqF36Ck,277 +material/templates/.icons/material/thermometer-bluetooth.svg,sha256=SPBFCST0zntytKsnuzujQksM3dZp4fHI0un1p6nEYMU,389 +material/templates/.icons/material/thermometer-check.svg,sha256=1Y0EBauICOLNrb6sIqI8k3nnBPzKQolPJqVDAVizxTY,296 +material/templates/.icons/material/thermometer-chevron-down.svg,sha256=8O7kPQUlJwXgX4mKVFPAO1n4j9JLhOosRRgUcGgmDv8,289 +material/templates/.icons/material/thermometer-chevron-up.svg,sha256=W9SG7oGZ7l4n95z7DQ-kcx6aLfUoJWnK86krguATGgk,300 +material/templates/.icons/material/thermometer-high.svg,sha256=2c3EAopxB1XoCOhDY8MVzELRUVnBQUgaf6DCFupZxWA,153 +material/templates/.icons/material/thermometer-lines.svg,sha256=pnEUqizIn65JDjoRfvijZYd2v47r_0-0GgDaeycQyTo,401 +material/templates/.icons/material/thermometer-low.svg,sha256=x6NJLVg_tb6Bsh_sq-Q1Lv3v-genhwREvs3P474HZlU,157 +material/templates/.icons/material/thermometer-minus.svg,sha256=wx15UUqzQSmStc3rULA5fyuitVCRAXPXEHMqSsddC_o,248 +material/templates/.icons/material/thermometer-off.svg,sha256=SQlxHtqhmVTqBNm6_J-MSBXs4xA5Xaf_wLiuHOETKnc,297 +material/templates/.icons/material/thermometer-plus.svg,sha256=4CfFXj9OtP95m19WxMA4K-jwZZaNNMELrwDHwdUe9eM,264 +material/templates/.icons/material/thermometer-probe-off.svg,sha256=hpcbQkPYRj7sRckua1edQqEIVyg1n_eSJ9M16UW6cFA,303 +material/templates/.icons/material/thermometer-probe.svg,sha256=ywZwj-rYAw8pbUKBQRTkDqSyAkzEf53nPyj2_ucIVaA,341 +material/templates/.icons/material/thermometer-water.svg,sha256=AZCRiyjd2eTuBE8rZaIvJ8Wh_0YiA70uqXXP20U_T-w,289 +material/templates/.icons/material/thermometer.svg,sha256=5OwwfcOfmDZ6nOH2ymJlYkBO5SZInmWJNmEpHuH_iyQ,157 +material/templates/.icons/material/thermostat-auto.svg,sha256=WtfeXrHIeRnGxZZZ_u771DmKfeJETlRvD4-eBf6rT7g,497 +material/templates/.icons/material/thermostat-box-auto.svg,sha256=1cymY0uxEDO832iF1TK_v1rPSUBYiAe91Lb7rQbmJLs,425 +material/templates/.icons/material/thermostat-box.svg,sha256=2JwUI4JIjZssRoUs6TsKRMyOm_601emezb31PWnix94,415 +material/templates/.icons/material/thermostat-cog.svg,sha256=vl2vydpF22-1E5foujlObz_HA7L7kJNdVht68z6RXW4,1209 +material/templates/.icons/material/thermostat.svg,sha256=yxsH1ToePfrATGkkUOSicp0dZnDkWlPtP4CMxuFAmLo,425 +material/templates/.icons/material/thought-bubble-outline.svg,sha256=aXusLIMfvouKmvUfl1OTLXHGIZW08tDWUN09nX1DsBM,974 +material/templates/.icons/material/thought-bubble.svg,sha256=udtL1mGsNPZaZB3H5pp0LJc2TpWb6oVofrqqCXXT0i8,556 +material/templates/.icons/material/thumb-down-outline.svg,sha256=4Qguei0nVtggHwgM_2cv1AGXl6fr0abGg-02kl14qwY,315 +material/templates/.icons/material/thumb-down.svg,sha256=jxFu9FRrI5Erc6viZa7VBNniwKCYo3aEazMuDoIXaw4,284 +material/templates/.icons/material/thumb-up-outline.svg,sha256=2QjC7xX0DwTHZWrPbKmiwR08ZmDR17MY516O0uNHtHI,311 +material/templates/.icons/material/thumb-up.svg,sha256=T70Ik38fmoObKth4iP22yCQUh-5pHr8n5ZtBzPE0KyE,289 +material/templates/.icons/material/thumbs-up-down-outline.svg,sha256=TP9jQt8qpQ816wSD-IcyXnfCCKV0jUyTbg9WEtyB51Y,554 +material/templates/.icons/material/thumbs-up-down.svg,sha256=AvwvpRmOWZOE0UT3D4jz7daT3WE4fmgCzIBfnkf0WiQ,452 +material/templates/.icons/material/ticket-account.svg,sha256=DEq3D9jpyuVVjTmza92HuMFU6VSVWoR8wOwIS_l1aLo,375 +material/templates/.icons/material/ticket-confirmation-outline.svg,sha256=fMjUmWueNuI8_EeZmP5r9pT4qqLRo0ijjEwAEwMMeKw,342 +material/templates/.icons/material/ticket-confirmation.svg,sha256=Ppy1ooX41s69BCl-GxluWwRyRCJaP1yzPeESpYipkRk,260 +material/templates/.icons/material/ticket-outline.svg,sha256=FLmgztCNaDuvY_osybXlBj74vidsJ_S6OVBEXlKpJ50,325 +material/templates/.icons/material/ticket-percent-outline.svg,sha256=y0Qj9hY-X_ZZz2Kjj0A54HETF4e--WlNeCqbiYv_n1E,457 +material/templates/.icons/material/ticket-percent.svg,sha256=6Bx2ohgaL2NwMRb152LvyyHoDgJEl07mpDQ9J6X6YCs,467 +material/templates/.icons/material/ticket.svg,sha256=OhXube6XtYQpRvGZLydNTSOQCHiN1kyZKjd1-zFKr20,302 +material/templates/.icons/material/tie.svg,sha256=_L4h8fKAK5n8cCndu6k6_F1-N19PfgWz_J40c8Qn8Qs,109 +material/templates/.icons/material/tilde-off.svg,sha256=nulLBJ6-yWDyeGdnM5gFEQWgh4PlbSEYuxHEaaD3IdI,283 +material/templates/.icons/material/tilde.svg,sha256=R_38JoUHhDW9VU89GDYSuSf390yo-_oNqgRBh2ZxuxQ,177 +material/templates/.icons/material/timelapse.svg,sha256=bcbrACyjAWYldyLiBnYRTmUweFW9BBv-qTCqlRcS0y4,302 +material/templates/.icons/material/timeline-alert-outline.svg,sha256=zxHtyEp4bBdtub_TKBXPAL-z5TLsXtSmvX4YQk-i_ts,274 +material/templates/.icons/material/timeline-alert.svg,sha256=_MKI5PJTc2Pmzkx1tQpYCc5aA8B9f6UoDB-5JBUtzHg,259 +material/templates/.icons/material/timeline-check-outline.svg,sha256=nxhGEJJjqoDWhoK5A15k1sfdDhJFaWzD0_Ukxp3QdSM,306 +material/templates/.icons/material/timeline-check.svg,sha256=E349jtsH1OdEtQlIPEVFJU5Bu3KgGBKRmVSCLiW-8m8,312 +material/templates/.icons/material/timeline-clock-outline.svg,sha256=F14IaMqOuRcV46Dg4ABgk4K8mw5G3QgLpVgF3SmjlwQ,332 +material/templates/.icons/material/timeline-clock.svg,sha256=GukbB1rnpU3h0LD6MWE4uFZCiVa7z1t4ykRasVaZ3mA,278 +material/templates/.icons/material/timeline-minus-outline.svg,sha256=EtEv-VHo0nWzn2nsxAOqjmQWABdL_Gfe40SGwyW6GiU,276 +material/templates/.icons/material/timeline-minus.svg,sha256=zXDxInVKF8aaN0trkocDJLI-2VjloT0xjK_SHsHAYjc,260 +material/templates/.icons/material/timeline-outline.svg,sha256=6s9t5JOmsdTcfR_kRaJlX-mPMr1Oj78D3eBW20H39Ug,247 +material/templates/.icons/material/timeline-plus-outline.svg,sha256=ZOvXMu0wLK_L6tEQWZG3h113sMwpBAsZ5WawBOCN2Xg,280 +material/templates/.icons/material/timeline-plus.svg,sha256=TI8iLjpi7_Ka0UeWo_jCysB2GU8WlbhVLumpkkcmTuo,265 +material/templates/.icons/material/timeline-question-outline.svg,sha256=0L75LHO5psaH3XNePCd2pDETYtRXceLRNuKJ4zcoy10,493 +material/templates/.icons/material/timeline-question.svg,sha256=ce4AQSaq658kaGZU5Eus6_iBuGu_crAyO73LJNkWfF8,454 +material/templates/.icons/material/timeline-remove-outline.svg,sha256=026t36SkPMKeYzOhaNtK7ekOLNz30qVMMiUOhyebiz4,390 +material/templates/.icons/material/timeline-remove.svg,sha256=RUlXD2BVQm6zcAa3UCumfPzfPwbKLoDJ2NfaoX0kLJA,371 +material/templates/.icons/material/timeline-text-outline.svg,sha256=mCZqm3OkidU2cojN9LzGdSK3UgS5tPrnkO8iyLavDKA,297 +material/templates/.icons/material/timeline-text.svg,sha256=G5q6OMt1VBjEzQmqqY1rnULTd2QZDUgQIgqZqkbZyRM,260 +material/templates/.icons/material/timeline.svg,sha256=ZYIORxURhPYntFl0Bf9v_uLgbOZgKelA3PIvdx5DglA,231 +material/templates/.icons/material/timer-10.svg,sha256=sDdnVKTSO3IZ16RWens5uTM6fEt_uznuqgaKUsjGI7w,1796 +material/templates/.icons/material/timer-3.svg,sha256=8cRYSKdMRdRb4n17V-pSZnDrwrcBsiMhx-hpdA-22HQ,1978 +material/templates/.icons/material/timer-alert-outline.svg,sha256=8au2WwEfBXSXWImLo-ihU-ugSRyZiG9QxdeNBdmYPi4,318 +material/templates/.icons/material/timer-alert.svg,sha256=JpE9IVsnZ4YHLEcQVFB3z1T_z6xMi7GR5yxOA9lX4n8,270 +material/templates/.icons/material/timer-cancel-outline.svg,sha256=P8E2Te9eFWn0xi7LM7kMndLAMjmiy-9Nav8wWb3tPTw,576 +material/templates/.icons/material/timer-cancel.svg,sha256=N-Eeof8aRrTyslr72n8U5urTvKznl-ppL8bEickd2kM,510 +material/templates/.icons/material/timer-check-outline.svg,sha256=ZWGcsrSJEu5flRLAzFUeAB4yc5Cao_dh967gosDeI5s,418 +material/templates/.icons/material/timer-check.svg,sha256=rCmkl_zi4chXhhMJUosIAziZHZJsrVO55GFXwGuhco0,368 +material/templates/.icons/material/timer-cog-outline.svg,sha256=3fR6xZcwvlQVzOxsLd66ITHvvAvnb8JrymJbpMPd6xs,762 +material/templates/.icons/material/timer-cog.svg,sha256=yD9ACqvpDJ2h140qyYF0d6x_ARDd7viyqAA5STSrlQE,741 +material/templates/.icons/material/timer-edit-outline.svg,sha256=Ag1y1oU_lXr7YCOh7j0QiVLFZUgwf9h-3E1mJ30lxAs,460 +material/templates/.icons/material/timer-edit.svg,sha256=kZt5EXdosaoNfSHCCHshM89JKf8zxL2M6zgvgC7kDnA,407 +material/templates/.icons/material/timer-lock-open-outline.svg,sha256=tiegn3GO_iaeUVIV9J0CsLIdN0nbdRJfYHfo9E5pOs0,591 +material/templates/.icons/material/timer-lock-open.svg,sha256=0kh8jXoYYdxdvuKY7474-RwfU8VhOyfSiGpDULh3xtE,536 +material/templates/.icons/material/timer-lock-outline.svg,sha256=CGXE9qF5b0sGEG_mvWOegvNnGVO9NX0eadh2CwOnrZI,597 +material/templates/.icons/material/timer-lock.svg,sha256=Zp6FY4_9RxS5O-zHzsDgfH38bphLxAWRHNXtyoXpvB8,543 +material/templates/.icons/material/timer-marker-outline.svg,sha256=pFzYZnF4wv7A0JCoaSBMmDMHv2Ta-6e4QwcTKHzeF9o,532 +material/templates/.icons/material/timer-marker.svg,sha256=a8WfaO2anChpeZurjg5aFhbyZHi6b1MEWYTzaxRBYpo,473 +material/templates/.icons/material/timer-minus-outline.svg,sha256=P5llqGvNTvUWU0SbviX-GvwrrzwnyHPBimbE-l-pTKc,369 +material/templates/.icons/material/timer-minus.svg,sha256=q6PC4NY2WOdSd9KPvsM0nd4g4yYgCMBl8P6lpNpp_lY,324 +material/templates/.icons/material/timer-music-outline.svg,sha256=d61crCMJvxvkXaQ9vrs2UATgHjp8zDOmPMJlIhlOq8w,445 +material/templates/.icons/material/timer-music.svg,sha256=0-hhfIuIf-NIPJ3GUpK_0eDOaYQOdn2XmHIesnG15s4,371 +material/templates/.icons/material/timer-off-outline.svg,sha256=FoYcynF9qs9Uc0QRkjADsLIstEOIo4IE7NsK7O4Xfjk,512 +material/templates/.icons/material/timer-off.svg,sha256=xMU57AvaAJhI6Lcq03Uv2YR_vuKLUPWMNAgGgVYgdTA,363 +material/templates/.icons/material/timer-outline.svg,sha256=-7_1ki3wSY_RP30_T2jNpXs74IHhcAP84yL4SBRsavI,314 +material/templates/.icons/material/timer-pause-outline.svg,sha256=F6PkAd4IzxHzc7Z9obXdZ2ryoNUyyJ6ut0VNslhdTHs,404 +material/templates/.icons/material/timer-pause.svg,sha256=V-WYCcw9My9H-BukYOgUvUVsdEedXpEIJBzRNzQxKbA,355 +material/templates/.icons/material/timer-play-outline.svg,sha256=xD4tOWo9ph156vmyPbzVyt6KUywT4VnWE9ehIf7NUQU,369 +material/templates/.icons/material/timer-play.svg,sha256=y_Y4-R6aW2TCTW7--3Fa4OI1DgaUUgIp_Lg_pLkS4Sw,319 +material/templates/.icons/material/timer-plus-outline.svg,sha256=oh_otItNI2THKvKC8-TjMQmsGerqc8t6tbe6c2YSg7E,389 +material/templates/.icons/material/timer-plus.svg,sha256=sm6_rYoiZFSoZnK81MDZthwaPRxiUN28KWzizoPls58,340 +material/templates/.icons/material/timer-refresh-outline.svg,sha256=NeZe0KTnm3NbE-E61Pkx8_XH4zSa9JvHvQFMKOoErxk,484 +material/templates/.icons/material/timer-refresh.svg,sha256=fUwymsbaKQbF_YOW17oMrOdejY3wLclO5Z3HOaJqphk,417 +material/templates/.icons/material/timer-remove-outline.svg,sha256=RaVpK-EPieO7gjQVGWd1bPafUhxg6DgYl4cwOR-SSLg,488 +material/templates/.icons/material/timer-remove.svg,sha256=KO66UJJEJolHv9ihDEz6eK3-grCbYLhaWMSqm9_10rU,433 +material/templates/.icons/material/timer-sand-complete.svg,sha256=tFPHC_RMy7rNIASHldNkW-p4BGRSS0iWWaTENVX8aVw,173 +material/templates/.icons/material/timer-sand-empty.svg,sha256=YyWMXDHgdYCu7fDiH-BheZW0G2dpuJfzYuplVAk9rCE,162 +material/templates/.icons/material/timer-sand-full.svg,sha256=fbptQ148NNaQ2hOqzFSihJMCB4aiibsYss2-d8kXe80,114 +material/templates/.icons/material/timer-sand-paused.svg,sha256=xEwuG4Yi0jBIKaiBj5vFY8T4oNls98L1sTi6EAeNOlQ,185 +material/templates/.icons/material/timer-sand.svg,sha256=TWIGR9URomCTQGeY9vknKdvY0biURy8WWrI8mXKF8yQ,183 +material/templates/.icons/material/timer-settings-outline.svg,sha256=h7OHP27PeNSaS_rbygjX6v28R59nIdp9CVoH0NUJ0Vc,308 +material/templates/.icons/material/timer-settings.svg,sha256=Mq9Xmy0aez6PWRcO14_XDYbs1MrvXSAQI0SRj1vNMpE,258 +material/templates/.icons/material/timer-star-outline.svg,sha256=6hKngAMEpZlE4FrCTW0718dYnUEU8i9G1o3FmwDYRyQ,453 +material/templates/.icons/material/timer-star.svg,sha256=0BocLruMMs229qOkkAy9Dv82kq2-gNb5vElC67039wI,404 +material/templates/.icons/material/timer-stop-outline.svg,sha256=F4LuPHs9WIn35ytYNcWSHoTKPLRwbxkwx5vLEkYwu-w,374 +material/templates/.icons/material/timer-stop.svg,sha256=KBkLy_1SZrymQ0QrGUVvq0iIg5L2xPpu4PXmNCQcJAQ,328 +material/templates/.icons/material/timer-sync-outline.svg,sha256=EURenMLlE1udVmzo2QWDxAbtC0yKY200xS9iMU7b0Zk,640 +material/templates/.icons/material/timer-sync.svg,sha256=O-wmNDfneXydDZKodAEDA__eHoFCOC0QCxrool6wNFA,539 +material/templates/.icons/material/timer.svg,sha256=6zvHlaAIk2WmwB_ypxrHwcv130GvUc6l5BKSA-C-_Qw,242 +material/templates/.icons/material/timetable.svg,sha256=o0FkUoZ5JSf_3rSen7xGZMVVnHgfMqrFwoyB2O4EUpI,455 +material/templates/.icons/material/tire.svg,sha256=oMyWABT-83J9KrWDmrkF_btZ7ilE3WOKk4cH12mOUeM,676 +material/templates/.icons/material/toaster-off.svg,sha256=nYykco06qB51JnXvGoMX0aOqnlaJ1CsjqKbk7lMjv3k,318 +material/templates/.icons/material/toaster-oven.svg,sha256=6ECb1FoXNZPHExd-2TKoUH3HvKMq_UW7MT6lxoKoH6s,297 +material/templates/.icons/material/toaster.svg,sha256=s9IyN01pUVA-X_3zS05cyE80MGAmLEGltREbS5zi7H4,207 +material/templates/.icons/material/toggle-switch-off-outline.svg,sha256=vrL4I_FnfPM9eQmJwBVTMrHcGaxxy-2K5CQmxpEN1Ic,277 +material/templates/.icons/material/toggle-switch-off.svg,sha256=K5tkbT1pqSyefs_0B_SAk5nty8_ZPZ3g4e4Q1QLNtw4,206 +material/templates/.icons/material/toggle-switch-outline.svg,sha256=WJL35ERuT8Hn85iifC_ZmvRpCwzR9dfD0mU-yPSxvdc,275 +material/templates/.icons/material/toggle-switch-variant-off.svg,sha256=kQ_F1VBX37JuDDTaZTES-rgb4H27Ogs6Z01N0SAiHTw,368 +material/templates/.icons/material/toggle-switch-variant.svg,sha256=q5v06hA6QAQJDH_O2DPLIL8QSXMyeeyCtIqY6hWYaIo,299 +material/templates/.icons/material/toggle-switch.svg,sha256=x8oBBDXP1GytTU6ljuphDljYYeqZoL0Iff2br5yUVpo,205 +material/templates/.icons/material/toilet.svg,sha256=zdvWs06X95PN3U5C2POd-n7NQ39arlF9yseh8iAUTeg,275 +material/templates/.icons/material/toolbox-outline.svg,sha256=QuyXIhq9ocIfYLaCZ737jSHTpn5R7EHttB9qrN-xzmg,246 +material/templates/.icons/material/toolbox.svg,sha256=_4tXaE6h-0N2Z4dceDsubJIOfqe56w-skv5Kget9dt0,230 +material/templates/.icons/material/tools.svg,sha256=1YqQq7pHCcn0mVGGZUOJy7-L3_bYh9fcIhtoqoLCxF0,387 +material/templates/.icons/material/tooltip-account.svg,sha256=kPUC6MgHtO-SdU0PV0eN42YomAtBw2D5-9vEK6u4AB4,297 +material/templates/.icons/material/tooltip-cellphone.svg,sha256=eAnt8EMBst7BEWYwURs5r5rG4dniQaCXsKccCRB9i8A,292 +material/templates/.icons/material/tooltip-check-outline.svg,sha256=6TdTyzdZo_UTjv0gm5632DJy724AKjToGlsVEE__ZtQ,265 +material/templates/.icons/material/tooltip-check.svg,sha256=Ge0Vd59ERDPJ12J2u6jmbJEJaQUWRWlj-gSqM_u818Q,228 +material/templates/.icons/material/tooltip-edit-outline.svg,sha256=YFlmmqPqEk-cB0drBuyTN7aIT4tcW8pkmndkwQAhIu8,334 +material/templates/.icons/material/tooltip-edit.svg,sha256=MIMqubZHYYgghVz4djexPGzmYprw-NZjEEhkeMpDLzs,295 +material/templates/.icons/material/tooltip-image-outline.svg,sha256=WR611NGT__L_jEk7964Ruyv5ZRCrbz07zXB2SovkuMY,305 +material/templates/.icons/material/tooltip-image.svg,sha256=EBiK1I6-RIW4HsDknhxgTEsprIudGL6jW3r8llWNUdg,245 +material/templates/.icons/material/tooltip-minus-outline.svg,sha256=0zTiwEe0cWr5LcwzrYwcWylYf2cw6niESqQ3ed5ExCc,215 +material/templates/.icons/material/tooltip-minus.svg,sha256=MGTZKuIEhe5Hq6uOJZEeuD_4UlzN6iuFVHvZujEkqs0,177 +material/templates/.icons/material/tooltip-outline.svg,sha256=uUO5UeENbELSWGJeNgloJEiWjZOoZLr4JdvFeOVHtgs,198 +material/templates/.icons/material/tooltip-plus-outline.svg,sha256=KwntUGm9NoXQoTrIXLCWubHc1dX9xau7ANO9AVTBWIY,229 +material/templates/.icons/material/tooltip-plus.svg,sha256=IM7urCM1zTfMlIc3cmUdJCKRmNUuulE0eOa9rYGB40A,192 +material/templates/.icons/material/tooltip-question-outline.svg,sha256=dfFvj1wLm1-jabQulKHEaildaSDyvUYHEShIZUaWyAM,688 +material/templates/.icons/material/tooltip-question.svg,sha256=U8ZFAkzIff82KgMzeCVISo0KVWqgX4wWx8dyucMdBXo,653 +material/templates/.icons/material/tooltip-remove-outline.svg,sha256=ryVdtoxKvZrnFvPcoNW8SC5VAQK5TzsmTRITpHp_pcc,329 +material/templates/.icons/material/tooltip-remove.svg,sha256=pNiUbK1YQOhDftBLVfrPlAoflh3N_pb3_i7tjPkvJcw,292 +material/templates/.icons/material/tooltip-text-outline.svg,sha256=mw35wTFBP4qC1tgBUNzFqUUdkiZltNXtTC_ExDW_XiE,225 +material/templates/.icons/material/tooltip-text.svg,sha256=smvzj8J0txf6aVlsf-IUzjv9ZzKLIMlUt2YGq57y3Z4,201 +material/templates/.icons/material/tooltip.svg,sha256=BNhRkStxf3lDtrHI7JfcZjqtUKGml6s4uKVSdKBKxWw,161 +material/templates/.icons/material/tooth-outline.svg,sha256=4MHRJY2fVpKN6_H71tK1YLhdcMqAUrTDNX0HkNewiJU,435 +material/templates/.icons/material/tooth.svg,sha256=maEG83gDmKYkNkI2tN88I0paKrgXfu6aAYDbkivAbU8,196 +material/templates/.icons/material/toothbrush-electric.svg,sha256=eJAvJb_ODpmnSemP2RNA_QvoexVr7riJRCKZthQEMN8,256 +material/templates/.icons/material/toothbrush-paste.svg,sha256=xC95bvsBo1HU_4NSLL4jHpEQHDELoaPjHKuMqIrsWJg,365 +material/templates/.icons/material/toothbrush.svg,sha256=MHDsEM8G_xUE7uzeHk2_ziGeX2IP1RIkF-b0LRSBDuw,244 +material/templates/.icons/material/torch.svg,sha256=vWwj08pbeZ-4LPm0pQa1SBL2694oxlv9jx6wuQGXkbc,534 +material/templates/.icons/material/tortoise.svg,sha256=UhByggiknOFWcI9mrN6Tiz7LHC0gGeW7CYhoSxvH3T4,381 +material/templates/.icons/material/toslink.svg,sha256=XPh56fXVsHgWHNME4MsGem3NUUwnEmGsuFcya5ZayDE,297 +material/templates/.icons/material/touch-text-outline.svg,sha256=wdLVKQqMpwSOR2XTlDgTIggi5Nlgfh5_Na0ZZvC-yEU,460 +material/templates/.icons/material/tournament.svg,sha256=Qq9gobIpg-TOsqJM_uRRTni7uzbJPwEwh7bwL9vZ_ZU,247 +material/templates/.icons/material/tow-truck.svg,sha256=yHmEczvY48pmXd9iDOlpYx9kUPjsope5eqZwUULEiPE,694 +material/templates/.icons/material/tower-beach.svg,sha256=UUzaW2OBxZ5gsK4GZEPpdExx4jXIrlAADSCLjKaTer0,300 +material/templates/.icons/material/tower-fire.svg,sha256=m_5J1jfMHpKNW22xXtZHhB8ASXDXgmNGT-_htsAi93Y,303 +material/templates/.icons/material/town-hall.svg,sha256=sDJQ_Z-eyRQy99LzfGqKqsewCzzMszjhcrIIuwBUgBU,293 +material/templates/.icons/material/toy-brick-marker-outline.svg,sha256=4x27n16NJlTZc3TfVhDObz5Y3kE0bRyu4vBBm55VrOc,389 +material/templates/.icons/material/toy-brick-marker.svg,sha256=O_8z5UpusMG6F3ksrhMy5xOLKZwV5UJN4MDYrMFpvSY,405 +material/templates/.icons/material/toy-brick-minus-outline.svg,sha256=zRvQmEAbKYzw4VoWvcvXD5jCitDfQ5W0fiiCBeMnb38,255 +material/templates/.icons/material/toy-brick-minus.svg,sha256=stecgUPpRNseIXCyHmXP4SGbkm29aTrOqfVm-8g_VyE,253 +material/templates/.icons/material/toy-brick-outline.svg,sha256=NplFFKD3-d6ArCTcnjpVyKEQwSaNBL6ApQxaw2xfhos,179 +material/templates/.icons/material/toy-brick-plus-outline.svg,sha256=fdRDm9R-w7HKDEpBWNWyqBdcyABiuHwyDJ-h2C8sQO4,212 +material/templates/.icons/material/toy-brick-plus.svg,sha256=FM-pUZAlzA-Ww_Bnqi4wwQaQOkZOziNkDHga8eTCp20,241 +material/templates/.icons/material/toy-brick-remove-outline.svg,sha256=V9OH5UXbkxtk83gi4a7qEsDriE-tlYZGOLu7acn1h_g,304 +material/templates/.icons/material/toy-brick-remove.svg,sha256=TqQPRXtQdDevCMCx4kTGyEIWTl0W_7hoCvBWQcNfC20,327 +material/templates/.icons/material/toy-brick-search-outline.svg,sha256=5FCrc-V-QPPO8SGtB5aNfpcpXg4SILPwdI0RhwWGMtw,329 +material/templates/.icons/material/toy-brick-search.svg,sha256=ylp1Vl_2x2rNwccPzAyEwfiKzxvKnHnouOhN3Wmlud4,295 +material/templates/.icons/material/toy-brick.svg,sha256=k2kmefk6YRKvKXLWb8jEMdOVV7kF5UsGzlEmpJ59sv0,166 +material/templates/.icons/material/track-light-off.svg,sha256=S6RYS_hOJHb5jw_8OitNl4YRrs2HoU30DCtYhXOxkFw,383 +material/templates/.icons/material/track-light.svg,sha256=zTUMGe9MFYZWnnaOjOjPNyYzQhStwIvnhOTX_iToclg,311 +material/templates/.icons/material/trackpad-lock.svg,sha256=EgODoYSCltCSywNepe5ZBgzRk4rpl5mT43WncFlX3d8,404 +material/templates/.icons/material/trackpad.svg,sha256=jrg2NspMv05GMm2Nt2u4Na_tqFGWVvIOCsQ76clasm8,191 +material/templates/.icons/material/tractor-variant.svg,sha256=Cs11ughBu8Nquo_3mc0KC_49MLcnrNwLx-4kUk13lu4,952 +material/templates/.icons/material/tractor.svg,sha256=NCmrtP-3f1VYXnykp47Gw4lJGP49X7PelGj1iRRN-yg,516 +material/templates/.icons/material/trademark.svg,sha256=ZhTIpbr8OgP6gjICsHuG3uhMyBHq58a9CghHbNbNjWo,214 +material/templates/.icons/material/traffic-cone.svg,sha256=W28BNqPZb6SCUEFUrqU5caqMfgpRbfxo45f0KNYMzLI,142 +material/templates/.icons/material/traffic-light-outline.svg,sha256=q_9qvdK_PGIQ-uBvf3BhlykL_Yfyieh2IjA5QCOE0DU,561 +material/templates/.icons/material/traffic-light.svg,sha256=RVNJVcwaBH2F05nDBqzPMxdJwSDSduQC66V0wvpj15U,510 +material/templates/.icons/material/train-bus.svg,sha256=SoE2gPpOEJLsYsnopYswvtUvyit7gZzAB-NaHCc0mqk,658 +material/templates/.icons/material/train-car-autorack.svg,sha256=_T-DpOfZEfWT35V6DY-yxZ8i-YAiUb60NPb0-bbZ0P0,603 +material/templates/.icons/material/train-car-box-full.svg,sha256=cSewYcqNXDgomGVQQ7k5rP8DqpyzQ2UE0kpaVBhzk6M,149 +material/templates/.icons/material/train-car-box-open.svg,sha256=dwhLl6Lro6glbdYRfIOVLv7u1lYdibIJymyuWj21Quw,138 +material/templates/.icons/material/train-car-box.svg,sha256=JtPLK7hucBoQdRtAcZy5kvlDcvtN6grP7gdnLSKSkTw,125 +material/templates/.icons/material/train-car-caboose.svg,sha256=GXhC9Cbzy_rXxOXNqcJxIVj7h13W4oxH61tdL4aXX_U,211 +material/templates/.icons/material/train-car-centerbeam-full.svg,sha256=NbRJ6GnmNCmRi2ZPhWTSfo-dFqvwXRLW8uhAJ8EiKmo,278 +material/templates/.icons/material/train-car-centerbeam.svg,sha256=-sDuLKtIOeBx8f6zVQTKfYwec6OqwEaMT7HvuOliKVY,163 +material/templates/.icons/material/train-car-container.svg,sha256=7Ulyqz2YRBLKSuQ6P2N8Tt2dGVN4t19rrQeEWdhTiEE,176 +material/templates/.icons/material/train-car-flatbed-car.svg,sha256=SwARELyffvihxIt-VIRraNlEww1tHls5gBY1IyoGpG4,494 +material/templates/.icons/material/train-car-flatbed-tank.svg,sha256=j4CY3ltdnbA169rhTQcohB_q6C8vq2o77RBbAZOMh5s,419 +material/templates/.icons/material/train-car-flatbed.svg,sha256=S9N7qqZ22hRUcLqMjf23VXPeW_7sWzwh-7idp8WFNVU,156 +material/templates/.icons/material/train-car-gondola-full.svg,sha256=P6vIAL8QInQdCRG_WfiQB3p72T-BYoowzSZMLRnzyZ4,222 +material/templates/.icons/material/train-car-gondola.svg,sha256=m5Y9QdxqnranJYVGz6MnVe__X3fZLoYzE7QKVtOABj8,182 +material/templates/.icons/material/train-car-hopper-covered.svg,sha256=yZN9YnBMNYirTlmI8gYYGUl3hVGRykl8uEfDQ8iJ19c,214 +material/templates/.icons/material/train-car-hopper-full.svg,sha256=lr9jTlpboPfJq7NOk_yE0HEO0fnGg5oFcYspIblIUT4,210 +material/templates/.icons/material/train-car-hopper.svg,sha256=mv7Q19mdygE7-Z_CwvPev70jUNUQdhdISDfIZwXcX9I,170 +material/templates/.icons/material/train-car-intermodal.svg,sha256=PhuQvWyLbO8LEksIpGfKgde8tSyfUm99mKVDmZsrwyI,177 +material/templates/.icons/material/train-car-passenger-door-open.svg,sha256=qBw729tyW8mNofFNEqurJs4F8mBg9o1ssx5IvjShguA,194 +material/templates/.icons/material/train-car-passenger-door.svg,sha256=_3eBtGP6DqBvWEQDuqOWIxMb48HDV1nUaEn_Xb4WjX8,206 +material/templates/.icons/material/train-car-passenger-variant.svg,sha256=nJtdwrEOmauyOOJDwkwGSRh8G8XVkClUDZgRsDbjaY4,183 +material/templates/.icons/material/train-car-passenger.svg,sha256=QThNx9JXPW9aIejQL-zatF825xZ0CqGck6_-qRI3LEM,193 +material/templates/.icons/material/train-car-tank.svg,sha256=E-6KBjdmxUR1ucOOVBKuzeYBmeUuwLjBov5zwaQBOZI,241 +material/templates/.icons/material/train-car.svg,sha256=Mf8VbwBk1gEVZ67vlif2bgp_0I7R_EsOLrPQBHYg-8I,569 +material/templates/.icons/material/train-variant.svg,sha256=kgX-iJHyO3aQcXQWNHZzokZ5IGamEFg2G6xSSxOPn1s,265 +material/templates/.icons/material/train.svg,sha256=68woLU60R2MSJX-psdhRO1Y0BKAmGCP2g7vurqC2hbY,416 +material/templates/.icons/material/tram-side.svg,sha256=UOle35fZWuWfMESX7iI06DdAhEm9pLy_vcD9JHa68-s,291 +material/templates/.icons/material/tram.svg,sha256=HsZR9ARAxI6sPrf-ED15Q_eaMUK8aw1T4fTRNZ7LLqY,379 +material/templates/.icons/material/transcribe-close.svg,sha256=3JsYNc2T1N9XEJo8QvzmA_WMfMo7oQDprvPEn6jsiWA,268 +material/templates/.icons/material/transcribe.svg,sha256=ejSYLBkuagr3MZ-BYSePgukSNFXmcTBo2D-q4oac0ig,254 +material/templates/.icons/material/transfer-down.svg,sha256=jdH3Us8ISswHgaCdldaz-Jlb7_lPxlO-8PzGAH9CRYU,134 +material/templates/.icons/material/transfer-left.svg,sha256=Hb_W49P_Z1Go40oNst_pVfgyCPhrRBlVlT6gs6P1wr4,138 +material/templates/.icons/material/transfer-right.svg,sha256=2_OBAGMgNecRpPpGDb_y7uJqDS1mkIe0T2mJkVdJC2I,147 +material/templates/.icons/material/transfer-up.svg,sha256=LOvT8f4Xu7FgUEvTflx3MnroFJHEqbsO5Qkr9sCIuS8,134 +material/templates/.icons/material/transfer.svg,sha256=gJsrBFLDC4z-Id1jGXsaal9ZG0_N_OcNPlGB9k_CDI4,219 +material/templates/.icons/material/transit-connection-horizontal.svg,sha256=Ty2rMgWzMI1cTOpVwv87tI3GT_K5Ctix7cerf3uNIgE,393 +material/templates/.icons/material/transit-connection-variant.svg,sha256=5267OLpw8vsfVk8D1Z_md2owaPVrucpIodBcWSEzqTk,615 +material/templates/.icons/material/transit-connection.svg,sha256=1ZkFYZA5nznVgOMG5W_OKVTbY-DIUIehusf_f5fSsZ4,449 +material/templates/.icons/material/transit-detour.svg,sha256=M2w83RDIs_kBq-q8XE7qNtGZ3cA4Dx2SQaT8Rbzw3Yw,546 +material/templates/.icons/material/transit-skip.svg,sha256=j9nCrJ3YP9kCxpMeaQWJyz9OKU2BEEL8tV_mic699p4,447 +material/templates/.icons/material/transit-transfer.svg,sha256=FEXU_KrDaK9U4Zwuv71fqA505Jvoh54mYOiAGhzvudc,415 +material/templates/.icons/material/transition-masked.svg,sha256=pp-PyI6qls3uRlGdPHLOHmQHCP4BUBWfdm-zrd6RfFo,416 +material/templates/.icons/material/transition.svg,sha256=jnZ3eYQTGO3VX4A_qo4kzRafd1skhaH8dIwQYrQARBo,582 +material/templates/.icons/material/translate-off.svg,sha256=nfhMsFLPsyRl8wlHEmk9JPufn-8Q_cdWCYiIR_bTQIU,472 +material/templates/.icons/material/translate-variant.svg,sha256=tnREbTGTm5WOV_lm2ARwdAC1SiKbyfIYYMVpP8YbVmU,488 +material/templates/.icons/material/translate.svg,sha256=UKiBNjrNiaJtzMpwNqRUAPP_8QmCFhpociovWytLXCo,364 +material/templates/.icons/material/transmission-tower-export.svg,sha256=pb0hNYJcWwL2qoC_AR4bmMR0X8Q_mU9beZD4yhzc9Ew,439 +material/templates/.icons/material/transmission-tower-import.svg,sha256=PyEc6DCsHk3aq7X6xB6erEnmN64D88awscLm3KpAtm8,453 +material/templates/.icons/material/transmission-tower-off.svg,sha256=CEnXQPTCluVE0MzXLKxxuPFn7aUc8F_ryPiyvhXuhUQ,402 +material/templates/.icons/material/transmission-tower.svg,sha256=R2pmqFzSmOD6FErnb6vip5kBS67L3Cs2PeH4NGkPxZ0,425 +material/templates/.icons/material/trash-can-outline.svg,sha256=PFNrmkf6KY5X7bcCgjDC7sdsGcQALMI3uJ5ewouj5ew,177 +material/templates/.icons/material/trash-can.svg,sha256=I4JKILNrr4gXPVmVY_pRHVMY0yU7j2EQDzrPT3wlOsc,163 +material/templates/.icons/material/tray-alert.svg,sha256=HDy2Fd3VHNniVgcUgfEDt0RJHrdEHlWfDAQpCa9CDf4,152 +material/templates/.icons/material/tray-arrow-down.svg,sha256=H5FFMuiJsChLjm-6WBBGEUUkdWcsHneGDt6KOLltgWA,204 +material/templates/.icons/material/tray-arrow-up.svg,sha256=FdqVeUkX6cn3LycjZRb50W5ZwWOhmZNAYcdidgkBQts,202 +material/templates/.icons/material/tray-full.svg,sha256=86ycQC1REK1XqWRKX65-tANoptNFcpWFQveimkGMDfw,163 +material/templates/.icons/material/tray-minus.svg,sha256=PYw-PbG9XGgkkFodUoCKLoINuFG4YXBMeDr0trBoSzw,142 +material/templates/.icons/material/tray-plus.svg,sha256=C-h8cZpBESGGhMID3okDI1mKBrc01LMohFpx-u-h8B4,158 +material/templates/.icons/material/tray-remove.svg,sha256=gnxHXNayUMb4H_zape1YLenHzQC8Ul5SNP6TlnEEk64,245 +material/templates/.icons/material/tray.svg,sha256=hEsNVortXIdab5uYbTkd2W9wK2H-O7UHilSb6vD64nY,128 +material/templates/.icons/material/treasure-chest-outline.svg,sha256=jI8V-UC0Cs_7RHLexGv7vhts1dhacTtyxyhJJ_iQ83A,300 +material/templates/.icons/material/treasure-chest.svg,sha256=tWbOrfqY9B4d9dxU69Cb8i6sO-OHfusaqQxDRSsO9Qs,175 +material/templates/.icons/material/tree-outline.svg,sha256=uJYLN0ckKiTV0W_qQBPT5lCX6V75ocoSoJghOrU_ycY,507 +material/templates/.icons/material/tree.svg,sha256=dXvQfvRuxOiC-z7-HGRs_4b9q6l8i9lqgBKdYijmv44,287 +material/templates/.icons/material/trello.svg,sha256=FEtBY2nZD5sfEwHJpUH5rFcc0LG89fZv_-5fOzPChvE,409 +material/templates/.icons/material/trending-down.svg,sha256=h9TtmDwgJoEk2Wag56p93cH89hejuUSDxIezM7kzNE0,151 +material/templates/.icons/material/trending-neutral.svg,sha256=V9V0uRAUxyyKsf1ZexFpMUV0vRIlJ3tcc7oP27_kIq8,104 +material/templates/.icons/material/trending-up.svg,sha256=skcg7jDrtZF_13gqJnziSYeNLiU8AUqD9hym8XzU7R8,152 +material/templates/.icons/material/triangle-down-outline.svg,sha256=3-knNAbgU3w6MfFAt-svZ7d-II_20F2yMuZtpQauefM,110 +material/templates/.icons/material/triangle-down.svg,sha256=Gz5UXFzUN7NxbVjbefI-IsDY6HYvsmAogFMSXcAVLyM,91 +material/templates/.icons/material/triangle-outline.svg,sha256=G4b6bG_k6JXXQ1p_n9dtMTe936JGHh9cJ44eYFELtqg,109 +material/templates/.icons/material/triangle-small-down.svg,sha256=By63KLrODdGRsvaOuuopfMxkaAhAyi5BN2-GC54umPY,89 +material/templates/.icons/material/triangle-small-up.svg,sha256=5Vi2U5Pzt1Ho11J_hwWzp0PX-4Dcu8iuFgncL6WtQMg,90 +material/templates/.icons/material/triangle-wave.svg,sha256=wdA5U22ZUEi-IDa02t9nH9Y4IqQA_7A8dKD8DwWxK54,135 +material/templates/.icons/material/triangle.svg,sha256=LME8kM8xpoc1AXQNuT9CwBGlWb7yv26ydVJwaH4VfKo,91 +material/templates/.icons/material/triforce.svg,sha256=duIjo9S4cxJ4XNPHmuN_lOVvndiWPweKyG6bBhYTo9M,121 +material/templates/.icons/material/trophy-award.svg,sha256=MF8CYtIIgaASk5FCE6_w8q0Hk3-hjjGiMP6ZNc9Chho,218 +material/templates/.icons/material/trophy-broken.svg,sha256=BqV6c1tyxox4HhordhPRA3j4ZS6jfp2mxUmlUEsfacU,326 +material/templates/.icons/material/trophy-outline.svg,sha256=CFSxqFTcVavPDZH-hUahviZRkEr13KwdH74YctO0xt0,316 +material/templates/.icons/material/trophy-variant-outline.svg,sha256=vkuYuQPCji5asi3sijapVTjbSQRQ84mAW_1pc81qyhA,294 +material/templates/.icons/material/trophy-variant.svg,sha256=WBpqFDBzkvxtGr5f7_Bq0b-N6kssOc5UqipfqufUYcQ,254 +material/templates/.icons/material/trophy.svg,sha256=wkzMk7BB6cqMfZG9b3R8MhH1yueEiSMZI2Htpx8yevc,261 +material/templates/.icons/material/truck-alert-outline.svg,sha256=tlrEjP2rZ38msXGnRymKGGzPcNYrvpe1xESadjuG9q4,412 +material/templates/.icons/material/truck-alert.svg,sha256=gYtURDMLXFU2x5fpY5VeYGYzTSAGYnawHLRJPXHPqq4,364 +material/templates/.icons/material/truck-cargo-container.svg,sha256=QpboLjP7UrddT1bZPxqmiaAuZq5Nj44xt07Djhv69QY,382 +material/templates/.icons/material/truck-check-outline.svg,sha256=JenVIja4Lv_jilf04sYwn8Dg3FJkSvS1NkXyQfCaLGQ,463 +material/templates/.icons/material/truck-check.svg,sha256=BCHCThsAHaaA4PAcnzb6HSG-O_1wWzuxSTfgIoOwwSw,436 +material/templates/.icons/material/truck-delivery-outline.svg,sha256=4-sBc3ORhytxKTIaX3bcGtAy7RQEFfFAF9_YjX7oBOo,453 +material/templates/.icons/material/truck-delivery.svg,sha256=91i4YwfTNNWvI0iUy9bWi6uTpVp3qr6WAAjhP03HONc,402 +material/templates/.icons/material/truck-fast-outline.svg,sha256=Vy4NWAh39mtG5Ge-wYxQN1Owc7dB677kiRYX2RVQR4s,493 +material/templates/.icons/material/truck-fast.svg,sha256=JXTq1NsD5d-KSSxkEVGKvYyhzcgcwlJPqM0t53LcxSc,449 +material/templates/.icons/material/truck-flatbed.svg,sha256=zkK3lXrsUs11-De3qa0FBu-JUqkcLNW4Rlei_-iq2Ik,634 +material/templates/.icons/material/truck-minus-outline.svg,sha256=Xx4Ws7Hv3fZFXfe98lErz60E0x_ClwjJbnvZiEZf9dQ,406 +material/templates/.icons/material/truck-minus.svg,sha256=Es3komRIOO8Xi7k4tvCA4EfbCqbN006sVO_kL__okdE,376 +material/templates/.icons/material/truck-off-road-off.svg,sha256=preu9R39rBhGAnukNN6IPMHOUS-QIzlU82zzt5Eb7TY,983 +material/templates/.icons/material/truck-off-road.svg,sha256=vlDsa1wT8a2OHRhKXZx5g0P3bKR6cXayHX0GhZc4dT8,915 +material/templates/.icons/material/truck-outline.svg,sha256=bpoi_dep4KW0a4nUdL2EgCSnnp_2VHzYY9x7yGilUyg,421 +material/templates/.icons/material/truck-plus-outline.svg,sha256=mMro_bsKKrbmwCmxvHlIuh3wir9z-KkyI7DTaKHtWz4,424 +material/templates/.icons/material/truck-plus.svg,sha256=eS1NpwI4qFJrFcg4maaGyt6PM_VxN10mFwvvXfGWz44,391 +material/templates/.icons/material/truck-remove-outline.svg,sha256=l3jlhAno1qi7OqkBu6_9eV200q7RZcgwKwJcw99isdE,546 +material/templates/.icons/material/truck-remove.svg,sha256=mYqFc1k7uKyym3VrGYxVKRS82uuJy3XWKVQhDJCAOtk,488 +material/templates/.icons/material/truck-snowflake.svg,sha256=ShD4g_zvZtaHiBj1s8SKUhaUS8IO7i64408r6pHN_mQ,625 +material/templates/.icons/material/truck-trailer.svg,sha256=YmYUDQSDuFZJTRL4PhEpGfD3UJbgm8Ke-gFOeFjNXqQ,218 +material/templates/.icons/material/truck.svg,sha256=kPGvmziUhlC5X564cQ0CM9uC_CwZn-8wG5Ja7EpUO6k,390 +material/templates/.icons/material/trumpet.svg,sha256=36GkPBewc1GXI1dCP2gn7Fm8gKE7IViAjI7jAkOmkLM,414 +material/templates/.icons/material/tshirt-crew-outline.svg,sha256=6CIpvyz9YFq1PeV-52dQKiNxCIxy5-5ukRSrpk-6scI,435 +material/templates/.icons/material/tshirt-crew.svg,sha256=WdZ-akYp3N3BIN53me0OTP77eGP2Okyjk0l2UNmHJ3c,298 +material/templates/.icons/material/tshirt-v-outline.svg,sha256=SXB-bTemMTCcMHuLRKfy0A9_QBkSiQ6shkfKaLn0GJ0,420 +material/templates/.icons/material/tshirt-v.svg,sha256=C8xapnvMg2ZgrsEgmY2fI40HjIf5Nj_HsXPuZ13JBtw,321 +material/templates/.icons/material/tsunami.svg,sha256=EXlLQcvpTfAuez20DmDRIPHDcRRG6_0FQbwIizWoC8k,677 +material/templates/.icons/material/tumble-dryer-alert.svg,sha256=eWgz9cJ2C6gZXpa4bxe0d7EhSrVELeWmaS8Ncsvdf_o,579 +material/templates/.icons/material/tumble-dryer-off.svg,sha256=109B6V3qrvcG4SP3TCxKcmof6sWdwi4p7-aUDj9Yrbk,591 +material/templates/.icons/material/tumble-dryer.svg,sha256=z2U0lc8KwU1B3GHxEta4S0fGHUfQX5siWlAO038ilhw,571 +material/templates/.icons/material/tune-variant.svg,sha256=vIdFu6aWeMb9cincwWdlbuGijlEKabM2DHuHZihHxd0,388 +material/templates/.icons/material/tune-vertical-variant.svg,sha256=815b0ViDZPhZfmfGkJwraFD3flSNKZViQaUU_riJkuw,380 +material/templates/.icons/material/tune-vertical.svg,sha256=Fs8Lsc9WHn_5MGhur06ugJ8S_3xr8kudQZlLbHQ3WE4,192 +material/templates/.icons/material/tune.svg,sha256=VmhTtCU5YnoYc2N5jOq2FzqbDlovLbwYiIVkoGhmzmE,192 +material/templates/.icons/material/tunnel-outline.svg,sha256=az7dGcNDa9zw_bu0k3tCL3DutPREnUqct83UeJvgPxk,540 +material/templates/.icons/material/tunnel.svg,sha256=AExn3ulyElRCWtUpEy9HSYzIPCtDx0CfSlZb7681ua0,501 +material/templates/.icons/material/turbine.svg,sha256=jr0Ow_DnD4ylGvw5CuDzfPa31_fXyLsSkMdipYfKZk4,667 +material/templates/.icons/material/turkey.svg,sha256=cG7icYS6l162IoaD84Hyx5wy5iDgge46Pd09U_lOmtU,522 +material/templates/.icons/material/turnstile-outline.svg,sha256=d6PNBYP0pnMYRiYiz15UF2qyyQRQjElOt0CoxbTf40k,306 +material/templates/.icons/material/turnstile.svg,sha256=ru-gwUjHDn65gJ43h6_aBlF6wWHhj0xlKWTTHzeJxms,211 +material/templates/.icons/material/turtle.svg,sha256=gf1Mi_KHC0JZmbFYOxlDDp2UgkqBUtm6pEpbU7LQwFw,836 +material/templates/.icons/material/twitch.svg,sha256=6MQPGDiahwntZanY-0RBi_XbmGTFuRk3q7qtj6tWYV8,241 +material/templates/.icons/material/twitter.svg,sha256=b794GHqeHOmI926U_bYr4OXxR4F0JJaa_2d1twremlY,561 +material/templates/.icons/material/two-factor-authentication.svg,sha256=SI-PSXp7YSiqsiOKpaNBbqpESPem24P9oaZo7NB1LCM,242 +material/templates/.icons/material/typewriter.svg,sha256=Lk4Dw4cdRLjNeiqcbkKtdcorCeRaWq3aaWkyyImWgRE,487 +material/templates/.icons/material/ubisoft.svg,sha256=5-MZ7UXuxd8M0GLRZsck94ii2vjEGEJsbPItzoh93VU,782 +material/templates/.icons/material/ubuntu.svg,sha256=d9tHiihlgR6enqjNpgRL9pli73eDRgA0PAKtriMkGMQ,1024 +material/templates/.icons/material/ufo-outline.svg,sha256=clbW8zKo2z7378u8hLILo4-ao0hcc9xFDjZj1R7JLS8,304 +material/templates/.icons/material/ufo.svg,sha256=iyUMCUhke1iRSy-kFnomL6360RqT9knB6t5wmcBpni4,220 +material/templates/.icons/material/ultra-high-definition.svg,sha256=Lk4ax2QYpQZyERu6hJtNt65-tPOsVBroGlKsMoqjLoE,267 +material/templates/.icons/material/umbraco.svg,sha256=wHQQAIJiztTMoTWDiVEBY9Fmi9xG7ES7daIbLb-EeeA,347 +material/templates/.icons/material/umbrella-beach-outline.svg,sha256=38cpxkgffQX13q7xSTW_W9dVhYU8Iv6hGQcQLLMotWk,476 +material/templates/.icons/material/umbrella-beach.svg,sha256=uqUScI4yY-Ii3C779z29j2S1cF8esqxz59OQtM3RW_w,350 +material/templates/.icons/material/umbrella-closed-outline.svg,sha256=rN944b29jXfID--n6zFFGp-HUfJgeeQkb1iB9zXaMJ8,223 +material/templates/.icons/material/umbrella-closed-variant.svg,sha256=6bLgOo_1MZraRN2Cl2PHXin0vY7pHdsmiBvf3hfaRI8,273 +material/templates/.icons/material/umbrella-closed.svg,sha256=_YQucqIN043kfzWi_Dhnnzb5qfJXvbr3SXFI2ZSsKng,204 +material/templates/.icons/material/umbrella-outline.svg,sha256=71NxIqY5yJk0icIoFxiAzey91G-SmOehs16rgEfVuTE,231 +material/templates/.icons/material/umbrella.svg,sha256=l-GnZMlyk8CX3ZbK3B0vpGiUSUmr7r7d1PZoHlmduHE,185 +material/templates/.icons/material/undo-variant.svg,sha256=68vRbwaB7YLAh0fdBMPizMvX4_79bgj1V_r81ISm51c,244 +material/templates/.icons/material/undo.svg,sha256=y9Blwv_Pn47k2kjoHYH8YStXpxDmfmxnCINfyR3so8I,219 +material/templates/.icons/material/unfold-less-horizontal.svg,sha256=Sz9Gxye924oxM3OzNe_zqiJCUsqgdBKjhV6WGvUyMQM,193 +material/templates/.icons/material/unfold-less-vertical.svg,sha256=w5NI8j66_tksKEvb9WLodXv0mb6HvZXanDO53-v4Wzk,203 +material/templates/.icons/material/unfold-more-horizontal.svg,sha256=LbbabKJ3qeh_btSPBfIaCWkbrXYG3rJyOIPkdBgxdq4,188 +material/templates/.icons/material/unfold-more-vertical.svg,sha256=vjW_uynSD8GL8SpraQNy1gsSvOYLmu7h7Hzo0fYd4fQ,198 +material/templates/.icons/material/ungroup.svg,sha256=XMeG2orAHNqIvxa7sJuMOO2eO1x1cpVzcA7nNSdL73o,265 +material/templates/.icons/material/unicode.svg,sha256=69CZgFhpB0uF2-dDfwBeIsOVXhBYbFoWVMEu72BVWqs,1137 +material/templates/.icons/material/unicorn-variant.svg,sha256=sVYVvPpzoM-THmKAN2ONmWYBtOsiMn4-UcLw16QKBrg,216 +material/templates/.icons/material/unicorn.svg,sha256=46bIZedvJjtwLe0T6YT22jTXs_uoZDP63cqDQSi0Jww,629 +material/templates/.icons/material/unicycle.svg,sha256=BHizPeYYmD0hfA-ctxIB5LLB_sI2byj5kKXmcto6UwI,328 +material/templates/.icons/material/unity.svg,sha256=hKHl1Tj840-SsrOax3Y9bHBEjFe2VF3ACwr4DfNa6rc,317 +material/templates/.icons/material/unreal.svg,sha256=3El9Qs6E8G2cVgdwRXk7qBeqCDD9NDjxWaOeQEx9vOk,967 +material/templates/.icons/material/update.svg,sha256=EDX6dNsg_IFcNv_O4axy9Tf9Cf6MGO-D5wa5gaWrZw4,372 +material/templates/.icons/material/upload-lock-outline.svg,sha256=kpGCYjazZsHet6jhSTGp-3LPdckLsfItl_PJwWHZWNk,319 +material/templates/.icons/material/upload-lock.svg,sha256=9jQSyOj9wIRDycbw0DOaqGn54bsELI0QQIXo5UOFndA,283 +material/templates/.icons/material/upload-multiple.svg,sha256=VQ4TYfu5HAkHesFABjmG1BpoH895EKvSkqTgDgiFLv4,133 +material/templates/.icons/material/upload-network-outline.svg,sha256=H4DqVHsmbnOF2AzvXIUN4Rig0CW6TI3TGeno_pf5Gew,274 +material/templates/.icons/material/upload-network.svg,sha256=O_wEK1Bjj_eOUlGgcTY6-_AKemPN2p3seFNBHXZ0na4,270 +material/templates/.icons/material/upload-off-outline.svg,sha256=REOJ9UZWnNc8Hwtj0qQhvmoNH-N6Ivxw4F5W68CKvJ4,258 +material/templates/.icons/material/upload-off.svg,sha256=XDgbf-r8dH7Ryc7bky782R2cNLD1rgbJ018x7wxGX1c,209 +material/templates/.icons/material/upload-outline.svg,sha256=qylGbUP9SIC4OYBP7gIbHXY4ZB76L3tB4ryCI54dQtE,154 +material/templates/.icons/material/upload.svg,sha256=5NkseuGnqK15Mu-C9W38vr8J7aV8wkfO7cp3wZy7Ljs,119 +material/templates/.icons/material/usb-c-port.svg,sha256=Uh_UpwL3NZ-BUNHIu4dZit3cCqQ2bWCDqr0oooGav4Q,281 +material/templates/.icons/material/usb-flash-drive-outline.svg,sha256=J_gqHYjpIpXLyh2AHF8h34sVr75pHaOUzLKfRMOFITk,644 +material/templates/.icons/material/usb-flash-drive.svg,sha256=uGbNgr5k5w4Jpw1p7Iw5jjXvSQfBthcKMIXNIdX665E,537 +material/templates/.icons/material/usb-port.svg,sha256=wATi2zxd-XZOleOocALOYwIxZCHNinHP9FPWulMW8gM,172 +material/templates/.icons/material/usb.svg,sha256=9w0jiypjX_ieipaI6fZ6f8rtPn2wXa57yCmqeocVb6U,354 +material/templates/.icons/material/vacuum-outline.svg,sha256=U1HbIePNA2NfJ_VV5FfLNwSvAgXKN8XAtcMyucZJw0w,620 +material/templates/.icons/material/vacuum.svg,sha256=C7tV2Z9d65Xj69cOfeZDuI3kIg-5gdfbQl1fd1NWidw,504 +material/templates/.icons/material/valve-closed.svg,sha256=gNG359HI08wMGGGZ4y-dMkYAvYIz9olu13-Vm61SBiY,155 +material/templates/.icons/material/valve-open.svg,sha256=DvPViydZC3_O6kd9X44BFaPa1prp-77yvyamtyz-Rdc,160 +material/templates/.icons/material/valve.svg,sha256=Qim_KyePEmTV_sXai6czaMe8H5O5Aihud5yxyY2Ps_c,170 +material/templates/.icons/material/van-passenger.svg,sha256=I22EMiykEcZdLSHuhc0_5Nc_by6vWuQPUAS8R6xUPeY,430 +material/templates/.icons/material/van-utility.svg,sha256=oFxSR8j7SsaXQpyBWDy_n4Q7Zqfvm-Yaqze36Bqaios,401 +material/templates/.icons/material/vanish-quarter.svg,sha256=xcdTN-gNX2oN2DVvJVjeaRoWrkhFmGSofIjXc22D-Z4,146 +material/templates/.icons/material/vanish.svg,sha256=Qq2FgrF6JOtUQKP3RndhQ1Wol7NeU_yQu9GvOakFSe8,340 +material/templates/.icons/material/vanity-light.svg,sha256=1LumAfnHETFyP05hhPq6URie9gvzFAsY4rj08Nr4fwQ,360 +material/templates/.icons/material/variable-box.svg,sha256=KIFFEEDXE46by9_iwNOg8Y9wPg20Patwt4EkKsG7Yr8,398 +material/templates/.icons/material/variable.svg,sha256=aC1selndyLZpPStT69SGyqp-_qAS0WY3SzCoDhVugJk,427 +material/templates/.icons/material/vector-arrange-above.svg,sha256=C6B6vnsWj-RMLzqsm1mvG_dbSDc9zCidIdfEhYaIoYM,254 +material/templates/.icons/material/vector-arrange-below.svg,sha256=Os3_SbcCOO8DiV4URQPDPCGpqkyn-nkEk-xPd1craRs,256 +material/templates/.icons/material/vector-bezier.svg,sha256=HZB1JUvt51NqYVRl-Vo9-XsjnYn7deE4vi0QYAuTM7I,350 +material/templates/.icons/material/vector-circle-variant.svg,sha256=T4XgNTVBmoBBJYtch_0TDs-OM7tHZjTDyGf94xgN7Lo,275 +material/templates/.icons/material/vector-circle.svg,sha256=8LsHDiYBfiX5f2MWlP-58oSfh1zpK5R7dI3drcWEgOQ,422 +material/templates/.icons/material/vector-combine.svg,sha256=3UbOD8R25OedB3I1UJcs5G6WjGwCHyUpRcCEH9zXWvE,285 +material/templates/.icons/material/vector-curve.svg,sha256=X3bZ3s04ROPYuojuTMRmuJdXnvNSk3iDp6ZVKbPqIYg,610 +material/templates/.icons/material/vector-difference-ab.svg,sha256=b2mdzgHLa_7q0BIermP_3zdkslJysMpq8zWf6vXe9Ds,310 +material/templates/.icons/material/vector-difference-ba.svg,sha256=Dp8m73-naHvkbAzebKyuC12me9Oz1EFBmBUHiCtd-MY,322 +material/templates/.icons/material/vector-difference.svg,sha256=gA1Yb6hkTo8AjK-Qb1OTR2aYa8uc7QcUMfokfI_S9Q4,342 +material/templates/.icons/material/vector-ellipse.svg,sha256=dnK8qhTz74vgtHHvN4ltynjRB4fBwIoYBVRaSNM_EZA,347 +material/templates/.icons/material/vector-intersection.svg,sha256=PH_QXEXi3cXL8ua5QR76d8mcz7K0m6MLirOF37XRRFY,444 +material/templates/.icons/material/vector-line.svg,sha256=N0YsdcZVG1unUD01ODLDKaDlCfjcO3MdUKq5rLZ4s-o,144 +material/templates/.icons/material/vector-link.svg,sha256=a_WBqfh6G1HJRQ0f0bfnvX0PYgCzgSoWfExkin_ov_Y,277 +material/templates/.icons/material/vector-point-edit.svg,sha256=HkKTsmvtVSxfe-CTS-ki9r4FlRynhSn3Uad-6nySFyM,227 +material/templates/.icons/material/vector-point-minus.svg,sha256=Fxmk9LWHAD4DD_fvQsvNhYw3_kJQFkGDFbNlbK6ml-g,119 +material/templates/.icons/material/vector-point-plus.svg,sha256=XNLn7Qix1MmbMdvYW-Zvh8jnALHENsMMLolJHXdgzII,139 +material/templates/.icons/material/vector-point-select.svg,sha256=eHaZd-1JUmogh_l8AP7fNF1sa1bc_pg-EOX2uhDDgj8,145 +material/templates/.icons/material/vector-point.svg,sha256=7_kaB0s-hcenoMh0vpPruAoK5p4QDtWC8BkPpT9TYqg,105 +material/templates/.icons/material/vector-polygon-variant.svg,sha256=R0qj7jDXacz01Vk5T3HEQQnpa8nXXQxhLZmgFpUJstw,267 +material/templates/.icons/material/vector-polygon.svg,sha256=OucPkd_-L9Cg8DIZgzQiNAhqxQLWBDm7yP40AU59U5k,289 +material/templates/.icons/material/vector-polyline-edit.svg,sha256=rKKI2gZmFcsg-qPGKWpZcoUoHjqpSstu2smlDAyFfGM,350 +material/templates/.icons/material/vector-polyline-minus.svg,sha256=KmAIQPr1lBDaFT0_7TVVWFS3igNlY5ktwUtrYzn5AqU,207 +material/templates/.icons/material/vector-polyline-plus.svg,sha256=2Xc1VQAdXS63r45UcxefL5gnxwx6rsNXJz7N_2y-sM0,227 +material/templates/.icons/material/vector-polyline-remove.svg,sha256=ypVEOlS_CuJr0X3Uju8Fd0917opASd25LzMORH5mInE,292 +material/templates/.icons/material/vector-polyline.svg,sha256=iY-JvSOjuGjOpx1tTewFoQqhkxJkztVBe2HCo7Ht8Ss,184 +material/templates/.icons/material/vector-radius.svg,sha256=jKVvu-V8jU0bmFqrgnMr6tghXHCuP7BptZoHqQMRndg,184 +material/templates/.icons/material/vector-rectangle.svg,sha256=kNxhxhuPc_-f8lmvtLw3E44tLme0QzM46e-wqCRLu7c,215 +material/templates/.icons/material/vector-selection.svg,sha256=0Yais7ncQ0_v1FNyeQhIh7EApS3waj9wW5FhnEnxzOQ,426 +material/templates/.icons/material/vector-square-close.svg,sha256=Miaz3IXbLM0VoFkiLoOXlwOGix2pDSmEt4EHWhLGdE8,215 +material/templates/.icons/material/vector-square-edit.svg,sha256=wqFNLzAhWXEWWYuXG1LTZTVjemBoHtLZwB4xXMtbMCw,331 +material/templates/.icons/material/vector-square-minus.svg,sha256=Yd-Mpyzbi6s4f3Tr0yrFdMfMzk-RzXweXKY_Aokq-wA,261 +material/templates/.icons/material/vector-square-open.svg,sha256=x_WxHjXNtDRSp7yQm9nNSTbe_JNzg4Ju0U6xZJRSzu8,201 +material/templates/.icons/material/vector-square-plus.svg,sha256=qaaVej7yyn5Tatr5dxrCtFrC6OlnKdAEwMB0wBVA5k0,281 +material/templates/.icons/material/vector-square-remove.svg,sha256=UGPHaMBcY63Q_WB8TwXh7_1kb2NTSOha3yFvo2YyCXU,351 +material/templates/.icons/material/vector-square.svg,sha256=dK7mZIMJICBtmzKmH_WpI2y3aPZTHCa2cRC8agVzCuY,213 +material/templates/.icons/material/vector-triangle.svg,sha256=x7tZiBhHGoLhwTpe4LrQ1RqVkBRyn6tR4jeaR6Js9To,193 +material/templates/.icons/material/vector-union.svg,sha256=zzYNMx_j2A7LY1unLb-Qo9mVevdX-uLYNg2w55rnW2U,226 +material/templates/.icons/material/vhs.svg,sha256=h_GZevLGWMcZCwwAwAvrit7zLsPSgken6QT4zqBJj6Y,264 +material/templates/.icons/material/vibrate-off.svg,sha256=xEMXKN5KunNxuU8pi-RHRatqas0frP1jjb4QBOD-ZsQ,379 +material/templates/.icons/material/vibrate.svg,sha256=TbheJRpbeuOMnBCZ7RRoYUORUPP86CWmIwDdNM3fM1s,239 +material/templates/.icons/material/video-2d.svg,sha256=BHrUcGQKN4emkVOetM9wO3nnB2zhJEhNEt6th8zOxdU,249 +material/templates/.icons/material/video-3d-off.svg,sha256=FkcIpMJ4tKGe6u3tb-YOpA4nClPVqm9mwOwoZQ2Ni4o,395 +material/templates/.icons/material/video-3d-variant.svg,sha256=1gCcKNlezYeNkPyugC5bEN8YzPgb3G9gGREgC5eukwA,348 +material/templates/.icons/material/video-3d.svg,sha256=FWsSVfMwH0xEZcuFK_x6Aoe1VXT5uIpiwedHQI8HfMM,221 +material/templates/.icons/material/video-4k-box.svg,sha256=2K4buWbgJ7ZmlO7M_pN5w5YiJmysQy8qmpaR-AA2zdc,258 +material/templates/.icons/material/video-account.svg,sha256=4IIv6J6TPtoVfZ2rS6oxTdmIm46u8FdjCRzBSm9g9TQ,272 +material/templates/.icons/material/video-box-off.svg,sha256=BO5JPWq2siSDYGpF-Coxkc40mYdR_IMkZHzZ3DvfYBA,241 +material/templates/.icons/material/video-box.svg,sha256=wsrTfSlL7gKH6aiqLPaeXVmFV_5njeg13mPN6QKFq3k,179 +material/templates/.icons/material/video-check-outline.svg,sha256=pjaEpxD5bfsQZ2W4CWyWncSAfBeep49XFVrDL0BQ7oM,250 +material/templates/.icons/material/video-check.svg,sha256=RG-kz7kALT5stEpL6730m3XiKCQJECxihwPeKc2HU7I,239 +material/templates/.icons/material/video-high-definition.svg,sha256=s3GnqDxceMDvx6dmxF-d4iSj1n8vQ91XJInMVedCTaw,308 +material/templates/.icons/material/video-image.svg,sha256=9HgqEY1Ey1rfgV6EIGwvrjMlDsob1qvLynhwfnPXbaw,234 +material/templates/.icons/material/video-input-antenna.svg,sha256=hyjlst_q3C9wFTVJ_1PD7bOBnXro4TEE1kVF9hWhmeg,362 +material/templates/.icons/material/video-input-component.svg,sha256=fjAST1u5dpATEcm_3Uc4btDY98dtCoy0Z3_IYxaXFMc,420 +material/templates/.icons/material/video-input-hdmi.svg,sha256=PSQZuyckwyO92BydPv3AZdHe_Ts7CNyC9VIjE_k7QYs,174 +material/templates/.icons/material/video-input-scart.svg,sha256=Tj3T72oF5U3y6MZEvOwEgaogdf76G6WiIWEwJS-yw0o,205 +material/templates/.icons/material/video-input-svideo.svg,sha256=C-DY9a3qBk3T0voraDue35dQ9hvSL7onjMoVgD4rRuE,674 +material/templates/.icons/material/video-marker-outline.svg,sha256=KE_Ly7J5Tq7-LfRNhT_6SQv-nh0KuPjR6XjnLl6xSz4,367 +material/templates/.icons/material/video-marker.svg,sha256=BQg6n-DhVYQje6g2COFnoz6VIypREd0nxIQFu2Y0gcs,380 +material/templates/.icons/material/video-minus-outline.svg,sha256=MWOZVqbJEmzJqzQkMTKzSLHJlsrUQgD3ZJhs9s5XaMo,203 +material/templates/.icons/material/video-minus.svg,sha256=EmQACGtIGkZK5U2ghBBJ-XvfMi6KjzIDCZmC7FjJtN4,186 +material/templates/.icons/material/video-off-outline.svg,sha256=-cqwoAwIdRkWIcnPXeAhPga02Ctdufe2xLcNaeidfkI,269 +material/templates/.icons/material/video-off.svg,sha256=jTmc5t-qDHRH3C1PRf3sXMzQRsvIqTbHVRfMm2qFx4U,220 +material/templates/.icons/material/video-outline.svg,sha256=RbL_jzHIeLcdPQk87OH2z5pbe5fe1f8DWyUs6RD8CQc,181 +material/templates/.icons/material/video-plus-outline.svg,sha256=7Qo8xKlsnMQWXTs6MLz9cN5NyCGjTSsBS0li3xn9FQQ,221 +material/templates/.icons/material/video-plus.svg,sha256=YIwbtvrulDrZt2xqPHgmoYNGghBy1LuRjFHUvq5TfVI,204 +material/templates/.icons/material/video-stabilization.svg,sha256=zzX8XLqsFh0dU5clVSsDy5nQJDyeiJDQIlF--qWVJYw,213 +material/templates/.icons/material/video-standard-definition.svg,sha256=UeEVldxGFqC5rp4sClfn40AqLCVi2xTYQtvsE9M8xnA,392 +material/templates/.icons/material/video-switch-outline.svg,sha256=YT8fjmAjdiChT0CkAULWe8qy2iJdxIIEO6pHFAy6H9w,221 +material/templates/.icons/material/video-switch.svg,sha256=DaOdEX-YyZ_HINplmYI1QQ61PQt0UBH9Uu38sd9Ht3o,217 +material/templates/.icons/material/video-vintage.svg,sha256=txJDpVcJmp6z17VVBZm6AgSwphUeHi1ZGFUzm2LsCYI,433 +material/templates/.icons/material/video-wireless-outline.svg,sha256=kjznJDXimNRemAyFSQwmAKL8RF_LAv3fN1IEVRINI_M,332 +material/templates/.icons/material/video-wireless.svg,sha256=hj11weyVo6Rp__FPNr4vw4FiQIVnhbOg5n6BNTMRquk,315 +material/templates/.icons/material/video.svg,sha256=dZz3lAI07rTq61cRFm5dc4JzPxopI6S2dyxOmdGXiy0,171 +material/templates/.icons/material/view-agenda-outline.svg,sha256=rYZJD_uOA4ulbK4pdVvK0jMjOhf1ORx9eZczveHnEw0,246 +material/templates/.icons/material/view-agenda.svg,sha256=SDD0I_N-SyCdEaJg-b2qzUFJcgDUOfeYIVknTdNsKpM,220 +material/templates/.icons/material/view-array-outline.svg,sha256=PKUbkKgPbW2sVUi83IkFuYvTVaSX-ZOvTBGAu5TMUsM,134 +material/templates/.icons/material/view-array.svg,sha256=6PPk8TMXnfOQ48h4Lm_OZUeEkqI0M2BA8MVOpLWY7LM,116 +material/templates/.icons/material/view-carousel-outline.svg,sha256=55ufj2YdHApbXsqXHgfCkwHnVsRMgDJVTkvAjnHJE6Q,134 +material/templates/.icons/material/view-carousel.svg,sha256=c7EHiqa6us2Eq3vdwWXp_IF2m3LvB5JSD8L8xsyy8_I,117 +material/templates/.icons/material/view-column-outline.svg,sha256=Kk6S5QcNpetL-zNObMEVedMNL1U6bvltwqq2s-uJ8A4,133 +material/templates/.icons/material/view-column.svg,sha256=bmTRFoCI-lhBbDB9eBZvhFAFzKGYYb0qcietfkLUtKc,117 +material/templates/.icons/material/view-comfy-outline.svg,sha256=u0yGPidCK2DPtfZHrxcn-ziSx64olErgI9tU7pSm8bk,326 +material/templates/.icons/material/view-comfy.svg,sha256=kK842It8JoTVx2xCmqTw5nS1b45xaKyUbJtbFq0FVf4,239 +material/templates/.icons/material/view-compact-outline.svg,sha256=7RE9UY7KaSd8pGfoOwj5DaZfKoWzuAWb_83n-v1ONkM,134 +material/templates/.icons/material/view-compact.svg,sha256=iMQdR7NJFlz84lfPhI4SIDXXL1AbHhG-gUawqS-pfZw,121 +material/templates/.icons/material/view-dashboard-edit-outline.svg,sha256=c7TBgq_tVtcJ-su8LaH0fgH9_12Ol3hFdBBIGodTq14,354 +material/templates/.icons/material/view-dashboard-edit.svg,sha256=rcU2_REzjZWbyIDOBsz967kyK8zfDQbPc3S28kha1dA,289 +material/templates/.icons/material/view-dashboard-outline.svg,sha256=ln2DP6UJTHg2lj3wZ99Wgs8B2FrYXV8d7QHIKXuncnI,193 +material/templates/.icons/material/view-dashboard-variant-outline.svg,sha256=xdTpBaE4yRnUwgWNnop5wLpHs_vTvuyRe-oEn5over8,165 +material/templates/.icons/material/view-dashboard-variant.svg,sha256=cQM4vDjOLZBz99_A6treNu3CWmdNwMgd8a-cce_pnD8,145 +material/templates/.icons/material/view-dashboard.svg,sha256=YCsD3Oc3uDhN8MTM8v0i71AqgwYc2kChRd28s8SFrro,129 +material/templates/.icons/material/view-day-outline.svg,sha256=gAFuCLCnACDySGReCcPKT528FG3GQm0TqMfneWigEM4,200 +material/templates/.icons/material/view-day.svg,sha256=6Q-BJ6zcGIOL7DcwAKDVtpGNb_Wixjx6tMjCzkJsaFA,175 +material/templates/.icons/material/view-gallery-outline.svg,sha256=-eAxESp-ocdu7uwcpnnxf15lIF2gj9ZVLXq8cB35TWc,165 +material/templates/.icons/material/view-gallery.svg,sha256=-aifuMoG-1U3HxZzk3fK54f7wHtuMEaH9VgcZTdrP_I,149 +material/templates/.icons/material/view-grid-compact.svg,sha256=T81pwJRasDNiG8i95V0lKPB4t2JRVgiXhKRMRHhHwVQ,542 +material/templates/.icons/material/view-grid-outline.svg,sha256=sczPSC94hSkpG0yBPyBibP-6UtRpnWoJ2G7qNGuZe-g,169 +material/templates/.icons/material/view-grid-plus-outline.svg,sha256=cclGFoVCBnyCcK_T2UhZol2WC6PD_9T5EwIEF4AFjSI,178 +material/templates/.icons/material/view-grid-plus.svg,sha256=gbPH-dbinRApNul1ri3ARZ3uT4hLFzTc_XgJ7AqM_tc,155 +material/templates/.icons/material/view-grid.svg,sha256=tmEmQKJPgT9N8Bk6ylaqcUUIUv2XQXgtJhsu6S5gZ_o,125 +material/templates/.icons/material/view-headline.svg,sha256=UWzpim5KZ1JKEg-92TO9keM9PkP7Zx2dbqYmlIMIWas,129 +material/templates/.icons/material/view-list-outline.svg,sha256=Qv2s425xF1m_2GTRBpZ39EJzBjGcIZ2JxIoqsX-oC3s,171 +material/templates/.icons/material/view-list.svg,sha256=q-_BUvFMV_zj3ZZhgIvmY0TLbsoiwgA42PGNQDXuZ88,150 +material/templates/.icons/material/view-module-outline.svg,sha256=dkACEtKu-XsjaDDhknxM4trZUPYqjC2obcVgz6fcV0k,191 +material/templates/.icons/material/view-module.svg,sha256=8iWsqtfjC9A5p0XF-mAJP3SVokRFwcOfdKeld-5UsNY,153 +material/templates/.icons/material/view-parallel-outline.svg,sha256=44qfoPKwMOnln5_zIpy_DYhRA6NO2ES6C9uFD6ajwIM,138 +material/templates/.icons/material/view-parallel.svg,sha256=pB0qPEIY-UxcM-hU816F2XEYlvXtL9wBu6_wAyYbm78,122 +material/templates/.icons/material/view-quilt-outline.svg,sha256=7OdIrtGhnf9n-XjZPPPbup9R7U3rWXfZ8r70U1iezrg,158 +material/templates/.icons/material/view-quilt.svg,sha256=Xi9dbHuype5wEhQYVZwX4x4PHe9lEAvJ2ASxs7Z1nx8,131 +material/templates/.icons/material/view-sequential-outline.svg,sha256=lNXdzOkSi_OF2AOYiONvkj05KGHcnYGE2YjYroh7K2k,136 +material/templates/.icons/material/view-sequential.svg,sha256=VXBDFTK0ttVyrw5EEWZy1vt8TatIg9BP8qfB10sJp4M,120 +material/templates/.icons/material/view-split-horizontal.svg,sha256=FplI7sv4m4UCKA-AicUPdI9pwpM8hKQlswCqXJNhrYw,119 +material/templates/.icons/material/view-split-vertical.svg,sha256=TjknAIcIVThu2FOSOUQvRtQiMjSD7qjSep9-xhKhOKk,144 +material/templates/.icons/material/view-stream-outline.svg,sha256=zxnKgobEFp9jXDWZY3a-iHzFdM8vlB0R5Lj8bJIcTYs,123 +material/templates/.icons/material/view-stream.svg,sha256=SI3JR6yL-6jjvwV4XdsWUf-cdJ3PAb_58vQaaTN6rzo,105 +material/templates/.icons/material/view-week-outline.svg,sha256=AW4XE7JRWsOujg8qTgM1kHxEfrtRBvnSFGZSAZJ1Vcc,200 +material/templates/.icons/material/view-week.svg,sha256=GefpBtSncNR60_7neL3wOVtwocyXmBXwHAmwabyZH2o,289 +material/templates/.icons/material/vimeo.svg,sha256=CDVQipKCBupkcHU_wQRugDdHOrGbxPcrahV4EBY3dlE,540 +material/templates/.icons/material/violin.svg,sha256=z1db_AybsJK_QFBFskTWHCBMyy0WC8sao7RhGYPc5wU,411 +material/templates/.icons/material/virtual-reality.svg,sha256=EN_DT3bkt9gQxio-_Wbgvg57gwVXzgQ1Uc6aqVJ6NTM,289 +material/templates/.icons/material/virus-off-outline.svg,sha256=Kwq4TeHA6j2ToPJo9eRRW9_Ajt9jTGpzt6OnpsBrMh0,1367 +material/templates/.icons/material/virus-off.svg,sha256=KVdHLEcnvHAVR1fCpt4_hXbVnRr524GqPeSstyPHnCo,1061 +material/templates/.icons/material/virus-outline.svg,sha256=iCBcs5YqIfvsz-vPs_uQnfOICXQc863K93eQpZ-bAqs,1433 +material/templates/.icons/material/virus.svg,sha256=KrTJTxaWEAjW5gfaywQZihoCk5J5PKgPpinU4TPgTkA,1201 +material/templates/.icons/material/vlc.svg,sha256=jGiKPnHlbpdt8IxTmFTouCIjxxxbPjJIJCzEJwb67Us,570 +material/templates/.icons/material/voicemail.svg,sha256=hWh3_NGqbEuiCywcj8bos8xHMAWCXy-z4XcoTPfTFj8,454 +material/templates/.icons/material/volcano-outline.svg,sha256=k8rz-4mMxViNWn1dTVsqLKglqy78W9664ncDmAKP7ic,275 +material/templates/.icons/material/volcano.svg,sha256=soXGfwtdtXCbb1w3OVsmuLZCbSqQzJqcrOPAKvMOMyU,221 +material/templates/.icons/material/volleyball.svg,sha256=XLpvE0LbmFRoy7oD0vfuGFccQmjH4k_B13gJq-dgHSc,454 +material/templates/.icons/material/volume-equal.svg,sha256=Q-OO4PasWaWJtg5vkG0rvojEYqzaBV-_YaS6UC5DZhM,124 +material/templates/.icons/material/volume-high.svg,sha256=RHvff-dEqHpvcLNGrLlEP0TDIEWpg8zyo4sKb_la-uc,254 +material/templates/.icons/material/volume-low.svg,sha256=N44Bm2WCkm3ZCXVULpw7XHatG9laBMFiFf17Wcg7sYg,100 +material/templates/.icons/material/volume-medium.svg,sha256=qiThZnYK9vOXK3dC9mTH4ZOPJU80YC-AEqc3ji1PxQI,152 +material/templates/.icons/material/volume-minus.svg,sha256=w07usOD97uJT7-2ln3M4u44Pjp-XWpCv3bDPMRCFSKk,116 +material/templates/.icons/material/volume-mute.svg,sha256=apljzdDitZDeijicFWkyEvq8f6HBLaEWkZnrF0AWGCo,213 +material/templates/.icons/material/volume-off.svg,sha256=HiXXfWprTYsbGS_gptpiRhZ87qoroSiulSAxxjZKYu4,408 +material/templates/.icons/material/volume-plus.svg,sha256=a2HDIPTEpzfGtQF_JNm2iweQ8pvM6Nx8Mv0_sjysn7E,135 +material/templates/.icons/material/volume-source.svg,sha256=r5ochXnL23lRIZv-zzmtksSLD7SO_caPsHyePkjb4pw,127 +material/templates/.icons/material/volume-variant-off.svg,sha256=sFJVXd2KDPwkOpiakNuQ4KoJxlo6erA5z5JLpedINPU,183 +material/templates/.icons/material/volume-vibrate.svg,sha256=AqAR1PaIK2PD5lNLNl6kmPQgY2QfjJfbsQZBd-xUktY,217 +material/templates/.icons/material/vote-outline.svg,sha256=BbbmSGacvQSYH2x4Yj384rN0Et7WS3h8aXyL8lAGV-0,368 +material/templates/.icons/material/vote.svg,sha256=7tDN9MHtxCYbC07SQAqmEVh4GiFwwWQTO48YujIoqfQ,357 +material/templates/.icons/material/vpn.svg,sha256=9WzyKbmNJo46OqWP0zZriOD6HqeyMxRxGmAcXOMy_8A,647 +material/templates/.icons/material/vuejs.svg,sha256=E9zTD5jSFbChvz5IamndVztaXz2_rSs3JuBiGfozpaU,153 +material/templates/.icons/material/vuetify.svg,sha256=Aas0r8QWunEz2tM2tTqAcWM_dVfG6hP4HpU-bPO4eyk,165 +material/templates/.icons/material/walk.svg,sha256=dwZzT4gDzyc89IxQ_WkU2Fufx0aDC2QkeDm-Npe-43Y,301 +material/templates/.icons/material/wall-fire.svg,sha256=mgb6ABPYlKmmCT10Qc00H2wviCaRpXnhAceCF1eGmWI,788 +material/templates/.icons/material/wall-sconce-flat-outline.svg,sha256=JS8YRPT5WQOctSpjAr9moHoB3H8hloGlrZI0Iwp66CU,221 +material/templates/.icons/material/wall-sconce-flat-variant-outline.svg,sha256=LX1Pc4TcG7wpZXyHGbYpri3xprgrhfV1ip2ljrKtpzY,220 +material/templates/.icons/material/wall-sconce-flat-variant.svg,sha256=6U6Dl1nzm469QrfPcFVcA6f0NlY8-pLxG9ms-si6AlI,206 +material/templates/.icons/material/wall-sconce-flat.svg,sha256=GrWOIkVfsD1GEfVzaVG-2s4nqGmbthQMrbRUKQBpY6U,205 +material/templates/.icons/material/wall-sconce-outline.svg,sha256=cZlWAgIFrkYbCfxPHZMT1mklo_svjxSaMDNmlSoTifE,160 +material/templates/.icons/material/wall-sconce-round-outline.svg,sha256=7vUDH-xk83s7C2OUfHtrhpdsSLjnVLfemSXX_x5oAK0,394 +material/templates/.icons/material/wall-sconce-round-variant-outline.svg,sha256=n5T850LeGw0AT5K3OxCdr7d5o5cvS_GybGW6dLbiJVQ,383 +material/templates/.icons/material/wall-sconce-round-variant.svg,sha256=xgNR3OyramqtS8WVUvAGtLwcF8yule1TUfCE9OOin1w,244 +material/templates/.icons/material/wall-sconce-round.svg,sha256=gZ0ITcFv7RkUp71mKrXKOaoMMEV1TaniSiZa-Jz8KNI,250 +material/templates/.icons/material/wall-sconce.svg,sha256=74rKRvWzHe60Nk7ST8YBGw5ojKAsCSiPuElqSL7hZNE,128 +material/templates/.icons/material/wall.svg,sha256=4sRorT8J0QG5W6MTt9b-yv_8vwHWeaO0FC0pvynRZZs,174 +material/templates/.icons/material/wallet-bifold-outline.svg,sha256=vcJyFIKi49Nnzp_WuJHGuAsytpjWvmSmZDF81Xg47t8,352 +material/templates/.icons/material/wallet-bifold.svg,sha256=11Eu0P0j9IoW-m7jdlhGYIplKJpvgJkIpy4MJ58R5Uk,300 +material/templates/.icons/material/wallet-giftcard.svg,sha256=fLppeSrSnzBKgDFjfMwfoe7ehTTzWXUMLZYkLMQvrJE,508 +material/templates/.icons/material/wallet-membership.svg,sha256=vwTXFVEyBwyleIbmz08dPicehReo8Nc9urKYURI7hmI,202 +material/templates/.icons/material/wallet-outline.svg,sha256=W7DL8lsG_177OF6LozqMBuZGvCAxFgyFs6fe28DvniQ,347 +material/templates/.icons/material/wallet-plus-outline.svg,sha256=c5AUp6xa70sGpNOekeGYCI4BwJ2i-ltYmtuAZUDw9Kc,365 +material/templates/.icons/material/wallet-plus.svg,sha256=QeSYFesQvx074c8Luzny95EZ28_hiUWrh3r8w3aknsQ,301 +material/templates/.icons/material/wallet-travel.svg,sha256=JmZhhDWsm8f7fWlpyNOscs295TAeGFlxbjCEO2ASAnI,257 +material/templates/.icons/material/wallet.svg,sha256=RSexYhSwUh0NEHTvJ9ul4ZSrcSs0YCyvJlqbfFfF33Y,291 +material/templates/.icons/material/wallpaper.svg,sha256=Fck3Zo_s614jk-4tlrTMRuvAt2BT9-IABDP-FTtJK-I,331 +material/templates/.icons/material/wan.svg,sha256=WfgKHFaq-NAqsms6sZgE2qH1Jk9nmwM8c9HiPV8WiKY,861 +material/templates/.icons/material/wardrobe-outline.svg,sha256=PIh79iySGK8yIT1zIRDxDUk3JGThBLEgQIWDEeW9BX8,222 +material/templates/.icons/material/wardrobe.svg,sha256=tFoi_S8YMbK8OPzKJkZxHVag1pqrCnFR2Y1rYqW-Jns,215 +material/templates/.icons/material/warehouse.svg,sha256=KV_13IsDhOFGFJPzfSqvda3SNZxICohVSaiy0gAw_rs,219 +material/templates/.icons/material/washing-machine-alert.svg,sha256=x3MT_zpuSWtt2YGZ9kwSB8hwkwDxlouwsPbnnilM-dY,403 +material/templates/.icons/material/washing-machine-off.svg,sha256=9DE2tbjz6SPpQCcmpeM7vjM6R-0ef8aseNyRzA6xwS0,505 +material/templates/.icons/material/washing-machine.svg,sha256=fB3_utSlTMKGnPHAlhU45rzf1ZThF_xhXG4CGSsQFgQ,401 +material/templates/.icons/material/watch-export-variant.svg,sha256=GvJAIQcuYgPP1C-ACmMA7m70xcruO1j5ZUxHjtDDCA8,290 +material/templates/.icons/material/watch-export.svg,sha256=B91-U69LV96dP4DgIh9EtEZsDzsDQFmu9m9VqjUZclw,345 +material/templates/.icons/material/watch-import-variant.svg,sha256=UK0ChynqdNWQFq4W9maGJr0sVYtwtt3GMWbY4p8XpLU,286 +material/templates/.icons/material/watch-import.svg,sha256=YIEJx8AhdJQ6fDDNs_doSctKYFxUtEofCr-3trf-WWA,342 +material/templates/.icons/material/watch-variant.svg,sha256=B771efKIlAMWxxpVvMJkBSLviAdwYm3EEQnZj3lR6RM,198 +material/templates/.icons/material/watch-vibrate-off.svg,sha256=oKMlKR1Vae0hRrX9AVqm11iLWs7wNAPfkt2EGG--1xQ,536 +material/templates/.icons/material/watch-vibrate.svg,sha256=bOAi-c28RfF9xNK-mMDygfaYyZXyTHHuCQhuVxkxYtc,393 +material/templates/.icons/material/watch.svg,sha256=lEYfaYu9RIUuWfvKwWOb1E6NBTJnEaMkEHObyMyFeCY,276 +material/templates/.icons/material/water-alert-outline.svg,sha256=rhNKHHKI5r_1Dpjnd3UoAciMXnDlWRcRx_-fGilJXBU,261 +material/templates/.icons/material/water-alert.svg,sha256=tGtB8cTbKK1yj8FkjUrlyuqPgZLC4VG9h-x7ZB4OkSA,179 +material/templates/.icons/material/water-boiler-alert.svg,sha256=qkawS5Wsj_BK8bMQmZvww779w1T1wAD8I1t96cEy-6Y,315 +material/templates/.icons/material/water-boiler-auto.svg,sha256=1yW3NW58Wl0ytBN6l8YUhrDlK9tViK0jKuHi0jNuyf8,364 +material/templates/.icons/material/water-boiler-off.svg,sha256=HMMFruKbD-H5zvfgphknuj1yBoUhiFrwuIxdOqE_XDA,385 +material/templates/.icons/material/water-boiler.svg,sha256=axlynHksHKUoEUiPZHoIvVSH39wNMhutSRScBk648us,305 +material/templates/.icons/material/water-check-outline.svg,sha256=hFm_MVjL_gytzVg14pxr8H_iEAFq6-OTvLYAD3kCRlM,319 +material/templates/.icons/material/water-check.svg,sha256=LQ156A9Jo6K77a9pcEFPF5QG7LV6XxHOxUr2XRSjC58,257 +material/templates/.icons/material/water-circle.svg,sha256=9TVThyRrtL1vbxAjHKSUs8i3fhZBAArbeN3ZQ-ljCwE,216 +material/templates/.icons/material/water-minus-outline.svg,sha256=pIxjStv6iiH_TsIkGq-SX1v9NCSZAh1_cE7gQysXGbg,270 +material/templates/.icons/material/water-minus.svg,sha256=LaiPoF8HXHIsMpQVKja4_wH5XRbuv_HEykHdGbAvASU,207 +material/templates/.icons/material/water-off-outline.svg,sha256=Mc9hS-Q_UG50eVDbdmbzvzJ-weSwR8GWTKnSwus5J7c,500 +material/templates/.icons/material/water-off.svg,sha256=uR3DIgGauAcj_ceDfcRQ11zvZJayZ6UcLHkPkHEBooI,282 +material/templates/.icons/material/water-opacity.svg,sha256=mr4de59kt4cB1cZ3F4_Rh3jY8pKLZBrTDOp--8dwYKY,407 +material/templates/.icons/material/water-outline.svg,sha256=tbHCmkHESEosY9PGTczDihZIjDLvZmdD9IsaeDw5pX8,380 +material/templates/.icons/material/water-percent-alert.svg,sha256=Wfapwrt7jc0BEgC1_k529uBJJMZoXpuqrOSICZBlIbk,315 +material/templates/.icons/material/water-percent.svg,sha256=f6vVc7j_YvGlb8p1XCy4IZq140kD7ExpZNV_lvW29mc,402 +material/templates/.icons/material/water-plus-outline.svg,sha256=3MtePX_6g8m40xvSPKlKXNt-ZbNleHDrv4YyBI7aL8U,288 +material/templates/.icons/material/water-plus.svg,sha256=Qzhw94LUm6r1YL1NTm4I8brYToAzjwM0-WWKJONBDGQ,224 +material/templates/.icons/material/water-polo.svg,sha256=2BZwpYg-AvtdtZbDBE-DJpqi1P1AdeEylqTUXf93q94,943 +material/templates/.icons/material/water-pump-off.svg,sha256=QcHdxqPp9O4tWX_QdnhoreIjN7IADYS4T1q_HmSL99w,295 +material/templates/.icons/material/water-pump.svg,sha256=LFQOLfDQfzUk02AVypQTMuZ8NWr3tJA4be7hvekwdfw,339 +material/templates/.icons/material/water-remove-outline.svg,sha256=tjsfbks7F3do_efk8EhsXDFxyKz87TMnWmfeSgMJSqA,382 +material/templates/.icons/material/water-remove.svg,sha256=clfsz1Y7tX2CQ9jsRahUKtlIhKCzUl8tGR75ucgxqZA,318 +material/templates/.icons/material/water-sync.svg,sha256=ADFA2rhee8C20obu-wylUJzFvEYf8D4fOH94e3vjz6A,364 +material/templates/.icons/material/water-thermometer-outline.svg,sha256=uvxDFOzGRLY61R2iEjkH7ZTNbMLq7XxNSmpTEsc9kxA,511 +material/templates/.icons/material/water-thermometer.svg,sha256=KJn8Mgao9g1tFCb_1n94HdeyVE6nn84PGaeesI7d72o,314 +material/templates/.icons/material/water-well-outline.svg,sha256=l_i1fYQerJ6fBg6-Zz0PaniBDkagzWPH8F-K9B8HV58,374 +material/templates/.icons/material/water-well.svg,sha256=Ua2ch9cOTq1LTeqIE-FxMTmiMi5K2ebnirMzHUr0bek,334 +material/templates/.icons/material/water.svg,sha256=F8FR1DqDzzlasu4l035Sc6zfX2sYOiFF0MckvxVybpY,145 +material/templates/.icons/material/waterfall.svg,sha256=CCX4qt8lUyQUaBLQ8JXZ-HmO8aJcdxDLBVhnW5fCC7w,416 +material/templates/.icons/material/watering-can-outline.svg,sha256=Em2U6UR-g81lPE4aFG1cprMiBPBpeD4FdLskVGr7EiQ,403 +material/templates/.icons/material/watering-can.svg,sha256=sJBuYvQlJWo3WanjRqTvR9uVfNePig6BArsTkG6eNyY,393 +material/templates/.icons/material/watermark.svg,sha256=pECoqjpMrq7erln19Rpkc-aLMDwu5_67cibqOO7AUDo,165 +material/templates/.icons/material/wave-arrow-down.svg,sha256=f5WeTkVqtsoPOCG840rut3Yeb-fZYJnxN0NDfgQxpM8,254 +material/templates/.icons/material/wave-arrow-up.svg,sha256=s9tEQXMPhFZUFx1DJ1kAujPFtWNdMj7kwhqBlv8xWiw,254 +material/templates/.icons/material/wave-undercurrent.svg,sha256=YJ9MXvHiGbQyfjRmhrDO3KBd8_YJ1jv81NGEpCbIfNA,483 +material/templates/.icons/material/wave.svg,sha256=MmmYj8usRt6pU92dsCbapEXqUCxHnzLDvHZ3Yx1i8Ng,226 +material/templates/.icons/material/waveform.svg,sha256=DZC9ScP1jCyc2UZyQUgvT0QRaswPUvDdNVwiKlqq_MU,229 +material/templates/.icons/material/waves-arrow-left.svg,sha256=tehShSciWG1cnm-D9k9i6S3uOjScajzDAFxl2tGT184,401 +material/templates/.icons/material/waves-arrow-right.svg,sha256=lj4Q1reqhFu4vqgu3NQUgsUBVQdd9yl5Ti2ugyA7kR0,400 +material/templates/.icons/material/waves-arrow-up.svg,sha256=F4nQ1feN92m0Likwqw039dgJ9crWRAN063joEpwX95I,416 +material/templates/.icons/material/waves.svg,sha256=e763Smy1K4ZSrVfX8wpBlTgqoHi2KV7WsD2R9SWnkxw,530 +material/templates/.icons/material/waze.svg,sha256=HpKSVr4d_b3g4d1S9k7r-kCooWKGe7BqjrFZfyHpw9k,1280 +material/templates/.icons/material/weather-cloudy-alert.svg,sha256=YidzwJ_bGJir6YtSMUU-k_myXwWUDEiDbcrGaPL9aPw,351 +material/templates/.icons/material/weather-cloudy-arrow-right.svg,sha256=x1IzjlGtuK6U9FsgoL-8LWNK2nRWnTzUD4yOcQxU94Q,368 +material/templates/.icons/material/weather-cloudy-clock.svg,sha256=ZTsdxLWbms3fZVsllVkvvvrbkHuVLxVWDMmi24KvMX0,471 +material/templates/.icons/material/weather-cloudy.svg,sha256=xkwQQmN2jxDVqheEuhIeenev74qScQTEDrBO4Xt6GGM,326 +material/templates/.icons/material/weather-dust.svg,sha256=vgpM8EQ3PeX3v46_vQ2gYxO0JmaAhR-kTqQcIh_T8Cw,833 +material/templates/.icons/material/weather-fog.svg,sha256=Y655_Vz9G4yjWxzCP5o9o-sCfjHE8mW26qII29KSPpA,551 +material/templates/.icons/material/weather-hail.svg,sha256=ApSVRXaIJ-KTrq1kiC6yP-XjmN9_sjfI8fPAEVbNkcg,617 +material/templates/.icons/material/weather-hazy.svg,sha256=6jJzR_sz0WLPBp0i1R4_FrlKElyn3Hx859UuE7rzfog,592 +material/templates/.icons/material/weather-hurricane-outline.svg,sha256=3z8OcqN3TXYriBckQ_F5IkI69t0_mK5Tsgh-kFUx8HM,577 +material/templates/.icons/material/weather-hurricane.svg,sha256=UShZeiMKa6BdEXXPZVQYp_OkSDeEgFuPlqhnwLvksZk,327 +material/templates/.icons/material/weather-lightning-rainy.svg,sha256=9mR-gzz5cqnNl9NDKBPgOYcKDJKP4yxT6ldj6ZOsDFg,539 +material/templates/.icons/material/weather-lightning.svg,sha256=s62hRzCQJOjl_MsP28Tb6XevFhCUrrs6uh2EduTgEzQ,412 +material/templates/.icons/material/weather-night-partly-cloudy.svg,sha256=mFHJHfFUI2oJ0knE0BZPJv9vIx2WIyIrJADE7hI2mkA,1002 +material/templates/.icons/material/weather-night.svg,sha256=OCkw9s9utmK9jJxAW-EdmsQOx-m722cQSH_I8PMN4r8,613 +material/templates/.icons/material/weather-partly-cloudy.svg,sha256=4vTW7YDuzVi2W1ThfSbAMVBH_JbLsFA6cECQKFIuQvQ,817 +material/templates/.icons/material/weather-partly-lightning.svg,sha256=JWUroRsJxNQL6cbwAwhXT_yk_7eF_gfFOqCR7xdZz4I,889 +material/templates/.icons/material/weather-partly-rainy.svg,sha256=sBY6rzi4GxHZsR-g50RS5gPzy3iwPpqRRbhR1xx7AvY,994 +material/templates/.icons/material/weather-partly-snowy-rainy.svg,sha256=ajzg6pDDA8FOlOUBFjzD65dubC2X136K28nxXtIpOZo,1333 +material/templates/.icons/material/weather-partly-snowy.svg,sha256=uSGT-JX6UkV_GN-mQCU-2diE4c7iVNhKKyGswswik2E,1208 +material/templates/.icons/material/weather-pouring.svg,sha256=cSx94r_RfrJ7SLz7G1s4H9jjDVl5aHKhhvUMIJGulDE,791 +material/templates/.icons/material/weather-rainy.svg,sha256=4h5McmgKInUI30PsLRMKmMCDso1QanNAEWq6kF0GR_U,653 +material/templates/.icons/material/weather-snowy-heavy.svg,sha256=iyJOIZcO4uDCLwq0ZLBl0Dh7OxZgVQvMfuPit9iKiss,1149 +material/templates/.icons/material/weather-snowy-rainy.svg,sha256=VRHwhnVQ6FF_FR5cpfe-ECAmoxTNnGWTfNOFHCTLOA0,883 +material/templates/.icons/material/weather-snowy.svg,sha256=__3pIuXwj6YbPV_s1_Xbe6KY8xr0hmArlcVF98hnETE,657 +material/templates/.icons/material/weather-sunny-alert.svg,sha256=rIq1qBpoU25JzLPryBT65fnA2hotrCDxuB9fLUZMbEM,479 +material/templates/.icons/material/weather-sunny-off.svg,sha256=vTg12ahKOTvVUNuuXudh1ccTioYh8UaSujFHMkwvDe0,820 +material/templates/.icons/material/weather-sunny.svg,sha256=aQ-4XphNO7a4olAxyB0ygiooCL0NV5evc0YpehfN22w,589 +material/templates/.icons/material/weather-sunset-down.svg,sha256=a-cY1t2PwfXqiQC5SVR6NmmhzVGML1jzXJYBU_hu4pI,581 +material/templates/.icons/material/weather-sunset-up.svg,sha256=lXZ5IzQQcaRIGHYL5Tro_ME2Mo-yc-nvntaUVOBBxf4,535 +material/templates/.icons/material/weather-sunset.svg,sha256=uxkv_gvJHlkYms4uvvq2Q6_FRpqEorrPf4HggG85Dgw,532 +material/templates/.icons/material/weather-tornado.svg,sha256=gbheFBxp6xhgGWUi20T2no08Rn7xyS6Lg0aZNYoICwg,408 +material/templates/.icons/material/weather-windy-variant.svg,sha256=GB-MgVvat93lTQLBSV6LatUAkbdQvFBLPWpAODleGt4,526 +material/templates/.icons/material/weather-windy.svg,sha256=dk1Mt4eu6giHheVm-DQ5w7pCbU48s8gj2RWKCX8Qs78,633 +material/templates/.icons/material/web-box.svg,sha256=nZrRkIWpNEbSQa7KTLtQR3XB5MjD4y74tRVFosaId8M,833 +material/templates/.icons/material/web-cancel.svg,sha256=56r3tn42zV9LqSxgkbFY4JUyHPHrJSYaZ1yz6XcZSYI,1033 +material/templates/.icons/material/web-check.svg,sha256=rGc5CsWtKN0GRE5O6zeZ0pcl5MFk6qqQ3rvdGnlYsfY,921 +material/templates/.icons/material/web-clock.svg,sha256=TDbzmM0prsrHOGuP5hVJy9_xwirUNpv_crC1WkW-BxA,797 +material/templates/.icons/material/web-minus.svg,sha256=hw6276NORYVbTHu1w7cBHQVozj-sWpLb3an_DaFq0Pc,871 +material/templates/.icons/material/web-off.svg,sha256=Trk6AS09uRcY8kIYYV2FWpJBBSdZnjnAM28PCY6IBmI,1002 +material/templates/.icons/material/web-plus.svg,sha256=ZbvBR7meF7fJMO6Q97oFVATFqBgU2NrOlx7rvdLU9Js,891 +material/templates/.icons/material/web-refresh.svg,sha256=4wWsFCZ-IY2ZVJv_hY8UcL8lpM0yZKbhlieeHg-2lc8,945 +material/templates/.icons/material/web-remove.svg,sha256=BOX3U1t-T7PZCdfE75mwPlvBOYgK2DG3UUVTLOj3nYs,982 +material/templates/.icons/material/web-sync.svg,sha256=eWRrec2rLOy4XMmkBMFJ50zJacldWCd1tWXWUC3eJhQ,1054 +material/templates/.icons/material/web.svg,sha256=Qpfqj82XKUJWB-O_OZgJQRFX3ggOVGXGIgXie5CQ97g,839 +material/templates/.icons/material/webcam-off.svg,sha256=Yf8Z1OoWMBGUy25uS9NE-kTwxH4Dc1wRBLxBjVR7sZc,602 +material/templates/.icons/material/webcam.svg,sha256=gGt8u06xPDkSuq0YhQE-qp4bQ0qvTaPkdfr4HIIx5Do,405 +material/templates/.icons/material/webhook.svg,sha256=STCqhdys0PAoBPJfyhhC0GdLGodqhexcVdAp-piwYUI,1159 +material/templates/.icons/material/webpack.svg,sha256=c35Ke4j1RHpQ7GRifSUSTOHtYRvpZn1tZNUJcK5P2Fw,446 +material/templates/.icons/material/webrtc.svg,sha256=49GWq5MbAgpB3qs8A-RtaLmWaMU3N8lLbsNcVOzXYFk,448 +material/templates/.icons/material/wechat.svg,sha256=DjfsUTyxdfK_HK72C6r36z7PTHZ4YiSTQJGpZRWA5M0,614 +material/templates/.icons/material/weight-gram.svg,sha256=JXSa8yiR4lT1kh5qCcYqvjO-Zn0IjPIaI-44Wp7vIfc,418 +material/templates/.icons/material/weight-kilogram.svg,sha256=OXXAUa4B0eQ2GZr2AnMPqJGoquXNHbEAYNEyz7KjwJM,464 +material/templates/.icons/material/weight-lifter.svg,sha256=JW0Xk8kOkM_HHl2ZCnRYclYYt-pV0_EXjCOdMkce52A,291 +material/templates/.icons/material/weight-pound.svg,sha256=G0vj6XaJlCkCeOO-OnRLwprFTWIiKZdoVWLHL05BqB4,489 +material/templates/.icons/material/weight.svg,sha256=A2Z2XLLXFDlL3IAtklCAcYruEAm8Mpix4gXNSsMNaYk,346 +material/templates/.icons/material/whatsapp.svg,sha256=_9bwP1hqPJHf8qSd-WD3JvjiVRQHL3ZdVnqvMX8Hz6M,979 +material/templates/.icons/material/wheel-barrow.svg,sha256=dquminyrqMigAzAzeDwJ5S4vem7r2wlRBT1CTL5cvZ0,359 +material/templates/.icons/material/wheelchair-accessibility.svg,sha256=9oNNefHWcP-Ws8FgU6Pl4gCWY2ApEO1rVA-d-Ab4dTk,672 +material/templates/.icons/material/wheelchair.svg,sha256=3Y-9OSUD7kqVN1cYK-rPqQYD-Mjlha57UX5IjNFpGZw,375 +material/templates/.icons/material/whistle-outline.svg,sha256=jSv3WwxieVGwVxZ6RtW1ldivOeN4DvDd1sU1TjJJ3FU,264 +material/templates/.icons/material/whistle.svg,sha256=YD2pvvY8i_lUyDmdPeWNZK2zslRyZGwMeP8WluL8MOw,294 +material/templates/.icons/material/white-balance-auto.svg,sha256=slwECt6JHYi3MJgcZdDLEOfs54Q-LgHQTInf_eWYghI,308 +material/templates/.icons/material/white-balance-incandescent.svg,sha256=BIEILg5TgFmc5XjJ-Ytrn1U7sh1IXrP9XkpEo3aSjCY,308 +material/templates/.icons/material/white-balance-iridescent.svg,sha256=ONNSfZiG7nDKQRR48ITwkZynUWUDTN51TwiK91UsGf0,289 +material/templates/.icons/material/white-balance-sunny.svg,sha256=_OFkoEAz_-YbLlid5_FlochTv16qvmWIq6rO3u8TXB4,352 +material/templates/.icons/material/widgets-outline.svg,sha256=haoSyAW_bZW4bMljYqVtq38QxueHtdixltIiBHg04uc,243 +material/templates/.icons/material/widgets.svg,sha256=0KaJGStsMhn5neyi1JgUb7kzplPXrMoKClWiVmgU9es,164 +material/templates/.icons/material/wifi-alert.svg,sha256=lv-RQC3QQbvy-K8UU8Ph2XHhjDnzmv9Cvur6A9tQBMM,399 +material/templates/.icons/material/wifi-arrow-down.svg,sha256=gkGV3M0LdlRqSKocswG96MkHkqdDEDI4RUNhLx6H4zY,463 +material/templates/.icons/material/wifi-arrow-left-right.svg,sha256=y6gHl0XXRJ6rspsR3WdB07uS6eP_DYdGxR6rBUME2To,488 +material/templates/.icons/material/wifi-arrow-left.svg,sha256=bozedwcJx6Ncmjq7JqyIFoOPTUSGh_ap752PDE9rlZY,448 +material/templates/.icons/material/wifi-arrow-right.svg,sha256=upcRoUr_n3C4VAkRc9-E59EmxlFzFtUWKvTYMQ8emVM,461 +material/templates/.icons/material/wifi-arrow-up-down.svg,sha256=wuZBSZhUNatceIm-McKI_QntchsCliQRl3z_q_FTJPI,484 +material/templates/.icons/material/wifi-arrow-up.svg,sha256=m8JaRPB7LOgCyOdhVdAA9Nqsah5E8YIkBGYgeMLNE9M,446 +material/templates/.icons/material/wifi-cancel.svg,sha256=1eCsoEtMbNUediKfJo0OaxPNibnIvWJrw_7j-JDJeJ0,663 +material/templates/.icons/material/wifi-check.svg,sha256=mAXfelh2nDgpViR337fKTZyZx9l-wuJqEJRMWVjiNIA,485 +material/templates/.icons/material/wifi-cog.svg,sha256=cnpxtSLonRYaiCwhUi_D8cUGsgZOtn0RNtNhoWA3zsQ,851 +material/templates/.icons/material/wifi-lock-open.svg,sha256=eflp8-NGd9IjGiXzr7dZYG6SUkwkueGZUE0B1cnur1I,568 +material/templates/.icons/material/wifi-lock.svg,sha256=v_N0K87PBu9KG5vpVelbrMaDnqJKgr9qwSSi0DWWOnE,589 +material/templates/.icons/material/wifi-marker.svg,sha256=4kD1kRDMO0_lwz0c1LWbqF_Ebo7BitFlWNQotiLwgd4,562 +material/templates/.icons/material/wifi-minus.svg,sha256=miA-RNqN9f0FF6b7blfcyLs9q1qRC-e03k1yV7kNfR8,436 +material/templates/.icons/material/wifi-off.svg,sha256=D5JGtcE9HeQZPu3qNW3ANPAFR4cPm_vXypBYF2-gkHw,497 +material/templates/.icons/material/wifi-plus.svg,sha256=Y8cHy8B_hGbRUOcA3mAyCegWSESIdcCo95Ql4xHi-SY,471 +material/templates/.icons/material/wifi-refresh.svg,sha256=z5g9IgHxJTEjlXqwM1Cm8UL-DjwEmYfmZoXpxL7UpPI,553 +material/templates/.icons/material/wifi-remove.svg,sha256=9evXnvUx0NZx8OEQc7G0rfMYmGey5K-zH3W6BCEEOLQ,548 +material/templates/.icons/material/wifi-settings.svg,sha256=hQu16uNeZaj26doL3gJqocL8N3UyrML2u7vOTUZ_M40,383 +material/templates/.icons/material/wifi-star.svg,sha256=osYKytVDjLNis0U2U69RsQpJfjooLpt4xdDnpNE34xY,450 +material/templates/.icons/material/wifi-strength-1-alert.svg,sha256=A6qhsty-pRtxrmVDKMFwcaR2QrjecPJW5irVLwDfmmA,303 +material/templates/.icons/material/wifi-strength-1-lock-open.svg,sha256=ZM4oYf66rEzPGH9e1EsbwHIOE_DBH5HWTmeTYXDzZzg,557 +material/templates/.icons/material/wifi-strength-1-lock.svg,sha256=Jc4Naw1Ft_hqpn_Hv8WR98MOhV1f5vNp6vqEskYHmqE,587 +material/templates/.icons/material/wifi-strength-1.svg,sha256=4EkfSb5IH9b4AfP-dEjILuuJ4CEJPGvqDXJ_5q6bKP4,308 +material/templates/.icons/material/wifi-strength-2-alert.svg,sha256=TGGWyCxeJ9cnM4VH4uutFliVsh9UauZwhDgjF0InECU,306 +material/templates/.icons/material/wifi-strength-2-lock-open.svg,sha256=iKoYHfrkaqMLs2WD0JNgpz9vR0CjnQ_VTGQkpbrsOzA,576 +material/templates/.icons/material/wifi-strength-2-lock.svg,sha256=7CTenYhoI5Vcd0qqQFDCPDihqp7pRWAKaq4rpnK65_U,600 +material/templates/.icons/material/wifi-strength-2.svg,sha256=GW8rBlIxKY4oTzVG9aiX7adx3QVidcbYK0d_a6N50cY,315 +material/templates/.icons/material/wifi-strength-3-alert.svg,sha256=tygaBJ3VaRmnPznFCzeV2MyFUmyrN8tWZNJLZtCVom4,302 +material/templates/.icons/material/wifi-strength-3-lock-open.svg,sha256=x4S8brjBJEtADjDm7DYg3dBtJsPp7QF4RAPKx05O080,563 +material/templates/.icons/material/wifi-strength-3-lock.svg,sha256=jImrf9iarQDZT8TlmeFvN4bo0KnFltWKcQjpLPonMSY,554 +material/templates/.icons/material/wifi-strength-3.svg,sha256=wqTKx2ZYeRBu8mRc6EKuk_ShHu5IG-OLNANIL8BKDdM,305 +material/templates/.icons/material/wifi-strength-4-alert.svg,sha256=Ek9-5vVU53QgoKFvYUFTcYVDN0UCKeu_f3gDMUkD0T8,210 +material/templates/.icons/material/wifi-strength-4-lock-open.svg,sha256=07aWOF4YyeQi7IW4s9x3gglZ6HIy6_otRBODVeSH7_o,457 +material/templates/.icons/material/wifi-strength-4-lock.svg,sha256=yfkd150xAWAXR7NIFdTsXETstRweaDm3T9RNpoCqGq0,465 +material/templates/.icons/material/wifi-strength-4.svg,sha256=6pG87mEyNyG7vvd7ybm07ezzsTDH1bTJZwkPjKm3RK8,191 +material/templates/.icons/material/wifi-strength-alert-outline.svg,sha256=pUDUH2PzOQoWtx0FZQ3vofsQattuBmb-yEaQAOh8M28,276 +material/templates/.icons/material/wifi-strength-lock-open-outline.svg,sha256=x2N2ZQY4y3IHlgNhgr-EOIxjYy0QN7YFZrYMPvYvP-Y,508 +material/templates/.icons/material/wifi-strength-lock-outline.svg,sha256=VIam7B-EEbFlrLdWVqBzjPUMoyRPP6qMpi02Q-eyvuE,518 +material/templates/.icons/material/wifi-strength-off-outline.svg,sha256=xgOy9bYNcW8rXlkOsbA-TpgI4YMHeHlBXRjF5SBrM8I,437 +material/templates/.icons/material/wifi-strength-off.svg,sha256=d2jqnquLlvKkkT2BAKGoOaoZa_T7Ht0_pk6jhCgJu6M,274 +material/templates/.icons/material/wifi-strength-outline.svg,sha256=xbdij0FuYgYQA8XNCFetaxoVH7cfqxBJNQzyjLZANA8,266 +material/templates/.icons/material/wifi-sync.svg,sha256=DNkeCjnMlvuitTG1YsS0G044Y2nY4-uIttRL-X3KvZg,662 +material/templates/.icons/material/wifi.svg,sha256=8fdK0sEr_DmWsT8glnkM9Zk6wpYU2WYOU6b5kd-gJZw,350 +material/templates/.icons/material/wikipedia.svg,sha256=xVJMpF__jCkh6PegaB19O3y_6d1NH1AwrZCTP8jNsIc,693 +material/templates/.icons/material/wind-power-outline.svg,sha256=A5JrTa5H18D40YhtcJAcN878smWY2Y3wo7Is678Uob0,889 +material/templates/.icons/material/wind-power.svg,sha256=zMlZvm85-eLlMEOdTW3lGofqXNGSkGnN1MA0ndi2Ys8,740 +material/templates/.icons/material/wind-turbine-alert.svg,sha256=hKBBq5LJ2q1o0gFTps-tWe8kBzZJBfzOp_kxXuzRoFU,484 +material/templates/.icons/material/wind-turbine-check.svg,sha256=Eo8ZAAE8Z40RZ6fkDgmgPQPbo8B6vkCQtlk1DQzOsZ8,520 +material/templates/.icons/material/wind-turbine.svg,sha256=hf7xsZCH9NfXupwjR8p_rDo1IPDMulla2OXtySo4teg,474 +material/templates/.icons/material/window-close.svg,sha256=wD1XM4LR1dJmAxwL0OHSLToBFlMIzwotCbjjvM07b6M,188 +material/templates/.icons/material/window-closed-variant.svg,sha256=DDTQCiL3NF186mQzFUq6Xdmy3_AP0fANv_naKkdOZHs,146 +material/templates/.icons/material/window-closed.svg,sha256=Z9vBGVYID5tY1R24T5U-wfZVE6UQamt0xkpvLhubN2U,185 +material/templates/.icons/material/window-maximize.svg,sha256=l4ijfsdqNqTpSEi-OOu4b2Gvtpn1cFxcY4esWMfGVuI,107 +material/templates/.icons/material/window-minimize.svg,sha256=_-E6QGUwVDH1wGFbWLsPS3ZEmIx1fjUQzE0J-4VRpCk,92 +material/templates/.icons/material/window-open-variant.svg,sha256=yVzhBxpKwrLX1pbSQFB9d1n6ibhLLHOielg9cAXfFII,157 +material/templates/.icons/material/window-open.svg,sha256=Q8R2ArROs51N0C4JQcrmTgKmz2fB6bL38Hte3FC85Tg,199 +material/templates/.icons/material/window-restore.svg,sha256=nwfTJVM4t-4zoKT6oAv0NdmIAjoDnpSzzxU9BAYvvL0,134 +material/templates/.icons/material/window-shutter-alert.svg,sha256=CapX4DAE6EzJ0SAt0vLll8TP6g_ZIc7kBbweEiUZQm8,166 +material/templates/.icons/material/window-shutter-auto.svg,sha256=_WLtckOcxb94Kxn2NSVboBQKzUC2QpN1lLw8IahXjrQ,266 +material/templates/.icons/material/window-shutter-cog.svg,sha256=R52O1FcKO0AHJPhYgxGUpRHeiNBzS7k25gq-N35Te9Q,699 +material/templates/.icons/material/window-shutter-open.svg,sha256=DYV0sKp89kYlA0f0W_jZF4m6x4yijRNq2U0IQ40hvoo,124 +material/templates/.icons/material/window-shutter-settings.svg,sha256=L-qHXk99pxCUpj7W9Bl2Zp2gmaTBAJeTThdEVQGHXyU,205 +material/templates/.icons/material/window-shutter.svg,sha256=q7KnA9Ym7oCOEBwCopOAWi2kuQccsLZlNXRWiSSU1f4,163 +material/templates/.icons/material/windsock.svg,sha256=1rESrv8y6LeO9-hqmFYaUw6Le17EZE51PgN9pfl0HEw,204 +material/templates/.icons/material/wiper-wash-alert.svg,sha256=04_8gLaoCVe8-X8t90CR0pnu2iinArhBpCH321vdClQ,613 +material/templates/.icons/material/wiper-wash.svg,sha256=i74dSqQk7PIpJB1s8yKnS3DtiCkeR6TPP5dvGEp2mmI,604 +material/templates/.icons/material/wiper.svg,sha256=F9NrJmF6pN8gexRSWMBJj3VU0NTPNTHwTJ6ECC7cTIY,362 +material/templates/.icons/material/wizard-hat.svg,sha256=LSh9Cj_O_7SPwavniJmbYg_iAfdqIrjuI1wgmvfVGgw,428 +material/templates/.icons/material/wordpress.svg,sha256=joS6BMV2d9FnhgL8FwweJlOi5nAlHXBF9NQxI1pfxw4,876 +material/templates/.icons/material/wrap-disabled.svg,sha256=9csB589ZAi3DU4PJ3XEX8DWdunf9XFQUTt0pShYHo14,132 +material/templates/.icons/material/wrap.svg,sha256=fyX5v5imoobe_ndYbPlmHgqZd7-8jHTlq0SbZiVhiuI,194 +material/templates/.icons/material/wrench-check-outline.svg,sha256=gi_i0t247iKkuVQlaFN5V2oayudz27GDYiFodLu87uU,415 +material/templates/.icons/material/wrench-check.svg,sha256=vcZaMxOSy6zFhwoXaJPmn9Ip8kOZeUEF3pHzUrbpTWY,262 +material/templates/.icons/material/wrench-clock-outline.svg,sha256=S41_wSYiMFDYO6gOf3z95YJCGPoOE2IzQOqYr9sdgHI,518 +material/templates/.icons/material/wrench-clock.svg,sha256=2llXtAZnvDS7Z-zQ_TJ58ZiUrMz2QAS3JvzisYUrrA4,364 +material/templates/.icons/material/wrench-cog-outline.svg,sha256=-wIFiFUETxo5JYh2DErkzlpCW30H4ETHxR9oOU5-ffY,990 +material/templates/.icons/material/wrench-cog.svg,sha256=u-1kxIVtLCHJ7lAfe8c8clAI9x0PFDqQ24vBZE0uVM8,837 +material/templates/.icons/material/wrench-outline.svg,sha256=kEqGZPcDDBnN8lLqDAApGL-tP4QYGAPJ04_ND1o6lv4,507 +material/templates/.icons/material/wrench.svg,sha256=8oDpLDhTdxuIeIr2oKoKqnm9pcAe3d61pqbqNgpYIHI,245 +material/templates/.icons/material/xamarin.svg,sha256=0U1lnaT1KJmbUiI_QwVtgNeV_vVtChgIsajip_pfmt0,485 +material/templates/.icons/material/xml.svg,sha256=CXBbPCwbeucvZspq6BihNmZZeJoU7zxBuP-hN4z0ebU,221 +material/templates/.icons/material/xmpp.svg,sha256=_2Ttvn3aRcaEfdZ4PiuEs5lAFg8sPwGDfBrx2DIyVZ4,294 +material/templates/.icons/material/yahoo.svg,sha256=E1_WnAOU5pRGezvBZzOH5l0xw_9q8ZqL4Y25TA1LQ4c,301 +material/templates/.icons/material/yeast.svg,sha256=bSiYfz_hVHi5j9TpfS_8pv-9nygZbgG_th8yDY73bpA,477 +material/templates/.icons/material/yin-yang.svg,sha256=4igt00FqbR32LTSZwZBRNdvYaeWWDFK8-tF_CoV7J-c,424 +material/templates/.icons/material/yoga.svg,sha256=iRAnLaMTgGjNZZastUHpTeMOXAZF0LmTeXqsGgZoC-0,227 +material/templates/.icons/material/youtube-gaming.svg,sha256=qEvbIHu8F3Ry2Y1626bu8FeCxh5DhocPpXYFiPQQ5IM,249 +material/templates/.icons/material/youtube-studio.svg,sha256=10N4n6AKISzreFNzxcYLdk97eNAIf1uwlzisWfQQBZ0,686 +material/templates/.icons/material/youtube-subscription.svg,sha256=mxlZVMCSvNwOX1Rj83mo20QxTVWT5b9WpbrC7sz36VE,201 +material/templates/.icons/material/youtube-tv.svg,sha256=ULuOeze7chL_ZG9x-mYd3c1zICSy5I9bbSCIKkHOqIc,289 +material/templates/.icons/material/youtube.svg,sha256=tVITMnDl8zqb3tJt_1smhq1WOn8meIppY7H3ClBMA1k,503 +material/templates/.icons/material/yurt.svg,sha256=71sESA936AZ758GCi2xzJ73BHCNf8KdUNip3ri18jT4,361 +material/templates/.icons/material/z-wave.svg,sha256=oHkUYQ6bXq_xeTkK3UWwUr5ZYw_M3yt848I5Lu6LwCI,395 +material/templates/.icons/material/zend.svg,sha256=dnmZzts86zoCLrEgV2LwXtSSkHyny9JYFrnQUY6E-9w,286 +material/templates/.icons/material/zigbee.svg,sha256=zV3r2hUme81-RHEihLxjYGGT2mmkiaT2iuXUqtb1xwY,585 +material/templates/.icons/material/zip-box-outline.svg,sha256=98Hi7PM6YTmAtl4tkIJMizneHdRg_1KdaYxkVCAqeVA,250 +material/templates/.icons/material/zip-box.svg,sha256=c6jtgqeJTQHkv-0heUFQTsZzdKMu-Ht4QAcPijFxyfM,216 +material/templates/.icons/material/zip-disk.svg,sha256=YoZkGw8kFgxwulEFYBzPObC8u3ncFjpDTXCVONyKr4Q,206 +material/templates/.icons/material/zodiac-aquarius.svg,sha256=7x5i4ARNrZHfrEYh2aOubF3f9TsHDD7zqnULAyZLTKc,265 +material/templates/.icons/material/zodiac-aries.svg,sha256=tP7-k1kqAqj_KWROLnke9I-wNvJr29R2hkqVuxBIHEw,383 +material/templates/.icons/material/zodiac-cancer.svg,sha256=Crv8phQJzMmBbvxyJakMevjlVFj6K7PYIP097dcdSxY,552 +material/templates/.icons/material/zodiac-capricorn.svg,sha256=_TTzpJ8AlPY-F4CS_RlYipHACduGuFgDgoWUfZ3Y9VM,390 +material/templates/.icons/material/zodiac-gemini.svg,sha256=UsWXp6uUHYuvoUc-0r93m6gjfVduyGu8qwEokmGvtlU,379 +material/templates/.icons/material/zodiac-leo.svg,sha256=fvE8lEn14C9yYZdZDLb3UUMDzV1JtV9xqYetLUVQx_s,580 +material/templates/.icons/material/zodiac-libra.svg,sha256=pxkjPttyPj0NksZ33EeUgN69bNoGH4_g22HXrAeGpwo,322 +material/templates/.icons/material/zodiac-pisces.svg,sha256=dOyLD_xc1V6tFYvmTEtyWnJqLBpQlJs8aizxLUaC0jE,347 +material/templates/.icons/material/zodiac-sagittarius.svg,sha256=8pgZMQgDc0wxLKTJP9XC121oNGWPzL7nIgPbN-RZOKU,203 +material/templates/.icons/material/zodiac-scorpio.svg,sha256=vfci6BVkP-aaOwozZdQYJYRYw-XpDmK5CvBS3vwLYYc,353 +material/templates/.icons/material/zodiac-taurus.svg,sha256=-iAswZwRgorAJOdMab4dNru7Tj92nNTip7PGnWRvyCk,335 +material/templates/.icons/material/zodiac-virgo.svg,sha256=8_-epM-Wh_Iolh2aFPjra1vJB0bde8T93AkSTv04JjE,502 +material/templates/.icons/octicons/LICENSE,sha256=T4hmQvno2Z7q3UhKzawBHD_eijOPr1L1yhQIwTuam2M,1068 +material/templates/.icons/octicons/accessibility-16.svg,sha256=mMaoEEzo2rPDhoBrioxDywooKDN5fZZTm4tz1B_EFhE,428 +material/templates/.icons/octicons/accessibility-inset-16.svg,sha256=P4OFzJecPSZBNf5WeawDW9snLBr9y_6wcCAFjlu1vH0,348 +material/templates/.icons/octicons/alert-16.svg,sha256=b-oMavag4inBcmXqZVhoAbXr558kBoXMHicrDstkfp8,380 +material/templates/.icons/octicons/alert-24.svg,sha256=_mijgS7-w66D1HVU0U6hPgcyJd0BRfG6-lLGnxeWZH4,437 +material/templates/.icons/octicons/alert-fill-12.svg,sha256=N7pMjQ2UTbaO2PkMBK4AvQf8_R-mXg5jwT_eZHePtLY,235 +material/templates/.icons/octicons/alert-fill-16.svg,sha256=M1ZbyfwUTxQPGuUuOUAmD4KcYSvM3S34I6S8YDZJPjk,298 +material/templates/.icons/octicons/alert-fill-24.svg,sha256=bFFFTRVPGwsDmxfrM7g5-lkkUcLIi0oFkovWmj7vzfM,316 +material/templates/.icons/octicons/apps-16.svg,sha256=muv3YE9ycs2M5poFAT6U4vu-TU3Di3eohZx1vhnNYAU,971 +material/templates/.icons/octicons/archive-16.svg,sha256=ryJOxSFjfTzGul1OgqAsv62M2E1ih2qLOUb_N8OEb-Q,537 +material/templates/.icons/octicons/archive-24.svg,sha256=040P7SymHrFGsa7qqKmSSG-Hk9oa-tV-lpsszAUh3Co,569 +material/templates/.icons/octicons/arrow-both-16.svg,sha256=V2FXaIIvw1yPJPqv7Pjd-kX0I3CbXaqBYPhwLbUGkLM,405 +material/templates/.icons/octicons/arrow-both-24.svg,sha256=ENYpDKJTcxId6zkMGeLqGsNcVjXhdspwsfPn5ERjGuo,331 +material/templates/.icons/octicons/arrow-down-16.svg,sha256=rXJEjhKV48e0JRGfYFW9giINyg2XOxpyp8XgGr_Mu04,271 +material/templates/.icons/octicons/arrow-down-24.svg,sha256=UgVe_jmtoWvU_Lc1yd2LNQEIKrgSpcwSpU3NT4KlZ9s,269 +material/templates/.icons/octicons/arrow-down-left-16.svg,sha256=J3ZmpWosl8rm_t7rzRpczyRoHDJQIel_-QXjMHRAgq4,228 +material/templates/.icons/octicons/arrow-down-left-24.svg,sha256=COBw1SrKE4cyFTgeJMhYLNGwjEt6AwPRquUbcMXzEqc,256 +material/templates/.icons/octicons/arrow-down-right-16.svg,sha256=S6xsTeg_9u4CuNtOeKQOAkKpwqZca6dPxxaiabZZ_ig,227 +material/templates/.icons/octicons/arrow-down-right-24.svg,sha256=yq_6S9X70M_WdeAciTsLPLe81XxO6fMYe_nk73nqRqo,256 +material/templates/.icons/octicons/arrow-left-16.svg,sha256=z1oPnavBeMw-NruWhXqEeGU12Rjs2sp9KyzgsZsNpnA,266 +material/templates/.icons/octicons/arrow-left-24.svg,sha256=6uOWfHrH1KOm_SU1UrrH-AARforRp7JcSBo9IQ9GhTw,270 +material/templates/.icons/octicons/arrow-right-16.svg,sha256=CVfnAYsYDM0gYBR0Ih6SqBNYtntxzjvwADTOkOnKFDY,270 +material/templates/.icons/octicons/arrow-right-24.svg,sha256=kiB4gUfUosEftb9xnQBvyHkdbeTKCH31soTN2Hbnfcc,271 +material/templates/.icons/octicons/arrow-switch-16.svg,sha256=_dEO2cF1SAjMDruRrkdWaIXMmqfHoOjIs7e-6MHumqw,346 +material/templates/.icons/octicons/arrow-switch-24.svg,sha256=Sw_r-xXlv4waC0p5E_s-yr5Zi2OkzpmMPh_OeCYxEyw,365 +material/templates/.icons/octicons/arrow-up-16.svg,sha256=rrqs9F6_5sHmp17kuguWyVO1Birb6VMpYIPUfAu_3Sg,265 +material/templates/.icons/octicons/arrow-up-24.svg,sha256=XsQyDOsH1tTE4uLxMDQkPgos3dazRnCRv234l_3GY5g,276 +material/templates/.icons/octicons/arrow-up-left-16.svg,sha256=bAQ7s7tjC4eDQF8gk00QHRVWJQx_JtbmwP-hPDs9FJ8,206 +material/templates/.icons/octicons/arrow-up-left-24.svg,sha256=eeoRCHGEXxWKO2H8pgtdf0VuVm-p9vXujxiCRYbxabk,255 +material/templates/.icons/octicons/arrow-up-right-16.svg,sha256=zswnU9O-nxd_WFGCwhLkHbBXtRhlFD3Bn9AZv873S7k,260 +material/templates/.icons/octicons/arrow-up-right-24.svg,sha256=o2mLTO12-txzhhyoIiTCGjk62C6MXyXJbCMUWNFmoPc,255 +material/templates/.icons/octicons/beaker-16.svg,sha256=7hqUly9dr35GhLWuUI-ZMoX8Jm2gckykHtVpaiU0W1Y,396 +material/templates/.icons/octicons/beaker-24.svg,sha256=wKraIuS6mol2naScJ8XFUs7Y9dHwKO_S1NFECufrpW4,409 +material/templates/.icons/octicons/bell-16.svg,sha256=nrJo-X5HUC_mkjAkX2LhpFrB3MD5IeXsRNXWxTirbgs,608 +material/templates/.icons/octicons/bell-24.svg,sha256=JCeZVEec7BqLZtvSITo7HUAmj_hhAm1IbKz5AvPDnzk,560 +material/templates/.icons/octicons/bell-fill-16.svg,sha256=pDoYmCg3htgWBma7m7d9ypKy86xUZDChl5VXHc8KlGM,280 +material/templates/.icons/octicons/bell-fill-24.svg,sha256=vj-qtdbvt322ijKdCmiYueAb_ecp3g-cWAn92U3qGx8,289 +material/templates/.icons/octicons/bell-slash-16.svg,sha256=SYu0Ph23pPpJgV_N7jQn5FJiT66mMA9oc14TjZc5YQI,616 +material/templates/.icons/octicons/bell-slash-24.svg,sha256=6aUq-bhVA5SK01CyWvqLdzY6zNbhQRi-ja_ni7vyYA4,715 +material/templates/.icons/octicons/blocked-16.svg,sha256=Iowc2d6jwQuYkhRs30nhCsC-TwhIsAQaTOD_YtKAIQo,475 +material/templates/.icons/octicons/blocked-24.svg,sha256=R_xYzDmiIoTVra_nyYm8OptNwHZBTsriAxZ05GRKs1w,485 +material/templates/.icons/octicons/bold-16.svg,sha256=3bac-khcIJnnigpo8TA-5KkzpORkvj9T2Lb_IcgVoGo,231 +material/templates/.icons/octicons/bold-24.svg,sha256=2mIApXSrQT5KkazlrU5KE_vBM6DGbOJd2omFrMlVOYY,263 +material/templates/.icons/octicons/book-16.svg,sha256=jzzd5ia_RVv8oUcFiYdaBkLqHFGczEGIpmyOjcIL2ys,531 +material/templates/.icons/octicons/book-24.svg,sha256=1_f09jFDEu2H5WVSQUyvod_oG9kn94ILNoAC5rRI_bY,495 +material/templates/.icons/octicons/bookmark-16.svg,sha256=8Hx-7XQPxkE0VNfL3lE4dSexhm_cls0ByQyH4cUf168,316 +material/templates/.icons/octicons/bookmark-24.svg,sha256=fBuB-xOXOtr7SClS01GjkiZaVRXzjqx2tCWOj12yAcE,318 +material/templates/.icons/octicons/bookmark-fill-24.svg,sha256=Ka9ruwq7paaMD6350c8-y_TOBbhyqyttCGcfIC6piMo,226 +material/templates/.icons/octicons/bookmark-slash-16.svg,sha256=N7--Z6LlG92gkuquY_ywLOKcOv9SEoKR5G2bldwWxIo,467 +material/templates/.icons/octicons/bookmark-slash-24.svg,sha256=0scPSz1XgSWeE8Lcc0V0HyOqEsG6rlRid6HdHYWXHq4,439 +material/templates/.icons/octicons/bookmark-slash-fill-24.svg,sha256=qN1LSOXMjtA3UItHeHJ8ok8zcZHb2yVWGPaqMEvovio,356 +material/templates/.icons/octicons/briefcase-16.svg,sha256=_Ga2Zrk0G57mrdUqINKC0Dg3jbF8YenRbujd5QelM9g,526 +material/templates/.icons/octicons/briefcase-24.svg,sha256=KSXBT4o-5uwCEmDtWVj8kTtgH8qGnPJwXcDAWuJ6TxY,567 +material/templates/.icons/octicons/broadcast-16.svg,sha256=AzuIyKc1maJHRI_E7LPYAXur_UxCFuKjPlvuHrZG3-Q,839 +material/templates/.icons/octicons/broadcast-24.svg,sha256=Lhuj0k6cxueKLjRZXyW-ypBvFir977ccLsxnqvgySaU,817 +material/templates/.icons/octicons/browser-16.svg,sha256=pwEG33v3_r61vxi7bjpbcWHBES0PLv8_uG_2fRLlA8A,350 +material/templates/.icons/octicons/browser-24.svg,sha256=jwy94ERg1VOV2h12AxQqoA4Px6cXbpJNwxG46tTspSo,353 +material/templates/.icons/octicons/bug-16.svg,sha256=xZYzaujMmzjbhB97KhsGnq_qtVAQbqOE5V6oUF92hyk,910 +material/templates/.icons/octicons/bug-24.svg,sha256=8NL_hXsxO1qVRW5RpHyuxzK6w7EPh4CLBs1wQkSqleQ,908 +material/templates/.icons/octicons/cache-16.svg,sha256=Am9rxFDJ5_F3-JvYlquLxPckXxbZYT67eL_05bVht_0,1284 +material/templates/.icons/octicons/calendar-16.svg,sha256=k16DVa6A281dNHjxNivtLVX35PifKAOiygqYdv26xNY,408 +material/templates/.icons/octicons/calendar-24.svg,sha256=47OS0ed1Lap9fvGWqtnKJeE-OVo1HgNhnI27jc_qNjs,404 +material/templates/.icons/octicons/check-16.svg,sha256=wm59VYsUwa6lWkL6lLlloA4mVr7I2em8KgyNa0M5eyM,240 +material/templates/.icons/octicons/check-24.svg,sha256=CZpDXiU8Fnh66WVxZN6RDkuVEghOw46c1_e5dr6heqw,224 +material/templates/.icons/octicons/check-circle-16.svg,sha256=d5FOflg9XVBR_RFgwV6HQ0o0dbaf2a-YHMCTt_urU74,323 +material/templates/.icons/octicons/check-circle-24.svg,sha256=YRkGi8OX1FLA7p1eANBPQ7Izrv2IkWhHzCMx4D-1CdY,367 +material/templates/.icons/octicons/check-circle-fill-12.svg,sha256=yb2YriUkDbW37_uZnuaS02pQPojYc0OKG359DkDYLFY,193 +material/templates/.icons/octicons/check-circle-fill-16.svg,sha256=XdcTZjIPaYh97_4odIIB9POjFuzItcRAuCE5bEpXTVA,269 +material/templates/.icons/octicons/check-circle-fill-24.svg,sha256=N6cz5tcvGBpn4IyTWJs-RlIMoUru0uHvHOO4EQQcvYQ,307 +material/templates/.icons/octicons/checkbox-16.svg,sha256=NnS4PYznHv0vaNQJW9ZPcux8O9zDrMTp1UePooYYeqI,481 +material/templates/.icons/octicons/checkbox-24.svg,sha256=61eIj9iiIz9yJy2IV4aDgErX9dBkaDA3VGnkktY713c,439 +material/templates/.icons/octicons/checklist-16.svg,sha256=LsedaTxv02k8yV70vd9yORazYrVtptVkicSwVivGIxk,567 +material/templates/.icons/octicons/checklist-24.svg,sha256=w3cP78xPnUj_2-wlHbeIiz-5QfPR2iQS0nqjdy8q_8g,556 +material/templates/.icons/octicons/chevron-down-12.svg,sha256=LmXv6uYtQNqZrxDnOsc7abgG0w_T-nz5BPvLykqugS4,222 +material/templates/.icons/octicons/chevron-down-16.svg,sha256=-lnDNMNmPX3jSzfptTvf9745ibbhzfnZyzCVj74L69g,221 +material/templates/.icons/octicons/chevron-down-24.svg,sha256=OyrasPnZGkK2dNuYeKgDSbGrKV3zqfFIz1vT2oS2YWA,220 +material/templates/.icons/octicons/chevron-left-16.svg,sha256=G5iLl8lnC-z63jv0AN6BhD6hqHgjSSZMozBt8tSVy3U,237 +material/templates/.icons/octicons/chevron-left-24.svg,sha256=oB-p5WW2wLRbdf2nuG4olmGLopsIjt2t45PhYKBzKWI,239 +material/templates/.icons/octicons/chevron-right-12.svg,sha256=TzzaO7xz07-HkZsuH4EL1ZBnARoH_dzfdSFLW1C12I0,218 +material/templates/.icons/octicons/chevron-right-16.svg,sha256=IZZb6Bq_wRFYfDckz6kOtusAW0C11TnSfU3BCgCMnnc,238 +material/templates/.icons/octicons/chevron-right-24.svg,sha256=y1F7Zal6oZSIRkEMUdVa64zo8CuvjtwCwQIvtS8ojlc,241 +material/templates/.icons/octicons/chevron-up-12.svg,sha256=bfkEA5S90ZpKqPGbW4PZn_GpAFPMMVEJReysrdD43BI,210 +material/templates/.icons/octicons/chevron-up-16.svg,sha256=XoD21WXlhJuyYsEhHGWDR7_ACxdeH8ODsm1fOyEwXLc,220 +material/templates/.icons/octicons/chevron-up-24.svg,sha256=XtkkNRapWMsPfiF1hE0qjBEsAyZ2xjqNG_DFLweRr1I,223 +material/templates/.icons/octicons/circle-16.svg,sha256=tu-n3JnAlMIrPg1wDveEJ92WzrReCA3o6XPBYDpHll4,157 +material/templates/.icons/octicons/circle-24.svg,sha256=vHz6Xh_izYf1-DwJHUD4tlDFoMXl2uDaYEzyQu8azI4,243 +material/templates/.icons/octicons/circle-slash-16.svg,sha256=6z0tw_aZV8IdWjXylNc7MZHmkwtulm4fpXWAWhFsuXw,225 +material/templates/.icons/octicons/circle-slash-24.svg,sha256=IEXc1x9NlqIi9xcbwrrCeDmCvgiZ6gCk2vPEmpqPzYo,339 +material/templates/.icons/octicons/clock-16.svg,sha256=oFQMWJAUzCfjF2uFXzg-Z9gxOzbmQQfL6NDuq_e846Y,258 +material/templates/.icons/octicons/clock-24.svg,sha256=JYVtb4U4QdPRUNcLQCeJxdHcB145eq-3qscEu68ZKbA,359 +material/templates/.icons/octicons/clock-fill-16.svg,sha256=Pa85udRUmZcL4NrvAGXESeIxIgvLUctY05qi5Uh8pVw,216 +material/templates/.icons/octicons/clock-fill-24.svg,sha256=QKNpauVmQePw5c3vSN7TpvIm6MhSPKEY8MOs2uPSOXw,255 +material/templates/.icons/octicons/cloud-16.svg,sha256=mSyt3msP28ICN5DT_S-LfQAJvsPmmZCJepsvdHMaGm4,480 +material/templates/.icons/octicons/cloud-24.svg,sha256=tKmOlLUr-Z0DGN80BlA3tWTm15gF0u29tV_zgsmJkfw,607 +material/templates/.icons/octicons/cloud-offline-16.svg,sha256=WJSREr_caP6Na76OwsbWy8bNL4un1bdILfj9_paK560,798 +material/templates/.icons/octicons/cloud-offline-24.svg,sha256=964J4sBxHxfQpUTxWlCoGIOV24DZHE41oztvA82_uao,832 +material/templates/.icons/octicons/code-16.svg,sha256=pU6lb1pTfvA-JKF3qSUX896X1Kaby6AEi-9xpvrJKK4,404 +material/templates/.icons/octicons/code-24.svg,sha256=Y_-aSQpBN_qTPadyM2-zr-M1i_YbCt9DinI0SzoDq-I,391 +material/templates/.icons/octicons/code-of-conduct-16.svg,sha256=hkiD-GcA7OkUUL-Ldu-iWCb0NKjWvRNDH9XH_aXyfHg,1302 +material/templates/.icons/octicons/code-of-conduct-24.svg,sha256=ahV769nzaKNveEeuTCwhK8J83PNUTvno8yBrlgvv9QQ,1396 +material/templates/.icons/octicons/code-review-16.svg,sha256=VtqaHONTGtaJpFlEKwXMK3F3NK279nAaPC_l12gwPY4,713 +material/templates/.icons/octicons/code-review-24.svg,sha256=vY7VPkhkxsqHyob-k9IFcgshJ5w_bICpRrM2fdu_kcM,683 +material/templates/.icons/octicons/code-square-16.svg,sha256=grk5r-lmpmDoO3q1XzPl_f02phQquLNI1-WN1hKQzUo,607 +material/templates/.icons/octicons/code-square-24.svg,sha256=HGj-ExdgBoITcKkOv0-49kduqddceOwSLJFrsJ0ygMU,564 +material/templates/.icons/octicons/codescan-16.svg,sha256=sRS5-_SrpfdIoug7ZqLB8DWtfSyrzeDzCfIpcyKZJzU,533 +material/templates/.icons/octicons/codescan-24.svg,sha256=hxmui5nrPuZKy4Xyd_lOl4UDG8uYpdqUvhycbWNIXZU,594 +material/templates/.icons/octicons/codescan-checkmark-16.svg,sha256=dz7iN5tBrZ_n1lvSmKZ-DATLTkoWIuJD5rT3ZqNug6c,448 +material/templates/.icons/octicons/codescan-checkmark-24.svg,sha256=SWxq5k9ViIz37jId2SrEks5-NYPIqxhEkXtdhbk19lU,479 +material/templates/.icons/octicons/codespaces-16.svg,sha256=PuPGzk6wtUJZ-Qsg_-JfbURka4KoZ6yDmwfFDB65Pvg,680 +material/templates/.icons/octicons/codespaces-24.svg,sha256=pWLpy0MgTG1TvOYRLZriji_MiN1fGv-L3TtQx82HenM,698 +material/templates/.icons/octicons/columns-16.svg,sha256=k9L2wchlFJloUsnZCCBBZtqO4Lu3vi9U0oEvQtkr7gI,535 +material/templates/.icons/octicons/columns-24.svg,sha256=TFbQNJKd4WrN-9-2YY3N25di7zGA9YFVOxXRJiPm5g4,547 +material/templates/.icons/octicons/command-palette-16.svg,sha256=Kct-efqYS0gvyMxgGNUvUTjPgFjcSD1L0a6cO_R9wG8,262 +material/templates/.icons/octicons/command-palette-24.svg,sha256=1svwD_UbbeQ_mttbUQzuX3m-Ht3gLqoJ_XhTgUaUuuU,263 +material/templates/.icons/octicons/comment-16.svg,sha256=zI_4TbfzqKIYziynHiMY5JLlHoDbMC1c133ZTTbcK88,411 +material/templates/.icons/octicons/comment-24.svg,sha256=3oehD6HcGM95IHuEUTQkRxU5YXCZI66_3qOS4k-wInw,423 +material/templates/.icons/octicons/comment-discussion-16.svg,sha256=Py0CDpF8Q8GX8pAZXyM821A_ddcvq0RMae8IKp_nekE,684 +material/templates/.icons/octicons/comment-discussion-24.svg,sha256=BLGZkg_2mAUGBmDT3DsEOcVtGafpJtRDNMTwgm7tAsY,766 +material/templates/.icons/octicons/commit-24.svg,sha256=qYn_QTLQIf_W0PNY2xkhdt2Mil9ee5ijpqA4p9p_WcI,321 +material/templates/.icons/octicons/container-16.svg,sha256=z-WF7R23GdO-KQF-X-s6Suc9_bjn_fjvSVEuFzfX5D4,737 +material/templates/.icons/octicons/container-24.svg,sha256=Z40kfN04MHp98_YqbL7jFEafc_IzaLTL1BbHaZqxibo,805 +material/templates/.icons/octicons/copilot-16.svg,sha256=cKHY69-MFHRYW8Kc0BQBpfWiQQzQlqCwYensk7YZOqQ,1523 +material/templates/.icons/octicons/copilot-24.svg,sha256=AWKZfYpPKY7frRoiMD9ph6EfhJqw9YAEOpq4LUAI4Pc,1666 +material/templates/.icons/octicons/copilot-48.svg,sha256=tEGYufCvBVHw1FAjutLSt9VhjbUJTovpAA3Z2M4SDtk,1832 +material/templates/.icons/octicons/copilot-96.svg,sha256=aBBgmlMY6fvzbRKzM3PjVlHY7D3teiACNdMKBJtEVyM,1967 +material/templates/.icons/octicons/copilot-error-16.svg,sha256=ijKA-W7ypYF0z4oKtbnVYNeIyhFB83yAnJmKtBjIj-E,1419 +material/templates/.icons/octicons/copilot-warning-16.svg,sha256=7UA_cum-BKw_pxRQX1t1MPZs2NnL8YCuuyhD4_WcAao,1367 +material/templates/.icons/octicons/copy-16.svg,sha256=cmfpGR2TfJ7Er3GLTqs6PY6AoQpyxM4rf0Mgc2BdFG4,518 +material/templates/.icons/octicons/copy-24.svg,sha256=cSe_av5cZPVC2AmYshGJu8Yfpolrc_wDD5HPdoEn55U,577 +material/templates/.icons/octicons/cpu-16.svg,sha256=yYHQ5LoemzjURF7HN9PKX0_PJyIF380jaRqn0xI85Ho,664 +material/templates/.icons/octicons/cpu-24.svg,sha256=-p702jkMXAMBAMXGL3znTewf20Fw_lwhhpCzMrQ7CFg,700 +material/templates/.icons/octicons/credit-card-16.svg,sha256=1QdjUEUAiPbZ1WOFphawmwznaN5uppc-UR9qiGVEjHE,388 +material/templates/.icons/octicons/credit-card-24.svg,sha256=FYnFfOdUp0OlF1h5LUmhPEhsBlM4Lhkx2SBEsXPaGSs,399 +material/templates/.icons/octicons/cross-reference-16.svg,sha256=RAw3O1cMl00bUydJHgjyJErJGpTtiQzaOl4lXDQm-tQ,577 +material/templates/.icons/octicons/cross-reference-24.svg,sha256=KDuEERD7sNfRn4cKN_0cCSn3jNsDNSIuZWyw5y-9dSE,569 +material/templates/.icons/octicons/dash-16.svg,sha256=-kwyNis4Qo9w-sf1ESp-fVlzFsO7OtGglMhSbu6ff8E,152 +material/templates/.icons/octicons/dash-24.svg,sha256=vrUM2DuvS0lfRWqp1EBd4GGR6VeLhRDrGrl8L08cAGM,160 +material/templates/.icons/octicons/database-16.svg,sha256=w9yZN_y2QLhYLvuFpxw4p22gYl33jt1eDPZFi4n5Ws8,1318 +material/templates/.icons/octicons/database-24.svg,sha256=z53BCnqT1EvQR5Z6M_qj3JmhszZh8aXh49629hGyCQw,1436 +material/templates/.icons/octicons/dependabot-16.svg,sha256=NErX4zUIr50uD_gaZxz3L4U520AG63PU9kksErOkhH8,581 +material/templates/.icons/octicons/dependabot-24.svg,sha256=lxsN7me4ugQcDGV6Bnvx0RJz0S9xAdPd7sW1UyTIrLo,585 +material/templates/.icons/octicons/desktop-download-16.svg,sha256=FM8JCUbDm8Np54IUZLzIrjj85kwDVsrmgpFdwJIeRw0,714 +material/templates/.icons/octicons/desktop-download-24.svg,sha256=SuLAXCWSQt-SCELIQi0_yT5Ke_RmOds6g1YMq1Pt_XE,728 +material/templates/.icons/octicons/device-camera-16.svg,sha256=etNd9TkmTyOUbfJTwsSU_xe2hoUQHToiOkq-i0_7FHg,348 +material/templates/.icons/octicons/device-camera-video-16.svg,sha256=z-RCuxlrauTPpQL-3m4cWzQJBzD-7dUK05t-BPtwvVA,417 +material/templates/.icons/octicons/device-camera-video-24.svg,sha256=tIr0cCf5hoijG5Ped_HTq__Y1UV0K4NFLUky1jf3BvM,413 +material/templates/.icons/octicons/device-desktop-16.svg,sha256=kUGH6W15MYrF1JbmPnz1JPkmneQv4I8wgRSNfxo6uBk,501 +material/templates/.icons/octicons/device-desktop-24.svg,sha256=S9lxWR1dwSIaYiDJQpWw3dylerI-yP7OPXJRH_yIddg,532 +material/templates/.icons/octicons/device-mobile-16.svg,sha256=HM3DeGZ3Idw7A4GLzKXNhMRwD1BcVCDzqyz3A73rADg,346 +material/templates/.icons/octicons/device-mobile-24.svg,sha256=FhIEitdhnnpmHmmAkmZ-xEp1Y7-x8S2VnEJ4xZSyPug,431 +material/templates/.icons/octicons/devices-16.svg,sha256=JgsKB7mg8i-5NWoRZmZP6SycLU-0DgcGhhel8xLAi7E,652 +material/templates/.icons/octicons/devices-24.svg,sha256=OydEliIgkPqcjdtNpKDYWN8DB5XjjODbU8riz22RIY8,658 +material/templates/.icons/octicons/diamond-16.svg,sha256=JyJrd3YqzBjFr6toNFBu7jjLRMhME5ggGQ1Z7pRUV9Q,365 +material/templates/.icons/octicons/diamond-24.svg,sha256=AaT8DA_s0giwg9gTUDx1oOX4ABSEA755MiSfl_sOspU,354 +material/templates/.icons/octicons/diff-16.svg,sha256=H7Padj1azgbotgiehxpTKf6GtAoRMCAwZbg1XxcE7EU,241 +material/templates/.icons/octicons/diff-24.svg,sha256=ej24l2sJirLMyaREDMrUu30uhWa6ydIvmLCwufXi9WQ,308 +material/templates/.icons/octicons/diff-added-16.svg,sha256=AyJVBMjF8WwKZH6InT9_bDqlk4-4B2La6Idgk-PSz8I,451 +material/templates/.icons/octicons/diff-ignored-16.svg,sha256=q4CL0egDMgvF-74XlMeXTfZss1kNG1MjhFzx_vngAoQ,434 +material/templates/.icons/octicons/diff-modified-16.svg,sha256=35elaQh9UNagEFP8Rs44SG0Lep4w5JHQiOauVjvPay8,349 +material/templates/.icons/octicons/diff-removed-16.svg,sha256=H9-IRmEiw2r4D9y6gHCR8sI3PkSUvK0wH8wkepl4Wdc,364 +material/templates/.icons/octicons/diff-renamed-16.svg,sha256=f1GnpUSm3KnGErZEJMmt7ER_3uSN8qlti0xKBrBpb_Q,508 +material/templates/.icons/octicons/discussion-closed-16.svg,sha256=5zNlMBSfwOg67YqpgBFx7VDSSzKipCH4yoFiDJkLMPY,772 +material/templates/.icons/octicons/discussion-closed-24.svg,sha256=2EfKgHhpIf0EvyThSscM9AZxaJfFo2MMf5frnNJbo08,861 +material/templates/.icons/octicons/discussion-duplicate-16.svg,sha256=zruQ_rQ5bGI0bPR_iTWNLl0thLD5f6SNOXs1jEbLEFM,742 +material/templates/.icons/octicons/discussion-duplicate-24.svg,sha256=ntbxhZHd9OOJsKSuYmlEooB-5cn0LVVrok0ZXTAGvBg,816 +material/templates/.icons/octicons/discussion-outdated-16.svg,sha256=yETjXR0JceFlt1fKHeHxgQiiZFZlh45cuvY217tcThY,779 +material/templates/.icons/octicons/discussion-outdated-24.svg,sha256=-E9y38AesY3OTdQFHTZWpl1GAE8dxYSRwt8H5FLujQM,896 +material/templates/.icons/octicons/dot-16.svg,sha256=dAKRXF0I0jLz11SOLP066AB-ZbKxQib5xPtiUeHTaG8,154 +material/templates/.icons/octicons/dot-24.svg,sha256=qOvMf-DACUcOOE1bS3dJ8rrWZbudue0vbsV9cNSfhWs,158 +material/templates/.icons/octicons/dot-fill-16.svg,sha256=uHK5igPih9MRWKI0fLXYrrJQoZV87gw5C5MsABAGdgE,111 +material/templates/.icons/octicons/dot-fill-24.svg,sha256=F7haU-I_3r6FPTBly-sWZ3wuxaMIYS_-VL7F9dZOt1w,115 +material/templates/.icons/octicons/download-16.svg,sha256=pLJuxN4qeKHU7taXa6zW92bEasqp1hZVA5wVQExb03U,404 +material/templates/.icons/octicons/download-24.svg,sha256=99HqdMhAhtOxJf3cUr-SOxWEltib6D6b65M0fdBKW84,455 +material/templates/.icons/octicons/duplicate-16.svg,sha256=IPobyEmxfOHB5gVdw7iBpyOVVeuL1BQb6lz6MpbLLOQ,674 +material/templates/.icons/octicons/duplicate-24.svg,sha256=EKVdjf9lW3lJxlHza_OfWBBBpX1VO1cqIJsKvnvEcrE,732 +material/templates/.icons/octicons/ellipsis-16.svg,sha256=HEuWev7tCNqkk6TC469jQG0fiLWNKSxBhnmDzNpoxOY,296 +material/templates/.icons/octicons/eye-16.svg,sha256=2RI-yPcUY-wJPQ8QRN4hbNJ4TDeR0YMJsChTBWAAMpE,726 +material/templates/.icons/octicons/eye-24.svg,sha256=767S00m8TGw3qAna826Rz1OwWLvvUeChlHREyfB2Puc,803 +material/templates/.icons/octicons/eye-closed-16.svg,sha256=wMwmx55eZOVZ98rf0hQL8lMz6XsDRCYLZ1w_O3Hgajo,889 +material/templates/.icons/octicons/eye-closed-24.svg,sha256=6Qh1K50iv1eE_HqDFaHadrQbZlXeWrfSRn8wSGClNPE,926 +material/templates/.icons/octicons/feed-discussion-16.svg,sha256=VBH-_zBsQZlb1NhTPBZK2RUxL8knAwIxnaOGv9qY4Y8,218 +material/templates/.icons/octicons/feed-forked-16.svg,sha256=z-BB5jTJK7S1cuMbe_Ff0LNQqm3cMeqXgzM9KzO59Ys,285 +material/templates/.icons/octicons/feed-heart-16.svg,sha256=7rCtT1rEcs0KZZGrPgUZAwne3k40UtuvUbLx8UN9OPk,349 +material/templates/.icons/octicons/feed-issue-closed-16.svg,sha256=Q2yd5ubUFgLGbY9LCnWIY_lUBps0XrKi4FIfAU8Hp9g,229 +material/templates/.icons/octicons/feed-issue-draft-16.svg,sha256=FuX4HqpKq8cNq9oYHj0GfaDeBxtPEAFUsGAgK9rEiDU,1031 +material/templates/.icons/octicons/feed-issue-open-16.svg,sha256=pgKDsC_PRigPzGPNWPXe4VEQ35BcOM3wTSdO9P-QnAY,281 +material/templates/.icons/octicons/feed-issue-reopen-16.svg,sha256=vVUa3lqvxHDMIWRrShfsnFzEmvCAPzFth2seJ6XZurw,530 +material/templates/.icons/octicons/feed-merged-16.svg,sha256=_cz8iJ-iBpTZkenfGSDfqdHfVJl0BVjPvRtfE0LXOUI,275 +material/templates/.icons/octicons/feed-person-16.svg,sha256=MkVnaC92siqCtKb0V2bxJmyo1_TyzAmLXtMsLZZ5JsA,249 +material/templates/.icons/octicons/feed-plus-16.svg,sha256=YMdkKPXoJ-_MtNrSD4E5RuDVItlGcAmtViURMpXDI7Q,219 +material/templates/.icons/octicons/feed-public-16.svg,sha256=ZTdAJZv41SNYt-yfmYcOxWSU2b33RPbvnnydyMMaGTE,262 +material/templates/.icons/octicons/feed-pull-request-closed-16.svg,sha256=kCu3D-9GiBStI84OrHlebW25idOuBMGuO-lw019knho,492 +material/templates/.icons/octicons/feed-pull-request-draft-16.svg,sha256=qhWAM9lxmOXhJUhJ6b5Kp4IpbtVXT8IUbIvKNT1jYFk,423 +material/templates/.icons/octicons/feed-pull-request-open-16.svg,sha256=adoEnq1B17cUHiijSQ22HW1f31veVounKDqHTF0_LKI,472 +material/templates/.icons/octicons/feed-repo-16.svg,sha256=WefllmztT4QegDSYa1Kob4Z07sfQdvG8xfMHQQ043_s,354 +material/templates/.icons/octicons/feed-rocket-16.svg,sha256=IPm2zHljNwdhimD0I0lmYcK043jcvMH3Tw980QWJYNI,610 +material/templates/.icons/octicons/feed-star-16.svg,sha256=YwJYmA2rg8dabHnmkcit9V4Mcr6zHsrCrxnhqyfVu7o,378 +material/templates/.icons/octicons/feed-tag-16.svg,sha256=GWCiZwYCZhWqO73oL_u99ESwlXRxMLTSNJcak4eALZM,336 +material/templates/.icons/octicons/feed-trophy-16.svg,sha256=dEnizMRn4Qb_NERtnfq7Fr-rlFLDgkGLAR0KpHoYzaw,477 +material/templates/.icons/octicons/file-16.svg,sha256=KAIHJCuJcL0scLcgRo7KPocYkX-ORtODNr3nWspuL-A,428 +material/templates/.icons/octicons/file-24.svg,sha256=0kKaFamN33Ho9zVH_gNE2SjR-dVU5noeG_eh5kz2Bj4,350 +material/templates/.icons/octicons/file-added-16.svg,sha256=VAiS5p48Qws-01MLXMQkHRP5uZ0xExx0jHztSQNP4fs,560 +material/templates/.icons/octicons/file-badge-16.svg,sha256=ZkbYIdN1MUIERHW56meZ7Y2No7SOLIGBV0hvqrZCFos,657 +material/templates/.icons/octicons/file-binary-16.svg,sha256=470BczCtMsS6hjXCiE7e9PS4sEEXPu-43S1UJCdOnkA,740 +material/templates/.icons/octicons/file-binary-24.svg,sha256=VjFsrqXb3D6iJYUItXUbOqfEo7Ax75a19X51tcfX7RY,695 +material/templates/.icons/octicons/file-code-16.svg,sha256=YnPZiIwSA-O6Se4tsn-1m8zq5tJw6ZpF1QqYx8Qljqg,725 +material/templates/.icons/octicons/file-code-24.svg,sha256=263gBMVBjCC0HN-FKyl5zhJNTRszGoBfKh-e8JjhOuY,620 +material/templates/.icons/octicons/file-diff-16.svg,sha256=tpx1KN_6UHjGqYYa1UwSE-oprVgNtIkwIfDjhhnBotA,596 +material/templates/.icons/octicons/file-diff-24.svg,sha256=Vme_j0VOiF9U6x5ed1cIa71s5AYckH3QTRclHuzDZrc,500 +material/templates/.icons/octicons/file-directory-16.svg,sha256=DyUnuTRQgQQXZJK6VXYh-2L8cUHyNtqtuvglVYh-h_w,404 +material/templates/.icons/octicons/file-directory-24.svg,sha256=a59spl04ltNKXXa_trQMK1kC3y2oLn_QmhTjPsGXgmY,444 +material/templates/.icons/octicons/file-directory-fill-16.svg,sha256=qiT2WqWme1ujjg7uI-2ve_yKYtKh4xiLjF14shuglgw,254 +material/templates/.icons/octicons/file-directory-fill-24.svg,sha256=3e_aDvNqvjZbYbvb4aqoxX3PzM_NBLsK6ipDMjRM4pA,267 +material/templates/.icons/octicons/file-directory-open-fill-16.svg,sha256=gclqbMtgWQSDcfl3qbJidijJzVlvNNhe6iQmZ_grGhk,327 +material/templates/.icons/octicons/file-directory-symlink-16.svg,sha256=Mp_4bt6IZ39PgDKhR5GePKV_uLj9_NwhwaygWFLXoOs,621 +material/templates/.icons/octicons/file-directory-symlink-24.svg,sha256=4mXV7SNxb6UxcTpJ9rfeurwH0yPB47Z-r6h-0uSSZE0,670 +material/templates/.icons/octicons/file-media-24.svg,sha256=mXgBs4caQY8O49558sMQ6ioMdZyNKJTvWOE8W2GrV5E,570 +material/templates/.icons/octicons/file-moved-16.svg,sha256=fD3fj1Qy6NLwLpuDa2Yg73OO8J3sb6tGfe_1k4PPr1U,526 +material/templates/.icons/octicons/file-removed-16.svg,sha256=Q1XPstPeMfL4j707bXKu4AT3SHnvaf3H_Od7xl2AOqE,454 +material/templates/.icons/octicons/file-submodule-16.svg,sha256=PGY0Z2ECmBNwyMZcMLzuAkmWDd3xCWG7k3Nj71gq1CM,376 +material/templates/.icons/octicons/file-submodule-24.svg,sha256=IrMNfwBALrnkuWnyl9LfEBZP8oYbcZqrAD_HItKYjIA,449 +material/templates/.icons/octicons/file-symlink-file-16.svg,sha256=Jc8tTfCg6LI3fVYbK_ZR1v1usmPBVC3wgeMAxX_40uM,628 +material/templates/.icons/octicons/file-symlink-file-24.svg,sha256=GoSBT8EmnFXxlhu2aQnBRnijte2OPu9Dw5T2VKPGr7E,622 +material/templates/.icons/octicons/file-zip-16.svg,sha256=twNFUevt9I4cfRZTfW4NIqRTqVRBM4j_Qqh9ieLK5aQ,989 +material/templates/.icons/octicons/file-zip-24.svg,sha256=V1zFd0CL38uwLIH2gtBvA0CDgIbUIYvOyL_DKE_urfg,1105 +material/templates/.icons/octicons/filter-16.svg,sha256=bwBz0bykKOr93FrVSwMc6twloSUrIvELyt58cbmOOKY,283 +material/templates/.icons/octicons/filter-24.svg,sha256=009b1w1KJE4loyRRTZv-4-jz74KjKur481YzfKYo_m4,293 +material/templates/.icons/octicons/filter-remove-16.svg,sha256=yXIirTXwfMycUFr4Qx-4osx7Wv7ocFJq2XA6W8GkO6o,484 +material/templates/.icons/octicons/filter-remove-24.svg,sha256=JmC68dIqEyiqrNBI_KQKcmB8Kms3ybxvsW7t87VtWJ8,505 +material/templates/.icons/octicons/fiscal-host-16.svg,sha256=odkmO0fd57b6iYUsx3Tzw7HOpq8eI8qIiJe8izLia_0,623 +material/templates/.icons/octicons/flame-16.svg,sha256=2hiY9aLPlebe_15FCUqEA3yxV4eVjraTtR3lpkyaFvM,652 +material/templates/.icons/octicons/flame-24.svg,sha256=3iMA9VM1JI9iVA69IhghO_7KKUrAayhbulNRCtFE-5I,734 +material/templates/.icons/octicons/fold-16.svg,sha256=OjJgqQAOoYDAMee5QvpxJaMIwniPuWqK0OmO17cG3kA,652 +material/templates/.icons/octicons/fold-24.svg,sha256=8p9niomGs97VeDZ9qeYK0GyJpiGAbe3Qu9RkMbISwio,964 +material/templates/.icons/octicons/fold-down-16.svg,sha256=jPS_zr15vskeVfR0N5LvweOhBVPU3PsZSWPY-ENS8MU,529 +material/templates/.icons/octicons/fold-down-24.svg,sha256=IWBuYu1dO-Uk6_H2R5c2uyuNj-Q9Lvzf3DonoJvsFQg,710 +material/templates/.icons/octicons/fold-up-16.svg,sha256=q2j4MdfI99gtnolR57AuE_13X5ylxTC7Xz36eXjIzdk,535 +material/templates/.icons/octicons/fold-up-24.svg,sha256=HTgtz8s31CmHF0e-SRjRkGrDH8MqOit-ryQMvjYxWlQ,682 +material/templates/.icons/octicons/gear-16.svg,sha256=x-naFxjM7u3kgHH7OlXZTP5xGymJorYRctcn1n4j_OM,2401 +material/templates/.icons/octicons/gear-24.svg,sha256=Jr0HiaIF1un9WMa5xsFNT4NvsBVtAudQVc7-jZxe5G8,3180 +material/templates/.icons/octicons/gift-16.svg,sha256=TXcPePxWGsumt-hyovZoK8XKa6x_UfgJ1c6Io3v4arU,823 +material/templates/.icons/octicons/gift-24.svg,sha256=zCEOKWuPtW3lt_ZjPYgXWE0H62ig9Gs0b7NFfQjGBlo,766 +material/templates/.icons/octicons/git-branch-16.svg,sha256=XBIzl7YlEwlALPj6dYLd19j9m1Tpbo2JCaFgrZQHo7Y,421 +material/templates/.icons/octicons/git-branch-24.svg,sha256=L7L2Rt7G77_vCyWUXwVV9qWlNzxoCX7Um1CiAYQruv4,648 +material/templates/.icons/octicons/git-commit-16.svg,sha256=GS6a0LFZfIvM3yEflFLk_9fcp4qcmFEd1DApr1Ta9N0,238 +material/templates/.icons/octicons/git-commit-24.svg,sha256=WBAb9Jfd_-HZ-jH42rkKP9ybRZcBQhIfnpTtKdYveag,250 +material/templates/.icons/octicons/git-compare-16.svg,sha256=wzGt6iFom84AufBEu5SqTN3fngSzj1oyv9JXyRM21Yo,515 +material/templates/.icons/octicons/git-compare-24.svg,sha256=E2ckwEseLageu7Pg0x1rOggjA16E0iPpLX4UtMqG1Yw,816 +material/templates/.icons/octicons/git-merge-16.svg,sha256=8NQc5IKULPspjaMkNE7oOgguT9wII9JDl_T_cZQhymQ,363 +material/templates/.icons/octicons/git-merge-24.svg,sha256=9b5XEDioNfTy3B3pDQjSA4OfD86LYWElmK9pym2IuQQ,586 +material/templates/.icons/octicons/git-merge-queue-16.svg,sha256=iuV6xAosjeHXjKiOiJs_WlB6SHOXTWWdcEZF-0nnzEg,388 +material/templates/.icons/octicons/git-merge-queue-24.svg,sha256=JOuKT9zBRBo0vl66Fl12HoqYTFErpKPDdrD3qQ1Aklw,498 +material/templates/.icons/octicons/git-pull-request-16.svg,sha256=BFPzdkrgHGR0KEB_ZNdD-gv85kfloHI4ft-7WqtiqBU,490 +material/templates/.icons/octicons/git-pull-request-24.svg,sha256=EyGh7gjyEisIDP4yuyBISoS6h8tekECUTNJlyaoSEZ4,728 +material/templates/.icons/octicons/git-pull-request-closed-16.svg,sha256=hxLicK0FvwHd5kJuqZvcTaTRG735GBnrBsw7-wlFUhc,653 +material/templates/.icons/octicons/git-pull-request-closed-24.svg,sha256=stc73rGIS7W3UrvH3l2Lt2FTSeIOdiZlMBOA6-SlaSM,797 +material/templates/.icons/octicons/git-pull-request-draft-16.svg,sha256=tXIHm2uxXSLVR1sOvBKc1PXxgq-cOxJWCjVzP1rXNc0,465 +material/templates/.icons/octicons/git-pull-request-draft-24.svg,sha256=AgNOf6wTjXMFFhtbYWxwOdzLXZ2DJqS8yiwOU1enuOs,630 +material/templates/.icons/octicons/globe-16.svg,sha256=kxTttScGHaE-6I-67YuDPyO2rN5iNX49APWHOl9_xq4,768 +material/templates/.icons/octicons/globe-24.svg,sha256=3hXt_4EuxkGqIYMwNmvfOY4zrfODMP_u6LZ00HJ7_FU,892 +material/templates/.icons/octicons/goal-16.svg,sha256=rPoEqSm0mLvaQsXKomRry-RamH4GWaGQBvKZCxa0T9k,700 +material/templates/.icons/octicons/goal-24.svg,sha256=7wsDB0iqs6MW77AflGf-FFr95Kv0311XoWVLjvyK3aA,877 +material/templates/.icons/octicons/grabber-16.svg,sha256=Gg3x1gaouRDzLsmnJ7gvQwW9R81-IwTE5D2XBprOaPM,279 +material/templates/.icons/octicons/grabber-24.svg,sha256=jFnhP_3QvRi2vxN281xQK_nvfF8qdCLOb2yc6gE7U0A,278 +material/templates/.icons/octicons/graph-16.svg,sha256=6fOcyWhTe6mn6XeOLfBRqYmEXIa5xr0Oeuzty8jXQv4,375 +material/templates/.icons/octicons/graph-24.svg,sha256=tvHMTIwgEPQPg_1eYVcG-eq57dpzHrL20ubGfOjdK2Y,329 +material/templates/.icons/octicons/hash-16.svg,sha256=sTUjcOCPuk_j43Z6DCbLBWuyXhovusHH3FQ9neIP1So,450 +material/templates/.icons/octicons/hash-24.svg,sha256=YefzQC8NdHrp2p8127cfv_8acAgxcuEV3BzvCu0Xy5g,454 +material/templates/.icons/octicons/heading-16.svg,sha256=1ObaiFaKu4bq5IOopjKrOoYayM3Z4zFnXJ20YNvQgBc,214 +material/templates/.icons/octicons/heading-24.svg,sha256=wPSvxwZRa9OjKXX1sAyY4NOvKaJ5wiOSrL0QFLvRRMY,216 +material/templates/.icons/octicons/heart-16.svg,sha256=b4Onopq0Fplps79lKuIm9z7gOln3jeiGT3w4E-z3BTE,671 +material/templates/.icons/octicons/heart-24.svg,sha256=uc4RE6f_NCGLwngcRzf0ZXHnkC3y99yTqOxKtDD1DWQ,748 +material/templates/.icons/octicons/heart-fill-16.svg,sha256=DGNFbJXFiwbVZdSyF6B8aNPd7oUb6KEbDe0Yis7m8ZU,411 +material/templates/.icons/octicons/heart-fill-24.svg,sha256=97Eqp6hUji0crjiEyb0yHRv_CUGSw-yt2qkit7ENxp8,440 +material/templates/.icons/octicons/history-16.svg,sha256=GslSCLsAV8SLyL0Xhce0Qmg321fkytMc9Pk6W-_syss,386 +material/templates/.icons/octicons/history-24.svg,sha256=388vx4qH-S3h3EV2KR1OH-IiNUisfNkXtlkKytxag4c,504 +material/templates/.icons/octicons/home-16.svg,sha256=-OfpeioiOABvmvz6HntpwqGSiuOTufoNgrQmAD1NSLg,510 +material/templates/.icons/octicons/home-24.svg,sha256=xhq36QyeyEuG2HrSF7DWUsqpwrGYPfAKydb3myUyKlA,383 +material/templates/.icons/octicons/home-fill-24.svg,sha256=xByp1us8tg-bXLntJhVoRGxXbmcxZ3ityUCpG8WNcfw,296 +material/templates/.icons/octicons/horizontal-rule-16.svg,sha256=0EA5n2rUV4vpFeI_HhBXm6O5w1sW297VttLkF85L7ag,153 +material/templates/.icons/octicons/horizontal-rule-24.svg,sha256=wnK9g0EhiN_TvqA4Klcwd3kEukYXtIiC9QrLf3XIjWo,158 +material/templates/.icons/octicons/hourglass-16.svg,sha256=sImz8jfO2Y73G7w29gN5P2KIyZ-keiUgpWdofEN0FJ0,590 +material/templates/.icons/octicons/hourglass-24.svg,sha256=M9YqFrPyhC2YwRZ26eFufNJOoAr4Jxai_wpEH7qRqH8,636 +material/templates/.icons/octicons/hubot-16.svg,sha256=Kx151ByV2pacnyFfhvgzVjJ_zERjKyY2s64iqJe2-bI,587 +material/templates/.icons/octicons/hubot-24.svg,sha256=R6_Es8-6W6j5RMPO87JV0mnIHF8OyXlllx2lzUdkV8A,671 +material/templates/.icons/octicons/id-badge-16.svg,sha256=L-7Z4ks-KY6sFFKDVMiUkrGdlNFN-F4UQNw4Px4qKq4,766 +material/templates/.icons/octicons/image-16.svg,sha256=Bezll_lg7QikQglGTzGDaPnVPlj4KoVS8rN65Ws1VBk,498 +material/templates/.icons/octicons/image-24.svg,sha256=VFMzjssPJBmKQaYmvpOATfLgDmhQfIoTuXog4nMAezg,501 +material/templates/.icons/octicons/inbox-16.svg,sha256=yR2KcwzbwNiMzIwUOn_pvlbKirgjIf8Bk5EPzpnW_c8,538 +material/templates/.icons/octicons/inbox-24.svg,sha256=cFV_-sFVzpRvYz44pluCdLkbmxhyd6cgcgb05wSzlWg,587 +material/templates/.icons/octicons/infinity-16.svg,sha256=0U1qJZyw1FAMqu_bra7uPsGOdGpQqjlX4ZJGf_nD2UE,730 +material/templates/.icons/octicons/infinity-24.svg,sha256=QT5qTkX3c2JthX6OMWskMInPDYQHPv_WnpRd9WUP7u0,794 +material/templates/.icons/octicons/info-16.svg,sha256=BLM6w-RU5jbRydmg4L4zd9uTCVSVno-GXTYC2HLYSlI,325 +material/templates/.icons/octicons/info-24.svg,sha256=Tkhr08JATuhyWZ7c5NHu0lH7Nj01k-TDJV-D80xTsLI,429 +material/templates/.icons/octicons/issue-closed-16.svg,sha256=SauDttnfOGmTanlFzLTLs23n0neVHc-Kcx1Raat5jFo,281 +material/templates/.icons/octicons/issue-closed-24.svg,sha256=YRkGi8OX1FLA7p1eANBPQ7Izrv2IkWhHzCMx4D-1CdY,367 +material/templates/.icons/octicons/issue-draft-16.svg,sha256=SgS7SmqgpPYvpyII9VsOPEnnFcN3RcZSVqp9ByzSeY4,1140 +material/templates/.icons/octicons/issue-draft-24.svg,sha256=JYmMy1lgg6SkzToVfMp1w_N7haqLcN12rwhkKRsUWPE,1157 +material/templates/.icons/octicons/issue-opened-16.svg,sha256=mqVhQ0v2weoYdM4UwaFeheQQ1D3Fv84r4hbo7x6KBdw,212 +material/templates/.icons/octicons/issue-opened-24.svg,sha256=dRyoR9kBwcBayHJ91Bo5thL31vrZkTHevwdWSFgQEkA,288 +material/templates/.icons/octicons/issue-reopened-16.svg,sha256=jy-gFA_6UCBFUpvJfvJFNnRTk0PWOY6_ZmYQyrWA60I,579 +material/templates/.icons/octicons/issue-reopened-24.svg,sha256=9AhY5-cOdkHN0s5QjNHVGdRGGCRhxf941ATPaEITXHs,588 +material/templates/.icons/octicons/issue-tracked-by-16.svg,sha256=YHFoyydXKlvTCaeGjhsZgSIPsmpqMxZmA-HBKQxJaPw,369 +material/templates/.icons/octicons/issue-tracked-by-24.svg,sha256=VPGQ6a77_jnkYB9WpW_fANpPcVAAHeMhOddDvGh-t6E,406 +material/templates/.icons/octicons/issue-tracks-16.svg,sha256=sZG4EObLjeTr86154lo9zq2FrXfbNHArZX0wxsv_g2c,360 +material/templates/.icons/octicons/issue-tracks-24.svg,sha256=CZTRqog8mCcW9ZfFIUIRsPOWYpK_a3ryFpKgpZpTVfE,392 +material/templates/.icons/octicons/italic-16.svg,sha256=BZzwOWchUDTNA67AJYHQij55KYbi05v4I84VxjR1giw,232 +material/templates/.icons/octicons/italic-24.svg,sha256=jpyfpmJUlocyuADI4JIeHq5bsgso4MHmaVp4LbYNyqc,239 +material/templates/.icons/octicons/iterations-16.svg,sha256=VO5eS-vYo1owG_vJle8eN16F6p_iasiOBNZtRm2IbDQ,286 +material/templates/.icons/octicons/iterations-24.svg,sha256=qQz0pz1bMCEge6JMFRX6ixLC_XJBCqXb-Mu-1aC8H2Q,285 +material/templates/.icons/octicons/kebab-horizontal-16.svg,sha256=_IVG9yOeV2rcwBRH16I5CTX2g4J8pdwI0VZ6Pv6GvnM,204 +material/templates/.icons/octicons/kebab-horizontal-24.svg,sha256=WFjQ3Pl1pgkIvbkL8gjNe7-lMnb78PaSwOaHpBt7ELY,204 +material/templates/.icons/octicons/key-16.svg,sha256=D2kuiOVDWKxxlxM0yxjtrx9Rb3zzfCOjNT8oyD_urN0,610 +material/templates/.icons/octicons/key-24.svg,sha256=dL6EF0bYhJRQu7Ks7aPudistPI48RpmdCcgRoHJAVBI,754 +material/templates/.icons/octicons/key-asterisk-16.svg,sha256=F5YjFpcfDyjlXVAxgwkkfijGGrMM9-W2gLYGkL9ia7s,571 +material/templates/.icons/octicons/law-16.svg,sha256=RNF4dlAFZAAgYUqBnxFrdjjEN4put18AzZ-NUZ79k-0,1211 +material/templates/.icons/octicons/law-24.svg,sha256=WB7WwlfzXMeejnPJ9Wz1opPxb7RnRxKdwyDHVLHQ_dU,1181 +material/templates/.icons/octicons/light-bulb-16.svg,sha256=LFBhqWIhxNB-_7s4hCcGvDFEEIOlZzr4qjoDGw1CYY0,771 +material/templates/.icons/octicons/light-bulb-24.svg,sha256=Yxy2bbcYfFxxnWDL6b5PMkvYslWo-lpDpN84QzRwRI4,848 +material/templates/.icons/octicons/link-16.svg,sha256=p6B6KvjLfsRmqMZpRsXjHLDSAyhsGt805Ai8rPfdTTI,599 +material/templates/.icons/octicons/link-24.svg,sha256=YC5OmQR5czRGuJmDyWVsdC84TSEdZ6cKc5jI1SUAMOk,503 +material/templates/.icons/octicons/link-external-16.svg,sha256=1X6OB6fg3sCcvVy_0TGQvT3I5goIzBV7-sgcn4zxxAo,472 +material/templates/.icons/octicons/link-external-24.svg,sha256=k6dd9yq0z0bsxfHEom4JLFwaXg9oXdDinXRjGNn7eK8,468 +material/templates/.icons/octicons/list-ordered-16.svg,sha256=i_8HnjZJFGJRCWK3_dQw8dVZkwGWNyHBmQpW6nXPzbg,871 +material/templates/.icons/octicons/list-ordered-24.svg,sha256=YBb-iZVnbITb4armwUgfQr5BrgB6Iytu5-Gx5771UIA,894 +material/templates/.icons/octicons/list-unordered-16.svg,sha256=S61AcfUgpkixqUv4zaeMi9YGN7ivzJfc56ADGBrLHQ4,339 +material/templates/.icons/octicons/list-unordered-24.svg,sha256=5gIk-6OyGwA6dpwb42TRVV2yWSHrDZSCdIt3lmK4BrM,343 +material/templates/.icons/octicons/location-16.svg,sha256=ruR3es8FS3ZJ9HrtXG7PXkkqCbGwoEnQ0fnKNsyoKuo,307 +material/templates/.icons/octicons/location-24.svg,sha256=B69J3SlsE90qBf0HPJzZCVyHVz8erTZ3iEg0ykDd7Po,471 +material/templates/.icons/octicons/lock-16.svg,sha256=wcmROGBB_-nHGGkUvUqk-VjWrfppOFfSH0T61pfrZE4,357 +material/templates/.icons/octicons/lock-24.svg,sha256=Vxcas_15ON7SWronCibdiCG8xDDgz-SUc8PNQajVHZE,371 +material/templates/.icons/octicons/log-16.svg,sha256=jNrn3ynbuZGNMEmf85YbaQuBp5LtHieuToaEkv_DzN8,1132 +material/templates/.icons/octicons/log-24.svg,sha256=Imwe8uXfjmg3BfddE_ErC3qmlni9Zx43jV_DsMNTunw,1354 +material/templates/.icons/octicons/logo-gist-16.svg,sha256=fxRw62sWXalHE278pl3Me2TcD5YI7h_FSKilTYxdFFc,939 +material/templates/.icons/octicons/logo-github-16.svg,sha256=JVJBOZY5567WgwkRizEhjMME3MOQL9JumUBthhwbexo,1916 +material/templates/.icons/octicons/mail-16.svg,sha256=VE1KWsS-zCxCf6R6NJmxr8WRcN2OXLrcVgrLtYAkkO0,383 +material/templates/.icons/octicons/mail-24.svg,sha256=5i9a7LOdyK3tyja141I2lMR2F-KHYznhZ9_5_xqa-ms,404 +material/templates/.icons/octicons/mark-github-16.svg,sha256=9a5x36VPxz1PIXj0mb1AVIrNSMa-J2Xbq_WxxTetTmA,649 +material/templates/.icons/octicons/markdown-16.svg,sha256=jV3byHiPtNcZCXS1hKmKHecthR3WOv6KFh13UyjL15I,264 +material/templates/.icons/octicons/megaphone-16.svg,sha256=_imAXZxgWokMb--xRkVCDXDAA-BLV5t6EHJEKZvvtIc,994 +material/templates/.icons/octicons/megaphone-24.svg,sha256=zQO10x8wOMdkD9AHT02zU-BrFGG4A75AgWBuQVttxSc,875 +material/templates/.icons/octicons/mention-16.svg,sha256=EwimrQ7AeZlcUVWpTvFdeQ3XVVLMAQWqcxT3EsdqlWM,363 +material/templates/.icons/octicons/mention-24.svg,sha256=VElNtlo3vaZU_anG8EOTwj9ySGJdoMfAg81h0flDvGY,562 +material/templates/.icons/octicons/meter-16.svg,sha256=p2qOqydew9tz3RttjxUviGxotgWf279cFeoAY9QSqSk,330 +material/templates/.icons/octicons/milestone-16.svg,sha256=O8pfBb8RaZuc8m-yCqMeN-ZzqFqKea0kzpnpFQU5_84,474 +material/templates/.icons/octicons/milestone-24.svg,sha256=N59yjTCdHDBrnkJbAf7O3gu-nz8k2Sp64A_DqrA_l5s,488 +material/templates/.icons/octicons/mirror-16.svg,sha256=OsjIkVcROsIfvnh-JOCVonvqpOLf8nkh39uHuD88pqI,665 +material/templates/.icons/octicons/mirror-24.svg,sha256=3FhSaCMPlARkeggKHzmm9syr2vGbtbv87T0G79EAuuY,759 +material/templates/.icons/octicons/moon-16.svg,sha256=4MhqHazsYFRusZ5muRheWoZbkr-QxYqFVSF6WQmm00Y,280 +material/templates/.icons/octicons/moon-24.svg,sha256=sCcIuOlGSK1_szM5iuvH_TDi6jTdChZoWVYrZQj7jSE,504 +material/templates/.icons/octicons/mortar-board-16.svg,sha256=84DpKymlgcRnkJHGxbmVxGOaBXXVvJQzg7fv6nyduM8,739 +material/templates/.icons/octicons/mortar-board-24.svg,sha256=2A6laT7IN74aF1YHC8PCMQL3l5jUVsuBs09lXtTNs7U,1056 +material/templates/.icons/octicons/move-to-bottom-16.svg,sha256=ZDdV6mZ_ntfTP5CbfkigMSto5b6qP7Tb2kXx28IxFnI,289 +material/templates/.icons/octicons/move-to-bottom-24.svg,sha256=Bvbh-nCmGxLTYl_OoW8eJTp0ZIcgLEIBI_CObXjSMJk,335 +material/templates/.icons/octicons/move-to-end-16.svg,sha256=LUvCT2qFeuj4_BEJR_Vy-MI9HOGWvLtNU-aXUByWyrc,290 +material/templates/.icons/octicons/move-to-end-24.svg,sha256=NjwIVTuUAw9AHRpu06HMZnAM_Bc5lBu-CZjam5hXANU,334 +material/templates/.icons/octicons/move-to-start-16.svg,sha256=N5eZDIwwhwVp6tbFAzDm8cUSU2U0M13Clvmt1Shy65A,289 +material/templates/.icons/octicons/move-to-start-24.svg,sha256=pI9pT7v2VG9PovxJ6weS0VwHi84Kr-OmaYDG3c4ScZg,335 +material/templates/.icons/octicons/move-to-top-16.svg,sha256=jdVtlkOs7vDH49u-loCqtuCFu-e9ii4keYqQgT__XzQ,311 +material/templates/.icons/octicons/move-to-top-24.svg,sha256=LkG5KRcAEynG_FoP9bL6rIPA3WZ1VlTNg5sOF_710uE,293 +material/templates/.icons/octicons/multi-select-16.svg,sha256=JjbtuDKSWdHaqYnc1LtCQz4_iyP_MZqKNT-I18h32RE,415 +material/templates/.icons/octicons/multi-select-24.svg,sha256=kDgQiXIMCsXMkaXr9qkWA5aGcBBZmZe0w8IRBe4stgk,416 +material/templates/.icons/octicons/mute-16.svg,sha256=ZgqotxnEfeDrwpNva6ZTJchxALjIP7SYIc9KdmOHz-E,620 +material/templates/.icons/octicons/mute-24.svg,sha256=WZlXlZg2BSHp9b8ac23mX9KQi7ZDsAcLjdGNhJrqUQ8,527 +material/templates/.icons/octicons/no-entry-16.svg,sha256=0qAa34-aJNZOsHpyYgVqVLk6-Hme5Eb5qKg1VEwz58k,229 +material/templates/.icons/octicons/no-entry-24.svg,sha256=HTgp-IiDTE9j9TKFt8sNBzImpgV_ESiifJ5a90meet8,302 +material/templates/.icons/octicons/no-entry-fill-12.svg,sha256=nriT_1vMjJSmQnbUMhXPR-JYyBUSypervYOJy3j4W3Y,123 +material/templates/.icons/octicons/north-star-16.svg,sha256=PWQQc6TnTu00ZKCwrwBmFbaT9WNjgOLzSpw-W6ppGQo,379 +material/templates/.icons/octicons/north-star-24.svg,sha256=ztGoOOTtPntf77mBFS93cw8XaDVWOxZQTKFQeZSwjUQ,395 +material/templates/.icons/octicons/note-16.svg,sha256=asri_be1C7l8lf6wP_JKizBXvMn9ELzxE2mSUzC2fAY,431 +material/templates/.icons/octicons/note-24.svg,sha256=Qz3MhDfCF1j5bSJVRKpGhp1CoWD0GapjqdDQvn1Utns,468 +material/templates/.icons/octicons/number-16.svg,sha256=1lHYn4eg68ptvd-mZJ5CqmkmzGT-Y0g51QAdWD9xz5U,990 +material/templates/.icons/octicons/number-24.svg,sha256=Uzg2qJbm0oA4qmhLm5kcy8c3SyIN7uedD_SDMPwYodk,1052 +material/templates/.icons/octicons/organization-16.svg,sha256=QmpK1K0X42KltLE1_tpAem7RhhWHqdjIbFqYuJax-zs,1011 +material/templates/.icons/octicons/organization-24.svg,sha256=ifn-p5Nv3GLOqoL995XnDT6xZZwp3bwd6PeytjY2lmg,1117 +material/templates/.icons/octicons/package-16.svg,sha256=wAzzeVeXvXYYQ-1Y17TjvoRAhLYGGOxU1gsXcTxef6g,495 +material/templates/.icons/octicons/package-24.svg,sha256=caEtFV1TSssu4us1kNaPe4iXTKbiLFVVnlYiIbcsgrc,509 +material/templates/.icons/octicons/package-dependencies-16.svg,sha256=UToMpfD47p4g8Huv2DgepP0AucE-jQ8qgtFwTgOtSEs,570 +material/templates/.icons/octicons/package-dependencies-24.svg,sha256=ANFqQXDWPKpiQJCSG-z2RBbwpxT83a79tlrTD0o2oMM,692 +material/templates/.icons/octicons/package-dependents-16.svg,sha256=Oe3ZC2r-GRHy4MqbQQGakNU0H6yo1VeIu2jnx3XGeBk,573 +material/templates/.icons/octicons/package-dependents-24.svg,sha256=kT1Pdbq080GidEay_dCmY39Ps3DX_hUjVi8NBF3P6-U,692 +material/templates/.icons/octicons/paintbrush-16.svg,sha256=guWdqAGOax-6tq2orA0M74LWdpcOzgiT-aBxqsl2J9U,1204 +material/templates/.icons/octicons/paper-airplane-16.svg,sha256=Bik4TvGlvEc1oJUVy2NVPA-EozW8EAgPZC_-mcSHlw8,282 +material/templates/.icons/octicons/paper-airplane-24.svg,sha256=y4mEwJ-5HxdkrvceyL2TUugvf28kmBZk2Z8dah4VsPM,328 +material/templates/.icons/octicons/paperclip-16.svg,sha256=Zb9WzNuP6uuGIENQG74uqw0Fcj6NvbGIrXfN65yXR3E,735 +material/templates/.icons/octicons/paperclip-24.svg,sha256=fUo86iEd-WGGOtUVDXeoW3Qa0okkhxpm068DqFKhtL4,701 +material/templates/.icons/octicons/passkey-fill-16.svg,sha256=nlx_QQ5_FgYWmfvJ1X8XGXl5qK0VVe1C9YB9R4BEKxg,774 +material/templates/.icons/octicons/passkey-fill-24.svg,sha256=-t2ydFqpsVN-_9UczuBa7odIfxfuOz5agkQk5rf1QYQ,778 +material/templates/.icons/octicons/paste-16.svg,sha256=4WPz9y9L6JxtR7zH21t636jQ0OZrXfd0uk3gSH5TasM,475 +material/templates/.icons/octicons/paste-24.svg,sha256=EKXCcU6BpPXeLCpHWn4zLhqQVc4injBSYLL4bOMolB4,650 +material/templates/.icons/octicons/pencil-16.svg,sha256=QL2ILgd_zj6qPnP8Yjn4v-4qBOAsErbRB40nUFNN9pE,464 +material/templates/.icons/octicons/pencil-24.svg,sha256=LugNoVKweENZPJeBr77KV4M-By_rq8vqvEKSYMMGI5Y,529 +material/templates/.icons/octicons/people-16.svg,sha256=JkrXee7vPlZbhYy672wDRPykvTeydhS-L6sjjKIs_Xk,531 +material/templates/.icons/octicons/people-24.svg,sha256=FgLFzyWSaVA4B3SuUsy1SkFLSu_lkFsJGnfaNZ-kVUM,501 +material/templates/.icons/octicons/person-16.svg,sha256=8HWQ_rWRKxR58GwgfAKeBSJqiwmXcWmkvtCGh1ACl7U,287 +material/templates/.icons/octicons/person-24.svg,sha256=lM8KfusDn9nYZEX4l7V66xWQlugCrxPzkn2RUHWVwcM,289 +material/templates/.icons/octicons/person-add-16.svg,sha256=159V4i14LAifcaXJX4LwZAIZb6x3CO8wjKS9CzEGPIg,454 +material/templates/.icons/octicons/person-add-24.svg,sha256=NMBkpwtOL3ki6BsHatumeYToedSGNuY_RYRNsRvW0uc,447 +material/templates/.icons/octicons/person-fill-16.svg,sha256=qbj1eayAj-1uZJ_txnVWvsezejeP5bJ8OihttOsaqnA,256 +material/templates/.icons/octicons/person-fill-24.svg,sha256=E7zsu0_9pB5G8eASZq2uLY-ZHGTV_5kLYxAO6wkDFDo,245 +material/templates/.icons/octicons/pin-16.svg,sha256=b84_QPpJp7dDJ7IQu4c2Es0K3gFLJsfAxLhBoTJBVf8,633 +material/templates/.icons/octicons/pin-24.svg,sha256=eHWSSKq7lV4DTBCqbYneftpefNl3UUjpABk0i7JecRM,609 +material/templates/.icons/octicons/pin-slash-16.svg,sha256=PqpcdnZbe0oIaHs3Bn1h0wfsIHlxoOIHAmAcyG6OqQc,1190 +material/templates/.icons/octicons/pin-slash-24.svg,sha256=niOJkXyl7kxnA9KXpYJWn31Yu1JrpDASatF2BpdsZ-U,960 +material/templates/.icons/octicons/pivot-column-16.svg,sha256=gZMQKgf_RcHdX0VmyBGlU2qLrjXZDrVWA0PbYRzaWUI,528 +material/templates/.icons/octicons/pivot-column-24.svg,sha256=6maNtZG3y1M8WkPNLFFVpLNb-ueVJD6ngnWAMC25rj8,624 +material/templates/.icons/octicons/play-16.svg,sha256=G2Y9mtuWX8JYYWt0ydqhblkybGHpIL83yMIGIuIJm6E,266 +material/templates/.icons/octicons/play-24.svg,sha256=NsqfP2o1YayNLsxUrrcYG-3w8nZUxe3QQgxwVFdPe9A,354 +material/templates/.icons/octicons/plug-16.svg,sha256=zQQo6_vV2e9Iu_OYDTyY58Jl7GHSR5C6zRYheRAMuDU,676 +material/templates/.icons/octicons/plug-24.svg,sha256=vTQI6b-lOlRhHX4h1dBF8EBhtrJg5-sUfjuYWl4oINg,728 +material/templates/.icons/octicons/plus-16.svg,sha256=z8uXoQ6CKbRKIBTiUZAq6VXY8ZN4Yx6wuvj7rDaCS7w,215 +material/templates/.icons/octicons/plus-24.svg,sha256=HUtaN9z1yWLuXYY5xz9nhjSKb9FGicagwCGonfFao-I,223 +material/templates/.icons/octicons/plus-circle-16.svg,sha256=tJo0Ptuom7S703ebGiDRe6yp8s4ogEcHslWgMLapS3o,280 +material/templates/.icons/octicons/plus-circle-24.svg,sha256=S-KBazZ9SE98LkZy1hWO91GIO-BfijiQaH8ZkGroog8,380 +material/templates/.icons/octicons/project-16.svg,sha256=YIRn1YmyKBU2vQCKN-62Xs6irv6oDteCobUEIrMlGA0,512 +material/templates/.icons/octicons/project-24.svg,sha256=vTUWs_6lNwqlDeWo_SRp0oa9ExjjdrdGA-K-YYdq3Bs,530 +material/templates/.icons/octicons/project-roadmap-16.svg,sha256=8jl7wxxttZ7JWBhuFNNHyug2JC7UjQOilaDvktoZ-vc,501 +material/templates/.icons/octicons/project-roadmap-24.svg,sha256=_8YI0QPi-AyEbqpEkM0Lvlu_tdbeVkEl7LusO3oXqbs,508 +material/templates/.icons/octicons/project-symlink-16.svg,sha256=HfOcTY9Tkk65IMBaSm2JxXTzzZJX3YtCPri2WVpezSM,544 +material/templates/.icons/octicons/project-symlink-24.svg,sha256=iSr3iRu8dXOcJ-sBIMVeVYz_Utuc1Ep_ZizhvU-VgPI,554 +material/templates/.icons/octicons/project-template-16.svg,sha256=CHIF_mlw05MO8FNgpQkW3o35HbGmREbjqUYNFzHvwYw,1172 +material/templates/.icons/octicons/project-template-24.svg,sha256=YiqzfZCMuli_5ixTy79GDvBAoQFnMXKQhgCGPhZ26rU,1384 +material/templates/.icons/octicons/pulse-16.svg,sha256=N2Q3wHPwe4hbo4-OYgmhebW6oaCNfYO619R9C2m6Ju4,312 +material/templates/.icons/octicons/pulse-24.svg,sha256=dIH9tkug2paU0tKv3PK_7EJDLUf8Uc75w-FzTF2Gu4U,326 +material/templates/.icons/octicons/question-16.svg,sha256=8xO7rB_G5y_DWOkBlJ9xLz6yMwgLSNLlKHcYmWJJQDg,730 +material/templates/.icons/octicons/question-24.svg,sha256=28jm6QRJqg8ExeSrZsLNYROI6VYmLqUtpnUJOWwi-Js,787 +material/templates/.icons/octicons/quote-16.svg,sha256=UtsACVeczciCM2sHPatf0ReXu_COrCR1n5Y0ghPkYfU,293 +material/templates/.icons/octicons/quote-24.svg,sha256=Ho5GWIF-gK-ZDWjsmO8EHfQ_4YYJAn--Z-HTpq0BLWQ,390 +material/templates/.icons/octicons/read-16.svg,sha256=ap7TwoxSG27OMYR_eXxICCngdq9BSRCcrQVbf1-K1ow,469 +material/templates/.icons/octicons/read-24.svg,sha256=83JbUeTJYcZ61y629axAB3gI7UQTU59WO_1eG3rjmtg,557 +material/templates/.icons/octicons/redo-16.svg,sha256=4xnXDq0svqsDrr-Y8ZOBdLkUgRun9wAss1Q6hG1ed94,317 +material/templates/.icons/octicons/rel-file-path-16.svg,sha256=rhu9wNCqhncxkUoU_RAsI_23UVHD1elZ-4L79qRV7As,197 +material/templates/.icons/octicons/rel-file-path-24.svg,sha256=rQ3KQ8DE5BcjWtiK6LPaRybiDhtnkFSdbZ8Yb3QXyWg,203 +material/templates/.icons/octicons/reply-16.svg,sha256=NyLK0DOdoy4k4QNqQdkp2qz08NjupmrhD8f27LViWUc,325 +material/templates/.icons/octicons/reply-24.svg,sha256=6YD3hMf-MC_sThl8716FbETMXFtP6Du1751Tefz9p8U,290 +material/templates/.icons/octicons/repo-16.svg,sha256=K5Ml1sNHiHu7L5MlpIoWO3k770k3wDXtRMCyzNHk6Ow,451 +material/templates/.icons/octicons/repo-24.svg,sha256=yiwd__f1GGRXKPix2vy-PwiAxZ5dqzBTigIvyWpcCmE,529 +material/templates/.icons/octicons/repo-clone-16.svg,sha256=y8DMyOuTcxqC6PM1w-fjcab23FQ43GJB7pnbxxdv38g,580 +material/templates/.icons/octicons/repo-clone-24.svg,sha256=LuJ9jboY6lqZHQxJdvnxsndeWJgsQyRTH248dBwtsMg,620 +material/templates/.icons/octicons/repo-deleted-16.svg,sha256=TPs7qXr_p_kaYd4dZkTT0QwVjt9XYTVe1LA6RqYZU7c,493 +material/templates/.icons/octicons/repo-forked-16.svg,sha256=ukI0jFZWT5lnOvp7shh_ID1pdZFTqAe8JTDvqQyPv_g,432 +material/templates/.icons/octicons/repo-forked-24.svg,sha256=YDZanjrRB0SSvhMUS8Mx-OumKcTuDXZgY4T3qs1DKxM,604 +material/templates/.icons/octicons/repo-locked-16.svg,sha256=JGaDKNALYybePZOhbRkQh6XlcbV3eI6eYXnhNHwpW9o,483 +material/templates/.icons/octicons/repo-locked-24.svg,sha256=HmLYsBPmD-tyqfh9JDRet8YO0D6aeNiboWeBwv7khkQ,558 +material/templates/.icons/octicons/repo-pull-16.svg,sha256=WQXC5BwdIjRVsQCbvPdsv2BWYnghsTLZdn_02BnOdfE,463 +material/templates/.icons/octicons/repo-pull-24.svg,sha256=1wxWe2t4oYowgZOIfxpBRoz-yVfmqFDdCgZ3HLn8oak,509 +material/templates/.icons/octicons/repo-push-16.svg,sha256=c7f6ZL9CB8tedKrsNpqo5C3zWb2yTARJbHNO2CoXKYI,486 +material/templates/.icons/octicons/repo-push-24.svg,sha256=t6ELeg_Pia7nrDhkHg_R01wBu-LQS9V8A1LTXUd7iSY,520 +material/templates/.icons/octicons/repo-template-16.svg,sha256=LX5oFGyH828er4WxXIphYKt3KpabxtvmRHqpegOX9cE,1098 +material/templates/.icons/octicons/repo-template-24.svg,sha256=L2GvJVu32EqwmiHrbNY9My2DytjzUN09oV35n4xjXwA,939 +material/templates/.icons/octicons/report-16.svg,sha256=hx86Gwe0eWe5grIEZd3ROi7CSLQnR1beayjryTWQB8s,495 +material/templates/.icons/octicons/report-24.svg,sha256=8HplQMDheCMxcIptq3jHvlMVd8nADNMLLIxw9i0BoGQ,551 +material/templates/.icons/octicons/rocket-16.svg,sha256=D_aRgo3Mj8kt2VobPXxRQW208AqBHx5DdfBpGcvd1IQ,1077 +material/templates/.icons/octicons/rocket-24.svg,sha256=Vcmp8YCx87bbPTZMz2UvVvGPgCrFa557ttzIaAzPxEU,1184 +material/templates/.icons/octicons/rows-16.svg,sha256=RgeOvBlfnXNrfDd2qwaHYYenS8I1lkuFdfNCKHT45rM,539 +material/templates/.icons/octicons/rows-24.svg,sha256=8qteIE4vLwPkil5rUPgiCQ92YLAk6hMc8ioVLTp_WjA,548 +material/templates/.icons/octicons/rss-16.svg,sha256=0wzv3F80MwAhl0hGtJ6g6ZEYuubKaZ-643fv8-la8_k,377 +material/templates/.icons/octicons/rss-24.svg,sha256=yzPK8gwk9506WbEB5_OfoDnBrd40ZAeChJxjewAcJOQ,355 +material/templates/.icons/octicons/ruby-16.svg,sha256=SbaFSFug7HkltGTpo-Tb8pU9VWSPrYxTO5VYMjONqkE,287 +material/templates/.icons/octicons/ruby-24.svg,sha256=YXIkk-1DAbwDdX9rU6FZQi2tKk5_UdKbN0upftaAvNg,295 +material/templates/.icons/octicons/screen-full-16.svg,sha256=e6SN49pvZJ0FtMx7VEf0BP6C_gYCAjJiGfJG4D2UeXU,580 +material/templates/.icons/octicons/screen-full-24.svg,sha256=VCnikatFBYE_QNC627ceTItZcjo1bvQMOKVc6iKbf5w,580 +material/templates/.icons/octicons/screen-normal-16.svg,sha256=Cv89nvtBydt4Yzo9L8D28B9ASdVhAOFOZIo0qdN46UI,575 +material/templates/.icons/octicons/screen-normal-24.svg,sha256=zgq1eFie5pBnZBxwvBvyaM2fC7m1smmNMrCB_7uEuBQ,576 +material/templates/.icons/octicons/search-16.svg,sha256=uIUM_tfvFGAl06MlHPkYKil2k_FBBfEFDmB2JaO--W0,254 +material/templates/.icons/octicons/search-24.svg,sha256=YTmZ1KSfhpcJJUVvcJYPQhOu6xU8v1rO3rtzM7Sr_aA,266 +material/templates/.icons/octicons/server-16.svg,sha256=HOXIJFKKqAhKNpMZst0wlmUlq6jhSCWOwYn-XRPPejw,765 +material/templates/.icons/octicons/server-24.svg,sha256=x4ycZN9IdHltbsDWZSjbgfjzDY0bQtbleOZY3ocQWBc,782 +material/templates/.icons/octicons/share-16.svg,sha256=iQCQIN1yD4PAIaAMutWgRZEUpg9CtP4tzOf5UebZgVA,467 +material/templates/.icons/octicons/share-24.svg,sha256=_Q6W6NO6yYKoatYynWSXxwBsq7l9rs0zWJ54WQi8Wuw,557 +material/templates/.icons/octicons/share-android-16.svg,sha256=V28ZJTW2NUf5XaNTN6wluQZ4vTm2o_zsgqW8usa7sC8,384 +material/templates/.icons/octicons/share-android-24.svg,sha256=3AGFtwzcmLzBOF9WkDkukgRc_egivJROwwxjIz4MFPY,436 +material/templates/.icons/octicons/shield-16.svg,sha256=FQjbcSxwgPaLIEDOqCo_kYpa--Rjk1avZ7iKE0t4yF8,681 +material/templates/.icons/octicons/shield-24.svg,sha256=J50VlUND7u_dPA-WuUvcolawBk-iyQo7KMfN0v5T-jM,557 +material/templates/.icons/octicons/shield-check-16.svg,sha256=lF3ZxsPR0y0tQgG1cuDkPEMPBqDLolNHeNhuS57YGoE,777 +material/templates/.icons/octicons/shield-check-24.svg,sha256=2nEnQEEUuJbLkEdiQgOolQr61SLKYkyFTWq71U_j-gE,599 +material/templates/.icons/octicons/shield-lock-16.svg,sha256=Af1ei-bBdLnaCLmF0s9SeTMYIfUSoCh08I5ZHf9SvcY,696 +material/templates/.icons/octicons/shield-lock-24.svg,sha256=3zzSQDH51By9ovqUvbmzILMWZYAqpDx0KuHs3tQyn1g,509 +material/templates/.icons/octicons/shield-slash-16.svg,sha256=4IdvispLE__nFFPIJp277nFNRi_eJpABummJQDH5pe4,660 +material/templates/.icons/octicons/shield-slash-24.svg,sha256=MBN7T-R-j8GKFdEhurqrD_VPrqD0rxOh9fZ203IhYmk,725 +material/templates/.icons/octicons/shield-x-16.svg,sha256=9H23KY_r2sY_yqL3O8wc2O-ZFOaIBY-54cOpBI1uYq8,892 +material/templates/.icons/octicons/shield-x-24.svg,sha256=O1KNbSLv-J8yI0ZFqBbvXffeF9XQrF3slyLmJJe2lKY,671 +material/templates/.icons/octicons/sidebar-collapse-16.svg,sha256=jvlHbdCv-DRHERYI7VGWi9UR-mpPuOFAn2qEYSWtBI0,441 +material/templates/.icons/octicons/sidebar-collapse-24.svg,sha256=yzyWR4odlg4FpPAgC3iIL5-SaoX6gZOZEl7-stsCMn4,509 +material/templates/.icons/octicons/sidebar-expand-16.svg,sha256=onZrUQ-acZ6-o8yYYV96gaDXPttLCpf0Kx0PrV_KTsY,438 +material/templates/.icons/octicons/sidebar-expand-24.svg,sha256=4hGouvaF-CSYwNb5HFvE3SaOs5VMKGYy4IgvJPhyucw,507 +material/templates/.icons/octicons/sign-in-16.svg,sha256=i4oX5lLUCycI3eIuQx-QOJHJFpBepuflOx3OHWMLvoY,421 +material/templates/.icons/octicons/sign-in-24.svg,sha256=9qT9DI6j4vBfIaiGj8vIkS_ZxoapYdBe5cYruWpG65o,384 +material/templates/.icons/octicons/sign-out-16.svg,sha256=08uN5IptfDFRzqtoM_cI4oYm-MGKpJG2QHUe5oyUuWQ,429 +material/templates/.icons/octicons/sign-out-24.svg,sha256=oxcNFbZXxSGYUcPpiGyxf1RuJTFYZTH_rV6Jf7_WpXw,381 +material/templates/.icons/octicons/single-select-16.svg,sha256=VUm_PndicOGBSTW69I7MrKQPPPinv5QYARu9q3hwiC8,434 +material/templates/.icons/octicons/single-select-24.svg,sha256=KhGX_-1hcsuQswIESdo_MLJTJFIFrIwyB62qUjyUE5g,421 +material/templates/.icons/octicons/skip-16.svg,sha256=cJSJTVdDps0wo3Kd9JHbwa2o7EvqzXk4VHpHi0xTq58,284 +material/templates/.icons/octicons/skip-24.svg,sha256=pD4npEYJTF9Q8Kss5AgzHdwPYzkbSqME_XgBJ5R89EY,331 +material/templates/.icons/octicons/skip-fill-16.svg,sha256=DgYNx16ouJxfxMNCRMyzNaTTSjPVnklPA00b_yk1Vkw,189 +material/templates/.icons/octicons/skip-fill-24.svg,sha256=2BwquAaOokYLc6AIt3cUVmHWDpTPYazxePq122NuxTk,226 +material/templates/.icons/octicons/sliders-16.svg,sha256=cz_0bWSABjfiOLu3mqc3TfYN3Yx66KwfCj1jrnMtMVA,552 +material/templates/.icons/octicons/smiley-16.svg,sha256=9wr_K-7PXaDvC07qo5Ly9yct1Xx5KM2tuAStWusIXZE,741 +material/templates/.icons/octicons/smiley-24.svg,sha256=KHBaq23N4zcuSyF8tFvo8clqWkk-YyWMiKhYBL38yrU,780 +material/templates/.icons/octicons/sort-asc-16.svg,sha256=3SkmaunxPdPUtuWfIPD0fGGfqICtlOuMi608YbY8V-4,424 +material/templates/.icons/octicons/sort-asc-24.svg,sha256=mQQi69S9XNKec0qh_BpSTQeKEl1evfN49rLpvDD2iwY,384 +material/templates/.icons/octicons/sort-desc-16.svg,sha256=roP9GLymup9iXy878rAq2W_jP8yUNWajVYVS2Qfbu5A,418 +material/templates/.icons/octicons/sort-desc-24.svg,sha256=NfLQgieOeo0lGWBHwLtVfToDa4nvrYUV6jqWtMlvmJo,450 +material/templates/.icons/octicons/sparkle-fill-16.svg,sha256=2tRQJ-SICpBby84Ex-ZBeJ7v_YglIOeSWu9-L8y0THQ,356 +material/templates/.icons/octicons/sponsor-tiers-16.svg,sha256=5oqjA7dR28qunmTXCSVmPbyo0dW2S5qbGX635kSC74Q,933 +material/templates/.icons/octicons/sponsor-tiers-24.svg,sha256=u01KyK9BUYRpCbUIqRAFaihWq61nkaA0uKIRaWyO614,1021 +material/templates/.icons/octicons/square-16.svg,sha256=BbU-gShEecQdYC2d1kBPCsESWvQnkNZSYVPenVVpTTY,302 +material/templates/.icons/octicons/square-24.svg,sha256=_Efi0tugQueHyK_XxhwuqA3qX4n5ctLy7NXw5AObhd8,302 +material/templates/.icons/octicons/square-fill-16.svg,sha256=vR3lenKNKxMcy6YweqOtq4POw5I7YmMeso20Pedab2c,202 +material/templates/.icons/octicons/square-fill-24.svg,sha256=4eIZy2aa6ONLXye2C0vRpczAEDmpsoCcsQfFsRgkbLE,202 +material/templates/.icons/octicons/squirrel-16.svg,sha256=dbyBj77hTxlyqGUV_U0HJcApbjXUG7I61p13r6kLy_A,1461 +material/templates/.icons/octicons/squirrel-24.svg,sha256=hfQSn7giOi2R5K8-6tV_RAPmDqgjCVkuS2vpyld_w-0,1740 +material/templates/.icons/octicons/stack-16.svg,sha256=wBxX6t_gp7MKLYAFgEP9a5tVTOkTDa4uwsJDSvcvN7E,663 +material/templates/.icons/octicons/stack-24.svg,sha256=_lQvcmZLnHsLHF2PUd19wnRF6af3Ulbf5H8JMz1KPQY,749 +material/templates/.icons/octicons/star-16.svg,sha256=Rylh61JkC8SQWd6sjWQhRInzvcGRd9ZFZhQn5aORLKE,548 +material/templates/.icons/octicons/star-24.svg,sha256=AD5g3sGkdKE95yej3WrOU7kgn8U1iXJ8fqoJEadkZPI,572 +material/templates/.icons/octicons/star-fill-16.svg,sha256=nZKqiYGN7vwkhg29T-GUfSIs7F4pIk0gnkSG5fXzFKo,326 +material/templates/.icons/octicons/star-fill-24.svg,sha256=QhgwpIz_Dke4gH1djo0b5eEHCvPm4JznRmOi7ohWRC8,322 +material/templates/.icons/octicons/stop-16.svg,sha256=-oOT06QF58UiOzx1V0HB05bEJZcW-A6FJDfnsLQTWAg,464 +material/templates/.icons/octicons/stop-24.svg,sha256=Up0iNEegN97vElbWgyPm_cclXu_J3fo5WrBmWuhqqkI,522 +material/templates/.icons/octicons/stopwatch-16.svg,sha256=NWPsW-kA_CvGvUu2XS7FS8IFYzDmYuxEP_3WFh7JPVE,590 +material/templates/.icons/octicons/stopwatch-24.svg,sha256=GzrGt6sbX-2fuyFFGRlj8VuVDrqCa88jJ8c8OyG_pTs,610 +material/templates/.icons/octicons/strikethrough-16.svg,sha256=U4BIMRD7NOMrE4MZ5uqKA9JdINwDr5RTgCvvy36qwQE,661 +material/templates/.icons/octicons/strikethrough-24.svg,sha256=gGX_JxKvpQ3TQFjxZz2kIAuYQ29v2H_RWmBr_v_Kn5o,671 +material/templates/.icons/octicons/sun-16.svg,sha256=gUDka9hXCb-GdtyM6BFUb6FA11sZsWr_YRmFGUxH84s,892 +material/templates/.icons/octicons/sun-24.svg,sha256=zwraYegXcULXohVsF4wJUVSjw-2SpGEcuky4CzOG4Sw,963 +material/templates/.icons/octicons/sync-16.svg,sha256=ucdFBy29_02IyhQL-9ySIP9RMLYDSO9GgWK5lGzgp-k,495 +material/templates/.icons/octicons/sync-24.svg,sha256=MrjbT2ELw44xLYtbhZY312eqkcaXs0hG7fVnZ3fPWsY,517 +material/templates/.icons/octicons/tab-24.svg,sha256=9WYtFC2l25t36K8m88ZOyb-PBl37z1se3zIV9wP08So,283 +material/templates/.icons/octicons/tab-external-16.svg,sha256=pYBKNOElayhC8WErutsrm1pJRb53y2ISJ0k-dZbife4,464 +material/templates/.icons/octicons/table-16.svg,sha256=gqGHh_Iutc_goz9J_oBgLDAjhBiVnkm9qbduxNoWfzY,350 +material/templates/.icons/octicons/table-24.svg,sha256=Lnt5dqIMbLeivcZ9Karft6TvpX9R21Fn_RYImSksdOM,356 +material/templates/.icons/octicons/tag-16.svg,sha256=4luan7JIOWvICQVPyz4P3K5AA9pVZEFqpL0ahQdtoGY,437 +material/templates/.icons/octicons/tag-24.svg,sha256=6MfA9BERxvo9JDwB5vQt8xApS7VxNgHO9Hpwa7bLSZU,345 +material/templates/.icons/octicons/tasklist-16.svg,sha256=kIKFz0JJc8qCXXvbjOVLHzeDGI9YkVz2t2_sKaN-2VY,485 +material/templates/.icons/octicons/tasklist-24.svg,sha256=eF5o-M2tf10TxkL7u8e2DBC__PGj6MaTHFvhm7pDw2Y,450 +material/templates/.icons/octicons/telescope-16.svg,sha256=nDCAFPDvO2wOJpsqpytwGpqtg0EkK0d6ro1EGkjNFb4,756 +material/templates/.icons/octicons/telescope-24.svg,sha256=1LkC0za3gjYobccnahSfmvff6Y3tA4WLVcKU4F45q_4,678 +material/templates/.icons/octicons/telescope-fill-16.svg,sha256=opgq8o7AQcg3uPRs8OmkzB3KhT5kuzRwOtbEsGoZGIY,523 +material/templates/.icons/octicons/telescope-fill-24.svg,sha256=YMUZ-jY_EnxNhO9rFxcZaFXeSVoIn-ZdktmrkNT-qyQ,529 +material/templates/.icons/octicons/terminal-16.svg,sha256=IgxdumfhOHviKfJjUYvEpTQzb3gVJk7UA-eAMmWnLWE,544 +material/templates/.icons/octicons/terminal-24.svg,sha256=UKktNu0hJJtycf1Xrr0tuc0U71toaNZDAeAwEwl5DnI,499 +material/templates/.icons/octicons/three-bars-16.svg,sha256=52o50hme6wdBS3tcM2e6FI9SOVfQ9vxcHUHZB7-XEaY,286 +material/templates/.icons/octicons/thumbsdown-16.svg,sha256=Ty-qPMlEwy2eR0IxYA3vwginUAJO6InPis0G9oN-B5I,1257 +material/templates/.icons/octicons/thumbsdown-24.svg,sha256=lcR_Mt1IKuPI63qSQEXAP0hX3BwuE5oiuZmMnIJon-g,1313 +material/templates/.icons/octicons/thumbsup-16.svg,sha256=s7Xhz9hjebVzZJd6rEuaipi99f6y4zNsHFQFkOBWPd4,1241 +material/templates/.icons/octicons/thumbsup-24.svg,sha256=w9E50M0duh3qksGvIflM0HUqYrpO5_JfxTvV1ymt5yo,1300 +material/templates/.icons/octicons/tools-16.svg,sha256=MrOueSa8WObF8Szumndk08xa1IQIpxg84_3wDt4xBj8,886 +material/templates/.icons/octicons/tools-24.svg,sha256=mK57JUHhoHDbN1NfMl0ZC1GvfTEhUzEnKUaM8WD8KPw,1039 +material/templates/.icons/octicons/tracked-by-closed-completed-16.svg,sha256=_GU76k1bONzxahTp3iEb685KW0wSyooOT4L3WF7lYkY,445 +material/templates/.icons/octicons/tracked-by-closed-completed-24.svg,sha256=9ZOKl_HqcchkaWZq8leFtQnwL9wz3kZ0zRRA5hAgOB4,513 +material/templates/.icons/octicons/tracked-by-closed-not-planned-16.svg,sha256=mcyJODOQgvW5SDN2S7ZWB3p54sRVyZn85Jafw3BdYk4,407 +material/templates/.icons/octicons/tracked-by-closed-not-planned-24.svg,sha256=0AuqA_-Iy2yGLeapYvKUgA8kmLhx7K-2aFA3MOTWfjI,473 +material/templates/.icons/octicons/trash-16.svg,sha256=2BrVtvnmZPYUH0HFeSBDgpk692blBDDjcOPDQHkNaEQ,465 +material/templates/.icons/octicons/trash-24.svg,sha256=VYLwnrXGdhDWSNMNkORNCkYEx2OqnERSMgmvPtzJfoM,660 +material/templates/.icons/octicons/triangle-down-16.svg,sha256=sivrky_iJUlo_nYC2wXshA44DsK1ooBh6BeHadAKE9g,185 +material/templates/.icons/octicons/triangle-down-24.svg,sha256=h1CdduVU5pTPEB5jnMxhGsNUXO5Mx5ipbumMqy-7wow,184 +material/templates/.icons/octicons/triangle-left-16.svg,sha256=ty2equmRluo3KCL9aOMnGW7YnP-H6OZzU9uW6sDQRMw,187 +material/templates/.icons/octicons/triangle-left-24.svg,sha256=lRUv4DPhgNwVZrZp6nke3b3YOQ66s2Dbve9IaTLj0ng,182 +material/templates/.icons/octicons/triangle-right-16.svg,sha256=_wiHhCYZX7jSG21YGd5AJaP7KN3dHQLkUIn0BxkgisE,187 +material/templates/.icons/octicons/triangle-right-24.svg,sha256=uapVgEWQDJXYu997tI_NvbeH8mAkOS7z5SPNVURNn4c,183 +material/templates/.icons/octicons/triangle-up-16.svg,sha256=k36nNmmGAbaKOQQlUhuSdAZRJEBI3XzB8QxwccLU0d4,186 +material/templates/.icons/octicons/triangle-up-24.svg,sha256=WiPakgER4eaBGNcP3lmkySjy_Li0DKTddoxr_ruse2E,181 +material/templates/.icons/octicons/trophy-16.svg,sha256=W_m2P2sLKu93jtRCwvot2J0Z9WYnBPgWExmAveVrO6o,1054 +material/templates/.icons/octicons/trophy-24.svg,sha256=N45Im18jSwDy6B_kQ48ZRUUkog6c8SKwbfeJWWP4IPg,1131 +material/templates/.icons/octicons/typography-16.svg,sha256=wG86RGsYDlu3pqVOlVn3US6Ooqgu9pmdIkAGFsLVJKc,709 +material/templates/.icons/octicons/typography-24.svg,sha256=tHhuhZDye2omdIRjANzp7eMw0wiFIbyZJXt2hVT4qBc,823 +material/templates/.icons/octicons/undo-16.svg,sha256=D2KfATtgRffbgSrgLqhyZIyMjKxEkwOXUPVtj796jKw,320 +material/templates/.icons/octicons/unfold-16.svg,sha256=fe9gvnzEMk29SUIMtJ0E37lBw5fLa2_ssgZk7-0kp9o,651 +material/templates/.icons/octicons/unfold-24.svg,sha256=05A8VWRmhkkZ0dtCmGbQgM6RF2cSCkytKNgi63FabyY,964 +material/templates/.icons/octicons/unlink-16.svg,sha256=QHm7jw9h0KDj-3zP-gGhB5qrz7EVM6jttp5GjWwfWFw,733 +material/templates/.icons/octicons/unlink-24.svg,sha256=3J70qFpyCCPEGb9WSvuJDtNjzmcExcjdYfVG_N85wno,747 +material/templates/.icons/octicons/unlock-16.svg,sha256=Nxed2BHnp72uK_ubFzJlAe7XhMnDgHspqFFGmqaZjTE,269 +material/templates/.icons/octicons/unlock-24.svg,sha256=_6tL5YtDEeAEx72vnq89BAeIyP_P2cked7uj5fDz3Io,402 +material/templates/.icons/octicons/unmute-16.svg,sha256=c3TfIQ4EjdVLi5JGHfFfkovBZAkdEYS1vpb_5GqtIJg,647 +material/templates/.icons/octicons/unmute-24.svg,sha256=mTdQSluBMVtAqMWiJ-RLnWTBVmFzj4KdRd7tnbskMNs,623 +material/templates/.icons/octicons/unread-16.svg,sha256=RdsHpHlI-M9XNymZWZeQ9ceWeGaIe93VMIAVCHewOEM,456 +material/templates/.icons/octicons/unread-24.svg,sha256=el9izkjOGw0AIclXr1zfGuWmrt8wUmqy56Jj5Bf5pVQ,463 +material/templates/.icons/octicons/unverified-16.svg,sha256=mhV5JgkiGUNyGTzqoyocwuIe7CcCGtmBYHUpwaaEOq8,1820 +material/templates/.icons/octicons/unverified-24.svg,sha256=mA4JlDMcp-rOJdkbQKbfrcDzim9SB4rur0ribYPexMo,1836 +material/templates/.icons/octicons/upload-16.svg,sha256=5FCCQDkcE6rHfHeiq5l25ERZ9KOUDmpiVaUgHM88VKY,404 +material/templates/.icons/octicons/upload-24.svg,sha256=FDbx41OiT6qiVRPO9eCLu_jPFHz3xVhtCzcsRI8otJ0,428 +material/templates/.icons/octicons/verified-16.svg,sha256=x9ZR8NkvLuS_RZFEZQ3qye4QHTYHYkFwBVv1Yw5jr48,1438 +material/templates/.icons/octicons/verified-24.svg,sha256=avFBCKVwcywHibjS3cYo8fXDY-UiYiUIKr90opcF8nY,1431 +material/templates/.icons/octicons/versions-16.svg,sha256=vux8YsMjn9_GOs8V5pS1-ol1r6OS8Ajz9D3vJo89TLk,667 +material/templates/.icons/octicons/versions-24.svg,sha256=nB0D9Bwfc-ULuSYevVqikNxWPxeTKS8zYE-M9MBa9WQ,799 +material/templates/.icons/octicons/video-16.svg,sha256=wIRQ4tFno-rPfABxfd1RWGdspQcMVnxNvThnJxoohEs,420 +material/templates/.icons/octicons/video-24.svg,sha256=GJzjzc_PyHikCKH2LCafYXtmrUcxpXLwQxCfaGcdXbE,412 +material/templates/.icons/octicons/webhook-16.svg,sha256=3nBUYQSJSEJ2XOO99a4_6720D4Ogr0d2iOZkKz9zKEA,612 +material/templates/.icons/octicons/workflow-16.svg,sha256=rDj6o02DVNHyFi7Zit0tUWiPuGxl3RasHvzScirTCQI,560 +material/templates/.icons/octicons/workflow-24.svg,sha256=9kqoYkK38w63XjEyB34iaI19pXTF2m1iLTzC2VbEaGA,474 +material/templates/.icons/octicons/x-12.svg,sha256=hk-VcDvTvRZ6ZODPkp_u6ak9fSAP_YmaXpyFOU6dfC0,280 +material/templates/.icons/octicons/x-16.svg,sha256=bezUtCIBMSuzdsvvBpe6Q9PAmPVsGxuZ-ZdhXheIg94,347 +material/templates/.icons/octicons/x-24.svg,sha256=HXAfsbwnchr5PpWd6qDERNVsqv_RZuStidsu0vXyedY,355 +material/templates/.icons/octicons/x-circle-16.svg,sha256=fh-f2zktAcxFNCEU7NxV4SJ9M8k-9ifIcdWNfFFk3xE,516 +material/templates/.icons/octicons/x-circle-24.svg,sha256=BOcp81sI3BrEM6sYRp0CR-57mTUIjVQOQSmy_wP52I8,450 +material/templates/.icons/octicons/x-circle-fill-12.svg,sha256=oHY-BXRUa7-xbW5F_LT6-6yduKgMco8aurD1PptzbnY,223 +material/templates/.icons/octicons/x-circle-fill-16.svg,sha256=9gzBHFEKC8gWFz_WAGfAizA6NsP618k8_eS03r4_f8w,406 +material/templates/.icons/octicons/x-circle-fill-24.svg,sha256=U7AUMtoDg1mtiGBoH1JbiXIuHdq4hE6Wno-bSSOWV0c,411 +material/templates/.icons/octicons/zap-16.svg,sha256=JxE6uT892Wzi5RK4J-RmVN1-P2F2z4rK1bz4o491RWw,539 +material/templates/.icons/octicons/zap-24.svg,sha256=KlPNh33iwcsSo5REJJwWpncP4qwBaOvwdhgEm8AcrRY,419 +material/templates/.icons/octicons/zoom-in-16.svg,sha256=DRkMcogZ2Z921V-fA2Y9zSx_WB4rhvxcFe_a_6ohjCU,379 +material/templates/.icons/octicons/zoom-in-24.svg,sha256=LTimoOkY_ty29Lk0Bwt9ZdkOlGUtZt3Fkgt8Qimp9v4,484 +material/templates/.icons/octicons/zoom-out-16.svg,sha256=1CV8uys1JyydLCCatWTaPiHsuVynU0387QDBeb5fxlM,284 +material/templates/.icons/octicons/zoom-out-24.svg,sha256=k6gIaCW9H9FzWwrAkVr41DuKv3zuZKIWQwRI06SBhW4,390 +material/templates/.icons/simple/1001tracklists.svg,sha256=ZHKEcWkyjzsVLZFZQdNSL7vkRTaIzv-aMgQJw2l1h80,563 +material/templates/.icons/simple/1password.svg,sha256=qIcEodvhXOzuByOxHrSB93jCthKw5oHlLbG6a2o5ytY,992 +material/templates/.icons/simple/3m.svg,sha256=ZpGuy0SnQ_A1wBXo_jKRV2gp0IAaAxHro2pl-0tcCVM,627 +material/templates/.icons/simple/42.svg,sha256=ZQ5eq6BYjZSVKvh9GhZ85G_dWpSY0v9RTBrmYy92RDU,264 +material/templates/.icons/simple/4chan.svg,sha256=aQkNEmQYcMLtqXjCqXXYSAP7M0ZNis-63_Wt-T_y4LA,583 +material/templates/.icons/simple/4d.svg,sha256=rWkp3_w5Bu7o-ptyzL-F5lYj8GaAlizhyOH0mkP3AA8,1022 +material/templates/.icons/simple/500px.svg,sha256=TOnOxUcvL6pDQ-AlzaxKY8_EXuKv6uRs86Jexh2HnZ4,1790 +material/templates/.icons/simple/99designs.svg,sha256=zYe_VWpXYIgbCiEHMYZkfV9QIGTJnfOB55vJ0Rp1YIg,610 +material/templates/.icons/simple/9gag.svg,sha256=qAZ8VOqpHKlhWNt5Gc6lWBiN7txlzbfhCaSQddKij00,727 +material/templates/.icons/simple/LICENSE.md,sha256=RnSyENihoJJuBwhDlQrvQzZ89E3KyGCBwlVA4DwInlg,6568 +material/templates/.icons/simple/abbott.svg,sha256=SA0nj0HoTTd3FMZ7l1Izb0F4wZVZgIP0RC2_9-MCK6I,400 +material/templates/.icons/simple/abbrobotstudio.svg,sha256=GL60IFDdsHpBwioADfFwcLjK-vdS3iuaDOv6Mo9LvOk,398 +material/templates/.icons/simple/abbvie.svg,sha256=5wFY7n7pKXu_jFpqB-z1LPoSURq4udSv-CDRaGQcBDU,1798 +material/templates/.icons/simple/aboutdotme.svg,sha256=mzcF0Ilj9y3IA5thkN8WZulNzAMexHzrjoWz--alYNg,695 +material/templates/.icons/simple/abstract.svg,sha256=tVTqOlYDFxQLdH5ILxWRoz22pjbaI8bmu8u0QxRuMJI,432 +material/templates/.icons/simple/academia.svg,sha256=RHQY3_s0kufiAaONCDjQxVUs6qlczH-rayNxCPt9Q6g,429 +material/templates/.icons/simple/accenture.svg,sha256=tg0yHpGhIrj-U-frD22SXzfE4TNxc9fbmAEExdGSjBQ,171 +material/templates/.icons/simple/accusoft.svg,sha256=ofSY7sWmBlyhvTfrUI1KKy8v7LkmfC-JWFHPtkNBAU8,1251 +material/templates/.icons/simple/acer.svg,sha256=bdo4POxPEvabFBYz1PJUY9HM-t7AzIh7X0T7NnKk2QE,1786 +material/templates/.icons/simple/acm.svg,sha256=1JbS6_S_CCxCxMtzSPPaSERJcyW8EXq8erUJyUwAXcg,2125 +material/templates/.icons/simple/actigraph.svg,sha256=qotAxYvsbTeO2KjXtdY3mVZikrsMCF5xJnWC11E2uaE,2270 +material/templates/.icons/simple/activision.svg,sha256=7Ah2mG6YokvIUb-sxQoj-o0fcQH3cvkbV5d_DrHe1eg,1084 +material/templates/.icons/simple/activitypub.svg,sha256=Pqi6vAZhmPyge40bbJVFEgrnIw4sHHMkzfki2vJgCwo,265 +material/templates/.icons/simple/acura.svg,sha256=6mmBsterdoI3yMO1_VLPuaLJnQT8MRQDPON0lMHTMxU,1084 +material/templates/.icons/simple/adafruit.svg,sha256=aawAIyN3QfQYCu-VY0lc76rqLdNMp011Hpw4L_Hg3vQ,1708 +material/templates/.icons/simple/adblock.svg,sha256=A_eVgot--gzgQebAXqN9JucX83_loLZfneiuWhYgMGk,882 +material/templates/.icons/simple/adblockplus.svg,sha256=GzscmOz90EKnpQteP4c5Z9HSBBngA9pncPgQGK-OHXk,1445 +material/templates/.icons/simple/adguard.svg,sha256=4xGWoxSQkCAMchzNYVkBWuyUWpRDvdOj49u4Xm7jnq0,337 +material/templates/.icons/simple/adidas.svg,sha256=cge8G2VoKtVl2RDideCejPs28ZhFqm40M4YYQKxUNPE,1690 +material/templates/.icons/simple/adminer.svg,sha256=1echR8sANLrLD9u5XnYga2kL-q30BNmhDxggM3oySlY,2306 +material/templates/.icons/simple/adobe.svg,sha256=xbFakM7COfCEAed6_SidnhwNfVqsbOAncZbeHHK0dBQ,184 +material/templates/.icons/simple/adobeacrobatreader.svg,sha256=qT61NUTSqmTKisGPEE6GVXkPa0C5NoKU9e9IN1TBRcw,1306 +material/templates/.icons/simple/adobeaftereffects.svg,sha256=nKe3RCCgJoiNKhwCxqDpdcJP7PBdI9NoyQ_g-LlO4Jc,1462 +material/templates/.icons/simple/adobeaudition.svg,sha256=TfsiHoeu8B17Cy6QXQGs8oRF5-Y47X15S58hY078N4k,1192 +material/templates/.icons/simple/adobecreativecloud.svg,sha256=qv9uBki8I_8m_ctYBPzogtFivHxMP_xSfN1AhgCjIyc,2015 +material/templates/.icons/simple/adobedreamweaver.svg,sha256=hjprzR-HStl3Myt_w3z09Q-RNkKxIwWWv9LbL11egnE,1856 +material/templates/.icons/simple/adobefonts.svg,sha256=351GOAx6rDZ_aUDgxPoMvm6eaNBgGOxoMK7-AO7vads,778 +material/templates/.icons/simple/adobeillustrator.svg,sha256=j4FycpVoZhU710i8B-CSJ6kG2tFZJFiCv7owxAFlDAI,968 +material/templates/.icons/simple/adobeindesign.svg,sha256=Qbn-gDGMlzJ4t0pmcXfay5ea-Q7rGQF5EIJtmcn5DCo,890 +material/templates/.icons/simple/adobelightroom.svg,sha256=ODM6E_-GCdgSdYHYUHO-tXdBPJ38XiL2BsyGO1v9ycg,780 +material/templates/.icons/simple/adobelightroomclassic.svg,sha256=p-9H7nzmfMvXp3REZLM4X91Kh3SCV3Xpg1geoljdCwk,1469 +material/templates/.icons/simple/adobephotoshop.svg,sha256=xTDlNM0Ns4Ev-OAHgA3GQhWZDqnE4sMkO4y0mva7CZs,1645 +material/templates/.icons/simple/adobepremierepro.svg,sha256=b9wwmlG2NhBG9-7wsWsQEHSUAh0R31_ScbpJnGeU6gQ,963 +material/templates/.icons/simple/adobexd.svg,sha256=RE5YQHyi2-r0pegOGOGElfZFTr02WfjZmAIA9Ho_zBE,1372 +material/templates/.icons/simple/adonisjs.svg,sha256=lXxjlAVqjOyEq_taTYP6I2HCQyV28ezokhZMLottbno,540 +material/templates/.icons/simple/adp.svg,sha256=omLOchXpG7ZEX8PNE31vOvm1hJqJragUWS22X2OlT9A,1142 +material/templates/.icons/simple/adroll.svg,sha256=C4XPNvz3x8GIWPVE6pEpNezJNF5eBRsWvA0wA-j28Zw,302 +material/templates/.icons/simple/adventofcode.svg,sha256=jgBUmfZX3t0ezCcYz3fArx04Kn3g4Ud-PWZpRZ5bCXY,249 +material/templates/.icons/simple/adyen.svg,sha256=sCJCrLsrtYpkYK2zzQUeOYKibUVNjm6F8ELitW_6NtE,793 +material/templates/.icons/simple/aerlingus.svg,sha256=uEEciADvP01Gx8DKhvKSTq5rQb85VPF4mJ1W0V5649g,1120 +material/templates/.icons/simple/aeroflot.svg,sha256=mt5bZEpesokXXi6qXou9h5u6FyOuykVLE4RY1D7frAM,1481 +material/templates/.icons/simple/aeromexico.svg,sha256=B1UOuP3jrx3FiOo6EeBv8j8y5I0BSm31v_yFtauaMzo,1461 +material/templates/.icons/simple/aerospike.svg,sha256=IJMJw24CgVlBiku9JQfhmG_rGg71x5WXN0NO_XkOioM,244 +material/templates/.icons/simple/aew.svg,sha256=vtWtgCQNCsEHNu41s2uU7CDzpPMdM0hWRk1gB6wPdg0,2030 +material/templates/.icons/simple/affine.svg,sha256=PfZzC7M7BQzM0KtuTbO2vs_a618uB37DAu1P7JYhzAc,1584 +material/templates/.icons/simple/affinity.svg,sha256=vBlSwchImlFlHtfkm9F6o0pApOwHTWBMcAonF8OZtxw,332 +material/templates/.icons/simple/affinitydesigner.svg,sha256=SbhTGrnOgY6oNhRNoL-N2WkqcgUEnzQKcIMWZFmttqM,346 +material/templates/.icons/simple/affinityphoto.svg,sha256=pZgO8bNSanUVOJKymE6n9jhG2tLd6oPcsUblggJaQwQ,667 +material/templates/.icons/simple/affinitypublisher.svg,sha256=9gSCKWaFBzN1ZqgG_b7Xl8QhQVY1ZapnM6lroOWjmpY,367 +material/templates/.icons/simple/aframe.svg,sha256=K1qFJYu40sptVMqI2Q1ux2BVNR43t5JA5y2fG4ERIwI,171 +material/templates/.icons/simple/agora.svg,sha256=Q1Xv1LqIhUTZqW6ckJvTVURuUsngNHChF_NMl_2uuWg,1279 +material/templates/.icons/simple/aib.svg,sha256=-9uLLr41XSxLz7Mg9gqvM4DjFLWZWJLvLYq-sKbpTgw,1371 +material/templates/.icons/simple/aidungeon.svg,sha256=6Mssb-niHMvLNp4tL7sSHI-J6sffJmPUKpbMEtsKL04,3677 +material/templates/.icons/simple/aiohttp.svg,sha256=ibCjBiQy-ch1zXppUR8cizzGcE-xxINZ5kNgoAE5z5w,1421 +material/templates/.icons/simple/aiqfome.svg,sha256=c2aOZjdtRzamJZp0Q59KkjQ2clvJRClja9DNI9rWW8s,2159 +material/templates/.icons/simple/airasia.svg,sha256=C1QNwjdT5Zcw6J0sDan5rTQ4Pa_Rvd2URlVQtDAZE9E,484 +material/templates/.icons/simple/airbnb.svg,sha256=Xjtrh3yYMhQj5C83iirPXf0Ou5zYXdP-sbezLsw6aKQ,1331 +material/templates/.icons/simple/airbrakedotio.svg,sha256=4JVS1LrmW3nS2Xj9hYZ3I1uY_tA_Mqc7tKp5x1xn2ik,300 +material/templates/.icons/simple/airbus.svg,sha256=D3LWBZ8hCNGA6o0fcjdlG2c4PeaJlxmMHjYWdx54s90,1221 +material/templates/.icons/simple/airbyte.svg,sha256=XA3Ax8jyB_qiCJc58ZnMsGCKPvqhsDhGBDPyf_l9IVg,1034 +material/templates/.icons/simple/aircall.svg,sha256=JqiJMED1MFqbTH2Wc7EsYYCsuzc2ZW61flToNaBtab0,1048 +material/templates/.icons/simple/aircanada.svg,sha256=vFYF86WPfXWXdtdxN2h4YhScSKbqxls3l4VAxk7onEU,1373 +material/templates/.icons/simple/airchina.svg,sha256=6QoLXgFu0y3g7_TzefDmN7ha3WmogJRHMdKu7AwNluk,1206 +material/templates/.icons/simple/airfrance.svg,sha256=0YmOhAYzJY2TgwC7yO0_88UXZF8YKl4mz9FlMarPbWk,187 +material/templates/.icons/simple/airindia.svg,sha256=AGjN5_01T-Mr51jvA8Dr5WLpFTb5g6PODgtuRbjKsKk,2419 +material/templates/.icons/simple/airplayaudio.svg,sha256=DKUNF5MIlRHXi0SyoxpvBeg5SZd0yX_ouVAlc_5wv0U,1400 +material/templates/.icons/simple/airplayvideo.svg,sha256=RUVUnJCszjG1GMll5kQnINgroxrJYqAkM9L-xOtEK94,1040 +material/templates/.icons/simple/airtable.svg,sha256=60gRwIVNv8Pwl2f6acnveHM4U4S0GHyj0e7kgCnc7Cw,618 +material/templates/.icons/simple/airtel.svg,sha256=t8PrHzWy4XbC2yndQHi3dt0QDt7kN4QBd3xVHccZVMA,1092 +material/templates/.icons/simple/ajv.svg,sha256=FTDcT6cOC4Y3D3688vLp450YHd0frIvOoVO2NoIsQFY,475 +material/templates/.icons/simple/akamai.svg,sha256=mn4uUDLeLgfJkvHy1zH4vZ7FfOlM9Nn8goEdty6lQEg,672 +material/templates/.icons/simple/akaunting.svg,sha256=LAT6XPc7PWhB6tjILWCHkc58F8Bj-nlMQMuKozwzcXQ,477 +material/templates/.icons/simple/alacritty.svg,sha256=5WEDiwjvdlFrxP_n_XLEh_8bU5cg99xdhM5Y2RZQOq8,231 +material/templates/.icons/simple/alamy.svg,sha256=yYOyJA0QY9bv72h5SzzGZU8dPip7l5K70jeRQ_Dgts4,623 +material/templates/.icons/simple/albertheijn.svg,sha256=JYefqAZ_PA2sW6BFOS_qZPRzOKulhrgt47lUBQ8KHdM,796 +material/templates/.icons/simple/alby.svg,sha256=XWV18I8-x41FMJZYUM9Obl-rynVFzCUETkKdtcRQkyc,1083 +material/templates/.icons/simple/alchemy.svg,sha256=miJcbuEmaQa3AY2QfDRLr82m12mCY7Op5xlgUxaB5Wo,1052 +material/templates/.icons/simple/aldinord.svg,sha256=L-u5UNXRFQ28C1ldKmBTropDMiMr6lVIG32zs9vw2lg,1645 +material/templates/.icons/simple/aldisud.svg,sha256=g_dA2329ALthsqJt_NUdyKytFOZ5fCH6BVG8F15qJ8Y,2784 +material/templates/.icons/simple/alfaromeo.svg,sha256=LhLEt-WA6QJH4KOD3heopHKa2h79e2vYdYq0-NY4xUc,4265 +material/templates/.icons/simple/alfred.svg,sha256=QzxeqceDGrTgahdaeRjfwmeCTOB1S56WVXDzuKTcBe0,235 +material/templates/.icons/simple/algolia.svg,sha256=92ivnGt68iklzXnXBg8RBX2cU16rZ8nc5n2Ih767uK8,768 +material/templates/.icons/simple/algorand.svg,sha256=KKEyhZZwNp2hFIqvng9K5KgKI8pzS3s1lf95cR-PegE,211 +material/templates/.icons/simple/alibabacloud.svg,sha256=VgRdkMBT5AhUXTE0z5xp-l05XZYMDRkLilxJHPpVGvY,508 +material/templates/.icons/simple/alibabadotcom.svg,sha256=Zbg_F5hZ_UkgjtlCOaiIdid0evkSB5BsCaZuxI_CpkQ,909 +material/templates/.icons/simple/alienware.svg,sha256=f7NQMZqVYP0SNZKC2m5UTFAxNpDtRPEUoIZSHgok4hs,1328 +material/templates/.icons/simple/aliexpress.svg,sha256=b5jQArt0X_e3UYu_gS_SU4R7D_vAKbEkm7Q7KsKqC1E,2341 +material/templates/.icons/simple/alipay.svg,sha256=6ccYOqVOPF87NflajIE-GBrjh1-OZYFeyWAhb_vPwMY,770 +material/templates/.icons/simple/allegro.svg,sha256=WgT_ZUO7u4ENcdKdLwrVJqxmCjlTdzvomcIRRSfq8gM,2330 +material/templates/.icons/simple/alliedmodders.svg,sha256=xL8SrUrF1pica6pHaXOqLzpn_UIIaThv0Yu1MM2dggk,1061 +material/templates/.icons/simple/allocine.svg,sha256=OIvVxLmy1j95EWoattOutLSoG1u_I8FdLMSrdAeAIDQ,724 +material/templates/.icons/simple/alltrails.svg,sha256=dFsnTUIbhIywoXiPDgXvR9VgDJ83z0ljfem2HX4G-Rw,566 +material/templates/.icons/simple/almalinux.svg,sha256=cpcMN_WWlI7CT3TTXDTw9zj7-r436-7QlAz1HKfcWCs,3019 +material/templates/.icons/simple/alpinedotjs.svg,sha256=Un0n_WtSKzBft9Gge6NOVakXkxA5crRc8wCQUgt_VzY,170 +material/templates/.icons/simple/alpinelinux.svg,sha256=PYWd5y5naEzhaNW-9yTCBmLT3y_g5kzh8qpm_8nWc6A,1025 +material/templates/.icons/simple/alteryx.svg,sha256=o6M4BISewUt3s3c6vxsIcHS7RfIZTduTtILY2pOAwpI,4105 +material/templates/.icons/simple/altiumdesigner.svg,sha256=ozgfEtv4QWO9RK4M1Mwd12R3rP503tQ_dSQo5gnl7cY,1647 +material/templates/.icons/simple/alwaysdata.svg,sha256=NigLWbWhIQm9EipouYbqpNameq2PJ-1dz_WuW6TwSJw,496 +material/templates/.icons/simple/amazon.svg,sha256=TaK6AkqChOsx4LAYiOb54FwZfDfXpPkBn-CcfVUPHTs,2103 +material/templates/.icons/simple/amazonalexa.svg,sha256=52Z3nQB1gRNQ13ajU27IjGrXWf5O_AgYoyponGibf7E,398 +material/templates/.icons/simple/amazonapigateway.svg,sha256=9qORZ_8KqoedhU69bnYpEigK_4d0jHGeO-ofXh_tcCE,999 +material/templates/.icons/simple/amazonaws.svg,sha256=-Uloj6qG_r5Ob_QMDkHS_4w2mSHLVJbLd5EzBGNBjRs,3115 +material/templates/.icons/simple/amazoncloudwatch.svg,sha256=IBzyhmepmTypuPvb2v0bagGY8gbuJX924PrL03TY778,1662 +material/templates/.icons/simple/amazondocumentdb.svg,sha256=K8S0UHyBK1y9MSAZjEmlwmCS2nNq9Z1GImLUoPhpzCM,1762 +material/templates/.icons/simple/amazondynamodb.svg,sha256=q6yHic5wOgFw6llyFFidpyHXFdRK-x5_RIFFOJ8_pUk,2102 +material/templates/.icons/simple/amazonec2.svg,sha256=1ffVcgzDsS87kE7G3WWGCHQl3eAUnCTsjW2SSAdb0NI,1045 +material/templates/.icons/simple/amazonecs.svg,sha256=KoJ1mPOSyZ71hATB0M_6dcDiZEEPgnWCw9UBHfGk50k,799 +material/templates/.icons/simple/amazoneks.svg,sha256=KGSk0xQ6YYmsty4Kma5mQF4lBNNZDHvmFuH6LXN--u8,884 +material/templates/.icons/simple/amazonfiretv.svg,sha256=j1qxzVSnfIUxeslZVFUyCFeTSzMGkFiGK1g58Qk99eQ,3218 +material/templates/.icons/simple/amazongames.svg,sha256=1_BPvrab88X51wUs--je0tZXWKbS9HUIuTFOFp1ZOI0,4583 +material/templates/.icons/simple/amazoniam.svg,sha256=ZfMOlSZzBYVJKBfp2S_4jfj10PXSxkRUO_O1qaF8XzQ,953 +material/templates/.icons/simple/amazonlumberyard.svg,sha256=DZXnpKGs1nOkaVDkQHpWIQusqoiJOzKmZtQhf-EOXv0,7100 +material/templates/.icons/simple/amazonluna.svg,sha256=HIBs1EXf3cbRNp8eHk31hO1GKW-Y_Hskou6j4j3-tZw,1284 +material/templates/.icons/simple/amazonmusic.svg,sha256=Gp0mgt4fldsng5XnlrOdZadnGaEheyLhYR0YBp02624,5742 +material/templates/.icons/simple/amazonpay.svg,sha256=NOQs-9FQM7knN-ByAfagE53hb3YeLOWkXKmPlz1CBAY,2354 +material/templates/.icons/simple/amazonprime.svg,sha256=jGlCsTHw7Y3U8bLXMwwhLumYfXtEVZiYPjC2PLwQ7Dg,5815 +material/templates/.icons/simple/amazonrds.svg,sha256=H993RnGIi7GYeG-0W9HJlQchsbMgaS5E9qRwUtVdvVU,1471 +material/templates/.icons/simple/amazonredshift.svg,sha256=D5tr6UanlShhS-WWA1TF22uSSSSm6gZVdL77C5W8_YI,1339 +material/templates/.icons/simple/amazonroute53.svg,sha256=i4yRf8oZIuJ8Am8ufEdWTXuiVA4GbMOJtigBLKCvV_U,2813 +material/templates/.icons/simple/amazons3.svg,sha256=DdIiFBNwYXgeQJKvWbjEZMJ2IuFNkcsAuwUkE7BTuzU,3515 +material/templates/.icons/simple/amazonsimpleemailservice.svg,sha256=kIfXn125aTJ90lPN4Hyad_Q0RQiX2iWG5e5TNjzF4PI,1476 +material/templates/.icons/simple/amazonsqs.svg,sha256=oDshaGSQx18B-4uxpLmhNrPFGYTkAIk5i5ibIVzkhfQ,2006 +material/templates/.icons/simple/amd.svg,sha256=PhwbutFdWyHKDvVQZWtNuGvxgmZ-b1M2mKGGQqKiupM,536 +material/templates/.icons/simple/ameba.svg,sha256=xRJagswZ_cKIcDv_q-vRSvdWmG2aubO-h1gdb5onyFI,2522 +material/templates/.icons/simple/americanairlines.svg,sha256=SYdfTBB8JJDkujS8BA3cHwHRM-vcoP7BQTneOLo0oNM,549 +material/templates/.icons/simple/americanexpress.svg,sha256=z0Lye-VkuUyjj4fuSDTGpqBHhYSeL8p3G-Kf9bL0rts,3564 +material/templates/.icons/simple/amg.svg,sha256=XOQm1-tNOCPQQFoMokmpvy_Cn5mSUTzunqjqnkEW7As,1985 +material/templates/.icons/simple/amp.svg,sha256=kKe_ds9r3JzhgZzINTvE8ABnUdt87ioMWdLhSP17duQ,336 +material/templates/.icons/simple/amul.svg,sha256=c4RYpfxUXoVY3uT9_Ii3rM8f6G8iC9CZUt267BaVO0E,1931 +material/templates/.icons/simple/ana.svg,sha256=iPmbwuAfMNcoT2W26pY7eoWuv-CEzKPlBNJ0s0iJ0hY,619 +material/templates/.icons/simple/anaconda.svg,sha256=VW9GI6IaA42bPH17Lot6FoLQZyeCutE6eovr7AIeYis,2409 +material/templates/.icons/simple/analogue.svg,sha256=Ty5I2sT4jvwg_ISu3A5iCUKoWWzemd7RObdtrMtGVEk,277 +material/templates/.icons/simple/andela.svg,sha256=DbJ_zJBhLhWDFetvv7wCrLKGgJMC6vG52eLTNXUaoD0,731 +material/templates/.icons/simple/android.svg,sha256=MNRaXE2mu0zgvAvQ7xjkgfFDdbr0QgVJGUILi9hpuqo,824 +material/templates/.icons/simple/androidauto.svg,sha256=X02OY9HL8cmC7vAJOR2PCYrJhB5eE4hOzGpAu1TO7XU,266 +material/templates/.icons/simple/androidstudio.svg,sha256=S_SXuW8bU3T-5X5dJ52Tugmluy_j-wyynZXjrZow1zI,2304 +material/templates/.icons/simple/angular.svg,sha256=J-xYMlxkeNXaioU52s3_o24_KYeeekKOHjipS4DIzW4,265 +material/templates/.icons/simple/anilist.svg,sha256=WretRcDPm71txL1QL5mI2LEc82RqMBD61lwDJkq-y0w,365 +material/templates/.icons/simple/ansible.svg,sha256=b6RgXcCPaunrtnl8kGYCqtCjd8bLD8mPB6SUbcD184c,382 +material/templates/.icons/simple/answer.svg,sha256=2DWDaQoEjpMEvVvMFqRbL-EeqZp2TBJUNaAabvWkHhY,520 +material/templates/.icons/simple/ansys.svg,sha256=B5vU_ryrKINOSVg6dtDNzqeelv8r0-h6j5i9KJi48d8,1737 +material/templates/.icons/simple/anta.svg,sha256=R_LN03gA5FbJn8UtwFfHoY46S52UrBrptoYCBPeDn2M,650 +material/templates/.icons/simple/antdesign.svg,sha256=lDT0e4eHjZgNIUm1Z0_oMXZDWkKPRFjVny9Z0wlS5ZM,754 +material/templates/.icons/simple/antena3.svg,sha256=ETtFujxbBwTqaBUCFk9sjGsdcA0L41X__r2IQxdQtoo,1007 +material/templates/.icons/simple/anydesk.svg,sha256=tDLc03mMREYMO5DYDwgjkGjucdCS12F1UwyvgdMKkPM,181 +material/templates/.icons/simple/aol.svg,sha256=7vIyw_087ModgUW6lpKA1pgZFmaBJAQ2XqgjMnQVmZ4,536 +material/templates/.icons/simple/apache.svg,sha256=N8Iyw-dS9ngxg0InnP4IWAghqsuQ6CRjPj4gmcJMjmc,2818 +material/templates/.icons/simple/apacheairflow.svg,sha256=r6p2RWIGs-C2nZvSudSHv0AmMUien8p9Ci0-RSa79H0,2213 +material/templates/.icons/simple/apacheant.svg,sha256=wPsu5gchfGh5jzYj2H0jpTeHW2OFxojgnPQsajsKFJU,5138 +material/templates/.icons/simple/apachecassandra.svg,sha256=zNKCCx1La1EC5McAS01GZZpM8EUg1UmvPdtmTRjx3ds,4356 +material/templates/.icons/simple/apachecloudstack.svg,sha256=8D5MjLiBTauOQLDpgNaFZbqoOdBw61EYDhen13hvp6s,4579 +material/templates/.icons/simple/apachecordova.svg,sha256=wUyTe5WNg6_kKI5JnoD8VVL9tyHKEL0Q9Jir7r8_c10,542 +material/templates/.icons/simple/apachecouchdb.svg,sha256=YvaEYO07Iohg3I4ONSiDO0NBxlQTf_sTTmmDl97qQtk,800 +material/templates/.icons/simple/apachedruid.svg,sha256=AUY7_DxT61BqFP-LM36CPETPQh5g83OiHtkmYZuekwY,1638 +material/templates/.icons/simple/apacheecharts.svg,sha256=TFil8Eb4tvINLwCNDfsVH1RtmYvBHqw94C1pxV7iHbA,716 +material/templates/.icons/simple/apacheflink.svg,sha256=aaHq3ACphMi6SaFntcNXzefTKbL7WS8fpWgTGJnDghg,11184 +material/templates/.icons/simple/apachegroovy.svg,sha256=SRqizWgy7P152GdPB8xdJ4-zLrIyHPhJTpX47CEy0W4,4518 +material/templates/.icons/simple/apacheguacamole.svg,sha256=ASewYNtGtk-GKceTI_QuD_w12J9pvzuPpvw_8wjE9ZI,2984 +material/templates/.icons/simple/apachehadoop.svg,sha256=4oc4EJxXiAUWf7AKbB6mZwFBe9svL7SeStu7JRpEmNM,7628 +material/templates/.icons/simple/apachehive.svg,sha256=JwIXJ0ehdO9kB290up94p5jtye2WKArzQEaC486Ffqs,6265 +material/templates/.icons/simple/apachejmeter.svg,sha256=hUFIIBCTHseIhM3vQkv2DyfEjELkG5qZhy-I2H0WGcE,6503 +material/templates/.icons/simple/apachekafka.svg,sha256=fiFB1S7T6-2AeQgRCbqF8QXvUn91xNucfrjleSI6vZ4,2685 +material/templates/.icons/simple/apachekylin.svg,sha256=S5MxqSHSvRv7LmuLB_KuTMBTBLHlBdokeuCUjHNpvmk,7161 +material/templates/.icons/simple/apachemaven.svg,sha256=TGk3VTMF29qgTZ9Po7HKZxFU6KaDu4gDWJ53hP_zRNY,5635 +material/templates/.icons/simple/apachenetbeanside.svg,sha256=TzCrqV0_fwPr-xObtRcSeltto1CTqjSC-Wy0TiAlKeQ,807 +material/templates/.icons/simple/apacheopenoffice.svg,sha256=kV5QXh_zH8bUuAhCnmo96swL46nGxnpPSNgwovLV56Q,899 +material/templates/.icons/simple/apacheparquet.svg,sha256=9OGbfTRuQ0RXon14p7FHCSv4D-ut9hJsgcalzmAz5CU,1841 +material/templates/.icons/simple/apachepulsar.svg,sha256=DdjjVKkYl9GQ9AnPMcsU7oLC3DG5pUmmG_Np9z31buI,631 +material/templates/.icons/simple/apacherocketmq.svg,sha256=LPziognAF8c5lgkD3XiPyHwUub9vIS83cnL83kTrfJw,1896 +material/templates/.icons/simple/apachesolr.svg,sha256=BQ_x1iugvdHu9AHgzLhfEGo-MLB9grNGBcVUy97D-q4,641 +material/templates/.icons/simple/apachespark.svg,sha256=JJSD3cw2B0Vc0sodlgNJGBlSCbszASwl4Yypa2xKi-g,1815 +material/templates/.icons/simple/apachestorm.svg,sha256=CS7hseT45oXYKtnBhjo-claOGbMVMqPUwEAxR6YPnNg,1372 +material/templates/.icons/simple/apachetomcat.svg,sha256=iBeRrALpLv-DwAfc-7Ij_XzORrmPb230c97ikZKOauU,3135 +material/templates/.icons/simple/aparat.svg,sha256=4L8mUJ2_NA0s7ak02Ls5EvPSsGwLhR26RE2YAaEDpHk,1106 +material/templates/.icons/simple/apifox.svg,sha256=muktwtlIoXwWBh90PTn0BgKBreydVrhEcoqCsPzkK3E,1768 +material/templates/.icons/simple/apmterminals.svg,sha256=RoW9IlSO0nATJ-XUT71-SvrP4S34x-yaOUZgeYWCNeg,147 +material/templates/.icons/simple/apollographql.svg,sha256=FPL2JjcIKzW4gh7QFIodGTcFPH2cqR0Ldi9ZiUmZeyg,592 +material/templates/.icons/simple/apostrophe.svg,sha256=kAiHaEwMXTwy6NZf62KlWqGpnqrvuFbM6pehYIdovD8,1123 +material/templates/.icons/simple/appian.svg,sha256=nmX4iV-X9PcnsEvB67yXkXnAfj2v-bFGEJfVcdQOdPg,418 +material/templates/.icons/simple/apple.svg,sha256=yh1ZmDEn0zlRwLjo6j9TQbfAuD5kgryrx4t-5KbT6SU,619 +material/templates/.icons/simple/applearcade.svg,sha256=-IyrktZMu3EA5Iu3R9rPo-pM-CwXVSCprbSE4KorCgs,1000 +material/templates/.icons/simple/applemusic.svg,sha256=dic4wj3WtFpd6Yukraht4x2KU_W3SFZET_erG9waUEM,1710 +material/templates/.icons/simple/applenews.svg,sha256=fIYo1dIubk73YjB6kb68JERp2cLhSq57CGp1xF_IAAg,371 +material/templates/.icons/simple/applepay.svg,sha256=XmRtMqRWvKVtmEYYkBSJmN4rIhnIUpGZRmcsAchjblI,2598 +material/templates/.icons/simple/applepodcasts.svg,sha256=1bsqXl0hL2K76lTBk-tsGUN4NAHb7HHC5lpdpqrR8CQ,1853 +material/templates/.icons/simple/appletv.svg,sha256=8KSiO33O_iHHhcZz1SSXITmEaM-hxlKdOohuZZrc0UE,890 +material/templates/.icons/simple/appsignal.svg,sha256=jWjNgCgxCvghuPRiunPI0181RB7rezIZjMTBq3zOZPs,998 +material/templates/.icons/simple/appsmith.svg,sha256=QFKdOkWhwes2hccjLRCqvkSvv6TCXnSSpRbrCR4f03k,2334 +material/templates/.icons/simple/appstore.svg,sha256=bwUi296C8SXU4zPPrwztDKH7r-WNXVg3qEaL2_xHDDQ,1621 +material/templates/.icons/simple/appveyor.svg,sha256=Cgcz5vQ4PecjYOgTvbXjd7DxHfjRl8Rh6KFjGaZeFIA,458 +material/templates/.icons/simple/appwrite.svg,sha256=lM-E9Y_vJPHRVRymSzPPwFv5I_Dn6N7eKphsl6suGGA,460 +material/templates/.icons/simple/aqua.svg,sha256=xO1XSMHvqDxYoIptPFxJILb5Tlx8x_G0xMwQuGXRtls,625 +material/templates/.icons/simple/aral.svg,sha256=p83_F1E7_5D448wJ-B-gFzwS4O2xQXdp1i-ZLiK2rQg,1748 +material/templates/.icons/simple/arangodb.svg,sha256=s-jnEOPMZCRDdeRxg4wlEoC8-Zkzq8m20IFN_djqpEE,2515 +material/templates/.icons/simple/arc.svg,sha256=G2IxvslxgLe4COgkB_7mb8SBeGrPFfeqJezX_wpn7q8,2124 +material/templates/.icons/simple/arcgis.svg,sha256=4o9IhODw-SV3ENwnPA50RRHgDe9agnIqIbN3kN-El1E,981 +material/templates/.icons/simple/archicad.svg,sha256=DZn52I3PZkfwuoop1eHss3UDWEXhpQqpVQ-Wv2NjDp8,314 +material/templates/.icons/simple/archiveofourown.svg,sha256=Xqye_AWenzP9yNDFaQjJfXsR5b5enzyiWXQ4apcvino,1643 +material/templates/.icons/simple/archlinux.svg,sha256=skIyy6bIx7wfu-l2TwQs9UAT38sEpc1sudaIQjPO500,733 +material/templates/.icons/simple/ardour.svg,sha256=j1tWa1_audFr4UkaB7lIWk9PyMnljwen4-xwt5fNIVk,1051 +material/templates/.icons/simple/arduino.svg,sha256=iCanGqOUGfniBjNQXImk71FMglydJQfzh7OeXgODEjc,931 +material/templates/.icons/simple/argo.svg,sha256=w3WWL9o09MbThlCwxXPLo9X35HO4Pc0hGq6YOrXveuc,4980 +material/templates/.icons/simple/argos.svg,sha256=Iys0JjuLPad3bg7rKAVj7ld8gbUZ1nVuJ6gdV3Gdc8M,2480 +material/templates/.icons/simple/ariakit.svg,sha256=tLHoKuAZhAN1Xq6gAyId29lHMuJwB_Gq1vI_00hrWXM,909 +material/templates/.icons/simple/arkecosystem.svg,sha256=hl71062BAnj0XSplBE_tm28NXmEfS8SnQDi-LJho6_Y,341 +material/templates/.icons/simple/arlo.svg,sha256=yk2_Vnrv6wxNAXQb6-8Wo13HrAueEG1AafItLfkLu7A,1063 +material/templates/.icons/simple/arm.svg,sha256=q1of2W9QraeJXXV9NJsOnc8qJrx1EHzqXcBTrUEadpY,999 +material/templates/.icons/simple/armkeil.svg,sha256=rTNHM7mQXyFvvlPU8QyFv-e6_OHgmXUpTwIf33D3-wQ,1210 +material/templates/.icons/simple/arstechnica.svg,sha256=fe3a0VFf8J_JQ6kXX4IubOMoJLacEcOAEODXab5PedQ,989 +material/templates/.icons/simple/artifacthub.svg,sha256=nXcicN3SicmMLoeeO0oHxAnXtKfGM2XW3O995-e_mP0,548 +material/templates/.icons/simple/artixlinux.svg,sha256=PzVRTY1g6uRFEIDfMQsnk_ZFxPZdZggcXNK6vz0jBCk,179 +material/templates/.icons/simple/artstation.svg,sha256=0ZrU91NPhMuDATaPTqXGkg8lZl4D5rQMmL1y4Y1gx4Q,343 +material/templates/.icons/simple/arxiv.svg,sha256=5JU98mSAzxQ8qWl0CtKqGGbzWTLpi6u9r5EIFAPSSGw,902 +material/templates/.icons/simple/asana.svg,sha256=i-xec98H3gXZTX0__IigBm3PMHsKqHhdXvyz5f-jXV0,264 +material/templates/.icons/simple/asciidoctor.svg,sha256=8n9MEcKUdTBVfJAv39oWZEiq67pFYoX91-ybx4Bqh_s,587 +material/templates/.icons/simple/asciinema.svg,sha256=hX_NdBWxp_5lHWPZXyO1g37VOGc1lIhAL6w6zVNMHUg,179 +material/templates/.icons/simple/asda.svg,sha256=um8xbgPbcfwKOCzbLBR67MZeAOpikyuq572fH9pyH4w,837 +material/templates/.icons/simple/aseprite.svg,sha256=nwxkIRA1t3UtZXIJHuxlBc8xga8VWu6GQyp8PWAZgAY,299 +material/templates/.icons/simple/askfm.svg,sha256=jqt5SEshYCYkrP2T7JE_pGtjETYzpykg7uOc1rxYhZ4,2534 +material/templates/.icons/simple/assemblyscript.svg,sha256=Yz_JRR09x554neM4U4xfXACglsutuTKBQgcM0lVvNCw,1323 +material/templates/.icons/simple/astonmartin.svg,sha256=CtwrVt0NX98QT8KyKrtROs_whN_R1reqS7CVXeEdiXg,7623 +material/templates/.icons/simple/astro.svg,sha256=t5yMf9lDj3XKjX378AISrluTBDbD4pEDxAW7s4KENqE,748 +material/templates/.icons/simple/asus.svg,sha256=HEEUniQ8mi7pijAbibzE0JHhK0JkXGskrUyskL5xHc4,882 +material/templates/.icons/simple/atandt.svg,sha256=-HwAjZmelPj7xtC12tsuh_ov94jeRCs_PNrOOQnB1mo,1406 +material/templates/.icons/simple/atari.svg,sha256=WDnEV3VOsLujOiVVCfXbK55lpzJrjP4vY4b73mX08g8,475 +material/templates/.icons/simple/atlassian.svg,sha256=8ySwdLHlJxMel-oTBn8MCdaRsAWDE1uWXFxtbbDxSRs,354 +material/templates/.icons/simple/auchan.svg,sha256=7dLG5YWWUnmLfcGyKal4liNuZHsXhRnuJI_oSvFwktI,1414 +material/templates/.icons/simple/audacity.svg,sha256=FqTcicOJwEbYGz8WrRbIQtptTOUANGd4p5jbYhgcwAk,1123 +material/templates/.icons/simple/audi.svg,sha256=beJEoD6jf0GXkxqgR1xY691vlx-dDvE2F8bvvIpe7Ww,1450 +material/templates/.icons/simple/audible.svg,sha256=keFdI0wMnIqCUVeCjfVfVGtA3RTAJmXMVeHYw6QcGBo,608 +material/templates/.icons/simple/audioboom.svg,sha256=JLuU8OKPuTVyMNax2pfWM_76XfWWspHEUkWu1hPKtLc,786 +material/templates/.icons/simple/audiomack.svg,sha256=D0mZqYGHnY3EeTj_dc8GhFI5hmyH0O4r0xMwpd5KZL0,1784 +material/templates/.icons/simple/audiotechnica.svg,sha256=7Yfhyip8fpwQnMNxn1AhS8xXFSqrUucULtfk_lBn1Ao,487 +material/templates/.icons/simple/aurelia.svg,sha256=rexo80Jvwr_SrDgDWU1CcFQfKuI3rMNjXxpUBVUNlyA,983 +material/templates/.icons/simple/auth0.svg,sha256=Ezr8L-00b5ejc7vYeTMn2oevbYl5LNEqHSrzAdgiFIo,318 +material/templates/.icons/simple/authelia.svg,sha256=sckb3jYnwph3khI3-9MfsC17yXPaMsUUCg5UjDx5wpA,2384 +material/templates/.icons/simple/authy.svg,sha256=W4PD8n2Vj2ODOAAi2o-V6X-DEWog0G2nHogwWV8aRKo,884 +material/templates/.icons/simple/autocad.svg,sha256=jBm_SDS7R5xX-zw4LHRqqtN4yS5G8wYE8IutAoNeZRk,378 +material/templates/.icons/simple/autodesk.svg,sha256=6Qbl8Z_qIrePoNkvZgnRli8h12lhTJGDvoIGotChq6Q,269 +material/templates/.icons/simple/autodeskmaya.svg,sha256=nodESF75qnX3xrUTK6M5v-YBGoEuDVebhdOIoCt6YRY,690 +material/templates/.icons/simple/autodeskrevit.svg,sha256=6xQrIAa5mK7W4kwT2HoEre2n7XBihKMNyuXTYI5KxfM,1346 +material/templates/.icons/simple/autohotkey.svg,sha256=Fo4OdnHXi3QmEzbbrRavheviDQ3_kXDoEtKRWJzJs1E,761 +material/templates/.icons/simple/automattic.svg,sha256=Xz9A3kEH-xrji2Yp9MH-Jq0KytiqaGvmzZwRsj-0J5w,540 +material/templates/.icons/simple/autoprefixer.svg,sha256=tPksyqSZ84hwXOfEGLMkrE0hefM4kE19X0BfEMIqhrI,311 +material/templates/.icons/simple/avajs.svg,sha256=eY07855bz8k1vAHqrHJX9CLI65nBy3Lv2B1iTAe3h6o,3424 +material/templates/.icons/simple/avast.svg,sha256=zeYetBMmcZ4ngAmyhBNbcdSWhO7I6W7kkt8axlJiQBo,595 +material/templates/.icons/simple/avianca.svg,sha256=kV7Rw_vfbRRCGuC-ltgbxbZSG9yzmIObVHXYEOkCvhQ,432 +material/templates/.icons/simple/avira.svg,sha256=J_GuFfnKNKwng1wSQ-dyxQ_WMowj-R6SRyzdcAL57Y8,596 +material/templates/.icons/simple/awesomelists.svg,sha256=I_Ta28eMpCvsaVWjK36yiazkOGMD7f1ckAlzvAztMUE,319 +material/templates/.icons/simple/awesomewm.svg,sha256=BaLpyxzL-brvsIRFtdLcfexxAON_Ibo3qzTPahyxZl8,134 +material/templates/.icons/simple/awsamplify.svg,sha256=GpeHHnlrWgr2bLzVUigsKHP6LAtwTFKJwy9EFfbrWV4,225 +material/templates/.icons/simple/awsfargate.svg,sha256=yxagA8QkOQ6pS1TQp-BQ8KJVisdqRF45nOFp4KWxppI,1661 +material/templates/.icons/simple/awslambda.svg,sha256=4z67BKqXExu1T74kibmqRclA5qi6D5Fh8vj5voTkmAM,662 +material/templates/.icons/simple/awsorganizations.svg,sha256=YixElX9ZfV0E1zuC5ngZLksGDMP4PGONi8-eCkY4GC0,942 +material/templates/.icons/simple/axios.svg,sha256=GVrtbHbBHIGE2dvJbGc3lGzpKRrvdNlbgTFQbGYrs30,178 +material/templates/.icons/simple/azureartifacts.svg,sha256=KKHABpemLjbV9TKDQGHksjzFl_co0ftwJjVXgetKu00,539 +material/templates/.icons/simple/azuredataexplorer.svg,sha256=dbliEZXqCGZXR86mDoAAIS3CnEZhcSz_yUid54h7-4E,1465 +material/templates/.icons/simple/azuredevops.svg,sha256=2Q3vBOF5Y7Jh8T9RgQ43PixAqmD4OVxSHD5ZdzKKMls,230 +material/templates/.icons/simple/azurefunctions.svg,sha256=nWEdIBLXXAW4i9iOISE_rqsTOpkiczEHNe8ijbuFOek,592 +material/templates/.icons/simple/azurepipelines.svg,sha256=lmMz7nwBpA1J2drKWcMsIlVrPhMhnox-dUTnVwz9QW4,628 +material/templates/.icons/simple/babel.svg,sha256=ybUtQI0Xz3f6tn_FK2OkyatBNTM5UGzcTTztA6KU_WA,3903 +material/templates/.icons/simple/babylondotjs.svg,sha256=qgyfGAWvAXKIFnDSDvntfQeoBlFRu73qu8ZwKR4k72c,331 +material/templates/.icons/simple/backblaze.svg,sha256=BCQvygSIkk2Hkf80kvducNslHu12RjXnEriahD_p7JA,1075 +material/templates/.icons/simple/backbonedotjs.svg,sha256=ao8-bYnUpIcGPb1CcxUdY79MUWFqwsQqKCB6DzF4dIQ,434 +material/templates/.icons/simple/backendless.svg,sha256=NbBUgGrhYTiLiBK4XtpPhUDGQDf0nUAzBnF6FEdkOKk,899 +material/templates/.icons/simple/backstage.svg,sha256=MJFVnKAklacRnlpfx3_UB2TdaGYw6jojlzgBoIX9J8c,2775 +material/templates/.icons/simple/badoo.svg,sha256=SWfGT_7NqkhMIknnBuNw31TXlhaz1UN9FCMJl7Zc1LY,481 +material/templates/.icons/simple/baidu.svg,sha256=UHKSLK5BuX2Iwouw2QdOe27etgS4r_rgL9r8Qe4VFHA,1360 +material/templates/.icons/simple/bakalari.svg,sha256=rQDXgKkvy82fPD1uczkkJrSKwAUVmdA7aYImS1aIUBs,794 +material/templates/.icons/simple/bamboo.svg,sha256=KaPQOreu2pvr_LA9jj4E3ejahDEMM1jNc-uEJg4coTw,498 +material/templates/.icons/simple/bandcamp.svg,sha256=a0OyiG4nLkaHDTieaMS-OTpS2uTvVsm1q_R94yoa1wI,115 +material/templates/.icons/simple/bandlab.svg,sha256=cTmM5TJ8NxTzSVTqtrMgDAfvr5CEvbaa2t6IVw4mo7s,583 +material/templates/.icons/simple/bandrautomation.svg,sha256=SMGVCLtoZzS-b5EvRgNeZSUSxhb9WSrezwgkYDZeopU,1089 +material/templates/.icons/simple/bandsintown.svg,sha256=794FwKlkG9DLJWAqmZsumY87D-GKSRUBZbl_oG120ro,203 +material/templates/.icons/simple/bankofamerica.svg,sha256=gNZafKs7HWij5fd0ziaV_40JKfnJM_JzkUn75G7z8sk,1290 +material/templates/.icons/simple/barclays.svg,sha256=L8Was0_aS5kQzXqYzDDf1rtycu7V4xM7J-UX4G35EoU,2282 +material/templates/.icons/simple/baremetrics.svg,sha256=Zluj9rYIBzSlAdCrO6vyYQihEgr-6hBPifu5Lj4k2bw,465 +material/templates/.icons/simple/basecamp.svg,sha256=WQhinAGp7y8tbS8tswMLWJ3y3czwXad5Q0TVlVx3gGw,728 +material/templates/.icons/simple/basicattentiontoken.svg,sha256=553CIKrHeilvQEcAO5PHR3tBCEwpmGeMdI_pPy2jgR4,817 +material/templates/.icons/simple/bastyon.svg,sha256=_OGQ5BJKua5oTXIP2G4b-xX8OX1q_-v4Gyeu_zSgM-Y,945 +material/templates/.icons/simple/bata.svg,sha256=pePXAQ7kU-gX8OOdZwljnyKvdjMea7dOp7x7jEpC9aE,1936 +material/templates/.icons/simple/battledotnet.svg,sha256=Kn78U7P_RCaIKiqQPXnqDCD1pBbKSHyArZAZz4R0ck4,1139 +material/templates/.icons/simple/beatport.svg,sha256=koE3Hpg5UF3FLWV2-dhtRsQum8d0ddAOy8IfOu0BxRw,910 +material/templates/.icons/simple/beats.svg,sha256=gI99o2iQL7J31Bo7JNE_kSG3hXMN_eT5ipcoRtvmsNo,207 +material/templates/.icons/simple/beatsbydre.svg,sha256=1mZ2z2X03QmC9uwGb5-93GKrnTDnmjh6tc9jOPQq7X8,228 +material/templates/.icons/simple/behance.svg,sha256=nkkO0nkNTivmUGMVHat7LTM-2b7yY9q6ybgWiX8NkGE,1560 +material/templates/.icons/simple/beijingsubway.svg,sha256=taxdqsWAb1tkDPJPx4DQwbkjacE4r1DVk-ZIB_AEj0k,1515 +material/templates/.icons/simple/bem.svg,sha256=yg6mZNS7WrNGPytbNenPcnkDd5SJkONVkjhNk1F0vSc,685 +material/templates/.icons/simple/bentley.svg,sha256=uI2hV0rkkPE3Ujbv4dF3MNCsxr0T6mpOu18ovaEuBuc,14945 +material/templates/.icons/simple/bento.svg,sha256=YCZyxxyoS6v-Y2-II9P8c2BMFaJUo_wepUjWpZcZjGE,1664 +material/templates/.icons/simple/bentoml.svg,sha256=vd3inqgD8UB7ioR5nlS9RPJW2NU7SUnlEB0Hhigc1Qs,462 +material/templates/.icons/simple/bereal.svg,sha256=odu2IsWwO0v4byeQIsdCmb0r0EF8oHwDbCSyOj-7lAA,2281 +material/templates/.icons/simple/betfair.svg,sha256=O1HH5OQuziA0Qvlp7CAgEROFz_AKpyfJiOzbl4F8x_0,183 +material/templates/.icons/simple/bevy.svg,sha256=WT8UG8cOlrldWvLeSYMWnD3rrqHb-fzhApwBW--fA-U,2068 +material/templates/.icons/simple/bigbasket.svg,sha256=sttvlFfavBoRKRqQXL176ZVrNi2JAea-MXRyRp0156U,1442 +material/templates/.icons/simple/bigbluebutton.svg,sha256=AuQq8YpHRsWfD_cLLvLlfaFwEkv_-pYOLKvcF-XY8x4,592 +material/templates/.icons/simple/bigcartel.svg,sha256=gzyc_6PryxpbWhH2IIbPnuyuZjzjFX3eYf98_3qKKT4,281 +material/templates/.icons/simple/bigcommerce.svg,sha256=bHE-Uh18oKIKZyCgO_GCxc_5QOM5PPBGEvZ-qNrkcaw,663 +material/templates/.icons/simple/bilibili.svg,sha256=g-IcHcQuCNlDSslr8FJRSKwMoL9v0flaDwqdxDWeMkc,1347 +material/templates/.icons/simple/billboard.svg,sha256=dezgq0pmNl07WtOw01pR6Mqy8S2XHYhwPhzvUS3S9uQ,1365 +material/templates/.icons/simple/bim.svg,sha256=CirHyFsf2z6uiVqicY8QuMG1qD_qlu6e6mCRf4jnIQE,763 +material/templates/.icons/simple/binance.svg,sha256=rn8NcMBlR43LXsH33imUyJJuG1HVaCjj4Mm_wNyfHmE,398 +material/templates/.icons/simple/biolink.svg,sha256=8ke-WMKyJVivcbjlTiCVhZN-DI70hFyeIxsc9SAPUAo,1077 +material/templates/.icons/simple/biome.svg,sha256=LDOhHvEpYO6oiye1Z-Bqd52SXHx4sppGnCJ-BdwDLdg,1160 +material/templates/.icons/simple/bisecthosting.svg,sha256=S7PlsdWuWHrwaBkN9BcuKws7VfBi4QYuoHKLyXI8zrY,1620 +material/templates/.icons/simple/bit.svg,sha256=1sq3oqHS7EYrWHKqfy8Gi7fIc5lRNlj-IqUcpjYLoVk,2164 +material/templates/.icons/simple/bitbucket.svg,sha256=pYIzhUFw6XgolQDeiT-nzc8feoJ5vQ3lUOOEeRBEWlU,253 +material/templates/.icons/simple/bitcoin.svg,sha256=dFVkb_H4s4wlTD4l6h8X5BPT-6fZipV0_YQQyr5kScQ,875 +material/templates/.icons/simple/bitcoincash.svg,sha256=0NxpFOA8DJ94p1cLX5bHI4F5yJk3rxrlkWC3K7KqVEg,837 +material/templates/.icons/simple/bitcoinsv.svg,sha256=C-yZWKk9PJPWj-i9CbmY_6nUrftSaAwpsPitw9JhImA,920 +material/templates/.icons/simple/bitcomet.svg,sha256=Bq_A2iKxVvB4hVOR5CAu3J0CS-H28G8Q5wlaNEXtYFQ,1864 +material/templates/.icons/simple/bitdefender.svg,sha256=mQQvi4StbubsoHsJ8yQq-qvGod1tNy5z3ivO6g0i4Uk,528 +material/templates/.icons/simple/bitly.svg,sha256=0xTcUyAhkZfwb4g5LOzJWAjxyUuryKent53QhJoTtlY,900 +material/templates/.icons/simple/bitrise.svg,sha256=FBXpOv6vqA-34nVIEnYQLMXA6xAhxK50ZVbBpGdGJ-A,1250 +material/templates/.icons/simple/bitwarden.svg,sha256=Ny7u_AZ-ZN9U06bTPTCdQFbeGLVfrXcH04ggTiexPTA,856 +material/templates/.icons/simple/bitwig.svg,sha256=0Kw0GJNR32DOx30SHqP139FnNzqbAWaKSygEYX7ocGc,908 +material/templates/.icons/simple/blackberry.svg,sha256=E0KiO8L1hvyvRLt2vy7o58HgIQf-KZA4zC86N5bGXd0,636 +material/templates/.icons/simple/blackmagicdesign.svg,sha256=Y_6ahsbc2Jak_Ew9CqHIIPT-jvMtQUu2gWX1BPFCaVQ,969 +material/templates/.icons/simple/blazemeter.svg,sha256=vtOz68jVU41oaqcBxF8qIPSG6sKxFxcmnnq9aJl6mIc,988 +material/templates/.icons/simple/blazor.svg,sha256=3CXkVG1XndT--9cPVTEpCPw14FSl9qyJI4EJk0OYUwQ,1101 +material/templates/.icons/simple/blender.svg,sha256=PxgAtlLFnvsrh7XRxSLIk7sMh7faV4uMqUSSfmjpivw,1261 +material/templates/.icons/simple/blockbench.svg,sha256=HcJJSxVv6WsycQMCozLvThtLOHJMyIXSDRr8IxEjmMk,1629 +material/templates/.icons/simple/blockchaindotcom.svg,sha256=UxsUfd8B9ksTZc4HeaZmKIzjPh6jkHaiGxKPIdrYEQc,327 +material/templates/.icons/simple/blogger.svg,sha256=gXfIoy8-B4THWvGh5h7YHQmrG2HzsRB6tJGA6tjkJ88,594 +material/templates/.icons/simple/bloglovin.svg,sha256=KuohBhZbwpH8cF8VbGzf5OAX3yABykNagechX-mO0DQ,613 +material/templates/.icons/simple/blueprint.svg,sha256=mZFv8fNczvC_4nejFqmtv34mOUDmpd99IaUrelPhoeg,835 +material/templates/.icons/simple/bluetooth.svg,sha256=vQ13T2v8kz_KLoZnsoa7rKLdkIma8QKyh8TOgARpXjk,379 +material/templates/.icons/simple/bmcsoftware.svg,sha256=1vWazYxXFyqBVL056Z_acmSzDrrqFeUwuXX2afB13vw,530 +material/templates/.icons/simple/bmw.svg,sha256=8C9FKJJBM0DPUvh2PJBDRgYJv9xHMYs3k6YdueO0Cyc,1568 +material/templates/.icons/simple/bnbchain.svg,sha256=EAgWceJjzkgvltDY46UbMS9p-50dTXxJxA9P5qYMZxo,776 +material/templates/.icons/simple/boardgamegeek.svg,sha256=twpBZU6LRmUOBP41yg-HlHlBP4VNBoVuO-XhNIKOM9E,179 +material/templates/.icons/simple/boehringeringelheim.svg,sha256=nCx_ANj3FycN2UlVV0NZ2pvpVhyUm-iWdx6euLBf8_o,742 +material/templates/.icons/simple/boeing.svg,sha256=XvMcXAhDZbcVbik2nnlQChMtbUlt35GVBkwXuM3b4jg,803 +material/templates/.icons/simple/bombardier.svg,sha256=0q3pOh6fyCDZOJ5SjQjosXEzJ9roNCoTDRYjp98zDLE,1982 +material/templates/.icons/simple/bookalope.svg,sha256=OOqGe8Z95G-4M9_wLODZYJOdknxY5REoKocH9xltsgc,1283 +material/templates/.icons/simple/bookbub.svg,sha256=iogLNwRHN0zSr6eZdDgFYz5X3qE2YMqF46Bj94k3LAA,710 +material/templates/.icons/simple/bookmeter.svg,sha256=ZguD-sR7AxI6j1pjQ5PyosOvFDTPYflQF8spNm3hx4U,177 +material/templates/.icons/simple/bookmyshow.svg,sha256=CQVM2xy23nqSFylE4f2PIGno0bVAjqy4P0vnL7_xV2U,1045 +material/templates/.icons/simple/bookstack.svg,sha256=Dl3QufqObJTORmifsgdXuq9BMgdcou0_DXcLteWLMd8,659 +material/templates/.icons/simple/boost.svg,sha256=5avXsmHgQyvujqBlqXV-X-UQws8LDypUdzLg2rHG-fE,1036 +material/templates/.icons/simple/boosty.svg,sha256=dUYVrPK3k52GdDXwIsSb1ewZFsJu4aJMsPRpgbRJDQk,323 +material/templates/.icons/simple/boots.svg,sha256=RjZR8cLfIg0-rZ8RSfG_AH8Va6ykqJBSrVX69_-GjTk,3489 +material/templates/.icons/simple/bootstrap.svg,sha256=Nh168aH-7YXd6B18gKvZ3ZrIZHPPPXtO4iju8o5SkQ0,819 +material/templates/.icons/simple/borgbackup.svg,sha256=V21kdquSX4oS9tX_6A_Xz0z7Giiz8dWuV0kAIBhcwBo,609 +material/templates/.icons/simple/bosch.svg,sha256=jm5nZlJk0Uk6LF1XDMFXQw9rOrvdwNtkSHzbmVZTp_g,534 +material/templates/.icons/simple/bose.svg,sha256=EFN3ysU9b4vMi4MYZB5BISLiZD07zOqcjRtIsa3WZAU,1347 +material/templates/.icons/simple/botblecms.svg,sha256=4yZMKat7HMWPNtT4wv7jcLUwW4SdHCW90wvJrwCNSgI,462 +material/templates/.icons/simple/boulanger.svg,sha256=HaXMlzAsbHR1CoWPbWdwxvjFp3cZbrAW9J9EATd5QoU,475 +material/templates/.icons/simple/bower.svg,sha256=ssb6Rt3mrszzZzsKT7RKoWruXO5AZooG_uZrjCmf1n0,2113 +material/templates/.icons/simple/box.svg,sha256=iA3Rpvdh_zTY120EMPlZ0QjHpPlLUJ4ks9A7l_v6qPk,1012 +material/templates/.icons/simple/boxysvg.svg,sha256=aWBRMzFwFnG7cosmFwRmw_IvFGGEGhuR_SJsFF6OWfo,2569 +material/templates/.icons/simple/brandfolder.svg,sha256=P3xHKzunA_88c1lIR-kHqWTTfXGZoC2dAdXOXR0TObg,1035 +material/templates/.icons/simple/brave.svg,sha256=3g8OLtHRgaN6NkmJ7TimTSWIkkfOunXWh6oHZITYWcw,2085 +material/templates/.icons/simple/breaker.svg,sha256=2o9jCLzQLjihoTvzeWW05US4kUdEBVnkhOW6-WPLeEU,1507 +material/templates/.icons/simple/brevo.svg,sha256=-MmncW1RfQLiOZdFXF7qecHu0JJjQlBuVTIhw63buW0,574 +material/templates/.icons/simple/bricks.svg,sha256=9ZnPNz8HYm3uoN0ckB6z-s4OeH215kwgE593SSkd540,588 +material/templates/.icons/simple/britishairways.svg,sha256=987yXThLilLB12DdweivZEtU6bLzKlLiTuCuhU_OHXE,957 +material/templates/.icons/simple/broadcom.svg,sha256=jPGxCN_2RIcCFGfMOqQ8E9FfMk6wdesTaBMAgSs0VvQ,1122 +material/templates/.icons/simple/bsd.svg,sha256=vPG31B3TQ0TBsI019FbCHJ4FYrfkrXLJ8tahjgwdX5o,1383 +material/templates/.icons/simple/bspwm.svg,sha256=9XCSas-LEfuAECXBWNiDBq_t7_iQUFMoXNfziZVc0JQ,7643 +material/templates/.icons/simple/bt.svg,sha256=Eo7RXT4aRIQ2dglydPgyhmQwSf1NxNDi6qXCqzMNL2w,663 +material/templates/.icons/simple/buddy.svg,sha256=Ro3Y7kN042ugzPggp30heRlBehoF-WX98n6NdCZTV4o,413 +material/templates/.icons/simple/budibase.svg,sha256=lY7gRUWXKAh6i3tzwYXo4qN8YS40REBY4h9EvU7micY,1193 +material/templates/.icons/simple/buefy.svg,sha256=-w3dZIol0MdlpN88beXnYhVos-gc9zOEquy3GT7d2rs,3401 +material/templates/.icons/simple/buffer.svg,sha256=zVprVnEIgwRlzmYUzxwbDIDOEaZLcaQsebELD-0R9BA,265 +material/templates/.icons/simple/bugatti.svg,sha256=XAYdp0J0McDdH0FiZj3qNrq8tve_QktchBvnJnQTtRQ,1017 +material/templates/.icons/simple/bugcrowd.svg,sha256=KuzZopJr6Y8cKfp8ikT4BkWpoENH1WVdtHhCpGi4BF0,1209 +material/templates/.icons/simple/bugsnag.svg,sha256=S1XmaX4TylQ9AMahmJMW-u5davwGo8IDx_uvYmv5kuU,776 +material/templates/.icons/simple/buildkite.svg,sha256=m4QgwPdbPvTqFZ2_hKKRyBaZ8kxuMd-Y5rHZ0y1HZ3Q,455 +material/templates/.icons/simple/bukalapak.svg,sha256=rOGQWIP330SE3zYLA8Ijn8z6JrOZMo2ZOFp5Q_M-b7U,626 +material/templates/.icons/simple/bulma.svg,sha256=DpUsN4Bh4NPyIBd102ZliDjZa1zRDkP2Wpbh16djozo,132 +material/templates/.icons/simple/bun.svg,sha256=0EychjbwI_kGjSBgrcSoxkQq2sVb-zYJXj1Oy8gI3N8,1678 +material/templates/.icons/simple/bunq.svg,sha256=atlLHYxx1k_xToyR0oPXNbhW6agE-jkmC9o4mcKToBY,922 +material/templates/.icons/simple/burgerking.svg,sha256=9OBRjDkDisSIywxgJSXiE938dgVgj06Ci-Kn7C1O9EA,4318 +material/templates/.icons/simple/burton.svg,sha256=V1uIfg02-PrN3tSH2A2TclqcRqUQlsCs3fTnz8Ptk20,1694 +material/templates/.icons/simple/buymeacoffee.svg,sha256=aoAeHUCweqiE_Af07eZH2Im7xhrUjzQPC8LNivWTxrI,2550 +material/templates/.icons/simple/buzzfeed.svg,sha256=jjNZg6AdSO23EcvsccuDmj8L3ygHod1X8FSWSUmrAxU,287 +material/templates/.icons/simple/bvg.svg,sha256=vy6JZhSXILXwC44cMOHcdjQZBr5FBzwdrXITXXzu8XM,1489 +material/templates/.icons/simple/byjus.svg,sha256=fTKX-Wv-F2sLhu9Aw4p2zJp65uWq2v-aTc8F8ew2Tfo,841 +material/templates/.icons/simple/bytedance.svg,sha256=VrK7S57x98xbzOgGRDWnT8RBBTk9KaxkBqul0o9MSw8,269 +material/templates/.icons/simple/c.svg,sha256=6evJpDNWrNQSGU2dyLXWqsG-fiwjcTJ_UfhUfh8v7cc,427 +material/templates/.icons/simple/cachet.svg,sha256=z8S9-DJfV4Cf-rf-WGVYY0qun2iZsGJzQ6JINyxljX8,521 +material/templates/.icons/simple/caddy.svg,sha256=c55OL6AHJmHW0aM4nsb12bKD4A-ESWlqV3Kr2SpnUL4,2421 +material/templates/.icons/simple/cadillac.svg,sha256=h9dYAPD6DJBNpuS_NJ4oVk8lWjTqJfTvfpsRUrmjHiE,1515 +material/templates/.icons/simple/cafepress.svg,sha256=57UGcgduKW4zxpJbT5b2wFkyl71tueT18X00RrMFJKI,3007 +material/templates/.icons/simple/caffeine.svg,sha256=q-yOxFAAfK7MmnCipP22KJnHMM9NRh0fiKozE_ILv9c,827 +material/templates/.icons/simple/cairographics.svg,sha256=WS4IdKnyX8xrUN7QskhkjdOdkamdKwVNToQSQIL9Pjo,5306 +material/templates/.icons/simple/cairometro.svg,sha256=1SCkGoCStRvd9Id2_f3r5zjY0VnK9C1FySmb5WVMPFg,716 +material/templates/.icons/simple/cakephp.svg,sha256=tYY2mRZC-8AoYx9MbxtmRye4y7lO89kawuiiLc2QFsM,418 +material/templates/.icons/simple/campaignmonitor.svg,sha256=d3DdKWakj9-j8URRpet4vG4SMlW5Xsgu5zDO2Wz1xTA,277 +material/templates/.icons/simple/canonical.svg,sha256=seWRUOQC_9GaKEqfoVxSLi5C3Cy1wVWprej1ncnwF00,969 +material/templates/.icons/simple/canva.svg,sha256=uFG6U-mRThJEG_VMzFVQDWBgI6EDI-akQf8K_rNJQTQ,2725 +material/templates/.icons/simple/canvas.svg,sha256=QjZAExWo6BnVQHfMbruCVKGNfu7VBMWiSsCivMAB87w,1501 +material/templates/.icons/simple/capacitor.svg,sha256=5_s03dPZF_vYes-pIiDmxCyk_1hmn_kaiqAsMQO3YS4,272 +material/templates/.icons/simple/cardano.svg,sha256=5MEIU-DY-sua3vwz5ty8nsMREhHumj0e_55IlUjiqnE,1760 +material/templates/.icons/simple/carrd.svg,sha256=k2HMy-qLzOgToXHdHkzcEBl2gaanrKojf1xOOIO31vc,1102 +material/templates/.icons/simple/carrefour.svg,sha256=G-W9PMxm5x8VJpwQKtevMC-5RxEl9o07Pi9Qti6MVDI,1033 +material/templates/.icons/simple/carthrottle.svg,sha256=0wBZYx2qB8gdLo8OJaT10Ig8axPvq42sK4JHuU8--ws,267 +material/templates/.icons/simple/carto.svg,sha256=VFh7UI202CbIpxdb3fDeHVFlojHt2WUzxXDYfeSWIKQ,858 +material/templates/.icons/simple/cashapp.svg,sha256=FccD_5l-WUMkL_ZDXjnUOLml2Wp_pbOCeFJAJhL9TZE,937 +material/templates/.icons/simple/castbox.svg,sha256=AeVvd_wmZPKfEhZD-skFC-Sq0_Z5MkhPc3Y0uaoHBZQ,1338 +material/templates/.icons/simple/castorama.svg,sha256=QEcJcigFGN0AKE6xG8yNWWMAjwAL3rDPyA_0-gmwj7I,444 +material/templates/.icons/simple/castro.svg,sha256=prdvp2bI2UP2EitgxC94SehKZ8v_H1P9a1Wj3bSePAg,379 +material/templates/.icons/simple/caterpillar.svg,sha256=ruHbG9xZH9o5WjsoUsQ6rticIQtDU8AbQb2_VFhi5Bo,534 +material/templates/.icons/simple/cbc.svg,sha256=G2keqU1L07Y7_hE9KPThZ_OCwSR_JgyaX2aiYhe_wCk,767 +material/templates/.icons/simple/cbs.svg,sha256=r5G7NHP2JDhUOanLz8lqNExSTol5hXWtaRWrEwlpOyc,455 +material/templates/.icons/simple/ccleaner.svg,sha256=xNg-g_7MJjcMvq6IlRUj7VbvvbgjW1_zo_VoCrGOcd0,1615 +material/templates/.icons/simple/cdprojekt.svg,sha256=1fHOiRB-rxvMOI6ePxuAVH2u3sVV_FuSXZd52HeV4sE,3209 +material/templates/.icons/simple/celery.svg,sha256=_NHppzjBxOv7OrIehpPyyCWGFrM_Q87CE9MhC6JBpmw,502 +material/templates/.icons/simple/celestron.svg,sha256=sWEFQjypeZkf---lDNUtq6Ryo4Hy9YrZ2g-6VCGARDY,463 +material/templates/.icons/simple/centos.svg,sha256=VAJXDR4zJyCdUySwdZT9Ym6zGaVUWiNKHwPFAIh3SbU,1210 +material/templates/.icons/simple/ceph.svg,sha256=KSE12Q0jPUB0Ddsr8OQsCyV75hP_6E7kxyKvnQhT-nE,1874 +material/templates/.icons/simple/cesium.svg,sha256=OpFEHRYVwBNJgXpS7P44nx1fl7TH4dQJoWS5sTNDoYA,841 +material/templates/.icons/simple/chai.svg,sha256=HeKBPwSfMGOCQV5tUdvoi3HMcv4WpfGF3ctvUS_VhC8,1531 +material/templates/.icons/simple/chainguard.svg,sha256=1GmF9486S_mwZM9XQwepnzO-jZAQgeB9RX2khEB_9XI,1382 +material/templates/.icons/simple/chainlink.svg,sha256=moo6vvotBP4DzoUPKQEOeJ2y7PYTO9Hy2Ip7VUsaq4k,254 +material/templates/.icons/simple/chakraui.svg,sha256=soqOhgLSxqhNxXaytYmnCO2CrDGQr95B6fqBQQN4bc8,393 +material/templates/.icons/simple/channel4.svg,sha256=OnraIMxFWyQHIg6L4mf3_tTHu6nG7Dc0cpAJjyHOOus,377 +material/templates/.icons/simple/charles.svg,sha256=a-3bUhNOYzLVcPdRFP86zBvfjvYSYxqZSVcSAXx9sho,7200 +material/templates/.icons/simple/chartdotjs.svg,sha256=1tQ4-jSfbklnz9ka7TZ8C0457ib_OX3kyndYiGnDaow,855 +material/templates/.icons/simple/chartmogul.svg,sha256=RpfoCBZY60ba30YTrbgxVJkX58n3_Qv5wrp0Vypn5ts,199 +material/templates/.icons/simple/chase.svg,sha256=jaX1msS2vfrYmzM-xQQRvr5HNUuRiU9aA8mkdEopO4Y,331 +material/templates/.icons/simple/chatbot.svg,sha256=OV-Cr3iLuP-6tvviC98FQdLhaJqW7iZkzlJFYkNsYEM,773 +material/templates/.icons/simple/chatwoot.svg,sha256=X5MOALrVJIUskYmImPTeIZ76CJ3qo_aMQX6-gjd0f6c,250 +material/templates/.icons/simple/checkio.svg,sha256=SQk-Juslv56k5RU3zEqLKb4zQZ3OGzgJ1daZMJAGKJs,530 +material/templates/.icons/simple/checkmarx.svg,sha256=nOxoT5kbP2S6ZQAoRcz4yCzHi9_HZWOpCXLsxe0UT34,635 +material/templates/.icons/simple/checkmk.svg,sha256=B68MNGVbPrTJiPIAyEI-YegBu297onCjLFyev_fdOZY,239 +material/templates/.icons/simple/chedraui.svg,sha256=njSd4B3BGY8yB0S6QRVXyCKhtPqCw6MXhDcNr-ztKmM,2141 +material/templates/.icons/simple/chef.svg,sha256=ele7brfXcOeMs9PdZp70M5puaY5Hfg0H1OzBh_kyScc,1220 +material/templates/.icons/simple/chemex.svg,sha256=VPp7zDfwmnRlwhzS8CNHTTPfvVtNxwq1mQvBf88LAaA,888 +material/templates/.icons/simple/chevrolet.svg,sha256=l_xA9aieBcI0psRUdOsVtLwStB-xV-xJHmq-0rr2nKo,462 +material/templates/.icons/simple/chianetwork.svg,sha256=8AVa2cMcy89Zmpw8eaGKvdqXeHy3CAkxy7gwFJEofBw,1522 +material/templates/.icons/simple/chinaeasternairlines.svg,sha256=q3TjacpE8uspRK2NVIWYayxU5Kf0J8ZXC1DrPP7znc0,670 +material/templates/.icons/simple/chinasouthernairlines.svg,sha256=qiRZiR-DLzOV8PhI6yyA6BMwXGQoo5D0oO9tBQZeoVs,2233 +material/templates/.icons/simple/chocolatey.svg,sha256=xcY2At3RMAAeP7J6P8X9d0XLQ33byfFL8lEEnau8Xh0,1021 +material/templates/.icons/simple/chromatic.svg,sha256=K_lzG6XwwiHMb3VUHoUkitkxaUXRByfQKNODeBtCy1Q,1044 +material/templates/.icons/simple/chromecast.svg,sha256=a8ORE2f5_Pnp034mgs2KuDdaLXS603gbpO42dPEA_ic,435 +material/templates/.icons/simple/chrysler.svg,sha256=fcsNI9t8oEFuVlSO8AjbI5TQifOfMDlei_sE_J_UYP4,4969 +material/templates/.icons/simple/chupachups.svg,sha256=aun1N2zFs1Y_hUhpx3elPpDHJUhrDGk18WAC5UKmbDM,6888 +material/templates/.icons/simple/cilium.svg,sha256=KOigLthrp49_aK3PyfnUZJm_2OiIVi0Gs1kwTTxNUnI,1062 +material/templates/.icons/simple/cinema4d.svg,sha256=O6XQjQXwqVoa3ghnfELgAf0y-Eng-J6Lu2MO2_Uqfx0,963 +material/templates/.icons/simple/circle.svg,sha256=dc-gJWoSgUt0xEJhECxPoD9tlqwQynoVcDKglh9llgU,1757 +material/templates/.icons/simple/circleci.svg,sha256=lrBIJR3bu-SZ9IFwTNodPJ5SAQOlqc7wodcU3U_0f10,584 +material/templates/.icons/simple/circuitverse.svg,sha256=XU_HCPPcwTD3Be-snzEaGGQ8UPatyD2l3BqxQeCUNY4,4774 +material/templates/.icons/simple/cirrusci.svg,sha256=SPnJ8CqAZIr1Tg6tfRZ3ytqNcjdbjLHN35tOJdEu2P0,725 +material/templates/.icons/simple/cisco.svg,sha256=iDqMBpGoEl39pC87b9EvDOGOb09kC4igW5MZdHRyFuQ,2615 +material/templates/.icons/simple/citrix.svg,sha256=DH7gATwTlCOWDecDkBjhuU3ApkAWxtj-6mPsGk241K4,622 +material/templates/.icons/simple/citroen.svg,sha256=GOUkibicU9Z69sJJPc30TUu-NBE2E-9h_oPfyMNWjWM,567 +material/templates/.icons/simple/civicrm.svg,sha256=8h1eb-kCwzvgAqz2QwHoVdqJPhLQL5VhxBX5Swo-wRk,1213 +material/templates/.icons/simple/civo.svg,sha256=0MvHz6vJTSRhiZk6J8Lj1BMOs5p5UThzd52S6xxOqIU,1135 +material/templates/.icons/simple/ckeditor4.svg,sha256=XEHApTR1YUivC-2s2J3I2fB15D5-rf07skPNrrTFhHQ,893 +material/templates/.icons/simple/clarifai.svg,sha256=z_VtWiHcu8Ktqcx3QJLdgF0gcuvX0bmHvRkO-SNZGsU,938 +material/templates/.icons/simple/claris.svg,sha256=S1UfczaoGdrwT_6Js_qZM2rALiStDzLFmpVGQkSnQFY,610 +material/templates/.icons/simple/clarivate.svg,sha256=X8uJgbaAfQuHlspTq5q4XYtm3tVJ1fYMxoKb28JbxWI,1219 +material/templates/.icons/simple/clerk.svg,sha256=Q6xvdKodw-5HNS3iCpcx3kxs6Mbpty63DcnOJH1gazY,664 +material/templates/.icons/simple/clevercloud.svg,sha256=gRmrbAOoA7yAzOQDw-57dP0aQ-uD9tTMKK2KSCgcJIA,315 +material/templates/.icons/simple/clickhouse.svg,sha256=VzLaxhbBSSFmEkrJC6CbEto7h0eFsu4IosXHbs1LRZo,210 +material/templates/.icons/simple/clickup.svg,sha256=tJRSo3W8DsFn7-Kfhc2VltP4MGuHAhBWBtnCP1iCtlA,307 +material/templates/.icons/simple/clion.svg,sha256=TLu-kqqEml_B-yRiPNxLoQ6vbe1g3dnfAfMfJfQj48Y,414 +material/templates/.icons/simple/cliqz.svg,sha256=NeQ6gJ1GEDkpp88JpZuwBDUbT-0hUFmrJsuVQnuWQcM,440 +material/templates/.icons/simple/clockify.svg,sha256=VYxSnUlvG4_SDvfd-5qAP4LLv1i3PuS7Os6kI1nnwPI,561 +material/templates/.icons/simple/clojure.svg,sha256=sAFyOroIsxIcxDeWIdSxx82E9ZzYPzh21BNyixcTyHc,1387 +material/templates/.icons/simple/cloud66.svg,sha256=XgkTQXkH7oc5RluKbkzxpzkqZ4KbJ-jvGAmWO82hasc,2184 +material/templates/.icons/simple/cloudbees.svg,sha256=IO8yu5tukc1o2aqq5pG8JGFOzqczBEkDCjW3snWaZRA,701 +material/templates/.icons/simple/cloudcannon.svg,sha256=0EhZkIUFsR6D8TPnLuKMnxkYE00s2nRG1cwS0rGS9WA,1080 +material/templates/.icons/simple/cloudera.svg,sha256=yvcYDj9ai-xMK06uW1Ig7kYYNScMtVhIPAzC8_LzMaw,329 +material/templates/.icons/simple/cloudflare.svg,sha256=tj40o1yMiWfZsOHq7TpmMBr5-rCTfL93QSUjI4eqUbw,882 +material/templates/.icons/simple/cloudflarepages.svg,sha256=GWX1LHUjcuTuzX7KqNZFi97NZlfTeOHwq_wAwmnPCHc,675 +material/templates/.icons/simple/cloudfoundry.svg,sha256=uy_tuKFtgaYEWtphxVzwrvzioFb6JMUKzY7chmrTjaM,1730 +material/templates/.icons/simple/cloudinary.svg,sha256=TD2orzBGhKnfRtfHLjJ39H1jQenHVmkayN2DYse3Ymc,1349 +material/templates/.icons/simple/cloudsmith.svg,sha256=ljFJqLZz7txaizFVMRByID1f047SjYYiom5Jr4b7UJA,216 +material/templates/.icons/simple/cloudways.svg,sha256=z1FrpYaezLm6yKVaVdMUf8f2vSQAf1zs4S638wvRdZc,1337 +material/templates/.icons/simple/clubhouse.svg,sha256=0_RxGh6BrZ1vrRROzh1kQEWCaSSNuO3KyhSsy1grvu0,2463 +material/templates/.icons/simple/clyp.svg,sha256=uRnJrox3tpUwKcMG9NcnX494wdYYhkQ2_d4upDQh-Xc,618 +material/templates/.icons/simple/cmake.svg,sha256=K0FWyRm1IsSJhl93RqaP-dT_77bwsQZzZXM0K51a5es,224 +material/templates/.icons/simple/cncf.svg,sha256=Gb2u-0SyIX38QwvCPDZ72viuWwO-B6TSo6Lqa2Uirys,350 +material/templates/.icons/simple/cnn.svg,sha256=yEQNKEqo0-epDuEVAHN1l2fRgJOs4LBIAZIPDCjuToE,1248 +material/templates/.icons/simple/cocacola.svg,sha256=8aMvRHJ7iMw-ipNU46aghOIFYhqi-ihPmE_oeqEBQDU,4925 +material/templates/.icons/simple/cockpit.svg,sha256=TPr8WJkNoY1KBlNj80cq2mBXDMEAZ7OhAX2-uEfnEeM,591 +material/templates/.icons/simple/cockroachlabs.svg,sha256=7ho4Pwns5YJCqYqyDz5qvpp8-QGA1qD82bVkkCvZKjQ,856 +material/templates/.icons/simple/cocoapods.svg,sha256=JhNy6kZXKnTu793VYq4l4m1CRmcwYPnbG67wVTXgWdI,423 +material/templates/.icons/simple/cocos.svg,sha256=wMIibW-CTedveq4w4RM8o5k14BErq9z8pcFQtIavwRk,5885 +material/templates/.icons/simple/coda.svg,sha256=lgxiunNHtHyaovAyDnZiO6dEa1NY6WS2yAYnAYVSY68,536 +material/templates/.icons/simple/codacy.svg,sha256=85zVd8ZEjfIxU1Cy8BB4dXObrx5CcUg4CYgNl7kQEF4,932 +material/templates/.icons/simple/codeberg.svg,sha256=XMWVbI12ZIMYwibwxwzaYudv_UDjFaLf4mmOC27yn54,288 +material/templates/.icons/simple/codeblocks.svg,sha256=X4P6WoJDK9AmroIdnWUkzIb96jXGbb9qaYQbVIk8OJ8,514 +material/templates/.icons/simple/codecademy.svg,sha256=tqA0LVEjNd4ps98ZlKILK5uDAS77mQ7XHNwknCTXwXY,1057 +material/templates/.icons/simple/codeceptjs.svg,sha256=CGoEyoUze8J-AdF10nre9d8ZFvCKG9QWcefs7lbTvMU,1973 +material/templates/.icons/simple/codechef.svg,sha256=UzSsxOtPm5XBA8MBqfjy942edxaEgp9uwQeFSpvcJ10,5783 +material/templates/.icons/simple/codeclimate.svg,sha256=GUfiv_erl2oKsS49dPLnQWe1zHZC4_KBBNRbyrIov_c,218 +material/templates/.icons/simple/codecov.svg,sha256=DMLsdFVTBlh4bRfzzzvpXWWJtLOLI4PSnLlq3xFnS-g,1364 +material/templates/.icons/simple/codefactor.svg,sha256=trgHszuW5yiqd2rUyVSp4IWh7YAAdLwhSPKccWeyGl8,650 +material/templates/.icons/simple/codeforces.svg,sha256=O24OZx-Vk_t7nmbUPEdx9Q7MhniPc0ehCOhW6I2cvnI,400 +material/templates/.icons/simple/codeigniter.svg,sha256=G9efLUbI1uuYs4_U5-xBPa1r3q48gZE-pDX7yzfCpMA,789 +material/templates/.icons/simple/codeium.svg,sha256=3ZnoKJIUMCLbMxuzCEzz2dNj1kJ3vrz6UoIO7DuU4bs,1879 +material/templates/.icons/simple/codemagic.svg,sha256=zGfnRAv3_wxdx2Ot4QYAZG45pcKofAJUzlVz-OphRcA,948 +material/templates/.icons/simple/codementor.svg,sha256=xVLptLcez3XL_nvNXjrmykRyPaofEh3hZn9XfKCA1yk,1098 +material/templates/.icons/simple/codemirror.svg,sha256=eDNiS8MHqrgXMY6D_bRkZDUV1pjslsJJw9oJ2YkkWOw,5710 +material/templates/.icons/simple/codenewbie.svg,sha256=0hcY5s9AsQ07cPsDUQ1ylLVgQoNYpS09nIE23dUdTdE,1991 +material/templates/.icons/simple/codepen.svg,sha256=iI59gsFVpPO-49THnOGspTEhjdvhjDAl7z5PRx6ODuc,1254 +material/templates/.icons/simple/codeproject.svg,sha256=TADT5I65gx1T3Y9SGoZTTI_K_l6fFAQc5N-ZpE3KEiI,3099 +material/templates/.icons/simple/codersrank.svg,sha256=zWSrl67y0yMEt-eBd8sH84E_0U8EsjmCzMzlSySOSME,696 +material/templates/.icons/simple/coderwall.svg,sha256=o9ojHup5Rb3uY74BtDip6NV-aSeOkATpReg2AiULzec,612 +material/templates/.icons/simple/codesandbox.svg,sha256=JsYoXgG92MHZrWaXSlmWiLulhmceeo3yzQYV9yxcRoc,120 +material/templates/.icons/simple/codeship.svg,sha256=YiXbD2wMBcb9dVCw42MwNMZIFQqyPn_Ve_OO6ydfIfE,874 +material/templates/.icons/simple/codesignal.svg,sha256=mMa7-vkhGOggBPBimIvQR_xK5fmyLxX1oOSzdMWgG6I,382 +material/templates/.icons/simple/codestream.svg,sha256=qTXlg5-2DpDCsNZuS3JWJPXDmsMMVpG71-Oi2zr5Mrc,477 +material/templates/.icons/simple/codewars.svg,sha256=GTfX0NKWQdFjkNvFKlcG6kbDWapYEKoqxGGZ8Qol24c,7304 +material/templates/.icons/simple/codingame.svg,sha256=O0fs3LpUP9ASsYnuBSFPc35oyFM2TZgaNeCgh0qoLHY,2539 +material/templates/.icons/simple/codingninjas.svg,sha256=aCk7P-ef4nOGomv-glJ5S4iHwsT16TsVZgjlS1eDirU,1069 +material/templates/.icons/simple/codio.svg,sha256=aiglFgkg1G_UaEjvGih5wp9csfSMR2SzACaqoShPzro,202 +material/templates/.icons/simple/coffeescript.svg,sha256=gHz01azxgwJ5cyUWR4yltaRUxAI63n3qH6XSmoH1rUE,1428 +material/templates/.icons/simple/coggle.svg,sha256=A48WqBDPVJVAjdjbjwXd83WsngTh9BlBZZyz_lOPF7I,348 +material/templates/.icons/simple/cognizant.svg,sha256=fXi-h4skC9LluCbZhwOOKiUClxIcbL_WBXBV6bG4I9A,1734 +material/templates/.icons/simple/coil.svg,sha256=XOEErtLlz-zgxWM2CO0byXRs9HzqRaM-qI2IlGcYqLc,853 +material/templates/.icons/simple/coinbase.svg,sha256=3-UlmILdsOoQf9iXVIUZxstFEe0SGLn9RxgKi4LI-_8,2094 +material/templates/.icons/simple/coinmarketcap.svg,sha256=s92ABkdwx-_txM5P8mEV6aLr5AfOS8HCR4o82BozOJM,914 +material/templates/.icons/simple/comicfury.svg,sha256=Fu1xK3FkiRJVr9Q3esqfvOFE2JSR-pP9NeENvumcacY,501 +material/templates/.icons/simple/commerzbank.svg,sha256=DLgnerxfYxzbL4aBQoBLJphtb2ZW0rxg1qx4KH7ip10,945 +material/templates/.icons/simple/commitlint.svg,sha256=nRNcue_Tn-5v4_JPCKZrid-h5xMA98IDqzza9ly_2P0,776 +material/templates/.icons/simple/commodore.svg,sha256=HW8IvNvwMrpOFDBfPodCsAsqW1lz_J1AVhoJ1rX1jG0,305 +material/templates/.icons/simple/commonworkflowlanguage.svg,sha256=R4IOlNyLCwCCoZOtGzXD0wzcrFWzhGagjIcB4OdvEoo,321 +material/templates/.icons/simple/compilerexplorer.svg,sha256=k3C3gHqAW72zbdXDVOD3rIBAM2oDxh_mp-MBQTiaaRw,1581 +material/templates/.icons/simple/composer.svg,sha256=DeLbH6a0UmLtMHbUCcfLiPYJH45JZfWfJKa6ajZxQEk,40147 +material/templates/.icons/simple/comptia.svg,sha256=BkJTWImcC_XHZMw73JKkINldPI01WWxCSD492TWBJYw,1607 +material/templates/.icons/simple/comsol.svg,sha256=3OmRPQ9dtzxphR5tt8sFnnYLE6LiLVQn48WqpUcVY9I,1919 +material/templates/.icons/simple/conan.svg,sha256=zu_KoDAyAX9HQr8kqklUdi1KjimYGkHTf1M88ez9_JU,624 +material/templates/.icons/simple/concourse.svg,sha256=k67SUtc9z0wbl29Jp5Wr4pzTdgSsQGGtGeEWXVEvPEA,5571 +material/templates/.icons/simple/condaforge.svg,sha256=TQqktWOwFYIwAW4sIE_7OmenasjLmddZSfOmGxhiJbU,1149 +material/templates/.icons/simple/conekta.svg,sha256=D-g2pWoPItLLmjdAa3Ve0iLDcZzPcArRhC-D4oM9Uog,698 +material/templates/.icons/simple/confluence.svg,sha256=PpKGUOoALliwpEKZLXhD1Es6HvBvP35dreHW-3iOLpU,695 +material/templates/.icons/simple/construct3.svg,sha256=7weZryqfcH3m-POi0fO7S-LA62cpgfrkod25mnDneFA,1040 +material/templates/.icons/simple/consul.svg,sha256=SpP6-PYA05ZmfnqoO9L3NBN1vioIU_j8wBTSDXHY2O0,1511 +material/templates/.icons/simple/contactlesspayment.svg,sha256=nBx9_XtsQ2agq39h_hEwAWT82E8z1xV1fNHFxfjd5yM,3790 +material/templates/.icons/simple/containerd.svg,sha256=AMISQ1bFDTd2P50Lh-UW28qHl7qgM2Yb1Y5-r-H2EnI,181 +material/templates/.icons/simple/contao.svg,sha256=SKfWY3nVeJWyxn_CrTNxS0JWtq3e2R3VOLhMCTVh83Q,638 +material/templates/.icons/simple/contentful.svg,sha256=tsIfJNn0vgAoDcCzRwgKVzY3decN65b-K-XqSxBMNL4,1879 +material/templates/.icons/simple/contentstack.svg,sha256=9Zn4iKiG__asZxXwEh6QjzLQFKljxtN2CAGXvz6vuY0,1573 +material/templates/.icons/simple/conventionalcommits.svg,sha256=MpJjCAFEkAl3paO6VSTTYCQ_dI6kP8hgvw7UJUeyHKM,240 +material/templates/.icons/simple/convertio.svg,sha256=pkbgDrdqa3qILgTWSUP-1RWQ82lGT55mbEmI68G8Mpc,589 +material/templates/.icons/simple/cookiecutter.svg,sha256=aVdge4OnFtVZA-7Cu2-epvKATaALwr0LGldo-uF6-40,797 +material/templates/.icons/simple/coop.svg,sha256=e1GzGojAcAXTqZIBH1kAoiQReQ_vbDeK52gCk5c9-74,2180 +material/templates/.icons/simple/coppel.svg,sha256=9A6YZ27nn8UPpx8ml4cLLR5bxkbUDQ9AG6SHaVQfuv8,870 +material/templates/.icons/simple/cora.svg,sha256=95OnigWW7i9eoxcB-qYrgqxEcVL7J1r5XLWAAazDsek,2780 +material/templates/.icons/simple/coronaengine.svg,sha256=DRJ_loAK2K0IAGF93q3e3bAKHVjqwvLiqnJZ3pcptgI,1474 +material/templates/.icons/simple/coronarenderer.svg,sha256=MbuP-okO-kQUEbZo80AN4RJJB7oL49lX7lVcK8Fdh6U,1045 +material/templates/.icons/simple/corsair.svg,sha256=nQtUVeAmoPoM7YTFeg-ru18A30rR5R-9MlUDyxkYWuQ,718 +material/templates/.icons/simple/couchbase.svg,sha256=4aBVGV-UIONi1vL4Bu1vGfyb3IGhcquv545-K_71F8g,552 +material/templates/.icons/simple/counterstrike.svg,sha256=-kdc-HPD6dGGti-LuAx4KT85XeIkMXUuZviCaxWLdx8,2506 +material/templates/.icons/simple/countingworkspro.svg,sha256=mXwHVTx9ZvoqMOcIwzUBlE1AWZzEb0pgp5UlMhv3Wn0,1309 +material/templates/.icons/simple/coursera.svg,sha256=_UORzfsEXQXLihLh7yW6CoNrBHY-H0loJXyvTkZMNsM,642 +material/templates/.icons/simple/coveralls.svg,sha256=-sSF_oiOKmFjBEQA8sFeUGdzMNKX51SANknBp6PuRmU,638 +material/templates/.icons/simple/cpanel.svg,sha256=GcFfCKTtXuTUa3dIA6cQAlDOxXdpNbOq1naYRevSLY8,3098 +material/templates/.icons/simple/cplusplus.svg,sha256=VARQRzrdY89fngmG1EEi9LlaWvtWHfAGH96CNdD5isE,746 +material/templates/.icons/simple/cplusplusbuilder.svg,sha256=q3BrTz6vDapo9XEkOlhD1Sg_5szpMYJSY-i4JxbnWY0,2283 +material/templates/.icons/simple/craftcms.svg,sha256=02uY14_RoydQFcMzyQiUzzWPfmIsJVfD2mMGTJudymM,509 +material/templates/.icons/simple/craftsman.svg,sha256=RUk73exkw3ExoQnT47UHNk-Iiz4c7pziuM0gx4VSRVY,828 +material/templates/.icons/simple/cratedb.svg,sha256=dIMEr-CHGg3v01cu-5t8s0seiQxbYATZ6pdJWCG_bYc,112 +material/templates/.icons/simple/crayon.svg,sha256=cMPolKf-kNINGyOfscw0D68uf4RQwBca_i_kwIRTHW0,766 +material/templates/.icons/simple/creality.svg,sha256=Bi2647cs7NNuQ4uKeJ3KIfZk9cylb9CYX13ElRAR2AM,2053 +material/templates/.icons/simple/createreactapp.svg,sha256=rPFEq7473Sef0lhZx7hFrXXcL8YWStSwSIvoTSf8xAM,9529 +material/templates/.icons/simple/creativecommons.svg,sha256=jETPTn9BotWl-BsjqDreQUX1k_FfQelJ620g1C_EVyg,1146 +material/templates/.icons/simple/creativetechnology.svg,sha256=xTVbDTlGvM5awtFgV8Os9jL1ROIeenhpG38ESxFbMl8,1105 +material/templates/.icons/simple/credly.svg,sha256=BZBq_YmSXKO6ADqzOdaqO7xkQdKYHoMQQL7X07aMnf4,6040 +material/templates/.icons/simple/crehana.svg,sha256=JRabwR0SD3EBFgBA-H07dXO7EImTY-O6MyB3fEGMaWA,281 +material/templates/.icons/simple/crewunited.svg,sha256=nPRR83ux5oCR8nDS7d59oEpnwK8CrpuozfKWSDbvHto,1064 +material/templates/.icons/simple/criticalrole.svg,sha256=YoZq7UGZArveRt7PdZtZN3_ox_SJibltsjYmqXYXu9k,6285 +material/templates/.icons/simple/crowdin.svg,sha256=qa6rSPIkKuMybdvKVFf6rkCGiLY9n953nc7NQyiBa-Y,1626 +material/templates/.icons/simple/crowdsource.svg,sha256=NbehRJ7PGFOC6cExNFWu9HowlmLl0yDnmYhhuF0P16Y,1011 +material/templates/.icons/simple/crunchbase.svg,sha256=e_K-0PDiclD--1Its43amhn4vggPk0hc_aRBKtRCL3c,501 +material/templates/.icons/simple/crunchyroll.svg,sha256=t9FwoLvJKS_HuxDKYEW832aB01xDmBwLsRRvFRozGPY,345 +material/templates/.icons/simple/cryengine.svg,sha256=Y5pvsgQ2YBGktNzMijxlC9sHsTXIEtcCdKs1mSLvwNc,2188 +material/templates/.icons/simple/crystal.svg,sha256=gGOcB6HuAiYpkKyKyKuoPjNNuid4KxCvspb3UwEGUnE,453 +material/templates/.icons/simple/csharp.svg,sha256=hk8XV8BuHAkuII0an8cRJC4Re3Q4k3nnGHyZRciUw5E,1081 +material/templates/.icons/simple/css3.svg,sha256=BT_AO6ZhWEEWvXpFV-bRwdLAAV2OO16-RhEpqAFDQYA,298 +material/templates/.icons/simple/cssmodules.svg,sha256=FIo6d3cMPPwD9F-xGzL3LqAFWgJkSS6lLQ9JX-NQg1k,3860 +material/templates/.icons/simple/csswizardry.svg,sha256=ypl1kIphPFmL2CmvUeDmtgTIBAU5_wDCmZ5WFJcQX1A,1704 +material/templates/.icons/simple/cts.svg,sha256=OwrgtPjq63cIb0pVmrdQpLzB_MUfWk_qY3P4hMy1SGU,1486 +material/templates/.icons/simple/cucumber.svg,sha256=WoEC9QRm4SCF_1H5pMk_UDzyXZoJ05K8uSNinK3BOd8,1603 +material/templates/.icons/simple/cultura.svg,sha256=uB0JEdVTUpY1VjWpwvPDWaR9rvNqwan-GNodL9NhCIM,2583 +material/templates/.icons/simple/curl.svg,sha256=jHHLL5hoLrsMTWj8Qf7XFhUGFEvAYUCe_dprsA7KkqQ,1296 +material/templates/.icons/simple/curseforge.svg,sha256=VeZmIlRr9ebQqbXF4ZYWzwVfZGirQD-blxlAKQsOC6I,326 +material/templates/.icons/simple/customink.svg,sha256=CyaN6e7KTRHbPTfIQja7l4kTZZg8KR9uaZA5FD-I-KI,4451 +material/templates/.icons/simple/cyberdefenders.svg,sha256=d5U9C6bkzxNe3BZ8xfCN8w3ls60MeK-dolmlvE8CWpI,841 +material/templates/.icons/simple/cycling74.svg,sha256=oSt0GzhmZNfPY1N5jKhGKD4gftK4kbgyEg1g5ooaR8I,1556 +material/templates/.icons/simple/cypress.svg,sha256=_9Fu7RI7bFqdyZhTD6eDmBl-jxamCiZFW_CluMcwfDc,1192 +material/templates/.icons/simple/cytoscapedotjs.svg,sha256=H7FAXSqDwOlMgZHRhEtq9PnAD-D8ofxnG0ShGomwIsc,740 +material/templates/.icons/simple/d.svg,sha256=QrXIrJ_UxViPeC9cfG0HSj3Szuc_mZnppW1e2YelVZk,919 +material/templates/.icons/simple/d3dotjs.svg,sha256=BMTwLeH5DnAnUB2_oJz_4rMuU8Mrw3O57ib3QX4olxA,456 +material/templates/.icons/simple/dacia.svg,sha256=vcH73vN8elhZ69pMulqlwjSm2c007LaQ3aqaTLaUbTQ,288 +material/templates/.icons/simple/daf.svg,sha256=v0VnfL7fYRFlJLIdnmlcXC7f9JKCxZHD_uxDCjg0R28,408 +material/templates/.icons/simple/dailydotdev.svg,sha256=Hor3Vz1Jt4Qq7D_z9h9xSR8Slw6K0nkj3HT2KjO8EBQ,458 +material/templates/.icons/simple/dailymotion.svg,sha256=FR2S_QqjNkp4L9qvz1g-NPw7oMtVPWYcDH9-yOgX3cE,490 +material/templates/.icons/simple/daimler.svg,sha256=dp68FIzEje-IFvTnJO1dSng35f6nzS3oQh46-f4OxKU,2692 +material/templates/.icons/simple/daisyui.svg,sha256=ga1p1oxpttN6D3ny49u2h772_gf32fbSih9NrluUAgM,2113 +material/templates/.icons/simple/dapr.svg,sha256=Pd9_qxMhP7KKDhutib8_X5-WmZLq9XEcZqX-Itcfj5o,1985 +material/templates/.icons/simple/darkreader.svg,sha256=z5BDl11oV8SSNtHvARHbTiR4zuGr4PvSzEWJ6BC7790,1727 +material/templates/.icons/simple/dart.svg,sha256=78Re74iNUjrBiidKMOZ5UnxMTARHCk_F8SlMSQntd3k,476 +material/templates/.icons/simple/darty.svg,sha256=9PkwU97vsunWm3cw8jCsCHlROQlygKRmZlZBOklEZzs,1123 +material/templates/.icons/simple/daserste.svg,sha256=kd5Gm1V8FRn1_nF7T7KEEZeKlWORXBF1DCus3ZdtkW0,266 +material/templates/.icons/simple/dash.svg,sha256=5lIW7twKB6a_1r_qjHMGhU53dy31XxFuk6bh24EeKGE,475 +material/templates/.icons/simple/dashlane.svg,sha256=Dd-RUGGTRyOvMs3EpGmRwubS5mlOe0Eos3lrPHbi3sU,922 +material/templates/.icons/simple/dask.svg,sha256=izzHJi5A7MWApfQEJAgDkyQbdKDra7WUXqxvARb4I8Y,880 +material/templates/.icons/simple/dassaultsystemes.svg,sha256=X8zmZRbHgo1Hkkmo7B9z1xMc-P4amAzGeJBItgxUyDM,1189 +material/templates/.icons/simple/databricks.svg,sha256=_zO0G7Pl6CrGDaCo7g_NGxNXzzNd5CziiM9l-CZ7GOs,386 +material/templates/.icons/simple/datacamp.svg,sha256=zGfzMhX1MDZr7oJuwQ6sqJTC9DfPqrACmaVhOu29kqg,387 +material/templates/.icons/simple/datadog.svg,sha256=9bivv8TLar9nM8X1LX3Z2dsLRS1YRnk8Z0IZnI-Kstw,2963 +material/templates/.icons/simple/datadotai.svg,sha256=I-BYhd6pAhIjElcibCYHs3g4YLhdqFP0s-SXXfsv7sA,386 +material/templates/.icons/simple/datagrip.svg,sha256=xDepjJSBpjMdUxW25Fg755Gr2g-9vqcbAIJTv6O6WbE,617 +material/templates/.icons/simple/dataiku.svg,sha256=YO48WCqeYPxUMHa3zYAxEEqpJvOY_PdMGNNaL1NdJEE,420 +material/templates/.icons/simple/datastax.svg,sha256=dFV2EmvRL2rkM4LsoGjtA-s8F_2NbaDrFsXXRt4K6FI,2799 +material/templates/.icons/simple/dataverse.svg,sha256=_cWLOIKyZ3RbZs4LFcvwVKg1IdWUVMnmvf2LA6aN4-4,993 +material/templates/.icons/simple/datefns.svg,sha256=guj0p997bca__T1239Lido-9SeQpYI7Le8g-dE79HmU,602 +material/templates/.icons/simple/datocms.svg,sha256=KECFxXlu6TLUX3Eul0QP4yEPNp0EalFny7DrQiQ42cc,223 +material/templates/.icons/simple/datto.svg,sha256=Rfddz3m4paZWD9l5Qc1QilPrBk-dS5NmB49fH1YPYi8,1568 +material/templates/.icons/simple/dazn.svg,sha256=lwL0NUHM6ugucMcZ1OeZO2h0ZF1hEEK3SIDhaXVwq04,2310 +material/templates/.icons/simple/dbeaver.svg,sha256=TgLqh2VzIl9QnhtzEyEumbKxFOSL7QnmR-wSHb-VVPo,1964 +material/templates/.icons/simple/dblp.svg,sha256=i1flFPnSovZqbAopND_Z6ONS5A788J9Bxa3zX-cpIqE,518 +material/templates/.icons/simple/dbt.svg,sha256=eMmYRHNgA9hWBiiJyWlCPt1ZjR558ULu7Z98zqyua9w,983 +material/templates/.icons/simple/dcentertainment.svg,sha256=vi4KaTxW7TL0_-w7QVPvtr13Sf2VUqV8dhw_aHtZLuE,1319 +material/templates/.icons/simple/debian.svg,sha256=1O55st_lw_k-IRJmLS7djYQVOipCOTHDBp-9vHGYFMk,2780 +material/templates/.icons/simple/decapcms.svg,sha256=cds_M5L42-Lz9RGH53loTrAcpqwPHeGAeJJdXwlnqco,334 +material/templates/.icons/simple/dedge.svg,sha256=hXUD0Dk-p2nAEahZqz1CwhUrZdhENsjYJ1aiUs6MtGQ,356 +material/templates/.icons/simple/deepin.svg,sha256=O9zWuaN-cDmC_sn4P_m6G8a-vIfERmMtR8WrvmPitXk,1339 +material/templates/.icons/simple/deepl.svg,sha256=S4PtTMb3q8zQ8ZNHAJSmR9TXybA0Dz-D9_PiWHBLXQs,2466 +material/templates/.icons/simple/deepnote.svg,sha256=lDPZDpOCZe6tVDvEMPHii8nmwp-xeF9MCzC1e646hdo,518 +material/templates/.icons/simple/delicious.svg,sha256=KL112M4V9KU6UVgsi2CF3X-dUySOmfObgmXMdsDv7Lw,113 +material/templates/.icons/simple/deliveroo.svg,sha256=ujp7ww4T9w0yvm_b3vcgSconHyI1QxPIW-KP1Et798A,560 +material/templates/.icons/simple/dell.svg,sha256=RVCisRNXnj1-YgEHKgoAIIIc1TQu2FVbOnthK9rl3BA,1420 +material/templates/.icons/simple/delonghi.svg,sha256=YZ5efHOV8ERtXh4x0pdNnoFKjU0kADHmC4aG3SoDQkk,4325 +material/templates/.icons/simple/delphi.svg,sha256=msq3G3dA8vJJbsbLQQpqW83rTNF2hqmCT7pR207hOgk,8679 +material/templates/.icons/simple/delta.svg,sha256=agrKdDnrG8rx9d-Nz4S3YQ77ae42XgaQgcX6E_JbQXE,949 +material/templates/.icons/simple/deluge.svg,sha256=nw8qw0QTMvxEdwX1NjQJ5kU_nwvZJGf-dyTcVGJoWW4,631 +material/templates/.icons/simple/deno.svg,sha256=tCPyXE9VhWhVeNyXqW-x1yi1EbLPFOzUVeg-Pt3sonI,2573 +material/templates/.icons/simple/denon.svg,sha256=JQKUKSzMLxp20YoljMAZgcKJAKvFgWeVfMIKRg_gQ4c,797 +material/templates/.icons/simple/dependabot.svg,sha256=gRxgoJYNW_ewClQSoDEXrACs6fre5k3E163Gi6xclYw,962 +material/templates/.icons/simple/dependencycheck.svg,sha256=vB8cugLFy-3z2_JIzzTFBkbtI15z-3EghevM5SrQJUs,3147 +material/templates/.icons/simple/depositphotos.svg,sha256=1UGUshATz2CflEHEaFASCrGHb8yqHE9rKb8aaM3JHUY,356 +material/templates/.icons/simple/derspiegel.svg,sha256=mLKssoo9ToTDF2JjODsPAVykuwwEcAeDTTptbG6FhbE,1464 +material/templates/.icons/simple/designernews.svg,sha256=GAfeiuqM-IjTwh54tgpXx72dsSXi1nc3uUMMaoNTv7A,337 +material/templates/.icons/simple/deutschebahn.svg,sha256=XK49OGulLoWmhe-9-UI6gXVSJsZd7QKgsXoxNc-X_38,847 +material/templates/.icons/simple/deutschebank.svg,sha256=hMcR4vgzytf94Zxchza02P1Eyu5rz5XbhKJoQZN_Lts,175 +material/templates/.icons/simple/devdotto.svg,sha256=kJuOTx13wPcsuzS2XgfOfg8lpC9_R84Mfsb3087a06E,740 +material/templates/.icons/simple/devexpress.svg,sha256=2ztyMpHXZAxqrKwfkXpfCKpOhK9PLxjIKCMTIGlUYQw,317 +material/templates/.icons/simple/deviantart.svg,sha256=yKO5Tqvo9FbG_RlC-vt_mvdKGwo7O2y1peWQioSKRP8,256 +material/templates/.icons/simple/devpost.svg,sha256=HW8HGUT8H501P6tMfadq9BY94jcMh3GpgBGWwixXFfI,317 +material/templates/.icons/simple/devrant.svg,sha256=TnQs6F3IajL5sVDsDxyG4MIptoo4cCmqIHW9cq_7WZU,1027 +material/templates/.icons/simple/dgraph.svg,sha256=Kshfbo2VMsh-Kqs-bC535FjLtsUPaChiU-nfVgM4gEk,798 +material/templates/.icons/simple/dhl.svg,sha256=UeV5Plk98lKzQ36dWw8_-CR0Qh-TDc1PdTP2HVPr0DQ,863 +material/templates/.icons/simple/diagramsdotnet.svg,sha256=_XeFSbjWxUzgMeVpLQwEjtXjEeECvT8CqUCPjT5hGfg,716 +material/templates/.icons/simple/dialogflow.svg,sha256=7QlKva8cGBwhYpxFhJegUsq3GsR5Fu8YRNwwVtY5Hec,446 +material/templates/.icons/simple/diaspora.svg,sha256=_1DgKVqOdghI13IYQ-sZB2EPo7VfsMJceBUmRk0p3KI,954 +material/templates/.icons/simple/digg.svg,sha256=YrtYCvFidY15e-o5TKuTY1SJTJiLISzHPZhPlvX4gMo,359 +material/templates/.icons/simple/digikeyelectronics.svg,sha256=Up9QMQa06hmkMyTNYIF9OLvfmDQIOByEu9JNumLJoCM,339 +material/templates/.icons/simple/digitalocean.svg,sha256=VuPIp4DaseJkAy26aqwAkX2vxnMzhwWkDARVw4xdDi8,397 +material/templates/.icons/simple/dinersclub.svg,sha256=orgGksx280CePlrQ4CnytpHLpQfCcYR_b-wnbx_2TX0,512 +material/templates/.icons/simple/dior.svg,sha256=p9WSe9uBZkP_tMERjIdOXXNGKudM54fcv32DB70agCM,1669 +material/templates/.icons/simple/directus.svg,sha256=iDLAw07EhP_IoPm_QMbyNqgKrTiqsHL9v3W3GYSDu7Q,1110 +material/templates/.icons/simple/discogs.svg,sha256=84e_ErJhq6kKSopE_mbDJATyoNNmuuC4d0iniICBk2I,2019 +material/templates/.icons/simple/discord.svg,sha256=tuMQKGR25I2JQSqAwSC-05xdWc2Kgn3rxx5yKNeQJK4,1162 +material/templates/.icons/simple/discourse.svg,sha256=v_faQe1r8Rz_bJf2xUTfcBkzmy3rjRY_Ut_x5aBYwUI,365 +material/templates/.icons/simple/discover.svg,sha256=2vnO_RNaKdlrt8zInXa-I__mzgkfIQNmPZxjvnN2rQA,1820 +material/templates/.icons/simple/disqus.svg,sha256=jqu8zDw3SVqX0Ht7oJHXYa-MvTtHWWlDovNKxthBM7E,454 +material/templates/.icons/simple/disroot.svg,sha256=BZbfgmJNBYWn17WrGbvsULEnxmr77BKtvPtcsmeVkC8,925 +material/templates/.icons/simple/distrokid.svg,sha256=aH4biMRGtPD6cciFMJG6G_zrNKmF_4Z1w5DZUYhATdA,1462 +material/templates/.icons/simple/django.svg,sha256=K2_R-lmGJOvv_J2HIcXwLC1yu1R_c8tVm8hZCObrJ0w,550 +material/templates/.icons/simple/dji.svg,sha256=vhczTbwZ3LtykNQqeB1nRhl0YFuuRkYBdLGltilO_3o,1617 +material/templates/.icons/simple/dlib.svg,sha256=drcvH445Vm9zzYOeyz_SnnRCd4HSkUUVH6weWH8LCog,654 +material/templates/.icons/simple/dlna.svg,sha256=N_GSDQBUm7CccEvPNnUV51SFxT_1TVvqfFjCk5XATQs,949 +material/templates/.icons/simple/dm.svg,sha256=V8-9aWokhN1yI1IjuzLES2psYIGXR3eci6y24TVxHxg,1632 +material/templates/.icons/simple/docker.svg,sha256=mOao426g-y1DMNq_UI7LZK-oF7bW9ZZSZgrx8hDLiy4,1771 +material/templates/.icons/simple/docsdotrs.svg,sha256=TJlZqxmjF-dm8aGm6B6QWbZlGLe0X2-0bwzVR8zJ0aQ,745 +material/templates/.icons/simple/docsify.svg,sha256=xM-lGJX5vDBXo1h2lLpn_rVNCvu1HT2IL7sVcXsAIT8,892 +material/templates/.icons/simple/docusaurus.svg,sha256=csi-RlyitIC0yswNhewy8E7dQzIsgkscXxqeEopYOfk,4491 +material/templates/.icons/simple/docusign.svg,sha256=vXcLHIj4ztfDpN3EjSn3OLIEE34BKTAqk2PqUHH8zOs,167 +material/templates/.icons/simple/dogecoin.svg,sha256=vn9HViVKdvEdCayRVFZfAVzJAz7CsknXoXIp2tKBa6c,390 +material/templates/.icons/simple/doi.svg,sha256=NSCblxudLMi6xGVb92Oxfi7x2u9dHcS0gwGbtd54Pj8,878 +material/templates/.icons/simple/dolby.svg,sha256=6VaEz94fDqc8mRvlr7KBuXaQR25d8qlK-ZL44nEQSu4,240 +material/templates/.icons/simple/doordash.svg,sha256=Zgba6zvLu_W6t_NJe5PqpVaRzWWgptvHsJKnxSXN7Cg,332 +material/templates/.icons/simple/dotenv.svg,sha256=JOm9pee-FRZiYX3j5Cb9sXMWvAtaaMPBu9HRW542dC4,363 +material/templates/.icons/simple/dotnet.svg,sha256=zU5pIuO7xBv0wcfvSNCcSKP9O86drDTKkTY1OhzaYIE,504 +material/templates/.icons/simple/douban.svg,sha256=Osx-UV5yfQ9f9uZOpOND8tvLPXdXX5kPApJ9Hyyymzo,278 +material/templates/.icons/simple/doubanread.svg,sha256=Ak2net2R7oTDqUGN_uiJBVEiY-e2DNu-ALvcd7J8Sw8,318 +material/templates/.icons/simple/dovecot.svg,sha256=WonqSmPgOim_YCif2WpL4czPMX5c4M70eoGmkjTVWlM,549 +material/templates/.icons/simple/doxygen.svg,sha256=iRLrL5ZVPTdA17GSlc6TseM4WMljVESW_aTscGuDJYY,4118 +material/templates/.icons/simple/dpd.svg,sha256=PFWikUPKEGl_ofntUVBaBgx195I0ASXT4pY-dv8QAcc,569 +material/templates/.icons/simple/dragonframe.svg,sha256=WmYR8Mjp9orfPJbnZrkS0VM9OztAE74pLguU4ELcqVc,4560 +material/templates/.icons/simple/draugiemdotlv.svg,sha256=BKuJrFsM_H6cPCZiZXxbsMJCR6GDTLAUKCNjqgk3k-o,2697 +material/templates/.icons/simple/dreamstime.svg,sha256=5GeUaN9RfV5XUxdsYNX8pTzv_H4W3AuZ9nkBx1HvdUs,695 +material/templates/.icons/simple/dribbble.svg,sha256=0mGLyPq1DmyGRFGqinI3iWAhG0ZO5j00oXRxUSBXzmU,936 +material/templates/.icons/simple/drizzle.svg,sha256=EfvQea4RmB6LDpMnN7oAOeM_VQzUScP8xVEiJ78_h7Q,685 +material/templates/.icons/simple/drone.svg,sha256=frZHM9g_CbIm1aykr9yKe3emkMdWbaqloBef4SvsbY4,408 +material/templates/.icons/simple/drooble.svg,sha256=BErVlnQxzDaMP4-BBhHx4ojA0-qWI6_MsgP4j30Jcdg,481 +material/templates/.icons/simple/dropbox.svg,sha256=EuWOdRVBM5-IHoKa4SddzHTDDT0hQscumZnLtfOm-Qc,297 +material/templates/.icons/simple/drupal.svg,sha256=zxMRNeF-b1M2BqGcHuTgFTmfR6nbDO-a-xCo9ZcbmS0,784 +material/templates/.icons/simple/dsautomobiles.svg,sha256=ryR8ZUvLJlYivB501NTdT9PHbfl5b0vmjR2cIxKQEkg,2451 +material/templates/.icons/simple/dts.svg,sha256=6FaY06i97i4QRJm169VzQGo0JsusRDv0YXanAh0DRG8,757 +material/templates/.icons/simple/dtube.svg,sha256=0E5fQP5RofUgQGJGIKncNNxjYxM8-p-6C60UoroPU4I,522 +material/templates/.icons/simple/ducati.svg,sha256=Fz9J7VH8Crxnb31MY0coZbpfhe2G5d5fE6VTBuCPLN8,1867 +material/templates/.icons/simple/duckdb.svg,sha256=JT17EjE93GbMcqBynVADgGNiLHO_q-dvzOLUeSILIo0,357 +material/templates/.icons/simple/duckduckgo.svg,sha256=Bpz2omOzCbG6RWspmqRRyK93fyabzcPyDduWEjL9QrU,1898 +material/templates/.icons/simple/dungeonsanddragons.svg,sha256=hoeE4d28VTTHcLowPS06k3EHRyUt1t1xsD9T8JAz6Yo,3324 +material/templates/.icons/simple/dunked.svg,sha256=HMy1ya9e1XoTB4F33mRBtN_NituFPtQvejQVaGC4BnE,238 +material/templates/.icons/simple/dunzo.svg,sha256=seZAZF5YweMmchv_ih1VLyQ2_vTMm-11pcTbVPKjQlg,873 +material/templates/.icons/simple/duolingo.svg,sha256=MlblqmgCLNOLbNmtdNsASIAY-87fpskk67kF10pS1N4,16893 +material/templates/.icons/simple/dvc.svg,sha256=H-dtswUcx_C7E-qO6uQhP31nvhcVt3PF6fy2Bd3nKYE,1344 +material/templates/.icons/simple/dwavesystems.svg,sha256=FxLgmakEQYlc9am3SnekAFEh7AzvcAZN_AkkWGlkk4I,657 +material/templates/.icons/simple/dwm.svg,sha256=_MWF0XHO9GrZGnLS9knMPpNYpvc5dL015tks8tOl0xg,149 +material/templates/.icons/simple/dynamics365.svg,sha256=dbP-kcwIkq9wdYDCZOoB0b3OU130ym8SuLteuDLMypk,608 +material/templates/.icons/simple/dynatrace.svg,sha256=R2peRa-P0n0keQLgEnJFnm66Jys_mZgDOy-MwPn7NKM,1053 +material/templates/.icons/simple/e.svg,sha256=osKrtwNuQJml8SnQn_hhGGX5o1VYZSlDOHGWIDBQpyU,432 +material/templates/.icons/simple/e3.svg,sha256=-r1qWseoYtmLdNO4Hw0n-Rqh_zPvcn3fzX0b0dfWFbU,441 +material/templates/.icons/simple/ea.svg,sha256=Jz8UtCpwnA_BhqcTSNXqKVY0QNJZFWeC3rIpm3ybEuU,280 +material/templates/.icons/simple/eagle.svg,sha256=mRKIn_J5goRoHWwuSNEf8VCuf0D9t838kgTWkP2_bOs,1005 +material/templates/.icons/simple/easyeda.svg,sha256=XQ5JTnuyc4GpCVJlAi6FtQwCWPj79ssHtwUzYKRZ2x8,861 +material/templates/.icons/simple/easyjet.svg,sha256=ArGdhPpu4GNKqOcji4tKD_HHaJUfZNCxhmfbStfIbJ8,6003 +material/templates/.icons/simple/ebay.svg,sha256=IgdqT-Xc3LHTfU8n_b9nzDy1RgbamfK6VYuB17K-vZQ,1239 +material/templates/.icons/simple/ebox.svg,sha256=vg6QQoPQVqpX5hw1d2uAoYhugcH_UtNECXYGfaGqTW8,815 +material/templates/.icons/simple/eclipseadoptium.svg,sha256=XyasfG01_Y_yHIhYiOo29kIYchLMb0PWkesBfj1EBFQ,548 +material/templates/.icons/simple/eclipseche.svg,sha256=bXtMAau9X8qfH-JWTC7x0HlbYgfz2650cVf4CbFUOf4,208 +material/templates/.icons/simple/eclipseide.svg,sha256=jOx07E7r1GmZdA8-9zrdXpLHHGwTPIrdDsmKLN8V4Kg,1480 +material/templates/.icons/simple/eclipsejetty.svg,sha256=7bhpsA0ZD-cB1FpTwpKjlucbk2R3l_daZNuxyAQzK7c,1304 +material/templates/.icons/simple/eclipsemosquitto.svg,sha256=JdkKeroY0606k1R4v9x_PUd5VAHL7VKPtBJ0umM_lUM,1085 +material/templates/.icons/simple/eclipsevertdotx.svg,sha256=L3J6CHb-VF5gX-Ok9wws2pBiBYx57gg7SYOzznH6r3w,611 +material/templates/.icons/simple/edeka.svg,sha256=jZKjWvBqv75LlUMk_Q8tqnYbNvOzpwEobMUOPTIPvKQ,1139 +material/templates/.icons/simple/editorconfig.svg,sha256=LDUev9N5Ccg_6qgf13Ipoffj5_AWYfIjhk20nqTL668,5151 +material/templates/.icons/simple/edotleclerc.svg,sha256=_5eMhaULicddy4PloiSI5sLfVWJcs907gPfNECdX3XA,712 +material/templates/.icons/simple/educative.svg,sha256=l6wqTom8SoxxPGoMTnK8TpFsCVEdT-JLaIbzDSOm-bY,517 +material/templates/.icons/simple/edx.svg,sha256=DvJGyI7vNvx7gtQA1ibyEEXgeNGAIcXfPtjYEeFE6co,2103 +material/templates/.icons/simple/egghead.svg,sha256=iT1hejTHtoUnekOyuwT2PG9VsZPF5JxPlJzKIT5qQio,2590 +material/templates/.icons/simple/egnyte.svg,sha256=CVuY7iLd_x4sYUv4ofMaLRbphGRtjZgQ-CHTIXd42vo,2241 +material/templates/.icons/simple/eightsleep.svg,sha256=1EpJWOrPUVRYGco7ZKWh50rRdtD-Chx0XUYG4iltYoQ,689 +material/templates/.icons/simple/ejs.svg,sha256=nbNTHp1wASkd-kjCXQyP11vcvHpq53E0v_CKEVrFkKo,996 +material/templates/.icons/simple/elastic.svg,sha256=djD9M7B9w9dKVHiKAX_ggY0hGdqfsPvjBQPafgZX6J8,1121 +material/templates/.icons/simple/elasticcloud.svg,sha256=3Ee4CzKV6vFQ8FCFKTeQOIGG-ct9GFXnUm64O7GcrZ0,614 +material/templates/.icons/simple/elasticsearch.svg,sha256=5GSnaakswUpmtabzZx9V4yDLzBtsVtQC_amf4NqKrrE,438 +material/templates/.icons/simple/elasticstack.svg,sha256=Qoix2YnkjqPIN2tC8-QGgE9FFOXs-ZSiU9uJsQQihuQ,270 +material/templates/.icons/simple/elavon.svg,sha256=fsChhRAABeGKBN2HqLcxpMXlqMsCwPoUEVyA8OWdf7E,934 +material/templates/.icons/simple/electron.svg,sha256=6MKB65nSrEDkXXc1mmKmzq4ecDHHtkskJEpFMm8FPE8,1850 +material/templates/.icons/simple/electronbuilder.svg,sha256=sc5Na-B2IVJk9paiJJf7qq79ifGbzJH5Fh9TJuSPIHo,350 +material/templates/.icons/simple/electronfiddle.svg,sha256=oJT_TfuFjNvpcWLd-Cw6-z_to7UJEqjC7J_Wi-lTsuc,331 +material/templates/.icons/simple/element.svg,sha256=MdPjc1ErBT91e_QIRb4MYk_dZarMrTMkd7lvv5MbREw,662 +material/templates/.icons/simple/elementary.svg,sha256=ssKw8xYDIt50hsu91_6OOHA33rw67ZuTpBXBX3IDBQw,904 +material/templates/.icons/simple/elementor.svg,sha256=RcK9y_EVHAb1pF2Z1tifMc1nx4y0ZWqiCctga_FMGAI,216 +material/templates/.icons/simple/eleventy.svg,sha256=n7DutIbBnLwbEORoJdB2MfjlgB-v7eb2VOD118Uvcsw,2363 +material/templates/.icons/simple/elgato.svg,sha256=SB-8eZw8cm5sCdWpDatxHK3N1-vsQB3JFEO9xfe63HU,644 +material/templates/.icons/simple/elixir.svg,sha256=NiCK8z-aw_WdTB-8Q2u2J-5H0jRkyBPaqIJ8I9Mtzdo,338 +material/templates/.icons/simple/eljueves.svg,sha256=HXiMMU3iCjBxAuMf_n_cMdlbInKY_aRSDVVFu5hTlBA,1302 +material/templates/.icons/simple/ello.svg,sha256=ZFbYdfeiPEO8Q78M0AzYOh0YkZn5LPdqNij7I6eSNaY,332 +material/templates/.icons/simple/elm.svg,sha256=WZW0FcttrCyfXud0lIgw7ZC29jDTbh55URkQccGI6tc,300 +material/templates/.icons/simple/elsevier.svg,sha256=YMnYX1Cnnl3C5mX6jZPGOB0jJKdnVuUeMwLLpFwOXhM,54640 +material/templates/.icons/simple/embarcadero.svg,sha256=D8boKLF1k0hum0bQDx9diD9eA3gPtw1t6gmXFfYAAvo,891 +material/templates/.icons/simple/embark.svg,sha256=Kx-Zh9yFEn4cZgmqtcZGO51Cqe9QD86ur42pNpRGS94,210 +material/templates/.icons/simple/emberdotjs.svg,sha256=eAbf6A04ZLoIe1vItQHfv0KJXnxvZ_UkLAY_gox9_po,548 +material/templates/.icons/simple/emby.svg,sha256=HdmdYaMyjdVqdp3YqhHc9q4zzSNCHp-MQvMLwqJiRmw,767 +material/templates/.icons/simple/emirates.svg,sha256=GkMS79VfLGoPIw654LSKCVfNXhm_kw4a3aQIjqTLS4U,2384 +material/templates/.icons/simple/emlakjet.svg,sha256=vqj-r9GvVlu5FkUr-XRr-yaembUv85Iwdx2UBQ0VMqo,914 +material/templates/.icons/simple/empirekred.svg,sha256=fpsHPdYWuOalJnyMaFjgpjc8ycWGaZswn2YVf8IxHlQ,943 +material/templates/.icons/simple/engadget.svg,sha256=2JU7fpP93G48kDe0nbghZBgOK88w2HGGswsx0W1Nees,237 +material/templates/.icons/simple/enpass.svg,sha256=sukXJhLLlOjibIXw4xCmAQWBc3yLHoDL7C5RpCrtUi8,834 +material/templates/.icons/simple/enterprisedb.svg,sha256=V0BIWHisGX5c7MXKtU2L4vZ7EQHlcZir5TQMwCo0yyw,827 +material/templates/.icons/simple/envato.svg,sha256=ff63SZZdU0ShL2sIRbnx3p_1bY_bj_E2rFN75YvUh-E,333 +material/templates/.icons/simple/envoyproxy.svg,sha256=BukJLqMFWIm4RVtQxOZCwpD9sfJ17xyYhaq5PruJJmU,1061 +material/templates/.icons/simple/epel.svg,sha256=4B6Zd5N3JlDgb3z4di_MVQOr7-3rNZk6bBROOA8V80M,878 +material/templates/.icons/simple/epicgames.svg,sha256=ELwaPZNtdKyGYg5PS1JngP8kZC4Fck6VeyKsOfR33A8,2865 +material/templates/.icons/simple/epson.svg,sha256=uKntGBH_1a7INZnva5-Hg1myQdXH1lNmmMeKxlak-nE,1156 +material/templates/.icons/simple/equinixmetal.svg,sha256=thldvoN3Zllz64fJubb4R3YQscP_a0W-u9x4o_W3rNQ,352 +material/templates/.icons/simple/ericsson.svg,sha256=fu0g_PEID7RtJCf5dWAW3YTIeN77tgyOT2YxQ-H2VyY,803 +material/templates/.icons/simple/erlang.svg,sha256=vJtUX0Uay3uT9AkmPbYsE-31ZVFumOkj7vkyzVOdVEE,476 +material/templates/.icons/simple/erpnext.svg,sha256=glw4kGUhp-MiLePXe_N7J-Scfn2R56ap7Y21ibjBuGs,277 +material/templates/.icons/simple/esbuild.svg,sha256=vVZ7XwgNSxpDe9wJmo3EpOIQQKpLN1C7DjSiCxTUXx0,288 +material/templates/.icons/simple/esea.svg,sha256=tFVaOyxDgIztKO3341C8A_mF8021Lc1tzo2_WbwQ9w8,253 +material/templates/.icons/simple/eslgaming.svg,sha256=J4PK7diQ6Ox5EbSxOpY75xKXe7h6e3s4OgDsiunUn5E,377 +material/templates/.icons/simple/eslint.svg,sha256=LCYXQyGEnCCnaSxbnmTVtkv-rAz2YbRr4Nmc60xeEEw,710 +material/templates/.icons/simple/esphome.svg,sha256=d1_42OduDaL6a0yePTjEGb8Adg4_a6pH1aOzT1YEde4,2801 +material/templates/.icons/simple/espressif.svg,sha256=Se4FOxdPsudei3gq7n1iuV88VvmuFapaTon7eEsvLcQ,1120 +material/templates/.icons/simple/esri.svg,sha256=I0NMLyGlM9GgKM_kycby5CKUw8ZotRJIBFox4u6F-QA,4328 +material/templates/.icons/simple/etcd.svg,sha256=S0hPPzcv72w7VX9wa-fl8EtKcM4jllb6AZO-mWeHIgg,1484 +material/templates/.icons/simple/ethereum.svg,sha256=e6syPVGxpcDKdWGKa7Zxntkymg-nljb6TVga6inpbxk,194 +material/templates/.icons/simple/ethiopianairlines.svg,sha256=l5tluR112G_vluU7lxb0T-bjAyQkQaqCsqdDJ1xkTJU,599 +material/templates/.icons/simple/etihadairways.svg,sha256=3Uu5mb6ELSq_pmW54oSamXjmc1KTGKXnlTg_xdr4_-s,3599 +material/templates/.icons/simple/etsy.svg,sha256=BbJ2qpo62yfQpNCVUk6GlKlhFrLxBfp6JSqSGSsh8LU,680 +material/templates/.icons/simple/eventbrite.svg,sha256=WugZh7hwX8t1ANJNIUq74OotrYP7w_yYvUGMNEYiStw,431 +material/templates/.icons/simple/eventstore.svg,sha256=pwgVEmE-RmlU7T1KjbDSadaonINQz9Ra-aiMgkLz7kY,1754 +material/templates/.icons/simple/evernote.svg,sha256=0LXL2t9yMRe3SWnsdqQbTc-ddPfaz9ynCs2bZdbWiso,1450 +material/templates/.icons/simple/exercism.svg,sha256=_L_cq3Tewr0Qcp4RXcyqHyB-e4Cax9yTzApGAGa_I6w,1826 +material/templates/.icons/simple/exordo.svg,sha256=XO3fZYN6O7u2nvktCCni4n1ggwnZV5npwXWrfkQJqA8,2403 +material/templates/.icons/simple/exoscale.svg,sha256=KmOpwnKFOuqT3FZFfBLfHa9aIeCgBvgs6JuqS7T0uS8,201 +material/templates/.icons/simple/expedia.svg,sha256=bqcB_mifSO1df2Bv0YYYsRzLKsbCwwfrLVgePrnxnek,649 +material/templates/.icons/simple/expensify.svg,sha256=OgzpZ6CVZlmbLMSkYMmt4tuCQgqnRZ5oTIlxo1ON6zk,620 +material/templates/.icons/simple/expertsexchange.svg,sha256=a9CA6TiaImsrwnw7XmZfG5TaaKSd2F-r1cbsnGZ7yGM,186 +material/templates/.icons/simple/expo.svg,sha256=0WvXpPbEb3YYEGVQdiTTeWS3Qv2cdhHGifyUpZ-AK7s,423 +material/templates/.icons/simple/express.svg,sha256=SJg4OndTu8EdMgB9C6KbOkV-9RCZM91_j6cqFrKBkgU,755 +material/templates/.icons/simple/expressvpn.svg,sha256=5XV7bbw9zFmztE5IOOspNeHJ4wPXkPjU-psleyS00pg,446 +material/templates/.icons/simple/eyeem.svg,sha256=sg5f8loPXOhnYM4LGXg0xeXpxv0gdnipDaGrnNNmCYs,868 +material/templates/.icons/simple/f1.svg,sha256=SZ0WV-G1OF_jl_sBQAuJqouGW9QCNH2puXmtO0Wdedk,354 +material/templates/.icons/simple/f5.svg,sha256=Je8H4CIruyIcnh0SzScJ6MIYKnEn3Ls3NcZSit_m2lY,2202 +material/templates/.icons/simple/facebook.svg,sha256=GtTn-SJg8BcIrrnzN0nIxR_zoPDR2Eyy1EEKyPjh70U,508 +material/templates/.icons/simple/facebookgaming.svg,sha256=io8qNIB6wZfsDaBqXJsTTzjUUxh4XFxkjyubcPP66fs,146 +material/templates/.icons/simple/facebooklive.svg,sha256=_TyfZlcPFsAz9iXhzeh77lwLmV_DXGNoT9xUOYYaW4A,636 +material/templates/.icons/simple/faceit.svg,sha256=0Eo48Ht3R8TPDqgpS6OWxqGF-r1amPmL8Q-Vv1k3rqM,234 +material/templates/.icons/simple/facepunch.svg,sha256=wsFETWl8PCV35OE1cKjogS7fn36H1qQGP_uaC1OLbzo,552 +material/templates/.icons/simple/fairphone.svg,sha256=QuBtqtk_7rWq7w3YJ29Jsdtr1qzkUrsCdG1N2XFJXMk,2415 +material/templates/.icons/simple/falco.svg,sha256=7HARgwp9OXEmus-FKHPRJJ5TBfqXvMHzLP-6JUhI3LA,1792 +material/templates/.icons/simple/falcon.svg,sha256=v6ZLQK-yQdBerUB5MMaWD3B2J_dBtjm9D8Bf_4Wy-A0,3366 +material/templates/.icons/simple/fampay.svg,sha256=Ff1Ut-CIRa2O6nGZVhh7fWj5skVGOhm6DMpNejnfkhE,950 +material/templates/.icons/simple/fandango.svg,sha256=VrONcfLnxnP0BAot-qSgfHijtlraWpIA5QUtqG8L7xk,468 +material/templates/.icons/simple/fandom.svg,sha256=B6tfuVF3vXOUYGyBZJ-wGJxiaIlccKlHqHFSAh49ikE,662 +material/templates/.icons/simple/fanfou.svg,sha256=cLdFH6te5cmUibMeRXTsTUH2actHzw-vzrx4t096sFw,931 +material/templates/.icons/simple/fantom.svg,sha256=cS7UYWdZO4u21ibCql8AMzyhf3v9X-ukVIvXH3VWbC8,1462 +material/templates/.icons/simple/fareharbor.svg,sha256=2RiNqlDq3FMo6JFvOhjJ_EoMw7RoQzQACZWGs2nZNpg,4077 +material/templates/.icons/simple/farfetch.svg,sha256=PadW1neBsmHSI9VnYJnMqQXtMX4VbKzLsDrRKNHUAyg,313 +material/templates/.icons/simple/fastapi.svg,sha256=7ZRNRtDrmF5ePSlPxJ1EMysqTb1rqVXVb4DFurwEA_A,236 +material/templates/.icons/simple/fastify.svg,sha256=3fpsKjbnx3MzbkiKvt5_idXJpmLiOW_VZ8VLaaPs2IU,1130 +material/templates/.icons/simple/fastlane.svg,sha256=mx6p1c8UCSTw2KL2v2XpNbZw_WLzT9L3rQQTxFWJOvo,3801 +material/templates/.icons/simple/fastly.svg,sha256=twBE2X-kDd4U6BAqCA9P1ASj5riTyyvvJ5rPFE1P6SM,608 +material/templates/.icons/simple/fathom.svg,sha256=NalTpPKhgvNhNLhWx8EdgA0MDWUv-hVglW4rjSNLZPs,1752 +material/templates/.icons/simple/fauna.svg,sha256=6S8rt3d5oRtuvHvCrIMLXz-PAYcLnpXjVZwwnkDjhPs,531 +material/templates/.icons/simple/favro.svg,sha256=46nyJMzxfD-q6QmdTez8MTPYUSnzQc7POAB85qlelME,791 +material/templates/.icons/simple/fdroid.svg,sha256=9knIvbC2dyikwyF2bV4ot-LaNAa0NAg942Z3sE4fK-8,1246 +material/templates/.icons/simple/feathub.svg,sha256=KzFCoQPuDqTcv7H5MaACMtMQ1rNZfMfV8SlZJ54oHG4,153 +material/templates/.icons/simple/fedex.svg,sha256=rf-LsaJ7XxZHBv1KQJ6ZOnFEjfMLH8euCHI1y8Tb1P8,1577 +material/templates/.icons/simple/fedora.svg,sha256=UW1pEajXydFJJ_FddDM92GvxRK4T_mY0DAXEmrVn78w,864 +material/templates/.icons/simple/feedly.svg,sha256=y0s33ZqOp7ecfdcavQ8xHTIaxlnCZDlTKpl6M6Z6ygo,778 +material/templates/.icons/simple/ferrari.svg,sha256=MjmKP7XgSThku6I4vgMPaFHyr_sKkbkfHVzhYi5xfC4,20110 +material/templates/.icons/simple/ferrarinv.svg,sha256=YQo__5LZxdDvIcQNGQ1W9c-A3mwJEBOq3iLegzNfJ50,1473 +material/templates/.icons/simple/ferretdb.svg,sha256=QBX54sRTcDY2KHT2zd2oQaGRLPqLakjJQjhWpvg--dQ,1526 +material/templates/.icons/simple/ffmpeg.svg,sha256=h_joM_Isr8b7asOK-RL6a0N68P5jZ9wUv1Q2UNH6Cmw,386 +material/templates/.icons/simple/fi.svg,sha256=pl_HBa_9pVgSRbg0VF7_eBugo96SFtAEsetjPhJEfQ8,478 +material/templates/.icons/simple/fiat.svg,sha256=UPFJnG0meE5J0MGSM4mGncDd77R16kHp6Utm_lwAjHQ,2926 +material/templates/.icons/simple/fidoalliance.svg,sha256=5PspyxFykviI1Ge8N2y0MYwP82PzDuWSqGvP2ClsyKI,1386 +material/templates/.icons/simple/fifa.svg,sha256=gT2iVfpnGbQ7a9WXjlQpVREwXQ_zyd1vbko57XK4nO0,352 +material/templates/.icons/simple/fig.svg,sha256=dZHxQwNsOIiat8vTw0oVT66Covws6BD_Wud740tk5S8,837 +material/templates/.icons/simple/figma.svg,sha256=7zZZmL4nDtvng_4VrDBDKzwdhiUWSPZ-4UY-oCnzs7o,1062 +material/templates/.icons/simple/figshare.svg,sha256=hy_cHPB4dd2aqbDscmCwq2SOxM2--Snk5VivwUonjio,12629 +material/templates/.icons/simple/fila.svg,sha256=VBo0Z3WpBNpB0ymBk5P-mlPKm-bUC18_T_gqbYaQ_7g,903 +material/templates/.icons/simple/files.svg,sha256=LuQV8PDriOsXHuG3GOP_ozIXQGL5a7Eg0TudamTdRso,604 +material/templates/.icons/simple/filezilla.svg,sha256=TGP6TQLn9i7Ivex4eRZlAhXjTkdxKxKrzqW0i60flYM,1520 +material/templates/.icons/simple/fineco.svg,sha256=MwU7PK1vaifMJJkW385GA2ok6tXHdDsET_FRFN8rggg,1212 +material/templates/.icons/simple/fing.svg,sha256=9aD7zi3_awjA8u-po7c8qOo6XbwFdGMBfqNKk1hCniw,2459 +material/templates/.icons/simple/firebase.svg,sha256=1dDfutjO8kg8hdXFiUuC0tuWxSm7VyIXaxFgx6g1u5Q,290 +material/templates/.icons/simple/firefish.svg,sha256=6WvBJPeZgYFLCKkSUIOQYGm_JOsiIpZ08cfj0ub_TQU,780 +material/templates/.icons/simple/fireflyiii.svg,sha256=sWqi3HY9AD5q36cb9hNa7WmSNTC8d2DXL210WP0iOA0,1600 +material/templates/.icons/simple/firefox.svg,sha256=LHOvd86rfmUnI9FwU6vnRvG_1-DgxyuWAYUV9IwcZhw,995 +material/templates/.icons/simple/firefoxbrowser.svg,sha256=AD6GxUOmC3yHT-eDbnFECGv8VjnZBGre-tu95IYxaKY,1453 +material/templates/.icons/simple/fireship.svg,sha256=P0ApZthg2CTFzUtyOmgrVm23pTZNgsNt6cdH6NMI43g,848 +material/templates/.icons/simple/firewalla.svg,sha256=h49kcbr0Xy6AKXW3dWXsFyuUdgk8h6rJ2_XAmgf8sG0,652 +material/templates/.icons/simple/first.svg,sha256=5h25pG9B8dZXCIdDMIIDHG_gEv53xV0UFf8lpkUxgPk,6549 +material/templates/.icons/simple/fitbit.svg,sha256=arTJcvPJHfYjncw6k36vNGf6i-4RbNHh_aMit1Hs_y4,1722 +material/templates/.icons/simple/fite.svg,sha256=IuFzsPoMI1ELum4188JI3B9b_8_S8OXPpbtjzN9H1UY,703 +material/templates/.icons/simple/fivem.svg,sha256=I-66fEsztRMNcf-Na3BBjxwhNf2NG-Ffzvsrw_I3qNE,761 +material/templates/.icons/simple/fiverr.svg,sha256=WyqIH9l9IkxiTnS_n24EmlYPi7UYxZdRnRMcwrbxJEU,860 +material/templates/.icons/simple/flask.svg,sha256=srQzaJ4qb9DqAIeDxYMjY8NDJpm06TkEE2wB1KwPC34,9165 +material/templates/.icons/simple/flat.svg,sha256=UIkpEv2wYfJtefu4HIU3W1-JjX-_xXY1yQDsFREsQ9o,278 +material/templates/.icons/simple/flathub.svg,sha256=EXEnZeYrTj0JlQ_w2wOzVNbfxhAk8DXNPS4LPwVHhWM,624 +material/templates/.icons/simple/flatpak.svg,sha256=r3tvJ8-f3-oORFCAgCEtOGmHIxuvMb69gQu8s18X2qQ,505 +material/templates/.icons/simple/flattr.svg,sha256=Njmzr5pzXlnq21iH0FWCbWSYWt2yYEUx4aT7UNWDGI8,421 +material/templates/.icons/simple/flickr.svg,sha256=uhtVYHLjWfprmitMwh2cFOygii5m2y5ZuYetE-iGqKo,268 +material/templates/.icons/simple/flightaware.svg,sha256=h9UtnadCgsK9I9QZrj6RtfvFWYSIYGVnO_jf_6J8toY,4709 +material/templates/.icons/simple/flipboard.svg,sha256=vmANNQRTWjmvpMj42KyWHu-lmMlZLY3vgeEFiRWHnLo,137 +material/templates/.icons/simple/flipkart.svg,sha256=7MBg_-IJ8XzZvbO0C3mvP5_lSHV2IxdLToS18Jk8kvY,800 +material/templates/.icons/simple/floatplane.svg,sha256=CznckkeUJT13PHw7RAhDG3noLvcxCkekXFeL3ggq1aE,1321 +material/templates/.icons/simple/flood.svg,sha256=3ptrxYwLNjiKGhidrqrbEKZB9pQu--C2ayPtmlTsXdY,997 +material/templates/.icons/simple/fluentbit.svg,sha256=GNSZ-3FzfAOZFoIHirM-aENAFZGHg8BiEEpcBDBeJoQ,1984 +material/templates/.icons/simple/fluentd.svg,sha256=n4sBqErFJEyJzEQnY_POlbPbC8rsNAovjgtdmhfrmYA,2015 +material/templates/.icons/simple/fluke.svg,sha256=Ue2hrn83i2Tz441eJOrtWVFSqLnlJ_SEqAtZ2BUtKRc,908 +material/templates/.icons/simple/flutter.svg,sha256=FFfyB9OqgsIld0mRkC_Iit9Iaw_2OkaFddJ9g05tUYI,188 +material/templates/.icons/simple/flux.svg,sha256=OU3921pW3UeyQM5r9E94Swbmg4_G950svECzltWsvGw,1695 +material/templates/.icons/simple/fluxus.svg,sha256=zqyHnlmLTYzrGJnwMqKDw2OjKpXX_X-u94ywiQCxjDw,553 +material/templates/.icons/simple/flyway.svg,sha256=P3IfZHZ8hIlOx2NiBe4sEBNQ_5CewewpwH49pp-MzZ8,1816 +material/templates/.icons/simple/fmod.svg,sha256=NByx_yvhxXfA4dudQ4acWQR6yMidBDJM9Qy2Io7SlGs,1422 +material/templates/.icons/simple/fnac.svg,sha256=ZHYB_9rr-CkHDD9dSghW5EJRCt8su3t50VB8k89cScM,1286 +material/templates/.icons/simple/folium.svg,sha256=eGHJWlsuXxJnKIcOVvLg68XT0nifJTXyEVgvqzxTjk4,2868 +material/templates/.icons/simple/fonoma.svg,sha256=PU5EeLlu2jR9VR69Bdrm0-EkFlaCVYhDUm4Y8LjCYFk,520 +material/templates/.icons/simple/fontawesome.svg,sha256=iyXrp2irbwJKWkYnrysGbciHsY40beBwhnf6o1NUGjk,602 +material/templates/.icons/simple/fontbase.svg,sha256=cxJqMmFCMy07ZMDdiCzfvhth9-OKgQHM1RoEqI29Hf4,372 +material/templates/.icons/simple/fontforge.svg,sha256=-78Fr6TycVmQpf7Fz2XmVQ_4huC0h_OVnWq42WtLlHI,1809 +material/templates/.icons/simple/foodpanda.svg,sha256=yHdm2z0MAzkl22D18QIwg5d0xGfJkscr3yI-kc1HbtE,1592 +material/templates/.icons/simple/ford.svg,sha256=2ZhYgPm44kbkKxUbydV8VOgx-NWO24WU6GIPyWD4BAk,4132 +material/templates/.icons/simple/forgejo.svg,sha256=SaRDOQ8iABiHQqXMm8tGLNOt9YBuHmd780mYQnqbcOE,607 +material/templates/.icons/simple/formstack.svg,sha256=UJYicwHOcHXP6gMC2oXdReW5x9RdJYuwFXq_arfXkYo,641 +material/templates/.icons/simple/fortinet.svg,sha256=oBLg3VNNrNuEMNkSwSe_Be-9Do6ox55Qevq8AEoTc9Q,440 +material/templates/.icons/simple/fortran.svg,sha256=ovF9g4quT8VL7GhZN-22sI8Es7rJuxtPz5SdGVN-zAM,1073 +material/templates/.icons/simple/fossa.svg,sha256=dyfigWRVH3b6vhs1lz5QIxnbHzouh7IU8B8de1SL7U4,3239 +material/templates/.icons/simple/fossilscm.svg,sha256=jVpzesPBSK6VR3UU4ikjdla2iJ8vMIw_kwcFkLg7Sts,4343 +material/templates/.icons/simple/foursquare.svg,sha256=-JYmxC9TSX1-ZSleWTokEagVDaj-Q44pJ0n3Du62h0c,1020 +material/templates/.icons/simple/foursquarecityguide.svg,sha256=iJlxagGtt68EzV0y6PB9tFkcXqmB6mC7lQXZ5vmSozs,719 +material/templates/.icons/simple/fox.svg,sha256=So1ESjjVLIkppE531US5t6605cZhUBFZN0Ko8b-G1a8,437 +material/templates/.icons/simple/foxtel.svg,sha256=1lb80rNVIWv7TWID4hOCrgttTkWJQg-Zpl6pZWg-wZw,593 +material/templates/.icons/simple/fozzy.svg,sha256=DVdniNl-hZTnACMFgpB6PdVV5VHrk2ppCuwLE8-Wj5k,561 +material/templates/.icons/simple/framer.svg,sha256=Rd5sfw4KbVjUrFfN30Tke0ErHEZ50JsJlF79Iw1kBNs,113 +material/templates/.icons/simple/framework.svg,sha256=u8rpRklWWlL6jxyW83C3jQrroRH6g5xhj8JXGUpteX8,1053 +material/templates/.icons/simple/framework7.svg,sha256=0-n4K53ejtzMUIQQiMlsx7s5VjzfZRZmdd6hnTGyOGA,312 +material/templates/.icons/simple/franprix.svg,sha256=3Mozzcc-Laor9R88Q7OUJ3YTl-SgW2K7EBJoGydl5-A,412 +material/templates/.icons/simple/frappe.svg,sha256=C86hY2tSDBcjLRUlCBlHQ5YaAYOuCSzcv6D4mDB5Wdg,269 +material/templates/.icons/simple/fraunhofergesellschaft.svg,sha256=gDZaa-_LGlIvLZhwO9spQkBYibVgAn-PDzZCbXnVi_A,581 +material/templates/.icons/simple/freebsd.svg,sha256=Y7kdNiV70Y1UGqqqPJY9R5U1cYsI8a2l8oPz1bdqTCM,1126 +material/templates/.icons/simple/freecodecamp.svg,sha256=LbaMTh0_1xRRrcSm8y1NZ8YF2DwhkVsH7Of4NEQYDLU,1147 +material/templates/.icons/simple/freedesktopdotorg.svg,sha256=p7llNh2-a9HJfnCm15VCzLqAFok9sFv3p01bvKzDhmg,1431 +material/templates/.icons/simple/freelancer.svg,sha256=ATfpf6Ub4Snv1S7X4z8Ww1hlBCRtEUhf2-wyWQlVn7M,304 +material/templates/.icons/simple/freenas.svg,sha256=D1wFGcfvjCDEZS_0n8V4nVQ-05AhNB6yUVSlNjAbiw8,2209 +material/templates/.icons/simple/freepik.svg,sha256=vF5sP_X9JWpsRLwDyRdaI7HqglLgKz2JDzJrZz4i6iA,1541 +material/templates/.icons/simple/frontendmentor.svg,sha256=QlERLiX7Na4H-j1-tfyprRZpfyfEmtggMBiHQwOM17k,558 +material/templates/.icons/simple/frontify.svg,sha256=zeNiAnjTHpe9QGAlycaAeVUWPPlkOHeCLZcwgloVTIM,1279 +material/templates/.icons/simple/fsecure.svg,sha256=bGOW87D_w1QBExyNQ2XhR5FoaKmbKd40wvNunoGCM4M,937 +material/templates/.icons/simple/fsharp.svg,sha256=hg0-8CGE9DTyXI8NiF411Otz2QO5hgR83tRY-6wu8CM,225 +material/templates/.icons/simple/fugacloud.svg,sha256=yCtqoETeY0sqSYk74QsNkQMwNOni7D_Ny8yhHK2Zt20,633 +material/templates/.icons/simple/fujifilm.svg,sha256=FI2h_bb0eYQipsbQlMfzdSHIbAHL02oXIyLBAU9Rv_o,1541 +material/templates/.icons/simple/fujitsu.svg,sha256=zZFhbZ1IA7Gr9lCjqIIwgts7CFNfnd9fLjgu1RlyCgc,529 +material/templates/.icons/simple/funimation.svg,sha256=Vu5kl5Rc2GChwbDyHpC0Hj0kVDnQ-lVlZXlMjZUM7cM,202 +material/templates/.icons/simple/furaffinity.svg,sha256=eE7pkrtdrxYAtNC7ZVoRo0fE9WPSvMqtgaqRK54SZ4I,9344 +material/templates/.icons/simple/furrynetwork.svg,sha256=7eSTTL30EnNakXcRp52Jc9w_RExgMK83abMBEJLzekg,2914 +material/templates/.icons/simple/futurelearn.svg,sha256=3BMw02WEXryxb-Tb8HVkB7I5YEUvnu4_aI8TvP58Bwc,159 +material/templates/.icons/simple/g2.svg,sha256=w7Q2k0hqrC9ErF8weRtnDfW7S8U8Yzn4Brju_GdQ2EA,761 +material/templates/.icons/simple/g2a.svg,sha256=I8uT9anEI0D4IroAVNN43Arus4HsqtAHo_h6bLANrXY,669 +material/templates/.icons/simple/gameandwatch.svg,sha256=3aFD4a4qMShOWng95YioNRL2WTJKJzm_uAjhWqC9Uo8,2182 +material/templates/.icons/simple/gamebanana.svg,sha256=vRsPtmvwoOsrOYBoyt534jdoSHNlVtUNjtfyitjf-ds,466 +material/templates/.icons/simple/gamedeveloper.svg,sha256=bZ3CQx6PwJlkOQT0jQMuWgYx7RABIYPThRjYLsLWXZE,1060 +material/templates/.icons/simple/gamejolt.svg,sha256=6g1KLVX36ERctPse5YP1IZN1qYnXoCb73sFJ9th2Xu4,648 +material/templates/.icons/simple/gamemaker.svg,sha256=lwd97l9255Kc9eRAIcHPq1spPb_Gmr2cmtEvExHYE2o,187 +material/templates/.icons/simple/garmin.svg,sha256=5trPNwYar3NYW2oLZEHwuVIlleOPMMwJeMNT0sgOj6g,3208 +material/templates/.icons/simple/gatling.svg,sha256=NCZ2SVlP9FW9xel6BZDi3izJ1ytDgLpOQZ9UCBFEjtY,1261 +material/templates/.icons/simple/gatsby.svg,sha256=W1oVDbXaefa15--_VtrpHJN0oGZDyt6ZQ4KBkG6cFRk,478 +material/templates/.icons/simple/gdal.svg,sha256=pssAMdKuC0WirfLN4DwwQInO667qyFCutxO_btPqP58,6300 +material/templates/.icons/simple/geant.svg,sha256=I5sTSCu1JgWzrs6hqwBw2r8DtbSLHxPIJ9KnV8qQIhY,3647 +material/templates/.icons/simple/geeksforgeeks.svg,sha256=BdhA-Vok1n6n2W1-n2HQFE6KsJxMuwrg1VA2SR8hLRI,1475 +material/templates/.icons/simple/generalelectric.svg,sha256=ednMaoSu8k4B-40eQPaIV_bEZ9G0Nc2dPM0JST26b9A,2882 +material/templates/.icons/simple/generalmotors.svg,sha256=suEc9n1a2wmR8AAUQbYsfzt3_L_sa4ss4Jw0wqqUPoM,768 +material/templates/.icons/simple/genius.svg,sha256=uqUplfBV8F32Z9w_LAiXGkCNSbkrdW8_VWtGHkl6L30,812 +material/templates/.icons/simple/gentoo.svg,sha256=MJ7L1P2lDdyyBWcleOVgXqyNUkfb1G-RFix4QktVNPQ,1574 +material/templates/.icons/simple/geocaching.svg,sha256=VHYiWfukVlDb85bIYq62rgT-i8XkmHOgVM3Ws3JTXEM,1517 +material/templates/.icons/simple/gerrit.svg,sha256=A0uprJSeDKBwCFU603cIeQEaw0pIxYAUaBzpq713Uis,9139 +material/templates/.icons/simple/getx.svg,sha256=Km7vZMe8zNM6dmmAZuCpK-uu9mSfN3Z0kJmvQSaR9Rk,1293 +material/templates/.icons/simple/ghost.svg,sha256=2ESi4NPd3oz329eOAV135le1PTDI3SdBG4lMravnuFY,444 +material/templates/.icons/simple/ghostery.svg,sha256=dWK1TqDplwD-7AvbG1QQ-G4SR7AWGvMVkT__ucGmWjc,865 +material/templates/.icons/simple/gimp.svg,sha256=YJzBNL3OWIYy-xBPt_MeRnufYsXnkQ1guJuyhxiJOu0,1624 +material/templates/.icons/simple/gin.svg,sha256=93kkB8W0lOZ2QRj2TWbR98r0iYe3u5-QplaMIFpiVh8,9102 +material/templates/.icons/simple/giphy.svg,sha256=CjdltWi735O4tF5BYxseYFmgYKaYqk9cBBJeJ4MeOGQ,180 +material/templates/.icons/simple/git.svg,sha256=PeRM39eOcMOJMB7cbfqq7dvkb25e_3MPGM2u34oe4BY,572 +material/templates/.icons/simple/gitbook.svg,sha256=mRiFkbxhD9zHfXAl18vKamQxidYKUJHd-TRtiXMVf0A,937 +material/templates/.icons/simple/gitea.svg,sha256=UCSRTqbGqZAwFZp0N5Jtxb61w1Y7JJk32CQIiWzexdc,1777 +material/templates/.icons/simple/gitee.svg,sha256=UfwILp4CVKxUWvC5vQQTO_MRB3Ypprm855_HbAyfJuM,559 +material/templates/.icons/simple/gitextensions.svg,sha256=_4K1K9fE9aUp4jxivtTs0-QKvbNj8911dUfLHY55qu4,569 +material/templates/.icons/simple/github.svg,sha256=pnpL6nonBi-DGthYJCLCGJmb3FwcFQqe-LsWOz-UErI,790 +material/templates/.icons/simple/githubactions.svg,sha256=OBhO1nKp4u0CJhhvRfZTiZMGU5b2Jz7hCuBnTUKl4M8,1687 +material/templates/.icons/simple/githubcopilot.svg,sha256=KnC4HDUkr6IiF8scog-F7lYbpzZ6wnlm0Ku2fPn2tG8,1704 +material/templates/.icons/simple/githubpages.svg,sha256=PyCsQEKV-cNk0M6K0Sow_DtOUW5NRZ0UENhkJ3Ddmok,3574 +material/templates/.icons/simple/githubsponsors.svg,sha256=qLCGgsqWpnlcackpCA03WGqiYzmldrDVane7Ou8wkxM,788 +material/templates/.icons/simple/gitignoredotio.svg,sha256=tmd2ANN40XORdDnA7eWT6VcI4xG7PnCEtIF7QsRUdvU,1052 +material/templates/.icons/simple/gitkraken.svg,sha256=GOkOsUUmUWbPRm0zwuE6qapnVKbTVIxFugkIzfG_sqA,1423 +material/templates/.icons/simple/gitlab.svg,sha256=26XIbCOVl8mYeJZ_79As9Z4i6GFn4ozE8m5_nlc_ohU,468 +material/templates/.icons/simple/gitlfs.svg,sha256=89g-xnR8Ni8Ny-W-2d-W_4LUv9li5ufAYj2dUPno4mo,237 +material/templates/.icons/simple/gitpod.svg,sha256=dpI0PHHykAHZiVJ8MGORWaW9aY3zSwoCdn9ImIUGv9M,555 +material/templates/.icons/simple/gitter.svg,sha256=JUPkXwJuKAmnAId4JLC0tgKsuInmJo6PeZh-UYdwwsg,180 +material/templates/.icons/simple/glassdoor.svg,sha256=vDt72erMk26NGg___WQhEds1cHWwqftoq2Ldwp9JrJQ,570 +material/templates/.icons/simple/glitch.svg,sha256=GHsJnnQHAlhCVbiBaKvrMbqpVnAwhfNM5MXMI_Ft0ps,4265 +material/templates/.icons/simple/globus.svg,sha256=xybghkDLCQYfA2NjypMnshG4LMHiTVAo98o-xU-dNts,5107 +material/templates/.icons/simple/glovo.svg,sha256=FhduQ-sZfVA7Xcv_cAzwocQYya_6ihjoG_4LW9RyK2s,591 +material/templates/.icons/simple/gmail.svg,sha256=w7TK0ZIzz5RT6R_s8CoHn-OY7jMfBng0nyopb3INXCo,308 +material/templates/.icons/simple/gnome.svg,sha256=H5QvxYM_hA3SFUEAncXmosGJkBdoZ7ZkZ5e_ZCftYrA,1761 +material/templates/.icons/simple/gnometerminal.svg,sha256=yoKvGVDxf589gaNt5Q8OIRdDLKRdeQToCplpP1ZThfM,644 +material/templates/.icons/simple/gnu.svg,sha256=ihx-Bi-mHvO8f8K8LkbfTZo902FQoZwcjr5K9rEis4k,14850 +material/templates/.icons/simple/gnubash.svg,sha256=Q4_FXBcr-2RCVyuO4UIPQ2sR2q0eOFf-FoHH_wlLi98,1521 +material/templates/.icons/simple/gnuemacs.svg,sha256=co0USQoBARsH-U4VHp30Cz-o0pDNurYTspfxyAqtej8,1188 +material/templates/.icons/simple/gnuicecat.svg,sha256=m1UaWg-1oHT4AtPe0wXSs469fVhXjE4vmoRw0Tyo0wI,4475 +material/templates/.icons/simple/gnuprivacyguard.svg,sha256=O5KOHg2r2IzwvOcSA33qTADOnKuUtP0OjSAKyHrqiMs,1096 +material/templates/.icons/simple/gnusocial.svg,sha256=g-19scr5yehkku1hom3WrSAvAJxV2ugI0l_9vRkAr6I,964 +material/templates/.icons/simple/go.svg,sha256=PRgv84U3FnCL-8xxwM8UEQD5KRfuLIbGYSzbPNGuT70,1612 +material/templates/.icons/simple/gocd.svg,sha256=AVkDYL9l-LL9qHE6UWoV_PsN9tdLJRfqHlL4Gmd200o,352 +material/templates/.icons/simple/godaddy.svg,sha256=0Yn7rWpvyKuFiwF7FiPIOI_dvJ30bFIu_HE5N0kPdJw,1134 +material/templates/.icons/simple/godotengine.svg,sha256=OiYGSPkco8YM7dTtAmmFVm_38Y60EDNDCW-MfZgUx7Y,1573 +material/templates/.icons/simple/gofundme.svg,sha256=FoZAqrtxlkDdGivkk5bRFP9n0EmFbQZ8VIfkfPICIv0,1525 +material/templates/.icons/simple/gogdotcom.svg,sha256=xcQRmAuOnrNv-OO_GuXWgbg6bCkHbP67Hod_vS_Nkqc,1545 +material/templates/.icons/simple/goland.svg,sha256=2Bx0JhswxYgoIvJhaN_bDuV6r9Bj28oEvuoIIyXliU0,668 +material/templates/.icons/simple/goldenline.svg,sha256=xIPu-kSNI9Nka4BgYJSRdczB38qjldjxof2_YLwkYMc,206 +material/templates/.icons/simple/goldmansachs.svg,sha256=rPtH3jhy19_IRWNY7DCl2C5HHBBFhf9eCowfjmhERn8,3719 +material/templates/.icons/simple/goodreads.svg,sha256=DJzCfo9G_x9q-8awT4brC-YHZVRx0L2zJIlTwy82xqg,659 +material/templates/.icons/simple/google.svg,sha256=U7L3pzANm1_LL7FOWMWpn-8EG2rVfyQS_QwT6fOuK4o,425 +material/templates/.icons/simple/googleadmob.svg,sha256=kdvLxkmt4RjKwZvY7LuO1ywOyNtEUYgIdkUuVxqtQyU,579 +material/templates/.icons/simple/googleads.svg,sha256=VbTt08pQmFUoWzWj8FBms7gLtErPw2ASA3CHzHJP7yw,326 +material/templates/.icons/simple/googleadsense.svg,sha256=sgq7DATXD-ztGRxuTttMQVBGPkCB9ug4aNSWRliYfBk,654 +material/templates/.icons/simple/googleanalytics.svg,sha256=yA5uIei4M-7T2DFaKyU__kZkGMbMCk25d_Ov_Mxvip4,450 +material/templates/.icons/simple/googleappsscript.svg,sha256=rIFjdJX68YdMdbhdRuka9XZ06VMgyFZ0J8VTZgx3biw,1770 +material/templates/.icons/simple/googleassistant.svg,sha256=Z0GfvkeRDNtyc0mTZwE2YxbGO6N8VpZdL02MMe74TqI,436 +material/templates/.icons/simple/googlebard.svg,sha256=M3DbHVzdJJOiNPOKnVhZQqmDmLB0c2dbhiAU12vkTJQ,715 +material/templates/.icons/simple/googlebigquery.svg,sha256=oDdIwa6Ip_Gg3Fo6U5Z63QiwNd54ViSektjEXC0ml7Q,661 +material/templates/.icons/simple/googlebigtable.svg,sha256=ewCr4YpMXFGl3EatzmKbMaXbnuvNDM0Ry0EZdRGgiaY,1855 +material/templates/.icons/simple/googlecalendar.svg,sha256=JGpM8eDEHBe7PQu7AMTwoceK8jIDT92SQeEDyMv264M,1168 +material/templates/.icons/simple/googlecardboard.svg,sha256=hhnUGwbWy-tZqw1QqqLriRvZOsQnslAieozYHaR0VUU,716 +material/templates/.icons/simple/googlechat.svg,sha256=tG7aebfleNPNig9ZtcFaK_4_6bGGqDdPufNv7LA2vmI,403 +material/templates/.icons/simple/googlechrome.svg,sha256=cCe5uW6JFB8qEXG8KDBIb5C9FtBK3tFXTjV_BnvEH8A,496 +material/templates/.icons/simple/googleclassroom.svg,sha256=dSwGco_ZZaNKpvpu2KqS6BEzmV-EuuugJzL2cHqI3dM,723 +material/templates/.icons/simple/googlecloud.svg,sha256=PEqN1aFUw5SM4GhEiswXBJHLiCnyxFQmNmcCr6awK6o,645 +material/templates/.icons/simple/googlecloudcomposer.svg,sha256=rnZuYZLwxLRLwIhK3riRT8wU5JZAzmG-_kvDiPEHnJA,256 +material/templates/.icons/simple/googlecloudspanner.svg,sha256=Uu1wtRVkLAHDg0dJzS76wckLEMIFt6sad5P38gIXOtM,583 +material/templates/.icons/simple/googlecloudstorage.svg,sha256=pW0--sfG_Z_baoeoT4ztChExMvIaHKFF5tiIwm9-OtY,361 +material/templates/.icons/simple/googlecolab.svg,sha256=qwgpqmGGBjRx_VVMyiYSOcoS7uyEDeyX4aTmIvBx8-c,627 +material/templates/.icons/simple/googlecontaineroptimizedos.svg,sha256=GkzCr14PdYMmeLSuVk_SrN4XW9UGx-6FWKkPvtaajH4,443 +material/templates/.icons/simple/googledataflow.svg,sha256=qdJixcHIvX86X17HuHa8721znvJUzDo_1869rD6n_V4,858 +material/templates/.icons/simple/googledataproc.svg,sha256=HMCMUhT-BghTGtxrucbAQmqO2JCF5HQAfGI_utu7SAU,1160 +material/templates/.icons/simple/googledatastudio.svg,sha256=ulTHYXdGSelqv-ntGdHkk5j1fEiIyJbmE04k1a5pR18,621 +material/templates/.icons/simple/googledocs.svg,sha256=Mjaonpkp7vT7kkXAm03AX6uPsCY01ZTyf6FExL144yo,341 +material/templates/.icons/simple/googledomains.svg,sha256=d46eGtHyHha0_4sj9IWKcGQlkjHgnpbqieiLx90t8N4,463 +material/templates/.icons/simple/googledrive.svg,sha256=JbLkP_rclF6KeuxU_ye8RoRsGPTQVJ1oNzJUNfTSif4,561 +material/templates/.icons/simple/googleearth.svg,sha256=KQIGep9jaTicfPANhE0wm_LGqPSsW6tatBb9Hr0WyZA,686 +material/templates/.icons/simple/googleearthengine.svg,sha256=Ab7oF6O5tKoJ9wn8mqu3CdDhj88xFRee8z0tRo1c1mg,1761 +material/templates/.icons/simple/googlefit.svg,sha256=uQjGNFJOwPWkHrT59ssj5mSuAhumGJAQy4LRyS29ce4,763 +material/templates/.icons/simple/googlefonts.svg,sha256=6a4KHRk8EY7654rcZZyH1d8dB73tGi7knZ1d4a4Ya9A,284 +material/templates/.icons/simple/googleforms.svg,sha256=Tg_3qysNHCkrhxVmpnhvzKrPAWGur8C0aN0G31Pf_GY,506 +material/templates/.icons/simple/googlehangouts.svg,sha256=pIRfr9HDwUOPHkv2wMg50Y0TjTXB1wJ8DPYyCOKB9Y4,262 +material/templates/.icons/simple/googlehome.svg,sha256=7pipw5rPkJljBWk-sA-h92NCmXVpwIIcEBxeEY0-0mI,336 +material/templates/.icons/simple/googlekeep.svg,sha256=Iko8riKFseNYGaOAWRS_qscAzrvoN8RKdv3J-QxHPw0,572 +material/templates/.icons/simple/googlelens.svg,sha256=Txb-rEzbN1rJ5fcDKqwEiozYX-V_0PnXqTv-lqfBNuU,480 +material/templates/.icons/simple/googlemaps.svg,sha256=Y5Qm9GGfXTAP14zjGDQqXBhr5a6oJ47XxvxYvyG33Bw,987 +material/templates/.icons/simple/googlemarketingplatform.svg,sha256=R---CC2XVCK-Dm5Sy61S4eSr5-WtBNbJWGhxh5blkSA,757 +material/templates/.icons/simple/googlemeet.svg,sha256=wA1eXnq6bCB-vCcaqxpGcqk6L9gCxEhLM2MFWR9GWD8,579 +material/templates/.icons/simple/googlemessages.svg,sha256=ICw6qGghOf_u-F04CjN9ecRsYRsuV0vUbz5vbohuenw,652 +material/templates/.icons/simple/googlemybusiness.svg,sha256=gYnE0WLi9PaCDrLf1No7jSv2mntM7gbApbXjnllHv0A,879 +material/templates/.icons/simple/googlenearby.svg,sha256=vR43fCwWcIIzesROTJs9s19a_t7KRNhy89LH2nMPJRU,330 +material/templates/.icons/simple/googlenews.svg,sha256=bQZ_0wOiEHJt3GyjxfiGIwxGY9P13pNkJSf3hGy3O2o,1219 +material/templates/.icons/simple/googleoptimize.svg,sha256=vAhL6lMTCiqpyzbP2LEeEpcZUT_zvGdlZupiE8CiKMA,453 +material/templates/.icons/simple/googlepay.svg,sha256=7jwEz3ZfZPdxvuPk2AIh5WA6TyxGiklvupkw5Qfbjfo,1412 +material/templates/.icons/simple/googlephotos.svg,sha256=4jTfrRb44RVsSINwaygoNXxgcnhdyTFd_ChjLk0WS2w,640 +material/templates/.icons/simple/googleplay.svg,sha256=QzbQMxKT28Z7Ipuk1ukt4-fEHPGGYwZqsKkrUHjPum0,400 +material/templates/.icons/simple/googlepodcasts.svg,sha256=MS7L7VKI7KGabFcOuDQarQh0gVvjW4L6581l789TsvY,836 +material/templates/.icons/simple/googlepubsub.svg,sha256=HYlrj-yzKDW5ir-VAJCKa-q2WrOwf3U3LUzmpPf29-0,1537 +material/templates/.icons/simple/googlescholar.svg,sha256=yjR3D6QD0YGMcCdSGa0rwgkySWh6pSUz6S4_ZiyHiOk,224 +material/templates/.icons/simple/googlesearchconsole.svg,sha256=_R1E77LFKR5X1rJxEBpCxK62zbHBHlv1de37suNQhkU,1037 +material/templates/.icons/simple/googlesheets.svg,sha256=WeP_kOK_WCr-rE8qgPRf-nnFZuXRaF1omrkGlqo_QoA,405 +material/templates/.icons/simple/googleslides.svg,sha256=PMvXllF5Y82WkXHueargMCnnzX-Y7VYQKtUxygPvvsw,325 +material/templates/.icons/simple/googlestreetview.svg,sha256=m5c8pEQg8WMnJdONqyPzKRjesCpetcGmfUNSZr01x-M,951 +material/templates/.icons/simple/googletagmanager.svg,sha256=wgOPpclgBgw4kawNyaHvzSv7-n0dyRe_OTQ29KaJHNE,705 +material/templates/.icons/simple/googletasks.svg,sha256=wojjT16AafQfsEI19bhmdfBonQrX5Qu0n3UGrhPnrwc,609 +material/templates/.icons/simple/googletranslate.svg,sha256=f2eq2aOn8b0Sxz8ihtDxG7njBSf9u9y65Z6hrkRYRg8,1040 +material/templates/.icons/simple/gotomeeting.svg,sha256=3Zgrw6uwSUl9AVYmpXFtTWBLLcQ9W5T1uaq3AWOa0kQ,960 +material/templates/.icons/simple/grab.svg,sha256=3fftEiywNXyRi8CRvUEybNOKdAtU356jlvv6tABbm68,2819 +material/templates/.icons/simple/gradle.svg,sha256=uK1Zi8yIgUCLYn4KRxs8d-HZQnLReafl_DPa9azSfSE,878 +material/templates/.icons/simple/gradleplaypublisher.svg,sha256=8juHwuZznzcPKWOunwfqJFhPqlIy6DxNnNKr-3Oxj9E,646 +material/templates/.icons/simple/grafana.svg,sha256=yrmTkw4UBTmpv3eCfIU10Va7o4UyxeNc4C1exnpQdvI,3784 +material/templates/.icons/simple/grammarly.svg,sha256=sqbVSw4QivxoAMcqPLK2QmIUQVO5y6NjXH6HaYOLHHI,625 +material/templates/.icons/simple/grandfrais.svg,sha256=kmoZDxvJdLx3dDXXvvnN8qahGK9tEHQWRP194lsfhMs,2204 +material/templates/.icons/simple/grapheneos.svg,sha256=Q4rBzJwBgOU_DhqjgSJcTsL6X2G0J_tj8NVl64fS_zQ,1254 +material/templates/.icons/simple/graphite.svg,sha256=LlXY_0s9z3DjyTaoCSGXqJnXqx5pByMbPHjvprWojqM,282 +material/templates/.icons/simple/graphql.svg,sha256=Q2kwFXo1PlSxE0QQVfQb4z4HyOHEgf2YwqrAKi37atw,633 +material/templates/.icons/simple/grav.svg,sha256=vm81Okdn_-L8RWYbNGe_u-MCNiphN_3R15ooSURHhwA,2067 +material/templates/.icons/simple/gravatar.svg,sha256=VmVFziz9Jb-yisuIjx9MbDmvqreHRyDI1TB069t8nqk,322 +material/templates/.icons/simple/graylog.svg,sha256=b2uzAxmVWQ08Tz_bowQWiKCxdivEbr7yFA17uHviCQg,901 +material/templates/.icons/simple/greasyfork.svg,sha256=mxUmYRiSX9nebn8snaGS8IxygLE4wNGj9ckIF4obVL4,484 +material/templates/.icons/simple/greatlearning.svg,sha256=yiEusAsR30XaR_8oC67Ni76sJC6SLhdvdlX-UIQHB8I,308 +material/templates/.icons/simple/greenhouse.svg,sha256=5Mpnpt4CMDrNgoz0Y8zVLhn_bQe3lMEpKYRBhnGNV7g,900 +material/templates/.icons/simple/greensock.svg,sha256=uB-l-BtCGQj4DETCCCmW_pABYsowY0m2617vonxaldU,8685 +material/templates/.icons/simple/griddotai.svg,sha256=5dkr2-nj_9280H7SfZD08LQ_G0lEuuqZKzRrPdU-TGs,273 +material/templates/.icons/simple/gridsome.svg,sha256=cm1lqMFUCN_hdXrxiVkX0CPKWG9BkDfEGI59E--r05M,608 +material/templates/.icons/simple/groupme.svg,sha256=OhB9ly8neOa4ypwO_nAg02EkgcQkvIJ8enVReYt7qP8,793 +material/templates/.icons/simple/groupon.svg,sha256=r4v5_HU9WNGxoDHvo2CAzDptYsAEa0xaEWrpu8ipqUc,492 +material/templates/.icons/simple/grubhub.svg,sha256=XBWcNBaHtir3VM8z0xP56OEEvmVAIzEmWRlBwBVgxHY,3034 +material/templates/.icons/simple/grunt.svg,sha256=4S28LuKFAkOp9NBZF3DngIyilJkphzjCiY9OCCYz8J0,6323 +material/templates/.icons/simple/gsk.svg,sha256=rW65fop03gK0OQtlMFsCZvHCTdJYl3lKKXvDVfePBGU,959 +material/templates/.icons/simple/gsmarenadotcom.svg,sha256=SBeQSrFehJb6r4qU16uExxqmkr_THc490oGwGdxrUHU,562 +material/templates/.icons/simple/gstreamer.svg,sha256=B4Aa2DuqSiWqtEL-kjUmsoASwWFA_MijF-Qv_GcC3IM,3282 +material/templates/.icons/simple/gtk.svg,sha256=TJqSJe17YWWiYlVtRcdVMhVDyCgR5r9izSp2ntR5b1c,343 +material/templates/.icons/simple/guangzhoumetro.svg,sha256=ziMNJEyd_n2-saXEY-PVbXy_AGgoNTq24OaFnHaNqoM,261 +material/templates/.icons/simple/guilded.svg,sha256=8YyOzhbHIzhwvLL6KGpTtejfER54HYulWtzBddv5ib0,389 +material/templates/.icons/simple/gulp.svg,sha256=NWpNpBevcVvNHbl_a8Z2oZUhE0OFmN2sqgkE654aKtc,6102 +material/templates/.icons/simple/gumroad.svg,sha256=jRsLct3WGUeV1b1tSWkpPQigsPQZC8YUODK93Fg2JkY,471 +material/templates/.icons/simple/gumtree.svg,sha256=PnbJ3wPJ5ixIAAqL_wtekIfo_-6zM7wET_9dx1uityU,878 +material/templates/.icons/simple/gunicorn.svg,sha256=ixRbiSNZSW0mz3-uQ2poW3ajqITnsS3RJlJXIAzDMnw,1994 +material/templates/.icons/simple/gurobi.svg,sha256=NFlnj12DatBExWO3MgtDF1P9qNRp6w-sIqWOZN45cWc,270 +material/templates/.icons/simple/gutenberg.svg,sha256=b63CCUgFF6NuFG3yHtpierFhdnX5wtlY8W1eBXo8ZGg,19518 +material/templates/.icons/simple/h3.svg,sha256=O7XlS1IT2ApwevmeYUlyMCRp9QOIy32NJttN9eyeFlE,2773 +material/templates/.icons/simple/habr.svg,sha256=D1cfdMe4_kjBPXNKhHeO7o80_rwDJGpDkya2DHfXTGU,16490 +material/templates/.icons/simple/hackaday.svg,sha256=LVVLAeOPdgqunH1nMIHRGJYKjGzv6lRxvRUijO1H-cE,2113 +material/templates/.icons/simple/hackclub.svg,sha256=bHqY8jqKOJ1eB0-VvtYgPLN2MagnhP5L2WfAY1XxmDc,315 +material/templates/.icons/simple/hackerearth.svg,sha256=NQA5XOft1rwIibB3tcKQFq3uVUc77Z4xEapzJGxVRHo,536 +material/templates/.icons/simple/hackernoon.svg,sha256=tozMkU97LZ3sQAm7O91ticl0FmIE-IJffTJKqhcLAAg,400 +material/templates/.icons/simple/hackerone.svg,sha256=E6tYhDOsN2P7ZGe1ojWWuRF7HToRodFG6CR1oidQMdY,625 +material/templates/.icons/simple/hackerrank.svg,sha256=3A9NioPtpJtF7CXkCzTyKvJYr_K23iajjvKQfI8MUv0,460 +material/templates/.icons/simple/hackster.svg,sha256=byrxls7mvqC-t4obJBNhtxomtaUDtIGstu_5qIOWSz4,1141 +material/templates/.icons/simple/hackthebox.svg,sha256=BS86kL2zSZIRvaVX6dUO5hGScVyxdwycAbRBDtPOgtk,1108 +material/templates/.icons/simple/hal.svg,sha256=0hMN4bFqiNfjyMT2SqsZWmdxxVLYcia1qlq9XjSGTJg,1408 +material/templates/.icons/simple/handlebarsdotjs.svg,sha256=Fu7wZmNwbmIlG9cgMMUW3sQK-W8OjAyBqmdMR1iYbBs,1014 +material/templates/.icons/simple/handm.svg,sha256=44uPzYpY8CSirG1OsVSUhHE37eVKwCC7utoHtLMBRFg,2038 +material/templates/.icons/simple/handshake.svg,sha256=wufh8WBy-oz45VwLseucXCsVXOkOY_4cZOyRN7rwRUQ,196 +material/templates/.icons/simple/handshake_protocol.svg,sha256=kFbnZt3_TemSQmCmXHJSYTmXf1qH_E0eJOJ53cZ7CB8,887 +material/templates/.icons/simple/happycow.svg,sha256=UT0wLgkVX8qhh6jK3YTrBPdEs74yjnUtWBlW3Obc0ds,5278 +material/templates/.icons/simple/harbor.svg,sha256=tORr590fAMX4v9BoY8xX7HJchbeC50pXXnRpVsPJ1yI,891 +material/templates/.icons/simple/harmonyos.svg,sha256=S8HARgyMPs2d0PmrhvEKVqH0-2l_qajCR-fu1DC-A0g,2231 +material/templates/.icons/simple/hashicorp.svg,sha256=4lVeMX1lmYcG9u02SGW8ewyx6reSkm2EigI1hn99ET0,311 +material/templates/.icons/simple/hashnode.svg,sha256=CCGXLrTY1Y17QJwMf5eFOtcV8EB2pO-qDrvU8AoHGbI,292 +material/templates/.icons/simple/haskell.svg,sha256=iP71dSVF07_enDqQUrDJ8Rhn-g-dEgWGFPfbJwTJCsk,277 +material/templates/.icons/simple/hasura.svg,sha256=971q1x-OvR1lZYfs0ta9doe5KUiZEG8kfj3eTxWzZyw,1060 +material/templates/.icons/simple/hatenabookmark.svg,sha256=KE_d5psH2FBKr_2y_0XwMbLBZ2ThqmbrvfQLaA-_Q_g,914 +material/templates/.icons/simple/haveibeenpwned.svg,sha256=8OMQ2-sG6bXf-Dfl1Xh6IF9sbEdMIR4MZ8z26Wtp3hM,2044 +material/templates/.icons/simple/haxe.svg,sha256=ZqxxusA1fA_qObd7wosTZUXgvSHrbwS3OKGAJt48EkQ,1062 +material/templates/.icons/simple/hbo.svg,sha256=2IaZeN0C4HazLal3Npl7a90nQ_FVyt0rFfQD5PJ4H8o,748 +material/templates/.icons/simple/hcl.svg,sha256=vqPdFVFOgULyrWre50xhIoEtVIYAJSMY57VzpAa3au4,530 +material/templates/.icons/simple/hdfcbank.svg,sha256=mu0OK2FjizMjFNQef663TtK2GenrHZe05Kz8zHP-s1c,260 +material/templates/.icons/simple/headlessui.svg,sha256=UtAWtY7dX0ZmmdKqNnLLjFB2d0kaY4rHQqetC0N70Kg,1443 +material/templates/.icons/simple/headphonezone.svg,sha256=TXmjcjb27Gb__U9S4vkay-FObkicww6Nv5yQcG6ryNk,452 +material/templates/.icons/simple/headspace.svg,sha256=54E76lhHw2Sqkk1-HNpD1E-2j7SPil7Q69WiGOO4wCw,362 +material/templates/.icons/simple/hearth.svg,sha256=X-mCoUgu5IntKUC2iAv8wIE_OQ5Y1G1bIVCLIw8FbwA,205 +material/templates/.icons/simple/hearthisdotat.svg,sha256=aoO0vtWn1iw9VKbnwUZk9im8oVSJnM5DvwIhT_yXS8c,716 +material/templates/.icons/simple/hedera.svg,sha256=2CQpwzfvI8jEmvAnNI2CJKzYE9_Sq0iVosj4m-XaVMs,229 +material/templates/.icons/simple/helium.svg,sha256=IpGVcHpY1RqvvM5DkYj4Jf98nfceh9gNQTmTJhiBVKY,1208 +material/templates/.icons/simple/hellofresh.svg,sha256=-jAmRdo8hKFeGVID3DoyrCcRiEy081Vx4Y678PzrL4w,1083 +material/templates/.icons/simple/hellyhansen.svg,sha256=fEGDxZXXahvkX9VZdMGRMhFQmId6Y9xS5SKvpmzQUJE,556 +material/templates/.icons/simple/helm.svg,sha256=_IDjUNbW6HSB_fhPehuMtDlnOoEXUkTZwZe0Aig_SMM,1489 +material/templates/.icons/simple/helpdesk.svg,sha256=4bETOpGm-c0qoRsDZhXnS4vQQrbLwxbwrZh9wVXD0Bw,563 +material/templates/.icons/simple/helpscout.svg,sha256=QQ7RFAlPOZQVmX0XHJHKvTTEAob7PjQ0kzfVsQBAfqQ,486 +material/templates/.icons/simple/hepsiemlak.svg,sha256=CTaoy7spkpZuCvo4BFm41BoGSFwsJ1yEDqtk1NqxxEc,2341 +material/templates/.icons/simple/here.svg,sha256=L8JRhT8HQYi9sSnRzaojqy-Lr7wjStT9_3YKM4pE4zY,1248 +material/templates/.icons/simple/heroku.svg,sha256=WU9xdNPKE6SiuYVeYk29uW0gJhfkRDnPTThgZ-2aXUQ,634 +material/templates/.icons/simple/hetzner.svg,sha256=InpMJRL3jdQqgCrXWS6UQYOY0_wf7miE0rLtjc5-GG4,377 +material/templates/.icons/simple/hexlet.svg,sha256=PnXDGpbX199iH6zDRmi8mys4n2RHgniiBYpyXAuv024,223 +material/templates/.icons/simple/hexo.svg,sha256=L2w8fJvMbjTW-3ndyhFhluvq7END7Jxs0wDI3DcT8Lc,260 +material/templates/.icons/simple/hey.svg,sha256=X9XgpuN8OGpC71x1PiTw1pTcekTtSXsWg1dAFn0EScA,1418 +material/templates/.icons/simple/hibernate.svg,sha256=vgP_pU5oRhNOAkhfgHtk740x6BWL7tIUPo1rcKhkFoU,290 +material/templates/.icons/simple/hibob.svg,sha256=PqI_uVyqd5GvUNC73Tpqz7rSILor5i0z-1X9ci-Hats,973 +material/templates/.icons/simple/hilton.svg,sha256=3c3bgL4paDw9GFmBRBKlsxqZWL7QCRPgQjeumqfUfQo,1255 +material/templates/.icons/simple/hiltonhotelsandresorts.svg,sha256=1YiUaO7dNjrg6fXB3HT4Jc49DK2Ara_yuP2m9TokRYg,806 +material/templates/.icons/simple/hitachi.svg,sha256=aMcOF_TUc6VMQyTHIXfisBvo6qGv-7pFGyMz4EPFzDg,1248 +material/templates/.icons/simple/hive.svg,sha256=_--bIFF0JwX6gknl3HJl0CnHjeGIqxMyirwIPfUlNas,1426 +material/templates/.icons/simple/hive_blockchain.svg,sha256=YNxy6EDPPJrGsfjs-nLjFGxUBUm-gKvKu5fnpqnpwjU,702 +material/templates/.icons/simple/homeadvisor.svg,sha256=hcmjl8QQ1fJGGG2e4DURgkNcQsi7A6MTF2y0fh9LGU0,288 +material/templates/.icons/simple/homeassistant.svg,sha256=t85OWBxZnWE944O9D3tMOxPnDdETXB4DWNsF1cHIJ0A,640 +material/templates/.icons/simple/homeassistantcommunitystore.svg,sha256=ebJKncOZFFirhPTYzR5pQgi7AmE2__sFyC9Atg9e59Y,745 +material/templates/.icons/simple/homebrew.svg,sha256=ty4x3XzuB23AtO8H5mIrJ8u3VvS7HADYXTxzw5Pq304,3695 +material/templates/.icons/simple/homebridge.svg,sha256=y9ZReDE4EaXQKZ9SMbwr0we9iD_OY5qzJOCRaMl_oAU,1329 +material/templates/.icons/simple/homify.svg,sha256=Ot38fZML5LsBvC-CMRKSEnD1vJiQBVnybZuvfvTGd8E,877 +material/templates/.icons/simple/honda.svg,sha256=ITHOyiIo49hoHIDChLVDNf2Ij5DhKCNOPzrZ_oYyjxc,1730 +material/templates/.icons/simple/honey.svg,sha256=lv-dmQFxYhoAIWGk33AZqBz24ogyOkRnKqSpD5mYhTk,876 +material/templates/.icons/simple/honor.svg,sha256=p67UBM6XBSDRZTDaSq9xgzs0xiwayRV-AJ6FTIWnRn0,1043 +material/templates/.icons/simple/hootsuite.svg,sha256=pjZqU4D3aup6R8QxCCNGguDUJPct4jAa6MZ3KJFb6Cs,1401 +material/templates/.icons/simple/hoppscotch.svg,sha256=WdCrJTgx1icRmPNKtz1xutZg1FrLPUlmvkrBhYiviRE,1305 +material/templates/.icons/simple/hotelsdotcom.svg,sha256=tl-F-OXl_vUyxVOshPi2bJ0P3B6KrvrUxJOk6NzAre0,796 +material/templates/.icons/simple/hotjar.svg,sha256=vqKG1vkMdzTRW8ekLEgYF2tLCSXk8OlH7tvH5rbrcic,393 +material/templates/.icons/simple/hotwire.svg,sha256=giWUCMt0NzINN2w876lBi2VoqSTE5eSqN9X-EjpPpRM,195 +material/templates/.icons/simple/houdini.svg,sha256=NNZHfEms93CfjfJq1Rp8M0uToaottfzEeUJDPe5J0ho,682 +material/templates/.icons/simple/houzz.svg,sha256=5Sgxbyfm5bR2yh4YGrCcQ8mPldfz_UZBDnF_NVKfG0w,136 +material/templates/.icons/simple/hp.svg,sha256=BsOr4Ibolg4gJe9ECYUnBQHAFyxN5v6L_7ioIARMdfY,540 +material/templates/.icons/simple/hsbc.svg,sha256=7pgO_krsgfvslpaoBzLUEigzvqTyI0bVX_L4EIItWno,237 +material/templates/.icons/simple/html5.svg,sha256=wt538wT-6pd-qzx2lX5AzIyeXR5SUmdNnO8be-2BvAo,295 +material/templates/.icons/simple/htmlacademy.svg,sha256=sOLt0pIjVL7aeTBCfdvAZJsKD4B5v9BcidmQ96-N7tU,606 +material/templates/.icons/simple/htop.svg,sha256=EHRJwzr6iGoPAqIbDl16K3fqClKQBqH8QJiUQzAmm6Q,1202 +material/templates/.icons/simple/httpie.svg,sha256=fvxFYHG2xXNYtNVl_eAmcTp6o-CAhmHCh8mpX3RvOAk,414 +material/templates/.icons/simple/huawei.svg,sha256=wyvE-GjmcuTSfUrQaF8Tlhsx5uBYbQao0rNzapoyrxw,1294 +material/templates/.icons/simple/hubspot.svg,sha256=JHFMt0hXlOuEfwyLVtRcAQBxkzVkG8INBZG3VLVxd3A,648 +material/templates/.icons/simple/hugo.svg,sha256=OliyPF9-RYJLOlLiKDgvThYVrxMFkbWh8kJfjm6REqY,684 +material/templates/.icons/simple/hulu.svg,sha256=z1KAPrzPBfRn-9mmOYdjXK9U694bSOjA4lXqGQpXlgM,621 +material/templates/.icons/simple/humblebundle.svg,sha256=XUwgItz5BuLHs_wDCYJX0q1sTbgpq82H-XXZqoJzE6s,551 +material/templates/.icons/simple/hungryjacks.svg,sha256=IA1e8CBkbMqWh9kuG1pEBHSpD9PSYhdoXdqhRJWCaS8,5081 +material/templates/.icons/simple/husqvarna.svg,sha256=k5NohHWz-omsV8VpTZDeQTnT7t2z30XXoomWOI4C9Y0,1323 +material/templates/.icons/simple/hyper.svg,sha256=xuMFh2_1-pc3BDfyENezRCwgvscZDgtJRpRIqnVe-Eg,176 +material/templates/.icons/simple/hypothesis.svg,sha256=2XAT6eexd2hUXwk6b2FLUbaELB6Kd9GJn3Vg9zpVvLg,485 +material/templates/.icons/simple/hyundai.svg,sha256=vEWtzh_7EAgY4OZaIF5TFHNh9BrUxy_qBdsfMFF8lqI,1354 +material/templates/.icons/simple/i18next.svg,sha256=8pd-r52b2D-BrJtvCMTej0JPKAUkcrZCMFNlYNykpfQ,1061 +material/templates/.icons/simple/i3.svg,sha256=srupxuL3xcwCmHwNBiNZRY9BX5Lrf2MbBRai54YN63U,1222 +material/templates/.icons/simple/iata.svg,sha256=q3mPA1eJdbvCRuT3FhQbytOUjPlymiDm4L8OXEAATCQ,2341 +material/templates/.icons/simple/ibeacon.svg,sha256=GbuybM5hJPjP5rqE35LNmLm65dhDZwb8iX7AlornLPY,1626 +material/templates/.icons/simple/ibm.svg,sha256=q_PULArpcIcmXawsnrDzbn6X8pcCyNBuGV4WWaP0Hrc,1831 +material/templates/.icons/simple/ibmcloud.svg,sha256=sclNRetBW-2YkW-NFmvS8_S99ziyrW9DRhe-1_zfMTo,2014 +material/templates/.icons/simple/ibmwatson.svg,sha256=QBKbiQlyWuupmlgP4kzqbHep2bbf2HTu0HuNRRd-BIw,1969 +material/templates/.icons/simple/iced.svg,sha256=zJS1NHxxIlwnIfS2YNpJTRPesiWUQ7KQ7sfYUu-JMwY,613 +material/templates/.icons/simple/iceland.svg,sha256=Z3KPUo2RvFi1-ReUoGKhCh94jdm9KlhGUO6u_1028FM,1405 +material/templates/.icons/simple/icicibank.svg,sha256=ATbyTkKXfh-JfQD9Zft7_nT2j64WkeXbD9yvoLigvK8,659 +material/templates/.icons/simple/icinga.svg,sha256=q9Yi5NyYaymo_90Gu5vAbEtVF5LYa5nQet0aJGdUHOI,890 +material/templates/.icons/simple/icloud.svg,sha256=hmZKd846ByTRIWBW25SqfbFoePQvPl9jSQ4hb4FdiwY,359 +material/templates/.icons/simple/icomoon.svg,sha256=Hgwswi7yVw68WmNFcPug4nrH7dSvGoVnvv09sT-_3Pg,1043 +material/templates/.icons/simple/icon.svg,sha256=148iRP612EO83MZIVbORFDoZWPnmSFs3ZB3D9I0WzsY,512 +material/templates/.icons/simple/iconfinder.svg,sha256=vlmv991ohuwyYomuHymkqeT2H6rHF-egTCP2BuVIgJY,1237 +material/templates/.icons/simple/iconify.svg,sha256=vWUJDbEhWyEANME2ReCldCnLWsLwRLvL-gK8TC6Tb74,620 +material/templates/.icons/simple/iconjar.svg,sha256=46fgwSNJEeCv_EWtX_79rs_fVWtEvpi-UqEQ4L6CVMw,836 +material/templates/.icons/simple/icons8.svg,sha256=5Hgy8J1gzZ_B4xX1mDGJJtfag46YyVsI8Y36OzLPz2c,164 +material/templates/.icons/simple/icq.svg,sha256=0rQCjSk0yLsPWFTUhcaUgW6xTeVbzRYY9e3b89TF5vo,950 +material/templates/.icons/simple/ieee.svg,sha256=s09D8X8tnbPIO6SBGTOaEQPM0kQWqXj83GABtI8yNt8,2614 +material/templates/.icons/simple/ifixit.svg,sha256=fZhuCZAaj0c3iSzTkgv0V30UHIgcbpzKQveQktzpjTE,766 +material/templates/.icons/simple/ifood.svg,sha256=TJmjctQhSmklKGjii6_wLDRPfv8duaxZixC8rOg8QRQ,563 +material/templates/.icons/simple/ifttt.svg,sha256=vpLT2Zya0-Grc7_YlK0NaKZoFLsDQ-CXc4PSbyFJ8tY,335 +material/templates/.icons/simple/igdb.svg,sha256=gGIM5oT_7yk4EDFHNJN5Y9b7WVbryXjCiJtU0bCEt6c,1974 +material/templates/.icons/simple/iheartradio.svg,sha256=CwuJiw9S75THwe12_tcs3WjJhZikcLVO_hNKSKKxuGQ,3712 +material/templates/.icons/simple/ikea.svg,sha256=xczX3LRU3rmmm6m5fwVvm2Pg7S6Vbl0f7B5D7sZc6yE,1740 +material/templates/.icons/simple/iledefrancemobilites.svg,sha256=lXvZOhPc9Xgjfg3MLOGB6xNcEj_cMK8AZs-F08AZgxA,906 +material/templates/.icons/simple/imagej.svg,sha256=O6xZBn9VPLKMia4FhNjouF9O9mr5sNk8UBh5oWGoTo8,672 +material/templates/.icons/simple/imdb.svg,sha256=PZSW1SJt9LLVPl-WJ_dhPh0mSvsY6RYkDJgAzGxb-CM,1549 +material/templates/.icons/simple/imgur.svg,sha256=npzLaRFZ8vLvdNol8dHP1Ifkfdxi7XPexiw6-_8-wQ8,4166 +material/templates/.icons/simple/immer.svg,sha256=TqCGqDymaGsKe62RU3bw064Cm56txNFGgY42Jp2dlhc,959 +material/templates/.icons/simple/immich.svg,sha256=LXF7hgaC1IN36hSx2YklkFYvk3CtgkmkSKY8tE2YA9A,9957 +material/templates/.icons/simple/imou.svg,sha256=OtzZMQwNZX5RLP-29x60KOZfRU2-WkSF9qCKZ_lWkFQ,1187 +material/templates/.icons/simple/improvmx.svg,sha256=tYH94ZEKh-tEwFrXxoZYdGoUibO-SELS981Ytu_4sEg,844 +material/templates/.icons/simple/indeed.svg,sha256=MVNGxHptFQqnXSCAKTjg2uHQJZi7p7HEoCouT8yu4cs,641 +material/templates/.icons/simple/indigo.svg,sha256=sRPVzyxu-ct0HfLnj2QVmpM50V1nBIavA1Y7kMj9oaI,1403 +material/templates/.icons/simple/inertia.svg,sha256=4DAx3VlAoJQuELAAYlo0QuGnAvFZJNXM4I_hq35NpUc,199 +material/templates/.icons/simple/infiniti.svg,sha256=o_XFXV91ilVyJn_tYL_5H9Psa6nlT_TLcUtUVVOayXE,506 +material/templates/.icons/simple/influxdb.svg,sha256=s_Imp2SsNcdh4rZSJbjw6a7F7Wa2-P7xLxJAObs80WY,1339 +material/templates/.icons/simple/infoq.svg,sha256=3G1_hJLlDdqaPezwRN5DXu_HioNzGJHxCcJFvMRkTfc,3004 +material/templates/.icons/simple/informatica.svg,sha256=LQpTZjfV_rdC4rC0UjgeasFOcs4V-2-nN3240fev0aw,202 +material/templates/.icons/simple/infosys.svg,sha256=QYsJWzgWzgHvL6GOBTkfYQayNti_Z1aQDil5G2IO4Pw,2125 +material/templates/.icons/simple/infracost.svg,sha256=1jWE2e_zkkrsyA7rNVHabNToL4--KW3WyWoPkzforRM,982 +material/templates/.icons/simple/ingress.svg,sha256=3fBOEkqX1EnO8_i5hVTRzl2uO7qQ434kxRNuQZyGPhw,767 +material/templates/.icons/simple/inkdrop.svg,sha256=3t71wmBJzowQMkjTmeU2vYE_uOYIKBAnpChiFHCotq0,956 +material/templates/.icons/simple/inkscape.svg,sha256=eI6yQYE0KcamsmoAL7gWGYZML_jNi31zayISTFJwx40,1002 +material/templates/.icons/simple/insomnia.svg,sha256=CUBA8EghPgCtP4US2A1j_nzt0yVBrqXePxEG2hs4Cno,346 +material/templates/.icons/simple/inspire.svg,sha256=cJ5xt3OEV4zBtKer51-Ak93xYAI05s-dvLE5OyJX9Vs,305 +material/templates/.icons/simple/insta360.svg,sha256=n4sq-uJZvkYS78Vinf3K_g8aPAJ5_xHeyTx7fS79Xr0,1043 +material/templates/.icons/simple/instacart.svg,sha256=5c4ecCxz5o28rzBA7W-OmJe882i7azXPnNPpeoYpynk,544 +material/templates/.icons/simple/instagram.svg,sha256=OB0JqipVpN7m0SEo07tAKq5HkLa09g-2rRs5_U7KoHc,1619 +material/templates/.icons/simple/instapaper.svg,sha256=mAQLhWS_t4asJzRWupN6LY6rFbeWc3kHJ_2ih4bumuU,264 +material/templates/.icons/simple/instatus.svg,sha256=4QtNF1SUeYdtePVWXzofUDVWr9z2CCBnmruPfJaqnlg,530 +material/templates/.icons/simple/instructables.svg,sha256=4KTZ3W92Q9BK5oI7CPDbLFgYn6YIizufPNNMnv51i6k,9091 +material/templates/.icons/simple/instructure.svg,sha256=j7UAdD3dhyVOWRKBuTgsNOzFilJJDyebL0IiaKMGucE,249 +material/templates/.icons/simple/integromat.svg,sha256=DCJg6a2xY5Y-L4alqsia2txgbxJxKy5I3rJixDPMniU,434 +material/templates/.icons/simple/intel.svg,sha256=t0snZqvjFawMT51Oi6Px6gvVfYoHcEKuRsmefbEWmJs,1786 +material/templates/.icons/simple/intellijidea.svg,sha256=RdNjlIuxGCunfNsGbwLdxgtvZ6CZ1xS8ahItLziZPRw,479 +material/templates/.icons/simple/interactiondesignfoundation.svg,sha256=GqFuD28PZ4wch_j5O2vLdxal62q2w2TkUAH9_8amgJk,25698 +material/templates/.icons/simple/interactjs.svg,sha256=6-HaoV3L1WqXOLeyat9NXENvzXxXcwFI9No3LAMJbrA,348 +material/templates/.icons/simple/interbase.svg,sha256=R5RS4MQvSDyTPQn6TKaLNtLdWca0YkCtaQ7e0zJfKrY,2261 +material/templates/.icons/simple/intercom.svg,sha256=ZCRSuqEellYFHg2x8G484DGjf2-tE9E73fYRUFRWVZc,708 +material/templates/.icons/simple/intermarche.svg,sha256=pgswPDAL5mT_sXrGOgk8_F3zl3r28ERT439g9UX_aXA,3246 +material/templates/.icons/simple/internetarchive.svg,sha256=wSugYxw1riso-3GkgjfQFqj9noEKJQ2sRezhhyT1XBo,823 +material/templates/.icons/simple/internetcomputer.svg,sha256=8z6k4w5oiD2SKxv57sLlI7FuPy0IQNlGooThzM0ASDY,593 +material/templates/.icons/simple/internetexplorer.svg,sha256=kFt_mjRXjw6jrisDvoTw_6RuPfi1ri9XN9wbm6AGy_U,950 +material/templates/.icons/simple/intigriti.svg,sha256=XjL1bRH44ez9uWuWjdvP9Iznvwfc6cjw0Y3yg9m5ruc,1782 +material/templates/.icons/simple/intuit.svg,sha256=HJcE06W0979cxUfLjjqoEI8febAM4dybJEwTNixKs68,594 +material/templates/.icons/simple/invision.svg,sha256=jjlt_QI5bcDMUJxVLCAS-EvVO3NTij8GfOOf4D5MfzM,844 +material/templates/.icons/simple/invoiceninja.svg,sha256=hFvOupuDIrPRxZWyy--m3KiHmAZi8mruj9RuHkiOCJg,1497 +material/templates/.icons/simple/iobroker.svg,sha256=oaT7TSS_DzBV3NKML2TCbeYHqaIMSdA0yztwXzI42VU,547 +material/templates/.icons/simple/ionic.svg,sha256=uh4qISpkTuyOfTyEabut0ahYGgpagMR-wXlDIzbmuAY,672 +material/templates/.icons/simple/ionos.svg,sha256=SjUuM0zYMVZLbgOlseP34jvL_qJsiCdIFqSmvMSHAzY,1505 +material/templates/.icons/simple/ios.svg,sha256=zQF7_VNv_MSGQyRSG5CDxNlauiEN1u4ydCxUpr0DxM4,794 +material/templates/.icons/simple/iota.svg,sha256=dmOOGFxUtwOI1O012XcdD61Ko6WmUsACznVsEzhkroo,3345 +material/templates/.icons/simple/ipfs.svg,sha256=pVPHcVgXl0dwLobMwJf18vy5w-QWApjF50vFieTVaKM,546 +material/templates/.icons/simple/iris.svg,sha256=bJqQ9KTEtrbKmXR9KCqB6hDl2hyBbVe6xqiF7lWpBVs,1559 +material/templates/.icons/simple/isc2.svg,sha256=lqtLpgRnFdiLQ7nSUsZtiBxTdwNKHCbl_0-0OtRopeQ,1638 +material/templates/.icons/simple/issuu.svg,sha256=TyfdCTbEI-4OkIOlvm_GAe11veLc4nM6ughocMFAh7s,550 +material/templates/.icons/simple/istio.svg,sha256=-AT0fGPAenXiRhlhH41rlNJZY0GdfJt1EC21Ubb29WI,118 +material/templates/.icons/simple/itchdotio.svg,sha256=QApCfx1kV0UpfIjXNEkre-GtgmKfdc78lU9m9tAELlg,1785 +material/templates/.icons/simple/iterm2.svg,sha256=_QGSAPa-9lnqrED09u2fmaQ8kBTSS6zxdqCB0mUwpds,1947 +material/templates/.icons/simple/itunes.svg,sha256=NxHFCJ0SxZ6QeEHNZ7MYkOnIE_iiP8dnrtsArzUtrLI,1483 +material/templates/.icons/simple/itvx.svg,sha256=wo8IwNMsLnksr9qVcACbf3rdQpH8otF3oIyy3O19IMM,1476 +material/templates/.icons/simple/iveco.svg,sha256=PHelvAXCx8dwSvertKgeudplj-xJQ7kDRgvfanaB3Pw,1374 +material/templates/.icons/simple/jabber.svg,sha256=5SqBrmL7tBdE0kvzPdxHKMk0TiaNoy8uiXKwDKYDzbE,3039 +material/templates/.icons/simple/jaeger.svg,sha256=b5KbpH5CVVdeefdhLPln4ErdiUUCioL__w55jJkZGo4,8358 +material/templates/.icons/simple/jaguar.svg,sha256=WhNfeOyIFgzdsiYTErRoFuChO7FpsTqc1iwZitEyPaE,5824 +material/templates/.icons/simple/jamboard.svg,sha256=CJ1AGLlXcB54Iea0g3XSXYBZRLbqVWd8bTZjR9l4DLE,229 +material/templates/.icons/simple/jameson.svg,sha256=gGMyAFKs9ceYmIJddv21RlhMUEjm878OSSVRzQgHYaU,1371 +material/templates/.icons/simple/jamstack.svg,sha256=cmE_D62H-HlJegLIAzqUZ15pBg9B6t4Ets4TwxUgUq0,272 +material/templates/.icons/simple/jasmine.svg,sha256=zf26yn8XAmMGNc-HmqWRW2Jxxzzxb8tksSlapit8G1s,886 +material/templates/.icons/simple/javascript.svg,sha256=thX3T2ZGUOFVtdRqmtJegOvdmFt9VqLfPgTHSU9XALk,938 +material/templates/.icons/simple/jbl.svg,sha256=6dYoRY7pdA95QZrh2IAJ8dmsSdYQYbsekoGr40OPPZ4,756 +material/templates/.icons/simple/jcb.svg,sha256=bGpj9bC7qkcH_SZSrMjzzOdpjYrE0U9q9WRkaAD2VlY,909 +material/templates/.icons/simple/jeep.svg,sha256=b1RjiMzFlKVdfWAZwaehIA2QLEMqLMB7h8s7VgdJ06w,1446 +material/templates/.icons/simple/jekyll.svg,sha256=Qi9xnuyybZLdxB3Kh5rN69VRDCFBv7dC32O4U0bqJiY,1742 +material/templates/.icons/simple/jellyfin.svg,sha256=T_SF9WQKV8g85FqD-_oYUuafNhjbwbzMmrJ4KLxNTSc,396 +material/templates/.icons/simple/jenkins.svg,sha256=I5RhH_Kxi9VV2U6BXH4tyXTDJgaLs3rrB8CqmzUrhrg,4635 +material/templates/.icons/simple/jest.svg,sha256=MYU1FEVjWtDl-bm7XxqkEmi-mmFce7s2OtUQKbCkPYg,2669 +material/templates/.icons/simple/jet.svg,sha256=2hWwalLg0jk60BO_RgEyvpAOlPE7hr4nZO_YAmlQ7sk,759 +material/templates/.icons/simple/jetblue.svg,sha256=gr7IY8SgYQZFetrJwp4WkeVpil2CKJRPt0CdnfPZSbE,1563 +material/templates/.icons/simple/jetbrains.svg,sha256=Ue0FPmUP-bXDy07tkiQdb9oISbI3ZX7whSl7kamPEK0,1553 +material/templates/.icons/simple/jetpackcompose.svg,sha256=r8iS4JMSwRJ74zjqXGhFjw3gB8ouJMlLedhBfyE3Ebs,1512 +material/templates/.icons/simple/jfrog.svg,sha256=TRohiMUAgRpg9a7T4_XYwQ3UxT9OXd_rQAuG7xyxw9M,3963 +material/templates/.icons/simple/jfrogpipelines.svg,sha256=7A7q7vkRETh8RZe7Xx1C818RIpyXhnxGQJ8oJRk3Xw0,1414 +material/templates/.icons/simple/jinja.svg,sha256=p0j6jkS2HH0THsEFboxYTR89jE7WkmUjhhAFmAmR9P4,2678 +material/templates/.icons/simple/jira.svg,sha256=aLExklfmtuep5lc-ByxFZWDEq0TaX--gV1npMZbrt-E,448 +material/templates/.icons/simple/jirasoftware.svg,sha256=9n9z_QcGflRAP_X0c7T6xnIp-7u5xVP2DZIc8VbS7KU,382 +material/templates/.icons/simple/jitpack.svg,sha256=rR6vTITkBNsUA9T-WO7V1Rg3J6RWCww0r1ya8ytzboQ,1534 +material/templates/.icons/simple/jitsi.svg,sha256=zLAT8EfMRv9hqMstPDFbECuuTLXWDr57t-ck1fayIeY,3498 +material/templates/.icons/simple/johndeere.svg,sha256=tFsj2u37-DgIO67T1lqsIMq6UEbIEl3ulz4WP7NwXMA,2503 +material/templates/.icons/simple/joomla.svg,sha256=T0pxUw3GNDK7F_H6gnP121W7pEIleAZEzZs-0QBy6P4,1247 +material/templates/.icons/simple/joplin.svg,sha256=iN8hdJyQrQRslds4HfUnEtEybiTmuMgSaMftz7NYSxs,995 +material/templates/.icons/simple/jordan.svg,sha256=9l_QCmnqxhiL-g9A3X9kcMYn1kKB9vdzXD2-GtUpa2Q,3125 +material/templates/.icons/simple/jovian.svg,sha256=cfPWsj-DZIN3twpq5mf5mvA2m8zmLgjByc9pFS-BDYs,350 +material/templates/.icons/simple/jpeg.svg,sha256=xw8bIT2GhnNLBchrEUy0HUOPwffzpxKT628pbGvIZJU,1065 +material/templates/.icons/simple/jquery.svg,sha256=3HEHjgiYj72JC-tpHIwsRheKUo-y4kmBAXEKF9Uc1cQ,3346 +material/templates/.icons/simple/jrgroup.svg,sha256=T7Kye40z30vWydU0ZcRZxmm_apm3RZKhp4tur-ZG8yc,371 +material/templates/.icons/simple/jsdelivr.svg,sha256=fd35zoXLfLxn22aM-W1bmGM51hr64jZAMvHrbrjIGyk,2249 +material/templates/.icons/simple/jsfiddle.svg,sha256=2pVBvNZQIsnprJ3j4nGcMh_j9dAaPsm4J6m7_nWNTI8,1520 +material/templates/.icons/simple/json.svg,sha256=ZGO9yLsv8WAjknGrFlqWPi1xQd6BRKqSpjVYCjQjtJo,2417 +material/templates/.icons/simple/jsonwebtokens.svg,sha256=VxLTL7EyaP8H-u1nvjlMkCNCYaT06QUXTMSp3d5MDC0,582 +material/templates/.icons/simple/jss.svg,sha256=bzCUYP_29wM08HlOFEAHBWw9sA3-Ew3tCRnhf25mf4A,1185 +material/templates/.icons/simple/juce.svg,sha256=8IQoCOE4WoDAh3AY_6SXJlv_o5y7psqxYktoXjZtsWw,1832 +material/templates/.icons/simple/juejin.svg,sha256=m8eR-lQp-hUd4cICS34DuouFgIsQwZlefCB-nAQUPfE,322 +material/templates/.icons/simple/juke.svg,sha256=TOrVEo4Wvh9gbBabhwO-yBQI8R_QmzgADRNPjC2bkpQ,1328 +material/templates/.icons/simple/julia.svg,sha256=yxp9yCo8tsD7iW6ucI_KTCBEpnDSvo0uXsHQZ2XYLLU,280 +material/templates/.icons/simple/junipernetworks.svg,sha256=6jpkyZnDftKs4arXVlTFG6Tw3s6jsIyClTt9GOigPz8,2671 +material/templates/.icons/simple/junit5.svg,sha256=rJgq_2IgztsrThseRBA2pdu4os-ycernI5TMNWDkcR4,1061 +material/templates/.icons/simple/jupyter.svg,sha256=a98jA0owv2_Ag47NxxWNHV1fgkdDGgRA9yYOvicdfXA,866 +material/templates/.icons/simple/justeat.svg,sha256=vSZs9IIWXnEo_Kwfbg9MEyOrrAIVtKA2a99PH8-RUvM,1555 +material/templates/.icons/simple/justgiving.svg,sha256=03HVYSjBVkSbi4kiu3v5UwoloU_CAyUVA-jkl6UHGfo,364 +material/templates/.icons/simple/k3s.svg,sha256=0Fuun_6MKBM8sweXJvMZdF8XFvVlq2eNZebnEdZIJHE,601 +material/templates/.icons/simple/k6.svg,sha256=16LdH2lle85awG8cWfBA-ZjUHiCshX7ieIGZnw1MkdY,681 +material/templates/.icons/simple/kaggle.svg,sha256=1Ix_ICxBxZpXSxZ_W_fWvPj3c7xOMjj_ewmb0gY98IE,2973 +material/templates/.icons/simple/kahoot.svg,sha256=xZwKTvkbNBdsVIoEH4WKxoeabf2NQE7xa11eXBVbA98,291 +material/templates/.icons/simple/kaios.svg,sha256=xdArxtr5eA74scjjVXdBAeem0JnWFcblCx6eYKp2udc,407 +material/templates/.icons/simple/kakao.svg,sha256=7DBIhvpJ7ttQYYcLi8cP3jcmgaGIPvIg8NLhMPd4scg,1881 +material/templates/.icons/simple/kakaotalk.svg,sha256=QBgAWUvErXA0QmLIqC90rbomoSech4D1xrwcV-GX-as,1403 +material/templates/.icons/simple/kalilinux.svg,sha256=0NmpnxTT_5IbB0zluWkH7zoQJp_h5mlo1bUNyvbTDCg,1384 +material/templates/.icons/simple/kamailio.svg,sha256=ZHHKVKNDgGotvWbyhtKaRDk14hARdwqEFDatuu40C44,1717 +material/templates/.icons/simple/kaniko.svg,sha256=MGj0aIh8UsuUiHXTKdve5EVP-MmAcRK6TplKFBMwZ5I,586 +material/templates/.icons/simple/karlsruherverkehrsverbund.svg,sha256=5F5sERCwNQhhuGIV2EuYaqy6evDQNhPu5ZUmV_9zhR8,519 +material/templates/.icons/simple/kasasmart.svg,sha256=5yIdkmxIWoy0iP7A0I6FVJBqhoAN9DvlJNvbpGDWP-c,402 +material/templates/.icons/simple/kashflow.svg,sha256=J1rcuUqvtqsBtHIgH8xREiDoD7khW3L2-XrjEVA64dc,430 +material/templates/.icons/simple/kaspersky.svg,sha256=qLgPfFfm4nHuBjlTG_W6e6FPmhw2slR2bKru9RqSvDo,1972 +material/templates/.icons/simple/katacoda.svg,sha256=jwvjJfK562fwxFyPlCHZ2k3Gf63v7ZRbRtiJcGjXhWQ,14476 +material/templates/.icons/simple/katana.svg,sha256=BnwdSd4xLgdD4atn_ckgKgGVYs9eIIzIzwulnCdbbVI,913 +material/templates/.icons/simple/kaufland.svg,sha256=SF_yhJUB3kgmdiLK7hvEN5usAabrMdDW2QGHkpqf_PI,232 +material/templates/.icons/simple/kde.svg,sha256=LxzTAzT7TBrNsnKL9fTiupu5gZdIZqq8fq-8UHLy2CE,842 +material/templates/.icons/simple/kdenlive.svg,sha256=4844iSToUfebITB7Fv8foT3dbSMlogS1bCnG6WvPqhY,418 +material/templates/.icons/simple/kedro.svg,sha256=ov3jNHsWPfUz3Cty3WeoO_9UI3NmzfJbMVuxhpDZlR8,106 +material/templates/.icons/simple/keepachangelog.svg,sha256=gBpZlXfref6wBtrIu8qTDodY08Tf0RHthZBmUi_T7kI,2539 +material/templates/.icons/simple/keepassxc.svg,sha256=Tas-vH_xTumVwAooLnD8YJAG1osigwfU6awx46wdO2A,679 +material/templates/.icons/simple/kentico.svg,sha256=Gj7tIW5wvu5SHLS76Hq5M9V_O43nCrxRg5qskxqO7yM,1263 +material/templates/.icons/simple/keras.svg,sha256=XUa5C0mIq25txgT2h6wdCRac8IM3o-GfsAUUGtZZ-_g,225 +material/templates/.icons/simple/keybase.svg,sha256=5zM1Xzy2tzGSVdOThO009fWsJJqNhsOQu1q2WE8PTMM,2630 +material/templates/.icons/simple/keycdn.svg,sha256=td1usx-3qQQYJQ6NVncJ_oXHZpvwelejBXTGuyLB1wU,1810 +material/templates/.icons/simple/keystone.svg,sha256=rqCeOhw_AGnja8Ir-UYMWuYKh7XBLpXU909g6X78W8U,284 +material/templates/.icons/simple/kfc.svg,sha256=I440qzt1U61Dcnlto1-95sVc_0kIXXYPLcrsWMvCklE,1706 +material/templates/.icons/simple/khanacademy.svg,sha256=fzCZ8eAxugXS1vvw7kJ1a1LLK-hfiPPtzJOVrIFhE5g,611 +material/templates/.icons/simple/khronosgroup.svg,sha256=E1vdv7gJeqrNrBbInxwlR5EyIw7Y_tA68mlwcRuW9z0,4188 +material/templates/.icons/simple/kia.svg,sha256=6A7C3aiCkRaT24fh-B5LI9NtgS6ftUVF8lPvBCGE6Yo,972 +material/templates/.icons/simple/kibana.svg,sha256=6cCt7VlhFBf-RP77AoDDMTsCHiQgI_iMVXO5CoSmmsc,164 +material/templates/.icons/simple/kicad.svg,sha256=9YqbzC6m8GcPbXICLYsiIuRa5ykaK5FsX-WByB4E3_s,2529 +material/templates/.icons/simple/kick.svg,sha256=WwSy-Tblz1muoX5zCIbvoPrRaVCcbmMMN1_5YrmVdIE,184 +material/templates/.icons/simple/kickstarter.svg,sha256=AKovc3C6ESTBF9Qh0SbHsbfFquSq-HKxfVzHdMOxq8w,437 +material/templates/.icons/simple/kik.svg,sha256=W-CkY3M-rKqrDYHc5zi8ZrFg_qczGTGRCYr5mKMEt_4,1239 +material/templates/.icons/simple/kingstontechnology.svg,sha256=g3YcohZXNPbTf-1tMphcbBLa7duDINas3wgL-Q_Fo0w,2257 +material/templates/.icons/simple/kinopoisk.svg,sha256=YN0S0ySw4C4pq6lPSjXZ9NCRRFhnNDj1FaAZtTzeZos,444 +material/templates/.icons/simple/kinsta.svg,sha256=wSJh6XVP_TS5eBzQzIGbjTPSRZPLOkq0UZzbPj2aTBY,2987 +material/templates/.icons/simple/kirby.svg,sha256=fjXhfok12wddPjyai3JZouRam22dVeuSoH5iREdPlv4,273 +material/templates/.icons/simple/kit.svg,sha256=aOwGKeJN9h7Lcz7xGif7p1yOMbuMS93klNA8aaou6HA,695 +material/templates/.icons/simple/kitsu.svg,sha256=Fn6pSQJ0t34X3XIF8Xn9acSRKi9MClspwZaCbQZhh8g,1902 +material/templates/.icons/simple/klarna.svg,sha256=9wDBufqU-5v_P8bTPzqebuhIrlAhBxZqZ7ZT84FGuGo,286 +material/templates/.icons/simple/klm.svg,sha256=7ywgmCg5674JfVock4uFtpY3JnWO540OFquoIihQXc4,820 +material/templates/.icons/simple/klook.svg,sha256=TyjlL19dYFusbuSLF0_nJu0LD2oKQtTmwpsjmAvtV_s,569 +material/templates/.icons/simple/knative.svg,sha256=I1NNVFVmREgnTRBm1IqnZ29RsP6nBFZ_BxwDOIF6ePk,1250 +material/templates/.icons/simple/knowledgebase.svg,sha256=_vhPmaLynUaIUDAjmADoVbMlP4nFaboUD_7iOReU5Bg,542 +material/templates/.icons/simple/known.svg,sha256=SwE2qqjCv8it0WOzVrECv1ZyQGdmIkozo8zVJnerflo,710 +material/templates/.icons/simple/koa.svg,sha256=l1Fh0fGt_qtDLtQ6ULCwymL0hCddPumAg3KQflejpR0,1549 +material/templates/.icons/simple/koc.svg,sha256=iVUKkxhYDNhYm8352sg7PeLkcx4brYDdLZLOC5ulZ7o,1732 +material/templates/.icons/simple/kodak.svg,sha256=3F9Cg66BPI-wKOM_Kiqvc_gc2ABOFXtQUajXNTvBcvo,1247 +material/templates/.icons/simple/kodi.svg,sha256=9-wPr4JztRp_kYrFPtAjjXmjZ8el0_jS0ChXMBj_pok,1249 +material/templates/.icons/simple/kofax.svg,sha256=GJJ6KZa71tEBv28d97HTEFHH1EM6clAz6g5q0k9JCNY,691 +material/templates/.icons/simple/kofi.svg,sha256=RhURiXYny15uhbejuOjOXvDP9NlUUIGjm1EWpnA3DZc,666 +material/templates/.icons/simple/komoot.svg,sha256=cIB6w_AeiJdO6DCUfBbbaZWPFT_7eQ_imGeFwXvI3d4,417 +material/templates/.icons/simple/konami.svg,sha256=5LQjVkYpkYkcM5BndtpY5TufQ4c0s1k_c-mRm32u9gs,1725 +material/templates/.icons/simple/kong.svg,sha256=DfxGYmvdytKngsKgu1zL8-qyfG7_3JDmEmxzTWK_gek,445 +material/templates/.icons/simple/kongregate.svg,sha256=BuUTI6POllhOAxLqXlA3aaTjm-Bsecd5XOf7cOJXkRc,411 +material/templates/.icons/simple/konva.svg,sha256=CndGLj3tf_zgq2QUTKKcNcbBxanrhBPnkBf9JO0qJj8,325 +material/templates/.icons/simple/kotlin.svg,sha256=19KMdDXkF9By0CpzJ-Ayge3mFjRTY7b0K5nbOHhVc1s,98 +material/templates/.icons/simple/koyeb.svg,sha256=DR3ZMAsXxjy5F82oEpSPoW10FRD75ooPx-L7xPlU5gM,285 +material/templates/.icons/simple/krita.svg,sha256=1ftyK6nsXnhqMCCikI8EdkyTIEdNz3DgntAZmXcUwwQ,1127 +material/templates/.icons/simple/ktm.svg,sha256=Pz0CTfu0dgzheGhIW2icv-gj3ns0Y-5RDKnEGIgweIM,360 +material/templates/.icons/simple/kuaishou.svg,sha256=wruaZITMS4Q-wZI-GB-f8jDthkRlSPSV2t1WAs3SbDY,1131 +material/templates/.icons/simple/kubernetes.svg,sha256=c-K3mNO4z0-lHezeEXoCPpZ2q5byKBxzLAhvkgRfsjc,3524 +material/templates/.icons/simple/kubuntu.svg,sha256=Ab5dwEvsGoe2Qm6QrlAsC3gOWNTUUk_6nSuDUMNsEDM,2026 +material/templates/.icons/simple/kuma.svg,sha256=PqX1EJEcCQUKeDDFAehVjeNvBLFLjoq12H_OF5kS0Ok,971 +material/templates/.icons/simple/kuula.svg,sha256=fkkr833GpvP5lX5gSarvrbSMhE0CEYNqyL7YvACw234,324 +material/templates/.icons/simple/kx.svg,sha256=1lo_LqAJLKsjae3UHtxL09hFY7g0uqjy273ps1-DgrA,288 +material/templates/.icons/simple/kyocera.svg,sha256=7g4upiWkslGe37CO0jyfmQ9VaRWTS8rPGGICHg67S_c,293 +material/templates/.icons/simple/labview.svg,sha256=4VhqdGDax5ED3JpESDS6lx687mSwdLxEBNptNK0nxrQ,2257 +material/templates/.icons/simple/lada.svg,sha256=dhs14b05l1yl2TQhOTAzjdZhwGGtRsnwpxPeAJaFOcE,2237 +material/templates/.icons/simple/lamborghini.svg,sha256=8k-kiUdhrGGPEr62TAcNSDQfXrFOFla7p73hlXjlAGg,7915 +material/templates/.icons/simple/landrover.svg,sha256=m-urutlxF7JR3KbAPtq57O-hJt3lBhwlLYulgDvWf9o,3282 +material/templates/.icons/simple/lapce.svg,sha256=tdnp6yGh2kGHlRmv4w3cQMCpkLZ2Lep8HyP0f69sEU4,233 +material/templates/.icons/simple/laragon.svg,sha256=NsS2-QFiITTgxG0CKIGM55QH3Uqi6sS0YYms3pWeDog,1096 +material/templates/.icons/simple/laravel.svg,sha256=oKfGflr-uuH0xRZGfVmK0biJtSDs6ejq4RHlw0ThyQw,1840 +material/templates/.icons/simple/laravelhorizon.svg,sha256=mesnUabmO3W6hVcFXTWjNK1h2E4zlvTsvFa6d048eQY,366 +material/templates/.icons/simple/laravelnova.svg,sha256=xGLugjmjo_gVc9L2jv3UkHx2gspGti_l3pNeDPELN1g,835 +material/templates/.icons/simple/lastdotfm.svg,sha256=TXXuDssgGr64Yt151GiafWpG-felpvhqfoi5PETgbEY,769 +material/templates/.icons/simple/lastpass.svg,sha256=zfkjZJssCiRI9g5_a094lfKyKt6T3gGqXT0EjPZsqng,387 +material/templates/.icons/simple/latex.svg,sha256=vv8H_CTpiwXD2mVH3up8RJ_dtEu5aZeeJGu1tozHtbE,5675 +material/templates/.icons/simple/launchpad.svg,sha256=81vJJEREjBz-7n7oqrZtdj_K98HCx71n_jeIZ0P0-LM,490 +material/templates/.icons/simple/lazarus.svg,sha256=3qdyEmbrbVj5grdvUnZtIHuIjAcZElDlhqK8cjVjzh4,2250 +material/templates/.icons/simple/lbry.svg,sha256=PDpIeKr4-HmBhZvpKJQRseiELXhBrbxtpu_AmwLr6E8,325 +material/templates/.icons/simple/leaderprice.svg,sha256=SoGD3bfMrPWbT2IMQdtyxNYhE7yR-NwKHqp8bk1fmC0,1608 +material/templates/.icons/simple/leaflet.svg,sha256=jQ9IAqw_mk0ek73Y38wiVO80oNHHdJQdrD1YNe61e4M,351 +material/templates/.icons/simple/leagueoflegends.svg,sha256=VvlWMjlA_NJySCS_bZtDVtrnYNjVAwKQWChKIu3Wg2s,540 +material/templates/.icons/simple/leanpub.svg,sha256=eCGRRpy8EwxMIaZIJpSa5ORYn6dK6Hvlv0CEYynnE5Y,1109 +material/templates/.icons/simple/leetcode.svg,sha256=-Iuk-ZvlCSFjwb_UYtu2WpAPMogfaN2SpbnFedMXpF8,879 +material/templates/.icons/simple/legacygames.svg,sha256=XTyL5_L-UqIqh-LxlhcyCojzNzwy4sko2SmgfD9PnXg,954 +material/templates/.icons/simple/leica.svg,sha256=dAGyL3o2FJ0Disj-LxWWgs6kYbtzohKlITIak39yq18,2105 +material/templates/.icons/simple/lemmy.svg,sha256=iHqjXitOWx3b57TE1Pw_gUs1V2rNAm4j5YUrfJhmphk,2495 +material/templates/.icons/simple/lenovo.svg,sha256=OGDD-IiTGIHATQupTtMTVoXDIkYmi2nO23I1N4K4cwQ,1177 +material/templates/.icons/simple/lens.svg,sha256=MnqS2eIFTxsa2bqE1mC_XSFD4u-bh0C3jdWrJlOcFO8,298 +material/templates/.icons/simple/leptos.svg,sha256=tONdWbNpVXZCP5evCpVvbV0J3jI0a4qOd01efYO10wA,881 +material/templates/.icons/simple/lequipe.svg,sha256=4B0mMzr31zTp6p-ru5KWX4coY0vpKre70C5leUVyhQc,1287 +material/templates/.icons/simple/lerna.svg,sha256=RriZXE8eN6XNCR1zHYal2OSHqM-YbVdEuToUa-BDEhs,228774 +material/templates/.icons/simple/leroymerlin.svg,sha256=5AenRQ-INwn0O_-aGUMaCaJngmB_OFis3BLxPQIGNrw,3971 +material/templates/.icons/simple/less.svg,sha256=dC_S0cfTwFaoolJ5WSJN1n9gy5FOzTrIWzpyk0nOuIs,3002 +material/templates/.icons/simple/letsencrypt.svg,sha256=4mxBP-O-MpIasdzttY9Fcs0iRl86KLMDy42Vgr3YeJI,1009 +material/templates/.icons/simple/letterboxd.svg,sha256=Ar6UBNumUeoDAKOS4yGEXxEpl8MNnjhKZSSYJ0FpGMc,658 +material/templates/.icons/simple/levelsdotfyi.svg,sha256=aFC6Ufi52e6ZG9J30rggFt6EnWn7f70z9e5IB67bAQk,445 +material/templates/.icons/simple/lg.svg,sha256=i0pZTafngwgEtbxydS77UtUMfW14CbmfLAJJFZtUiJw,955 +material/templates/.icons/simple/liberadotchat.svg,sha256=qb9yF3a6mDIKzV5L6918gEdSteJLO8xnZWUwzgLO-gY,1284 +material/templates/.icons/simple/liberapay.svg,sha256=ciNoh2boRqkf87EDhMMxMdZ2WcTOY85FcUGRdoR_MZY,1028 +material/templates/.icons/simple/librariesdotio.svg,sha256=tlSfTFi5r50BgVZvajQiIYEDVFFR0uvy-ykA-5Ndc1I,1098 +material/templates/.icons/simple/librarything.svg,sha256=20nGtzYM4I0xQ74Dw5E9R6ihdo2R2cAu57F3OQ5EUD4,2977 +material/templates/.icons/simple/libreoffice.svg,sha256=8Asysgz5gS8cSdouKzqcU2CgSlH1B1026euMJORx9fM,406 +material/templates/.icons/simple/libreofficebase.svg,sha256=gyk8zlYiXauBy1h7pf71JQfcYtOy49hznTeZHeNiiuA,574 +material/templates/.icons/simple/libreofficecalc.svg,sha256=P-M9j-wEq9V-C4fmXgyjF5HFCHIOvpzuvO2WOATZ-k4,364 +material/templates/.icons/simple/libreofficedraw.svg,sha256=b0RkHhc6MXxKVBwrY0vOJWnrU7rGPiEjbUUhe6gJ7XI,359 +material/templates/.icons/simple/libreofficeimpress.svg,sha256=th1FOT6BdDDTvMZ75MF5jSuTeRHg1IxUckW8dFGGqwo,377 +material/templates/.icons/simple/libreofficemath.svg,sha256=j6mR0CzJu4sXV78t6Gaq0T23XgMWKdbDFOK7XHAzzaA,459 +material/templates/.icons/simple/libreofficewriter.svg,sha256=eSSxjVFQcSwUxj3o9qRbY4ay1u0NxC0OkfcJZ4k6ZGk,314 +material/templates/.icons/simple/libuv.svg,sha256=iLRTuorE0sN7kiTTEaiCvzcnB-pLXLu2tilmtFQrjnQ,15377 +material/templates/.icons/simple/lichess.svg,sha256=kprabsidG7vmrJIh4StkaiPvM9KYLiiVegemaW0ix3Y,932 +material/templates/.icons/simple/lidl.svg,sha256=xQOArrFRncMFcfim_jNPwwYhJH2NxSqS3PEHtoyehlQ,880 +material/templates/.icons/simple/lifx.svg,sha256=uyQ_apRtqQETYVb-RdykIf8SVBkjCnNuTv8ToYJNnjM,934 +material/templates/.icons/simple/lightburn.svg,sha256=xveiKdAKKVFat24G9V90B_FMwI6thDUiokW3JIWkfqk,3071 +material/templates/.icons/simple/lighthouse.svg,sha256=SRjwlgUm0OMMFXWSBHH779cm99kfReN3jiHndqRM5wo,206 +material/templates/.icons/simple/lightning.svg,sha256=IP-atIz6ihj7NB04cpQwXZzTbyBNM1Mz3rbmBAx330E,177 +material/templates/.icons/simple/line.svg,sha256=vfKYZAvRuGomHC2QAxcqn34k71OicGAcFPQTooT0JrA,960 +material/templates/.icons/simple/lineageos.svg,sha256=CVC2J_mFJ-yaphNZsMNdlJtinn_cY4BHZa0AZwOfjKY,660 +material/templates/.icons/simple/linear.svg,sha256=NHZiRwCtXSgIULp35J5SRc6A6Wnr_WwBwIyb_XBrfDg,421 +material/templates/.icons/simple/linkedin.svg,sha256=x_l7CVc-1aFkWut6gyw5pqzN7n5QbXPXxglVb6gzrEQ,515 +material/templates/.icons/simple/linkerd.svg,sha256=Xrs2fGbLPRZ9o0XtL6A2Kbmi9Bnfnj7X9EHRvRXdrk0,1465 +material/templates/.icons/simple/linkfire.svg,sha256=k8beLG9IG3CsIsWkmAumqIZ0h-youJtILnEEStHJm9g,996 +material/templates/.icons/simple/linktree.svg,sha256=DstQccGux1YgHL4sty5ujZfEx29XTKQlsha0XkLNzM8,307 +material/templates/.icons/simple/linux.svg,sha256=BaZSepuxTFQRfccDtqQqUjASpf6O5JGXiv4VIT1rh9Q,5467 +material/templates/.icons/simple/linuxcontainers.svg,sha256=akCHUYNyTsUciMl0cNq25KgCOaGhZOJfOWKQC_k7qn0,1038 +material/templates/.icons/simple/linuxfoundation.svg,sha256=lSrHd24-0ikbQx6L1GA9MbdUZW95leFXKHE-YUIuMfA,153 +material/templates/.icons/simple/linuxmint.svg,sha256=claoqOfflcMVFue4s0Ifa1UXex8ICl5gqsPwUiOxeRs,933 +material/templates/.icons/simple/linuxprofessionalinstitute.svg,sha256=N7Qi7I4SVHGuKgw5nI2u8NbhrrNovM62rqQ2DVZq8KQ,367 +material/templates/.icons/simple/linuxserver.svg,sha256=DpPblx9G9t8iG0dX056t0RpPsq4Li1i4HUcuRLsAsg0,1471 +material/templates/.icons/simple/lionair.svg,sha256=B6fvzvBZyPf5R-iUiDGtf2KEz43QQvRCIPGSVf5m_Jo,1986 +material/templates/.icons/simple/liquibase.svg,sha256=uuvVdw3GeNWVd_K4kewQXWd77F0oKFUIt8WQ0hUYPgk,689 +material/templates/.icons/simple/lit.svg,sha256=-p1aG8bagEU6b60MTfQI6Z6BT_mnTGqabD71YJBTAKs,205 +material/templates/.icons/simple/litecoin.svg,sha256=GZOGzmQrySk4xPAGcYJTuxYCNJf7We6GZUa7mkwq7EE,357 +material/templates/.icons/simple/litiengine.svg,sha256=KjX2pI0m4oxD4S3siIv1LLIiyT77Hc0E2wWrSJpuKYk,339 +material/templates/.icons/simple/livechat.svg,sha256=rp4FzBkvfeTWSgSl9U8-8mE09HEoRWaPlD4YpZ7YVwo,513 +material/templates/.icons/simple/livejournal.svg,sha256=a-IesfJuz05ieFMW54noKR0ZY4e3t13onwd6jGB8j00,466 +material/templates/.icons/simple/livewire.svg,sha256=0klimlklsp35qstyW0JYV5kZzTeahv-oYwVuowk-pPY,1150 +material/templates/.icons/simple/llvm.svg,sha256=ePUM69mxL8if-GZ9PxmFzzsqGKFXIkYD9ySQ-aEJUZ8,7129 +material/templates/.icons/simple/lmms.svg,sha256=IspxEwMgfdQZ4EhtMDaLzA8Q5hRBnfjOqEpUKMSU4kc,318 +material/templates/.icons/simple/local.svg,sha256=1yR3XAp0KwPJu8boxuwsc8eW77kGvIyNYCdRBVl-hYE,1718 +material/templates/.icons/simple/lodash.svg,sha256=WGvs_h5_j1N5aY795Xomv9ayz5clvNAHPmFFSpnwOqw,538 +material/templates/.icons/simple/logitech.svg,sha256=m-RQdlBp_1220SDS8mBbQqxku9d01ZEBabaWXWCzpDY,969 +material/templates/.icons/simple/logitechg.svg,sha256=d9UQHRwqkkHK4PNpQmw49d24HuYsWFM4jeEhcXirDBc,486 +material/templates/.icons/simple/logmein.svg,sha256=u5dADSZ7REs15iXfVR-prylMlEyQc35DUBByyEY_JqE,1918 +material/templates/.icons/simple/logseq.svg,sha256=iglgYCqoiIpC5LDXKM8KuCnkXAog76p3Eh4xEp7Y5Nw,849 +material/templates/.icons/simple/logstash.svg,sha256=Gof1QFkRNQv5NYphebvGtV-UBzu4F-qz1B0-kh904xA,216 +material/templates/.icons/simple/looker.svg,sha256=e7ZWQLVwuwVJNUHf4kGTpIXqXaotADLFWY4joH0qAc8,743 +material/templates/.icons/simple/loom.svg,sha256=iPLvJoTe5YcK1rJi3TC1dEOcfFNSxr7FL6lSJVnJuOI,495 +material/templates/.icons/simple/loop.svg,sha256=glrwfiCCBQaq48yGzsuM_UOzaE4eA1DQNpdKYVd2iV8,1099 +material/templates/.icons/simple/loopback.svg,sha256=LCrcNZ5UU_8yQsCuPjOyLWqxT9srsPglFjHcXLEapMk,593 +material/templates/.icons/simple/lootcrate.svg,sha256=PqNPM3hB8w3YqoIyFVn2NrRi1Vq9eOiSa2nvOABRcR4,1449 +material/templates/.icons/simple/lospec.svg,sha256=mYhZfWJNxb-Y7okvw8iANhmpN-9hYX_jn3zEYqCooJI,121 +material/templates/.icons/simple/lotpolishairlines.svg,sha256=6yY9VM5EBAN-nHs7iAXqywczNEtAXK0_1scHkPaVhk0,738 +material/templates/.icons/simple/ltspice.svg,sha256=OzCTZMT3dc3Jg50U74afPPdiMxb8KBTO9nZNb_tfB3Q,738 +material/templates/.icons/simple/lua.svg,sha256=mZzuV4qK6DNLva7aqGAExeRJI04bOO_UIm5o89Rh6xM,3903 +material/templates/.icons/simple/lubuntu.svg,sha256=W-wkJQcW82HUAsnDQHvRrjLw_Ky0nWEqn61pnVaVSDU,821 +material/templates/.icons/simple/ludwig.svg,sha256=nYzVjAVKX9vDaRT0b6bsOjpUXXK70iA-XEWV-1Hnf6k,209 +material/templates/.icons/simple/lufthansa.svg,sha256=XX5sDGTH2Yj2ZbNEH0YQjmWBB90zgZK3sCphTa5m2iw,1049 +material/templates/.icons/simple/lumen.svg,sha256=TpHDeWDc0ZNLwDms-s6E4HxuP6lh3BmpY3ZndOvaRds,1276 +material/templates/.icons/simple/lunacy.svg,sha256=8x5B0ENnZPMASxd9FJNWU1IHtu-DSymUkC22kA0gH1I,601 +material/templates/.icons/simple/lutris.svg,sha256=Zk5UjfvoegXPSlt60rHBChmc7K8-MgV-8tQzs0AGoxo,1927 +material/templates/.icons/simple/lydia.svg,sha256=DniJb32DIERenkxm7g858AAqOnxJwxeeKrkHDK4h3B8,388 +material/templates/.icons/simple/lyft.svg,sha256=pF0iV5R04XY8M_DcDqeo-aWgjtAJxMWoyrOXWGqkopo,890 +material/templates/.icons/simple/maas.svg,sha256=B4s24Crqfq18voeKku51vhmoxCwnU_j11W0CtuZYhyI,669 +material/templates/.icons/simple/macos.svg,sha256=4cWpG2305891BeYmNhSyywwv3Ao56CaKyhsWif2RqjE,1594 +material/templates/.icons/simple/macpaw.svg,sha256=QXYMCJwTVEnrXmAoUul2jP90ZCXjXUzEHKFiBNY0-kQ,1071 +material/templates/.icons/simple/macys.svg,sha256=ReE0D36vfQtgz3VK4lgu27hUh3BEteHtcM6l3VXkFT8,193 +material/templates/.icons/simple/magasinsu.svg,sha256=egej4dUm6CNKaZepPgRRZ9e_rUMbsaCC2sv7RyDAmaE,1167 +material/templates/.icons/simple/magento.svg,sha256=aUOt_sT52r2C-8teuEd8JW5SeOA6q9xt1EtDFLBZG54,251 +material/templates/.icons/simple/magisk.svg,sha256=La1e5z3vYkP4cAf_G0LaqI12s2SxqyBmvORXQ-oTIXE,2465 +material/templates/.icons/simple/mahindra.svg,sha256=EY5VIrxT-whaoPhc0atBfB0OD9De950_QlLppHSUyBM,1333 +material/templates/.icons/simple/mailchimp.svg,sha256=HiMdFSuegGXJAIMtH3q70ramLWsMU86PSGABY3ltjbU,4142 +material/templates/.icons/simple/maildotcom.svg,sha256=ZKI6H0qylQ5BnMPQ57CI87lgALs95nyk9PAkN0RTrH0,450 +material/templates/.icons/simple/maildotru.svg,sha256=5ZcgwDchCCbCZ8LWhfpBIRBO90RaByquFNvLmBFFdu4,780 +material/templates/.icons/simple/mailgun.svg,sha256=vbAbhdIrvrnBGepngmk6IBFCewPJ3Sl0rKQ1UIkh_Rc,747 +material/templates/.icons/simple/mailtrap.svg,sha256=LMPl7NWZx1Ust-43oCPmamKgrS5FBvGYeIoVFXXOfO4,813 +material/templates/.icons/simple/majorleaguehacking.svg,sha256=0olV08YYZARXh8waIjZGtDD7Pr2TLSl5SFo07cDuu0U,10120 +material/templates/.icons/simple/makerbot.svg,sha256=b00EqEKcmyGhNoTy4qEljy96zuG-WjwNxmYZBHsg87A,1113 +material/templates/.icons/simple/mambaui.svg,sha256=PxoCY5NVLDu-N8agOg3f0svkjW_D_DdrosrbKfBsVEk,1092 +material/templates/.icons/simple/mamp.svg,sha256=hNmUR7g29Qtr-S8SD6zyQ_wjCIaQfxauq2lZEsiduZw,752 +material/templates/.icons/simple/man.svg,sha256=RzDo9bZHtGKXJ5VWp3No6b8NUP6UJsUUSrUJal2WSkg,610 +material/templates/.icons/simple/manageiq.svg,sha256=PJivk7TihJ6172TtwMAxmP5qMEIr-gDLdptX7jn0V1g,643 +material/templates/.icons/simple/manjaro.svg,sha256=mTMJZePSkfVcqdSLDguI_CemERuT_M1Q5WNpevIjsCc,162 +material/templates/.icons/simple/mantine.svg,sha256=xRiJ3O2X8Vq7E2XY7vM8lyxqI0A0G64G5HIBJA56CsU,699 +material/templates/.icons/simple/mapbox.svg,sha256=6Ryho9_i1NkcgKY_fjW-xrzDCBE6Z88P4Qm18bDx5K4,389 +material/templates/.icons/simple/maplibre.svg,sha256=GVH6ZMVNFybfV1Lo7ip-_X__VI_eWpAL3aNTCLbE4qo,654 +material/templates/.icons/simple/mariadb.svg,sha256=TjBD6Y7uG4_TukWvmCS_9ZqUUkEusK1fJ3b0hT6lVuQ,1343 +material/templates/.icons/simple/mariadbfoundation.svg,sha256=twn3OM21oF40DDUy1sVXnAaO7QS0FX4BcNJNUznlamw,2264 +material/templates/.icons/simple/markdown.svg,sha256=aKzUdXfl0x2wfgViDhutf9y8GoIKzqa1N6taYBb7MgE,374 +material/templates/.icons/simple/marketo.svg,sha256=uuUSzA52iCy_z5QeasuI1Qss5DDWoRBs0C64YGvkT5Y,196 +material/templates/.icons/simple/marko.svg,sha256=fHkr_xumlmgfppe83xCfcTJ13l0lN1qmdNy88bkUgEU,249 +material/templates/.icons/simple/marriott.svg,sha256=p7ylM2raLttH1gRbqGiA3mp3slXyNwbgQCDv02Zq3cE,364 +material/templates/.icons/simple/marvelapp.svg,sha256=IqlW5kmm3nCqwDoz0QSztPTmmgqKYRHwRzAL89j36Pc,474 +material/templates/.icons/simple/maserati.svg,sha256=0vZPbWvCvcspi6wd4RkVRgZdZoqR4c9n9LwUSmhIdGs,1003 +material/templates/.icons/simple/mastercard.svg,sha256=gnIbfdUSrOOu_Eo48Y14btM4IO1yohDnjm6buVVQtZw,612 +material/templates/.icons/simple/mastercomfig.svg,sha256=9W2_e9jq7nyhZ_CDfKkLUoGzBcJuxepoHva6hR0-x_s,438 +material/templates/.icons/simple/mastodon.svg,sha256=MVUrhzsxv2QD1f9DwSHQzb_1IDttAi34OTZnz8F69WM,1181 +material/templates/.icons/simple/materialdesign.svg,sha256=WQEgGh61tyIseTkNQRObO0JAo9WpbXggdOUxhRvUDkw,547 +material/templates/.icons/simple/materialdesignicons.svg,sha256=Rdpiv9Gtt7rBhz1BQAwzXZmGX_ntZnpwtZdYwJ0gZMg,290 +material/templates/.icons/simple/materialformkdocs.svg,sha256=3_9rpJAHC71fV3pihuxzl7w8F4x2NhmQ4z55lD00a5M,280 +material/templates/.icons/simple/matillion.svg,sha256=rvjx6z_T9DwxV4g_Lb42HCNHd5P-3p2h-x13EDsoWzw,1094 +material/templates/.icons/simple/matomo.svg,sha256=ACvsc75jYaDYkTvpzGqaqVL2631Z1Up66qKv6e2Ody4,1029 +material/templates/.icons/simple/matrix.svg,sha256=HzYJmz0gTG_dsiUNtxU-f2Wu-SjFlXdm39BH38Zuxwo,908 +material/templates/.icons/simple/matterdotjs.svg,sha256=g5jqKAGYUeCKS77kyUJHaWd1emmsUS5vF8ik8KqbF2Q,3946 +material/templates/.icons/simple/mattermost.svg,sha256=RJ4HozUFgABLao7do-q1K2u_K0FtPCTWLjMeR7h1BVk,784 +material/templates/.icons/simple/matternet.svg,sha256=2X8LFoFcc3th0wSlkv5msisq_DC2THkcAU19bQVWLe0,1100 +material/templates/.icons/simple/mautic.svg,sha256=Rzl0n9An4vVp3N3ukdgxUQeHAOA5fsZSk5CEKwC3fts,611 +material/templates/.icons/simple/max.svg,sha256=bJLLQdHVrdNK_Wc2IBjQW2adc95OG9dL33wM_AW5Jf0,778 +material/templates/.icons/simple/maxplanckgesellschaft.svg,sha256=y4pK-B6bfLPaU1YxvLzSpwqvB6mQhi-itZD6p9H3UtQ,13326 +material/templates/.icons/simple/maytag.svg,sha256=yOyD7j1AzubgpUJRYhxFQpRWEWKenr1G56KzAgGlWZQ,2608 +material/templates/.icons/simple/mazda.svg,sha256=py_VCxJ6bNtFhTIeiYNAlSfnVkfCeLfYQ7hcDFMz0y4,1541 +material/templates/.icons/simple/mcafee.svg,sha256=Bh4yhOr3XIs3EJQ5IVc2UTSYen1bnURmjZ396BvhpoQ,189 +material/templates/.icons/simple/mcdonalds.svg,sha256=Es4KaFWJg9GJ1IAtpYxa1QWfRh81Waf40rlRdVaOXkc,366 +material/templates/.icons/simple/mclaren.svg,sha256=K82jQiXeW_U_bXRY1BbZsEbktN9J6OwEvjyLMHkDhQ4,1244 +material/templates/.icons/simple/mdbook.svg,sha256=mzoiNKDxH0DTe5sK4-LMGuLwu9CnZGRHzvFOC6vAKBI,1889 +material/templates/.icons/simple/mdnwebdocs.svg,sha256=AFmCSIUkmxQrSwcrAY1-qPIul81Oi7vqUceBgs2CC-c,195 +material/templates/.icons/simple/mdx.svg,sha256=ZyDJaOir2g7cGvdlr4vNLGdSFSKnc1RiF5ONysY7vhs,525 +material/templates/.icons/simple/mediafire.svg,sha256=Zw1PV4dkPXCAASisZwNLPZdbLbLHS-Xj_nV_6yo6Eg8,651 +material/templates/.icons/simple/mediamarkt.svg,sha256=iBTVRq-P-P4xIw3GIXHDYjySzjgdJiWdocmoD9NtJQA,2383 +material/templates/.icons/simple/mediatek.svg,sha256=gti1kBnIVfS5Ejr3N4HGSpQxXz4wyAhA_ZMvI4Goqgw,1012 +material/templates/.icons/simple/medibangpaint.svg,sha256=LIXW2gqF0c_ajMfg7Sn694Mvy62GwLXgJnFqrqXBP0k,1689 +material/templates/.icons/simple/medium.svg,sha256=7yEVmPlnW6QGeuSSbeb-kMZHlJR3XAfsIbL0Miwo_Rs,382 +material/templates/.icons/simple/medusa.svg,sha256=GByILcVkn2QguByC6rTS295UQuNVHcbO6BW-hcEDOOQ,459 +material/templates/.icons/simple/meetup.svg,sha256=70eVdrdrTGdf922U9mV8pdTabpDM0oKgUADn2vGTp1k,2434 +material/templates/.icons/simple/mega.svg,sha256=RS8mqBiJLLbVkdHYLkCcMTj96fiVTdeca9GoUpvvJrM,533 +material/templates/.icons/simple/meilisearch.svg,sha256=cLxDsEA7VcfKYwtT-GxO1UUhsdtxWXEPsPqS4f-wCik,399 +material/templates/.icons/simple/mendeley.svg,sha256=tdn6B1ZlUQb98Vt5djamZIO6NaSKXT1Gu-fvPwTduYk,1189 +material/templates/.icons/simple/mentorcruise.svg,sha256=QYjsNWOXl_a3MCwYZHshAHwAQyMYu3lhdQjn33rPUnA,333 +material/templates/.icons/simple/mercadopago.svg,sha256=FEjRWFks4jrS4S_8AIF8YP3H6nXpeAPIWxj6aOLeI-A,4140 +material/templates/.icons/simple/mercedes.svg,sha256=lAUIXzlmQL9HYUFXK_0Wt0WSnAW70yWL-iyYNiYBJlA,409 +material/templates/.icons/simple/merck.svg,sha256=fTKm2sNxzMIsyP8-g9D1SIiS_OWmU-wtIDyIHiz5te4,209 +material/templates/.icons/simple/mercurial.svg,sha256=HGxw62x_ZBgLbNIwM-ZVQg_vpKWfV1JB1mTqAFeWMls,3431 +material/templates/.icons/simple/mermaid.svg,sha256=mkApvMppvXKclqKertgWBhqqPh6tq0tM8OfF173oVUQ,291 +material/templates/.icons/simple/messenger.svg,sha256=4e0sp67yD70jEPs7_4h1e8Ov2oI6qHo3nnAyQX3fJWA,500 +material/templates/.icons/simple/meta.svg,sha256=QjFE9hWlo0yKxMYrnxU0QU0d-gf-VxEUGlhp1DcSpvE,1294 +material/templates/.icons/simple/metabase.svg,sha256=2cX09E1RgLt5a3AC8JJF_Tw8eo02ptou3FNQp9034j4,3668 +material/templates/.icons/simple/metacritic.svg,sha256=M-2-D1n2PhSVn0BAH4bLMGPDJKpFrDmu6BgietOf91M,714 +material/templates/.icons/simple/metafilter.svg,sha256=mNPSCRaNseBO2Fj2q9cPn7RpcOQPZStR7uwudYAV4tc,315 +material/templates/.icons/simple/meteor.svg,sha256=ksCIGVz2mKNUVlz2VT1oS1lLiQeTncdj650Yhs-Mrhg,651 +material/templates/.icons/simple/metro.svg,sha256=LHpN2YC13a1RgUzUQWv--f8d17zYAzWpRTrxbBr5u8s,874 +material/templates/.icons/simple/metrodelaciudaddemexico.svg,sha256=WLTtXGPfHlPzO26Jswrt9ojgzGXLrgsIS5awrvQsTtk,396 +material/templates/.icons/simple/metrodemadrid.svg,sha256=G81j-3ZmzZmq5dmG7mDpkZIwn_RrVhyf51tIK3BJLZA,1130 +material/templates/.icons/simple/metrodeparis.svg,sha256=rNej90EUvlRHgW3wuFM7Ef9s24JnyYWF-B4iRYcYj8g,956 +material/templates/.icons/simple/mewe.svg,sha256=5giTmx5zFMbmscR1CmXHDZa-dhQVyRO6srQtrcRPN4c,1770 +material/templates/.icons/simple/mg.svg,sha256=3xnJwytDQUUUr5oj7ol3MQYAIyJfLolPyU_8LW8A6DQ,4786 +material/templates/.icons/simple/microbit.svg,sha256=5KUnSSJ-LqNg9KEhnwLjGAct5qMpMbFA7Iv7tyZVbak,478 +material/templates/.icons/simple/microdotblog.svg,sha256=paQjs2T5v48G8QLJ7LqDfveZS23911kRvYgkyYNFENs,525 +material/templates/.icons/simple/microeditor.svg,sha256=LLrmaB8qujRnVFsH5snbEZ7mA4-I9_gw5gQEoDLGwds,2123 +material/templates/.icons/simple/microgenetics.svg,sha256=Iu-mxT2FNrShLfaDqeJyC3qQlz97tKry2wFRbAaoX1k,1436 +material/templates/.icons/simple/micropython.svg,sha256=j8PvEY-v2QgzJND1C94xSXd6JVm4giM8OrMV-LLeWsk,193 +material/templates/.icons/simple/microsoft.svg,sha256=A54w8-s3ovOCeJ6y6Y5E_a_jRwjQKrMMGcACdHGA3e0,171 +material/templates/.icons/simple/microsoftacademic.svg,sha256=ebMWxGAYHBtbRMugCCjaOyssj2ssJ72AEaK9vw0rDtc,511 +material/templates/.icons/simple/microsoftaccess.svg,sha256=oRllGCxHnnMN-kbR3YE2H10aqEaG3rAAbAho3UYee7Q,2033 +material/templates/.icons/simple/microsoftazure.svg,sha256=vaRrepGPcNCdiQ56YwIVATx3LIIa41pHBkzC0RPnrak,552 +material/templates/.icons/simple/microsoftbing.svg,sha256=GkJto8ZnNKXjUlIJTL8fDkoJn_cwZ9Pu36kvGQ-aduA,922 +material/templates/.icons/simple/microsoftedge.svg,sha256=OuLmopTrUIvtTTwcEL6wQBjNMmj1WYXESCITkVzDyZI,1446 +material/templates/.icons/simple/microsoftexcel.svg,sha256=WzRFjzezDrnPDdiiAhzYhkfB1vCgyvPhXiF2SZ9HTJ8,522 +material/templates/.icons/simple/microsoftexchange.svg,sha256=YB0uiyF-osSLZOqMdW0lMyW4-No3yRs-0lRXIJh-tbw,2220 +material/templates/.icons/simple/microsoftonedrive.svg,sha256=SdJ6V50W1iIE3LSIGLaQUPPv2i0tFEhGNszv5YDMGpQ,1287 +material/templates/.icons/simple/microsoftonenote.svg,sha256=sUf7UFi4EeLrJDOnNGMjV6CVx1i_UsvBHD_QuJPOYas,427 +material/templates/.icons/simple/microsoftoutlook.svg,sha256=jJ2gzKW7Kf7tfENlDLFpYjm0eHznB9cIkHWjGHp-MaM,974 +material/templates/.icons/simple/microsoftpowerpoint.svg,sha256=aTKnjkWX3SPYcqWapMSybtpH4CCA3aXVUy0e7Kjyp7k,1277 +material/templates/.icons/simple/microsoftsharepoint.svg,sha256=AnF8F3GXJRws4idaZXoQNHstaAIQeroZED-NeE6SDd8,2215 +material/templates/.icons/simple/microsoftsqlserver.svg,sha256=EoeIyaIlHu8RbB58sFw7wVTwnJNcMbGXMqUpbLD7L8g,9366 +material/templates/.icons/simple/microsoftstore.svg,sha256=xL0o4KK5whzJpONE50ywFqBQOzVx0fcKxuOPPhcR-sk,463 +material/templates/.icons/simple/microsoftteams.svg,sha256=IAdl7WPNXLrovVtHf09kPGZp4KZH0Ai8xHSQoLQr9hg,1809 +material/templates/.icons/simple/microsofttranslator.svg,sha256=jBfvJNVA0Gb2IyWxjpFavN35VRoWOd1etPjRdrGP3oQ,2854 +material/templates/.icons/simple/microsoftvisio.svg,sha256=-Vk4mAKOtCfdL4eqkk-v3xIEBza9rmTn9P8WAndCeQQ,1231 +material/templates/.icons/simple/microsoftword.svg,sha256=qH3rk7hmVIR7S9fH2k0VZHFNjZTA8p3zVgD0PNBxpMY,470 +material/templates/.icons/simple/microstation.svg,sha256=epOCLI6ZdnFpZw27wogM6h-WKK1PfguEzp3bAHrnfNE,548 +material/templates/.icons/simple/microstrategy.svg,sha256=sx0Y3-Slece9x13CRXt-I_vJ-3D58OVfKsqRjfSnv7k,162 +material/templates/.icons/simple/midi.svg,sha256=fcBhW-UYZ5KT4CAwHkUHOrf1ZlHKylZ-4k7ZxUs7nQY,352 +material/templates/.icons/simple/mikrotik.svg,sha256=JFd52rON5qZN-RSUfkUv9yiqc_TAoNPwH6r-bAYt-HA,1326 +material/templates/.icons/simple/milvus.svg,sha256=qRbGHbiwW06durWerNdsRsxQql4B_wKNhyFbw8kdiSU,1406 +material/templates/.icons/simple/minds.svg,sha256=RhSWO9IA-XUsQibbtWnVd_inaA0OecB-KU2XXyBI2eM,3063 +material/templates/.icons/simple/minecraft.svg,sha256=JSkUlqNpW6Hvp0d7i7VQCMI6GpuixIX-Ay1yj93fpZk,2056 +material/templates/.icons/simple/minetest.svg,sha256=W3TLexjsoT4JViepZVd6YWIIWw4s6pM8e5JimhRpw4A,3776 +material/templates/.icons/simple/mini.svg,sha256=mgfE2d4JYqltSwtOABdXDpCzZHxXXd4drKTwXenErTI,1359 +material/templates/.icons/simple/minio.svg,sha256=grQKRlKTaCj9QWRk_MgL6Tf7-xY6q5Q2QOLQ1PfLlq0,598 +material/templates/.icons/simple/minutemailer.svg,sha256=LCH2ArV4ArkZSVPaOz2rGMSgfe3bMhsQ0zoJ4WFWtj8,168 +material/templates/.icons/simple/miraheze.svg,sha256=zyh0tqjgCGjxgOW9bG2CZd_9LjX-QA6oacUQzwTU6nE,597 +material/templates/.icons/simple/miro.svg,sha256=6fTPBpDHFYP-A9h4hojHRcJf6OHt-tcm2E3ZoNDNrj8,229 +material/templates/.icons/simple/misskey.svg,sha256=NF9SFvf2Mhsngn_EYX32_zuDA9kB0_yFQDsVryphRHk,1199 +material/templates/.icons/simple/mitsubishi.svg,sha256=8MEqvH0iyz7Fi4Z0XyY4Mx1Xgj73Jp24op38Rr5UiZE,146 +material/templates/.icons/simple/mix.svg,sha256=aweotVZcW2BkZvTmlQPQI6hQCm5E90KUm93vPCLihWc,520 +material/templates/.icons/simple/mixcloud.svg,sha256=hTZk5GE0sRXORD8B74Crb2XU58saic10lU0ja2aCdlU,365 +material/templates/.icons/simple/mixpanel.svg,sha256=sYVCscpA39nkuBgVhKPSWbYMPnIaeH-wB3nuAOLuhy8,858 +material/templates/.icons/simple/mlb.svg,sha256=UqWEZ_ZpWSoMLcWb-64hadtsoytldBioRhlqLI7g_fc,1138 +material/templates/.icons/simple/mlflow.svg,sha256=zb4HOBXvD9ncdQoQEDiqNqtLvoBWtP1NN-3FUso8r5I,321 +material/templates/.icons/simple/mobx.svg,sha256=2qLK78-84nrEcxJUBL_vBVQPNqFZ_v-cSgv9xTAZFzM,679 +material/templates/.icons/simple/mobxstatetree.svg,sha256=wKrZVwv-nq2Kv3YIJchnp-5Dsc99lW9GEgKNlitIX3c,751 +material/templates/.icons/simple/mocha.svg,sha256=YoUw8w1Mrb2ivZUj66fYkDwquSuSdsUflJ78t9LGF7s,888 +material/templates/.icons/simple/mockserviceworker.svg,sha256=Lx8aIyqNt5xKOymSvbfMRcC6FezcC782s849JNMXjdk,607 +material/templates/.icons/simple/modin.svg,sha256=fkuDkkzxs0npTLyPK0lR8CEN6hCSaR9w_476h0yeUWY,2461 +material/templates/.icons/simple/modrinth.svg,sha256=0m2EHo1eIiJ17J62xVXxhe2rXqSIM7Ludq0ELQg9Tos,1415 +material/templates/.icons/simple/modx.svg,sha256=ayF7kmA_GJQhlTL5tQF4JmRcoYqQOfgha1DQYtAeHBI,243 +material/templates/.icons/simple/mojangstudios.svg,sha256=OIUCEBVXLQMIseZFp0Hg27-38xDsN-0mjO3BQ__Cxh0,4305 +material/templates/.icons/simple/moleculer.svg,sha256=QA0AAwdSZOzQf5fA4l-4EcbRZS6rcZnGGPXqhtwiLLY,775 +material/templates/.icons/simple/momenteo.svg,sha256=J9CW9RZlUDcDpMxCxZ54oKXwddAicOK7o5KXyHedbz0,1096 +material/templates/.icons/simple/monero.svg,sha256=xGMb_7KY7syTt3DBv0euXuntD-HNhobPQqoVydOrswg,381 +material/templates/.icons/simple/moneygram.svg,sha256=fuzk69Hp4XPIsLGQk0Nlqyx24snIonpALeoDqMhzMyQ,572 +material/templates/.icons/simple/mongodb.svg,sha256=496vggxwcujyZMlnegf_bZm5E5_sNA3YE65tDCu1r4I,497 +material/templates/.icons/simple/mongoose.svg,sha256=jPwUG11rQ1RWqPBPHQUCw_QB-rl13wDbrt-vWaZ1SOg,2579 +material/templates/.icons/simple/mongoosedotws.svg,sha256=uf9LzzPAzoxyw9ztEX7vaGOkb2pxS34N7soU-m2DdjE,1328 +material/templates/.icons/simple/monica.svg,sha256=N_CM_tsYeFkZ8gCnF-dESwkSLXNSp2JiGGvF-EbSUDc,1280 +material/templates/.icons/simple/monkeytie.svg,sha256=GLLKsVpPIJejxIaHi5tXwbN10EXvpc0UrzpTjq6RgRs,2910 +material/templates/.icons/simple/monkeytype.svg,sha256=-ubSFNnEwm17Gd04B8IXyPVccl_h0bEfIBOtMxIwAzE,925 +material/templates/.icons/simple/monogame.svg,sha256=6G2jHY63XDgDcwHaIpJDg4syVY5O4Xek19cip2SjNgU,396 +material/templates/.icons/simple/monoprix.svg,sha256=BPhLerDzJY0a1DyFQX76VOBhuLKhSKQQdot6kFJ07GQ,329 +material/templates/.icons/simple/monster.svg,sha256=R0-QAJnWDnEwIcue6CACMKO6H2uq6gfbJ_eA_zcz3C0,136 +material/templates/.icons/simple/monzo.svg,sha256=L-TmRSa8QBMxE0lqmPRd1KQzn6nuJO0goNwHW160AS4,512 +material/templates/.icons/simple/moo.svg,sha256=-r7vAemr5zwnVrD9W8pIGCjN7u9nS3JI5_vpPq8pPKk,797 +material/templates/.icons/simple/moodle.svg,sha256=t2dyOIQdX_wBUp2xPKDoRajVxmBuWKUcoEqhKKvrUhk,894 +material/templates/.icons/simple/moonrepo.svg,sha256=kHqMLZLwAcqUBHx1LuqLv6tQYR-2-b7q7Ui6a289mU4,513 +material/templates/.icons/simple/moqups.svg,sha256=q3nMxlT0SMO_ldR6k9tZ-17VGMcn3WJj_oTEra0526E,1739 +material/templates/.icons/simple/morrisons.svg,sha256=gAY5mQFWSRMC5K8GDGscAXOv4sSgnw5MRHr8zStXpoU,4030 +material/templates/.icons/simple/moscowmetro.svg,sha256=hgMWurN_TVYvIyIqzLqEyAkPFAlKlAonDYs7rty0lC8,562 +material/templates/.icons/simple/motorola.svg,sha256=kXXEaBRG2Qvb6zmGYb9dY7aGmjX82bX_rfhFUJd6S1o,532 +material/templates/.icons/simple/mozilla.svg,sha256=WIG7pb0YN7E__xD8BHCWykCoveSRTG5C5xLIP7lGsVc,458 +material/templates/.icons/simple/mpv.svg,sha256=LOErNjTZ9FfqJbDXc7qOttNS5FaGIeQdOL6cQTxmliQ,461 +material/templates/.icons/simple/mqtt.svg,sha256=FWd-OU4bi8rzDq-QePH-LSig1nxcx4vQCYiTryROHBs,536 +material/templates/.icons/simple/msi.svg,sha256=c_tKDyENeGS89vClj3qL2eqi5bqfw0soqc5Mt0FRGus,8253 +material/templates/.icons/simple/msibusiness.svg,sha256=PO4ubAEQw4OdRN1LQaGyh64AwZmuenFMe3wSw7ii9Sw,698 +material/templates/.icons/simple/mta.svg,sha256=uiGQOuESyk1Nt6MyNKS-hE8ABUmm5kR-WasWEuPwCAA,627 +material/templates/.icons/simple/mtr.svg,sha256=dLig4Pt36SaxLX4r0N29noM-MNrWRFLnPBQZvXYm0mo,692 +material/templates/.icons/simple/mubi.svg,sha256=mqUKMy1jJigca-7ZbhO87Babfyb357mkhes2kTyup9M,941 +material/templates/.icons/simple/mui.svg,sha256=lXWklgdehBkqaWl4rCwxyabgXbVCPPOeYU_Srun35wg,1531 +material/templates/.icons/simple/mulesoft.svg,sha256=7Y65pi6GvVmre_E8dNBfYRdZknh9-NWTbEEtA5UfbH8,700 +material/templates/.icons/simple/muller.svg,sha256=TzrPAroKVxGysmoDsfH6Jf8VKUukRRodGcwtsI3w5gQ,1961 +material/templates/.icons/simple/multisim.svg,sha256=CK2YC5XQN5Ivm3SYwX2xLulvEe37AziwDDgqYRDM5zs,1340 +material/templates/.icons/simple/mumble.svg,sha256=YCUAfFMEWFKqW9r1qaZZhpdrZ6soRwZoE-pJIhHz3oc,2322 +material/templates/.icons/simple/mural.svg,sha256=gydCmUTPsBZZ6hJ9gM76QEWChJMOkmW279WxOGq9I_o,535 +material/templates/.icons/simple/musescore.svg,sha256=e-867uEfh-b-nBYQw0rFlcSXpTNUeopmck-dM5bflGM,2795 +material/templates/.icons/simple/musicbrainz.svg,sha256=znfJvzAtf9QkvSOjLJDi_eR1H6dYOoKu5V9jg6chm_o,2673 +material/templates/.icons/simple/mxlinux.svg,sha256=BA5hE06UskfKWqAyQ0sOM3MHwaQYgdXawgS4-ovXe64,457 +material/templates/.icons/simple/myanimelist.svg,sha256=ym2Chcp9uwAqBMJVfOh2AtBiAyRgvM9Ma8BVMI8ftJA,713 +material/templates/.icons/simple/myget.svg,sha256=_b0-pw_kLTz9GOIOjwtFUI-LRMAGgObv9B1x80TodCU,217 +material/templates/.icons/simple/myob.svg,sha256=eL2yI1nwhsHphIloCh_ycOCE27jbh_8B3ost9oWzzAU,2583 +material/templates/.icons/simple/myspace.svg,sha256=DmysMlmyAdzk-UGctRbQRLe_aU09we9i6G0aGPTl4Xs,867 +material/templates/.icons/simple/mysql.svg,sha256=OLiyD_DTnadaCj3FVTGlYsBdqr1GZFBh8DDbzHr89zI,3607 +material/templates/.icons/simple/n26.svg,sha256=MJOYBTdfxoqVPHJzpw3zn9zk1Nq79Yghw7fzvksrvi4,1075 +material/templates/.icons/simple/namebase.svg,sha256=KZHNegpCu6CGOx2TUM55DTb_a2z4cAwYnlvTNfuRA84,346 +material/templates/.icons/simple/namecheap.svg,sha256=-DWoz1SYh3URw87oM1gLhbIXthigBk_2zWv_yXqFepQ,654 +material/templates/.icons/simple/nano.svg,sha256=sUqN_KC3BJ0SlRsEON-Bw3G24mwpwDKAJAPo7pFKeAU,757 +material/templates/.icons/simple/nasa.svg,sha256=Nki42_U78Ij0_7Myie5GR991x4L2G20WtLMoBEBsZB8,1435 +material/templates/.icons/simple/nationalgrid.svg,sha256=Jene64cxn4eCU_S7fYN4AJ_DjIIOoOeyxqa5D4ZrBEs,2609 +material/templates/.icons/simple/nativescript.svg,sha256=_n3ONdD7drETHbXmPO2w4i1zu8De-6j-wDLrPIH1bcE,650 +material/templates/.icons/simple/natsdotio.svg,sha256=ZK8LPN6xe0UY_r3q-lBCTIusjnzCAnc39GEYwZNLYQs,239 +material/templates/.icons/simple/naver.svg,sha256=5s0vSoFG55DcnNOJbMcpRj9GaeIg7Dn8Aczai1j2hV4,148 +material/templates/.icons/simple/nba.svg,sha256=8ZnpQCYDWeZL-ydPskcg6t_ZKknmwtWrUbAYChHfiZk,1889 +material/templates/.icons/simple/nbb.svg,sha256=W1C5nTxl--ePzGgceBG53QLUq84KpcGcziteJo-GuUc,983 +material/templates/.icons/simple/nbc.svg,sha256=seuVXeQQYLYwNo8RrVG5LqSo7KjEykzwbFlA67L8wQs,888 +material/templates/.icons/simple/ndr.svg,sha256=XKcZWCv4BgmqNk9TVLVAdCuobKU-0PB8NSUVBbnX73s,608 +material/templates/.icons/simple/near.svg,sha256=_4Jks2PczvVhIVF36UDqaa4Z6Z8Qm1bIzYUBBTH5obs,514 +material/templates/.icons/simple/nec.svg,sha256=F-LCQImohvoGW-dvlaeQ568GynEVhqz-B2Mx2xWTZKQ,752 +material/templates/.icons/simple/neo4j.svg,sha256=HebanXywetaTmTFu-RWL94koKeESUK13fNhEEDbNeSk,766 +material/templates/.icons/simple/neovim.svg,sha256=cVrL_C8QiUeZ9ePyazR7q9pjnqGdXNq6Ax9FCa08akQ,312 +material/templates/.icons/simple/nestjs.svg,sha256=8w8yb1DvN0qhaJks5EU4WdapuGT6kC-CeHwfvUIPZJM,6285 +material/templates/.icons/simple/netapp.svg,sha256=B0QiY1qYfuIKmnzi7kwMWTv7t0MV3tJaDHCKd_c63JQ,107 +material/templates/.icons/simple/netbsd.svg,sha256=a__zh-yZzO69bbrunTGWmzktwEwldaCxHG6tWa11bdU,4350 +material/templates/.icons/simple/netcup.svg,sha256=ptQDqphbQErNd0rnQUJCzdojZT1Q0RReAzakOzdrKOc,353 +material/templates/.icons/simple/neteasecloudmusic.svg,sha256=No0XhDLn9iFw5-OnhUH7BLLwFmuWwbHtSU8Ad5ZqSbk,1291 +material/templates/.icons/simple/netflix.svg,sha256=so7urq3FxUuvN94Ekekg_kmCB-S6BFTJviuREPFVxzQ,302 +material/templates/.icons/simple/netgear.svg,sha256=p11vm1rtdOzYPZMtWBaXUoD_Nael8hBXxfdkP7ohoOU,1373 +material/templates/.icons/simple/netlify.svg,sha256=MGti75wI5jclRP2Kpb5GSxyZ_UrK9jjM_vK3u8uPNyI,623 +material/templates/.icons/simple/nette.svg,sha256=N-_W05QHH8Yz5LcpIbCFXkq240irTEcZmJhil73x8uU,3306 +material/templates/.icons/simple/netto.svg,sha256=cfro7oAd6R1YvRPN5wyZOKaq7-TWoBIkGRMwIqARIzU,8014 +material/templates/.icons/simple/neutralinojs.svg,sha256=SJuBXOCO7uCXJ0982eoBcjuF5uInuNNcgjN2p9HjDvA,4587 +material/templates/.icons/simple/newbalance.svg,sha256=Y10CNyLoPQ4XuNvml4Kr_EbYRoG_10kSnmTJ12EJm_Y,803 +material/templates/.icons/simple/newegg.svg,sha256=aCSX2_8v2r2lYstOEvo_d5BrCjEhlqrNFDEg7uL8Nt0,5387 +material/templates/.icons/simple/newjapanprowrestling.svg,sha256=r59x8OgMNmY3S-fO-S5TzOrNkBLzRQrBE8EhVr-MmIY,25572 +material/templates/.icons/simple/newrelic.svg,sha256=-ivJHhDh2nVHpfwymvoK1Jjp976NzCtdTFVIrqbPR48,206 +material/templates/.icons/simple/newyorktimes.svg,sha256=o43myhRNAHqkvzTbJqVqk5ISUA2Hvg-BC_V5OTzZ1b4,898 +material/templates/.icons/simple/nextbilliondotai.svg,sha256=Xf9lW1M9LjUtftegVQ7IAvS4nIIPILBKc4GJdjVRRDk,687 +material/templates/.icons/simple/nextcloud.svg,sha256=FOBkU0-vmXW79HlfsXaDBlOPnHos90Nuz3Y4Zsb6O8k,821 +material/templates/.icons/simple/nextdoor.svg,sha256=2Y2ZDgQdKtYAQZ3ecs_tIKQu2EZKHvBxUWk6KCdCARo,2537 +material/templates/.icons/simple/nextdotjs.svg,sha256=MyCWll4UKwpssyATuZ0S8beHTLd9Bbe9ovG2cg5qMEY,1264 +material/templates/.icons/simple/nextra.svg,sha256=foPsX6nxOq1Ki5b7OFvPaIagqgNmfNcSvzxe7N_ChoU,599 +material/templates/.icons/simple/nextui.svg,sha256=BmLpbmu00BS88In43kjBi9iu7iWZvemuc0IDxUS1xeU,634 +material/templates/.icons/simple/nfc.svg,sha256=Q-avpt6VSd70tSvD9_z1y8rOeX7Y5lVY2yyAaZ62tA4,833 +material/templates/.icons/simple/nginx.svg,sha256=M25bjdzBc_sBqdCBMg0JfTMg0OC1xrVC6oM5M5IozN4,382 +material/templates/.icons/simple/nginxproxymanager.svg,sha256=vnCZqpMRGRxCvOkNcstkfSlwcZ4jLLCqMMTDerPz32c,2663 +material/templates/.icons/simple/ngrok.svg,sha256=hqU5FHjhHzza6YZBzrXUp-CODTcSv3y8J8yuaL9uihU,1051 +material/templates/.icons/simple/ngrx.svg,sha256=6ZmjGzYsUfqulGUP7ZBBz0m456OVkyW9oNcjHk3njhk,1196 +material/templates/.icons/simple/nhl.svg,sha256=RzDJ3snRB7_i-nB1Qg9tolr8VfbUOFsNS354LTrYcR4,3365 +material/templates/.icons/simple/niantic.svg,sha256=FinwAObTC7VVH1S9dLyQv6CBZHiiSV-2sI3PEM4DuQU,3169 +material/templates/.icons/simple/niconico.svg,sha256=AdWTMJWxf1cJPXMdx8ItEJVa0aGqfoavun7hRntEuh8,451 +material/templates/.icons/simple/nike.svg,sha256=6SUUVw6h9itjKuw_NdyPgvCTlhFpHB7CAMonLnMbWqo,368 +material/templates/.icons/simple/nikon.svg,sha256=PBBhEzO-OcpHEHtEZVeg-x6_VAJ0xiLNIB8Irjc6vc0,995 +material/templates/.icons/simple/nim.svg,sha256=8MzjJjXBSR2Am29HXvlsFH19I8_vZcRyq5xCQwkXzkU,762 +material/templates/.icons/simple/nintendo.svg,sha256=T59ejfXwL066GzUleEbifSgs8u8Q4X3OXQT30AhKKxY,133 +material/templates/.icons/simple/nintendo3ds.svg,sha256=WlzojLT29isKPCuuLyr0JiNc7ewfG5060WS1xtuGjpg,978 +material/templates/.icons/simple/nintendogamecube.svg,sha256=pRwsQiJKLbnegA5okoXkJrbOlVRaf06T82Ll7o397fQ,414 +material/templates/.icons/simple/nintendonetwork.svg,sha256=4IB3Y-2TIKhdEfa58X39v1P2ThT4KtgoOSMM774qoP0,872 +material/templates/.icons/simple/nintendoswitch.svg,sha256=p3umTTIFQzKvKdEIPx51u0p3QE3S2CRWLmADTERfRi8,676 +material/templates/.icons/simple/nissan.svg,sha256=hnGEXRh3D5Wwo143xGyupOcdvmskxPH2ShVZxJjOntc,1782 +material/templates/.icons/simple/nixos.svg,sha256=3fJAU1br_JwgqBUbwvWO-VzC9H4LgY1pjuDVkS-uaB0,768 +material/templates/.icons/simple/nodedotjs.svg,sha256=jP3-d91t5ejTsG0ZgDcZJMjrsfThy6xgeuZjKenxQRg,1325 +material/templates/.icons/simple/nodemon.svg,sha256=uShgcqFW4CRuv6EZ3taUlQ1gdUNCf6yMXx1NZRJw5W4,688 +material/templates/.icons/simple/nodered.svg,sha256=FpnUzzhYIRpzPq7LuitydVdb0rYOLJsm3BS5Xofn93g,1137 +material/templates/.icons/simple/nokia.svg,sha256=yGTHEYPatp71Wef-ozYQqExl5xEhWtHjetg40UY3LR0,567 +material/templates/.icons/simple/norco.svg,sha256=9xZYWCsSaormOi50iu6oD8WD1_9lvb1EWqYODESIwdc,291 +material/templates/.icons/simple/nordicsemiconductor.svg,sha256=16slj1Cgs_FeZIMRj0F64laxncqSpg6Nky6tjsQplJU,694 +material/templates/.icons/simple/nordvpn.svg,sha256=lL1Zx5sSueKD7kIlH7qFhwtwey4TSjMxGIJ6sokoIL0,292 +material/templates/.icons/simple/normalizedotcss.svg,sha256=H2xGEeTeFjmjri88ZPIFouwSu98DXYJWW0ZuOTAFPZA,193 +material/templates/.icons/simple/norton.svg,sha256=3-Fvh1ZtQGqV2eGd5RITvw9Ss_fU3hVJpnnB4wRMHV4,538 +material/templates/.icons/simple/norwegian.svg,sha256=KWyj01cMdkT6RFAmYlkrM2DTZQ4t4vxBprqXEvEXRyg,2003 +material/templates/.icons/simple/notepadplusplus.svg,sha256=0SVWYhVY8BR1ZcHllDOBT9ZorhzAW9p2UZyoFXd62fM,7252 +material/templates/.icons/simple/notion.svg,sha256=21oxUi5za_N_IYHIejhlt9yUtr2x3DPrb5hvp-Xh4bQ,946 +material/templates/.icons/simple/notist.svg,sha256=KbUXGqsrWziPgCK3bc5DDyYVSOkX_slAU2RYRl4pJXk,837 +material/templates/.icons/simple/nounproject.svg,sha256=lwU7T-Z7u5PfNjZ0rUN_Dpy76MFdfqIpj57RHI-FqRk,376 +material/templates/.icons/simple/novu.svg,sha256=zZvbquSJwJZEHgQ5O5ipDe2gptbVeFV1XuSd4EwRDEw,498 +material/templates/.icons/simple/now.svg,sha256=wxGiPAFBIusQ-FCSqUGWOdLPpH30gCPhq8iBQ5W-C08,887 +material/templates/.icons/simple/npm.svg,sha256=k59DPL5s0z_TZk7bX--BtTsVu6okmJoXPTgtwH0Fxqo,288 +material/templates/.icons/simple/nrwl.svg,sha256=ifoK7wKpZol3-z2OAKsTees2H4JhKwkj9SCe4qJVm1E,2838 +material/templates/.icons/simple/nsis.svg,sha256=Vmo16IksxV-o2Xaowe7WYv-URdrQcOj-dX3Eg0K7iTY,682 +material/templates/.icons/simple/nubank.svg,sha256=OVUi71OqCPLCmjqhDf93AnRA8vO57NVhCGwhZfkdHB8,838 +material/templates/.icons/simple/nucleo.svg,sha256=z3m72RGcJWqEgq1Imb2SvdQY_hwiP2CGWnh_3s0iImk,565 +material/templates/.icons/simple/nuget.svg,sha256=1PZT-XkpBVJaXVvR9YmqtaJHJEgDNszIi2Sz6k1uRv0,425 +material/templates/.icons/simple/nuke.svg,sha256=mq8cie5lfRRa2-Zrlw_Esan7owSDqH6JvxxsntD7b4A,1175 +material/templates/.icons/simple/numba.svg,sha256=09JszcyucqVkTqyW5OTUbi12gyD4egeYDlXCIJo_TOU,613 +material/templates/.icons/simple/numpy.svg,sha256=XAqP2lllSlLc9s4z8EhytG8hCq2oZq2w3zUFeiOTDN0,642 +material/templates/.icons/simple/nunjucks.svg,sha256=791kcvfvZrSQHsnw6u29-vrR4yWJTblmSoBYHcFzwQw,296 +material/templates/.icons/simple/nutanix.svg,sha256=udsDiavp4nY8WB-GqfS2iJVM2N7-9w7TcKtKivjNlDU,665 +material/templates/.icons/simple/nuxtdotjs.svg,sha256=AoTppwSrtlxGYoK1crN4n_MVBMQCbu0COil6lb6dvqU,727 +material/templates/.icons/simple/nvidia.svg,sha256=Bm5fHxVzcAcuANnW0aP_-qjPOloStaBHnnr1tG8wmKE,846 +material/templates/.icons/simple/nx.svg,sha256=ysEDjdW9JrS4YHfxnXbFxRt936Sblz9lkAtBHWo6BcY,1093 +material/templates/.icons/simple/nxp.svg,sha256=1kgqbxIr7g030L9LoByGdbd2kCtQz04A097BHpu5XNw,526 +material/templates/.icons/simple/nzxt.svg,sha256=Riss-Jt34G3dUUe4m8d72z8IKo7m-fHuv1ug6Cv21_k,413 +material/templates/.icons/simple/observable.svg,sha256=beF5aaZ-w5WnloRZlmP0rnA5zpoxFwMr60nKYpIIlnA,891 +material/templates/.icons/simple/obsidian.svg,sha256=nllmKDmAPWApE4JqbooeOt83SHv9teXZRcLX92mlawM,1287 +material/templates/.icons/simple/obsstudio.svg,sha256=OyuGx95GV-5r9MEUEQStqNBtVibQrbsoOGxIKY9Lnr4,889 +material/templates/.icons/simple/ocaml.svg,sha256=SErv1sF2UjaIujhuZZiI2flB1UObxMHdB_X_ChXyc9A,2377 +material/templates/.icons/simple/oclif.svg,sha256=VV8zLuzYU0gSUSvhWR0blScwWXNzU2lmAw9ozejL6fg,1971 +material/templates/.icons/simple/octanerender.svg,sha256=PZeBMBTQ-7LzCYvVhwGflNlVY9FoZLwPPKXqWAKZGl8,688 +material/templates/.icons/simple/octave.svg,sha256=nMiE7AAJYLbq3bapuhjzGe6zutHiJ3rSohNuALRhbmY,1301 +material/templates/.icons/simple/octobercms.svg,sha256=MdHcssiAGyLOXj6dJFWLjPopWrdTAxbpkIw-Z83sGs8,589 +material/templates/.icons/simple/octoprint.svg,sha256=uXhhrULXyM6XEvbh6InYo5KtofFCTk5k1FIk97JoGK8,588 +material/templates/.icons/simple/octopusdeploy.svg,sha256=EF9_Nzutyd3FUnZg0_WH-zSDWzN6tPxbyDBMv2G2IO4,706 +material/templates/.icons/simple/oculus.svg,sha256=dLYIsLMPBY9Kt68SU99erf2-2MOaD8AoDkRbxK6erFc,888 +material/templates/.icons/simple/odnoklassniki.svg,sha256=33V8MpUm3BSXMDg0TtnH2aoW9crw1YEQf3e7faQYQM0,628 +material/templates/.icons/simple/odoo.svg,sha256=kuMQzEpuwDfH2kE4wJYeN-meBE_POaQb4DJ2GyHRZrg,605 +material/templates/.icons/simple/odysee.svg,sha256=erZdUrB52zTyS7H6r0v2TXGfxszgvhyMamZCL-PKMTY,2028 +material/templates/.icons/simple/ohdear.svg,sha256=3fnErmT9MrKnM-c3HQN1v8Gw0ybnXDVg4Y9IQOosANA,562 +material/templates/.icons/simple/okcupid.svg,sha256=xJ2l2YAOaE60VmwVDILwc33YlCxjLUG2ulRAxFI_1PM,2006 +material/templates/.icons/simple/okta.svg,sha256=G4QCQcl361XqtJLUIkSfHQeydXydIXi1f6Tz5z-Geoo,209 +material/templates/.icons/simple/oneplus.svg,sha256=lYlE--lSxJlBWX3lJzMAUQDAesEImmlhIMQAIybRjWQ,319 +material/templates/.icons/simple/onlyfans.svg,sha256=7QQRoa0-9v2enmu4mpxpT_Ssn8XRPrHXDt4YRd98lCI,521 +material/templates/.icons/simple/onlyoffice.svg,sha256=Er3xG4dnxBpB598fvT7jUeX8iSgE8XBSAPsPT-HfN2E,816 +material/templates/.icons/simple/onnx.svg,sha256=PF4Dm_I4TgE2SJj4Odl-TWPFW8BotaqZsg02xt__XLE,1312 +material/templates/.icons/simple/onstar.svg,sha256=jZ-FO9QpojsHkTUD1NKtnN7fDp5aPUWwBmAqSuxtbJg,1005 +material/templates/.icons/simple/opel.svg,sha256=xnq4SAksoAPJLsQSYiPix9BQr69-6t2i2puzvZbmBek,728 +material/templates/.icons/simple/openaccess.svg,sha256=lmsOzzxEwwehhpfP1oPFF-YnyzFb8QfqlhkKr_D8Slk,750 +material/templates/.icons/simple/openai.svg,sha256=1J7prvU07uMYHRKWK4UzxxMmeHXAInfcxWMGYexYssI,1327 +material/templates/.icons/simple/openaigym.svg,sha256=LWnHsOu9a9i2AA9hXnj7uBM-_QC8IJKWhQDJlYC8544,3544 +material/templates/.icons/simple/openapiinitiative.svg,sha256=ZwxOiDbIiaXpbFxNUylRsUad4UzC62sjr6rRF7-2Kok,4106 +material/templates/.icons/simple/openbadges.svg,sha256=DZpc_-z0JByfdgTT3aMNDAmidxzRZMCBeno5k5QTvhs,846 +material/templates/.icons/simple/openbsd.svg,sha256=t-LZ45oW_YC6uMiKS5v5afXE3X_jG8EJ6Y1ZBGiAvsM,15945 +material/templates/.icons/simple/openbugbounty.svg,sha256=w8Bx1a2JDqfNMlbhdEjC5H-SayotaBKLIInZ3l--Q2Q,499 +material/templates/.icons/simple/opencollective.svg,sha256=saCT3lLzE5pJ7rj4KSoZ7HOPmAOtGiUTk1RGRDlruk4,373 +material/templates/.icons/simple/opencontainersinitiative.svg,sha256=Vs8JO3RRkeJcHhrvRHbkZJ9_E91DB44U2tTyMYrnZyI,248 +material/templates/.icons/simple/opencv.svg,sha256=yaceprR0x_A19RlHEQVJzUvCH7xfqAkAm05DTZx9exY,624 +material/templates/.icons/simple/openfaas.svg,sha256=ZpdPmoKHzMdewC6Og6G2oivaN-f4qGVkn_fZ70qj5iA,1144 +material/templates/.icons/simple/opengl.svg,sha256=u5PF0k1FfeW6yeKrGbK8oV8qzLK34jTGKYB4jOEW-Ao,3462 +material/templates/.icons/simple/openhab.svg,sha256=G7uoLvSoR0HMF3GDVgKku_6tmhvpbzDTcdIdWdg6BoU,567 +material/templates/.icons/simple/openid.svg,sha256=nV-B4V2TzaRYxHRT3UVGAfwK94EP5Jxb_YJIzX5TP6o,349 +material/templates/.icons/simple/openjdk.svg,sha256=EAYN1gxHR1OQ8qR3NogmJNSvTwVwQQUaZr2QTbncP00,1741 +material/templates/.icons/simple/openlayers.svg,sha256=T3GfEgXfacHH6ksWXFxqjKA0I4IceCtxxw7aEIHRvH0,459 +material/templates/.icons/simple/openmined.svg,sha256=18xWonPe6rJn7GC1Jd-r3mXIicpAGwsol6OVmf2lURA,392 +material/templates/.icons/simple/opennebula.svg,sha256=aAQAfjzEW26Br_azLu_1YcVCbTm95fpGKR3VRg_9u4k,1157 +material/templates/.icons/simple/openproject.svg,sha256=DdwHrDTUAhT-L75TMfKjCR9srW1eIZ_VRvlr7IOuvQg,698 +material/templates/.icons/simple/openscad.svg,sha256=CMgR8JIEJXq7Dr3mwamr39xClV2GJ0OC0lLwoGZxsgM,3863 +material/templates/.icons/simple/opensea.svg,sha256=KWitlgkdhxoaW8R2-RV7r-q3ogitQsaaQjSdew9L5zQ,2070 +material/templates/.icons/simple/opensearch.svg,sha256=zY7BzRAyIE8nvhi1rAO53hAl-ghTwRn-OfEHnCN98VE,708 +material/templates/.icons/simple/opensourcehardware.svg,sha256=uFnSitT-oloZXhNQl7RqTlLnTh4GEVokcCHgbU7GncE,1284 +material/templates/.icons/simple/opensourceinitiative.svg,sha256=Ae8X0YYnKBVUR503y838WVLyJYzHFNVVJD7ZEqYvaLo,1335 +material/templates/.icons/simple/openssl.svg,sha256=nBjshH3HD2_P03hu4Jszc_b-Oy9y3tVyEW4T91Bp_9E,4570 +material/templates/.icons/simple/openstack.svg,sha256=ZvNzlvCb1JcEGYxoKxck9t_5wnNORY4pjZ06dSK9xbc,473 +material/templates/.icons/simple/openstreetmap.svg,sha256=7Og_1ilfwzo43H3aYsMg_oGvv24cULbec3Fdc8ikfKU,2731 +material/templates/.icons/simple/opensuse.svg,sha256=8DvDGElzEBzMZwbczyZtPNwkT7ZU_cLDHdHbwhT84WI,1278 +material/templates/.icons/simple/opentelemetry.svg,sha256=y_kl5NKOa2crVheL5i0jPxg9oiEh0IRLBdY_Zdi2fT4,862 +material/templates/.icons/simple/opentext.svg,sha256=8GR56gNMtnh5URabxBUN_pDJxav_-fcfUuojrqnh_Vw,2095 +material/templates/.icons/simple/opentofu.svg,sha256=lsm1nA0P6WgVg5aNRPbOcp1ELFToOGeDRwXMjdtmMdg,1362 +material/templates/.icons/simple/openverse.svg,sha256=PiexVBehf6y19xejGqaJ2PQlhCWSxzlqSlXEr0d3PRI,625 +material/templates/.icons/simple/openvpn.svg,sha256=5h076KhTGPvtXvdyFa3prAmLCFT-wlOHn9KY0-5tdeA,502 +material/templates/.icons/simple/openwrt.svg,sha256=qeCalJG9fz8eJCz4I0zxJra1HGzV8jv_vh-1xbdwEn0,810 +material/templates/.icons/simple/openzeppelin.svg,sha256=d2eiZW1Bu-6ZG0aAJR6W2Pa6ovv1vtqSwwOZwDw04RU,234 +material/templates/.icons/simple/openzfs.svg,sha256=ANk_K-o_d5V7Nr9hsyeQW3e7HDbyZsPougx7o46lcAo,3074 +material/templates/.icons/simple/opera.svg,sha256=aw6JoOEZyo-_gYlxvijxDvUuvVqiWIiSenL48Yp4pKM,605 +material/templates/.icons/simple/operagx.svg,sha256=RJRMt0Ne2rG3ptbHaW6Z8dPmk0TRKxRu5RLGfqFfiIU,999 +material/templates/.icons/simple/opnsense.svg,sha256=_GtgxotbvgSW-ToOrvD-LdFPjMwJDD3f6GfjgD1gExc,889 +material/templates/.icons/simple/oppo.svg,sha256=Z6DAFXd09__jlHjDmK5LO7J5ZXPFDRoYlM02IxxPMRE,1189 +material/templates/.icons/simple/opsgenie.svg,sha256=AtEHiNTmbIsdhaEPMABodsdaO015QG7LlrtBsqM4fw4,805 +material/templates/.icons/simple/opslevel.svg,sha256=c3CwjWsJKwsAsxGdqbk_Mk_xTmFF4Rpzr_8RpaZ1eqs,504 +material/templates/.icons/simple/oracle.svg,sha256=bKcMzImk_G9i8sGrgpofcVpVgT5ZtgcLQMNP3VKQMbU,239 +material/templates/.icons/simple/orcid.svg,sha256=XApe5H6roGgeJMilM5_XHMHOr7a85ojG_zaGI5yagYA,477 +material/templates/.icons/simple/oreilly.svg,sha256=RZzdeqQVlIi86C9IhbfSn5Qnyn45W66vQY6qjHCQm8Y,1287 +material/templates/.icons/simple/org.svg,sha256=Uk3YwUwPqTY5hspm9xjOVsA15kO2b9WlgI_-4pDk4JI,1375 +material/templates/.icons/simple/origin.svg,sha256=hXbzUO01aYT5w3gPe5YdKTxBAm5cQqpRN_PWf9SWE1k,1396 +material/templates/.icons/simple/osano.svg,sha256=Y-fE_2xBQbmeXbN4Yb7gU2w-B95Loe2Hmk_B_4jam98,180 +material/templates/.icons/simple/osf.svg,sha256=5PnT0HRKfxJhfrGdej0nWF7kQfwvQlHwezKLperrmac,2342 +material/templates/.icons/simple/osgeo.svg,sha256=0LidRLU90ZTPfBf9YlM5ze_pUM0lES0FxpAP1GBBeKA,701 +material/templates/.icons/simple/oshkosh.svg,sha256=ZiFjvzLtvlJ2HZeSyn5PAnK4CR-7TM1N7muX-y3m40k,1530 +material/templates/.icons/simple/osmc.svg,sha256=JMAktuUOISBoFCzG2h1aV0eLRv8rexf2m5XQSTOYLqI,789 +material/templates/.icons/simple/osu.svg,sha256=prJHsiTUTXaeYhc2yY4Mz9xmNPDyakUh-7kVhfJA1SE,2550 +material/templates/.icons/simple/otto.svg,sha256=X_41w9dPYuC__0NUtRIehdoyUpY8jB-o-XYoJEVm24A,1052 +material/templates/.icons/simple/overcast.svg,sha256=PkJEouMyYCFoaZVC-_DFTCZnxXUEG7bMfKO4RUa4Uco,1372 +material/templates/.icons/simple/overleaf.svg,sha256=ZQA7nS6Bn-ROlAHboo7iNTWpiJkDltbuxos0VkWudCU,517 +material/templates/.icons/simple/ovh.svg,sha256=s92nukTMfzhylLS-_DE5jgtzknaAXVoKyNLi9b_kCbc,329 +material/templates/.icons/simple/owasp.svg,sha256=-iBAHMD3y0VTs9gzexCNitKLqtvToIhfV6-nvbmbcqs,2170 +material/templates/.icons/simple/owncloud.svg,sha256=mo4NHkDx53ZNc0tUNohNIF1sitJ7BFuhQiBsRvgMdpY,3407 +material/templates/.icons/simple/oxygen.svg,sha256=7AVwQ9eIR0Id2MpbJs8Z0qAlmdLORQHHEUNkKqVeBwE,682 +material/templates/.icons/simple/oyo.svg,sha256=Mn6f3EsRCD6QC7TOe2_CvMFJvMvkJWMXz-YeyRQuKEo,672 +material/templates/.icons/simple/p5dotjs.svg,sha256=ny7A2Flpo0kDawwQHrH8ftXc_IKCMwsCysmKaFNhNbM,2845 +material/templates/.icons/simple/packagist.svg,sha256=I6jNvPGUYePAUlEyRHZhs3vvVTOZkwEdcAH1hnv-deU,12736 +material/templates/.icons/simple/packer.svg,sha256=sPvp4pFIBme2_kkxrGQEGmZ-g194016ef83KEp2bw4E,251 +material/templates/.icons/simple/packt.svg,sha256=OGw6ou3icHZcciRW7b2Ycmg5R9ERV93GjWdM1dAYhSo,699 +material/templates/.icons/simple/paddlepaddle.svg,sha256=gnEHFaLW35zEUyrbuwbOXvukNwCrf11s6VupZceO0T8,1222 +material/templates/.icons/simple/paddypower.svg,sha256=3fxe8vqo62cqPJSYuSFychdnaJe0uO6j3QivcS4D8rs,1329 +material/templates/.icons/simple/pagekit.svg,sha256=k39RzwNFl4YL7cvRGN--2fdWs9Y68En-FrnyXIC-Wy0,153 +material/templates/.icons/simple/pagerduty.svg,sha256=oBp88nbkU_sYJG6erZWqdNrCzvkBJcLzLBNNK-JXYsw,358 +material/templates/.icons/simple/pagespeedinsights.svg,sha256=I13U3t7OVPmz3stlNpbsPs_F3ceRY1GQqHE2DDG_8D8,823 +material/templates/.icons/simple/pagseguro.svg,sha256=YS4bvHPWiJvfpc9XnqVpl2dFGpjPD4Af2f6SfrS-sRs,741 +material/templates/.icons/simple/palantir.svg,sha256=-6pza29FLw4rLMc_3lZwkHnkJoVH75SI5cQUhyQB2sk,253 +material/templates/.icons/simple/paloaltonetworks.svg,sha256=SsdBC-bFWcDlyNeeaNQd1wftnYpkWrulHjGRZLYCoUw,302 +material/templates/.icons/simple/paloaltosoftware.svg,sha256=PSvd-WfyYi7m_HQvEStp59cBV5qdH1LBiB4m0C-uM-8,542 +material/templates/.icons/simple/panasonic.svg,sha256=QQVJuYgUkekmolPuL6-7a4B5rtrrh8v5ZAak5pHw7tM,4751 +material/templates/.icons/simple/pandas.svg,sha256=Rpu-5_O-lRKZu7NG4NpIlC1Srlf-hxklmPmbeA7K4xk,307 +material/templates/.icons/simple/pandora.svg,sha256=CuGsE3Z9YNpdS6Ti8nH02wo6QpON3HsQuoFCflmhKi4,207 +material/templates/.icons/simple/pantheon.svg,sha256=WPCwxmyzlKXQ_jZeo_TI_2Pp1HBt9SDBX4XHlEqaEjw,836 +material/templates/.icons/simple/paperspace.svg,sha256=wPFC4U2hbqAG7bWI1VEdLXvP6Djsq7zqJpo-RIoDDl8,1402 +material/templates/.icons/simple/paritysubstrate.svg,sha256=KRXhzwzqWszDmCvnuBSu9inEJkU3FcVRVLRiaMTKcxA,1554 +material/templates/.icons/simple/parsedotly.svg,sha256=GDOKPzNsPunwGjNYYo_-vxB5NZ_HtzaeMoZOi-nonhU,2943 +material/templates/.icons/simple/passport.svg,sha256=eVUdMccQ-KbtXE7Z3gbCObtEfHECNutZjTkJVSfuEZM,310 +material/templates/.icons/simple/pastebin.svg,sha256=MTX0JARJZTGD0T-p0PKHYEdz6joHAZExbtONlbhFjy4,3388 +material/templates/.icons/simple/patreon.svg,sha256=bo6W7vPf2aMHQoC8biJqmrGDkLjy3vBIoMMnfXJBz6A,336 +material/templates/.icons/simple/paychex.svg,sha256=_5OlID2nWxbn0AUYwWIlIusMNsRIYsDGetQ-xYrs528,974 +material/templates/.icons/simple/payhip.svg,sha256=fAEdX16Z-_G9Qs_DlI_Cgv4PL2-2G2qRmUrR3ci4O00,628 +material/templates/.icons/simple/payloadcms.svg,sha256=csns_MNGQEKNZcv4iqdzJaf7nW_YQ8x5pfA-Y7-qTHM,183 +material/templates/.icons/simple/payoneer.svg,sha256=h7-F5jdQf-9Jr5OTkPEGUaWu2ZfvzoKSA9bFsZbb_KQ,525 +material/templates/.icons/simple/paypal.svg,sha256=PiCsjCcwrS7kjclbGYKeUYX4DH32OKKzGyjhxbjS4_Y,605 +material/templates/.icons/simple/paytm.svg,sha256=390d4nwK0iIkhUcPbOQWfF84tTiyvSR5BXRjvc1iLm4,2079 +material/templates/.icons/simple/pcgamingwiki.svg,sha256=j5EeE_g4E4TH5nMndkfvpDDrdpYS4o0nxcHO8fenkk8,8059 +material/templates/.icons/simple/pdm.svg,sha256=JOn80TwsV5V0dYSXlFkUGu_0X7MY2kPwbg2ShHb_gao,615 +material/templates/.icons/simple/pdq.svg,sha256=dph20dsIq-NrFKOxiDx6-DmXhX6NB2PPR6lrcMjHfGo,1684 +material/templates/.icons/simple/peakdesign.svg,sha256=ymx75GsWdSkN5wH0HA_kLuBevqeCfTywf4r1Yrjq48w,304 +material/templates/.icons/simple/pearson.svg,sha256=NQfzOt3y6JhkgzoJI27z-C8lDWieSBJUKc_aojctsBw,1148 +material/templates/.icons/simple/peerlist.svg,sha256=26qcydB1OhMtcwxIHMkbBSJDCQ3p19GwiiJmiAuB_6g,1681 +material/templates/.icons/simple/peertube.svg,sha256=yn0Y3AAlpBd478pP2P2STKZ80-Eev9YJem8nr_X_jTU,145 +material/templates/.icons/simple/pegasusairlines.svg,sha256=a_YsQmHfIS0LY4P9Hg0SrLBHoimEX9m1YeMO8Se7D1A,3459 +material/templates/.icons/simple/pelican.svg,sha256=4hU66BXf3y8TxzJO8JOkswWH5A7OAg09mCTcRIc0yds,1891 +material/templates/.icons/simple/peloton.svg,sha256=JocQklp35GailQ_-tlP3rYQ9VvBZHt7Bnn7TgvqopCM,597 +material/templates/.icons/simple/penny.svg,sha256=VG5r4K3dg5MOuVB11_b1LG-FYbE1WtNWRPUZF7lPjbw,749 +material/templates/.icons/simple/penpot.svg,sha256=Vtqf6aqNibt_1aUat9aL8Ulnj-O8xbjJarinOkk4Z-M,729 +material/templates/.icons/simple/pepsi.svg,sha256=-pI4M1J4hr7xIybaNr14BIGvnqOwpF6FlDY49L7xkqQ,336 +material/templates/.icons/simple/percy.svg,sha256=JbUhYNKTrpTJdpuX50CU6RC91YPbQALxvgp1zjhnxfQ,1543 +material/templates/.icons/simple/perforce.svg,sha256=3y7-ptTzAhXLudTApMoz6YHr5EJuPXta-gFW0ypuWUE,708 +material/templates/.icons/simple/perl.svg,sha256=sP1bqghMOj3-pcH71VDHjZkuSkkwIJ7L47w6aZ-Q18Q,2005 +material/templates/.icons/simple/persistent.svg,sha256=d8sZYbVORQh_L-GE9k2IvGHFnDMjkiJkxBf3zrtOrVY,1951 +material/templates/.icons/simple/personio.svg,sha256=oDSylHLnqP8VsoJ_eMdjTmaThOTKhJc5TZHGd8X3n-0,1081 +material/templates/.icons/simple/petsathome.svg,sha256=m-kFGKmOovZBBrDjsCbRm6EwW7lL9JlwXw2F5aal4oo,3633 +material/templates/.icons/simple/peugeot.svg,sha256=7Wocrc7m-AwXOJBm9yHDaZh9glx8S1bZvSNKztvtY64,8401 +material/templates/.icons/simple/pexels.svg,sha256=tJeioMhsY9OKOLUm8uLOVtpnCOIngT71Q2h2KCZ6k0Y,307 +material/templates/.icons/simple/pfsense.svg,sha256=c0KJFBxjMYTjbIoSWBIk5eaHh8hsuJZSIkpp3tG-IUI,1253 +material/templates/.icons/simple/phabricator.svg,sha256=qADfizu4uwa1juw0PT4TW7WNR8R82tPZXGIGQoNheD0,762 +material/templates/.icons/simple/philipshue.svg,sha256=2lob5EYz8reQ3f9wfT5iBrAoSfQsJwqKP3HvIqW_SVQ,1289 +material/templates/.icons/simple/phoenixframework.svg,sha256=7by5FLm17-f9fhO-6vhaMlOWbtQCTxPtxLQSzZxUT68,2632 +material/templates/.icons/simple/phonepe.svg,sha256=0Mve8kBM3LNdmG_c34YfIGfCL5V5i4kNTwffhrz3qzs,706 +material/templates/.icons/simple/phosphoricons.svg,sha256=EAP7lrpBvwdYN8YTswpNm7jSPwiOl-WHzZ02Rb5bVy8,518 +material/templates/.icons/simple/photobucket.svg,sha256=MnfxAQnuiC7W3Ht1VorwvT7_0DVyXSdhexp954DpfPc,1633 +material/templates/.icons/simple/photocrowd.svg,sha256=35BDG4QKlHYt3qQg7oMAeG5bd1v4r9H2U5oo3CQW0IQ,1458 +material/templates/.icons/simple/photopea.svg,sha256=080Od_qOAYrrleP4HyPnJq6LbxZnaQ2Ofi_z9VzhsiY,610 +material/templates/.icons/simple/php.svg,sha256=MXdZGDDXdE2sU7ijFW-2VQIrL0BIKPci2ifi4mj_ils,1096 +material/templates/.icons/simple/phpmyadmin.svg,sha256=G55uzQ3-xcs06XPxQA1zG2W4y7nNWgKKWzvqe8aWKWo,909 +material/templates/.icons/simple/phpstorm.svg,sha256=XaQy9pFRAgyc7Pmi7BOp0kTH-u1-QVzv9xiVeYjTMRA,691 +material/templates/.icons/simple/piaggiogroup.svg,sha256=ts55OIetfGMqTslsew4OB9FQhXjUCWlXi8DR3Nliaj4,1800 +material/templates/.icons/simple/piapro.svg,sha256=2TxmoDQ5MdwdFCOUFuRpdGnjNY0_gLIJOTWS8niw49s,369 +material/templates/.icons/simple/picardsurgeles.svg,sha256=lYvDWpK3RDNe_fzJM4qKSonhfjnlRs6mCIngOiow_V4,3956 +material/templates/.icons/simple/picartodottv.svg,sha256=_G_8ClKI4TDpAoU3fwbbWlLs6FGcYoEPAwWiJvIHBLw,549 +material/templates/.icons/simple/picnic.svg,sha256=GHVTPbO38F9wucW7AIn6xn1CdbLI0WdMy3ACKQn97g4,3243 +material/templates/.icons/simple/picpay.svg,sha256=kPQWnmZ-Ce33JSazsHk72OqkeAcxpWe9ggjltu-Nvh0,356 +material/templates/.icons/simple/picxy.svg,sha256=iAXZjc_cWwpDLZQCMOANT7ihfnH_JIQsHPxZMTood3w,4310 +material/templates/.icons/simple/pihole.svg,sha256=fH6Aq5xe-aIilzQRl6LwyxPIKPmXTcrC19BPs3r5Yf0,2252 +material/templates/.icons/simple/pimcore.svg,sha256=AAk-RHoAz4eflEGJKYlXoHvndD5E31ZxVESnK-t17HY,1554 +material/templates/.icons/simple/pinboard.svg,sha256=OVinEDbbVo7IM1L3OUJq_lWlj5lvsfu-2CSc1bfWLiw,202 +material/templates/.icons/simple/pinescript.svg,sha256=0Nwjh-2KfwOfsHWfaT1ZMNqmpB5KBtctY5TvL3GFJk8,560 +material/templates/.icons/simple/pinetwork.svg,sha256=TDGFBVL_sMRypiQ6loYtwrhXzcsKn4eyEu1YzPogrCI,864 +material/templates/.icons/simple/pingdom.svg,sha256=tn6hf4LG56DfPg_k-EJCL_JDiU48PpwuwYVIzzjbssw,568 +material/templates/.icons/simple/pinterest.svg,sha256=-aMdbO6NPOAdOXQvvBd7Fi5cHmQ2UmZcADJbcwlq9bE,874 +material/templates/.icons/simple/pioneerdj.svg,sha256=PXisR_Z1l6VEoEAuTZPjB4WM7fHL5s-t8481JXjT9SM,617 +material/templates/.icons/simple/pipx.svg,sha256=470lgbDCbogr_JgnE4iJuVh0kwaiVfEWH1mpgTBrFok,3993 +material/templates/.icons/simple/pivotaltracker.svg,sha256=5mdc0A1TkM-427Pcx3vyjdVqSQ2Z3imFzPZovHHBkW4,807 +material/templates/.icons/simple/piwigo.svg,sha256=HkIwLXmxd22YS43ARAUd7bV7S796gyqlvIf23jgbLBI,679 +material/templates/.icons/simple/pix.svg,sha256=CEgjlz48eWm4hLkn9mf0E5JasyFGwNwk6WeAvR5Kfy0,758 +material/templates/.icons/simple/pixabay.svg,sha256=gdKbJ_qHYVkj1VOyC1DjG0Fn4jtd_OLX0sefY0u_WwA,570 +material/templates/.icons/simple/pixiv.svg,sha256=C-9ELRUwKK3fBOa-YMK6I-TNV9K1-VZXjX2aK7UMiro,750 +material/templates/.icons/simple/pkgsrc.svg,sha256=OcHmuCZvZ9fvutNyFYV5JszojHdmLtJMoPQCEgilFbo,209 +material/templates/.icons/simple/planet.svg,sha256=kVb1LNes_D-1Ve8V05hF_YVAKsQe8gxnGQxOluCDrsE,582 +material/templates/.icons/simple/planetscale.svg,sha256=lP3kUKoMR3fOEuARfRA30cbMyMjGriDaDIuGs90hRnY,292 +material/templates/.icons/simple/plangrid.svg,sha256=m89bTxjsJn-JWJw5XNVctzXuXoPFH-34dyjcwq7qPP4,679 +material/templates/.icons/simple/platformdotsh.svg,sha256=0Zoy0Q9sCHD2kZ8567-Q7lg14o5P2dZABgFt0rY8jx4,150 +material/templates/.icons/simple/platformio.svg,sha256=jRGqTM4w3V7mEFQi8uGSXgBQgDVTADsfQE5ui4BOKVU,1173 +material/templates/.icons/simple/platzi.svg,sha256=RgHz0lTDtiHCKf1OUTG8Rl1J5RJENVms3BxXXYZlirY,332 +material/templates/.icons/simple/plausibleanalytics.svg,sha256=agNfzlnXDX49kv1kHprQ9oyQK_OqIwhd_tSgeMdHG2Y,878 +material/templates/.icons/simple/playcanvas.svg,sha256=k9WHVDmB5JnvhLS9pGceOkEfuG7nJ1Bla_3YhgMXtjY,215 +material/templates/.icons/simple/playerdotme.svg,sha256=0zGE-xAvBBXIh7h2oV4UtDN8OdfFlCmte6mjEb-q3gc,316 +material/templates/.icons/simple/playerfm.svg,sha256=8gGzgZE-eZ8GDr3pod2u_OmwasbaYkhVoUOreXuJs9Y,1717 +material/templates/.icons/simple/playstation.svg,sha256=thsZ33RMdEpCDh_zYU3iuSNBg5uFanjzAeKm_CMpooQ,744 +material/templates/.icons/simple/playstation2.svg,sha256=XbRLNAw5fWmwna6hNst8pk0SWN8njz9_lC8ylMhJRE4,259 +material/templates/.icons/simple/playstation3.svg,sha256=BdCLotBjmUHWFtR14K5rI6hKfZabETZYAooF78GYjec,1023 +material/templates/.icons/simple/playstation4.svg,sha256=4Rab0H4I-KdjJgyJcCMcEanamJTy-OqvNodoDTHP-48,1137 +material/templates/.icons/simple/playstation5.svg,sha256=U5-Rpd1e1GZ-12Ito6E_kBW9I1IsNWU6tNTbwBkx-5w,910 +material/templates/.icons/simple/playstationvita.svg,sha256=iJbd03EelnwxbD5Gko-T30v6v1jJ8dO_xzlZsT71Jio,984 +material/templates/.icons/simple/playwright.svg,sha256=W35yjqeuiNc5MIPZ3XYnRvcQcKnJwHb_9kUsQxurQxo,964 +material/templates/.icons/simple/pleroma.svg,sha256=NarHGBWk4Hra31QufO4NpvC_yqSSNplnETeLa8cykds,232 +material/templates/.icons/simple/plesk.svg,sha256=OBI57hA2LxjOVa6p_qv79aEgbBBnsK_8t3NxBzm0T2E,2215 +material/templates/.icons/simple/plex.svg,sha256=sVad4koPslxyFQQBEawzet3gERSSNaLOF-WORt7wQEk,1151 +material/templates/.icons/simple/plotly.svg,sha256=-nXu_k43d3uhoJyeycNE_Oe5YUPu9L7TB2ySOrW1nqI,5450 +material/templates/.icons/simple/pluralsight.svg,sha256=bH5Opnkq1wEiuiu0dhh-EadkZy6bWSsWnyQ80D3SoOg,456 +material/templates/.icons/simple/plurk.svg,sha256=J7S2hbJBz2BJHTMPQEfaGoOSgF15fCuPXKSlSIVAVyk,1710 +material/templates/.icons/simple/pluscodes.svg,sha256=AunIQXwo3v8FXia3--2-a5vVDCx7vPDOD9UJk0xaDsA,481 +material/templates/.icons/simple/pm2.svg,sha256=bvRys7DQfcnyK7_UUrz4OA5BcCF5ICdFDl_DetQWW5M,5792 +material/templates/.icons/simple/pnpm.svg,sha256=ZphKTC33AK6s9RU14tXjRkIeRaGP69ydcKulSfpvv7w,237 +material/templates/.icons/simple/pocket.svg,sha256=GeupdzFl6mkD-ocOk4P8C5NVjcrG1SWuE-bWUflD3Sc,723 +material/templates/.icons/simple/pocketbase.svg,sha256=ZV1jz2KZLokOoG207SLyzV1sdRDi77hCyoyRPdwTvWA,1912 +material/templates/.icons/simple/pocketcasts.svg,sha256=TIThzSY9I6dT-cHqggq-aTz69RIpi0CmtODCn4tIBIw,306 +material/templates/.icons/simple/podcastaddict.svg,sha256=bHWU2Un133eqtVGcXqjaGpVf1oXT2mAVChhtS9SISkc,842 +material/templates/.icons/simple/podcastindex.svg,sha256=GknqSonJiaLIBrwrXYEGXo8DCyOJ1hOlikXz07uaRlw,1252 +material/templates/.icons/simple/podman.svg,sha256=Wo1Gd3jp7C-wiQ5gKu_p4YEMwBRbkLXXQYj-wgdz2S8,9900 +material/templates/.icons/simple/poe.svg,sha256=CfEerZSDnKkF42WRrhpdhHkt8OpXPe0KfEJbaUrIzQ0,2323 +material/templates/.icons/simple/poetry.svg,sha256=Y53X3ejcYiwurPjLZ0007qJe-WoeJsgstcn6i_w0Gtg,284 +material/templates/.icons/simple/pointy.svg,sha256=jwdFemF-6m1_cgdesl4O9J8buA12W8NclI0HKNGpZIc,608 +material/templates/.icons/simple/pokemon.svg,sha256=FfdQp8APsMrHF6gxOThmGT89v2UTi4sj_-rFWUWFoyM,3759 +material/templates/.icons/simple/polars.svg,sha256=H7CP2YEUqiD--1oRLXNko0xbkRY39v2uOfWt4nkIIH0,6217 +material/templates/.icons/simple/polestar.svg,sha256=PEB7bufPcscmc5Rue6X4JJGxGJ-RDWHcoyXjcS2vhfo,187 +material/templates/.icons/simple/polkadot.svg,sha256=xDvMYk2Jt0oPMP1_rI9Uqx8tw3rUXNpEYMYL1Cq4Zk0,715 +material/templates/.icons/simple/poly.svg,sha256=_ndEZDqXcRd_MbZguqiCx48LvZrjVKaLEp2nhoByse0,1556 +material/templates/.icons/simple/polygon.svg,sha256=cUOz3TtAN0kT9-sKzUITQUfJOV2uIhVCjDmyhyCfExc,564 +material/templates/.icons/simple/polymerproject.svg,sha256=jlqpkMsxqYzpU6Ef4WMdippNwASNW175hJSMqqmbXsk,221 +material/templates/.icons/simple/polywork.svg,sha256=wOJP2nnz02JXZpekXT4VrrVp9oBuTHyImHj2_me7QwQ,609 +material/templates/.icons/simple/pond5.svg,sha256=upThc8z0TViOdaO8e72mJr8fFRT-9FKoNP9jN6X0XLM,981 +material/templates/.icons/simple/popos.svg,sha256=7D-Si6H50MnM1NjKOn1EVaF9GjA9rgJZefFPhNh28rI,2582 +material/templates/.icons/simple/porsche.svg,sha256=3ywerpNPh43sZAacLGCiajvMMC69vLc70PVaxEpRNUg,24146 +material/templates/.icons/simple/portainer.svg,sha256=bNUQDTzQr6sjV-_d_moZ3Jk4dFKadkMLGFGMlFInTRs,1002 +material/templates/.icons/simple/portswigger.svg,sha256=WW6L2Ho4S3ZjJtGvv6kLRiVWWGhmvcjm-aWydleW3dg,213 +material/templates/.icons/simple/postcss.svg,sha256=mP3g692NPqy8r27_uZSQXX72dmqiPmaCCkcSo3S-5Pk,22117 +material/templates/.icons/simple/postgresql.svg,sha256=4oDcFvnmfJi4yhBXqGUhAeVDbZS9vVOGrzgt0uPsYO4,4188 +material/templates/.icons/simple/posthog.svg,sha256=2Bum7YAUjUd4O30HeVutf_qbLKPD5KldKMbQcNoPxgQ,963 +material/templates/.icons/simple/postman.svg,sha256=pOhC1ajWkUAPC4IRnAG8xFOMxYmL0gydYU413DcsjxE,1331 +material/templates/.icons/simple/postmates.svg,sha256=3r6gE7WSCylRm1raGuiEaoKeLBX1zq5J1Rkw01-h4OQ,2652 +material/templates/.icons/simple/powerapps.svg,sha256=ii2dNO0pDmiZ4RbBMC4jYwNMSuDBJuD6pjSwFl7yWUk,807 +material/templates/.icons/simple/powerautomate.svg,sha256=2YKc9O9Gzhzx1pnD4lcMB_4gN06cL5CRXS0euwIXIQM,419 +material/templates/.icons/simple/powerbi.svg,sha256=ZLK0wIB44hAj-aJ4dhlrP6JiaT81pNflNjV2HundK9I,296 +material/templates/.icons/simple/powerfx.svg,sha256=JQemz1nHfMEp0EPjXcEEFvywIOht4LgGVKGBl8rs-hg,1228 +material/templates/.icons/simple/powerpages.svg,sha256=oVSKjA_rOtodmC7edwTSdCxcK5bxrS0bOCp9qFJHyUA,543 +material/templates/.icons/simple/powers.svg,sha256=Lw2zl0rry879RxEnE72D6AejBjLwhXuLOzpNVBS_FoQ,540 +material/templates/.icons/simple/powershell.svg,sha256=mnO6edsAoMwUU75AeEprDDQ5fhnJBa2kAuiZycpU86k,590 +material/templates/.icons/simple/powervirtualagents.svg,sha256=FSUr3Wx5k9PcbH220cYECeaRyDEoF5wTR39Fgss_c8s,1107 +material/templates/.icons/simple/prdotco.svg,sha256=LuaV_IrZHZ50nVB1vhJsMXAbonG4oaHyaQI--aDMsyQ,465 +material/templates/.icons/simple/preact.svg,sha256=KsrW_B_wXNCxo9NhIY_-VbnUd4ayG-DCYZeZaPnf7Xg,3917 +material/templates/.icons/simple/precommit.svg,sha256=DmfEE9ecIz-_nF6kP36TXAtJNcV20qBKBeQ62tkElhg,1085 +material/templates/.icons/simple/prefect.svg,sha256=DsdlTGfuYrHQvAAJI9FP8FZfWtkwD5Wbp-Cc9QeKcZw,150 +material/templates/.icons/simple/premierleague.svg,sha256=XPCBPfsW-UHbzL_h9F0MGmPOEvSsf5VZRA3l9c7uj4k,2128 +material/templates/.icons/simple/prepbytes.svg,sha256=S3iyt5tz9kpyPmdNTA3XMjfNrvpi-lXJ0MRsVbqm3kE,749 +material/templates/.icons/simple/prestashop.svg,sha256=hWQWyIZI35lfnHLijZGA_YSeCyAumZ6UvnunZ1aaopo,3519 +material/templates/.icons/simple/presto.svg,sha256=bz7tSqHjWGuCZh5Z8zfgaklu7jmpkM4nIqCZGYppO8g,2761 +material/templates/.icons/simple/prettier.svg,sha256=xF3LpQUNoVAAAhfdjGVTNtVkHZ_DVsI5SSPJeOEE7f0,1777 +material/templates/.icons/simple/pretzel.svg,sha256=UmySQBS6MsH-eppeTMuKPvWqgqaiimEHgQPbajMG_Ag,851 +material/templates/.icons/simple/prevention.svg,sha256=oAeJIVlDFgB_1JQvobdEa-AHsWEti6Eu0kBinAWkvgE,1871 +material/templates/.icons/simple/prezi.svg,sha256=uNbBy3DZZ4ZmVc6sB28yr3n5ikYrEoheibj0Lu24Wc0,4940 +material/templates/.icons/simple/prime.svg,sha256=HXuu3lXDbgPGzDLmL816mGWpvrF2jzOfi5pQCh4g-fQ,3361 +material/templates/.icons/simple/primevideo.svg,sha256=MMrqkARcXfU33ZLXH6_HenZLUppTsUMWeF1gRZ1WOPQ,5694 +material/templates/.icons/simple/printables.svg,sha256=PrnAJAOMHGdgfchT5cVSxt9puencn7Mj8QPrbiyxTak,142 +material/templates/.icons/simple/prisma.svg,sha256=OohDPHyhBaE3wTgegBWtc3G_ZbrkFH1XQHtDxBYPYJI,422 +material/templates/.icons/simple/prismic.svg,sha256=Lr5E-1zvH2W1ZCsG7Jph6En3httIM-s0RE281Ne-L0Q,2264 +material/templates/.icons/simple/privateinternetaccess.svg,sha256=zKOR_OGNOqLxgAVPHJFfw205xpQxotUrY4i7CPzXGCg,1472 +material/templates/.icons/simple/probot.svg,sha256=T6cLe9sqsQpaaTwPR4lsn97uZVS6RWlEgCs4A9SDSto,1134 +material/templates/.icons/simple/processingfoundation.svg,sha256=Fed9LhX3-8hAh_GTqqk-TdLC3AH3hGBC-BGBlKpXtG0,447 +material/templates/.icons/simple/processwire.svg,sha256=y6jx-1nx-6GfpcTv0GMug0xQg5BQnlKqBwctpmBRDd8,1827 +material/templates/.icons/simple/producthunt.svg,sha256=VcWf4jZhL3_OZfbLDkv8KdFLdqHromNYIYxVIPiSq3Y,256 +material/templates/.icons/simple/progate.svg,sha256=kDh-EPxxy3YwxU-0cSeoShIzGTxx0iZTBbNgfgeiSzQ,1020 +material/templates/.icons/simple/progress.svg,sha256=aK0XpKtcWDmVibpeFhEI9iR_NPD1DscvfyKT1UUilhI,464 +material/templates/.icons/simple/prometheus.svg,sha256=grwEupeAfT1sgqlsiv8bHkYkLL5Kz8hAEXyt8UJuzKw,812 +material/templates/.icons/simple/prosieben.svg,sha256=QWMT78uihFyKC5cz4bsTAybUjV-9i6UewLFx7xBm8rg,169 +material/templates/.icons/simple/proteus.svg,sha256=EIVlohV3AcegeJvqbRL-vQ3DWyAIDVDw7YlXHOQTO9c,4429 +material/templates/.icons/simple/protocolsdotio.svg,sha256=9LPR-k_uaNmG7y6D3OVAqvvYlGyaQRMZaH88HKObnak,2886 +material/templates/.icons/simple/protodotio.svg,sha256=gNt71kPtgu4HNnPbrGKTHxI_14DVkK3IgQ7pEoEugoE,607 +material/templates/.icons/simple/proton.svg,sha256=6Y4eYppLZNZR_ICLV7YcbbLJYP98xDaeUTWpqMFpf3w,496 +material/templates/.icons/simple/protoncalendar.svg,sha256=KYc5n-SpWPuHI4GrtEDBNTcDfaNOSkqh3UwMvG44RLY,894 +material/templates/.icons/simple/protondb.svg,sha256=SQEPiDWrMdF3X0__NbYqGj_AuF4njCj38BRZZM6C9xA,2934 +material/templates/.icons/simple/protondrive.svg,sha256=GAjd7x8RkhH9RgErzjjLqGPS0TXCOQokb1AxT6VsJ0o,528 +material/templates/.icons/simple/protonmail.svg,sha256=qemTDB-bRfEWFtBOaG6teqkYTWDroHSBosebtZFH6Ao,471 +material/templates/.icons/simple/protonvpn.svg,sha256=8BV7ikQl-3_Kfmf8LG4klbth3JVutO57c3lvrrFQ7gk,496 +material/templates/.icons/simple/protools.svg,sha256=QP5tl8L7uaJejBR2EqEp_EYYURJvyOhfuU6pv4Oxn3Y,1550 +material/templates/.icons/simple/protractor.svg,sha256=n15L13PePUCEe5Kk0r57rwnX3sY6hvZMSKoDGGgJoHs,488 +material/templates/.icons/simple/proxmox.svg,sha256=LPRZwRgOFWb54TEbxVAC71-SX0G2NfBQPYC2HoIzPdA,1455 +material/templates/.icons/simple/pterodactyl.svg,sha256=elNNNVCy-_Q3gvNJNqDk0MnDBhlx3k5jo0pDcsVF6a8,1615 +material/templates/.icons/simple/pubg.svg,sha256=MrevKm4A7y0QDnuC-Me_9voHL0AaJiJO0VpC2KKRUG4,148622 +material/templates/.icons/simple/publons.svg,sha256=Xn5fCY71KOTMWgSmOZQw9CW8LL1_jgrQDQ1lvXLYkno,1202 +material/templates/.icons/simple/pubmed.svg,sha256=Tq9W0U2K74p11HqrLeBGorSMRxvt6-t2W05ebRzrwDY,397 +material/templates/.icons/simple/pug.svg,sha256=HRmMV8rh0EhmdNnLz1iO0hha5xY3iXYphFUD_8_dVOU,3531 +material/templates/.icons/simple/pulumi.svg,sha256=V4FafiOXASmiW4KtivqCQHcw94inQELSXZp7bENzt6g,1908 +material/templates/.icons/simple/puma.svg,sha256=BcdEOspJ4B_9yTdsYFGCubzk4EprKBjaGF3D3T5n5Pc,1342 +material/templates/.icons/simple/puppet.svg,sha256=mYBGZWQkW5eOh9Y70KUbqmEPRI7hiMOCikBgW0Eweck,290 +material/templates/.icons/simple/puppeteer.svg,sha256=-keCsBDJ7R37nH3z7bPFvwf93zJfn4KI8UJ1jv41p0Q,7992 +material/templates/.icons/simple/purescript.svg,sha256=k4p3QK69z1Rv3hnn1CMSKwYlxFoBJ7kZC4eZk6SboQU,359 +material/templates/.icons/simple/purgecss.svg,sha256=hFnI-zj9UVS_xL0eTRs5JHbaoDHK6eohQdcu7JbQc_E,638 +material/templates/.icons/simple/purism.svg,sha256=wfuBXdgD_-3lX8jL9vSzUDtSFasbRRuBvmE5qOZy1cU,133 +material/templates/.icons/simple/pusher.svg,sha256=-xjErzC77bF_gqkquz7TkdSRu_ebshXL--8HZgbxwdU,1086 +material/templates/.icons/simple/pwa.svg,sha256=oIy1IbhEjS4kUDCGECYN2DUEJxBHlZMEaEZP2Tl-FS8,577 +material/templates/.icons/simple/pycharm.svg,sha256=IJh9QkUW0ZG0xVN5X9wozLVP7eLJYduFckp_wa9IcWU,606 +material/templates/.icons/simple/pydantic.svg,sha256=nTkvTAWxDjFDSz9hB0bywKDjAlCu7xnTTi0xXZbQAhQ,641 +material/templates/.icons/simple/pyg.svg,sha256=r-N4QjdHRyJGmOgG2SblN03nvYZoEkgq09kk1GO8_x0,2846 +material/templates/.icons/simple/pypi.svg,sha256=3PnPJjrLi7pbiZbxqRkbqfMaRCTKNPwpbNTpV79Dtes,1887 +material/templates/.icons/simple/pypy.svg,sha256=oQRYlmLyB12LR1vnvJ-0NSEl8zxFghRgMb3e0HuAQtQ,2861 +material/templates/.icons/simple/pyscaffold.svg,sha256=dOWdCRlw6VnYowy3Uh-84WzaQ02YfxyGq0oKLssfFgw,2510 +material/templates/.icons/simple/pysyft.svg,sha256=BAFzPin4mnUvQwvCGBY4UJ82NbIaZNM3b042WOnMFJg,724 +material/templates/.icons/simple/pytest.svg,sha256=iesNPS1sfeJWaLqjYNiCjAzmcthKnaJ_7d-Erliyy7A,390 +material/templates/.icons/simple/python.svg,sha256=H3GVNouuZrLmM350S-lLEDOfH7mdOv4FdsfjFbxYe-8,1482 +material/templates/.icons/simple/pythonanywhere.svg,sha256=Njpm-7t7z6O8GhjYVMXtN22jmzdxeM6fkuPPWEDFQWQ,4859 +material/templates/.icons/simple/pytorch.svg,sha256=3vyWyh_rACgLTfIU4euOH71WqIXnbFNXZsf6-vSX4mM,429 +material/templates/.icons/simple/pyup.svg,sha256=zf7jcLjmy7eVil4HVm91tPC7-D0FfULDSaKZp4154yA,227 +material/templates/.icons/simple/qantas.svg,sha256=mo40MABpTgvE3sdLBtojKU_4yzEvf6pvrUJMfbC21rA,504 +material/templates/.icons/simple/qase.svg,sha256=YmSOeYXT6Bk7A9z1oNQzh5X2p-SX1Qe6nSwoHA5HV5Q,724 +material/templates/.icons/simple/qatarairways.svg,sha256=mgECza0cyTxy6rh7X1_ErQ5d5QcY0wRTa9iVvKuwc7g,3720 +material/templates/.icons/simple/qemu.svg,sha256=jaIM9FUntUbLEGWrGIARu_CnqJcTqLkFR16wR7VYgEM,1435 +material/templates/.icons/simple/qgis.svg,sha256=DqDRbnbdudrIb70EqtKs-JgA2pt1bhn7Ce5dwfFmj48,514 +material/templates/.icons/simple/qi.svg,sha256=ekA1W1lr4ZFMdO624lfvgRrJY7KL-96Szmfi_j4NJSM,559 +material/templates/.icons/simple/qiita.svg,sha256=miiLmsyvTek4jrroiXZ-FFNaL1xHepVm4-4-778tjs4,2396 +material/templates/.icons/simple/qiskit.svg,sha256=65REyyp1hicG8PvUP35L2QSSo_Ki9k5G5P8Za-WDYHM,3396 +material/templates/.icons/simple/qiwi.svg,sha256=3_-ypydeUNYp_uiaIQe27UvbEfPpb1dG7YZRf93IkyM,975 +material/templates/.icons/simple/qlik.svg,sha256=DfzJdBqNaQrbesR9dVKe-9pDYfWL6uFiGUqmugLLxPs,437 +material/templates/.icons/simple/qmk.svg,sha256=aAetdBxy8Mg9W0RTc4tmXqKRW1Ak2pH0TiBLppSZCIs,3086 +material/templates/.icons/simple/qt.svg,sha256=EoHvfiFt8sy3YBSOKP6FkUtltZVqsQW24SOgYZxAg3c,896 +material/templates/.icons/simple/qualcomm.svg,sha256=gEyp3-ziZgtgO1ylIiPFIC3_cjHXXHjQQmnhdgDZ9Yo,549 +material/templates/.icons/simple/qualtrics.svg,sha256=8WRmbk5dItpeC7v4kYaowhWkONg4l_9OgnCEOj5eGnE,432 +material/templates/.icons/simple/qualys.svg,sha256=_AdRyf4XewV3e8yZ2xQXtfFqgou3oZxOOHgv5zD9t7c,644 +material/templates/.icons/simple/quantcast.svg,sha256=wDSLT8uKJZhqhYsaaKJVFUE5fz4NSWkRCCcmBcFxjpU,2229 +material/templates/.icons/simple/quantconnect.svg,sha256=gXp8G6qBuOJYy1NnqwDyhnNtOteJd96pfcilhkztGFc,1292 +material/templates/.icons/simple/quarkus.svg,sha256=nHLLl-1T4rd9s0YT6cJvV50-qhbrmvqHYP0kQY9OGFg,690 +material/templates/.icons/simple/quasar.svg,sha256=RXnE7KmgN1T5OOGtFHs3Zq8aRuu56wb3KXjf02__JAE,1401 +material/templates/.icons/simple/qubesos.svg,sha256=KuE1hHgJAYLDXLn8L04RfTbFIFBKt0M6PezFsZ2Khxw,1358 +material/templates/.icons/simple/quest.svg,sha256=hqjyd0SvU-YvJAm9Go3TOmGwu8iNfPukOjnli_iColA,2964 +material/templates/.icons/simple/quickbooks.svg,sha256=dRauvN2hz77VJfueSyEKtol9-kxCJSWQazJkQyayKxo,475 +material/templates/.icons/simple/quicklook.svg,sha256=-n8XkH-WAhtqtzZSgmRSnb1Jv2k4tjUYeiBkYsUxWK8,669 +material/templates/.icons/simple/quicktime.svg,sha256=p-vFnYxGHgw-G_ECl1lGCmYdbFUXiGGlyQG-piZ60zU,330 +material/templates/.icons/simple/quicktype.svg,sha256=PejTGigjAEv33VHQ7DrhqmuGrTJNJivt_QAjzGBVzuU,899 +material/templates/.icons/simple/quip.svg,sha256=ERbeOL9dfWQL93FVG7mpaEd2CKoyGHv23e6g0Fk0IAM,691 +material/templates/.icons/simple/quora.svg,sha256=C15wjYf3IF2E64uLpJw71Md5wTVL6eSVRpsjj0IszuE,303 +material/templates/.icons/simple/qwant.svg,sha256=2wRafjtAIv2LcbLwGOf83vyAN2Ytqc6v6dH7odJWtVI,375 +material/templates/.icons/simple/qwiklabs.svg,sha256=3GQT6CLix-73taFV1F1MrI1MdqJEDAd7fGvSb5lzEfE,501 +material/templates/.icons/simple/qzone.svg,sha256=g5MAUmumhltyAP6Ds8hboJPdXaBkJhF6uFcGmSg-7-w,1285 +material/templates/.icons/simple/r.svg,sha256=sN850XsPqh9NDpqjK_IPP3V0S20Jt5YbypJmTCfCVYo,870 +material/templates/.icons/simple/r3.svg,sha256=ZbPy92JhSf_MXtzcaUqoEsM8YtHBBHS5-AOOGuX2zJ0,528 +material/templates/.icons/simple/rabbitmq.svg,sha256=faGgjCJFV-Bgur-Iq-l-AjRa3ITCKCRY59pEQqB4iYg,545 +material/templates/.icons/simple/racket.svg,sha256=V64-nwz08bkzOCu1LFdkm6oCYi1AK_GEWriLem6M2-M,481 +material/templates/.icons/simple/radar.svg,sha256=4hyX6CQOW2OUDcUrobgJ1dI3qgFfBOV1nGj6NuL22Fg,117 +material/templates/.icons/simple/radiopublic.svg,sha256=tgTJWV-muZU3Lj7WZDCwhUm_mkpP7XrI3PjR7u4_srg,953 +material/templates/.icons/simple/radixui.svg,sha256=n8gplwOCLd141WYCzp8DVs6j_ighd2eBFdXZ2Dg31d4,222 +material/templates/.icons/simple/radstudio.svg,sha256=gp9jpA6fcz4Bk3SEUjLPqcWvfDzJ01Lq5iW6eCFhY-4,2493 +material/templates/.icons/simple/railway.svg,sha256=_zAzSEkSQZaFv0z2EkDYtYMT1VSgko6ofeiw4QJdWUo,743 +material/templates/.icons/simple/rainmeter.svg,sha256=jl4V1GSixxeOtbIfBPGWj10Gn1v8AjLQ1itKyx3B8u8,548 +material/templates/.icons/simple/rakuten.svg,sha256=wEHobKTcR_CwSPjG86Gy25iPZBEyGVgj5FNBjbAsdiw,329 +material/templates/.icons/simple/ram.svg,sha256=eR_TblcFBGp-WJLnCBLUd3eXajrDqJWrj0a1DyIeXBk,4548 +material/templates/.icons/simple/rancher.svg,sha256=P7UgXQka5ty49yDZ3SuGSTzB7nK8cnCN7eqDyjUqwkQ,1310 +material/templates/.icons/simple/rapid.svg,sha256=_pcs3Mvss1OuJ_NxuoSWOtFNKwOsq6K3Oth-Tr5Hqwo,480 +material/templates/.icons/simple/rarible.svg,sha256=EoAmN4SsVRUKM4oRg4yajU-YcSTaE25AKU-jzuGV2zw,424 +material/templates/.icons/simple/rasa.svg,sha256=u4LG3Znqa7AM2aVtTnqkb433xMCUCZog_2YMPlDDbjU,579 +material/templates/.icons/simple/raspberrypi.svg,sha256=21lqlEA9T6sW7WMZm5sCjvsUaT4mKk-AgQDL9x94ksU,4675 +material/templates/.icons/simple/ravelry.svg,sha256=Eg7CasLhM2thnTiGIMnrS6-Klt3nQQId8qCAsP3YhBI,1322 +material/templates/.icons/simple/ray.svg,sha256=wFeTh4GFmaVujFMH7pWOWrYE1VQy6pfJxWk1Sxotj8g,2063 +material/templates/.icons/simple/raycast.svg,sha256=g0vUMB-oGjeQEbcsw3QwS17AH7u9RCPdu2sDyjPMdMc,496 +material/templates/.icons/simple/raylib.svg,sha256=KeqRD1iNvokicE9w8a2nZmSFZqGzdHLffelo0mbuaHg,532 +material/templates/.icons/simple/razer.svg,sha256=Ulr03E12v7qOYkyot9OI4SWWsNsgJphiUynPUZfqxwM,7322 +material/templates/.icons/simple/razorpay.svg,sha256=dbf9LcSJUs79kgw_SJyT95FkY2w5S_qrZkmdyvXF8jg,203 +material/templates/.icons/simple/react.svg,sha256=zAtyifEwjdc1BmOq6trP2AnalEbusjM6QV0Ed9hyjtQ,2816 +material/templates/.icons/simple/reacthookform.svg,sha256=66d-hPovArJfgajkktu77t2l1M3LCY_TvjrC8YHovpI,922 +material/templates/.icons/simple/reactivex.svg,sha256=QTSQiU7lgnPxBWAC9ePaz8-vJ3rwfnj7RAF2jYSPRZc,2716 +material/templates/.icons/simple/reactos.svg,sha256=Eyizs7FAE2jyEzkuBkcpfbLoy4NzJeJaKx9vT5Yi7Nw,1929 +material/templates/.icons/simple/reactquery.svg,sha256=tTxTkTg6HWQpiDFIjypdYG8Phi0Hn5zsmIu6OAPlSbs,3475 +material/templates/.icons/simple/reactrouter.svg,sha256=wahNNGCclGrlcrIZE0jDHhKsYNcXd1CzoYmlNc_YyLA,1062 +material/templates/.icons/simple/reacttable.svg,sha256=SN8qpW9pV-VN2fJgq05qbg6-odWeiPSfaHEnu_6b0IQ,3067 +material/templates/.icons/simple/readdotcv.svg,sha256=HRKYaOpcP-PLegn00-kgDQym5rAyh3JOv3IhiJyCMW4,726 +material/templates/.icons/simple/readme.svg,sha256=sOGt1XqEfRrxH2MaEqrxNCTiznY7iQYaNyRbsPYSQ_Q,1128 +material/templates/.icons/simple/readthedocs.svg,sha256=3KtvncivQE9EpIguma3v8IFEoImEinrtmuBbLvrFNSo,1699 +material/templates/.icons/simple/realm.svg,sha256=kz7amvmrdgr346c45qC2h-w1uy75503fFiFVbh-EqK0,2579 +material/templates/.icons/simple/reason.svg,sha256=uihEgagJV180Ans-4tK56U-Q0AxFjOaI2uQ1ALwxFSw,347 +material/templates/.icons/simple/reasonstudios.svg,sha256=Iz4d_7KFcDgDMSUzpIscHIqAojiWay5kxNCum7K7Z1s,405 +material/templates/.icons/simple/recoil.svg,sha256=1fM0O4-TgyHaVeetGVSFgiLRF3oLynBaOA4_lsn6uqU,927 +material/templates/.icons/simple/red.svg,sha256=nT2rYjvxtd6NLTt99ML4fnmcndqD76vV2P-zSvPAc7o,270 +material/templates/.icons/simple/redbubble.svg,sha256=Wxrp3bslOFpQx4ioVAWmkGAw3u4ad3Q-zwta4nwV7xQ,526 +material/templates/.icons/simple/redbull.svg,sha256=RHoBPSSTE1LkFM9TqdikF1uJc8Y0p27LotE0Zej4hz0,9358 +material/templates/.icons/simple/reddit.svg,sha256=XtxfK5v0z2va6q6_oS0FIJRh-igCjFvNHQVKXTjMMwo,1007 +material/templates/.icons/simple/redhat.svg,sha256=1oZ05_778Fg2WZLI8m1lPnNIcCTR115FtTR5Tim58AQ,648 +material/templates/.icons/simple/redhatopenshift.svg,sha256=CwqRDJ7x6ofniRX4jzSJJQ6_psBuk7bWtCVWN9EJvw8,767 +material/templates/.icons/simple/redis.svg,sha256=EMNnRTeRC8RvGm71-FAqtilA2WBufRjgjzYEObxlLGc,1108 +material/templates/.icons/simple/redmine.svg,sha256=Iso0QImDjoNPRKJvMh_0F4VQdjnuH6fWSCxl1EnyJQE,1502 +material/templates/.icons/simple/redox.svg,sha256=TUjWk8ksl0eyA3ZTrJECgww8_XT8eeCvB_DoWy7IEwc,3490 +material/templates/.icons/simple/redux.svg,sha256=dJb8REiUj6ylKgMgSroiBPhoIN1ZGnUQ7zMd5qhF4eg,1404 +material/templates/.icons/simple/reduxsaga.svg,sha256=_J0XZso82MsCA7qFkD4g1ZdrK5Pcfwpqm80SbTZUIh4,1956 +material/templates/.icons/simple/redwoodjs.svg,sha256=b_Wrt-7ZVxweaniGaDxeSbRbEz2BWPEvNBxzvJe7gY8,1671 +material/templates/.icons/simple/reebok.svg,sha256=oxqihU0MHgRT0Kpyb5kweGgtOFKv-LZZORYJvFVObIQ,483 +material/templates/.icons/simple/refine.svg,sha256=xfCiyUsBicA4uPkJ9dw0Wh_nZEzcWU9e11_URcGk7lU,344 +material/templates/.icons/simple/relay.svg,sha256=q_XRzUBu6c0WFEgRhW4yzeDfZvoHixkft0yc9Zb6QrA,451 +material/templates/.icons/simple/relianceindustrieslimited.svg,sha256=04ut9z_EIT3z4e2fCS0J6c-nXvAmjpUg5XbmiYEnJ4M,775 +material/templates/.icons/simple/remark.svg,sha256=kdRwWE4te_0cFFIdi-bzAt2WYyU3RXgKvw3DCtGEau0,751 +material/templates/.icons/simple/remix.svg,sha256=iBxyQXx5APpOpcbHKchl5sEhWUR4kzuR0S9y_pOk-aI,460 +material/templates/.icons/simple/renault.svg,sha256=tRFg9Ke1pBhx8m3vwcdRculEQ_QLttrId_F9Hol1o0Q,304 +material/templates/.icons/simple/render.svg,sha256=iZBoEWsEkKL-78TUeC7ZQBtQHFRjZucBQasiqCv5Msg,513 +material/templates/.icons/simple/renovatebot.svg,sha256=pFen5uolarMTXMOEKc6wLw43hvaq0p4JR1OsYmp2j48,1456 +material/templates/.icons/simple/renpy.svg,sha256=8aws4i3vREw6f9z1sCxOTSdEfPHeeE0PZOwoqTXXwuk,11401 +material/templates/.icons/simple/renren.svg,sha256=TNNZwM0GQqxUy4aaPIq-wBVXTCIbYwgYok6bNDJ-mng,779 +material/templates/.icons/simple/replit.svg,sha256=5UuftAb0NIDGRW8vB5nJ0DRReqVYoAn7Rsu_56TO-B0,294 +material/templates/.icons/simple/republicofgamers.svg,sha256=PCntYtYQupuKoPmq0DfXCrcmrIXLIW9e9x7thQfLZ3s,831 +material/templates/.icons/simple/rescript.svg,sha256=80e3oj3p3_BDIaPX-4WfXbZuTpNbopaKGhPtFcXB-2E,658 +material/templates/.icons/simple/rescuetime.svg,sha256=2Syek6whYlJL89UBFm-0dT6NCdIRVqFmMUzPOcvmMqs,634 +material/templates/.icons/simple/researchgate.svg,sha256=HtaogRiQwwuBc_HhElp2sT5XfAiGdkbT6S_28D4vuq8,1891 +material/templates/.icons/simple/resend.svg,sha256=vm1QRtlCH93zDxAhsDdZBZcjsucBt45qZygmdp70B7A,471 +material/templates/.icons/simple/resharper.svg,sha256=YPhkJhbjSKMjoszpkPlEmN2z702tHa0uZ69CfZ2fN48,724 +material/templates/.icons/simple/resurrectionremixos.svg,sha256=AAHQ7fm24WymZ0bUHFxgL2XujiKHAIH9c0YxH4Xl9Ro,442 +material/templates/.icons/simple/retool.svg,sha256=xSprt5wKnChP6hc002tBQrPgspgFkY_zmUThdAYI0kg,404 +material/templates/.icons/simple/retroarch.svg,sha256=94KwyJHMDbb0LPiTmPpfj3WTPFUGinOY39feVsIXeNs,371 +material/templates/.icons/simple/retropie.svg,sha256=ZctGS0F4Guo8-agHRZN9YSrxMVeytedtvdiNnBIVMoE,6378 +material/templates/.icons/simple/revanced.svg,sha256=ZE4RqUlW1eBvfPK77UI5tdgdW5jYCG1MLzLgAyeRZWU,352 +material/templates/.icons/simple/revealdotjs.svg,sha256=VodGYGOanf5RThusUH6x2wL9dWyQpWXh-DVzo5dmlFQ,553 +material/templates/.icons/simple/reverbnation.svg,sha256=ptJBdSmpbaJrjMiUfgYTU1JP0FN8W9wVpmvxZctLZ9g,205 +material/templates/.icons/simple/revoltdotchat.svg,sha256=5eoCbeQUFz_3CL8Xk7xTJYd_s-dlqflJze4EKgt4m6A,331 +material/templates/.icons/simple/revolut.svg,sha256=6j0BSXsahLBighvUrDETQX6D0c5WqTTU2VIVkYH5QYk,1658 +material/templates/.icons/simple/revue.svg,sha256=OBvtLcDgIbfq_yyBF8ZmIXOw1Wf9aLjGOlR24VSAZSc,2001 +material/templates/.icons/simple/rewe.svg,sha256=iKj7E5lCS9dGyc4vh_R9aCy33XZTBae1rM39aDsxM7s,1429 +material/templates/.icons/simple/rezgo.svg,sha256=XcGM2MujbRzJq8W1dX4_Pq5j6wohVbrgLiYhaHXFl1E,648 +material/templates/.icons/simple/rhinoceros.svg,sha256=qNYg3Bn01iLtSs0CCypR31vWkB7hbdlrLBWP_jmMlSE,4487 +material/templates/.icons/simple/rider.svg,sha256=U_tpvJjWhJART9hsthnA0W3bgGmCeX_yAJiKiyn6Rqw,528 +material/templates/.icons/simple/rimacautomobili.svg,sha256=EHhQR5sJd6EToqAcmI6UYIz-E2BFPhQp3gKE0rJsme0,855 +material/templates/.icons/simple/ring.svg,sha256=vRbAuxQhvt35xnBMTZXhbHDq9PI0Qyd-jbuK-AneeC4,2427 +material/templates/.icons/simple/riotgames.svg,sha256=2gpryW8bn1wSTkDmLEOnuFL3APnOenYhdTYGEZGOqzA,299 +material/templates/.icons/simple/ripple.svg,sha256=ROqV7mhfbOSqY6IBDr996apBJQTLI0dLTu1O-k4ZcLE,701 +material/templates/.icons/simple/riscv.svg,sha256=vYbSsI_nSuFGQEX4QaFAJ421MiBEcDZiX_ceNDIQfqg,359 +material/templates/.icons/simple/riseup.svg,sha256=U1hWRZ1CLZ55_ft1L5znxMWLRN0paTPcwrTNoywFACE,188 +material/templates/.icons/simple/ritzcarlton.svg,sha256=E-bwkwUxRCQDdSbLMoKr6Tco-rVUBNBBuzZ2W_sg900,15155 +material/templates/.icons/simple/rive.svg,sha256=Pwbqy4so-eeaGrMRGprdVvkBjaA6ZnLb-sElsDuBB4I,611 +material/templates/.icons/simple/roadmapdotsh.svg,sha256=LAl9RDoCCOBUimly3qsJsjooMDAxFYv7OY3uzV1Oegs,976 +material/templates/.icons/simple/roamresearch.svg,sha256=NWfu1tGW8EN-WB922lIvDlsJuleTVBMNNMqulVla6iM,3046 +material/templates/.icons/simple/robinhood.svg,sha256=vm0c-KnOyhtGaZLYKWtwfCKAiysrBuXL1e676v-JzvY,1700 +material/templates/.icons/simple/roblox.svg,sha256=gp36bbYMq9CUO_c7V2sgRxw0ambAUd1yLoC7DktBBdw,177 +material/templates/.icons/simple/robloxstudio.svg,sha256=rYPkGoFX-inJJWV-1y49BtuK5p6kzvcH_TJnAwVIZ3s,226 +material/templates/.icons/simple/robotframework.svg,sha256=Hdu7dSEtdmAV9aL9fYiCe6Ie1fsHivrp0e5nI2EUAZM,1106 +material/templates/.icons/simple/rocketdotchat.svg,sha256=qNFGOMHK5VBqSx7z3AFvL3507J1J-jveZKbsErEMmKc,1310 +material/templates/.icons/simple/rocksdb.svg,sha256=gtVgJj8Ze3tPqRA1CzdEWVIPyO93Au0jV5qmVJI7zac,7035 +material/templates/.icons/simple/rockylinux.svg,sha256=Jp67gGgu7paUum8nHAjvY1kCQvPaKOvLYfp_WQpzq4k,301 +material/templates/.icons/simple/roku.svg,sha256=qy9TxPaa3dNq5n9_gI3vcOogK90iePIHmUEmecpW1GU,729 +material/templates/.icons/simple/rollsroyce.svg,sha256=bP3oWXNIbU9yw5zfupngoj2cSb5PPRBvQcWwUCHfDqw,1786 +material/templates/.icons/simple/rollupdotjs.svg,sha256=Tp1FT7hKhQnv8RUMrTVEbXEQUbo6aUN27rs2jAHb5nQ,600 +material/templates/.icons/simple/rome.svg,sha256=41ZaUAaExeOkXy8zOLcp745sGXKsVEaC-SZraAU3reo,778 +material/templates/.icons/simple/rootme.svg,sha256=TFkOQwiRw2lr3jhrmmOlwm9-RU-kg53xJyfBzuYVWCA,4624 +material/templates/.icons/simple/roots.svg,sha256=ulE_MnVJRFIjHkJfuR-Xg_4D_JabggtuGDsrPXklv7w,1001 +material/templates/.icons/simple/rootsbedrock.svg,sha256=ySM_jDPH9pEfKdEMq98A0bupejCL55i1DLggo9DrNOI,321 +material/templates/.icons/simple/rootssage.svg,sha256=lGfN_skz4f4tXgDwF3pPoMY1SON2eMI7_osY--scd0c,339 +material/templates/.icons/simple/ros.svg,sha256=EDM-WlAbl_24hELKMlauM3p5pDlhLuiMNbtMvypN_S4,1194 +material/templates/.icons/simple/rossmann.svg,sha256=g8dJhDbvYrTADqkdr075PP111V-y8uUQGy9VraSbODQ,5092 +material/templates/.icons/simple/rotaryinternational.svg,sha256=s-Cqz5ItQkPJ953zVrbVo_SmkSCVexQA-D8OWwIn-Zo,5376 +material/templates/.icons/simple/rottentomatoes.svg,sha256=25CzxHuOzw1q7FAZ8j0BqW5jl7lOiBAzX7Ck9G-wcm8,886 +material/templates/.icons/simple/roundcube.svg,sha256=LEtbsEI7ZuaTVNAlcehqgnT93xWXD4pKBfuD9Hl7aqg,367 +material/templates/.icons/simple/rsocket.svg,sha256=_Y5RUtP8K76a1ZalvZ2xR7KXosE1GtQqmKLTBwvi9cI,1834 +material/templates/.icons/simple/rss.svg,sha256=0H4tTI80Sti6Hgo8J4gsLzYlIfCMQdNRuQD_UeTnReQ,362 +material/templates/.icons/simple/rstudio.svg,sha256=4ytx0cK9Ax4aL_OztV5rE3UgIGocLw4w8BG1yPX3qnM,582 +material/templates/.icons/simple/rte.svg,sha256=ZefZ4FEPKzGNGKgFLAQvE0ohIs2of7qCHuNnYntXr1Y,1176 +material/templates/.icons/simple/rtl.svg,sha256=uzKujj2UlpupbQPUUo2SiY3FiM2pHNxi0EJ_nCNnKZw,595 +material/templates/.icons/simple/rtlzwei.svg,sha256=3g9G69ryJjpsN0BZ6hVlSyOE8GAoi6wUkqTLHZVAQ0s,256 +material/templates/.icons/simple/rtm.svg,sha256=PuCwSQNJsF71oG7IlzAs4rqeyGWyvov84LkEi9P1tlQ,730 +material/templates/.icons/simple/rubocop.svg,sha256=Nx_PY0VGDOf1v0JgKPiT2KgOg5HhnF0h_9BQkZ4JIsM,932 +material/templates/.icons/simple/ruby.svg,sha256=x7xfbksm5Rco8i_bgxeOLYgWDMSk7gXjoK1Yl3QWBGE,505 +material/templates/.icons/simple/rubygems.svg,sha256=8nkLjqnKpWGA63pWxeeT5BNjJqvEHlZ9FW13Z4BKMz0,244 +material/templates/.icons/simple/rubyonrails.svg,sha256=-VFW52mr-WqL1i86PX7ivnoyBWchyw8eS7i4OQx76ww,1168 +material/templates/.icons/simple/rubysinatra.svg,sha256=vZyecVYiEvofwkquisVj-ek9e-R5Iv5LYgOpqzWqrIM,1993 +material/templates/.icons/simple/ruff.svg,sha256=7o3L4mlKbHEZmUPj_D6lQNXmvV1wYpFsp1zIL86IPWM,317 +material/templates/.icons/simple/rumble.svg,sha256=10cYF7Qf5q0_YFx6fYr-uitooaSYyoUhIAg9MfexPJw,515 +material/templates/.icons/simple/rundeck.svg,sha256=jhloC-057DVgBAmPMN2uSalYz38cMZTqjgIsTa15JrI,218 +material/templates/.icons/simple/runkeeper.svg,sha256=YK5y9xZLo49oMnHHJOfnR1dpTvRKxYXoWB4qktbs9D8,3739 +material/templates/.icons/simple/runkit.svg,sha256=kBYFEdtoJiBHA395Kxet-PGr4VLzp_e-N6uhPqZDrKw,403 +material/templates/.icons/simple/runrundotit.svg,sha256=JTD4WhexUDfSbzE2-gmZ_VwNPp__Bta_ThC0RMVd9jw,794 +material/templates/.icons/simple/rust.svg,sha256=fRVoXa1sdedL2dsMagAGWWzS5_YDiig5FWH_kxyeBBw,3609 +material/templates/.icons/simple/rxdb.svg,sha256=4wXogxON318f8hM8IYQ7bJjdYGreDb8HUAfynUl02pY,365 +material/templates/.icons/simple/ryanair.svg,sha256=T2ZcrH51oHR-E9iTQfMj-8hpF_qWV5GfwehIokvrDec,2281 +material/templates/.icons/simple/rye.svg,sha256=Kv5FZPp0lUgiIrhF7FsEoKtns3ycws2-d8FS_fykeXk,1118 +material/templates/.icons/simple/s7airlines.svg,sha256=ggG32-2scQz1PaWu7aoQXJX8prNG1RO9xk6v2-76r3U,820 +material/templates/.icons/simple/sabanci.svg,sha256=V68ffKO9JHnL3WQpZmsf3bafLxuL43KRoGarBmiLDYk,968 +material/templates/.icons/simple/safari.svg,sha256=S4OKWYDyteiwPlNHu-9ITMAF2BhIcEcxJXKCWDLSf7M,11783 +material/templates/.icons/simple/sage.svg,sha256=JGTkEXpckh7mNtzlXY2s2DppAH-i0cHOomKCNaYdXlI,1794 +material/templates/.icons/simple/sahibinden.svg,sha256=zUFTovs9ci7ttMWyB6dCuAomnByvuIPMAiLhhoLwmBg,602 +material/templates/.icons/simple/sailfishos.svg,sha256=5Tru-Q3rD7AqUMhtyBLB6JSX2jIik4N5zcCbaa5TgaE,1507 +material/templates/.icons/simple/sailsdotjs.svg,sha256=CcFjcJ7Y5w9PAYBYTf-N-9PCbxYG_GonBh9sintW9pI,161 +material/templates/.icons/simple/salesforce.svg,sha256=Bq-iGoerCLeZaXq5ZFj8spJMQPasJy8nbc6HN0jabDw,514 +material/templates/.icons/simple/saltproject.svg,sha256=SsMqQGUuKp3gzQ1uNnqEvsn29lvWUwHnPUvasaR1d9k,114 +material/templates/.icons/simple/samsclub.svg,sha256=-2mXaSbLYcexRcNOepucPe5xm8kyNJIOrIc7OH2ine0,399 +material/templates/.icons/simple/samsung.svg,sha256=7CXEueAkb0_WeDhr-cC4uBG-eil72Pq6U3O8CwyQqwQ,1871 +material/templates/.icons/simple/samsungpay.svg,sha256=FlaWjsPCrzCKgaLCDnQ28KhUffV6l4jUEXGu5zmM9Jw,2394 +material/templates/.icons/simple/sandisk.svg,sha256=gD1YhzPDjRfS38cakrXxUQ4iXdm7qZpkxb0skPYeSXQ,4386 +material/templates/.icons/simple/sanfranciscomunicipalrailway.svg,sha256=eRC4lCNsv90crnwy1pCRaTrvMoVnUorbG43rIRa9-Sg,1588 +material/templates/.icons/simple/sanic.svg,sha256=OmQ4KEsVZmHNleEDPMurhWINHD8e1Q73zRGYLw50RHU,2437 +material/templates/.icons/simple/sanity.svg,sha256=h3gGTVzyNIT2mdC7nKbOYbm4R9qYgdy48CV1zYqjpeg,717 +material/templates/.icons/simple/saopaulometro.svg,sha256=hJVW_8MxNaXrDmYCmbRh7tYcqrvTB0FEWdaoEqmWpxg,293 +material/templates/.icons/simple/sap.svg,sha256=FjHFOimq1XRhGHmDCHmPgxXR6dM1UdPVf1IuS0bB_Hc,997 +material/templates/.icons/simple/sass.svg,sha256=vt0cDkHYjlL-rPMiM4JcKL0MbmC5OZdE2cycLleyUSw,1190 +material/templates/.icons/simple/sat1.svg,sha256=0t5iPAnmo91YikyTgIjbkJK6uLaoaAEL1wfI67qLBro,1341 +material/templates/.icons/simple/satellite.svg,sha256=gWDF8duSn2GOMSDmqL9K7deMp_HQWfNATSUfymZSneQ,1530 +material/templates/.icons/simple/saturn.svg,sha256=NRipa2JYMZDzWoYKR5HGfNVFyzTfWOjRzDq-AiZC8mA,1118 +material/templates/.icons/simple/saucelabs.svg,sha256=LPX0HgJE0kJjGHddhnzhAlAxHCNaAiAJG_YEwfiFxns,384 +material/templates/.icons/simple/scala.svg,sha256=nN0jNptPjNA64AiIRFZE1wE1YfGPZENLvk5yY9gUe0o,336 +material/templates/.icons/simple/scaleway.svg,sha256=fWjfQRDtRaA7-_K3EFWEZOkjHTtxec6Rrc_q0jrfmJo,725 +material/templates/.icons/simple/scania.svg,sha256=ZQ_ufnTeWy7mS4ndhUMjJfkl6Ms_a2BW-WSE0fcy3BQ,8314 +material/templates/.icons/simple/schneiderelectric.svg,sha256=nb2wQuykV5aT_8NpCrRZWtNTXZfR2KlSgFUTKdnBC6Y,726 +material/templates/.icons/simple/scikitlearn.svg,sha256=W1woBRctxUyL0qDB_mNyD5LFzGIkuM_4qoElQWvbIpw,4902 +material/templates/.icons/simple/scipy.svg,sha256=tGzHJ69KxVbKOwZ8aHHg0zkJuQxo2uZ0NFkghRqYvpc,1310 +material/templates/.icons/simple/scopus.svg,sha256=4bg-i5UyQ1EAn1AcpniaW1vPrOFyymUjMSO8V6YH6Yo,760 +material/templates/.icons/simple/scpfoundation.svg,sha256=sDoqfsxg38MxbR5bFTrSBlwdgQEUahCMwduOqFofBsg,5036 +material/templates/.icons/simple/scrapbox.svg,sha256=xxIaB52zInz_ltv7SvYyR4s4xi6wFt-6vidZak-JQOo,752 +material/templates/.icons/simple/scrapy.svg,sha256=eJ-s4k_HaeI8i1jFZnTAOtRNkBAg9nWxg5UTJYQvTCk,849 +material/templates/.icons/simple/scratch.svg,sha256=AE4TUx9x_ViW8rpm733vQh8m4uGH-9gl3xAKNhk2yxs,2017 +material/templates/.icons/simple/screencastify.svg,sha256=dhyaTQ5wEgs1O64fvBRrVGVhxo_Jzss33pCLAp4VoXE,424 +material/templates/.icons/simple/scribd.svg,sha256=kLj2T3zo4_hQXxlYCBXsA4Nj6I1oKCu04Z3ck1N_MdE,1118 +material/templates/.icons/simple/scrimba.svg,sha256=goVpHLd9VZYU0bIdR2pLxMbxQ9eJoc3dGpxSayWyWBc,398 +material/templates/.icons/simple/scrollreveal.svg,sha256=5LbijZKccG5A9-thvZ-1tc7cjOC8_eIIZC0F3HoG77M,1008 +material/templates/.icons/simple/scrumalliance.svg,sha256=Kbd8l8qzPoBZsceKVqhj3DJ9i_524-Q8yi2oOFg27j0,6410 +material/templates/.icons/simple/scrutinizerci.svg,sha256=cRWvIgVPa8epxG1BMHf4-et5BRF5fJmoGiGSRTZZL70,1016 +material/templates/.icons/simple/scylladb.svg,sha256=oXvv8KI0uRCq5OLaMR2hXMPh68U9EoI0Wr9ul2BAwTo,4198 +material/templates/.icons/simple/seagate.svg,sha256=0Pa3BojPAVBgqm2zsJkgjdzu7j7eiQTs3x1vqKKYq9Y,1948 +material/templates/.icons/simple/searxng.svg,sha256=EqlC8JFwTLp1SgNYcjBzPSHkHV35bwB1g5wrld_oKps,543 +material/templates/.icons/simple/seat.svg,sha256=U3dI5k9BAQyDasObZ8FZscWzYUyjqHBCQqjl1g3jims,723 +material/templates/.icons/simple/securityscorecard.svg,sha256=9A5q-vowQFq-8IDSZUqwFzaAQ0H0O6vCzmrMIET8g5k,388 +material/templates/.icons/simple/sefaria.svg,sha256=OGc9N-g6t2s2l-WM1LpKrkyYS_sxftEm3yNPwA2FM98,599 +material/templates/.icons/simple/sega.svg,sha256=SXseXjJeEG8nO-wRe_NOtIYaLZ7jH7Cou-I163zGnZc,541 +material/templates/.icons/simple/selenium.svg,sha256=4-bgfbRbxI_3mmTczQmqENzx84HpRly2HOXDmf1i-j4,1186 +material/templates/.icons/simple/sellfy.svg,sha256=1BnaHpvlH2zxlWr9n-fWsreF9w6haGliSATIGoy3C2g,691 +material/templates/.icons/simple/semanticrelease.svg,sha256=zFntzIzZpnd577w0x6EA9g6lcAs4MueTb5OPDEUscTo,1015 +material/templates/.icons/simple/semanticscholar.svg,sha256=_L3zhiq4VQlW-OgRkz2ZmqhLte9veALUQ7NyiURqNWY,750 +material/templates/.icons/simple/semanticui.svg,sha256=neSR5u0_TC0ratFsZuXQg2SVfXqcUHGxI4e0rP49RGs,629 +material/templates/.icons/simple/semanticuireact.svg,sha256=O7I7Pt8kx1lsvjmIvVUYsfdN32Kqh2XjRkscm2R4GJ8,2216 +material/templates/.icons/simple/semanticweb.svg,sha256=xH-CKNdWJSTrdYcAWqkG2y-Hq_SrjZxcTD5HIpcOp-I,309 +material/templates/.icons/simple/semaphoreci.svg,sha256=7FQ75czn5IVimeDywhkg86Gz03xnyEXh4KY2ocwSzCg,421 +material/templates/.icons/simple/semrush.svg,sha256=sbmQoSWqNoxg0-AIBNxELcA0sMerDcSUD-Whfg5T-pI,896 +material/templates/.icons/simple/semver.svg,sha256=6VgxXUre4-wEOPLVYvDBhhuwjHteo4pw_5oneTatslg,656 +material/templates/.icons/simple/sencha.svg,sha256=4Yvfl5iQPL4DF5ii8dQEtSSOEEPrTWqF9i9KBjwc0T8,382 +material/templates/.icons/simple/sennheiser.svg,sha256=ICVL_ba4hwBoXD22Z_FjJxajJ181P_YLZTejQTR2UQQ,391 +material/templates/.icons/simple/sensu.svg,sha256=gZ3eXxBgL59-PnLrg5_VQYgI_XTBwwMXgjdYuj-0MV0,434 +material/templates/.icons/simple/sentry.svg,sha256=Mmrm57SCL_FA2cLdoE6YXc87Dfx3cxLyNLLfLhCisBc,654 +material/templates/.icons/simple/sepa.svg,sha256=Mqq8wlUP6yv9W9kWS4ZfFuBLErPU-7pxiZKn8rt_PyI,1904 +material/templates/.icons/simple/sequelize.svg,sha256=bOCQwLgNcxM5CvGWGX3Xut-c_wKocbzKJ13ReqF52LQ,1007 +material/templates/.icons/simple/serverfault.svg,sha256=6leCNZY9eszTX_YpdH-ETezaZ7-OVCm5d5rGTRSfgrY,568 +material/templates/.icons/simple/serverless.svg,sha256=KyjpLolr6MMNH32yn1mAkVKWGZ1b20rP__mxjdQ2gKI,253 +material/templates/.icons/simple/session.svg,sha256=MuTL7-WV7E3AIH2u8jfxNew5GUoG9X8i8XpI5qPtSlc,735 +material/templates/.icons/simple/sessionize.svg,sha256=urg_AU4tRbx4gyAx_BOpKqa9bFC-3RERr-FkeJaVFQs,537 +material/templates/.icons/simple/setapp.svg,sha256=4DX_GDz7K2tMI3fvbcdpFdRCmlhxczVHQGHEo2gm0gw,1076 +material/templates/.icons/simple/sfml.svg,sha256=ckWx5kWFFvtCLqSxT62V3YMj2mCuJsvCBJEaAVqB4BU,1136 +material/templates/.icons/simple/shadcnui.svg,sha256=6a3dW78BZWyO29__AkE5Yvbhe0ra8Jz2slut2gIXlSU,275 +material/templates/.icons/simple/shadow.svg,sha256=AdX7njglg_P0FeleusPuR_00vJRv3_bD95O3gGgfsXo,257 +material/templates/.icons/simple/shanghaimetro.svg,sha256=msCNVPqNiqte4DByDATu0tnjNLVIpSwwdee9QvEgYWM,527 +material/templates/.icons/simple/sharex.svg,sha256=cHJw3fZ52AWpvwhS1tWQsIHjAgoLP6bpZjcRMwUrkME,1195 +material/templates/.icons/simple/sharp.svg,sha256=jr2QdXP8P6jqC8WYmLA870zyrKrd6ngMh4Vfu0rGS44,411 +material/templates/.icons/simple/shazam.svg,sha256=YlsUAA29DeafnVgeVTDeQ341hvEiUjtl4oSMeJzHaE0,1037 +material/templates/.icons/simple/shell.svg,sha256=AxteiFU3lYIkmh__qhvDsVq7uuKSfu_QIPtWHb2I390,1014 +material/templates/.icons/simple/shelly.svg,sha256=WZm7c29c-kwRNYb3_BTrEAhJ4uwkJOKrFcpDjDF8vV8,905 +material/templates/.icons/simple/shenzhenmetro.svg,sha256=3JMYr_b-Mrg6da9Vc7CA59SQRkmiKAqJH_57TzX9uAQ,658 +material/templates/.icons/simple/shieldsdotio.svg,sha256=NUoMZV9ZleuFpJHVWbIfYeHjvTiUJqLx5-J8afbHbdk,2731 +material/templates/.icons/simple/shikimori.svg,sha256=bgGNKGdbjrxaMe1KG9AASvHAuLHqcrSDhuj55-2HKMs,10330 +material/templates/.icons/simple/shopee.svg,sha256=a2VwnU8EqNNXh-TM1cGmnJIfm0BDYThXM5nOBg85i2Y,1082 +material/templates/.icons/simple/shopify.svg,sha256=3jtrNxz_eGGnwunEcNm1EuwngZH8x2VwwopiNkp2ScI,1193 +material/templates/.icons/simple/shopware.svg,sha256=LzRmR1iwHrYRb2ruEOP_6MOJ9PhaMWOicO41EOKjXCc,880 +material/templates/.icons/simple/shortcut.svg,sha256=Q41Af_g29FQw_PyF599t9wNmyj4uQRZK6TpwctHhTn8,822 +material/templates/.icons/simple/shotcut.svg,sha256=9ZpgKOIMLcodVSL7zvIuyQW-Kd4P_9pNusAIWx_yXus,228 +material/templates/.icons/simple/showpad.svg,sha256=2OzxS40FPDF7LsXzLpd9Baqg0jfbNvAxdF2M2sOEZCM,965 +material/templates/.icons/simple/showtime.svg,sha256=JlVWkD1wXZp_xcOMTO2v5OlMKl-iF7P0sLf8XC_9vOw,807 +material/templates/.icons/simple/showwcase.svg,sha256=O5HkhlPjvSygNtiXXJDSxpZAvisxWgbX_bZiAvO4Jxc,2652 +material/templates/.icons/simple/shutterstock.svg,sha256=PqiVNuw8bCtzaqgUaQDrKx-g4IokEJ1XvjMCdyXm3Zs,282 +material/templates/.icons/simple/siemens.svg,sha256=R1PuRPaHuhQG2yuLzcvfeiJ6deGyYENQgku_HDADPgs,1393 +material/templates/.icons/simple/sifive.svg,sha256=yBhnaBddHVF_Ugnyh1mRRQAqgYZ9uwXxp0cCcdVRXlg,276 +material/templates/.icons/simple/signal.svg,sha256=rq-JTCdKU3eXAWUQHSxegDSdqo_aXHd1eNEU3FkwFkU,1674 +material/templates/.icons/simple/similarweb.svg,sha256=92iWWN3JwaGtkDzZxFEug5Bg9Bx8Hriwgicn09ZCwnM,816 +material/templates/.icons/simple/simkl.svg,sha256=VDuTRUnHFFUj2yZbNFUIAFVCV-eUvbGyM7m7Fmo5u5g,1347 +material/templates/.icons/simple/simpleanalytics.svg,sha256=TVOj-gTFQjN27mim9NOCwe9i2JYkkjGSUkhPr1npuHc,157 +material/templates/.icons/simple/simpleicons.svg,sha256=W0XznhXbGvzkNN-bh68JQJjqVIYL1QQjLft8nnjVoYY,540 +material/templates/.icons/simple/simplelogin.svg,sha256=NoJDW5IpJZN2eYakfyURp0ay7YjIhNIBBfYBoPH6tJQ,1650 +material/templates/.icons/simple/simplenote.svg,sha256=3SlZOV0BMvveF8ehGFDd0NJXCiiVQHTvm_ytF0rP6ow,506 +material/templates/.icons/simple/sinaweibo.svg,sha256=lh5HWxnyELe83BcgJbwOVDHoR9loD73oDMd-vZi2t74,1419 +material/templates/.icons/simple/singaporeairlines.svg,sha256=dDrBGlDmjb-NMculLaFzu3b8UijYIEmxyuO8zjVFai0,923 +material/templates/.icons/simple/singlestore.svg,sha256=_34sKkkhrjJVt09cfQvB9uO_TKR7IyqlirWpeghFkk0,869 +material/templates/.icons/simple/sitecore.svg,sha256=WCLPKoxiK0RoCnZJEYBIocoKAGgSY1mKIcxjBh7430g,842 +material/templates/.icons/simple/sitepoint.svg,sha256=W2fkNkJeVrCJxkCWM8Mm2lMdykydYo-VD0yGTYM7jKc,468 +material/templates/.icons/simple/skaffold.svg,sha256=epaBSJV8DQRfWh1_i5npgUQrqwKWw_x9Zn7P9COq2ks,244 +material/templates/.icons/simple/sketch.svg,sha256=oBgv1uG-pZyBULgtJ4Jm0ZIXU7UkR-CJrwN1cPuQtcI,371 +material/templates/.icons/simple/sketchfab.svg,sha256=9cuaBMz962j6wQg5j2pKooLk3Xq7h60pDfpnJf_FIkE,465 +material/templates/.icons/simple/sketchup.svg,sha256=6JDjAOXMLyt6FFMjAw3DPZsbhA2afsB9WSQ7TAfuQjY,807 +material/templates/.icons/simple/skillshare.svg,sha256=EVQNl9wiZaI_HLiMo0XXck2BV76TRGOGtVCrMDLqQ9k,2047 +material/templates/.icons/simple/skoda.svg,sha256=LW2hWNGpACE9riYTCxPSSXxQzTgEpwpJ-E0Zi7kD828,1010 +material/templates/.icons/simple/sky.svg,sha256=QMQLtOhXfjgFoOJfT9vrM689iM4uD1qTa91kdBIA1LI,1017 +material/templates/.icons/simple/skynet.svg,sha256=6kfwu7c3rE4vN82fllevYWaXeW6b9TCgdAAd7sKscKM,668 +material/templates/.icons/simple/skypack.svg,sha256=MFL04nS8poWSZTnRk90JszDptawDlh4hYHBNAVLlpcs,676 +material/templates/.icons/simple/skype.svg,sha256=P0snAsmDgrVAKMtSWObPmwLggBqhVf7cwH3UHTRgBX4,1200 +material/templates/.icons/simple/skypeforbusiness.svg,sha256=0JLdigDsJ-AI0QPmWkCk73GYafmVpOcm_c0bh6GOxgc,1092 +material/templates/.icons/simple/skyrock.svg,sha256=tkLsVgiI3GF5Agx09zPqVWBiBLM04RvgOB7QEPTOSek,1402 +material/templates/.icons/simple/slack.svg,sha256=tmYjzvKXELkrXU48YIA61G0SexW4lQJb6r8iuVUNqV8,1073 +material/templates/.icons/simple/slackware.svg,sha256=BOwHuCocGZIP8GEBf04hX7-tYnhOwm5SDTrVU1CioQ4,1078 +material/templates/.icons/simple/slashdot.svg,sha256=0EMCRU8fdRCMQlt8u8glnNqoAFnFhQKm4-lWrqA9ofM,220 +material/templates/.icons/simple/slickpic.svg,sha256=sXXKntlEr0UCUkTxvXpB2P5vPjpmeFFceXRjxZHHFUE,292 +material/templates/.icons/simple/slides.svg,sha256=69sAygqIn28qPnDg5EcfvDM84RlO0dyRi29jM_TeE58,1057 +material/templates/.icons/simple/slideshare.svg,sha256=TnljUyeE1HznrjIpSLXf1OHjzYHUZkqQu1B0jq1BvJw,1117 +material/templates/.icons/simple/slint.svg,sha256=VcFSi4xzGYtfoE3s8q247mezXzO6hexwpzSeDvasHxU,471 +material/templates/.icons/simple/smart.svg,sha256=CsbWeyz4ZrP7chbpk128Wuj-Dtc-LAnHYjh5hGhYfRc,643 +material/templates/.icons/simple/smartthings.svg,sha256=JMeD1EuRfuoaL2VzLDQlnOHz_PEi4e8rOhzn7sXuIAM,2348 +material/templates/.icons/simple/smashdotgg.svg,sha256=iBaE3V-HJR5FLfd2u3jyy1OcsH4_mvkh5khdoRdtQlw,1658 +material/templates/.icons/simple/smashingmagazine.svg,sha256=AJaKI8s_Nd4TyL10_3tUa3F4k6qb_AiJfmZ-IQLAoTQ,970 +material/templates/.icons/simple/smrt.svg,sha256=7Bz_oWsudWzj4D6ql0-WDzJuaD67AbgwvXBqJBkPXqw,662 +material/templates/.icons/simple/smugmug.svg,sha256=tu162O8VvR0qOq_deH4ZQzV6JKyVktvyjR0XkQWQ4ss,511 +material/templates/.icons/simple/snapchat.svg,sha256=VxEmP0R0ENGgIbsInVt1dZUFIUTpE0MFJf42uhFJy5M,1429 +material/templates/.icons/simple/snapcraft.svg,sha256=OaFQXHjHHWENTOdsIsc4t7S7jYnlZaQQf6Znyp8Ry1k,233 +material/templates/.icons/simple/sncf.svg,sha256=BTAAOl8pshWKYLhazC38PejNO8mfscSUYzC7IJsTfrw,1355 +material/templates/.icons/simple/snowflake.svg,sha256=Yf3LN12wie1npN6dqKC912GiQvLFL5yiUOIH0eWJ6DQ,2432 +material/templates/.icons/simple/snowpack.svg,sha256=cqhcT9ncFBG54Vl-Bk4uegVWcuvO5Hnzq-V6yFYzyBc,282 +material/templates/.icons/simple/snyk.svg,sha256=t9whbMeCN4daiQd0BFIG5t6tpYhvWkAkBRAO8TojKBo,2945 +material/templates/.icons/simple/socialblade.svg,sha256=3otkEvvtytF-FzV8zRORpqG0NKs3zFaWUrvTrUBT4xU,332 +material/templates/.icons/simple/society6.svg,sha256=yyS5NFMAeM--_zCnDuqtYxz9TuJEcRrkauwR17Lrkdo,2093 +material/templates/.icons/simple/socketdotio.svg,sha256=qxkfFuWUJ0LQei3mpN_TptvG4z_teXvfaD4FF-PgWxA,729 +material/templates/.icons/simple/softpedia.svg,sha256=CiM_8NugZhwoOsdMy6FMoKcA9_gE289KULfpdfITOiU,719 +material/templates/.icons/simple/sogou.svg,sha256=WbZjcHTVn1ksC2veW6cqt-SFE6ksFzaNyz68EbbQ7lg,900 +material/templates/.icons/simple/solid.svg,sha256=ZC4tGnKitfG17vf5RXFFGWZKvez2dB6awxLn4417HgE,1098 +material/templates/.icons/simple/solidity.svg,sha256=8kfxXIlSpfbkMvY9HuKk7YcA0LGWGDw3cxdZASjThwc,408 +material/templates/.icons/simple/sololearn.svg,sha256=uskSmkXcR3UF4NnqhmrExrh7Rr8BIFBe9Cqla2EdC3Y,1052 +material/templates/.icons/simple/solus.svg,sha256=0q72xwJLpi6vJUBhnJdhi9Hawn5cQbuz360YtgEpez8,1467 +material/templates/.icons/simple/sonar.svg,sha256=4dO26RKWfxgKNrvUY2nFkovJls0XANZrQThVJXkZkfI,1817 +material/templates/.icons/simple/sonarcloud.svg,sha256=Dgl7MZd1S0VDjALfkkmCv2T3wk2PyuZGfQjsJtUojuA,1046 +material/templates/.icons/simple/sonarlint.svg,sha256=a8AiSLgTo47NsxM53lQPRkKMCeVLnyV-LSdFNeG_NhQ,1240 +material/templates/.icons/simple/sonarqube.svg,sha256=gxpYvKe_96ImUVWLq6Qby8T2k28JV0N-dqz1g1NJKFI,375 +material/templates/.icons/simple/sonatype.svg,sha256=qIs7YVfwXfgDCIAHFzyufmlW4wUlWhLDIuV3LB_CZq4,2181 +material/templates/.icons/simple/songkick.svg,sha256=LcVTtW7TjnfF13f6n2KvJUqwHlyyzxxQWJhe1x9Zpw0,1055 +material/templates/.icons/simple/songoda.svg,sha256=oZuNx28DjLGaXJcnceGbTgm13pcSyo_DEHAgWH7d-Y0,1424 +material/templates/.icons/simple/sonicwall.svg,sha256=Phv4P-dRCmjHxbhIRHsFTqZwyb9KxmaDgNKaJhyGjN4,2486 +material/templates/.icons/simple/sonos.svg,sha256=Xtmh-idQOEo2E0mTnxPPgccadZLg3YmC3MjyXGXNj8s,1449 +material/templates/.icons/simple/sony.svg,sha256=9FINJcfzkxlCrg4s-bExFXYyxYw-VYlvXdUGv6j68dE,2258 +material/templates/.icons/simple/soriana.svg,sha256=Mcy0Vx4gsX_lRMrxKGR8vG5OFHU7vX9JQONt3UhfXMQ,645 +material/templates/.icons/simple/soundcharts.svg,sha256=wFPv8uf_1C-YwuujkjgVdbNQy3OjfUPT-qFBndQ6HeU,1541 +material/templates/.icons/simple/soundcloud.svg,sha256=-4Vv9zRfCtDf1UPhgyuxXxCYbSUEWYtaiNNvLrmQrW0,2403 +material/templates/.icons/simple/sourceengine.svg,sha256=LQrnwIepiObnslPre4dpOr694JjJ6cvVAsiTpDLQW4E,846 +material/templates/.icons/simple/sourceforge.svg,sha256=uwUMNdHpjsSNjHpd31HmQQUiu0rAboU4WR1WyywioUY,949 +material/templates/.icons/simple/sourcehut.svg,sha256=BE65zij0A0oJS1oFKytYleL9CS0ijfA4_N7yjze8ekU,269 +material/templates/.icons/simple/sourcetree.svg,sha256=Iv5kJcew2XrUMlMXLhy-dgqpZulmJsS5VH0nR0c1y6A,473 +material/templates/.icons/simple/southwestairlines.svg,sha256=T_RGpPBcWxRb5WRzp5Mwwb4JjQviup7qV7LPVcjwfHM,581 +material/templates/.icons/simple/spacemacs.svg,sha256=om6Ke3wRW61djjQnM4yTuUBV4uBKswKY7R5sW-ISLcM,1521 +material/templates/.icons/simple/spacex.svg,sha256=NILc6vCbplV36kNzgo-9r4BeKMFqNp2AhLY27enIjvk,291 +material/templates/.icons/simple/spacy.svg,sha256=AOYZRmCLcCDQZNWA6X9qGjvsFKjIWNQCN7P3Jqkt_gw,2076 +material/templates/.icons/simple/sparkar.svg,sha256=pBkznZOGt7VpQv2xAlnAlopih1TrRV4c9qaso1D2nZ0,248 +material/templates/.icons/simple/sparkasse.svg,sha256=7XoQowNIoAYt_PfUYrChgOIDQVTDeAGui5I5Zo7gbU0,358 +material/templates/.icons/simple/sparkfun.svg,sha256=Hf-2HH2I_pB4F7d3AG08I2zphX64g6ap-31Hc3O14BY,543 +material/templates/.icons/simple/sparkpost.svg,sha256=MTzaBMET-llHOjDkAqIZhPVyOmATSEZmz8SHmUtWzUs,348 +material/templates/.icons/simple/spdx.svg,sha256=qEkMeyZmha7NtIBp5-6fxqXvE6KHOexYuUpMVxQkP_c,256 +material/templates/.icons/simple/speakerdeck.svg,sha256=2lpbtT7oS9IqMf0t_G-ohOOQzpT2VYqvIv7eGHLN57w,507 +material/templates/.icons/simple/spectrum.svg,sha256=Lhva9yddg-3xLsZpScqA22fjuf6B6lviZHzxNzH1GTc,242 +material/templates/.icons/simple/speedtest.svg,sha256=PXO0_02FLlrKSf5dTSSIXTTDNlrPc6CdoYdpAeiR6y4,378 +material/templates/.icons/simple/speedypage.svg,sha256=SNUd5-albIS4THHaILhYNQl18nZl2iFfRofWbABoP6o,461 +material/templates/.icons/simple/sphinx.svg,sha256=lsUWAEHaMaW-P8ZWLsiZensuTxsyLWsRzhwzeXosIxU,1750 +material/templates/.icons/simple/spigotmc.svg,sha256=gkzYgoKIhrRAQXXqOxmSbMGSBbHJDDDqFzEiqVyDlcE,1521 +material/templates/.icons/simple/spinnaker.svg,sha256=H_0rP4gNcAADbzA4r3W-mMPHywwq-UCpe07izXcsqXs,381 +material/templates/.icons/simple/spinrilla.svg,sha256=AhET-EHfiMN5duQjptcreGHicmv3HjGmN5c8rGLPWlw,260 +material/templates/.icons/simple/splunk.svg,sha256=q4PCFxuJpspjlaOeJHs2Wn2SSfXaR43e2PwJDs-PsHU,2498 +material/templates/.icons/simple/spoj.svg,sha256=ONAMeGoF7LAlf3ul5pRRM-jYMmDcx9OkzXn0tLdxBaA,1751 +material/templates/.icons/simple/spond.svg,sha256=1r2wwObmALuIkNWiMc2kFZIT3vDmTr5Th_l_JDPssy0,1078 +material/templates/.icons/simple/spotify.svg,sha256=l1kuxDR0bHiKVSb0Dp_Ew_ApKWLQh9akZOXqFjPWFWM,664 +material/templates/.icons/simple/spotlight.svg,sha256=c-tEmwI5aDT1CTHTLTFrO9uCO5vkqKt50Bufm4Pxep4,4779 +material/templates/.icons/simple/spreadshirt.svg,sha256=EzeVmWpzA8OqpaUBCPOx1tQ0-gg-nH5Wu-5GnLACv0E,194 +material/templates/.icons/simple/spreaker.svg,sha256=eCgRIhxmduxNjuC-J08kASCymKNI4iM_AYpXMVb-lpw,202 +material/templates/.icons/simple/spring.svg,sha256=rSnpdKFSA6sHHFrHSB3xDQMds4JXTJ3afJk2vmDeYK8,682 +material/templates/.icons/simple/spring_creators.svg,sha256=ft0wpntbMvQNg6VeogOfNviCr6NWGAbfmeohHOx4jqk,786 +material/templates/.icons/simple/springboot.svg,sha256=R_YMde0pEp387KLvzusPBfLzdRTcZ7nnPFjcW5lz89M,721 +material/templates/.icons/simple/springsecurity.svg,sha256=iZJEjbVd3V_t_taAPx9r_BEIjHYDcBK7D2rE-3p9QxE,504 +material/templates/.icons/simple/spyderide.svg,sha256=oldEND9Tv_LKJ138QuMqRw-wAZuUtN_LCqpElXulOCM,1859 +material/templates/.icons/simple/sqlalchemy.svg,sha256=a-SmxAtlH3dSdC8Gs_AYKd-41elZ5wgHKX0kqhlUFcE,2421 +material/templates/.icons/simple/sqlite.svg,sha256=1JLNtOsF1WAMIYxqXw51fectoaH-T8AxR3LDocngdOE,1388 +material/templates/.icons/simple/square.svg,sha256=n_CMAvJq11AdeIbOjztExl7AYHu651CGTlk02evdNVA,436 +material/templates/.icons/simple/squareenix.svg,sha256=kYF0XW_BwafIn6z7o_9gCGrroJgIMpU_IdeF1LiemlY,155 +material/templates/.icons/simple/squarespace.svg,sha256=1v4iQmpI2qOjUZDsnpI0KO3kcY2nxq4Uc6O8KcYeuCw,960 +material/templates/.icons/simple/srgssr.svg,sha256=Q1M9chzWYMOnE5G-C08M_wuRry59kNn0tC6LhZxH5Vk,2672 +material/templates/.icons/simple/ssrn.svg,sha256=r5L99b7qmHXfeY3_D1VfPKzp8_OCFdis0DM-78fJXSE,3334 +material/templates/.icons/simple/sst.svg,sha256=x4wenM-AlTm4MbLyX2MEmWixrt_w-XZhCYWmI-curDs,1253 +material/templates/.icons/simple/stackbit.svg,sha256=c3XTIVLPZx6ZTc6wj4NFKDiffDempsFm-eWiXYx6hKo,824 +material/templates/.icons/simple/stackblitz.svg,sha256=sZ3ZH532mhZdWx0RrUKqzGvZVuMtHT8fPLKbl2NEAPE,148 +material/templates/.icons/simple/stackedit.svg,sha256=S4Y7LuzP-pGY_0jMjymRDrcvO2GnTVrzCHj_qtU0ldc,528 +material/templates/.icons/simple/stackexchange.svg,sha256=HMBVDEEAFvLX2ivqVK62YJ9QkjGepqNQroHM_lYOop8,369 +material/templates/.icons/simple/stackhawk.svg,sha256=2EmFd5Dw0GYSRgi69Qx7li0GwYpsaf0JDadz7PDKzRM,2684 +material/templates/.icons/simple/stackoverflow.svg,sha256=Mqj73RswuQrI1fcTxAlsowEKb2k7hVrydkB8arrFVG0,397 +material/templates/.icons/simple/stackpath.svg,sha256=XYQBJlnNLUQlkwh4CE8pdHs4WR2NgFF7PAhssN8r2Ts,942 +material/templates/.icons/simple/stackshare.svg,sha256=i5oaI3nOo7dHDeGRfnH9PQmu-KUz-iM4R0BSUAah9GE,1130 +material/templates/.icons/simple/stadia.svg,sha256=E0BqAhHEvOIvLlMsSaflM-JnMjmsXYFdG9dA1U9gUXQ,553 +material/templates/.icons/simple/staffbase.svg,sha256=U1fKfmRKHMo7uDaLbuxFSz_9j7KOfgAUPqJcKSD9bQ8,710 +material/templates/.icons/simple/standardjs.svg,sha256=ZNYnqrJjJ92Xe8THfIXo7d_yCtwVxuVnEKN4w2Ibo_c,2572 +material/templates/.icons/simple/standardresume.svg,sha256=8kEKgoGpQ0vu5vMHT8tyNC2aUlTjb2TcACAUFXXVsJM,1377 +material/templates/.icons/simple/starbucks.svg,sha256=EhA4APvzu3ZTGKwucRF8OXVzdcL6pQITXujJ8kQDNdI,6508 +material/templates/.icons/simple/stardock.svg,sha256=Br1WUEH115uQYCiYyC86dnM2lCK_jrl3Q6kd84ZfZ2s,953 +material/templates/.icons/simple/starlingbank.svg,sha256=5Q8A4ivKgw9VIix1_Sv_cSFxJltUhFIvjex-xiQQqZQ,355 +material/templates/.icons/simple/starship.svg,sha256=Yl-JOE1ax17qUiLzuvAEjaqMTeK9EpO4_DrVHwzEWEM,668 +material/templates/.icons/simple/startrek.svg,sha256=EewCP0wpJ3cc_HDSLXF-H_yGbX7kw4rgpgRG6qczH6Y,1076 +material/templates/.icons/simple/starz.svg,sha256=A-Pqd3oDxMFqRJLlFVt9uEEf4vcxs4WzFo8g3VjYUZk,898 +material/templates/.icons/simple/statamic.svg,sha256=F5DoIXCCDTY-KNpwWY-WxvEL581FegmuB5PO0k2CYzk,930 +material/templates/.icons/simple/statuspage.svg,sha256=LcdNNsKe4JJNhfy3yMfS7TqwWistP7vTK9mtKDqVtzA,342 +material/templates/.icons/simple/statuspal.svg,sha256=uhCxbiibjPuhTs70iRPsukzntOYd_0ONUgBo9W40g_w,811 +material/templates/.icons/simple/steam.svg,sha256=cI1ks-vefkD1os5xQeYF-Ps7BbsLQg7Adg8Fcy9dzSk,805 +material/templates/.icons/simple/steamdb.svg,sha256=lFVCuZBeVQQ_kkg1N0aHh-MDELU9Gi3MGhuBR2-Kil4,1508 +material/templates/.icons/simple/steamdeck.svg,sha256=zhey8W_PntX5-v5-WprmAl3Nvu0QbKEoPLv8-pPpvWM,251 +material/templates/.icons/simple/steamworks.svg,sha256=KNhBn3KCSxss3NzQzHyV-xrB_vKG4bA_OGCVJH3NvsI,3387 +material/templates/.icons/simple/steelseries.svg,sha256=B4lp4pvROPzaFrDp6YLw4e6QKUTb-kDjssUBjfxj1M8,755 +material/templates/.icons/simple/steem.svg,sha256=nGOlNiiodrnZcDH7vxgY6dx-xkCECOTzigDxdrYQkCM,1601 +material/templates/.icons/simple/steemit.svg,sha256=kwbWOpvYrgcUmcBylS8nvMh8vF8fIxtjW_wRhxF5mrM,710 +material/templates/.icons/simple/steinberg.svg,sha256=385lw2pGFUbPzHWbUzQDzWtPOwDCk3oRAUzLCE-9J90,332 +material/templates/.icons/simple/stellar.svg,sha256=xEbw_PUVa4J7Ay_ONjI7nrzmM60LytV0939b5vcqq3E,659 +material/templates/.icons/simple/stencyl.svg,sha256=VPWLG2NTAOyRhGDz2itbdoqyS3mxrBVB3YLpJjgMxLA,704 +material/templates/.icons/simple/stimulus.svg,sha256=BeSRPJjF-nQc1gWxP95sx0V-x1vcLZeHKDyCl-zkdTo,827 +material/templates/.icons/simple/stitcher.svg,sha256=qMLFl_tXHg4nDG9DMjyXNFonwXQhLPw2BisRSU5miJw,219 +material/templates/.icons/simple/stmicroelectronics.svg,sha256=wFT3Umly1TR3mZW7LjSLM3T9TtCCYrl0R6QUhllgLAM,758 +material/templates/.icons/simple/stockx.svg,sha256=pOEcLQOl7zl8g0kDvXuLTeKfSmPQ9gDoZ242gFhs0gk,155 +material/templates/.icons/simple/stopstalk.svg,sha256=awPVlx8Q54QRhjS8b1tu5cte47t1dsh0oS6NkUYytDw,1394 +material/templates/.icons/simple/storyblok.svg,sha256=L0XPSZwRnqQFCvbRDNg4O-jM8AZr3QsPebbeuhPSEDc,847 +material/templates/.icons/simple/storybook.svg,sha256=THytzgJEFyy1JtIWnByLNng7X5OtHzHlpu2lh7JMoyA,625 +material/templates/.icons/simple/strapi.svg,sha256=iiJ5TAf57DLYH_LyuTgBkvRtYXPgkFrmY0np_cwToMM,581 +material/templates/.icons/simple/strava.svg,sha256=qRyM6g4Q4UlIR8eK48hSCEF3vJjERmZRNbuASEiwCik,196 +material/templates/.icons/simple/streamlabs.svg,sha256=s4TCMlBJ_cDQoZFg9cxzHZFptahd_s_MWe1yxy5U5pA,939 +material/templates/.icons/simple/streamlit.svg,sha256=Q11AdYc-L2eHsPcz3Wsy9kiJ2bXLDz1py4m0Ko9Yjks,326 +material/templates/.icons/simple/stripe.svg,sha256=W9Jj8yJxEFpW5Uu9P0qeEEg2JrSea1tQ4sYDu7aWpu8,556 +material/templates/.icons/simple/strongswan.svg,sha256=ZEOwwsrDCUkCxxm2wVvlNAKjZJ_MAoe-hFb9vD62MMo,9623 +material/templates/.icons/simple/stryker.svg,sha256=6eZseKk-mGVa7bfmeaaRrDAsnszAbQMGbKot0G9gqSA,1443 +material/templates/.icons/simple/stubhub.svg,sha256=PHaut4rsnznFv8usm63obt5X8gMhX0r1eM55P25dsEw,2383 +material/templates/.icons/simple/studio3t.svg,sha256=zT4fOZchn7pG-zbyDCjO0hv8gMTvz5XHRodqhaulBVg,1108 +material/templates/.icons/simple/studyverse.svg,sha256=QsaskVPawyLswo7DnQk4HLA0ktpNfTgq9YRitRdYwQw,1738 +material/templates/.icons/simple/styledcomponents.svg,sha256=K1a_kptkUHt8JOg04HbxUiSfReGv5mLGJyEPFR-y1qw,2651 +material/templates/.icons/simple/stylelint.svg,sha256=gJ6ze1CFj8FcMJK5Pc2kVo4slBtPCnhWgjlBt-tOxwM,1216 +material/templates/.icons/simple/styleshare.svg,sha256=vTYb5gR_QZyPMsIxqfAufpnuQb9UkATMlJXH_j94vS8,2346 +material/templates/.icons/simple/stylus.svg,sha256=segDczvT9r51vsD2GlZ-ZHngyMaU2X6YLBYyvVQ70co,2883 +material/templates/.icons/simple/subaru.svg,sha256=ejhbFJNa_blgFyUMWhNduxsjkKlB4I-KgMPAOm_oCaA,1117 +material/templates/.icons/simple/sublimetext.svg,sha256=LHvaZwfvXQXzDH-KaOiosYWar9HG9yANJz79QLc4QOE,482 +material/templates/.icons/simple/substack.svg,sha256=FRPPiiv1U65QWyR12n2MjX2Zc6beFrBaVEpupdI5iHE,189 +material/templates/.icons/simple/subtitleedit.svg,sha256=rgI_1WKYk1_rzPgYADO90zDiczZdrFFwq7DCBfXNOm0,1354 +material/templates/.icons/simple/subversion.svg,sha256=UmK1Br9BbC3oZWpZKnd0hhgSRDkMjZl9oYLqARXVZXo,1488 +material/templates/.icons/simple/suckless.svg,sha256=0NQwcuK0HdOeHfMn-uzhR8FoCy7RHMQ9GABMOSvpY54,111 +material/templates/.icons/simple/sumologic.svg,sha256=oBqBq_UwmxboSS9eT_aMI6kZszIDIIzO9qJTkRZJElE,2096 +material/templates/.icons/simple/supabase.svg,sha256=xqbxoLr7DWwgYojfojbTDDTRP4BfdjW91c5o3TxW9Is,269 +material/templates/.icons/simple/supercrease.svg,sha256=YI9XEvxOaUimafMNYKlxl1RLQgYpAlmw9Ha_IiGiZAs,4236 +material/templates/.icons/simple/supermicro.svg,sha256=jh-v-FRMm7k9iJGTHpeG_ICQI9Yy7mA3u3Zm-e2Eipo,6551 +material/templates/.icons/simple/superuser.svg,sha256=J5jAwfzEIYTOElFgSXAnCsF0wBPZjDp67VKT7DM65N4,985 +material/templates/.icons/simple/surrealdb.svg,sha256=a2BZOaEhLs7El5gfqRd8-t8Z8H1Dg7fUIYYlQMi7zeo,683 +material/templates/.icons/simple/surveymonkey.svg,sha256=cQq1ZK8iRBjJML6WaZHh0k-852KLDMsjw-J_QrzNCsU,952 +material/templates/.icons/simple/suse.svg,sha256=t320XJ0bcJ5QncSShf24apq4bO6Y8CeCpZyNNwNPDFg,1960 +material/templates/.icons/simple/suzuki.svg,sha256=3sMpimc6bq8P6dESAnD9Crzn2rdi7JoRsbtPSCzWUOI,317 +material/templates/.icons/simple/svelte.svg,sha256=eigEffODFa_79bSrO6TPE2T-MI63nhRFocV_-EH9O0s,1464 +material/templates/.icons/simple/svg.svg,sha256=6CxcR7B14jfxhWFKBj388p_z-P7Zp_4TIYUE-83iUXY,1442 +material/templates/.icons/simple/svgdotjs.svg,sha256=11NFJt46IE8zjfwpNlnclzmCIMFXHzcQJaoxlYomvPM,978 +material/templates/.icons/simple/svgo.svg,sha256=o3XjLtFeS5va-sv1nb0aGB5dLbbQs0mQNcB0o_9L8PE,1520 +material/templates/.icons/simple/swagger.svg,sha256=TWLda-YWceVtpnyPDnwxGD4a03aoUVFwtDLt8lBveTY,1839 +material/templates/.icons/simple/swarm.svg,sha256=CYvVP6k8CxPF82lRHrYYYBFvv5d9ZDk5HyKp-ZC_J-Q,1186 +material/templates/.icons/simple/swc.svg,sha256=NxfuOECETpitgrfc1ECZ1ucfeCYmdUyeXkdxldbNpwA,2635 +material/templates/.icons/simple/swift.svg,sha256=wFEU10VPgcGPu2dgUPxu8ngJ30O9kwtDofDuz_tzgkw,1659 +material/templates/.icons/simple/swiggy.svg,sha256=ojrbCSOK-1SN0_Ymmxn6tVdBbGuWeTSfWDx5JSnlpQE,720 +material/templates/.icons/simple/swiper.svg,sha256=2R3dV6fSkRSUyk9MPKlsfhD_f_c-8Y6AUyDBEze5LJE,1365 +material/templates/.icons/simple/swr.svg,sha256=H2dZ5cc4hhW7GZhsLt4mRoTOVnF6nu7oA4x-mv8VdTY,925 +material/templates/.icons/simple/symantec.svg,sha256=X02usw8YSV5OQAjiMH96NS7b0Ge8fz1eKb4PfIxzmEY,978 +material/templates/.icons/simple/symbolab.svg,sha256=0GWjiLyqxvdhDORw5oy-vmgxoEBxFTiMScdfxYoacXw,1442 +material/templates/.icons/simple/symfony.svg,sha256=1ouwRS4lafySMTAfPF_HrW8tvpvadOxuz1e3-rvzyzo,1464 +material/templates/.icons/simple/symphony.svg,sha256=nkYe8rBCSBXWSG5-GwO7EMuYa7qwuQrQyv5kglJo7KY,511 +material/templates/.icons/simple/sympy.svg,sha256=aPR1Izh2U143ekBMrNIYTcH2Lmj091WH4Jyd2u2rvgM,7060 +material/templates/.icons/simple/synology.svg,sha256=sJ9BXq-aGUffBZ6sYYRq2uVWxWEL91iiVShLMlXlA4A,5207 +material/templates/.icons/simple/system76.svg,sha256=IjmKtGie_4-b1y4J_O1OyPHn9eGNozHJpebQKEw1StE,1298 +material/templates/.icons/simple/tabelog.svg,sha256=XR_gN6XbSqJkNUnlmI3c7LQClManvjdZixUb80zUlEI,3625 +material/templates/.icons/simple/tableau.svg,sha256=u5UP8ZyGBPXCZwIFEfBWlN6YN0lfXxwUkltJcJbW9DI,872 +material/templates/.icons/simple/tablecheck.svg,sha256=lxLFupCo1UTjekb1ORUGlO19cFDn-Yuf19xbSQ0Aqqo,1016 +material/templates/.icons/simple/tacobell.svg,sha256=isqW-OtxfDvheFq9vv8QUk86cYKtmKAK7AA1XRX4xUE,1830 +material/templates/.icons/simple/tado.svg,sha256=B9y3qP5ocbDiB8IcaMYIYYE69qZ77UmyteSsJLV1K1g,1197 +material/templates/.icons/simple/taichigraphics.svg,sha256=CCFalRHRAMOTP0EiJlmOPZuCqAwIb8wINjB5vJmRW40,372 +material/templates/.icons/simple/taichilang.svg,sha256=7O0dWirXRmQf_SZ9Ovv1r0qc8Qk2Fu1lRWj6NA7b1uA,794 +material/templates/.icons/simple/tails.svg,sha256=6votvKYzHr2mkdy-hjpx77Jd4_2SE8zlMm6gYFS5YQg,2436 +material/templates/.icons/simple/tailwindcss.svg,sha256=oEHy-xwRYjej-smx9VjzrvuJMskuaa7nu_N2mEO3WCc,535 +material/templates/.icons/simple/talend.svg,sha256=2-e4XV6PNa3rE377yQDKrI9sB_IST1Z5JbRnsCRUXYU,1223 +material/templates/.icons/simple/talenthouse.svg,sha256=DvFizwIJTjdVN9yjr1odRlcwZQ7S82xYzNA3YtZFZzE,517 +material/templates/.icons/simple/tamiya.svg,sha256=IiarAeK5Izc6XdXVNdLHQa9_vRaixKCjJThm3GbYMo4,429 +material/templates/.icons/simple/tampermonkey.svg,sha256=kiP3tQVoGS5AcyF4griFQMfu7QR1LDtzoBmYT65JlM8,725 +material/templates/.icons/simple/taobao.svg,sha256=ZFPeErUMplu22C99Ii4x1ZWSNauHqh2lPNoGiB48O4Q,3528 +material/templates/.icons/simple/tapas.svg,sha256=Hkb7Q-eTqdUu1lWavbK8kkicaIHGBJC_TgaOL3ySBdc,3643 +material/templates/.icons/simple/target.svg,sha256=_U_H9VkNxYaLMpbM8UtRSKi-HeBtMeeqgtsfjuALxtg,269 +material/templates/.icons/simple/task.svg,sha256=hX6uKiGblmzmkMzI-20QWD10Xq2J9_9EPyarnUwfLWA,194 +material/templates/.icons/simple/tasmota.svg,sha256=uCHj-ahyETPO11YdsuehtsG3y42hW4MGPRbe3gmnfmY,286 +material/templates/.icons/simple/tata.svg,sha256=F1hKWxkUMv8Lb30zIQQwZ1Cfkmctubw2WncLrSKQzyM,909 +material/templates/.icons/simple/tauri.svg,sha256=i8hhkKdDKNC71UVvO2BlKXzrg2vyZklbOaUMGBle1i4,648 +material/templates/.icons/simple/taxbuzz.svg,sha256=DoJhb69FRIvUXpDHuRk6EpgQ4gIRvrRw7eN4gLEoFjo,1816 +material/templates/.icons/simple/tcs.svg,sha256=-kC57ULG76w4mrOD3zAVcEjimvTuuOur-liaScifko4,1550 +material/templates/.icons/simple/teamcity.svg,sha256=atzjvD_i2x0s2fiyWX8MGFXoX_F0PjZhdlXfL63dHsY,469 +material/templates/.icons/simple/teamspeak.svg,sha256=7bHkQCAkfiKjLKt3bpz23wicRcfbuPHnjLS-1gYCPaY,5162 +material/templates/.icons/simple/teamviewer.svg,sha256=16ZL73QbzXKfRkzWjtqdVb_SkFtFKO-l7JQ_wH3nMMg,465 +material/templates/.icons/simple/ted.svg,sha256=Zv6pnzeXEbpM4iwCUH7CBIrgF42mfDKHubYS8dOSxYs,374 +material/templates/.icons/simple/teespring.svg,sha256=ICRJPqsYv5FpzRp8VR3VV3zi6-_OBby1vfuijZ5mDHY,1173 +material/templates/.icons/simple/tekton.svg,sha256=RVcWyxIHEn0iEX0psBJbzYyyd1vdRAw6dOqb4dS4zLk,8516 +material/templates/.icons/simple/tele5.svg,sha256=DB50iOSBQrdSz4ZibqxJrYpxLHK5qv-k5Dx3cy3fU6I,453 +material/templates/.icons/simple/telegram.svg,sha256=9rd-TMxePw7dy9u3MC57aK3g4UTV5BGjb9wg4qh2rBQ,708 +material/templates/.icons/simple/telegraph.svg,sha256=OS_z8I9vIyLGUZelZfBDcuZtB0uBZ2b8hvs1JnYkwVE,119 +material/templates/.icons/simple/telequebec.svg,sha256=tfmoGHYOiLAu_3HXFAx3Gr2wftR6NLCGHTnYNyO0jug,1222 +material/templates/.icons/simple/temporal.svg,sha256=21Yw3HLJFN2P94uhju1XrBhHUjdN_O_vEaMwAnPX8Ok,840 +material/templates/.icons/simple/tencentqq.svg,sha256=TPhOuA8-M-I9PUTqpXvTjUeEVXHM8NgB33NtDRDUrek,1707 +material/templates/.icons/simple/tensorflow.svg,sha256=4yhVgUMyayJe9e2BehxSVjUBWqDAMDf3JmYWSDpgONE,248 +material/templates/.icons/simple/teradata.svg,sha256=HdK2Md6F7bN3Yiuvy-JIj5PwWeqAeQ7QijwM9T5qGYg,318 +material/templates/.icons/simple/teratail.svg,sha256=3fcp4kj1YGo2qchVON-Wgi8YQ-l19NSRTjgp3eHe50I,144 +material/templates/.icons/simple/termius.svg,sha256=dksuudJqT1HIZh-Gos72Wd9c14R1H9Ye15fsZGNc3KM,1362 +material/templates/.icons/simple/terraform.svg,sha256=pQ0ENN3CU87LchX2UgK1C1WBSj8o9qgXve2yrhPNezo,217 +material/templates/.icons/simple/tesco.svg,sha256=Z0U8hMBylHm1ClyKE_Z2KlpNVI0T8p5_9Qjp9ie59jA,2054 +material/templates/.icons/simple/tesla.svg,sha256=0oawq84wOnE7rR06f1WT3X9zY-CaOjeaoLfRCkJr4Ug,510 +material/templates/.icons/simple/testcafe.svg,sha256=KQ5noKKzvKAOV4RYbCyYQrNinwhXz7fgqjauZmJ02X0,259 +material/templates/.icons/simple/testin.svg,sha256=sAmEb4FwvL9rypmoEdFCVHheN5yWyWd6pxN-UuHAvQA,1133 +material/templates/.icons/simple/testinglibrary.svg,sha256=p-pHzQYPGdjSClIFS3s3UwcFmJ3nNpN-3AVO20FFSSQ,5284 +material/templates/.icons/simple/testrail.svg,sha256=h606UMTZK4Cl4qSnqmPDYjtx9Ra8ll2IQve_Nmx3UHY,960 +material/templates/.icons/simple/tether.svg,sha256=1OTsqZCdtkgpjUvBuUs71S6X9DI74tmnbHjx6YLBW54,712 +material/templates/.icons/simple/textpattern.svg,sha256=MLN7aNbouJMKTABVu7wPWzfzxusZCROi6pCQDZ3GUes,1621 +material/templates/.icons/simple/tga.svg,sha256=9FyAkpCtv56wSw8PCjv1gfT8jSdm8jN0J6gFM_XWNtg,3295 +material/templates/.icons/simple/thangs.svg,sha256=1q20GFNPD0LKJy5SKXRgopB9t9H6lpQxEyas8B1rZOs,812 +material/templates/.icons/simple/thealgorithms.svg,sha256=dyNvsO2-aEjnAwrIuwp7n70eRFZ1O1cOqmcnz_CHow8,718 +material/templates/.icons/simple/theconversation.svg,sha256=0aUYedXBqkTuAFXOzKfltQ1fQ_hBZzs4VzMqmdZA92E,397 +material/templates/.icons/simple/thefinals.svg,sha256=0_73Z1OQJhWqCKRxH5yWX5Kck9FVCuIlARLX2YrH3EY,255 +material/templates/.icons/simple/theirishtimes.svg,sha256=KX9TU4t_9fd8HyprMGmWn5psNFrBiVXhqskLpBdCFcM,857 +material/templates/.icons/simple/themighty.svg,sha256=FZILLmDMtx-Yg9Ck3n4OzAFSqH3hLZsiu06rBQICUlk,454 +material/templates/.icons/simple/themodelsresource.svg,sha256=K9v954LIcQWJbHb9BzwjNZBYF2wNWerQaFZD1MMBbpg,695 +material/templates/.icons/simple/themoviedatabase.svg,sha256=bEbT7A5RayHYsdtP4N6ix-mwyHfTljPrgmmWRcaTF-4,2284 +material/templates/.icons/simple/thenorthface.svg,sha256=7Ra-GrLLdu8kVv-C6rDAY9CTxkex5ahOdcAVyi3v9vE,2082 +material/templates/.icons/simple/theodinproject.svg,sha256=6iLgEJJTqX5zYohH39CZvjSslDQeYrPm2e34oaHX4zk,1044 +material/templates/.icons/simple/theregister.svg,sha256=7s2TTldeuStwuIz-jZAOksUEDcbu1YAeIsL_BBE6hEo,1434 +material/templates/.icons/simple/thesoundsresource.svg,sha256=7Ul2oiH8k4tkvn_eJWeGAXVK5cHt5abGl7K6fNiYeoA,1671 +material/templates/.icons/simple/thespritersresource.svg,sha256=YDgIfodOwxJXh6jBTj9A8MxZszvodMRWe-6DcX1OkiU,933 +material/templates/.icons/simple/thewashingtonpost.svg,sha256=PQ7-y7w5UTksizt-az9hJdPQiVYAhkaKAQvMt3ZZEX0,1000 +material/templates/.icons/simple/thingiverse.svg,sha256=61Ntrm1US5pbpgvl_LJVKuHfIQCpAdwUmXd2U_tiBuo,641 +material/templates/.icons/simple/thinkpad.svg,sha256=fsqiQcSthYIB4bt_74EpeQzD_t-MBKpTlC_K0J3CE6Q,1686 +material/templates/.icons/simple/threadless.svg,sha256=ywO0AedDaNSJBp2LmgO0aCHCQRtkrc_TNektaMSbRLg,4229 +material/templates/.icons/simple/threads.svg,sha256=nssl5iR6T9y6ZK2KbEAZ8OaX2mz7ff9CxAJxpkGXlLQ,1254 +material/templates/.icons/simple/threedotjs.svg,sha256=cVTV0mOhDPhF_uDiO6OZkvQbd9OupgEeE5dfPD8XibY,863 +material/templates/.icons/simple/threema.svg,sha256=DSjy1M0vLbB7Ph9bfREjWoqVcxBHn47OGooENhYJ6VE,731 +material/templates/.icons/simple/thumbtack.svg,sha256=HJg6D9dHF_paYIb0V1gG8QjB3RtF5_VBY8GAh_tN5jM,338 +material/templates/.icons/simple/thunderbird.svg,sha256=Hb7SlIGkrDXh5q3Lp5zBt9u8qYUXP_7Hvlicjoc8awI,1158 +material/templates/.icons/simple/thunderstore.svg,sha256=-GxN37pADrt6djEyivT9xOg5HdtQBWUs2jZJ-YLsNOE,536 +material/templates/.icons/simple/thurgauerkantonalbank.svg,sha256=PFAVvDI7h1iu4HrVqDufTkXZ7ed_D_0f3hiBkr9MgR4,230 +material/templates/.icons/simple/thymeleaf.svg,sha256=TOLvve2vSyUbzpckEXtl_jV2qP-0dUeXsd8NYs8WU2s,663 +material/templates/.icons/simple/ticketmaster.svg,sha256=akKoiyuAgiTdeX7YvlL_zdHVZoOEg210XVSQelQgHGk,3594 +material/templates/.icons/simple/tidal.svg,sha256=EOo3yLbcf2B6CGMH5nwLMr-qNb-s-SO4IvjRg7nDxRc,272 +material/templates/.icons/simple/tiddlywiki.svg,sha256=KQr96eH4iO06jbN4aN4mhzC3htbuj0S75zITSnanOXE,1463 +material/templates/.icons/simple/tide.svg,sha256=6YK6Yb-slZdqAXT2sUawuKhOlpzeouRIUW3KAeLjG3I,981 +material/templates/.icons/simple/tidyverse.svg,sha256=buEOkoX0vwM1WYpJWD-5E2ZUTvI0Gu3GGNO_sU8pQRA,13152 +material/templates/.icons/simple/tietoevry.svg,sha256=okUI-g5JeFzv4Pyq-qZg2jEGv7ZbqtaUN5X20N6ZV9o,3387 +material/templates/.icons/simple/tiktok.svg,sha256=t1RP6gxV4r57s4osX0IKykktc8etacAr7VcRCjHCy5s,675 +material/templates/.icons/simple/tile.svg,sha256=88EI2Bm_o6qX-vyc8TNGnAd7CQdKs36XqqkuL0MAep8,1170 +material/templates/.icons/simple/timescale.svg,sha256=4LdkVOe35gpNk8aQxwjQoV1gN_MAsZiilNKjHfkFv0s,2700 +material/templates/.icons/simple/tina.svg,sha256=TDKmPVCRpAoTGtx18EZU2VGMqQyJG5jQEs9wvmgqlFA,742 +material/templates/.icons/simple/tinder.svg,sha256=-akhRtNMEyYX4cF5ba79upiKAo1UfRcIIucFaHFZ5Ds,494 +material/templates/.icons/simple/tindie.svg,sha256=wHJZOwZw4IB2iQlrOl1I_tB6UgH3aOAXA-xTyCNCXdM,3247 +material/templates/.icons/simple/tinkercad.svg,sha256=GIdWVN9gldfthVKY8a5rvHFZKPZHw4OJ_h1hZWyQLls,1499 +material/templates/.icons/simple/tinyletter.svg,sha256=toMMFSBVlo2G3LVSphBYr326elLZmO2BSHgjWwkIaAE,1010 +material/templates/.icons/simple/tistory.svg,sha256=BdodOQ8IFs4QzWrQpTKBCQmnQgE3V5eRalSgHzeYXDY,239 +material/templates/.icons/simple/tmobile.svg,sha256=A6ITL6OOL22JQcveHkKfW23PqK8K8dLraSOtfsIpnZg,351 +material/templates/.icons/simple/tmux.svg,sha256=cc5MM2k0tvd-ANdLBaNFv5MByUqZ9DFTP_y3fzDlBHI,343 +material/templates/.icons/simple/todoist.svg,sha256=agqcOatJJ_CMT91CKuVrVgNslBgHEWAvDTI4u6NocM4,831 +material/templates/.icons/simple/toggl.svg,sha256=FfbIczsaEyUa6-2aXqY2isgkm_z3qqKLyn9a2xeurIk,2229 +material/templates/.icons/simple/toggltrack.svg,sha256=fJfErKtc-HtOPtWjckEVxqG-c4ik1dfPkF4Uxj3fUKk,262 +material/templates/.icons/simple/tokyometro.svg,sha256=MTc5wSFMRBHz38rHenpMea3ljpNt6-EKdK5Ud-Nt6nA,652 +material/templates/.icons/simple/toll.svg,sha256=BlsPQqCPju-Q-ENanl5Ximq4YL0Qtq8mISBEIYUnRkw,1014 +material/templates/.icons/simple/toml.svg,sha256=rtH5Qoi7WZlKcRbSin6LWW2TwXtZcvIZi7JyUUEjRdg,242 +material/templates/.icons/simple/tomorrowland.svg,sha256=KkKsNWTvJvllCrtzT0TOVy8w24mGmWze1d4rurOSMZI,2852 +material/templates/.icons/simple/ton.svg,sha256=MM95U7T4rVNYS5ULejcvJ_pp3ZjehQl5mlfiepJHPVU,418 +material/templates/.icons/simple/topcoder.svg,sha256=K0L--peGSCxPpttOJhRnPnV71gJJpeWiCQv0f0dPzA0,1108 +material/templates/.icons/simple/toptal.svg,sha256=855nswmvRmzyk-57InfjFU7rl0JiFSnbuHAtUa1mzCw,259 +material/templates/.icons/simple/torbrowser.svg,sha256=Si8_rHIcBh0uV7s00pyjkUI_CwwCcc9DDCJroqkOuhY,444 +material/templates/.icons/simple/torproject.svg,sha256=lG0c4MkNBM6OUn5_6G8TqN9bteNXcNjZLqkPl8HA6gQ,2118 +material/templates/.icons/simple/toshiba.svg,sha256=6VNFiIHUGXRVdxOiueMMvnX6wDBsxMpF2ytsTrLucq0,1581 +material/templates/.icons/simple/tourbox.svg,sha256=593gmexFTixXYBWy-u4yHxZps9joJbld2-QShfJicVA,2259 +material/templates/.icons/simple/toyota.svg,sha256=UsaI_mZa5SHT7cCQP0EH20Ch-uEZgHPbUa-sBKBOxVM,946 +material/templates/.icons/simple/tplink.svg,sha256=0INcGjJH2ZD-zQQ7vpK138FUM-gh4BXSOQ9AwSRjH9E,407 +material/templates/.icons/simple/tqdm.svg,sha256=VL7TyWFfZumO6pXIrUpTBdDMfVDOPWXtqQ2t1zRbg34,889 +material/templates/.icons/simple/tradingview.svg,sha256=5KY35-kpw7TBFSpXj2zSQHmiXwxIgBHwPXGOXpdIkUM,209 +material/templates/.icons/simple/traefikmesh.svg,sha256=aQTwQvrrpG007HCeevBWa7sOduhEVBSXvmrQXOon6p8,968 +material/templates/.icons/simple/traefikproxy.svg,sha256=bEspFfDkcdEMFZ3BR9DRggtSAbK2DDz3R6K1Y1ukKpw,1174 +material/templates/.icons/simple/trailforks.svg,sha256=qXIjoSN1BdHyVp9LLxRovM8gZ9dty8X3FtwgLtccT1I,211 +material/templates/.icons/simple/trainerroad.svg,sha256=T_FiM570U4aqYjtjVKvMolXOs7pFYhNnGnzt9X3O7sM,772 +material/templates/.icons/simple/trakt.svg,sha256=mV9fY80ESIx1v0Ja6wU8t6L3vW_Un8XrVy7Skso-rlU,895 +material/templates/.icons/simple/transportforireland.svg,sha256=AfRsO3nIBQKxQkAzys5lu46HkiDSvh0aHziSP3Df6eg,298 +material/templates/.icons/simple/transportforlondon.svg,sha256=2jcRwgVsXu4I10i53WONAbZtYybPOaq2CMz-H0setXc,335 +material/templates/.icons/simple/travisci.svg,sha256=e30-Y0dml2pg_TG6Yt6iHtio2erBUlqWEJo9zv2GGI8,3740 +material/templates/.icons/simple/treehouse.svg,sha256=5B5B-z9HSE7RIKMUZywVLpr_TjaOiBDcuabmgLVOIG4,1420 +material/templates/.icons/simple/trello.svg,sha256=MnwooSGbyfE7MoWlpQ5QGlre95Z7vLOnyYSnmoCcZyI,457 +material/templates/.icons/simple/trendmicro.svg,sha256=ze6z_QVe5H9eyKP-IimU16kz8pixveJRGofZn3ijZWc,680 +material/templates/.icons/simple/treyarch.svg,sha256=Lg5L5kCJBDTNCAd1DQJJNnE1QcLGgsLi70Q-IOZ7Adk,4142 +material/templates/.icons/simple/tricentis.svg,sha256=Yg--RswojOLzH_SY-vsnMxv7dmOA7OBtyyzf2VZUqhc,289 +material/templates/.icons/simple/trilium.svg,sha256=Z73Yit2VBYPlkI-ZW421CNhdaWUPueicIdhA_GUMDmQ,2129 +material/templates/.icons/simple/triller.svg,sha256=ZRnFz_mOIAnP0TdNcws9zpdJ0iik5CtKVm6yV3DeqgE,522 +material/templates/.icons/simple/trillertv.svg,sha256=WRvz4FMfEA9S6QScrMyiN7_kWJHGa7ue2yFRb7JQGMM,609 +material/templates/.icons/simple/trino.svg,sha256=pkJI-X1TZtFF2gcXd5BM36q-1CMi1Vx1n3difenwIXk,3429 +material/templates/.icons/simple/tripadvisor.svg,sha256=dUn9XtixPqkmI0p3MK3Nti_I4FH_1i7v1WMOcz1Vw4Q,729 +material/templates/.icons/simple/tripdotcom.svg,sha256=4afEaQitVtYzyyrytH2yAq9Koi1RfrC_MR2zdFBVZ3s,717 +material/templates/.icons/simple/trivy.svg,sha256=UHvSCec2Gs8779WWnGpteg0WMWIDyJUX7gaR3MZpfCY,1649 +material/templates/.icons/simple/trove.svg,sha256=x8XKlj4TxrfWw5d9FwKTPTa3xe2F0GWXMSiFGcCivRg,1507 +material/templates/.icons/simple/trpc.svg,sha256=zvZSquRAOpC51IHk3ejpAQe0v5N58J9rjibdlTfvem8,1403 +material/templates/.icons/simple/truenas.svg,sha256=hj0qrgw-X5IsMfTJhVW1eDUw2zuN4xVXTcgX3J9qzp0,336 +material/templates/.icons/simple/trulia.svg,sha256=rs4bHIbNGX759yp59yLsDGcbhhKag_9gfBhCVzg2qdA,1036 +material/templates/.icons/simple/trustedshops.svg,sha256=oYfh8Y9TtMzyShd0vSjXjm3DAN4dxW-Q9jFQcyVn-Tw,565 +material/templates/.icons/simple/trustpilot.svg,sha256=PMPYoUB46xM-fPbPNRjQcD8--8dvjqFd8BFYRr9pNmo,228 +material/templates/.icons/simple/tryhackme.svg,sha256=RZFKj759aUeIfZuxlXfsaPnte977LcYp4zluCosL8nQ,8342 +material/templates/.icons/simple/tryitonline.svg,sha256=XvOsNqOwYitvIWC8F1is_RianmYc6faw2YVzBP67OQQ,385 +material/templates/.icons/simple/tsnode.svg,sha256=Mrlp5QBZO_b0QzOnP5DJhxEtqmGVqRjTZHkCqGZAOkw,747 +material/templates/.icons/simple/tubi.svg,sha256=CWlqmd_75BgWbE1kfBPCbUgZmNllHfG42UHnbmJNGNw,940 +material/templates/.icons/simple/tui.svg,sha256=_WPyczxDqr6kqyumCH-giEvgItfaiKEwtEZHkhlfGGQ,492 +material/templates/.icons/simple/tumblr.svg,sha256=aj3iHLMMt_Qx02ylUCzYOmK8ywIYyYRTvdrwFMWb2bY,361 +material/templates/.icons/simple/tunein.svg,sha256=nzQyQrhXsr9GcLzNWzON_fC8eOO61xUmXq9t1ROqPOE,1172 +material/templates/.icons/simple/turbo.svg,sha256=8dojtMnlGKvCQUDaraVHhOzvTQYe9W6MAJrOLJ82WO4,1958 +material/templates/.icons/simple/turborepo.svg,sha256=GMyKjGc31bIAV6-nbxfGhdN4EshkaNCStrlG4j9TyM4,1493 +material/templates/.icons/simple/turbosquid.svg,sha256=Pkl5DJ8hqmtw7gp-V1z4OcKcXh748mqi6b5eCrfdWfk,1712 +material/templates/.icons/simple/turkishairlines.svg,sha256=mk2yBRrtriBBn1rVbgcpNsM_iODyEj6ge7g24DcysjE,519 +material/templates/.icons/simple/turso.svg,sha256=rrSg7weZujHTccrJPMEKujb1k73d5T-zn89DbmU2kRo,890 +material/templates/.icons/simple/tutanota.svg,sha256=LHJEGcpyFhC5cPpS5J6A52WZ-A4tRKgOReXtx-qsyZo,645 +material/templates/.icons/simple/tvtime.svg,sha256=YFLX6Tvla_NxFz_pmFlrtrYZpGVkk4g4vAK3VOlsxp4,130 +material/templates/.icons/simple/twilio.svg,sha256=oJiwPjRXt-uazAsocpvrveyyND3Yefa63S6M-MTzvmE,843 +material/templates/.icons/simple/twitch.svg,sha256=7KUj66yyO04Mp7hvscPKCRhI66D2x28U4CIuU5vc1lA,259 +material/templates/.icons/simple/twitter.svg,sha256=4tRQ7i1MLKKqWyhdEp3KCynyKF9wQc25WP8M1waQ4cQ,532 +material/templates/.icons/simple/typeform.svg,sha256=ry96_bULTiR_FWYOkKKu4ZWj7aRVvHyYTD5fevxXUqo,1737 +material/templates/.icons/simple/typescript.svg,sha256=Oe5HSZEd76Kg-ThVuj0DRWrR7A1Kc60a83mwJahhWjA,1258 +material/templates/.icons/simple/typo3.svg,sha256=9O-ILxqlOHFAnzbWEJl74rHdqiVJVyGn1l1aRSGkc9A,423 +material/templates/.icons/simple/uber.svg,sha256=dPJwaIqNL4zR2fHS8Ks9-vD7P24UsBHbTEx20TCNLHY,903 +material/templates/.icons/simple/ubereats.svg,sha256=HjR1Qu65gE2vLgwDHnVGLT6rYtKZ50BurEcSpglg4ZM,1787 +material/templates/.icons/simple/ubiquiti.svg,sha256=JZKrgYpjYX8qabgqi_XpJdZc3R6P56LcJ8tnENUEhrQ,1053 +material/templates/.icons/simple/ubisoft.svg,sha256=4pDH7h44hF-pSe_PyWNWfqZudByAL1yRaa1R8CWo1Qk,996 +material/templates/.icons/simple/ublockorigin.svg,sha256=wgk1efiTnTH-uD-xFbZiVSEWEMwqqv1EKHlVThuwPr0,587 +material/templates/.icons/simple/ubuntu.svg,sha256=uT2y_JlEwnTLgxCTOgQr-mtHFBsss_yk6XownBCzg1M,916 +material/templates/.icons/simple/ubuntumate.svg,sha256=xDQIJRSDpzBD69JKjLpDcIwq4sBjkWsEc56tA3ExtkI,991 +material/templates/.icons/simple/udacity.svg,sha256=rrZfu6JBTeInS4SSSWrX2wBw4LplkrZ3HpxAOMGZg-w,448 +material/templates/.icons/simple/udemy.svg,sha256=IjZyAuOiPIGdd4uTkTYdCV9n31IGcsxdWwJQQg5hjVI,346 +material/templates/.icons/simple/ufc.svg,sha256=55ot4rKFYE7LkK9OWCKbu5rfLjgGqEaFnjg4Z_Cq3G0,803 +material/templates/.icons/simple/uikit.svg,sha256=YSNwjyYnemO9VqJNlR9-jF28FfY6yNlslehGQQFRdrQ,263 +material/templates/.icons/simple/ulule.svg,sha256=OtnMOnxX8D3ns8MbH7GfM1CmAwdRC8tiZLH0B28SEIA,1469 +material/templates/.icons/simple/umami.svg,sha256=281fTgHA2V_A5toaUrdaLPzXT9GismnUmPIYkYI_-98,421 +material/templates/.icons/simple/umbraco.svg,sha256=zfKXQRISNnT1SnYDs_oUjAAejJu_7Q-EoIgM6MnjD5I,935 +material/templates/.icons/simple/uml.svg,sha256=2eWPlRpX8AgAYWPWDAfy58adxl0LxgmVBp0xkSjpEMQ,603 +material/templates/.icons/simple/unacademy.svg,sha256=XZw7_w5_kJeIumW1AproVQuMYkVieyDMnhnNca086hM,468 +material/templates/.icons/simple/underarmour.svg,sha256=MbFuFcQ12CBoWO0iItCYBDeyy5pd0dc-3iQsM-w0WHg,942 +material/templates/.icons/simple/underscoredotjs.svg,sha256=4hx3fbuflJuRlUYPXOfeO2qPWdQDSqeD5GE1vIQvlss,3917 +material/templates/.icons/simple/undertale.svg,sha256=b3LqPFc6g87pc_l67SHh0ySsFuUVxHLy0-zlglYGp14,177 +material/templates/.icons/simple/unicode.svg,sha256=uR47CfYqex-2Uzvnv4jsbczB2p_BwRUlKN2iIxUAC0I,1361 +material/templates/.icons/simple/unilever.svg,sha256=tUigJdbMTjttcJgd6U3xfPJ2vsEIKAzxdPCcUAvbVvc,21579 +material/templates/.icons/simple/uniqlo.svg,sha256=jDkfsZcbif8oFoVfJ7rhbAF-E7upeVFn__MYWHZ9AUg,964 +material/templates/.icons/simple/uniqlo_ja.svg,sha256=768rko-r7vmvikGq1HSftjOKKDFn8E4FlQRy360M-Mo,375 +material/templates/.icons/simple/unitedairlines.svg,sha256=X3XYw7_pKmZcZhW9BxOAKFolVbiY-TcF6RMQTmFuac0,4323 +material/templates/.icons/simple/unitednations.svg,sha256=7GwiuAiY-cwr6jlaoa7D5dwy4BKcgQ0-2rnNhFcdfB0,18949 +material/templates/.icons/simple/unity.svg,sha256=M0Ubm0TZJ0wMnWwDNnCEv-2t0ErCEo5-6D7t6YBYVQo,543 +material/templates/.icons/simple/unlicense.svg,sha256=IaAKP3FDpkRHEnMzcCFhJHtKZN70oV8sfozTSbAMOZk,648 +material/templates/.icons/simple/uno.svg,sha256=j5MMszSChERAGtpZxZiA-erzsJodjfFp05DM_iQmtf0,3265 +material/templates/.icons/simple/unocss.svg,sha256=DNgy47T9IyGFmUHnSrcMRFQTRgV8o_w-2xK867rN5Ck,340 +material/templates/.icons/simple/unraid.svg,sha256=1cn4UQUd2_TRWfPzW3bbNnGPdxNhz2OM5azOV00sESM,332 +material/templates/.icons/simple/unrealengine.svg,sha256=SVdJZQDdX58L8dvsnjriZ72GAvcgqLbbmve3VBcQ01Y,800 +material/templates/.icons/simple/unsplash.svg,sha256=6b_tkuZb6PJZfTDF-3raeY1wWnYYCO1BPjMuYplVUBY,137 +material/templates/.icons/simple/untappd.svg,sha256=bRuvIaufsqrtqK9ThM0EkK5FqIQ0z7O9B7QaJwyGVc4,1461 +material/templates/.icons/simple/upcloud.svg,sha256=tCo_X54iBjXyDNzz1orp5YAR_SsbDAeZuauSnSVrPMk,447 +material/templates/.icons/simple/uplabs.svg,sha256=VtoxlVLr0Wt6HoBxF6R5rhqfNQ-YvNp63T7e_phIQ9o,1086 +material/templates/.icons/simple/upptime.svg,sha256=dhl0CsW5izwzXVtiTNp9-ZiNamQjPFpDIzVEGzGK0sk,288 +material/templates/.icons/simple/ups.svg,sha256=hm8zFW0W_qZcXG22T8jZvMdbD1oVHpBWYYZNDMEPCuk,1988 +material/templates/.icons/simple/upstash.svg,sha256=T6Hmlk7rOrDcIkLA7D0CKhNtsw25UrynpexayojbKBM,476 +material/templates/.icons/simple/uptimekuma.svg,sha256=ua6QvMt4JBVbz8VM37J5HLm7ugHChvtVGCt_Xvm4_5o,531 +material/templates/.icons/simple/uptobox.svg,sha256=38hyp1uWCGPOa4ovObYy_Wk7pE7zA9oOv2MMjCy55sQ,2336 +material/templates/.icons/simple/upwork.svg,sha256=0bD9PzyCBzzeXGEzOdUKWSPmA4s_er8tMhBYnCygIXA,617 +material/templates/.icons/simple/usps.svg,sha256=s_w5UkzeqDUOIrg0B2EogdGoKsLdm-eMRYqkKDRamxQ,1240 +material/templates/.icons/simple/utorrent.svg,sha256=RLKQnEylWP-yJD1t5UKEMLoKj-h8IZx5uEYq3Hlot4c,838 +material/templates/.icons/simple/v.svg,sha256=8KUM1cdX5_qcWyrvcYFsuCvVFe1ke3AwR7zyAxzMnhs,350 +material/templates/.icons/simple/v2ex.svg,sha256=39UbHuGYWhYuq5lqkriU0FR2FDYxi346giofP__ZPAE,320 +material/templates/.icons/simple/v8.svg,sha256=908zToJ7FtcXeyDN0ygOZscX1moThF0zpC71Fnli7l8,877 +material/templates/.icons/simple/vaadin.svg,sha256=CYwIVEyjjR95h_JIVQmquIL--GIgQru4ScimjhEOgI4,818 +material/templates/.icons/simple/vagrant.svg,sha256=l2jnMMfK_mRC2OwDypGesH29_jBzpdsEf6_FEtTXl0o,242 +material/templates/.icons/simple/vala.svg,sha256=zPPwojz1StW7UF7zOsszPvEgDkRfLYafQnnfjyo9_k8,475 +material/templates/.icons/simple/valorant.svg,sha256=_dHi4SgmT1hzMvBCJiR7CkhbvgsqhHVy_kgHbmhCBYI,578 +material/templates/.icons/simple/valve.svg,sha256=00hJfTv_jyQP-LEj9IjRbS0MA9XVtEvda3DS60sSuHM,432 +material/templates/.icons/simple/vapor.svg,sha256=B5yX3y0A41W5z1f7bVSglp0DmvRFqO2SmjCyJJo6ZLE,453 +material/templates/.icons/simple/vault.svg,sha256=GzdmQUITMZVyaVTecSs-xec8HfrDPRD_vsQ-jEI2Avk,383 +material/templates/.icons/simple/vaultwarden.svg,sha256=-mwwjIi1C4HH6lDhzmZ86MVTZs60sIMlhhfGa7vx6LM,3910 +material/templates/.icons/simple/vauxhall.svg,sha256=WVjyjCdo5xSfrdUoohfbmdL8xwxDm09_S87Xf_JU3gg,2701 +material/templates/.icons/simple/vbulletin.svg,sha256=obmZP3CJhbR7Y6BPd2Uj0vbZ7WfzYmDXb2VINrMnFhQ,188 +material/templates/.icons/simple/vectorlogozone.svg,sha256=DUdIaeU_BOPjqYgSBOKTAKwHPHfyex1CfXd_kzugu9w,178 +material/templates/.icons/simple/vectorworks.svg,sha256=aaYJvWhaH0oySP7eaHG9b7H6wol1Dhk_3DmGJbhQbrA,528 +material/templates/.icons/simple/veeam.svg,sha256=QJGQCEvTWyYxqUqQeeNXL_qQ2A-Qb8C-CnlvHmGt7cU,2570 +material/templates/.icons/simple/veepee.svg,sha256=q9Nk8s-ocab7F95g_bseXkoq3Pmgh0va5KeCG-3pCH0,845 +material/templates/.icons/simple/vega.svg,sha256=a-d6lYT2h0D8arhvMVoz1RKUX-OrqHzoG9v_iavaNx0,191 +material/templates/.icons/simple/vegas.svg,sha256=TfVSkG_zVZfd9sik_Fc9M7KH650SK56euWo3mudVCHQ,2073 +material/templates/.icons/simple/velog.svg,sha256=BRG_VB44tdc5yiRXhBGC92jugdK6c-p3_fSW7OOkSV0,593 +material/templates/.icons/simple/venmo.svg,sha256=-MCZ4r9YAzdyWTiICKLAC7FPctJ_7V8IwTkjfKFJ8_U,1458 +material/templates/.icons/simple/vercel.svg,sha256=EAWhV9LrChR2ouNr5JemHV5FmSLAEQpmotvjPtiBPWc,109 +material/templates/.icons/simple/verdaccio.svg,sha256=e16kHdb6lAsveq9eI--c4Wrh4-2L_m7VDymFrBbqv7w,361 +material/templates/.icons/simple/veritas.svg,sha256=rXxQpfYwpnX9wClBEoJmj6jKoUDu0gH87eM_fGwzz5g,1151 +material/templates/.icons/simple/verizon.svg,sha256=H_UvPKNr6v5bhPMTjSqwwv35ehMsmcUNJX-FHKMxyq8,135 +material/templates/.icons/simple/vespa.svg,sha256=7ebQGPNkSv1rac4sp_TbSHmAdQJFVXhkuOWQjaxD2Zk,2691 +material/templates/.icons/simple/vexxhost.svg,sha256=3UtGrE6SqwI6rrzrbK3YHEEUzd4Wo39krjUnD4uxZjo,1312 +material/templates/.icons/simple/vfairs.svg,sha256=f1wMp40oiZoRPsqg8_Tl_QiQTARGRi0sIt4yEQ54UqM,717 +material/templates/.icons/simple/viadeo.svg,sha256=IRagobOURvsFC-y0HzdsTenkUoEQxWO3r63FPEzbZp0,1125 +material/templates/.icons/simple/viaplay.svg,sha256=EScomjgZJVxiRjPetJ-0kaHw970QSUf1U1qNT8USSpY,279 +material/templates/.icons/simple/viber.svg,sha256=lRkQ7qOUgDYGz3OaVulFI8iKA6BnrMQuC9HM81sU9nw,2157 +material/templates/.icons/simple/viblo.svg,sha256=xsHn1rqZpJNAUmQMQDNBPALGAMKVurxt8JALxXCywmQ,199 +material/templates/.icons/simple/victoriametrics.svg,sha256=dMjE-SUkbbED6zxEb-V-0PwLM_4GyC8x6G6peVz9TyM,991 +material/templates/.icons/simple/vim.svg,sha256=zyGkig9hjUC2FbWhiCNVSYk475VzeFvEe01rxoWadoU,1591 +material/templates/.icons/simple/vimeo.svg,sha256=11qsNi7-TRsABZM74UNeyV5WsLxAxq0gOI3zJlJDs8I,623 +material/templates/.icons/simple/vimeolivestream.svg,sha256=10yltlIZcuekh8pj3Dqb9AZ7FoTOWS-uwS977MdY5Dc,5080 +material/templates/.icons/simple/virgin.svg,sha256=IEZs7rdQhN6G8PQPb_UVylBF8zi7aq4vfi46DnlEnp4,18235 +material/templates/.icons/simple/virginatlantic.svg,sha256=hOKAMwbYGcy_qa_KyppRcZWvMn2Gcw4jZnIOto4_WdY,2849 +material/templates/.icons/simple/virginmedia.svg,sha256=kySJxCZa2LRpn7aw_fdBoNqc1KcfmDHT4cNa-cKCBDU,1104 +material/templates/.icons/simple/virtualbox.svg,sha256=Naq_3CgU0g1IVZVRPowajKu4pkTqYl4eSO1iO7y-Eng,4662 +material/templates/.icons/simple/virustotal.svg,sha256=3xqVsoGUDSvr5vJllxEeXOUIZR9EqfWg4FpEdwn8y8o,150 +material/templates/.icons/simple/visa.svg,sha256=1lsSdC-wXoh0zvXC9syj1FJkMOGdL4yWor6ETtUq1vg,768 +material/templates/.icons/simple/visualbasic.svg,sha256=YIqICCCUQh0y4aeaP4aBFbyNjy0TbjMRLBSMB6VcU1E,937 +material/templates/.icons/simple/visualstudio.svg,sha256=Rp7Ey8mcJBBiEotos6FeX79daCwinsjXftj1CG_obXs,1806 +material/templates/.icons/simple/visualstudioappcenter.svg,sha256=uoLPe82Jw7DWDeQDgtrqRJYSvqtXtgSaopyvzgRk-Lc,400 +material/templates/.icons/simple/visualstudiocode.svg,sha256=KyqpvO8B9znyXM1TLnjA0Vu5YL2hNZJqs2UEabSHczM,439 +material/templates/.icons/simple/vite.svg,sha256=x8xj5xb-vTwkq3c0wAUf5EIX1vD6S9hFCbvpRGF0rqk,879 +material/templates/.icons/simple/vitess.svg,sha256=WmPNAIkgL32jZt-s7F6AAwEt1EyKg7I-K3EUGsSqq70,148 +material/templates/.icons/simple/vitest.svg,sha256=2BcV4NEYv9S1XI3NoKI_YtZDxCoDS_wofwDbr6oZ7Uc,992 +material/templates/.icons/simple/vivaldi.svg,sha256=b3k10MToqspkSnhyp9mwgx1WhyaNaINKQd0c7LV7H4c,742 +material/templates/.icons/simple/vivawallet.svg,sha256=b3yUJJMF3k85Ttasf-lStEZCtVbEcZiIy8_xPZQncb0,555 +material/templates/.icons/simple/vivino.svg,sha256=LnSrjwsoSqFCo9u_lfPGbShymComdIlUXUTE9iysvCc,1224 +material/templates/.icons/simple/vivint.svg,sha256=61dePF3C9JKdTfMaehGJD6bYH6SY52sc-LnP4bp1awY,480 +material/templates/.icons/simple/vk.svg,sha256=bjWNX33lk0xCfJiDot1_AJx2wsDsTUizCfh83RIUcog,1250 +material/templates/.icons/simple/vlcmediaplayer.svg,sha256=rm1HoMojMcYq486JsW_KLI84ilBNaeKkmgOdwM7k4Gw,786 +material/templates/.icons/simple/vmware.svg,sha256=6LqJrQ9IUp7YdHsTi9cNHHUpUEBsN1zRoKAZjfJH6YU,2227 +material/templates/.icons/simple/vodafone.svg,sha256=ST7iA_JOzZqZ4Q5iOFNIV5AYeblGbpb3El8xhxPJlEs,363 +material/templates/.icons/simple/voidlinux.svg,sha256=VeyX53iREIOblsOd82uVh80nUKrUYkmYSvOJStpH9p0,551 +material/templates/.icons/simple/voipdotms.svg,sha256=9ePm9wL-nkD_z7ETQRZwhI91s7F06BpM20Ymx65OQ_s,376 +material/templates/.icons/simple/volkswagen.svg,sha256=ixilpkPHNoELMblYBcditnscGP5N8I2IcQU3RipEM8w,802 +material/templates/.icons/simple/volvo.svg,sha256=2OxGrF0YPrxa9heTOUIJoBevxLVMNPTICqDx_B7g_uU,1338 +material/templates/.icons/simple/vonage.svg,sha256=fFH6o_pLbrqJ-2LICfTWQJm092v6ekmrarAqYkejfuQ,305 +material/templates/.icons/simple/vorondesign.svg,sha256=QaYnj9b-Vt220W8DesLWl0psRbs1MN5Rp_wOyUTEsOk,225 +material/templates/.icons/simple/vowpalwabbit.svg,sha256=frxnYqNq_oX6_n2RpdsVv29bxyaNdCfWKBxo--XgY1c,1287 +material/templates/.icons/simple/vox.svg,sha256=gc0Ic9PsQocn8vBo4Bkf3C9e03gGSG42QTcGeG4siOw,472 +material/templates/.icons/simple/vsco.svg,sha256=TH8St3CzhFsaQOSMdAZ3a3kDzqxX7zCIumoeOFsEEkE,4048 +material/templates/.icons/simple/vscodium.svg,sha256=maBFR-RJntRPcY8NPS9v4KUtNvICjCzLgNeThGH2MRw,1304 +material/templates/.icons/simple/vtex.svg,sha256=84n3YRZ5osY8UMRTp21YAmXLs-89u8KTRIoAMbRqYDM,658 +material/templates/.icons/simple/vuedotjs.svg,sha256=WH4Yh-MAumiIq1aq1WHYqTbIr-Q94y6A6xK0DQ6ODT0,170 +material/templates/.icons/simple/vuetify.svg,sha256=eLcJFPELnEaUluLuOz8DurCXNkMZMVSMGRulze7MXPw,250 +material/templates/.icons/simple/vulkan.svg,sha256=-bHvFvaXQWvfaVYsNQpwRS6TVPMZU52JZebhgKPt-q4,2399 +material/templates/.icons/simple/vultr.svg,sha256=pxDvnzm5Z5BrT6KfDBe45uuNnGup_04cb-_8VVnYqW0,482 +material/templates/.icons/simple/vyond.svg,sha256=61AW7VhuqbqxCd24vLX3ArPyjSILHRTKpflJN15l1Tc,738 +material/templates/.icons/simple/w3schools.svg,sha256=MmMpxgvAw1xHQrUZ9qz0Lmh0CYSWtcUEnXPZ3nRoFjU,2049 +material/templates/.icons/simple/wacom.svg,sha256=dlVJgRBwWrQ33PbLf-LEUVZkCiKA4h5KtI9xPMin3Mc,2316 +material/templates/.icons/simple/wagtail.svg,sha256=DnnXHQgVnX7ikX5DoBmXdedm7Wl3_T_BQGOipbWjrAU,1301 +material/templates/.icons/simple/wails.svg,sha256=wtkqkU3eZm0ZUEP94JLzwr1i2rxoBZnPTXKgdqbMKos,495 +material/templates/.icons/simple/wakatime.svg,sha256=KS296kLzKYM-fIDafxFuYV9L-CsNYb2ipvvg7CWbbCE,811 +material/templates/.icons/simple/walkman.svg,sha256=4GZTtuSBIOb_okdAj0el-RJd-0GEYcmKSenVTDXb8ek,922 +material/templates/.icons/simple/wallabag.svg,sha256=BCJ8eXCP8kCJeIVrB_fEdSS-oBJ7zrYu_oUY0ycB2ZA,2671 +material/templates/.icons/simple/walletconnect.svg,sha256=yvaeHdZy1RFA1j54mEjJHoxwUmtleOO0XuFAih1YEUE,664 +material/templates/.icons/simple/walmart.svg,sha256=pSkEiK7So0FhswR-tbROqoVS0oilMu3D0xyKfzYYkrg,2811 +material/templates/.icons/simple/wantedly.svg,sha256=Vw6-1YpZqJPJ8mqEMUp-AOsFowhpl0CXe1nOISibIZQ,589 +material/templates/.icons/simple/wappalyzer.svg,sha256=pd7J9YyE5aQlebe8mLgIubWjOPs1FP7gHeMIbwAYfG4,416 +material/templates/.icons/simple/warnerbros.svg,sha256=Kbsv6BhIHVbq2y80xr0-ccg0TeS3oB15laTr94aWOy0,1501 +material/templates/.icons/simple/warp.svg,sha256=IvFCHCsauXpSoJgTuFr0qPQ2k48LsgRqbOhlrQ7YhIk,278 +material/templates/.icons/simple/wasabi.svg,sha256=xwY13SGF3qGzwxVSWrL9XzQea09ZYnhvGST7ELFkjYk,950 +material/templates/.icons/simple/wasmcloud.svg,sha256=y2JAFAXw36Ix8UHgP4mOQwzxyoT0D3AwWp3TG6qGi_U,722 +material/templates/.icons/simple/wasmer.svg,sha256=nTPwV7A251Xt-ibcqVYzhblbfMN7d6a3opKmQjynPlY,469 +material/templates/.icons/simple/wattpad.svg,sha256=8lLwvAS-nF7OfkWGekZXemP32fpunjkxQeqZayehk9c,478 +material/templates/.icons/simple/wayland.svg,sha256=hp-_wHqN6ZutkV95YoiLS70yOQRM2ZvJEJwPccsHoI4,2897 +material/templates/.icons/simple/waze.svg,sha256=GRhI3GK7p6cCPva3LO1zcNu_6t1z9nLsTxS2LFUj8qI,1388 +material/templates/.icons/simple/wazirx.svg,sha256=sTmj4ybHnj8iZRc8ti1i1nYK2JELMvF84f2tELoKtNg,268 +material/templates/.icons/simple/wearos.svg,sha256=Z4N4u-3_mN8D5PXZoj3RBbbfd1DeG-cb_QsskCTPEn8,625 +material/templates/.icons/simple/weasyl.svg,sha256=RXHuolD15l9vY0IqIh3TLOVSYunhE0-V7DUIIZjMsD8,958 +material/templates/.icons/simple/web3dotjs.svg,sha256=gvtJqbSDMh2I4pDrSuhxEB-97vvfFzZJuVv3jhEL8Yc,1366 +material/templates/.icons/simple/webassembly.svg,sha256=PcnWpw-yEHfrDwIV_1JvePBM4fp59WWLWgzbpJUHAnY,423 +material/templates/.icons/simple/webauthn.svg,sha256=_xuVY8YhSQgwwhn02Ibefc3kSmGFiQu_m7TntEj2I1A,3340 +material/templates/.icons/simple/webcomponentsdotorg.svg,sha256=hnKsyp7bhGzm-bF5Du5lyj0e2jk4fcO5e-7wfCJBM4g,426 +material/templates/.icons/simple/webdriverio.svg,sha256=hbnR2R5NBgxhxvVzWvVJVs66ALwLcrqYR8mre78Ym18,351 +material/templates/.icons/simple/webex.svg,sha256=-yzpnCcc_tuVe5oKj6ikgA_nd0EylQNATSlh9QQrB5c,2062 +material/templates/.icons/simple/webflow.svg,sha256=D_O7dzqjRj1fjtJUJAWyfoKPzSl06rYGBFKZkH-S4Xs,261 +material/templates/.icons/simple/webgl.svg,sha256=b6e22dnXzM7D0omTS_ZK7x-Gr3d0tRhud3LArttgJAU,2273 +material/templates/.icons/simple/weblate.svg,sha256=-8c4F7DWQKjcgeW82mNZavgjwW7zeA5Kehg13oNEmUo,1036 +material/templates/.icons/simple/webmin.svg,sha256=PkZuatqi9K8FiUUMpn1Gb8IeoZiwaHm_Fb4OEqtNmO4,2621 +material/templates/.icons/simple/webmoney.svg,sha256=p7M9IfwrFBfkfT2kzBzMHW3ImLIm7mkTf85EUwa93Z4,883 +material/templates/.icons/simple/webpack.svg,sha256=vBG2XJBOVCbxY-yIhL2lGakUWlB_xSvuWuSn4_Wmb8o,504 +material/templates/.icons/simple/webrtc.svg,sha256=X0_WpCOyRzotQk-EwLGWnmohmEBKQ9akXpVJaou5QqI,474 +material/templates/.icons/simple/webstorm.svg,sha256=MnYWoBR-fLI0m_bUg6I71eUC7_NSyDXRhaik7nxxNi4,640 +material/templates/.icons/simple/webtoon.svg,sha256=FOqMvKO0Hpuk6mp_qhLvTXq1dz0TJGiLUalEVRinJoQ,2678 +material/templates/.icons/simple/webtrees.svg,sha256=llHjzz343V6E4pNJljfUcTl7y_DEo8WjOHSftajgYoA,653 +material/templates/.icons/simple/wechat.svg,sha256=xiaSShs0auqpTCImfDlz4B0rHYbEs9LACGtZ6YE0euc,1298 +material/templates/.icons/simple/wegame.svg,sha256=Tj6p-J2gYNVtBIdJqx_Hqm5LEzzfHOo7rNG4oE1B1-Q,2068 +material/templates/.icons/simple/weightsandbiases.svg,sha256=hLMsIhGJWI1bEGQcVfrKNVHxQie7taIlPcP5GOnardc,756 +material/templates/.icons/simple/welcometothejungle.svg,sha256=24YD4Dc7t6SPorRWaLA8E-dFVUUSFCXc1eddehJ6d0o,766 +material/templates/.icons/simple/wellfound.svg,sha256=Y_cr_fxoPQcJlGopY2LI0O-vJ_oWpDyVoE61SWi4f90,445 +material/templates/.icons/simple/wellsfargo.svg,sha256=-N1aQp9Ha3RYqMN3lzF6ChUP9Tdrd24-J0oeqxUY8q0,2394 +material/templates/.icons/simple/wemo.svg,sha256=fJYeAKYh8AFSyX_Z3SxF5ff5OuomuV7fZC7hRdKERng,1389 +material/templates/.icons/simple/westerndigital.svg,sha256=F469cqg4EkF1HqAw8m1kDt8ASL88ZUUcTxjR6FIeYAk,827 +material/templates/.icons/simple/wetransfer.svg,sha256=zpLHohYt7WzCY3-SU0g2bPcO8BFVtnym_xnhekR3bG8,869 +material/templates/.icons/simple/wezterm.svg,sha256=ObqQWTQVa7tr3XL-hzo4uew8BcOfzIWTnGAqTaVxN_0,868 +material/templates/.icons/simple/whatsapp.svg,sha256=utEjDgw9TzSGJ0AUMObPphvTUtu-uuZM0WbX7-rq-s0,1189 +material/templates/.icons/simple/wheniwork.svg,sha256=QlhQgm6UXFXjgSnQ9PjXpqV_0XHdvmpk_8w6ikHVEUc,723 +material/templates/.icons/simple/wii.svg,sha256=cNXj7t_mgHkvE6I0vtas3vZIWSnVEQaItH5r2djIoDo,809 +material/templates/.icons/simple/wiiu.svg,sha256=bzV43DrL3e25m4glNqaEgqYPmLTc0tLFcrWHzimtw1g,991 +material/templates/.icons/simple/wikidata.svg,sha256=0G6dIFmxK4Qw5u9oGdo0KSZyVlrM_UZSfcpdF_C6oxY,348 +material/templates/.icons/simple/wikidotgg.svg,sha256=1zbJ3xO5RP9wtEGAR3nMoodjTK7I9eKyYTfVQ0aphEw,1274 +material/templates/.icons/simple/wikidotjs.svg,sha256=sNZi3pxKm0qO43n1vx5aPBfWrr4mY-kG3ZdlAUH9cx0,4976 +material/templates/.icons/simple/wikimediacommons.svg,sha256=Iobmq2MOfuTTPtR1-_NVZoUsRiYwGYQaziQIsy2Eby4,1493 +material/templates/.icons/simple/wikipedia.svg,sha256=44vwhO1cdvbXzn1vMxEY9ZaWsriyV1Makr_STYy2-EI,1360 +material/templates/.icons/simple/wikiquote.svg,sha256=j6Xq2Jw239KGO96T4yYGth6PkTp0HouQtXYSdrLBds0,600 +material/templates/.icons/simple/wikivoyage.svg,sha256=i01uWkAXW-Usyc4dVvnqpsFZbeM2n_j-I3E2v19QSb8,3710 +material/templates/.icons/simple/winamp.svg,sha256=OYI2rdeoKRGdVFSPeRVy_GTZAVb7C1D9RS5-08YFuEU,364 +material/templates/.icons/simple/windows.svg,sha256=QYJsN2pjSdLKXp2l9mXu9t3krn9cI-C-IDNL0Se_i_8,170 +material/templates/.icons/simple/windows10.svg,sha256=xeRPhogwVM4RVG5-XRET9g1bk-kznCu0dTMkFeV5SEg,190 +material/templates/.icons/simple/windows11.svg,sha256=QYJsN2pjSdLKXp2l9mXu9t3krn9cI-C-IDNL0Se_i_8,170 +material/templates/.icons/simple/windows95.svg,sha256=zEGXyZSX8v5KTJXyX37yJIVOqayc8dp24PCSgrTyl7M,2367 +material/templates/.icons/simple/windowsterminal.svg,sha256=k_gatXlIBQl3i0vgFDM2ZJ7VgZjhObPi7dR3nHYrajQ,455 +material/templates/.icons/simple/windowsxp.svg,sha256=nK2qshkCUe0MNixKGQcFQmr8imzhVWeeFJcz01dHJ1k,604 +material/templates/.icons/simple/wipro.svg,sha256=isHFNgFgDk3O7mYPWYCkJLwkimGRsi0duCdocCGP3o4,7203 +material/templates/.icons/simple/wire.svg,sha256=uC_wy3NtJiLPEUVvXYF3LV9WUmxgfEblltK6uWomc_g,484 +material/templates/.icons/simple/wireguard.svg,sha256=7RrcVoLBfl5iv7QThSAGvjvrhLcZJ5HPt1eVOHNQNuw,2392 +material/templates/.icons/simple/wireshark.svg,sha256=sDUbeHxM8969ybx8mwMkxcaX-4VN2Gq1a94VR_iMR68,613 +material/templates/.icons/simple/wise.svg,sha256=qbEkUh7Za2Rc7M5CXKIXPP00GfwSiB6xcQuGtcNRsI4,207 +material/templates/.icons/simple/wish.svg,sha256=IXh8TziWMFHeTdBabAtbO8TEUhez1WbVIUARYMpSGuw,832 +material/templates/.icons/simple/wistia.svg,sha256=9lgSv1bXXRJbZBooDNrfEIWRCTZ0E_NuhbXC3-IcgbY,535 +material/templates/.icons/simple/wix.svg,sha256=imDyUH_wjRLEHClRFzXhL15LFbQbYiQSNSg5ZnoQNKA,764 +material/templates/.icons/simple/wizzair.svg,sha256=b1nt8KWDajdL0PiaTiPYvjjHXo4MVnokueNA3HcBg9o,2161 +material/templates/.icons/simple/wolfram.svg,sha256=0yKstYLA-Zk5Dz_SKsCgZ0jeMXxdfdzyAo3CCGAcRv8,1437 +material/templates/.icons/simple/wolframlanguage.svg,sha256=H8UD2X1M8pP1mJyQ6mfa7srGC1I3GR3URYu3evV63S8,1716 +material/templates/.icons/simple/wolframmathematica.svg,sha256=m2kT3c-RM2pRCLg3YdprFm77asuuaWYN5qwvfjouZK4,1145 +material/templates/.icons/simple/wondershare.svg,sha256=-VqAvh8URTZL0JfAb4u8g2S6PTMyHxZZqA4F4dlKOXc,376 +material/templates/.icons/simple/woo.svg,sha256=ECKlCteda63dImdvlvjFEVjB-RMM717nxgMXzktdwnE,2087 +material/templates/.icons/simple/woocommerce.svg,sha256=KuKWnX9ECjszQkT45JVZM2ykfI1AZ9x-5_PsLAkqgd4,3550 +material/templates/.icons/simple/wordpress.svg,sha256=ZDI6SfTxAZFeh_806vGwDJu7TE0hWscEu-E2wrvw91Y,1019 +material/templates/.icons/simple/workplace.svg,sha256=7NX_-cAH7EB9h3_glWhUXTGOCNzaoMEu6Wr-2QwueF0,808 +material/templates/.icons/simple/worldhealthorganization.svg,sha256=p4PakbilIVlp3W0M9g78tkm-TIGIyfTkagA2ggEP3UQ,10601 +material/templates/.icons/simple/wpengine.svg,sha256=HZDyEk6N0lKkOFluRqzbexJkXCy4qtq46MOpp-npr8Y,508 +material/templates/.icons/simple/wpexplorer.svg,sha256=hO0c8KFfuLm7Li3OVx61WWVWmlY2ld_M3SGSGlx2uok,472 +material/templates/.icons/simple/wprocket.svg,sha256=dIq2ShjXx4n7kvy5ThjIebjnd210PFrqjTDN-1MRsU0,706 +material/templates/.icons/simple/writedotas.svg,sha256=nb_HPN5ONlgLwpXdRD2jDIl2MoHUySnakVoJilKBBTg,5702 +material/templates/.icons/simple/wwe.svg,sha256=cEq7NeY3FcdxLYeisfQgQZoZgIQ-sKUuvR_8hBmiFps,545 +material/templates/.icons/simple/wwise.svg,sha256=gkPqbavAKAU9D7b0z2pHzGqEF7-r4GGqmf3pv7L3_9w,1244 +material/templates/.icons/simple/x.svg,sha256=UeC3Urac-2ECoLWzKWPFU0oNOBtB-m05J7tk5NLNUd4,225 +material/templates/.icons/simple/xamarin.svg,sha256=i8Q2QgM8UNb52b07ui-aa9msEUok1WQD28-crm2RZbE,739 +material/templates/.icons/simple/xaml.svg,sha256=nuxEw0xB6qo2dUb6t7wIRKsEXOTkIdMxF3RlnCWe-As,815 +material/templates/.icons/simple/xampp.svg,sha256=4OWUSx2FeSeKE-E59LUT6sZyRp91khTEFtKH__AEcSA,1791 +material/templates/.icons/simple/xbox.svg,sha256=dCPh2C8yfHjD5K9Q9bcYdlf-C7sDfEkaQN_6r0B3-2c,797 +material/templates/.icons/simple/xcode.svg,sha256=JwB4lT_NN_x8EukhqMrH0rmu6fx3vC0h8PTk7cJHLSw,2120 +material/templates/.icons/simple/xdadevelopers.svg,sha256=DaNemN8paDclxWBJyAxaGzrvbRJuoSe401nEtxP0Fqw,192 +material/templates/.icons/simple/xdotorg.svg,sha256=0zl6DsbgQopQvvzkr2whLouuBDbJN70jo2qpLjHbnEc,850 +material/templates/.icons/simple/xendit.svg,sha256=dO7CyN7Lw9awkxw4FXPugXzio4qEC7fyyotpqsPog-s,426 +material/templates/.icons/simple/xero.svg,sha256=Izpy2255YZPg9kNlC0km-YC9bx504GQI1q9AG5lNDt8,1557 +material/templates/.icons/simple/xfce.svg,sha256=NQZ3hpRIAaRV0-G6T2N8wXBVBChGPZV_pMgAjLMOyjA,4759 +material/templates/.icons/simple/xiaomi.svg,sha256=B853IOanj0xfQ8oGw1J0s0zHFxlFA2g23Op0vS0Vhz0,871 +material/templates/.icons/simple/xing.svg,sha256=e0do8nDo1qxWDg3srRipXVqt9i_GF1zV-kbiM9S5GSE,614 +material/templates/.icons/simple/xmpp.svg,sha256=l0To7nwG8kcBHb5rSqh1qGdvbQDTbaPDNufPoO9873w,566 +material/templates/.icons/simple/xo.svg,sha256=fnss8xIS6FqMBbggh8yiF135I2r2VB1cUZSMo7g5PQo,675 +material/templates/.icons/simple/xrp.svg,sha256=PMoE-0yqwAaNIrMNZddnqHaakSU0HGia82OEX7YSZCY,931 +material/templates/.icons/simple/xsplit.svg,sha256=4zxqe7M_JFsAapj_jWKi5bVBoZKPQxXdYeW7dqEzyeM,283 +material/templates/.icons/simple/xstate.svg,sha256=JCKBp4h--lcZ94CNrnm34oFxuCpz33xLtNqTOUn-NW4,215 +material/templates/.icons/simple/yale.svg,sha256=QKuEfmrOK2iZ7MFuavtoCqGYsTGD8tyJOCqSrcl22hA,967 +material/templates/.icons/simple/yamahacorporation.svg,sha256=ZqpgIrSoExCbxtnn7MjpBmcDZ6ZSUM3sK2Mi6WUoEtI,1547 +material/templates/.icons/simple/yamahamotorcorporation.svg,sha256=jRJbVXDIzt_oxQPJ_zv4QxyLA3nn0xqjG6Nl54Ntc8k,1868 +material/templates/.icons/simple/yaml.svg,sha256=-k0mwQLgJO5cUpCcYJw0i4vSF-J0W0t4qCF2kA-z42o,407 +material/templates/.icons/simple/yammer.svg,sha256=AF00zl01kOImsihfbbV-zuHyJN2Mg6RS5I8wYsE2YUk,832 +material/templates/.icons/simple/yandexcloud.svg,sha256=c8O1lej7HkrHpj5sUvC6_K2qv6n5saXNe0x8c1KZezM,908 +material/templates/.icons/simple/yarn.svg,sha256=yrG-od0GdU3IZ6mUlK5FW05OpPN6QQWxEGN5-s17FrA,1903 +material/templates/.icons/simple/ycombinator.svg,sha256=QFzUjTDTzDJpHTnSDwrfhDHbW4R2LtnZ0xPmE-pGZvk,242 +material/templates/.icons/simple/yelp.svg,sha256=_u1hfYUnq5bmUdltPsYpaCKkapEzxd9hfhA4IXO_ucU,4002 +material/templates/.icons/simple/yeti.svg,sha256=sqcw0FIaxyIV_R2arMmt0Gxa1bl-z1Ie3hMGJtUyHJI,328 +material/templates/.icons/simple/yoast.svg,sha256=v4PoKUyHwEYowKr-Q8T6pjP5rDbYal0LmJ4ZcaAhEGs,553 +material/templates/.icons/simple/youtube.svg,sha256=ma8-M9jmEY6OrHeeIMhQyfBXIzFmU2AQaQpNoKa5Lvg,426 +material/templates/.icons/simple/youtubegaming.svg,sha256=UiEsxwscYTuUyZpi3stB_p_9Dg4XzBR2qNLfgFO0PEs,362 +material/templates/.icons/simple/youtubekids.svg,sha256=c9lnCXwHp5s6Sg2m1Y_C0S6QP-q7Mg6plAv6z4XDsSA,904 +material/templates/.icons/simple/youtubemusic.svg,sha256=TE-ulbH7-07CqPTnl5jGe6ddABvt7XBCPF76SGZWe4s,410 +material/templates/.icons/simple/youtubeshorts.svg,sha256=jXdz_i-k2C--WNykx3bl7nSTwm2V_lmkgfc5963jeG0,461 +material/templates/.icons/simple/youtubestudio.svg,sha256=kiN--EpVe3bxAT-af2UFyhSGtbDJzrS0TnNyIbrT9fs,808 +material/templates/.icons/simple/youtubetv.svg,sha256=2yVtP0YVTh_ZM8ScFkfB40ytT1u5xgqb90mv54RiHeE,2912 +material/templates/.icons/simple/yr.svg,sha256=gnWqPchH-1QpyfV_0VcJMynXNv-75IRIAk3YQzyHI4U,1102 +material/templates/.icons/simple/yubico.svg,sha256=KPLKX1s9NtzoZ5Hcp8uwpWAHMOmqCBtHPAHfXE83cC4,317 +material/templates/.icons/simple/zabka.svg,sha256=TGNJGWde0yx-WhmksrUUkjIhEHYq4HL8jMRLRthTI6E,2281 +material/templates/.icons/simple/zalando.svg,sha256=5Bfn9DhrbyC5yEO8LizAVbghHtvqaCN6sBDel-O2VIA,442 +material/templates/.icons/simple/zalo.svg,sha256=hjvu1riRqmqXbMm1wptOZZSQ8aJ8qSVCof04XK9-iZ8,700 +material/templates/.icons/simple/zapier.svg,sha256=UeU5dOO8WFGroeu7Gh-tXZGB8wcMiV1FbhJFQp2cnQ4,2268 +material/templates/.icons/simple/zara.svg,sha256=66fEgPACBCxeOJDAXWkRDJdhYhJ05_meK6yuykaaOB4,1156 +material/templates/.icons/simple/zazzle.svg,sha256=t1Q7o972mPZVoUIEIgu9b-uTcD6ZSXheaY2-8jkT9tg,837 +material/templates/.icons/simple/zcash.svg,sha256=1MgUo8PZgBLQQlJs1bGBIFKwFIcJnWyV4BofS6Qfv3E,285 +material/templates/.icons/simple/zdf.svg,sha256=XxruM0sN2GON2Xb4cU4RNkz5nt_B0rp9tDz10L28GW4,733 +material/templates/.icons/simple/zebpay.svg,sha256=pCjlp0SRc-vqU_2xY6YB-6QM9Aytt2eDixIQQiqCCdY,920 +material/templates/.icons/simple/zebratechnologies.svg,sha256=QjGf8IwXYzfUgpk_RYMFYCqzPGR4YES3-XvEMO36ZhM,1503 +material/templates/.icons/simple/zelle.svg,sha256=nttNpbveUuo4bfiKDzVqIfwQy0u4JRLNC0jXZh8fSj0,501 +material/templates/.icons/simple/zend.svg,sha256=pjsGHRKm94PxFRxt79KbYMtBU0ioayEg4d1MKLSXNGU,201 +material/templates/.icons/simple/zendesk.svg,sha256=RRWaZ6jLgOJO4ysRl0boueJQLVmjpVYbQUwxBJMyls4,287 +material/templates/.icons/simple/zenn.svg,sha256=W3O17ZX8Y_yaTmHqMZg2NMsXS03C2wp8D3PqgHtnkDQ,379 +material/templates/.icons/simple/zenodo.svg,sha256=LaAyRSbHgDCdpMYV23MsL5rqiys5xctrbJRUZ1W6qGU,3224 +material/templates/.icons/simple/zensar.svg,sha256=3teeGV9IW5RGQ5X-ExrRaj8bXBBQB3I4XyH2pFP3aqg,1583 +material/templates/.icons/simple/zerodha.svg,sha256=gDTyoHFbt9U-dZZ_kh04q9U2nseyuPVSzZlXophTS98,252 +material/templates/.icons/simple/zerply.svg,sha256=_hx7kvTSmpwS0-6MR7HI-xEyu5BcByEjVlYLnqg4-7E,704 +material/templates/.icons/simple/zettlr.svg,sha256=0VHKBCPhoQIOC8dVT2AX4chLYx4qZBsTK7peHSYpWXY,847 +material/templates/.icons/simple/zhihu.svg,sha256=AIyY0qyUXxg2rpc1VdlHE_tBIOlHEcYhTmuTeF4KjnI,889 +material/templates/.icons/simple/zig.svg,sha256=F7sQw-BaCpGDxMmhzIBFMcP3puLleVMph6QtD_oscsw,316 +material/templates/.icons/simple/zigbee.svg,sha256=qbA72z5822C6B-NpEFBOd_vyw_2i1PVMWEJaIT9-Qqo,531 +material/templates/.icons/simple/ziggo.svg,sha256=RGaRQtokQUJNVSTnaTyMCOQswlpSyd0lkF62W1Mmb2E,690 +material/templates/.icons/simple/zilch.svg,sha256=Na4MpMrUanJhPMCPaWkvsk4f9QOCvUrNXOVzGfOVksE,541 +material/templates/.icons/simple/zillow.svg,sha256=UEhKUIxiFVw448WNpPk5iDTeCL26rVJCB47KhtDOHB8,547 +material/templates/.icons/simple/zincsearch.svg,sha256=ShAMeWuFaS-BHKQs9eklUgIiZ9YqrfoRppicwAGAb7E,273 +material/templates/.icons/simple/zingat.svg,sha256=m-uIQ00J-lpwtjf4EFbw-IzSWQavE6yZWU4KgZUFtVo,2090 +material/templates/.icons/simple/zod.svg,sha256=n2FIVGzpskdAI1HBMFSXQuHfEOhcdfPSDYxR3UYPg7g,399 +material/templates/.icons/simple/zoho.svg,sha256=x4B4mFgh-PhId02A21MEi_kgfgu9eQ29548EZz0mABw,2604 +material/templates/.icons/simple/zoiper.svg,sha256=pHnOhpgizG1-1cQw2MYUFVSp9pRlsO52wjnngcfbq4o,1328 +material/templates/.icons/simple/zomato.svg,sha256=EX6veEBDnj_rImJ0CAkVWPlakyBJPnV_BnGiNuGL5YU,2219 +material/templates/.icons/simple/zoom.svg,sha256=ay_lFVSlP9c3l58ubZtDBNWoTXKI_bW1pm-9RzEvrIw,780 +material/templates/.icons/simple/zorin.svg,sha256=ToDnbvCj86LpXUJYQz0afc3ycebY7l6_uJdvIloDMy8,241 +material/templates/.icons/simple/zotero.svg,sha256=mHEovgXsxsgpw3mrqxaUsluVPbGiid3XzHxZYfZsMkM,161 +material/templates/.icons/simple/zsh.svg,sha256=Fn5Q_eQfJFrYRpcaQHc5FIdjnXTuziPcXRQD1xJAh08,3572 +material/templates/.icons/simple/zulip.svg,sha256=bVTuchtVX50-49RN45noXwGe-o9bgOs3OGn5o-gKR-k,532 +material/templates/.icons/simple/zyte.svg,sha256=oQRtZ3d1lSA4qwcfKHz4lZtj8FBL1MfYtsry4-OUZ6Q,722 +material/templates/404.html,sha256=gMk0lLVDKxvN8pLK62egZTxFs3Ny9J4IrUpwymladJU,150 +material/templates/__init__.py,sha256=ll5pHaEg1JXaPUEttHl7bbyIRTlwq3IoIjqwidnZcR0,1125 +material/templates/__pycache__/__init__.cpython-312.pyc,, +material/templates/assets/images/favicon.png,sha256=AjhUxD_Eslt5XuSVHIAZ494Fk__rb5GLXR8qm0elfP4,1870 +material/templates/assets/javascripts/bundle.d7c377c4.min.js,sha256=Wxc4yXkb-jyZ4IfJgsJhWvjJizBpCqoolYyXFci4UAU,103974 +material/templates/assets/javascripts/bundle.d7c377c4.min.js.map,sha256=WoPZr1FQNRhp0G44U9ZbA9nZrtEPdl7mIaPk6j6vCxA,934860 +material/templates/assets/javascripts/lunr/min/lunr.ar.min.js,sha256=iaHcsJSoSR2WjBUaslSgMZXIf_KtqiQIx2mSgoSEcSU,17074 +material/templates/assets/javascripts/lunr/min/lunr.da.min.js,sha256=KhJzQEjq504KBeXBCP3yTCtx382NpxIzbKnj0nq5KVY,4654 +material/templates/assets/javascripts/lunr/min/lunr.de.min.js,sha256=vKp8XBm8cwwFu5HiKuDjhuGsSgWAxCt9lPm4dXqtras,6119 +material/templates/assets/javascripts/lunr/min/lunr.du.min.js,sha256=RS2gT-RJucZcYThP7FgtxjgkvU5Vn64sOSaneQto6XY,6208 +material/templates/assets/javascripts/lunr/min/lunr.el.min.js,sha256=pv1cu7IdEnQHvDHGxCmL-S7H4UlqHqg9XkrdFDJaDCE,14950 +material/templates/assets/javascripts/lunr/min/lunr.es.min.js,sha256=3sTskL1vR4yj5lY2qOP-31ErI9AaUaAdfngi9n67qvg,11499 +material/templates/assets/javascripts/lunr/min/lunr.fi.min.js,sha256=aBVB_PWxmHrYsAdm6cBjiez5nD166Bf6iR-SP2kbhmg,9342 +material/templates/assets/javascripts/lunr/min/lunr.fr.min.js,sha256=TdVqolUedwrSbvS4UJLNMUR2ceDoSzlRQnhUf1QXc3c,10669 +material/templates/assets/javascripts/lunr/min/lunr.he.min.js,sha256=P31cKK2pTXjJvIBB4nHDVYALo226uYrZXVe2vCWZNiE,6882 +material/templates/assets/javascripts/lunr/min/lunr.hi.min.js,sha256=Yx__UuNiPy37o1rwdsa4taRQ7v_jClz6x0WNq3fL4KY,3383 +material/templates/assets/javascripts/lunr/min/lunr.hu.min.js,sha256=h2yWm79KK4Rzj04KFJIu4zHLfCGTpiH2Xbf4Nv3TOjg,9437 +material/templates/assets/javascripts/lunr/min/lunr.hy.min.js,sha256=DvvLkCvbfsDd3_peK6NHt0xJ_8X0P9c__tg1KOuhLpU,1264 +material/templates/assets/javascripts/lunr/min/lunr.it.min.js,sha256=AKUHPfLpIuX97RxaTUARrsAkcqudkYKnxlCNYLYlxFM,11232 +material/templates/assets/javascripts/lunr/min/lunr.ja.min.js,sha256=xP3tMI9jNoGm7VO2wQ2MpZFv39UPa4LskU1yW-DLi9Y,2313 +material/templates/assets/javascripts/lunr/min/lunr.jp.min.js,sha256=BBFO3DbcEU7c5a-7PH95X0XHfYZzwe3NylZ13atdUZk,36 +material/templates/assets/javascripts/lunr/min/lunr.kn.min.js,sha256=oGTQ10ODNJV6RCtiYUD7cvTt6OvhfrXE4laC2HyIu_g,3494 +material/templates/assets/javascripts/lunr/min/lunr.ko.min.js,sha256=c9G9sd5K72xZIPUWkkxascRA21Cm9cYSa9D7fPXTdmQ,7972 +material/templates/assets/javascripts/lunr/min/lunr.multi.min.js,sha256=l2H0da5582Qg_3FN-ZUO-yZO_8-SMO_VW1EaDeiZ6Xk,817 +material/templates/assets/javascripts/lunr/min/lunr.nl.min.js,sha256=OZ7ybWHtLVgG9Y6nI9-soJ9KfJtR4xW90XSCyOMBOj4,6026 +material/templates/assets/javascripts/lunr/min/lunr.no.min.js,sha256=V_nbkpD57TYIB1X1PuNCoE9VpZVOSt2RXRwwGjdGRXM,4754 +material/templates/assets/javascripts/lunr/min/lunr.pt.min.js,sha256=OiXSq6ojBjzxP8VsGa5MxQUMtiFRFenQj0pvS3h4AGc,10171 +material/templates/assets/javascripts/lunr/min/lunr.ro.min.js,sha256=z6JqjqQpPYHoVHuiMh1wOg_piB8HIfyl8zo_gL8Vbuk,10958 +material/templates/assets/javascripts/lunr/min/lunr.ru.min.js,sha256=UO88D6tKPy0mDolzxjNjqg3PArVZ6p0R1fArYZdYXBc,10331 +material/templates/assets/javascripts/lunr/min/lunr.sa.min.js,sha256=QcVYpDVcPq6PCieuhwcSc48UsL2IA4BCrIq4tBHlgX8,4901 +material/templates/assets/javascripts/lunr/min/lunr.stemmer.support.min.js,sha256=LnITYFhGoYAU7HUJEMsYqKTGC7IyABA7P62e8nsQxwU,3647 +material/templates/assets/javascripts/lunr/min/lunr.sv.min.js,sha256=lCsWW8yCGOMkb8RzWvmxwvZlFDZtAAC-BRvxu4ltQT4,4523 +material/templates/assets/javascripts/lunr/min/lunr.ta.min.js,sha256=F6MtxJwnydJ5RWJafo0GbUL2TqHOWls03kJ3I_v5rio,2406 +material/templates/assets/javascripts/lunr/min/lunr.te.min.js,sha256=B5yPzwKK7vOI6Y7IYHyOpQupZgxGeXyKEZ0F-PggWDg,2330 +material/templates/assets/javascripts/lunr/min/lunr.th.min.js,sha256=NIRhJmhD4xayaCAASpbT_YehV5gp0kTOUQwXKT7vBDk,1031 +material/templates/assets/javascripts/lunr/min/lunr.tr.min.js,sha256=6L9XsQM7i9kuoEqUxTMBWqGn8KjWgwGUuXTpTh5Kyjw,15009 +material/templates/assets/javascripts/lunr/min/lunr.vi.min.js,sha256=LjnD_XMF9uZvwEJHlqdpbLjjbcD1w6g-obxE3-P-y1Y,784 +material/templates/assets/javascripts/lunr/min/lunr.zh.min.js,sha256=2MW3LDbsnDGXYCVG6bpbV62j9yXVZKVRvxbquvtUjog,2158 +material/templates/assets/javascripts/lunr/tinyseg.js,sha256=GwRMI5YQ72X87_YDlWdEK7FpLUE_Xuhob-6BsaMGd2E,22878 +material/templates/assets/javascripts/lunr/wordcut.js,sha256=PTj95orzSJFSiORe6zOK-CVshhH6LP7zB-arlYCLNWc,677463 +material/templates/assets/javascripts/workers/search.f886a092.min.js,sha256=ITv3meqXcXaMdYu5UdibxxUwqvl6xBtTf80mkqEzw5c,39531 +material/templates/assets/javascripts/workers/search.f886a092.min.js.map,sha256=dsofpSm-i-J5TptwzRoqYOPxQ9h00FCCO1fJHw3QiNo,215767 +material/templates/assets/stylesheets/main.50c56a3b.min.css,sha256=UMVqO-Je2V64wcRxmmgMcyOMX7CBDZprAglFQszBq8w,129170 +material/templates/assets/stylesheets/main.50c56a3b.min.css.map,sha256=TZpgeYQ6BR7I4IlyugBJl_AVmGd4Di5CfhZCG_ycQWA,44876 +material/templates/assets/stylesheets/palette.06af60db.min.css,sha256=Bq9g285g1HoWf8q5gvfPqNLWVKLyoT1o5aX-WuZt9sA,12522 +material/templates/assets/stylesheets/palette.06af60db.min.css.map,sha256=NK3rS9ZNwKCcGT23Vfbi554tmUI8wYckBC3ip5feouc,3647 +material/templates/base.html,sha256=ezCGho-3XBX-XWpQoWmJ3a4YD_QyFVP1t1WRjdPjdU8,10676 +material/templates/blog-post.html,sha256=ksY8aSnExk4OXA_Jebo8U_KQBo_fsoyg-8v_v4at140,5092 +material/templates/blog.html,sha256=As9wldj60i-n7CidoEPYmn-5LG7mhoHPPWf0YF_Btmc,554 +material/templates/main.html,sha256=mUi1WnvJecNYJd-ZurqeaXH8pOspjeo83eYemQot5eA,88 +material/templates/mkdocs_theme.yml,sha256=ateP3l_5-LkyTfeOgZAKLVUOhYOSmYvZf_xt627ypHc,1839 +material/templates/partials/actions.html,sha256=kPcY4NNlOmBabbs5Sd5fpunH6pf87tY42ruh4jq9zPQ,845 +material/templates/partials/alternate.html,sha256=VysdTa5hGqX9ZRB-3sleRDMbYUGr-Gg06k3Gwd3XJBs,718 +material/templates/partials/comments.html,sha256=us0qLg2_ttI9HK_0F00mQiUzSOELFF4EdIb3yNe-Gzg,62 +material/templates/partials/consent.html,sha256=3nt_OMwKixTwYJl9pFUg2hT2qN-TWTKiUBzaAF4yn24,2082 +material/templates/partials/content.html,sha256=O5OARCLZmCDO_-9mXHLIgU-ruXimoXWs21vRl-vi5-0,445 +material/templates/partials/copyright.html,sha256=vIa8o791Bw_l1y4qNGO93fh8EPTWRZyUX-gcXThONeo,421 +material/templates/partials/feedback.html,sha256=xa5Y0i7JdUCx853oKZ8bbIOkPD2zmptPh5A0DyS70bQ,1430 +material/templates/partials/footer.html,sha256=UMKnXwE7ewP7l_OBhgx334_V0T1o-Q0ygXVLaPaeyJQ,2244 +material/templates/partials/header.html,sha256=uUyYUp6m3f9Z139K1Ofcv7uaZ2jG91z7Cho0LfsdFuE,2481 +material/templates/partials/icons.html,sha256=FJ7En_m_7PkKtGMuUQxUwwirFLCe9D2SLaII1DozDrY,1495 +material/templates/partials/integrations/analytics.html,sha256=OkyfjaucSpPbEImPxLxEyC5IIdjWrymRSn8cJyI623g,534 +material/templates/partials/integrations/analytics/google.html,sha256=jRzUs5yzDRuNMWjdYRaa-haaTD5mZE3U9Xh0ePR4Vlg,1259 +material/templates/partials/javascripts/announce.html,sha256=e2mU1D0nJePTdxHxA9rTLLF2uztcPiYaT8lcxkQ8LR0,265 +material/templates/partials/javascripts/base.html,sha256=4v_vNnByU7_EXDBxr2tEJggUU4e81AlZhW_KmbuGtew,400 +material/templates/partials/javascripts/consent.html,sha256=oEsyvIoxGi1lNCBVYhRRiYkvzsI2IUXs_Iwc5pyT-dQ,717 +material/templates/partials/javascripts/content.html,sha256=0GRUx10pQJNENNwly7guD33JLvGB-0TUoMAfDnDs7vQ,627 +material/templates/partials/javascripts/outdated.html,sha256=_rKxRlbMUxFLPpKNuqCWip1uVn2MpAY4YPeSqyB8QXg,222 +material/templates/partials/javascripts/palette.html,sha256=Vvj90JzPI4UaPT9vsQLJWf9P8oDzApsm-1xT_Aiabe0,777 +material/templates/partials/language.html,sha256=OkRRbzBQBqx5T1GkWte1Ms8nCRbY6S6MQnhOWLLv8KM,269 +material/templates/partials/languages/af.html,sha256=hwQpZZi0ADiTSmix6c5ZKP4Heg3fmZHX62qFbL9Or2s,2011 +material/templates/partials/languages/ar.html,sha256=VTUEBOatBz2RfyPdYzaaP5yXouf3Jl_PDgUg8NbeNZw,2393 +material/templates/partials/languages/az.html,sha256=fMgHX3_1s0_kx8UqmTOlUjwEnZI5CUUeh9gKKOc2N-o,2082 +material/templates/partials/languages/be.html,sha256=DdByQBejs8whJFEye-y93bv0bABgxGPul1_MbQFh5Oo,2744 +material/templates/partials/languages/bg.html,sha256=i-F5yYMmhUVD3xGfG8kLHPxOQc1LNwlyY5ZEZ_xkRAU,2552 +material/templates/partials/languages/bn.html,sha256=g3gJvWrzqCZ7qVc8oNVpJfkTe5sDV0qmeOoOLPqtnm4,3030 +material/templates/partials/languages/ca.html,sha256=j-PF60XczR1jGVfN4cBacRNVdmTnekMjo1STgfXmxzo,2045 +material/templates/partials/languages/cs.html,sha256=Z7ax87wZDwWIwXR3w8tl3I0HIkc_oomV3Ud2FvSH4Oo,2029 +material/templates/partials/languages/da.html,sha256=OCBtwYbRNS0N9Ln4sIg_z3CqayCyg9Jw1Ki8TABNhqY,1978 +material/templates/partials/languages/de.html,sha256=i1A9RvYgitwrrSzSuDd30K6fIe8taT7IiWl0FpDISsk,2043 +material/templates/partials/languages/el.html,sha256=Va7kYqO9eSogXxxDrHzEe-wH3wU-P1r3aVWc5T1Youo,2761 +material/templates/partials/languages/en.html,sha256=meJRB4_fAvGZk3OLf5cW02b4vn22u6sg6ArbT1Zjs1U,2025 +material/templates/partials/languages/eo.html,sha256=uNZ12aolwbH8SszcVdRSFe5U0PESWIDgcIbD-Jjbsk8,948 +material/templates/partials/languages/es.html,sha256=IndYkcZ1bj73XEq56G1Z7Iu4KQHEbDvBHXpzq9H5kfQ,2077 +material/templates/partials/languages/et.html,sha256=VAouriipN_qhHemA3WLZrly6u5aAHNMCeAmcEOMvIK0,792 +material/templates/partials/languages/eu.html,sha256=qglfBvplh1dsRvkaZ3YsWghBSE4md60KE7zw3QR2amI,2017 +material/templates/partials/languages/fa.html,sha256=Sw_koo_OIoBVAHHjjJDG6733cKg8DeHCa35f7S8SyXE,2463 +material/templates/partials/languages/fi.html,sha256=eIAa7t-4Xf4bM29YWN5W4g4YuthpT2XFXIoTMJvQrcU,877 +material/templates/partials/languages/fr.html,sha256=3ZGA_z_dNDi-dzxj0IbPL69f3bVeeyiwRsIIODRYTCs,2105 +material/templates/partials/languages/gl.html,sha256=BHptoTplhPuiqEQOVPkNHk1sR0RIuD7wZVWsSuHA9xc,1271 +material/templates/partials/languages/he.html,sha256=-xtWNVLPERaRh9d9iXnvIf3DU8S4SunPVF-lGoesr4g,2243 +material/templates/partials/languages/hi.html,sha256=lVHEWuhDoEw0PPiScJKA6VCWCgqSXx-YOkqtCRJC3pw,2953 +material/templates/partials/languages/hr.html,sha256=55EbSYM9s2m--E65whFsP_JIDRF8ebbgo4eO20oJIN4,2033 +material/templates/partials/languages/hu.html,sha256=BXmCry9pyj1R9I8WtAMu1qIKW4-Gx1THZwWF19iLErI,2034 +material/templates/partials/languages/hy.html,sha256=Pm9uNWdxh7tFkljpQY9zClzyX65_qygRqeOevBZsJQ4,2507 +material/templates/partials/languages/id.html,sha256=QOCW4u0x7U_nHAVuBiBJ5JojscSgPPBzhRG-G_ysZrQ,1969 +material/templates/partials/languages/is.html,sha256=hFJLY29j83HkMBB3cLeQ5ui7fEsPLId0ATSrIF5Flv0,1990 +material/templates/partials/languages/it.html,sha256=K1LQnTw37GrR6Kyn3B-vgiXhaZUKg8KXogRlibKZi2w,1976 +material/templates/partials/languages/ja.html,sha256=f3sq_u2lvzoITo9ApAaoHL9scUj6pUF_fMes8eXuxDQ,2382 +material/templates/partials/languages/ka.html,sha256=2_r5cfMNCfef8diD9B-FzWRhMrawz8zsXDVPp_dWAyA,1498 +material/templates/partials/languages/kn.html,sha256=6nf6P0vl3X92eERr66aWmlpTtwoeJamcMDn2kaWaBKs,3730 +material/templates/partials/languages/ko.html,sha256=NlKuv8W0yPaQauMf2e0xD34aHUG2EplXfk3DzTaDL4I,2168 +material/templates/partials/languages/ku-IQ.html,sha256=PrsRYwoWyLOVS_CRrrAc2MqCjEFMnP0e1SiewDYEku8,2074 +material/templates/partials/languages/lb.html,sha256=-X4W7K8lV95WJhRHUpI1mmcxj6PU8yLdUGpKy93Wqqc,1990 +material/templates/partials/languages/lt.html,sha256=pxHrYsAUZdSxfKmDrifEG6cilTLzMQXl2egef6IrU6k,2090 +material/templates/partials/languages/lv.html,sha256=ALWr7NDFxL0lkqLg5z6posK-OzyGMPyESZTcBl5s0B8,1309 +material/templates/partials/languages/mk.html,sha256=mVMw7XkU4_B0uWDJLHaHX1aZsmoQen1bC2FgVw9Anew,2732 +material/templates/partials/languages/mn.html,sha256=HUlk2FiQRliFDWrziAF_cF1p7vBUCtphlv3kClGXSbc,1275 +material/templates/partials/languages/ms.html,sha256=ehOTRvlyEocU7t59mAm5a1EIABKqkN8qa9gs0SffB7Y,1253 +material/templates/partials/languages/my.html,sha256=Af0Yg4R47RZRi1PF8fTWCmdEMbY4_6oQcqCJjGJKyvE,1668 +material/templates/partials/languages/nb.html,sha256=PZO8fkIkqk7ydL8gfqx0b787bhyR28XJrwXR6tKP5PY,1902 +material/templates/partials/languages/nl.html,sha256=JO_r1fBh9rYvAr0x69Dvu54Z4wg_POb6aookwp0tyXI,2051 +material/templates/partials/languages/nn.html,sha256=clx7sB4gQwZS-coX9caSKDE1TuRoujrYFWyJPtbASp8,1895 +material/templates/partials/languages/pl.html,sha256=Dau2acFjk2JnQ3_tOse_6mwdiVB2wZyHlzJKrSNjXHw,2092 +material/templates/partials/languages/pt-BR.html,sha256=5HiWNFY-tvCcS3X62NV-FyCZHWrOxbZabNyXiqBWlmc,2079 +material/templates/partials/languages/pt.html,sha256=sw4mVLe5edPTMFbuukvR4PUYqcTZcLoMvLR4-OPZvrY,2070 +material/templates/partials/languages/ro.html,sha256=RoU1EFxUQ_K_GRrvjTQEGTHSN5f0EUO5GfXLyNx4kQk,2045 +material/templates/partials/languages/ru.html,sha256=dllFihT4x_QIAOrRT4NgRK6RkyaPmnOYqn5wBCT0NO0,2609 +material/templates/partials/languages/sa.html,sha256=PFXV9S7jBvZ3UjyTVpkwmT6NEaqioekIIuAuOOohdlI,3382 +material/templates/partials/languages/sh.html,sha256=9P189mrYUBkDhBg6rnUOgYDd-McchEeEona8a7bmvZE,1774 +material/templates/partials/languages/si.html,sha256=xV7oiPdVqBvyi-Ueh5utr_0js7F5GAirUd0abmsxArs,1458 +material/templates/partials/languages/sk.html,sha256=lsVy869y6C43ZbmmXH0Y--dpdO6ph-rXPZsAKR3zct4,849 +material/templates/partials/languages/sl.html,sha256=iIsLoWIISBYLyW3cAuVaX9Vub9L9-LVW8d92TZbou9s,1940 +material/templates/partials/languages/sr.html,sha256=BRfAyHixrhYlEb3aXS3uFjy_g9nj0d6qQdG-VwdpVcQ,1622 +material/templates/partials/languages/sv.html,sha256=pgV_U5EZifkbNZ9oyh1POH6O8RrwkbiFXvAv0IKfT7Y,1972 +material/templates/partials/languages/te.html,sha256=ZHg0ikWPlbwjWzoKmM_PAkeFCwBW0Enl5jl7hVyjfbI,3655 +material/templates/partials/languages/th.html,sha256=MOTzz2rdLEQi6XbcyZhZ2uIUUTvvJbExohlA7QK2x70,2983 +material/templates/partials/languages/tl.html,sha256=2IexDHs2trEB5IygNwHK34Qhs4Q5HrBvSTeg1209GxA,1384 +material/templates/partials/languages/tr.html,sha256=XIfPHzUyNsF0aEsnsBB2Fc2UehBAKKKfAlwcHwQGWtA,1966 +material/templates/partials/languages/uk.html,sha256=UEZuhsdKRaginfUf7Q74JPvf1HDNfpOqeyv4XMXqRJo,2642 +material/templates/partials/languages/ur.html,sha256=26Up4obxwXG-Lfb1dpM3FWeGOxAvo_yrjSHauMIs45U,2541 +material/templates/partials/languages/uz.html,sha256=Pbxirg5FOcqhDWRqSEYki8rwb0JbMPWdi3NNldd_yaM,2110 +material/templates/partials/languages/vi.html,sha256=U6opLXRa-3udKEvQWk1HPJJ-4ZNwn_2uMbzpp8pD4Ww,2078 +material/templates/partials/languages/zh-Hant.html,sha256=Xq9CvOv5sAhUKnHWejML_lKjJyYg4cpyKDIbTbVa0xA,2067 +material/templates/partials/languages/zh-TW.html,sha256=54ybC_lgKj8fcoQLDJudMGcpu2_OgGNiCiZ-XAPbWdk,2037 +material/templates/partials/languages/zh.html,sha256=cRSqZKqOSJmwvlilgD3FwOWJZefDciXgSvsEP7FjczU,2115 +material/templates/partials/logo.html,sha256=4JJe9sGQF0pRYu0ezFUpUBbdinvuwwGNs-BKrCg6Ldk,273 +material/templates/partials/nav-item.html,sha256=eBLz43Hbe4ZDnq_0ADoYw8xOqIzNMvHO8yh7dU6qbKY,5329 +material/templates/partials/nav.html,sha256=0xaUeV-xiqsnIcd4VlNaprFOdRtyLw6Ys5DO7AXtdNk,1100 +material/templates/partials/pagination.html,sha256=82h0DGBwEFbjPAQ2VKUlspsIPtIDWSVhYEMipQwgZXw,730 +material/templates/partials/palette.html,sha256=-5NRB659PXR1llAZ7sNsGtcr8dFUJU2rJHSSH80nEOM,1029 +material/templates/partials/post.html,sha256=g072RrBSWSpNq7T5bLBcwsBG0xzZfS-TxcBfyymidkI,1866 +material/templates/partials/progress.html,sha256=91lgApUKfZ9BXh0Q1tpOh69gOfhUkRh1toDqcFIjYPQ,142 +material/templates/partials/search.html,sha256=y-6cdigc5whChUujgJGpHe4SGY-xrgRM78ulrPMXADg,2283 +material/templates/partials/social.html,sha256=bILqSSKlqnhqjxS9s6ICFfV40V_08NAVSuibTiLJycs,634 +material/templates/partials/source-file.html,sha256=fz7x9KKKf_-ntgWm_SFdXc3r-KHbKghwz1flwMhO2rc,3590 +material/templates/partials/source.html,sha256=aEdhbWe-SSDTnCeMJ5m_ICIrvALuKoOTrKhePqpRh1I,419 +material/templates/partials/tabs-item.html,sha256=rQXgv7PzxictsU4aYRGEFKlyY2yLvE364FZoKUBY-4w,1051 +material/templates/partials/tabs.html,sha256=iahqRtAHDfrRlpZtSyi8lTbtr9f7wGQrN9kDYqdQQVY,371 +material/templates/partials/tags.html,sha256=2WqV3YRYOsNCgnOWWJRLRwTWXTP5rt7SkH36R7V-xqQ,684 +material/templates/partials/toc-item.html,sha256=jcal-ATmnr_IlYYVIwQ5o7dYTEtss86P_Cbptow3llw,511 +material/templates/partials/toc.html,sha256=3zlIukjjlnWNQ8nBtRkh11ba9xHc8TJISULnRAg6DD8,772 +material/templates/partials/top.html,sha256=mPb5rC6_bvlDtiwLB4Gjc8wDyn4JWc_GDZw8cGAVcic,277 +material/templates/redirect.html,sha256=ORC54fXpsh3J-pxXz50GfmzT2wa24sTIu37Wgdj17BI,503 +mkdocs_material-9.5.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +mkdocs_material-9.5.3.dist-info/METADATA,sha256=3uJKYJYzB-8ydhpYztLK041yqAun65uncCu5wAK66oI,16156 +mkdocs_material-9.5.3.dist-info/RECORD,, +mkdocs_material-9.5.3.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +mkdocs_material-9.5.3.dist-info/WHEEL,sha256=mRYSEL3Ih6g5a_CVMIcwiF__0Ae4_gLYh01YFNwiq1k,87 +mkdocs_material-9.5.3.dist-info/entry_points.txt,sha256=DFB1LMLyZLyqsdO9c0mGJe6mW65kBeuNJNG37_25K5A,545 +mkdocs_material-9.5.3.dist-info/licenses/LICENSE,sha256=1lDx3ykzgDTEtJ5iu9QqauJA6kcuQzcNMp8344vJTHc,1093 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/REQUESTED b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/REQUESTED new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/WHEEL b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/WHEEL new file mode 100644 index 0000000000000000000000000000000000000000..2860816abecb3c5ad7da6d018a4334b87e6b6cfc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/WHEEL @@ -0,0 +1,4 @@ +Wheel-Version: 1.0 +Generator: hatchling 1.21.0 +Root-Is-Purelib: true +Tag: py3-none-any diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/entry_points.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..ac7e5405fdd5ceca8387f0beb58d44dc5c0e134e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/mkdocs_material-9.5.3.dist-info/entry_points.txt @@ -0,0 +1,12 @@ +[mkdocs.plugins] +material/blog = material.plugins.blog.plugin:BlogPlugin +material/group = material.plugins.group.plugin:GroupPlugin +material/info = material.plugins.info.plugin:InfoPlugin +material/offline = material.plugins.offline.plugin:OfflinePlugin +material/privacy = material.plugins.privacy.plugin:PrivacyPlugin +material/search = material.plugins.search.plugin:SearchPlugin +material/social = material.plugins.social.plugin:SocialPlugin +material/tags = material.plugins.tags.plugin:TagsPlugin + +[mkdocs.themes] +material = material.templates diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..54fb3413d66d6d3415bb8442aad182046caa08bd Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/encoding.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/encoding.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ea48bfdd1cbc375fe2274ea69eedb844fcc35942 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/encoding.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/exceptions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/exceptions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a9e5607e7ae91da339601da3f746d3a83832bb2a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/exceptions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/hash.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/hash.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..10b3b68ac51e0011e0bae58e9afd2f64fe883555 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/hash.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/hashlib.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/hashlib.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..298f97478333aa7309194ceeb8f7e5921d881161 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/hashlib.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/public.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/public.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5c24edbacb45323591686fc0c1df20e63363b1c5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/public.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/secret.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/secret.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..360ea1fd96136b0eea5dc03f2622a76404f9e41e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/secret.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/signing.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/signing.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0865268bc9b885d609552db546d6dfcdee1af56d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/signing.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/utils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2890c494ae046b8b3c0d0d0bc00c10e1576550ff Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/__pycache__/utils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..1e3b10e82fd6e2da413e1f4999a6d25d7fd919c8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__init__.py @@ -0,0 +1,451 @@ +# Copyright 2013-2019 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from nacl.bindings.crypto_aead import ( + crypto_aead_chacha20poly1305_ABYTES, + crypto_aead_chacha20poly1305_KEYBYTES, + crypto_aead_chacha20poly1305_MESSAGEBYTES_MAX, + crypto_aead_chacha20poly1305_NPUBBYTES, + crypto_aead_chacha20poly1305_NSECBYTES, + crypto_aead_chacha20poly1305_decrypt, + crypto_aead_chacha20poly1305_encrypt, + crypto_aead_chacha20poly1305_ietf_ABYTES, + crypto_aead_chacha20poly1305_ietf_KEYBYTES, + crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX, + crypto_aead_chacha20poly1305_ietf_NPUBBYTES, + crypto_aead_chacha20poly1305_ietf_NSECBYTES, + crypto_aead_chacha20poly1305_ietf_decrypt, + crypto_aead_chacha20poly1305_ietf_encrypt, + crypto_aead_xchacha20poly1305_ietf_ABYTES, + crypto_aead_xchacha20poly1305_ietf_KEYBYTES, + crypto_aead_xchacha20poly1305_ietf_MESSAGEBYTES_MAX, + crypto_aead_xchacha20poly1305_ietf_NPUBBYTES, + crypto_aead_xchacha20poly1305_ietf_NSECBYTES, + crypto_aead_xchacha20poly1305_ietf_decrypt, + crypto_aead_xchacha20poly1305_ietf_encrypt, +) +from nacl.bindings.crypto_box import ( + crypto_box, + crypto_box_BEFORENMBYTES, + crypto_box_BOXZEROBYTES, + crypto_box_NONCEBYTES, + crypto_box_PUBLICKEYBYTES, + crypto_box_SEALBYTES, + crypto_box_SECRETKEYBYTES, + crypto_box_SEEDBYTES, + crypto_box_ZEROBYTES, + crypto_box_afternm, + crypto_box_beforenm, + crypto_box_keypair, + crypto_box_open, + crypto_box_open_afternm, + crypto_box_seal, + crypto_box_seal_open, + crypto_box_seed_keypair, +) +from nacl.bindings.crypto_core import ( + crypto_core_ed25519_BYTES, + crypto_core_ed25519_NONREDUCEDSCALARBYTES, + crypto_core_ed25519_SCALARBYTES, + crypto_core_ed25519_add, + crypto_core_ed25519_is_valid_point, + crypto_core_ed25519_scalar_add, + crypto_core_ed25519_scalar_complement, + crypto_core_ed25519_scalar_invert, + crypto_core_ed25519_scalar_mul, + crypto_core_ed25519_scalar_negate, + crypto_core_ed25519_scalar_reduce, + crypto_core_ed25519_scalar_sub, + crypto_core_ed25519_sub, + has_crypto_core_ed25519, +) +from nacl.bindings.crypto_generichash import ( + crypto_generichash_BYTES, + crypto_generichash_BYTES_MAX, + crypto_generichash_BYTES_MIN, + crypto_generichash_KEYBYTES, + crypto_generichash_KEYBYTES_MAX, + crypto_generichash_KEYBYTES_MIN, + crypto_generichash_PERSONALBYTES, + crypto_generichash_SALTBYTES, + crypto_generichash_STATEBYTES, + generichash_blake2b_final as crypto_generichash_blake2b_final, + generichash_blake2b_init as crypto_generichash_blake2b_init, + generichash_blake2b_salt_personal as crypto_generichash_blake2b_salt_personal, + generichash_blake2b_update as crypto_generichash_blake2b_update, +) +from nacl.bindings.crypto_hash import ( + crypto_hash, + crypto_hash_BYTES, + crypto_hash_sha256, + crypto_hash_sha256_BYTES, + crypto_hash_sha512, + crypto_hash_sha512_BYTES, +) +from nacl.bindings.crypto_kx import ( + crypto_kx_PUBLIC_KEY_BYTES, + crypto_kx_SECRET_KEY_BYTES, + crypto_kx_SEED_BYTES, + crypto_kx_SESSION_KEY_BYTES, + crypto_kx_client_session_keys, + crypto_kx_keypair, + crypto_kx_seed_keypair, + crypto_kx_server_session_keys, +) +from nacl.bindings.crypto_pwhash import ( + crypto_pwhash_ALG_ARGON2I13, + crypto_pwhash_ALG_ARGON2ID13, + crypto_pwhash_ALG_DEFAULT, + crypto_pwhash_BYTES_MAX, + crypto_pwhash_BYTES_MIN, + crypto_pwhash_PASSWD_MAX, + crypto_pwhash_PASSWD_MIN, + crypto_pwhash_SALTBYTES, + crypto_pwhash_STRBYTES, + crypto_pwhash_alg, + crypto_pwhash_argon2i_MEMLIMIT_INTERACTIVE, + crypto_pwhash_argon2i_MEMLIMIT_MAX, + crypto_pwhash_argon2i_MEMLIMIT_MIN, + crypto_pwhash_argon2i_MEMLIMIT_MODERATE, + crypto_pwhash_argon2i_MEMLIMIT_SENSITIVE, + crypto_pwhash_argon2i_OPSLIMIT_INTERACTIVE, + crypto_pwhash_argon2i_OPSLIMIT_MAX, + crypto_pwhash_argon2i_OPSLIMIT_MIN, + crypto_pwhash_argon2i_OPSLIMIT_MODERATE, + crypto_pwhash_argon2i_OPSLIMIT_SENSITIVE, + crypto_pwhash_argon2i_STRPREFIX, + crypto_pwhash_argon2id_MEMLIMIT_INTERACTIVE, + crypto_pwhash_argon2id_MEMLIMIT_MAX, + crypto_pwhash_argon2id_MEMLIMIT_MIN, + crypto_pwhash_argon2id_MEMLIMIT_MODERATE, + crypto_pwhash_argon2id_MEMLIMIT_SENSITIVE, + crypto_pwhash_argon2id_OPSLIMIT_INTERACTIVE, + crypto_pwhash_argon2id_OPSLIMIT_MAX, + crypto_pwhash_argon2id_OPSLIMIT_MIN, + crypto_pwhash_argon2id_OPSLIMIT_MODERATE, + crypto_pwhash_argon2id_OPSLIMIT_SENSITIVE, + crypto_pwhash_argon2id_STRPREFIX, + crypto_pwhash_scryptsalsa208sha256_BYTES_MAX, + crypto_pwhash_scryptsalsa208sha256_BYTES_MIN, + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE, + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAX, + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN, + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE, + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE, + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX, + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN, + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE, + crypto_pwhash_scryptsalsa208sha256_PASSWD_MAX, + crypto_pwhash_scryptsalsa208sha256_PASSWD_MIN, + crypto_pwhash_scryptsalsa208sha256_SALTBYTES, + crypto_pwhash_scryptsalsa208sha256_STRBYTES, + crypto_pwhash_scryptsalsa208sha256_STRPREFIX, + crypto_pwhash_scryptsalsa208sha256_ll, + crypto_pwhash_scryptsalsa208sha256_str, + crypto_pwhash_scryptsalsa208sha256_str_verify, + crypto_pwhash_str_alg, + crypto_pwhash_str_verify, + has_crypto_pwhash_scryptsalsa208sha256, + nacl_bindings_pick_scrypt_params, +) +from nacl.bindings.crypto_scalarmult import ( + crypto_scalarmult, + crypto_scalarmult_BYTES, + crypto_scalarmult_SCALARBYTES, + crypto_scalarmult_base, + crypto_scalarmult_ed25519, + crypto_scalarmult_ed25519_BYTES, + crypto_scalarmult_ed25519_SCALARBYTES, + crypto_scalarmult_ed25519_base, + crypto_scalarmult_ed25519_base_noclamp, + crypto_scalarmult_ed25519_noclamp, + has_crypto_scalarmult_ed25519, +) +from nacl.bindings.crypto_secretbox import ( + crypto_secretbox, + crypto_secretbox_BOXZEROBYTES, + crypto_secretbox_KEYBYTES, + crypto_secretbox_MACBYTES, + crypto_secretbox_MESSAGEBYTES_MAX, + crypto_secretbox_NONCEBYTES, + crypto_secretbox_ZEROBYTES, + crypto_secretbox_open, +) +from nacl.bindings.crypto_secretstream import ( + crypto_secretstream_xchacha20poly1305_ABYTES, + crypto_secretstream_xchacha20poly1305_HEADERBYTES, + crypto_secretstream_xchacha20poly1305_KEYBYTES, + crypto_secretstream_xchacha20poly1305_STATEBYTES, + crypto_secretstream_xchacha20poly1305_TAG_FINAL, + crypto_secretstream_xchacha20poly1305_TAG_MESSAGE, + crypto_secretstream_xchacha20poly1305_TAG_PUSH, + crypto_secretstream_xchacha20poly1305_TAG_REKEY, + crypto_secretstream_xchacha20poly1305_init_pull, + crypto_secretstream_xchacha20poly1305_init_push, + crypto_secretstream_xchacha20poly1305_keygen, + crypto_secretstream_xchacha20poly1305_pull, + crypto_secretstream_xchacha20poly1305_push, + crypto_secretstream_xchacha20poly1305_rekey, + crypto_secretstream_xchacha20poly1305_state, +) +from nacl.bindings.crypto_shorthash import ( + BYTES as crypto_shorthash_siphash24_BYTES, + KEYBYTES as crypto_shorthash_siphash24_KEYBYTES, + XBYTES as crypto_shorthash_siphashx24_BYTES, + XKEYBYTES as crypto_shorthash_siphashx24_KEYBYTES, + crypto_shorthash_siphash24, + crypto_shorthash_siphashx24, + has_crypto_shorthash_siphashx24, +) +from nacl.bindings.crypto_sign import ( + crypto_sign, + crypto_sign_BYTES, + crypto_sign_PUBLICKEYBYTES, + crypto_sign_SECRETKEYBYTES, + crypto_sign_SEEDBYTES, + crypto_sign_ed25519_pk_to_curve25519, + crypto_sign_ed25519_sk_to_curve25519, + crypto_sign_ed25519_sk_to_pk, + crypto_sign_ed25519_sk_to_seed, + crypto_sign_ed25519ph_STATEBYTES, + crypto_sign_ed25519ph_final_create, + crypto_sign_ed25519ph_final_verify, + crypto_sign_ed25519ph_state, + crypto_sign_ed25519ph_update, + crypto_sign_keypair, + crypto_sign_open, + crypto_sign_seed_keypair, +) +from nacl.bindings.randombytes import ( + randombytes, + randombytes_buf_deterministic, +) +from nacl.bindings.sodium_core import sodium_init +from nacl.bindings.utils import ( + sodium_add, + sodium_increment, + sodium_memcmp, + sodium_pad, + sodium_unpad, +) + + +__all__ = [ + "crypto_aead_chacha20poly1305_ABYTES", + "crypto_aead_chacha20poly1305_KEYBYTES", + "crypto_aead_chacha20poly1305_MESSAGEBYTES_MAX", + "crypto_aead_chacha20poly1305_NPUBBYTES", + "crypto_aead_chacha20poly1305_NSECBYTES", + "crypto_aead_chacha20poly1305_decrypt", + "crypto_aead_chacha20poly1305_encrypt", + "crypto_aead_chacha20poly1305_ietf_ABYTES", + "crypto_aead_chacha20poly1305_ietf_KEYBYTES", + "crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX", + "crypto_aead_chacha20poly1305_ietf_NPUBBYTES", + "crypto_aead_chacha20poly1305_ietf_NSECBYTES", + "crypto_aead_chacha20poly1305_ietf_decrypt", + "crypto_aead_chacha20poly1305_ietf_encrypt", + "crypto_aead_xchacha20poly1305_ietf_ABYTES", + "crypto_aead_xchacha20poly1305_ietf_KEYBYTES", + "crypto_aead_xchacha20poly1305_ietf_MESSAGEBYTES_MAX", + "crypto_aead_xchacha20poly1305_ietf_NPUBBYTES", + "crypto_aead_xchacha20poly1305_ietf_NSECBYTES", + "crypto_aead_xchacha20poly1305_ietf_decrypt", + "crypto_aead_xchacha20poly1305_ietf_encrypt", + "crypto_box_SECRETKEYBYTES", + "crypto_box_PUBLICKEYBYTES", + "crypto_box_SEEDBYTES", + "crypto_box_NONCEBYTES", + "crypto_box_ZEROBYTES", + "crypto_box_BOXZEROBYTES", + "crypto_box_BEFORENMBYTES", + "crypto_box_SEALBYTES", + "crypto_box_keypair", + "crypto_box", + "crypto_box_open", + "crypto_box_beforenm", + "crypto_box_afternm", + "crypto_box_open_afternm", + "crypto_box_seal", + "crypto_box_seal_open", + "crypto_box_seed_keypair", + "has_crypto_core_ed25519", + "crypto_core_ed25519_BYTES", + "crypto_core_ed25519_UNIFORMBYTES", + "crypto_core_ed25519_SCALARBYTES", + "crypto_core_ed25519_NONREDUCEDSCALARBYTES", + "crypto_core_ed25519_add", + "crypto_core_ed25519_from_uniform", + "crypto_core_ed25519_is_valid_point", + "crypto_core_ed25519_sub", + "crypto_core_ed25519_scalar_invert", + "crypto_core_ed25519_scalar_negate", + "crypto_core_ed25519_scalar_complement", + "crypto_core_ed25519_scalar_add", + "crypto_core_ed25519_scalar_sub", + "crypto_core_ed25519_scalar_mul", + "crypto_core_ed25519_scalar_reduce", + "crypto_hash_BYTES", + "crypto_hash_sha256_BYTES", + "crypto_hash_sha512_BYTES", + "crypto_hash", + "crypto_hash_sha256", + "crypto_hash_sha512", + "crypto_generichash_BYTES", + "crypto_generichash_BYTES_MIN", + "crypto_generichash_BYTES_MAX", + "crypto_generichash_KEYBYTES", + "crypto_generichash_KEYBYTES_MIN", + "crypto_generichash_KEYBYTES_MAX", + "crypto_generichash_SALTBYTES", + "crypto_generichash_PERSONALBYTES", + "crypto_generichash_STATEBYTES", + "crypto_generichash_blake2b_salt_personal", + "crypto_generichash_blake2b_init", + "crypto_generichash_blake2b_update", + "crypto_generichash_blake2b_final", + "crypto_kx_keypair", + "crypto_kx_seed_keypair", + "crypto_kx_client_session_keys", + "crypto_kx_server_session_keys", + "crypto_kx_PUBLIC_KEY_BYTES", + "crypto_kx_SECRET_KEY_BYTES", + "crypto_kx_SEED_BYTES", + "crypto_kx_SESSION_KEY_BYTES", + "has_crypto_scalarmult_ed25519", + "crypto_scalarmult_BYTES", + "crypto_scalarmult_SCALARBYTES", + "crypto_scalarmult", + "crypto_scalarmult_base", + "crypto_scalarmult_ed25519_BYTES", + "crypto_scalarmult_ed25519_SCALARBYTES", + "crypto_scalarmult_ed25519", + "crypto_scalarmult_ed25519_base", + "crypto_scalarmult_ed25519_noclamp", + "crypto_scalarmult_ed25519_base_noclamp", + "crypto_secretbox_KEYBYTES", + "crypto_secretbox_NONCEBYTES", + "crypto_secretbox_ZEROBYTES", + "crypto_secretbox_BOXZEROBYTES", + "crypto_secretbox_MACBYTES", + "crypto_secretbox_MESSAGEBYTES_MAX", + "crypto_secretbox", + "crypto_secretbox_open", + "crypto_secretstream_xchacha20poly1305_ABYTES", + "crypto_secretstream_xchacha20poly1305_HEADERBYTES", + "crypto_secretstream_xchacha20poly1305_KEYBYTES", + "crypto_secretstream_xchacha20poly1305_STATEBYTES", + "crypto_secretstream_xchacha20poly1305_TAG_FINAL", + "crypto_secretstream_xchacha20poly1305_TAG_MESSAGE", + "crypto_secretstream_xchacha20poly1305_TAG_PUSH", + "crypto_secretstream_xchacha20poly1305_TAG_REKEY", + "crypto_secretstream_xchacha20poly1305_init_pull", + "crypto_secretstream_xchacha20poly1305_init_push", + "crypto_secretstream_xchacha20poly1305_keygen", + "crypto_secretstream_xchacha20poly1305_pull", + "crypto_secretstream_xchacha20poly1305_push", + "crypto_secretstream_xchacha20poly1305_rekey", + "crypto_secretstream_xchacha20poly1305_state", + "has_crypto_shorthash_siphashx24", + "crypto_shorthash_siphash24_BYTES", + "crypto_shorthash_siphash24_KEYBYTES", + "crypto_shorthash_siphash24", + "crypto_shorthash_siphashx24_BYTES", + "crypto_shorthash_siphashx24_KEYBYTES", + "crypto_shorthash_siphashx24", + "crypto_sign_BYTES", + "crypto_sign_SEEDBYTES", + "crypto_sign_PUBLICKEYBYTES", + "crypto_sign_SECRETKEYBYTES", + "crypto_sign_keypair", + "crypto_sign_seed_keypair", + "crypto_sign", + "crypto_sign_open", + "crypto_sign_ed25519_pk_to_curve25519", + "crypto_sign_ed25519_sk_to_curve25519", + "crypto_sign_ed25519_sk_to_pk", + "crypto_sign_ed25519_sk_to_seed", + "crypto_sign_ed25519ph_STATEBYTES", + "crypto_sign_ed25519ph_final_create", + "crypto_sign_ed25519ph_final_verify", + "crypto_sign_ed25519ph_state", + "crypto_sign_ed25519ph_update", + "crypto_pwhash_ALG_ARGON2I13", + "crypto_pwhash_ALG_ARGON2ID13", + "crypto_pwhash_ALG_DEFAULT", + "crypto_pwhash_BYTES_MAX", + "crypto_pwhash_BYTES_MIN", + "crypto_pwhash_PASSWD_MAX", + "crypto_pwhash_PASSWD_MIN", + "crypto_pwhash_SALTBYTES", + "crypto_pwhash_STRBYTES", + "crypto_pwhash_alg", + "crypto_pwhash_argon2i_MEMLIMIT_MIN", + "crypto_pwhash_argon2i_MEMLIMIT_MAX", + "crypto_pwhash_argon2i_MEMLIMIT_INTERACTIVE", + "crypto_pwhash_argon2i_MEMLIMIT_MODERATE", + "crypto_pwhash_argon2i_MEMLIMIT_SENSITIVE", + "crypto_pwhash_argon2i_OPSLIMIT_MIN", + "crypto_pwhash_argon2i_OPSLIMIT_MAX", + "crypto_pwhash_argon2i_OPSLIMIT_INTERACTIVE", + "crypto_pwhash_argon2i_OPSLIMIT_MODERATE", + "crypto_pwhash_argon2i_OPSLIMIT_SENSITIVE", + "crypto_pwhash_argon2i_STRPREFIX", + "crypto_pwhash_argon2id_MEMLIMIT_MIN", + "crypto_pwhash_argon2id_MEMLIMIT_MAX", + "crypto_pwhash_argon2id_MEMLIMIT_INTERACTIVE", + "crypto_pwhash_argon2id_MEMLIMIT_MODERATE", + "crypto_pwhash_argon2id_OPSLIMIT_MIN", + "crypto_pwhash_argon2id_OPSLIMIT_MAX", + "crypto_pwhash_argon2id_MEMLIMIT_SENSITIVE", + "crypto_pwhash_argon2id_OPSLIMIT_INTERACTIVE", + "crypto_pwhash_argon2id_OPSLIMIT_MODERATE", + "crypto_pwhash_argon2id_OPSLIMIT_SENSITIVE", + "crypto_pwhash_argon2id_STRPREFIX", + "crypto_pwhash_str_alg", + "crypto_pwhash_str_verify", + "has_crypto_pwhash_scryptsalsa208sha256", + "crypto_pwhash_scryptsalsa208sha256_BYTES_MAX", + "crypto_pwhash_scryptsalsa208sha256_BYTES_MIN", + "crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE", + "crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAX", + "crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN", + "crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE", + "crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE", + "crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX", + "crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN", + "crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE", + "crypto_pwhash_scryptsalsa208sha256_PASSWD_MAX", + "crypto_pwhash_scryptsalsa208sha256_PASSWD_MIN", + "crypto_pwhash_scryptsalsa208sha256_SALTBYTES", + "crypto_pwhash_scryptsalsa208sha256_STRBYTES", + "crypto_pwhash_scryptsalsa208sha256_STRPREFIX", + "crypto_pwhash_scryptsalsa208sha256_ll", + "crypto_pwhash_scryptsalsa208sha256_str", + "crypto_pwhash_scryptsalsa208sha256_str_verify", + "nacl_bindings_pick_scrypt_params", + "randombytes", + "randombytes_buf_deterministic", + "sodium_init", + "sodium_add", + "sodium_increment", + "sodium_memcmp", + "sodium_pad", + "sodium_unpad", +] + + +# Initialize Sodium +sodium_init() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ddacf1e2f64eb92a7bdba6728e3a7fbbb69cec0f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_aead.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_aead.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..78d6f476734241c5fde74464aa9df32c012a2437 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_aead.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_box.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_box.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f39e7c72e8607bf8b205385969801eab76bfa397 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_box.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_core.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_core.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4343161cd44131e44cb39bf7ec887158655c412d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_core.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_generichash.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_generichash.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..18d40bd49476516caea7c00750dc6f3fcf513069 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_generichash.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_hash.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_hash.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5487d01bc2b6c203efc944c3e5cac6a8262a69f4 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_hash.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_kx.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_kx.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..45dda265145dd473cb99e88b9c0d9468c6f238ea Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_kx.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_pwhash.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_pwhash.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..da96e86ce7fec01442eb97de9e12e4228443148a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_pwhash.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_scalarmult.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_scalarmult.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d76f6369858d4c6578464ae3397b2d0d7b59e0a9 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_scalarmult.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_secretbox.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_secretbox.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8c55f03893a107780a9d6d2326055c96f05a3191 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_secretbox.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_secretstream.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_secretstream.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fa0b3c413ec83d16d9363afcc2175cf40e9979ff Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_secretstream.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_shorthash.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_shorthash.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..545e1bbedd28683b2087e7d03ed30369a3425820 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_shorthash.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_sign.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_sign.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b65541a1b9ce92baf2c3de7106a03eed88729635 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/crypto_sign.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/randombytes.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/randombytes.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7e97e2a0c0ee261400065fdf3f8d644dac2e1bf3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/randombytes.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/sodium_core.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/sodium_core.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7d25f39d81e47fefd0e4f8631715bcba7aad22a0 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/sodium_core.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/utils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c9d83a603b392700aab1854e74da79d4036d72f2 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/__pycache__/utils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_aead.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_aead.py new file mode 100644 index 0000000000000000000000000000000000000000..2e7168db74bdae5fa72f8080291c1362cd145021 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_aead.py @@ -0,0 +1,559 @@ +# Copyright 2017 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from typing import Optional + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + +""" +Implementations of authenticated encription with associated data (*AEAD*) +constructions building on the chacha20 stream cipher and the poly1305 +authenticator +""" + +crypto_aead_chacha20poly1305_ietf_KEYBYTES: int = ( + lib.crypto_aead_chacha20poly1305_ietf_keybytes() +) +crypto_aead_chacha20poly1305_ietf_NSECBYTES: int = ( + lib.crypto_aead_chacha20poly1305_ietf_nsecbytes() +) +crypto_aead_chacha20poly1305_ietf_NPUBBYTES: int = ( + lib.crypto_aead_chacha20poly1305_ietf_npubbytes() +) +crypto_aead_chacha20poly1305_ietf_ABYTES: int = ( + lib.crypto_aead_chacha20poly1305_ietf_abytes() +) +crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX: int = ( + lib.crypto_aead_chacha20poly1305_ietf_messagebytes_max() +) +_aead_chacha20poly1305_ietf_CRYPTBYTES_MAX = ( + crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX + + crypto_aead_chacha20poly1305_ietf_ABYTES +) + +crypto_aead_chacha20poly1305_KEYBYTES: int = ( + lib.crypto_aead_chacha20poly1305_keybytes() +) +crypto_aead_chacha20poly1305_NSECBYTES: int = ( + lib.crypto_aead_chacha20poly1305_nsecbytes() +) +crypto_aead_chacha20poly1305_NPUBBYTES: int = ( + lib.crypto_aead_chacha20poly1305_npubbytes() +) +crypto_aead_chacha20poly1305_ABYTES: int = ( + lib.crypto_aead_chacha20poly1305_abytes() +) +crypto_aead_chacha20poly1305_MESSAGEBYTES_MAX: int = ( + lib.crypto_aead_chacha20poly1305_messagebytes_max() +) +_aead_chacha20poly1305_CRYPTBYTES_MAX = ( + crypto_aead_chacha20poly1305_MESSAGEBYTES_MAX + + crypto_aead_chacha20poly1305_ABYTES +) + +crypto_aead_xchacha20poly1305_ietf_KEYBYTES: int = ( + lib.crypto_aead_xchacha20poly1305_ietf_keybytes() +) +crypto_aead_xchacha20poly1305_ietf_NSECBYTES: int = ( + lib.crypto_aead_xchacha20poly1305_ietf_nsecbytes() +) +crypto_aead_xchacha20poly1305_ietf_NPUBBYTES: int = ( + lib.crypto_aead_xchacha20poly1305_ietf_npubbytes() +) +crypto_aead_xchacha20poly1305_ietf_ABYTES: int = ( + lib.crypto_aead_xchacha20poly1305_ietf_abytes() +) +crypto_aead_xchacha20poly1305_ietf_MESSAGEBYTES_MAX: int = ( + lib.crypto_aead_xchacha20poly1305_ietf_messagebytes_max() +) +_aead_xchacha20poly1305_ietf_CRYPTBYTES_MAX = ( + crypto_aead_xchacha20poly1305_ietf_MESSAGEBYTES_MAX + + crypto_aead_xchacha20poly1305_ietf_ABYTES +) + + +def crypto_aead_chacha20poly1305_ietf_encrypt( + message: bytes, aad: Optional[bytes], nonce: bytes, key: bytes +) -> bytes: + """ + Encrypt the given ``message`` using the IETF ratified chacha20poly1305 + construction described in RFC7539. + + :param message: + :type message: bytes + :param aad: + :type aad: Optional[bytes] + :param nonce: + :type nonce: bytes + :param key: + :type key: bytes + :return: authenticated ciphertext + :rtype: bytes + """ + ensure( + isinstance(message, bytes), + "Input message type must be bytes", + raising=exc.TypeError, + ) + + mlen = len(message) + + ensure( + mlen <= crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX, + "Message must be at most {} bytes long".format( + crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX + ), + raising=exc.ValueError, + ) + + ensure( + isinstance(aad, bytes) or (aad is None), + "Additional data must be bytes or None", + raising=exc.TypeError, + ) + + ensure( + isinstance(nonce, bytes) + and len(nonce) == crypto_aead_chacha20poly1305_ietf_NPUBBYTES, + "Nonce must be a {} bytes long bytes sequence".format( + crypto_aead_chacha20poly1305_ietf_NPUBBYTES + ), + raising=exc.TypeError, + ) + + ensure( + isinstance(key, bytes) + and len(key) == crypto_aead_chacha20poly1305_ietf_KEYBYTES, + "Key must be a {} bytes long bytes sequence".format( + crypto_aead_chacha20poly1305_ietf_KEYBYTES + ), + raising=exc.TypeError, + ) + + if aad: + _aad = aad + aalen = len(aad) + else: + _aad = ffi.NULL + aalen = 0 + + mxout = mlen + crypto_aead_chacha20poly1305_ietf_ABYTES + + clen = ffi.new("unsigned long long *") + + ciphertext = ffi.new("unsigned char[]", mxout) + + res = lib.crypto_aead_chacha20poly1305_ietf_encrypt( + ciphertext, clen, message, mlen, _aad, aalen, ffi.NULL, nonce, key + ) + + ensure(res == 0, "Encryption failed.", raising=exc.CryptoError) + return ffi.buffer(ciphertext, clen[0])[:] + + +def crypto_aead_chacha20poly1305_ietf_decrypt( + ciphertext: bytes, aad: Optional[bytes], nonce: bytes, key: bytes +) -> bytes: + """ + Decrypt the given ``ciphertext`` using the IETF ratified chacha20poly1305 + construction described in RFC7539. + + :param ciphertext: + :type ciphertext: bytes + :param aad: + :type aad: Optional[bytes] + :param nonce: + :type nonce: bytes + :param key: + :type key: bytes + :return: message + :rtype: bytes + """ + ensure( + isinstance(ciphertext, bytes), + "Input ciphertext type must be bytes", + raising=exc.TypeError, + ) + + clen = len(ciphertext) + + ensure( + clen <= _aead_chacha20poly1305_ietf_CRYPTBYTES_MAX, + "Ciphertext must be at most {} bytes long".format( + _aead_chacha20poly1305_ietf_CRYPTBYTES_MAX + ), + raising=exc.ValueError, + ) + + ensure( + isinstance(aad, bytes) or (aad is None), + "Additional data must be bytes or None", + raising=exc.TypeError, + ) + + ensure( + isinstance(nonce, bytes) + and len(nonce) == crypto_aead_chacha20poly1305_ietf_NPUBBYTES, + "Nonce must be a {} bytes long bytes sequence".format( + crypto_aead_chacha20poly1305_ietf_NPUBBYTES + ), + raising=exc.TypeError, + ) + + ensure( + isinstance(key, bytes) + and len(key) == crypto_aead_chacha20poly1305_ietf_KEYBYTES, + "Key must be a {} bytes long bytes sequence".format( + crypto_aead_chacha20poly1305_ietf_KEYBYTES + ), + raising=exc.TypeError, + ) + + mxout = clen - crypto_aead_chacha20poly1305_ietf_ABYTES + + mlen = ffi.new("unsigned long long *") + message = ffi.new("unsigned char[]", mxout) + + if aad: + _aad = aad + aalen = len(aad) + else: + _aad = ffi.NULL + aalen = 0 + + res = lib.crypto_aead_chacha20poly1305_ietf_decrypt( + message, mlen, ffi.NULL, ciphertext, clen, _aad, aalen, nonce, key + ) + + ensure(res == 0, "Decryption failed.", raising=exc.CryptoError) + + return ffi.buffer(message, mlen[0])[:] + + +def crypto_aead_chacha20poly1305_encrypt( + message: bytes, aad: Optional[bytes], nonce: bytes, key: bytes +) -> bytes: + """ + Encrypt the given ``message`` using the "legacy" construction + described in draft-agl-tls-chacha20poly1305. + + :param message: + :type message: bytes + :param aad: + :type aad: Optional[bytes] + :param nonce: + :type nonce: bytes + :param key: + :type key: bytes + :return: authenticated ciphertext + :rtype: bytes + """ + ensure( + isinstance(message, bytes), + "Input message type must be bytes", + raising=exc.TypeError, + ) + + mlen = len(message) + + ensure( + mlen <= crypto_aead_chacha20poly1305_MESSAGEBYTES_MAX, + "Message must be at most {} bytes long".format( + crypto_aead_chacha20poly1305_MESSAGEBYTES_MAX + ), + raising=exc.ValueError, + ) + + ensure( + isinstance(aad, bytes) or (aad is None), + "Additional data must be bytes or None", + raising=exc.TypeError, + ) + + ensure( + isinstance(nonce, bytes) + and len(nonce) == crypto_aead_chacha20poly1305_NPUBBYTES, + "Nonce must be a {} bytes long bytes sequence".format( + crypto_aead_chacha20poly1305_NPUBBYTES + ), + raising=exc.TypeError, + ) + + ensure( + isinstance(key, bytes) + and len(key) == crypto_aead_chacha20poly1305_KEYBYTES, + "Key must be a {} bytes long bytes sequence".format( + crypto_aead_chacha20poly1305_KEYBYTES + ), + raising=exc.TypeError, + ) + + if aad: + _aad = aad + aalen = len(aad) + else: + _aad = ffi.NULL + aalen = 0 + + mlen = len(message) + mxout = mlen + crypto_aead_chacha20poly1305_ietf_ABYTES + + clen = ffi.new("unsigned long long *") + + ciphertext = ffi.new("unsigned char[]", mxout) + + res = lib.crypto_aead_chacha20poly1305_encrypt( + ciphertext, clen, message, mlen, _aad, aalen, ffi.NULL, nonce, key + ) + + ensure(res == 0, "Encryption failed.", raising=exc.CryptoError) + return ffi.buffer(ciphertext, clen[0])[:] + + +def crypto_aead_chacha20poly1305_decrypt( + ciphertext: bytes, aad: Optional[bytes], nonce: bytes, key: bytes +) -> bytes: + """ + Decrypt the given ``ciphertext`` using the "legacy" construction + described in draft-agl-tls-chacha20poly1305. + + :param ciphertext: authenticated ciphertext + :type ciphertext: bytes + :param aad: + :type aad: Optional[bytes] + :param nonce: + :type nonce: bytes + :param key: + :type key: bytes + :return: message + :rtype: bytes + """ + ensure( + isinstance(ciphertext, bytes), + "Input ciphertext type must be bytes", + raising=exc.TypeError, + ) + + clen = len(ciphertext) + + ensure( + clen <= _aead_chacha20poly1305_CRYPTBYTES_MAX, + "Ciphertext must be at most {} bytes long".format( + _aead_chacha20poly1305_CRYPTBYTES_MAX + ), + raising=exc.ValueError, + ) + + ensure( + isinstance(aad, bytes) or (aad is None), + "Additional data must be bytes or None", + raising=exc.TypeError, + ) + + ensure( + isinstance(nonce, bytes) + and len(nonce) == crypto_aead_chacha20poly1305_NPUBBYTES, + "Nonce must be a {} bytes long bytes sequence".format( + crypto_aead_chacha20poly1305_NPUBBYTES + ), + raising=exc.TypeError, + ) + + ensure( + isinstance(key, bytes) + and len(key) == crypto_aead_chacha20poly1305_KEYBYTES, + "Key must be a {} bytes long bytes sequence".format( + crypto_aead_chacha20poly1305_KEYBYTES + ), + raising=exc.TypeError, + ) + + mxout = clen - crypto_aead_chacha20poly1305_ABYTES + + mlen = ffi.new("unsigned long long *") + message = ffi.new("unsigned char[]", mxout) + + if aad: + _aad = aad + aalen = len(aad) + else: + _aad = ffi.NULL + aalen = 0 + + res = lib.crypto_aead_chacha20poly1305_decrypt( + message, mlen, ffi.NULL, ciphertext, clen, _aad, aalen, nonce, key + ) + + ensure(res == 0, "Decryption failed.", raising=exc.CryptoError) + + return ffi.buffer(message, mlen[0])[:] + + +def crypto_aead_xchacha20poly1305_ietf_encrypt( + message: bytes, aad: Optional[bytes], nonce: bytes, key: bytes +) -> bytes: + """ + Encrypt the given ``message`` using the long-nonces xchacha20poly1305 + construction. + + :param message: + :type message: bytes + :param aad: + :type aad: Optional[bytes] + :param nonce: + :type nonce: bytes + :param key: + :type key: bytes + :return: authenticated ciphertext + :rtype: bytes + """ + ensure( + isinstance(message, bytes), + "Input message type must be bytes", + raising=exc.TypeError, + ) + + mlen = len(message) + + ensure( + mlen <= crypto_aead_xchacha20poly1305_ietf_MESSAGEBYTES_MAX, + "Message must be at most {} bytes long".format( + crypto_aead_xchacha20poly1305_ietf_MESSAGEBYTES_MAX + ), + raising=exc.ValueError, + ) + + ensure( + isinstance(aad, bytes) or (aad is None), + "Additional data must be bytes or None", + raising=exc.TypeError, + ) + + ensure( + isinstance(nonce, bytes) + and len(nonce) == crypto_aead_xchacha20poly1305_ietf_NPUBBYTES, + "Nonce must be a {} bytes long bytes sequence".format( + crypto_aead_xchacha20poly1305_ietf_NPUBBYTES + ), + raising=exc.TypeError, + ) + + ensure( + isinstance(key, bytes) + and len(key) == crypto_aead_xchacha20poly1305_ietf_KEYBYTES, + "Key must be a {} bytes long bytes sequence".format( + crypto_aead_xchacha20poly1305_ietf_KEYBYTES + ), + raising=exc.TypeError, + ) + + if aad: + _aad = aad + aalen = len(aad) + else: + _aad = ffi.NULL + aalen = 0 + + mlen = len(message) + mxout = mlen + crypto_aead_xchacha20poly1305_ietf_ABYTES + + clen = ffi.new("unsigned long long *") + + ciphertext = ffi.new("unsigned char[]", mxout) + + res = lib.crypto_aead_xchacha20poly1305_ietf_encrypt( + ciphertext, clen, message, mlen, _aad, aalen, ffi.NULL, nonce, key + ) + + ensure(res == 0, "Encryption failed.", raising=exc.CryptoError) + return ffi.buffer(ciphertext, clen[0])[:] + + +def crypto_aead_xchacha20poly1305_ietf_decrypt( + ciphertext: bytes, aad: Optional[bytes], nonce: bytes, key: bytes +) -> bytes: + """ + Decrypt the given ``ciphertext`` using the long-nonces xchacha20poly1305 + construction. + + :param ciphertext: authenticated ciphertext + :type ciphertext: bytes + :param aad: + :type aad: Optional[bytes] + :param nonce: + :type nonce: bytes + :param key: + :type key: bytes + :return: message + :rtype: bytes + """ + ensure( + isinstance(ciphertext, bytes), + "Input ciphertext type must be bytes", + raising=exc.TypeError, + ) + + clen = len(ciphertext) + + ensure( + clen <= _aead_xchacha20poly1305_ietf_CRYPTBYTES_MAX, + "Ciphertext must be at most {} bytes long".format( + _aead_xchacha20poly1305_ietf_CRYPTBYTES_MAX + ), + raising=exc.ValueError, + ) + + ensure( + isinstance(aad, bytes) or (aad is None), + "Additional data must be bytes or None", + raising=exc.TypeError, + ) + + ensure( + isinstance(nonce, bytes) + and len(nonce) == crypto_aead_xchacha20poly1305_ietf_NPUBBYTES, + "Nonce must be a {} bytes long bytes sequence".format( + crypto_aead_xchacha20poly1305_ietf_NPUBBYTES + ), + raising=exc.TypeError, + ) + + ensure( + isinstance(key, bytes) + and len(key) == crypto_aead_xchacha20poly1305_ietf_KEYBYTES, + "Key must be a {} bytes long bytes sequence".format( + crypto_aead_xchacha20poly1305_ietf_KEYBYTES + ), + raising=exc.TypeError, + ) + + mxout = clen - crypto_aead_xchacha20poly1305_ietf_ABYTES + mlen = ffi.new("unsigned long long *") + message = ffi.new("unsigned char[]", mxout) + + if aad: + _aad = aad + aalen = len(aad) + else: + _aad = ffi.NULL + aalen = 0 + + res = lib.crypto_aead_xchacha20poly1305_ietf_decrypt( + message, mlen, ffi.NULL, ciphertext, clen, _aad, aalen, nonce, key + ) + + ensure(res == 0, "Decryption failed.", raising=exc.CryptoError) + + return ffi.buffer(message, mlen[0])[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_box.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_box.py new file mode 100644 index 0000000000000000000000000000000000000000..74f7f0a639cd7c6e03b1a52bdb3f15101b1ce050 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_box.py @@ -0,0 +1,324 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from typing import Tuple + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +__all__ = ["crypto_box_keypair", "crypto_box"] + + +crypto_box_SECRETKEYBYTES: int = lib.crypto_box_secretkeybytes() +crypto_box_PUBLICKEYBYTES: int = lib.crypto_box_publickeybytes() +crypto_box_SEEDBYTES: int = lib.crypto_box_seedbytes() +crypto_box_NONCEBYTES: int = lib.crypto_box_noncebytes() +crypto_box_ZEROBYTES: int = lib.crypto_box_zerobytes() +crypto_box_BOXZEROBYTES: int = lib.crypto_box_boxzerobytes() +crypto_box_BEFORENMBYTES: int = lib.crypto_box_beforenmbytes() +crypto_box_SEALBYTES: int = lib.crypto_box_sealbytes() + + +def crypto_box_keypair() -> Tuple[bytes, bytes]: + """ + Returns a randomly generated public and secret key. + + :rtype: (bytes(public_key), bytes(secret_key)) + """ + pk = ffi.new("unsigned char[]", crypto_box_PUBLICKEYBYTES) + sk = ffi.new("unsigned char[]", crypto_box_SECRETKEYBYTES) + + rc = lib.crypto_box_keypair(pk, sk) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ( + ffi.buffer(pk, crypto_box_PUBLICKEYBYTES)[:], + ffi.buffer(sk, crypto_box_SECRETKEYBYTES)[:], + ) + + +def crypto_box_seed_keypair(seed: bytes) -> Tuple[bytes, bytes]: + """ + Returns a (public, secret) keypair deterministically generated + from an input ``seed``. + + .. warning:: The seed **must** be high-entropy; therefore, + its generator **must** be a cryptographic quality + random function like, for example, :func:`~nacl.utils.random`. + + .. warning:: The seed **must** be protected and remain secret. + Anyone who knows the seed is really in possession of + the corresponding PrivateKey. + + + :param seed: bytes + :rtype: (bytes(public_key), bytes(secret_key)) + """ + ensure(isinstance(seed, bytes), "seed must be bytes", raising=TypeError) + + if len(seed) != crypto_box_SEEDBYTES: + raise exc.ValueError("Invalid seed") + + pk = ffi.new("unsigned char[]", crypto_box_PUBLICKEYBYTES) + sk = ffi.new("unsigned char[]", crypto_box_SECRETKEYBYTES) + + rc = lib.crypto_box_seed_keypair(pk, sk, seed) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ( + ffi.buffer(pk, crypto_box_PUBLICKEYBYTES)[:], + ffi.buffer(sk, crypto_box_SECRETKEYBYTES)[:], + ) + + +def crypto_box(message: bytes, nonce: bytes, pk: bytes, sk: bytes) -> bytes: + """ + Encrypts and returns a message ``message`` using the secret key ``sk``, + public key ``pk``, and the nonce ``nonce``. + + :param message: bytes + :param nonce: bytes + :param pk: bytes + :param sk: bytes + :rtype: bytes + """ + if len(nonce) != crypto_box_NONCEBYTES: + raise exc.ValueError("Invalid nonce size") + + if len(pk) != crypto_box_PUBLICKEYBYTES: + raise exc.ValueError("Invalid public key") + + if len(sk) != crypto_box_SECRETKEYBYTES: + raise exc.ValueError("Invalid secret key") + + padded = (b"\x00" * crypto_box_ZEROBYTES) + message + ciphertext = ffi.new("unsigned char[]", len(padded)) + + rc = lib.crypto_box(ciphertext, padded, len(padded), nonce, pk, sk) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(ciphertext, len(padded))[crypto_box_BOXZEROBYTES:] + + +def crypto_box_open( + ciphertext: bytes, nonce: bytes, pk: bytes, sk: bytes +) -> bytes: + """ + Decrypts and returns an encrypted message ``ciphertext``, using the secret + key ``sk``, public key ``pk``, and the nonce ``nonce``. + + :param ciphertext: bytes + :param nonce: bytes + :param pk: bytes + :param sk: bytes + :rtype: bytes + """ + if len(nonce) != crypto_box_NONCEBYTES: + raise exc.ValueError("Invalid nonce size") + + if len(pk) != crypto_box_PUBLICKEYBYTES: + raise exc.ValueError("Invalid public key") + + if len(sk) != crypto_box_SECRETKEYBYTES: + raise exc.ValueError("Invalid secret key") + + padded = (b"\x00" * crypto_box_BOXZEROBYTES) + ciphertext + plaintext = ffi.new("unsigned char[]", len(padded)) + + res = lib.crypto_box_open(plaintext, padded, len(padded), nonce, pk, sk) + ensure( + res == 0, + "An error occurred trying to decrypt the message", + raising=exc.CryptoError, + ) + + return ffi.buffer(plaintext, len(padded))[crypto_box_ZEROBYTES:] + + +def crypto_box_beforenm(pk: bytes, sk: bytes) -> bytes: + """ + Computes and returns the shared key for the public key ``pk`` and the + secret key ``sk``. This can be used to speed up operations where the same + set of keys is going to be used multiple times. + + :param pk: bytes + :param sk: bytes + :rtype: bytes + """ + if len(pk) != crypto_box_PUBLICKEYBYTES: + raise exc.ValueError("Invalid public key") + + if len(sk) != crypto_box_SECRETKEYBYTES: + raise exc.ValueError("Invalid secret key") + + k = ffi.new("unsigned char[]", crypto_box_BEFORENMBYTES) + + rc = lib.crypto_box_beforenm(k, pk, sk) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(k, crypto_box_BEFORENMBYTES)[:] + + +def crypto_box_afternm(message: bytes, nonce: bytes, k: bytes) -> bytes: + """ + Encrypts and returns the message ``message`` using the shared key ``k`` and + the nonce ``nonce``. + + :param message: bytes + :param nonce: bytes + :param k: bytes + :rtype: bytes + """ + if len(nonce) != crypto_box_NONCEBYTES: + raise exc.ValueError("Invalid nonce") + + if len(k) != crypto_box_BEFORENMBYTES: + raise exc.ValueError("Invalid shared key") + + padded = b"\x00" * crypto_box_ZEROBYTES + message + ciphertext = ffi.new("unsigned char[]", len(padded)) + + rc = lib.crypto_box_afternm(ciphertext, padded, len(padded), nonce, k) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(ciphertext, len(padded))[crypto_box_BOXZEROBYTES:] + + +def crypto_box_open_afternm( + ciphertext: bytes, nonce: bytes, k: bytes +) -> bytes: + """ + Decrypts and returns the encrypted message ``ciphertext``, using the shared + key ``k`` and the nonce ``nonce``. + + :param ciphertext: bytes + :param nonce: bytes + :param k: bytes + :rtype: bytes + """ + if len(nonce) != crypto_box_NONCEBYTES: + raise exc.ValueError("Invalid nonce") + + if len(k) != crypto_box_BEFORENMBYTES: + raise exc.ValueError("Invalid shared key") + + padded = (b"\x00" * crypto_box_BOXZEROBYTES) + ciphertext + plaintext = ffi.new("unsigned char[]", len(padded)) + + res = lib.crypto_box_open_afternm(plaintext, padded, len(padded), nonce, k) + ensure( + res == 0, + "An error occurred trying to decrypt the message", + raising=exc.CryptoError, + ) + + return ffi.buffer(plaintext, len(padded))[crypto_box_ZEROBYTES:] + + +def crypto_box_seal(message: bytes, pk: bytes) -> bytes: + """ + Encrypts and returns a message ``message`` using an ephemeral secret key + and the public key ``pk``. + The ephemeral public key, which is embedded in the sealed box, is also + used, in combination with ``pk``, to derive the nonce needed for the + underlying box construct. + + :param message: bytes + :param pk: bytes + :rtype: bytes + + .. versionadded:: 1.2 + """ + ensure( + isinstance(message, bytes), + "input message must be bytes", + raising=TypeError, + ) + + ensure( + isinstance(pk, bytes), "public key must be bytes", raising=TypeError + ) + + if len(pk) != crypto_box_PUBLICKEYBYTES: + raise exc.ValueError("Invalid public key") + + _mlen = len(message) + _clen = crypto_box_SEALBYTES + _mlen + + ciphertext = ffi.new("unsigned char[]", _clen) + + rc = lib.crypto_box_seal(ciphertext, message, _mlen, pk) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(ciphertext, _clen)[:] + + +def crypto_box_seal_open(ciphertext: bytes, pk: bytes, sk: bytes) -> bytes: + """ + Decrypts and returns an encrypted message ``ciphertext``, using the + recipent's secret key ``sk`` and the sender's ephemeral public key + embedded in the sealed box. The box contruct nonce is derived from + the recipient's public key ``pk`` and the sender's public key. + + :param ciphertext: bytes + :param pk: bytes + :param sk: bytes + :rtype: bytes + + .. versionadded:: 1.2 + """ + ensure( + isinstance(ciphertext, bytes), + "input ciphertext must be bytes", + raising=TypeError, + ) + + ensure( + isinstance(pk, bytes), "public key must be bytes", raising=TypeError + ) + + ensure( + isinstance(sk, bytes), "secret key must be bytes", raising=TypeError + ) + + if len(pk) != crypto_box_PUBLICKEYBYTES: + raise exc.ValueError("Invalid public key") + + if len(sk) != crypto_box_SECRETKEYBYTES: + raise exc.ValueError("Invalid secret key") + + _clen = len(ciphertext) + + ensure( + _clen >= crypto_box_SEALBYTES, + ("Input cyphertext must be at least {} long").format( + crypto_box_SEALBYTES + ), + raising=exc.TypeError, + ) + + _mlen = _clen - crypto_box_SEALBYTES + + # zero-length malloc results are implementation.dependent + plaintext = ffi.new("unsigned char[]", max(1, _mlen)) + + res = lib.crypto_box_seal_open(plaintext, ciphertext, _clen, pk, sk) + ensure( + res == 0, + "An error occurred trying to decrypt the message", + raising=exc.CryptoError, + ) + + return ffi.buffer(plaintext, _mlen)[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_core.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_core.py new file mode 100644 index 0000000000000000000000000000000000000000..d29da9b3fc25ad78b4a33752a957b313a2b042bd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_core.py @@ -0,0 +1,412 @@ +# Copyright 2018 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +has_crypto_core_ed25519 = bool(lib.PYNACL_HAS_CRYPTO_CORE_ED25519) + +crypto_core_ed25519_BYTES = 0 +crypto_core_ed25519_SCALARBYTES = 0 +crypto_core_ed25519_NONREDUCEDSCALARBYTES = 0 + +if has_crypto_core_ed25519: + crypto_core_ed25519_BYTES = lib.crypto_core_ed25519_bytes() + crypto_core_ed25519_SCALARBYTES = lib.crypto_core_ed25519_scalarbytes() + crypto_core_ed25519_NONREDUCEDSCALARBYTES = ( + lib.crypto_core_ed25519_nonreducedscalarbytes() + ) + + +def crypto_core_ed25519_is_valid_point(p: bytes) -> bool: + """ + Check if ``p`` represents a point on the edwards25519 curve, in canonical + form, on the main subgroup, and that the point doesn't have a small order. + + :param p: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence + representing a point on the edwards25519 curve + :type p: bytes + :return: point validity + :rtype: bool + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(p, bytes) and len(p) == crypto_core_ed25519_BYTES, + "Point must be a crypto_core_ed25519_BYTES long bytes sequence", + raising=exc.TypeError, + ) + + rc = lib.crypto_core_ed25519_is_valid_point(p) + return rc == 1 + + +def crypto_core_ed25519_add(p: bytes, q: bytes) -> bytes: + """ + Add two points on the edwards25519 curve. + + :param p: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence + representing a point on the edwards25519 curve + :type p: bytes + :param q: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence + representing a point on the edwards25519 curve + :type q: bytes + :return: a point on the edwards25519 curve represented as + a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(p, bytes) + and isinstance(q, bytes) + and len(p) == crypto_core_ed25519_BYTES + and len(q) == crypto_core_ed25519_BYTES, + "Each point must be a {} long bytes sequence".format( + "crypto_core_ed25519_BYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_BYTES) + + rc = lib.crypto_core_ed25519_add(r, p, q) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(r, crypto_core_ed25519_BYTES)[:] + + +def crypto_core_ed25519_sub(p: bytes, q: bytes) -> bytes: + """ + Subtract a point from another on the edwards25519 curve. + + :param p: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence + representing a point on the edwards25519 curve + :type p: bytes + :param q: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence + representing a point on the edwards25519 curve + :type q: bytes + :return: a point on the edwards25519 curve represented as + a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(p, bytes) + and isinstance(q, bytes) + and len(p) == crypto_core_ed25519_BYTES + and len(q) == crypto_core_ed25519_BYTES, + "Each point must be a {} long bytes sequence".format( + "crypto_core_ed25519_BYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_BYTES) + + rc = lib.crypto_core_ed25519_sub(r, p, q) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(r, crypto_core_ed25519_BYTES)[:] + + +def crypto_core_ed25519_scalar_invert(s: bytes) -> bytes: + """ + Return the multiplicative inverse of integer ``s`` modulo ``L``, + i.e an integer ``i`` such that ``s * i = 1 (mod L)``, where ``L`` + is the order of the main subgroup. + + Raises a ``exc.RuntimeError`` if ``s`` is the integer zero. + + :param s: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type s: bytes + :return: an integer represented as a + :py:data:`.crypto_core_ed25519_SCALARBYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(s, bytes) and len(s) == crypto_core_ed25519_SCALARBYTES, + "Integer s must be a {} long bytes sequence".format( + "crypto_core_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_SCALARBYTES) + + rc = lib.crypto_core_ed25519_scalar_invert(r, s) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(r, crypto_core_ed25519_SCALARBYTES)[:] + + +def crypto_core_ed25519_scalar_negate(s: bytes) -> bytes: + """ + Return the integer ``n`` such that ``s + n = 0 (mod L)``, where ``L`` + is the order of the main subgroup. + + :param s: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type s: bytes + :return: an integer represented as a + :py:data:`.crypto_core_ed25519_SCALARBYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(s, bytes) and len(s) == crypto_core_ed25519_SCALARBYTES, + "Integer s must be a {} long bytes sequence".format( + "crypto_core_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_SCALARBYTES) + + lib.crypto_core_ed25519_scalar_negate(r, s) + + return ffi.buffer(r, crypto_core_ed25519_SCALARBYTES)[:] + + +def crypto_core_ed25519_scalar_complement(s: bytes) -> bytes: + """ + Return the complement of integer ``s`` modulo ``L``, i.e. an integer + ``c`` such that ``s + c = 1 (mod L)``, where ``L`` is the order of + the main subgroup. + + :param s: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type s: bytes + :return: an integer represented as a + :py:data:`.crypto_core_ed25519_SCALARBYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(s, bytes) and len(s) == crypto_core_ed25519_SCALARBYTES, + "Integer s must be a {} long bytes sequence".format( + "crypto_core_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_SCALARBYTES) + + lib.crypto_core_ed25519_scalar_complement(r, s) + + return ffi.buffer(r, crypto_core_ed25519_SCALARBYTES)[:] + + +def crypto_core_ed25519_scalar_add(p: bytes, q: bytes) -> bytes: + """ + Add integers ``p`` and ``q`` modulo ``L``, where ``L`` is the order of + the main subgroup. + + :param p: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type p: bytes + :param q: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type q: bytes + :return: an integer represented as a + :py:data:`.crypto_core_ed25519_SCALARBYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(p, bytes) + and isinstance(q, bytes) + and len(p) == crypto_core_ed25519_SCALARBYTES + and len(q) == crypto_core_ed25519_SCALARBYTES, + "Each integer must be a {} long bytes sequence".format( + "crypto_core_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_SCALARBYTES) + + lib.crypto_core_ed25519_scalar_add(r, p, q) + + return ffi.buffer(r, crypto_core_ed25519_SCALARBYTES)[:] + + +def crypto_core_ed25519_scalar_sub(p: bytes, q: bytes) -> bytes: + """ + Subtract integers ``p`` and ``q`` modulo ``L``, where ``L`` is the + order of the main subgroup. + + :param p: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type p: bytes + :param q: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type q: bytes + :return: an integer represented as a + :py:data:`.crypto_core_ed25519_SCALARBYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(p, bytes) + and isinstance(q, bytes) + and len(p) == crypto_core_ed25519_SCALARBYTES + and len(q) == crypto_core_ed25519_SCALARBYTES, + "Each integer must be a {} long bytes sequence".format( + "crypto_core_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_SCALARBYTES) + + lib.crypto_core_ed25519_scalar_sub(r, p, q) + + return ffi.buffer(r, crypto_core_ed25519_SCALARBYTES)[:] + + +def crypto_core_ed25519_scalar_mul(p: bytes, q: bytes) -> bytes: + """ + Multiply integers ``p`` and ``q`` modulo ``L``, where ``L`` is the + order of the main subgroup. + + :param p: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type p: bytes + :param q: a :py:data:`.crypto_core_ed25519_SCALARBYTES` + long bytes sequence representing an integer + :type q: bytes + :return: an integer represented as a + :py:data:`.crypto_core_ed25519_SCALARBYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(p, bytes) + and isinstance(q, bytes) + and len(p) == crypto_core_ed25519_SCALARBYTES + and len(q) == crypto_core_ed25519_SCALARBYTES, + "Each integer must be a {} long bytes sequence".format( + "crypto_core_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_SCALARBYTES) + + lib.crypto_core_ed25519_scalar_mul(r, p, q) + + return ffi.buffer(r, crypto_core_ed25519_SCALARBYTES)[:] + + +def crypto_core_ed25519_scalar_reduce(s: bytes) -> bytes: + """ + Reduce integer ``s`` to ``s`` modulo ``L``, where ``L`` is the order + of the main subgroup. + + :param s: a :py:data:`.crypto_core_ed25519_NONREDUCEDSCALARBYTES` + long bytes sequence representing an integer + :type s: bytes + :return: an integer represented as a + :py:data:`.crypto_core_ed25519_SCALARBYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_core_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(s, bytes) + and len(s) == crypto_core_ed25519_NONREDUCEDSCALARBYTES, + "Integer s must be a {} long bytes sequence".format( + "crypto_core_ed25519_NONREDUCEDSCALARBYTES" + ), + raising=exc.TypeError, + ) + + r = ffi.new("unsigned char[]", crypto_core_ed25519_SCALARBYTES) + + lib.crypto_core_ed25519_scalar_reduce(r, s) + + return ffi.buffer(r, crypto_core_ed25519_SCALARBYTES)[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_generichash.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_generichash.py new file mode 100644 index 0000000000000000000000000000000000000000..6ab385a59718221f54738f1727c757447427b04d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_generichash.py @@ -0,0 +1,281 @@ +# Copyright 2013-2019 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from typing import NoReturn, TypeVar + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +crypto_generichash_BYTES: int = lib.crypto_generichash_blake2b_bytes() +crypto_generichash_BYTES_MIN: int = lib.crypto_generichash_blake2b_bytes_min() +crypto_generichash_BYTES_MAX: int = lib.crypto_generichash_blake2b_bytes_max() +crypto_generichash_KEYBYTES: int = lib.crypto_generichash_blake2b_keybytes() +crypto_generichash_KEYBYTES_MIN: int = ( + lib.crypto_generichash_blake2b_keybytes_min() +) +crypto_generichash_KEYBYTES_MAX: int = ( + lib.crypto_generichash_blake2b_keybytes_max() +) +crypto_generichash_SALTBYTES: int = lib.crypto_generichash_blake2b_saltbytes() +crypto_generichash_PERSONALBYTES: int = ( + lib.crypto_generichash_blake2b_personalbytes() +) +crypto_generichash_STATEBYTES: int = lib.crypto_generichash_statebytes() + +_OVERLONG = "{0} length greater than {1} bytes" +_TOOBIG = "{0} greater than {1}" + + +def _checkparams( + digest_size: int, key: bytes, salt: bytes, person: bytes +) -> None: + """Check hash parameters""" + ensure( + isinstance(key, bytes), + "Key must be a bytes sequence", + raising=exc.TypeError, + ) + + ensure( + isinstance(salt, bytes), + "Salt must be a bytes sequence", + raising=exc.TypeError, + ) + + ensure( + isinstance(person, bytes), + "Person must be a bytes sequence", + raising=exc.TypeError, + ) + + ensure( + isinstance(digest_size, int), + "Digest size must be an integer number", + raising=exc.TypeError, + ) + + ensure( + digest_size <= crypto_generichash_BYTES_MAX, + _TOOBIG.format("Digest_size", crypto_generichash_BYTES_MAX), + raising=exc.ValueError, + ) + + ensure( + len(key) <= crypto_generichash_KEYBYTES_MAX, + _OVERLONG.format("Key", crypto_generichash_KEYBYTES_MAX), + raising=exc.ValueError, + ) + + ensure( + len(salt) <= crypto_generichash_SALTBYTES, + _OVERLONG.format("Salt", crypto_generichash_SALTBYTES), + raising=exc.ValueError, + ) + + ensure( + len(person) <= crypto_generichash_PERSONALBYTES, + _OVERLONG.format("Person", crypto_generichash_PERSONALBYTES), + raising=exc.ValueError, + ) + + +def generichash_blake2b_salt_personal( + data: bytes, + digest_size: int = crypto_generichash_BYTES, + key: bytes = b"", + salt: bytes = b"", + person: bytes = b"", +) -> bytes: + """One shot hash interface + + :param data: the input data to the hash function + :type data: bytes + :param digest_size: must be at most + :py:data:`.crypto_generichash_BYTES_MAX`; + the default digest size is + :py:data:`.crypto_generichash_BYTES` + :type digest_size: int + :param key: must be at most + :py:data:`.crypto_generichash_KEYBYTES_MAX` long + :type key: bytes + :param salt: must be at most + :py:data:`.crypto_generichash_SALTBYTES` long; + will be zero-padded if needed + :type salt: bytes + :param person: must be at most + :py:data:`.crypto_generichash_PERSONALBYTES` long: + will be zero-padded if needed + :type person: bytes + :return: digest_size long digest + :rtype: bytes + """ + + _checkparams(digest_size, key, salt, person) + + ensure( + isinstance(data, bytes), + "Input data must be a bytes sequence", + raising=exc.TypeError, + ) + + digest = ffi.new("unsigned char[]", digest_size) + + # both _salt and _personal must be zero-padded to the correct length + _salt = ffi.new("unsigned char []", crypto_generichash_SALTBYTES) + _person = ffi.new("unsigned char []", crypto_generichash_PERSONALBYTES) + + ffi.memmove(_salt, salt, len(salt)) + ffi.memmove(_person, person, len(person)) + + rc = lib.crypto_generichash_blake2b_salt_personal( + digest, digest_size, data, len(data), key, len(key), _salt, _person + ) + ensure(rc == 0, "Unexpected failure", raising=exc.RuntimeError) + + return ffi.buffer(digest, digest_size)[:] + + +_Blake2State = TypeVar("_Blake2State", bound="Blake2State") + + +class Blake2State: + """ + Python-level wrapper for the crypto_generichash_blake2b state buffer + """ + + __slots__ = ["_statebuf", "digest_size"] + + def __init__(self, digest_size: int): + self._statebuf = ffi.new( + "unsigned char[]", crypto_generichash_STATEBYTES + ) + self.digest_size = digest_size + + def __reduce__(self) -> NoReturn: + """ + Raise the same exception as hashlib's blake implementation + on copy.copy() + """ + raise TypeError( + "can't pickle {} objects".format(self.__class__.__name__) + ) + + def copy(self: _Blake2State) -> _Blake2State: + _st = self.__class__(self.digest_size) + ffi.memmove( + _st._statebuf, self._statebuf, crypto_generichash_STATEBYTES + ) + return _st + + +def generichash_blake2b_init( + key: bytes = b"", + salt: bytes = b"", + person: bytes = b"", + digest_size: int = crypto_generichash_BYTES, +) -> Blake2State: + """ + Create a new initialized blake2b hash state + + :param key: must be at most + :py:data:`.crypto_generichash_KEYBYTES_MAX` long + :type key: bytes + :param salt: must be at most + :py:data:`.crypto_generichash_SALTBYTES` long; + will be zero-padded if needed + :type salt: bytes + :param person: must be at most + :py:data:`.crypto_generichash_PERSONALBYTES` long: + will be zero-padded if needed + :type person: bytes + :param digest_size: must be at most + :py:data:`.crypto_generichash_BYTES_MAX`; + the default digest size is + :py:data:`.crypto_generichash_BYTES` + :type digest_size: int + :return: a initialized :py:class:`.Blake2State` + :rtype: object + """ + + _checkparams(digest_size, key, salt, person) + + state = Blake2State(digest_size) + + # both _salt and _personal must be zero-padded to the correct length + _salt = ffi.new("unsigned char []", crypto_generichash_SALTBYTES) + _person = ffi.new("unsigned char []", crypto_generichash_PERSONALBYTES) + + ffi.memmove(_salt, salt, len(salt)) + ffi.memmove(_person, person, len(person)) + + rc = lib.crypto_generichash_blake2b_init_salt_personal( + state._statebuf, key, len(key), digest_size, _salt, _person + ) + ensure(rc == 0, "Unexpected failure", raising=exc.RuntimeError) + + return state + + +def generichash_blake2b_update(state: Blake2State, data: bytes) -> None: + """Update the blake2b hash state + + :param state: a initialized Blake2bState object as returned from + :py:func:`.crypto_generichash_blake2b_init` + :type state: :py:class:`.Blake2State` + :param data: + :type data: bytes + """ + + ensure( + isinstance(state, Blake2State), + "State must be a Blake2State object", + raising=exc.TypeError, + ) + + ensure( + isinstance(data, bytes), + "Input data must be a bytes sequence", + raising=exc.TypeError, + ) + + rc = lib.crypto_generichash_blake2b_update( + state._statebuf, data, len(data) + ) + ensure(rc == 0, "Unexpected failure", raising=exc.RuntimeError) + + +def generichash_blake2b_final(state: Blake2State) -> bytes: + """Finalize the blake2b hash state and return the digest. + + :param state: a initialized Blake2bState object as returned from + :py:func:`.crypto_generichash_blake2b_init` + :type state: :py:class:`.Blake2State` + :return: the blake2 digest of the passed-in data stream + :rtype: bytes + """ + + ensure( + isinstance(state, Blake2State), + "State must be a Blake2State object", + raising=exc.TypeError, + ) + + _digest = ffi.new("unsigned char[]", crypto_generichash_BYTES_MAX) + rc = lib.crypto_generichash_blake2b_final( + state._statebuf, _digest, state.digest_size + ) + + ensure(rc == 0, "Unexpected failure", raising=exc.RuntimeError) + return ffi.buffer(_digest, state.digest_size)[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_hash.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_hash.py new file mode 100644 index 0000000000000000000000000000000000000000..2bab3991dff39423e0ef215f67a0b39877471828 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_hash.py @@ -0,0 +1,63 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +# crypto_hash_BYTES = lib.crypto_hash_bytes() +crypto_hash_BYTES: int = lib.crypto_hash_sha512_bytes() +crypto_hash_sha256_BYTES: int = lib.crypto_hash_sha256_bytes() +crypto_hash_sha512_BYTES: int = lib.crypto_hash_sha512_bytes() + + +def crypto_hash(message: bytes) -> bytes: + """ + Hashes and returns the message ``message``. + + :param message: bytes + :rtype: bytes + """ + digest = ffi.new("unsigned char[]", crypto_hash_BYTES) + rc = lib.crypto_hash(digest, message, len(message)) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + return ffi.buffer(digest, crypto_hash_BYTES)[:] + + +def crypto_hash_sha256(message: bytes) -> bytes: + """ + Hashes and returns the message ``message``. + + :param message: bytes + :rtype: bytes + """ + digest = ffi.new("unsigned char[]", crypto_hash_sha256_BYTES) + rc = lib.crypto_hash_sha256(digest, message, len(message)) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + return ffi.buffer(digest, crypto_hash_sha256_BYTES)[:] + + +def crypto_hash_sha512(message: bytes) -> bytes: + """ + Hashes and returns the message ``message``. + + :param message: bytes + :rtype: bytes + """ + digest = ffi.new("unsigned char[]", crypto_hash_sha512_BYTES) + rc = lib.crypto_hash_sha512(digest, message, len(message)) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + return ffi.buffer(digest, crypto_hash_sha512_BYTES)[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_kx.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_kx.py new file mode 100644 index 0000000000000000000000000000000000000000..172a19f804d9958d1ff090f261969a1607b93b7b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_kx.py @@ -0,0 +1,200 @@ +# Copyright 2018 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from typing import Tuple + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + +__all__ = [ + "crypto_kx_keypair", + "crypto_kx_client_session_keys", + "crypto_kx_server_session_keys", + "crypto_kx_PUBLIC_KEY_BYTES", + "crypto_kx_SECRET_KEY_BYTES", + "crypto_kx_SEED_BYTES", + "crypto_kx_SESSION_KEY_BYTES", +] + +""" +Implementations of client, server key exchange +""" +crypto_kx_PUBLIC_KEY_BYTES: int = lib.crypto_kx_publickeybytes() +crypto_kx_SECRET_KEY_BYTES: int = lib.crypto_kx_secretkeybytes() +crypto_kx_SEED_BYTES: int = lib.crypto_kx_seedbytes() +crypto_kx_SESSION_KEY_BYTES: int = lib.crypto_kx_sessionkeybytes() + + +def crypto_kx_keypair() -> Tuple[bytes, bytes]: + """ + Generate a keypair. + This is a duplicate crypto_box_keypair, but + is included for api consistency. + :return: (public_key, secret_key) + :rtype: (bytes, bytes) + """ + public_key = ffi.new("unsigned char[]", crypto_kx_PUBLIC_KEY_BYTES) + secret_key = ffi.new("unsigned char[]", crypto_kx_SECRET_KEY_BYTES) + res = lib.crypto_kx_keypair(public_key, secret_key) + ensure(res == 0, "Key generation failed.", raising=exc.CryptoError) + + return ( + ffi.buffer(public_key, crypto_kx_PUBLIC_KEY_BYTES)[:], + ffi.buffer(secret_key, crypto_kx_SECRET_KEY_BYTES)[:], + ) + + +def crypto_kx_seed_keypair(seed: bytes) -> Tuple[bytes, bytes]: + """ + Generate a keypair with a given seed. + This is functionally the same as crypto_box_seed_keypair, however + it uses the blake2b hash primitive instead of sha512. + It is included mainly for api consistency when using crypto_kx. + :param seed: random seed + :type seed: bytes + :return: (public_key, secret_key) + :rtype: (bytes, bytes) + """ + public_key = ffi.new("unsigned char[]", crypto_kx_PUBLIC_KEY_BYTES) + secret_key = ffi.new("unsigned char[]", crypto_kx_SECRET_KEY_BYTES) + ensure( + isinstance(seed, bytes) and len(seed) == crypto_kx_SEED_BYTES, + "Seed must be a {} byte long bytes sequence".format( + crypto_kx_SEED_BYTES + ), + raising=exc.TypeError, + ) + res = lib.crypto_kx_seed_keypair(public_key, secret_key, seed) + ensure(res == 0, "Key generation failed.", raising=exc.CryptoError) + + return ( + ffi.buffer(public_key, crypto_kx_PUBLIC_KEY_BYTES)[:], + ffi.buffer(secret_key, crypto_kx_SECRET_KEY_BYTES)[:], + ) + + +def crypto_kx_client_session_keys( + client_public_key: bytes, + client_secret_key: bytes, + server_public_key: bytes, +) -> Tuple[bytes, bytes]: + """ + Generate session keys for the client. + :param client_public_key: + :type client_public_key: bytes + :param client_secret_key: + :type client_secret_key: bytes + :param server_public_key: + :type server_public_key: bytes + :return: (rx_key, tx_key) + :rtype: (bytes, bytes) + """ + ensure( + isinstance(client_public_key, bytes) + and len(client_public_key) == crypto_kx_PUBLIC_KEY_BYTES, + "Client public key must be a {} bytes long bytes sequence".format( + crypto_kx_PUBLIC_KEY_BYTES + ), + raising=exc.TypeError, + ) + ensure( + isinstance(client_secret_key, bytes) + and len(client_secret_key) == crypto_kx_SECRET_KEY_BYTES, + "Client secret key must be a {} bytes long bytes sequence".format( + crypto_kx_PUBLIC_KEY_BYTES + ), + raising=exc.TypeError, + ) + ensure( + isinstance(server_public_key, bytes) + and len(server_public_key) == crypto_kx_PUBLIC_KEY_BYTES, + "Server public key must be a {} bytes long bytes sequence".format( + crypto_kx_PUBLIC_KEY_BYTES + ), + raising=exc.TypeError, + ) + + rx_key = ffi.new("unsigned char[]", crypto_kx_SESSION_KEY_BYTES) + tx_key = ffi.new("unsigned char[]", crypto_kx_SESSION_KEY_BYTES) + res = lib.crypto_kx_client_session_keys( + rx_key, tx_key, client_public_key, client_secret_key, server_public_key + ) + ensure( + res == 0, + "Client session key generation failed.", + raising=exc.CryptoError, + ) + + return ( + ffi.buffer(rx_key, crypto_kx_SESSION_KEY_BYTES)[:], + ffi.buffer(tx_key, crypto_kx_SESSION_KEY_BYTES)[:], + ) + + +def crypto_kx_server_session_keys( + server_public_key: bytes, + server_secret_key: bytes, + client_public_key: bytes, +) -> Tuple[bytes, bytes]: + """ + Generate session keys for the server. + :param server_public_key: + :type server_public_key: bytes + :param server_secret_key: + :type server_secret_key: bytes + :param client_public_key: + :type client_public_key: bytes + :return: (rx_key, tx_key) + :rtype: (bytes, bytes) + """ + ensure( + isinstance(server_public_key, bytes) + and len(server_public_key) == crypto_kx_PUBLIC_KEY_BYTES, + "Server public key must be a {} bytes long bytes sequence".format( + crypto_kx_PUBLIC_KEY_BYTES + ), + raising=exc.TypeError, + ) + ensure( + isinstance(server_secret_key, bytes) + and len(server_secret_key) == crypto_kx_SECRET_KEY_BYTES, + "Server secret key must be a {} bytes long bytes sequence".format( + crypto_kx_PUBLIC_KEY_BYTES + ), + raising=exc.TypeError, + ) + ensure( + isinstance(client_public_key, bytes) + and len(client_public_key) == crypto_kx_PUBLIC_KEY_BYTES, + "Client public key must be a {} bytes long bytes sequence".format( + crypto_kx_PUBLIC_KEY_BYTES + ), + raising=exc.TypeError, + ) + + rx_key = ffi.new("unsigned char[]", crypto_kx_SESSION_KEY_BYTES) + tx_key = ffi.new("unsigned char[]", crypto_kx_SESSION_KEY_BYTES) + res = lib.crypto_kx_server_session_keys( + rx_key, tx_key, server_public_key, server_secret_key, client_public_key + ) + ensure( + res == 0, + "Server session key generation failed.", + raising=exc.CryptoError, + ) + + return ( + ffi.buffer(rx_key, crypto_kx_SESSION_KEY_BYTES)[:], + ffi.buffer(tx_key, crypto_kx_SESSION_KEY_BYTES)[:], + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_pwhash.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_pwhash.py new file mode 100644 index 0000000000000000000000000000000000000000..0c4cc1a24402a1ca63a499a22c1a38c97c3c5ab4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_pwhash.py @@ -0,0 +1,600 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import sys +from typing import Tuple + +import nacl.exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +has_crypto_pwhash_scryptsalsa208sha256 = bool( + lib.PYNACL_HAS_CRYPTO_PWHASH_SCRYPTSALSA208SHA256 +) + +crypto_pwhash_scryptsalsa208sha256_STRPREFIX = b"" +crypto_pwhash_scryptsalsa208sha256_SALTBYTES = 0 +crypto_pwhash_scryptsalsa208sha256_STRBYTES = 0 +crypto_pwhash_scryptsalsa208sha256_PASSWD_MIN = 0 +crypto_pwhash_scryptsalsa208sha256_PASSWD_MAX = 0 +crypto_pwhash_scryptsalsa208sha256_BYTES_MIN = 0 +crypto_pwhash_scryptsalsa208sha256_BYTES_MAX = 0 +crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN = 0 +crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAX = 0 +crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN = 0 +crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX = 0 +crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE = 0 +crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE = 0 +crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE = 0 +crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE = 0 + +if has_crypto_pwhash_scryptsalsa208sha256: + crypto_pwhash_scryptsalsa208sha256_STRPREFIX = ffi.string( + ffi.cast("char *", lib.crypto_pwhash_scryptsalsa208sha256_strprefix()) + )[:] + crypto_pwhash_scryptsalsa208sha256_SALTBYTES = ( + lib.crypto_pwhash_scryptsalsa208sha256_saltbytes() + ) + crypto_pwhash_scryptsalsa208sha256_STRBYTES = ( + lib.crypto_pwhash_scryptsalsa208sha256_strbytes() + ) + crypto_pwhash_scryptsalsa208sha256_PASSWD_MIN = ( + lib.crypto_pwhash_scryptsalsa208sha256_passwd_min() + ) + crypto_pwhash_scryptsalsa208sha256_PASSWD_MAX = ( + lib.crypto_pwhash_scryptsalsa208sha256_passwd_max() + ) + crypto_pwhash_scryptsalsa208sha256_BYTES_MIN = ( + lib.crypto_pwhash_scryptsalsa208sha256_bytes_min() + ) + crypto_pwhash_scryptsalsa208sha256_BYTES_MAX = ( + lib.crypto_pwhash_scryptsalsa208sha256_bytes_max() + ) + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN = ( + lib.crypto_pwhash_scryptsalsa208sha256_memlimit_min() + ) + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAX = ( + lib.crypto_pwhash_scryptsalsa208sha256_memlimit_max() + ) + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN = ( + lib.crypto_pwhash_scryptsalsa208sha256_opslimit_min() + ) + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX = ( + lib.crypto_pwhash_scryptsalsa208sha256_opslimit_max() + ) + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE = ( + lib.crypto_pwhash_scryptsalsa208sha256_opslimit_interactive() + ) + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE = ( + lib.crypto_pwhash_scryptsalsa208sha256_memlimit_interactive() + ) + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE = ( + lib.crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive() + ) + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE = ( + lib.crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive() + ) + +crypto_pwhash_ALG_ARGON2I13: int = lib.crypto_pwhash_alg_argon2i13() +crypto_pwhash_ALG_ARGON2ID13: int = lib.crypto_pwhash_alg_argon2id13() +crypto_pwhash_ALG_DEFAULT: int = lib.crypto_pwhash_alg_default() + +crypto_pwhash_SALTBYTES: int = lib.crypto_pwhash_saltbytes() +crypto_pwhash_STRBYTES: int = lib.crypto_pwhash_strbytes() + +crypto_pwhash_PASSWD_MIN: int = lib.crypto_pwhash_passwd_min() +crypto_pwhash_PASSWD_MAX: int = lib.crypto_pwhash_passwd_max() +crypto_pwhash_BYTES_MIN: int = lib.crypto_pwhash_bytes_min() +crypto_pwhash_BYTES_MAX: int = lib.crypto_pwhash_bytes_max() + +crypto_pwhash_argon2i_STRPREFIX: bytes = ffi.string( + ffi.cast("char *", lib.crypto_pwhash_argon2i_strprefix()) +)[:] +crypto_pwhash_argon2i_MEMLIMIT_MIN: int = ( + lib.crypto_pwhash_argon2i_memlimit_min() +) +crypto_pwhash_argon2i_MEMLIMIT_MAX: int = ( + lib.crypto_pwhash_argon2i_memlimit_max() +) +crypto_pwhash_argon2i_OPSLIMIT_MIN: int = ( + lib.crypto_pwhash_argon2i_opslimit_min() +) +crypto_pwhash_argon2i_OPSLIMIT_MAX: int = ( + lib.crypto_pwhash_argon2i_opslimit_max() +) +crypto_pwhash_argon2i_OPSLIMIT_INTERACTIVE: int = ( + lib.crypto_pwhash_argon2i_opslimit_interactive() +) +crypto_pwhash_argon2i_MEMLIMIT_INTERACTIVE: int = ( + lib.crypto_pwhash_argon2i_memlimit_interactive() +) +crypto_pwhash_argon2i_OPSLIMIT_MODERATE: int = ( + lib.crypto_pwhash_argon2i_opslimit_moderate() +) +crypto_pwhash_argon2i_MEMLIMIT_MODERATE: int = ( + lib.crypto_pwhash_argon2i_memlimit_moderate() +) +crypto_pwhash_argon2i_OPSLIMIT_SENSITIVE: int = ( + lib.crypto_pwhash_argon2i_opslimit_sensitive() +) +crypto_pwhash_argon2i_MEMLIMIT_SENSITIVE: int = ( + lib.crypto_pwhash_argon2i_memlimit_sensitive() +) + +crypto_pwhash_argon2id_STRPREFIX: bytes = ffi.string( + ffi.cast("char *", lib.crypto_pwhash_argon2id_strprefix()) +)[:] +crypto_pwhash_argon2id_MEMLIMIT_MIN: int = ( + lib.crypto_pwhash_argon2id_memlimit_min() +) +crypto_pwhash_argon2id_MEMLIMIT_MAX: int = ( + lib.crypto_pwhash_argon2id_memlimit_max() +) +crypto_pwhash_argon2id_OPSLIMIT_MIN: int = ( + lib.crypto_pwhash_argon2id_opslimit_min() +) +crypto_pwhash_argon2id_OPSLIMIT_MAX: int = ( + lib.crypto_pwhash_argon2id_opslimit_max() +) +crypto_pwhash_argon2id_OPSLIMIT_INTERACTIVE: int = ( + lib.crypto_pwhash_argon2id_opslimit_interactive() +) +crypto_pwhash_argon2id_MEMLIMIT_INTERACTIVE: int = ( + lib.crypto_pwhash_argon2id_memlimit_interactive() +) +crypto_pwhash_argon2id_OPSLIMIT_MODERATE: int = ( + lib.crypto_pwhash_argon2id_opslimit_moderate() +) +crypto_pwhash_argon2id_MEMLIMIT_MODERATE: int = ( + lib.crypto_pwhash_argon2id_memlimit_moderate() +) +crypto_pwhash_argon2id_OPSLIMIT_SENSITIVE: int = ( + lib.crypto_pwhash_argon2id_opslimit_sensitive() +) +crypto_pwhash_argon2id_MEMLIMIT_SENSITIVE: int = ( + lib.crypto_pwhash_argon2id_memlimit_sensitive() +) + +SCRYPT_OPSLIMIT_INTERACTIVE = ( + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE +) +SCRYPT_MEMLIMIT_INTERACTIVE = ( + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE +) +SCRYPT_OPSLIMIT_SENSITIVE = ( + crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE +) +SCRYPT_MEMLIMIT_SENSITIVE = ( + crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE +) +SCRYPT_SALTBYTES = crypto_pwhash_scryptsalsa208sha256_SALTBYTES +SCRYPT_STRBYTES = crypto_pwhash_scryptsalsa208sha256_STRBYTES + +SCRYPT_PR_MAX = (1 << 30) - 1 +LOG2_UINT64_MAX = 63 +UINT64_MAX = (1 << 64) - 1 +SCRYPT_MAX_MEM = 32 * (1024 * 1024) + + +def _check_memory_occupation( + n: int, r: int, p: int, maxmem: int = SCRYPT_MAX_MEM +) -> None: + ensure(r != 0, "Invalid block size", raising=exc.ValueError) + + ensure(p != 0, "Invalid parallelization factor", raising=exc.ValueError) + + ensure( + (n & (n - 1)) == 0, + "Cost factor must be a power of 2", + raising=exc.ValueError, + ) + + ensure(n > 1, "Cost factor must be at least 2", raising=exc.ValueError) + + ensure( + p <= SCRYPT_PR_MAX / r, + "p*r is greater than {}".format(SCRYPT_PR_MAX), + raising=exc.ValueError, + ) + + ensure(n < (1 << (16 * r)), raising=exc.ValueError) + + Blen = p * 128 * r + + i = UINT64_MAX / 128 + + ensure(n + 2 <= i / r, raising=exc.ValueError) + + Vlen = 32 * r * (n + 2) * 4 + + ensure(Blen <= UINT64_MAX - Vlen, raising=exc.ValueError) + + ensure(Blen <= sys.maxsize - Vlen, raising=exc.ValueError) + + ensure( + Blen + Vlen <= maxmem, + "Memory limit would be exceeded with the choosen n, r, p", + raising=exc.ValueError, + ) + + +def nacl_bindings_pick_scrypt_params( + opslimit: int, memlimit: int +) -> Tuple[int, int, int]: + """Python implementation of libsodium's pickparams""" + + if opslimit < 32768: + opslimit = 32768 + + r = 8 + + if opslimit < (memlimit // 32): + p = 1 + maxn = opslimit // (4 * r) + for n_log2 in range(1, 63): # pragma: no branch + if (2 ** n_log2) > (maxn // 2): + break + else: + maxn = memlimit // (r * 128) + for n_log2 in range(1, 63): # pragma: no branch + if (2 ** n_log2) > maxn // 2: + break + + maxrp = (opslimit // 4) // (2 ** n_log2) + + if maxrp > 0x3FFFFFFF: # pragma: no cover + maxrp = 0x3FFFFFFF + + p = maxrp // r + + return n_log2, r, p + + +def crypto_pwhash_scryptsalsa208sha256_ll( + passwd: bytes, + salt: bytes, + n: int, + r: int, + p: int, + dklen: int = 64, + maxmem: int = SCRYPT_MAX_MEM, +) -> bytes: + """ + Derive a cryptographic key using the ``passwd`` and ``salt`` + given as input. + + The work factor can be tuned by by picking different + values for the parameters + + :param bytes passwd: + :param bytes salt: + :param bytes salt: *must* be *exactly* :py:const:`.SALTBYTES` long + :param int dklen: + :param int opslimit: + :param int n: + :param int r: block size, + :param int p: the parallelism factor + :param int maxmem: the maximum available memory available for scrypt's + operations + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_pwhash_scryptsalsa208sha256, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure(isinstance(n, int), raising=TypeError) + ensure(isinstance(r, int), raising=TypeError) + ensure(isinstance(p, int), raising=TypeError) + + ensure(isinstance(passwd, bytes), raising=TypeError) + ensure(isinstance(salt, bytes), raising=TypeError) + + _check_memory_occupation(n, r, p, maxmem) + + buf = ffi.new("uint8_t[]", dklen) + + ret = lib.crypto_pwhash_scryptsalsa208sha256_ll( + passwd, len(passwd), salt, len(salt), n, r, p, buf, dklen + ) + + ensure( + ret == 0, + "Unexpected failure in key derivation", + raising=exc.RuntimeError, + ) + + return ffi.buffer(ffi.cast("char *", buf), dklen)[:] + + +def crypto_pwhash_scryptsalsa208sha256_str( + passwd: bytes, + opslimit: int = SCRYPT_OPSLIMIT_INTERACTIVE, + memlimit: int = SCRYPT_MEMLIMIT_INTERACTIVE, +) -> bytes: + """ + Derive a cryptographic key using the ``passwd`` and ``salt`` + given as input, returning a string representation which includes + the salt and the tuning parameters. + + The returned string can be directly stored as a password hash. + + See :py:func:`.crypto_pwhash_scryptsalsa208sha256` for a short + discussion about ``opslimit`` and ``memlimit`` values. + + :param bytes passwd: + :param int opslimit: + :param int memlimit: + :return: serialized key hash, including salt and tuning parameters + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_pwhash_scryptsalsa208sha256, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + buf = ffi.new("char[]", SCRYPT_STRBYTES) + + ret = lib.crypto_pwhash_scryptsalsa208sha256_str( + buf, passwd, len(passwd), opslimit, memlimit + ) + + ensure( + ret == 0, + "Unexpected failure in password hashing", + raising=exc.RuntimeError, + ) + + return ffi.string(buf) + + +def crypto_pwhash_scryptsalsa208sha256_str_verify( + passwd_hash: bytes, passwd: bytes +) -> bool: + """ + Verifies the ``passwd`` against the ``passwd_hash`` that was generated. + Returns True or False depending on the success + + :param passwd_hash: bytes + :param passwd: bytes + :rtype: boolean + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_pwhash_scryptsalsa208sha256, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + len(passwd_hash) == SCRYPT_STRBYTES - 1, + "Invalid password hash", + raising=exc.ValueError, + ) + + ret = lib.crypto_pwhash_scryptsalsa208sha256_str_verify( + passwd_hash, passwd, len(passwd) + ) + ensure(ret == 0, "Wrong password", raising=exc.InvalidkeyError) + # all went well, therefore: + return True + + +def _check_argon2_limits_alg(opslimit: int, memlimit: int, alg: int) -> None: + + if alg == crypto_pwhash_ALG_ARGON2I13: + if memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN: + raise exc.ValueError( + "memlimit must be at least {} bytes".format( + crypto_pwhash_argon2i_MEMLIMIT_MIN + ) + ) + elif memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX: + raise exc.ValueError( + "memlimit must be at most {} bytes".format( + crypto_pwhash_argon2i_MEMLIMIT_MAX + ) + ) + if opslimit < crypto_pwhash_argon2i_OPSLIMIT_MIN: + raise exc.ValueError( + "opslimit must be at least {}".format( + crypto_pwhash_argon2i_OPSLIMIT_MIN + ) + ) + elif opslimit > crypto_pwhash_argon2i_OPSLIMIT_MAX: + raise exc.ValueError( + "opslimit must be at most {}".format( + crypto_pwhash_argon2i_OPSLIMIT_MAX + ) + ) + + elif alg == crypto_pwhash_ALG_ARGON2ID13: + if memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN: + raise exc.ValueError( + "memlimit must be at least {} bytes".format( + crypto_pwhash_argon2id_MEMLIMIT_MIN + ) + ) + elif memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX: + raise exc.ValueError( + "memlimit must be at most {} bytes".format( + crypto_pwhash_argon2id_MEMLIMIT_MAX + ) + ) + if opslimit < crypto_pwhash_argon2id_OPSLIMIT_MIN: + raise exc.ValueError( + "opslimit must be at least {}".format( + crypto_pwhash_argon2id_OPSLIMIT_MIN + ) + ) + elif opslimit > crypto_pwhash_argon2id_OPSLIMIT_MAX: + raise exc.ValueError( + "opslimit must be at most {}".format( + crypto_pwhash_argon2id_OPSLIMIT_MAX + ) + ) + else: + raise exc.TypeError("Unsupported algorithm") + + +def crypto_pwhash_alg( + outlen: int, + passwd: bytes, + salt: bytes, + opslimit: int, + memlimit: int, + alg: int, +) -> bytes: + """ + Derive a raw cryptographic key using the ``passwd`` and the ``salt`` + given as input to the ``alg`` algorithm. + + :param outlen: the length of the derived key + :type outlen: int + :param passwd: The input password + :type passwd: bytes + :param salt: + :type salt: bytes + :param opslimit: computational cost + :type opslimit: int + :param memlimit: memory cost + :type memlimit: int + :param alg: algorithm identifier + :type alg: int + :return: derived key + :rtype: bytes + """ + ensure(isinstance(outlen, int), raising=exc.TypeError) + ensure(isinstance(opslimit, int), raising=exc.TypeError) + ensure(isinstance(memlimit, int), raising=exc.TypeError) + ensure(isinstance(alg, int), raising=exc.TypeError) + ensure(isinstance(passwd, bytes), raising=exc.TypeError) + + if len(salt) != crypto_pwhash_SALTBYTES: + raise exc.ValueError( + "salt must be exactly {} bytes long".format( + crypto_pwhash_SALTBYTES + ) + ) + + if outlen < crypto_pwhash_BYTES_MIN: + raise exc.ValueError( + "derived key must be at least {} bytes long".format( + crypto_pwhash_BYTES_MIN + ) + ) + + elif outlen > crypto_pwhash_BYTES_MAX: + raise exc.ValueError( + "derived key must be at most {} bytes long".format( + crypto_pwhash_BYTES_MAX + ) + ) + + _check_argon2_limits_alg(opslimit, memlimit, alg) + + outbuf = ffi.new("unsigned char[]", outlen) + + ret = lib.crypto_pwhash( + outbuf, outlen, passwd, len(passwd), salt, opslimit, memlimit, alg + ) + + ensure( + ret == 0, + "Unexpected failure in key derivation", + raising=exc.RuntimeError, + ) + + return ffi.buffer(outbuf, outlen)[:] + + +def crypto_pwhash_str_alg( + passwd: bytes, + opslimit: int, + memlimit: int, + alg: int, +) -> bytes: + """ + Derive a cryptographic key using the ``passwd`` given as input + and a random salt, returning a string representation which + includes the salt, the tuning parameters and the used algorithm. + + :param passwd: The input password + :type passwd: bytes + :param opslimit: computational cost + :type opslimit: int + :param memlimit: memory cost + :type memlimit: int + :param alg: The algorithm to use + :type alg: int + :return: serialized derived key and parameters + :rtype: bytes + """ + ensure(isinstance(opslimit, int), raising=TypeError) + ensure(isinstance(memlimit, int), raising=TypeError) + ensure(isinstance(passwd, bytes), raising=TypeError) + + _check_argon2_limits_alg(opslimit, memlimit, alg) + + outbuf = ffi.new("char[]", 128) + + ret = lib.crypto_pwhash_str_alg( + outbuf, passwd, len(passwd), opslimit, memlimit, alg + ) + + ensure( + ret == 0, + "Unexpected failure in key derivation", + raising=exc.RuntimeError, + ) + + return ffi.string(outbuf) + + +def crypto_pwhash_str_verify(passwd_hash: bytes, passwd: bytes) -> bool: + """ + Verifies the ``passwd`` against a given password hash. + + Returns True on success, raises InvalidkeyError on failure + :param passwd_hash: saved password hash + :type passwd_hash: bytes + :param passwd: password to be checked + :type passwd: bytes + :return: success + :rtype: boolean + """ + ensure(isinstance(passwd_hash, bytes), raising=TypeError) + ensure(isinstance(passwd, bytes), raising=TypeError) + ensure( + len(passwd_hash) <= 127, + "Hash must be at most 127 bytes long", + raising=exc.ValueError, + ) + + ret = lib.crypto_pwhash_str_verify(passwd_hash, passwd, len(passwd)) + + ensure(ret == 0, "Wrong password", raising=exc.InvalidkeyError) + # all went well, therefore: + return True + + +crypto_pwhash_argon2i_str_verify = crypto_pwhash_str_verify diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_scalarmult.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_scalarmult.py new file mode 100644 index 0000000000000000000000000000000000000000..ca4a2819d9a01f05da2df5dea3d13a3f23a64d22 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_scalarmult.py @@ -0,0 +1,240 @@ +# Copyright 2013-2018 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +has_crypto_scalarmult_ed25519 = bool(lib.PYNACL_HAS_CRYPTO_SCALARMULT_ED25519) + +crypto_scalarmult_BYTES: int = lib.crypto_scalarmult_bytes() +crypto_scalarmult_SCALARBYTES: int = lib.crypto_scalarmult_scalarbytes() + +crypto_scalarmult_ed25519_BYTES = 0 +crypto_scalarmult_ed25519_SCALARBYTES = 0 + +if has_crypto_scalarmult_ed25519: + crypto_scalarmult_ed25519_BYTES = lib.crypto_scalarmult_ed25519_bytes() + crypto_scalarmult_ed25519_SCALARBYTES = ( + lib.crypto_scalarmult_ed25519_scalarbytes() + ) + + +def crypto_scalarmult_base(n: bytes) -> bytes: + """ + Computes and returns the scalar product of a standard group element and an + integer ``n``. + + :param n: bytes + :rtype: bytes + """ + q = ffi.new("unsigned char[]", crypto_scalarmult_BYTES) + + rc = lib.crypto_scalarmult_base(q, n) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(q, crypto_scalarmult_SCALARBYTES)[:] + + +def crypto_scalarmult(n: bytes, p: bytes) -> bytes: + """ + Computes and returns the scalar product of the given group element and an + integer ``n``. + + :param p: bytes + :param n: bytes + :rtype: bytes + """ + q = ffi.new("unsigned char[]", crypto_scalarmult_BYTES) + + rc = lib.crypto_scalarmult(q, n, p) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(q, crypto_scalarmult_SCALARBYTES)[:] + + +def crypto_scalarmult_ed25519_base(n: bytes) -> bytes: + """ + Computes and returns the scalar product of a standard group element and an + integer ``n`` on the edwards25519 curve. + + :param n: a :py:data:`.crypto_scalarmult_ed25519_SCALARBYTES` long bytes + sequence representing a scalar + :type n: bytes + :return: a point on the edwards25519 curve, represented as a + :py:data:`.crypto_scalarmult_ed25519_BYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_scalarmult_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(n, bytes) + and len(n) == crypto_scalarmult_ed25519_SCALARBYTES, + "Input must be a {} long bytes sequence".format( + "crypto_scalarmult_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + q = ffi.new("unsigned char[]", crypto_scalarmult_ed25519_BYTES) + + rc = lib.crypto_scalarmult_ed25519_base(q, n) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(q, crypto_scalarmult_ed25519_BYTES)[:] + + +def crypto_scalarmult_ed25519_base_noclamp(n: bytes) -> bytes: + """ + Computes and returns the scalar product of a standard group element and an + integer ``n`` on the edwards25519 curve. The integer ``n`` is not clamped. + + :param n: a :py:data:`.crypto_scalarmult_ed25519_SCALARBYTES` long bytes + sequence representing a scalar + :type n: bytes + :return: a point on the edwards25519 curve, represented as a + :py:data:`.crypto_scalarmult_ed25519_BYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_scalarmult_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(n, bytes) + and len(n) == crypto_scalarmult_ed25519_SCALARBYTES, + "Input must be a {} long bytes sequence".format( + "crypto_scalarmult_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + q = ffi.new("unsigned char[]", crypto_scalarmult_ed25519_BYTES) + + rc = lib.crypto_scalarmult_ed25519_base_noclamp(q, n) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(q, crypto_scalarmult_ed25519_BYTES)[:] + + +def crypto_scalarmult_ed25519(n: bytes, p: bytes) -> bytes: + """ + Computes and returns the scalar product of a *clamped* integer ``n`` + and the given group element on the edwards25519 curve. + The scalar is clamped, as done in the public key generation case, + by setting to zero the bits in position [0, 1, 2, 255] and setting + to one the bit in position 254. + + :param n: a :py:data:`.crypto_scalarmult_ed25519_SCALARBYTES` long bytes + sequence representing a scalar + :type n: bytes + :param p: a :py:data:`.crypto_scalarmult_ed25519_BYTES` long bytes sequence + representing a point on the edwards25519 curve + :type p: bytes + :return: a point on the edwards25519 curve, represented as a + :py:data:`.crypto_scalarmult_ed25519_BYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_scalarmult_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(n, bytes) + and len(n) == crypto_scalarmult_ed25519_SCALARBYTES, + "Input must be a {} long bytes sequence".format( + "crypto_scalarmult_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + ensure( + isinstance(p, bytes) and len(p) == crypto_scalarmult_ed25519_BYTES, + "Input must be a {} long bytes sequence".format( + "crypto_scalarmult_ed25519_BYTES" + ), + raising=exc.TypeError, + ) + + q = ffi.new("unsigned char[]", crypto_scalarmult_ed25519_BYTES) + + rc = lib.crypto_scalarmult_ed25519(q, n, p) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(q, crypto_scalarmult_ed25519_BYTES)[:] + + +def crypto_scalarmult_ed25519_noclamp(n: bytes, p: bytes) -> bytes: + """ + Computes and returns the scalar product of an integer ``n`` + and the given group element on the edwards25519 curve. The integer + ``n`` is not clamped. + + :param n: a :py:data:`.crypto_scalarmult_ed25519_SCALARBYTES` long bytes + sequence representing a scalar + :type n: bytes + :param p: a :py:data:`.crypto_scalarmult_ed25519_BYTES` long bytes sequence + representing a point on the edwards25519 curve + :type p: bytes + :return: a point on the edwards25519 curve, represented as a + :py:data:`.crypto_scalarmult_ed25519_BYTES` long bytes sequence + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_scalarmult_ed25519, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + isinstance(n, bytes) + and len(n) == crypto_scalarmult_ed25519_SCALARBYTES, + "Input must be a {} long bytes sequence".format( + "crypto_scalarmult_ed25519_SCALARBYTES" + ), + raising=exc.TypeError, + ) + + ensure( + isinstance(p, bytes) and len(p) == crypto_scalarmult_ed25519_BYTES, + "Input must be a {} long bytes sequence".format( + "crypto_scalarmult_ed25519_BYTES" + ), + raising=exc.TypeError, + ) + + q = ffi.new("unsigned char[]", crypto_scalarmult_ed25519_BYTES) + + rc = lib.crypto_scalarmult_ed25519_noclamp(q, n, p) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(q, crypto_scalarmult_ed25519_BYTES)[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_secretbox.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_secretbox.py new file mode 100644 index 0000000000000000000000000000000000000000..2a632a2bc4d547a12a6402e5fbe01a1744e915a0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_secretbox.py @@ -0,0 +1,86 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +crypto_secretbox_KEYBYTES: int = lib.crypto_secretbox_keybytes() +crypto_secretbox_NONCEBYTES: int = lib.crypto_secretbox_noncebytes() +crypto_secretbox_ZEROBYTES: int = lib.crypto_secretbox_zerobytes() +crypto_secretbox_BOXZEROBYTES: int = lib.crypto_secretbox_boxzerobytes() +crypto_secretbox_MACBYTES: int = lib.crypto_secretbox_macbytes() +crypto_secretbox_MESSAGEBYTES_MAX: int = ( + lib.crypto_secretbox_messagebytes_max() +) + + +def crypto_secretbox(message: bytes, nonce: bytes, key: bytes) -> bytes: + """ + Encrypts and returns the message ``message`` with the secret ``key`` and + the nonce ``nonce``. + + :param message: bytes + :param nonce: bytes + :param key: bytes + :rtype: bytes + """ + if len(key) != crypto_secretbox_KEYBYTES: + raise exc.ValueError("Invalid key") + + if len(nonce) != crypto_secretbox_NONCEBYTES: + raise exc.ValueError("Invalid nonce") + + padded = b"\x00" * crypto_secretbox_ZEROBYTES + message + ciphertext = ffi.new("unsigned char[]", len(padded)) + + res = lib.crypto_secretbox(ciphertext, padded, len(padded), nonce, key) + ensure(res == 0, "Encryption failed", raising=exc.CryptoError) + + ciphertext = ffi.buffer(ciphertext, len(padded)) + return ciphertext[crypto_secretbox_BOXZEROBYTES:] + + +def crypto_secretbox_open( + ciphertext: bytes, nonce: bytes, key: bytes +) -> bytes: + """ + Decrypt and returns the encrypted message ``ciphertext`` with the secret + ``key`` and the nonce ``nonce``. + + :param ciphertext: bytes + :param nonce: bytes + :param key: bytes + :rtype: bytes + """ + if len(key) != crypto_secretbox_KEYBYTES: + raise exc.ValueError("Invalid key") + + if len(nonce) != crypto_secretbox_NONCEBYTES: + raise exc.ValueError("Invalid nonce") + + padded = b"\x00" * crypto_secretbox_BOXZEROBYTES + ciphertext + plaintext = ffi.new("unsigned char[]", len(padded)) + + res = lib.crypto_secretbox_open(plaintext, padded, len(padded), nonce, key) + ensure( + res == 0, + "Decryption failed. Ciphertext failed verification", + raising=exc.CryptoError, + ) + + plaintext = ffi.buffer(plaintext, len(padded)) + return plaintext[crypto_secretbox_ZEROBYTES:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_secretstream.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_secretstream.py new file mode 100644 index 0000000000000000000000000000000000000000..d7c6725e54f70a023cffd34f4f9ebd080cd73987 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_secretstream.py @@ -0,0 +1,357 @@ +# Copyright 2013-2018 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from typing import ByteString, Optional, Tuple, cast + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +crypto_secretstream_xchacha20poly1305_ABYTES: int = ( + lib.crypto_secretstream_xchacha20poly1305_abytes() +) +crypto_secretstream_xchacha20poly1305_HEADERBYTES: int = ( + lib.crypto_secretstream_xchacha20poly1305_headerbytes() +) +crypto_secretstream_xchacha20poly1305_KEYBYTES: int = ( + lib.crypto_secretstream_xchacha20poly1305_keybytes() +) +crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX: int = ( + lib.crypto_secretstream_xchacha20poly1305_messagebytes_max() +) +crypto_secretstream_xchacha20poly1305_STATEBYTES: int = ( + lib.crypto_secretstream_xchacha20poly1305_statebytes() +) + + +crypto_secretstream_xchacha20poly1305_TAG_MESSAGE: int = ( + lib.crypto_secretstream_xchacha20poly1305_tag_message() +) +crypto_secretstream_xchacha20poly1305_TAG_PUSH: int = ( + lib.crypto_secretstream_xchacha20poly1305_tag_push() +) +crypto_secretstream_xchacha20poly1305_TAG_REKEY: int = ( + lib.crypto_secretstream_xchacha20poly1305_tag_rekey() +) +crypto_secretstream_xchacha20poly1305_TAG_FINAL: int = ( + lib.crypto_secretstream_xchacha20poly1305_tag_final() +) + + +def crypto_secretstream_xchacha20poly1305_keygen() -> bytes: + """ + Generate a key for use with + :func:`.crypto_secretstream_xchacha20poly1305_init_push`. + + """ + keybuf = ffi.new( + "unsigned char[]", + crypto_secretstream_xchacha20poly1305_KEYBYTES, + ) + lib.crypto_secretstream_xchacha20poly1305_keygen(keybuf) + return ffi.buffer(keybuf)[:] + + +class crypto_secretstream_xchacha20poly1305_state: + """ + An object wrapping the crypto_secretstream_xchacha20poly1305 state. + + """ + + __slots__ = ["statebuf", "rawbuf", "tagbuf"] + + def __init__(self) -> None: + """Initialize a clean state object.""" + self.statebuf: ByteString = ffi.new( + "unsigned char[]", + crypto_secretstream_xchacha20poly1305_STATEBYTES, + ) + + self.rawbuf: Optional[ByteString] = None + self.tagbuf: Optional[ByteString] = None + + +def crypto_secretstream_xchacha20poly1305_init_push( + state: crypto_secretstream_xchacha20poly1305_state, key: bytes +) -> bytes: + """ + Initialize a crypto_secretstream_xchacha20poly1305 encryption buffer. + + :param state: a secretstream state object + :type state: crypto_secretstream_xchacha20poly1305_state + :param key: must be + :data:`.crypto_secretstream_xchacha20poly1305_KEYBYTES` long + :type key: bytes + :return: header + :rtype: bytes + + """ + ensure( + isinstance(state, crypto_secretstream_xchacha20poly1305_state), + "State must be a crypto_secretstream_xchacha20poly1305_state object", + raising=exc.TypeError, + ) + ensure( + isinstance(key, bytes), + "Key must be a bytes sequence", + raising=exc.TypeError, + ) + ensure( + len(key) == crypto_secretstream_xchacha20poly1305_KEYBYTES, + "Invalid key length", + raising=exc.ValueError, + ) + + headerbuf = ffi.new( + "unsigned char []", + crypto_secretstream_xchacha20poly1305_HEADERBYTES, + ) + + rc = lib.crypto_secretstream_xchacha20poly1305_init_push( + state.statebuf, headerbuf, key + ) + ensure(rc == 0, "Unexpected failure", raising=exc.RuntimeError) + + return ffi.buffer(headerbuf)[:] + + +def crypto_secretstream_xchacha20poly1305_push( + state: crypto_secretstream_xchacha20poly1305_state, + m: bytes, + ad: Optional[bytes] = None, + tag: int = crypto_secretstream_xchacha20poly1305_TAG_MESSAGE, +) -> bytes: + """ + Add an encrypted message to the secret stream. + + :param state: a secretstream state object + :type state: crypto_secretstream_xchacha20poly1305_state + :param m: the message to encrypt, the maximum length of an individual + message is + :data:`.crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX`. + :type m: bytes + :param ad: additional data to include in the authentication tag + :type ad: bytes or None + :param tag: the message tag, usually + :data:`.crypto_secretstream_xchacha20poly1305_TAG_MESSAGE` or + :data:`.crypto_secretstream_xchacha20poly1305_TAG_FINAL`. + :type tag: int + :return: ciphertext + :rtype: bytes + + """ + ensure( + isinstance(state, crypto_secretstream_xchacha20poly1305_state), + "State must be a crypto_secretstream_xchacha20poly1305_state object", + raising=exc.TypeError, + ) + ensure(isinstance(m, bytes), "Message is not bytes", raising=exc.TypeError) + ensure( + len(m) <= crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX, + "Message is too long", + raising=exc.ValueError, + ) + ensure( + ad is None or isinstance(ad, bytes), + "Additional data must be bytes or None", + raising=exc.TypeError, + ) + + clen = len(m) + crypto_secretstream_xchacha20poly1305_ABYTES + if state.rawbuf is None or len(state.rawbuf) < clen: + state.rawbuf = ffi.new("unsigned char[]", clen) + + if ad is None: + ad = ffi.NULL + adlen = 0 + else: + adlen = len(ad) + + rc = lib.crypto_secretstream_xchacha20poly1305_push( + state.statebuf, + state.rawbuf, + ffi.NULL, + m, + len(m), + ad, + adlen, + tag, + ) + ensure(rc == 0, "Unexpected failure", raising=exc.RuntimeError) + + return ffi.buffer(state.rawbuf, clen)[:] + + +def crypto_secretstream_xchacha20poly1305_init_pull( + state: crypto_secretstream_xchacha20poly1305_state, + header: bytes, + key: bytes, +) -> None: + """ + Initialize a crypto_secretstream_xchacha20poly1305 decryption buffer. + + :param state: a secretstream state object + :type state: crypto_secretstream_xchacha20poly1305_state + :param header: must be + :data:`.crypto_secretstream_xchacha20poly1305_HEADERBYTES` long + :type header: bytes + :param key: must be + :data:`.crypto_secretstream_xchacha20poly1305_KEYBYTES` long + :type key: bytes + + """ + ensure( + isinstance(state, crypto_secretstream_xchacha20poly1305_state), + "State must be a crypto_secretstream_xchacha20poly1305_state object", + raising=exc.TypeError, + ) + ensure( + isinstance(header, bytes), + "Header must be a bytes sequence", + raising=exc.TypeError, + ) + ensure( + len(header) == crypto_secretstream_xchacha20poly1305_HEADERBYTES, + "Invalid header length", + raising=exc.ValueError, + ) + ensure( + isinstance(key, bytes), + "Key must be a bytes sequence", + raising=exc.TypeError, + ) + ensure( + len(key) == crypto_secretstream_xchacha20poly1305_KEYBYTES, + "Invalid key length", + raising=exc.ValueError, + ) + + if state.tagbuf is None: + state.tagbuf = ffi.new("unsigned char *") + + rc = lib.crypto_secretstream_xchacha20poly1305_init_pull( + state.statebuf, header, key + ) + ensure(rc == 0, "Unexpected failure", raising=exc.RuntimeError) + + +def crypto_secretstream_xchacha20poly1305_pull( + state: crypto_secretstream_xchacha20poly1305_state, + c: bytes, + ad: Optional[bytes] = None, +) -> Tuple[bytes, int]: + """ + Read a decrypted message from the secret stream. + + :param state: a secretstream state object + :type state: crypto_secretstream_xchacha20poly1305_state + :param c: the ciphertext to decrypt, the maximum length of an individual + ciphertext is + :data:`.crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX` + + :data:`.crypto_secretstream_xchacha20poly1305_ABYTES`. + :type c: bytes + :param ad: additional data to include in the authentication tag + :type ad: bytes or None + :return: (message, tag) + :rtype: (bytes, int) + + """ + ensure( + isinstance(state, crypto_secretstream_xchacha20poly1305_state), + "State must be a crypto_secretstream_xchacha20poly1305_state object", + raising=exc.TypeError, + ) + ensure( + state.tagbuf is not None, + ( + "State must be initialized using " + "crypto_secretstream_xchacha20poly1305_init_pull" + ), + raising=exc.ValueError, + ) + ensure( + isinstance(c, bytes), + "Ciphertext is not bytes", + raising=exc.TypeError, + ) + ensure( + len(c) >= crypto_secretstream_xchacha20poly1305_ABYTES, + "Ciphertext is too short", + raising=exc.ValueError, + ) + ensure( + len(c) + <= ( + crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX + + crypto_secretstream_xchacha20poly1305_ABYTES + ), + "Ciphertext is too long", + raising=exc.ValueError, + ) + ensure( + ad is None or isinstance(ad, bytes), + "Additional data must be bytes or None", + raising=exc.TypeError, + ) + + mlen = len(c) - crypto_secretstream_xchacha20poly1305_ABYTES + if state.rawbuf is None or len(state.rawbuf) < mlen: + state.rawbuf = ffi.new("unsigned char[]", mlen) + + if ad is None: + ad = ffi.NULL + adlen = 0 + else: + adlen = len(ad) + + rc = lib.crypto_secretstream_xchacha20poly1305_pull( + state.statebuf, + state.rawbuf, + ffi.NULL, + state.tagbuf, + c, + len(c), + ad, + adlen, + ) + ensure(rc == 0, "Unexpected failure", raising=exc.RuntimeError) + + # Cast safety: we `ensure` above that `state.tagbuf is not None`. + return ( + ffi.buffer(state.rawbuf, mlen)[:], + int(cast(bytes, state.tagbuf)[0]), + ) + + +def crypto_secretstream_xchacha20poly1305_rekey( + state: crypto_secretstream_xchacha20poly1305_state, +) -> None: + """ + Explicitly change the encryption key in the stream. + + Normally the stream is re-keyed as needed or an explicit ``tag`` of + :data:`.crypto_secretstream_xchacha20poly1305_TAG_REKEY` is added to a + message to ensure forward secrecy, but this method can be used instead + if the re-keying is controlled without adding the tag. + + :param state: a secretstream state object + :type state: crypto_secretstream_xchacha20poly1305_state + + """ + ensure( + isinstance(state, crypto_secretstream_xchacha20poly1305_state), + "State must be a crypto_secretstream_xchacha20poly1305_state object", + raising=exc.TypeError, + ) + lib.crypto_secretstream_xchacha20poly1305_rekey(state.statebuf) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_shorthash.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_shorthash.py new file mode 100644 index 0000000000000000000000000000000000000000..8f7d209e44dc277323f4df4d8fc4e1b726603fb3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_shorthash.py @@ -0,0 +1,81 @@ +# Copyright 2016 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import nacl.exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +has_crypto_shorthash_siphashx24 = bool( + lib.PYNACL_HAS_CRYPTO_SHORTHASH_SIPHASHX24 +) + +BYTES: int = lib.crypto_shorthash_siphash24_bytes() +KEYBYTES: int = lib.crypto_shorthash_siphash24_keybytes() + +XBYTES = 0 +XKEYBYTES = 0 + +if has_crypto_shorthash_siphashx24: + XBYTES = lib.crypto_shorthash_siphashx24_bytes() + XKEYBYTES = lib.crypto_shorthash_siphashx24_keybytes() + + +def crypto_shorthash_siphash24(data: bytes, key: bytes) -> bytes: + """Compute a fast, cryptographic quality, keyed hash of the input data + + :param data: + :type data: bytes + :param key: len(key) must be equal to + :py:data:`.KEYBYTES` (16) + :type key: bytes + """ + if len(key) != KEYBYTES: + raise exc.ValueError( + "Key length must be exactly {} bytes".format(KEYBYTES) + ) + digest = ffi.new("unsigned char[]", BYTES) + rc = lib.crypto_shorthash_siphash24(digest, data, len(data), key) + + ensure(rc == 0, raising=exc.RuntimeError) + return ffi.buffer(digest, BYTES)[:] + + +def crypto_shorthash_siphashx24(data: bytes, key: bytes) -> bytes: + """Compute a fast, cryptographic quality, keyed hash of the input data + + :param data: + :type data: bytes + :param key: len(key) must be equal to + :py:data:`.XKEYBYTES` (16) + :type key: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + """ + ensure( + has_crypto_shorthash_siphashx24, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + if len(key) != XKEYBYTES: + raise exc.ValueError( + "Key length must be exactly {} bytes".format(XKEYBYTES) + ) + digest = ffi.new("unsigned char[]", XBYTES) + rc = lib.crypto_shorthash_siphashx24(digest, data, len(data), key) + + ensure(rc == 0, raising=exc.RuntimeError) + return ffi.buffer(digest, XBYTES)[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_sign.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_sign.py new file mode 100644 index 0000000000000000000000000000000000000000..de3be47a1b24d9953ec8cb30c08d9b855172bae5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/crypto_sign.py @@ -0,0 +1,327 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from typing import Tuple + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +crypto_sign_BYTES: int = lib.crypto_sign_bytes() +# crypto_sign_SEEDBYTES = lib.crypto_sign_seedbytes() +crypto_sign_SEEDBYTES: int = lib.crypto_sign_secretkeybytes() // 2 +crypto_sign_PUBLICKEYBYTES: int = lib.crypto_sign_publickeybytes() +crypto_sign_SECRETKEYBYTES: int = lib.crypto_sign_secretkeybytes() + +crypto_sign_curve25519_BYTES: int = lib.crypto_box_secretkeybytes() + +crypto_sign_ed25519ph_STATEBYTES: int = lib.crypto_sign_ed25519ph_statebytes() + + +def crypto_sign_keypair() -> Tuple[bytes, bytes]: + """ + Returns a randomly generated public key and secret key. + + :rtype: (bytes(public_key), bytes(secret_key)) + """ + pk = ffi.new("unsigned char[]", crypto_sign_PUBLICKEYBYTES) + sk = ffi.new("unsigned char[]", crypto_sign_SECRETKEYBYTES) + + rc = lib.crypto_sign_keypair(pk, sk) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ( + ffi.buffer(pk, crypto_sign_PUBLICKEYBYTES)[:], + ffi.buffer(sk, crypto_sign_SECRETKEYBYTES)[:], + ) + + +def crypto_sign_seed_keypair(seed: bytes) -> Tuple[bytes, bytes]: + """ + Computes and returns the public key and secret key using the seed ``seed``. + + :param seed: bytes + :rtype: (bytes(public_key), bytes(secret_key)) + """ + if len(seed) != crypto_sign_SEEDBYTES: + raise exc.ValueError("Invalid seed") + + pk = ffi.new("unsigned char[]", crypto_sign_PUBLICKEYBYTES) + sk = ffi.new("unsigned char[]", crypto_sign_SECRETKEYBYTES) + + rc = lib.crypto_sign_seed_keypair(pk, sk, seed) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ( + ffi.buffer(pk, crypto_sign_PUBLICKEYBYTES)[:], + ffi.buffer(sk, crypto_sign_SECRETKEYBYTES)[:], + ) + + +def crypto_sign(message: bytes, sk: bytes) -> bytes: + """ + Signs the message ``message`` using the secret key ``sk`` and returns the + signed message. + + :param message: bytes + :param sk: bytes + :rtype: bytes + """ + signed = ffi.new("unsigned char[]", len(message) + crypto_sign_BYTES) + signed_len = ffi.new("unsigned long long *") + + rc = lib.crypto_sign(signed, signed_len, message, len(message), sk) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(signed, signed_len[0])[:] + + +def crypto_sign_open(signed: bytes, pk: bytes) -> bytes: + """ + Verifies the signature of the signed message ``signed`` using the public + key ``pk`` and returns the unsigned message. + + :param signed: bytes + :param pk: bytes + :rtype: bytes + """ + message = ffi.new("unsigned char[]", len(signed)) + message_len = ffi.new("unsigned long long *") + + if ( + lib.crypto_sign_open(message, message_len, signed, len(signed), pk) + != 0 + ): + raise exc.BadSignatureError("Signature was forged or corrupt") + + return ffi.buffer(message, message_len[0])[:] + + +def crypto_sign_ed25519_pk_to_curve25519(public_key_bytes: bytes) -> bytes: + """ + Converts a public Ed25519 key (encoded as bytes ``public_key_bytes``) to + a public Curve25519 key as bytes. + + Raises a ValueError if ``public_key_bytes`` is not of length + ``crypto_sign_PUBLICKEYBYTES`` + + :param public_key_bytes: bytes + :rtype: bytes + """ + if len(public_key_bytes) != crypto_sign_PUBLICKEYBYTES: + raise exc.ValueError("Invalid curve public key") + + curve_public_key_len = crypto_sign_curve25519_BYTES + curve_public_key = ffi.new("unsigned char[]", curve_public_key_len) + + rc = lib.crypto_sign_ed25519_pk_to_curve25519( + curve_public_key, public_key_bytes + ) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(curve_public_key, curve_public_key_len)[:] + + +def crypto_sign_ed25519_sk_to_curve25519(secret_key_bytes: bytes) -> bytes: + """ + Converts a secret Ed25519 key (encoded as bytes ``secret_key_bytes``) to + a secret Curve25519 key as bytes. + + Raises a ValueError if ``secret_key_bytes``is not of length + ``crypto_sign_SECRETKEYBYTES`` + + :param secret_key_bytes: bytes + :rtype: bytes + """ + if len(secret_key_bytes) != crypto_sign_SECRETKEYBYTES: + raise exc.ValueError("Invalid curve secret key") + + curve_secret_key_len = crypto_sign_curve25519_BYTES + curve_secret_key = ffi.new("unsigned char[]", curve_secret_key_len) + + rc = lib.crypto_sign_ed25519_sk_to_curve25519( + curve_secret_key, secret_key_bytes + ) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(curve_secret_key, curve_secret_key_len)[:] + + +def crypto_sign_ed25519_sk_to_pk(secret_key_bytes: bytes) -> bytes: + """ + Extract the public Ed25519 key from a secret Ed25519 key (encoded + as bytes ``secret_key_bytes``). + + Raises a ValueError if ``secret_key_bytes``is not of length + ``crypto_sign_SECRETKEYBYTES`` + + :param secret_key_bytes: bytes + :rtype: bytes + """ + if len(secret_key_bytes) != crypto_sign_SECRETKEYBYTES: + raise exc.ValueError("Invalid secret key") + + return secret_key_bytes[crypto_sign_SEEDBYTES:] + + +def crypto_sign_ed25519_sk_to_seed(secret_key_bytes: bytes) -> bytes: + """ + Extract the seed from a secret Ed25519 key (encoded + as bytes ``secret_key_bytes``). + + Raises a ValueError if ``secret_key_bytes``is not of length + ``crypto_sign_SECRETKEYBYTES`` + + :param secret_key_bytes: bytes + :rtype: bytes + """ + if len(secret_key_bytes) != crypto_sign_SECRETKEYBYTES: + raise exc.ValueError("Invalid secret key") + + return secret_key_bytes[:crypto_sign_SEEDBYTES] + + +class crypto_sign_ed25519ph_state: + """ + State object wrapping the sha-512 state used in ed25519ph computation + """ + + __slots__ = ["state"] + + def __init__(self) -> None: + self.state: bytes = ffi.new( + "unsigned char[]", crypto_sign_ed25519ph_STATEBYTES + ) + + rc = lib.crypto_sign_ed25519ph_init(self.state) + + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + +def crypto_sign_ed25519ph_update( + edph: crypto_sign_ed25519ph_state, pmsg: bytes +) -> None: + """ + Update the hash state wrapped in edph + + :param edph: the ed25519ph state being updated + :type edph: crypto_sign_ed25519ph_state + :param pmsg: the partial message + :type pmsg: bytes + :rtype: None + """ + ensure( + isinstance(edph, crypto_sign_ed25519ph_state), + "edph parameter must be a ed25519ph_state object", + raising=exc.TypeError, + ) + ensure( + isinstance(pmsg, bytes), + "pmsg parameter must be a bytes object", + raising=exc.TypeError, + ) + rc = lib.crypto_sign_ed25519ph_update(edph.state, pmsg, len(pmsg)) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + +def crypto_sign_ed25519ph_final_create( + edph: crypto_sign_ed25519ph_state, sk: bytes +) -> bytes: + """ + Create a signature for the data hashed in edph + using the secret key sk + + :param edph: the ed25519ph state for the data + being signed + :type edph: crypto_sign_ed25519ph_state + :param sk: the ed25519 secret part of the signing key + :type sk: bytes + :return: ed25519ph signature + :rtype: bytes + """ + ensure( + isinstance(edph, crypto_sign_ed25519ph_state), + "edph parameter must be a ed25519ph_state object", + raising=exc.TypeError, + ) + ensure( + isinstance(sk, bytes), + "secret key parameter must be a bytes object", + raising=exc.TypeError, + ) + ensure( + len(sk) == crypto_sign_SECRETKEYBYTES, + ("secret key must be {} bytes long").format( + crypto_sign_SECRETKEYBYTES + ), + raising=exc.TypeError, + ) + signature = ffi.new("unsigned char[]", crypto_sign_BYTES) + rc = lib.crypto_sign_ed25519ph_final_create( + edph.state, signature, ffi.NULL, sk + ) + ensure(rc == 0, "Unexpected library error", raising=exc.RuntimeError) + + return ffi.buffer(signature, crypto_sign_BYTES)[:] + + +def crypto_sign_ed25519ph_final_verify( + edph: crypto_sign_ed25519ph_state, signature: bytes, pk: bytes +) -> bool: + """ + Verify a prehashed signature using the public key pk + + :param edph: the ed25519ph state for the data + being verified + :type edph: crypto_sign_ed25519ph_state + :param signature: the signature being verified + :type signature: bytes + :param pk: the ed25519 public part of the signing key + :type pk: bytes + :return: True if the signature is valid + :rtype: boolean + :raises exc.BadSignatureError: if the signature is not valid + """ + ensure( + isinstance(edph, crypto_sign_ed25519ph_state), + "edph parameter must be a ed25519ph_state object", + raising=exc.TypeError, + ) + ensure( + isinstance(signature, bytes), + "signature parameter must be a bytes object", + raising=exc.TypeError, + ) + ensure( + len(signature) == crypto_sign_BYTES, + ("signature must be {} bytes long").format(crypto_sign_BYTES), + raising=exc.TypeError, + ) + ensure( + isinstance(pk, bytes), + "public key parameter must be a bytes object", + raising=exc.TypeError, + ) + ensure( + len(pk) == crypto_sign_PUBLICKEYBYTES, + ("public key must be {} bytes long").format( + crypto_sign_PUBLICKEYBYTES + ), + raising=exc.TypeError, + ) + rc = lib.crypto_sign_ed25519ph_final_verify(edph.state, signature, pk) + if rc != 0: + raise exc.BadSignatureError("Signature was forged or corrupt") + + return True diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/randombytes.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/randombytes.py new file mode 100644 index 0000000000000000000000000000000000000000..ed76deb5f978b549e312957aa84588b25e32176f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/randombytes.py @@ -0,0 +1,51 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib + +randombytes_SEEDBYTES: int = lib.randombytes_seedbytes() + + +def randombytes(size: int) -> bytes: + """ + Returns ``size`` number of random bytes from a cryptographically secure + random source. + + :param size: int + :rtype: bytes + """ + buf = ffi.new("unsigned char[]", size) + lib.randombytes(buf, size) + return ffi.buffer(buf, size)[:] + + +def randombytes_buf_deterministic(size: int, seed: bytes) -> bytes: + """ + Returns ``size`` number of deterministically generated pseudorandom bytes + from a seed + + :param size: int + :param seed: bytes + :rtype: bytes + """ + if len(seed) != randombytes_SEEDBYTES: + raise exc.TypeError( + "Deterministic random bytes must be generated from 32 bytes" + ) + + buf = ffi.new("unsigned char[]", size) + lib.randombytes_buf_deterministic(buf, size, seed) + return ffi.buffer(buf, size)[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/sodium_core.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/sodium_core.py new file mode 100644 index 0000000000000000000000000000000000000000..7ebb84c82b2cd91f7b607de82082e93c7364b0c6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/sodium_core.py @@ -0,0 +1,33 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from nacl import exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +def _sodium_init() -> None: + ensure( + lib.sodium_init() != -1, + "Could not initialize sodium", + raising=exc.RuntimeError, + ) + + +def sodium_init() -> None: + """ + Initializes sodium, picking the best implementations available for this + machine. + """ + ffi.init_once(_sodium_init, "libsodium") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..0ff22e34fc05b37cf4b1b667154949b519d72056 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/bindings/utils.py @@ -0,0 +1,141 @@ +# Copyright 2013-2017 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import nacl.exceptions as exc +from nacl._sodium import ffi, lib +from nacl.exceptions import ensure + + +def sodium_memcmp(inp1: bytes, inp2: bytes) -> bool: + """ + Compare contents of two memory regions in constant time + """ + ensure(isinstance(inp1, bytes), raising=exc.TypeError) + ensure(isinstance(inp2, bytes), raising=exc.TypeError) + + ln = max(len(inp1), len(inp2)) + + buf1 = ffi.new("char []", ln) + buf2 = ffi.new("char []", ln) + + ffi.memmove(buf1, inp1, len(inp1)) + ffi.memmove(buf2, inp2, len(inp2)) + + eqL = len(inp1) == len(inp2) + eqC = lib.sodium_memcmp(buf1, buf2, ln) == 0 + + return eqL and eqC + + +def sodium_pad(s: bytes, blocksize: int) -> bytes: + """ + Pad the input bytearray ``s`` to a multiple of ``blocksize`` + using the ISO/IEC 7816-4 algorithm + + :param s: input bytes string + :type s: bytes + :param blocksize: + :type blocksize: int + :return: padded string + :rtype: bytes + """ + ensure(isinstance(s, bytes), raising=exc.TypeError) + ensure(isinstance(blocksize, int), raising=exc.TypeError) + if blocksize <= 0: + raise exc.ValueError + s_len = len(s) + m_len = s_len + blocksize + buf = ffi.new("unsigned char []", m_len) + p_len = ffi.new("size_t []", 1) + ffi.memmove(buf, s, s_len) + rc = lib.sodium_pad(p_len, buf, s_len, blocksize, m_len) + ensure(rc == 0, "Padding failure", raising=exc.CryptoError) + return ffi.buffer(buf, p_len[0])[:] + + +def sodium_unpad(s: bytes, blocksize: int) -> bytes: + """ + Remove ISO/IEC 7816-4 padding from the input byte array ``s`` + + :param s: input bytes string + :type s: bytes + :param blocksize: + :type blocksize: int + :return: unpadded string + :rtype: bytes + """ + ensure(isinstance(s, bytes), raising=exc.TypeError) + ensure(isinstance(blocksize, int), raising=exc.TypeError) + s_len = len(s) + u_len = ffi.new("size_t []", 1) + rc = lib.sodium_unpad(u_len, s, s_len, blocksize) + if rc != 0: + raise exc.CryptoError("Unpadding failure") + return s[: u_len[0]] + + +def sodium_increment(inp: bytes) -> bytes: + """ + Increment the value of a byte-sequence interpreted + as the little-endian representation of a unsigned big integer. + + :param inp: input bytes buffer + :type inp: bytes + :return: a byte-sequence representing, as a little-endian + unsigned big integer, the value ``to_int(inp)`` + incremented by one. + :rtype: bytes + + """ + ensure(isinstance(inp, bytes), raising=exc.TypeError) + + ln = len(inp) + buf = ffi.new("unsigned char []", ln) + + ffi.memmove(buf, inp, ln) + + lib.sodium_increment(buf, ln) + + return ffi.buffer(buf, ln)[:] + + +def sodium_add(a: bytes, b: bytes) -> bytes: + """ + Given a couple of *same-sized* byte sequences, interpreted as the + little-endian representation of two unsigned integers, compute + the modular addition of the represented values, in constant time for + a given common length of the byte sequences. + + :param a: input bytes buffer + :type a: bytes + :param b: input bytes buffer + :type b: bytes + :return: a byte-sequence representing, as a little-endian big integer, + the integer value of ``(to_int(a) + to_int(b)) mod 2^(8*len(a))`` + :rtype: bytes + """ + ensure(isinstance(a, bytes), raising=exc.TypeError) + ensure(isinstance(b, bytes), raising=exc.TypeError) + ln = len(a) + ensure(len(b) == ln, raising=exc.TypeError) + + buf_a = ffi.new("unsigned char []", ln) + buf_b = ffi.new("unsigned char []", ln) + + ffi.memmove(buf_a, a, ln) + ffi.memmove(buf_b, b, ln) + + lib.sodium_add(buf_a, buf_b, ln) + + return ffi.buffer(buf_a, ln)[:] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..ffd76a64c5ab9b7649f276c8d8a182ae76db9389 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__init__.py @@ -0,0 +1,75 @@ +# Copyright 2017 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from nacl.exceptions import CryptPrefixError + +from . import _argon2, argon2i, argon2id, scrypt + +STRPREFIX = argon2id.STRPREFIX + +PWHASH_SIZE = argon2id.PWHASH_SIZE + +assert _argon2.ALG_ARGON2_DEFAULT == _argon2.ALG_ARGON2ID13 +# since version 1.0.15 of libsodium + +PASSWD_MIN = argon2id.PASSWD_MIN +PASSWD_MAX = argon2id.PASSWD_MAX +MEMLIMIT_MAX = argon2id.MEMLIMIT_MAX +MEMLIMIT_MIN = argon2id.MEMLIMIT_MIN +OPSLIMIT_MAX = argon2id.OPSLIMIT_MAX +OPSLIMIT_MIN = argon2id.OPSLIMIT_MIN +OPSLIMIT_INTERACTIVE = argon2id.OPSLIMIT_INTERACTIVE +MEMLIMIT_INTERACTIVE = argon2id.MEMLIMIT_INTERACTIVE +OPSLIMIT_MODERATE = argon2id.OPSLIMIT_MODERATE +MEMLIMIT_MODERATE = argon2id.MEMLIMIT_MODERATE +OPSLIMIT_SENSITIVE = argon2id.OPSLIMIT_SENSITIVE +MEMLIMIT_SENSITIVE = argon2id.MEMLIMIT_SENSITIVE + +str = argon2id.str + +assert argon2i.ALG != argon2id.ALG + +SCRYPT_SALTBYTES = scrypt.SALTBYTES +SCRYPT_PWHASH_SIZE = scrypt.PWHASH_SIZE +SCRYPT_OPSLIMIT_INTERACTIVE = scrypt.OPSLIMIT_INTERACTIVE +SCRYPT_MEMLIMIT_INTERACTIVE = scrypt.MEMLIMIT_INTERACTIVE +SCRYPT_OPSLIMIT_SENSITIVE = scrypt.OPSLIMIT_SENSITIVE +SCRYPT_MEMLIMIT_SENSITIVE = scrypt.MEMLIMIT_SENSITIVE + + +kdf_scryptsalsa208sha256 = scrypt.kdf +scryptsalsa208sha256_str = scrypt.str +verify_scryptsalsa208sha256 = scrypt.verify + + +def verify(password_hash: bytes, password: bytes) -> bool: + """ + Takes a modular crypt encoded stored password hash derived using one + of the algorithms supported by `libsodium` and checks if the user provided + password will hash to the same string when using the parameters saved + in the stored hash + """ + if password_hash.startswith(argon2id.STRPREFIX): + return argon2id.verify(password_hash, password) + elif password_hash.startswith(argon2i.STRPREFIX): + return argon2id.verify(password_hash, password) + elif scrypt.AVAILABLE and password_hash.startswith(scrypt.STRPREFIX): + return scrypt.verify(password_hash, password) + else: + raise ( + CryptPrefixError( + "given password_hash is not in a supported format" + ) + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..67d8d0fd5fb3be7d9faaf09c8cd61f2a1b11fa6d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/_argon2.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/_argon2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8a77ad4a23d4ee15cacf24ee2e078b69f590d70b Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/_argon2.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/argon2i.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/argon2i.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..93a69f65a87e0f4fee2aaa534d30c4297edf67bc Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/argon2i.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/argon2id.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/argon2id.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d0ef4306a372b4a662433197a2e444f22323ce56 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/argon2id.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/scrypt.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/scrypt.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..84af8b294ca6437757ff1e1d7b45107c7b172ac5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/__pycache__/scrypt.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/_argon2.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/_argon2.py new file mode 100644 index 0000000000000000000000000000000000000000..856eda04ea6afe5fa41ae44519f1de1bf662960e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/_argon2.py @@ -0,0 +1,49 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import nacl.bindings + +_argon2_strbytes_plus_one = nacl.bindings.crypto_pwhash_STRBYTES + +PWHASH_SIZE = _argon2_strbytes_plus_one - 1 +SALTBYTES = nacl.bindings.crypto_pwhash_SALTBYTES + +PASSWD_MIN = nacl.bindings.crypto_pwhash_PASSWD_MIN +PASSWD_MAX = nacl.bindings.crypto_pwhash_PASSWD_MAX + +PWHASH_SIZE = _argon2_strbytes_plus_one - 1 + +BYTES_MAX = nacl.bindings.crypto_pwhash_BYTES_MAX +BYTES_MIN = nacl.bindings.crypto_pwhash_BYTES_MIN + +ALG_ARGON2I13 = nacl.bindings.crypto_pwhash_ALG_ARGON2I13 +ALG_ARGON2ID13 = nacl.bindings.crypto_pwhash_ALG_ARGON2ID13 +ALG_ARGON2_DEFAULT = nacl.bindings.crypto_pwhash_ALG_DEFAULT + + +def verify(password_hash: bytes, password: bytes) -> bool: + """ + Takes a modular crypt encoded argon2i or argon2id stored password hash + and checks if the user provided password will hash to the same string + when using the stored parameters + + :param password_hash: password hash serialized in modular crypt() format + :type password_hash: bytes + :param password: user provided password + :type password: bytes + :rtype: boolean + + .. versionadded:: 1.2 + """ + return nacl.bindings.crypto_pwhash_str_verify(password_hash, password) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/argon2i.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/argon2i.py new file mode 100644 index 0000000000000000000000000000000000000000..f9b3af7f0a6499099cf50b223d78129bfb371142 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/argon2i.py @@ -0,0 +1,132 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import nacl.bindings +import nacl.encoding + +from . import _argon2 + +ALG = _argon2.ALG_ARGON2I13 +STRPREFIX = nacl.bindings.crypto_pwhash_argon2i_STRPREFIX + +SALTBYTES = _argon2.SALTBYTES + +PASSWD_MIN = _argon2.PASSWD_MIN +PASSWD_MAX = _argon2.PASSWD_MAX + +PWHASH_SIZE = _argon2.PWHASH_SIZE + +BYTES_MIN = _argon2.BYTES_MIN +BYTES_MAX = _argon2.BYTES_MAX + +verify = _argon2.verify + +MEMLIMIT_MAX = nacl.bindings.crypto_pwhash_argon2i_MEMLIMIT_MAX +MEMLIMIT_MIN = nacl.bindings.crypto_pwhash_argon2i_MEMLIMIT_MIN +OPSLIMIT_MAX = nacl.bindings.crypto_pwhash_argon2i_OPSLIMIT_MAX +OPSLIMIT_MIN = nacl.bindings.crypto_pwhash_argon2i_OPSLIMIT_MIN + +OPSLIMIT_INTERACTIVE = nacl.bindings.crypto_pwhash_argon2i_OPSLIMIT_INTERACTIVE +MEMLIMIT_INTERACTIVE = nacl.bindings.crypto_pwhash_argon2i_MEMLIMIT_INTERACTIVE +OPSLIMIT_SENSITIVE = nacl.bindings.crypto_pwhash_argon2i_OPSLIMIT_SENSITIVE +MEMLIMIT_SENSITIVE = nacl.bindings.crypto_pwhash_argon2i_MEMLIMIT_SENSITIVE + +OPSLIMIT_MODERATE = nacl.bindings.crypto_pwhash_argon2i_OPSLIMIT_MODERATE +MEMLIMIT_MODERATE = nacl.bindings.crypto_pwhash_argon2i_MEMLIMIT_MODERATE + + +def kdf( + size: int, + password: bytes, + salt: bytes, + opslimit: int = OPSLIMIT_SENSITIVE, + memlimit: int = MEMLIMIT_SENSITIVE, + encoder: nacl.encoding.Encoder = nacl.encoding.RawEncoder, +) -> bytes: + """ + Derive a ``size`` bytes long key from a caller-supplied + ``password`` and ``salt`` pair using the argon2i + memory-hard construct. + + the enclosing module provides the constants + + - :py:const:`.OPSLIMIT_INTERACTIVE` + - :py:const:`.MEMLIMIT_INTERACTIVE` + - :py:const:`.OPSLIMIT_MODERATE` + - :py:const:`.MEMLIMIT_MODERATE` + - :py:const:`.OPSLIMIT_SENSITIVE` + - :py:const:`.MEMLIMIT_SENSITIVE` + + as a guidance for correct settings. + + :param size: derived key size, must be between + :py:const:`.BYTES_MIN` and + :py:const:`.BYTES_MAX` + :type size: int + :param password: password used to seed the key derivation procedure; + it length must be between + :py:const:`.PASSWD_MIN` and + :py:const:`.PASSWD_MAX` + :type password: bytes + :param salt: **RANDOM** salt used in the key derivation procedure; + its length must be exactly :py:const:`.SALTBYTES` + :type salt: bytes + :param opslimit: the time component (operation count) + of the key derivation procedure's computational cost; + it must be between + :py:const:`.OPSLIMIT_MIN` and + :py:const:`.OPSLIMIT_MAX` + :type opslimit: int + :param memlimit: the memory occupation component + of the key derivation procedure's computational cost; + it must be between + :py:const:`.MEMLIMIT_MIN` and + :py:const:`.MEMLIMIT_MAX` + :type memlimit: int + :rtype: bytes + + .. versionadded:: 1.2 + """ + + return encoder.encode( + nacl.bindings.crypto_pwhash_alg( + size, password, salt, opslimit, memlimit, ALG + ) + ) + + +def str( + password: bytes, + opslimit: int = OPSLIMIT_INTERACTIVE, + memlimit: int = MEMLIMIT_INTERACTIVE, +) -> bytes: + """ + Hashes a password with a random salt, using the memory-hard + argon2i construct and returning an ascii string that has all + the needed info to check against a future password + + + The default settings for opslimit and memlimit are those deemed + correct for the interactive user login case. + + :param bytes password: + :param int opslimit: + :param int memlimit: + :rtype: bytes + + .. versionadded:: 1.2 + """ + return nacl.bindings.crypto_pwhash_str_alg( + password, opslimit, memlimit, ALG + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/argon2id.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/argon2id.py new file mode 100644 index 0000000000000000000000000000000000000000..1b86d69e141b453a1bafd50197103923ff400d69 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/argon2id.py @@ -0,0 +1,135 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import nacl.bindings +import nacl.encoding + +from . import _argon2 + +ALG = _argon2.ALG_ARGON2ID13 +STRPREFIX = nacl.bindings.crypto_pwhash_argon2id_STRPREFIX + +SALTBYTES = _argon2.SALTBYTES + +PASSWD_MIN = _argon2.PASSWD_MIN +PASSWD_MAX = _argon2.PASSWD_MAX + +PWHASH_SIZE = _argon2.PWHASH_SIZE + +BYTES_MIN = _argon2.BYTES_MIN +BYTES_MAX = _argon2.BYTES_MAX + +verify = _argon2.verify + +MEMLIMIT_MIN = nacl.bindings.crypto_pwhash_argon2id_MEMLIMIT_MIN +MEMLIMIT_MAX = nacl.bindings.crypto_pwhash_argon2id_MEMLIMIT_MAX +OPSLIMIT_MIN = nacl.bindings.crypto_pwhash_argon2id_OPSLIMIT_MIN +OPSLIMIT_MAX = nacl.bindings.crypto_pwhash_argon2id_OPSLIMIT_MAX + +OPSLIMIT_INTERACTIVE = ( + nacl.bindings.crypto_pwhash_argon2id_OPSLIMIT_INTERACTIVE +) +MEMLIMIT_INTERACTIVE = ( + nacl.bindings.crypto_pwhash_argon2id_MEMLIMIT_INTERACTIVE +) +OPSLIMIT_SENSITIVE = nacl.bindings.crypto_pwhash_argon2id_OPSLIMIT_SENSITIVE +MEMLIMIT_SENSITIVE = nacl.bindings.crypto_pwhash_argon2id_MEMLIMIT_SENSITIVE + +OPSLIMIT_MODERATE = nacl.bindings.crypto_pwhash_argon2id_OPSLIMIT_MODERATE +MEMLIMIT_MODERATE = nacl.bindings.crypto_pwhash_argon2id_MEMLIMIT_MODERATE + + +def kdf( + size: int, + password: bytes, + salt: bytes, + opslimit: int = OPSLIMIT_SENSITIVE, + memlimit: int = MEMLIMIT_SENSITIVE, + encoder: nacl.encoding.Encoder = nacl.encoding.RawEncoder, +) -> bytes: + """ + Derive a ``size`` bytes long key from a caller-supplied + ``password`` and ``salt`` pair using the argon2i + memory-hard construct. + + the enclosing module provides the constants + + - :py:const:`.OPSLIMIT_INTERACTIVE` + - :py:const:`.MEMLIMIT_INTERACTIVE` + - :py:const:`.OPSLIMIT_MODERATE` + - :py:const:`.MEMLIMIT_MODERATE` + - :py:const:`.OPSLIMIT_SENSITIVE` + - :py:const:`.MEMLIMIT_SENSITIVE` + + as a guidance for correct settings. + + :param size: derived key size, must be between + :py:const:`.BYTES_MIN` and + :py:const:`.BYTES_MAX` + :type size: int + :param password: password used to seed the key derivation procedure; + it length must be between + :py:const:`.PASSWD_MIN` and + :py:const:`.PASSWD_MAX` + :type password: bytes + :param salt: **RANDOM** salt used in the key derivation procedure; + its length must be exactly :py:const:`.SALTBYTES` + :type salt: bytes + :param opslimit: the time component (operation count) + of the key derivation procedure's computational cost; + it must be between + :py:const:`.OPSLIMIT_MIN` and + :py:const:`.OPSLIMIT_MAX` + :type opslimit: int + :param memlimit: the memory occupation component + of the key derivation procedure's computational cost; + it must be between + :py:const:`.MEMLIMIT_MIN` and + :py:const:`.MEMLIMIT_MAX` + :type memlimit: int + :rtype: bytes + + .. versionadded:: 1.2 + """ + + return encoder.encode( + nacl.bindings.crypto_pwhash_alg( + size, password, salt, opslimit, memlimit, ALG + ) + ) + + +def str( + password: bytes, + opslimit: int = OPSLIMIT_INTERACTIVE, + memlimit: int = MEMLIMIT_INTERACTIVE, +) -> bytes: + """ + Hashes a password with a random salt, using the memory-hard + argon2id construct and returning an ascii string that has all + the needed info to check against a future password + + The default settings for opslimit and memlimit are those deemed + correct for the interactive user login case. + + :param bytes password: + :param int opslimit: + :param int memlimit: + :rtype: bytes + + .. versionadded:: 1.2 + """ + return nacl.bindings.crypto_pwhash_str_alg( + password, opslimit, memlimit, ALG + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/scrypt.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/scrypt.py new file mode 100644 index 0000000000000000000000000000000000000000..55bdf498a1d14bc63089e428375e9e7a6a06130e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/nacl/pwhash/scrypt.py @@ -0,0 +1,211 @@ +# Copyright 2013 Donald Stufft and individual contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from typing import cast + +import nacl.bindings +import nacl.encoding +from nacl import exceptions as exc +from nacl.exceptions import ensure + +_strbytes_plus_one = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_STRBYTES + +AVAILABLE = nacl.bindings.has_crypto_pwhash_scryptsalsa208sha256 + +STRPREFIX = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_STRPREFIX + +SALTBYTES = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_SALTBYTES + +PASSWD_MIN = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_PASSWD_MIN +PASSWD_MAX = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_PASSWD_MAX + +PWHASH_SIZE = _strbytes_plus_one - 1 + +BYTES_MIN = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_BYTES_MIN +BYTES_MAX = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_BYTES_MAX + +MEMLIMIT_MIN = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN +MEMLIMIT_MAX = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAX +OPSLIMIT_MIN = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN +OPSLIMIT_MAX = nacl.bindings.crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX + +OPSLIMIT_INTERACTIVE = ( + nacl.bindings.crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE +) +MEMLIMIT_INTERACTIVE = ( + nacl.bindings.crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE +) +OPSLIMIT_SENSITIVE = ( + nacl.bindings.crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE +) +MEMLIMIT_SENSITIVE = ( + nacl.bindings.crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE +) + +OPSLIMIT_MODERATE = 8 * OPSLIMIT_INTERACTIVE +MEMLIMIT_MODERATE = 8 * MEMLIMIT_INTERACTIVE + + +def kdf( + size: int, + password: bytes, + salt: bytes, + opslimit: int = OPSLIMIT_SENSITIVE, + memlimit: int = MEMLIMIT_SENSITIVE, + encoder: nacl.encoding.Encoder = nacl.encoding.RawEncoder, +) -> bytes: + """ + Derive a ``size`` bytes long key from a caller-supplied + ``password`` and ``salt`` pair using the scryptsalsa208sha256 + memory-hard construct. + + + the enclosing module provides the constants + + - :py:const:`.OPSLIMIT_INTERACTIVE` + - :py:const:`.MEMLIMIT_INTERACTIVE` + - :py:const:`.OPSLIMIT_SENSITIVE` + - :py:const:`.MEMLIMIT_SENSITIVE` + - :py:const:`.OPSLIMIT_MODERATE` + - :py:const:`.MEMLIMIT_MODERATE` + + as a guidance for correct settings respectively for the + interactive login and the long term key protecting sensitive data + use cases. + + :param size: derived key size, must be between + :py:const:`.BYTES_MIN` and + :py:const:`.BYTES_MAX` + :type size: int + :param password: password used to seed the key derivation procedure; + it length must be between + :py:const:`.PASSWD_MIN` and + :py:const:`.PASSWD_MAX` + :type password: bytes + :param salt: **RANDOM** salt used in the key derivation procedure; + its length must be exactly :py:const:`.SALTBYTES` + :type salt: bytes + :param opslimit: the time component (operation count) + of the key derivation procedure's computational cost; + it must be between + :py:const:`.OPSLIMIT_MIN` and + :py:const:`.OPSLIMIT_MAX` + :type opslimit: int + :param memlimit: the memory occupation component + of the key derivation procedure's computational cost; + it must be between + :py:const:`.MEMLIMIT_MIN` and + :py:const:`.MEMLIMIT_MAX` + :type memlimit: int + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + + .. versionadded:: 1.2 + """ + ensure( + AVAILABLE, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + len(salt) == SALTBYTES, + "The salt must be exactly %s, not %s bytes long" + % (SALTBYTES, len(salt)), + raising=exc.ValueError, + ) + + n_log2, r, p = nacl.bindings.nacl_bindings_pick_scrypt_params( + opslimit, memlimit + ) + maxmem = memlimit + (2 ** 16) + + return encoder.encode( + nacl.bindings.crypto_pwhash_scryptsalsa208sha256_ll( + password, + salt, + # Cast safety: n_log2 is a positive integer, and so 2 ** n_log2 is also + # a positive integer. Mypy+typeshed can't deduce this, because there's no + # way to for them to know that n_log2: int is positive. + cast(int, 2 ** n_log2), + r, + p, + maxmem=maxmem, + dklen=size, + ) + ) + + +def str( + password: bytes, + opslimit: int = OPSLIMIT_INTERACTIVE, + memlimit: int = MEMLIMIT_INTERACTIVE, +) -> bytes: + """ + Hashes a password with a random salt, using the memory-hard + scryptsalsa208sha256 construct and returning an ascii string + that has all the needed info to check against a future password + + The default settings for opslimit and memlimit are those deemed + correct for the interactive user login case. + + :param bytes password: + :param int opslimit: + :param int memlimit: + :rtype: bytes + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + + .. versionadded:: 1.2 + """ + ensure( + AVAILABLE, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + return nacl.bindings.crypto_pwhash_scryptsalsa208sha256_str( + password, opslimit, memlimit + ) + + +def verify(password_hash: bytes, password: bytes) -> bool: + """ + Takes the output of scryptsalsa208sha256 and compares it against + a user provided password to see if they are the same + + :param password_hash: bytes + :param password: bytes + :rtype: boolean + :raises nacl.exceptions.UnavailableError: If called when using a + minimal build of libsodium. + + .. versionadded:: 1.2 + """ + ensure( + AVAILABLE, + "Not available in minimal build", + raising=exc.UnavailableError, + ) + + ensure( + len(password_hash) == PWHASH_SIZE, + "The password hash must be exactly %s bytes long" + % nacl.bindings.crypto_pwhash_scryptsalsa208sha256_STRBYTES, + raising=exc.ValueError, + ) + + return nacl.bindings.crypto_pwhash_scryptsalsa208sha256_str_verify( + password_hash, password + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/INSTALLER b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/INSTALLER new file mode 100644 index 0000000000000000000000000000000000000000..a1b589e38a32041e49332e5e81c2d363dc418d68 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/LICENSE b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..d12bef0c5a9d251034217ab1e404412f43023492 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/LICENSE @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/METADATA b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..5550172a696b96732e62c217af381d3a89d0d4e5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/METADATA @@ -0,0 +1,99 @@ +Metadata-Version: 2.1 +Name: paramiko +Version: 3.3.1 +Summary: SSH2 protocol library +Home-page: https://paramiko.org +Author: Jeff Forcier +Author-email: jeff@bitprophet.org +License: LGPL +Project-URL: Docs, https://docs.paramiko.org +Project-URL: Source, https://github.com/paramiko/paramiko +Project-URL: Issues, https://github.com/paramiko/paramiko/issues +Project-URL: Changelog, https://www.paramiko.org/changelog.html +Project-URL: CI, https://app.circleci.com/pipelines/github/paramiko/paramiko +Platform: Posix; MacOS X; Windows +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) +Classifier: Operating System :: OS Independent +Classifier: Topic :: Internet +Classifier: Topic :: Security :: Cryptography +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Requires-Python: >=3.6 +Requires-Dist: bcrypt (>=3.2) +Requires-Dist: cryptography (>=3.3) +Requires-Dist: pynacl (>=1.5) +Provides-Extra: all +Requires-Dist: pyasn1 (>=0.1.7) ; extra == 'all' +Requires-Dist: invoke (>=2.0) ; extra == 'all' +Requires-Dist: gssapi (>=1.4.1) ; (platform_system != "Windows") and extra == 'all' +Requires-Dist: pywin32 (>=2.1.8) ; (platform_system == "Windows") and extra == 'all' +Provides-Extra: ed25519 +Provides-Extra: gssapi +Requires-Dist: pyasn1 (>=0.1.7) ; extra == 'gssapi' +Requires-Dist: gssapi (>=1.4.1) ; (platform_system != "Windows") and extra == 'gssapi' +Requires-Dist: pywin32 (>=2.1.8) ; (platform_system == "Windows") and extra == 'gssapi' +Provides-Extra: invoke +Requires-Dist: invoke (>=2.0) ; extra == 'invoke' + +|version| |python| |license| |ci| |coverage| + +.. |version| image:: https://img.shields.io/pypi/v/paramiko + :target: https://pypi.org/project/paramiko/ + :alt: PyPI - Package Version +.. |python| image:: https://img.shields.io/pypi/pyversions/paramiko + :target: https://pypi.org/project/paramiko/ + :alt: PyPI - Python Version +.. |license| image:: https://img.shields.io/pypi/l/paramiko + :target: https://github.com/paramiko/paramiko/blob/main/LICENSE + :alt: PyPI - License +.. |ci| image:: https://img.shields.io/circleci/build/github/paramiko/paramiko/main + :target: https://app.circleci.com/pipelines/github/paramiko/paramiko + :alt: CircleCI +.. |coverage| image:: https://img.shields.io/codecov/c/gh/paramiko/paramiko + :target: https://app.codecov.io/gh/paramiko/paramiko + :alt: Codecov + +Welcome to Paramiko! +==================== + +Paramiko is a pure-Python [#]_ (3.6+) implementation of the SSHv2 protocol +[#]_, providing both client and server functionality. It provides the +foundation for the high-level SSH library `Fabric `_, +which is what we recommend you use for common client use-cases such as running +remote shell commands or transferring files. + +Direct use of Paramiko itself is only intended for users who need +advanced/low-level primitives or want to run an in-Python sshd. + +For installation information, changelogs, FAQs and similar, please visit `our +main project website `_; for API details, see `the +versioned docs `_. Additionally, the project +maintainer keeps a `roadmap `_ on his +personal site. + +.. [#] + Paramiko relies on `cryptography `_ for crypto + functionality, which makes use of C and Rust extensions but has many + precompiled options available. See `our installation page + `_ for details. + +.. [#] + OpenSSH's RFC specification page is a fantastic resource and collection of + links that we won't bother replicating here: + https://www.openssh.com/specs.html + + OpenSSH itself also happens to be our primary reference implementation: + when in doubt, we consult how they do things, unless there are good reasons + not to. There are always some gaps, but we do our best to reconcile them + when possible. + + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/RECORD b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/RECORD new file mode 100644 index 0000000000000000000000000000000000000000..d3457e7678a4549a024365d0dadd94c34f5ba311 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/RECORD @@ -0,0 +1,99 @@ +paramiko-3.3.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +paramiko-3.3.1.dist-info/LICENSE,sha256=X6Jb9fOV_SbnAcLh3kyn0WKBaYbceRwi-PQiaFetG7I,26436 +paramiko-3.3.1.dist-info/METADATA,sha256=58cv9F05f2DEuR8U7G8bhKz_88JJ9PayOVAIHZN48wY,4404 +paramiko-3.3.1.dist-info/RECORD,, +paramiko-3.3.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +paramiko-3.3.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 +paramiko-3.3.1.dist-info/top_level.txt,sha256=R9n-eCc_1kx1DnijF7Glmm-H67k9jUz5rm2YoPL8n54,9 +paramiko/__init__.py,sha256=R8uJkIrEBHdqBj8G0TcMZH0uXqmUjIzHgJUVTvHDwro,4423 +paramiko/__pycache__/__init__.cpython-312.pyc,, +paramiko/__pycache__/_version.cpython-312.pyc,, +paramiko/__pycache__/_winapi.cpython-312.pyc,, +paramiko/__pycache__/agent.cpython-312.pyc,, +paramiko/__pycache__/auth_handler.cpython-312.pyc,, +paramiko/__pycache__/auth_strategy.cpython-312.pyc,, +paramiko/__pycache__/ber.cpython-312.pyc,, +paramiko/__pycache__/buffered_pipe.cpython-312.pyc,, +paramiko/__pycache__/channel.cpython-312.pyc,, +paramiko/__pycache__/client.cpython-312.pyc,, +paramiko/__pycache__/common.cpython-312.pyc,, +paramiko/__pycache__/compress.cpython-312.pyc,, +paramiko/__pycache__/config.cpython-312.pyc,, +paramiko/__pycache__/dsskey.cpython-312.pyc,, +paramiko/__pycache__/ecdsakey.cpython-312.pyc,, +paramiko/__pycache__/ed25519key.cpython-312.pyc,, +paramiko/__pycache__/file.cpython-312.pyc,, +paramiko/__pycache__/hostkeys.cpython-312.pyc,, +paramiko/__pycache__/kex_curve25519.cpython-312.pyc,, +paramiko/__pycache__/kex_ecdh_nist.cpython-312.pyc,, +paramiko/__pycache__/kex_gex.cpython-312.pyc,, +paramiko/__pycache__/kex_group1.cpython-312.pyc,, +paramiko/__pycache__/kex_group14.cpython-312.pyc,, +paramiko/__pycache__/kex_group16.cpython-312.pyc,, +paramiko/__pycache__/kex_gss.cpython-312.pyc,, +paramiko/__pycache__/message.cpython-312.pyc,, +paramiko/__pycache__/packet.cpython-312.pyc,, +paramiko/__pycache__/pipe.cpython-312.pyc,, +paramiko/__pycache__/pkey.cpython-312.pyc,, +paramiko/__pycache__/primes.cpython-312.pyc,, +paramiko/__pycache__/proxy.cpython-312.pyc,, +paramiko/__pycache__/rsakey.cpython-312.pyc,, +paramiko/__pycache__/server.cpython-312.pyc,, +paramiko/__pycache__/sftp.cpython-312.pyc,, +paramiko/__pycache__/sftp_attr.cpython-312.pyc,, +paramiko/__pycache__/sftp_client.cpython-312.pyc,, +paramiko/__pycache__/sftp_file.cpython-312.pyc,, +paramiko/__pycache__/sftp_handle.cpython-312.pyc,, +paramiko/__pycache__/sftp_server.cpython-312.pyc,, +paramiko/__pycache__/sftp_si.cpython-312.pyc,, +paramiko/__pycache__/ssh_exception.cpython-312.pyc,, +paramiko/__pycache__/ssh_gss.cpython-312.pyc,, +paramiko/__pycache__/transport.cpython-312.pyc,, +paramiko/__pycache__/util.cpython-312.pyc,, +paramiko/__pycache__/win_openssh.cpython-312.pyc,, +paramiko/__pycache__/win_pageant.cpython-312.pyc,, +paramiko/_version.py,sha256=e90hTKCN9mMx9TWRrV74Y0B6F05K_uKQY6CSQ897vPQ,80 +paramiko/_winapi.py,sha256=e4PyDmHmyLcAkZo4WAX7ah_I6fq4ex7A8FhxOPYAoA8,11204 +paramiko/agent.py,sha256=4vP4knAAzZiSblzSM_srbTYK2hVnUUT561vTBdCe2i4,15877 +paramiko/auth_handler.py,sha256=kMY00x5sUkrcR9uRHIIakQw4E6649oW1tMtIQPrFMFo,43006 +paramiko/auth_strategy.py,sha256=Pjcp8q64gUwk4CneGOnOhW0WBeKBRFURieWqC9AN0Ec,11437 +paramiko/ber.py,sha256=uFb-YokU4Rg2fKjyX8VMAu05STVk37YRgghlNHmdoYo,4369 +paramiko/buffered_pipe.py,sha256=AlkTLHYWbj4W-ZD7ORQZFjEFv7kC7QSvEYypfiHpwxw,7225 +paramiko/channel.py,sha256=q8sCj7wmDgoPyp_7_TABFsJ5ZoXbQAssxi2aS_Vhfog,49191 +paramiko/client.py,sha256=BjTberxDuu43FHdP273lGRfZI-kf183tQ3CIyB1z4Io,34492 +paramiko/common.py,sha256=sBJW8KJz_EE8TsT7wLWTPuUiL2nNsLa_cfrTCe9Fyio,7756 +paramiko/compress.py,sha256=RCHTino0cHz1dy1pLbOhFhdWfGl4u50VmBcbT7qBWNc,1282 +paramiko/config.py,sha256=QPzwsk4Vem-Ecg2NhjRu78O9SU5ZO6DmfxZTA6cHWco,27362 +paramiko/dsskey.py,sha256=jX9Q5gsKR1hUrvQKSHBZsa96At7NvEO_liT_8G64EP8,8248 +paramiko/ecdsakey.py,sha256=nK8oxORGgLP-zoC2REG46bAchVrlr35jfuxTn_Ac8sM,11653 +paramiko/ed25519key.py,sha256=FYurG0gqxmhNKh_22Hp3XEON5zuvzv-r5w8y9yJQgqY,7457 +paramiko/file.py,sha256=NgbhUjYgrLh-HQtsdYlPZ3CyvS0jhXqePk45GhHPMSo,19063 +paramiko/hostkeys.py,sha256=ErKfOnfzmp8MvonOqkgcySt_Ci9Mp6zDM2QF9aOT4Ms,13208 +paramiko/kex_curve25519.py,sha256=voEFDs_zkgEdWOqDakU-5DLYO3qotWcXYiqOCUP4GDo,4436 +paramiko/kex_ecdh_nist.py,sha256=RbHPwv8Gu5iR9LwMf-N0yUjXEQgRKKBLaAT3dacv44Q,5012 +paramiko/kex_gex.py,sha256=j5fPexu48CGObvpPKn0kZTjdn1onfz0iYhh8p8kIgM0,10320 +paramiko/kex_group1.py,sha256=HfzkLH1SKaIavnN-LGuF-lAMaAECB6Izj_TELhg4Omc,5740 +paramiko/kex_group14.py,sha256=AX7xrTCqMROrMQ_3Dp8WmLkNN8dTovhPjtWgaLLpRxs,1833 +paramiko/kex_group16.py,sha256=s7qB7tSDFkG5ztlg3mV958UVWnKgn1LIA-B2t-h1eX4,2288 +paramiko/kex_gss.py,sha256=BadM1nNN-ORDRuJmb93v0xBGQlce1n29lT4ihsnmY-4,24562 +paramiko/message.py,sha256=wHTWVU_Xgfq-djOOPVF5jAsE-XgADoH47G0iI5N69gY,9349 +paramiko/packet.py,sha256=crFZb0z1crHBKz7JCZPcm8MZghUq68WkT7_IOGNV734,21666 +paramiko/pipe.py,sha256=cmWwOyMdys62IGLC9lDznwTu11xLg6wB9mV-60lr86A,3902 +paramiko/pkey.py,sha256=bGFA-Zbk1xjsNaY6E_PtQQ7WVqW2zPmtWtnXnSySS-M,36007 +paramiko/primes.py,sha256=6Uv0fFsTmIJxInMqeNhryw9jrzvgNksKbA7ecBI0g5E,5107 +paramiko/proxy.py,sha256=I5XxN1aDren3Fw1f3SOoQLP4O9O7jeyey9meG6Og0q4,4648 +paramiko/rsakey.py,sha256=7xoDJvfcaZVVYRGlv8xamhO3zYvE-wI_Nd814L8TxzQ,7546 +paramiko/server.py,sha256=oNkI7t2gSMYIwLov5vl_BbHU-AwFC5LxP78YIXw7mq4,30457 +paramiko/sftp.py,sha256=pyZPnR0fv94YopfPDpslloTiYelu5GuM70cXUGOaKHM,6471 +paramiko/sftp_attr.py,sha256=AX-cG_FiPinftQQq8Ndo1Mc_bZz-AhXFQQpac-oV0wg,8258 +paramiko/sftp_client.py,sha256=e_zi6V233tjx3DH9TH7rRDKRO-TCZ_zyOkBw4sSRIjo,35855 +paramiko/sftp_file.py,sha256=NgVfDhxxURhFrEqniIJQgKQ6wlgCTgOVu5GwQczW_hk,21820 +paramiko/sftp_handle.py,sha256=ho-eyiEvhYHt-_VytznNzNeGktfaIsQX5l4bespWZAk,7424 +paramiko/sftp_server.py,sha256=yH-BgsYj7BuZNGn_EHpnLRPmoNGoYB9g_XxOlK4IcYA,19492 +paramiko/sftp_si.py,sha256=Uf90bFme6Jy6yl7k4jJ28IJboq6KiyPWLjXgP9DR6gk,12544 +paramiko/ssh_exception.py,sha256=UrlHSg4M0Vd9b7SleFOBw3dkeibl-ruMzuPEd58mXPw,7321 +paramiko/ssh_gss.py,sha256=eq_Dcs8Ga1R3xlP2SneSgHOlboY_WgaPJN503OeYCaA,28887 +paramiko/transport.py,sha256=N6sm1K9Q1rHiYkVeSb4TnMYxGp0V7kNHcxWg0F_PoXY,129637 +paramiko/util.py,sha256=v6fIp589sPWNFTaq58X6OhbJY7eOHuzjFz8M7p8PFNE,9550 +paramiko/win_openssh.py,sha256=DbWJT0hiE6UImAbMqehcGuVLDWIl-2rObe-AhaGuWpk,1918 +paramiko/win_pageant.py,sha256=i5TG472VzJKVnK08oxM4hK_qb9IzL_Fo96B8ouaxXHo,4177 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/REQUESTED b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/REQUESTED new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/WHEEL b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/WHEEL new file mode 100644 index 0000000000000000000000000000000000000000..becc9a66ea739ba941d48a749e248761cc6e658a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.37.1) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/top_level.txt b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/top_level.txt new file mode 100644 index 0000000000000000000000000000000000000000..8608c1b021f8e1b01ba7e0d6698102a06214a452 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko-3.3.1.dist-info/top_level.txt @@ -0,0 +1 @@ +paramiko diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..476062efd62dc700e0dd6c434bdea32571c49bf7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/__init__.py @@ -0,0 +1,164 @@ +# Copyright (C) 2003-2011 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +# flake8: noqa +import sys +from paramiko._version import __version__, __version_info__ +from paramiko.transport import ( + SecurityOptions, + Transport, + ServiceRequestingTransport, +) +from paramiko.client import ( + SSHClient, + MissingHostKeyPolicy, + AutoAddPolicy, + RejectPolicy, + WarningPolicy, +) +from paramiko.auth_handler import AuthHandler +from paramiko.auth_strategy import ( + AuthFailure, + AuthStrategy, + AuthResult, + AuthSource, + InMemoryPrivateKey, + NoneAuth, + OnDiskPrivateKey, + Password, + PrivateKey, + SourceResult, +) +from paramiko.ssh_gss import GSSAuth, GSS_AUTH_AVAILABLE, GSS_EXCEPTIONS +from paramiko.channel import ( + Channel, + ChannelFile, + ChannelStderrFile, + ChannelStdinFile, +) +from paramiko.ssh_exception import ( + AuthenticationException, + BadAuthenticationType, + BadHostKeyException, + ChannelException, + ConfigParseError, + CouldNotCanonicalize, + IncompatiblePeer, + PasswordRequiredException, + ProxyCommandFailure, + SSHException, +) +from paramiko.server import ServerInterface, SubsystemHandler, InteractiveQuery +from paramiko.rsakey import RSAKey +from paramiko.dsskey import DSSKey +from paramiko.ecdsakey import ECDSAKey +from paramiko.ed25519key import Ed25519Key +from paramiko.sftp import SFTPError, BaseSFTP +from paramiko.sftp_client import SFTP, SFTPClient +from paramiko.sftp_server import SFTPServer +from paramiko.sftp_attr import SFTPAttributes +from paramiko.sftp_handle import SFTPHandle +from paramiko.sftp_si import SFTPServerInterface +from paramiko.sftp_file import SFTPFile +from paramiko.message import Message +from paramiko.packet import Packetizer +from paramiko.file import BufferedFile +from paramiko.agent import Agent, AgentKey +from paramiko.pkey import PKey, PublicBlob, UnknownKeyType +from paramiko.hostkeys import HostKeys +from paramiko.config import SSHConfig, SSHConfigDict +from paramiko.proxy import ProxyCommand + +from paramiko.common import ( + AUTH_SUCCESSFUL, + AUTH_PARTIALLY_SUCCESSFUL, + AUTH_FAILED, + OPEN_SUCCEEDED, + OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED, + OPEN_FAILED_CONNECT_FAILED, + OPEN_FAILED_UNKNOWN_CHANNEL_TYPE, + OPEN_FAILED_RESOURCE_SHORTAGE, +) + +from paramiko.sftp import ( + SFTP_OK, + SFTP_EOF, + SFTP_NO_SUCH_FILE, + SFTP_PERMISSION_DENIED, + SFTP_FAILURE, + SFTP_BAD_MESSAGE, + SFTP_NO_CONNECTION, + SFTP_CONNECTION_LOST, + SFTP_OP_UNSUPPORTED, +) + +from paramiko.common import io_sleep + + +# TODO: I guess a real plugin system might be nice for future expansion... +key_classes = [DSSKey, RSAKey, Ed25519Key, ECDSAKey] + + +__author__ = "Jeff Forcier " +__license__ = "GNU Lesser General Public License (LGPL)" + +# TODO 4.0: remove this, jeez +__all__ = [ + "Agent", + "AgentKey", + "AuthenticationException", + "AutoAddPolicy", + "BadAuthenticationType", + "BadHostKeyException", + "BufferedFile", + "Channel", + "ChannelException", + "ConfigParseError", + "CouldNotCanonicalize", + "DSSKey", + "ECDSAKey", + "Ed25519Key", + "HostKeys", + "Message", + "MissingHostKeyPolicy", + "PKey", + "PasswordRequiredException", + "ProxyCommand", + "ProxyCommandFailure", + "RSAKey", + "RejectPolicy", + "SFTP", + "SFTPAttributes", + "SFTPClient", + "SFTPError", + "SFTPFile", + "SFTPHandle", + "SFTPServer", + "SFTPServerInterface", + "SSHClient", + "SSHConfig", + "SSHConfigDict", + "SSHException", + "SecurityOptions", + "ServerInterface", + "SubsystemHandler", + "Transport", + "WarningPolicy", + "io_sleep", + "util", +] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/_version.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/_version.py new file mode 100644 index 0000000000000000000000000000000000000000..3184d18db9e92b1bb9f19fe3dcabfb1bb27d55b4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/_version.py @@ -0,0 +1,2 @@ +__version_info__ = (3, 3, 1) +__version__ = ".".join(map(str, __version_info__)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/_winapi.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/_winapi.py new file mode 100644 index 0000000000000000000000000000000000000000..42954574be43e801cf787e0d58b419e350047a9f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/_winapi.py @@ -0,0 +1,413 @@ +""" +Windows API functions implemented as ctypes functions and classes as found +in jaraco.windows (3.4.1). + +If you encounter issues with this module, please consider reporting the issues +in jaraco.windows and asking the author to port the fixes back here. +""" + +import builtins +import ctypes.wintypes + +from paramiko.util import u + + +###################### +# jaraco.windows.error + + +def format_system_message(errno): + """ + Call FormatMessage with a system error number to retrieve + the descriptive error message. + """ + # first some flags used by FormatMessageW + ALLOCATE_BUFFER = 0x100 + FROM_SYSTEM = 0x1000 + + # Let FormatMessageW allocate the buffer (we'll free it below) + # Also, let it know we want a system error message. + flags = ALLOCATE_BUFFER | FROM_SYSTEM + source = None + message_id = errno + language_id = 0 + result_buffer = ctypes.wintypes.LPWSTR() + buffer_size = 0 + arguments = None + bytes = ctypes.windll.kernel32.FormatMessageW( + flags, + source, + message_id, + language_id, + ctypes.byref(result_buffer), + buffer_size, + arguments, + ) + # note the following will cause an infinite loop if GetLastError + # repeatedly returns an error that cannot be formatted, although + # this should not happen. + handle_nonzero_success(bytes) + message = result_buffer.value + ctypes.windll.kernel32.LocalFree(result_buffer) + return message + + +class WindowsError(builtins.WindowsError): + """more info about errors at + http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx""" + + def __init__(self, value=None): + if value is None: + value = ctypes.windll.kernel32.GetLastError() + strerror = format_system_message(value) + args = 0, strerror, None, value + super().__init__(*args) + + @property + def message(self): + return self.strerror + + @property + def code(self): + return self.winerror + + def __str__(self): + return self.message + + def __repr__(self): + return "{self.__class__.__name__}({self.winerror})".format(**vars()) + + +def handle_nonzero_success(result): + if result == 0: + raise WindowsError() + + +########################### +# jaraco.windows.api.memory + +GMEM_MOVEABLE = 0x2 + +GlobalAlloc = ctypes.windll.kernel32.GlobalAlloc +GlobalAlloc.argtypes = ctypes.wintypes.UINT, ctypes.c_size_t +GlobalAlloc.restype = ctypes.wintypes.HANDLE + +GlobalLock = ctypes.windll.kernel32.GlobalLock +GlobalLock.argtypes = (ctypes.wintypes.HGLOBAL,) +GlobalLock.restype = ctypes.wintypes.LPVOID + +GlobalUnlock = ctypes.windll.kernel32.GlobalUnlock +GlobalUnlock.argtypes = (ctypes.wintypes.HGLOBAL,) +GlobalUnlock.restype = ctypes.wintypes.BOOL + +GlobalSize = ctypes.windll.kernel32.GlobalSize +GlobalSize.argtypes = (ctypes.wintypes.HGLOBAL,) +GlobalSize.restype = ctypes.c_size_t + +CreateFileMapping = ctypes.windll.kernel32.CreateFileMappingW +CreateFileMapping.argtypes = [ + ctypes.wintypes.HANDLE, + ctypes.c_void_p, + ctypes.wintypes.DWORD, + ctypes.wintypes.DWORD, + ctypes.wintypes.DWORD, + ctypes.wintypes.LPWSTR, +] +CreateFileMapping.restype = ctypes.wintypes.HANDLE + +MapViewOfFile = ctypes.windll.kernel32.MapViewOfFile +MapViewOfFile.restype = ctypes.wintypes.HANDLE + +UnmapViewOfFile = ctypes.windll.kernel32.UnmapViewOfFile +UnmapViewOfFile.argtypes = (ctypes.wintypes.HANDLE,) + +RtlMoveMemory = ctypes.windll.kernel32.RtlMoveMemory +RtlMoveMemory.argtypes = (ctypes.c_void_p, ctypes.c_void_p, ctypes.c_size_t) + +ctypes.windll.kernel32.LocalFree.argtypes = (ctypes.wintypes.HLOCAL,) + +##################### +# jaraco.windows.mmap + + +class MemoryMap: + """ + A memory map object which can have security attributes overridden. + """ + + def __init__(self, name, length, security_attributes=None): + self.name = name + self.length = length + self.security_attributes = security_attributes + self.pos = 0 + + def __enter__(self): + p_SA = ( + ctypes.byref(self.security_attributes) + if self.security_attributes + else None + ) + INVALID_HANDLE_VALUE = -1 + PAGE_READWRITE = 0x4 + FILE_MAP_WRITE = 0x2 + filemap = ctypes.windll.kernel32.CreateFileMappingW( + INVALID_HANDLE_VALUE, + p_SA, + PAGE_READWRITE, + 0, + self.length, + u(self.name), + ) + handle_nonzero_success(filemap) + if filemap == INVALID_HANDLE_VALUE: + raise Exception("Failed to create file mapping") + self.filemap = filemap + self.view = MapViewOfFile(filemap, FILE_MAP_WRITE, 0, 0, 0) + return self + + def seek(self, pos): + self.pos = pos + + def write(self, msg): + assert isinstance(msg, bytes) + n = len(msg) + if self.pos + n >= self.length: # A little safety. + raise ValueError(f"Refusing to write {n} bytes") + dest = self.view + self.pos + length = ctypes.c_size_t(n) + ctypes.windll.kernel32.RtlMoveMemory(dest, msg, length) + self.pos += n + + def read(self, n): + """ + Read n bytes from mapped view. + """ + out = ctypes.create_string_buffer(n) + source = self.view + self.pos + length = ctypes.c_size_t(n) + ctypes.windll.kernel32.RtlMoveMemory(out, source, length) + self.pos += n + return out.raw + + def __exit__(self, exc_type, exc_val, tb): + ctypes.windll.kernel32.UnmapViewOfFile(self.view) + ctypes.windll.kernel32.CloseHandle(self.filemap) + + +############################# +# jaraco.windows.api.security + +# from WinNT.h +READ_CONTROL = 0x00020000 +STANDARD_RIGHTS_REQUIRED = 0x000F0000 +STANDARD_RIGHTS_READ = READ_CONTROL +STANDARD_RIGHTS_WRITE = READ_CONTROL +STANDARD_RIGHTS_EXECUTE = READ_CONTROL +STANDARD_RIGHTS_ALL = 0x001F0000 + +# from NTSecAPI.h +POLICY_VIEW_LOCAL_INFORMATION = 0x00000001 +POLICY_VIEW_AUDIT_INFORMATION = 0x00000002 +POLICY_GET_PRIVATE_INFORMATION = 0x00000004 +POLICY_TRUST_ADMIN = 0x00000008 +POLICY_CREATE_ACCOUNT = 0x00000010 +POLICY_CREATE_SECRET = 0x00000020 +POLICY_CREATE_PRIVILEGE = 0x00000040 +POLICY_SET_DEFAULT_QUOTA_LIMITS = 0x00000080 +POLICY_SET_AUDIT_REQUIREMENTS = 0x00000100 +POLICY_AUDIT_LOG_ADMIN = 0x00000200 +POLICY_SERVER_ADMIN = 0x00000400 +POLICY_LOOKUP_NAMES = 0x00000800 +POLICY_NOTIFICATION = 0x00001000 + +POLICY_ALL_ACCESS = ( + STANDARD_RIGHTS_REQUIRED + | POLICY_VIEW_LOCAL_INFORMATION + | POLICY_VIEW_AUDIT_INFORMATION + | POLICY_GET_PRIVATE_INFORMATION + | POLICY_TRUST_ADMIN + | POLICY_CREATE_ACCOUNT + | POLICY_CREATE_SECRET + | POLICY_CREATE_PRIVILEGE + | POLICY_SET_DEFAULT_QUOTA_LIMITS + | POLICY_SET_AUDIT_REQUIREMENTS + | POLICY_AUDIT_LOG_ADMIN + | POLICY_SERVER_ADMIN + | POLICY_LOOKUP_NAMES +) + + +POLICY_READ = ( + STANDARD_RIGHTS_READ + | POLICY_VIEW_AUDIT_INFORMATION + | POLICY_GET_PRIVATE_INFORMATION +) + +POLICY_WRITE = ( + STANDARD_RIGHTS_WRITE + | POLICY_TRUST_ADMIN + | POLICY_CREATE_ACCOUNT + | POLICY_CREATE_SECRET + | POLICY_CREATE_PRIVILEGE + | POLICY_SET_DEFAULT_QUOTA_LIMITS + | POLICY_SET_AUDIT_REQUIREMENTS + | POLICY_AUDIT_LOG_ADMIN + | POLICY_SERVER_ADMIN +) + +POLICY_EXECUTE = ( + STANDARD_RIGHTS_EXECUTE + | POLICY_VIEW_LOCAL_INFORMATION + | POLICY_LOOKUP_NAMES +) + + +class TokenAccess: + TOKEN_QUERY = 0x8 + + +class TokenInformationClass: + TokenUser = 1 + + +class TOKEN_USER(ctypes.Structure): + num = 1 + _fields_ = [ + ("SID", ctypes.c_void_p), + ("ATTRIBUTES", ctypes.wintypes.DWORD), + ] + + +class SECURITY_DESCRIPTOR(ctypes.Structure): + """ + typedef struct _SECURITY_DESCRIPTOR + { + UCHAR Revision; + UCHAR Sbz1; + SECURITY_DESCRIPTOR_CONTROL Control; + PSID Owner; + PSID Group; + PACL Sacl; + PACL Dacl; + } SECURITY_DESCRIPTOR; + """ + + SECURITY_DESCRIPTOR_CONTROL = ctypes.wintypes.USHORT + REVISION = 1 + + _fields_ = [ + ("Revision", ctypes.c_ubyte), + ("Sbz1", ctypes.c_ubyte), + ("Control", SECURITY_DESCRIPTOR_CONTROL), + ("Owner", ctypes.c_void_p), + ("Group", ctypes.c_void_p), + ("Sacl", ctypes.c_void_p), + ("Dacl", ctypes.c_void_p), + ] + + +class SECURITY_ATTRIBUTES(ctypes.Structure): + """ + typedef struct _SECURITY_ATTRIBUTES { + DWORD nLength; + LPVOID lpSecurityDescriptor; + BOOL bInheritHandle; + } SECURITY_ATTRIBUTES; + """ + + _fields_ = [ + ("nLength", ctypes.wintypes.DWORD), + ("lpSecurityDescriptor", ctypes.c_void_p), + ("bInheritHandle", ctypes.wintypes.BOOL), + ] + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.nLength = ctypes.sizeof(SECURITY_ATTRIBUTES) + + @property + def descriptor(self): + return self._descriptor + + @descriptor.setter + def descriptor(self, value): + self._descriptor = value + self.lpSecurityDescriptor = ctypes.addressof(value) + + +ctypes.windll.advapi32.SetSecurityDescriptorOwner.argtypes = ( + ctypes.POINTER(SECURITY_DESCRIPTOR), + ctypes.c_void_p, + ctypes.wintypes.BOOL, +) + +######################### +# jaraco.windows.security + + +def GetTokenInformation(token, information_class): + """ + Given a token, get the token information for it. + """ + data_size = ctypes.wintypes.DWORD() + ctypes.windll.advapi32.GetTokenInformation( + token, information_class.num, 0, 0, ctypes.byref(data_size) + ) + data = ctypes.create_string_buffer(data_size.value) + handle_nonzero_success( + ctypes.windll.advapi32.GetTokenInformation( + token, + information_class.num, + ctypes.byref(data), + ctypes.sizeof(data), + ctypes.byref(data_size), + ) + ) + return ctypes.cast(data, ctypes.POINTER(TOKEN_USER)).contents + + +def OpenProcessToken(proc_handle, access): + result = ctypes.wintypes.HANDLE() + proc_handle = ctypes.wintypes.HANDLE(proc_handle) + handle_nonzero_success( + ctypes.windll.advapi32.OpenProcessToken( + proc_handle, access, ctypes.byref(result) + ) + ) + return result + + +def get_current_user(): + """ + Return a TOKEN_USER for the owner of this process. + """ + process = OpenProcessToken( + ctypes.windll.kernel32.GetCurrentProcess(), TokenAccess.TOKEN_QUERY + ) + return GetTokenInformation(process, TOKEN_USER) + + +def get_security_attributes_for_user(user=None): + """ + Return a SECURITY_ATTRIBUTES structure with the SID set to the + specified user (uses current user if none is specified). + """ + if user is None: + user = get_current_user() + + assert isinstance(user, TOKEN_USER), "user must be TOKEN_USER instance" + + SD = SECURITY_DESCRIPTOR() + SA = SECURITY_ATTRIBUTES() + # by attaching the actual security descriptor, it will be garbage- + # collected with the security attributes + SA.descriptor = SD + SA.bInheritHandle = 1 + + ctypes.windll.advapi32.InitializeSecurityDescriptor( + ctypes.byref(SD), SECURITY_DESCRIPTOR.REVISION + ) + ctypes.windll.advapi32.SetSecurityDescriptorOwner( + ctypes.byref(SD), user.SID, 0 + ) + return SA diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/agent.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/agent.py new file mode 100644 index 0000000000000000000000000000000000000000..b29a0d14c7c25a24c113064bb1a703cd9341bb88 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/agent.py @@ -0,0 +1,497 @@ +# Copyright (C) 2003-2007 John Rochester +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +SSH Agent interface +""" + +import os +import socket +import struct +import sys +import threading +import time +import tempfile +import stat +from logging import DEBUG +from select import select +from paramiko.common import io_sleep, byte_chr + +from paramiko.ssh_exception import SSHException, AuthenticationException +from paramiko.message import Message +from paramiko.pkey import PKey, UnknownKeyType +from paramiko.util import asbytes, get_logger + +cSSH2_AGENTC_REQUEST_IDENTITIES = byte_chr(11) +SSH2_AGENT_IDENTITIES_ANSWER = 12 +cSSH2_AGENTC_SIGN_REQUEST = byte_chr(13) +SSH2_AGENT_SIGN_RESPONSE = 14 + +SSH_AGENT_RSA_SHA2_256 = 2 +SSH_AGENT_RSA_SHA2_512 = 4 +# NOTE: RFC mildly confusing; while these flags are OR'd together, OpenSSH at +# least really treats them like "AND"s, in the sense that if it finds the +# SHA256 flag set it won't continue looking at the SHA512 one; it +# short-circuits right away. +# Thus, we never want to eg submit 6 to say "either's good". +ALGORITHM_FLAG_MAP = { + "rsa-sha2-256": SSH_AGENT_RSA_SHA2_256, + "rsa-sha2-512": SSH_AGENT_RSA_SHA2_512, +} +for key, value in list(ALGORITHM_FLAG_MAP.items()): + ALGORITHM_FLAG_MAP[f"{key}-cert-v01@openssh.com"] = value + + +# TODO 4.0: rename all these - including making some of their methods public? +class AgentSSH: + def __init__(self): + self._conn = None + self._keys = () + + def get_keys(self): + """ + Return the list of keys available through the SSH agent, if any. If + no SSH agent was running (or it couldn't be contacted), an empty list + will be returned. + + This method performs no IO, just returns the list of keys retrieved + when the connection was made. + + :return: + a tuple of `.AgentKey` objects representing keys available on the + SSH agent + """ + return self._keys + + def _connect(self, conn): + self._conn = conn + ptype, result = self._send_message(cSSH2_AGENTC_REQUEST_IDENTITIES) + if ptype != SSH2_AGENT_IDENTITIES_ANSWER: + raise SSHException("could not get keys from ssh-agent") + keys = [] + for i in range(result.get_int()): + keys.append( + AgentKey( + agent=self, + blob=result.get_binary(), + comment=result.get_text(), + ) + ) + self._keys = tuple(keys) + + def _close(self): + if self._conn is not None: + self._conn.close() + self._conn = None + self._keys = () + + def _send_message(self, msg): + msg = asbytes(msg) + self._conn.send(struct.pack(">I", len(msg)) + msg) + data = self._read_all(4) + msg = Message(self._read_all(struct.unpack(">I", data)[0])) + return ord(msg.get_byte()), msg + + def _read_all(self, wanted): + result = self._conn.recv(wanted) + while len(result) < wanted: + if len(result) == 0: + raise SSHException("lost ssh-agent") + extra = self._conn.recv(wanted - len(result)) + if len(extra) == 0: + raise SSHException("lost ssh-agent") + result += extra + return result + + +class AgentProxyThread(threading.Thread): + """ + Class in charge of communication between two channels. + """ + + def __init__(self, agent): + threading.Thread.__init__(self, target=self.run) + self._agent = agent + self._exit = False + + def run(self): + try: + (r, addr) = self.get_connection() + # Found that r should be either + # a socket from the socket library or None + self.__inr = r + # The address should be an IP address as a string? or None + self.__addr = addr + self._agent.connect() + if not isinstance(self._agent, int) and ( + self._agent._conn is None + or not hasattr(self._agent._conn, "fileno") + ): + raise AuthenticationException("Unable to connect to SSH agent") + self._communicate() + except: + # XXX Not sure what to do here ... raise or pass ? + raise + + def _communicate(self): + import fcntl + + oldflags = fcntl.fcntl(self.__inr, fcntl.F_GETFL) + fcntl.fcntl(self.__inr, fcntl.F_SETFL, oldflags | os.O_NONBLOCK) + while not self._exit: + events = select([self._agent._conn, self.__inr], [], [], 0.5) + for fd in events[0]: + if self._agent._conn == fd: + data = self._agent._conn.recv(512) + if len(data) != 0: + self.__inr.send(data) + else: + self._close() + break + elif self.__inr == fd: + data = self.__inr.recv(512) + if len(data) != 0: + self._agent._conn.send(data) + else: + self._close() + break + time.sleep(io_sleep) + + def _close(self): + self._exit = True + self.__inr.close() + self._agent._conn.close() + + +class AgentLocalProxy(AgentProxyThread): + """ + Class to be used when wanting to ask a local SSH Agent being + asked from a remote fake agent (so use a unix socket for ex.) + """ + + def __init__(self, agent): + AgentProxyThread.__init__(self, agent) + + def get_connection(self): + """ + Return a pair of socket object and string address. + + May block! + """ + conn = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) + try: + conn.bind(self._agent._get_filename()) + conn.listen(1) + (r, addr) = conn.accept() + return r, addr + except: + raise + + +class AgentRemoteProxy(AgentProxyThread): + """ + Class to be used when wanting to ask a remote SSH Agent + """ + + def __init__(self, agent, chan): + AgentProxyThread.__init__(self, agent) + self.__chan = chan + + def get_connection(self): + return self.__chan, None + + +def get_agent_connection(): + """ + Returns some SSH agent object, or None if none were found/supported. + + .. versionadded:: 2.10 + """ + if ("SSH_AUTH_SOCK" in os.environ) and (sys.platform != "win32"): + conn = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) + try: + conn.connect(os.environ["SSH_AUTH_SOCK"]) + return conn + except: + # probably a dangling env var: the ssh agent is gone + return + elif sys.platform == "win32": + from . import win_pageant, win_openssh + + conn = None + if win_pageant.can_talk_to_agent(): + conn = win_pageant.PageantConnection() + elif win_openssh.can_talk_to_agent(): + conn = win_openssh.OpenSSHAgentConnection() + return conn + else: + # no agent support + return + + +class AgentClientProxy: + """ + Class proxying request as a client: + + #. client ask for a request_forward_agent() + #. server creates a proxy and a fake SSH Agent + #. server ask for establishing a connection when needed, + calling the forward_agent_handler at client side. + #. the forward_agent_handler launch a thread for connecting + the remote fake agent and the local agent + #. Communication occurs ... + """ + + def __init__(self, chanRemote): + self._conn = None + self.__chanR = chanRemote + self.thread = AgentRemoteProxy(self, chanRemote) + self.thread.start() + + def __del__(self): + self.close() + + def connect(self): + """ + Method automatically called by ``AgentProxyThread.run``. + """ + conn = get_agent_connection() + if not conn: + return + self._conn = conn + + def close(self): + """ + Close the current connection and terminate the agent + Should be called manually + """ + if hasattr(self, "thread"): + self.thread._exit = True + self.thread.join(1000) + if self._conn is not None: + self._conn.close() + + +class AgentServerProxy(AgentSSH): + """ + Allows an SSH server to access a forwarded agent. + + This also creates a unix domain socket on the system to allow external + programs to also access the agent. For this reason, you probably only want + to create one of these. + + :meth:`connect` must be called before it is usable. This will also load the + list of keys the agent contains. You must also call :meth:`close` in + order to clean up the unix socket and the thread that maintains it. + (:class:`contextlib.closing` might be helpful to you.) + + :param .Transport t: Transport used for SSH Agent communication forwarding + + :raises: `.SSHException` -- mostly if we lost the agent + """ + + def __init__(self, t): + AgentSSH.__init__(self) + self.__t = t + self._dir = tempfile.mkdtemp("sshproxy") + os.chmod(self._dir, stat.S_IRWXU) + self._file = self._dir + "/sshproxy.ssh" + self.thread = AgentLocalProxy(self) + self.thread.start() + + def __del__(self): + self.close() + + def connect(self): + conn_sock = self.__t.open_forward_agent_channel() + if conn_sock is None: + raise SSHException("lost ssh-agent") + conn_sock.set_name("auth-agent") + self._connect(conn_sock) + + def close(self): + """ + Terminate the agent, clean the files, close connections + Should be called manually + """ + os.remove(self._file) + os.rmdir(self._dir) + self.thread._exit = True + self.thread.join(1000) + self._close() + + def get_env(self): + """ + Helper for the environment under unix + + :return: + a dict containing the ``SSH_AUTH_SOCK`` environment variables + """ + return {"SSH_AUTH_SOCK": self._get_filename()} + + def _get_filename(self): + return self._file + + +class AgentRequestHandler: + """ + Primary/default implementation of SSH agent forwarding functionality. + + Simply instantiate this class, handing it a live command-executing session + object, and it will handle forwarding any local SSH agent processes it + finds. + + For example:: + + # Connect + client = SSHClient() + client.connect(host, port, username) + # Obtain session + session = client.get_transport().open_session() + # Forward local agent + AgentRequestHandler(session) + # Commands executed after this point will see the forwarded agent on + # the remote end. + session.exec_command("git clone https://my.git.repository/") + """ + + def __init__(self, chanClient): + self._conn = None + self.__chanC = chanClient + chanClient.request_forward_agent(self._forward_agent_handler) + self.__clientProxys = [] + + def _forward_agent_handler(self, chanRemote): + self.__clientProxys.append(AgentClientProxy(chanRemote)) + + def __del__(self): + self.close() + + def close(self): + for p in self.__clientProxys: + p.close() + + +class Agent(AgentSSH): + """ + Client interface for using private keys from an SSH agent running on the + local machine. If an SSH agent is running, this class can be used to + connect to it and retrieve `.PKey` objects which can be used when + attempting to authenticate to remote SSH servers. + + Upon initialization, a session with the local machine's SSH agent is + opened, if one is running. If no agent is running, initialization will + succeed, but `get_keys` will return an empty tuple. + + :raises: `.SSHException` -- + if an SSH agent is found, but speaks an incompatible protocol + + .. versionchanged:: 2.10 + Added support for native openssh agent on windows (extending previous + putty pageant support) + """ + + def __init__(self): + AgentSSH.__init__(self) + + conn = get_agent_connection() + if not conn: + return + self._connect(conn) + + def close(self): + """ + Close the SSH agent connection. + """ + self._close() + + +class AgentKey(PKey): + """ + Private key held in a local SSH agent. This type of key can be used for + authenticating to a remote server (signing). Most other key operations + work as expected. + + .. versionchanged:: 3.2 + Added the ``comment`` kwarg and attribute. + + .. versionchanged:: 3.2 + Added the ``.inner_key`` attribute holding a reference to the 'real' + key instance this key is a proxy for, if one was obtainable, else None. + """ + + def __init__(self, agent, blob, comment=""): + self.agent = agent + self.blob = blob + self.comment = comment + msg = Message(blob) + self.name = msg.get_text() + self._logger = get_logger(__file__) + self.inner_key = None + try: + self.inner_key = PKey.from_type_string( + key_type=self.name, key_bytes=blob + ) + except UnknownKeyType: + # Log, but don't explode, since inner_key is a best-effort thing. + err = "Unable to derive inner_key for agent key of type {!r}" + self.log(DEBUG, err.format(self.name)) + + def log(self, *args, **kwargs): + return self._logger.log(*args, **kwargs) + + def asbytes(self): + # Prefer inner_key.asbytes, since that will differ for eg RSA-CERT + return self.inner_key.asbytes() if self.inner_key else self.blob + + def get_name(self): + return self.name + + def get_bits(self): + # Have to work around PKey's default get_bits being crap + if self.inner_key is not None: + return self.inner_key.get_bits() + return super().get_bits() + + def __getattr__(self, name): + """ + Proxy any un-implemented methods/properties to the inner_key. + """ + if self.inner_key is None: # nothing to proxy to + raise AttributeError(name) + return getattr(self.inner_key, name) + + @property + def _fields(self): + fallback = [self.get_name(), self.blob] + return self.inner_key._fields if self.inner_key else fallback + + def sign_ssh_data(self, data, algorithm=None): + msg = Message() + msg.add_byte(cSSH2_AGENTC_SIGN_REQUEST) + # NOTE: this used to be just self.blob, which is not entirely right for + # RSA-CERT 'keys' - those end up always degrading to ssh-rsa type + # signatures, for reasons probably internal to OpenSSH's agent code, + # even if everything else wants SHA2 (including our flag map). + msg.add_string(self.asbytes()) + msg.add_string(data) + msg.add_int(ALGORITHM_FLAG_MAP.get(algorithm, 0)) + ptype, result = self.agent._send_message(msg) + if ptype != SSH2_AGENT_SIGN_RESPONSE: + raise SSHException("key cannot be used for signing") + return result.get_binary() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/auth_handler.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/auth_handler.py new file mode 100644 index 0000000000000000000000000000000000000000..bc7f298fec17b42d4dd5f9df9b812cc6f6340902 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/auth_handler.py @@ -0,0 +1,1092 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +`.AuthHandler` +""" + +import weakref +import threading +import time +import re + +from paramiko.common import ( + cMSG_SERVICE_REQUEST, + cMSG_DISCONNECT, + DISCONNECT_SERVICE_NOT_AVAILABLE, + DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE, + cMSG_USERAUTH_REQUEST, + cMSG_SERVICE_ACCEPT, + DEBUG, + AUTH_SUCCESSFUL, + INFO, + cMSG_USERAUTH_SUCCESS, + cMSG_USERAUTH_FAILURE, + AUTH_PARTIALLY_SUCCESSFUL, + cMSG_USERAUTH_INFO_REQUEST, + WARNING, + AUTH_FAILED, + cMSG_USERAUTH_PK_OK, + cMSG_USERAUTH_INFO_RESPONSE, + MSG_SERVICE_REQUEST, + MSG_SERVICE_ACCEPT, + MSG_USERAUTH_REQUEST, + MSG_USERAUTH_SUCCESS, + MSG_USERAUTH_FAILURE, + MSG_USERAUTH_BANNER, + MSG_USERAUTH_INFO_REQUEST, + MSG_USERAUTH_INFO_RESPONSE, + cMSG_USERAUTH_GSSAPI_RESPONSE, + cMSG_USERAUTH_GSSAPI_TOKEN, + cMSG_USERAUTH_GSSAPI_MIC, + MSG_USERAUTH_GSSAPI_RESPONSE, + MSG_USERAUTH_GSSAPI_TOKEN, + MSG_USERAUTH_GSSAPI_ERROR, + MSG_USERAUTH_GSSAPI_ERRTOK, + MSG_USERAUTH_GSSAPI_MIC, + MSG_NAMES, + cMSG_USERAUTH_BANNER, +) +from paramiko.message import Message +from paramiko.util import b, u +from paramiko.ssh_exception import ( + SSHException, + AuthenticationException, + BadAuthenticationType, + PartialAuthentication, +) +from paramiko.server import InteractiveQuery +from paramiko.ssh_gss import GSSAuth, GSS_EXCEPTIONS + + +class AuthHandler: + """ + Internal class to handle the mechanics of authentication. + """ + + def __init__(self, transport): + self.transport = weakref.proxy(transport) + self.username = None + self.authenticated = False + self.auth_event = None + self.auth_method = "" + self.banner = None + self.password = None + self.private_key = None + self.interactive_handler = None + self.submethods = None + # for server mode: + self.auth_username = None + self.auth_fail_count = 0 + # for GSSAPI + self.gss_host = None + self.gss_deleg_creds = True + + def _log(self, *args): + return self.transport._log(*args) + + def is_authenticated(self): + return self.authenticated + + def get_username(self): + if self.transport.server_mode: + return self.auth_username + else: + return self.username + + def auth_none(self, username, event): + self.transport.lock.acquire() + try: + self.auth_event = event + self.auth_method = "none" + self.username = username + self._request_auth() + finally: + self.transport.lock.release() + + def auth_publickey(self, username, key, event): + self.transport.lock.acquire() + try: + self.auth_event = event + self.auth_method = "publickey" + self.username = username + self.private_key = key + self._request_auth() + finally: + self.transport.lock.release() + + def auth_password(self, username, password, event): + self.transport.lock.acquire() + try: + self.auth_event = event + self.auth_method = "password" + self.username = username + self.password = password + self._request_auth() + finally: + self.transport.lock.release() + + def auth_interactive(self, username, handler, event, submethods=""): + """ + response_list = handler(title, instructions, prompt_list) + """ + self.transport.lock.acquire() + try: + self.auth_event = event + self.auth_method = "keyboard-interactive" + self.username = username + self.interactive_handler = handler + self.submethods = submethods + self._request_auth() + finally: + self.transport.lock.release() + + def auth_gssapi_with_mic(self, username, gss_host, gss_deleg_creds, event): + self.transport.lock.acquire() + try: + self.auth_event = event + self.auth_method = "gssapi-with-mic" + self.username = username + self.gss_host = gss_host + self.gss_deleg_creds = gss_deleg_creds + self._request_auth() + finally: + self.transport.lock.release() + + def auth_gssapi_keyex(self, username, event): + self.transport.lock.acquire() + try: + self.auth_event = event + self.auth_method = "gssapi-keyex" + self.username = username + self._request_auth() + finally: + self.transport.lock.release() + + def abort(self): + if self.auth_event is not None: + self.auth_event.set() + + # ...internals... + + def _request_auth(self): + m = Message() + m.add_byte(cMSG_SERVICE_REQUEST) + m.add_string("ssh-userauth") + self.transport._send_message(m) + + def _disconnect_service_not_available(self): + m = Message() + m.add_byte(cMSG_DISCONNECT) + m.add_int(DISCONNECT_SERVICE_NOT_AVAILABLE) + m.add_string("Service not available") + m.add_string("en") + self.transport._send_message(m) + self.transport.close() + + def _disconnect_no_more_auth(self): + m = Message() + m.add_byte(cMSG_DISCONNECT) + m.add_int(DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE) + m.add_string("No more auth methods available") + m.add_string("en") + self.transport._send_message(m) + self.transport.close() + + def _get_key_type_and_bits(self, key): + """ + Given any key, return its type/algorithm & bits-to-sign. + + Intended for input to or verification of, key signatures. + """ + # Use certificate contents, if available, plain pubkey otherwise + if key.public_blob: + return key.public_blob.key_type, key.public_blob.key_blob + else: + return key.get_name(), key + + def _get_session_blob(self, key, service, username, algorithm): + m = Message() + m.add_string(self.transport.session_id) + m.add_byte(cMSG_USERAUTH_REQUEST) + m.add_string(username) + m.add_string(service) + m.add_string("publickey") + m.add_boolean(True) + _, bits = self._get_key_type_and_bits(key) + m.add_string(algorithm) + m.add_string(bits) + return m.asbytes() + + def wait_for_response(self, event): + max_ts = None + if self.transport.auth_timeout is not None: + max_ts = time.time() + self.transport.auth_timeout + while True: + event.wait(0.1) + if not self.transport.is_active(): + e = self.transport.get_exception() + if (e is None) or issubclass(e.__class__, EOFError): + e = AuthenticationException( + "Authentication failed: transport shut down or saw EOF" + ) + raise e + if event.is_set(): + break + if max_ts is not None and max_ts <= time.time(): + raise AuthenticationException("Authentication timeout.") + + if not self.is_authenticated(): + e = self.transport.get_exception() + if e is None: + e = AuthenticationException("Authentication failed.") + # this is horrible. Python Exception isn't yet descended from + # object, so type(e) won't work. :( + # TODO 4.0: lol. just lmao. + if issubclass(e.__class__, PartialAuthentication): + return e.allowed_types + raise e + return [] + + def _parse_service_request(self, m): + service = m.get_text() + if self.transport.server_mode and (service == "ssh-userauth"): + # accepted + m = Message() + m.add_byte(cMSG_SERVICE_ACCEPT) + m.add_string(service) + self.transport._send_message(m) + banner, language = self.transport.server_object.get_banner() + if banner: + m = Message() + m.add_byte(cMSG_USERAUTH_BANNER) + m.add_string(banner) + m.add_string(language) + self.transport._send_message(m) + return + # dunno this one + self._disconnect_service_not_available() + + def _generate_key_from_request(self, algorithm, keyblob): + # For use in server mode. + options = self.transport.preferred_pubkeys + if algorithm.replace("-cert-v01@openssh.com", "") not in options: + err = ( + "Auth rejected: pubkey algorithm '{}' unsupported or disabled" + ) + self._log(INFO, err.format(algorithm)) + return None + return self.transport._key_info[algorithm](Message(keyblob)) + + def _choose_fallback_pubkey_algorithm(self, key_type, my_algos): + # Fallback: first one in our (possibly tweaked by caller) list + pubkey_algo = my_algos[0] + msg = "Server did not send a server-sig-algs list; defaulting to our first preferred algo ({!r})" # noqa + self._log(DEBUG, msg.format(pubkey_algo)) + self._log( + DEBUG, + "NOTE: you may use the 'disabled_algorithms' SSHClient/Transport init kwarg to disable that or other algorithms if your server does not support them!", # noqa + ) + return pubkey_algo + + def _finalize_pubkey_algorithm(self, key_type): + # Short-circuit for non-RSA keys + if "rsa" not in key_type: + return key_type + self._log( + DEBUG, + "Finalizing pubkey algorithm for key of type {!r}".format( + key_type + ), + ) + # NOTE re #2017: When the key is an RSA cert and the remote server is + # OpenSSH 7.7 or earlier, always use ssh-rsa-cert-v01@openssh.com. + # Those versions of the server won't support rsa-sha2 family sig algos + # for certs specifically, and in tandem with various server bugs + # regarding server-sig-algs, it's impossible to fit this into the rest + # of the logic here. + if key_type.endswith("-cert-v01@openssh.com") and re.search( + r"-OpenSSH_(?:[1-6]|7\.[0-7])", self.transport.remote_version + ): + pubkey_algo = "ssh-rsa-cert-v01@openssh.com" + self.transport._agreed_pubkey_algorithm = pubkey_algo + self._log(DEBUG, "OpenSSH<7.8 + RSA cert = forcing ssh-rsa!") + self._log( + DEBUG, "Agreed upon {!r} pubkey algorithm".format(pubkey_algo) + ) + return pubkey_algo + # Normal attempts to handshake follow from here. + # Only consider RSA algos from our list, lest we agree on another! + my_algos = [x for x in self.transport.preferred_pubkeys if "rsa" in x] + self._log(DEBUG, "Our pubkey algorithm list: {}".format(my_algos)) + # Short-circuit negatively if user disabled all RSA algos (heh) + if not my_algos: + raise SSHException( + "An RSA key was specified, but no RSA pubkey algorithms are configured!" # noqa + ) + # Check for server-sig-algs if supported & sent + server_algo_str = u( + self.transport.server_extensions.get("server-sig-algs", b("")) + ) + pubkey_algo = None + # Prefer to match against server-sig-algs + if server_algo_str: + server_algos = server_algo_str.split(",") + self._log( + DEBUG, "Server-side algorithm list: {}".format(server_algos) + ) + # Only use algos from our list that the server likes, in our own + # preference order. (NOTE: purposefully using same style as in + # Transport...expect to refactor later) + agreement = list(filter(server_algos.__contains__, my_algos)) + if agreement: + pubkey_algo = agreement[0] + self._log( + DEBUG, + "Agreed upon {!r} pubkey algorithm".format(pubkey_algo), + ) + else: + self._log(DEBUG, "No common pubkey algorithms exist! Dying.") + # TODO: MAY want to use IncompatiblePeer again here but that's + # technically for initial key exchange, not pubkey auth. + err = "Unable to agree on a pubkey algorithm for signing a {!r} key!" # noqa + raise AuthenticationException(err.format(key_type)) + # Fallback to something based purely on the key & our configuration + else: + pubkey_algo = self._choose_fallback_pubkey_algorithm( + key_type, my_algos + ) + if key_type.endswith("-cert-v01@openssh.com"): + pubkey_algo += "-cert-v01@openssh.com" + self.transport._agreed_pubkey_algorithm = pubkey_algo + return pubkey_algo + + def _parse_service_accept(self, m): + service = m.get_text() + if service == "ssh-userauth": + self._log(DEBUG, "userauth is OK") + m = Message() + m.add_byte(cMSG_USERAUTH_REQUEST) + m.add_string(self.username) + m.add_string("ssh-connection") + m.add_string(self.auth_method) + if self.auth_method == "password": + m.add_boolean(False) + password = b(self.password) + m.add_string(password) + elif self.auth_method == "publickey": + m.add_boolean(True) + key_type, bits = self._get_key_type_and_bits(self.private_key) + algorithm = self._finalize_pubkey_algorithm(key_type) + m.add_string(algorithm) + m.add_string(bits) + blob = self._get_session_blob( + self.private_key, + "ssh-connection", + self.username, + algorithm, + ) + sig = self.private_key.sign_ssh_data(blob, algorithm) + m.add_string(sig) + elif self.auth_method == "keyboard-interactive": + m.add_string("") + m.add_string(self.submethods) + elif self.auth_method == "gssapi-with-mic": + sshgss = GSSAuth(self.auth_method, self.gss_deleg_creds) + m.add_bytes(sshgss.ssh_gss_oids()) + # send the supported GSSAPI OIDs to the server + self.transport._send_message(m) + ptype, m = self.transport.packetizer.read_message() + if ptype == MSG_USERAUTH_BANNER: + self._parse_userauth_banner(m) + ptype, m = self.transport.packetizer.read_message() + if ptype == MSG_USERAUTH_GSSAPI_RESPONSE: + # Read the mechanism selected by the server. We send just + # the Kerberos V5 OID, so the server can only respond with + # this OID. + mech = m.get_string() + m = Message() + m.add_byte(cMSG_USERAUTH_GSSAPI_TOKEN) + try: + m.add_string( + sshgss.ssh_init_sec_context( + self.gss_host, mech, self.username + ) + ) + except GSS_EXCEPTIONS as e: + return self._handle_local_gss_failure(e) + self.transport._send_message(m) + while True: + ptype, m = self.transport.packetizer.read_message() + if ptype == MSG_USERAUTH_GSSAPI_TOKEN: + srv_token = m.get_string() + try: + next_token = sshgss.ssh_init_sec_context( + self.gss_host, + mech, + self.username, + srv_token, + ) + except GSS_EXCEPTIONS as e: + return self._handle_local_gss_failure(e) + # After this step the GSSAPI should not return any + # token. If it does, we keep sending the token to + # the server until no more token is returned. + if next_token is None: + break + else: + m = Message() + m.add_byte(cMSG_USERAUTH_GSSAPI_TOKEN) + m.add_string(next_token) + self.transport.send_message(m) + else: + raise SSHException( + "Received Package: {}".format(MSG_NAMES[ptype]) + ) + m = Message() + m.add_byte(cMSG_USERAUTH_GSSAPI_MIC) + # send the MIC to the server + m.add_string(sshgss.ssh_get_mic(self.transport.session_id)) + elif ptype == MSG_USERAUTH_GSSAPI_ERRTOK: + # RFC 4462 says we are not required to implement GSS-API + # error messages. + # See RFC 4462 Section 3.8 in + # http://www.ietf.org/rfc/rfc4462.txt + raise SSHException("Server returned an error token") + elif ptype == MSG_USERAUTH_GSSAPI_ERROR: + maj_status = m.get_int() + min_status = m.get_int() + err_msg = m.get_string() + m.get_string() # Lang tag - discarded + raise SSHException( + """GSS-API Error: +Major Status: {} +Minor Status: {} +Error Message: {} +""".format( + maj_status, min_status, err_msg + ) + ) + elif ptype == MSG_USERAUTH_FAILURE: + self._parse_userauth_failure(m) + return + else: + raise SSHException( + "Received Package: {}".format(MSG_NAMES[ptype]) + ) + elif ( + self.auth_method == "gssapi-keyex" + and self.transport.gss_kex_used + ): + kexgss = self.transport.kexgss_ctxt + kexgss.set_username(self.username) + mic_token = kexgss.ssh_get_mic(self.transport.session_id) + m.add_string(mic_token) + elif self.auth_method == "none": + pass + else: + raise SSHException( + 'Unknown auth method "{}"'.format(self.auth_method) + ) + self.transport._send_message(m) + else: + self._log( + DEBUG, 'Service request "{}" accepted (?)'.format(service) + ) + + def _send_auth_result(self, username, method, result): + # okay, send result + m = Message() + if result == AUTH_SUCCESSFUL: + self._log(INFO, "Auth granted ({}).".format(method)) + m.add_byte(cMSG_USERAUTH_SUCCESS) + self.authenticated = True + else: + self._log(INFO, "Auth rejected ({}).".format(method)) + m.add_byte(cMSG_USERAUTH_FAILURE) + m.add_string( + self.transport.server_object.get_allowed_auths(username) + ) + if result == AUTH_PARTIALLY_SUCCESSFUL: + m.add_boolean(True) + else: + m.add_boolean(False) + self.auth_fail_count += 1 + self.transport._send_message(m) + if self.auth_fail_count >= 10: + self._disconnect_no_more_auth() + if result == AUTH_SUCCESSFUL: + self.transport._auth_trigger() + + def _interactive_query(self, q): + # make interactive query instead of response + m = Message() + m.add_byte(cMSG_USERAUTH_INFO_REQUEST) + m.add_string(q.name) + m.add_string(q.instructions) + m.add_string(bytes()) + m.add_int(len(q.prompts)) + for p in q.prompts: + m.add_string(p[0]) + m.add_boolean(p[1]) + self.transport._send_message(m) + + def _parse_userauth_request(self, m): + if not self.transport.server_mode: + # er, uh... what? + m = Message() + m.add_byte(cMSG_USERAUTH_FAILURE) + m.add_string("none") + m.add_boolean(False) + self.transport._send_message(m) + return + if self.authenticated: + # ignore + return + username = m.get_text() + service = m.get_text() + method = m.get_text() + self._log( + DEBUG, + "Auth request (type={}) service={}, username={}".format( + method, service, username + ), + ) + if service != "ssh-connection": + self._disconnect_service_not_available() + return + if (self.auth_username is not None) and ( + self.auth_username != username + ): + self._log( + WARNING, + "Auth rejected because the client attempted to change username in mid-flight", # noqa + ) + self._disconnect_no_more_auth() + return + self.auth_username = username + # check if GSS-API authentication is enabled + gss_auth = self.transport.server_object.enable_auth_gssapi() + + if method == "none": + result = self.transport.server_object.check_auth_none(username) + elif method == "password": + changereq = m.get_boolean() + password = m.get_binary() + try: + password = password.decode("UTF-8") + except UnicodeError: + # some clients/servers expect non-utf-8 passwords! + # in this case, just return the raw byte string. + pass + if changereq: + # always treated as failure, since we don't support changing + # passwords, but collect the list of valid auth types from + # the callback anyway + self._log(DEBUG, "Auth request to change passwords (rejected)") + newpassword = m.get_binary() + try: + newpassword = newpassword.decode("UTF-8", "replace") + except UnicodeError: + pass + result = AUTH_FAILED + else: + result = self.transport.server_object.check_auth_password( + username, password + ) + elif method == "publickey": + sig_attached = m.get_boolean() + # NOTE: server never wants to guess a client's algo, they're + # telling us directly. No need for _finalize_pubkey_algorithm + # anywhere in this flow. + algorithm = m.get_text() + keyblob = m.get_binary() + try: + key = self._generate_key_from_request(algorithm, keyblob) + except SSHException as e: + self._log(INFO, "Auth rejected: public key: {}".format(str(e))) + key = None + except Exception as e: + msg = "Auth rejected: unsupported or mangled public key ({}: {})" # noqa + self._log(INFO, msg.format(e.__class__.__name__, e)) + key = None + if key is None: + self._disconnect_no_more_auth() + return + # first check if this key is okay... if not, we can skip the verify + result = self.transport.server_object.check_auth_publickey( + username, key + ) + if result != AUTH_FAILED: + # key is okay, verify it + if not sig_attached: + # client wants to know if this key is acceptable, before it + # signs anything... send special "ok" message + m = Message() + m.add_byte(cMSG_USERAUTH_PK_OK) + m.add_string(algorithm) + m.add_string(keyblob) + self.transport._send_message(m) + return + sig = Message(m.get_binary()) + blob = self._get_session_blob( + key, service, username, algorithm + ) + if not key.verify_ssh_sig(blob, sig): + self._log(INFO, "Auth rejected: invalid signature") + result = AUTH_FAILED + elif method == "keyboard-interactive": + submethods = m.get_string() + result = self.transport.server_object.check_auth_interactive( + username, submethods + ) + if isinstance(result, InteractiveQuery): + # make interactive query instead of response + self._interactive_query(result) + return + elif method == "gssapi-with-mic" and gss_auth: + sshgss = GSSAuth(method) + # Read the number of OID mechanisms supported by the client. + # OpenSSH sends just one OID. It's the Kerveros V5 OID and that's + # the only OID we support. + mechs = m.get_int() + # We can't accept more than one OID, so if the SSH client sends + # more than one, disconnect. + if mechs > 1: + self._log( + INFO, + "Disconnect: Received more than one GSS-API OID mechanism", + ) + self._disconnect_no_more_auth() + desired_mech = m.get_string() + mech_ok = sshgss.ssh_check_mech(desired_mech) + # if we don't support the mechanism, disconnect. + if not mech_ok: + self._log( + INFO, + "Disconnect: Received an invalid GSS-API OID mechanism", + ) + self._disconnect_no_more_auth() + # send the Kerberos V5 GSSAPI OID to the client + supported_mech = sshgss.ssh_gss_oids("server") + # RFC 4462 says we are not required to implement GSS-API error + # messages. See section 3.8 in http://www.ietf.org/rfc/rfc4462.txt + m = Message() + m.add_byte(cMSG_USERAUTH_GSSAPI_RESPONSE) + m.add_bytes(supported_mech) + self.transport.auth_handler = GssapiWithMicAuthHandler( + self, sshgss + ) + self.transport._expected_packet = ( + MSG_USERAUTH_GSSAPI_TOKEN, + MSG_USERAUTH_REQUEST, + MSG_SERVICE_REQUEST, + ) + self.transport._send_message(m) + return + elif method == "gssapi-keyex" and gss_auth: + mic_token = m.get_string() + sshgss = self.transport.kexgss_ctxt + if sshgss is None: + # If there is no valid context, we reject the authentication + result = AUTH_FAILED + self._send_auth_result(username, method, result) + try: + sshgss.ssh_check_mic( + mic_token, self.transport.session_id, self.auth_username + ) + except Exception: + result = AUTH_FAILED + self._send_auth_result(username, method, result) + raise + result = AUTH_SUCCESSFUL + self.transport.server_object.check_auth_gssapi_keyex( + username, result + ) + else: + result = self.transport.server_object.check_auth_none(username) + # okay, send result + self._send_auth_result(username, method, result) + + def _parse_userauth_success(self, m): + self._log( + INFO, "Authentication ({}) successful!".format(self.auth_method) + ) + self.authenticated = True + self.transport._auth_trigger() + if self.auth_event is not None: + self.auth_event.set() + + def _parse_userauth_failure(self, m): + authlist = m.get_list() + # TODO 4.0: we aren't giving callers access to authlist _unless_ it's + # partial authentication, so eg authtype=none can't work unless we + # tweak this. + partial = m.get_boolean() + if partial: + self._log(INFO, "Authentication continues...") + self._log(DEBUG, "Methods: " + str(authlist)) + self.transport.saved_exception = PartialAuthentication(authlist) + elif self.auth_method not in authlist: + for msg in ( + "Authentication type ({}) not permitted.".format( + self.auth_method + ), + "Allowed methods: {}".format(authlist), + ): + self._log(DEBUG, msg) + self.transport.saved_exception = BadAuthenticationType( + "Bad authentication type", authlist + ) + else: + self._log( + INFO, "Authentication ({}) failed.".format(self.auth_method) + ) + self.authenticated = False + self.username = None + if self.auth_event is not None: + self.auth_event.set() + + def _parse_userauth_banner(self, m): + banner = m.get_string() + self.banner = banner + self._log(INFO, "Auth banner: {}".format(banner)) + # who cares. + + def _parse_userauth_info_request(self, m): + if self.auth_method != "keyboard-interactive": + raise SSHException("Illegal info request from server") + title = m.get_text() + instructions = m.get_text() + m.get_binary() # lang + prompts = m.get_int() + prompt_list = [] + for i in range(prompts): + prompt_list.append((m.get_text(), m.get_boolean())) + response_list = self.interactive_handler( + title, instructions, prompt_list + ) + + m = Message() + m.add_byte(cMSG_USERAUTH_INFO_RESPONSE) + m.add_int(len(response_list)) + for r in response_list: + m.add_string(r) + self.transport._send_message(m) + + def _parse_userauth_info_response(self, m): + if not self.transport.server_mode: + raise SSHException("Illegal info response from server") + n = m.get_int() + responses = [] + for i in range(n): + responses.append(m.get_text()) + result = self.transport.server_object.check_auth_interactive_response( + responses + ) + if isinstance(result, InteractiveQuery): + # make interactive query instead of response + self._interactive_query(result) + return + self._send_auth_result( + self.auth_username, "keyboard-interactive", result + ) + + def _handle_local_gss_failure(self, e): + self.transport.saved_exception = e + self._log(DEBUG, "GSSAPI failure: {}".format(e)) + self._log(INFO, "Authentication ({}) failed.".format(self.auth_method)) + self.authenticated = False + self.username = None + if self.auth_event is not None: + self.auth_event.set() + return + + # TODO 4.0: MAY make sense to make these tables into actual + # classes/instances that can be fed a mode bool or whatever. Or, + # alternately (both?) make the message types small classes or enums that + # embed this info within themselves (which could also then tidy up the + # current 'integer -> human readable short string' stuff in common.py). + # TODO: if we do that, also expose 'em publicly. + + # Messages which should be handled _by_ servers (sent by clients) + @property + def _server_handler_table(self): + return { + # TODO 4.0: MSG_SERVICE_REQUEST ought to eventually move into + # Transport's server mode like the client side did, just for + # consistency. + MSG_SERVICE_REQUEST: self._parse_service_request, + MSG_USERAUTH_REQUEST: self._parse_userauth_request, + MSG_USERAUTH_INFO_RESPONSE: self._parse_userauth_info_response, + } + + # Messages which should be handled _by_ clients (sent by servers) + @property + def _client_handler_table(self): + return { + MSG_SERVICE_ACCEPT: self._parse_service_accept, + MSG_USERAUTH_SUCCESS: self._parse_userauth_success, + MSG_USERAUTH_FAILURE: self._parse_userauth_failure, + MSG_USERAUTH_BANNER: self._parse_userauth_banner, + MSG_USERAUTH_INFO_REQUEST: self._parse_userauth_info_request, + } + + # NOTE: prior to the fix for #1283, this was a static dict instead of a + # property. Should be backwards compatible in most/all cases. + @property + def _handler_table(self): + if self.transport.server_mode: + return self._server_handler_table + else: + return self._client_handler_table + + +class GssapiWithMicAuthHandler: + """A specialized Auth handler for gssapi-with-mic + + During the GSSAPI token exchange we need a modified dispatch table, + because the packet type numbers are not unique. + """ + + method = "gssapi-with-mic" + + def __init__(self, delegate, sshgss): + self._delegate = delegate + self.sshgss = sshgss + + def abort(self): + self._restore_delegate_auth_handler() + return self._delegate.abort() + + @property + def transport(self): + return self._delegate.transport + + @property + def _send_auth_result(self): + return self._delegate._send_auth_result + + @property + def auth_username(self): + return self._delegate.auth_username + + @property + def gss_host(self): + return self._delegate.gss_host + + def _restore_delegate_auth_handler(self): + self.transport.auth_handler = self._delegate + + def _parse_userauth_gssapi_token(self, m): + client_token = m.get_string() + # use the client token as input to establish a secure + # context. + sshgss = self.sshgss + try: + token = sshgss.ssh_accept_sec_context( + self.gss_host, client_token, self.auth_username + ) + except Exception as e: + self.transport.saved_exception = e + result = AUTH_FAILED + self._restore_delegate_auth_handler() + self._send_auth_result(self.auth_username, self.method, result) + raise + if token is not None: + m = Message() + m.add_byte(cMSG_USERAUTH_GSSAPI_TOKEN) + m.add_string(token) + self.transport._expected_packet = ( + MSG_USERAUTH_GSSAPI_TOKEN, + MSG_USERAUTH_GSSAPI_MIC, + MSG_USERAUTH_REQUEST, + ) + self.transport._send_message(m) + + def _parse_userauth_gssapi_mic(self, m): + mic_token = m.get_string() + sshgss = self.sshgss + username = self.auth_username + self._restore_delegate_auth_handler() + try: + sshgss.ssh_check_mic( + mic_token, self.transport.session_id, username + ) + except Exception as e: + self.transport.saved_exception = e + result = AUTH_FAILED + self._send_auth_result(username, self.method, result) + raise + # TODO: Implement client credential saving. + # The OpenSSH server is able to create a TGT with the delegated + # client credentials, but this is not supported by GSS-API. + result = AUTH_SUCCESSFUL + self.transport.server_object.check_auth_gssapi_with_mic( + username, result + ) + # okay, send result + self._send_auth_result(username, self.method, result) + + def _parse_service_request(self, m): + self._restore_delegate_auth_handler() + return self._delegate._parse_service_request(m) + + def _parse_userauth_request(self, m): + self._restore_delegate_auth_handler() + return self._delegate._parse_userauth_request(m) + + __handler_table = { + MSG_SERVICE_REQUEST: _parse_service_request, + MSG_USERAUTH_REQUEST: _parse_userauth_request, + MSG_USERAUTH_GSSAPI_TOKEN: _parse_userauth_gssapi_token, + MSG_USERAUTH_GSSAPI_MIC: _parse_userauth_gssapi_mic, + } + + @property + def _handler_table(self): + # TODO: determine if we can cut this up like we did for the primary + # AuthHandler class. + return self.__handler_table + + +class AuthOnlyHandler(AuthHandler): + """ + AuthHandler, and just auth, no service requests! + + .. versionadded:: 3.2 + """ + + # NOTE: this purposefully duplicates some of the parent class in order to + # modernize, refactor, etc. The intent is that eventually we will collapse + # this one onto the parent in a backwards incompatible release. + + @property + def _client_handler_table(self): + my_table = super()._client_handler_table.copy() + del my_table[MSG_SERVICE_ACCEPT] + return my_table + + def send_auth_request(self, username, method, finish_message=None): + """ + Submit a userauth request message & wait for response. + + Performs the transport message send call, sets self.auth_event, and + will lock-n-block as necessary to both send, and wait for response to, + the USERAUTH_REQUEST. + + Most callers will want to supply a callback to ``finish_message``, + which accepts a Message ``m`` and may call mutator methods on it to add + more fields. + """ + # Store a few things for reference in handlers, including auth failure + # handler (which needs to know if we were using a bad method, etc) + self.auth_method = method + self.username = username + # Generic userauth request fields + m = Message() + m.add_byte(cMSG_USERAUTH_REQUEST) + m.add_string(username) + m.add_string("ssh-connection") + m.add_string(method) + # Caller usually has more to say, such as injecting password, key etc + finish_message(m) + # TODO 4.0: seems odd to have the client handle the lock and not + # Transport; that _may_ have been an artifact of allowing user + # threading event injection? Regardless, we don't want to move _this_ + # locking into Transport._send_message now, because lots of other + # untouched code also uses that method and we might end up + # double-locking (?) but 4.0 would be a good time to revisit. + with self.transport.lock: + self.transport._send_message(m) + # We have cut out the higher level event args, but self.auth_event is + # still required for self.wait_for_response to function correctly (it's + # the mechanism used by the auth success/failure handlers, the abort + # handler, and a few other spots like in gssapi. + # TODO: interestingly, wait_for_response itself doesn't actually + # enforce that its event argument and self.auth_event are the same... + self.auth_event = threading.Event() + return self.wait_for_response(self.auth_event) + + def auth_none(self, username): + return self.send_auth_request(username, "none") + + def auth_publickey(self, username, key): + key_type, bits = self._get_key_type_and_bits(key) + algorithm = self._finalize_pubkey_algorithm(key_type) + blob = self._get_session_blob( + key, + "ssh-connection", + username, + algorithm, + ) + + def finish(m): + # This field doesn't appear to be named, but is False when querying + # for permission (ie knowing whether to even prompt a user for + # passphrase, etc) or True when just going for it. Paramiko has + # never bothered with the former type of message, apparently. + m.add_boolean(True) + m.add_string(algorithm) + m.add_string(bits) + m.add_string(key.sign_ssh_data(blob, algorithm)) + + return self.send_auth_request(username, "publickey", finish) + + def auth_password(self, username, password): + def finish(m): + # Unnamed field that equates to "I am changing my password", which + # Paramiko clientside never supported and serverside only sort of + # supported. + m.add_boolean(False) + m.add_string(b(password)) + + return self.send_auth_request(username, "password", finish) + + def auth_interactive(self, username, handler, submethods=""): + """ + response_list = handler(title, instructions, prompt_list) + """ + # Unlike most siblings, this auth method _does_ require other + # superclass handlers (eg userauth info request) to understand + # what's going on, so we still set some self attributes. + self.auth_method = "keyboard_interactive" + self.interactive_handler = handler + + def finish(m): + # Empty string for deprecated language tag field, per RFC 4256: + # https://www.rfc-editor.org/rfc/rfc4256#section-3.1 + m.add_string("") + m.add_string(submethods) + + return self.send_auth_request(username, "keyboard-interactive", finish) + + # NOTE: not strictly 'auth only' related, but allows users to opt-in. + def _choose_fallback_pubkey_algorithm(self, key_type, my_algos): + msg = "Server did not send a server-sig-algs list; defaulting to something in our preferred algorithms list" # noqa + self._log(DEBUG, msg) + noncert_key_type = key_type.replace("-cert-v01@openssh.com", "") + if key_type in my_algos or noncert_key_type in my_algos: + actual = key_type if key_type in my_algos else noncert_key_type + msg = f"Current key type, {actual!r}, is in our preferred list; using that" # noqa + algo = actual + else: + algo = my_algos[0] + msg = f"{key_type!r} not in our list - trying first list item instead, {algo!r}" # noqa + self._log(DEBUG, msg) + return algo diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/auth_strategy.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/auth_strategy.py new file mode 100644 index 0000000000000000000000000000000000000000..03c1d87749f2fba8e270f91ce1512f23e373ba93 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/auth_strategy.py @@ -0,0 +1,306 @@ +""" +Modern, adaptable authentication machinery. + +Replaces certain parts of `.SSHClient`. For a concrete implementation, see the +``OpenSSHAuthStrategy`` class in `Fabric `_. +""" + +from collections import namedtuple + +from .agent import AgentKey +from .util import get_logger +from .ssh_exception import AuthenticationException + + +class AuthSource: + """ + Some SSH authentication source, such as a password, private key, or agent. + + See subclasses in this module for concrete implementations. + + All implementations must accept at least a ``username`` (``str``) kwarg. + """ + + def __init__(self, username): + self.username = username + + def _repr(self, **kwargs): + # TODO: are there any good libs for this? maybe some helper from + # structlog? + pairs = [f"{k}={v!r}" for k, v in kwargs.items()] + joined = ", ".join(pairs) + return f"{self.__class__.__name__}({joined})" + + def __repr__(self): + return self._repr() + + def authenticate(self, transport): + """ + Perform authentication. + """ + raise NotImplementedError + + +class NoneAuth(AuthSource): + """ + Auth type "none", ie https://www.rfc-editor.org/rfc/rfc4252#section-5.2 . + """ + + def authenticate(self, transport): + return transport.auth_none(self.username) + + +class Password(AuthSource): + """ + Password authentication. + + :param callable password_getter: + A lazy callable that should return a `str` password value at + authentication time, such as a `functools.partial` wrapping + `getpass.getpass`, an API call to a secrets store, or similar. + + If you already know the password at instantiation time, you should + simply use something like ``lambda: "my literal"`` (for a literal, but + also, shame on you!) or ``lambda: variable_name`` (for something stored + in a variable). + """ + + def __init__(self, username, password_getter): + super().__init__(username=username) + self.password_getter = password_getter + + def __repr__(self): + # Password auth is marginally more 'username-caring' than pkeys, so may + # as well log that info here. + return super()._repr(user=self.username) + + def authenticate(self, transport): + # Lazily get the password, in case it's prompting a user + # TODO: be nice to log source _of_ the password? + password = self.password_getter() + return transport.auth_password(self.username, password) + + +# TODO 4.0: twiddle this, or PKey, or both, so they're more obviously distinct. +# TODO 4.0: the obvious is to make this more wordy (PrivateKeyAuth), the +# minimalist approach might be to rename PKey to just Key (esp given all the +# subclasses are WhateverKey and not WhateverPKey) +class PrivateKey(AuthSource): + """ + Essentially a mixin for private keys. + + Knows how to auth, but leaves key material discovery/loading/decryption to + subclasses. + + Subclasses **must** ensure that they've set ``self.pkey`` to a decrypted + `.PKey` instance before calling ``super().authenticate``; typically + either in their ``__init__``, or in an overridden ``authenticate`` prior to + its `super` call. + """ + + def authenticate(self, transport): + return transport.auth_publickey(self.username, self.pkey) + + +class InMemoryPrivateKey(PrivateKey): + """ + An in-memory, decrypted `.PKey` object. + """ + + def __init__(self, username, pkey): + super().__init__(username=username) + # No decryption (presumably) necessary! + self.pkey = pkey + + def __repr__(self): + # NOTE: most of interesting repr-bits for private keys is in PKey. + # TODO: tacking on agent-ness like this is a bit awkward, but, eh? + rep = super()._repr(pkey=self.pkey) + if isinstance(self.pkey, AgentKey): + rep += " [agent]" + return rep + + +class OnDiskPrivateKey(PrivateKey): + """ + Some on-disk private key that needs opening and possibly decrypting. + + :param str source: + String tracking where this key's path was specified; should be one of + ``"ssh-config"``, ``"python-config"``, or ``"implicit-home"``. + :param Path path: + The filesystem path this key was loaded from. + :param PKey pkey: + The `PKey` object this auth source uses/represents. + """ + + def __init__(self, username, source, path, pkey): + super().__init__(username=username) + self.source = source + allowed = ("ssh-config", "python-config", "implicit-home") + if source not in allowed: + raise ValueError(f"source argument must be one of: {allowed!r}") + self.path = path + # Superclass wants .pkey, other two are mostly for display/debugging. + self.pkey = pkey + + def __repr__(self): + return self._repr( + key=self.pkey, source=self.source, path=str(self.path) + ) + + +# TODO re sources: is there anything in an OpenSSH config file that doesn't fit +# into what Paramiko already had kwargs for? + + +SourceResult = namedtuple("SourceResult", ["source", "result"]) + +# TODO: tempting to make this an OrderedDict, except the keys essentially want +# to be rich objects (AuthSources) which do not make for useful user indexing? +# TODO: members being vanilla tuples is pretty old-school/expedient; they +# "really" want to be something that's type friendlier (unless the tuple's 2nd +# member being a Union of two types is "fine"?), which I assume means yet more +# classes, eg an abstract SourceResult with concrete AuthSuccess and +# AuthFailure children? +# TODO: arguably we want __init__ typechecking of the members (or to leverage +# mypy by classifying this literally as list-of-AuthSource?) +class AuthResult(list): + """ + Represents a partial or complete SSH authentication attempt. + + This class conceptually extends `AuthStrategy` by pairing the former's + authentication **sources** with the **results** of trying to authenticate + with them. + + `AuthResult` is a (subclass of) `list` of `namedtuple`, which are of the + form ``namedtuple('SourceResult', 'source', 'result')`` (where the + ``source`` member is an `AuthSource` and the ``result`` member is either a + return value from the relevant `.Transport` method, or an exception + object). + + .. note:: + Transport auth method results are always themselves a ``list`` of "next + allowable authentication methods". + + In the simple case of "you just authenticated successfully", it's an + empty list; if your auth was rejected but you're allowed to try again, + it will be a list of string method names like ``pubkey`` or + ``password``. + + The ``__str__`` of this class represents the empty-list scenario as the + word ``success``, which should make reading the result of an + authentication session more obvious to humans. + + Instances also have a `strategy` attribute referencing the `AuthStrategy` + which was attempted. + """ + + def __init__(self, strategy, *args, **kwargs): + self.strategy = strategy + super().__init__(*args, **kwargs) + + def __str__(self): + # NOTE: meaningfully distinct from __repr__, which still wants to use + # superclass' implementation. + # TODO: go hog wild, use rich.Table? how is that on degraded term's? + # TODO: test this lol + return "\n".join( + f"{x.source} -> {x.result or 'success'}" for x in self + ) + + +# TODO 4.0: descend from SSHException or even just Exception +class AuthFailure(AuthenticationException): + """ + Basic exception wrapping an `AuthResult` indicating overall auth failure. + + Note that `AuthFailure` descends from `AuthenticationException` but is + generally "higher level"; the latter is now only raised by individual + `AuthSource` attempts and should typically only be seen by users when + encapsulated in this class. It subclasses `AuthenticationException` + primarily for backwards compatibility reasons. + """ + + def __init__(self, result): + self.result = result + + def __str__(self): + return "\n" + str(self.result) + + +class AuthStrategy: + """ + This class represents one or more attempts to auth with an SSH server. + + By default, subclasses must at least accept an ``ssh_config`` + (`.SSHConfig`) keyword argument, but may opt to accept more as needed for + their particular strategy. + """ + + def __init__( + self, + ssh_config, + ): + self.ssh_config = ssh_config + self.log = get_logger(__name__) + + def get_sources(self): + """ + Generator yielding `AuthSource` instances, in the order to try. + + This is the primary override point for subclasses: you figure out what + sources you need, and ``yield`` them. + + Subclasses _of_ subclasses may find themselves wanting to do things + like filtering or discarding around a call to `super`. + """ + raise NotImplementedError + + def authenticate(self, transport): + """ + Handles attempting `AuthSource` instances yielded from `get_sources`. + + You *normally* won't need to override this, but it's an option for + advanced users. + """ + succeeded = False + overall_result = AuthResult(strategy=self) + # TODO: arguably we could fit in a "send none auth, record allowed auth + # types sent back" thing here as OpenSSH-client does, but that likely + # wants to live in fabric.OpenSSHAuthStrategy as not all target servers + # will implement it! + # TODO: needs better "server told us too many attempts" checking! + for source in self.get_sources(): + self.log.debug(f"Trying {source}") + try: # NOTE: this really wants to _only_ wrap the authenticate()! + result = source.authenticate(transport) + succeeded = True + # TODO: 'except PartialAuthentication' is needed for 2FA and + # similar, as per old SSHClient.connect - it is the only way + # AuthHandler supplies access to the 'name-list' field from + # MSG_USERAUTH_FAILURE, at present. + except Exception as e: + result = e + # TODO: look at what this could possibly raise, we don't really + # want Exception here, right? just SSHException subclasses? or + # do we truly want to capture anything at all with assumption + # it's easy enough for users to look afterwards? + # NOTE: showing type, not message, for tersity & also most of + # the time it's basically just "Authentication failed." + source_class = e.__class__.__name__ + self.log.info( + f"Authentication via {source} failed with {source_class}" + ) + overall_result.append(SourceResult(source, result)) + if succeeded: + break + # Gotta die here if nothing worked, otherwise Transport's main loop + # just kinda hangs out until something times out! + if not succeeded: + raise AuthFailure(result=overall_result) + # Success: give back what was done, in case they care. + return overall_result + + # TODO: is there anything OpenSSH client does which _can't_ cleanly map to + # iterating a generator? diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ber.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ber.py new file mode 100644 index 0000000000000000000000000000000000000000..b8287f5de3ef2e207d84cb9853a82134a25c0d29 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ber.py @@ -0,0 +1,139 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +from paramiko.common import max_byte, zero_byte, byte_ord, byte_chr + +import paramiko.util as util +from paramiko.util import b +from paramiko.sftp import int64 + + +class BERException(Exception): + pass + + +class BER: + """ + Robey's tiny little attempt at a BER decoder. + """ + + def __init__(self, content=bytes()): + self.content = b(content) + self.idx = 0 + + def asbytes(self): + return self.content + + def __str__(self): + return self.asbytes() + + def __repr__(self): + return "BER('" + repr(self.content) + "')" + + def decode(self): + return self.decode_next() + + def decode_next(self): + if self.idx >= len(self.content): + return None + ident = byte_ord(self.content[self.idx]) + self.idx += 1 + if (ident & 31) == 31: + # identifier > 30 + ident = 0 + while self.idx < len(self.content): + t = byte_ord(self.content[self.idx]) + self.idx += 1 + ident = (ident << 7) | (t & 0x7F) + if not (t & 0x80): + break + if self.idx >= len(self.content): + return None + # now fetch length + size = byte_ord(self.content[self.idx]) + self.idx += 1 + if size & 0x80: + # more complimicated... + # FIXME: theoretically should handle indefinite-length (0x80) + t = size & 0x7F + if self.idx + t > len(self.content): + return None + size = util.inflate_long( + self.content[self.idx : self.idx + t], True + ) + self.idx += t + if self.idx + size > len(self.content): + # can't fit + return None + data = self.content[self.idx : self.idx + size] + self.idx += size + # now switch on id + if ident == 0x30: + # sequence + return self.decode_sequence(data) + elif ident == 2: + # int + return util.inflate_long(data) + else: + # 1: boolean (00 false, otherwise true) + msg = "Unknown ber encoding type {:d} (robey is lazy)" + raise BERException(msg.format(ident)) + + @staticmethod + def decode_sequence(data): + out = [] + ber = BER(data) + while True: + x = ber.decode_next() + if x is None: + break + out.append(x) + return out + + def encode_tlv(self, ident, val): + # no need to support ident > 31 here + self.content += byte_chr(ident) + if len(val) > 0x7F: + lenstr = util.deflate_long(len(val)) + self.content += byte_chr(0x80 + len(lenstr)) + lenstr + else: + self.content += byte_chr(len(val)) + self.content += val + + def encode(self, x): + if type(x) is bool: + if x: + self.encode_tlv(1, max_byte) + else: + self.encode_tlv(1, zero_byte) + elif (type(x) is int) or (type(x) is int64): + self.encode_tlv(2, util.deflate_long(x)) + elif type(x) is str: + self.encode_tlv(4, x) + elif (type(x) is list) or (type(x) is tuple): + self.encode_tlv(0x30, self.encode_sequence(x)) + else: + raise BERException( + "Unknown type for encoding: {!r}".format(type(x)) + ) + + @staticmethod + def encode_sequence(data): + ber = BER() + for item in data: + ber.encode(item) + return ber.asbytes() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/buffered_pipe.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/buffered_pipe.py new file mode 100644 index 0000000000000000000000000000000000000000..c19279c0236088f1ef109288e14cdeb82bccccb6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/buffered_pipe.py @@ -0,0 +1,212 @@ +# Copyright (C) 2006-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Attempt to generalize the "feeder" part of a `.Channel`: an object which can be +read from and closed, but is reading from a buffer fed by another thread. The +read operations are blocking and can have a timeout set. +""" + +import array +import threading +import time +from paramiko.util import b + + +class PipeTimeout(IOError): + """ + Indicates that a timeout was reached on a read from a `.BufferedPipe`. + """ + + pass + + +class BufferedPipe: + """ + A buffer that obeys normal read (with timeout) & close semantics for a + file or socket, but is fed data from another thread. This is used by + `.Channel`. + """ + + def __init__(self): + self._lock = threading.Lock() + self._cv = threading.Condition(self._lock) + self._event = None + self._buffer = array.array("B") + self._closed = False + + def _buffer_frombytes(self, data): + self._buffer.frombytes(data) + + def _buffer_tobytes(self, limit=None): + return self._buffer[:limit].tobytes() + + def set_event(self, event): + """ + Set an event on this buffer. When data is ready to be read (or the + buffer has been closed), the event will be set. When no data is + ready, the event will be cleared. + + :param threading.Event event: the event to set/clear + """ + self._lock.acquire() + try: + self._event = event + # Make sure the event starts in `set` state if we appear to already + # be closed; otherwise, if we start in `clear` state & are closed, + # nothing will ever call `.feed` and the event (& OS pipe, if we're + # wrapping one - see `Channel.fileno`) will permanently stay in + # `clear`, causing deadlock if e.g. `select`ed upon. + if self._closed or len(self._buffer) > 0: + event.set() + else: + event.clear() + finally: + self._lock.release() + + def feed(self, data): + """ + Feed new data into this pipe. This method is assumed to be called + from a separate thread, so synchronization is done. + + :param data: the data to add, as a ``str`` or ``bytes`` + """ + self._lock.acquire() + try: + if self._event is not None: + self._event.set() + self._buffer_frombytes(b(data)) + self._cv.notify_all() + finally: + self._lock.release() + + def read_ready(self): + """ + Returns true if data is buffered and ready to be read from this + feeder. A ``False`` result does not mean that the feeder has closed; + it means you may need to wait before more data arrives. + + :return: + ``True`` if a `read` call would immediately return at least one + byte; ``False`` otherwise. + """ + self._lock.acquire() + try: + if len(self._buffer) == 0: + return False + return True + finally: + self._lock.release() + + def read(self, nbytes, timeout=None): + """ + Read data from the pipe. The return value is a string representing + the data received. The maximum amount of data to be received at once + is specified by ``nbytes``. If a string of length zero is returned, + the pipe has been closed. + + The optional ``timeout`` argument can be a nonnegative float expressing + seconds, or ``None`` for no timeout. If a float is given, a + `.PipeTimeout` will be raised if the timeout period value has elapsed + before any data arrives. + + :param int nbytes: maximum number of bytes to read + :param float timeout: + maximum seconds to wait (or ``None``, the default, to wait forever) + :return: the read data, as a ``str`` or ``bytes`` + + :raises: + `.PipeTimeout` -- if a timeout was specified and no data was ready + before that timeout + """ + out = bytes() + self._lock.acquire() + try: + if len(self._buffer) == 0: + if self._closed: + return out + # should we block? + if timeout == 0.0: + raise PipeTimeout() + # loop here in case we get woken up but a different thread has + # grabbed everything in the buffer. + while (len(self._buffer) == 0) and not self._closed: + then = time.time() + self._cv.wait(timeout) + if timeout is not None: + timeout -= time.time() - then + if timeout <= 0.0: + raise PipeTimeout() + + # something's in the buffer and we have the lock! + if len(self._buffer) <= nbytes: + out = self._buffer_tobytes() + del self._buffer[:] + if (self._event is not None) and not self._closed: + self._event.clear() + else: + out = self._buffer_tobytes(nbytes) + del self._buffer[:nbytes] + finally: + self._lock.release() + + return out + + def empty(self): + """ + Clear out the buffer and return all data that was in it. + + :return: + any data that was in the buffer prior to clearing it out, as a + `str` + """ + self._lock.acquire() + try: + out = self._buffer_tobytes() + del self._buffer[:] + if (self._event is not None) and not self._closed: + self._event.clear() + return out + finally: + self._lock.release() + + def close(self): + """ + Close this pipe object. Future calls to `read` after the buffer + has been emptied will return immediately with an empty string. + """ + self._lock.acquire() + try: + self._closed = True + self._cv.notify_all() + if self._event is not None: + self._event.set() + finally: + self._lock.release() + + def __len__(self): + """ + Return the number of bytes buffered. + + :return: number (`int`) of bytes buffered + """ + self._lock.acquire() + try: + return len(self._buffer) + finally: + self._lock.release() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/channel.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/channel.py new file mode 100644 index 0000000000000000000000000000000000000000..2757450b768b79ce3261eaa1955915532c071fb1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/channel.py @@ -0,0 +1,1390 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Abstraction for an SSH2 channel. +""" + +import binascii +import os +import socket +import time +import threading + +from functools import wraps + +from paramiko import util +from paramiko.common import ( + cMSG_CHANNEL_REQUEST, + cMSG_CHANNEL_WINDOW_ADJUST, + cMSG_CHANNEL_DATA, + cMSG_CHANNEL_EXTENDED_DATA, + DEBUG, + ERROR, + cMSG_CHANNEL_SUCCESS, + cMSG_CHANNEL_FAILURE, + cMSG_CHANNEL_EOF, + cMSG_CHANNEL_CLOSE, +) +from paramiko.message import Message +from paramiko.ssh_exception import SSHException +from paramiko.file import BufferedFile +from paramiko.buffered_pipe import BufferedPipe, PipeTimeout +from paramiko import pipe +from paramiko.util import ClosingContextManager + + +def open_only(func): + """ + Decorator for `.Channel` methods which performs an openness check. + + :raises: + `.SSHException` -- If the wrapped method is called on an unopened + `.Channel`. + """ + + @wraps(func) + def _check(self, *args, **kwds): + if ( + self.closed + or self.eof_received + or self.eof_sent + or not self.active + ): + raise SSHException("Channel is not open") + return func(self, *args, **kwds) + + return _check + + +class Channel(ClosingContextManager): + """ + A secure tunnel across an SSH `.Transport`. A Channel is meant to behave + like a socket, and has an API that should be indistinguishable from the + Python socket API. + + Because SSH2 has a windowing kind of flow control, if you stop reading data + from a Channel and its buffer fills up, the server will be unable to send + you any more data until you read some of it. (This won't affect other + channels on the same transport -- all channels on a single transport are + flow-controlled independently.) Similarly, if the server isn't reading + data you send, calls to `send` may block, unless you set a timeout. This + is exactly like a normal network socket, so it shouldn't be too surprising. + + Instances of this class may be used as context managers. + """ + + def __init__(self, chanid): + """ + Create a new channel. The channel is not associated with any + particular session or `.Transport` until the Transport attaches it. + Normally you would only call this method from the constructor of a + subclass of `.Channel`. + + :param int chanid: + the ID of this channel, as passed by an existing `.Transport`. + """ + #: Channel ID + self.chanid = chanid + #: Remote channel ID + self.remote_chanid = 0 + #: `.Transport` managing this channel + self.transport = None + #: Whether the connection is presently active + self.active = False + self.eof_received = 0 + self.eof_sent = 0 + self.in_buffer = BufferedPipe() + self.in_stderr_buffer = BufferedPipe() + self.timeout = None + #: Whether the connection has been closed + self.closed = False + self.ultra_debug = False + self.lock = threading.Lock() + self.out_buffer_cv = threading.Condition(self.lock) + self.in_window_size = 0 + self.out_window_size = 0 + self.in_max_packet_size = 0 + self.out_max_packet_size = 0 + self.in_window_threshold = 0 + self.in_window_sofar = 0 + self.status_event = threading.Event() + self._name = str(chanid) + self.logger = util.get_logger("paramiko.transport") + self._pipe = None + self.event = threading.Event() + self.event_ready = False + self.combine_stderr = False + self.exit_status = -1 + self.origin_addr = None + + def __del__(self): + try: + self.close() + except: + pass + + def __repr__(self): + """ + Return a string representation of this object, for debugging. + """ + out = " 0: + out += " in-buffer={}".format(len(self.in_buffer)) + out += " -> " + repr(self.transport) + out += ">" + return out + + @open_only + def get_pty( + self, + term="vt100", + width=80, + height=24, + width_pixels=0, + height_pixels=0, + ): + """ + Request a pseudo-terminal from the server. This is usually used right + after creating a client channel, to ask the server to provide some + basic terminal semantics for a shell invoked with `invoke_shell`. + It isn't necessary (or desirable) to call this method if you're going + to execute a single command with `exec_command`. + + :param str term: the terminal type to emulate + (for example, ``'vt100'``) + :param int width: width (in characters) of the terminal screen + :param int height: height (in characters) of the terminal screen + :param int width_pixels: width (in pixels) of the terminal screen + :param int height_pixels: height (in pixels) of the terminal screen + + :raises: + `.SSHException` -- if the request was rejected or the channel was + closed + """ + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("pty-req") + m.add_boolean(True) + m.add_string(term) + m.add_int(width) + m.add_int(height) + m.add_int(width_pixels) + m.add_int(height_pixels) + m.add_string(bytes()) + self._event_pending() + self.transport._send_user_message(m) + self._wait_for_event() + + @open_only + def invoke_shell(self): + """ + Request an interactive shell session on this channel. If the server + allows it, the channel will then be directly connected to the stdin, + stdout, and stderr of the shell. + + Normally you would call `get_pty` before this, in which case the + shell will operate through the pty, and the channel will be connected + to the stdin and stdout of the pty. + + When the shell exits, the channel will be closed and can't be reused. + You must open a new channel if you wish to open another shell. + + :raises: + `.SSHException` -- if the request was rejected or the channel was + closed + """ + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("shell") + m.add_boolean(True) + self._event_pending() + self.transport._send_user_message(m) + self._wait_for_event() + + @open_only + def exec_command(self, command): + """ + Execute a command on the server. If the server allows it, the channel + will then be directly connected to the stdin, stdout, and stderr of + the command being executed. + + When the command finishes executing, the channel will be closed and + can't be reused. You must open a new channel if you wish to execute + another command. + + :param str command: a shell command to execute. + + :raises: + `.SSHException` -- if the request was rejected or the channel was + closed + """ + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("exec") + m.add_boolean(True) + m.add_string(command) + self._event_pending() + self.transport._send_user_message(m) + self._wait_for_event() + + @open_only + def invoke_subsystem(self, subsystem): + """ + Request a subsystem on the server (for example, ``sftp``). If the + server allows it, the channel will then be directly connected to the + requested subsystem. + + When the subsystem finishes, the channel will be closed and can't be + reused. + + :param str subsystem: name of the subsystem being requested. + + :raises: + `.SSHException` -- if the request was rejected or the channel was + closed + """ + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("subsystem") + m.add_boolean(True) + m.add_string(subsystem) + self._event_pending() + self.transport._send_user_message(m) + self._wait_for_event() + + @open_only + def resize_pty(self, width=80, height=24, width_pixels=0, height_pixels=0): + """ + Resize the pseudo-terminal. This can be used to change the width and + height of the terminal emulation created in a previous `get_pty` call. + + :param int width: new width (in characters) of the terminal screen + :param int height: new height (in characters) of the terminal screen + :param int width_pixels: new width (in pixels) of the terminal screen + :param int height_pixels: new height (in pixels) of the terminal screen + + :raises: + `.SSHException` -- if the request was rejected or the channel was + closed + """ + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("window-change") + m.add_boolean(False) + m.add_int(width) + m.add_int(height) + m.add_int(width_pixels) + m.add_int(height_pixels) + self.transport._send_user_message(m) + + @open_only + def update_environment(self, environment): + """ + Updates this channel's remote shell environment. + + .. note:: + This operation is additive - i.e. the current environment is not + reset before the given environment variables are set. + + .. warning:: + Servers may silently reject some environment variables; see the + warning in `set_environment_variable` for details. + + :param dict environment: + a dictionary containing the name and respective values to set + :raises: + `.SSHException` -- if any of the environment variables was rejected + by the server or the channel was closed + """ + for name, value in environment.items(): + try: + self.set_environment_variable(name, value) + except SSHException as e: + err = 'Failed to set environment variable "{}".' + raise SSHException(err.format(name), e) + + @open_only + def set_environment_variable(self, name, value): + """ + Set the value of an environment variable. + + .. warning:: + The server may reject this request depending on its ``AcceptEnv`` + setting; such rejections will fail silently (which is common client + practice for this particular request type). Make sure you + understand your server's configuration before using! + + :param str name: name of the environment variable + :param str value: value of the environment variable + + :raises: + `.SSHException` -- if the request was rejected or the channel was + closed + """ + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("env") + m.add_boolean(False) + m.add_string(name) + m.add_string(value) + self.transport._send_user_message(m) + + def exit_status_ready(self): + """ + Return true if the remote process has exited and returned an exit + status. You may use this to poll the process status if you don't + want to block in `recv_exit_status`. Note that the server may not + return an exit status in some cases (like bad servers). + + :return: + ``True`` if `recv_exit_status` will return immediately, else + ``False``. + + .. versionadded:: 1.7.3 + """ + return self.closed or self.status_event.is_set() + + def recv_exit_status(self): + """ + Return the exit status from the process on the server. This is + mostly useful for retrieving the results of an `exec_command`. + If the command hasn't finished yet, this method will wait until + it does, or until the channel is closed. If no exit status is + provided by the server, -1 is returned. + + .. warning:: + In some situations, receiving remote output larger than the current + `.Transport` or session's ``window_size`` (e.g. that set by the + ``default_window_size`` kwarg for `.Transport.__init__`) will cause + `.recv_exit_status` to hang indefinitely if it is called prior to a + sufficiently large `.Channel.recv` (or if there are no threads + calling `.Channel.recv` in the background). + + In these cases, ensuring that `.recv_exit_status` is called *after* + `.Channel.recv` (or, again, using threads) can avoid the hang. + + :return: the exit code (as an `int`) of the process on the server. + + .. versionadded:: 1.2 + """ + self.status_event.wait() + assert self.status_event.is_set() + return self.exit_status + + def send_exit_status(self, status): + """ + Send the exit status of an executed command to the client. (This + really only makes sense in server mode.) Many clients expect to + get some sort of status code back from an executed command after + it completes. + + :param int status: the exit code of the process + + .. versionadded:: 1.2 + """ + # in many cases, the channel will not still be open here. + # that's fine. + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("exit-status") + m.add_boolean(False) + m.add_int(status) + self.transport._send_user_message(m) + + @open_only + def request_x11( + self, + screen_number=0, + auth_protocol=None, + auth_cookie=None, + single_connection=False, + handler=None, + ): + """ + Request an x11 session on this channel. If the server allows it, + further x11 requests can be made from the server to the client, + when an x11 application is run in a shell session. + + From :rfc:`4254`:: + + It is RECOMMENDED that the 'x11 authentication cookie' that is + sent be a fake, random cookie, and that the cookie be checked and + replaced by the real cookie when a connection request is received. + + If you omit the auth_cookie, a new secure random 128-bit value will be + generated, used, and returned. You will need to use this value to + verify incoming x11 requests and replace them with the actual local + x11 cookie (which requires some knowledge of the x11 protocol). + + If a handler is passed in, the handler is called from another thread + whenever a new x11 connection arrives. The default handler queues up + incoming x11 connections, which may be retrieved using + `.Transport.accept`. The handler's calling signature is:: + + handler(channel: Channel, (address: str, port: int)) + + :param int screen_number: the x11 screen number (0, 10, etc.) + :param str auth_protocol: + the name of the X11 authentication method used; if none is given, + ``"MIT-MAGIC-COOKIE-1"`` is used + :param str auth_cookie: + hexadecimal string containing the x11 auth cookie; if none is + given, a secure random 128-bit value is generated + :param bool single_connection: + if True, only a single x11 connection will be forwarded (by + default, any number of x11 connections can arrive over this + session) + :param handler: + an optional callable handler to use for incoming X11 connections + :return: the auth_cookie used + """ + if auth_protocol is None: + auth_protocol = "MIT-MAGIC-COOKIE-1" + if auth_cookie is None: + auth_cookie = binascii.hexlify(os.urandom(16)) + + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("x11-req") + m.add_boolean(True) + m.add_boolean(single_connection) + m.add_string(auth_protocol) + m.add_string(auth_cookie) + m.add_int(screen_number) + self._event_pending() + self.transport._send_user_message(m) + self._wait_for_event() + self.transport._set_x11_handler(handler) + return auth_cookie + + @open_only + def request_forward_agent(self, handler): + """ + Request for a forward SSH Agent on this channel. + This is only valid for an ssh-agent from OpenSSH !!! + + :param handler: + a required callable handler to use for incoming SSH Agent + connections + + :return: True if we are ok, else False + (at that time we always return ok) + + :raises: SSHException in case of channel problem. + """ + m = Message() + m.add_byte(cMSG_CHANNEL_REQUEST) + m.add_int(self.remote_chanid) + m.add_string("auth-agent-req@openssh.com") + m.add_boolean(False) + self.transport._send_user_message(m) + self.transport._set_forward_agent_handler(handler) + return True + + def get_transport(self): + """ + Return the `.Transport` associated with this channel. + """ + return self.transport + + def set_name(self, name): + """ + Set a name for this channel. Currently it's only used to set the name + of the channel in logfile entries. The name can be fetched with the + `get_name` method. + + :param str name: new channel name + """ + self._name = name + + def get_name(self): + """ + Get the name of this channel that was previously set by `set_name`. + """ + return self._name + + def get_id(self): + """ + Return the `int` ID # for this channel. + + The channel ID is unique across a `.Transport` and usually a small + number. It's also the number passed to + `.ServerInterface.check_channel_request` when determining whether to + accept a channel request in server mode. + """ + return self.chanid + + def set_combine_stderr(self, combine): + """ + Set whether stderr should be combined into stdout on this channel. + The default is ``False``, but in some cases it may be convenient to + have both streams combined. + + If this is ``False``, and `exec_command` is called (or ``invoke_shell`` + with no pty), output to stderr will not show up through the `recv` + and `recv_ready` calls. You will have to use `recv_stderr` and + `recv_stderr_ready` to get stderr output. + + If this is ``True``, data will never show up via `recv_stderr` or + `recv_stderr_ready`. + + :param bool combine: + ``True`` if stderr output should be combined into stdout on this + channel. + :return: the previous setting (a `bool`). + + .. versionadded:: 1.1 + """ + data = bytes() + self.lock.acquire() + try: + old = self.combine_stderr + self.combine_stderr = combine + if combine and not old: + # copy old stderr buffer into primary buffer + data = self.in_stderr_buffer.empty() + finally: + self.lock.release() + if len(data) > 0: + self._feed(data) + return old + + # ...socket API... + + def settimeout(self, timeout): + """ + Set a timeout on blocking read/write operations. The ``timeout`` + argument can be a nonnegative float expressing seconds, or ``None``. + If a float is given, subsequent channel read/write operations will + raise a timeout exception if the timeout period value has elapsed + before the operation has completed. Setting a timeout of ``None`` + disables timeouts on socket operations. + + ``chan.settimeout(0.0)`` is equivalent to ``chan.setblocking(0)``; + ``chan.settimeout(None)`` is equivalent to ``chan.setblocking(1)``. + + :param float timeout: + seconds to wait for a pending read/write operation before raising + ``socket.timeout``, or ``None`` for no timeout. + """ + self.timeout = timeout + + def gettimeout(self): + """ + Returns the timeout in seconds (as a float) associated with socket + operations, or ``None`` if no timeout is set. This reflects the last + call to `setblocking` or `settimeout`. + """ + return self.timeout + + def setblocking(self, blocking): + """ + Set blocking or non-blocking mode of the channel: if ``blocking`` is 0, + the channel is set to non-blocking mode; otherwise it's set to blocking + mode. Initially all channels are in blocking mode. + + In non-blocking mode, if a `recv` call doesn't find any data, or if a + `send` call can't immediately dispose of the data, an error exception + is raised. In blocking mode, the calls block until they can proceed. An + EOF condition is considered "immediate data" for `recv`, so if the + channel is closed in the read direction, it will never block. + + ``chan.setblocking(0)`` is equivalent to ``chan.settimeout(0)``; + ``chan.setblocking(1)`` is equivalent to ``chan.settimeout(None)``. + + :param int blocking: + 0 to set non-blocking mode; non-0 to set blocking mode. + """ + if blocking: + self.settimeout(None) + else: + self.settimeout(0.0) + + def getpeername(self): + """ + Return the address of the remote side of this Channel, if possible. + + This simply wraps `.Transport.getpeername`, used to provide enough of a + socket-like interface to allow asyncore to work. (asyncore likes to + call ``'getpeername'``.) + """ + return self.transport.getpeername() + + def close(self): + """ + Close the channel. All future read/write operations on the channel + will fail. The remote end will receive no more data (after queued data + is flushed). Channels are automatically closed when their `.Transport` + is closed or when they are garbage collected. + """ + self.lock.acquire() + try: + # only close the pipe when the user explicitly closes the channel. + # otherwise they will get unpleasant surprises. (and do it before + # checking self.closed, since the remote host may have already + # closed the connection.) + if self._pipe is not None: + self._pipe.close() + self._pipe = None + + if not self.active or self.closed: + return + msgs = self._close_internal() + finally: + self.lock.release() + for m in msgs: + if m is not None: + self.transport._send_user_message(m) + + def recv_ready(self): + """ + Returns true if data is buffered and ready to be read from this + channel. A ``False`` result does not mean that the channel has closed; + it means you may need to wait before more data arrives. + + :return: + ``True`` if a `recv` call on this channel would immediately return + at least one byte; ``False`` otherwise. + """ + return self.in_buffer.read_ready() + + def recv(self, nbytes): + """ + Receive data from the channel. The return value is a string + representing the data received. The maximum amount of data to be + received at once is specified by ``nbytes``. If a string of + length zero is returned, the channel stream has closed. + + :param int nbytes: maximum number of bytes to read. + :return: received data, as a `bytes`. + + :raises socket.timeout: + if no data is ready before the timeout set by `settimeout`. + """ + try: + out = self.in_buffer.read(nbytes, self.timeout) + except PipeTimeout: + raise socket.timeout() + + ack = self._check_add_window(len(out)) + # no need to hold the channel lock when sending this + if ack > 0: + m = Message() + m.add_byte(cMSG_CHANNEL_WINDOW_ADJUST) + m.add_int(self.remote_chanid) + m.add_int(ack) + self.transport._send_user_message(m) + + return out + + def recv_stderr_ready(self): + """ + Returns true if data is buffered and ready to be read from this + channel's stderr stream. Only channels using `exec_command` or + `invoke_shell` without a pty will ever have data on the stderr + stream. + + :return: + ``True`` if a `recv_stderr` call on this channel would immediately + return at least one byte; ``False`` otherwise. + + .. versionadded:: 1.1 + """ + return self.in_stderr_buffer.read_ready() + + def recv_stderr(self, nbytes): + """ + Receive data from the channel's stderr stream. Only channels using + `exec_command` or `invoke_shell` without a pty will ever have data + on the stderr stream. The return value is a string representing the + data received. The maximum amount of data to be received at once is + specified by ``nbytes``. If a string of length zero is returned, the + channel stream has closed. + + :param int nbytes: maximum number of bytes to read. + :return: received data as a `bytes` + + :raises socket.timeout: if no data is ready before the timeout set by + `settimeout`. + + .. versionadded:: 1.1 + """ + try: + out = self.in_stderr_buffer.read(nbytes, self.timeout) + except PipeTimeout: + raise socket.timeout() + + ack = self._check_add_window(len(out)) + # no need to hold the channel lock when sending this + if ack > 0: + m = Message() + m.add_byte(cMSG_CHANNEL_WINDOW_ADJUST) + m.add_int(self.remote_chanid) + m.add_int(ack) + self.transport._send_user_message(m) + + return out + + def send_ready(self): + """ + Returns true if data can be written to this channel without blocking. + This means the channel is either closed (so any write attempt would + return immediately) or there is at least one byte of space in the + outbound buffer. If there is at least one byte of space in the + outbound buffer, a `send` call will succeed immediately and return + the number of bytes actually written. + + :return: + ``True`` if a `send` call on this channel would immediately succeed + or fail + """ + self.lock.acquire() + try: + if self.closed or self.eof_sent: + return True + return self.out_window_size > 0 + finally: + self.lock.release() + + def send(self, s): + """ + Send data to the channel. Returns the number of bytes sent, or 0 if + the channel stream is closed. Applications are responsible for + checking that all data has been sent: if only some of the data was + transmitted, the application needs to attempt delivery of the remaining + data. + + :param bytes s: data to send + :return: number of bytes actually sent, as an `int` + + :raises socket.timeout: if no data could be sent before the timeout set + by `settimeout`. + """ + + m = Message() + m.add_byte(cMSG_CHANNEL_DATA) + m.add_int(self.remote_chanid) + return self._send(s, m) + + def send_stderr(self, s): + """ + Send data to the channel on the "stderr" stream. This is normally + only used by servers to send output from shell commands -- clients + won't use this. Returns the number of bytes sent, or 0 if the channel + stream is closed. Applications are responsible for checking that all + data has been sent: if only some of the data was transmitted, the + application needs to attempt delivery of the remaining data. + + :param bytes s: data to send. + :return: number of bytes actually sent, as an `int`. + + :raises socket.timeout: + if no data could be sent before the timeout set by `settimeout`. + + .. versionadded:: 1.1 + """ + + m = Message() + m.add_byte(cMSG_CHANNEL_EXTENDED_DATA) + m.add_int(self.remote_chanid) + m.add_int(1) + return self._send(s, m) + + def sendall(self, s): + """ + Send data to the channel, without allowing partial results. Unlike + `send`, this method continues to send data from the given string until + either all data has been sent or an error occurs. Nothing is returned. + + :param bytes s: data to send. + + :raises socket.timeout: + if sending stalled for longer than the timeout set by `settimeout`. + :raises socket.error: + if an error occurred before the entire string was sent. + + .. note:: + If the channel is closed while only part of the data has been + sent, there is no way to determine how much data (if any) was sent. + This is irritating, but identically follows Python's API. + """ + while s: + sent = self.send(s) + s = s[sent:] + return None + + def sendall_stderr(self, s): + """ + Send data to the channel's "stderr" stream, without allowing partial + results. Unlike `send_stderr`, this method continues to send data + from the given bytestring until all data has been sent or an error + occurs. Nothing is returned. + + :param bytes s: data to send to the client as "stderr" output. + + :raises socket.timeout: + if sending stalled for longer than the timeout set by `settimeout`. + :raises socket.error: + if an error occurred before the entire string was sent. + + .. versionadded:: 1.1 + """ + while s: + sent = self.send_stderr(s) + s = s[sent:] + return None + + def makefile(self, *params): + """ + Return a file-like object associated with this channel. The optional + ``mode`` and ``bufsize`` arguments are interpreted the same way as by + the built-in ``file()`` function in Python. + + :return: `.ChannelFile` object which can be used for Python file I/O. + """ + return ChannelFile(*([self] + list(params))) + + def makefile_stderr(self, *params): + """ + Return a file-like object associated with this channel's stderr + stream. Only channels using `exec_command` or `invoke_shell` + without a pty will ever have data on the stderr stream. + + The optional ``mode`` and ``bufsize`` arguments are interpreted the + same way as by the built-in ``file()`` function in Python. For a + client, it only makes sense to open this file for reading. For a + server, it only makes sense to open this file for writing. + + :returns: + `.ChannelStderrFile` object which can be used for Python file I/O. + + .. versionadded:: 1.1 + """ + return ChannelStderrFile(*([self] + list(params))) + + def makefile_stdin(self, *params): + """ + Return a file-like object associated with this channel's stdin + stream. + + The optional ``mode`` and ``bufsize`` arguments are interpreted the + same way as by the built-in ``file()`` function in Python. For a + client, it only makes sense to open this file for writing. For a + server, it only makes sense to open this file for reading. + + :returns: + `.ChannelStdinFile` object which can be used for Python file I/O. + + .. versionadded:: 2.6 + """ + return ChannelStdinFile(*([self] + list(params))) + + def fileno(self): + """ + Returns an OS-level file descriptor which can be used for polling, but + but not for reading or writing. This is primarily to allow Python's + ``select`` module to work. + + The first time ``fileno`` is called on a channel, a pipe is created to + simulate real OS-level file descriptor (FD) behavior. Because of this, + two OS-level FDs are created, which will use up FDs faster than normal. + (You won't notice this effect unless you have hundreds of channels + open at the same time.) + + :return: an OS-level file descriptor (`int`) + + .. warning:: + This method causes channel reads to be slightly less efficient. + """ + self.lock.acquire() + try: + if self._pipe is not None: + return self._pipe.fileno() + # create the pipe and feed in any existing data + self._pipe = pipe.make_pipe() + p1, p2 = pipe.make_or_pipe(self._pipe) + self.in_buffer.set_event(p1) + self.in_stderr_buffer.set_event(p2) + return self._pipe.fileno() + finally: + self.lock.release() + + def shutdown(self, how): + """ + Shut down one or both halves of the connection. If ``how`` is 0, + further receives are disallowed. If ``how`` is 1, further sends + are disallowed. If ``how`` is 2, further sends and receives are + disallowed. This closes the stream in one or both directions. + + :param int how: + 0 (stop receiving), 1 (stop sending), or 2 (stop receiving and + sending). + """ + if (how == 0) or (how == 2): + # feign "read" shutdown + self.eof_received = 1 + if (how == 1) or (how == 2): + self.lock.acquire() + try: + m = self._send_eof() + finally: + self.lock.release() + if m is not None: + self.transport._send_user_message(m) + + def shutdown_read(self): + """ + Shutdown the receiving side of this socket, closing the stream in + the incoming direction. After this call, future reads on this + channel will fail instantly. This is a convenience method, equivalent + to ``shutdown(0)``, for people who don't make it a habit to + memorize unix constants from the 1970s. + + .. versionadded:: 1.2 + """ + self.shutdown(0) + + def shutdown_write(self): + """ + Shutdown the sending side of this socket, closing the stream in + the outgoing direction. After this call, future writes on this + channel will fail instantly. This is a convenience method, equivalent + to ``shutdown(1)``, for people who don't make it a habit to + memorize unix constants from the 1970s. + + .. versionadded:: 1.2 + """ + self.shutdown(1) + + @property + def _closed(self): + # Concession to Python 3's socket API, which has a private ._closed + # attribute instead of a semipublic .closed attribute. + return self.closed + + # ...calls from Transport + + def _set_transport(self, transport): + self.transport = transport + self.logger = util.get_logger(self.transport.get_log_channel()) + + def _set_window(self, window_size, max_packet_size): + self.in_window_size = window_size + self.in_max_packet_size = max_packet_size + # threshold of bytes we receive before we bother to send + # a window update + self.in_window_threshold = window_size // 10 + self.in_window_sofar = 0 + self._log(DEBUG, "Max packet in: {} bytes".format(max_packet_size)) + + def _set_remote_channel(self, chanid, window_size, max_packet_size): + self.remote_chanid = chanid + self.out_window_size = window_size + self.out_max_packet_size = self.transport._sanitize_packet_size( + max_packet_size + ) + self.active = 1 + self._log( + DEBUG, "Max packet out: {} bytes".format(self.out_max_packet_size) + ) + + def _request_success(self, m): + self._log(DEBUG, "Sesch channel {} request ok".format(self.chanid)) + self.event_ready = True + self.event.set() + return + + def _request_failed(self, m): + self.lock.acquire() + try: + msgs = self._close_internal() + finally: + self.lock.release() + for m in msgs: + if m is not None: + self.transport._send_user_message(m) + + def _feed(self, m): + if isinstance(m, bytes): + # passed from _feed_extended + s = m + else: + s = m.get_binary() + self.in_buffer.feed(s) + + def _feed_extended(self, m): + code = m.get_int() + s = m.get_binary() + if code != 1: + self._log( + ERROR, "unknown extended_data type {}; discarding".format(code) + ) + return + if self.combine_stderr: + self._feed(s) + else: + self.in_stderr_buffer.feed(s) + + def _window_adjust(self, m): + nbytes = m.get_int() + self.lock.acquire() + try: + if self.ultra_debug: + self._log(DEBUG, "window up {}".format(nbytes)) + self.out_window_size += nbytes + self.out_buffer_cv.notify_all() + finally: + self.lock.release() + + def _handle_request(self, m): + key = m.get_text() + want_reply = m.get_boolean() + server = self.transport.server_object + ok = False + if key == "exit-status": + self.exit_status = m.get_int() + self.status_event.set() + ok = True + elif key == "xon-xoff": + # ignore + ok = True + elif key == "pty-req": + term = m.get_string() + width = m.get_int() + height = m.get_int() + pixelwidth = m.get_int() + pixelheight = m.get_int() + modes = m.get_string() + if server is None: + ok = False + else: + ok = server.check_channel_pty_request( + self, term, width, height, pixelwidth, pixelheight, modes + ) + elif key == "shell": + if server is None: + ok = False + else: + ok = server.check_channel_shell_request(self) + elif key == "env": + name = m.get_string() + value = m.get_string() + if server is None: + ok = False + else: + ok = server.check_channel_env_request(self, name, value) + elif key == "exec": + cmd = m.get_string() + if server is None: + ok = False + else: + ok = server.check_channel_exec_request(self, cmd) + elif key == "subsystem": + name = m.get_text() + if server is None: + ok = False + else: + ok = server.check_channel_subsystem_request(self, name) + elif key == "window-change": + width = m.get_int() + height = m.get_int() + pixelwidth = m.get_int() + pixelheight = m.get_int() + if server is None: + ok = False + else: + ok = server.check_channel_window_change_request( + self, width, height, pixelwidth, pixelheight + ) + elif key == "x11-req": + single_connection = m.get_boolean() + auth_proto = m.get_text() + auth_cookie = m.get_binary() + screen_number = m.get_int() + if server is None: + ok = False + else: + ok = server.check_channel_x11_request( + self, + single_connection, + auth_proto, + auth_cookie, + screen_number, + ) + elif key == "auth-agent-req@openssh.com": + if server is None: + ok = False + else: + ok = server.check_channel_forward_agent_request(self) + else: + self._log(DEBUG, 'Unhandled channel request "{}"'.format(key)) + ok = False + if want_reply: + m = Message() + if ok: + m.add_byte(cMSG_CHANNEL_SUCCESS) + else: + m.add_byte(cMSG_CHANNEL_FAILURE) + m.add_int(self.remote_chanid) + self.transport._send_user_message(m) + + def _handle_eof(self, m): + self.lock.acquire() + try: + if not self.eof_received: + self.eof_received = True + self.in_buffer.close() + self.in_stderr_buffer.close() + if self._pipe is not None: + self._pipe.set_forever() + finally: + self.lock.release() + self._log(DEBUG, "EOF received ({})".format(self._name)) + + def _handle_close(self, m): + self.lock.acquire() + try: + msgs = self._close_internal() + self.transport._unlink_channel(self.chanid) + finally: + self.lock.release() + for m in msgs: + if m is not None: + self.transport._send_user_message(m) + + # ...internals... + + def _send(self, s, m): + size = len(s) + self.lock.acquire() + try: + if self.closed: + # this doesn't seem useful, but it is the documented behavior + # of Socket + raise socket.error("Socket is closed") + size = self._wait_for_send_window(size) + if size == 0: + # eof or similar + return 0 + m.add_string(s[:size]) + finally: + self.lock.release() + # Note: We release self.lock before calling _send_user_message. + # Otherwise, we can deadlock during re-keying. + self.transport._send_user_message(m) + return size + + def _log(self, level, msg, *args): + self.logger.log(level, "[chan " + self._name + "] " + msg, *args) + + def _event_pending(self): + self.event.clear() + self.event_ready = False + + def _wait_for_event(self): + self.event.wait() + assert self.event.is_set() + if self.event_ready: + return + e = self.transport.get_exception() + if e is None: + e = SSHException("Channel closed.") + raise e + + def _set_closed(self): + # you are holding the lock. + self.closed = True + self.in_buffer.close() + self.in_stderr_buffer.close() + self.out_buffer_cv.notify_all() + # Notify any waiters that we are closed + self.event.set() + self.status_event.set() + if self._pipe is not None: + self._pipe.set_forever() + + def _send_eof(self): + # you are holding the lock. + if self.eof_sent: + return None + m = Message() + m.add_byte(cMSG_CHANNEL_EOF) + m.add_int(self.remote_chanid) + self.eof_sent = True + self._log(DEBUG, "EOF sent ({})".format(self._name)) + return m + + def _close_internal(self): + # you are holding the lock. + if not self.active or self.closed: + return None, None + m1 = self._send_eof() + m2 = Message() + m2.add_byte(cMSG_CHANNEL_CLOSE) + m2.add_int(self.remote_chanid) + self._set_closed() + # can't unlink from the Transport yet -- the remote side may still + # try to send meta-data (exit-status, etc) + return m1, m2 + + def _unlink(self): + # server connection could die before we become active: + # still signal the close! + if self.closed: + return + self.lock.acquire() + try: + self._set_closed() + self.transport._unlink_channel(self.chanid) + finally: + self.lock.release() + + def _check_add_window(self, n): + self.lock.acquire() + try: + if self.closed or self.eof_received or not self.active: + return 0 + if self.ultra_debug: + self._log(DEBUG, "addwindow {}".format(n)) + self.in_window_sofar += n + if self.in_window_sofar <= self.in_window_threshold: + return 0 + if self.ultra_debug: + self._log( + DEBUG, "addwindow send {}".format(self.in_window_sofar) + ) + out = self.in_window_sofar + self.in_window_sofar = 0 + return out + finally: + self.lock.release() + + def _wait_for_send_window(self, size): + """ + (You are already holding the lock.) + Wait for the send window to open up, and allocate up to ``size`` bytes + for transmission. If no space opens up before the timeout, a timeout + exception is raised. Returns the number of bytes available to send + (may be less than requested). + """ + # you are already holding the lock + if self.closed or self.eof_sent: + return 0 + if self.out_window_size == 0: + # should we block? + if self.timeout == 0.0: + raise socket.timeout() + # loop here in case we get woken up but a different thread has + # filled the buffer + timeout = self.timeout + while self.out_window_size == 0: + if self.closed or self.eof_sent: + return 0 + then = time.time() + self.out_buffer_cv.wait(timeout) + if timeout is not None: + timeout -= time.time() - then + if timeout <= 0.0: + raise socket.timeout() + # we have some window to squeeze into + if self.closed or self.eof_sent: + return 0 + if self.out_window_size < size: + size = self.out_window_size + if self.out_max_packet_size - 64 < size: + size = self.out_max_packet_size - 64 + self.out_window_size -= size + if self.ultra_debug: + self._log(DEBUG, "window down to {}".format(self.out_window_size)) + return size + + +class ChannelFile(BufferedFile): + """ + A file-like wrapper around `.Channel`. A ChannelFile is created by calling + `Channel.makefile`. + + .. warning:: + To correctly emulate the file object created from a socket's `makefile + ` method, a `.Channel` and its + `.ChannelFile` should be able to be closed or garbage-collected + independently. Currently, closing the `ChannelFile` does nothing but + flush the buffer. + """ + + def __init__(self, channel, mode="r", bufsize=-1): + self.channel = channel + BufferedFile.__init__(self) + self._set_mode(mode, bufsize) + + def __repr__(self): + """ + Returns a string representation of this object, for debugging. + """ + return "" + + def _read(self, size): + return self.channel.recv(size) + + def _write(self, data): + self.channel.sendall(data) + return len(data) + + +class ChannelStderrFile(ChannelFile): + """ + A file-like wrapper around `.Channel` stderr. + + See `Channel.makefile_stderr` for details. + """ + + def _read(self, size): + return self.channel.recv_stderr(size) + + def _write(self, data): + self.channel.sendall_stderr(data) + return len(data) + + +class ChannelStdinFile(ChannelFile): + """ + A file-like wrapper around `.Channel` stdin. + + See `Channel.makefile_stdin` for details. + """ + + def close(self): + super().close() + self.channel.shutdown_write() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/client.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/client.py new file mode 100644 index 0000000000000000000000000000000000000000..d8be9108bc6a7b294f117985092b5220326d7ae0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/client.py @@ -0,0 +1,893 @@ +# Copyright (C) 2006-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +SSH client & key policies +""" + +from binascii import hexlify +import getpass +import inspect +import os +import socket +import warnings +from errno import ECONNREFUSED, EHOSTUNREACH + +from paramiko.agent import Agent +from paramiko.common import DEBUG +from paramiko.config import SSH_PORT +from paramiko.dsskey import DSSKey +from paramiko.ecdsakey import ECDSAKey +from paramiko.ed25519key import Ed25519Key +from paramiko.hostkeys import HostKeys +from paramiko.rsakey import RSAKey +from paramiko.ssh_exception import ( + SSHException, + BadHostKeyException, + NoValidConnectionsError, +) +from paramiko.transport import Transport +from paramiko.util import ClosingContextManager + + +class SSHClient(ClosingContextManager): + """ + A high-level representation of a session with an SSH server. This class + wraps `.Transport`, `.Channel`, and `.SFTPClient` to take care of most + aspects of authenticating and opening channels. A typical use case is:: + + client = SSHClient() + client.load_system_host_keys() + client.connect('ssh.example.com') + stdin, stdout, stderr = client.exec_command('ls -l') + + You may pass in explicit overrides for authentication and server host key + checking. The default mechanism is to try to use local key files or an + SSH agent (if one is running). + + Instances of this class may be used as context managers. + + .. versionadded:: 1.6 + """ + + def __init__(self): + """ + Create a new SSHClient. + """ + self._system_host_keys = HostKeys() + self._host_keys = HostKeys() + self._host_keys_filename = None + self._log_channel = None + self._policy = RejectPolicy() + self._transport = None + self._agent = None + + def load_system_host_keys(self, filename=None): + """ + Load host keys from a system (read-only) file. Host keys read with + this method will not be saved back by `save_host_keys`. + + This method can be called multiple times. Each new set of host keys + will be merged with the existing set (new replacing old if there are + conflicts). + + If ``filename`` is left as ``None``, an attempt will be made to read + keys from the user's local "known hosts" file, as used by OpenSSH, + and no exception will be raised if the file can't be read. This is + probably only useful on posix. + + :param str filename: the filename to read, or ``None`` + + :raises: ``IOError`` -- + if a filename was provided and the file could not be read + """ + if filename is None: + # try the user's .ssh key file, and mask exceptions + filename = os.path.expanduser("~/.ssh/known_hosts") + try: + self._system_host_keys.load(filename) + except IOError: + pass + return + self._system_host_keys.load(filename) + + def load_host_keys(self, filename): + """ + Load host keys from a local host-key file. Host keys read with this + method will be checked after keys loaded via `load_system_host_keys`, + but will be saved back by `save_host_keys` (so they can be modified). + The missing host key policy `.AutoAddPolicy` adds keys to this set and + saves them, when connecting to a previously-unknown server. + + This method can be called multiple times. Each new set of host keys + will be merged with the existing set (new replacing old if there are + conflicts). When automatically saving, the last hostname is used. + + :param str filename: the filename to read + + :raises: ``IOError`` -- if the filename could not be read + """ + self._host_keys_filename = filename + self._host_keys.load(filename) + + def save_host_keys(self, filename): + """ + Save the host keys back to a file. Only the host keys loaded with + `load_host_keys` (plus any added directly) will be saved -- not any + host keys loaded with `load_system_host_keys`. + + :param str filename: the filename to save to + + :raises: ``IOError`` -- if the file could not be written + """ + + # update local host keys from file (in case other SSH clients + # have written to the known_hosts file meanwhile. + if self._host_keys_filename is not None: + self.load_host_keys(self._host_keys_filename) + + with open(filename, "w") as f: + for hostname, keys in self._host_keys.items(): + for keytype, key in keys.items(): + f.write( + "{} {} {}\n".format( + hostname, keytype, key.get_base64() + ) + ) + + def get_host_keys(self): + """ + Get the local `.HostKeys` object. This can be used to examine the + local host keys or change them. + + :return: the local host keys as a `.HostKeys` object. + """ + return self._host_keys + + def set_log_channel(self, name): + """ + Set the channel for logging. The default is ``"paramiko.transport"`` + but it can be set to anything you want. + + :param str name: new channel name for logging + """ + self._log_channel = name + + def set_missing_host_key_policy(self, policy): + """ + Set policy to use when connecting to servers without a known host key. + + Specifically: + + * A **policy** is a "policy class" (or instance thereof), namely some + subclass of `.MissingHostKeyPolicy` such as `.RejectPolicy` (the + default), `.AutoAddPolicy`, `.WarningPolicy`, or a user-created + subclass. + * A host key is **known** when it appears in the client object's cached + host keys structures (those manipulated by `load_system_host_keys` + and/or `load_host_keys`). + + :param .MissingHostKeyPolicy policy: + the policy to use when receiving a host key from a + previously-unknown server + """ + if inspect.isclass(policy): + policy = policy() + self._policy = policy + + def _families_and_addresses(self, hostname, port): + """ + Yield pairs of address families and addresses to try for connecting. + + :param str hostname: the server to connect to + :param int port: the server port to connect to + :returns: Yields an iterable of ``(family, address)`` tuples + """ + guess = True + addrinfos = socket.getaddrinfo( + hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM + ) + for (family, socktype, proto, canonname, sockaddr) in addrinfos: + if socktype == socket.SOCK_STREAM: + yield family, sockaddr + guess = False + + # some OS like AIX don't indicate SOCK_STREAM support, so just + # guess. :( We only do this if we did not get a single result marked + # as socktype == SOCK_STREAM. + if guess: + for family, _, _, _, sockaddr in addrinfos: + yield family, sockaddr + + def connect( + self, + hostname, + port=SSH_PORT, + username=None, + password=None, + pkey=None, + key_filename=None, + timeout=None, + allow_agent=True, + look_for_keys=True, + compress=False, + sock=None, + gss_auth=False, + gss_kex=False, + gss_deleg_creds=True, + gss_host=None, + banner_timeout=None, + auth_timeout=None, + channel_timeout=None, + gss_trust_dns=True, + passphrase=None, + disabled_algorithms=None, + transport_factory=None, + auth_strategy=None, + ): + """ + Connect to an SSH server and authenticate to it. The server's host key + is checked against the system host keys (see `load_system_host_keys`) + and any local host keys (`load_host_keys`). If the server's hostname + is not found in either set of host keys, the missing host key policy + is used (see `set_missing_host_key_policy`). The default policy is + to reject the key and raise an `.SSHException`. + + Authentication is attempted in the following order of priority: + + - The ``pkey`` or ``key_filename`` passed in (if any) + + - ``key_filename`` may contain OpenSSH public certificate paths + as well as regular private-key paths; when files ending in + ``-cert.pub`` are found, they are assumed to match a private + key, and both components will be loaded. (The private key + itself does *not* need to be listed in ``key_filename`` for + this to occur - *just* the certificate.) + + - Any key we can find through an SSH agent + - Any "id_rsa", "id_dsa" or "id_ecdsa" key discoverable in + ``~/.ssh/`` + + - When OpenSSH-style public certificates exist that match an + existing such private key (so e.g. one has ``id_rsa`` and + ``id_rsa-cert.pub``) the certificate will be loaded alongside + the private key and used for authentication. + + - Plain username/password auth, if a password was given + + If a private key requires a password to unlock it, and a password is + passed in, that password will be used to attempt to unlock the key. + + :param str hostname: the server to connect to + :param int port: the server port to connect to + :param str username: + the username to authenticate as (defaults to the current local + username) + :param str password: + Used for password authentication; is also used for private key + decryption if ``passphrase`` is not given. + :param str passphrase: + Used for decrypting private keys. + :param .PKey pkey: an optional private key to use for authentication + :param str key_filename: + the filename, or list of filenames, of optional private key(s) + and/or certs to try for authentication + :param float timeout: + an optional timeout (in seconds) for the TCP connect + :param bool allow_agent: + set to False to disable connecting to the SSH agent + :param bool look_for_keys: + set to False to disable searching for discoverable private key + files in ``~/.ssh/`` + :param bool compress: set to True to turn on compression + :param socket sock: + an open socket or socket-like object (such as a `.Channel`) to use + for communication to the target host + :param bool gss_auth: + ``True`` if you want to use GSS-API authentication + :param bool gss_kex: + Perform GSS-API Key Exchange and user authentication + :param bool gss_deleg_creds: Delegate GSS-API client credentials or not + :param str gss_host: + The targets name in the kerberos database. default: hostname + :param bool gss_trust_dns: + Indicates whether or not the DNS is trusted to securely + canonicalize the name of the host being connected to (default + ``True``). + :param float banner_timeout: an optional timeout (in seconds) to wait + for the SSH banner to be presented. + :param float auth_timeout: an optional timeout (in seconds) to wait for + an authentication response. + :param float channel_timeout: an optional timeout (in seconds) to wait + for a channel open response. + :param dict disabled_algorithms: + an optional dict passed directly to `.Transport` and its keyword + argument of the same name. + :param transport_factory: + an optional callable which is handed a subset of the constructor + arguments (primarily those related to the socket, GSS + functionality, and algorithm selection) and generates a + `.Transport` instance to be used by this client. Defaults to + `.Transport.__init__`. + :param auth_strategy: + an optional instance of `.AuthStrategy`, triggering use of this + newer authentication mechanism instead of SSHClient's legacy auth + method. + + .. warning:: + This parameter is **incompatible** with all other + authentication-related parameters (such as, but not limited to, + ``password``, ``key_filename`` and ``allow_agent``) and will + trigger an exception if given alongside them. + + :returns: + `.AuthResult` if ``auth_strategy`` is non-``None``; otherwise, + returns ``None``. + + :raises BadHostKeyException: + if the server's host key could not be verified. + :raises AuthenticationException: + if authentication failed. + :raises UnableToAuthenticate: + if authentication failed (when ``auth_strategy`` is non-``None``; + and note that this is a subclass of ``AuthenticationException``). + :raises socket.error: + if a socket error (other than connection-refused or + host-unreachable) occurred while connecting. + :raises NoValidConnectionsError: + if all valid connection targets for the requested hostname (eg IPv4 + and IPv6) yielded connection-refused or host-unreachable socket + errors. + :raises SSHException: + if there was any other error connecting or establishing an SSH + session. + + .. versionchanged:: 1.15 + Added the ``banner_timeout``, ``gss_auth``, ``gss_kex``, + ``gss_deleg_creds`` and ``gss_host`` arguments. + .. versionchanged:: 2.3 + Added the ``gss_trust_dns`` argument. + .. versionchanged:: 2.4 + Added the ``passphrase`` argument. + .. versionchanged:: 2.6 + Added the ``disabled_algorithms`` argument. + .. versionchanged:: 2.12 + Added the ``transport_factory`` argument. + .. versionchanged:: 3.2 + Added the ``auth_strategy`` argument. + """ + if not sock: + errors = {} + # Try multiple possible address families (e.g. IPv4 vs IPv6) + to_try = list(self._families_and_addresses(hostname, port)) + for af, addr in to_try: + try: + sock = socket.socket(af, socket.SOCK_STREAM) + if timeout is not None: + try: + sock.settimeout(timeout) + except: + pass + sock.connect(addr) + # Break out of the loop on success + break + except socket.error as e: + # As mentioned in socket docs it is better + # to close sockets explicitly + if sock: + sock.close() + # Raise anything that isn't a straight up connection error + # (such as a resolution error) + if e.errno not in (ECONNREFUSED, EHOSTUNREACH): + raise + # Capture anything else so we know how the run looks once + # iteration is complete. Retain info about which attempt + # this was. + errors[addr] = e + + # Make sure we explode usefully if no address family attempts + # succeeded. We've no way of knowing which error is the "right" + # one, so we construct a hybrid exception containing all the real + # ones, of a subclass that client code should still be watching for + # (socket.error) + if len(errors) == len(to_try): + raise NoValidConnectionsError(errors) + + if transport_factory is None: + transport_factory = Transport + t = self._transport = transport_factory( + sock, + gss_kex=gss_kex, + gss_deleg_creds=gss_deleg_creds, + disabled_algorithms=disabled_algorithms, + ) + t.use_compression(compress=compress) + t.set_gss_host( + # t.hostname may be None, but GSS-API requires a target name. + # Therefore use hostname as fallback. + gss_host=gss_host or hostname, + trust_dns=gss_trust_dns, + gssapi_requested=gss_auth or gss_kex, + ) + if self._log_channel is not None: + t.set_log_channel(self._log_channel) + if banner_timeout is not None: + t.banner_timeout = banner_timeout + if auth_timeout is not None: + t.auth_timeout = auth_timeout + if channel_timeout is not None: + t.channel_timeout = channel_timeout + + if port == SSH_PORT: + server_hostkey_name = hostname + else: + server_hostkey_name = "[{}]:{}".format(hostname, port) + our_server_keys = None + + our_server_keys = self._system_host_keys.get(server_hostkey_name) + if our_server_keys is None: + our_server_keys = self._host_keys.get(server_hostkey_name) + if our_server_keys is not None: + keytype = our_server_keys.keys()[0] + sec_opts = t.get_security_options() + other_types = [x for x in sec_opts.key_types if x != keytype] + sec_opts.key_types = [keytype] + other_types + + t.start_client(timeout=timeout) + + # If GSS-API Key Exchange is performed we are not required to check the + # host key, because the host is authenticated via GSS-API / SSPI as + # well as our client. + if not self._transport.gss_kex_used: + server_key = t.get_remote_server_key() + if our_server_keys is None: + # will raise exception if the key is rejected + self._policy.missing_host_key( + self, server_hostkey_name, server_key + ) + else: + our_key = our_server_keys.get(server_key.get_name()) + if our_key != server_key: + if our_key is None: + our_key = list(our_server_keys.values())[0] + raise BadHostKeyException(hostname, server_key, our_key) + + if username is None: + username = getpass.getuser() + + # New auth flow! + if auth_strategy is not None: + return auth_strategy.authenticate(transport=t) + + # Old auth flow! + if key_filename is None: + key_filenames = [] + elif isinstance(key_filename, str): + key_filenames = [key_filename] + else: + key_filenames = key_filename + + self._auth( + username, + password, + pkey, + key_filenames, + allow_agent, + look_for_keys, + gss_auth, + gss_kex, + gss_deleg_creds, + t.gss_host, + passphrase, + ) + + def close(self): + """ + Close this SSHClient and its underlying `.Transport`. + + This should be called anytime you are done using the client object. + + .. warning:: + Paramiko registers garbage collection hooks that will try to + automatically close connections for you, but this is not presently + reliable. Failure to explicitly close your client after use may + lead to end-of-process hangs! + """ + if self._transport is None: + return + self._transport.close() + self._transport = None + + if self._agent is not None: + self._agent.close() + self._agent = None + + def exec_command( + self, + command, + bufsize=-1, + timeout=None, + get_pty=False, + environment=None, + ): + """ + Execute a command on the SSH server. A new `.Channel` is opened and + the requested command is executed. The command's input and output + streams are returned as Python ``file``-like objects representing + stdin, stdout, and stderr. + + :param str command: the command to execute + :param int bufsize: + interpreted the same way as by the built-in ``file()`` function in + Python + :param int timeout: + set command's channel timeout. See `.Channel.settimeout` + :param bool get_pty: + Request a pseudo-terminal from the server (default ``False``). + See `.Channel.get_pty` + :param dict environment: + a dict of shell environment variables, to be merged into the + default environment that the remote command executes within. + + .. warning:: + Servers may silently reject some environment variables; see the + warning in `.Channel.set_environment_variable` for details. + + :return: + the stdin, stdout, and stderr of the executing command, as a + 3-tuple + + :raises: `.SSHException` -- if the server fails to execute the command + + .. versionchanged:: 1.10 + Added the ``get_pty`` kwarg. + """ + chan = self._transport.open_session(timeout=timeout) + if get_pty: + chan.get_pty() + chan.settimeout(timeout) + if environment: + chan.update_environment(environment) + chan.exec_command(command) + stdin = chan.makefile_stdin("wb", bufsize) + stdout = chan.makefile("r", bufsize) + stderr = chan.makefile_stderr("r", bufsize) + return stdin, stdout, stderr + + def invoke_shell( + self, + term="vt100", + width=80, + height=24, + width_pixels=0, + height_pixels=0, + environment=None, + ): + """ + Start an interactive shell session on the SSH server. A new `.Channel` + is opened and connected to a pseudo-terminal using the requested + terminal type and size. + + :param str term: + the terminal type to emulate (for example, ``"vt100"``) + :param int width: the width (in characters) of the terminal window + :param int height: the height (in characters) of the terminal window + :param int width_pixels: the width (in pixels) of the terminal window + :param int height_pixels: the height (in pixels) of the terminal window + :param dict environment: the command's environment + :return: a new `.Channel` connected to the remote shell + + :raises: `.SSHException` -- if the server fails to invoke a shell + """ + chan = self._transport.open_session() + chan.get_pty(term, width, height, width_pixels, height_pixels) + chan.invoke_shell() + return chan + + def open_sftp(self): + """ + Open an SFTP session on the SSH server. + + :return: a new `.SFTPClient` session object + """ + return self._transport.open_sftp_client() + + def get_transport(self): + """ + Return the underlying `.Transport` object for this SSH connection. + This can be used to perform lower-level tasks, like opening specific + kinds of channels. + + :return: the `.Transport` for this connection + """ + return self._transport + + def _key_from_filepath(self, filename, klass, password): + """ + Attempt to derive a `.PKey` from given string path ``filename``: + + - If ``filename`` appears to be a cert, the matching private key is + loaded. + - Otherwise, the filename is assumed to be a private key, and the + matching public cert will be loaded if it exists. + """ + cert_suffix = "-cert.pub" + # Assume privkey, not cert, by default + if filename.endswith(cert_suffix): + key_path = filename[: -len(cert_suffix)] + cert_path = filename + else: + key_path = filename + cert_path = filename + cert_suffix + # Blindly try the key path; if no private key, nothing will work. + key = klass.from_private_key_file(key_path, password) + # TODO: change this to 'Loading' instead of 'Trying' sometime; probably + # when #387 is released, since this is a critical log message users are + # likely testing/filtering for (bah.) + msg = "Trying discovered key {} in {}".format( + hexlify(key.get_fingerprint()), key_path + ) + self._log(DEBUG, msg) + # Attempt to load cert if it exists. + if os.path.isfile(cert_path): + key.load_certificate(cert_path) + self._log(DEBUG, "Adding public certificate {}".format(cert_path)) + return key + + def _auth( + self, + username, + password, + pkey, + key_filenames, + allow_agent, + look_for_keys, + gss_auth, + gss_kex, + gss_deleg_creds, + gss_host, + passphrase, + ): + """ + Try, in order: + + - The key(s) passed in, if one was passed in. + - Any key we can find through an SSH agent (if allowed). + - Any "id_rsa", "id_dsa" or "id_ecdsa" key discoverable in ~/.ssh/ + (if allowed). + - Plain username/password auth, if a password was given. + + (The password might be needed to unlock a private key [if 'passphrase' + isn't also given], or for two-factor authentication [for which it is + required].) + """ + saved_exception = None + two_factor = False + allowed_types = set() + two_factor_types = {"keyboard-interactive", "password"} + if passphrase is None and password is not None: + passphrase = password + + # If GSS-API support and GSS-PI Key Exchange was performed, we attempt + # authentication with gssapi-keyex. + if gss_kex and self._transport.gss_kex_used: + try: + self._transport.auth_gssapi_keyex(username) + return + except Exception as e: + saved_exception = e + + # Try GSS-API authentication (gssapi-with-mic) only if GSS-API Key + # Exchange is not performed, because if we use GSS-API for the key + # exchange, there is already a fully established GSS-API context, so + # why should we do that again? + if gss_auth: + try: + return self._transport.auth_gssapi_with_mic( + username, gss_host, gss_deleg_creds + ) + except Exception as e: + saved_exception = e + + if pkey is not None: + try: + self._log( + DEBUG, + "Trying SSH key {}".format( + hexlify(pkey.get_fingerprint()) + ), + ) + allowed_types = set( + self._transport.auth_publickey(username, pkey) + ) + two_factor = allowed_types & two_factor_types + if not two_factor: + return + except SSHException as e: + saved_exception = e + + if not two_factor: + for key_filename in key_filenames: + # TODO 4.0: leverage PKey.from_path() if we don't end up just + # killing SSHClient entirely + for pkey_class in (RSAKey, DSSKey, ECDSAKey, Ed25519Key): + try: + key = self._key_from_filepath( + key_filename, pkey_class, passphrase + ) + allowed_types = set( + self._transport.auth_publickey(username, key) + ) + two_factor = allowed_types & two_factor_types + if not two_factor: + return + break + except SSHException as e: + saved_exception = e + + if not two_factor and allow_agent: + if self._agent is None: + self._agent = Agent() + + for key in self._agent.get_keys(): + try: + id_ = hexlify(key.get_fingerprint()) + self._log(DEBUG, "Trying SSH agent key {}".format(id_)) + # for 2-factor auth a successfully auth'd key password + # will return an allowed 2fac auth method + allowed_types = set( + self._transport.auth_publickey(username, key) + ) + two_factor = allowed_types & two_factor_types + if not two_factor: + return + break + except SSHException as e: + saved_exception = e + + if not two_factor: + keyfiles = [] + + for keytype, name in [ + (RSAKey, "rsa"), + (DSSKey, "dsa"), + (ECDSAKey, "ecdsa"), + (Ed25519Key, "ed25519"), + ]: + # ~/ssh/ is for windows + for directory in [".ssh", "ssh"]: + full_path = os.path.expanduser( + "~/{}/id_{}".format(directory, name) + ) + if os.path.isfile(full_path): + # TODO: only do this append if below did not run + keyfiles.append((keytype, full_path)) + if os.path.isfile(full_path + "-cert.pub"): + keyfiles.append((keytype, full_path + "-cert.pub")) + + if not look_for_keys: + keyfiles = [] + + for pkey_class, filename in keyfiles: + try: + key = self._key_from_filepath( + filename, pkey_class, passphrase + ) + # for 2-factor auth a successfully auth'd key will result + # in ['password'] + allowed_types = set( + self._transport.auth_publickey(username, key) + ) + two_factor = allowed_types & two_factor_types + if not two_factor: + return + break + except (SSHException, IOError) as e: + saved_exception = e + + if password is not None: + try: + self._transport.auth_password(username, password) + return + except SSHException as e: + saved_exception = e + elif two_factor: + try: + self._transport.auth_interactive_dumb(username) + return + except SSHException as e: + saved_exception = e + + # if we got an auth-failed exception earlier, re-raise it + if saved_exception is not None: + raise saved_exception + raise SSHException("No authentication methods available") + + def _log(self, level, msg): + self._transport._log(level, msg) + + +class MissingHostKeyPolicy: + """ + Interface for defining the policy that `.SSHClient` should use when the + SSH server's hostname is not in either the system host keys or the + application's keys. Pre-made classes implement policies for automatically + adding the key to the application's `.HostKeys` object (`.AutoAddPolicy`), + and for automatically rejecting the key (`.RejectPolicy`). + + This function may be used to ask the user to verify the key, for example. + """ + + def missing_host_key(self, client, hostname, key): + """ + Called when an `.SSHClient` receives a server key for a server that + isn't in either the system or local `.HostKeys` object. To accept + the key, simply return. To reject, raised an exception (which will + be passed to the calling application). + """ + pass + + +class AutoAddPolicy(MissingHostKeyPolicy): + """ + Policy for automatically adding the hostname and new host key to the + local `.HostKeys` object, and saving it. This is used by `.SSHClient`. + """ + + def missing_host_key(self, client, hostname, key): + client._host_keys.add(hostname, key.get_name(), key) + if client._host_keys_filename is not None: + client.save_host_keys(client._host_keys_filename) + client._log( + DEBUG, + "Adding {} host key for {}: {}".format( + key.get_name(), hostname, hexlify(key.get_fingerprint()) + ), + ) + + +class RejectPolicy(MissingHostKeyPolicy): + """ + Policy for automatically rejecting the unknown hostname & key. This is + used by `.SSHClient`. + """ + + def missing_host_key(self, client, hostname, key): + client._log( + DEBUG, + "Rejecting {} host key for {}: {}".format( + key.get_name(), hostname, hexlify(key.get_fingerprint()) + ), + ) + raise SSHException( + "Server {!r} not found in known_hosts".format(hostname) + ) + + +class WarningPolicy(MissingHostKeyPolicy): + """ + Policy for logging a Python-style warning for an unknown host key, but + accepting it. This is used by `.SSHClient`. + """ + + def missing_host_key(self, client, hostname, key): + warnings.warn( + "Unknown {} host key for {}: {}".format( + key.get_name(), hostname, hexlify(key.get_fingerprint()) + ) + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/common.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/common.py new file mode 100644 index 0000000000000000000000000000000000000000..b57149b75386cb1b60a99730a238f9e54b7fbf9a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/common.py @@ -0,0 +1,245 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Common constants and global variables. +""" +import logging +import struct + +# +# Formerly of py3compat.py. May be fully delete'able with a deeper look? +# + + +def byte_chr(c): + assert isinstance(c, int) + return struct.pack("B", c) + + +def byte_mask(c, mask): + assert isinstance(c, int) + return struct.pack("B", c & mask) + + +def byte_ord(c): + # In case we're handed a string instead of an int. + if not isinstance(c, int): + c = ord(c) + return c + + +( + MSG_DISCONNECT, + MSG_IGNORE, + MSG_UNIMPLEMENTED, + MSG_DEBUG, + MSG_SERVICE_REQUEST, + MSG_SERVICE_ACCEPT, + MSG_EXT_INFO, +) = range(1, 8) +(MSG_KEXINIT, MSG_NEWKEYS) = range(20, 22) +( + MSG_USERAUTH_REQUEST, + MSG_USERAUTH_FAILURE, + MSG_USERAUTH_SUCCESS, + MSG_USERAUTH_BANNER, +) = range(50, 54) +MSG_USERAUTH_PK_OK = 60 +(MSG_USERAUTH_INFO_REQUEST, MSG_USERAUTH_INFO_RESPONSE) = range(60, 62) +(MSG_USERAUTH_GSSAPI_RESPONSE, MSG_USERAUTH_GSSAPI_TOKEN) = range(60, 62) +( + MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, + MSG_USERAUTH_GSSAPI_ERROR, + MSG_USERAUTH_GSSAPI_ERRTOK, + MSG_USERAUTH_GSSAPI_MIC, +) = range(63, 67) +HIGHEST_USERAUTH_MESSAGE_ID = 79 +(MSG_GLOBAL_REQUEST, MSG_REQUEST_SUCCESS, MSG_REQUEST_FAILURE) = range(80, 83) +( + MSG_CHANNEL_OPEN, + MSG_CHANNEL_OPEN_SUCCESS, + MSG_CHANNEL_OPEN_FAILURE, + MSG_CHANNEL_WINDOW_ADJUST, + MSG_CHANNEL_DATA, + MSG_CHANNEL_EXTENDED_DATA, + MSG_CHANNEL_EOF, + MSG_CHANNEL_CLOSE, + MSG_CHANNEL_REQUEST, + MSG_CHANNEL_SUCCESS, + MSG_CHANNEL_FAILURE, +) = range(90, 101) + +cMSG_DISCONNECT = byte_chr(MSG_DISCONNECT) +cMSG_IGNORE = byte_chr(MSG_IGNORE) +cMSG_UNIMPLEMENTED = byte_chr(MSG_UNIMPLEMENTED) +cMSG_DEBUG = byte_chr(MSG_DEBUG) +cMSG_SERVICE_REQUEST = byte_chr(MSG_SERVICE_REQUEST) +cMSG_SERVICE_ACCEPT = byte_chr(MSG_SERVICE_ACCEPT) +cMSG_EXT_INFO = byte_chr(MSG_EXT_INFO) +cMSG_KEXINIT = byte_chr(MSG_KEXINIT) +cMSG_NEWKEYS = byte_chr(MSG_NEWKEYS) +cMSG_USERAUTH_REQUEST = byte_chr(MSG_USERAUTH_REQUEST) +cMSG_USERAUTH_FAILURE = byte_chr(MSG_USERAUTH_FAILURE) +cMSG_USERAUTH_SUCCESS = byte_chr(MSG_USERAUTH_SUCCESS) +cMSG_USERAUTH_BANNER = byte_chr(MSG_USERAUTH_BANNER) +cMSG_USERAUTH_PK_OK = byte_chr(MSG_USERAUTH_PK_OK) +cMSG_USERAUTH_INFO_REQUEST = byte_chr(MSG_USERAUTH_INFO_REQUEST) +cMSG_USERAUTH_INFO_RESPONSE = byte_chr(MSG_USERAUTH_INFO_RESPONSE) +cMSG_USERAUTH_GSSAPI_RESPONSE = byte_chr(MSG_USERAUTH_GSSAPI_RESPONSE) +cMSG_USERAUTH_GSSAPI_TOKEN = byte_chr(MSG_USERAUTH_GSSAPI_TOKEN) +cMSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE = byte_chr( + MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE +) +cMSG_USERAUTH_GSSAPI_ERROR = byte_chr(MSG_USERAUTH_GSSAPI_ERROR) +cMSG_USERAUTH_GSSAPI_ERRTOK = byte_chr(MSG_USERAUTH_GSSAPI_ERRTOK) +cMSG_USERAUTH_GSSAPI_MIC = byte_chr(MSG_USERAUTH_GSSAPI_MIC) +cMSG_GLOBAL_REQUEST = byte_chr(MSG_GLOBAL_REQUEST) +cMSG_REQUEST_SUCCESS = byte_chr(MSG_REQUEST_SUCCESS) +cMSG_REQUEST_FAILURE = byte_chr(MSG_REQUEST_FAILURE) +cMSG_CHANNEL_OPEN = byte_chr(MSG_CHANNEL_OPEN) +cMSG_CHANNEL_OPEN_SUCCESS = byte_chr(MSG_CHANNEL_OPEN_SUCCESS) +cMSG_CHANNEL_OPEN_FAILURE = byte_chr(MSG_CHANNEL_OPEN_FAILURE) +cMSG_CHANNEL_WINDOW_ADJUST = byte_chr(MSG_CHANNEL_WINDOW_ADJUST) +cMSG_CHANNEL_DATA = byte_chr(MSG_CHANNEL_DATA) +cMSG_CHANNEL_EXTENDED_DATA = byte_chr(MSG_CHANNEL_EXTENDED_DATA) +cMSG_CHANNEL_EOF = byte_chr(MSG_CHANNEL_EOF) +cMSG_CHANNEL_CLOSE = byte_chr(MSG_CHANNEL_CLOSE) +cMSG_CHANNEL_REQUEST = byte_chr(MSG_CHANNEL_REQUEST) +cMSG_CHANNEL_SUCCESS = byte_chr(MSG_CHANNEL_SUCCESS) +cMSG_CHANNEL_FAILURE = byte_chr(MSG_CHANNEL_FAILURE) + +# for debugging: +MSG_NAMES = { + MSG_DISCONNECT: "disconnect", + MSG_IGNORE: "ignore", + MSG_UNIMPLEMENTED: "unimplemented", + MSG_DEBUG: "debug", + MSG_SERVICE_REQUEST: "service-request", + MSG_SERVICE_ACCEPT: "service-accept", + MSG_KEXINIT: "kexinit", + MSG_EXT_INFO: "ext-info", + MSG_NEWKEYS: "newkeys", + 30: "kex30", + 31: "kex31", + 32: "kex32", + 33: "kex33", + 34: "kex34", + 40: "kex40", + 41: "kex41", + MSG_USERAUTH_REQUEST: "userauth-request", + MSG_USERAUTH_FAILURE: "userauth-failure", + MSG_USERAUTH_SUCCESS: "userauth-success", + MSG_USERAUTH_BANNER: "userauth--banner", + MSG_USERAUTH_PK_OK: "userauth-60(pk-ok/info-request)", + MSG_USERAUTH_INFO_RESPONSE: "userauth-info-response", + MSG_GLOBAL_REQUEST: "global-request", + MSG_REQUEST_SUCCESS: "request-success", + MSG_REQUEST_FAILURE: "request-failure", + MSG_CHANNEL_OPEN: "channel-open", + MSG_CHANNEL_OPEN_SUCCESS: "channel-open-success", + MSG_CHANNEL_OPEN_FAILURE: "channel-open-failure", + MSG_CHANNEL_WINDOW_ADJUST: "channel-window-adjust", + MSG_CHANNEL_DATA: "channel-data", + MSG_CHANNEL_EXTENDED_DATA: "channel-extended-data", + MSG_CHANNEL_EOF: "channel-eof", + MSG_CHANNEL_CLOSE: "channel-close", + MSG_CHANNEL_REQUEST: "channel-request", + MSG_CHANNEL_SUCCESS: "channel-success", + MSG_CHANNEL_FAILURE: "channel-failure", + MSG_USERAUTH_GSSAPI_RESPONSE: "userauth-gssapi-response", + MSG_USERAUTH_GSSAPI_TOKEN: "userauth-gssapi-token", + MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE: "userauth-gssapi-exchange-complete", + MSG_USERAUTH_GSSAPI_ERROR: "userauth-gssapi-error", + MSG_USERAUTH_GSSAPI_ERRTOK: "userauth-gssapi-error-token", + MSG_USERAUTH_GSSAPI_MIC: "userauth-gssapi-mic", +} + + +# authentication request return codes: +AUTH_SUCCESSFUL, AUTH_PARTIALLY_SUCCESSFUL, AUTH_FAILED = range(3) + + +# channel request failed reasons: +( + OPEN_SUCCEEDED, + OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED, + OPEN_FAILED_CONNECT_FAILED, + OPEN_FAILED_UNKNOWN_CHANNEL_TYPE, + OPEN_FAILED_RESOURCE_SHORTAGE, +) = range(0, 5) + + +CONNECTION_FAILED_CODE = { + 1: "Administratively prohibited", + 2: "Connect failed", + 3: "Unknown channel type", + 4: "Resource shortage", +} + + +( + DISCONNECT_SERVICE_NOT_AVAILABLE, + DISCONNECT_AUTH_CANCELLED_BY_USER, + DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE, +) = (7, 13, 14) + +zero_byte = byte_chr(0) +one_byte = byte_chr(1) +four_byte = byte_chr(4) +max_byte = byte_chr(0xFF) +cr_byte = byte_chr(13) +linefeed_byte = byte_chr(10) +crlf = cr_byte + linefeed_byte +cr_byte_value = 13 +linefeed_byte_value = 10 + + +xffffffff = 0xFFFFFFFF +x80000000 = 0x80000000 +o666 = 438 +o660 = 432 +o644 = 420 +o600 = 384 +o777 = 511 +o700 = 448 +o70 = 56 + +DEBUG = logging.DEBUG +INFO = logging.INFO +WARNING = logging.WARNING +ERROR = logging.ERROR +CRITICAL = logging.CRITICAL + +# Common IO/select/etc sleep period, in seconds +io_sleep = 0.01 + +DEFAULT_WINDOW_SIZE = 64 * 2**15 +DEFAULT_MAX_PACKET_SIZE = 2**15 + +# lower bound on the max packet size we'll accept from the remote host +# Minimum packet size is 32768 bytes according to +# http://www.ietf.org/rfc/rfc4254.txt +MIN_WINDOW_SIZE = 2**15 + +# However, according to http://www.ietf.org/rfc/rfc4253.txt it is perfectly +# legal to accept a size much smaller, as OpenSSH client does as size 16384. +MIN_PACKET_SIZE = 2**12 + +# Max windows size according to http://www.ietf.org/rfc/rfc4254.txt +MAX_WINDOW_SIZE = 2**32 - 1 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/compress.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/compress.py new file mode 100644 index 0000000000000000000000000000000000000000..18ff4843461319b2cc8795c661d8b1ac4cee16b3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/compress.py @@ -0,0 +1,40 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Compression implementations for a Transport. +""" + +import zlib + + +class ZlibCompressor: + def __init__(self): + # Use the default level of zlib compression + self.z = zlib.compressobj() + + def __call__(self, data): + return self.z.compress(data) + self.z.flush(zlib.Z_FULL_FLUSH) + + +class ZlibDecompressor: + def __init__(self): + self.z = zlib.decompressobj() + + def __call__(self, data): + return self.z.decompress(data) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/config.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/config.py new file mode 100644 index 0000000000000000000000000000000000000000..8ab55c6444faf1c7a14b34ad9d4cb68081113359 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/config.py @@ -0,0 +1,696 @@ +# Copyright (C) 2006-2007 Robey Pointer +# Copyright (C) 2012 Olle Lundberg +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Configuration file (aka ``ssh_config``) support. +""" + +import fnmatch +import getpass +import os +import re +import shlex +import socket +from hashlib import sha1 +from io import StringIO +from functools import partial + +invoke, invoke_import_error = None, None +try: + import invoke +except ImportError as e: + invoke_import_error = e + +from .ssh_exception import CouldNotCanonicalize, ConfigParseError + + +SSH_PORT = 22 + + +class SSHConfig: + """ + Representation of config information as stored in the format used by + OpenSSH. Queries can be made via `lookup`. The format is described in + OpenSSH's ``ssh_config`` man page. This class is provided primarily as a + convenience to posix users (since the OpenSSH format is a de-facto + standard on posix) but should work fine on Windows too. + + .. versionadded:: 1.6 + """ + + SETTINGS_REGEX = re.compile(r"(\w+)(?:\s*=\s*|\s+)(.+)") + + # TODO: do a full scan of ssh.c & friends to make sure we're fully + # compatible across the board, e.g. OpenSSH 8.1 added %n to ProxyCommand. + TOKENS_BY_CONFIG_KEY = { + "controlpath": ["%C", "%h", "%l", "%L", "%n", "%p", "%r", "%u"], + "hostname": ["%h"], + "identityfile": ["%C", "~", "%d", "%h", "%l", "%u", "%r"], + "proxycommand": ["~", "%h", "%p", "%r"], + "proxyjump": ["%h", "%p", "%r"], + # Doesn't seem worth making this 'special' for now, it will fit well + # enough (no actual match-exec config key to be confused with). + "match-exec": ["%C", "%d", "%h", "%L", "%l", "%n", "%p", "%r", "%u"], + } + + def __init__(self): + """ + Create a new OpenSSH config object. + + Note: the newer alternate constructors `from_path`, `from_file` and + `from_text` are simpler to use, as they parse on instantiation. For + example, instead of:: + + config = SSHConfig() + config.parse(open("some-path.config") + + you could:: + + config = SSHConfig.from_file(open("some-path.config")) + # Or more directly: + config = SSHConfig.from_path("some-path.config") + # Or if you have arbitrary ssh_config text from some other source: + config = SSHConfig.from_text("Host foo\\n\\tUser bar") + """ + self._config = [] + + @classmethod + def from_text(cls, text): + """ + Create a new, parsed `SSHConfig` from ``text`` string. + + .. versionadded:: 2.7 + """ + return cls.from_file(StringIO(text)) + + @classmethod + def from_path(cls, path): + """ + Create a new, parsed `SSHConfig` from the file found at ``path``. + + .. versionadded:: 2.7 + """ + with open(path) as flo: + return cls.from_file(flo) + + @classmethod + def from_file(cls, flo): + """ + Create a new, parsed `SSHConfig` from file-like object ``flo``. + + .. versionadded:: 2.7 + """ + obj = cls() + obj.parse(flo) + return obj + + def parse(self, file_obj): + """ + Read an OpenSSH config from the given file object. + + :param file_obj: a file-like object to read the config file from + """ + # Start out w/ implicit/anonymous global host-like block to hold + # anything not contained by an explicit one. + context = {"host": ["*"], "config": {}} + for line in file_obj: + # Strip any leading or trailing whitespace from the line. + # Refer to https://github.com/paramiko/paramiko/issues/499 + line = line.strip() + # Skip blanks, comments + if not line or line.startswith("#"): + continue + + # Parse line into key, value + match = re.match(self.SETTINGS_REGEX, line) + if not match: + raise ConfigParseError("Unparsable line {}".format(line)) + key = match.group(1).lower() + value = match.group(2) + + # Host keyword triggers switch to new block/context + if key in ("host", "match"): + self._config.append(context) + context = {"config": {}} + if key == "host": + # TODO 4.0: make these real objects or at least name this + # "hosts" to acknowledge it's an iterable. (Doing so prior + # to 3.0, despite it being a private API, feels bad - + # surely such an old codebase has folks actually relying on + # these keys.) + context["host"] = self._get_hosts(value) + else: + context["matches"] = self._get_matches(value) + # Special-case for noop ProxyCommands + elif key == "proxycommand" and value.lower() == "none": + # Store 'none' as None - not as a string implying that the + # proxycommand is the literal shell command "none"! + context["config"][key] = None + # All other keywords get stored, directly or via append + else: + if value.startswith('"') and value.endswith('"'): + value = value[1:-1] + + # identityfile, localforward, remoteforward keys are special + # cases, since they are allowed to be specified multiple times + # and they should be tried in order of specification. + if key in ["identityfile", "localforward", "remoteforward"]: + if key in context["config"]: + context["config"][key].append(value) + else: + context["config"][key] = [value] + elif key not in context["config"]: + context["config"][key] = value + # Store last 'open' block and we're done + self._config.append(context) + + def lookup(self, hostname): + """ + Return a dict (`SSHConfigDict`) of config options for a given hostname. + + The host-matching rules of OpenSSH's ``ssh_config`` man page are used: + For each parameter, the first obtained value will be used. The + configuration files contain sections separated by ``Host`` and/or + ``Match`` specifications, and that section is only applied for hosts + which match the given patterns or keywords + + Since the first obtained value for each parameter is used, more host- + specific declarations should be given near the beginning of the file, + and general defaults at the end. + + The keys in the returned dict are all normalized to lowercase (look for + ``"port"``, not ``"Port"``. The values are processed according to the + rules for substitution variable expansion in ``ssh_config``. + + Finally, please see the docs for `SSHConfigDict` for deeper info on + features such as optional type conversion methods, e.g.:: + + conf = my_config.lookup('myhost') + assert conf['passwordauthentication'] == 'yes' + assert conf.as_bool('passwordauthentication') is True + + .. note:: + If there is no explicitly configured ``HostName`` value, it will be + set to the being-looked-up hostname, which is as close as we can + get to OpenSSH's behavior around that particular option. + + :param str hostname: the hostname to lookup + + .. versionchanged:: 2.5 + Returns `SSHConfigDict` objects instead of dict literals. + .. versionchanged:: 2.7 + Added canonicalization support. + .. versionchanged:: 2.7 + Added ``Match`` support. + .. versionchanged:: 3.3 + Added ``Match final`` support. + """ + # First pass + options = self._lookup(hostname=hostname) + # Inject HostName if it was not set (this used to be done incidentally + # during tokenization, for some reason). + if "hostname" not in options: + options["hostname"] = hostname + # Handle canonicalization + canon = options.get("canonicalizehostname", None) in ("yes", "always") + maxdots = int(options.get("canonicalizemaxdots", 1)) + if canon and hostname.count(".") <= maxdots: + # NOTE: OpenSSH manpage does not explicitly state this, but its + # implementation for CanonicalDomains is 'split on any whitespace'. + domains = options["canonicaldomains"].split() + hostname = self.canonicalize(hostname, options, domains) + # Overwrite HostName again here (this is also what OpenSSH does) + options["hostname"] = hostname + options = self._lookup( + hostname, options, canonical=True, final=True + ) + else: + options = self._lookup( + hostname, options, canonical=False, final=True + ) + return options + + def _lookup(self, hostname, options=None, canonical=False, final=False): + # Init + if options is None: + options = SSHConfigDict() + # Iterate all stanzas, applying any that match, in turn (so that things + # like Match can reference currently understood state) + for context in self._config: + if not ( + self._pattern_matches(context.get("host", []), hostname) + or self._does_match( + context.get("matches", []), + hostname, + canonical, + final, + options, + ) + ): + continue + for key, value in context["config"].items(): + if key not in options: + # Create a copy of the original value, + # else it will reference the original list + # in self._config and update that value too + # when the extend() is being called. + options[key] = value[:] if value is not None else value + elif key == "identityfile": + options[key].extend( + x for x in value if x not in options[key] + ) + if final: + # Expand variables in resulting values + # (besides 'Match exec' which was already handled above) + options = self._expand_variables(options, hostname) + return options + + def canonicalize(self, hostname, options, domains): + """ + Return canonicalized version of ``hostname``. + + :param str hostname: Target hostname. + :param options: An `SSHConfigDict` from a previous lookup pass. + :param domains: List of domains (e.g. ``["paramiko.org"]``). + + :returns: A canonicalized hostname if one was found, else ``None``. + + .. versionadded:: 2.7 + """ + found = False + for domain in domains: + candidate = "{}.{}".format(hostname, domain) + family_specific = _addressfamily_host_lookup(candidate, options) + if family_specific is not None: + # TODO: would we want to dig deeper into other results? e.g. to + # find something that satisfies PermittedCNAMEs when that is + # implemented? + found = family_specific[0] + else: + # TODO: what does ssh use here and is there a reason to use + # that instead of gethostbyname? + try: + found = socket.gethostbyname(candidate) + except socket.gaierror: + pass + if found: + # TODO: follow CNAME (implied by found != candidate?) if + # CanonicalizePermittedCNAMEs allows it + return candidate + # If we got here, it means canonicalization failed. + # When CanonicalizeFallbackLocal is undefined or 'yes', we just spit + # back the original hostname. + if options.get("canonicalizefallbacklocal", "yes") == "yes": + return hostname + # And here, we failed AND fallback was set to a non-yes value, so we + # need to get mad. + raise CouldNotCanonicalize(hostname) + + def get_hostnames(self): + """ + Return the set of literal hostnames defined in the SSH config (both + explicit hostnames and wildcard entries). + """ + hosts = set() + for entry in self._config: + hosts.update(entry["host"]) + return hosts + + def _pattern_matches(self, patterns, target): + # Convenience auto-splitter if not already a list + if hasattr(patterns, "split"): + patterns = patterns.split(",") + match = False + for pattern in patterns: + # Short-circuit if target matches a negated pattern + if pattern.startswith("!") and fnmatch.fnmatch( + target, pattern[1:] + ): + return False + # Flag a match, but continue (in case of later negation) if regular + # match occurs + elif fnmatch.fnmatch(target, pattern): + match = True + return match + + def _does_match( + self, match_list, target_hostname, canonical, final, options + ): + matched = [] + candidates = match_list[:] + local_username = getpass.getuser() + while candidates: + candidate = candidates.pop(0) + passed = None + # Obtain latest host/user value every loop, so later Match may + # reference values assigned within a prior Match. + configured_host = options.get("hostname", None) + configured_user = options.get("user", None) + type_, param = candidate["type"], candidate["param"] + # Canonical is a hard pass/fail based on whether this is a + # canonicalized re-lookup. + if type_ == "canonical": + if self._should_fail(canonical, candidate): + return False + if type_ == "final": + passed = final + # The parse step ensures we only see this by itself or after + # canonical, so it's also an easy hard pass. (No negation here as + # that would be uh, pretty weird?) + elif type_ == "all": + return True + # From here, we are testing various non-hard criteria, + # short-circuiting only on fail + elif type_ == "host": + hostval = configured_host or target_hostname + passed = self._pattern_matches(param, hostval) + elif type_ == "originalhost": + passed = self._pattern_matches(param, target_hostname) + elif type_ == "user": + user = configured_user or local_username + passed = self._pattern_matches(param, user) + elif type_ == "localuser": + passed = self._pattern_matches(param, local_username) + elif type_ == "exec": + exec_cmd = self._tokenize( + options, target_hostname, "match-exec", param + ) + # This is the laziest spot in which we can get mad about an + # inability to import Invoke. + if invoke is None: + raise invoke_import_error + # Like OpenSSH, we 'redirect' stdout but let stderr bubble up + passed = invoke.run(exec_cmd, hide="stdout", warn=True).ok + # Tackle any 'passed, but was negated' results from above + if passed is not None and self._should_fail(passed, candidate): + return False + # Made it all the way here? Everything matched! + matched.append(candidate) + # Did anything match? (To be treated as bool, usually.) + return matched + + def _should_fail(self, would_pass, candidate): + return would_pass if candidate["negate"] else not would_pass + + def _tokenize(self, config, target_hostname, key, value): + """ + Tokenize a string based on current config/hostname data. + + :param config: Current config data. + :param target_hostname: Original target connection hostname. + :param key: Config key being tokenized (used to filter token list). + :param value: Config value being tokenized. + + :returns: The tokenized version of the input ``value`` string. + """ + allowed_tokens = self._allowed_tokens(key) + # Short-circuit if no tokenization possible + if not allowed_tokens: + return value + # Obtain potentially configured hostname, for use with %h. + # Special-case where we are tokenizing the hostname itself, to avoid + # replacing %h with a %h-bearing value, etc. + configured_hostname = target_hostname + if key != "hostname": + configured_hostname = config.get("hostname", configured_hostname) + # Ditto the rest of the source values + if "port" in config: + port = config["port"] + else: + port = SSH_PORT + user = getpass.getuser() + if "user" in config: + remoteuser = config["user"] + else: + remoteuser = user + local_hostname = socket.gethostname().split(".")[0] + local_fqdn = LazyFqdn(config, local_hostname) + homedir = os.path.expanduser("~") + tohash = local_hostname + target_hostname + repr(port) + remoteuser + # The actual tokens! + replacements = { + # TODO: %%??? + "%C": sha1(tohash.encode()).hexdigest(), + "%d": homedir, + "%h": configured_hostname, + # TODO: %i? + "%L": local_hostname, + "%l": local_fqdn, + # also this is pseudo buggy when not in Match exec mode so document + # that. also WHY is that the case?? don't we do all of this late? + "%n": target_hostname, + "%p": port, + "%r": remoteuser, + # TODO: %T? don't believe this is possible however + "%u": user, + "~": homedir, + } + # Do the thing with the stuff + tokenized = value + for find, replace in replacements.items(): + if find not in allowed_tokens: + continue + tokenized = tokenized.replace(find, str(replace)) + # TODO: log? eg that value -> tokenized + return tokenized + + def _allowed_tokens(self, key): + """ + Given config ``key``, return list of token strings to tokenize. + + .. note:: + This feels like it wants to eventually go away, but is used to + preserve as-strict-as-possible compatibility with OpenSSH, which + for whatever reason only applies some tokens to some config keys. + """ + return self.TOKENS_BY_CONFIG_KEY.get(key, []) + + def _expand_variables(self, config, target_hostname): + """ + Return a dict of config options with expanded substitutions + for a given original & current target hostname. + + Please refer to :doc:`/api/config` for details. + + :param dict config: the currently parsed config + :param str hostname: the hostname whose config is being looked up + """ + for k in config: + if config[k] is None: + continue + tokenizer = partial(self._tokenize, config, target_hostname, k) + if isinstance(config[k], list): + for i, value in enumerate(config[k]): + config[k][i] = tokenizer(value) + else: + config[k] = tokenizer(config[k]) + return config + + def _get_hosts(self, host): + """ + Return a list of host_names from host value. + """ + try: + return shlex.split(host) + except ValueError: + raise ConfigParseError("Unparsable host {}".format(host)) + + def _get_matches(self, match): + """ + Parse a specific Match config line into a list-of-dicts for its values. + + Performs some parse-time validation as well. + """ + matches = [] + tokens = shlex.split(match) + while tokens: + match = {"type": None, "param": None, "negate": False} + type_ = tokens.pop(0) + # Handle per-keyword negation + if type_.startswith("!"): + match["negate"] = True + type_ = type_[1:] + match["type"] = type_ + # all/canonical have no params (everything else does) + if type_ in ("all", "canonical", "final"): + matches.append(match) + continue + if not tokens: + raise ConfigParseError( + "Missing parameter to Match '{}' keyword".format(type_) + ) + match["param"] = tokens.pop(0) + matches.append(match) + # Perform some (easier to do now than in the middle) validation that is + # better handled here than at lookup time. + keywords = [x["type"] for x in matches] + if "all" in keywords: + allowable = ("all", "canonical") + ok, bad = ( + list(filter(lambda x: x in allowable, keywords)), + list(filter(lambda x: x not in allowable, keywords)), + ) + err = None + if any(bad): + err = "Match does not allow 'all' mixed with anything but 'canonical'" # noqa + elif "canonical" in ok and ok.index("canonical") > ok.index("all"): + err = "Match does not allow 'all' before 'canonical'" + if err is not None: + raise ConfigParseError(err) + return matches + + +def _addressfamily_host_lookup(hostname, options): + """ + Try looking up ``hostname`` in an IPv4 or IPv6 specific manner. + + This is an odd duck due to needing use in two divergent use cases. It looks + up ``AddressFamily`` in ``options`` and if it is ``inet`` or ``inet6``, + this function uses `socket.getaddrinfo` to perform a family-specific + lookup, returning the result if successful. + + In any other situation -- lookup failure, or ``AddressFamily`` being + unspecified or ``any`` -- ``None`` is returned instead and the caller is + expected to do something situation-appropriate like calling + `socket.gethostbyname`. + + :param str hostname: Hostname to look up. + :param options: `SSHConfigDict` instance w/ parsed options. + :returns: ``getaddrinfo``-style tuples, or ``None``, depending. + """ + address_family = options.get("addressfamily", "any").lower() + if address_family == "any": + return + try: + family = socket.AF_INET6 + if address_family == "inet": + family = socket.AF_INET + return socket.getaddrinfo( + hostname, + None, + family, + socket.SOCK_DGRAM, + socket.IPPROTO_IP, + socket.AI_CANONNAME, + ) + except socket.gaierror: + pass + + +class LazyFqdn: + """ + Returns the host's fqdn on request as string. + """ + + def __init__(self, config, host=None): + self.fqdn = None + self.config = config + self.host = host + + def __str__(self): + if self.fqdn is None: + # + # If the SSH config contains AddressFamily, use that when + # determining the local host's FQDN. Using socket.getfqdn() from + # the standard library is the most general solution, but can + # result in noticeable delays on some platforms when IPv6 is + # misconfigured or not available, as it calls getaddrinfo with no + # address family specified, so both IPv4 and IPv6 are checked. + # + + # Handle specific option + fqdn = None + results = _addressfamily_host_lookup(self.host, self.config) + if results is not None: + for res in results: + af, socktype, proto, canonname, sa = res + if canonname and "." in canonname: + fqdn = canonname + break + # Handle 'any' / unspecified / lookup failure + if fqdn is None: + fqdn = socket.getfqdn() + # Cache + self.fqdn = fqdn + return self.fqdn + + +class SSHConfigDict(dict): + """ + A dictionary wrapper/subclass for per-host configuration structures. + + This class introduces some usage niceties for consumers of `SSHConfig`, + specifically around the issue of variable type conversions: normal value + access yields strings, but there are now methods such as `as_bool` and + `as_int` that yield casted values instead. + + For example, given the following ``ssh_config`` file snippet:: + + Host foo.example.com + PasswordAuthentication no + Compression yes + ServerAliveInterval 60 + + the following code highlights how you can access the raw strings as well as + usefully Python type-casted versions (recalling that keys are all + normalized to lowercase first):: + + my_config = SSHConfig() + my_config.parse(open('~/.ssh/config')) + conf = my_config.lookup('foo.example.com') + + assert conf['passwordauthentication'] == 'no' + assert conf.as_bool('passwordauthentication') is False + assert conf['compression'] == 'yes' + assert conf.as_bool('compression') is True + assert conf['serveraliveinterval'] == '60' + assert conf.as_int('serveraliveinterval') == 60 + + .. versionadded:: 2.5 + """ + + def as_bool(self, key): + """ + Express given key's value as a boolean type. + + Typically, this is used for ``ssh_config``'s pseudo-boolean values + which are either ``"yes"`` or ``"no"``. In such cases, ``"yes"`` yields + ``True`` and any other value becomes ``False``. + + .. note:: + If (for whatever reason) the stored value is already boolean in + nature, it's simply returned. + + .. versionadded:: 2.5 + """ + val = self[key] + if isinstance(val, bool): + return val + return val.lower() == "yes" + + def as_int(self, key): + """ + Express given key's value as an integer, if possible. + + This method will raise ``ValueError`` or similar if the value is not + int-appropriate, same as the builtin `int` type. + + .. versionadded:: 2.5 + """ + return int(self[key]) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/dsskey.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/dsskey.py new file mode 100644 index 0000000000000000000000000000000000000000..5215d282f1c88a5b4ffd7177aabd1b5c4b0259a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/dsskey.py @@ -0,0 +1,258 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +DSS keys. +""" + +from cryptography.exceptions import InvalidSignature +from cryptography.hazmat.backends import default_backend +from cryptography.hazmat.primitives import hashes, serialization +from cryptography.hazmat.primitives.asymmetric import dsa +from cryptography.hazmat.primitives.asymmetric.utils import ( + decode_dss_signature, + encode_dss_signature, +) + +from paramiko import util +from paramiko.common import zero_byte +from paramiko.ssh_exception import SSHException +from paramiko.message import Message +from paramiko.ber import BER, BERException +from paramiko.pkey import PKey + + +class DSSKey(PKey): + """ + Representation of a DSS key which can be used to sign an verify SSH2 + data. + """ + + name = "ssh-dss" + + def __init__( + self, + msg=None, + data=None, + filename=None, + password=None, + vals=None, + file_obj=None, + ): + self.p = None + self.q = None + self.g = None + self.y = None + self.x = None + self.public_blob = None + if file_obj is not None: + self._from_private_key(file_obj, password) + return + if filename is not None: + self._from_private_key_file(filename, password) + return + if (msg is None) and (data is not None): + msg = Message(data) + if vals is not None: + self.p, self.q, self.g, self.y = vals + else: + self._check_type_and_load_cert( + msg=msg, + key_type=self.name, + cert_type=f"{self.name}-cert-v01@openssh.com", + ) + self.p = msg.get_mpint() + self.q = msg.get_mpint() + self.g = msg.get_mpint() + self.y = msg.get_mpint() + self.size = util.bit_length(self.p) + + def asbytes(self): + m = Message() + m.add_string(self.name) + m.add_mpint(self.p) + m.add_mpint(self.q) + m.add_mpint(self.g) + m.add_mpint(self.y) + return m.asbytes() + + def __str__(self): + return self.asbytes() + + @property + def _fields(self): + return (self.get_name(), self.p, self.q, self.g, self.y) + + # TODO 4.0: remove + def get_name(self): + return self.name + + def get_bits(self): + return self.size + + def can_sign(self): + return self.x is not None + + def sign_ssh_data(self, data, algorithm=None): + key = dsa.DSAPrivateNumbers( + x=self.x, + public_numbers=dsa.DSAPublicNumbers( + y=self.y, + parameter_numbers=dsa.DSAParameterNumbers( + p=self.p, q=self.q, g=self.g + ), + ), + ).private_key(backend=default_backend()) + sig = key.sign(data, hashes.SHA1()) + r, s = decode_dss_signature(sig) + + m = Message() + m.add_string(self.name) + # apparently, in rare cases, r or s may be shorter than 20 bytes! + rstr = util.deflate_long(r, 0) + sstr = util.deflate_long(s, 0) + if len(rstr) < 20: + rstr = zero_byte * (20 - len(rstr)) + rstr + if len(sstr) < 20: + sstr = zero_byte * (20 - len(sstr)) + sstr + m.add_string(rstr + sstr) + return m + + def verify_ssh_sig(self, data, msg): + if len(msg.asbytes()) == 40: + # spies.com bug: signature has no header + sig = msg.asbytes() + else: + kind = msg.get_text() + if kind != self.name: + return 0 + sig = msg.get_binary() + + # pull out (r, s) which are NOT encoded as mpints + sigR = util.inflate_long(sig[:20], 1) + sigS = util.inflate_long(sig[20:], 1) + + signature = encode_dss_signature(sigR, sigS) + + key = dsa.DSAPublicNumbers( + y=self.y, + parameter_numbers=dsa.DSAParameterNumbers( + p=self.p, q=self.q, g=self.g + ), + ).public_key(backend=default_backend()) + try: + key.verify(signature, data, hashes.SHA1()) + except InvalidSignature: + return False + else: + return True + + def write_private_key_file(self, filename, password=None): + key = dsa.DSAPrivateNumbers( + x=self.x, + public_numbers=dsa.DSAPublicNumbers( + y=self.y, + parameter_numbers=dsa.DSAParameterNumbers( + p=self.p, q=self.q, g=self.g + ), + ), + ).private_key(backend=default_backend()) + + self._write_private_key_file( + filename, + key, + serialization.PrivateFormat.TraditionalOpenSSL, + password=password, + ) + + def write_private_key(self, file_obj, password=None): + key = dsa.DSAPrivateNumbers( + x=self.x, + public_numbers=dsa.DSAPublicNumbers( + y=self.y, + parameter_numbers=dsa.DSAParameterNumbers( + p=self.p, q=self.q, g=self.g + ), + ), + ).private_key(backend=default_backend()) + + self._write_private_key( + file_obj, + key, + serialization.PrivateFormat.TraditionalOpenSSL, + password=password, + ) + + @staticmethod + def generate(bits=1024, progress_func=None): + """ + Generate a new private DSS key. This factory function can be used to + generate a new host key or authentication key. + + :param int bits: number of bits the generated key should be. + :param progress_func: Unused + :return: new `.DSSKey` private key + """ + numbers = dsa.generate_private_key( + bits, backend=default_backend() + ).private_numbers() + key = DSSKey( + vals=( + numbers.public_numbers.parameter_numbers.p, + numbers.public_numbers.parameter_numbers.q, + numbers.public_numbers.parameter_numbers.g, + numbers.public_numbers.y, + ) + ) + key.x = numbers.x + return key + + # ...internals... + + def _from_private_key_file(self, filename, password): + data = self._read_private_key_file("DSA", filename, password) + self._decode_key(data) + + def _from_private_key(self, file_obj, password): + data = self._read_private_key("DSA", file_obj, password) + self._decode_key(data) + + def _decode_key(self, data): + pkformat, data = data + # private key file contains: + # DSAPrivateKey = { version = 0, p, q, g, y, x } + if pkformat == self._PRIVATE_KEY_FORMAT_ORIGINAL: + try: + keylist = BER(data).decode() + except BERException as e: + raise SSHException("Unable to parse key file: {}".format(e)) + elif pkformat == self._PRIVATE_KEY_FORMAT_OPENSSH: + keylist = self._uint32_cstruct_unpack(data, "iiiii") + keylist = [0] + list(keylist) + else: + self._got_bad_key_format_id(pkformat) + if type(keylist) is not list or len(keylist) < 6 or keylist[0] != 0: + raise SSHException( + "not a valid DSA private key file (bad ber encoding)" + ) + self.p = keylist[1] + self.q = keylist[2] + self.g = keylist[3] + self.y = keylist[4] + self.x = keylist[5] + self.size = util.bit_length(self.p) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ecdsakey.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ecdsakey.py new file mode 100644 index 0000000000000000000000000000000000000000..6fd95fab8e30ff08d76aa8ea01951331d6264f03 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ecdsakey.py @@ -0,0 +1,339 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +ECDSA keys +""" + +from cryptography.exceptions import InvalidSignature, UnsupportedAlgorithm +from cryptography.hazmat.backends import default_backend +from cryptography.hazmat.primitives import hashes, serialization +from cryptography.hazmat.primitives.asymmetric import ec +from cryptography.hazmat.primitives.asymmetric.utils import ( + decode_dss_signature, + encode_dss_signature, +) + +from paramiko.common import four_byte +from paramiko.message import Message +from paramiko.pkey import PKey +from paramiko.ssh_exception import SSHException +from paramiko.util import deflate_long + + +class _ECDSACurve: + """ + Represents a specific ECDSA Curve (nistp256, nistp384, etc). + + Handles the generation of the key format identifier and the selection of + the proper hash function. Also grabs the proper curve from the 'ecdsa' + package. + """ + + def __init__(self, curve_class, nist_name): + self.nist_name = nist_name + self.key_length = curve_class.key_size + + # Defined in RFC 5656 6.2 + self.key_format_identifier = "ecdsa-sha2-" + self.nist_name + + # Defined in RFC 5656 6.2.1 + if self.key_length <= 256: + self.hash_object = hashes.SHA256 + elif self.key_length <= 384: + self.hash_object = hashes.SHA384 + else: + self.hash_object = hashes.SHA512 + + self.curve_class = curve_class + + +class _ECDSACurveSet: + """ + A collection to hold the ECDSA curves. Allows querying by oid and by key + format identifier. The two ways in which ECDSAKey needs to be able to look + up curves. + """ + + def __init__(self, ecdsa_curves): + self.ecdsa_curves = ecdsa_curves + + def get_key_format_identifier_list(self): + return [curve.key_format_identifier for curve in self.ecdsa_curves] + + def get_by_curve_class(self, curve_class): + for curve in self.ecdsa_curves: + if curve.curve_class == curve_class: + return curve + + def get_by_key_format_identifier(self, key_format_identifier): + for curve in self.ecdsa_curves: + if curve.key_format_identifier == key_format_identifier: + return curve + + def get_by_key_length(self, key_length): + for curve in self.ecdsa_curves: + if curve.key_length == key_length: + return curve + + +class ECDSAKey(PKey): + """ + Representation of an ECDSA key which can be used to sign and verify SSH2 + data. + """ + + _ECDSA_CURVES = _ECDSACurveSet( + [ + _ECDSACurve(ec.SECP256R1, "nistp256"), + _ECDSACurve(ec.SECP384R1, "nistp384"), + _ECDSACurve(ec.SECP521R1, "nistp521"), + ] + ) + + def __init__( + self, + msg=None, + data=None, + filename=None, + password=None, + vals=None, + file_obj=None, + # TODO 4.0: remove; it does nothing since porting to cryptography.io + validate_point=True, + ): + self.verifying_key = None + self.signing_key = None + self.public_blob = None + if file_obj is not None: + self._from_private_key(file_obj, password) + return + if filename is not None: + self._from_private_key_file(filename, password) + return + if (msg is None) and (data is not None): + msg = Message(data) + if vals is not None: + self.signing_key, self.verifying_key = vals + c_class = self.signing_key.curve.__class__ + self.ecdsa_curve = self._ECDSA_CURVES.get_by_curve_class(c_class) + else: + # Must set ecdsa_curve first; subroutines called herein may need to + # spit out our get_name(), which relies on this. + key_type = msg.get_text() + # But this also means we need to hand it a real key/curve + # identifier, so strip out any cert business. (NOTE: could push + # that into _ECDSACurveSet.get_by_key_format_identifier(), but it + # feels more correct to do it here?) + suffix = "-cert-v01@openssh.com" + if key_type.endswith(suffix): + key_type = key_type[: -len(suffix)] + self.ecdsa_curve = self._ECDSA_CURVES.get_by_key_format_identifier( + key_type + ) + key_types = self._ECDSA_CURVES.get_key_format_identifier_list() + cert_types = [ + "{}-cert-v01@openssh.com".format(x) for x in key_types + ] + self._check_type_and_load_cert( + msg=msg, key_type=key_types, cert_type=cert_types + ) + curvename = msg.get_text() + if curvename != self.ecdsa_curve.nist_name: + raise SSHException( + "Can't handle curve of type {}".format(curvename) + ) + + pointinfo = msg.get_binary() + try: + key = ec.EllipticCurvePublicKey.from_encoded_point( + self.ecdsa_curve.curve_class(), pointinfo + ) + self.verifying_key = key + except ValueError: + raise SSHException("Invalid public key") + + @classmethod + def identifiers(cls): + return cls._ECDSA_CURVES.get_key_format_identifier_list() + + # TODO 4.0: deprecate/remove + @classmethod + def supported_key_format_identifiers(cls): + return cls.identifiers() + + def asbytes(self): + key = self.verifying_key + m = Message() + m.add_string(self.ecdsa_curve.key_format_identifier) + m.add_string(self.ecdsa_curve.nist_name) + + numbers = key.public_numbers() + + key_size_bytes = (key.curve.key_size + 7) // 8 + + x_bytes = deflate_long(numbers.x, add_sign_padding=False) + x_bytes = b"\x00" * (key_size_bytes - len(x_bytes)) + x_bytes + + y_bytes = deflate_long(numbers.y, add_sign_padding=False) + y_bytes = b"\x00" * (key_size_bytes - len(y_bytes)) + y_bytes + + point_str = four_byte + x_bytes + y_bytes + m.add_string(point_str) + return m.asbytes() + + def __str__(self): + return self.asbytes() + + @property + def _fields(self): + return ( + self.get_name(), + self.verifying_key.public_numbers().x, + self.verifying_key.public_numbers().y, + ) + + def get_name(self): + return self.ecdsa_curve.key_format_identifier + + def get_bits(self): + return self.ecdsa_curve.key_length + + def can_sign(self): + return self.signing_key is not None + + def sign_ssh_data(self, data, algorithm=None): + ecdsa = ec.ECDSA(self.ecdsa_curve.hash_object()) + sig = self.signing_key.sign(data, ecdsa) + r, s = decode_dss_signature(sig) + + m = Message() + m.add_string(self.ecdsa_curve.key_format_identifier) + m.add_string(self._sigencode(r, s)) + return m + + def verify_ssh_sig(self, data, msg): + if msg.get_text() != self.ecdsa_curve.key_format_identifier: + return False + sig = msg.get_binary() + sigR, sigS = self._sigdecode(sig) + signature = encode_dss_signature(sigR, sigS) + + try: + self.verifying_key.verify( + signature, data, ec.ECDSA(self.ecdsa_curve.hash_object()) + ) + except InvalidSignature: + return False + else: + return True + + def write_private_key_file(self, filename, password=None): + self._write_private_key_file( + filename, + self.signing_key, + serialization.PrivateFormat.TraditionalOpenSSL, + password=password, + ) + + def write_private_key(self, file_obj, password=None): + self._write_private_key( + file_obj, + self.signing_key, + serialization.PrivateFormat.TraditionalOpenSSL, + password=password, + ) + + @classmethod + def generate(cls, curve=ec.SECP256R1(), progress_func=None, bits=None): + """ + Generate a new private ECDSA key. This factory function can be used to + generate a new host key or authentication key. + + :param progress_func: Not used for this type of key. + :returns: A new private key (`.ECDSAKey`) object + """ + if bits is not None: + curve = cls._ECDSA_CURVES.get_by_key_length(bits) + if curve is None: + raise ValueError("Unsupported key length: {:d}".format(bits)) + curve = curve.curve_class() + + private_key = ec.generate_private_key(curve, backend=default_backend()) + return ECDSAKey(vals=(private_key, private_key.public_key())) + + # ...internals... + + def _from_private_key_file(self, filename, password): + data = self._read_private_key_file("EC", filename, password) + self._decode_key(data) + + def _from_private_key(self, file_obj, password): + data = self._read_private_key("EC", file_obj, password) + self._decode_key(data) + + def _decode_key(self, data): + pkformat, data = data + if pkformat == self._PRIVATE_KEY_FORMAT_ORIGINAL: + try: + key = serialization.load_der_private_key( + data, password=None, backend=default_backend() + ) + except ( + ValueError, + AssertionError, + TypeError, + UnsupportedAlgorithm, + ) as e: + raise SSHException(str(e)) + elif pkformat == self._PRIVATE_KEY_FORMAT_OPENSSH: + try: + msg = Message(data) + curve_name = msg.get_text() + verkey = msg.get_binary() # noqa: F841 + sigkey = msg.get_mpint() + name = "ecdsa-sha2-" + curve_name + curve = self._ECDSA_CURVES.get_by_key_format_identifier(name) + if not curve: + raise SSHException("Invalid key curve identifier") + key = ec.derive_private_key( + sigkey, curve.curve_class(), default_backend() + ) + except Exception as e: + # PKey._read_private_key_openssh() should check or return + # keytype - parsing could fail for any reason due to wrong type + raise SSHException(str(e)) + else: + self._got_bad_key_format_id(pkformat) + + self.signing_key = key + self.verifying_key = key.public_key() + curve_class = key.curve.__class__ + self.ecdsa_curve = self._ECDSA_CURVES.get_by_curve_class(curve_class) + + def _sigencode(self, r, s): + msg = Message() + msg.add_mpint(r) + msg.add_mpint(s) + return msg.asbytes() + + def _sigdecode(self, sig): + msg = Message(sig) + r = msg.get_mpint() + s = msg.get_mpint() + return r, s diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ed25519key.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ed25519key.py new file mode 100644 index 0000000000000000000000000000000000000000..e5e81ac51cef74413eb0c58ca008fbacf03eccda --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ed25519key.py @@ -0,0 +1,212 @@ +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +import bcrypt + +from cryptography.hazmat.backends import default_backend +from cryptography.hazmat.primitives.ciphers import Cipher + +import nacl.signing + +from paramiko.message import Message +from paramiko.pkey import PKey, OPENSSH_AUTH_MAGIC, _unpad_openssh +from paramiko.util import b +from paramiko.ssh_exception import SSHException, PasswordRequiredException + + +class Ed25519Key(PKey): + """ + Representation of an `Ed25519 `_ key. + + .. note:: + Ed25519 key support was added to OpenSSH in version 6.5. + + .. versionadded:: 2.2 + .. versionchanged:: 2.3 + Added a ``file_obj`` parameter to match other key classes. + """ + + name = "ssh-ed25519" + + def __init__( + self, msg=None, data=None, filename=None, password=None, file_obj=None + ): + self.public_blob = None + verifying_key = signing_key = None + if msg is None and data is not None: + msg = Message(data) + if msg is not None: + self._check_type_and_load_cert( + msg=msg, + key_type=self.name, + cert_type="ssh-ed25519-cert-v01@openssh.com", + ) + verifying_key = nacl.signing.VerifyKey(msg.get_binary()) + elif filename is not None: + with open(filename, "r") as f: + pkformat, data = self._read_private_key("OPENSSH", f) + elif file_obj is not None: + pkformat, data = self._read_private_key("OPENSSH", file_obj) + + if filename or file_obj: + signing_key = self._parse_signing_key_data(data, password) + + if signing_key is None and verifying_key is None: + raise ValueError("need a key") + + self._signing_key = signing_key + self._verifying_key = verifying_key + + def _parse_signing_key_data(self, data, password): + from paramiko.transport import Transport + + # We may eventually want this to be usable for other key types, as + # OpenSSH moves to it, but for now this is just for Ed25519 keys. + # This format is described here: + # https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.key + # The description isn't totally complete, and I had to refer to the + # source for a full implementation. + message = Message(data) + if message.get_bytes(len(OPENSSH_AUTH_MAGIC)) != OPENSSH_AUTH_MAGIC: + raise SSHException("Invalid key") + + ciphername = message.get_text() + kdfname = message.get_text() + kdfoptions = message.get_binary() + num_keys = message.get_int() + + if kdfname == "none": + # kdfname of "none" must have an empty kdfoptions, the ciphername + # must be "none" + if kdfoptions or ciphername != "none": + raise SSHException("Invalid key") + elif kdfname == "bcrypt": + if not password: + raise PasswordRequiredException( + "Private key file is encrypted" + ) + kdf = Message(kdfoptions) + bcrypt_salt = kdf.get_binary() + bcrypt_rounds = kdf.get_int() + else: + raise SSHException("Invalid key") + + if ciphername != "none" and ciphername not in Transport._cipher_info: + raise SSHException("Invalid key") + + public_keys = [] + for _ in range(num_keys): + pubkey = Message(message.get_binary()) + if pubkey.get_text() != self.name: + raise SSHException("Invalid key") + public_keys.append(pubkey.get_binary()) + + private_ciphertext = message.get_binary() + if ciphername == "none": + private_data = private_ciphertext + else: + cipher = Transport._cipher_info[ciphername] + key = bcrypt.kdf( + password=b(password), + salt=bcrypt_salt, + desired_key_bytes=cipher["key-size"] + cipher["block-size"], + rounds=bcrypt_rounds, + # We can't control how many rounds are on disk, so no sense + # warning about it. + ignore_few_rounds=True, + ) + decryptor = Cipher( + cipher["class"](key[: cipher["key-size"]]), + cipher["mode"](key[cipher["key-size"] :]), + backend=default_backend(), + ).decryptor() + private_data = ( + decryptor.update(private_ciphertext) + decryptor.finalize() + ) + + message = Message(_unpad_openssh(private_data)) + if message.get_int() != message.get_int(): + raise SSHException("Invalid key") + + signing_keys = [] + for i in range(num_keys): + if message.get_text() != self.name: + raise SSHException("Invalid key") + # A copy of the public key, again, ignore. + public = message.get_binary() + key_data = message.get_binary() + # The second half of the key data is yet another copy of the public + # key... + signing_key = nacl.signing.SigningKey(key_data[:32]) + # Verify that all the public keys are the same... + assert ( + signing_key.verify_key.encode() + == public + == public_keys[i] + == key_data[32:] + ) + signing_keys.append(signing_key) + # Comment, ignore. + message.get_binary() + + if len(signing_keys) != 1: + raise SSHException("Invalid key") + return signing_keys[0] + + def asbytes(self): + if self.can_sign(): + v = self._signing_key.verify_key + else: + v = self._verifying_key + m = Message() + m.add_string(self.name) + m.add_string(v.encode()) + return m.asbytes() + + @property + def _fields(self): + if self.can_sign(): + v = self._signing_key.verify_key + else: + v = self._verifying_key + return (self.get_name(), v) + + # TODO 4.0: remove + def get_name(self): + return self.name + + def get_bits(self): + return 256 + + def can_sign(self): + return self._signing_key is not None + + def sign_ssh_data(self, data, algorithm=None): + m = Message() + m.add_string(self.name) + m.add_string(self._signing_key.sign(data).signature) + return m + + def verify_ssh_sig(self, data, msg): + if msg.get_text() != self.name: + return False + + try: + self._verifying_key.verify(data, msg.get_binary()) + except nacl.exceptions.BadSignatureError: + return False + else: + return True diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/file.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/file.py new file mode 100644 index 0000000000000000000000000000000000000000..a36abb988e9a1773064743f1c459052570ae5d3a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/file.py @@ -0,0 +1,528 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +from io import BytesIO + +from paramiko.common import ( + linefeed_byte_value, + crlf, + cr_byte, + linefeed_byte, + cr_byte_value, +) + +from paramiko.util import ClosingContextManager, u + + +class BufferedFile(ClosingContextManager): + """ + Reusable base class to implement Python-style file buffering around a + simpler stream. + """ + + _DEFAULT_BUFSIZE = 8192 + + SEEK_SET = 0 + SEEK_CUR = 1 + SEEK_END = 2 + + FLAG_READ = 0x1 + FLAG_WRITE = 0x2 + FLAG_APPEND = 0x4 + FLAG_BINARY = 0x10 + FLAG_BUFFERED = 0x20 + FLAG_LINE_BUFFERED = 0x40 + FLAG_UNIVERSAL_NEWLINE = 0x80 + + def __init__(self): + self.newlines = None + self._flags = 0 + self._bufsize = self._DEFAULT_BUFSIZE + self._wbuffer = BytesIO() + self._rbuffer = bytes() + self._at_trailing_cr = False + self._closed = False + # pos - position within the file, according to the user + # realpos - position according the OS + # (these may be different because we buffer for line reading) + self._pos = self._realpos = 0 + # size only matters for seekable files + self._size = 0 + + def __del__(self): + self.close() + + def __iter__(self): + """ + Returns an iterator that can be used to iterate over the lines in this + file. This iterator happens to return the file itself, since a file is + its own iterator. + + :raises: ``ValueError`` -- if the file is closed. + """ + if self._closed: + raise ValueError("I/O operation on closed file") + return self + + def close(self): + """ + Close the file. Future read and write operations will fail. + """ + self.flush() + self._closed = True + + def flush(self): + """ + Write out any data in the write buffer. This may do nothing if write + buffering is not turned on. + """ + self._write_all(self._wbuffer.getvalue()) + self._wbuffer = BytesIO() + return + + def __next__(self): + """ + Returns the next line from the input, or raises ``StopIteration`` + when EOF is hit. Unlike python file objects, it's okay to mix + calls to `.next` and `.readline`. + + :raises: ``StopIteration`` -- when the end of the file is reached. + + :returns: + a line (`str`, or `bytes` if the file was opened in binary mode) + read from the file. + """ + line = self.readline() + if not line: + raise StopIteration + return line + + def readable(self): + """ + Check if the file can be read from. + + :returns: + `True` if the file can be read from. If `False`, `read` will raise + an exception. + """ + return (self._flags & self.FLAG_READ) == self.FLAG_READ + + def writable(self): + """ + Check if the file can be written to. + + :returns: + `True` if the file can be written to. If `False`, `write` will + raise an exception. + """ + return (self._flags & self.FLAG_WRITE) == self.FLAG_WRITE + + def seekable(self): + """ + Check if the file supports random access. + + :returns: + `True` if the file supports random access. If `False`, `seek` will + raise an exception. + """ + return False + + def readinto(self, buff): + """ + Read up to ``len(buff)`` bytes into ``bytearray`` *buff* and return the + number of bytes read. + + :returns: + The number of bytes read. + """ + data = self.read(len(buff)) + buff[: len(data)] = data + return len(data) + + def read(self, size=None): + """ + Read at most ``size`` bytes from the file (less if we hit the end of + the file first). If the ``size`` argument is negative or omitted, + read all the remaining data in the file. + + .. note:: + ``'b'`` mode flag is ignored (``self.FLAG_BINARY`` in + ``self._flags``), because SSH treats all files as binary, since we + have no idea what encoding the file is in, or even if the file is + text data. + + :param int size: maximum number of bytes to read + :returns: + data read from the file (as bytes), or an empty string if EOF was + encountered immediately + """ + if self._closed: + raise IOError("File is closed") + if not (self._flags & self.FLAG_READ): + raise IOError("File is not open for reading") + if (size is None) or (size < 0): + # go for broke + result = bytearray(self._rbuffer) + self._rbuffer = bytes() + self._pos += len(result) + while True: + try: + new_data = self._read(self._DEFAULT_BUFSIZE) + except EOFError: + new_data = None + if (new_data is None) or (len(new_data) == 0): + break + result.extend(new_data) + self._realpos += len(new_data) + self._pos += len(new_data) + return bytes(result) + if size <= len(self._rbuffer): + result = self._rbuffer[:size] + self._rbuffer = self._rbuffer[size:] + self._pos += len(result) + return result + while len(self._rbuffer) < size: + read_size = size - len(self._rbuffer) + if self._flags & self.FLAG_BUFFERED: + read_size = max(self._bufsize, read_size) + try: + new_data = self._read(read_size) + except EOFError: + new_data = None + if (new_data is None) or (len(new_data) == 0): + break + self._rbuffer += new_data + self._realpos += len(new_data) + result = self._rbuffer[:size] + self._rbuffer = self._rbuffer[size:] + self._pos += len(result) + return result + + def readline(self, size=None): + """ + Read one entire line from the file. A trailing newline character is + kept in the string (but may be absent when a file ends with an + incomplete line). If the size argument is present and non-negative, it + is a maximum byte count (including the trailing newline) and an + incomplete line may be returned. An empty string is returned only when + EOF is encountered immediately. + + .. note:: + Unlike stdio's ``fgets``, the returned string contains null + characters (``'\\0'``) if they occurred in the input. + + :param int size: maximum length of returned string. + :returns: + next line of the file, or an empty string if the end of the + file has been reached. + + If the file was opened in binary (``'b'``) mode: bytes are returned + Else: the encoding of the file is assumed to be UTF-8 and character + strings (`str`) are returned + """ + # it's almost silly how complex this function is. + if self._closed: + raise IOError("File is closed") + if not (self._flags & self.FLAG_READ): + raise IOError("File not open for reading") + line = self._rbuffer + truncated = False + while True: + if ( + self._at_trailing_cr + and self._flags & self.FLAG_UNIVERSAL_NEWLINE + and len(line) > 0 + ): + # edge case: the newline may be '\r\n' and we may have read + # only the first '\r' last time. + if line[0] == linefeed_byte_value: + line = line[1:] + self._record_newline(crlf) + else: + self._record_newline(cr_byte) + self._at_trailing_cr = False + # check size before looking for a linefeed, in case we already have + # enough. + if (size is not None) and (size >= 0): + if len(line) >= size: + # truncate line + self._rbuffer = line[size:] + line = line[:size] + truncated = True + break + n = size - len(line) + else: + n = self._bufsize + if linefeed_byte in line or ( + self._flags & self.FLAG_UNIVERSAL_NEWLINE and cr_byte in line + ): + break + try: + new_data = self._read(n) + except EOFError: + new_data = None + if (new_data is None) or (len(new_data) == 0): + self._rbuffer = bytes() + self._pos += len(line) + return line if self._flags & self.FLAG_BINARY else u(line) + line += new_data + self._realpos += len(new_data) + # find the newline + pos = line.find(linefeed_byte) + if self._flags & self.FLAG_UNIVERSAL_NEWLINE: + rpos = line.find(cr_byte) + if (rpos >= 0) and (rpos < pos or pos < 0): + pos = rpos + if pos == -1: + # we couldn't find a newline in the truncated string, return it + self._pos += len(line) + return line if self._flags & self.FLAG_BINARY else u(line) + xpos = pos + 1 + if ( + line[pos] == cr_byte_value + and xpos < len(line) + and line[xpos] == linefeed_byte_value + ): + xpos += 1 + # if the string was truncated, _rbuffer needs to have the string after + # the newline character plus the truncated part of the line we stored + # earlier in _rbuffer + if truncated: + self._rbuffer = line[xpos:] + self._rbuffer + else: + self._rbuffer = line[xpos:] + + lf = line[pos:xpos] + line = line[:pos] + linefeed_byte + if (len(self._rbuffer) == 0) and (lf == cr_byte): + # we could read the line up to a '\r' and there could still be a + # '\n' following that we read next time. note that and eat it. + self._at_trailing_cr = True + else: + self._record_newline(lf) + self._pos += len(line) + return line if self._flags & self.FLAG_BINARY else u(line) + + def readlines(self, sizehint=None): + """ + Read all remaining lines using `readline` and return them as a list. + If the optional ``sizehint`` argument is present, instead of reading up + to EOF, whole lines totalling approximately sizehint bytes (possibly + after rounding up to an internal buffer size) are read. + + :param int sizehint: desired maximum number of bytes to read. + :returns: list of lines read from the file. + """ + lines = [] + byte_count = 0 + while True: + line = self.readline() + if len(line) == 0: + break + lines.append(line) + byte_count += len(line) + if (sizehint is not None) and (byte_count >= sizehint): + break + return lines + + def seek(self, offset, whence=0): + """ + Set the file's current position, like stdio's ``fseek``. Not all file + objects support seeking. + + .. note:: + If a file is opened in append mode (``'a'`` or ``'a+'``), any seek + operations will be undone at the next write (as the file position + will move back to the end of the file). + + :param int offset: + position to move to within the file, relative to ``whence``. + :param int whence: + type of movement: 0 = absolute; 1 = relative to the current + position; 2 = relative to the end of the file. + + :raises: ``IOError`` -- if the file doesn't support random access. + """ + raise IOError("File does not support seeking.") + + def tell(self): + """ + Return the file's current position. This may not be accurate or + useful if the underlying file doesn't support random access, or was + opened in append mode. + + :returns: file position (`number ` of bytes). + """ + return self._pos + + def write(self, data): + """ + Write data to the file. If write buffering is on (``bufsize`` was + specified and non-zero), some or all of the data may not actually be + written yet. (Use `flush` or `close` to force buffered data to be + written out.) + + :param data: ``str``/``bytes`` data to write + """ + if isinstance(data, str): + # Accept text and encode as utf-8 for compatibility only. + data = data.encode("utf-8") + if self._closed: + raise IOError("File is closed") + if not (self._flags & self.FLAG_WRITE): + raise IOError("File not open for writing") + if not (self._flags & self.FLAG_BUFFERED): + self._write_all(data) + return + self._wbuffer.write(data) + if self._flags & self.FLAG_LINE_BUFFERED: + # only scan the new data for linefeed, to avoid wasting time. + last_newline_pos = data.rfind(linefeed_byte) + if last_newline_pos >= 0: + wbuf = self._wbuffer.getvalue() + last_newline_pos += len(wbuf) - len(data) + self._write_all(wbuf[: last_newline_pos + 1]) + self._wbuffer = BytesIO() + self._wbuffer.write(wbuf[last_newline_pos + 1 :]) + return + # even if we're line buffering, if the buffer has grown past the + # buffer size, force a flush. + if self._wbuffer.tell() >= self._bufsize: + self.flush() + return + + def writelines(self, sequence): + """ + Write a sequence of strings to the file. The sequence can be any + iterable object producing strings, typically a list of strings. (The + name is intended to match `readlines`; `writelines` does not add line + separators.) + + :param sequence: an iterable sequence of strings. + """ + for line in sequence: + self.write(line) + return + + def xreadlines(self): + """ + Identical to ``iter(f)``. This is a deprecated file interface that + predates Python iterator support. + """ + return self + + @property + def closed(self): + return self._closed + + # ...overrides... + + def _read(self, size): + """ + (subclass override) + Read data from the stream. Return ``None`` or raise ``EOFError`` to + indicate EOF. + """ + raise EOFError() + + def _write(self, data): + """ + (subclass override) + Write data into the stream. + """ + raise IOError("write not implemented") + + def _get_size(self): + """ + (subclass override) + Return the size of the file. This is called from within `_set_mode` + if the file is opened in append mode, so the file position can be + tracked and `seek` and `tell` will work correctly. If the file is + a stream that can't be randomly accessed, you don't need to override + this method, + """ + return 0 + + # ...internals... + + def _set_mode(self, mode="r", bufsize=-1): + """ + Subclasses call this method to initialize the BufferedFile. + """ + # set bufsize in any event, because it's used for readline(). + self._bufsize = self._DEFAULT_BUFSIZE + if bufsize < 0: + # do no buffering by default, because otherwise writes will get + # buffered in a way that will probably confuse people. + bufsize = 0 + if bufsize == 1: + # apparently, line buffering only affects writes. reads are only + # buffered if you call readline (directly or indirectly: iterating + # over a file will indirectly call readline). + self._flags |= self.FLAG_BUFFERED | self.FLAG_LINE_BUFFERED + elif bufsize > 1: + self._bufsize = bufsize + self._flags |= self.FLAG_BUFFERED + self._flags &= ~self.FLAG_LINE_BUFFERED + elif bufsize == 0: + # unbuffered + self._flags &= ~(self.FLAG_BUFFERED | self.FLAG_LINE_BUFFERED) + + if ("r" in mode) or ("+" in mode): + self._flags |= self.FLAG_READ + if ("w" in mode) or ("+" in mode): + self._flags |= self.FLAG_WRITE + if "a" in mode: + self._flags |= self.FLAG_WRITE | self.FLAG_APPEND + self._size = self._get_size() + self._pos = self._realpos = self._size + if "b" in mode: + self._flags |= self.FLAG_BINARY + if "U" in mode: + self._flags |= self.FLAG_UNIVERSAL_NEWLINE + # built-in file objects have this attribute to store which kinds of + # line terminations they've seen: + # + self.newlines = None + + def _write_all(self, raw_data): + # the underlying stream may be something that does partial writes (like + # a socket). + data = memoryview(raw_data) + while len(data) > 0: + count = self._write(data) + data = data[count:] + if self._flags & self.FLAG_APPEND: + self._size += count + self._pos = self._realpos = self._size + else: + self._pos += count + self._realpos += count + return None + + def _record_newline(self, newline): + # silliness about tracking what kinds of newlines we've seen. + # i don't understand why it can be None, a string, or a tuple, instead + # of just always being a tuple, but we'll emulate that behavior anyway. + if not (self._flags & self.FLAG_UNIVERSAL_NEWLINE): + return + if self.newlines is None: + self.newlines = newline + elif self.newlines != newline and isinstance(self.newlines, bytes): + self.newlines = (self.newlines, newline) + elif newline not in self.newlines: + self.newlines += (newline,) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/hostkeys.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/hostkeys.py new file mode 100644 index 0000000000000000000000000000000000000000..4d47e9508e1903b2cd1bfe2291717bb6499d23c3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/hostkeys.py @@ -0,0 +1,384 @@ +# Copyright (C) 2006-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +from base64 import encodebytes, decodebytes +import binascii +import os +import re + +from collections.abc import MutableMapping +from hashlib import sha1 +from hmac import HMAC + + +from paramiko.pkey import PKey, UnknownKeyType +from paramiko.util import get_logger, constant_time_bytes_eq, b, u +from paramiko.ssh_exception import SSHException + + +class HostKeys(MutableMapping): + """ + Representation of an OpenSSH-style "known hosts" file. Host keys can be + read from one or more files, and then individual hosts can be looked up to + verify server keys during SSH negotiation. + + A `.HostKeys` object can be treated like a dict; any dict lookup is + equivalent to calling `lookup`. + + .. versionadded:: 1.5.3 + """ + + def __init__(self, filename=None): + """ + Create a new HostKeys object, optionally loading keys from an OpenSSH + style host-key file. + + :param str filename: filename to load host keys from, or ``None`` + """ + # emulate a dict of { hostname: { keytype: PKey } } + self._entries = [] + if filename is not None: + self.load(filename) + + def add(self, hostname, keytype, key): + """ + Add a host key entry to the table. Any existing entry for a + ``(hostname, keytype)`` pair will be replaced. + + :param str hostname: the hostname (or IP) to add + :param str keytype: key type (``"ssh-rsa"`` or ``"ssh-dss"``) + :param .PKey key: the key to add + """ + for e in self._entries: + if (hostname in e.hostnames) and (e.key.get_name() == keytype): + e.key = key + return + self._entries.append(HostKeyEntry([hostname], key)) + + def load(self, filename): + """ + Read a file of known SSH host keys, in the format used by OpenSSH. + This type of file unfortunately doesn't exist on Windows, but on + posix, it will usually be stored in + ``os.path.expanduser("~/.ssh/known_hosts")``. + + If this method is called multiple times, the host keys are merged, + not cleared. So multiple calls to `load` will just call `add`, + replacing any existing entries and adding new ones. + + :param str filename: name of the file to read host keys from + + :raises: ``IOError`` -- if there was an error reading the file + """ + with open(filename, "r") as f: + for lineno, line in enumerate(f, 1): + line = line.strip() + if (len(line) == 0) or (line[0] == "#"): + continue + try: + entry = HostKeyEntry.from_line(line, lineno) + except SSHException: + continue + if entry is not None: + _hostnames = entry.hostnames + for h in _hostnames: + if self.check(h, entry.key): + entry.hostnames.remove(h) + if len(entry.hostnames): + self._entries.append(entry) + + def save(self, filename): + """ + Save host keys into a file, in the format used by OpenSSH. The order + of keys in the file will be preserved when possible (if these keys were + loaded from a file originally). The single exception is that combined + lines will be split into individual key lines, which is arguably a bug. + + :param str filename: name of the file to write + + :raises: ``IOError`` -- if there was an error writing the file + + .. versionadded:: 1.6.1 + """ + with open(filename, "w") as f: + for e in self._entries: + line = e.to_line() + if line: + f.write(line) + + def lookup(self, hostname): + """ + Find a hostkey entry for a given hostname or IP. If no entry is found, + ``None`` is returned. Otherwise a dictionary of keytype to key is + returned. The keytype will be either ``"ssh-rsa"`` or ``"ssh-dss"``. + + :param str hostname: the hostname (or IP) to lookup + :return: dict of `str` -> `.PKey` keys associated with this host + (or ``None``) + """ + + class SubDict(MutableMapping): + def __init__(self, hostname, entries, hostkeys): + self._hostname = hostname + self._entries = entries + self._hostkeys = hostkeys + + def __iter__(self): + for k in self.keys(): + yield k + + def __len__(self): + return len(self.keys()) + + def __delitem__(self, key): + for e in list(self._entries): + if e.key.get_name() == key: + self._entries.remove(e) + break + else: + raise KeyError(key) + + def __getitem__(self, key): + for e in self._entries: + if e.key.get_name() == key: + return e.key + raise KeyError(key) + + def __setitem__(self, key, val): + for e in self._entries: + if e.key is None: + continue + if e.key.get_name() == key: + # replace + e.key = val + break + else: + # add a new one + e = HostKeyEntry([hostname], val) + self._entries.append(e) + self._hostkeys._entries.append(e) + + def keys(self): + return [ + e.key.get_name() + for e in self._entries + if e.key is not None + ] + + entries = [] + for e in self._entries: + if self._hostname_matches(hostname, e): + entries.append(e) + if len(entries) == 0: + return None + return SubDict(hostname, entries, self) + + def _hostname_matches(self, hostname, entry): + """ + Tests whether ``hostname`` string matches given SubDict ``entry``. + + :returns bool: + """ + for h in entry.hostnames: + if ( + h == hostname + or h.startswith("|1|") + and not hostname.startswith("|1|") + and constant_time_bytes_eq(self.hash_host(hostname, h), h) + ): + return True + return False + + def check(self, hostname, key): + """ + Return True if the given key is associated with the given hostname + in this dictionary. + + :param str hostname: hostname (or IP) of the SSH server + :param .PKey key: the key to check + :return: + ``True`` if the key is associated with the hostname; else ``False`` + """ + k = self.lookup(hostname) + if k is None: + return False + host_key = k.get(key.get_name(), None) + if host_key is None: + return False + return host_key.asbytes() == key.asbytes() + + def clear(self): + """ + Remove all host keys from the dictionary. + """ + self._entries = [] + + def __iter__(self): + for k in self.keys(): + yield k + + def __len__(self): + return len(self.keys()) + + def __getitem__(self, key): + ret = self.lookup(key) + if ret is None: + raise KeyError(key) + return ret + + def __delitem__(self, key): + index = None + for i, entry in enumerate(self._entries): + if self._hostname_matches(key, entry): + index = i + break + if index is None: + raise KeyError(key) + self._entries.pop(index) + + def __setitem__(self, hostname, entry): + # don't use this please. + if len(entry) == 0: + self._entries.append(HostKeyEntry([hostname], None)) + return + for key_type in entry.keys(): + found = False + for e in self._entries: + if (hostname in e.hostnames) and e.key.get_name() == key_type: + # replace + e.key = entry[key_type] + found = True + if not found: + self._entries.append(HostKeyEntry([hostname], entry[key_type])) + + def keys(self): + ret = [] + for e in self._entries: + for h in e.hostnames: + if h not in ret: + ret.append(h) + return ret + + def values(self): + ret = [] + for k in self.keys(): + ret.append(self.lookup(k)) + return ret + + @staticmethod + def hash_host(hostname, salt=None): + """ + Return a "hashed" form of the hostname, as used by OpenSSH when storing + hashed hostnames in the known_hosts file. + + :param str hostname: the hostname to hash + :param str salt: optional salt to use when hashing + (must be 20 bytes long) + :return: the hashed hostname as a `str` + """ + if salt is None: + salt = os.urandom(sha1().digest_size) + else: + if salt.startswith("|1|"): + salt = salt.split("|")[2] + salt = decodebytes(b(salt)) + assert len(salt) == sha1().digest_size + hmac = HMAC(salt, b(hostname), sha1).digest() + hostkey = "|1|{}|{}".format(u(encodebytes(salt)), u(encodebytes(hmac))) + return hostkey.replace("\n", "") + + +class InvalidHostKey(Exception): + def __init__(self, line, exc): + self.line = line + self.exc = exc + self.args = (line, exc) + + +class HostKeyEntry: + """ + Representation of a line in an OpenSSH-style "known hosts" file. + """ + + def __init__(self, hostnames=None, key=None): + self.valid = (hostnames is not None) and (key is not None) + self.hostnames = hostnames + self.key = key + + @classmethod + def from_line(cls, line, lineno=None): + """ + Parses the given line of text to find the names for the host, + the type of key, and the key data. The line is expected to be in the + format used by the OpenSSH known_hosts file. Fields are separated by a + single space or tab. + + Lines are expected to not have leading or trailing whitespace. + We don't bother to check for comments or empty lines. All of + that should be taken care of before sending the line to us. + + :param str line: a line from an OpenSSH known_hosts file + """ + log = get_logger("paramiko.hostkeys") + fields = re.split(" |\t", line) + if len(fields) < 3: + # Bad number of fields + msg = "Not enough fields found in known_hosts in line {} ({!r})" + log.info(msg.format(lineno, line)) + return None + fields = fields[:3] + + names, key_type, key = fields + names = names.split(",") + + # Decide what kind of key we're looking at and create an object + # to hold it accordingly. + try: + # TODO: this grew organically and doesn't seem /wrong/ per se (file + # read -> unicode str -> bytes for base64 decode -> decoded bytes); + # but in Python 3 forever land, can we simply use + # `base64.b64decode(str-from-file)` here? + key_bytes = decodebytes(b(key)) + except binascii.Error as e: + raise InvalidHostKey(line, e) + + try: + return cls(names, PKey.from_type_string(key_type, key_bytes)) + except UnknownKeyType: + # TODO 4.0: consider changing HostKeys API so this just raises + # naturally and the exception is muted higher up in the stack? + log.info("Unable to handle key of type {}".format(key_type)) + return None + + def to_line(self): + """ + Returns a string in OpenSSH known_hosts file format, or None if + the object is not in a valid state. A trailing newline is + included. + """ + if self.valid: + return "{} {} {}\n".format( + ",".join(self.hostnames), + self.key.get_name(), + self.key.get_base64(), + ) + return None + + def __repr__(self): + return "".format(self.hostnames, self.key) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_curve25519.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_curve25519.py new file mode 100644 index 0000000000000000000000000000000000000000..20c23e42a0fac7e215e1c1f23650fae3a85b2ac2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_curve25519.py @@ -0,0 +1,131 @@ +import binascii +import hashlib + +from cryptography.exceptions import UnsupportedAlgorithm +from cryptography.hazmat.primitives import constant_time, serialization +from cryptography.hazmat.primitives.asymmetric.x25519 import ( + X25519PrivateKey, + X25519PublicKey, +) + +from paramiko.message import Message +from paramiko.common import byte_chr +from paramiko.ssh_exception import SSHException + + +_MSG_KEXECDH_INIT, _MSG_KEXECDH_REPLY = range(30, 32) +c_MSG_KEXECDH_INIT, c_MSG_KEXECDH_REPLY = [byte_chr(c) for c in range(30, 32)] + + +class KexCurve25519: + hash_algo = hashlib.sha256 + + def __init__(self, transport): + self.transport = transport + self.key = None + + @classmethod + def is_available(cls): + try: + X25519PrivateKey.generate() + except UnsupportedAlgorithm: + return False + else: + return True + + def _perform_exchange(self, peer_key): + secret = self.key.exchange(peer_key) + if constant_time.bytes_eq(secret, b"\x00" * 32): + raise SSHException( + "peer's curve25519 public value has wrong order" + ) + return secret + + def start_kex(self): + self.key = X25519PrivateKey.generate() + if self.transport.server_mode: + self.transport._expect_packet(_MSG_KEXECDH_INIT) + return + + m = Message() + m.add_byte(c_MSG_KEXECDH_INIT) + m.add_string( + self.key.public_key().public_bytes( + serialization.Encoding.Raw, serialization.PublicFormat.Raw + ) + ) + self.transport._send_message(m) + self.transport._expect_packet(_MSG_KEXECDH_REPLY) + + def parse_next(self, ptype, m): + if self.transport.server_mode and (ptype == _MSG_KEXECDH_INIT): + return self._parse_kexecdh_init(m) + elif not self.transport.server_mode and (ptype == _MSG_KEXECDH_REPLY): + return self._parse_kexecdh_reply(m) + raise SSHException( + "KexCurve25519 asked to handle packet type {:d}".format(ptype) + ) + + def _parse_kexecdh_init(self, m): + peer_key_bytes = m.get_string() + peer_key = X25519PublicKey.from_public_bytes(peer_key_bytes) + K = self._perform_exchange(peer_key) + K = int(binascii.hexlify(K), 16) + # compute exchange hash + hm = Message() + hm.add( + self.transport.remote_version, + self.transport.local_version, + self.transport.remote_kex_init, + self.transport.local_kex_init, + ) + server_key_bytes = self.transport.get_server_key().asbytes() + exchange_key_bytes = self.key.public_key().public_bytes( + serialization.Encoding.Raw, serialization.PublicFormat.Raw + ) + hm.add_string(server_key_bytes) + hm.add_string(peer_key_bytes) + hm.add_string(exchange_key_bytes) + hm.add_mpint(K) + H = self.hash_algo(hm.asbytes()).digest() + self.transport._set_K_H(K, H) + sig = self.transport.get_server_key().sign_ssh_data( + H, self.transport.host_key_type + ) + # construct reply + m = Message() + m.add_byte(c_MSG_KEXECDH_REPLY) + m.add_string(server_key_bytes) + m.add_string(exchange_key_bytes) + m.add_string(sig) + self.transport._send_message(m) + self.transport._activate_outbound() + + def _parse_kexecdh_reply(self, m): + peer_host_key_bytes = m.get_string() + peer_key_bytes = m.get_string() + sig = m.get_binary() + + peer_key = X25519PublicKey.from_public_bytes(peer_key_bytes) + + K = self._perform_exchange(peer_key) + K = int(binascii.hexlify(K), 16) + # compute exchange hash and verify signature + hm = Message() + hm.add( + self.transport.local_version, + self.transport.remote_version, + self.transport.local_kex_init, + self.transport.remote_kex_init, + ) + hm.add_string(peer_host_key_bytes) + hm.add_string( + self.key.public_key().public_bytes( + serialization.Encoding.Raw, serialization.PublicFormat.Raw + ) + ) + hm.add_string(peer_key_bytes) + hm.add_mpint(K) + self.transport._set_K_H(K, self.hash_algo(hm.asbytes()).digest()) + self.transport._verify_key(peer_host_key_bytes, sig) + self.transport._activate_outbound() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_ecdh_nist.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_ecdh_nist.py new file mode 100644 index 0000000000000000000000000000000000000000..41fab46bd0dea5d5dd53c321d700a66274342523 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_ecdh_nist.py @@ -0,0 +1,151 @@ +""" +Ephemeral Elliptic Curve Diffie-Hellman (ECDH) key exchange +RFC 5656, Section 4 +""" + +from hashlib import sha256, sha384, sha512 +from paramiko.common import byte_chr +from paramiko.message import Message +from paramiko.ssh_exception import SSHException +from cryptography.hazmat.backends import default_backend +from cryptography.hazmat.primitives.asymmetric import ec +from cryptography.hazmat.primitives import serialization +from binascii import hexlify + +_MSG_KEXECDH_INIT, _MSG_KEXECDH_REPLY = range(30, 32) +c_MSG_KEXECDH_INIT, c_MSG_KEXECDH_REPLY = [byte_chr(c) for c in range(30, 32)] + + +class KexNistp256: + + name = "ecdh-sha2-nistp256" + hash_algo = sha256 + curve = ec.SECP256R1() + + def __init__(self, transport): + self.transport = transport + # private key, client public and server public keys + self.P = 0 + self.Q_C = None + self.Q_S = None + + def start_kex(self): + self._generate_key_pair() + if self.transport.server_mode: + self.transport._expect_packet(_MSG_KEXECDH_INIT) + return + m = Message() + m.add_byte(c_MSG_KEXECDH_INIT) + # SEC1: V2.0 2.3.3 Elliptic-Curve-Point-to-Octet-String Conversion + m.add_string( + self.Q_C.public_bytes( + serialization.Encoding.X962, + serialization.PublicFormat.UncompressedPoint, + ) + ) + self.transport._send_message(m) + self.transport._expect_packet(_MSG_KEXECDH_REPLY) + + def parse_next(self, ptype, m): + if self.transport.server_mode and (ptype == _MSG_KEXECDH_INIT): + return self._parse_kexecdh_init(m) + elif not self.transport.server_mode and (ptype == _MSG_KEXECDH_REPLY): + return self._parse_kexecdh_reply(m) + raise SSHException( + "KexECDH asked to handle packet type {:d}".format(ptype) + ) + + def _generate_key_pair(self): + self.P = ec.generate_private_key(self.curve, default_backend()) + if self.transport.server_mode: + self.Q_S = self.P.public_key() + return + self.Q_C = self.P.public_key() + + def _parse_kexecdh_init(self, m): + Q_C_bytes = m.get_string() + self.Q_C = ec.EllipticCurvePublicKey.from_encoded_point( + self.curve, Q_C_bytes + ) + K_S = self.transport.get_server_key().asbytes() + K = self.P.exchange(ec.ECDH(), self.Q_C) + K = int(hexlify(K), 16) + # compute exchange hash + hm = Message() + hm.add( + self.transport.remote_version, + self.transport.local_version, + self.transport.remote_kex_init, + self.transport.local_kex_init, + ) + hm.add_string(K_S) + hm.add_string(Q_C_bytes) + # SEC1: V2.0 2.3.3 Elliptic-Curve-Point-to-Octet-String Conversion + hm.add_string( + self.Q_S.public_bytes( + serialization.Encoding.X962, + serialization.PublicFormat.UncompressedPoint, + ) + ) + hm.add_mpint(int(K)) + H = self.hash_algo(hm.asbytes()).digest() + self.transport._set_K_H(K, H) + sig = self.transport.get_server_key().sign_ssh_data( + H, self.transport.host_key_type + ) + # construct reply + m = Message() + m.add_byte(c_MSG_KEXECDH_REPLY) + m.add_string(K_S) + m.add_string( + self.Q_S.public_bytes( + serialization.Encoding.X962, + serialization.PublicFormat.UncompressedPoint, + ) + ) + m.add_string(sig) + self.transport._send_message(m) + self.transport._activate_outbound() + + def _parse_kexecdh_reply(self, m): + K_S = m.get_string() + Q_S_bytes = m.get_string() + self.Q_S = ec.EllipticCurvePublicKey.from_encoded_point( + self.curve, Q_S_bytes + ) + sig = m.get_binary() + K = self.P.exchange(ec.ECDH(), self.Q_S) + K = int(hexlify(K), 16) + # compute exchange hash and verify signature + hm = Message() + hm.add( + self.transport.local_version, + self.transport.remote_version, + self.transport.local_kex_init, + self.transport.remote_kex_init, + ) + hm.add_string(K_S) + # SEC1: V2.0 2.3.3 Elliptic-Curve-Point-to-Octet-String Conversion + hm.add_string( + self.Q_C.public_bytes( + serialization.Encoding.X962, + serialization.PublicFormat.UncompressedPoint, + ) + ) + hm.add_string(Q_S_bytes) + hm.add_mpint(K) + self.transport._set_K_H(K, self.hash_algo(hm.asbytes()).digest()) + self.transport._verify_key(K_S, sig) + self.transport._activate_outbound() + + +class KexNistp384(KexNistp256): + name = "ecdh-sha2-nistp384" + hash_algo = sha384 + curve = ec.SECP384R1() + + +class KexNistp521(KexNistp256): + name = "ecdh-sha2-nistp521" + hash_algo = sha512 + curve = ec.SECP521R1() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_gex.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_gex.py new file mode 100644 index 0000000000000000000000000000000000000000..baa0803dbd8c393ab1a1efd48733bf29cc5e7138 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_gex.py @@ -0,0 +1,288 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Variant on `KexGroup1 ` where the prime "p" and +generator "g" are provided by the server. A bit more work is required on the +client side, and a **lot** more on the server side. +""" + +import os +from hashlib import sha1, sha256 + +from paramiko import util +from paramiko.common import DEBUG, byte_chr, byte_ord, byte_mask +from paramiko.message import Message +from paramiko.ssh_exception import SSHException + + +( + _MSG_KEXDH_GEX_REQUEST_OLD, + _MSG_KEXDH_GEX_GROUP, + _MSG_KEXDH_GEX_INIT, + _MSG_KEXDH_GEX_REPLY, + _MSG_KEXDH_GEX_REQUEST, +) = range(30, 35) + +( + c_MSG_KEXDH_GEX_REQUEST_OLD, + c_MSG_KEXDH_GEX_GROUP, + c_MSG_KEXDH_GEX_INIT, + c_MSG_KEXDH_GEX_REPLY, + c_MSG_KEXDH_GEX_REQUEST, +) = [byte_chr(c) for c in range(30, 35)] + + +class KexGex: + + name = "diffie-hellman-group-exchange-sha1" + min_bits = 1024 + max_bits = 8192 + preferred_bits = 2048 + hash_algo = sha1 + + def __init__(self, transport): + self.transport = transport + self.p = None + self.q = None + self.g = None + self.x = None + self.e = None + self.f = None + self.old_style = False + + def start_kex(self, _test_old_style=False): + if self.transport.server_mode: + self.transport._expect_packet( + _MSG_KEXDH_GEX_REQUEST, _MSG_KEXDH_GEX_REQUEST_OLD + ) + return + # request a bit range: we accept (min_bits) to (max_bits), but prefer + # (preferred_bits). according to the spec, we shouldn't pull the + # minimum up above 1024. + m = Message() + if _test_old_style: + # only used for unit tests: we shouldn't ever send this + m.add_byte(c_MSG_KEXDH_GEX_REQUEST_OLD) + m.add_int(self.preferred_bits) + self.old_style = True + else: + m.add_byte(c_MSG_KEXDH_GEX_REQUEST) + m.add_int(self.min_bits) + m.add_int(self.preferred_bits) + m.add_int(self.max_bits) + self.transport._send_message(m) + self.transport._expect_packet(_MSG_KEXDH_GEX_GROUP) + + def parse_next(self, ptype, m): + if ptype == _MSG_KEXDH_GEX_REQUEST: + return self._parse_kexdh_gex_request(m) + elif ptype == _MSG_KEXDH_GEX_GROUP: + return self._parse_kexdh_gex_group(m) + elif ptype == _MSG_KEXDH_GEX_INIT: + return self._parse_kexdh_gex_init(m) + elif ptype == _MSG_KEXDH_GEX_REPLY: + return self._parse_kexdh_gex_reply(m) + elif ptype == _MSG_KEXDH_GEX_REQUEST_OLD: + return self._parse_kexdh_gex_request_old(m) + msg = "KexGex {} asked to handle packet type {:d}" + raise SSHException(msg.format(self.name, ptype)) + + # ...internals... + + def _generate_x(self): + # generate an "x" (1 < x < (p-1)/2). + q = (self.p - 1) // 2 + qnorm = util.deflate_long(q, 0) + qhbyte = byte_ord(qnorm[0]) + byte_count = len(qnorm) + qmask = 0xFF + while not (qhbyte & 0x80): + qhbyte <<= 1 + qmask >>= 1 + while True: + x_bytes = os.urandom(byte_count) + x_bytes = byte_mask(x_bytes[0], qmask) + x_bytes[1:] + x = util.inflate_long(x_bytes, 1) + if (x > 1) and (x < q): + break + self.x = x + + def _parse_kexdh_gex_request(self, m): + minbits = m.get_int() + preferredbits = m.get_int() + maxbits = m.get_int() + # smoosh the user's preferred size into our own limits + if preferredbits > self.max_bits: + preferredbits = self.max_bits + if preferredbits < self.min_bits: + preferredbits = self.min_bits + # fix min/max if they're inconsistent. technically, we could just pout + # and hang up, but there's no harm in giving them the benefit of the + # doubt and just picking a bitsize for them. + if minbits > preferredbits: + minbits = preferredbits + if maxbits < preferredbits: + maxbits = preferredbits + # now save a copy + self.min_bits = minbits + self.preferred_bits = preferredbits + self.max_bits = maxbits + # generate prime + pack = self.transport._get_modulus_pack() + if pack is None: + raise SSHException("Can't do server-side gex with no modulus pack") + self.transport._log( + DEBUG, + "Picking p ({} <= {} <= {} bits)".format( + minbits, preferredbits, maxbits + ), + ) + self.g, self.p = pack.get_modulus(minbits, preferredbits, maxbits) + m = Message() + m.add_byte(c_MSG_KEXDH_GEX_GROUP) + m.add_mpint(self.p) + m.add_mpint(self.g) + self.transport._send_message(m) + self.transport._expect_packet(_MSG_KEXDH_GEX_INIT) + + def _parse_kexdh_gex_request_old(self, m): + # same as above, but without min_bits or max_bits (used by older + # clients like putty) + self.preferred_bits = m.get_int() + # smoosh the user's preferred size into our own limits + if self.preferred_bits > self.max_bits: + self.preferred_bits = self.max_bits + if self.preferred_bits < self.min_bits: + self.preferred_bits = self.min_bits + # generate prime + pack = self.transport._get_modulus_pack() + if pack is None: + raise SSHException("Can't do server-side gex with no modulus pack") + self.transport._log( + DEBUG, "Picking p (~ {} bits)".format(self.preferred_bits) + ) + self.g, self.p = pack.get_modulus( + self.min_bits, self.preferred_bits, self.max_bits + ) + m = Message() + m.add_byte(c_MSG_KEXDH_GEX_GROUP) + m.add_mpint(self.p) + m.add_mpint(self.g) + self.transport._send_message(m) + self.transport._expect_packet(_MSG_KEXDH_GEX_INIT) + self.old_style = True + + def _parse_kexdh_gex_group(self, m): + self.p = m.get_mpint() + self.g = m.get_mpint() + # reject if p's bit length < 1024 or > 8192 + bitlen = util.bit_length(self.p) + if (bitlen < 1024) or (bitlen > 8192): + raise SSHException( + "Server-generated gex p (don't ask) is out of range " + "({} bits)".format(bitlen) + ) + self.transport._log(DEBUG, "Got server p ({} bits)".format(bitlen)) + self._generate_x() + # now compute e = g^x mod p + self.e = pow(self.g, self.x, self.p) + m = Message() + m.add_byte(c_MSG_KEXDH_GEX_INIT) + m.add_mpint(self.e) + self.transport._send_message(m) + self.transport._expect_packet(_MSG_KEXDH_GEX_REPLY) + + def _parse_kexdh_gex_init(self, m): + self.e = m.get_mpint() + if (self.e < 1) or (self.e > self.p - 1): + raise SSHException('Client kex "e" is out of range') + self._generate_x() + self.f = pow(self.g, self.x, self.p) + K = pow(self.e, self.x, self.p) + key = self.transport.get_server_key().asbytes() + # okay, build up the hash H of + # (V_C || V_S || I_C || I_S || K_S || min || n || max || p || g || e || f || K) # noqa + hm = Message() + hm.add( + self.transport.remote_version, + self.transport.local_version, + self.transport.remote_kex_init, + self.transport.local_kex_init, + key, + ) + if not self.old_style: + hm.add_int(self.min_bits) + hm.add_int(self.preferred_bits) + if not self.old_style: + hm.add_int(self.max_bits) + hm.add_mpint(self.p) + hm.add_mpint(self.g) + hm.add_mpint(self.e) + hm.add_mpint(self.f) + hm.add_mpint(K) + H = self.hash_algo(hm.asbytes()).digest() + self.transport._set_K_H(K, H) + # sign it + sig = self.transport.get_server_key().sign_ssh_data( + H, self.transport.host_key_type + ) + # send reply + m = Message() + m.add_byte(c_MSG_KEXDH_GEX_REPLY) + m.add_string(key) + m.add_mpint(self.f) + m.add_string(sig) + self.transport._send_message(m) + self.transport._activate_outbound() + + def _parse_kexdh_gex_reply(self, m): + host_key = m.get_string() + self.f = m.get_mpint() + sig = m.get_string() + if (self.f < 1) or (self.f > self.p - 1): + raise SSHException('Server kex "f" is out of range') + K = pow(self.f, self.x, self.p) + # okay, build up the hash H of + # (V_C || V_S || I_C || I_S || K_S || min || n || max || p || g || e || f || K) # noqa + hm = Message() + hm.add( + self.transport.local_version, + self.transport.remote_version, + self.transport.local_kex_init, + self.transport.remote_kex_init, + host_key, + ) + if not self.old_style: + hm.add_int(self.min_bits) + hm.add_int(self.preferred_bits) + if not self.old_style: + hm.add_int(self.max_bits) + hm.add_mpint(self.p) + hm.add_mpint(self.g) + hm.add_mpint(self.e) + hm.add_mpint(self.f) + hm.add_mpint(K) + self.transport._set_K_H(K, self.hash_algo(hm.asbytes()).digest()) + self.transport._verify_key(host_key, sig) + self.transport._activate_outbound() + + +class KexGexSHA256(KexGex): + name = "diffie-hellman-group-exchange-sha256" + hash_algo = sha256 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group1.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group1.py new file mode 100644 index 0000000000000000000000000000000000000000..f07425666eb69a2861505982fdfd1e9a585c553c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group1.py @@ -0,0 +1,155 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Standard SSH key exchange ("kex" if you wanna sound cool). Diffie-Hellman of +1024 bit key halves, using a known "p" prime and "g" generator. +""" + +import os +from hashlib import sha1 + +from paramiko import util +from paramiko.common import max_byte, zero_byte, byte_chr, byte_mask +from paramiko.message import Message +from paramiko.ssh_exception import SSHException + + +_MSG_KEXDH_INIT, _MSG_KEXDH_REPLY = range(30, 32) +c_MSG_KEXDH_INIT, c_MSG_KEXDH_REPLY = [byte_chr(c) for c in range(30, 32)] + +b7fffffffffffffff = byte_chr(0x7F) + max_byte * 7 +b0000000000000000 = zero_byte * 8 + + +class KexGroup1: + + # draft-ietf-secsh-transport-09.txt, page 17 + P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF # noqa + G = 2 + + name = "diffie-hellman-group1-sha1" + hash_algo = sha1 + + def __init__(self, transport): + self.transport = transport + self.x = 0 + self.e = 0 + self.f = 0 + + def start_kex(self): + self._generate_x() + if self.transport.server_mode: + # compute f = g^x mod p, but don't send it yet + self.f = pow(self.G, self.x, self.P) + self.transport._expect_packet(_MSG_KEXDH_INIT) + return + # compute e = g^x mod p (where g=2), and send it + self.e = pow(self.G, self.x, self.P) + m = Message() + m.add_byte(c_MSG_KEXDH_INIT) + m.add_mpint(self.e) + self.transport._send_message(m) + self.transport._expect_packet(_MSG_KEXDH_REPLY) + + def parse_next(self, ptype, m): + if self.transport.server_mode and (ptype == _MSG_KEXDH_INIT): + return self._parse_kexdh_init(m) + elif not self.transport.server_mode and (ptype == _MSG_KEXDH_REPLY): + return self._parse_kexdh_reply(m) + msg = "KexGroup1 asked to handle packet type {:d}" + raise SSHException(msg.format(ptype)) + + # ...internals... + + def _generate_x(self): + # generate an "x" (1 < x < q), where q is (p-1)/2. + # p is a 128-byte (1024-bit) number, where the first 64 bits are 1. + # therefore q can be approximated as a 2^1023. we drop the subset of + # potential x where the first 63 bits are 1, because some of those + # will be larger than q (but this is a tiny tiny subset of + # potential x). + while 1: + x_bytes = os.urandom(128) + x_bytes = byte_mask(x_bytes[0], 0x7F) + x_bytes[1:] + if ( + x_bytes[:8] != b7fffffffffffffff + and x_bytes[:8] != b0000000000000000 + ): + break + self.x = util.inflate_long(x_bytes) + + def _parse_kexdh_reply(self, m): + # client mode + host_key = m.get_string() + self.f = m.get_mpint() + if (self.f < 1) or (self.f > self.P - 1): + raise SSHException('Server kex "f" is out of range') + sig = m.get_binary() + K = pow(self.f, self.x, self.P) + # okay, build up the hash H of + # (V_C || V_S || I_C || I_S || K_S || e || f || K) + hm = Message() + hm.add( + self.transport.local_version, + self.transport.remote_version, + self.transport.local_kex_init, + self.transport.remote_kex_init, + ) + hm.add_string(host_key) + hm.add_mpint(self.e) + hm.add_mpint(self.f) + hm.add_mpint(K) + self.transport._set_K_H(K, self.hash_algo(hm.asbytes()).digest()) + self.transport._verify_key(host_key, sig) + self.transport._activate_outbound() + + def _parse_kexdh_init(self, m): + # server mode + self.e = m.get_mpint() + if (self.e < 1) or (self.e > self.P - 1): + raise SSHException('Client kex "e" is out of range') + K = pow(self.e, self.x, self.P) + key = self.transport.get_server_key().asbytes() + # okay, build up the hash H of + # (V_C || V_S || I_C || I_S || K_S || e || f || K) + hm = Message() + hm.add( + self.transport.remote_version, + self.transport.local_version, + self.transport.remote_kex_init, + self.transport.local_kex_init, + ) + hm.add_string(key) + hm.add_mpint(self.e) + hm.add_mpint(self.f) + hm.add_mpint(K) + H = self.hash_algo(hm.asbytes()).digest() + self.transport._set_K_H(K, H) + # sign it + sig = self.transport.get_server_key().sign_ssh_data( + H, self.transport.host_key_type + ) + # send reply + m = Message() + m.add_byte(c_MSG_KEXDH_REPLY) + m.add_string(key) + m.add_mpint(self.f) + m.add_string(sig) + self.transport._send_message(m) + self.transport._activate_outbound() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group14.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group14.py new file mode 100644 index 0000000000000000000000000000000000000000..8dee5515969ea056fd506f87fcd1fc998eb75bf4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group14.py @@ -0,0 +1,40 @@ +# Copyright (C) 2013 Torsten Landschoff +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Standard SSH key exchange ("kex" if you wanna sound cool). Diffie-Hellman of +2048 bit key halves, using a known "p" prime and "g" generator. +""" + +from paramiko.kex_group1 import KexGroup1 +from hashlib import sha1, sha256 + + +class KexGroup14(KexGroup1): + + # http://tools.ietf.org/html/rfc3526#section-3 + P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF # noqa + G = 2 + + name = "diffie-hellman-group14-sha1" + hash_algo = sha1 + + +class KexGroup14SHA256(KexGroup14): + name = "diffie-hellman-group14-sha256" + hash_algo = sha256 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group16.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group16.py new file mode 100644 index 0000000000000000000000000000000000000000..c675f8779831b3755125fab535151d9d91be1239 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_group16.py @@ -0,0 +1,35 @@ +# Copyright (C) 2019 Edgar Sousa +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Standard SSH key exchange ("kex" if you wanna sound cool). Diffie-Hellman of +4096 bit key halves, using a known "p" prime and "g" generator. +""" + +from paramiko.kex_group1 import KexGroup1 +from hashlib import sha512 + + +class KexGroup16SHA512(KexGroup1): + name = "diffie-hellman-group16-sha512" + # http://tools.ietf.org/html/rfc3526#section-5 + P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934063199FFFFFFFFFFFFFFFF # noqa + G = 2 + + name = "diffie-hellman-group16-sha512" + hash_algo = sha512 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_gss.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_gss.py new file mode 100644 index 0000000000000000000000000000000000000000..2a5f29e34b15bf41d162e2a2f145d9d796ec7ae9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/kex_gss.py @@ -0,0 +1,686 @@ +# Copyright (C) 2003-2007 Robey Pointer +# Copyright (C) 2013-2014 science + computing ag +# Author: Sebastian Deiss +# +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +""" +This module provides GSS-API / SSPI Key Exchange as defined in :rfc:`4462`. + +.. note:: Credential delegation is not supported in server mode. + +.. note:: + `RFC 4462 Section 2.2 + `_ says we are not + required to implement GSS-API error messages. Thus, in many methods within + this module, if an error occurs an exception will be thrown and the + connection will be terminated. + +.. seealso:: :doc:`/api/ssh_gss` + +.. versionadded:: 1.15 +""" + +import os +from hashlib import sha1 + +from paramiko.common import ( + DEBUG, + max_byte, + zero_byte, + byte_chr, + byte_mask, + byte_ord, +) +from paramiko import util +from paramiko.message import Message +from paramiko.ssh_exception import SSHException + + +( + MSG_KEXGSS_INIT, + MSG_KEXGSS_CONTINUE, + MSG_KEXGSS_COMPLETE, + MSG_KEXGSS_HOSTKEY, + MSG_KEXGSS_ERROR, +) = range(30, 35) +(MSG_KEXGSS_GROUPREQ, MSG_KEXGSS_GROUP) = range(40, 42) +( + c_MSG_KEXGSS_INIT, + c_MSG_KEXGSS_CONTINUE, + c_MSG_KEXGSS_COMPLETE, + c_MSG_KEXGSS_HOSTKEY, + c_MSG_KEXGSS_ERROR, +) = [byte_chr(c) for c in range(30, 35)] +(c_MSG_KEXGSS_GROUPREQ, c_MSG_KEXGSS_GROUP) = [ + byte_chr(c) for c in range(40, 42) +] + + +class KexGSSGroup1: + """ + GSS-API / SSPI Authenticated Diffie-Hellman Key Exchange as defined in `RFC + 4462 Section 2 `_ + """ + + # draft-ietf-secsh-transport-09.txt, page 17 + P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF # noqa + G = 2 + b7fffffffffffffff = byte_chr(0x7F) + max_byte * 7 # noqa + b0000000000000000 = zero_byte * 8 # noqa + NAME = "gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==" + + def __init__(self, transport): + self.transport = transport + self.kexgss = self.transport.kexgss_ctxt + self.gss_host = None + self.x = 0 + self.e = 0 + self.f = 0 + + def start_kex(self): + """ + Start the GSS-API / SSPI Authenticated Diffie-Hellman Key Exchange. + """ + self._generate_x() + if self.transport.server_mode: + # compute f = g^x mod p, but don't send it yet + self.f = pow(self.G, self.x, self.P) + self.transport._expect_packet(MSG_KEXGSS_INIT) + return + # compute e = g^x mod p (where g=2), and send it + self.e = pow(self.G, self.x, self.P) + # Initialize GSS-API Key Exchange + self.gss_host = self.transport.gss_host + m = Message() + m.add_byte(c_MSG_KEXGSS_INIT) + m.add_string(self.kexgss.ssh_init_sec_context(target=self.gss_host)) + m.add_mpint(self.e) + self.transport._send_message(m) + self.transport._expect_packet( + MSG_KEXGSS_HOSTKEY, + MSG_KEXGSS_CONTINUE, + MSG_KEXGSS_COMPLETE, + MSG_KEXGSS_ERROR, + ) + + def parse_next(self, ptype, m): + """ + Parse the next packet. + + :param ptype: The (string) type of the incoming packet + :param `.Message` m: The packet content + """ + if self.transport.server_mode and (ptype == MSG_KEXGSS_INIT): + return self._parse_kexgss_init(m) + elif not self.transport.server_mode and (ptype == MSG_KEXGSS_HOSTKEY): + return self._parse_kexgss_hostkey(m) + elif self.transport.server_mode and (ptype == MSG_KEXGSS_CONTINUE): + return self._parse_kexgss_continue(m) + elif not self.transport.server_mode and (ptype == MSG_KEXGSS_COMPLETE): + return self._parse_kexgss_complete(m) + elif ptype == MSG_KEXGSS_ERROR: + return self._parse_kexgss_error(m) + msg = "GSS KexGroup1 asked to handle packet type {:d}" + raise SSHException(msg.format(ptype)) + + # ## internals... + + def _generate_x(self): + """ + generate an "x" (1 < x < q), where q is (p-1)/2. + p is a 128-byte (1024-bit) number, where the first 64 bits are 1. + therefore q can be approximated as a 2^1023. we drop the subset of + potential x where the first 63 bits are 1, because some of those will + be larger than q (but this is a tiny tiny subset of potential x). + """ + while 1: + x_bytes = os.urandom(128) + x_bytes = byte_mask(x_bytes[0], 0x7F) + x_bytes[1:] + first = x_bytes[:8] + if first not in (self.b7fffffffffffffff, self.b0000000000000000): + break + self.x = util.inflate_long(x_bytes) + + def _parse_kexgss_hostkey(self, m): + """ + Parse the SSH2_MSG_KEXGSS_HOSTKEY message (client mode). + + :param `.Message` m: The content of the SSH2_MSG_KEXGSS_HOSTKEY message + """ + # client mode + host_key = m.get_string() + self.transport.host_key = host_key + sig = m.get_string() + self.transport._verify_key(host_key, sig) + self.transport._expect_packet(MSG_KEXGSS_CONTINUE, MSG_KEXGSS_COMPLETE) + + def _parse_kexgss_continue(self, m): + """ + Parse the SSH2_MSG_KEXGSS_CONTINUE message. + + :param `.Message` m: The content of the SSH2_MSG_KEXGSS_CONTINUE + message + """ + if not self.transport.server_mode: + srv_token = m.get_string() + m = Message() + m.add_byte(c_MSG_KEXGSS_CONTINUE) + m.add_string( + self.kexgss.ssh_init_sec_context( + target=self.gss_host, recv_token=srv_token + ) + ) + self.transport.send_message(m) + self.transport._expect_packet( + MSG_KEXGSS_CONTINUE, MSG_KEXGSS_COMPLETE, MSG_KEXGSS_ERROR + ) + else: + pass + + def _parse_kexgss_complete(self, m): + """ + Parse the SSH2_MSG_KEXGSS_COMPLETE message (client mode). + + :param `.Message` m: The content of the + SSH2_MSG_KEXGSS_COMPLETE message + """ + # client mode + if self.transport.host_key is None: + self.transport.host_key = NullHostKey() + self.f = m.get_mpint() + if (self.f < 1) or (self.f > self.P - 1): + raise SSHException('Server kex "f" is out of range') + mic_token = m.get_string() + # This must be TRUE, if there is a GSS-API token in this message. + bool = m.get_boolean() + srv_token = None + if bool: + srv_token = m.get_string() + K = pow(self.f, self.x, self.P) + # okay, build up the hash H of + # (V_C || V_S || I_C || I_S || K_S || e || f || K) + hm = Message() + hm.add( + self.transport.local_version, + self.transport.remote_version, + self.transport.local_kex_init, + self.transport.remote_kex_init, + ) + hm.add_string(self.transport.host_key.__str__()) + hm.add_mpint(self.e) + hm.add_mpint(self.f) + hm.add_mpint(K) + H = sha1(str(hm)).digest() + self.transport._set_K_H(K, H) + if srv_token is not None: + self.kexgss.ssh_init_sec_context( + target=self.gss_host, recv_token=srv_token + ) + self.kexgss.ssh_check_mic(mic_token, H) + else: + self.kexgss.ssh_check_mic(mic_token, H) + self.transport.gss_kex_used = True + self.transport._activate_outbound() + + def _parse_kexgss_init(self, m): + """ + Parse the SSH2_MSG_KEXGSS_INIT message (server mode). + + :param `.Message` m: The content of the SSH2_MSG_KEXGSS_INIT message + """ + # server mode + client_token = m.get_string() + self.e = m.get_mpint() + if (self.e < 1) or (self.e > self.P - 1): + raise SSHException('Client kex "e" is out of range') + K = pow(self.e, self.x, self.P) + self.transport.host_key = NullHostKey() + key = self.transport.host_key.__str__() + # okay, build up the hash H of + # (V_C || V_S || I_C || I_S || K_S || e || f || K) + hm = Message() + hm.add( + self.transport.remote_version, + self.transport.local_version, + self.transport.remote_kex_init, + self.transport.local_kex_init, + ) + hm.add_string(key) + hm.add_mpint(self.e) + hm.add_mpint(self.f) + hm.add_mpint(K) + H = sha1(hm.asbytes()).digest() + self.transport._set_K_H(K, H) + srv_token = self.kexgss.ssh_accept_sec_context( + self.gss_host, client_token + ) + m = Message() + if self.kexgss._gss_srv_ctxt_status: + mic_token = self.kexgss.ssh_get_mic( + self.transport.session_id, gss_kex=True + ) + m.add_byte(c_MSG_KEXGSS_COMPLETE) + m.add_mpint(self.f) + m.add_string(mic_token) + if srv_token is not None: + m.add_boolean(True) + m.add_string(srv_token) + else: + m.add_boolean(False) + self.transport._send_message(m) + self.transport.gss_kex_used = True + self.transport._activate_outbound() + else: + m.add_byte(c_MSG_KEXGSS_CONTINUE) + m.add_string(srv_token) + self.transport._send_message(m) + self.transport._expect_packet( + MSG_KEXGSS_CONTINUE, MSG_KEXGSS_COMPLETE, MSG_KEXGSS_ERROR + ) + + def _parse_kexgss_error(self, m): + """ + Parse the SSH2_MSG_KEXGSS_ERROR message (client mode). + The server may send a GSS-API error message. if it does, we display + the error by throwing an exception (client mode). + + :param `.Message` m: The content of the SSH2_MSG_KEXGSS_ERROR message + :raise SSHException: Contains GSS-API major and minor status as well as + the error message and the language tag of the + message + """ + maj_status = m.get_int() + min_status = m.get_int() + err_msg = m.get_string() + m.get_string() # we don't care about the language! + raise SSHException( + """GSS-API Error: +Major Status: {} +Minor Status: {} +Error Message: {} +""".format( + maj_status, min_status, err_msg + ) + ) + + +class KexGSSGroup14(KexGSSGroup1): + """ + GSS-API / SSPI Authenticated Diffie-Hellman Group14 Key Exchange as defined + in `RFC 4462 Section 2 + `_ + """ + + P = 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF # noqa + G = 2 + NAME = "gss-group14-sha1-toWM5Slw5Ew8Mqkay+al2g==" + + +class KexGSSGex: + """ + GSS-API / SSPI Authenticated Diffie-Hellman Group Exchange as defined in + `RFC 4462 Section 2 `_ + """ + + NAME = "gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==" + min_bits = 1024 + max_bits = 8192 + preferred_bits = 2048 + + def __init__(self, transport): + self.transport = transport + self.kexgss = self.transport.kexgss_ctxt + self.gss_host = None + self.p = None + self.q = None + self.g = None + self.x = None + self.e = None + self.f = None + self.old_style = False + + def start_kex(self): + """ + Start the GSS-API / SSPI Authenticated Diffie-Hellman Group Exchange + """ + if self.transport.server_mode: + self.transport._expect_packet(MSG_KEXGSS_GROUPREQ) + return + # request a bit range: we accept (min_bits) to (max_bits), but prefer + # (preferred_bits). according to the spec, we shouldn't pull the + # minimum up above 1024. + self.gss_host = self.transport.gss_host + m = Message() + m.add_byte(c_MSG_KEXGSS_GROUPREQ) + m.add_int(self.min_bits) + m.add_int(self.preferred_bits) + m.add_int(self.max_bits) + self.transport._send_message(m) + self.transport._expect_packet(MSG_KEXGSS_GROUP) + + def parse_next(self, ptype, m): + """ + Parse the next packet. + + :param ptype: The (string) type of the incoming packet + :param `.Message` m: The packet content + """ + if ptype == MSG_KEXGSS_GROUPREQ: + return self._parse_kexgss_groupreq(m) + elif ptype == MSG_KEXGSS_GROUP: + return self._parse_kexgss_group(m) + elif ptype == MSG_KEXGSS_INIT: + return self._parse_kexgss_gex_init(m) + elif ptype == MSG_KEXGSS_HOSTKEY: + return self._parse_kexgss_hostkey(m) + elif ptype == MSG_KEXGSS_CONTINUE: + return self._parse_kexgss_continue(m) + elif ptype == MSG_KEXGSS_COMPLETE: + return self._parse_kexgss_complete(m) + elif ptype == MSG_KEXGSS_ERROR: + return self._parse_kexgss_error(m) + msg = "KexGex asked to handle packet type {:d}" + raise SSHException(msg.format(ptype)) + + # ## internals... + + def _generate_x(self): + # generate an "x" (1 < x < (p-1)/2). + q = (self.p - 1) // 2 + qnorm = util.deflate_long(q, 0) + qhbyte = byte_ord(qnorm[0]) + byte_count = len(qnorm) + qmask = 0xFF + while not (qhbyte & 0x80): + qhbyte <<= 1 + qmask >>= 1 + while True: + x_bytes = os.urandom(byte_count) + x_bytes = byte_mask(x_bytes[0], qmask) + x_bytes[1:] + x = util.inflate_long(x_bytes, 1) + if (x > 1) and (x < q): + break + self.x = x + + def _parse_kexgss_groupreq(self, m): + """ + Parse the SSH2_MSG_KEXGSS_GROUPREQ message (server mode). + + :param `.Message` m: The content of the + SSH2_MSG_KEXGSS_GROUPREQ message + """ + minbits = m.get_int() + preferredbits = m.get_int() + maxbits = m.get_int() + # smoosh the user's preferred size into our own limits + if preferredbits > self.max_bits: + preferredbits = self.max_bits + if preferredbits < self.min_bits: + preferredbits = self.min_bits + # fix min/max if they're inconsistent. technically, we could just pout + # and hang up, but there's no harm in giving them the benefit of the + # doubt and just picking a bitsize for them. + if minbits > preferredbits: + minbits = preferredbits + if maxbits < preferredbits: + maxbits = preferredbits + # now save a copy + self.min_bits = minbits + self.preferred_bits = preferredbits + self.max_bits = maxbits + # generate prime + pack = self.transport._get_modulus_pack() + if pack is None: + raise SSHException("Can't do server-side gex with no modulus pack") + self.transport._log( + DEBUG, # noqa + "Picking p ({} <= {} <= {} bits)".format( + minbits, preferredbits, maxbits + ), + ) + self.g, self.p = pack.get_modulus(minbits, preferredbits, maxbits) + m = Message() + m.add_byte(c_MSG_KEXGSS_GROUP) + m.add_mpint(self.p) + m.add_mpint(self.g) + self.transport._send_message(m) + self.transport._expect_packet(MSG_KEXGSS_INIT) + + def _parse_kexgss_group(self, m): + """ + Parse the SSH2_MSG_KEXGSS_GROUP message (client mode). + + :param `Message` m: The content of the SSH2_MSG_KEXGSS_GROUP message + """ + self.p = m.get_mpint() + self.g = m.get_mpint() + # reject if p's bit length < 1024 or > 8192 + bitlen = util.bit_length(self.p) + if (bitlen < 1024) or (bitlen > 8192): + raise SSHException( + "Server-generated gex p (don't ask) is out of range " + "({} bits)".format(bitlen) + ) + self.transport._log( + DEBUG, "Got server p ({} bits)".format(bitlen) + ) # noqa + self._generate_x() + # now compute e = g^x mod p + self.e = pow(self.g, self.x, self.p) + m = Message() + m.add_byte(c_MSG_KEXGSS_INIT) + m.add_string(self.kexgss.ssh_init_sec_context(target=self.gss_host)) + m.add_mpint(self.e) + self.transport._send_message(m) + self.transport._expect_packet( + MSG_KEXGSS_HOSTKEY, + MSG_KEXGSS_CONTINUE, + MSG_KEXGSS_COMPLETE, + MSG_KEXGSS_ERROR, + ) + + def _parse_kexgss_gex_init(self, m): + """ + Parse the SSH2_MSG_KEXGSS_INIT message (server mode). + + :param `Message` m: The content of the SSH2_MSG_KEXGSS_INIT message + """ + client_token = m.get_string() + self.e = m.get_mpint() + if (self.e < 1) or (self.e > self.p - 1): + raise SSHException('Client kex "e" is out of range') + self._generate_x() + self.f = pow(self.g, self.x, self.p) + K = pow(self.e, self.x, self.p) + self.transport.host_key = NullHostKey() + key = self.transport.host_key.__str__() + # okay, build up the hash H of + # (V_C || V_S || I_C || I_S || K_S || min || n || max || p || g || e || f || K) # noqa + hm = Message() + hm.add( + self.transport.remote_version, + self.transport.local_version, + self.transport.remote_kex_init, + self.transport.local_kex_init, + key, + ) + hm.add_int(self.min_bits) + hm.add_int(self.preferred_bits) + hm.add_int(self.max_bits) + hm.add_mpint(self.p) + hm.add_mpint(self.g) + hm.add_mpint(self.e) + hm.add_mpint(self.f) + hm.add_mpint(K) + H = sha1(hm.asbytes()).digest() + self.transport._set_K_H(K, H) + srv_token = self.kexgss.ssh_accept_sec_context( + self.gss_host, client_token + ) + m = Message() + if self.kexgss._gss_srv_ctxt_status: + mic_token = self.kexgss.ssh_get_mic( + self.transport.session_id, gss_kex=True + ) + m.add_byte(c_MSG_KEXGSS_COMPLETE) + m.add_mpint(self.f) + m.add_string(mic_token) + if srv_token is not None: + m.add_boolean(True) + m.add_string(srv_token) + else: + m.add_boolean(False) + self.transport._send_message(m) + self.transport.gss_kex_used = True + self.transport._activate_outbound() + else: + m.add_byte(c_MSG_KEXGSS_CONTINUE) + m.add_string(srv_token) + self.transport._send_message(m) + self.transport._expect_packet( + MSG_KEXGSS_CONTINUE, MSG_KEXGSS_COMPLETE, MSG_KEXGSS_ERROR + ) + + def _parse_kexgss_hostkey(self, m): + """ + Parse the SSH2_MSG_KEXGSS_HOSTKEY message (client mode). + + :param `Message` m: The content of the SSH2_MSG_KEXGSS_HOSTKEY message + """ + # client mode + host_key = m.get_string() + self.transport.host_key = host_key + sig = m.get_string() + self.transport._verify_key(host_key, sig) + self.transport._expect_packet(MSG_KEXGSS_CONTINUE, MSG_KEXGSS_COMPLETE) + + def _parse_kexgss_continue(self, m): + """ + Parse the SSH2_MSG_KEXGSS_CONTINUE message. + + :param `Message` m: The content of the SSH2_MSG_KEXGSS_CONTINUE message + """ + if not self.transport.server_mode: + srv_token = m.get_string() + m = Message() + m.add_byte(c_MSG_KEXGSS_CONTINUE) + m.add_string( + self.kexgss.ssh_init_sec_context( + target=self.gss_host, recv_token=srv_token + ) + ) + self.transport.send_message(m) + self.transport._expect_packet( + MSG_KEXGSS_CONTINUE, MSG_KEXGSS_COMPLETE, MSG_KEXGSS_ERROR + ) + else: + pass + + def _parse_kexgss_complete(self, m): + """ + Parse the SSH2_MSG_KEXGSS_COMPLETE message (client mode). + + :param `Message` m: The content of the SSH2_MSG_KEXGSS_COMPLETE message + """ + if self.transport.host_key is None: + self.transport.host_key = NullHostKey() + self.f = m.get_mpint() + mic_token = m.get_string() + # This must be TRUE, if there is a GSS-API token in this message. + bool = m.get_boolean() + srv_token = None + if bool: + srv_token = m.get_string() + if (self.f < 1) or (self.f > self.p - 1): + raise SSHException('Server kex "f" is out of range') + K = pow(self.f, self.x, self.p) + # okay, build up the hash H of + # (V_C || V_S || I_C || I_S || K_S || min || n || max || p || g || e || f || K) # noqa + hm = Message() + hm.add( + self.transport.local_version, + self.transport.remote_version, + self.transport.local_kex_init, + self.transport.remote_kex_init, + self.transport.host_key.__str__(), + ) + if not self.old_style: + hm.add_int(self.min_bits) + hm.add_int(self.preferred_bits) + if not self.old_style: + hm.add_int(self.max_bits) + hm.add_mpint(self.p) + hm.add_mpint(self.g) + hm.add_mpint(self.e) + hm.add_mpint(self.f) + hm.add_mpint(K) + H = sha1(hm.asbytes()).digest() + self.transport._set_K_H(K, H) + if srv_token is not None: + self.kexgss.ssh_init_sec_context( + target=self.gss_host, recv_token=srv_token + ) + self.kexgss.ssh_check_mic(mic_token, H) + else: + self.kexgss.ssh_check_mic(mic_token, H) + self.transport.gss_kex_used = True + self.transport._activate_outbound() + + def _parse_kexgss_error(self, m): + """ + Parse the SSH2_MSG_KEXGSS_ERROR message (client mode). + The server may send a GSS-API error message. if it does, we display + the error by throwing an exception (client mode). + + :param `Message` m: The content of the SSH2_MSG_KEXGSS_ERROR message + :raise SSHException: Contains GSS-API major and minor status as well as + the error message and the language tag of the + message + """ + maj_status = m.get_int() + min_status = m.get_int() + err_msg = m.get_string() + m.get_string() # we don't care about the language (lang_tag)! + raise SSHException( + """GSS-API Error: +Major Status: {} +Minor Status: {} +Error Message: {} +""".format( + maj_status, min_status, err_msg + ) + ) + + +class NullHostKey: + """ + This class represents the Null Host Key for GSS-API Key Exchange as defined + in `RFC 4462 Section 5 + `_ + """ + + def __init__(self): + self.key = "" + + def __str__(self): + return self.key + + def get_name(self): + return self.key diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/message.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/message.py new file mode 100644 index 0000000000000000000000000000000000000000..8c2b3bd0b396f74e9dd163300e427410f31a3b8f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/message.py @@ -0,0 +1,318 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Implementation of an SSH2 "message". +""" + +import struct +from io import BytesIO + +from paramiko import util +from paramiko.common import zero_byte, max_byte, one_byte +from paramiko.util import u + + +class Message: + """ + An SSH2 message is a stream of bytes that encodes some combination of + strings, integers, bools, and infinite-precision integers. This class + builds or breaks down such a byte stream. + + Normally you don't need to deal with anything this low-level, but it's + exposed for people implementing custom extensions, or features that + paramiko doesn't support yet. + """ + + big_int = 0xFF000000 + + def __init__(self, content=None): + """ + Create a new SSH2 message. + + :param bytes content: + the byte stream to use as the message content (passed in only when + decomposing a message). + """ + if content is not None: + self.packet = BytesIO(content) + else: + self.packet = BytesIO() + + def __bytes__(self): + return self.asbytes() + + def __repr__(self): + """ + Returns a string representation of this object, for debugging. + """ + return "paramiko.Message(" + repr(self.packet.getvalue()) + ")" + + # TODO 4.0: just merge into __bytes__ (everywhere) + def asbytes(self): + """ + Return the byte stream content of this Message, as a `bytes`. + """ + return self.packet.getvalue() + + def rewind(self): + """ + Rewind the message to the beginning as if no items had been parsed + out of it yet. + """ + self.packet.seek(0) + + def get_remainder(self): + """ + Return the `bytes` of this message that haven't already been parsed and + returned. + """ + position = self.packet.tell() + remainder = self.packet.read() + self.packet.seek(position) + return remainder + + def get_so_far(self): + """ + Returns the `bytes` of this message that have been parsed and + returned. The string passed into a message's constructor can be + regenerated by concatenating ``get_so_far`` and `get_remainder`. + """ + position = self.packet.tell() + self.rewind() + return self.packet.read(position) + + def get_bytes(self, n): + """ + Return the next ``n`` bytes of the message, without decomposing into an + int, decoded string, etc. Just the raw bytes are returned. Returns a + string of ``n`` zero bytes if there weren't ``n`` bytes remaining in + the message. + """ + b = self.packet.read(n) + max_pad_size = 1 << 20 # Limit padding to 1 MB + if len(b) < n < max_pad_size: + return b + zero_byte * (n - len(b)) + return b + + def get_byte(self): + """ + Return the next byte of the message, without decomposing it. This + is equivalent to `get_bytes(1) `. + + :return: + the next (`bytes`) byte of the message, or ``b'\000'`` if there + aren't any bytes remaining. + """ + return self.get_bytes(1) + + def get_boolean(self): + """ + Fetch a boolean from the stream. + """ + b = self.get_bytes(1) + return b != zero_byte + + def get_adaptive_int(self): + """ + Fetch an int from the stream. + + :return: a 32-bit unsigned `int`. + """ + byte = self.get_bytes(1) + if byte == max_byte: + return util.inflate_long(self.get_binary()) + byte += self.get_bytes(3) + return struct.unpack(">I", byte)[0] + + def get_int(self): + """ + Fetch an int from the stream. + """ + return struct.unpack(">I", self.get_bytes(4))[0] + + def get_int64(self): + """ + Fetch a 64-bit int from the stream. + + :return: a 64-bit unsigned integer (`int`). + """ + return struct.unpack(">Q", self.get_bytes(8))[0] + + def get_mpint(self): + """ + Fetch a long int (mpint) from the stream. + + :return: an arbitrary-length integer (`int`). + """ + return util.inflate_long(self.get_binary()) + + # TODO 4.0: depending on where this is used internally or downstream, force + # users to specify get_binary instead and delete this. + def get_string(self): + """ + Fetch a "string" from the stream. This will actually be a `bytes` + object, and may contain unprintable characters. (It's not unheard of + for a string to contain another byte-stream message.) + """ + return self.get_bytes(self.get_int()) + + # TODO 4.0: also consider having this take over the get_string name, and + # remove this name instead. + def get_text(self): + """ + Fetch a Unicode string from the stream. + + This currently operates by attempting to encode the next "string" as + ``utf-8``. + """ + return u(self.get_string()) + + def get_binary(self): + """ + Alias for `get_string` (obtains a bytestring). + """ + return self.get_bytes(self.get_int()) + + def get_list(self): + """ + Fetch a list of `strings ` from the stream. + + These are trivially encoded as comma-separated values in a string. + """ + return self.get_text().split(",") + + def add_bytes(self, b): + """ + Write bytes to the stream, without any formatting. + + :param bytes b: bytes to add + """ + self.packet.write(b) + return self + + def add_byte(self, b): + """ + Write a single byte to the stream, without any formatting. + + :param bytes b: byte to add + """ + self.packet.write(b) + return self + + def add_boolean(self, b): + """ + Add a boolean value to the stream. + + :param bool b: boolean value to add + """ + if b: + self.packet.write(one_byte) + else: + self.packet.write(zero_byte) + return self + + def add_int(self, n): + """ + Add an integer to the stream. + + :param int n: integer to add + """ + self.packet.write(struct.pack(">I", n)) + return self + + def add_adaptive_int(self, n): + """ + Add an integer to the stream. + + :param int n: integer to add + """ + if n >= Message.big_int: + self.packet.write(max_byte) + self.add_string(util.deflate_long(n)) + else: + self.packet.write(struct.pack(">I", n)) + return self + + def add_int64(self, n): + """ + Add a 64-bit int to the stream. + + :param int n: long int to add + """ + self.packet.write(struct.pack(">Q", n)) + return self + + def add_mpint(self, z): + """ + Add a long int to the stream, encoded as an infinite-precision + integer. This method only works on positive numbers. + + :param int z: long int to add + """ + self.add_string(util.deflate_long(z)) + return self + + # TODO: see the TODO for get_string/get_text/et al, this should change + # to match. + def add_string(self, s): + """ + Add a bytestring to the stream. + + :param byte s: bytestring to add + """ + s = util.asbytes(s) + self.add_int(len(s)) + self.packet.write(s) + return self + + def add_list(self, l): # noqa: E741 + """ + Add a list of strings to the stream. They are encoded identically to + a single string of values separated by commas. (Yes, really, that's + how SSH2 does it.) + + :param l: list of strings to add + """ + self.add_string(",".join(l)) + return self + + def _add(self, i): + if type(i) is bool: + return self.add_boolean(i) + elif isinstance(i, int): + return self.add_adaptive_int(i) + elif type(i) is list: + return self.add_list(i) + else: + return self.add_string(i) + + # TODO: this would never have worked for unicode strings under Python 3, + # guessing nobody/nothing ever used it for that purpose? + def add(self, *seq): + """ + Add a sequence of items to the stream. The values are encoded based + on their type: bytes, str, int, bool, or list. + + .. warning:: + Longs are encoded non-deterministically. Don't use this method. + + :param seq: the sequence of items + """ + for item in seq: + self._add(item) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/packet.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/packet.py new file mode 100644 index 0000000000000000000000000000000000000000..e40355e3900fc41d9b4e5c1ffd44c861c4e4e6ac --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/packet.py @@ -0,0 +1,634 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Packet handling +""" + +import errno +import os +import socket +import struct +import threading +import time +from hmac import HMAC + +from paramiko import util +from paramiko.common import ( + linefeed_byte, + cr_byte_value, + MSG_NAMES, + DEBUG, + xffffffff, + zero_byte, + byte_ord, +) +from paramiko.util import u +from paramiko.ssh_exception import SSHException, ProxyCommandFailure +from paramiko.message import Message + + +def compute_hmac(key, message, digest_class): + return HMAC(key, message, digest_class).digest() + + +class NeedRekeyException(Exception): + """ + Exception indicating a rekey is needed. + """ + + pass + + +def first_arg(e): + arg = None + if type(e.args) is tuple and len(e.args) > 0: + arg = e.args[0] + return arg + + +class Packetizer: + """ + Implementation of the base SSH packet protocol. + """ + + # READ the secsh RFC's before raising these values. if anything, + # they should probably be lower. + REKEY_PACKETS = pow(2, 29) + REKEY_BYTES = pow(2, 29) + + # Allow receiving this many packets after a re-key request before + # terminating + REKEY_PACKETS_OVERFLOW_MAX = pow(2, 29) + # Allow receiving this many bytes after a re-key request before terminating + REKEY_BYTES_OVERFLOW_MAX = pow(2, 29) + + def __init__(self, socket): + self.__socket = socket + self.__logger = None + self.__closed = False + self.__dump_packets = False + self.__need_rekey = False + self.__init_count = 0 + self.__remainder = bytes() + + # used for noticing when to re-key: + self.__sent_bytes = 0 + self.__sent_packets = 0 + self.__received_bytes = 0 + self.__received_packets = 0 + self.__received_bytes_overflow = 0 + self.__received_packets_overflow = 0 + + # current inbound/outbound ciphering: + self.__block_size_out = 8 + self.__block_size_in = 8 + self.__mac_size_out = 0 + self.__mac_size_in = 0 + self.__block_engine_out = None + self.__block_engine_in = None + self.__sdctr_out = False + self.__mac_engine_out = None + self.__mac_engine_in = None + self.__mac_key_out = bytes() + self.__mac_key_in = bytes() + self.__compress_engine_out = None + self.__compress_engine_in = None + self.__sequence_number_out = 0 + self.__sequence_number_in = 0 + self.__etm_out = False + self.__etm_in = False + + # lock around outbound writes (packet computation) + self.__write_lock = threading.RLock() + + # keepalives: + self.__keepalive_interval = 0 + self.__keepalive_last = time.time() + self.__keepalive_callback = None + + self.__timer = None + self.__handshake_complete = False + self.__timer_expired = False + + @property + def closed(self): + return self.__closed + + def set_log(self, log): + """ + Set the Python log object to use for logging. + """ + self.__logger = log + + def set_outbound_cipher( + self, + block_engine, + block_size, + mac_engine, + mac_size, + mac_key, + sdctr=False, + etm=False, + ): + """ + Switch outbound data cipher. + :param etm: Set encrypt-then-mac from OpenSSH + """ + self.__block_engine_out = block_engine + self.__sdctr_out = sdctr + self.__block_size_out = block_size + self.__mac_engine_out = mac_engine + self.__mac_size_out = mac_size + self.__mac_key_out = mac_key + self.__sent_bytes = 0 + self.__sent_packets = 0 + self.__etm_out = etm + # wait until the reset happens in both directions before clearing + # rekey flag + self.__init_count |= 1 + if self.__init_count == 3: + self.__init_count = 0 + self.__need_rekey = False + + def set_inbound_cipher( + self, + block_engine, + block_size, + mac_engine, + mac_size, + mac_key, + etm=False, + ): + """ + Switch inbound data cipher. + :param etm: Set encrypt-then-mac from OpenSSH + """ + self.__block_engine_in = block_engine + self.__block_size_in = block_size + self.__mac_engine_in = mac_engine + self.__mac_size_in = mac_size + self.__mac_key_in = mac_key + self.__received_bytes = 0 + self.__received_packets = 0 + self.__received_bytes_overflow = 0 + self.__received_packets_overflow = 0 + self.__etm_in = etm + # wait until the reset happens in both directions before clearing + # rekey flag + self.__init_count |= 2 + if self.__init_count == 3: + self.__init_count = 0 + self.__need_rekey = False + + def set_outbound_compressor(self, compressor): + self.__compress_engine_out = compressor + + def set_inbound_compressor(self, compressor): + self.__compress_engine_in = compressor + + def close(self): + self.__closed = True + self.__socket.close() + + def set_hexdump(self, hexdump): + self.__dump_packets = hexdump + + def get_hexdump(self): + return self.__dump_packets + + def get_mac_size_in(self): + return self.__mac_size_in + + def get_mac_size_out(self): + return self.__mac_size_out + + def need_rekey(self): + """ + Returns ``True`` if a new set of keys needs to be negotiated. This + will be triggered during a packet read or write, so it should be + checked after every read or write, or at least after every few. + """ + return self.__need_rekey + + def set_keepalive(self, interval, callback): + """ + Turn on/off the callback keepalive. If ``interval`` seconds pass with + no data read from or written to the socket, the callback will be + executed and the timer will be reset. + """ + self.__keepalive_interval = interval + self.__keepalive_callback = callback + self.__keepalive_last = time.time() + + def read_timer(self): + self.__timer_expired = True + + def start_handshake(self, timeout): + """ + Tells `Packetizer` that the handshake process started. + Starts a book keeping timer that can signal a timeout in the + handshake process. + + :param float timeout: amount of seconds to wait before timing out + """ + if not self.__timer: + self.__timer = threading.Timer(float(timeout), self.read_timer) + self.__timer.start() + + def handshake_timed_out(self): + """ + Checks if the handshake has timed out. + + If `start_handshake` wasn't called before the call to this function, + the return value will always be `False`. If the handshake completed + before a timeout was reached, the return value will be `False` + + :return: handshake time out status, as a `bool` + """ + if not self.__timer: + return False + if self.__handshake_complete: + return False + return self.__timer_expired + + def complete_handshake(self): + """ + Tells `Packetizer` that the handshake has completed. + """ + if self.__timer: + self.__timer.cancel() + self.__timer_expired = False + self.__handshake_complete = True + + def read_all(self, n, check_rekey=False): + """ + Read as close to N bytes as possible, blocking as long as necessary. + + :param int n: number of bytes to read + :return: the data read, as a `str` + + :raises: + ``EOFError`` -- if the socket was closed before all the bytes could + be read + """ + out = bytes() + # handle over-reading from reading the banner line + if len(self.__remainder) > 0: + out = self.__remainder[:n] + self.__remainder = self.__remainder[n:] + n -= len(out) + while n > 0: + got_timeout = False + if self.handshake_timed_out(): + raise EOFError() + try: + x = self.__socket.recv(n) + if len(x) == 0: + raise EOFError() + out += x + n -= len(x) + except socket.timeout: + got_timeout = True + except socket.error as e: + # on Linux, sometimes instead of socket.timeout, we get + # EAGAIN. this is a bug in recent (> 2.6.9) kernels but + # we need to work around it. + arg = first_arg(e) + if arg == errno.EAGAIN: + got_timeout = True + elif self.__closed: + raise EOFError() + else: + raise + if got_timeout: + if self.__closed: + raise EOFError() + if check_rekey and (len(out) == 0) and self.__need_rekey: + raise NeedRekeyException() + self._check_keepalive() + return out + + def write_all(self, out): + self.__keepalive_last = time.time() + iteration_with_zero_as_return_value = 0 + while len(out) > 0: + retry_write = False + try: + n = self.__socket.send(out) + except socket.timeout: + retry_write = True + except socket.error as e: + arg = first_arg(e) + if arg == errno.EAGAIN: + retry_write = True + else: + n = -1 + except ProxyCommandFailure: + raise # so it doesn't get swallowed by the below catchall + except Exception: + # could be: (32, 'Broken pipe') + n = -1 + if retry_write: + n = 0 + if self.__closed: + n = -1 + else: + if n == 0 and iteration_with_zero_as_return_value > 10: + # We shouldn't retry the write, but we didn't + # manage to send anything over the socket. This might be an + # indication that we have lost contact with the remote + # side, but are yet to receive an EOFError or other socket + # errors. Let's give it some iteration to try and catch up. + n = -1 + iteration_with_zero_as_return_value += 1 + if n < 0: + raise EOFError() + if n == len(out): + break + out = out[n:] + return + + def readline(self, timeout): + """ + Read a line from the socket. We assume no data is pending after the + line, so it's okay to attempt large reads. + """ + buf = self.__remainder + while linefeed_byte not in buf: + buf += self._read_timeout(timeout) + n = buf.index(linefeed_byte) + self.__remainder = buf[n + 1 :] + buf = buf[:n] + if (len(buf) > 0) and (buf[-1] == cr_byte_value): + buf = buf[:-1] + return u(buf) + + def send_message(self, data): + """ + Write a block of data using the current cipher, as an SSH block. + """ + # encrypt this sucka + data = data.asbytes() + cmd = byte_ord(data[0]) + if cmd in MSG_NAMES: + cmd_name = MSG_NAMES[cmd] + else: + cmd_name = "${:x}".format(cmd) + orig_len = len(data) + self.__write_lock.acquire() + try: + if self.__compress_engine_out is not None: + data = self.__compress_engine_out(data) + packet = self._build_packet(data) + if self.__dump_packets: + self._log( + DEBUG, + "Write packet <{}>, length {}".format(cmd_name, orig_len), + ) + self._log(DEBUG, util.format_binary(packet, "OUT: ")) + if self.__block_engine_out is not None: + if self.__etm_out: + # packet length is not encrypted in EtM + out = packet[0:4] + self.__block_engine_out.update( + packet[4:] + ) + else: + out = self.__block_engine_out.update(packet) + else: + out = packet + # + mac + if self.__block_engine_out is not None: + packed = struct.pack(">I", self.__sequence_number_out) + payload = packed + (out if self.__etm_out else packet) + out += compute_hmac( + self.__mac_key_out, payload, self.__mac_engine_out + )[: self.__mac_size_out] + self.__sequence_number_out = ( + self.__sequence_number_out + 1 + ) & xffffffff + self.write_all(out) + + self.__sent_bytes += len(out) + self.__sent_packets += 1 + sent_too_much = ( + self.__sent_packets >= self.REKEY_PACKETS + or self.__sent_bytes >= self.REKEY_BYTES + ) + if sent_too_much and not self.__need_rekey: + # only ask once for rekeying + msg = "Rekeying (hit {} packets, {} bytes sent)" + self._log( + DEBUG, msg.format(self.__sent_packets, self.__sent_bytes) + ) + self.__received_bytes_overflow = 0 + self.__received_packets_overflow = 0 + self._trigger_rekey() + finally: + self.__write_lock.release() + + def read_message(self): + """ + Only one thread should ever be in this function (no other locking is + done). + + :raises: `.SSHException` -- if the packet is mangled + :raises: `.NeedRekeyException` -- if the transport should rekey + """ + header = self.read_all(self.__block_size_in, check_rekey=True) + if self.__etm_in: + packet_size = struct.unpack(">I", header[:4])[0] + remaining = packet_size - self.__block_size_in + 4 + packet = header[4:] + self.read_all(remaining, check_rekey=False) + mac = self.read_all(self.__mac_size_in, check_rekey=False) + mac_payload = ( + struct.pack(">II", self.__sequence_number_in, packet_size) + + packet + ) + my_mac = compute_hmac( + self.__mac_key_in, mac_payload, self.__mac_engine_in + )[: self.__mac_size_in] + if not util.constant_time_bytes_eq(my_mac, mac): + raise SSHException("Mismatched MAC") + header = packet + + if self.__block_engine_in is not None: + header = self.__block_engine_in.update(header) + if self.__dump_packets: + self._log(DEBUG, util.format_binary(header, "IN: ")) + + # When ETM is in play, we've already read the packet size & decrypted + # everything, so just set the packet back to the header we obtained. + if self.__etm_in: + packet = header + # Otherwise, use the older non-ETM logic + else: + packet_size = struct.unpack(">I", header[:4])[0] + + # leftover contains decrypted bytes from the first block (after the + # length field) + leftover = header[4:] + if (packet_size - len(leftover)) % self.__block_size_in != 0: + raise SSHException("Invalid packet blocking") + buf = self.read_all( + packet_size + self.__mac_size_in - len(leftover) + ) + packet = buf[: packet_size - len(leftover)] + post_packet = buf[packet_size - len(leftover) :] + + if self.__block_engine_in is not None: + packet = self.__block_engine_in.update(packet) + packet = leftover + packet + + if self.__dump_packets: + self._log(DEBUG, util.format_binary(packet, "IN: ")) + + if self.__mac_size_in > 0 and not self.__etm_in: + mac = post_packet[: self.__mac_size_in] + mac_payload = ( + struct.pack(">II", self.__sequence_number_in, packet_size) + + packet + ) + my_mac = compute_hmac( + self.__mac_key_in, mac_payload, self.__mac_engine_in + )[: self.__mac_size_in] + if not util.constant_time_bytes_eq(my_mac, mac): + raise SSHException("Mismatched MAC") + padding = byte_ord(packet[0]) + payload = packet[1 : packet_size - padding] + + if self.__dump_packets: + self._log( + DEBUG, + "Got payload ({} bytes, {} padding)".format( + packet_size, padding + ), + ) + + if self.__compress_engine_in is not None: + payload = self.__compress_engine_in(payload) + + msg = Message(payload[1:]) + msg.seqno = self.__sequence_number_in + self.__sequence_number_in = (self.__sequence_number_in + 1) & xffffffff + + # check for rekey + raw_packet_size = packet_size + self.__mac_size_in + 4 + self.__received_bytes += raw_packet_size + self.__received_packets += 1 + if self.__need_rekey: + # we've asked to rekey -- give them some packets to comply before + # dropping the connection + self.__received_bytes_overflow += raw_packet_size + self.__received_packets_overflow += 1 + if ( + self.__received_packets_overflow + >= self.REKEY_PACKETS_OVERFLOW_MAX + ) or ( + self.__received_bytes_overflow >= self.REKEY_BYTES_OVERFLOW_MAX + ): + raise SSHException( + "Remote transport is ignoring rekey requests" + ) + elif (self.__received_packets >= self.REKEY_PACKETS) or ( + self.__received_bytes >= self.REKEY_BYTES + ): + # only ask once for rekeying + err = "Rekeying (hit {} packets, {} bytes received)" + self._log( + DEBUG, + err.format(self.__received_packets, self.__received_bytes), + ) + self.__received_bytes_overflow = 0 + self.__received_packets_overflow = 0 + self._trigger_rekey() + + cmd = byte_ord(payload[0]) + if cmd in MSG_NAMES: + cmd_name = MSG_NAMES[cmd] + else: + cmd_name = "${:x}".format(cmd) + if self.__dump_packets: + self._log( + DEBUG, + "Read packet <{}>, length {}".format(cmd_name, len(payload)), + ) + return cmd, msg + + # ...protected... + + def _log(self, level, msg): + if self.__logger is None: + return + if issubclass(type(msg), list): + for m in msg: + self.__logger.log(level, m) + else: + self.__logger.log(level, msg) + + def _check_keepalive(self): + if ( + not self.__keepalive_interval + or not self.__block_engine_out + or self.__need_rekey + ): + # wait till we're encrypting, and not in the middle of rekeying + return + now = time.time() + if now > self.__keepalive_last + self.__keepalive_interval: + self.__keepalive_callback() + self.__keepalive_last = now + + def _read_timeout(self, timeout): + start = time.time() + while True: + try: + x = self.__socket.recv(128) + if len(x) == 0: + raise EOFError() + break + except socket.timeout: + pass + if self.__closed: + raise EOFError() + now = time.time() + if now - start >= timeout: + raise socket.timeout() + return x + + def _build_packet(self, payload): + # pad up at least 4 bytes, to nearest block-size (usually 8) + bsize = self.__block_size_out + # do not include payload length in computations for padding in EtM mode + # (payload length won't be encrypted) + addlen = 4 if self.__etm_out else 8 + padding = 3 + bsize - ((len(payload) + addlen) % bsize) + packet = struct.pack(">IB", len(payload) + padding + 1, padding) + packet += payload + if self.__sdctr_out or self.__block_engine_out is None: + # cute trick i caught openssh doing: if we're not encrypting or + # SDCTR mode (RFC4344), + # don't waste random bytes for the padding + packet += zero_byte * padding + else: + packet += os.urandom(padding) + return packet + + def _trigger_rekey(self): + # outside code should check for this flag + self.__need_rekey = True diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/pipe.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/pipe.py new file mode 100644 index 0000000000000000000000000000000000000000..65944fad3cb8418146b6b706a6efd9e161b08457 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/pipe.py @@ -0,0 +1,148 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Abstraction of a one-way pipe where the read end can be used in +`select.select`. Normally this is trivial, but Windows makes it nearly +impossible. + +The pipe acts like an Event, which can be set or cleared. When set, the pipe +will trigger as readable in `select `. +""" + +import sys +import os +import socket + + +def make_pipe(): + if sys.platform[:3] != "win": + p = PosixPipe() + else: + p = WindowsPipe() + return p + + +class PosixPipe: + def __init__(self): + self._rfd, self._wfd = os.pipe() + self._set = False + self._forever = False + self._closed = False + + def close(self): + os.close(self._rfd) + os.close(self._wfd) + # used for unit tests: + self._closed = True + + def fileno(self): + return self._rfd + + def clear(self): + if not self._set or self._forever: + return + os.read(self._rfd, 1) + self._set = False + + def set(self): + if self._set or self._closed: + return + self._set = True + os.write(self._wfd, b"*") + + def set_forever(self): + self._forever = True + self.set() + + +class WindowsPipe: + """ + On Windows, only an OS-level "WinSock" may be used in select(), but reads + and writes must be to the actual socket object. + """ + + def __init__(self): + serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + serv.bind(("127.0.0.1", 0)) + serv.listen(1) + + # need to save sockets in _rsock/_wsock so they don't get closed + self._rsock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + self._rsock.connect(("127.0.0.1", serv.getsockname()[1])) + + self._wsock, addr = serv.accept() + serv.close() + self._set = False + self._forever = False + self._closed = False + + def close(self): + self._rsock.close() + self._wsock.close() + # used for unit tests: + self._closed = True + + def fileno(self): + return self._rsock.fileno() + + def clear(self): + if not self._set or self._forever: + return + self._rsock.recv(1) + self._set = False + + def set(self): + if self._set or self._closed: + return + self._set = True + self._wsock.send(b"*") + + def set_forever(self): + self._forever = True + self.set() + + +class OrPipe: + def __init__(self, pipe): + self._set = False + self._partner = None + self._pipe = pipe + + def set(self): + self._set = True + if not self._partner._set: + self._pipe.set() + + def clear(self): + self._set = False + if not self._partner._set: + self._pipe.clear() + + +def make_or_pipe(pipe): + """ + wraps a pipe into two pipe-like objects which are "or"d together to + affect the real pipe. if either returned pipe is set, the wrapped pipe + is set. when both are cleared, the wrapped pipe is cleared. + """ + p1 = OrPipe(pipe) + p2 = OrPipe(pipe) + p1._partner = p2 + p2._partner = p1 + return p1, p2 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/pkey.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/pkey.py new file mode 100644 index 0000000000000000000000000000000000000000..ef371002a3acdfb8c9dbccc2cdcf7a2d985a6837 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/pkey.py @@ -0,0 +1,938 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Common API for all public keys. +""" + +import base64 +from base64 import encodebytes, decodebytes +from binascii import unhexlify +import os +from pathlib import Path +from hashlib import md5, sha256 +import re +import struct + +import bcrypt + +from cryptography.hazmat.backends import default_backend +from cryptography.hazmat.primitives import serialization +from cryptography.hazmat.primitives.ciphers import algorithms, modes, Cipher +from cryptography.hazmat.primitives import asymmetric + +from paramiko import util +from paramiko.util import u, b +from paramiko.common import o600 +from paramiko.ssh_exception import SSHException, PasswordRequiredException +from paramiko.message import Message + + +OPENSSH_AUTH_MAGIC = b"openssh-key-v1\x00" + + +def _unpad_openssh(data): + # At the moment, this is only used for unpadding private keys on disk. This + # really ought to be made constant time (possibly by upstreaming this logic + # into pyca/cryptography). + padding_length = data[-1] + if 0x20 <= padding_length < 0x7F: + return data # no padding, last byte part comment (printable ascii) + if padding_length > 15: + raise SSHException("Invalid key") + for i in range(padding_length): + if data[i - padding_length] != i + 1: + raise SSHException("Invalid key") + return data[:-padding_length] + + +class UnknownKeyType(Exception): + """ + An unknown public/private key algorithm was attempted to be read. + """ + + def __init__(self, key_type=None, key_bytes=None): + self.key_type = key_type + self.key_bytes = key_bytes + + def __str__(self): + return f"UnknownKeyType(type={self.key_type!r}, bytes=<{len(self.key_bytes)}>)" # noqa + + +class PKey: + """ + Base class for public keys. + + Also includes some "meta" level convenience constructors such as + `.from_type_string`. + """ + + # known encryption types for private key files: + _CIPHER_TABLE = { + "AES-128-CBC": { + "cipher": algorithms.AES, + "keysize": 16, + "blocksize": 16, + "mode": modes.CBC, + }, + "AES-256-CBC": { + "cipher": algorithms.AES, + "keysize": 32, + "blocksize": 16, + "mode": modes.CBC, + }, + "DES-EDE3-CBC": { + "cipher": algorithms.TripleDES, + "keysize": 24, + "blocksize": 8, + "mode": modes.CBC, + }, + } + _PRIVATE_KEY_FORMAT_ORIGINAL = 1 + _PRIVATE_KEY_FORMAT_OPENSSH = 2 + BEGIN_TAG = re.compile( + r"^-{5}BEGIN (RSA|DSA|EC|OPENSSH) PRIVATE KEY-{5}\s*$" + ) + END_TAG = re.compile(r"^-{5}END (RSA|DSA|EC|OPENSSH) PRIVATE KEY-{5}\s*$") + + @staticmethod + def from_path(path, passphrase=None): + """ + Attempt to instantiate appropriate key subclass from given file path. + + :param Path path: The path to load (may also be a `str`). + + :returns: + A `PKey` subclass instance. + + :raises: + `UnknownKeyType`, if our crypto backend doesn't know this key type. + + .. versionadded:: 3.2 + """ + # TODO: make sure sphinx is reading Path right in param list... + + # Lazy import to avoid circular import issues + from paramiko import DSSKey, RSAKey, Ed25519Key, ECDSAKey + + # Normalize to string, as cert suffix isn't quite an extension, so + # pathlib isn't useful for this. + path = str(path) + + # Sort out cert vs key, i.e. it is 'legal' to hand this kind of API + # /either/ the key /or/ the cert, when there is a key/cert pair. + cert_suffix = "-cert.pub" + if str(path).endswith(cert_suffix): + key_path = path[: -len(cert_suffix)] + cert_path = path + else: + key_path = path + cert_path = path + cert_suffix + + key_path = Path(key_path).expanduser() + cert_path = Path(cert_path).expanduser() + + data = key_path.read_bytes() + # Like OpenSSH, try modern/OpenSSH-specific key load first + try: + loaded = serialization.load_ssh_private_key( + data=data, password=passphrase + ) + # Then fall back to assuming legacy PEM type + except ValueError: + loaded = serialization.load_pem_private_key( + data=data, password=passphrase + ) + # TODO Python 3.10: match statement? (NOTE: we cannot use a dict + # because the results from the loader are literal backend, eg openssl, + # private classes, so isinstance tests work but exact 'x class is y' + # tests will not work) + # TODO: leverage already-parsed/math'd obj to avoid duplicate cpu + # cycles? seemingly requires most of our key subclasses to be rewritten + # to be cryptography-object-forward. this is still likely faster than + # the old SSHClient code that just tried instantiating every class! + key_class = None + if isinstance(loaded, asymmetric.dsa.DSAPrivateKey): + key_class = DSSKey + elif isinstance(loaded, asymmetric.rsa.RSAPrivateKey): + key_class = RSAKey + elif isinstance(loaded, asymmetric.ed25519.Ed25519PrivateKey): + key_class = Ed25519Key + elif isinstance(loaded, asymmetric.ec.EllipticCurvePrivateKey): + key_class = ECDSAKey + else: + raise UnknownKeyType(key_bytes=data, key_type=loaded.__class__) + with key_path.open() as fd: + key = key_class.from_private_key(fd, password=passphrase) + if cert_path.exists(): + # load_certificate can take Message, path-str, or value-str + key.load_certificate(str(cert_path)) + return key + + @staticmethod + def from_type_string(key_type, key_bytes): + """ + Given type `str` & raw `bytes`, return a `PKey` subclass instance. + + For example, ``PKey.from_type_string("ssh-ed25519", )`` + will (if successful) return a new `.Ed25519Key`. + + :param str key_type: + The key type, eg ``"ssh-ed25519"``. + :param bytes key_bytes: + The raw byte data forming the key material, as expected by + subclasses' ``data`` parameter. + + :returns: + A `PKey` subclass instance. + + :raises: + `UnknownKeyType`, if no registered classes knew about this type. + + .. versionadded:: 3.2 + """ + from paramiko import key_classes + + for key_class in key_classes: + if key_type in key_class.identifiers(): + # TODO: needs to passthru things like passphrase + return key_class(data=key_bytes) + raise UnknownKeyType(key_type=key_type, key_bytes=key_bytes) + + @classmethod + def identifiers(cls): + """ + returns an iterable of key format/name strings this class can handle. + + Most classes only have a single identifier, and thus this default + implementation suffices; see `.ECDSAKey` for one example of an + override. + """ + return [cls.name] + + # TODO 4.0: make this and subclasses consistent, some of our own + # classmethods even assume kwargs we don't define! + # TODO 4.0: prob also raise NotImplementedError instead of pass'ing; the + # contract is pretty obviously that you need to handle msg/data/filename + # appropriately. (If 'pass' is a concession to testing, see about doing the + # work to fix the tests instead) + def __init__(self, msg=None, data=None): + """ + Create a new instance of this public key type. If ``msg`` is given, + the key's public part(s) will be filled in from the message. If + ``data`` is given, the key's public part(s) will be filled in from + the string. + + :param .Message msg: + an optional SSH `.Message` containing a public key of this type. + :param bytes data: + optional, the bytes of a public key of this type + + :raises: `.SSHException` -- + if a key cannot be created from the ``data`` or ``msg`` given, or + no key was passed in. + """ + pass + + # TODO: arguably this might want to be __str__ instead? ehh + # TODO: ditto the interplay between showing class name (currently we just + # say PKey writ large) and algorithm (usually == class name, but not + # always, also sometimes shows certificate-ness) + # TODO: if we do change it, we also want to tweak eg AgentKey, as it + # currently displays agent-ness with a suffix + def __repr__(self): + comment = "" + # Works for AgentKey, may work for others? + if hasattr(self, "comment") and self.comment: + comment = f", comment={self.comment!r}" + return f"PKey(alg={self.algorithm_name}, bits={self.get_bits()}, fp={self.fingerprint}{comment})" # noqa + + # TODO 4.0: just merge into __bytes__ (everywhere) + def asbytes(self): + """ + Return a string of an SSH `.Message` made up of the public part(s) of + this key. This string is suitable for passing to `__init__` to + re-create the key object later. + """ + return bytes() + + def __bytes__(self): + return self.asbytes() + + def __eq__(self, other): + return isinstance(other, PKey) and self._fields == other._fields + + def __hash__(self): + return hash(self._fields) + + @property + def _fields(self): + raise NotImplementedError + + def get_name(self): + """ + Return the name of this private key implementation. + + :return: + name of this private key type, in SSH terminology, as a `str` (for + example, ``"ssh-rsa"``). + """ + return "" + + @property + def algorithm_name(self): + """ + Return the key algorithm identifier for this key. + + Similar to `get_name`, but aimed at pure algorithm name instead of SSH + protocol field value. + """ + # Nuke the leading 'ssh-' + # TODO in Python 3.9: use .removeprefix() + name = self.get_name().replace("ssh-", "") + # Trim any cert suffix (but leave the -cert, as OpenSSH does) + cert_tail = "-cert-v01@openssh.com" + if cert_tail in name: + name = name.replace(cert_tail, "-cert") + # Nuke any eg ECDSA suffix, OpenSSH does basically this too. + else: + name = name.split("-")[0] + return name.upper() + + def get_bits(self): + """ + Return the number of significant bits in this key. This is useful + for judging the relative security of a key. + + :return: bits in the key (as an `int`) + """ + # TODO 4.0: raise NotImplementedError, 0 is unlikely to ever be + # _correct_ and nothing in the critical path seems to use this. + return 0 + + def can_sign(self): + """ + Return ``True`` if this key has the private part necessary for signing + data. + """ + return False + + def get_fingerprint(self): + """ + Return an MD5 fingerprint of the public part of this key. Nothing + secret is revealed. + + :return: + a 16-byte `string ` (binary) of the MD5 fingerprint, in SSH + format. + """ + return md5(self.asbytes()).digest() + + @property + def fingerprint(self): + """ + Modern fingerprint property designed to be comparable to OpenSSH. + + Currently only does SHA256 (the OpenSSH default). + + .. versionadded:: 3.2 + """ + hashy = sha256(bytes(self)) + hash_name = hashy.name.upper() + b64ed = encodebytes(hashy.digest()) + cleaned = u(b64ed).strip().rstrip("=") # yes, OpenSSH does this too! + return f"{hash_name}:{cleaned}" + + def get_base64(self): + """ + Return a base64 string containing the public part of this key. Nothing + secret is revealed. This format is compatible with that used to store + public key files or recognized host keys. + + :return: a base64 `string ` containing the public part of the key. + """ + return u(encodebytes(self.asbytes())).replace("\n", "") + + def sign_ssh_data(self, data, algorithm=None): + """ + Sign a blob of data with this private key, and return a `.Message` + representing an SSH signature message. + + :param bytes data: + the data to sign. + :param str algorithm: + the signature algorithm to use, if different from the key's + internal name. Default: ``None``. + :return: an SSH signature `message <.Message>`. + + .. versionchanged:: 2.9 + Added the ``algorithm`` kwarg. + """ + return bytes() + + def verify_ssh_sig(self, data, msg): + """ + Given a blob of data, and an SSH message representing a signature of + that data, verify that it was signed with this key. + + :param bytes data: the data that was signed. + :param .Message msg: an SSH signature message + :return: + ``True`` if the signature verifies correctly; ``False`` otherwise. + """ + return False + + @classmethod + def from_private_key_file(cls, filename, password=None): + """ + Create a key object by reading a private key file. If the private + key is encrypted and ``password`` is not ``None``, the given password + will be used to decrypt the key (otherwise `.PasswordRequiredException` + is thrown). Through the magic of Python, this factory method will + exist in all subclasses of PKey (such as `.RSAKey` or `.DSSKey`), but + is useless on the abstract PKey class. + + :param str filename: name of the file to read + :param str password: + an optional password to use to decrypt the key file, if it's + encrypted + :return: a new `.PKey` based on the given private key + + :raises: ``IOError`` -- if there was an error reading the file + :raises: `.PasswordRequiredException` -- if the private key file is + encrypted, and ``password`` is ``None`` + :raises: `.SSHException` -- if the key file is invalid + """ + key = cls(filename=filename, password=password) + return key + + @classmethod + def from_private_key(cls, file_obj, password=None): + """ + Create a key object by reading a private key from a file (or file-like) + object. If the private key is encrypted and ``password`` is not + ``None``, the given password will be used to decrypt the key (otherwise + `.PasswordRequiredException` is thrown). + + :param file_obj: the file-like object to read from + :param str password: + an optional password to use to decrypt the key, if it's encrypted + :return: a new `.PKey` based on the given private key + + :raises: ``IOError`` -- if there was an error reading the key + :raises: `.PasswordRequiredException` -- + if the private key file is encrypted, and ``password`` is ``None`` + :raises: `.SSHException` -- if the key file is invalid + """ + key = cls(file_obj=file_obj, password=password) + return key + + def write_private_key_file(self, filename, password=None): + """ + Write private key contents into a file. If the password is not + ``None``, the key is encrypted before writing. + + :param str filename: name of the file to write + :param str password: + an optional password to use to encrypt the key file + + :raises: ``IOError`` -- if there was an error writing the file + :raises: `.SSHException` -- if the key is invalid + """ + raise Exception("Not implemented in PKey") + + def write_private_key(self, file_obj, password=None): + """ + Write private key contents into a file (or file-like) object. If the + password is not ``None``, the key is encrypted before writing. + + :param file_obj: the file-like object to write into + :param str password: an optional password to use to encrypt the key + + :raises: ``IOError`` -- if there was an error writing to the file + :raises: `.SSHException` -- if the key is invalid + """ + # TODO 4.0: NotImplementedError (plus everywhere else in here) + raise Exception("Not implemented in PKey") + + def _read_private_key_file(self, tag, filename, password=None): + """ + Read an SSH2-format private key file, looking for a string of the type + ``"BEGIN xxx PRIVATE KEY"`` for some ``xxx``, base64-decode the text we + find, and return it as a string. If the private key is encrypted and + ``password`` is not ``None``, the given password will be used to + decrypt the key (otherwise `.PasswordRequiredException` is thrown). + + :param str tag: ``"RSA"`` or ``"DSA"``, the tag used to mark the + data block. + :param str filename: name of the file to read. + :param str password: + an optional password to use to decrypt the key file, if it's + encrypted. + :return: the `bytes` that make up the private key. + + :raises: ``IOError`` -- if there was an error reading the file. + :raises: `.PasswordRequiredException` -- if the private key file is + encrypted, and ``password`` is ``None``. + :raises: `.SSHException` -- if the key file is invalid. + """ + with open(filename, "r") as f: + data = self._read_private_key(tag, f, password) + return data + + def _read_private_key(self, tag, f, password=None): + lines = f.readlines() + if not lines: + raise SSHException("no lines in {} private key file".format(tag)) + + # find the BEGIN tag + start = 0 + m = self.BEGIN_TAG.match(lines[start]) + line_range = len(lines) - 1 + while start < line_range and not m: + start += 1 + m = self.BEGIN_TAG.match(lines[start]) + start += 1 + keytype = m.group(1) if m else None + if start >= len(lines) or keytype is None: + raise SSHException("not a valid {} private key file".format(tag)) + + # find the END tag + end = start + m = self.END_TAG.match(lines[end]) + while end < line_range and not m: + end += 1 + m = self.END_TAG.match(lines[end]) + + if keytype == tag: + data = self._read_private_key_pem(lines, end, password) + pkformat = self._PRIVATE_KEY_FORMAT_ORIGINAL + elif keytype == "OPENSSH": + data = self._read_private_key_openssh(lines[start:end], password) + pkformat = self._PRIVATE_KEY_FORMAT_OPENSSH + else: + raise SSHException( + "encountered {} key, expected {} key".format(keytype, tag) + ) + + return pkformat, data + + def _got_bad_key_format_id(self, id_): + err = "{}._read_private_key() spat out an unknown key format id '{}'" + raise SSHException(err.format(self.__class__.__name__, id_)) + + def _read_private_key_pem(self, lines, end, password): + start = 0 + # parse any headers first + headers = {} + start += 1 + while start < len(lines): + line = lines[start].split(": ") + if len(line) == 1: + break + headers[line[0].lower()] = line[1].strip() + start += 1 + # if we trudged to the end of the file, just try to cope. + try: + data = decodebytes(b("".join(lines[start:end]))) + except base64.binascii.Error as e: + raise SSHException("base64 decoding error: {}".format(e)) + if "proc-type" not in headers: + # unencryped: done + return data + # encrypted keyfile: will need a password + proc_type = headers["proc-type"] + if proc_type != "4,ENCRYPTED": + raise SSHException( + 'Unknown private key structure "{}"'.format(proc_type) + ) + try: + encryption_type, saltstr = headers["dek-info"].split(",") + except: + raise SSHException("Can't parse DEK-info in private key file") + if encryption_type not in self._CIPHER_TABLE: + raise SSHException( + 'Unknown private key cipher "{}"'.format(encryption_type) + ) + # if no password was passed in, + # raise an exception pointing out that we need one + if password is None: + raise PasswordRequiredException("Private key file is encrypted") + cipher = self._CIPHER_TABLE[encryption_type]["cipher"] + keysize = self._CIPHER_TABLE[encryption_type]["keysize"] + mode = self._CIPHER_TABLE[encryption_type]["mode"] + salt = unhexlify(b(saltstr)) + key = util.generate_key_bytes(md5, salt, password, keysize) + decryptor = Cipher( + cipher(key), mode(salt), backend=default_backend() + ).decryptor() + return decryptor.update(data) + decryptor.finalize() + + def _read_private_key_openssh(self, lines, password): + """ + Read the new OpenSSH SSH2 private key format available + since OpenSSH version 6.5 + Reference: + https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.key + """ + try: + data = decodebytes(b("".join(lines))) + except base64.binascii.Error as e: + raise SSHException("base64 decoding error: {}".format(e)) + + # read data struct + auth_magic = data[:15] + if auth_magic != OPENSSH_AUTH_MAGIC: + raise SSHException("unexpected OpenSSH key header encountered") + + cstruct = self._uint32_cstruct_unpack(data[15:], "sssur") + cipher, kdfname, kdf_options, num_pubkeys, remainder = cstruct + # For now, just support 1 key. + if num_pubkeys > 1: + raise SSHException( + "unsupported: private keyfile has multiple keys" + ) + pubkey, privkey_blob = self._uint32_cstruct_unpack(remainder, "ss") + + if kdfname == b("bcrypt"): + if cipher == b("aes256-cbc"): + mode = modes.CBC + elif cipher == b("aes256-ctr"): + mode = modes.CTR + else: + raise SSHException( + "unknown cipher `{}` used in private key file".format( + cipher.decode("utf-8") + ) + ) + # Encrypted private key. + # If no password was passed in, raise an exception pointing + # out that we need one + if password is None: + raise PasswordRequiredException( + "private key file is encrypted" + ) + + # Unpack salt and rounds from kdfoptions + salt, rounds = self._uint32_cstruct_unpack(kdf_options, "su") + + # run bcrypt kdf to derive key and iv/nonce (32 + 16 bytes) + key_iv = bcrypt.kdf( + b(password), + b(salt), + 48, + rounds, + # We can't control how many rounds are on disk, so no sense + # warning about it. + ignore_few_rounds=True, + ) + key = key_iv[:32] + iv = key_iv[32:] + + # decrypt private key blob + decryptor = Cipher( + algorithms.AES(key), mode(iv), default_backend() + ).decryptor() + decrypted_privkey = decryptor.update(privkey_blob) + decrypted_privkey += decryptor.finalize() + elif cipher == b("none") and kdfname == b("none"): + # Unencrypted private key + decrypted_privkey = privkey_blob + else: + raise SSHException( + "unknown cipher or kdf used in private key file" + ) + + # Unpack private key and verify checkints + cstruct = self._uint32_cstruct_unpack(decrypted_privkey, "uusr") + checkint1, checkint2, keytype, keydata = cstruct + + if checkint1 != checkint2: + raise SSHException( + "OpenSSH private key file checkints do not match" + ) + + return _unpad_openssh(keydata) + + def _uint32_cstruct_unpack(self, data, strformat): + """ + Used to read new OpenSSH private key format. + Unpacks a c data structure containing a mix of 32-bit uints and + variable length strings prefixed by 32-bit uint size field, + according to the specified format. Returns the unpacked vars + in a tuple. + Format strings: + s - denotes a string + i - denotes a long integer, encoded as a byte string + u - denotes a 32-bit unsigned integer + r - the remainder of the input string, returned as a string + """ + arr = [] + idx = 0 + try: + for f in strformat: + if f == "s": + # string + s_size = struct.unpack(">L", data[idx : idx + 4])[0] + idx += 4 + s = data[idx : idx + s_size] + idx += s_size + arr.append(s) + if f == "i": + # long integer + s_size = struct.unpack(">L", data[idx : idx + 4])[0] + idx += 4 + s = data[idx : idx + s_size] + idx += s_size + i = util.inflate_long(s, True) + arr.append(i) + elif f == "u": + # 32-bit unsigned int + u = struct.unpack(">L", data[idx : idx + 4])[0] + idx += 4 + arr.append(u) + elif f == "r": + # remainder as string + s = data[idx:] + arr.append(s) + break + except Exception as e: + # PKey-consuming code frequently wants to save-and-skip-over issues + # with loading keys, and uses SSHException as the (really friggin + # awful) signal for this. So for now...we do this. + raise SSHException(str(e)) + return tuple(arr) + + def _write_private_key_file(self, filename, key, format, password=None): + """ + Write an SSH2-format private key file in a form that can be read by + paramiko or openssh. If no password is given, the key is written in + a trivially-encoded format (base64) which is completely insecure. If + a password is given, DES-EDE3-CBC is used. + + :param str tag: + ``"RSA"`` or ``"DSA"``, the tag used to mark the data block. + :param filename: name of the file to write. + :param bytes data: data blob that makes up the private key. + :param str password: an optional password to use to encrypt the file. + + :raises: ``IOError`` -- if there was an error writing the file. + """ + # Ensure that we create new key files directly with a user-only mode, + # instead of opening, writing, then chmodding, which leaves us open to + # CVE-2022-24302. + with os.fdopen( + os.open( + filename, + # NOTE: O_TRUNC is a noop on new files, and O_CREAT is a noop + # on existing files, so using all 3 in both cases is fine. + flags=os.O_WRONLY | os.O_TRUNC | os.O_CREAT, + # Ditto the use of the 'mode' argument; it should be safe to + # give even for existing files (though it will not act like a + # chmod in that case). + mode=o600, + ), + # Yea, you still gotta inform the FLO that it is in "write" mode. + "w", + ) as f: + self._write_private_key(f, key, format, password=password) + + def _write_private_key(self, f, key, format, password=None): + if password is None: + encryption = serialization.NoEncryption() + else: + encryption = serialization.BestAvailableEncryption(b(password)) + + f.write( + key.private_bytes( + serialization.Encoding.PEM, format, encryption + ).decode() + ) + + def _check_type_and_load_cert(self, msg, key_type, cert_type): + """ + Perform message type-checking & optional certificate loading. + + This includes fast-forwarding cert ``msg`` objects past the nonce, so + that the subsequent fields are the key numbers; thus the caller may + expect to treat the message as key material afterwards either way. + + The obtained key type is returned for classes which need to know what + it was (e.g. ECDSA.) + """ + # Normalization; most classes have a single key type and give a string, + # but eg ECDSA is a 1:N mapping. + key_types = key_type + cert_types = cert_type + if isinstance(key_type, str): + key_types = [key_types] + if isinstance(cert_types, str): + cert_types = [cert_types] + # Can't do much with no message, that should've been handled elsewhere + if msg is None: + raise SSHException("Key object may not be empty") + # First field is always key type, in either kind of object. (make sure + # we rewind before grabbing it - sometimes caller had to do their own + # introspection first!) + msg.rewind() + type_ = msg.get_text() + # Regular public key - nothing special to do besides the implicit + # type check. + if type_ in key_types: + pass + # OpenSSH-compatible certificate - store full copy as .public_blob + # (so signing works correctly) and then fast-forward past the + # nonce. + elif type_ in cert_types: + # This seems the cleanest way to 'clone' an already-being-read + # message; they're *IO objects at heart and their .getvalue() + # always returns the full value regardless of pointer position. + self.load_certificate(Message(msg.asbytes())) + # Read out nonce as it comes before the public numbers - our caller + # is likely going to use the (only borrowed by us, not owned) + # 'msg' object for loading those numbers right after this. + # TODO: usefully interpret it & other non-public-number fields + # (requires going back into per-type subclasses.) + msg.get_string() + else: + err = "Invalid key (class: {}, data type: {}" + raise SSHException(err.format(self.__class__.__name__, type_)) + + def load_certificate(self, value): + """ + Supplement the private key contents with data loaded from an OpenSSH + public key (``.pub``) or certificate (``-cert.pub``) file, a string + containing such a file, or a `.Message` object. + + The .pub contents adds no real value, since the private key + file includes sufficient information to derive the public + key info. For certificates, however, this can be used on + the client side to offer authentication requests to the server + based on certificate instead of raw public key. + + See: + https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.certkeys + + Note: very little effort is made to validate the certificate contents, + that is for the server to decide if it is good enough to authenticate + successfully. + """ + if isinstance(value, Message): + constructor = "from_message" + elif os.path.isfile(value): + constructor = "from_file" + else: + constructor = "from_string" + blob = getattr(PublicBlob, constructor)(value) + if not blob.key_type.startswith(self.get_name()): + err = "PublicBlob type {} incompatible with key type {}" + raise ValueError(err.format(blob.key_type, self.get_name())) + self.public_blob = blob + + +# General construct for an OpenSSH style Public Key blob +# readable from a one-line file of the format: +# [] +# Of little value in the case of standard public keys +# {ssh-rsa, ssh-dss, ssh-ecdsa, ssh-ed25519}, but should +# provide rudimentary support for {*-cert.v01} +class PublicBlob: + """ + OpenSSH plain public key or OpenSSH signed public key (certificate). + + Tries to be as dumb as possible and barely cares about specific + per-key-type data. + + .. note:: + + Most of the time you'll want to call `from_file`, `from_string` or + `from_message` for useful instantiation, the main constructor is + basically "I should be using ``attrs`` for this." + """ + + def __init__(self, type_, blob, comment=None): + """ + Create a new public blob of given type and contents. + + :param str type_: Type indicator, eg ``ssh-rsa``. + :param bytes blob: The blob bytes themselves. + :param str comment: A comment, if one was given (e.g. file-based.) + """ + self.key_type = type_ + self.key_blob = blob + self.comment = comment + + @classmethod + def from_file(cls, filename): + """ + Create a public blob from a ``-cert.pub``-style file on disk. + """ + with open(filename) as f: + string = f.read() + return cls.from_string(string) + + @classmethod + def from_string(cls, string): + """ + Create a public blob from a ``-cert.pub``-style string. + """ + fields = string.split(None, 2) + if len(fields) < 2: + msg = "Not enough fields for public blob: {}" + raise ValueError(msg.format(fields)) + key_type = fields[0] + key_blob = decodebytes(b(fields[1])) + try: + comment = fields[2].strip() + except IndexError: + comment = None + # Verify that the blob message first (string) field matches the + # key_type + m = Message(key_blob) + blob_type = m.get_text() + if blob_type != key_type: + deets = "key type={!r}, but blob type={!r}".format( + key_type, blob_type + ) + raise ValueError("Invalid PublicBlob contents: {}".format(deets)) + # All good? All good. + return cls(type_=key_type, blob=key_blob, comment=comment) + + @classmethod + def from_message(cls, message): + """ + Create a public blob from a network `.Message`. + + Specifically, a cert-bearing pubkey auth packet, because by definition + OpenSSH-style certificates 'are' their own network representation." + """ + type_ = message.get_text() + return cls(type_=type_, blob=message.asbytes()) + + def __str__(self): + ret = "{} public key/certificate".format(self.key_type) + if self.comment: + ret += "- {}".format(self.comment) + return ret + + def __eq__(self, other): + # Just piggyback on Message/BytesIO, since both of these should be one. + return self and other and self.key_blob == other.key_blob + + def __ne__(self, other): + return not self == other diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/primes.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/primes.py new file mode 100644 index 0000000000000000000000000000000000000000..663c58ed4918a71546a969e90a1bbe1af831603f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/primes.py @@ -0,0 +1,148 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Utility functions for dealing with primes. +""" + +import os + +from paramiko import util +from paramiko.common import byte_mask +from paramiko.ssh_exception import SSHException + + +def _roll_random(n): + """returns a random # from 0 to N-1""" + bits = util.bit_length(n - 1) + byte_count = (bits + 7) // 8 + hbyte_mask = pow(2, bits % 8) - 1 + + # so here's the plan: + # we fetch as many random bits as we'd need to fit N-1, and if the + # generated number is >= N, we try again. in the worst case (N-1 is a + # power of 2), we have slightly better than 50% odds of getting one that + # fits, so i can't guarantee that this loop will ever finish, but the odds + # of it looping forever should be infinitesimal. + while True: + x = os.urandom(byte_count) + if hbyte_mask > 0: + x = byte_mask(x[0], hbyte_mask) + x[1:] + num = util.inflate_long(x, 1) + if num < n: + break + return num + + +class ModulusPack: + """ + convenience object for holding the contents of the /etc/ssh/moduli file, + on systems that have such a file. + """ + + def __init__(self): + # pack is a hash of: bits -> [ (generator, modulus) ... ] + self.pack = {} + self.discarded = [] + + def _parse_modulus(self, line): + ( + timestamp, + mod_type, + tests, + tries, + size, + generator, + modulus, + ) = line.split() + mod_type = int(mod_type) + tests = int(tests) + tries = int(tries) + size = int(size) + generator = int(generator) + modulus = int(modulus, 16) + + # weed out primes that aren't at least: + # type 2 (meets basic structural requirements) + # test 4 (more than just a small-prime sieve) + # tries < 100 if test & 4 (at least 100 tries of miller-rabin) + if ( + mod_type < 2 + or tests < 4 + or (tests & 4 and tests < 8 and tries < 100) + ): + self.discarded.append( + (modulus, "does not meet basic requirements") + ) + return + if generator == 0: + generator = 2 + + # there's a bug in the ssh "moduli" file (yeah, i know: shock! dismay! + # call cnn!) where it understates the bit lengths of these primes by 1. + # this is okay. + bl = util.bit_length(modulus) + if (bl != size) and (bl != size + 1): + self.discarded.append( + (modulus, "incorrectly reported bit length {}".format(size)) + ) + return + if bl not in self.pack: + self.pack[bl] = [] + self.pack[bl].append((generator, modulus)) + + def read_file(self, filename): + """ + :raises IOError: passed from any file operations that fail. + """ + self.pack = {} + with open(filename, "r") as f: + for line in f: + line = line.strip() + if (len(line) == 0) or (line[0] == "#"): + continue + try: + self._parse_modulus(line) + except: + continue + + def get_modulus(self, min, prefer, max): + bitsizes = sorted(self.pack.keys()) + if len(bitsizes) == 0: + raise SSHException("no moduli available") + good = -1 + # find nearest bitsize >= preferred + for b in bitsizes: + if (b >= prefer) and (b <= max) and (b < good or good == -1): + good = b + # if that failed, find greatest bitsize >= min + if good == -1: + for b in bitsizes: + if (b >= min) and (b <= max) and (b > good): + good = b + if good == -1: + # their entire (min, max) range has no intersection with our range. + # if their range is below ours, pick the smallest. otherwise pick + # the largest. it'll be out of their range requirement either way, + # but we'll be sending them the closest one we have. + good = bitsizes[0] + if min > good: + good = bitsizes[-1] + # now pick a random modulus of this bitsize + n = _roll_random(len(self.pack[good])) + return self.pack[good][n] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/proxy.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/proxy.py new file mode 100644 index 0000000000000000000000000000000000000000..f7609c984026e043e292203b47540d38a35f8339 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/proxy.py @@ -0,0 +1,134 @@ +# Copyright (C) 2012 Yipit, Inc +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +import os +import shlex +import signal +from select import select +import socket +import time + +# Try-and-ignore import so platforms w/o subprocess (eg Google App Engine) can +# still import paramiko. +subprocess, subprocess_import_error = None, None +try: + import subprocess +except ImportError as e: + subprocess_import_error = e + +from paramiko.ssh_exception import ProxyCommandFailure +from paramiko.util import ClosingContextManager + + +class ProxyCommand(ClosingContextManager): + """ + Wraps a subprocess running ProxyCommand-driven programs. + + This class implements a the socket-like interface needed by the + `.Transport` and `.Packetizer` classes. Using this class instead of a + regular socket makes it possible to talk with a Popen'd command that will + proxy traffic between the client and a server hosted in another machine. + + Instances of this class may be used as context managers. + """ + + def __init__(self, command_line): + """ + Create a new CommandProxy instance. The instance created by this + class can be passed as an argument to the `.Transport` class. + + :param str command_line: + the command that should be executed and used as the proxy. + """ + if subprocess is None: + raise subprocess_import_error + self.cmd = shlex.split(command_line) + self.process = subprocess.Popen( + self.cmd, + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + bufsize=0, + ) + self.timeout = None + + def send(self, content): + """ + Write the content received from the SSH client to the standard + input of the forked command. + + :param str content: string to be sent to the forked command + """ + try: + self.process.stdin.write(content) + except IOError as e: + # There was a problem with the child process. It probably + # died and we can't proceed. The best option here is to + # raise an exception informing the user that the informed + # ProxyCommand is not working. + raise ProxyCommandFailure(" ".join(self.cmd), e.strerror) + return len(content) + + def recv(self, size): + """ + Read from the standard output of the forked program. + + :param int size: how many chars should be read + + :return: the string of bytes read, which may be shorter than requested + """ + try: + buffer = b"" + start = time.time() + while len(buffer) < size: + select_timeout = None + if self.timeout is not None: + elapsed = time.time() - start + if elapsed >= self.timeout: + raise socket.timeout() + select_timeout = self.timeout - elapsed + + r, w, x = select([self.process.stdout], [], [], select_timeout) + if r and r[0] == self.process.stdout: + buffer += os.read( + self.process.stdout.fileno(), size - len(buffer) + ) + return buffer + except socket.timeout: + if buffer: + # Don't raise socket.timeout, return partial result instead + return buffer + raise # socket.timeout is a subclass of IOError + except IOError as e: + raise ProxyCommandFailure(" ".join(self.cmd), e.strerror) + + def close(self): + os.kill(self.process.pid, signal.SIGTERM) + + @property + def closed(self): + return self.process.returncode is not None + + @property + def _closed(self): + # Concession to Python 3 socket-like API + return self.closed + + def settimeout(self, timeout): + self.timeout = timeout diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/rsakey.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/rsakey.py new file mode 100644 index 0000000000000000000000000000000000000000..b7ad3ce21668f53b602d26660ed0107da6d806e2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/rsakey.py @@ -0,0 +1,227 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +RSA keys. +""" + +from cryptography.exceptions import InvalidSignature, UnsupportedAlgorithm +from cryptography.hazmat.backends import default_backend +from cryptography.hazmat.primitives import hashes, serialization +from cryptography.hazmat.primitives.asymmetric import rsa, padding + +from paramiko.message import Message +from paramiko.pkey import PKey +from paramiko.ssh_exception import SSHException + + +class RSAKey(PKey): + """ + Representation of an RSA key which can be used to sign and verify SSH2 + data. + """ + + name = "ssh-rsa" + HASHES = { + "ssh-rsa": hashes.SHA1, + "ssh-rsa-cert-v01@openssh.com": hashes.SHA1, + "rsa-sha2-256": hashes.SHA256, + "rsa-sha2-256-cert-v01@openssh.com": hashes.SHA256, + "rsa-sha2-512": hashes.SHA512, + "rsa-sha2-512-cert-v01@openssh.com": hashes.SHA512, + } + + def __init__( + self, + msg=None, + data=None, + filename=None, + password=None, + key=None, + file_obj=None, + ): + self.key = None + self.public_blob = None + if file_obj is not None: + self._from_private_key(file_obj, password) + return + if filename is not None: + self._from_private_key_file(filename, password) + return + if (msg is None) and (data is not None): + msg = Message(data) + if key is not None: + self.key = key + else: + self._check_type_and_load_cert( + msg=msg, + # NOTE: this does NOT change when using rsa2 signatures; it's + # purely about key loading, not exchange or verification + key_type=self.name, + cert_type="ssh-rsa-cert-v01@openssh.com", + ) + self.key = rsa.RSAPublicNumbers( + e=msg.get_mpint(), n=msg.get_mpint() + ).public_key(default_backend()) + + @classmethod + def identifiers(cls): + return list(cls.HASHES.keys()) + + @property + def size(self): + return self.key.key_size + + @property + def public_numbers(self): + if isinstance(self.key, rsa.RSAPrivateKey): + return self.key.private_numbers().public_numbers + else: + return self.key.public_numbers() + + def asbytes(self): + m = Message() + m.add_string(self.name) + m.add_mpint(self.public_numbers.e) + m.add_mpint(self.public_numbers.n) + return m.asbytes() + + def __str__(self): + # NOTE: see #853 to explain some legacy behavior. + # TODO 4.0: replace with a nice clean fingerprint display or something + return self.asbytes().decode("utf8", errors="ignore") + + @property + def _fields(self): + return (self.get_name(), self.public_numbers.e, self.public_numbers.n) + + def get_name(self): + return self.name + + def get_bits(self): + return self.size + + def can_sign(self): + return isinstance(self.key, rsa.RSAPrivateKey) + + def sign_ssh_data(self, data, algorithm=None): + if algorithm is None: + algorithm = self.name + sig = self.key.sign( + data, + padding=padding.PKCS1v15(), + # HASHES being just a map from long identifier to either SHA1 or + # SHA256 - cert'ness is not truly relevant. + algorithm=self.HASHES[algorithm](), + ) + m = Message() + # And here again, cert'ness is irrelevant, so it is stripped out. + m.add_string(algorithm.replace("-cert-v01@openssh.com", "")) + m.add_string(sig) + return m + + def verify_ssh_sig(self, data, msg): + sig_algorithm = msg.get_text() + if sig_algorithm not in self.HASHES: + return False + key = self.key + if isinstance(key, rsa.RSAPrivateKey): + key = key.public_key() + + # NOTE: pad received signature with leading zeros, key.verify() + # expects a signature of key size (e.g. PuTTY doesn't pad) + sign = msg.get_binary() + diff = key.key_size - len(sign) * 8 + if diff > 0: + sign = b"\x00" * ((diff + 7) // 8) + sign + + try: + key.verify( + sign, data, padding.PKCS1v15(), self.HASHES[sig_algorithm]() + ) + except InvalidSignature: + return False + else: + return True + + def write_private_key_file(self, filename, password=None): + self._write_private_key_file( + filename, + self.key, + serialization.PrivateFormat.TraditionalOpenSSL, + password=password, + ) + + def write_private_key(self, file_obj, password=None): + self._write_private_key( + file_obj, + self.key, + serialization.PrivateFormat.TraditionalOpenSSL, + password=password, + ) + + @staticmethod + def generate(bits, progress_func=None): + """ + Generate a new private RSA key. This factory function can be used to + generate a new host key or authentication key. + + :param int bits: number of bits the generated key should be. + :param progress_func: Unused + :return: new `.RSAKey` private key + """ + key = rsa.generate_private_key( + public_exponent=65537, key_size=bits, backend=default_backend() + ) + return RSAKey(key=key) + + # ...internals... + + def _from_private_key_file(self, filename, password): + data = self._read_private_key_file("RSA", filename, password) + self._decode_key(data) + + def _from_private_key(self, file_obj, password): + data = self._read_private_key("RSA", file_obj, password) + self._decode_key(data) + + def _decode_key(self, data): + pkformat, data = data + if pkformat == self._PRIVATE_KEY_FORMAT_ORIGINAL: + try: + key = serialization.load_der_private_key( + data, password=None, backend=default_backend() + ) + except (ValueError, TypeError, UnsupportedAlgorithm) as e: + raise SSHException(str(e)) + elif pkformat == self._PRIVATE_KEY_FORMAT_OPENSSH: + n, e, d, iqmp, p, q = self._uint32_cstruct_unpack(data, "iiiiii") + public_numbers = rsa.RSAPublicNumbers(e=e, n=n) + key = rsa.RSAPrivateNumbers( + p=p, + q=q, + d=d, + dmp1=d % (p - 1), + dmq1=d % (q - 1), + iqmp=iqmp, + public_numbers=public_numbers, + ).private_key(default_backend()) + else: + self._got_bad_key_format_id(pkformat) + assert isinstance(key, rsa.RSAPrivateKey) + self.key = key diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/server.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/server.py new file mode 100644 index 0000000000000000000000000000000000000000..6923bdf54589fb0ddf3b65286d7beacfdd1af925 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/server.py @@ -0,0 +1,732 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +`.ServerInterface` is an interface to override for server support. +""" + +import threading +from paramiko import util +from paramiko.common import ( + DEBUG, + ERROR, + OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED, + AUTH_FAILED, + AUTH_SUCCESSFUL, +) + + +class ServerInterface: + """ + This class defines an interface for controlling the behavior of Paramiko + in server mode. + + Methods on this class are called from Paramiko's primary thread, so you + shouldn't do too much work in them. (Certainly nothing that blocks or + sleeps.) + """ + + def check_channel_request(self, kind, chanid): + """ + Determine if a channel request of a given type will be granted, and + return ``OPEN_SUCCEEDED`` or an error code. This method is + called in server mode when the client requests a channel, after + authentication is complete. + + If you allow channel requests (and an ssh server that didn't would be + useless), you should also override some of the channel request methods + below, which are used to determine which services will be allowed on + a given channel: + + - `check_channel_pty_request` + - `check_channel_shell_request` + - `check_channel_subsystem_request` + - `check_channel_window_change_request` + - `check_channel_x11_request` + - `check_channel_forward_agent_request` + + The ``chanid`` parameter is a small number that uniquely identifies the + channel within a `.Transport`. A `.Channel` object is not created + unless this method returns ``OPEN_SUCCEEDED`` -- once a + `.Channel` object is created, you can call `.Channel.get_id` to + retrieve the channel ID. + + The return value should either be ``OPEN_SUCCEEDED`` (or + ``0``) to allow the channel request, or one of the following error + codes to reject it: + + - ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED`` + - ``OPEN_FAILED_CONNECT_FAILED`` + - ``OPEN_FAILED_UNKNOWN_CHANNEL_TYPE`` + - ``OPEN_FAILED_RESOURCE_SHORTAGE`` + + The default implementation always returns + ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED``. + + :param str kind: + the kind of channel the client would like to open (usually + ``"session"``). + :param int chanid: ID of the channel + :return: an `int` success or failure code (listed above) + """ + return OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED + + def get_allowed_auths(self, username): + """ + Return a list of authentication methods supported by the server. + This list is sent to clients attempting to authenticate, to inform them + of authentication methods that might be successful. + + The "list" is actually a string of comma-separated names of types of + authentication. Possible values are ``"password"``, ``"publickey"``, + and ``"none"``. + + The default implementation always returns ``"password"``. + + :param str username: the username requesting authentication. + :return: a comma-separated `str` of authentication types + """ + return "password" + + def check_auth_none(self, username): + """ + Determine if a client may open channels with no (further) + authentication. + + Return ``AUTH_FAILED`` if the client must authenticate, or + ``AUTH_SUCCESSFUL`` if it's okay for the client to not + authenticate. + + The default implementation always returns ``AUTH_FAILED``. + + :param str username: the username of the client. + :return: + ``AUTH_FAILED`` if the authentication fails; ``AUTH_SUCCESSFUL`` if + it succeeds. + :rtype: int + """ + return AUTH_FAILED + + def check_auth_password(self, username, password): + """ + Determine if a given username and password supplied by the client is + acceptable for use in authentication. + + Return ``AUTH_FAILED`` if the password is not accepted, + ``AUTH_SUCCESSFUL`` if the password is accepted and completes + the authentication, or ``AUTH_PARTIALLY_SUCCESSFUL`` if your + authentication is stateful, and this key is accepted for + authentication, but more authentication is required. (In this latter + case, `get_allowed_auths` will be called to report to the client what + options it has for continuing the authentication.) + + The default implementation always returns ``AUTH_FAILED``. + + :param str username: the username of the authenticating client. + :param str password: the password given by the client. + :return: + ``AUTH_FAILED`` if the authentication fails; ``AUTH_SUCCESSFUL`` if + it succeeds; ``AUTH_PARTIALLY_SUCCESSFUL`` if the password auth is + successful, but authentication must continue. + :rtype: int + """ + return AUTH_FAILED + + def check_auth_publickey(self, username, key): + """ + Determine if a given key supplied by the client is acceptable for use + in authentication. You should override this method in server mode to + check the username and key and decide if you would accept a signature + made using this key. + + Return ``AUTH_FAILED`` if the key is not accepted, + ``AUTH_SUCCESSFUL`` if the key is accepted and completes the + authentication, or ``AUTH_PARTIALLY_SUCCESSFUL`` if your + authentication is stateful, and this password is accepted for + authentication, but more authentication is required. (In this latter + case, `get_allowed_auths` will be called to report to the client what + options it has for continuing the authentication.) + + Note that you don't have to actually verify any key signtature here. + If you're willing to accept the key, Paramiko will do the work of + verifying the client's signature. + + The default implementation always returns ``AUTH_FAILED``. + + :param str username: the username of the authenticating client + :param .PKey key: the key object provided by the client + :return: + ``AUTH_FAILED`` if the client can't authenticate with this key; + ``AUTH_SUCCESSFUL`` if it can; ``AUTH_PARTIALLY_SUCCESSFUL`` if it + can authenticate with this key but must continue with + authentication + :rtype: int + """ + return AUTH_FAILED + + def check_auth_interactive(self, username, submethods): + """ + Begin an interactive authentication challenge, if supported. You + should override this method in server mode if you want to support the + ``"keyboard-interactive"`` auth type, which requires you to send a + series of questions for the client to answer. + + Return ``AUTH_FAILED`` if this auth method isn't supported. Otherwise, + you should return an `.InteractiveQuery` object containing the prompts + and instructions for the user. The response will be sent via a call + to `check_auth_interactive_response`. + + The default implementation always returns ``AUTH_FAILED``. + + :param str username: the username of the authenticating client + :param str submethods: + a comma-separated list of methods preferred by the client (usually + empty) + :return: + ``AUTH_FAILED`` if this auth method isn't supported; otherwise an + object containing queries for the user + :rtype: int or `.InteractiveQuery` + """ + return AUTH_FAILED + + def check_auth_interactive_response(self, responses): + """ + Continue or finish an interactive authentication challenge, if + supported. You should override this method in server mode if you want + to support the ``"keyboard-interactive"`` auth type. + + Return ``AUTH_FAILED`` if the responses are not accepted, + ``AUTH_SUCCESSFUL`` if the responses are accepted and complete + the authentication, or ``AUTH_PARTIALLY_SUCCESSFUL`` if your + authentication is stateful, and this set of responses is accepted for + authentication, but more authentication is required. (In this latter + case, `get_allowed_auths` will be called to report to the client what + options it has for continuing the authentication.) + + If you wish to continue interactive authentication with more questions, + you may return an `.InteractiveQuery` object, which should cause the + client to respond with more answers, calling this method again. This + cycle can continue indefinitely. + + The default implementation always returns ``AUTH_FAILED``. + + :param responses: list of `str` responses from the client + :return: + ``AUTH_FAILED`` if the authentication fails; ``AUTH_SUCCESSFUL`` if + it succeeds; ``AUTH_PARTIALLY_SUCCESSFUL`` if the interactive auth + is successful, but authentication must continue; otherwise an + object containing queries for the user + :rtype: int or `.InteractiveQuery` + """ + return AUTH_FAILED + + def check_auth_gssapi_with_mic( + self, username, gss_authenticated=AUTH_FAILED, cc_file=None + ): + """ + Authenticate the given user to the server if he is a valid krb5 + principal. + + :param str username: The username of the authenticating client + :param int gss_authenticated: The result of the krb5 authentication + :param str cc_filename: The krb5 client credentials cache filename + :return: ``AUTH_FAILED`` if the user is not authenticated otherwise + ``AUTH_SUCCESSFUL`` + :rtype: int + :note: Kerberos credential delegation is not supported. + :see: `.ssh_gss` + :note: : We are just checking in L{AuthHandler} that the given user is + a valid krb5 principal! + We don't check if the krb5 principal is allowed to log in on + the server, because there is no way to do that in python. So + if you develop your own SSH server with paramiko for a certain + platform like Linux, you should call C{krb5_kuserok()} in + your local kerberos library to make sure that the + krb5_principal has an account on the server and is allowed to + log in as a user. + :see: http://www.unix.com/man-page/all/3/krb5_kuserok/ + """ + if gss_authenticated == AUTH_SUCCESSFUL: + return AUTH_SUCCESSFUL + return AUTH_FAILED + + def check_auth_gssapi_keyex( + self, username, gss_authenticated=AUTH_FAILED, cc_file=None + ): + """ + Authenticate the given user to the server if he is a valid krb5 + principal and GSS-API Key Exchange was performed. + If GSS-API Key Exchange was not performed, this authentication method + won't be available. + + :param str username: The username of the authenticating client + :param int gss_authenticated: The result of the krb5 authentication + :param str cc_filename: The krb5 client credentials cache filename + :return: ``AUTH_FAILED`` if the user is not authenticated otherwise + ``AUTH_SUCCESSFUL`` + :rtype: int + :note: Kerberos credential delegation is not supported. + :see: `.ssh_gss` `.kex_gss` + :note: : We are just checking in L{AuthHandler} that the given user is + a valid krb5 principal! + We don't check if the krb5 principal is allowed to log in on + the server, because there is no way to do that in python. So + if you develop your own SSH server with paramiko for a certain + platform like Linux, you should call C{krb5_kuserok()} in + your local kerberos library to make sure that the + krb5_principal has an account on the server and is allowed + to log in as a user. + :see: http://www.unix.com/man-page/all/3/krb5_kuserok/ + """ + if gss_authenticated == AUTH_SUCCESSFUL: + return AUTH_SUCCESSFUL + return AUTH_FAILED + + def enable_auth_gssapi(self): + """ + Overwrite this function in your SSH server to enable GSSAPI + authentication. + The default implementation always returns false. + + :returns bool: Whether GSSAPI authentication is enabled. + :see: `.ssh_gss` + """ + UseGSSAPI = False + return UseGSSAPI + + def check_port_forward_request(self, address, port): + """ + Handle a request for port forwarding. The client is asking that + connections to the given address and port be forwarded back across + this ssh connection. An address of ``"0.0.0.0"`` indicates a global + address (any address associated with this server) and a port of ``0`` + indicates that no specific port is requested (usually the OS will pick + a port). + + The default implementation always returns ``False``, rejecting the + port forwarding request. If the request is accepted, you should return + the port opened for listening. + + :param str address: the requested address + :param int port: the requested port + :return: + the port number (`int`) that was opened for listening, or ``False`` + to reject + """ + return False + + def cancel_port_forward_request(self, address, port): + """ + The client would like to cancel a previous port-forwarding request. + If the given address and port is being forwarded across this ssh + connection, the port should be closed. + + :param str address: the forwarded address + :param int port: the forwarded port + """ + pass + + def check_global_request(self, kind, msg): + """ + Handle a global request of the given ``kind``. This method is called + in server mode and client mode, whenever the remote host makes a global + request. If there are any arguments to the request, they will be in + ``msg``. + + There aren't any useful global requests defined, aside from port + forwarding, so usually this type of request is an extension to the + protocol. + + If the request was successful and you would like to return contextual + data to the remote host, return a tuple. Items in the tuple will be + sent back with the successful result. (Note that the items in the + tuple can only be strings, ints, or bools.) + + The default implementation always returns ``False``, indicating that it + does not support any global requests. + + .. note:: Port forwarding requests are handled separately, in + `check_port_forward_request`. + + :param str kind: the kind of global request being made. + :param .Message msg: any extra arguments to the request. + :return: + ``True`` or a `tuple` of data if the request was granted; ``False`` + otherwise. + """ + return False + + # ...Channel requests... + + def check_channel_pty_request( + self, channel, term, width, height, pixelwidth, pixelheight, modes + ): + """ + Determine if a pseudo-terminal of the given dimensions (usually + requested for shell access) can be provided on the given channel. + + The default implementation always returns ``False``. + + :param .Channel channel: the `.Channel` the pty request arrived on. + :param str term: type of terminal requested (for example, ``"vt100"``). + :param int width: width of screen in characters. + :param int height: height of screen in characters. + :param int pixelwidth: + width of screen in pixels, if known (may be ``0`` if unknown). + :param int pixelheight: + height of screen in pixels, if known (may be ``0`` if unknown). + :return: + ``True`` if the pseudo-terminal has been allocated; ``False`` + otherwise. + """ + return False + + def check_channel_shell_request(self, channel): + """ + Determine if a shell will be provided to the client on the given + channel. If this method returns ``True``, the channel should be + connected to the stdin/stdout of a shell (or something that acts like + a shell). + + The default implementation always returns ``False``. + + :param .Channel channel: the `.Channel` the request arrived on. + :return: + ``True`` if this channel is now hooked up to a shell; ``False`` if + a shell can't or won't be provided. + """ + return False + + def check_channel_exec_request(self, channel, command): + """ + Determine if a shell command will be executed for the client. If this + method returns ``True``, the channel should be connected to the stdin, + stdout, and stderr of the shell command. + + The default implementation always returns ``False``. + + :param .Channel channel: the `.Channel` the request arrived on. + :param str command: the command to execute. + :return: + ``True`` if this channel is now hooked up to the stdin, stdout, and + stderr of the executing command; ``False`` if the command will not + be executed. + + .. versionadded:: 1.1 + """ + return False + + def check_channel_subsystem_request(self, channel, name): + """ + Determine if a requested subsystem will be provided to the client on + the given channel. If this method returns ``True``, all future I/O + through this channel will be assumed to be connected to the requested + subsystem. An example of a subsystem is ``sftp``. + + The default implementation checks for a subsystem handler assigned via + `.Transport.set_subsystem_handler`. + If one has been set, the handler is invoked and this method returns + ``True``. Otherwise it returns ``False``. + + .. note:: Because the default implementation uses the `.Transport` to + identify valid subsystems, you probably won't need to override this + method. + + :param .Channel channel: the `.Channel` the pty request arrived on. + :param str name: name of the requested subsystem. + :return: + ``True`` if this channel is now hooked up to the requested + subsystem; ``False`` if that subsystem can't or won't be provided. + """ + transport = channel.get_transport() + handler_class, args, kwargs = transport._get_subsystem_handler(name) + if handler_class is None: + return False + handler = handler_class(channel, name, self, *args, **kwargs) + handler.start() + return True + + def check_channel_window_change_request( + self, channel, width, height, pixelwidth, pixelheight + ): + """ + Determine if the pseudo-terminal on the given channel can be resized. + This only makes sense if a pty was previously allocated on it. + + The default implementation always returns ``False``. + + :param .Channel channel: the `.Channel` the pty request arrived on. + :param int width: width of screen in characters. + :param int height: height of screen in characters. + :param int pixelwidth: + width of screen in pixels, if known (may be ``0`` if unknown). + :param int pixelheight: + height of screen in pixels, if known (may be ``0`` if unknown). + :return: ``True`` if the terminal was resized; ``False`` if not. + """ + return False + + def check_channel_x11_request( + self, + channel, + single_connection, + auth_protocol, + auth_cookie, + screen_number, + ): + """ + Determine if the client will be provided with an X11 session. If this + method returns ``True``, X11 applications should be routed through new + SSH channels, using `.Transport.open_x11_channel`. + + The default implementation always returns ``False``. + + :param .Channel channel: the `.Channel` the X11 request arrived on + :param bool single_connection: + ``True`` if only a single X11 channel should be opened, else + ``False``. + :param str auth_protocol: the protocol used for X11 authentication + :param str auth_cookie: the cookie used to authenticate to X11 + :param int screen_number: the number of the X11 screen to connect to + :return: ``True`` if the X11 session was opened; ``False`` if not + """ + return False + + def check_channel_forward_agent_request(self, channel): + """ + Determine if the client will be provided with an forward agent session. + If this method returns ``True``, the server will allow SSH Agent + forwarding. + + The default implementation always returns ``False``. + + :param .Channel channel: the `.Channel` the request arrived on + :return: ``True`` if the AgentForward was loaded; ``False`` if not + + If ``True`` is returned, the server should create an + :class:`AgentServerProxy` to access the agent. + """ + return False + + def check_channel_direct_tcpip_request(self, chanid, origin, destination): + """ + Determine if a local port forwarding channel will be granted, and + return ``OPEN_SUCCEEDED`` or an error code. This method is + called in server mode when the client requests a channel, after + authentication is complete. + + The ``chanid`` parameter is a small number that uniquely identifies the + channel within a `.Transport`. A `.Channel` object is not created + unless this method returns ``OPEN_SUCCEEDED`` -- once a + `.Channel` object is created, you can call `.Channel.get_id` to + retrieve the channel ID. + + The origin and destination parameters are (ip_address, port) tuples + that correspond to both ends of the TCP connection in the forwarding + tunnel. + + The return value should either be ``OPEN_SUCCEEDED`` (or + ``0``) to allow the channel request, or one of the following error + codes to reject it: + + - ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED`` + - ``OPEN_FAILED_CONNECT_FAILED`` + - ``OPEN_FAILED_UNKNOWN_CHANNEL_TYPE`` + - ``OPEN_FAILED_RESOURCE_SHORTAGE`` + + The default implementation always returns + ``OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED``. + + :param int chanid: ID of the channel + :param tuple origin: + 2-tuple containing the IP address and port of the originator + (client side) + :param tuple destination: + 2-tuple containing the IP address and port of the destination + (server side) + :return: an `int` success or failure code (listed above) + """ + return OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED + + def check_channel_env_request(self, channel, name, value): + """ + Check whether a given environment variable can be specified for the + given channel. This method should return ``True`` if the server + is willing to set the specified environment variable. Note that + some environment variables (e.g., PATH) can be exceedingly + dangerous, so blindly allowing the client to set the environment + is almost certainly not a good idea. + + The default implementation always returns ``False``. + + :param channel: the `.Channel` the env request arrived on + :param str name: name + :param str value: Channel value + :returns: A boolean + """ + return False + + def get_banner(self): + """ + A pre-login banner to display to the user. The message may span + multiple lines separated by crlf pairs. The language should be in + rfc3066 style, for example: en-US + + The default implementation always returns ``(None, None)``. + + :returns: A tuple containing the banner and language code. + + .. versionadded:: 2.3 + """ + return (None, None) + + +class InteractiveQuery: + """ + A query (set of prompts) for a user during interactive authentication. + """ + + def __init__(self, name="", instructions="", *prompts): + """ + Create a new interactive query to send to the client. The name and + instructions are optional, but are generally displayed to the end + user. A list of prompts may be included, or they may be added via + the `add_prompt` method. + + :param str name: name of this query + :param str instructions: + user instructions (usually short) about this query + :param str prompts: one or more authentication prompts + """ + self.name = name + self.instructions = instructions + self.prompts = [] + for x in prompts: + if isinstance(x, str): + self.add_prompt(x) + else: + self.add_prompt(x[0], x[1]) + + def add_prompt(self, prompt, echo=True): + """ + Add a prompt to this query. The prompt should be a (reasonably short) + string. Multiple prompts can be added to the same query. + + :param str prompt: the user prompt + :param bool echo: + ``True`` (default) if the user's response should be echoed; + ``False`` if not (for a password or similar) + """ + self.prompts.append((prompt, echo)) + + +class SubsystemHandler(threading.Thread): + """ + Handler for a subsystem in server mode. If you create a subclass of this + class and pass it to `.Transport.set_subsystem_handler`, an object of this + class will be created for each request for this subsystem. Each new object + will be executed within its own new thread by calling `start_subsystem`. + When that method completes, the channel is closed. + + For example, if you made a subclass ``MP3Handler`` and registered it as the + handler for subsystem ``"mp3"``, then whenever a client has successfully + authenticated and requests subsystem ``"mp3"``, an object of class + ``MP3Handler`` will be created, and `start_subsystem` will be called on + it from a new thread. + """ + + def __init__(self, channel, name, server): + """ + Create a new handler for a channel. This is used by `.ServerInterface` + to start up a new handler when a channel requests this subsystem. You + don't need to override this method, but if you do, be sure to pass the + ``channel`` and ``name`` parameters through to the original + ``__init__`` method here. + + :param .Channel channel: the channel associated with this + subsystem request. + :param str name: name of the requested subsystem. + :param .ServerInterface server: + the server object for the session that started this subsystem + """ + threading.Thread.__init__(self, target=self._run) + self.__channel = channel + self.__transport = channel.get_transport() + self.__name = name + self.__server = server + + def get_server(self): + """ + Return the `.ServerInterface` object associated with this channel and + subsystem. + """ + return self.__server + + def _run(self): + try: + self.__transport._log( + DEBUG, "Starting handler for subsystem {}".format(self.__name) + ) + self.start_subsystem(self.__name, self.__transport, self.__channel) + except Exception as e: + self.__transport._log( + ERROR, + 'Exception in subsystem handler for "{}": {}'.format( + self.__name, e + ), + ) + self.__transport._log(ERROR, util.tb_strings()) + try: + self.finish_subsystem() + except: + pass + + def start_subsystem(self, name, transport, channel): + """ + Process an ssh subsystem in server mode. This method is called on a + new object (and in a new thread) for each subsystem request. It is + assumed that all subsystem logic will take place here, and when the + subsystem is finished, this method will return. After this method + returns, the channel is closed. + + The combination of ``transport`` and ``channel`` are unique; this + handler corresponds to exactly one `.Channel` on one `.Transport`. + + .. note:: + It is the responsibility of this method to exit if the underlying + `.Transport` is closed. This can be done by checking + `.Transport.is_active` or noticing an EOF on the `.Channel`. If + this method loops forever without checking for this case, your + Python interpreter may refuse to exit because this thread will + still be running. + + :param str name: name of the requested subsystem. + :param .Transport transport: the server-mode `.Transport`. + :param .Channel channel: the channel associated with this subsystem + request. + """ + pass + + def finish_subsystem(self): + """ + Perform any cleanup at the end of a subsystem. The default + implementation just closes the channel. + + .. versionadded:: 1.1 + """ + self.__channel.close() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp.py new file mode 100644 index 0000000000000000000000000000000000000000..b3528d4ebdabdf2375e574920872ed11fdbff828 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp.py @@ -0,0 +1,224 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +import select +import socket +import struct + +from paramiko import util +from paramiko.common import DEBUG, byte_chr, byte_ord +from paramiko.message import Message + + +( + CMD_INIT, + CMD_VERSION, + CMD_OPEN, + CMD_CLOSE, + CMD_READ, + CMD_WRITE, + CMD_LSTAT, + CMD_FSTAT, + CMD_SETSTAT, + CMD_FSETSTAT, + CMD_OPENDIR, + CMD_READDIR, + CMD_REMOVE, + CMD_MKDIR, + CMD_RMDIR, + CMD_REALPATH, + CMD_STAT, + CMD_RENAME, + CMD_READLINK, + CMD_SYMLINK, +) = range(1, 21) +(CMD_STATUS, CMD_HANDLE, CMD_DATA, CMD_NAME, CMD_ATTRS) = range(101, 106) +(CMD_EXTENDED, CMD_EXTENDED_REPLY) = range(200, 202) + +SFTP_OK = 0 +( + SFTP_EOF, + SFTP_NO_SUCH_FILE, + SFTP_PERMISSION_DENIED, + SFTP_FAILURE, + SFTP_BAD_MESSAGE, + SFTP_NO_CONNECTION, + SFTP_CONNECTION_LOST, + SFTP_OP_UNSUPPORTED, +) = range(1, 9) + +SFTP_DESC = [ + "Success", + "End of file", + "No such file", + "Permission denied", + "Failure", + "Bad message", + "No connection", + "Connection lost", + "Operation unsupported", +] + +SFTP_FLAG_READ = 0x1 +SFTP_FLAG_WRITE = 0x2 +SFTP_FLAG_APPEND = 0x4 +SFTP_FLAG_CREATE = 0x8 +SFTP_FLAG_TRUNC = 0x10 +SFTP_FLAG_EXCL = 0x20 + +_VERSION = 3 + + +# for debugging +CMD_NAMES = { + CMD_INIT: "init", + CMD_VERSION: "version", + CMD_OPEN: "open", + CMD_CLOSE: "close", + CMD_READ: "read", + CMD_WRITE: "write", + CMD_LSTAT: "lstat", + CMD_FSTAT: "fstat", + CMD_SETSTAT: "setstat", + CMD_FSETSTAT: "fsetstat", + CMD_OPENDIR: "opendir", + CMD_READDIR: "readdir", + CMD_REMOVE: "remove", + CMD_MKDIR: "mkdir", + CMD_RMDIR: "rmdir", + CMD_REALPATH: "realpath", + CMD_STAT: "stat", + CMD_RENAME: "rename", + CMD_READLINK: "readlink", + CMD_SYMLINK: "symlink", + CMD_STATUS: "status", + CMD_HANDLE: "handle", + CMD_DATA: "data", + CMD_NAME: "name", + CMD_ATTRS: "attrs", + CMD_EXTENDED: "extended", + CMD_EXTENDED_REPLY: "extended_reply", +} + + +# TODO: rewrite SFTP file/server modules' overly-flexible "make a request with +# xyz components" so we don't need this very silly method of signaling whether +# a given Python integer should be 32- or 64-bit. +# NOTE: this only became an issue when dropping Python 2 support; prior to +# doing so, we had to support actual-longs, which served as that signal. This +# is simply recreating that structure in a more tightly scoped fashion. +class int64(int): + pass + + +class SFTPError(Exception): + pass + + +class BaseSFTP: + def __init__(self): + self.logger = util.get_logger("paramiko.sftp") + self.sock = None + self.ultra_debug = False + + # ...internals... + + def _send_version(self): + m = Message() + m.add_int(_VERSION) + self._send_packet(CMD_INIT, m) + t, data = self._read_packet() + if t != CMD_VERSION: + raise SFTPError("Incompatible sftp protocol") + version = struct.unpack(">I", data[:4])[0] + # if version != _VERSION: + # raise SFTPError('Incompatible sftp protocol') + return version + + def _send_server_version(self): + # winscp will freak out if the server sends version info before the + # client finishes sending INIT. + t, data = self._read_packet() + if t != CMD_INIT: + raise SFTPError("Incompatible sftp protocol") + version = struct.unpack(">I", data[:4])[0] + # advertise that we support "check-file" + extension_pairs = ["check-file", "md5,sha1"] + msg = Message() + msg.add_int(_VERSION) + msg.add(*extension_pairs) + self._send_packet(CMD_VERSION, msg) + return version + + def _log(self, level, msg, *args): + self.logger.log(level, msg, *args) + + def _write_all(self, out): + while len(out) > 0: + n = self.sock.send(out) + if n <= 0: + raise EOFError() + if n == len(out): + return + out = out[n:] + return + + def _read_all(self, n): + out = bytes() + while n > 0: + if isinstance(self.sock, socket.socket): + # sometimes sftp is used directly over a socket instead of + # through a paramiko channel. in this case, check periodically + # if the socket is closed. (for some reason, recv() won't ever + # return or raise an exception, but calling select on a closed + # socket will.) + while True: + read, write, err = select.select([self.sock], [], [], 0.1) + if len(read) > 0: + x = self.sock.recv(n) + break + else: + x = self.sock.recv(n) + + if len(x) == 0: + raise EOFError() + out += x + n -= len(x) + return out + + def _send_packet(self, t, packet): + packet = packet.asbytes() + out = struct.pack(">I", len(packet) + 1) + byte_chr(t) + packet + if self.ultra_debug: + self._log(DEBUG, util.format_binary(out, "OUT: ")) + self._write_all(out) + + def _read_packet(self): + x = self._read_all(4) + # most sftp servers won't accept packets larger than about 32k, so + # anything with the high byte set (> 16MB) is just garbage. + if byte_ord(x[0]): + raise SFTPError("Garbage packet received") + size = struct.unpack(">I", x)[0] + data = self._read_all(size) + if self.ultra_debug: + self._log(DEBUG, util.format_binary(data, "IN: ")) + if size > 0: + t = byte_ord(data[0]) + return t, data[1:] + return 0, bytes() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_attr.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_attr.py new file mode 100644 index 0000000000000000000000000000000000000000..18ffbf868db5fe2e33858d95f097c5366d59f880 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_attr.py @@ -0,0 +1,239 @@ +# Copyright (C) 2003-2006 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +import stat +import time +from paramiko.common import x80000000, o700, o70, xffffffff + + +class SFTPAttributes: + """ + Representation of the attributes of a file (or proxied file) for SFTP in + client or server mode. It attempts to mirror the object returned by + `os.stat` as closely as possible, so it may have the following fields, + with the same meanings as those returned by an `os.stat` object: + + - ``st_size`` + - ``st_uid`` + - ``st_gid`` + - ``st_mode`` + - ``st_atime`` + - ``st_mtime`` + + Because SFTP allows flags to have other arbitrary named attributes, these + are stored in a dict named ``attr``. Occasionally, the filename is also + stored, in ``filename``. + """ + + FLAG_SIZE = 1 + FLAG_UIDGID = 2 + FLAG_PERMISSIONS = 4 + FLAG_AMTIME = 8 + FLAG_EXTENDED = x80000000 + + def __init__(self): + """ + Create a new (empty) SFTPAttributes object. All fields will be empty. + """ + self._flags = 0 + self.st_size = None + self.st_uid = None + self.st_gid = None + self.st_mode = None + self.st_atime = None + self.st_mtime = None + self.attr = {} + + @classmethod + def from_stat(cls, obj, filename=None): + """ + Create an `.SFTPAttributes` object from an existing ``stat`` object (an + object returned by `os.stat`). + + :param object obj: an object returned by `os.stat` (or equivalent). + :param str filename: the filename associated with this file. + :return: new `.SFTPAttributes` object with the same attribute fields. + """ + attr = cls() + attr.st_size = obj.st_size + attr.st_uid = obj.st_uid + attr.st_gid = obj.st_gid + attr.st_mode = obj.st_mode + attr.st_atime = obj.st_atime + attr.st_mtime = obj.st_mtime + if filename is not None: + attr.filename = filename + return attr + + def __repr__(self): + return "".format(self._debug_str()) + + # ...internals... + @classmethod + def _from_msg(cls, msg, filename=None, longname=None): + attr = cls() + attr._unpack(msg) + if filename is not None: + attr.filename = filename + if longname is not None: + attr.longname = longname + return attr + + def _unpack(self, msg): + self._flags = msg.get_int() + if self._flags & self.FLAG_SIZE: + self.st_size = msg.get_int64() + if self._flags & self.FLAG_UIDGID: + self.st_uid = msg.get_int() + self.st_gid = msg.get_int() + if self._flags & self.FLAG_PERMISSIONS: + self.st_mode = msg.get_int() + if self._flags & self.FLAG_AMTIME: + self.st_atime = msg.get_int() + self.st_mtime = msg.get_int() + if self._flags & self.FLAG_EXTENDED: + count = msg.get_int() + for i in range(count): + self.attr[msg.get_string()] = msg.get_string() + + def _pack(self, msg): + self._flags = 0 + if self.st_size is not None: + self._flags |= self.FLAG_SIZE + if (self.st_uid is not None) and (self.st_gid is not None): + self._flags |= self.FLAG_UIDGID + if self.st_mode is not None: + self._flags |= self.FLAG_PERMISSIONS + if (self.st_atime is not None) and (self.st_mtime is not None): + self._flags |= self.FLAG_AMTIME + if len(self.attr) > 0: + self._flags |= self.FLAG_EXTENDED + msg.add_int(self._flags) + if self._flags & self.FLAG_SIZE: + msg.add_int64(self.st_size) + if self._flags & self.FLAG_UIDGID: + msg.add_int(self.st_uid) + msg.add_int(self.st_gid) + if self._flags & self.FLAG_PERMISSIONS: + msg.add_int(self.st_mode) + if self._flags & self.FLAG_AMTIME: + # throw away any fractional seconds + msg.add_int(int(self.st_atime)) + msg.add_int(int(self.st_mtime)) + if self._flags & self.FLAG_EXTENDED: + msg.add_int(len(self.attr)) + for key, val in self.attr.items(): + msg.add_string(key) + msg.add_string(val) + return + + def _debug_str(self): + out = "[ " + if self.st_size is not None: + out += "size={} ".format(self.st_size) + if (self.st_uid is not None) and (self.st_gid is not None): + out += "uid={} gid={} ".format(self.st_uid, self.st_gid) + if self.st_mode is not None: + out += "mode=" + oct(self.st_mode) + " " + if (self.st_atime is not None) and (self.st_mtime is not None): + out += "atime={} mtime={} ".format(self.st_atime, self.st_mtime) + for k, v in self.attr.items(): + out += '"{}"={!r} '.format(str(k), v) + out += "]" + return out + + @staticmethod + def _rwx(n, suid, sticky=False): + if suid: + suid = 2 + out = "-r"[n >> 2] + "-w"[(n >> 1) & 1] + if sticky: + out += "-xTt"[suid + (n & 1)] + else: + out += "-xSs"[suid + (n & 1)] + return out + + def __str__(self): + """create a unix-style long description of the file (like ls -l)""" + if self.st_mode is not None: + kind = stat.S_IFMT(self.st_mode) + if kind == stat.S_IFIFO: + ks = "p" + elif kind == stat.S_IFCHR: + ks = "c" + elif kind == stat.S_IFDIR: + ks = "d" + elif kind == stat.S_IFBLK: + ks = "b" + elif kind == stat.S_IFREG: + ks = "-" + elif kind == stat.S_IFLNK: + ks = "l" + elif kind == stat.S_IFSOCK: + ks = "s" + else: + ks = "?" + ks += self._rwx( + (self.st_mode & o700) >> 6, self.st_mode & stat.S_ISUID + ) + ks += self._rwx( + (self.st_mode & o70) >> 3, self.st_mode & stat.S_ISGID + ) + ks += self._rwx( + self.st_mode & 7, self.st_mode & stat.S_ISVTX, True + ) + else: + ks = "?---------" + # compute display date + if (self.st_mtime is None) or (self.st_mtime == xffffffff): + # shouldn't really happen + datestr = "(unknown date)" + else: + time_tuple = time.localtime(self.st_mtime) + if abs(time.time() - self.st_mtime) > 15_552_000: + # (15,552,000s = 6 months) + datestr = time.strftime("%d %b %Y", time_tuple) + else: + datestr = time.strftime("%d %b %H:%M", time_tuple) + filename = getattr(self, "filename", "?") + + # not all servers support uid/gid + uid = self.st_uid + gid = self.st_gid + size = self.st_size + if uid is None: + uid = 0 + if gid is None: + gid = 0 + if size is None: + size = 0 + + # TODO: not sure this actually worked as expected beforehand, leaving + # it untouched for the time being, re: .format() upgrade, until someone + # has time to doublecheck + return "%s 1 %-8d %-8d %8d %-12s %s" % ( + ks, + uid, + gid, + size, + datestr, + filename, + ) + + def asbytes(self): + return str(self).encode() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_client.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_client.py new file mode 100644 index 0000000000000000000000000000000000000000..066cd83f03297b53169ffda2db8478b85d89f842 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_client.py @@ -0,0 +1,965 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of Paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +from binascii import hexlify +import errno +import os +import stat +import threading +import time +import weakref +from paramiko import util +from paramiko.channel import Channel +from paramiko.message import Message +from paramiko.common import INFO, DEBUG, o777 +from paramiko.sftp import ( + BaseSFTP, + CMD_OPENDIR, + CMD_HANDLE, + SFTPError, + CMD_READDIR, + CMD_NAME, + CMD_CLOSE, + SFTP_FLAG_READ, + SFTP_FLAG_WRITE, + SFTP_FLAG_CREATE, + SFTP_FLAG_TRUNC, + SFTP_FLAG_APPEND, + SFTP_FLAG_EXCL, + CMD_OPEN, + CMD_REMOVE, + CMD_RENAME, + CMD_MKDIR, + CMD_RMDIR, + CMD_STAT, + CMD_ATTRS, + CMD_LSTAT, + CMD_SYMLINK, + CMD_SETSTAT, + CMD_READLINK, + CMD_REALPATH, + CMD_STATUS, + CMD_EXTENDED, + SFTP_OK, + SFTP_EOF, + SFTP_NO_SUCH_FILE, + SFTP_PERMISSION_DENIED, + int64, +) + +from paramiko.sftp_attr import SFTPAttributes +from paramiko.ssh_exception import SSHException +from paramiko.sftp_file import SFTPFile +from paramiko.util import ClosingContextManager, b, u + + +def _to_unicode(s): + """ + decode a string as ascii or utf8 if possible (as required by the sftp + protocol). if neither works, just return a byte string because the server + probably doesn't know the filename's encoding. + """ + try: + return s.encode("ascii") + except (UnicodeError, AttributeError): + try: + return s.decode("utf-8") + except UnicodeError: + return s + + +b_slash = b"/" + + +class SFTPClient(BaseSFTP, ClosingContextManager): + """ + SFTP client object. + + Used to open an SFTP session across an open SSH `.Transport` and perform + remote file operations. + + Instances of this class may be used as context managers. + """ + + def __init__(self, sock): + """ + Create an SFTP client from an existing `.Channel`. The channel + should already have requested the ``"sftp"`` subsystem. + + An alternate way to create an SFTP client context is by using + `from_transport`. + + :param .Channel sock: an open `.Channel` using the ``"sftp"`` subsystem + + :raises: + `.SSHException` -- if there's an exception while negotiating sftp + """ + BaseSFTP.__init__(self) + self.sock = sock + self.ultra_debug = False + self.request_number = 1 + # lock for request_number + self._lock = threading.Lock() + self._cwd = None + # request # -> SFTPFile + self._expecting = weakref.WeakValueDictionary() + if type(sock) is Channel: + # override default logger + transport = self.sock.get_transport() + self.logger = util.get_logger( + transport.get_log_channel() + ".sftp" + ) + self.ultra_debug = transport.get_hexdump() + try: + server_version = self._send_version() + except EOFError: + raise SSHException("EOF during negotiation") + self._log( + INFO, + "Opened sftp connection (server version {})".format( + server_version + ), + ) + + @classmethod + def from_transport(cls, t, window_size=None, max_packet_size=None): + """ + Create an SFTP client channel from an open `.Transport`. + + Setting the window and packet sizes might affect the transfer speed. + The default settings in the `.Transport` class are the same as in + OpenSSH and should work adequately for both files transfers and + interactive sessions. + + :param .Transport t: an open `.Transport` which is already + authenticated + :param int window_size: + optional window size for the `.SFTPClient` session. + :param int max_packet_size: + optional max packet size for the `.SFTPClient` session.. + + :return: + a new `.SFTPClient` object, referring to an sftp session (channel) + across the transport + + .. versionchanged:: 1.15 + Added the ``window_size`` and ``max_packet_size`` arguments. + """ + chan = t.open_session( + window_size=window_size, max_packet_size=max_packet_size + ) + if chan is None: + return None + chan.invoke_subsystem("sftp") + return cls(chan) + + def _log(self, level, msg, *args): + if isinstance(msg, list): + for m in msg: + self._log(level, m, *args) + else: + # NOTE: these bits MUST continue using %-style format junk because + # logging.Logger.log() explicitly requires it. Grump. + # escape '%' in msg (they could come from file or directory names) + # before logging + msg = msg.replace("%", "%%") + super()._log( + level, + "[chan %s] " + msg, + *([self.sock.get_name()] + list(args)) + ) + + def close(self): + """ + Close the SFTP session and its underlying channel. + + .. versionadded:: 1.4 + """ + self._log(INFO, "sftp session closed.") + self.sock.close() + + def get_channel(self): + """ + Return the underlying `.Channel` object for this SFTP session. This + might be useful for doing things like setting a timeout on the channel. + + .. versionadded:: 1.7.1 + """ + return self.sock + + def listdir(self, path="."): + """ + Return a list containing the names of the entries in the given + ``path``. + + The list is in arbitrary order. It does not include the special + entries ``'.'`` and ``'..'`` even if they are present in the folder. + This method is meant to mirror ``os.listdir`` as closely as possible. + For a list of full `.SFTPAttributes` objects, see `listdir_attr`. + + :param str path: path to list (defaults to ``'.'``) + """ + return [f.filename for f in self.listdir_attr(path)] + + def listdir_attr(self, path="."): + """ + Return a list containing `.SFTPAttributes` objects corresponding to + files in the given ``path``. The list is in arbitrary order. It does + not include the special entries ``'.'`` and ``'..'`` even if they are + present in the folder. + + The returned `.SFTPAttributes` objects will each have an additional + field: ``longname``, which may contain a formatted string of the file's + attributes, in unix format. The content of this string will probably + depend on the SFTP server implementation. + + :param str path: path to list (defaults to ``'.'``) + :return: list of `.SFTPAttributes` objects + + .. versionadded:: 1.2 + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "listdir({!r})".format(path)) + t, msg = self._request(CMD_OPENDIR, path) + if t != CMD_HANDLE: + raise SFTPError("Expected handle") + handle = msg.get_binary() + filelist = [] + while True: + try: + t, msg = self._request(CMD_READDIR, handle) + except EOFError: + # done with handle + break + if t != CMD_NAME: + raise SFTPError("Expected name response") + count = msg.get_int() + for i in range(count): + filename = msg.get_text() + longname = msg.get_text() + attr = SFTPAttributes._from_msg(msg, filename, longname) + if (filename != ".") and (filename != ".."): + filelist.append(attr) + self._request(CMD_CLOSE, handle) + return filelist + + def listdir_iter(self, path=".", read_aheads=50): + """ + Generator version of `.listdir_attr`. + + See the API docs for `.listdir_attr` for overall details. + + This function adds one more kwarg on top of `.listdir_attr`: + ``read_aheads``, an integer controlling how many + ``SSH_FXP_READDIR`` requests are made to the server. The default of 50 + should suffice for most file listings as each request/response cycle + may contain multiple files (dependent on server implementation.) + + .. versionadded:: 1.15 + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "listdir({!r})".format(path)) + t, msg = self._request(CMD_OPENDIR, path) + + if t != CMD_HANDLE: + raise SFTPError("Expected handle") + + handle = msg.get_string() + + nums = list() + while True: + try: + # Send out a bunch of readdir requests so that we can read the + # responses later on Section 6.7 of the SSH file transfer RFC + # explains this + # http://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt + for i in range(read_aheads): + num = self._async_request(type(None), CMD_READDIR, handle) + nums.append(num) + + # For each of our sent requests + # Read and parse the corresponding packets + # If we're at the end of our queued requests, then fire off + # some more requests + # Exit the loop when we've reached the end of the directory + # handle + for num in nums: + t, pkt_data = self._read_packet() + msg = Message(pkt_data) + new_num = msg.get_int() + if num == new_num: + if t == CMD_STATUS: + self._convert_status(msg) + count = msg.get_int() + for i in range(count): + filename = msg.get_text() + longname = msg.get_text() + attr = SFTPAttributes._from_msg( + msg, filename, longname + ) + if (filename != ".") and (filename != ".."): + yield attr + + # If we've hit the end of our queued requests, reset nums. + nums = list() + + except EOFError: + self._request(CMD_CLOSE, handle) + return + + def open(self, filename, mode="r", bufsize=-1): + """ + Open a file on the remote server. The arguments are the same as for + Python's built-in `python:file` (aka `python:open`). A file-like + object is returned, which closely mimics the behavior of a normal + Python file object, including the ability to be used as a context + manager. + + The mode indicates how the file is to be opened: ``'r'`` for reading, + ``'w'`` for writing (truncating an existing file), ``'a'`` for + appending, ``'r+'`` for reading/writing, ``'w+'`` for reading/writing + (truncating an existing file), ``'a+'`` for reading/appending. The + Python ``'b'`` flag is ignored, since SSH treats all files as binary. + The ``'U'`` flag is supported in a compatible way. + + Since 1.5.2, an ``'x'`` flag indicates that the operation should only + succeed if the file was created and did not previously exist. This has + no direct mapping to Python's file flags, but is commonly known as the + ``O_EXCL`` flag in posix. + + The file will be buffered in standard Python style by default, but + can be altered with the ``bufsize`` parameter. ``<=0`` turns off + buffering, ``1`` uses line buffering, and any number greater than 1 + (``>1``) uses that specific buffer size. + + :param str filename: name of the file to open + :param str mode: mode (Python-style) to open in + :param int bufsize: desired buffering (default: ``-1``) + :return: an `.SFTPFile` object representing the open file + + :raises: ``IOError`` -- if the file could not be opened. + """ + filename = self._adjust_cwd(filename) + self._log(DEBUG, "open({!r}, {!r})".format(filename, mode)) + imode = 0 + if ("r" in mode) or ("+" in mode): + imode |= SFTP_FLAG_READ + if ("w" in mode) or ("+" in mode) or ("a" in mode): + imode |= SFTP_FLAG_WRITE + if "w" in mode: + imode |= SFTP_FLAG_CREATE | SFTP_FLAG_TRUNC + if "a" in mode: + imode |= SFTP_FLAG_CREATE | SFTP_FLAG_APPEND + if "x" in mode: + imode |= SFTP_FLAG_CREATE | SFTP_FLAG_EXCL + attrblock = SFTPAttributes() + t, msg = self._request(CMD_OPEN, filename, imode, attrblock) + if t != CMD_HANDLE: + raise SFTPError("Expected handle") + handle = msg.get_binary() + self._log( + DEBUG, + "open({!r}, {!r}) -> {}".format( + filename, mode, u(hexlify(handle)) + ), + ) + return SFTPFile(self, handle, mode, bufsize) + + # Python continues to vacillate about "open" vs "file"... + file = open + + def remove(self, path): + """ + Remove the file at the given path. This only works on files; for + removing folders (directories), use `rmdir`. + + :param str path: path (absolute or relative) of the file to remove + + :raises: ``IOError`` -- if the path refers to a folder (directory) + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "remove({!r})".format(path)) + self._request(CMD_REMOVE, path) + + unlink = remove + + def rename(self, oldpath, newpath): + """ + Rename a file or folder from ``oldpath`` to ``newpath``. + + .. note:: + This method implements 'standard' SFTP ``RENAME`` behavior; those + seeking the OpenSSH "POSIX rename" extension behavior should use + `posix_rename`. + + :param str oldpath: + existing name of the file or folder + :param str newpath: + new name for the file or folder, must not exist already + + :raises: + ``IOError`` -- if ``newpath`` is a folder, or something else goes + wrong + """ + oldpath = self._adjust_cwd(oldpath) + newpath = self._adjust_cwd(newpath) + self._log(DEBUG, "rename({!r}, {!r})".format(oldpath, newpath)) + self._request(CMD_RENAME, oldpath, newpath) + + def posix_rename(self, oldpath, newpath): + """ + Rename a file or folder from ``oldpath`` to ``newpath``, following + posix conventions. + + :param str oldpath: existing name of the file or folder + :param str newpath: new name for the file or folder, will be + overwritten if it already exists + + :raises: + ``IOError`` -- if ``newpath`` is a folder, posix-rename is not + supported by the server or something else goes wrong + + :versionadded: 2.2 + """ + oldpath = self._adjust_cwd(oldpath) + newpath = self._adjust_cwd(newpath) + self._log(DEBUG, "posix_rename({!r}, {!r})".format(oldpath, newpath)) + self._request( + CMD_EXTENDED, "posix-rename@openssh.com", oldpath, newpath + ) + + def mkdir(self, path, mode=o777): + """ + Create a folder (directory) named ``path`` with numeric mode ``mode``. + The default mode is 0777 (octal). On some systems, mode is ignored. + Where it is used, the current umask value is first masked out. + + :param str path: name of the folder to create + :param int mode: permissions (posix-style) for the newly-created folder + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "mkdir({!r}, {!r})".format(path, mode)) + attr = SFTPAttributes() + attr.st_mode = mode + self._request(CMD_MKDIR, path, attr) + + def rmdir(self, path): + """ + Remove the folder named ``path``. + + :param str path: name of the folder to remove + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "rmdir({!r})".format(path)) + self._request(CMD_RMDIR, path) + + def stat(self, path): + """ + Retrieve information about a file on the remote system. The return + value is an object whose attributes correspond to the attributes of + Python's ``stat`` structure as returned by ``os.stat``, except that it + contains fewer fields. An SFTP server may return as much or as little + info as it wants, so the results may vary from server to server. + + Unlike a Python `python:stat` object, the result may not be accessed as + a tuple. This is mostly due to the author's slack factor. + + The fields supported are: ``st_mode``, ``st_size``, ``st_uid``, + ``st_gid``, ``st_atime``, and ``st_mtime``. + + :param str path: the filename to stat + :return: + an `.SFTPAttributes` object containing attributes about the given + file + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "stat({!r})".format(path)) + t, msg = self._request(CMD_STAT, path) + if t != CMD_ATTRS: + raise SFTPError("Expected attributes") + return SFTPAttributes._from_msg(msg) + + def lstat(self, path): + """ + Retrieve information about a file on the remote system, without + following symbolic links (shortcuts). This otherwise behaves exactly + the same as `stat`. + + :param str path: the filename to stat + :return: + an `.SFTPAttributes` object containing attributes about the given + file + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "lstat({!r})".format(path)) + t, msg = self._request(CMD_LSTAT, path) + if t != CMD_ATTRS: + raise SFTPError("Expected attributes") + return SFTPAttributes._from_msg(msg) + + def symlink(self, source, dest): + """ + Create a symbolic link to the ``source`` path at ``destination``. + + :param str source: path of the original file + :param str dest: path of the newly created symlink + """ + dest = self._adjust_cwd(dest) + self._log(DEBUG, "symlink({!r}, {!r})".format(source, dest)) + source = b(source) + self._request(CMD_SYMLINK, source, dest) + + def chmod(self, path, mode): + """ + Change the mode (permissions) of a file. The permissions are + unix-style and identical to those used by Python's `os.chmod` + function. + + :param str path: path of the file to change the permissions of + :param int mode: new permissions + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "chmod({!r}, {!r})".format(path, mode)) + attr = SFTPAttributes() + attr.st_mode = mode + self._request(CMD_SETSTAT, path, attr) + + def chown(self, path, uid, gid): + """ + Change the owner (``uid``) and group (``gid``) of a file. As with + Python's `os.chown` function, you must pass both arguments, so if you + only want to change one, use `stat` first to retrieve the current + owner and group. + + :param str path: path of the file to change the owner and group of + :param int uid: new owner's uid + :param int gid: new group id + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "chown({!r}, {!r}, {!r})".format(path, uid, gid)) + attr = SFTPAttributes() + attr.st_uid, attr.st_gid = uid, gid + self._request(CMD_SETSTAT, path, attr) + + def utime(self, path, times): + """ + Set the access and modified times of the file specified by ``path``. + If ``times`` is ``None``, then the file's access and modified times + are set to the current time. Otherwise, ``times`` must be a 2-tuple + of numbers, of the form ``(atime, mtime)``, which is used to set the + access and modified times, respectively. This bizarre API is mimicked + from Python for the sake of consistency -- I apologize. + + :param str path: path of the file to modify + :param tuple times: + ``None`` or a tuple of (access time, modified time) in standard + internet epoch time (seconds since 01 January 1970 GMT) + """ + path = self._adjust_cwd(path) + if times is None: + times = (time.time(), time.time()) + self._log(DEBUG, "utime({!r}, {!r})".format(path, times)) + attr = SFTPAttributes() + attr.st_atime, attr.st_mtime = times + self._request(CMD_SETSTAT, path, attr) + + def truncate(self, path, size): + """ + Change the size of the file specified by ``path``. This usually + extends or shrinks the size of the file, just like the `~file.truncate` + method on Python file objects. + + :param str path: path of the file to modify + :param int size: the new size of the file + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "truncate({!r}, {!r})".format(path, size)) + attr = SFTPAttributes() + attr.st_size = size + self._request(CMD_SETSTAT, path, attr) + + def readlink(self, path): + """ + Return the target of a symbolic link (shortcut). You can use + `symlink` to create these. The result may be either an absolute or + relative pathname. + + :param str path: path of the symbolic link file + :return: target path, as a `str` + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "readlink({!r})".format(path)) + t, msg = self._request(CMD_READLINK, path) + if t != CMD_NAME: + raise SFTPError("Expected name response") + count = msg.get_int() + if count == 0: + return None + if count != 1: + raise SFTPError("Readlink returned {} results".format(count)) + return _to_unicode(msg.get_string()) + + def normalize(self, path): + """ + Return the normalized path (on the server) of a given path. This + can be used to quickly resolve symbolic links or determine what the + server is considering to be the "current folder" (by passing ``'.'`` + as ``path``). + + :param str path: path to be normalized + :return: normalized form of the given path (as a `str`) + + :raises: ``IOError`` -- if the path can't be resolved on the server + """ + path = self._adjust_cwd(path) + self._log(DEBUG, "normalize({!r})".format(path)) + t, msg = self._request(CMD_REALPATH, path) + if t != CMD_NAME: + raise SFTPError("Expected name response") + count = msg.get_int() + if count != 1: + raise SFTPError("Realpath returned {} results".format(count)) + return msg.get_text() + + def chdir(self, path=None): + """ + Change the "current directory" of this SFTP session. Since SFTP + doesn't really have the concept of a current working directory, this is + emulated by Paramiko. Once you use this method to set a working + directory, all operations on this `.SFTPClient` object will be relative + to that path. You can pass in ``None`` to stop using a current working + directory. + + :param str path: new current working directory + + :raises: + ``IOError`` -- if the requested path doesn't exist on the server + + .. versionadded:: 1.4 + """ + if path is None: + self._cwd = None + return + if not stat.S_ISDIR(self.stat(path).st_mode): + code = errno.ENOTDIR + raise SFTPError(code, "{}: {}".format(os.strerror(code), path)) + self._cwd = b(self.normalize(path)) + + def getcwd(self): + """ + Return the "current working directory" for this SFTP session, as + emulated by Paramiko. If no directory has been set with `chdir`, + this method will return ``None``. + + .. versionadded:: 1.4 + """ + # TODO: make class initialize with self._cwd set to self.normalize('.') + return self._cwd and u(self._cwd) + + def _transfer_with_callback(self, reader, writer, file_size, callback): + size = 0 + while True: + data = reader.read(32768) + writer.write(data) + size += len(data) + if len(data) == 0: + break + if callback is not None: + callback(size, file_size) + return size + + def putfo(self, fl, remotepath, file_size=0, callback=None, confirm=True): + """ + Copy the contents of an open file object (``fl``) to the SFTP server as + ``remotepath``. Any exception raised by operations will be passed + through. + + The SFTP operations use pipelining for speed. + + :param fl: opened file or file-like object to copy + :param str remotepath: the destination path on the SFTP server + :param int file_size: + optional size parameter passed to callback. If none is specified, + size defaults to 0 + :param callable callback: + optional callback function (form: ``func(int, int)``) that accepts + the bytes transferred so far and the total bytes to be transferred + (since 1.7.4) + :param bool confirm: + whether to do a stat() on the file afterwards to confirm the file + size (since 1.7.7) + + :return: + an `.SFTPAttributes` object containing attributes about the given + file. + + .. versionadded:: 1.10 + """ + with self.file(remotepath, "wb") as fr: + fr.set_pipelined(True) + size = self._transfer_with_callback( + reader=fl, writer=fr, file_size=file_size, callback=callback + ) + if confirm: + s = self.stat(remotepath) + if s.st_size != size: + raise IOError( + "size mismatch in put! {} != {}".format(s.st_size, size) + ) + else: + s = SFTPAttributes() + return s + + def put(self, localpath, remotepath, callback=None, confirm=True): + """ + Copy a local file (``localpath``) to the SFTP server as ``remotepath``. + Any exception raised by operations will be passed through. This + method is primarily provided as a convenience. + + The SFTP operations use pipelining for speed. + + :param str localpath: the local file to copy + :param str remotepath: the destination path on the SFTP server. Note + that the filename should be included. Only specifying a directory + may result in an error. + :param callable callback: + optional callback function (form: ``func(int, int)``) that accepts + the bytes transferred so far and the total bytes to be transferred + :param bool confirm: + whether to do a stat() on the file afterwards to confirm the file + size + + :return: an `.SFTPAttributes` object containing attributes about the + given file + + .. versionadded:: 1.4 + .. versionchanged:: 1.7.4 + ``callback`` and rich attribute return value added. + .. versionchanged:: 1.7.7 + ``confirm`` param added. + """ + file_size = os.stat(localpath).st_size + with open(localpath, "rb") as fl: + return self.putfo(fl, remotepath, file_size, callback, confirm) + + def getfo( + self, + remotepath, + fl, + callback=None, + prefetch=True, + max_concurrent_prefetch_requests=None, + ): + """ + Copy a remote file (``remotepath``) from the SFTP server and write to + an open file or file-like object, ``fl``. Any exception raised by + operations will be passed through. This method is primarily provided + as a convenience. + + :param object remotepath: opened file or file-like object to copy to + :param str fl: + the destination path on the local host or open file object + :param callable callback: + optional callback function (form: ``func(int, int)``) that accepts + the bytes transferred so far and the total bytes to be transferred + :param bool prefetch: + controls whether prefetching is performed (default: True) + :param int max_concurrent_prefetch_requests: + The maximum number of concurrent read requests to prefetch. See + `.SFTPClient.get` (its ``max_concurrent_prefetch_requests`` param) + for details. + :return: the `number ` of bytes written to the opened file object + + .. versionadded:: 1.10 + .. versionchanged:: 2.8 + Added the ``prefetch`` keyword argument. + .. versionchanged:: 3.3 + Added ``max_concurrent_prefetch_requests``. + """ + file_size = self.stat(remotepath).st_size + with self.open(remotepath, "rb") as fr: + if prefetch: + fr.prefetch(file_size, max_concurrent_prefetch_requests) + return self._transfer_with_callback( + reader=fr, writer=fl, file_size=file_size, callback=callback + ) + + def get( + self, + remotepath, + localpath, + callback=None, + prefetch=True, + max_concurrent_prefetch_requests=None, + ): + """ + Copy a remote file (``remotepath``) from the SFTP server to the local + host as ``localpath``. Any exception raised by operations will be + passed through. This method is primarily provided as a convenience. + + :param str remotepath: the remote file to copy + :param str localpath: the destination path on the local host + :param callable callback: + optional callback function (form: ``func(int, int)``) that accepts + the bytes transferred so far and the total bytes to be transferred + :param bool prefetch: + controls whether prefetching is performed (default: True) + :param int max_concurrent_prefetch_requests: + The maximum number of concurrent read requests to prefetch. + When this is ``None`` (the default), do not limit the number of + concurrent prefetch requests. Note: OpenSSH's sftp internally + imposes a limit of 64 concurrent requests, while Paramiko imposes + no limit by default; consider setting a limit if a file can be + successfully received with sftp but hangs with Paramiko. + + .. versionadded:: 1.4 + .. versionchanged:: 1.7.4 + Added the ``callback`` param + .. versionchanged:: 2.8 + Added the ``prefetch`` keyword argument. + .. versionchanged:: 3.3 + Added ``max_concurrent_prefetch_requests``. + """ + with open(localpath, "wb") as fl: + size = self.getfo( + remotepath, + fl, + callback, + prefetch, + max_concurrent_prefetch_requests, + ) + s = os.stat(localpath) + if s.st_size != size: + raise IOError( + "size mismatch in get! {} != {}".format(s.st_size, size) + ) + + # ...internals... + + def _request(self, t, *args): + num = self._async_request(type(None), t, *args) + return self._read_response(num) + + def _async_request(self, fileobj, t, *args): + # this method may be called from other threads (prefetch) + self._lock.acquire() + try: + msg = Message() + msg.add_int(self.request_number) + for item in args: + if isinstance(item, int64): + msg.add_int64(item) + elif isinstance(item, int): + msg.add_int(item) + elif isinstance(item, SFTPAttributes): + item._pack(msg) + else: + # For all other types, rely on as_string() to either coerce + # to bytes before writing or raise a suitable exception. + msg.add_string(item) + num = self.request_number + self._expecting[num] = fileobj + self.request_number += 1 + finally: + self._lock.release() + self._send_packet(t, msg) + return num + + def _read_response(self, waitfor=None): + while True: + try: + t, data = self._read_packet() + except EOFError as e: + raise SSHException("Server connection dropped: {}".format(e)) + msg = Message(data) + num = msg.get_int() + self._lock.acquire() + try: + if num not in self._expecting: + # might be response for a file that was closed before + # responses came back + self._log(DEBUG, "Unexpected response #{}".format(num)) + if waitfor is None: + # just doing a single check + break + continue + fileobj = self._expecting[num] + del self._expecting[num] + finally: + self._lock.release() + if num == waitfor: + # synchronous + if t == CMD_STATUS: + self._convert_status(msg) + return t, msg + + # can not rewrite this to deal with E721, either as a None check + # nor as not an instance of None or NoneType + if fileobj is not type(None): # noqa + fileobj._async_response(t, msg, num) + if waitfor is None: + # just doing a single check + break + return None, None + + def _finish_responses(self, fileobj): + while fileobj in self._expecting.values(): + self._read_response() + fileobj._check_exception() + + def _convert_status(self, msg): + """ + Raises EOFError or IOError on error status; otherwise does nothing. + """ + code = msg.get_int() + text = msg.get_text() + if code == SFTP_OK: + return + elif code == SFTP_EOF: + raise EOFError(text) + elif code == SFTP_NO_SUCH_FILE: + # clever idea from john a. meinel: map the error codes to errno + raise IOError(errno.ENOENT, text) + elif code == SFTP_PERMISSION_DENIED: + raise IOError(errno.EACCES, text) + else: + raise IOError(text) + + def _adjust_cwd(self, path): + """ + Return an adjusted path if we're emulating a "current working + directory" for the server. + """ + path = b(path) + if self._cwd is None: + return path + if len(path) and path[0:1] == b_slash: + # absolute path + return path + if self._cwd == b_slash: + return self._cwd + path + return self._cwd + b_slash + path + + +class SFTP(SFTPClient): + """ + An alias for `.SFTPClient` for backwards compatibility. + """ + + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_file.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_file.py new file mode 100644 index 0000000000000000000000000000000000000000..c74695e0ccc26bbe60f2b64dd3d45ba00b179671 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_file.py @@ -0,0 +1,594 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +SFTP file object +""" + + +from binascii import hexlify +from collections import deque +import socket +import threading +import time +from paramiko.common import DEBUG, io_sleep + +from paramiko.file import BufferedFile +from paramiko.util import u +from paramiko.sftp import ( + CMD_CLOSE, + CMD_READ, + CMD_DATA, + SFTPError, + CMD_WRITE, + CMD_STATUS, + CMD_FSTAT, + CMD_ATTRS, + CMD_FSETSTAT, + CMD_EXTENDED, + int64, +) +from paramiko.sftp_attr import SFTPAttributes + + +class SFTPFile(BufferedFile): + """ + Proxy object for a file on the remote server, in client mode SFTP. + + Instances of this class may be used as context managers in the same way + that built-in Python file objects are. + """ + + # Some sftp servers will choke if you send read/write requests larger than + # this size. + MAX_REQUEST_SIZE = 32768 + + def __init__(self, sftp, handle, mode="r", bufsize=-1): + BufferedFile.__init__(self) + self.sftp = sftp + self.handle = handle + BufferedFile._set_mode(self, mode, bufsize) + self.pipelined = False + self._prefetching = False + self._prefetch_done = False + self._prefetch_data = {} + self._prefetch_extents = {} + self._prefetch_lock = threading.Lock() + self._saved_exception = None + self._reqs = deque() + + def __del__(self): + self._close(async_=True) + + def close(self): + """ + Close the file. + """ + self._close(async_=False) + + def _close(self, async_=False): + # We allow double-close without signaling an error, because real + # Python file objects do. However, we must protect against actually + # sending multiple CMD_CLOSE packets, because after we close our + # handle, the same handle may be re-allocated by the server, and we + # may end up mysteriously closing some random other file. (This is + # especially important because we unconditionally call close() from + # __del__.) + if self._closed: + return + self.sftp._log(DEBUG, "close({})".format(u(hexlify(self.handle)))) + if self.pipelined: + self.sftp._finish_responses(self) + BufferedFile.close(self) + try: + if async_: + # GC'd file handle could be called from an arbitrary thread + # -- don't wait for a response + self.sftp._async_request(type(None), CMD_CLOSE, self.handle) + else: + self.sftp._request(CMD_CLOSE, self.handle) + except EOFError: + # may have outlived the Transport connection + pass + except (IOError, socket.error): + # may have outlived the Transport connection + pass + + def _data_in_prefetch_requests(self, offset, size): + k = [ + x for x in list(self._prefetch_extents.values()) if x[0] <= offset + ] + if len(k) == 0: + return False + k.sort(key=lambda x: x[0]) + buf_offset, buf_size = k[-1] + if buf_offset + buf_size <= offset: + # prefetch request ends before this one begins + return False + if buf_offset + buf_size >= offset + size: + # inclusive + return True + # well, we have part of the request. see if another chunk has + # the rest. + return self._data_in_prefetch_requests( + buf_offset + buf_size, offset + size - buf_offset - buf_size + ) + + def _data_in_prefetch_buffers(self, offset): + """ + if a block of data is present in the prefetch buffers, at the given + offset, return the offset of the relevant prefetch buffer. otherwise, + return None. this guarantees nothing about the number of bytes + collected in the prefetch buffer so far. + """ + k = [i for i in self._prefetch_data.keys() if i <= offset] + if len(k) == 0: + return None + index = max(k) + buf_offset = offset - index + if buf_offset >= len(self._prefetch_data[index]): + # it's not here + return None + return index + + def _read_prefetch(self, size): + """ + read data out of the prefetch buffer, if possible. if the data isn't + in the buffer, return None. otherwise, behaves like a normal read. + """ + # while not closed, and haven't fetched past the current position, + # and haven't reached EOF... + while True: + offset = self._data_in_prefetch_buffers(self._realpos) + if offset is not None: + break + if self._prefetch_done or self._closed: + break + self.sftp._read_response() + self._check_exception() + if offset is None: + self._prefetching = False + return None + prefetch = self._prefetch_data[offset] + del self._prefetch_data[offset] + + buf_offset = self._realpos - offset + if buf_offset > 0: + self._prefetch_data[offset] = prefetch[:buf_offset] + prefetch = prefetch[buf_offset:] + if size < len(prefetch): + self._prefetch_data[self._realpos + size] = prefetch[size:] + prefetch = prefetch[:size] + return prefetch + + def _read(self, size): + size = min(size, self.MAX_REQUEST_SIZE) + if self._prefetching: + data = self._read_prefetch(size) + if data is not None: + return data + t, msg = self.sftp._request( + CMD_READ, self.handle, int64(self._realpos), int(size) + ) + if t != CMD_DATA: + raise SFTPError("Expected data") + return msg.get_string() + + def _write(self, data): + # may write less than requested if it would exceed max packet size + chunk = min(len(data), self.MAX_REQUEST_SIZE) + sftp_async_request = self.sftp._async_request( + type(None), + CMD_WRITE, + self.handle, + int64(self._realpos), + data[:chunk], + ) + self._reqs.append(sftp_async_request) + if not self.pipelined or ( + len(self._reqs) > 100 and self.sftp.sock.recv_ready() + ): + while len(self._reqs): + req = self._reqs.popleft() + t, msg = self.sftp._read_response(req) + if t != CMD_STATUS: + raise SFTPError("Expected status") + # convert_status already called + return chunk + + def settimeout(self, timeout): + """ + Set a timeout on read/write operations on the underlying socket or + ssh `.Channel`. + + :param float timeout: + seconds to wait for a pending read/write operation before raising + ``socket.timeout``, or ``None`` for no timeout + + .. seealso:: `.Channel.settimeout` + """ + self.sftp.sock.settimeout(timeout) + + def gettimeout(self): + """ + Returns the timeout in seconds (as a `float`) associated with the + socket or ssh `.Channel` used for this file. + + .. seealso:: `.Channel.gettimeout` + """ + return self.sftp.sock.gettimeout() + + def setblocking(self, blocking): + """ + Set blocking or non-blocking mode on the underiying socket or ssh + `.Channel`. + + :param int blocking: + 0 to set non-blocking mode; non-0 to set blocking mode. + + .. seealso:: `.Channel.setblocking` + """ + self.sftp.sock.setblocking(blocking) + + def seekable(self): + """ + Check if the file supports random access. + + :return: + `True` if the file supports random access. If `False`, + :meth:`seek` will raise an exception + """ + return True + + def seek(self, offset, whence=0): + """ + Set the file's current position. + + See `file.seek` for details. + """ + self.flush() + if whence == self.SEEK_SET: + self._realpos = self._pos = offset + elif whence == self.SEEK_CUR: + self._pos += offset + self._realpos = self._pos + else: + self._realpos = self._pos = self._get_size() + offset + self._rbuffer = bytes() + + def stat(self): + """ + Retrieve information about this file from the remote system. This is + exactly like `.SFTPClient.stat`, except that it operates on an + already-open file. + + :returns: + an `.SFTPAttributes` object containing attributes about this file. + """ + t, msg = self.sftp._request(CMD_FSTAT, self.handle) + if t != CMD_ATTRS: + raise SFTPError("Expected attributes") + return SFTPAttributes._from_msg(msg) + + def chmod(self, mode): + """ + Change the mode (permissions) of this file. The permissions are + unix-style and identical to those used by Python's `os.chmod` + function. + + :param int mode: new permissions + """ + self.sftp._log( + DEBUG, "chmod({}, {!r})".format(hexlify(self.handle), mode) + ) + attr = SFTPAttributes() + attr.st_mode = mode + self.sftp._request(CMD_FSETSTAT, self.handle, attr) + + def chown(self, uid, gid): + """ + Change the owner (``uid``) and group (``gid``) of this file. As with + Python's `os.chown` function, you must pass both arguments, so if you + only want to change one, use `stat` first to retrieve the current + owner and group. + + :param int uid: new owner's uid + :param int gid: new group id + """ + self.sftp._log( + DEBUG, + "chown({}, {!r}, {!r})".format(hexlify(self.handle), uid, gid), + ) + attr = SFTPAttributes() + attr.st_uid, attr.st_gid = uid, gid + self.sftp._request(CMD_FSETSTAT, self.handle, attr) + + def utime(self, times): + """ + Set the access and modified times of this file. If + ``times`` is ``None``, then the file's access and modified times are + set to the current time. Otherwise, ``times`` must be a 2-tuple of + numbers, of the form ``(atime, mtime)``, which is used to set the + access and modified times, respectively. This bizarre API is mimicked + from Python for the sake of consistency -- I apologize. + + :param tuple times: + ``None`` or a tuple of (access time, modified time) in standard + internet epoch time (seconds since 01 January 1970 GMT) + """ + if times is None: + times = (time.time(), time.time()) + self.sftp._log( + DEBUG, "utime({}, {!r})".format(hexlify(self.handle), times) + ) + attr = SFTPAttributes() + attr.st_atime, attr.st_mtime = times + self.sftp._request(CMD_FSETSTAT, self.handle, attr) + + def truncate(self, size): + """ + Change the size of this file. This usually extends + or shrinks the size of the file, just like the ``truncate()`` method on + Python file objects. + + :param size: the new size of the file + """ + self.sftp._log( + DEBUG, "truncate({}, {!r})".format(hexlify(self.handle), size) + ) + attr = SFTPAttributes() + attr.st_size = size + self.sftp._request(CMD_FSETSTAT, self.handle, attr) + + def check(self, hash_algorithm, offset=0, length=0, block_size=0): + """ + Ask the server for a hash of a section of this file. This can be used + to verify a successful upload or download, or for various rsync-like + operations. + + The file is hashed from ``offset``, for ``length`` bytes. + If ``length`` is 0, the remainder of the file is hashed. Thus, if both + ``offset`` and ``length`` are zero, the entire file is hashed. + + Normally, ``block_size`` will be 0 (the default), and this method will + return a byte string representing the requested hash (for example, a + string of length 16 for MD5, or 20 for SHA-1). If a non-zero + ``block_size`` is given, each chunk of the file (from ``offset`` to + ``offset + length``) of ``block_size`` bytes is computed as a separate + hash. The hash results are all concatenated and returned as a single + string. + + For example, ``check('sha1', 0, 1024, 512)`` will return a string of + length 40. The first 20 bytes will be the SHA-1 of the first 512 bytes + of the file, and the last 20 bytes will be the SHA-1 of the next 512 + bytes. + + :param str hash_algorithm: + the name of the hash algorithm to use (normally ``"sha1"`` or + ``"md5"``) + :param offset: + offset into the file to begin hashing (0 means to start from the + beginning) + :param length: + number of bytes to hash (0 means continue to the end of the file) + :param int block_size: + number of bytes to hash per result (must not be less than 256; 0 + means to compute only one hash of the entire segment) + :return: + `str` of bytes representing the hash of each block, concatenated + together + + :raises: + ``IOError`` -- if the server doesn't support the "check-file" + extension, or possibly doesn't support the hash algorithm requested + + .. note:: Many (most?) servers don't support this extension yet. + + .. versionadded:: 1.4 + """ + t, msg = self.sftp._request( + CMD_EXTENDED, + "check-file", + self.handle, + hash_algorithm, + int64(offset), + int64(length), + block_size, + ) + msg.get_text() # ext + msg.get_text() # alg + data = msg.get_remainder() + return data + + def set_pipelined(self, pipelined=True): + """ + Turn on/off the pipelining of write operations to this file. When + pipelining is on, paramiko won't wait for the server response after + each write operation. Instead, they're collected as they come in. At + the first non-write operation (including `.close`), all remaining + server responses are collected. This means that if there was an error + with one of your later writes, an exception might be thrown from within + `.close` instead of `.write`. + + By default, files are not pipelined. + + :param bool pipelined: + ``True`` if pipelining should be turned on for this file; ``False`` + otherwise + + .. versionadded:: 1.5 + """ + self.pipelined = pipelined + + def prefetch(self, file_size=None, max_concurrent_requests=None): + """ + Pre-fetch the remaining contents of this file in anticipation of future + `.read` calls. If reading the entire file, pre-fetching can + dramatically improve the download speed by avoiding roundtrip latency. + The file's contents are incrementally buffered in a background thread. + + The prefetched data is stored in a buffer until read via the `.read` + method. Once data has been read, it's removed from the buffer. The + data may be read in a random order (using `.seek`); chunks of the + buffer that haven't been read will continue to be buffered. + + :param int file_size: + When this is ``None`` (the default), this method calls `stat` to + determine the remote file size. In some situations, doing so can + cause exceptions or hangs (see `#562 + `_); as a + workaround, one may call `stat` explicitly and pass its value in + via this parameter. + :param int max_concurrent_requests: + The maximum number of concurrent read requests to prefetch. See + `.SFTPClient.get` (its ``max_concurrent_prefetch_requests`` param) + for details. + + .. versionadded:: 1.5.1 + .. versionchanged:: 1.16.0 + The ``file_size`` parameter was added (with no default value). + .. versionchanged:: 1.16.1 + The ``file_size`` parameter was made optional for backwards + compatibility. + .. versionchanged:: 3.3 + Added ``max_concurrent_requests``. + """ + if file_size is None: + file_size = self.stat().st_size + + # queue up async reads for the rest of the file + chunks = [] + n = self._realpos + while n < file_size: + chunk = min(self.MAX_REQUEST_SIZE, file_size - n) + chunks.append((n, chunk)) + n += chunk + if len(chunks) > 0: + self._start_prefetch(chunks, max_concurrent_requests) + + def readv(self, chunks, max_concurrent_prefetch_requests=None): + """ + Read a set of blocks from the file by (offset, length). This is more + efficient than doing a series of `.seek` and `.read` calls, since the + prefetch machinery is used to retrieve all the requested blocks at + once. + + :param chunks: + a list of ``(offset, length)`` tuples indicating which sections of + the file to read + :param int max_concurrent_prefetch_requests: + The maximum number of concurrent read requests to prefetch. See + `.SFTPClient.get` (its ``max_concurrent_prefetch_requests`` param) + for details. + :return: a list of blocks read, in the same order as in ``chunks`` + + .. versionadded:: 1.5.4 + .. versionchanged:: 3.3 + Added ``max_concurrent_prefetch_requests``. + """ + self.sftp._log( + DEBUG, "readv({}, {!r})".format(hexlify(self.handle), chunks) + ) + + read_chunks = [] + for offset, size in chunks: + # don't fetch data that's already in the prefetch buffer + if self._data_in_prefetch_buffers( + offset + ) or self._data_in_prefetch_requests(offset, size): + continue + + # break up anything larger than the max read size + while size > 0: + chunk_size = min(size, self.MAX_REQUEST_SIZE) + read_chunks.append((offset, chunk_size)) + offset += chunk_size + size -= chunk_size + + self._start_prefetch(read_chunks, max_concurrent_prefetch_requests) + # now we can just devolve to a bunch of read()s :) + for x in chunks: + self.seek(x[0]) + yield self.read(x[1]) + + # ...internals... + + def _get_size(self): + try: + return self.stat().st_size + except: + return 0 + + def _start_prefetch(self, chunks, max_concurrent_requests=None): + self._prefetching = True + self._prefetch_done = False + + t = threading.Thread( + target=self._prefetch_thread, + args=(chunks, max_concurrent_requests), + ) + t.daemon = True + t.start() + + def _prefetch_thread(self, chunks, max_concurrent_requests): + # do these read requests in a temporary thread because there may be + # a lot of them, so it may block. + for offset, length in chunks: + # Limit the number of concurrent requests in a busy-loop + if max_concurrent_requests is not None: + while True: + with self._prefetch_lock: + pf_len = len(self._prefetch_extents) + if pf_len < max_concurrent_requests: + break + time.sleep(io_sleep) + + num = self.sftp._async_request( + self, CMD_READ, self.handle, int64(offset), int(length) + ) + with self._prefetch_lock: + self._prefetch_extents[num] = (offset, length) + + def _async_response(self, t, msg, num): + if t == CMD_STATUS: + # save exception and re-raise it on next file operation + try: + self.sftp._convert_status(msg) + except Exception as e: + self._saved_exception = e + return + if t != CMD_DATA: + raise SFTPError("Expected data") + data = msg.get_string() + while True: + with self._prefetch_lock: + # spin if in race with _prefetch_thread + if num in self._prefetch_extents: + offset, length = self._prefetch_extents[num] + self._prefetch_data[offset] = data + del self._prefetch_extents[num] + if len(self._prefetch_extents) == 0: + self._prefetch_done = True + break + + def _check_exception(self): + """if there's a saved exception, raise & clear it""" + if self._saved_exception is not None: + x = self._saved_exception + self._saved_exception = None + raise x diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_handle.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_handle.py new file mode 100644 index 0000000000000000000000000000000000000000..b20465260684008413600f10509b00fa80739c04 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_handle.py @@ -0,0 +1,196 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Abstraction of an SFTP file handle (for server mode). +""" + +import os +from paramiko.sftp import SFTP_OP_UNSUPPORTED, SFTP_OK +from paramiko.util import ClosingContextManager + + +class SFTPHandle(ClosingContextManager): + """ + Abstract object representing a handle to an open file (or folder) in an + SFTP server implementation. Each handle has a string representation used + by the client to refer to the underlying file. + + Server implementations can (and should) subclass SFTPHandle to implement + features of a file handle, like `stat` or `chattr`. + + Instances of this class may be used as context managers. + """ + + def __init__(self, flags=0): + """ + Create a new file handle representing a local file being served over + SFTP. If ``flags`` is passed in, it's used to determine if the file + is open in append mode. + + :param int flags: optional flags as passed to + `.SFTPServerInterface.open` + """ + self.__flags = flags + self.__name = None + # only for handles to folders: + self.__files = {} + self.__tell = None + + def close(self): + """ + When a client closes a file, this method is called on the handle. + Normally you would use this method to close the underlying OS level + file object(s). + + The default implementation checks for attributes on ``self`` named + ``readfile`` and/or ``writefile``, and if either or both are present, + their ``close()`` methods are called. This means that if you are + using the default implementations of `read` and `write`, this + method's default implementation should be fine also. + """ + readfile = getattr(self, "readfile", None) + if readfile is not None: + readfile.close() + writefile = getattr(self, "writefile", None) + if writefile is not None: + writefile.close() + + def read(self, offset, length): + """ + Read up to ``length`` bytes from this file, starting at position + ``offset``. The offset may be a Python long, since SFTP allows it + to be 64 bits. + + If the end of the file has been reached, this method may return an + empty string to signify EOF, or it may also return ``SFTP_EOF``. + + The default implementation checks for an attribute on ``self`` named + ``readfile``, and if present, performs the read operation on the Python + file-like object found there. (This is meant as a time saver for the + common case where you are wrapping a Python file object.) + + :param offset: position in the file to start reading from. + :param int length: number of bytes to attempt to read. + :return: the `bytes` read, or an error code `int`. + """ + readfile = getattr(self, "readfile", None) + if readfile is None: + return SFTP_OP_UNSUPPORTED + try: + if self.__tell is None: + self.__tell = readfile.tell() + if offset != self.__tell: + readfile.seek(offset) + self.__tell = offset + data = readfile.read(length) + except IOError as e: + self.__tell = None + return SFTPServer.convert_errno(e.errno) + self.__tell += len(data) + return data + + def write(self, offset, data): + """ + Write ``data`` into this file at position ``offset``. Extending the + file past its original end is expected. Unlike Python's normal + ``write()`` methods, this method cannot do a partial write: it must + write all of ``data`` or else return an error. + + The default implementation checks for an attribute on ``self`` named + ``writefile``, and if present, performs the write operation on the + Python file-like object found there. The attribute is named + differently from ``readfile`` to make it easy to implement read-only + (or write-only) files, but if both attributes are present, they should + refer to the same file. + + :param offset: position in the file to start reading from. + :param bytes data: data to write into the file. + :return: an SFTP error code like ``SFTP_OK``. + """ + writefile = getattr(self, "writefile", None) + if writefile is None: + return SFTP_OP_UNSUPPORTED + try: + # in append mode, don't care about seeking + if (self.__flags & os.O_APPEND) == 0: + if self.__tell is None: + self.__tell = writefile.tell() + if offset != self.__tell: + writefile.seek(offset) + self.__tell = offset + writefile.write(data) + writefile.flush() + except IOError as e: + self.__tell = None + return SFTPServer.convert_errno(e.errno) + if self.__tell is not None: + self.__tell += len(data) + return SFTP_OK + + def stat(self): + """ + Return an `.SFTPAttributes` object referring to this open file, or an + error code. This is equivalent to `.SFTPServerInterface.stat`, except + it's called on an open file instead of a path. + + :return: + an attributes object for the given file, or an SFTP error code + (like ``SFTP_PERMISSION_DENIED``). + :rtype: `.SFTPAttributes` or error code + """ + return SFTP_OP_UNSUPPORTED + + def chattr(self, attr): + """ + Change the attributes of this file. The ``attr`` object will contain + only those fields provided by the client in its request, so you should + check for the presence of fields before using them. + + :param .SFTPAttributes attr: the attributes to change on this file. + :return: an `int` error code like ``SFTP_OK``. + """ + return SFTP_OP_UNSUPPORTED + + # ...internals... + + def _set_files(self, files): + """ + Used by the SFTP server code to cache a directory listing. (In + the SFTP protocol, listing a directory is a multi-stage process + requiring a temporary handle.) + """ + self.__files = files + + def _get_next_files(self): + """ + Used by the SFTP server code to retrieve a cached directory + listing. + """ + fnlist = self.__files[:16] + self.__files = self.__files[16:] + return fnlist + + def _get_name(self): + return self.__name + + def _set_name(self, name): + self.__name = name + + +from paramiko.sftp_server import SFTPServer diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_server.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_server.py new file mode 100644 index 0000000000000000000000000000000000000000..cd3910dcb9b1a99cb719edc71f4381f7cbd70a1f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_server.py @@ -0,0 +1,537 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Server-mode SFTP support. +""" + +import os +import errno +import sys +from hashlib import md5, sha1 + +from paramiko import util +from paramiko.sftp import ( + BaseSFTP, + Message, + SFTP_FAILURE, + SFTP_PERMISSION_DENIED, + SFTP_NO_SUCH_FILE, + int64, +) +from paramiko.sftp_si import SFTPServerInterface +from paramiko.sftp_attr import SFTPAttributes +from paramiko.common import DEBUG +from paramiko.server import SubsystemHandler +from paramiko.util import b + + +# known hash algorithms for the "check-file" extension +from paramiko.sftp import ( + CMD_HANDLE, + SFTP_DESC, + CMD_STATUS, + SFTP_EOF, + CMD_NAME, + SFTP_BAD_MESSAGE, + CMD_EXTENDED_REPLY, + SFTP_FLAG_READ, + SFTP_FLAG_WRITE, + SFTP_FLAG_APPEND, + SFTP_FLAG_CREATE, + SFTP_FLAG_TRUNC, + SFTP_FLAG_EXCL, + CMD_NAMES, + CMD_OPEN, + CMD_CLOSE, + SFTP_OK, + CMD_READ, + CMD_DATA, + CMD_WRITE, + CMD_REMOVE, + CMD_RENAME, + CMD_MKDIR, + CMD_RMDIR, + CMD_OPENDIR, + CMD_READDIR, + CMD_STAT, + CMD_ATTRS, + CMD_LSTAT, + CMD_FSTAT, + CMD_SETSTAT, + CMD_FSETSTAT, + CMD_READLINK, + CMD_SYMLINK, + CMD_REALPATH, + CMD_EXTENDED, + SFTP_OP_UNSUPPORTED, +) + +_hash_class = {"sha1": sha1, "md5": md5} + + +class SFTPServer(BaseSFTP, SubsystemHandler): + """ + Server-side SFTP subsystem support. Since this is a `.SubsystemHandler`, + it can be (and is meant to be) set as the handler for ``"sftp"`` requests. + Use `.Transport.set_subsystem_handler` to activate this class. + """ + + def __init__( + self, + channel, + name, + server, + sftp_si=SFTPServerInterface, + *args, + **kwargs + ): + """ + The constructor for SFTPServer is meant to be called from within the + `.Transport` as a subsystem handler. ``server`` and any additional + parameters or keyword parameters are passed from the original call to + `.Transport.set_subsystem_handler`. + + :param .Channel channel: channel passed from the `.Transport`. + :param str name: name of the requested subsystem. + :param .ServerInterface server: + the server object associated with this channel and subsystem + :param sftp_si: + a subclass of `.SFTPServerInterface` to use for handling individual + requests. + """ + BaseSFTP.__init__(self) + SubsystemHandler.__init__(self, channel, name, server) + transport = channel.get_transport() + self.logger = util.get_logger(transport.get_log_channel() + ".sftp") + self.ultra_debug = transport.get_hexdump() + self.next_handle = 1 + # map of handle-string to SFTPHandle for files & folders: + self.file_table = {} + self.folder_table = {} + self.server = sftp_si(server, *args, **kwargs) + + def _log(self, level, msg): + if issubclass(type(msg), list): + for m in msg: + super()._log(level, "[chan " + self.sock.get_name() + "] " + m) + else: + super()._log(level, "[chan " + self.sock.get_name() + "] " + msg) + + def start_subsystem(self, name, transport, channel): + self.sock = channel + self._log(DEBUG, "Started sftp server on channel {!r}".format(channel)) + self._send_server_version() + self.server.session_started() + while True: + try: + t, data = self._read_packet() + except EOFError: + self._log(DEBUG, "EOF -- end of session") + return + except Exception as e: + self._log(DEBUG, "Exception on channel: " + str(e)) + self._log(DEBUG, util.tb_strings()) + return + msg = Message(data) + request_number = msg.get_int() + try: + self._process(t, request_number, msg) + except Exception as e: + self._log(DEBUG, "Exception in server processing: " + str(e)) + self._log(DEBUG, util.tb_strings()) + # send some kind of failure message, at least + try: + self._send_status(request_number, SFTP_FAILURE) + except: + pass + + def finish_subsystem(self): + self.server.session_ended() + super().finish_subsystem() + # close any file handles that were left open + # (so we can return them to the OS quickly) + for f in self.file_table.values(): + f.close() + for f in self.folder_table.values(): + f.close() + self.file_table = {} + self.folder_table = {} + + @staticmethod + def convert_errno(e): + """ + Convert an errno value (as from an ``OSError`` or ``IOError``) into a + standard SFTP result code. This is a convenience function for trapping + exceptions in server code and returning an appropriate result. + + :param int e: an errno code, as from ``OSError.errno``. + :return: an `int` SFTP error code like ``SFTP_NO_SUCH_FILE``. + """ + if e == errno.EACCES: + # permission denied + return SFTP_PERMISSION_DENIED + elif (e == errno.ENOENT) or (e == errno.ENOTDIR): + # no such file + return SFTP_NO_SUCH_FILE + else: + return SFTP_FAILURE + + @staticmethod + def set_file_attr(filename, attr): + """ + Change a file's attributes on the local filesystem. The contents of + ``attr`` are used to change the permissions, owner, group ownership, + and/or modification & access time of the file, depending on which + attributes are present in ``attr``. + + This is meant to be a handy helper function for translating SFTP file + requests into local file operations. + + :param str filename: + name of the file to alter (should usually be an absolute path). + :param .SFTPAttributes attr: attributes to change. + """ + if sys.platform != "win32": + # mode operations are meaningless on win32 + if attr._flags & attr.FLAG_PERMISSIONS: + os.chmod(filename, attr.st_mode) + if attr._flags & attr.FLAG_UIDGID: + os.chown(filename, attr.st_uid, attr.st_gid) + if attr._flags & attr.FLAG_AMTIME: + os.utime(filename, (attr.st_atime, attr.st_mtime)) + if attr._flags & attr.FLAG_SIZE: + with open(filename, "w+") as f: + f.truncate(attr.st_size) + + # ...internals... + + def _response(self, request_number, t, *args): + msg = Message() + msg.add_int(request_number) + for item in args: + # NOTE: this is a very silly tiny class used for SFTPFile mostly + if isinstance(item, int64): + msg.add_int64(item) + elif isinstance(item, int): + msg.add_int(item) + elif isinstance(item, (str, bytes)): + msg.add_string(item) + elif type(item) is SFTPAttributes: + item._pack(msg) + else: + raise Exception( + "unknown type for {!r} type {!r}".format(item, type(item)) + ) + self._send_packet(t, msg) + + def _send_handle_response(self, request_number, handle, folder=False): + if not issubclass(type(handle), SFTPHandle): + # must be error code + self._send_status(request_number, handle) + return + handle._set_name(b("hx{:d}".format(self.next_handle))) + self.next_handle += 1 + if folder: + self.folder_table[handle._get_name()] = handle + else: + self.file_table[handle._get_name()] = handle + self._response(request_number, CMD_HANDLE, handle._get_name()) + + def _send_status(self, request_number, code, desc=None): + if desc is None: + try: + desc = SFTP_DESC[code] + except IndexError: + desc = "Unknown" + # some clients expect a "language" tag at the end + # (but don't mind it being blank) + self._response(request_number, CMD_STATUS, code, desc, "") + + def _open_folder(self, request_number, path): + resp = self.server.list_folder(path) + if issubclass(type(resp), list): + # got an actual list of filenames in the folder + folder = SFTPHandle() + folder._set_files(resp) + self._send_handle_response(request_number, folder, True) + return + # must be an error code + self._send_status(request_number, resp) + + def _read_folder(self, request_number, folder): + flist = folder._get_next_files() + if len(flist) == 0: + self._send_status(request_number, SFTP_EOF) + return + msg = Message() + msg.add_int(request_number) + msg.add_int(len(flist)) + for attr in flist: + msg.add_string(attr.filename) + msg.add_string(attr) + attr._pack(msg) + self._send_packet(CMD_NAME, msg) + + def _check_file(self, request_number, msg): + # this extension actually comes from v6 protocol, but since it's an + # extension, i feel like we can reasonably support it backported. + # it's very useful for verifying uploaded files or checking for + # rsync-like differences between local and remote files. + handle = msg.get_binary() + alg_list = msg.get_list() + start = msg.get_int64() + length = msg.get_int64() + block_size = msg.get_int() + if handle not in self.file_table: + self._send_status( + request_number, SFTP_BAD_MESSAGE, "Invalid handle" + ) + return + f = self.file_table[handle] + for x in alg_list: + if x in _hash_class: + algname = x + alg = _hash_class[x] + break + else: + self._send_status( + request_number, SFTP_FAILURE, "No supported hash types found" + ) + return + if length == 0: + st = f.stat() + if not issubclass(type(st), SFTPAttributes): + self._send_status(request_number, st, "Unable to stat file") + return + length = st.st_size - start + if block_size == 0: + block_size = length + if block_size < 256: + self._send_status( + request_number, SFTP_FAILURE, "Block size too small" + ) + return + + sum_out = bytes() + offset = start + while offset < start + length: + blocklen = min(block_size, start + length - offset) + # don't try to read more than about 64KB at a time + chunklen = min(blocklen, 65536) + count = 0 + hash_obj = alg() + while count < blocklen: + data = f.read(offset, chunklen) + if not isinstance(data, bytes): + self._send_status( + request_number, data, "Unable to hash file" + ) + return + hash_obj.update(data) + count += len(data) + offset += count + sum_out += hash_obj.digest() + + msg = Message() + msg.add_int(request_number) + msg.add_string("check-file") + msg.add_string(algname) + msg.add_bytes(sum_out) + self._send_packet(CMD_EXTENDED_REPLY, msg) + + def _convert_pflags(self, pflags): + """convert SFTP-style open() flags to Python's os.open() flags""" + if (pflags & SFTP_FLAG_READ) and (pflags & SFTP_FLAG_WRITE): + flags = os.O_RDWR + elif pflags & SFTP_FLAG_WRITE: + flags = os.O_WRONLY + else: + flags = os.O_RDONLY + if pflags & SFTP_FLAG_APPEND: + flags |= os.O_APPEND + if pflags & SFTP_FLAG_CREATE: + flags |= os.O_CREAT + if pflags & SFTP_FLAG_TRUNC: + flags |= os.O_TRUNC + if pflags & SFTP_FLAG_EXCL: + flags |= os.O_EXCL + return flags + + def _process(self, t, request_number, msg): + self._log(DEBUG, "Request: {}".format(CMD_NAMES[t])) + if t == CMD_OPEN: + path = msg.get_text() + flags = self._convert_pflags(msg.get_int()) + attr = SFTPAttributes._from_msg(msg) + self._send_handle_response( + request_number, self.server.open(path, flags, attr) + ) + elif t == CMD_CLOSE: + handle = msg.get_binary() + if handle in self.folder_table: + del self.folder_table[handle] + self._send_status(request_number, SFTP_OK) + return + if handle in self.file_table: + self.file_table[handle].close() + del self.file_table[handle] + self._send_status(request_number, SFTP_OK) + return + self._send_status( + request_number, SFTP_BAD_MESSAGE, "Invalid handle" + ) + elif t == CMD_READ: + handle = msg.get_binary() + offset = msg.get_int64() + length = msg.get_int() + if handle not in self.file_table: + self._send_status( + request_number, SFTP_BAD_MESSAGE, "Invalid handle" + ) + return + data = self.file_table[handle].read(offset, length) + if isinstance(data, (bytes, str)): + if len(data) == 0: + self._send_status(request_number, SFTP_EOF) + else: + self._response(request_number, CMD_DATA, data) + else: + self._send_status(request_number, data) + elif t == CMD_WRITE: + handle = msg.get_binary() + offset = msg.get_int64() + data = msg.get_binary() + if handle not in self.file_table: + self._send_status( + request_number, SFTP_BAD_MESSAGE, "Invalid handle" + ) + return + self._send_status( + request_number, self.file_table[handle].write(offset, data) + ) + elif t == CMD_REMOVE: + path = msg.get_text() + self._send_status(request_number, self.server.remove(path)) + elif t == CMD_RENAME: + oldpath = msg.get_text() + newpath = msg.get_text() + self._send_status( + request_number, self.server.rename(oldpath, newpath) + ) + elif t == CMD_MKDIR: + path = msg.get_text() + attr = SFTPAttributes._from_msg(msg) + self._send_status(request_number, self.server.mkdir(path, attr)) + elif t == CMD_RMDIR: + path = msg.get_text() + self._send_status(request_number, self.server.rmdir(path)) + elif t == CMD_OPENDIR: + path = msg.get_text() + self._open_folder(request_number, path) + return + elif t == CMD_READDIR: + handle = msg.get_binary() + if handle not in self.folder_table: + self._send_status( + request_number, SFTP_BAD_MESSAGE, "Invalid handle" + ) + return + folder = self.folder_table[handle] + self._read_folder(request_number, folder) + elif t == CMD_STAT: + path = msg.get_text() + resp = self.server.stat(path) + if issubclass(type(resp), SFTPAttributes): + self._response(request_number, CMD_ATTRS, resp) + else: + self._send_status(request_number, resp) + elif t == CMD_LSTAT: + path = msg.get_text() + resp = self.server.lstat(path) + if issubclass(type(resp), SFTPAttributes): + self._response(request_number, CMD_ATTRS, resp) + else: + self._send_status(request_number, resp) + elif t == CMD_FSTAT: + handle = msg.get_binary() + if handle not in self.file_table: + self._send_status( + request_number, SFTP_BAD_MESSAGE, "Invalid handle" + ) + return + resp = self.file_table[handle].stat() + if issubclass(type(resp), SFTPAttributes): + self._response(request_number, CMD_ATTRS, resp) + else: + self._send_status(request_number, resp) + elif t == CMD_SETSTAT: + path = msg.get_text() + attr = SFTPAttributes._from_msg(msg) + self._send_status(request_number, self.server.chattr(path, attr)) + elif t == CMD_FSETSTAT: + handle = msg.get_binary() + attr = SFTPAttributes._from_msg(msg) + if handle not in self.file_table: + self._response( + request_number, SFTP_BAD_MESSAGE, "Invalid handle" + ) + return + self._send_status( + request_number, self.file_table[handle].chattr(attr) + ) + elif t == CMD_READLINK: + path = msg.get_text() + resp = self.server.readlink(path) + if isinstance(resp, (bytes, str)): + self._response( + request_number, CMD_NAME, 1, resp, "", SFTPAttributes() + ) + else: + self._send_status(request_number, resp) + elif t == CMD_SYMLINK: + # the sftp 2 draft is incorrect here! + # path always follows target_path + target_path = msg.get_text() + path = msg.get_text() + self._send_status( + request_number, self.server.symlink(target_path, path) + ) + elif t == CMD_REALPATH: + path = msg.get_text() + rpath = self.server.canonicalize(path) + self._response( + request_number, CMD_NAME, 1, rpath, "", SFTPAttributes() + ) + elif t == CMD_EXTENDED: + tag = msg.get_text() + if tag == "check-file": + self._check_file(request_number, msg) + elif tag == "posix-rename@openssh.com": + oldpath = msg.get_text() + newpath = msg.get_text() + self._send_status( + request_number, self.server.posix_rename(oldpath, newpath) + ) + else: + self._send_status(request_number, SFTP_OP_UNSUPPORTED) + else: + self._send_status(request_number, SFTP_OP_UNSUPPORTED) + + +from paramiko.sftp_handle import SFTPHandle diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_si.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_si.py new file mode 100644 index 0000000000000000000000000000000000000000..72b5db940bfc8f2527e9a1b3d0d762167dd064e3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/sftp_si.py @@ -0,0 +1,316 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +An interface to override for SFTP server support. +""" + +import os +import sys +from paramiko.sftp import SFTP_OP_UNSUPPORTED + + +class SFTPServerInterface: + """ + This class defines an interface for controlling the behavior of paramiko + when using the `.SFTPServer` subsystem to provide an SFTP server. + + Methods on this class are called from the SFTP session's thread, so you can + block as long as necessary without affecting other sessions (even other + SFTP sessions). However, raising an exception will usually cause the SFTP + session to abruptly end, so you will usually want to catch exceptions and + return an appropriate error code. + + All paths are in string form instead of unicode because not all SFTP + clients & servers obey the requirement that paths be encoded in UTF-8. + """ + + def __init__(self, server, *args, **kwargs): + """ + Create a new SFTPServerInterface object. This method does nothing by + default and is meant to be overridden by subclasses. + + :param .ServerInterface server: + the server object associated with this channel and SFTP subsystem + """ + super().__init__(*args, **kwargs) + + def session_started(self): + """ + The SFTP server session has just started. This method is meant to be + overridden to perform any necessary setup before handling callbacks + from SFTP operations. + """ + pass + + def session_ended(self): + """ + The SFTP server session has just ended, either cleanly or via an + exception. This method is meant to be overridden to perform any + necessary cleanup before this `.SFTPServerInterface` object is + destroyed. + """ + pass + + def open(self, path, flags, attr): + """ + Open a file on the server and create a handle for future operations + on that file. On success, a new object subclassed from `.SFTPHandle` + should be returned. This handle will be used for future operations + on the file (read, write, etc). On failure, an error code such as + ``SFTP_PERMISSION_DENIED`` should be returned. + + ``flags`` contains the requested mode for opening (read-only, + write-append, etc) as a bitset of flags from the ``os`` module: + + - ``os.O_RDONLY`` + - ``os.O_WRONLY`` + - ``os.O_RDWR`` + - ``os.O_APPEND`` + - ``os.O_CREAT`` + - ``os.O_TRUNC`` + - ``os.O_EXCL`` + + (One of ``os.O_RDONLY``, ``os.O_WRONLY``, or ``os.O_RDWR`` will always + be set.) + + The ``attr`` object contains requested attributes of the file if it + has to be created. Some or all attribute fields may be missing if + the client didn't specify them. + + .. note:: The SFTP protocol defines all files to be in "binary" mode. + There is no equivalent to Python's "text" mode. + + :param str path: + the requested path (relative or absolute) of the file to be opened. + :param int flags: + flags or'd together from the ``os`` module indicating the requested + mode for opening the file. + :param .SFTPAttributes attr: + requested attributes of the file if it is newly created. + :return: a new `.SFTPHandle` or error code. + """ + return SFTP_OP_UNSUPPORTED + + def list_folder(self, path): + """ + Return a list of files within a given folder. The ``path`` will use + posix notation (``"/"`` separates folder names) and may be an absolute + or relative path. + + The list of files is expected to be a list of `.SFTPAttributes` + objects, which are similar in structure to the objects returned by + ``os.stat``. In addition, each object should have its ``filename`` + field filled in, since this is important to a directory listing and + not normally present in ``os.stat`` results. The method + `.SFTPAttributes.from_stat` will usually do what you want. + + In case of an error, you should return one of the ``SFTP_*`` error + codes, such as ``SFTP_PERMISSION_DENIED``. + + :param str path: the requested path (relative or absolute) to be + listed. + :return: + a list of the files in the given folder, using `.SFTPAttributes` + objects. + + .. note:: + You should normalize the given ``path`` first (see the `os.path` + module) and check appropriate permissions before returning the list + of files. Be careful of malicious clients attempting to use + relative paths to escape restricted folders, if you're doing a + direct translation from the SFTP server path to your local + filesystem. + """ + return SFTP_OP_UNSUPPORTED + + def stat(self, path): + """ + Return an `.SFTPAttributes` object for a path on the server, or an + error code. If your server supports symbolic links (also known as + "aliases"), you should follow them. (`lstat` is the corresponding + call that doesn't follow symlinks/aliases.) + + :param str path: + the requested path (relative or absolute) to fetch file statistics + for. + :return: + an `.SFTPAttributes` object for the given file, or an SFTP error + code (like ``SFTP_PERMISSION_DENIED``). + """ + return SFTP_OP_UNSUPPORTED + + def lstat(self, path): + """ + Return an `.SFTPAttributes` object for a path on the server, or an + error code. If your server supports symbolic links (also known as + "aliases"), you should not follow them -- instead, you should + return data on the symlink or alias itself. (`stat` is the + corresponding call that follows symlinks/aliases.) + + :param str path: + the requested path (relative or absolute) to fetch file statistics + for. + :type path: str + :return: + an `.SFTPAttributes` object for the given file, or an SFTP error + code (like ``SFTP_PERMISSION_DENIED``). + """ + return SFTP_OP_UNSUPPORTED + + def remove(self, path): + """ + Delete a file, if possible. + + :param str path: + the requested path (relative or absolute) of the file to delete. + :return: an SFTP error code `int` like ``SFTP_OK``. + """ + return SFTP_OP_UNSUPPORTED + + def rename(self, oldpath, newpath): + """ + Rename (or move) a file. The SFTP specification implies that this + method can be used to move an existing file into a different folder, + and since there's no other (easy) way to move files via SFTP, it's + probably a good idea to implement "move" in this method too, even for + files that cross disk partition boundaries, if at all possible. + + .. note:: You should return an error if a file with the same name as + ``newpath`` already exists. (The rename operation should be + non-desctructive.) + + .. note:: + This method implements 'standard' SFTP ``RENAME`` behavior; those + seeking the OpenSSH "POSIX rename" extension behavior should use + `posix_rename`. + + :param str oldpath: + the requested path (relative or absolute) of the existing file. + :param str newpath: the requested new path of the file. + :return: an SFTP error code `int` like ``SFTP_OK``. + """ + return SFTP_OP_UNSUPPORTED + + def posix_rename(self, oldpath, newpath): + """ + Rename (or move) a file, following posix conventions. If newpath + already exists, it will be overwritten. + + :param str oldpath: + the requested path (relative or absolute) of the existing file. + :param str newpath: the requested new path of the file. + :return: an SFTP error code `int` like ``SFTP_OK``. + + :versionadded: 2.2 + """ + return SFTP_OP_UNSUPPORTED + + def mkdir(self, path, attr): + """ + Create a new directory with the given attributes. The ``attr`` + object may be considered a "hint" and ignored. + + The ``attr`` object will contain only those fields provided by the + client in its request, so you should use ``hasattr`` to check for + the presence of fields before using them. In some cases, the ``attr`` + object may be completely empty. + + :param str path: + requested path (relative or absolute) of the new folder. + :param .SFTPAttributes attr: requested attributes of the new folder. + :return: an SFTP error code `int` like ``SFTP_OK``. + """ + return SFTP_OP_UNSUPPORTED + + def rmdir(self, path): + """ + Remove a directory if it exists. The ``path`` should refer to an + existing, empty folder -- otherwise this method should return an + error. + + :param str path: + requested path (relative or absolute) of the folder to remove. + :return: an SFTP error code `int` like ``SFTP_OK``. + """ + return SFTP_OP_UNSUPPORTED + + def chattr(self, path, attr): + """ + Change the attributes of a file. The ``attr`` object will contain + only those fields provided by the client in its request, so you + should check for the presence of fields before using them. + + :param str path: + requested path (relative or absolute) of the file to change. + :param attr: + requested attributes to change on the file (an `.SFTPAttributes` + object) + :return: an error code `int` like ``SFTP_OK``. + """ + return SFTP_OP_UNSUPPORTED + + def canonicalize(self, path): + """ + Return the canonical form of a path on the server. For example, + if the server's home folder is ``/home/foo``, the path + ``"../betty"`` would be canonicalized to ``"/home/betty"``. Note + the obvious security issues: if you're serving files only from a + specific folder, you probably don't want this method to reveal path + names outside that folder. + + You may find the Python methods in ``os.path`` useful, especially + ``os.path.normpath`` and ``os.path.realpath``. + + The default implementation returns ``os.path.normpath('/' + path)``. + """ + if os.path.isabs(path): + out = os.path.normpath(path) + else: + out = os.path.normpath("/" + path) + if sys.platform == "win32": + # on windows, normalize backslashes to sftp/posix format + out = out.replace("\\", "/") + return out + + def readlink(self, path): + """ + Return the target of a symbolic link (or shortcut) on the server. + If the specified path doesn't refer to a symbolic link, an error + should be returned. + + :param str path: path (relative or absolute) of the symbolic link. + :return: + the target `str` path of the symbolic link, or an error code like + ``SFTP_NO_SUCH_FILE``. + """ + return SFTP_OP_UNSUPPORTED + + def symlink(self, target_path, path): + """ + Create a symbolic link on the server, as new pathname ``path``, + with ``target_path`` as the target of the link. + + :param str target_path: + path (relative or absolute) of the target for this new symbolic + link. + :param str path: + path (relative or absolute) of the symbolic link to create. + :return: an error code `int` like ``SFTP_OK``. + """ + return SFTP_OP_UNSUPPORTED diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ssh_exception.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ssh_exception.py new file mode 100644 index 0000000000000000000000000000000000000000..a1e1cfc39dd516c641fc94579e6e2a9969417cc1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ssh_exception.py @@ -0,0 +1,240 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +import socket + + +class SSHException(Exception): + """ + Exception raised by failures in SSH2 protocol negotiation or logic errors. + """ + + pass + + +class AuthenticationException(SSHException): + """ + Exception raised when authentication failed for some reason. It may be + possible to retry with different credentials. (Other classes specify more + specific reasons.) + + .. versionadded:: 1.6 + """ + + pass + + +class PasswordRequiredException(AuthenticationException): + """ + Exception raised when a password is needed to unlock a private key file. + """ + + pass + + +class BadAuthenticationType(AuthenticationException): + """ + Exception raised when an authentication type (like password) is used, but + the server isn't allowing that type. (It may only allow public-key, for + example.) + + .. versionadded:: 1.1 + """ + + allowed_types = [] + + # TODO 4.0: remove explanation kwarg + def __init__(self, explanation, types): + # TODO 4.0: remove this supercall unless it's actually required for + # pickling (after fixing pickling) + AuthenticationException.__init__(self, explanation, types) + self.explanation = explanation + self.allowed_types = types + + def __str__(self): + return "{}; allowed types: {!r}".format( + self.explanation, self.allowed_types + ) + + +class PartialAuthentication(AuthenticationException): + """ + An internal exception thrown in the case of partial authentication. + """ + + allowed_types = [] + + def __init__(self, types): + AuthenticationException.__init__(self, types) + self.allowed_types = types + + def __str__(self): + return "Partial authentication; allowed types: {!r}".format( + self.allowed_types + ) + + +# TODO 4.0: stop inheriting from SSHException, move to auth.py +class UnableToAuthenticate(AuthenticationException): + pass + + +class ChannelException(SSHException): + """ + Exception raised when an attempt to open a new `.Channel` fails. + + :param int code: the error code returned by the server + + .. versionadded:: 1.6 + """ + + def __init__(self, code, text): + SSHException.__init__(self, code, text) + self.code = code + self.text = text + + def __str__(self): + return "ChannelException({!r}, {!r})".format(self.code, self.text) + + +class BadHostKeyException(SSHException): + """ + The host key given by the SSH server did not match what we were expecting. + + :param str hostname: the hostname of the SSH server + :param PKey got_key: the host key presented by the server + :param PKey expected_key: the host key expected + + .. versionadded:: 1.6 + """ + + def __init__(self, hostname, got_key, expected_key): + SSHException.__init__(self, hostname, got_key, expected_key) + self.hostname = hostname + self.key = got_key + self.expected_key = expected_key + + def __str__(self): + msg = "Host key for server '{}' does not match: got '{}', expected '{}'" # noqa + return msg.format( + self.hostname, + self.key.get_base64(), + self.expected_key.get_base64(), + ) + + +class IncompatiblePeer(SSHException): + """ + A disagreement arose regarding an algorithm required for key exchange. + + .. versionadded:: 2.9 + """ + + # TODO 4.0: consider making this annotate w/ 1..N 'missing' algorithms, + # either just the first one that would halt kex, or even updating the + # Transport logic so we record /all/ that /could/ halt kex. + # TODO: update docstrings where this may end up raised so they are more + # specific. + pass + + +class ProxyCommandFailure(SSHException): + """ + The "ProxyCommand" found in the .ssh/config file returned an error. + + :param str command: The command line that is generating this exception. + :param str error: The error captured from the proxy command output. + """ + + def __init__(self, command, error): + SSHException.__init__(self, command, error) + self.command = command + self.error = error + + def __str__(self): + return 'ProxyCommand("{}") returned nonzero exit status: {}'.format( + self.command, self.error + ) + + +class NoValidConnectionsError(socket.error): + """ + Multiple connection attempts were made and no families succeeded. + + This exception class wraps multiple "real" underlying connection errors, + all of which represent failed connection attempts. Because these errors are + not guaranteed to all be of the same error type (i.e. different errno, + `socket.error` subclass, message, etc) we expose a single unified error + message and a ``None`` errno so that instances of this class match most + normal handling of `socket.error` objects. + + To see the wrapped exception objects, access the ``errors`` attribute. + ``errors`` is a dict whose keys are address tuples (e.g. ``('127.0.0.1', + 22)``) and whose values are the exception encountered trying to connect to + that address. + + It is implied/assumed that all the errors given to a single instance of + this class are from connecting to the same hostname + port (and thus that + the differences are in the resolution of the hostname - e.g. IPv4 vs v6). + + .. versionadded:: 1.16 + """ + + def __init__(self, errors): + """ + :param dict errors: + The errors dict to store, as described by class docstring. + """ + addrs = sorted(errors.keys()) + body = ", ".join([x[0] for x in addrs[:-1]]) + tail = addrs[-1][0] + if body: + msg = "Unable to connect to port {0} on {1} or {2}" + else: + msg = "Unable to connect to port {0} on {2}" + super().__init__( + None, msg.format(addrs[0][1], body, tail) # stand-in for errno + ) + self.errors = errors + + def __reduce__(self): + return (self.__class__, (self.errors,)) + + +class CouldNotCanonicalize(SSHException): + """ + Raised when hostname canonicalization fails & fallback is disabled. + + .. versionadded:: 2.7 + """ + + pass + + +class ConfigParseError(SSHException): + """ + A fatal error was encountered trying to parse SSH config data. + + Typically this means a config file violated the ``ssh_config`` + specification in a manner that requires exiting immediately, such as not + matching ``key = value`` syntax or misusing certain ``Match`` keywords. + + .. versionadded:: 2.7 + """ + + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ssh_gss.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ssh_gss.py new file mode 100644 index 0000000000000000000000000000000000000000..ee49c34dd59b25b2c6d6dfff39a6393743566ecb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/ssh_gss.py @@ -0,0 +1,778 @@ +# Copyright (C) 2013-2014 science + computing ag +# Author: Sebastian Deiss +# +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +""" +This module provides GSS-API / SSPI authentication as defined in :rfc:`4462`. + +.. note:: Credential delegation is not supported in server mode. + +.. seealso:: :doc:`/api/kex_gss` + +.. versionadded:: 1.15 +""" + +import struct +import os +import sys + + +#: A boolean constraint that indicates if GSS-API / SSPI is available. +GSS_AUTH_AVAILABLE = True + + +#: A tuple of the exception types used by the underlying GSSAPI implementation. +GSS_EXCEPTIONS = () + + +#: :var str _API: Constraint for the used API +_API = None + +try: + import gssapi + + if hasattr(gssapi, "__title__") and gssapi.__title__ == "python-gssapi": + # old, unmaintained python-gssapi package + _API = "MIT" # keep this for compatibility + GSS_EXCEPTIONS = (gssapi.GSSException,) + else: + _API = "PYTHON-GSSAPI-NEW" + GSS_EXCEPTIONS = ( + gssapi.exceptions.GeneralError, + gssapi.raw.misc.GSSError, + ) +except (ImportError, OSError): + try: + import pywintypes + import sspicon + import sspi + + _API = "SSPI" + GSS_EXCEPTIONS = (pywintypes.error,) + except ImportError: + GSS_AUTH_AVAILABLE = False + _API = None + +from paramiko.common import MSG_USERAUTH_REQUEST +from paramiko.ssh_exception import SSHException +from paramiko._version import __version_info__ + + +def GSSAuth(auth_method, gss_deleg_creds=True): + """ + Provide SSH2 GSS-API / SSPI authentication. + + :param str auth_method: The name of the SSH authentication mechanism + (gssapi-with-mic or gss-keyex) + :param bool gss_deleg_creds: Delegate client credentials or not. + We delegate credentials by default. + :return: Either an `._SSH_GSSAPI_OLD` or `._SSH_GSSAPI_NEW` (Unix) + object or an `_SSH_SSPI` (Windows) object + :rtype: object + + :raises: ``ImportError`` -- If no GSS-API / SSPI module could be imported. + + :see: `RFC 4462 `_ + :note: Check for the available API and return either an `._SSH_GSSAPI_OLD` + (MIT GSSAPI using python-gssapi package) object, an + `._SSH_GSSAPI_NEW` (MIT GSSAPI using gssapi package) object + or an `._SSH_SSPI` (MS SSPI) object. + If there is no supported API available, + ``None`` will be returned. + """ + if _API == "MIT": + return _SSH_GSSAPI_OLD(auth_method, gss_deleg_creds) + elif _API == "PYTHON-GSSAPI-NEW": + return _SSH_GSSAPI_NEW(auth_method, gss_deleg_creds) + elif _API == "SSPI" and os.name == "nt": + return _SSH_SSPI(auth_method, gss_deleg_creds) + else: + raise ImportError("Unable to import a GSS-API / SSPI module!") + + +class _SSH_GSSAuth: + """ + Contains the shared variables and methods of `._SSH_GSSAPI_OLD`, + `._SSH_GSSAPI_NEW` and `._SSH_SSPI`. + """ + + def __init__(self, auth_method, gss_deleg_creds): + """ + :param str auth_method: The name of the SSH authentication mechanism + (gssapi-with-mic or gss-keyex) + :param bool gss_deleg_creds: Delegate client credentials or not + """ + self._auth_method = auth_method + self._gss_deleg_creds = gss_deleg_creds + self._gss_host = None + self._username = None + self._session_id = None + self._service = "ssh-connection" + """ + OpenSSH supports Kerberos V5 mechanism only for GSS-API authentication, + so we also support the krb5 mechanism only. + """ + self._krb5_mech = "1.2.840.113554.1.2.2" + + # client mode + self._gss_ctxt = None + self._gss_ctxt_status = False + + # server mode + self._gss_srv_ctxt = None + self._gss_srv_ctxt_status = False + self.cc_file = None + + def set_service(self, service): + """ + This is just a setter to use a non default service. + I added this method, because RFC 4462 doesn't specify "ssh-connection" + as the only service value. + + :param str service: The desired SSH service + """ + if service.find("ssh-"): + self._service = service + + def set_username(self, username): + """ + Setter for C{username}. If GSS-API Key Exchange is performed, the + username is not set by C{ssh_init_sec_context}. + + :param str username: The name of the user who attempts to login + """ + self._username = username + + def ssh_gss_oids(self, mode="client"): + """ + This method returns a single OID, because we only support the + Kerberos V5 mechanism. + + :param str mode: Client for client mode and server for server mode + :return: A byte sequence containing the number of supported + OIDs, the length of the OID and the actual OID encoded with + DER + :note: In server mode we just return the OID length and the DER encoded + OID. + """ + from pyasn1.type.univ import ObjectIdentifier + from pyasn1.codec.der import encoder + + OIDs = self._make_uint32(1) + krb5_OID = encoder.encode(ObjectIdentifier(self._krb5_mech)) + OID_len = self._make_uint32(len(krb5_OID)) + if mode == "server": + return OID_len + krb5_OID + return OIDs + OID_len + krb5_OID + + def ssh_check_mech(self, desired_mech): + """ + Check if the given OID is the Kerberos V5 OID (server mode). + + :param str desired_mech: The desired GSS-API mechanism of the client + :return: ``True`` if the given OID is supported, otherwise C{False} + """ + from pyasn1.codec.der import decoder + + mech, __ = decoder.decode(desired_mech) + if mech.__str__() != self._krb5_mech: + return False + return True + + # Internals + # ------------------------------------------------------------------------- + def _make_uint32(self, integer): + """ + Create a 32 bit unsigned integer (The byte sequence of an integer). + + :param int integer: The integer value to convert + :return: The byte sequence of an 32 bit integer + """ + return struct.pack("!I", integer) + + def _ssh_build_mic(self, session_id, username, service, auth_method): + """ + Create the SSH2 MIC filed for gssapi-with-mic. + + :param str session_id: The SSH session ID + :param str username: The name of the user who attempts to login + :param str service: The requested SSH service + :param str auth_method: The requested SSH authentication mechanism + :return: The MIC as defined in RFC 4462. The contents of the + MIC field are: + string session_identifier, + byte SSH_MSG_USERAUTH_REQUEST, + string user-name, + string service (ssh-connection), + string authentication-method + (gssapi-with-mic or gssapi-keyex) + """ + mic = self._make_uint32(len(session_id)) + mic += session_id + mic += struct.pack("B", MSG_USERAUTH_REQUEST) + mic += self._make_uint32(len(username)) + mic += username.encode() + mic += self._make_uint32(len(service)) + mic += service.encode() + mic += self._make_uint32(len(auth_method)) + mic += auth_method.encode() + return mic + + +class _SSH_GSSAPI_OLD(_SSH_GSSAuth): + """ + Implementation of the GSS-API MIT Kerberos Authentication for SSH2, + using the older (unmaintained) python-gssapi package. + + :see: `.GSSAuth` + """ + + def __init__(self, auth_method, gss_deleg_creds): + """ + :param str auth_method: The name of the SSH authentication mechanism + (gssapi-with-mic or gss-keyex) + :param bool gss_deleg_creds: Delegate client credentials or not + """ + _SSH_GSSAuth.__init__(self, auth_method, gss_deleg_creds) + + if self._gss_deleg_creds: + self._gss_flags = ( + gssapi.C_PROT_READY_FLAG, + gssapi.C_INTEG_FLAG, + gssapi.C_MUTUAL_FLAG, + gssapi.C_DELEG_FLAG, + ) + else: + self._gss_flags = ( + gssapi.C_PROT_READY_FLAG, + gssapi.C_INTEG_FLAG, + gssapi.C_MUTUAL_FLAG, + ) + + def ssh_init_sec_context( + self, target, desired_mech=None, username=None, recv_token=None + ): + """ + Initialize a GSS-API context. + + :param str username: The name of the user who attempts to login + :param str target: The hostname of the target to connect to + :param str desired_mech: The negotiated GSS-API mechanism + ("pseudo negotiated" mechanism, because we + support just the krb5 mechanism :-)) + :param str recv_token: The GSS-API token received from the Server + :raises: + `.SSHException` -- Is raised if the desired mechanism of the client + is not supported + :return: A ``String`` if the GSS-API has returned a token or + ``None`` if no token was returned + """ + from pyasn1.codec.der import decoder + + self._username = username + self._gss_host = target + targ_name = gssapi.Name( + "host@" + self._gss_host, gssapi.C_NT_HOSTBASED_SERVICE + ) + ctx = gssapi.Context() + ctx.flags = self._gss_flags + if desired_mech is None: + krb5_mech = gssapi.OID.mech_from_string(self._krb5_mech) + else: + mech, __ = decoder.decode(desired_mech) + if mech.__str__() != self._krb5_mech: + raise SSHException("Unsupported mechanism OID.") + else: + krb5_mech = gssapi.OID.mech_from_string(self._krb5_mech) + token = None + try: + if recv_token is None: + self._gss_ctxt = gssapi.InitContext( + peer_name=targ_name, + mech_type=krb5_mech, + req_flags=ctx.flags, + ) + token = self._gss_ctxt.step(token) + else: + token = self._gss_ctxt.step(recv_token) + except gssapi.GSSException: + message = "{} Target: {}".format(sys.exc_info()[1], self._gss_host) + raise gssapi.GSSException(message) + self._gss_ctxt_status = self._gss_ctxt.established + return token + + def ssh_get_mic(self, session_id, gss_kex=False): + """ + Create the MIC token for a SSH2 message. + + :param str session_id: The SSH session ID + :param bool gss_kex: Generate the MIC for GSS-API Key Exchange or not + :return: gssapi-with-mic: + Returns the MIC token from GSS-API for the message we created + with ``_ssh_build_mic``. + gssapi-keyex: + Returns the MIC token from GSS-API with the SSH session ID as + message. + """ + self._session_id = session_id + if not gss_kex: + mic_field = self._ssh_build_mic( + self._session_id, + self._username, + self._service, + self._auth_method, + ) + mic_token = self._gss_ctxt.get_mic(mic_field) + else: + # for key exchange with gssapi-keyex + mic_token = self._gss_srv_ctxt.get_mic(self._session_id) + return mic_token + + def ssh_accept_sec_context(self, hostname, recv_token, username=None): + """ + Accept a GSS-API context (server mode). + + :param str hostname: The servers hostname + :param str username: The name of the user who attempts to login + :param str recv_token: The GSS-API Token received from the server, + if it's not the initial call. + :return: A ``String`` if the GSS-API has returned a token or ``None`` + if no token was returned + """ + # hostname and username are not required for GSSAPI, but for SSPI + self._gss_host = hostname + self._username = username + if self._gss_srv_ctxt is None: + self._gss_srv_ctxt = gssapi.AcceptContext() + token = self._gss_srv_ctxt.step(recv_token) + self._gss_srv_ctxt_status = self._gss_srv_ctxt.established + return token + + def ssh_check_mic(self, mic_token, session_id, username=None): + """ + Verify the MIC token for a SSH2 message. + + :param str mic_token: The MIC token received from the client + :param str session_id: The SSH session ID + :param str username: The name of the user who attempts to login + :return: None if the MIC check was successful + :raises: ``gssapi.GSSException`` -- if the MIC check failed + """ + self._session_id = session_id + self._username = username + if self._username is not None: + # server mode + mic_field = self._ssh_build_mic( + self._session_id, + self._username, + self._service, + self._auth_method, + ) + self._gss_srv_ctxt.verify_mic(mic_field, mic_token) + else: + # for key exchange with gssapi-keyex + # client mode + self._gss_ctxt.verify_mic(self._session_id, mic_token) + + @property + def credentials_delegated(self): + """ + Checks if credentials are delegated (server mode). + + :return: ``True`` if credentials are delegated, otherwise ``False`` + """ + if self._gss_srv_ctxt.delegated_cred is not None: + return True + return False + + def save_client_creds(self, client_token): + """ + Save the Client token in a file. This is used by the SSH server + to store the client credentials if credentials are delegated + (server mode). + + :param str client_token: The GSS-API token received form the client + :raises: + ``NotImplementedError`` -- Credential delegation is currently not + supported in server mode + """ + raise NotImplementedError + + +if __version_info__ < (2, 5): + # provide the old name for strict backward compatibility + _SSH_GSSAPI = _SSH_GSSAPI_OLD + + +class _SSH_GSSAPI_NEW(_SSH_GSSAuth): + """ + Implementation of the GSS-API MIT Kerberos Authentication for SSH2, + using the newer, currently maintained gssapi package. + + :see: `.GSSAuth` + """ + + def __init__(self, auth_method, gss_deleg_creds): + """ + :param str auth_method: The name of the SSH authentication mechanism + (gssapi-with-mic or gss-keyex) + :param bool gss_deleg_creds: Delegate client credentials or not + """ + _SSH_GSSAuth.__init__(self, auth_method, gss_deleg_creds) + + if self._gss_deleg_creds: + self._gss_flags = ( + gssapi.RequirementFlag.protection_ready, + gssapi.RequirementFlag.integrity, + gssapi.RequirementFlag.mutual_authentication, + gssapi.RequirementFlag.delegate_to_peer, + ) + else: + self._gss_flags = ( + gssapi.RequirementFlag.protection_ready, + gssapi.RequirementFlag.integrity, + gssapi.RequirementFlag.mutual_authentication, + ) + + def ssh_init_sec_context( + self, target, desired_mech=None, username=None, recv_token=None + ): + """ + Initialize a GSS-API context. + + :param str username: The name of the user who attempts to login + :param str target: The hostname of the target to connect to + :param str desired_mech: The negotiated GSS-API mechanism + ("pseudo negotiated" mechanism, because we + support just the krb5 mechanism :-)) + :param str recv_token: The GSS-API token received from the Server + :raises: `.SSHException` -- Is raised if the desired mechanism of the + client is not supported + :raises: ``gssapi.exceptions.GSSError`` if there is an error signaled + by the GSS-API implementation + :return: A ``String`` if the GSS-API has returned a token or ``None`` + if no token was returned + """ + from pyasn1.codec.der import decoder + + self._username = username + self._gss_host = target + targ_name = gssapi.Name( + "host@" + self._gss_host, + name_type=gssapi.NameType.hostbased_service, + ) + if desired_mech is not None: + mech, __ = decoder.decode(desired_mech) + if mech.__str__() != self._krb5_mech: + raise SSHException("Unsupported mechanism OID.") + krb5_mech = gssapi.MechType.kerberos + token = None + if recv_token is None: + self._gss_ctxt = gssapi.SecurityContext( + name=targ_name, + flags=self._gss_flags, + mech=krb5_mech, + usage="initiate", + ) + token = self._gss_ctxt.step(token) + else: + token = self._gss_ctxt.step(recv_token) + self._gss_ctxt_status = self._gss_ctxt.complete + return token + + def ssh_get_mic(self, session_id, gss_kex=False): + """ + Create the MIC token for a SSH2 message. + + :param str session_id: The SSH session ID + :param bool gss_kex: Generate the MIC for GSS-API Key Exchange or not + :return: gssapi-with-mic: + Returns the MIC token from GSS-API for the message we created + with ``_ssh_build_mic``. + gssapi-keyex: + Returns the MIC token from GSS-API with the SSH session ID as + message. + :rtype: str + """ + self._session_id = session_id + if not gss_kex: + mic_field = self._ssh_build_mic( + self._session_id, + self._username, + self._service, + self._auth_method, + ) + mic_token = self._gss_ctxt.get_signature(mic_field) + else: + # for key exchange with gssapi-keyex + mic_token = self._gss_srv_ctxt.get_signature(self._session_id) + return mic_token + + def ssh_accept_sec_context(self, hostname, recv_token, username=None): + """ + Accept a GSS-API context (server mode). + + :param str hostname: The servers hostname + :param str username: The name of the user who attempts to login + :param str recv_token: The GSS-API Token received from the server, + if it's not the initial call. + :return: A ``String`` if the GSS-API has returned a token or ``None`` + if no token was returned + """ + # hostname and username are not required for GSSAPI, but for SSPI + self._gss_host = hostname + self._username = username + if self._gss_srv_ctxt is None: + self._gss_srv_ctxt = gssapi.SecurityContext(usage="accept") + token = self._gss_srv_ctxt.step(recv_token) + self._gss_srv_ctxt_status = self._gss_srv_ctxt.complete + return token + + def ssh_check_mic(self, mic_token, session_id, username=None): + """ + Verify the MIC token for a SSH2 message. + + :param str mic_token: The MIC token received from the client + :param str session_id: The SSH session ID + :param str username: The name of the user who attempts to login + :return: None if the MIC check was successful + :raises: ``gssapi.exceptions.GSSError`` -- if the MIC check failed + """ + self._session_id = session_id + self._username = username + if self._username is not None: + # server mode + mic_field = self._ssh_build_mic( + self._session_id, + self._username, + self._service, + self._auth_method, + ) + self._gss_srv_ctxt.verify_signature(mic_field, mic_token) + else: + # for key exchange with gssapi-keyex + # client mode + self._gss_ctxt.verify_signature(self._session_id, mic_token) + + @property + def credentials_delegated(self): + """ + Checks if credentials are delegated (server mode). + + :return: ``True`` if credentials are delegated, otherwise ``False`` + :rtype: bool + """ + if self._gss_srv_ctxt.delegated_creds is not None: + return True + return False + + def save_client_creds(self, client_token): + """ + Save the Client token in a file. This is used by the SSH server + to store the client credentials if credentials are delegated + (server mode). + + :param str client_token: The GSS-API token received form the client + :raises: ``NotImplementedError`` -- Credential delegation is currently + not supported in server mode + """ + raise NotImplementedError + + +class _SSH_SSPI(_SSH_GSSAuth): + """ + Implementation of the Microsoft SSPI Kerberos Authentication for SSH2. + + :see: `.GSSAuth` + """ + + def __init__(self, auth_method, gss_deleg_creds): + """ + :param str auth_method: The name of the SSH authentication mechanism + (gssapi-with-mic or gss-keyex) + :param bool gss_deleg_creds: Delegate client credentials or not + """ + _SSH_GSSAuth.__init__(self, auth_method, gss_deleg_creds) + + if self._gss_deleg_creds: + self._gss_flags = ( + sspicon.ISC_REQ_INTEGRITY + | sspicon.ISC_REQ_MUTUAL_AUTH + | sspicon.ISC_REQ_DELEGATE + ) + else: + self._gss_flags = ( + sspicon.ISC_REQ_INTEGRITY | sspicon.ISC_REQ_MUTUAL_AUTH + ) + + def ssh_init_sec_context( + self, target, desired_mech=None, username=None, recv_token=None + ): + """ + Initialize a SSPI context. + + :param str username: The name of the user who attempts to login + :param str target: The FQDN of the target to connect to + :param str desired_mech: The negotiated SSPI mechanism + ("pseudo negotiated" mechanism, because we + support just the krb5 mechanism :-)) + :param recv_token: The SSPI token received from the Server + :raises: + `.SSHException` -- Is raised if the desired mechanism of the client + is not supported + :return: A ``String`` if the SSPI has returned a token or ``None`` if + no token was returned + """ + from pyasn1.codec.der import decoder + + self._username = username + self._gss_host = target + error = 0 + targ_name = "host/" + self._gss_host + if desired_mech is not None: + mech, __ = decoder.decode(desired_mech) + if mech.__str__() != self._krb5_mech: + raise SSHException("Unsupported mechanism OID.") + try: + if recv_token is None: + self._gss_ctxt = sspi.ClientAuth( + "Kerberos", scflags=self._gss_flags, targetspn=targ_name + ) + error, token = self._gss_ctxt.authorize(recv_token) + token = token[0].Buffer + except pywintypes.error as e: + e.strerror += ", Target: {}".format(self._gss_host) + raise + + if error == 0: + """ + if the status is GSS_COMPLETE (error = 0) the context is fully + established an we can set _gss_ctxt_status to True. + """ + self._gss_ctxt_status = True + token = None + """ + You won't get another token if the context is fully established, + so i set token to None instead of "" + """ + return token + + def ssh_get_mic(self, session_id, gss_kex=False): + """ + Create the MIC token for a SSH2 message. + + :param str session_id: The SSH session ID + :param bool gss_kex: Generate the MIC for Key Exchange with SSPI or not + :return: gssapi-with-mic: + Returns the MIC token from SSPI for the message we created + with ``_ssh_build_mic``. + gssapi-keyex: + Returns the MIC token from SSPI with the SSH session ID as + message. + """ + self._session_id = session_id + if not gss_kex: + mic_field = self._ssh_build_mic( + self._session_id, + self._username, + self._service, + self._auth_method, + ) + mic_token = self._gss_ctxt.sign(mic_field) + else: + # for key exchange with gssapi-keyex + mic_token = self._gss_srv_ctxt.sign(self._session_id) + return mic_token + + def ssh_accept_sec_context(self, hostname, username, recv_token): + """ + Accept a SSPI context (server mode). + + :param str hostname: The servers FQDN + :param str username: The name of the user who attempts to login + :param str recv_token: The SSPI Token received from the server, + if it's not the initial call. + :return: A ``String`` if the SSPI has returned a token or ``None`` if + no token was returned + """ + self._gss_host = hostname + self._username = username + targ_name = "host/" + self._gss_host + self._gss_srv_ctxt = sspi.ServerAuth("Kerberos", spn=targ_name) + error, token = self._gss_srv_ctxt.authorize(recv_token) + token = token[0].Buffer + if error == 0: + self._gss_srv_ctxt_status = True + token = None + return token + + def ssh_check_mic(self, mic_token, session_id, username=None): + """ + Verify the MIC token for a SSH2 message. + + :param str mic_token: The MIC token received from the client + :param str session_id: The SSH session ID + :param str username: The name of the user who attempts to login + :return: None if the MIC check was successful + :raises: ``sspi.error`` -- if the MIC check failed + """ + self._session_id = session_id + self._username = username + if username is not None: + # server mode + mic_field = self._ssh_build_mic( + self._session_id, + self._username, + self._service, + self._auth_method, + ) + # Verifies data and its signature. If verification fails, an + # sspi.error will be raised. + self._gss_srv_ctxt.verify(mic_field, mic_token) + else: + # for key exchange with gssapi-keyex + # client mode + # Verifies data and its signature. If verification fails, an + # sspi.error will be raised. + self._gss_ctxt.verify(self._session_id, mic_token) + + @property + def credentials_delegated(self): + """ + Checks if credentials are delegated (server mode). + + :return: ``True`` if credentials are delegated, otherwise ``False`` + """ + return self._gss_flags & sspicon.ISC_REQ_DELEGATE and ( + self._gss_srv_ctxt_status or self._gss_flags + ) + + def save_client_creds(self, client_token): + """ + Save the Client token in a file. This is used by the SSH server + to store the client credentails if credentials are delegated + (server mode). + + :param str client_token: The SSPI token received form the client + :raises: + ``NotImplementedError`` -- Credential delegation is currently not + supported in server mode + """ + raise NotImplementedError diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/transport.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/transport.py new file mode 100644 index 0000000000000000000000000000000000000000..8785d6bb284e3178200e0e343ca1a5bf85c3a4e7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/transport.py @@ -0,0 +1,3302 @@ +# Copyright (C) 2003-2007 Robey Pointer +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Core protocol implementation +""" + +import os +import socket +import sys +import threading +import time +import weakref +from hashlib import md5, sha1, sha256, sha512 + +from cryptography.hazmat.backends import default_backend +from cryptography.hazmat.primitives.ciphers import algorithms, Cipher, modes + +import paramiko +from paramiko import util +from paramiko.auth_handler import AuthHandler, AuthOnlyHandler +from paramiko.ssh_gss import GSSAuth +from paramiko.channel import Channel +from paramiko.common import ( + xffffffff, + cMSG_CHANNEL_OPEN, + cMSG_IGNORE, + cMSG_GLOBAL_REQUEST, + DEBUG, + MSG_KEXINIT, + MSG_IGNORE, + MSG_DISCONNECT, + MSG_DEBUG, + ERROR, + WARNING, + cMSG_UNIMPLEMENTED, + INFO, + cMSG_KEXINIT, + cMSG_NEWKEYS, + MSG_NEWKEYS, + cMSG_REQUEST_SUCCESS, + cMSG_REQUEST_FAILURE, + CONNECTION_FAILED_CODE, + OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED, + OPEN_SUCCEEDED, + cMSG_CHANNEL_OPEN_FAILURE, + cMSG_CHANNEL_OPEN_SUCCESS, + MSG_GLOBAL_REQUEST, + MSG_REQUEST_SUCCESS, + MSG_REQUEST_FAILURE, + cMSG_SERVICE_REQUEST, + MSG_SERVICE_ACCEPT, + MSG_CHANNEL_OPEN_SUCCESS, + MSG_CHANNEL_OPEN_FAILURE, + MSG_CHANNEL_OPEN, + MSG_CHANNEL_SUCCESS, + MSG_CHANNEL_FAILURE, + MSG_CHANNEL_DATA, + MSG_CHANNEL_EXTENDED_DATA, + MSG_CHANNEL_WINDOW_ADJUST, + MSG_CHANNEL_REQUEST, + MSG_CHANNEL_EOF, + MSG_CHANNEL_CLOSE, + MIN_WINDOW_SIZE, + MIN_PACKET_SIZE, + MAX_WINDOW_SIZE, + DEFAULT_WINDOW_SIZE, + DEFAULT_MAX_PACKET_SIZE, + HIGHEST_USERAUTH_MESSAGE_ID, + MSG_UNIMPLEMENTED, + MSG_NAMES, + MSG_EXT_INFO, + cMSG_EXT_INFO, + byte_ord, +) +from paramiko.compress import ZlibCompressor, ZlibDecompressor +from paramiko.dsskey import DSSKey +from paramiko.ed25519key import Ed25519Key +from paramiko.kex_curve25519 import KexCurve25519 +from paramiko.kex_gex import KexGex, KexGexSHA256 +from paramiko.kex_group1 import KexGroup1 +from paramiko.kex_group14 import KexGroup14, KexGroup14SHA256 +from paramiko.kex_group16 import KexGroup16SHA512 +from paramiko.kex_ecdh_nist import KexNistp256, KexNistp384, KexNistp521 +from paramiko.kex_gss import KexGSSGex, KexGSSGroup1, KexGSSGroup14 +from paramiko.message import Message +from paramiko.packet import Packetizer, NeedRekeyException +from paramiko.primes import ModulusPack +from paramiko.rsakey import RSAKey +from paramiko.ecdsakey import ECDSAKey +from paramiko.server import ServerInterface +from paramiko.sftp_client import SFTPClient +from paramiko.ssh_exception import ( + SSHException, + BadAuthenticationType, + ChannelException, + IncompatiblePeer, + ProxyCommandFailure, +) +from paramiko.util import ( + ClosingContextManager, + clamp_value, + b, +) + + +# for thread cleanup +_active_threads = [] + + +def _join_lingering_threads(): + for thr in _active_threads: + thr.stop_thread() + + +import atexit + +atexit.register(_join_lingering_threads) + + +class Transport(threading.Thread, ClosingContextManager): + """ + An SSH Transport attaches to a stream (usually a socket), negotiates an + encrypted session, authenticates, and then creates stream tunnels, called + `channels <.Channel>`, across the session. Multiple channels can be + multiplexed across a single session (and often are, in the case of port + forwardings). + + Instances of this class may be used as context managers. + """ + + _ENCRYPT = object() + _DECRYPT = object() + + _PROTO_ID = "2.0" + _CLIENT_ID = "paramiko_{}".format(paramiko.__version__) + + # These tuples of algorithm identifiers are in preference order; do not + # reorder without reason! + # NOTE: if you need to modify these, we suggest leveraging the + # `disabled_algorithms` constructor argument (also available in SSHClient) + # instead of monkeypatching or subclassing. + _preferred_ciphers = ( + "aes128-ctr", + "aes192-ctr", + "aes256-ctr", + "aes128-cbc", + "aes192-cbc", + "aes256-cbc", + "3des-cbc", + ) + _preferred_macs = ( + "hmac-sha2-256", + "hmac-sha2-512", + "hmac-sha2-256-etm@openssh.com", + "hmac-sha2-512-etm@openssh.com", + "hmac-sha1", + "hmac-md5", + "hmac-sha1-96", + "hmac-md5-96", + ) + # ~= HostKeyAlgorithms in OpenSSH land + _preferred_keys = ( + "ssh-ed25519", + "ecdsa-sha2-nistp256", + "ecdsa-sha2-nistp384", + "ecdsa-sha2-nistp521", + "rsa-sha2-512", + "rsa-sha2-256", + "ssh-rsa", + "ssh-dss", + ) + # ~= PubKeyAcceptedAlgorithms + _preferred_pubkeys = ( + "ssh-ed25519", + "ecdsa-sha2-nistp256", + "ecdsa-sha2-nistp384", + "ecdsa-sha2-nistp521", + "rsa-sha2-512", + "rsa-sha2-256", + "ssh-rsa", + "ssh-dss", + ) + _preferred_kex = ( + "ecdh-sha2-nistp256", + "ecdh-sha2-nistp384", + "ecdh-sha2-nistp521", + "diffie-hellman-group16-sha512", + "diffie-hellman-group-exchange-sha256", + "diffie-hellman-group14-sha256", + "diffie-hellman-group-exchange-sha1", + "diffie-hellman-group14-sha1", + "diffie-hellman-group1-sha1", + ) + if KexCurve25519.is_available(): + _preferred_kex = ("curve25519-sha256@libssh.org",) + _preferred_kex + _preferred_gsskex = ( + "gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==", + "gss-group14-sha1-toWM5Slw5Ew8Mqkay+al2g==", + "gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==", + ) + _preferred_compression = ("none",) + + _cipher_info = { + "aes128-ctr": { + "class": algorithms.AES, + "mode": modes.CTR, + "block-size": 16, + "key-size": 16, + }, + "aes192-ctr": { + "class": algorithms.AES, + "mode": modes.CTR, + "block-size": 16, + "key-size": 24, + }, + "aes256-ctr": { + "class": algorithms.AES, + "mode": modes.CTR, + "block-size": 16, + "key-size": 32, + }, + "aes128-cbc": { + "class": algorithms.AES, + "mode": modes.CBC, + "block-size": 16, + "key-size": 16, + }, + "aes192-cbc": { + "class": algorithms.AES, + "mode": modes.CBC, + "block-size": 16, + "key-size": 24, + }, + "aes256-cbc": { + "class": algorithms.AES, + "mode": modes.CBC, + "block-size": 16, + "key-size": 32, + }, + "3des-cbc": { + "class": algorithms.TripleDES, + "mode": modes.CBC, + "block-size": 8, + "key-size": 24, + }, + } + + _mac_info = { + "hmac-sha1": {"class": sha1, "size": 20}, + "hmac-sha1-96": {"class": sha1, "size": 12}, + "hmac-sha2-256": {"class": sha256, "size": 32}, + "hmac-sha2-256-etm@openssh.com": {"class": sha256, "size": 32}, + "hmac-sha2-512": {"class": sha512, "size": 64}, + "hmac-sha2-512-etm@openssh.com": {"class": sha512, "size": 64}, + "hmac-md5": {"class": md5, "size": 16}, + "hmac-md5-96": {"class": md5, "size": 12}, + } + + _key_info = { + # TODO: at some point we will want to drop this as it's no longer + # considered secure due to using SHA-1 for signatures. OpenSSH 8.8 no + # longer supports it. Question becomes at what point do we want to + # prevent users with older setups from using this? + "ssh-rsa": RSAKey, + "ssh-rsa-cert-v01@openssh.com": RSAKey, + "rsa-sha2-256": RSAKey, + "rsa-sha2-256-cert-v01@openssh.com": RSAKey, + "rsa-sha2-512": RSAKey, + "rsa-sha2-512-cert-v01@openssh.com": RSAKey, + "ssh-dss": DSSKey, + "ssh-dss-cert-v01@openssh.com": DSSKey, + "ecdsa-sha2-nistp256": ECDSAKey, + "ecdsa-sha2-nistp256-cert-v01@openssh.com": ECDSAKey, + "ecdsa-sha2-nistp384": ECDSAKey, + "ecdsa-sha2-nistp384-cert-v01@openssh.com": ECDSAKey, + "ecdsa-sha2-nistp521": ECDSAKey, + "ecdsa-sha2-nistp521-cert-v01@openssh.com": ECDSAKey, + "ssh-ed25519": Ed25519Key, + "ssh-ed25519-cert-v01@openssh.com": Ed25519Key, + } + + _kex_info = { + "diffie-hellman-group1-sha1": KexGroup1, + "diffie-hellman-group14-sha1": KexGroup14, + "diffie-hellman-group-exchange-sha1": KexGex, + "diffie-hellman-group-exchange-sha256": KexGexSHA256, + "diffie-hellman-group14-sha256": KexGroup14SHA256, + "diffie-hellman-group16-sha512": KexGroup16SHA512, + "gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==": KexGSSGroup1, + "gss-group14-sha1-toWM5Slw5Ew8Mqkay+al2g==": KexGSSGroup14, + "gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==": KexGSSGex, + "ecdh-sha2-nistp256": KexNistp256, + "ecdh-sha2-nistp384": KexNistp384, + "ecdh-sha2-nistp521": KexNistp521, + } + if KexCurve25519.is_available(): + _kex_info["curve25519-sha256@libssh.org"] = KexCurve25519 + + _compression_info = { + # zlib@openssh.com is just zlib, but only turned on after a successful + # authentication. openssh servers may only offer this type because + # they've had troubles with security holes in zlib in the past. + "zlib@openssh.com": (ZlibCompressor, ZlibDecompressor), + "zlib": (ZlibCompressor, ZlibDecompressor), + "none": (None, None), + } + + _modulus_pack = None + _active_check_timeout = 0.1 + + def __init__( + self, + sock, + default_window_size=DEFAULT_WINDOW_SIZE, + default_max_packet_size=DEFAULT_MAX_PACKET_SIZE, + gss_kex=False, + gss_deleg_creds=True, + disabled_algorithms=None, + server_sig_algs=True, + ): + """ + Create a new SSH session over an existing socket, or socket-like + object. This only creates the `.Transport` object; it doesn't begin + the SSH session yet. Use `connect` or `start_client` to begin a client + session, or `start_server` to begin a server session. + + If the object is not actually a socket, it must have the following + methods: + + - ``send(bytes)``: Writes from 1 to ``len(bytes)`` bytes, and returns + an int representing the number of bytes written. Returns + 0 or raises ``EOFError`` if the stream has been closed. + - ``recv(int)``: Reads from 1 to ``int`` bytes and returns them as a + string. Returns 0 or raises ``EOFError`` if the stream has been + closed. + - ``close()``: Closes the socket. + - ``settimeout(n)``: Sets a (float) timeout on I/O operations. + + For ease of use, you may also pass in an address (as a tuple) or a host + string as the ``sock`` argument. (A host string is a hostname with an + optional port (separated by ``":"``) which will be converted into a + tuple of ``(hostname, port)``.) A socket will be connected to this + address and used for communication. Exceptions from the ``socket`` + call may be thrown in this case. + + .. note:: + Modifying the the window and packet sizes might have adverse + effects on your channels created from this transport. The default + values are the same as in the OpenSSH code base and have been + battle tested. + + :param socket sock: + a socket or socket-like object to create the session over. + :param int default_window_size: + sets the default window size on the transport. (defaults to + 2097152) + :param int default_max_packet_size: + sets the default max packet size on the transport. (defaults to + 32768) + :param bool gss_kex: + Whether to enable GSSAPI key exchange when GSSAPI is in play. + Default: ``False``. + :param bool gss_deleg_creds: + Whether to enable GSSAPI credential delegation when GSSAPI is in + play. Default: ``True``. + :param dict disabled_algorithms: + If given, must be a dictionary mapping algorithm type to an + iterable of algorithm identifiers, which will be disabled for the + lifetime of the transport. + + Keys should match the last word in the class' builtin algorithm + tuple attributes, such as ``"ciphers"`` to disable names within + ``_preferred_ciphers``; or ``"kex"`` to disable something defined + inside ``_preferred_kex``. Values should exactly match members of + the matching attribute. + + For example, if you need to disable + ``diffie-hellman-group16-sha512`` key exchange (perhaps because + your code talks to a server which implements it differently from + Paramiko), specify ``disabled_algorithms={"kex": + ["diffie-hellman-group16-sha512"]}``. + :param bool server_sig_algs: + Whether to send an extra message to compatible clients, in server + mode, with a list of supported pubkey algorithms. Default: + ``True``. + + .. versionchanged:: 1.15 + Added the ``default_window_size`` and ``default_max_packet_size`` + arguments. + .. versionchanged:: 1.15 + Added the ``gss_kex`` and ``gss_deleg_creds`` kwargs. + .. versionchanged:: 2.6 + Added the ``disabled_algorithms`` kwarg. + .. versionchanged:: 2.9 + Added the ``server_sig_algs`` kwarg. + """ + self.active = False + self.hostname = None + self.server_extensions = {} + + # TODO: these two overrides on sock's type should go away sometime, too + # many ways to do it! + if isinstance(sock, str): + # convert "host:port" into (host, port) + hl = sock.split(":", 1) + self.hostname = hl[0] + if len(hl) == 1: + sock = (hl[0], 22) + else: + sock = (hl[0], int(hl[1])) + if type(sock) is tuple: + # connect to the given (host, port) + hostname, port = sock + self.hostname = hostname + reason = "No suitable address family" + addrinfos = socket.getaddrinfo( + hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM + ) + for family, socktype, proto, canonname, sockaddr in addrinfos: + if socktype == socket.SOCK_STREAM: + af = family + # addr = sockaddr + sock = socket.socket(af, socket.SOCK_STREAM) + try: + sock.connect((hostname, port)) + except socket.error as e: + reason = str(e) + else: + break + else: + raise SSHException( + "Unable to connect to {}: {}".format(hostname, reason) + ) + # okay, normal socket-ish flow here... + threading.Thread.__init__(self) + self.daemon = True + self.sock = sock + # we set the timeout so we can check self.active periodically to + # see if we should bail. socket.timeout exception is never propagated. + self.sock.settimeout(self._active_check_timeout) + + # negotiated crypto parameters + self.packetizer = Packetizer(sock) + self.local_version = "SSH-" + self._PROTO_ID + "-" + self._CLIENT_ID + self.remote_version = "" + self.local_cipher = self.remote_cipher = "" + self.local_kex_init = self.remote_kex_init = None + self.local_mac = self.remote_mac = None + self.local_compression = self.remote_compression = None + self.session_id = None + self.host_key_type = None + self.host_key = None + + # GSS-API / SSPI Key Exchange + self.use_gss_kex = gss_kex + # This will be set to True if GSS-API Key Exchange was performed + self.gss_kex_used = False + self.kexgss_ctxt = None + self.gss_host = None + if self.use_gss_kex: + self.kexgss_ctxt = GSSAuth("gssapi-keyex", gss_deleg_creds) + self._preferred_kex = self._preferred_gsskex + self._preferred_kex + + # state used during negotiation + self.kex_engine = None + self.H = None + self.K = None + + self.initial_kex_done = False + self.in_kex = False + self.authenticated = False + self._expected_packet = tuple() + # synchronization (always higher level than write_lock) + self.lock = threading.Lock() + + # tracking open channels + self._channels = ChannelMap() + self.channel_events = {} # (id -> Event) + self.channels_seen = {} # (id -> True) + self._channel_counter = 0 + self.default_max_packet_size = default_max_packet_size + self.default_window_size = default_window_size + self._forward_agent_handler = None + self._x11_handler = None + self._tcp_handler = None + + self.saved_exception = None + self.clear_to_send = threading.Event() + self.clear_to_send_lock = threading.Lock() + self.clear_to_send_timeout = 30.0 + self.log_name = "paramiko.transport" + self.logger = util.get_logger(self.log_name) + self.packetizer.set_log(self.logger) + self.auth_handler = None + # response Message from an arbitrary global request + self.global_response = None + # user-defined event callbacks + self.completion_event = None + # how long (seconds) to wait for the SSH banner + self.banner_timeout = 15 + # how long (seconds) to wait for the handshake to finish after SSH + # banner sent. + self.handshake_timeout = 15 + # how long (seconds) to wait for the auth response. + self.auth_timeout = 30 + # how long (seconds) to wait for opening a channel + self.channel_timeout = 60 * 60 + self.disabled_algorithms = disabled_algorithms or {} + self.server_sig_algs = server_sig_algs + + # server mode: + self.server_mode = False + self.server_object = None + self.server_key_dict = {} + self.server_accepts = [] + self.server_accept_cv = threading.Condition(self.lock) + self.subsystem_table = {} + + # Handler table, now set at init time for easier per-instance + # manipulation and subclass twiddling. + self._handler_table = { + MSG_EXT_INFO: self._parse_ext_info, + MSG_NEWKEYS: self._parse_newkeys, + MSG_GLOBAL_REQUEST: self._parse_global_request, + MSG_REQUEST_SUCCESS: self._parse_request_success, + MSG_REQUEST_FAILURE: self._parse_request_failure, + MSG_CHANNEL_OPEN_SUCCESS: self._parse_channel_open_success, + MSG_CHANNEL_OPEN_FAILURE: self._parse_channel_open_failure, + MSG_CHANNEL_OPEN: self._parse_channel_open, + MSG_KEXINIT: self._negotiate_keys, + } + + def _filter_algorithm(self, type_): + default = getattr(self, "_preferred_{}".format(type_)) + return tuple( + x + for x in default + if x not in self.disabled_algorithms.get(type_, []) + ) + + @property + def preferred_ciphers(self): + return self._filter_algorithm("ciphers") + + @property + def preferred_macs(self): + return self._filter_algorithm("macs") + + @property + def preferred_keys(self): + # Interleave cert variants here; resistant to various background + # overwriting of _preferred_keys, and necessary as hostkeys can't use + # the logic pubkey auth does re: injecting/checking for certs at + # runtime + filtered = self._filter_algorithm("keys") + return tuple( + filtered + + tuple("{}-cert-v01@openssh.com".format(x) for x in filtered) + ) + + @property + def preferred_pubkeys(self): + return self._filter_algorithm("pubkeys") + + @property + def preferred_kex(self): + return self._filter_algorithm("kex") + + @property + def preferred_compression(self): + return self._filter_algorithm("compression") + + def __repr__(self): + """ + Returns a string representation of this object, for debugging. + """ + id_ = hex(id(self) & xffffffff) + out = "` or + `auth_publickey `. + + .. note:: `connect` is a simpler method for connecting as a client. + + .. note:: + After calling this method (or `start_server` or `connect`), you + should no longer directly read from or write to the original socket + object. + + :param .threading.Event event: + an event to trigger when negotiation is complete (optional) + + :param float timeout: + a timeout, in seconds, for SSH2 session negotiation (optional) + + :raises: + `.SSHException` -- if negotiation fails (and no ``event`` was + passed in) + """ + self.active = True + if event is not None: + # async, return immediately and let the app poll for completion + self.completion_event = event + self.start() + return + + # synchronous, wait for a result + self.completion_event = event = threading.Event() + self.start() + max_time = time.time() + timeout if timeout is not None else None + while True: + event.wait(0.1) + if not self.active: + e = self.get_exception() + if e is not None: + raise e + raise SSHException("Negotiation failed.") + if event.is_set() or ( + timeout is not None and time.time() >= max_time + ): + break + + def start_server(self, event=None, server=None): + """ + Negotiate a new SSH2 session as a server. This is the first step after + creating a new `.Transport` and setting up your server host key(s). A + separate thread is created for protocol negotiation. + + If an event is passed in, this method returns immediately. When + negotiation is done (successful or not), the given ``Event`` will + be triggered. On failure, `is_active` will return ``False``. + + (Since 1.4) If ``event`` is ``None``, this method will not return until + negotiation is done. On success, the method returns normally. + Otherwise an SSHException is raised. + + After a successful negotiation, the client will need to authenticate. + Override the methods `get_allowed_auths + <.ServerInterface.get_allowed_auths>`, `check_auth_none + <.ServerInterface.check_auth_none>`, `check_auth_password + <.ServerInterface.check_auth_password>`, and `check_auth_publickey + <.ServerInterface.check_auth_publickey>` in the given ``server`` object + to control the authentication process. + + After a successful authentication, the client should request to open a + channel. Override `check_channel_request + <.ServerInterface.check_channel_request>` in the given ``server`` + object to allow channels to be opened. + + .. note:: + After calling this method (or `start_client` or `connect`), you + should no longer directly read from or write to the original socket + object. + + :param .threading.Event event: + an event to trigger when negotiation is complete. + :param .ServerInterface server: + an object used to perform authentication and create `channels + <.Channel>` + + :raises: + `.SSHException` -- if negotiation fails (and no ``event`` was + passed in) + """ + if server is None: + server = ServerInterface() + self.server_mode = True + self.server_object = server + self.active = True + if event is not None: + # async, return immediately and let the app poll for completion + self.completion_event = event + self.start() + return + + # synchronous, wait for a result + self.completion_event = event = threading.Event() + self.start() + while True: + event.wait(0.1) + if not self.active: + e = self.get_exception() + if e is not None: + raise e + raise SSHException("Negotiation failed.") + if event.is_set(): + break + + def add_server_key(self, key): + """ + Add a host key to the list of keys used for server mode. When behaving + as a server, the host key is used to sign certain packets during the + SSH2 negotiation, so that the client can trust that we are who we say + we are. Because this is used for signing, the key must contain private + key info, not just the public half. Only one key of each type (RSA or + DSS) is kept. + + :param .PKey key: + the host key to add, usually an `.RSAKey` or `.DSSKey`. + """ + self.server_key_dict[key.get_name()] = key + # Handle SHA-2 extensions for RSA by ensuring that lookups into + # self.server_key_dict will yield this key for any of the algorithm + # names. + if isinstance(key, RSAKey): + self.server_key_dict["rsa-sha2-256"] = key + self.server_key_dict["rsa-sha2-512"] = key + + def get_server_key(self): + """ + Return the active host key, in server mode. After negotiating with the + client, this method will return the negotiated host key. If only one + type of host key was set with `add_server_key`, that's the only key + that will ever be returned. But in cases where you have set more than + one type of host key (for example, an RSA key and a DSS key), the key + type will be negotiated by the client, and this method will return the + key of the type agreed on. If the host key has not been negotiated + yet, ``None`` is returned. In client mode, the behavior is undefined. + + :return: + host key (`.PKey`) of the type negotiated by the client, or + ``None``. + """ + try: + return self.server_key_dict[self.host_key_type] + except KeyError: + pass + return None + + @staticmethod + def load_server_moduli(filename=None): + """ + (optional) + Load a file of prime moduli for use in doing group-exchange key + negotiation in server mode. It's a rather obscure option and can be + safely ignored. + + In server mode, the remote client may request "group-exchange" key + negotiation, which asks the server to send a random prime number that + fits certain criteria. These primes are pretty difficult to compute, + so they can't be generated on demand. But many systems contain a file + of suitable primes (usually named something like ``/etc/ssh/moduli``). + If you call `load_server_moduli` and it returns ``True``, then this + file of primes has been loaded and we will support "group-exchange" in + server mode. Otherwise server mode will just claim that it doesn't + support that method of key negotiation. + + :param str filename: + optional path to the moduli file, if you happen to know that it's + not in a standard location. + :return: + True if a moduli file was successfully loaded; False otherwise. + + .. note:: This has no effect when used in client mode. + """ + Transport._modulus_pack = ModulusPack() + # places to look for the openssh "moduli" file + file_list = ["/etc/ssh/moduli", "/usr/local/etc/moduli"] + if filename is not None: + file_list.insert(0, filename) + for fn in file_list: + try: + Transport._modulus_pack.read_file(fn) + return True + except IOError: + pass + # none succeeded + Transport._modulus_pack = None + return False + + def close(self): + """ + Close this session, and any open channels that are tied to it. + """ + if not self.active: + return + self.stop_thread() + for chan in list(self._channels.values()): + chan._unlink() + self.sock.close() + + def get_remote_server_key(self): + """ + Return the host key of the server (in client mode). + + .. note:: + Previously this call returned a tuple of ``(key type, key + string)``. You can get the same effect by calling `.PKey.get_name` + for the key type, and ``str(key)`` for the key string. + + :raises: `.SSHException` -- if no session is currently active. + + :return: public key (`.PKey`) of the remote server + """ + if (not self.active) or (not self.initial_kex_done): + raise SSHException("No existing session") + return self.host_key + + def is_active(self): + """ + Return true if this session is active (open). + + :return: + True if the session is still active (open); False if the session is + closed + """ + return self.active + + def open_session( + self, window_size=None, max_packet_size=None, timeout=None + ): + """ + Request a new channel to the server, of type ``"session"``. This is + just an alias for calling `open_channel` with an argument of + ``"session"``. + + .. note:: Modifying the the window and packet sizes might have adverse + effects on the session created. The default values are the same + as in the OpenSSH code base and have been battle tested. + + :param int window_size: + optional window size for this session. + :param int max_packet_size: + optional max packet size for this session. + + :return: a new `.Channel` + + :raises: + `.SSHException` -- if the request is rejected or the session ends + prematurely + + .. versionchanged:: 1.13.4/1.14.3/1.15.3 + Added the ``timeout`` argument. + .. versionchanged:: 1.15 + Added the ``window_size`` and ``max_packet_size`` arguments. + """ + return self.open_channel( + "session", + window_size=window_size, + max_packet_size=max_packet_size, + timeout=timeout, + ) + + def open_x11_channel(self, src_addr=None): + """ + Request a new channel to the client, of type ``"x11"``. This + is just an alias for ``open_channel('x11', src_addr=src_addr)``. + + :param tuple src_addr: + the source address (``(str, int)``) of the x11 server (port is the + x11 port, ie. 6010) + :return: a new `.Channel` + + :raises: + `.SSHException` -- if the request is rejected or the session ends + prematurely + """ + return self.open_channel("x11", src_addr=src_addr) + + def open_forward_agent_channel(self): + """ + Request a new channel to the client, of type + ``"auth-agent@openssh.com"``. + + This is just an alias for ``open_channel('auth-agent@openssh.com')``. + + :return: a new `.Channel` + + :raises: `.SSHException` -- + if the request is rejected or the session ends prematurely + """ + return self.open_channel("auth-agent@openssh.com") + + def open_forwarded_tcpip_channel(self, src_addr, dest_addr): + """ + Request a new channel back to the client, of type ``forwarded-tcpip``. + + This is used after a client has requested port forwarding, for sending + incoming connections back to the client. + + :param src_addr: originator's address + :param dest_addr: local (server) connected address + """ + return self.open_channel("forwarded-tcpip", dest_addr, src_addr) + + def open_channel( + self, + kind, + dest_addr=None, + src_addr=None, + window_size=None, + max_packet_size=None, + timeout=None, + ): + """ + Request a new channel to the server. `Channels <.Channel>` are + socket-like objects used for the actual transfer of data across the + session. You may only request a channel after negotiating encryption + (using `connect` or `start_client`) and authenticating. + + .. note:: Modifying the the window and packet sizes might have adverse + effects on the channel created. The default values are the same + as in the OpenSSH code base and have been battle tested. + + :param str kind: + the kind of channel requested (usually ``"session"``, + ``"forwarded-tcpip"``, ``"direct-tcpip"``, or ``"x11"``) + :param tuple dest_addr: + the destination address (address + port tuple) of this port + forwarding, if ``kind`` is ``"forwarded-tcpip"`` or + ``"direct-tcpip"`` (ignored for other channel types) + :param src_addr: the source address of this port forwarding, if + ``kind`` is ``"forwarded-tcpip"``, ``"direct-tcpip"``, or ``"x11"`` + :param int window_size: + optional window size for this session. + :param int max_packet_size: + optional max packet size for this session. + :param float timeout: + optional timeout opening a channel, default 3600s (1h) + + :return: a new `.Channel` on success + + :raises: + `.SSHException` -- if the request is rejected, the session ends + prematurely or there is a timeout opening a channel + + .. versionchanged:: 1.15 + Added the ``window_size`` and ``max_packet_size`` arguments. + """ + if not self.active: + raise SSHException("SSH session not active") + timeout = self.channel_timeout if timeout is None else timeout + self.lock.acquire() + try: + window_size = self._sanitize_window_size(window_size) + max_packet_size = self._sanitize_packet_size(max_packet_size) + chanid = self._next_channel() + m = Message() + m.add_byte(cMSG_CHANNEL_OPEN) + m.add_string(kind) + m.add_int(chanid) + m.add_int(window_size) + m.add_int(max_packet_size) + if (kind == "forwarded-tcpip") or (kind == "direct-tcpip"): + m.add_string(dest_addr[0]) + m.add_int(dest_addr[1]) + m.add_string(src_addr[0]) + m.add_int(src_addr[1]) + elif kind == "x11": + m.add_string(src_addr[0]) + m.add_int(src_addr[1]) + chan = Channel(chanid) + self._channels.put(chanid, chan) + self.channel_events[chanid] = event = threading.Event() + self.channels_seen[chanid] = True + chan._set_transport(self) + chan._set_window(window_size, max_packet_size) + finally: + self.lock.release() + self._send_user_message(m) + start_ts = time.time() + while True: + event.wait(0.1) + if not self.active: + e = self.get_exception() + if e is None: + e = SSHException("Unable to open channel.") + raise e + if event.is_set(): + break + elif start_ts + timeout < time.time(): + raise SSHException("Timeout opening channel.") + chan = self._channels.get(chanid) + if chan is not None: + return chan + e = self.get_exception() + if e is None: + e = SSHException("Unable to open channel.") + raise e + + def request_port_forward(self, address, port, handler=None): + """ + Ask the server to forward TCP connections from a listening port on + the server, across this SSH session. + + If a handler is given, that handler is called from a different thread + whenever a forwarded connection arrives. The handler parameters are:: + + handler( + channel, + (origin_addr, origin_port), + (server_addr, server_port), + ) + + where ``server_addr`` and ``server_port`` are the address and port that + the server was listening on. + + If no handler is set, the default behavior is to send new incoming + forwarded connections into the accept queue, to be picked up via + `accept`. + + :param str address: the address to bind when forwarding + :param int port: + the port to forward, or 0 to ask the server to allocate any port + :param callable handler: + optional handler for incoming forwarded connections, of the form + ``func(Channel, (str, int), (str, int))``. + + :return: the port number (`int`) allocated by the server + + :raises: + `.SSHException` -- if the server refused the TCP forward request + """ + if not self.active: + raise SSHException("SSH session not active") + port = int(port) + response = self.global_request( + "tcpip-forward", (address, port), wait=True + ) + if response is None: + raise SSHException("TCP forwarding request denied") + if port == 0: + port = response.get_int() + if handler is None: + + def default_handler(channel, src_addr, dest_addr_port): + # src_addr, src_port = src_addr_port + # dest_addr, dest_port = dest_addr_port + self._queue_incoming_channel(channel) + + handler = default_handler + self._tcp_handler = handler + return port + + def cancel_port_forward(self, address, port): + """ + Ask the server to cancel a previous port-forwarding request. No more + connections to the given address & port will be forwarded across this + ssh connection. + + :param str address: the address to stop forwarding + :param int port: the port to stop forwarding + """ + if not self.active: + return + self._tcp_handler = None + self.global_request("cancel-tcpip-forward", (address, port), wait=True) + + def open_sftp_client(self): + """ + Create an SFTP client channel from an open transport. On success, an + SFTP session will be opened with the remote host, and a new + `.SFTPClient` object will be returned. + + :return: + a new `.SFTPClient` referring to an sftp session (channel) across + this transport + """ + return SFTPClient.from_transport(self) + + def send_ignore(self, byte_count=None): + """ + Send a junk packet across the encrypted link. This is sometimes used + to add "noise" to a connection to confuse would-be attackers. It can + also be used as a keep-alive for long lived connections traversing + firewalls. + + :param int byte_count: + the number of random bytes to send in the payload of the ignored + packet -- defaults to a random number from 10 to 41. + """ + m = Message() + m.add_byte(cMSG_IGNORE) + if byte_count is None: + byte_count = (byte_ord(os.urandom(1)) % 32) + 10 + m.add_bytes(os.urandom(byte_count)) + self._send_user_message(m) + + def renegotiate_keys(self): + """ + Force this session to switch to new keys. Normally this is done + automatically after the session hits a certain number of packets or + bytes sent or received, but this method gives you the option of forcing + new keys whenever you want. Negotiating new keys causes a pause in + traffic both ways as the two sides swap keys and do computations. This + method returns when the session has switched to new keys. + + :raises: + `.SSHException` -- if the key renegotiation failed (which causes + the session to end) + """ + self.completion_event = threading.Event() + self._send_kex_init() + while True: + self.completion_event.wait(0.1) + if not self.active: + e = self.get_exception() + if e is not None: + raise e + raise SSHException("Negotiation failed.") + if self.completion_event.is_set(): + break + return + + def set_keepalive(self, interval): + """ + Turn on/off keepalive packets (default is off). If this is set, after + ``interval`` seconds without sending any data over the connection, a + "keepalive" packet will be sent (and ignored by the remote host). This + can be useful to keep connections alive over a NAT, for example. + + :param int interval: + seconds to wait before sending a keepalive packet (or + 0 to disable keepalives). + """ + + def _request(x=weakref.proxy(self)): + return x.global_request("keepalive@lag.net", wait=False) + + self.packetizer.set_keepalive(interval, _request) + + def global_request(self, kind, data=None, wait=True): + """ + Make a global request to the remote host. These are normally + extensions to the SSH2 protocol. + + :param str kind: name of the request. + :param tuple data: + an optional tuple containing additional data to attach to the + request. + :param bool wait: + ``True`` if this method should not return until a response is + received; ``False`` otherwise. + :return: + a `.Message` containing possible additional data if the request was + successful (or an empty `.Message` if ``wait`` was ``False``); + ``None`` if the request was denied. + """ + if wait: + self.completion_event = threading.Event() + m = Message() + m.add_byte(cMSG_GLOBAL_REQUEST) + m.add_string(kind) + m.add_boolean(wait) + if data is not None: + m.add(*data) + self._log(DEBUG, 'Sending global request "{}"'.format(kind)) + self._send_user_message(m) + if not wait: + return None + while True: + self.completion_event.wait(0.1) + if not self.active: + return None + if self.completion_event.is_set(): + break + return self.global_response + + def accept(self, timeout=None): + """ + Return the next channel opened by the client over this transport, in + server mode. If no channel is opened before the given timeout, + ``None`` is returned. + + :param int timeout: + seconds to wait for a channel, or ``None`` to wait forever + :return: a new `.Channel` opened by the client + """ + self.lock.acquire() + try: + if len(self.server_accepts) > 0: + chan = self.server_accepts.pop(0) + else: + self.server_accept_cv.wait(timeout) + if len(self.server_accepts) > 0: + chan = self.server_accepts.pop(0) + else: + # timeout + chan = None + finally: + self.lock.release() + return chan + + def connect( + self, + hostkey=None, + username="", + password=None, + pkey=None, + gss_host=None, + gss_auth=False, + gss_kex=False, + gss_deleg_creds=True, + gss_trust_dns=True, + ): + """ + Negotiate an SSH2 session, and optionally verify the server's host key + and authenticate using a password or private key. This is a shortcut + for `start_client`, `get_remote_server_key`, and + `Transport.auth_password` or `Transport.auth_publickey`. Use those + methods if you want more control. + + You can use this method immediately after creating a Transport to + negotiate encryption with a server. If it fails, an exception will be + thrown. On success, the method will return cleanly, and an encrypted + session exists. You may immediately call `open_channel` or + `open_session` to get a `.Channel` object, which is used for data + transfer. + + .. note:: + If you fail to supply a password or private key, this method may + succeed, but a subsequent `open_channel` or `open_session` call may + fail because you haven't authenticated yet. + + :param .PKey hostkey: + the host key expected from the server, or ``None`` if you don't + want to do host key verification. + :param str username: the username to authenticate as. + :param str password: + a password to use for authentication, if you want to use password + authentication; otherwise ``None``. + :param .PKey pkey: + a private key to use for authentication, if you want to use private + key authentication; otherwise ``None``. + :param str gss_host: + The target's name in the kerberos database. Default: hostname + :param bool gss_auth: + ``True`` if you want to use GSS-API authentication. + :param bool gss_kex: + Perform GSS-API Key Exchange and user authentication. + :param bool gss_deleg_creds: + Whether to delegate GSS-API client credentials. + :param gss_trust_dns: + Indicates whether or not the DNS is trusted to securely + canonicalize the name of the host being connected to (default + ``True``). + + :raises: `.SSHException` -- if the SSH2 negotiation fails, the host key + supplied by the server is incorrect, or authentication fails. + + .. versionchanged:: 2.3 + Added the ``gss_trust_dns`` argument. + """ + if hostkey is not None: + # TODO: a more robust implementation would be to ask each key class + # for its nameS plural, and just use that. + # TODO: that could be used in a bunch of other spots too + if isinstance(hostkey, RSAKey): + self._preferred_keys = [ + "rsa-sha2-512", + "rsa-sha2-256", + "ssh-rsa", + ] + else: + self._preferred_keys = [hostkey.get_name()] + + self.set_gss_host( + gss_host=gss_host, + trust_dns=gss_trust_dns, + gssapi_requested=gss_kex or gss_auth, + ) + + self.start_client() + + # check host key if we were given one + # If GSS-API Key Exchange was performed, we are not required to check + # the host key. + if (hostkey is not None) and not gss_kex: + key = self.get_remote_server_key() + if ( + key.get_name() != hostkey.get_name() + or key.asbytes() != hostkey.asbytes() + ): + self._log(DEBUG, "Bad host key from server") + self._log( + DEBUG, + "Expected: {}: {}".format( + hostkey.get_name(), repr(hostkey.asbytes()) + ), + ) + self._log( + DEBUG, + "Got : {}: {}".format( + key.get_name(), repr(key.asbytes()) + ), + ) + raise SSHException("Bad host key from server") + self._log( + DEBUG, "Host key verified ({})".format(hostkey.get_name()) + ) + + if (pkey is not None) or (password is not None) or gss_auth or gss_kex: + if gss_auth: + self._log( + DEBUG, "Attempting GSS-API auth... (gssapi-with-mic)" + ) # noqa + self.auth_gssapi_with_mic( + username, self.gss_host, gss_deleg_creds + ) + elif gss_kex: + self._log(DEBUG, "Attempting GSS-API auth... (gssapi-keyex)") + self.auth_gssapi_keyex(username) + elif pkey is not None: + self._log(DEBUG, "Attempting public-key auth...") + self.auth_publickey(username, pkey) + else: + self._log(DEBUG, "Attempting password auth...") + self.auth_password(username, password) + + return + + def get_exception(self): + """ + Return any exception that happened during the last server request. + This can be used to fetch more specific error information after using + calls like `start_client`. The exception (if any) is cleared after + this call. + + :return: + an exception, or ``None`` if there is no stored exception. + + .. versionadded:: 1.1 + """ + self.lock.acquire() + try: + e = self.saved_exception + self.saved_exception = None + return e + finally: + self.lock.release() + + def set_subsystem_handler(self, name, handler, *args, **kwargs): + """ + Set the handler class for a subsystem in server mode. If a request + for this subsystem is made on an open ssh channel later, this handler + will be constructed and called -- see `.SubsystemHandler` for more + detailed documentation. + + Any extra parameters (including keyword arguments) are saved and + passed to the `.SubsystemHandler` constructor later. + + :param str name: name of the subsystem. + :param handler: + subclass of `.SubsystemHandler` that handles this subsystem. + """ + try: + self.lock.acquire() + self.subsystem_table[name] = (handler, args, kwargs) + finally: + self.lock.release() + + def is_authenticated(self): + """ + Return true if this session is active and authenticated. + + :return: + True if the session is still open and has been authenticated + successfully; False if authentication failed and/or the session is + closed. + """ + return ( + self.active + and self.auth_handler is not None + and self.auth_handler.is_authenticated() + ) + + def get_username(self): + """ + Return the username this connection is authenticated for. If the + session is not authenticated (or authentication failed), this method + returns ``None``. + + :return: username that was authenticated (a `str`), or ``None``. + """ + if not self.active or (self.auth_handler is None): + return None + return self.auth_handler.get_username() + + def get_banner(self): + """ + Return the banner supplied by the server upon connect. If no banner is + supplied, this method returns ``None``. + + :returns: server supplied banner (`str`), or ``None``. + + .. versionadded:: 1.13 + """ + if not self.active or (self.auth_handler is None): + return None + return self.auth_handler.banner + + def auth_none(self, username): + """ + Try to authenticate to the server using no authentication at all. + This will almost always fail. It may be useful for determining the + list of authentication types supported by the server, by catching the + `.BadAuthenticationType` exception raised. + + :param str username: the username to authenticate as + :return: + list of auth types permissible for the next stage of + authentication (normally empty) + + :raises: + `.BadAuthenticationType` -- if "none" authentication isn't allowed + by the server for this user + :raises: + `.SSHException` -- if the authentication failed due to a network + error + + .. versionadded:: 1.5 + """ + if (not self.active) or (not self.initial_kex_done): + raise SSHException("No existing session") + my_event = threading.Event() + self.auth_handler = AuthHandler(self) + self.auth_handler.auth_none(username, my_event) + return self.auth_handler.wait_for_response(my_event) + + def auth_password(self, username, password, event=None, fallback=True): + """ + Authenticate to the server using a password. The username and password + are sent over an encrypted link. + + If an ``event`` is passed in, this method will return immediately, and + the event will be triggered once authentication succeeds or fails. On + success, `is_authenticated` will return ``True``. On failure, you may + use `get_exception` to get more detailed error information. + + Since 1.1, if no event is passed, this method will block until the + authentication succeeds or fails. On failure, an exception is raised. + Otherwise, the method simply returns. + + Since 1.5, if no event is passed and ``fallback`` is ``True`` (the + default), if the server doesn't support plain password authentication + but does support so-called "keyboard-interactive" mode, an attempt + will be made to authenticate using this interactive mode. If it fails, + the normal exception will be thrown as if the attempt had never been + made. This is useful for some recent Gentoo and Debian distributions, + which turn off plain password authentication in a misguided belief + that interactive authentication is "more secure". (It's not.) + + If the server requires multi-step authentication (which is very rare), + this method will return a list of auth types permissible for the next + step. Otherwise, in the normal case, an empty list is returned. + + :param str username: the username to authenticate as + :param basestring password: the password to authenticate with + :param .threading.Event event: + an event to trigger when the authentication attempt is complete + (whether it was successful or not) + :param bool fallback: + ``True`` if an attempt at an automated "interactive" password auth + should be made if the server doesn't support normal password auth + :return: + list of auth types permissible for the next stage of + authentication (normally empty) + + :raises: + `.BadAuthenticationType` -- if password authentication isn't + allowed by the server for this user (and no event was passed in) + :raises: + `.AuthenticationException` -- if the authentication failed (and no + event was passed in) + :raises: `.SSHException` -- if there was a network error + """ + if (not self.active) or (not self.initial_kex_done): + # we should never try to send the password unless we're on a secure + # link + raise SSHException("No existing session") + if event is None: + my_event = threading.Event() + else: + my_event = event + self.auth_handler = AuthHandler(self) + self.auth_handler.auth_password(username, password, my_event) + if event is not None: + # caller wants to wait for event themselves + return [] + try: + return self.auth_handler.wait_for_response(my_event) + except BadAuthenticationType as e: + # if password auth isn't allowed, but keyboard-interactive *is*, + # try to fudge it + if not fallback or ("keyboard-interactive" not in e.allowed_types): + raise + try: + + def handler(title, instructions, fields): + if len(fields) > 1: + raise SSHException("Fallback authentication failed.") + if len(fields) == 0: + # for some reason, at least on os x, a 2nd request will + # be made with zero fields requested. maybe it's just + # to try to fake out automated scripting of the exact + # type we're doing here. *shrug* :) + return [] + return [password] + + return self.auth_interactive(username, handler) + except SSHException: + # attempt failed; just raise the original exception + raise e + + def auth_publickey(self, username, key, event=None): + """ + Authenticate to the server using a private key. The key is used to + sign data from the server, so it must include the private part. + + If an ``event`` is passed in, this method will return immediately, and + the event will be triggered once authentication succeeds or fails. On + success, `is_authenticated` will return ``True``. On failure, you may + use `get_exception` to get more detailed error information. + + Since 1.1, if no event is passed, this method will block until the + authentication succeeds or fails. On failure, an exception is raised. + Otherwise, the method simply returns. + + If the server requires multi-step authentication (which is very rare), + this method will return a list of auth types permissible for the next + step. Otherwise, in the normal case, an empty list is returned. + + :param str username: the username to authenticate as + :param .PKey key: the private key to authenticate with + :param .threading.Event event: + an event to trigger when the authentication attempt is complete + (whether it was successful or not) + :return: + list of auth types permissible for the next stage of + authentication (normally empty) + + :raises: + `.BadAuthenticationType` -- if public-key authentication isn't + allowed by the server for this user (and no event was passed in) + :raises: + `.AuthenticationException` -- if the authentication failed (and no + event was passed in) + :raises: `.SSHException` -- if there was a network error + """ + if (not self.active) or (not self.initial_kex_done): + # we should never try to authenticate unless we're on a secure link + raise SSHException("No existing session") + if event is None: + my_event = threading.Event() + else: + my_event = event + self.auth_handler = AuthHandler(self) + self.auth_handler.auth_publickey(username, key, my_event) + if event is not None: + # caller wants to wait for event themselves + return [] + return self.auth_handler.wait_for_response(my_event) + + def auth_interactive(self, username, handler, submethods=""): + """ + Authenticate to the server interactively. A handler is used to answer + arbitrary questions from the server. On many servers, this is just a + dumb wrapper around PAM. + + This method will block until the authentication succeeds or fails, + periodically calling the handler asynchronously to get answers to + authentication questions. The handler may be called more than once + if the server continues to ask questions. + + The handler is expected to be a callable that will handle calls of the + form: ``handler(title, instructions, prompt_list)``. The ``title`` is + meant to be a dialog-window title, and the ``instructions`` are user + instructions (both are strings). ``prompt_list`` will be a list of + prompts, each prompt being a tuple of ``(str, bool)``. The string is + the prompt and the boolean indicates whether the user text should be + echoed. + + A sample call would thus be: + ``handler('title', 'instructions', [('Password:', False)])``. + + The handler should return a list or tuple of answers to the server's + questions. + + If the server requires multi-step authentication (which is very rare), + this method will return a list of auth types permissible for the next + step. Otherwise, in the normal case, an empty list is returned. + + :param str username: the username to authenticate as + :param callable handler: a handler for responding to server questions + :param str submethods: a string list of desired submethods (optional) + :return: + list of auth types permissible for the next stage of + authentication (normally empty). + + :raises: `.BadAuthenticationType` -- if public-key authentication isn't + allowed by the server for this user + :raises: `.AuthenticationException` -- if the authentication failed + :raises: `.SSHException` -- if there was a network error + + .. versionadded:: 1.5 + """ + if (not self.active) or (not self.initial_kex_done): + # we should never try to authenticate unless we're on a secure link + raise SSHException("No existing session") + my_event = threading.Event() + self.auth_handler = AuthHandler(self) + self.auth_handler.auth_interactive( + username, handler, my_event, submethods + ) + return self.auth_handler.wait_for_response(my_event) + + def auth_interactive_dumb(self, username, handler=None, submethods=""): + """ + Authenticate to the server interactively but dumber. + Just print the prompt and / or instructions to stdout and send back + the response. This is good for situations where partial auth is + achieved by key and then the user has to enter a 2fac token. + """ + + if not handler: + + def handler(title, instructions, prompt_list): + answers = [] + if title: + print(title.strip()) + if instructions: + print(instructions.strip()) + for prompt, show_input in prompt_list: + print(prompt.strip(), end=" ") + answers.append(input()) + return answers + + return self.auth_interactive(username, handler, submethods) + + def auth_gssapi_with_mic(self, username, gss_host, gss_deleg_creds): + """ + Authenticate to the Server using GSS-API / SSPI. + + :param str username: The username to authenticate as + :param str gss_host: The target host + :param bool gss_deleg_creds: Delegate credentials or not + :return: list of auth types permissible for the next stage of + authentication (normally empty) + :raises: `.BadAuthenticationType` -- if gssapi-with-mic isn't + allowed by the server (and no event was passed in) + :raises: + `.AuthenticationException` -- if the authentication failed (and no + event was passed in) + :raises: `.SSHException` -- if there was a network error + """ + if (not self.active) or (not self.initial_kex_done): + # we should never try to authenticate unless we're on a secure link + raise SSHException("No existing session") + my_event = threading.Event() + self.auth_handler = AuthHandler(self) + self.auth_handler.auth_gssapi_with_mic( + username, gss_host, gss_deleg_creds, my_event + ) + return self.auth_handler.wait_for_response(my_event) + + def auth_gssapi_keyex(self, username): + """ + Authenticate to the server with GSS-API/SSPI if GSS-API kex is in use. + + :param str username: The username to authenticate as. + :returns: + a list of auth types permissible for the next stage of + authentication (normally empty) + :raises: `.BadAuthenticationType` -- + if GSS-API Key Exchange was not performed (and no event was passed + in) + :raises: `.AuthenticationException` -- + if the authentication failed (and no event was passed in) + :raises: `.SSHException` -- if there was a network error + """ + if (not self.active) or (not self.initial_kex_done): + # we should never try to authenticate unless we're on a secure link + raise SSHException("No existing session") + my_event = threading.Event() + self.auth_handler = AuthHandler(self) + self.auth_handler.auth_gssapi_keyex(username, my_event) + return self.auth_handler.wait_for_response(my_event) + + def set_log_channel(self, name): + """ + Set the channel for this transport's logging. The default is + ``"paramiko.transport"`` but it can be set to anything you want. (See + the `.logging` module for more info.) SSH Channels will log to a + sub-channel of the one specified. + + :param str name: new channel name for logging + + .. versionadded:: 1.1 + """ + self.log_name = name + self.logger = util.get_logger(name) + self.packetizer.set_log(self.logger) + + def get_log_channel(self): + """ + Return the channel name used for this transport's logging. + + :return: channel name as a `str` + + .. versionadded:: 1.2 + """ + return self.log_name + + def set_hexdump(self, hexdump): + """ + Turn on/off logging a hex dump of protocol traffic at DEBUG level in + the logs. Normally you would want this off (which is the default), + but if you are debugging something, it may be useful. + + :param bool hexdump: + ``True`` to log protocol traffix (in hex) to the log; ``False`` + otherwise. + """ + self.packetizer.set_hexdump(hexdump) + + def get_hexdump(self): + """ + Return ``True`` if the transport is currently logging hex dumps of + protocol traffic. + + :return: ``True`` if hex dumps are being logged, else ``False``. + + .. versionadded:: 1.4 + """ + return self.packetizer.get_hexdump() + + def use_compression(self, compress=True): + """ + Turn on/off compression. This will only have an affect before starting + the transport (ie before calling `connect`, etc). By default, + compression is off since it negatively affects interactive sessions. + + :param bool compress: + ``True`` to ask the remote client/server to compress traffic; + ``False`` to refuse compression + + .. versionadded:: 1.5.2 + """ + if compress: + self._preferred_compression = ("zlib@openssh.com", "zlib", "none") + else: + self._preferred_compression = ("none",) + + def getpeername(self): + """ + Return the address of the remote side of this Transport, if possible. + + This is effectively a wrapper around ``getpeername`` on the underlying + socket. If the socket-like object has no ``getpeername`` method, then + ``("unknown", 0)`` is returned. + + :return: + the address of the remote host, if known, as a ``(str, int)`` + tuple. + """ + gp = getattr(self.sock, "getpeername", None) + if gp is None: + return "unknown", 0 + return gp() + + def stop_thread(self): + self.active = False + self.packetizer.close() + # Keep trying to join() our main thread, quickly, until: + # * We join()ed successfully (self.is_alive() == False) + # * Or it looks like we've hit issue #520 (socket.recv hitting some + # race condition preventing it from timing out correctly), wherein + # our socket and packetizer are both closed (but where we'd + # otherwise be sitting forever on that recv()). + while ( + self.is_alive() + and self is not threading.current_thread() + and not self.sock._closed + and not self.packetizer.closed + ): + self.join(0.1) + + # internals... + + # TODO 4.0: make a public alias for this because multiple other classes + # already explicitly rely on it...or just rewrite logging :D + def _log(self, level, msg, *args): + if issubclass(type(msg), list): + for m in msg: + self.logger.log(level, m) + else: + self.logger.log(level, msg, *args) + + def _get_modulus_pack(self): + """used by KexGex to find primes for group exchange""" + return self._modulus_pack + + def _next_channel(self): + """you are holding the lock""" + chanid = self._channel_counter + while self._channels.get(chanid) is not None: + self._channel_counter = (self._channel_counter + 1) & 0xFFFFFF + chanid = self._channel_counter + self._channel_counter = (self._channel_counter + 1) & 0xFFFFFF + return chanid + + def _unlink_channel(self, chanid): + """used by a Channel to remove itself from the active channel list""" + self._channels.delete(chanid) + + def _send_message(self, data): + self.packetizer.send_message(data) + + def _send_user_message(self, data): + """ + send a message, but block if we're in key negotiation. this is used + for user-initiated requests. + """ + start = time.time() + while True: + self.clear_to_send.wait(0.1) + if not self.active: + self._log( + DEBUG, "Dropping user packet because connection is dead." + ) # noqa + return + self.clear_to_send_lock.acquire() + if self.clear_to_send.is_set(): + break + self.clear_to_send_lock.release() + if time.time() > start + self.clear_to_send_timeout: + raise SSHException( + "Key-exchange timed out waiting for key negotiation" + ) # noqa + try: + self._send_message(data) + finally: + self.clear_to_send_lock.release() + + def _set_K_H(self, k, h): + """ + Used by a kex obj to set the K (root key) and H (exchange hash). + """ + self.K = k + self.H = h + if self.session_id is None: + self.session_id = h + + def _expect_packet(self, *ptypes): + """ + Used by a kex obj to register the next packet type it expects to see. + """ + self._expected_packet = tuple(ptypes) + + def _verify_key(self, host_key, sig): + key = self._key_info[self.host_key_type](Message(host_key)) + if key is None: + raise SSHException("Unknown host key type") + if not key.verify_ssh_sig(self.H, Message(sig)): + raise SSHException( + "Signature verification ({}) failed.".format( + self.host_key_type + ) + ) # noqa + self.host_key = key + + def _compute_key(self, id, nbytes): + """id is 'A' - 'F' for the various keys used by ssh""" + m = Message() + m.add_mpint(self.K) + m.add_bytes(self.H) + m.add_byte(b(id)) + m.add_bytes(self.session_id) + # Fallback to SHA1 for kex engines that fail to specify a hex + # algorithm, or for e.g. transport tests that don't run kexinit. + hash_algo = getattr(self.kex_engine, "hash_algo", None) + hash_select_msg = "kex engine {} specified hash_algo {!r}".format( + self.kex_engine.__class__.__name__, hash_algo + ) + if hash_algo is None: + hash_algo = sha1 + hash_select_msg += ", falling back to sha1" + if not hasattr(self, "_logged_hash_selection"): + self._log(DEBUG, hash_select_msg) + setattr(self, "_logged_hash_selection", True) + out = sofar = hash_algo(m.asbytes()).digest() + while len(out) < nbytes: + m = Message() + m.add_mpint(self.K) + m.add_bytes(self.H) + m.add_bytes(sofar) + digest = hash_algo(m.asbytes()).digest() + out += digest + sofar += digest + return out[:nbytes] + + def _get_cipher(self, name, key, iv, operation): + if name not in self._cipher_info: + raise SSHException("Unknown client cipher " + name) + else: + cipher = Cipher( + self._cipher_info[name]["class"](key), + self._cipher_info[name]["mode"](iv), + backend=default_backend(), + ) + if operation is self._ENCRYPT: + return cipher.encryptor() + else: + return cipher.decryptor() + + def _set_forward_agent_handler(self, handler): + if handler is None: + + def default_handler(channel): + self._queue_incoming_channel(channel) + + self._forward_agent_handler = default_handler + else: + self._forward_agent_handler = handler + + def _set_x11_handler(self, handler): + # only called if a channel has turned on x11 forwarding + if handler is None: + # by default, use the same mechanism as accept() + def default_handler(channel, src_addr_port): + self._queue_incoming_channel(channel) + + self._x11_handler = default_handler + else: + self._x11_handler = handler + + def _queue_incoming_channel(self, channel): + self.lock.acquire() + try: + self.server_accepts.append(channel) + self.server_accept_cv.notify() + finally: + self.lock.release() + + def _sanitize_window_size(self, window_size): + if window_size is None: + window_size = self.default_window_size + return clamp_value(MIN_WINDOW_SIZE, window_size, MAX_WINDOW_SIZE) + + def _sanitize_packet_size(self, max_packet_size): + if max_packet_size is None: + max_packet_size = self.default_max_packet_size + return clamp_value(MIN_PACKET_SIZE, max_packet_size, MAX_WINDOW_SIZE) + + def _ensure_authed(self, ptype, message): + """ + Checks message type against current auth state. + + If server mode, and auth has not succeeded, and the message is of a + post-auth type (channel open or global request) an appropriate error + response Message is crafted and returned to caller for sending. + + Otherwise (client mode, authed, or pre-auth message) returns None. + """ + if ( + not self.server_mode + or ptype <= HIGHEST_USERAUTH_MESSAGE_ID + or self.is_authenticated() + ): + return None + # WELP. We must be dealing with someone trying to do non-auth things + # without being authed. Tell them off, based on message class. + reply = Message() + # Global requests have no details, just failure. + if ptype == MSG_GLOBAL_REQUEST: + reply.add_byte(cMSG_REQUEST_FAILURE) + # Channel opens let us reject w/ a specific type + message. + elif ptype == MSG_CHANNEL_OPEN: + kind = message.get_text() # noqa + chanid = message.get_int() + reply.add_byte(cMSG_CHANNEL_OPEN_FAILURE) + reply.add_int(chanid) + reply.add_int(OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED) + reply.add_string("") + reply.add_string("en") + # NOTE: Post-open channel messages do not need checking; the above will + # reject attempts to open channels, meaning that even if a malicious + # user tries to send a MSG_CHANNEL_REQUEST, it will simply fall under + # the logic that handles unknown channel IDs (as the channel list will + # be empty.) + return reply + + def run(self): + # (use the exposed "run" method, because if we specify a thread target + # of a private method, threading.Thread will keep a reference to it + # indefinitely, creating a GC cycle and not letting Transport ever be + # GC'd. it's a bug in Thread.) + + # Hold reference to 'sys' so we can test sys.modules to detect + # interpreter shutdown. + self.sys = sys + + # active=True occurs before the thread is launched, to avoid a race + _active_threads.append(self) + tid = hex(id(self) & xffffffff) + if self.server_mode: + self._log(DEBUG, "starting thread (server mode): {}".format(tid)) + else: + self._log(DEBUG, "starting thread (client mode): {}".format(tid)) + try: + try: + self.packetizer.write_all(b(self.local_version + "\r\n")) + self._log( + DEBUG, + "Local version/idstring: {}".format(self.local_version), + ) # noqa + self._check_banner() + # The above is actually very much part of the handshake, but + # sometimes the banner can be read but the machine is not + # responding, for example when the remote ssh daemon is loaded + # in to memory but we can not read from the disk/spawn a new + # shell. + # Make sure we can specify a timeout for the initial handshake. + # Re-use the banner timeout for now. + self.packetizer.start_handshake(self.handshake_timeout) + self._send_kex_init() + self._expect_packet(MSG_KEXINIT) + + while self.active: + if self.packetizer.need_rekey() and not self.in_kex: + self._send_kex_init() + try: + ptype, m = self.packetizer.read_message() + except NeedRekeyException: + continue + if ptype == MSG_IGNORE: + continue + elif ptype == MSG_DISCONNECT: + self._parse_disconnect(m) + break + elif ptype == MSG_DEBUG: + self._parse_debug(m) + continue + if len(self._expected_packet) > 0: + if ptype not in self._expected_packet: + raise SSHException( + "Expecting packet from {!r}, got {:d}".format( + self._expected_packet, ptype + ) + ) # noqa + self._expected_packet = tuple() + # These message IDs indicate key exchange & will differ + # depending on exact exchange algorithm + if (ptype >= 30) and (ptype <= 41): + self.kex_engine.parse_next(ptype, m) + continue + + if ptype in self._handler_table: + error_msg = self._ensure_authed(ptype, m) + if error_msg: + self._send_message(error_msg) + else: + self._handler_table[ptype](m) + elif ptype in self._channel_handler_table: + chanid = m.get_int() + chan = self._channels.get(chanid) + if chan is not None: + self._channel_handler_table[ptype](chan, m) + elif chanid in self.channels_seen: + self._log( + DEBUG, + "Ignoring message for dead channel {:d}".format( # noqa + chanid + ), + ) + else: + self._log( + ERROR, + "Channel request for unknown channel {:d}".format( # noqa + chanid + ), + ) + break + elif ( + self.auth_handler is not None + and ptype in self.auth_handler._handler_table + ): + handler = self.auth_handler._handler_table[ptype] + handler(m) + if len(self._expected_packet) > 0: + continue + else: + # Respond with "I don't implement this particular + # message type" message (unless the message type was + # itself literally MSG_UNIMPLEMENTED, in which case, we + # just shut up to avoid causing a useless loop). + name = MSG_NAMES[ptype] + warning = "Oops, unhandled type {} ({!r})".format( + ptype, name + ) + self._log(WARNING, warning) + if ptype != MSG_UNIMPLEMENTED: + msg = Message() + msg.add_byte(cMSG_UNIMPLEMENTED) + msg.add_int(m.seqno) + self._send_message(msg) + self.packetizer.complete_handshake() + except SSHException as e: + self._log( + ERROR, + "Exception ({}): {}".format( + "server" if self.server_mode else "client", e + ), + ) + self._log(ERROR, util.tb_strings()) + self.saved_exception = e + except EOFError as e: + self._log(DEBUG, "EOF in transport thread") + self.saved_exception = e + except socket.error as e: + if type(e.args) is tuple: + if e.args: + emsg = "{} ({:d})".format(e.args[1], e.args[0]) + else: # empty tuple, e.g. socket.timeout + emsg = str(e) or repr(e) + else: + emsg = e.args + self._log(ERROR, "Socket exception: " + emsg) + self.saved_exception = e + except Exception as e: + self._log(ERROR, "Unknown exception: " + str(e)) + self._log(ERROR, util.tb_strings()) + self.saved_exception = e + _active_threads.remove(self) + for chan in list(self._channels.values()): + chan._unlink() + if self.active: + self.active = False + self.packetizer.close() + if self.completion_event is not None: + self.completion_event.set() + if self.auth_handler is not None: + self.auth_handler.abort() + for event in self.channel_events.values(): + event.set() + try: + self.lock.acquire() + self.server_accept_cv.notify() + finally: + self.lock.release() + self.sock.close() + except: + # Don't raise spurious 'NoneType has no attribute X' errors when we + # wake up during interpreter shutdown. Or rather -- raise + # everything *if* sys.modules (used as a convenient sentinel) + # appears to still exist. + if self.sys.modules is not None: + raise + + def _log_agreement(self, which, local, remote): + # Log useful, non-duplicative line re: an agreed-upon algorithm. + # Old code implied algorithms could be asymmetrical (different for + # inbound vs outbound) so we preserve that possibility. + msg = "{}: ".format(which) + if local == remote: + msg += local + else: + msg += "local={}, remote={}".format(local, remote) + self._log(DEBUG, msg) + + # protocol stages + + def _negotiate_keys(self, m): + # throws SSHException on anything unusual + self.clear_to_send_lock.acquire() + try: + self.clear_to_send.clear() + finally: + self.clear_to_send_lock.release() + if self.local_kex_init is None: + # remote side wants to renegotiate + self._send_kex_init() + self._parse_kex_init(m) + self.kex_engine.start_kex() + + def _check_banner(self): + # this is slow, but we only have to do it once + for i in range(100): + # give them 15 seconds for the first line, then just 2 seconds + # each additional line. (some sites have very high latency.) + if i == 0: + timeout = self.banner_timeout + else: + timeout = 2 + try: + buf = self.packetizer.readline(timeout) + except ProxyCommandFailure: + raise + except Exception as e: + raise SSHException( + "Error reading SSH protocol banner" + str(e) + ) + if buf[:4] == "SSH-": + break + self._log(DEBUG, "Banner: " + buf) + if buf[:4] != "SSH-": + raise SSHException('Indecipherable protocol version "' + buf + '"') + # save this server version string for later + self.remote_version = buf + self._log(DEBUG, "Remote version/idstring: {}".format(buf)) + # pull off any attached comment + # NOTE: comment used to be stored in a variable and then...never used. + # since 2003. ca 877cd974b8182d26fa76d566072917ea67b64e67 + i = buf.find(" ") + if i >= 0: + buf = buf[:i] + # parse out version string and make sure it matches + segs = buf.split("-", 2) + if len(segs) < 3: + raise SSHException("Invalid SSH banner") + version = segs[1] + client = segs[2] + if version != "1.99" and version != "2.0": + msg = "Incompatible version ({} instead of 2.0)" + raise IncompatiblePeer(msg.format(version)) + msg = "Connected (version {}, client {})".format(version, client) + self._log(INFO, msg) + + def _send_kex_init(self): + """ + announce to the other side that we'd like to negotiate keys, and what + kind of key negotiation we support. + """ + self.clear_to_send_lock.acquire() + try: + self.clear_to_send.clear() + finally: + self.clear_to_send_lock.release() + self.gss_kex_used = False + self.in_kex = True + kex_algos = list(self.preferred_kex) + if self.server_mode: + mp_required_prefix = "diffie-hellman-group-exchange-sha" + kex_mp = [k for k in kex_algos if k.startswith(mp_required_prefix)] + if (self._modulus_pack is None) and (len(kex_mp) > 0): + # can't do group-exchange if we don't have a pack of potential + # primes + pkex = [ + k + for k in self.get_security_options().kex + if not k.startswith(mp_required_prefix) + ] + self.get_security_options().kex = pkex + available_server_keys = list( + filter( + list(self.server_key_dict.keys()).__contains__, + # TODO: ensure tests will catch if somebody streamlines + # this by mistake - case is the admittedly silly one where + # the only calls to add_server_key() contain keys which + # were filtered out of the below via disabled_algorithms. + # If this is streamlined, we would then be allowing the + # disabled algorithm(s) for hostkey use + # TODO: honestly this prob just wants to get thrown out + # when we make kex configuration more straightforward + self.preferred_keys, + ) + ) + else: + available_server_keys = self.preferred_keys + # Signal support for MSG_EXT_INFO. + # NOTE: doing this here handily means we don't even consider this + # value when agreeing on real kex algo to use (which is a common + # pitfall when adding this apparently). + kex_algos.append("ext-info-c") + + m = Message() + m.add_byte(cMSG_KEXINIT) + m.add_bytes(os.urandom(16)) + m.add_list(kex_algos) + m.add_list(available_server_keys) + m.add_list(self.preferred_ciphers) + m.add_list(self.preferred_ciphers) + m.add_list(self.preferred_macs) + m.add_list(self.preferred_macs) + m.add_list(self.preferred_compression) + m.add_list(self.preferred_compression) + m.add_string(bytes()) + m.add_string(bytes()) + m.add_boolean(False) + m.add_int(0) + # save a copy for later (needed to compute a hash) + self.local_kex_init = self._latest_kex_init = m.asbytes() + self._send_message(m) + + def _really_parse_kex_init(self, m, ignore_first_byte=False): + parsed = {} + if ignore_first_byte: + m.get_byte() + m.get_bytes(16) # cookie, discarded + parsed["kex_algo_list"] = m.get_list() + parsed["server_key_algo_list"] = m.get_list() + parsed["client_encrypt_algo_list"] = m.get_list() + parsed["server_encrypt_algo_list"] = m.get_list() + parsed["client_mac_algo_list"] = m.get_list() + parsed["server_mac_algo_list"] = m.get_list() + parsed["client_compress_algo_list"] = m.get_list() + parsed["server_compress_algo_list"] = m.get_list() + parsed["client_lang_list"] = m.get_list() + parsed["server_lang_list"] = m.get_list() + parsed["kex_follows"] = m.get_boolean() + m.get_int() # unused + return parsed + + def _get_latest_kex_init(self): + return self._really_parse_kex_init( + Message(self._latest_kex_init), ignore_first_byte=True + ) + + def _parse_kex_init(self, m): + parsed = self._really_parse_kex_init(m) + kex_algo_list = parsed["kex_algo_list"] + server_key_algo_list = parsed["server_key_algo_list"] + client_encrypt_algo_list = parsed["client_encrypt_algo_list"] + server_encrypt_algo_list = parsed["server_encrypt_algo_list"] + client_mac_algo_list = parsed["client_mac_algo_list"] + server_mac_algo_list = parsed["server_mac_algo_list"] + client_compress_algo_list = parsed["client_compress_algo_list"] + server_compress_algo_list = parsed["server_compress_algo_list"] + client_lang_list = parsed["client_lang_list"] + server_lang_list = parsed["server_lang_list"] + kex_follows = parsed["kex_follows"] + + self._log(DEBUG, "=== Key exchange possibilities ===") + for prefix, value in ( + ("kex algos", kex_algo_list), + ("server key", server_key_algo_list), + # TODO: shouldn't these two lines say "cipher" to match usual + # terminology (including elsewhere in paramiko!)? + ("client encrypt", client_encrypt_algo_list), + ("server encrypt", server_encrypt_algo_list), + ("client mac", client_mac_algo_list), + ("server mac", server_mac_algo_list), + ("client compress", client_compress_algo_list), + ("server compress", server_compress_algo_list), + ("client lang", client_lang_list), + ("server lang", server_lang_list), + ): + if value == [""]: + value = [""] + value = ", ".join(value) + self._log(DEBUG, "{}: {}".format(prefix, value)) + self._log(DEBUG, "kex follows: {}".format(kex_follows)) + self._log(DEBUG, "=== Key exchange agreements ===") + + # Strip out ext-info "kex algo" + self._remote_ext_info = None + if kex_algo_list[-1].startswith("ext-info-"): + self._remote_ext_info = kex_algo_list.pop() + + # as a server, we pick the first item in the client's list that we + # support. + # as a client, we pick the first item in our list that the server + # supports. + if self.server_mode: + agreed_kex = list( + filter(self.preferred_kex.__contains__, kex_algo_list) + ) + else: + agreed_kex = list( + filter(kex_algo_list.__contains__, self.preferred_kex) + ) + if len(agreed_kex) == 0: + # TODO: do an auth-overhaul style aggregate exception here? + # TODO: would let us streamline log output & show all failures up + # front + raise IncompatiblePeer( + "Incompatible ssh peer (no acceptable kex algorithm)" + ) # noqa + self.kex_engine = self._kex_info[agreed_kex[0]](self) + self._log(DEBUG, "Kex: {}".format(agreed_kex[0])) + + if self.server_mode: + available_server_keys = list( + filter( + list(self.server_key_dict.keys()).__contains__, + self.preferred_keys, + ) + ) + agreed_keys = list( + filter( + available_server_keys.__contains__, server_key_algo_list + ) + ) + else: + agreed_keys = list( + filter(server_key_algo_list.__contains__, self.preferred_keys) + ) + if len(agreed_keys) == 0: + raise IncompatiblePeer( + "Incompatible ssh peer (no acceptable host key)" + ) # noqa + self.host_key_type = agreed_keys[0] + if self.server_mode and (self.get_server_key() is None): + raise IncompatiblePeer( + "Incompatible ssh peer (can't match requested host key type)" + ) # noqa + self._log_agreement("HostKey", agreed_keys[0], agreed_keys[0]) + + if self.server_mode: + agreed_local_ciphers = list( + filter( + self.preferred_ciphers.__contains__, + server_encrypt_algo_list, + ) + ) + agreed_remote_ciphers = list( + filter( + self.preferred_ciphers.__contains__, + client_encrypt_algo_list, + ) + ) + else: + agreed_local_ciphers = list( + filter( + client_encrypt_algo_list.__contains__, + self.preferred_ciphers, + ) + ) + agreed_remote_ciphers = list( + filter( + server_encrypt_algo_list.__contains__, + self.preferred_ciphers, + ) + ) + if len(agreed_local_ciphers) == 0 or len(agreed_remote_ciphers) == 0: + raise IncompatiblePeer( + "Incompatible ssh server (no acceptable ciphers)" + ) # noqa + self.local_cipher = agreed_local_ciphers[0] + self.remote_cipher = agreed_remote_ciphers[0] + self._log_agreement( + "Cipher", local=self.local_cipher, remote=self.remote_cipher + ) + + if self.server_mode: + agreed_remote_macs = list( + filter(self.preferred_macs.__contains__, client_mac_algo_list) + ) + agreed_local_macs = list( + filter(self.preferred_macs.__contains__, server_mac_algo_list) + ) + else: + agreed_local_macs = list( + filter(client_mac_algo_list.__contains__, self.preferred_macs) + ) + agreed_remote_macs = list( + filter(server_mac_algo_list.__contains__, self.preferred_macs) + ) + if (len(agreed_local_macs) == 0) or (len(agreed_remote_macs) == 0): + raise IncompatiblePeer( + "Incompatible ssh server (no acceptable macs)" + ) + self.local_mac = agreed_local_macs[0] + self.remote_mac = agreed_remote_macs[0] + self._log_agreement( + "MAC", local=self.local_mac, remote=self.remote_mac + ) + + if self.server_mode: + agreed_remote_compression = list( + filter( + self.preferred_compression.__contains__, + client_compress_algo_list, + ) + ) + agreed_local_compression = list( + filter( + self.preferred_compression.__contains__, + server_compress_algo_list, + ) + ) + else: + agreed_local_compression = list( + filter( + client_compress_algo_list.__contains__, + self.preferred_compression, + ) + ) + agreed_remote_compression = list( + filter( + server_compress_algo_list.__contains__, + self.preferred_compression, + ) + ) + if ( + len(agreed_local_compression) == 0 + or len(agreed_remote_compression) == 0 + ): + msg = "Incompatible ssh server (no acceptable compression)" + msg += " {!r} {!r} {!r}" + raise IncompatiblePeer( + msg.format( + agreed_local_compression, + agreed_remote_compression, + self.preferred_compression, + ) + ) + self.local_compression = agreed_local_compression[0] + self.remote_compression = agreed_remote_compression[0] + self._log_agreement( + "Compression", + local=self.local_compression, + remote=self.remote_compression, + ) + self._log(DEBUG, "=== End of kex handshake ===") + + # save for computing hash later... + # now wait! openssh has a bug (and others might too) where there are + # actually some extra bytes (one NUL byte in openssh's case) added to + # the end of the packet but not parsed. turns out we need to throw + # away those bytes because they aren't part of the hash. + self.remote_kex_init = cMSG_KEXINIT + m.get_so_far() + + def _activate_inbound(self): + """switch on newly negotiated encryption parameters for + inbound traffic""" + block_size = self._cipher_info[self.remote_cipher]["block-size"] + if self.server_mode: + IV_in = self._compute_key("A", block_size) + key_in = self._compute_key( + "C", self._cipher_info[self.remote_cipher]["key-size"] + ) + else: + IV_in = self._compute_key("B", block_size) + key_in = self._compute_key( + "D", self._cipher_info[self.remote_cipher]["key-size"] + ) + engine = self._get_cipher( + self.remote_cipher, key_in, IV_in, self._DECRYPT + ) + etm = "etm@openssh.com" in self.remote_mac + mac_size = self._mac_info[self.remote_mac]["size"] + mac_engine = self._mac_info[self.remote_mac]["class"] + # initial mac keys are done in the hash's natural size (not the + # potentially truncated transmission size) + if self.server_mode: + mac_key = self._compute_key("E", mac_engine().digest_size) + else: + mac_key = self._compute_key("F", mac_engine().digest_size) + self.packetizer.set_inbound_cipher( + engine, block_size, mac_engine, mac_size, mac_key, etm=etm + ) + compress_in = self._compression_info[self.remote_compression][1] + if compress_in is not None and ( + self.remote_compression != "zlib@openssh.com" or self.authenticated + ): + self._log(DEBUG, "Switching on inbound compression ...") + self.packetizer.set_inbound_compressor(compress_in()) + + def _activate_outbound(self): + """switch on newly negotiated encryption parameters for + outbound traffic""" + m = Message() + m.add_byte(cMSG_NEWKEYS) + self._send_message(m) + block_size = self._cipher_info[self.local_cipher]["block-size"] + if self.server_mode: + IV_out = self._compute_key("B", block_size) + key_out = self._compute_key( + "D", self._cipher_info[self.local_cipher]["key-size"] + ) + else: + IV_out = self._compute_key("A", block_size) + key_out = self._compute_key( + "C", self._cipher_info[self.local_cipher]["key-size"] + ) + engine = self._get_cipher( + self.local_cipher, key_out, IV_out, self._ENCRYPT + ) + etm = "etm@openssh.com" in self.local_mac + mac_size = self._mac_info[self.local_mac]["size"] + mac_engine = self._mac_info[self.local_mac]["class"] + # initial mac keys are done in the hash's natural size (not the + # potentially truncated transmission size) + if self.server_mode: + mac_key = self._compute_key("F", mac_engine().digest_size) + else: + mac_key = self._compute_key("E", mac_engine().digest_size) + sdctr = self.local_cipher.endswith("-ctr") + self.packetizer.set_outbound_cipher( + engine, block_size, mac_engine, mac_size, mac_key, sdctr, etm=etm + ) + compress_out = self._compression_info[self.local_compression][0] + if compress_out is not None and ( + self.local_compression != "zlib@openssh.com" or self.authenticated + ): + self._log(DEBUG, "Switching on outbound compression ...") + self.packetizer.set_outbound_compressor(compress_out()) + if not self.packetizer.need_rekey(): + self.in_kex = False + # If client indicated extension support, send that packet immediately + if ( + self.server_mode + and self.server_sig_algs + and self._remote_ext_info == "ext-info-c" + ): + extensions = {"server-sig-algs": ",".join(self.preferred_pubkeys)} + m = Message() + m.add_byte(cMSG_EXT_INFO) + m.add_int(len(extensions)) + for name, value in sorted(extensions.items()): + m.add_string(name) + m.add_string(value) + self._send_message(m) + # we always expect to receive NEWKEYS now + self._expect_packet(MSG_NEWKEYS) + + def _auth_trigger(self): + self.authenticated = True + # delayed initiation of compression + if self.local_compression == "zlib@openssh.com": + compress_out = self._compression_info[self.local_compression][0] + self._log(DEBUG, "Switching on outbound compression ...") + self.packetizer.set_outbound_compressor(compress_out()) + if self.remote_compression == "zlib@openssh.com": + compress_in = self._compression_info[self.remote_compression][1] + self._log(DEBUG, "Switching on inbound compression ...") + self.packetizer.set_inbound_compressor(compress_in()) + + def _parse_ext_info(self, msg): + # Packet is a count followed by that many key-string to possibly-bytes + # pairs. + extensions = {} + for _ in range(msg.get_int()): + name = msg.get_text() + value = msg.get_string() + extensions[name] = value + self._log(DEBUG, "Got EXT_INFO: {}".format(extensions)) + # NOTE: this should work ok in cases where a server sends /two/ such + # messages; the RFC explicitly states a 2nd one should overwrite the + # 1st. + self.server_extensions = extensions + + def _parse_newkeys(self, m): + self._log(DEBUG, "Switch to new keys ...") + self._activate_inbound() + # can also free a bunch of stuff here + self.local_kex_init = self.remote_kex_init = None + self.K = None + self.kex_engine = None + if self.server_mode and (self.auth_handler is None): + # create auth handler for server mode + self.auth_handler = AuthHandler(self) + if not self.initial_kex_done: + # this was the first key exchange + self.initial_kex_done = True + # send an event? + if self.completion_event is not None: + self.completion_event.set() + # it's now okay to send data again (if this was a re-key) + if not self.packetizer.need_rekey(): + self.in_kex = False + self.clear_to_send_lock.acquire() + try: + self.clear_to_send.set() + finally: + self.clear_to_send_lock.release() + return + + def _parse_disconnect(self, m): + code = m.get_int() + desc = m.get_text() + self._log(INFO, "Disconnect (code {:d}): {}".format(code, desc)) + + def _parse_global_request(self, m): + kind = m.get_text() + self._log(DEBUG, 'Received global request "{}"'.format(kind)) + want_reply = m.get_boolean() + if not self.server_mode: + self._log( + DEBUG, + 'Rejecting "{}" global request from server.'.format(kind), + ) + ok = False + elif kind == "tcpip-forward": + address = m.get_text() + port = m.get_int() + ok = self.server_object.check_port_forward_request(address, port) + if ok: + ok = (ok,) + elif kind == "cancel-tcpip-forward": + address = m.get_text() + port = m.get_int() + self.server_object.cancel_port_forward_request(address, port) + ok = True + else: + ok = self.server_object.check_global_request(kind, m) + extra = () + if type(ok) is tuple: + extra = ok + ok = True + if want_reply: + msg = Message() + if ok: + msg.add_byte(cMSG_REQUEST_SUCCESS) + msg.add(*extra) + else: + msg.add_byte(cMSG_REQUEST_FAILURE) + self._send_message(msg) + + def _parse_request_success(self, m): + self._log(DEBUG, "Global request successful.") + self.global_response = m + if self.completion_event is not None: + self.completion_event.set() + + def _parse_request_failure(self, m): + self._log(DEBUG, "Global request denied.") + self.global_response = None + if self.completion_event is not None: + self.completion_event.set() + + def _parse_channel_open_success(self, m): + chanid = m.get_int() + server_chanid = m.get_int() + server_window_size = m.get_int() + server_max_packet_size = m.get_int() + chan = self._channels.get(chanid) + if chan is None: + self._log(WARNING, "Success for unrequested channel! [??]") + return + self.lock.acquire() + try: + chan._set_remote_channel( + server_chanid, server_window_size, server_max_packet_size + ) + self._log(DEBUG, "Secsh channel {:d} opened.".format(chanid)) + if chanid in self.channel_events: + self.channel_events[chanid].set() + del self.channel_events[chanid] + finally: + self.lock.release() + return + + def _parse_channel_open_failure(self, m): + chanid = m.get_int() + reason = m.get_int() + reason_str = m.get_text() + m.get_text() # ignored language + reason_text = CONNECTION_FAILED_CODE.get(reason, "(unknown code)") + self._log( + ERROR, + "Secsh channel {:d} open FAILED: {}: {}".format( + chanid, reason_str, reason_text + ), + ) + self.lock.acquire() + try: + self.saved_exception = ChannelException(reason, reason_text) + if chanid in self.channel_events: + self._channels.delete(chanid) + if chanid in self.channel_events: + self.channel_events[chanid].set() + del self.channel_events[chanid] + finally: + self.lock.release() + return + + def _parse_channel_open(self, m): + kind = m.get_text() + chanid = m.get_int() + initial_window_size = m.get_int() + max_packet_size = m.get_int() + reject = False + if ( + kind == "auth-agent@openssh.com" + and self._forward_agent_handler is not None + ): + self._log(DEBUG, "Incoming forward agent connection") + self.lock.acquire() + try: + my_chanid = self._next_channel() + finally: + self.lock.release() + elif (kind == "x11") and (self._x11_handler is not None): + origin_addr = m.get_text() + origin_port = m.get_int() + self._log( + DEBUG, + "Incoming x11 connection from {}:{:d}".format( + origin_addr, origin_port + ), + ) + self.lock.acquire() + try: + my_chanid = self._next_channel() + finally: + self.lock.release() + elif (kind == "forwarded-tcpip") and (self._tcp_handler is not None): + server_addr = m.get_text() + server_port = m.get_int() + origin_addr = m.get_text() + origin_port = m.get_int() + self._log( + DEBUG, + "Incoming tcp forwarded connection from {}:{:d}".format( + origin_addr, origin_port + ), + ) + self.lock.acquire() + try: + my_chanid = self._next_channel() + finally: + self.lock.release() + elif not self.server_mode: + self._log( + DEBUG, + 'Rejecting "{}" channel request from server.'.format(kind), + ) + reject = True + reason = OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED + else: + self.lock.acquire() + try: + my_chanid = self._next_channel() + finally: + self.lock.release() + if kind == "direct-tcpip": + # handle direct-tcpip requests coming from the client + dest_addr = m.get_text() + dest_port = m.get_int() + origin_addr = m.get_text() + origin_port = m.get_int() + reason = self.server_object.check_channel_direct_tcpip_request( + my_chanid, + (origin_addr, origin_port), + (dest_addr, dest_port), + ) + else: + reason = self.server_object.check_channel_request( + kind, my_chanid + ) + if reason != OPEN_SUCCEEDED: + self._log( + DEBUG, + 'Rejecting "{}" channel request from client.'.format(kind), + ) + reject = True + if reject: + msg = Message() + msg.add_byte(cMSG_CHANNEL_OPEN_FAILURE) + msg.add_int(chanid) + msg.add_int(reason) + msg.add_string("") + msg.add_string("en") + self._send_message(msg) + return + + chan = Channel(my_chanid) + self.lock.acquire() + try: + self._channels.put(my_chanid, chan) + self.channels_seen[my_chanid] = True + chan._set_transport(self) + chan._set_window( + self.default_window_size, self.default_max_packet_size + ) + chan._set_remote_channel( + chanid, initial_window_size, max_packet_size + ) + finally: + self.lock.release() + m = Message() + m.add_byte(cMSG_CHANNEL_OPEN_SUCCESS) + m.add_int(chanid) + m.add_int(my_chanid) + m.add_int(self.default_window_size) + m.add_int(self.default_max_packet_size) + self._send_message(m) + self._log( + DEBUG, "Secsh channel {:d} ({}) opened.".format(my_chanid, kind) + ) + if kind == "auth-agent@openssh.com": + self._forward_agent_handler(chan) + elif kind == "x11": + self._x11_handler(chan, (origin_addr, origin_port)) + elif kind == "forwarded-tcpip": + chan.origin_addr = (origin_addr, origin_port) + self._tcp_handler( + chan, (origin_addr, origin_port), (server_addr, server_port) + ) + else: + self._queue_incoming_channel(chan) + + def _parse_debug(self, m): + m.get_boolean() # always_display + msg = m.get_string() + m.get_string() # language + self._log(DEBUG, "Debug msg: {}".format(util.safe_string(msg))) + + def _get_subsystem_handler(self, name): + try: + self.lock.acquire() + if name not in self.subsystem_table: + return None, [], {} + return self.subsystem_table[name] + finally: + self.lock.release() + + _channel_handler_table = { + MSG_CHANNEL_SUCCESS: Channel._request_success, + MSG_CHANNEL_FAILURE: Channel._request_failed, + MSG_CHANNEL_DATA: Channel._feed, + MSG_CHANNEL_EXTENDED_DATA: Channel._feed_extended, + MSG_CHANNEL_WINDOW_ADJUST: Channel._window_adjust, + MSG_CHANNEL_REQUEST: Channel._handle_request, + MSG_CHANNEL_EOF: Channel._handle_eof, + MSG_CHANNEL_CLOSE: Channel._handle_close, + } + + +# TODO 4.0: drop this, we barely use it ourselves, it badly replicates the +# Transport-internal algorithm management, AND does so in a way which doesn't +# honor newer things like disabled_algorithms! +class SecurityOptions: + """ + Simple object containing the security preferences of an ssh transport. + These are tuples of acceptable ciphers, digests, key types, and key + exchange algorithms, listed in order of preference. + + Changing the contents and/or order of these fields affects the underlying + `.Transport` (but only if you change them before starting the session). + If you try to add an algorithm that paramiko doesn't recognize, + ``ValueError`` will be raised. If you try to assign something besides a + tuple to one of the fields, ``TypeError`` will be raised. + """ + + __slots__ = "_transport" + + def __init__(self, transport): + self._transport = transport + + def __repr__(self): + """ + Returns a string representation of this object, for debugging. + """ + return "".format(self._transport) + + def _set(self, name, orig, x): + if type(x) is list: + x = tuple(x) + if type(x) is not tuple: + raise TypeError("expected tuple or list") + possible = list(getattr(self._transport, orig).keys()) + forbidden = [n for n in x if n not in possible] + if len(forbidden) > 0: + raise ValueError("unknown cipher") + setattr(self._transport, name, x) + + @property + def ciphers(self): + """Symmetric encryption ciphers""" + return self._transport._preferred_ciphers + + @ciphers.setter + def ciphers(self, x): + self._set("_preferred_ciphers", "_cipher_info", x) + + @property + def digests(self): + """Digest (one-way hash) algorithms""" + return self._transport._preferred_macs + + @digests.setter + def digests(self, x): + self._set("_preferred_macs", "_mac_info", x) + + @property + def key_types(self): + """Public-key algorithms""" + return self._transport._preferred_keys + + @key_types.setter + def key_types(self, x): + self._set("_preferred_keys", "_key_info", x) + + @property + def kex(self): + """Key exchange algorithms""" + return self._transport._preferred_kex + + @kex.setter + def kex(self, x): + self._set("_preferred_kex", "_kex_info", x) + + @property + def compression(self): + """Compression algorithms""" + return self._transport._preferred_compression + + @compression.setter + def compression(self, x): + self._set("_preferred_compression", "_compression_info", x) + + +class ChannelMap: + def __init__(self): + # (id -> Channel) + self._map = weakref.WeakValueDictionary() + self._lock = threading.Lock() + + def put(self, chanid, chan): + self._lock.acquire() + try: + self._map[chanid] = chan + finally: + self._lock.release() + + def get(self, chanid): + self._lock.acquire() + try: + return self._map.get(chanid, None) + finally: + self._lock.release() + + def delete(self, chanid): + self._lock.acquire() + try: + try: + del self._map[chanid] + except KeyError: + pass + finally: + self._lock.release() + + def values(self): + self._lock.acquire() + try: + return list(self._map.values()) + finally: + self._lock.release() + + def __len__(self): + self._lock.acquire() + try: + return len(self._map) + finally: + self._lock.release() + + +class ServiceRequestingTransport(Transport): + """ + Transport, but also handling service requests, like it oughtta! + + .. versionadded:: 3.2 + """ + + # NOTE: this purposefully duplicates some of the parent class in order to + # modernize, refactor, etc. The intent is that eventually we will collapse + # this one onto the parent in a backwards incompatible release. + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._service_userauth_accepted = False + self._handler_table[MSG_SERVICE_ACCEPT] = self._parse_service_accept + + def _parse_service_accept(self, m): + service = m.get_text() + # Short-circuit for any service name not ssh-userauth. + # NOTE: it's technically possible for 'service name' in + # SERVICE_REQUEST/ACCEPT messages to be "ssh-connection" -- + # but I don't see evidence of Paramiko ever initiating or expecting to + # receive one of these. We /do/ see the 'service name' field in + # MSG_USERAUTH_REQUEST/ACCEPT/FAILURE set to this string, but that is a + # different set of handlers, so...! + if service != "ssh-userauth": + # TODO 4.0: consider erroring here (with an ability to opt out?) + # instead as it probably means something went Very Wrong. + self._log( + DEBUG, 'Service request "{}" accepted (?)'.format(service) + ) + return + # Record that we saw a service-userauth acceptance, meaning we are free + # to submit auth requests. + self._service_userauth_accepted = True + self._log(DEBUG, "MSG_SERVICE_ACCEPT received; auth may begin") + + def ensure_session(self): + # Make sure we're not trying to auth on a not-yet-open or + # already-closed transport session; that's our responsibility, not that + # of AuthHandler. + if (not self.active) or (not self.initial_kex_done): + # TODO: better error message? this can happen in many places, eg + # user error (authing before connecting) or developer error (some + # improperly handled pre/mid auth shutdown didn't become fatal + # enough). The latter is much more common & should ideally be fixed + # by terminating things harder? + raise SSHException("No existing session") + # Also make sure we've actually been told we are allowed to auth. + if self._service_userauth_accepted: + return + # Or request to do so, otherwise. + m = Message() + m.add_byte(cMSG_SERVICE_REQUEST) + m.add_string("ssh-userauth") + self._log(DEBUG, "Sending MSG_SERVICE_REQUEST: ssh-userauth") + self._send_message(m) + # Now we wait to hear back; the user is expecting a blocking-style auth + # request so there's no point giving control back anywhere. + while not self._service_userauth_accepted: + # TODO: feels like we're missing an AuthHandler Event like + # 'self.auth_event' which is set when AuthHandler shuts down in + # ways good AND bad. Transport only seems to have completion_event + # which is unclear re: intent, eg it's set by newkeys which always + # happens on connection, so it'll always be set by the time we get + # here. + # NOTE: this copies the timing of event.wait() in + # AuthHandler.wait_for_response, re: 1/10 of a second. Could + # presumably be smaller, but seems unlikely this period is going to + # be "too long" for any code doing ssh networking... + time.sleep(0.1) + self.auth_handler = self.get_auth_handler() + + def get_auth_handler(self): + # NOTE: using new sibling subclass instead of classic AuthHandler + return AuthOnlyHandler(self) + + def auth_none(self, username): + # TODO 4.0: merge to parent, preserving (most of) docstring + self.ensure_session() + return self.auth_handler.auth_none(username) + + def auth_password(self, username, password, fallback=True): + # TODO 4.0: merge to parent, preserving (most of) docstring + self.ensure_session() + try: + return self.auth_handler.auth_password(username, password) + except BadAuthenticationType as e: + # if password auth isn't allowed, but keyboard-interactive *is*, + # try to fudge it + if not fallback or ("keyboard-interactive" not in e.allowed_types): + raise + try: + + def handler(title, instructions, fields): + if len(fields) > 1: + raise SSHException("Fallback authentication failed.") + if len(fields) == 0: + # for some reason, at least on os x, a 2nd request will + # be made with zero fields requested. maybe it's just + # to try to fake out automated scripting of the exact + # type we're doing here. *shrug* :) + return [] + return [password] + + return self.auth_interactive(username, handler) + except SSHException: + # attempt to fudge failed; just raise the original exception + raise e + + def auth_publickey(self, username, key): + # TODO 4.0: merge to parent, preserving (most of) docstring + self.ensure_session() + return self.auth_handler.auth_publickey(username, key) + + def auth_interactive(self, username, handler, submethods=""): + # TODO 4.0: merge to parent, preserving (most of) docstring + self.ensure_session() + return self.auth_handler.auth_interactive( + username, handler, submethods + ) + + def auth_interactive_dumb(self, username, handler=None, submethods=""): + # TODO 4.0: merge to parent, preserving (most of) docstring + # NOTE: legacy impl omitted equiv of ensure_session since it just wraps + # another call to an auth method. however we reinstate it for + # consistency reasons. + self.ensure_session() + if not handler: + + def handler(title, instructions, prompt_list): + answers = [] + if title: + print(title.strip()) + if instructions: + print(instructions.strip()) + for prompt, show_input in prompt_list: + print(prompt.strip(), end=" ") + answers.append(input()) + return answers + + return self.auth_interactive(username, handler, submethods) + + def auth_gssapi_with_mic(self, username, gss_host, gss_deleg_creds): + # TODO 4.0: merge to parent, preserving (most of) docstring + self.ensure_session() + self.auth_handler = self.get_auth_handler() + return self.auth_handler.auth_gssapi_with_mic( + username, gss_host, gss_deleg_creds + ) + + def auth_gssapi_keyex(self, username): + # TODO 4.0: merge to parent, preserving (most of) docstring + self.ensure_session() + self.auth_handler = self.get_auth_handler() + return self.auth_handler.auth_gssapi_keyex(username) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/util.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/util.py new file mode 100644 index 0000000000000000000000000000000000000000..f1e33a50e02b1b785b00131f4ea84a43a4758cc7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/util.py @@ -0,0 +1,337 @@ +# Copyright (C) 2003-2007 Robey Pointer +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Useful functions used by the rest of paramiko. +""" + + +import sys +import struct +import traceback +import threading +import logging + +from paramiko.common import ( + DEBUG, + zero_byte, + xffffffff, + max_byte, + byte_ord, + byte_chr, +) +from paramiko.config import SSHConfig + + +def inflate_long(s, always_positive=False): + """turns a normalized byte string into a long-int + (adapted from Crypto.Util.number)""" + out = 0 + negative = 0 + if not always_positive and (len(s) > 0) and (byte_ord(s[0]) >= 0x80): + negative = 1 + if len(s) % 4: + filler = zero_byte + if negative: + filler = max_byte + # never convert this to ``s +=`` because this is a string, not a number + # noinspection PyAugmentAssignment + s = filler * (4 - len(s) % 4) + s + for i in range(0, len(s), 4): + out = (out << 32) + struct.unpack(">I", s[i : i + 4])[0] + if negative: + out -= 1 << (8 * len(s)) + return out + + +def deflate_long(n, add_sign_padding=True): + """turns a long-int into a normalized byte string + (adapted from Crypto.Util.number)""" + # after much testing, this algorithm was deemed to be the fastest + s = bytes() + n = int(n) + while (n != 0) and (n != -1): + s = struct.pack(">I", n & xffffffff) + s + n >>= 32 + # strip off leading zeros, FFs + for i in enumerate(s): + if (n == 0) and (i[1] != 0): + break + if (n == -1) and (i[1] != 0xFF): + break + else: + # degenerate case, n was either 0 or -1 + i = (0,) + if n == 0: + s = zero_byte + else: + s = max_byte + s = s[i[0] :] + if add_sign_padding: + if (n == 0) and (byte_ord(s[0]) >= 0x80): + s = zero_byte + s + if (n == -1) and (byte_ord(s[0]) < 0x80): + s = max_byte + s + return s + + +def format_binary(data, prefix=""): + x = 0 + out = [] + while len(data) > x + 16: + out.append(format_binary_line(data[x : x + 16])) + x += 16 + if x < len(data): + out.append(format_binary_line(data[x:])) + return [prefix + line for line in out] + + +def format_binary_line(data): + left = " ".join(["{:02X}".format(byte_ord(c)) for c in data]) + right = "".join( + [".{:c}..".format(byte_ord(c))[(byte_ord(c) + 63) // 95] for c in data] + ) + return "{:50s} {}".format(left, right) + + +def safe_string(s): + out = b"" + for c in s: + i = byte_ord(c) + if 32 <= i <= 127: + out += byte_chr(i) + else: + out += b("%{:02X}".format(i)) + return out + + +def bit_length(n): + try: + return n.bit_length() + except AttributeError: + norm = deflate_long(n, False) + hbyte = byte_ord(norm[0]) + if hbyte == 0: + return 1 + bitlen = len(norm) * 8 + while not (hbyte & 0x80): + hbyte <<= 1 + bitlen -= 1 + return bitlen + + +def tb_strings(): + return "".join(traceback.format_exception(*sys.exc_info())).split("\n") + + +def generate_key_bytes(hash_alg, salt, key, nbytes): + """ + Given a password, passphrase, or other human-source key, scramble it + through a secure hash into some keyworthy bytes. This specific algorithm + is used for encrypting/decrypting private key files. + + :param function hash_alg: A function which creates a new hash object, such + as ``hashlib.sha256``. + :param salt: data to salt the hash with. + :type bytes salt: Hash salt bytes. + :param str key: human-entered password or passphrase. + :param int nbytes: number of bytes to generate. + :return: Key data, as `bytes`. + """ + keydata = bytes() + digest = bytes() + if len(salt) > 8: + salt = salt[:8] + while nbytes > 0: + hash_obj = hash_alg() + if len(digest) > 0: + hash_obj.update(digest) + hash_obj.update(b(key)) + hash_obj.update(salt) + digest = hash_obj.digest() + size = min(nbytes, len(digest)) + keydata += digest[:size] + nbytes -= size + return keydata + + +def load_host_keys(filename): + """ + Read a file of known SSH host keys, in the format used by openssh, and + return a compound dict of ``hostname -> keytype ->`` `PKey + `. The hostname may be an IP address or DNS name. The + keytype will be either ``"ssh-rsa"`` or ``"ssh-dss"``. + + This type of file unfortunately doesn't exist on Windows, but on posix, + it will usually be stored in ``os.path.expanduser("~/.ssh/known_hosts")``. + + Since 1.5.3, this is just a wrapper around `.HostKeys`. + + :param str filename: name of the file to read host keys from + :return: + nested dict of `.PKey` objects, indexed by hostname and then keytype + """ + from paramiko.hostkeys import HostKeys + + return HostKeys(filename) + + +def parse_ssh_config(file_obj): + """ + Provided only as a backward-compatible wrapper around `.SSHConfig`. + + .. deprecated:: 2.7 + Use `SSHConfig.from_file` instead. + """ + config = SSHConfig() + config.parse(file_obj) + return config + + +def lookup_ssh_host_config(hostname, config): + """ + Provided only as a backward-compatible wrapper around `.SSHConfig`. + """ + return config.lookup(hostname) + + +def mod_inverse(x, m): + # it's crazy how small Python can make this function. + u1, u2, u3 = 1, 0, m + v1, v2, v3 = 0, 1, x + + while v3 > 0: + q = u3 // v3 + u1, v1 = v1, u1 - v1 * q + u2, v2 = v2, u2 - v2 * q + u3, v3 = v3, u3 - v3 * q + if u2 < 0: + u2 += m + return u2 + + +_g_thread_data = threading.local() +_g_thread_counter = 0 +_g_thread_lock = threading.Lock() + + +def get_thread_id(): + global _g_thread_data, _g_thread_counter, _g_thread_lock + try: + return _g_thread_data.id + except AttributeError: + with _g_thread_lock: + _g_thread_counter += 1 + _g_thread_data.id = _g_thread_counter + return _g_thread_data.id + + +def log_to_file(filename, level=DEBUG): + """send paramiko logs to a logfile, + if they're not already going somewhere""" + logger = logging.getLogger("paramiko") + if len(logger.handlers) > 0: + return + logger.setLevel(level) + f = open(filename, "a") + handler = logging.StreamHandler(f) + frm = "%(levelname)-.3s [%(asctime)s.%(msecs)03d] thr=%(_threadid)-3d" + frm += " %(name)s: %(message)s" + handler.setFormatter(logging.Formatter(frm, "%Y%m%d-%H:%M:%S")) + logger.addHandler(handler) + + +# make only one filter object, so it doesn't get applied more than once +class PFilter: + def filter(self, record): + record._threadid = get_thread_id() + return True + + +_pfilter = PFilter() + + +def get_logger(name): + logger = logging.getLogger(name) + logger.addFilter(_pfilter) + return logger + + +def constant_time_bytes_eq(a, b): + if len(a) != len(b): + return False + res = 0 + # noinspection PyUnresolvedReferences + for i in range(len(a)): # noqa: F821 + res |= byte_ord(a[i]) ^ byte_ord(b[i]) + return res == 0 + + +class ClosingContextManager: + def __enter__(self): + return self + + def __exit__(self, type, value, traceback): + self.close() + + +def clamp_value(minimum, val, maximum): + return max(minimum, min(val, maximum)) + + +def asbytes(s): + """ + Coerce to bytes if possible or return unchanged. + """ + try: + # Attempt to run through our version of b(), which does the Right Thing + # for unicode strings vs bytestrings, and raises TypeError if it's not + # one of those types. + return b(s) + except TypeError: + try: + # If it wasn't a string/byte/buffer-ish object, try calling an + # asbytes() method, which many of our internal classes implement. + return s.asbytes() + except AttributeError: + # Finally, just do nothing & assume this object is sufficiently + # byte-y or buffer-y that everything will work out (or that callers + # are capable of handling whatever it is.) + return s + + +# TODO: clean this up / force callers to assume bytes OR unicode +def b(s, encoding="utf8"): + """cast unicode or bytes to bytes""" + if isinstance(s, bytes): + return s + elif isinstance(s, str): + return s.encode(encoding) + else: + raise TypeError(f"Expected unicode or bytes, got {type(s)}") + + +# TODO: clean this up / force callers to assume bytes OR unicode +def u(s, encoding="utf8"): + """cast bytes or unicode to unicode""" + if isinstance(s, bytes): + return s.decode(encoding) + elif isinstance(s, str): + return s + else: + raise TypeError(f"Expected unicode or bytes, got {type(s)}") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/win_openssh.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/win_openssh.py new file mode 100644 index 0000000000000000000000000000000000000000..614b5898ce1bb468cf2704dd6539bc9b11e0357f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/win_openssh.py @@ -0,0 +1,56 @@ +# Copyright (C) 2021 Lew Gordon +# Copyright (C) 2022 Patrick Spendrin +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +import os.path +import time + +PIPE_NAME = r"\\.\pipe\openssh-ssh-agent" + + +def can_talk_to_agent(): + # use os.listdir() instead of os.path.exists(), because os.path.exists() + # uses CreateFileW() API and the pipe cannot be reopen unless the server + # calls DisconnectNamedPipe(). + dir_, name = os.path.split(PIPE_NAME) + name = name.lower() + return any(name == n.lower() for n in os.listdir(dir_)) + + +class OpenSSHAgentConnection: + def __init__(self): + while True: + try: + self._pipe = os.open(PIPE_NAME, os.O_RDWR | os.O_BINARY) + except OSError as e: + # retry when errno 22 which means that the server has not + # called DisconnectNamedPipe() yet. + if e.errno != 22: + raise + else: + break + time.sleep(0.1) + + def send(self, data): + return os.write(self._pipe, data) + + def recv(self, n): + return os.read(self._pipe, n) + + def close(self): + return os.close(self._pipe) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/win_pageant.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/win_pageant.py new file mode 100644 index 0000000000000000000000000000000000000000..c927de6578ec2a4a4fcddda5c4de8a20802455a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/paramiko/win_pageant.py @@ -0,0 +1,138 @@ +# Copyright (C) 2005 John Arbash-Meinel +# Modified up by: Todd Whiteman +# +# This file is part of paramiko. +# +# Paramiko is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Paramiko; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +""" +Functions for communicating with Pageant, the basic windows ssh agent program. +""" + +import array +import ctypes.wintypes +import platform +import struct +from paramiko.common import zero_byte +from paramiko.util import b + +import _thread as thread + +from . import _winapi + + +_AGENT_COPYDATA_ID = 0x804E50BA +_AGENT_MAX_MSGLEN = 8192 +# Note: The WM_COPYDATA value is pulled from win32con, as a workaround +# so we do not have to import this huge library just for this one variable. +win32con_WM_COPYDATA = 74 + + +def _get_pageant_window_object(): + return ctypes.windll.user32.FindWindowA(b"Pageant", b"Pageant") + + +def can_talk_to_agent(): + """ + Check to see if there is a "Pageant" agent we can talk to. + + This checks both if we have the required libraries (win32all or ctypes) + and if there is a Pageant currently running. + """ + return bool(_get_pageant_window_object()) + + +if platform.architecture()[0] == "64bit": + ULONG_PTR = ctypes.c_uint64 +else: + ULONG_PTR = ctypes.c_uint32 + + +class COPYDATASTRUCT(ctypes.Structure): + """ + ctypes implementation of + http://msdn.microsoft.com/en-us/library/windows/desktop/ms649010%28v=vs.85%29.aspx + """ + + _fields_ = [ + ("num_data", ULONG_PTR), + ("data_size", ctypes.wintypes.DWORD), + ("data_loc", ctypes.c_void_p), + ] + + +def _query_pageant(msg): + """ + Communication with the Pageant process is done through a shared + memory-mapped file. + """ + hwnd = _get_pageant_window_object() + if not hwnd: + # Raise a failure to connect exception, pageant isn't running anymore! + return None + + # create a name for the mmap + map_name = f"PageantRequest{thread.get_ident():08x}" + + pymap = _winapi.MemoryMap( + map_name, _AGENT_MAX_MSGLEN, _winapi.get_security_attributes_for_user() + ) + with pymap: + pymap.write(msg) + # Create an array buffer containing the mapped filename + char_buffer = array.array("b", b(map_name) + zero_byte) # noqa + char_buffer_address, char_buffer_size = char_buffer.buffer_info() + # Create a string to use for the SendMessage function call + cds = COPYDATASTRUCT( + _AGENT_COPYDATA_ID, char_buffer_size, char_buffer_address + ) + + response = ctypes.windll.user32.SendMessageA( + hwnd, win32con_WM_COPYDATA, ctypes.sizeof(cds), ctypes.byref(cds) + ) + + if response > 0: + pymap.seek(0) + datalen = pymap.read(4) + retlen = struct.unpack(">I", datalen)[0] + return datalen + pymap.read(retlen) + return None + + +class PageantConnection: + """ + Mock "connection" to an agent which roughly approximates the behavior of + a unix local-domain socket (as used by Agent). Requests are sent to the + pageant daemon via special Windows magick, and responses are buffered back + for subsequent reads. + """ + + def __init__(self): + self._response = None + + def send(self, data): + self._response = _query_pageant(data) + + def recv(self, n): + if self._response is None: + return "" + ret = self._response[:n] + self._response = self._response[n:] + if self._response == "": + self._response = None + return ret + + def close(self): + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ab6533d2ea6f29946aaeb28d6e7f98efb46bc304 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__main__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__main__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..57c6480b3f5df7c3c3646786df2ce3212e312e14 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__main__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ffd8a33bb9580945b2b07adebd73f7682eeba28c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..24d0baf0c31c2902e45623a29aea8d7ede8c0dee --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__init__.py @@ -0,0 +1,18 @@ +from __future__ import annotations + +from pip._internal.utils import _log + +# init_logging() must be called before any call to logging.getLogger() +# which happens at import of most modules. +_log.init_logging() + + +def main(args: list[str] | None = None) -> int: + """This is preserved for old console scripts that may still be referencing + it. + + For additional details, see https://github.com/pypa/pip/issues/7498. + """ + from pip._internal.utils.entrypoints import _wrapper + + return _wrapper(args) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b71d1290da2f1d1bb9c55f3108a0ec3b46028169 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..89e4343f76398ce0b7167bd7a17ca60812afcf8e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..89fa39481e511bc33f0328bf4fc4060340b70dae Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..97587a1ec67b8e2c667e0416613124dba7459602 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9f688a2eafb96f62d1ab53e76ec89062f41dcd7c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..14050c5cd18e74d14093a6dc53f4c6cde197e813 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..27f37b10657a2a959504072e53c299884ffa8dd0 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..22f4dfff7ba447c3c029231107e833021860f3ab Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e70fa36d0c68ae65f9cce62e0cd2e688ff957157 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/build_env.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/build_env.py new file mode 100644 index 0000000000000000000000000000000000000000..3a246a1e3491261d452806d4a6d23d5250f2b56d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/build_env.py @@ -0,0 +1,349 @@ +"""Build Environment used for isolation during sdist building""" + +from __future__ import annotations + +import logging +import os +import pathlib +import site +import sys +import textwrap +from collections import OrderedDict +from collections.abc import Iterable +from types import TracebackType +from typing import TYPE_CHECKING, Protocol + +from pip._vendor.packaging.version import Version + +from pip import __file__ as pip_location +from pip._internal.cli.spinners import open_spinner +from pip._internal.locations import get_platlib, get_purelib, get_scheme +from pip._internal.metadata import get_default_environment, get_environment +from pip._internal.utils.logging import VERBOSE +from pip._internal.utils.packaging import get_requirement +from pip._internal.utils.subprocess import call_subprocess +from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds + +if TYPE_CHECKING: + from pip._internal.index.package_finder import PackageFinder + from pip._internal.req.req_install import InstallRequirement + +logger = logging.getLogger(__name__) + + +def _dedup(a: str, b: str) -> tuple[str] | tuple[str, str]: + return (a, b) if a != b else (a,) + + +class _Prefix: + def __init__(self, path: str) -> None: + self.path = path + self.setup = False + scheme = get_scheme("", prefix=path) + self.bin_dir = scheme.scripts + self.lib_dirs = _dedup(scheme.purelib, scheme.platlib) + + +def get_runnable_pip() -> str: + """Get a file to pass to a Python executable, to run the currently-running pip. + + This is used to run a pip subprocess, for installing requirements into the build + environment. + """ + source = pathlib.Path(pip_location).resolve().parent + + if not source.is_dir(): + # This would happen if someone is using pip from inside a zip file. In that + # case, we can use that directly. + return str(source) + + return os.fsdecode(source / "__pip-runner__.py") + + +def _get_system_sitepackages() -> set[str]: + """Get system site packages + + Usually from site.getsitepackages, + but fallback on `get_purelib()/get_platlib()` if unavailable + (e.g. in a virtualenv created by virtualenv<20) + + Returns normalized set of strings. + """ + if hasattr(site, "getsitepackages"): + system_sites = site.getsitepackages() + else: + # virtualenv < 20 overwrites site.py without getsitepackages + # fallback on get_purelib/get_platlib. + # this is known to miss things, but shouldn't in the cases + # where getsitepackages() has been removed (inside a virtualenv) + system_sites = [get_purelib(), get_platlib()] + return {os.path.normcase(path) for path in system_sites} + + +class BuildEnvironmentInstaller(Protocol): + """ + Interface for installing build dependencies into an isolated build + environment. + """ + + def install( + self, + requirements: Iterable[str], + prefix: _Prefix, + *, + kind: str, + for_req: InstallRequirement | None, + ) -> None: ... + + +class SubprocessBuildEnvironmentInstaller: + """ + Install build dependencies by calling pip in a subprocess. + """ + + def __init__(self, finder: PackageFinder) -> None: + self.finder = finder + + def install( + self, + requirements: Iterable[str], + prefix: _Prefix, + *, + kind: str, + for_req: InstallRequirement | None, + ) -> None: + finder = self.finder + args: list[str] = [ + sys.executable, + get_runnable_pip(), + "install", + "--ignore-installed", + "--no-user", + "--prefix", + prefix.path, + "--no-warn-script-location", + "--disable-pip-version-check", + # As the build environment is ephemeral, it's wasteful to + # pre-compile everything, especially as not every Python + # module will be used/compiled in most cases. + "--no-compile", + # The prefix specified two lines above, thus + # target from config file or env var should be ignored + "--target", + "", + ] + if logger.getEffectiveLevel() <= logging.DEBUG: + args.append("-vv") + elif logger.getEffectiveLevel() <= VERBOSE: + args.append("-v") + for format_control in ("no_binary", "only_binary"): + formats = getattr(finder.format_control, format_control) + args.extend( + ( + "--" + format_control.replace("_", "-"), + ",".join(sorted(formats or {":none:"})), + ) + ) + + index_urls = finder.index_urls + if index_urls: + args.extend(["-i", index_urls[0]]) + for extra_index in index_urls[1:]: + args.extend(["--extra-index-url", extra_index]) + else: + args.append("--no-index") + for link in finder.find_links: + args.extend(["--find-links", link]) + + if finder.proxy: + args.extend(["--proxy", finder.proxy]) + for host in finder.trusted_hosts: + args.extend(["--trusted-host", host]) + if finder.custom_cert: + args.extend(["--cert", finder.custom_cert]) + if finder.client_cert: + args.extend(["--client-cert", finder.client_cert]) + if finder.allow_all_prereleases: + args.append("--pre") + if finder.prefer_binary: + args.append("--prefer-binary") + args.append("--") + args.extend(requirements) + with open_spinner(f"Installing {kind}") as spinner: + call_subprocess( + args, + command_desc=f"pip subprocess to install {kind}", + spinner=spinner, + ) + + +class BuildEnvironment: + """Creates and manages an isolated environment to install build deps""" + + def __init__(self, installer: BuildEnvironmentInstaller) -> None: + self.installer = installer + temp_dir = TempDirectory(kind=tempdir_kinds.BUILD_ENV, globally_managed=True) + + self._prefixes = OrderedDict( + (name, _Prefix(os.path.join(temp_dir.path, name))) + for name in ("normal", "overlay") + ) + + self._bin_dirs: list[str] = [] + self._lib_dirs: list[str] = [] + for prefix in reversed(list(self._prefixes.values())): + self._bin_dirs.append(prefix.bin_dir) + self._lib_dirs.extend(prefix.lib_dirs) + + # Customize site to: + # - ensure .pth files are honored + # - prevent access to system site packages + system_sites = _get_system_sitepackages() + + self._site_dir = os.path.join(temp_dir.path, "site") + if not os.path.exists(self._site_dir): + os.mkdir(self._site_dir) + with open( + os.path.join(self._site_dir, "sitecustomize.py"), "w", encoding="utf-8" + ) as fp: + fp.write( + textwrap.dedent( + """ + import os, site, sys + + # First, drop system-sites related paths. + original_sys_path = sys.path[:] + known_paths = set() + for path in {system_sites!r}: + site.addsitedir(path, known_paths=known_paths) + system_paths = set( + os.path.normcase(path) + for path in sys.path[len(original_sys_path):] + ) + original_sys_path = [ + path for path in original_sys_path + if os.path.normcase(path) not in system_paths + ] + sys.path = original_sys_path + + # Second, add lib directories. + # ensuring .pth file are processed. + for path in {lib_dirs!r}: + assert not path in sys.path + site.addsitedir(path) + """ + ).format(system_sites=system_sites, lib_dirs=self._lib_dirs) + ) + + def __enter__(self) -> None: + self._save_env = { + name: os.environ.get(name, None) + for name in ("PATH", "PYTHONNOUSERSITE", "PYTHONPATH") + } + + path = self._bin_dirs[:] + old_path = self._save_env["PATH"] + if old_path: + path.extend(old_path.split(os.pathsep)) + + pythonpath = [self._site_dir] + + os.environ.update( + { + "PATH": os.pathsep.join(path), + "PYTHONNOUSERSITE": "1", + "PYTHONPATH": os.pathsep.join(pythonpath), + } + ) + + def __exit__( + self, + exc_type: type[BaseException] | None, + exc_val: BaseException | None, + exc_tb: TracebackType | None, + ) -> None: + for varname, old_value in self._save_env.items(): + if old_value is None: + os.environ.pop(varname, None) + else: + os.environ[varname] = old_value + + def check_requirements( + self, reqs: Iterable[str] + ) -> tuple[set[tuple[str, str]], set[str]]: + """Return 2 sets: + - conflicting requirements: set of (installed, wanted) reqs tuples + - missing requirements: set of reqs + """ + missing = set() + conflicting = set() + if reqs: + env = ( + get_environment(self._lib_dirs) + if hasattr(self, "_lib_dirs") + else get_default_environment() + ) + for req_str in reqs: + req = get_requirement(req_str) + # We're explicitly evaluating with an empty extra value, since build + # environments are not provided any mechanism to select specific extras. + if req.marker is not None and not req.marker.evaluate({"extra": ""}): + continue + dist = env.get_distribution(req.name) + if not dist: + missing.add(req_str) + continue + if isinstance(dist.version, Version): + installed_req_str = f"{req.name}=={dist.version}" + else: + installed_req_str = f"{req.name}==={dist.version}" + if not req.specifier.contains(dist.version, prereleases=True): + conflicting.add((installed_req_str, req_str)) + # FIXME: Consider direct URL? + return conflicting, missing + + def install_requirements( + self, + requirements: Iterable[str], + prefix_as_string: str, + *, + kind: str, + for_req: InstallRequirement | None = None, + ) -> None: + prefix = self._prefixes[prefix_as_string] + assert not prefix.setup + prefix.setup = True + if not requirements: + return + self.installer.install(requirements, prefix, kind=kind, for_req=for_req) + + +class NoOpBuildEnvironment(BuildEnvironment): + """A no-op drop-in replacement for BuildEnvironment""" + + def __init__(self) -> None: + pass + + def __enter__(self) -> None: + pass + + def __exit__( + self, + exc_type: type[BaseException] | None, + exc_val: BaseException | None, + exc_tb: TracebackType | None, + ) -> None: + pass + + def cleanup(self) -> None: + pass + + def install_requirements( + self, + requirements: Iterable[str], + prefix_as_string: str, + *, + kind: str, + for_req: InstallRequirement | None = None, + ) -> None: + raise NotImplementedError() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cache.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cache.py new file mode 100644 index 0000000000000000000000000000000000000000..ce98f288395ebadd3f56b798c2888b47937fac2d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cache.py @@ -0,0 +1,291 @@ +"""Cache Management""" + +from __future__ import annotations + +import hashlib +import json +import logging +import os +from pathlib import Path +from typing import Any + +from pip._vendor.packaging.tags import Tag, interpreter_name, interpreter_version +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.exceptions import InvalidWheelFilename +from pip._internal.models.direct_url import DirectUrl +from pip._internal.models.link import Link +from pip._internal.models.wheel import Wheel +from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds +from pip._internal.utils.urls import path_to_url + +logger = logging.getLogger(__name__) + +ORIGIN_JSON_NAME = "origin.json" + + +def _hash_dict(d: dict[str, str]) -> str: + """Return a stable sha224 of a dictionary.""" + s = json.dumps(d, sort_keys=True, separators=(",", ":"), ensure_ascii=True) + return hashlib.sha224(s.encode("ascii")).hexdigest() + + +class Cache: + """An abstract class - provides cache directories for data from links + + :param cache_dir: The root of the cache. + """ + + def __init__(self, cache_dir: str) -> None: + super().__init__() + assert not cache_dir or os.path.isabs(cache_dir) + self.cache_dir = cache_dir or None + + def _get_cache_path_parts(self, link: Link) -> list[str]: + """Get parts of part that must be os.path.joined with cache_dir""" + + # We want to generate an url to use as our cache key, we don't want to + # just reuse the URL because it might have other items in the fragment + # and we don't care about those. + key_parts = {"url": link.url_without_fragment} + if link.hash_name is not None and link.hash is not None: + key_parts[link.hash_name] = link.hash + if link.subdirectory_fragment: + key_parts["subdirectory"] = link.subdirectory_fragment + + # Include interpreter name, major and minor version in cache key + # to cope with ill-behaved sdists that build a different wheel + # depending on the python version their setup.py is being run on, + # and don't encode the difference in compatibility tags. + # https://github.com/pypa/pip/issues/7296 + key_parts["interpreter_name"] = interpreter_name() + key_parts["interpreter_version"] = interpreter_version() + + # Encode our key url with sha224, we'll use this because it has similar + # security properties to sha256, but with a shorter total output (and + # thus less secure). However the differences don't make a lot of + # difference for our use case here. + hashed = _hash_dict(key_parts) + + # We want to nest the directories some to prevent having a ton of top + # level directories where we might run out of sub directories on some + # FS. + parts = [hashed[:2], hashed[2:4], hashed[4:6], hashed[6:]] + + return parts + + def _get_candidates(self, link: Link, canonical_package_name: str) -> list[Any]: + can_not_cache = not self.cache_dir or not canonical_package_name or not link + if can_not_cache: + return [] + + path = self.get_path_for_link(link) + if os.path.isdir(path): + return [(candidate, path) for candidate in os.listdir(path)] + return [] + + def get_path_for_link(self, link: Link) -> str: + """Return a directory to store cached items in for link.""" + raise NotImplementedError() + + def get( + self, + link: Link, + package_name: str | None, + supported_tags: list[Tag], + ) -> Link: + """Returns a link to a cached item if it exists, otherwise returns the + passed link. + """ + raise NotImplementedError() + + +class SimpleWheelCache(Cache): + """A cache of wheels for future installs.""" + + def __init__(self, cache_dir: str) -> None: + super().__init__(cache_dir) + + def get_path_for_link(self, link: Link) -> str: + """Return a directory to store cached wheels for link + + Because there are M wheels for any one sdist, we provide a directory + to cache them in, and then consult that directory when looking up + cache hits. + + We only insert things into the cache if they have plausible version + numbers, so that we don't contaminate the cache with things that were + not unique. E.g. ./package might have dozens of installs done for it + and build a version of 0.0...and if we built and cached a wheel, we'd + end up using the same wheel even if the source has been edited. + + :param link: The link of the sdist for which this will cache wheels. + """ + parts = self._get_cache_path_parts(link) + assert self.cache_dir + # Store wheels within the root cache_dir + return os.path.join(self.cache_dir, "wheels", *parts) + + def get( + self, + link: Link, + package_name: str | None, + supported_tags: list[Tag], + ) -> Link: + candidates = [] + + if not package_name: + return link + + canonical_package_name = canonicalize_name(package_name) + for wheel_name, wheel_dir in self._get_candidates(link, canonical_package_name): + try: + wheel = Wheel(wheel_name) + except InvalidWheelFilename: + continue + if canonicalize_name(wheel.name) != canonical_package_name: + logger.debug( + "Ignoring cached wheel %s for %s as it " + "does not match the expected distribution name %s.", + wheel_name, + link, + package_name, + ) + continue + if not wheel.supported(supported_tags): + # Built for a different python/arch/etc + continue + candidates.append( + ( + wheel.support_index_min(supported_tags), + wheel_name, + wheel_dir, + ) + ) + + if not candidates: + return link + + _, wheel_name, wheel_dir = min(candidates) + return Link(path_to_url(os.path.join(wheel_dir, wheel_name))) + + +class EphemWheelCache(SimpleWheelCache): + """A SimpleWheelCache that creates it's own temporary cache directory""" + + def __init__(self) -> None: + self._temp_dir = TempDirectory( + kind=tempdir_kinds.EPHEM_WHEEL_CACHE, + globally_managed=True, + ) + + super().__init__(self._temp_dir.path) + + +class CacheEntry: + def __init__( + self, + link: Link, + persistent: bool, + ): + self.link = link + self.persistent = persistent + self.origin: DirectUrl | None = None + origin_direct_url_path = Path(self.link.file_path).parent / ORIGIN_JSON_NAME + if origin_direct_url_path.exists(): + try: + self.origin = DirectUrl.from_json( + origin_direct_url_path.read_text(encoding="utf-8") + ) + except Exception as e: + logger.warning( + "Ignoring invalid cache entry origin file %s for %s (%s)", + origin_direct_url_path, + link.filename, + e, + ) + + +class WheelCache(Cache): + """Wraps EphemWheelCache and SimpleWheelCache into a single Cache + + This Cache allows for gracefully degradation, using the ephem wheel cache + when a certain link is not found in the simple wheel cache first. + """ + + def __init__(self, cache_dir: str) -> None: + super().__init__(cache_dir) + self._wheel_cache = SimpleWheelCache(cache_dir) + self._ephem_cache = EphemWheelCache() + + def get_path_for_link(self, link: Link) -> str: + return self._wheel_cache.get_path_for_link(link) + + def get_ephem_path_for_link(self, link: Link) -> str: + return self._ephem_cache.get_path_for_link(link) + + def get( + self, + link: Link, + package_name: str | None, + supported_tags: list[Tag], + ) -> Link: + cache_entry = self.get_cache_entry(link, package_name, supported_tags) + if cache_entry is None: + return link + return cache_entry.link + + def get_cache_entry( + self, + link: Link, + package_name: str | None, + supported_tags: list[Tag], + ) -> CacheEntry | None: + """Returns a CacheEntry with a link to a cached item if it exists or + None. The cache entry indicates if the item was found in the persistent + or ephemeral cache. + """ + retval = self._wheel_cache.get( + link=link, + package_name=package_name, + supported_tags=supported_tags, + ) + if retval is not link: + return CacheEntry(retval, persistent=True) + + retval = self._ephem_cache.get( + link=link, + package_name=package_name, + supported_tags=supported_tags, + ) + if retval is not link: + return CacheEntry(retval, persistent=False) + + return None + + @staticmethod + def record_download_origin(cache_dir: str, download_info: DirectUrl) -> None: + origin_path = Path(cache_dir) / ORIGIN_JSON_NAME + if origin_path.exists(): + try: + origin = DirectUrl.from_json(origin_path.read_text(encoding="utf-8")) + except Exception as e: + logger.warning( + "Could not read origin file %s in cache entry (%s). " + "Will attempt to overwrite it.", + origin_path, + e, + ) + else: + # TODO: use DirectUrl.equivalent when + # https://github.com/pypa/pip/pull/10564 is merged. + if origin.url != download_info.url: + logger.warning( + "Origin URL %s in cache entry %s does not match download URL " + "%s. This is likely a pip bug or a cache corruption issue. " + "Will overwrite it with the new value.", + origin.url, + cache_dir, + download_info.url, + ) + origin_path.write_text(download_info.to_json(), encoding="utf-8") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..5fcddf5d81ed444b20b22344fe8bdecd1ebe055c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__init__.py @@ -0,0 +1,3 @@ +"""Subpackage containing all of pip's command line interface related code""" + +# This file intentionally does not import submodules diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5ddc694fabbb1aa0499f1da2559066f60ac1659d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..12a8b7841a568a1b2c8a7e3b6d21a97be29c64b3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e5973eecff7417e95b8626ffd6a503d996e00f93 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a8d70ebd70fe37b6d06134d30743e09f3195f165 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1e520b5c37a5a6f8debc307b5bda94c14f0eaa9e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ffc313994368036fd827a9ff938e75a248403a0c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f14632ba537eedfb5f4a8d4feb30cdea9a6f8a5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bd38b2adb48b1be6af4d096e5c29d78bdef5644c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..925835ccf8998c05d6a095abcd036faf5172ef12 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0bc9980de62bd7691e22531ac99860bdb3aabfce Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..536da9480482613eba081081b8cb41f5bb55d133 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ca5ef5009a147db18dc56c03c5c007848df6b21b Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6e3b9899d2bb65f39531f2521284bd997bb8b3a9 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/autocompletion.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/autocompletion.py new file mode 100644 index 0000000000000000000000000000000000000000..f22cd1159a2bd400c61e6c9c724c783d1feb0c74 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/autocompletion.py @@ -0,0 +1,184 @@ +"""Logic that powers autocompletion installed by ``pip completion``.""" + +from __future__ import annotations + +import optparse +import os +import sys +from collections.abc import Iterable +from itertools import chain +from typing import Any + +from pip._internal.cli.main_parser import create_main_parser +from pip._internal.commands import commands_dict, create_command +from pip._internal.metadata import get_default_environment + + +def autocomplete() -> None: + """Entry Point for completion of main and subcommand options.""" + # Don't complete if user hasn't sourced bash_completion file. + if "PIP_AUTO_COMPLETE" not in os.environ: + return + # Don't complete if autocompletion environment variables + # are not present + if not os.environ.get("COMP_WORDS") or not os.environ.get("COMP_CWORD"): + return + cwords = os.environ["COMP_WORDS"].split()[1:] + cword = int(os.environ["COMP_CWORD"]) + try: + current = cwords[cword - 1] + except IndexError: + current = "" + + parser = create_main_parser() + subcommands = list(commands_dict) + options = [] + + # subcommand + subcommand_name: str | None = None + for word in cwords: + if word in subcommands: + subcommand_name = word + break + # subcommand options + if subcommand_name is not None: + # special case: 'help' subcommand has no options + if subcommand_name == "help": + sys.exit(1) + # special case: list locally installed dists for show and uninstall + should_list_installed = not current.startswith("-") and subcommand_name in [ + "show", + "uninstall", + ] + if should_list_installed: + env = get_default_environment() + lc = current.lower() + installed = [ + dist.canonical_name + for dist in env.iter_installed_distributions(local_only=True) + if dist.canonical_name.startswith(lc) + and dist.canonical_name not in cwords[1:] + ] + # if there are no dists installed, fall back to option completion + if installed: + for dist in installed: + print(dist) + sys.exit(1) + + should_list_installables = ( + not current.startswith("-") and subcommand_name == "install" + ) + if should_list_installables: + for path in auto_complete_paths(current, "path"): + print(path) + sys.exit(1) + + subcommand = create_command(subcommand_name) + + for opt in subcommand.parser.option_list_all: + if opt.help != optparse.SUPPRESS_HELP: + options += [ + (opt_str, opt.nargs) for opt_str in opt._long_opts + opt._short_opts + ] + + # filter out previously specified options from available options + prev_opts = [x.split("=")[0] for x in cwords[1 : cword - 1]] + options = [(x, v) for (x, v) in options if x not in prev_opts] + # filter options by current input + options = [(k, v) for k, v in options if k.startswith(current)] + # get completion type given cwords and available subcommand options + completion_type = get_path_completion_type( + cwords, + cword, + subcommand.parser.option_list_all, + ) + # get completion files and directories if ``completion_type`` is + # ````, ```` or ```` + if completion_type: + paths = auto_complete_paths(current, completion_type) + options = [(path, 0) for path in paths] + for option in options: + opt_label = option[0] + # append '=' to options which require args + if option[1] and option[0][:2] == "--": + opt_label += "=" + print(opt_label) + + # Complete sub-commands (unless one is already given). + if not any(name in cwords for name in subcommand.handler_map()): + for handler_name in subcommand.handler_map(): + if handler_name.startswith(current): + print(handler_name) + else: + # show main parser options only when necessary + + opts = [i.option_list for i in parser.option_groups] + opts.append(parser.option_list) + flattened_opts = chain.from_iterable(opts) + if current.startswith("-"): + for opt in flattened_opts: + if opt.help != optparse.SUPPRESS_HELP: + subcommands += opt._long_opts + opt._short_opts + else: + # get completion type given cwords and all available options + completion_type = get_path_completion_type(cwords, cword, flattened_opts) + if completion_type: + subcommands = list(auto_complete_paths(current, completion_type)) + + print(" ".join([x for x in subcommands if x.startswith(current)])) + sys.exit(1) + + +def get_path_completion_type( + cwords: list[str], cword: int, opts: Iterable[Any] +) -> str | None: + """Get the type of path completion (``file``, ``dir``, ``path`` or None) + + :param cwords: same as the environmental variable ``COMP_WORDS`` + :param cword: same as the environmental variable ``COMP_CWORD`` + :param opts: The available options to check + :return: path completion type (``file``, ``dir``, ``path`` or None) + """ + if cword < 2 or not cwords[cword - 2].startswith("-"): + return None + for opt in opts: + if opt.help == optparse.SUPPRESS_HELP: + continue + for o in str(opt).split("/"): + if cwords[cword - 2].split("=")[0] == o: + if not opt.metavar or any( + x in ("path", "file", "dir") for x in opt.metavar.split("/") + ): + return opt.metavar + return None + + +def auto_complete_paths(current: str, completion_type: str) -> Iterable[str]: + """If ``completion_type`` is ``file`` or ``path``, list all regular files + and directories starting with ``current``; otherwise only list directories + starting with ``current``. + + :param current: The word to be completed + :param completion_type: path completion type(``file``, ``path`` or ``dir``) + :return: A generator of regular files and/or directories + """ + directory, filename = os.path.split(current) + current_path = os.path.abspath(directory) + # Don't complete paths if they can't be accessed + if not os.access(current_path, os.R_OK): + return + filename = os.path.normcase(filename) + # list all files that start with ``filename`` + file_list = ( + x for x in os.listdir(current_path) if os.path.normcase(x).startswith(filename) + ) + for f in file_list: + opt = os.path.join(current_path, f) + comp_file = os.path.normcase(os.path.join(directory, f)) + # complete regular files when there is not ```` after option + # complete directories when there is ````, ```` or + # ````after option + if completion_type != "dir" and os.path.isfile(opt): + yield comp_file + elif os.path.isdir(opt): + yield os.path.join(comp_file, "") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py new file mode 100644 index 0000000000000000000000000000000000000000..7acc29cb3494de50291cbe5255813cba6d899066 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py @@ -0,0 +1,244 @@ +"""Base Command class, and related routines""" + +from __future__ import annotations + +import logging +import logging.config +import optparse +import os +import sys +import traceback +from optparse import Values +from typing import Callable + +from pip._vendor.rich import reconfigure +from pip._vendor.rich import traceback as rich_traceback + +from pip._internal.cli import cmdoptions +from pip._internal.cli.command_context import CommandContextMixIn +from pip._internal.cli.parser import ConfigOptionParser, UpdatingDefaultsHelpFormatter +from pip._internal.cli.status_codes import ( + ERROR, + PREVIOUS_BUILD_DIR_ERROR, + UNKNOWN_ERROR, + VIRTUALENV_NOT_FOUND, +) +from pip._internal.exceptions import ( + BadCommand, + CommandError, + DiagnosticPipError, + InstallationError, + NetworkConnectionError, + PreviousBuildDirError, +) +from pip._internal.utils.filesystem import check_path_owner +from pip._internal.utils.logging import BrokenStdoutLoggingError, setup_logging +from pip._internal.utils.misc import get_prog, normalize_path +from pip._internal.utils.temp_dir import TempDirectoryTypeRegistry as TempDirRegistry +from pip._internal.utils.temp_dir import global_tempdir_manager, tempdir_registry +from pip._internal.utils.virtualenv import running_under_virtualenv + +__all__ = ["Command"] + +logger = logging.getLogger(__name__) + + +class Command(CommandContextMixIn): + usage: str = "" + ignore_require_venv: bool = False + + def __init__(self, name: str, summary: str, isolated: bool = False) -> None: + super().__init__() + + self.name = name + self.summary = summary + self.parser = ConfigOptionParser( + usage=self.usage, + prog=f"{get_prog()} {name}", + formatter=UpdatingDefaultsHelpFormatter(), + add_help_option=False, + name=name, + description=self.__doc__, + isolated=isolated, + ) + + self.tempdir_registry: TempDirRegistry | None = None + + # Commands should add options to this option group + optgroup_name = f"{self.name.capitalize()} Options" + self.cmd_opts = optparse.OptionGroup(self.parser, optgroup_name) + + # Add the general options + gen_opts = cmdoptions.make_option_group( + cmdoptions.general_group, + self.parser, + ) + self.parser.add_option_group(gen_opts) + + self.add_options() + + def add_options(self) -> None: + pass + + def handle_pip_version_check(self, options: Values) -> None: + """ + This is a no-op so that commands by default do not do the pip version + check. + """ + # Make sure we do the pip version check if the index_group options + # are present. + assert not hasattr(options, "no_index") + + def run(self, options: Values, args: list[str]) -> int: + raise NotImplementedError + + def _run_wrapper(self, level_number: int, options: Values, args: list[str]) -> int: + def _inner_run() -> int: + try: + return self.run(options, args) + finally: + self.handle_pip_version_check(options) + + if options.debug_mode: + rich_traceback.install(show_locals=True) + return _inner_run() + + try: + status = _inner_run() + assert isinstance(status, int) + return status + except DiagnosticPipError as exc: + logger.error("%s", exc, extra={"rich": True}) + logger.debug("Exception information:", exc_info=True) + + return ERROR + except PreviousBuildDirError as exc: + logger.critical(str(exc)) + logger.debug("Exception information:", exc_info=True) + + return PREVIOUS_BUILD_DIR_ERROR + except ( + InstallationError, + BadCommand, + NetworkConnectionError, + ) as exc: + logger.critical(str(exc)) + logger.debug("Exception information:", exc_info=True) + + return ERROR + except CommandError as exc: + logger.critical("%s", exc) + logger.debug("Exception information:", exc_info=True) + + return ERROR + except BrokenStdoutLoggingError: + # Bypass our logger and write any remaining messages to + # stderr because stdout no longer works. + print("ERROR: Pipe to stdout was broken", file=sys.stderr) + if level_number <= logging.DEBUG: + traceback.print_exc(file=sys.stderr) + + return ERROR + except KeyboardInterrupt: + logger.critical("Operation cancelled by user") + logger.debug("Exception information:", exc_info=True) + + return ERROR + except BaseException: + logger.critical("Exception:", exc_info=True) + + return UNKNOWN_ERROR + + def parse_args(self, args: list[str]) -> tuple[Values, list[str]]: + # factored out for testability + return self.parser.parse_args(args) + + def main(self, args: list[str]) -> int: + try: + with self.main_context(): + return self._main(args) + finally: + logging.shutdown() + + def _main(self, args: list[str]) -> int: + # We must initialize this before the tempdir manager, otherwise the + # configuration would not be accessible by the time we clean up the + # tempdir manager. + self.tempdir_registry = self.enter_context(tempdir_registry()) + # Intentionally set as early as possible so globally-managed temporary + # directories are available to the rest of the code. + self.enter_context(global_tempdir_manager()) + + options, args = self.parse_args(args) + + # Set verbosity so that it can be used elsewhere. + self.verbosity = options.verbose - options.quiet + if options.debug_mode: + self.verbosity = 2 + + if hasattr(options, "progress_bar") and options.progress_bar == "auto": + options.progress_bar = "on" if self.verbosity >= 0 else "off" + + reconfigure(no_color=options.no_color) + level_number = setup_logging( + verbosity=self.verbosity, + no_color=options.no_color, + user_log_file=options.log, + ) + + always_enabled_features = set(options.features_enabled) & set( + cmdoptions.ALWAYS_ENABLED_FEATURES + ) + if always_enabled_features: + logger.warning( + "The following features are always enabled: %s. ", + ", ".join(sorted(always_enabled_features)), + ) + + # Make sure that the --python argument isn't specified after the + # subcommand. We can tell, because if --python was specified, + # we should only reach this point if we're running in the created + # subprocess, which has the _PIP_RUNNING_IN_SUBPROCESS environment + # variable set. + if options.python and "_PIP_RUNNING_IN_SUBPROCESS" not in os.environ: + logger.critical( + "The --python option must be placed before the pip subcommand name" + ) + sys.exit(ERROR) + + # TODO: Try to get these passing down from the command? + # without resorting to os.environ to hold these. + # This also affects isolated builds and it should. + + if options.no_input: + os.environ["PIP_NO_INPUT"] = "1" + + if options.exists_action: + os.environ["PIP_EXISTS_ACTION"] = " ".join(options.exists_action) + + if options.require_venv and not self.ignore_require_venv: + # If a venv is required check if it can really be found + if not running_under_virtualenv(): + logger.critical("Could not find an activated virtualenv (required).") + sys.exit(VIRTUALENV_NOT_FOUND) + + if options.cache_dir: + options.cache_dir = normalize_path(options.cache_dir) + if not check_path_owner(options.cache_dir): + logger.warning( + "The directory '%s' or its parent directory is not owned " + "or is not writable by the current user. The cache " + "has been disabled. Check the permissions and owner of " + "that directory. If executing pip with sudo, you should " + "use sudo's -H flag.", + options.cache_dir, + ) + options.cache_dir = None + + return self._run_wrapper(level_number, options, args) + + def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]: + """ + map of names to handler actions for commands with sub-actions + """ + return {} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py new file mode 100644 index 0000000000000000000000000000000000000000..3519dadf13d02119636c197a3b584e6ebf2da150 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py @@ -0,0 +1,1138 @@ +""" +shared options and groups + +The principle here is to define options once, but *not* instantiate them +globally. One reason being that options with action='append' can carry state +between parses. pip parses general options twice internally, and shouldn't +pass on state. To be consistent, all options will follow this design. +""" + +# The following comment should be removed at some point in the future. +# mypy: strict-optional=False +from __future__ import annotations + +import importlib.util +import logging +import os +import pathlib +import textwrap +from functools import partial +from optparse import SUPPRESS_HELP, Option, OptionGroup, OptionParser, Values +from textwrap import dedent +from typing import Any, Callable + +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.cli.parser import ConfigOptionParser +from pip._internal.exceptions import CommandError +from pip._internal.locations import USER_CACHE_DIR, get_src_prefix +from pip._internal.models.format_control import FormatControl +from pip._internal.models.index import PyPI +from pip._internal.models.target_python import TargetPython +from pip._internal.utils.hashes import STRONG_HASHES +from pip._internal.utils.misc import strtobool + +logger = logging.getLogger(__name__) + + +def raise_option_error(parser: OptionParser, option: Option, msg: str) -> None: + """ + Raise an option parsing error using parser.error(). + + Args: + parser: an OptionParser instance. + option: an Option instance. + msg: the error text. + """ + msg = f"{option} error: {msg}" + msg = textwrap.fill(" ".join(msg.split())) + parser.error(msg) + + +def make_option_group(group: dict[str, Any], parser: ConfigOptionParser) -> OptionGroup: + """ + Return an OptionGroup object + group -- assumed to be dict with 'name' and 'options' keys + parser -- an optparse Parser + """ + option_group = OptionGroup(parser, group["name"]) + for option in group["options"]: + option_group.add_option(option()) + return option_group + + +def check_dist_restriction(options: Values, check_target: bool = False) -> None: + """Function for determining if custom platform options are allowed. + + :param options: The OptionParser options. + :param check_target: Whether or not to check if --target is being used. + """ + dist_restriction_set = any( + [ + options.python_version, + options.platforms, + options.abis, + options.implementation, + ] + ) + + binary_only = FormatControl(set(), {":all:"}) + sdist_dependencies_allowed = ( + options.format_control != binary_only and not options.ignore_dependencies + ) + + # Installations or downloads using dist restrictions must not combine + # source distributions and dist-specific wheels, as they are not + # guaranteed to be locally compatible. + if dist_restriction_set and sdist_dependencies_allowed: + raise CommandError( + "When restricting platform and interpreter constraints using " + "--python-version, --platform, --abi, or --implementation, " + "either --no-deps must be set, or --only-binary=:all: must be " + "set and --no-binary must not be set (or must be set to " + ":none:)." + ) + + if check_target: + if not options.dry_run and dist_restriction_set and not options.target_dir: + raise CommandError( + "Can not use any platform or abi specific options unless " + "installing via '--target' or using '--dry-run'" + ) + + +def _path_option_check(option: Option, opt: str, value: str) -> str: + return os.path.expanduser(value) + + +def _package_name_option_check(option: Option, opt: str, value: str) -> str: + return canonicalize_name(value) + + +class PipOption(Option): + TYPES = Option.TYPES + ("path", "package_name") + TYPE_CHECKER = Option.TYPE_CHECKER.copy() + TYPE_CHECKER["package_name"] = _package_name_option_check + TYPE_CHECKER["path"] = _path_option_check + + +########### +# options # +########### + +help_: Callable[..., Option] = partial( + Option, + "-h", + "--help", + dest="help", + action="help", + help="Show help.", +) + +debug_mode: Callable[..., Option] = partial( + Option, + "--debug", + dest="debug_mode", + action="store_true", + default=False, + help=( + "Let unhandled exceptions propagate outside the main subroutine, " + "instead of logging them to stderr." + ), +) + +isolated_mode: Callable[..., Option] = partial( + Option, + "--isolated", + dest="isolated_mode", + action="store_true", + default=False, + help=( + "Run pip in an isolated mode, ignoring environment variables and user " + "configuration." + ), +) + +require_virtualenv: Callable[..., Option] = partial( + Option, + "--require-virtualenv", + "--require-venv", + dest="require_venv", + action="store_true", + default=False, + help=( + "Allow pip to only run in a virtual environment; " + "exit with an error otherwise." + ), +) + +override_externally_managed: Callable[..., Option] = partial( + Option, + "--break-system-packages", + dest="override_externally_managed", + action="store_true", + help="Allow pip to modify an EXTERNALLY-MANAGED Python installation", +) + +python: Callable[..., Option] = partial( + Option, + "--python", + dest="python", + help="Run pip with the specified Python interpreter.", +) + +verbose: Callable[..., Option] = partial( + Option, + "-v", + "--verbose", + dest="verbose", + action="count", + default=0, + help="Give more output. Option is additive, and can be used up to 3 times.", +) + +no_color: Callable[..., Option] = partial( + Option, + "--no-color", + dest="no_color", + action="store_true", + default=False, + help="Suppress colored output.", +) + +version: Callable[..., Option] = partial( + Option, + "-V", + "--version", + dest="version", + action="store_true", + help="Show version and exit.", +) + +quiet: Callable[..., Option] = partial( + Option, + "-q", + "--quiet", + dest="quiet", + action="count", + default=0, + help=( + "Give less output. Option is additive, and can be used up to 3" + " times (corresponding to WARNING, ERROR, and CRITICAL logging" + " levels)." + ), +) + +progress_bar: Callable[..., Option] = partial( + Option, + "--progress-bar", + dest="progress_bar", + type="choice", + choices=["auto", "on", "off", "raw"], + default="auto", + help=( + "Specify whether the progress bar should be used. In 'auto'" + " mode, --quiet will suppress all progress bars." + " [auto, on, off, raw] (default: auto)" + ), +) + +log: Callable[..., Option] = partial( + PipOption, + "--log", + "--log-file", + "--local-log", + dest="log", + metavar="path", + type="path", + help="Path to a verbose appending log.", +) + +no_input: Callable[..., Option] = partial( + Option, + # Don't ask for input + "--no-input", + dest="no_input", + action="store_true", + default=False, + help="Disable prompting for input.", +) + +keyring_provider: Callable[..., Option] = partial( + Option, + "--keyring-provider", + dest="keyring_provider", + choices=["auto", "disabled", "import", "subprocess"], + default="auto", + help=( + "Enable the credential lookup via the keyring library if user input is allowed." + " Specify which mechanism to use [auto, disabled, import, subprocess]." + " (default: %default)" + ), +) + +proxy: Callable[..., Option] = partial( + Option, + "--proxy", + dest="proxy", + type="str", + default="", + help="Specify a proxy in the form scheme://[user:passwd@]proxy.server:port.", +) + +retries: Callable[..., Option] = partial( + Option, + "--retries", + dest="retries", + type="int", + default=5, + help="Maximum attempts to establish a new HTTP connection. (default: %default)", +) + +resume_retries: Callable[..., Option] = partial( + Option, + "--resume-retries", + dest="resume_retries", + type="int", + default=5, + help="Maximum attempts to resume or restart an incomplete download. " + "(default: %default)", +) + +timeout: Callable[..., Option] = partial( + Option, + "--timeout", + "--default-timeout", + metavar="sec", + dest="timeout", + type="float", + default=15, + help="Set the socket timeout (default %default seconds).", +) + + +def exists_action() -> Option: + return Option( + # Option when path already exist + "--exists-action", + dest="exists_action", + type="choice", + choices=["s", "i", "w", "b", "a"], + default=[], + action="append", + metavar="action", + help="Default action when a path already exists: " + "(s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.", + ) + + +cert: Callable[..., Option] = partial( + PipOption, + "--cert", + dest="cert", + type="path", + metavar="path", + help=( + "Path to PEM-encoded CA certificate bundle. " + "If provided, overrides the default. " + "See 'SSL Certificate Verification' in pip documentation " + "for more information." + ), +) + +client_cert: Callable[..., Option] = partial( + PipOption, + "--client-cert", + dest="client_cert", + type="path", + default=None, + metavar="path", + help="Path to SSL client certificate, a single file containing the " + "private key and the certificate in PEM format.", +) + +index_url: Callable[..., Option] = partial( + Option, + "-i", + "--index-url", + "--pypi-url", + dest="index_url", + metavar="URL", + default=PyPI.simple_url, + help="Base URL of the Python Package Index (default %default). " + "This should point to a repository compliant with PEP 503 " + "(the simple repository API) or a local directory laid out " + "in the same format.", +) + + +def extra_index_url() -> Option: + return Option( + "--extra-index-url", + dest="extra_index_urls", + metavar="URL", + action="append", + default=[], + help="Extra URLs of package indexes to use in addition to " + "--index-url. Should follow the same rules as " + "--index-url.", + ) + + +no_index: Callable[..., Option] = partial( + Option, + "--no-index", + dest="no_index", + action="store_true", + default=False, + help="Ignore package index (only looking at --find-links URLs instead).", +) + + +def find_links() -> Option: + return Option( + "-f", + "--find-links", + dest="find_links", + action="append", + default=[], + metavar="url", + help="If a URL or path to an html file, then parse for links to " + "archives such as sdist (.tar.gz) or wheel (.whl) files. " + "If a local path or file:// URL that's a directory, " + "then look for archives in the directory listing. " + "Links to VCS project URLs are not supported.", + ) + + +def trusted_host() -> Option: + return Option( + "--trusted-host", + dest="trusted_hosts", + action="append", + metavar="HOSTNAME", + default=[], + help="Mark this host or host:port pair as trusted, even though it " + "does not have valid or any HTTPS.", + ) + + +def constraints() -> Option: + return Option( + "-c", + "--constraint", + dest="constraints", + action="append", + default=[], + metavar="file", + help="Constrain versions using the given constraints file. " + "This option can be used multiple times.", + ) + + +def requirements() -> Option: + return Option( + "-r", + "--requirement", + dest="requirements", + action="append", + default=[], + metavar="file", + help="Install from the given requirements file. " + "This option can be used multiple times.", + ) + + +def editable() -> Option: + return Option( + "-e", + "--editable", + dest="editables", + action="append", + default=[], + metavar="path/url", + help=( + "Install a project in editable mode (i.e. setuptools " + '"develop mode") from a local project path or a VCS url.' + ), + ) + + +def _handle_src(option: Option, opt_str: str, value: str, parser: OptionParser) -> None: + value = os.path.abspath(value) + setattr(parser.values, option.dest, value) + + +src: Callable[..., Option] = partial( + PipOption, + "--src", + "--source", + "--source-dir", + "--source-directory", + dest="src_dir", + type="path", + metavar="dir", + default=get_src_prefix(), + action="callback", + callback=_handle_src, + help="Directory to check out editable projects into. " + 'The default in a virtualenv is "/src". ' + 'The default for global installs is "/src".', +) + + +def _get_format_control(values: Values, option: Option) -> Any: + """Get a format_control object.""" + return getattr(values, option.dest) + + +def _handle_no_binary( + option: Option, opt_str: str, value: str, parser: OptionParser +) -> None: + existing = _get_format_control(parser.values, option) + FormatControl.handle_mutual_excludes( + value, + existing.no_binary, + existing.only_binary, + ) + + +def _handle_only_binary( + option: Option, opt_str: str, value: str, parser: OptionParser +) -> None: + existing = _get_format_control(parser.values, option) + FormatControl.handle_mutual_excludes( + value, + existing.only_binary, + existing.no_binary, + ) + + +def no_binary() -> Option: + format_control = FormatControl(set(), set()) + return Option( + "--no-binary", + dest="format_control", + action="callback", + callback=_handle_no_binary, + type="str", + default=format_control, + help="Do not use binary packages. Can be supplied multiple times, and " + 'each time adds to the existing value. Accepts either ":all:" to ' + 'disable all binary packages, ":none:" to empty the set (notice ' + "the colons), or one or more package names with commas between " + "them (no colons). Note that some packages are tricky to compile " + "and may fail to install when this option is used on them.", + ) + + +def only_binary() -> Option: + format_control = FormatControl(set(), set()) + return Option( + "--only-binary", + dest="format_control", + action="callback", + callback=_handle_only_binary, + type="str", + default=format_control, + help="Do not use source packages. Can be supplied multiple times, and " + 'each time adds to the existing value. Accepts either ":all:" to ' + 'disable all source packages, ":none:" to empty the set, or one ' + "or more package names with commas between them. Packages " + "without binary distributions will fail to install when this " + "option is used on them.", + ) + + +platforms: Callable[..., Option] = partial( + Option, + "--platform", + dest="platforms", + metavar="platform", + action="append", + default=None, + help=( + "Only use wheels compatible with . Defaults to the " + "platform of the running system. Use this option multiple times to " + "specify multiple platforms supported by the target interpreter." + ), +) + + +# This was made a separate function for unit-testing purposes. +def _convert_python_version(value: str) -> tuple[tuple[int, ...], str | None]: + """ + Convert a version string like "3", "37", or "3.7.3" into a tuple of ints. + + :return: A 2-tuple (version_info, error_msg), where `error_msg` is + non-None if and only if there was a parsing error. + """ + if not value: + # The empty string is the same as not providing a value. + return (None, None) + + parts = value.split(".") + if len(parts) > 3: + return ((), "at most three version parts are allowed") + + if len(parts) == 1: + # Then we are in the case of "3" or "37". + value = parts[0] + if len(value) > 1: + parts = [value[0], value[1:]] + + try: + version_info = tuple(int(part) for part in parts) + except ValueError: + return ((), "each version part must be an integer") + + return (version_info, None) + + +def _handle_python_version( + option: Option, opt_str: str, value: str, parser: OptionParser +) -> None: + """ + Handle a provided --python-version value. + """ + version_info, error_msg = _convert_python_version(value) + if error_msg is not None: + msg = f"invalid --python-version value: {value!r}: {error_msg}" + raise_option_error(parser, option=option, msg=msg) + + parser.values.python_version = version_info + + +python_version: Callable[..., Option] = partial( + Option, + "--python-version", + dest="python_version", + metavar="python_version", + action="callback", + callback=_handle_python_version, + type="str", + default=None, + help=dedent( + """\ + The Python interpreter version to use for wheel and "Requires-Python" + compatibility checks. Defaults to a version derived from the running + interpreter. The version can be specified using up to three dot-separated + integers (e.g. "3" for 3.0.0, "3.7" for 3.7.0, or "3.7.3"). A major-minor + version can also be given as a string without dots (e.g. "37" for 3.7.0). + """ + ), +) + + +implementation: Callable[..., Option] = partial( + Option, + "--implementation", + dest="implementation", + metavar="implementation", + default=None, + help=( + "Only use wheels compatible with Python " + "implementation , e.g. 'pp', 'jy', 'cp', " + " or 'ip'. If not specified, then the current " + "interpreter implementation is used. Use 'py' to force " + "implementation-agnostic wheels." + ), +) + + +abis: Callable[..., Option] = partial( + Option, + "--abi", + dest="abis", + metavar="abi", + action="append", + default=None, + help=( + "Only use wheels compatible with Python abi , e.g. 'pypy_41'. " + "If not specified, then the current interpreter abi tag is used. " + "Use this option multiple times to specify multiple abis supported " + "by the target interpreter. Generally you will need to specify " + "--implementation, --platform, and --python-version when using this " + "option." + ), +) + + +def add_target_python_options(cmd_opts: OptionGroup) -> None: + cmd_opts.add_option(platforms()) + cmd_opts.add_option(python_version()) + cmd_opts.add_option(implementation()) + cmd_opts.add_option(abis()) + + +def make_target_python(options: Values) -> TargetPython: + target_python = TargetPython( + platforms=options.platforms, + py_version_info=options.python_version, + abis=options.abis, + implementation=options.implementation, + ) + + return target_python + + +def prefer_binary() -> Option: + return Option( + "--prefer-binary", + dest="prefer_binary", + action="store_true", + default=False, + help=( + "Prefer binary packages over source packages, even if the " + "source packages are newer." + ), + ) + + +cache_dir: Callable[..., Option] = partial( + PipOption, + "--cache-dir", + dest="cache_dir", + default=USER_CACHE_DIR, + metavar="dir", + type="path", + help="Store the cache data in .", +) + + +def _handle_no_cache_dir( + option: Option, opt: str, value: str, parser: OptionParser +) -> None: + """ + Process a value provided for the --no-cache-dir option. + + This is an optparse.Option callback for the --no-cache-dir option. + """ + # The value argument will be None if --no-cache-dir is passed via the + # command-line, since the option doesn't accept arguments. However, + # the value can be non-None if the option is triggered e.g. by an + # environment variable, like PIP_NO_CACHE_DIR=true. + if value is not None: + # Then parse the string value to get argument error-checking. + try: + strtobool(value) + except ValueError as exc: + raise_option_error(parser, option=option, msg=str(exc)) + + # Originally, setting PIP_NO_CACHE_DIR to a value that strtobool() + # converted to 0 (like "false" or "no") caused cache_dir to be disabled + # rather than enabled (logic would say the latter). Thus, we disable + # the cache directory not just on values that parse to True, but (for + # backwards compatibility reasons) also on values that parse to False. + # In other words, always set it to False if the option is provided in + # some (valid) form. + parser.values.cache_dir = False + + +no_cache: Callable[..., Option] = partial( + Option, + "--no-cache-dir", + dest="cache_dir", + action="callback", + callback=_handle_no_cache_dir, + help="Disable the cache.", +) + +no_deps: Callable[..., Option] = partial( + Option, + "--no-deps", + "--no-dependencies", + dest="ignore_dependencies", + action="store_true", + default=False, + help="Don't install package dependencies.", +) + + +def _handle_dependency_group( + option: Option, opt: str, value: str, parser: OptionParser +) -> None: + """ + Process a value provided for the --group option. + + Splits on the rightmost ":", and validates that the path (if present) ends + in `pyproject.toml`. Defaults the path to `pyproject.toml` when one is not given. + + `:` cannot appear in dependency group names, so this is a safe and simple parse. + + This is an optparse.Option callback for the dependency_groups option. + """ + path, sep, groupname = value.rpartition(":") + if not sep: + path = "pyproject.toml" + else: + # check for 'pyproject.toml' filenames using pathlib + if pathlib.PurePath(path).name != "pyproject.toml": + msg = "group paths use 'pyproject.toml' filenames" + raise_option_error(parser, option=option, msg=msg) + + parser.values.dependency_groups.append((path, groupname)) + + +dependency_groups: Callable[..., Option] = partial( + Option, + "--group", + dest="dependency_groups", + default=[], + type=str, + action="callback", + callback=_handle_dependency_group, + metavar="[path:]group", + help='Install a named dependency-group from a "pyproject.toml" file. ' + 'If a path is given, the name of the file must be "pyproject.toml". ' + 'Defaults to using "pyproject.toml" in the current directory.', +) + +ignore_requires_python: Callable[..., Option] = partial( + Option, + "--ignore-requires-python", + dest="ignore_requires_python", + action="store_true", + help="Ignore the Requires-Python information.", +) + +no_build_isolation: Callable[..., Option] = partial( + Option, + "--no-build-isolation", + dest="build_isolation", + action="store_false", + default=True, + help="Disable isolation when building a modern source distribution. " + "Build dependencies specified by PEP 518 must be already installed " + "if this option is used.", +) + +check_build_deps: Callable[..., Option] = partial( + Option, + "--check-build-dependencies", + dest="check_build_deps", + action="store_true", + default=False, + help="Check the build dependencies when PEP517 is used.", +) + + +def _handle_no_use_pep517( + option: Option, opt: str, value: str, parser: OptionParser +) -> None: + """ + Process a value provided for the --no-use-pep517 option. + + This is an optparse.Option callback for the no_use_pep517 option. + """ + # Since --no-use-pep517 doesn't accept arguments, the value argument + # will be None if --no-use-pep517 is passed via the command-line. + # However, the value can be non-None if the option is triggered e.g. + # by an environment variable, for example "PIP_NO_USE_PEP517=true". + if value is not None: + msg = """A value was passed for --no-use-pep517, + probably using either the PIP_NO_USE_PEP517 environment variable + or the "no-use-pep517" config file option. Use an appropriate value + of the PIP_USE_PEP517 environment variable or the "use-pep517" + config file option instead. + """ + raise_option_error(parser, option=option, msg=msg) + + # If user doesn't wish to use pep517, we check if setuptools is installed + # and raise error if it is not. + packages = ("setuptools",) + if not all(importlib.util.find_spec(package) for package in packages): + msg = ( + f"It is not possible to use --no-use-pep517 " + f"without {' and '.join(packages)} installed." + ) + raise_option_error(parser, option=option, msg=msg) + + # Otherwise, --no-use-pep517 was passed via the command-line. + parser.values.use_pep517 = False + + +use_pep517: Any = partial( + Option, + "--use-pep517", + dest="use_pep517", + action="store_true", + default=None, + help="Use PEP 517 for building source distributions " + "(use --no-use-pep517 to force legacy behaviour).", +) + +no_use_pep517: Any = partial( + Option, + "--no-use-pep517", + dest="use_pep517", + action="callback", + callback=_handle_no_use_pep517, + default=None, + help=SUPPRESS_HELP, +) + + +def _handle_config_settings( + option: Option, opt_str: str, value: str, parser: OptionParser +) -> None: + key, sep, val = value.partition("=") + if sep != "=": + parser.error(f"Arguments to {opt_str} must be of the form KEY=VAL") + dest = getattr(parser.values, option.dest) + if dest is None: + dest = {} + setattr(parser.values, option.dest, dest) + if key in dest: + if isinstance(dest[key], list): + dest[key].append(val) + else: + dest[key] = [dest[key], val] + else: + dest[key] = val + + +config_settings: Callable[..., Option] = partial( + Option, + "-C", + "--config-settings", + dest="config_settings", + type=str, + action="callback", + callback=_handle_config_settings, + metavar="settings", + help="Configuration settings to be passed to the PEP 517 build backend. " + "Settings take the form KEY=VALUE. Use multiple --config-settings options " + "to pass multiple keys to the backend.", +) + +build_options: Callable[..., Option] = partial( + Option, + "--build-option", + dest="build_options", + metavar="options", + action="append", + help="Extra arguments to be supplied to 'setup.py bdist_wheel'.", +) + +global_options: Callable[..., Option] = partial( + Option, + "--global-option", + dest="global_options", + action="append", + metavar="options", + help="Extra global options to be supplied to the setup.py " + "call before the install or bdist_wheel command.", +) + +no_clean: Callable[..., Option] = partial( + Option, + "--no-clean", + action="store_true", + default=False, + help="Don't clean up build directories.", +) + +pre: Callable[..., Option] = partial( + Option, + "--pre", + action="store_true", + default=False, + help="Include pre-release and development versions. By default, " + "pip only finds stable versions.", +) + +json: Callable[..., Option] = partial( + Option, + "--json", + action="store_true", + default=False, + help="Output data in a machine-readable JSON format.", +) + +disable_pip_version_check: Callable[..., Option] = partial( + Option, + "--disable-pip-version-check", + dest="disable_pip_version_check", + action="store_true", + default=False, + help="Don't periodically check PyPI to determine whether a new version " + "of pip is available for download. Implied with --no-index.", +) + +root_user_action: Callable[..., Option] = partial( + Option, + "--root-user-action", + dest="root_user_action", + default="warn", + choices=["warn", "ignore"], + help="Action if pip is run as a root user [warn, ignore] (default: warn)", +) + + +def _handle_merge_hash( + option: Option, opt_str: str, value: str, parser: OptionParser +) -> None: + """Given a value spelled "algo:digest", append the digest to a list + pointed to in a dict by the algo name.""" + if not parser.values.hashes: + parser.values.hashes = {} + try: + algo, digest = value.split(":", 1) + except ValueError: + parser.error( + f"Arguments to {opt_str} must be a hash name " + "followed by a value, like --hash=sha256:" + "abcde..." + ) + if algo not in STRONG_HASHES: + parser.error( + "Allowed hash algorithms for {} are {}.".format( + opt_str, ", ".join(STRONG_HASHES) + ) + ) + parser.values.hashes.setdefault(algo, []).append(digest) + + +hash: Callable[..., Option] = partial( + Option, + "--hash", + # Hash values eventually end up in InstallRequirement.hashes due to + # __dict__ copying in process_line(). + dest="hashes", + action="callback", + callback=_handle_merge_hash, + type="string", + help="Verify that the package's archive matches this " + "hash before installing. Example: --hash=sha256:abcdef...", +) + + +require_hashes: Callable[..., Option] = partial( + Option, + "--require-hashes", + dest="require_hashes", + action="store_true", + default=False, + help="Require a hash to check each requirement against, for " + "repeatable installs. This option is implied when any package in a " + "requirements file has a --hash option.", +) + + +list_path: Callable[..., Option] = partial( + PipOption, + "--path", + dest="path", + type="path", + action="append", + help="Restrict to the specified installation path for listing " + "packages (can be used multiple times).", +) + + +def check_list_path_option(options: Values) -> None: + if options.path and (options.user or options.local): + raise CommandError("Cannot combine '--path' with '--user' or '--local'") + + +list_exclude: Callable[..., Option] = partial( + PipOption, + "--exclude", + dest="excludes", + action="append", + metavar="package", + type="package_name", + help="Exclude specified package from the output", +) + + +no_python_version_warning: Callable[..., Option] = partial( + Option, + "--no-python-version-warning", + dest="no_python_version_warning", + action="store_true", + default=False, + help=SUPPRESS_HELP, # No-op, a hold-over from the Python 2->3 transition. +) + + +# Features that are now always on. A warning is printed if they are used. +ALWAYS_ENABLED_FEATURES = [ + "truststore", # always on since 24.2 + "no-binary-enable-wheel-cache", # always on since 23.1 +] + +use_new_feature: Callable[..., Option] = partial( + Option, + "--use-feature", + dest="features_enabled", + metavar="feature", + action="append", + default=[], + choices=[ + "fast-deps", + ] + + ALWAYS_ENABLED_FEATURES, + help="Enable new functionality, that may be backward incompatible.", +) + +use_deprecated_feature: Callable[..., Option] = partial( + Option, + "--use-deprecated", + dest="deprecated_features_enabled", + metavar="feature", + action="append", + default=[], + choices=[ + "legacy-resolver", + "legacy-certs", + ], + help=("Enable deprecated functionality, that will be removed in the future."), +) + +########## +# groups # +########## + +general_group: dict[str, Any] = { + "name": "General Options", + "options": [ + help_, + debug_mode, + isolated_mode, + require_virtualenv, + python, + verbose, + version, + quiet, + log, + no_input, + keyring_provider, + proxy, + retries, + timeout, + exists_action, + trusted_host, + cert, + client_cert, + cache_dir, + no_cache, + disable_pip_version_check, + no_color, + no_python_version_warning, + use_new_feature, + use_deprecated_feature, + resume_retries, + ], +} + +index_group: dict[str, Any] = { + "name": "Package Index Options", + "options": [ + index_url, + extra_index_url, + no_index, + find_links, + ], +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/command_context.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/command_context.py new file mode 100644 index 0000000000000000000000000000000000000000..9c167bdc339860dffba24040cf1e83e24b2fa089 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/command_context.py @@ -0,0 +1,28 @@ +from collections.abc import Generator +from contextlib import AbstractContextManager, ExitStack, contextmanager +from typing import TypeVar + +_T = TypeVar("_T", covariant=True) + + +class CommandContextMixIn: + def __init__(self) -> None: + super().__init__() + self._in_main_context = False + self._main_context = ExitStack() + + @contextmanager + def main_context(self) -> Generator[None, None, None]: + assert not self._in_main_context + + self._in_main_context = True + try: + with self._main_context: + yield + finally: + self._in_main_context = False + + def enter_context(self, context_provider: AbstractContextManager[_T]) -> _T: + assert self._in_main_context + + return self._main_context.enter_context(context_provider) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py new file mode 100644 index 0000000000000000000000000000000000000000..f6a82c8a80cd8c292cc8ac80a94de7c0f5909399 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py @@ -0,0 +1,175 @@ +""" +Contains command classes which may interact with an index / the network. + +Unlike its sister module, req_command, this module still uses lazy imports +so commands which don't always hit the network (e.g. list w/o --outdated or +--uptodate) don't need waste time importing PipSession and friends. +""" + +from __future__ import annotations + +import logging +import os +import sys +from functools import lru_cache +from optparse import Values +from typing import TYPE_CHECKING + +from pip._vendor import certifi + +from pip._internal.cli.base_command import Command +from pip._internal.cli.command_context import CommandContextMixIn + +if TYPE_CHECKING: + from ssl import SSLContext + + from pip._internal.network.session import PipSession + +logger = logging.getLogger(__name__) + + +@lru_cache +def _create_truststore_ssl_context() -> SSLContext | None: + if sys.version_info < (3, 10): + logger.debug("Disabling truststore because Python version isn't 3.10+") + return None + + try: + import ssl + except ImportError: + logger.warning("Disabling truststore since ssl support is missing") + return None + + try: + from pip._vendor import truststore + except ImportError: + logger.warning("Disabling truststore because platform isn't supported") + return None + + ctx = truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT) + ctx.load_verify_locations(certifi.where()) + return ctx + + +class SessionCommandMixin(CommandContextMixIn): + """ + A class mixin for command classes needing _build_session(). + """ + + def __init__(self) -> None: + super().__init__() + self._session: PipSession | None = None + + @classmethod + def _get_index_urls(cls, options: Values) -> list[str] | None: + """Return a list of index urls from user-provided options.""" + index_urls = [] + if not getattr(options, "no_index", False): + url = getattr(options, "index_url", None) + if url: + index_urls.append(url) + urls = getattr(options, "extra_index_urls", None) + if urls: + index_urls.extend(urls) + # Return None rather than an empty list + return index_urls or None + + def get_default_session(self, options: Values) -> PipSession: + """Get a default-managed session.""" + if self._session is None: + self._session = self.enter_context(self._build_session(options)) + # there's no type annotation on requests.Session, so it's + # automatically ContextManager[Any] and self._session becomes Any, + # then https://github.com/python/mypy/issues/7696 kicks in + assert self._session is not None + return self._session + + def _build_session( + self, + options: Values, + retries: int | None = None, + timeout: int | None = None, + ) -> PipSession: + from pip._internal.network.session import PipSession + + cache_dir = options.cache_dir + assert not cache_dir or os.path.isabs(cache_dir) + + if "legacy-certs" not in options.deprecated_features_enabled: + ssl_context = _create_truststore_ssl_context() + else: + ssl_context = None + + session = PipSession( + cache=os.path.join(cache_dir, "http-v2") if cache_dir else None, + retries=retries if retries is not None else options.retries, + trusted_hosts=options.trusted_hosts, + index_urls=self._get_index_urls(options), + ssl_context=ssl_context, + ) + + # Handle custom ca-bundles from the user + if options.cert: + session.verify = options.cert + + # Handle SSL client certificate + if options.client_cert: + session.cert = options.client_cert + + # Handle timeouts + if options.timeout or timeout: + session.timeout = timeout if timeout is not None else options.timeout + + # Handle configured proxies + if options.proxy: + session.proxies = { + "http": options.proxy, + "https": options.proxy, + } + session.trust_env = False + session.pip_proxy = options.proxy + + # Determine if we can prompt the user for authentication or not + session.auth.prompting = not options.no_input + session.auth.keyring_provider = options.keyring_provider + + return session + + +def _pip_self_version_check(session: PipSession, options: Values) -> None: + from pip._internal.self_outdated_check import pip_self_version_check as check + + check(session, options) + + +class IndexGroupCommand(Command, SessionCommandMixin): + """ + Abstract base class for commands with the index_group options. + + This also corresponds to the commands that permit the pip version check. + """ + + def handle_pip_version_check(self, options: Values) -> None: + """ + Do the pip version check if not disabled. + + This overrides the default behavior of not doing the check. + """ + # Make sure the index_group options are present. + assert hasattr(options, "no_index") + + if options.disable_pip_version_check or options.no_index: + return + + try: + # Otherwise, check if we're using the latest version of pip available. + session = self._build_session( + options, + retries=0, + timeout=min(5, options.timeout), + ) + with session: + _pip_self_version_check(session, options) + except Exception: + logger.warning("There was an error checking the latest version of pip.") + logger.debug("See below for error", exc_info=True) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/main.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/main.py new file mode 100644 index 0000000000000000000000000000000000000000..9a161fd172099f57e26d9ddca562460f87558051 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/main.py @@ -0,0 +1,80 @@ +"""Primary application entrypoint.""" + +from __future__ import annotations + +import locale +import logging +import os +import sys +import warnings + +from pip._internal.cli.autocompletion import autocomplete +from pip._internal.cli.main_parser import parse_command +from pip._internal.commands import create_command +from pip._internal.exceptions import PipError +from pip._internal.utils import deprecation + +logger = logging.getLogger(__name__) + + +# Do not import and use main() directly! Using it directly is actively +# discouraged by pip's maintainers. The name, location and behavior of +# this function is subject to change, so calling it directly is not +# portable across different pip versions. + +# In addition, running pip in-process is unsupported and unsafe. This is +# elaborated in detail at +# https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program. +# That document also provides suggestions that should work for nearly +# all users that are considering importing and using main() directly. + +# However, we know that certain users will still want to invoke pip +# in-process. If you understand and accept the implications of using pip +# in an unsupported manner, the best approach is to use runpy to avoid +# depending on the exact location of this entry point. + +# The following example shows how to use runpy to invoke pip in that +# case: +# +# sys.argv = ["pip", your, args, here] +# runpy.run_module("pip", run_name="__main__") +# +# Note that this will exit the process after running, unlike a direct +# call to main. As it is not safe to do any processing after calling +# main, this should not be an issue in practice. + + +def main(args: list[str] | None = None) -> int: + if args is None: + args = sys.argv[1:] + + # Suppress the pkg_resources deprecation warning + # Note - we use a module of .*pkg_resources to cover + # the normal case (pip._vendor.pkg_resources) and the + # devendored case (a bare pkg_resources) + warnings.filterwarnings( + action="ignore", category=DeprecationWarning, module=".*pkg_resources" + ) + + # Configure our deprecation warnings to be sent through loggers + deprecation.install_warning_logger() + + autocomplete() + + try: + cmd_name, cmd_args = parse_command(args) + except PipError as exc: + sys.stderr.write(f"ERROR: {exc}") + sys.stderr.write(os.linesep) + sys.exit(1) + + # Needed for locale.getpreferredencoding(False) to work + # in pip._internal.utils.encoding.auto_decode + try: + locale.setlocale(locale.LC_ALL, "") + except locale.Error as e: + # setlocale can apparently crash if locale are uninitialized + logger.debug("Ignoring error %s when setting locale", e) + command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) + + return command.main(cmd_args) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py new file mode 100644 index 0000000000000000000000000000000000000000..5ce9f5a02d4609d7c0a9edd7e2f90d6bc0224c65 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/main_parser.py @@ -0,0 +1,134 @@ +"""A single place for constructing and exposing the main parser""" + +from __future__ import annotations + +import os +import subprocess +import sys + +from pip._internal.build_env import get_runnable_pip +from pip._internal.cli import cmdoptions +from pip._internal.cli.parser import ConfigOptionParser, UpdatingDefaultsHelpFormatter +from pip._internal.commands import commands_dict, get_similar_commands +from pip._internal.exceptions import CommandError +from pip._internal.utils.misc import get_pip_version, get_prog + +__all__ = ["create_main_parser", "parse_command"] + + +def create_main_parser() -> ConfigOptionParser: + """Creates and returns the main parser for pip's CLI""" + + parser = ConfigOptionParser( + usage="\n%prog [options]", + add_help_option=False, + formatter=UpdatingDefaultsHelpFormatter(), + name="global", + prog=get_prog(), + ) + parser.disable_interspersed_args() + + parser.version = get_pip_version() + + # add the general options + gen_opts = cmdoptions.make_option_group(cmdoptions.general_group, parser) + parser.add_option_group(gen_opts) + + # so the help formatter knows + parser.main = True # type: ignore + + # create command listing for description + description = [""] + [ + f"{name:27} {command_info.summary}" + for name, command_info in commands_dict.items() + ] + parser.description = "\n".join(description) + + return parser + + +def identify_python_interpreter(python: str) -> str | None: + # If the named file exists, use it. + # If it's a directory, assume it's a virtual environment and + # look for the environment's Python executable. + if os.path.exists(python): + if os.path.isdir(python): + # bin/python for Unix, Scripts/python.exe for Windows + # Try both in case of odd cases like cygwin. + for exe in ("bin/python", "Scripts/python.exe"): + py = os.path.join(python, exe) + if os.path.exists(py): + return py + else: + return python + + # Could not find the interpreter specified + return None + + +def parse_command(args: list[str]) -> tuple[str, list[str]]: + parser = create_main_parser() + + # Note: parser calls disable_interspersed_args(), so the result of this + # call is to split the initial args into the general options before the + # subcommand and everything else. + # For example: + # args: ['--timeout=5', 'install', '--user', 'INITools'] + # general_options: ['--timeout==5'] + # args_else: ['install', '--user', 'INITools'] + general_options, args_else = parser.parse_args(args) + + # --python + if general_options.python and "_PIP_RUNNING_IN_SUBPROCESS" not in os.environ: + # Re-invoke pip using the specified Python interpreter + interpreter = identify_python_interpreter(general_options.python) + if interpreter is None: + raise CommandError( + f"Could not locate Python interpreter {general_options.python}" + ) + + pip_cmd = [ + interpreter, + get_runnable_pip(), + ] + pip_cmd.extend(args) + + # Set a flag so the child doesn't re-invoke itself, causing + # an infinite loop. + os.environ["_PIP_RUNNING_IN_SUBPROCESS"] = "1" + returncode = 0 + try: + proc = subprocess.run(pip_cmd) + returncode = proc.returncode + except (subprocess.SubprocessError, OSError) as exc: + raise CommandError(f"Failed to run pip under {interpreter}: {exc}") + sys.exit(returncode) + + # --version + if general_options.version: + sys.stdout.write(parser.version) + sys.stdout.write(os.linesep) + sys.exit() + + # pip || pip help -> print_help() + if not args_else or (args_else[0] == "help" and len(args_else) == 1): + parser.print_help() + sys.exit() + + # the subcommand name + cmd_name = args_else[0] + + if cmd_name not in commands_dict: + guess = get_similar_commands(cmd_name) + + msg = [f'unknown command "{cmd_name}"'] + if guess: + msg.append(f'maybe you meant "{guess}"') + + raise CommandError(" - ".join(msg)) + + # all the args without the subcommand + cmd_args = args[:] + cmd_args.remove(cmd_name) + + return cmd_name, cmd_args diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/parser.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/parser.py new file mode 100644 index 0000000000000000000000000000000000000000..f8b8ac43bec4043488d29ce629d2601dc642c886 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/parser.py @@ -0,0 +1,298 @@ +"""Base option parser setup""" + +from __future__ import annotations + +import logging +import optparse +import shutil +import sys +import textwrap +from collections.abc import Generator +from contextlib import suppress +from typing import Any, NoReturn + +from pip._internal.cli.status_codes import UNKNOWN_ERROR +from pip._internal.configuration import Configuration, ConfigurationError +from pip._internal.utils.misc import redact_auth_from_url, strtobool + +logger = logging.getLogger(__name__) + + +class PrettyHelpFormatter(optparse.IndentedHelpFormatter): + """A prettier/less verbose help formatter for optparse.""" + + def __init__(self, *args: Any, **kwargs: Any) -> None: + # help position must be aligned with __init__.parseopts.description + kwargs["max_help_position"] = 30 + kwargs["indent_increment"] = 1 + kwargs["width"] = shutil.get_terminal_size()[0] - 2 + super().__init__(*args, **kwargs) + + def format_option_strings(self, option: optparse.Option) -> str: + return self._format_option_strings(option) + + def _format_option_strings( + self, option: optparse.Option, mvarfmt: str = " <{}>", optsep: str = ", " + ) -> str: + """ + Return a comma-separated list of option strings and metavars. + + :param option: tuple of (short opt, long opt), e.g: ('-f', '--format') + :param mvarfmt: metavar format string + :param optsep: separator + """ + opts = [] + + if option._short_opts: + opts.append(option._short_opts[0]) + if option._long_opts: + opts.append(option._long_opts[0]) + if len(opts) > 1: + opts.insert(1, optsep) + + if option.takes_value(): + assert option.dest is not None + metavar = option.metavar or option.dest.lower() + opts.append(mvarfmt.format(metavar.lower())) + + return "".join(opts) + + def format_heading(self, heading: str) -> str: + if heading == "Options": + return "" + return heading + ":\n" + + def format_usage(self, usage: str) -> str: + """ + Ensure there is only one newline between usage and the first heading + if there is no description. + """ + msg = "\nUsage: {}\n".format(self.indent_lines(textwrap.dedent(usage), " ")) + return msg + + def format_description(self, description: str | None) -> str: + # leave full control over description to us + if description: + if hasattr(self.parser, "main"): + label = "Commands" + else: + label = "Description" + # some doc strings have initial newlines, some don't + description = description.lstrip("\n") + # some doc strings have final newlines and spaces, some don't + description = description.rstrip() + # dedent, then reindent + description = self.indent_lines(textwrap.dedent(description), " ") + description = f"{label}:\n{description}\n" + return description + else: + return "" + + def format_epilog(self, epilog: str | None) -> str: + # leave full control over epilog to us + if epilog: + return epilog + else: + return "" + + def indent_lines(self, text: str, indent: str) -> str: + new_lines = [indent + line for line in text.split("\n")] + return "\n".join(new_lines) + + +class UpdatingDefaultsHelpFormatter(PrettyHelpFormatter): + """Custom help formatter for use in ConfigOptionParser. + + This is updates the defaults before expanding them, allowing + them to show up correctly in the help listing. + + Also redact auth from url type options + """ + + def expand_default(self, option: optparse.Option) -> str: + default_values = None + if self.parser is not None: + assert isinstance(self.parser, ConfigOptionParser) + self.parser._update_defaults(self.parser.defaults) + assert option.dest is not None + default_values = self.parser.defaults.get(option.dest) + help_text = super().expand_default(option) + + if default_values and option.metavar == "URL": + if isinstance(default_values, str): + default_values = [default_values] + + # If its not a list, we should abort and just return the help text + if not isinstance(default_values, list): + default_values = [] + + for val in default_values: + help_text = help_text.replace(val, redact_auth_from_url(val)) + + return help_text + + +class CustomOptionParser(optparse.OptionParser): + def insert_option_group( + self, idx: int, *args: Any, **kwargs: Any + ) -> optparse.OptionGroup: + """Insert an OptionGroup at a given position.""" + group = self.add_option_group(*args, **kwargs) + + self.option_groups.pop() + self.option_groups.insert(idx, group) + + return group + + @property + def option_list_all(self) -> list[optparse.Option]: + """Get a list of all options, including those in option groups.""" + res = self.option_list[:] + for i in self.option_groups: + res.extend(i.option_list) + + return res + + +class ConfigOptionParser(CustomOptionParser): + """Custom option parser which updates its defaults by checking the + configuration files and environmental variables""" + + def __init__( + self, + *args: Any, + name: str, + isolated: bool = False, + **kwargs: Any, + ) -> None: + self.name = name + self.config = Configuration(isolated) + + assert self.name + super().__init__(*args, **kwargs) + + def check_default(self, option: optparse.Option, key: str, val: Any) -> Any: + try: + return option.check_value(key, val) + except optparse.OptionValueError as exc: + print(f"An error occurred during configuration: {exc}") + sys.exit(3) + + def _get_ordered_configuration_items( + self, + ) -> Generator[tuple[str, Any], None, None]: + # Configuration gives keys in an unordered manner. Order them. + override_order = ["global", self.name, ":env:"] + + # Pool the options into different groups + section_items: dict[str, list[tuple[str, Any]]] = { + name: [] for name in override_order + } + + for _, value in self.config.items(): # noqa: PERF102 + for section_key, val in value.items(): + # ignore empty values + if not val: + logger.debug( + "Ignoring configuration key '%s' as its value is empty.", + section_key, + ) + continue + + section, key = section_key.split(".", 1) + if section in override_order: + section_items[section].append((key, val)) + + # Yield each group in their override order + for section in override_order: + yield from section_items[section] + + def _update_defaults(self, defaults: dict[str, Any]) -> dict[str, Any]: + """Updates the given defaults with values from the config files and + the environ. Does a little special handling for certain types of + options (lists).""" + + # Accumulate complex default state. + self.values = optparse.Values(self.defaults) + late_eval = set() + # Then set the options with those values + for key, val in self._get_ordered_configuration_items(): + # '--' because configuration supports only long names + option = self.get_option("--" + key) + + # Ignore options not present in this parser. E.g. non-globals put + # in [global] by users that want them to apply to all applicable + # commands. + if option is None: + continue + + assert option.dest is not None + + if option.action in ("store_true", "store_false"): + try: + val = strtobool(val) + except ValueError: + self.error( + f"{val} is not a valid value for {key} option, " + "please specify a boolean value like yes/no, " + "true/false or 1/0 instead." + ) + elif option.action == "count": + with suppress(ValueError): + val = strtobool(val) + with suppress(ValueError): + val = int(val) + if not isinstance(val, int) or val < 0: + self.error( + f"{val} is not a valid value for {key} option, " + "please instead specify either a non-negative integer " + "or a boolean value like yes/no or false/true " + "which is equivalent to 1/0." + ) + elif option.action == "append": + val = val.split() + val = [self.check_default(option, key, v) for v in val] + elif option.action == "callback": + assert option.callback is not None + late_eval.add(option.dest) + opt_str = option.get_opt_string() + val = option.convert_value(opt_str, val) + # From take_action + args = option.callback_args or () + kwargs = option.callback_kwargs or {} + option.callback(option, opt_str, val, self, *args, **kwargs) + else: + val = self.check_default(option, key, val) + + defaults[option.dest] = val + + for key in late_eval: + defaults[key] = getattr(self.values, key) + self.values = None + return defaults + + def get_default_values(self) -> optparse.Values: + """Overriding to make updating the defaults after instantiation of + the option parser possible, _update_defaults() does the dirty work.""" + if not self.process_default_values: + # Old, pre-Optik 1.5 behaviour. + return optparse.Values(self.defaults) + + # Load the configuration, or error out in case of an error + try: + self.config.load() + except ConfigurationError as err: + self.exit(UNKNOWN_ERROR, str(err)) + + defaults = self._update_defaults(self.defaults.copy()) # ours + for option in self._get_all_options(): + assert option.dest is not None + default = defaults.get(option.dest) + if isinstance(default, str): + opt_str = option.get_opt_string() + defaults[option.dest] = option.check_value(opt_str, default) + return optparse.Values(defaults) + + def error(self, msg: str) -> NoReturn: + self.print_usage(sys.stderr) + self.exit(UNKNOWN_ERROR, f"{msg}\n") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py new file mode 100644 index 0000000000000000000000000000000000000000..af1bb6a5e0527abec6773ade764e61656bb323e9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py @@ -0,0 +1,151 @@ +from __future__ import annotations + +import functools +import sys +from collections.abc import Generator, Iterable, Iterator +from typing import Callable, Literal, TypeVar + +from pip._vendor.rich.progress import ( + BarColumn, + DownloadColumn, + FileSizeColumn, + MofNCompleteColumn, + Progress, + ProgressColumn, + SpinnerColumn, + TextColumn, + TimeElapsedColumn, + TimeRemainingColumn, + TransferSpeedColumn, +) + +from pip._internal.cli.spinners import RateLimiter +from pip._internal.req.req_install import InstallRequirement +from pip._internal.utils.logging import get_console, get_indentation + +T = TypeVar("T") +ProgressRenderer = Callable[[Iterable[T]], Iterator[T]] +BarType = Literal["on", "off", "raw"] + + +def _rich_download_progress_bar( + iterable: Iterable[bytes], + *, + bar_type: BarType, + size: int | None, + initial_progress: int | None = None, +) -> Generator[bytes, None, None]: + assert bar_type == "on", "This should only be used in the default mode." + + if not size: + total = float("inf") + columns: tuple[ProgressColumn, ...] = ( + TextColumn("[progress.description]{task.description}"), + SpinnerColumn("line", speed=1.5), + FileSizeColumn(), + TransferSpeedColumn(), + TimeElapsedColumn(), + ) + else: + total = size + columns = ( + TextColumn("[progress.description]{task.description}"), + BarColumn(), + DownloadColumn(), + TransferSpeedColumn(), + TextColumn("{task.fields[time_description]}"), + TimeRemainingColumn(elapsed_when_finished=True), + ) + + progress = Progress(*columns, refresh_per_second=5) + task_id = progress.add_task( + " " * (get_indentation() + 2), total=total, time_description="eta" + ) + if initial_progress is not None: + progress.update(task_id, advance=initial_progress) + with progress: + for chunk in iterable: + yield chunk + progress.update(task_id, advance=len(chunk)) + progress.update(task_id, time_description="") + + +def _rich_install_progress_bar( + iterable: Iterable[InstallRequirement], *, total: int +) -> Iterator[InstallRequirement]: + columns = ( + TextColumn("{task.fields[indent]}"), + BarColumn(), + MofNCompleteColumn(), + TextColumn("{task.description}"), + ) + console = get_console() + + bar = Progress(*columns, refresh_per_second=6, console=console, transient=True) + # Hiding the progress bar at initialization forces a refresh cycle to occur + # until the bar appears, avoiding very short flashes. + task = bar.add_task("", total=total, indent=" " * get_indentation(), visible=False) + with bar: + for req in iterable: + bar.update(task, description=rf"\[{req.name}]", visible=True) + yield req + bar.advance(task) + + +def _raw_progress_bar( + iterable: Iterable[bytes], + *, + size: int | None, + initial_progress: int | None = None, +) -> Generator[bytes, None, None]: + def write_progress(current: int, total: int) -> None: + sys.stdout.write(f"Progress {current} of {total}\n") + sys.stdout.flush() + + current = initial_progress or 0 + total = size or 0 + rate_limiter = RateLimiter(0.25) + + write_progress(current, total) + for chunk in iterable: + current += len(chunk) + if rate_limiter.ready() or current == total: + write_progress(current, total) + rate_limiter.reset() + yield chunk + + +def get_download_progress_renderer( + *, bar_type: BarType, size: int | None = None, initial_progress: int | None = None +) -> ProgressRenderer[bytes]: + """Get an object that can be used to render the download progress. + + Returns a callable, that takes an iterable to "wrap". + """ + if bar_type == "on": + return functools.partial( + _rich_download_progress_bar, + bar_type=bar_type, + size=size, + initial_progress=initial_progress, + ) + elif bar_type == "raw": + return functools.partial( + _raw_progress_bar, + size=size, + initial_progress=initial_progress, + ) + else: + return iter # no-op, when passed an iterator + + +def get_install_progress_renderer( + *, bar_type: BarType, total: int +) -> ProgressRenderer[InstallRequirement]: + """Get an object that can be used to render the install progress. + Returns a callable, that takes an iterable to "wrap". + """ + if bar_type == "on": + return functools.partial(_rich_install_progress_bar, total=total) + else: + return iter diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/req_command.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/req_command.py new file mode 100644 index 0000000000000000000000000000000000000000..dc1328ff019d3cd6d32c7e4bcae034a237d5e6f1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/req_command.py @@ -0,0 +1,351 @@ +"""Contains the RequirementCommand base class. + +This class is in a separate module so the commands that do not always +need PackageFinder capability don't unnecessarily import the +PackageFinder machinery and all its vendored dependencies, etc. +""" + +from __future__ import annotations + +import logging +from functools import partial +from optparse import Values +from typing import Any + +from pip._internal.build_env import SubprocessBuildEnvironmentInstaller +from pip._internal.cache import WheelCache +from pip._internal.cli import cmdoptions +from pip._internal.cli.index_command import IndexGroupCommand +from pip._internal.cli.index_command import SessionCommandMixin as SessionCommandMixin +from pip._internal.exceptions import CommandError, PreviousBuildDirError +from pip._internal.index.collector import LinkCollector +from pip._internal.index.package_finder import PackageFinder +from pip._internal.models.selection_prefs import SelectionPreferences +from pip._internal.models.target_python import TargetPython +from pip._internal.network.session import PipSession +from pip._internal.operations.build.build_tracker import BuildTracker +from pip._internal.operations.prepare import RequirementPreparer +from pip._internal.req.constructors import ( + install_req_from_editable, + install_req_from_line, + install_req_from_parsed_requirement, + install_req_from_req_string, +) +from pip._internal.req.req_dependency_group import parse_dependency_groups +from pip._internal.req.req_file import parse_requirements +from pip._internal.req.req_install import InstallRequirement +from pip._internal.resolution.base import BaseResolver +from pip._internal.utils.temp_dir import ( + TempDirectory, + TempDirectoryTypeRegistry, + tempdir_kinds, +) + +logger = logging.getLogger(__name__) + + +KEEPABLE_TEMPDIR_TYPES = [ + tempdir_kinds.BUILD_ENV, + tempdir_kinds.EPHEM_WHEEL_CACHE, + tempdir_kinds.REQ_BUILD, +] + + +def with_cleanup(func: Any) -> Any: + """Decorator for common logic related to managing temporary + directories. + """ + + def configure_tempdir_registry(registry: TempDirectoryTypeRegistry) -> None: + for t in KEEPABLE_TEMPDIR_TYPES: + registry.set_delete(t, False) + + def wrapper( + self: RequirementCommand, options: Values, args: list[Any] + ) -> int | None: + assert self.tempdir_registry is not None + if options.no_clean: + configure_tempdir_registry(self.tempdir_registry) + + try: + return func(self, options, args) + except PreviousBuildDirError: + # This kind of conflict can occur when the user passes an explicit + # build directory with a pre-existing folder. In that case we do + # not want to accidentally remove it. + configure_tempdir_registry(self.tempdir_registry) + raise + + return wrapper + + +class RequirementCommand(IndexGroupCommand): + def __init__(self, *args: Any, **kw: Any) -> None: + super().__init__(*args, **kw) + + self.cmd_opts.add_option(cmdoptions.dependency_groups()) + self.cmd_opts.add_option(cmdoptions.no_clean()) + + @staticmethod + def determine_resolver_variant(options: Values) -> str: + """Determines which resolver should be used, based on the given options.""" + if "legacy-resolver" in options.deprecated_features_enabled: + return "legacy" + + return "resolvelib" + + @classmethod + def make_requirement_preparer( + cls, + temp_build_dir: TempDirectory, + options: Values, + build_tracker: BuildTracker, + session: PipSession, + finder: PackageFinder, + use_user_site: bool, + download_dir: str | None = None, + verbosity: int = 0, + ) -> RequirementPreparer: + """ + Create a RequirementPreparer instance for the given parameters. + """ + temp_build_dir_path = temp_build_dir.path + assert temp_build_dir_path is not None + legacy_resolver = False + + resolver_variant = cls.determine_resolver_variant(options) + if resolver_variant == "resolvelib": + lazy_wheel = "fast-deps" in options.features_enabled + if lazy_wheel: + logger.warning( + "pip is using lazily downloaded wheels using HTTP " + "range requests to obtain dependency information. " + "This experimental feature is enabled through " + "--use-feature=fast-deps and it is not ready for " + "production." + ) + else: + legacy_resolver = True + lazy_wheel = False + if "fast-deps" in options.features_enabled: + logger.warning( + "fast-deps has no effect when used with the legacy resolver." + ) + + return RequirementPreparer( + build_dir=temp_build_dir_path, + src_dir=options.src_dir, + download_dir=download_dir, + build_isolation=options.build_isolation, + build_isolation_installer=SubprocessBuildEnvironmentInstaller(finder), + check_build_deps=options.check_build_deps, + build_tracker=build_tracker, + session=session, + progress_bar=options.progress_bar, + finder=finder, + require_hashes=options.require_hashes, + use_user_site=use_user_site, + lazy_wheel=lazy_wheel, + verbosity=verbosity, + legacy_resolver=legacy_resolver, + resume_retries=options.resume_retries, + ) + + @classmethod + def make_resolver( + cls, + preparer: RequirementPreparer, + finder: PackageFinder, + options: Values, + wheel_cache: WheelCache | None = None, + use_user_site: bool = False, + ignore_installed: bool = True, + ignore_requires_python: bool = False, + force_reinstall: bool = False, + upgrade_strategy: str = "to-satisfy-only", + use_pep517: bool | None = None, + py_version_info: tuple[int, ...] | None = None, + ) -> BaseResolver: + """ + Create a Resolver instance for the given parameters. + """ + make_install_req = partial( + install_req_from_req_string, + isolated=options.isolated_mode, + use_pep517=use_pep517, + ) + resolver_variant = cls.determine_resolver_variant(options) + # The long import name and duplicated invocation is needed to convince + # Mypy into correctly typechecking. Otherwise it would complain the + # "Resolver" class being redefined. + if resolver_variant == "resolvelib": + import pip._internal.resolution.resolvelib.resolver + + return pip._internal.resolution.resolvelib.resolver.Resolver( + preparer=preparer, + finder=finder, + wheel_cache=wheel_cache, + make_install_req=make_install_req, + use_user_site=use_user_site, + ignore_dependencies=options.ignore_dependencies, + ignore_installed=ignore_installed, + ignore_requires_python=ignore_requires_python, + force_reinstall=force_reinstall, + upgrade_strategy=upgrade_strategy, + py_version_info=py_version_info, + ) + import pip._internal.resolution.legacy.resolver + + return pip._internal.resolution.legacy.resolver.Resolver( + preparer=preparer, + finder=finder, + wheel_cache=wheel_cache, + make_install_req=make_install_req, + use_user_site=use_user_site, + ignore_dependencies=options.ignore_dependencies, + ignore_installed=ignore_installed, + ignore_requires_python=ignore_requires_python, + force_reinstall=force_reinstall, + upgrade_strategy=upgrade_strategy, + py_version_info=py_version_info, + ) + + def get_requirements( + self, + args: list[str], + options: Values, + finder: PackageFinder, + session: PipSession, + ) -> list[InstallRequirement]: + """ + Parse command-line arguments into the corresponding requirements. + """ + requirements: list[InstallRequirement] = [] + for filename in options.constraints: + for parsed_req in parse_requirements( + filename, + constraint=True, + finder=finder, + options=options, + session=session, + ): + req_to_add = install_req_from_parsed_requirement( + parsed_req, + isolated=options.isolated_mode, + user_supplied=False, + ) + requirements.append(req_to_add) + + for req in args: + req_to_add = install_req_from_line( + req, + comes_from=None, + isolated=options.isolated_mode, + use_pep517=options.use_pep517, + user_supplied=True, + config_settings=getattr(options, "config_settings", None), + ) + requirements.append(req_to_add) + + if options.dependency_groups: + for req in parse_dependency_groups(options.dependency_groups): + req_to_add = install_req_from_req_string( + req, + isolated=options.isolated_mode, + use_pep517=options.use_pep517, + user_supplied=True, + ) + requirements.append(req_to_add) + + for req in options.editables: + req_to_add = install_req_from_editable( + req, + user_supplied=True, + isolated=options.isolated_mode, + use_pep517=options.use_pep517, + config_settings=getattr(options, "config_settings", None), + ) + requirements.append(req_to_add) + + # NOTE: options.require_hashes may be set if --require-hashes is True + for filename in options.requirements: + for parsed_req in parse_requirements( + filename, finder=finder, options=options, session=session + ): + req_to_add = install_req_from_parsed_requirement( + parsed_req, + isolated=options.isolated_mode, + use_pep517=options.use_pep517, + user_supplied=True, + config_settings=( + parsed_req.options.get("config_settings") + if parsed_req.options + else None + ), + ) + requirements.append(req_to_add) + + # If any requirement has hash options, enable hash checking. + if any(req.has_hash_options for req in requirements): + options.require_hashes = True + + if not ( + args + or options.editables + or options.requirements + or options.dependency_groups + ): + opts = {"name": self.name} + if options.find_links: + raise CommandError( + "You must give at least one requirement to {name} " + '(maybe you meant "pip {name} {links}"?)'.format( + **dict(opts, links=" ".join(options.find_links)) + ) + ) + else: + raise CommandError( + "You must give at least one requirement to {name} " + '(see "pip help {name}")'.format(**opts) + ) + + return requirements + + @staticmethod + def trace_basic_info(finder: PackageFinder) -> None: + """ + Trace basic information about the provided objects. + """ + # Display where finder is looking for packages + search_scope = finder.search_scope + locations = search_scope.get_formatted_locations() + if locations: + logger.info(locations) + + def _build_package_finder( + self, + options: Values, + session: PipSession, + target_python: TargetPython | None = None, + ignore_requires_python: bool | None = None, + ) -> PackageFinder: + """ + Create a package finder appropriate to this requirement command. + + :param ignore_requires_python: Whether to ignore incompatible + "Requires-Python" values in links. Defaults to False. + """ + link_collector = LinkCollector.create(session, options=options) + selection_prefs = SelectionPreferences( + allow_yanked=True, + format_control=options.format_control, + allow_all_prereleases=options.pre, + prefer_binary=options.prefer_binary, + ignore_requires_python=ignore_requires_python, + ) + + return PackageFinder.create( + link_collector=link_collector, + selection_prefs=selection_prefs, + target_python=target_python, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/spinners.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/spinners.py new file mode 100644 index 0000000000000000000000000000000000000000..58aad2853ddcb3ea1fb086d8b811ed2cdab04fb4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/spinners.py @@ -0,0 +1,235 @@ +from __future__ import annotations + +import contextlib +import itertools +import logging +import sys +import time +from collections.abc import Generator +from typing import IO, Final + +from pip._vendor.rich.console import ( + Console, + ConsoleOptions, + RenderableType, + RenderResult, +) +from pip._vendor.rich.live import Live +from pip._vendor.rich.measure import Measurement +from pip._vendor.rich.text import Text + +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.logging import get_console, get_indentation + +logger = logging.getLogger(__name__) + +SPINNER_CHARS: Final = r"-\|/" +SPINS_PER_SECOND: Final = 8 + + +class SpinnerInterface: + def spin(self) -> None: + raise NotImplementedError() + + def finish(self, final_status: str) -> None: + raise NotImplementedError() + + +class InteractiveSpinner(SpinnerInterface): + def __init__( + self, + message: str, + file: IO[str] | None = None, + spin_chars: str = SPINNER_CHARS, + # Empirically, 8 updates/second looks nice + min_update_interval_seconds: float = 1 / SPINS_PER_SECOND, + ): + self._message = message + if file is None: + file = sys.stdout + self._file = file + self._rate_limiter = RateLimiter(min_update_interval_seconds) + self._finished = False + + self._spin_cycle = itertools.cycle(spin_chars) + + self._file.write(" " * get_indentation() + self._message + " ... ") + self._width = 0 + + def _write(self, status: str) -> None: + assert not self._finished + # Erase what we wrote before by backspacing to the beginning, writing + # spaces to overwrite the old text, and then backspacing again + backup = "\b" * self._width + self._file.write(backup + " " * self._width + backup) + # Now we have a blank slate to add our status + self._file.write(status) + self._width = len(status) + self._file.flush() + self._rate_limiter.reset() + + def spin(self) -> None: + if self._finished: + return + if not self._rate_limiter.ready(): + return + self._write(next(self._spin_cycle)) + + def finish(self, final_status: str) -> None: + if self._finished: + return + self._write(final_status) + self._file.write("\n") + self._file.flush() + self._finished = True + + +# Used for dumb terminals, non-interactive installs (no tty), etc. +# We still print updates occasionally (once every 60 seconds by default) to +# act as a keep-alive for systems like Travis-CI that take lack-of-output as +# an indication that a task has frozen. +class NonInteractiveSpinner(SpinnerInterface): + def __init__(self, message: str, min_update_interval_seconds: float = 60.0) -> None: + self._message = message + self._finished = False + self._rate_limiter = RateLimiter(min_update_interval_seconds) + self._update("started") + + def _update(self, status: str) -> None: + assert not self._finished + self._rate_limiter.reset() + logger.info("%s: %s", self._message, status) + + def spin(self) -> None: + if self._finished: + return + if not self._rate_limiter.ready(): + return + self._update("still running...") + + def finish(self, final_status: str) -> None: + if self._finished: + return + self._update(f"finished with status '{final_status}'") + self._finished = True + + +class RateLimiter: + def __init__(self, min_update_interval_seconds: float) -> None: + self._min_update_interval_seconds = min_update_interval_seconds + self._last_update: float = 0 + + def ready(self) -> bool: + now = time.time() + delta = now - self._last_update + return delta >= self._min_update_interval_seconds + + def reset(self) -> None: + self._last_update = time.time() + + +@contextlib.contextmanager +def open_spinner(message: str) -> Generator[SpinnerInterface, None, None]: + # Interactive spinner goes directly to sys.stdout rather than being routed + # through the logging system, but it acts like it has level INFO, + # i.e. it's only displayed if we're at level INFO or better. + # Non-interactive spinner goes through the logging system, so it is always + # in sync with logging configuration. + if sys.stdout.isatty() and logger.getEffectiveLevel() <= logging.INFO: + spinner: SpinnerInterface = InteractiveSpinner(message) + else: + spinner = NonInteractiveSpinner(message) + try: + with hidden_cursor(sys.stdout): + yield spinner + except KeyboardInterrupt: + spinner.finish("canceled") + raise + except Exception: + spinner.finish("error") + raise + else: + spinner.finish("done") + + +class _PipRichSpinner: + """ + Custom rich spinner that matches the style of the legacy spinners. + + (*) Updates will be handled in a background thread by a rich live panel + which will call render() automatically at the appropriate time. + """ + + def __init__(self, label: str) -> None: + self.label = label + self._spin_cycle = itertools.cycle(SPINNER_CHARS) + self._spinner_text = "" + self._finished = False + self._indent = get_indentation() * " " + + def __rich_console__( + self, console: Console, options: ConsoleOptions + ) -> RenderResult: + yield self.render() + + def __rich_measure__( + self, console: Console, options: ConsoleOptions + ) -> Measurement: + text = self.render() + return Measurement.get(console, options, text) + + def render(self) -> RenderableType: + if not self._finished: + self._spinner_text = next(self._spin_cycle) + + return Text.assemble(self._indent, self.label, " ... ", self._spinner_text) + + def finish(self, status: str) -> None: + """Stop spinning and set a final status message.""" + self._spinner_text = status + self._finished = True + + +@contextlib.contextmanager +def open_rich_spinner(label: str, console: Console | None = None) -> Generator[None]: + if not logger.isEnabledFor(logging.INFO): + # Don't show spinner if --quiet is given. + yield + return + + console = console or get_console() + spinner = _PipRichSpinner(label) + with Live(spinner, refresh_per_second=SPINS_PER_SECOND, console=console): + try: + yield + except KeyboardInterrupt: + spinner.finish("canceled") + raise + except Exception: + spinner.finish("error") + raise + else: + spinner.finish("done") + + +HIDE_CURSOR = "\x1b[?25l" +SHOW_CURSOR = "\x1b[?25h" + + +@contextlib.contextmanager +def hidden_cursor(file: IO[str]) -> Generator[None, None, None]: + # The Windows terminal does not support the hide/show cursor ANSI codes, + # even via colorama. So don't even try. + if WINDOWS: + yield + # We don't want to clutter the output with control characters if we're + # writing to a file, or if the user is running with --quiet. + # See https://github.com/pypa/pip/issues/3418 + elif not file.isatty() or logger.getEffectiveLevel() > logging.INFO: + yield + else: + file.write(HIDE_CURSOR) + try: + yield + finally: + file.write(SHOW_CURSOR) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/status_codes.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/status_codes.py new file mode 100644 index 0000000000000000000000000000000000000000..5e29502cddfa9a9887a93399ab4193fb75dfe605 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/cli/status_codes.py @@ -0,0 +1,6 @@ +SUCCESS = 0 +ERROR = 1 +UNKNOWN_ERROR = 2 +VIRTUALENV_NOT_FOUND = 3 +PREVIOUS_BUILD_DIR_ERROR = 4 +NO_MATCHES_FOUND = 23 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..bedeca9e9508859623b95ad104840578834c15b2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__init__.py @@ -0,0 +1,139 @@ +""" +Package containing all pip commands +""" + +from __future__ import annotations + +import importlib +from collections import namedtuple +from typing import Any + +from pip._internal.cli.base_command import Command + +CommandInfo = namedtuple("CommandInfo", "module_path, class_name, summary") + +# This dictionary does a bunch of heavy lifting for help output: +# - Enables avoiding additional (costly) imports for presenting `--help`. +# - The ordering matters for help display. +# +# Even though the module path starts with the same "pip._internal.commands" +# prefix, the full path makes testing easier (specifically when modifying +# `commands_dict` in test setup / teardown). +commands_dict: dict[str, CommandInfo] = { + "install": CommandInfo( + "pip._internal.commands.install", + "InstallCommand", + "Install packages.", + ), + "lock": CommandInfo( + "pip._internal.commands.lock", + "LockCommand", + "Generate a lock file.", + ), + "download": CommandInfo( + "pip._internal.commands.download", + "DownloadCommand", + "Download packages.", + ), + "uninstall": CommandInfo( + "pip._internal.commands.uninstall", + "UninstallCommand", + "Uninstall packages.", + ), + "freeze": CommandInfo( + "pip._internal.commands.freeze", + "FreezeCommand", + "Output installed packages in requirements format.", + ), + "inspect": CommandInfo( + "pip._internal.commands.inspect", + "InspectCommand", + "Inspect the python environment.", + ), + "list": CommandInfo( + "pip._internal.commands.list", + "ListCommand", + "List installed packages.", + ), + "show": CommandInfo( + "pip._internal.commands.show", + "ShowCommand", + "Show information about installed packages.", + ), + "check": CommandInfo( + "pip._internal.commands.check", + "CheckCommand", + "Verify installed packages have compatible dependencies.", + ), + "config": CommandInfo( + "pip._internal.commands.configuration", + "ConfigurationCommand", + "Manage local and global configuration.", + ), + "search": CommandInfo( + "pip._internal.commands.search", + "SearchCommand", + "Search PyPI for packages.", + ), + "cache": CommandInfo( + "pip._internal.commands.cache", + "CacheCommand", + "Inspect and manage pip's wheel cache.", + ), + "index": CommandInfo( + "pip._internal.commands.index", + "IndexCommand", + "Inspect information available from package indexes.", + ), + "wheel": CommandInfo( + "pip._internal.commands.wheel", + "WheelCommand", + "Build wheels from your requirements.", + ), + "hash": CommandInfo( + "pip._internal.commands.hash", + "HashCommand", + "Compute hashes of package archives.", + ), + "completion": CommandInfo( + "pip._internal.commands.completion", + "CompletionCommand", + "A helper command used for command completion.", + ), + "debug": CommandInfo( + "pip._internal.commands.debug", + "DebugCommand", + "Show information useful for debugging.", + ), + "help": CommandInfo( + "pip._internal.commands.help", + "HelpCommand", + "Show help for commands.", + ), +} + + +def create_command(name: str, **kwargs: Any) -> Command: + """ + Create an instance of the Command class with the given name. + """ + module_path, class_name, summary = commands_dict[name] + module = importlib.import_module(module_path) + command_class = getattr(module, class_name) + command = command_class(name=name, summary=summary, **kwargs) + + return command + + +def get_similar_commands(name: str) -> str | None: + """Command name auto-correct.""" + from difflib import get_close_matches + + name = name.lower() + + close_commands = get_close_matches(name, commands_dict.keys()) + + if close_commands: + return close_commands[0] + else: + return None diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..eb61ebc9ab30796426c158e38dd610db7e190770 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b37fa80c41a518429df03e385a8f69b6c9328f7d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..eba76af443def210bb3d0bbb28e06cdbcb95631d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..08d125e417e88f6e83da32cdb07700953312b82f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..caf61d0cd78043c2f6f527535262e998832b14fb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..62eb7bd645d39646ec216b877e5ede043bac1a87 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a8d83588c3a6e4be0a658bd4ed0e02e2f21bc357 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5558dbeaa316f2502ff525047ebf3835beaa56e8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d8919d8cbb6283194cfc2df8fbd6d344a5fdb033 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a054d0209ca6137d4fb0ad95a32b0e03d4fabe30 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d78d4fbe4e25184ddb74fe2463f10973d565c5e3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..38e6f2b6611fa655b621c64fffd14abf4a28a002 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..60c0885d659632e3c78213fe8598d9c3d3dcb4c8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6e3ec28cf6386be9d24ba577df962bcf96009233 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/lock.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/lock.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b50e5717baea05d45507b7ba4cabfa2435c1b46d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/lock.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6b8e48c6f4b8f9d11b0ca7614aa1d07a6aa4b318 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..42adebf13bbf1f866ca0de5b3592b3a74038121b Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1ce40e359ad98f577f4970d171d5a51e75649596 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..95858e96b597cffec3030ee58f5183cd8033e974 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/cache.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/cache.py new file mode 100644 index 0000000000000000000000000000000000000000..c8e7aede687be45000ad8e9c09e6f52af9d1316a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/cache.py @@ -0,0 +1,231 @@ +import os +import textwrap +from optparse import Values +from typing import Callable + +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.exceptions import CommandError, PipError +from pip._internal.utils import filesystem +from pip._internal.utils.logging import getLogger +from pip._internal.utils.misc import format_size + +logger = getLogger(__name__) + + +class CacheCommand(Command): + """ + Inspect and manage pip's wheel cache. + + Subcommands: + + - dir: Show the cache directory. + - info: Show information about the cache. + - list: List filenames of packages stored in the cache. + - remove: Remove one or more package from the cache. + - purge: Remove all items from the cache. + + ```` can be a glob expression or a package name. + """ + + ignore_require_venv = True + usage = """ + %prog dir + %prog info + %prog list [] [--format=[human, abspath]] + %prog remove + %prog purge + """ + + def add_options(self) -> None: + self.cmd_opts.add_option( + "--format", + action="store", + dest="list_format", + default="human", + choices=("human", "abspath"), + help="Select the output format among: human (default) or abspath", + ) + + self.parser.insert_option_group(0, self.cmd_opts) + + def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]: + return { + "dir": self.get_cache_dir, + "info": self.get_cache_info, + "list": self.list_cache_items, + "remove": self.remove_cache_items, + "purge": self.purge_cache, + } + + def run(self, options: Values, args: list[str]) -> int: + handler_map = self.handler_map() + + if not options.cache_dir: + logger.error("pip cache commands can not function since cache is disabled.") + return ERROR + + # Determine action + if not args or args[0] not in handler_map: + logger.error( + "Need an action (%s) to perform.", + ", ".join(sorted(handler_map)), + ) + return ERROR + + action = args[0] + + # Error handling happens here, not in the action-handlers. + try: + handler_map[action](options, args[1:]) + except PipError as e: + logger.error(e.args[0]) + return ERROR + + return SUCCESS + + def get_cache_dir(self, options: Values, args: list[str]) -> None: + if args: + raise CommandError("Too many arguments") + + logger.info(options.cache_dir) + + def get_cache_info(self, options: Values, args: list[str]) -> None: + if args: + raise CommandError("Too many arguments") + + num_http_files = len(self._find_http_files(options)) + num_packages = len(self._find_wheels(options, "*")) + + http_cache_location = self._cache_dir(options, "http-v2") + old_http_cache_location = self._cache_dir(options, "http") + wheels_cache_location = self._cache_dir(options, "wheels") + http_cache_size = filesystem.format_size( + filesystem.directory_size(http_cache_location) + + filesystem.directory_size(old_http_cache_location) + ) + wheels_cache_size = filesystem.format_directory_size(wheels_cache_location) + + message = ( + textwrap.dedent( + """ + Package index page cache location (pip v23.3+): {http_cache_location} + Package index page cache location (older pips): {old_http_cache_location} + Package index page cache size: {http_cache_size} + Number of HTTP files: {num_http_files} + Locally built wheels location: {wheels_cache_location} + Locally built wheels size: {wheels_cache_size} + Number of locally built wheels: {package_count} + """ # noqa: E501 + ) + .format( + http_cache_location=http_cache_location, + old_http_cache_location=old_http_cache_location, + http_cache_size=http_cache_size, + num_http_files=num_http_files, + wheels_cache_location=wheels_cache_location, + package_count=num_packages, + wheels_cache_size=wheels_cache_size, + ) + .strip() + ) + + logger.info(message) + + def list_cache_items(self, options: Values, args: list[str]) -> None: + if len(args) > 1: + raise CommandError("Too many arguments") + + if args: + pattern = args[0] + else: + pattern = "*" + + files = self._find_wheels(options, pattern) + if options.list_format == "human": + self.format_for_human(files) + else: + self.format_for_abspath(files) + + def format_for_human(self, files: list[str]) -> None: + if not files: + logger.info("No locally built wheels cached.") + return + + results = [] + for filename in files: + wheel = os.path.basename(filename) + size = filesystem.format_file_size(filename) + results.append(f" - {wheel} ({size})") + logger.info("Cache contents:\n") + logger.info("\n".join(sorted(results))) + + def format_for_abspath(self, files: list[str]) -> None: + if files: + logger.info("\n".join(sorted(files))) + + def remove_cache_items(self, options: Values, args: list[str]) -> None: + if len(args) > 1: + raise CommandError("Too many arguments") + + if not args: + raise CommandError("Please provide a pattern") + + files = self._find_wheels(options, args[0]) + + no_matching_msg = "No matching packages" + if args[0] == "*": + # Only fetch http files if no specific pattern given + files += self._find_http_files(options) + else: + # Add the pattern to the log message + no_matching_msg += f' for pattern "{args[0]}"' + + if not files: + logger.warning(no_matching_msg) + + bytes_removed = 0 + for filename in files: + bytes_removed += os.stat(filename).st_size + os.unlink(filename) + logger.verbose("Removed %s", filename) + logger.info("Files removed: %s (%s)", len(files), format_size(bytes_removed)) + + def purge_cache(self, options: Values, args: list[str]) -> None: + if args: + raise CommandError("Too many arguments") + + return self.remove_cache_items(options, ["*"]) + + def _cache_dir(self, options: Values, subdir: str) -> str: + return os.path.join(options.cache_dir, subdir) + + def _find_http_files(self, options: Values) -> list[str]: + old_http_dir = self._cache_dir(options, "http") + new_http_dir = self._cache_dir(options, "http-v2") + return filesystem.find_files(old_http_dir, "*") + filesystem.find_files( + new_http_dir, "*" + ) + + def _find_wheels(self, options: Values, pattern: str) -> list[str]: + wheel_dir = self._cache_dir(options, "wheels") + + # The wheel filename format, as specified in PEP 427, is: + # {distribution}-{version}(-{build})?-{python}-{abi}-{platform}.whl + # + # Additionally, non-alphanumeric values in the distribution are + # normalized to underscores (_), meaning hyphens can never occur + # before `-{version}`. + # + # Given that information: + # - If the pattern we're given contains a hyphen (-), the user is + # providing at least the version. Thus, we can just append `*.whl` + # to match the rest of it. + # - If the pattern we're given doesn't contain a hyphen (-), the + # user is only providing the name. Thus, we append `-*.whl` to + # match the hyphen before the version, followed by anything else. + # + # PEP 427: https://www.python.org/dev/peps/pep-0427/ + pattern = pattern + ("*.whl" if "-" in pattern else "-*.whl") + + return filesystem.find_files(wheel_dir, pattern) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/check.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/check.py new file mode 100644 index 0000000000000000000000000000000000000000..516757eead7ad90f375cc3b9117328b73e13ee16 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/check.py @@ -0,0 +1,66 @@ +import logging +from optparse import Values + +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.metadata import get_default_environment +from pip._internal.operations.check import ( + check_package_set, + check_unsupported, + create_package_set_from_installed, +) +from pip._internal.utils.compatibility_tags import get_supported +from pip._internal.utils.misc import write_output + +logger = logging.getLogger(__name__) + + +class CheckCommand(Command): + """Verify installed packages have compatible dependencies.""" + + ignore_require_venv = True + usage = """ + %prog [options]""" + + def run(self, options: Values, args: list[str]) -> int: + package_set, parsing_probs = create_package_set_from_installed() + missing, conflicting = check_package_set(package_set) + unsupported = list( + check_unsupported( + get_default_environment().iter_installed_distributions(), + get_supported(), + ) + ) + + for project_name in missing: + version = package_set[project_name].version + for dependency in missing[project_name]: + write_output( + "%s %s requires %s, which is not installed.", + project_name, + version, + dependency[0], + ) + + for project_name in conflicting: + version = package_set[project_name].version + for dep_name, dep_version, req in conflicting[project_name]: + write_output( + "%s %s has requirement %s, but you have %s %s.", + project_name, + version, + req, + dep_name, + dep_version, + ) + for package in unsupported: + write_output( + "%s %s is not supported on this platform", + package.raw_name, + package.version, + ) + if missing or conflicting or parsing_probs or unsupported: + return ERROR + else: + write_output("No broken requirements found.") + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/completion.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/completion.py new file mode 100644 index 0000000000000000000000000000000000000000..6d9597bdea0d8f2074c12b5f6a6f267af3e182e2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/completion.py @@ -0,0 +1,135 @@ +import sys +import textwrap +from optparse import Values + +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.utils.misc import get_prog + +BASE_COMPLETION = """ +# pip {shell} completion start{script}# pip {shell} completion end +""" + +COMPLETION_SCRIPTS = { + "bash": """ + _pip_completion() + {{ + COMPREPLY=( $( COMP_WORDS="${{COMP_WORDS[*]}}" \\ + COMP_CWORD=$COMP_CWORD \\ + PIP_AUTO_COMPLETE=1 $1 2>/dev/null ) ) + }} + complete -o default -F _pip_completion {prog} + """, + "zsh": """ + #compdef -P pip[0-9.]# + __pip() {{ + compadd $( COMP_WORDS="$words[*]" \\ + COMP_CWORD=$((CURRENT-1)) \\ + PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null ) + }} + if [[ $zsh_eval_context[-1] == loadautofunc ]]; then + # autoload from fpath, call function directly + __pip "$@" + else + # eval/source/. command, register function for later + compdef __pip -P 'pip[0-9.]#' + fi + """, + "fish": """ + function __fish_complete_pip + set -lx COMP_WORDS \\ + (commandline --current-process --tokenize --cut-at-cursor) \\ + (commandline --current-token --cut-at-cursor) + set -lx COMP_CWORD (math (count $COMP_WORDS) - 1) + set -lx PIP_AUTO_COMPLETE 1 + set -l completions + if string match -q '2.*' $version + set completions (eval $COMP_WORDS[1]) + else + set completions ($COMP_WORDS[1]) + end + string split \\ -- $completions + end + complete -fa "(__fish_complete_pip)" -c {prog} + """, + "powershell": """ + if ((Test-Path Function:\\TabExpansion) -and -not ` + (Test-Path Function:\\_pip_completeBackup)) {{ + Rename-Item Function:\\TabExpansion _pip_completeBackup + }} + function TabExpansion($line, $lastWord) {{ + $lastBlock = [regex]::Split($line, '[|;]')[-1].TrimStart() + if ($lastBlock.StartsWith("{prog} ")) {{ + $Env:COMP_WORDS=$lastBlock + $Env:COMP_CWORD=$lastBlock.Split().Length - 1 + $Env:PIP_AUTO_COMPLETE=1 + (& {prog}).Split() + Remove-Item Env:COMP_WORDS + Remove-Item Env:COMP_CWORD + Remove-Item Env:PIP_AUTO_COMPLETE + }} + elseif (Test-Path Function:\\_pip_completeBackup) {{ + # Fall back on existing tab expansion + _pip_completeBackup $line $lastWord + }} + }} + """, +} + + +class CompletionCommand(Command): + """A helper command to be used for command completion.""" + + ignore_require_venv = True + + def add_options(self) -> None: + self.cmd_opts.add_option( + "--bash", + "-b", + action="store_const", + const="bash", + dest="shell", + help="Emit completion code for bash", + ) + self.cmd_opts.add_option( + "--zsh", + "-z", + action="store_const", + const="zsh", + dest="shell", + help="Emit completion code for zsh", + ) + self.cmd_opts.add_option( + "--fish", + "-f", + action="store_const", + const="fish", + dest="shell", + help="Emit completion code for fish", + ) + self.cmd_opts.add_option( + "--powershell", + "-p", + action="store_const", + const="powershell", + dest="shell", + help="Emit completion code for powershell", + ) + + self.parser.insert_option_group(0, self.cmd_opts) + + def run(self, options: Values, args: list[str]) -> int: + """Prints the completion code of the given shell""" + shells = COMPLETION_SCRIPTS.keys() + shell_options = ["--" + shell for shell in sorted(shells)] + if options.shell in shells: + script = textwrap.dedent( + COMPLETION_SCRIPTS.get(options.shell, "").format(prog=get_prog()) + ) + print(BASE_COMPLETION.format(script=script, shell=options.shell)) + return SUCCESS + else: + sys.stderr.write( + "ERROR: You must pass {}\n".format(" or ".join(shell_options)) + ) + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/configuration.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/configuration.py new file mode 100644 index 0000000000000000000000000000000000000000..7bcea0434604c5e65c94673b2485169b39f5bf91 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/configuration.py @@ -0,0 +1,288 @@ +from __future__ import annotations + +import logging +import os +import subprocess +from optparse import Values +from typing import Any, Callable + +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.configuration import ( + Configuration, + Kind, + get_configuration_files, + kinds, +) +from pip._internal.exceptions import PipError +from pip._internal.utils.logging import indent_log +from pip._internal.utils.misc import get_prog, write_output + +logger = logging.getLogger(__name__) + + +class ConfigurationCommand(Command): + """ + Manage local and global configuration. + + Subcommands: + + - list: List the active configuration (or from the file specified) + - edit: Edit the configuration file in an editor + - get: Get the value associated with command.option + - set: Set the command.option=value + - unset: Unset the value associated with command.option + - debug: List the configuration files and values defined under them + + Configuration keys should be dot separated command and option name, + with the special prefix "global" affecting any command. For example, + "pip config set global.index-url https://example.org/" would configure + the index url for all commands, but "pip config set download.timeout 10" + would configure a 10 second timeout only for "pip download" commands. + + If none of --user, --global and --site are passed, a virtual + environment configuration file is used if one is active and the file + exists. Otherwise, all modifications happen to the user file by + default. + """ + + ignore_require_venv = True + usage = """ + %prog [] list + %prog [] [--editor ] edit + + %prog [] get command.option + %prog [] set command.option value + %prog [] unset command.option + %prog [] debug + """ + + def add_options(self) -> None: + self.cmd_opts.add_option( + "--editor", + dest="editor", + action="store", + default=None, + help=( + "Editor to use to edit the file. Uses VISUAL or EDITOR " + "environment variables if not provided." + ), + ) + + self.cmd_opts.add_option( + "--global", + dest="global_file", + action="store_true", + default=False, + help="Use the system-wide configuration file only", + ) + + self.cmd_opts.add_option( + "--user", + dest="user_file", + action="store_true", + default=False, + help="Use the user configuration file only", + ) + + self.cmd_opts.add_option( + "--site", + dest="site_file", + action="store_true", + default=False, + help="Use the current environment configuration file only", + ) + + self.parser.insert_option_group(0, self.cmd_opts) + + def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]: + return { + "list": self.list_values, + "edit": self.open_in_editor, + "get": self.get_name, + "set": self.set_name_value, + "unset": self.unset_name, + "debug": self.list_config_values, + } + + def run(self, options: Values, args: list[str]) -> int: + handler_map = self.handler_map() + + # Determine action + if not args or args[0] not in handler_map: + logger.error( + "Need an action (%s) to perform.", + ", ".join(sorted(handler_map)), + ) + return ERROR + + action = args[0] + + # Determine which configuration files are to be loaded + # Depends on whether the command is modifying. + try: + load_only = self._determine_file( + options, need_value=(action in ["get", "set", "unset", "edit"]) + ) + except PipError as e: + logger.error(e.args[0]) + return ERROR + + # Load a new configuration + self.configuration = Configuration( + isolated=options.isolated_mode, load_only=load_only + ) + self.configuration.load() + + # Error handling happens here, not in the action-handlers. + try: + handler_map[action](options, args[1:]) + except PipError as e: + logger.error(e.args[0]) + return ERROR + + return SUCCESS + + def _determine_file(self, options: Values, need_value: bool) -> Kind | None: + file_options = [ + key + for key, value in ( + (kinds.USER, options.user_file), + (kinds.GLOBAL, options.global_file), + (kinds.SITE, options.site_file), + ) + if value + ] + + if not file_options: + if not need_value: + return None + # Default to user, unless there's a site file. + elif any( + os.path.exists(site_config_file) + for site_config_file in get_configuration_files()[kinds.SITE] + ): + return kinds.SITE + else: + return kinds.USER + elif len(file_options) == 1: + return file_options[0] + + raise PipError( + "Need exactly one file to operate upon " + "(--user, --site, --global) to perform." + ) + + def list_values(self, options: Values, args: list[str]) -> None: + self._get_n_args(args, "list", n=0) + + for key, value in sorted(self.configuration.items()): + for key, value in sorted(value.items()): + write_output("%s=%r", key, value) + + def get_name(self, options: Values, args: list[str]) -> None: + key = self._get_n_args(args, "get [name]", n=1) + value = self.configuration.get_value(key) + + write_output("%s", value) + + def set_name_value(self, options: Values, args: list[str]) -> None: + key, value = self._get_n_args(args, "set [name] [value]", n=2) + self.configuration.set_value(key, value) + + self._save_configuration() + + def unset_name(self, options: Values, args: list[str]) -> None: + key = self._get_n_args(args, "unset [name]", n=1) + self.configuration.unset_value(key) + + self._save_configuration() + + def list_config_values(self, options: Values, args: list[str]) -> None: + """List config key-value pairs across different config files""" + self._get_n_args(args, "debug", n=0) + + self.print_env_var_values() + # Iterate over config files and print if they exist, and the + # key-value pairs present in them if they do + for variant, files in sorted(self.configuration.iter_config_files()): + write_output("%s:", variant) + for fname in files: + with indent_log(): + file_exists = os.path.exists(fname) + write_output("%s, exists: %r", fname, file_exists) + if file_exists: + self.print_config_file_values(variant, fname) + + def print_config_file_values(self, variant: Kind, fname: str) -> None: + """Get key-value pairs from the file of a variant""" + for name, value in self.configuration.get_values_in_config(variant).items(): + with indent_log(): + if name == fname: + for confname, confvalue in value.items(): + write_output("%s: %s", confname, confvalue) + + def print_env_var_values(self) -> None: + """Get key-values pairs present as environment variables""" + write_output("%s:", "env_var") + with indent_log(): + for key, value in sorted(self.configuration.get_environ_vars()): + env_var = f"PIP_{key.upper()}" + write_output("%s=%r", env_var, value) + + def open_in_editor(self, options: Values, args: list[str]) -> None: + editor = self._determine_editor(options) + + fname = self.configuration.get_file_to_edit() + if fname is None: + raise PipError("Could not determine appropriate file.") + elif '"' in fname: + # This shouldn't happen, unless we see a username like that. + # If that happens, we'd appreciate a pull request fixing this. + raise PipError( + f'Can not open an editor for a file name containing "\n{fname}' + ) + + try: + subprocess.check_call(f'{editor} "{fname}"', shell=True) + except FileNotFoundError as e: + if not e.filename: + e.filename = editor + raise + except subprocess.CalledProcessError as e: + raise PipError(f"Editor Subprocess exited with exit code {e.returncode}") + + def _get_n_args(self, args: list[str], example: str, n: int) -> Any: + """Helper to make sure the command got the right number of arguments""" + if len(args) != n: + msg = ( + f"Got unexpected number of arguments, expected {n}. " + f'(example: "{get_prog()} config {example}")' + ) + raise PipError(msg) + + if n == 1: + return args[0] + else: + return args + + def _save_configuration(self) -> None: + # We successfully ran a modifying command. Need to save the + # configuration. + try: + self.configuration.save() + except Exception: + logger.exception( + "Unable to save configuration. Please report this as a bug." + ) + raise PipError("Internal Error.") + + def _determine_editor(self, options: Values) -> str: + if options.editor is not None: + return options.editor + elif "VISUAL" in os.environ: + return os.environ["VISUAL"] + elif "EDITOR" in os.environ: + return os.environ["EDITOR"] + else: + raise PipError("Could not determine editor to use.") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/debug.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/debug.py new file mode 100644 index 0000000000000000000000000000000000000000..0e187e79c283bed9de3aaaa3f9e1275735f75cf1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/debug.py @@ -0,0 +1,203 @@ +from __future__ import annotations + +import locale +import logging +import os +import sys +from optparse import Values +from types import ModuleType +from typing import Any + +import pip._vendor +from pip._vendor.certifi import where +from pip._vendor.packaging.version import parse as parse_version + +from pip._internal.cli import cmdoptions +from pip._internal.cli.base_command import Command +from pip._internal.cli.cmdoptions import make_target_python +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.configuration import Configuration +from pip._internal.metadata import get_environment +from pip._internal.utils.compat import open_text_resource +from pip._internal.utils.logging import indent_log +from pip._internal.utils.misc import get_pip_version + +logger = logging.getLogger(__name__) + + +def show_value(name: str, value: Any) -> None: + logger.info("%s: %s", name, value) + + +def show_sys_implementation() -> None: + logger.info("sys.implementation:") + implementation_name = sys.implementation.name + with indent_log(): + show_value("name", implementation_name) + + +def create_vendor_txt_map() -> dict[str, str]: + with open_text_resource("pip._vendor", "vendor.txt") as f: + # Purge non version specifying lines. + # Also, remove any space prefix or suffixes (including comments). + lines = [ + line.strip().split(" ", 1)[0] for line in f.readlines() if "==" in line + ] + + # Transform into "module" -> version dict. + return dict(line.split("==", 1) for line in lines) + + +def get_module_from_module_name(module_name: str) -> ModuleType | None: + # Module name can be uppercase in vendor.txt for some reason... + module_name = module_name.lower().replace("-", "_") + # PATCH: setuptools is actually only pkg_resources. + if module_name == "setuptools": + module_name = "pkg_resources" + + try: + __import__(f"pip._vendor.{module_name}", globals(), locals(), level=0) + return getattr(pip._vendor, module_name) + except ImportError: + # We allow 'truststore' to fail to import due + # to being unavailable on Python 3.9 and earlier. + if module_name == "truststore" and sys.version_info < (3, 10): + return None + raise + + +def get_vendor_version_from_module(module_name: str) -> str | None: + module = get_module_from_module_name(module_name) + version = getattr(module, "__version__", None) + + if module and not version: + # Try to find version in debundled module info. + assert module.__file__ is not None + env = get_environment([os.path.dirname(module.__file__)]) + dist = env.get_distribution(module_name) + if dist: + version = str(dist.version) + + return version + + +def show_actual_vendor_versions(vendor_txt_versions: dict[str, str]) -> None: + """Log the actual version and print extra info if there is + a conflict or if the actual version could not be imported. + """ + for module_name, expected_version in vendor_txt_versions.items(): + extra_message = "" + actual_version = get_vendor_version_from_module(module_name) + if not actual_version: + extra_message = ( + " (Unable to locate actual module version, using" + " vendor.txt specified version)" + ) + actual_version = expected_version + elif parse_version(actual_version) != parse_version(expected_version): + extra_message = ( + " (CONFLICT: vendor.txt suggests version should" + f" be {expected_version})" + ) + logger.info("%s==%s%s", module_name, actual_version, extra_message) + + +def show_vendor_versions() -> None: + logger.info("vendored library versions:") + + vendor_txt_versions = create_vendor_txt_map() + with indent_log(): + show_actual_vendor_versions(vendor_txt_versions) + + +def show_tags(options: Values) -> None: + tag_limit = 10 + + target_python = make_target_python(options) + tags = target_python.get_sorted_tags() + + # Display the target options that were explicitly provided. + formatted_target = target_python.format_given() + suffix = "" + if formatted_target: + suffix = f" (target: {formatted_target})" + + msg = f"Compatible tags: {len(tags)}{suffix}" + logger.info(msg) + + if options.verbose < 1 and len(tags) > tag_limit: + tags_limited = True + tags = tags[:tag_limit] + else: + tags_limited = False + + with indent_log(): + for tag in tags: + logger.info(str(tag)) + + if tags_limited: + msg = f"...\n[First {tag_limit} tags shown. Pass --verbose to show all.]" + logger.info(msg) + + +def ca_bundle_info(config: Configuration) -> str: + levels = {key.split(".", 1)[0] for key, _ in config.items()} + if not levels: + return "Not specified" + + levels_that_override_global = ["install", "wheel", "download"] + global_overriding_level = [ + level for level in levels if level in levels_that_override_global + ] + if not global_overriding_level: + return "global" + + if "global" in levels: + levels.remove("global") + return ", ".join(levels) + + +class DebugCommand(Command): + """ + Display debug information. + """ + + usage = """ + %prog """ + ignore_require_venv = True + + def add_options(self) -> None: + cmdoptions.add_target_python_options(self.cmd_opts) + self.parser.insert_option_group(0, self.cmd_opts) + self.parser.config.load() + + def run(self, options: Values, args: list[str]) -> int: + logger.warning( + "This command is only meant for debugging. " + "Do not use this with automation for parsing and getting these " + "details, since the output and options of this command may " + "change without notice." + ) + show_value("pip version", get_pip_version()) + show_value("sys.version", sys.version) + show_value("sys.executable", sys.executable) + show_value("sys.getdefaultencoding", sys.getdefaultencoding()) + show_value("sys.getfilesystemencoding", sys.getfilesystemencoding()) + show_value( + "locale.getpreferredencoding", + locale.getpreferredencoding(), + ) + show_value("sys.platform", sys.platform) + show_sys_implementation() + + show_value("'cert' config value", ca_bundle_info(self.parser.config)) + show_value("REQUESTS_CA_BUNDLE", os.environ.get("REQUESTS_CA_BUNDLE")) + show_value("CURL_CA_BUNDLE", os.environ.get("CURL_CA_BUNDLE")) + show_value("pip._vendor.certifi.where()", where()) + show_value("pip._vendor.DEBUNDLED", pip._vendor.DEBUNDLED) + + show_vendor_versions() + + show_tags(options) + + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/download.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/download.py new file mode 100644 index 0000000000000000000000000000000000000000..900fb403d6fa5827081ee9eca90698e71990aca4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/download.py @@ -0,0 +1,145 @@ +import logging +import os +from optparse import Values + +from pip._internal.cli import cmdoptions +from pip._internal.cli.cmdoptions import make_target_python +from pip._internal.cli.req_command import RequirementCommand, with_cleanup +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.operations.build.build_tracker import get_build_tracker +from pip._internal.req.req_install import check_legacy_setup_py_options +from pip._internal.utils.misc import ensure_dir, normalize_path, write_output +from pip._internal.utils.temp_dir import TempDirectory + +logger = logging.getLogger(__name__) + + +class DownloadCommand(RequirementCommand): + """ + Download packages from: + + - PyPI (and other indexes) using requirement specifiers. + - VCS project urls. + - Local project directories. + - Local or remote source archives. + + pip also supports downloading from "requirements files", which provide + an easy way to specify a whole environment to be downloaded. + """ + + usage = """ + %prog [options] [package-index-options] ... + %prog [options] -r [package-index-options] ... + %prog [options] ... + %prog [options] ... + %prog [options] ...""" + + def add_options(self) -> None: + self.cmd_opts.add_option(cmdoptions.constraints()) + self.cmd_opts.add_option(cmdoptions.requirements()) + self.cmd_opts.add_option(cmdoptions.no_deps()) + self.cmd_opts.add_option(cmdoptions.global_options()) + self.cmd_opts.add_option(cmdoptions.no_binary()) + self.cmd_opts.add_option(cmdoptions.only_binary()) + self.cmd_opts.add_option(cmdoptions.prefer_binary()) + self.cmd_opts.add_option(cmdoptions.src()) + self.cmd_opts.add_option(cmdoptions.pre()) + self.cmd_opts.add_option(cmdoptions.require_hashes()) + self.cmd_opts.add_option(cmdoptions.progress_bar()) + self.cmd_opts.add_option(cmdoptions.no_build_isolation()) + self.cmd_opts.add_option(cmdoptions.use_pep517()) + self.cmd_opts.add_option(cmdoptions.no_use_pep517()) + self.cmd_opts.add_option(cmdoptions.check_build_deps()) + self.cmd_opts.add_option(cmdoptions.ignore_requires_python()) + + self.cmd_opts.add_option( + "-d", + "--dest", + "--destination-dir", + "--destination-directory", + dest="download_dir", + metavar="dir", + default=os.curdir, + help="Download packages into .", + ) + + cmdoptions.add_target_python_options(self.cmd_opts) + + index_opts = cmdoptions.make_option_group( + cmdoptions.index_group, + self.parser, + ) + + self.parser.insert_option_group(0, index_opts) + self.parser.insert_option_group(0, self.cmd_opts) + + @with_cleanup + def run(self, options: Values, args: list[str]) -> int: + options.ignore_installed = True + # editable doesn't really make sense for `pip download`, but the bowels + # of the RequirementSet code require that property. + options.editables = [] + + cmdoptions.check_dist_restriction(options) + + options.download_dir = normalize_path(options.download_dir) + ensure_dir(options.download_dir) + + session = self.get_default_session(options) + + target_python = make_target_python(options) + finder = self._build_package_finder( + options=options, + session=session, + target_python=target_python, + ignore_requires_python=options.ignore_requires_python, + ) + + build_tracker = self.enter_context(get_build_tracker()) + + directory = TempDirectory( + delete=not options.no_clean, + kind="download", + globally_managed=True, + ) + + reqs = self.get_requirements(args, options, finder, session) + check_legacy_setup_py_options(options, reqs) + + preparer = self.make_requirement_preparer( + temp_build_dir=directory, + options=options, + build_tracker=build_tracker, + session=session, + finder=finder, + download_dir=options.download_dir, + use_user_site=False, + verbosity=self.verbosity, + ) + + resolver = self.make_resolver( + preparer=preparer, + finder=finder, + options=options, + ignore_requires_python=options.ignore_requires_python, + use_pep517=options.use_pep517, + py_version_info=options.python_version, + ) + + self.trace_basic_info(finder) + + requirement_set = resolver.resolve(reqs, check_supported_wheels=True) + + downloaded: list[str] = [] + for req in requirement_set.requirements.values(): + if req.satisfied_by is None: + assert req.name is not None + preparer.save_linked_requirement(req) + downloaded.append(req.name) + + preparer.prepare_linked_requirements_more(requirement_set.requirements.values()) + + if downloaded: + write_output("Successfully downloaded %s", " ".join(downloaded)) + + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/freeze.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/freeze.py new file mode 100644 index 0000000000000000000000000000000000000000..7794857cf8016894bed31f48353c23af13a56cf1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/freeze.py @@ -0,0 +1,107 @@ +import sys +from optparse import Values + +from pip._internal.cli import cmdoptions +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.operations.freeze import freeze +from pip._internal.utils.compat import stdlib_pkgs + + +def _should_suppress_build_backends() -> bool: + return sys.version_info < (3, 12) + + +def _dev_pkgs() -> set[str]: + pkgs = {"pip"} + + if _should_suppress_build_backends(): + pkgs |= {"setuptools", "distribute", "wheel"} + + return pkgs + + +class FreezeCommand(Command): + """ + Output installed packages in requirements format. + + packages are listed in a case-insensitive sorted order. + """ + + ignore_require_venv = True + usage = """ + %prog [options]""" + + def add_options(self) -> None: + self.cmd_opts.add_option( + "-r", + "--requirement", + dest="requirements", + action="append", + default=[], + metavar="file", + help=( + "Use the order in the given requirements file and its " + "comments when generating output. This option can be " + "used multiple times." + ), + ) + self.cmd_opts.add_option( + "-l", + "--local", + dest="local", + action="store_true", + default=False, + help=( + "If in a virtualenv that has global access, do not output " + "globally-installed packages." + ), + ) + self.cmd_opts.add_option( + "--user", + dest="user", + action="store_true", + default=False, + help="Only output packages installed in user-site.", + ) + self.cmd_opts.add_option(cmdoptions.list_path()) + self.cmd_opts.add_option( + "--all", + dest="freeze_all", + action="store_true", + help=( + "Do not skip these packages in the output:" + " {}".format(", ".join(_dev_pkgs())) + ), + ) + self.cmd_opts.add_option( + "--exclude-editable", + dest="exclude_editable", + action="store_true", + help="Exclude editable package from output.", + ) + self.cmd_opts.add_option(cmdoptions.list_exclude()) + + self.parser.insert_option_group(0, self.cmd_opts) + + def run(self, options: Values, args: list[str]) -> int: + skip = set(stdlib_pkgs) + if not options.freeze_all: + skip.update(_dev_pkgs()) + + if options.excludes: + skip.update(options.excludes) + + cmdoptions.check_list_path_option(options) + + for line in freeze( + requirement=options.requirements, + local_only=options.local, + user_only=options.user, + paths=options.path, + isolated=options.isolated_mode, + skip=skip, + exclude_editable=options.exclude_editable, + ): + sys.stdout.write(line + "\n") + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/hash.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/hash.py new file mode 100644 index 0000000000000000000000000000000000000000..271a4c91a7f759272424e051862dee0a33a91d1a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/hash.py @@ -0,0 +1,58 @@ +import hashlib +import logging +import sys +from optparse import Values + +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.utils.hashes import FAVORITE_HASH, STRONG_HASHES +from pip._internal.utils.misc import read_chunks, write_output + +logger = logging.getLogger(__name__) + + +class HashCommand(Command): + """ + Compute a hash of a local package archive. + + These can be used with --hash in a requirements file to do repeatable + installs. + """ + + usage = "%prog [options] ..." + ignore_require_venv = True + + def add_options(self) -> None: + self.cmd_opts.add_option( + "-a", + "--algorithm", + dest="algorithm", + choices=STRONG_HASHES, + action="store", + default=FAVORITE_HASH, + help="The hash algorithm to use: one of {}".format( + ", ".join(STRONG_HASHES) + ), + ) + self.parser.insert_option_group(0, self.cmd_opts) + + def run(self, options: Values, args: list[str]) -> int: + if not args: + self.parser.print_usage(sys.stderr) + return ERROR + + algorithm = options.algorithm + for path in args: + write_output( + "%s:\n--hash=%s:%s", path, algorithm, _hash_of_file(path, algorithm) + ) + return SUCCESS + + +def _hash_of_file(path: str, algorithm: str) -> str: + """Return the hash digest of a file.""" + with open(path, "rb") as archive: + hash = hashlib.new(algorithm) + for chunk in read_chunks(archive): + hash.update(chunk) + return hash.hexdigest() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/help.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/help.py new file mode 100644 index 0000000000000000000000000000000000000000..2ae658ff5eb6951ea30948ab425e6125dc41fa34 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/help.py @@ -0,0 +1,40 @@ +from optparse import Values + +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.exceptions import CommandError + + +class HelpCommand(Command): + """Show help for commands""" + + usage = """ + %prog """ + ignore_require_venv = True + + def run(self, options: Values, args: list[str]) -> int: + from pip._internal.commands import ( + commands_dict, + create_command, + get_similar_commands, + ) + + try: + # 'pip help' with no args is handled by pip.__init__.parseopt() + cmd_name = args[0] # the command we need help for + except IndexError: + return SUCCESS + + if cmd_name not in commands_dict: + guess = get_similar_commands(cmd_name) + + msg = [f'unknown command "{cmd_name}"'] + if guess: + msg.append(f'maybe you meant "{guess}"') + + raise CommandError(" - ".join(msg)) + + command = create_command(cmd_name) + command.parser.print_help() + + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/index.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/index.py new file mode 100644 index 0000000000000000000000000000000000000000..ecac99888db5a4d4a2a82fc2f3ca5c2fe0eadc50 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/index.py @@ -0,0 +1,159 @@ +from __future__ import annotations + +import json +import logging +from collections.abc import Iterable +from optparse import Values +from typing import Any, Callable + +from pip._vendor.packaging.version import Version + +from pip._internal.cli import cmdoptions +from pip._internal.cli.req_command import IndexGroupCommand +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.commands.search import ( + get_installed_distribution, + print_dist_installation_info, +) +from pip._internal.exceptions import CommandError, DistributionNotFound, PipError +from pip._internal.index.collector import LinkCollector +from pip._internal.index.package_finder import PackageFinder +from pip._internal.models.selection_prefs import SelectionPreferences +from pip._internal.models.target_python import TargetPython +from pip._internal.network.session import PipSession +from pip._internal.utils.misc import write_output + +logger = logging.getLogger(__name__) + + +class IndexCommand(IndexGroupCommand): + """ + Inspect information available from package indexes. + """ + + ignore_require_venv = True + usage = """ + %prog versions + """ + + def add_options(self) -> None: + cmdoptions.add_target_python_options(self.cmd_opts) + + self.cmd_opts.add_option(cmdoptions.ignore_requires_python()) + self.cmd_opts.add_option(cmdoptions.pre()) + self.cmd_opts.add_option(cmdoptions.json()) + self.cmd_opts.add_option(cmdoptions.no_binary()) + self.cmd_opts.add_option(cmdoptions.only_binary()) + + index_opts = cmdoptions.make_option_group( + cmdoptions.index_group, + self.parser, + ) + + self.parser.insert_option_group(0, index_opts) + self.parser.insert_option_group(0, self.cmd_opts) + + def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]: + return { + "versions": self.get_available_package_versions, + } + + def run(self, options: Values, args: list[str]) -> int: + handler_map = self.handler_map() + + # Determine action + if not args or args[0] not in handler_map: + logger.error( + "Need an action (%s) to perform.", + ", ".join(sorted(handler_map)), + ) + return ERROR + + action = args[0] + + # Error handling happens here, not in the action-handlers. + try: + handler_map[action](options, args[1:]) + except PipError as e: + logger.error(e.args[0]) + return ERROR + + return SUCCESS + + def _build_package_finder( + self, + options: Values, + session: PipSession, + target_python: TargetPython | None = None, + ignore_requires_python: bool | None = None, + ) -> PackageFinder: + """ + Create a package finder appropriate to the index command. + """ + link_collector = LinkCollector.create(session, options=options) + + # Pass allow_yanked=False to ignore yanked versions. + selection_prefs = SelectionPreferences( + allow_yanked=False, + allow_all_prereleases=options.pre, + ignore_requires_python=ignore_requires_python, + ) + + return PackageFinder.create( + link_collector=link_collector, + selection_prefs=selection_prefs, + target_python=target_python, + ) + + def get_available_package_versions(self, options: Values, args: list[Any]) -> None: + if len(args) != 1: + raise CommandError("You need to specify exactly one argument") + + target_python = cmdoptions.make_target_python(options) + query = args[0] + + with self._build_session(options) as session: + finder = self._build_package_finder( + options=options, + session=session, + target_python=target_python, + ignore_requires_python=options.ignore_requires_python, + ) + + versions: Iterable[Version] = ( + candidate.version for candidate in finder.find_all_candidates(query) + ) + + if not options.pre: + # Remove prereleases + versions = ( + version for version in versions if not version.is_prerelease + ) + versions = set(versions) + + if not versions: + raise DistributionNotFound( + f"No matching distribution found for {query}" + ) + + formatted_versions = [str(ver) for ver in sorted(versions, reverse=True)] + latest = formatted_versions[0] + + dist = get_installed_distribution(query) + + if options.json: + structured_output = { + "name": query, + "versions": formatted_versions, + "latest": latest, + } + + if dist is not None: + structured_output["installed_version"] = str(dist.version) + + write_output(json.dumps(structured_output)) + + else: + write_output(f"{query} ({latest})") + write_output("Available versions: {}".format(", ".join(formatted_versions))) + print_dist_installation_info(latest, dist) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/inspect.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/inspect.py new file mode 100644 index 0000000000000000000000000000000000000000..e262012ee4d048106fff443d878dea20b5fb5274 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/inspect.py @@ -0,0 +1,92 @@ +import logging +from optparse import Values +from typing import Any + +from pip._vendor.packaging.markers import default_environment +from pip._vendor.rich import print_json + +from pip import __version__ +from pip._internal.cli import cmdoptions +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.metadata import BaseDistribution, get_environment +from pip._internal.utils.compat import stdlib_pkgs +from pip._internal.utils.urls import path_to_url + +logger = logging.getLogger(__name__) + + +class InspectCommand(Command): + """ + Inspect the content of a Python environment and produce a report in JSON format. + """ + + ignore_require_venv = True + usage = """ + %prog [options]""" + + def add_options(self) -> None: + self.cmd_opts.add_option( + "--local", + action="store_true", + default=False, + help=( + "If in a virtualenv that has global access, do not list " + "globally-installed packages." + ), + ) + self.cmd_opts.add_option( + "--user", + dest="user", + action="store_true", + default=False, + help="Only output packages installed in user-site.", + ) + self.cmd_opts.add_option(cmdoptions.list_path()) + self.parser.insert_option_group(0, self.cmd_opts) + + def run(self, options: Values, args: list[str]) -> int: + cmdoptions.check_list_path_option(options) + dists = get_environment(options.path).iter_installed_distributions( + local_only=options.local, + user_only=options.user, + skip=set(stdlib_pkgs), + ) + output = { + "version": "1", + "pip_version": __version__, + "installed": [self._dist_to_dict(dist) for dist in dists], + "environment": default_environment(), + # TODO tags? scheme? + } + print_json(data=output) + return SUCCESS + + def _dist_to_dict(self, dist: BaseDistribution) -> dict[str, Any]: + res: dict[str, Any] = { + "metadata": dist.metadata_dict, + "metadata_location": dist.info_location, + } + # direct_url. Note that we don't have download_info (as in the installation + # report) since it is not recorded in installed metadata. + direct_url = dist.direct_url + if direct_url is not None: + res["direct_url"] = direct_url.to_dict() + else: + # Emulate direct_url for legacy editable installs. + editable_project_location = dist.editable_project_location + if editable_project_location is not None: + res["direct_url"] = { + "url": path_to_url(editable_project_location), + "dir_info": { + "editable": True, + }, + } + # installer + installer = dist.installer + if dist.installer: + res["installer"] = installer + # requested + if dist.installed_with_dist_info: + res["requested"] = dist.requested + return res diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/install.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/install.py new file mode 100644 index 0000000000000000000000000000000000000000..1ef7a0f441068d39394439ad71da78426ac50481 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/install.py @@ -0,0 +1,798 @@ +from __future__ import annotations + +import errno +import json +import operator +import os +import shutil +import site +from optparse import SUPPRESS_HELP, Values +from pathlib import Path + +from pip._vendor.packaging.utils import canonicalize_name +from pip._vendor.requests.exceptions import InvalidProxyURL +from pip._vendor.rich import print_json + +# Eagerly import self_outdated_check to avoid crashes. Otherwise, +# this module would be imported *after* pip was replaced, resulting +# in crashes if the new self_outdated_check module was incompatible +# with the rest of pip that's already imported, or allowing a +# wheel to execute arbitrary code on install by replacing +# self_outdated_check. +import pip._internal.self_outdated_check # noqa: F401 +from pip._internal.cache import WheelCache +from pip._internal.cli import cmdoptions +from pip._internal.cli.cmdoptions import make_target_python +from pip._internal.cli.req_command import ( + RequirementCommand, + with_cleanup, +) +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.exceptions import ( + CommandError, + InstallationError, + InstallWheelBuildError, +) +from pip._internal.locations import get_scheme +from pip._internal.metadata import get_environment +from pip._internal.models.installation_report import InstallationReport +from pip._internal.operations.build.build_tracker import get_build_tracker +from pip._internal.operations.check import ConflictDetails, check_install_conflicts +from pip._internal.req import install_given_reqs +from pip._internal.req.req_install import ( + InstallRequirement, + check_legacy_setup_py_options, +) +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.filesystem import test_writable_dir +from pip._internal.utils.logging import getLogger +from pip._internal.utils.misc import ( + check_externally_managed, + ensure_dir, + get_pip_version, + protect_pip_from_modification_on_windows, + warn_if_run_as_root, + write_output, +) +from pip._internal.utils.temp_dir import TempDirectory +from pip._internal.utils.virtualenv import ( + running_under_virtualenv, + virtualenv_no_global, +) +from pip._internal.wheel_builder import build, should_build_for_install_command + +logger = getLogger(__name__) + + +class InstallCommand(RequirementCommand): + """ + Install packages from: + + - PyPI (and other indexes) using requirement specifiers. + - VCS project urls. + - Local project directories. + - Local or remote source archives. + + pip also supports installing from "requirements files", which provide + an easy way to specify a whole environment to be installed. + """ + + usage = """ + %prog [options] [package-index-options] ... + %prog [options] -r [package-index-options] ... + %prog [options] [-e] ... + %prog [options] [-e] ... + %prog [options] ...""" + + def add_options(self) -> None: + self.cmd_opts.add_option(cmdoptions.requirements()) + self.cmd_opts.add_option(cmdoptions.constraints()) + self.cmd_opts.add_option(cmdoptions.no_deps()) + self.cmd_opts.add_option(cmdoptions.pre()) + + self.cmd_opts.add_option(cmdoptions.editable()) + self.cmd_opts.add_option( + "--dry-run", + action="store_true", + dest="dry_run", + default=False, + help=( + "Don't actually install anything, just print what would be. " + "Can be used in combination with --ignore-installed " + "to 'resolve' the requirements." + ), + ) + self.cmd_opts.add_option( + "-t", + "--target", + dest="target_dir", + metavar="dir", + default=None, + help=( + "Install packages into . " + "By default this will not replace existing files/folders in " + ". Use --upgrade to replace existing packages in " + "with new versions." + ), + ) + cmdoptions.add_target_python_options(self.cmd_opts) + + self.cmd_opts.add_option( + "--user", + dest="use_user_site", + action="store_true", + help=( + "Install to the Python user install directory for your " + "platform. Typically ~/.local/, or %APPDATA%\\Python on " + "Windows. (See the Python documentation for site.USER_BASE " + "for full details.)" + ), + ) + self.cmd_opts.add_option( + "--no-user", + dest="use_user_site", + action="store_false", + help=SUPPRESS_HELP, + ) + self.cmd_opts.add_option( + "--root", + dest="root_path", + metavar="dir", + default=None, + help="Install everything relative to this alternate root directory.", + ) + self.cmd_opts.add_option( + "--prefix", + dest="prefix_path", + metavar="dir", + default=None, + help=( + "Installation prefix where lib, bin and other top-level " + "folders are placed. Note that the resulting installation may " + "contain scripts and other resources which reference the " + "Python interpreter of pip, and not that of ``--prefix``. " + "See also the ``--python`` option if the intention is to " + "install packages into another (possibly pip-free) " + "environment." + ), + ) + + self.cmd_opts.add_option(cmdoptions.src()) + + self.cmd_opts.add_option( + "-U", + "--upgrade", + dest="upgrade", + action="store_true", + help=( + "Upgrade all specified packages to the newest available " + "version. The handling of dependencies depends on the " + "upgrade-strategy used." + ), + ) + + self.cmd_opts.add_option( + "--upgrade-strategy", + dest="upgrade_strategy", + default="only-if-needed", + choices=["only-if-needed", "eager"], + help=( + "Determines how dependency upgrading should be handled " + "[default: %default]. " + '"eager" - dependencies are upgraded regardless of ' + "whether the currently installed version satisfies the " + "requirements of the upgraded package(s). " + '"only-if-needed" - are upgraded only when they do not ' + "satisfy the requirements of the upgraded package(s)." + ), + ) + + self.cmd_opts.add_option( + "--force-reinstall", + dest="force_reinstall", + action="store_true", + help="Reinstall all packages even if they are already up-to-date.", + ) + + self.cmd_opts.add_option( + "-I", + "--ignore-installed", + dest="ignore_installed", + action="store_true", + help=( + "Ignore the installed packages, overwriting them. " + "This can break your system if the existing package " + "is of a different version or was installed " + "with a different package manager!" + ), + ) + + self.cmd_opts.add_option(cmdoptions.ignore_requires_python()) + self.cmd_opts.add_option(cmdoptions.no_build_isolation()) + self.cmd_opts.add_option(cmdoptions.use_pep517()) + self.cmd_opts.add_option(cmdoptions.no_use_pep517()) + self.cmd_opts.add_option(cmdoptions.check_build_deps()) + self.cmd_opts.add_option(cmdoptions.override_externally_managed()) + + self.cmd_opts.add_option(cmdoptions.config_settings()) + self.cmd_opts.add_option(cmdoptions.global_options()) + + self.cmd_opts.add_option( + "--compile", + action="store_true", + dest="compile", + default=True, + help="Compile Python source files to bytecode", + ) + + self.cmd_opts.add_option( + "--no-compile", + action="store_false", + dest="compile", + help="Do not compile Python source files to bytecode", + ) + + self.cmd_opts.add_option( + "--no-warn-script-location", + action="store_false", + dest="warn_script_location", + default=True, + help="Do not warn when installing scripts outside PATH", + ) + self.cmd_opts.add_option( + "--no-warn-conflicts", + action="store_false", + dest="warn_about_conflicts", + default=True, + help="Do not warn about broken dependencies", + ) + self.cmd_opts.add_option(cmdoptions.no_binary()) + self.cmd_opts.add_option(cmdoptions.only_binary()) + self.cmd_opts.add_option(cmdoptions.prefer_binary()) + self.cmd_opts.add_option(cmdoptions.require_hashes()) + self.cmd_opts.add_option(cmdoptions.progress_bar()) + self.cmd_opts.add_option(cmdoptions.root_user_action()) + + index_opts = cmdoptions.make_option_group( + cmdoptions.index_group, + self.parser, + ) + + self.parser.insert_option_group(0, index_opts) + self.parser.insert_option_group(0, self.cmd_opts) + + self.cmd_opts.add_option( + "--report", + dest="json_report_file", + metavar="file", + default=None, + help=( + "Generate a JSON file describing what pip did to install " + "the provided requirements. " + "Can be used in combination with --dry-run and --ignore-installed " + "to 'resolve' the requirements. " + "When - is used as file name it writes to stdout. " + "When writing to stdout, please combine with the --quiet option " + "to avoid mixing pip logging output with JSON output." + ), + ) + + @with_cleanup + def run(self, options: Values, args: list[str]) -> int: + if options.use_user_site and options.target_dir is not None: + raise CommandError("Can not combine '--user' and '--target'") + + # Check whether the environment we're installing into is externally + # managed, as specified in PEP 668. Specifying --root, --target, or + # --prefix disables the check, since there's no reliable way to locate + # the EXTERNALLY-MANAGED file for those cases. An exception is also + # made specifically for "--dry-run --report" for convenience. + installing_into_current_environment = ( + not (options.dry_run and options.json_report_file) + and options.root_path is None + and options.target_dir is None + and options.prefix_path is None + ) + if ( + installing_into_current_environment + and not options.override_externally_managed + ): + check_externally_managed() + + upgrade_strategy = "to-satisfy-only" + if options.upgrade: + upgrade_strategy = options.upgrade_strategy + + cmdoptions.check_dist_restriction(options, check_target=True) + + logger.verbose("Using %s", get_pip_version()) + options.use_user_site = decide_user_install( + options.use_user_site, + prefix_path=options.prefix_path, + target_dir=options.target_dir, + root_path=options.root_path, + isolated_mode=options.isolated_mode, + ) + + target_temp_dir: TempDirectory | None = None + target_temp_dir_path: str | None = None + if options.target_dir: + options.ignore_installed = True + options.target_dir = os.path.abspath(options.target_dir) + if ( + # fmt: off + os.path.exists(options.target_dir) and + not os.path.isdir(options.target_dir) + # fmt: on + ): + raise CommandError( + "Target path exists but is not a directory, will not continue." + ) + + # Create a target directory for using with the target option + target_temp_dir = TempDirectory(kind="target") + target_temp_dir_path = target_temp_dir.path + self.enter_context(target_temp_dir) + + global_options = options.global_options or [] + + session = self.get_default_session(options) + + target_python = make_target_python(options) + finder = self._build_package_finder( + options=options, + session=session, + target_python=target_python, + ignore_requires_python=options.ignore_requires_python, + ) + build_tracker = self.enter_context(get_build_tracker()) + + directory = TempDirectory( + delete=not options.no_clean, + kind="install", + globally_managed=True, + ) + + try: + reqs = self.get_requirements(args, options, finder, session) + check_legacy_setup_py_options(options, reqs) + + wheel_cache = WheelCache(options.cache_dir) + + # Only when installing is it permitted to use PEP 660. + # In other circumstances (pip wheel, pip download) we generate + # regular (i.e. non editable) metadata and wheels. + for req in reqs: + req.permit_editable_wheels = True + + preparer = self.make_requirement_preparer( + temp_build_dir=directory, + options=options, + build_tracker=build_tracker, + session=session, + finder=finder, + use_user_site=options.use_user_site, + verbosity=self.verbosity, + ) + resolver = self.make_resolver( + preparer=preparer, + finder=finder, + options=options, + wheel_cache=wheel_cache, + use_user_site=options.use_user_site, + ignore_installed=options.ignore_installed, + ignore_requires_python=options.ignore_requires_python, + force_reinstall=options.force_reinstall, + upgrade_strategy=upgrade_strategy, + use_pep517=options.use_pep517, + py_version_info=options.python_version, + ) + + self.trace_basic_info(finder) + + requirement_set = resolver.resolve( + reqs, check_supported_wheels=not options.target_dir + ) + + if options.json_report_file: + report = InstallationReport(requirement_set.requirements_to_install) + if options.json_report_file == "-": + print_json(data=report.to_dict()) + else: + with open(options.json_report_file, "w", encoding="utf-8") as f: + json.dump(report.to_dict(), f, indent=2, ensure_ascii=False) + + if options.dry_run: + would_install_items = sorted( + (r.metadata["name"], r.metadata["version"]) + for r in requirement_set.requirements_to_install + ) + if would_install_items: + write_output( + "Would install %s", + " ".join("-".join(item) for item in would_install_items), + ) + return SUCCESS + + try: + pip_req = requirement_set.get_requirement("pip") + except KeyError: + modifying_pip = False + else: + # If we're not replacing an already installed pip, + # we're not modifying it. + modifying_pip = pip_req.satisfied_by is None + protect_pip_from_modification_on_windows(modifying_pip=modifying_pip) + + reqs_to_build = [ + r + for r in requirement_set.requirements_to_install + if should_build_for_install_command(r) + ] + + _, build_failures = build( + reqs_to_build, + wheel_cache=wheel_cache, + verify=True, + build_options=[], + global_options=global_options, + ) + + if build_failures: + raise InstallWheelBuildError(build_failures) + + to_install = resolver.get_installation_order(requirement_set) + + # Check for conflicts in the package set we're installing. + conflicts: ConflictDetails | None = None + should_warn_about_conflicts = ( + not options.ignore_dependencies and options.warn_about_conflicts + ) + if should_warn_about_conflicts: + conflicts = self._determine_conflicts(to_install) + + # Don't warn about script install locations if + # --target or --prefix has been specified + warn_script_location = options.warn_script_location + if options.target_dir or options.prefix_path: + warn_script_location = False + + installed = install_given_reqs( + to_install, + global_options, + root=options.root_path, + home=target_temp_dir_path, + prefix=options.prefix_path, + warn_script_location=warn_script_location, + use_user_site=options.use_user_site, + pycompile=options.compile, + progress_bar=options.progress_bar, + ) + + lib_locations = get_lib_location_guesses( + user=options.use_user_site, + home=target_temp_dir_path, + root=options.root_path, + prefix=options.prefix_path, + isolated=options.isolated_mode, + ) + env = get_environment(lib_locations) + + # Display a summary of installed packages, with extra care to + # display a package name as it was requested by the user. + installed.sort(key=operator.attrgetter("name")) + summary = [] + installed_versions = {} + for distribution in env.iter_all_distributions(): + installed_versions[distribution.canonical_name] = distribution.version + for package in installed: + display_name = package.name + version = installed_versions.get(canonicalize_name(display_name), None) + if version: + text = f"{display_name}-{version}" + else: + text = display_name + summary.append(text) + + if conflicts is not None: + self._warn_about_conflicts( + conflicts, + resolver_variant=self.determine_resolver_variant(options), + ) + + installed_desc = " ".join(summary) + if installed_desc: + write_output( + "Successfully installed %s", + installed_desc, + ) + except OSError as error: + show_traceback = self.verbosity >= 1 + + message = create_os_error_message( + error, + show_traceback, + options.use_user_site, + ) + logger.error(message, exc_info=show_traceback) + + return ERROR + + if options.target_dir: + assert target_temp_dir + self._handle_target_dir( + options.target_dir, target_temp_dir, options.upgrade + ) + if options.root_user_action == "warn": + warn_if_run_as_root() + return SUCCESS + + def _handle_target_dir( + self, target_dir: str, target_temp_dir: TempDirectory, upgrade: bool + ) -> None: + ensure_dir(target_dir) + + # Checking both purelib and platlib directories for installed + # packages to be moved to target directory + lib_dir_list = [] + + # Checking both purelib and platlib directories for installed + # packages to be moved to target directory + scheme = get_scheme("", home=target_temp_dir.path) + purelib_dir = scheme.purelib + platlib_dir = scheme.platlib + data_dir = scheme.data + + if os.path.exists(purelib_dir): + lib_dir_list.append(purelib_dir) + if os.path.exists(platlib_dir) and platlib_dir != purelib_dir: + lib_dir_list.append(platlib_dir) + if os.path.exists(data_dir): + lib_dir_list.append(data_dir) + + for lib_dir in lib_dir_list: + for item in os.listdir(lib_dir): + if lib_dir == data_dir: + ddir = os.path.join(data_dir, item) + if any(s.startswith(ddir) for s in lib_dir_list[:-1]): + continue + target_item_dir = os.path.join(target_dir, item) + if os.path.exists(target_item_dir): + if not upgrade: + logger.warning( + "Target directory %s already exists. Specify " + "--upgrade to force replacement.", + target_item_dir, + ) + continue + if os.path.islink(target_item_dir): + logger.warning( + "Target directory %s already exists and is " + "a link. pip will not automatically replace " + "links, please remove if replacement is " + "desired.", + target_item_dir, + ) + continue + if os.path.isdir(target_item_dir): + shutil.rmtree(target_item_dir) + else: + os.remove(target_item_dir) + + shutil.move(os.path.join(lib_dir, item), target_item_dir) + + def _determine_conflicts( + self, to_install: list[InstallRequirement] + ) -> ConflictDetails | None: + try: + return check_install_conflicts(to_install) + except Exception: + logger.exception( + "Error while checking for conflicts. Please file an issue on " + "pip's issue tracker: https://github.com/pypa/pip/issues/new" + ) + return None + + def _warn_about_conflicts( + self, conflict_details: ConflictDetails, resolver_variant: str + ) -> None: + package_set, (missing, conflicting) = conflict_details + if not missing and not conflicting: + return + + parts: list[str] = [] + if resolver_variant == "legacy": + parts.append( + "pip's legacy dependency resolver does not consider dependency " + "conflicts when selecting packages. This behaviour is the " + "source of the following dependency conflicts." + ) + else: + assert resolver_variant == "resolvelib" + parts.append( + "pip's dependency resolver does not currently take into account " + "all the packages that are installed. This behaviour is the " + "source of the following dependency conflicts." + ) + + # NOTE: There is some duplication here, with commands/check.py + for project_name in missing: + version = package_set[project_name][0] + for dependency in missing[project_name]: + message = ( + f"{project_name} {version} requires {dependency[1]}, " + "which is not installed." + ) + parts.append(message) + + for project_name in conflicting: + version = package_set[project_name][0] + for dep_name, dep_version, req in conflicting[project_name]: + message = ( + "{name} {version} requires {requirement}, but {you} have " + "{dep_name} {dep_version} which is incompatible." + ).format( + name=project_name, + version=version, + requirement=req, + dep_name=dep_name, + dep_version=dep_version, + you=("you" if resolver_variant == "resolvelib" else "you'll"), + ) + parts.append(message) + + logger.critical("\n".join(parts)) + + +def get_lib_location_guesses( + user: bool = False, + home: str | None = None, + root: str | None = None, + isolated: bool = False, + prefix: str | None = None, +) -> list[str]: + scheme = get_scheme( + "", + user=user, + home=home, + root=root, + isolated=isolated, + prefix=prefix, + ) + return [scheme.purelib, scheme.platlib] + + +def site_packages_writable(root: str | None, isolated: bool) -> bool: + return all( + test_writable_dir(d) + for d in set(get_lib_location_guesses(root=root, isolated=isolated)) + ) + + +def decide_user_install( + use_user_site: bool | None, + prefix_path: str | None = None, + target_dir: str | None = None, + root_path: str | None = None, + isolated_mode: bool = False, +) -> bool: + """Determine whether to do a user install based on the input options. + + If use_user_site is False, no additional checks are done. + If use_user_site is True, it is checked for compatibility with other + options. + If use_user_site is None, the default behaviour depends on the environment, + which is provided by the other arguments. + """ + # In some cases (config from tox), use_user_site can be set to an integer + # rather than a bool, which 'use_user_site is False' wouldn't catch. + if (use_user_site is not None) and (not use_user_site): + logger.debug("Non-user install by explicit request") + return False + + if use_user_site: + if prefix_path: + raise CommandError( + "Can not combine '--user' and '--prefix' as they imply " + "different installation locations" + ) + if virtualenv_no_global(): + raise InstallationError( + "Can not perform a '--user' install. User site-packages " + "are not visible in this virtualenv." + ) + logger.debug("User install by explicit request") + return True + + # If we are here, user installs have not been explicitly requested/avoided + assert use_user_site is None + + # user install incompatible with --prefix/--target + if prefix_path or target_dir: + logger.debug("Non-user install due to --prefix or --target option") + return False + + # If user installs are not enabled, choose a non-user install + if not site.ENABLE_USER_SITE: + logger.debug("Non-user install because user site-packages disabled") + return False + + # If we have permission for a non-user install, do that, + # otherwise do a user install. + if site_packages_writable(root=root_path, isolated=isolated_mode): + logger.debug("Non-user install because site-packages writeable") + return False + + logger.info( + "Defaulting to user installation because normal site-packages " + "is not writeable" + ) + return True + + +def create_os_error_message( + error: OSError, show_traceback: bool, using_user_site: bool +) -> str: + """Format an error message for an OSError + + It may occur anytime during the execution of the install command. + """ + parts = [] + + # Mention the error if we are not going to show a traceback + parts.append("Could not install packages due to an OSError") + if not show_traceback: + parts.append(": ") + parts.append(str(error)) + else: + parts.append(".") + + # Spilt the error indication from a helper message (if any) + parts[-1] += "\n" + + # Suggest useful actions to the user: + # (1) using user site-packages or (2) verifying the permissions + if error.errno == errno.EACCES: + user_option_part = "Consider using the `--user` option" + permissions_part = "Check the permissions" + + if not running_under_virtualenv() and not using_user_site: + parts.extend( + [ + user_option_part, + " or ", + permissions_part.lower(), + ] + ) + else: + parts.append(permissions_part) + parts.append(".\n") + + # Suggest to check "pip config debug" in case of invalid proxy + if type(error) is InvalidProxyURL: + parts.append( + 'Consider checking your local proxy configuration with "pip config debug"' + ) + parts.append(".\n") + + # On Windows, errors like EINVAL or ENOENT may occur + # if a file or folder name exceeds 255 characters, + # or if the full path exceeds 260 characters and long path support isn't enabled. + # This condition checks for such cases and adds a hint to the error output. + + if WINDOWS and error.errno in (errno.EINVAL, errno.ENOENT) and error.filename: + if any(len(part) > 255 for part in Path(error.filename).parts): + parts.append( + "HINT: This error might be caused by a file or folder name exceeding " + "255 characters, which is a Windows limitation even if long paths " + "are enabled.\n " + ) + if len(error.filename) > 260: + parts.append( + "HINT: This error might have occurred since " + "this system does not have Windows Long Path " + "support enabled. You can find information on " + "how to enable this at " + "https://pip.pypa.io/warnings/enable-long-paths\n" + ) + return "".join(parts).strip() + "\n" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/list.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/list.py new file mode 100644 index 0000000000000000000000000000000000000000..ad27e45ce938f1556321b411c093309b3deac77f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/list.py @@ -0,0 +1,400 @@ +from __future__ import annotations + +import json +import logging +from collections.abc import Generator, Sequence +from email.parser import Parser +from optparse import Values +from typing import TYPE_CHECKING, cast + +from pip._vendor.packaging.utils import canonicalize_name +from pip._vendor.packaging.version import InvalidVersion, Version + +from pip._internal.cli import cmdoptions +from pip._internal.cli.index_command import IndexGroupCommand +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.exceptions import CommandError +from pip._internal.metadata import BaseDistribution, get_environment +from pip._internal.models.selection_prefs import SelectionPreferences +from pip._internal.utils.compat import stdlib_pkgs +from pip._internal.utils.misc import tabulate, write_output + +if TYPE_CHECKING: + from pip._internal.index.package_finder import PackageFinder + from pip._internal.network.session import PipSession + + class _DistWithLatestInfo(BaseDistribution): + """Give the distribution object a couple of extra fields. + + These will be populated during ``get_outdated()``. This is dirty but + makes the rest of the code much cleaner. + """ + + latest_version: Version + latest_filetype: str + + _ProcessedDists = Sequence[_DistWithLatestInfo] + + +logger = logging.getLogger(__name__) + + +class ListCommand(IndexGroupCommand): + """ + List installed packages, including editables. + + Packages are listed in a case-insensitive sorted order. + """ + + ignore_require_venv = True + usage = """ + %prog [options]""" + + def add_options(self) -> None: + self.cmd_opts.add_option( + "-o", + "--outdated", + action="store_true", + default=False, + help="List outdated packages", + ) + self.cmd_opts.add_option( + "-u", + "--uptodate", + action="store_true", + default=False, + help="List uptodate packages", + ) + self.cmd_opts.add_option( + "-e", + "--editable", + action="store_true", + default=False, + help="List editable projects.", + ) + self.cmd_opts.add_option( + "-l", + "--local", + action="store_true", + default=False, + help=( + "If in a virtualenv that has global access, do not list " + "globally-installed packages." + ), + ) + self.cmd_opts.add_option( + "--user", + dest="user", + action="store_true", + default=False, + help="Only output packages installed in user-site.", + ) + self.cmd_opts.add_option(cmdoptions.list_path()) + self.cmd_opts.add_option( + "--pre", + action="store_true", + default=False, + help=( + "Include pre-release and development versions. By default, " + "pip only finds stable versions." + ), + ) + + self.cmd_opts.add_option( + "--format", + action="store", + dest="list_format", + default="columns", + choices=("columns", "freeze", "json"), + help=( + "Select the output format among: columns (default), freeze, or json. " + "The 'freeze' format cannot be used with the --outdated option." + ), + ) + + self.cmd_opts.add_option( + "--not-required", + action="store_true", + dest="not_required", + help="List packages that are not dependencies of installed packages.", + ) + + self.cmd_opts.add_option( + "--exclude-editable", + action="store_false", + dest="include_editable", + help="Exclude editable package from output.", + ) + self.cmd_opts.add_option( + "--include-editable", + action="store_true", + dest="include_editable", + help="Include editable package in output.", + default=True, + ) + self.cmd_opts.add_option(cmdoptions.list_exclude()) + index_opts = cmdoptions.make_option_group(cmdoptions.index_group, self.parser) + + self.parser.insert_option_group(0, index_opts) + self.parser.insert_option_group(0, self.cmd_opts) + + def handle_pip_version_check(self, options: Values) -> None: + if options.outdated or options.uptodate: + super().handle_pip_version_check(options) + + def _build_package_finder( + self, options: Values, session: PipSession + ) -> PackageFinder: + """ + Create a package finder appropriate to this list command. + """ + # Lazy import the heavy index modules as most list invocations won't need 'em. + from pip._internal.index.collector import LinkCollector + from pip._internal.index.package_finder import PackageFinder + + link_collector = LinkCollector.create(session, options=options) + + # Pass allow_yanked=False to ignore yanked versions. + selection_prefs = SelectionPreferences( + allow_yanked=False, + allow_all_prereleases=options.pre, + ) + + return PackageFinder.create( + link_collector=link_collector, + selection_prefs=selection_prefs, + ) + + def run(self, options: Values, args: list[str]) -> int: + if options.outdated and options.uptodate: + raise CommandError("Options --outdated and --uptodate cannot be combined.") + + if options.outdated and options.list_format == "freeze": + raise CommandError( + "List format 'freeze' cannot be used with the --outdated option." + ) + + cmdoptions.check_list_path_option(options) + + skip = set(stdlib_pkgs) + if options.excludes: + skip.update(canonicalize_name(n) for n in options.excludes) + + packages: _ProcessedDists = [ + cast("_DistWithLatestInfo", d) + for d in get_environment(options.path).iter_installed_distributions( + local_only=options.local, + user_only=options.user, + editables_only=options.editable, + include_editables=options.include_editable, + skip=skip, + ) + ] + + # get_not_required must be called firstly in order to find and + # filter out all dependencies correctly. Otherwise a package + # can't be identified as requirement because some parent packages + # could be filtered out before. + if options.not_required: + packages = self.get_not_required(packages, options) + + if options.outdated: + packages = self.get_outdated(packages, options) + elif options.uptodate: + packages = self.get_uptodate(packages, options) + + self.output_package_listing(packages, options) + return SUCCESS + + def get_outdated( + self, packages: _ProcessedDists, options: Values + ) -> _ProcessedDists: + return [ + dist + for dist in self.iter_packages_latest_infos(packages, options) + if dist.latest_version > dist.version + ] + + def get_uptodate( + self, packages: _ProcessedDists, options: Values + ) -> _ProcessedDists: + return [ + dist + for dist in self.iter_packages_latest_infos(packages, options) + if dist.latest_version == dist.version + ] + + def get_not_required( + self, packages: _ProcessedDists, options: Values + ) -> _ProcessedDists: + dep_keys = { + canonicalize_name(dep.name) + for dist in packages + for dep in (dist.iter_dependencies() or ()) + } + + # Create a set to remove duplicate packages, and cast it to a list + # to keep the return type consistent with get_outdated and + # get_uptodate + return list({pkg for pkg in packages if pkg.canonical_name not in dep_keys}) + + def iter_packages_latest_infos( + self, packages: _ProcessedDists, options: Values + ) -> Generator[_DistWithLatestInfo, None, None]: + with self._build_session(options) as session: + finder = self._build_package_finder(options, session) + + def latest_info( + dist: _DistWithLatestInfo, + ) -> _DistWithLatestInfo | None: + all_candidates = finder.find_all_candidates(dist.canonical_name) + if not options.pre: + # Remove prereleases + all_candidates = [ + candidate + for candidate in all_candidates + if not candidate.version.is_prerelease + ] + + evaluator = finder.make_candidate_evaluator( + project_name=dist.canonical_name, + ) + best_candidate = evaluator.sort_best_candidate(all_candidates) + if best_candidate is None: + return None + + remote_version = best_candidate.version + if best_candidate.link.is_wheel: + typ = "wheel" + else: + typ = "sdist" + dist.latest_version = remote_version + dist.latest_filetype = typ + return dist + + for dist in map(latest_info, packages): + if dist is not None: + yield dist + + def output_package_listing( + self, packages: _ProcessedDists, options: Values + ) -> None: + packages = sorted( + packages, + key=lambda dist: dist.canonical_name, + ) + if options.list_format == "columns" and packages: + data, header = format_for_columns(packages, options) + self.output_package_listing_columns(data, header) + elif options.list_format == "freeze": + for dist in packages: + try: + req_string = f"{dist.raw_name}=={dist.version}" + except InvalidVersion: + req_string = f"{dist.raw_name}==={dist.raw_version}" + if options.verbose >= 1: + write_output("%s (%s)", req_string, dist.location) + else: + write_output(req_string) + elif options.list_format == "json": + write_output(format_for_json(packages, options)) + + def output_package_listing_columns( + self, data: list[list[str]], header: list[str] + ) -> None: + # insert the header first: we need to know the size of column names + if len(data) > 0: + data.insert(0, header) + + pkg_strings, sizes = tabulate(data) + + # Create and add a separator. + if len(data) > 0: + pkg_strings.insert(1, " ".join("-" * x for x in sizes)) + + for val in pkg_strings: + write_output(val) + + +def format_for_columns( + pkgs: _ProcessedDists, options: Values +) -> tuple[list[list[str]], list[str]]: + """ + Convert the package data into something usable + by output_package_listing_columns. + """ + header = ["Package", "Version"] + + running_outdated = options.outdated + if running_outdated: + header.extend(["Latest", "Type"]) + + def wheel_build_tag(dist: BaseDistribution) -> str | None: + try: + wheel_file = dist.read_text("WHEEL") + except FileNotFoundError: + return None + return Parser().parsestr(wheel_file).get("Build") + + build_tags = [wheel_build_tag(p) for p in pkgs] + has_build_tags = any(build_tags) + if has_build_tags: + header.append("Build") + + if options.verbose >= 1: + header.append("Location") + if options.verbose >= 1: + header.append("Installer") + + has_editables = any(x.editable for x in pkgs) + if has_editables: + header.append("Editable project location") + + data = [] + for i, proj in enumerate(pkgs): + # if we're working on the 'outdated' list, separate out the + # latest_version and type + row = [proj.raw_name, proj.raw_version] + + if running_outdated: + row.append(str(proj.latest_version)) + row.append(proj.latest_filetype) + + if has_build_tags: + row.append(build_tags[i] or "") + + if has_editables: + row.append(proj.editable_project_location or "") + + if options.verbose >= 1: + row.append(proj.location or "") + if options.verbose >= 1: + row.append(proj.installer) + + data.append(row) + + return data, header + + +def format_for_json(packages: _ProcessedDists, options: Values) -> str: + data = [] + for dist in packages: + try: + version = str(dist.version) + except InvalidVersion: + version = dist.raw_version + info = { + "name": dist.raw_name, + "version": version, + } + if options.verbose >= 1: + info["location"] = dist.location or "" + info["installer"] = dist.installer + if options.outdated: + info["latest_version"] = str(dist.latest_version) + info["latest_filetype"] = dist.latest_filetype + editable_project_location = dist.editable_project_location + if editable_project_location: + info["editable_project_location"] = editable_project_location + data.append(info) + return json.dumps(data) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/lock.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/lock.py new file mode 100644 index 0000000000000000000000000000000000000000..e4a978d5aaa2e34a98464fe507929480fb0aad1d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/lock.py @@ -0,0 +1,170 @@ +import sys +from optparse import Values +from pathlib import Path + +from pip._internal.cache import WheelCache +from pip._internal.cli import cmdoptions +from pip._internal.cli.req_command import ( + RequirementCommand, + with_cleanup, +) +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.models.pylock import Pylock, is_valid_pylock_file_name +from pip._internal.operations.build.build_tracker import get_build_tracker +from pip._internal.req.req_install import ( + check_legacy_setup_py_options, +) +from pip._internal.utils.logging import getLogger +from pip._internal.utils.misc import ( + get_pip_version, +) +from pip._internal.utils.temp_dir import TempDirectory + +logger = getLogger(__name__) + + +class LockCommand(RequirementCommand): + """ + EXPERIMENTAL - Lock packages and their dependencies from: + + - PyPI (and other indexes) using requirement specifiers. + - VCS project urls. + - Local project directories. + - Local or remote source archives. + + pip also supports locking from "requirements files", which provide an easy + way to specify a whole environment to be installed. + + The generated lock file is only guaranteed to be valid for the current + python version and platform. + """ + + usage = """ + %prog [options] [-e] ... + %prog [options] [package-index-options] ... + %prog [options] -r [package-index-options] ... + %prog [options] ...""" + + def add_options(self) -> None: + self.cmd_opts.add_option( + cmdoptions.PipOption( + "--output", + "-o", + dest="output_file", + metavar="path", + type="path", + default="pylock.toml", + help="Lock file name (default=pylock.toml). Use - for stdout.", + ) + ) + self.cmd_opts.add_option(cmdoptions.requirements()) + self.cmd_opts.add_option(cmdoptions.constraints()) + self.cmd_opts.add_option(cmdoptions.no_deps()) + self.cmd_opts.add_option(cmdoptions.pre()) + + self.cmd_opts.add_option(cmdoptions.editable()) + + self.cmd_opts.add_option(cmdoptions.src()) + + self.cmd_opts.add_option(cmdoptions.ignore_requires_python()) + self.cmd_opts.add_option(cmdoptions.no_build_isolation()) + self.cmd_opts.add_option(cmdoptions.use_pep517()) + self.cmd_opts.add_option(cmdoptions.no_use_pep517()) + self.cmd_opts.add_option(cmdoptions.check_build_deps()) + + self.cmd_opts.add_option(cmdoptions.config_settings()) + + self.cmd_opts.add_option(cmdoptions.no_binary()) + self.cmd_opts.add_option(cmdoptions.only_binary()) + self.cmd_opts.add_option(cmdoptions.prefer_binary()) + self.cmd_opts.add_option(cmdoptions.require_hashes()) + self.cmd_opts.add_option(cmdoptions.progress_bar()) + + index_opts = cmdoptions.make_option_group( + cmdoptions.index_group, + self.parser, + ) + + self.parser.insert_option_group(0, index_opts) + self.parser.insert_option_group(0, self.cmd_opts) + + @with_cleanup + def run(self, options: Values, args: list[str]) -> int: + logger.verbose("Using %s", get_pip_version()) + + logger.warning( + "pip lock is currently an experimental command. " + "It may be removed/changed in a future release " + "without prior warning." + ) + + session = self.get_default_session(options) + + finder = self._build_package_finder( + options=options, + session=session, + ignore_requires_python=options.ignore_requires_python, + ) + build_tracker = self.enter_context(get_build_tracker()) + + directory = TempDirectory( + delete=not options.no_clean, + kind="install", + globally_managed=True, + ) + + reqs = self.get_requirements(args, options, finder, session) + check_legacy_setup_py_options(options, reqs) + + wheel_cache = WheelCache(options.cache_dir) + + # Only when installing is it permitted to use PEP 660. + # In other circumstances (pip wheel, pip download) we generate + # regular (i.e. non editable) metadata and wheels. + for req in reqs: + req.permit_editable_wheels = True + + preparer = self.make_requirement_preparer( + temp_build_dir=directory, + options=options, + build_tracker=build_tracker, + session=session, + finder=finder, + use_user_site=False, + verbosity=self.verbosity, + ) + resolver = self.make_resolver( + preparer=preparer, + finder=finder, + options=options, + wheel_cache=wheel_cache, + use_user_site=False, + ignore_installed=True, + ignore_requires_python=options.ignore_requires_python, + upgrade_strategy="to-satisfy-only", + use_pep517=options.use_pep517, + ) + + self.trace_basic_info(finder) + + requirement_set = resolver.resolve(reqs, check_supported_wheels=True) + + if options.output_file == "-": + base_dir = Path.cwd() + else: + output_file_path = Path(options.output_file) + if not is_valid_pylock_file_name(output_file_path): + logger.warning( + "%s is not a valid lock file name.", + output_file_path, + ) + base_dir = output_file_path.parent + pylock_toml = Pylock.from_install_requirements( + requirement_set.requirements.values(), base_dir=base_dir + ).as_toml() + if options.output_file == "-": + sys.stdout.write(pylock_toml) + else: + output_file_path.write_text(pylock_toml, encoding="utf-8") + + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/search.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/search.py new file mode 100644 index 0000000000000000000000000000000000000000..b8dbc27d3ac54112c5e1a96fc5c865b4a2de0e43 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/search.py @@ -0,0 +1,178 @@ +from __future__ import annotations + +import logging +import shutil +import sys +import textwrap +import xmlrpc.client +from collections import OrderedDict +from optparse import Values +from typing import TypedDict + +from pip._vendor.packaging.version import parse as parse_version + +from pip._internal.cli.base_command import Command +from pip._internal.cli.req_command import SessionCommandMixin +from pip._internal.cli.status_codes import NO_MATCHES_FOUND, SUCCESS +from pip._internal.exceptions import CommandError +from pip._internal.metadata import get_default_environment +from pip._internal.metadata.base import BaseDistribution +from pip._internal.models.index import PyPI +from pip._internal.network.xmlrpc import PipXmlrpcTransport +from pip._internal.utils.logging import indent_log +from pip._internal.utils.misc import write_output + + +class TransformedHit(TypedDict): + name: str + summary: str + versions: list[str] + + +logger = logging.getLogger(__name__) + + +class SearchCommand(Command, SessionCommandMixin): + """Search for PyPI packages whose name or summary contains .""" + + usage = """ + %prog [options] """ + ignore_require_venv = True + + def add_options(self) -> None: + self.cmd_opts.add_option( + "-i", + "--index", + dest="index", + metavar="URL", + default=PyPI.pypi_url, + help="Base URL of Python Package Index (default %default)", + ) + + self.parser.insert_option_group(0, self.cmd_opts) + + def run(self, options: Values, args: list[str]) -> int: + if not args: + raise CommandError("Missing required argument (search query).") + query = args + pypi_hits = self.search(query, options) + hits = transform_hits(pypi_hits) + + terminal_width = None + if sys.stdout.isatty(): + terminal_width = shutil.get_terminal_size()[0] + + print_results(hits, terminal_width=terminal_width) + if pypi_hits: + return SUCCESS + return NO_MATCHES_FOUND + + def search(self, query: list[str], options: Values) -> list[dict[str, str]]: + index_url = options.index + + session = self.get_default_session(options) + + transport = PipXmlrpcTransport(index_url, session) + pypi = xmlrpc.client.ServerProxy(index_url, transport) + try: + hits = pypi.search({"name": query, "summary": query}, "or") + except xmlrpc.client.Fault as fault: + message = ( + f"XMLRPC request failed [code: {fault.faultCode}]\n{fault.faultString}" + ) + raise CommandError(message) + assert isinstance(hits, list) + return hits + + +def transform_hits(hits: list[dict[str, str]]) -> list[TransformedHit]: + """ + The list from pypi is really a list of versions. We want a list of + packages with the list of versions stored inline. This converts the + list from pypi into one we can use. + """ + packages: dict[str, TransformedHit] = OrderedDict() + for hit in hits: + name = hit["name"] + summary = hit["summary"] + version = hit["version"] + + if name not in packages.keys(): + packages[name] = { + "name": name, + "summary": summary, + "versions": [version], + } + else: + packages[name]["versions"].append(version) + + # if this is the highest version, replace summary and score + if version == highest_version(packages[name]["versions"]): + packages[name]["summary"] = summary + + return list(packages.values()) + + +def print_dist_installation_info(latest: str, dist: BaseDistribution | None) -> None: + if dist is not None: + with indent_log(): + if dist.version == latest: + write_output("INSTALLED: %s (latest)", dist.version) + else: + write_output("INSTALLED: %s", dist.version) + if parse_version(latest).pre: + write_output( + "LATEST: %s (pre-release; install" + " with `pip install --pre`)", + latest, + ) + else: + write_output("LATEST: %s", latest) + + +def get_installed_distribution(name: str) -> BaseDistribution | None: + env = get_default_environment() + return env.get_distribution(name) + + +def print_results( + hits: list[TransformedHit], + name_column_width: int | None = None, + terminal_width: int | None = None, +) -> None: + if not hits: + return + if name_column_width is None: + name_column_width = ( + max( + [ + len(hit["name"]) + len(highest_version(hit.get("versions", ["-"]))) + for hit in hits + ] + ) + + 4 + ) + + for hit in hits: + name = hit["name"] + summary = hit["summary"] or "" + latest = highest_version(hit.get("versions", ["-"])) + if terminal_width is not None: + target_width = terminal_width - name_column_width - 5 + if target_width > 10: + # wrap and indent summary to fit terminal + summary_lines = textwrap.wrap(summary, target_width) + summary = ("\n" + " " * (name_column_width + 3)).join(summary_lines) + + name_latest = f"{name} ({latest})" + line = f"{name_latest:{name_column_width}} - {summary}" + try: + write_output(line) + dist = get_installed_distribution(name) + print_dist_installation_info(latest, dist) + except UnicodeEncodeError: + pass + + +def highest_version(versions: list[str]) -> str: + return max(versions, key=parse_version) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/show.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/show.py new file mode 100644 index 0000000000000000000000000000000000000000..f9fcfa60bcb761a68b9d638c88357c2842ca6746 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/show.py @@ -0,0 +1,231 @@ +from __future__ import annotations + +import logging +import string +from collections.abc import Generator, Iterable, Iterator +from optparse import Values +from typing import NamedTuple + +from pip._vendor.packaging.requirements import InvalidRequirement +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.metadata import BaseDistribution, get_default_environment +from pip._internal.utils.misc import write_output + +logger = logging.getLogger(__name__) + + +def normalize_project_url_label(label: str) -> str: + # This logic is from PEP 753 (Well-known Project URLs in Metadata). + chars_to_remove = string.punctuation + string.whitespace + removal_map = str.maketrans("", "", chars_to_remove) + return label.translate(removal_map).lower() + + +class ShowCommand(Command): + """ + Show information about one or more installed packages. + + The output is in RFC-compliant mail header format. + """ + + usage = """ + %prog [options] ...""" + ignore_require_venv = True + + def add_options(self) -> None: + self.cmd_opts.add_option( + "-f", + "--files", + dest="files", + action="store_true", + default=False, + help="Show the full list of installed files for each package.", + ) + + self.parser.insert_option_group(0, self.cmd_opts) + + def run(self, options: Values, args: list[str]) -> int: + if not args: + logger.warning("ERROR: Please provide a package name or names.") + return ERROR + query = args + + results = search_packages_info(query) + if not print_results( + results, list_files=options.files, verbose=options.verbose + ): + return ERROR + return SUCCESS + + +class _PackageInfo(NamedTuple): + name: str + version: str + location: str + editable_project_location: str | None + requires: list[str] + required_by: list[str] + installer: str + metadata_version: str + classifiers: list[str] + summary: str + homepage: str + project_urls: list[str] + author: str + author_email: str + license: str + license_expression: str + entry_points: list[str] + files: list[str] | None + + +def search_packages_info(query: list[str]) -> Generator[_PackageInfo, None, None]: + """ + Gather details from installed distributions. Print distribution name, + version, location, and installed files. Installed files requires a + pip generated 'installed-files.txt' in the distributions '.egg-info' + directory. + """ + env = get_default_environment() + + installed = {dist.canonical_name: dist for dist in env.iter_all_distributions()} + query_names = [canonicalize_name(name) for name in query] + missing = sorted( + [name for name, pkg in zip(query, query_names) if pkg not in installed] + ) + if missing: + logger.warning("Package(s) not found: %s", ", ".join(missing)) + + def _get_requiring_packages(current_dist: BaseDistribution) -> Iterator[str]: + return ( + dist.metadata["Name"] or "UNKNOWN" + for dist in installed.values() + if current_dist.canonical_name + in {canonicalize_name(d.name) for d in dist.iter_dependencies()} + ) + + for query_name in query_names: + try: + dist = installed[query_name] + except KeyError: + continue + + try: + requires = sorted( + # Avoid duplicates in requirements (e.g. due to environment markers). + {req.name for req in dist.iter_dependencies()}, + key=str.lower, + ) + except InvalidRequirement: + requires = sorted(dist.iter_raw_dependencies(), key=str.lower) + + try: + required_by = sorted(_get_requiring_packages(dist), key=str.lower) + except InvalidRequirement: + required_by = ["#N/A"] + + try: + entry_points_text = dist.read_text("entry_points.txt") + entry_points = entry_points_text.splitlines(keepends=False) + except FileNotFoundError: + entry_points = [] + + files_iter = dist.iter_declared_entries() + if files_iter is None: + files: list[str] | None = None + else: + files = sorted(files_iter) + + metadata = dist.metadata + + project_urls = metadata.get_all("Project-URL", []) + homepage = metadata.get("Home-page", "") + if not homepage: + # It's common that there is a "homepage" Project-URL, but Home-page + # remains unset (especially as PEP 621 doesn't surface the field). + for url in project_urls: + url_label, url = url.split(",", maxsplit=1) + normalized_label = normalize_project_url_label(url_label) + if normalized_label == "homepage": + homepage = url.strip() + break + + yield _PackageInfo( + name=dist.raw_name, + version=dist.raw_version, + location=dist.location or "", + editable_project_location=dist.editable_project_location, + requires=requires, + required_by=required_by, + installer=dist.installer, + metadata_version=dist.metadata_version or "", + classifiers=metadata.get_all("Classifier", []), + summary=metadata.get("Summary", ""), + homepage=homepage, + project_urls=project_urls, + author=metadata.get("Author", ""), + author_email=metadata.get("Author-email", ""), + license=metadata.get("License", ""), + license_expression=metadata.get("License-Expression", ""), + entry_points=entry_points, + files=files, + ) + + +def print_results( + distributions: Iterable[_PackageInfo], + list_files: bool, + verbose: bool, +) -> bool: + """ + Print the information from installed distributions found. + """ + results_printed = False + for i, dist in enumerate(distributions): + results_printed = True + if i > 0: + write_output("---") + + metadata_version_tuple = tuple(map(int, dist.metadata_version.split("."))) + + write_output("Name: %s", dist.name) + write_output("Version: %s", dist.version) + write_output("Summary: %s", dist.summary) + write_output("Home-page: %s", dist.homepage) + write_output("Author: %s", dist.author) + write_output("Author-email: %s", dist.author_email) + if metadata_version_tuple >= (2, 4) and dist.license_expression: + write_output("License-Expression: %s", dist.license_expression) + else: + write_output("License: %s", dist.license) + write_output("Location: %s", dist.location) + if dist.editable_project_location is not None: + write_output( + "Editable project location: %s", dist.editable_project_location + ) + write_output("Requires: %s", ", ".join(dist.requires)) + write_output("Required-by: %s", ", ".join(dist.required_by)) + + if verbose: + write_output("Metadata-Version: %s", dist.metadata_version) + write_output("Installer: %s", dist.installer) + write_output("Classifiers:") + for classifier in dist.classifiers: + write_output(" %s", classifier) + write_output("Entry-points:") + for entry in dist.entry_points: + write_output(" %s", entry.strip()) + write_output("Project-URLs:") + for project_url in dist.project_urls: + write_output(" %s", project_url) + if list_files: + write_output("Files:") + if dist.files is None: + write_output("Cannot locate RECORD or installed-files.txt") + else: + for line in dist.files: + write_output(" %s", line.strip()) + return results_printed diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/uninstall.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/uninstall.py new file mode 100644 index 0000000000000000000000000000000000000000..9c4f031f934fd4aae78349e1c01eb4b765711357 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/uninstall.py @@ -0,0 +1,113 @@ +import logging +from optparse import Values + +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.cli import cmdoptions +from pip._internal.cli.base_command import Command +from pip._internal.cli.index_command import SessionCommandMixin +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.exceptions import InstallationError +from pip._internal.req import parse_requirements +from pip._internal.req.constructors import ( + install_req_from_line, + install_req_from_parsed_requirement, +) +from pip._internal.utils.misc import ( + check_externally_managed, + protect_pip_from_modification_on_windows, + warn_if_run_as_root, +) + +logger = logging.getLogger(__name__) + + +class UninstallCommand(Command, SessionCommandMixin): + """ + Uninstall packages. + + pip is able to uninstall most installed packages. Known exceptions are: + + - Pure distutils packages installed with ``python setup.py install``, which + leave behind no metadata to determine what files were installed. + - Script wrappers installed by ``python setup.py develop``. + """ + + usage = """ + %prog [options] ... + %prog [options] -r ...""" + + def add_options(self) -> None: + self.cmd_opts.add_option( + "-r", + "--requirement", + dest="requirements", + action="append", + default=[], + metavar="file", + help=( + "Uninstall all the packages listed in the given requirements " + "file. This option can be used multiple times." + ), + ) + self.cmd_opts.add_option( + "-y", + "--yes", + dest="yes", + action="store_true", + help="Don't ask for confirmation of uninstall deletions.", + ) + self.cmd_opts.add_option(cmdoptions.root_user_action()) + self.cmd_opts.add_option(cmdoptions.override_externally_managed()) + self.parser.insert_option_group(0, self.cmd_opts) + + def run(self, options: Values, args: list[str]) -> int: + session = self.get_default_session(options) + + reqs_to_uninstall = {} + for name in args: + req = install_req_from_line( + name, + isolated=options.isolated_mode, + ) + if req.name: + reqs_to_uninstall[canonicalize_name(req.name)] = req + else: + logger.warning( + "Invalid requirement: %r ignored -" + " the uninstall command expects named" + " requirements.", + name, + ) + for filename in options.requirements: + for parsed_req in parse_requirements( + filename, options=options, session=session + ): + req = install_req_from_parsed_requirement( + parsed_req, isolated=options.isolated_mode + ) + if req.name: + reqs_to_uninstall[canonicalize_name(req.name)] = req + if not reqs_to_uninstall: + raise InstallationError( + f"You must give at least one requirement to {self.name} (see " + f'"pip help {self.name}")' + ) + + if not options.override_externally_managed: + check_externally_managed() + + protect_pip_from_modification_on_windows( + modifying_pip="pip" in reqs_to_uninstall + ) + + for req in reqs_to_uninstall.values(): + uninstall_pathset = req.uninstall( + auto_confirm=options.yes, + verbose=self.verbosity > 0, + ) + if uninstall_pathset: + uninstall_pathset.commit() + if options.root_user_action == "warn": + warn_if_run_as_root() + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/wheel.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/wheel.py new file mode 100644 index 0000000000000000000000000000000000000000..61be254912f997860fd292c77d05928cb6470904 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/commands/wheel.py @@ -0,0 +1,181 @@ +import logging +import os +import shutil +from optparse import Values + +from pip._internal.cache import WheelCache +from pip._internal.cli import cmdoptions +from pip._internal.cli.req_command import RequirementCommand, with_cleanup +from pip._internal.cli.status_codes import SUCCESS +from pip._internal.exceptions import CommandError +from pip._internal.operations.build.build_tracker import get_build_tracker +from pip._internal.req.req_install import ( + InstallRequirement, + check_legacy_setup_py_options, +) +from pip._internal.utils.misc import ensure_dir, normalize_path +from pip._internal.utils.temp_dir import TempDirectory +from pip._internal.wheel_builder import build + +logger = logging.getLogger(__name__) + + +class WheelCommand(RequirementCommand): + """ + Build Wheel archives for your requirements and dependencies. + + Wheel is a built-package format, and offers the advantage of not + recompiling your software during every install. For more details, see the + wheel docs: https://wheel.readthedocs.io/en/latest/ + + 'pip wheel' uses the build system interface as described here: + https://pip.pypa.io/en/stable/reference/build-system/ + + """ + + usage = """ + %prog [options] ... + %prog [options] -r ... + %prog [options] [-e] ... + %prog [options] [-e] ... + %prog [options] ...""" + + def add_options(self) -> None: + self.cmd_opts.add_option( + "-w", + "--wheel-dir", + dest="wheel_dir", + metavar="dir", + default=os.curdir, + help=( + "Build wheels into , where the default is the " + "current working directory." + ), + ) + self.cmd_opts.add_option(cmdoptions.no_binary()) + self.cmd_opts.add_option(cmdoptions.only_binary()) + self.cmd_opts.add_option(cmdoptions.prefer_binary()) + self.cmd_opts.add_option(cmdoptions.no_build_isolation()) + self.cmd_opts.add_option(cmdoptions.use_pep517()) + self.cmd_opts.add_option(cmdoptions.no_use_pep517()) + self.cmd_opts.add_option(cmdoptions.check_build_deps()) + self.cmd_opts.add_option(cmdoptions.constraints()) + self.cmd_opts.add_option(cmdoptions.editable()) + self.cmd_opts.add_option(cmdoptions.requirements()) + self.cmd_opts.add_option(cmdoptions.src()) + self.cmd_opts.add_option(cmdoptions.ignore_requires_python()) + self.cmd_opts.add_option(cmdoptions.no_deps()) + self.cmd_opts.add_option(cmdoptions.progress_bar()) + + self.cmd_opts.add_option( + "--no-verify", + dest="no_verify", + action="store_true", + default=False, + help="Don't verify if built wheel is valid.", + ) + + self.cmd_opts.add_option(cmdoptions.config_settings()) + self.cmd_opts.add_option(cmdoptions.build_options()) + self.cmd_opts.add_option(cmdoptions.global_options()) + + self.cmd_opts.add_option( + "--pre", + action="store_true", + default=False, + help=( + "Include pre-release and development versions. By default, " + "pip only finds stable versions." + ), + ) + + self.cmd_opts.add_option(cmdoptions.require_hashes()) + + index_opts = cmdoptions.make_option_group( + cmdoptions.index_group, + self.parser, + ) + + self.parser.insert_option_group(0, index_opts) + self.parser.insert_option_group(0, self.cmd_opts) + + @with_cleanup + def run(self, options: Values, args: list[str]) -> int: + session = self.get_default_session(options) + + finder = self._build_package_finder(options, session) + + options.wheel_dir = normalize_path(options.wheel_dir) + ensure_dir(options.wheel_dir) + + build_tracker = self.enter_context(get_build_tracker()) + + directory = TempDirectory( + delete=not options.no_clean, + kind="wheel", + globally_managed=True, + ) + + reqs = self.get_requirements(args, options, finder, session) + check_legacy_setup_py_options(options, reqs) + + wheel_cache = WheelCache(options.cache_dir) + + preparer = self.make_requirement_preparer( + temp_build_dir=directory, + options=options, + build_tracker=build_tracker, + session=session, + finder=finder, + download_dir=options.wheel_dir, + use_user_site=False, + verbosity=self.verbosity, + ) + + resolver = self.make_resolver( + preparer=preparer, + finder=finder, + options=options, + wheel_cache=wheel_cache, + ignore_requires_python=options.ignore_requires_python, + use_pep517=options.use_pep517, + ) + + self.trace_basic_info(finder) + + requirement_set = resolver.resolve(reqs, check_supported_wheels=True) + + reqs_to_build: list[InstallRequirement] = [] + for req in requirement_set.requirements.values(): + if req.is_wheel: + preparer.save_linked_requirement(req) + else: + reqs_to_build.append(req) + + preparer.prepare_linked_requirements_more(requirement_set.requirements.values()) + + # build wheels + build_successes, build_failures = build( + reqs_to_build, + wheel_cache=wheel_cache, + verify=(not options.no_verify), + build_options=options.build_options or [], + global_options=options.global_options or [], + ) + for req in build_successes: + assert req.link and req.link.is_wheel + assert req.local_file_path + # copy from cache to target directory + try: + shutil.copy(req.local_file_path, options.wheel_dir) + except OSError as e: + logger.warning( + "Building wheel for %s failed: %s", + req.name, + e, + ) + build_failures.append(req) + if len(build_failures) != 0: + raise CommandError("Failed to build one or more wheels") + + return SUCCESS diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/configuration.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/configuration.py new file mode 100644 index 0000000000000000000000000000000000000000..f581a2c950a933f3e2fda34a7195a62008fc7b51 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/configuration.py @@ -0,0 +1,397 @@ +"""Configuration management setup + +Some terminology: +- name + As written in config files. +- value + Value associated with a name +- key + Name combined with it's section (section.name) +- variant + A single word describing where the configuration key-value pair came from +""" + +from __future__ import annotations + +import configparser +import locale +import os +import sys +from collections.abc import Iterable +from typing import Any, NewType + +from pip._internal.exceptions import ( + ConfigurationError, + ConfigurationFileCouldNotBeLoaded, +) +from pip._internal.utils import appdirs +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.logging import getLogger +from pip._internal.utils.misc import ensure_dir, enum + +RawConfigParser = configparser.RawConfigParser # Shorthand +Kind = NewType("Kind", str) + +CONFIG_BASENAME = "pip.ini" if WINDOWS else "pip.conf" +ENV_NAMES_IGNORED = "version", "help" + +# The kinds of configurations there are. +kinds = enum( + USER="user", # User Specific + GLOBAL="global", # System Wide + SITE="site", # [Virtual] Environment Specific + ENV="env", # from PIP_CONFIG_FILE + ENV_VAR="env-var", # from Environment Variables +) +OVERRIDE_ORDER = kinds.GLOBAL, kinds.USER, kinds.SITE, kinds.ENV, kinds.ENV_VAR +VALID_LOAD_ONLY = kinds.USER, kinds.GLOBAL, kinds.SITE + +logger = getLogger(__name__) + + +# NOTE: Maybe use the optionx attribute to normalize keynames. +def _normalize_name(name: str) -> str: + """Make a name consistent regardless of source (environment or file)""" + name = name.lower().replace("_", "-") + if name.startswith("--"): + name = name[2:] # only prefer long opts + return name + + +def _disassemble_key(name: str) -> list[str]: + if "." not in name: + error_message = ( + "Key does not contain dot separated section and key. " + f"Perhaps you wanted to use 'global.{name}' instead?" + ) + raise ConfigurationError(error_message) + return name.split(".", 1) + + +def get_configuration_files() -> dict[Kind, list[str]]: + global_config_files = [ + os.path.join(path, CONFIG_BASENAME) for path in appdirs.site_config_dirs("pip") + ] + + site_config_file = os.path.join(sys.prefix, CONFIG_BASENAME) + legacy_config_file = os.path.join( + os.path.expanduser("~"), + "pip" if WINDOWS else ".pip", + CONFIG_BASENAME, + ) + new_config_file = os.path.join(appdirs.user_config_dir("pip"), CONFIG_BASENAME) + return { + kinds.GLOBAL: global_config_files, + kinds.SITE: [site_config_file], + kinds.USER: [legacy_config_file, new_config_file], + } + + +class Configuration: + """Handles management of configuration. + + Provides an interface to accessing and managing configuration files. + + This class converts provides an API that takes "section.key-name" style + keys and stores the value associated with it as "key-name" under the + section "section". + + This allows for a clean interface wherein the both the section and the + key-name are preserved in an easy to manage form in the configuration files + and the data stored is also nice. + """ + + def __init__(self, isolated: bool, load_only: Kind | None = None) -> None: + super().__init__() + + if load_only is not None and load_only not in VALID_LOAD_ONLY: + raise ConfigurationError( + "Got invalid value for load_only - should be one of {}".format( + ", ".join(map(repr, VALID_LOAD_ONLY)) + ) + ) + self.isolated = isolated + self.load_only = load_only + + # Because we keep track of where we got the data from + self._parsers: dict[Kind, list[tuple[str, RawConfigParser]]] = { + variant: [] for variant in OVERRIDE_ORDER + } + self._config: dict[Kind, dict[str, dict[str, Any]]] = { + variant: {} for variant in OVERRIDE_ORDER + } + self._modified_parsers: list[tuple[str, RawConfigParser]] = [] + + def load(self) -> None: + """Loads configuration from configuration files and environment""" + self._load_config_files() + if not self.isolated: + self._load_environment_vars() + + def get_file_to_edit(self) -> str | None: + """Returns the file with highest priority in configuration""" + assert self.load_only is not None, "Need to be specified a file to be editing" + + try: + return self._get_parser_to_modify()[0] + except IndexError: + return None + + def items(self) -> Iterable[tuple[str, Any]]: + """Returns key-value pairs like dict.items() representing the loaded + configuration + """ + return self._dictionary.items() + + def get_value(self, key: str) -> Any: + """Get a value from the configuration.""" + orig_key = key + key = _normalize_name(key) + try: + clean_config: dict[str, Any] = {} + for file_values in self._dictionary.values(): + clean_config.update(file_values) + return clean_config[key] + except KeyError: + # disassembling triggers a more useful error message than simply + # "No such key" in the case that the key isn't in the form command.option + _disassemble_key(key) + raise ConfigurationError(f"No such key - {orig_key}") + + def set_value(self, key: str, value: Any) -> None: + """Modify a value in the configuration.""" + key = _normalize_name(key) + self._ensure_have_load_only() + + assert self.load_only + fname, parser = self._get_parser_to_modify() + + if parser is not None: + section, name = _disassemble_key(key) + + # Modify the parser and the configuration + if not parser.has_section(section): + parser.add_section(section) + parser.set(section, name, value) + + self._config[self.load_only].setdefault(fname, {}) + self._config[self.load_only][fname][key] = value + self._mark_as_modified(fname, parser) + + def unset_value(self, key: str) -> None: + """Unset a value in the configuration.""" + orig_key = key + key = _normalize_name(key) + self._ensure_have_load_only() + + assert self.load_only + fname, parser = self._get_parser_to_modify() + + if ( + key not in self._config[self.load_only][fname] + and key not in self._config[self.load_only] + ): + raise ConfigurationError(f"No such key - {orig_key}") + + if parser is not None: + section, name = _disassemble_key(key) + if not ( + parser.has_section(section) and parser.remove_option(section, name) + ): + # The option was not removed. + raise ConfigurationError( + "Fatal Internal error [id=1]. Please report as a bug." + ) + + # The section may be empty after the option was removed. + if not parser.items(section): + parser.remove_section(section) + self._mark_as_modified(fname, parser) + try: + del self._config[self.load_only][fname][key] + except KeyError: + del self._config[self.load_only][key] + + def save(self) -> None: + """Save the current in-memory state.""" + self._ensure_have_load_only() + + for fname, parser in self._modified_parsers: + logger.info("Writing to %s", fname) + + # Ensure directory exists. + ensure_dir(os.path.dirname(fname)) + + # Ensure directory's permission(need to be writeable) + try: + with open(fname, "w") as f: + parser.write(f) + except OSError as error: + raise ConfigurationError( + f"An error occurred while writing to the configuration file " + f"{fname}: {error}" + ) + + # + # Private routines + # + + def _ensure_have_load_only(self) -> None: + if self.load_only is None: + raise ConfigurationError("Needed a specific file to be modifying.") + logger.debug("Will be working with %s variant only", self.load_only) + + @property + def _dictionary(self) -> dict[str, dict[str, Any]]: + """A dictionary representing the loaded configuration.""" + # NOTE: Dictionaries are not populated if not loaded. So, conditionals + # are not needed here. + retval = {} + + for variant in OVERRIDE_ORDER: + retval.update(self._config[variant]) + + return retval + + def _load_config_files(self) -> None: + """Loads configuration from configuration files""" + config_files = dict(self.iter_config_files()) + if config_files[kinds.ENV][0:1] == [os.devnull]: + logger.debug( + "Skipping loading configuration files due to " + "environment's PIP_CONFIG_FILE being os.devnull" + ) + return + + for variant, files in config_files.items(): + for fname in files: + # If there's specific variant set in `load_only`, load only + # that variant, not the others. + if self.load_only is not None and variant != self.load_only: + logger.debug("Skipping file '%s' (variant: %s)", fname, variant) + continue + + parser = self._load_file(variant, fname) + + # Keeping track of the parsers used + self._parsers[variant].append((fname, parser)) + + def _load_file(self, variant: Kind, fname: str) -> RawConfigParser: + logger.verbose("For variant '%s', will try loading '%s'", variant, fname) + parser = self._construct_parser(fname) + + for section in parser.sections(): + items = parser.items(section) + self._config[variant].setdefault(fname, {}) + self._config[variant][fname].update(self._normalized_keys(section, items)) + + return parser + + def _construct_parser(self, fname: str) -> RawConfigParser: + parser = configparser.RawConfigParser() + # If there is no such file, don't bother reading it but create the + # parser anyway, to hold the data. + # Doing this is useful when modifying and saving files, where we don't + # need to construct a parser. + if os.path.exists(fname): + locale_encoding = locale.getpreferredencoding(False) + try: + parser.read(fname, encoding=locale_encoding) + except UnicodeDecodeError: + # See https://github.com/pypa/pip/issues/4963 + raise ConfigurationFileCouldNotBeLoaded( + reason=f"contains invalid {locale_encoding} characters", + fname=fname, + ) + except configparser.Error as error: + # See https://github.com/pypa/pip/issues/4893 + raise ConfigurationFileCouldNotBeLoaded(error=error) + return parser + + def _load_environment_vars(self) -> None: + """Loads configuration from environment variables""" + self._config[kinds.ENV_VAR].setdefault(":env:", {}) + self._config[kinds.ENV_VAR][":env:"].update( + self._normalized_keys(":env:", self.get_environ_vars()) + ) + + def _normalized_keys( + self, section: str, items: Iterable[tuple[str, Any]] + ) -> dict[str, Any]: + """Normalizes items to construct a dictionary with normalized keys. + + This routine is where the names become keys and are made the same + regardless of source - configuration files or environment. + """ + normalized = {} + for name, val in items: + key = section + "." + _normalize_name(name) + normalized[key] = val + return normalized + + def get_environ_vars(self) -> Iterable[tuple[str, str]]: + """Returns a generator with all environmental vars with prefix PIP_""" + for key, val in os.environ.items(): + if key.startswith("PIP_"): + name = key[4:].lower() + if name not in ENV_NAMES_IGNORED: + yield name, val + + # XXX: This is patched in the tests. + def iter_config_files(self) -> Iterable[tuple[Kind, list[str]]]: + """Yields variant and configuration files associated with it. + + This should be treated like items of a dictionary. The order + here doesn't affect what gets overridden. That is controlled + by OVERRIDE_ORDER. However this does control the order they are + displayed to the user. It's probably most ergonomic to display + things in the same order as OVERRIDE_ORDER + """ + # SMELL: Move the conditions out of this function + + env_config_file = os.environ.get("PIP_CONFIG_FILE", None) + config_files = get_configuration_files() + + yield kinds.GLOBAL, config_files[kinds.GLOBAL] + + # per-user config is not loaded when env_config_file exists + should_load_user_config = not self.isolated and not ( + env_config_file and os.path.exists(env_config_file) + ) + if should_load_user_config: + # The legacy config file is overridden by the new config file + yield kinds.USER, config_files[kinds.USER] + + # virtualenv config + yield kinds.SITE, config_files[kinds.SITE] + + if env_config_file is not None: + yield kinds.ENV, [env_config_file] + else: + yield kinds.ENV, [] + + def get_values_in_config(self, variant: Kind) -> dict[str, Any]: + """Get values present in a config file""" + return self._config[variant] + + def _get_parser_to_modify(self) -> tuple[str, RawConfigParser]: + # Determine which parser to modify + assert self.load_only + parsers = self._parsers[self.load_only] + if not parsers: + # This should not happen if everything works correctly. + raise ConfigurationError( + "Fatal Internal error [id=2]. Please report as a bug." + ) + + # Use the highest priority parser. + return parsers[-1] + + # XXX: This is patched in the tests. + def _mark_as_modified(self, fname: str, parser: RawConfigParser) -> None: + file_parser_tuple = (fname, parser) + if file_parser_tuple not in self._modified_parsers: + self._modified_parsers.append(file_parser_tuple) + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({self._dictionary!r})" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..9a89a838b9a5cb264e9ae9d269fbedca6e2d6333 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__init__.py @@ -0,0 +1,21 @@ +from pip._internal.distributions.base import AbstractDistribution +from pip._internal.distributions.sdist import SourceDistribution +from pip._internal.distributions.wheel import WheelDistribution +from pip._internal.req.req_install import InstallRequirement + + +def make_distribution_for_install_requirement( + install_req: InstallRequirement, +) -> AbstractDistribution: + """Returns a Distribution for the given InstallRequirement""" + # Editable requirements will always be source distributions. They use the + # legacy logic until we create a modern standard for them. + if install_req.editable: + return SourceDistribution(install_req) + + # If it's a wheel, it's a WheelDistribution + if install_req.is_wheel: + return WheelDistribution(install_req) + + # Otherwise, a SourceDistribution + return SourceDistribution(install_req) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..170b368478c1ce480d322793bca0b94244d748b2 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9988fb74d89befd5e8caab6bcd27beaa9540ad03 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e7a081208e0339537e907ba8c882deb08b0e8902 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ea444f44707810ed80598fb3e5abb39910f78868 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..de49f6093d70c71cb292a0c471566b3194db7676 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/base.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/base.py new file mode 100644 index 0000000000000000000000000000000000000000..ea61f3501e7ff8f16575ad00b54fc48a8595580f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/base.py @@ -0,0 +1,55 @@ +from __future__ import annotations + +import abc +from typing import TYPE_CHECKING + +from pip._internal.metadata.base import BaseDistribution +from pip._internal.req import InstallRequirement + +if TYPE_CHECKING: + from pip._internal.build_env import BuildEnvironmentInstaller + + +class AbstractDistribution(metaclass=abc.ABCMeta): + """A base class for handling installable artifacts. + + The requirements for anything installable are as follows: + + - we must be able to determine the requirement name + (or we can't correctly handle the non-upgrade case). + + - for packages with setup requirements, we must also be able + to determine their requirements without installing additional + packages (for the same reason as run-time dependencies) + + - we must be able to create a Distribution object exposing the + above metadata. + + - if we need to do work in the build tracker, we must be able to generate a unique + string to identify the requirement in the build tracker. + """ + + def __init__(self, req: InstallRequirement) -> None: + super().__init__() + self.req = req + + @abc.abstractproperty + def build_tracker_id(self) -> str | None: + """A string that uniquely identifies this requirement to the build tracker. + + If None, then this dist has no work to do in the build tracker, and + ``.prepare_distribution_metadata()`` will not be called.""" + raise NotImplementedError() + + @abc.abstractmethod + def get_metadata_distribution(self) -> BaseDistribution: + raise NotImplementedError() + + @abc.abstractmethod + def prepare_distribution_metadata( + self, + build_env_installer: BuildEnvironmentInstaller, + build_isolation: bool, + check_build_deps: bool, + ) -> None: + raise NotImplementedError() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/installed.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/installed.py new file mode 100644 index 0000000000000000000000000000000000000000..b6a67df24f4d160093ca1477081b3b81a5591a20 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/installed.py @@ -0,0 +1,33 @@ +from __future__ import annotations + +from typing import TYPE_CHECKING + +from pip._internal.distributions.base import AbstractDistribution +from pip._internal.metadata import BaseDistribution + +if TYPE_CHECKING: + from pip._internal.build_env import BuildEnvironmentInstaller + + +class InstalledDistribution(AbstractDistribution): + """Represents an installed package. + + This does not need any preparation as the required information has already + been computed. + """ + + @property + def build_tracker_id(self) -> str | None: + return None + + def get_metadata_distribution(self) -> BaseDistribution: + assert self.req.satisfied_by is not None, "not actually installed" + return self.req.satisfied_by + + def prepare_distribution_metadata( + self, + build_env_installer: BuildEnvironmentInstaller, + build_isolation: bool, + check_build_deps: bool, + ) -> None: + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py new file mode 100644 index 0000000000000000000000000000000000000000..e2821f89e0052f2b9c05c17cde87cc97e57bd474 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py @@ -0,0 +1,165 @@ +from __future__ import annotations + +import logging +from collections.abc import Iterable +from typing import TYPE_CHECKING + +from pip._internal.build_env import BuildEnvironment +from pip._internal.distributions.base import AbstractDistribution +from pip._internal.exceptions import InstallationError +from pip._internal.metadata import BaseDistribution +from pip._internal.utils.subprocess import runner_with_spinner_message + +if TYPE_CHECKING: + from pip._internal.build_env import BuildEnvironmentInstaller + +logger = logging.getLogger(__name__) + + +class SourceDistribution(AbstractDistribution): + """Represents a source distribution. + + The preparation step for these needs metadata for the packages to be + generated, either using PEP 517 or using the legacy `setup.py egg_info`. + """ + + @property + def build_tracker_id(self) -> str | None: + """Identify this requirement uniquely by its link.""" + assert self.req.link + return self.req.link.url_without_fragment + + def get_metadata_distribution(self) -> BaseDistribution: + return self.req.get_dist() + + def prepare_distribution_metadata( + self, + build_env_installer: BuildEnvironmentInstaller, + build_isolation: bool, + check_build_deps: bool, + ) -> None: + # Load pyproject.toml, to determine whether PEP 517 is to be used + self.req.load_pyproject_toml() + + # Set up the build isolation, if this requirement should be isolated + should_isolate = self.req.use_pep517 and build_isolation + if should_isolate: + # Setup an isolated environment and install the build backend static + # requirements in it. + self._prepare_build_backend(build_env_installer) + # Check that if the requirement is editable, it either supports PEP 660 or + # has a setup.py or a setup.cfg. This cannot be done earlier because we need + # to setup the build backend to verify it supports build_editable, nor can + # it be done later, because we want to avoid installing build requirements + # needlessly. Doing it here also works around setuptools generating + # UNKNOWN.egg-info when running get_requires_for_build_wheel on a directory + # without setup.py nor setup.cfg. + self.req.isolated_editable_sanity_check() + # Install the dynamic build requirements. + self._install_build_reqs(build_env_installer) + # Check if the current environment provides build dependencies + should_check_deps = self.req.use_pep517 and check_build_deps + if should_check_deps: + pyproject_requires = self.req.pyproject_requires + assert pyproject_requires is not None + conflicting, missing = self.req.build_env.check_requirements( + pyproject_requires + ) + if conflicting: + self._raise_conflicts("the backend dependencies", conflicting) + if missing: + self._raise_missing_reqs(missing) + self.req.prepare_metadata() + + def _prepare_build_backend( + self, build_env_installer: BuildEnvironmentInstaller + ) -> None: + # Isolate in a BuildEnvironment and install the build-time + # requirements. + pyproject_requires = self.req.pyproject_requires + assert pyproject_requires is not None + + self.req.build_env = BuildEnvironment(build_env_installer) + self.req.build_env.install_requirements( + pyproject_requires, "overlay", kind="build dependencies", for_req=self.req + ) + conflicting, missing = self.req.build_env.check_requirements( + self.req.requirements_to_check + ) + if conflicting: + self._raise_conflicts("PEP 517/518 supported requirements", conflicting) + if missing: + logger.warning( + "Missing build requirements in pyproject.toml for %s.", + self.req, + ) + logger.warning( + "The project does not specify a build backend, and " + "pip cannot fall back to setuptools without %s.", + " and ".join(map(repr, sorted(missing))), + ) + + def _get_build_requires_wheel(self) -> Iterable[str]: + with self.req.build_env: + runner = runner_with_spinner_message("Getting requirements to build wheel") + backend = self.req.pep517_backend + assert backend is not None + with backend.subprocess_runner(runner): + return backend.get_requires_for_build_wheel() + + def _get_build_requires_editable(self) -> Iterable[str]: + with self.req.build_env: + runner = runner_with_spinner_message( + "Getting requirements to build editable" + ) + backend = self.req.pep517_backend + assert backend is not None + with backend.subprocess_runner(runner): + return backend.get_requires_for_build_editable() + + def _install_build_reqs( + self, build_env_installer: BuildEnvironmentInstaller + ) -> None: + # Install any extra build dependencies that the backend requests. + # This must be done in a second pass, as the pyproject.toml + # dependencies must be installed before we can call the backend. + if ( + self.req.editable + and self.req.permit_editable_wheels + and self.req.supports_pyproject_editable + ): + build_reqs = self._get_build_requires_editable() + else: + build_reqs = self._get_build_requires_wheel() + conflicting, missing = self.req.build_env.check_requirements(build_reqs) + if conflicting: + self._raise_conflicts("the backend dependencies", conflicting) + self.req.build_env.install_requirements( + missing, "normal", kind="backend dependencies", for_req=self.req + ) + + def _raise_conflicts( + self, conflicting_with: str, conflicting_reqs: set[tuple[str, str]] + ) -> None: + format_string = ( + "Some build dependencies for {requirement} " + "conflict with {conflicting_with}: {description}." + ) + error_message = format_string.format( + requirement=self.req, + conflicting_with=conflicting_with, + description=", ".join( + f"{installed} is incompatible with {wanted}" + for installed, wanted in sorted(conflicting_reqs) + ), + ) + raise InstallationError(error_message) + + def _raise_missing_reqs(self, missing: set[str]) -> None: + format_string = ( + "Some build dependencies for {requirement} are missing: {missing}." + ) + error_message = format_string.format( + requirement=self.req, missing=", ".join(map(repr, sorted(missing))) + ) + raise InstallationError(error_message) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/wheel.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/wheel.py new file mode 100644 index 0000000000000000000000000000000000000000..ee12bfadc2e9ed04a9e7e4e597d2a95ab8980c82 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/distributions/wheel.py @@ -0,0 +1,44 @@ +from __future__ import annotations + +from typing import TYPE_CHECKING + +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.distributions.base import AbstractDistribution +from pip._internal.metadata import ( + BaseDistribution, + FilesystemWheel, + get_wheel_distribution, +) + +if TYPE_CHECKING: + from pip._internal.build_env import BuildEnvironmentInstaller + + +class WheelDistribution(AbstractDistribution): + """Represents a wheel distribution. + + This does not need any preparation as wheels can be directly unpacked. + """ + + @property + def build_tracker_id(self) -> str | None: + return None + + def get_metadata_distribution(self) -> BaseDistribution: + """Loads the metadata from the wheel file into memory and returns a + Distribution that uses it, not relying on the wheel file or + requirement. + """ + assert self.req.local_file_path, "Set as part of preparation during download" + assert self.req.name, "Wheels are never unnamed" + wheel = FilesystemWheel(self.req.local_file_path) + return get_wheel_distribution(wheel, canonicalize_name(self.req.name)) + + def prepare_distribution_metadata( + self, + build_env_installer: BuildEnvironmentInstaller, + build_isolation: bool, + check_build_deps: bool, + ) -> None: + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..98f95494c62a7e6eb3f63b296c7b65db839303af --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/exceptions.py @@ -0,0 +1,881 @@ +"""Exceptions used throughout package. + +This module MUST NOT try to import from anything within `pip._internal` to +operate. This is expected to be importable from any/all files within the +subpackage and, thus, should not depend on them. +""" + +from __future__ import annotations + +import configparser +import contextlib +import locale +import logging +import pathlib +import re +import sys +from collections.abc import Iterator +from itertools import chain, groupby, repeat +from typing import TYPE_CHECKING, Literal + +from pip._vendor.packaging.requirements import InvalidRequirement +from pip._vendor.packaging.version import InvalidVersion +from pip._vendor.rich.console import Console, ConsoleOptions, RenderResult +from pip._vendor.rich.markup import escape +from pip._vendor.rich.text import Text + +if TYPE_CHECKING: + from hashlib import _Hash + + from pip._vendor.requests.models import Request, Response + + from pip._internal.metadata import BaseDistribution + from pip._internal.network.download import _FileDownload + from pip._internal.req.req_install import InstallRequirement + +logger = logging.getLogger(__name__) + + +# +# Scaffolding +# +def _is_kebab_case(s: str) -> bool: + return re.match(r"^[a-z]+(-[a-z]+)*$", s) is not None + + +def _prefix_with_indent( + s: Text | str, + console: Console, + *, + prefix: str, + indent: str, +) -> Text: + if isinstance(s, Text): + text = s + else: + text = console.render_str(s) + + return console.render_str(prefix, overflow="ignore") + console.render_str( + f"\n{indent}", overflow="ignore" + ).join(text.split(allow_blank=True)) + + +class PipError(Exception): + """The base pip error.""" + + +class DiagnosticPipError(PipError): + """An error, that presents diagnostic information to the user. + + This contains a bunch of logic, to enable pretty presentation of our error + messages. Each error gets a unique reference. Each error can also include + additional context, a hint and/or a note -- which are presented with the + main error message in a consistent style. + + This is adapted from the error output styling in `sphinx-theme-builder`. + """ + + reference: str + + def __init__( + self, + *, + kind: Literal["error", "warning"] = "error", + reference: str | None = None, + message: str | Text, + context: str | Text | None, + hint_stmt: str | Text | None, + note_stmt: str | Text | None = None, + link: str | None = None, + ) -> None: + # Ensure a proper reference is provided. + if reference is None: + assert hasattr(self, "reference"), "error reference not provided!" + reference = self.reference + assert _is_kebab_case(reference), "error reference must be kebab-case!" + + self.kind = kind + self.reference = reference + + self.message = message + self.context = context + + self.note_stmt = note_stmt + self.hint_stmt = hint_stmt + + self.link = link + + super().__init__(f"<{self.__class__.__name__}: {self.reference}>") + + def __repr__(self) -> str: + return ( + f"<{self.__class__.__name__}(" + f"reference={self.reference!r}, " + f"message={self.message!r}, " + f"context={self.context!r}, " + f"note_stmt={self.note_stmt!r}, " + f"hint_stmt={self.hint_stmt!r}" + ")>" + ) + + def __rich_console__( + self, + console: Console, + options: ConsoleOptions, + ) -> RenderResult: + colour = "red" if self.kind == "error" else "yellow" + + yield f"[{colour} bold]{self.kind}[/]: [bold]{self.reference}[/]" + yield "" + + if not options.ascii_only: + # Present the main message, with relevant context indented. + if self.context is not None: + yield _prefix_with_indent( + self.message, + console, + prefix=f"[{colour}]×[/] ", + indent=f"[{colour}]│[/] ", + ) + yield _prefix_with_indent( + self.context, + console, + prefix=f"[{colour}]╰─>[/] ", + indent=f"[{colour}] [/] ", + ) + else: + yield _prefix_with_indent( + self.message, + console, + prefix="[red]×[/] ", + indent=" ", + ) + else: + yield self.message + if self.context is not None: + yield "" + yield self.context + + if self.note_stmt is not None or self.hint_stmt is not None: + yield "" + + if self.note_stmt is not None: + yield _prefix_with_indent( + self.note_stmt, + console, + prefix="[magenta bold]note[/]: ", + indent=" ", + ) + if self.hint_stmt is not None: + yield _prefix_with_indent( + self.hint_stmt, + console, + prefix="[cyan bold]hint[/]: ", + indent=" ", + ) + + if self.link is not None: + yield "" + yield f"Link: {self.link}" + + +# +# Actual Errors +# +class ConfigurationError(PipError): + """General exception in configuration""" + + +class InstallationError(PipError): + """General exception during installation""" + + +class MissingPyProjectBuildRequires(DiagnosticPipError): + """Raised when pyproject.toml has `build-system`, but no `build-system.requires`.""" + + reference = "missing-pyproject-build-system-requires" + + def __init__(self, *, package: str) -> None: + super().__init__( + message=f"Can not process {escape(package)}", + context=Text( + "This package has an invalid pyproject.toml file.\n" + "The [build-system] table is missing the mandatory `requires` key." + ), + note_stmt="This is an issue with the package mentioned above, not pip.", + hint_stmt=Text("See PEP 518 for the detailed specification."), + ) + + +class InvalidPyProjectBuildRequires(DiagnosticPipError): + """Raised when pyproject.toml an invalid `build-system.requires`.""" + + reference = "invalid-pyproject-build-system-requires" + + def __init__(self, *, package: str, reason: str) -> None: + super().__init__( + message=f"Can not process {escape(package)}", + context=Text( + "This package has an invalid `build-system.requires` key in " + f"pyproject.toml.\n{reason}" + ), + note_stmt="This is an issue with the package mentioned above, not pip.", + hint_stmt=Text("See PEP 518 for the detailed specification."), + ) + + +class NoneMetadataError(PipError): + """Raised when accessing a Distribution's "METADATA" or "PKG-INFO". + + This signifies an inconsistency, when the Distribution claims to have + the metadata file (if not, raise ``FileNotFoundError`` instead), but is + not actually able to produce its content. This may be due to permission + errors. + """ + + def __init__( + self, + dist: BaseDistribution, + metadata_name: str, + ) -> None: + """ + :param dist: A Distribution object. + :param metadata_name: The name of the metadata being accessed + (can be "METADATA" or "PKG-INFO"). + """ + self.dist = dist + self.metadata_name = metadata_name + + def __str__(self) -> str: + # Use `dist` in the error message because its stringification + # includes more information, like the version and location. + return f"None {self.metadata_name} metadata found for distribution: {self.dist}" + + +class UserInstallationInvalid(InstallationError): + """A --user install is requested on an environment without user site.""" + + def __str__(self) -> str: + return "User base directory is not specified" + + +class InvalidSchemeCombination(InstallationError): + def __str__(self) -> str: + before = ", ".join(str(a) for a in self.args[:-1]) + return f"Cannot set {before} and {self.args[-1]} together" + + +class DistributionNotFound(InstallationError): + """Raised when a distribution cannot be found to satisfy a requirement""" + + +class RequirementsFileParseError(InstallationError): + """Raised when a general error occurs parsing a requirements file line.""" + + +class BestVersionAlreadyInstalled(PipError): + """Raised when the most up-to-date version of a package is already + installed.""" + + +class BadCommand(PipError): + """Raised when virtualenv or a command is not found""" + + +class CommandError(PipError): + """Raised when there is an error in command-line arguments""" + + +class PreviousBuildDirError(PipError): + """Raised when there's a previous conflicting build directory""" + + +class NetworkConnectionError(PipError): + """HTTP connection error""" + + def __init__( + self, + error_msg: str, + response: Response | None = None, + request: Request | None = None, + ) -> None: + """ + Initialize NetworkConnectionError with `request` and `response` + objects. + """ + self.response = response + self.request = request + self.error_msg = error_msg + if ( + self.response is not None + and not self.request + and hasattr(response, "request") + ): + self.request = self.response.request + super().__init__(error_msg, response, request) + + def __str__(self) -> str: + return str(self.error_msg) + + +class InvalidWheelFilename(InstallationError): + """Invalid wheel filename.""" + + +class UnsupportedWheel(InstallationError): + """Unsupported wheel.""" + + +class InvalidWheel(InstallationError): + """Invalid (e.g. corrupt) wheel.""" + + def __init__(self, location: str, name: str): + self.location = location + self.name = name + + def __str__(self) -> str: + return f"Wheel '{self.name}' located at {self.location} is invalid." + + +class MetadataInconsistent(InstallationError): + """Built metadata contains inconsistent information. + + This is raised when the metadata contains values (e.g. name and version) + that do not match the information previously obtained from sdist filename, + user-supplied ``#egg=`` value, or an install requirement name. + """ + + def __init__( + self, ireq: InstallRequirement, field: str, f_val: str, m_val: str + ) -> None: + self.ireq = ireq + self.field = field + self.f_val = f_val + self.m_val = m_val + + def __str__(self) -> str: + return ( + f"Requested {self.ireq} has inconsistent {self.field}: " + f"expected {self.f_val!r}, but metadata has {self.m_val!r}" + ) + + +class MetadataInvalid(InstallationError): + """Metadata is invalid.""" + + def __init__(self, ireq: InstallRequirement, error: str) -> None: + self.ireq = ireq + self.error = error + + def __str__(self) -> str: + return f"Requested {self.ireq} has invalid metadata: {self.error}" + + +class InstallationSubprocessError(DiagnosticPipError, InstallationError): + """A subprocess call failed.""" + + reference = "subprocess-exited-with-error" + + def __init__( + self, + *, + command_description: str, + exit_code: int, + output_lines: list[str] | None, + ) -> None: + if output_lines is None: + output_prompt = Text("See above for output.") + else: + output_prompt = ( + Text.from_markup(f"[red][{len(output_lines)} lines of output][/]\n") + + Text("".join(output_lines)) + + Text.from_markup(R"[red]\[end of output][/]") + ) + + super().__init__( + message=( + f"[green]{escape(command_description)}[/] did not run successfully.\n" + f"exit code: {exit_code}" + ), + context=output_prompt, + hint_stmt=None, + note_stmt=( + "This error originates from a subprocess, and is likely not a " + "problem with pip." + ), + ) + + self.command_description = command_description + self.exit_code = exit_code + + def __str__(self) -> str: + return f"{self.command_description} exited with {self.exit_code}" + + +class MetadataGenerationFailed(InstallationSubprocessError, InstallationError): + reference = "metadata-generation-failed" + + def __init__( + self, + *, + package_details: str, + ) -> None: + super(InstallationSubprocessError, self).__init__( + message="Encountered error while generating package metadata.", + context=escape(package_details), + hint_stmt="See above for details.", + note_stmt="This is an issue with the package mentioned above, not pip.", + ) + + def __str__(self) -> str: + return "metadata generation failed" + + +class HashErrors(InstallationError): + """Multiple HashError instances rolled into one for reporting""" + + def __init__(self) -> None: + self.errors: list[HashError] = [] + + def append(self, error: HashError) -> None: + self.errors.append(error) + + def __str__(self) -> str: + lines = [] + self.errors.sort(key=lambda e: e.order) + for cls, errors_of_cls in groupby(self.errors, lambda e: e.__class__): + lines.append(cls.head) + lines.extend(e.body() for e in errors_of_cls) + if lines: + return "\n".join(lines) + return "" + + def __bool__(self) -> bool: + return bool(self.errors) + + +class HashError(InstallationError): + """ + A failure to verify a package against known-good hashes + + :cvar order: An int sorting hash exception classes by difficulty of + recovery (lower being harder), so the user doesn't bother fretting + about unpinned packages when he has deeper issues, like VCS + dependencies, to deal with. Also keeps error reports in a + deterministic order. + :cvar head: A section heading for display above potentially many + exceptions of this kind + :ivar req: The InstallRequirement that triggered this error. This is + pasted on after the exception is instantiated, because it's not + typically available earlier. + + """ + + req: InstallRequirement | None = None + head = "" + order: int = -1 + + def body(self) -> str: + """Return a summary of me for display under the heading. + + This default implementation simply prints a description of the + triggering requirement. + + :param req: The InstallRequirement that provoked this error, with + its link already populated by the resolver's _populate_link(). + + """ + return f" {self._requirement_name()}" + + def __str__(self) -> str: + return f"{self.head}\n{self.body()}" + + def _requirement_name(self) -> str: + """Return a description of the requirement that triggered me. + + This default implementation returns long description of the req, with + line numbers + + """ + return str(self.req) if self.req else "unknown package" + + +class VcsHashUnsupported(HashError): + """A hash was provided for a version-control-system-based requirement, but + we don't have a method for hashing those.""" + + order = 0 + head = ( + "Can't verify hashes for these requirements because we don't " + "have a way to hash version control repositories:" + ) + + +class DirectoryUrlHashUnsupported(HashError): + """A hash was provided for a version-control-system-based requirement, but + we don't have a method for hashing those.""" + + order = 1 + head = ( + "Can't verify hashes for these file:// requirements because they " + "point to directories:" + ) + + +class HashMissing(HashError): + """A hash was needed for a requirement but is absent.""" + + order = 2 + head = ( + "Hashes are required in --require-hashes mode, but they are " + "missing from some requirements. Here is a list of those " + "requirements along with the hashes their downloaded archives " + "actually had. Add lines like these to your requirements files to " + "prevent tampering. (If you did not enable --require-hashes " + "manually, note that it turns on automatically when any package " + "has a hash.)" + ) + + def __init__(self, gotten_hash: str) -> None: + """ + :param gotten_hash: The hash of the (possibly malicious) archive we + just downloaded + """ + self.gotten_hash = gotten_hash + + def body(self) -> str: + # Dodge circular import. + from pip._internal.utils.hashes import FAVORITE_HASH + + package = None + if self.req: + # In the case of URL-based requirements, display the original URL + # seen in the requirements file rather than the package name, + # so the output can be directly copied into the requirements file. + package = ( + self.req.original_link + if self.req.is_direct + # In case someone feeds something downright stupid + # to InstallRequirement's constructor. + else getattr(self.req, "req", None) + ) + return " {} --hash={}:{}".format( + package or "unknown package", FAVORITE_HASH, self.gotten_hash + ) + + +class HashUnpinned(HashError): + """A requirement had a hash specified but was not pinned to a specific + version.""" + + order = 3 + head = ( + "In --require-hashes mode, all requirements must have their " + "versions pinned with ==. These do not:" + ) + + +class HashMismatch(HashError): + """ + Distribution file hash values don't match. + + :ivar package_name: The name of the package that triggered the hash + mismatch. Feel free to write to this after the exception is raise to + improve its error message. + + """ + + order = 4 + head = ( + "THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS " + "FILE. If you have updated the package versions, please update " + "the hashes. Otherwise, examine the package contents carefully; " + "someone may have tampered with them." + ) + + def __init__(self, allowed: dict[str, list[str]], gots: dict[str, _Hash]) -> None: + """ + :param allowed: A dict of algorithm names pointing to lists of allowed + hex digests + :param gots: A dict of algorithm names pointing to hashes we + actually got from the files under suspicion + """ + self.allowed = allowed + self.gots = gots + + def body(self) -> str: + return f" {self._requirement_name()}:\n{self._hash_comparison()}" + + def _hash_comparison(self) -> str: + """ + Return a comparison of actual and expected hash values. + + Example:: + + Expected sha256 abcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcde + or 123451234512345123451234512345123451234512345 + Got bcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdefbcdef + + """ + + def hash_then_or(hash_name: str) -> chain[str]: + # For now, all the decent hashes have 6-char names, so we can get + # away with hard-coding space literals. + return chain([hash_name], repeat(" or")) + + lines: list[str] = [] + for hash_name, expecteds in self.allowed.items(): + prefix = hash_then_or(hash_name) + lines.extend((f" Expected {next(prefix)} {e}") for e in expecteds) + lines.append( + f" Got {self.gots[hash_name].hexdigest()}\n" + ) + return "\n".join(lines) + + +class UnsupportedPythonVersion(InstallationError): + """Unsupported python version according to Requires-Python package + metadata.""" + + +class ConfigurationFileCouldNotBeLoaded(ConfigurationError): + """When there are errors while loading a configuration file""" + + def __init__( + self, + reason: str = "could not be loaded", + fname: str | None = None, + error: configparser.Error | None = None, + ) -> None: + super().__init__(error) + self.reason = reason + self.fname = fname + self.error = error + + def __str__(self) -> str: + if self.fname is not None: + message_part = f" in {self.fname}." + else: + assert self.error is not None + message_part = f".\n{self.error}\n" + return f"Configuration file {self.reason}{message_part}" + + +_DEFAULT_EXTERNALLY_MANAGED_ERROR = f"""\ +The Python environment under {sys.prefix} is managed externally, and may not be +manipulated by the user. Please use specific tooling from the distributor of +the Python installation to interact with this environment instead. +""" + + +class ExternallyManagedEnvironment(DiagnosticPipError): + """The current environment is externally managed. + + This is raised when the current environment is externally managed, as + defined by `PEP 668`_. The ``EXTERNALLY-MANAGED`` configuration is checked + and displayed when the error is bubbled up to the user. + + :param error: The error message read from ``EXTERNALLY-MANAGED``. + """ + + reference = "externally-managed-environment" + + def __init__(self, error: str | None) -> None: + if error is None: + context = Text(_DEFAULT_EXTERNALLY_MANAGED_ERROR) + else: + context = Text(error) + super().__init__( + message="This environment is externally managed", + context=context, + note_stmt=( + "If you believe this is a mistake, please contact your " + "Python installation or OS distribution provider. " + "You can override this, at the risk of breaking your Python " + "installation or OS, by passing --break-system-packages." + ), + hint_stmt=Text("See PEP 668 for the detailed specification."), + ) + + @staticmethod + def _iter_externally_managed_error_keys() -> Iterator[str]: + # LC_MESSAGES is in POSIX, but not the C standard. The most common + # platform that does not implement this category is Windows, where + # using other categories for console message localization is equally + # unreliable, so we fall back to the locale-less vendor message. This + # can always be re-evaluated when a vendor proposes a new alternative. + try: + category = locale.LC_MESSAGES + except AttributeError: + lang: str | None = None + else: + lang, _ = locale.getlocale(category) + if lang is not None: + yield f"Error-{lang}" + for sep in ("-", "_"): + before, found, _ = lang.partition(sep) + if not found: + continue + yield f"Error-{before}" + yield "Error" + + @classmethod + def from_config( + cls, + config: pathlib.Path | str, + ) -> ExternallyManagedEnvironment: + parser = configparser.ConfigParser(interpolation=None) + try: + parser.read(config, encoding="utf-8") + section = parser["externally-managed"] + for key in cls._iter_externally_managed_error_keys(): + with contextlib.suppress(KeyError): + return cls(section[key]) + except KeyError: + pass + except (OSError, UnicodeDecodeError, configparser.ParsingError): + from pip._internal.utils._log import VERBOSE + + exc_info = logger.isEnabledFor(VERBOSE) + logger.warning("Failed to read %s", config, exc_info=exc_info) + return cls(None) + + +class UninstallMissingRecord(DiagnosticPipError): + reference = "uninstall-no-record-file" + + def __init__(self, *, distribution: BaseDistribution) -> None: + installer = distribution.installer + if not installer or installer == "pip": + dep = f"{distribution.raw_name}=={distribution.version}" + hint = Text.assemble( + "You might be able to recover from this via: ", + (f"pip install --force-reinstall --no-deps {dep}", "green"), + ) + else: + hint = Text( + f"The package was installed by {installer}. " + "You should check if it can uninstall the package." + ) + + super().__init__( + message=Text(f"Cannot uninstall {distribution}"), + context=( + "The package's contents are unknown: " + f"no RECORD file was found for {distribution.raw_name}." + ), + hint_stmt=hint, + ) + + +class LegacyDistutilsInstall(DiagnosticPipError): + reference = "uninstall-distutils-installed-package" + + def __init__(self, *, distribution: BaseDistribution) -> None: + super().__init__( + message=Text(f"Cannot uninstall {distribution}"), + context=( + "It is a distutils installed project and thus we cannot accurately " + "determine which files belong to it which would lead to only a partial " + "uninstall." + ), + hint_stmt=None, + ) + + +class InvalidInstalledPackage(DiagnosticPipError): + reference = "invalid-installed-package" + + def __init__( + self, + *, + dist: BaseDistribution, + invalid_exc: InvalidRequirement | InvalidVersion, + ) -> None: + installed_location = dist.installed_location + + if isinstance(invalid_exc, InvalidRequirement): + invalid_type = "requirement" + else: + invalid_type = "version" + + super().__init__( + message=Text( + f"Cannot process installed package {dist} " + + (f"in {installed_location!r} " if installed_location else "") + + f"because it has an invalid {invalid_type}:\n{invalid_exc.args[0]}" + ), + context=( + "Starting with pip 24.1, packages with invalid " + f"{invalid_type}s can not be processed." + ), + hint_stmt="To proceed this package must be uninstalled.", + ) + + +class IncompleteDownloadError(DiagnosticPipError): + """Raised when the downloader receives fewer bytes than advertised + in the Content-Length header.""" + + reference = "incomplete-download" + + def __init__(self, download: _FileDownload) -> None: + # Dodge circular import. + from pip._internal.utils.misc import format_size + + assert download.size is not None + download_status = ( + f"{format_size(download.bytes_received)}/{format_size(download.size)}" + ) + if download.reattempts: + retry_status = f"after {download.reattempts + 1} attempts " + hint = "Use --resume-retries to configure resume attempt limit." + else: + # Download retrying is not enabled. + retry_status = "" + hint = "Consider using --resume-retries to enable download resumption." + message = Text( + f"Download failed {retry_status}because not enough bytes " + f"were received ({download_status})" + ) + + super().__init__( + message=message, + context=f"URL: {download.link.redacted_url}", + hint_stmt=hint, + note_stmt="This is an issue with network connectivity, not pip.", + ) + + +class ResolutionTooDeepError(DiagnosticPipError): + """Raised when the dependency resolver exceeds the maximum recursion depth.""" + + reference = "resolution-too-deep" + + def __init__(self) -> None: + super().__init__( + message="Dependency resolution exceeded maximum depth", + context=( + "Pip cannot resolve the current dependencies as the dependency graph " + "is too complex for pip to solve efficiently." + ), + hint_stmt=( + "Try adding lower bounds to constrain your dependencies, " + "for example: 'package>=2.0.0' instead of just 'package'. " + ), + link="https://pip.pypa.io/en/stable/topics/dependency-resolution/#handling-resolution-too-deep-errors", + ) + + +class InstallWheelBuildError(DiagnosticPipError): + reference = "failed-wheel-build-for-install" + + def __init__(self, failed: list[InstallRequirement]) -> None: + super().__init__( + message=( + "Failed to build installable wheels for some " + "pyproject.toml based projects" + ), + context=", ".join(r.name for r in failed), # type: ignore + hint_stmt=None, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..197dd757de979bf116810a678a9c07baeaa7dba1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__init__.py @@ -0,0 +1 @@ +"""Index interaction code""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9063026ece6012f220cc29d657bb64ee53439cc1 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..254b0d084577e6b4616c42fdc134edc60cf1edeb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f8557d39372125ebf5923908e7b5639c6eb3b17a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d51384613127c6ef88a253a7b56659922650895c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/collector.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/collector.py new file mode 100644 index 0000000000000000000000000000000000000000..00d66daa3bf2a3246a07815984394b0b8103a6db --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/collector.py @@ -0,0 +1,489 @@ +""" +The main purpose of this module is to expose LinkCollector.collect_sources(). +""" + +from __future__ import annotations + +import collections +import email.message +import functools +import itertools +import json +import logging +import os +import urllib.parse +import urllib.request +from collections.abc import Iterable, MutableMapping, Sequence +from dataclasses import dataclass +from html.parser import HTMLParser +from optparse import Values +from typing import ( + Callable, + NamedTuple, + Protocol, +) + +from pip._vendor import requests +from pip._vendor.requests import Response +from pip._vendor.requests.exceptions import RetryError, SSLError + +from pip._internal.exceptions import NetworkConnectionError +from pip._internal.models.link import Link +from pip._internal.models.search_scope import SearchScope +from pip._internal.network.session import PipSession +from pip._internal.network.utils import raise_for_status +from pip._internal.utils.filetypes import is_archive_file +from pip._internal.utils.misc import redact_auth_from_url +from pip._internal.vcs import vcs + +from .sources import CandidatesFromPage, LinkSource, build_source + +logger = logging.getLogger(__name__) + +ResponseHeaders = MutableMapping[str, str] + + +def _match_vcs_scheme(url: str) -> str | None: + """Look for VCS schemes in the URL. + + Returns the matched VCS scheme, or None if there's no match. + """ + for scheme in vcs.schemes: + if url.lower().startswith(scheme) and url[len(scheme)] in "+:": + return scheme + return None + + +class _NotAPIContent(Exception): + def __init__(self, content_type: str, request_desc: str) -> None: + super().__init__(content_type, request_desc) + self.content_type = content_type + self.request_desc = request_desc + + +def _ensure_api_header(response: Response) -> None: + """ + Check the Content-Type header to ensure the response contains a Simple + API Response. + + Raises `_NotAPIContent` if the content type is not a valid content-type. + """ + content_type = response.headers.get("Content-Type", "Unknown") + + content_type_l = content_type.lower() + if content_type_l.startswith( + ( + "text/html", + "application/vnd.pypi.simple.v1+html", + "application/vnd.pypi.simple.v1+json", + ) + ): + return + + raise _NotAPIContent(content_type, response.request.method) + + +class _NotHTTP(Exception): + pass + + +def _ensure_api_response(url: str, session: PipSession) -> None: + """ + Send a HEAD request to the URL, and ensure the response contains a simple + API Response. + + Raises `_NotHTTP` if the URL is not available for a HEAD request, or + `_NotAPIContent` if the content type is not a valid content type. + """ + scheme, netloc, path, query, fragment = urllib.parse.urlsplit(url) + if scheme not in {"http", "https"}: + raise _NotHTTP() + + resp = session.head(url, allow_redirects=True) + raise_for_status(resp) + + _ensure_api_header(resp) + + +def _get_simple_response(url: str, session: PipSession) -> Response: + """Access an Simple API response with GET, and return the response. + + This consists of three parts: + + 1. If the URL looks suspiciously like an archive, send a HEAD first to + check the Content-Type is HTML or Simple API, to avoid downloading a + large file. Raise `_NotHTTP` if the content type cannot be determined, or + `_NotAPIContent` if it is not HTML or a Simple API. + 2. Actually perform the request. Raise HTTP exceptions on network failures. + 3. Check the Content-Type header to make sure we got a Simple API response, + and raise `_NotAPIContent` otherwise. + """ + if is_archive_file(Link(url).filename): + _ensure_api_response(url, session=session) + + logger.debug("Getting page %s", redact_auth_from_url(url)) + + resp = session.get( + url, + headers={ + "Accept": ", ".join( + [ + "application/vnd.pypi.simple.v1+json", + "application/vnd.pypi.simple.v1+html; q=0.1", + "text/html; q=0.01", + ] + ), + # We don't want to blindly returned cached data for + # /simple/, because authors generally expecting that + # twine upload && pip install will function, but if + # they've done a pip install in the last ~10 minutes + # it won't. Thus by setting this to zero we will not + # blindly use any cached data, however the benefit of + # using max-age=0 instead of no-cache, is that we will + # still support conditional requests, so we will still + # minimize traffic sent in cases where the page hasn't + # changed at all, we will just always incur the round + # trip for the conditional GET now instead of only + # once per 10 minutes. + # For more information, please see pypa/pip#5670. + "Cache-Control": "max-age=0", + }, + ) + raise_for_status(resp) + + # The check for archives above only works if the url ends with + # something that looks like an archive. However that is not a + # requirement of an url. Unless we issue a HEAD request on every + # url we cannot know ahead of time for sure if something is a + # Simple API response or not. However we can check after we've + # downloaded it. + _ensure_api_header(resp) + + logger.debug( + "Fetched page %s as %s", + redact_auth_from_url(url), + resp.headers.get("Content-Type", "Unknown"), + ) + + return resp + + +def _get_encoding_from_headers(headers: ResponseHeaders) -> str | None: + """Determine if we have any encoding information in our headers.""" + if headers and "Content-Type" in headers: + m = email.message.Message() + m["content-type"] = headers["Content-Type"] + charset = m.get_param("charset") + if charset: + return str(charset) + return None + + +class CacheablePageContent: + def __init__(self, page: IndexContent) -> None: + assert page.cache_link_parsing + self.page = page + + def __eq__(self, other: object) -> bool: + return isinstance(other, type(self)) and self.page.url == other.page.url + + def __hash__(self) -> int: + return hash(self.page.url) + + +class ParseLinks(Protocol): + def __call__(self, page: IndexContent) -> Iterable[Link]: ... + + +def with_cached_index_content(fn: ParseLinks) -> ParseLinks: + """ + Given a function that parses an Iterable[Link] from an IndexContent, cache the + function's result (keyed by CacheablePageContent), unless the IndexContent + `page` has `page.cache_link_parsing == False`. + """ + + @functools.cache + def wrapper(cacheable_page: CacheablePageContent) -> list[Link]: + return list(fn(cacheable_page.page)) + + @functools.wraps(fn) + def wrapper_wrapper(page: IndexContent) -> list[Link]: + if page.cache_link_parsing: + return wrapper(CacheablePageContent(page)) + return list(fn(page)) + + return wrapper_wrapper + + +@with_cached_index_content +def parse_links(page: IndexContent) -> Iterable[Link]: + """ + Parse a Simple API's Index Content, and yield its anchor elements as Link objects. + """ + + content_type_l = page.content_type.lower() + if content_type_l.startswith("application/vnd.pypi.simple.v1+json"): + data = json.loads(page.content) + for file in data.get("files", []): + link = Link.from_json(file, page.url) + if link is None: + continue + yield link + return + + parser = HTMLLinkParser(page.url) + encoding = page.encoding or "utf-8" + parser.feed(page.content.decode(encoding)) + + url = page.url + base_url = parser.base_url or url + for anchor in parser.anchors: + link = Link.from_element(anchor, page_url=url, base_url=base_url) + if link is None: + continue + yield link + + +@dataclass(frozen=True) +class IndexContent: + """Represents one response (or page), along with its URL. + + :param encoding: the encoding to decode the given content. + :param url: the URL from which the HTML was downloaded. + :param cache_link_parsing: whether links parsed from this page's url + should be cached. PyPI index urls should + have this set to False, for example. + """ + + content: bytes + content_type: str + encoding: str | None + url: str + cache_link_parsing: bool = True + + def __str__(self) -> str: + return redact_auth_from_url(self.url) + + +class HTMLLinkParser(HTMLParser): + """ + HTMLParser that keeps the first base HREF and a list of all anchor + elements' attributes. + """ + + def __init__(self, url: str) -> None: + super().__init__(convert_charrefs=True) + + self.url: str = url + self.base_url: str | None = None + self.anchors: list[dict[str, str | None]] = [] + + def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None: + if tag == "base" and self.base_url is None: + href = self.get_href(attrs) + if href is not None: + self.base_url = href + elif tag == "a": + self.anchors.append(dict(attrs)) + + def get_href(self, attrs: list[tuple[str, str | None]]) -> str | None: + for name, value in attrs: + if name == "href": + return value + return None + + +def _handle_get_simple_fail( + link: Link, + reason: str | Exception, + meth: Callable[..., None] | None = None, +) -> None: + if meth is None: + meth = logger.debug + meth("Could not fetch URL %s: %s - skipping", link, reason) + + +def _make_index_content( + response: Response, cache_link_parsing: bool = True +) -> IndexContent: + encoding = _get_encoding_from_headers(response.headers) + return IndexContent( + response.content, + response.headers["Content-Type"], + encoding=encoding, + url=response.url, + cache_link_parsing=cache_link_parsing, + ) + + +def _get_index_content(link: Link, *, session: PipSession) -> IndexContent | None: + url = link.url.split("#", 1)[0] + + # Check for VCS schemes that do not support lookup as web pages. + vcs_scheme = _match_vcs_scheme(url) + if vcs_scheme: + logger.warning( + "Cannot look at %s URL %s because it does not support lookup as web pages.", + vcs_scheme, + link, + ) + return None + + # Tack index.html onto file:// URLs that point to directories + scheme, _, path, _, _, _ = urllib.parse.urlparse(url) + if scheme == "file" and os.path.isdir(urllib.request.url2pathname(path)): + # add trailing slash if not present so urljoin doesn't trim + # final segment + if not url.endswith("/"): + url += "/" + # TODO: In the future, it would be nice if pip supported PEP 691 + # style responses in the file:// URLs, however there's no + # standard file extension for application/vnd.pypi.simple.v1+json + # so we'll need to come up with something on our own. + url = urllib.parse.urljoin(url, "index.html") + logger.debug(" file: URL is directory, getting %s", url) + + try: + resp = _get_simple_response(url, session=session) + except _NotHTTP: + logger.warning( + "Skipping page %s because it looks like an archive, and cannot " + "be checked by a HTTP HEAD request.", + link, + ) + except _NotAPIContent as exc: + logger.warning( + "Skipping page %s because the %s request got Content-Type: %s. " + "The only supported Content-Types are application/vnd.pypi.simple.v1+json, " + "application/vnd.pypi.simple.v1+html, and text/html", + link, + exc.request_desc, + exc.content_type, + ) + except NetworkConnectionError as exc: + _handle_get_simple_fail(link, exc) + except RetryError as exc: + _handle_get_simple_fail(link, exc) + except SSLError as exc: + reason = "There was a problem confirming the ssl certificate: " + reason += str(exc) + _handle_get_simple_fail(link, reason, meth=logger.info) + except requests.ConnectionError as exc: + _handle_get_simple_fail(link, f"connection error: {exc}") + except requests.Timeout: + _handle_get_simple_fail(link, "timed out") + else: + return _make_index_content(resp, cache_link_parsing=link.cache_link_parsing) + return None + + +class CollectedSources(NamedTuple): + find_links: Sequence[LinkSource | None] + index_urls: Sequence[LinkSource | None] + + +class LinkCollector: + """ + Responsible for collecting Link objects from all configured locations, + making network requests as needed. + + The class's main method is its collect_sources() method. + """ + + def __init__( + self, + session: PipSession, + search_scope: SearchScope, + ) -> None: + self.search_scope = search_scope + self.session = session + + @classmethod + def create( + cls, + session: PipSession, + options: Values, + suppress_no_index: bool = False, + ) -> LinkCollector: + """ + :param session: The Session to use to make requests. + :param suppress_no_index: Whether to ignore the --no-index option + when constructing the SearchScope object. + """ + index_urls = [options.index_url] + options.extra_index_urls + if options.no_index and not suppress_no_index: + logger.debug( + "Ignoring indexes: %s", + ",".join(redact_auth_from_url(url) for url in index_urls), + ) + index_urls = [] + + # Make sure find_links is a list before passing to create(). + find_links = options.find_links or [] + + search_scope = SearchScope.create( + find_links=find_links, + index_urls=index_urls, + no_index=options.no_index, + ) + link_collector = LinkCollector( + session=session, + search_scope=search_scope, + ) + return link_collector + + @property + def find_links(self) -> list[str]: + return self.search_scope.find_links + + def fetch_response(self, location: Link) -> IndexContent | None: + """ + Fetch an HTML page containing package links. + """ + return _get_index_content(location, session=self.session) + + def collect_sources( + self, + project_name: str, + candidates_from_page: CandidatesFromPage, + ) -> CollectedSources: + # The OrderedDict calls deduplicate sources by URL. + index_url_sources = collections.OrderedDict( + build_source( + loc, + candidates_from_page=candidates_from_page, + page_validator=self.session.is_secure_origin, + expand_dir=False, + cache_link_parsing=False, + project_name=project_name, + ) + for loc in self.search_scope.get_index_urls_locations(project_name) + ).values() + find_links_sources = collections.OrderedDict( + build_source( + loc, + candidates_from_page=candidates_from_page, + page_validator=self.session.is_secure_origin, + expand_dir=True, + cache_link_parsing=True, + project_name=project_name, + ) + for loc in self.find_links + ).values() + + if logger.isEnabledFor(logging.DEBUG): + lines = [ + f"* {s.link}" + for s in itertools.chain(find_links_sources, index_url_sources) + if s is not None and s.link is not None + ] + lines = [ + f"{len(lines)} location(s) to search " + f"for versions of {project_name}:" + ] + lines + logger.debug("\n".join(lines)) + + return CollectedSources( + find_links=list(find_links_sources), + index_urls=list(index_url_sources), + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/package_finder.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/package_finder.py new file mode 100644 index 0000000000000000000000000000000000000000..bc523cd42d830679f4e467632fda3fc57ecca071 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/package_finder.py @@ -0,0 +1,1059 @@ +"""Routines related to PyPI, indexes""" + +from __future__ import annotations + +import enum +import functools +import itertools +import logging +import re +from collections.abc import Iterable +from dataclasses import dataclass +from typing import ( + TYPE_CHECKING, + Optional, + Union, +) + +from pip._vendor.packaging import specifiers +from pip._vendor.packaging.tags import Tag +from pip._vendor.packaging.utils import canonicalize_name +from pip._vendor.packaging.version import InvalidVersion, _BaseVersion +from pip._vendor.packaging.version import parse as parse_version + +from pip._internal.exceptions import ( + BestVersionAlreadyInstalled, + DistributionNotFound, + InvalidWheelFilename, + UnsupportedWheel, +) +from pip._internal.index.collector import LinkCollector, parse_links +from pip._internal.models.candidate import InstallationCandidate +from pip._internal.models.format_control import FormatControl +from pip._internal.models.link import Link +from pip._internal.models.search_scope import SearchScope +from pip._internal.models.selection_prefs import SelectionPreferences +from pip._internal.models.target_python import TargetPython +from pip._internal.models.wheel import Wheel +from pip._internal.req import InstallRequirement +from pip._internal.utils._log import getLogger +from pip._internal.utils.filetypes import WHEEL_EXTENSION +from pip._internal.utils.hashes import Hashes +from pip._internal.utils.logging import indent_log +from pip._internal.utils.misc import build_netloc +from pip._internal.utils.packaging import check_requires_python +from pip._internal.utils.unpacking import SUPPORTED_EXTENSIONS + +if TYPE_CHECKING: + from typing_extensions import TypeGuard + +__all__ = ["FormatControl", "BestCandidateResult", "PackageFinder"] + + +logger = getLogger(__name__) + +BuildTag = Union[tuple[()], tuple[int, str]] +CandidateSortingKey = tuple[int, int, int, _BaseVersion, Optional[int], BuildTag] + + +def _check_link_requires_python( + link: Link, + version_info: tuple[int, int, int], + ignore_requires_python: bool = False, +) -> bool: + """ + Return whether the given Python version is compatible with a link's + "Requires-Python" value. + + :param version_info: A 3-tuple of ints representing the Python + major-minor-micro version to check. + :param ignore_requires_python: Whether to ignore the "Requires-Python" + value if the given Python version isn't compatible. + """ + try: + is_compatible = check_requires_python( + link.requires_python, + version_info=version_info, + ) + except specifiers.InvalidSpecifier: + logger.debug( + "Ignoring invalid Requires-Python (%r) for link: %s", + link.requires_python, + link, + ) + else: + if not is_compatible: + version = ".".join(map(str, version_info)) + if not ignore_requires_python: + logger.verbose( + "Link requires a different Python (%s not in: %r): %s", + version, + link.requires_python, + link, + ) + return False + + logger.debug( + "Ignoring failed Requires-Python check (%s not in: %r) for link: %s", + version, + link.requires_python, + link, + ) + + return True + + +class LinkType(enum.Enum): + candidate = enum.auto() + different_project = enum.auto() + yanked = enum.auto() + format_unsupported = enum.auto() + format_invalid = enum.auto() + platform_mismatch = enum.auto() + requires_python_mismatch = enum.auto() + + +class LinkEvaluator: + """ + Responsible for evaluating links for a particular project. + """ + + _py_version_re = re.compile(r"-py([123]\.?[0-9]?)$") + + # Don't include an allow_yanked default value to make sure each call + # site considers whether yanked releases are allowed. This also causes + # that decision to be made explicit in the calling code, which helps + # people when reading the code. + def __init__( + self, + project_name: str, + canonical_name: str, + formats: frozenset[str], + target_python: TargetPython, + allow_yanked: bool, + ignore_requires_python: bool | None = None, + ) -> None: + """ + :param project_name: The user supplied package name. + :param canonical_name: The canonical package name. + :param formats: The formats allowed for this package. Should be a set + with 'binary' or 'source' or both in it. + :param target_python: The target Python interpreter to use when + evaluating link compatibility. This is used, for example, to + check wheel compatibility, as well as when checking the Python + version, e.g. the Python version embedded in a link filename + (or egg fragment) and against an HTML link's optional PEP 503 + "data-requires-python" attribute. + :param allow_yanked: Whether files marked as yanked (in the sense + of PEP 592) are permitted to be candidates for install. + :param ignore_requires_python: Whether to ignore incompatible + PEP 503 "data-requires-python" values in HTML links. Defaults + to False. + """ + if ignore_requires_python is None: + ignore_requires_python = False + + self._allow_yanked = allow_yanked + self._canonical_name = canonical_name + self._ignore_requires_python = ignore_requires_python + self._formats = formats + self._target_python = target_python + + self.project_name = project_name + + def evaluate_link(self, link: Link) -> tuple[LinkType, str]: + """ + Determine whether a link is a candidate for installation. + + :return: A tuple (result, detail), where *result* is an enum + representing whether the evaluation found a candidate, or the reason + why one is not found. If a candidate is found, *detail* will be the + candidate's version string; if one is not found, it contains the + reason the link fails to qualify. + """ + version = None + if link.is_yanked and not self._allow_yanked: + reason = link.yanked_reason or "" + return (LinkType.yanked, f"yanked for reason: {reason}") + + if link.egg_fragment: + egg_info = link.egg_fragment + ext = link.ext + else: + egg_info, ext = link.splitext() + if not ext: + return (LinkType.format_unsupported, "not a file") + if ext not in SUPPORTED_EXTENSIONS: + return ( + LinkType.format_unsupported, + f"unsupported archive format: {ext}", + ) + if "binary" not in self._formats and ext == WHEEL_EXTENSION: + reason = f"No binaries permitted for {self.project_name}" + return (LinkType.format_unsupported, reason) + if "macosx10" in link.path and ext == ".zip": + return (LinkType.format_unsupported, "macosx10 one") + if ext == WHEEL_EXTENSION: + try: + wheel = Wheel(link.filename) + except InvalidWheelFilename: + return ( + LinkType.format_invalid, + "invalid wheel filename", + ) + if canonicalize_name(wheel.name) != self._canonical_name: + reason = f"wrong project name (not {self.project_name})" + return (LinkType.different_project, reason) + + supported_tags = self._target_python.get_unsorted_tags() + if not wheel.supported(supported_tags): + # Include the wheel's tags in the reason string to + # simplify troubleshooting compatibility issues. + file_tags = ", ".join(wheel.get_formatted_file_tags()) + reason = ( + f"none of the wheel's tags ({file_tags}) are compatible " + f"(run pip debug --verbose to show compatible tags)" + ) + return (LinkType.platform_mismatch, reason) + + version = wheel.version + + # This should be up by the self.ok_binary check, but see issue 2700. + if "source" not in self._formats and ext != WHEEL_EXTENSION: + reason = f"No sources permitted for {self.project_name}" + return (LinkType.format_unsupported, reason) + + if not version: + version = _extract_version_from_fragment( + egg_info, + self._canonical_name, + ) + if not version: + reason = f"Missing project version for {self.project_name}" + return (LinkType.format_invalid, reason) + + match = self._py_version_re.search(version) + if match: + version = version[: match.start()] + py_version = match.group(1) + if py_version != self._target_python.py_version: + return ( + LinkType.platform_mismatch, + "Python version is incorrect", + ) + + supports_python = _check_link_requires_python( + link, + version_info=self._target_python.py_version_info, + ignore_requires_python=self._ignore_requires_python, + ) + if not supports_python: + requires_python = link.requires_python + if requires_python: + + def get_version_sort_key(v: str) -> tuple[int, ...]: + return tuple(int(s) for s in v.split(".") if s.isdigit()) + + requires_python = ",".join( + sorted( + (str(s) for s in specifiers.SpecifierSet(requires_python)), + key=get_version_sort_key, + ) + ) + reason = f"{version} Requires-Python {requires_python}" + return (LinkType.requires_python_mismatch, reason) + + logger.debug("Found link %s, version: %s", link, version) + + return (LinkType.candidate, version) + + +def filter_unallowed_hashes( + candidates: list[InstallationCandidate], + hashes: Hashes | None, + project_name: str, +) -> list[InstallationCandidate]: + """ + Filter out candidates whose hashes aren't allowed, and return a new + list of candidates. + + If at least one candidate has an allowed hash, then all candidates with + either an allowed hash or no hash specified are returned. Otherwise, + the given candidates are returned. + + Including the candidates with no hash specified when there is a match + allows a warning to be logged if there is a more preferred candidate + with no hash specified. Returning all candidates in the case of no + matches lets pip report the hash of the candidate that would otherwise + have been installed (e.g. permitting the user to more easily update + their requirements file with the desired hash). + """ + if not hashes: + logger.debug( + "Given no hashes to check %s links for project %r: " + "discarding no candidates", + len(candidates), + project_name, + ) + # Make sure we're not returning back the given value. + return list(candidates) + + matches_or_no_digest = [] + # Collect the non-matches for logging purposes. + non_matches = [] + match_count = 0 + for candidate in candidates: + link = candidate.link + if not link.has_hash: + pass + elif link.is_hash_allowed(hashes=hashes): + match_count += 1 + else: + non_matches.append(candidate) + continue + + matches_or_no_digest.append(candidate) + + if match_count: + filtered = matches_or_no_digest + else: + # Make sure we're not returning back the given value. + filtered = list(candidates) + + if len(filtered) == len(candidates): + discard_message = "discarding no candidates" + else: + discard_message = "discarding {} non-matches:\n {}".format( + len(non_matches), + "\n ".join(str(candidate.link) for candidate in non_matches), + ) + + logger.debug( + "Checked %s links for project %r against %s hashes " + "(%s matches, %s no digest): %s", + len(candidates), + project_name, + hashes.digest_count, + match_count, + len(matches_or_no_digest) - match_count, + discard_message, + ) + + return filtered + + +@dataclass +class CandidatePreferences: + """ + Encapsulates some of the preferences for filtering and sorting + InstallationCandidate objects. + """ + + prefer_binary: bool = False + allow_all_prereleases: bool = False + + +@dataclass(frozen=True) +class BestCandidateResult: + """A collection of candidates, returned by `PackageFinder.find_best_candidate`. + + This class is only intended to be instantiated by CandidateEvaluator's + `compute_best_candidate()` method. + + :param all_candidates: A sequence of all available candidates found. + :param applicable_candidates: The applicable candidates. + :param best_candidate: The most preferred candidate found, or None + if no applicable candidates were found. + """ + + all_candidates: list[InstallationCandidate] + applicable_candidates: list[InstallationCandidate] + best_candidate: InstallationCandidate | None + + def __post_init__(self) -> None: + assert set(self.applicable_candidates) <= set(self.all_candidates) + + if self.best_candidate is None: + assert not self.applicable_candidates + else: + assert self.best_candidate in self.applicable_candidates + + +class CandidateEvaluator: + """ + Responsible for filtering and sorting candidates for installation based + on what tags are valid. + """ + + @classmethod + def create( + cls, + project_name: str, + target_python: TargetPython | None = None, + prefer_binary: bool = False, + allow_all_prereleases: bool = False, + specifier: specifiers.BaseSpecifier | None = None, + hashes: Hashes | None = None, + ) -> CandidateEvaluator: + """Create a CandidateEvaluator object. + + :param target_python: The target Python interpreter to use when + checking compatibility. If None (the default), a TargetPython + object will be constructed from the running Python. + :param specifier: An optional object implementing `filter` + (e.g. `packaging.specifiers.SpecifierSet`) to filter applicable + versions. + :param hashes: An optional collection of allowed hashes. + """ + if target_python is None: + target_python = TargetPython() + if specifier is None: + specifier = specifiers.SpecifierSet() + + supported_tags = target_python.get_sorted_tags() + + return cls( + project_name=project_name, + supported_tags=supported_tags, + specifier=specifier, + prefer_binary=prefer_binary, + allow_all_prereleases=allow_all_prereleases, + hashes=hashes, + ) + + def __init__( + self, + project_name: str, + supported_tags: list[Tag], + specifier: specifiers.BaseSpecifier, + prefer_binary: bool = False, + allow_all_prereleases: bool = False, + hashes: Hashes | None = None, + ) -> None: + """ + :param supported_tags: The PEP 425 tags supported by the target + Python in order of preference (most preferred first). + """ + self._allow_all_prereleases = allow_all_prereleases + self._hashes = hashes + self._prefer_binary = prefer_binary + self._project_name = project_name + self._specifier = specifier + self._supported_tags = supported_tags + # Since the index of the tag in the _supported_tags list is used + # as a priority, precompute a map from tag to index/priority to be + # used in wheel.find_most_preferred_tag. + self._wheel_tag_preferences = { + tag: idx for idx, tag in enumerate(supported_tags) + } + + def get_applicable_candidates( + self, + candidates: list[InstallationCandidate], + ) -> list[InstallationCandidate]: + """ + Return the applicable candidates from a list of candidates. + """ + # Using None infers from the specifier instead. + allow_prereleases = self._allow_all_prereleases or None + specifier = self._specifier + + # We turn the version object into a str here because otherwise + # when we're debundled but setuptools isn't, Python will see + # packaging.version.Version and + # pkg_resources._vendor.packaging.version.Version as different + # types. This way we'll use a str as a common data interchange + # format. If we stop using the pkg_resources provided specifier + # and start using our own, we can drop the cast to str(). + candidates_and_versions = [(c, str(c.version)) for c in candidates] + versions = set( + specifier.filter( + (v for _, v in candidates_and_versions), + prereleases=allow_prereleases, + ) + ) + + applicable_candidates = [c for c, v in candidates_and_versions if v in versions] + filtered_applicable_candidates = filter_unallowed_hashes( + candidates=applicable_candidates, + hashes=self._hashes, + project_name=self._project_name, + ) + + return sorted(filtered_applicable_candidates, key=self._sort_key) + + def _sort_key(self, candidate: InstallationCandidate) -> CandidateSortingKey: + """ + Function to pass as the `key` argument to a call to sorted() to sort + InstallationCandidates by preference. + + Returns a tuple such that tuples sorting as greater using Python's + default comparison operator are more preferred. + + The preference is as follows: + + First and foremost, candidates with allowed (matching) hashes are + always preferred over candidates without matching hashes. This is + because e.g. if the only candidate with an allowed hash is yanked, + we still want to use that candidate. + + Second, excepting hash considerations, candidates that have been + yanked (in the sense of PEP 592) are always less preferred than + candidates that haven't been yanked. Then: + + If not finding wheels, they are sorted by version only. + If finding wheels, then the sort order is by version, then: + 1. existing installs + 2. wheels ordered via Wheel.support_index_min(self._supported_tags) + 3. source archives + If prefer_binary was set, then all wheels are sorted above sources. + + Note: it was considered to embed this logic into the Link + comparison operators, but then different sdist links + with the same version, would have to be considered equal + """ + valid_tags = self._supported_tags + support_num = len(valid_tags) + build_tag: BuildTag = () + binary_preference = 0 + link = candidate.link + if link.is_wheel: + # can raise InvalidWheelFilename + wheel = Wheel(link.filename) + try: + pri = -( + wheel.find_most_preferred_tag( + valid_tags, self._wheel_tag_preferences + ) + ) + except ValueError: + raise UnsupportedWheel( + f"{wheel.filename} is not a supported wheel for this platform. It " + "can't be sorted." + ) + if self._prefer_binary: + binary_preference = 1 + build_tag = wheel.build_tag + else: # sdist + pri = -(support_num) + has_allowed_hash = int(link.is_hash_allowed(self._hashes)) + yank_value = -1 * int(link.is_yanked) # -1 for yanked. + return ( + has_allowed_hash, + yank_value, + binary_preference, + candidate.version, + pri, + build_tag, + ) + + def sort_best_candidate( + self, + candidates: list[InstallationCandidate], + ) -> InstallationCandidate | None: + """ + Return the best candidate per the instance's sort order, or None if + no candidate is acceptable. + """ + if not candidates: + return None + best_candidate = max(candidates, key=self._sort_key) + return best_candidate + + def compute_best_candidate( + self, + candidates: list[InstallationCandidate], + ) -> BestCandidateResult: + """ + Compute and return a `BestCandidateResult` instance. + """ + applicable_candidates = self.get_applicable_candidates(candidates) + + best_candidate = self.sort_best_candidate(applicable_candidates) + + return BestCandidateResult( + candidates, + applicable_candidates=applicable_candidates, + best_candidate=best_candidate, + ) + + +class PackageFinder: + """This finds packages. + + This is meant to match easy_install's technique for looking for + packages, by reading pages and looking for appropriate links. + """ + + def __init__( + self, + link_collector: LinkCollector, + target_python: TargetPython, + allow_yanked: bool, + format_control: FormatControl | None = None, + candidate_prefs: CandidatePreferences | None = None, + ignore_requires_python: bool | None = None, + ) -> None: + """ + This constructor is primarily meant to be used by the create() class + method and from tests. + + :param format_control: A FormatControl object, used to control + the selection of source packages / binary packages when consulting + the index and links. + :param candidate_prefs: Options to use when creating a + CandidateEvaluator object. + """ + if candidate_prefs is None: + candidate_prefs = CandidatePreferences() + + format_control = format_control or FormatControl(set(), set()) + + self._allow_yanked = allow_yanked + self._candidate_prefs = candidate_prefs + self._ignore_requires_python = ignore_requires_python + self._link_collector = link_collector + self._target_python = target_python + + self.format_control = format_control + + # These are boring links that have already been logged somehow. + self._logged_links: set[tuple[Link, LinkType, str]] = set() + + # Cache of the result of finding candidates + self._all_candidates: dict[str, list[InstallationCandidate]] = {} + self._best_candidates: dict[ + tuple[str, specifiers.BaseSpecifier | None, Hashes | None], + BestCandidateResult, + ] = {} + + # Don't include an allow_yanked default value to make sure each call + # site considers whether yanked releases are allowed. This also causes + # that decision to be made explicit in the calling code, which helps + # people when reading the code. + @classmethod + def create( + cls, + link_collector: LinkCollector, + selection_prefs: SelectionPreferences, + target_python: TargetPython | None = None, + ) -> PackageFinder: + """Create a PackageFinder. + + :param selection_prefs: The candidate selection preferences, as a + SelectionPreferences object. + :param target_python: The target Python interpreter to use when + checking compatibility. If None (the default), a TargetPython + object will be constructed from the running Python. + """ + if target_python is None: + target_python = TargetPython() + + candidate_prefs = CandidatePreferences( + prefer_binary=selection_prefs.prefer_binary, + allow_all_prereleases=selection_prefs.allow_all_prereleases, + ) + + return cls( + candidate_prefs=candidate_prefs, + link_collector=link_collector, + target_python=target_python, + allow_yanked=selection_prefs.allow_yanked, + format_control=selection_prefs.format_control, + ignore_requires_python=selection_prefs.ignore_requires_python, + ) + + @property + def target_python(self) -> TargetPython: + return self._target_python + + @property + def search_scope(self) -> SearchScope: + return self._link_collector.search_scope + + @search_scope.setter + def search_scope(self, search_scope: SearchScope) -> None: + self._link_collector.search_scope = search_scope + + @property + def find_links(self) -> list[str]: + return self._link_collector.find_links + + @property + def index_urls(self) -> list[str]: + return self.search_scope.index_urls + + @property + def proxy(self) -> str | None: + return self._link_collector.session.pip_proxy + + @property + def trusted_hosts(self) -> Iterable[str]: + for host_port in self._link_collector.session.pip_trusted_origins: + yield build_netloc(*host_port) + + @property + def custom_cert(self) -> str | None: + # session.verify is either a boolean (use default bundle/no SSL + # verification) or a string path to a custom CA bundle to use. We only + # care about the latter. + verify = self._link_collector.session.verify + return verify if isinstance(verify, str) else None + + @property + def client_cert(self) -> str | None: + cert = self._link_collector.session.cert + assert not isinstance(cert, tuple), "pip only supports PEM client certs" + return cert + + @property + def allow_all_prereleases(self) -> bool: + return self._candidate_prefs.allow_all_prereleases + + def set_allow_all_prereleases(self) -> None: + self._candidate_prefs.allow_all_prereleases = True + + @property + def prefer_binary(self) -> bool: + return self._candidate_prefs.prefer_binary + + def set_prefer_binary(self) -> None: + self._candidate_prefs.prefer_binary = True + + def requires_python_skipped_reasons(self) -> list[str]: + reasons = { + detail + for _, result, detail in self._logged_links + if result == LinkType.requires_python_mismatch + } + return sorted(reasons) + + def make_link_evaluator(self, project_name: str) -> LinkEvaluator: + canonical_name = canonicalize_name(project_name) + formats = self.format_control.get_allowed_formats(canonical_name) + + return LinkEvaluator( + project_name=project_name, + canonical_name=canonical_name, + formats=formats, + target_python=self._target_python, + allow_yanked=self._allow_yanked, + ignore_requires_python=self._ignore_requires_python, + ) + + def _sort_links(self, links: Iterable[Link]) -> list[Link]: + """ + Returns elements of links in order, non-egg links first, egg links + second, while eliminating duplicates + """ + eggs, no_eggs = [], [] + seen: set[Link] = set() + for link in links: + if link not in seen: + seen.add(link) + if link.egg_fragment: + eggs.append(link) + else: + no_eggs.append(link) + return no_eggs + eggs + + def _log_skipped_link(self, link: Link, result: LinkType, detail: str) -> None: + entry = (link, result, detail) + if entry not in self._logged_links: + # Put the link at the end so the reason is more visible and because + # the link string is usually very long. + logger.debug("Skipping link: %s: %s", detail, link) + self._logged_links.add(entry) + + def get_install_candidate( + self, link_evaluator: LinkEvaluator, link: Link + ) -> InstallationCandidate | None: + """ + If the link is a candidate for install, convert it to an + InstallationCandidate and return it. Otherwise, return None. + """ + result, detail = link_evaluator.evaluate_link(link) + if result != LinkType.candidate: + self._log_skipped_link(link, result, detail) + return None + + try: + return InstallationCandidate( + name=link_evaluator.project_name, + link=link, + version=detail, + ) + except InvalidVersion: + return None + + def evaluate_links( + self, link_evaluator: LinkEvaluator, links: Iterable[Link] + ) -> list[InstallationCandidate]: + """ + Convert links that are candidates to InstallationCandidate objects. + """ + candidates = [] + for link in self._sort_links(links): + candidate = self.get_install_candidate(link_evaluator, link) + if candidate is not None: + candidates.append(candidate) + + return candidates + + def process_project_url( + self, project_url: Link, link_evaluator: LinkEvaluator + ) -> list[InstallationCandidate]: + logger.debug( + "Fetching project page and analyzing links: %s", + project_url, + ) + index_response = self._link_collector.fetch_response(project_url) + if index_response is None: + return [] + + page_links = list(parse_links(index_response)) + + with indent_log(): + package_links = self.evaluate_links( + link_evaluator, + links=page_links, + ) + + return package_links + + def find_all_candidates(self, project_name: str) -> list[InstallationCandidate]: + """Find all available InstallationCandidate for project_name + + This checks index_urls and find_links. + All versions found are returned as an InstallationCandidate list. + + See LinkEvaluator.evaluate_link() for details on which files + are accepted. + """ + if project_name in self._all_candidates: + return self._all_candidates[project_name] + + link_evaluator = self.make_link_evaluator(project_name) + + collected_sources = self._link_collector.collect_sources( + project_name=project_name, + candidates_from_page=functools.partial( + self.process_project_url, + link_evaluator=link_evaluator, + ), + ) + + page_candidates_it = itertools.chain.from_iterable( + source.page_candidates() + for sources in collected_sources + for source in sources + if source is not None + ) + page_candidates = list(page_candidates_it) + + file_links_it = itertools.chain.from_iterable( + source.file_links() + for sources in collected_sources + for source in sources + if source is not None + ) + file_candidates = self.evaluate_links( + link_evaluator, + sorted(file_links_it, reverse=True), + ) + + if logger.isEnabledFor(logging.DEBUG) and file_candidates: + paths = [] + for candidate in file_candidates: + assert candidate.link.url # we need to have a URL + try: + paths.append(candidate.link.file_path) + except Exception: + paths.append(candidate.link.url) # it's not a local file + + logger.debug("Local files found: %s", ", ".join(paths)) + + # This is an intentional priority ordering + self._all_candidates[project_name] = file_candidates + page_candidates + + return self._all_candidates[project_name] + + def make_candidate_evaluator( + self, + project_name: str, + specifier: specifiers.BaseSpecifier | None = None, + hashes: Hashes | None = None, + ) -> CandidateEvaluator: + """Create a CandidateEvaluator object to use.""" + candidate_prefs = self._candidate_prefs + return CandidateEvaluator.create( + project_name=project_name, + target_python=self._target_python, + prefer_binary=candidate_prefs.prefer_binary, + allow_all_prereleases=candidate_prefs.allow_all_prereleases, + specifier=specifier, + hashes=hashes, + ) + + def find_best_candidate( + self, + project_name: str, + specifier: specifiers.BaseSpecifier | None = None, + hashes: Hashes | None = None, + ) -> BestCandidateResult: + """Find matches for the given project and specifier. + + :param specifier: An optional object implementing `filter` + (e.g. `packaging.specifiers.SpecifierSet`) to filter applicable + versions. + + :return: A `BestCandidateResult` instance. + """ + if (project_name, specifier, hashes) in self._best_candidates: + return self._best_candidates[project_name, specifier, hashes] + + candidates = self.find_all_candidates(project_name) + candidate_evaluator = self.make_candidate_evaluator( + project_name=project_name, + specifier=specifier, + hashes=hashes, + ) + self._best_candidates[project_name, specifier, hashes] = ( + candidate_evaluator.compute_best_candidate(candidates) + ) + + return self._best_candidates[project_name, specifier, hashes] + + def find_requirement( + self, req: InstallRequirement, upgrade: bool + ) -> InstallationCandidate | None: + """Try to find a Link matching req + + Expects req, an InstallRequirement and upgrade, a boolean + Returns a InstallationCandidate if found, + Raises DistributionNotFound or BestVersionAlreadyInstalled otherwise + """ + name = req.name + assert name is not None, "find_requirement() called with no name" + + hashes = req.hashes(trust_internet=False) + best_candidate_result = self.find_best_candidate( + name, + specifier=req.specifier, + hashes=hashes, + ) + best_candidate = best_candidate_result.best_candidate + + installed_version: _BaseVersion | None = None + if req.satisfied_by is not None: + installed_version = req.satisfied_by.version + + def _format_versions(cand_iter: Iterable[InstallationCandidate]) -> str: + # This repeated parse_version and str() conversion is needed to + # handle different vendoring sources from pip and pkg_resources. + # If we stop using the pkg_resources provided specifier and start + # using our own, we can drop the cast to str(). + return ( + ", ".join( + sorted( + {str(c.version) for c in cand_iter}, + key=parse_version, + ) + ) + or "none" + ) + + if installed_version is None and best_candidate is None: + logger.critical( + "Could not find a version that satisfies the requirement %s " + "(from versions: %s)", + req, + _format_versions(best_candidate_result.all_candidates), + ) + + raise DistributionNotFound(f"No matching distribution found for {req}") + + def _should_install_candidate( + candidate: InstallationCandidate | None, + ) -> TypeGuard[InstallationCandidate]: + if installed_version is None: + return True + if best_candidate is None: + return False + return best_candidate.version > installed_version + + if not upgrade and installed_version is not None: + if _should_install_candidate(best_candidate): + logger.debug( + "Existing installed version (%s) satisfies requirement " + "(most up-to-date version is %s)", + installed_version, + best_candidate.version, + ) + else: + logger.debug( + "Existing installed version (%s) is most up-to-date and " + "satisfies requirement", + installed_version, + ) + return None + + if _should_install_candidate(best_candidate): + logger.debug( + "Using version %s (newest of versions: %s)", + best_candidate.version, + _format_versions(best_candidate_result.applicable_candidates), + ) + return best_candidate + + # We have an existing version, and its the best version + logger.debug( + "Installed version (%s) is most up-to-date (past versions: %s)", + installed_version, + _format_versions(best_candidate_result.applicable_candidates), + ) + raise BestVersionAlreadyInstalled + + +def _find_name_version_sep(fragment: str, canonical_name: str) -> int: + """Find the separator's index based on the package's canonical name. + + :param fragment: A + filename "fragment" (stem) or + egg fragment. + :param canonical_name: The package's canonical name. + + This function is needed since the canonicalized name does not necessarily + have the same length as the egg info's name part. An example:: + + >>> fragment = 'foo__bar-1.0' + >>> canonical_name = 'foo-bar' + >>> _find_name_version_sep(fragment, canonical_name) + 8 + """ + # Project name and version must be separated by one single dash. Find all + # occurrences of dashes; if the string in front of it matches the canonical + # name, this is the one separating the name and version parts. + for i, c in enumerate(fragment): + if c != "-": + continue + if canonicalize_name(fragment[:i]) == canonical_name: + return i + raise ValueError(f"{fragment} does not match {canonical_name}") + + +def _extract_version_from_fragment(fragment: str, canonical_name: str) -> str | None: + """Parse the version string from a + filename + "fragment" (stem) or egg fragment. + + :param fragment: The string to parse. E.g. foo-2.1 + :param canonical_name: The canonicalized name of the package this + belongs to. + """ + try: + version_start = _find_name_version_sep(fragment, canonical_name) + 1 + except ValueError: + return None + version = fragment[version_start:] + if not version: + return None + return version diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/sources.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/sources.py new file mode 100644 index 0000000000000000000000000000000000000000..c67c4d73668b1dbb335818012d9d67fa0ab571b4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/index/sources.py @@ -0,0 +1,287 @@ +from __future__ import annotations + +import logging +import mimetypes +import os +from collections import defaultdict +from collections.abc import Iterable +from typing import Callable + +from pip._vendor.packaging.utils import ( + InvalidSdistFilename, + InvalidWheelFilename, + canonicalize_name, + parse_sdist_filename, + parse_wheel_filename, +) + +from pip._internal.models.candidate import InstallationCandidate +from pip._internal.models.link import Link +from pip._internal.utils.urls import path_to_url, url_to_path +from pip._internal.vcs import is_url + +logger = logging.getLogger(__name__) + +FoundCandidates = Iterable[InstallationCandidate] +FoundLinks = Iterable[Link] +CandidatesFromPage = Callable[[Link], Iterable[InstallationCandidate]] +PageValidator = Callable[[Link], bool] + + +class LinkSource: + @property + def link(self) -> Link | None: + """Returns the underlying link, if there's one.""" + raise NotImplementedError() + + def page_candidates(self) -> FoundCandidates: + """Candidates found by parsing an archive listing HTML file.""" + raise NotImplementedError() + + def file_links(self) -> FoundLinks: + """Links found by specifying archives directly.""" + raise NotImplementedError() + + +def _is_html_file(file_url: str) -> bool: + return mimetypes.guess_type(file_url, strict=False)[0] == "text/html" + + +class _FlatDirectoryToUrls: + """Scans directory and caches results""" + + def __init__(self, path: str) -> None: + self._path = path + self._page_candidates: list[str] = [] + self._project_name_to_urls: dict[str, list[str]] = defaultdict(list) + self._scanned_directory = False + + def _scan_directory(self) -> None: + """Scans directory once and populates both page_candidates + and project_name_to_urls at the same time + """ + for entry in os.scandir(self._path): + url = path_to_url(entry.path) + if _is_html_file(url): + self._page_candidates.append(url) + continue + + # File must have a valid wheel or sdist name, + # otherwise not worth considering as a package + try: + project_filename = parse_wheel_filename(entry.name)[0] + except InvalidWheelFilename: + try: + project_filename = parse_sdist_filename(entry.name)[0] + except InvalidSdistFilename: + continue + + self._project_name_to_urls[project_filename].append(url) + self._scanned_directory = True + + @property + def page_candidates(self) -> list[str]: + if not self._scanned_directory: + self._scan_directory() + + return self._page_candidates + + @property + def project_name_to_urls(self) -> dict[str, list[str]]: + if not self._scanned_directory: + self._scan_directory() + + return self._project_name_to_urls + + +class _FlatDirectorySource(LinkSource): + """Link source specified by ``--find-links=``. + + This looks the content of the directory, and returns: + + * ``page_candidates``: Links listed on each HTML file in the directory. + * ``file_candidates``: Archives in the directory. + """ + + _paths_to_urls: dict[str, _FlatDirectoryToUrls] = {} + + def __init__( + self, + candidates_from_page: CandidatesFromPage, + path: str, + project_name: str, + ) -> None: + self._candidates_from_page = candidates_from_page + self._project_name = canonicalize_name(project_name) + + # Get existing instance of _FlatDirectoryToUrls if it exists + if path in self._paths_to_urls: + self._path_to_urls = self._paths_to_urls[path] + else: + self._path_to_urls = _FlatDirectoryToUrls(path=path) + self._paths_to_urls[path] = self._path_to_urls + + @property + def link(self) -> Link | None: + return None + + def page_candidates(self) -> FoundCandidates: + for url in self._path_to_urls.page_candidates: + yield from self._candidates_from_page(Link(url)) + + def file_links(self) -> FoundLinks: + for url in self._path_to_urls.project_name_to_urls[self._project_name]: + yield Link(url) + + +class _LocalFileSource(LinkSource): + """``--find-links=`` or ``--[extra-]index-url=``. + + If a URL is supplied, it must be a ``file:`` URL. If a path is supplied to + the option, it is converted to a URL first. This returns: + + * ``page_candidates``: Links listed on an HTML file. + * ``file_candidates``: The non-HTML file. + """ + + def __init__( + self, + candidates_from_page: CandidatesFromPage, + link: Link, + ) -> None: + self._candidates_from_page = candidates_from_page + self._link = link + + @property + def link(self) -> Link | None: + return self._link + + def page_candidates(self) -> FoundCandidates: + if not _is_html_file(self._link.url): + return + yield from self._candidates_from_page(self._link) + + def file_links(self) -> FoundLinks: + if _is_html_file(self._link.url): + return + yield self._link + + +class _RemoteFileSource(LinkSource): + """``--find-links=`` or ``--[extra-]index-url=``. + + This returns: + + * ``page_candidates``: Links listed on an HTML file. + * ``file_candidates``: The non-HTML file. + """ + + def __init__( + self, + candidates_from_page: CandidatesFromPage, + page_validator: PageValidator, + link: Link, + ) -> None: + self._candidates_from_page = candidates_from_page + self._page_validator = page_validator + self._link = link + + @property + def link(self) -> Link | None: + return self._link + + def page_candidates(self) -> FoundCandidates: + if not self._page_validator(self._link): + return + yield from self._candidates_from_page(self._link) + + def file_links(self) -> FoundLinks: + yield self._link + + +class _IndexDirectorySource(LinkSource): + """``--[extra-]index-url=``. + + This is treated like a remote URL; ``candidates_from_page`` contains logic + for this by appending ``index.html`` to the link. + """ + + def __init__( + self, + candidates_from_page: CandidatesFromPage, + link: Link, + ) -> None: + self._candidates_from_page = candidates_from_page + self._link = link + + @property + def link(self) -> Link | None: + return self._link + + def page_candidates(self) -> FoundCandidates: + yield from self._candidates_from_page(self._link) + + def file_links(self) -> FoundLinks: + return () + + +def build_source( + location: str, + *, + candidates_from_page: CandidatesFromPage, + page_validator: PageValidator, + expand_dir: bool, + cache_link_parsing: bool, + project_name: str, +) -> tuple[str | None, LinkSource | None]: + path: str | None = None + url: str | None = None + if os.path.exists(location): # Is a local path. + url = path_to_url(location) + path = location + elif location.startswith("file:"): # A file: URL. + url = location + path = url_to_path(location) + elif is_url(location): + url = location + + if url is None: + msg = ( + "Location '%s' is ignored: " + "it is either a non-existing path or lacks a specific scheme." + ) + logger.warning(msg, location) + return (None, None) + + if path is None: + source: LinkSource = _RemoteFileSource( + candidates_from_page=candidates_from_page, + page_validator=page_validator, + link=Link(url, cache_link_parsing=cache_link_parsing), + ) + return (url, source) + + if os.path.isdir(path): + if expand_dir: + source = _FlatDirectorySource( + candidates_from_page=candidates_from_page, + path=path, + project_name=project_name, + ) + else: + source = _IndexDirectorySource( + candidates_from_page=candidates_from_page, + link=Link(url, cache_link_parsing=cache_link_parsing), + ) + return (url, source) + elif os.path.isfile(path): + source = _LocalFileSource( + candidates_from_page=candidates_from_page, + link=Link(url, cache_link_parsing=cache_link_parsing), + ) + return (url, source) + logger.warning( + "Location '%s' is ignored: it is neither a file nor a directory.", + location, + ) + return (url, None) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..9f2c4fe316c1d4f9f96ef3a02b9396c61bc64ccf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__init__.py @@ -0,0 +1,441 @@ +from __future__ import annotations + +import functools +import logging +import os +import pathlib +import sys +import sysconfig +from typing import Any + +from pip._internal.models.scheme import SCHEME_KEYS, Scheme +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.deprecation import deprecated +from pip._internal.utils.virtualenv import running_under_virtualenv + +from . import _sysconfig +from .base import ( + USER_CACHE_DIR, + get_major_minor_version, + get_src_prefix, + is_osx_framework, + site_packages, + user_site, +) + +__all__ = [ + "USER_CACHE_DIR", + "get_bin_prefix", + "get_bin_user", + "get_major_minor_version", + "get_platlib", + "get_purelib", + "get_scheme", + "get_src_prefix", + "site_packages", + "user_site", +] + + +logger = logging.getLogger(__name__) + + +_PLATLIBDIR: str = getattr(sys, "platlibdir", "lib") + +_USE_SYSCONFIG_DEFAULT = sys.version_info >= (3, 10) + + +def _should_use_sysconfig() -> bool: + """This function determines the value of _USE_SYSCONFIG. + + By default, pip uses sysconfig on Python 3.10+. + But Python distributors can override this decision by setting: + sysconfig._PIP_USE_SYSCONFIG = True / False + Rationale in https://github.com/pypa/pip/issues/10647 + + This is a function for testability, but should be constant during any one + run. + """ + return bool(getattr(sysconfig, "_PIP_USE_SYSCONFIG", _USE_SYSCONFIG_DEFAULT)) + + +_USE_SYSCONFIG = _should_use_sysconfig() + +if not _USE_SYSCONFIG: + # Import distutils lazily to avoid deprecation warnings, + # but import it soon enough that it is in memory and available during + # a pip reinstall. + from . import _distutils + +# Be noisy about incompatibilities if this platforms "should" be using +# sysconfig, but is explicitly opting out and using distutils instead. +if _USE_SYSCONFIG_DEFAULT and not _USE_SYSCONFIG: + _MISMATCH_LEVEL = logging.WARNING +else: + _MISMATCH_LEVEL = logging.DEBUG + + +def _looks_like_bpo_44860() -> bool: + """The resolution to bpo-44860 will change this incorrect platlib. + + See . + """ + from distutils.command.install import INSTALL_SCHEMES + + try: + unix_user_platlib = INSTALL_SCHEMES["unix_user"]["platlib"] + except KeyError: + return False + return unix_user_platlib == "$usersite" + + +def _looks_like_red_hat_patched_platlib_purelib(scheme: dict[str, str]) -> bool: + platlib = scheme["platlib"] + if "/$platlibdir/" in platlib: + platlib = platlib.replace("/$platlibdir/", f"/{_PLATLIBDIR}/") + if "/lib64/" not in platlib: + return False + unpatched = platlib.replace("/lib64/", "/lib/") + return unpatched.replace("$platbase/", "$base/") == scheme["purelib"] + + +@functools.cache +def _looks_like_red_hat_lib() -> bool: + """Red Hat patches platlib in unix_prefix and unix_home, but not purelib. + + This is the only way I can see to tell a Red Hat-patched Python. + """ + from distutils.command.install import INSTALL_SCHEMES + + return all( + k in INSTALL_SCHEMES + and _looks_like_red_hat_patched_platlib_purelib(INSTALL_SCHEMES[k]) + for k in ("unix_prefix", "unix_home") + ) + + +@functools.cache +def _looks_like_debian_scheme() -> bool: + """Debian adds two additional schemes.""" + from distutils.command.install import INSTALL_SCHEMES + + return "deb_system" in INSTALL_SCHEMES and "unix_local" in INSTALL_SCHEMES + + +@functools.cache +def _looks_like_red_hat_scheme() -> bool: + """Red Hat patches ``sys.prefix`` and ``sys.exec_prefix``. + + Red Hat's ``00251-change-user-install-location.patch`` changes the install + command's ``prefix`` and ``exec_prefix`` to append ``"/local"``. This is + (fortunately?) done quite unconditionally, so we create a default command + object without any configuration to detect this. + """ + from distutils.command.install import install + from distutils.dist import Distribution + + cmd: Any = install(Distribution()) + cmd.finalize_options() + return ( + cmd.exec_prefix == f"{os.path.normpath(sys.exec_prefix)}/local" + and cmd.prefix == f"{os.path.normpath(sys.prefix)}/local" + ) + + +@functools.cache +def _looks_like_slackware_scheme() -> bool: + """Slackware patches sysconfig but fails to patch distutils and site. + + Slackware changes sysconfig's user scheme to use ``"lib64"`` for the lib + path, but does not do the same to the site module. + """ + if user_site is None: # User-site not available. + return False + try: + paths = sysconfig.get_paths(scheme="posix_user", expand=False) + except KeyError: # User-site not available. + return False + return "/lib64/" in paths["purelib"] and "/lib64/" not in user_site + + +@functools.cache +def _looks_like_msys2_mingw_scheme() -> bool: + """MSYS2 patches distutils and sysconfig to use a UNIX-like scheme. + + However, MSYS2 incorrectly patches sysconfig ``nt`` scheme. The fix is + likely going to be included in their 3.10 release, so we ignore the warning. + See msys2/MINGW-packages#9319. + + MSYS2 MINGW's patch uses lowercase ``"lib"`` instead of the usual uppercase, + and is missing the final ``"site-packages"``. + """ + paths = sysconfig.get_paths("nt", expand=False) + return all( + "Lib" not in p and "lib" in p and not p.endswith("site-packages") + for p in (paths[key] for key in ("platlib", "purelib")) + ) + + +@functools.cache +def _warn_mismatched(old: pathlib.Path, new: pathlib.Path, *, key: str) -> None: + issue_url = "https://github.com/pypa/pip/issues/10151" + message = ( + "Value for %s does not match. Please report this to <%s>" + "\ndistutils: %s" + "\nsysconfig: %s" + ) + logger.log(_MISMATCH_LEVEL, message, key, issue_url, old, new) + + +def _warn_if_mismatch(old: pathlib.Path, new: pathlib.Path, *, key: str) -> bool: + if old == new: + return False + _warn_mismatched(old, new, key=key) + return True + + +@functools.cache +def _log_context( + *, + user: bool = False, + home: str | None = None, + root: str | None = None, + prefix: str | None = None, +) -> None: + parts = [ + "Additional context:", + "user = %r", + "home = %r", + "root = %r", + "prefix = %r", + ] + + logger.log(_MISMATCH_LEVEL, "\n".join(parts), user, home, root, prefix) + + +def get_scheme( + dist_name: str, + user: bool = False, + home: str | None = None, + root: str | None = None, + isolated: bool = False, + prefix: str | None = None, +) -> Scheme: + new = _sysconfig.get_scheme( + dist_name, + user=user, + home=home, + root=root, + isolated=isolated, + prefix=prefix, + ) + if _USE_SYSCONFIG: + return new + + old = _distutils.get_scheme( + dist_name, + user=user, + home=home, + root=root, + isolated=isolated, + prefix=prefix, + ) + + warning_contexts = [] + for k in SCHEME_KEYS: + old_v = pathlib.Path(getattr(old, k)) + new_v = pathlib.Path(getattr(new, k)) + + if old_v == new_v: + continue + + # distutils incorrectly put PyPy packages under ``site-packages/python`` + # in the ``posix_home`` scheme, but PyPy devs said they expect the + # directory name to be ``pypy`` instead. So we treat this as a bug fix + # and not warn about it. See bpo-43307 and python/cpython#24628. + skip_pypy_special_case = ( + sys.implementation.name == "pypy" + and home is not None + and k in ("platlib", "purelib") + and old_v.parent == new_v.parent + and old_v.name.startswith("python") + and new_v.name.startswith("pypy") + ) + if skip_pypy_special_case: + continue + + # sysconfig's ``osx_framework_user`` does not include ``pythonX.Y`` in + # the ``include`` value, but distutils's ``headers`` does. We'll let + # CPython decide whether this is a bug or feature. See bpo-43948. + skip_osx_framework_user_special_case = ( + user + and is_osx_framework() + and k == "headers" + and old_v.parent.parent == new_v.parent + and old_v.parent.name.startswith("python") + ) + if skip_osx_framework_user_special_case: + continue + + # On Red Hat and derived Linux distributions, distutils is patched to + # use "lib64" instead of "lib" for platlib. + if k == "platlib" and _looks_like_red_hat_lib(): + continue + + # On Python 3.9+, sysconfig's posix_user scheme sets platlib against + # sys.platlibdir, but distutils's unix_user incorrectly continues + # using the same $usersite for both platlib and purelib. This creates a + # mismatch when sys.platlibdir is not "lib". + skip_bpo_44860 = ( + user + and k == "platlib" + and not WINDOWS + and _PLATLIBDIR != "lib" + and _looks_like_bpo_44860() + ) + if skip_bpo_44860: + continue + + # Slackware incorrectly patches posix_user to use lib64 instead of lib, + # but not usersite to match the location. + skip_slackware_user_scheme = ( + user + and k in ("platlib", "purelib") + and not WINDOWS + and _looks_like_slackware_scheme() + ) + if skip_slackware_user_scheme: + continue + + # Both Debian and Red Hat patch Python to place the system site under + # /usr/local instead of /usr. Debian also places lib in dist-packages + # instead of site-packages, but the /usr/local check should cover it. + skip_linux_system_special_case = ( + not (user or home or prefix or running_under_virtualenv()) + and old_v.parts[1:3] == ("usr", "local") + and len(new_v.parts) > 1 + and new_v.parts[1] == "usr" + and (len(new_v.parts) < 3 or new_v.parts[2] != "local") + and (_looks_like_red_hat_scheme() or _looks_like_debian_scheme()) + ) + if skip_linux_system_special_case: + continue + + # MSYS2 MINGW's sysconfig patch does not include the "site-packages" + # part of the path. This is incorrect and will be fixed in MSYS. + skip_msys2_mingw_bug = ( + WINDOWS and k in ("platlib", "purelib") and _looks_like_msys2_mingw_scheme() + ) + if skip_msys2_mingw_bug: + continue + + # CPython's POSIX install script invokes pip (via ensurepip) against the + # interpreter located in the source tree, not the install site. This + # triggers special logic in sysconfig that's not present in distutils. + # https://github.com/python/cpython/blob/8c21941ddaf/Lib/sysconfig.py#L178-L194 + skip_cpython_build = ( + sysconfig.is_python_build(check_home=True) + and not WINDOWS + and k in ("headers", "include", "platinclude") + ) + if skip_cpython_build: + continue + + warning_contexts.append((old_v, new_v, f"scheme.{k}")) + + if not warning_contexts: + return old + + # Check if this path mismatch is caused by distutils config files. Those + # files will no longer work once we switch to sysconfig, so this raises a + # deprecation message for them. + default_old = _distutils.distutils_scheme( + dist_name, + user, + home, + root, + isolated, + prefix, + ignore_config_files=True, + ) + if any(default_old[k] != getattr(old, k) for k in SCHEME_KEYS): + deprecated( + reason=( + "Configuring installation scheme with distutils config files " + "is deprecated and will no longer work in the near future. If you " + "are using a Homebrew or Linuxbrew Python, please see discussion " + "at https://github.com/Homebrew/homebrew-core/issues/76621" + ), + replacement=None, + gone_in=None, + ) + return old + + # Post warnings about this mismatch so user can report them back. + for old_v, new_v, key in warning_contexts: + _warn_mismatched(old_v, new_v, key=key) + _log_context(user=user, home=home, root=root, prefix=prefix) + + return old + + +def get_bin_prefix() -> str: + new = _sysconfig.get_bin_prefix() + if _USE_SYSCONFIG: + return new + + old = _distutils.get_bin_prefix() + if _warn_if_mismatch(pathlib.Path(old), pathlib.Path(new), key="bin_prefix"): + _log_context() + return old + + +def get_bin_user() -> str: + return _sysconfig.get_scheme("", user=True).scripts + + +def _looks_like_deb_system_dist_packages(value: str) -> bool: + """Check if the value is Debian's APT-controlled dist-packages. + + Debian's ``distutils.sysconfig.get_python_lib()`` implementation returns the + default package path controlled by APT, but does not patch ``sysconfig`` to + do the same. This is similar to the bug worked around in ``get_scheme()``, + but here the default is ``deb_system`` instead of ``unix_local``. Ultimately + we can't do anything about this Debian bug, and this detection allows us to + skip the warning when needed. + """ + if not _looks_like_debian_scheme(): + return False + if value == "/usr/lib/python3/dist-packages": + return True + return False + + +def get_purelib() -> str: + """Return the default pure-Python lib location.""" + new = _sysconfig.get_purelib() + if _USE_SYSCONFIG: + return new + + old = _distutils.get_purelib() + if _looks_like_deb_system_dist_packages(old): + return old + if _warn_if_mismatch(pathlib.Path(old), pathlib.Path(new), key="purelib"): + _log_context() + return old + + +def get_platlib() -> str: + """Return the default platform-shared lib location.""" + new = _sysconfig.get_platlib() + if _USE_SYSCONFIG: + return new + + from . import _distutils + + old = _distutils.get_platlib() + if _looks_like_deb_system_dist_packages(old): + return old + if _warn_if_mismatch(pathlib.Path(old), pathlib.Path(new), key="platlib"): + _log_context() + return old diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4d33d4f2534cdccf5a5fa1de0c23902876335490 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2b2f52d85aa8a105cd01348d240a731b2afe9047 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d0cb8756abcec6fa133462f297226361b53c1908 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ee8200bdfa3eca5e000a0cf9bcfa7df6dd80f805 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/_distutils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/_distutils.py new file mode 100644 index 0000000000000000000000000000000000000000..28c066bcee64e9965d52a72092a144a5225456f6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/_distutils.py @@ -0,0 +1,173 @@ +"""Locations where we look for configs, install stuff, etc""" + +# The following comment should be removed at some point in the future. +# mypy: strict-optional=False + +# If pip's going to use distutils, it should not be using the copy that setuptools +# might have injected into the environment. This is done by removing the injected +# shim, if it's injected. +# +# See https://github.com/pypa/pip/issues/8761 for the original discussion and +# rationale for why this is done within pip. +from __future__ import annotations + +try: + __import__("_distutils_hack").remove_shim() +except (ImportError, AttributeError): + pass + +import logging +import os +import sys +from distutils.cmd import Command as DistutilsCommand +from distutils.command.install import SCHEME_KEYS +from distutils.command.install import install as distutils_install_command +from distutils.sysconfig import get_python_lib + +from pip._internal.models.scheme import Scheme +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.virtualenv import running_under_virtualenv + +from .base import get_major_minor_version + +logger = logging.getLogger(__name__) + + +def distutils_scheme( + dist_name: str, + user: bool = False, + home: str | None = None, + root: str | None = None, + isolated: bool = False, + prefix: str | None = None, + *, + ignore_config_files: bool = False, +) -> dict[str, str]: + """ + Return a distutils install scheme + """ + from distutils.dist import Distribution + + dist_args: dict[str, str | list[str]] = {"name": dist_name} + if isolated: + dist_args["script_args"] = ["--no-user-cfg"] + + d = Distribution(dist_args) + if not ignore_config_files: + try: + d.parse_config_files() + except UnicodeDecodeError: + paths = d.find_config_files() + logger.warning( + "Ignore distutils configs in %s due to encoding errors.", + ", ".join(os.path.basename(p) for p in paths), + ) + obj: DistutilsCommand | None = None + obj = d.get_command_obj("install", create=True) + assert obj is not None + i: distutils_install_command = obj + # NOTE: setting user or home has the side-effect of creating the home dir + # or user base for installations during finalize_options() + # ideally, we'd prefer a scheme class that has no side-effects. + assert not (user and prefix), f"user={user} prefix={prefix}" + assert not (home and prefix), f"home={home} prefix={prefix}" + i.user = user or i.user + if user or home: + i.prefix = "" + i.prefix = prefix or i.prefix + i.home = home or i.home + i.root = root or i.root + i.finalize_options() + + scheme: dict[str, str] = {} + for key in SCHEME_KEYS: + scheme[key] = getattr(i, "install_" + key) + + # install_lib specified in setup.cfg should install *everything* + # into there (i.e. it takes precedence over both purelib and + # platlib). Note, i.install_lib is *always* set after + # finalize_options(); we only want to override here if the user + # has explicitly requested it hence going back to the config + if "install_lib" in d.get_option_dict("install"): + scheme.update({"purelib": i.install_lib, "platlib": i.install_lib}) + + if running_under_virtualenv(): + if home: + prefix = home + elif user: + prefix = i.install_userbase + else: + prefix = i.prefix + scheme["headers"] = os.path.join( + prefix, + "include", + "site", + f"python{get_major_minor_version()}", + dist_name, + ) + + if root is not None: + path_no_drive = os.path.splitdrive(os.path.abspath(scheme["headers"]))[1] + scheme["headers"] = os.path.join(root, path_no_drive[1:]) + + return scheme + + +def get_scheme( + dist_name: str, + user: bool = False, + home: str | None = None, + root: str | None = None, + isolated: bool = False, + prefix: str | None = None, +) -> Scheme: + """ + Get the "scheme" corresponding to the input parameters. The distutils + documentation provides the context for the available schemes: + https://docs.python.org/3/install/index.html#alternate-installation + + :param dist_name: the name of the package to retrieve the scheme for, used + in the headers scheme path + :param user: indicates to use the "user" scheme + :param home: indicates to use the "home" scheme and provides the base + directory for the same + :param root: root under which other directories are re-based + :param isolated: equivalent to --no-user-cfg, i.e. do not consider + ~/.pydistutils.cfg (posix) or ~/pydistutils.cfg (non-posix) for + scheme paths + :param prefix: indicates to use the "prefix" scheme and provides the + base directory for the same + """ + scheme = distutils_scheme(dist_name, user, home, root, isolated, prefix) + return Scheme( + platlib=scheme["platlib"], + purelib=scheme["purelib"], + headers=scheme["headers"], + scripts=scheme["scripts"], + data=scheme["data"], + ) + + +def get_bin_prefix() -> str: + # XXX: In old virtualenv versions, sys.prefix can contain '..' components, + # so we need to call normpath to eliminate them. + prefix = os.path.normpath(sys.prefix) + if WINDOWS: + bin_py = os.path.join(prefix, "Scripts") + # buildout uses 'bin' on Windows too? + if not os.path.exists(bin_py): + bin_py = os.path.join(prefix, "bin") + return bin_py + # Forcing to use /usr/local/bin for standard macOS framework installs + # Also log to ~/Library/Logs/ for use with the Console.app log viewer + if sys.platform[:6] == "darwin" and prefix[:16] == "/System/Library/": + return "/usr/local/bin" + return os.path.join(prefix, "bin") + + +def get_purelib() -> str: + return get_python_lib(plat_specific=False) + + +def get_platlib() -> str: + return get_python_lib(plat_specific=True) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/_sysconfig.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/_sysconfig.py new file mode 100644 index 0000000000000000000000000000000000000000..d4a448ece5253a06a853ad12a902a3edc50398f6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/_sysconfig.py @@ -0,0 +1,215 @@ +from __future__ import annotations + +import logging +import os +import sys +import sysconfig + +from pip._internal.exceptions import InvalidSchemeCombination, UserInstallationInvalid +from pip._internal.models.scheme import SCHEME_KEYS, Scheme +from pip._internal.utils.virtualenv import running_under_virtualenv + +from .base import change_root, get_major_minor_version, is_osx_framework + +logger = logging.getLogger(__name__) + + +# Notes on _infer_* functions. +# Unfortunately ``get_default_scheme()`` didn't exist before 3.10, so there's no +# way to ask things like "what is the '_prefix' scheme on this platform". These +# functions try to answer that with some heuristics while accounting for ad-hoc +# platforms not covered by CPython's default sysconfig implementation. If the +# ad-hoc implementation does not fully implement sysconfig, we'll fall back to +# a POSIX scheme. + +_AVAILABLE_SCHEMES = set(sysconfig.get_scheme_names()) + +_PREFERRED_SCHEME_API = getattr(sysconfig, "get_preferred_scheme", None) + + +def _should_use_osx_framework_prefix() -> bool: + """Check for Apple's ``osx_framework_library`` scheme. + + Python distributed by Apple's Command Line Tools has this special scheme + that's used when: + + * This is a framework build. + * We are installing into the system prefix. + + This does not account for ``pip install --prefix`` (also means we're not + installing to the system prefix), which should use ``posix_prefix``, but + logic here means ``_infer_prefix()`` outputs ``osx_framework_library``. But + since ``prefix`` is not available for ``sysconfig.get_default_scheme()``, + which is the stdlib replacement for ``_infer_prefix()``, presumably Apple + wouldn't be able to magically switch between ``osx_framework_library`` and + ``posix_prefix``. ``_infer_prefix()`` returning ``osx_framework_library`` + means its behavior is consistent whether we use the stdlib implementation + or our own, and we deal with this special case in ``get_scheme()`` instead. + """ + return ( + "osx_framework_library" in _AVAILABLE_SCHEMES + and not running_under_virtualenv() + and is_osx_framework() + ) + + +def _infer_prefix() -> str: + """Try to find a prefix scheme for the current platform. + + This tries: + + * A special ``osx_framework_library`` for Python distributed by Apple's + Command Line Tools, when not running in a virtual environment. + * Implementation + OS, used by PyPy on Windows (``pypy_nt``). + * Implementation without OS, used by PyPy on POSIX (``pypy``). + * OS + "prefix", used by CPython on POSIX (``posix_prefix``). + * Just the OS name, used by CPython on Windows (``nt``). + + If none of the above works, fall back to ``posix_prefix``. + """ + if _PREFERRED_SCHEME_API: + return _PREFERRED_SCHEME_API("prefix") + if _should_use_osx_framework_prefix(): + return "osx_framework_library" + implementation_suffixed = f"{sys.implementation.name}_{os.name}" + if implementation_suffixed in _AVAILABLE_SCHEMES: + return implementation_suffixed + if sys.implementation.name in _AVAILABLE_SCHEMES: + return sys.implementation.name + suffixed = f"{os.name}_prefix" + if suffixed in _AVAILABLE_SCHEMES: + return suffixed + if os.name in _AVAILABLE_SCHEMES: # On Windows, prefx is just called "nt". + return os.name + return "posix_prefix" + + +def _infer_user() -> str: + """Try to find a user scheme for the current platform.""" + if _PREFERRED_SCHEME_API: + return _PREFERRED_SCHEME_API("user") + if is_osx_framework() and not running_under_virtualenv(): + suffixed = "osx_framework_user" + else: + suffixed = f"{os.name}_user" + if suffixed in _AVAILABLE_SCHEMES: + return suffixed + if "posix_user" not in _AVAILABLE_SCHEMES: # User scheme unavailable. + raise UserInstallationInvalid() + return "posix_user" + + +def _infer_home() -> str: + """Try to find a home for the current platform.""" + if _PREFERRED_SCHEME_API: + return _PREFERRED_SCHEME_API("home") + suffixed = f"{os.name}_home" + if suffixed in _AVAILABLE_SCHEMES: + return suffixed + return "posix_home" + + +# Update these keys if the user sets a custom home. +_HOME_KEYS = [ + "installed_base", + "base", + "installed_platbase", + "platbase", + "prefix", + "exec_prefix", +] +if sysconfig.get_config_var("userbase") is not None: + _HOME_KEYS.append("userbase") + + +def get_scheme( + dist_name: str, + user: bool = False, + home: str | None = None, + root: str | None = None, + isolated: bool = False, + prefix: str | None = None, +) -> Scheme: + """ + Get the "scheme" corresponding to the input parameters. + + :param dist_name: the name of the package to retrieve the scheme for, used + in the headers scheme path + :param user: indicates to use the "user" scheme + :param home: indicates to use the "home" scheme + :param root: root under which other directories are re-based + :param isolated: ignored, but kept for distutils compatibility (where + this controls whether the user-site pydistutils.cfg is honored) + :param prefix: indicates to use the "prefix" scheme and provides the + base directory for the same + """ + if user and prefix: + raise InvalidSchemeCombination("--user", "--prefix") + if home and prefix: + raise InvalidSchemeCombination("--home", "--prefix") + + if home is not None: + scheme_name = _infer_home() + elif user: + scheme_name = _infer_user() + else: + scheme_name = _infer_prefix() + + # Special case: When installing into a custom prefix, use posix_prefix + # instead of osx_framework_library. See _should_use_osx_framework_prefix() + # docstring for details. + if prefix is not None and scheme_name == "osx_framework_library": + scheme_name = "posix_prefix" + + if home is not None: + variables = {k: home for k in _HOME_KEYS} + elif prefix is not None: + variables = {k: prefix for k in _HOME_KEYS} + else: + variables = {} + + paths = sysconfig.get_paths(scheme=scheme_name, vars=variables) + + # Logic here is very arbitrary, we're doing it for compatibility, don't ask. + # 1. Pip historically uses a special header path in virtual environments. + # 2. If the distribution name is not known, distutils uses 'UNKNOWN'. We + # only do the same when not running in a virtual environment because + # pip's historical header path logic (see point 1) did not do this. + if running_under_virtualenv(): + if user: + base = variables.get("userbase", sys.prefix) + else: + base = variables.get("base", sys.prefix) + python_xy = f"python{get_major_minor_version()}" + paths["include"] = os.path.join(base, "include", "site", python_xy) + elif not dist_name: + dist_name = "UNKNOWN" + + scheme = Scheme( + platlib=paths["platlib"], + purelib=paths["purelib"], + headers=os.path.join(paths["include"], dist_name), + scripts=paths["scripts"], + data=paths["data"], + ) + if root is not None: + converted_keys = {} + for key in SCHEME_KEYS: + converted_keys[key] = change_root(root, getattr(scheme, key)) + scheme = Scheme(**converted_keys) + return scheme + + +def get_bin_prefix() -> str: + # Forcing to use /usr/local/bin for standard macOS framework installs. + if sys.platform[:6] == "darwin" and sys.prefix[:16] == "/System/Library/": + return "/usr/local/bin" + return sysconfig.get_paths()["scripts"] + + +def get_purelib() -> str: + return sysconfig.get_paths()["purelib"] + + +def get_platlib() -> str: + return sysconfig.get_paths()["platlib"] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/base.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/base.py new file mode 100644 index 0000000000000000000000000000000000000000..17cd0e8759105f691662b4b6ebbe5a6b3676289c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/locations/base.py @@ -0,0 +1,82 @@ +from __future__ import annotations + +import functools +import os +import site +import sys +import sysconfig + +from pip._internal.exceptions import InstallationError +from pip._internal.utils import appdirs +from pip._internal.utils.virtualenv import running_under_virtualenv + +# Application Directories +USER_CACHE_DIR = appdirs.user_cache_dir("pip") + +# FIXME doesn't account for venv linked to global site-packages +site_packages: str = sysconfig.get_path("purelib") + + +def get_major_minor_version() -> str: + """ + Return the major-minor version of the current Python as a string, e.g. + "3.7" or "3.10". + """ + return "{}.{}".format(*sys.version_info) + + +def change_root(new_root: str, pathname: str) -> str: + """Return 'pathname' with 'new_root' prepended. + + If 'pathname' is relative, this is equivalent to os.path.join(new_root, pathname). + Otherwise, it requires making 'pathname' relative and then joining the + two, which is tricky on DOS/Windows and Mac OS. + + This is borrowed from Python's standard library's distutils module. + """ + if os.name == "posix": + if not os.path.isabs(pathname): + return os.path.join(new_root, pathname) + else: + return os.path.join(new_root, pathname[1:]) + + elif os.name == "nt": + (drive, path) = os.path.splitdrive(pathname) + if path[0] == "\\": + path = path[1:] + return os.path.join(new_root, path) + + else: + raise InstallationError( + f"Unknown platform: {os.name}\n" + "Can not change root path prefix on unknown platform." + ) + + +def get_src_prefix() -> str: + if running_under_virtualenv(): + src_prefix = os.path.join(sys.prefix, "src") + else: + # FIXME: keep src in cwd for now (it is not a temporary folder) + try: + src_prefix = os.path.join(os.getcwd(), "src") + except OSError: + # In case the current working directory has been renamed or deleted + sys.exit("The folder you are executing pip from can no longer be found.") + + # under macOS + virtualenv sys.prefix is not properly resolved + # it is something like /path/to/python/bin/.. + return os.path.abspath(src_prefix) + + +try: + # Use getusersitepackages if this is present, as it ensures that the + # value is initialised properly. + user_site: str | None = site.getusersitepackages() +except AttributeError: + user_site = site.USER_SITE + + +@functools.cache +def is_osx_framework() -> bool: + return bool(sysconfig.get_config_var("PYTHONFRAMEWORK")) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/main.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/main.py new file mode 100644 index 0000000000000000000000000000000000000000..ec52c4e0c398cb0f2cc4d941484258bd016015a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/main.py @@ -0,0 +1,12 @@ +from __future__ import annotations + + +def main(args: list[str] | None = None) -> int: + """This is preserved for old console scripts that may still be referencing + it. + + For additional details, see https://github.com/pypa/pip/issues/7498. + """ + from pip._internal.utils.entrypoints import _wrapper + + return _wrapper(args) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..927e375cad0db7a96cd519f378ce7fff0213ad7a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py @@ -0,0 +1,164 @@ +from __future__ import annotations + +import contextlib +import functools +import os +import sys +from typing import Literal, Protocol, cast + +from pip._internal.utils.deprecation import deprecated +from pip._internal.utils.misc import strtobool + +from .base import BaseDistribution, BaseEnvironment, FilesystemWheel, MemoryWheel, Wheel + +__all__ = [ + "BaseDistribution", + "BaseEnvironment", + "FilesystemWheel", + "MemoryWheel", + "Wheel", + "get_default_environment", + "get_environment", + "get_wheel_distribution", + "select_backend", +] + + +def _should_use_importlib_metadata() -> bool: + """Whether to use the ``importlib.metadata`` or ``pkg_resources`` backend. + + By default, pip uses ``importlib.metadata`` on Python 3.11+, and + ``pkg_resources`` otherwise. Up to Python 3.13, This can be + overridden by a couple of ways: + + * If environment variable ``_PIP_USE_IMPORTLIB_METADATA`` is set, it + dictates whether ``importlib.metadata`` is used, for Python <3.14. + * On Python 3.11, 3.12 and 3.13, Python distributors can patch + ``importlib.metadata`` to add a global constant + ``_PIP_USE_IMPORTLIB_METADATA = False``. This makes pip use + ``pkg_resources`` (unless the user set the aforementioned environment + variable to *True*). + + On Python 3.14+, the ``pkg_resources`` backend cannot be used. + """ + if sys.version_info >= (3, 14): + # On Python >=3.14 we only support importlib.metadata. + return True + with contextlib.suppress(KeyError, ValueError): + # On Python <3.14, if the environment variable is set, we obey what it says. + return bool(strtobool(os.environ["_PIP_USE_IMPORTLIB_METADATA"])) + if sys.version_info < (3, 11): + # On Python <3.11, we always use pkg_resources, unless the environment + # variable was set. + return False + # On Python 3.11, 3.12 and 3.13, we check if the global constant is set. + import importlib.metadata + + return bool(getattr(importlib.metadata, "_PIP_USE_IMPORTLIB_METADATA", True)) + + +def _emit_pkg_resources_deprecation_if_needed() -> None: + if sys.version_info < (3, 11): + # All pip versions supporting Python<=3.11 will support pkg_resources, + # and pkg_resources is the default for these, so let's not bother users. + return + + import importlib.metadata + + if hasattr(importlib.metadata, "_PIP_USE_IMPORTLIB_METADATA"): + # The Python distributor has set the global constant, so we don't + # warn, since it is not a user decision. + return + + # The user has decided to use pkg_resources, so we warn. + deprecated( + reason="Using the pkg_resources metadata backend is deprecated.", + replacement=( + "to use the default importlib.metadata backend, " + "by unsetting the _PIP_USE_IMPORTLIB_METADATA environment variable" + ), + gone_in="26.3", + issue=13317, + ) + + +class Backend(Protocol): + NAME: Literal["importlib", "pkg_resources"] + Distribution: type[BaseDistribution] + Environment: type[BaseEnvironment] + + +@functools.cache +def select_backend() -> Backend: + if _should_use_importlib_metadata(): + from . import importlib + + return cast(Backend, importlib) + + _emit_pkg_resources_deprecation_if_needed() + + from . import pkg_resources + + return cast(Backend, pkg_resources) + + +def get_default_environment() -> BaseEnvironment: + """Get the default representation for the current environment. + + This returns an Environment instance from the chosen backend. The default + Environment instance should be built from ``sys.path`` and may use caching + to share instance state across calls. + """ + return select_backend().Environment.default() + + +def get_environment(paths: list[str] | None) -> BaseEnvironment: + """Get a representation of the environment specified by ``paths``. + + This returns an Environment instance from the chosen backend based on the + given import paths. The backend must build a fresh instance representing + the state of installed distributions when this function is called. + """ + return select_backend().Environment.from_paths(paths) + + +def get_directory_distribution(directory: str) -> BaseDistribution: + """Get the distribution metadata representation in the specified directory. + + This returns a Distribution instance from the chosen backend based on + the given on-disk ``.dist-info`` directory. + """ + return select_backend().Distribution.from_directory(directory) + + +def get_wheel_distribution(wheel: Wheel, canonical_name: str) -> BaseDistribution: + """Get the representation of the specified wheel's distribution metadata. + + This returns a Distribution instance from the chosen backend based on + the given wheel's ``.dist-info`` directory. + + :param canonical_name: Normalized project name of the given wheel. + """ + return select_backend().Distribution.from_wheel(wheel, canonical_name) + + +def get_metadata_distribution( + metadata_contents: bytes, + filename: str, + canonical_name: str, +) -> BaseDistribution: + """Get the dist representation of the specified METADATA file contents. + + This returns a Distribution instance from the chosen backend sourced from the data + in `metadata_contents`. + + :param metadata_contents: Contents of a METADATA file within a dist, or one served + via PEP 658. + :param filename: Filename for the dist this metadata represents. + :param canonical_name: Normalized project name of the given dist. + """ + return select_backend().Distribution.from_metadata_file_contents( + metadata_contents, + filename, + canonical_name, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7cffc06147c417886141796f5803ee05797a42d5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e2d3b4513e145804a7329d4cec7cc98724dccbeb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..87c698051674d1a3a14e273b1db4453ae99f5328 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f0fd179fb09bae1463f331e9712ee0a0ba25e7cc Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/_json.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/_json.py new file mode 100644 index 0000000000000000000000000000000000000000..b39ac0545787df310b1e0a27f2f169cc346df2d5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/_json.py @@ -0,0 +1,87 @@ +# Extracted from https://github.com/pfmoore/pkg_metadata +from __future__ import annotations + +from email.header import Header, decode_header, make_header +from email.message import Message +from typing import Any, cast + +METADATA_FIELDS = [ + # Name, Multiple-Use + ("Metadata-Version", False), + ("Name", False), + ("Version", False), + ("Dynamic", True), + ("Platform", True), + ("Supported-Platform", True), + ("Summary", False), + ("Description", False), + ("Description-Content-Type", False), + ("Keywords", False), + ("Home-page", False), + ("Download-URL", False), + ("Author", False), + ("Author-email", False), + ("Maintainer", False), + ("Maintainer-email", False), + ("License", False), + ("License-Expression", False), + ("License-File", True), + ("Classifier", True), + ("Requires-Dist", True), + ("Requires-Python", False), + ("Requires-External", True), + ("Project-URL", True), + ("Provides-Extra", True), + ("Provides-Dist", True), + ("Obsoletes-Dist", True), +] + + +def json_name(field: str) -> str: + return field.lower().replace("-", "_") + + +def msg_to_json(msg: Message) -> dict[str, Any]: + """Convert a Message object into a JSON-compatible dictionary.""" + + def sanitise_header(h: Header | str) -> str: + if isinstance(h, Header): + chunks = [] + for bytes, encoding in decode_header(h): + if encoding == "unknown-8bit": + try: + # See if UTF-8 works + bytes.decode("utf-8") + encoding = "utf-8" + except UnicodeDecodeError: + # If not, latin1 at least won't fail + encoding = "latin1" + chunks.append((bytes, encoding)) + return str(make_header(chunks)) + return str(h) + + result = {} + for field, multi in METADATA_FIELDS: + if field not in msg: + continue + key = json_name(field) + if multi: + value: str | list[str] = [ + sanitise_header(v) for v in msg.get_all(field) # type: ignore + ] + else: + value = sanitise_header(msg.get(field)) # type: ignore + if key == "keywords": + # Accept both comma-separated and space-separated + # forms, for better compatibility with old data. + if "," in value: + value = [v.strip() for v in value.split(",")] + else: + value = value.split() + result[key] = value + + payload = cast(str, msg.get_payload()) + if payload: + result["description"] = payload + + return result diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/base.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/base.py new file mode 100644 index 0000000000000000000000000000000000000000..230e11473c6219b2c8490bc897feb85a4185dc12 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/base.py @@ -0,0 +1,685 @@ +from __future__ import annotations + +import csv +import email.message +import functools +import json +import logging +import pathlib +import re +import zipfile +from collections.abc import Collection, Container, Iterable, Iterator +from typing import ( + IO, + Any, + NamedTuple, + Protocol, + Union, +) + +from pip._vendor.packaging.requirements import Requirement +from pip._vendor.packaging.specifiers import InvalidSpecifier, SpecifierSet +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name +from pip._vendor.packaging.version import Version + +from pip._internal.exceptions import NoneMetadataError +from pip._internal.locations import site_packages, user_site +from pip._internal.models.direct_url import ( + DIRECT_URL_METADATA_NAME, + DirectUrl, + DirectUrlValidationError, +) +from pip._internal.utils.compat import stdlib_pkgs # TODO: Move definition here. +from pip._internal.utils.egg_link import egg_link_path_from_sys_path +from pip._internal.utils.misc import is_local, normalize_path +from pip._internal.utils.urls import url_to_path + +from ._json import msg_to_json + +InfoPath = Union[str, pathlib.PurePath] + +logger = logging.getLogger(__name__) + + +class BaseEntryPoint(Protocol): + @property + def name(self) -> str: + raise NotImplementedError() + + @property + def value(self) -> str: + raise NotImplementedError() + + @property + def group(self) -> str: + raise NotImplementedError() + + +def _convert_installed_files_path( + entry: tuple[str, ...], + info: tuple[str, ...], +) -> str: + """Convert a legacy installed-files.txt path into modern RECORD path. + + The legacy format stores paths relative to the info directory, while the + modern format stores paths relative to the package root, e.g. the + site-packages directory. + + :param entry: Path parts of the installed-files.txt entry. + :param info: Path parts of the egg-info directory relative to package root. + :returns: The converted entry. + + For best compatibility with symlinks, this does not use ``abspath()`` or + ``Path.resolve()``, but tries to work with path parts: + + 1. While ``entry`` starts with ``..``, remove the equal amounts of parts + from ``info``; if ``info`` is empty, start appending ``..`` instead. + 2. Join the two directly. + """ + while entry and entry[0] == "..": + if not info or info[-1] == "..": + info += ("..",) + else: + info = info[:-1] + entry = entry[1:] + return str(pathlib.Path(*info, *entry)) + + +class RequiresEntry(NamedTuple): + requirement: str + extra: str + marker: str + + +class BaseDistribution(Protocol): + @classmethod + def from_directory(cls, directory: str) -> BaseDistribution: + """Load the distribution from a metadata directory. + + :param directory: Path to a metadata directory, e.g. ``.dist-info``. + """ + raise NotImplementedError() + + @classmethod + def from_metadata_file_contents( + cls, + metadata_contents: bytes, + filename: str, + project_name: str, + ) -> BaseDistribution: + """Load the distribution from the contents of a METADATA file. + + This is used to implement PEP 658 by generating a "shallow" dist object that can + be used for resolution without downloading or building the actual dist yet. + + :param metadata_contents: The contents of a METADATA file. + :param filename: File name for the dist with this metadata. + :param project_name: Name of the project this dist represents. + """ + raise NotImplementedError() + + @classmethod + def from_wheel(cls, wheel: Wheel, name: str) -> BaseDistribution: + """Load the distribution from a given wheel. + + :param wheel: A concrete wheel definition. + :param name: File name of the wheel. + + :raises InvalidWheel: Whenever loading of the wheel causes a + :py:exc:`zipfile.BadZipFile` exception to be thrown. + :raises UnsupportedWheel: If the wheel is a valid zip, but malformed + internally. + """ + raise NotImplementedError() + + def __repr__(self) -> str: + return f"{self.raw_name} {self.raw_version} ({self.location})" + + def __str__(self) -> str: + return f"{self.raw_name} {self.raw_version}" + + @property + def location(self) -> str | None: + """Where the distribution is loaded from. + + A string value is not necessarily a filesystem path, since distributions + can be loaded from other sources, e.g. arbitrary zip archives. ``None`` + means the distribution is created in-memory. + + Do not canonicalize this value with e.g. ``pathlib.Path.resolve()``. If + this is a symbolic link, we want to preserve the relative path between + it and files in the distribution. + """ + raise NotImplementedError() + + @property + def editable_project_location(self) -> str | None: + """The project location for editable distributions. + + This is the directory where pyproject.toml or setup.py is located. + None if the distribution is not installed in editable mode. + """ + # TODO: this property is relatively costly to compute, memoize it ? + direct_url = self.direct_url + if direct_url: + if direct_url.is_local_editable(): + return url_to_path(direct_url.url) + else: + # Search for an .egg-link file by walking sys.path, as it was + # done before by dist_is_editable(). + egg_link_path = egg_link_path_from_sys_path(self.raw_name) + if egg_link_path: + # TODO: get project location from second line of egg_link file + # (https://github.com/pypa/pip/issues/10243) + return self.location + return None + + @property + def installed_location(self) -> str | None: + """The distribution's "installed" location. + + This should generally be a ``site-packages`` directory. This is + usually ``dist.location``, except for legacy develop-installed packages, + where ``dist.location`` is the source code location, and this is where + the ``.egg-link`` file is. + + The returned location is normalized (in particular, with symlinks removed). + """ + raise NotImplementedError() + + @property + def info_location(self) -> str | None: + """Location of the .[egg|dist]-info directory or file. + + Similarly to ``location``, a string value is not necessarily a + filesystem path. ``None`` means the distribution is created in-memory. + + For a modern .dist-info installation on disk, this should be something + like ``{location}/{raw_name}-{version}.dist-info``. + + Do not canonicalize this value with e.g. ``pathlib.Path.resolve()``. If + this is a symbolic link, we want to preserve the relative path between + it and other files in the distribution. + """ + raise NotImplementedError() + + @property + def installed_by_distutils(self) -> bool: + """Whether this distribution is installed with legacy distutils format. + + A distribution installed with "raw" distutils not patched by setuptools + uses one single file at ``info_location`` to store metadata. We need to + treat this specially on uninstallation. + """ + info_location = self.info_location + if not info_location: + return False + return pathlib.Path(info_location).is_file() + + @property + def installed_as_egg(self) -> bool: + """Whether this distribution is installed as an egg. + + This usually indicates the distribution was installed by (older versions + of) easy_install. + """ + location = self.location + if not location: + return False + # XXX if the distribution is a zipped egg, location has a trailing / + # so we resort to pathlib.Path to check the suffix in a reliable way. + return pathlib.Path(location).suffix == ".egg" + + @property + def installed_with_setuptools_egg_info(self) -> bool: + """Whether this distribution is installed with the ``.egg-info`` format. + + This usually indicates the distribution was installed with setuptools + with an old pip version or with ``single-version-externally-managed``. + + Note that this ensure the metadata store is a directory. distutils can + also installs an ``.egg-info``, but as a file, not a directory. This + property is *False* for that case. Also see ``installed_by_distutils``. + """ + info_location = self.info_location + if not info_location: + return False + if not info_location.endswith(".egg-info"): + return False + return pathlib.Path(info_location).is_dir() + + @property + def installed_with_dist_info(self) -> bool: + """Whether this distribution is installed with the "modern format". + + This indicates a "modern" installation, e.g. storing metadata in the + ``.dist-info`` directory. This applies to installations made by + setuptools (but through pip, not directly), or anything using the + standardized build backend interface (PEP 517). + """ + info_location = self.info_location + if not info_location: + return False + if not info_location.endswith(".dist-info"): + return False + return pathlib.Path(info_location).is_dir() + + @property + def canonical_name(self) -> NormalizedName: + raise NotImplementedError() + + @property + def version(self) -> Version: + raise NotImplementedError() + + @property + def raw_version(self) -> str: + raise NotImplementedError() + + @property + def setuptools_filename(self) -> str: + """Convert a project name to its setuptools-compatible filename. + + This is a copy of ``pkg_resources.to_filename()`` for compatibility. + """ + return self.raw_name.replace("-", "_") + + @property + def direct_url(self) -> DirectUrl | None: + """Obtain a DirectUrl from this distribution. + + Returns None if the distribution has no `direct_url.json` metadata, + or if `direct_url.json` is invalid. + """ + try: + content = self.read_text(DIRECT_URL_METADATA_NAME) + except FileNotFoundError: + return None + try: + return DirectUrl.from_json(content) + except ( + UnicodeDecodeError, + json.JSONDecodeError, + DirectUrlValidationError, + ) as e: + logger.warning( + "Error parsing %s for %s: %s", + DIRECT_URL_METADATA_NAME, + self.canonical_name, + e, + ) + return None + + @property + def installer(self) -> str: + try: + installer_text = self.read_text("INSTALLER") + except (OSError, ValueError, NoneMetadataError): + return "" # Fail silently if the installer file cannot be read. + for line in installer_text.splitlines(): + cleaned_line = line.strip() + if cleaned_line: + return cleaned_line + return "" + + @property + def requested(self) -> bool: + return self.is_file("REQUESTED") + + @property + def editable(self) -> bool: + return bool(self.editable_project_location) + + @property + def local(self) -> bool: + """If distribution is installed in the current virtual environment. + + Always True if we're not in a virtualenv. + """ + if self.installed_location is None: + return False + return is_local(self.installed_location) + + @property + def in_usersite(self) -> bool: + if self.installed_location is None or user_site is None: + return False + return self.installed_location.startswith(normalize_path(user_site)) + + @property + def in_site_packages(self) -> bool: + if self.installed_location is None or site_packages is None: + return False + return self.installed_location.startswith(normalize_path(site_packages)) + + def is_file(self, path: InfoPath) -> bool: + """Check whether an entry in the info directory is a file.""" + raise NotImplementedError() + + def iter_distutils_script_names(self) -> Iterator[str]: + """Find distutils 'scripts' entries metadata. + + If 'scripts' is supplied in ``setup.py``, distutils records those in the + installed distribution's ``scripts`` directory, a file for each script. + """ + raise NotImplementedError() + + def read_text(self, path: InfoPath) -> str: + """Read a file in the info directory. + + :raise FileNotFoundError: If ``path`` does not exist in the directory. + :raise NoneMetadataError: If ``path`` exists in the info directory, but + cannot be read. + """ + raise NotImplementedError() + + def iter_entry_points(self) -> Iterable[BaseEntryPoint]: + raise NotImplementedError() + + def _metadata_impl(self) -> email.message.Message: + raise NotImplementedError() + + @functools.cached_property + def metadata(self) -> email.message.Message: + """Metadata of distribution parsed from e.g. METADATA or PKG-INFO. + + This should return an empty message if the metadata file is unavailable. + + :raises NoneMetadataError: If the metadata file is available, but does + not contain valid metadata. + """ + metadata = self._metadata_impl() + self._add_egg_info_requires(metadata) + return metadata + + @property + def metadata_dict(self) -> dict[str, Any]: + """PEP 566 compliant JSON-serializable representation of METADATA or PKG-INFO. + + This should return an empty dict if the metadata file is unavailable. + + :raises NoneMetadataError: If the metadata file is available, but does + not contain valid metadata. + """ + return msg_to_json(self.metadata) + + @property + def metadata_version(self) -> str | None: + """Value of "Metadata-Version:" in distribution metadata, if available.""" + return self.metadata.get("Metadata-Version") + + @property + def raw_name(self) -> str: + """Value of "Name:" in distribution metadata.""" + # The metadata should NEVER be missing the Name: key, but if it somehow + # does, fall back to the known canonical name. + return self.metadata.get("Name", self.canonical_name) + + @property + def requires_python(self) -> SpecifierSet: + """Value of "Requires-Python:" in distribution metadata. + + If the key does not exist or contains an invalid value, an empty + SpecifierSet should be returned. + """ + value = self.metadata.get("Requires-Python") + if value is None: + return SpecifierSet() + try: + # Convert to str to satisfy the type checker; this can be a Header object. + spec = SpecifierSet(str(value)) + except InvalidSpecifier as e: + message = "Package %r has an invalid Requires-Python: %s" + logger.warning(message, self.raw_name, e) + return SpecifierSet() + return spec + + def iter_dependencies(self, extras: Collection[str] = ()) -> Iterable[Requirement]: + """Dependencies of this distribution. + + For modern .dist-info distributions, this is the collection of + "Requires-Dist:" entries in distribution metadata. + """ + raise NotImplementedError() + + def iter_raw_dependencies(self) -> Iterable[str]: + """Raw Requires-Dist metadata.""" + return self.metadata.get_all("Requires-Dist", []) + + def iter_provided_extras(self) -> Iterable[NormalizedName]: + """Extras provided by this distribution. + + For modern .dist-info distributions, this is the collection of + "Provides-Extra:" entries in distribution metadata. + + The return value of this function is expected to be normalised names, + per PEP 685, with the returned value being handled appropriately by + `iter_dependencies`. + """ + raise NotImplementedError() + + def _iter_declared_entries_from_record(self) -> Iterator[str] | None: + try: + text = self.read_text("RECORD") + except FileNotFoundError: + return None + # This extra Path-str cast normalizes entries. + return (str(pathlib.Path(row[0])) for row in csv.reader(text.splitlines())) + + def _iter_declared_entries_from_legacy(self) -> Iterator[str] | None: + try: + text = self.read_text("installed-files.txt") + except FileNotFoundError: + return None + paths = (p for p in text.splitlines(keepends=False) if p) + root = self.location + info = self.info_location + if root is None or info is None: + return paths + try: + info_rel = pathlib.Path(info).relative_to(root) + except ValueError: # info is not relative to root. + return paths + if not info_rel.parts: # info *is* root. + return paths + return ( + _convert_installed_files_path(pathlib.Path(p).parts, info_rel.parts) + for p in paths + ) + + def iter_declared_entries(self) -> Iterator[str] | None: + """Iterate through file entries declared in this distribution. + + For modern .dist-info distributions, this is the files listed in the + ``RECORD`` metadata file. For legacy setuptools distributions, this + comes from ``installed-files.txt``, with entries normalized to be + compatible with the format used by ``RECORD``. + + :return: An iterator for listed entries, or None if the distribution + contains neither ``RECORD`` nor ``installed-files.txt``. + """ + return ( + self._iter_declared_entries_from_record() + or self._iter_declared_entries_from_legacy() + ) + + def _iter_requires_txt_entries(self) -> Iterator[RequiresEntry]: + """Parse a ``requires.txt`` in an egg-info directory. + + This is an INI-ish format where an egg-info stores dependencies. A + section name describes extra other environment markers, while each entry + is an arbitrary string (not a key-value pair) representing a dependency + as a requirement string (no markers). + + There is a construct in ``importlib.metadata`` called ``Sectioned`` that + does mostly the same, but the format is currently considered private. + """ + try: + content = self.read_text("requires.txt") + except FileNotFoundError: + return + extra = marker = "" # Section-less entries don't have markers. + for line in content.splitlines(): + line = line.strip() + if not line or line.startswith("#"): # Comment; ignored. + continue + if line.startswith("[") and line.endswith("]"): # A section header. + extra, _, marker = line.strip("[]").partition(":") + continue + yield RequiresEntry(requirement=line, extra=extra, marker=marker) + + def _iter_egg_info_extras(self) -> Iterable[str]: + """Get extras from the egg-info directory.""" + known_extras = {""} + for entry in self._iter_requires_txt_entries(): + extra = canonicalize_name(entry.extra) + if extra in known_extras: + continue + known_extras.add(extra) + yield extra + + def _iter_egg_info_dependencies(self) -> Iterable[str]: + """Get distribution dependencies from the egg-info directory. + + To ease parsing, this converts a legacy dependency entry into a PEP 508 + requirement string. Like ``_iter_requires_txt_entries()``, there is code + in ``importlib.metadata`` that does mostly the same, but not do exactly + what we need. + + Namely, ``importlib.metadata`` does not normalize the extra name before + putting it into the requirement string, which causes marker comparison + to fail because the dist-info format do normalize. This is consistent in + all currently available PEP 517 backends, although not standardized. + """ + for entry in self._iter_requires_txt_entries(): + extra = canonicalize_name(entry.extra) + if extra and entry.marker: + marker = f'({entry.marker}) and extra == "{extra}"' + elif extra: + marker = f'extra == "{extra}"' + elif entry.marker: + marker = entry.marker + else: + marker = "" + if marker: + yield f"{entry.requirement} ; {marker}" + else: + yield entry.requirement + + def _add_egg_info_requires(self, metadata: email.message.Message) -> None: + """Add egg-info requires.txt information to the metadata.""" + if not metadata.get_all("Requires-Dist"): + for dep in self._iter_egg_info_dependencies(): + metadata["Requires-Dist"] = dep + if not metadata.get_all("Provides-Extra"): + for extra in self._iter_egg_info_extras(): + metadata["Provides-Extra"] = extra + + +class BaseEnvironment: + """An environment containing distributions to introspect.""" + + @classmethod + def default(cls) -> BaseEnvironment: + raise NotImplementedError() + + @classmethod + def from_paths(cls, paths: list[str] | None) -> BaseEnvironment: + raise NotImplementedError() + + def get_distribution(self, name: str) -> BaseDistribution | None: + """Given a requirement name, return the installed distributions. + + The name may not be normalized. The implementation must canonicalize + it for lookup. + """ + raise NotImplementedError() + + def _iter_distributions(self) -> Iterator[BaseDistribution]: + """Iterate through installed distributions. + + This function should be implemented by subclass, but never called + directly. Use the public ``iter_distribution()`` instead, which + implements additional logic to make sure the distributions are valid. + """ + raise NotImplementedError() + + def iter_all_distributions(self) -> Iterator[BaseDistribution]: + """Iterate through all installed distributions without any filtering.""" + for dist in self._iter_distributions(): + # Make sure the distribution actually comes from a valid Python + # packaging distribution. Pip's AdjacentTempDirectory leaves folders + # e.g. ``~atplotlib.dist-info`` if cleanup was interrupted. The + # valid project name pattern is taken from PEP 508. + project_name_valid = re.match( + r"^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$", + dist.canonical_name, + flags=re.IGNORECASE, + ) + if not project_name_valid: + logger.warning( + "Ignoring invalid distribution %s (%s)", + dist.canonical_name, + dist.location, + ) + continue + yield dist + + def iter_installed_distributions( + self, + local_only: bool = True, + skip: Container[str] = stdlib_pkgs, + include_editables: bool = True, + editables_only: bool = False, + user_only: bool = False, + ) -> Iterator[BaseDistribution]: + """Return a list of installed distributions. + + This is based on ``iter_all_distributions()`` with additional filtering + options. Note that ``iter_installed_distributions()`` without arguments + is *not* equal to ``iter_all_distributions()``, since some of the + configurations exclude packages by default. + + :param local_only: If True (default), only return installations + local to the current virtualenv, if in a virtualenv. + :param skip: An iterable of canonicalized project names to ignore; + defaults to ``stdlib_pkgs``. + :param include_editables: If False, don't report editables. + :param editables_only: If True, only report editables. + :param user_only: If True, only report installations in the user + site directory. + """ + it = self.iter_all_distributions() + if local_only: + it = (d for d in it if d.local) + if not include_editables: + it = (d for d in it if not d.editable) + if editables_only: + it = (d for d in it if d.editable) + if user_only: + it = (d for d in it if d.in_usersite) + return (d for d in it if d.canonical_name not in skip) + + +class Wheel(Protocol): + location: str + + def as_zipfile(self) -> zipfile.ZipFile: + raise NotImplementedError() + + +class FilesystemWheel(Wheel): + def __init__(self, location: str) -> None: + self.location = location + + def as_zipfile(self) -> zipfile.ZipFile: + return zipfile.ZipFile(self.location, allowZip64=True) + + +class MemoryWheel(Wheel): + def __init__(self, location: str, stream: IO[bytes]) -> None: + self.location = location + self.stream = stream + + def as_zipfile(self) -> zipfile.ZipFile: + return zipfile.ZipFile(self.stream, allowZip64=True) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..a779138db1040d3903c2bb66ecb2f52a46879dae --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__init__.py @@ -0,0 +1,6 @@ +from ._dists import Distribution +from ._envs import Environment + +__all__ = ["NAME", "Distribution", "Environment"] + +NAME = "importlib" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5b5e816655549adad40470042a3fb5ffa07bd83b Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6de424fc27ed003a91225bfd27fe68f9ffc604c5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cc09197dfee25ff2617171e4c017c90d20a24a10 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3616c46bb58db26ba30b4fa0decea71ac44d0bab Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py new file mode 100644 index 0000000000000000000000000000000000000000..7de614d7f64ef463ede0066afd053b06a70f2d43 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_compat.py @@ -0,0 +1,87 @@ +from __future__ import annotations + +import importlib.metadata +import os +from typing import Any, Protocol, cast + +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name + + +class BadMetadata(ValueError): + def __init__(self, dist: importlib.metadata.Distribution, *, reason: str) -> None: + self.dist = dist + self.reason = reason + + def __str__(self) -> str: + return f"Bad metadata in {self.dist} ({self.reason})" + + +class BasePath(Protocol): + """A protocol that various path objects conform. + + This exists because importlib.metadata uses both ``pathlib.Path`` and + ``zipfile.Path``, and we need a common base for type hints (Union does not + work well since ``zipfile.Path`` is too new for our linter setup). + + This does not mean to be exhaustive, but only contains things that present + in both classes *that we need*. + """ + + @property + def name(self) -> str: + raise NotImplementedError() + + @property + def parent(self) -> BasePath: + raise NotImplementedError() + + +def get_info_location(d: importlib.metadata.Distribution) -> BasePath | None: + """Find the path to the distribution's metadata directory. + + HACK: This relies on importlib.metadata's private ``_path`` attribute. Not + all distributions exist on disk, so importlib.metadata is correct to not + expose the attribute as public. But pip's code base is old and not as clean, + so we do this to avoid having to rewrite too many things. Hopefully we can + eliminate this some day. + """ + return getattr(d, "_path", None) + + +def parse_name_and_version_from_info_directory( + dist: importlib.metadata.Distribution, +) -> tuple[str | None, str | None]: + """Get a name and version from the metadata directory name. + + This is much faster than reading distribution metadata. + """ + info_location = get_info_location(dist) + if info_location is None: + return None, None + + stem, suffix = os.path.splitext(info_location.name) + if suffix == ".dist-info": + name, sep, version = stem.partition("-") + if sep: + return name, version + + if suffix == ".egg-info": + name = stem.split("-", 1)[0] + return name, None + + return None, None + + +def get_dist_canonical_name(dist: importlib.metadata.Distribution) -> NormalizedName: + """Get the distribution's normalized name. + + The ``name`` attribute is only available in Python 3.10 or later. We are + targeting exactly that, but Mypy does not know this. + """ + if name := parse_name_and_version_from_info_directory(dist)[0]: + return canonicalize_name(name) + + name = cast(Any, dist).name + if not isinstance(name, str): + raise BadMetadata(dist, reason="invalid metadata entry 'name'") + return canonicalize_name(name) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py new file mode 100644 index 0000000000000000000000000000000000000000..97363af9a5513f0958b8f91ab67d16b0a978b133 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py @@ -0,0 +1,223 @@ +from __future__ import annotations + +import email.message +import importlib.metadata +import pathlib +import zipfile +from collections.abc import Collection, Iterable, Iterator, Mapping, Sequence +from os import PathLike +from typing import ( + cast, +) + +from pip._vendor.packaging.requirements import Requirement +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name +from pip._vendor.packaging.version import Version +from pip._vendor.packaging.version import parse as parse_version + +from pip._internal.exceptions import InvalidWheel, UnsupportedWheel +from pip._internal.metadata.base import ( + BaseDistribution, + BaseEntryPoint, + InfoPath, + Wheel, +) +from pip._internal.utils.misc import normalize_path +from pip._internal.utils.packaging import get_requirement +from pip._internal.utils.temp_dir import TempDirectory +from pip._internal.utils.wheel import parse_wheel, read_wheel_metadata_file + +from ._compat import ( + BasePath, + get_dist_canonical_name, + parse_name_and_version_from_info_directory, +) + + +class WheelDistribution(importlib.metadata.Distribution): + """An ``importlib.metadata.Distribution`` read from a wheel. + + Although ``importlib.metadata.PathDistribution`` accepts ``zipfile.Path``, + its implementation is too "lazy" for pip's needs (we can't keep the ZipFile + handle open for the entire lifetime of the distribution object). + + This implementation eagerly reads the entire metadata directory into the + memory instead, and operates from that. + """ + + def __init__( + self, + files: Mapping[pathlib.PurePosixPath, bytes], + info_location: pathlib.PurePosixPath, + ) -> None: + self._files = files + self.info_location = info_location + + @classmethod + def from_zipfile( + cls, + zf: zipfile.ZipFile, + name: str, + location: str, + ) -> WheelDistribution: + info_dir, _ = parse_wheel(zf, name) + paths = ( + (name, pathlib.PurePosixPath(name.split("/", 1)[-1])) + for name in zf.namelist() + if name.startswith(f"{info_dir}/") + ) + files = { + relpath: read_wheel_metadata_file(zf, fullpath) + for fullpath, relpath in paths + } + info_location = pathlib.PurePosixPath(location, info_dir) + return cls(files, info_location) + + def iterdir(self, path: InfoPath) -> Iterator[pathlib.PurePosixPath]: + # Only allow iterating through the metadata directory. + if pathlib.PurePosixPath(str(path)) in self._files: + return iter(self._files) + raise FileNotFoundError(path) + + def read_text(self, filename: str) -> str | None: + try: + data = self._files[pathlib.PurePosixPath(filename)] + except KeyError: + return None + try: + text = data.decode("utf-8") + except UnicodeDecodeError as e: + wheel = self.info_location.parent + error = f"Error decoding metadata for {wheel}: {e} in {filename} file" + raise UnsupportedWheel(error) + return text + + def locate_file(self, path: str | PathLike[str]) -> pathlib.Path: + # This method doesn't make sense for our in-memory wheel, but the API + # requires us to define it. + raise NotImplementedError + + +class Distribution(BaseDistribution): + def __init__( + self, + dist: importlib.metadata.Distribution, + info_location: BasePath | None, + installed_location: BasePath | None, + ) -> None: + self._dist = dist + self._info_location = info_location + self._installed_location = installed_location + + @classmethod + def from_directory(cls, directory: str) -> BaseDistribution: + info_location = pathlib.Path(directory) + dist = importlib.metadata.Distribution.at(info_location) + return cls(dist, info_location, info_location.parent) + + @classmethod + def from_metadata_file_contents( + cls, + metadata_contents: bytes, + filename: str, + project_name: str, + ) -> BaseDistribution: + # Generate temp dir to contain the metadata file, and write the file contents. + temp_dir = pathlib.Path( + TempDirectory(kind="metadata", globally_managed=True).path + ) + metadata_path = temp_dir / "METADATA" + metadata_path.write_bytes(metadata_contents) + # Construct dist pointing to the newly created directory. + dist = importlib.metadata.Distribution.at(metadata_path.parent) + return cls(dist, metadata_path.parent, None) + + @classmethod + def from_wheel(cls, wheel: Wheel, name: str) -> BaseDistribution: + try: + with wheel.as_zipfile() as zf: + dist = WheelDistribution.from_zipfile(zf, name, wheel.location) + except zipfile.BadZipFile as e: + raise InvalidWheel(wheel.location, name) from e + return cls(dist, dist.info_location, pathlib.PurePosixPath(wheel.location)) + + @property + def location(self) -> str | None: + if self._info_location is None: + return None + return str(self._info_location.parent) + + @property + def info_location(self) -> str | None: + if self._info_location is None: + return None + return str(self._info_location) + + @property + def installed_location(self) -> str | None: + if self._installed_location is None: + return None + return normalize_path(str(self._installed_location)) + + @property + def canonical_name(self) -> NormalizedName: + return get_dist_canonical_name(self._dist) + + @property + def version(self) -> Version: + if version := parse_name_and_version_from_info_directory(self._dist)[1]: + return parse_version(version) + return parse_version(self._dist.version) + + @property + def raw_version(self) -> str: + return self._dist.version + + def is_file(self, path: InfoPath) -> bool: + return self._dist.read_text(str(path)) is not None + + def iter_distutils_script_names(self) -> Iterator[str]: + # A distutils installation is always "flat" (not in e.g. egg form), so + # if this distribution's info location is NOT a pathlib.Path (but e.g. + # zipfile.Path), it can never contain any distutils scripts. + if not isinstance(self._info_location, pathlib.Path): + return + for child in self._info_location.joinpath("scripts").iterdir(): + yield child.name + + def read_text(self, path: InfoPath) -> str: + content = self._dist.read_text(str(path)) + if content is None: + raise FileNotFoundError(path) + return content + + def iter_entry_points(self) -> Iterable[BaseEntryPoint]: + # importlib.metadata's EntryPoint structure satisfies BaseEntryPoint. + return self._dist.entry_points + + def _metadata_impl(self) -> email.message.Message: + # From Python 3.10+, importlib.metadata declares PackageMetadata as the + # return type. This protocol is unfortunately a disaster now and misses + # a ton of fields that we need, including get() and get_payload(). We + # rely on the implementation that the object is actually a Message now, + # until upstream can improve the protocol. (python/cpython#94952) + return cast(email.message.Message, self._dist.metadata) + + def iter_provided_extras(self) -> Iterable[NormalizedName]: + return [ + canonicalize_name(extra) + for extra in self.metadata.get_all("Provides-Extra", []) + ] + + def iter_dependencies(self, extras: Collection[str] = ()) -> Iterable[Requirement]: + contexts: Sequence[dict[str, str]] = [{"extra": e} for e in extras] + for req_string in self.metadata.get_all("Requires-Dist", []): + # strip() because email.message.Message.get_all() may return a leading \n + # in case a long header was wrapped. + req = get_requirement(req_string.strip()) + if not req.marker: + yield req + elif not extras and req.marker.evaluate({"extra": ""}): + yield req + elif any(req.marker.evaluate(context) for context in contexts): + yield req diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py new file mode 100644 index 0000000000000000000000000000000000000000..71a73b7311faaab31a2a0bc67171d4fbe5a11642 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py @@ -0,0 +1,143 @@ +from __future__ import annotations + +import importlib.metadata +import logging +import os +import pathlib +import sys +import zipfile +from collections.abc import Iterator, Sequence +from typing import Optional + +from pip._vendor.packaging.utils import ( + InvalidWheelFilename, + NormalizedName, + canonicalize_name, + parse_wheel_filename, +) + +from pip._internal.metadata.base import BaseDistribution, BaseEnvironment +from pip._internal.utils.filetypes import WHEEL_EXTENSION + +from ._compat import BadMetadata, BasePath, get_dist_canonical_name, get_info_location +from ._dists import Distribution + +logger = logging.getLogger(__name__) + + +def _looks_like_wheel(location: str) -> bool: + if not location.endswith(WHEEL_EXTENSION): + return False + if not os.path.isfile(location): + return False + try: + parse_wheel_filename(os.path.basename(location)) + except InvalidWheelFilename: + return False + return zipfile.is_zipfile(location) + + +class _DistributionFinder: + """Finder to locate distributions. + + The main purpose of this class is to memoize found distributions' names, so + only one distribution is returned for each package name. At lot of pip code + assumes this (because it is setuptools's behavior), and not doing the same + can potentially cause a distribution in lower precedence path to override a + higher precedence one if the caller is not careful. + + Eventually we probably want to make it possible to see lower precedence + installations as well. It's useful feature, after all. + """ + + FoundResult = tuple[importlib.metadata.Distribution, Optional[BasePath]] + + def __init__(self) -> None: + self._found_names: set[NormalizedName] = set() + + def _find_impl(self, location: str) -> Iterator[FoundResult]: + """Find distributions in a location.""" + # Skip looking inside a wheel. Since a package inside a wheel is not + # always valid (due to .data directories etc.), its .dist-info entry + # should not be considered an installed distribution. + if _looks_like_wheel(location): + return + # To know exactly where we find a distribution, we have to feed in the + # paths one by one, instead of dumping the list to importlib.metadata. + for dist in importlib.metadata.distributions(path=[location]): + info_location = get_info_location(dist) + try: + name = get_dist_canonical_name(dist) + except BadMetadata as e: + logger.warning("Skipping %s due to %s", info_location, e.reason) + continue + if name in self._found_names: + continue + self._found_names.add(name) + yield dist, info_location + + def find(self, location: str) -> Iterator[BaseDistribution]: + """Find distributions in a location. + + The path can be either a directory, or a ZIP archive. + """ + for dist, info_location in self._find_impl(location): + if info_location is None: + installed_location: BasePath | None = None + else: + installed_location = info_location.parent + yield Distribution(dist, info_location, installed_location) + + def find_legacy_editables(self, location: str) -> Iterator[BaseDistribution]: + """Read location in egg-link files and return distributions in there. + + The path should be a directory; otherwise this returns nothing. This + follows how setuptools does this for compatibility. The first non-empty + line in the egg-link is read as a path (resolved against the egg-link's + containing directory if relative). Distributions found at that linked + location are returned. + """ + path = pathlib.Path(location) + if not path.is_dir(): + return + for child in path.iterdir(): + if child.suffix != ".egg-link": + continue + with child.open() as f: + lines = (line.strip() for line in f) + target_rel = next((line for line in lines if line), "") + if not target_rel: + continue + target_location = str(path.joinpath(target_rel)) + for dist, info_location in self._find_impl(target_location): + yield Distribution(dist, info_location, path) + + +class Environment(BaseEnvironment): + def __init__(self, paths: Sequence[str]) -> None: + self._paths = paths + + @classmethod + def default(cls) -> BaseEnvironment: + return cls(sys.path) + + @classmethod + def from_paths(cls, paths: list[str] | None) -> BaseEnvironment: + if paths is None: + return cls(sys.path) + return cls(paths) + + def _iter_distributions(self) -> Iterator[BaseDistribution]: + finder = _DistributionFinder() + for location in self._paths: + yield from finder.find(location) + yield from finder.find_legacy_editables(location) + + def get_distribution(self, name: str) -> BaseDistribution | None: + canonical_name = canonicalize_name(name) + matches = ( + distribution + for distribution in self.iter_all_distributions() + if distribution.canonical_name == canonical_name + ) + return next(matches, None) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/pkg_resources.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/pkg_resources.py new file mode 100644 index 0000000000000000000000000000000000000000..89fce8b6e5ddeceb77b2f155221ee3f153dbca31 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/metadata/pkg_resources.py @@ -0,0 +1,298 @@ +from __future__ import annotations + +import email.message +import email.parser +import logging +import os +import zipfile +from collections.abc import Collection, Iterable, Iterator, Mapping +from typing import ( + NamedTuple, +) + +from pip._vendor import pkg_resources +from pip._vendor.packaging.requirements import Requirement +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name +from pip._vendor.packaging.version import Version +from pip._vendor.packaging.version import parse as parse_version + +from pip._internal.exceptions import InvalidWheel, NoneMetadataError, UnsupportedWheel +from pip._internal.utils.egg_link import egg_link_path_from_location +from pip._internal.utils.misc import display_path, normalize_path +from pip._internal.utils.wheel import parse_wheel, read_wheel_metadata_file + +from .base import ( + BaseDistribution, + BaseEntryPoint, + BaseEnvironment, + InfoPath, + Wheel, +) + +__all__ = ["NAME", "Distribution", "Environment"] + +logger = logging.getLogger(__name__) + +NAME = "pkg_resources" + + +class EntryPoint(NamedTuple): + name: str + value: str + group: str + + +class InMemoryMetadata: + """IMetadataProvider that reads metadata files from a dictionary. + + This also maps metadata decoding exceptions to our internal exception type. + """ + + def __init__(self, metadata: Mapping[str, bytes], wheel_name: str) -> None: + self._metadata = metadata + self._wheel_name = wheel_name + + def has_metadata(self, name: str) -> bool: + return name in self._metadata + + def get_metadata(self, name: str) -> str: + try: + return self._metadata[name].decode() + except UnicodeDecodeError as e: + # Augment the default error with the origin of the file. + raise UnsupportedWheel( + f"Error decoding metadata for {self._wheel_name}: {e} in {name} file" + ) + + def get_metadata_lines(self, name: str) -> Iterable[str]: + return pkg_resources.yield_lines(self.get_metadata(name)) + + def metadata_isdir(self, name: str) -> bool: + return False + + def metadata_listdir(self, name: str) -> list[str]: + return [] + + def run_script(self, script_name: str, namespace: str) -> None: + pass + + +class Distribution(BaseDistribution): + def __init__(self, dist: pkg_resources.Distribution) -> None: + self._dist = dist + # This is populated lazily, to avoid loading metadata for all possible + # distributions eagerly. + self.__extra_mapping: Mapping[NormalizedName, str] | None = None + + @property + def _extra_mapping(self) -> Mapping[NormalizedName, str]: + if self.__extra_mapping is None: + self.__extra_mapping = { + canonicalize_name(extra): extra for extra in self._dist.extras + } + + return self.__extra_mapping + + @classmethod + def from_directory(cls, directory: str) -> BaseDistribution: + dist_dir = directory.rstrip(os.sep) + + # Build a PathMetadata object, from path to metadata. :wink: + base_dir, dist_dir_name = os.path.split(dist_dir) + metadata = pkg_resources.PathMetadata(base_dir, dist_dir) + + # Determine the correct Distribution object type. + if dist_dir.endswith(".egg-info"): + dist_cls = pkg_resources.Distribution + dist_name = os.path.splitext(dist_dir_name)[0] + else: + assert dist_dir.endswith(".dist-info") + dist_cls = pkg_resources.DistInfoDistribution + dist_name = os.path.splitext(dist_dir_name)[0].split("-")[0] + + dist = dist_cls(base_dir, project_name=dist_name, metadata=metadata) + return cls(dist) + + @classmethod + def from_metadata_file_contents( + cls, + metadata_contents: bytes, + filename: str, + project_name: str, + ) -> BaseDistribution: + metadata_dict = { + "METADATA": metadata_contents, + } + dist = pkg_resources.DistInfoDistribution( + location=filename, + metadata=InMemoryMetadata(metadata_dict, filename), + project_name=project_name, + ) + return cls(dist) + + @classmethod + def from_wheel(cls, wheel: Wheel, name: str) -> BaseDistribution: + try: + with wheel.as_zipfile() as zf: + info_dir, _ = parse_wheel(zf, name) + metadata_dict = { + path.split("/", 1)[-1]: read_wheel_metadata_file(zf, path) + for path in zf.namelist() + if path.startswith(f"{info_dir}/") + } + except zipfile.BadZipFile as e: + raise InvalidWheel(wheel.location, name) from e + except UnsupportedWheel as e: + raise UnsupportedWheel(f"{name} has an invalid wheel, {e}") + dist = pkg_resources.DistInfoDistribution( + location=wheel.location, + metadata=InMemoryMetadata(metadata_dict, wheel.location), + project_name=name, + ) + return cls(dist) + + @property + def location(self) -> str | None: + return self._dist.location + + @property + def installed_location(self) -> str | None: + egg_link = egg_link_path_from_location(self.raw_name) + if egg_link: + location = egg_link + elif self.location: + location = self.location + else: + return None + return normalize_path(location) + + @property + def info_location(self) -> str | None: + return self._dist.egg_info + + @property + def installed_by_distutils(self) -> bool: + # A distutils-installed distribution is provided by FileMetadata. This + # provider has a "path" attribute not present anywhere else. Not the + # best introspection logic, but pip has been doing this for a long time. + try: + return bool(self._dist._provider.path) + except AttributeError: + return False + + @property + def canonical_name(self) -> NormalizedName: + return canonicalize_name(self._dist.project_name) + + @property + def version(self) -> Version: + return parse_version(self._dist.version) + + @property + def raw_version(self) -> str: + return self._dist.version + + def is_file(self, path: InfoPath) -> bool: + return self._dist.has_metadata(str(path)) + + def iter_distutils_script_names(self) -> Iterator[str]: + yield from self._dist.metadata_listdir("scripts") + + def read_text(self, path: InfoPath) -> str: + name = str(path) + if not self._dist.has_metadata(name): + raise FileNotFoundError(name) + content = self._dist.get_metadata(name) + if content is None: + raise NoneMetadataError(self, name) + return content + + def iter_entry_points(self) -> Iterable[BaseEntryPoint]: + for group, entries in self._dist.get_entry_map().items(): + for name, entry_point in entries.items(): + name, _, value = str(entry_point).partition("=") + yield EntryPoint(name=name.strip(), value=value.strip(), group=group) + + def _metadata_impl(self) -> email.message.Message: + """ + :raises NoneMetadataError: if the distribution reports `has_metadata()` + True but `get_metadata()` returns None. + """ + if isinstance(self._dist, pkg_resources.DistInfoDistribution): + metadata_name = "METADATA" + else: + metadata_name = "PKG-INFO" + try: + metadata = self.read_text(metadata_name) + except FileNotFoundError: + if self.location: + displaying_path = display_path(self.location) + else: + displaying_path = repr(self.location) + logger.warning("No metadata found in %s", displaying_path) + metadata = "" + feed_parser = email.parser.FeedParser() + feed_parser.feed(metadata) + return feed_parser.close() + + def iter_dependencies(self, extras: Collection[str] = ()) -> Iterable[Requirement]: + if extras: + relevant_extras = set(self._extra_mapping) & set( + map(canonicalize_name, extras) + ) + extras = [self._extra_mapping[extra] for extra in relevant_extras] + return self._dist.requires(extras) + + def iter_provided_extras(self) -> Iterable[NormalizedName]: + return self._extra_mapping.keys() + + +class Environment(BaseEnvironment): + def __init__(self, ws: pkg_resources.WorkingSet) -> None: + self._ws = ws + + @classmethod + def default(cls) -> BaseEnvironment: + return cls(pkg_resources.working_set) + + @classmethod + def from_paths(cls, paths: list[str] | None) -> BaseEnvironment: + return cls(pkg_resources.WorkingSet(paths)) + + def _iter_distributions(self) -> Iterator[BaseDistribution]: + for dist in self._ws: + yield Distribution(dist) + + def _search_distribution(self, name: str) -> BaseDistribution | None: + """Find a distribution matching the ``name`` in the environment. + + This searches from *all* distributions available in the environment, to + match the behavior of ``pkg_resources.get_distribution()``. + """ + canonical_name = canonicalize_name(name) + for dist in self.iter_all_distributions(): + if dist.canonical_name == canonical_name: + return dist + return None + + def get_distribution(self, name: str) -> BaseDistribution | None: + # Search the distribution by looking through the working set. + dist = self._search_distribution(name) + if dist: + return dist + + # If distribution could not be found, call working_set.require to + # update the working set, and try to find the distribution again. + # This might happen for e.g. when you install a package twice, once + # using setup.py develop and again using setup.py install. Now when + # running pip uninstall twice, the package gets removed from the + # working set in the first uninstall, so we have to populate the + # working set again so that pip knows about it and the packages gets + # picked up and is successfully uninstalled the second time too. + try: + # We didn't pass in any version specifiers, so this can never + # raise pkg_resources.VersionConflict. + self._ws.require(name) + except pkg_resources.DistributionNotFound: + return None + return self._search_distribution(name) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..7b1fc2950326463fb5bf1cc460e5ca0ac3de3e9a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__init__.py @@ -0,0 +1 @@ +"""A package that contains models that represent entities.""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..349f180ea45d73f2385da1d1ffc237fb19f15074 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e06278976f3b419bf632c019cf9c48768ce3e31a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..06006bd73f184fa9587c23223c7fb5621f34eeb3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..61e008ae79a11a3fdabdd5fcc23ec282d29bc2f7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a2d51d73b1d1f8a248987304548701caa37cf5c2 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b370eb3bd5f46e54255408183d60a950ae2d8eb2 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1d0d28eb6eab8f369d8aeb6b6943cf2f18f82dc8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/pylock.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/pylock.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5d69a5f7d4cef8913031730e26520ef5491fb528 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/pylock.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..34d8fd7f4099aeaab409c606d1184a2db935837f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7a6b699da2da1453c8d017b58de15df22f09d0d9 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..21a8836dac314fa0ee461e219ee8755a90ea9b11 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e2a379cbbbae97224fceeebd9b1159f650dd7c00 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f08a77722d109db87db6be4818cad16f52eebc3e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/candidate.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/candidate.py new file mode 100644 index 0000000000000000000000000000000000000000..f27f283154ac5aa55d52ccac754138b36341ff6b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/candidate.py @@ -0,0 +1,25 @@ +from dataclasses import dataclass + +from pip._vendor.packaging.version import Version +from pip._vendor.packaging.version import parse as parse_version + +from pip._internal.models.link import Link + + +@dataclass(frozen=True) +class InstallationCandidate: + """Represents a potential "candidate" for installation.""" + + __slots__ = ["name", "version", "link"] + + name: str + version: Version + link: Link + + def __init__(self, name: str, version: str, link: Link) -> None: + object.__setattr__(self, "name", name) + object.__setattr__(self, "version", parse_version(version)) + object.__setattr__(self, "link", link) + + def __str__(self) -> str: + return f"{self.name!r} candidate (version {self.version} at {self.link})" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/direct_url.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/direct_url.py new file mode 100644 index 0000000000000000000000000000000000000000..aefc670cd511c02e8b784a75d6062d0d4c9b9e9b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/direct_url.py @@ -0,0 +1,227 @@ +"""PEP 610""" + +from __future__ import annotations + +import json +import re +import urllib.parse +from collections.abc import Iterable +from dataclasses import dataclass +from typing import Any, ClassVar, TypeVar, Union + +__all__ = [ + "DirectUrl", + "DirectUrlValidationError", + "DirInfo", + "ArchiveInfo", + "VcsInfo", +] + +T = TypeVar("T") + +DIRECT_URL_METADATA_NAME = "direct_url.json" +ENV_VAR_RE = re.compile(r"^\$\{[A-Za-z0-9-_]+\}(:\$\{[A-Za-z0-9-_]+\})?$") + + +class DirectUrlValidationError(Exception): + pass + + +def _get( + d: dict[str, Any], expected_type: type[T], key: str, default: T | None = None +) -> T | None: + """Get value from dictionary and verify expected type.""" + if key not in d: + return default + value = d[key] + if not isinstance(value, expected_type): + raise DirectUrlValidationError( + f"{value!r} has unexpected type for {key} (expected {expected_type})" + ) + return value + + +def _get_required( + d: dict[str, Any], expected_type: type[T], key: str, default: T | None = None +) -> T: + value = _get(d, expected_type, key, default) + if value is None: + raise DirectUrlValidationError(f"{key} must have a value") + return value + + +def _exactly_one_of(infos: Iterable[InfoType | None]) -> InfoType: + infos = [info for info in infos if info is not None] + if not infos: + raise DirectUrlValidationError( + "missing one of archive_info, dir_info, vcs_info" + ) + if len(infos) > 1: + raise DirectUrlValidationError( + "more than one of archive_info, dir_info, vcs_info" + ) + assert infos[0] is not None + return infos[0] + + +def _filter_none(**kwargs: Any) -> dict[str, Any]: + """Make dict excluding None values.""" + return {k: v for k, v in kwargs.items() if v is not None} + + +@dataclass +class VcsInfo: + name: ClassVar = "vcs_info" + + vcs: str + commit_id: str + requested_revision: str | None = None + + @classmethod + def _from_dict(cls, d: dict[str, Any] | None) -> VcsInfo | None: + if d is None: + return None + return cls( + vcs=_get_required(d, str, "vcs"), + commit_id=_get_required(d, str, "commit_id"), + requested_revision=_get(d, str, "requested_revision"), + ) + + def _to_dict(self) -> dict[str, Any]: + return _filter_none( + vcs=self.vcs, + requested_revision=self.requested_revision, + commit_id=self.commit_id, + ) + + +class ArchiveInfo: + name = "archive_info" + + def __init__( + self, + hash: str | None = None, + hashes: dict[str, str] | None = None, + ) -> None: + # set hashes before hash, since the hash setter will further populate hashes + self.hashes = hashes + self.hash = hash + + @property + def hash(self) -> str | None: + return self._hash + + @hash.setter + def hash(self, value: str | None) -> None: + if value is not None: + # Auto-populate the hashes key to upgrade to the new format automatically. + # We don't back-populate the legacy hash key from hashes. + try: + hash_name, hash_value = value.split("=", 1) + except ValueError: + raise DirectUrlValidationError( + f"invalid archive_info.hash format: {value!r}" + ) + if self.hashes is None: + self.hashes = {hash_name: hash_value} + elif hash_name not in self.hashes: + self.hashes = self.hashes.copy() + self.hashes[hash_name] = hash_value + self._hash = value + + @classmethod + def _from_dict(cls, d: dict[str, Any] | None) -> ArchiveInfo | None: + if d is None: + return None + return cls(hash=_get(d, str, "hash"), hashes=_get(d, dict, "hashes")) + + def _to_dict(self) -> dict[str, Any]: + return _filter_none(hash=self.hash, hashes=self.hashes) + + +@dataclass +class DirInfo: + name: ClassVar = "dir_info" + + editable: bool = False + + @classmethod + def _from_dict(cls, d: dict[str, Any] | None) -> DirInfo | None: + if d is None: + return None + return cls(editable=_get_required(d, bool, "editable", default=False)) + + def _to_dict(self) -> dict[str, Any]: + return _filter_none(editable=self.editable or None) + + +InfoType = Union[ArchiveInfo, DirInfo, VcsInfo] + + +@dataclass +class DirectUrl: + url: str + info: InfoType + subdirectory: str | None = None + + def _remove_auth_from_netloc(self, netloc: str) -> str: + if "@" not in netloc: + return netloc + user_pass, netloc_no_user_pass = netloc.split("@", 1) + if ( + isinstance(self.info, VcsInfo) + and self.info.vcs == "git" + and user_pass == "git" + ): + return netloc + if ENV_VAR_RE.match(user_pass): + return netloc + return netloc_no_user_pass + + @property + def redacted_url(self) -> str: + """url with user:password part removed unless it is formed with + environment variables as specified in PEP 610, or it is ``git`` + in the case of a git URL. + """ + purl = urllib.parse.urlsplit(self.url) + netloc = self._remove_auth_from_netloc(purl.netloc) + surl = urllib.parse.urlunsplit( + (purl.scheme, netloc, purl.path, purl.query, purl.fragment) + ) + return surl + + def validate(self) -> None: + self.from_dict(self.to_dict()) + + @classmethod + def from_dict(cls, d: dict[str, Any]) -> DirectUrl: + return DirectUrl( + url=_get_required(d, str, "url"), + subdirectory=_get(d, str, "subdirectory"), + info=_exactly_one_of( + [ + ArchiveInfo._from_dict(_get(d, dict, "archive_info")), + DirInfo._from_dict(_get(d, dict, "dir_info")), + VcsInfo._from_dict(_get(d, dict, "vcs_info")), + ] + ), + ) + + def to_dict(self) -> dict[str, Any]: + res = _filter_none( + url=self.redacted_url, + subdirectory=self.subdirectory, + ) + res[self.info.name] = self.info._to_dict() + return res + + @classmethod + def from_json(cls, s: str) -> DirectUrl: + return cls.from_dict(json.loads(s)) + + def to_json(self) -> str: + return json.dumps(self.to_dict(), sort_keys=True) + + def is_local_editable(self) -> bool: + return isinstance(self.info, DirInfo) and self.info.editable diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/format_control.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/format_control.py new file mode 100644 index 0000000000000000000000000000000000000000..9f07e3f34993379fb06378442a82438e057ebe30 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/format_control.py @@ -0,0 +1,78 @@ +from __future__ import annotations + +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.exceptions import CommandError + + +class FormatControl: + """Helper for managing formats from which a package can be installed.""" + + __slots__ = ["no_binary", "only_binary"] + + def __init__( + self, + no_binary: set[str] | None = None, + only_binary: set[str] | None = None, + ) -> None: + if no_binary is None: + no_binary = set() + if only_binary is None: + only_binary = set() + + self.no_binary = no_binary + self.only_binary = only_binary + + def __eq__(self, other: object) -> bool: + if not isinstance(other, self.__class__): + return NotImplemented + + if self.__slots__ != other.__slots__: + return False + + return all(getattr(self, k) == getattr(other, k) for k in self.__slots__) + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({self.no_binary}, {self.only_binary})" + + @staticmethod + def handle_mutual_excludes(value: str, target: set[str], other: set[str]) -> None: + if value.startswith("-"): + raise CommandError( + "--no-binary / --only-binary option requires 1 argument." + ) + new = value.split(",") + while ":all:" in new: + other.clear() + target.clear() + target.add(":all:") + del new[: new.index(":all:") + 1] + # Without a none, we want to discard everything as :all: covers it + if ":none:" not in new: + return + for name in new: + if name == ":none:": + target.clear() + continue + name = canonicalize_name(name) + other.discard(name) + target.add(name) + + def get_allowed_formats(self, canonical_name: str) -> frozenset[str]: + result = {"binary", "source"} + if canonical_name in self.only_binary: + result.discard("source") + elif canonical_name in self.no_binary: + result.discard("binary") + elif ":all:" in self.only_binary: + result.discard("source") + elif ":all:" in self.no_binary: + result.discard("binary") + return frozenset(result) + + def disallow_binaries(self) -> None: + self.handle_mutual_excludes( + ":all:", + self.no_binary, + self.only_binary, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/index.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/index.py new file mode 100644 index 0000000000000000000000000000000000000000..b94c32511f0cda2363bfc4f29c9c8bfcc7101f9b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/index.py @@ -0,0 +1,28 @@ +import urllib.parse + + +class PackageIndex: + """Represents a Package Index and provides easier access to endpoints""" + + __slots__ = ["url", "netloc", "simple_url", "pypi_url", "file_storage_domain"] + + def __init__(self, url: str, file_storage_domain: str) -> None: + super().__init__() + self.url = url + self.netloc = urllib.parse.urlsplit(url).netloc + self.simple_url = self._url_for_path("simple") + self.pypi_url = self._url_for_path("pypi") + + # This is part of a temporary hack used to block installs of PyPI + # packages which depend on external urls only necessary until PyPI can + # block such packages themselves + self.file_storage_domain = file_storage_domain + + def _url_for_path(self, path: str) -> str: + return urllib.parse.urljoin(self.url, path) + + +PyPI = PackageIndex("https://pypi.org/", file_storage_domain="files.pythonhosted.org") +TestPyPI = PackageIndex( + "https://test.pypi.org/", file_storage_domain="test-files.pythonhosted.org" +) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/installation_report.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/installation_report.py new file mode 100644 index 0000000000000000000000000000000000000000..3e8e9683bedc3dfb0071767c7cb6215fa49d92e5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/installation_report.py @@ -0,0 +1,57 @@ +from collections.abc import Sequence +from typing import Any + +from pip._vendor.packaging.markers import default_environment + +from pip import __version__ +from pip._internal.req.req_install import InstallRequirement + + +class InstallationReport: + def __init__(self, install_requirements: Sequence[InstallRequirement]): + self._install_requirements = install_requirements + + @classmethod + def _install_req_to_dict(cls, ireq: InstallRequirement) -> dict[str, Any]: + assert ireq.download_info, f"No download_info for {ireq}" + res = { + # PEP 610 json for the download URL. download_info.archive_info.hashes may + # be absent when the requirement was installed from the wheel cache + # and the cache entry was populated by an older pip version that did not + # record origin.json. + "download_info": ireq.download_info.to_dict(), + # is_direct is true if the requirement was a direct URL reference (which + # includes editable requirements), and false if the requirement was + # downloaded from a PEP 503 index or --find-links. + "is_direct": ireq.is_direct, + # is_yanked is true if the requirement was yanked from the index, but + # was still selected by pip to conform to PEP 592. + "is_yanked": ireq.link.is_yanked if ireq.link else False, + # requested is true if the requirement was specified by the user (aka + # top level requirement), and false if it was installed as a dependency of a + # requirement. https://peps.python.org/pep-0376/#requested + "requested": ireq.user_supplied, + # PEP 566 json encoding for metadata + # https://www.python.org/dev/peps/pep-0566/#json-compatible-metadata + "metadata": ireq.get_dist().metadata_dict, + } + if ireq.user_supplied and ireq.extras: + # For top level requirements, the list of requested extras, if any. + res["requested_extras"] = sorted(ireq.extras) + return res + + def to_dict(self) -> dict[str, Any]: + return { + "version": "1", + "pip_version": __version__, + "install": [ + self._install_req_to_dict(ireq) for ireq in self._install_requirements + ], + # https://peps.python.org/pep-0508/#environment-markers + # TODO: currently, the resolver uses the default environment to evaluate + # environment markers, so that is what we report here. In the future, it + # should also take into account options such as --python-version or + # --platform, perhaps under the form of an environment_override field? + # https://github.com/pypa/pip/issues/11198 + "environment": default_environment(), + } diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/link.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/link.py new file mode 100644 index 0000000000000000000000000000000000000000..2e2c0f836acc5646d0257845f28ae20f5d85851a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/link.py @@ -0,0 +1,613 @@ +from __future__ import annotations + +import functools +import itertools +import logging +import os +import posixpath +import re +import urllib.parse +from collections.abc import Mapping +from dataclasses import dataclass +from typing import ( + TYPE_CHECKING, + Any, + NamedTuple, +) + +from pip._internal.utils.deprecation import deprecated +from pip._internal.utils.filetypes import WHEEL_EXTENSION +from pip._internal.utils.hashes import Hashes +from pip._internal.utils.misc import ( + pairwise, + redact_auth_from_url, + split_auth_from_netloc, + splitext, +) +from pip._internal.utils.urls import path_to_url, url_to_path + +if TYPE_CHECKING: + from pip._internal.index.collector import IndexContent + +logger = logging.getLogger(__name__) + + +# Order matters, earlier hashes have a precedence over later hashes for what +# we will pick to use. +_SUPPORTED_HASHES = ("sha512", "sha384", "sha256", "sha224", "sha1", "md5") + + +@dataclass(frozen=True) +class LinkHash: + """Links to content may have embedded hash values. This class parses those. + + `name` must be any member of `_SUPPORTED_HASHES`. + + This class can be converted to and from `ArchiveInfo`. While ArchiveInfo intends to + be JSON-serializable to conform to PEP 610, this class contains the logic for + parsing a hash name and value for correctness, and then checking whether that hash + conforms to a schema with `.is_hash_allowed()`.""" + + name: str + value: str + + _hash_url_fragment_re = re.compile( + # NB: we do not validate that the second group (.*) is a valid hex + # digest. Instead, we simply keep that string in this class, and then check it + # against Hashes when hash-checking is needed. This is easier to debug than + # proactively discarding an invalid hex digest, as we handle incorrect hashes + # and malformed hashes in the same place. + r"[#&]({choices})=([^&]*)".format( + choices="|".join(re.escape(hash_name) for hash_name in _SUPPORTED_HASHES) + ), + ) + + def __post_init__(self) -> None: + assert self.name in _SUPPORTED_HASHES + + @classmethod + @functools.cache + def find_hash_url_fragment(cls, url: str) -> LinkHash | None: + """Search a string for a checksum algorithm name and encoded output value.""" + match = cls._hash_url_fragment_re.search(url) + if match is None: + return None + name, value = match.groups() + return cls(name=name, value=value) + + def as_dict(self) -> dict[str, str]: + return {self.name: self.value} + + def as_hashes(self) -> Hashes: + """Return a Hashes instance which checks only for the current hash.""" + return Hashes({self.name: [self.value]}) + + def is_hash_allowed(self, hashes: Hashes | None) -> bool: + """ + Return True if the current hash is allowed by `hashes`. + """ + if hashes is None: + return False + return hashes.is_hash_allowed(self.name, hex_digest=self.value) + + +@dataclass(frozen=True) +class MetadataFile: + """Information about a core metadata file associated with a distribution.""" + + hashes: dict[str, str] | None + + def __post_init__(self) -> None: + if self.hashes is not None: + assert all(name in _SUPPORTED_HASHES for name in self.hashes) + + +def supported_hashes(hashes: dict[str, str] | None) -> dict[str, str] | None: + # Remove any unsupported hash types from the mapping. If this leaves no + # supported hashes, return None + if hashes is None: + return None + hashes = {n: v for n, v in hashes.items() if n in _SUPPORTED_HASHES} + if not hashes: + return None + return hashes + + +def _clean_url_path_part(part: str) -> str: + """ + Clean a "part" of a URL path (i.e. after splitting on "@" characters). + """ + # We unquote prior to quoting to make sure nothing is double quoted. + return urllib.parse.quote(urllib.parse.unquote(part)) + + +def _clean_file_url_path(part: str) -> str: + """ + Clean the first part of a URL path that corresponds to a local + filesystem path (i.e. the first part after splitting on "@" characters). + """ + # We unquote prior to quoting to make sure nothing is double quoted. + # Also, on Windows the path part might contain a drive letter which + # should not be quoted. On Linux where drive letters do not + # exist, the colon should be quoted. We rely on urllib.request + # to do the right thing here. + ret = urllib.request.pathname2url(urllib.request.url2pathname(part)) + if ret.startswith("///"): + # Remove any URL authority section, leaving only the URL path. + ret = ret.removeprefix("//") + return ret + + +# percent-encoded: / +_reserved_chars_re = re.compile("(@|%2F)", re.IGNORECASE) + + +def _clean_url_path(path: str, is_local_path: bool) -> str: + """ + Clean the path portion of a URL. + """ + if is_local_path: + clean_func = _clean_file_url_path + else: + clean_func = _clean_url_path_part + + # Split on the reserved characters prior to cleaning so that + # revision strings in VCS URLs are properly preserved. + parts = _reserved_chars_re.split(path) + + cleaned_parts = [] + for to_clean, reserved in pairwise(itertools.chain(parts, [""])): + cleaned_parts.append(clean_func(to_clean)) + # Normalize %xx escapes (e.g. %2f -> %2F) + cleaned_parts.append(reserved.upper()) + + return "".join(cleaned_parts) + + +def _ensure_quoted_url(url: str) -> str: + """ + Make sure a link is fully quoted. + For example, if ' ' occurs in the URL, it will be replaced with "%20", + and without double-quoting other characters. + """ + # Split the URL into parts according to the general structure + # `scheme://netloc/path?query#fragment`. + result = urllib.parse.urlsplit(url) + # If the netloc is empty, then the URL refers to a local filesystem path. + is_local_path = not result.netloc + path = _clean_url_path(result.path, is_local_path=is_local_path) + # Temporarily replace scheme with file to ensure the URL generated by + # urlunsplit() contains an empty netloc (file://) as per RFC 1738. + ret = urllib.parse.urlunsplit(result._replace(scheme="file", path=path)) + ret = result.scheme + ret[4:] # Restore original scheme. + return ret + + +def _absolute_link_url(base_url: str, url: str) -> str: + """ + A faster implementation of urllib.parse.urljoin with a shortcut + for absolute http/https URLs. + """ + if url.startswith(("https://", "http://")): + return url + else: + return urllib.parse.urljoin(base_url, url) + + +@functools.total_ordering +class Link: + """Represents a parsed link from a Package Index's simple URL""" + + __slots__ = [ + "_parsed_url", + "_url", + "_path", + "_hashes", + "comes_from", + "requires_python", + "yanked_reason", + "metadata_file_data", + "cache_link_parsing", + "egg_fragment", + ] + + def __init__( + self, + url: str, + comes_from: str | IndexContent | None = None, + requires_python: str | None = None, + yanked_reason: str | None = None, + metadata_file_data: MetadataFile | None = None, + cache_link_parsing: bool = True, + hashes: Mapping[str, str] | None = None, + ) -> None: + """ + :param url: url of the resource pointed to (href of the link) + :param comes_from: instance of IndexContent where the link was found, + or string. + :param requires_python: String containing the `Requires-Python` + metadata field, specified in PEP 345. This may be specified by + a data-requires-python attribute in the HTML link tag, as + described in PEP 503. + :param yanked_reason: the reason the file has been yanked, if the + file has been yanked, or None if the file hasn't been yanked. + This is the value of the "data-yanked" attribute, if present, in + a simple repository HTML link. If the file has been yanked but + no reason was provided, this should be the empty string. See + PEP 592 for more information and the specification. + :param metadata_file_data: the metadata attached to the file, or None if + no such metadata is provided. This argument, if not None, indicates + that a separate metadata file exists, and also optionally supplies + hashes for that file. + :param cache_link_parsing: A flag that is used elsewhere to determine + whether resources retrieved from this link should be cached. PyPI + URLs should generally have this set to False, for example. + :param hashes: A mapping of hash names to digests to allow us to + determine the validity of a download. + """ + + # The comes_from, requires_python, and metadata_file_data arguments are + # only used by classmethods of this class, and are not used in client + # code directly. + + # url can be a UNC windows share + if url.startswith("\\\\"): + url = path_to_url(url) + + self._parsed_url = urllib.parse.urlsplit(url) + # Store the url as a private attribute to prevent accidentally + # trying to set a new value. + self._url = url + # The .path property is hot, so calculate its value ahead of time. + self._path = urllib.parse.unquote(self._parsed_url.path) + + link_hash = LinkHash.find_hash_url_fragment(url) + hashes_from_link = {} if link_hash is None else link_hash.as_dict() + if hashes is None: + self._hashes = hashes_from_link + else: + self._hashes = {**hashes, **hashes_from_link} + + self.comes_from = comes_from + self.requires_python = requires_python if requires_python else None + self.yanked_reason = yanked_reason + self.metadata_file_data = metadata_file_data + + self.cache_link_parsing = cache_link_parsing + self.egg_fragment = self._egg_fragment() + + @classmethod + def from_json( + cls, + file_data: dict[str, Any], + page_url: str, + ) -> Link | None: + """ + Convert an pypi json document from a simple repository page into a Link. + """ + file_url = file_data.get("url") + if file_url is None: + return None + + url = _ensure_quoted_url(_absolute_link_url(page_url, file_url)) + pyrequire = file_data.get("requires-python") + yanked_reason = file_data.get("yanked") + hashes = file_data.get("hashes", {}) + + # PEP 714: Indexes must use the name core-metadata, but + # clients should support the old name as a fallback for compatibility. + metadata_info = file_data.get("core-metadata") + if metadata_info is None: + metadata_info = file_data.get("dist-info-metadata") + + # The metadata info value may be a boolean, or a dict of hashes. + if isinstance(metadata_info, dict): + # The file exists, and hashes have been supplied + metadata_file_data = MetadataFile(supported_hashes(metadata_info)) + elif metadata_info: + # The file exists, but there are no hashes + metadata_file_data = MetadataFile(None) + else: + # False or not present: the file does not exist + metadata_file_data = None + + # The Link.yanked_reason expects an empty string instead of a boolean. + if yanked_reason and not isinstance(yanked_reason, str): + yanked_reason = "" + # The Link.yanked_reason expects None instead of False. + elif not yanked_reason: + yanked_reason = None + + return cls( + url, + comes_from=page_url, + requires_python=pyrequire, + yanked_reason=yanked_reason, + hashes=hashes, + metadata_file_data=metadata_file_data, + ) + + @classmethod + def from_element( + cls, + anchor_attribs: dict[str, str | None], + page_url: str, + base_url: str, + ) -> Link | None: + """ + Convert an anchor element's attributes in a simple repository page to a Link. + """ + href = anchor_attribs.get("href") + if not href: + return None + + url = _ensure_quoted_url(_absolute_link_url(base_url, href)) + pyrequire = anchor_attribs.get("data-requires-python") + yanked_reason = anchor_attribs.get("data-yanked") + + # PEP 714: Indexes must use the name data-core-metadata, but + # clients should support the old name as a fallback for compatibility. + metadata_info = anchor_attribs.get("data-core-metadata") + if metadata_info is None: + metadata_info = anchor_attribs.get("data-dist-info-metadata") + # The metadata info value may be the string "true", or a string of + # the form "hashname=hashval" + if metadata_info == "true": + # The file exists, but there are no hashes + metadata_file_data = MetadataFile(None) + elif metadata_info is None: + # The file does not exist + metadata_file_data = None + else: + # The file exists, and hashes have been supplied + hashname, sep, hashval = metadata_info.partition("=") + if sep == "=": + metadata_file_data = MetadataFile(supported_hashes({hashname: hashval})) + else: + # Error - data is wrong. Treat as no hashes supplied. + logger.debug( + "Index returned invalid data-dist-info-metadata value: %s", + metadata_info, + ) + metadata_file_data = MetadataFile(None) + + return cls( + url, + comes_from=page_url, + requires_python=pyrequire, + yanked_reason=yanked_reason, + metadata_file_data=metadata_file_data, + ) + + def __str__(self) -> str: + if self.requires_python: + rp = f" (requires-python:{self.requires_python})" + else: + rp = "" + if self.comes_from: + return f"{self.redacted_url} (from {self.comes_from}){rp}" + else: + return self.redacted_url + + def __repr__(self) -> str: + return f"" + + def __hash__(self) -> int: + return hash(self.url) + + def __eq__(self, other: Any) -> bool: + if not isinstance(other, Link): + return NotImplemented + return self.url == other.url + + def __lt__(self, other: Any) -> bool: + if not isinstance(other, Link): + return NotImplemented + return self.url < other.url + + @property + def url(self) -> str: + return self._url + + @property + def redacted_url(self) -> str: + return redact_auth_from_url(self.url) + + @property + def filename(self) -> str: + path = self.path.rstrip("/") + name = posixpath.basename(path) + if not name: + # Make sure we don't leak auth information if the netloc + # includes a username and password. + netloc, user_pass = split_auth_from_netloc(self.netloc) + return netloc + + name = urllib.parse.unquote(name) + assert name, f"URL {self._url!r} produced no filename" + return name + + @property + def file_path(self) -> str: + return url_to_path(self.url) + + @property + def scheme(self) -> str: + return self._parsed_url.scheme + + @property + def netloc(self) -> str: + """ + This can contain auth information. + """ + return self._parsed_url.netloc + + @property + def path(self) -> str: + return self._path + + def splitext(self) -> tuple[str, str]: + return splitext(posixpath.basename(self.path.rstrip("/"))) + + @property + def ext(self) -> str: + return self.splitext()[1] + + @property + def url_without_fragment(self) -> str: + scheme, netloc, path, query, fragment = self._parsed_url + return urllib.parse.urlunsplit((scheme, netloc, path, query, "")) + + _egg_fragment_re = re.compile(r"[#&]egg=([^&]*)") + + # Per PEP 508. + _project_name_re = re.compile( + r"^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$", re.IGNORECASE + ) + + def _egg_fragment(self) -> str | None: + match = self._egg_fragment_re.search(self._url) + if not match: + return None + + # An egg fragment looks like a PEP 508 project name, along with + # an optional extras specifier. Anything else is invalid. + project_name = match.group(1) + if not self._project_name_re.match(project_name): + deprecated( + reason=f"{self} contains an egg fragment with a non-PEP 508 name.", + replacement="to use the req @ url syntax, and remove the egg fragment", + gone_in="25.3", + issue=13157, + ) + + return project_name + + _subdirectory_fragment_re = re.compile(r"[#&]subdirectory=([^&]*)") + + @property + def subdirectory_fragment(self) -> str | None: + match = self._subdirectory_fragment_re.search(self._url) + if not match: + return None + return match.group(1) + + def metadata_link(self) -> Link | None: + """Return a link to the associated core metadata file (if any).""" + if self.metadata_file_data is None: + return None + metadata_url = f"{self.url_without_fragment}.metadata" + if self.metadata_file_data.hashes is None: + return Link(metadata_url) + return Link(metadata_url, hashes=self.metadata_file_data.hashes) + + def as_hashes(self) -> Hashes: + return Hashes({k: [v] for k, v in self._hashes.items()}) + + @property + def hash(self) -> str | None: + return next(iter(self._hashes.values()), None) + + @property + def hash_name(self) -> str | None: + return next(iter(self._hashes), None) + + @property + def show_url(self) -> str: + return posixpath.basename(self._url.split("#", 1)[0].split("?", 1)[0]) + + @property + def is_file(self) -> bool: + return self.scheme == "file" + + def is_existing_dir(self) -> bool: + return self.is_file and os.path.isdir(self.file_path) + + @property + def is_wheel(self) -> bool: + return self.ext == WHEEL_EXTENSION + + @property + def is_vcs(self) -> bool: + from pip._internal.vcs import vcs + + return self.scheme in vcs.all_schemes + + @property + def is_yanked(self) -> bool: + return self.yanked_reason is not None + + @property + def has_hash(self) -> bool: + return bool(self._hashes) + + def is_hash_allowed(self, hashes: Hashes | None) -> bool: + """ + Return True if the link has a hash and it is allowed by `hashes`. + """ + if hashes is None: + return False + return any(hashes.is_hash_allowed(k, v) for k, v in self._hashes.items()) + + +class _CleanResult(NamedTuple): + """Convert link for equivalency check. + + This is used in the resolver to check whether two URL-specified requirements + likely point to the same distribution and can be considered equivalent. This + equivalency logic avoids comparing URLs literally, which can be too strict + (e.g. "a=1&b=2" vs "b=2&a=1") and produce conflicts unexpecting to users. + + Currently this does three things: + + 1. Drop the basic auth part. This is technically wrong since a server can + serve different content based on auth, but if it does that, it is even + impossible to guarantee two URLs without auth are equivalent, since + the user can input different auth information when prompted. So the + practical solution is to assume the auth doesn't affect the response. + 2. Parse the query to avoid the ordering issue. Note that ordering under the + same key in the query are NOT cleaned; i.e. "a=1&a=2" and "a=2&a=1" are + still considered different. + 3. Explicitly drop most of the fragment part, except ``subdirectory=`` and + hash values, since it should have no impact the downloaded content. Note + that this drops the "egg=" part historically used to denote the requested + project (and extras), which is wrong in the strictest sense, but too many + people are supplying it inconsistently to cause superfluous resolution + conflicts, so we choose to also ignore them. + """ + + parsed: urllib.parse.SplitResult + query: dict[str, list[str]] + subdirectory: str + hashes: dict[str, str] + + +def _clean_link(link: Link) -> _CleanResult: + parsed = link._parsed_url + netloc = parsed.netloc.rsplit("@", 1)[-1] + # According to RFC 8089, an empty host in file: means localhost. + if parsed.scheme == "file" and not netloc: + netloc = "localhost" + fragment = urllib.parse.parse_qs(parsed.fragment) + if "egg" in fragment: + logger.debug("Ignoring egg= fragment in %s", link) + try: + # If there are multiple subdirectory values, use the first one. + # This matches the behavior of Link.subdirectory_fragment. + subdirectory = fragment["subdirectory"][0] + except (IndexError, KeyError): + subdirectory = "" + # If there are multiple hash values under the same algorithm, use the + # first one. This matches the behavior of Link.hash_value. + hashes = {k: fragment[k][0] for k in _SUPPORTED_HASHES if k in fragment} + return _CleanResult( + parsed=parsed._replace(netloc=netloc, query="", fragment=""), + query=urllib.parse.parse_qs(parsed.query), + subdirectory=subdirectory, + hashes=hashes, + ) + + +@functools.cache +def links_equivalent(link1: Link, link2: Link) -> bool: + return _clean_link(link1) == _clean_link(link2) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/pylock.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/pylock.py new file mode 100644 index 0000000000000000000000000000000000000000..1b6b8c1270bf8c3d704a825e701d37a4dc6f3102 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/pylock.py @@ -0,0 +1,188 @@ +from __future__ import annotations + +import dataclasses +import re +from collections.abc import Iterable +from dataclasses import dataclass +from pathlib import Path +from typing import TYPE_CHECKING, Any + +from pip._vendor import tomli_w + +from pip._internal.models.direct_url import ArchiveInfo, DirInfo, VcsInfo +from pip._internal.models.link import Link +from pip._internal.req.req_install import InstallRequirement +from pip._internal.utils.urls import url_to_path + +if TYPE_CHECKING: + from typing_extensions import Self + +PYLOCK_FILE_NAME_RE = re.compile(r"^pylock\.([^.]+)\.toml$") + + +def is_valid_pylock_file_name(path: Path) -> bool: + return path.name == "pylock.toml" or bool(re.match(PYLOCK_FILE_NAME_RE, path.name)) + + +def _toml_dict_factory(data: list[tuple[str, Any]]) -> dict[str, Any]: + return {key.replace("_", "-"): value for key, value in data if value is not None} + + +@dataclass +class PackageVcs: + type: str + url: str | None + # (not supported) path: Optional[str] + requested_revision: str | None + commit_id: str + subdirectory: str | None + + +@dataclass +class PackageDirectory: + path: str + editable: bool | None + subdirectory: str | None + + +@dataclass +class PackageArchive: + url: str | None + # (not supported) path: Optional[str] + # (not supported) size: Optional[int] + # (not supported) upload_time: Optional[datetime] + hashes: dict[str, str] + subdirectory: str | None + + +@dataclass +class PackageSdist: + name: str + # (not supported) upload_time: Optional[datetime] + url: str | None + # (not supported) path: Optional[str] + # (not supported) size: Optional[int] + hashes: dict[str, str] + + +@dataclass +class PackageWheel: + name: str + # (not supported) upload_time: Optional[datetime] + url: str | None + # (not supported) path: Optional[str] + # (not supported) size: Optional[int] + hashes: dict[str, str] + + +@dataclass +class Package: + name: str + version: str | None = None + # (not supported) marker: Optional[str] + # (not supported) requires_python: Optional[str] + # (not supported) dependencies + vcs: PackageVcs | None = None + directory: PackageDirectory | None = None + archive: PackageArchive | None = None + # (not supported) index: Optional[str] + sdist: PackageSdist | None = None + wheels: list[PackageWheel] | None = None + # (not supported) attestation_identities: Optional[List[Dict[str, Any]]] + # (not supported) tool: Optional[Dict[str, Any]] + + @classmethod + def from_install_requirement(cls, ireq: InstallRequirement, base_dir: Path) -> Self: + base_dir = base_dir.resolve() + dist = ireq.get_dist() + download_info = ireq.download_info + assert download_info + package = cls(name=dist.canonical_name) + if ireq.is_direct: + if isinstance(download_info.info, VcsInfo): + package.vcs = PackageVcs( + type=download_info.info.vcs, + url=download_info.url, + requested_revision=download_info.info.requested_revision, + commit_id=download_info.info.commit_id, + subdirectory=download_info.subdirectory, + ) + elif isinstance(download_info.info, DirInfo): + package.directory = PackageDirectory( + path=( + Path(url_to_path(download_info.url)) + .resolve() + .relative_to(base_dir) + .as_posix() + ), + editable=( + download_info.info.editable + if download_info.info.editable + else None + ), + subdirectory=download_info.subdirectory, + ) + elif isinstance(download_info.info, ArchiveInfo): + if not download_info.info.hashes: + raise NotImplementedError() + package.archive = PackageArchive( + url=download_info.url, + hashes=download_info.info.hashes, + subdirectory=download_info.subdirectory, + ) + else: + # should never happen + raise NotImplementedError() + else: + package.version = str(dist.version) + if isinstance(download_info.info, ArchiveInfo): + if not download_info.info.hashes: + raise NotImplementedError() + link = Link(download_info.url) + if link.is_wheel: + package.wheels = [ + PackageWheel( + name=link.filename, + url=download_info.url, + hashes=download_info.info.hashes, + ) + ] + else: + package.sdist = PackageSdist( + name=link.filename, + url=download_info.url, + hashes=download_info.info.hashes, + ) + else: + # should never happen + raise NotImplementedError() + return package + + +@dataclass +class Pylock: + lock_version: str = "1.0" + # (not supported) environments: Optional[List[str]] + # (not supported) requires_python: Optional[str] + # (not supported) extras: List[str] = [] + # (not supported) dependency_groups: List[str] = [] + created_by: str = "pip" + packages: list[Package] = dataclasses.field(default_factory=list) + # (not supported) tool: Optional[Dict[str, Any]] + + def as_toml(self) -> str: + return tomli_w.dumps(dataclasses.asdict(self, dict_factory=_toml_dict_factory)) + + @classmethod + def from_install_requirements( + cls, install_requirements: Iterable[InstallRequirement], base_dir: Path + ) -> Self: + return cls( + packages=sorted( + ( + Package.from_install_requirement(ireq, base_dir) + for ireq in install_requirements + ), + key=lambda p: p.name, + ) + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/scheme.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/scheme.py new file mode 100644 index 0000000000000000000000000000000000000000..06a9a550e34389c27ad3ee0bcef73d581cd4b448 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/scheme.py @@ -0,0 +1,25 @@ +""" +For types associated with installation schemes. + +For a general overview of available schemes and their context, see +https://docs.python.org/3/install/index.html#alternate-installation. +""" + +from dataclasses import dataclass + +SCHEME_KEYS = ["platlib", "purelib", "headers", "scripts", "data"] + + +@dataclass(frozen=True) +class Scheme: + """A Scheme holds paths which are used as the base directories for + artifacts associated with a Python package. + """ + + __slots__ = SCHEME_KEYS + + platlib: str + purelib: str + headers: str + scripts: str + data: str diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/search_scope.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/search_scope.py new file mode 100644 index 0000000000000000000000000000000000000000..136163ca096b6d532d7462ddb989aae23ed7f2f5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/search_scope.py @@ -0,0 +1,126 @@ +import itertools +import logging +import os +import posixpath +import urllib.parse +from dataclasses import dataclass + +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.models.index import PyPI +from pip._internal.utils.compat import has_tls +from pip._internal.utils.misc import normalize_path, redact_auth_from_url + +logger = logging.getLogger(__name__) + + +@dataclass(frozen=True) +class SearchScope: + """ + Encapsulates the locations that pip is configured to search. + """ + + __slots__ = ["find_links", "index_urls", "no_index"] + + find_links: list[str] + index_urls: list[str] + no_index: bool + + @classmethod + def create( + cls, + find_links: list[str], + index_urls: list[str], + no_index: bool, + ) -> "SearchScope": + """ + Create a SearchScope object after normalizing the `find_links`. + """ + # Build find_links. If an argument starts with ~, it may be + # a local file relative to a home directory. So try normalizing + # it and if it exists, use the normalized version. + # This is deliberately conservative - it might be fine just to + # blindly normalize anything starting with a ~... + built_find_links: list[str] = [] + for link in find_links: + if link.startswith("~"): + new_link = normalize_path(link) + if os.path.exists(new_link): + link = new_link + built_find_links.append(link) + + # If we don't have TLS enabled, then WARN if anyplace we're looking + # relies on TLS. + if not has_tls(): + for link in itertools.chain(index_urls, built_find_links): + parsed = urllib.parse.urlparse(link) + if parsed.scheme == "https": + logger.warning( + "pip is configured with locations that require " + "TLS/SSL, however the ssl module in Python is not " + "available." + ) + break + + return cls( + find_links=built_find_links, + index_urls=index_urls, + no_index=no_index, + ) + + def get_formatted_locations(self) -> str: + lines = [] + redacted_index_urls = [] + if self.index_urls and self.index_urls != [PyPI.simple_url]: + for url in self.index_urls: + redacted_index_url = redact_auth_from_url(url) + + # Parse the URL + purl = urllib.parse.urlsplit(redacted_index_url) + + # URL is generally invalid if scheme and netloc is missing + # there are issues with Python and URL parsing, so this test + # is a bit crude. See bpo-20271, bpo-23505. Python doesn't + # always parse invalid URLs correctly - it should raise + # exceptions for malformed URLs + if not purl.scheme and not purl.netloc: + logger.warning( + 'The index url "%s" seems invalid, please provide a scheme.', + redacted_index_url, + ) + + redacted_index_urls.append(redacted_index_url) + + lines.append( + "Looking in indexes: {}".format(", ".join(redacted_index_urls)) + ) + + if self.find_links: + lines.append( + "Looking in links: {}".format( + ", ".join(redact_auth_from_url(url) for url in self.find_links) + ) + ) + return "\n".join(lines) + + def get_index_urls_locations(self, project_name: str) -> list[str]: + """Returns the locations found via self.index_urls + + Checks the url_name on the main (first in the list) index and + use this url_name to produce all locations + """ + + def mkurl_pypi_url(url: str) -> str: + loc = posixpath.join( + url, urllib.parse.quote(canonicalize_name(project_name)) + ) + # For maximum compatibility with easy_install, ensure the path + # ends in a trailing slash. Although this isn't in the spec + # (and PyPI can handle it without the slash) some other index + # implementations might break if they relied on easy_install's + # behavior. + if not loc.endswith("/"): + loc = loc + "/" + return loc + + return [mkurl_pypi_url(url) for url in self.index_urls] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/selection_prefs.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/selection_prefs.py new file mode 100644 index 0000000000000000000000000000000000000000..8d5b42dfa318dd495493993239ad67aee93ca563 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/selection_prefs.py @@ -0,0 +1,53 @@ +from __future__ import annotations + +from pip._internal.models.format_control import FormatControl + + +# TODO: This needs Python 3.10's improved slots support for dataclasses +# to be converted into a dataclass. +class SelectionPreferences: + """ + Encapsulates the candidate selection preferences for downloading + and installing files. + """ + + __slots__ = [ + "allow_yanked", + "allow_all_prereleases", + "format_control", + "prefer_binary", + "ignore_requires_python", + ] + + # Don't include an allow_yanked default value to make sure each call + # site considers whether yanked releases are allowed. This also causes + # that decision to be made explicit in the calling code, which helps + # people when reading the code. + def __init__( + self, + allow_yanked: bool, + allow_all_prereleases: bool = False, + format_control: FormatControl | None = None, + prefer_binary: bool = False, + ignore_requires_python: bool | None = None, + ) -> None: + """Create a SelectionPreferences object. + + :param allow_yanked: Whether files marked as yanked (in the sense + of PEP 592) are permitted to be candidates for install. + :param format_control: A FormatControl object or None. Used to control + the selection of source packages / binary packages when consulting + the index and links. + :param prefer_binary: Whether to prefer an old, but valid, binary + dist over a new source dist. + :param ignore_requires_python: Whether to ignore incompatible + "Requires-Python" values in links. Defaults to False. + """ + if ignore_requires_python is None: + ignore_requires_python = False + + self.allow_yanked = allow_yanked + self.allow_all_prereleases = allow_all_prereleases + self.format_control = format_control + self.prefer_binary = prefer_binary + self.ignore_requires_python = ignore_requires_python diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/target_python.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/target_python.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38392d8bbf21b2102123b87d67df86b94ddc5f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/target_python.py @@ -0,0 +1,122 @@ +from __future__ import annotations + +import sys + +from pip._vendor.packaging.tags import Tag + +from pip._internal.utils.compatibility_tags import get_supported, version_info_to_nodot +from pip._internal.utils.misc import normalize_version_info + + +class TargetPython: + """ + Encapsulates the properties of a Python interpreter one is targeting + for a package install, download, etc. + """ + + __slots__ = [ + "_given_py_version_info", + "abis", + "implementation", + "platforms", + "py_version", + "py_version_info", + "_valid_tags", + "_valid_tags_set", + ] + + def __init__( + self, + platforms: list[str] | None = None, + py_version_info: tuple[int, ...] | None = None, + abis: list[str] | None = None, + implementation: str | None = None, + ) -> None: + """ + :param platforms: A list of strings or None. If None, searches for + packages that are supported by the current system. Otherwise, will + find packages that can be built on the platforms passed in. These + packages will only be downloaded for distribution: they will + not be built locally. + :param py_version_info: An optional tuple of ints representing the + Python version information to use (e.g. `sys.version_info[:3]`). + This can have length 1, 2, or 3 when provided. + :param abis: A list of strings or None. This is passed to + compatibility_tags.py's get_supported() function as is. + :param implementation: A string or None. This is passed to + compatibility_tags.py's get_supported() function as is. + """ + # Store the given py_version_info for when we call get_supported(). + self._given_py_version_info = py_version_info + + if py_version_info is None: + py_version_info = sys.version_info[:3] + else: + py_version_info = normalize_version_info(py_version_info) + + py_version = ".".join(map(str, py_version_info[:2])) + + self.abis = abis + self.implementation = implementation + self.platforms = platforms + self.py_version = py_version + self.py_version_info = py_version_info + + # This is used to cache the return value of get_(un)sorted_tags. + self._valid_tags: list[Tag] | None = None + self._valid_tags_set: set[Tag] | None = None + + def format_given(self) -> str: + """ + Format the given, non-None attributes for display. + """ + display_version = None + if self._given_py_version_info is not None: + display_version = ".".join( + str(part) for part in self._given_py_version_info + ) + + key_values = [ + ("platforms", self.platforms), + ("version_info", display_version), + ("abis", self.abis), + ("implementation", self.implementation), + ] + return " ".join( + f"{key}={value!r}" for key, value in key_values if value is not None + ) + + def get_sorted_tags(self) -> list[Tag]: + """ + Return the supported PEP 425 tags to check wheel candidates against. + + The tags are returned in order of preference (most preferred first). + """ + if self._valid_tags is None: + # Pass versions=None if no py_version_info was given since + # versions=None uses special default logic. + py_version_info = self._given_py_version_info + if py_version_info is None: + version = None + else: + version = version_info_to_nodot(py_version_info) + + tags = get_supported( + version=version, + platforms=self.platforms, + abis=self.abis, + impl=self.implementation, + ) + self._valid_tags = tags + + return self._valid_tags + + def get_unsorted_tags(self) -> set[Tag]: + """Exactly the same as get_sorted_tags, but returns a set. + + This is important for performance. + """ + if self._valid_tags_set is None: + self._valid_tags_set = set(self.get_sorted_tags()) + + return self._valid_tags_set diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/wheel.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/wheel.py new file mode 100644 index 0000000000000000000000000000000000000000..60e97cb762b3a18fd4f2fe667da8c4ce6d6692f1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/models/wheel.py @@ -0,0 +1,141 @@ +"""Represents a wheel file and provides access to the various parts of the +name that have meaning. +""" + +from __future__ import annotations + +import re +from collections.abc import Iterable + +from pip._vendor.packaging.tags import Tag +from pip._vendor.packaging.utils import BuildTag, parse_wheel_filename +from pip._vendor.packaging.utils import ( + InvalidWheelFilename as _PackagingInvalidWheelFilename, +) + +from pip._internal.exceptions import InvalidWheelFilename +from pip._internal.utils.deprecation import deprecated + + +class Wheel: + """A wheel file""" + + legacy_wheel_file_re = re.compile( + r"""^(?P(?P[^\s-]+?)-(?P[^\s-]*?)) + ((-(?P\d[^-]*?))?-(?P[^\s-]+?)-(?P[^\s-]+?)-(?P[^\s-]+?) + \.whl|\.dist-info)$""", + re.VERBOSE, + ) + + def __init__(self, filename: str) -> None: + self.filename = filename + + # To make mypy happy specify type hints that can come from either + # parse_wheel_filename or the legacy_wheel_file_re match. + self.name: str + self._build_tag: BuildTag | None = None + + try: + wheel_info = parse_wheel_filename(filename) + self.name, _version, self._build_tag, self.file_tags = wheel_info + self.version = str(_version) + except _PackagingInvalidWheelFilename as e: + # Check if the wheel filename is in the legacy format + legacy_wheel_info = self.legacy_wheel_file_re.match(filename) + if not legacy_wheel_info: + raise InvalidWheelFilename(e.args[0]) from None + + deprecated( + reason=( + f"Wheel filename {filename!r} is not correctly normalised. " + "Future versions of pip will raise the following error:\n" + f"{e.args[0]}\n\n" + ), + replacement=( + "to rename the wheel to use a correctly normalised " + "name (this may require updating the version in " + "the project metadata)" + ), + gone_in="25.3", + issue=12938, + ) + + self.name = legacy_wheel_info.group("name").replace("_", "-") + self.version = legacy_wheel_info.group("ver").replace("_", "-") + + # Generate the file tags from the legacy wheel filename + pyversions = legacy_wheel_info.group("pyver").split(".") + abis = legacy_wheel_info.group("abi").split(".") + plats = legacy_wheel_info.group("plat").split(".") + self.file_tags = frozenset( + Tag(interpreter=py, abi=abi, platform=plat) + for py in pyversions + for abi in abis + for plat in plats + ) + + @property + def build_tag(self) -> BuildTag: + if self._build_tag is not None: + return self._build_tag + + # Parse the build tag from the legacy wheel filename + legacy_wheel_info = self.legacy_wheel_file_re.match(self.filename) + assert legacy_wheel_info is not None, "guaranteed by filename validation" + build_tag = legacy_wheel_info.group("build") + match = re.match(r"^(\d+)(.*)$", build_tag) + assert match is not None, "guaranteed by filename validation" + build_tag_groups = match.groups() + self._build_tag = (int(build_tag_groups[0]), build_tag_groups[1]) + + return self._build_tag + + def get_formatted_file_tags(self) -> list[str]: + """Return the wheel's tags as a sorted list of strings.""" + return sorted(str(tag) for tag in self.file_tags) + + def support_index_min(self, tags: list[Tag]) -> int: + """Return the lowest index that one of the wheel's file_tag combinations + achieves in the given list of supported tags. + + For example, if there are 8 supported tags and one of the file tags + is first in the list, then return 0. + + :param tags: the PEP 425 tags to check the wheel against, in order + with most preferred first. + + :raises ValueError: If none of the wheel's file tags match one of + the supported tags. + """ + try: + return next(i for i, t in enumerate(tags) if t in self.file_tags) + except StopIteration: + raise ValueError() + + def find_most_preferred_tag( + self, tags: list[Tag], tag_to_priority: dict[Tag, int] + ) -> int: + """Return the priority of the most preferred tag that one of the wheel's file + tag combinations achieves in the given list of supported tags using the given + tag_to_priority mapping, where lower priorities are more-preferred. + + This is used in place of support_index_min in some cases in order to avoid + an expensive linear scan of a large list of tags. + + :param tags: the PEP 425 tags to check the wheel against. + :param tag_to_priority: a mapping from tag to priority of that tag, where + lower is more preferred. + + :raises ValueError: If none of the wheel's file tags match one of + the supported tags. + """ + return min( + tag_to_priority[tag] for tag in self.file_tags if tag in tag_to_priority + ) + + def supported(self, tags: Iterable[Tag]) -> bool: + """Return whether the wheel is compatible with one of the given tags. + + :param tags: the PEP 425 tags to check the wheel against. + """ + return not self.file_tags.isdisjoint(tags) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..0ae1f5626bca4f0a8cc6532b0d20b2e43039b1c6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__init__.py @@ -0,0 +1 @@ +"""Contains purely network-related utilities.""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7a198c0b544e8c3f7bf277e087165d00a24ecd67 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b2f734f4a8f25b448be185d94941b8f2825204fe Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7c453f1f8fe313a99f6e07d2b1f38c6c4a78af5b Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5f9829fa31129da85dc8d2259bdfa3808be9c11e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..80af3037a1c0e5a3efc27d3e50d8477b84da8c96 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..af8c2fe25e6b334afb6077047303889c19b723dc Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8436c3cd66c831cc2f1b902ab781350ac8664d6e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..42899400355f0425ac686f93a746bf8e178189f3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/auth.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/auth.py new file mode 100644 index 0000000000000000000000000000000000000000..a42f7024c4c3effc0e7c4bb30b3deaee3f01eea6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/auth.py @@ -0,0 +1,564 @@ +"""Network Authentication Helpers + +Contains interface (MultiDomainBasicAuth) and associated glue code for +providing credentials in the context of network requests. +""" + +from __future__ import annotations + +import logging +import os +import shutil +import subprocess +import sysconfig +import typing +import urllib.parse +from abc import ABC, abstractmethod +from functools import cache +from os.path import commonprefix +from pathlib import Path +from typing import Any, NamedTuple + +from pip._vendor.requests.auth import AuthBase, HTTPBasicAuth +from pip._vendor.requests.models import Request, Response +from pip._vendor.requests.utils import get_netrc_auth + +from pip._internal.utils.logging import getLogger +from pip._internal.utils.misc import ( + ask, + ask_input, + ask_password, + remove_auth_from_url, + split_auth_netloc_from_url, +) +from pip._internal.vcs.versioncontrol import AuthInfo + +logger = getLogger(__name__) + +KEYRING_DISABLED = False + + +class Credentials(NamedTuple): + url: str + username: str + password: str + + +class KeyRingBaseProvider(ABC): + """Keyring base provider interface""" + + has_keyring: bool + + @abstractmethod + def get_auth_info(self, url: str, username: str | None) -> AuthInfo | None: ... + + @abstractmethod + def save_auth_info(self, url: str, username: str, password: str) -> None: ... + + +class KeyRingNullProvider(KeyRingBaseProvider): + """Keyring null provider""" + + has_keyring = False + + def get_auth_info(self, url: str, username: str | None) -> AuthInfo | None: + return None + + def save_auth_info(self, url: str, username: str, password: str) -> None: + return None + + +class KeyRingPythonProvider(KeyRingBaseProvider): + """Keyring interface which uses locally imported `keyring`""" + + has_keyring = True + + def __init__(self) -> None: + import keyring + + self.keyring = keyring + + def get_auth_info(self, url: str, username: str | None) -> AuthInfo | None: + # Support keyring's get_credential interface which supports getting + # credentials without a username. This is only available for + # keyring>=15.2.0. + if hasattr(self.keyring, "get_credential"): + logger.debug("Getting credentials from keyring for %s", url) + cred = self.keyring.get_credential(url, username) + if cred is not None: + return cred.username, cred.password + return None + + if username is not None: + logger.debug("Getting password from keyring for %s", url) + password = self.keyring.get_password(url, username) + if password: + return username, password + return None + + def save_auth_info(self, url: str, username: str, password: str) -> None: + self.keyring.set_password(url, username, password) + + +class KeyRingCliProvider(KeyRingBaseProvider): + """Provider which uses `keyring` cli + + Instead of calling the keyring package installed alongside pip + we call keyring on the command line which will enable pip to + use which ever installation of keyring is available first in + PATH. + """ + + has_keyring = True + + def __init__(self, cmd: str) -> None: + self.keyring = cmd + + def get_auth_info(self, url: str, username: str | None) -> AuthInfo | None: + # This is the default implementation of keyring.get_credential + # https://github.com/jaraco/keyring/blob/97689324abcf01bd1793d49063e7ca01e03d7d07/keyring/backend.py#L134-L139 + if username is not None: + password = self._get_password(url, username) + if password is not None: + return username, password + return None + + def save_auth_info(self, url: str, username: str, password: str) -> None: + return self._set_password(url, username, password) + + def _get_password(self, service_name: str, username: str) -> str | None: + """Mirror the implementation of keyring.get_password using cli""" + if self.keyring is None: + return None + + cmd = [self.keyring, "get", service_name, username] + env = os.environ.copy() + env["PYTHONIOENCODING"] = "utf-8" + res = subprocess.run( + cmd, + stdin=subprocess.DEVNULL, + stdout=subprocess.PIPE, + env=env, + ) + if res.returncode: + return None + return res.stdout.decode("utf-8").strip(os.linesep) + + def _set_password(self, service_name: str, username: str, password: str) -> None: + """Mirror the implementation of keyring.set_password using cli""" + if self.keyring is None: + return None + env = os.environ.copy() + env["PYTHONIOENCODING"] = "utf-8" + subprocess.run( + [self.keyring, "set", service_name, username], + input=f"{password}{os.linesep}".encode(), + env=env, + check=True, + ) + return None + + +@cache +def get_keyring_provider(provider: str) -> KeyRingBaseProvider: + logger.verbose("Keyring provider requested: %s", provider) + + # keyring has previously failed and been disabled + if KEYRING_DISABLED: + provider = "disabled" + if provider in ["import", "auto"]: + try: + impl = KeyRingPythonProvider() + logger.verbose("Keyring provider set: import") + return impl + except ImportError: + pass + except Exception as exc: + # In the event of an unexpected exception + # we should warn the user + msg = "Installed copy of keyring fails with exception %s" + if provider == "auto": + msg = msg + ", trying to find a keyring executable as a fallback" + logger.warning(msg, exc, exc_info=logger.isEnabledFor(logging.DEBUG)) + if provider in ["subprocess", "auto"]: + cli = shutil.which("keyring") + if cli and cli.startswith(sysconfig.get_path("scripts")): + # all code within this function is stolen from shutil.which implementation + @typing.no_type_check + def PATH_as_shutil_which_determines_it() -> str: + path = os.environ.get("PATH", None) + if path is None: + try: + path = os.confstr("CS_PATH") + except (AttributeError, ValueError): + # os.confstr() or CS_PATH is not available + path = os.defpath + # bpo-35755: Don't use os.defpath if the PATH environment variable is + # set to an empty string + + return path + + scripts = Path(sysconfig.get_path("scripts")) + + paths = [] + for path in PATH_as_shutil_which_determines_it().split(os.pathsep): + p = Path(path) + try: + if not p.samefile(scripts): + paths.append(path) + except FileNotFoundError: + pass + + path = os.pathsep.join(paths) + + cli = shutil.which("keyring", path=path) + + if cli: + logger.verbose("Keyring provider set: subprocess with executable %s", cli) + return KeyRingCliProvider(cli) + + logger.verbose("Keyring provider set: disabled") + return KeyRingNullProvider() + + +class MultiDomainBasicAuth(AuthBase): + def __init__( + self, + prompting: bool = True, + index_urls: list[str] | None = None, + keyring_provider: str = "auto", + ) -> None: + self.prompting = prompting + self.index_urls = index_urls + self.keyring_provider = keyring_provider + self.passwords: dict[str, AuthInfo] = {} + # When the user is prompted to enter credentials and keyring is + # available, we will offer to save them. If the user accepts, + # this value is set to the credentials they entered. After the + # request authenticates, the caller should call + # ``save_credentials`` to save these. + self._credentials_to_save: Credentials | None = None + + @property + def keyring_provider(self) -> KeyRingBaseProvider: + return get_keyring_provider(self._keyring_provider) + + @keyring_provider.setter + def keyring_provider(self, provider: str) -> None: + # The free function get_keyring_provider has been decorated with + # functools.cache. If an exception occurs in get_keyring_auth that + # cache will be cleared and keyring disabled, take that into account + # if you want to remove this indirection. + self._keyring_provider = provider + + @property + def use_keyring(self) -> bool: + # We won't use keyring when --no-input is passed unless + # a specific provider is requested because it might require + # user interaction + return self.prompting or self._keyring_provider not in ["auto", "disabled"] + + def _get_keyring_auth( + self, + url: str | None, + username: str | None, + ) -> AuthInfo | None: + """Return the tuple auth for a given url from keyring.""" + # Do nothing if no url was provided + if not url: + return None + + try: + return self.keyring_provider.get_auth_info(url, username) + except Exception as exc: + # Log the full exception (with stacktrace) at debug, so it'll only + # show up when running in verbose mode. + logger.debug("Keyring is skipped due to an exception", exc_info=True) + # Always log a shortened version of the exception. + logger.warning( + "Keyring is skipped due to an exception: %s", + str(exc), + ) + global KEYRING_DISABLED + KEYRING_DISABLED = True + get_keyring_provider.cache_clear() + return None + + def _get_index_url(self, url: str) -> str | None: + """Return the original index URL matching the requested URL. + + Cached or dynamically generated credentials may work against + the original index URL rather than just the netloc. + + The provided url should have had its username and password + removed already. If the original index url had credentials then + they will be included in the return value. + + Returns None if no matching index was found, or if --no-index + was specified by the user. + """ + if not url or not self.index_urls: + return None + + url = remove_auth_from_url(url).rstrip("/") + "/" + parsed_url = urllib.parse.urlsplit(url) + + candidates = [] + + for index in self.index_urls: + index = index.rstrip("/") + "/" + parsed_index = urllib.parse.urlsplit(remove_auth_from_url(index)) + if parsed_url == parsed_index: + return index + + if parsed_url.netloc != parsed_index.netloc: + continue + + candidate = urllib.parse.urlsplit(index) + candidates.append(candidate) + + if not candidates: + return None + + candidates.sort( + reverse=True, + key=lambda candidate: commonprefix( + [ + parsed_url.path, + candidate.path, + ] + ).rfind("/"), + ) + + return urllib.parse.urlunsplit(candidates[0]) + + def _get_new_credentials( + self, + original_url: str, + *, + allow_netrc: bool = True, + allow_keyring: bool = False, + ) -> AuthInfo: + """Find and return credentials for the specified URL.""" + # Split the credentials and netloc from the url. + url, netloc, url_user_password = split_auth_netloc_from_url( + original_url, + ) + + # Start with the credentials embedded in the url + username, password = url_user_password + if username is not None and password is not None: + logger.debug("Found credentials in url for %s", netloc) + return url_user_password + + # Find a matching index url for this request + index_url = self._get_index_url(url) + if index_url: + # Split the credentials from the url. + index_info = split_auth_netloc_from_url(index_url) + if index_info: + index_url, _, index_url_user_password = index_info + logger.debug("Found index url %s", index_url) + + # If an index URL was found, try its embedded credentials + if index_url and index_url_user_password[0] is not None: + username, password = index_url_user_password + if username is not None and password is not None: + logger.debug("Found credentials in index url for %s", netloc) + return index_url_user_password + + # Get creds from netrc if we still don't have them + if allow_netrc: + netrc_auth = get_netrc_auth(original_url) + if netrc_auth: + logger.debug("Found credentials in netrc for %s", netloc) + return netrc_auth + + # If we don't have a password and keyring is available, use it. + if allow_keyring: + # The index url is more specific than the netloc, so try it first + # fmt: off + kr_auth = ( + self._get_keyring_auth(index_url, username) or + self._get_keyring_auth(netloc, username) + ) + # fmt: on + if kr_auth: + logger.debug("Found credentials in keyring for %s", netloc) + return kr_auth + + return username, password + + def _get_url_and_credentials( + self, original_url: str + ) -> tuple[str, str | None, str | None]: + """Return the credentials to use for the provided URL. + + If allowed, netrc and keyring may be used to obtain the + correct credentials. + + Returns (url_without_credentials, username, password). Note + that even if the original URL contains credentials, this + function may return a different username and password. + """ + url, netloc, _ = split_auth_netloc_from_url(original_url) + + # Try to get credentials from original url + username, password = self._get_new_credentials(original_url) + + # If credentials not found, use any stored credentials for this netloc. + # Do this if either the username or the password is missing. + # This accounts for the situation in which the user has specified + # the username in the index url, but the password comes from keyring. + if (username is None or password is None) and netloc in self.passwords: + un, pw = self.passwords[netloc] + # It is possible that the cached credentials are for a different username, + # in which case the cache should be ignored. + if username is None or username == un: + username, password = un, pw + + if username is not None or password is not None: + # Convert the username and password if they're None, so that + # this netloc will show up as "cached" in the conditional above. + # Further, HTTPBasicAuth doesn't accept None, so it makes sense to + # cache the value that is going to be used. + username = username or "" + password = password or "" + + # Store any acquired credentials. + self.passwords[netloc] = (username, password) + + assert ( + # Credentials were found + (username is not None and password is not None) + # Credentials were not found + or (username is None and password is None) + ), f"Could not load credentials from url: {original_url}" + + return url, username, password + + def __call__(self, req: Request) -> Request: + # Get credentials for this request + url, username, password = self._get_url_and_credentials(req.url) + + # Set the url of the request to the url without any credentials + req.url = url + + if username is not None and password is not None: + # Send the basic auth with this request + req = HTTPBasicAuth(username, password)(req) + + # Attach a hook to handle 401 responses + req.register_hook("response", self.handle_401) + + return req + + # Factored out to allow for easy patching in tests + def _prompt_for_password(self, netloc: str) -> tuple[str | None, str | None, bool]: + username = ask_input(f"User for {netloc}: ") if self.prompting else None + if not username: + return None, None, False + if self.use_keyring: + auth = self._get_keyring_auth(netloc, username) + if auth and auth[0] is not None and auth[1] is not None: + return auth[0], auth[1], False + password = ask_password("Password: ") + return username, password, True + + # Factored out to allow for easy patching in tests + def _should_save_password_to_keyring(self) -> bool: + if ( + not self.prompting + or not self.use_keyring + or not self.keyring_provider.has_keyring + ): + return False + return ask("Save credentials to keyring [y/N]: ", ["y", "n"]) == "y" + + def handle_401(self, resp: Response, **kwargs: Any) -> Response: + # We only care about 401 responses, anything else we want to just + # pass through the actual response + if resp.status_code != 401: + return resp + + username, password = None, None + + # Query the keyring for credentials: + if self.use_keyring: + username, password = self._get_new_credentials( + resp.url, + allow_netrc=False, + allow_keyring=True, + ) + + # We are not able to prompt the user so simply return the response + if not self.prompting and not username and not password: + return resp + + parsed = urllib.parse.urlparse(resp.url) + + # Prompt the user for a new username and password + save = False + if not username and not password: + username, password, save = self._prompt_for_password(parsed.netloc) + + # Store the new username and password to use for future requests + self._credentials_to_save = None + if username is not None and password is not None: + self.passwords[parsed.netloc] = (username, password) + + # Prompt to save the password to keyring + if save and self._should_save_password_to_keyring(): + self._credentials_to_save = Credentials( + url=parsed.netloc, + username=username, + password=password, + ) + + # Consume content and release the original connection to allow our new + # request to reuse the same one. + # The result of the assignment isn't used, it's just needed to consume + # the content. + _ = resp.content + resp.raw.release_conn() + + # Add our new username and password to the request + req = HTTPBasicAuth(username or "", password or "")(resp.request) + req.register_hook("response", self.warn_on_401) + + # On successful request, save the credentials that were used to + # keyring. (Note that if the user responded "no" above, this member + # is not set and nothing will be saved.) + if self._credentials_to_save: + req.register_hook("response", self.save_credentials) + + # Send our new request + new_resp = resp.connection.send(req, **kwargs) + new_resp.history.append(resp) + + return new_resp + + def warn_on_401(self, resp: Response, **kwargs: Any) -> None: + """Response callback to warn about incorrect credentials.""" + if resp.status_code == 401: + logger.warning( + "401 Error, Credentials not correct for %s", + resp.request.url, + ) + + def save_credentials(self, resp: Response, **kwargs: Any) -> None: + """Response callback to save credentials on success.""" + assert ( + self.keyring_provider.has_keyring + ), "should never reach here without keyring" + + creds = self._credentials_to_save + self._credentials_to_save = None + if creds and resp.status_code < 400: + try: + logger.info("Saving credentials to keyring") + self.keyring_provider.save_auth_info( + creds.url, creds.username, creds.password + ) + except Exception: + logger.exception("Failed to save credentials") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/cache.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/cache.py new file mode 100644 index 0000000000000000000000000000000000000000..0c5961c45b40c38fcc2b0c87360a015ac5298274 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/cache.py @@ -0,0 +1,133 @@ +"""HTTP cache implementation.""" + +from __future__ import annotations + +import os +import shutil +from collections.abc import Generator +from contextlib import contextmanager +from datetime import datetime +from typing import Any, BinaryIO, Callable + +from pip._vendor.cachecontrol.cache import SeparateBodyBaseCache +from pip._vendor.cachecontrol.caches import SeparateBodyFileCache +from pip._vendor.requests.models import Response + +from pip._internal.utils.filesystem import adjacent_tmp_file, replace +from pip._internal.utils.misc import ensure_dir + + +def is_from_cache(response: Response) -> bool: + return getattr(response, "from_cache", False) + + +@contextmanager +def suppressed_cache_errors() -> Generator[None, None, None]: + """If we can't access the cache then we can just skip caching and process + requests as if caching wasn't enabled. + """ + try: + yield + except OSError: + pass + + +class SafeFileCache(SeparateBodyBaseCache): + """ + A file based cache which is safe to use even when the target directory may + not be accessible or writable. + + There is a race condition when two processes try to write and/or read the + same entry at the same time, since each entry consists of two separate + files (https://github.com/psf/cachecontrol/issues/324). We therefore have + additional logic that makes sure that both files to be present before + returning an entry; this fixes the read side of the race condition. + + For the write side, we assume that the server will only ever return the + same data for the same URL, which ought to be the case for files pip is + downloading. PyPI does not have a mechanism to swap out a wheel for + another wheel, for example. If this assumption is not true, the + CacheControl issue will need to be fixed. + """ + + def __init__(self, directory: str) -> None: + assert directory is not None, "Cache directory must not be None." + super().__init__() + self.directory = directory + + def _get_cache_path(self, name: str) -> str: + # From cachecontrol.caches.file_cache.FileCache._fn, brought into our + # class for backwards-compatibility and to avoid using a non-public + # method. + hashed = SeparateBodyFileCache.encode(name) + parts = list(hashed[:5]) + [hashed] + return os.path.join(self.directory, *parts) + + def get(self, key: str) -> bytes | None: + # The cache entry is only valid if both metadata and body exist. + metadata_path = self._get_cache_path(key) + body_path = metadata_path + ".body" + if not (os.path.exists(metadata_path) and os.path.exists(body_path)): + return None + with suppressed_cache_errors(): + with open(metadata_path, "rb") as f: + return f.read() + + def _write_to_file(self, path: str, writer_func: Callable[[BinaryIO], Any]) -> None: + """Common file writing logic with proper permissions and atomic replacement.""" + with suppressed_cache_errors(): + ensure_dir(os.path.dirname(path)) + + with adjacent_tmp_file(path) as f: + writer_func(f) + # Inherit the read/write permissions of the cache directory + # to enable multi-user cache use-cases. + mode = ( + os.stat(self.directory).st_mode + & 0o666 # select read/write permissions of cache directory + | 0o600 # set owner read/write permissions + ) + # Change permissions only if there is no risk of following a symlink. + if os.chmod in os.supports_fd: + os.chmod(f.fileno(), mode) + elif os.chmod in os.supports_follow_symlinks: + os.chmod(f.name, mode, follow_symlinks=False) + + replace(f.name, path) + + def _write(self, path: str, data: bytes) -> None: + self._write_to_file(path, lambda f: f.write(data)) + + def _write_from_io(self, path: str, source_file: BinaryIO) -> None: + self._write_to_file(path, lambda f: shutil.copyfileobj(source_file, f)) + + def set( + self, key: str, value: bytes, expires: int | datetime | None = None + ) -> None: + path = self._get_cache_path(key) + self._write(path, value) + + def delete(self, key: str) -> None: + path = self._get_cache_path(key) + with suppressed_cache_errors(): + os.remove(path) + with suppressed_cache_errors(): + os.remove(path + ".body") + + def get_body(self, key: str) -> BinaryIO | None: + # The cache entry is only valid if both metadata and body exist. + metadata_path = self._get_cache_path(key) + body_path = metadata_path + ".body" + if not (os.path.exists(metadata_path) and os.path.exists(body_path)): + return None + with suppressed_cache_errors(): + return open(body_path, "rb") + + def set_body(self, key: str, body: bytes) -> None: + path = self._get_cache_path(key) + ".body" + self._write(path, body) + + def set_body_from_io(self, key: str, body_file: BinaryIO) -> None: + """Set the body of the cache entry from a file object.""" + path = self._get_cache_path(key) + ".body" + self._write_from_io(path, body_file) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/download.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/download.py new file mode 100644 index 0000000000000000000000000000000000000000..9881cc285fafe2c0049ce4086274d71c099816f5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/download.py @@ -0,0 +1,342 @@ +"""Download files with progress indicators.""" + +from __future__ import annotations + +import email.message +import logging +import mimetypes +import os +from collections.abc import Iterable, Mapping +from dataclasses import dataclass +from http import HTTPStatus +from typing import BinaryIO + +from pip._vendor.requests import PreparedRequest +from pip._vendor.requests.models import Response +from pip._vendor.urllib3 import HTTPResponse as URLlib3Response +from pip._vendor.urllib3._collections import HTTPHeaderDict +from pip._vendor.urllib3.exceptions import ReadTimeoutError + +from pip._internal.cli.progress_bars import BarType, get_download_progress_renderer +from pip._internal.exceptions import IncompleteDownloadError, NetworkConnectionError +from pip._internal.models.index import PyPI +from pip._internal.models.link import Link +from pip._internal.network.cache import SafeFileCache, is_from_cache +from pip._internal.network.session import CacheControlAdapter, PipSession +from pip._internal.network.utils import HEADERS, raise_for_status, response_chunks +from pip._internal.utils.misc import format_size, redact_auth_from_url, splitext + +logger = logging.getLogger(__name__) + + +def _get_http_response_size(resp: Response) -> int | None: + try: + return int(resp.headers["content-length"]) + except (ValueError, KeyError, TypeError): + return None + + +def _get_http_response_etag_or_last_modified(resp: Response) -> str | None: + """ + Return either the ETag or Last-Modified header (or None if neither exists). + The return value can be used in an If-Range header. + """ + return resp.headers.get("etag", resp.headers.get("last-modified")) + + +def _log_download( + resp: Response, + link: Link, + progress_bar: BarType, + total_length: int | None, + range_start: int | None = 0, +) -> Iterable[bytes]: + if link.netloc == PyPI.file_storage_domain: + url = link.show_url + else: + url = link.url_without_fragment + + logged_url = redact_auth_from_url(url) + + if total_length: + if range_start: + logged_url = ( + f"{logged_url} ({format_size(range_start)}/{format_size(total_length)})" + ) + else: + logged_url = f"{logged_url} ({format_size(total_length)})" + + if is_from_cache(resp): + logger.info("Using cached %s", logged_url) + elif range_start: + logger.info("Resuming download %s", logged_url) + else: + logger.info("Downloading %s", logged_url) + + if logger.getEffectiveLevel() > logging.INFO: + show_progress = False + elif is_from_cache(resp): + show_progress = False + elif not total_length: + show_progress = True + elif total_length > (512 * 1024): + show_progress = True + else: + show_progress = False + + chunks = response_chunks(resp) + + if not show_progress: + return chunks + + renderer = get_download_progress_renderer( + bar_type=progress_bar, size=total_length, initial_progress=range_start + ) + return renderer(chunks) + + +def sanitize_content_filename(filename: str) -> str: + """ + Sanitize the "filename" value from a Content-Disposition header. + """ + return os.path.basename(filename) + + +def parse_content_disposition(content_disposition: str, default_filename: str) -> str: + """ + Parse the "filename" value from a Content-Disposition header, and + return the default filename if the result is empty. + """ + m = email.message.Message() + m["content-type"] = content_disposition + filename = m.get_param("filename") + if filename: + # We need to sanitize the filename to prevent directory traversal + # in case the filename contains ".." path parts. + filename = sanitize_content_filename(str(filename)) + return filename or default_filename + + +def _get_http_response_filename(resp: Response, link: Link) -> str: + """Get an ideal filename from the given HTTP response, falling back to + the link filename if not provided. + """ + filename = link.filename # fallback + # Have a look at the Content-Disposition header for a better guess + content_disposition = resp.headers.get("content-disposition") + if content_disposition: + filename = parse_content_disposition(content_disposition, filename) + ext: str | None = splitext(filename)[1] + if not ext: + ext = mimetypes.guess_extension(resp.headers.get("content-type", "")) + if ext: + filename += ext + if not ext and link.url != resp.url: + ext = os.path.splitext(resp.url)[1] + if ext: + filename += ext + return filename + + +@dataclass +class _FileDownload: + """Stores the state of a single link download.""" + + link: Link + output_file: BinaryIO + size: int | None + bytes_received: int = 0 + reattempts: int = 0 + + def is_incomplete(self) -> bool: + return bool(self.size is not None and self.bytes_received < self.size) + + def write_chunk(self, data: bytes) -> None: + self.bytes_received += len(data) + self.output_file.write(data) + + def reset_file(self) -> None: + """Delete any saved data and reset progress to zero.""" + self.output_file.seek(0) + self.output_file.truncate() + self.bytes_received = 0 + + +class Downloader: + def __init__( + self, + session: PipSession, + progress_bar: BarType, + resume_retries: int, + ) -> None: + assert ( + resume_retries >= 0 + ), "Number of max resume retries must be bigger or equal to zero" + self._session = session + self._progress_bar = progress_bar + self._resume_retries = resume_retries + + def batch( + self, links: Iterable[Link], location: str + ) -> Iterable[tuple[Link, tuple[str, str]]]: + """Convenience method to download multiple links.""" + for link in links: + filepath, content_type = self(link, location) + yield link, (filepath, content_type) + + def __call__(self, link: Link, location: str) -> tuple[str, str]: + """Download a link and save it under location.""" + resp = self._http_get(link) + download_size = _get_http_response_size(resp) + + filepath = os.path.join(location, _get_http_response_filename(resp, link)) + with open(filepath, "wb") as content_file: + download = _FileDownload(link, content_file, download_size) + self._process_response(download, resp) + if download.is_incomplete(): + self._attempt_resumes_or_redownloads(download, resp) + + content_type = resp.headers.get("Content-Type", "") + return filepath, content_type + + def _process_response(self, download: _FileDownload, resp: Response) -> None: + """Download and save chunks from a response.""" + chunks = _log_download( + resp, + download.link, + self._progress_bar, + download.size, + range_start=download.bytes_received, + ) + try: + for chunk in chunks: + download.write_chunk(chunk) + except ReadTimeoutError as e: + # If the download size is not known, then give up downloading the file. + if download.size is None: + raise e + + logger.warning("Connection timed out while downloading.") + + def _attempt_resumes_or_redownloads( + self, download: _FileDownload, first_resp: Response + ) -> None: + """Attempt to resume/restart the download if connection was dropped.""" + + while download.reattempts < self._resume_retries and download.is_incomplete(): + assert download.size is not None + download.reattempts += 1 + logger.warning( + "Attempting to resume incomplete download (%s/%s, attempt %d)", + format_size(download.bytes_received), + format_size(download.size), + download.reattempts, + ) + + try: + resume_resp = self._http_get_resume(download, should_match=first_resp) + # Fallback: if the server responded with 200 (i.e., the file has + # since been modified or range requests are unsupported) or any + # other unexpected status, restart the download from the beginning. + must_restart = resume_resp.status_code != HTTPStatus.PARTIAL_CONTENT + if must_restart: + download.reset_file() + download.size = _get_http_response_size(resume_resp) + first_resp = resume_resp + + self._process_response(download, resume_resp) + except (ConnectionError, ReadTimeoutError, OSError): + continue + + # No more resume attempts. Raise an error if the download is still incomplete. + if download.is_incomplete(): + os.remove(download.output_file.name) + raise IncompleteDownloadError(download) + + # If we successfully completed the download via resume, manually cache it + # as a complete response to enable future caching + if download.reattempts > 0: + self._cache_resumed_download(download, first_resp) + + def _cache_resumed_download( + self, download: _FileDownload, original_response: Response + ) -> None: + """ + Manually cache a file that was successfully downloaded via resume retries. + + cachecontrol doesn't cache 206 (Partial Content) responses, since they + are not complete files. This method manually adds the final file to the + cache as though it was downloaded in a single request, so that future + requests can use the cache. + """ + url = download.link.url_without_fragment + adapter = self._session.get_adapter(url) + + # Check if the adapter is the CacheControlAdapter (i.e. caching is enabled) + if not isinstance(adapter, CacheControlAdapter): + logger.debug( + "Skipping resume download caching: no cache controller for %s", url + ) + return + + # Check SafeFileCache is being used + assert isinstance( + adapter.cache, SafeFileCache + ), "separate body cache not in use!" + + synthetic_request = PreparedRequest() + synthetic_request.prepare(method="GET", url=url, headers={}) + + synthetic_response_headers = HTTPHeaderDict() + for key, value in original_response.headers.items(): + if key.lower() not in ["content-range", "content-length"]: + synthetic_response_headers[key] = value + synthetic_response_headers["content-length"] = str(download.size) + + synthetic_response = URLlib3Response( + body="", + headers=synthetic_response_headers, + status=200, + preload_content=False, + ) + + # Save metadata and then stream the file contents to cache. + cache_url = adapter.controller.cache_url(url) + metadata_blob = adapter.controller.serializer.dumps( + synthetic_request, synthetic_response, b"" + ) + adapter.cache.set(cache_url, metadata_blob) + download.output_file.flush() + with open(download.output_file.name, "rb") as f: + adapter.cache.set_body_from_io(cache_url, f) + + logger.debug( + "Cached resumed download as complete response for future use: %s", url + ) + + def _http_get_resume( + self, download: _FileDownload, should_match: Response + ) -> Response: + """Issue a HTTP range request to resume the download.""" + # To better understand the download resumption logic, see the mdn web docs: + # https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Range_requests + headers = HEADERS.copy() + headers["Range"] = f"bytes={download.bytes_received}-" + # If possible, use a conditional range request to avoid corrupted + # downloads caused by the remote file changing in-between. + if identifier := _get_http_response_etag_or_last_modified(should_match): + headers["If-Range"] = identifier + return self._http_get(download.link, headers) + + def _http_get(self, link: Link, headers: Mapping[str, str] = HEADERS) -> Response: + target_url = link.url_without_fragment + try: + resp = self._session.get(target_url, headers=headers, stream=True) + raise_for_status(resp) + except NetworkConnectionError as e: + assert e.response is not None + logger.critical( + "HTTP error %s while getting %s", e.response.status_code, link + ) + raise + return resp diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/lazy_wheel.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/lazy_wheel.py new file mode 100644 index 0000000000000000000000000000000000000000..ac3ebe63c9b9c5446bb053a6d25e9de6641d980d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/lazy_wheel.py @@ -0,0 +1,213 @@ +"""Lazy ZIP over HTTP""" + +from __future__ import annotations + +__all__ = ["HTTPRangeRequestUnsupported", "dist_from_wheel_url"] + +from bisect import bisect_left, bisect_right +from collections.abc import Generator +from contextlib import contextmanager +from tempfile import NamedTemporaryFile +from typing import Any +from zipfile import BadZipFile, ZipFile + +from pip._vendor.packaging.utils import canonicalize_name +from pip._vendor.requests.models import CONTENT_CHUNK_SIZE, Response + +from pip._internal.metadata import BaseDistribution, MemoryWheel, get_wheel_distribution +from pip._internal.network.session import PipSession +from pip._internal.network.utils import HEADERS, raise_for_status, response_chunks + + +class HTTPRangeRequestUnsupported(Exception): + pass + + +def dist_from_wheel_url(name: str, url: str, session: PipSession) -> BaseDistribution: + """Return a distribution object from the given wheel URL. + + This uses HTTP range requests to only fetch the portion of the wheel + containing metadata, just enough for the object to be constructed. + If such requests are not supported, HTTPRangeRequestUnsupported + is raised. + """ + with LazyZipOverHTTP(url, session) as zf: + # For read-only ZIP files, ZipFile only needs methods read, + # seek, seekable and tell, not the whole IO protocol. + wheel = MemoryWheel(zf.name, zf) # type: ignore + # After context manager exit, wheel.name + # is an invalid file by intention. + return get_wheel_distribution(wheel, canonicalize_name(name)) + + +class LazyZipOverHTTP: + """File-like object mapped to a ZIP file over HTTP. + + This uses HTTP range requests to lazily fetch the file's content, + which is supposed to be fed to ZipFile. If such requests are not + supported by the server, raise HTTPRangeRequestUnsupported + during initialization. + """ + + def __init__( + self, url: str, session: PipSession, chunk_size: int = CONTENT_CHUNK_SIZE + ) -> None: + head = session.head(url, headers=HEADERS) + raise_for_status(head) + assert head.status_code == 200 + self._session, self._url, self._chunk_size = session, url, chunk_size + self._length = int(head.headers["Content-Length"]) + self._file = NamedTemporaryFile() + self.truncate(self._length) + self._left: list[int] = [] + self._right: list[int] = [] + if "bytes" not in head.headers.get("Accept-Ranges", "none"): + raise HTTPRangeRequestUnsupported("range request is not supported") + self._check_zip() + + @property + def mode(self) -> str: + """Opening mode, which is always rb.""" + return "rb" + + @property + def name(self) -> str: + """Path to the underlying file.""" + return self._file.name + + def seekable(self) -> bool: + """Return whether random access is supported, which is True.""" + return True + + def close(self) -> None: + """Close the file.""" + self._file.close() + + @property + def closed(self) -> bool: + """Whether the file is closed.""" + return self._file.closed + + def read(self, size: int = -1) -> bytes: + """Read up to size bytes from the object and return them. + + As a convenience, if size is unspecified or -1, + all bytes until EOF are returned. Fewer than + size bytes may be returned if EOF is reached. + """ + download_size = max(size, self._chunk_size) + start, length = self.tell(), self._length + stop = length if size < 0 else min(start + download_size, length) + start = max(0, stop - download_size) + self._download(start, stop - 1) + return self._file.read(size) + + def readable(self) -> bool: + """Return whether the file is readable, which is True.""" + return True + + def seek(self, offset: int, whence: int = 0) -> int: + """Change stream position and return the new absolute position. + + Seek to offset relative position indicated by whence: + * 0: Start of stream (the default). pos should be >= 0; + * 1: Current position - pos may be negative; + * 2: End of stream - pos usually negative. + """ + return self._file.seek(offset, whence) + + def tell(self) -> int: + """Return the current position.""" + return self._file.tell() + + def truncate(self, size: int | None = None) -> int: + """Resize the stream to the given size in bytes. + + If size is unspecified resize to the current position. + The current stream position isn't changed. + + Return the new file size. + """ + return self._file.truncate(size) + + def writable(self) -> bool: + """Return False.""" + return False + + def __enter__(self) -> LazyZipOverHTTP: + self._file.__enter__() + return self + + def __exit__(self, *exc: Any) -> None: + self._file.__exit__(*exc) + + @contextmanager + def _stay(self) -> Generator[None, None, None]: + """Return a context manager keeping the position. + + At the end of the block, seek back to original position. + """ + pos = self.tell() + try: + yield + finally: + self.seek(pos) + + def _check_zip(self) -> None: + """Check and download until the file is a valid ZIP.""" + end = self._length - 1 + for start in reversed(range(0, end, self._chunk_size)): + self._download(start, end) + with self._stay(): + try: + # For read-only ZIP files, ZipFile only needs + # methods read, seek, seekable and tell. + ZipFile(self) + except BadZipFile: + pass + else: + break + + def _stream_response( + self, start: int, end: int, base_headers: dict[str, str] = HEADERS + ) -> Response: + """Return HTTP response to a range request from start to end.""" + headers = base_headers.copy() + headers["Range"] = f"bytes={start}-{end}" + # TODO: Get range requests to be correctly cached + headers["Cache-Control"] = "no-cache" + return self._session.get(self._url, headers=headers, stream=True) + + def _merge( + self, start: int, end: int, left: int, right: int + ) -> Generator[tuple[int, int], None, None]: + """Return a generator of intervals to be fetched. + + Args: + start (int): Start of needed interval + end (int): End of needed interval + left (int): Index of first overlapping downloaded data + right (int): Index after last overlapping downloaded data + """ + lslice, rslice = self._left[left:right], self._right[left:right] + i = start = min([start] + lslice[:1]) + end = max([end] + rslice[-1:]) + for j, k in zip(lslice, rslice): + if j > i: + yield i, j - 1 + i = k + 1 + if i <= end: + yield i, end + self._left[left:right], self._right[left:right] = [start], [end] + + def _download(self, start: int, end: int) -> None: + """Download bytes from start to end inclusively.""" + with self._stay(): + left = bisect_left(self._right, start) + right = bisect_right(self._left, end) + for start, end in self._merge(start, end, left, right): + response = self._stream_response(start, end) + response.raise_for_status() + self.seek(start) + for chunk in response_chunks(response, self._chunk_size): + self._file.write(chunk) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/session.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/session.py new file mode 100644 index 0000000000000000000000000000000000000000..a1f9444e37b4a8445f6c780b200705615a2b6de3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/session.py @@ -0,0 +1,528 @@ +"""PipSession and supporting code, containing all pip-specific +network request configuration and behavior. +""" + +from __future__ import annotations + +import email.utils +import functools +import io +import ipaddress +import json +import logging +import mimetypes +import os +import platform +import shutil +import subprocess +import sys +import urllib.parse +import warnings +from collections.abc import Generator, Mapping, Sequence +from typing import ( + TYPE_CHECKING, + Any, + Optional, + Union, +) + +from pip._vendor import requests, urllib3 +from pip._vendor.cachecontrol import CacheControlAdapter as _BaseCacheControlAdapter +from pip._vendor.requests.adapters import DEFAULT_POOLBLOCK, BaseAdapter +from pip._vendor.requests.adapters import HTTPAdapter as _BaseHTTPAdapter +from pip._vendor.requests.models import PreparedRequest, Response +from pip._vendor.requests.structures import CaseInsensitiveDict +from pip._vendor.urllib3.connectionpool import ConnectionPool +from pip._vendor.urllib3.exceptions import InsecureRequestWarning + +from pip import __version__ +from pip._internal.metadata import get_default_environment +from pip._internal.models.link import Link +from pip._internal.network.auth import MultiDomainBasicAuth +from pip._internal.network.cache import SafeFileCache + +# Import ssl from compat so the initial import occurs in only one place. +from pip._internal.utils.compat import has_tls +from pip._internal.utils.glibc import libc_ver +from pip._internal.utils.misc import build_url_from_netloc, parse_netloc +from pip._internal.utils.urls import url_to_path + +if TYPE_CHECKING: + from ssl import SSLContext + + from pip._vendor.urllib3.poolmanager import PoolManager + from pip._vendor.urllib3.proxymanager import ProxyManager + + +logger = logging.getLogger(__name__) + +SecureOrigin = tuple[str, str, Optional[Union[int, str]]] + + +# Ignore warning raised when using --trusted-host. +warnings.filterwarnings("ignore", category=InsecureRequestWarning) + + +SECURE_ORIGINS: list[SecureOrigin] = [ + # protocol, hostname, port + # Taken from Chrome's list of secure origins (See: http://bit.ly/1qrySKC) + ("https", "*", "*"), + ("*", "localhost", "*"), + ("*", "127.0.0.0/8", "*"), + ("*", "::1/128", "*"), + ("file", "*", None), + # ssh is always secure. + ("ssh", "*", "*"), +] + + +# These are environment variables present when running under various +# CI systems. For each variable, some CI systems that use the variable +# are indicated. The collection was chosen so that for each of a number +# of popular systems, at least one of the environment variables is used. +# This list is used to provide some indication of and lower bound for +# CI traffic to PyPI. Thus, it is okay if the list is not comprehensive. +# For more background, see: https://github.com/pypa/pip/issues/5499 +CI_ENVIRONMENT_VARIABLES = ( + # Azure Pipelines + "BUILD_BUILDID", + # Jenkins + "BUILD_ID", + # AppVeyor, CircleCI, Codeship, Gitlab CI, Shippable, Travis CI + "CI", + # Explicit environment variable. + "PIP_IS_CI", +) + + +def looks_like_ci() -> bool: + """ + Return whether it looks like pip is running under CI. + """ + # We don't use the method of checking for a tty (e.g. using isatty()) + # because some CI systems mimic a tty (e.g. Travis CI). Thus that + # method doesn't provide definitive information in either direction. + return any(name in os.environ for name in CI_ENVIRONMENT_VARIABLES) + + +@functools.lru_cache(maxsize=1) +def user_agent() -> str: + """ + Return a string representing the user agent. + """ + data: dict[str, Any] = { + "installer": {"name": "pip", "version": __version__}, + "python": platform.python_version(), + "implementation": { + "name": platform.python_implementation(), + }, + } + + if data["implementation"]["name"] == "CPython": + data["implementation"]["version"] = platform.python_version() + elif data["implementation"]["name"] == "PyPy": + pypy_version_info = sys.pypy_version_info # type: ignore + if pypy_version_info.releaselevel == "final": + pypy_version_info = pypy_version_info[:3] + data["implementation"]["version"] = ".".join( + [str(x) for x in pypy_version_info] + ) + elif data["implementation"]["name"] == "Jython": + # Complete Guess + data["implementation"]["version"] = platform.python_version() + elif data["implementation"]["name"] == "IronPython": + # Complete Guess + data["implementation"]["version"] = platform.python_version() + + if sys.platform.startswith("linux"): + from pip._vendor import distro + + linux_distribution = distro.name(), distro.version(), distro.codename() + distro_infos: dict[str, Any] = dict( + filter( + lambda x: x[1], + zip(["name", "version", "id"], linux_distribution), + ) + ) + libc = dict( + filter( + lambda x: x[1], + zip(["lib", "version"], libc_ver()), + ) + ) + if libc: + distro_infos["libc"] = libc + if distro_infos: + data["distro"] = distro_infos + + if sys.platform.startswith("darwin") and platform.mac_ver()[0]: + data["distro"] = {"name": "macOS", "version": platform.mac_ver()[0]} + + if platform.system(): + data.setdefault("system", {})["name"] = platform.system() + + if platform.release(): + data.setdefault("system", {})["release"] = platform.release() + + if platform.machine(): + data["cpu"] = platform.machine() + + if has_tls(): + import _ssl as ssl + + data["openssl_version"] = ssl.OPENSSL_VERSION + + setuptools_dist = get_default_environment().get_distribution("setuptools") + if setuptools_dist is not None: + data["setuptools_version"] = str(setuptools_dist.version) + + if shutil.which("rustc") is not None: + # If for any reason `rustc --version` fails, silently ignore it + try: + rustc_output = subprocess.check_output( + ["rustc", "--version"], stderr=subprocess.STDOUT, timeout=0.5 + ) + except Exception: + pass + else: + if rustc_output.startswith(b"rustc "): + # The format of `rustc --version` is: + # `b'rustc 1.52.1 (9bc8c42bb 2021-05-09)\n'` + # We extract just the middle (1.52.1) part + data["rustc_version"] = rustc_output.split(b" ")[1].decode() + + # Use None rather than False so as not to give the impression that + # pip knows it is not being run under CI. Rather, it is a null or + # inconclusive result. Also, we include some value rather than no + # value to make it easier to know that the check has been run. + data["ci"] = True if looks_like_ci() else None + + user_data = os.environ.get("PIP_USER_AGENT_USER_DATA") + if user_data is not None: + data["user_data"] = user_data + + return "{data[installer][name]}/{data[installer][version]} {json}".format( + data=data, + json=json.dumps(data, separators=(",", ":"), sort_keys=True), + ) + + +class LocalFSAdapter(BaseAdapter): + def send( + self, + request: PreparedRequest, + stream: bool = False, + timeout: float | tuple[float, float] | None = None, + verify: bool | str = True, + cert: str | tuple[str, str] | None = None, + proxies: Mapping[str, str] | None = None, + ) -> Response: + pathname = url_to_path(request.url) + + resp = Response() + resp.status_code = 200 + resp.url = request.url + + try: + stats = os.stat(pathname) + except OSError as exc: + # format the exception raised as a io.BytesIO object, + # to return a better error message: + resp.status_code = 404 + resp.reason = type(exc).__name__ + resp.raw = io.BytesIO(f"{resp.reason}: {exc}".encode()) + else: + modified = email.utils.formatdate(stats.st_mtime, usegmt=True) + content_type = mimetypes.guess_type(pathname)[0] or "text/plain" + resp.headers = CaseInsensitiveDict( + { + "Content-Type": content_type, + "Content-Length": stats.st_size, + "Last-Modified": modified, + } + ) + + resp.raw = open(pathname, "rb") + resp.close = resp.raw.close + + return resp + + def close(self) -> None: + pass + + +class _SSLContextAdapterMixin: + """Mixin to add the ``ssl_context`` constructor argument to HTTP adapters. + + The additional argument is forwarded directly to the pool manager. This allows us + to dynamically decide what SSL store to use at runtime, which is used to implement + the optional ``truststore`` backend. + """ + + def __init__( + self, + *, + ssl_context: SSLContext | None = None, + **kwargs: Any, + ) -> None: + self._ssl_context = ssl_context + super().__init__(**kwargs) + + def init_poolmanager( + self, + connections: int, + maxsize: int, + block: bool = DEFAULT_POOLBLOCK, + **pool_kwargs: Any, + ) -> PoolManager: + if self._ssl_context is not None: + pool_kwargs.setdefault("ssl_context", self._ssl_context) + return super().init_poolmanager( # type: ignore[misc] + connections=connections, + maxsize=maxsize, + block=block, + **pool_kwargs, + ) + + def proxy_manager_for(self, proxy: str, **proxy_kwargs: Any) -> ProxyManager: + # Proxy manager replaces the pool manager, so inject our SSL + # context here too. https://github.com/pypa/pip/issues/13288 + if self._ssl_context is not None: + proxy_kwargs.setdefault("ssl_context", self._ssl_context) + return super().proxy_manager_for(proxy, **proxy_kwargs) # type: ignore[misc] + + +class HTTPAdapter(_SSLContextAdapterMixin, _BaseHTTPAdapter): + pass + + +class CacheControlAdapter(_SSLContextAdapterMixin, _BaseCacheControlAdapter): + pass + + +class InsecureHTTPAdapter(HTTPAdapter): + def cert_verify( + self, + conn: ConnectionPool, + url: str, + verify: bool | str, + cert: str | tuple[str, str] | None, + ) -> None: + super().cert_verify(conn=conn, url=url, verify=False, cert=cert) + + +class InsecureCacheControlAdapter(CacheControlAdapter): + def cert_verify( + self, + conn: ConnectionPool, + url: str, + verify: bool | str, + cert: str | tuple[str, str] | None, + ) -> None: + super().cert_verify(conn=conn, url=url, verify=False, cert=cert) + + +class PipSession(requests.Session): + timeout: int | None = None + + def __init__( + self, + *args: Any, + retries: int = 0, + cache: str | None = None, + trusted_hosts: Sequence[str] = (), + index_urls: list[str] | None = None, + ssl_context: SSLContext | None = None, + **kwargs: Any, + ) -> None: + """ + :param trusted_hosts: Domains not to emit warnings for when not using + HTTPS. + """ + super().__init__(*args, **kwargs) + + # Namespace the attribute with "pip_" just in case to prevent + # possible conflicts with the base class. + self.pip_trusted_origins: list[tuple[str, int | None]] = [] + self.pip_proxy = None + + # Attach our User Agent to the request + self.headers["User-Agent"] = user_agent() + + # Attach our Authentication handler to the session + self.auth = MultiDomainBasicAuth(index_urls=index_urls) + + # Create our urllib3.Retry instance which will allow us to customize + # how we handle retries. + retries = urllib3.Retry( + # Set the total number of retries that a particular request can + # have. + total=retries, + # A 503 error from PyPI typically means that the Fastly -> Origin + # connection got interrupted in some way. A 503 error in general + # is typically considered a transient error so we'll go ahead and + # retry it. + # A 500 may indicate transient error in Amazon S3 + # A 502 may be a transient error from a CDN like CloudFlare or CloudFront + # A 520 or 527 - may indicate transient error in CloudFlare + status_forcelist=[500, 502, 503, 520, 527], + # Add a small amount of back off between failed requests in + # order to prevent hammering the service. + backoff_factor=0.25, + ) # type: ignore + + # Our Insecure HTTPAdapter disables HTTPS validation. It does not + # support caching so we'll use it for all http:// URLs. + # If caching is disabled, we will also use it for + # https:// hosts that we've marked as ignoring + # TLS errors for (trusted-hosts). + insecure_adapter = InsecureHTTPAdapter(max_retries=retries) + + # We want to _only_ cache responses on securely fetched origins or when + # the host is specified as trusted. We do this because + # we can't validate the response of an insecurely/untrusted fetched + # origin, and we don't want someone to be able to poison the cache and + # require manual eviction from the cache to fix it. + if cache: + secure_adapter = CacheControlAdapter( + cache=SafeFileCache(cache), + max_retries=retries, + ssl_context=ssl_context, + ) + self._trusted_host_adapter = InsecureCacheControlAdapter( + cache=SafeFileCache(cache), + max_retries=retries, + ) + else: + secure_adapter = HTTPAdapter(max_retries=retries, ssl_context=ssl_context) + self._trusted_host_adapter = insecure_adapter + + self.mount("https://", secure_adapter) + self.mount("http://", insecure_adapter) + + # Enable file:// urls + self.mount("file://", LocalFSAdapter()) + + for host in trusted_hosts: + self.add_trusted_host(host, suppress_logging=True) + + def update_index_urls(self, new_index_urls: list[str]) -> None: + """ + :param new_index_urls: New index urls to update the authentication + handler with. + """ + self.auth.index_urls = new_index_urls + + def add_trusted_host( + self, host: str, source: str | None = None, suppress_logging: bool = False + ) -> None: + """ + :param host: It is okay to provide a host that has previously been + added. + :param source: An optional source string, for logging where the host + string came from. + """ + if not suppress_logging: + msg = f"adding trusted host: {host!r}" + if source is not None: + msg += f" (from {source})" + logger.info(msg) + + parsed_host, parsed_port = parse_netloc(host) + if parsed_host is None: + raise ValueError(f"Trusted host URL must include a host part: {host!r}") + if (parsed_host, parsed_port) not in self.pip_trusted_origins: + self.pip_trusted_origins.append((parsed_host, parsed_port)) + + self.mount( + build_url_from_netloc(host, scheme="http") + "/", self._trusted_host_adapter + ) + self.mount(build_url_from_netloc(host) + "/", self._trusted_host_adapter) + if not parsed_port: + self.mount( + build_url_from_netloc(host, scheme="http") + ":", + self._trusted_host_adapter, + ) + # Mount wildcard ports for the same host. + self.mount(build_url_from_netloc(host) + ":", self._trusted_host_adapter) + + def iter_secure_origins(self) -> Generator[SecureOrigin, None, None]: + yield from SECURE_ORIGINS + for host, port in self.pip_trusted_origins: + yield ("*", host, "*" if port is None else port) + + def is_secure_origin(self, location: Link) -> bool: + # Determine if this url used a secure transport mechanism + parsed = urllib.parse.urlparse(str(location)) + origin_protocol, origin_host, origin_port = ( + parsed.scheme, + parsed.hostname, + parsed.port, + ) + + # The protocol to use to see if the protocol matches. + # Don't count the repository type as part of the protocol: in + # cases such as "git+ssh", only use "ssh". (I.e., Only verify against + # the last scheme.) + origin_protocol = origin_protocol.rsplit("+", 1)[-1] + + # Determine if our origin is a secure origin by looking through our + # hardcoded list of secure origins, as well as any additional ones + # configured on this PackageFinder instance. + for secure_origin in self.iter_secure_origins(): + secure_protocol, secure_host, secure_port = secure_origin + if origin_protocol != secure_protocol and secure_protocol != "*": + continue + + try: + addr = ipaddress.ip_address(origin_host or "") + network = ipaddress.ip_network(secure_host) + except ValueError: + # We don't have both a valid address or a valid network, so + # we'll check this origin against hostnames. + if ( + origin_host + and origin_host.lower() != secure_host.lower() + and secure_host != "*" + ): + continue + else: + # We have a valid address and network, so see if the address + # is contained within the network. + if addr not in network: + continue + + # Check to see if the port matches. + if ( + origin_port != secure_port + and secure_port != "*" + and secure_port is not None + ): + continue + + # If we've gotten here, then this origin matches the current + # secure origin and we should return True + return True + + # If we've gotten to this point, then the origin isn't secure and we + # will not accept it as a valid location to search. We will however + # log a warning that we are ignoring it. + logger.warning( + "The repository located at %s is not a trusted or secure host and " + "is being ignored. If this repository is available via HTTPS we " + "recommend you use HTTPS instead, otherwise you may silence " + "this warning and allow it anyway with '--trusted-host %s'.", + origin_host, + origin_host, + ) + + return False + + def request(self, method: str, url: str, *args: Any, **kwargs: Any) -> Response: + # Allow setting a default timeout on a session + kwargs.setdefault("timeout", self.timeout) + # Allow setting a default proxies on a session + kwargs.setdefault("proxies", self.proxies) + + # Dispatch the actual request + return super().request(method, url, *args, **kwargs) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..74d3111cff0dc00b33ca15d1aae5c9d73d12dfed --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/utils.py @@ -0,0 +1,98 @@ +from collections.abc import Generator + +from pip._vendor.requests.models import Response + +from pip._internal.exceptions import NetworkConnectionError + +# The following comments and HTTP headers were originally added by +# Donald Stufft in git commit 22c562429a61bb77172039e480873fb239dd8c03. +# +# We use Accept-Encoding: identity here because requests defaults to +# accepting compressed responses. This breaks in a variety of ways +# depending on how the server is configured. +# - Some servers will notice that the file isn't a compressible file +# and will leave the file alone and with an empty Content-Encoding +# - Some servers will notice that the file is already compressed and +# will leave the file alone, adding a Content-Encoding: gzip header +# - Some servers won't notice anything at all and will take a file +# that's already been compressed and compress it again, and set +# the Content-Encoding: gzip header +# By setting this to request only the identity encoding we're hoping +# to eliminate the third case. Hopefully there does not exist a server +# which when given a file will notice it is already compressed and that +# you're not asking for a compressed file and will then decompress it +# before sending because if that's the case I don't think it'll ever be +# possible to make this work. +HEADERS: dict[str, str] = {"Accept-Encoding": "identity"} + +DOWNLOAD_CHUNK_SIZE = 256 * 1024 + + +def raise_for_status(resp: Response) -> None: + http_error_msg = "" + if isinstance(resp.reason, bytes): + # We attempt to decode utf-8 first because some servers + # choose to localize their reason strings. If the string + # isn't utf-8, we fall back to iso-8859-1 for all other + # encodings. + try: + reason = resp.reason.decode("utf-8") + except UnicodeDecodeError: + reason = resp.reason.decode("iso-8859-1") + else: + reason = resp.reason + + if 400 <= resp.status_code < 500: + http_error_msg = ( + f"{resp.status_code} Client Error: {reason} for url: {resp.url}" + ) + + elif 500 <= resp.status_code < 600: + http_error_msg = ( + f"{resp.status_code} Server Error: {reason} for url: {resp.url}" + ) + + if http_error_msg: + raise NetworkConnectionError(http_error_msg, response=resp) + + +def response_chunks( + response: Response, chunk_size: int = DOWNLOAD_CHUNK_SIZE +) -> Generator[bytes, None, None]: + """Given a requests Response, provide the data chunks.""" + try: + # Special case for urllib3. + for chunk in response.raw.stream( + chunk_size, + # We use decode_content=False here because we don't + # want urllib3 to mess with the raw bytes we get + # from the server. If we decompress inside of + # urllib3 then we cannot verify the checksum + # because the checksum will be of the compressed + # file. This breakage will only occur if the + # server adds a Content-Encoding header, which + # depends on how the server was configured: + # - Some servers will notice that the file isn't a + # compressible file and will leave the file alone + # and with an empty Content-Encoding + # - Some servers will notice that the file is + # already compressed and will leave the file + # alone and will add a Content-Encoding: gzip + # header + # - Some servers won't notice anything at all and + # will take a file that's already been compressed + # and compress it again and set the + # Content-Encoding: gzip header + # + # By setting this not to decode automatically we + # hope to eliminate problems with the second case. + decode_content=False, + ): + yield chunk + except AttributeError: + # Standard file-like object. + while True: + chunk = response.raw.read(chunk_size) + if not chunk: + break + yield chunk diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/xmlrpc.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/xmlrpc.py new file mode 100644 index 0000000000000000000000000000000000000000..f4bddb48a1d46e60628c655edb0b7412dd19c639 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/network/xmlrpc.py @@ -0,0 +1,61 @@ +"""xmlrpclib.Transport implementation""" + +import logging +import urllib.parse +import xmlrpc.client +from typing import TYPE_CHECKING + +from pip._internal.exceptions import NetworkConnectionError +from pip._internal.network.session import PipSession +from pip._internal.network.utils import raise_for_status + +if TYPE_CHECKING: + from xmlrpc.client import _HostType, _Marshallable + + from _typeshed import SizedBuffer + +logger = logging.getLogger(__name__) + + +class PipXmlrpcTransport(xmlrpc.client.Transport): + """Provide a `xmlrpclib.Transport` implementation via a `PipSession` + object. + """ + + def __init__( + self, index_url: str, session: PipSession, use_datetime: bool = False + ) -> None: + super().__init__(use_datetime) + index_parts = urllib.parse.urlparse(index_url) + self._scheme = index_parts.scheme + self._session = session + + def request( + self, + host: "_HostType", + handler: str, + request_body: "SizedBuffer", + verbose: bool = False, + ) -> tuple["_Marshallable", ...]: + assert isinstance(host, str) + parts = (self._scheme, host, handler, None, None, None) + url = urllib.parse.urlunparse(parts) + try: + headers = {"Content-Type": "text/xml"} + response = self._session.post( + url, + data=request_body, + headers=headers, + stream=True, + ) + raise_for_status(response) + self.verbose = verbose + return self.parse_response(response.raw) + except NetworkConnectionError as exc: + assert exc.response + logger.critical( + "HTTP error %s while getting %s", + exc.response.status_code, + url, + ) + raise diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..14736893202282435c3bd8e2f8d5b8e22a685184 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9af8e214fa2219d0bc2dcde1be012fc05f36af68 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..52a4b2265cb72731fee399d35403b256d5a9296a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..51e0d8f7ea9def73c0a2ea114ba1d8c2c6960afa Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0cca37cdf2e014024be0c4aa1f6765cbd4247443 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..04aa2011c85e6f2b5a08f438e677bafac7328c56 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bffb094e8152323aeb2baeaf0f51f2d5152ff077 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3071865a62680401d1e0f54d957425a52bf0d4b8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e1cdda529c39ebfa52d7b01b8dbbf9200e07d36e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4da8561bc8679fb10b3495ca8e4a4c20754f82d7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cca0e0bdfe60b3cecea2af2fba7b47a8dd6e5ef7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d1c1da5a99b76a1654f71b2e8aa89754b6943715 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/build_tracker.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/build_tracker.py new file mode 100644 index 0000000000000000000000000000000000000000..cbb4e4f0928f3688402a3c5d2c4ba5da2bbfbbc2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/build_tracker.py @@ -0,0 +1,140 @@ +from __future__ import annotations + +import contextlib +import hashlib +import logging +import os +from collections.abc import Generator +from types import TracebackType + +from pip._internal.req.req_install import InstallRequirement +from pip._internal.utils.temp_dir import TempDirectory + +logger = logging.getLogger(__name__) + + +@contextlib.contextmanager +def update_env_context_manager(**changes: str) -> Generator[None, None, None]: + target = os.environ + + # Save values from the target and change them. + non_existent_marker = object() + saved_values: dict[str, object | str] = {} + for name, new_value in changes.items(): + try: + saved_values[name] = target[name] + except KeyError: + saved_values[name] = non_existent_marker + target[name] = new_value + + try: + yield + finally: + # Restore original values in the target. + for name, original_value in saved_values.items(): + if original_value is non_existent_marker: + del target[name] + else: + assert isinstance(original_value, str) # for mypy + target[name] = original_value + + +@contextlib.contextmanager +def get_build_tracker() -> Generator[BuildTracker, None, None]: + root = os.environ.get("PIP_BUILD_TRACKER") + with contextlib.ExitStack() as ctx: + if root is None: + root = ctx.enter_context(TempDirectory(kind="build-tracker")).path + ctx.enter_context(update_env_context_manager(PIP_BUILD_TRACKER=root)) + logger.debug("Initialized build tracking at %s", root) + + with BuildTracker(root) as tracker: + yield tracker + + +class TrackerId(str): + """Uniquely identifying string provided to the build tracker.""" + + +class BuildTracker: + """Ensure that an sdist cannot request itself as a setup requirement. + + When an sdist is prepared, it identifies its setup requirements in the + context of ``BuildTracker.track()``. If a requirement shows up recursively, this + raises an exception. + + This stops fork bombs embedded in malicious packages.""" + + def __init__(self, root: str) -> None: + self._root = root + self._entries: dict[TrackerId, InstallRequirement] = {} + logger.debug("Created build tracker: %s", self._root) + + def __enter__(self) -> BuildTracker: + logger.debug("Entered build tracker: %s", self._root) + return self + + def __exit__( + self, + exc_type: type[BaseException] | None, + exc_val: BaseException | None, + exc_tb: TracebackType | None, + ) -> None: + self.cleanup() + + def _entry_path(self, key: TrackerId) -> str: + hashed = hashlib.sha224(key.encode()).hexdigest() + return os.path.join(self._root, hashed) + + def add(self, req: InstallRequirement, key: TrackerId) -> None: + """Add an InstallRequirement to build tracking.""" + + # Get the file to write information about this requirement. + entry_path = self._entry_path(key) + + # Try reading from the file. If it exists and can be read from, a build + # is already in progress, so a LookupError is raised. + try: + with open(entry_path) as fp: + contents = fp.read() + except FileNotFoundError: + pass + else: + message = f"{req.link} is already being built: {contents}" + raise LookupError(message) + + # If we're here, req should really not be building already. + assert key not in self._entries + + # Start tracking this requirement. + with open(entry_path, "w", encoding="utf-8") as fp: + fp.write(str(req)) + self._entries[key] = req + + logger.debug("Added %s to build tracker %r", req, self._root) + + def remove(self, req: InstallRequirement, key: TrackerId) -> None: + """Remove an InstallRequirement from build tracking.""" + + # Delete the created file and the corresponding entry. + os.unlink(self._entry_path(key)) + del self._entries[key] + + logger.debug("Removed %s from build tracker %r", req, self._root) + + def cleanup(self) -> None: + for key, req in list(self._entries.items()): + self.remove(req, key) + + logger.debug("Removed build tracker: %r", self._root) + + @contextlib.contextmanager + def track(self, req: InstallRequirement, key: str) -> Generator[None, None, None]: + """Ensure that `key` cannot install itself as a setup requirement. + + :raises LookupError: If `key` was already provided in a parent invocation of + the context introduced by this method.""" + tracker_id = TrackerId(key) + self.add(req, tracker_id) + yield + self.remove(req, tracker_id) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata.py new file mode 100644 index 0000000000000000000000000000000000000000..a546809ecd5aaebe791fffef6f0bb114fcec49c6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata.py @@ -0,0 +1,38 @@ +"""Metadata generation logic for source distributions.""" + +import os + +from pip._vendor.pyproject_hooks import BuildBackendHookCaller + +from pip._internal.build_env import BuildEnvironment +from pip._internal.exceptions import ( + InstallationSubprocessError, + MetadataGenerationFailed, +) +from pip._internal.utils.subprocess import runner_with_spinner_message +from pip._internal.utils.temp_dir import TempDirectory + + +def generate_metadata( + build_env: BuildEnvironment, backend: BuildBackendHookCaller, details: str +) -> str: + """Generate metadata using mechanisms described in PEP 517. + + Returns the generated metadata directory. + """ + metadata_tmpdir = TempDirectory(kind="modern-metadata", globally_managed=True) + + metadata_dir = metadata_tmpdir.path + + with build_env: + # Note that BuildBackendHookCaller implements a fallback for + # prepare_metadata_for_build_wheel, so we don't have to + # consider the possibility that this hook doesn't exist. + runner = runner_with_spinner_message("Preparing metadata (pyproject.toml)") + with backend.subprocess_runner(runner): + try: + distinfo_dir = backend.prepare_metadata_for_build_wheel(metadata_dir) + except InstallationSubprocessError as error: + raise MetadataGenerationFailed(package_details=details) from error + + return os.path.join(metadata_dir, distinfo_dir) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py new file mode 100644 index 0000000000000000000000000000000000000000..27ecd7d3d80676330d197008a5055837cfbc4e24 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py @@ -0,0 +1,41 @@ +"""Metadata generation logic for source distributions.""" + +import os + +from pip._vendor.pyproject_hooks import BuildBackendHookCaller + +from pip._internal.build_env import BuildEnvironment +from pip._internal.exceptions import ( + InstallationSubprocessError, + MetadataGenerationFailed, +) +from pip._internal.utils.subprocess import runner_with_spinner_message +from pip._internal.utils.temp_dir import TempDirectory + + +def generate_editable_metadata( + build_env: BuildEnvironment, backend: BuildBackendHookCaller, details: str +) -> str: + """Generate metadata using mechanisms described in PEP 660. + + Returns the generated metadata directory. + """ + metadata_tmpdir = TempDirectory(kind="modern-metadata", globally_managed=True) + + metadata_dir = metadata_tmpdir.path + + with build_env: + # Note that BuildBackendHookCaller implements a fallback for + # prepare_metadata_for_build_wheel/editable, so we don't have to + # consider the possibility that this hook doesn't exist. + runner = runner_with_spinner_message( + "Preparing editable metadata (pyproject.toml)" + ) + with backend.subprocess_runner(runner): + try: + distinfo_dir = backend.prepare_metadata_for_build_editable(metadata_dir) + except InstallationSubprocessError as error: + raise MetadataGenerationFailed(package_details=details) from error + + assert distinfo_dir is not None + return os.path.join(metadata_dir, distinfo_dir) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_legacy.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_legacy.py new file mode 100644 index 0000000000000000000000000000000000000000..e385b5ddf765cb8562c1f26d1fd6b97618c1516c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_legacy.py @@ -0,0 +1,73 @@ +"""Metadata generation logic for legacy source distributions.""" + +import logging +import os + +from pip._internal.build_env import BuildEnvironment +from pip._internal.cli.spinners import open_spinner +from pip._internal.exceptions import ( + InstallationError, + InstallationSubprocessError, + MetadataGenerationFailed, +) +from pip._internal.utils.setuptools_build import make_setuptools_egg_info_args +from pip._internal.utils.subprocess import call_subprocess +from pip._internal.utils.temp_dir import TempDirectory + +logger = logging.getLogger(__name__) + + +def _find_egg_info(directory: str) -> str: + """Find an .egg-info subdirectory in `directory`.""" + filenames = [f for f in os.listdir(directory) if f.endswith(".egg-info")] + + if not filenames: + raise InstallationError(f"No .egg-info directory found in {directory}") + + if len(filenames) > 1: + raise InstallationError( + f"More than one .egg-info directory found in {directory}" + ) + + return os.path.join(directory, filenames[0]) + + +def generate_metadata( + build_env: BuildEnvironment, + setup_py_path: str, + source_dir: str, + isolated: bool, + details: str, +) -> str: + """Generate metadata using setup.py-based defacto mechanisms. + + Returns the generated metadata directory. + """ + logger.debug( + "Running setup.py (path:%s) egg_info for package %s", + setup_py_path, + details, + ) + + egg_info_dir = TempDirectory(kind="pip-egg-info", globally_managed=True).path + + args = make_setuptools_egg_info_args( + setup_py_path, + egg_info_dir=egg_info_dir, + no_user_config=isolated, + ) + + with build_env: + with open_spinner("Preparing metadata (setup.py)") as spinner: + try: + call_subprocess( + args, + cwd=source_dir, + command_desc="python setup.py egg_info", + spinner=spinner, + ) + except InstallationSubprocessError as error: + raise MetadataGenerationFailed(package_details=details) from error + + # Return the .egg-info directory. + return _find_egg_info(egg_info_dir) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel.py new file mode 100644 index 0000000000000000000000000000000000000000..5e404c6102c7a37d5f6991b08457e58c6705ffa0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel.py @@ -0,0 +1,38 @@ +from __future__ import annotations + +import logging +import os + +from pip._vendor.pyproject_hooks import BuildBackendHookCaller + +from pip._internal.utils.subprocess import runner_with_spinner_message + +logger = logging.getLogger(__name__) + + +def build_wheel_pep517( + name: str, + backend: BuildBackendHookCaller, + metadata_directory: str, + tempd: str, +) -> str | None: + """Build one InstallRequirement using the PEP 517 build process. + + Returns path to wheel if successfully built. Otherwise, returns None. + """ + assert metadata_directory is not None + try: + logger.debug("Destination directory: %s", tempd) + + runner = runner_with_spinner_message( + f"Building wheel for {name} (pyproject.toml)" + ) + with backend.subprocess_runner(runner): + wheel_name = backend.build_wheel( + tempd, + metadata_directory=metadata_directory, + ) + except Exception: + logger.error("Failed building wheel for %s", name) + return None + return os.path.join(tempd, wheel_name) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_editable.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_editable.py new file mode 100644 index 0000000000000000000000000000000000000000..521bd556c4a27bd2b731e7a8dcd71b20c73451c4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_editable.py @@ -0,0 +1,47 @@ +from __future__ import annotations + +import logging +import os + +from pip._vendor.pyproject_hooks import BuildBackendHookCaller, HookMissing + +from pip._internal.utils.subprocess import runner_with_spinner_message + +logger = logging.getLogger(__name__) + + +def build_wheel_editable( + name: str, + backend: BuildBackendHookCaller, + metadata_directory: str, + tempd: str, +) -> str | None: + """Build one InstallRequirement using the PEP 660 build process. + + Returns path to wheel if successfully built. Otherwise, returns None. + """ + assert metadata_directory is not None + try: + logger.debug("Destination directory: %s", tempd) + + runner = runner_with_spinner_message( + f"Building editable for {name} (pyproject.toml)" + ) + with backend.subprocess_runner(runner): + try: + wheel_name = backend.build_editable( + tempd, + metadata_directory=metadata_directory, + ) + except HookMissing as e: + logger.error( + "Cannot build editable %s because the build " + "backend does not have the %s hook", + name, + e, + ) + return None + except Exception: + logger.error("Failed building editable for %s", name) + return None + return os.path.join(tempd, wheel_name) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_legacy.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_legacy.py new file mode 100644 index 0000000000000000000000000000000000000000..02ef8e57075949d2a3a717213b0d11b79f221124 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_legacy.py @@ -0,0 +1,119 @@ +from __future__ import annotations + +import logging +import os.path + +from pip._internal.cli.spinners import open_spinner +from pip._internal.utils.deprecation import deprecated +from pip._internal.utils.setuptools_build import make_setuptools_bdist_wheel_args +from pip._internal.utils.subprocess import call_subprocess, format_command_args + +logger = logging.getLogger(__name__) + + +def format_command_result( + command_args: list[str], + command_output: str, +) -> str: + """Format command information for logging.""" + command_desc = format_command_args(command_args) + text = f"Command arguments: {command_desc}\n" + + if not command_output: + text += "Command output: None" + elif logger.getEffectiveLevel() > logging.DEBUG: + text += "Command output: [use --verbose to show]" + else: + if not command_output.endswith("\n"): + command_output += "\n" + text += f"Command output:\n{command_output}" + + return text + + +def get_legacy_build_wheel_path( + names: list[str], + temp_dir: str, + name: str, + command_args: list[str], + command_output: str, +) -> str | None: + """Return the path to the wheel in the temporary build directory.""" + # Sort for determinism. + names = sorted(names) + if not names: + msg = f"Legacy build of wheel for {name!r} created no files.\n" + msg += format_command_result(command_args, command_output) + logger.warning(msg) + return None + + if len(names) > 1: + msg = ( + f"Legacy build of wheel for {name!r} created more than one file.\n" + f"Filenames (choosing first): {names}\n" + ) + msg += format_command_result(command_args, command_output) + logger.warning(msg) + + return os.path.join(temp_dir, names[0]) + + +def build_wheel_legacy( + name: str, + setup_py_path: str, + source_dir: str, + global_options: list[str], + build_options: list[str], + tempd: str, +) -> str | None: + """Build one unpacked package using the "legacy" build process. + + Returns path to wheel if successfully built. Otherwise, returns None. + """ + deprecated( + reason=( + f"Building {name!r} using the legacy setup.py bdist_wheel mechanism, " + "which will be removed in a future version." + ), + replacement=( + "to use the standardized build interface by " + "setting the `--use-pep517` option, " + "(possibly combined with `--no-build-isolation`), " + f"or adding a `pyproject.toml` file to the source tree of {name!r}" + ), + gone_in="25.3", + issue=6334, + ) + + wheel_args = make_setuptools_bdist_wheel_args( + setup_py_path, + global_options=global_options, + build_options=build_options, + destination_dir=tempd, + ) + + spin_message = f"Building wheel for {name} (setup.py)" + with open_spinner(spin_message) as spinner: + logger.debug("Destination directory: %s", tempd) + + try: + output = call_subprocess( + wheel_args, + command_desc="python setup.py bdist_wheel", + cwd=source_dir, + spinner=spinner, + ) + except Exception: + spinner.finish("error") + logger.error("Failed building wheel for %s", name) + return None + + names = os.listdir(tempd) + wheel_path = get_legacy_build_wheel_path( + names=names, + temp_dir=tempd, + name=name, + command_args=wheel_args, + command_output=output, + ) + return wheel_path diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/check.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/check.py new file mode 100644 index 0000000000000000000000000000000000000000..2d71fa5fff5426aa9b6f51ebe2ec23c0b616c549 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/check.py @@ -0,0 +1,175 @@ +"""Validation of dependencies of packages""" + +from __future__ import annotations + +import logging +from collections.abc import Generator, Iterable +from contextlib import suppress +from email.parser import Parser +from functools import reduce +from typing import ( + Callable, + NamedTuple, +) + +from pip._vendor.packaging.requirements import Requirement +from pip._vendor.packaging.tags import Tag, parse_tag +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name +from pip._vendor.packaging.version import Version + +from pip._internal.distributions import make_distribution_for_install_requirement +from pip._internal.metadata import get_default_environment +from pip._internal.metadata.base import BaseDistribution +from pip._internal.req.req_install import InstallRequirement + +logger = logging.getLogger(__name__) + + +class PackageDetails(NamedTuple): + version: Version + dependencies: list[Requirement] + + +# Shorthands +PackageSet = dict[NormalizedName, PackageDetails] +Missing = tuple[NormalizedName, Requirement] +Conflicting = tuple[NormalizedName, Version, Requirement] + +MissingDict = dict[NormalizedName, list[Missing]] +ConflictingDict = dict[NormalizedName, list[Conflicting]] +CheckResult = tuple[MissingDict, ConflictingDict] +ConflictDetails = tuple[PackageSet, CheckResult] + + +def create_package_set_from_installed() -> tuple[PackageSet, bool]: + """Converts a list of distributions into a PackageSet.""" + package_set = {} + problems = False + env = get_default_environment() + for dist in env.iter_installed_distributions(local_only=False, skip=()): + name = dist.canonical_name + try: + dependencies = list(dist.iter_dependencies()) + package_set[name] = PackageDetails(dist.version, dependencies) + except (OSError, ValueError) as e: + # Don't crash on unreadable or broken metadata. + logger.warning("Error parsing dependencies of %s: %s", name, e) + problems = True + return package_set, problems + + +def check_package_set( + package_set: PackageSet, should_ignore: Callable[[str], bool] | None = None +) -> CheckResult: + """Check if a package set is consistent + + If should_ignore is passed, it should be a callable that takes a + package name and returns a boolean. + """ + + missing = {} + conflicting = {} + + for package_name, package_detail in package_set.items(): + # Info about dependencies of package_name + missing_deps: set[Missing] = set() + conflicting_deps: set[Conflicting] = set() + + if should_ignore and should_ignore(package_name): + continue + + for req in package_detail.dependencies: + name = canonicalize_name(req.name) + + # Check if it's missing + if name not in package_set: + missed = True + if req.marker is not None: + missed = req.marker.evaluate({"extra": ""}) + if missed: + missing_deps.add((name, req)) + continue + + # Check if there's a conflict + version = package_set[name].version + if not req.specifier.contains(version, prereleases=True): + conflicting_deps.add((name, version, req)) + + if missing_deps: + missing[package_name] = sorted(missing_deps, key=str) + if conflicting_deps: + conflicting[package_name] = sorted(conflicting_deps, key=str) + + return missing, conflicting + + +def check_install_conflicts(to_install: list[InstallRequirement]) -> ConflictDetails: + """For checking if the dependency graph would be consistent after \ + installing given requirements + """ + # Start from the current state + package_set, _ = create_package_set_from_installed() + # Install packages + would_be_installed = _simulate_installation_of(to_install, package_set) + + # Only warn about directly-dependent packages; create a whitelist of them + whitelist = _create_whitelist(would_be_installed, package_set) + + return ( + package_set, + check_package_set( + package_set, should_ignore=lambda name: name not in whitelist + ), + ) + + +def check_unsupported( + packages: Iterable[BaseDistribution], + supported_tags: Iterable[Tag], +) -> Generator[BaseDistribution, None, None]: + for p in packages: + with suppress(FileNotFoundError): + wheel_file = p.read_text("WHEEL") + wheel_tags: frozenset[Tag] = reduce( + frozenset.union, + map(parse_tag, Parser().parsestr(wheel_file).get_all("Tag", [])), + frozenset(), + ) + if wheel_tags.isdisjoint(supported_tags): + yield p + + +def _simulate_installation_of( + to_install: list[InstallRequirement], package_set: PackageSet +) -> set[NormalizedName]: + """Computes the version of packages after installing to_install.""" + # Keep track of packages that were installed + installed = set() + + # Modify it as installing requirement_set would (assuming no errors) + for inst_req in to_install: + abstract_dist = make_distribution_for_install_requirement(inst_req) + dist = abstract_dist.get_metadata_distribution() + name = dist.canonical_name + package_set[name] = PackageDetails(dist.version, list(dist.iter_dependencies())) + + installed.add(name) + + return installed + + +def _create_whitelist( + would_be_installed: set[NormalizedName], package_set: PackageSet +) -> set[NormalizedName]: + packages_affected = set(would_be_installed) + + for package_name in package_set: + if package_name in packages_affected: + continue + + for req in package_set[package_name].dependencies: + if canonicalize_name(req.name) in packages_affected: + packages_affected.add(package_name) + break + + return packages_affected diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/freeze.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/freeze.py new file mode 100644 index 0000000000000000000000000000000000000000..486a833212f2cf220b6c9e0a918c05f913509750 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/freeze.py @@ -0,0 +1,259 @@ +from __future__ import annotations + +import collections +import logging +import os +from collections.abc import Container, Generator, Iterable +from dataclasses import dataclass, field +from typing import NamedTuple + +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name +from pip._vendor.packaging.version import InvalidVersion + +from pip._internal.exceptions import BadCommand, InstallationError +from pip._internal.metadata import BaseDistribution, get_environment +from pip._internal.req.constructors import ( + install_req_from_editable, + install_req_from_line, +) +from pip._internal.req.req_file import COMMENT_RE +from pip._internal.utils.direct_url_helpers import direct_url_as_pep440_direct_reference + +logger = logging.getLogger(__name__) + + +class _EditableInfo(NamedTuple): + requirement: str + comments: list[str] + + +def freeze( + requirement: list[str] | None = None, + local_only: bool = False, + user_only: bool = False, + paths: list[str] | None = None, + isolated: bool = False, + exclude_editable: bool = False, + skip: Container[str] = (), +) -> Generator[str, None, None]: + installations: dict[str, FrozenRequirement] = {} + + dists = get_environment(paths).iter_installed_distributions( + local_only=local_only, + skip=(), + user_only=user_only, + ) + for dist in dists: + req = FrozenRequirement.from_dist(dist) + if exclude_editable and req.editable: + continue + installations[req.canonical_name] = req + + if requirement: + # the options that don't get turned into an InstallRequirement + # should only be emitted once, even if the same option is in multiple + # requirements files, so we need to keep track of what has been emitted + # so that we don't emit it again if it's seen again + emitted_options: set[str] = set() + # keep track of which files a requirement is in so that we can + # give an accurate warning if a requirement appears multiple times. + req_files: dict[str, list[str]] = collections.defaultdict(list) + for req_file_path in requirement: + with open(req_file_path) as req_file: + for line in req_file: + if ( + not line.strip() + or line.strip().startswith("#") + or line.startswith( + ( + "-r", + "--requirement", + "-f", + "--find-links", + "-i", + "--index-url", + "--pre", + "--trusted-host", + "--process-dependency-links", + "--extra-index-url", + "--use-feature", + ) + ) + ): + line = line.rstrip() + if line not in emitted_options: + emitted_options.add(line) + yield line + continue + + if line.startswith(("-e", "--editable")): + if line.startswith("-e"): + line = line[2:].strip() + else: + line = line[len("--editable") :].strip().lstrip("=") + line_req = install_req_from_editable( + line, + isolated=isolated, + ) + else: + line_req = install_req_from_line( + COMMENT_RE.sub("", line).strip(), + isolated=isolated, + ) + + if not line_req.name: + logger.info( + "Skipping line in requirement file [%s] because " + "it's not clear what it would install: %s", + req_file_path, + line.strip(), + ) + logger.info( + " (add #egg=PackageName to the URL to avoid" + " this warning)" + ) + else: + line_req_canonical_name = canonicalize_name(line_req.name) + if line_req_canonical_name not in installations: + # either it's not installed, or it is installed + # but has been processed already + if not req_files[line_req.name]: + logger.warning( + "Requirement file [%s] contains %s, but " + "package %r is not installed", + req_file_path, + COMMENT_RE.sub("", line).strip(), + line_req.name, + ) + else: + req_files[line_req.name].append(req_file_path) + else: + yield str(installations[line_req_canonical_name]).rstrip() + del installations[line_req_canonical_name] + req_files[line_req.name].append(req_file_path) + + # Warn about requirements that were included multiple times (in a + # single requirements file or in different requirements files). + for name, files in req_files.items(): + if len(files) > 1: + logger.warning( + "Requirement %s included multiple times [%s]", + name, + ", ".join(sorted(set(files))), + ) + + yield ("## The following requirements were added by pip freeze:") + for installation in sorted(installations.values(), key=lambda x: x.name.lower()): + if installation.canonical_name not in skip: + yield str(installation).rstrip() + + +def _format_as_name_version(dist: BaseDistribution) -> str: + try: + dist_version = dist.version + except InvalidVersion: + # legacy version + return f"{dist.raw_name}==={dist.raw_version}" + else: + return f"{dist.raw_name}=={dist_version}" + + +def _get_editable_info(dist: BaseDistribution) -> _EditableInfo: + """ + Compute and return values (req, comments) for use in + FrozenRequirement.from_dist(). + """ + editable_project_location = dist.editable_project_location + assert editable_project_location + location = os.path.normcase(os.path.abspath(editable_project_location)) + + from pip._internal.vcs import RemoteNotFoundError, RemoteNotValidError, vcs + + vcs_backend = vcs.get_backend_for_dir(location) + + if vcs_backend is None: + display = _format_as_name_version(dist) + logger.debug( + 'No VCS found for editable requirement "%s" in: %r', + display, + location, + ) + return _EditableInfo( + requirement=location, + comments=[f"# Editable install with no version control ({display})"], + ) + + vcs_name = type(vcs_backend).__name__ + + try: + req = vcs_backend.get_src_requirement(location, dist.raw_name) + except RemoteNotFoundError: + display = _format_as_name_version(dist) + return _EditableInfo( + requirement=location, + comments=[f"# Editable {vcs_name} install with no remote ({display})"], + ) + except RemoteNotValidError as ex: + display = _format_as_name_version(dist) + return _EditableInfo( + requirement=location, + comments=[ + f"# Editable {vcs_name} install ({display}) with either a deleted " + f"local remote or invalid URI:", + f"# '{ex.url}'", + ], + ) + except BadCommand: + logger.warning( + "cannot determine version of editable source in %s " + "(%s command not found in path)", + location, + vcs_backend.name, + ) + return _EditableInfo(requirement=location, comments=[]) + except InstallationError as exc: + logger.warning("Error when trying to get requirement for VCS system %s", exc) + else: + return _EditableInfo(requirement=req, comments=[]) + + logger.warning("Could not determine repository location of %s", location) + + return _EditableInfo( + requirement=location, + comments=["## !! Could not determine repository location"], + ) + + +@dataclass(frozen=True) +class FrozenRequirement: + name: str + req: str + editable: bool + comments: Iterable[str] = field(default_factory=tuple) + + @property + def canonical_name(self) -> NormalizedName: + return canonicalize_name(self.name) + + @classmethod + def from_dist(cls, dist: BaseDistribution) -> FrozenRequirement: + editable = dist.editable + if editable: + req, comments = _get_editable_info(dist) + else: + comments = [] + direct_url = dist.direct_url + if direct_url: + # if PEP 610 metadata is present, use it + req = direct_url_as_pep440_direct_reference(direct_url, dist.raw_name) + else: + # name==version requirement + req = _format_as_name_version(dist) + + return cls(dist.raw_name, req, editable, comments=comments) + + def __str__(self) -> str: + req = self.req + if self.editable: + req = f"-e {req}" + return "\n".join(list(self.comments) + [str(req)]) + "\n" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..2645a4acad087929da46b104ef09ce64cf4ca8d5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__init__.py @@ -0,0 +1 @@ +"""For modules related to installing packages.""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..687ac7f115afb9ee5946b23d11cf9b785eed1e44 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5659cccd3aa23bfbf16f3e384d0c0d1906be76be Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2777c908e68c46694f9e58031958b81e773c41f9 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/editable_legacy.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/editable_legacy.py new file mode 100644 index 0000000000000000000000000000000000000000..0603d3d88199695989802632d0a543b06285af3c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/editable_legacy.py @@ -0,0 +1,48 @@ +"""Legacy editable installation process, i.e. `setup.py develop`.""" + +from __future__ import annotations + +import logging +from collections.abc import Sequence + +from pip._internal.build_env import BuildEnvironment +from pip._internal.utils.logging import indent_log +from pip._internal.utils.setuptools_build import make_setuptools_develop_args +from pip._internal.utils.subprocess import call_subprocess + +logger = logging.getLogger(__name__) + + +def install_editable( + *, + global_options: Sequence[str], + prefix: str | None, + home: str | None, + use_user_site: bool, + name: str, + setup_py_path: str, + isolated: bool, + build_env: BuildEnvironment, + unpacked_source_directory: str, +) -> None: + """Install a package in editable mode. Most arguments are pass-through + to setuptools. + """ + logger.info("Running setup.py develop for %s", name) + + args = make_setuptools_develop_args( + setup_py_path, + global_options=global_options, + no_user_config=isolated, + prefix=prefix, + home=home, + use_user_site=use_user_site, + ) + + with indent_log(): + with build_env: + call_subprocess( + args, + command_desc="python setup.py develop", + cwd=unpacked_source_directory, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py new file mode 100644 index 0000000000000000000000000000000000000000..2724f150f7b0afe275723dc7e31f0d075553693c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py @@ -0,0 +1,746 @@ +"""Support for installing and building the "wheel" binary package format.""" + +from __future__ import annotations + +import collections +import compileall +import contextlib +import csv +import importlib +import logging +import os.path +import re +import shutil +import sys +import textwrap +import warnings +from base64 import urlsafe_b64encode +from collections.abc import Generator, Iterable, Iterator, Sequence +from email.message import Message +from itertools import chain, filterfalse, starmap +from typing import ( + IO, + Any, + BinaryIO, + Callable, + NewType, + Protocol, + Union, + cast, +) +from zipfile import ZipFile, ZipInfo + +from pip._vendor.distlib.scripts import ScriptMaker +from pip._vendor.distlib.util import get_export_entry +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.exceptions import InstallationError +from pip._internal.locations import get_major_minor_version +from pip._internal.metadata import ( + BaseDistribution, + FilesystemWheel, + get_wheel_distribution, +) +from pip._internal.models.direct_url import DIRECT_URL_METADATA_NAME, DirectUrl +from pip._internal.models.scheme import SCHEME_KEYS, Scheme +from pip._internal.utils.filesystem import adjacent_tmp_file, replace +from pip._internal.utils.misc import StreamWrapper, ensure_dir, hash_file, partition +from pip._internal.utils.unpacking import ( + current_umask, + is_within_directory, + set_extracted_file_to_default_mode_plus_executable, + zip_item_is_executable, +) +from pip._internal.utils.wheel import parse_wheel + + +class File(Protocol): + src_record_path: RecordPath + dest_path: str + changed: bool + + def save(self) -> None: + pass + + +logger = logging.getLogger(__name__) + +RecordPath = NewType("RecordPath", str) +InstalledCSVRow = tuple[RecordPath, str, Union[int, str]] + + +def rehash(path: str, blocksize: int = 1 << 20) -> tuple[str, str]: + """Return (encoded_digest, length) for path using hashlib.sha256()""" + h, length = hash_file(path, blocksize) + digest = "sha256=" + urlsafe_b64encode(h.digest()).decode("latin1").rstrip("=") + return (digest, str(length)) + + +def csv_io_kwargs(mode: str) -> dict[str, Any]: + """Return keyword arguments to properly open a CSV file + in the given mode. + """ + return {"mode": mode, "newline": "", "encoding": "utf-8"} + + +def fix_script(path: str) -> bool: + """Replace #!python with #!/path/to/python + Return True if file was changed. + """ + # XXX RECORD hashes will need to be updated + assert os.path.isfile(path) + + with open(path, "rb") as script: + firstline = script.readline() + if not firstline.startswith(b"#!python"): + return False + exename = sys.executable.encode(sys.getfilesystemencoding()) + firstline = b"#!" + exename + os.linesep.encode("ascii") + rest = script.read() + with open(path, "wb") as script: + script.write(firstline) + script.write(rest) + return True + + +def wheel_root_is_purelib(metadata: Message) -> bool: + return metadata.get("Root-Is-Purelib", "").lower() == "true" + + +def get_entrypoints(dist: BaseDistribution) -> tuple[dict[str, str], dict[str, str]]: + console_scripts = {} + gui_scripts = {} + for entry_point in dist.iter_entry_points(): + if entry_point.group == "console_scripts": + console_scripts[entry_point.name] = entry_point.value + elif entry_point.group == "gui_scripts": + gui_scripts[entry_point.name] = entry_point.value + return console_scripts, gui_scripts + + +def message_about_scripts_not_on_PATH(scripts: Sequence[str]) -> str | None: + """Determine if any scripts are not on PATH and format a warning. + Returns a warning message if one or more scripts are not on PATH, + otherwise None. + """ + if not scripts: + return None + + # Group scripts by the path they were installed in + grouped_by_dir: dict[str, set[str]] = collections.defaultdict(set) + for destfile in scripts: + parent_dir = os.path.dirname(destfile) + script_name = os.path.basename(destfile) + grouped_by_dir[parent_dir].add(script_name) + + # We don't want to warn for directories that are on PATH. + not_warn_dirs = [ + os.path.normcase(os.path.normpath(i)).rstrip(os.sep) + for i in os.environ.get("PATH", "").split(os.pathsep) + ] + # If an executable sits with sys.executable, we don't warn for it. + # This covers the case of venv invocations without activating the venv. + not_warn_dirs.append( + os.path.normcase(os.path.normpath(os.path.dirname(sys.executable))) + ) + warn_for: dict[str, set[str]] = { + parent_dir: scripts + for parent_dir, scripts in grouped_by_dir.items() + if os.path.normcase(os.path.normpath(parent_dir)) not in not_warn_dirs + } + if not warn_for: + return None + + # Format a message + msg_lines = [] + for parent_dir, dir_scripts in warn_for.items(): + sorted_scripts: list[str] = sorted(dir_scripts) + if len(sorted_scripts) == 1: + start_text = f"script {sorted_scripts[0]} is" + else: + start_text = "scripts {} are".format( + ", ".join(sorted_scripts[:-1]) + " and " + sorted_scripts[-1] + ) + + msg_lines.append( + f"The {start_text} installed in '{parent_dir}' which is not on PATH." + ) + + last_line_fmt = ( + "Consider adding {} to PATH or, if you prefer " + "to suppress this warning, use --no-warn-script-location." + ) + if len(msg_lines) == 1: + msg_lines.append(last_line_fmt.format("this directory")) + else: + msg_lines.append(last_line_fmt.format("these directories")) + + # Add a note if any directory starts with ~ + warn_for_tilde = any( + i[0] == "~" for i in os.environ.get("PATH", "").split(os.pathsep) if i + ) + if warn_for_tilde: + tilde_warning_msg = ( + "NOTE: The current PATH contains path(s) starting with `~`, " + "which may not be expanded by all applications." + ) + msg_lines.append(tilde_warning_msg) + + # Returns the formatted multiline message + return "\n".join(msg_lines) + + +def _normalized_outrows( + outrows: Iterable[InstalledCSVRow], +) -> list[tuple[str, str, str]]: + """Normalize the given rows of a RECORD file. + + Items in each row are converted into str. Rows are then sorted to make + the value more predictable for tests. + + Each row is a 3-tuple (path, hash, size) and corresponds to a record of + a RECORD file (see PEP 376 and PEP 427 for details). For the rows + passed to this function, the size can be an integer as an int or string, + or the empty string. + """ + # Normally, there should only be one row per path, in which case the + # second and third elements don't come into play when sorting. + # However, in cases in the wild where a path might happen to occur twice, + # we don't want the sort operation to trigger an error (but still want + # determinism). Since the third element can be an int or string, we + # coerce each element to a string to avoid a TypeError in this case. + # For additional background, see-- + # https://github.com/pypa/pip/issues/5868 + return sorted( + (record_path, hash_, str(size)) for record_path, hash_, size in outrows + ) + + +def _record_to_fs_path(record_path: RecordPath, lib_dir: str) -> str: + return os.path.join(lib_dir, record_path) + + +def _fs_to_record_path(path: str, lib_dir: str) -> RecordPath: + # On Windows, do not handle relative paths if they belong to different + # logical disks + if os.path.splitdrive(path)[0].lower() == os.path.splitdrive(lib_dir)[0].lower(): + path = os.path.relpath(path, lib_dir) + + path = path.replace(os.path.sep, "/") + return cast("RecordPath", path) + + +def get_csv_rows_for_installed( + old_csv_rows: list[list[str]], + installed: dict[RecordPath, RecordPath], + changed: set[RecordPath], + generated: list[str], + lib_dir: str, +) -> list[InstalledCSVRow]: + """ + :param installed: A map from archive RECORD path to installation RECORD + path. + """ + installed_rows: list[InstalledCSVRow] = [] + for row in old_csv_rows: + if len(row) > 3: + logger.warning("RECORD line has more than three elements: %s", row) + old_record_path = cast("RecordPath", row[0]) + new_record_path = installed.pop(old_record_path, old_record_path) + if new_record_path in changed: + digest, length = rehash(_record_to_fs_path(new_record_path, lib_dir)) + else: + digest = row[1] if len(row) > 1 else "" + length = row[2] if len(row) > 2 else "" + installed_rows.append((new_record_path, digest, length)) + for f in generated: + path = _fs_to_record_path(f, lib_dir) + digest, length = rehash(f) + installed_rows.append((path, digest, length)) + return installed_rows + [ + (installed_record_path, "", "") for installed_record_path in installed.values() + ] + + +def get_console_script_specs(console: dict[str, str]) -> list[str]: + """ + Given the mapping from entrypoint name to callable, return the relevant + console script specs. + """ + # Don't mutate caller's version + console = console.copy() + + scripts_to_generate = [] + + # Special case pip and setuptools to generate versioned wrappers + # + # The issue is that some projects (specifically, pip and setuptools) use + # code in setup.py to create "versioned" entry points - pip2.7 on Python + # 2.7, pip3.3 on Python 3.3, etc. But these entry points are baked into + # the wheel metadata at build time, and so if the wheel is installed with + # a *different* version of Python the entry points will be wrong. The + # correct fix for this is to enhance the metadata to be able to describe + # such versioned entry points. + # Currently, projects using versioned entry points will either have + # incorrect versioned entry points, or they will not be able to distribute + # "universal" wheels (i.e., they will need a wheel per Python version). + # + # Because setuptools and pip are bundled with _ensurepip and virtualenv, + # we need to use universal wheels. As a workaround, we + # override the versioned entry points in the wheel and generate the + # correct ones. + # + # To add the level of hack in this section of code, in order to support + # ensurepip this code will look for an ``ENSUREPIP_OPTIONS`` environment + # variable which will control which version scripts get installed. + # + # ENSUREPIP_OPTIONS=altinstall + # - Only pipX.Y and easy_install-X.Y will be generated and installed + # ENSUREPIP_OPTIONS=install + # - pipX.Y, pipX, easy_install-X.Y will be generated and installed. Note + # that this option is technically if ENSUREPIP_OPTIONS is set and is + # not altinstall + # DEFAULT + # - The default behavior is to install pip, pipX, pipX.Y, easy_install + # and easy_install-X.Y. + pip_script = console.pop("pip", None) + if pip_script: + if "ENSUREPIP_OPTIONS" not in os.environ: + scripts_to_generate.append("pip = " + pip_script) + + if os.environ.get("ENSUREPIP_OPTIONS", "") != "altinstall": + scripts_to_generate.append(f"pip{sys.version_info[0]} = {pip_script}") + + scripts_to_generate.append(f"pip{get_major_minor_version()} = {pip_script}") + # Delete any other versioned pip entry points + pip_ep = [k for k in console if re.match(r"pip(\d+(\.\d+)?)?$", k)] + for k in pip_ep: + del console[k] + easy_install_script = console.pop("easy_install", None) + if easy_install_script: + if "ENSUREPIP_OPTIONS" not in os.environ: + scripts_to_generate.append("easy_install = " + easy_install_script) + + scripts_to_generate.append( + f"easy_install-{get_major_minor_version()} = {easy_install_script}" + ) + # Delete any other versioned easy_install entry points + easy_install_ep = [ + k for k in console if re.match(r"easy_install(-\d+\.\d+)?$", k) + ] + for k in easy_install_ep: + del console[k] + + # Generate the console entry points specified in the wheel + scripts_to_generate.extend(starmap("{} = {}".format, console.items())) + + return scripts_to_generate + + +class ZipBackedFile: + def __init__( + self, src_record_path: RecordPath, dest_path: str, zip_file: ZipFile + ) -> None: + self.src_record_path = src_record_path + self.dest_path = dest_path + self._zip_file = zip_file + self.changed = False + + def _getinfo(self) -> ZipInfo: + return self._zip_file.getinfo(self.src_record_path) + + def save(self) -> None: + # When we open the output file below, any existing file is truncated + # before we start writing the new contents. This is fine in most + # cases, but can cause a segfault if pip has loaded a shared + # object (e.g. from pyopenssl through its vendored urllib3) + # Since the shared object is mmap'd an attempt to call a + # symbol in it will then cause a segfault. Unlinking the file + # allows writing of new contents while allowing the process to + # continue to use the old copy. + if os.path.exists(self.dest_path): + os.unlink(self.dest_path) + + zipinfo = self._getinfo() + + # optimization: the file is created by open(), + # skip the decompression when there is 0 bytes to decompress. + with open(self.dest_path, "wb") as dest: + if zipinfo.file_size > 0: + with self._zip_file.open(zipinfo) as f: + blocksize = min(zipinfo.file_size, 1024 * 1024) + shutil.copyfileobj(f, dest, blocksize) + + if zip_item_is_executable(zipinfo): + set_extracted_file_to_default_mode_plus_executable(self.dest_path) + + +class ScriptFile: + def __init__(self, file: File) -> None: + self._file = file + self.src_record_path = self._file.src_record_path + self.dest_path = self._file.dest_path + self.changed = False + + def save(self) -> None: + self._file.save() + self.changed = fix_script(self.dest_path) + + +class MissingCallableSuffix(InstallationError): + def __init__(self, entry_point: str) -> None: + super().__init__( + f"Invalid script entry point: {entry_point} - A callable " + "suffix is required. See https://packaging.python.org/" + "specifications/entry-points/#use-for-scripts for more " + "information." + ) + + +def _raise_for_invalid_entrypoint(specification: str) -> None: + entry = get_export_entry(specification) + if entry is not None and entry.suffix is None: + raise MissingCallableSuffix(str(entry)) + + +class PipScriptMaker(ScriptMaker): + # Override distlib's default script template with one that + # doesn't import `re` module, allowing scripts to load faster. + script_template = textwrap.dedent( + """\ + import sys + from %(module)s import %(import_name)s + if __name__ == '__main__': + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] + sys.exit(%(func)s()) +""" + ) + + def make( + self, specification: str, options: dict[str, Any] | None = None + ) -> list[str]: + _raise_for_invalid_entrypoint(specification) + return super().make(specification, options) + + +def _install_wheel( # noqa: C901, PLR0915 function is too long + name: str, + wheel_zip: ZipFile, + wheel_path: str, + scheme: Scheme, + pycompile: bool = True, + warn_script_location: bool = True, + direct_url: DirectUrl | None = None, + requested: bool = False, +) -> None: + """Install a wheel. + + :param name: Name of the project to install + :param wheel_zip: open ZipFile for wheel being installed + :param scheme: Distutils scheme dictating the install directories + :param req_description: String used in place of the requirement, for + logging + :param pycompile: Whether to byte-compile installed Python files + :param warn_script_location: Whether to check that scripts are installed + into a directory on PATH + :raises UnsupportedWheel: + * when the directory holds an unpacked wheel with incompatible + Wheel-Version + * when the .dist-info dir does not match the wheel + """ + info_dir, metadata = parse_wheel(wheel_zip, name) + + if wheel_root_is_purelib(metadata): + lib_dir = scheme.purelib + else: + lib_dir = scheme.platlib + + # Record details of the files moved + # installed = files copied from the wheel to the destination + # changed = files changed while installing (scripts #! line typically) + # generated = files newly generated during the install (script wrappers) + installed: dict[RecordPath, RecordPath] = {} + changed: set[RecordPath] = set() + generated: list[str] = [] + + def record_installed( + srcfile: RecordPath, destfile: str, modified: bool = False + ) -> None: + """Map archive RECORD paths to installation RECORD paths.""" + newpath = _fs_to_record_path(destfile, lib_dir) + installed[srcfile] = newpath + if modified: + changed.add(newpath) + + def is_dir_path(path: RecordPath) -> bool: + return path.endswith("/") + + def assert_no_path_traversal(dest_dir_path: str, target_path: str) -> None: + if not is_within_directory(dest_dir_path, target_path): + message = ( + "The wheel {!r} has a file {!r} trying to install" + " outside the target directory {!r}" + ) + raise InstallationError( + message.format(wheel_path, target_path, dest_dir_path) + ) + + def root_scheme_file_maker( + zip_file: ZipFile, dest: str + ) -> Callable[[RecordPath], File]: + def make_root_scheme_file(record_path: RecordPath) -> File: + normed_path = os.path.normpath(record_path) + dest_path = os.path.join(dest, normed_path) + assert_no_path_traversal(dest, dest_path) + return ZipBackedFile(record_path, dest_path, zip_file) + + return make_root_scheme_file + + def data_scheme_file_maker( + zip_file: ZipFile, scheme: Scheme + ) -> Callable[[RecordPath], File]: + scheme_paths = {key: getattr(scheme, key) for key in SCHEME_KEYS} + + def make_data_scheme_file(record_path: RecordPath) -> File: + normed_path = os.path.normpath(record_path) + try: + _, scheme_key, dest_subpath = normed_path.split(os.path.sep, 2) + except ValueError: + message = ( + f"Unexpected file in {wheel_path}: {record_path!r}. .data directory" + " contents should be named like: '/'." + ) + raise InstallationError(message) + + try: + scheme_path = scheme_paths[scheme_key] + except KeyError: + valid_scheme_keys = ", ".join(sorted(scheme_paths)) + message = ( + f"Unknown scheme key used in {wheel_path}: {scheme_key} " + f"(for file {record_path!r}). .data directory contents " + f"should be in subdirectories named with a valid scheme " + f"key ({valid_scheme_keys})" + ) + raise InstallationError(message) + + dest_path = os.path.join(scheme_path, dest_subpath) + assert_no_path_traversal(scheme_path, dest_path) + return ZipBackedFile(record_path, dest_path, zip_file) + + return make_data_scheme_file + + def is_data_scheme_path(path: RecordPath) -> bool: + return path.split("/", 1)[0].endswith(".data") + + paths = cast(list[RecordPath], wheel_zip.namelist()) + file_paths = filterfalse(is_dir_path, paths) + root_scheme_paths, data_scheme_paths = partition(is_data_scheme_path, file_paths) + + make_root_scheme_file = root_scheme_file_maker(wheel_zip, lib_dir) + files: Iterator[File] = map(make_root_scheme_file, root_scheme_paths) + + def is_script_scheme_path(path: RecordPath) -> bool: + parts = path.split("/", 2) + return len(parts) > 2 and parts[0].endswith(".data") and parts[1] == "scripts" + + other_scheme_paths, script_scheme_paths = partition( + is_script_scheme_path, data_scheme_paths + ) + + make_data_scheme_file = data_scheme_file_maker(wheel_zip, scheme) + other_scheme_files = map(make_data_scheme_file, other_scheme_paths) + files = chain(files, other_scheme_files) + + # Get the defined entry points + distribution = get_wheel_distribution( + FilesystemWheel(wheel_path), + canonicalize_name(name), + ) + console, gui = get_entrypoints(distribution) + + def is_entrypoint_wrapper(file: File) -> bool: + # EP, EP.exe and EP-script.py are scripts generated for + # entry point EP by setuptools + path = file.dest_path + name = os.path.basename(path) + if name.lower().endswith(".exe"): + matchname = name[:-4] + elif name.lower().endswith("-script.py"): + matchname = name[:-10] + elif name.lower().endswith(".pya"): + matchname = name[:-4] + else: + matchname = name + # Ignore setuptools-generated scripts + return matchname in console or matchname in gui + + script_scheme_files: Iterator[File] = map( + make_data_scheme_file, script_scheme_paths + ) + script_scheme_files = filterfalse(is_entrypoint_wrapper, script_scheme_files) + script_scheme_files = map(ScriptFile, script_scheme_files) + files = chain(files, script_scheme_files) + + existing_parents = set() + for file in files: + # directory creation is lazy and after file filtering + # to ensure we don't install empty dirs; empty dirs can't be + # uninstalled. + parent_dir = os.path.dirname(file.dest_path) + if parent_dir not in existing_parents: + ensure_dir(parent_dir) + existing_parents.add(parent_dir) + file.save() + record_installed(file.src_record_path, file.dest_path, file.changed) + + def pyc_source_file_paths() -> Generator[str, None, None]: + # We de-duplicate installation paths, since there can be overlap (e.g. + # file in .data maps to same location as file in wheel root). + # Sorting installation paths makes it easier to reproduce and debug + # issues related to permissions on existing files. + for installed_path in sorted(set(installed.values())): + full_installed_path = os.path.join(lib_dir, installed_path) + if not os.path.isfile(full_installed_path): + continue + if not full_installed_path.endswith(".py"): + continue + yield full_installed_path + + def pyc_output_path(path: str) -> str: + """Return the path the pyc file would have been written to.""" + return importlib.util.cache_from_source(path) + + # Compile all of the pyc files for the installed files + if pycompile: + with contextlib.redirect_stdout( + StreamWrapper.from_stream(sys.stdout) + ) as stdout: + with warnings.catch_warnings(): + warnings.filterwarnings("ignore") + for path in pyc_source_file_paths(): + success = compileall.compile_file(path, force=True, quiet=True) + if success: + pyc_path = pyc_output_path(path) + assert os.path.exists(pyc_path) + pyc_record_path = cast( + "RecordPath", pyc_path.replace(os.path.sep, "/") + ) + record_installed(pyc_record_path, pyc_path) + logger.debug(stdout.getvalue()) + + maker = PipScriptMaker(None, scheme.scripts) + + # Ensure old scripts are overwritten. + # See https://github.com/pypa/pip/issues/1800 + maker.clobber = True + + # Ensure we don't generate any variants for scripts because this is almost + # never what somebody wants. + # See https://bitbucket.org/pypa/distlib/issue/35/ + maker.variants = {""} + + # This is required because otherwise distlib creates scripts that are not + # executable. + # See https://bitbucket.org/pypa/distlib/issue/32/ + maker.set_mode = True + + # Generate the console and GUI entry points specified in the wheel + scripts_to_generate = get_console_script_specs(console) + + gui_scripts_to_generate = list(starmap("{} = {}".format, gui.items())) + + generated_console_scripts = maker.make_multiple(scripts_to_generate) + generated.extend(generated_console_scripts) + + generated.extend(maker.make_multiple(gui_scripts_to_generate, {"gui": True})) + + if warn_script_location: + msg = message_about_scripts_not_on_PATH(generated_console_scripts) + if msg is not None: + logger.warning(msg) + + generated_file_mode = 0o666 & ~current_umask() + + @contextlib.contextmanager + def _generate_file(path: str, **kwargs: Any) -> Generator[BinaryIO, None, None]: + with adjacent_tmp_file(path, **kwargs) as f: + yield f + os.chmod(f.name, generated_file_mode) + replace(f.name, path) + + dest_info_dir = os.path.join(lib_dir, info_dir) + + # Record pip as the installer + installer_path = os.path.join(dest_info_dir, "INSTALLER") + with _generate_file(installer_path) as installer_file: + installer_file.write(b"pip\n") + generated.append(installer_path) + + # Record the PEP 610 direct URL reference + if direct_url is not None: + direct_url_path = os.path.join(dest_info_dir, DIRECT_URL_METADATA_NAME) + with _generate_file(direct_url_path) as direct_url_file: + direct_url_file.write(direct_url.to_json().encode("utf-8")) + generated.append(direct_url_path) + + # Record the REQUESTED file + if requested: + requested_path = os.path.join(dest_info_dir, "REQUESTED") + with open(requested_path, "wb"): + pass + generated.append(requested_path) + + record_text = distribution.read_text("RECORD") + record_rows = list(csv.reader(record_text.splitlines())) + + rows = get_csv_rows_for_installed( + record_rows, + installed=installed, + changed=changed, + generated=generated, + lib_dir=lib_dir, + ) + + # Record details of all files installed + record_path = os.path.join(dest_info_dir, "RECORD") + + with _generate_file(record_path, **csv_io_kwargs("w")) as record_file: + # Explicitly cast to typing.IO[str] as a workaround for the mypy error: + # "writer" has incompatible type "BinaryIO"; expected "_Writer" + writer = csv.writer(cast("IO[str]", record_file)) + writer.writerows(_normalized_outrows(rows)) + + +@contextlib.contextmanager +def req_error_context(req_description: str) -> Generator[None, None, None]: + try: + yield + except InstallationError as e: + message = f"For req: {req_description}. {e.args[0]}" + raise InstallationError(message) from e + + +def install_wheel( + name: str, + wheel_path: str, + scheme: Scheme, + req_description: str, + pycompile: bool = True, + warn_script_location: bool = True, + direct_url: DirectUrl | None = None, + requested: bool = False, +) -> None: + with ZipFile(wheel_path, allowZip64=True) as z: + with req_error_context(req_description): + _install_wheel( + name=name, + wheel_zip=z, + wheel_path=wheel_path, + scheme=scheme, + pycompile=pycompile, + warn_script_location=warn_script_location, + direct_url=direct_url, + requested=requested, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py new file mode 100644 index 0000000000000000000000000000000000000000..00b1a33a0309dcb5927d42d34b40a8e0727af991 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py @@ -0,0 +1,742 @@ +"""Prepares a distribution for installation""" + +# The following comment should be removed at some point in the future. +# mypy: strict-optional=False +from __future__ import annotations + +import mimetypes +import os +import shutil +from collections.abc import Iterable +from dataclasses import dataclass +from pathlib import Path +from typing import TYPE_CHECKING + +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.build_env import BuildEnvironmentInstaller +from pip._internal.distributions import make_distribution_for_install_requirement +from pip._internal.distributions.installed import InstalledDistribution +from pip._internal.exceptions import ( + DirectoryUrlHashUnsupported, + HashMismatch, + HashUnpinned, + InstallationError, + MetadataInconsistent, + NetworkConnectionError, + VcsHashUnsupported, +) +from pip._internal.index.package_finder import PackageFinder +from pip._internal.metadata import BaseDistribution, get_metadata_distribution +from pip._internal.models.direct_url import ArchiveInfo +from pip._internal.models.link import Link +from pip._internal.models.wheel import Wheel +from pip._internal.network.download import Downloader +from pip._internal.network.lazy_wheel import ( + HTTPRangeRequestUnsupported, + dist_from_wheel_url, +) +from pip._internal.network.session import PipSession +from pip._internal.operations.build.build_tracker import BuildTracker +from pip._internal.req.req_install import InstallRequirement +from pip._internal.utils._log import getLogger +from pip._internal.utils.direct_url_helpers import ( + direct_url_for_editable, + direct_url_from_link, +) +from pip._internal.utils.hashes import Hashes, MissingHashes +from pip._internal.utils.logging import indent_log +from pip._internal.utils.misc import ( + display_path, + hash_file, + hide_url, + redact_auth_from_requirement, +) +from pip._internal.utils.temp_dir import TempDirectory +from pip._internal.utils.unpacking import unpack_file +from pip._internal.vcs import vcs + +if TYPE_CHECKING: + from pip._internal.cli.progress_bars import BarType + +logger = getLogger(__name__) + + +def _get_prepared_distribution( + req: InstallRequirement, + build_tracker: BuildTracker, + build_env_installer: BuildEnvironmentInstaller, + build_isolation: bool, + check_build_deps: bool, +) -> BaseDistribution: + """Prepare a distribution for installation.""" + abstract_dist = make_distribution_for_install_requirement(req) + tracker_id = abstract_dist.build_tracker_id + if tracker_id is not None: + with build_tracker.track(req, tracker_id): + abstract_dist.prepare_distribution_metadata( + build_env_installer, build_isolation, check_build_deps + ) + return abstract_dist.get_metadata_distribution() + + +def unpack_vcs_link(link: Link, location: str, verbosity: int) -> None: + vcs_backend = vcs.get_backend_for_scheme(link.scheme) + assert vcs_backend is not None + vcs_backend.unpack(location, url=hide_url(link.url), verbosity=verbosity) + + +@dataclass +class File: + path: str + content_type: str | None = None + + def __post_init__(self) -> None: + if self.content_type is None: + # Try to guess the file's MIME type. If the system MIME tables + # can't be loaded, give up. + try: + self.content_type = mimetypes.guess_type(self.path)[0] + except OSError: + pass + + +def get_http_url( + link: Link, + download: Downloader, + download_dir: str | None = None, + hashes: Hashes | None = None, +) -> File: + temp_dir = TempDirectory(kind="unpack", globally_managed=True) + # If a download dir is specified, is the file already downloaded there? + already_downloaded_path = None + if download_dir: + already_downloaded_path = _check_download_dir(link, download_dir, hashes) + + if already_downloaded_path: + from_path = already_downloaded_path + content_type = None + else: + # let's download to a tmp dir + from_path, content_type = download(link, temp_dir.path) + if hashes: + hashes.check_against_path(from_path) + + return File(from_path, content_type) + + +def get_file_url( + link: Link, download_dir: str | None = None, hashes: Hashes | None = None +) -> File: + """Get file and optionally check its hash.""" + # If a download dir is specified, is the file already there and valid? + already_downloaded_path = None + if download_dir: + already_downloaded_path = _check_download_dir(link, download_dir, hashes) + + if already_downloaded_path: + from_path = already_downloaded_path + else: + from_path = link.file_path + + # If --require-hashes is off, `hashes` is either empty, the + # link's embedded hash, or MissingHashes; it is required to + # match. If --require-hashes is on, we are satisfied by any + # hash in `hashes` matching: a URL-based or an option-based + # one; no internet-sourced hash will be in `hashes`. + if hashes: + hashes.check_against_path(from_path) + return File(from_path, None) + + +def unpack_url( + link: Link, + location: str, + download: Downloader, + verbosity: int, + download_dir: str | None = None, + hashes: Hashes | None = None, +) -> File | None: + """Unpack link into location, downloading if required. + + :param hashes: A Hashes object, one of whose embedded hashes must match, + or HashMismatch will be raised. If the Hashes is empty, no matches are + required, and unhashable types of requirements (like VCS ones, which + would ordinarily raise HashUnsupported) are allowed. + """ + # non-editable vcs urls + if link.is_vcs: + unpack_vcs_link(link, location, verbosity=verbosity) + return None + + assert not link.is_existing_dir() + + # file urls + if link.is_file: + file = get_file_url(link, download_dir, hashes=hashes) + + # http urls + else: + file = get_http_url( + link, + download, + download_dir, + hashes=hashes, + ) + + # unpack the archive to the build dir location. even when only downloading + # archives, they have to be unpacked to parse dependencies, except wheels + if not link.is_wheel: + unpack_file(file.path, location, file.content_type) + + return file + + +def _check_download_dir( + link: Link, + download_dir: str, + hashes: Hashes | None, + warn_on_hash_mismatch: bool = True, +) -> str | None: + """Check download_dir for previously downloaded file with correct hash + If a correct file is found return its path else None + """ + download_path = os.path.join(download_dir, link.filename) + + if not os.path.exists(download_path): + return None + + # If already downloaded, does its hash match? + logger.info("File was already downloaded %s", download_path) + if hashes: + try: + hashes.check_against_path(download_path) + except HashMismatch: + if warn_on_hash_mismatch: + logger.warning( + "Previously-downloaded file %s has bad hash. Re-downloading.", + download_path, + ) + os.unlink(download_path) + return None + return download_path + + +class RequirementPreparer: + """Prepares a Requirement""" + + def __init__( # noqa: PLR0913 (too many parameters) + self, + *, + build_dir: str, + download_dir: str | None, + src_dir: str, + build_isolation: bool, + build_isolation_installer: BuildEnvironmentInstaller, + check_build_deps: bool, + build_tracker: BuildTracker, + session: PipSession, + progress_bar: BarType, + finder: PackageFinder, + require_hashes: bool, + use_user_site: bool, + lazy_wheel: bool, + verbosity: int, + legacy_resolver: bool, + resume_retries: int, + ) -> None: + super().__init__() + + self.src_dir = src_dir + self.build_dir = build_dir + self.build_tracker = build_tracker + self._session = session + self._download = Downloader(session, progress_bar, resume_retries) + self.finder = finder + + # Where still-packed archives should be written to. If None, they are + # not saved, and are deleted immediately after unpacking. + self.download_dir = download_dir + + # Is build isolation allowed? + self.build_isolation = build_isolation + self.build_env_installer = build_isolation_installer + + # Should check build dependencies? + self.check_build_deps = check_build_deps + + # Should hash-checking be required? + self.require_hashes = require_hashes + + # Should install in user site-packages? + self.use_user_site = use_user_site + + # Should wheels be downloaded lazily? + self.use_lazy_wheel = lazy_wheel + + # How verbose should underlying tooling be? + self.verbosity = verbosity + + # Are we using the legacy resolver? + self.legacy_resolver = legacy_resolver + + # Memoized downloaded files, as mapping of url: path. + self._downloaded: dict[str, str] = {} + + # Previous "header" printed for a link-based InstallRequirement + self._previous_requirement_header = ("", "") + + def _log_preparing_link(self, req: InstallRequirement) -> None: + """Provide context for the requirement being prepared.""" + if req.link.is_file and not req.is_wheel_from_cache: + message = "Processing %s" + information = str(display_path(req.link.file_path)) + else: + message = "Collecting %s" + information = redact_auth_from_requirement(req.req) if req.req else str(req) + + # If we used req.req, inject requirement source if available (this + # would already be included if we used req directly) + if req.req and req.comes_from: + if isinstance(req.comes_from, str): + comes_from: str | None = req.comes_from + else: + comes_from = req.comes_from.from_path() + if comes_from: + information += f" (from {comes_from})" + + if (message, information) != self._previous_requirement_header: + self._previous_requirement_header = (message, information) + logger.info(message, information) + + if req.is_wheel_from_cache: + with indent_log(): + logger.info("Using cached %s", req.link.filename) + + def _ensure_link_req_src_dir( + self, req: InstallRequirement, parallel_builds: bool + ) -> None: + """Ensure source_dir of a linked InstallRequirement.""" + # Since source_dir is only set for editable requirements. + if req.link.is_wheel: + # We don't need to unpack wheels, so no need for a source + # directory. + return + assert req.source_dir is None + if req.link.is_existing_dir(): + # build local directories in-tree + req.source_dir = req.link.file_path + return + + # We always delete unpacked sdists after pip runs. + req.ensure_has_source_dir( + self.build_dir, + autodelete=True, + parallel_builds=parallel_builds, + ) + req.ensure_pristine_source_checkout() + + def _get_linked_req_hashes(self, req: InstallRequirement) -> Hashes: + # By the time this is called, the requirement's link should have + # been checked so we can tell what kind of requirements req is + # and raise some more informative errors than otherwise. + # (For example, we can raise VcsHashUnsupported for a VCS URL + # rather than HashMissing.) + if not self.require_hashes: + return req.hashes(trust_internet=True) + + # We could check these first 2 conditions inside unpack_url + # and save repetition of conditions, but then we would + # report less-useful error messages for unhashable + # requirements, complaining that there's no hash provided. + if req.link.is_vcs: + raise VcsHashUnsupported() + if req.link.is_existing_dir(): + raise DirectoryUrlHashUnsupported() + + # Unpinned packages are asking for trouble when a new version + # is uploaded. This isn't a security check, but it saves users + # a surprising hash mismatch in the future. + # file:/// URLs aren't pinnable, so don't complain about them + # not being pinned. + if not req.is_direct and not req.is_pinned: + raise HashUnpinned() + + # If known-good hashes are missing for this requirement, + # shim it with a facade object that will provoke hash + # computation and then raise a HashMissing exception + # showing the user what the hash should be. + return req.hashes(trust_internet=False) or MissingHashes() + + def _fetch_metadata_only( + self, + req: InstallRequirement, + ) -> BaseDistribution | None: + if self.legacy_resolver: + logger.debug( + "Metadata-only fetching is not used in the legacy resolver", + ) + return None + if self.require_hashes: + logger.debug( + "Metadata-only fetching is not used as hash checking is required", + ) + return None + # Try PEP 658 metadata first, then fall back to lazy wheel if unavailable. + return self._fetch_metadata_using_link_data_attr( + req + ) or self._fetch_metadata_using_lazy_wheel(req.link) + + def _fetch_metadata_using_link_data_attr( + self, + req: InstallRequirement, + ) -> BaseDistribution | None: + """Fetch metadata from the data-dist-info-metadata attribute, if possible.""" + # (1) Get the link to the metadata file, if provided by the backend. + metadata_link = req.link.metadata_link() + if metadata_link is None: + return None + assert req.req is not None + logger.verbose( + "Obtaining dependency information for %s from %s", + req.req, + metadata_link, + ) + # (2) Download the contents of the METADATA file, separate from the dist itself. + metadata_file = get_http_url( + metadata_link, + self._download, + hashes=metadata_link.as_hashes(), + ) + with open(metadata_file.path, "rb") as f: + metadata_contents = f.read() + # (3) Generate a dist just from those file contents. + metadata_dist = get_metadata_distribution( + metadata_contents, + req.link.filename, + req.req.name, + ) + # (4) Ensure the Name: field from the METADATA file matches the name from the + # install requirement. + # + # NB: raw_name will fall back to the name from the install requirement if + # the Name: field is not present, but it's noted in the raw_name docstring + # that that should NEVER happen anyway. + if canonicalize_name(metadata_dist.raw_name) != canonicalize_name(req.req.name): + raise MetadataInconsistent( + req, "Name", req.req.name, metadata_dist.raw_name + ) + return metadata_dist + + def _fetch_metadata_using_lazy_wheel( + self, + link: Link, + ) -> BaseDistribution | None: + """Fetch metadata using lazy wheel, if possible.""" + # --use-feature=fast-deps must be provided. + if not self.use_lazy_wheel: + return None + if link.is_file or not link.is_wheel: + logger.debug( + "Lazy wheel is not used as %r does not point to a remote wheel", + link, + ) + return None + + wheel = Wheel(link.filename) + name = canonicalize_name(wheel.name) + logger.info( + "Obtaining dependency information from %s %s", + name, + wheel.version, + ) + url = link.url.split("#", 1)[0] + try: + return dist_from_wheel_url(name, url, self._session) + except HTTPRangeRequestUnsupported: + logger.debug("%s does not support range requests", url) + return None + + def _complete_partial_requirements( + self, + partially_downloaded_reqs: Iterable[InstallRequirement], + parallel_builds: bool = False, + ) -> None: + """Download any requirements which were only fetched by metadata.""" + # Download to a temporary directory. These will be copied over as + # needed for downstream 'download', 'wheel', and 'install' commands. + temp_dir = TempDirectory(kind="unpack", globally_managed=True).path + + # Map each link to the requirement that owns it. This allows us to set + # `req.local_file_path` on the appropriate requirement after passing + # all the links at once into BatchDownloader. + links_to_fully_download: dict[Link, InstallRequirement] = {} + for req in partially_downloaded_reqs: + assert req.link + links_to_fully_download[req.link] = req + + batch_download = self._download.batch(links_to_fully_download.keys(), temp_dir) + for link, (filepath, _) in batch_download: + logger.debug("Downloading link %s to %s", link, filepath) + req = links_to_fully_download[link] + # Record the downloaded file path so wheel reqs can extract a Distribution + # in .get_dist(). + req.local_file_path = filepath + # Record that the file is downloaded so we don't do it again in + # _prepare_linked_requirement(). + self._downloaded[req.link.url] = filepath + + # If this is an sdist, we need to unpack it after downloading, but the + # .source_dir won't be set up until we are in _prepare_linked_requirement(). + # Add the downloaded archive to the install requirement to unpack after + # preparing the source dir. + if not req.is_wheel: + req.needs_unpacked_archive(Path(filepath)) + + # This step is necessary to ensure all lazy wheels are processed + # successfully by the 'download', 'wheel', and 'install' commands. + for req in partially_downloaded_reqs: + self._prepare_linked_requirement(req, parallel_builds) + + def prepare_linked_requirement( + self, req: InstallRequirement, parallel_builds: bool = False + ) -> BaseDistribution: + """Prepare a requirement to be obtained from req.link.""" + assert req.link + self._log_preparing_link(req) + with indent_log(): + # Check if the relevant file is already available + # in the download directory + file_path = None + if self.download_dir is not None and req.link.is_wheel: + hashes = self._get_linked_req_hashes(req) + file_path = _check_download_dir( + req.link, + self.download_dir, + hashes, + # When a locally built wheel has been found in cache, we don't warn + # about re-downloading when the already downloaded wheel hash does + # not match. This is because the hash must be checked against the + # original link, not the cached link. It that case the already + # downloaded file will be removed and re-fetched from cache (which + # implies a hash check against the cache entry's origin.json). + warn_on_hash_mismatch=not req.is_wheel_from_cache, + ) + + if file_path is not None: + # The file is already available, so mark it as downloaded + self._downloaded[req.link.url] = file_path + else: + # The file is not available, attempt to fetch only metadata + metadata_dist = self._fetch_metadata_only(req) + if metadata_dist is not None: + req.needs_more_preparation = True + return metadata_dist + + # None of the optimizations worked, fully prepare the requirement + return self._prepare_linked_requirement(req, parallel_builds) + + def prepare_linked_requirements_more( + self, reqs: Iterable[InstallRequirement], parallel_builds: bool = False + ) -> None: + """Prepare linked requirements more, if needed.""" + reqs = [req for req in reqs if req.needs_more_preparation] + for req in reqs: + # Determine if any of these requirements were already downloaded. + if self.download_dir is not None and req.link.is_wheel: + hashes = self._get_linked_req_hashes(req) + file_path = _check_download_dir(req.link, self.download_dir, hashes) + if file_path is not None: + self._downloaded[req.link.url] = file_path + req.needs_more_preparation = False + + # Prepare requirements we found were already downloaded for some + # reason. The other downloads will be completed separately. + partially_downloaded_reqs: list[InstallRequirement] = [] + for req in reqs: + if req.needs_more_preparation: + partially_downloaded_reqs.append(req) + else: + self._prepare_linked_requirement(req, parallel_builds) + + # TODO: separate this part out from RequirementPreparer when the v1 + # resolver can be removed! + self._complete_partial_requirements( + partially_downloaded_reqs, + parallel_builds=parallel_builds, + ) + + def _prepare_linked_requirement( + self, req: InstallRequirement, parallel_builds: bool + ) -> BaseDistribution: + assert req.link + link = req.link + + hashes = self._get_linked_req_hashes(req) + + if hashes and req.is_wheel_from_cache: + assert req.download_info is not None + assert link.is_wheel + assert link.is_file + # We need to verify hashes, and we have found the requirement in the cache + # of locally built wheels. + if ( + isinstance(req.download_info.info, ArchiveInfo) + and req.download_info.info.hashes + and hashes.has_one_of(req.download_info.info.hashes) + ): + # At this point we know the requirement was built from a hashable source + # artifact, and we verified that the cache entry's hash of the original + # artifact matches one of the hashes we expect. We don't verify hashes + # against the cached wheel, because the wheel is not the original. + hashes = None + else: + logger.warning( + "The hashes of the source archive found in cache entry " + "don't match, ignoring cached built wheel " + "and re-downloading source." + ) + req.link = req.cached_wheel_source_link + link = req.link + + self._ensure_link_req_src_dir(req, parallel_builds) + + if link.is_existing_dir(): + local_file = None + elif link.url not in self._downloaded: + try: + local_file = unpack_url( + link, + req.source_dir, + self._download, + self.verbosity, + self.download_dir, + hashes, + ) + except NetworkConnectionError as exc: + raise InstallationError( + f"Could not install requirement {req} because of HTTP " + f"error {exc} for URL {link}" + ) + else: + file_path = self._downloaded[link.url] + if hashes: + hashes.check_against_path(file_path) + local_file = File(file_path, content_type=None) + + # If download_info is set, we got it from the wheel cache. + if req.download_info is None: + # Editables don't go through this function (see + # prepare_editable_requirement). + assert not req.editable + req.download_info = direct_url_from_link(link, req.source_dir) + # Make sure we have a hash in download_info. If we got it as part of the + # URL, it will have been verified and we can rely on it. Otherwise we + # compute it from the downloaded file. + # FIXME: https://github.com/pypa/pip/issues/11943 + if ( + isinstance(req.download_info.info, ArchiveInfo) + and not req.download_info.info.hashes + and local_file + ): + hash = hash_file(local_file.path)[0].hexdigest() + # We populate info.hash for backward compatibility. + # This will automatically populate info.hashes. + req.download_info.info.hash = f"sha256={hash}" + + # For use in later processing, + # preserve the file path on the requirement. + if local_file: + req.local_file_path = local_file.path + + dist = _get_prepared_distribution( + req, + self.build_tracker, + self.build_env_installer, + self.build_isolation, + self.check_build_deps, + ) + return dist + + def save_linked_requirement(self, req: InstallRequirement) -> None: + assert self.download_dir is not None + assert req.link is not None + link = req.link + if link.is_vcs or (link.is_existing_dir() and req.editable): + # Make a .zip of the source_dir we already created. + req.archive(self.download_dir) + return + + if link.is_existing_dir(): + logger.debug( + "Not copying link to destination directory " + "since it is a directory: %s", + link, + ) + return + if req.local_file_path is None: + # No distribution was downloaded for this requirement. + return + + download_location = os.path.join(self.download_dir, link.filename) + if not os.path.exists(download_location): + shutil.copy(req.local_file_path, download_location) + download_path = display_path(download_location) + logger.info("Saved %s", download_path) + + def prepare_editable_requirement( + self, + req: InstallRequirement, + ) -> BaseDistribution: + """Prepare an editable requirement.""" + assert req.editable, "cannot prepare a non-editable req as editable" + + logger.info("Obtaining %s", req) + + with indent_log(): + if self.require_hashes: + raise InstallationError( + f"The editable requirement {req} cannot be installed when " + "requiring hashes, because there is no single file to " + "hash." + ) + req.ensure_has_source_dir(self.src_dir) + req.update_editable() + assert req.source_dir + req.download_info = direct_url_for_editable(req.unpacked_source_directory) + + dist = _get_prepared_distribution( + req, + self.build_tracker, + self.build_env_installer, + self.build_isolation, + self.check_build_deps, + ) + + req.check_if_exists(self.use_user_site) + + return dist + + def prepare_installed_requirement( + self, + req: InstallRequirement, + skip_reason: str, + ) -> BaseDistribution: + """Prepare an already-installed requirement.""" + assert req.satisfied_by, "req should have been satisfied but isn't" + assert skip_reason is not None, ( + "did not get skip reason skipped but req.satisfied_by " + f"is set to {req.satisfied_by}" + ) + logger.info( + "Requirement %s: %s (%s)", skip_reason, req, req.satisfied_by.version + ) + with indent_log(): + if self.require_hashes: + logger.debug( + "Since it is already installed, we are trusting this " + "package without checking its hash. To ensure a " + "completely repeatable environment, install into an " + "empty virtualenv." + ) + return InstalledDistribution(req).get_metadata_distribution() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/pyproject.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/pyproject.py new file mode 100644 index 0000000000000000000000000000000000000000..5c08b60e5b5b1a43820f2a0772ca097118d6b1b1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/pyproject.py @@ -0,0 +1,182 @@ +from __future__ import annotations + +import importlib.util +import os +from collections import namedtuple +from typing import Any + +from pip._vendor.packaging.requirements import InvalidRequirement + +from pip._internal.exceptions import ( + InstallationError, + InvalidPyProjectBuildRequires, + MissingPyProjectBuildRequires, +) +from pip._internal.utils.compat import tomllib +from pip._internal.utils.packaging import get_requirement + + +def _is_list_of_str(obj: Any) -> bool: + return isinstance(obj, list) and all(isinstance(item, str) for item in obj) + + +def make_pyproject_path(unpacked_source_directory: str) -> str: + return os.path.join(unpacked_source_directory, "pyproject.toml") + + +BuildSystemDetails = namedtuple( + "BuildSystemDetails", ["requires", "backend", "check", "backend_path"] +) + + +def load_pyproject_toml( + use_pep517: bool | None, pyproject_toml: str, setup_py: str, req_name: str +) -> BuildSystemDetails | None: + """Load the pyproject.toml file. + + Parameters: + use_pep517 - Has the user requested PEP 517 processing? None + means the user hasn't explicitly specified. + pyproject_toml - Location of the project's pyproject.toml file + setup_py - Location of the project's setup.py file + req_name - The name of the requirement we're processing (for + error reporting) + + Returns: + None if we should use the legacy code path, otherwise a tuple + ( + requirements from pyproject.toml, + name of PEP 517 backend, + requirements we should check are installed after setting + up the build environment + directory paths to import the backend from (backend-path), + relative to the project root. + ) + """ + has_pyproject = os.path.isfile(pyproject_toml) + has_setup = os.path.isfile(setup_py) + + if not has_pyproject and not has_setup: + raise InstallationError( + f"{req_name} does not appear to be a Python project: " + f"neither 'setup.py' nor 'pyproject.toml' found." + ) + + if has_pyproject: + with open(pyproject_toml, encoding="utf-8") as f: + pp_toml = tomllib.loads(f.read()) + build_system = pp_toml.get("build-system") + else: + build_system = None + + # The following cases must use PEP 517 + # We check for use_pep517 being non-None and falsy because that means + # the user explicitly requested --no-use-pep517. The value 0 as + # opposed to False can occur when the value is provided via an + # environment variable or config file option (due to the quirk of + # strtobool() returning an integer in pip's configuration code). + if has_pyproject and not has_setup: + if use_pep517 is not None and not use_pep517: + raise InstallationError( + "Disabling PEP 517 processing is invalid: " + "project does not have a setup.py" + ) + use_pep517 = True + elif build_system and "build-backend" in build_system: + if use_pep517 is not None and not use_pep517: + raise InstallationError( + "Disabling PEP 517 processing is invalid: " + "project specifies a build backend of {} " + "in pyproject.toml".format(build_system["build-backend"]) + ) + use_pep517 = True + + # If we haven't worked out whether to use PEP 517 yet, + # and the user hasn't explicitly stated a preference, + # we do so if the project has a pyproject.toml file + # or if we cannot import setuptools or wheels. + + # We fallback to PEP 517 when without setuptools or without the wheel package, + # so setuptools can be installed as a default build backend. + # For more info see: + # https://discuss.python.org/t/pip-without-setuptools-could-the-experience-be-improved/11810/9 + # https://github.com/pypa/pip/issues/8559 + elif use_pep517 is None: + use_pep517 = ( + has_pyproject + or not importlib.util.find_spec("setuptools") + or not importlib.util.find_spec("wheel") + ) + + # At this point, we know whether we're going to use PEP 517. + assert use_pep517 is not None + + # If we're using the legacy code path, there is nothing further + # for us to do here. + if not use_pep517: + return None + + if build_system is None: + # Either the user has a pyproject.toml with no build-system + # section, or the user has no pyproject.toml, but has opted in + # explicitly via --use-pep517. + # In the absence of any explicit backend specification, we + # assume the setuptools backend that most closely emulates the + # traditional direct setup.py execution, and require wheel and + # a version of setuptools that supports that backend. + + build_system = { + "requires": ["setuptools>=40.8.0"], + "build-backend": "setuptools.build_meta:__legacy__", + } + + # If we're using PEP 517, we have build system information (either + # from pyproject.toml, or defaulted by the code above). + # Note that at this point, we do not know if the user has actually + # specified a backend, though. + assert build_system is not None + + # Ensure that the build-system section in pyproject.toml conforms + # to PEP 518. + + # Specifying the build-system table but not the requires key is invalid + if "requires" not in build_system: + raise MissingPyProjectBuildRequires(package=req_name) + + # Error out if requires is not a list of strings + requires = build_system["requires"] + if not _is_list_of_str(requires): + raise InvalidPyProjectBuildRequires( + package=req_name, + reason="It is not a list of strings.", + ) + + # Each requirement must be valid as per PEP 508 + for requirement in requires: + try: + get_requirement(requirement) + except InvalidRequirement as error: + raise InvalidPyProjectBuildRequires( + package=req_name, + reason=f"It contains an invalid requirement: {requirement!r}", + ) from error + + backend = build_system.get("build-backend") + backend_path = build_system.get("backend-path", []) + check: list[str] = [] + if backend is None: + # If the user didn't specify a backend, we assume they want to use + # the setuptools backend. But we can't be sure they have included + # a version of setuptools which supplies the backend. So we + # make a note to check that this requirement is present once + # we have set up the environment. + # This is quite a lot of work to check for a very specific case. But + # the problem is, that case is potentially quite common - projects that + # adopted PEP 518 early for the ability to specify requirements to + # execute setup.py, but never considered needing to mention the build + # tools themselves. The original PEP 518 code had a similar check (but + # implemented in a different way). + backend = "setuptools.build_meta:__legacy__" + check = ["setuptools>=40.8.0"] + + return BuildSystemDetails(requires, backend, check, backend_path) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e5050ee588bcc55189447154406fb6dcdc65c886 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__init__.py @@ -0,0 +1,105 @@ +from __future__ import annotations + +import collections +import logging +from collections.abc import Generator, Sequence +from dataclasses import dataclass + +from pip._internal.cli.progress_bars import BarType, get_install_progress_renderer +from pip._internal.utils.logging import indent_log + +from .req_file import parse_requirements +from .req_install import InstallRequirement +from .req_set import RequirementSet + +__all__ = [ + "RequirementSet", + "InstallRequirement", + "parse_requirements", + "install_given_reqs", +] + +logger = logging.getLogger(__name__) + + +@dataclass(frozen=True) +class InstallationResult: + name: str + + +def _validate_requirements( + requirements: list[InstallRequirement], +) -> Generator[tuple[str, InstallRequirement], None, None]: + for req in requirements: + assert req.name, f"invalid to-be-installed requirement: {req}" + yield req.name, req + + +def install_given_reqs( + requirements: list[InstallRequirement], + global_options: Sequence[str], + root: str | None, + home: str | None, + prefix: str | None, + warn_script_location: bool, + use_user_site: bool, + pycompile: bool, + progress_bar: BarType, +) -> list[InstallationResult]: + """ + Install everything in the given list. + + (to be called after having downloaded and unpacked the packages) + """ + to_install = collections.OrderedDict(_validate_requirements(requirements)) + + if to_install: + logger.info( + "Installing collected packages: %s", + ", ".join(to_install.keys()), + ) + + installed = [] + + show_progress = logger.isEnabledFor(logging.INFO) and len(to_install) > 1 + + items = iter(to_install.values()) + if show_progress: + renderer = get_install_progress_renderer( + bar_type=progress_bar, total=len(to_install) + ) + items = renderer(items) + + with indent_log(): + for requirement in items: + req_name = requirement.name + assert req_name is not None + if requirement.should_reinstall: + logger.info("Attempting uninstall: %s", req_name) + with indent_log(): + uninstalled_pathset = requirement.uninstall(auto_confirm=True) + else: + uninstalled_pathset = None + + try: + requirement.install( + global_options, + root=root, + home=home, + prefix=prefix, + warn_script_location=warn_script_location, + use_user_site=use_user_site, + pycompile=pycompile, + ) + except Exception: + # if install did not succeed, rollback previous uninstall + if uninstalled_pathset and not requirement.install_succeeded: + uninstalled_pathset.rollback() + raise + else: + if uninstalled_pathset and requirement.install_succeeded: + uninstalled_pathset.commit() + + installed.append(InstallationResult(req_name)) + + return installed diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2b6fc5aea690721723e2ea36f207bf1ca718e119 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4fcbfb51b219716e8ec624b05fc84db5946e1ecc Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c2458e661c33b9a5d10a586ed97be2a6123ee3aa Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f9ba7e98ed4961f3021a793e1999730431ae815d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..60a4372892c7460d1397b59f884738440a42c40d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..326010b61f3c415de918117ef3a4182af4a0e76f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5ef91f35eca00659d17f3e47b28a9e731ec58824 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/constructors.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/constructors.py new file mode 100644 index 0000000000000000000000000000000000000000..056e7e3a7f1162f5d7e67bde53eb3a12e105a83c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/constructors.py @@ -0,0 +1,562 @@ +"""Backing implementation for InstallRequirement's various constructors + +The idea here is that these formed a major chunk of InstallRequirement's size +so, moving them and support code dedicated to them outside of that class +helps creates for better understandability for the rest of the code. + +These are meant to be used elsewhere within pip to create instances of +InstallRequirement. +""" + +from __future__ import annotations + +import copy +import logging +import os +import re +from collections.abc import Collection +from dataclasses import dataclass + +from pip._vendor.packaging.markers import Marker +from pip._vendor.packaging.requirements import InvalidRequirement, Requirement +from pip._vendor.packaging.specifiers import Specifier + +from pip._internal.exceptions import InstallationError +from pip._internal.models.index import PyPI, TestPyPI +from pip._internal.models.link import Link +from pip._internal.models.wheel import Wheel +from pip._internal.req.req_file import ParsedRequirement +from pip._internal.req.req_install import InstallRequirement +from pip._internal.utils.filetypes import is_archive_file +from pip._internal.utils.misc import is_installable_dir +from pip._internal.utils.packaging import get_requirement +from pip._internal.utils.urls import path_to_url +from pip._internal.vcs import is_url, vcs + +__all__ = [ + "install_req_from_editable", + "install_req_from_line", + "parse_editable", +] + +logger = logging.getLogger(__name__) +operators = Specifier._operators.keys() + + +def _strip_extras(path: str) -> tuple[str, str | None]: + m = re.match(r"^(.+)(\[[^\]]+\])$", path) + extras = None + if m: + path_no_extras = m.group(1) + extras = m.group(2) + else: + path_no_extras = path + + return path_no_extras, extras + + +def convert_extras(extras: str | None) -> set[str]: + if not extras: + return set() + return get_requirement("placeholder" + extras.lower()).extras + + +def _set_requirement_extras(req: Requirement, new_extras: set[str]) -> Requirement: + """ + Returns a new requirement based on the given one, with the supplied extras. If the + given requirement already has extras those are replaced (or dropped if no new extras + are given). + """ + match: re.Match[str] | None = re.fullmatch( + # see https://peps.python.org/pep-0508/#complete-grammar + r"([\w\t .-]+)(\[[^\]]*\])?(.*)", + str(req), + flags=re.ASCII, + ) + # ireq.req is a valid requirement so the regex should always match + assert ( + match is not None + ), f"regex match on requirement {req} failed, this should never happen" + pre: str | None = match.group(1) + post: str | None = match.group(3) + assert ( + pre is not None and post is not None + ), f"regex group selection for requirement {req} failed, this should never happen" + extras: str = "[{}]".format(",".join(sorted(new_extras)) if new_extras else "") + return get_requirement(f"{pre}{extras}{post}") + + +def parse_editable(editable_req: str) -> tuple[str | None, str, set[str]]: + """Parses an editable requirement into: + - a requirement name + - an URL + - extras + - editable options + Accepted requirements: + svn+http://blahblah@rev#egg=Foobar[baz]&subdirectory=version_subdir + .[some_extra] + """ + + url = editable_req + + # If a file path is specified with extras, strip off the extras. + url_no_extras, extras = _strip_extras(url) + + if os.path.isdir(url_no_extras): + # Treating it as code that has already been checked out + url_no_extras = path_to_url(url_no_extras) + + if url_no_extras.lower().startswith("file:"): + package_name = Link(url_no_extras).egg_fragment + if extras: + return ( + package_name, + url_no_extras, + get_requirement("placeholder" + extras.lower()).extras, + ) + else: + return package_name, url_no_extras, set() + + for version_control in vcs: + if url.lower().startswith(f"{version_control}:"): + url = f"{version_control}+{url}" + break + + link = Link(url) + + if not link.is_vcs: + backends = ", ".join(vcs.all_schemes) + raise InstallationError( + f"{editable_req} is not a valid editable requirement. " + f"It should either be a path to a local project or a VCS URL " + f"(beginning with {backends})." + ) + + package_name = link.egg_fragment + if not package_name: + raise InstallationError( + f"Could not detect requirement name for '{editable_req}', " + "please specify one with #egg=your_package_name" + ) + return package_name, url, set() + + +def check_first_requirement_in_file(filename: str) -> None: + """Check if file is parsable as a requirements file. + + This is heavily based on ``pkg_resources.parse_requirements``, but + simplified to just check the first meaningful line. + + :raises InvalidRequirement: If the first meaningful line cannot be parsed + as an requirement. + """ + with open(filename, encoding="utf-8", errors="ignore") as f: + # Create a steppable iterator, so we can handle \-continuations. + lines = ( + line + for line in (line.strip() for line in f) + if line and not line.startswith("#") # Skip blank lines/comments. + ) + + for line in lines: + # Drop comments -- a hash without a space may be in a URL. + if " #" in line: + line = line[: line.find(" #")] + # If there is a line continuation, drop it, and append the next line. + if line.endswith("\\"): + line = line[:-2].strip() + next(lines, "") + get_requirement(line) + return + + +def deduce_helpful_msg(req: str) -> str: + """Returns helpful msg in case requirements file does not exist, + or cannot be parsed. + + :params req: Requirements file path + """ + if not os.path.exists(req): + return f" File '{req}' does not exist." + msg = " The path does exist. " + # Try to parse and check if it is a requirements file. + try: + check_first_requirement_in_file(req) + except InvalidRequirement: + logger.debug("Cannot parse '%s' as requirements file", req) + else: + msg += ( + f"The argument you provided " + f"({req}) appears to be a" + f" requirements file. If that is the" + f" case, use the '-r' flag to install" + f" the packages specified within it." + ) + return msg + + +@dataclass(frozen=True) +class RequirementParts: + requirement: Requirement | None + link: Link | None + markers: Marker | None + extras: set[str] + + +def parse_req_from_editable(editable_req: str) -> RequirementParts: + name, url, extras_override = parse_editable(editable_req) + + if name is not None: + try: + req: Requirement | None = get_requirement(name) + except InvalidRequirement as exc: + raise InstallationError(f"Invalid requirement: {name!r}: {exc}") + else: + req = None + + link = Link(url) + + return RequirementParts(req, link, None, extras_override) + + +# ---- The actual constructors follow ---- + + +def install_req_from_editable( + editable_req: str, + comes_from: InstallRequirement | str | None = None, + *, + use_pep517: bool | None = None, + isolated: bool = False, + global_options: list[str] | None = None, + hash_options: dict[str, list[str]] | None = None, + constraint: bool = False, + user_supplied: bool = False, + permit_editable_wheels: bool = False, + config_settings: dict[str, str | list[str]] | None = None, +) -> InstallRequirement: + parts = parse_req_from_editable(editable_req) + + return InstallRequirement( + parts.requirement, + comes_from=comes_from, + user_supplied=user_supplied, + editable=True, + permit_editable_wheels=permit_editable_wheels, + link=parts.link, + constraint=constraint, + use_pep517=use_pep517, + isolated=isolated, + global_options=global_options, + hash_options=hash_options, + config_settings=config_settings, + extras=parts.extras, + ) + + +def _looks_like_path(name: str) -> bool: + """Checks whether the string "looks like" a path on the filesystem. + + This does not check whether the target actually exists, only judge from the + appearance. + + Returns true if any of the following conditions is true: + * a path separator is found (either os.path.sep or os.path.altsep); + * a dot is found (which represents the current directory). + """ + if os.path.sep in name: + return True + if os.path.altsep is not None and os.path.altsep in name: + return True + if name.startswith("."): + return True + return False + + +def _get_url_from_path(path: str, name: str) -> str | None: + """ + First, it checks whether a provided path is an installable directory. If it + is, returns the path. + + If false, check if the path is an archive file (such as a .whl). + The function checks if the path is a file. If false, if the path has + an @, it will treat it as a PEP 440 URL requirement and return the path. + """ + if _looks_like_path(name) and os.path.isdir(path): + if is_installable_dir(path): + return path_to_url(path) + # TODO: The is_installable_dir test here might not be necessary + # now that it is done in load_pyproject_toml too. + raise InstallationError( + f"Directory {name!r} is not installable. Neither 'setup.py' " + "nor 'pyproject.toml' found." + ) + if not is_archive_file(path): + return None + if os.path.isfile(path): + return path_to_url(path) + urlreq_parts = name.split("@", 1) + if len(urlreq_parts) >= 2 and not _looks_like_path(urlreq_parts[0]): + # If the path contains '@' and the part before it does not look + # like a path, try to treat it as a PEP 440 URL req instead. + return None + logger.warning( + "Requirement %r looks like a filename, but the file does not exist", + name, + ) + return path_to_url(path) + + +def parse_req_from_line(name: str, line_source: str | None) -> RequirementParts: + if is_url(name): + marker_sep = "; " + else: + marker_sep = ";" + if marker_sep in name: + name, markers_as_string = name.split(marker_sep, 1) + markers_as_string = markers_as_string.strip() + if not markers_as_string: + markers = None + else: + markers = Marker(markers_as_string) + else: + markers = None + name = name.strip() + req_as_string = None + path = os.path.normpath(os.path.abspath(name)) + link = None + extras_as_string = None + + if is_url(name): + link = Link(name) + else: + p, extras_as_string = _strip_extras(path) + url = _get_url_from_path(p, name) + if url is not None: + link = Link(url) + + # it's a local file, dir, or url + if link: + # Handle relative file URLs + if link.scheme == "file" and re.search(r"\.\./", link.url): + link = Link(path_to_url(os.path.normpath(os.path.abspath(link.path)))) + # wheel file + if link.is_wheel: + wheel = Wheel(link.filename) # can raise InvalidWheelFilename + req_as_string = f"{wheel.name}=={wheel.version}" + else: + # set the req to the egg fragment. when it's not there, this + # will become an 'unnamed' requirement + req_as_string = link.egg_fragment + + # a requirement specifier + else: + req_as_string = name + + extras = convert_extras(extras_as_string) + + def with_source(text: str) -> str: + if not line_source: + return text + return f"{text} (from {line_source})" + + def _parse_req_string(req_as_string: str) -> Requirement: + try: + return get_requirement(req_as_string) + except InvalidRequirement as exc: + if os.path.sep in req_as_string: + add_msg = "It looks like a path." + add_msg += deduce_helpful_msg(req_as_string) + elif "=" in req_as_string and not any( + op in req_as_string for op in operators + ): + add_msg = "= is not a valid operator. Did you mean == ?" + else: + add_msg = "" + msg = with_source(f"Invalid requirement: {req_as_string!r}: {exc}") + if add_msg: + msg += f"\nHint: {add_msg}" + raise InstallationError(msg) + + if req_as_string is not None: + req: Requirement | None = _parse_req_string(req_as_string) + else: + req = None + + return RequirementParts(req, link, markers, extras) + + +def install_req_from_line( + name: str, + comes_from: str | InstallRequirement | None = None, + *, + use_pep517: bool | None = None, + isolated: bool = False, + global_options: list[str] | None = None, + hash_options: dict[str, list[str]] | None = None, + constraint: bool = False, + line_source: str | None = None, + user_supplied: bool = False, + config_settings: dict[str, str | list[str]] | None = None, +) -> InstallRequirement: + """Creates an InstallRequirement from a name, which might be a + requirement, directory containing 'setup.py', filename, or URL. + + :param line_source: An optional string describing where the line is from, + for logging purposes in case of an error. + """ + parts = parse_req_from_line(name, line_source) + + return InstallRequirement( + parts.requirement, + comes_from, + link=parts.link, + markers=parts.markers, + use_pep517=use_pep517, + isolated=isolated, + global_options=global_options, + hash_options=hash_options, + config_settings=config_settings, + constraint=constraint, + extras=parts.extras, + user_supplied=user_supplied, + ) + + +def install_req_from_req_string( + req_string: str, + comes_from: InstallRequirement | None = None, + isolated: bool = False, + use_pep517: bool | None = None, + user_supplied: bool = False, +) -> InstallRequirement: + try: + req = get_requirement(req_string) + except InvalidRequirement as exc: + raise InstallationError(f"Invalid requirement: {req_string!r}: {exc}") + + domains_not_allowed = [ + PyPI.file_storage_domain, + TestPyPI.file_storage_domain, + ] + if ( + req.url + and comes_from + and comes_from.link + and comes_from.link.netloc in domains_not_allowed + ): + # Explicitly disallow pypi packages that depend on external urls + raise InstallationError( + "Packages installed from PyPI cannot depend on packages " + "which are not also hosted on PyPI.\n" + f"{comes_from.name} depends on {req} " + ) + + return InstallRequirement( + req, + comes_from, + isolated=isolated, + use_pep517=use_pep517, + user_supplied=user_supplied, + ) + + +def install_req_from_parsed_requirement( + parsed_req: ParsedRequirement, + isolated: bool = False, + use_pep517: bool | None = None, + user_supplied: bool = False, + config_settings: dict[str, str | list[str]] | None = None, +) -> InstallRequirement: + if parsed_req.is_editable: + req = install_req_from_editable( + parsed_req.requirement, + comes_from=parsed_req.comes_from, + use_pep517=use_pep517, + constraint=parsed_req.constraint, + isolated=isolated, + user_supplied=user_supplied, + config_settings=config_settings, + ) + + else: + req = install_req_from_line( + parsed_req.requirement, + comes_from=parsed_req.comes_from, + use_pep517=use_pep517, + isolated=isolated, + global_options=( + parsed_req.options.get("global_options", []) + if parsed_req.options + else [] + ), + hash_options=( + parsed_req.options.get("hashes", {}) if parsed_req.options else {} + ), + constraint=parsed_req.constraint, + line_source=parsed_req.line_source, + user_supplied=user_supplied, + config_settings=config_settings, + ) + return req + + +def install_req_from_link_and_ireq( + link: Link, ireq: InstallRequirement +) -> InstallRequirement: + return InstallRequirement( + req=ireq.req, + comes_from=ireq.comes_from, + editable=ireq.editable, + link=link, + markers=ireq.markers, + use_pep517=ireq.use_pep517, + isolated=ireq.isolated, + global_options=ireq.global_options, + hash_options=ireq.hash_options, + config_settings=ireq.config_settings, + user_supplied=ireq.user_supplied, + ) + + +def install_req_drop_extras(ireq: InstallRequirement) -> InstallRequirement: + """ + Creates a new InstallationRequirement using the given template but without + any extras. Sets the original requirement as the new one's parent + (comes_from). + """ + return InstallRequirement( + req=( + _set_requirement_extras(ireq.req, set()) if ireq.req is not None else None + ), + comes_from=ireq, + editable=ireq.editable, + link=ireq.link, + markers=ireq.markers, + use_pep517=ireq.use_pep517, + isolated=ireq.isolated, + global_options=ireq.global_options, + hash_options=ireq.hash_options, + constraint=ireq.constraint, + extras=[], + config_settings=ireq.config_settings, + user_supplied=ireq.user_supplied, + permit_editable_wheels=ireq.permit_editable_wheels, + ) + + +def install_req_extend_extras( + ireq: InstallRequirement, + extras: Collection[str], +) -> InstallRequirement: + """ + Returns a copy of an installation requirement with some additional extras. + Makes a shallow copy of the ireq object. + """ + result = copy.copy(ireq) + result.extras = {*ireq.extras, *extras} + result.req = ( + _set_requirement_extras(ireq.req, result.extras) + if ireq.req is not None + else None + ) + return result diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_dependency_group.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_dependency_group.py new file mode 100644 index 0000000000000000000000000000000000000000..396ac1bb63587dff8f60ee1aed071e1f6b86dff4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_dependency_group.py @@ -0,0 +1,75 @@ +from collections.abc import Iterable, Iterator +from typing import Any + +from pip._vendor.dependency_groups import DependencyGroupResolver + +from pip._internal.exceptions import InstallationError +from pip._internal.utils.compat import tomllib + + +def parse_dependency_groups(groups: list[tuple[str, str]]) -> list[str]: + """ + Parse dependency groups data as provided via the CLI, in a `[path:]group` syntax. + + Raises InstallationErrors if anything goes wrong. + """ + resolvers = _build_resolvers(path for (path, _) in groups) + return list(_resolve_all_groups(resolvers, groups)) + + +def _resolve_all_groups( + resolvers: dict[str, DependencyGroupResolver], groups: list[tuple[str, str]] +) -> Iterator[str]: + """ + Run all resolution, converting any error from `DependencyGroupResolver` into + an InstallationError. + """ + for path, groupname in groups: + resolver = resolvers[path] + try: + yield from (str(req) for req in resolver.resolve(groupname)) + except (ValueError, TypeError, LookupError) as e: + raise InstallationError( + f"[dependency-groups] resolution failed for '{groupname}' " + f"from '{path}': {e}" + ) from e + + +def _build_resolvers(paths: Iterable[str]) -> dict[str, Any]: + resolvers = {} + for path in paths: + if path in resolvers: + continue + + pyproject = _load_pyproject(path) + if "dependency-groups" not in pyproject: + raise InstallationError( + f"[dependency-groups] table was missing from '{path}'. " + "Cannot resolve '--group' option." + ) + raw_dependency_groups = pyproject["dependency-groups"] + if not isinstance(raw_dependency_groups, dict): + raise InstallationError( + f"[dependency-groups] table was malformed in {path}. " + "Cannot resolve '--group' option." + ) + + resolvers[path] = DependencyGroupResolver(raw_dependency_groups) + return resolvers + + +def _load_pyproject(path: str) -> dict[str, Any]: + """ + This helper loads a pyproject.toml as TOML. + + It raises an InstallationError if the operation fails. + """ + try: + with open(path, "rb") as fp: + return tomllib.load(fp) + except FileNotFoundError: + raise InstallationError(f"{path} not found. Cannot resolve '--group' option.") + except tomllib.TOMLDecodeError as e: + raise InstallationError(f"Error parsing {path}: {e}") from e + except OSError as e: + raise InstallationError(f"Error reading {path}: {e}") from e diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_file.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_file.py new file mode 100644 index 0000000000000000000000000000000000000000..0aad0a366026d12a341175203a3df1aa712f1fc0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_file.py @@ -0,0 +1,620 @@ +""" +Requirements file parsing +""" + +from __future__ import annotations + +import codecs +import locale +import logging +import optparse +import os +import re +import shlex +import sys +import urllib.parse +from collections.abc import Generator, Iterable +from dataclasses import dataclass +from optparse import Values +from typing import ( + TYPE_CHECKING, + Any, + Callable, + NoReturn, +) + +from pip._internal.cli import cmdoptions +from pip._internal.exceptions import InstallationError, RequirementsFileParseError +from pip._internal.models.search_scope import SearchScope + +if TYPE_CHECKING: + from pip._internal.index.package_finder import PackageFinder + from pip._internal.network.session import PipSession + +__all__ = ["parse_requirements"] + +ReqFileLines = Iterable[tuple[int, str]] + +LineParser = Callable[[str], tuple[str, Values]] + +SCHEME_RE = re.compile(r"^(http|https|file):", re.I) +COMMENT_RE = re.compile(r"(^|\s+)#.*$") + +# Matches environment variable-style values in '${MY_VARIABLE_1}' with the +# variable name consisting of only uppercase letters, digits or the '_' +# (underscore). This follows the POSIX standard defined in IEEE Std 1003.1, +# 2013 Edition. +ENV_VAR_RE = re.compile(r"(?P\$\{(?P[A-Z0-9_]+)\})") + +SUPPORTED_OPTIONS: list[Callable[..., optparse.Option]] = [ + cmdoptions.index_url, + cmdoptions.extra_index_url, + cmdoptions.no_index, + cmdoptions.constraints, + cmdoptions.requirements, + cmdoptions.editable, + cmdoptions.find_links, + cmdoptions.no_binary, + cmdoptions.only_binary, + cmdoptions.prefer_binary, + cmdoptions.require_hashes, + cmdoptions.pre, + cmdoptions.trusted_host, + cmdoptions.use_new_feature, +] + +# options to be passed to requirements +SUPPORTED_OPTIONS_REQ: list[Callable[..., optparse.Option]] = [ + cmdoptions.global_options, + cmdoptions.hash, + cmdoptions.config_settings, +] + +SUPPORTED_OPTIONS_EDITABLE_REQ: list[Callable[..., optparse.Option]] = [ + cmdoptions.config_settings, +] + + +# the 'dest' string values +SUPPORTED_OPTIONS_REQ_DEST = [str(o().dest) for o in SUPPORTED_OPTIONS_REQ] +SUPPORTED_OPTIONS_EDITABLE_REQ_DEST = [ + str(o().dest) for o in SUPPORTED_OPTIONS_EDITABLE_REQ +] + +# order of BOMS is important: codecs.BOM_UTF16_LE is a prefix of codecs.BOM_UTF32_LE +# so data.startswith(BOM_UTF16_LE) would be true for UTF32_LE data +BOMS: list[tuple[bytes, str]] = [ + (codecs.BOM_UTF8, "utf-8"), + (codecs.BOM_UTF32, "utf-32"), + (codecs.BOM_UTF32_BE, "utf-32-be"), + (codecs.BOM_UTF32_LE, "utf-32-le"), + (codecs.BOM_UTF16, "utf-16"), + (codecs.BOM_UTF16_BE, "utf-16-be"), + (codecs.BOM_UTF16_LE, "utf-16-le"), +] + +PEP263_ENCODING_RE = re.compile(rb"coding[:=]\s*([-\w.]+)") +DEFAULT_ENCODING = "utf-8" + +logger = logging.getLogger(__name__) + + +@dataclass(frozen=True) +class ParsedRequirement: + # TODO: replace this with slots=True when dropping Python 3.9 support. + __slots__ = ( + "requirement", + "is_editable", + "comes_from", + "constraint", + "options", + "line_source", + ) + + requirement: str + is_editable: bool + comes_from: str + constraint: bool + options: dict[str, Any] | None + line_source: str | None + + +@dataclass(frozen=True) +class ParsedLine: + __slots__ = ("filename", "lineno", "args", "opts", "constraint") + + filename: str + lineno: int + args: str + opts: Values + constraint: bool + + @property + def is_editable(self) -> bool: + return bool(self.opts.editables) + + @property + def requirement(self) -> str | None: + if self.args: + return self.args + elif self.is_editable: + # We don't support multiple -e on one line + return self.opts.editables[0] + return None + + +def parse_requirements( + filename: str, + session: PipSession, + finder: PackageFinder | None = None, + options: optparse.Values | None = None, + constraint: bool = False, +) -> Generator[ParsedRequirement, None, None]: + """Parse a requirements file and yield ParsedRequirement instances. + + :param filename: Path or url of requirements file. + :param session: PipSession instance. + :param finder: Instance of pip.index.PackageFinder. + :param options: cli options. + :param constraint: If true, parsing a constraint file rather than + requirements file. + """ + line_parser = get_line_parser(finder) + parser = RequirementsFileParser(session, line_parser) + + for parsed_line in parser.parse(filename, constraint): + parsed_req = handle_line( + parsed_line, options=options, finder=finder, session=session + ) + if parsed_req is not None: + yield parsed_req + + +def preprocess(content: str) -> ReqFileLines: + """Split, filter, and join lines, and return a line iterator + + :param content: the content of the requirements file + """ + lines_enum: ReqFileLines = enumerate(content.splitlines(), start=1) + lines_enum = join_lines(lines_enum) + lines_enum = ignore_comments(lines_enum) + lines_enum = expand_env_variables(lines_enum) + return lines_enum + + +def handle_requirement_line( + line: ParsedLine, + options: optparse.Values | None = None, +) -> ParsedRequirement: + # preserve for the nested code path + line_comes_from = "{} {} (line {})".format( + "-c" if line.constraint else "-r", + line.filename, + line.lineno, + ) + + assert line.requirement is not None + + # get the options that apply to requirements + if line.is_editable: + supported_dest = SUPPORTED_OPTIONS_EDITABLE_REQ_DEST + else: + supported_dest = SUPPORTED_OPTIONS_REQ_DEST + req_options = {} + for dest in supported_dest: + if dest in line.opts.__dict__ and line.opts.__dict__[dest]: + req_options[dest] = line.opts.__dict__[dest] + + line_source = f"line {line.lineno} of {line.filename}" + return ParsedRequirement( + requirement=line.requirement, + is_editable=line.is_editable, + comes_from=line_comes_from, + constraint=line.constraint, + options=req_options, + line_source=line_source, + ) + + +def handle_option_line( + opts: Values, + filename: str, + lineno: int, + finder: PackageFinder | None = None, + options: optparse.Values | None = None, + session: PipSession | None = None, +) -> None: + if opts.hashes: + logger.warning( + "%s line %s has --hash but no requirement, and will be ignored.", + filename, + lineno, + ) + + if options: + # percolate options upward + if opts.require_hashes: + options.require_hashes = opts.require_hashes + if opts.features_enabled: + options.features_enabled.extend( + f for f in opts.features_enabled if f not in options.features_enabled + ) + + # set finder options + if finder: + find_links = finder.find_links + index_urls = finder.index_urls + no_index = finder.search_scope.no_index + if opts.no_index is True: + no_index = True + index_urls = [] + if opts.index_url and not no_index: + index_urls = [opts.index_url] + if opts.extra_index_urls and not no_index: + index_urls.extend(opts.extra_index_urls) + if opts.find_links: + # FIXME: it would be nice to keep track of the source + # of the find_links: support a find-links local path + # relative to a requirements file. + value = opts.find_links[0] + req_dir = os.path.dirname(os.path.abspath(filename)) + relative_to_reqs_file = os.path.join(req_dir, value) + if os.path.exists(relative_to_reqs_file): + value = relative_to_reqs_file + find_links.append(value) + + if session: + # We need to update the auth urls in session + session.update_index_urls(index_urls) + + search_scope = SearchScope( + find_links=find_links, + index_urls=index_urls, + no_index=no_index, + ) + finder.search_scope = search_scope + + if opts.pre: + finder.set_allow_all_prereleases() + + if opts.prefer_binary: + finder.set_prefer_binary() + + if session: + for host in opts.trusted_hosts or []: + source = f"line {lineno} of {filename}" + session.add_trusted_host(host, source=source) + + +def handle_line( + line: ParsedLine, + options: optparse.Values | None = None, + finder: PackageFinder | None = None, + session: PipSession | None = None, +) -> ParsedRequirement | None: + """Handle a single parsed requirements line; This can result in + creating/yielding requirements, or updating the finder. + + :param line: The parsed line to be processed. + :param options: CLI options. + :param finder: The finder - updated by non-requirement lines. + :param session: The session - updated by non-requirement lines. + + Returns a ParsedRequirement object if the line is a requirement line, + otherwise returns None. + + For lines that contain requirements, the only options that have an effect + are from SUPPORTED_OPTIONS_REQ, and they are scoped to the + requirement. Other options from SUPPORTED_OPTIONS may be present, but are + ignored. + + For lines that do not contain requirements, the only options that have an + effect are from SUPPORTED_OPTIONS. Options from SUPPORTED_OPTIONS_REQ may + be present, but are ignored. These lines may contain multiple options + (although our docs imply only one is supported), and all our parsed and + affect the finder. + """ + + if line.requirement is not None: + parsed_req = handle_requirement_line(line, options) + return parsed_req + else: + handle_option_line( + line.opts, + line.filename, + line.lineno, + finder, + options, + session, + ) + return None + + +class RequirementsFileParser: + def __init__( + self, + session: PipSession, + line_parser: LineParser, + ) -> None: + self._session = session + self._line_parser = line_parser + + def parse( + self, filename: str, constraint: bool + ) -> Generator[ParsedLine, None, None]: + """Parse a given file, yielding parsed lines.""" + yield from self._parse_and_recurse( + filename, constraint, [{os.path.abspath(filename): None}] + ) + + def _parse_and_recurse( + self, + filename: str, + constraint: bool, + parsed_files_stack: list[dict[str, str | None]], + ) -> Generator[ParsedLine, None, None]: + for line in self._parse_file(filename, constraint): + if line.requirement is None and ( + line.opts.requirements or line.opts.constraints + ): + # parse a nested requirements file + if line.opts.requirements: + req_path = line.opts.requirements[0] + nested_constraint = False + else: + req_path = line.opts.constraints[0] + nested_constraint = True + + # original file is over http + if SCHEME_RE.search(filename): + # do a url join so relative paths work + req_path = urllib.parse.urljoin(filename, req_path) + # original file and nested file are paths + elif not SCHEME_RE.search(req_path): + # do a join so relative paths work + # and then abspath so that we can identify recursive references + req_path = os.path.abspath( + os.path.join( + os.path.dirname(filename), + req_path, + ) + ) + parsed_files = parsed_files_stack[0] + if req_path in parsed_files: + initial_file = parsed_files[req_path] + tail = ( + f" and again in {initial_file}" + if initial_file is not None + else "" + ) + raise RequirementsFileParseError( + f"{req_path} recursively references itself in {filename}{tail}" + ) + # Keeping a track where was each file first included in + new_parsed_files = parsed_files.copy() + new_parsed_files[req_path] = filename + yield from self._parse_and_recurse( + req_path, nested_constraint, [new_parsed_files, *parsed_files_stack] + ) + else: + yield line + + def _parse_file( + self, filename: str, constraint: bool + ) -> Generator[ParsedLine, None, None]: + _, content = get_file_content(filename, self._session) + + lines_enum = preprocess(content) + + for line_number, line in lines_enum: + try: + args_str, opts = self._line_parser(line) + except OptionParsingError as e: + # add offending line + msg = f"Invalid requirement: {line}\n{e.msg}" + raise RequirementsFileParseError(msg) + + yield ParsedLine( + filename, + line_number, + args_str, + opts, + constraint, + ) + + +def get_line_parser(finder: PackageFinder | None) -> LineParser: + def parse_line(line: str) -> tuple[str, Values]: + # Build new parser for each line since it accumulates appendable + # options. + parser = build_parser() + defaults = parser.get_default_values() + defaults.index_url = None + if finder: + defaults.format_control = finder.format_control + + args_str, options_str = break_args_options(line) + + try: + options = shlex.split(options_str) + except ValueError as e: + raise OptionParsingError(f"Could not split options: {options_str}") from e + + opts, _ = parser.parse_args(options, defaults) + + return args_str, opts + + return parse_line + + +def break_args_options(line: str) -> tuple[str, str]: + """Break up the line into an args and options string. We only want to shlex + (and then optparse) the options, not the args. args can contain markers + which are corrupted by shlex. + """ + tokens = line.split(" ") + args = [] + options = tokens[:] + for token in tokens: + if token.startswith(("-", "--")): + break + else: + args.append(token) + options.pop(0) + return " ".join(args), " ".join(options) + + +class OptionParsingError(Exception): + def __init__(self, msg: str) -> None: + self.msg = msg + + +def build_parser() -> optparse.OptionParser: + """ + Return a parser for parsing requirement lines + """ + parser = optparse.OptionParser(add_help_option=False) + + option_factories = SUPPORTED_OPTIONS + SUPPORTED_OPTIONS_REQ + for option_factory in option_factories: + option = option_factory() + parser.add_option(option) + + # By default optparse sys.exits on parsing errors. We want to wrap + # that in our own exception. + def parser_exit(self: Any, msg: str) -> NoReturn: + raise OptionParsingError(msg) + + # NOTE: mypy disallows assigning to a method + # https://github.com/python/mypy/issues/2427 + parser.exit = parser_exit # type: ignore + + return parser + + +def join_lines(lines_enum: ReqFileLines) -> ReqFileLines: + """Joins a line ending in '\' with the previous line (except when following + comments). The joined line takes on the index of the first line. + """ + primary_line_number = None + new_line: list[str] = [] + for line_number, line in lines_enum: + if not line.endswith("\\") or COMMENT_RE.match(line): + if COMMENT_RE.match(line): + # this ensures comments are always matched later + line = " " + line + if new_line: + new_line.append(line) + assert primary_line_number is not None + yield primary_line_number, "".join(new_line) + new_line = [] + else: + yield line_number, line + else: + if not new_line: + primary_line_number = line_number + new_line.append(line.strip("\\")) + + # last line contains \ + if new_line: + assert primary_line_number is not None + yield primary_line_number, "".join(new_line) + + # TODO: handle space after '\'. + + +def ignore_comments(lines_enum: ReqFileLines) -> ReqFileLines: + """ + Strips comments and filter empty lines. + """ + for line_number, line in lines_enum: + line = COMMENT_RE.sub("", line) + line = line.strip() + if line: + yield line_number, line + + +def expand_env_variables(lines_enum: ReqFileLines) -> ReqFileLines: + """Replace all environment variables that can be retrieved via `os.getenv`. + + The only allowed format for environment variables defined in the + requirement file is `${MY_VARIABLE_1}` to ensure two things: + + 1. Strings that contain a `$` aren't accidentally (partially) expanded. + 2. Ensure consistency across platforms for requirement files. + + These points are the result of a discussion on the `github pull + request #3514 `_. + + Valid characters in variable names follow the `POSIX standard + `_ and are limited + to uppercase letter, digits and the `_` (underscore). + """ + for line_number, line in lines_enum: + for env_var, var_name in ENV_VAR_RE.findall(line): + value = os.getenv(var_name) + if not value: + continue + + line = line.replace(env_var, value) + + yield line_number, line + + +def get_file_content(url: str, session: PipSession) -> tuple[str, str]: + """Gets the content of a file; it may be a filename, file: URL, or + http: URL. Returns (location, content). Content is unicode. + Respects # -*- coding: declarations on the retrieved files. + + :param url: File path or url. + :param session: PipSession instance. + """ + scheme = urllib.parse.urlsplit(url).scheme + # Pip has special support for file:// URLs (LocalFSAdapter). + if scheme in ["http", "https", "file"]: + # Delay importing heavy network modules until absolutely necessary. + from pip._internal.network.utils import raise_for_status + + resp = session.get(url) + raise_for_status(resp) + return resp.url, resp.text + + # Assume this is a bare path. + try: + with open(url, "rb") as f: + raw_content = f.read() + except OSError as exc: + raise InstallationError(f"Could not open requirements file: {exc}") + + content = _decode_req_file(raw_content, url) + + return url, content + + +def _decode_req_file(data: bytes, url: str) -> str: + for bom, encoding in BOMS: + if data.startswith(bom): + return data[len(bom) :].decode(encoding) + + for line in data.split(b"\n")[:2]: + if line[0:1] == b"#": + result = PEP263_ENCODING_RE.search(line) + if result is not None: + encoding = result.groups()[0].decode("ascii") + return data.decode(encoding) + + try: + return data.decode(DEFAULT_ENCODING) + except UnicodeDecodeError: + locale_encoding = locale.getpreferredencoding(False) or sys.getdefaultencoding() + logging.warning( + "unable to decode data from %s with default encoding %s, " + "falling back to encoding from locale: %s. " + "If this is intentional you should specify the encoding with a " + "PEP-263 style comment, e.g. '# -*- coding: %s -*-'", + url, + DEFAULT_ENCODING, + locale_encoding, + locale_encoding, + ) + return data.decode(locale_encoding) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_install.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_install.py new file mode 100644 index 0000000000000000000000000000000000000000..c9f6bff17e86bc8f0b78f14141309fb36e40c603 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_install.py @@ -0,0 +1,937 @@ +from __future__ import annotations + +import functools +import logging +import os +import shutil +import sys +import uuid +import zipfile +from collections.abc import Collection, Iterable, Sequence +from optparse import Values +from pathlib import Path +from typing import Any + +from pip._vendor.packaging.markers import Marker +from pip._vendor.packaging.requirements import Requirement +from pip._vendor.packaging.specifiers import SpecifierSet +from pip._vendor.packaging.utils import canonicalize_name +from pip._vendor.packaging.version import Version +from pip._vendor.packaging.version import parse as parse_version +from pip._vendor.pyproject_hooks import BuildBackendHookCaller + +from pip._internal.build_env import BuildEnvironment, NoOpBuildEnvironment +from pip._internal.exceptions import InstallationError, PreviousBuildDirError +from pip._internal.locations import get_scheme +from pip._internal.metadata import ( + BaseDistribution, + get_default_environment, + get_directory_distribution, + get_wheel_distribution, +) +from pip._internal.metadata.base import FilesystemWheel +from pip._internal.models.direct_url import DirectUrl +from pip._internal.models.link import Link +from pip._internal.operations.build.metadata import generate_metadata +from pip._internal.operations.build.metadata_editable import generate_editable_metadata +from pip._internal.operations.build.metadata_legacy import ( + generate_metadata as generate_metadata_legacy, +) +from pip._internal.operations.install.editable_legacy import ( + install_editable as install_editable_legacy, +) +from pip._internal.operations.install.wheel import install_wheel +from pip._internal.pyproject import load_pyproject_toml, make_pyproject_path +from pip._internal.req.req_uninstall import UninstallPathSet +from pip._internal.utils.deprecation import deprecated +from pip._internal.utils.hashes import Hashes +from pip._internal.utils.misc import ( + ConfiguredBuildBackendHookCaller, + ask_path_exists, + backup_dir, + display_path, + hide_url, + is_installable_dir, + redact_auth_from_requirement, + redact_auth_from_url, +) +from pip._internal.utils.packaging import get_requirement +from pip._internal.utils.subprocess import runner_with_spinner_message +from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds +from pip._internal.utils.unpacking import unpack_file +from pip._internal.utils.virtualenv import running_under_virtualenv +from pip._internal.vcs import vcs + +logger = logging.getLogger(__name__) + + +class InstallRequirement: + """ + Represents something that may be installed later on, may have information + about where to fetch the relevant requirement and also contains logic for + installing the said requirement. + """ + + def __init__( + self, + req: Requirement | None, + comes_from: str | InstallRequirement | None, + editable: bool = False, + link: Link | None = None, + markers: Marker | None = None, + use_pep517: bool | None = None, + isolated: bool = False, + *, + global_options: list[str] | None = None, + hash_options: dict[str, list[str]] | None = None, + config_settings: dict[str, str | list[str]] | None = None, + constraint: bool = False, + extras: Collection[str] = (), + user_supplied: bool = False, + permit_editable_wheels: bool = False, + ) -> None: + assert req is None or isinstance(req, Requirement), req + self.req = req + self.comes_from = comes_from + self.constraint = constraint + self.editable = editable + self.permit_editable_wheels = permit_editable_wheels + + # source_dir is the local directory where the linked requirement is + # located, or unpacked. In case unpacking is needed, creating and + # populating source_dir is done by the RequirementPreparer. Note this + # is not necessarily the directory where pyproject.toml or setup.py is + # located - that one is obtained via unpacked_source_directory. + self.source_dir: str | None = None + if self.editable: + assert link + if link.is_file: + self.source_dir = os.path.normpath(os.path.abspath(link.file_path)) + + # original_link is the direct URL that was provided by the user for the + # requirement, either directly or via a constraints file. + if link is None and req and req.url: + # PEP 508 URL requirement + link = Link(req.url) + self.link = self.original_link = link + + # When this InstallRequirement is a wheel obtained from the cache of locally + # built wheels, this is the source link corresponding to the cache entry, which + # was used to download and build the cached wheel. + self.cached_wheel_source_link: Link | None = None + + # Information about the location of the artifact that was downloaded . This + # property is guaranteed to be set in resolver results. + self.download_info: DirectUrl | None = None + + # Path to any downloaded or already-existing package. + self.local_file_path: str | None = None + if self.link and self.link.is_file: + self.local_file_path = self.link.file_path + + if extras: + self.extras = extras + elif req: + self.extras = req.extras + else: + self.extras = set() + if markers is None and req: + markers = req.marker + self.markers = markers + + # This holds the Distribution object if this requirement is already installed. + self.satisfied_by: BaseDistribution | None = None + # Whether the installation process should try to uninstall an existing + # distribution before installing this requirement. + self.should_reinstall = False + # Temporary build location + self._temp_build_dir: TempDirectory | None = None + # Set to True after successful installation + self.install_succeeded: bool | None = None + # Supplied options + self.global_options = global_options if global_options else [] + self.hash_options = hash_options if hash_options else {} + self.config_settings = config_settings + # Set to True after successful preparation of this requirement + self.prepared = False + # User supplied requirement are explicitly requested for installation + # by the user via CLI arguments or requirements files, as opposed to, + # e.g. dependencies, extras or constraints. + self.user_supplied = user_supplied + + self.isolated = isolated + self.build_env: BuildEnvironment = NoOpBuildEnvironment() + + # For PEP 517, the directory where we request the project metadata + # gets stored. We need this to pass to build_wheel, so the backend + # can ensure that the wheel matches the metadata (see the PEP for + # details). + self.metadata_directory: str | None = None + + # The static build requirements (from pyproject.toml) + self.pyproject_requires: list[str] | None = None + + # Build requirements that we will check are available + self.requirements_to_check: list[str] = [] + + # The PEP 517 backend we should use to build the project + self.pep517_backend: BuildBackendHookCaller | None = None + + # Are we using PEP 517 for this requirement? + # After pyproject.toml has been loaded, the only valid values are True + # and False. Before loading, None is valid (meaning "use the default"). + # Setting an explicit value before loading pyproject.toml is supported, + # but after loading this flag should be treated as read only. + self.use_pep517 = use_pep517 + + # If config settings are provided, enforce PEP 517. + if self.config_settings: + if self.use_pep517 is False: + logger.warning( + "--no-use-pep517 ignored for %s " + "because --config-settings are specified.", + self, + ) + self.use_pep517 = True + + # This requirement needs more preparation before it can be built + self.needs_more_preparation = False + + # This requirement needs to be unpacked before it can be installed. + self._archive_source: Path | None = None + + def __str__(self) -> str: + if self.req: + s = redact_auth_from_requirement(self.req) + if self.link: + s += f" from {redact_auth_from_url(self.link.url)}" + elif self.link: + s = redact_auth_from_url(self.link.url) + else: + s = "" + if self.satisfied_by is not None: + if self.satisfied_by.location is not None: + location = display_path(self.satisfied_by.location) + else: + location = "" + s += f" in {location}" + if self.comes_from: + if isinstance(self.comes_from, str): + comes_from: str | None = self.comes_from + else: + comes_from = self.comes_from.from_path() + if comes_from: + s += f" (from {comes_from})" + return s + + def __repr__(self) -> str: + return ( + f"<{self.__class__.__name__} object: " + f"{str(self)} editable={self.editable!r}>" + ) + + def format_debug(self) -> str: + """An un-tested helper for getting state, for debugging.""" + attributes = vars(self) + names = sorted(attributes) + + state = (f"{attr}={attributes[attr]!r}" for attr in sorted(names)) + return "<{name} object: {{{state}}}>".format( + name=self.__class__.__name__, + state=", ".join(state), + ) + + # Things that are valid for all kinds of requirements? + @property + def name(self) -> str | None: + if self.req is None: + return None + return self.req.name + + @functools.cached_property + def supports_pyproject_editable(self) -> bool: + if not self.use_pep517: + return False + assert self.pep517_backend + with self.build_env: + runner = runner_with_spinner_message( + "Checking if build backend supports build_editable" + ) + with self.pep517_backend.subprocess_runner(runner): + return "build_editable" in self.pep517_backend._supported_features() + + @property + def specifier(self) -> SpecifierSet: + assert self.req is not None + return self.req.specifier + + @property + def is_direct(self) -> bool: + """Whether this requirement was specified as a direct URL.""" + return self.original_link is not None + + @property + def is_pinned(self) -> bool: + """Return whether I am pinned to an exact version. + + For example, some-package==1.2 is pinned; some-package>1.2 is not. + """ + assert self.req is not None + specifiers = self.req.specifier + return len(specifiers) == 1 and next(iter(specifiers)).operator in {"==", "==="} + + def match_markers(self, extras_requested: Iterable[str] | None = None) -> bool: + if not extras_requested: + # Provide an extra to safely evaluate the markers + # without matching any extra + extras_requested = ("",) + if self.markers is not None: + return any( + self.markers.evaluate({"extra": extra}) for extra in extras_requested + ) + else: + return True + + @property + def has_hash_options(self) -> bool: + """Return whether any known-good hashes are specified as options. + + These activate --require-hashes mode; hashes specified as part of a + URL do not. + + """ + return bool(self.hash_options) + + def hashes(self, trust_internet: bool = True) -> Hashes: + """Return a hash-comparer that considers my option- and URL-based + hashes to be known-good. + + Hashes in URLs--ones embedded in the requirements file, not ones + downloaded from an index server--are almost peers with ones from + flags. They satisfy --require-hashes (whether it was implicitly or + explicitly activated) but do not activate it. md5 and sha224 are not + allowed in flags, which should nudge people toward good algos. We + always OR all hashes together, even ones from URLs. + + :param trust_internet: Whether to trust URL-based (#md5=...) hashes + downloaded from the internet, as by populate_link() + + """ + good_hashes = self.hash_options.copy() + if trust_internet: + link = self.link + elif self.is_direct and self.user_supplied: + link = self.original_link + else: + link = None + if link and link.hash: + assert link.hash_name is not None + good_hashes.setdefault(link.hash_name, []).append(link.hash) + return Hashes(good_hashes) + + def from_path(self) -> str | None: + """Format a nice indicator to show where this "comes from" """ + if self.req is None: + return None + s = str(self.req) + if self.comes_from: + comes_from: str | None + if isinstance(self.comes_from, str): + comes_from = self.comes_from + else: + comes_from = self.comes_from.from_path() + if comes_from: + s += "->" + comes_from + return s + + def ensure_build_location( + self, build_dir: str, autodelete: bool, parallel_builds: bool + ) -> str: + assert build_dir is not None + if self._temp_build_dir is not None: + assert self._temp_build_dir.path + return self._temp_build_dir.path + if self.req is None: + # Some systems have /tmp as a symlink which confuses custom + # builds (such as numpy). Thus, we ensure that the real path + # is returned. + self._temp_build_dir = TempDirectory( + kind=tempdir_kinds.REQ_BUILD, globally_managed=True + ) + + return self._temp_build_dir.path + + # This is the only remaining place where we manually determine the path + # for the temporary directory. It is only needed for editables where + # it is the value of the --src option. + + # When parallel builds are enabled, add a UUID to the build directory + # name so multiple builds do not interfere with each other. + dir_name: str = canonicalize_name(self.req.name) + if parallel_builds: + dir_name = f"{dir_name}_{uuid.uuid4().hex}" + + # FIXME: Is there a better place to create the build_dir? (hg and bzr + # need this) + if not os.path.exists(build_dir): + logger.debug("Creating directory %s", build_dir) + os.makedirs(build_dir) + actual_build_dir = os.path.join(build_dir, dir_name) + # `None` indicates that we respect the globally-configured deletion + # settings, which is what we actually want when auto-deleting. + delete_arg = None if autodelete else False + return TempDirectory( + path=actual_build_dir, + delete=delete_arg, + kind=tempdir_kinds.REQ_BUILD, + globally_managed=True, + ).path + + def _set_requirement(self) -> None: + """Set requirement after generating metadata.""" + assert self.req is None + assert self.metadata is not None + assert self.source_dir is not None + + # Construct a Requirement object from the generated metadata + if isinstance(parse_version(self.metadata["Version"]), Version): + op = "==" + else: + op = "===" + + self.req = get_requirement( + "".join( + [ + self.metadata["Name"], + op, + self.metadata["Version"], + ] + ) + ) + + def warn_on_mismatching_name(self) -> None: + assert self.req is not None + metadata_name = canonicalize_name(self.metadata["Name"]) + if canonicalize_name(self.req.name) == metadata_name: + # Everything is fine. + return + + # If we're here, there's a mismatch. Log a warning about it. + logger.warning( + "Generating metadata for package %s " + "produced metadata for project name %s. Fix your " + "#egg=%s fragments.", + self.name, + metadata_name, + self.name, + ) + self.req = get_requirement(metadata_name) + + def check_if_exists(self, use_user_site: bool) -> None: + """Find an installed distribution that satisfies or conflicts + with this requirement, and set self.satisfied_by or + self.should_reinstall appropriately. + """ + if self.req is None: + return + existing_dist = get_default_environment().get_distribution(self.req.name) + if not existing_dist: + return + + version_compatible = self.req.specifier.contains( + existing_dist.version, + prereleases=True, + ) + if not version_compatible: + self.satisfied_by = None + if use_user_site: + if existing_dist.in_usersite: + self.should_reinstall = True + elif running_under_virtualenv() and existing_dist.in_site_packages: + raise InstallationError( + f"Will not install to the user site because it will " + f"lack sys.path precedence to {existing_dist.raw_name} " + f"in {existing_dist.location}" + ) + else: + self.should_reinstall = True + else: + if self.editable: + self.should_reinstall = True + # when installing editables, nothing pre-existing should ever + # satisfy + self.satisfied_by = None + else: + self.satisfied_by = existing_dist + + # Things valid for wheels + @property + def is_wheel(self) -> bool: + if not self.link: + return False + return self.link.is_wheel + + @property + def is_wheel_from_cache(self) -> bool: + # When True, it means that this InstallRequirement is a local wheel file in the + # cache of locally built wheels. + return self.cached_wheel_source_link is not None + + # Things valid for sdists + @property + def unpacked_source_directory(self) -> str: + assert self.source_dir, f"No source dir for {self}" + return os.path.join( + self.source_dir, self.link and self.link.subdirectory_fragment or "" + ) + + @property + def setup_py_path(self) -> str: + assert self.source_dir, f"No source dir for {self}" + setup_py = os.path.join(self.unpacked_source_directory, "setup.py") + + return setup_py + + @property + def setup_cfg_path(self) -> str: + assert self.source_dir, f"No source dir for {self}" + setup_cfg = os.path.join(self.unpacked_source_directory, "setup.cfg") + + return setup_cfg + + @property + def pyproject_toml_path(self) -> str: + assert self.source_dir, f"No source dir for {self}" + return make_pyproject_path(self.unpacked_source_directory) + + def load_pyproject_toml(self) -> None: + """Load the pyproject.toml file. + + After calling this routine, all of the attributes related to PEP 517 + processing for this requirement have been set. In particular, the + use_pep517 attribute can be used to determine whether we should + follow the PEP 517 or legacy (setup.py) code path. + """ + pyproject_toml_data = load_pyproject_toml( + self.use_pep517, self.pyproject_toml_path, self.setup_py_path, str(self) + ) + + if pyproject_toml_data is None: + assert not self.config_settings + self.use_pep517 = False + return + + self.use_pep517 = True + requires, backend, check, backend_path = pyproject_toml_data + self.requirements_to_check = check + self.pyproject_requires = requires + self.pep517_backend = ConfiguredBuildBackendHookCaller( + self, + self.unpacked_source_directory, + backend, + backend_path=backend_path, + ) + + def isolated_editable_sanity_check(self) -> None: + """Check that an editable requirement if valid for use with PEP 517/518. + + This verifies that an editable that has a pyproject.toml either supports PEP 660 + or as a setup.py or a setup.cfg + """ + if ( + self.editable + and self.use_pep517 + and not self.supports_pyproject_editable + and not os.path.isfile(self.setup_py_path) + and not os.path.isfile(self.setup_cfg_path) + ): + raise InstallationError( + f"Project {self} has a 'pyproject.toml' and its build " + f"backend is missing the 'build_editable' hook. Since it does not " + f"have a 'setup.py' nor a 'setup.cfg', " + f"it cannot be installed in editable mode. " + f"Consider using a build backend that supports PEP 660." + ) + + def prepare_metadata(self) -> None: + """Ensure that project metadata is available. + + Under PEP 517 and PEP 660, call the backend hook to prepare the metadata. + Under legacy processing, call setup.py egg-info. + """ + assert self.source_dir, f"No source dir for {self}" + details = self.name or f"from {self.link}" + + if self.use_pep517: + assert self.pep517_backend is not None + if ( + self.editable + and self.permit_editable_wheels + and self.supports_pyproject_editable + ): + self.metadata_directory = generate_editable_metadata( + build_env=self.build_env, + backend=self.pep517_backend, + details=details, + ) + else: + self.metadata_directory = generate_metadata( + build_env=self.build_env, + backend=self.pep517_backend, + details=details, + ) + else: + self.metadata_directory = generate_metadata_legacy( + build_env=self.build_env, + setup_py_path=self.setup_py_path, + source_dir=self.unpacked_source_directory, + isolated=self.isolated, + details=details, + ) + + # Act on the newly generated metadata, based on the name and version. + if not self.name: + self._set_requirement() + else: + self.warn_on_mismatching_name() + + self.assert_source_matches_version() + + @property + def metadata(self) -> Any: + if not hasattr(self, "_metadata"): + self._metadata = self.get_dist().metadata + + return self._metadata + + def get_dist(self) -> BaseDistribution: + if self.metadata_directory: + return get_directory_distribution(self.metadata_directory) + elif self.local_file_path and self.is_wheel: + assert self.req is not None + return get_wheel_distribution( + FilesystemWheel(self.local_file_path), + canonicalize_name(self.req.name), + ) + raise AssertionError( + f"InstallRequirement {self} has no metadata directory and no wheel: " + f"can't make a distribution." + ) + + def assert_source_matches_version(self) -> None: + assert self.source_dir, f"No source dir for {self}" + version = self.metadata["version"] + if self.req and self.req.specifier and version not in self.req.specifier: + logger.warning( + "Requested %s, but installing version %s", + self, + version, + ) + else: + logger.debug( + "Source in %s has version %s, which satisfies requirement %s", + display_path(self.source_dir), + version, + self, + ) + + # For both source distributions and editables + def ensure_has_source_dir( + self, + parent_dir: str, + autodelete: bool = False, + parallel_builds: bool = False, + ) -> None: + """Ensure that a source_dir is set. + + This will create a temporary build dir if the name of the requirement + isn't known yet. + + :param parent_dir: The ideal pip parent_dir for the source_dir. + Generally src_dir for editables and build_dir for sdists. + :return: self.source_dir + """ + if self.source_dir is None: + self.source_dir = self.ensure_build_location( + parent_dir, + autodelete=autodelete, + parallel_builds=parallel_builds, + ) + + def needs_unpacked_archive(self, archive_source: Path) -> None: + assert self._archive_source is None + self._archive_source = archive_source + + def ensure_pristine_source_checkout(self) -> None: + """Ensure the source directory has not yet been built in.""" + assert self.source_dir is not None + if self._archive_source is not None: + unpack_file(str(self._archive_source), self.source_dir) + elif is_installable_dir(self.source_dir): + # If a checkout exists, it's unwise to keep going. + # version inconsistencies are logged later, but do not fail + # the installation. + raise PreviousBuildDirError( + f"pip can't proceed with requirements '{self}' due to a " + f"pre-existing build directory ({self.source_dir}). This is likely " + "due to a previous installation that failed . pip is " + "being responsible and not assuming it can delete this. " + "Please delete it and try again." + ) + + # For editable installations + def update_editable(self) -> None: + if not self.link: + logger.debug( + "Cannot update repository at %s; repository location is unknown", + self.source_dir, + ) + return + assert self.editable + assert self.source_dir + if self.link.scheme == "file": + # Static paths don't get updated + return + vcs_backend = vcs.get_backend_for_scheme(self.link.scheme) + # Editable requirements are validated in Requirement constructors. + # So here, if it's neither a path nor a valid VCS URL, it's a bug. + assert vcs_backend, f"Unsupported VCS URL {self.link.url}" + hidden_url = hide_url(self.link.url) + vcs_backend.obtain(self.source_dir, url=hidden_url, verbosity=0) + + # Top-level Actions + def uninstall( + self, auto_confirm: bool = False, verbose: bool = False + ) -> UninstallPathSet | None: + """ + Uninstall the distribution currently satisfying this requirement. + + Prompts before removing or modifying files unless + ``auto_confirm`` is True. + + Refuses to delete or modify files outside of ``sys.prefix`` - + thus uninstallation within a virtual environment can only + modify that virtual environment, even if the virtualenv is + linked to global site-packages. + + """ + assert self.req + dist = get_default_environment().get_distribution(self.req.name) + if not dist: + logger.warning("Skipping %s as it is not installed.", self.name) + return None + logger.info("Found existing installation: %s", dist) + + uninstalled_pathset = UninstallPathSet.from_dist(dist) + uninstalled_pathset.remove(auto_confirm, verbose) + return uninstalled_pathset + + def _get_archive_name(self, path: str, parentdir: str, rootdir: str) -> str: + def _clean_zip_name(name: str, prefix: str) -> str: + assert name.startswith( + prefix + os.path.sep + ), f"name {name!r} doesn't start with prefix {prefix!r}" + name = name[len(prefix) + 1 :] + name = name.replace(os.path.sep, "/") + return name + + assert self.req is not None + path = os.path.join(parentdir, path) + name = _clean_zip_name(path, rootdir) + return self.req.name + "/" + name + + def archive(self, build_dir: str | None) -> None: + """Saves archive to provided build_dir. + + Used for saving downloaded VCS requirements as part of `pip download`. + """ + assert self.source_dir + if build_dir is None: + return + + create_archive = True + archive_name = "{}-{}.zip".format(self.name, self.metadata["version"]) + archive_path = os.path.join(build_dir, archive_name) + + if os.path.exists(archive_path): + response = ask_path_exists( + f"The file {display_path(archive_path)} exists. (i)gnore, (w)ipe, " + "(b)ackup, (a)bort ", + ("i", "w", "b", "a"), + ) + if response == "i": + create_archive = False + elif response == "w": + logger.warning("Deleting %s", display_path(archive_path)) + os.remove(archive_path) + elif response == "b": + dest_file = backup_dir(archive_path) + logger.warning( + "Backing up %s to %s", + display_path(archive_path), + display_path(dest_file), + ) + shutil.move(archive_path, dest_file) + elif response == "a": + sys.exit(-1) + + if not create_archive: + return + + zip_output = zipfile.ZipFile( + archive_path, + "w", + zipfile.ZIP_DEFLATED, + allowZip64=True, + ) + with zip_output: + dir = os.path.normcase(os.path.abspath(self.unpacked_source_directory)) + for dirpath, dirnames, filenames in os.walk(dir): + for dirname in dirnames: + dir_arcname = self._get_archive_name( + dirname, + parentdir=dirpath, + rootdir=dir, + ) + zipdir = zipfile.ZipInfo(dir_arcname + "/") + zipdir.external_attr = 0x1ED << 16 # 0o755 + zip_output.writestr(zipdir, "") + for filename in filenames: + file_arcname = self._get_archive_name( + filename, + parentdir=dirpath, + rootdir=dir, + ) + filename = os.path.join(dirpath, filename) + zip_output.write(filename, file_arcname) + + logger.info("Saved %s", display_path(archive_path)) + + def install( + self, + global_options: Sequence[str] | None = None, + root: str | None = None, + home: str | None = None, + prefix: str | None = None, + warn_script_location: bool = True, + use_user_site: bool = False, + pycompile: bool = True, + ) -> None: + assert self.req is not None + scheme = get_scheme( + self.req.name, + user=use_user_site, + home=home, + root=root, + isolated=self.isolated, + prefix=prefix, + ) + + if self.editable and not self.is_wheel: + deprecated( + reason=( + f"Legacy editable install of {self} (setup.py develop) " + "is deprecated." + ), + replacement=( + "to add a pyproject.toml or enable --use-pep517, " + "and use setuptools >= 64. " + "If the resulting installation is not behaving as expected, " + "try using --config-settings editable_mode=compat. " + "Please consult the setuptools documentation for more information" + ), + gone_in="25.3", + issue=11457, + ) + if self.config_settings: + logger.warning( + "--config-settings ignored for legacy editable install of %s. " + "Consider upgrading to a version of setuptools " + "that supports PEP 660 (>= 64).", + self, + ) + install_editable_legacy( + global_options=global_options if global_options is not None else [], + prefix=prefix, + home=home, + use_user_site=use_user_site, + name=self.req.name, + setup_py_path=self.setup_py_path, + isolated=self.isolated, + build_env=self.build_env, + unpacked_source_directory=self.unpacked_source_directory, + ) + self.install_succeeded = True + return + + assert self.is_wheel + assert self.local_file_path + + install_wheel( + self.req.name, + self.local_file_path, + scheme=scheme, + req_description=str(self.req), + pycompile=pycompile, + warn_script_location=warn_script_location, + direct_url=self.download_info if self.is_direct else None, + requested=self.user_supplied, + ) + self.install_succeeded = True + + +def check_invalid_constraint_type(req: InstallRequirement) -> str: + # Check for unsupported forms + problem = "" + if not req.name: + problem = "Unnamed requirements are not allowed as constraints" + elif req.editable: + problem = "Editable requirements are not allowed as constraints" + elif req.extras: + problem = "Constraints cannot have extras" + + if problem: + deprecated( + reason=( + "Constraints are only allowed to take the form of a package " + "name and a version specifier. Other forms were originally " + "permitted as an accident of the implementation, but were " + "undocumented. The new implementation of the resolver no " + "longer supports these forms." + ), + replacement="replacing the constraint with a requirement", + # No plan yet for when the new resolver becomes default + gone_in=None, + issue=8210, + ) + + return problem + + +def _has_option(options: Values, reqs: list[InstallRequirement], option: str) -> bool: + if getattr(options, option, None): + return True + for req in reqs: + if getattr(req, option, None): + return True + return False + + +def check_legacy_setup_py_options( + options: Values, + reqs: list[InstallRequirement], +) -> None: + has_build_options = _has_option(options, reqs, "build_options") + has_global_options = _has_option(options, reqs, "global_options") + if has_build_options or has_global_options: + deprecated( + reason="--build-option and --global-option are deprecated.", + issue=11859, + replacement="to use --config-settings", + gone_in="25.3", + ) + logger.warning( + "Implying --no-binary=:all: due to the presence of " + "--build-option / --global-option. " + ) + options.format_control.disallow_binaries() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_set.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_set.py new file mode 100644 index 0000000000000000000000000000000000000000..3451b24f27bb32da69c178dc8a36723d7de0fa93 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_set.py @@ -0,0 +1,81 @@ +import logging +from collections import OrderedDict + +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.req.req_install import InstallRequirement + +logger = logging.getLogger(__name__) + + +class RequirementSet: + def __init__(self, check_supported_wheels: bool = True) -> None: + """Create a RequirementSet.""" + + self.requirements: dict[str, InstallRequirement] = OrderedDict() + self.check_supported_wheels = check_supported_wheels + + self.unnamed_requirements: list[InstallRequirement] = [] + + def __str__(self) -> str: + requirements = sorted( + (req for req in self.requirements.values() if not req.comes_from), + key=lambda req: canonicalize_name(req.name or ""), + ) + return " ".join(str(req.req) for req in requirements) + + def __repr__(self) -> str: + requirements = sorted( + self.requirements.values(), + key=lambda req: canonicalize_name(req.name or ""), + ) + + format_string = "<{classname} object; {count} requirement(s): {reqs}>" + return format_string.format( + classname=self.__class__.__name__, + count=len(requirements), + reqs=", ".join(str(req.req) for req in requirements), + ) + + def add_unnamed_requirement(self, install_req: InstallRequirement) -> None: + assert not install_req.name + self.unnamed_requirements.append(install_req) + + def add_named_requirement(self, install_req: InstallRequirement) -> None: + assert install_req.name + + project_name = canonicalize_name(install_req.name) + self.requirements[project_name] = install_req + + def has_requirement(self, name: str) -> bool: + project_name = canonicalize_name(name) + + return ( + project_name in self.requirements + and not self.requirements[project_name].constraint + ) + + def get_requirement(self, name: str) -> InstallRequirement: + project_name = canonicalize_name(name) + + if project_name in self.requirements: + return self.requirements[project_name] + + raise KeyError(f"No project with the name {name!r}") + + @property + def all_requirements(self) -> list[InstallRequirement]: + return self.unnamed_requirements + list(self.requirements.values()) + + @property + def requirements_to_install(self) -> list[InstallRequirement]: + """Return the list of requirements that need to be installed. + + TODO remove this property together with the legacy resolver, since the new + resolver only returns requirements that need to be installed. + """ + return [ + install_req + for install_req in self.all_requirements + if not install_req.constraint and not install_req.satisfied_by + ] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_uninstall.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_uninstall.py new file mode 100644 index 0000000000000000000000000000000000000000..3f3dde2fdd943549642edf5d2e935b369023397c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/req/req_uninstall.py @@ -0,0 +1,639 @@ +from __future__ import annotations + +import functools +import os +import sys +import sysconfig +from collections.abc import Generator, Iterable +from importlib.util import cache_from_source +from typing import Any, Callable + +from pip._internal.exceptions import LegacyDistutilsInstall, UninstallMissingRecord +from pip._internal.locations import get_bin_prefix, get_bin_user +from pip._internal.metadata import BaseDistribution +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.egg_link import egg_link_path_from_location +from pip._internal.utils.logging import getLogger, indent_log +from pip._internal.utils.misc import ask, normalize_path, renames, rmtree +from pip._internal.utils.temp_dir import AdjacentTempDirectory, TempDirectory +from pip._internal.utils.virtualenv import running_under_virtualenv + +logger = getLogger(__name__) + + +def _script_names( + bin_dir: str, script_name: str, is_gui: bool +) -> Generator[str, None, None]: + """Create the fully qualified name of the files created by + {console,gui}_scripts for the given ``dist``. + Returns the list of file names + """ + exe_name = os.path.join(bin_dir, script_name) + yield exe_name + if not WINDOWS: + return + yield f"{exe_name}.exe" + yield f"{exe_name}.exe.manifest" + if is_gui: + yield f"{exe_name}-script.pyw" + else: + yield f"{exe_name}-script.py" + + +def _unique( + fn: Callable[..., Generator[Any, None, None]], +) -> Callable[..., Generator[Any, None, None]]: + @functools.wraps(fn) + def unique(*args: Any, **kw: Any) -> Generator[Any, None, None]: + seen: set[Any] = set() + for item in fn(*args, **kw): + if item not in seen: + seen.add(item) + yield item + + return unique + + +@_unique +def uninstallation_paths(dist: BaseDistribution) -> Generator[str, None, None]: + """ + Yield all the uninstallation paths for dist based on RECORD-without-.py[co] + + Yield paths to all the files in RECORD. For each .py file in RECORD, add + the .pyc and .pyo in the same directory. + + UninstallPathSet.add() takes care of the __pycache__ .py[co]. + + If RECORD is not found, raises an error, + with possible information from the INSTALLER file. + + https://packaging.python.org/specifications/recording-installed-packages/ + """ + location = dist.location + assert location is not None, "not installed" + + entries = dist.iter_declared_entries() + if entries is None: + raise UninstallMissingRecord(distribution=dist) + + for entry in entries: + path = os.path.join(location, entry) + yield path + if path.endswith(".py"): + dn, fn = os.path.split(path) + base = fn[:-3] + path = os.path.join(dn, base + ".pyc") + yield path + path = os.path.join(dn, base + ".pyo") + yield path + + +def compact(paths: Iterable[str]) -> set[str]: + """Compact a path set to contain the minimal number of paths + necessary to contain all paths in the set. If /a/path/ and + /a/path/to/a/file.txt are both in the set, leave only the + shorter path.""" + + sep = os.path.sep + short_paths: set[str] = set() + for path in sorted(paths, key=len): + should_skip = any( + path.startswith(shortpath.rstrip("*")) + and path[len(shortpath.rstrip("*").rstrip(sep))] == sep + for shortpath in short_paths + ) + if not should_skip: + short_paths.add(path) + return short_paths + + +def compress_for_rename(paths: Iterable[str]) -> set[str]: + """Returns a set containing the paths that need to be renamed. + + This set may include directories when the original sequence of paths + included every file on disk. + """ + case_map = {os.path.normcase(p): p for p in paths} + remaining = set(case_map) + unchecked = sorted({os.path.split(p)[0] for p in case_map.values()}, key=len) + wildcards: set[str] = set() + + def norm_join(*a: str) -> str: + return os.path.normcase(os.path.join(*a)) + + for root in unchecked: + if any(os.path.normcase(root).startswith(w) for w in wildcards): + # This directory has already been handled. + continue + + all_files: set[str] = set() + all_subdirs: set[str] = set() + for dirname, subdirs, files in os.walk(root): + all_subdirs.update(norm_join(root, dirname, d) for d in subdirs) + all_files.update(norm_join(root, dirname, f) for f in files) + # If all the files we found are in our remaining set of files to + # remove, then remove them from the latter set and add a wildcard + # for the directory. + if not (all_files - remaining): + remaining.difference_update(all_files) + wildcards.add(root + os.sep) + + return set(map(case_map.__getitem__, remaining)) | wildcards + + +def compress_for_output_listing(paths: Iterable[str]) -> tuple[set[str], set[str]]: + """Returns a tuple of 2 sets of which paths to display to user + + The first set contains paths that would be deleted. Files of a package + are not added and the top-level directory of the package has a '*' added + at the end - to signify that all it's contents are removed. + + The second set contains files that would have been skipped in the above + folders. + """ + + will_remove = set(paths) + will_skip = set() + + # Determine folders and files + folders = set() + files = set() + for path in will_remove: + if path.endswith(".pyc"): + continue + if path.endswith("__init__.py") or ".dist-info" in path: + folders.add(os.path.dirname(path)) + files.add(path) + + _normcased_files = set(map(os.path.normcase, files)) + + folders = compact(folders) + + # This walks the tree using os.walk to not miss extra folders + # that might get added. + for folder in folders: + for dirpath, _, dirfiles in os.walk(folder): + for fname in dirfiles: + if fname.endswith(".pyc"): + continue + + file_ = os.path.join(dirpath, fname) + if ( + os.path.isfile(file_) + and os.path.normcase(file_) not in _normcased_files + ): + # We are skipping this file. Add it to the set. + will_skip.add(file_) + + will_remove = files | {os.path.join(folder, "*") for folder in folders} + + return will_remove, will_skip + + +class StashedUninstallPathSet: + """A set of file rename operations to stash files while + tentatively uninstalling them.""" + + def __init__(self) -> None: + # Mapping from source file root to [Adjacent]TempDirectory + # for files under that directory. + self._save_dirs: dict[str, TempDirectory] = {} + # (old path, new path) tuples for each move that may need + # to be undone. + self._moves: list[tuple[str, str]] = [] + + def _get_directory_stash(self, path: str) -> str: + """Stashes a directory. + + Directories are stashed adjacent to their original location if + possible, or else moved/copied into the user's temp dir.""" + + try: + save_dir: TempDirectory = AdjacentTempDirectory(path) + except OSError: + save_dir = TempDirectory(kind="uninstall") + self._save_dirs[os.path.normcase(path)] = save_dir + + return save_dir.path + + def _get_file_stash(self, path: str) -> str: + """Stashes a file. + + If no root has been provided, one will be created for the directory + in the user's temp directory.""" + path = os.path.normcase(path) + head, old_head = os.path.dirname(path), None + save_dir = None + + while head != old_head: + try: + save_dir = self._save_dirs[head] + break + except KeyError: + pass + head, old_head = os.path.dirname(head), head + else: + # Did not find any suitable root + head = os.path.dirname(path) + save_dir = TempDirectory(kind="uninstall") + self._save_dirs[head] = save_dir + + relpath = os.path.relpath(path, head) + if relpath and relpath != os.path.curdir: + return os.path.join(save_dir.path, relpath) + return save_dir.path + + def stash(self, path: str) -> str: + """Stashes the directory or file and returns its new location. + Handle symlinks as files to avoid modifying the symlink targets. + """ + path_is_dir = os.path.isdir(path) and not os.path.islink(path) + if path_is_dir: + new_path = self._get_directory_stash(path) + else: + new_path = self._get_file_stash(path) + + self._moves.append((path, new_path)) + if path_is_dir and os.path.isdir(new_path): + # If we're moving a directory, we need to + # remove the destination first or else it will be + # moved to inside the existing directory. + # We just created new_path ourselves, so it will + # be removable. + os.rmdir(new_path) + renames(path, new_path) + return new_path + + def commit(self) -> None: + """Commits the uninstall by removing stashed files.""" + for save_dir in self._save_dirs.values(): + save_dir.cleanup() + self._moves = [] + self._save_dirs = {} + + def rollback(self) -> None: + """Undoes the uninstall by moving stashed files back.""" + for p in self._moves: + logger.info("Moving to %s\n from %s", *p) + + for new_path, path in self._moves: + try: + logger.debug("Replacing %s from %s", new_path, path) + if os.path.isfile(new_path) or os.path.islink(new_path): + os.unlink(new_path) + elif os.path.isdir(new_path): + rmtree(new_path) + renames(path, new_path) + except OSError as ex: + logger.error("Failed to restore %s", new_path) + logger.debug("Exception: %s", ex) + + self.commit() + + @property + def can_rollback(self) -> bool: + return bool(self._moves) + + +class UninstallPathSet: + """A set of file paths to be removed in the uninstallation of a + requirement.""" + + def __init__(self, dist: BaseDistribution) -> None: + self._paths: set[str] = set() + self._refuse: set[str] = set() + self._pth: dict[str, UninstallPthEntries] = {} + self._dist = dist + self._moved_paths = StashedUninstallPathSet() + # Create local cache of normalize_path results. Creating an UninstallPathSet + # can result in hundreds/thousands of redundant calls to normalize_path with + # the same args, which hurts performance. + self._normalize_path_cached = functools.lru_cache(normalize_path) + + def _permitted(self, path: str) -> bool: + """ + Return True if the given path is one we are permitted to + remove/modify, False otherwise. + + """ + # aka is_local, but caching normalized sys.prefix + if not running_under_virtualenv(): + return True + return path.startswith(self._normalize_path_cached(sys.prefix)) + + def add(self, path: str) -> None: + head, tail = os.path.split(path) + + # we normalize the head to resolve parent directory symlinks, but not + # the tail, since we only want to uninstall symlinks, not their targets + path = os.path.join(self._normalize_path_cached(head), os.path.normcase(tail)) + + if not os.path.exists(path): + return + if self._permitted(path): + self._paths.add(path) + else: + self._refuse.add(path) + + # __pycache__ files can show up after 'installed-files.txt' is created, + # due to imports + if os.path.splitext(path)[1] == ".py": + self.add(cache_from_source(path)) + + def add_pth(self, pth_file: str, entry: str) -> None: + pth_file = self._normalize_path_cached(pth_file) + if self._permitted(pth_file): + if pth_file not in self._pth: + self._pth[pth_file] = UninstallPthEntries(pth_file) + self._pth[pth_file].add(entry) + else: + self._refuse.add(pth_file) + + def remove(self, auto_confirm: bool = False, verbose: bool = False) -> None: + """Remove paths in ``self._paths`` with confirmation (unless + ``auto_confirm`` is True).""" + + if not self._paths: + logger.info( + "Can't uninstall '%s'. No files were found to uninstall.", + self._dist.raw_name, + ) + return + + dist_name_version = f"{self._dist.raw_name}-{self._dist.raw_version}" + logger.info("Uninstalling %s:", dist_name_version) + + with indent_log(): + if auto_confirm or self._allowed_to_proceed(verbose): + moved = self._moved_paths + + for_rename = compress_for_rename(self._paths) + + for path in sorted(compact(for_rename)): + moved.stash(path) + logger.verbose("Removing file or directory %s", path) + + for pth in self._pth.values(): + pth.remove() + + logger.info("Successfully uninstalled %s", dist_name_version) + + def _allowed_to_proceed(self, verbose: bool) -> bool: + """Display which files would be deleted and prompt for confirmation""" + + def _display(msg: str, paths: Iterable[str]) -> None: + if not paths: + return + + logger.info(msg) + with indent_log(): + for path in sorted(compact(paths)): + logger.info(path) + + if not verbose: + will_remove, will_skip = compress_for_output_listing(self._paths) + else: + # In verbose mode, display all the files that are going to be + # deleted. + will_remove = set(self._paths) + will_skip = set() + + _display("Would remove:", will_remove) + _display("Would not remove (might be manually added):", will_skip) + _display("Would not remove (outside of prefix):", self._refuse) + if verbose: + _display("Will actually move:", compress_for_rename(self._paths)) + + return ask("Proceed (Y/n)? ", ("y", "n", "")) != "n" + + def rollback(self) -> None: + """Rollback the changes previously made by remove().""" + if not self._moved_paths.can_rollback: + logger.error( + "Can't roll back %s; was not uninstalled", + self._dist.raw_name, + ) + return + logger.info("Rolling back uninstall of %s", self._dist.raw_name) + self._moved_paths.rollback() + for pth in self._pth.values(): + pth.rollback() + + def commit(self) -> None: + """Remove temporary save dir: rollback will no longer be possible.""" + self._moved_paths.commit() + + @classmethod + def from_dist(cls, dist: BaseDistribution) -> UninstallPathSet: + dist_location = dist.location + info_location = dist.info_location + if dist_location is None: + logger.info( + "Not uninstalling %s since it is not installed", + dist.canonical_name, + ) + return cls(dist) + + normalized_dist_location = normalize_path(dist_location) + if not dist.local: + logger.info( + "Not uninstalling %s at %s, outside environment %s", + dist.canonical_name, + normalized_dist_location, + sys.prefix, + ) + return cls(dist) + + if normalized_dist_location in { + p + for p in {sysconfig.get_path("stdlib"), sysconfig.get_path("platstdlib")} + if p + }: + logger.info( + "Not uninstalling %s at %s, as it is in the standard library.", + dist.canonical_name, + normalized_dist_location, + ) + return cls(dist) + + paths_to_remove = cls(dist) + develop_egg_link = egg_link_path_from_location(dist.raw_name) + + # Distribution is installed with metadata in a "flat" .egg-info + # directory. This means it is not a modern .dist-info installation, an + # egg, or legacy editable. + setuptools_flat_installation = ( + dist.installed_with_setuptools_egg_info + and info_location is not None + and os.path.exists(info_location) + # If dist is editable and the location points to a ``.egg-info``, + # we are in fact in the legacy editable case. + and not info_location.endswith(f"{dist.setuptools_filename}.egg-info") + ) + + # Uninstall cases order do matter as in the case of 2 installs of the + # same package, pip needs to uninstall the currently detected version + if setuptools_flat_installation: + if info_location is not None: + paths_to_remove.add(info_location) + installed_files = dist.iter_declared_entries() + if installed_files is not None: + for installed_file in installed_files: + paths_to_remove.add(os.path.join(dist_location, installed_file)) + # FIXME: need a test for this elif block + # occurs with --single-version-externally-managed/--record outside + # of pip + elif dist.is_file("top_level.txt"): + try: + namespace_packages = dist.read_text("namespace_packages.txt") + except FileNotFoundError: + namespaces = [] + else: + namespaces = namespace_packages.splitlines(keepends=False) + for top_level_pkg in [ + p + for p in dist.read_text("top_level.txt").splitlines() + if p and p not in namespaces + ]: + path = os.path.join(dist_location, top_level_pkg) + paths_to_remove.add(path) + paths_to_remove.add(f"{path}.py") + paths_to_remove.add(f"{path}.pyc") + paths_to_remove.add(f"{path}.pyo") + + elif dist.installed_by_distutils: + raise LegacyDistutilsInstall(distribution=dist) + + elif dist.installed_as_egg: + # package installed by easy_install + # We cannot match on dist.egg_name because it can slightly vary + # i.e. setuptools-0.6c11-py2.6.egg vs setuptools-0.6rc11-py2.6.egg + # XXX We use normalized_dist_location because dist_location my contain + # a trailing / if the distribution is a zipped egg + # (which is not a directory). + paths_to_remove.add(normalized_dist_location) + easy_install_egg = os.path.split(normalized_dist_location)[1] + easy_install_pth = os.path.join( + os.path.dirname(normalized_dist_location), + "easy-install.pth", + ) + paths_to_remove.add_pth(easy_install_pth, "./" + easy_install_egg) + + elif dist.installed_with_dist_info: + for path in uninstallation_paths(dist): + paths_to_remove.add(path) + + elif develop_egg_link: + # PEP 660 modern editable is handled in the ``.dist-info`` case + # above, so this only covers the setuptools-style editable. + with open(develop_egg_link) as fh: + link_pointer = os.path.normcase(fh.readline().strip()) + normalized_link_pointer = paths_to_remove._normalize_path_cached( + link_pointer + ) + assert os.path.samefile( + normalized_link_pointer, normalized_dist_location + ), ( + f"Egg-link {develop_egg_link} (to {link_pointer}) does not match " + f"installed location of {dist.raw_name} (at {dist_location})" + ) + paths_to_remove.add(develop_egg_link) + easy_install_pth = os.path.join( + os.path.dirname(develop_egg_link), "easy-install.pth" + ) + paths_to_remove.add_pth(easy_install_pth, dist_location) + + else: + logger.debug( + "Not sure how to uninstall: %s - Check: %s", + dist, + dist_location, + ) + + if dist.in_usersite: + bin_dir = get_bin_user() + else: + bin_dir = get_bin_prefix() + + # find distutils scripts= scripts + try: + for script in dist.iter_distutils_script_names(): + paths_to_remove.add(os.path.join(bin_dir, script)) + if WINDOWS: + paths_to_remove.add(os.path.join(bin_dir, f"{script}.bat")) + except (FileNotFoundError, NotADirectoryError): + pass + + # find console_scripts and gui_scripts + def iter_scripts_to_remove( + dist: BaseDistribution, + bin_dir: str, + ) -> Generator[str, None, None]: + for entry_point in dist.iter_entry_points(): + if entry_point.group == "console_scripts": + yield from _script_names(bin_dir, entry_point.name, False) + elif entry_point.group == "gui_scripts": + yield from _script_names(bin_dir, entry_point.name, True) + + for s in iter_scripts_to_remove(dist, bin_dir): + paths_to_remove.add(s) + + return paths_to_remove + + +class UninstallPthEntries: + def __init__(self, pth_file: str) -> None: + self.file = pth_file + self.entries: set[str] = set() + self._saved_lines: list[bytes] | None = None + + def add(self, entry: str) -> None: + entry = os.path.normcase(entry) + # On Windows, os.path.normcase converts the entry to use + # backslashes. This is correct for entries that describe absolute + # paths outside of site-packages, but all the others use forward + # slashes. + # os.path.splitdrive is used instead of os.path.isabs because isabs + # treats non-absolute paths with drive letter markings like c:foo\bar + # as absolute paths. It also does not recognize UNC paths if they don't + # have more than "\\sever\share". Valid examples: "\\server\share\" or + # "\\server\share\folder". + if WINDOWS and not os.path.splitdrive(entry)[0]: + entry = entry.replace("\\", "/") + self.entries.add(entry) + + def remove(self) -> None: + logger.verbose("Removing pth entries from %s:", self.file) + + # If the file doesn't exist, log a warning and return + if not os.path.isfile(self.file): + logger.warning("Cannot remove entries from nonexistent file %s", self.file) + return + with open(self.file, "rb") as fh: + # windows uses '\r\n' with py3k, but uses '\n' with py2.x + lines = fh.readlines() + self._saved_lines = lines + if any(b"\r\n" in line for line in lines): + endline = "\r\n" + else: + endline = "\n" + # handle missing trailing newline + if lines and not lines[-1].endswith(endline.encode("utf-8")): + lines[-1] = lines[-1] + endline.encode("utf-8") + for entry in self.entries: + try: + logger.verbose("Removing entry: %s", entry) + lines.remove((entry + endline).encode("utf-8")) + except ValueError: + pass + with open(self.file, "wb") as fh: + fh.writelines(lines) + + def rollback(self) -> bool: + if self._saved_lines is None: + logger.error("Cannot roll back changes to %s, none were made", self.file) + return False + logger.debug("Rolling %s back to previous state", self.file) + with open(self.file, "wb") as fh: + fh.writelines(self._saved_lines) + return True diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6f6c109d3812ed290bfb76e11b7b3465d32bf393 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6e200e34e1b457ff467ea7cde5d6ba4eae30a7b9 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/base.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/base.py new file mode 100644 index 0000000000000000000000000000000000000000..5ec4d96aa78d2327364fe97efcbe391bcd71bffc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/base.py @@ -0,0 +1,20 @@ +from typing import Callable, Optional + +from pip._internal.req.req_install import InstallRequirement +from pip._internal.req.req_set import RequirementSet + +InstallRequirementProvider = Callable[ + [str, Optional[InstallRequirement]], InstallRequirement +] + + +class BaseResolver: + def resolve( + self, root_reqs: list[InstallRequirement], check_supported_wheels: bool + ) -> RequirementSet: + raise NotImplementedError() + + def get_installation_order( + self, req_set: RequirementSet + ) -> list[InstallRequirement]: + raise NotImplementedError() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..16dd9f60b9ebbb6cf34f0f1df10b8a4b20a375cc Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..db4db3f04e9860bf2da8a7c5bfc4eb65d6b07f63 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/resolver.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/resolver.py new file mode 100644 index 0000000000000000000000000000000000000000..33a4fdc3bbc3a87ad93a2429577d4ce732ca2821 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/resolver.py @@ -0,0 +1,598 @@ +"""Dependency Resolution + +The dependency resolution in pip is performed as follows: + +for top-level requirements: + a. only one spec allowed per project, regardless of conflicts or not. + otherwise a "double requirement" exception is raised + b. they override sub-dependency requirements. +for sub-dependencies + a. "first found, wins" (where the order is breadth first) +""" + +from __future__ import annotations + +import logging +import sys +from collections import defaultdict +from collections.abc import Iterable +from itertools import chain +from typing import Optional + +from pip._vendor.packaging import specifiers +from pip._vendor.packaging.requirements import Requirement + +from pip._internal.cache import WheelCache +from pip._internal.exceptions import ( + BestVersionAlreadyInstalled, + DistributionNotFound, + HashError, + HashErrors, + InstallationError, + NoneMetadataError, + UnsupportedPythonVersion, +) +from pip._internal.index.package_finder import PackageFinder +from pip._internal.metadata import BaseDistribution +from pip._internal.models.link import Link +from pip._internal.models.wheel import Wheel +from pip._internal.operations.prepare import RequirementPreparer +from pip._internal.req.req_install import ( + InstallRequirement, + check_invalid_constraint_type, +) +from pip._internal.req.req_set import RequirementSet +from pip._internal.resolution.base import BaseResolver, InstallRequirementProvider +from pip._internal.utils import compatibility_tags +from pip._internal.utils.compatibility_tags import get_supported +from pip._internal.utils.direct_url_helpers import direct_url_from_link +from pip._internal.utils.logging import indent_log +from pip._internal.utils.misc import normalize_version_info +from pip._internal.utils.packaging import check_requires_python + +logger = logging.getLogger(__name__) + +DiscoveredDependencies = defaultdict[Optional[str], list[InstallRequirement]] + + +def _check_dist_requires_python( + dist: BaseDistribution, + version_info: tuple[int, int, int], + ignore_requires_python: bool = False, +) -> None: + """ + Check whether the given Python version is compatible with a distribution's + "Requires-Python" value. + + :param version_info: A 3-tuple of ints representing the Python + major-minor-micro version to check. + :param ignore_requires_python: Whether to ignore the "Requires-Python" + value if the given Python version isn't compatible. + + :raises UnsupportedPythonVersion: When the given Python version isn't + compatible. + """ + # This idiosyncratically converts the SpecifierSet to str and let + # check_requires_python then parse it again into SpecifierSet. But this + # is the legacy resolver so I'm just not going to bother refactoring. + try: + requires_python = str(dist.requires_python) + except FileNotFoundError as e: + raise NoneMetadataError(dist, str(e)) + try: + is_compatible = check_requires_python( + requires_python, + version_info=version_info, + ) + except specifiers.InvalidSpecifier as exc: + logger.warning( + "Package %r has an invalid Requires-Python: %s", dist.raw_name, exc + ) + return + + if is_compatible: + return + + version = ".".join(map(str, version_info)) + if ignore_requires_python: + logger.debug( + "Ignoring failed Requires-Python check for package %r: %s not in %r", + dist.raw_name, + version, + requires_python, + ) + return + + raise UnsupportedPythonVersion( + f"Package {dist.raw_name!r} requires a different Python: " + f"{version} not in {requires_python!r}" + ) + + +class Resolver(BaseResolver): + """Resolves which packages need to be installed/uninstalled to perform \ + the requested operation without breaking the requirements of any package. + """ + + _allowed_strategies = {"eager", "only-if-needed", "to-satisfy-only"} + + def __init__( + self, + preparer: RequirementPreparer, + finder: PackageFinder, + wheel_cache: WheelCache | None, + make_install_req: InstallRequirementProvider, + use_user_site: bool, + ignore_dependencies: bool, + ignore_installed: bool, + ignore_requires_python: bool, + force_reinstall: bool, + upgrade_strategy: str, + py_version_info: tuple[int, ...] | None = None, + ) -> None: + super().__init__() + assert upgrade_strategy in self._allowed_strategies + + if py_version_info is None: + py_version_info = sys.version_info[:3] + else: + py_version_info = normalize_version_info(py_version_info) + + self._py_version_info = py_version_info + + self.preparer = preparer + self.finder = finder + self.wheel_cache = wheel_cache + + self.upgrade_strategy = upgrade_strategy + self.force_reinstall = force_reinstall + self.ignore_dependencies = ignore_dependencies + self.ignore_installed = ignore_installed + self.ignore_requires_python = ignore_requires_python + self.use_user_site = use_user_site + self._make_install_req = make_install_req + + self._discovered_dependencies: DiscoveredDependencies = defaultdict(list) + + def resolve( + self, root_reqs: list[InstallRequirement], check_supported_wheels: bool + ) -> RequirementSet: + """Resolve what operations need to be done + + As a side-effect of this method, the packages (and their dependencies) + are downloaded, unpacked and prepared for installation. This + preparation is done by ``pip.operations.prepare``. + + Once PyPI has static dependency metadata available, it would be + possible to move the preparation to become a step separated from + dependency resolution. + """ + requirement_set = RequirementSet(check_supported_wheels=check_supported_wheels) + for req in root_reqs: + if req.constraint: + check_invalid_constraint_type(req) + self._add_requirement_to_set(requirement_set, req) + + # Actually prepare the files, and collect any exceptions. Most hash + # exceptions cannot be checked ahead of time, because + # _populate_link() needs to be called before we can make decisions + # based on link type. + discovered_reqs: list[InstallRequirement] = [] + hash_errors = HashErrors() + for req in chain(requirement_set.all_requirements, discovered_reqs): + try: + discovered_reqs.extend(self._resolve_one(requirement_set, req)) + except HashError as exc: + exc.req = req + hash_errors.append(exc) + + if hash_errors: + raise hash_errors + + return requirement_set + + def _add_requirement_to_set( + self, + requirement_set: RequirementSet, + install_req: InstallRequirement, + parent_req_name: str | None = None, + extras_requested: Iterable[str] | None = None, + ) -> tuple[list[InstallRequirement], InstallRequirement | None]: + """Add install_req as a requirement to install. + + :param parent_req_name: The name of the requirement that needed this + added. The name is used because when multiple unnamed requirements + resolve to the same name, we could otherwise end up with dependency + links that point outside the Requirements set. parent_req must + already be added. Note that None implies that this is a user + supplied requirement, vs an inferred one. + :param extras_requested: an iterable of extras used to evaluate the + environment markers. + :return: Additional requirements to scan. That is either [] if + the requirement is not applicable, or [install_req] if the + requirement is applicable and has just been added. + """ + # If the markers do not match, ignore this requirement. + if not install_req.match_markers(extras_requested): + logger.info( + "Ignoring %s: markers '%s' don't match your environment", + install_req.name, + install_req.markers, + ) + return [], None + + # If the wheel is not supported, raise an error. + # Should check this after filtering out based on environment markers to + # allow specifying different wheels based on the environment/OS, in a + # single requirements file. + if install_req.link and install_req.link.is_wheel: + wheel = Wheel(install_req.link.filename) + tags = compatibility_tags.get_supported() + if requirement_set.check_supported_wheels and not wheel.supported(tags): + raise InstallationError( + f"{wheel.filename} is not a supported wheel on this platform." + ) + + # This next bit is really a sanity check. + assert ( + not install_req.user_supplied or parent_req_name is None + ), "a user supplied req shouldn't have a parent" + + # Unnamed requirements are scanned again and the requirement won't be + # added as a dependency until after scanning. + if not install_req.name: + requirement_set.add_unnamed_requirement(install_req) + return [install_req], None + + try: + existing_req: InstallRequirement | None = requirement_set.get_requirement( + install_req.name + ) + except KeyError: + existing_req = None + + has_conflicting_requirement = ( + parent_req_name is None + and existing_req + and not existing_req.constraint + and existing_req.extras == install_req.extras + and existing_req.req + and install_req.req + and existing_req.req.specifier != install_req.req.specifier + ) + if has_conflicting_requirement: + raise InstallationError( + f"Double requirement given: {install_req} " + f"(already in {existing_req}, name={install_req.name!r})" + ) + + # When no existing requirement exists, add the requirement as a + # dependency and it will be scanned again after. + if not existing_req: + requirement_set.add_named_requirement(install_req) + # We'd want to rescan this requirement later + return [install_req], install_req + + # Assume there's no need to scan, and that we've already + # encountered this for scanning. + if install_req.constraint or not existing_req.constraint: + return [], existing_req + + does_not_satisfy_constraint = install_req.link and not ( + existing_req.link and install_req.link.path == existing_req.link.path + ) + if does_not_satisfy_constraint: + raise InstallationError( + f"Could not satisfy constraints for '{install_req.name}': " + "installation from path or url cannot be " + "constrained to a version" + ) + # If we're now installing a constraint, mark the existing + # object for real installation. + existing_req.constraint = False + # If we're now installing a user supplied requirement, + # mark the existing object as such. + if install_req.user_supplied: + existing_req.user_supplied = True + existing_req.extras = tuple( + sorted(set(existing_req.extras) | set(install_req.extras)) + ) + logger.debug( + "Setting %s extras to: %s", + existing_req, + existing_req.extras, + ) + # Return the existing requirement for addition to the parent and + # scanning again. + return [existing_req], existing_req + + def _is_upgrade_allowed(self, req: InstallRequirement) -> bool: + if self.upgrade_strategy == "to-satisfy-only": + return False + elif self.upgrade_strategy == "eager": + return True + else: + assert self.upgrade_strategy == "only-if-needed" + return req.user_supplied or req.constraint + + def _set_req_to_reinstall(self, req: InstallRequirement) -> None: + """ + Set a requirement to be installed. + """ + # Don't uninstall the conflict if doing a user install and the + # conflict is not a user install. + assert req.satisfied_by is not None + if not self.use_user_site or req.satisfied_by.in_usersite: + req.should_reinstall = True + req.satisfied_by = None + + def _check_skip_installed(self, req_to_install: InstallRequirement) -> str | None: + """Check if req_to_install should be skipped. + + This will check if the req is installed, and whether we should upgrade + or reinstall it, taking into account all the relevant user options. + + After calling this req_to_install will only have satisfied_by set to + None if the req_to_install is to be upgraded/reinstalled etc. Any + other value will be a dist recording the current thing installed that + satisfies the requirement. + + Note that for vcs urls and the like we can't assess skipping in this + routine - we simply identify that we need to pull the thing down, + then later on it is pulled down and introspected to assess upgrade/ + reinstalls etc. + + :return: A text reason for why it was skipped, or None. + """ + if self.ignore_installed: + return None + + req_to_install.check_if_exists(self.use_user_site) + if not req_to_install.satisfied_by: + return None + + if self.force_reinstall: + self._set_req_to_reinstall(req_to_install) + return None + + if not self._is_upgrade_allowed(req_to_install): + if self.upgrade_strategy == "only-if-needed": + return "already satisfied, skipping upgrade" + return "already satisfied" + + # Check for the possibility of an upgrade. For link-based + # requirements we have to pull the tree down and inspect to assess + # the version #, so it's handled way down. + if not req_to_install.link: + try: + self.finder.find_requirement(req_to_install, upgrade=True) + except BestVersionAlreadyInstalled: + # Then the best version is installed. + return "already up-to-date" + except DistributionNotFound: + # No distribution found, so we squash the error. It will + # be raised later when we re-try later to do the install. + # Why don't we just raise here? + pass + + self._set_req_to_reinstall(req_to_install) + return None + + def _find_requirement_link(self, req: InstallRequirement) -> Link | None: + upgrade = self._is_upgrade_allowed(req) + best_candidate = self.finder.find_requirement(req, upgrade) + if not best_candidate: + return None + + # Log a warning per PEP 592 if necessary before returning. + link = best_candidate.link + if link.is_yanked: + reason = link.yanked_reason or "" + msg = ( + # Mark this as a unicode string to prevent + # "UnicodeEncodeError: 'ascii' codec can't encode character" + # in Python 2 when the reason contains non-ascii characters. + "The candidate selected for download or install is a " + f"yanked version: {best_candidate}\n" + f"Reason for being yanked: {reason}" + ) + logger.warning(msg) + + return link + + def _populate_link(self, req: InstallRequirement) -> None: + """Ensure that if a link can be found for this, that it is found. + + Note that req.link may still be None - if the requirement is already + installed and not needed to be upgraded based on the return value of + _is_upgrade_allowed(). + + If preparer.require_hashes is True, don't use the wheel cache, because + cached wheels, always built locally, have different hashes than the + files downloaded from the index server and thus throw false hash + mismatches. Furthermore, cached wheels at present have undeterministic + contents due to file modification times. + """ + if req.link is None: + req.link = self._find_requirement_link(req) + + if self.wheel_cache is None or self.preparer.require_hashes: + return + + assert req.link is not None, "_find_requirement_link unexpectedly returned None" + cache_entry = self.wheel_cache.get_cache_entry( + link=req.link, + package_name=req.name, + supported_tags=get_supported(), + ) + if cache_entry is not None: + logger.debug("Using cached wheel link: %s", cache_entry.link) + if req.link is req.original_link and cache_entry.persistent: + req.cached_wheel_source_link = req.link + if cache_entry.origin is not None: + req.download_info = cache_entry.origin + else: + # Legacy cache entry that does not have origin.json. + # download_info may miss the archive_info.hashes field. + req.download_info = direct_url_from_link( + req.link, link_is_in_wheel_cache=cache_entry.persistent + ) + req.link = cache_entry.link + + def _get_dist_for(self, req: InstallRequirement) -> BaseDistribution: + """Takes a InstallRequirement and returns a single AbstractDist \ + representing a prepared variant of the same. + """ + if req.editable: + return self.preparer.prepare_editable_requirement(req) + + # satisfied_by is only evaluated by calling _check_skip_installed, + # so it must be None here. + assert req.satisfied_by is None + skip_reason = self._check_skip_installed(req) + + if req.satisfied_by: + return self.preparer.prepare_installed_requirement(req, skip_reason) + + # We eagerly populate the link, since that's our "legacy" behavior. + self._populate_link(req) + dist = self.preparer.prepare_linked_requirement(req) + + # NOTE + # The following portion is for determining if a certain package is + # going to be re-installed/upgraded or not and reporting to the user. + # This should probably get cleaned up in a future refactor. + + # req.req is only avail after unpack for URL + # pkgs repeat check_if_exists to uninstall-on-upgrade + # (#14) + if not self.ignore_installed: + req.check_if_exists(self.use_user_site) + + if req.satisfied_by: + should_modify = ( + self.upgrade_strategy != "to-satisfy-only" + or self.force_reinstall + or self.ignore_installed + or req.link.scheme == "file" + ) + if should_modify: + self._set_req_to_reinstall(req) + else: + logger.info( + "Requirement already satisfied (use --upgrade to upgrade): %s", + req, + ) + return dist + + def _resolve_one( + self, + requirement_set: RequirementSet, + req_to_install: InstallRequirement, + ) -> list[InstallRequirement]: + """Prepare a single requirements file. + + :return: A list of additional InstallRequirements to also install. + """ + # Tell user what we are doing for this requirement: + # obtain (editable), skipping, processing (local url), collecting + # (remote url or package name) + if req_to_install.constraint or req_to_install.prepared: + return [] + + req_to_install.prepared = True + + # Parse and return dependencies + dist = self._get_dist_for(req_to_install) + # This will raise UnsupportedPythonVersion if the given Python + # version isn't compatible with the distribution's Requires-Python. + _check_dist_requires_python( + dist, + version_info=self._py_version_info, + ignore_requires_python=self.ignore_requires_python, + ) + + more_reqs: list[InstallRequirement] = [] + + def add_req(subreq: Requirement, extras_requested: Iterable[str]) -> None: + # This idiosyncratically converts the Requirement to str and let + # make_install_req then parse it again into Requirement. But this is + # the legacy resolver so I'm just not going to bother refactoring. + sub_install_req = self._make_install_req(str(subreq), req_to_install) + parent_req_name = req_to_install.name + to_scan_again, add_to_parent = self._add_requirement_to_set( + requirement_set, + sub_install_req, + parent_req_name=parent_req_name, + extras_requested=extras_requested, + ) + if parent_req_name and add_to_parent: + self._discovered_dependencies[parent_req_name].append(add_to_parent) + more_reqs.extend(to_scan_again) + + with indent_log(): + # We add req_to_install before its dependencies, so that we + # can refer to it when adding dependencies. + assert req_to_install.name is not None + if not requirement_set.has_requirement(req_to_install.name): + # 'unnamed' requirements will get added here + # 'unnamed' requirements can only come from being directly + # provided by the user. + assert req_to_install.user_supplied + self._add_requirement_to_set( + requirement_set, req_to_install, parent_req_name=None + ) + + if not self.ignore_dependencies: + if req_to_install.extras: + logger.debug( + "Installing extra requirements: %r", + ",".join(req_to_install.extras), + ) + missing_requested = sorted( + set(req_to_install.extras) - set(dist.iter_provided_extras()) + ) + for missing in missing_requested: + logger.warning( + "%s %s does not provide the extra '%s'", + dist.raw_name, + dist.version, + missing, + ) + + available_requested = sorted( + set(dist.iter_provided_extras()) & set(req_to_install.extras) + ) + for subreq in dist.iter_dependencies(available_requested): + add_req(subreq, extras_requested=available_requested) + + return more_reqs + + def get_installation_order( + self, req_set: RequirementSet + ) -> list[InstallRequirement]: + """Create the installation order. + + The installation order is topological - requirements are installed + before the requiring thing. We break cycles at an arbitrary point, + and make no other guarantees. + """ + # The current implementation, which we may change at any point + # installs the user specified things in the order given, except when + # dependencies must come earlier to achieve topological order. + order = [] + ordered_reqs: set[InstallRequirement] = set() + + def schedule(req: InstallRequirement) -> None: + if req.satisfied_by or req in ordered_reqs: + return + if req.constraint: + return + ordered_reqs.add(req) + for dep in self._discovered_dependencies[req.name]: + schedule(dep) + order.append(req) + + for install_req in req_set.requirements.values(): + schedule(install_req) + return order diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..121b4f69523ea46a1789219773a22a23dcb0e4a5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ae6c0ebbe08091a7ec2dacf284eab36c85fa4d6f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..80d08b1186945ab8d000f0dfbb99fa13e90f7447 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..407694eb09f330a65a56b85ef478db589fc8a7bc Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..19265b7fff473a9ff822c224956b5dec8fe9c620 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..565d34502cab17768118b7de6fbc97ae172470e6 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a4580d9559b6c9b9518136b9374ad1659477247e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b2b2d12afaaaff62dcb417527f809c24ce8d7a27 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..19780b58d0a9f0206009eea4d62a1f8efea2b194 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/base.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/base.py new file mode 100644 index 0000000000000000000000000000000000000000..03877b6c2dd10d5208b413baca26925ec0a866e4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/base.py @@ -0,0 +1,142 @@ +from __future__ import annotations + +from collections.abc import Iterable +from dataclasses import dataclass +from typing import Optional + +from pip._vendor.packaging.specifiers import SpecifierSet +from pip._vendor.packaging.utils import NormalizedName +from pip._vendor.packaging.version import Version + +from pip._internal.models.link import Link, links_equivalent +from pip._internal.req.req_install import InstallRequirement +from pip._internal.utils.hashes import Hashes + +CandidateLookup = tuple[Optional["Candidate"], Optional[InstallRequirement]] + + +def format_name(project: NormalizedName, extras: frozenset[NormalizedName]) -> str: + if not extras: + return project + extras_expr = ",".join(sorted(extras)) + return f"{project}[{extras_expr}]" + + +@dataclass(frozen=True) +class Constraint: + specifier: SpecifierSet + hashes: Hashes + links: frozenset[Link] + + @classmethod + def empty(cls) -> Constraint: + return Constraint(SpecifierSet(), Hashes(), frozenset()) + + @classmethod + def from_ireq(cls, ireq: InstallRequirement) -> Constraint: + links = frozenset([ireq.link]) if ireq.link else frozenset() + return Constraint(ireq.specifier, ireq.hashes(trust_internet=False), links) + + def __bool__(self) -> bool: + return bool(self.specifier) or bool(self.hashes) or bool(self.links) + + def __and__(self, other: InstallRequirement) -> Constraint: + if not isinstance(other, InstallRequirement): + return NotImplemented + specifier = self.specifier & other.specifier + hashes = self.hashes & other.hashes(trust_internet=False) + links = self.links + if other.link: + links = links.union([other.link]) + return Constraint(specifier, hashes, links) + + def is_satisfied_by(self, candidate: Candidate) -> bool: + # Reject if there are any mismatched URL constraints on this package. + if self.links and not all(_match_link(link, candidate) for link in self.links): + return False + # We can safely always allow prereleases here since PackageFinder + # already implements the prerelease logic, and would have filtered out + # prerelease candidates if the user does not expect them. + return self.specifier.contains(candidate.version, prereleases=True) + + +class Requirement: + @property + def project_name(self) -> NormalizedName: + """The "project name" of a requirement. + + This is different from ``name`` if this requirement contains extras, + in which case ``name`` would contain the ``[...]`` part, while this + refers to the name of the project. + """ + raise NotImplementedError("Subclass should override") + + @property + def name(self) -> str: + """The name identifying this requirement in the resolver. + + This is different from ``project_name`` if this requirement contains + extras, where ``project_name`` would not contain the ``[...]`` part. + """ + raise NotImplementedError("Subclass should override") + + def is_satisfied_by(self, candidate: Candidate) -> bool: + return False + + def get_candidate_lookup(self) -> CandidateLookup: + raise NotImplementedError("Subclass should override") + + def format_for_error(self) -> str: + raise NotImplementedError("Subclass should override") + + +def _match_link(link: Link, candidate: Candidate) -> bool: + if candidate.source_link: + return links_equivalent(link, candidate.source_link) + return False + + +class Candidate: + @property + def project_name(self) -> NormalizedName: + """The "project name" of the candidate. + + This is different from ``name`` if this candidate contains extras, + in which case ``name`` would contain the ``[...]`` part, while this + refers to the name of the project. + """ + raise NotImplementedError("Override in subclass") + + @property + def name(self) -> str: + """The name identifying this candidate in the resolver. + + This is different from ``project_name`` if this candidate contains + extras, where ``project_name`` would not contain the ``[...]`` part. + """ + raise NotImplementedError("Override in subclass") + + @property + def version(self) -> Version: + raise NotImplementedError("Override in subclass") + + @property + def is_installed(self) -> bool: + raise NotImplementedError("Override in subclass") + + @property + def is_editable(self) -> bool: + raise NotImplementedError("Override in subclass") + + @property + def source_link(self) -> Link | None: + raise NotImplementedError("Override in subclass") + + def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]: + raise NotImplementedError("Override in subclass") + + def get_install_requirement(self) -> InstallRequirement | None: + raise NotImplementedError("Override in subclass") + + def format_for_error(self) -> str: + raise NotImplementedError("Subclass should override") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py new file mode 100644 index 0000000000000000000000000000000000000000..a831534979113d5a081c5c820cfd406705ac50d4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py @@ -0,0 +1,582 @@ +from __future__ import annotations + +import logging +import sys +from collections.abc import Iterable +from typing import TYPE_CHECKING, Any, Union, cast + +from pip._vendor.packaging.requirements import InvalidRequirement +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name +from pip._vendor.packaging.version import Version + +from pip._internal.exceptions import ( + HashError, + InstallationSubprocessError, + InvalidInstalledPackage, + MetadataInconsistent, + MetadataInvalid, +) +from pip._internal.metadata import BaseDistribution +from pip._internal.models.link import Link, links_equivalent +from pip._internal.models.wheel import Wheel +from pip._internal.req.constructors import ( + install_req_from_editable, + install_req_from_line, +) +from pip._internal.req.req_install import InstallRequirement +from pip._internal.utils.direct_url_helpers import direct_url_from_link +from pip._internal.utils.misc import normalize_version_info + +from .base import Candidate, Requirement, format_name + +if TYPE_CHECKING: + from .factory import Factory + +logger = logging.getLogger(__name__) + +BaseCandidate = Union[ + "AlreadyInstalledCandidate", + "EditableCandidate", + "LinkCandidate", +] + +# Avoid conflicting with the PyPI package "Python". +REQUIRES_PYTHON_IDENTIFIER = cast(NormalizedName, "") + + +def as_base_candidate(candidate: Candidate) -> BaseCandidate | None: + """The runtime version of BaseCandidate.""" + base_candidate_classes = ( + AlreadyInstalledCandidate, + EditableCandidate, + LinkCandidate, + ) + if isinstance(candidate, base_candidate_classes): + return candidate + return None + + +def make_install_req_from_link( + link: Link, template: InstallRequirement +) -> InstallRequirement: + assert not template.editable, "template is editable" + if template.req: + line = str(template.req) + else: + line = link.url + ireq = install_req_from_line( + line, + user_supplied=template.user_supplied, + comes_from=template.comes_from, + use_pep517=template.use_pep517, + isolated=template.isolated, + constraint=template.constraint, + global_options=template.global_options, + hash_options=template.hash_options, + config_settings=template.config_settings, + ) + ireq.original_link = template.original_link + ireq.link = link + ireq.extras = template.extras + return ireq + + +def make_install_req_from_editable( + link: Link, template: InstallRequirement +) -> InstallRequirement: + assert template.editable, "template not editable" + ireq = install_req_from_editable( + link.url, + user_supplied=template.user_supplied, + comes_from=template.comes_from, + use_pep517=template.use_pep517, + isolated=template.isolated, + constraint=template.constraint, + permit_editable_wheels=template.permit_editable_wheels, + global_options=template.global_options, + hash_options=template.hash_options, + config_settings=template.config_settings, + ) + ireq.extras = template.extras + return ireq + + +def _make_install_req_from_dist( + dist: BaseDistribution, template: InstallRequirement +) -> InstallRequirement: + if template.req: + line = str(template.req) + elif template.link: + line = f"{dist.canonical_name} @ {template.link.url}" + else: + line = f"{dist.canonical_name}=={dist.version}" + ireq = install_req_from_line( + line, + user_supplied=template.user_supplied, + comes_from=template.comes_from, + use_pep517=template.use_pep517, + isolated=template.isolated, + constraint=template.constraint, + global_options=template.global_options, + hash_options=template.hash_options, + config_settings=template.config_settings, + ) + ireq.satisfied_by = dist + return ireq + + +class _InstallRequirementBackedCandidate(Candidate): + """A candidate backed by an ``InstallRequirement``. + + This represents a package request with the target not being already + in the environment, and needs to be fetched and installed. The backing + ``InstallRequirement`` is responsible for most of the leg work; this + class exposes appropriate information to the resolver. + + :param link: The link passed to the ``InstallRequirement``. The backing + ``InstallRequirement`` will use this link to fetch the distribution. + :param source_link: The link this candidate "originates" from. This is + different from ``link`` when the link is found in the wheel cache. + ``link`` would point to the wheel cache, while this points to the + found remote link (e.g. from pypi.org). + """ + + dist: BaseDistribution + is_installed = False + + def __init__( + self, + link: Link, + source_link: Link, + ireq: InstallRequirement, + factory: Factory, + name: NormalizedName | None = None, + version: Version | None = None, + ) -> None: + self._link = link + self._source_link = source_link + self._factory = factory + self._ireq = ireq + self._name = name + self._version = version + self.dist = self._prepare() + self._hash: int | None = None + + def __str__(self) -> str: + return f"{self.name} {self.version}" + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({str(self._link)!r})" + + def __hash__(self) -> int: + if self._hash is not None: + return self._hash + + self._hash = hash((self.__class__, self._link)) + return self._hash + + def __eq__(self, other: Any) -> bool: + if isinstance(other, self.__class__): + return links_equivalent(self._link, other._link) + return False + + @property + def source_link(self) -> Link | None: + return self._source_link + + @property + def project_name(self) -> NormalizedName: + """The normalised name of the project the candidate refers to""" + if self._name is None: + self._name = self.dist.canonical_name + return self._name + + @property + def name(self) -> str: + return self.project_name + + @property + def version(self) -> Version: + if self._version is None: + self._version = self.dist.version + return self._version + + def format_for_error(self) -> str: + return ( + f"{self.name} {self.version} " + f"(from {self._link.file_path if self._link.is_file else self._link})" + ) + + def _prepare_distribution(self) -> BaseDistribution: + raise NotImplementedError("Override in subclass") + + def _check_metadata_consistency(self, dist: BaseDistribution) -> None: + """Check for consistency of project name and version of dist.""" + if self._name is not None and self._name != dist.canonical_name: + raise MetadataInconsistent( + self._ireq, + "name", + self._name, + dist.canonical_name, + ) + if self._version is not None and self._version != dist.version: + raise MetadataInconsistent( + self._ireq, + "version", + str(self._version), + str(dist.version), + ) + # check dependencies are valid + # TODO performance: this means we iterate the dependencies at least twice, + # we may want to cache parsed Requires-Dist + try: + list(dist.iter_dependencies(list(dist.iter_provided_extras()))) + except InvalidRequirement as e: + raise MetadataInvalid(self._ireq, str(e)) + + def _prepare(self) -> BaseDistribution: + try: + dist = self._prepare_distribution() + except HashError as e: + # Provide HashError the underlying ireq that caused it. This + # provides context for the resulting error message to show the + # offending line to the user. + e.req = self._ireq + raise + except InstallationSubprocessError as exc: + # The output has been presented already, so don't duplicate it. + exc.context = "See above for output." + raise + + self._check_metadata_consistency(dist) + return dist + + def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]: + # Emit the Requires-Python requirement first to fail fast on + # unsupported candidates and avoid pointless downloads/preparation. + yield self._factory.make_requires_python_requirement(self.dist.requires_python) + requires = self.dist.iter_dependencies() if with_requires else () + for r in requires: + yield from self._factory.make_requirements_from_spec(str(r), self._ireq) + + def get_install_requirement(self) -> InstallRequirement | None: + return self._ireq + + +class LinkCandidate(_InstallRequirementBackedCandidate): + is_editable = False + + def __init__( + self, + link: Link, + template: InstallRequirement, + factory: Factory, + name: NormalizedName | None = None, + version: Version | None = None, + ) -> None: + source_link = link + cache_entry = factory.get_wheel_cache_entry(source_link, name) + if cache_entry is not None: + logger.debug("Using cached wheel link: %s", cache_entry.link) + link = cache_entry.link + ireq = make_install_req_from_link(link, template) + assert ireq.link == link + if ireq.link.is_wheel and not ireq.link.is_file: + wheel = Wheel(ireq.link.filename) + wheel_name = canonicalize_name(wheel.name) + assert name == wheel_name, f"{name!r} != {wheel_name!r} for wheel" + # Version may not be present for PEP 508 direct URLs + if version is not None: + wheel_version = Version(wheel.version) + assert ( + version == wheel_version + ), f"{version!r} != {wheel_version!r} for wheel {name}" + + if cache_entry is not None: + assert ireq.link.is_wheel + assert ireq.link.is_file + if cache_entry.persistent and template.link is template.original_link: + ireq.cached_wheel_source_link = source_link + if cache_entry.origin is not None: + ireq.download_info = cache_entry.origin + else: + # Legacy cache entry that does not have origin.json. + # download_info may miss the archive_info.hashes field. + ireq.download_info = direct_url_from_link( + source_link, link_is_in_wheel_cache=cache_entry.persistent + ) + + super().__init__( + link=link, + source_link=source_link, + ireq=ireq, + factory=factory, + name=name, + version=version, + ) + + def _prepare_distribution(self) -> BaseDistribution: + preparer = self._factory.preparer + return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) + + +class EditableCandidate(_InstallRequirementBackedCandidate): + is_editable = True + + def __init__( + self, + link: Link, + template: InstallRequirement, + factory: Factory, + name: NormalizedName | None = None, + version: Version | None = None, + ) -> None: + super().__init__( + link=link, + source_link=link, + ireq=make_install_req_from_editable(link, template), + factory=factory, + name=name, + version=version, + ) + + def _prepare_distribution(self) -> BaseDistribution: + return self._factory.preparer.prepare_editable_requirement(self._ireq) + + +class AlreadyInstalledCandidate(Candidate): + is_installed = True + source_link = None + + def __init__( + self, + dist: BaseDistribution, + template: InstallRequirement, + factory: Factory, + ) -> None: + self.dist = dist + self._ireq = _make_install_req_from_dist(dist, template) + self._factory = factory + self._version = None + + # This is just logging some messages, so we can do it eagerly. + # The returned dist would be exactly the same as self.dist because we + # set satisfied_by in _make_install_req_from_dist. + # TODO: Supply reason based on force_reinstall and upgrade_strategy. + skip_reason = "already satisfied" + factory.preparer.prepare_installed_requirement(self._ireq, skip_reason) + + def __str__(self) -> str: + return str(self.dist) + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({self.dist!r})" + + def __eq__(self, other: object) -> bool: + if not isinstance(other, AlreadyInstalledCandidate): + return NotImplemented + return self.name == other.name and self.version == other.version + + def __hash__(self) -> int: + return hash((self.name, self.version)) + + @property + def project_name(self) -> NormalizedName: + return self.dist.canonical_name + + @property + def name(self) -> str: + return self.project_name + + @property + def version(self) -> Version: + if self._version is None: + self._version = self.dist.version + return self._version + + @property + def is_editable(self) -> bool: + return self.dist.editable + + def format_for_error(self) -> str: + return f"{self.name} {self.version} (Installed)" + + def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]: + if not with_requires: + return + + try: + for r in self.dist.iter_dependencies(): + yield from self._factory.make_requirements_from_spec(str(r), self._ireq) + except InvalidRequirement as exc: + raise InvalidInstalledPackage(dist=self.dist, invalid_exc=exc) from None + + def get_install_requirement(self) -> InstallRequirement | None: + return None + + +class ExtrasCandidate(Candidate): + """A candidate that has 'extras', indicating additional dependencies. + + Requirements can be for a project with dependencies, something like + foo[extra]. The extras don't affect the project/version being installed + directly, but indicate that we need additional dependencies. We model that + by having an artificial ExtrasCandidate that wraps the "base" candidate. + + The ExtrasCandidate differs from the base in the following ways: + + 1. It has a unique name, of the form foo[extra]. This causes the resolver + to treat it as a separate node in the dependency graph. + 2. When we're getting the candidate's dependencies, + a) We specify that we want the extra dependencies as well. + b) We add a dependency on the base candidate. + See below for why this is needed. + 3. We return None for the underlying InstallRequirement, as the base + candidate will provide it, and we don't want to end up with duplicates. + + The dependency on the base candidate is needed so that the resolver can't + decide that it should recommend foo[extra1] version 1.0 and foo[extra2] + version 2.0. Having those candidates depend on foo=1.0 and foo=2.0 + respectively forces the resolver to recognise that this is a conflict. + """ + + def __init__( + self, + base: BaseCandidate, + extras: frozenset[str], + *, + comes_from: InstallRequirement | None = None, + ) -> None: + """ + :param comes_from: the InstallRequirement that led to this candidate if it + differs from the base's InstallRequirement. This will often be the + case in the sense that this candidate's requirement has the extras + while the base's does not. Unlike the InstallRequirement backed + candidates, this requirement is used solely for reporting purposes, + it does not do any leg work. + """ + self.base = base + self.extras = frozenset(canonicalize_name(e) for e in extras) + self._comes_from = comes_from if comes_from is not None else self.base._ireq + + def __str__(self) -> str: + name, rest = str(self.base).split(" ", 1) + return "{}[{}] {}".format(name, ",".join(self.extras), rest) + + def __repr__(self) -> str: + return f"{self.__class__.__name__}(base={self.base!r}, extras={self.extras!r})" + + def __hash__(self) -> int: + return hash((self.base, self.extras)) + + def __eq__(self, other: Any) -> bool: + if isinstance(other, self.__class__): + return self.base == other.base and self.extras == other.extras + return False + + @property + def project_name(self) -> NormalizedName: + return self.base.project_name + + @property + def name(self) -> str: + """The normalised name of the project the candidate refers to""" + return format_name(self.base.project_name, self.extras) + + @property + def version(self) -> Version: + return self.base.version + + def format_for_error(self) -> str: + return "{} [{}]".format( + self.base.format_for_error(), ", ".join(sorted(self.extras)) + ) + + @property + def is_installed(self) -> bool: + return self.base.is_installed + + @property + def is_editable(self) -> bool: + return self.base.is_editable + + @property + def source_link(self) -> Link | None: + return self.base.source_link + + def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]: + factory = self.base._factory + + # Add a dependency on the exact base + # (See note 2b in the class docstring) + yield factory.make_requirement_from_candidate(self.base) + if not with_requires: + return + + # The user may have specified extras that the candidate doesn't + # support. We ignore any unsupported extras here. + valid_extras = self.extras.intersection(self.base.dist.iter_provided_extras()) + invalid_extras = self.extras.difference(self.base.dist.iter_provided_extras()) + for extra in sorted(invalid_extras): + logger.warning( + "%s %s does not provide the extra '%s'", + self.base.name, + self.version, + extra, + ) + + for r in self.base.dist.iter_dependencies(valid_extras): + yield from factory.make_requirements_from_spec( + str(r), + self._comes_from, + valid_extras, + ) + + def get_install_requirement(self) -> InstallRequirement | None: + # We don't return anything here, because we always + # depend on the base candidate, and we'll get the + # install requirement from that. + return None + + +class RequiresPythonCandidate(Candidate): + is_installed = False + source_link = None + + def __init__(self, py_version_info: tuple[int, ...] | None) -> None: + if py_version_info is not None: + version_info = normalize_version_info(py_version_info) + else: + version_info = sys.version_info[:3] + self._version = Version(".".join(str(c) for c in version_info)) + + # We don't need to implement __eq__() and __ne__() since there is always + # only one RequiresPythonCandidate in a resolution, i.e. the host Python. + # The built-in object.__eq__() and object.__ne__() do exactly what we want. + + def __str__(self) -> str: + return f"Python {self._version}" + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({self._version!r})" + + @property + def project_name(self) -> NormalizedName: + return REQUIRES_PYTHON_IDENTIFIER + + @property + def name(self) -> str: + return REQUIRES_PYTHON_IDENTIFIER + + @property + def version(self) -> Version: + return self._version + + def format_for_error(self) -> str: + return f"Python {self.version}" + + def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]: + return () + + def get_install_requirement(self) -> InstallRequirement | None: + return None diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py new file mode 100644 index 0000000000000000000000000000000000000000..f23e4cd6258aa7e60ccc2f106aedfee6c91efa65 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py @@ -0,0 +1,814 @@ +from __future__ import annotations + +import contextlib +import functools +import logging +from collections.abc import Iterable, Iterator, Mapping, Sequence +from typing import ( + TYPE_CHECKING, + Callable, + NamedTuple, + Protocol, + TypeVar, + cast, +) + +from pip._vendor.packaging.requirements import InvalidRequirement +from pip._vendor.packaging.specifiers import SpecifierSet +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name +from pip._vendor.packaging.version import InvalidVersion, Version +from pip._vendor.resolvelib import ResolutionImpossible + +from pip._internal.cache import CacheEntry, WheelCache +from pip._internal.exceptions import ( + DistributionNotFound, + InstallationError, + InvalidInstalledPackage, + MetadataInconsistent, + MetadataInvalid, + UnsupportedPythonVersion, + UnsupportedWheel, +) +from pip._internal.index.package_finder import PackageFinder +from pip._internal.metadata import BaseDistribution, get_default_environment +from pip._internal.models.link import Link +from pip._internal.models.wheel import Wheel +from pip._internal.operations.prepare import RequirementPreparer +from pip._internal.req.constructors import ( + install_req_drop_extras, + install_req_from_link_and_ireq, +) +from pip._internal.req.req_install import ( + InstallRequirement, + check_invalid_constraint_type, +) +from pip._internal.resolution.base import InstallRequirementProvider +from pip._internal.utils.compatibility_tags import get_supported +from pip._internal.utils.hashes import Hashes +from pip._internal.utils.packaging import get_requirement +from pip._internal.utils.virtualenv import running_under_virtualenv + +from .base import Candidate, Constraint, Requirement +from .candidates import ( + AlreadyInstalledCandidate, + BaseCandidate, + EditableCandidate, + ExtrasCandidate, + LinkCandidate, + RequiresPythonCandidate, + as_base_candidate, +) +from .found_candidates import FoundCandidates, IndexCandidateInfo +from .requirements import ( + ExplicitRequirement, + RequiresPythonRequirement, + SpecifierRequirement, + SpecifierWithoutExtrasRequirement, + UnsatisfiableRequirement, +) + +if TYPE_CHECKING: + + class ConflictCause(Protocol): + requirement: RequiresPythonRequirement + parent: Candidate + + +logger = logging.getLogger(__name__) + +C = TypeVar("C") +Cache = dict[Link, C] + + +class CollectedRootRequirements(NamedTuple): + requirements: list[Requirement] + constraints: dict[str, Constraint] + user_requested: dict[str, int] + + +class Factory: + def __init__( + self, + finder: PackageFinder, + preparer: RequirementPreparer, + make_install_req: InstallRequirementProvider, + wheel_cache: WheelCache | None, + use_user_site: bool, + force_reinstall: bool, + ignore_installed: bool, + ignore_requires_python: bool, + py_version_info: tuple[int, ...] | None = None, + ) -> None: + self._finder = finder + self.preparer = preparer + self._wheel_cache = wheel_cache + self._python_candidate = RequiresPythonCandidate(py_version_info) + self._make_install_req_from_spec = make_install_req + self._use_user_site = use_user_site + self._force_reinstall = force_reinstall + self._ignore_requires_python = ignore_requires_python + + self._build_failures: Cache[InstallationError] = {} + self._link_candidate_cache: Cache[LinkCandidate] = {} + self._editable_candidate_cache: Cache[EditableCandidate] = {} + self._installed_candidate_cache: dict[str, AlreadyInstalledCandidate] = {} + self._extras_candidate_cache: dict[ + tuple[int, frozenset[NormalizedName]], ExtrasCandidate + ] = {} + self._supported_tags_cache = get_supported() + + if not ignore_installed: + env = get_default_environment() + self._installed_dists = { + dist.canonical_name: dist + for dist in env.iter_installed_distributions(local_only=False) + } + else: + self._installed_dists = {} + + @property + def force_reinstall(self) -> bool: + return self._force_reinstall + + def _fail_if_link_is_unsupported_wheel(self, link: Link) -> None: + if not link.is_wheel: + return + wheel = Wheel(link.filename) + if wheel.supported(self._finder.target_python.get_unsorted_tags()): + return + msg = f"{link.filename} is not a supported wheel on this platform." + raise UnsupportedWheel(msg) + + def _make_extras_candidate( + self, + base: BaseCandidate, + extras: frozenset[str], + *, + comes_from: InstallRequirement | None = None, + ) -> ExtrasCandidate: + cache_key = (id(base), frozenset(canonicalize_name(e) for e in extras)) + try: + candidate = self._extras_candidate_cache[cache_key] + except KeyError: + candidate = ExtrasCandidate(base, extras, comes_from=comes_from) + self._extras_candidate_cache[cache_key] = candidate + return candidate + + def _make_candidate_from_dist( + self, + dist: BaseDistribution, + extras: frozenset[str], + template: InstallRequirement, + ) -> Candidate: + try: + base = self._installed_candidate_cache[dist.canonical_name] + except KeyError: + base = AlreadyInstalledCandidate(dist, template, factory=self) + self._installed_candidate_cache[dist.canonical_name] = base + if not extras: + return base + return self._make_extras_candidate(base, extras, comes_from=template) + + def _make_candidate_from_link( + self, + link: Link, + extras: frozenset[str], + template: InstallRequirement, + name: NormalizedName | None, + version: Version | None, + ) -> Candidate | None: + base: BaseCandidate | None = self._make_base_candidate_from_link( + link, template, name, version + ) + if not extras or base is None: + return base + return self._make_extras_candidate(base, extras, comes_from=template) + + def _make_base_candidate_from_link( + self, + link: Link, + template: InstallRequirement, + name: NormalizedName | None, + version: Version | None, + ) -> BaseCandidate | None: + # TODO: Check already installed candidate, and use it if the link and + # editable flag match. + + if link in self._build_failures: + # We already tried this candidate before, and it does not build. + # Don't bother trying again. + return None + + if template.editable: + if link not in self._editable_candidate_cache: + try: + self._editable_candidate_cache[link] = EditableCandidate( + link, + template, + factory=self, + name=name, + version=version, + ) + except (MetadataInconsistent, MetadataInvalid) as e: + logger.info( + "Discarding [blue underline]%s[/]: [yellow]%s[reset]", + link, + e, + extra={"markup": True}, + ) + self._build_failures[link] = e + return None + + return self._editable_candidate_cache[link] + else: + if link not in self._link_candidate_cache: + try: + self._link_candidate_cache[link] = LinkCandidate( + link, + template, + factory=self, + name=name, + version=version, + ) + except MetadataInconsistent as e: + logger.info( + "Discarding [blue underline]%s[/]: [yellow]%s[reset]", + link, + e, + extra={"markup": True}, + ) + self._build_failures[link] = e + return None + return self._link_candidate_cache[link] + + def _iter_found_candidates( + self, + ireqs: Sequence[InstallRequirement], + specifier: SpecifierSet, + hashes: Hashes, + prefers_installed: bool, + incompatible_ids: set[int], + ) -> Iterable[Candidate]: + if not ireqs: + return () + + # The InstallRequirement implementation requires us to give it a + # "template". Here we just choose the first requirement to represent + # all of them. + # Hopefully the Project model can correct this mismatch in the future. + template = ireqs[0] + assert template.req, "Candidates found on index must be PEP 508" + name = canonicalize_name(template.req.name) + + extras: frozenset[str] = frozenset() + for ireq in ireqs: + assert ireq.req, "Candidates found on index must be PEP 508" + specifier &= ireq.req.specifier + hashes &= ireq.hashes(trust_internet=False) + extras |= frozenset(ireq.extras) + + def _get_installed_candidate() -> Candidate | None: + """Get the candidate for the currently-installed version.""" + # If --force-reinstall is set, we want the version from the index + # instead, so we "pretend" there is nothing installed. + if self._force_reinstall: + return None + try: + installed_dist = self._installed_dists[name] + except KeyError: + return None + + try: + # Don't use the installed distribution if its version + # does not fit the current dependency graph. + if not specifier.contains(installed_dist.version, prereleases=True): + return None + except InvalidVersion as e: + raise InvalidInstalledPackage(dist=installed_dist, invalid_exc=e) + + candidate = self._make_candidate_from_dist( + dist=installed_dist, + extras=extras, + template=template, + ) + # The candidate is a known incompatibility. Don't use it. + if id(candidate) in incompatible_ids: + return None + return candidate + + def iter_index_candidate_infos() -> Iterator[IndexCandidateInfo]: + result = self._finder.find_best_candidate( + project_name=name, + specifier=specifier, + hashes=hashes, + ) + icans = result.applicable_candidates + + # PEP 592: Yanked releases are ignored unless the specifier + # explicitly pins a version (via '==' or '===') that can be + # solely satisfied by a yanked release. + all_yanked = all(ican.link.is_yanked for ican in icans) + + def is_pinned(specifier: SpecifierSet) -> bool: + for sp in specifier: + if sp.operator == "===": + return True + if sp.operator != "==": + continue + if sp.version.endswith(".*"): + continue + return True + return False + + pinned = is_pinned(specifier) + + # PackageFinder returns earlier versions first, so we reverse. + for ican in reversed(icans): + if not (all_yanked and pinned) and ican.link.is_yanked: + continue + func = functools.partial( + self._make_candidate_from_link, + link=ican.link, + extras=extras, + template=template, + name=name, + version=ican.version, + ) + yield ican.version, func + + return FoundCandidates( + iter_index_candidate_infos, + _get_installed_candidate(), + prefers_installed, + incompatible_ids, + ) + + def _iter_explicit_candidates_from_base( + self, + base_requirements: Iterable[Requirement], + extras: frozenset[str], + ) -> Iterator[Candidate]: + """Produce explicit candidates from the base given an extra-ed package. + + :param base_requirements: Requirements known to the resolver. The + requirements are guaranteed to not have extras. + :param extras: The extras to inject into the explicit requirements' + candidates. + """ + for req in base_requirements: + lookup_cand, _ = req.get_candidate_lookup() + if lookup_cand is None: # Not explicit. + continue + # We've stripped extras from the identifier, and should always + # get a BaseCandidate here, unless there's a bug elsewhere. + base_cand = as_base_candidate(lookup_cand) + assert base_cand is not None, "no extras here" + yield self._make_extras_candidate(base_cand, extras) + + def _iter_candidates_from_constraints( + self, + identifier: str, + constraint: Constraint, + template: InstallRequirement, + ) -> Iterator[Candidate]: + """Produce explicit candidates from constraints. + + This creates "fake" InstallRequirement objects that are basically clones + of what "should" be the template, but with original_link set to link. + """ + for link in constraint.links: + self._fail_if_link_is_unsupported_wheel(link) + candidate = self._make_base_candidate_from_link( + link, + template=install_req_from_link_and_ireq(link, template), + name=canonicalize_name(identifier), + version=None, + ) + if candidate: + yield candidate + + def find_candidates( + self, + identifier: str, + requirements: Mapping[str, Iterable[Requirement]], + incompatibilities: Mapping[str, Iterator[Candidate]], + constraint: Constraint, + prefers_installed: bool, + is_satisfied_by: Callable[[Requirement, Candidate], bool], + ) -> Iterable[Candidate]: + # Collect basic lookup information from the requirements. + explicit_candidates: set[Candidate] = set() + ireqs: list[InstallRequirement] = [] + for req in requirements[identifier]: + cand, ireq = req.get_candidate_lookup() + if cand is not None: + explicit_candidates.add(cand) + if ireq is not None: + ireqs.append(ireq) + + # If the current identifier contains extras, add requires and explicit + # candidates from entries from extra-less identifier. + with contextlib.suppress(InvalidRequirement): + parsed_requirement = get_requirement(identifier) + if parsed_requirement.name != identifier: + explicit_candidates.update( + self._iter_explicit_candidates_from_base( + requirements.get(parsed_requirement.name, ()), + frozenset(parsed_requirement.extras), + ), + ) + for req in requirements.get(parsed_requirement.name, []): + _, ireq = req.get_candidate_lookup() + if ireq is not None: + ireqs.append(ireq) + + # Add explicit candidates from constraints. We only do this if there are + # known ireqs, which represent requirements not already explicit. If + # there are no ireqs, we're constraining already-explicit requirements, + # which is handled later when we return the explicit candidates. + if ireqs: + try: + explicit_candidates.update( + self._iter_candidates_from_constraints( + identifier, + constraint, + template=ireqs[0], + ), + ) + except UnsupportedWheel: + # If we're constrained to install a wheel incompatible with the + # target architecture, no candidates will ever be valid. + return () + + # Since we cache all the candidates, incompatibility identification + # can be made quicker by comparing only the id() values. + incompat_ids = {id(c) for c in incompatibilities.get(identifier, ())} + + # If none of the requirements want an explicit candidate, we can ask + # the finder for candidates. + if not explicit_candidates: + return self._iter_found_candidates( + ireqs, + constraint.specifier, + constraint.hashes, + prefers_installed, + incompat_ids, + ) + + return ( + c + for c in explicit_candidates + if id(c) not in incompat_ids + and constraint.is_satisfied_by(c) + and all(is_satisfied_by(req, c) for req in requirements[identifier]) + ) + + def _make_requirements_from_install_req( + self, ireq: InstallRequirement, requested_extras: Iterable[str] + ) -> Iterator[Requirement]: + """ + Returns requirement objects associated with the given InstallRequirement. In + most cases this will be a single object but the following special cases exist: + - the InstallRequirement has markers that do not apply -> result is empty + - the InstallRequirement has both a constraint (or link) and extras + -> result is split in two requirement objects: one with the constraint + (or link) and one with the extra. This allows centralized constraint + handling for the base, resulting in fewer candidate rejections. + """ + if not ireq.match_markers(requested_extras): + logger.info( + "Ignoring %s: markers '%s' don't match your environment", + ireq.name, + ireq.markers, + ) + elif not ireq.link: + if ireq.extras and ireq.req is not None and ireq.req.specifier: + yield SpecifierWithoutExtrasRequirement(ireq) + yield SpecifierRequirement(ireq) + else: + self._fail_if_link_is_unsupported_wheel(ireq.link) + # Always make the link candidate for the base requirement to make it + # available to `find_candidates` for explicit candidate lookup for any + # set of extras. + # The extras are required separately via a second requirement. + cand = self._make_base_candidate_from_link( + ireq.link, + template=install_req_drop_extras(ireq) if ireq.extras else ireq, + name=canonicalize_name(ireq.name) if ireq.name else None, + version=None, + ) + if cand is None: + # There's no way we can satisfy a URL requirement if the underlying + # candidate fails to build. An unnamed URL must be user-supplied, so + # we fail eagerly. If the URL is named, an unsatisfiable requirement + # can make the resolver do the right thing, either backtrack (and + # maybe find some other requirement that's buildable) or raise a + # ResolutionImpossible eventually. + if not ireq.name: + raise self._build_failures[ireq.link] + yield UnsatisfiableRequirement(canonicalize_name(ireq.name)) + else: + # require the base from the link + yield self.make_requirement_from_candidate(cand) + if ireq.extras: + # require the extras on top of the base candidate + yield self.make_requirement_from_candidate( + self._make_extras_candidate(cand, frozenset(ireq.extras)) + ) + + def collect_root_requirements( + self, root_ireqs: list[InstallRequirement] + ) -> CollectedRootRequirements: + collected = CollectedRootRequirements([], {}, {}) + for i, ireq in enumerate(root_ireqs): + if ireq.constraint: + # Ensure we only accept valid constraints + problem = check_invalid_constraint_type(ireq) + if problem: + raise InstallationError(problem) + if not ireq.match_markers(): + continue + assert ireq.name, "Constraint must be named" + name = canonicalize_name(ireq.name) + if name in collected.constraints: + collected.constraints[name] &= ireq + else: + collected.constraints[name] = Constraint.from_ireq(ireq) + else: + reqs = list( + self._make_requirements_from_install_req( + ireq, + requested_extras=(), + ) + ) + if not reqs: + continue + template = reqs[0] + if ireq.user_supplied and template.name not in collected.user_requested: + collected.user_requested[template.name] = i + collected.requirements.extend(reqs) + # Put requirements with extras at the end of the root requires. This does not + # affect resolvelib's picking preference but it does affect its initial criteria + # population: by putting extras at the end we enable the candidate finder to + # present resolvelib with a smaller set of candidates to resolvelib, already + # taking into account any non-transient constraints on the associated base. This + # means resolvelib will have fewer candidates to visit and reject. + # Python's list sort is stable, meaning relative order is kept for objects with + # the same key. + collected.requirements.sort(key=lambda r: r.name != r.project_name) + return collected + + def make_requirement_from_candidate( + self, candidate: Candidate + ) -> ExplicitRequirement: + return ExplicitRequirement(candidate) + + def make_requirements_from_spec( + self, + specifier: str, + comes_from: InstallRequirement | None, + requested_extras: Iterable[str] = (), + ) -> Iterator[Requirement]: + """ + Returns requirement objects associated with the given specifier. In most cases + this will be a single object but the following special cases exist: + - the specifier has markers that do not apply -> result is empty + - the specifier has both a constraint and extras -> result is split + in two requirement objects: one with the constraint and one with the + extra. This allows centralized constraint handling for the base, + resulting in fewer candidate rejections. + """ + ireq = self._make_install_req_from_spec(specifier, comes_from) + return self._make_requirements_from_install_req(ireq, requested_extras) + + def make_requires_python_requirement( + self, + specifier: SpecifierSet, + ) -> Requirement | None: + if self._ignore_requires_python: + return None + # Don't bother creating a dependency for an empty Requires-Python. + if not str(specifier): + return None + return RequiresPythonRequirement(specifier, self._python_candidate) + + def get_wheel_cache_entry(self, link: Link, name: str | None) -> CacheEntry | None: + """Look up the link in the wheel cache. + + If ``preparer.require_hashes`` is True, don't use the wheel cache, + because cached wheels, always built locally, have different hashes + than the files downloaded from the index server and thus throw false + hash mismatches. Furthermore, cached wheels at present have + nondeterministic contents due to file modification times. + """ + if self._wheel_cache is None: + return None + return self._wheel_cache.get_cache_entry( + link=link, + package_name=name, + supported_tags=self._supported_tags_cache, + ) + + def get_dist_to_uninstall(self, candidate: Candidate) -> BaseDistribution | None: + # TODO: Are there more cases this needs to return True? Editable? + dist = self._installed_dists.get(candidate.project_name) + if dist is None: # Not installed, no uninstallation required. + return None + + # We're installing into global site. The current installation must + # be uninstalled, no matter it's in global or user site, because the + # user site installation has precedence over global. + if not self._use_user_site: + return dist + + # We're installing into user site. Remove the user site installation. + if dist.in_usersite: + return dist + + # We're installing into user site, but the installed incompatible + # package is in global site. We can't uninstall that, and would let + # the new user installation to "shadow" it. But shadowing won't work + # in virtual environments, so we error out. + if running_under_virtualenv() and dist.in_site_packages: + message = ( + f"Will not install to the user site because it will lack " + f"sys.path precedence to {dist.raw_name} in {dist.location}" + ) + raise InstallationError(message) + return None + + def _report_requires_python_error( + self, causes: Sequence[ConflictCause] + ) -> UnsupportedPythonVersion: + assert causes, "Requires-Python error reported with no cause" + + version = self._python_candidate.version + + if len(causes) == 1: + specifier = str(causes[0].requirement.specifier) + message = ( + f"Package {causes[0].parent.name!r} requires a different " + f"Python: {version} not in {specifier!r}" + ) + return UnsupportedPythonVersion(message) + + message = f"Packages require a different Python. {version} not in:" + for cause in causes: + package = cause.parent.format_for_error() + specifier = str(cause.requirement.specifier) + message += f"\n{specifier!r} (required by {package})" + return UnsupportedPythonVersion(message) + + def _report_single_requirement_conflict( + self, req: Requirement, parent: Candidate | None + ) -> DistributionNotFound: + if parent is None: + req_disp = str(req) + else: + req_disp = f"{req} (from {parent.name})" + + cands = self._finder.find_all_candidates(req.project_name) + skipped_by_requires_python = self._finder.requires_python_skipped_reasons() + + versions_set: set[Version] = set() + yanked_versions_set: set[Version] = set() + for c in cands: + is_yanked = c.link.is_yanked if c.link else False + if is_yanked: + yanked_versions_set.add(c.version) + else: + versions_set.add(c.version) + + versions = [str(v) for v in sorted(versions_set)] + yanked_versions = [str(v) for v in sorted(yanked_versions_set)] + + if yanked_versions: + # Saying "version X is yanked" isn't entirely accurate. + # https://github.com/pypa/pip/issues/11745#issuecomment-1402805842 + logger.critical( + "Ignored the following yanked versions: %s", + ", ".join(yanked_versions) or "none", + ) + if skipped_by_requires_python: + logger.critical( + "Ignored the following versions that require a different python " + "version: %s", + "; ".join(skipped_by_requires_python) or "none", + ) + logger.critical( + "Could not find a version that satisfies the requirement %s " + "(from versions: %s)", + req_disp, + ", ".join(versions) or "none", + ) + if str(req) == "requirements.txt": + logger.info( + "HINT: You are attempting to install a package literally " + 'named "requirements.txt" (which cannot exist). Consider ' + "using the '-r' flag to install the packages listed in " + "requirements.txt" + ) + + return DistributionNotFound(f"No matching distribution found for {req}") + + def get_installation_error( + self, + e: ResolutionImpossible[Requirement, Candidate], + constraints: dict[str, Constraint], + ) -> InstallationError: + assert e.causes, "Installation error reported with no cause" + + # If one of the things we can't solve is "we need Python X.Y", + # that is what we report. + requires_python_causes = [ + cause + for cause in e.causes + if isinstance(cause.requirement, RequiresPythonRequirement) + and not cause.requirement.is_satisfied_by(self._python_candidate) + ] + if requires_python_causes: + # The comprehension above makes sure all Requirement instances are + # RequiresPythonRequirement, so let's cast for convenience. + return self._report_requires_python_error( + cast("Sequence[ConflictCause]", requires_python_causes), + ) + + # Otherwise, we have a set of causes which can't all be satisfied + # at once. + + # The simplest case is when we have *one* cause that can't be + # satisfied. We just report that case. + if len(e.causes) == 1: + req, parent = next(iter(e.causes)) + if req.name not in constraints: + return self._report_single_requirement_conflict(req, parent) + + # OK, we now have a list of requirements that can't all be + # satisfied at once. + + # A couple of formatting helpers + def text_join(parts: list[str]) -> str: + if len(parts) == 1: + return parts[0] + + return ", ".join(parts[:-1]) + " and " + parts[-1] + + def describe_trigger(parent: Candidate) -> str: + ireq = parent.get_install_requirement() + if not ireq or not ireq.comes_from: + return f"{parent.name}=={parent.version}" + if isinstance(ireq.comes_from, InstallRequirement): + return str(ireq.comes_from.name) + return str(ireq.comes_from) + + triggers = set() + for req, parent in e.causes: + if parent is None: + # This is a root requirement, so we can report it directly + trigger = req.format_for_error() + else: + trigger = describe_trigger(parent) + triggers.add(trigger) + + if triggers: + info = text_join(sorted(triggers)) + else: + info = "the requested packages" + + msg = ( + f"Cannot install {info} because these package versions " + "have conflicting dependencies." + ) + logger.critical(msg) + msg = "\nThe conflict is caused by:" + + relevant_constraints = set() + for req, parent in e.causes: + if req.name in constraints: + relevant_constraints.add(req.name) + msg = msg + "\n " + if parent: + msg = msg + f"{parent.name} {parent.version} depends on " + else: + msg = msg + "The user requested " + msg = msg + req.format_for_error() + for key in relevant_constraints: + spec = constraints[key].specifier + msg += f"\n The user requested (constraint) {key}{spec}" + + msg = ( + msg + + "\n\n" + + "To fix this you could try to:\n" + + "1. loosen the range of package versions you've specified\n" + + "2. remove package versions to allow pip to attempt to solve " + + "the dependency conflict\n" + ) + + logger.info(msg) + + return DistributionNotFound( + "ResolutionImpossible: for help visit " + "https://pip.pypa.io/en/latest/topics/dependency-resolution/" + "#dealing-with-dependency-conflicts" + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py new file mode 100644 index 0000000000000000000000000000000000000000..f60653d21d4f5b2c06a94f8b16c840bf5dee93f0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py @@ -0,0 +1,166 @@ +"""Utilities to lazily create and visit candidates found. + +Creating and visiting a candidate is a *very* costly operation. It involves +fetching, extracting, potentially building modules from source, and verifying +distribution metadata. It is therefore crucial for performance to keep +everything here lazy all the way down, so we only touch candidates that we +absolutely need, and not "download the world" when we only need one version of +something. +""" + +from __future__ import annotations + +import logging +from collections.abc import Iterator, Sequence +from typing import Any, Callable, Optional + +from pip._vendor.packaging.version import _BaseVersion + +from pip._internal.exceptions import MetadataInvalid + +from .base import Candidate + +logger = logging.getLogger(__name__) + +IndexCandidateInfo = tuple[_BaseVersion, Callable[[], Optional[Candidate]]] + + +def _iter_built(infos: Iterator[IndexCandidateInfo]) -> Iterator[Candidate]: + """Iterator for ``FoundCandidates``. + + This iterator is used when the package is not already installed. Candidates + from index come later in their normal ordering. + """ + versions_found: set[_BaseVersion] = set() + for version, func in infos: + if version in versions_found: + continue + try: + candidate = func() + except MetadataInvalid as e: + logger.warning( + "Ignoring version %s of %s since it has invalid metadata:\n" + "%s\n" + "Please use pip<24.1 if you need to use this version.", + version, + e.ireq.name, + e, + ) + # Mark version as found to avoid trying other candidates with the same + # version, since they most likely have invalid metadata as well. + versions_found.add(version) + else: + if candidate is None: + continue + yield candidate + versions_found.add(version) + + +def _iter_built_with_prepended( + installed: Candidate, infos: Iterator[IndexCandidateInfo] +) -> Iterator[Candidate]: + """Iterator for ``FoundCandidates``. + + This iterator is used when the resolver prefers the already-installed + candidate and NOT to upgrade. The installed candidate is therefore + always yielded first, and candidates from index come later in their + normal ordering, except skipped when the version is already installed. + """ + yield installed + versions_found: set[_BaseVersion] = {installed.version} + for version, func in infos: + if version in versions_found: + continue + candidate = func() + if candidate is None: + continue + yield candidate + versions_found.add(version) + + +def _iter_built_with_inserted( + installed: Candidate, infos: Iterator[IndexCandidateInfo] +) -> Iterator[Candidate]: + """Iterator for ``FoundCandidates``. + + This iterator is used when the resolver prefers to upgrade an + already-installed package. Candidates from index are returned in their + normal ordering, except replaced when the version is already installed. + + The implementation iterates through and yields other candidates, inserting + the installed candidate exactly once before we start yielding older or + equivalent candidates, or after all other candidates if they are all newer. + """ + versions_found: set[_BaseVersion] = set() + for version, func in infos: + if version in versions_found: + continue + # If the installed candidate is better, yield it first. + if installed.version >= version: + yield installed + versions_found.add(installed.version) + candidate = func() + if candidate is None: + continue + yield candidate + versions_found.add(version) + + # If the installed candidate is older than all other candidates. + if installed.version not in versions_found: + yield installed + + +class FoundCandidates(Sequence[Candidate]): + """A lazy sequence to provide candidates to the resolver. + + The intended usage is to return this from `find_matches()` so the resolver + can iterate through the sequence multiple times, but only access the index + page when remote packages are actually needed. This improve performances + when suitable candidates are already installed on disk. + """ + + def __init__( + self, + get_infos: Callable[[], Iterator[IndexCandidateInfo]], + installed: Candidate | None, + prefers_installed: bool, + incompatible_ids: set[int], + ): + self._get_infos = get_infos + self._installed = installed + self._prefers_installed = prefers_installed + self._incompatible_ids = incompatible_ids + self._bool: bool | None = None + + def __getitem__(self, index: Any) -> Any: + # Implemented to satisfy the ABC check. This is not needed by the + # resolver, and should not be used by the provider either (for + # performance reasons). + raise NotImplementedError("don't do this") + + def __iter__(self) -> Iterator[Candidate]: + infos = self._get_infos() + if not self._installed: + iterator = _iter_built(infos) + elif self._prefers_installed: + iterator = _iter_built_with_prepended(self._installed, infos) + else: + iterator = _iter_built_with_inserted(self._installed, infos) + return (c for c in iterator if id(c) not in self._incompatible_ids) + + def __len__(self) -> int: + # Implemented to satisfy the ABC check. This is not needed by the + # resolver, and should not be used by the provider either (for + # performance reasons). + raise NotImplementedError("don't do this") + + def __bool__(self) -> bool: + if self._bool is not None: + return self._bool + + if self._prefers_installed and self._installed: + self._bool = True + return True + + self._bool = any(self) + return self._bool diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/provider.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/provider.py new file mode 100644 index 0000000000000000000000000000000000000000..40d611545a3d7cbc72745f917633dde99c440577 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/provider.py @@ -0,0 +1,276 @@ +from __future__ import annotations + +import math +from collections.abc import Iterable, Iterator, Mapping, Sequence +from functools import cache +from typing import ( + TYPE_CHECKING, + TypeVar, +) + +from pip._vendor.resolvelib.providers import AbstractProvider + +from pip._internal.req.req_install import InstallRequirement + +from .base import Candidate, Constraint, Requirement +from .candidates import REQUIRES_PYTHON_IDENTIFIER +from .factory import Factory +from .requirements import ExplicitRequirement + +if TYPE_CHECKING: + from pip._vendor.resolvelib.providers import Preference + from pip._vendor.resolvelib.resolvers import RequirementInformation + + PreferenceInformation = RequirementInformation[Requirement, Candidate] + + _ProviderBase = AbstractProvider[Requirement, Candidate, str] +else: + _ProviderBase = AbstractProvider + +# Notes on the relationship between the provider, the factory, and the +# candidate and requirement classes. +# +# The provider is a direct implementation of the resolvelib class. Its role +# is to deliver the API that resolvelib expects. +# +# Rather than work with completely abstract "requirement" and "candidate" +# concepts as resolvelib does, pip has concrete classes implementing these two +# ideas. The API of Requirement and Candidate objects are defined in the base +# classes, but essentially map fairly directly to the equivalent provider +# methods. In particular, `find_matches` and `is_satisfied_by` are +# requirement methods, and `get_dependencies` is a candidate method. +# +# The factory is the interface to pip's internal mechanisms. It is stateless, +# and is created by the resolver and held as a property of the provider. It is +# responsible for creating Requirement and Candidate objects, and provides +# services to those objects (access to pip's finder and preparer). + + +D = TypeVar("D") +V = TypeVar("V") + + +def _get_with_identifier( + mapping: Mapping[str, V], + identifier: str, + default: D, +) -> D | V: + """Get item from a package name lookup mapping with a resolver identifier. + + This extra logic is needed when the target mapping is keyed by package + name, which cannot be directly looked up with an identifier (which may + contain requested extras). Additional logic is added to also look up a value + by "cleaning up" the extras from the identifier. + """ + if identifier in mapping: + return mapping[identifier] + # HACK: Theoretically we should check whether this identifier is a valid + # "NAME[EXTRAS]" format, and parse out the name part with packaging or + # some regular expression. But since pip's resolver only spits out three + # kinds of identifiers: normalized PEP 503 names, normalized names plus + # extras, and Requires-Python, we can cheat a bit here. + name, open_bracket, _ = identifier.partition("[") + if open_bracket and name in mapping: + return mapping[name] + return default + + +class PipProvider(_ProviderBase): + """Pip's provider implementation for resolvelib. + + :params constraints: A mapping of constraints specified by the user. Keys + are canonicalized project names. + :params ignore_dependencies: Whether the user specified ``--no-deps``. + :params upgrade_strategy: The user-specified upgrade strategy. + :params user_requested: A set of canonicalized package names that the user + supplied for pip to install/upgrade. + """ + + def __init__( + self, + factory: Factory, + constraints: dict[str, Constraint], + ignore_dependencies: bool, + upgrade_strategy: str, + user_requested: dict[str, int], + ) -> None: + self._factory = factory + self._constraints = constraints + self._ignore_dependencies = ignore_dependencies + self._upgrade_strategy = upgrade_strategy + self._user_requested = user_requested + + def identify(self, requirement_or_candidate: Requirement | Candidate) -> str: + return requirement_or_candidate.name + + def narrow_requirement_selection( + self, + identifiers: Iterable[str], + resolutions: Mapping[str, Candidate], + candidates: Mapping[str, Iterator[Candidate]], + information: Mapping[str, Iterator[PreferenceInformation]], + backtrack_causes: Sequence[PreferenceInformation], + ) -> Iterable[str]: + """Produce a subset of identifiers that should be considered before others. + + Currently pip narrows the following selection: + * Requires-Python, if present is always returned by itself + * Backtrack causes are considered next because they can be identified + in linear time here, whereas because get_preference() is called + for each identifier, it would be quadratic to check for them there. + Further, the current backtrack causes likely need to be resolved + before other requirements as a resolution can't be found while + there is a conflict. + """ + backtrack_identifiers = set() + for info in backtrack_causes: + backtrack_identifiers.add(info.requirement.name) + if info.parent is not None: + backtrack_identifiers.add(info.parent.name) + + current_backtrack_causes = [] + for identifier in identifiers: + # Requires-Python has only one candidate and the check is basically + # free, so we always do it first to avoid needless work if it fails. + # This skips calling get_preference() for all other identifiers. + if identifier == REQUIRES_PYTHON_IDENTIFIER: + return [identifier] + + # Check if this identifier is a backtrack cause + if identifier in backtrack_identifiers: + current_backtrack_causes.append(identifier) + continue + + if current_backtrack_causes: + return current_backtrack_causes + + return identifiers + + def get_preference( + self, + identifier: str, + resolutions: Mapping[str, Candidate], + candidates: Mapping[str, Iterator[Candidate]], + information: Mapping[str, Iterable[PreferenceInformation]], + backtrack_causes: Sequence[PreferenceInformation], + ) -> Preference: + """Produce a sort key for given requirement based on preference. + + The lower the return value is, the more preferred this group of + arguments is. + + Currently pip considers the following in order: + + * Any requirement that is "direct", e.g., points to an explicit URL. + * Any requirement that is "pinned", i.e., contains the operator ``===`` + or ``==`` without a wildcard. + * Any requirement that imposes an upper version limit, i.e., contains the + operator ``<``, ``<=``, ``~=``, or ``==`` with a wildcard. Because + pip prioritizes the latest version, preferring explicit upper bounds + can rule out infeasible candidates sooner. This does not imply that + upper bounds are good practice; they can make dependency management + and resolution harder. + * Order user-specified requirements as they are specified, placing + other requirements afterward. + * Any "non-free" requirement, i.e., one that contains at least one + operator, such as ``>=`` or ``!=``. + * Alphabetical order for consistency (aids debuggability). + """ + try: + next(iter(information[identifier])) + except StopIteration: + # There is no information for this identifier, so there's no known + # candidates. + has_information = False + else: + has_information = True + + if not has_information: + direct = False + ireqs: tuple[InstallRequirement | None, ...] = () + else: + # Go through the information and for each requirement, + # check if it's explicit (e.g., a direct link) and get the + # InstallRequirement (the second element) from get_candidate_lookup() + directs, ireqs = zip( + *( + (isinstance(r, ExplicitRequirement), r.get_candidate_lookup()[1]) + for r, _ in information[identifier] + ) + ) + direct = any(directs) + + operators: list[tuple[str, str]] = [ + (specifier.operator, specifier.version) + for specifier_set in (ireq.specifier for ireq in ireqs if ireq) + for specifier in specifier_set + ] + + pinned = any(((op[:2] == "==") and ("*" not in ver)) for op, ver in operators) + upper_bounded = any( + ((op in ("<", "<=", "~=")) or (op == "==" and "*" in ver)) + for op, ver in operators + ) + unfree = bool(operators) + requested_order = self._user_requested.get(identifier, math.inf) + + return ( + not direct, + not pinned, + not upper_bounded, + requested_order, + not unfree, + identifier, + ) + + def find_matches( + self, + identifier: str, + requirements: Mapping[str, Iterator[Requirement]], + incompatibilities: Mapping[str, Iterator[Candidate]], + ) -> Iterable[Candidate]: + def _eligible_for_upgrade(identifier: str) -> bool: + """Are upgrades allowed for this project? + + This checks the upgrade strategy, and whether the project was one + that the user specified in the command line, in order to decide + whether we should upgrade if there's a newer version available. + + (Note that we don't need access to the `--upgrade` flag, because + an upgrade strategy of "to-satisfy-only" means that `--upgrade` + was not specified). + """ + if self._upgrade_strategy == "eager": + return True + elif self._upgrade_strategy == "only-if-needed": + user_order = _get_with_identifier( + self._user_requested, + identifier, + default=None, + ) + return user_order is not None + return False + + constraint = _get_with_identifier( + self._constraints, + identifier, + default=Constraint.empty(), + ) + return self._factory.find_candidates( + identifier=identifier, + requirements=requirements, + constraint=constraint, + prefers_installed=(not _eligible_for_upgrade(identifier)), + incompatibilities=incompatibilities, + is_satisfied_by=self.is_satisfied_by, + ) + + @staticmethod + @cache + def is_satisfied_by(requirement: Requirement, candidate: Candidate) -> bool: + return requirement.is_satisfied_by(candidate) + + def get_dependencies(self, candidate: Candidate) -> Iterable[Requirement]: + with_requires = not self._ignore_dependencies + # iter_dependencies() can perform nontrivial work so delay until needed. + return (r for r in candidate.iter_dependencies(with_requires) if r is not None) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/reporter.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/reporter.py new file mode 100644 index 0000000000000000000000000000000000000000..e694132ba5ecb2ac016986f2f7628b04c0ddadfe --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/reporter.py @@ -0,0 +1,85 @@ +from __future__ import annotations + +from collections import defaultdict +from logging import getLogger +from typing import Any + +from pip._vendor.resolvelib.reporters import BaseReporter + +from .base import Candidate, Requirement + +logger = getLogger(__name__) + + +class PipReporter(BaseReporter[Requirement, Candidate, str]): + def __init__(self) -> None: + self.reject_count_by_package: defaultdict[str, int] = defaultdict(int) + + self._messages_at_reject_count = { + 1: ( + "pip is looking at multiple versions of {package_name} to " + "determine which version is compatible with other " + "requirements. This could take a while." + ), + 8: ( + "pip is still looking at multiple versions of {package_name} to " + "determine which version is compatible with other " + "requirements. This could take a while." + ), + 13: ( + "This is taking longer than usual. You might need to provide " + "the dependency resolver with stricter constraints to reduce " + "runtime. See https://pip.pypa.io/warnings/backtracking for " + "guidance. If you want to abort this run, press Ctrl + C." + ), + } + + def rejecting_candidate(self, criterion: Any, candidate: Candidate) -> None: + self.reject_count_by_package[candidate.name] += 1 + + count = self.reject_count_by_package[candidate.name] + if count not in self._messages_at_reject_count: + return + + message = self._messages_at_reject_count[count] + logger.info("INFO: %s", message.format(package_name=candidate.name)) + + msg = "Will try a different candidate, due to conflict:" + for req_info in criterion.information: + req, parent = req_info.requirement, req_info.parent + # Inspired by Factory.get_installation_error + msg += "\n " + if parent: + msg += f"{parent.name} {parent.version} depends on " + else: + msg += "The user requested " + msg += req.format_for_error() + logger.debug(msg) + + +class PipDebuggingReporter(BaseReporter[Requirement, Candidate, str]): + """A reporter that does an info log for every event it sees.""" + + def starting(self) -> None: + logger.info("Reporter.starting()") + + def starting_round(self, index: int) -> None: + logger.info("Reporter.starting_round(%r)", index) + + def ending_round(self, index: int, state: Any) -> None: + logger.info("Reporter.ending_round(%r, state)", index) + logger.debug("Reporter.ending_round(%r, %r)", index, state) + + def ending(self, state: Any) -> None: + logger.info("Reporter.ending(%r)", state) + + def adding_requirement( + self, requirement: Requirement, parent: Candidate | None + ) -> None: + logger.info("Reporter.adding_requirement(%r, %r)", requirement, parent) + + def rejecting_candidate(self, criterion: Any, candidate: Candidate) -> None: + logger.info("Reporter.rejecting_candidate(%r, %r)", criterion, candidate) + + def pinning(self, candidate: Candidate) -> None: + logger.info("Reporter.pinning(%r)", candidate) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/requirements.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/requirements.py new file mode 100644 index 0000000000000000000000000000000000000000..447e36b5ac11757f1f13624d01c267ea0dd5f701 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/requirements.py @@ -0,0 +1,247 @@ +from __future__ import annotations + +from typing import Any + +from pip._vendor.packaging.specifiers import SpecifierSet +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name + +from pip._internal.req.constructors import install_req_drop_extras +from pip._internal.req.req_install import InstallRequirement + +from .base import Candidate, CandidateLookup, Requirement, format_name + + +class ExplicitRequirement(Requirement): + def __init__(self, candidate: Candidate) -> None: + self.candidate = candidate + + def __str__(self) -> str: + return str(self.candidate) + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({self.candidate!r})" + + def __hash__(self) -> int: + return hash(self.candidate) + + def __eq__(self, other: Any) -> bool: + if not isinstance(other, ExplicitRequirement): + return False + return self.candidate == other.candidate + + @property + def project_name(self) -> NormalizedName: + # No need to canonicalize - the candidate did this + return self.candidate.project_name + + @property + def name(self) -> str: + # No need to canonicalize - the candidate did this + return self.candidate.name + + def format_for_error(self) -> str: + return self.candidate.format_for_error() + + def get_candidate_lookup(self) -> CandidateLookup: + return self.candidate, None + + def is_satisfied_by(self, candidate: Candidate) -> bool: + return candidate == self.candidate + + +class SpecifierRequirement(Requirement): + def __init__(self, ireq: InstallRequirement) -> None: + assert ireq.link is None, "This is a link, not a specifier" + self._ireq = ireq + self._equal_cache: str | None = None + self._hash: int | None = None + self._extras = frozenset(canonicalize_name(e) for e in self._ireq.extras) + + @property + def _equal(self) -> str: + if self._equal_cache is not None: + return self._equal_cache + + self._equal_cache = str(self._ireq) + return self._equal_cache + + def __str__(self) -> str: + return str(self._ireq.req) + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({str(self._ireq.req)!r})" + + def __eq__(self, other: object) -> bool: + if not isinstance(other, SpecifierRequirement): + return NotImplemented + return self._equal == other._equal + + def __hash__(self) -> int: + if self._hash is not None: + return self._hash + + self._hash = hash(self._equal) + return self._hash + + @property + def project_name(self) -> NormalizedName: + assert self._ireq.req, "Specifier-backed ireq is always PEP 508" + return canonicalize_name(self._ireq.req.name) + + @property + def name(self) -> str: + return format_name(self.project_name, self._extras) + + def format_for_error(self) -> str: + # Convert comma-separated specifiers into "A, B, ..., F and G" + # This makes the specifier a bit more "human readable", without + # risking a change in meaning. (Hopefully! Not all edge cases have + # been checked) + parts = [s.strip() for s in str(self).split(",")] + if len(parts) == 0: + return "" + elif len(parts) == 1: + return parts[0] + + return ", ".join(parts[:-1]) + " and " + parts[-1] + + def get_candidate_lookup(self) -> CandidateLookup: + return None, self._ireq + + def is_satisfied_by(self, candidate: Candidate) -> bool: + assert candidate.name == self.name, ( + f"Internal issue: Candidate is not for this requirement " + f"{candidate.name} vs {self.name}" + ) + # We can safely always allow prereleases here since PackageFinder + # already implements the prerelease logic, and would have filtered out + # prerelease candidates if the user does not expect them. + assert self._ireq.req, "Specifier-backed ireq is always PEP 508" + spec = self._ireq.req.specifier + return spec.contains(candidate.version, prereleases=True) + + +class SpecifierWithoutExtrasRequirement(SpecifierRequirement): + """ + Requirement backed by an install requirement on a base package. + Trims extras from its install requirement if there are any. + """ + + def __init__(self, ireq: InstallRequirement) -> None: + assert ireq.link is None, "This is a link, not a specifier" + self._ireq = install_req_drop_extras(ireq) + self._equal_cache: str | None = None + self._hash: int | None = None + self._extras = frozenset(canonicalize_name(e) for e in self._ireq.extras) + + @property + def _equal(self) -> str: + if self._equal_cache is not None: + return self._equal_cache + + self._equal_cache = str(self._ireq) + return self._equal_cache + + def __eq__(self, other: object) -> bool: + if not isinstance(other, SpecifierWithoutExtrasRequirement): + return NotImplemented + return self._equal == other._equal + + def __hash__(self) -> int: + if self._hash is not None: + return self._hash + + self._hash = hash(self._equal) + return self._hash + + +class RequiresPythonRequirement(Requirement): + """A requirement representing Requires-Python metadata.""" + + def __init__(self, specifier: SpecifierSet, match: Candidate) -> None: + self.specifier = specifier + self._specifier_string = str(specifier) # for faster __eq__ + self._hash: int | None = None + self._candidate = match + + def __str__(self) -> str: + return f"Python {self.specifier}" + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({str(self.specifier)!r})" + + def __hash__(self) -> int: + if self._hash is not None: + return self._hash + + self._hash = hash((self._specifier_string, self._candidate)) + return self._hash + + def __eq__(self, other: Any) -> bool: + if not isinstance(other, RequiresPythonRequirement): + return False + return ( + self._specifier_string == other._specifier_string + and self._candidate == other._candidate + ) + + @property + def project_name(self) -> NormalizedName: + return self._candidate.project_name + + @property + def name(self) -> str: + return self._candidate.name + + def format_for_error(self) -> str: + return str(self) + + def get_candidate_lookup(self) -> CandidateLookup: + if self.specifier.contains(self._candidate.version, prereleases=True): + return self._candidate, None + return None, None + + def is_satisfied_by(self, candidate: Candidate) -> bool: + assert candidate.name == self._candidate.name, "Not Python candidate" + # We can safely always allow prereleases here since PackageFinder + # already implements the prerelease logic, and would have filtered out + # prerelease candidates if the user does not expect them. + return self.specifier.contains(candidate.version, prereleases=True) + + +class UnsatisfiableRequirement(Requirement): + """A requirement that cannot be satisfied.""" + + def __init__(self, name: NormalizedName) -> None: + self._name = name + + def __str__(self) -> str: + return f"{self._name} (unavailable)" + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({str(self._name)!r})" + + def __eq__(self, other: object) -> bool: + if not isinstance(other, UnsatisfiableRequirement): + return NotImplemented + return self._name == other._name + + def __hash__(self) -> int: + return hash(self._name) + + @property + def project_name(self) -> NormalizedName: + return self._name + + @property + def name(self) -> str: + return self._name + + def format_for_error(self) -> str: + return str(self) + + def get_candidate_lookup(self) -> CandidateLookup: + return None, None + + def is_satisfied_by(self, candidate: Candidate) -> bool: + return False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py new file mode 100644 index 0000000000000000000000000000000000000000..1ba70c2b39eb20d97d2d9162139d7f4a2351c828 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py @@ -0,0 +1,336 @@ +from __future__ import annotations + +import contextlib +import functools +import logging +import os +from typing import TYPE_CHECKING, cast + +from pip._vendor.packaging.utils import canonicalize_name +from pip._vendor.resolvelib import BaseReporter, ResolutionImpossible, ResolutionTooDeep +from pip._vendor.resolvelib import Resolver as RLResolver +from pip._vendor.resolvelib.structs import DirectedGraph + +from pip._internal.cache import WheelCache +from pip._internal.exceptions import ResolutionTooDeepError +from pip._internal.index.package_finder import PackageFinder +from pip._internal.operations.prepare import RequirementPreparer +from pip._internal.req.constructors import install_req_extend_extras +from pip._internal.req.req_install import InstallRequirement +from pip._internal.req.req_set import RequirementSet +from pip._internal.resolution.base import BaseResolver, InstallRequirementProvider +from pip._internal.resolution.resolvelib.provider import PipProvider +from pip._internal.resolution.resolvelib.reporter import ( + PipDebuggingReporter, + PipReporter, +) +from pip._internal.utils.packaging import get_requirement + +from .base import Candidate, Requirement +from .factory import Factory + +if TYPE_CHECKING: + from pip._vendor.resolvelib.resolvers import Result as RLResult + + Result = RLResult[Requirement, Candidate, str] + + +logger = logging.getLogger(__name__) + + +class Resolver(BaseResolver): + _allowed_strategies = {"eager", "only-if-needed", "to-satisfy-only"} + + def __init__( + self, + preparer: RequirementPreparer, + finder: PackageFinder, + wheel_cache: WheelCache | None, + make_install_req: InstallRequirementProvider, + use_user_site: bool, + ignore_dependencies: bool, + ignore_installed: bool, + ignore_requires_python: bool, + force_reinstall: bool, + upgrade_strategy: str, + py_version_info: tuple[int, ...] | None = None, + ): + super().__init__() + assert upgrade_strategy in self._allowed_strategies + + self.factory = Factory( + finder=finder, + preparer=preparer, + make_install_req=make_install_req, + wheel_cache=wheel_cache, + use_user_site=use_user_site, + force_reinstall=force_reinstall, + ignore_installed=ignore_installed, + ignore_requires_python=ignore_requires_python, + py_version_info=py_version_info, + ) + self.ignore_dependencies = ignore_dependencies + self.upgrade_strategy = upgrade_strategy + self._result: Result | None = None + + def resolve( + self, root_reqs: list[InstallRequirement], check_supported_wheels: bool + ) -> RequirementSet: + collected = self.factory.collect_root_requirements(root_reqs) + provider = PipProvider( + factory=self.factory, + constraints=collected.constraints, + ignore_dependencies=self.ignore_dependencies, + upgrade_strategy=self.upgrade_strategy, + user_requested=collected.user_requested, + ) + if "PIP_RESOLVER_DEBUG" in os.environ: + reporter: BaseReporter[Requirement, Candidate, str] = PipDebuggingReporter() + else: + reporter = PipReporter() + resolver: RLResolver[Requirement, Candidate, str] = RLResolver( + provider, + reporter, + ) + + try: + limit_how_complex_resolution_can_be = 200000 + result = self._result = resolver.resolve( + collected.requirements, max_rounds=limit_how_complex_resolution_can_be + ) + + except ResolutionImpossible as e: + error = self.factory.get_installation_error( + cast("ResolutionImpossible[Requirement, Candidate]", e), + collected.constraints, + ) + raise error from e + except ResolutionTooDeep: + raise ResolutionTooDeepError from None + + req_set = RequirementSet(check_supported_wheels=check_supported_wheels) + # process candidates with extras last to ensure their base equivalent is + # already in the req_set if appropriate. + # Python's sort is stable so using a binary key function keeps relative order + # within both subsets. + for candidate in sorted( + result.mapping.values(), key=lambda c: c.name != c.project_name + ): + ireq = candidate.get_install_requirement() + if ireq is None: + if candidate.name != candidate.project_name: + # extend existing req's extras + with contextlib.suppress(KeyError): + req = req_set.get_requirement(candidate.project_name) + req_set.add_named_requirement( + install_req_extend_extras( + req, get_requirement(candidate.name).extras + ) + ) + continue + + # Check if there is already an installation under the same name, + # and set a flag for later stages to uninstall it, if needed. + installed_dist = self.factory.get_dist_to_uninstall(candidate) + if installed_dist is None: + # There is no existing installation -- nothing to uninstall. + ireq.should_reinstall = False + elif self.factory.force_reinstall: + # The --force-reinstall flag is set -- reinstall. + ireq.should_reinstall = True + elif installed_dist.version != candidate.version: + # The installation is different in version -- reinstall. + ireq.should_reinstall = True + elif candidate.is_editable or installed_dist.editable: + # The incoming distribution is editable, or different in + # editable-ness to installation -- reinstall. + ireq.should_reinstall = True + elif candidate.source_link and candidate.source_link.is_file: + # The incoming distribution is under file:// + if candidate.source_link.is_wheel: + # is a local wheel -- do nothing. + logger.info( + "%s is already installed with the same version as the " + "provided wheel. Use --force-reinstall to force an " + "installation of the wheel.", + ireq.name, + ) + continue + + # is a local sdist or path -- reinstall + ireq.should_reinstall = True + else: + continue + + link = candidate.source_link + if link and link.is_yanked: + # The reason can contain non-ASCII characters, Unicode + # is required for Python 2. + msg = ( + "The candidate selected for download or install is a " + "yanked version: {name!r} candidate (version {version} " + "at {link})\nReason for being yanked: {reason}" + ).format( + name=candidate.name, + version=candidate.version, + link=link, + reason=link.yanked_reason or "", + ) + logger.warning(msg) + + req_set.add_named_requirement(ireq) + + reqs = req_set.all_requirements + self.factory.preparer.prepare_linked_requirements_more(reqs) + for req in reqs: + req.prepared = True + req.needs_more_preparation = False + return req_set + + def get_installation_order( + self, req_set: RequirementSet + ) -> list[InstallRequirement]: + """Get order for installation of requirements in RequirementSet. + + The returned list contains a requirement before another that depends on + it. This helps ensure that the environment is kept consistent as they + get installed one-by-one. + + The current implementation creates a topological ordering of the + dependency graph, giving more weight to packages with less + or no dependencies, while breaking any cycles in the graph at + arbitrary points. We make no guarantees about where the cycle + would be broken, other than it *would* be broken. + """ + assert self._result is not None, "must call resolve() first" + + if not req_set.requirements: + # Nothing is left to install, so we do not need an order. + return [] + + graph = self._result.graph + weights = get_topological_weights(graph, set(req_set.requirements.keys())) + + sorted_items = sorted( + req_set.requirements.items(), + key=functools.partial(_req_set_item_sorter, weights=weights), + reverse=True, + ) + return [ireq for _, ireq in sorted_items] + + +def get_topological_weights( + graph: DirectedGraph[str | None], requirement_keys: set[str] +) -> dict[str | None, int]: + """Assign weights to each node based on how "deep" they are. + + This implementation may change at any point in the future without prior + notice. + + We first simplify the dependency graph by pruning any leaves and giving them + the highest weight: a package without any dependencies should be installed + first. This is done again and again in the same way, giving ever less weight + to the newly found leaves. The loop stops when no leaves are left: all + remaining packages have at least one dependency left in the graph. + + Then we continue with the remaining graph, by taking the length for the + longest path to any node from root, ignoring any paths that contain a single + node twice (i.e. cycles). This is done through a depth-first search through + the graph, while keeping track of the path to the node. + + Cycles in the graph result would result in node being revisited while also + being on its own path. In this case, take no action. This helps ensure we + don't get stuck in a cycle. + + When assigning weight, the longer path (i.e. larger length) is preferred. + + We are only interested in the weights of packages that are in the + requirement_keys. + """ + path: set[str | None] = set() + weights: dict[str | None, list[int]] = {} + + def visit(node: str | None) -> None: + if node in path: + # We hit a cycle, so we'll break it here. + return + + # The walk is exponential and for pathologically connected graphs (which + # are the ones most likely to contain cycles in the first place) it can + # take until the heat-death of the universe. To counter this we limit + # the number of attempts to visit (i.e. traverse through) any given + # node. We choose a value here which gives decent enough coverage for + # fairly well behaved graphs, and still limits the walk complexity to be + # linear in nature. + cur_weights = weights.get(node, []) + if len(cur_weights) >= 5: + return + + # Time to visit the children! + path.add(node) + for child in graph.iter_children(node): + visit(child) + path.remove(node) + + if node not in requirement_keys: + return + + cur_weights.append(len(path)) + weights[node] = cur_weights + + # Simplify the graph, pruning leaves that have no dependencies. This is + # needed for large graphs (say over 200 packages) because the `visit` + # function is slower for large/densely connected graphs, taking minutes. + # See https://github.com/pypa/pip/issues/10557 + # We repeat the pruning step until we have no more leaves to remove. + while True: + leaves = set() + for key in graph: + if key is None: + continue + for _child in graph.iter_children(key): + # This means we have at least one child + break + else: + # No child. + leaves.add(key) + if not leaves: + # We are done simplifying. + break + # Calculate the weight for the leaves. + weight = len(graph) - 1 + for leaf in leaves: + if leaf not in requirement_keys: + continue + weights[leaf] = [weight] + # Remove the leaves from the graph, making it simpler. + for leaf in leaves: + graph.remove(leaf) + + # Visit the remaining graph, this will only have nodes to handle if the + # graph had a cycle in it, which the pruning step above could not handle. + # `None` is guaranteed to be the root node by resolvelib. + visit(None) + + # Sanity check: all requirement keys should be in the weights, + # and no other keys should be in the weights. + difference = set(weights.keys()).difference(requirement_keys) + assert not difference, difference + + # Now give back all the weights, choosing the largest ones from what we + # accumulated. + return {node: max(wgts) for (node, wgts) in weights.items()} + + +def _req_set_item_sorter( + item: tuple[str, InstallRequirement], + weights: dict[str | None, int], +) -> tuple[int, str]: + """Key function used to sort install requirements for installation. + + Based on the "weight" mapping calculated in ``get_installation_order()``. + The canonical package name is returned as the second member as a tie- + breaker to ensure the result is predictable, which is useful in tests. + """ + name = canonicalize_name(item[0]) + return weights[name], name diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py new file mode 100644 index 0000000000000000000000000000000000000000..ca507f113a4b0bcc73fe6f7c33a21ddfb15dfede --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py @@ -0,0 +1,254 @@ +from __future__ import annotations + +import datetime +import functools +import hashlib +import json +import logging +import optparse +import os.path +import sys +from dataclasses import dataclass +from typing import Any, Callable + +from pip._vendor.packaging.version import Version +from pip._vendor.packaging.version import parse as parse_version +from pip._vendor.rich.console import Group +from pip._vendor.rich.markup import escape +from pip._vendor.rich.text import Text + +from pip._internal.index.collector import LinkCollector +from pip._internal.index.package_finder import PackageFinder +from pip._internal.metadata import get_default_environment +from pip._internal.models.selection_prefs import SelectionPreferences +from pip._internal.network.session import PipSession +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.entrypoints import ( + get_best_invocation_for_this_pip, + get_best_invocation_for_this_python, +) +from pip._internal.utils.filesystem import adjacent_tmp_file, check_path_owner, replace +from pip._internal.utils.misc import ( + ExternallyManagedEnvironment, + check_externally_managed, + ensure_dir, +) + +_WEEK = datetime.timedelta(days=7) + +logger = logging.getLogger(__name__) + + +def _get_statefile_name(key: str) -> str: + key_bytes = key.encode() + name = hashlib.sha224(key_bytes).hexdigest() + return name + + +def _convert_date(isodate: str) -> datetime.datetime: + """Convert an ISO format string to a date. + + Handles the format 2020-01-22T14:24:01Z (trailing Z) + which is not supported by older versions of fromisoformat. + """ + return datetime.datetime.fromisoformat(isodate.replace("Z", "+00:00")) + + +class SelfCheckState: + def __init__(self, cache_dir: str) -> None: + self._state: dict[str, Any] = {} + self._statefile_path = None + + # Try to load the existing state + if cache_dir: + self._statefile_path = os.path.join( + cache_dir, "selfcheck", _get_statefile_name(self.key) + ) + try: + with open(self._statefile_path, encoding="utf-8") as statefile: + self._state = json.load(statefile) + except (OSError, ValueError, KeyError): + # Explicitly suppressing exceptions, since we don't want to + # error out if the cache file is invalid. + pass + + @property + def key(self) -> str: + return sys.prefix + + def get(self, current_time: datetime.datetime) -> str | None: + """Check if we have a not-outdated version loaded already.""" + if not self._state: + return None + + if "last_check" not in self._state: + return None + + if "pypi_version" not in self._state: + return None + + # Determine if we need to refresh the state + last_check = _convert_date(self._state["last_check"]) + time_since_last_check = current_time - last_check + if time_since_last_check > _WEEK: + return None + + return self._state["pypi_version"] + + def set(self, pypi_version: str, current_time: datetime.datetime) -> None: + # If we do not have a path to cache in, don't bother saving. + if not self._statefile_path: + return + + # Check to make sure that we own the directory + if not check_path_owner(os.path.dirname(self._statefile_path)): + return + + # Now that we've ensured the directory is owned by this user, we'll go + # ahead and make sure that all our directories are created. + ensure_dir(os.path.dirname(self._statefile_path)) + + state = { + # Include the key so it's easy to tell which pip wrote the + # file. + "key": self.key, + "last_check": current_time.isoformat(), + "pypi_version": pypi_version, + } + + text = json.dumps(state, sort_keys=True, separators=(",", ":")) + + with adjacent_tmp_file(self._statefile_path) as f: + f.write(text.encode()) + + try: + # Since we have a prefix-specific state file, we can just + # overwrite whatever is there, no need to check. + replace(f.name, self._statefile_path) + except OSError: + # Best effort. + pass + + +@dataclass +class UpgradePrompt: + old: str + new: str + + def __rich__(self) -> Group: + if WINDOWS: + pip_cmd = f"{get_best_invocation_for_this_python()} -m pip" + else: + pip_cmd = get_best_invocation_for_this_pip() + + notice = "[bold][[reset][blue]notice[reset][bold]][reset]" + return Group( + Text(), + Text.from_markup( + f"{notice} A new release of pip is available: " + f"[red]{self.old}[reset] -> [green]{self.new}[reset]" + ), + Text.from_markup( + f"{notice} To update, run: " + f"[green]{escape(pip_cmd)} install --upgrade pip" + ), + ) + + +def was_installed_by_pip(pkg: str) -> bool: + """Checks whether pkg was installed by pip + + This is used not to display the upgrade message when pip is in fact + installed by system package manager, such as dnf on Fedora. + """ + dist = get_default_environment().get_distribution(pkg) + return dist is not None and "pip" == dist.installer + + +def _get_current_remote_pip_version( + session: PipSession, options: optparse.Values +) -> str | None: + # Lets use PackageFinder to see what the latest pip version is + link_collector = LinkCollector.create( + session, + options=options, + suppress_no_index=True, + ) + + # Pass allow_yanked=False so we don't suggest upgrading to a + # yanked version. + selection_prefs = SelectionPreferences( + allow_yanked=False, + allow_all_prereleases=False, # Explicitly set to False + ) + + finder = PackageFinder.create( + link_collector=link_collector, + selection_prefs=selection_prefs, + ) + best_candidate = finder.find_best_candidate("pip").best_candidate + if best_candidate is None: + return None + + return str(best_candidate.version) + + +def _self_version_check_logic( + *, + state: SelfCheckState, + current_time: datetime.datetime, + local_version: Version, + get_remote_version: Callable[[], str | None], +) -> UpgradePrompt | None: + remote_version_str = state.get(current_time) + if remote_version_str is None: + remote_version_str = get_remote_version() + if remote_version_str is None: + logger.debug("No remote pip version found") + return None + state.set(remote_version_str, current_time) + + remote_version = parse_version(remote_version_str) + logger.debug("Remote version of pip: %s", remote_version) + logger.debug("Local version of pip: %s", local_version) + + pip_installed_by_pip = was_installed_by_pip("pip") + logger.debug("Was pip installed by pip? %s", pip_installed_by_pip) + if not pip_installed_by_pip: + return None # Only suggest upgrade if pip is installed by pip. + + local_version_is_older = ( + local_version < remote_version + and local_version.base_version != remote_version.base_version + ) + if local_version_is_older: + return UpgradePrompt(old=str(local_version), new=remote_version_str) + + return None + + +def pip_self_version_check(session: PipSession, options: optparse.Values) -> None: + """Check for an update for pip. + + Limit the frequency of checks to once per week. State is stored either in + the active virtualenv or in the user's USER_CACHE_DIR keyed off the prefix + of the pip script path. + """ + installed_dist = get_default_environment().get_distribution("pip") + if not installed_dist: + return + try: + check_externally_managed() + except ExternallyManagedEnvironment: + return + + upgrade_prompt = _self_version_check_logic( + state=SelfCheckState(cache_dir=options.cache_dir), + current_time=datetime.datetime.now(datetime.timezone.utc), + local_version=installed_dist.version, + get_remote_version=functools.partial( + _get_current_remote_pip_version, session, options + ), + ) + if upgrade_prompt is not None: + logger.warning("%s", upgrade_prompt, extra={"rich": True}) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a001bf25e109a97d65f14f07257971653e3dfc1d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a1213f17531eee9dc3e676b54f1242e0ae47343d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3d0300a6c7fd3a021e4ce8a8270a83a7ef103bdc Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..287dccd2ea62774353ed4c7ecea9977451446235 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fc32d7be1e886b9f1d99545090453359814c76f3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..30554a25cfdd4ac5744412edd1f6d535ec48d6b1 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cbc7bcc7214a7fbd7198cc4d2f0ad5a261c1e9d0 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d4bafbdc0abb3bc662e35866247fce0bf7ed9a2c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..00c581243f040becd2e8849283dff8ddb8c137f8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c58adfc7adf8d9c7abd9256dd2d01827c75b0a9e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..581114f170e78b08c043a86445b4a6d77b7ad7ef Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..09e7146016e410979f21da4fcf6e20fd1f9a9f8c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5488c9f8aa913700481d5b82f787c4004e53bf34 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..290b9bd2d34edfa8248264b411042306e3a1d7f0 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0a762fd43622b552fd3db3c9d2d56b2b53adccf7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..058166355eb24f8c1ea3b871bc7d9c137e6b6685 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7111f47de5493f1975a59bfda0a488865930f353 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..68dfb8f10090fc2efa81c6250aa13a4aa52a9f68 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f0e973bed5cbc90169faba7b238330f68611d658 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..783ece4a56dba48d23cf171eba7cef2be8b093cb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1c494188ea2abcf3e899ecd870bdcf79a51af897 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..75789d2a44fffb6a28d71a2279cb5a492216e0f1 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b40eb2c35cf58cd73eb111deb737aa5dce156aa1 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1a10fca06fb977c6e2b4f1fde2c8c46e11c37b1c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c1b67b6569a768ac3dca894b16e443d154b86119 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c415aaded117db651b058a65b134b7fd51aaedc4 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/_jaraco_text.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/_jaraco_text.py new file mode 100644 index 0000000000000000000000000000000000000000..6ccf53b7ac5d415b8526e75ccabe31cf994ac7da --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/_jaraco_text.py @@ -0,0 +1,109 @@ +"""Functions brought over from jaraco.text. + +These functions are not supposed to be used within `pip._internal`. These are +helper functions brought over from `jaraco.text` to enable vendoring newer +copies of `pkg_resources` without having to vendor `jaraco.text` and its entire +dependency cone; something that our vendoring setup is not currently capable of +handling. + +License reproduced from original source below: + +Copyright Jason R. Coombs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +import functools +import itertools + + +def _nonblank(str): + return str and not str.startswith("#") + + +@functools.singledispatch +def yield_lines(iterable): + r""" + Yield valid lines of a string or iterable. + + >>> list(yield_lines('')) + [] + >>> list(yield_lines(['foo', 'bar'])) + ['foo', 'bar'] + >>> list(yield_lines('foo\nbar')) + ['foo', 'bar'] + >>> list(yield_lines('\nfoo\n#bar\nbaz #comment')) + ['foo', 'baz #comment'] + >>> list(yield_lines(['foo\nbar', 'baz', 'bing\n\n\n'])) + ['foo', 'bar', 'baz', 'bing'] + """ + return itertools.chain.from_iterable(map(yield_lines, iterable)) + + +@yield_lines.register(str) +def _(text): + return filter(_nonblank, map(str.strip, text.splitlines())) + + +def drop_comment(line): + """ + Drop comments. + + >>> drop_comment('foo # bar') + 'foo' + + A hash without a space may be in a URL. + + >>> drop_comment('http://example.com/foo#bar') + 'http://example.com/foo#bar' + """ + return line.partition(" #")[0] + + +def join_continuation(lines): + r""" + Join lines continued by a trailing backslash. + + >>> list(join_continuation(['foo \\', 'bar', 'baz'])) + ['foobar', 'baz'] + >>> list(join_continuation(['foo \\', 'bar', 'baz'])) + ['foobar', 'baz'] + >>> list(join_continuation(['foo \\', 'bar \\', 'baz'])) + ['foobarbaz'] + + Not sure why, but... + The character preceding the backslash is also elided. + + >>> list(join_continuation(['goo\\', 'dly'])) + ['godly'] + + A terrible idea, but... + If no line is available to continue, suppress the lines. + + >>> list(join_continuation(['foo', 'bar\\', 'baz\\'])) + ['foo'] + """ + lines = iter(lines) + for item in lines: + while item.endswith("\\"): + try: + item = item[:-2].strip() + next(lines) + except StopIteration: + return + yield item diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/_log.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/_log.py new file mode 100644 index 0000000000000000000000000000000000000000..92c4c6a193873ce09629f6cfaa2dabc4f14ecb03 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/_log.py @@ -0,0 +1,38 @@ +"""Customize logging + +Defines custom logger class for the `logger.verbose(...)` method. + +init_logging() must be called before any other modules that call logging.getLogger. +""" + +import logging +from typing import Any, cast + +# custom log level for `--verbose` output +# between DEBUG and INFO +VERBOSE = 15 + + +class VerboseLogger(logging.Logger): + """Custom Logger, defining a verbose log-level + + VERBOSE is between INFO and DEBUG. + """ + + def verbose(self, msg: str, *args: Any, **kwargs: Any) -> None: + return self.log(VERBOSE, msg, *args, **kwargs) + + +def getLogger(name: str) -> VerboseLogger: + """logging.getLogger, but ensures our VerboseLogger class is returned""" + return cast(VerboseLogger, logging.getLogger(name)) + + +def init_logging() -> None: + """Register our VerboseLogger and VERBOSE log level. + + Should be called before any calls to getLogger(), + i.e. in pip._internal.__init__ + """ + logging.setLoggerClass(VerboseLogger) + logging.addLevelName(VERBOSE, "VERBOSE") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/appdirs.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/appdirs.py new file mode 100644 index 0000000000000000000000000000000000000000..4152528f68c6c2e3e26d866a66832f1ac6c544cd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/appdirs.py @@ -0,0 +1,52 @@ +""" +This code wraps the vendored appdirs module to so the return values are +compatible for the current pip code base. + +The intention is to rewrite current usages gradually, keeping the tests pass, +and eventually drop this after all usages are changed. +""" + +import os +import sys + +from pip._vendor import platformdirs as _appdirs + + +def user_cache_dir(appname: str) -> str: + return _appdirs.user_cache_dir(appname, appauthor=False) + + +def _macos_user_config_dir(appname: str, roaming: bool = True) -> str: + # Use ~/Application Support/pip, if the directory exists. + path = _appdirs.user_data_dir(appname, appauthor=False, roaming=roaming) + if os.path.isdir(path): + return path + + # Use a Linux-like ~/.config/pip, by default. + linux_like_path = "~/.config/" + if appname: + linux_like_path = os.path.join(linux_like_path, appname) + + return os.path.expanduser(linux_like_path) + + +def user_config_dir(appname: str, roaming: bool = True) -> str: + if sys.platform == "darwin": + return _macos_user_config_dir(appname, roaming) + + return _appdirs.user_config_dir(appname, appauthor=False, roaming=roaming) + + +# for the discussion regarding site_config_dir locations +# see +def site_config_dirs(appname: str) -> list[str]: + if sys.platform == "darwin": + dirval = _appdirs.site_data_dir(appname, appauthor=False, multipath=True) + return dirval.split(os.pathsep) + + dirval = _appdirs.site_config_dir(appname, appauthor=False, multipath=True) + if sys.platform == "win32": + return [dirval] + + # Unix-y system. Look in /etc as well. + return dirval.split(os.pathsep) + ["/etc"] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py new file mode 100644 index 0000000000000000000000000000000000000000..324789f1d2e303230ea257de4df243c736262b1b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/compat.py @@ -0,0 +1,85 @@ +"""Stuff that differs in different Python versions and platform +distributions.""" + +import importlib.resources +import logging +import os +import sys +from typing import IO + +__all__ = ["get_path_uid", "stdlib_pkgs", "tomllib", "WINDOWS"] + + +logger = logging.getLogger(__name__) + + +def has_tls() -> bool: + try: + import _ssl # noqa: F401 # ignore unused + + return True + except ImportError: + pass + + from pip._vendor.urllib3.util import IS_PYOPENSSL + + return IS_PYOPENSSL + + +def get_path_uid(path: str) -> int: + """ + Return path's uid. + + Does not follow symlinks: + https://github.com/pypa/pip/pull/935#discussion_r5307003 + + Placed this function in compat due to differences on AIX and + Jython, that should eventually go away. + + :raises OSError: When path is a symlink or can't be read. + """ + if hasattr(os, "O_NOFOLLOW"): + fd = os.open(path, os.O_RDONLY | os.O_NOFOLLOW) + file_uid = os.fstat(fd).st_uid + os.close(fd) + else: # AIX and Jython + # WARNING: time of check vulnerability, but best we can do w/o NOFOLLOW + if not os.path.islink(path): + # older versions of Jython don't have `os.fstat` + file_uid = os.stat(path).st_uid + else: + # raise OSError for parity with os.O_NOFOLLOW above + raise OSError(f"{path} is a symlink; Will not return uid for symlinks") + return file_uid + + +# The importlib.resources.open_text function was deprecated in 3.11 with suggested +# replacement we use below. +if sys.version_info < (3, 11): + open_text_resource = importlib.resources.open_text +else: + + def open_text_resource( + package: str, resource: str, encoding: str = "utf-8", errors: str = "strict" + ) -> IO[str]: + return (importlib.resources.files(package) / resource).open( + "r", encoding=encoding, errors=errors + ) + + +if sys.version_info >= (3, 11): + import tomllib +else: + from pip._vendor import tomli as tomllib + + +# packages in the stdlib that may have installation metadata, but should not be +# considered 'installed'. this theoretically could be determined based on +# dist.location (py27:`sysconfig.get_paths()['stdlib']`, +# py26:sysconfig.get_config_vars('LIBDEST')), but fear platform variation may +# make this ineffective, so hard-coding +stdlib_pkgs = {"python", "wsgiref", "argparse"} + + +# windows detection, covers cpython and ironpython +WINDOWS = sys.platform.startswith("win") or (sys.platform == "cli" and os.name == "nt") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/compatibility_tags.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/compatibility_tags.py new file mode 100644 index 0000000000000000000000000000000000000000..6d98171daf9e3a05a542a56e8439c24ff4746cf5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/compatibility_tags.py @@ -0,0 +1,201 @@ +"""Generate and work with PEP 425 Compatibility Tags.""" + +from __future__ import annotations + +import re + +from pip._vendor.packaging.tags import ( + PythonVersion, + Tag, + android_platforms, + compatible_tags, + cpython_tags, + generic_tags, + interpreter_name, + interpreter_version, + ios_platforms, + mac_platforms, +) + +_apple_arch_pat = re.compile(r"(.+)_(\d+)_(\d+)_(.+)") + + +def version_info_to_nodot(version_info: tuple[int, ...]) -> str: + # Only use up to the first two numbers. + return "".join(map(str, version_info[:2])) + + +def _mac_platforms(arch: str) -> list[str]: + match = _apple_arch_pat.match(arch) + if match: + name, major, minor, actual_arch = match.groups() + mac_version = (int(major), int(minor)) + arches = [ + # Since we have always only checked that the platform starts + # with "macosx", for backwards-compatibility we extract the + # actual prefix provided by the user in case they provided + # something like "macosxcustom_". It may be good to remove + # this as undocumented or deprecate it in the future. + "{}_{}".format(name, arch[len("macosx_") :]) + for arch in mac_platforms(mac_version, actual_arch) + ] + else: + # arch pattern didn't match (?!) + arches = [arch] + return arches + + +def _ios_platforms(arch: str) -> list[str]: + match = _apple_arch_pat.match(arch) + if match: + name, major, minor, actual_multiarch = match.groups() + ios_version = (int(major), int(minor)) + arches = [ + # Since we have always only checked that the platform starts + # with "ios", for backwards-compatibility we extract the + # actual prefix provided by the user in case they provided + # something like "ioscustom_". It may be good to remove + # this as undocumented or deprecate it in the future. + "{}_{}".format(name, arch[len("ios_") :]) + for arch in ios_platforms(ios_version, actual_multiarch) + ] + else: + # arch pattern didn't match (?!) + arches = [arch] + return arches + + +def _android_platforms(arch: str) -> list[str]: + match = re.fullmatch(r"android_(\d+)_(.+)", arch) + if match: + api_level, abi = match.groups() + return list(android_platforms(int(api_level), abi)) + else: + # arch pattern didn't match (?!) + return [arch] + + +def _custom_manylinux_platforms(arch: str) -> list[str]: + arches = [arch] + arch_prefix, arch_sep, arch_suffix = arch.partition("_") + if arch_prefix == "manylinux2014": + # manylinux1/manylinux2010 wheels run on most manylinux2014 systems + # with the exception of wheels depending on ncurses. PEP 599 states + # manylinux1/manylinux2010 wheels should be considered + # manylinux2014 wheels: + # https://www.python.org/dev/peps/pep-0599/#backwards-compatibility-with-manylinux2010-wheels + if arch_suffix in {"i686", "x86_64"}: + arches.append("manylinux2010" + arch_sep + arch_suffix) + arches.append("manylinux1" + arch_sep + arch_suffix) + elif arch_prefix == "manylinux2010": + # manylinux1 wheels run on most manylinux2010 systems with the + # exception of wheels depending on ncurses. PEP 571 states + # manylinux1 wheels should be considered manylinux2010 wheels: + # https://www.python.org/dev/peps/pep-0571/#backwards-compatibility-with-manylinux1-wheels + arches.append("manylinux1" + arch_sep + arch_suffix) + return arches + + +def _get_custom_platforms(arch: str) -> list[str]: + arch_prefix, arch_sep, arch_suffix = arch.partition("_") + if arch.startswith("macosx"): + arches = _mac_platforms(arch) + elif arch.startswith("ios"): + arches = _ios_platforms(arch) + elif arch_prefix == "android": + arches = _android_platforms(arch) + elif arch_prefix in ["manylinux2014", "manylinux2010"]: + arches = _custom_manylinux_platforms(arch) + else: + arches = [arch] + return arches + + +def _expand_allowed_platforms(platforms: list[str] | None) -> list[str] | None: + if not platforms: + return None + + seen = set() + result = [] + + for p in platforms: + if p in seen: + continue + additions = [c for c in _get_custom_platforms(p) if c not in seen] + seen.update(additions) + result.extend(additions) + + return result + + +def _get_python_version(version: str) -> PythonVersion: + if len(version) > 1: + return int(version[0]), int(version[1:]) + else: + return (int(version[0]),) + + +def _get_custom_interpreter( + implementation: str | None = None, version: str | None = None +) -> str: + if implementation is None: + implementation = interpreter_name() + if version is None: + version = interpreter_version() + return f"{implementation}{version}" + + +def get_supported( + version: str | None = None, + platforms: list[str] | None = None, + impl: str | None = None, + abis: list[str] | None = None, +) -> list[Tag]: + """Return a list of supported tags for each version specified in + `versions`. + + :param version: a string version, of the form "33" or "32", + or None. The version will be assumed to support our ABI. + :param platform: specify a list of platforms you want valid + tags for, or None. If None, use the local system platform. + :param impl: specify the exact implementation you want valid + tags for, or None. If None, use the local interpreter impl. + :param abis: specify a list of abis you want valid + tags for, or None. If None, use the local interpreter abi. + """ + supported: list[Tag] = [] + + python_version: PythonVersion | None = None + if version is not None: + python_version = _get_python_version(version) + + interpreter = _get_custom_interpreter(impl, version) + + platforms = _expand_allowed_platforms(platforms) + + is_cpython = (impl or interpreter_name()) == "cp" + if is_cpython: + supported.extend( + cpython_tags( + python_version=python_version, + abis=abis, + platforms=platforms, + ) + ) + else: + supported.extend( + generic_tags( + interpreter=interpreter, + abis=abis, + platforms=platforms, + ) + ) + supported.extend( + compatible_tags( + python_version=python_version, + interpreter=interpreter, + platforms=platforms, + ) + ) + + return supported diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/datetime.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/datetime.py new file mode 100644 index 0000000000000000000000000000000000000000..776e49898f72c38eebfe48a17681f87930d4fcbd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/datetime.py @@ -0,0 +1,10 @@ +"""For when pip wants to check the date or time.""" + +import datetime + + +def today_is_later_than(year: int, month: int, day: int) -> bool: + today = datetime.date.today() + given = datetime.date(year, month, day) + + return today > given diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/deprecation.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/deprecation.py new file mode 100644 index 0000000000000000000000000000000000000000..96e7783feb3f52a1371b22f327ce3309bfa8a13e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/deprecation.py @@ -0,0 +1,126 @@ +""" +A module that implements tooling to enable easy warnings about deprecations. +""" + +from __future__ import annotations + +import logging +import warnings +from typing import Any, TextIO + +from pip._vendor.packaging.version import parse + +from pip import __version__ as current_version # NOTE: tests patch this name. + +DEPRECATION_MSG_PREFIX = "DEPRECATION: " + + +class PipDeprecationWarning(Warning): + pass + + +_original_showwarning: Any = None + + +# Warnings <-> Logging Integration +def _showwarning( + message: Warning | str, + category: type[Warning], + filename: str, + lineno: int, + file: TextIO | None = None, + line: str | None = None, +) -> None: + if file is not None: + if _original_showwarning is not None: + _original_showwarning(message, category, filename, lineno, file, line) + elif issubclass(category, PipDeprecationWarning): + # We use a specially named logger which will handle all of the + # deprecation messages for pip. + logger = logging.getLogger("pip._internal.deprecations") + logger.warning(message) + else: + _original_showwarning(message, category, filename, lineno, file, line) + + +def install_warning_logger() -> None: + # Enable our Deprecation Warnings + warnings.simplefilter("default", PipDeprecationWarning, append=True) + + global _original_showwarning + + if _original_showwarning is None: + _original_showwarning = warnings.showwarning + warnings.showwarning = _showwarning + + +def deprecated( + *, + reason: str, + replacement: str | None, + gone_in: str | None, + feature_flag: str | None = None, + issue: int | None = None, +) -> None: + """Helper to deprecate existing functionality. + + reason: + Textual reason shown to the user about why this functionality has + been deprecated. Should be a complete sentence. + replacement: + Textual suggestion shown to the user about what alternative + functionality they can use. + gone_in: + The version of pip does this functionality should get removed in. + Raises an error if pip's current version is greater than or equal to + this. + feature_flag: + Command-line flag of the form --use-feature={feature_flag} for testing + upcoming functionality. + issue: + Issue number on the tracker that would serve as a useful place for + users to find related discussion and provide feedback. + """ + + # Determine whether or not the feature is already gone in this version. + is_gone = gone_in is not None and parse(current_version) >= parse(gone_in) + + message_parts = [ + (reason, f"{DEPRECATION_MSG_PREFIX}{{}}"), + ( + gone_in, + ( + "pip {} will enforce this behaviour change." + if not is_gone + else "Since pip {}, this is no longer supported." + ), + ), + ( + replacement, + "A possible replacement is {}.", + ), + ( + feature_flag, + ( + "You can use the flag --use-feature={} to test the upcoming behaviour." + if not is_gone + else None + ), + ), + ( + issue, + "Discussion can be found at https://github.com/pypa/pip/issues/{}", + ), + ] + + message = " ".join( + format_str.format(value) + for value, format_str in message_parts + if format_str is not None and value is not None + ) + + # Raise as an error if this behaviour is deprecated. + if is_gone: + raise PipDeprecationWarning(message) + + warnings.warn(message, category=PipDeprecationWarning, stacklevel=2) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/direct_url_helpers.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/direct_url_helpers.py new file mode 100644 index 0000000000000000000000000000000000000000..3cbc1e76344e02a9c20edc0415430706a428df62 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/direct_url_helpers.py @@ -0,0 +1,87 @@ +from __future__ import annotations + +from pip._internal.models.direct_url import ArchiveInfo, DirectUrl, DirInfo, VcsInfo +from pip._internal.models.link import Link +from pip._internal.utils.urls import path_to_url +from pip._internal.vcs import vcs + + +def direct_url_as_pep440_direct_reference(direct_url: DirectUrl, name: str) -> str: + """Convert a DirectUrl to a pip requirement string.""" + direct_url.validate() # if invalid, this is a pip bug + requirement = name + " @ " + fragments = [] + if isinstance(direct_url.info, VcsInfo): + requirement += ( + f"{direct_url.info.vcs}+{direct_url.url}@{direct_url.info.commit_id}" + ) + elif isinstance(direct_url.info, ArchiveInfo): + requirement += direct_url.url + if direct_url.info.hash: + fragments.append(direct_url.info.hash) + else: + assert isinstance(direct_url.info, DirInfo) + requirement += direct_url.url + if direct_url.subdirectory: + fragments.append("subdirectory=" + direct_url.subdirectory) + if fragments: + requirement += "#" + "&".join(fragments) + return requirement + + +def direct_url_for_editable(source_dir: str) -> DirectUrl: + return DirectUrl( + url=path_to_url(source_dir), + info=DirInfo(editable=True), + ) + + +def direct_url_from_link( + link: Link, source_dir: str | None = None, link_is_in_wheel_cache: bool = False +) -> DirectUrl: + if link.is_vcs: + vcs_backend = vcs.get_backend_for_scheme(link.scheme) + assert vcs_backend + url, requested_revision, _ = vcs_backend.get_url_rev_and_auth( + link.url_without_fragment + ) + # For VCS links, we need to find out and add commit_id. + if link_is_in_wheel_cache: + # If the requested VCS link corresponds to a cached + # wheel, it means the requested revision was an + # immutable commit hash, otherwise it would not have + # been cached. In that case we don't have a source_dir + # with the VCS checkout. + assert requested_revision + commit_id = requested_revision + else: + # If the wheel was not in cache, it means we have + # had to checkout from VCS to build and we have a source_dir + # which we can inspect to find out the commit id. + assert source_dir + commit_id = vcs_backend.get_revision(source_dir) + return DirectUrl( + url=url, + info=VcsInfo( + vcs=vcs_backend.name, + commit_id=commit_id, + requested_revision=requested_revision, + ), + subdirectory=link.subdirectory_fragment, + ) + elif link.is_existing_dir(): + return DirectUrl( + url=link.url_without_fragment, + info=DirInfo(), + subdirectory=link.subdirectory_fragment, + ) + else: + hash = None + hash_name = link.hash_name + if hash_name: + hash = f"{hash_name}={link.hash}" + return DirectUrl( + url=link.url_without_fragment, + info=ArchiveInfo(hash=hash), + subdirectory=link.subdirectory_fragment, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/egg_link.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/egg_link.py new file mode 100644 index 0000000000000000000000000000000000000000..dc85a58b32c5ae30cb432bfa0df58f5f9f5ae22d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/egg_link.py @@ -0,0 +1,81 @@ +from __future__ import annotations + +import os +import re +import sys + +from pip._internal.locations import site_packages, user_site +from pip._internal.utils.virtualenv import ( + running_under_virtualenv, + virtualenv_no_global, +) + +__all__ = [ + "egg_link_path_from_sys_path", + "egg_link_path_from_location", +] + + +def _egg_link_names(raw_name: str) -> list[str]: + """ + Convert a Name metadata value to a .egg-link name, by applying + the same substitution as pkg_resources's safe_name function. + Note: we cannot use canonicalize_name because it has a different logic. + + We also look for the raw name (without normalization) as setuptools 69 changed + the way it names .egg-link files (https://github.com/pypa/setuptools/issues/4167). + """ + return [ + re.sub("[^A-Za-z0-9.]+", "-", raw_name) + ".egg-link", + f"{raw_name}.egg-link", + ] + + +def egg_link_path_from_sys_path(raw_name: str) -> str | None: + """ + Look for a .egg-link file for project name, by walking sys.path. + """ + egg_link_names = _egg_link_names(raw_name) + for path_item in sys.path: + for egg_link_name in egg_link_names: + egg_link = os.path.join(path_item, egg_link_name) + if os.path.isfile(egg_link): + return egg_link + return None + + +def egg_link_path_from_location(raw_name: str) -> str | None: + """ + Return the path for the .egg-link file if it exists, otherwise, None. + + There's 3 scenarios: + 1) not in a virtualenv + try to find in site.USER_SITE, then site_packages + 2) in a no-global virtualenv + try to find in site_packages + 3) in a yes-global virtualenv + try to find in site_packages, then site.USER_SITE + (don't look in global location) + + For #1 and #3, there could be odd cases, where there's an egg-link in 2 + locations. + + This method will just return the first one found. + """ + sites: list[str] = [] + if running_under_virtualenv(): + sites.append(site_packages) + if not virtualenv_no_global() and user_site: + sites.append(user_site) + else: + if user_site: + sites.append(user_site) + sites.append(site_packages) + + egg_link_names = _egg_link_names(raw_name) + for site in sites: + for egg_link_name in egg_link_names: + egglink = os.path.join(site, egg_link_name) + if os.path.isfile(egglink): + return egglink + return None diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/entrypoints.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/entrypoints.py new file mode 100644 index 0000000000000000000000000000000000000000..e3a150eeba061f533a3f3f5be792a82ee853f569 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/entrypoints.py @@ -0,0 +1,88 @@ +from __future__ import annotations + +import itertools +import os +import shutil +import sys + +from pip._internal.cli.main import main +from pip._internal.utils.compat import WINDOWS + +_EXECUTABLE_NAMES = [ + "pip", + f"pip{sys.version_info.major}", + f"pip{sys.version_info.major}.{sys.version_info.minor}", +] +if WINDOWS: + _allowed_extensions = {"", ".exe"} + _EXECUTABLE_NAMES = [ + "".join(parts) + for parts in itertools.product(_EXECUTABLE_NAMES, _allowed_extensions) + ] + + +def _wrapper(args: list[str] | None = None) -> int: + """Central wrapper for all old entrypoints. + + Historically pip has had several entrypoints defined. Because of issues + arising from PATH, sys.path, multiple Pythons, their interactions, and most + of them having a pip installed, users suffer every time an entrypoint gets + moved. + + To alleviate this pain, and provide a mechanism for warning users and + directing them to an appropriate place for help, we now define all of + our old entrypoints as wrappers for the current one. + """ + sys.stderr.write( + "WARNING: pip is being invoked by an old script wrapper. This will " + "fail in a future version of pip.\n" + "Please see https://github.com/pypa/pip/issues/5599 for advice on " + "fixing the underlying issue.\n" + "To avoid this problem you can invoke Python with '-m pip' instead of " + "running pip directly.\n" + ) + return main(args) + + +def get_best_invocation_for_this_pip() -> str: + """Try to figure out the best way to invoke pip in the current environment.""" + binary_directory = "Scripts" if WINDOWS else "bin" + binary_prefix = os.path.join(sys.prefix, binary_directory) + + # Try to use pip[X[.Y]] names, if those executables for this environment are + # the first on PATH with that name. + path_parts = os.path.normcase(os.environ.get("PATH", "")).split(os.pathsep) + exe_are_in_PATH = os.path.normcase(binary_prefix) in path_parts + if exe_are_in_PATH: + for exe_name in _EXECUTABLE_NAMES: + found_executable = shutil.which(exe_name) + binary_executable = os.path.join(binary_prefix, exe_name) + if ( + found_executable + and os.path.exists(binary_executable) + and os.path.samefile( + found_executable, + binary_executable, + ) + ): + return exe_name + + # Use the `-m` invocation, if there's no "nice" invocation. + return f"{get_best_invocation_for_this_python()} -m pip" + + +def get_best_invocation_for_this_python() -> str: + """Try to figure out the best way to invoke the current Python.""" + exe = sys.executable + exe_name = os.path.basename(exe) + + # Try to use the basename, if it's the first executable. + found_executable = shutil.which(exe_name) + # Virtual environments often symlink to their parent Python binaries, but we don't + # want to treat the Python binaries as equivalent when the environment's Python is + # not on PATH (not activated). Thus, we don't follow symlinks. + if found_executable and os.path.samestat(os.lstat(found_executable), os.lstat(exe)): + return exe_name + + # Use the full executable name, because we couldn't find something simpler. + return exe diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/filesystem.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/filesystem.py new file mode 100644 index 0000000000000000000000000000000000000000..d7c052438766181dddf438b2a2d1f22ad3c9cad2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/filesystem.py @@ -0,0 +1,152 @@ +from __future__ import annotations + +import fnmatch +import os +import os.path +import random +import sys +from collections.abc import Generator +from contextlib import contextmanager +from tempfile import NamedTemporaryFile +from typing import Any, BinaryIO, cast + +from pip._internal.utils.compat import get_path_uid +from pip._internal.utils.misc import format_size +from pip._internal.utils.retry import retry + + +def check_path_owner(path: str) -> bool: + # If we don't have a way to check the effective uid of this process, then + # we'll just assume that we own the directory. + if sys.platform == "win32" or not hasattr(os, "geteuid"): + return True + + assert os.path.isabs(path) + + previous = None + while path != previous: + if os.path.lexists(path): + # Check if path is writable by current user. + if os.geteuid() == 0: + # Special handling for root user in order to handle properly + # cases where users use sudo without -H flag. + try: + path_uid = get_path_uid(path) + except OSError: + return False + return path_uid == 0 + else: + return os.access(path, os.W_OK) + else: + previous, path = path, os.path.dirname(path) + return False # assume we don't own the path + + +@contextmanager +def adjacent_tmp_file(path: str, **kwargs: Any) -> Generator[BinaryIO, None, None]: + """Return a file-like object pointing to a tmp file next to path. + + The file is created securely and is ensured to be written to disk + after the context reaches its end. + + kwargs will be passed to tempfile.NamedTemporaryFile to control + the way the temporary file will be opened. + """ + with NamedTemporaryFile( + delete=False, + dir=os.path.dirname(path), + prefix=os.path.basename(path), + suffix=".tmp", + **kwargs, + ) as f: + result = cast(BinaryIO, f) + try: + yield result + finally: + result.flush() + os.fsync(result.fileno()) + + +replace = retry(stop_after_delay=1, wait=0.25)(os.replace) + + +# test_writable_dir and _test_writable_dir_win are copied from Flit, +# with the author's agreement to also place them under pip's license. +def test_writable_dir(path: str) -> bool: + """Check if a directory is writable. + + Uses os.access() on POSIX, tries creating files on Windows. + """ + # If the directory doesn't exist, find the closest parent that does. + while not os.path.isdir(path): + parent = os.path.dirname(path) + if parent == path: + break # Should never get here, but infinite loops are bad + path = parent + + if os.name == "posix": + return os.access(path, os.W_OK) + + return _test_writable_dir_win(path) + + +def _test_writable_dir_win(path: str) -> bool: + # os.access doesn't work on Windows: http://bugs.python.org/issue2528 + # and we can't use tempfile: http://bugs.python.org/issue22107 + basename = "accesstest_deleteme_fishfingers_custard_" + alphabet = "abcdefghijklmnopqrstuvwxyz0123456789" + for _ in range(10): + name = basename + "".join(random.choice(alphabet) for _ in range(6)) + file = os.path.join(path, name) + try: + fd = os.open(file, os.O_RDWR | os.O_CREAT | os.O_EXCL) + except FileExistsError: + pass + except PermissionError: + # This could be because there's a directory with the same name. + # But it's highly unlikely there's a directory called that, + # so we'll assume it's because the parent dir is not writable. + # This could as well be because the parent dir is not readable, + # due to non-privileged user access. + return False + else: + os.close(fd) + os.unlink(file) + return True + + # This should never be reached + raise OSError("Unexpected condition testing for writable directory") + + +def find_files(path: str, pattern: str) -> list[str]: + """Returns a list of absolute paths of files beneath path, recursively, + with filenames which match the UNIX-style shell glob pattern.""" + result: list[str] = [] + for root, _, files in os.walk(path): + matches = fnmatch.filter(files, pattern) + result.extend(os.path.join(root, f) for f in matches) + return result + + +def file_size(path: str) -> int | float: + # If it's a symlink, return 0. + if os.path.islink(path): + return 0 + return os.path.getsize(path) + + +def format_file_size(path: str) -> str: + return format_size(file_size(path)) + + +def directory_size(path: str) -> int | float: + size = 0.0 + for root, _dirs, files in os.walk(path): + for filename in files: + file_path = os.path.join(root, filename) + size += file_size(file_path) + return size + + +def format_directory_size(path: str) -> str: + return format_size(directory_size(path)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/filetypes.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/filetypes.py new file mode 100644 index 0000000000000000000000000000000000000000..2b8baad7cd61cb508087ef4e16202ea54dad1601 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/filetypes.py @@ -0,0 +1,24 @@ +"""Filetype information.""" + +from pip._internal.utils.misc import splitext + +WHEEL_EXTENSION = ".whl" +BZ2_EXTENSIONS: tuple[str, ...] = (".tar.bz2", ".tbz") +XZ_EXTENSIONS: tuple[str, ...] = ( + ".tar.xz", + ".txz", + ".tlz", + ".tar.lz", + ".tar.lzma", +) +ZIP_EXTENSIONS: tuple[str, ...] = (".zip", WHEEL_EXTENSION) +TAR_EXTENSIONS: tuple[str, ...] = (".tar.gz", ".tgz", ".tar") +ARCHIVE_EXTENSIONS = ZIP_EXTENSIONS + BZ2_EXTENSIONS + TAR_EXTENSIONS + XZ_EXTENSIONS + + +def is_archive_file(name: str) -> bool: + """Return True if `name` is a considered as an archive file.""" + ext = splitext(name)[1].lower() + if ext in ARCHIVE_EXTENSIONS: + return True + return False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/glibc.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/glibc.py new file mode 100644 index 0000000000000000000000000000000000000000..2cb3013c7d9e364beb99fb2c9b461e697dbf20f3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/glibc.py @@ -0,0 +1,102 @@ +from __future__ import annotations + +import os +import sys + + +def glibc_version_string() -> str | None: + "Returns glibc version string, or None if not using glibc." + return glibc_version_string_confstr() or glibc_version_string_ctypes() + + +def glibc_version_string_confstr() -> str | None: + "Primary implementation of glibc_version_string using os.confstr." + # os.confstr is quite a bit faster than ctypes.DLL. It's also less likely + # to be broken or missing. This strategy is used in the standard library + # platform module: + # https://github.com/python/cpython/blob/fcf1d003bf4f0100c9d0921ff3d70e1127ca1b71/Lib/platform.py#L175-L183 + if sys.platform == "win32": + return None + try: + gnu_libc_version = os.confstr("CS_GNU_LIBC_VERSION") + if gnu_libc_version is None: + return None + # os.confstr("CS_GNU_LIBC_VERSION") returns a string like "glibc 2.17": + _, version = gnu_libc_version.split() + except (AttributeError, OSError, ValueError): + # os.confstr() or CS_GNU_LIBC_VERSION not available (or a bad value)... + return None + return version + + +def glibc_version_string_ctypes() -> str | None: + "Fallback implementation of glibc_version_string using ctypes." + + try: + import ctypes + except ImportError: + return None + + # ctypes.CDLL(None) internally calls dlopen(NULL), and as the dlopen + # manpage says, "If filename is NULL, then the returned handle is for the + # main program". This way we can let the linker do the work to figure out + # which libc our process is actually using. + # + # We must also handle the special case where the executable is not a + # dynamically linked executable. This can occur when using musl libc, + # for example. In this situation, dlopen() will error, leading to an + # OSError. Interestingly, at least in the case of musl, there is no + # errno set on the OSError. The single string argument used to construct + # OSError comes from libc itself and is therefore not portable to + # hard code here. In any case, failure to call dlopen() means we + # can't proceed, so we bail on our attempt. + try: + process_namespace = ctypes.CDLL(None) + except OSError: + return None + + try: + gnu_get_libc_version = process_namespace.gnu_get_libc_version + except AttributeError: + # Symbol doesn't exist -> therefore, we are not linked to + # glibc. + return None + + # Call gnu_get_libc_version, which returns a string like "2.5" + gnu_get_libc_version.restype = ctypes.c_char_p + version_str: str = gnu_get_libc_version() + # py2 / py3 compatibility: + if not isinstance(version_str, str): + version_str = version_str.decode("ascii") + + return version_str + + +# platform.libc_ver regularly returns completely nonsensical glibc +# versions. E.g. on my computer, platform says: +# +# ~$ python2.7 -c 'import platform; print(platform.libc_ver())' +# ('glibc', '2.7') +# ~$ python3.5 -c 'import platform; print(platform.libc_ver())' +# ('glibc', '2.9') +# +# But the truth is: +# +# ~$ ldd --version +# ldd (Debian GLIBC 2.22-11) 2.22 +# +# This is unfortunate, because it means that the linehaul data on libc +# versions that was generated by pip 8.1.2 and earlier is useless and +# misleading. Solution: instead of using platform, use our code that actually +# works. +def libc_ver() -> tuple[str, str]: + """Try to determine the glibc version + + Returns a tuple of strings (lib, version) which default to empty strings + in case the lookup fails. + """ + glibc_version = glibc_version_string() + if glibc_version is None: + return ("", "") + else: + return ("glibc", glibc_version) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/hashes.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/hashes.py new file mode 100644 index 0000000000000000000000000000000000000000..3d8c125ada3a41309131b36c4523742ce41f0205 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/hashes.py @@ -0,0 +1,150 @@ +from __future__ import annotations + +import hashlib +from collections.abc import Iterable +from typing import TYPE_CHECKING, BinaryIO, NoReturn + +from pip._internal.exceptions import HashMismatch, HashMissing, InstallationError +from pip._internal.utils.misc import read_chunks + +if TYPE_CHECKING: + from hashlib import _Hash + + +# The recommended hash algo of the moment. Change this whenever the state of +# the art changes; it won't hurt backward compatibility. +FAVORITE_HASH = "sha256" + + +# Names of hashlib algorithms allowed by the --hash option and ``pip hash`` +# Currently, those are the ones at least as collision-resistant as sha256. +STRONG_HASHES = ["sha256", "sha384", "sha512"] + + +class Hashes: + """A wrapper that builds multiple hashes at once and checks them against + known-good values + + """ + + def __init__(self, hashes: dict[str, list[str]] | None = None) -> None: + """ + :param hashes: A dict of algorithm names pointing to lists of allowed + hex digests + """ + allowed = {} + if hashes is not None: + for alg, keys in hashes.items(): + # Make sure values are always sorted (to ease equality checks) + allowed[alg] = [k.lower() for k in sorted(keys)] + self._allowed = allowed + + def __and__(self, other: Hashes) -> Hashes: + if not isinstance(other, Hashes): + return NotImplemented + + # If either of the Hashes object is entirely empty (i.e. no hash + # specified at all), all hashes from the other object are allowed. + if not other: + return self + if not self: + return other + + # Otherwise only hashes that present in both objects are allowed. + new = {} + for alg, values in other._allowed.items(): + if alg not in self._allowed: + continue + new[alg] = [v for v in values if v in self._allowed[alg]] + return Hashes(new) + + @property + def digest_count(self) -> int: + return sum(len(digests) for digests in self._allowed.values()) + + def is_hash_allowed(self, hash_name: str, hex_digest: str) -> bool: + """Return whether the given hex digest is allowed.""" + return hex_digest in self._allowed.get(hash_name, []) + + def check_against_chunks(self, chunks: Iterable[bytes]) -> None: + """Check good hashes against ones built from iterable of chunks of + data. + + Raise HashMismatch if none match. + + """ + gots = {} + for hash_name in self._allowed.keys(): + try: + gots[hash_name] = hashlib.new(hash_name) + except (ValueError, TypeError): + raise InstallationError(f"Unknown hash name: {hash_name}") + + for chunk in chunks: + for hash in gots.values(): + hash.update(chunk) + + for hash_name, got in gots.items(): + if got.hexdigest() in self._allowed[hash_name]: + return + self._raise(gots) + + def _raise(self, gots: dict[str, _Hash]) -> NoReturn: + raise HashMismatch(self._allowed, gots) + + def check_against_file(self, file: BinaryIO) -> None: + """Check good hashes against a file-like object + + Raise HashMismatch if none match. + + """ + return self.check_against_chunks(read_chunks(file)) + + def check_against_path(self, path: str) -> None: + with open(path, "rb") as file: + return self.check_against_file(file) + + def has_one_of(self, hashes: dict[str, str]) -> bool: + """Return whether any of the given hashes are allowed.""" + for hash_name, hex_digest in hashes.items(): + if self.is_hash_allowed(hash_name, hex_digest): + return True + return False + + def __bool__(self) -> bool: + """Return whether I know any known-good hashes.""" + return bool(self._allowed) + + def __eq__(self, other: object) -> bool: + if not isinstance(other, Hashes): + return NotImplemented + return self._allowed == other._allowed + + def __hash__(self) -> int: + return hash( + ",".join( + sorted( + ":".join((alg, digest)) + for alg, digest_list in self._allowed.items() + for digest in digest_list + ) + ) + ) + + +class MissingHashes(Hashes): + """A workalike for Hashes used when we're missing a hash for a requirement + + It computes the actual hash of the requirement and raises a HashMissing + exception showing it to the user. + + """ + + def __init__(self) -> None: + """Don't offer the ``hashes`` kwarg.""" + # Pass our favorite hash in to generate a "gotten hash". With the + # empty list, it will never match, so an error will always raise. + super().__init__(hashes={FAVORITE_HASH: []}) + + def _raise(self, gots: dict[str, _Hash]) -> NoReturn: + raise HashMissing(gots[FAVORITE_HASH].hexdigest()) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/logging.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/logging.py new file mode 100644 index 0000000000000000000000000000000000000000..5cdbeb7f753a4f9ba710d716acc5ad99f8851ce1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/logging.py @@ -0,0 +1,364 @@ +from __future__ import annotations + +import contextlib +import errno +import logging +import logging.handlers +import os +import sys +import threading +from collections.abc import Generator +from dataclasses import dataclass +from io import TextIOWrapper +from logging import Filter +from typing import Any, ClassVar + +from pip._vendor.rich.console import ( + Console, + ConsoleOptions, + ConsoleRenderable, + RenderableType, + RenderResult, + RichCast, +) +from pip._vendor.rich.highlighter import NullHighlighter +from pip._vendor.rich.logging import RichHandler +from pip._vendor.rich.segment import Segment +from pip._vendor.rich.style import Style + +from pip._internal.utils._log import VERBOSE, getLogger +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.deprecation import DEPRECATION_MSG_PREFIX +from pip._internal.utils.misc import ensure_dir + +_log_state = threading.local() +_stdout_console = None +_stderr_console = None +subprocess_logger = getLogger("pip.subprocessor") + + +class BrokenStdoutLoggingError(Exception): + """ + Raised if BrokenPipeError occurs for the stdout stream while logging. + """ + + +def _is_broken_pipe_error(exc_class: type[BaseException], exc: BaseException) -> bool: + if exc_class is BrokenPipeError: + return True + + # On Windows, a broken pipe can show up as EINVAL rather than EPIPE: + # https://bugs.python.org/issue19612 + # https://bugs.python.org/issue30418 + if not WINDOWS: + return False + + return isinstance(exc, OSError) and exc.errno in (errno.EINVAL, errno.EPIPE) + + +@contextlib.contextmanager +def indent_log(num: int = 2) -> Generator[None, None, None]: + """ + A context manager which will cause the log output to be indented for any + log messages emitted inside it. + """ + # For thread-safety + _log_state.indentation = get_indentation() + _log_state.indentation += num + try: + yield + finally: + _log_state.indentation -= num + + +def get_indentation() -> int: + return getattr(_log_state, "indentation", 0) + + +class IndentingFormatter(logging.Formatter): + default_time_format = "%Y-%m-%dT%H:%M:%S" + + def __init__( + self, + *args: Any, + add_timestamp: bool = False, + **kwargs: Any, + ) -> None: + """ + A logging.Formatter that obeys the indent_log() context manager. + + :param add_timestamp: A bool indicating output lines should be prefixed + with their record's timestamp. + """ + self.add_timestamp = add_timestamp + super().__init__(*args, **kwargs) + + def get_message_start(self, formatted: str, levelno: int) -> str: + """ + Return the start of the formatted log message (not counting the + prefix to add to each line). + """ + if levelno < logging.WARNING: + return "" + if formatted.startswith(DEPRECATION_MSG_PREFIX): + # Then the message already has a prefix. We don't want it to + # look like "WARNING: DEPRECATION: ...." + return "" + if levelno < logging.ERROR: + return "WARNING: " + + return "ERROR: " + + def format(self, record: logging.LogRecord) -> str: + """ + Calls the standard formatter, but will indent all of the log message + lines by our current indentation level. + """ + formatted = super().format(record) + message_start = self.get_message_start(formatted, record.levelno) + formatted = message_start + formatted + + prefix = "" + if self.add_timestamp: + prefix = f"{self.formatTime(record)} " + prefix += " " * get_indentation() + formatted = "".join([prefix + line for line in formatted.splitlines(True)]) + return formatted + + +@dataclass +class IndentedRenderable: + renderable: RenderableType + indent: int + + def __rich_console__( + self, console: Console, options: ConsoleOptions + ) -> RenderResult: + segments = console.render(self.renderable, options) + lines = Segment.split_lines(segments) + for line in lines: + yield Segment(" " * self.indent) + yield from line + yield Segment("\n") + + +class PipConsole(Console): + def on_broken_pipe(self) -> None: + # Reraise the original exception, rich 13.8.0+ exits by default + # instead, preventing our handler from firing. + raise BrokenPipeError() from None + + +def get_console(*, stderr: bool = False) -> Console: + if stderr: + assert _stderr_console is not None, "stderr rich console is missing!" + return _stderr_console + else: + assert _stdout_console is not None, "stdout rich console is missing!" + return _stdout_console + + +class RichPipStreamHandler(RichHandler): + KEYWORDS: ClassVar[list[str] | None] = [] + + def __init__(self, console: Console) -> None: + super().__init__( + console=console, + show_time=False, + show_level=False, + show_path=False, + highlighter=NullHighlighter(), + ) + + # Our custom override on Rich's logger, to make things work as we need them to. + def emit(self, record: logging.LogRecord) -> None: + style: Style | None = None + + # If we are given a diagnostic error to present, present it with indentation. + if getattr(record, "rich", False): + assert isinstance(record.args, tuple) + (rich_renderable,) = record.args + assert isinstance( + rich_renderable, (ConsoleRenderable, RichCast, str) + ), f"{rich_renderable} is not rich-console-renderable" + + renderable: RenderableType = IndentedRenderable( + rich_renderable, indent=get_indentation() + ) + else: + message = self.format(record) + renderable = self.render_message(record, message) + if record.levelno is not None: + if record.levelno >= logging.ERROR: + style = Style(color="red") + elif record.levelno >= logging.WARNING: + style = Style(color="yellow") + + try: + self.console.print(renderable, overflow="ignore", crop=False, style=style) + except Exception: + self.handleError(record) + + def handleError(self, record: logging.LogRecord) -> None: + """Called when logging is unable to log some output.""" + + exc_class, exc = sys.exc_info()[:2] + # If a broken pipe occurred while calling write() or flush() on the + # stdout stream in logging's Handler.emit(), then raise our special + # exception so we can handle it in main() instead of logging the + # broken pipe error and continuing. + if ( + exc_class + and exc + and self.console.file is sys.stdout + and _is_broken_pipe_error(exc_class, exc) + ): + raise BrokenStdoutLoggingError() + + return super().handleError(record) + + +class BetterRotatingFileHandler(logging.handlers.RotatingFileHandler): + def _open(self) -> TextIOWrapper: + ensure_dir(os.path.dirname(self.baseFilename)) + return super()._open() + + +class MaxLevelFilter(Filter): + def __init__(self, level: int) -> None: + self.level = level + + def filter(self, record: logging.LogRecord) -> bool: + return record.levelno < self.level + + +class ExcludeLoggerFilter(Filter): + """ + A logging Filter that excludes records from a logger (or its children). + """ + + def filter(self, record: logging.LogRecord) -> bool: + # The base Filter class allows only records from a logger (or its + # children). + return not super().filter(record) + + +def setup_logging(verbosity: int, no_color: bool, user_log_file: str | None) -> int: + """Configures and sets up all of the logging + + Returns the requested logging level, as its integer value. + """ + + # Determine the level to be logging at. + if verbosity >= 2: + level_number = logging.DEBUG + elif verbosity == 1: + level_number = VERBOSE + elif verbosity == -1: + level_number = logging.WARNING + elif verbosity == -2: + level_number = logging.ERROR + elif verbosity <= -3: + level_number = logging.CRITICAL + else: + level_number = logging.INFO + + level = logging.getLevelName(level_number) + + # The "root" logger should match the "console" level *unless* we also need + # to log to a user log file. + include_user_log = user_log_file is not None + if include_user_log: + additional_log_file = user_log_file + root_level = "DEBUG" + else: + additional_log_file = "/dev/null" + root_level = level + + # Disable any logging besides WARNING unless we have DEBUG level logging + # enabled for vendored libraries. + vendored_log_level = "WARNING" if level in ["INFO", "ERROR"] else "DEBUG" + + # Shorthands for clarity + handler_classes = { + "stream": "pip._internal.utils.logging.RichPipStreamHandler", + "file": "pip._internal.utils.logging.BetterRotatingFileHandler", + } + handlers = ["console", "console_errors", "console_subprocess"] + ( + ["user_log"] if include_user_log else [] + ) + global _stdout_console, stderr_console + _stdout_console = PipConsole(file=sys.stdout, no_color=no_color, soft_wrap=True) + _stderr_console = PipConsole(file=sys.stderr, no_color=no_color, soft_wrap=True) + + logging.config.dictConfig( + { + "version": 1, + "disable_existing_loggers": False, + "filters": { + "exclude_warnings": { + "()": "pip._internal.utils.logging.MaxLevelFilter", + "level": logging.WARNING, + }, + "restrict_to_subprocess": { + "()": "logging.Filter", + "name": subprocess_logger.name, + }, + "exclude_subprocess": { + "()": "pip._internal.utils.logging.ExcludeLoggerFilter", + "name": subprocess_logger.name, + }, + }, + "formatters": { + "indent": { + "()": IndentingFormatter, + "format": "%(message)s", + }, + "indent_with_timestamp": { + "()": IndentingFormatter, + "format": "%(message)s", + "add_timestamp": True, + }, + }, + "handlers": { + "console": { + "level": level, + "class": handler_classes["stream"], + "console": _stdout_console, + "filters": ["exclude_subprocess", "exclude_warnings"], + "formatter": "indent", + }, + "console_errors": { + "level": "WARNING", + "class": handler_classes["stream"], + "console": _stderr_console, + "filters": ["exclude_subprocess"], + "formatter": "indent", + }, + # A handler responsible for logging to the console messages + # from the "subprocessor" logger. + "console_subprocess": { + "level": level, + "class": handler_classes["stream"], + "console": _stderr_console, + "filters": ["restrict_to_subprocess"], + "formatter": "indent", + }, + "user_log": { + "level": "DEBUG", + "class": handler_classes["file"], + "filename": additional_log_file, + "encoding": "utf-8", + "delay": True, + "formatter": "indent_with_timestamp", + }, + }, + "root": { + "level": root_level, + "handlers": handlers, + }, + "loggers": {"pip._vendor": {"level": vendored_log_level}}, + } + ) + + return level_number diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py new file mode 100644 index 0000000000000000000000000000000000000000..3a28e8449de59a24a43094d52a70c18ace99e86e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py @@ -0,0 +1,765 @@ +from __future__ import annotations + +import errno +import getpass +import hashlib +import logging +import os +import posixpath +import shutil +import stat +import sys +import sysconfig +import urllib.parse +from collections.abc import Generator, Iterable, Iterator, Mapping, Sequence +from dataclasses import dataclass +from functools import partial +from io import StringIO +from itertools import filterfalse, tee, zip_longest +from pathlib import Path +from types import FunctionType, TracebackType +from typing import ( + Any, + BinaryIO, + Callable, + Optional, + TextIO, + TypeVar, + cast, +) + +from pip._vendor.packaging.requirements import Requirement +from pip._vendor.pyproject_hooks import BuildBackendHookCaller + +from pip import __version__ +from pip._internal.exceptions import CommandError, ExternallyManagedEnvironment +from pip._internal.locations import get_major_minor_version +from pip._internal.utils.compat import WINDOWS +from pip._internal.utils.retry import retry +from pip._internal.utils.virtualenv import running_under_virtualenv + +__all__ = [ + "rmtree", + "display_path", + "backup_dir", + "ask", + "splitext", + "format_size", + "is_installable_dir", + "normalize_path", + "renames", + "get_prog", + "ensure_dir", + "remove_auth_from_url", + "check_externally_managed", + "ConfiguredBuildBackendHookCaller", +] + +logger = logging.getLogger(__name__) + +T = TypeVar("T") +ExcInfo = tuple[type[BaseException], BaseException, TracebackType] +VersionInfo = tuple[int, int, int] +NetlocTuple = tuple[str, tuple[Optional[str], Optional[str]]] +OnExc = Callable[[FunctionType, Path, BaseException], Any] +OnErr = Callable[[FunctionType, Path, ExcInfo], Any] + +FILE_CHUNK_SIZE = 1024 * 1024 + + +def get_pip_version() -> str: + pip_pkg_dir = os.path.join(os.path.dirname(__file__), "..", "..") + pip_pkg_dir = os.path.abspath(pip_pkg_dir) + + return f"pip {__version__} from {pip_pkg_dir} (python {get_major_minor_version()})" + + +def normalize_version_info(py_version_info: tuple[int, ...]) -> tuple[int, int, int]: + """ + Convert a tuple of ints representing a Python version to one of length + three. + + :param py_version_info: a tuple of ints representing a Python version, + or None to specify no version. The tuple can have any length. + + :return: a tuple of length three if `py_version_info` is non-None. + Otherwise, return `py_version_info` unchanged (i.e. None). + """ + if len(py_version_info) < 3: + py_version_info += (3 - len(py_version_info)) * (0,) + elif len(py_version_info) > 3: + py_version_info = py_version_info[:3] + + return cast("VersionInfo", py_version_info) + + +def ensure_dir(path: str) -> None: + """os.path.makedirs without EEXIST.""" + try: + os.makedirs(path) + except OSError as e: + # Windows can raise spurious ENOTEMPTY errors. See #6426. + if e.errno != errno.EEXIST and e.errno != errno.ENOTEMPTY: + raise + + +def get_prog() -> str: + try: + prog = os.path.basename(sys.argv[0]) + if prog in ("__main__.py", "-c"): + return f"{sys.executable} -m pip" + else: + return prog + except (AttributeError, TypeError, IndexError): + pass + return "pip" + + +# Retry every half second for up to 3 seconds +@retry(stop_after_delay=3, wait=0.5) +def rmtree(dir: str, ignore_errors: bool = False, onexc: OnExc | None = None) -> None: + if ignore_errors: + onexc = _onerror_ignore + if onexc is None: + onexc = _onerror_reraise + handler: OnErr = partial(rmtree_errorhandler, onexc=onexc) + if sys.version_info >= (3, 12): + # See https://docs.python.org/3.12/whatsnew/3.12.html#shutil. + shutil.rmtree(dir, onexc=handler) # type: ignore + else: + shutil.rmtree(dir, onerror=handler) # type: ignore + + +def _onerror_ignore(*_args: Any) -> None: + pass + + +def _onerror_reraise(*_args: Any) -> None: + raise # noqa: PLE0704 - Bare exception used to reraise existing exception + + +def rmtree_errorhandler( + func: FunctionType, + path: Path, + exc_info: ExcInfo | BaseException, + *, + onexc: OnExc = _onerror_reraise, +) -> None: + """ + `rmtree` error handler to 'force' a file remove (i.e. like `rm -f`). + + * If a file is readonly then it's write flag is set and operation is + retried. + + * `onerror` is the original callback from `rmtree(... onerror=onerror)` + that is chained at the end if the "rm -f" still fails. + """ + try: + st_mode = os.stat(path).st_mode + except OSError: + # it's equivalent to os.path.exists + return + + if not st_mode & stat.S_IWRITE: + # convert to read/write + try: + os.chmod(path, st_mode | stat.S_IWRITE) + except OSError: + pass + else: + # use the original function to repeat the operation + try: + func(path) + return + except OSError: + pass + + if not isinstance(exc_info, BaseException): + _, exc_info, _ = exc_info + onexc(func, path, exc_info) + + +def display_path(path: str) -> str: + """Gives the display value for a given path, making it relative to cwd + if possible.""" + path = os.path.normcase(os.path.abspath(path)) + if path.startswith(os.getcwd() + os.path.sep): + path = "." + path[len(os.getcwd()) :] + return path + + +def backup_dir(dir: str, ext: str = ".bak") -> str: + """Figure out the name of a directory to back up the given dir to + (adding .bak, .bak2, etc)""" + n = 1 + extension = ext + while os.path.exists(dir + extension): + n += 1 + extension = ext + str(n) + return dir + extension + + +def ask_path_exists(message: str, options: Iterable[str]) -> str: + for action in os.environ.get("PIP_EXISTS_ACTION", "").split(): + if action in options: + return action + return ask(message, options) + + +def _check_no_input(message: str) -> None: + """Raise an error if no input is allowed.""" + if os.environ.get("PIP_NO_INPUT"): + raise Exception( + f"No input was expected ($PIP_NO_INPUT set); question: {message}" + ) + + +def ask(message: str, options: Iterable[str]) -> str: + """Ask the message interactively, with the given possible responses""" + while 1: + _check_no_input(message) + response = input(message) + response = response.strip().lower() + if response not in options: + print( + "Your response ({!r}) was not one of the expected responses: " + "{}".format(response, ", ".join(options)) + ) + else: + return response + + +def ask_input(message: str) -> str: + """Ask for input interactively.""" + _check_no_input(message) + return input(message) + + +def ask_password(message: str) -> str: + """Ask for a password interactively.""" + _check_no_input(message) + return getpass.getpass(message) + + +def strtobool(val: str) -> int: + """Convert a string representation of truth to true (1) or false (0). + + True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values + are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if + 'val' is anything else. + """ + val = val.lower() + if val in ("y", "yes", "t", "true", "on", "1"): + return 1 + elif val in ("n", "no", "f", "false", "off", "0"): + return 0 + else: + raise ValueError(f"invalid truth value {val!r}") + + +def format_size(bytes: float) -> str: + if bytes > 1000 * 1000: + return f"{bytes / 1000.0 / 1000:.1f} MB" + elif bytes > 10 * 1000: + return f"{int(bytes / 1000)} kB" + elif bytes > 1000: + return f"{bytes / 1000.0:.1f} kB" + else: + return f"{int(bytes)} bytes" + + +def tabulate(rows: Iterable[Iterable[Any]]) -> tuple[list[str], list[int]]: + """Return a list of formatted rows and a list of column sizes. + + For example:: + + >>> tabulate([['foobar', 2000], [0xdeadbeef]]) + (['foobar 2000', '3735928559'], [10, 4]) + """ + rows = [tuple(map(str, row)) for row in rows] + sizes = [max(map(len, col)) for col in zip_longest(*rows, fillvalue="")] + table = [" ".join(map(str.ljust, row, sizes)).rstrip() for row in rows] + return table, sizes + + +def is_installable_dir(path: str) -> bool: + """Is path is a directory containing pyproject.toml or setup.py? + + If pyproject.toml exists, this is a PEP 517 project. Otherwise we look for + a legacy setuptools layout by identifying setup.py. We don't check for the + setup.cfg because using it without setup.py is only available for PEP 517 + projects, which are already covered by the pyproject.toml check. + """ + if not os.path.isdir(path): + return False + if os.path.isfile(os.path.join(path, "pyproject.toml")): + return True + if os.path.isfile(os.path.join(path, "setup.py")): + return True + return False + + +def read_chunks( + file: BinaryIO, size: int = FILE_CHUNK_SIZE +) -> Generator[bytes, None, None]: + """Yield pieces of data from a file-like object until EOF.""" + while True: + chunk = file.read(size) + if not chunk: + break + yield chunk + + +def normalize_path(path: str, resolve_symlinks: bool = True) -> str: + """ + Convert a path to its canonical, case-normalized, absolute version. + + """ + path = os.path.expanduser(path) + if resolve_symlinks: + path = os.path.realpath(path) + else: + path = os.path.abspath(path) + return os.path.normcase(path) + + +def splitext(path: str) -> tuple[str, str]: + """Like os.path.splitext, but take off .tar too""" + base, ext = posixpath.splitext(path) + if base.lower().endswith(".tar"): + ext = base[-4:] + ext + base = base[:-4] + return base, ext + + +def renames(old: str, new: str) -> None: + """Like os.renames(), but handles renaming across devices.""" + # Implementation borrowed from os.renames(). + head, tail = os.path.split(new) + if head and tail and not os.path.exists(head): + os.makedirs(head) + + shutil.move(old, new) + + head, tail = os.path.split(old) + if head and tail: + try: + os.removedirs(head) + except OSError: + pass + + +def is_local(path: str) -> bool: + """ + Return True if path is within sys.prefix, if we're running in a virtualenv. + + If we're not in a virtualenv, all paths are considered "local." + + Caution: this function assumes the head of path has been normalized + with normalize_path. + """ + if not running_under_virtualenv(): + return True + return path.startswith(normalize_path(sys.prefix)) + + +def write_output(msg: Any, *args: Any) -> None: + logger.info(msg, *args) + + +class StreamWrapper(StringIO): + orig_stream: TextIO + + @classmethod + def from_stream(cls, orig_stream: TextIO) -> StreamWrapper: + ret = cls() + ret.orig_stream = orig_stream + return ret + + # compileall.compile_dir() needs stdout.encoding to print to stdout + # type ignore is because TextIOBase.encoding is writeable + @property + def encoding(self) -> str: # type: ignore + return self.orig_stream.encoding + + +# Simulates an enum +def enum(*sequential: Any, **named: Any) -> type[Any]: + enums = dict(zip(sequential, range(len(sequential))), **named) + reverse = {value: key for key, value in enums.items()} + enums["reverse_mapping"] = reverse + return type("Enum", (), enums) + + +def build_netloc(host: str, port: int | None) -> str: + """ + Build a netloc from a host-port pair + """ + if port is None: + return host + if ":" in host: + # Only wrap host with square brackets when it is IPv6 + host = f"[{host}]" + return f"{host}:{port}" + + +def build_url_from_netloc(netloc: str, scheme: str = "https") -> str: + """ + Build a full URL from a netloc. + """ + if netloc.count(":") >= 2 and "@" not in netloc and "[" not in netloc: + # It must be a bare IPv6 address, so wrap it with brackets. + netloc = f"[{netloc}]" + return f"{scheme}://{netloc}" + + +def parse_netloc(netloc: str) -> tuple[str | None, int | None]: + """ + Return the host-port pair from a netloc. + """ + url = build_url_from_netloc(netloc) + parsed = urllib.parse.urlparse(url) + return parsed.hostname, parsed.port + + +def split_auth_from_netloc(netloc: str) -> NetlocTuple: + """ + Parse out and remove the auth information from a netloc. + + Returns: (netloc, (username, password)). + """ + if "@" not in netloc: + return netloc, (None, None) + + # Split from the right because that's how urllib.parse.urlsplit() + # behaves if more than one @ is present (which can be checked using + # the password attribute of urlsplit()'s return value). + auth, netloc = netloc.rsplit("@", 1) + pw: str | None = None + if ":" in auth: + # Split from the left because that's how urllib.parse.urlsplit() + # behaves if more than one : is present (which again can be checked + # using the password attribute of the return value) + user, pw = auth.split(":", 1) + else: + user, pw = auth, None + + user = urllib.parse.unquote(user) + if pw is not None: + pw = urllib.parse.unquote(pw) + + return netloc, (user, pw) + + +def redact_netloc(netloc: str) -> str: + """ + Replace the sensitive data in a netloc with "****", if it exists. + + For example: + - "user:pass@example.com" returns "user:****@example.com" + - "accesstoken@example.com" returns "****@example.com" + """ + netloc, (user, password) = split_auth_from_netloc(netloc) + if user is None: + return netloc + if password is None: + user = "****" + password = "" + else: + user = urllib.parse.quote(user) + password = ":****" + return f"{user}{password}@{netloc}" + + +def _transform_url( + url: str, transform_netloc: Callable[[str], tuple[Any, ...]] +) -> tuple[str, NetlocTuple]: + """Transform and replace netloc in a url. + + transform_netloc is a function taking the netloc and returning a + tuple. The first element of this tuple is the new netloc. The + entire tuple is returned. + + Returns a tuple containing the transformed url as item 0 and the + original tuple returned by transform_netloc as item 1. + """ + purl = urllib.parse.urlsplit(url) + netloc_tuple = transform_netloc(purl.netloc) + # stripped url + url_pieces = (purl.scheme, netloc_tuple[0], purl.path, purl.query, purl.fragment) + surl = urllib.parse.urlunsplit(url_pieces) + return surl, cast("NetlocTuple", netloc_tuple) + + +def _get_netloc(netloc: str) -> NetlocTuple: + return split_auth_from_netloc(netloc) + + +def _redact_netloc(netloc: str) -> tuple[str]: + return (redact_netloc(netloc),) + + +def split_auth_netloc_from_url( + url: str, +) -> tuple[str, str, tuple[str | None, str | None]]: + """ + Parse a url into separate netloc, auth, and url with no auth. + + Returns: (url_without_auth, netloc, (username, password)) + """ + url_without_auth, (netloc, auth) = _transform_url(url, _get_netloc) + return url_without_auth, netloc, auth + + +def remove_auth_from_url(url: str) -> str: + """Return a copy of url with 'username:password@' removed.""" + # username/pass params are passed to subversion through flags + # and are not recognized in the url. + return _transform_url(url, _get_netloc)[0] + + +def redact_auth_from_url(url: str) -> str: + """Replace the password in a given url with ****.""" + return _transform_url(url, _redact_netloc)[0] + + +def redact_auth_from_requirement(req: Requirement) -> str: + """Replace the password in a given requirement url with ****.""" + if not req.url: + return str(req) + return str(req).replace(req.url, redact_auth_from_url(req.url)) + + +@dataclass(frozen=True) +class HiddenText: + secret: str + redacted: str + + def __repr__(self) -> str: + return f"" + + def __str__(self) -> str: + return self.redacted + + # This is useful for testing. + def __eq__(self, other: Any) -> bool: + if type(self) is not type(other): + return False + + # The string being used for redaction doesn't also have to match, + # just the raw, original string. + return self.secret == other.secret + + +def hide_value(value: str) -> HiddenText: + return HiddenText(value, redacted="****") + + +def hide_url(url: str) -> HiddenText: + redacted = redact_auth_from_url(url) + return HiddenText(url, redacted=redacted) + + +def protect_pip_from_modification_on_windows(modifying_pip: bool) -> None: + """Protection of pip.exe from modification on Windows + + On Windows, any operation modifying pip should be run as: + python -m pip ... + """ + pip_names = [ + "pip", + f"pip{sys.version_info.major}", + f"pip{sys.version_info.major}.{sys.version_info.minor}", + ] + + # See https://github.com/pypa/pip/issues/1299 for more discussion + should_show_use_python_msg = ( + modifying_pip and WINDOWS and os.path.basename(sys.argv[0]) in pip_names + ) + + if should_show_use_python_msg: + new_command = [sys.executable, "-m", "pip"] + sys.argv[1:] + raise CommandError( + "To modify pip, please run the following command:\n{}".format( + " ".join(new_command) + ) + ) + + +def check_externally_managed() -> None: + """Check whether the current environment is externally managed. + + If the ``EXTERNALLY-MANAGED`` config file is found, the current environment + is considered externally managed, and an ExternallyManagedEnvironment is + raised. + """ + if running_under_virtualenv(): + return + marker = os.path.join(sysconfig.get_path("stdlib"), "EXTERNALLY-MANAGED") + if not os.path.isfile(marker): + return + raise ExternallyManagedEnvironment.from_config(marker) + + +def is_console_interactive() -> bool: + """Is this console interactive?""" + return sys.stdin is not None and sys.stdin.isatty() + + +def hash_file(path: str, blocksize: int = 1 << 20) -> tuple[Any, int]: + """Return (hash, length) for path using hashlib.sha256()""" + + h = hashlib.sha256() + length = 0 + with open(path, "rb") as f: + for block in read_chunks(f, size=blocksize): + length += len(block) + h.update(block) + return h, length + + +def pairwise(iterable: Iterable[Any]) -> Iterator[tuple[Any, Any]]: + """ + Return paired elements. + + For example: + s -> (s0, s1), (s2, s3), (s4, s5), ... + """ + iterable = iter(iterable) + return zip_longest(iterable, iterable) + + +def partition( + pred: Callable[[T], bool], iterable: Iterable[T] +) -> tuple[Iterable[T], Iterable[T]]: + """ + Use a predicate to partition entries into false entries and true entries, + like + + partition(is_odd, range(10)) --> 0 2 4 6 8 and 1 3 5 7 9 + """ + t1, t2 = tee(iterable) + return filterfalse(pred, t1), filter(pred, t2) + + +class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller): + def __init__( + self, + config_holder: Any, + source_dir: str, + build_backend: str, + backend_path: str | None = None, + runner: Callable[..., None] | None = None, + python_executable: str | None = None, + ): + super().__init__( + source_dir, build_backend, backend_path, runner, python_executable + ) + self.config_holder = config_holder + + def build_wheel( + self, + wheel_directory: str, + config_settings: Mapping[str, Any] | None = None, + metadata_directory: str | None = None, + ) -> str: + cs = self.config_holder.config_settings + return super().build_wheel( + wheel_directory, config_settings=cs, metadata_directory=metadata_directory + ) + + def build_sdist( + self, + sdist_directory: str, + config_settings: Mapping[str, Any] | None = None, + ) -> str: + cs = self.config_holder.config_settings + return super().build_sdist(sdist_directory, config_settings=cs) + + def build_editable( + self, + wheel_directory: str, + config_settings: Mapping[str, Any] | None = None, + metadata_directory: str | None = None, + ) -> str: + cs = self.config_holder.config_settings + return super().build_editable( + wheel_directory, config_settings=cs, metadata_directory=metadata_directory + ) + + def get_requires_for_build_wheel( + self, config_settings: Mapping[str, Any] | None = None + ) -> Sequence[str]: + cs = self.config_holder.config_settings + return super().get_requires_for_build_wheel(config_settings=cs) + + def get_requires_for_build_sdist( + self, config_settings: Mapping[str, Any] | None = None + ) -> Sequence[str]: + cs = self.config_holder.config_settings + return super().get_requires_for_build_sdist(config_settings=cs) + + def get_requires_for_build_editable( + self, config_settings: Mapping[str, Any] | None = None + ) -> Sequence[str]: + cs = self.config_holder.config_settings + return super().get_requires_for_build_editable(config_settings=cs) + + def prepare_metadata_for_build_wheel( + self, + metadata_directory: str, + config_settings: Mapping[str, Any] | None = None, + _allow_fallback: bool = True, + ) -> str: + cs = self.config_holder.config_settings + return super().prepare_metadata_for_build_wheel( + metadata_directory=metadata_directory, + config_settings=cs, + _allow_fallback=_allow_fallback, + ) + + def prepare_metadata_for_build_editable( + self, + metadata_directory: str, + config_settings: Mapping[str, Any] | None = None, + _allow_fallback: bool = True, + ) -> str | None: + cs = self.config_holder.config_settings + return super().prepare_metadata_for_build_editable( + metadata_directory=metadata_directory, + config_settings=cs, + _allow_fallback=_allow_fallback, + ) + + +def warn_if_run_as_root() -> None: + """Output a warning for sudo users on Unix. + + In a virtual environment, sudo pip still writes to virtualenv. + On Windows, users may run pip as Administrator without issues. + This warning only applies to Unix root users outside of virtualenv. + """ + if running_under_virtualenv(): + return + if not hasattr(os, "getuid"): + return + # On Windows, there are no "system managed" Python packages. Installing as + # Administrator via pip is the correct way of updating system environments. + # + # We choose sys.platform over utils.compat.WINDOWS here to enable Mypy platform + # checks: https://mypy.readthedocs.io/en/stable/common_issues.html + if sys.platform == "win32" or sys.platform == "cygwin": + return + + if os.getuid() != 0: + return + + logger.warning( + "Running pip as the 'root' user can result in broken permissions and " + "conflicting behaviour with the system package manager, possibly " + "rendering your system unusable. " + "It is recommended to use a virtual environment instead: " + "https://pip.pypa.io/warnings/venv. " + "Use the --root-user-action option if you know what you are doing and " + "want to suppress this warning." + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/packaging.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/packaging.py new file mode 100644 index 0000000000000000000000000000000000000000..3cbc0490aa1febe2dab8069a115ca13f0ad21c38 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/packaging.py @@ -0,0 +1,44 @@ +from __future__ import annotations + +import functools +import logging + +from pip._vendor.packaging import specifiers, version +from pip._vendor.packaging.requirements import Requirement + +logger = logging.getLogger(__name__) + + +@functools.lru_cache(maxsize=32) +def check_requires_python( + requires_python: str | None, version_info: tuple[int, ...] +) -> bool: + """ + Check if the given Python version matches a "Requires-Python" specifier. + + :param version_info: A 3-tuple of ints representing a Python + major-minor-micro version to check (e.g. `sys.version_info[:3]`). + + :return: `True` if the given Python version satisfies the requirement. + Otherwise, return `False`. + + :raises InvalidSpecifier: If `requires_python` has an invalid format. + """ + if requires_python is None: + # The package provides no information + return True + requires_python_specifier = specifiers.SpecifierSet(requires_python) + + python_version = version.parse(".".join(map(str, version_info))) + return python_version in requires_python_specifier + + +@functools.lru_cache(maxsize=10000) +def get_requirement(req_string: str) -> Requirement: + """Construct a packaging.Requirement object with caching""" + # Parsing requirement strings is expensive, and is also expected to happen + # with a low diversity of different arguments (at least relative the number + # constructed). This method adds a cache to requirement object creation to + # minimize repeated parsing of the same string to construct equivalent + # Requirement objects. + return Requirement(req_string) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/retry.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/retry.py new file mode 100644 index 0000000000000000000000000000000000000000..27d3b6e78030948d01f4663d241fe615517a1a65 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/retry.py @@ -0,0 +1,45 @@ +from __future__ import annotations + +import functools +from time import perf_counter, sleep +from typing import TYPE_CHECKING, Callable, TypeVar + +if TYPE_CHECKING: + from typing_extensions import ParamSpec + + T = TypeVar("T") + P = ParamSpec("P") + + +def retry( + wait: float, stop_after_delay: float +) -> Callable[[Callable[P, T]], Callable[P, T]]: + """Decorator to automatically retry a function on error. + + If the function raises, the function is recalled with the same arguments + until it returns or the time limit is reached. When the time limit is + surpassed, the last exception raised is reraised. + + :param wait: The time to wait after an error before retrying, in seconds. + :param stop_after_delay: The time limit after which retries will cease, + in seconds. + """ + + def wrapper(func: Callable[P, T]) -> Callable[P, T]: + + @functools.wraps(func) + def retry_wrapped(*args: P.args, **kwargs: P.kwargs) -> T: + # The performance counter is monotonic on all platforms we care + # about and has much better resolution than time.monotonic(). + start_time = perf_counter() + while True: + try: + return func(*args, **kwargs) + except Exception: + if perf_counter() - start_time > stop_after_delay: + raise + sleep(wait) + + return retry_wrapped + + return wrapper diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/setuptools_build.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/setuptools_build.py new file mode 100644 index 0000000000000000000000000000000000000000..1b8c7a1c21ffb823b5528cf016f76e1622cd8181 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/setuptools_build.py @@ -0,0 +1,149 @@ +from __future__ import annotations + +import sys +import textwrap +from collections.abc import Sequence + +# Shim to wrap setup.py invocation with setuptools +# Note that __file__ is handled via two {!r} *and* %r, to ensure that paths on +# Windows are correctly handled (it should be "C:\\Users" not "C:\Users"). +_SETUPTOOLS_SHIM = textwrap.dedent( + """ + exec(compile(''' + # This is -- a caller that pip uses to run setup.py + # + # - It imports setuptools before invoking setup.py, to enable projects that directly + # import from `distutils.core` to work with newer packaging standards. + # - It provides a clear error message when setuptools is not installed. + # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so + # setuptools doesn't think the script is `-c`. This avoids the following warning: + # manifest_maker: standard file '-c' not found". + # - It generates a shim setup.py, for handling setup.cfg-only projects. + import os, sys, tokenize, traceback + + try: + import setuptools + except ImportError: + print( + "ERROR: Can not execute `setup.py` since setuptools failed to import in " + "the build environment with exception:", + file=sys.stderr, + ) + traceback.print_exc() + sys.exit(1) + + __file__ = %r + sys.argv[0] = __file__ + + if os.path.exists(__file__): + filename = __file__ + with tokenize.open(__file__) as f: + setup_py_code = f.read() + else: + filename = "" + setup_py_code = "from setuptools import setup; setup()" + + exec(compile(setup_py_code, filename, "exec")) + ''' % ({!r},), "", "exec")) + """ +).rstrip() + + +def make_setuptools_shim_args( + setup_py_path: str, + global_options: Sequence[str] | None = None, + no_user_config: bool = False, + unbuffered_output: bool = False, +) -> list[str]: + """ + Get setuptools command arguments with shim wrapped setup file invocation. + + :param setup_py_path: The path to setup.py to be wrapped. + :param global_options: Additional global options. + :param no_user_config: If True, disables personal user configuration. + :param unbuffered_output: If True, adds the unbuffered switch to the + argument list. + """ + args = [sys.executable] + if unbuffered_output: + args += ["-u"] + args += ["-c", _SETUPTOOLS_SHIM.format(setup_py_path)] + if global_options: + args += global_options + if no_user_config: + args += ["--no-user-cfg"] + return args + + +def make_setuptools_bdist_wheel_args( + setup_py_path: str, + global_options: Sequence[str], + build_options: Sequence[str], + destination_dir: str, +) -> list[str]: + # NOTE: Eventually, we'd want to also -S to the flags here, when we're + # isolating. Currently, it breaks Python in virtualenvs, because it + # relies on site.py to find parts of the standard library outside the + # virtualenv. + args = make_setuptools_shim_args( + setup_py_path, global_options=global_options, unbuffered_output=True + ) + args += ["bdist_wheel", "-d", destination_dir] + args += build_options + return args + + +def make_setuptools_clean_args( + setup_py_path: str, + global_options: Sequence[str], +) -> list[str]: + args = make_setuptools_shim_args( + setup_py_path, global_options=global_options, unbuffered_output=True + ) + args += ["clean", "--all"] + return args + + +def make_setuptools_develop_args( + setup_py_path: str, + *, + global_options: Sequence[str], + no_user_config: bool, + prefix: str | None, + home: str | None, + use_user_site: bool, +) -> list[str]: + assert not (use_user_site and prefix) + + args = make_setuptools_shim_args( + setup_py_path, + global_options=global_options, + no_user_config=no_user_config, + ) + + args += ["develop", "--no-deps"] + + if prefix: + args += ["--prefix", prefix] + if home is not None: + args += ["--install-dir", home] + + if use_user_site: + args += ["--user", "--prefix="] + + return args + + +def make_setuptools_egg_info_args( + setup_py_path: str, + egg_info_dir: str | None, + no_user_config: bool, +) -> list[str]: + args = make_setuptools_shim_args(setup_py_path, no_user_config=no_user_config) + + args += ["egg_info"] + + if egg_info_dir: + args += ["--egg-base", egg_info_dir] + + return args diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/subprocess.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/subprocess.py new file mode 100644 index 0000000000000000000000000000000000000000..3e7b83f308cd2fe370247be10d2a3e3dbd6f12a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/subprocess.py @@ -0,0 +1,248 @@ +from __future__ import annotations + +import logging +import os +import shlex +import subprocess +from collections.abc import Iterable, Mapping +from typing import Any, Callable, Literal, Union + +from pip._vendor.rich.markup import escape + +from pip._internal.cli.spinners import SpinnerInterface, open_spinner +from pip._internal.exceptions import InstallationSubprocessError +from pip._internal.utils.logging import VERBOSE, subprocess_logger +from pip._internal.utils.misc import HiddenText + +CommandArgs = list[Union[str, HiddenText]] + + +def make_command(*args: str | HiddenText | CommandArgs) -> CommandArgs: + """ + Create a CommandArgs object. + """ + command_args: CommandArgs = [] + for arg in args: + # Check for list instead of CommandArgs since CommandArgs is + # only known during type-checking. + if isinstance(arg, list): + command_args.extend(arg) + else: + # Otherwise, arg is str or HiddenText. + command_args.append(arg) + + return command_args + + +def format_command_args(args: list[str] | CommandArgs) -> str: + """ + Format command arguments for display. + """ + # For HiddenText arguments, display the redacted form by calling str(). + # Also, we don't apply str() to arguments that aren't HiddenText since + # this can trigger a UnicodeDecodeError in Python 2 if the argument + # has type unicode and includes a non-ascii character. (The type + # checker doesn't ensure the annotations are correct in all cases.) + return " ".join( + shlex.quote(str(arg)) if isinstance(arg, HiddenText) else shlex.quote(arg) + for arg in args + ) + + +def reveal_command_args(args: list[str] | CommandArgs) -> list[str]: + """ + Return the arguments in their raw, unredacted form. + """ + return [arg.secret if isinstance(arg, HiddenText) else arg for arg in args] + + +def call_subprocess( + cmd: list[str] | CommandArgs, + show_stdout: bool = False, + cwd: str | None = None, + on_returncode: Literal["raise", "warn", "ignore"] = "raise", + extra_ok_returncodes: Iterable[int] | None = None, + extra_environ: Mapping[str, Any] | None = None, + unset_environ: Iterable[str] | None = None, + spinner: SpinnerInterface | None = None, + log_failed_cmd: bool | None = True, + stdout_only: bool | None = False, + *, + command_desc: str, +) -> str: + """ + Args: + show_stdout: if true, use INFO to log the subprocess's stderr and + stdout streams. Otherwise, use DEBUG. Defaults to False. + extra_ok_returncodes: an iterable of integer return codes that are + acceptable, in addition to 0. Defaults to None, which means []. + unset_environ: an iterable of environment variable names to unset + prior to calling subprocess.Popen(). + log_failed_cmd: if false, failed commands are not logged, only raised. + stdout_only: if true, return only stdout, else return both. When true, + logging of both stdout and stderr occurs when the subprocess has + terminated, else logging occurs as subprocess output is produced. + """ + if extra_ok_returncodes is None: + extra_ok_returncodes = [] + if unset_environ is None: + unset_environ = [] + # Most places in pip use show_stdout=False. What this means is-- + # + # - We connect the child's output (combined stderr and stdout) to a + # single pipe, which we read. + # - We log this output to stderr at DEBUG level as it is received. + # - If DEBUG logging isn't enabled (e.g. if --verbose logging wasn't + # requested), then we show a spinner so the user can still see the + # subprocess is in progress. + # - If the subprocess exits with an error, we log the output to stderr + # at ERROR level if it hasn't already been displayed to the console + # (e.g. if --verbose logging wasn't enabled). This way we don't log + # the output to the console twice. + # + # If show_stdout=True, then the above is still done, but with DEBUG + # replaced by INFO. + if show_stdout: + # Then log the subprocess output at INFO level. + log_subprocess: Callable[..., None] = subprocess_logger.info + used_level = logging.INFO + else: + # Then log the subprocess output using VERBOSE. This also ensures + # it will be logged to the log file (aka user_log), if enabled. + log_subprocess = subprocess_logger.verbose + used_level = VERBOSE + + # Whether the subprocess will be visible in the console. + showing_subprocess = subprocess_logger.getEffectiveLevel() <= used_level + + # Only use the spinner if we're not showing the subprocess output + # and we have a spinner. + use_spinner = not showing_subprocess and spinner is not None + + log_subprocess("Running command %s", command_desc) + env = os.environ.copy() + if extra_environ: + env.update(extra_environ) + for name in unset_environ: + env.pop(name, None) + try: + proc = subprocess.Popen( + # Convert HiddenText objects to the underlying str. + reveal_command_args(cmd), + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT if not stdout_only else subprocess.PIPE, + cwd=cwd, + env=env, + errors="backslashreplace", + ) + except Exception as exc: + if log_failed_cmd: + subprocess_logger.critical( + "Error %s while executing command %s", + exc, + command_desc, + ) + raise + all_output = [] + if not stdout_only: + assert proc.stdout + assert proc.stdin + proc.stdin.close() + # In this mode, stdout and stderr are in the same pipe. + while True: + line: str = proc.stdout.readline() + if not line: + break + line = line.rstrip() + all_output.append(line + "\n") + + # Show the line immediately. + log_subprocess(line) + # Update the spinner. + if use_spinner: + assert spinner + spinner.spin() + try: + proc.wait() + finally: + if proc.stdout: + proc.stdout.close() + output = "".join(all_output) + else: + # In this mode, stdout and stderr are in different pipes. + # We must use communicate() which is the only safe way to read both. + out, err = proc.communicate() + # log line by line to preserve pip log indenting + for out_line in out.splitlines(): + log_subprocess(out_line) + all_output.append(out) + for err_line in err.splitlines(): + log_subprocess(err_line) + all_output.append(err) + output = out + + proc_had_error = proc.returncode and proc.returncode not in extra_ok_returncodes + if use_spinner: + assert spinner + if proc_had_error: + spinner.finish("error") + else: + spinner.finish("done") + if proc_had_error: + if on_returncode == "raise": + error = InstallationSubprocessError( + command_description=command_desc, + exit_code=proc.returncode, + output_lines=all_output if not showing_subprocess else None, + ) + if log_failed_cmd: + subprocess_logger.error("%s", error, extra={"rich": True}) + subprocess_logger.verbose( + "[bold magenta]full command[/]: [blue]%s[/]", + escape(format_command_args(cmd)), + extra={"markup": True}, + ) + subprocess_logger.verbose( + "[bold magenta]cwd[/]: %s", + escape(cwd or "[inherit]"), + extra={"markup": True}, + ) + + raise error + elif on_returncode == "warn": + subprocess_logger.warning( + 'Command "%s" had error code %s in %s', + command_desc, + proc.returncode, + cwd, + ) + elif on_returncode == "ignore": + pass + else: + raise ValueError(f"Invalid value: on_returncode={on_returncode!r}") + return output + + +def runner_with_spinner_message(message: str) -> Callable[..., None]: + """Provide a subprocess_runner that shows a spinner message. + + Intended for use with for BuildBackendHookCaller. Thus, the runner has + an API that matches what's expected by BuildBackendHookCaller.subprocess_runner. + """ + + def runner( + cmd: list[str], + cwd: str | None = None, + extra_environ: Mapping[str, Any] | None = None, + ) -> None: + with open_spinner(message) as spinner: + call_subprocess( + cmd, + command_desc=message, + cwd=cwd, + extra_environ=extra_environ, + spinner=spinner, + ) + + return runner diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py new file mode 100644 index 0000000000000000000000000000000000000000..a9afa76c8480fcec19b52e6ded3bc7201da18c5f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py @@ -0,0 +1,294 @@ +from __future__ import annotations + +import errno +import itertools +import logging +import os.path +import tempfile +import traceback +from collections.abc import Generator +from contextlib import ExitStack, contextmanager +from pathlib import Path +from typing import ( + Any, + Callable, + TypeVar, +) + +from pip._internal.utils.misc import enum, rmtree + +logger = logging.getLogger(__name__) + +_T = TypeVar("_T", bound="TempDirectory") + + +# Kinds of temporary directories. Only needed for ones that are +# globally-managed. +tempdir_kinds = enum( + BUILD_ENV="build-env", + EPHEM_WHEEL_CACHE="ephem-wheel-cache", + REQ_BUILD="req-build", +) + + +_tempdir_manager: ExitStack | None = None + + +@contextmanager +def global_tempdir_manager() -> Generator[None, None, None]: + global _tempdir_manager + with ExitStack() as stack: + old_tempdir_manager, _tempdir_manager = _tempdir_manager, stack + try: + yield + finally: + _tempdir_manager = old_tempdir_manager + + +class TempDirectoryTypeRegistry: + """Manages temp directory behavior""" + + def __init__(self) -> None: + self._should_delete: dict[str, bool] = {} + + def set_delete(self, kind: str, value: bool) -> None: + """Indicate whether a TempDirectory of the given kind should be + auto-deleted. + """ + self._should_delete[kind] = value + + def get_delete(self, kind: str) -> bool: + """Get configured auto-delete flag for a given TempDirectory type, + default True. + """ + return self._should_delete.get(kind, True) + + +_tempdir_registry: TempDirectoryTypeRegistry | None = None + + +@contextmanager +def tempdir_registry() -> Generator[TempDirectoryTypeRegistry, None, None]: + """Provides a scoped global tempdir registry that can be used to dictate + whether directories should be deleted. + """ + global _tempdir_registry + old_tempdir_registry = _tempdir_registry + _tempdir_registry = TempDirectoryTypeRegistry() + try: + yield _tempdir_registry + finally: + _tempdir_registry = old_tempdir_registry + + +class _Default: + pass + + +_default = _Default() + + +class TempDirectory: + """Helper class that owns and cleans up a temporary directory. + + This class can be used as a context manager or as an OO representation of a + temporary directory. + + Attributes: + path + Location to the created temporary directory + delete + Whether the directory should be deleted when exiting + (when used as a contextmanager) + + Methods: + cleanup() + Deletes the temporary directory + + When used as a context manager, if the delete attribute is True, on + exiting the context the temporary directory is deleted. + """ + + def __init__( + self, + path: str | None = None, + delete: bool | None | _Default = _default, + kind: str = "temp", + globally_managed: bool = False, + ignore_cleanup_errors: bool = True, + ): + super().__init__() + + if delete is _default: + if path is not None: + # If we were given an explicit directory, resolve delete option + # now. + delete = False + else: + # Otherwise, we wait until cleanup and see what + # tempdir_registry says. + delete = None + + # The only time we specify path is in for editables where it + # is the value of the --src option. + if path is None: + path = self._create(kind) + + self._path = path + self._deleted = False + self.delete = delete + self.kind = kind + self.ignore_cleanup_errors = ignore_cleanup_errors + + if globally_managed: + assert _tempdir_manager is not None + _tempdir_manager.enter_context(self) + + @property + def path(self) -> str: + assert not self._deleted, f"Attempted to access deleted path: {self._path}" + return self._path + + def __repr__(self) -> str: + return f"<{self.__class__.__name__} {self.path!r}>" + + def __enter__(self: _T) -> _T: + return self + + def __exit__(self, exc: Any, value: Any, tb: Any) -> None: + if self.delete is not None: + delete = self.delete + elif _tempdir_registry: + delete = _tempdir_registry.get_delete(self.kind) + else: + delete = True + + if delete: + self.cleanup() + + def _create(self, kind: str) -> str: + """Create a temporary directory and store its path in self.path""" + # We realpath here because some systems have their default tmpdir + # symlinked to another directory. This tends to confuse build + # scripts, so we canonicalize the path by traversing potential + # symlinks here. + path = os.path.realpath(tempfile.mkdtemp(prefix=f"pip-{kind}-")) + logger.debug("Created temporary directory: %s", path) + return path + + def cleanup(self) -> None: + """Remove the temporary directory created and reset state""" + self._deleted = True + if not os.path.exists(self._path): + return + + errors: list[BaseException] = [] + + def onerror( + func: Callable[..., Any], + path: Path, + exc_val: BaseException, + ) -> None: + """Log a warning for a `rmtree` error and continue""" + formatted_exc = "\n".join( + traceback.format_exception_only(type(exc_val), exc_val) + ) + formatted_exc = formatted_exc.rstrip() # remove trailing new line + if func in (os.unlink, os.remove, os.rmdir): + logger.debug( + "Failed to remove a temporary file '%s' due to %s.\n", + path, + formatted_exc, + ) + else: + logger.debug("%s failed with %s.", func.__qualname__, formatted_exc) + errors.append(exc_val) + + if self.ignore_cleanup_errors: + try: + # first try with @retry; retrying to handle ephemeral errors + rmtree(self._path, ignore_errors=False) + except OSError: + # last pass ignore/log all errors + rmtree(self._path, onexc=onerror) + if errors: + logger.warning( + "Failed to remove contents in a temporary directory '%s'.\n" + "You can safely remove it manually.", + self._path, + ) + else: + rmtree(self._path) + + +class AdjacentTempDirectory(TempDirectory): + """Helper class that creates a temporary directory adjacent to a real one. + + Attributes: + original + The original directory to create a temp directory for. + path + After calling create() or entering, contains the full + path to the temporary directory. + delete + Whether the directory should be deleted when exiting + (when used as a contextmanager) + + """ + + # The characters that may be used to name the temp directory + # We always prepend a ~ and then rotate through these until + # a usable name is found. + # pkg_resources raises a different error for .dist-info folder + # with leading '-' and invalid metadata + LEADING_CHARS = "-~.=%0123456789" + + def __init__(self, original: str, delete: bool | None = None) -> None: + self.original = original.rstrip("/\\") + super().__init__(delete=delete) + + @classmethod + def _generate_names(cls, name: str) -> Generator[str, None, None]: + """Generates a series of temporary names. + + The algorithm replaces the leading characters in the name + with ones that are valid filesystem characters, but are not + valid package names (for both Python and pip definitions of + package). + """ + for i in range(1, len(name)): + for candidate in itertools.combinations_with_replacement( + cls.LEADING_CHARS, i - 1 + ): + new_name = "~" + "".join(candidate) + name[i:] + if new_name != name: + yield new_name + + # If we make it this far, we will have to make a longer name + for i in range(len(cls.LEADING_CHARS)): + for candidate in itertools.combinations_with_replacement( + cls.LEADING_CHARS, i + ): + new_name = "~" + "".join(candidate) + name + if new_name != name: + yield new_name + + def _create(self, kind: str) -> str: + root, name = os.path.split(self.original) + for candidate in self._generate_names(name): + path = os.path.join(root, candidate) + try: + os.mkdir(path) + except OSError as ex: + # Continue if the name exists already + if ex.errno != errno.EEXIST: + raise + else: + path = os.path.realpath(path) + break + else: + # Final fallback on the default behavior. + path = os.path.realpath(tempfile.mkdtemp(prefix=f"pip-{kind}-")) + + logger.debug("Created temporary directory: %s", path) + return path diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py new file mode 100644 index 0000000000000000000000000000000000000000..0ad3129acf4602e5ed209bf6b52ba795303af33d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py @@ -0,0 +1,337 @@ +"""Utilities related archives.""" + +from __future__ import annotations + +import logging +import os +import shutil +import stat +import sys +import tarfile +import zipfile +from collections.abc import Iterable +from zipfile import ZipInfo + +from pip._internal.exceptions import InstallationError +from pip._internal.utils.filetypes import ( + BZ2_EXTENSIONS, + TAR_EXTENSIONS, + XZ_EXTENSIONS, + ZIP_EXTENSIONS, +) +from pip._internal.utils.misc import ensure_dir + +logger = logging.getLogger(__name__) + + +SUPPORTED_EXTENSIONS = ZIP_EXTENSIONS + TAR_EXTENSIONS + +try: + import bz2 # noqa + + SUPPORTED_EXTENSIONS += BZ2_EXTENSIONS +except ImportError: + logger.debug("bz2 module is not available") + +try: + # Only for Python 3.3+ + import lzma # noqa + + SUPPORTED_EXTENSIONS += XZ_EXTENSIONS +except ImportError: + logger.debug("lzma module is not available") + + +def current_umask() -> int: + """Get the current umask which involves having to set it temporarily.""" + mask = os.umask(0) + os.umask(mask) + return mask + + +def split_leading_dir(path: str) -> list[str]: + path = path.lstrip("/").lstrip("\\") + if "/" in path and ( + ("\\" in path and path.find("/") < path.find("\\")) or "\\" not in path + ): + return path.split("/", 1) + elif "\\" in path: + return path.split("\\", 1) + else: + return [path, ""] + + +def has_leading_dir(paths: Iterable[str]) -> bool: + """Returns true if all the paths have the same leading path name + (i.e., everything is in one subdirectory in an archive)""" + common_prefix = None + for path in paths: + prefix, rest = split_leading_dir(path) + if not prefix: + return False + elif common_prefix is None: + common_prefix = prefix + elif prefix != common_prefix: + return False + return True + + +def is_within_directory(directory: str, target: str) -> bool: + """ + Return true if the absolute path of target is within the directory + """ + abs_directory = os.path.abspath(directory) + abs_target = os.path.abspath(target) + + prefix = os.path.commonprefix([abs_directory, abs_target]) + return prefix == abs_directory + + +def _get_default_mode_plus_executable() -> int: + return 0o777 & ~current_umask() | 0o111 + + +def set_extracted_file_to_default_mode_plus_executable(path: str) -> None: + """ + Make file present at path have execute for user/group/world + (chmod +x) is no-op on windows per python docs + """ + os.chmod(path, _get_default_mode_plus_executable()) + + +def zip_item_is_executable(info: ZipInfo) -> bool: + mode = info.external_attr >> 16 + # if mode and regular file and any execute permissions for + # user/group/world? + return bool(mode and stat.S_ISREG(mode) and mode & 0o111) + + +def unzip_file(filename: str, location: str, flatten: bool = True) -> None: + """ + Unzip the file (with path `filename`) to the destination `location`. All + files are written based on system defaults and umask (i.e. permissions are + not preserved), except that regular file members with any execute + permissions (user, group, or world) have "chmod +x" applied after being + written. Note that for windows, any execute changes using os.chmod are + no-ops per the python docs. + """ + ensure_dir(location) + zipfp = open(filename, "rb") + try: + zip = zipfile.ZipFile(zipfp, allowZip64=True) + leading = has_leading_dir(zip.namelist()) and flatten + for info in zip.infolist(): + name = info.filename + fn = name + if leading: + fn = split_leading_dir(name)[1] + fn = os.path.join(location, fn) + dir = os.path.dirname(fn) + if not is_within_directory(location, fn): + message = ( + "The zip file ({}) has a file ({}) trying to install " + "outside target directory ({})" + ) + raise InstallationError(message.format(filename, fn, location)) + if fn.endswith(("/", "\\")): + # A directory + ensure_dir(fn) + else: + ensure_dir(dir) + # Don't use read() to avoid allocating an arbitrarily large + # chunk of memory for the file's content + fp = zip.open(name) + try: + with open(fn, "wb") as destfp: + shutil.copyfileobj(fp, destfp) + finally: + fp.close() + if zip_item_is_executable(info): + set_extracted_file_to_default_mode_plus_executable(fn) + finally: + zipfp.close() + + +def untar_file(filename: str, location: str) -> None: + """ + Untar the file (with path `filename`) to the destination `location`. + All files are written based on system defaults and umask (i.e. permissions + are not preserved), except that regular file members with any execute + permissions (user, group, or world) have "chmod +x" applied on top of the + default. Note that for windows, any execute changes using os.chmod are + no-ops per the python docs. + """ + ensure_dir(location) + if filename.lower().endswith(".gz") or filename.lower().endswith(".tgz"): + mode = "r:gz" + elif filename.lower().endswith(BZ2_EXTENSIONS): + mode = "r:bz2" + elif filename.lower().endswith(XZ_EXTENSIONS): + mode = "r:xz" + elif filename.lower().endswith(".tar"): + mode = "r" + else: + logger.warning( + "Cannot determine compression type for file %s", + filename, + ) + mode = "r:*" + + tar = tarfile.open(filename, mode, encoding="utf-8") # type: ignore + try: + leading = has_leading_dir([member.name for member in tar.getmembers()]) + + # PEP 706 added `tarfile.data_filter`, and made some other changes to + # Python's tarfile module (see below). The features were backported to + # security releases. + try: + data_filter = tarfile.data_filter + except AttributeError: + _untar_without_filter(filename, location, tar, leading) + else: + default_mode_plus_executable = _get_default_mode_plus_executable() + + if leading: + # Strip the leading directory from all files in the archive, + # including hardlink targets (which are relative to the + # unpack location). + for member in tar.getmembers(): + name_lead, name_rest = split_leading_dir(member.name) + member.name = name_rest + if member.islnk(): + lnk_lead, lnk_rest = split_leading_dir(member.linkname) + if lnk_lead == name_lead: + member.linkname = lnk_rest + + def pip_filter(member: tarfile.TarInfo, path: str) -> tarfile.TarInfo: + orig_mode = member.mode + try: + try: + member = data_filter(member, location) + except tarfile.LinkOutsideDestinationError: + if sys.version_info[:3] in { + (3, 9, 17), + (3, 10, 12), + (3, 11, 4), + }: + # The tarfile filter in specific Python versions + # raises LinkOutsideDestinationError on valid input + # (https://github.com/python/cpython/issues/107845) + # Ignore the error there, but do use the + # more lax `tar_filter` + member = tarfile.tar_filter(member, location) + else: + raise + except tarfile.TarError as exc: + message = "Invalid member in the tar file {}: {}" + # Filter error messages mention the member name. + # No need to add it here. + raise InstallationError( + message.format( + filename, + exc, + ) + ) + if member.isfile() and orig_mode & 0o111: + member.mode = default_mode_plus_executable + else: + # See PEP 706 note above. + # The PEP changed this from `int` to `Optional[int]`, + # where None means "use the default". Mypy doesn't + # know this yet. + member.mode = None # type: ignore [assignment] + return member + + tar.extractall(location, filter=pip_filter) + + finally: + tar.close() + + +def _untar_without_filter( + filename: str, + location: str, + tar: tarfile.TarFile, + leading: bool, +) -> None: + """Fallback for Python without tarfile.data_filter""" + for member in tar.getmembers(): + fn = member.name + if leading: + fn = split_leading_dir(fn)[1] + path = os.path.join(location, fn) + if not is_within_directory(location, path): + message = ( + "The tar file ({}) has a file ({}) trying to install " + "outside target directory ({})" + ) + raise InstallationError(message.format(filename, path, location)) + if member.isdir(): + ensure_dir(path) + elif member.issym(): + try: + tar._extract_member(member, path) + except Exception as exc: + # Some corrupt tar files seem to produce this + # (specifically bad symlinks) + logger.warning( + "In the tar file %s the member %s is invalid: %s", + filename, + member.name, + exc, + ) + continue + else: + try: + fp = tar.extractfile(member) + except (KeyError, AttributeError) as exc: + # Some corrupt tar files seem to produce this + # (specifically bad symlinks) + logger.warning( + "In the tar file %s the member %s is invalid: %s", + filename, + member.name, + exc, + ) + continue + ensure_dir(os.path.dirname(path)) + assert fp is not None + with open(path, "wb") as destfp: + shutil.copyfileobj(fp, destfp) + fp.close() + # Update the timestamp (useful for cython compiled files) + tar.utime(member, path) + # member have any execute permissions for user/group/world? + if member.mode & 0o111: + set_extracted_file_to_default_mode_plus_executable(path) + + +def unpack_file( + filename: str, + location: str, + content_type: str | None = None, +) -> None: + filename = os.path.realpath(filename) + if ( + content_type == "application/zip" + or filename.lower().endswith(ZIP_EXTENSIONS) + or zipfile.is_zipfile(filename) + ): + unzip_file(filename, location, flatten=not filename.endswith(".whl")) + elif ( + content_type == "application/x-gzip" + or tarfile.is_tarfile(filename) + or filename.lower().endswith(TAR_EXTENSIONS + BZ2_EXTENSIONS + XZ_EXTENSIONS) + ): + untar_file(filename, location) + else: + # FIXME: handle? + # FIXME: magic signatures? + logger.critical( + "Cannot unpack file %s (downloaded from %s, content-type: %s); " + "cannot detect archive format", + filename, + location, + content_type, + ) + raise InstallationError(f"Cannot determine archive format of {location}") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/urls.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..e951a5e4e47df1b487b4c8efa5f3162e08404249 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/urls.py @@ -0,0 +1,55 @@ +import os +import string +import urllib.parse +import urllib.request + +from .compat import WINDOWS + + +def path_to_url(path: str) -> str: + """ + Convert a path to a file: URL. The path will be made absolute and have + quoted path parts. + """ + path = os.path.normpath(os.path.abspath(path)) + url = urllib.parse.urljoin("file://", urllib.request.pathname2url(path)) + return url + + +def url_to_path(url: str) -> str: + """ + Convert a file: URL to a path. + """ + assert url.startswith( + "file:" + ), f"You can only turn file: urls into filenames (not {url!r})" + + _, netloc, path, _, _ = urllib.parse.urlsplit(url) + + if not netloc or netloc == "localhost": + # According to RFC 8089, same as empty authority. + netloc = "" + elif WINDOWS: + # If we have a UNC path, prepend UNC share notation. + netloc = "\\\\" + netloc + else: + raise ValueError( + f"non-local file URIs are not supported on this platform: {url!r}" + ) + + path = urllib.request.url2pathname(netloc + path) + + # On Windows, urlsplit parses the path as something like "/C:/Users/foo". + # This creates issues for path-related functions like io.open(), so we try + # to detect and strip the leading slash. + if ( + WINDOWS + and not netloc # Not UNC. + and len(path) >= 3 + and path[0] == "/" # Leading slash to strip. + and path[1] in string.ascii_letters # Drive letter. + and path[2:4] in (":", ":/") # Colon + end of string, or colon + absolute path. + ): + path = path[1:] + + return path diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/virtualenv.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/virtualenv.py new file mode 100644 index 0000000000000000000000000000000000000000..b1742a3e9b19392184bab1d561939308f3305d04 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/virtualenv.py @@ -0,0 +1,105 @@ +from __future__ import annotations + +import logging +import os +import re +import site +import sys + +logger = logging.getLogger(__name__) +_INCLUDE_SYSTEM_SITE_PACKAGES_REGEX = re.compile( + r"include-system-site-packages\s*=\s*(?Ptrue|false)" +) + + +def _running_under_venv() -> bool: + """Checks if sys.base_prefix and sys.prefix match. + + This handles PEP 405 compliant virtual environments. + """ + return sys.prefix != getattr(sys, "base_prefix", sys.prefix) + + +def _running_under_legacy_virtualenv() -> bool: + """Checks if sys.real_prefix is set. + + This handles virtual environments created with pypa's virtualenv. + """ + # pypa/virtualenv case + return hasattr(sys, "real_prefix") + + +def running_under_virtualenv() -> bool: + """True if we're running inside a virtual environment, False otherwise.""" + return _running_under_venv() or _running_under_legacy_virtualenv() + + +def _get_pyvenv_cfg_lines() -> list[str] | None: + """Reads {sys.prefix}/pyvenv.cfg and returns its contents as list of lines + + Returns None, if it could not read/access the file. + """ + pyvenv_cfg_file = os.path.join(sys.prefix, "pyvenv.cfg") + try: + # Although PEP 405 does not specify, the built-in venv module always + # writes with UTF-8. (pypa/pip#8717) + with open(pyvenv_cfg_file, encoding="utf-8") as f: + return f.read().splitlines() # avoids trailing newlines + except OSError: + return None + + +def _no_global_under_venv() -> bool: + """Check `{sys.prefix}/pyvenv.cfg` for system site-packages inclusion + + PEP 405 specifies that when system site-packages are not supposed to be + visible from a virtual environment, `pyvenv.cfg` must contain the following + line: + + include-system-site-packages = false + + Additionally, log a warning if accessing the file fails. + """ + cfg_lines = _get_pyvenv_cfg_lines() + if cfg_lines is None: + # We're not in a "sane" venv, so assume there is no system + # site-packages access (since that's PEP 405's default state). + logger.warning( + "Could not access 'pyvenv.cfg' despite a virtual environment " + "being active. Assuming global site-packages is not accessible " + "in this environment." + ) + return True + + for line in cfg_lines: + match = _INCLUDE_SYSTEM_SITE_PACKAGES_REGEX.match(line) + if match is not None and match.group("value") == "false": + return True + return False + + +def _no_global_under_legacy_virtualenv() -> bool: + """Check if "no-global-site-packages.txt" exists beside site.py + + This mirrors logic in pypa/virtualenv for determining whether system + site-packages are visible in the virtual environment. + """ + site_mod_dir = os.path.dirname(os.path.abspath(site.__file__)) + no_global_site_packages_file = os.path.join( + site_mod_dir, + "no-global-site-packages.txt", + ) + return os.path.exists(no_global_site_packages_file) + + +def virtualenv_no_global() -> bool: + """Returns a boolean, whether running in venv with no system site-packages.""" + # PEP 405 compliance needs to be checked first since virtualenv >=20 would + # return True for both checks, but is only able to use the PEP 405 config. + if _running_under_venv(): + return _no_global_under_venv() + + if _running_under_legacy_virtualenv(): + return _no_global_under_legacy_virtualenv() + + return False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/wheel.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/wheel.py new file mode 100644 index 0000000000000000000000000000000000000000..789e73629afb7f0984a2fe04f7b98d5395e48a11 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/utils/wheel.py @@ -0,0 +1,132 @@ +"""Support functions for working with wheel files.""" + +import logging +from email.message import Message +from email.parser import Parser +from zipfile import BadZipFile, ZipFile + +from pip._vendor.packaging.utils import canonicalize_name + +from pip._internal.exceptions import UnsupportedWheel + +VERSION_COMPATIBLE = (1, 0) + + +logger = logging.getLogger(__name__) + + +def parse_wheel(wheel_zip: ZipFile, name: str) -> tuple[str, Message]: + """Extract information from the provided wheel, ensuring it meets basic + standards. + + Returns the name of the .dist-info directory and the parsed WHEEL metadata. + """ + try: + info_dir = wheel_dist_info_dir(wheel_zip, name) + metadata = wheel_metadata(wheel_zip, info_dir) + version = wheel_version(metadata) + except UnsupportedWheel as e: + raise UnsupportedWheel(f"{name} has an invalid wheel, {e}") + + check_compatibility(version, name) + + return info_dir, metadata + + +def wheel_dist_info_dir(source: ZipFile, name: str) -> str: + """Returns the name of the contained .dist-info directory. + + Raises AssertionError or UnsupportedWheel if not found, >1 found, or + it doesn't match the provided name. + """ + # Zip file path separators must be / + subdirs = {p.split("/", 1)[0] for p in source.namelist()} + + info_dirs = [s for s in subdirs if s.endswith(".dist-info")] + + if not info_dirs: + raise UnsupportedWheel(".dist-info directory not found") + + if len(info_dirs) > 1: + raise UnsupportedWheel( + "multiple .dist-info directories found: {}".format(", ".join(info_dirs)) + ) + + info_dir = info_dirs[0] + + info_dir_name = canonicalize_name(info_dir) + canonical_name = canonicalize_name(name) + if not info_dir_name.startswith(canonical_name): + raise UnsupportedWheel( + f".dist-info directory {info_dir!r} does not start with {canonical_name!r}" + ) + + return info_dir + + +def read_wheel_metadata_file(source: ZipFile, path: str) -> bytes: + try: + return source.read(path) + # BadZipFile for general corruption, KeyError for missing entry, + # and RuntimeError for password-protected files + except (BadZipFile, KeyError, RuntimeError) as e: + raise UnsupportedWheel(f"could not read {path!r} file: {e!r}") + + +def wheel_metadata(source: ZipFile, dist_info_dir: str) -> Message: + """Return the WHEEL metadata of an extracted wheel, if possible. + Otherwise, raise UnsupportedWheel. + """ + path = f"{dist_info_dir}/WHEEL" + # Zip file path separators must be / + wheel_contents = read_wheel_metadata_file(source, path) + + try: + wheel_text = wheel_contents.decode() + except UnicodeDecodeError as e: + raise UnsupportedWheel(f"error decoding {path!r}: {e!r}") + + # FeedParser (used by Parser) does not raise any exceptions. The returned + # message may have .defects populated, but for backwards-compatibility we + # currently ignore them. + return Parser().parsestr(wheel_text) + + +def wheel_version(wheel_data: Message) -> tuple[int, ...]: + """Given WHEEL metadata, return the parsed Wheel-Version. + Otherwise, raise UnsupportedWheel. + """ + version_text = wheel_data["Wheel-Version"] + if version_text is None: + raise UnsupportedWheel("WHEEL is missing Wheel-Version") + + version = version_text.strip() + + try: + return tuple(map(int, version.split("."))) + except ValueError: + raise UnsupportedWheel(f"invalid Wheel-Version: {version!r}") + + +def check_compatibility(version: tuple[int, ...], name: str) -> None: + """Raises errors or warns if called with an incompatible Wheel-Version. + + pip should refuse to install a Wheel-Version that's a major series + ahead of what it's compatible with (e.g 2.0 > 1.1); and warn when + installing a version only minor version ahead (e.g 1.2 > 1.1). + + version: a 2-tuple representing a Wheel-Version (Major, Minor) + name: name of wheel or package to raise exception about + + :raises UnsupportedWheel: when an incompatible Wheel-Version is given + """ + if version[0] > VERSION_COMPATIBLE[0]: + raise UnsupportedWheel( + "{}'s Wheel-Version ({}) is not compatible with this version " + "of pip".format(name, ".".join(map(str, version))) + ) + elif version > VERSION_COMPATIBLE: + logger.warning( + "Installing from a newer Wheel-Version (%s)", + ".".join(map(str, version)), + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..b6beddbe6d24d2949dc89ed07abfebd59d8b63b9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__init__.py @@ -0,0 +1,15 @@ +# Expose a limited set of classes and functions so callers outside of +# the vcs package don't need to import deeper than `pip._internal.vcs`. +# (The test directory may still need to import from a vcs sub-package.) +# Import all vcs modules to register each VCS in the VcsSupport object. +import pip._internal.vcs.bazaar +import pip._internal.vcs.git +import pip._internal.vcs.mercurial +import pip._internal.vcs.subversion # noqa: F401 +from pip._internal.vcs.versioncontrol import ( # noqa: F401 + RemoteNotFoundError, + RemoteNotValidError, + is_url, + make_vcs_requirement_url, + vcs, +) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b61028c58eb23a12648abcb3a3b79fe8cce63c23 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..32f3e97dc8673987ea16925f5463c46635618024 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..179c98224632d6e603a6a857401f1f518491afd7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..efa3fc051b60af0bb8f05e295129e523218721be Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..53f2c4b2ec8046cdeab74d7c204cd7b6f1e4c531 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..80765eb5bafd69d4ea7ee9725fbad67af818fb90 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/bazaar.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/bazaar.py new file mode 100644 index 0000000000000000000000000000000000000000..3a8a21e62518768e3476452c554a8f9d2546f43c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/bazaar.py @@ -0,0 +1,130 @@ +from __future__ import annotations + +import logging + +from pip._internal.utils.misc import HiddenText, display_path +from pip._internal.utils.subprocess import make_command +from pip._internal.utils.urls import path_to_url +from pip._internal.vcs.versioncontrol import ( + AuthInfo, + RemoteNotFoundError, + RevOptions, + VersionControl, + vcs, +) + +logger = logging.getLogger(__name__) + + +class Bazaar(VersionControl): + name = "bzr" + dirname = ".bzr" + repo_name = "branch" + schemes = ( + "bzr+http", + "bzr+https", + "bzr+ssh", + "bzr+sftp", + "bzr+ftp", + "bzr+lp", + "bzr+file", + ) + + @staticmethod + def get_base_rev_args(rev: str) -> list[str]: + return ["-r", rev] + + def fetch_new( + self, dest: str, url: HiddenText, rev_options: RevOptions, verbosity: int + ) -> None: + rev_display = rev_options.to_display() + logger.info( + "Checking out %s%s to %s", + url, + rev_display, + display_path(dest), + ) + if verbosity <= 0: + flags = ["--quiet"] + elif verbosity == 1: + flags = [] + else: + flags = [f"-{'v'*verbosity}"] + cmd_args = make_command( + "checkout", "--lightweight", *flags, rev_options.to_args(), url, dest + ) + self.run_command(cmd_args) + + def switch( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + self.run_command(make_command("switch", url), cwd=dest) + + def update( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + flags = [] + + if verbosity <= 0: + flags.append("-q") + + output = self.run_command( + make_command("info"), show_stdout=False, stdout_only=True, cwd=dest + ) + if output.startswith("Standalone "): + # Older versions of pip used to create standalone branches. + # Convert the standalone branch to a checkout by calling "bzr bind". + cmd_args = make_command("bind", *flags, url) + self.run_command(cmd_args, cwd=dest) + + cmd_args = make_command("update", *flags, rev_options.to_args()) + self.run_command(cmd_args, cwd=dest) + + @classmethod + def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, AuthInfo]: + # hotfix the URL scheme after removing bzr+ from bzr+ssh:// re-add it + url, rev, user_pass = super().get_url_rev_and_auth(url) + if url.startswith("ssh://"): + url = "bzr+" + url + return url, rev, user_pass + + @classmethod + def get_remote_url(cls, location: str) -> str: + urls = cls.run_command( + ["info"], show_stdout=False, stdout_only=True, cwd=location + ) + for line in urls.splitlines(): + line = line.strip() + for x in ("checkout of branch: ", "parent branch: "): + if line.startswith(x): + repo = line.split(x)[1] + if cls._is_local_repository(repo): + return path_to_url(repo) + return repo + raise RemoteNotFoundError + + @classmethod + def get_revision(cls, location: str) -> str: + revision = cls.run_command( + ["revno"], + show_stdout=False, + stdout_only=True, + cwd=location, + ) + return revision.splitlines()[-1] + + @classmethod + def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: + """Always assume the versions don't match""" + return False + + +vcs.register(Bazaar) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/git.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/git.py new file mode 100644 index 0000000000000000000000000000000000000000..1769da791cb6c70eefb841e81df7482823cb21d0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/git.py @@ -0,0 +1,571 @@ +from __future__ import annotations + +import logging +import os.path +import pathlib +import re +import urllib.parse +import urllib.request +from dataclasses import replace +from typing import Any + +from pip._internal.exceptions import BadCommand, InstallationError +from pip._internal.utils.misc import HiddenText, display_path, hide_url +from pip._internal.utils.subprocess import make_command +from pip._internal.vcs.versioncontrol import ( + AuthInfo, + RemoteNotFoundError, + RemoteNotValidError, + RevOptions, + VersionControl, + find_path_to_project_root_from_repo_root, + vcs, +) + +urlsplit = urllib.parse.urlsplit +urlunsplit = urllib.parse.urlunsplit + + +logger = logging.getLogger(__name__) + + +GIT_VERSION_REGEX = re.compile( + r"^git version " # Prefix. + r"(\d+)" # Major. + r"\.(\d+)" # Dot, minor. + r"(?:\.(\d+))?" # Optional dot, patch. + r".*$" # Suffix, including any pre- and post-release segments we don't care about. +) + +HASH_REGEX = re.compile("^[a-fA-F0-9]{40}$") + +# SCP (Secure copy protocol) shorthand. e.g. 'git@example.com:foo/bar.git' +SCP_REGEX = re.compile( + r"""^ + # Optional user, e.g. 'git@' + (\w+@)? + # Server, e.g. 'github.com'. + ([^/:]+): + # The server-side path. e.g. 'user/project.git'. Must start with an + # alphanumeric character so as not to be confusable with a Windows paths + # like 'C:/foo/bar' or 'C:\foo\bar'. + (\w[^:]*) + $""", + re.VERBOSE, +) + + +def looks_like_hash(sha: str) -> bool: + return bool(HASH_REGEX.match(sha)) + + +class Git(VersionControl): + name = "git" + dirname = ".git" + repo_name = "clone" + schemes = ( + "git+http", + "git+https", + "git+ssh", + "git+git", + "git+file", + ) + # Prevent the user's environment variables from interfering with pip: + # https://github.com/pypa/pip/issues/1130 + unset_environ = ("GIT_DIR", "GIT_WORK_TREE") + default_arg_rev = "HEAD" + + @staticmethod + def get_base_rev_args(rev: str) -> list[str]: + return [rev] + + @classmethod + def run_command(cls, *args: Any, **kwargs: Any) -> str: + if os.environ.get("PIP_NO_INPUT"): + extra_environ = kwargs.get("extra_environ", {}) + extra_environ["GIT_TERMINAL_PROMPT"] = "0" + extra_environ["GIT_SSH_COMMAND"] = "ssh -oBatchMode=yes" + kwargs["extra_environ"] = extra_environ + return super().run_command(*args, **kwargs) + + def is_immutable_rev_checkout(self, url: str, dest: str) -> bool: + _, rev_options = self.get_url_rev_options(hide_url(url)) + if not rev_options.rev: + return False + if not self.is_commit_id_equal(dest, rev_options.rev): + # the current commit is different from rev, + # which means rev was something else than a commit hash + return False + # return False in the rare case rev is both a commit hash + # and a tag or a branch; we don't want to cache in that case + # because that branch/tag could point to something else in the future + is_tag_or_branch = bool(self.get_revision_sha(dest, rev_options.rev)[0]) + return not is_tag_or_branch + + def get_git_version(self) -> tuple[int, ...]: + version = self.run_command( + ["version"], + command_desc="git version", + show_stdout=False, + stdout_only=True, + ) + match = GIT_VERSION_REGEX.match(version) + if not match: + logger.warning("Can't parse git version: %s", version) + return () + return (int(match.group(1)), int(match.group(2))) + + @classmethod + def get_current_branch(cls, location: str) -> str | None: + """ + Return the current branch, or None if HEAD isn't at a branch + (e.g. detached HEAD). + """ + # git-symbolic-ref exits with empty stdout if "HEAD" is a detached + # HEAD rather than a symbolic ref. In addition, the -q causes the + # command to exit with status code 1 instead of 128 in this case + # and to suppress the message to stderr. + args = ["symbolic-ref", "-q", "HEAD"] + output = cls.run_command( + args, + extra_ok_returncodes=(1,), + show_stdout=False, + stdout_only=True, + cwd=location, + ) + ref = output.strip() + + if ref.startswith("refs/heads/"): + return ref[len("refs/heads/") :] + + return None + + @classmethod + def get_revision_sha(cls, dest: str, rev: str) -> tuple[str | None, bool]: + """ + Return (sha_or_none, is_branch), where sha_or_none is a commit hash + if the revision names a remote branch or tag, otherwise None. + + Args: + dest: the repository directory. + rev: the revision name. + """ + # Pass rev to pre-filter the list. + output = cls.run_command( + ["show-ref", rev], + cwd=dest, + show_stdout=False, + stdout_only=True, + on_returncode="ignore", + ) + refs = {} + # NOTE: We do not use splitlines here since that would split on other + # unicode separators, which can be maliciously used to install a + # different revision. + for line in output.strip().split("\n"): + line = line.rstrip("\r") + if not line: + continue + try: + ref_sha, ref_name = line.split(" ", maxsplit=2) + except ValueError: + # Include the offending line to simplify troubleshooting if + # this error ever occurs. + raise ValueError(f"unexpected show-ref line: {line!r}") + + refs[ref_name] = ref_sha + + branch_ref = f"refs/remotes/origin/{rev}" + tag_ref = f"refs/tags/{rev}" + + sha = refs.get(branch_ref) + if sha is not None: + return (sha, True) + + sha = refs.get(tag_ref) + + return (sha, False) + + @classmethod + def _should_fetch(cls, dest: str, rev: str) -> bool: + """ + Return true if rev is a ref or is a commit that we don't have locally. + + Branches and tags are not considered in this method because they are + assumed to be always available locally (which is a normal outcome of + ``git clone`` and ``git fetch --tags``). + """ + if rev.startswith("refs/"): + # Always fetch remote refs. + return True + + if not looks_like_hash(rev): + # Git fetch would fail with abbreviated commits. + return False + + if cls.has_commit(dest, rev): + # Don't fetch if we have the commit locally. + return False + + return True + + @classmethod + def resolve_revision( + cls, dest: str, url: HiddenText, rev_options: RevOptions + ) -> RevOptions: + """ + Resolve a revision to a new RevOptions object with the SHA1 of the + branch, tag, or ref if found. + + Args: + rev_options: a RevOptions object. + """ + rev = rev_options.arg_rev + # The arg_rev property's implementation for Git ensures that the + # rev return value is always non-None. + assert rev is not None + + sha, is_branch = cls.get_revision_sha(dest, rev) + + if sha is not None: + rev_options = rev_options.make_new(sha) + rev_options = replace(rev_options, branch_name=(rev if is_branch else None)) + + return rev_options + + # Do not show a warning for the common case of something that has + # the form of a Git commit hash. + if not looks_like_hash(rev): + logger.info( + "Did not find branch or tag '%s', assuming revision or ref.", + rev, + ) + + if not cls._should_fetch(dest, rev): + return rev_options + + # fetch the requested revision + cls.run_command( + make_command("fetch", "-q", url, rev_options.to_args()), + cwd=dest, + ) + # Change the revision to the SHA of the ref we fetched + sha = cls.get_revision(dest, rev="FETCH_HEAD") + rev_options = rev_options.make_new(sha) + + return rev_options + + @classmethod + def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: + """ + Return whether the current commit hash equals the given name. + + Args: + dest: the repository directory. + name: a string name. + """ + if not name: + # Then avoid an unnecessary subprocess call. + return False + + return cls.get_revision(dest) == name + + def fetch_new( + self, dest: str, url: HiddenText, rev_options: RevOptions, verbosity: int + ) -> None: + rev_display = rev_options.to_display() + logger.info("Cloning %s%s to %s", url, rev_display, display_path(dest)) + if verbosity <= 0: + flags: tuple[str, ...] = ("--quiet",) + elif verbosity == 1: + flags = () + else: + flags = ("--verbose", "--progress") + if self.get_git_version() >= (2, 17): + # Git added support for partial clone in 2.17 + # https://git-scm.com/docs/partial-clone + # Speeds up cloning by functioning without a complete copy of repository + self.run_command( + make_command( + "clone", + "--filter=blob:none", + *flags, + url, + dest, + ) + ) + else: + self.run_command(make_command("clone", *flags, url, dest)) + + if rev_options.rev: + # Then a specific revision was requested. + rev_options = self.resolve_revision(dest, url, rev_options) + branch_name = getattr(rev_options, "branch_name", None) + logger.debug("Rev options %s, branch_name %s", rev_options, branch_name) + if branch_name is None: + # Only do a checkout if the current commit id doesn't match + # the requested revision. + if not self.is_commit_id_equal(dest, rev_options.rev): + cmd_args = make_command( + "checkout", + "-q", + rev_options.to_args(), + ) + self.run_command(cmd_args, cwd=dest) + elif self.get_current_branch(dest) != branch_name: + # Then a specific branch was requested, and that branch + # is not yet checked out. + track_branch = f"origin/{branch_name}" + cmd_args = [ + "checkout", + "-b", + branch_name, + "--track", + track_branch, + ] + self.run_command(cmd_args, cwd=dest) + else: + sha = self.get_revision(dest) + rev_options = rev_options.make_new(sha) + + logger.info("Resolved %s to commit %s", url, rev_options.rev) + + #: repo may contain submodules + self.update_submodules(dest, verbosity=verbosity) + + def switch( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + self.run_command( + make_command("config", "remote.origin.url", url), + cwd=dest, + ) + + extra_flags = [] + + if verbosity <= 0: + extra_flags.append("-q") + + cmd_args = make_command("checkout", *extra_flags, rev_options.to_args()) + self.run_command(cmd_args, cwd=dest) + + self.update_submodules(dest, verbosity=verbosity) + + def update( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + extra_flags = [] + + if verbosity <= 0: + extra_flags.append("-q") + + # First fetch changes from the default remote + if self.get_git_version() >= (1, 9): + # fetch tags in addition to everything else + self.run_command(["fetch", "--tags", *extra_flags], cwd=dest) + else: + self.run_command(["fetch", *extra_flags], cwd=dest) + # Then reset to wanted revision (maybe even origin/master) + rev_options = self.resolve_revision(dest, url, rev_options) + cmd_args = make_command( + "reset", + "--hard", + *extra_flags, + rev_options.to_args(), + ) + self.run_command(cmd_args, cwd=dest) + #: update submodules + self.update_submodules(dest, verbosity=verbosity) + + @classmethod + def get_remote_url(cls, location: str) -> str: + """ + Return URL of the first remote encountered. + + Raises RemoteNotFoundError if the repository does not have a remote + url configured. + """ + # We need to pass 1 for extra_ok_returncodes since the command + # exits with return code 1 if there are no matching lines. + stdout = cls.run_command( + ["config", "--get-regexp", r"remote\..*\.url"], + extra_ok_returncodes=(1,), + show_stdout=False, + stdout_only=True, + cwd=location, + ) + remotes = stdout.splitlines() + try: + found_remote = remotes[0] + except IndexError: + raise RemoteNotFoundError + + for remote in remotes: + if remote.startswith("remote.origin.url "): + found_remote = remote + break + url = found_remote.split(" ")[1] + return cls._git_remote_to_pip_url(url.strip()) + + @staticmethod + def _git_remote_to_pip_url(url: str) -> str: + """ + Convert a remote url from what git uses to what pip accepts. + + There are 3 legal forms **url** may take: + + 1. A fully qualified url: ssh://git@example.com/foo/bar.git + 2. A local project.git folder: /path/to/bare/repository.git + 3. SCP shorthand for form 1: git@example.com:foo/bar.git + + Form 1 is output as-is. Form 2 must be converted to URI and form 3 must + be converted to form 1. + + See the corresponding test test_git_remote_url_to_pip() for examples of + sample inputs/outputs. + """ + if re.match(r"\w+://", url): + # This is already valid. Pass it though as-is. + return url + if os.path.exists(url): + # A local bare remote (git clone --mirror). + # Needs a file:// prefix. + return pathlib.PurePath(url).as_uri() + scp_match = SCP_REGEX.match(url) + if scp_match: + # Add an ssh:// prefix and replace the ':' with a '/'. + return scp_match.expand(r"ssh://\1\2/\3") + # Otherwise, bail out. + raise RemoteNotValidError(url) + + @classmethod + def has_commit(cls, location: str, rev: str) -> bool: + """ + Check if rev is a commit that is available in the local repository. + """ + try: + cls.run_command( + ["rev-parse", "-q", "--verify", "sha^" + rev], + cwd=location, + log_failed_cmd=False, + ) + except InstallationError: + return False + else: + return True + + @classmethod + def get_revision(cls, location: str, rev: str | None = None) -> str: + if rev is None: + rev = "HEAD" + current_rev = cls.run_command( + ["rev-parse", rev], + show_stdout=False, + stdout_only=True, + cwd=location, + ) + return current_rev.strip() + + @classmethod + def get_subdirectory(cls, location: str) -> str | None: + """ + Return the path to Python project root, relative to the repo root. + Return None if the project root is in the repo root. + """ + # find the repo root + git_dir = cls.run_command( + ["rev-parse", "--git-dir"], + show_stdout=False, + stdout_only=True, + cwd=location, + ).strip() + if not os.path.isabs(git_dir): + git_dir = os.path.join(location, git_dir) + repo_root = os.path.abspath(os.path.join(git_dir, "..")) + return find_path_to_project_root_from_repo_root(location, repo_root) + + @classmethod + def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, AuthInfo]: + """ + Prefixes stub URLs like 'user@hostname:user/repo.git' with 'ssh://'. + That's required because although they use SSH they sometimes don't + work with a ssh:// scheme (e.g. GitHub). But we need a scheme for + parsing. Hence we remove it again afterwards and return it as a stub. + """ + # Works around an apparent Git bug + # (see https://article.gmane.org/gmane.comp.version-control.git/146500) + scheme, netloc, path, query, fragment = urlsplit(url) + if scheme.endswith("file"): + initial_slashes = path[: -len(path.lstrip("/"))] + newpath = initial_slashes + urllib.request.url2pathname(path).replace( + "\\", "/" + ).lstrip("/") + after_plus = scheme.find("+") + 1 + url = scheme[:after_plus] + urlunsplit( + (scheme[after_plus:], netloc, newpath, query, fragment), + ) + + if "://" not in url: + assert "file:" not in url + url = url.replace("git+", "git+ssh://") + url, rev, user_pass = super().get_url_rev_and_auth(url) + url = url.replace("ssh://", "") + else: + url, rev, user_pass = super().get_url_rev_and_auth(url) + + return url, rev, user_pass + + @classmethod + def update_submodules(cls, location: str, verbosity: int = 0) -> None: + argv = ["submodule", "update", "--init", "--recursive"] + + if verbosity <= 0: + argv.append("-q") + + if not os.path.exists(os.path.join(location, ".gitmodules")): + return + cls.run_command( + argv, + cwd=location, + ) + + @classmethod + def get_repository_root(cls, location: str) -> str | None: + loc = super().get_repository_root(location) + if loc: + return loc + try: + r = cls.run_command( + ["rev-parse", "--show-toplevel"], + cwd=location, + show_stdout=False, + stdout_only=True, + on_returncode="raise", + log_failed_cmd=False, + ) + except BadCommand: + logger.debug( + "could not determine if %s is under git control " + "because git is not available", + location, + ) + return None + except InstallationError: + return None + return os.path.normpath(r.rstrip("\r\n")) + + @staticmethod + def should_add_vcs_url_prefix(repo_url: str) -> bool: + """In either https or ssh form, requirements must be prefixed with git+.""" + return True + + +vcs.register(Git) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py new file mode 100644 index 0000000000000000000000000000000000000000..c875803164ee5fe220be7ab4486ef1c66427cebd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py @@ -0,0 +1,186 @@ +from __future__ import annotations + +import configparser +import logging +import os + +from pip._internal.exceptions import BadCommand, InstallationError +from pip._internal.utils.misc import HiddenText, display_path +from pip._internal.utils.subprocess import make_command +from pip._internal.utils.urls import path_to_url +from pip._internal.vcs.versioncontrol import ( + RevOptions, + VersionControl, + find_path_to_project_root_from_repo_root, + vcs, +) + +logger = logging.getLogger(__name__) + + +class Mercurial(VersionControl): + name = "hg" + dirname = ".hg" + repo_name = "clone" + schemes = ( + "hg+file", + "hg+http", + "hg+https", + "hg+ssh", + "hg+static-http", + ) + + @staticmethod + def get_base_rev_args(rev: str) -> list[str]: + return [f"--rev={rev}"] + + def fetch_new( + self, dest: str, url: HiddenText, rev_options: RevOptions, verbosity: int + ) -> None: + rev_display = rev_options.to_display() + logger.info( + "Cloning hg %s%s to %s", + url, + rev_display, + display_path(dest), + ) + if verbosity <= 0: + flags: tuple[str, ...] = ("--quiet",) + elif verbosity == 1: + flags = () + elif verbosity == 2: + flags = ("--verbose",) + else: + flags = ("--verbose", "--debug") + self.run_command(make_command("clone", "--noupdate", *flags, url, dest)) + self.run_command( + make_command("update", *flags, rev_options.to_args()), + cwd=dest, + ) + + def switch( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + extra_flags = [] + repo_config = os.path.join(dest, self.dirname, "hgrc") + config = configparser.RawConfigParser() + + if verbosity <= 0: + extra_flags.append("-q") + + try: + config.read(repo_config) + config.set("paths", "default", url.secret) + with open(repo_config, "w") as config_file: + config.write(config_file) + except (OSError, configparser.NoSectionError) as exc: + logger.warning("Could not switch Mercurial repository to %s: %s", url, exc) + else: + cmd_args = make_command("update", *extra_flags, rev_options.to_args()) + self.run_command(cmd_args, cwd=dest) + + def update( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + extra_flags = [] + + if verbosity <= 0: + extra_flags.append("-q") + + self.run_command(["pull", *extra_flags], cwd=dest) + cmd_args = make_command("update", *extra_flags, rev_options.to_args()) + self.run_command(cmd_args, cwd=dest) + + @classmethod + def get_remote_url(cls, location: str) -> str: + url = cls.run_command( + ["showconfig", "paths.default"], + show_stdout=False, + stdout_only=True, + cwd=location, + ).strip() + if cls._is_local_repository(url): + url = path_to_url(url) + return url.strip() + + @classmethod + def get_revision(cls, location: str) -> str: + """ + Return the repository-local changeset revision number, as an integer. + """ + current_revision = cls.run_command( + ["parents", "--template={rev}"], + show_stdout=False, + stdout_only=True, + cwd=location, + ).strip() + return current_revision + + @classmethod + def get_requirement_revision(cls, location: str) -> str: + """ + Return the changeset identification hash, as a 40-character + hexadecimal string + """ + current_rev_hash = cls.run_command( + ["parents", "--template={node}"], + show_stdout=False, + stdout_only=True, + cwd=location, + ).strip() + return current_rev_hash + + @classmethod + def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: + """Always assume the versions don't match""" + return False + + @classmethod + def get_subdirectory(cls, location: str) -> str | None: + """ + Return the path to Python project root, relative to the repo root. + Return None if the project root is in the repo root. + """ + # find the repo root + repo_root = cls.run_command( + ["root"], show_stdout=False, stdout_only=True, cwd=location + ).strip() + if not os.path.isabs(repo_root): + repo_root = os.path.abspath(os.path.join(location, repo_root)) + return find_path_to_project_root_from_repo_root(location, repo_root) + + @classmethod + def get_repository_root(cls, location: str) -> str | None: + loc = super().get_repository_root(location) + if loc: + return loc + try: + r = cls.run_command( + ["root"], + cwd=location, + show_stdout=False, + stdout_only=True, + on_returncode="raise", + log_failed_cmd=False, + ) + except BadCommand: + logger.debug( + "could not determine if %s is under hg control " + "because hg is not available", + location, + ) + return None + except InstallationError: + return None + return os.path.normpath(r.rstrip("\r\n")) + + +vcs.register(Mercurial) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/subversion.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/subversion.py new file mode 100644 index 0000000000000000000000000000000000000000..579f428c8ca63a99949f659ceb664dda4b881f32 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/subversion.py @@ -0,0 +1,335 @@ +from __future__ import annotations + +import logging +import os +import re + +from pip._internal.utils.misc import ( + HiddenText, + display_path, + is_console_interactive, + is_installable_dir, + split_auth_from_netloc, +) +from pip._internal.utils.subprocess import CommandArgs, make_command +from pip._internal.vcs.versioncontrol import ( + AuthInfo, + RemoteNotFoundError, + RevOptions, + VersionControl, + vcs, +) + +logger = logging.getLogger(__name__) + +_svn_xml_url_re = re.compile('url="([^"]+)"') +_svn_rev_re = re.compile(r'committed-rev="(\d+)"') +_svn_info_xml_rev_re = re.compile(r'\s*revision="(\d+)"') +_svn_info_xml_url_re = re.compile(r"(.*)") + + +class Subversion(VersionControl): + name = "svn" + dirname = ".svn" + repo_name = "checkout" + schemes = ("svn+ssh", "svn+http", "svn+https", "svn+svn", "svn+file") + + @classmethod + def should_add_vcs_url_prefix(cls, remote_url: str) -> bool: + return True + + @staticmethod + def get_base_rev_args(rev: str) -> list[str]: + return ["-r", rev] + + @classmethod + def get_revision(cls, location: str) -> str: + """ + Return the maximum revision for all files under a given location + """ + # Note: taken from setuptools.command.egg_info + revision = 0 + + for base, dirs, _ in os.walk(location): + if cls.dirname not in dirs: + dirs[:] = [] + continue # no sense walking uncontrolled subdirs + dirs.remove(cls.dirname) + entries_fn = os.path.join(base, cls.dirname, "entries") + if not os.path.exists(entries_fn): + # FIXME: should we warn? + continue + + dirurl, localrev = cls._get_svn_url_rev(base) + + if base == location: + assert dirurl is not None + base = dirurl + "/" # save the root url + elif not dirurl or not dirurl.startswith(base): + dirs[:] = [] + continue # not part of the same svn tree, skip it + revision = max(revision, localrev) + return str(revision) + + @classmethod + def get_netloc_and_auth( + cls, netloc: str, scheme: str + ) -> tuple[str, tuple[str | None, str | None]]: + """ + This override allows the auth information to be passed to svn via the + --username and --password options instead of via the URL. + """ + if scheme == "ssh": + # The --username and --password options can't be used for + # svn+ssh URLs, so keep the auth information in the URL. + return super().get_netloc_and_auth(netloc, scheme) + + return split_auth_from_netloc(netloc) + + @classmethod + def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, AuthInfo]: + # hotfix the URL scheme after removing svn+ from svn+ssh:// re-add it + url, rev, user_pass = super().get_url_rev_and_auth(url) + if url.startswith("ssh://"): + url = "svn+" + url + return url, rev, user_pass + + @staticmethod + def make_rev_args(username: str | None, password: HiddenText | None) -> CommandArgs: + extra_args: CommandArgs = [] + if username: + extra_args += ["--username", username] + if password: + extra_args += ["--password", password] + + return extra_args + + @classmethod + def get_remote_url(cls, location: str) -> str: + # In cases where the source is in a subdirectory, we have to look up in + # the location until we find a valid project root. + orig_location = location + while not is_installable_dir(location): + last_location = location + location = os.path.dirname(location) + if location == last_location: + # We've traversed up to the root of the filesystem without + # finding a Python project. + logger.warning( + "Could not find Python project for directory %s (tried all " + "parent directories)", + orig_location, + ) + raise RemoteNotFoundError + + url, _rev = cls._get_svn_url_rev(location) + if url is None: + raise RemoteNotFoundError + + return url + + @classmethod + def _get_svn_url_rev(cls, location: str) -> tuple[str | None, int]: + from pip._internal.exceptions import InstallationError + + entries_path = os.path.join(location, cls.dirname, "entries") + if os.path.exists(entries_path): + with open(entries_path) as f: + data = f.read() + else: # subversion >= 1.7 does not have the 'entries' file + data = "" + + url = None + if data.startswith(("8", "9", "10")): + entries = list(map(str.splitlines, data.split("\n\x0c\n"))) + del entries[0][0] # get rid of the '8' + url = entries[0][3] + revs = [int(d[9]) for d in entries if len(d) > 9 and d[9]] + [0] + elif data.startswith("= 1.7 + # Note that using get_remote_call_options is not necessary here + # because `svn info` is being run against a local directory. + # We don't need to worry about making sure interactive mode + # is being used to prompt for passwords, because passwords + # are only potentially needed for remote server requests. + xml = cls.run_command( + ["info", "--xml", location], + show_stdout=False, + stdout_only=True, + ) + match = _svn_info_xml_url_re.search(xml) + assert match is not None + url = match.group(1) + revs = [int(m.group(1)) for m in _svn_info_xml_rev_re.finditer(xml)] + except InstallationError: + url, revs = None, [] + + if revs: + rev = max(revs) + else: + rev = 0 + + return url, rev + + @classmethod + def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: + """Always assume the versions don't match""" + return False + + def __init__(self, use_interactive: bool | None = None) -> None: + if use_interactive is None: + use_interactive = is_console_interactive() + self.use_interactive = use_interactive + + # This member is used to cache the fetched version of the current + # ``svn`` client. + # Special value definitions: + # None: Not evaluated yet. + # Empty tuple: Could not parse version. + self._vcs_version: tuple[int, ...] | None = None + + super().__init__() + + def call_vcs_version(self) -> tuple[int, ...]: + """Query the version of the currently installed Subversion client. + + :return: A tuple containing the parts of the version information or + ``()`` if the version returned from ``svn`` could not be parsed. + :raises: BadCommand: If ``svn`` is not installed. + """ + # Example versions: + # svn, version 1.10.3 (r1842928) + # compiled Feb 25 2019, 14:20:39 on x86_64-apple-darwin17.0.0 + # svn, version 1.7.14 (r1542130) + # compiled Mar 28 2018, 08:49:13 on x86_64-pc-linux-gnu + # svn, version 1.12.0-SlikSvn (SlikSvn/1.12.0) + # compiled May 28 2019, 13:44:56 on x86_64-microsoft-windows6.2 + version_prefix = "svn, version " + version = self.run_command(["--version"], show_stdout=False, stdout_only=True) + if not version.startswith(version_prefix): + return () + + version = version[len(version_prefix) :].split()[0] + version_list = version.partition("-")[0].split(".") + try: + parsed_version = tuple(map(int, version_list)) + except ValueError: + return () + + return parsed_version + + def get_vcs_version(self) -> tuple[int, ...]: + """Return the version of the currently installed Subversion client. + + If the version of the Subversion client has already been queried, + a cached value will be used. + + :return: A tuple containing the parts of the version information or + ``()`` if the version returned from ``svn`` could not be parsed. + :raises: BadCommand: If ``svn`` is not installed. + """ + if self._vcs_version is not None: + # Use cached version, if available. + # If parsing the version failed previously (empty tuple), + # do not attempt to parse it again. + return self._vcs_version + + vcs_version = self.call_vcs_version() + self._vcs_version = vcs_version + return vcs_version + + def get_remote_call_options(self) -> CommandArgs: + """Return options to be used on calls to Subversion that contact the server. + + These options are applicable for the following ``svn`` subcommands used + in this class. + + - checkout + - switch + - update + + :return: A list of command line arguments to pass to ``svn``. + """ + if not self.use_interactive: + # --non-interactive switch is available since Subversion 0.14.4. + # Subversion < 1.8 runs in interactive mode by default. + return ["--non-interactive"] + + svn_version = self.get_vcs_version() + # By default, Subversion >= 1.8 runs in non-interactive mode if + # stdin is not a TTY. Since that is how pip invokes SVN, in + # call_subprocess(), pip must pass --force-interactive to ensure + # the user can be prompted for a password, if required. + # SVN added the --force-interactive option in SVN 1.8. Since + # e.g. RHEL/CentOS 7, which is supported until 2024, ships with + # SVN 1.7, pip should continue to support SVN 1.7. Therefore, pip + # can't safely add the option if the SVN version is < 1.8 (or unknown). + if svn_version >= (1, 8): + return ["--force-interactive"] + + return [] + + def fetch_new( + self, dest: str, url: HiddenText, rev_options: RevOptions, verbosity: int + ) -> None: + rev_display = rev_options.to_display() + logger.info( + "Checking out %s%s to %s", + url, + rev_display, + display_path(dest), + ) + if verbosity <= 0: + flags = ["--quiet"] + else: + flags = [] + cmd_args = make_command( + "checkout", + *flags, + self.get_remote_call_options(), + rev_options.to_args(), + url, + dest, + ) + self.run_command(cmd_args) + + def switch( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + cmd_args = make_command( + "switch", + self.get_remote_call_options(), + rev_options.to_args(), + url, + dest, + ) + self.run_command(cmd_args) + + def update( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + cmd_args = make_command( + "update", + self.get_remote_call_options(), + rev_options.to_args(), + dest, + ) + self.run_command(cmd_args) + + +vcs.register(Subversion) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/versioncontrol.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/versioncontrol.py new file mode 100644 index 0000000000000000000000000000000000000000..4e91ccd4c4cb93d968ff7b05c20680a4cc0d4434 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/vcs/versioncontrol.py @@ -0,0 +1,693 @@ +"""Handles all VCS (version control) support""" + +from __future__ import annotations + +import logging +import os +import shutil +import sys +import urllib.parse +from collections.abc import Iterable, Iterator, Mapping +from dataclasses import dataclass, field +from typing import ( + Any, + Literal, + Optional, +) + +from pip._internal.cli.spinners import SpinnerInterface +from pip._internal.exceptions import BadCommand, InstallationError +from pip._internal.utils.misc import ( + HiddenText, + ask_path_exists, + backup_dir, + display_path, + hide_url, + hide_value, + is_installable_dir, + rmtree, +) +from pip._internal.utils.subprocess import ( + CommandArgs, + call_subprocess, + format_command_args, + make_command, +) + +__all__ = ["vcs"] + + +logger = logging.getLogger(__name__) + +AuthInfo = tuple[Optional[str], Optional[str]] + + +def is_url(name: str) -> bool: + """ + Return true if the name looks like a URL. + """ + scheme = urllib.parse.urlsplit(name).scheme + if not scheme: + return False + return scheme in ["http", "https", "file", "ftp"] + vcs.all_schemes + + +def make_vcs_requirement_url( + repo_url: str, rev: str, project_name: str, subdir: str | None = None +) -> str: + """ + Return the URL for a VCS requirement. + + Args: + repo_url: the remote VCS url, with any needed VCS prefix (e.g. "git+"). + project_name: the (unescaped) project name. + """ + egg_project_name = project_name.replace("-", "_") + req = f"{repo_url}@{rev}#egg={egg_project_name}" + if subdir: + req += f"&subdirectory={subdir}" + + return req + + +def find_path_to_project_root_from_repo_root( + location: str, repo_root: str +) -> str | None: + """ + Find the the Python project's root by searching up the filesystem from + `location`. Return the path to project root relative to `repo_root`. + Return None if the project root is `repo_root`, or cannot be found. + """ + # find project root. + orig_location = location + while not is_installable_dir(location): + last_location = location + location = os.path.dirname(location) + if location == last_location: + # We've traversed up to the root of the filesystem without + # finding a Python project. + logger.warning( + "Could not find a Python project for directory %s (tried all " + "parent directories)", + orig_location, + ) + return None + + if os.path.samefile(repo_root, location): + return None + + return os.path.relpath(location, repo_root) + + +class RemoteNotFoundError(Exception): + pass + + +class RemoteNotValidError(Exception): + def __init__(self, url: str): + super().__init__(url) + self.url = url + + +@dataclass(frozen=True) +class RevOptions: + """ + Encapsulates a VCS-specific revision to install, along with any VCS + install options. + + Args: + vc_class: a VersionControl subclass. + rev: the name of the revision to install. + extra_args: a list of extra options. + """ + + vc_class: type[VersionControl] + rev: str | None = None + extra_args: CommandArgs = field(default_factory=list) + branch_name: str | None = None + + def __repr__(self) -> str: + return f"" + + @property + def arg_rev(self) -> str | None: + if self.rev is None: + return self.vc_class.default_arg_rev + + return self.rev + + def to_args(self) -> CommandArgs: + """ + Return the VCS-specific command arguments. + """ + args: CommandArgs = [] + rev = self.arg_rev + if rev is not None: + args += self.vc_class.get_base_rev_args(rev) + args += self.extra_args + + return args + + def to_display(self) -> str: + if not self.rev: + return "" + + return f" (to revision {self.rev})" + + def make_new(self, rev: str) -> RevOptions: + """ + Make a copy of the current instance, but with a new rev. + + Args: + rev: the name of the revision for the new object. + """ + return self.vc_class.make_rev_options(rev, extra_args=self.extra_args) + + +class VcsSupport: + _registry: dict[str, VersionControl] = {} + schemes = ["ssh", "git", "hg", "bzr", "sftp", "svn"] + + def __init__(self) -> None: + # Register more schemes with urlparse for various version control + # systems + urllib.parse.uses_netloc.extend(self.schemes) + super().__init__() + + def __iter__(self) -> Iterator[str]: + return self._registry.__iter__() + + @property + def backends(self) -> list[VersionControl]: + return list(self._registry.values()) + + @property + def dirnames(self) -> list[str]: + return [backend.dirname for backend in self.backends] + + @property + def all_schemes(self) -> list[str]: + schemes: list[str] = [] + for backend in self.backends: + schemes.extend(backend.schemes) + return schemes + + def register(self, cls: type[VersionControl]) -> None: + if not hasattr(cls, "name"): + logger.warning("Cannot register VCS %s", cls.__name__) + return + if cls.name not in self._registry: + self._registry[cls.name] = cls() + logger.debug("Registered VCS backend: %s", cls.name) + + def unregister(self, name: str) -> None: + if name in self._registry: + del self._registry[name] + + def get_backend_for_dir(self, location: str) -> VersionControl | None: + """ + Return a VersionControl object if a repository of that type is found + at the given directory. + """ + vcs_backends = {} + for vcs_backend in self._registry.values(): + repo_path = vcs_backend.get_repository_root(location) + if not repo_path: + continue + logger.debug("Determine that %s uses VCS: %s", location, vcs_backend.name) + vcs_backends[repo_path] = vcs_backend + + if not vcs_backends: + return None + + # Choose the VCS in the inner-most directory. Since all repository + # roots found here would be either `location` or one of its + # parents, the longest path should have the most path components, + # i.e. the backend representing the inner-most repository. + inner_most_repo_path = max(vcs_backends, key=len) + return vcs_backends[inner_most_repo_path] + + def get_backend_for_scheme(self, scheme: str) -> VersionControl | None: + """ + Return a VersionControl object or None. + """ + for vcs_backend in self._registry.values(): + if scheme in vcs_backend.schemes: + return vcs_backend + return None + + def get_backend(self, name: str) -> VersionControl | None: + """ + Return a VersionControl object or None. + """ + name = name.lower() + return self._registry.get(name) + + +vcs = VcsSupport() + + +class VersionControl: + name = "" + dirname = "" + repo_name = "" + # List of supported schemes for this Version Control + schemes: tuple[str, ...] = () + # Iterable of environment variable names to pass to call_subprocess(). + unset_environ: tuple[str, ...] = () + default_arg_rev: str | None = None + + @classmethod + def should_add_vcs_url_prefix(cls, remote_url: str) -> bool: + """ + Return whether the vcs prefix (e.g. "git+") should be added to a + repository's remote url when used in a requirement. + """ + return not remote_url.lower().startswith(f"{cls.name}:") + + @classmethod + def get_subdirectory(cls, location: str) -> str | None: + """ + Return the path to Python project root, relative to the repo root. + Return None if the project root is in the repo root. + """ + return None + + @classmethod + def get_requirement_revision(cls, repo_dir: str) -> str: + """ + Return the revision string that should be used in a requirement. + """ + return cls.get_revision(repo_dir) + + @classmethod + def get_src_requirement(cls, repo_dir: str, project_name: str) -> str: + """ + Return the requirement string to use to redownload the files + currently at the given repository directory. + + Args: + project_name: the (unescaped) project name. + + The return value has a form similar to the following: + + {repository_url}@{revision}#egg={project_name} + """ + repo_url = cls.get_remote_url(repo_dir) + + if cls.should_add_vcs_url_prefix(repo_url): + repo_url = f"{cls.name}+{repo_url}" + + revision = cls.get_requirement_revision(repo_dir) + subdir = cls.get_subdirectory(repo_dir) + req = make_vcs_requirement_url(repo_url, revision, project_name, subdir=subdir) + + return req + + @staticmethod + def get_base_rev_args(rev: str) -> list[str]: + """ + Return the base revision arguments for a vcs command. + + Args: + rev: the name of a revision to install. Cannot be None. + """ + raise NotImplementedError + + def is_immutable_rev_checkout(self, url: str, dest: str) -> bool: + """ + Return true if the commit hash checked out at dest matches + the revision in url. + + Always return False, if the VCS does not support immutable commit + hashes. + + This method does not check if there are local uncommitted changes + in dest after checkout, as pip currently has no use case for that. + """ + return False + + @classmethod + def make_rev_options( + cls, rev: str | None = None, extra_args: CommandArgs | None = None + ) -> RevOptions: + """ + Return a RevOptions object. + + Args: + rev: the name of a revision to install. + extra_args: a list of extra options. + """ + return RevOptions(cls, rev, extra_args=extra_args or []) + + @classmethod + def _is_local_repository(cls, repo: str) -> bool: + """ + posix absolute paths start with os.path.sep, + win32 ones start with drive (like c:\\folder) + """ + drive, tail = os.path.splitdrive(repo) + return repo.startswith(os.path.sep) or bool(drive) + + @classmethod + def get_netloc_and_auth( + cls, netloc: str, scheme: str + ) -> tuple[str, tuple[str | None, str | None]]: + """ + Parse the repository URL's netloc, and return the new netloc to use + along with auth information. + + Args: + netloc: the original repository URL netloc. + scheme: the repository URL's scheme without the vcs prefix. + + This is mainly for the Subversion class to override, so that auth + information can be provided via the --username and --password options + instead of through the URL. For other subclasses like Git without + such an option, auth information must stay in the URL. + + Returns: (netloc, (username, password)). + """ + return netloc, (None, None) + + @classmethod + def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, AuthInfo]: + """ + Parse the repository URL to use, and return the URL, revision, + and auth info to use. + + Returns: (url, rev, (username, password)). + """ + scheme, netloc, path, query, frag = urllib.parse.urlsplit(url) + if "+" not in scheme: + raise ValueError( + f"Sorry, {url!r} is a malformed VCS url. " + "The format is +://, " + "e.g. svn+http://myrepo/svn/MyApp#egg=MyApp" + ) + # Remove the vcs prefix. + scheme = scheme.split("+", 1)[1] + netloc, user_pass = cls.get_netloc_and_auth(netloc, scheme) + rev = None + if "@" in path: + path, rev = path.rsplit("@", 1) + if not rev: + raise InstallationError( + f"The URL {url!r} has an empty revision (after @) " + "which is not supported. Include a revision after @ " + "or remove @ from the URL." + ) + url = urllib.parse.urlunsplit((scheme, netloc, path, query, "")) + return url, rev, user_pass + + @staticmethod + def make_rev_args(username: str | None, password: HiddenText | None) -> CommandArgs: + """ + Return the RevOptions "extra arguments" to use in obtain(). + """ + return [] + + def get_url_rev_options(self, url: HiddenText) -> tuple[HiddenText, RevOptions]: + """ + Return the URL and RevOptions object to use in obtain(), + as a tuple (url, rev_options). + """ + secret_url, rev, user_pass = self.get_url_rev_and_auth(url.secret) + username, secret_password = user_pass + password: HiddenText | None = None + if secret_password is not None: + password = hide_value(secret_password) + extra_args = self.make_rev_args(username, password) + rev_options = self.make_rev_options(rev, extra_args=extra_args) + + return hide_url(secret_url), rev_options + + @staticmethod + def normalize_url(url: str) -> str: + """ + Normalize a URL for comparison by unquoting it and removing any + trailing slash. + """ + return urllib.parse.unquote(url).rstrip("/") + + @classmethod + def compare_urls(cls, url1: str, url2: str) -> bool: + """ + Compare two repo URLs for identity, ignoring incidental differences. + """ + return cls.normalize_url(url1) == cls.normalize_url(url2) + + def fetch_new( + self, dest: str, url: HiddenText, rev_options: RevOptions, verbosity: int + ) -> None: + """ + Fetch a revision from a repository, in the case that this is the + first fetch from the repository. + + Args: + dest: the directory to fetch the repository to. + rev_options: a RevOptions object. + verbosity: verbosity level. + """ + raise NotImplementedError + + def switch( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + """ + Switch the repo at ``dest`` to point to ``URL``. + + Args: + rev_options: a RevOptions object. + """ + raise NotImplementedError + + def update( + self, + dest: str, + url: HiddenText, + rev_options: RevOptions, + verbosity: int = 0, + ) -> None: + """ + Update an already-existing repo to the given ``rev_options``. + + Args: + rev_options: a RevOptions object. + """ + raise NotImplementedError + + @classmethod + def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: + """ + Return whether the id of the current commit equals the given name. + + Args: + dest: the repository directory. + name: a string name. + """ + raise NotImplementedError + + def obtain(self, dest: str, url: HiddenText, verbosity: int) -> None: + """ + Install or update in editable mode the package represented by this + VersionControl object. + + :param dest: the repository directory in which to install or update. + :param url: the repository URL starting with a vcs prefix. + :param verbosity: verbosity level. + """ + url, rev_options = self.get_url_rev_options(url) + + if not os.path.exists(dest): + self.fetch_new(dest, url, rev_options, verbosity=verbosity) + return + + rev_display = rev_options.to_display() + if self.is_repository_directory(dest): + existing_url = self.get_remote_url(dest) + if self.compare_urls(existing_url, url.secret): + logger.debug( + "%s in %s exists, and has correct URL (%s)", + self.repo_name.title(), + display_path(dest), + url, + ) + if not self.is_commit_id_equal(dest, rev_options.rev): + logger.info( + "Updating %s %s%s", + display_path(dest), + self.repo_name, + rev_display, + ) + self.update(dest, url, rev_options, verbosity=verbosity) + else: + logger.info("Skipping because already up-to-date.") + return + + logger.warning( + "%s %s in %s exists with URL %s", + self.name, + self.repo_name, + display_path(dest), + existing_url, + ) + prompt = ("(s)witch, (i)gnore, (w)ipe, (b)ackup ", ("s", "i", "w", "b")) + else: + logger.warning( + "Directory %s already exists, and is not a %s %s.", + dest, + self.name, + self.repo_name, + ) + # https://github.com/python/mypy/issues/1174 + prompt = ("(i)gnore, (w)ipe, (b)ackup ", ("i", "w", "b")) # type: ignore + + logger.warning( + "The plan is to install the %s repository %s", + self.name, + url, + ) + response = ask_path_exists(f"What to do? {prompt[0]}", prompt[1]) + + if response == "a": + sys.exit(-1) + + if response == "w": + logger.warning("Deleting %s", display_path(dest)) + rmtree(dest) + self.fetch_new(dest, url, rev_options, verbosity=verbosity) + return + + if response == "b": + dest_dir = backup_dir(dest) + logger.warning("Backing up %s to %s", display_path(dest), dest_dir) + shutil.move(dest, dest_dir) + self.fetch_new(dest, url, rev_options, verbosity=verbosity) + return + + # Do nothing if the response is "i". + if response == "s": + logger.info( + "Switching %s %s to %s%s", + self.repo_name, + display_path(dest), + url, + rev_display, + ) + self.switch(dest, url, rev_options, verbosity=verbosity) + + def unpack(self, location: str, url: HiddenText, verbosity: int) -> None: + """ + Clean up current location and download the url repository + (and vcs infos) into location + + :param url: the repository URL starting with a vcs prefix. + :param verbosity: verbosity level. + """ + if os.path.exists(location): + rmtree(location) + self.obtain(location, url=url, verbosity=verbosity) + + @classmethod + def get_remote_url(cls, location: str) -> str: + """ + Return the url used at location + + Raises RemoteNotFoundError if the repository does not have a remote + url configured. + """ + raise NotImplementedError + + @classmethod + def get_revision(cls, location: str) -> str: + """ + Return the current commit id of the files at the given location. + """ + raise NotImplementedError + + @classmethod + def run_command( + cls, + cmd: list[str] | CommandArgs, + show_stdout: bool = True, + cwd: str | None = None, + on_returncode: Literal["raise", "warn", "ignore"] = "raise", + extra_ok_returncodes: Iterable[int] | None = None, + command_desc: str | None = None, + extra_environ: Mapping[str, Any] | None = None, + spinner: SpinnerInterface | None = None, + log_failed_cmd: bool = True, + stdout_only: bool = False, + ) -> str: + """ + Run a VCS subcommand + This is simply a wrapper around call_subprocess that adds the VCS + command name, and checks that the VCS is available + """ + cmd = make_command(cls.name, *cmd) + if command_desc is None: + command_desc = format_command_args(cmd) + try: + return call_subprocess( + cmd, + show_stdout, + cwd, + on_returncode=on_returncode, + extra_ok_returncodes=extra_ok_returncodes, + command_desc=command_desc, + extra_environ=extra_environ, + unset_environ=cls.unset_environ, + spinner=spinner, + log_failed_cmd=log_failed_cmd, + stdout_only=stdout_only, + ) + except NotADirectoryError: + raise BadCommand(f"Cannot find command {cls.name!r} - invalid PATH") + except FileNotFoundError: + # errno.ENOENT = no such file or directory + # In other words, the VCS executable isn't available + raise BadCommand( + f"Cannot find command {cls.name!r} - do you have " + f"{cls.name!r} installed and in your PATH?" + ) + except PermissionError: + # errno.EACCES = Permission denied + # This error occurs, for instance, when the command is installed + # only for another user. So, the current user don't have + # permission to call the other user command. + raise BadCommand( + f"No permission to execute {cls.name!r} - install it " + f"locally, globally (ask admin), or check your PATH. " + f"See possible solutions at " + f"https://pip.pypa.io/en/latest/reference/pip_freeze/" + f"#fixing-permission-denied." + ) + + @classmethod + def is_repository_directory(cls, path: str) -> bool: + """ + Return whether a directory path is a repository directory. + """ + logger.debug("Checking in %s for %s (%s)...", path, cls.dirname, cls.name) + return os.path.exists(os.path.join(path, cls.dirname)) + + @classmethod + def get_repository_root(cls, location: str) -> str | None: + """ + Return the "root" (top-level) directory controlled by the vcs, + or `None` if the directory is not in any. + + It is meant to be overridden to implement smarter detection + mechanisms for specific vcs. + + This can do more than is_repository_directory() alone. For + example, the Git override checks that Git is actually available. + """ + if cls.is_repository_directory(location): + return location + return None diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/wheel_builder.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/wheel_builder.py new file mode 100644 index 0000000000000000000000000000000000000000..beed02f00c5622b8a978b91b5754e2e2ca05a2fc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_internal/wheel_builder.py @@ -0,0 +1,334 @@ +"""Orchestrator for building wheels from InstallRequirements.""" + +from __future__ import annotations + +import logging +import os.path +import re +import shutil +from collections.abc import Iterable + +from pip._vendor.packaging.utils import canonicalize_name, canonicalize_version +from pip._vendor.packaging.version import InvalidVersion, Version + +from pip._internal.cache import WheelCache +from pip._internal.exceptions import InvalidWheelFilename, UnsupportedWheel +from pip._internal.metadata import FilesystemWheel, get_wheel_distribution +from pip._internal.models.link import Link +from pip._internal.models.wheel import Wheel +from pip._internal.operations.build.wheel import build_wheel_pep517 +from pip._internal.operations.build.wheel_editable import build_wheel_editable +from pip._internal.operations.build.wheel_legacy import build_wheel_legacy +from pip._internal.req.req_install import InstallRequirement +from pip._internal.utils.logging import indent_log +from pip._internal.utils.misc import ensure_dir, hash_file +from pip._internal.utils.setuptools_build import make_setuptools_clean_args +from pip._internal.utils.subprocess import call_subprocess +from pip._internal.utils.temp_dir import TempDirectory +from pip._internal.utils.urls import path_to_url +from pip._internal.vcs import vcs + +logger = logging.getLogger(__name__) + +_egg_info_re = re.compile(r"([a-z0-9_.]+)-([a-z0-9_.!+-]+)", re.IGNORECASE) + +BuildResult = tuple[list[InstallRequirement], list[InstallRequirement]] + + +def _contains_egg_info(s: str) -> bool: + """Determine whether the string looks like an egg_info. + + :param s: The string to parse. E.g. foo-2.1 + """ + return bool(_egg_info_re.search(s)) + + +def _should_build( + req: InstallRequirement, +) -> bool: + """Return whether an InstallRequirement should be built into a wheel.""" + assert not req.constraint + + if req.is_wheel: + return False + + assert req.source_dir + + if req.editable: + # we only build PEP 660 editable requirements + return req.supports_pyproject_editable + + return True + + +def should_build_for_install_command( + req: InstallRequirement, +) -> bool: + return _should_build(req) + + +def _should_cache( + req: InstallRequirement, +) -> bool | None: + """ + Return whether a built InstallRequirement can be stored in the persistent + wheel cache, assuming the wheel cache is available, and _should_build() + has determined a wheel needs to be built. + """ + if req.editable or not req.source_dir: + # never cache editable requirements + return False + + if req.link and req.link.is_vcs: + # VCS checkout. Do not cache + # unless it points to an immutable commit hash. + assert not req.editable + assert req.source_dir + vcs_backend = vcs.get_backend_for_scheme(req.link.scheme) + assert vcs_backend + if vcs_backend.is_immutable_rev_checkout(req.link.url, req.source_dir): + return True + return False + + assert req.link + base, ext = req.link.splitext() + if _contains_egg_info(base): + return True + + # Otherwise, do not cache. + return False + + +def _get_cache_dir( + req: InstallRequirement, + wheel_cache: WheelCache, +) -> str: + """Return the persistent or temporary cache directory where the built + wheel need to be stored. + """ + cache_available = bool(wheel_cache.cache_dir) + assert req.link + if cache_available and _should_cache(req): + cache_dir = wheel_cache.get_path_for_link(req.link) + else: + cache_dir = wheel_cache.get_ephem_path_for_link(req.link) + return cache_dir + + +def _verify_one(req: InstallRequirement, wheel_path: str) -> None: + canonical_name = canonicalize_name(req.name or "") + w = Wheel(os.path.basename(wheel_path)) + if canonicalize_name(w.name) != canonical_name: + raise InvalidWheelFilename( + f"Wheel has unexpected file name: expected {canonical_name!r}, " + f"got {w.name!r}", + ) + dist = get_wheel_distribution(FilesystemWheel(wheel_path), canonical_name) + dist_verstr = str(dist.version) + if canonicalize_version(dist_verstr) != canonicalize_version(w.version): + raise InvalidWheelFilename( + f"Wheel has unexpected file name: expected {dist_verstr!r}, " + f"got {w.version!r}", + ) + metadata_version_value = dist.metadata_version + if metadata_version_value is None: + raise UnsupportedWheel("Missing Metadata-Version") + try: + metadata_version = Version(metadata_version_value) + except InvalidVersion: + msg = f"Invalid Metadata-Version: {metadata_version_value}" + raise UnsupportedWheel(msg) + if metadata_version >= Version("1.2") and not isinstance(dist.version, Version): + raise UnsupportedWheel( + f"Metadata 1.2 mandates PEP 440 version, but {dist_verstr!r} is not" + ) + + +def _build_one( + req: InstallRequirement, + output_dir: str, + verify: bool, + build_options: list[str], + global_options: list[str], + editable: bool, +) -> str | None: + """Build one wheel. + + :return: The filename of the built wheel, or None if the build failed. + """ + artifact = "editable" if editable else "wheel" + try: + ensure_dir(output_dir) + except OSError as e: + logger.warning( + "Building %s for %s failed: %s", + artifact, + req.name, + e, + ) + return None + + # Install build deps into temporary directory (PEP 518) + with req.build_env: + wheel_path = _build_one_inside_env( + req, output_dir, build_options, global_options, editable + ) + if wheel_path and verify: + try: + _verify_one(req, wheel_path) + except (InvalidWheelFilename, UnsupportedWheel) as e: + logger.warning("Built %s for %s is invalid: %s", artifact, req.name, e) + return None + return wheel_path + + +def _build_one_inside_env( + req: InstallRequirement, + output_dir: str, + build_options: list[str], + global_options: list[str], + editable: bool, +) -> str | None: + with TempDirectory(kind="wheel") as temp_dir: + assert req.name + if req.use_pep517: + assert req.metadata_directory + assert req.pep517_backend + if global_options: + logger.warning( + "Ignoring --global-option when building %s using PEP 517", req.name + ) + if build_options: + logger.warning( + "Ignoring --build-option when building %s using PEP 517", req.name + ) + if editable: + wheel_path = build_wheel_editable( + name=req.name, + backend=req.pep517_backend, + metadata_directory=req.metadata_directory, + tempd=temp_dir.path, + ) + else: + wheel_path = build_wheel_pep517( + name=req.name, + backend=req.pep517_backend, + metadata_directory=req.metadata_directory, + tempd=temp_dir.path, + ) + else: + wheel_path = build_wheel_legacy( + name=req.name, + setup_py_path=req.setup_py_path, + source_dir=req.unpacked_source_directory, + global_options=global_options, + build_options=build_options, + tempd=temp_dir.path, + ) + + if wheel_path is not None: + wheel_name = os.path.basename(wheel_path) + dest_path = os.path.join(output_dir, wheel_name) + try: + wheel_hash, length = hash_file(wheel_path) + shutil.move(wheel_path, dest_path) + logger.info( + "Created wheel for %s: filename=%s size=%d sha256=%s", + req.name, + wheel_name, + length, + wheel_hash.hexdigest(), + ) + logger.info("Stored in directory: %s", output_dir) + return dest_path + except Exception as e: + logger.warning( + "Building wheel for %s failed: %s", + req.name, + e, + ) + # Ignore return, we can't do anything else useful. + if not req.use_pep517: + _clean_one_legacy(req, global_options) + return None + + +def _clean_one_legacy(req: InstallRequirement, global_options: list[str]) -> bool: + clean_args = make_setuptools_clean_args( + req.setup_py_path, + global_options=global_options, + ) + + logger.info("Running setup.py clean for %s", req.name) + try: + call_subprocess( + clean_args, command_desc="python setup.py clean", cwd=req.source_dir + ) + return True + except Exception: + logger.error("Failed cleaning build dir for %s", req.name) + return False + + +def build( + requirements: Iterable[InstallRequirement], + wheel_cache: WheelCache, + verify: bool, + build_options: list[str], + global_options: list[str], +) -> BuildResult: + """Build wheels. + + :return: The list of InstallRequirement that succeeded to build and + the list of InstallRequirement that failed to build. + """ + if not requirements: + return [], [] + + # Build the wheels. + logger.info( + "Building wheels for collected packages: %s", + ", ".join(req.name for req in requirements), # type: ignore + ) + + with indent_log(): + build_successes, build_failures = [], [] + for req in requirements: + assert req.name + cache_dir = _get_cache_dir(req, wheel_cache) + wheel_file = _build_one( + req, + cache_dir, + verify, + build_options, + global_options, + req.editable and req.permit_editable_wheels, + ) + if wheel_file: + # Record the download origin in the cache + if req.download_info is not None: + # download_info is guaranteed to be set because when we build an + # InstallRequirement it has been through the preparer before, but + # let's be cautious. + wheel_cache.record_download_origin(cache_dir, req.download_info) + # Update the link for this. + req.link = Link(path_to_url(wheel_file)) + req.local_file_path = req.link.file_path + assert req.link.is_wheel + build_successes.append(req) + else: + build_failures.append(req) + + # notify success/failure + if build_successes: + logger.info( + "Successfully built %s", + " ".join([req.name for req in build_successes]), # type: ignore + ) + if build_failures: + logger.info( + "Failed to build %s", + " ".join([req.name for req in build_failures]), # type: ignore + ) + # Return a list of requirements that failed to build + return build_successes, build_failures diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..34ccb99079139bf230b91f4f7b9303a34de6b717 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/__init__.py @@ -0,0 +1,117 @@ +""" +pip._vendor is for vendoring dependencies of pip to prevent needing pip to +depend on something external. + +Files inside of pip._vendor should be considered immutable and should only be +updated to versions from upstream. +""" +from __future__ import absolute_import + +import glob +import os.path +import sys + +# Downstream redistributors which have debundled our dependencies should also +# patch this value to be true. This will trigger the additional patching +# to cause things like "six" to be available as pip. +DEBUNDLED = False + +# By default, look in this directory for a bunch of .whl files which we will +# add to the beginning of sys.path before attempting to import anything. This +# is done to support downstream re-distributors like Debian and Fedora who +# wish to create their own Wheels for our dependencies to aid in debundling. +WHEEL_DIR = os.path.abspath(os.path.dirname(__file__)) + + +# Define a small helper function to alias our vendored modules to the real ones +# if the vendored ones do not exist. This idea of this was taken from +# https://github.com/kennethreitz/requests/pull/2567. +def vendored(modulename): + vendored_name = "{0}.{1}".format(__name__, modulename) + + try: + __import__(modulename, globals(), locals(), level=0) + except ImportError: + # We can just silently allow import failures to pass here. If we + # got to this point it means that ``import pip._vendor.whatever`` + # failed and so did ``import whatever``. Since we're importing this + # upfront in an attempt to alias imports, not erroring here will + # just mean we get a regular import error whenever pip *actually* + # tries to import one of these modules to use it, which actually + # gives us a better error message than we would have otherwise + # gotten. + pass + else: + sys.modules[vendored_name] = sys.modules[modulename] + base, head = vendored_name.rsplit(".", 1) + setattr(sys.modules[base], head, sys.modules[modulename]) + + +# If we're operating in a debundled setup, then we want to go ahead and trigger +# the aliasing of our vendored libraries as well as looking for wheels to add +# to our sys.path. This will cause all of this code to be a no-op typically +# however downstream redistributors can enable it in a consistent way across +# all platforms. +if DEBUNDLED: + # Actually look inside of WHEEL_DIR to find .whl files and add them to the + # front of our sys.path. + sys.path[:] = glob.glob(os.path.join(WHEEL_DIR, "*.whl")) + sys.path + + # Actually alias all of our vendored dependencies. + vendored("cachecontrol") + vendored("certifi") + vendored("dependency-groups") + vendored("distlib") + vendored("distro") + vendored("packaging") + vendored("packaging.version") + vendored("packaging.specifiers") + vendored("pkg_resources") + vendored("platformdirs") + vendored("progress") + vendored("pyproject_hooks") + vendored("requests") + vendored("requests.exceptions") + vendored("requests.packages") + vendored("requests.packages.urllib3") + vendored("requests.packages.urllib3._collections") + vendored("requests.packages.urllib3.connection") + vendored("requests.packages.urllib3.connectionpool") + vendored("requests.packages.urllib3.contrib") + vendored("requests.packages.urllib3.contrib.ntlmpool") + vendored("requests.packages.urllib3.contrib.pyopenssl") + vendored("requests.packages.urllib3.exceptions") + vendored("requests.packages.urllib3.fields") + vendored("requests.packages.urllib3.filepost") + vendored("requests.packages.urllib3.packages") + vendored("requests.packages.urllib3.packages.ordered_dict") + vendored("requests.packages.urllib3.packages.six") + vendored("requests.packages.urllib3.packages.ssl_match_hostname") + vendored("requests.packages.urllib3.packages.ssl_match_hostname." + "_implementation") + vendored("requests.packages.urllib3.poolmanager") + vendored("requests.packages.urllib3.request") + vendored("requests.packages.urllib3.response") + vendored("requests.packages.urllib3.util") + vendored("requests.packages.urllib3.util.connection") + vendored("requests.packages.urllib3.util.request") + vendored("requests.packages.urllib3.util.response") + vendored("requests.packages.urllib3.util.retry") + vendored("requests.packages.urllib3.util.ssl_") + vendored("requests.packages.urllib3.util.timeout") + vendored("requests.packages.urllib3.util.url") + vendored("resolvelib") + vendored("rich") + vendored("rich.console") + vendored("rich.highlighter") + vendored("rich.logging") + vendored("rich.markup") + vendored("rich.progress") + vendored("rich.segment") + vendored("rich.style") + vendored("rich.text") + vendored("rich.traceback") + if sys.version_info < (3, 11): + vendored("tomli") + vendored("truststore") + vendored("urllib3") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5c41dd742cbd2a2c7298e6d5b65a7e2533d09520 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..67888db0e411f9697e3258b85c73498552265bc8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py @@ -0,0 +1,29 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 + +"""CacheControl import Interface. + +Make it easy to import from cachecontrol without long namespaces. +""" + +__author__ = "Eric Larson" +__email__ = "eric@ionrock.org" +__version__ = "0.14.3" + +from pip._vendor.cachecontrol.adapter import CacheControlAdapter +from pip._vendor.cachecontrol.controller import CacheController +from pip._vendor.cachecontrol.wrapper import CacheControl + +__all__ = [ + "__author__", + "__email__", + "__version__", + "CacheControlAdapter", + "CacheController", + "CacheControl", +] + +import logging + +logging.getLogger(__name__).addHandler(logging.NullHandler()) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bca807847c9bb089bec46b3fafd9f690f257a6a8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ce20f5aa1966317209c133c44e356925ffe744f4 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8d86d66a120bfe3eadd878ef57a106e8506f7464 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..49ef32686934790a2fa56c2729cf69ea9137aab6 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..24949f70ce0b04d79401ddf2249be4fb937e420a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b2d259ee1a0c305d5465f13b3ee58513622a0230 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3fd55e24a9dfbce3537bbad2c169483e98dafedf Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..45ee46e673e4bf8da0c1afe3aadd9f29dd5578fb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b368a104a11faf299ef305f00185d9eb7156faa8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/_cmd.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/_cmd.py new file mode 100644 index 0000000000000000000000000000000000000000..2c84208a5d87511cc4a63dcd9c647ac75c6f4475 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/_cmd.py @@ -0,0 +1,70 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + +import logging +from argparse import ArgumentParser +from typing import TYPE_CHECKING + +from pip._vendor import requests + +from pip._vendor.cachecontrol.adapter import CacheControlAdapter +from pip._vendor.cachecontrol.cache import DictCache +from pip._vendor.cachecontrol.controller import logger + +if TYPE_CHECKING: + from argparse import Namespace + + from pip._vendor.cachecontrol.controller import CacheController + + +def setup_logging() -> None: + logger.setLevel(logging.DEBUG) + handler = logging.StreamHandler() + logger.addHandler(handler) + + +def get_session() -> requests.Session: + adapter = CacheControlAdapter( + DictCache(), cache_etags=True, serializer=None, heuristic=None + ) + sess = requests.Session() + sess.mount("http://", adapter) + sess.mount("https://", adapter) + + sess.cache_controller = adapter.controller # type: ignore[attr-defined] + return sess + + +def get_args() -> Namespace: + parser = ArgumentParser() + parser.add_argument("url", help="The URL to try and cache") + return parser.parse_args() + + +def main() -> None: + args = get_args() + sess = get_session() + + # Make a request to get a response + resp = sess.get(args.url) + + # Turn on logging + setup_logging() + + # try setting the cache + cache_controller: CacheController = ( + sess.cache_controller # type: ignore[attr-defined] + ) + cache_controller.cache_response(resp.request, resp.raw) + + # Now try to get it + if cache_controller.cached_request(resp.request): + print("Cached!") + else: + print("Not cached :(") + + +if __name__ == "__main__": + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py new file mode 100644 index 0000000000000000000000000000000000000000..18084d12faed20d4326f673ddfce6fa3e1256525 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py @@ -0,0 +1,168 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + +import functools +import types +import weakref +import zlib +from typing import TYPE_CHECKING, Any, Collection, Mapping + +from pip._vendor.requests.adapters import HTTPAdapter + +from pip._vendor.cachecontrol.cache import DictCache +from pip._vendor.cachecontrol.controller import PERMANENT_REDIRECT_STATUSES, CacheController +from pip._vendor.cachecontrol.filewrapper import CallbackFileWrapper + +if TYPE_CHECKING: + from pip._vendor.requests import PreparedRequest, Response + from pip._vendor.urllib3 import HTTPResponse + + from pip._vendor.cachecontrol.cache import BaseCache + from pip._vendor.cachecontrol.heuristics import BaseHeuristic + from pip._vendor.cachecontrol.serialize import Serializer + + +class CacheControlAdapter(HTTPAdapter): + invalidating_methods = {"PUT", "PATCH", "DELETE"} + + def __init__( + self, + cache: BaseCache | None = None, + cache_etags: bool = True, + controller_class: type[CacheController] | None = None, + serializer: Serializer | None = None, + heuristic: BaseHeuristic | None = None, + cacheable_methods: Collection[str] | None = None, + *args: Any, + **kw: Any, + ) -> None: + super().__init__(*args, **kw) + self.cache = DictCache() if cache is None else cache + self.heuristic = heuristic + self.cacheable_methods = cacheable_methods or ("GET",) + + controller_factory = controller_class or CacheController + self.controller = controller_factory( + self.cache, cache_etags=cache_etags, serializer=serializer + ) + + def send( + self, + request: PreparedRequest, + stream: bool = False, + timeout: None | float | tuple[float, float] | tuple[float, None] = None, + verify: bool | str = True, + cert: (None | bytes | str | tuple[bytes | str, bytes | str]) = None, + proxies: Mapping[str, str] | None = None, + cacheable_methods: Collection[str] | None = None, + ) -> Response: + """ + Send a request. Use the request information to see if it + exists in the cache and cache the response if we need to and can. + """ + cacheable = cacheable_methods or self.cacheable_methods + if request.method in cacheable: + try: + cached_response = self.controller.cached_request(request) + except zlib.error: + cached_response = None + if cached_response: + return self.build_response(request, cached_response, from_cache=True) + + # check for etags and add headers if appropriate + request.headers.update(self.controller.conditional_headers(request)) + + resp = super().send(request, stream, timeout, verify, cert, proxies) + + return resp + + def build_response( # type: ignore[override] + self, + request: PreparedRequest, + response: HTTPResponse, + from_cache: bool = False, + cacheable_methods: Collection[str] | None = None, + ) -> Response: + """ + Build a response by making a request or using the cache. + + This will end up calling send and returning a potentially + cached response + """ + cacheable = cacheable_methods or self.cacheable_methods + if not from_cache and request.method in cacheable: + # Check for any heuristics that might update headers + # before trying to cache. + if self.heuristic: + response = self.heuristic.apply(response) + + # apply any expiration heuristics + if response.status == 304: + # We must have sent an ETag request. This could mean + # that we've been expired already or that we simply + # have an etag. In either case, we want to try and + # update the cache if that is the case. + cached_response = self.controller.update_cached_response( + request, response + ) + + if cached_response is not response: + from_cache = True + + # We are done with the server response, read a + # possible response body (compliant servers will + # not return one, but we cannot be 100% sure) and + # release the connection back to the pool. + response.read(decode_content=False) + response.release_conn() + + response = cached_response + + # We always cache the 301 responses + elif int(response.status) in PERMANENT_REDIRECT_STATUSES: + self.controller.cache_response(request, response) + else: + # Wrap the response file with a wrapper that will cache the + # response when the stream has been consumed. + response._fp = CallbackFileWrapper( # type: ignore[assignment] + response._fp, # type: ignore[arg-type] + functools.partial( + self.controller.cache_response, request, weakref.ref(response) + ), + ) + if response.chunked: + super_update_chunk_length = response.__class__._update_chunk_length + + def _update_chunk_length( + weak_self: weakref.ReferenceType[HTTPResponse], + ) -> None: + self = weak_self() + if self is None: + return + + super_update_chunk_length(self) + if self.chunk_left == 0: + self._fp._close() # type: ignore[union-attr] + + response._update_chunk_length = functools.partial( # type: ignore[method-assign] + _update_chunk_length, weakref.ref(response) + ) + + resp: Response = super().build_response(request, response) + + # See if we should invalidate the cache. + if request.method in self.invalidating_methods and resp.ok: + assert request.url is not None + cache_url = self.controller.cache_url(request.url) + self.cache.delete(cache_url) + + # Give the request a from_cache attr to let people use it + resp.from_cache = from_cache # type: ignore[attr-defined] + + return resp + + def close(self) -> None: + self.cache.close() + super().close() # type: ignore[no-untyped-call] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py new file mode 100644 index 0000000000000000000000000000000000000000..91598e92034fa4f70353fbf7c9c19dc9558e320b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py @@ -0,0 +1,75 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 + +""" +The cache object API for implementing caches. The default is a thread +safe in-memory dictionary. +""" + +from __future__ import annotations + +from threading import Lock +from typing import IO, TYPE_CHECKING, MutableMapping + +if TYPE_CHECKING: + from datetime import datetime + + +class BaseCache: + def get(self, key: str) -> bytes | None: + raise NotImplementedError() + + def set( + self, key: str, value: bytes, expires: int | datetime | None = None + ) -> None: + raise NotImplementedError() + + def delete(self, key: str) -> None: + raise NotImplementedError() + + def close(self) -> None: + pass + + +class DictCache(BaseCache): + def __init__(self, init_dict: MutableMapping[str, bytes] | None = None) -> None: + self.lock = Lock() + self.data = init_dict or {} + + def get(self, key: str) -> bytes | None: + return self.data.get(key, None) + + def set( + self, key: str, value: bytes, expires: int | datetime | None = None + ) -> None: + with self.lock: + self.data.update({key: value}) + + def delete(self, key: str) -> None: + with self.lock: + if key in self.data: + self.data.pop(key) + + +class SeparateBodyBaseCache(BaseCache): + """ + In this variant, the body is not stored mixed in with the metadata, but is + passed in (as a bytes-like object) in a separate call to ``set_body()``. + + That is, the expected interaction pattern is:: + + cache.set(key, serialized_metadata) + cache.set_body(key) + + Similarly, the body should be loaded separately via ``get_body()``. + """ + + def set_body(self, key: str, body: bytes) -> None: + raise NotImplementedError() + + def get_body(self, key: str) -> IO[bytes] | None: + """ + Return the body as file-like object. + """ + raise NotImplementedError() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..24ff469ff98baf5a4457ba6a34330be310058cb4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__init__.py @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 + +from pip._vendor.cachecontrol.caches.file_cache import FileCache, SeparateBodyFileCache +from pip._vendor.cachecontrol.caches.redis_cache import RedisCache + +__all__ = ["FileCache", "SeparateBodyFileCache", "RedisCache"] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8c1c57655564182b1db274ff797a63fd802927c1 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..81bbc3d20bdec36f3eb7b76a4cc50842e5dc3dfb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a6882a9fe39dd151720add10b8f2e0271f6aa5f5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py new file mode 100644 index 0000000000000000000000000000000000000000..45c632c7f72700c72e60651acb1e09c836ef2c31 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py @@ -0,0 +1,145 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + +import hashlib +import os +import tempfile +from textwrap import dedent +from typing import IO, TYPE_CHECKING +from pathlib import Path + +from pip._vendor.cachecontrol.cache import BaseCache, SeparateBodyBaseCache +from pip._vendor.cachecontrol.controller import CacheController + +if TYPE_CHECKING: + from datetime import datetime + + from filelock import BaseFileLock + + +class _FileCacheMixin: + """Shared implementation for both FileCache variants.""" + + def __init__( + self, + directory: str | Path, + forever: bool = False, + filemode: int = 0o0600, + dirmode: int = 0o0700, + lock_class: type[BaseFileLock] | None = None, + ) -> None: + try: + if lock_class is None: + from filelock import FileLock + + lock_class = FileLock + except ImportError: + notice = dedent( + """ + NOTE: In order to use the FileCache you must have + filelock installed. You can install it via pip: + pip install cachecontrol[filecache] + """ + ) + raise ImportError(notice) + + self.directory = directory + self.forever = forever + self.filemode = filemode + self.dirmode = dirmode + self.lock_class = lock_class + + @staticmethod + def encode(x: str) -> str: + return hashlib.sha224(x.encode()).hexdigest() + + def _fn(self, name: str) -> str: + # NOTE: This method should not change as some may depend on it. + # See: https://github.com/ionrock/cachecontrol/issues/63 + hashed = self.encode(name) + parts = list(hashed[:5]) + [hashed] + return os.path.join(self.directory, *parts) + + def get(self, key: str) -> bytes | None: + name = self._fn(key) + try: + with open(name, "rb") as fh: + return fh.read() + + except FileNotFoundError: + return None + + def set( + self, key: str, value: bytes, expires: int | datetime | None = None + ) -> None: + name = self._fn(key) + self._write(name, value) + + def _write(self, path: str, data: bytes) -> None: + """ + Safely write the data to the given path. + """ + # Make sure the directory exists + dirname = os.path.dirname(path) + os.makedirs(dirname, self.dirmode, exist_ok=True) + + with self.lock_class(path + ".lock"): + # Write our actual file + (fd, name) = tempfile.mkstemp(dir=dirname) + try: + os.write(fd, data) + finally: + os.close(fd) + os.chmod(name, self.filemode) + os.replace(name, path) + + def _delete(self, key: str, suffix: str) -> None: + name = self._fn(key) + suffix + if not self.forever: + try: + os.remove(name) + except FileNotFoundError: + pass + + +class FileCache(_FileCacheMixin, BaseCache): + """ + Traditional FileCache: body is stored in memory, so not suitable for large + downloads. + """ + + def delete(self, key: str) -> None: + self._delete(key, "") + + +class SeparateBodyFileCache(_FileCacheMixin, SeparateBodyBaseCache): + """ + Memory-efficient FileCache: body is stored in a separate file, reducing + peak memory usage. + """ + + def get_body(self, key: str) -> IO[bytes] | None: + name = self._fn(key) + ".body" + try: + return open(name, "rb") + except FileNotFoundError: + return None + + def set_body(self, key: str, body: bytes) -> None: + name = self._fn(key) + ".body" + self._write(name, body) + + def delete(self, key: str) -> None: + self._delete(key, "") + self._delete(key, ".body") + + +def url_to_file_path(url: str, filecache: FileCache) -> str: + """Return the file cache path based on the URL. + + This does not ensure the file exists! + """ + key = CacheController.cache_url(url) + return filecache._fn(key) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py new file mode 100644 index 0000000000000000000000000000000000000000..f4f68c47bf6e82b3faea0bd558852585f5f50a81 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py @@ -0,0 +1,48 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + + +from datetime import datetime, timezone +from typing import TYPE_CHECKING + +from pip._vendor.cachecontrol.cache import BaseCache + +if TYPE_CHECKING: + from redis import Redis + + +class RedisCache(BaseCache): + def __init__(self, conn: Redis[bytes]) -> None: + self.conn = conn + + def get(self, key: str) -> bytes | None: + return self.conn.get(key) + + def set( + self, key: str, value: bytes, expires: int | datetime | None = None + ) -> None: + if not expires: + self.conn.set(key, value) + elif isinstance(expires, datetime): + now_utc = datetime.now(timezone.utc) + if expires.tzinfo is None: + now_utc = now_utc.replace(tzinfo=None) + delta = expires - now_utc + self.conn.setex(key, int(delta.total_seconds()), value) + else: + self.conn.setex(key, expires, value) + + def delete(self, key: str) -> None: + self.conn.delete(key) + + def clear(self) -> None: + """Helper for clearing all the keys in a database. Use with + caution!""" + for key in self.conn.keys(): + self.conn.delete(key) + + def close(self) -> None: + """Redis uses connection pooling, no need to close the connection.""" + pass diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py new file mode 100644 index 0000000000000000000000000000000000000000..d92d991c0015190525af8e9190d0f3266482df6f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py @@ -0,0 +1,511 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 + +""" +The httplib2 algorithms ported for use with requests. +""" + +from __future__ import annotations + +import calendar +import logging +import re +import time +import weakref +from email.utils import parsedate_tz +from typing import TYPE_CHECKING, Collection, Mapping + +from pip._vendor.requests.structures import CaseInsensitiveDict + +from pip._vendor.cachecontrol.cache import DictCache, SeparateBodyBaseCache +from pip._vendor.cachecontrol.serialize import Serializer + +if TYPE_CHECKING: + from typing import Literal + + from pip._vendor.requests import PreparedRequest + from pip._vendor.urllib3 import HTTPResponse + + from pip._vendor.cachecontrol.cache import BaseCache + +logger = logging.getLogger(__name__) + +URI = re.compile(r"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?") + +PERMANENT_REDIRECT_STATUSES = (301, 308) + + +def parse_uri(uri: str) -> tuple[str, str, str, str, str]: + """Parses a URI using the regex given in Appendix B of RFC 3986. + + (scheme, authority, path, query, fragment) = parse_uri(uri) + """ + match = URI.match(uri) + assert match is not None + groups = match.groups() + return (groups[1], groups[3], groups[4], groups[6], groups[8]) + + +class CacheController: + """An interface to see if request should cached or not.""" + + def __init__( + self, + cache: BaseCache | None = None, + cache_etags: bool = True, + serializer: Serializer | None = None, + status_codes: Collection[int] | None = None, + ): + self.cache = DictCache() if cache is None else cache + self.cache_etags = cache_etags + self.serializer = serializer or Serializer() + self.cacheable_status_codes = status_codes or (200, 203, 300, 301, 308) + + @classmethod + def _urlnorm(cls, uri: str) -> str: + """Normalize the URL to create a safe key for the cache""" + (scheme, authority, path, query, fragment) = parse_uri(uri) + if not scheme or not authority: + raise Exception("Only absolute URIs are allowed. uri = %s" % uri) + + scheme = scheme.lower() + authority = authority.lower() + + if not path: + path = "/" + + # Could do syntax based normalization of the URI before + # computing the digest. See Section 6.2.2 of Std 66. + request_uri = query and "?".join([path, query]) or path + defrag_uri = scheme + "://" + authority + request_uri + + return defrag_uri + + @classmethod + def cache_url(cls, uri: str) -> str: + return cls._urlnorm(uri) + + def parse_cache_control(self, headers: Mapping[str, str]) -> dict[str, int | None]: + known_directives = { + # https://tools.ietf.org/html/rfc7234#section-5.2 + "max-age": (int, True), + "max-stale": (int, False), + "min-fresh": (int, True), + "no-cache": (None, False), + "no-store": (None, False), + "no-transform": (None, False), + "only-if-cached": (None, False), + "must-revalidate": (None, False), + "public": (None, False), + "private": (None, False), + "proxy-revalidate": (None, False), + "s-maxage": (int, True), + } + + cc_headers = headers.get("cache-control", headers.get("Cache-Control", "")) + + retval: dict[str, int | None] = {} + + for cc_directive in cc_headers.split(","): + if not cc_directive.strip(): + continue + + parts = cc_directive.split("=", 1) + directive = parts[0].strip() + + try: + typ, required = known_directives[directive] + except KeyError: + logger.debug("Ignoring unknown cache-control directive: %s", directive) + continue + + if not typ or not required: + retval[directive] = None + if typ: + try: + retval[directive] = typ(parts[1].strip()) + except IndexError: + if required: + logger.debug( + "Missing value for cache-control " "directive: %s", + directive, + ) + except ValueError: + logger.debug( + "Invalid value for cache-control directive " "%s, must be %s", + directive, + typ.__name__, + ) + + return retval + + def _load_from_cache(self, request: PreparedRequest) -> HTTPResponse | None: + """ + Load a cached response, or return None if it's not available. + """ + # We do not support caching of partial content: so if the request contains a + # Range header then we don't want to load anything from the cache. + if "Range" in request.headers: + return None + + cache_url = request.url + assert cache_url is not None + cache_data = self.cache.get(cache_url) + if cache_data is None: + logger.debug("No cache entry available") + return None + + if isinstance(self.cache, SeparateBodyBaseCache): + body_file = self.cache.get_body(cache_url) + else: + body_file = None + + result = self.serializer.loads(request, cache_data, body_file) + if result is None: + logger.warning("Cache entry deserialization failed, entry ignored") + return result + + def cached_request(self, request: PreparedRequest) -> HTTPResponse | Literal[False]: + """ + Return a cached response if it exists in the cache, otherwise + return False. + """ + assert request.url is not None + cache_url = self.cache_url(request.url) + logger.debug('Looking up "%s" in the cache', cache_url) + cc = self.parse_cache_control(request.headers) + + # Bail out if the request insists on fresh data + if "no-cache" in cc: + logger.debug('Request header has "no-cache", cache bypassed') + return False + + if "max-age" in cc and cc["max-age"] == 0: + logger.debug('Request header has "max_age" as 0, cache bypassed') + return False + + # Check whether we can load the response from the cache: + resp = self._load_from_cache(request) + if not resp: + return False + + # If we have a cached permanent redirect, return it immediately. We + # don't need to test our response for other headers b/c it is + # intrinsically "cacheable" as it is Permanent. + # + # See: + # https://tools.ietf.org/html/rfc7231#section-6.4.2 + # + # Client can try to refresh the value by repeating the request + # with cache busting headers as usual (ie no-cache). + if int(resp.status) in PERMANENT_REDIRECT_STATUSES: + msg = ( + "Returning cached permanent redirect response " + "(ignoring date and etag information)" + ) + logger.debug(msg) + return resp + + headers: CaseInsensitiveDict[str] = CaseInsensitiveDict(resp.headers) + if not headers or "date" not in headers: + if "etag" not in headers: + # Without date or etag, the cached response can never be used + # and should be deleted. + logger.debug("Purging cached response: no date or etag") + self.cache.delete(cache_url) + logger.debug("Ignoring cached response: no date") + return False + + now = time.time() + time_tuple = parsedate_tz(headers["date"]) + assert time_tuple is not None + date = calendar.timegm(time_tuple[:6]) + current_age = max(0, now - date) + logger.debug("Current age based on date: %i", current_age) + + # TODO: There is an assumption that the result will be a + # urllib3 response object. This may not be best since we + # could probably avoid instantiating or constructing the + # response until we know we need it. + resp_cc = self.parse_cache_control(headers) + + # determine freshness + freshness_lifetime = 0 + + # Check the max-age pragma in the cache control header + max_age = resp_cc.get("max-age") + if max_age is not None: + freshness_lifetime = max_age + logger.debug("Freshness lifetime from max-age: %i", freshness_lifetime) + + # If there isn't a max-age, check for an expires header + elif "expires" in headers: + expires = parsedate_tz(headers["expires"]) + if expires is not None: + expire_time = calendar.timegm(expires[:6]) - date + freshness_lifetime = max(0, expire_time) + logger.debug("Freshness lifetime from expires: %i", freshness_lifetime) + + # Determine if we are setting freshness limit in the + # request. Note, this overrides what was in the response. + max_age = cc.get("max-age") + if max_age is not None: + freshness_lifetime = max_age + logger.debug( + "Freshness lifetime from request max-age: %i", freshness_lifetime + ) + + min_fresh = cc.get("min-fresh") + if min_fresh is not None: + # adjust our current age by our min fresh + current_age += min_fresh + logger.debug("Adjusted current age from min-fresh: %i", current_age) + + # Return entry if it is fresh enough + if freshness_lifetime > current_age: + logger.debug('The response is "fresh", returning cached response') + logger.debug("%i > %i", freshness_lifetime, current_age) + return resp + + # we're not fresh. If we don't have an Etag, clear it out + if "etag" not in headers: + logger.debug('The cached response is "stale" with no etag, purging') + self.cache.delete(cache_url) + + # return the original handler + return False + + def conditional_headers(self, request: PreparedRequest) -> dict[str, str]: + resp = self._load_from_cache(request) + new_headers = {} + + if resp: + headers: CaseInsensitiveDict[str] = CaseInsensitiveDict(resp.headers) + + if "etag" in headers: + new_headers["If-None-Match"] = headers["ETag"] + + if "last-modified" in headers: + new_headers["If-Modified-Since"] = headers["Last-Modified"] + + return new_headers + + def _cache_set( + self, + cache_url: str, + request: PreparedRequest, + response: HTTPResponse, + body: bytes | None = None, + expires_time: int | None = None, + ) -> None: + """ + Store the data in the cache. + """ + if isinstance(self.cache, SeparateBodyBaseCache): + # We pass in the body separately; just put a placeholder empty + # string in the metadata. + self.cache.set( + cache_url, + self.serializer.dumps(request, response, b""), + expires=expires_time, + ) + # body is None can happen when, for example, we're only updating + # headers, as is the case in update_cached_response(). + if body is not None: + self.cache.set_body(cache_url, body) + else: + self.cache.set( + cache_url, + self.serializer.dumps(request, response, body), + expires=expires_time, + ) + + def cache_response( + self, + request: PreparedRequest, + response_or_ref: HTTPResponse | weakref.ReferenceType[HTTPResponse], + body: bytes | None = None, + status_codes: Collection[int] | None = None, + ) -> None: + """ + Algorithm for caching requests. + + This assumes a requests Response object. + """ + if isinstance(response_or_ref, weakref.ReferenceType): + response = response_or_ref() + if response is None: + # The weakref can be None only in case the user used streamed request + # and did not consume or close it, and holds no reference to requests.Response. + # In such case, we don't want to cache the response. + return + else: + response = response_or_ref + + # From httplib2: Don't cache 206's since we aren't going to + # handle byte range requests + cacheable_status_codes = status_codes or self.cacheable_status_codes + if response.status not in cacheable_status_codes: + logger.debug( + "Status code %s not in %s", response.status, cacheable_status_codes + ) + return + + response_headers: CaseInsensitiveDict[str] = CaseInsensitiveDict( + response.headers + ) + + if "date" in response_headers: + time_tuple = parsedate_tz(response_headers["date"]) + assert time_tuple is not None + date = calendar.timegm(time_tuple[:6]) + else: + date = 0 + + # If we've been given a body, our response has a Content-Length, that + # Content-Length is valid then we can check to see if the body we've + # been given matches the expected size, and if it doesn't we'll just + # skip trying to cache it. + if ( + body is not None + and "content-length" in response_headers + and response_headers["content-length"].isdigit() + and int(response_headers["content-length"]) != len(body) + ): + return + + cc_req = self.parse_cache_control(request.headers) + cc = self.parse_cache_control(response_headers) + + assert request.url is not None + cache_url = self.cache_url(request.url) + logger.debug('Updating cache with response from "%s"', cache_url) + + # Delete it from the cache if we happen to have it stored there + no_store = False + if "no-store" in cc: + no_store = True + logger.debug('Response header has "no-store"') + if "no-store" in cc_req: + no_store = True + logger.debug('Request header has "no-store"') + if no_store and self.cache.get(cache_url): + logger.debug('Purging existing cache entry to honor "no-store"') + self.cache.delete(cache_url) + if no_store: + return + + # https://tools.ietf.org/html/rfc7234#section-4.1: + # A Vary header field-value of "*" always fails to match. + # Storing such a response leads to a deserialization warning + # during cache lookup and is not allowed to ever be served, + # so storing it can be avoided. + if "*" in response_headers.get("vary", ""): + logger.debug('Response header has "Vary: *"') + return + + # If we've been given an etag, then keep the response + if self.cache_etags and "etag" in response_headers: + expires_time = 0 + if response_headers.get("expires"): + expires = parsedate_tz(response_headers["expires"]) + if expires is not None: + expires_time = calendar.timegm(expires[:6]) - date + + expires_time = max(expires_time, 14 * 86400) + + logger.debug(f"etag object cached for {expires_time} seconds") + logger.debug("Caching due to etag") + self._cache_set(cache_url, request, response, body, expires_time) + + # Add to the cache any permanent redirects. We do this before looking + # that the Date headers. + elif int(response.status) in PERMANENT_REDIRECT_STATUSES: + logger.debug("Caching permanent redirect") + self._cache_set(cache_url, request, response, b"") + + # Add to the cache if the response headers demand it. If there + # is no date header then we can't do anything about expiring + # the cache. + elif "date" in response_headers: + time_tuple = parsedate_tz(response_headers["date"]) + assert time_tuple is not None + date = calendar.timegm(time_tuple[:6]) + # cache when there is a max-age > 0 + max_age = cc.get("max-age") + if max_age is not None and max_age > 0: + logger.debug("Caching b/c date exists and max-age > 0") + expires_time = max_age + self._cache_set( + cache_url, + request, + response, + body, + expires_time, + ) + + # If the request can expire, it means we should cache it + # in the meantime. + elif "expires" in response_headers: + if response_headers["expires"]: + expires = parsedate_tz(response_headers["expires"]) + if expires is not None: + expires_time = calendar.timegm(expires[:6]) - date + else: + expires_time = None + + logger.debug( + "Caching b/c of expires header. expires in {} seconds".format( + expires_time + ) + ) + self._cache_set( + cache_url, + request, + response, + body, + expires_time, + ) + + def update_cached_response( + self, request: PreparedRequest, response: HTTPResponse + ) -> HTTPResponse: + """On a 304 we will get a new set of headers that we want to + update our cached value with, assuming we have one. + + This should only ever be called when we've sent an ETag and + gotten a 304 as the response. + """ + assert request.url is not None + cache_url = self.cache_url(request.url) + cached_response = self._load_from_cache(request) + + if not cached_response: + # we didn't have a cached response + return response + + # Lets update our headers with the headers from the new request: + # http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-26#section-4.1 + # + # The server isn't supposed to send headers that would make + # the cached body invalid. But... just in case, we'll be sure + # to strip out ones we know that might be problmatic due to + # typical assumptions. + excluded_headers = ["content-length"] + + cached_response.headers.update( + { + k: v + for k, v in response.headers.items() + if k.lower() not in excluded_headers + } + ) + + # we want a 200 b/c we have content via the cache + cached_response.status = 200 + + # update our cache + self._cache_set(cache_url, request, cached_response) + + return cached_response diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py new file mode 100644 index 0000000000000000000000000000000000000000..37d2fa5915e098b430d802f5a578da309b4bf87f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py @@ -0,0 +1,119 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + +import mmap +from tempfile import NamedTemporaryFile +from typing import TYPE_CHECKING, Any, Callable + +if TYPE_CHECKING: + from http.client import HTTPResponse + + +class CallbackFileWrapper: + """ + Small wrapper around a fp object which will tee everything read into a + buffer, and when that file is closed it will execute a callback with the + contents of that buffer. + + All attributes are proxied to the underlying file object. + + This class uses members with a double underscore (__) leading prefix so as + not to accidentally shadow an attribute. + + The data is stored in a temporary file until it is all available. As long + as the temporary files directory is disk-based (sometimes it's a + memory-backed-``tmpfs`` on Linux), data will be unloaded to disk if memory + pressure is high. For small files the disk usually won't be used at all, + it'll all be in the filesystem memory cache, so there should be no + performance impact. + """ + + def __init__( + self, fp: HTTPResponse, callback: Callable[[bytes], None] | None + ) -> None: + self.__buf = NamedTemporaryFile("rb+", delete=True) + self.__fp = fp + self.__callback = callback + + def __getattr__(self, name: str) -> Any: + # The vagaries of garbage collection means that self.__fp is + # not always set. By using __getattribute__ and the private + # name[0] allows looking up the attribute value and raising an + # AttributeError when it doesn't exist. This stop things from + # infinitely recursing calls to getattr in the case where + # self.__fp hasn't been set. + # + # [0] https://docs.python.org/2/reference/expressions.html#atom-identifiers + fp = self.__getattribute__("_CallbackFileWrapper__fp") + return getattr(fp, name) + + def __is_fp_closed(self) -> bool: + try: + return self.__fp.fp is None + + except AttributeError: + pass + + try: + closed: bool = self.__fp.closed + return closed + + except AttributeError: + pass + + # We just don't cache it then. + # TODO: Add some logging here... + return False + + def _close(self) -> None: + if self.__callback: + if self.__buf.tell() == 0: + # Empty file: + result = b"" + else: + # Return the data without actually loading it into memory, + # relying on Python's buffer API and mmap(). mmap() just gives + # a view directly into the filesystem's memory cache, so it + # doesn't result in duplicate memory use. + self.__buf.seek(0, 0) + result = memoryview( + mmap.mmap(self.__buf.fileno(), 0, access=mmap.ACCESS_READ) + ) + self.__callback(result) + + # We assign this to None here, because otherwise we can get into + # really tricky problems where the CPython interpreter dead locks + # because the callback is holding a reference to something which + # has a __del__ method. Setting this to None breaks the cycle + # and allows the garbage collector to do it's thing normally. + self.__callback = None + + # Closing the temporary file releases memory and frees disk space. + # Important when caching big files. + self.__buf.close() + + def read(self, amt: int | None = None) -> bytes: + data: bytes = self.__fp.read(amt) + if data: + # We may be dealing with b'', a sign that things are over: + # it's passed e.g. after we've already closed self.__buf. + self.__buf.write(data) + if self.__is_fp_closed(): + self._close() + + return data + + def _safe_read(self, amt: int) -> bytes: + data: bytes = self.__fp._safe_read(amt) # type: ignore[attr-defined] + if amt == 2 and data == b"\r\n": + # urllib executes this read to toss the CRLF at the end + # of the chunk. + return data + + self.__buf.write(data) + if self.__is_fp_closed(): + self._close() + + return data diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py new file mode 100644 index 0000000000000000000000000000000000000000..b778c4f3f7ad5e22fca433be02a824446fb47ff5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py @@ -0,0 +1,157 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + +import calendar +import time +from datetime import datetime, timedelta, timezone +from email.utils import formatdate, parsedate, parsedate_tz +from typing import TYPE_CHECKING, Any, Mapping + +if TYPE_CHECKING: + from pip._vendor.urllib3 import HTTPResponse + +TIME_FMT = "%a, %d %b %Y %H:%M:%S GMT" + + +def expire_after(delta: timedelta, date: datetime | None = None) -> datetime: + date = date or datetime.now(timezone.utc) + return date + delta + + +def datetime_to_header(dt: datetime) -> str: + return formatdate(calendar.timegm(dt.timetuple())) + + +class BaseHeuristic: + def warning(self, response: HTTPResponse) -> str | None: + """ + Return a valid 1xx warning header value describing the cache + adjustments. + + The response is provided too allow warnings like 113 + http://tools.ietf.org/html/rfc7234#section-5.5.4 where we need + to explicitly say response is over 24 hours old. + """ + return '110 - "Response is Stale"' + + def update_headers(self, response: HTTPResponse) -> dict[str, str]: + """Update the response headers with any new headers. + + NOTE: This SHOULD always include some Warning header to + signify that the response was cached by the client, not + by way of the provided headers. + """ + return {} + + def apply(self, response: HTTPResponse) -> HTTPResponse: + updated_headers = self.update_headers(response) + + if updated_headers: + response.headers.update(updated_headers) + warning_header_value = self.warning(response) + if warning_header_value is not None: + response.headers.update({"Warning": warning_header_value}) + + return response + + +class OneDayCache(BaseHeuristic): + """ + Cache the response by providing an expires 1 day in the + future. + """ + + def update_headers(self, response: HTTPResponse) -> dict[str, str]: + headers = {} + + if "expires" not in response.headers: + date = parsedate(response.headers["date"]) + expires = expire_after( + timedelta(days=1), + date=datetime(*date[:6], tzinfo=timezone.utc), # type: ignore[index,misc] + ) + headers["expires"] = datetime_to_header(expires) + headers["cache-control"] = "public" + return headers + + +class ExpiresAfter(BaseHeuristic): + """ + Cache **all** requests for a defined time period. + """ + + def __init__(self, **kw: Any) -> None: + self.delta = timedelta(**kw) + + def update_headers(self, response: HTTPResponse) -> dict[str, str]: + expires = expire_after(self.delta) + return {"expires": datetime_to_header(expires), "cache-control": "public"} + + def warning(self, response: HTTPResponse) -> str | None: + tmpl = "110 - Automatically cached for %s. Response might be stale" + return tmpl % self.delta + + +class LastModified(BaseHeuristic): + """ + If there is no Expires header already, fall back on Last-Modified + using the heuristic from + http://tools.ietf.org/html/rfc7234#section-4.2.2 + to calculate a reasonable value. + + Firefox also does something like this per + https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching_FAQ + http://lxr.mozilla.org/mozilla-release/source/netwerk/protocol/http/nsHttpResponseHead.cpp#397 + Unlike mozilla we limit this to 24-hr. + """ + + cacheable_by_default_statuses = { + 200, + 203, + 204, + 206, + 300, + 301, + 404, + 405, + 410, + 414, + 501, + } + + def update_headers(self, resp: HTTPResponse) -> dict[str, str]: + headers: Mapping[str, str] = resp.headers + + if "expires" in headers: + return {} + + if "cache-control" in headers and headers["cache-control"] != "public": + return {} + + if resp.status not in self.cacheable_by_default_statuses: + return {} + + if "date" not in headers or "last-modified" not in headers: + return {} + + time_tuple = parsedate_tz(headers["date"]) + assert time_tuple is not None + date = calendar.timegm(time_tuple[:6]) + last_modified = parsedate(headers["last-modified"]) + if last_modified is None: + return {} + + now = time.time() + current_age = max(0, now - date) + delta = date - calendar.timegm(last_modified) + freshness_lifetime = max(0, min(delta / 10, 24 * 3600)) + if freshness_lifetime <= current_age: + return {} + + expires = date + freshness_lifetime + return {"expires": time.strftime(TIME_FMT, time.gmtime(expires))} + + def warning(self, resp: HTTPResponse) -> str | None: + return None diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/serialize.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/serialize.py new file mode 100644 index 0000000000000000000000000000000000000000..a49487a1493f9bbd160645ea4e491b4ac54a19a9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/serialize.py @@ -0,0 +1,146 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + +import io +from typing import IO, TYPE_CHECKING, Any, Mapping, cast + +from pip._vendor import msgpack +from pip._vendor.requests.structures import CaseInsensitiveDict +from pip._vendor.urllib3 import HTTPResponse + +if TYPE_CHECKING: + from pip._vendor.requests import PreparedRequest + + +class Serializer: + serde_version = "4" + + def dumps( + self, + request: PreparedRequest, + response: HTTPResponse, + body: bytes | None = None, + ) -> bytes: + response_headers: CaseInsensitiveDict[str] = CaseInsensitiveDict( + response.headers + ) + + if body is None: + # When a body isn't passed in, we'll read the response. We + # also update the response with a new file handler to be + # sure it acts as though it was never read. + body = response.read(decode_content=False) + response._fp = io.BytesIO(body) # type: ignore[assignment] + response.length_remaining = len(body) + + data = { + "response": { + "body": body, # Empty bytestring if body is stored separately + "headers": {str(k): str(v) for k, v in response.headers.items()}, + "status": response.status, + "version": response.version, + "reason": str(response.reason), + "decode_content": response.decode_content, + } + } + + # Construct our vary headers + data["vary"] = {} + if "vary" in response_headers: + varied_headers = response_headers["vary"].split(",") + for header in varied_headers: + header = str(header).strip() + header_value = request.headers.get(header, None) + if header_value is not None: + header_value = str(header_value) + data["vary"][header] = header_value + + return b",".join([f"cc={self.serde_version}".encode(), self.serialize(data)]) + + def serialize(self, data: dict[str, Any]) -> bytes: + return cast(bytes, msgpack.dumps(data, use_bin_type=True)) + + def loads( + self, + request: PreparedRequest, + data: bytes, + body_file: IO[bytes] | None = None, + ) -> HTTPResponse | None: + # Short circuit if we've been given an empty set of data + if not data: + return None + + # Previous versions of this library supported other serialization + # formats, but these have all been removed. + if not data.startswith(f"cc={self.serde_version},".encode()): + return None + + data = data[5:] + return self._loads_v4(request, data, body_file) + + def prepare_response( + self, + request: PreparedRequest, + cached: Mapping[str, Any], + body_file: IO[bytes] | None = None, + ) -> HTTPResponse | None: + """Verify our vary headers match and construct a real urllib3 + HTTPResponse object. + """ + # Special case the '*' Vary value as it means we cannot actually + # determine if the cached response is suitable for this request. + # This case is also handled in the controller code when creating + # a cache entry, but is left here for backwards compatibility. + if "*" in cached.get("vary", {}): + return None + + # Ensure that the Vary headers for the cached response match our + # request + for header, value in cached.get("vary", {}).items(): + if request.headers.get(header, None) != value: + return None + + body_raw = cached["response"].pop("body") + + headers: CaseInsensitiveDict[str] = CaseInsensitiveDict( + data=cached["response"]["headers"] + ) + if headers.get("transfer-encoding", "") == "chunked": + headers.pop("transfer-encoding") + + cached["response"]["headers"] = headers + + try: + body: IO[bytes] + if body_file is None: + body = io.BytesIO(body_raw) + else: + body = body_file + except TypeError: + # This can happen if cachecontrol serialized to v1 format (pickle) + # using Python 2. A Python 2 str(byte string) will be unpickled as + # a Python 3 str (unicode string), which will cause the above to + # fail with: + # + # TypeError: 'str' does not support the buffer interface + body = io.BytesIO(body_raw.encode("utf8")) + + # Discard any `strict` parameter serialized by older version of cachecontrol. + cached["response"].pop("strict", None) + + return HTTPResponse(body=body, preload_content=False, **cached["response"]) + + def _loads_v4( + self, + request: PreparedRequest, + data: bytes, + body_file: IO[bytes] | None = None, + ) -> HTTPResponse | None: + try: + cached = msgpack.loads(data, raw=False) + except ValueError: + return None + + return self.prepare_response(request, cached, body_file) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/wrapper.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/wrapper.py new file mode 100644 index 0000000000000000000000000000000000000000..f618bc363f12fb416b048e2a86cbddb6082874d6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/wrapper.py @@ -0,0 +1,43 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + +from typing import TYPE_CHECKING, Collection + +from pip._vendor.cachecontrol.adapter import CacheControlAdapter +from pip._vendor.cachecontrol.cache import DictCache + +if TYPE_CHECKING: + from pip._vendor import requests + + from pip._vendor.cachecontrol.cache import BaseCache + from pip._vendor.cachecontrol.controller import CacheController + from pip._vendor.cachecontrol.heuristics import BaseHeuristic + from pip._vendor.cachecontrol.serialize import Serializer + + +def CacheControl( + sess: requests.Session, + cache: BaseCache | None = None, + cache_etags: bool = True, + serializer: Serializer | None = None, + heuristic: BaseHeuristic | None = None, + controller_class: type[CacheController] | None = None, + adapter_class: type[CacheControlAdapter] | None = None, + cacheable_methods: Collection[str] | None = None, +) -> requests.Session: + cache = DictCache() if cache is None else cache + adapter_class = adapter_class or CacheControlAdapter + adapter = adapter_class( + cache, + cache_etags=cache_etags, + serializer=serializer, + heuristic=heuristic, + controller_class=controller_class, + cacheable_methods=cacheable_methods, + ) + sess.mount("http://", adapter) + sess.mount("https://", adapter) + + return sess diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e8370493f2e984e7afff459ba3ace5875b5b3a77 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__init__.py @@ -0,0 +1,4 @@ +from .core import contents, where + +__all__ = ["contents", "where"] +__version__ = "2025.07.14" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__main__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__main__.py new file mode 100644 index 0000000000000000000000000000000000000000..00376349e69ad8b9dbf401cddc34055951e4b02e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__main__.py @@ -0,0 +1,12 @@ +import argparse + +from pip._vendor.certifi import contents, where + +parser = argparse.ArgumentParser() +parser.add_argument("-c", "--contents", action="store_true") +args = parser.parse_args() + +if args.contents: + print(contents()) +else: + print(where()) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e9a7b07b706a6aebbc8344ac2bb6f2b04e5ac689 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dfb6b033d6b172fa1e036e45c52387d61c1a75b7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7a133f0922d6151a2f757ddaee05bc3de15b4f09 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/cacert.pem b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/cacert.pem new file mode 100644 index 0000000000000000000000000000000000000000..64c05d7f30a94f06650c51bfb7218c0c3cbb0814 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/cacert.pem @@ -0,0 +1,4778 @@ + +# Issuer: CN=Entrust Root Certification Authority O=Entrust, Inc. OU=www.entrust.net/CPS is incorporated by reference/(c) 2006 Entrust, Inc. +# Subject: CN=Entrust Root Certification Authority O=Entrust, Inc. OU=www.entrust.net/CPS is incorporated by reference/(c) 2006 Entrust, Inc. +# Label: "Entrust Root Certification Authority" +# Serial: 1164660820 +# MD5 Fingerprint: d6:a5:c3:ed:5d:dd:3e:00:c1:3d:87:92:1f:1d:3f:e4 +# SHA1 Fingerprint: b3:1e:b1:b7:40:e3:6c:84:02:da:dc:37:d4:4d:f5:d4:67:49:52:f9 +# SHA256 Fingerprint: 73:c1:76:43:4f:1b:c6:d5:ad:f4:5b:0e:76:e7:27:28:7c:8d:e5:76:16:c1:e6:e6:14:1a:2b:2c:bc:7d:8e:4c +-----BEGIN CERTIFICATE----- +MIIEkTCCA3mgAwIBAgIERWtQVDANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMC +VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0 +Lm5ldC9DUFMgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMW +KGMpIDIwMDYgRW50cnVzdCwgSW5jLjEtMCsGA1UEAxMkRW50cnVzdCBSb290IENl +cnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA2MTEyNzIwMjM0MloXDTI2MTEyNzIw +NTM0MlowgbAxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMTkw +NwYDVQQLEzB3d3cuZW50cnVzdC5uZXQvQ1BTIGlzIGluY29ycG9yYXRlZCBieSBy +ZWZlcmVuY2UxHzAdBgNVBAsTFihjKSAyMDA2IEVudHJ1c3QsIEluYy4xLTArBgNV +BAMTJEVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJ +KoZIhvcNAQEBBQADggEPADCCAQoCggEBALaVtkNC+sZtKm9I35RMOVcF7sN5EUFo +Nu3s/poBj6E4KPz3EEZmLk0eGrEaTsbRwJWIsMn/MYszA9u3g3s+IIRe7bJWKKf4 +4LlAcTfFy0cOlypowCKVYhXbR9n10Cv/gkvJrT7eTNuQgFA/CYqEAOwwCj0Yzfv9 +KlmaI5UXLEWeH25DeW0MXJj+SKfFI0dcXv1u5x609mhF0YaDW6KKjbHjKYD+JXGI +rb68j6xSlkuqUY3kEzEZ6E5Nn9uss2rVvDlUccp6en+Q3X0dgNmBu1kmwhH+5pPi +94DkZfs0Nw4pgHBNrziGLp5/V6+eF67rHMsoIV+2HNjnogQi+dPa2MsCAwEAAaOB +sDCBrTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zArBgNVHRAEJDAi +gA8yMDA2MTEyNzIwMjM0MlqBDzIwMjYxMTI3MjA1MzQyWjAfBgNVHSMEGDAWgBRo +kORnpKZTgMeGZqTx90tD+4S9bTAdBgNVHQ4EFgQUaJDkZ6SmU4DHhmak8fdLQ/uE +vW0wHQYJKoZIhvZ9B0EABBAwDhsIVjcuMTo0LjADAgSQMA0GCSqGSIb3DQEBBQUA +A4IBAQCT1DCw1wMgKtD5Y+iRDAUgqV8ZyntyTtSx29CW+1RaGSwMCPeyvIWonX9t +O1KzKtvn1ISMY/YPyyYBkVBs9F8U4pN0wBOeMDpQ47RgxRzwIkSNcUesyBrJ6Zua +AGAT/3B+XxFNSRuzFVJ7yVTav52Vr2ua2J7p8eRDjeIRRDq/r72DQnNSi6q7pynP +9WQcCk3RvKqsnyrQ/39/2n3qse0wJcGE2jTSW3iDVuycNsMm4hH2Z0kdkquM++v/ +eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0tHuu2guQOHXvgR1m +0vdXcDazv/wor3ElhVsT/h5/WrQ8 +-----END CERTIFICATE----- + +# Issuer: CN=QuoVadis Root CA 2 O=QuoVadis Limited +# Subject: CN=QuoVadis Root CA 2 O=QuoVadis Limited +# Label: "QuoVadis Root CA 2" +# Serial: 1289 +# MD5 Fingerprint: 5e:39:7b:dd:f8:ba:ec:82:e9:ac:62:ba:0c:54:00:2b +# SHA1 Fingerprint: ca:3a:fb:cf:12:40:36:4b:44:b2:16:20:88:80:48:39:19:93:7c:f7 +# SHA256 Fingerprint: 85:a0:dd:7d:d7:20:ad:b7:ff:05:f8:3d:54:2b:20:9d:c7:ff:45:28:f7:d6:77:b1:83:89:fe:a5:e5:c4:9e:86 +-----BEGIN CERTIFICATE----- +MIIFtzCCA5+gAwIBAgICBQkwDQYJKoZIhvcNAQEFBQAwRTELMAkGA1UEBhMCQk0x +GTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMTElF1b1ZhZGlzIFJv +b3QgQ0EgMjAeFw0wNjExMjQxODI3MDBaFw0zMTExMjQxODIzMzNaMEUxCzAJBgNV +BAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMRswGQYDVQQDExJRdW9W +YWRpcyBSb290IENBIDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCa +GMpLlA0ALa8DKYrwD4HIrkwZhR0In6spRIXzL4GtMh6QRr+jhiYaHv5+HBg6XJxg +Fyo6dIMzMH1hVBHL7avg5tKifvVrbxi3Cgst/ek+7wrGsxDp3MJGF/hd/aTa/55J +WpzmM+Yklvc/ulsrHHo1wtZn/qtmUIttKGAr79dgw8eTvI02kfN/+NsRE8Scd3bB +rrcCaoF6qUWD4gXmuVbBlDePSHFjIuwXZQeVikvfj8ZaCuWw419eaxGrDPmF60Tp ++ARz8un+XJiM9XOva7R+zdRcAitMOeGylZUtQofX1bOQQ7dsE/He3fbE+Ik/0XX1 +ksOR1YqI0JDs3G3eicJlcZaLDQP9nL9bFqyS2+r+eXyt66/3FsvbzSUr5R/7mp/i +Ucw6UwxI5g69ybR2BlLmEROFcmMDBOAENisgGQLodKcftslWZvB1JdxnwQ5hYIiz +PtGo/KPaHbDRsSNU30R2be1B2MGyIrZTHN81Hdyhdyox5C315eXbyOD/5YDXC2Og +/zOhD7osFRXql7PSorW+8oyWHhqPHWykYTe5hnMz15eWniN9gqRMgeKh0bpnX5UH +oycR7hYQe7xFSkyyBNKr79X9DFHOUGoIMfmR2gyPZFwDwzqLID9ujWc9Otb+fVuI +yV77zGHcizN300QyNQliBJIWENieJ0f7OyHj+OsdWwIDAQABo4GwMIGtMA8GA1Ud +EwEB/wQFMAMBAf8wCwYDVR0PBAQDAgEGMB0GA1UdDgQWBBQahGK8SEwzJQTU7tD2 +A8QZRtGUazBuBgNVHSMEZzBlgBQahGK8SEwzJQTU7tD2A8QZRtGUa6FJpEcwRTEL +MAkGA1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMT +ElF1b1ZhZGlzIFJvb3QgQ0EgMoICBQkwDQYJKoZIhvcNAQEFBQADggIBAD4KFk2f +BluornFdLwUvZ+YTRYPENvbzwCYMDbVHZF34tHLJRqUDGCdViXh9duqWNIAXINzn +g/iN/Ae42l9NLmeyhP3ZRPx3UIHmfLTJDQtyU/h2BwdBR5YM++CCJpNVjP4iH2Bl +fF/nJrP3MpCYUNQ3cVX2kiF495V5+vgtJodmVjB3pjd4M1IQWK4/YY7yarHvGH5K +WWPKjaJW1acvvFYfzznB4vsKqBUsfU16Y8Zsl0Q80m/DShcK+JDSV6IZUaUtl0Ha +B0+pUNqQjZRG4T7wlP0QADj1O+hA4bRuVhogzG9Yje0uRY/W6ZM/57Es3zrWIozc +hLsib9D45MY56QSIPMO661V6bYCZJPVsAfv4l7CUW+v90m/xd2gNNWQjrLhVoQPR +TUIZ3Ph1WVaj+ahJefivDrkRoHy3au000LYmYjgahwz46P0u05B/B5EqHdZ+XIWD +mbA4CD/pXvk1B+TJYm5Xf6dQlfe6yJvmjqIBxdZmv3lh8zwc4bmCXF2gw+nYSL0Z +ohEUGW6yhhtoPkg3Goi3XZZenMfvJ2II4pEZXNLxId26F0KCl3GBUzGpn/Z9Yr9y +4aOTHcyKJloJONDO1w2AFrR4pTqHTI2KpdVGl/IsELm8VCLAAVBpQ570su9t+Oza +8eOx79+Rj1QqCyXBJhnEUhAFZdWCEOrCMc0u +-----END CERTIFICATE----- + +# Issuer: CN=QuoVadis Root CA 3 O=QuoVadis Limited +# Subject: CN=QuoVadis Root CA 3 O=QuoVadis Limited +# Label: "QuoVadis Root CA 3" +# Serial: 1478 +# MD5 Fingerprint: 31:85:3c:62:94:97:63:b9:aa:fd:89:4e:af:6f:e0:cf +# SHA1 Fingerprint: 1f:49:14:f7:d8:74:95:1d:dd:ae:02:c0:be:fd:3a:2d:82:75:51:85 +# SHA256 Fingerprint: 18:f1:fc:7f:20:5d:f8:ad:dd:eb:7f:e0:07:dd:57:e3:af:37:5a:9c:4d:8d:73:54:6b:f4:f1:fe:d1:e1:8d:35 +-----BEGIN CERTIFICATE----- +MIIGnTCCBIWgAwIBAgICBcYwDQYJKoZIhvcNAQEFBQAwRTELMAkGA1UEBhMCQk0x +GTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxGzAZBgNVBAMTElF1b1ZhZGlzIFJv +b3QgQ0EgMzAeFw0wNjExMjQxOTExMjNaFw0zMTExMjQxOTA2NDRaMEUxCzAJBgNV +BAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMRswGQYDVQQDExJRdW9W +YWRpcyBSb290IENBIDMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDM +V0IWVJzmmNPTTe7+7cefQzlKZbPoFog02w1ZkXTPkrgEQK0CSzGrvI2RaNggDhoB +4hp7Thdd4oq3P5kazethq8Jlph+3t723j/z9cI8LoGe+AaJZz3HmDyl2/7FWeUUr +H556VOijKTVopAFPD6QuN+8bv+OPEKhyq1hX51SGyMnzW9os2l2ObjyjPtr7guXd +8lyyBTNvijbO0BNO/79KDDRMpsMhvVAEVeuxu537RR5kFd5VAYwCdrXLoT9Cabwv +vWhDFlaJKjdhkf2mrk7AyxRllDdLkgbvBNDInIjbC3uBr7E9KsRlOni27tyAsdLT +mZw67mtaa7ONt9XOnMK+pUsvFrGeaDsGb659n/je7Mwpp5ijJUMv7/FfJuGITfhe +btfZFG4ZM2mnO4SJk8RTVROhUXhA+LjJou57ulJCg54U7QVSWllWp5f8nT8KKdjc +T5EOE7zelaTfi5m+rJsziO+1ga8bxiJTyPbH7pcUsMV8eFLI8M5ud2CEpukqdiDt +WAEXMJPpGovgc2PZapKUSU60rUqFxKMiMPwJ7Wgic6aIDFUhWMXhOp8q3crhkODZ +c6tsgLjoC2SToJyMGf+z0gzskSaHirOi4XCPLArlzW1oUevaPwV/izLmE1xr/l9A +4iLItLRkT9a6fUg+qGkM17uGcclzuD87nSVL2v9A6wIDAQABo4IBlTCCAZEwDwYD +VR0TAQH/BAUwAwEB/zCB4QYDVR0gBIHZMIHWMIHTBgkrBgEEAb5YAAMwgcUwgZMG +CCsGAQUFBwICMIGGGoGDQW55IHVzZSBvZiB0aGlzIENlcnRpZmljYXRlIGNvbnN0 +aXR1dGVzIGFjY2VwdGFuY2Ugb2YgdGhlIFF1b1ZhZGlzIFJvb3QgQ0EgMyBDZXJ0 +aWZpY2F0ZSBQb2xpY3kgLyBDZXJ0aWZpY2F0aW9uIFByYWN0aWNlIFN0YXRlbWVu +dC4wLQYIKwYBBQUHAgEWIWh0dHA6Ly93d3cucXVvdmFkaXNnbG9iYWwuY29tL2Nw +czALBgNVHQ8EBAMCAQYwHQYDVR0OBBYEFPLAE+CCQz777i9nMpY1XNu4ywLQMG4G +A1UdIwRnMGWAFPLAE+CCQz777i9nMpY1XNu4ywLQoUmkRzBFMQswCQYDVQQGEwJC +TTEZMBcGA1UEChMQUXVvVmFkaXMgTGltaXRlZDEbMBkGA1UEAxMSUXVvVmFkaXMg +Um9vdCBDQSAzggIFxjANBgkqhkiG9w0BAQUFAAOCAgEAT62gLEz6wPJv92ZVqyM0 +7ucp2sNbtrCD2dDQ4iH782CnO11gUyeim/YIIirnv6By5ZwkajGxkHon24QRiSem +d1o417+shvzuXYO8BsbRd2sPbSQvS3pspweWyuOEn62Iix2rFo1bZhfZFvSLgNLd ++LJ2w/w4E6oM3kJpK27zPOuAJ9v1pkQNn1pVWQvVDVJIxa6f8i+AxeoyUDUSly7B +4f/xI4hROJ/yZlZ25w9Rl6VSDE1JUZU2Pb+iSwwQHYaZTKrzchGT5Or2m9qoXadN +t54CrnMAyNojA+j56hl0YgCUyyIgvpSnWbWCar6ZeXqp8kokUvd0/bpO5qgdAm6x +DYBEwa7TIzdfu4V8K5Iu6H6li92Z4b8nby1dqnuH/grdS/yO9SbkbnBCbjPsMZ57 +k8HkyWkaPcBrTiJt7qtYTcbQQcEr6k8Sh17rRdhs9ZgC06DYVYoGmRmioHfRMJ6s +zHXug/WwYjnPbFfiTNKRCw51KBuav/0aQ/HKd/s7j2G4aSgWQgRecCocIdiP4b0j +Wy10QJLZYxkNc91pvGJHvOB0K7Lrfb5BG7XARsWhIstfTsEokt4YutUqKLsRixeT +mJlglFwjz1onl14LBQaTNx47aTbrqZ5hHY8y2o4M1nQ+ewkk2gF3R8Q7zTSMmfXK +4SVhM7JZG+Ju1zdXtg2pEto= +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Assured ID Root CA O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Assured ID Root CA O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Assured ID Root CA" +# Serial: 17154717934120587862167794914071425081 +# MD5 Fingerprint: 87:ce:0b:7b:2a:0e:49:00:e1:58:71:9b:37:a8:93:72 +# SHA1 Fingerprint: 05:63:b8:63:0d:62:d7:5a:bb:c8:ab:1e:4b:df:b5:a8:99:b2:4d:43 +# SHA256 Fingerprint: 3e:90:99:b5:01:5e:8f:48:6c:00:bc:ea:9d:11:1e:e7:21:fa:ba:35:5a:89:bc:f1:df:69:56:1e:3d:c6:32:5c +-----BEGIN CERTIFICATE----- +MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv +b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl +cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwggEi +MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7c +JpSIqvTO9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYP +mDI2dsze3Tyoou9q+yHyUmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+ +wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4 +VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpyoeb6pNnVFzF1roV9Iq4/ +AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whfGHdPAgMB +AAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW +BBRF66Kv9JLLgjEtUYunpyGd823IDzAfBgNVHSMEGDAWgBRF66Kv9JLLgjEtUYun +pyGd823IDzANBgkqhkiG9w0BAQUFAAOCAQEAog683+Lt8ONyc3pklL/3cmbYMuRC +dWKuh+vy1dneVrOfzM4UKLkNl2BcEkxY5NM9g0lFWJc1aRqoR+pWxnmrEthngYTf +fwk8lOa4JiwgvT2zKIn3X/8i4peEH+ll74fg38FnSbNd67IJKusm7Xi+fT8r87cm +NW1fiQG2SVufAQWbqz0lwcy2f8Lxb4bG+mRo64EtlOtCt/qMHt1i8b5QZ7dsvfPx +H2sMNgcWfzd8qVttevESRmCD1ycEvkvOl77DZypoEd+A5wwzZr8TDRRu838fYxAe ++o0bJW1sj6W3YQGx0qMmoRBxna3iw/nDmVG3KwcIzi7mULKn+gpFL6Lw8g== +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Global Root CA O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Global Root CA O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Global Root CA" +# Serial: 10944719598952040374951832963794454346 +# MD5 Fingerprint: 79:e4:a9:84:0d:7d:3a:96:d7:c0:4f:e2:43:4c:89:2e +# SHA1 Fingerprint: a8:98:5d:3a:65:e5:e5:c4:b2:d7:d6:6d:40:c6:dd:2f:b1:9c:54:36 +# SHA256 Fingerprint: 43:48:a0:e9:44:4c:78:cb:26:5e:05:8d:5e:89:44:b4:d8:4f:96:62:bd:26:db:25:7f:89:34:a4:43:c7:01:61 +-----BEGIN CERTIFICATE----- +MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD +QTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAwMDAwMDBaMGExCzAJBgNVBAYTAlVT +MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j +b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkqhkiG +9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsB +CSDMAZOnTjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97 +nh6Vfe63SKMI2tavegw5BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt +43C/dxC//AH2hdmoRBBYMql1GNXRor5H4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7P +T19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y7vrTC0LUq7dBMtoM1O/4 +gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQABo2MwYTAO +BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbR +TLtm8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUw +DQYJKoZIhvcNAQEFBQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/Esr +hMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg +06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIttep3Sp+dWOIrWcBAI+0tKIJF +PnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls +YSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk +CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4= +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert High Assurance EV Root CA O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert High Assurance EV Root CA O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert High Assurance EV Root CA" +# Serial: 3553400076410547919724730734378100087 +# MD5 Fingerprint: d4:74:de:57:5c:39:b2:d3:9c:85:83:c5:c0:65:49:8a +# SHA1 Fingerprint: 5f:b7:ee:06:33:e2:59:db:ad:0c:4c:9a:e6:d3:8f:1a:61:c7:dc:25 +# SHA256 Fingerprint: 74:31:e5:f4:c3:c1:ce:46:90:77:4f:0b:61:e0:54:40:88:3b:a9:a0:1e:d0:0b:a6:ab:d7:80:6e:d3:b1:18:cf +-----BEGIN CERTIFICATE----- +MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j +ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL +MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3 +LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFuY2Ug +RVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm ++9S75S0tMqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTW +PNt0OKRKzE0lgvdKpVMSOO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEM +xChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFB +Ik5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQNAQTXKFx01p8VdteZOE3 +hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUeh10aUAsg +EsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQF +MAMBAf8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaA +FLE+w2kD+L9HAdSYJhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3Nec +nzyIZgYIVyHbIUf4KmeqvxgydkAQV8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6z +eM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFpmyPInngiK3BD41VHMWEZ71jF +hS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkKmNEVX58Svnw2 +Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe +vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep ++OkuE6N36B9K +-----END CERTIFICATE----- + +# Issuer: CN=SwissSign Gold CA - G2 O=SwissSign AG +# Subject: CN=SwissSign Gold CA - G2 O=SwissSign AG +# Label: "SwissSign Gold CA - G2" +# Serial: 13492815561806991280 +# MD5 Fingerprint: 24:77:d9:a8:91:d1:3b:fa:88:2d:c2:ff:f8:cd:33:93 +# SHA1 Fingerprint: d8:c5:38:8a:b7:30:1b:1b:6e:d4:7a:e6:45:25:3a:6f:9f:1a:27:61 +# SHA256 Fingerprint: 62:dd:0b:e9:b9:f5:0a:16:3e:a0:f8:e7:5c:05:3b:1e:ca:57:ea:55:c8:68:8f:64:7c:68:81:f2:c8:35:7b:95 +-----BEGIN CERTIFICATE----- +MIIFujCCA6KgAwIBAgIJALtAHEP1Xk+wMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV +BAYTAkNIMRUwEwYDVQQKEwxTd2lzc1NpZ24gQUcxHzAdBgNVBAMTFlN3aXNzU2ln +biBHb2xkIENBIC0gRzIwHhcNMDYxMDI1MDgzMDM1WhcNMzYxMDI1MDgzMDM1WjBF +MQswCQYDVQQGEwJDSDEVMBMGA1UEChMMU3dpc3NTaWduIEFHMR8wHQYDVQQDExZT +d2lzc1NpZ24gR29sZCBDQSAtIEcyMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC +CgKCAgEAr+TufoskDhJuqVAtFkQ7kpJcyrhdhJJCEyq8ZVeCQD5XJM1QiyUqt2/8 +76LQwB8CJEoTlo8jE+YoWACjR8cGp4QjK7u9lit/VcyLwVcfDmJlD909Vopz2q5+ +bbqBHH5CjCA12UNNhPqE21Is8w4ndwtrvxEvcnifLtg+5hg3Wipy+dpikJKVyh+c +6bM8K8vzARO/Ws/BtQpgvd21mWRTuKCWs2/iJneRjOBiEAKfNA+k1ZIzUd6+jbqE +emA8atufK+ze3gE/bk3lUIbLtK/tREDFylqM2tIrfKjuvqblCqoOpd8FUrdVxyJd +MmqXl2MT28nbeTZ7hTpKxVKJ+STnnXepgv9VHKVxaSvRAiTysybUa9oEVeXBCsdt +MDeQKuSeFDNeFhdVxVu1yzSJkvGdJo+hB9TGsnhQ2wwMC3wLjEHXuendjIj3o02y +MszYF9rNt85mndT9Xv+9lz4pded+p2JYryU0pUHHPbwNUMoDAw8IWh+Vc3hiv69y +FGkOpeUDDniOJihC8AcLYiAQZzlG+qkDzAQ4embvIIO1jEpWjpEA/I5cgt6IoMPi +aG59je883WX0XaxR7ySArqpWl2/5rX3aYT+YdzylkbYcjCbaZaIJbcHiVOO5ykxM +gI93e2CaHt+28kgeDrpOVG2Y4OGiGqJ3UM/EY5LsRxmd6+ZrzsECAwEAAaOBrDCB +qTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUWyV7 +lqRlUX64OfPAeGZe6Drn8O4wHwYDVR0jBBgwFoAUWyV7lqRlUX64OfPAeGZe6Drn +8O4wRgYDVR0gBD8wPTA7BglghXQBWQECAQEwLjAsBggrBgEFBQcCARYgaHR0cDov +L3JlcG9zaXRvcnkuc3dpc3NzaWduLmNvbS8wDQYJKoZIhvcNAQEFBQADggIBACe6 +45R88a7A3hfm5djV9VSwg/S7zV4Fe0+fdWavPOhWfvxyeDgD2StiGwC5+OlgzczO +UYrHUDFu4Up+GC9pWbY9ZIEr44OE5iKHjn3g7gKZYbge9LgriBIWhMIxkziWMaa5 +O1M/wySTVltpkuzFwbs4AOPsF6m43Md8AYOfMke6UiI0HTJ6CVanfCU2qT1L2sCC +bwq7EsiHSycR+R4tx5M/nttfJmtS2S6K8RTGRI0Vqbe/vd6mGu6uLftIdxf+u+yv +GPUqUfA5hJeVbG4bwyvEdGB5JbAKJ9/fXtI5z0V9QkvfsywexcZdylU6oJxpmo/a +77KwPJ+HbBIrZXAVUjEaJM9vMSNQH4xPjyPDdEFjHFWoFN0+4FFQz/EbMFYOkrCC +hdiDyyJkvC24JdVUorgG6q2SpCSgwYa1ShNqR88uC1aVVMvOmttqtKay20EIhid3 +92qgQmwLOM7XdVAyksLfKzAiSNDVQTglXaTpXZ/GlHXQRf0wl0OPkKsKx4ZzYEpp +Ld6leNcG2mqeSz53OiATIgHQv2ieY2BrNU0LbbqhPcCT4H8js1WtciVORvnSFu+w +ZMEBnunKoGqYDs/YYPIvSbjkQuE4NRb0yG5P94FW6LqjviOvrv1vA+ACOzB2+htt +Qc8Bsem4yWb02ybzOqR08kkkW8mw0FfB+j564ZfJ +-----END CERTIFICATE----- + +# Issuer: CN=SecureTrust CA O=SecureTrust Corporation +# Subject: CN=SecureTrust CA O=SecureTrust Corporation +# Label: "SecureTrust CA" +# Serial: 17199774589125277788362757014266862032 +# MD5 Fingerprint: dc:32:c3:a7:6d:25:57:c7:68:09:9d:ea:2d:a9:a2:d1 +# SHA1 Fingerprint: 87:82:c6:c3:04:35:3b:cf:d2:96:92:d2:59:3e:7d:44:d9:34:ff:11 +# SHA256 Fingerprint: f1:c1:b5:0a:e5:a2:0d:d8:03:0e:c9:f6:bc:24:82:3d:d3:67:b5:25:57:59:b4:e7:1b:61:fc:e9:f7:37:5d:73 +-----BEGIN CERTIFICATE----- +MIIDuDCCAqCgAwIBAgIQDPCOXAgWpa1Cf/DrJxhZ0DANBgkqhkiG9w0BAQUFADBI +MQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24x +FzAVBgNVBAMTDlNlY3VyZVRydXN0IENBMB4XDTA2MTEwNzE5MzExOFoXDTI5MTIz +MTE5NDA1NVowSDELMAkGA1UEBhMCVVMxIDAeBgNVBAoTF1NlY3VyZVRydXN0IENv +cnBvcmF0aW9uMRcwFQYDVQQDEw5TZWN1cmVUcnVzdCBDQTCCASIwDQYJKoZIhvcN +AQEBBQADggEPADCCAQoCggEBAKukgeWVzfX2FI7CT8rU4niVWJxB4Q2ZQCQXOZEz +Zum+4YOvYlyJ0fwkW2Gz4BERQRwdbvC4u/jep4G6pkjGnx29vo6pQT64lO0pGtSO +0gMdA+9tDWccV9cGrcrI9f4Or2YlSASWC12juhbDCE/RRvgUXPLIXgGZbf2IzIao +wW8xQmxSPmjL8xk037uHGFaAJsTQ3MBv396gwpEWoGQRS0S8Hvbn+mPeZqx2pHGj +7DaUaHp3pLHnDi+BeuK1cobvomuL8A/b01k/unK8RCSc43Oz969XL0Imnal0ugBS +8kvNU3xHCzaFDmapCJcWNFfBZveA4+1wVMeT4C4oFVmHursCAwEAAaOBnTCBmjAT +BgkrBgEEAYI3FAIEBh4EAEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB +/zAdBgNVHQ4EFgQUQjK2FvoE/f5dS3rD/fdMQB1aQ68wNAYDVR0fBC0wKzApoCeg +JYYjaHR0cDovL2NybC5zZWN1cmV0cnVzdC5jb20vU1RDQS5jcmwwEAYJKwYBBAGC +NxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADggEBADDtT0rhWDpSclu1pqNlGKa7UTt3 +6Z3q059c4EVlew3KW+JwULKUBRSuSceNQQcSc5R+DCMh/bwQf2AQWnL1mA6s7Ll/ +3XpvXdMc9P+IBWlCqQVxyLesJugutIxq/3HcuLHfmbx8IVQr5Fiiu1cprp6poxkm +D5kuCLDv/WnPmRoJjeOnnyvJNjR7JLN4TJUXpAYmHrZkUjZfYGfZnMUFdAvnZyPS +CPyI6a6Lf+Ew9Dd+/cYy2i2eRDAwbO4H3tI0/NL/QPZL9GZGBlSm8jIKYyYwa5vR +3ItHuuG51WLQoqD0ZwV4KWMabwTW+MZMo5qxN7SN5ShLHZ4swrhovO0C7jE= +-----END CERTIFICATE----- + +# Issuer: CN=Secure Global CA O=SecureTrust Corporation +# Subject: CN=Secure Global CA O=SecureTrust Corporation +# Label: "Secure Global CA" +# Serial: 9751836167731051554232119481456978597 +# MD5 Fingerprint: cf:f4:27:0d:d4:ed:dc:65:16:49:6d:3d:da:bf:6e:de +# SHA1 Fingerprint: 3a:44:73:5a:e5:81:90:1f:24:86:61:46:1e:3b:9c:c4:5f:f5:3a:1b +# SHA256 Fingerprint: 42:00:f5:04:3a:c8:59:0e:bb:52:7d:20:9e:d1:50:30:29:fb:cb:d4:1c:a1:b5:06:ec:27:f1:5a:de:7d:ac:69 +-----BEGIN CERTIFICATE----- +MIIDvDCCAqSgAwIBAgIQB1YipOjUiolN9BPI8PjqpTANBgkqhkiG9w0BAQUFADBK +MQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24x +GTAXBgNVBAMTEFNlY3VyZSBHbG9iYWwgQ0EwHhcNMDYxMTA3MTk0MjI4WhcNMjkx +MjMxMTk1MjA2WjBKMQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3Qg +Q29ycG9yYXRpb24xGTAXBgNVBAMTEFNlY3VyZSBHbG9iYWwgQ0EwggEiMA0GCSqG +SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvNS7YrGxVaQZx5RNoJLNP2MwhR/jxYDiJ +iQPpvepeRlMJ3Fz1Wuj3RSoC6zFh1ykzTM7HfAo3fg+6MpjhHZevj8fcyTiW89sa +/FHtaMbQbqR8JNGuQsiWUGMu4P51/pinX0kuleM5M2SOHqRfkNJnPLLZ/kG5VacJ +jnIFHovdRIWCQtBJwB1g8NEXLJXr9qXBkqPFwqcIYA1gBBCWeZ4WNOaptvolRTnI +HmX5k/Wq8VLcmZg9pYYaDDUz+kulBAYVHDGA76oYa8J719rO+TMg1fW9ajMtgQT7 +sFzUnKPiXB3jqUJ1XnvUd+85VLrJChgbEplJL4hL/VBi0XPnj3pDAgMBAAGjgZ0w +gZowEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0PBAQDAgGGMA8GA1UdEwEB/wQF +MAMBAf8wHQYDVR0OBBYEFK9EBMJBfkiD2045AuzshHrmzsmkMDQGA1UdHwQtMCsw +KaAnoCWGI2h0dHA6Ly9jcmwuc2VjdXJldHJ1c3QuY29tL1NHQ0EuY3JsMBAGCSsG +AQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBBQUAA4IBAQBjGghAfaReUw132HquHw0L +URYD7xh8yOOvaliTFGCRsoTciE6+OYo68+aCiV0BN7OrJKQVDpI1WkpEXk5X+nXO +H0jOZvQ8QCaSmGwb7iRGDBezUqXbpZGRzzfTb+cnCDpOGR86p1hcF895P4vkp9Mm +I50mD1hp/Ed+stCNi5O/KU9DaXR2Z0vPB4zmAve14bRDtUstFJ/53CYNv6ZHdAbY +iNE6KTCEztI5gGIbqMdXSbxqVVFnFUq+NQfk1XWYN3kwFNspnWzFacxHVaIw98xc +f8LDmBxrThaA63p4ZUWiABqvDA1VZDRIuJK58bRQKfJPIx/abKwfROHdI3hRW8cW +-----END CERTIFICATE----- + +# Issuer: CN=COMODO Certification Authority O=COMODO CA Limited +# Subject: CN=COMODO Certification Authority O=COMODO CA Limited +# Label: "COMODO Certification Authority" +# Serial: 104350513648249232941998508985834464573 +# MD5 Fingerprint: 5c:48:dc:f7:42:72:ec:56:94:6d:1c:cc:71:35:80:75 +# SHA1 Fingerprint: 66:31:bf:9e:f7:4f:9e:b6:c9:d5:a6:0c:ba:6a:be:d1:f7:bd:ef:7b +# SHA256 Fingerprint: 0c:2c:d6:3d:f7:80:6f:a3:99:ed:e8:09:11:6b:57:5b:f8:79:89:f0:65:18:f9:80:8c:86:05:03:17:8b:af:66 +-----BEGIN CERTIFICATE----- +MIIEHTCCAwWgAwIBAgIQToEtioJl4AsC7j41AkblPTANBgkqhkiG9w0BAQUFADCB +gTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G +A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxJzAlBgNV +BAMTHkNPTU9ETyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjEyMDEwMDAw +MDBaFw0yOTEyMzEyMzU5NTlaMIGBMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3Jl +YXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01P +RE8gQ0EgTGltaXRlZDEnMCUGA1UEAxMeQ09NT0RPIENlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0ECLi3LjkRv3 +UcEbVASY06m/weaKXTuH+7uIzg3jLz8GlvCiKVCZrts7oVewdFFxze1CkU1B/qnI +2GqGd0S7WWaXUF601CxwRM/aN5VCaTwwxHGzUvAhTaHYujl8HJ6jJJ3ygxaYqhZ8 +Q5sVW7euNJH+1GImGEaaP+vB+fGQV+useg2L23IwambV4EajcNxo2f8ESIl33rXp ++2dtQem8Ob0y2WIC8bGoPW43nOIv4tOiJovGuFVDiOEjPqXSJDlqR6sA1KGzqSX+ +DT+nHbrTUcELpNqsOO9VUCQFZUaTNE8tja3G1CEZ0o7KBWFxB3NH5YoZEr0ETc5O +nKVIrLsm9wIDAQABo4GOMIGLMB0GA1UdDgQWBBQLWOWLxkwVN6RAqTCpIb5HNlpW +/zAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zBJBgNVHR8EQjBAMD6g +PKA6hjhodHRwOi8vY3JsLmNvbW9kb2NhLmNvbS9DT01PRE9DZXJ0aWZpY2F0aW9u +QXV0aG9yaXR5LmNybDANBgkqhkiG9w0BAQUFAAOCAQEAPpiem/Yb6dc5t3iuHXIY +SdOH5EOC6z/JqvWote9VfCFSZfnVDeFs9D6Mk3ORLgLETgdxb8CPOGEIqB6BCsAv +IC9Bi5HcSEW88cbeunZrM8gALTFGTO3nnc+IlP8zwFboJIYmuNg4ON8qa90SzMc/ +RxdMosIGlgnW2/4/PEZB31jiVg88O8EckzXZOFKs7sjsLjBOlDW0JB9LeGna8gI4 +zJVSk/BwJVmcIGfE7vmLV2H0knZ9P4SNVbfo5azV8fUZVqZa+5Acr5Pr5RzUZ5dd +BA6+C4OmF4O5MBKgxTMVBbkN+8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IB +ZQ== +-----END CERTIFICATE----- + +# Issuer: CN=COMODO ECC Certification Authority O=COMODO CA Limited +# Subject: CN=COMODO ECC Certification Authority O=COMODO CA Limited +# Label: "COMODO ECC Certification Authority" +# Serial: 41578283867086692638256921589707938090 +# MD5 Fingerprint: 7c:62:ff:74:9d:31:53:5e:68:4a:d5:78:aa:1e:bf:23 +# SHA1 Fingerprint: 9f:74:4e:9f:2b:4d:ba:ec:0f:31:2c:50:b6:56:3b:8e:2d:93:c3:11 +# SHA256 Fingerprint: 17:93:92:7a:06:14:54:97:89:ad:ce:2f:8f:34:f7:f0:b6:6d:0f:3a:e3:a3:b8:4d:21:ec:15:db:ba:4f:ad:c7 +-----BEGIN CERTIFICATE----- +MIICiTCCAg+gAwIBAgIQH0evqmIAcFBUTAGem2OZKjAKBggqhkjOPQQDAzCBhTEL +MAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE +BxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMT +IkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDgwMzA2MDAw +MDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdy +ZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09N +T0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlv +biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQDR3svdcmCFYX7deSR +FtSrYpn1PlILBs5BAH+X4QokPB0BBO490o0JlwzgdeT6+3eKKvUDYEs2ixYjFq0J +cfRK9ChQtP6IHG4/bC8vCVlbpVsLM5niwz2J+Wos77LTBumjQjBAMB0GA1UdDgQW +BBR1cacZSBm8nZ3qQUfflMRId5nTeTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/ +BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjEA7wNbeqy3eApyt4jf/7VGFAkK+qDm +fQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdv +GDeAU/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY= +-----END CERTIFICATE----- + +# Issuer: CN=Certigna O=Dhimyotis +# Subject: CN=Certigna O=Dhimyotis +# Label: "Certigna" +# Serial: 18364802974209362175 +# MD5 Fingerprint: ab:57:a6:5b:7d:42:82:19:b5:d8:58:26:28:5e:fd:ff +# SHA1 Fingerprint: b1:2e:13:63:45:86:a4:6f:1a:b2:60:68:37:58:2d:c4:ac:fd:94:97 +# SHA256 Fingerprint: e3:b6:a2:db:2e:d7:ce:48:84:2f:7a:c5:32:41:c7:b7:1d:54:14:4b:fb:40:c1:1f:3f:1d:0b:42:f5:ee:a1:2d +-----BEGIN CERTIFICATE----- +MIIDqDCCApCgAwIBAgIJAP7c4wEPyUj/MA0GCSqGSIb3DQEBBQUAMDQxCzAJBgNV +BAYTAkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hMB4X +DTA3MDYyOTE1MTMwNVoXDTI3MDYyOTE1MTMwNVowNDELMAkGA1UEBhMCRlIxEjAQ +BgNVBAoMCURoaW15b3RpczERMA8GA1UEAwwIQ2VydGlnbmEwggEiMA0GCSqGSIb3 +DQEBAQUAA4IBDwAwggEKAoIBAQDIaPHJ1tazNHUmgh7stL7qXOEm7RFHYeGifBZ4 +QCHkYJ5ayGPhxLGWkv8YbWkj4Sti993iNi+RB7lIzw7sebYs5zRLcAglozyHGxny +gQcPOJAZ0xH+hrTy0V4eHpbNgGzOOzGTtvKg0KmVEn2lmsxryIRWijOp5yIVUxbw +zBfsV1/pogqYCd7jX5xv3EjjhQsVWqa6n6xI4wmy9/Qy3l40vhx4XUJbzg4ij02Q +130yGLMLLGq/jj8UEYkgDncUtT2UCIf3JR7VsmAA7G8qKCVuKj4YYxclPz5EIBb2 +JsglrgVKtOdjLPOMFlN+XPsRGgjBRmKfIrjxwo1p3Po6WAbfAgMBAAGjgbwwgbkw +DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUGu3+QTmQtCRZvgHyUtVF9lo53BEw +ZAYDVR0jBF0wW4AUGu3+QTmQtCRZvgHyUtVF9lo53BGhOKQ2MDQxCzAJBgNVBAYT +AkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hggkA/tzj +AQ/JSP8wDgYDVR0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzANBgkqhkiG +9w0BAQUFAAOCAQEAhQMeknH2Qq/ho2Ge6/PAD/Kl1NqV5ta+aDY9fm4fTIrv0Q8h +bV6lUmPOEvjvKtpv6zf+EwLHyzs+ImvaYS5/1HI93TDhHkxAGYwP15zRgzB7mFnc +fca5DClMoTOi62c6ZYTTluLtdkVwj7Ur3vkj1kluPBS1xp81HlDQwY9qcEQCYsuu +HWhBp6pX6FOqB9IG9tUUBguRA3UsbHK1YZWaDYu5Def131TN3ubY1gkIl2PlwS6w +t0QmwCbAr1UwnjvVNioZBPRcHv/PLLf/0P2HQBHVESO7SMAhqaQoLf0V+LBOK/Qw +WyH8EZE0vkHve52Xdf+XlcCWWC/qu0bXu+TZLg== +-----END CERTIFICATE----- + +# Issuer: O=Chunghwa Telecom Co., Ltd. OU=ePKI Root Certification Authority +# Subject: O=Chunghwa Telecom Co., Ltd. OU=ePKI Root Certification Authority +# Label: "ePKI Root Certification Authority" +# Serial: 28956088682735189655030529057352760477 +# MD5 Fingerprint: 1b:2e:00:ca:26:06:90:3d:ad:fe:6f:15:68:d3:6b:b3 +# SHA1 Fingerprint: 67:65:0d:f1:7e:8e:7e:5b:82:40:a4:f4:56:4b:cf:e2:3d:69:c6:f0 +# SHA256 Fingerprint: c0:a6:f4:dc:63:a2:4b:fd:cf:54:ef:2a:6a:08:2a:0a:72:de:35:80:3e:2f:f5:ff:52:7a:e5:d8:72:06:df:d5 +-----BEGIN CERTIFICATE----- +MIIFsDCCA5igAwIBAgIQFci9ZUdcr7iXAF7kBtK8nTANBgkqhkiG9w0BAQUFADBe +MQswCQYDVQQGEwJUVzEjMCEGA1UECgwaQ2h1bmdod2EgVGVsZWNvbSBDby4sIEx0 +ZC4xKjAoBgNVBAsMIWVQS0kgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAe +Fw0wNDEyMjAwMjMxMjdaFw0zNDEyMjAwMjMxMjdaMF4xCzAJBgNVBAYTAlRXMSMw +IQYDVQQKDBpDaHVuZ2h3YSBUZWxlY29tIENvLiwgTHRkLjEqMCgGA1UECwwhZVBL +SSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkqhkiG9w0BAQEF +AAOCAg8AMIICCgKCAgEA4SUP7o3biDN1Z82tH306Tm2d0y8U82N0ywEhajfqhFAH +SyZbCUNsIZ5qyNUD9WBpj8zwIuQf5/dqIjG3LBXy4P4AakP/h2XGtRrBp0xtInAh +ijHyl3SJCRImHJ7K2RKilTza6We/CKBk49ZCt0Xvl/T29de1ShUCWH2YWEtgvM3X +DZoTM1PRYfl61dd4s5oz9wCGzh1NlDivqOx4UXCKXBCDUSH3ET00hl7lSM2XgYI1 +TBnsZfZrxQWh7kcT1rMhJ5QQCtkkO7q+RBNGMD+XPNjX12ruOzjjK9SXDrkb5wdJ +fzcq+Xd4z1TtW0ado4AOkUPB1ltfFLqfpo0kR0BZv3I4sjZsN/+Z0V0OWQqraffA +sgRFelQArr5T9rXn4fg8ozHSqf4hUmTFpmfwdQcGlBSBVcYn5AGPF8Fqcde+S/uU +WH1+ETOxQvdibBjWzwloPn9s9h6PYq2lY9sJpx8iQkEeb5mKPtf5P0B6ebClAZLS +nT0IFaUQAS2zMnaolQ2zepr7BxB4EW/hj8e6DyUadCrlHJhBmd8hh+iVBmoKs2pH +dmX2Os+PYhcZewoozRrSgx4hxyy/vv9haLdnG7t4TY3OZ+XkwY63I2binZB1NJip +NiuKmpS5nezMirH4JYlcWrYvjB9teSSnUmjDhDXiZo1jDiVN1Rmy5nk3pyKdVDEC +AwEAAaNqMGgwHQYDVR0OBBYEFB4M97Zn8uGSJglFwFU5Lnc/QkqiMAwGA1UdEwQF +MAMBAf8wOQYEZyoHAAQxMC8wLQIBADAJBgUrDgMCGgUAMAcGBWcqAwAABBRFsMLH +ClZ87lt4DJX5GFPBphzYEDANBgkqhkiG9w0BAQUFAAOCAgEACbODU1kBPpVJufGB +uvl2ICO1J2B01GqZNF5sAFPZn/KmsSQHRGoqxqWOeBLoR9lYGxMqXnmbnwoqZ6Yl +PwZpVnPDimZI+ymBV3QGypzqKOg4ZyYr8dW1P2WT+DZdjo2NQCCHGervJ8A9tDkP +JXtoUHRVnAxZfVo9QZQlUgjgRywVMRnVvwdVxrsStZf0X4OFunHB2WyBEXYKCrC/ +gpf36j36+uwtqSiUO1bd0lEursC9CBWMd1I0ltabrNMdjmEPNXubrjlpC2JgQCA2 +j6/7Nu4tCEoduL+bXPjqpRugc6bY+G7gMwRfaKonh+3ZwZCc7b3jajWvY9+rGNm6 +5ulK6lCKD2GTHuItGeIwlDWSXQ62B68ZgI9HkFFLLk3dheLSClIKF5r8GrBQAuUB +o2M3IUxExJtRmREOc5wGj1QupyheRDmHVi03vYVElOEMSyycw5KFNGHLD7ibSkNS +/jQ6fbjpKdx2qcgw+BRxgMYeNkh0IkFch4LoGHGLQYlE535YW6i4jRPpp2zDR+2z +Gp1iro2C6pSe3VkQw63d4k3jMdXH7OjysP6SHhYKGvzZ8/gntsm+HbRsZJB/9OTE +W9c3rkIO3aQab3yIVMUWbuF6aC74Or8NpDyJO3inTmODBCEIZ43ygknQW/2xzQ+D +hNQ+IIX3Sj0rnP0qCglN6oH4EZw= +-----END CERTIFICATE----- + +# Issuer: O=certSIGN OU=certSIGN ROOT CA +# Subject: O=certSIGN OU=certSIGN ROOT CA +# Label: "certSIGN ROOT CA" +# Serial: 35210227249154 +# MD5 Fingerprint: 18:98:c0:d6:e9:3a:fc:f9:b0:f5:0c:f7:4b:01:44:17 +# SHA1 Fingerprint: fa:b7:ee:36:97:26:62:fb:2d:b0:2a:f6:bf:03:fd:e8:7c:4b:2f:9b +# SHA256 Fingerprint: ea:a9:62:c4:fa:4a:6b:af:eb:e4:15:19:6d:35:1c:cd:88:8d:4f:53:f3:fa:8a:e6:d7:c4:66:a9:4e:60:42:bb +-----BEGIN CERTIFICATE----- +MIIDODCCAiCgAwIBAgIGIAYFFnACMA0GCSqGSIb3DQEBBQUAMDsxCzAJBgNVBAYT +AlJPMREwDwYDVQQKEwhjZXJ0U0lHTjEZMBcGA1UECxMQY2VydFNJR04gUk9PVCBD +QTAeFw0wNjA3MDQxNzIwMDRaFw0zMTA3MDQxNzIwMDRaMDsxCzAJBgNVBAYTAlJP +MREwDwYDVQQKEwhjZXJ0U0lHTjEZMBcGA1UECxMQY2VydFNJR04gUk9PVCBDQTCC +ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALczuX7IJUqOtdu0KBuqV5Do +0SLTZLrTk+jUrIZhQGpgV2hUhE28alQCBf/fm5oqrl0Hj0rDKH/v+yv6efHHrfAQ +UySQi2bJqIirr1qjAOm+ukbuW3N7LBeCgV5iLKECZbO9xSsAfsT8AzNXDe3i+s5d +RdY4zTW2ssHQnIFKquSyAVwdj1+ZxLGt24gh65AIgoDzMKND5pCCrlUoSe1b16kQ +OA7+j0xbm0bqQfWwCHTD0IgztnzXdN/chNFDDnU5oSVAKOp4yw4sLjmdjItuFhwv +JoIQ4uNllAoEwF73XVv4EOLQunpL+943AAAaWyjj0pxzPjKHmKHJUS/X3qwzs08C +AwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAcYwHQYDVR0O +BBYEFOCMm9slSbPxfIbWskKHC9BroNnkMA0GCSqGSIb3DQEBBQUAA4IBAQA+0hyJ +LjX8+HXd5n9liPRyTMks1zJO890ZeUe9jjtbkw9QSSQTaxQGcu8J06Gh40CEyecY +MnQ8SG4Pn0vU9x7Tk4ZkVJdjclDVVc/6IJMCopvDI5NOFlV2oHB5bc0hH88vLbwZ +44gx+FkagQnIl6Z0x2DEW8xXjrJ1/RsCCdtZb3KTafcxQdaIOL+Hsr0Wefmq5L6I +Jd1hJyMctTEHBDa0GpC9oHRxUIltvBTjD4au8as+x6AJzKNI0eDbZOeStc+vckNw +i/nDhDwTqn6Sm1dTk/pwwpEOMfmbZ13pljheX7NzTogVZ96edhBiIL5VaZVDADlN +9u6wWk5JRFRYX0KD +-----END CERTIFICATE----- + +# Issuer: CN=NetLock Arany (Class Gold) F\u0151tan\xfas\xedtv\xe1ny O=NetLock Kft. OU=Tan\xfas\xedtv\xe1nykiad\xf3k (Certification Services) +# Subject: CN=NetLock Arany (Class Gold) F\u0151tan\xfas\xedtv\xe1ny O=NetLock Kft. OU=Tan\xfas\xedtv\xe1nykiad\xf3k (Certification Services) +# Label: "NetLock Arany (Class Gold) F\u0151tan\xfas\xedtv\xe1ny" +# Serial: 80544274841616 +# MD5 Fingerprint: c5:a1:b7:ff:73:dd:d6:d7:34:32:18:df:fc:3c:ad:88 +# SHA1 Fingerprint: 06:08:3f:59:3f:15:a1:04:a0:69:a4:6b:a9:03:d0:06:b7:97:09:91 +# SHA256 Fingerprint: 6c:61:da:c3:a2:de:f0:31:50:6b:e0:36:d2:a6:fe:40:19:94:fb:d1:3d:f9:c8:d4:66:59:92:74:c4:46:ec:98 +-----BEGIN CERTIFICATE----- +MIIEFTCCAv2gAwIBAgIGSUEs5AAQMA0GCSqGSIb3DQEBCwUAMIGnMQswCQYDVQQG +EwJIVTERMA8GA1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5ldExvY2sgS2Z0LjE3 +MDUGA1UECwwuVGFuw7pzw610dsOhbnlraWFkw7NrIChDZXJ0aWZpY2F0aW9uIFNl +cnZpY2VzKTE1MDMGA1UEAwwsTmV0TG9jayBBcmFueSAoQ2xhc3MgR29sZCkgRsWR +dGFuw7pzw610dsOhbnkwHhcNMDgxMjExMTUwODIxWhcNMjgxMjA2MTUwODIxWjCB +pzELMAkGA1UEBhMCSFUxETAPBgNVBAcMCEJ1ZGFwZXN0MRUwEwYDVQQKDAxOZXRM +b2NrIEtmdC4xNzA1BgNVBAsMLlRhbsO6c8OtdHbDoW55a2lhZMOzayAoQ2VydGlm +aWNhdGlvbiBTZXJ2aWNlcykxNTAzBgNVBAMMLE5ldExvY2sgQXJhbnkgKENsYXNz +IEdvbGQpIEbFkXRhbsO6c8OtdHbDoW55MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A +MIIBCgKCAQEAxCRec75LbRTDofTjl5Bu0jBFHjzuZ9lk4BqKf8owyoPjIMHj9DrT +lF8afFttvzBPhCf2nx9JvMaZCpDyD/V/Q4Q3Y1GLeqVw/HpYzY6b7cNGbIRwXdrz +AZAj/E4wqX7hJ2Pn7WQ8oLjJM2P+FpD/sLj916jAwJRDC7bVWaaeVtAkH3B5r9s5 +VA1lddkVQZQBr17s9o3x/61k/iCa11zr/qYfCGSji3ZVrR47KGAuhyXoqq8fxmRG +ILdwfzzeSNuWU7c5d+Qa4scWhHaXWy+7GRWF+GmF9ZmnqfI0p6m2pgP8b4Y9VHx2 +BJtr+UBdADTHLpl1neWIA6pN+APSQnbAGwIDAKiLo0UwQzASBgNVHRMBAf8ECDAG +AQH/AgEEMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUzPpnk/C2uNClwB7zU/2M +U9+D15YwDQYJKoZIhvcNAQELBQADggEBAKt/7hwWqZw8UQCgwBEIBaeZ5m8BiFRh +bvG5GK1Krf6BQCOUL/t1fC8oS2IkgYIL9WHxHG64YTjrgfpioTtaYtOUZcTh5m2C ++C8lcLIhJsFyUR+MLMOEkMNaj7rP9KdlpeuY0fsFskZ1FSNqb4VjMIDw1Z4fKRzC +bLBQWV2QWzuoDTDPv31/zvGdg73JRm4gpvlhUbohL3u+pRVjodSVh/GeufOJ8z2F +uLjbvrW5KfnaNwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2 +XjG4Kvte9nHfRCaexOYNkbQudZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E= +-----END CERTIFICATE----- + +# Issuer: CN=Microsec e-Szigno Root CA 2009 O=Microsec Ltd. +# Subject: CN=Microsec e-Szigno Root CA 2009 O=Microsec Ltd. +# Label: "Microsec e-Szigno Root CA 2009" +# Serial: 14014712776195784473 +# MD5 Fingerprint: f8:49:f4:03:bc:44:2d:83:be:48:69:7d:29:64:fc:b1 +# SHA1 Fingerprint: 89:df:74:fe:5c:f4:0f:4a:80:f9:e3:37:7d:54:da:91:e1:01:31:8e +# SHA256 Fingerprint: 3c:5f:81:fe:a5:fa:b8:2c:64:bf:a2:ea:ec:af:cd:e8:e0:77:fc:86:20:a7:ca:e5:37:16:3d:f3:6e:db:f3:78 +-----BEGIN CERTIFICATE----- +MIIECjCCAvKgAwIBAgIJAMJ+QwRORz8ZMA0GCSqGSIb3DQEBCwUAMIGCMQswCQYD +VQQGEwJIVTERMA8GA1UEBwwIQnVkYXBlc3QxFjAUBgNVBAoMDU1pY3Jvc2VjIEx0 +ZC4xJzAlBgNVBAMMHk1pY3Jvc2VjIGUtU3ppZ25vIFJvb3QgQ0EgMjAwOTEfMB0G +CSqGSIb3DQEJARYQaW5mb0BlLXN6aWduby5odTAeFw0wOTA2MTYxMTMwMThaFw0y +OTEyMzAxMTMwMThaMIGCMQswCQYDVQQGEwJIVTERMA8GA1UEBwwIQnVkYXBlc3Qx +FjAUBgNVBAoMDU1pY3Jvc2VjIEx0ZC4xJzAlBgNVBAMMHk1pY3Jvc2VjIGUtU3pp +Z25vIFJvb3QgQ0EgMjAwOTEfMB0GCSqGSIb3DQEJARYQaW5mb0BlLXN6aWduby5o +dTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOn4j/NjrdqG2KfgQvvP +kd6mJviZpWNwrZuuyjNAfW2WbqEORO7hE52UQlKavXWFdCyoDh2Tthi3jCyoz/tc +cbna7P7ofo/kLx2yqHWH2Leh5TvPmUpG0IMZfcChEhyVbUr02MelTTMuhTlAdX4U +fIASmFDHQWe4oIBhVKZsTh/gnQ4H6cm6M+f+wFUoLAKApxn1ntxVUwOXewdI/5n7 +N4okxFnMUBBjjqqpGrCEGob5X7uxUG6k0QrM1XF+H6cbfPVTbiJfyyvm1HxdrtbC +xkzlBQHZ7Vf8wSN5/PrIJIOV87VqUQHQd9bpEqH5GoP7ghu5sJf0dgYzQ0mg/wu1 ++rUCAwEAAaOBgDB+MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0G +A1UdDgQWBBTLD8bfQkPMPcu1SCOhGnqmKrs0aDAfBgNVHSMEGDAWgBTLD8bfQkPM +Pcu1SCOhGnqmKrs0aDAbBgNVHREEFDASgRBpbmZvQGUtc3ppZ25vLmh1MA0GCSqG +SIb3DQEBCwUAA4IBAQDJ0Q5eLtXMs3w+y/w9/w0olZMEyL/azXm4Q5DwpL7v8u8h +mLzU1F0G9u5C7DBsoKqpyvGvivo/C3NqPuouQH4frlRheesuCDfXI/OMn74dseGk +ddug4lQUsbocKaQY9hK6ohQU4zE1yED/t+AFdlfBHFny+L/k7SViXITwfn4fs775 +tyERzAMBVnCnEJIeGzSBHq2cGsMEPO0CYdYeBvNfOofyK/FFh+U9rNHHV4S9a67c +2Pm2G2JwCz02yULyMtd6YebS2z3PyKnJm9zbWETXbzivf3jTo60adbocwTZ8jx5t +HMN1Rq41Bab2XD0h7lbwyYIiLXpUq3DDfSJlgnCW +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3 +# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3 +# Label: "GlobalSign Root CA - R3" +# Serial: 4835703278459759426209954 +# MD5 Fingerprint: c5:df:b8:49:ca:05:13:55:ee:2d:ba:1a:c3:3e:b0:28 +# SHA1 Fingerprint: d6:9b:56:11:48:f0:1c:77:c5:45:78:c1:09:26:df:5b:85:69:76:ad +# SHA256 Fingerprint: cb:b5:22:d7:b7:f1:27:ad:6a:01:13:86:5b:df:1c:d4:10:2e:7d:07:59:af:63:5a:7c:f4:72:0d:c9:63:c5:3b +-----BEGIN CERTIFICATE----- +MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G +A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp +Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4 +MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEG +A1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWtiHL8 +RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsT +gHeMCOFJ0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmm +KPZpO/bLyCiR5Z2KYVc3rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zd +QQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjlOCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZ +XriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2xmmFghcCAwEAAaNCMEAw +DgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFI/wS3+o +LkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZU +RUm7lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMp +jjM5RcOO5LlXbKr8EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK +6fBdRoyV3XpYKBovHd7NADdBj+1EbddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQX +mcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18YIvDQVETI53O9zJrlAGomecs +Mx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7rkpeDMdmztcpH +WD9f +-----END CERTIFICATE----- + +# Issuer: CN=Izenpe.com O=IZENPE S.A. +# Subject: CN=Izenpe.com O=IZENPE S.A. +# Label: "Izenpe.com" +# Serial: 917563065490389241595536686991402621 +# MD5 Fingerprint: a6:b0:cd:85:80:da:5c:50:34:a3:39:90:2f:55:67:73 +# SHA1 Fingerprint: 2f:78:3d:25:52:18:a7:4a:65:39:71:b5:2c:a2:9c:45:15:6f:e9:19 +# SHA256 Fingerprint: 25:30:cc:8e:98:32:15:02:ba:d9:6f:9b:1f:ba:1b:09:9e:2d:29:9e:0f:45:48:bb:91:4f:36:3b:c0:d4:53:1f +-----BEGIN CERTIFICATE----- +MIIF8TCCA9mgAwIBAgIQALC3WhZIX7/hy/WL1xnmfTANBgkqhkiG9w0BAQsFADA4 +MQswCQYDVQQGEwJFUzEUMBIGA1UECgwLSVpFTlBFIFMuQS4xEzARBgNVBAMMCkl6 +ZW5wZS5jb20wHhcNMDcxMjEzMTMwODI4WhcNMzcxMjEzMDgyNzI1WjA4MQswCQYD +VQQGEwJFUzEUMBIGA1UECgwLSVpFTlBFIFMuQS4xEzARBgNVBAMMCkl6ZW5wZS5j +b20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDJ03rKDx6sp4boFmVq +scIbRTJxldn+EFvMr+eleQGPicPK8lVx93e+d5TzcqQsRNiekpsUOqHnJJAKClaO +xdgmlOHZSOEtPtoKct2jmRXagaKH9HtuJneJWK3W6wyyQXpzbm3benhB6QiIEn6H +LmYRY2xU+zydcsC8Lv/Ct90NduM61/e0aL6i9eOBbsFGb12N4E3GVFWJGjMxCrFX +uaOKmMPsOzTFlUFpfnXCPCDFYbpRR6AgkJOhkEvzTnyFRVSa0QUmQbC1TR0zvsQD +yCV8wXDbO/QJLVQnSKwv4cSsPsjLkkxTOTcj7NMB+eAJRE1NZMDhDVqHIrytG6P+ +JrUV86f8hBnp7KGItERphIPzidF0BqnMC9bC3ieFUCbKF7jJeodWLBoBHmy+E60Q +rLUk9TiRodZL2vG70t5HtfG8gfZZa88ZU+mNFctKy6lvROUbQc/hhqfK0GqfvEyN +BjNaooXlkDWgYlwWTvDjovoDGrQscbNYLN57C9saD+veIR8GdwYDsMnvmfzAuU8L +hij+0rnq49qlw0dpEuDb8PYZi+17cNcC1u2HGCgsBCRMd+RIihrGO5rUD8r6ddIB +QFqNeb+Lz0vPqhbBleStTIo+F5HUsWLlguWABKQDfo2/2n+iD5dPDNMN+9fR5XJ+ +HMh3/1uaD7euBUbl8agW7EekFwIDAQABo4H2MIHzMIGwBgNVHREEgagwgaWBD2lu +Zm9AaXplbnBlLmNvbaSBkTCBjjFHMEUGA1UECgw+SVpFTlBFIFMuQS4gLSBDSUYg +QTAxMzM3MjYwLVJNZXJjLlZpdG9yaWEtR2FzdGVpeiBUMTA1NSBGNjIgUzgxQzBB +BgNVBAkMOkF2ZGEgZGVsIE1lZGl0ZXJyYW5lbyBFdG9yYmlkZWEgMTQgLSAwMTAx +MCBWaXRvcmlhLUdhc3RlaXowDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC +AQYwHQYDVR0OBBYEFB0cZQ6o8iV7tJHP5LGx5r1VdGwFMA0GCSqGSIb3DQEBCwUA +A4ICAQB4pgwWSp9MiDrAyw6lFn2fuUhfGI8NYjb2zRlrrKvV9pF9rnHzP7MOeIWb +laQnIUdCSnxIOvVFfLMMjlF4rJUT3sb9fbgakEyrkgPH7UIBzg/YsfqikuFgba56 +awmqxinuaElnMIAkejEWOVt+8Rwu3WwJrfIxwYJOubv5vr8qhT/AQKM6WfxZSzwo +JNu0FXWuDYi6LnPAvViH5ULy617uHjAimcs30cQhbIHsvm0m5hzkQiCeR7Csg1lw +LDXWrzY0tM07+DKo7+N4ifuNRSzanLh+QBxh5z6ikixL8s36mLYp//Pye6kfLqCT +VyvehQP5aTfLnnhqBbTFMXiJ7HqnheG5ezzevh55hM6fcA5ZwjUukCox2eRFekGk +LhObNA5me0mrZJfQRsN5nXJQY6aYWwa9SG3YOYNw6DXwBdGqvOPbyALqfP2C2sJb +UjWumDqtujWTI6cfSN01RpiyEGjkpTHCClguGYEQyVB1/OpaFs4R1+7vUIgtYf8/ +QnMFlEPVjjxOAToZpR9GTnfQXeWBIiGH/pR9hNiTrdZoQ0iy2+tzJOeRf1SktoA+ +naM8THLCV8Sg1Mw4J87VBp6iSNnpn86CcDaTmjvfliHjWbcM2pE38P1ZWrOZyGls +QyYBNWNgVYkDOnXYukrZVP/u3oDYLdE41V4tC5h9Pmzb/CaIxw== +-----END CERTIFICATE----- + +# Issuer: CN=Go Daddy Root Certificate Authority - G2 O=GoDaddy.com, Inc. +# Subject: CN=Go Daddy Root Certificate Authority - G2 O=GoDaddy.com, Inc. +# Label: "Go Daddy Root Certificate Authority - G2" +# Serial: 0 +# MD5 Fingerprint: 80:3a:bc:22:c1:e6:fb:8d:9b:3b:27:4a:32:1b:9a:01 +# SHA1 Fingerprint: 47:be:ab:c9:22:ea:e8:0e:78:78:34:62:a7:9f:45:c2:54:fd:e6:8b +# SHA256 Fingerprint: 45:14:0b:32:47:eb:9c:c8:c5:b4:f0:d7:b5:30:91:f7:32:92:08:9e:6e:5a:63:e2:74:9d:d3:ac:a9:19:8e:da +-----BEGIN CERTIFICATE----- +MIIDxTCCAq2gAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMx +EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoT +EUdvRGFkZHkuY29tLCBJbmMuMTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRp +ZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIz +NTk1OVowgYMxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQH +EwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjExMC8GA1UE +AxMoR28gRGFkZHkgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIw +DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9xYgjx+lk09xvJGKP3gElY6SKD +E6bFIEMBO4Tx5oVJnyfq9oQbTqC023CYxzIBsQU+B07u9PpPL1kwIuerGVZr4oAH +/PMWdYA5UXvl+TW2dE6pjYIT5LY/qQOD+qK+ihVqf94Lw7YZFAXK6sOoBJQ7Rnwy +DfMAZiLIjWltNowRGLfTshxgtDj6AozO091GB94KPutdfMh8+7ArU6SSYmlRJQVh +GkSBjCypQ5Yj36w6gZoOKcUcqeldHraenjAKOc7xiID7S13MMuyFYkMlNAJWJwGR +tDtwKj9useiciAF9n9T521NtYJ2/LOdYq7hfRvzOxBsDPAnrSTFcaUaz4EcCAwEA +AaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYE +FDqahQcQZyi27/a9BUFuIMGU2g/eMA0GCSqGSIb3DQEBCwUAA4IBAQCZ21151fmX +WWcDYfF+OwYxdS2hII5PZYe096acvNjpL9DbWu7PdIxztDhC2gV7+AJ1uP2lsdeu +9tfeE8tTEH6KRtGX+rcuKxGrkLAngPnon1rpN5+r5N9ss4UXnT3ZJE95kTXWXwTr +gIOrmgIttRD02JDHBHNA7XIloKmf7J6raBKZV8aPEjoJpL1E/QYVN8Gb5DKj7Tjo +2GTzLH4U/ALqn83/B2gX2yKQOC16jdFU8WnjXzPKej17CuPKf1855eJ1usV2GDPO +LPAvTK33sefOT6jEm0pUBsV/fdUID+Ic/n4XuKxe9tQWskMJDE32p2u0mYRlynqI +4uJEvlz36hz1 +-----END CERTIFICATE----- + +# Issuer: CN=Starfield Root Certificate Authority - G2 O=Starfield Technologies, Inc. +# Subject: CN=Starfield Root Certificate Authority - G2 O=Starfield Technologies, Inc. +# Label: "Starfield Root Certificate Authority - G2" +# Serial: 0 +# MD5 Fingerprint: d6:39:81:c6:52:7e:96:69:fc:fc:ca:66:ed:05:f2:96 +# SHA1 Fingerprint: b5:1c:06:7c:ee:2b:0c:3d:f8:55:ab:2d:92:f4:fe:39:d4:e7:0f:0e +# SHA256 Fingerprint: 2c:e1:cb:0b:f9:d2:f9:e1:02:99:3f:be:21:51:52:c3:b2:dd:0c:ab:de:1c:68:e5:31:9b:83:91:54:db:b7:f5 +-----BEGIN CERTIFICATE----- +MIID3TCCAsWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBjzELMAkGA1UEBhMCVVMx +EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoT +HFN0YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xMjAwBgNVBAMTKVN0YXJmaWVs +ZCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAw +MFoXDTM3MTIzMTIzNTk1OVowgY8xCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6 +b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFyZmllbGQgVGVj +aG5vbG9naWVzLCBJbmMuMTIwMAYDVQQDEylTdGFyZmllbGQgUm9vdCBDZXJ0aWZp +Y2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC +ggEBAL3twQP89o/8ArFvW59I2Z154qK3A2FWGMNHttfKPTUuiUP3oWmb3ooa/RMg +nLRJdzIpVv257IzdIvpy3Cdhl+72WoTsbhm5iSzchFvVdPtrX8WJpRBSiUZV9Lh1 +HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNkN3mSwOxGXn/hbVNMYq/N +Hwtjuzqd+/x5AJhhdM8mgkBj87JyahkNmcrUDnXMN/uLicFZ8WJ/X7NfZTD4p7dN +dloedl40wOiWVpmKs/B/pM293DIxfJHP4F8R+GuqSVzRmZTRouNjWwl2tVZi4Ut0 +HZbUJtQIBFnQmA4O5t78w+wfkPECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAO +BgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFHwMMh+n2TB/xH1oo2Kooc6rB1snMA0G +CSqGSIb3DQEBCwUAA4IBAQARWfolTwNvlJk7mh+ChTnUdgWUXuEok21iXQnCoKjU +sHU48TRqneSfioYmUeYs0cYtbpUgSpIB7LiKZ3sx4mcujJUDJi5DnUox9g61DLu3 +4jd/IroAow57UvtruzvE03lRTs2Q9GcHGcg8RnoNAX3FWOdt5oUwF5okxBDgBPfg +8n/Uqgr/Qh037ZTlZFkSIHc40zI+OIF1lnP6aI+xy84fxez6nH7PfrHxBy22/L/K +pL/QlwVKvOoYKAKQvVR4CSFx09F9HdkWsKlhPdAKACL8x3vLCWRFCztAgfd9fDL1 +mMpYjn0q7pBZc2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0 +-----END CERTIFICATE----- + +# Issuer: CN=Starfield Services Root Certificate Authority - G2 O=Starfield Technologies, Inc. +# Subject: CN=Starfield Services Root Certificate Authority - G2 O=Starfield Technologies, Inc. +# Label: "Starfield Services Root Certificate Authority - G2" +# Serial: 0 +# MD5 Fingerprint: 17:35:74:af:7b:61:1c:eb:f4:f9:3c:e2:ee:40:f9:a2 +# SHA1 Fingerprint: 92:5a:8f:8d:2c:6d:04:e0:66:5f:59:6a:ff:22:d8:63:e8:25:6f:3f +# SHA256 Fingerprint: 56:8d:69:05:a2:c8:87:08:a4:b3:02:51:90:ed:cf:ed:b1:97:4a:60:6a:13:c6:e5:29:0f:cb:2a:e6:3e:da:b5 +-----BEGIN CERTIFICATE----- +MIID7zCCAtegAwIBAgIBADANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UEBhMCVVMx +EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoT +HFN0YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xOzA5BgNVBAMTMlN0YXJmaWVs +ZCBTZXJ2aWNlcyBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5 +MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgZgxCzAJBgNVBAYTAlVTMRAwDgYD +VQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFy +ZmllbGQgVGVjaG5vbG9naWVzLCBJbmMuMTswOQYDVQQDEzJTdGFyZmllbGQgU2Vy +dmljZXMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBANUMOsQq+U7i9b4Zl1+OiFOxHz/Lz58gE20p +OsgPfTz3a3Y4Y9k2YKibXlwAgLIvWX/2h/klQ4bnaRtSmpDhcePYLQ1Ob/bISdm2 +8xpWriu2dBTrz/sm4xq6HZYuajtYlIlHVv8loJNwU4PahHQUw2eeBGg6345AWh1K +Ts9DkTvnVtYAcMtS7nt9rjrnvDH5RfbCYM8TWQIrgMw0R9+53pBlbQLPLJGmpufe +hRhJfGZOozptqbXuNC66DQO4M99H67FrjSXZm86B0UVGMpZwh94CDklDhbZsc7tk +6mFBrMnUVN+HL8cisibMn1lUaJ/8viovxFUcdUBgF4UCVTmLfwUCAwEAAaNCMEAw +DwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJxfAN+q +AdcwKziIorhtSpzyEZGDMA0GCSqGSIb3DQEBCwUAA4IBAQBLNqaEd2ndOxmfZyMI +bw5hyf2E3F/YNoHN2BtBLZ9g3ccaaNnRbobhiCPPE95Dz+I0swSdHynVv/heyNXB +ve6SbzJ08pGCL72CQnqtKrcgfU28elUSwhXqvfdqlS5sdJ/PHLTyxQGjhdByPq1z +qwubdQxtRbeOlKyWN7Wg0I8VRw7j6IPdj/3vQQF3zCepYoUz8jcI73HPdwbeyBkd +iEDPfUYd/x7H4c7/I9vG+o1VTqkC50cRRj70/b17KSa7qWFiNyi2LSr2EIZkyXCn +0q23KXB56jzaYyWf/Wi3MOxw+3WKt21gZ7IeyLnp2KhvAotnDU0mV3HaIPzBSlCN +sSi6 +-----END CERTIFICATE----- + +# Issuer: CN=AffirmTrust Commercial O=AffirmTrust +# Subject: CN=AffirmTrust Commercial O=AffirmTrust +# Label: "AffirmTrust Commercial" +# Serial: 8608355977964138876 +# MD5 Fingerprint: 82:92:ba:5b:ef:cd:8a:6f:a6:3d:55:f9:84:f6:d6:b7 +# SHA1 Fingerprint: f9:b5:b6:32:45:5f:9c:be:ec:57:5f:80:dc:e9:6e:2c:c7:b2:78:b7 +# SHA256 Fingerprint: 03:76:ab:1d:54:c5:f9:80:3c:e4:b2:e2:01:a0:ee:7e:ef:7b:57:b6:36:e8:a9:3c:9b:8d:48:60:c9:6f:5f:a7 +-----BEGIN CERTIFICATE----- +MIIDTDCCAjSgAwIBAgIId3cGJyapsXwwDQYJKoZIhvcNAQELBQAwRDELMAkGA1UE +BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz +dCBDb21tZXJjaWFsMB4XDTEwMDEyOTE0MDYwNloXDTMwMTIzMTE0MDYwNlowRDEL +MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp +cm1UcnVzdCBDb21tZXJjaWFsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC +AQEA9htPZwcroRX1BiLLHwGy43NFBkRJLLtJJRTWzsO3qyxPxkEylFf6EqdbDuKP +Hx6GGaeqtS25Xw2Kwq+FNXkyLbscYjfysVtKPcrNcV/pQr6U6Mje+SJIZMblq8Yr +ba0F8PrVC8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPAL +MeIrJmqbTFeurCA+ukV6BfO9m2kVrn1OIGPENXY6BwLJN/3HR+7o8XYdcxXyl6S1 +yHp52UKqK39c/s4mT6NmgTWvRLpUHhwwMmWd5jyTXlBOeuM61G7MGvv50jeuJCqr +VwMiKA1JdX+3KNp1v47j3A55MQIDAQABo0IwQDAdBgNVHQ4EFgQUnZPGU4teyq8/ +nx4P5ZmVvCT2lI8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ +KoZIhvcNAQELBQADggEBAFis9AQOzcAN/wr91LoWXym9e2iZWEnStB03TX8nfUYG +XUPGhi4+c7ImfU+TqbbEKpqrIZcUsd6M06uJFdhrJNTxFq7YpFzUf1GO7RgBsZNj +vbz4YYCanrHOQnDiqX0GJX0nof5v7LMeJNrjS1UaADs1tDvZ110w/YETifLCBivt +Z8SOyUOyXGsViQK8YvxO8rUzqrJv0wqiUOP2O+guRMLbZjipM1ZI8W0bM40NjD9g +N53Tym1+NH4Nn3J2ixufcv1SNUFFApYvHLKac0khsUlHRUe072o0EclNmsxZt9YC +nlpOZbWUrhvfKbAW8b8Angc6F2S1BLUjIZkKlTuXfO8= +-----END CERTIFICATE----- + +# Issuer: CN=AffirmTrust Networking O=AffirmTrust +# Subject: CN=AffirmTrust Networking O=AffirmTrust +# Label: "AffirmTrust Networking" +# Serial: 8957382827206547757 +# MD5 Fingerprint: 42:65:ca:be:01:9a:9a:4c:a9:8c:41:49:cd:c0:d5:7f +# SHA1 Fingerprint: 29:36:21:02:8b:20:ed:02:f5:66:c5:32:d1:d6:ed:90:9f:45:00:2f +# SHA256 Fingerprint: 0a:81:ec:5a:92:97:77:f1:45:90:4a:f3:8d:5d:50:9f:66:b5:e2:c5:8f:cd:b5:31:05:8b:0e:17:f3:f0:b4:1b +-----BEGIN CERTIFICATE----- +MIIDTDCCAjSgAwIBAgIIfE8EORzUmS0wDQYJKoZIhvcNAQEFBQAwRDELMAkGA1UE +BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz +dCBOZXR3b3JraW5nMB4XDTEwMDEyOTE0MDgyNFoXDTMwMTIzMTE0MDgyNFowRDEL +MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp +cm1UcnVzdCBOZXR3b3JraW5nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC +AQEAtITMMxcua5Rsa2FSoOujz3mUTOWUgJnLVWREZY9nZOIG41w3SfYvm4SEHi3y +YJ0wTsyEheIszx6e/jarM3c1RNg1lho9Nuh6DtjVR6FqaYvZ/Ls6rnla1fTWcbua +kCNrmreIdIcMHl+5ni36q1Mr3Lt2PpNMCAiMHqIjHNRqrSK6mQEubWXLviRmVSRL +QESxG9fhwoXA3hA/Pe24/PHxI1Pcv2WXb9n5QHGNfb2V1M6+oF4nI979ptAmDgAp +6zxG8D1gvz9Q0twmQVGeFDdCBKNwV6gbh+0t+nvujArjqWaJGctB+d1ENmHP4ndG +yH329JKBNv3bNPFyfvMMFr20FQIDAQABo0IwQDAdBgNVHQ4EFgQUBx/S55zawm6i +QLSwelAQUHTEyL0wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ +KoZIhvcNAQEFBQADggEBAIlXshZ6qML91tmbmzTCnLQyFE2npN/svqe++EPbkTfO +tDIuUFUaNU52Q3Eg75N3ThVwLofDwR1t3Mu1J9QsVtFSUzpE0nPIxBsFZVpikpzu +QY0x2+c06lkh1QF612S4ZDnNye2v7UsDSKegmQGA3GWjNq5lWUhPgkvIZfFXHeVZ +Lgo/bNjR9eUJtGxUAArgFU2HdW23WJZa3W3SAKD0m0i+wzekujbgfIeFlxoVot4u +olu9rxj5kFDNcFn4J2dHy8egBzp90SxdbBk6ZrV9/ZFvgrG+CJPbFEfxojfHRZ48 +x3evZKiT3/Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9s= +-----END CERTIFICATE----- + +# Issuer: CN=AffirmTrust Premium O=AffirmTrust +# Subject: CN=AffirmTrust Premium O=AffirmTrust +# Label: "AffirmTrust Premium" +# Serial: 7893706540734352110 +# MD5 Fingerprint: c4:5d:0e:48:b6:ac:28:30:4e:0a:bc:f9:38:16:87:57 +# SHA1 Fingerprint: d8:a6:33:2c:e0:03:6f:b1:85:f6:63:4f:7d:6a:06:65:26:32:28:27 +# SHA256 Fingerprint: 70:a7:3f:7f:37:6b:60:07:42:48:90:45:34:b1:14:82:d5:bf:0e:69:8e:cc:49:8d:f5:25:77:eb:f2:e9:3b:9a +-----BEGIN CERTIFICATE----- +MIIFRjCCAy6gAwIBAgIIbYwURrGmCu4wDQYJKoZIhvcNAQEMBQAwQTELMAkGA1UE +BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVz +dCBQcmVtaXVtMB4XDTEwMDEyOTE0MTAzNloXDTQwMTIzMTE0MTAzNlowQTELMAkG +A1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1U +cnVzdCBQcmVtaXVtMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxBLf +qV/+Qd3d9Z+K4/as4Tx4mrzY8H96oDMq3I0gW64tb+eT2TZwamjPjlGjhVtnBKAQ +JG9dKILBl1fYSCkTtuG+kU3fhQxTGJoeJKJPj/CihQvL9Cl/0qRY7iZNyaqoe5rZ ++jjeRFcV5fiMyNlI4g0WJx0eyIOFJbe6qlVBzAMiSy2RjYvmia9mx+n/K+k8rNrS +s8PhaJyJ+HoAVt70VZVs+7pk3WKL3wt3MutizCaam7uqYoNMtAZ6MMgpv+0GTZe5 +HMQxK9VfvFMSF5yZVylmd2EhMQcuJUmdGPLu8ytxjLW6OQdJd/zvLpKQBY0tL3d7 +70O/Nbua2Plzpyzy0FfuKE4mX4+QaAkvuPjcBukumj5Rp9EixAqnOEhss/n/fauG +V+O61oV4d7pD6kh/9ti+I20ev9E2bFhc8e6kGVQa9QPSdubhjL08s9NIS+LI+H+S +qHZGnEJlPqQewQcDWkYtuJfzt9WyVSHvutxMAJf7FJUnM7/oQ0dG0giZFmA7mn7S +5u046uwBHjxIVkkJx0w3AJ6IDsBz4W9m6XJHMD4Q5QsDyZpCAGzFlH5hxIrff4Ia +C1nEWTJ3s7xgaVY5/bQGeyzWZDbZvUjthB9+pSKPKrhC9IK31FOQeE4tGv2Bb0TX +OwF0lkLgAOIua+rF7nKsu7/+6qqo+Nz2snmKtmcCAwEAAaNCMEAwHQYDVR0OBBYE +FJ3AZ6YMItkm9UWrpmVSESfYRaxjMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/ +BAQDAgEGMA0GCSqGSIb3DQEBDAUAA4ICAQCzV00QYk465KzquByvMiPIs0laUZx2 +KI15qldGF9X1Uva3ROgIRL8YhNILgM3FEv0AVQVhh0HctSSePMTYyPtwni94loMg +Nt58D2kTiKV1NpgIpsbfrM7jWNa3Pt668+s0QNiigfV4Py/VpfzZotReBA4Xrf5B +8OWycvpEgjNC6C1Y91aMYj+6QrCcDFx+LmUmXFNPALJ4fqENmS2NuB2OosSw/WDQ +MKSOyARiqcTtNd56l+0OOF6SL5Nwpamcb6d9Ex1+xghIsV5n61EIJenmJWtSKZGc +0jlzCFfemQa0W50QBuHCAKi4HEoCChTQwUHK+4w1IX2COPKpVJEZNZOUbWo6xbLQ +u4mGk+ibyQ86p3q4ofB4Rvr8Ny/lioTz3/4E2aFooC8k4gmVBtWVyuEklut89pMF +u+1z6S3RdTnX5yTb2E5fQ4+e0BQ5v1VwSJlXMbSc7kqYA5YwH2AG7hsj/oFgIxpH +YoWlzBk0gG+zrBrjn/B7SK3VAdlntqlyk+otZrWyuOQ9PLLvTIzq6we/qzWaVYa8 +GKa1qF60g2xraUDTn9zxw2lrueFtCfTxqlB2Cnp9ehehVZZCmTEJ3WARjQUwfuaO +RtGdFNrHF+QFlozEJLUbzxQHskD4o55BhrwE0GuWyCqANP2/7waj3VjFhT0+j/6e +KeC2uAloGRwYQw== +-----END CERTIFICATE----- + +# Issuer: CN=AffirmTrust Premium ECC O=AffirmTrust +# Subject: CN=AffirmTrust Premium ECC O=AffirmTrust +# Label: "AffirmTrust Premium ECC" +# Serial: 8401224907861490260 +# MD5 Fingerprint: 64:b0:09:55:cf:b1:d5:99:e2:be:13:ab:a6:5d:ea:4d +# SHA1 Fingerprint: b8:23:6b:00:2f:1d:16:86:53:01:55:6c:11:a4:37:ca:eb:ff:c3:bb +# SHA256 Fingerprint: bd:71:fd:f6:da:97:e4:cf:62:d1:64:7a:dd:25:81:b0:7d:79:ad:f8:39:7e:b4:ec:ba:9c:5e:84:88:82:14:23 +-----BEGIN CERTIFICATE----- +MIIB/jCCAYWgAwIBAgIIdJclisc/elQwCgYIKoZIzj0EAwMwRTELMAkGA1UEBhMC +VVMxFDASBgNVBAoMC0FmZmlybVRydXN0MSAwHgYDVQQDDBdBZmZpcm1UcnVzdCBQ +cmVtaXVtIEVDQzAeFw0xMDAxMjkxNDIwMjRaFw00MDEyMzExNDIwMjRaMEUxCzAJ +BgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEgMB4GA1UEAwwXQWZmaXJt +VHJ1c3QgUHJlbWl1bSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQNMF4bFZ0D +0KF5Nbc6PJJ6yhUczWLznCZcBz3lVPqj1swS6vQUX+iOGasvLkjmrBhDeKzQN8O9 +ss0s5kfiGuZjuD0uL3jET9v0D6RoTFVya5UdThhClXjMNzyR4ptlKymjQjBAMB0G +A1UdDgQWBBSaryl6wBE1NSZRMADDav5A1a7WPDAPBgNVHRMBAf8EBTADAQH/MA4G +A1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNnADBkAjAXCfOHiFBar8jAQr9HX/Vs +aobgxCd05DhT1wV/GzTjxi+zygk8N53X57hG8f2h4nECMEJZh0PUUd+60wkyWs6I +flc9nF9Ca/UHLbXwgpP5WW+uZPpY5Yse42O+tYHNbwKMeQ== +-----END CERTIFICATE----- + +# Issuer: CN=Certum Trusted Network CA O=Unizeto Technologies S.A. OU=Certum Certification Authority +# Subject: CN=Certum Trusted Network CA O=Unizeto Technologies S.A. OU=Certum Certification Authority +# Label: "Certum Trusted Network CA" +# Serial: 279744 +# MD5 Fingerprint: d5:e9:81:40:c5:18:69:fc:46:2c:89:75:62:0f:aa:78 +# SHA1 Fingerprint: 07:e0:32:e0:20:b7:2c:3f:19:2f:06:28:a2:59:3a:19:a7:0f:06:9e +# SHA256 Fingerprint: 5c:58:46:8d:55:f5:8e:49:7e:74:39:82:d2:b5:00:10:b6:d1:65:37:4a:cf:83:a7:d4:a3:2d:b7:68:c4:40:8e +-----BEGIN CERTIFICATE----- +MIIDuzCCAqOgAwIBAgIDBETAMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNVBAYTAlBM +MSIwIAYDVQQKExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEuMScwJQYDVQQLEx5D +ZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBU +cnVzdGVkIE5ldHdvcmsgQ0EwHhcNMDgxMDIyMTIwNzM3WhcNMjkxMjMxMTIwNzM3 +WjB+MQswCQYDVQQGEwJQTDEiMCAGA1UEChMZVW5pemV0byBUZWNobm9sb2dpZXMg +Uy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSIw +IAYDVQQDExlDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENBMIIBIjANBgkqhkiG9w0B +AQEFAAOCAQ8AMIIBCgKCAQEA4/t9o3K6wvDJFIf1awFO4W5AB7ptJ11/91sts1rH +UV+rpDKmYYe2bg+G0jACl/jXaVehGDldamR5xgFZrDwxSjh80gTSSyjoIF87B6LM +TXPb865Px1bVWqeWifrzq2jUI4ZZJ88JJ7ysbnKDHDBy3+Ci6dLhdHUZvSqeexVU +BBvXQzmtVSjF4hq79MDkrjhJM8x2hZ85RdKknvISjFH4fOQtf/WsX+sWn7Et0brM +kUJ3TCXJkDhv2/DM+44el1k+1WBO5gUo7Ul5E0u6SNsv+XLTOcr+H9g0cvW0QM8x +AcPs3hEtF10fuFDRXhmnad4HMyjKUJX5p1TLVIZQRan5SQIDAQABo0IwQDAPBgNV +HRMBAf8EBTADAQH/MB0GA1UdDgQWBBQIds3LB/8k9sXN7buQvOKEN0Z19zAOBgNV +HQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAKaorSLOAT2mo/9i0Eidi15y +sHhE49wcrwn9I0j6vSrEuVUEtRCjjSfeC4Jj0O7eDDd5QVsisrCaQVymcODU0HfL +I9MA4GxWL+FpDQ3Zqr8hgVDZBqWo/5U30Kr+4rP1mS1FhIrlQgnXdAIv94nYmem8 +J9RHjboNRhx3zxSkHLmkMcScKHQDNP8zGSal6Q10tz6XxnboJ5ajZt3hrvJBW8qY +VoNzcOSGGtIxQbovvi0TWnZvTuhOgQ4/WwMioBK+ZlgRSssDxLQqKi2WF+A5VLxI +03YnnZotBqbJ7DnSq9ufmgsnAjUpsUCV5/nonFWIGUbWtzT1fs45mtk48VH3Tyw= +-----END CERTIFICATE----- + +# Issuer: CN=TWCA Root Certification Authority O=TAIWAN-CA OU=Root CA +# Subject: CN=TWCA Root Certification Authority O=TAIWAN-CA OU=Root CA +# Label: "TWCA Root Certification Authority" +# Serial: 1 +# MD5 Fingerprint: aa:08:8f:f6:f9:7b:b7:f2:b1:a7:1e:9b:ea:ea:bd:79 +# SHA1 Fingerprint: cf:9e:87:6d:d3:eb:fc:42:26:97:a3:b5:a3:7a:a0:76:a9:06:23:48 +# SHA256 Fingerprint: bf:d8:8f:e1:10:1c:41:ae:3e:80:1b:f8:be:56:35:0e:e9:ba:d1:a6:b9:bd:51:5e:dc:5c:6d:5b:87:11:ac:44 +-----BEGIN CERTIFICATE----- +MIIDezCCAmOgAwIBAgIBATANBgkqhkiG9w0BAQUFADBfMQswCQYDVQQGEwJUVzES +MBAGA1UECgwJVEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFU +V0NBIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDgwODI4MDcyNDMz +WhcNMzAxMjMxMTU1OTU5WjBfMQswCQYDVQQGEwJUVzESMBAGA1UECgwJVEFJV0FO +LUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NBIFJvb3QgQ2VydGlm +aWNhdGlvbiBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB +AQCwfnK4pAOU5qfeCTiRShFAh6d8WWQUe7UREN3+v9XAu1bihSX0NXIP+FPQQeFE +AcK0HMMxQhZHhTMidrIKbw/lJVBPhYa+v5guEGcevhEFhgWQxFnQfHgQsIBct+HH +K3XLfJ+utdGdIzdjp9xCoi2SBBtQwXu4PhvJVgSLL1KbralW6cH/ralYhzC2gfeX +RfwZVzsrb+RH9JlF/h3x+JejiB03HFyP4HYlmlD4oFT/RJB2I9IyxsOrBr/8+7/z +rX2SYgJbKdM1o5OaQ2RgXbL6Mv87BK9NQGr5x+PvI/1ry+UPizgN7gr8/g+YnzAx +3WxSZfmLgb4i4RxYA7qRG4kHAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNV +HRMBAf8EBTADAQH/MB0GA1UdDgQWBBRqOFsmjd6LWvJPelSDGRjjCDWmujANBgkq +hkiG9w0BAQUFAAOCAQEAPNV3PdrfibqHDAhUaiBQkr6wQT25JmSDCi/oQMCXKCeC +MErJk/9q56YAf4lCmtYR5VPOL8zy2gXE/uJQxDqGfczafhAJO5I1KlOy/usrBdls +XebQ79NqZp4VKIV66IIArB6nCWlWQtNoURi+VJq/REG6Sb4gumlc7rh3zc5sH62D +lhh9DrUUOYTxKOkto557HnpyWoOzeW/vtPzQCqVYT0bf+215WfKEIlKuD8z7fDvn +aspHYcN6+NOSBB+4IIThNlQWx0DeO4pz3N/GCUzf7Nr/1FNCocnyYh0igzyXxfkZ +YiesZSLX0zzG5Y6yU8xJzrww/nsOM5D77dIUkR8Hrw== +-----END CERTIFICATE----- + +# Issuer: O=SECOM Trust Systems CO.,LTD. OU=Security Communication RootCA2 +# Subject: O=SECOM Trust Systems CO.,LTD. OU=Security Communication RootCA2 +# Label: "Security Communication RootCA2" +# Serial: 0 +# MD5 Fingerprint: 6c:39:7d:a4:0e:55:59:b2:3f:d6:41:b1:12:50:de:43 +# SHA1 Fingerprint: 5f:3b:8c:f2:f8:10:b3:7d:78:b4:ce:ec:19:19:c3:73:34:b9:c7:74 +# SHA256 Fingerprint: 51:3b:2c:ec:b8:10:d4:cd:e5:dd:85:39:1a:df:c6:c2:dd:60:d8:7b:b7:36:d2:b5:21:48:4a:a4:7a:0e:be:f6 +-----BEGIN CERTIFICATE----- +MIIDdzCCAl+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBdMQswCQYDVQQGEwJKUDEl +MCMGA1UEChMcU0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEnMCUGA1UECxMe +U2VjdXJpdHkgQ29tbXVuaWNhdGlvbiBSb290Q0EyMB4XDTA5MDUyOTA1MDAzOVoX +DTI5MDUyOTA1MDAzOVowXTELMAkGA1UEBhMCSlAxJTAjBgNVBAoTHFNFQ09NIFRy +dXN0IFN5c3RlbXMgQ08uLExURC4xJzAlBgNVBAsTHlNlY3VyaXR5IENvbW11bmlj +YXRpb24gUm9vdENBMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANAV +OVKxUrO6xVmCxF1SrjpDZYBLx/KWvNs2l9amZIyoXvDjChz335c9S672XewhtUGr +zbl+dp+++T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVM +VAX3NuRFg3sUZdbcDE3R3n4MqzvEFb46VqZab3ZpUql6ucjrappdUtAtCms1FgkQ +hNBqyjoGADdH5H5XTz+L62e4iKrFvlNVspHEfbmwhRkGeC7bYRr6hfVKkaHnFtWO +ojnflLhwHyg/i/xAXmODPIMqGplrz95Zajv8bxbXH/1KEOtOghY6rCcMU/Gt1SSw +awNQwS08Ft1ENCcadfsCAwEAAaNCMEAwHQYDVR0OBBYEFAqFqXdlBZh8QIH4D5cs +OPEK7DzPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3 +DQEBCwUAA4IBAQBMOqNErLlFsceTfsgLCkLfZOoc7llsCLqJX2rKSpWeeo8HxdpF +coJxDjrSzG+ntKEju/Ykn8sX/oymzsLS28yN/HH8AynBbF0zX2S2ZTuJbxh2ePXc +okgfGT+Ok+vx+hfuzU7jBBJV1uXk3fs+BXziHV7Gp7yXT2g69ekuCkO2r1dcYmh8 +t/2jioSgrGK+KwmHNPBqAbubKVY8/gA3zyNs8U6qtnRGEmyR7jTV7JqR50S+kDFy +1UkC9gLl9B/rfNmWVan/7Ir5mUf/NVoCqgTLiluHcSmRvaS0eg29mvVXIwAHIRc/ +SjnRBUkLp7Y3gaVdjKozXoEofKd9J+sAro03 +-----END CERTIFICATE----- + +# Issuer: CN=Actalis Authentication Root CA O=Actalis S.p.A./03358520967 +# Subject: CN=Actalis Authentication Root CA O=Actalis S.p.A./03358520967 +# Label: "Actalis Authentication Root CA" +# Serial: 6271844772424770508 +# MD5 Fingerprint: 69:c1:0d:4f:07:a3:1b:c3:fe:56:3d:04:bc:11:f6:a6 +# SHA1 Fingerprint: f3:73:b3:87:06:5a:28:84:8a:f2:f3:4a:ce:19:2b:dd:c7:8e:9c:ac +# SHA256 Fingerprint: 55:92:60:84:ec:96:3a:64:b9:6e:2a:be:01:ce:0b:a8:6a:64:fb:fe:bc:c7:aa:b5:af:c1:55:b3:7f:d7:60:66 +-----BEGIN CERTIFICATE----- +MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UE +BhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8w +MzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290 +IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDkyMjExMjIwMlowazELMAkGA1UEBhMC +SVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1 +ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENB +MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNv +UTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX +4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9 +KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/ +gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1Yprb +rxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ +51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2F +be8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxe +KF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4F +v6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbn +fpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7 +jPKxwV2dpAtMK9myGPW1n0sCAwEAAaNjMGEwHQYDVR0OBBYEFFLYiDrIn3hm7Ynz +ezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbt +ifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQAL +e3KHwGCmSUyIWOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70 +jsNjLiNmsGe+b7bAEzlgqqI0JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDz +WochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKxK3JCaKygvU5a2hi/a5iB0P2avl4V +SM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+Xlff1ANATIGk0k9j +pwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC4yyX +X04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+Ok +fcvHlXHo2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7R +K4X9p2jIugErsWx0Hbhzlefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btU +ZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXemOR/qnuOf0GZvBeyqdn6/axag67XH/JJU +LysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9vwGYT7JZVEc+NHt4bVaT +LnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg== +-----END CERTIFICATE----- + +# Issuer: CN=Buypass Class 2 Root CA O=Buypass AS-983163327 +# Subject: CN=Buypass Class 2 Root CA O=Buypass AS-983163327 +# Label: "Buypass Class 2 Root CA" +# Serial: 2 +# MD5 Fingerprint: 46:a7:d2:fe:45:fb:64:5a:a8:59:90:9b:78:44:9b:29 +# SHA1 Fingerprint: 49:0a:75:74:de:87:0a:47:fe:58:ee:f6:c7:6b:eb:c6:0b:12:40:99 +# SHA256 Fingerprint: 9a:11:40:25:19:7c:5b:b9:5d:94:e6:3d:55:cd:43:79:08:47:b6:46:b2:3c:df:11:ad:a4:a0:0e:ff:15:fb:48 +-----BEGIN CERTIFICATE----- +MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEd +MBsGA1UECgwUQnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3Mg +Q2xhc3MgMiBSb290IENBMB4XDTEwMTAyNjA4MzgwM1oXDTQwMTAyNjA4MzgwM1ow +TjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1eXBhc3MgQVMtOTgzMTYzMzI3MSAw +HgYDVQQDDBdCdXlwYXNzIENsYXNzIDIgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEB +BQADggIPADCCAgoCggIBANfHXvfBB9R3+0Mh9PT1aeTuMgHbo4Yf5FkNuud1g1Lr +6hxhFUi7HQfKjK6w3Jad6sNgkoaCKHOcVgb/S2TwDCo3SbXlzwx87vFKu3MwZfPV +L4O2fuPn9Z6rYPnT8Z2SdIrkHJasW4DptfQxh6NR/Md+oW+OU3fUl8FVM5I+GC91 +1K2GScuVr1QGbNgGE41b/+EmGVnAJLqBcXmQRFBoJJRfuLMR8SlBYaNByyM21cHx +MlAQTn/0hpPshNOOvEu/XAFOBz3cFIqUCqTqc/sLUegTBxj6DvEr0VQVfTzh97QZ +QmdiXnfgolXsttlpF9U6r0TtSsWe5HonfOV116rLJeffawrbD02TTqigzXsu8lkB +arcNuAeBfos4GzjmCleZPe4h6KP1DBbdi+w0jpwqHAAVF41og9JwnxgIzRFo1clr +Us3ERo/ctfPYV3Me6ZQ5BL/T3jjetFPsaRyifsSP5BtwrfKi+fv3FmRmaZ9JUaLi +FRhnBkp/1Wy1TbMz4GHrXb7pmA8y1x1LPC5aAVKRCfLf6o3YBkBjqhHk/sM3nhRS +P/TizPJhk9H9Z2vXUq6/aKtAQ6BXNVN48FP4YUIHZMbXb5tMOA1jrGKvNouicwoN +9SG9dKpN6nIDSdvHXx1iY8f93ZHsM+71bbRuMGjeyNYmsHVee7QHIJihdjK4TWxP +AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMmAd+BikoL1Rpzz +uvdMw964o605MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAU18h +9bqwOlI5LJKwbADJ784g7wbylp7ppHR/ehb8t/W2+xUbP6umwHJdELFx7rxP462s +A20ucS6vxOOto70MEae0/0qyexAQH6dXQbLArvQsWdZHEIjzIVEpMMpghq9Gqx3t +OluwlN5E40EIosHsHdb9T7bWR9AUC8rmyrV7d35BH16Dx7aMOZawP5aBQW9gkOLo ++fsicdl9sz1Gv7SEr5AcD48Saq/v7h56rgJKihcrdv6sVIkkLE8/trKnToyokZf7 +KcZ7XC25y2a2t6hbElGFtQl+Ynhw/qlqYLYdDnkM/crqJIByw5c/8nerQyIKx+u2 +DISCLIBrQYoIwOula9+ZEsuK1V6ADJHgJgg2SMX6OBE1/yWDLfJ6v9r9jv6ly0Us +H8SIU653DtmadsWOLB2jutXsMq7Aqqz30XpN69QH4kj3Io6wpJ9qzo6ysmD0oyLQ +I+uUWnpp3Q+/QFesa1lQ2aOZ4W7+jQF5JyMV3pKdewlNWudLSDBaGOYKbeaP4NK7 +5t98biGCwWg5TbSYWGZizEqQXsP6JwSxeRV0mcy+rSDeJmAc61ZRpqPq5KM/p/9h +3PFaTWwyI0PurKju7koSCTxdccK+efrCh2gdC/1cacwG0Jp9VJkqyTkaGa9LKkPz +Y11aWOIv4x3kqdbQCtCev9eBCfHJxyYNrJgWVqA= +-----END CERTIFICATE----- + +# Issuer: CN=Buypass Class 3 Root CA O=Buypass AS-983163327 +# Subject: CN=Buypass Class 3 Root CA O=Buypass AS-983163327 +# Label: "Buypass Class 3 Root CA" +# Serial: 2 +# MD5 Fingerprint: 3d:3b:18:9e:2c:64:5a:e8:d5:88:ce:0e:f9:37:c2:ec +# SHA1 Fingerprint: da:fa:f7:fa:66:84:ec:06:8f:14:50:bd:c7:c2:81:a5:bc:a9:64:57 +# SHA256 Fingerprint: ed:f7:eb:bc:a2:7a:2a:38:4d:38:7b:7d:40:10:c6:66:e2:ed:b4:84:3e:4c:29:b4:ae:1d:5b:93:32:e6:b2:4d +-----BEGIN CERTIFICATE----- +MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEd +MBsGA1UECgwUQnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3Mg +Q2xhc3MgMyBSb290IENBMB4XDTEwMTAyNjA4Mjg1OFoXDTQwMTAyNjA4Mjg1OFow +TjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1eXBhc3MgQVMtOTgzMTYzMzI3MSAw +HgYDVQQDDBdCdXlwYXNzIENsYXNzIDMgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEB +BQADggIPADCCAgoCggIBAKXaCpUWUOOV8l6ddjEGMnqb8RB2uACatVI2zSRHsJ8Y +ZLya9vrVediQYkwiL944PdbgqOkcLNt4EemOaFEVcsfzM4fkoF0LXOBXByow9c3E +N3coTRiR5r/VUv1xLXA+58bEiuPwKAv0dpihi4dVsjoT/Lc+JzeOIuOoTyrvYLs9 +tznDDgFHmV0ST9tD+leh7fmdvhFHJlsTmKtdFoqwNxxXnUX/iJY2v7vKB3tvh2PX +0DJq1l1sDPGzbjniazEuOQAnFN44wOwZZoYS6J1yFhNkUsepNxz9gjDthBgd9K5c +/3ATAOux9TN6S9ZV+AWNS2mw9bMoNlwUxFFzTWsL8TQH2xc519woe2v1n/MuwU8X +KhDzzMro6/1rqy6any2CbgTUUgGTLT2G/H783+9CHaZr77kgxve9oKeV/afmiSTY +zIw0bOIjL9kSGiG5VZFvC5F5GQytQIgLcOJ60g7YaEi7ghM5EFjp2CoHxhLbWNvS +O1UQRwUVZ2J+GGOmRj8JDlQyXr8NYnon74Do29lLBlo3WiXQCBJ31G8JUJc9yB3D +34xFMFbG02SrZvPAXpacw8Tvw3xrizp5f7NJzz3iiZ+gMEuFuZyUJHmPfWupRWgP +K9Dx2hzLabjKSWJtyNBjYt1gD1iqj6G8BaVmos8bdrKEZLFMOVLAMLrwjEsCsLa3 +AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFEe4zf/lb+74suwv +Tg75JbCOPGvDMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAACAj +QTUEkMJAYmDv4jVM1z+s4jSQuKFvdvoWFqRINyzpkMLyPPgKn9iB5btb2iUspKdV +cSQy9sgL8rxq+JOssgfCX5/bzMiKqr5qb+FJEMwx14C7u8jYog5kV+qi9cKpMRXS +IGrs/CIBKM+GuIAeqcwRpTzyFrNHnfzSgCHEy9BHcEGhyoMZCCxt8l13nIoUE9Q2 +HJLw5QY33KbmkJs4j1xrG0aGQ0JfPgEHU1RdZX33inOhmlRaHylDFCfChQ+1iHsa +O5S3HWCntZznKWlXWpuTekMwGwPXYshApqr8ZORK15FTAaggiG6cX0S5y2CBNOxv +033aSF/rtJC8LakcC6wc1aJoIIAE1vyxjy+7SjENSoYc6+I2KSb12tjE8nVhz36u +dmNKekBlk4f4HoCMhuWG1o8O/FMsYOgWYRqiPkN7zTlgVGr18okmAWiDSKIz6MkE +kbIRNBE+6tBDGR8Dk5AM/1E9V/RBbuHLoL7ryWPNbczk+DaqaJ3tvV2XcEQNtg41 +3OEMXbugUZTLfhbrES+jkkXITHHZvMmZUldGL1DPvTVp9D0VzgalLA8+9oG6lLvD +u79leNKGef9JOxqDDPDeeOzI8k1MGt6CKfjBWtrt7uYnXuhF0J0cUahoq0Tj0Itq +4/g7u9xN12TyUb7mqqta6THuBrxzvxNiCp/HuZc= +-----END CERTIFICATE----- + +# Issuer: CN=T-TeleSec GlobalRoot Class 3 O=T-Systems Enterprise Services GmbH OU=T-Systems Trust Center +# Subject: CN=T-TeleSec GlobalRoot Class 3 O=T-Systems Enterprise Services GmbH OU=T-Systems Trust Center +# Label: "T-TeleSec GlobalRoot Class 3" +# Serial: 1 +# MD5 Fingerprint: ca:fb:40:a8:4e:39:92:8a:1d:fe:8e:2f:c4:27:ea:ef +# SHA1 Fingerprint: 55:a6:72:3e:cb:f2:ec:cd:c3:23:74:70:19:9d:2a:be:11:e3:81:d1 +# SHA256 Fingerprint: fd:73:da:d3:1c:64:4f:f1:b4:3b:ef:0c:cd:da:96:71:0b:9c:d9:87:5e:ca:7e:31:70:7a:f3:e9:6d:52:2b:bd +-----BEGIN CERTIFICATE----- +MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUx +KzApBgNVBAoMIlQtU3lzdGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAd +BgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBDZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNl +YyBHbG9iYWxSb290IENsYXNzIDMwHhcNMDgxMDAxMTAyOTU2WhcNMzMxMDAxMjM1 +OTU5WjCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoMIlQtU3lzdGVtcyBFbnRlcnBy +aXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBDZW50 +ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDMwggEiMA0G +CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9dZPwYiJvJK7genasfb3ZJNW4t/zN +8ELg63iIVl6bmlQdTQyK9tPPcPRStdiTBONGhnFBSivwKixVA9ZIw+A5OO3yXDw/ +RLyTPWGrTs0NvvAgJ1gORH8EGoel15YUNpDQSXuhdfsaa3Ox+M6pCSzyU9XDFES4 +hqX2iys52qMzVNn6chr3IhUciJFrf2blw2qAsCTz34ZFiP0Zf3WHHx+xGwpzJFu5 +ZeAsVMhg02YXP+HMVDNzkQI6pn97djmiH5a2OK61yJN0HZ65tOVgnS9W0eDrXltM +EnAMbEQgqxHY9Bn20pxSN+f6tsIxO0rUFJmtxxr1XV/6B7h8DR/Wgx6zAgMBAAGj +QjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBS1 +A/d2O2GCahKqGFPrAyGUv/7OyjANBgkqhkiG9w0BAQsFAAOCAQEAVj3vlNW92nOy +WL6ukK2YJ5f+AbGwUgC4TeQbIXQbfsDuXmkqJa9c1h3a0nnJ85cp4IaH3gRZD/FZ +1GSFS5mvJQQeyUapl96Cshtwn5z2r3Ex3XsFpSzTucpH9sry9uetuUg/vBa3wW30 +6gmv7PO15wWeph6KU1HWk4HMdJP2udqmJQV0eVp+QD6CSyYRMG7hP0HHRwA11fXT +91Q+gT3aSWqas+8QPebrb9HIIkfLzM8BMZLZGOMivgkeGj5asuRrDFR6fUNOuIml +e9eiPZaGzPImNC1qkp2aGtAw4l1OBLBfiyB+d8E9lYLRRpo7PHi4b6HQDWSieB4p +TpPDpFQUWw== +-----END CERTIFICATE----- + +# Issuer: CN=D-TRUST Root Class 3 CA 2 2009 O=D-Trust GmbH +# Subject: CN=D-TRUST Root Class 3 CA 2 2009 O=D-Trust GmbH +# Label: "D-TRUST Root Class 3 CA 2 2009" +# Serial: 623603 +# MD5 Fingerprint: cd:e0:25:69:8d:47:ac:9c:89:35:90:f7:fd:51:3d:2f +# SHA1 Fingerprint: 58:e8:ab:b0:36:15:33:fb:80:f7:9b:1b:6d:29:d3:ff:8d:5f:00:f0 +# SHA256 Fingerprint: 49:e7:a4:42:ac:f0:ea:62:87:05:00:54:b5:25:64:b6:50:e4:f4:9e:42:e3:48:d6:aa:38:e0:39:e9:57:b1:c1 +-----BEGIN CERTIFICATE----- +MIIEMzCCAxugAwIBAgIDCYPzMA0GCSqGSIb3DQEBCwUAME0xCzAJBgNVBAYTAkRF +MRUwEwYDVQQKDAxELVRydXN0IEdtYkgxJzAlBgNVBAMMHkQtVFJVU1QgUm9vdCBD +bGFzcyAzIENBIDIgMjAwOTAeFw0wOTExMDUwODM1NThaFw0yOTExMDUwODM1NTha +ME0xCzAJBgNVBAYTAkRFMRUwEwYDVQQKDAxELVRydXN0IEdtYkgxJzAlBgNVBAMM +HkQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgMjAwOTCCASIwDQYJKoZIhvcNAQEB +BQADggEPADCCAQoCggEBANOySs96R+91myP6Oi/WUEWJNTrGa9v+2wBoqOADER03 +UAifTUpolDWzU9GUY6cgVq/eUXjsKj3zSEhQPgrfRlWLJ23DEE0NkVJD2IfgXU42 +tSHKXzlABF9bfsyjxiupQB7ZNoTWSPOSHjRGICTBpFGOShrvUD9pXRl/RcPHAY9R +ySPocq60vFYJfxLLHLGvKZAKyVXMD9O0Gu1HNVpK7ZxzBCHQqr0ME7UAyiZsxGsM +lFqVlNpQmvH/pStmMaTJOKDfHR+4CS7zp+hnUquVH+BGPtikw8paxTGA6Eian5Rp +/hnd2HN8gcqW3o7tszIFZYQ05ub9VxC1X3a/L7AQDcUCAwEAAaOCARowggEWMA8G +A1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFP3aFMSfMN4hvR5COfyrYyNJ4PGEMA4G +A1UdDwEB/wQEAwIBBjCB0wYDVR0fBIHLMIHIMIGAoH6gfIZ6bGRhcDovL2RpcmVj +dG9yeS5kLXRydXN0Lm5ldC9DTj1ELVRSVVNUJTIwUm9vdCUyMENsYXNzJTIwMyUy +MENBJTIwMiUyMDIwMDksTz1ELVRydXN0JTIwR21iSCxDPURFP2NlcnRpZmljYXRl +cmV2b2NhdGlvbmxpc3QwQ6BBoD+GPWh0dHA6Ly93d3cuZC10cnVzdC5uZXQvY3Js +L2QtdHJ1c3Rfcm9vdF9jbGFzc18zX2NhXzJfMjAwOS5jcmwwDQYJKoZIhvcNAQEL +BQADggEBAH+X2zDI36ScfSF6gHDOFBJpiBSVYEQBrLLpME+bUMJm2H6NMLVwMeni +acfzcNsgFYbQDfC+rAF1hM5+n02/t2A7nPPKHeJeaNijnZflQGDSNiH+0LS4F9p0 +o3/U37CYAqxva2ssJSRyoWXuJVrl5jLn8t+rSfrzkGkj2wTZ51xY/GXUl77M/C4K +zCUqNQT4YJEVdT1B/yMfGchs64JTBKbkTCJNjYy6zltz7GRUUG3RnFX7acM2w4y8 +PIWmawomDeCTmGCufsYkl4phX5GOZpIJhzbNi5stPvZR1FDUWSi9g/LMKHtThm3Y +Johw1+qRzT65ysCQblrGXnRl11z+o+I= +-----END CERTIFICATE----- + +# Issuer: CN=D-TRUST Root Class 3 CA 2 EV 2009 O=D-Trust GmbH +# Subject: CN=D-TRUST Root Class 3 CA 2 EV 2009 O=D-Trust GmbH +# Label: "D-TRUST Root Class 3 CA 2 EV 2009" +# Serial: 623604 +# MD5 Fingerprint: aa:c6:43:2c:5e:2d:cd:c4:34:c0:50:4f:11:02:4f:b6 +# SHA1 Fingerprint: 96:c9:1b:0b:95:b4:10:98:42:fa:d0:d8:22:79:fe:60:fa:b9:16:83 +# SHA256 Fingerprint: ee:c5:49:6b:98:8c:e9:86:25:b9:34:09:2e:ec:29:08:be:d0:b0:f3:16:c2:d4:73:0c:84:ea:f1:f3:d3:48:81 +-----BEGIN CERTIFICATE----- +MIIEQzCCAyugAwIBAgIDCYP0MA0GCSqGSIb3DQEBCwUAMFAxCzAJBgNVBAYTAkRF +MRUwEwYDVQQKDAxELVRydXN0IEdtYkgxKjAoBgNVBAMMIUQtVFJVU1QgUm9vdCBD +bGFzcyAzIENBIDIgRVYgMjAwOTAeFw0wOTExMDUwODUwNDZaFw0yOTExMDUwODUw +NDZaMFAxCzAJBgNVBAYTAkRFMRUwEwYDVQQKDAxELVRydXN0IEdtYkgxKjAoBgNV +BAMMIUQtVFJVU1QgUm9vdCBDbGFzcyAzIENBIDIgRVYgMjAwOTCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBAJnxhDRwui+3MKCOvXwEz75ivJn9gpfSegpn +ljgJ9hBOlSJzmY3aFS3nBfwZcyK3jpgAvDw9rKFs+9Z5JUut8Mxk2og+KbgPCdM0 +3TP1YtHhzRnp7hhPTFiu4h7WDFsVWtg6uMQYZB7jM7K1iXdODL/ZlGsTl28So/6Z +qQTMFexgaDbtCHu39b+T7WYxg4zGcTSHThfqr4uRjRxWQa4iN1438h3Z0S0NL2lR +p75mpoo6Kr3HGrHhFPC+Oh25z1uxav60sUYgovseO3Dvk5h9jHOW8sXvhXCtKSb8 +HgQ+HKDYD8tSg2J87otTlZCpV6LqYQXY+U3EJ/pure3511H3a6UCAwEAAaOCASQw +ggEgMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFNOUikxiEyoZLsyvcop9Ntea +HNxnMA4GA1UdDwEB/wQEAwIBBjCB3QYDVR0fBIHVMIHSMIGHoIGEoIGBhn9sZGFw +Oi8vZGlyZWN0b3J5LmQtdHJ1c3QubmV0L0NOPUQtVFJVU1QlMjBSb290JTIwQ2xh +c3MlMjAzJTIwQ0ElMjAyJTIwRVYlMjAyMDA5LE89RC1UcnVzdCUyMEdtYkgsQz1E +RT9jZXJ0aWZpY2F0ZXJldm9jYXRpb25saXN0MEagRKBChkBodHRwOi8vd3d3LmQt +dHJ1c3QubmV0L2NybC9kLXRydXN0X3Jvb3RfY2xhc3NfM19jYV8yX2V2XzIwMDku +Y3JsMA0GCSqGSIb3DQEBCwUAA4IBAQA07XtaPKSUiO8aEXUHL7P+PPoeUSbrh/Yp +3uDx1MYkCenBz1UbtDDZzhr+BlGmFaQt77JLvyAoJUnRpjZ3NOhk31KxEcdzes05 +nsKtjHEh8lprr988TlWvsoRlFIm5d8sqMb7Po23Pb0iUMkZv53GMoKaEGTcH8gNF +CSuGdXzfX2lXANtu2KZyIktQ1HWYVt+3GP9DQ1CuekR78HlR10M9p9OB0/DJT7na +xpeG0ILD5EJt/rDiZE4OJudANCa1CInXCGNjOCd1HjPqbqjdn5lPdE2BiYBL3ZqX +KVwvvoFBuYz/6n1gBp7N1z3TLqMVvKjmJuVvw9y4AyHqnxbxLFS1 +-----END CERTIFICATE----- + +# Issuer: CN=CA Disig Root R2 O=Disig a.s. +# Subject: CN=CA Disig Root R2 O=Disig a.s. +# Label: "CA Disig Root R2" +# Serial: 10572350602393338211 +# MD5 Fingerprint: 26:01:fb:d8:27:a7:17:9a:45:54:38:1a:43:01:3b:03 +# SHA1 Fingerprint: b5:61:eb:ea:a4:de:e4:25:4b:69:1a:98:a5:57:47:c2:34:c7:d9:71 +# SHA256 Fingerprint: e2:3d:4a:03:6d:7b:70:e9:f5:95:b1:42:20:79:d2:b9:1e:df:bb:1f:b6:51:a0:63:3e:aa:8a:9d:c5:f8:07:03 +-----BEGIN CERTIFICATE----- +MIIFaTCCA1GgAwIBAgIJAJK4iNuwisFjMA0GCSqGSIb3DQEBCwUAMFIxCzAJBgNV +BAYTAlNLMRMwEQYDVQQHEwpCcmF0aXNsYXZhMRMwEQYDVQQKEwpEaXNpZyBhLnMu +MRkwFwYDVQQDExBDQSBEaXNpZyBSb290IFIyMB4XDTEyMDcxOTA5MTUzMFoXDTQy +MDcxOTA5MTUzMFowUjELMAkGA1UEBhMCU0sxEzARBgNVBAcTCkJyYXRpc2xhdmEx +EzARBgNVBAoTCkRpc2lnIGEucy4xGTAXBgNVBAMTEENBIERpc2lnIFJvb3QgUjIw +ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCio8QACdaFXS1tFPbCw3Oe +NcJxVX6B+6tGUODBfEl45qt5WDza/3wcn9iXAng+a0EE6UG9vgMsRfYvZNSrXaNH +PWSb6WiaxswbP7q+sos0Ai6YVRn8jG+qX9pMzk0DIaPY0jSTVpbLTAwAFjxfGs3I +x2ymrdMxp7zo5eFm1tL7A7RBZckQrg4FY8aAamkw/dLukO8NJ9+flXP04SXabBbe +QTg06ov80egEFGEtQX6sx3dOy1FU+16SGBsEWmjGycT6txOgmLcRK7fWV8x8nhfR +yyX+hk4kLlYMeE2eARKmK6cBZW58Yh2EhN/qwGu1pSqVg8NTEQxzHQuyRpDRQjrO +QG6Vrf/GlK1ul4SOfW+eioANSW1z4nuSHsPzwfPrLgVv2RvPN3YEyLRa5Beny912 +H9AZdugsBbPWnDTYltxhh5EF5EQIM8HauQhl1K6yNg3ruji6DOWbnuuNZt2Zz9aJ +QfYEkoopKW1rOhzndX0CcQ7zwOe9yxndnWCywmZgtrEE7snmhrmaZkCo5xHtgUUD +i/ZnWejBBhG93c+AAk9lQHhcR1DIm+YfgXvkRKhbhZri3lrVx/k6RGZL5DJUfORs +nLMOPReisjQS1n6yqEm70XooQL6iFh/f5DcfEXP7kAplQ6INfPgGAVUzfbANuPT1 +rqVCV3w2EYx7XsQDnYx5nQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1Ud +DwEB/wQEAwIBBjAdBgNVHQ4EFgQUtZn4r7CU9eMg1gqtzk5WpC5uQu0wDQYJKoZI +hvcNAQELBQADggIBACYGXnDnZTPIgm7ZnBc6G3pmsgH2eDtpXi/q/075KMOYKmFM +tCQSin1tERT3nLXK5ryeJ45MGcipvXrA1zYObYVybqjGom32+nNjf7xueQgcnYqf +GopTpti72TVVsRHFqQOzVju5hJMiXn7B9hJSi+osZ7z+Nkz1uM/Rs0mSO9MpDpkb +lvdhuDvEK7Z4bLQjb/D907JedR+Zlais9trhxTF7+9FGs9K8Z7RiVLoJ92Owk6Ka ++elSLotgEqv89WBW7xBci8QaQtyDW2QOy7W81k/BfDxujRNt+3vrMNDcTa/F1bal +TFtxyegxvug4BkihGuLq0t4SOVga/4AOgnXmt8kHbA7v/zjxmHHEt38OFdAlab0i +nSvtBfZGR6ztwPDUO+Ls7pZbkBNOHlY667DvlruWIxG68kOGdGSVyCh13x01utI3 +gzhTODY7z2zp+WsO0PsE6E9312UBeIYMej4hYvF/Y3EMyZ9E26gnonW+boE+18Dr +G5gPcFw0sorMwIUY6256s/daoQe/qUKS82Ail+QUoQebTnbAjn39pCXHR+3/H3Os +zMOl6W8KjptlwlCFtaOgUxLMVYdh84GuEEZhvUQhuMI9dM9+JDX6HAcOmz0iyu8x +L4ysEr3vQCj8KWefshNPZiTEUxnpHikV7+ZtsH8tZ/3zbBt1RqPlShfppNcL +-----END CERTIFICATE----- + +# Issuer: CN=ACCVRAIZ1 O=ACCV OU=PKIACCV +# Subject: CN=ACCVRAIZ1 O=ACCV OU=PKIACCV +# Label: "ACCVRAIZ1" +# Serial: 6828503384748696800 +# MD5 Fingerprint: d0:a0:5a:ee:05:b6:09:94:21:a1:7d:f1:b2:29:82:02 +# SHA1 Fingerprint: 93:05:7a:88:15:c6:4f:ce:88:2f:fa:91:16:52:28:78:bc:53:64:17 +# SHA256 Fingerprint: 9a:6e:c0:12:e1:a7:da:9d:be:34:19:4d:47:8a:d7:c0:db:18:22:fb:07:1d:f1:29:81:49:6e:d1:04:38:41:13 +-----BEGIN CERTIFICATE----- +MIIH0zCCBbugAwIBAgIIXsO3pkN/pOAwDQYJKoZIhvcNAQEFBQAwQjESMBAGA1UE +AwwJQUNDVlJBSVoxMRAwDgYDVQQLDAdQS0lBQ0NWMQ0wCwYDVQQKDARBQ0NWMQsw +CQYDVQQGEwJFUzAeFw0xMTA1MDUwOTM3MzdaFw0zMDEyMzEwOTM3MzdaMEIxEjAQ +BgNVBAMMCUFDQ1ZSQUlaMTEQMA4GA1UECwwHUEtJQUNDVjENMAsGA1UECgwEQUND +VjELMAkGA1UEBhMCRVMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCb +qau/YUqXry+XZpp0X9DZlv3P4uRm7x8fRzPCRKPfmt4ftVTdFXxpNRFvu8gMjmoY +HtiP2Ra8EEg2XPBjs5BaXCQ316PWywlxufEBcoSwfdtNgM3802/J+Nq2DoLSRYWo +G2ioPej0RGy9ocLLA76MPhMAhN9KSMDjIgro6TenGEyxCQ0jVn8ETdkXhBilyNpA +lHPrzg5XPAOBOp0KoVdDaaxXbXmQeOW1tDvYvEyNKKGno6e6Ak4l0Squ7a4DIrhr +IA8wKFSVf+DuzgpmndFALW4ir50awQUZ0m/A8p/4e7MCQvtQqR0tkw8jq8bBD5L/ +0KIV9VMJcRz/RROE5iZe+OCIHAr8Fraocwa48GOEAqDGWuzndN9wrqODJerWx5eH +k6fGioozl2A3ED6XPm4pFdahD9GILBKfb6qkxkLrQaLjlUPTAYVtjrs78yM2x/47 +4KElB0iryYl0/wiPgL/AlmXz7uxLaL2diMMxs0Dx6M/2OLuc5NF/1OVYm3z61PMO +m3WR5LpSLhl+0fXNWhn8ugb2+1KoS5kE3fj5tItQo05iifCHJPqDQsGH+tUtKSpa +cXpkatcnYGMN285J9Y0fkIkyF/hzQ7jSWpOGYdbhdQrqeWZ2iE9x6wQl1gpaepPl +uUsXQA+xtrn13k/c4LOsOxFwYIRKQ26ZIMApcQrAZQIDAQABo4ICyzCCAscwfQYI +KwYBBQUHAQEEcTBvMEwGCCsGAQUFBzAChkBodHRwOi8vd3d3LmFjY3YuZXMvZmls +ZWFkbWluL0FyY2hpdm9zL2NlcnRpZmljYWRvcy9yYWl6YWNjdjEuY3J0MB8GCCsG +AQUFBzABhhNodHRwOi8vb2NzcC5hY2N2LmVzMB0GA1UdDgQWBBTSh7Tj3zcnk1X2 +VuqB5TbMjB4/vTAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNKHtOPfNyeT +VfZW6oHlNsyMHj+9MIIBcwYDVR0gBIIBajCCAWYwggFiBgRVHSAAMIIBWDCCASIG +CCsGAQUFBwICMIIBFB6CARAAQQB1AHQAbwByAGkAZABhAGQAIABkAGUAIABDAGUA +cgB0AGkAZgBpAGMAYQBjAGkA8wBuACAAUgBhAO0AegAgAGQAZQAgAGwAYQAgAEEA +QwBDAFYAIAAoAEEAZwBlAG4AYwBpAGEAIABkAGUAIABUAGUAYwBuAG8AbABvAGcA +7QBhACAAeQAgAEMAZQByAHQAaQBmAGkAYwBhAGMAaQDzAG4AIABFAGwAZQBjAHQA +cgDzAG4AaQBjAGEALAAgAEMASQBGACAAUQA0ADYAMAAxADEANQA2AEUAKQAuACAA +QwBQAFMAIABlAG4AIABoAHQAdABwADoALwAvAHcAdwB3AC4AYQBjAGMAdgAuAGUA +czAwBggrBgEFBQcCARYkaHR0cDovL3d3dy5hY2N2LmVzL2xlZ2lzbGFjaW9uX2Mu +aHRtMFUGA1UdHwROMEwwSqBIoEaGRGh0dHA6Ly93d3cuYWNjdi5lcy9maWxlYWRt +aW4vQXJjaGl2b3MvY2VydGlmaWNhZG9zL3JhaXphY2N2MV9kZXIuY3JsMA4GA1Ud +DwEB/wQEAwIBBjAXBgNVHREEEDAOgQxhY2N2QGFjY3YuZXMwDQYJKoZIhvcNAQEF +BQADggIBAJcxAp/n/UNnSEQU5CmH7UwoZtCPNdpNYbdKl02125DgBS4OxnnQ8pdp +D70ER9m+27Up2pvZrqmZ1dM8MJP1jaGo/AaNRPTKFpV8M9xii6g3+CfYCS0b78gU +JyCpZET/LtZ1qmxNYEAZSUNUY9rizLpm5U9EelvZaoErQNV/+QEnWCzI7UiRfD+m +AM/EKXMRNt6GGT6d7hmKG9Ww7Y49nCrADdg9ZuM8Db3VlFzi4qc1GwQA9j9ajepD +vV+JHanBsMyZ4k0ACtrJJ1vnE5Bc5PUzolVt3OAJTS+xJlsndQAJxGJ3KQhfnlms +tn6tn1QwIgPBHnFk/vk4CpYY3QIUrCPLBhwepH2NDd4nQeit2hW3sCPdK6jT2iWH +7ehVRE2I9DZ+hJp4rPcOVkkO1jMl1oRQQmwgEh0q1b688nCBpHBgvgW1m54ERL5h +I6zppSSMEYCUWqKiuUnSwdzRp+0xESyeGabu4VXhwOrPDYTkF7eifKXeVSUG7szA +h1xA2syVP1XgNce4hL60Xc16gwFy7ofmXx2utYXGJt/mwZrpHgJHnyqobalbz+xF +d3+YJ5oyXSrjhO7FmGYvliAd3djDJ9ew+f7Zfc3Qn48LFFhRny+Lwzgt3uiP1o2H +pPVWQxaZLPSkVrQ0uGE3ycJYgBugl6H8WY3pEfbRD0tVNEYqi4Y7 +-----END CERTIFICATE----- + +# Issuer: CN=TWCA Global Root CA O=TAIWAN-CA OU=Root CA +# Subject: CN=TWCA Global Root CA O=TAIWAN-CA OU=Root CA +# Label: "TWCA Global Root CA" +# Serial: 3262 +# MD5 Fingerprint: f9:03:7e:cf:e6:9e:3c:73:7a:2a:90:07:69:ff:2b:96 +# SHA1 Fingerprint: 9c:bb:48:53:f6:a4:f6:d3:52:a4:e8:32:52:55:60:13:f5:ad:af:65 +# SHA256 Fingerprint: 59:76:90:07:f7:68:5d:0f:cd:50:87:2f:9f:95:d5:75:5a:5b:2b:45:7d:81:f3:69:2b:61:0a:98:67:2f:0e:1b +-----BEGIN CERTIFICATE----- +MIIFQTCCAymgAwIBAgICDL4wDQYJKoZIhvcNAQELBQAwUTELMAkGA1UEBhMCVFcx +EjAQBgNVBAoTCVRBSVdBTi1DQTEQMA4GA1UECxMHUm9vdCBDQTEcMBoGA1UEAxMT +VFdDQSBHbG9iYWwgUm9vdCBDQTAeFw0xMjA2MjcwNjI4MzNaFw0zMDEyMzExNTU5 +NTlaMFExCzAJBgNVBAYTAlRXMRIwEAYDVQQKEwlUQUlXQU4tQ0ExEDAOBgNVBAsT +B1Jvb3QgQ0ExHDAaBgNVBAMTE1RXQ0EgR2xvYmFsIFJvb3QgQ0EwggIiMA0GCSqG +SIb3DQEBAQUAA4ICDwAwggIKAoICAQCwBdvI64zEbooh745NnHEKH1Jw7W2CnJfF +10xORUnLQEK1EjRsGcJ0pDFfhQKX7EMzClPSnIyOt7h52yvVavKOZsTuKwEHktSz +0ALfUPZVr2YOy+BHYC8rMjk1Ujoog/h7FsYYuGLWRyWRzvAZEk2tY/XTP3VfKfCh +MBwqoJimFb3u/Rk28OKRQ4/6ytYQJ0lM793B8YVwm8rqqFpD/G2Gb3PpN0Wp8DbH +zIh1HrtsBv+baz4X7GGqcXzGHaL3SekVtTzWoWH1EfcFbx39Eb7QMAfCKbAJTibc +46KokWofwpFFiFzlmLhxpRUZyXx1EcxwdE8tmx2RRP1WKKD+u4ZqyPpcC1jcxkt2 +yKsi2XMPpfRaAok/T54igu6idFMqPVMnaR1sjjIsZAAmY2E2TqNGtz99sy2sbZCi +laLOz9qC5wc0GZbpuCGqKX6mOL6OKUohZnkfs8O1CWfe1tQHRvMq2uYiN2DLgbYP +oA/pyJV/v1WRBXrPPRXAb94JlAGD1zQbzECl8LibZ9WYkTunhHiVJqRaCPgrdLQA +BDzfuBSO6N+pjWxnkjMdwLfS7JLIvgm/LCkFbwJrnu+8vyq8W8BQj0FwcYeyTbcE +qYSjMq+u7msXi7Kx/mzhkIyIqJdIzshNy/MGz19qCkKxHh53L46g5pIOBvwFItIm +4TFRfTLcDwIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB +/zANBgkqhkiG9w0BAQsFAAOCAgEAXzSBdu+WHdXltdkCY4QWwa6gcFGn90xHNcgL +1yg9iXHZqjNB6hQbbCEAwGxCGX6faVsgQt+i0trEfJdLjbDorMjupWkEmQqSpqsn +LhpNgb+E1HAerUf+/UqdM+DyucRFCCEK2mlpc3INvjT+lIutwx4116KD7+U4x6WF +H6vPNOw/KP4M8VeGTslV9xzU2KV9Bnpv1d8Q34FOIWWxtuEXeZVFBs5fzNxGiWNo +RI2T9GRwoD2dKAXDOXC4Ynsg/eTb6QihuJ49CcdP+yz4k3ZB3lLg4VfSnQO8d57+ +nile98FRYB/e2guyLXW3Q0iT5/Z5xoRdgFlglPx4mI88k1HtQJAH32RjJMtOcQWh +15QaiDLxInQirqWm2BJpTGCjAu4r7NRjkgtevi92a6O2JryPA9gK8kxkRr05YuWW +6zRjESjMlfGt7+/cgFhI6Uu46mWs6fyAtbXIRfmswZ/ZuepiiI7E8UuDEq3mi4TW +nsLrgxifarsbJGAzcMzs9zLzXNl5fe+epP7JI8Mk7hWSsT2RTyaGvWZzJBPqpK5j +wa19hAM8EHiGG3njxPPyBJUgriOCxLM6AGK/5jYk4Ve6xx6QddVfP5VhK8E7zeWz +aGHQRiapIVJpLesux+t3zqY6tQMzT3bR51xUAV3LePTJDL/PEo4XLSNolOer/qmy +KwbQBM0= +-----END CERTIFICATE----- + +# Issuer: CN=TeliaSonera Root CA v1 O=TeliaSonera +# Subject: CN=TeliaSonera Root CA v1 O=TeliaSonera +# Label: "TeliaSonera Root CA v1" +# Serial: 199041966741090107964904287217786801558 +# MD5 Fingerprint: 37:41:49:1b:18:56:9a:26:f5:ad:c2:66:fb:40:a5:4c +# SHA1 Fingerprint: 43:13:bb:96:f1:d5:86:9b:c1:4e:6a:92:f6:cf:f6:34:69:87:82:37 +# SHA256 Fingerprint: dd:69:36:fe:21:f8:f0:77:c1:23:a1:a5:21:c1:22:24:f7:22:55:b7:3e:03:a7:26:06:93:e8:a2:4b:0f:a3:89 +-----BEGIN CERTIFICATE----- +MIIFODCCAyCgAwIBAgIRAJW+FqD3LkbxezmCcvqLzZYwDQYJKoZIhvcNAQEFBQAw +NzEUMBIGA1UECgwLVGVsaWFTb25lcmExHzAdBgNVBAMMFlRlbGlhU29uZXJhIFJv +b3QgQ0EgdjEwHhcNMDcxMDE4MTIwMDUwWhcNMzIxMDE4MTIwMDUwWjA3MRQwEgYD +VQQKDAtUZWxpYVNvbmVyYTEfMB0GA1UEAwwWVGVsaWFTb25lcmEgUm9vdCBDQSB2 +MTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMK+6yfwIaPzaSZVfp3F +VRaRXP3vIb9TgHot0pGMYzHw7CTww6XScnwQbfQ3t+XmfHnqjLWCi65ItqwA3GV1 +7CpNX8GH9SBlK4GoRz6JI5UwFpB/6FcHSOcZrr9FZ7E3GwYq/t75rH2D+1665I+X +Z75Ljo1kB1c4VWk0Nj0TSO9P4tNmHqTPGrdeNjPUtAa9GAH9d4RQAEX1jF3oI7x+ +/jXh7VB7qTCNGdMJjmhnXb88lxhTuylixcpecsHHltTbLaC0H2kD7OriUPEMPPCs +81Mt8Bz17Ww5OXOAFshSsCPN4D7c3TxHoLs1iuKYaIu+5b9y7tL6pe0S7fyYGKkm +dtwoSxAgHNN/Fnct7W+A90m7UwW7XWjH1Mh1Fj+JWov3F0fUTPHSiXk+TT2YqGHe +Oh7S+F4D4MHJHIzTjU3TlTazN19jY5szFPAtJmtTfImMMsJu7D0hADnJoWjiUIMu +sDor8zagrC/kb2HCUQk5PotTubtn2txTuXZZNp1D5SDgPTJghSJRt8czu90VL6R4 +pgd7gUY2BIbdeTXHlSw7sKMXNeVzH7RcWe/a6hBle3rQf5+ztCo3O3CLm1u5K7fs +slESl1MpWtTwEhDcTwK7EpIvYtQ/aUN8Ddb8WHUBiJ1YFkveupD/RwGJBmr2X7KQ +arMCpgKIv7NHfirZ1fpoeDVNAgMBAAGjPzA9MA8GA1UdEwEB/wQFMAMBAf8wCwYD +VR0PBAQDAgEGMB0GA1UdDgQWBBTwj1k4ALP1j5qWDNXr+nuqF+gTEjANBgkqhkiG +9w0BAQUFAAOCAgEAvuRcYk4k9AwI//DTDGjkk0kiP0Qnb7tt3oNmzqjMDfz1mgbl +dxSR651Be5kqhOX//CHBXfDkH1e3damhXwIm/9fH907eT/j3HEbAek9ALCI18Bmx +0GtnLLCo4MBANzX2hFxc469CeP6nyQ1Q6g2EdvZR74NTxnr/DlZJLo961gzmJ1Tj +TQpgcmLNkQfWpb/ImWvtxBnmq0wROMVvMeJuScg/doAmAyYp4Db29iBT4xdwNBed +Y2gea+zDTYa4EzAvXUYNR0PVG6pZDrlcjQZIrXSHX8f8MVRBE+LHIQ6e4B4N4cB7 +Q4WQxYpYxmUKeFfyxiMPAdkgS94P+5KFdSpcc41teyWRyu5FrgZLAMzTsVlQ2jqI +OylDRl6XK1TOU2+NSueW+r9xDkKLfP0ooNBIytrEgUy7onOTJsjrDNYmiLbAJM+7 +vVvrdX3pCI6GMyx5dwlppYn8s3CQh3aP0yK7Qs69cwsgJirQmz1wHiRszYd2qReW +t88NkvuOGKmYSdGe/mBEciG5Ge3C9THxOUiIkCR1VBatzvT4aRRkOfujuLpwQMcn +HL/EVlP6Y2XQ8xwOFvVrhlhNGNTkDY6lnVuR3HYkUD/GKvvZt5y11ubQ2egZixVx +SK236thZiNSQvxaz2emsWWFUyBy6ysHK4bkgTI86k4mloMy/0/Z1pHWWbVY= +-----END CERTIFICATE----- + +# Issuer: CN=T-TeleSec GlobalRoot Class 2 O=T-Systems Enterprise Services GmbH OU=T-Systems Trust Center +# Subject: CN=T-TeleSec GlobalRoot Class 2 O=T-Systems Enterprise Services GmbH OU=T-Systems Trust Center +# Label: "T-TeleSec GlobalRoot Class 2" +# Serial: 1 +# MD5 Fingerprint: 2b:9b:9e:e4:7b:6c:1f:00:72:1a:cc:c1:77:79:df:6a +# SHA1 Fingerprint: 59:0d:2d:7d:88:4f:40:2e:61:7e:a5:62:32:17:65:cf:17:d8:94:e9 +# SHA256 Fingerprint: 91:e2:f5:78:8d:58:10:eb:a7:ba:58:73:7d:e1:54:8a:8e:ca:cd:01:45:98:bc:0b:14:3e:04:1b:17:05:25:52 +-----BEGIN CERTIFICATE----- +MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUx +KzApBgNVBAoMIlQtU3lzdGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAd +BgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBDZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNl +YyBHbG9iYWxSb290IENsYXNzIDIwHhcNMDgxMDAxMTA0MDE0WhcNMzMxMDAxMjM1 +OTU5WjCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoMIlQtU3lzdGVtcyBFbnRlcnBy +aXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBDZW50 +ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDIwggEiMA0G +CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCqX9obX+hzkeXaXPSi5kfl82hVYAUd +AqSzm1nzHoqvNK38DcLZSBnuaY/JIPwhqgcZ7bBcrGXHX+0CfHt8LRvWurmAwhiC +FoT6ZrAIxlQjgeTNuUk/9k9uN0goOA/FvudocP05l03Sx5iRUKrERLMjfTlH6VJi +1hKTXrcxlkIF+3anHqP1wvzpesVsqXFP6st4vGCvx9702cu+fjOlbpSD8DT6Iavq +jnKgP6TeMFvvhk1qlVtDRKgQFRzlAVfFmPHmBiiRqiDFt1MmUUOyCxGVWOHAD3bZ +wI18gfNycJ5v/hqO2V81xrJvNHy+SE/iWjnX2J14np+GPgNeGYtEotXHAgMBAAGj +QjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBS/ +WSA2AHmgoCJrjNXyYdK4LMuCSjANBgkqhkiG9w0BAQsFAAOCAQEAMQOiYQsfdOhy +NsZt+U2e+iKo4YFWz827n+qrkRk4r6p8FU3ztqONpfSO9kSpp+ghla0+AGIWiPAC +uvxhI+YzmzB6azZie60EI4RYZeLbK4rnJVM3YlNfvNoBYimipidx5joifsFvHZVw +IEoHNN/q/xWA5brXethbdXwFeilHfkCoMRN3zUA7tFFHei4R40cR3p1m0IvVVGb6 +g1XqfMIpiRvpb7PO4gWEyS8+eIVibslfwXhjdFjASBgMmTnrpMwatXlajRWc2BQN +9noHV8cigwUtPJslJj0Ys6lDfMjIq2SPDqO/nBudMNva0Bkuqjzx+zOAduTNrRlP +BSeOE6Fuwg== +-----END CERTIFICATE----- + +# Issuer: CN=Atos TrustedRoot 2011 O=Atos +# Subject: CN=Atos TrustedRoot 2011 O=Atos +# Label: "Atos TrustedRoot 2011" +# Serial: 6643877497813316402 +# MD5 Fingerprint: ae:b9:c4:32:4b:ac:7f:5d:66:cc:77:94:bb:2a:77:56 +# SHA1 Fingerprint: 2b:b1:f5:3e:55:0c:1d:c5:f1:d4:e6:b7:6a:46:4b:55:06:02:ac:21 +# SHA256 Fingerprint: f3:56:be:a2:44:b7:a9:1e:b3:5d:53:ca:9a:d7:86:4a:ce:01:8e:2d:35:d5:f8:f9:6d:df:68:a6:f4:1a:a4:74 +-----BEGIN CERTIFICATE----- +MIIDdzCCAl+gAwIBAgIIXDPLYixfszIwDQYJKoZIhvcNAQELBQAwPDEeMBwGA1UE +AwwVQXRvcyBUcnVzdGVkUm9vdCAyMDExMQ0wCwYDVQQKDARBdG9zMQswCQYDVQQG +EwJERTAeFw0xMTA3MDcxNDU4MzBaFw0zMDEyMzEyMzU5NTlaMDwxHjAcBgNVBAMM +FUF0b3MgVHJ1c3RlZFJvb3QgMjAxMTENMAsGA1UECgwEQXRvczELMAkGA1UEBhMC +REUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCVhTuXbyo7LjvPpvMp +Nb7PGKw+qtn4TaA+Gke5vJrf8v7MPkfoepbCJI419KkM/IL9bcFyYie96mvr54rM +VD6QUM+A1JX76LWC1BTFtqlVJVfbsVD2sGBkWXppzwO3bw2+yj5vdHLqqjAqc2K+ +SZFhyBH+DgMq92og3AIVDV4VavzjgsG1xZ1kCWyjWZgHJ8cblithdHFsQ/H3NYkQ +4J7sVaE3IqKHBAUsR320HLliKWYoyrfhk/WklAOZuXCFteZI6o1Q/NnezG8HDt0L +cp2AMBYHlT8oDv3FdU9T1nSatCQujgKRz3bFmx5VdJx4IbHwLfELn8LVlhgf8FQi +eowHAgMBAAGjfTB7MB0GA1UdDgQWBBSnpQaxLKYJYO7Rl+lwrrw7GWzbITAPBgNV +HRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFKelBrEspglg7tGX6XCuvDsZbNshMBgG +A1UdIAQRMA8wDQYLKwYBBAGwLQMEAQEwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3 +DQEBCwUAA4IBAQAmdzTblEiGKkGdLD4GkGDEjKwLVLgfuXvTBznk+j57sj1O7Z8j +vZfza1zv7v1Apt+hk6EKhqzvINB5Ab149xnYJDE0BAGmuhWawyfc2E8PzBhj/5kP +DpFrdRbhIfzYJsdHt6bPWHJxfrrhTZVHO8mvbaG0weyJ9rQPOLXiZNwlz6bb65pc +maHFCN795trV1lpFDMS3wrUU77QR/w4VtfX128a961qn8FYiqTxlVMYVqL2Gns2D +lmh6cYGJ4Qvh6hEbaAjMaZ7snkGeRDImeuKHCnE96+RapNLbxc3G3mB/ufNPRJLv +KrcYPqcZ2Qt9sTdBQrC6YB3y/gkRsPCHe6ed +-----END CERTIFICATE----- + +# Issuer: CN=QuoVadis Root CA 1 G3 O=QuoVadis Limited +# Subject: CN=QuoVadis Root CA 1 G3 O=QuoVadis Limited +# Label: "QuoVadis Root CA 1 G3" +# Serial: 687049649626669250736271037606554624078720034195 +# MD5 Fingerprint: a4:bc:5b:3f:fe:37:9a:fa:64:f0:e2:fa:05:3d:0b:ab +# SHA1 Fingerprint: 1b:8e:ea:57:96:29:1a:c9:39:ea:b8:0a:81:1a:73:73:c0:93:79:67 +# SHA256 Fingerprint: 8a:86:6f:d1:b2:76:b5:7e:57:8e:92:1c:65:82:8a:2b:ed:58:e9:f2:f2:88:05:41:34:b7:f1:f4:bf:c9:cc:74 +-----BEGIN CERTIFICATE----- +MIIFYDCCA0igAwIBAgIUeFhfLq0sGUvjNwc1NBMotZbUZZMwDQYJKoZIhvcNAQEL +BQAwSDELMAkGA1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAc +BgNVBAMTFVF1b1ZhZGlzIFJvb3QgQ0EgMSBHMzAeFw0xMjAxMTIxNzI3NDRaFw00 +MjAxMTIxNzI3NDRaMEgxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBM +aW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDEgRzMwggIiMA0GCSqG +SIb3DQEBAQUAA4ICDwAwggIKAoICAQCgvlAQjunybEC0BJyFuTHK3C3kEakEPBtV +wedYMB0ktMPvhd6MLOHBPd+C5k+tR4ds7FtJwUrVu4/sh6x/gpqG7D0DmVIB0jWe +rNrwU8lmPNSsAgHaJNM7qAJGr6Qc4/hzWHa39g6QDbXwz8z6+cZM5cOGMAqNF341 +68Xfuw6cwI2H44g4hWf6Pser4BOcBRiYz5P1sZK0/CPTz9XEJ0ngnjybCKOLXSoh +4Pw5qlPafX7PGglTvF0FBM+hSo+LdoINofjSxxR3W5A2B4GbPgb6Ul5jxaYA/qXp +UhtStZI5cgMJYr2wYBZupt0lwgNm3fME0UDiTouG9G/lg6AnhF4EwfWQvTA9xO+o +abw4m6SkltFi2mnAAZauy8RRNOoMqv8hjlmPSlzkYZqn0ukqeI1RPToV7qJZjqlc +3sX5kCLliEVx3ZGZbHqfPT2YfF72vhZooF6uCyP8Wg+qInYtyaEQHeTTRCOQiJ/G +KubX9ZqzWB4vMIkIG1SitZgj7Ah3HJVdYdHLiZxfokqRmu8hqkkWCKi9YSgxyXSt +hfbZxbGL0eUQMk1fiyA6PEkfM4VZDdvLCXVDaXP7a3F98N/ETH3Goy7IlXnLc6KO +Tk0k+17kBL5yG6YnLUlamXrXXAkgt3+UuU/xDRxeiEIbEbfnkduebPRq34wGmAOt +zCjvpUfzUwIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIB +BjAdBgNVHQ4EFgQUo5fW816iEOGrRZ88F2Q87gFwnMwwDQYJKoZIhvcNAQELBQAD +ggIBABj6W3X8PnrHX3fHyt/PX8MSxEBd1DKquGrX1RUVRpgjpeaQWxiZTOOtQqOC +MTaIzen7xASWSIsBx40Bz1szBpZGZnQdT+3Btrm0DWHMY37XLneMlhwqI2hrhVd2 +cDMT/uFPpiN3GPoajOi9ZcnPP/TJF9zrx7zABC4tRi9pZsMbj/7sPtPKlL92CiUN +qXsCHKnQO18LwIE6PWThv6ctTr1NxNgpxiIY0MWscgKCP6o6ojoilzHdCGPDdRS5 +YCgtW2jgFqlmgiNR9etT2DGbe+m3nUvriBbP+V04ikkwj+3x6xn0dxoxGE1nVGwv +b2X52z3sIexe9PSLymBlVNFxZPT5pqOBMzYzcfCkeF9OrYMh3jRJjehZrJ3ydlo2 +8hP0r+AJx2EqbPfgna67hkooby7utHnNkDPDs3b69fBsnQGQ+p6Q9pxyz0fawx/k +NSBT8lTR32GDpgLiJTjehTItXnOQUl1CxM49S+H5GYQd1aJQzEH7QRTDvdbJWqNj +ZgKAvQU6O0ec7AAmTPWIUb+oI38YB7AL7YsmoWTTYUrrXJ/es69nA7Mf3W1daWhp +q1467HxpvMc7hU6eFbm0FU/DlXpY18ls6Wy58yljXrQs8C097Vpl4KlbQMJImYFt +nh8GKjwStIsPm6Ik8KaN1nrgS7ZklmOVhMJKzRwuJIczYOXD +-----END CERTIFICATE----- + +# Issuer: CN=QuoVadis Root CA 2 G3 O=QuoVadis Limited +# Subject: CN=QuoVadis Root CA 2 G3 O=QuoVadis Limited +# Label: "QuoVadis Root CA 2 G3" +# Serial: 390156079458959257446133169266079962026824725800 +# MD5 Fingerprint: af:0c:86:6e:bf:40:2d:7f:0b:3e:12:50:ba:12:3d:06 +# SHA1 Fingerprint: 09:3c:61:f3:8b:8b:dc:7d:55:df:75:38:02:05:00:e1:25:f5:c8:36 +# SHA256 Fingerprint: 8f:e4:fb:0a:f9:3a:4d:0d:67:db:0b:eb:b2:3e:37:c7:1b:f3:25:dc:bc:dd:24:0e:a0:4d:af:58:b4:7e:18:40 +-----BEGIN CERTIFICATE----- +MIIFYDCCA0igAwIBAgIURFc0JFuBiZs18s64KztbpybwdSgwDQYJKoZIhvcNAQEL +BQAwSDELMAkGA1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAc +BgNVBAMTFVF1b1ZhZGlzIFJvb3QgQ0EgMiBHMzAeFw0xMjAxMTIxODU5MzJaFw00 +MjAxMTIxODU5MzJaMEgxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBM +aW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDIgRzMwggIiMA0GCSqG +SIb3DQEBAQUAA4ICDwAwggIKAoICAQChriWyARjcV4g/Ruv5r+LrI3HimtFhZiFf +qq8nUeVuGxbULX1QsFN3vXg6YOJkApt8hpvWGo6t/x8Vf9WVHhLL5hSEBMHfNrMW +n4rjyduYNM7YMxcoRvynyfDStNVNCXJJ+fKH46nafaF9a7I6JaltUkSs+L5u+9ym +c5GQYaYDFCDy54ejiK2toIz/pgslUiXnFgHVy7g1gQyjO/Dh4fxaXc6AcW34Sas+ +O7q414AB+6XrW7PFXmAqMaCvN+ggOp+oMiwMzAkd056OXbxMmO7FGmh77FOm6RQ1 +o9/NgJ8MSPsc9PG/Srj61YxxSscfrf5BmrODXfKEVu+lV0POKa2Mq1W/xPtbAd0j +IaFYAI7D0GoT7RPjEiuA3GfmlbLNHiJuKvhB1PLKFAeNilUSxmn1uIZoL1NesNKq +IcGY5jDjZ1XHm26sGahVpkUG0CM62+tlXSoREfA7T8pt9DTEceT/AFr2XK4jYIVz +8eQQsSWu1ZK7E8EM4DnatDlXtas1qnIhO4M15zHfeiFuuDIIfR0ykRVKYnLP43eh +vNURG3YBZwjgQQvD6xVu+KQZ2aKrr+InUlYrAoosFCT5v0ICvybIxo/gbjh9Uy3l +7ZizlWNof/k19N+IxWA1ksB8aRxhlRbQ694Lrz4EEEVlWFA4r0jyWbYW8jwNkALG +cC4BrTwV1wIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIB +BjAdBgNVHQ4EFgQU7edvdlq/YOxJW8ald7tyFnGbxD0wDQYJKoZIhvcNAQELBQAD +ggIBAJHfgD9DCX5xwvfrs4iP4VGyvD11+ShdyLyZm3tdquXK4Qr36LLTn91nMX66 +AarHakE7kNQIXLJgapDwyM4DYvmL7ftuKtwGTTwpD4kWilhMSA/ohGHqPHKmd+RC +roijQ1h5fq7KpVMNqT1wvSAZYaRsOPxDMuHBR//47PERIjKWnML2W2mWeyAMQ0Ga +W/ZZGYjeVYg3UQt4XAoeo0L9x52ID8DyeAIkVJOviYeIyUqAHerQbj5hLja7NQ4n +lv1mNDthcnPxFlxHBlRJAHpYErAK74X9sbgzdWqTHBLmYF5vHX/JHyPLhGGfHoJE ++V+tYlUkmlKY7VHnoX6XOuYvHxHaU4AshZ6rNRDbIl9qxV6XU/IyAgkwo1jwDQHV +csaxfGl7w/U2Rcxhbl5MlMVerugOXou/983g7aEOGzPuVBj+D77vfoRrQ+NwmNtd +dbINWQeFFSM51vHfqSYP1kjHs6Yi9TM3WpVHn3u6GBVv/9YUZINJ0gpnIdsPNWNg +KCLjsZWDzYWm3S8P52dSbrsvhXz1SnPnxT7AvSESBT/8twNJAlvIJebiVDj1eYeM +HVOyToV7BjjHLPj4sHKNJeV3UvQDHEimUF+IIDBu8oJDqz2XhOdT+yHBTw8imoa4 +WSr2Rz0ZiC3oheGe7IUIarFsNMkd7EgrO3jtZsSOeWmD3n+M +-----END CERTIFICATE----- + +# Issuer: CN=QuoVadis Root CA 3 G3 O=QuoVadis Limited +# Subject: CN=QuoVadis Root CA 3 G3 O=QuoVadis Limited +# Label: "QuoVadis Root CA 3 G3" +# Serial: 268090761170461462463995952157327242137089239581 +# MD5 Fingerprint: df:7d:b9:ad:54:6f:68:a1:df:89:57:03:97:43:b0:d7 +# SHA1 Fingerprint: 48:12:bd:92:3c:a8:c4:39:06:e7:30:6d:27:96:e6:a4:cf:22:2e:7d +# SHA256 Fingerprint: 88:ef:81:de:20:2e:b0:18:45:2e:43:f8:64:72:5c:ea:5f:bd:1f:c2:d9:d2:05:73:07:09:c5:d8:b8:69:0f:46 +-----BEGIN CERTIFICATE----- +MIIFYDCCA0igAwIBAgIULvWbAiin23r/1aOp7r0DoM8Sah0wDQYJKoZIhvcNAQEL +BQAwSDELMAkGA1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAc +BgNVBAMTFVF1b1ZhZGlzIFJvb3QgQ0EgMyBHMzAeFw0xMjAxMTIyMDI2MzJaFw00 +MjAxMTIyMDI2MzJaMEgxCzAJBgNVBAYTAkJNMRkwFwYDVQQKExBRdW9WYWRpcyBM +aW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDMgRzMwggIiMA0GCSqG +SIb3DQEBAQUAA4ICDwAwggIKAoICAQCzyw4QZ47qFJenMioKVjZ/aEzHs286IxSR +/xl/pcqs7rN2nXrpixurazHb+gtTTK/FpRp5PIpM/6zfJd5O2YIyC0TeytuMrKNu +FoM7pmRLMon7FhY4futD4tN0SsJiCnMK3UmzV9KwCoWdcTzeo8vAMvMBOSBDGzXR +U7Ox7sWTaYI+FrUoRqHe6okJ7UO4BUaKhvVZR74bbwEhELn9qdIoyhA5CcoTNs+c +ra1AdHkrAj80//ogaX3T7mH1urPnMNA3I4ZyYUUpSFlob3emLoG+B01vr87ERROR +FHAGjx+f+IdpsQ7vw4kZ6+ocYfx6bIrc1gMLnia6Et3UVDmrJqMz6nWB2i3ND0/k +A9HvFZcba5DFApCTZgIhsUfei5pKgLlVj7WiL8DWM2fafsSntARE60f75li59wzw +eyuxwHApw0BiLTtIadwjPEjrewl5qW3aqDCYz4ByA4imW0aucnl8CAMhZa634Ryl +sSqiMd5mBPfAdOhx3v89WcyWJhKLhZVXGqtrdQtEPREoPHtht+KPZ0/l7DxMYIBp +VzgeAVuNVejH38DMdyM0SXV89pgR6y3e7UEuFAUCf+D+IOs15xGsIs5XPd7JMG0Q +A4XN8f+MFrXBsj6IbGB/kE+V9/YtrQE5BwT6dYB9v0lQ7e/JxHwc64B+27bQ3RP+ +ydOc17KXqQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIB +BjAdBgNVHQ4EFgQUxhfQvKjqAkPyGwaZXSuQILnXnOQwDQYJKoZIhvcNAQELBQAD +ggIBADRh2Va1EodVTd2jNTFGu6QHcrxfYWLopfsLN7E8trP6KZ1/AvWkyaiTt3px +KGmPc+FSkNrVvjrlt3ZqVoAh313m6Tqe5T72omnHKgqwGEfcIHB9UqM+WXzBusnI +FUBhynLWcKzSt/Ac5IYp8M7vaGPQtSCKFWGafoaYtMnCdvvMujAWzKNhxnQT5Wvv +oxXqA/4Ti2Tk08HS6IT7SdEQTXlm66r99I0xHnAUrdzeZxNMgRVhvLfZkXdxGYFg +u/BYpbWcC/ePIlUnwEsBbTuZDdQdm2NnL9DuDcpmvJRPpq3t/O5jrFc/ZSXPsoaP +0Aj/uHYUbt7lJ+yreLVTubY/6CD50qi+YUbKh4yE8/nxoGibIh6BJpsQBJFxwAYf +3KDTuVan45gtf4Od34wrnDKOMpTwATwiKp9Dwi7DmDkHOHv8XgBCH/MyJnmDhPbl +8MFREsALHgQjDFSlTC9JxUrRtm5gDWv8a4uFJGS3iQ6rJUdbPM9+Sb3H6QrG2vd+ +DhcI00iX0HGS8A85PjRqHH3Y8iKuu2n0M7SmSFXRDw4m6Oy2Cy2nhTXN/VnIn9HN +PlopNLk9hM6xZdRZkZFWdSHBd575euFgndOtBBj0fOtek49TSiIp+EgrPk2GrFt/ +ywaZWWDYWGWVjUTR939+J399roD1B0y2PpxxVJkES/1Y+Zj0 +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Assured ID Root G2 O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Assured ID Root G2 O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Assured ID Root G2" +# Serial: 15385348160840213938643033620894905419 +# MD5 Fingerprint: 92:38:b9:f8:63:24:82:65:2c:57:33:e6:fe:81:8f:9d +# SHA1 Fingerprint: a1:4b:48:d9:43:ee:0a:0e:40:90:4f:3c:e0:a4:c0:91:93:51:5d:3f +# SHA256 Fingerprint: 7d:05:eb:b6:82:33:9f:8c:94:51:ee:09:4e:eb:fe:fa:79:53:a1:14:ed:b2:f4:49:49:45:2f:ab:7d:2f:c1:85 +-----BEGIN CERTIFICATE----- +MIIDljCCAn6gAwIBAgIQC5McOtY5Z+pnI7/Dr5r0SzANBgkqhkiG9w0BAQsFADBl +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv +b3QgRzIwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1MTIwMDAwWjBlMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl +cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzIwggEi +MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ5ygvUj82ckmIkzTz+GoeMVSA +n61UQbVH35ao1K+ALbkKz3X9iaV9JPrjIgwrvJUXCzO/GU1BBpAAvQxNEP4Htecc +biJVMWWXvdMX0h5i89vqbFCMP4QMls+3ywPgym2hFEwbid3tALBSfK+RbLE4E9Hp +EgjAALAcKxHad3A2m67OeYfcgnDmCXRwVWmvo2ifv922ebPynXApVfSr/5Vh88lA +bx3RvpO704gqu52/clpWcTs/1PPRCv4o76Pu2ZmvA9OPYLfykqGxvYmJHzDNw6Yu +YjOuFgJ3RFrngQo8p0Quebg/BLxcoIfhG69Rjs3sLPr4/m3wOnyqi+RnlTGNAgMB +AAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQW +BBTOw0q5mVXyuNtgv6l+vVa1lzan1jANBgkqhkiG9w0BAQsFAAOCAQEAyqVVjOPI +QW5pJ6d1Ee88hjZv0p3GeDgdaZaikmkuOGybfQTUiaWxMTeKySHMq2zNixya1r9I +0jJmwYrA8y8678Dj1JGG0VDjA9tzd29KOVPt3ibHtX2vK0LRdWLjSisCx1BL4Gni +lmwORGYQRI+tBev4eaymG+g3NJ1TyWGqolKvSnAWhsI6yLETcDbYz+70CjTVW0z9 +B5yiutkBclzzTcHdDrEcDcRjvq30FPuJ7KJBDkzMyFdA0G4Dqs0MjomZmWzwPDCv +ON9vvKO+KSAnq3T/EyJ43pdSVR6DtVQgA+6uwE9W3jfMw3+qBCe703e4YtsXfJwo +IhNzbM8m9Yop5w== +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Assured ID Root G3 O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Assured ID Root G3 O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Assured ID Root G3" +# Serial: 15459312981008553731928384953135426796 +# MD5 Fingerprint: 7c:7f:65:31:0c:81:df:8d:ba:3e:99:e2:5c:ad:6e:fb +# SHA1 Fingerprint: f5:17:a2:4f:9a:48:c6:c9:f8:a2:00:26:9f:dc:0f:48:2c:ab:30:89 +# SHA256 Fingerprint: 7e:37:cb:8b:4c:47:09:0c:ab:36:55:1b:a6:f4:5d:b8:40:68:0f:ba:16:6a:95:2d:b1:00:71:7f:43:05:3f:c2 +-----BEGIN CERTIFICATE----- +MIICRjCCAc2gAwIBAgIQC6Fa+h3foLVJRK/NJKBs7DAKBggqhkjOPQQDAzBlMQsw +CQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cu +ZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3Qg +RzMwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1MTIwMDAwWjBlMQswCQYDVQQGEwJV +UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQu +Y29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzMwdjAQBgcq +hkjOPQIBBgUrgQQAIgNiAAQZ57ysRGXtzbg/WPuNsVepRC0FFfLvC/8QdJ+1YlJf +Zn4f5dwbRXkLzMZTCp2NXQLZqVneAlr2lSoOjThKiknGvMYDOAdfVdp+CW7if17Q +RSAPWXYQ1qAk8C3eNvJsKTmjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/ +BAQDAgGGMB0GA1UdDgQWBBTL0L2p4ZgFUaFNN6KDec6NHSrkhDAKBggqhkjOPQQD +AwNnADBkAjAlpIFFAmsSS3V0T8gj43DydXLefInwz5FyYZ5eEJJZVrmDxxDnOOlY +JjZ91eQ0hjkCMHw2U/Aw5WJjOpnitqM7mzT6HtoQknFekROn3aRukswy1vUhZscv +6pZjamVFkpUBtA== +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Global Root G2 O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Global Root G2 O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Global Root G2" +# Serial: 4293743540046975378534879503202253541 +# MD5 Fingerprint: e4:a6:8a:c8:54:ac:52:42:46:0a:fd:72:48:1b:2a:44 +# SHA1 Fingerprint: df:3c:24:f9:bf:d6:66:76:1b:26:80:73:fe:06:d1:cc:8d:4f:82:a4 +# SHA256 Fingerprint: cb:3c:cb:b7:60:31:e5:e0:13:8f:8d:d3:9a:23:f9:de:47:ff:c3:5e:43:c1:14:4c:ea:27:d4:6a:5a:b1:cb:5f +-----BEGIN CERTIFICATE----- +MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH +MjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT +MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j +b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG +9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI +2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx +1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ +q2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz +tCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ +vIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP +BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV +5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY +1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4 +NeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG +Fdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91 +8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe +pLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl +MrY= +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Global Root G3 O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Global Root G3 O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Global Root G3" +# Serial: 7089244469030293291760083333884364146 +# MD5 Fingerprint: f5:5d:a4:50:a5:fb:28:7e:1e:0f:0d:cc:96:57:56:ca +# SHA1 Fingerprint: 7e:04:de:89:6a:3e:66:6d:00:e6:87:d3:3f:fa:d9:3b:e8:3d:34:9e +# SHA256 Fingerprint: 31:ad:66:48:f8:10:41:38:c7:38:f3:9e:a4:32:01:33:39:3e:3a:18:cc:02:29:6e:f9:7c:2a:c9:ef:67:31:d0 +-----BEGIN CERTIFICATE----- +MIICPzCCAcWgAwIBAgIQBVVWvPJepDU1w6QP1atFcjAKBggqhkjOPQQDAzBhMQsw +CQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cu +ZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBHMzAe +Fw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVTMRUw +EwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20x +IDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEczMHYwEAYHKoZIzj0CAQYF +K4EEACIDYgAE3afZu4q4C/sLfyHS8L6+c/MzXRq8NOrexpu80JX28MzQC7phW1FG +fp4tn+6OYwwX7Adw9c+ELkCDnOg/QW07rdOkFFk2eJ0DQ+4QE2xy3q6Ip6FrtUPO +Z9wj/wMco+I+o0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAd +BgNVHQ4EFgQUs9tIpPmhxdiuNkHMEWNpYim8S8YwCgYIKoZIzj0EAwMDaAAwZQIx +AK288mw/EkrRLTnDCgmXc/SINoyIJ7vmiI1Qhadj+Z4y3maTD/HMsQmP3Wyr+mt/ +oAIwOWZbwmSNuJ5Q3KjVSaLtx9zRSX8XAbjIho9OjIgrqJqpisXRAL34VOKa5Vt8 +sycX +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Trusted Root G4 O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Trusted Root G4 O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Trusted Root G4" +# Serial: 7451500558977370777930084869016614236 +# MD5 Fingerprint: 78:f2:fc:aa:60:1f:2f:b4:eb:c9:37:ba:53:2e:75:49 +# SHA1 Fingerprint: dd:fb:16:cd:49:31:c9:73:a2:03:7d:3f:c8:3a:4d:7d:77:5d:05:e4 +# SHA256 Fingerprint: 55:2f:7b:dc:f1:a7:af:9e:6c:e6:72:01:7f:4f:12:ab:f7:72:40:c7:8e:76:1a:c2:03:d1:d9:d2:0a:c8:99:88 +-----BEGIN CERTIFICATE----- +MIIFkDCCA3igAwIBAgIQBZsbV56OITLiOQe9p3d1XDANBgkqhkiG9w0BAQwFADBi +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3Qg +RzQwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1MTIwMDAwWjBiMQswCQYDVQQGEwJV +UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQu +Y29tMSEwHwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0GCSqG +SIb3DQEBAQUAA4ICDwAwggIKAoICAQC/5pBzaN675F1KPDAiMGkz7MKnJS7JIT3y +ithZwuEppz1Yq3aaza57G4QNxDAf8xukOBbrVsaXbR2rsnnyyhHS5F/WBTxSD1If +xp4VpX6+n6lXFllVcq9ok3DCsrp1mWpzMpTREEQQLt+C8weE5nQ7bXHiLQwb7iDV +ySAdYyktzuxeTsiT+CFhmzTrBcZe7FsavOvJz82sNEBfsXpm7nfISKhmV1efVFiO +DCu3T6cw2Vbuyntd463JT17lNecxy9qTXtyOj4DatpGYQJB5w3jHtrHEtWoYOAMQ +jdjUN6QuBX2I9YI+EJFwq1WCQTLX2wRzKm6RAXwhTNS8rhsDdV14Ztk6MUSaM0C/ +CNdaSaTC5qmgZ92kJ7yhTzm1EVgX9yRcRo9k98FpiHaYdj1ZXUJ2h4mXaXpI8OCi +EhtmmnTK3kse5w5jrubU75KSOp493ADkRSWJtppEGSt+wJS00mFt6zPZxd9LBADM +fRyVw4/3IbKyEbe7f/LVjHAsQWCqsWMYRJUadmJ+9oCw++hkpjPRiQfhvbfmQ6QY +uKZ3AeEPlAwhHbJUKSWJbOUOUlFHdL4mrLZBdd56rF+NP8m800ERElvlEFDrMcXK +chYiCd98THU/Y+whX8QgUWtvsauGi0/C1kVfnSD8oR7FwI+isX4KJpn15GkvmB0t +9dmpsh3lGwIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIB +hjAdBgNVHQ4EFgQU7NfjgtJxXWRM3y5nP+e6mK4cD08wDQYJKoZIhvcNAQEMBQAD +ggIBALth2X2pbL4XxJEbw6GiAI3jZGgPVs93rnD5/ZpKmbnJeFwMDF/k5hQpVgs2 +SV1EY+CtnJYYZhsjDT156W1r1lT40jzBQ0CuHVD1UvyQO7uYmWlrx8GnqGikJ9yd ++SeuMIW59mdNOj6PWTkiU0TryF0Dyu1Qen1iIQqAyHNm0aAFYF/opbSnr6j3bTWc +fFqK1qI4mfN4i/RN0iAL3gTujJtHgXINwBQy7zBZLq7gcfJW5GqXb5JQbZaNaHqa +sjYUegbyJLkJEVDXCLG4iXqEI2FCKeWjzaIgQdfRnGTZ6iahixTXTBmyUEFxPT9N +cCOGDErcgdLMMpSEDQgJlxxPwO5rIHQw0uA5NBCFIRUBCOhVMt5xSdkoF1BN5r5N +0XWs0Mr7QbhDparTwwVETyw2m+L64kW4I1NsBm9nVX9GtUw/bihaeSbSpKhil9Ie +4u1Ki7wb/UdKDd9nZn6yW0HQO+T0O/QEY+nvwlQAUaCKKsnOeMzV6ocEGLPOr0mI +r/OSmbaz5mEP0oUA51Aa5BuVnRmhuZyxm7EAHu/QD09CbMkKvO5D+jpxpchNJqU1 +/YldvIViHTLSoCtU7ZpXwdv6EM8Zt4tKG48BtieVU+i2iW1bvGjUI+iLUaJW+fCm +gKDWHrO8Dw9TdSmq6hN35N6MgSGtBxBHEa2HPQfRdbzP82Z+ +-----END CERTIFICATE----- + +# Issuer: CN=COMODO RSA Certification Authority O=COMODO CA Limited +# Subject: CN=COMODO RSA Certification Authority O=COMODO CA Limited +# Label: "COMODO RSA Certification Authority" +# Serial: 101909084537582093308941363524873193117 +# MD5 Fingerprint: 1b:31:b0:71:40:36:cc:14:36:91:ad:c4:3e:fd:ec:18 +# SHA1 Fingerprint: af:e5:d2:44:a8:d1:19:42:30:ff:47:9f:e2:f8:97:bb:cd:7a:8c:b4 +# SHA256 Fingerprint: 52:f0:e1:c4:e5:8e:c6:29:29:1b:60:31:7f:07:46:71:b8:5d:7e:a8:0d:5b:07:27:34:63:53:4b:32:b4:02:34 +-----BEGIN CERTIFICATE----- +MIIF2DCCA8CgAwIBAgIQTKr5yttjb+Af907YWwOGnTANBgkqhkiG9w0BAQwFADCB +hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G +A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV +BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMTE5 +MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0IxGzAZBgNVBAgT +EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR +Q09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNh +dGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCR +6FSS0gpWsawNJN3Fz0RndJkrN6N9I3AAcbxT38T6KhKPS38QVr2fcHK3YX/JSw8X +pz3jsARh7v8Rl8f0hj4K+j5c+ZPmNHrZFGvnnLOFoIJ6dq9xkNfs/Q36nGz637CC +9BR++b7Epi9Pf5l/tfxnQ3K9DADWietrLNPtj5gcFKt+5eNu/Nio5JIk2kNrYrhV +/erBvGy2i/MOjZrkm2xpmfh4SDBF1a3hDTxFYPwyllEnvGfDyi62a+pGx8cgoLEf +Zd5ICLqkTqnyg0Y3hOvozIFIQ2dOciqbXL1MGyiKXCJ7tKuY2e7gUYPDCUZObT6Z ++pUX2nwzV0E8jVHtC7ZcryxjGt9XyD+86V3Em69FmeKjWiS0uqlWPc9vqv9JWL7w +qP/0uK3pN/u6uPQLOvnoQ0IeidiEyxPx2bvhiWC4jChWrBQdnArncevPDt09qZah +SL0896+1DSJMwBGB7FY79tOi4lu3sgQiUpWAk2nojkxl8ZEDLXB0AuqLZxUpaVIC +u9ffUGpVRr+goyhhf3DQw6KqLCGqR84onAZFdr+CGCe01a60y1Dma/RMhnEw6abf +Fobg2P9A3fvQQoh/ozM6LlweQRGBY84YcWsr7KaKtzFcOmpH4MN5WdYgGq/yapiq +crxXStJLnbsQ/LBMQeXtHT1eKJ2czL+zUdqnR+WEUwIDAQABo0IwQDAdBgNVHQ4E +FgQUu69+Aj36pvE8hI6t7jiY7NkyMtQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB +/wQFMAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAArx1UaEt65Ru2yyTUEUAJNMnMvl +wFTPoCWOAvn9sKIN9SCYPBMtrFaisNZ+EZLpLrqeLppysb0ZRGxhNaKatBYSaVqM +4dc+pBroLwP0rmEdEBsqpIt6xf4FpuHA1sj+nq6PK7o9mfjYcwlYRm6mnPTXJ9OV +2jeDchzTc+CiR5kDOF3VSXkAKRzH7JsgHAckaVd4sjn8OoSgtZx8jb8uk2Intzna +FxiuvTwJaP+EmzzV1gsD41eeFPfR60/IvYcjt7ZJQ3mFXLrrkguhxuhoqEwWsRqZ +CuhTLJK7oQkYdQxlqHvLI7cawiiFwxv/0Cti76R7CZGYZ4wUAc1oBmpjIXUDgIiK +boHGhfKppC3n9KUkEEeDys30jXlYsQab5xoq2Z0B15R97QNKyvDb6KkBPvVWmcke +jkk9u+UJueBPSZI9FoJAzMxZxuY67RIuaTxslbH9qh17f4a+Hg4yRvv7E491f0yL +S0Zj/gA0QHDBw7mh3aZw4gSzQbzpgJHqZJx64SIDqZxubw5lT2yHh17zbqD5daWb +QOhTsiedSrnAdyGN/4fy3ryM7xfft0kL0fJuMAsaDk527RH89elWsn2/x20Kk4yl +0MC2Hb46TpSi125sC8KKfPog88Tk5c0NqMuRkrF8hey1FGlmDoLnzc7ILaZRfyHB +NVOFBkpdn627G190 +-----END CERTIFICATE----- + +# Issuer: CN=USERTrust RSA Certification Authority O=The USERTRUST Network +# Subject: CN=USERTrust RSA Certification Authority O=The USERTRUST Network +# Label: "USERTrust RSA Certification Authority" +# Serial: 2645093764781058787591871645665788717 +# MD5 Fingerprint: 1b:fe:69:d1:91:b7:19:33:a3:72:a8:0f:e1:55:e5:b5 +# SHA1 Fingerprint: 2b:8f:1b:57:33:0d:bb:a2:d0:7a:6c:51:f7:0e:e9:0d:da:b9:ad:8e +# SHA256 Fingerprint: e7:93:c9:b0:2f:d8:aa:13:e2:1c:31:22:8a:cc:b0:81:19:64:3b:74:9c:89:89:64:b1:74:6d:46:c3:d4:cb:d2 +-----BEGIN CERTIFICATE----- +MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCB +iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl +cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV +BAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAw +MjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMCVVMxEzARBgNV +BAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU +aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2Vy +dGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK +AoICAQCAEmUXNg7D2wiz0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B +3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2jY0K2dvKpOyuR+OJv0OwWIJAJPuLodMkY +tJHUYmTbf6MG8YgYapAiPLz+E/CHFHv25B+O1ORRxhFnRghRy4YUVD+8M/5+bJz/ +Fp0YvVGONaanZshyZ9shZrHUm3gDwFA66Mzw3LyeTP6vBZY1H1dat//O+T23LLb2 +VN3I5xI6Ta5MirdcmrS3ID3KfyI0rn47aGYBROcBTkZTmzNg95S+UzeQc0PzMsNT +79uq/nROacdrjGCT3sTHDN/hMq7MkztReJVni+49Vv4M0GkPGw/zJSZrM233bkf6 +c0Plfg6lZrEpfDKEY1WJxA3Bk1QwGROs0303p+tdOmw1XNtB1xLaqUkL39iAigmT +Yo61Zs8liM2EuLE/pDkP2QKe6xJMlXzzawWpXhaDzLhn4ugTncxbgtNMs+1b/97l +c6wjOy0AvzVVdAlJ2ElYGn+SNuZRkg7zJn0cTRe8yexDJtC/QV9AqURE9JnnV4ee +UB9XVKg+/XRjL7FQZQnmWEIuQxpMtPAlR1n6BB6T1CZGSlCBst6+eLf8ZxXhyVeE +Hg9j1uliutZfVS7qXMYoCAQlObgOK6nyTJccBz8NUvXt7y+CDwIDAQABo0IwQDAd +BgNVHQ4EFgQUU3m/WqorSs9UgOHYm8Cd8rIDZsswDgYDVR0PAQH/BAQDAgEGMA8G +A1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAFzUfA3P9wF9QZllDHPF +Up/L+M+ZBn8b2kMVn54CVVeWFPFSPCeHlCjtHzoBN6J2/FNQwISbxmtOuowhT6KO +VWKR82kV2LyI48SqC/3vqOlLVSoGIG1VeCkZ7l8wXEskEVX/JJpuXior7gtNn3/3 +ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jRRa8YFWSQEg9zKC7F4iRO/Fjs +8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9spnFixdjQg3IM8WcR +iQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwXtuhxkYze +Sf7dNXGiFSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZ +XHlKYC6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/ +qS3fuQL39ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRB +VXyNWQKV3WKdwrnuWih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aB +L6KCq9NjRHDEjf8tM7qtj3u1cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfG +jjxDah2nGN59PRbxYvnKkKj9 +-----END CERTIFICATE----- + +# Issuer: CN=USERTrust ECC Certification Authority O=The USERTRUST Network +# Subject: CN=USERTrust ECC Certification Authority O=The USERTRUST Network +# Label: "USERTrust ECC Certification Authority" +# Serial: 123013823720199481456569720443997572134 +# MD5 Fingerprint: fa:68:bc:d9:b5:7f:ad:fd:c9:1d:06:83:28:cc:24:c1 +# SHA1 Fingerprint: d1:cb:ca:5d:b2:d5:2a:7f:69:3b:67:4d:e5:f0:5a:1d:0c:95:7d:f0 +# SHA256 Fingerprint: 4f:f4:60:d5:4b:9c:86:da:bf:bc:fc:57:12:e0:40:0d:2b:ed:3f:bc:4d:4f:bd:aa:86:e0:6a:dc:d2:a9:ad:7a +-----BEGIN CERTIFICATE----- +MIICjzCCAhWgAwIBAgIQXIuZxVqUxdJxVt7NiYDMJjAKBggqhkjOPQQDAzCBiDEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNl +eSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMT +JVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAx +MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgT +Ck5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVUaGUg +VVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlm +aWNhdGlvbiBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQarFRaqflo +I+d61SRvU8Za2EurxtW20eZzca7dnNYMYf3boIkDuAUU7FfO7l0/4iGzzvfUinng +o4N+LZfQYcTxmdwlkWOrfzCjtHDix6EznPO/LlxTsV+zfTJ/ijTjeXmjQjBAMB0G +A1UdDgQWBBQ64QmG1M8ZwpZ2dEl23OA1xmNjmjAOBgNVHQ8BAf8EBAMCAQYwDwYD +VR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjA2Z6EWCNzklwBBHU6+4WMB +zzuqQhFkoJ2UOQIReVx7Hfpkue4WQrO/isIJxOzksU0CMQDpKmFHjFJKS04YcPbW +RNZu9YO6bVi9JNlWSOrvxKJGgYhqOkbRqZtNyWHa0V1Xahg= +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign ECC Root CA - R5 +# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign ECC Root CA - R5 +# Label: "GlobalSign ECC Root CA - R5" +# Serial: 32785792099990507226680698011560947931244 +# MD5 Fingerprint: 9f:ad:3b:1c:02:1e:8a:ba:17:74:38:81:0c:a2:bc:08 +# SHA1 Fingerprint: 1f:24:c6:30:cd:a4:18:ef:20:69:ff:ad:4f:dd:5f:46:3a:1b:69:aa +# SHA256 Fingerprint: 17:9f:bc:14:8a:3d:d0:0f:d2:4e:a1:34:58:cc:43:bf:a7:f5:9c:81:82:d7:83:a5:13:f6:eb:ec:10:0c:89:24 +-----BEGIN CERTIFICATE----- +MIICHjCCAaSgAwIBAgIRYFlJ4CYuu1X5CneKcflK2GwwCgYIKoZIzj0EAwMwUDEk +MCIGA1UECxMbR2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpH +bG9iYWxTaWduMRMwEQYDVQQDEwpHbG9iYWxTaWduMB4XDTEyMTExMzAwMDAwMFoX +DTM4MDExOTAzMTQwN1owUDEkMCIGA1UECxMbR2xvYmFsU2lnbiBFQ0MgUm9vdCBD +QSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQDEwpHbG9iYWxTaWdu +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAER0UOlvt9Xb/pOdEh+J8LttV7HpI6SFkc +8GIxLcB6KP4ap1yztsyX50XUWPrRd21DosCHZTQKH3rd6zwzocWdTaRvQZU4f8ke +hOvRnkmSh5SHDDqFSmafnVmTTZdhBoZKo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYD +VR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUPeYpSJvqB8ohREom3m7e0oPQn1kwCgYI +KoZIzj0EAwMDaAAwZQIxAOVpEslu28YxuglB4Zf4+/2a4n0Sye18ZNPLBSWLVtmg +515dTguDnFt2KaAJJiFqYgIwcdK1j1zqO+F4CYWodZI7yFz9SO8NdCKoCOJuxUnO +xwy8p2Fp8fc74SrL+SvzZpA3 +-----END CERTIFICATE----- + +# Issuer: CN=IdenTrust Commercial Root CA 1 O=IdenTrust +# Subject: CN=IdenTrust Commercial Root CA 1 O=IdenTrust +# Label: "IdenTrust Commercial Root CA 1" +# Serial: 13298821034946342390520003877796839426 +# MD5 Fingerprint: b3:3e:77:73:75:ee:a0:d3:e3:7e:49:63:49:59:bb:c7 +# SHA1 Fingerprint: df:71:7e:aa:4a:d9:4e:c9:55:84:99:60:2d:48:de:5f:bc:f0:3a:25 +# SHA256 Fingerprint: 5d:56:49:9b:e4:d2:e0:8b:cf:ca:d0:8a:3e:38:72:3d:50:50:3b:de:70:69:48:e4:2f:55:60:30:19:e5:28:ae +-----BEGIN CERTIFICATE----- +MIIFYDCCA0igAwIBAgIQCgFCgAAAAUUjyES1AAAAAjANBgkqhkiG9w0BAQsFADBK +MQswCQYDVQQGEwJVUzESMBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVu +VHJ1c3QgQ29tbWVyY2lhbCBSb290IENBIDEwHhcNMTQwMTE2MTgxMjIzWhcNMzQw +MTE2MTgxMjIzWjBKMQswCQYDVQQGEwJVUzESMBAGA1UEChMJSWRlblRydXN0MScw +JQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBSb290IENBIDEwggIiMA0GCSqG +SIb3DQEBAQUAA4ICDwAwggIKAoICAQCnUBneP5k91DNG8W9RYYKyqU+PZ4ldhNlT +3Qwo2dfw/66VQ3KZ+bVdfIrBQuExUHTRgQ18zZshq0PirK1ehm7zCYofWjK9ouuU ++ehcCuz/mNKvcbO0U59Oh++SvL3sTzIwiEsXXlfEU8L2ApeN2WIrvyQfYo3fw7gp +S0l4PJNgiCL8mdo2yMKi1CxUAGc1bnO/AljwpN3lsKImesrgNqUZFvX9t++uP0D1 +bVoE/c40yiTcdCMbXTMTEl3EASX2MN0CXZ/g1Ue9tOsbobtJSdifWwLziuQkkORi +T0/Br4sOdBeo0XKIanoBScy0RnnGF7HamB4HWfp1IYVl3ZBWzvurpWCdxJ35UrCL +vYf5jysjCiN2O/cz4ckA82n5S6LgTrx+kzmEB/dEcH7+B1rlsazRGMzyNeVJSQjK +Vsk9+w8YfYs7wRPCTY/JTw436R+hDmrfYi7LNQZReSzIJTj0+kuniVyc0uMNOYZK +dHzVWYfCP04MXFL0PfdSgvHqo6z9STQaKPNBiDoT7uje/5kdX7rL6B7yuVBgwDHT +c+XvvqDtMwt0viAgxGds8AgDelWAf0ZOlqf0Hj7h9tgJ4TNkK2PXMl6f+cB7D3hv +l7yTmvmcEpB4eoCHFddydJxVdHixuuFucAS6T6C6aMN7/zHwcz09lCqxC0EOoP5N +iGVreTO01wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB +/zAdBgNVHQ4EFgQU7UQZwNPwBovupHu+QucmVMiONnYwDQYJKoZIhvcNAQELBQAD +ggIBAA2ukDL2pkt8RHYZYR4nKM1eVO8lvOMIkPkp165oCOGUAFjvLi5+U1KMtlwH +6oi6mYtQlNeCgN9hCQCTrQ0U5s7B8jeUeLBfnLOic7iPBZM4zY0+sLj7wM+x8uwt +LRvM7Kqas6pgghstO8OEPVeKlh6cdbjTMM1gCIOQ045U8U1mwF10A0Cj7oV+wh93 +nAbowacYXVKV7cndJZ5t+qntozo00Fl72u1Q8zW/7esUTTHHYPTa8Yec4kjixsU3 ++wYQ+nVZZjFHKdp2mhzpgq7vmrlR94gjmmmVYjzlVYA211QC//G5Xc7UI2/YRYRK +W2XviQzdFKcgyxilJbQN+QHwotL0AMh0jqEqSI5l2xPE4iUXfeu+h1sXIFRRk0pT +AwvsXcoz7WL9RccvW9xYoIA55vrX/hMUpu09lEpCdNTDd1lzzY9GvlU47/rokTLq +l1gEIt44w8y8bckzOmoKaT+gyOpyj4xjhiO9bTyWnpXgSUyqorkqG5w2gXjtw+hG +4iZZRHUe2XWJUc0QhJ1hYMtd+ZciTY6Y5uN/9lu7rs3KSoFrXgvzUeF0K+l+J6fZ +mUlO+KWA2yUPHGNiiskzZ2s8EIPGrd6ozRaOjfAHN3Gf8qv8QfXBi+wAN10J5U6A +7/qxXDgGpRtK4dw4LTzcqx+QGtVKnO7RcGzM7vRX+Bi6hG6H +-----END CERTIFICATE----- + +# Issuer: CN=IdenTrust Public Sector Root CA 1 O=IdenTrust +# Subject: CN=IdenTrust Public Sector Root CA 1 O=IdenTrust +# Label: "IdenTrust Public Sector Root CA 1" +# Serial: 13298821034946342390521976156843933698 +# MD5 Fingerprint: 37:06:a5:b0:fc:89:9d:ba:f4:6b:8c:1a:64:cd:d5:ba +# SHA1 Fingerprint: ba:29:41:60:77:98:3f:f4:f3:ef:f2:31:05:3b:2e:ea:6d:4d:45:fd +# SHA256 Fingerprint: 30:d0:89:5a:9a:44:8a:26:20:91:63:55:22:d1:f5:20:10:b5:86:7a:ca:e1:2c:78:ef:95:8f:d4:f4:38:9f:2f +-----BEGIN CERTIFICATE----- +MIIFZjCCA06gAwIBAgIQCgFCgAAAAUUjz0Z8AAAAAjANBgkqhkiG9w0BAQsFADBN +MQswCQYDVQQGEwJVUzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVu +VHJ1c3QgUHVibGljIFNlY3RvciBSb290IENBIDEwHhcNMTQwMTE2MTc1MzMyWhcN +MzQwMTE2MTc1MzMyWjBNMQswCQYDVQQGEwJVUzESMBAGA1UEChMJSWRlblRydXN0 +MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3RvciBSb290IENBIDEwggIi +MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2IpT8pEiv6EdrCvsnduTyP4o7 +ekosMSqMjbCpwzFrqHd2hCa2rIFCDQjrVVi7evi8ZX3yoG2LqEfpYnYeEe4IFNGy +RBb06tD6Hi9e28tzQa68ALBKK0CyrOE7S8ItneShm+waOh7wCLPQ5CQ1B5+ctMlS +bdsHyo+1W/CD80/HLaXIrcuVIKQxKFdYWuSNG5qrng0M8gozOSI5Cpcu81N3uURF +/YTLNiCBWS2ab21ISGHKTN9T0a9SvESfqy9rg3LvdYDaBjMbXcjaY8ZNzaxmMc3R +3j6HEDbhuaR672BQssvKplbgN6+rNBM5Jeg5ZuSYeqoSmJxZZoY+rfGwyj4GD3vw +EUs3oERte8uojHH01bWRNszwFcYr3lEXsZdMUD2xlVl8BX0tIdUAvwFnol57plzy +9yLxkA2T26pEUWbMfXYD62qoKjgZl3YNa4ph+bz27nb9cCvdKTz4Ch5bQhyLVi9V +GxyhLrXHFub4qjySjmm2AcG1hp2JDws4lFTo6tyePSW8Uybt1as5qsVATFSrsrTZ +2fjXctscvG29ZV/viDUqZi/u9rNl8DONfJhBaUYPQxxp+pu10GFqzcpL2UyQRqsV +WaFHVCkugyhfHMKiq3IXAAaOReyL4jM9f9oZRORicsPfIsbyVtTdX5Vy7W1f90gD +W/3FKqD2cyOEEBsB5wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/ +BAUwAwEB/zAdBgNVHQ4EFgQU43HgntinQtnbcZFrlJPrw6PRFKMwDQYJKoZIhvcN +AQELBQADggIBAEf63QqwEZE4rU1d9+UOl1QZgkiHVIyqZJnYWv6IAcVYpZmxI1Qj +t2odIFflAWJBF9MJ23XLblSQdf4an4EKwt3X9wnQW3IV5B4Jaj0z8yGa5hV+rVHV +DRDtfULAj+7AmgjVQdZcDiFpboBhDhXAuM/FSRJSzL46zNQuOAXeNf0fb7iAaJg9 +TaDKQGXSc3z1i9kKlT/YPyNtGtEqJBnZhbMX73huqVjRI9PHE+1yJX9dsXNw0H8G +lwmEKYBhHfpe/3OsoOOJuBxxFcbeMX8S3OFtm6/n6J91eEyrRjuazr8FGF1NFTwW +mhlQBJqymm9li1JfPFgEKCXAZmExfrngdbkaqIHWchezxQMxNRF4eKLg6TCMf4Df +WN88uieW4oA0beOY02QnrEh+KHdcxiVhJfiFDGX6xDIvpZgF5PgLZxYWxoK4Mhn5 ++bl53B/N66+rDt0b20XkeucC4pVd/GnwU2lhlXV5C15V5jgclKlZM57IcXR5f1GJ +tshquDDIajjDbp7hNxbqBWJMWxJH7ae0s1hWx0nzfxJoCTFx8G34Tkf71oXuxVhA +GaQdp/lLQzfcaFpPz+vCZHTetBXZ9FRUGi8c15dxVJCO2SCdUyt/q4/i6jC8UDfv +8Ue1fXwsBOxonbRJRBD0ckscZOf85muQ3Wl9af0AVqW3rLatt8o+Ae+c +-----END CERTIFICATE----- + +# Issuer: CN=Entrust Root Certification Authority - G2 O=Entrust, Inc. OU=See www.entrust.net/legal-terms/(c) 2009 Entrust, Inc. - for authorized use only +# Subject: CN=Entrust Root Certification Authority - G2 O=Entrust, Inc. OU=See www.entrust.net/legal-terms/(c) 2009 Entrust, Inc. - for authorized use only +# Label: "Entrust Root Certification Authority - G2" +# Serial: 1246989352 +# MD5 Fingerprint: 4b:e2:c9:91:96:65:0c:f4:0e:5a:93:92:a0:0a:fe:b2 +# SHA1 Fingerprint: 8c:f4:27:fd:79:0c:3a:d1:66:06:8d:e8:1e:57:ef:bb:93:22:72:d4 +# SHA256 Fingerprint: 43:df:57:74:b0:3e:7f:ef:5f:e4:0d:93:1a:7b:ed:f1:bb:2e:6b:42:73:8c:4e:6d:38:41:10:3d:3a:a7:f3:39 +-----BEGIN CERTIFICATE----- +MIIEPjCCAyagAwIBAgIESlOMKDANBgkqhkiG9w0BAQsFADCBvjELMAkGA1UEBhMC +VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50 +cnVzdC5uZXQvbGVnYWwtdGVybXMxOTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3Qs +IEluYy4gLSBmb3IgYXV0aG9yaXplZCB1c2Ugb25seTEyMDAGA1UEAxMpRW50cnVz +dCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzIwHhcNMDkwNzA3MTcy +NTU0WhcNMzAxMjA3MTc1NTU0WjCBvjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUVu +dHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVnYWwt +dGVybXMxOTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0 +aG9yaXplZCB1c2Ugb25seTEyMDAGA1UEAxMpRW50cnVzdCBSb290IENlcnRpZmlj +YXRpb24gQXV0aG9yaXR5IC0gRzIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +AoIBAQC6hLZy254Ma+KZ6TABp3bqMriVQRrJ2mFOWHLP/vaCeb9zYQYKpSfYs1/T +RU4cctZOMvJyig/3gxnQaoCAAEUesMfnmr8SVycco2gvCoe9amsOXmXzHHfV1IWN +cCG0szLni6LVhjkCsbjSR87kyUnEO6fe+1R9V77w6G7CebI6C1XiUJgWMhNcL3hW +wcKUs/Ja5CeanyTXxuzQmyWC48zCxEXFjJd6BmsqEZ+pCm5IO2/b1BEZQvePB7/1 +U1+cPvQXLOZprE4yTGJ36rfo5bs0vBmLrpxR57d+tVOxMyLlbc9wPBr64ptntoP0 +jaWvYkxN4FisZDQSA/i2jZRjJKRxAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAP +BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRqciZ60B7vfec7aVHUbI2fkBJmqzAN +BgkqhkiG9w0BAQsFAAOCAQEAeZ8dlsa2eT8ijYfThwMEYGprmi5ZiXMRrEPR9RP/ +jTkrwPK9T3CMqS/qF8QLVJ7UG5aYMzyorWKiAHarWWluBh1+xLlEjZivEtRh2woZ +Rkfz6/djwUAFQKXSt/S1mja/qYh2iARVBCuch38aNzx+LaUa2NSJXsq9rD1s2G2v +1fN2D807iDginWyTmsQ9v4IbZT+mD12q/OWyFcq1rca8PdCE6OoGcrBNOTJ4vz4R +nAuknZoh8/CbCzB428Hch0P+vGOaysXCHMnHjf87ElgI5rY97HosTvuDls4MPGmH +VHOkc8KT/1EQrBVUAdj8BbGJoX90g5pJ19xOe4pIb4tF9g== +-----END CERTIFICATE----- + +# Issuer: CN=Entrust Root Certification Authority - EC1 O=Entrust, Inc. OU=See www.entrust.net/legal-terms/(c) 2012 Entrust, Inc. - for authorized use only +# Subject: CN=Entrust Root Certification Authority - EC1 O=Entrust, Inc. OU=See www.entrust.net/legal-terms/(c) 2012 Entrust, Inc. - for authorized use only +# Label: "Entrust Root Certification Authority - EC1" +# Serial: 51543124481930649114116133369 +# MD5 Fingerprint: b6:7e:1d:f0:58:c5:49:6c:24:3b:3d:ed:98:18:ed:bc +# SHA1 Fingerprint: 20:d8:06:40:df:9b:25:f5:12:25:3a:11:ea:f7:59:8a:eb:14:b5:47 +# SHA256 Fingerprint: 02:ed:0e:b2:8c:14:da:45:16:5c:56:67:91:70:0d:64:51:d7:fb:56:f0:b2:ab:1d:3b:8e:b0:70:e5:6e:df:f5 +-----BEGIN CERTIFICATE----- +MIIC+TCCAoCgAwIBAgINAKaLeSkAAAAAUNCR+TAKBggqhkjOPQQDAzCBvzELMAkG +A1UEBhMCVVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3 +d3cuZW50cnVzdC5uZXQvbGVnYWwtdGVybXMxOTA3BgNVBAsTMChjKSAyMDEyIEVu +dHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXplZCB1c2Ugb25seTEzMDEGA1UEAxMq +RW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRUMxMB4XDTEy +MTIxODE1MjUzNloXDTM3MTIxODE1NTUzNlowgb8xCzAJBgNVBAYTAlVTMRYwFAYD +VQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3QubmV0 +L2xlZ2FsLXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxMiBFbnRydXN0LCBJbmMuIC0g +Zm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxMzAxBgNVBAMTKkVudHJ1c3QgUm9vdCBD +ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEVDMTB2MBAGByqGSM49AgEGBSuBBAAi +A2IABIQTydC6bUF74mzQ61VfZgIaJPRbiWlH47jCffHyAsWfoPZb1YsGGYZPUxBt +ByQnoaD41UcZYUx9ypMn6nQM72+WCf5j7HBdNq1nd67JnXxVRDqiY1Ef9eNi1KlH +Bz7MIKNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0O +BBYEFLdj5xrdjekIplWDpOBqUEFlEUJJMAoGCCqGSM49BAMDA2cAMGQCMGF52OVC +R98crlOZF7ZvHH3hvxGU0QOIdeSNiaSKd0bebWHvAvX7td/M/k7//qnmpwIwW5nX +hTcGtXsI/esni0qU+eH6p44mCOh8kmhtc9hvJqwhAriZtyZBWyVgrtBIGu4G +-----END CERTIFICATE----- + +# Issuer: CN=CFCA EV ROOT O=China Financial Certification Authority +# Subject: CN=CFCA EV ROOT O=China Financial Certification Authority +# Label: "CFCA EV ROOT" +# Serial: 407555286 +# MD5 Fingerprint: 74:e1:b6:ed:26:7a:7a:44:30:33:94:ab:7b:27:81:30 +# SHA1 Fingerprint: e2:b8:29:4b:55:84:ab:6b:58:c2:90:46:6c:ac:3f:b8:39:8f:84:83 +# SHA256 Fingerprint: 5c:c3:d7:8e:4e:1d:5e:45:54:7a:04:e6:87:3e:64:f9:0c:f9:53:6d:1c:cc:2e:f8:00:f3:55:c4:c5:fd:70:fd +-----BEGIN CERTIFICATE----- +MIIFjTCCA3WgAwIBAgIEGErM1jANBgkqhkiG9w0BAQsFADBWMQswCQYDVQQGEwJD +TjEwMC4GA1UECgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9y +aXR5MRUwEwYDVQQDDAxDRkNBIEVWIFJPT1QwHhcNMTIwODA4MDMwNzAxWhcNMjkx +MjMxMDMwNzAxWjBWMQswCQYDVQQGEwJDTjEwMC4GA1UECgwnQ2hpbmEgRmluYW5j +aWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQDDAxDRkNBIEVWIFJP +T1QwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDXXWvNED8fBVnVBU03 +sQ7smCuOFR36k0sXgiFxEFLXUWRwFsJVaU2OFW2fvwwbwuCjZ9YMrM8irq93VCpL +TIpTUnrD7i7es3ElweldPe6hL6P3KjzJIx1qqx2hp/Hz7KDVRM8Vz3IvHWOX6Jn5 +/ZOkVIBMUtRSqy5J35DNuF++P96hyk0g1CXohClTt7GIH//62pCfCqktQT+x8Rgp +7hZZLDRJGqgG16iI0gNyejLi6mhNbiyWZXvKWfry4t3uMCz7zEasxGPrb382KzRz +EpR/38wmnvFyXVBlWY9ps4deMm/DGIq1lY+wejfeWkU7xzbh72fROdOXW3NiGUgt +hxwG+3SYIElz8AXSG7Ggo7cbcNOIabla1jj0Ytwli3i/+Oh+uFzJlU9fpy25IGvP +a931DfSCt/SyZi4QKPaXWnuWFo8BGS1sbn85WAZkgwGDg8NNkt0yxoekN+kWzqot +aK8KgWU6cMGbrU1tVMoqLUuFG7OA5nBFDWteNfB/O7ic5ARwiRIlk9oKmSJgamNg +TnYGmE69g60dWIolhdLHZR4tjsbftsbhf4oEIRUpdPA+nJCdDC7xij5aqgwJHsfV +PKPtl8MeNPo4+QgO48BdK4PRVmrJtqhUUy54Mmc9gn900PvhtgVguXDbjgv5E1hv +cWAQUhC5wUEJ73IfZzF4/5YFjQIDAQABo2MwYTAfBgNVHSMEGDAWgBTj/i39KNAL +tbq2osS/BqoFjJP7LzAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAd +BgNVHQ4EFgQU4/4t/SjQC7W6tqLEvwaqBYyT+y8wDQYJKoZIhvcNAQELBQADggIB +ACXGumvrh8vegjmWPfBEp2uEcwPenStPuiB/vHiyz5ewG5zz13ku9Ui20vsXiObT +ej/tUxPQ4i9qecsAIyjmHjdXNYmEwnZPNDatZ8POQQaIxffu2Bq41gt/UP+TqhdL +jOztUmCypAbqTuv0axn96/Ua4CUqmtzHQTb3yHQFhDmVOdYLO6Qn+gjYXB74BGBS +ESgoA//vU2YApUo0FmZ8/Qmkrp5nGm9BC2sGE5uPhnEFtC+NiWYzKXZUmhH4J/qy +P5Hgzg0b8zAarb8iXRvTvyUFTeGSGn+ZnzxEk8rUQElsgIfXBDrDMlI1Dlb4pd19 +xIsNER9Tyx6yF7Zod1rg1MvIB671Oi6ON7fQAUtDKXeMOZePglr4UeWJoBjnaH9d +Ci77o0cOPaYjesYBx4/IXr9tgFa+iiS6M+qf4TIRnvHST4D2G0CvOJ4RUHlzEhLN +5mydLIhyPDCBBpEi6lmt2hkuIsKNuYyH4Ga8cyNfIWRjgEj1oDwYPZTISEEdQLpe +/v5WOaHIz16eGWRGENoXkbcFgKyLmZJ956LYBws2J+dIeWCKw9cTXPhyQN9Ky8+Z +AAoACxGV2lZFA4gKn2fQ1XmxqI1AbQ3CekD6819kR5LLU7m7Wc5P/dAVUwHY3+vZ +5nbv0CO7O6l5s9UCKc2Jo5YPSjXnTkLAdc0Hz+Ys63su +-----END CERTIFICATE----- + +# Issuer: CN=OISTE WISeKey Global Root GB CA O=WISeKey OU=OISTE Foundation Endorsed +# Subject: CN=OISTE WISeKey Global Root GB CA O=WISeKey OU=OISTE Foundation Endorsed +# Label: "OISTE WISeKey Global Root GB CA" +# Serial: 157768595616588414422159278966750757568 +# MD5 Fingerprint: a4:eb:b9:61:28:2e:b7:2f:98:b0:35:26:90:99:51:1d +# SHA1 Fingerprint: 0f:f9:40:76:18:d3:d7:6a:4b:98:f0:a8:35:9e:0c:fd:27:ac:cc:ed +# SHA256 Fingerprint: 6b:9c:08:e8:6e:b0:f7:67:cf:ad:65:cd:98:b6:21:49:e5:49:4a:67:f5:84:5e:7b:d1:ed:01:9f:27:b8:6b:d6 +-----BEGIN CERTIFICATE----- +MIIDtTCCAp2gAwIBAgIQdrEgUnTwhYdGs/gjGvbCwDANBgkqhkiG9w0BAQsFADBt +MQswCQYDVQQGEwJDSDEQMA4GA1UEChMHV0lTZUtleTEiMCAGA1UECxMZT0lTVEUg +Rm91bmRhdGlvbiBFbmRvcnNlZDEoMCYGA1UEAxMfT0lTVEUgV0lTZUtleSBHbG9i +YWwgUm9vdCBHQiBDQTAeFw0xNDEyMDExNTAwMzJaFw0zOTEyMDExNTEwMzFaMG0x +CzAJBgNVBAYTAkNIMRAwDgYDVQQKEwdXSVNlS2V5MSIwIAYDVQQLExlPSVNURSBG +b3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5IEdsb2Jh +bCBSb290IEdCIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2Be3 +HEokKtaXscriHvt9OO+Y9bI5mE4nuBFde9IllIiCFSZqGzG7qFshISvYD06fWvGx +WuR51jIjK+FTzJlFXHtPrby/h0oLS5daqPZI7H17Dc0hBt+eFf1Biki3IPShehtX +1F1Q/7pn2COZH8g/497/b1t3sWtuuMlk9+HKQUYOKXHQuSP8yYFfTvdv37+ErXNk +u7dCjmn21HYdfp2nuFeKUWdy19SouJVUQHMD9ur06/4oQnc/nSMbsrY9gBQHTC5P +99UKFg29ZkM3fiNDecNAhvVMKdqOmq0NpQSHiB6F4+lT1ZvIiwNjeOvgGUpuuy9r +M2RYk61pv48b74JIxwIDAQABo1EwTzALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUw +AwEB/zAdBgNVHQ4EFgQUNQ/INmNe4qPs+TtmFc5RUuORmj0wEAYJKwYBBAGCNxUB +BAMCAQAwDQYJKoZIhvcNAQELBQADggEBAEBM+4eymYGQfp3FsLAmzYh7KzKNbrgh +cViXfa43FK8+5/ea4n32cZiZBKpDdHij40lhPnOMTZTg+XHEthYOU3gf1qKHLwI5 +gSk8rxWYITD+KJAAjNHhy/peyP34EEY7onhCkRd0VQreUGdNZtGn//3ZwLWoo4rO +ZvUPQ82nK1d7Y0Zqqi5S2PTt4W2tKZB4SLrhI6qjiey1q5bAtEuiHZeeevJuQHHf +aPFlTc58Bd9TZaml8LGXBHAVRgOY1NK/VLSgWH1Sb9pWJmLU2NuJMW8c8CLC02Ic +Nc1MaRVUGpCY3useX8p3x8uOPUNpnJpY0CQ73xtAln41rYHHTnG6iBM= +-----END CERTIFICATE----- + +# Issuer: CN=SZAFIR ROOT CA2 O=Krajowa Izba Rozliczeniowa S.A. +# Subject: CN=SZAFIR ROOT CA2 O=Krajowa Izba Rozliczeniowa S.A. +# Label: "SZAFIR ROOT CA2" +# Serial: 357043034767186914217277344587386743377558296292 +# MD5 Fingerprint: 11:64:c1:89:b0:24:b1:8c:b1:07:7e:89:9e:51:9e:99 +# SHA1 Fingerprint: e2:52:fa:95:3f:ed:db:24:60:bd:6e:28:f3:9c:cc:cf:5e:b3:3f:de +# SHA256 Fingerprint: a1:33:9d:33:28:1a:0b:56:e5:57:d3:d3:2b:1c:e7:f9:36:7e:b0:94:bd:5f:a7:2a:7e:50:04:c8:de:d7:ca:fe +-----BEGIN CERTIFICATE----- +MIIDcjCCAlqgAwIBAgIUPopdB+xV0jLVt+O2XwHrLdzk1uQwDQYJKoZIhvcNAQEL +BQAwUTELMAkGA1UEBhMCUEwxKDAmBgNVBAoMH0tyYWpvd2EgSXpiYSBSb3psaWN6 +ZW5pb3dhIFMuQS4xGDAWBgNVBAMMD1NaQUZJUiBST09UIENBMjAeFw0xNTEwMTkw +NzQzMzBaFw0zNTEwMTkwNzQzMzBaMFExCzAJBgNVBAYTAlBMMSgwJgYDVQQKDB9L +cmFqb3dhIEl6YmEgUm96bGljemVuaW93YSBTLkEuMRgwFgYDVQQDDA9TWkFGSVIg +Uk9PVCBDQTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3vD5QqEvN +QLXOYeeWyrSh2gwisPq1e3YAd4wLz32ohswmUeQgPYUM1ljj5/QqGJ3a0a4m7utT +3PSQ1hNKDJA8w/Ta0o4NkjrcsbH/ON7Dui1fgLkCvUqdGw+0w8LBZwPd3BucPbOw +3gAeqDRHu5rr/gsUvTaE2g0gv/pby6kWIK05YO4vdbbnl5z5Pv1+TW9NL++IDWr6 +3fE9biCloBK0TXC5ztdyO4mTp4CEHCdJckm1/zuVnsHMyAHs6A6KCpbns6aH5db5 +BSsNl0BwPLqsdVqc1U2dAgrSS5tmS0YHF2Wtn2yIANwiieDhZNRnvDF5YTy7ykHN +XGoAyDw4jlivAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQD +AgEGMB0GA1UdDgQWBBQuFqlKGLXLzPVvUPMjX/hd56zwyDANBgkqhkiG9w0BAQsF +AAOCAQEAtXP4A9xZWx126aMqe5Aosk3AM0+qmrHUuOQn/6mWmc5G4G18TKI4pAZw +8PRBEew/R40/cof5O/2kbytTAOD/OblqBw7rHRz2onKQy4I9EYKL0rufKq8h5mOG +nXkZ7/e7DDWQw4rtTw/1zBLZpD67oPwglV9PJi8RI4NOdQcPv5vRtB3pEAT+ymCP +oky4rc/hkA/NrgrHXXu3UNLUYfrVFdvXn4dRVOul4+vJhaAlIDf7js4MNIThPIGy +d05DpYhfhmehPea0XGG2Ptv+tyjFogeutcrKjSoS75ftwjCkySp6+/NNIxuZMzSg +LvWpCz/UXeHPhJ/iGcJfitYgHuNztw== +-----END CERTIFICATE----- + +# Issuer: CN=Certum Trusted Network CA 2 O=Unizeto Technologies S.A. OU=Certum Certification Authority +# Subject: CN=Certum Trusted Network CA 2 O=Unizeto Technologies S.A. OU=Certum Certification Authority +# Label: "Certum Trusted Network CA 2" +# Serial: 44979900017204383099463764357512596969 +# MD5 Fingerprint: 6d:46:9e:d9:25:6d:08:23:5b:5e:74:7d:1e:27:db:f2 +# SHA1 Fingerprint: d3:dd:48:3e:2b:bf:4c:05:e8:af:10:f5:fa:76:26:cf:d3:dc:30:92 +# SHA256 Fingerprint: b6:76:f2:ed:da:e8:77:5c:d3:6c:b0:f6:3c:d1:d4:60:39:61:f4:9e:62:65:ba:01:3a:2f:03:07:b6:d0:b8:04 +-----BEGIN CERTIFICATE----- +MIIF0jCCA7qgAwIBAgIQIdbQSk8lD8kyN/yqXhKN6TANBgkqhkiG9w0BAQ0FADCB +gDELMAkGA1UEBhMCUEwxIjAgBgNVBAoTGVVuaXpldG8gVGVjaG5vbG9naWVzIFMu +QS4xJzAlBgNVBAsTHkNlcnR1bSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEkMCIG +A1UEAxMbQ2VydHVtIFRydXN0ZWQgTmV0d29yayBDQSAyMCIYDzIwMTExMDA2MDgz +OTU2WhgPMjA0NjEwMDYwODM5NTZaMIGAMQswCQYDVQQGEwJQTDEiMCAGA1UEChMZ +VW5pemV0byBUZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRp +ZmljYXRpb24gQXV0aG9yaXR5MSQwIgYDVQQDExtDZXJ0dW0gVHJ1c3RlZCBOZXR3 +b3JrIENBIDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC9+Xj45tWA +DGSdhhuWZGc/IjoedQF97/tcZ4zJzFxrqZHmuULlIEub2pt7uZld2ZuAS9eEQCsn +0+i6MLs+CRqnSZXvK0AkwpfHp+6bJe+oCgCXhVqqndwpyeI1B+twTUrWwbNWuKFB +OJvR+zF/j+Bf4bE/D44WSWDXBo0Y+aomEKsq09DRZ40bRr5HMNUuctHFY9rnY3lE +fktjJImGLjQ/KUxSiyqnwOKRKIm5wFv5HdnnJ63/mgKXwcZQkpsCLL2puTRZCr+E +Sv/f/rOf69me4Jgj7KZrdxYq28ytOxykh9xGc14ZYmhFV+SQgkK7QtbwYeDBoz1m +o130GO6IyY0XRSmZMnUCMe4pJshrAua1YkV/NxVaI2iJ1D7eTiew8EAMvE0Xy02i +sx7QBlrd9pPPV3WZ9fqGGmd4s7+W/jTcvedSVuWz5XV710GRBdxdaeOVDUO5/IOW +OZV7bIBaTxNyxtd9KXpEulKkKtVBRgkg/iKgtlswjbyJDNXXcPiHUv3a76xRLgez +Tv7QCdpw75j6VuZt27VXS9zlLCUVyJ4ueE742pyehizKV/Ma5ciSixqClnrDvFAS +adgOWkaLOusm+iPJtrCBvkIApPjW/jAux9JG9uWOdf3yzLnQh1vMBhBgu4M1t15n +3kfsmUjxpKEV/q2MYo45VU85FrmxY53/twIDAQABo0IwQDAPBgNVHRMBAf8EBTAD +AQH/MB0GA1UdDgQWBBS2oVQ5AsOgP46KvPrU+Bym0ToO/TAOBgNVHQ8BAf8EBAMC +AQYwDQYJKoZIhvcNAQENBQADggIBAHGlDs7k6b8/ONWJWsQCYftMxRQXLYtPU2sQ +F/xlhMcQSZDe28cmk4gmb3DWAl45oPePq5a1pRNcgRRtDoGCERuKTsZPpd1iHkTf +CVn0W3cLN+mLIMb4Ck4uWBzrM9DPhmDJ2vuAL55MYIR4PSFk1vtBHxgP58l1cb29 +XN40hz5BsA72udY/CROWFC/emh1auVbONTqwX3BNXuMp8SMoclm2q8KMZiYcdywm +djWLKKdpoPk79SPdhRB0yZADVpHnr7pH1BKXESLjokmUbOe3lEu6LaTaM4tMpkT/ +WjzGHWTYtTHkpjx6qFcL2+1hGsvxznN3Y6SHb0xRONbkX8eftoEq5IVIeVheO/jb +AoJnwTnbw3RLPTYe+SmTiGhbqEQZIfCn6IENLOiTNrQ3ssqwGyZ6miUfmpqAnksq +P/ujmv5zMnHCnsZy4YpoJ/HkD7TETKVhk/iXEAcqMCWpuchxuO9ozC1+9eB+D4Ko +b7a6bINDd82Kkhehnlt4Fj1F4jNy3eFmypnTycUm/Q1oBEauttmbjL4ZvrHG8hnj +XALKLNhvSgfZyTXaQHXyxKcZb55CEJh15pWLYLztxRLXis7VmFxWlgPF7ncGNf/P +5O4/E2Hu29othfDNrp2yGAlFw5Khchf8R7agCyzxxN5DaAhqXzvwdmP7zAYspsbi +DrW5viSP +-----END CERTIFICATE----- + +# Issuer: CN=Hellenic Academic and Research Institutions RootCA 2015 O=Hellenic Academic and Research Institutions Cert. Authority +# Subject: CN=Hellenic Academic and Research Institutions RootCA 2015 O=Hellenic Academic and Research Institutions Cert. Authority +# Label: "Hellenic Academic and Research Institutions RootCA 2015" +# Serial: 0 +# MD5 Fingerprint: ca:ff:e2:db:03:d9:cb:4b:e9:0f:ad:84:fd:7b:18:ce +# SHA1 Fingerprint: 01:0c:06:95:a6:98:19:14:ff:bf:5f:c6:b0:b6:95:ea:29:e9:12:a6 +# SHA256 Fingerprint: a0:40:92:9a:02:ce:53:b4:ac:f4:f2:ff:c6:98:1c:e4:49:6f:75:5e:6d:45:fe:0b:2a:69:2b:cd:52:52:3f:36 +-----BEGIN CERTIFICATE----- +MIIGCzCCA/OgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBpjELMAkGA1UEBhMCR1Ix +DzANBgNVBAcTBkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5k +IFJlc2VhcmNoIEluc3RpdHV0aW9ucyBDZXJ0LiBBdXRob3JpdHkxQDA+BgNVBAMT +N0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgUm9v +dENBIDIwMTUwHhcNMTUwNzA3MTAxMTIxWhcNNDAwNjMwMTAxMTIxWjCBpjELMAkG +A1UEBhMCR1IxDzANBgNVBAcTBkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNh +ZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9ucyBDZXJ0LiBBdXRob3JpdHkx +QDA+BgNVBAMTN0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1 +dGlvbnMgUm9vdENBIDIwMTUwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC +AQDC+Kk/G4n8PDwEXT2QNrCROnk8ZlrvbTkBSRq0t89/TSNTt5AA4xMqKKYx8ZEA +4yjsriFBzh/a/X0SWwGDD7mwX5nh8hKDgE0GPt+sr+ehiGsxr/CL0BgzuNtFajT0 +AoAkKAoCFZVedioNmToUW/bLy1O8E00BiDeUJRtCvCLYjqOWXjrZMts+6PAQZe10 +4S+nfK8nNLspfZu2zwnI5dMK/IhlZXQK3HMcXM1AsRzUtoSMTFDPaI6oWa7CJ06C +ojXdFPQf/7J31Ycvqm59JCfnxssm5uX+Zwdj2EUN3TpZZTlYepKZcj2chF6IIbjV +9Cz82XBST3i4vTwri5WY9bPRaM8gFH5MXF/ni+X1NYEZN9cRCLdmvtNKzoNXADrD +gfgXy5I2XdGj2HUb4Ysn6npIQf1FGQatJ5lOwXBH3bWfgVMS5bGMSF0xQxfjjMZ6 +Y5ZLKTBOhE5iGV48zpeQpX8B653g+IuJ3SWYPZK2fu/Z8VFRfS0myGlZYeCsargq +NhEEelC9MoS+L9xy1dcdFkfkR2YgP/SWxa+OAXqlD3pk9Q0Yh9muiNX6hME6wGko +LfINaFGq46V3xqSQDqE3izEjR8EJCOtu93ib14L8hCCZSRm2Ekax+0VVFqmjZayc +Bw/qa9wfLgZy7IaIEuQt218FL+TwA9MmM+eAws1CoRc0CwIDAQABo0IwQDAPBgNV +HRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUcRVnyMjJvXVd +ctA4GGqd83EkVAswDQYJKoZIhvcNAQELBQADggIBAHW7bVRLqhBYRjTyYtcWNl0I +XtVsyIe9tC5G8jH4fOpCtZMWVdyhDBKg2mF+D1hYc2Ryx+hFjtyp8iY/xnmMsVMI +M4GwVhO+5lFc2JsKT0ucVlMC6U/2DWDqTUJV6HwbISHTGzrMd/K4kPFox/la/vot +9L/J9UUbzjgQKjeKeaO04wlshYaT/4mWJ3iBj2fjRnRUjtkNaeJK9E10A/+yd+2V +Z5fkscWrv2oj6NSU4kQoYsRL4vDY4ilrGnB+JGGTe08DMiUNRSQrlrRGar9KC/ea +j8GsGsVn82800vpzY4zvFrCopEYq+OsS7HK07/grfoxSwIuEVPkvPuNVqNxmsdnh +X9izjFk0WaSrT2y7HxjbdavYy5LNlDhhDgcGH0tGEPEVvo2FXDtKK4F5D7Rpn0lQ +l033DlZdwJVqwjbDG2jJ9SrcR5q+ss7FJej6A7na+RZukYT1HCjI/CbM1xyQVqdf +bzoEvM14iQuODy+jqk+iGxI9FghAD/FGTNeqewjBCvVtJ94Cj8rDtSvK6evIIVM4 +pcw72Hc3MKJP2W/R8kCtQXoXxdZKNYm3QdV8hn9VTYNKpXMgwDqvkPGaJI7ZjnHK +e7iG2rKPmT4dEw0SEe7Uq/DpFXYC5ODfqiAeW2GFZECpkJcNrVPSWh2HagCXZWK0 +vm9qp/UsQu0yrbYhnr68 +-----END CERTIFICATE----- + +# Issuer: CN=Hellenic Academic and Research Institutions ECC RootCA 2015 O=Hellenic Academic and Research Institutions Cert. Authority +# Subject: CN=Hellenic Academic and Research Institutions ECC RootCA 2015 O=Hellenic Academic and Research Institutions Cert. Authority +# Label: "Hellenic Academic and Research Institutions ECC RootCA 2015" +# Serial: 0 +# MD5 Fingerprint: 81:e5:b4:17:eb:c2:f5:e1:4b:0d:41:7b:49:92:fe:ef +# SHA1 Fingerprint: 9f:f1:71:8d:92:d5:9a:f3:7d:74:97:b4:bc:6f:84:68:0b:ba:b6:66 +# SHA256 Fingerprint: 44:b5:45:aa:8a:25:e6:5a:73:ca:15:dc:27:fc:36:d2:4c:1c:b9:95:3a:06:65:39:b1:15:82:dc:48:7b:48:33 +-----BEGIN CERTIFICATE----- +MIICwzCCAkqgAwIBAgIBADAKBggqhkjOPQQDAjCBqjELMAkGA1UEBhMCR1IxDzAN +BgNVBAcTBkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJl +c2VhcmNoIEluc3RpdHV0aW9ucyBDZXJ0LiBBdXRob3JpdHkxRDBCBgNVBAMTO0hl +bGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgRUNDIFJv +b3RDQSAyMDE1MB4XDTE1MDcwNzEwMzcxMloXDTQwMDYzMDEwMzcxMlowgaoxCzAJ +BgNVBAYTAkdSMQ8wDQYDVQQHEwZBdGhlbnMxRDBCBgNVBAoTO0hlbGxlbmljIEFj +YWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ2VydC4gQXV0aG9yaXR5 +MUQwQgYDVQQDEztIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0 +dXRpb25zIEVDQyBSb290Q0EgMjAxNTB2MBAGByqGSM49AgEGBSuBBAAiA2IABJKg +QehLgoRc4vgxEZmGZE4JJS+dQS8KrjVPdJWyUWRrjWvmP3CV8AVER6ZyOFB2lQJa +jq4onvktTpnvLEhvTCUp6NFxW98dwXU3tNf6e3pCnGoKVlp8aQuqgAkkbH7BRqNC +MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFLQi +C4KZJAEOnLvkDv2/+5cgk5kqMAoGCCqGSM49BAMCA2cAMGQCMGfOFmI4oqxiRaep +lSTAGiecMjvAwNW6qef4BENThe5SId6d9SWDPp5YSy/XZxMOIQIwBeF1Ad5o7Sof +TUwJCA3sS61kFyjndc5FZXIhF8siQQ6ME5g4mlRtm8rifOoCWCKR +-----END CERTIFICATE----- + +# Issuer: CN=ISRG Root X1 O=Internet Security Research Group +# Subject: CN=ISRG Root X1 O=Internet Security Research Group +# Label: "ISRG Root X1" +# Serial: 172886928669790476064670243504169061120 +# MD5 Fingerprint: 0c:d2:f9:e0:da:17:73:e9:ed:86:4d:a5:e3:70:e7:4e +# SHA1 Fingerprint: ca:bd:2a:79:a1:07:6a:31:f2:1d:25:36:35:cb:03:9d:43:29:a5:e8 +# SHA256 Fingerprint: 96:bc:ec:06:26:49:76:f3:74:60:77:9a:cf:28:c5:a7:cf:e8:a3:c0:aa:e1:1a:8f:fc:ee:05:c0:bd:df:08:c6 +-----BEGIN CERTIFICATE----- +MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAw +TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh +cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMTUwNjA0MTEwNDM4 +WhcNMzUwNjA0MTEwNDM4WjBPMQswCQYDVQQGEwJVUzEpMCcGA1UEChMgSW50ZXJu +ZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMTDElTUkcgUm9vdCBY +MTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK3oJHP0FDfzm54rVygc +h77ct984kIxuPOZXoHj3dcKi/vVqbvYATyjb3miGbESTtrFj/RQSa78f0uoxmyF+ +0TM8ukj13Xnfs7j/EvEhmkvBioZxaUpmZmyPfjxwv60pIgbz5MDmgK7iS4+3mX6U +A5/TR5d8mUgjU+g4rk8Kb4Mu0UlXjIB0ttov0DiNewNwIRt18jA8+o+u3dpjq+sW +T8KOEUt+zwvo/7V3LvSye0rgTBIlDHCNAymg4VMk7BPZ7hm/ELNKjD+Jo2FR3qyH +B5T0Y3HsLuJvW5iB4YlcNHlsdu87kGJ55tukmi8mxdAQ4Q7e2RCOFvu396j3x+UC +B5iPNgiV5+I3lg02dZ77DnKxHZu8A/lJBdiB3QW0KtZB6awBdpUKD9jf1b0SHzUv +KBds0pjBqAlkd25HN7rOrFleaJ1/ctaJxQZBKT5ZPt0m9STJEadao0xAH0ahmbWn +OlFuhjuefXKnEgV4We0+UXgVCwOPjdAvBbI+e0ocS3MFEvzG6uBQE3xDk3SzynTn +jh8BCNAw1FtxNrQHusEwMFxIt4I7mKZ9YIqioymCzLq9gwQbooMDQaHWBfEbwrbw +qHyGO0aoSCqI3Haadr8faqU9GY/rOPNk3sgrDQoo//fb4hVC1CLQJ13hef4Y53CI +rU7m2Ys6xt0nUW7/vGT1M0NPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNV +HRMBAf8EBTADAQH/MB0GA1UdDgQWBBR5tFnme7bl5AFzgAiIyBpY9umbbjANBgkq +hkiG9w0BAQsFAAOCAgEAVR9YqbyyqFDQDLHYGmkgJykIrGF1XIpu+ILlaS/V9lZL +ubhzEFnTIZd+50xx+7LSYK05qAvqFyFWhfFQDlnrzuBZ6brJFe+GnY+EgPbk6ZGQ +3BebYhtF8GaV0nxvwuo77x/Py9auJ/GpsMiu/X1+mvoiBOv/2X/qkSsisRcOj/KK +NFtY2PwByVS5uCbMiogziUwthDyC3+6WVwW6LLv3xLfHTjuCvjHIInNzktHCgKQ5 +ORAzI4JMPJ+GslWYHb4phowim57iaztXOoJwTdwJx4nLCgdNbOhdjsnvzqvHu7Ur +TkXWStAmzOVyyghqpZXjFaH3pO3JLF+l+/+sKAIuvtd7u+Nxe5AW0wdeRlN8NwdC +jNPElpzVmbUq4JUagEiuTDkHzsxHpFKVK7q4+63SM1N95R1NbdWhscdCb+ZAJzVc +oyi3B43njTOQ5yOf+1CceWxG1bQVs5ZufpsMljq4Ui0/1lvh+wjChP4kqKOJ2qxq +4RgqsahDYVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPA +mRGunUHBcnWEvgJBQl9nJEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57d +emyPxgcYxn/eR44/KJ4EBs+lVDR3veyJm+kXQ99b21/+jh5Xos1AnX5iItreGCc= +-----END CERTIFICATE----- + +# Issuer: O=FNMT-RCM OU=AC RAIZ FNMT-RCM +# Subject: O=FNMT-RCM OU=AC RAIZ FNMT-RCM +# Label: "AC RAIZ FNMT-RCM" +# Serial: 485876308206448804701554682760554759 +# MD5 Fingerprint: e2:09:04:b4:d3:bd:d1:a0:14:fd:1a:d2:47:c4:57:1d +# SHA1 Fingerprint: ec:50:35:07:b2:15:c4:95:62:19:e2:a8:9a:5b:42:99:2c:4c:2c:20 +# SHA256 Fingerprint: eb:c5:57:0c:29:01:8c:4d:67:b1:aa:12:7b:af:12:f7:03:b4:61:1e:bc:17:b7:da:b5:57:38:94:17:9b:93:fa +-----BEGIN CERTIFICATE----- +MIIFgzCCA2ugAwIBAgIPXZONMGc2yAYdGsdUhGkHMA0GCSqGSIb3DQEBCwUAMDsx +CzAJBgNVBAYTAkVTMREwDwYDVQQKDAhGTk1ULVJDTTEZMBcGA1UECwwQQUMgUkFJ +WiBGTk1ULVJDTTAeFw0wODEwMjkxNTU5NTZaFw0zMDAxMDEwMDAwMDBaMDsxCzAJ +BgNVBAYTAkVTMREwDwYDVQQKDAhGTk1ULVJDTTEZMBcGA1UECwwQQUMgUkFJWiBG +Tk1ULVJDTTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALpxgHpMhm5/ +yBNtwMZ9HACXjywMI7sQmkCpGreHiPibVmr75nuOi5KOpyVdWRHbNi63URcfqQgf +BBckWKo3Shjf5TnUV/3XwSyRAZHiItQDwFj8d0fsjz50Q7qsNI1NOHZnjrDIbzAz +WHFctPVrbtQBULgTfmxKo0nRIBnuvMApGGWn3v7v3QqQIecaZ5JCEJhfTzC8PhxF +tBDXaEAUwED653cXeuYLj2VbPNmaUtu1vZ5Gzz3rkQUCwJaydkxNEJY7kvqcfw+Z +374jNUUeAlz+taibmSXaXvMiwzn15Cou08YfxGyqxRxqAQVKL9LFwag0Jl1mpdIC +IfkYtwb1TplvqKtMUejPUBjFd8g5CSxJkjKZqLsXF3mwWsXmo8RZZUc1g16p6DUL +mbvkzSDGm0oGObVo/CK67lWMK07q87Hj/LaZmtVC+nFNCM+HHmpxffnTtOmlcYF7 +wk5HlqX2doWjKI/pgG6BU6VtX7hI+cL5NqYuSf+4lsKMB7ObiFj86xsc3i1w4peS +MKGJ47xVqCfWS+2QrYv6YyVZLag13cqXM7zlzced0ezvXg5KkAYmY6252TUtB7p2 +ZSysV4999AeU14ECll2jB0nVetBX+RvnU0Z1qrB5QstocQjpYL05ac70r8NWQMet +UqIJ5G+GR4of6ygnXYMgrwTJbFaai0b1AgMBAAGjgYMwgYAwDwYDVR0TAQH/BAUw +AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFPd9xf3E6Jobd2Sn9R2gzL+H +YJptMD4GA1UdIAQ3MDUwMwYEVR0gADArMCkGCCsGAQUFBwIBFh1odHRwOi8vd3d3 +LmNlcnQuZm5tdC5lcy9kcGNzLzANBgkqhkiG9w0BAQsFAAOCAgEAB5BK3/MjTvDD +nFFlm5wioooMhfNzKWtN/gHiqQxjAb8EZ6WdmF/9ARP67Jpi6Yb+tmLSbkyU+8B1 +RXxlDPiyN8+sD8+Nb/kZ94/sHvJwnvDKuO+3/3Y3dlv2bojzr2IyIpMNOmqOFGYM +LVN0V2Ue1bLdI4E7pWYjJ2cJj+F3qkPNZVEI7VFY/uY5+ctHhKQV8Xa7pO6kO8Rf +77IzlhEYt8llvhjho6Tc+hj507wTmzl6NLrTQfv6MooqtyuGC2mDOL7Nii4LcK2N +JpLuHvUBKwrZ1pebbuCoGRw6IYsMHkCtA+fdZn71uSANA+iW+YJF1DngoABd15jm +fZ5nc8OaKveri6E6FO80vFIOiZiaBECEHX5FaZNXzuvO+FB8TxxuBEOb+dY7Ixjp +6o7RTUaN8Tvkasq6+yO3m/qZASlaWFot4/nUbQ4mrcFuNLwy+AwF+mWj2zs3gyLp +1txyM/1d8iC9djwj2ij3+RvrWWTV3F9yfiD8zYm1kGdNYno/Tq0dwzn+evQoFt9B +9kiABdcPUXmsEKvU7ANm5mqwujGSQkBqvjrTcuFqN1W8rB2Vt2lh8kORdOag0wok +RqEIr9baRRmW1FMdW4R58MD3R++Lj8UGrp1MYp3/RgT408m2ECVAdf4WqslKYIYv +uu8wd+RU4riEmViAqhOLUTpPSPaLtrM= +-----END CERTIFICATE----- + +# Issuer: CN=Amazon Root CA 1 O=Amazon +# Subject: CN=Amazon Root CA 1 O=Amazon +# Label: "Amazon Root CA 1" +# Serial: 143266978916655856878034712317230054538369994 +# MD5 Fingerprint: 43:c6:bf:ae:ec:fe:ad:2f:18:c6:88:68:30:fc:c8:e6 +# SHA1 Fingerprint: 8d:a7:f9:65:ec:5e:fc:37:91:0f:1c:6e:59:fd:c1:cc:6a:6e:de:16 +# SHA256 Fingerprint: 8e:cd:e6:88:4f:3d:87:b1:12:5b:a3:1a:c3:fc:b1:3d:70:16:de:7f:57:cc:90:4f:e1:cb:97:c6:ae:98:19:6e +-----BEGIN CERTIFICATE----- +MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsF +ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6 +b24gUm9vdCBDQSAxMB4XDTE1MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTEL +MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv +b3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJ4gHHKeNXj +ca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZM +9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qw +IFAGbHrQgLKm+a/sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6 +VOujw5H5SNz/0egwLX0tdHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L +93FcXmn/6pUCyziKrlA4b9v7LWIbxcceVOF34GfID5yHI9Y/QCB/IIDEgEw+OyQm +jgSubJrIqg0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC +AYYwHQYDVR0OBBYEFIQYzIU07LwMlJQuCFmcx7IQTgoIMA0GCSqGSIb3DQEBCwUA +A4IBAQCY8jdaQZChGsV2USggNiMOruYou6r4lK5IpDB/G/wkjUu0yKGX9rbxenDI +U5PMCCjjmCXPI6T53iHTfIUJrU6adTrCC2qJeHZERxhlbI1Bjjt/msv0tadQ1wUs +N+gDS63pYaACbvXy8MWy7Vu33PqUXHeeE6V/Uq2V8viTO96LXFvKWlJbYK8U90vv +o/ufQJVtMVT8QtPHRh8jrdkPSHCa2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU +5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2xJNDd2ZhwLnoQdeXeGADbkpy +rqXRfboQnoZsG4q5WTP468SQvvG5 +-----END CERTIFICATE----- + +# Issuer: CN=Amazon Root CA 2 O=Amazon +# Subject: CN=Amazon Root CA 2 O=Amazon +# Label: "Amazon Root CA 2" +# Serial: 143266982885963551818349160658925006970653239 +# MD5 Fingerprint: c8:e5:8d:ce:a8:42:e2:7a:c0:2a:5c:7c:9e:26:bf:66 +# SHA1 Fingerprint: 5a:8c:ef:45:d7:a6:98:59:76:7a:8c:8b:44:96:b5:78:cf:47:4b:1a +# SHA256 Fingerprint: 1b:a5:b2:aa:8c:65:40:1a:82:96:01:18:f8:0b:ec:4f:62:30:4d:83:ce:c4:71:3a:19:c3:9c:01:1e:a4:6d:b4 +-----BEGIN CERTIFICATE----- +MIIFQTCCAymgAwIBAgITBmyf0pY1hp8KD+WGePhbJruKNzANBgkqhkiG9w0BAQwF +ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6 +b24gUm9vdCBDQSAyMB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTEL +MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv +b3QgQ0EgMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK2Wny2cSkxK +gXlRmeyKy2tgURO8TW0G/LAIjd0ZEGrHJgw12MBvIITplLGbhQPDW9tK6Mj4kHbZ +W0/jTOgGNk3Mmqw9DJArktQGGWCsN0R5hYGCrVo34A3MnaZMUnbqQ523BNFQ9lXg +1dKmSYXpN+nKfq5clU1Imj+uIFptiJXZNLhSGkOQsL9sBbm2eLfq0OQ6PBJTYv9K +8nu+NQWpEjTj82R0Yiw9AElaKP4yRLuH3WUnAnE72kr3H9rN9yFVkE8P7K6C4Z9r +2UXTu/Bfh+08LDmG2j/e7HJV63mjrdvdfLC6HM783k81ds8P+HgfajZRRidhW+me +z/CiVX18JYpvL7TFz4QuK/0NURBs+18bvBt+xa47mAExkv8LV/SasrlX6avvDXbR +8O70zoan4G7ptGmh32n2M8ZpLpcTnqWHsFcQgTfJU7O7f/aS0ZzQGPSSbtqDT6Zj +mUyl+17vIWR6IF9sZIUVyzfpYgwLKhbcAS4y2j5L9Z469hdAlO+ekQiG+r5jqFoz +7Mt0Q5X5bGlSNscpb/xVA1wf+5+9R+vnSUeVC06JIglJ4PVhHvG/LopyboBZ/1c6 ++XUyo05f7O0oYtlNc/LMgRdg7c3r3NunysV+Ar3yVAhU/bQtCSwXVEqY0VThUWcI +0u1ufm8/0i2BWSlmy5A5lREedCf+3euvAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMB +Af8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSwDPBMMPQFWAJI/TPlUq9LhONm +UjANBgkqhkiG9w0BAQwFAAOCAgEAqqiAjw54o+Ci1M3m9Zh6O+oAA7CXDpO8Wqj2 +LIxyh6mx/H9z/WNxeKWHWc8w4Q0QshNabYL1auaAn6AFC2jkR2vHat+2/XcycuUY ++gn0oJMsXdKMdYV2ZZAMA3m3MSNjrXiDCYZohMr/+c8mmpJ5581LxedhpxfL86kS +k5Nrp+gvU5LEYFiwzAJRGFuFjWJZY7attN6a+yb3ACfAXVU3dJnJUH/jWS5E4ywl +7uxMMne0nxrpS10gxdr9HIcWxkPo1LsmmkVwXqkLN1PiRnsn/eBG8om3zEK2yygm +btmlyTrIQRNg91CMFa6ybRoVGld45pIq2WWQgj9sAq+uEjonljYE1x2igGOpm/Hl +urR8FLBOybEfdF849lHqm/osohHUqS0nGkWxr7JOcQ3AWEbWaQbLU8uz/mtBzUF+ +fUwPfHJ5elnNXkoOrJupmHN5fLT0zLm4BwyydFy4x2+IoZCn9Kr5v2c69BoVYh63 +n749sSmvZ6ES8lgQGVMDMBu4Gon2nL2XA46jCfMdiyHxtN/kHNGfZQIG6lzWE7OE +76KlXIx3KadowGuuQNKotOrN8I1LOJwZmhsoVLiJkO/KdYE+HvJkJMcYr07/R54H +9jVlpNMKVv/1F2Rs76giJUmTtt8AF9pYfl3uxRuw0dFfIRDH+fO6AgonB8Xx1sfT +4PsJYGw= +-----END CERTIFICATE----- + +# Issuer: CN=Amazon Root CA 3 O=Amazon +# Subject: CN=Amazon Root CA 3 O=Amazon +# Label: "Amazon Root CA 3" +# Serial: 143266986699090766294700635381230934788665930 +# MD5 Fingerprint: a0:d4:ef:0b:f7:b5:d8:49:95:2a:ec:f5:c4:fc:81:87 +# SHA1 Fingerprint: 0d:44:dd:8c:3c:8c:1a:1a:58:75:64:81:e9:0f:2e:2a:ff:b3:d2:6e +# SHA256 Fingerprint: 18:ce:6c:fe:7b:f1:4e:60:b2:e3:47:b8:df:e8:68:cb:31:d0:2e:bb:3a:da:27:15:69:f5:03:43:b4:6d:b3:a4 +-----BEGIN CERTIFICATE----- +MIIBtjCCAVugAwIBAgITBmyf1XSXNmY/Owua2eiedgPySjAKBggqhkjOPQQDAjA5 +MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24g +Um9vdCBDQSAzMB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkG +A1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJvb3Qg +Q0EgMzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCmXp8ZBf8ANm+gBG1bG8lKl +ui2yEujSLtf6ycXYqm0fc4E7O5hrOXwzpcVOho6AF2hiRVd9RFgdszflZwjrZt6j +QjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSr +ttvXBp43rDCGB5Fwx5zEGbF4wDAKBggqhkjOPQQDAgNJADBGAiEA4IWSoxe3jfkr +BqWTrBqYaGFy+uGh0PsceGCmQ5nFuMQCIQCcAu/xlJyzlvnrxir4tiz+OpAUFteM +YyRIHN8wfdVoOw== +-----END CERTIFICATE----- + +# Issuer: CN=Amazon Root CA 4 O=Amazon +# Subject: CN=Amazon Root CA 4 O=Amazon +# Label: "Amazon Root CA 4" +# Serial: 143266989758080763974105200630763877849284878 +# MD5 Fingerprint: 89:bc:27:d5:eb:17:8d:06:6a:69:d5:fd:89:47:b4:cd +# SHA1 Fingerprint: f6:10:84:07:d6:f8:bb:67:98:0c:c2:e2:44:c2:eb:ae:1c:ef:63:be +# SHA256 Fingerprint: e3:5d:28:41:9e:d0:20:25:cf:a6:90:38:cd:62:39:62:45:8d:a5:c6:95:fb:de:a3:c2:2b:0b:fb:25:89:70:92 +-----BEGIN CERTIFICATE----- +MIIB8jCCAXigAwIBAgITBmyf18G7EEwpQ+Vxe3ssyBrBDjAKBggqhkjOPQQDAzA5 +MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24g +Um9vdCBDQSA0MB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkG +A1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJvb3Qg +Q0EgNDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNKrijdPo1MN/sGKe0uoe0ZLY7Bi +9i0b2whxIdIA6GO9mif78DluXeo9pcmBqqNbIJhFXRbb/egQbeOc4OO9X4Ri83Bk +M6DLJC9wuoihKqB1+IGuYgbEgds5bimwHvouXKNCMEAwDwYDVR0TAQH/BAUwAwEB +/zAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0OBBYEFNPsxzplbszh2naaVvuc84ZtV+WB +MAoGCCqGSM49BAMDA2gAMGUCMDqLIfG9fhGt0O9Yli/W651+kI0rz2ZVwyzjKKlw +CkcO8DdZEv8tmZQoTipPNU0zWgIxAOp1AE47xDqUEpHJWEadIRNyp4iciuRMStuW +1KyLa2tJElMzrdfkviT8tQp21KW8EA== +-----END CERTIFICATE----- + +# Issuer: CN=TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1 O=Turkiye Bilimsel ve Teknolojik Arastirma Kurumu - TUBITAK OU=Kamu Sertifikasyon Merkezi - Kamu SM +# Subject: CN=TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1 O=Turkiye Bilimsel ve Teknolojik Arastirma Kurumu - TUBITAK OU=Kamu Sertifikasyon Merkezi - Kamu SM +# Label: "TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1" +# Serial: 1 +# MD5 Fingerprint: dc:00:81:dc:69:2f:3e:2f:b0:3b:f6:3d:5a:91:8e:49 +# SHA1 Fingerprint: 31:43:64:9b:ec:ce:27:ec:ed:3a:3f:0b:8f:0d:e4:e8:91:dd:ee:ca +# SHA256 Fingerprint: 46:ed:c3:68:90:46:d5:3a:45:3f:b3:10:4a:b8:0d:ca:ec:65:8b:26:60:ea:16:29:dd:7e:86:79:90:64:87:16 +-----BEGIN CERTIFICATE----- +MIIEYzCCA0ugAwIBAgIBATANBgkqhkiG9w0BAQsFADCB0jELMAkGA1UEBhMCVFIx +GDAWBgNVBAcTD0dlYnplIC0gS29jYWVsaTFCMEAGA1UEChM5VHVya2l5ZSBCaWxp +bXNlbCB2ZSBUZWtub2xvamlrIEFyYXN0aXJtYSBLdXJ1bXUgLSBUVUJJVEFLMS0w +KwYDVQQLEyRLYW11IFNlcnRpZmlrYXN5b24gTWVya2V6aSAtIEthbXUgU00xNjA0 +BgNVBAMTLVRVQklUQUsgS2FtdSBTTSBTU0wgS29rIFNlcnRpZmlrYXNpIC0gU3Vy +dW0gMTAeFw0xMzExMjUwODI1NTVaFw00MzEwMjUwODI1NTVaMIHSMQswCQYDVQQG +EwJUUjEYMBYGA1UEBxMPR2ViemUgLSBLb2NhZWxpMUIwQAYDVQQKEzlUdXJraXll +IEJpbGltc2VsIHZlIFRla25vbG9qaWsgQXJhc3Rpcm1hIEt1cnVtdSAtIFRVQklU +QUsxLTArBgNVBAsTJEthbXUgU2VydGlmaWthc3lvbiBNZXJrZXppIC0gS2FtdSBT +TTE2MDQGA1UEAxMtVFVCSVRBSyBLYW11IFNNIFNTTCBLb2sgU2VydGlmaWthc2kg +LSBTdXJ1bSAxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr3UwM6q7 +a9OZLBI3hNmNe5eA027n/5tQlT6QlVZC1xl8JoSNkvoBHToP4mQ4t4y86Ij5iySr +LqP1N+RAjhgleYN1Hzv/bKjFxlb4tO2KRKOrbEz8HdDc72i9z+SqzvBV96I01INr +N3wcwv61A+xXzry0tcXtAA9TNypN9E8Mg/uGz8v+jE69h/mniyFXnHrfA2eJLJ2X +YacQuFWQfw4tJzh03+f92k4S400VIgLI4OD8D62K18lUUMw7D8oWgITQUVbDjlZ/ +iSIzL+aFCr2lqBs23tPcLG07xxO9WSMs5uWk99gL7eqQQESolbuT1dCANLZGeA4f +AJNG4e7p+exPFwIDAQABo0IwQDAdBgNVHQ4EFgQUZT/HiobGPN08VFw1+DrtUgxH +V8gwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL +BQADggEBACo/4fEyjq7hmFxLXs9rHmoJ0iKpEsdeV31zVmSAhHqT5Am5EM2fKifh +AHe+SMg1qIGf5LgsyX8OsNJLN13qudULXjS99HMpw+0mFZx+CFOKWI3QSyjfwbPf +IPP54+M638yclNhOT8NrF7f3cuitZjO1JVOr4PhMqZ398g26rrnZqsZr+ZO7rqu4 +lzwDGrpDxpa5RXI4s6ehlj2Re37AIVNMh+3yC1SVUZPVIqUNivGTDj5UDrDYyU7c +8jEyVupk+eq1nRZmQnLzf9OxMUP8pI4X8W0jq5Rm+K37DwhuJi1/FwcJsoz7UMCf +lo3Ptv0AnVoUmr8CRPXBwp8iXqIPoeM= +-----END CERTIFICATE----- + +# Issuer: CN=GDCA TrustAUTH R5 ROOT O=GUANG DONG CERTIFICATE AUTHORITY CO.,LTD. +# Subject: CN=GDCA TrustAUTH R5 ROOT O=GUANG DONG CERTIFICATE AUTHORITY CO.,LTD. +# Label: "GDCA TrustAUTH R5 ROOT" +# Serial: 9009899650740120186 +# MD5 Fingerprint: 63:cc:d9:3d:34:35:5c:6f:53:a3:e2:08:70:48:1f:b4 +# SHA1 Fingerprint: 0f:36:38:5b:81:1a:25:c3:9b:31:4e:83:ca:e9:34:66:70:cc:74:b4 +# SHA256 Fingerprint: bf:ff:8f:d0:44:33:48:7d:6a:8a:a6:0c:1a:29:76:7a:9f:c2:bb:b0:5e:42:0f:71:3a:13:b9:92:89:1d:38:93 +-----BEGIN CERTIFICATE----- +MIIFiDCCA3CgAwIBAgIIfQmX/vBH6nowDQYJKoZIhvcNAQELBQAwYjELMAkGA1UE +BhMCQ04xMjAwBgNVBAoMKUdVQU5HIERPTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZ +IENPLixMVEQuMR8wHQYDVQQDDBZHRENBIFRydXN0QVVUSCBSNSBST09UMB4XDTE0 +MTEyNjA1MTMxNVoXDTQwMTIzMTE1NTk1OVowYjELMAkGA1UEBhMCQ04xMjAwBgNV +BAoMKUdVQU5HIERPTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZIENPLixMVEQuMR8w +HQYDVQQDDBZHRENBIFRydXN0QVVUSCBSNSBST09UMIICIjANBgkqhkiG9w0BAQEF +AAOCAg8AMIICCgKCAgEA2aMW8Mh0dHeb7zMNOwZ+Vfy1YI92hhJCfVZmPoiC7XJj +Dp6L3TQsAlFRwxn9WVSEyfFrs0yw6ehGXTjGoqcuEVe6ghWinI9tsJlKCvLriXBj +TnnEt1u9ol2x8kECK62pOqPseQrsXzrj/e+APK00mxqriCZ7VqKChh/rNYmDf1+u +KU49tm7srsHwJ5uu4/Ts765/94Y9cnrrpftZTqfrlYwiOXnhLQiPzLyRuEH3FMEj +qcOtmkVEs7LXLM3GKeJQEK5cy4KOFxg2fZfmiJqwTTQJ9Cy5WmYqsBebnh52nUpm +MUHfP/vFBu8btn4aRjb3ZGM74zkYI+dndRTVdVeSN72+ahsmUPI2JgaQxXABZG12 +ZuGR224HwGGALrIuL4xwp9E7PLOR5G62xDtw8mySlwnNR30YwPO7ng/Wi64HtloP +zgsMR6flPri9fcebNaBhlzpBdRfMK5Z3KpIhHtmVdiBnaM8Nvd/WHwlqmuLMc3Gk +L30SgLdTMEZeS1SZD2fJpcjyIMGC7J0R38IC+xo70e0gmu9lZJIQDSri3nDxGGeC +jGHeuLzRL5z7D9Ar7Rt2ueQ5Vfj4oR24qoAATILnsn8JuLwwoC8N9VKejveSswoA +HQBUlwbgsQfZxw9cZX08bVlX5O2ljelAU58VS6Bx9hoh49pwBiFYFIeFd3mqgnkC +AwEAAaNCMEAwHQYDVR0OBBYEFOLJQJ9NzuiaoXzPDj9lxSmIahlRMA8GA1UdEwEB +/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4ICAQDRSVfg +p8xoWLoBDysZzY2wYUWsEe1jUGn4H3++Fo/9nesLqjJHdtJnJO29fDMylyrHBYZm +DRd9FBUb1Ov9H5r2XpdptxolpAqzkT9fNqyL7FeoPueBihhXOYV0GkLH6VsTX4/5 +COmSdI31R9KrO9b7eGZONn356ZLpBN79SWP8bfsUcZNnL0dKt7n/HipzcEYwv1ry +L3ml4Y0M2fmyYzeMN2WFcGpcWwlyua1jPLHd+PwyvzeG5LuOmCd+uh8W4XAR8gPf +JWIyJyYYMoSf/wA6E7qaTfRPuBRwIrHKK5DOKcFw9C+df/KQHtZa37dG/OaG+svg +IHZ6uqbL9XzeYqWxi+7egmaKTjowHz+Ay60nugxe19CxVsp3cbK1daFQqUBDF8Io +2c9Si1vIY9RCPqAzekYu9wogRlR+ak8x8YF+QnQ4ZXMn7sZ8uI7XpTrXmKGcjBBV +09tL7ECQ8s1uV9JiDnxXk7Gnbc2dg7sq5+W2O3FYrf3RRbxake5TFW/TRQl1brqQ +XR4EzzffHqhmsYzmIGrv/EhOdJhCrylvLmrH+33RZjEizIYAfmaDDEL0vTSSwxrq +T8p+ck0LcIymSLumoRT2+1hEmRSuqguTaaApJUqlyyvdimYHFngVV3Eb7PVHhPOe +MTd61X8kreS8/f3MboPoDKi3QWwH3b08hpcv0g== +-----END CERTIFICATE----- + +# Issuer: CN=SSL.com Root Certification Authority RSA O=SSL Corporation +# Subject: CN=SSL.com Root Certification Authority RSA O=SSL Corporation +# Label: "SSL.com Root Certification Authority RSA" +# Serial: 8875640296558310041 +# MD5 Fingerprint: 86:69:12:c0:70:f1:ec:ac:ac:c2:d5:bc:a5:5b:a1:29 +# SHA1 Fingerprint: b7:ab:33:08:d1:ea:44:77:ba:14:80:12:5a:6f:bd:a9:36:49:0c:bb +# SHA256 Fingerprint: 85:66:6a:56:2e:e0:be:5c:e9:25:c1:d8:89:0a:6f:76:a8:7e:c1:6d:4d:7d:5f:29:ea:74:19:cf:20:12:3b:69 +-----BEGIN CERTIFICATE----- +MIIF3TCCA8WgAwIBAgIIeyyb0xaAMpkwDQYJKoZIhvcNAQELBQAwfDELMAkGA1UE +BhMCVVMxDjAMBgNVBAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQK +DA9TU0wgQ29ycG9yYXRpb24xMTAvBgNVBAMMKFNTTC5jb20gUm9vdCBDZXJ0aWZp +Y2F0aW9uIEF1dGhvcml0eSBSU0EwHhcNMTYwMjEyMTczOTM5WhcNNDEwMjEyMTcz +OTM5WjB8MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMxEDAOBgNVBAcMB0hv +dXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8GA1UEAwwoU1NMLmNv +bSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IFJTQTCCAiIwDQYJKoZIhvcN +AQEBBQADggIPADCCAgoCggIBAPkP3aMrfcvQKv7sZ4Wm5y4bunfh4/WvpOz6Sl2R +xFdHaxh3a3by/ZPkPQ/CFp4LZsNWlJ4Xg4XOVu/yFv0AYvUiCVToZRdOQbngT0aX +qhvIuG5iXmmxX9sqAn78bMrzQdjt0Oj8P2FI7bADFB0QDksZ4LtO7IZl/zbzXmcC +C52GVWH9ejjt/uIZALdvoVBidXQ8oPrIJZK0bnoix/geoeOy3ZExqysdBP+lSgQ3 +6YWkMyv94tZVNHwZpEpox7Ko07fKoZOI68GXvIz5HdkihCR0xwQ9aqkpk8zruFvh +/l8lqjRYyMEjVJ0bmBHDOJx+PYZspQ9AhnwC9FwCTyjLrnGfDzrIM/4RJTXq/LrF +YD3ZfBjVsqnTdXgDciLKOsMf7yzlLqn6niy2UUb9rwPW6mBo6oUWNmuF6R7As93E +JNyAKoFBbZQ+yODJgUEAnl6/f8UImKIYLEJAs/lvOCdLToD0PYFH4Ih86hzOtXVc +US4cK38acijnALXRdMbX5J+tB5O2UzU1/Dfkw/ZdFr4hc96SCvigY2q8lpJqPvi8 +ZVWb3vUNiSYE/CUapiVpy8JtynziWV+XrOvvLsi81xtZPCvM8hnIk2snYxnP/Okm ++Mpxm3+T/jRnhE6Z6/yzeAkzcLpmpnbtG3PrGqUNxCITIJRWCk4sbE6x/c+cCbqi +M+2HAgMBAAGjYzBhMB0GA1UdDgQWBBTdBAkHovV6fVJTEpKV7jiAJQ2mWTAPBgNV +HRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFN0ECQei9Xp9UlMSkpXuOIAlDaZZMA4G +A1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAIBgRlCn7Jp0cHh5wYfGV +cpNxJK1ok1iOMq8bs3AD/CUrdIWQPXhq9LmLpZc7tRiRux6n+UBbkflVma8eEdBc +Hadm47GUBwwyOabqG7B52B2ccETjit3E+ZUfijhDPwGFpUenPUayvOUiaPd7nNgs +PgohyC0zrL/FgZkxdMF1ccW+sfAjRfSda/wZY52jvATGGAslu1OJD7OAUN5F7kR/ +q5R4ZJjT9ijdh9hwZXT7DrkT66cPYakylszeu+1jTBi7qUD3oFRuIIhxdRjqerQ0 +cuAjJ3dctpDqhiVAq+8zD8ufgr6iIPv2tS0a5sKFsXQP+8hlAqRSAUfdSSLBv9jr +a6x+3uxjMxW3IwiPxg+NQVrdjsW5j+VFP3jbutIbQLH+cU0/4IGiul607BXgk90I +H37hVZkLId6Tngr75qNJvTYw/ud3sqB1l7UtgYgXZSD32pAAn8lSzDLKNXz1PQ/Y +K9f1JmzJBjSWFupwWRoyeXkLtoh/D1JIPb9s2KJELtFOt3JY04kTlf5Eq/jXixtu +nLwsoFvVagCvXzfh1foQC5ichucmj87w7G6KVwuA406ywKBjYZC6VWg3dGq2ktuf +oYYitmUnDuy2n0Jg5GfCtdpBC8TTi2EbvPofkSvXRAdeuims2cXp71NIWuuA8ShY +Ic2wBlX7Jz9TkHCpBB5XJ7k= +-----END CERTIFICATE----- + +# Issuer: CN=SSL.com Root Certification Authority ECC O=SSL Corporation +# Subject: CN=SSL.com Root Certification Authority ECC O=SSL Corporation +# Label: "SSL.com Root Certification Authority ECC" +# Serial: 8495723813297216424 +# MD5 Fingerprint: 2e:da:e4:39:7f:9c:8f:37:d1:70:9f:26:17:51:3a:8e +# SHA1 Fingerprint: c3:19:7c:39:24:e6:54:af:1b:c4:ab:20:95:7a:e2:c3:0e:13:02:6a +# SHA256 Fingerprint: 34:17:bb:06:cc:60:07:da:1b:96:1c:92:0b:8a:b4:ce:3f:ad:82:0e:4a:a3:0b:9a:cb:c4:a7:4e:bd:ce:bc:65 +-----BEGIN CERTIFICATE----- +MIICjTCCAhSgAwIBAgIIdebfy8FoW6gwCgYIKoZIzj0EAwIwfDELMAkGA1UEBhMC +VVMxDjAMBgNVBAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQKDA9T +U0wgQ29ycG9yYXRpb24xMTAvBgNVBAMMKFNTTC5jb20gUm9vdCBDZXJ0aWZpY2F0 +aW9uIEF1dGhvcml0eSBFQ0MwHhcNMTYwMjEyMTgxNDAzWhcNNDEwMjEyMTgxNDAz +WjB8MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMxEDAOBgNVBAcMB0hvdXN0 +b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8GA1UEAwwoU1NMLmNvbSBS +b290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IEVDQzB2MBAGByqGSM49AgEGBSuB +BAAiA2IABEVuqVDEpiM2nl8ojRfLliJkP9x6jh3MCLOicSS6jkm5BBtHllirLZXI +7Z4INcgn64mMU1jrYor+8FsPazFSY0E7ic3s7LaNGdM0B9y7xgZ/wkWV7Mt/qCPg +CemB+vNH06NjMGEwHQYDVR0OBBYEFILRhXMw5zUE044CkvvlpNHEIejNMA8GA1Ud +EwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUgtGFczDnNQTTjgKS++Wk0cQh6M0wDgYD +VR0PAQH/BAQDAgGGMAoGCCqGSM49BAMCA2cAMGQCMG/n61kRpGDPYbCWe+0F+S8T +kdzt5fxQaxFGRrMcIQBiu77D5+jNB5n5DQtdcj7EqgIwH7y6C+IwJPt8bYBVCpk+ +gA0z5Wajs6O7pdWLjwkspl1+4vAHCGht0nxpbl/f5Wpl +-----END CERTIFICATE----- + +# Issuer: CN=SSL.com EV Root Certification Authority RSA R2 O=SSL Corporation +# Subject: CN=SSL.com EV Root Certification Authority RSA R2 O=SSL Corporation +# Label: "SSL.com EV Root Certification Authority RSA R2" +# Serial: 6248227494352943350 +# MD5 Fingerprint: e1:1e:31:58:1a:ae:54:53:02:f6:17:6a:11:7b:4d:95 +# SHA1 Fingerprint: 74:3a:f0:52:9b:d0:32:a0:f4:4a:83:cd:d4:ba:a9:7b:7c:2e:c4:9a +# SHA256 Fingerprint: 2e:7b:f1:6c:c2:24:85:a7:bb:e2:aa:86:96:75:07:61:b0:ae:39:be:3b:2f:e9:d0:cc:6d:4e:f7:34:91:42:5c +-----BEGIN CERTIFICATE----- +MIIF6zCCA9OgAwIBAgIIVrYpzTS8ePYwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNV +BAYTAlVTMQ4wDAYDVQQIDAVUZXhhczEQMA4GA1UEBwwHSG91c3RvbjEYMBYGA1UE +CgwPU1NMIENvcnBvcmF0aW9uMTcwNQYDVQQDDC5TU0wuY29tIEVWIFJvb3QgQ2Vy +dGlmaWNhdGlvbiBBdXRob3JpdHkgUlNBIFIyMB4XDTE3MDUzMTE4MTQzN1oXDTQy +MDUzMDE4MTQzN1owgYIxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVUZXhhczEQMA4G +A1UEBwwHSG91c3RvbjEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMTcwNQYDVQQD +DC5TU0wuY29tIEVWIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgUlNBIFIy +MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAjzZlQOHWTcDXtOlG2mvq +M0fNTPl9fb69LT3w23jhhqXZuglXaO1XPqDQCEGD5yhBJB/jchXQARr7XnAjssuf +OePPxU7Gkm0mxnu7s9onnQqG6YE3Bf7wcXHswxzpY6IXFJ3vG2fThVUCAtZJycxa +4bH3bzKfydQ7iEGonL3Lq9ttewkfokxykNorCPzPPFTOZw+oz12WGQvE43LrrdF9 +HSfvkusQv1vrO6/PgN3B0pYEW3p+pKk8OHakYo6gOV7qd89dAFmPZiw+B6KjBSYR +aZfqhbcPlgtLyEDhULouisv3D5oi53+aNxPN8k0TayHRwMwi8qFG9kRpnMphNQcA +b9ZhCBHqurj26bNg5U257J8UZslXWNvNh2n4ioYSA0e/ZhN2rHd9NCSFg83XqpyQ +Gp8hLH94t2S42Oim9HizVcuE0jLEeK6jj2HdzghTreyI/BXkmg3mnxp3zkyPuBQV +PWKchjgGAGYS5Fl2WlPAApiiECtoRHuOec4zSnaqW4EWG7WK2NAAe15itAnWhmMO +pgWVSbooi4iTsjQc2KRVbrcc0N6ZVTsj9CLg+SlmJuwgUHfbSguPvuUCYHBBXtSu +UDkiFCbLsjtzdFVHB3mBOagwE0TlBIqulhMlQg+5U8Sb/M3kHN48+qvWBkofZ6aY +MBzdLNvcGJVXZsb/XItW9XcCAwEAAaNjMGEwDwYDVR0TAQH/BAUwAwEB/zAfBgNV +HSMEGDAWgBT5YLvU49U09rj1BoAlp3PbRmmonjAdBgNVHQ4EFgQU+WC71OPVNPa4 +9QaAJadz20ZpqJ4wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4ICAQBW +s47LCp1Jjr+kxJG7ZhcFUZh1++VQLHqe8RT6q9OKPv+RKY9ji9i0qVQBDb6Thi/5 +Sm3HXvVX+cpVHBK+Rw82xd9qt9t1wkclf7nxY/hoLVUE0fKNsKTPvDxeH3jnpaAg +cLAExbf3cqfeIg29MyVGjGSSJuM+LmOW2puMPfgYCdcDzH2GguDKBAdRUNf/ktUM +79qGn5nX67evaOI5JpS6aLe/g9Pqemc9YmeuJeVy6OLk7K4S9ksrPJ/psEDzOFSz +/bdoyNrGj1E8svuR3Bznm53htw1yj+KkxKl4+esUrMZDBcJlOSgYAsOCsp0FvmXt +ll9ldDz7CTUue5wT/RsPXcdtgTpWD8w74a8CLyKsRspGPKAcTNZEtF4uXBVmCeEm +Kf7GUmG6sXP/wwyc5WxqlD8UykAWlYTzWamsX0xhk23RO8yilQwipmdnRC652dKK +QbNmC1r7fSOl8hqw/96bg5Qu0T/fkreRrwU7ZcegbLHNYhLDkBvjJc40vG93drEQ +w/cFGsDWr3RiSBd3kmmQYRzelYB0VI8YHMPzA9C/pEN1hlMYegouCRw2n5H9gooi +S9EOUCXdywMMF8mDAAhONU2Ki+3wApRmLER/y5UnlhetCTCstnEXbosX9hwJ1C07 +mKVx01QT2WDz9UtmT/rx7iASjbSsV7FFY6GsdqnC+w== +-----END CERTIFICATE----- + +# Issuer: CN=SSL.com EV Root Certification Authority ECC O=SSL Corporation +# Subject: CN=SSL.com EV Root Certification Authority ECC O=SSL Corporation +# Label: "SSL.com EV Root Certification Authority ECC" +# Serial: 3182246526754555285 +# MD5 Fingerprint: 59:53:22:65:83:42:01:54:c0:ce:42:b9:5a:7c:f2:90 +# SHA1 Fingerprint: 4c:dd:51:a3:d1:f5:20:32:14:b0:c6:c5:32:23:03:91:c7:46:42:6d +# SHA256 Fingerprint: 22:a2:c1:f7:bd:ed:70:4c:c1:e7:01:b5:f4:08:c3:10:88:0f:e9:56:b5:de:2a:4a:44:f9:9c:87:3a:25:a7:c8 +-----BEGIN CERTIFICATE----- +MIIClDCCAhqgAwIBAgIILCmcWxbtBZUwCgYIKoZIzj0EAwIwfzELMAkGA1UEBhMC +VVMxDjAMBgNVBAgMBVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMRgwFgYDVQQKDA9T +U0wgQ29ycG9yYXRpb24xNDAyBgNVBAMMK1NTTC5jb20gRVYgUm9vdCBDZXJ0aWZp +Y2F0aW9uIEF1dGhvcml0eSBFQ0MwHhcNMTYwMjEyMTgxNTIzWhcNNDEwMjEyMTgx +NTIzWjB/MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMxEDAOBgNVBAcMB0hv +dXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjE0MDIGA1UEAwwrU1NMLmNv +bSBFViBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IEVDQzB2MBAGByqGSM49 +AgEGBSuBBAAiA2IABKoSR5CYG/vvw0AHgyBO8TCCogbR8pKGYfL2IWjKAMTH6kMA +VIbc/R/fALhBYlzccBYy3h+Z1MzFB8gIH2EWB1E9fVwHU+M1OIzfzZ/ZLg1Kthku +WnBaBu2+8KGwytAJKaNjMGEwHQYDVR0OBBYEFFvKXuXe0oGqzagtZFG22XKbl+ZP +MA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUW8pe5d7SgarNqC1kUbbZcpuX +5k8wDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMCA2gAMGUCMQCK5kCJN+vp1RPZ +ytRrJPOwPYdGWBrssd9v+1a6cGvHOMzosYxPD/fxZ3YOg9AeUY8CMD32IygmTMZg +h5Mmm7I1HrrW9zzRHM76JTymGoEVW/MSD2zuZYrJh6j5B+BimoxcSg== +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R6 +# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R6 +# Label: "GlobalSign Root CA - R6" +# Serial: 1417766617973444989252670301619537 +# MD5 Fingerprint: 4f:dd:07:e4:d4:22:64:39:1e:0c:37:42:ea:d1:c6:ae +# SHA1 Fingerprint: 80:94:64:0e:b5:a7:a1:ca:11:9c:1f:dd:d5:9f:81:02:63:a7:fb:d1 +# SHA256 Fingerprint: 2c:ab:ea:fe:37:d0:6c:a2:2a:ba:73:91:c0:03:3d:25:98:29:52:c4:53:64:73:49:76:3a:3a:b5:ad:6c:cf:69 +-----BEGIN CERTIFICATE----- +MIIFgzCCA2ugAwIBAgIORea7A4Mzw4VlSOb/RVEwDQYJKoZIhvcNAQEMBQAwTDEg +MB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjYxEzARBgNVBAoTCkdsb2Jh +bFNpZ24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMTQxMjEwMDAwMDAwWhcNMzQx +MjEwMDAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSNjET +MBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCAiIwDQYJ +KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJUH6HPKZvnsFMp7PPcNCPG0RQssgrRI +xutbPK6DuEGSMxSkb3/pKszGsIhrxbaJ0cay/xTOURQh7ErdG1rG1ofuTToVBu1k +ZguSgMpE3nOUTvOniX9PeGMIyBJQbUJmL025eShNUhqKGoC3GYEOfsSKvGRMIRxD +aNc9PIrFsmbVkJq3MQbFvuJtMgamHvm566qjuL++gmNQ0PAYid/kD3n16qIfKtJw +LnvnvJO7bVPiSHyMEAc4/2ayd2F+4OqMPKq0pPbzlUoSB239jLKJz9CgYXfIWHSw +1CM69106yqLbnQneXUQtkPGBzVeS+n68UARjNN9rkxi+azayOeSsJDa38O+2HBNX +k7besvjihbdzorg1qkXy4J02oW9UivFyVm4uiMVRQkQVlO6jxTiWm05OWgtH8wY2 +SXcwvHE35absIQh1/OZhFj931dmRl4QKbNQCTXTAFO39OfuD8l4UoQSwC+n+7o/h +bguyCLNhZglqsQY6ZZZZwPA1/cnaKI0aEYdwgQqomnUdnjqGBQCe24DWJfncBZ4n +WUx2OVvq+aWh2IMP0f/fMBH5hc8zSPXKbWQULHpYT9NLCEnFlWQaYw55PfWzjMpY +rZxCRXluDocZXFSxZba/jJvcE+kNb7gu3GduyYsRtYQUigAZcIN5kZeR1Bonvzce +MgfYFGM8KEyvAgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTAD +AQH/MB0GA1UdDgQWBBSubAWjkxPioufi1xzWx/B/yGdToDAfBgNVHSMEGDAWgBSu +bAWjkxPioufi1xzWx/B/yGdToDANBgkqhkiG9w0BAQwFAAOCAgEAgyXt6NH9lVLN +nsAEoJFp5lzQhN7craJP6Ed41mWYqVuoPId8AorRbrcWc+ZfwFSY1XS+wc3iEZGt +Ixg93eFyRJa0lV7Ae46ZeBZDE1ZXs6KzO7V33EByrKPrmzU+sQghoefEQzd5Mr61 +55wsTLxDKZmOMNOsIeDjHfrYBzN2VAAiKrlNIC5waNrlU/yDXNOd8v9EDERm8tLj +vUYAGm0CuiVdjaExUd1URhxN25mW7xocBFymFe944Hn+Xds+qkxV/ZoVqW/hpvvf +cDDpw+5CRu3CkwWJ+n1jez/QcYF8AOiYrg54NMMl+68KnyBr3TsTjxKM4kEaSHpz +oHdpx7Zcf4LIHv5YGygrqGytXm3ABdJ7t+uA/iU3/gKbaKxCXcPu9czc8FB10jZp +nOZ7BN9uBmm23goJSFmH63sUYHpkqmlD75HHTOwY3WzvUy2MmeFe8nI+z1TIvWfs +pA9MRf/TuTAjB0yPEL+GltmZWrSZVxykzLsViVO6LAUP5MSeGbEYNNVMnbrt9x+v +JJUEeKgDu+6B5dpffItKoZB0JaezPkvILFa9x8jvOOJckvB595yEunQtYQEgfn7R +8k8HWV+LLUNS60YMlOH1Zkd5d9VUWx+tJDfLRVpOoERIyNiwmcUVhAn21klJwGW4 +5hpxbqCo8YLoRT5s1gLXCmeDBVrJpBA= +-----END CERTIFICATE----- + +# Issuer: CN=OISTE WISeKey Global Root GC CA O=WISeKey OU=OISTE Foundation Endorsed +# Subject: CN=OISTE WISeKey Global Root GC CA O=WISeKey OU=OISTE Foundation Endorsed +# Label: "OISTE WISeKey Global Root GC CA" +# Serial: 44084345621038548146064804565436152554 +# MD5 Fingerprint: a9:d6:b9:2d:2f:93:64:f8:a5:69:ca:91:e9:68:07:23 +# SHA1 Fingerprint: e0:11:84:5e:34:de:be:88:81:b9:9c:f6:16:26:d1:96:1f:c3:b9:31 +# SHA256 Fingerprint: 85:60:f9:1c:36:24:da:ba:95:70:b5:fe:a0:db:e3:6f:f1:1a:83:23:be:94:86:85:4f:b3:f3:4a:55:71:19:8d +-----BEGIN CERTIFICATE----- +MIICaTCCAe+gAwIBAgIQISpWDK7aDKtARb8roi066jAKBggqhkjOPQQDAzBtMQsw +CQYDVQQGEwJDSDEQMA4GA1UEChMHV0lTZUtleTEiMCAGA1UECxMZT0lTVEUgRm91 +bmRhdGlvbiBFbmRvcnNlZDEoMCYGA1UEAxMfT0lTVEUgV0lTZUtleSBHbG9iYWwg +Um9vdCBHQyBDQTAeFw0xNzA1MDkwOTQ4MzRaFw00MjA1MDkwOTU4MzNaMG0xCzAJ +BgNVBAYTAkNIMRAwDgYDVQQKEwdXSVNlS2V5MSIwIAYDVQQLExlPSVNURSBGb3Vu +ZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBXSVNlS2V5IEdsb2JhbCBS +b290IEdDIENBMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETOlQwMYPchi82PG6s4ni +eUqjFqdrVCTbUf/q9Akkwwsin8tqJ4KBDdLArzHkdIJuyiXZjHWd8dvQmqJLIX4W +p2OQ0jnUsYd4XxiWD1AbNTcPasbc2RNNpI6QN+a9WzGRo1QwUjAOBgNVHQ8BAf8E +BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUSIcUrOPDnpBgOtfKie7T +rYy0UGYwEAYJKwYBBAGCNxUBBAMCAQAwCgYIKoZIzj0EAwMDaAAwZQIwJsdpW9zV +57LnyAyMjMPdeYwbY9XJUpROTYJKcx6ygISpJcBMWm1JKWB4E+J+SOtkAjEA2zQg +Mgj/mkkCtojeFK9dbJlxjRo/i9fgojaGHAeCOnZT/cKi7e97sIBPWA9LUzm9 +-----END CERTIFICATE----- + +# Issuer: CN=UCA Global G2 Root O=UniTrust +# Subject: CN=UCA Global G2 Root O=UniTrust +# Label: "UCA Global G2 Root" +# Serial: 124779693093741543919145257850076631279 +# MD5 Fingerprint: 80:fe:f0:c4:4a:f0:5c:62:32:9f:1c:ba:78:a9:50:f8 +# SHA1 Fingerprint: 28:f9:78:16:19:7a:ff:18:25:18:aa:44:fe:c1:a0:ce:5c:b6:4c:8a +# SHA256 Fingerprint: 9b:ea:11:c9:76:fe:01:47:64:c1:be:56:a6:f9:14:b5:a5:60:31:7a:bd:99:88:39:33:82:e5:16:1a:a0:49:3c +-----BEGIN CERTIFICATE----- +MIIFRjCCAy6gAwIBAgIQXd+x2lqj7V2+WmUgZQOQ7zANBgkqhkiG9w0BAQsFADA9 +MQswCQYDVQQGEwJDTjERMA8GA1UECgwIVW5pVHJ1c3QxGzAZBgNVBAMMElVDQSBH +bG9iYWwgRzIgUm9vdDAeFw0xNjAzMTEwMDAwMDBaFw00MDEyMzEwMDAwMDBaMD0x +CzAJBgNVBAYTAkNOMREwDwYDVQQKDAhVbmlUcnVzdDEbMBkGA1UEAwwSVUNBIEds +b2JhbCBHMiBSb290MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxeYr +b3zvJgUno4Ek2m/LAfmZmqkywiKHYUGRO8vDaBsGxUypK8FnFyIdK+35KYmToni9 +kmugow2ifsqTs6bRjDXVdfkX9s9FxeV67HeToI8jrg4aA3++1NDtLnurRiNb/yzm +VHqUwCoV8MmNsHo7JOHXaOIxPAYzRrZUEaalLyJUKlgNAQLx+hVRZ2zA+te2G3/R +VogvGjqNO7uCEeBHANBSh6v7hn4PJGtAnTRnvI3HLYZveT6OqTwXS3+wmeOwcWDc +C/Vkw85DvG1xudLeJ1uK6NjGruFZfc8oLTW4lVYa8bJYS7cSN8h8s+1LgOGN+jIj +tm+3SJUIsUROhYw6AlQgL9+/V087OpAh18EmNVQg7Mc/R+zvWr9LesGtOxdQXGLY +D0tK3Cv6brxzks3sx1DoQZbXqX5t2Okdj4q1uViSukqSKwxW/YDrCPBeKW4bHAyv +j5OJrdu9o54hyokZ7N+1wxrrFv54NkzWbtA+FxyQF2smuvt6L78RHBgOLXMDj6Dl +NaBa4kx1HXHhOThTeEDMg5PXCp6dW4+K5OXgSORIskfNTip1KnvyIvbJvgmRlld6 +iIis7nCs+dwp4wwcOxJORNanTrAmyPPZGpeRaOrvjUYG0lZFWJo8DA+DuAUlwznP +O6Q0ibd5Ei9Hxeepl2n8pndntd978XplFeRhVmUCAwEAAaNCMEAwDgYDVR0PAQH/ +BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFIHEjMz15DD/pQwIX4wV +ZyF0Ad/fMA0GCSqGSIb3DQEBCwUAA4ICAQATZSL1jiutROTL/7lo5sOASD0Ee/oj +L3rtNtqyzm325p7lX1iPyzcyochltq44PTUbPrw7tgTQvPlJ9Zv3hcU2tsu8+Mg5 +1eRfB70VVJd0ysrtT7q6ZHafgbiERUlMjW+i67HM0cOU2kTC5uLqGOiiHycFutfl +1qnN3e92mI0ADs0b+gO3joBYDic/UvuUospeZcnWhNq5NXHzJsBPd+aBJ9J3O5oU +b3n09tDh05S60FdRvScFDcH9yBIw7m+NESsIndTUv4BFFJqIRNow6rSn4+7vW4LV +PtateJLbXDzz2K36uGt/xDYotgIVilQsnLAXc47QN6MUPJiVAAwpBVueSUmxX8fj +y88nZY41F7dXyDDZQVu5FLbowg+UMaeUmMxq67XhJ/UQqAHojhJi6IjMtX9Gl8Cb +EGY4GjZGXyJoPd/JxhMnq1MGrKI8hgZlb7F+sSlEmqO6SWkoaY/X5V+tBIZkbxqg +DMUIYs6Ao9Dz7GjevjPHF1t/gMRMTLGmhIrDO7gJzRSBuhjjVFc2/tsvfEehOjPI ++Vg7RE+xygKJBJYoaMVLuCaJu9YzL1DV/pqJuhgyklTGW+Cd+V7lDSKb9triyCGy +YiGqhkCyLmTTX8jjfhFnRR8F/uOi77Oos/N9j/gMHyIfLXC0uAE0djAA5SN4p1bX +UB+K+wb1whnw0A== +-----END CERTIFICATE----- + +# Issuer: CN=UCA Extended Validation Root O=UniTrust +# Subject: CN=UCA Extended Validation Root O=UniTrust +# Label: "UCA Extended Validation Root" +# Serial: 106100277556486529736699587978573607008 +# MD5 Fingerprint: a1:f3:5f:43:c6:34:9b:da:bf:8c:7e:05:53:ad:96:e2 +# SHA1 Fingerprint: a3:a1:b0:6f:24:61:23:4a:e3:36:a5:c2:37:fc:a6:ff:dd:f0:d7:3a +# SHA256 Fingerprint: d4:3a:f9:b3:54:73:75:5c:96:84:fc:06:d7:d8:cb:70:ee:5c:28:e7:73:fb:29:4e:b4:1e:e7:17:22:92:4d:24 +-----BEGIN CERTIFICATE----- +MIIFWjCCA0KgAwIBAgIQT9Irj/VkyDOeTzRYZiNwYDANBgkqhkiG9w0BAQsFADBH +MQswCQYDVQQGEwJDTjERMA8GA1UECgwIVW5pVHJ1c3QxJTAjBgNVBAMMHFVDQSBF +eHRlbmRlZCBWYWxpZGF0aW9uIFJvb3QwHhcNMTUwMzEzMDAwMDAwWhcNMzgxMjMx +MDAwMDAwWjBHMQswCQYDVQQGEwJDTjERMA8GA1UECgwIVW5pVHJ1c3QxJTAjBgNV +BAMMHFVDQSBFeHRlbmRlZCBWYWxpZGF0aW9uIFJvb3QwggIiMA0GCSqGSIb3DQEB +AQUAA4ICDwAwggIKAoICAQCpCQcoEwKwmeBkqh5DFnpzsZGgdT6o+uM4AHrsiWog +D4vFsJszA1qGxliG1cGFu0/GnEBNyr7uaZa4rYEwmnySBesFK5pI0Lh2PpbIILvS +sPGP2KxFRv+qZ2C0d35qHzwaUnoEPQc8hQ2E0B92CvdqFN9y4zR8V05WAT558aop +O2z6+I9tTcg1367r3CTueUWnhbYFiN6IXSV8l2RnCdm/WhUFhvMJHuxYMjMR83dk +sHYf5BA1FxvyDrFspCqjc/wJHx4yGVMR59mzLC52LqGj3n5qiAno8geK+LLNEOfi +c0CTuwjRP+H8C5SzJe98ptfRr5//lpr1kXuYC3fUfugH0mK1lTnj8/FtDw5lhIpj +VMWAtuCeS31HJqcBCF3RiJ7XwzJE+oJKCmhUfzhTA8ykADNkUVkLo4KRel7sFsLz +KuZi2irbWWIQJUoqgQtHB0MGcIfS+pMRKXpITeuUx3BNr2fVUbGAIAEBtHoIppB/ +TuDvB0GHr2qlXov7z1CymlSvw4m6WC31MJixNnI5fkkE/SmnTHnkBVfblLkWU41G +sx2VYVdWf6/wFlthWG82UBEL2KwrlRYaDh8IzTY0ZRBiZtWAXxQgXy0MoHgKaNYs +1+lvK9JKBZP8nm9rZ/+I8U6laUpSNwXqxhaN0sSZ0YIrO7o1dfdRUVjzyAfd5LQD +fwIDAQABo0IwQDAdBgNVHQ4EFgQU2XQ65DA9DfcS3H5aBZ8eNJr34RQwDwYDVR0T +AQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQELBQADggIBADaN +l8xCFWQpN5smLNb7rhVpLGsaGvdftvkHTFnq88nIua7Mui563MD1sC3AO6+fcAUR +ap8lTwEpcOPlDOHqWnzcSbvBHiqB9RZLcpHIojG5qtr8nR/zXUACE/xOHAbKsxSQ +VBcZEhrxH9cMaVr2cXj0lH2RC47skFSOvG+hTKv8dGT9cZr4QQehzZHkPJrgmzI5 +c6sq1WnIeJEmMX3ixzDx/BR4dxIOE/TdFpS/S2d7cFOFyrC78zhNLJA5wA3CXWvp +4uXViI3WLL+rG761KIcSF3Ru/H38j9CHJrAb+7lsq+KePRXBOy5nAliRn+/4Qh8s +t2j1da3Ptfb/EX3C8CSlrdP6oDyp+l3cpaDvRKS+1ujl5BOWF3sGPjLtx7dCvHaj +2GU4Kzg1USEODm8uNBNA4StnDG1KQTAYI1oyVZnJF+A83vbsea0rWBmirSwiGpWO +vpaQXUJXxPkUAzUrHC1RVwinOt4/5Mi0A3PCwSaAuwtCH60NryZy2sy+s6ODWA2C +xR9GUeOcGMyNm43sSet1UNWMKFnKdDTajAshqx7qG+XH/RU+wBeq+yNuJkbL+vmx +cmtpzyKEC2IPrNkZAJSidjzULZrtBJ4tBmIQN1IchXIbJ+XMxjHsN+xjWZsLHXbM +fjKaiJUINlK73nZfdklJrX+9ZSCyycErdhh2n1ax +-----END CERTIFICATE----- + +# Issuer: CN=Certigna Root CA O=Dhimyotis OU=0002 48146308100036 +# Subject: CN=Certigna Root CA O=Dhimyotis OU=0002 48146308100036 +# Label: "Certigna Root CA" +# Serial: 269714418870597844693661054334862075617 +# MD5 Fingerprint: 0e:5c:30:62:27:eb:5b:bc:d7:ae:62:ba:e9:d5:df:77 +# SHA1 Fingerprint: 2d:0d:52:14:ff:9e:ad:99:24:01:74:20:47:6e:6c:85:27:27:f5:43 +# SHA256 Fingerprint: d4:8d:3d:23:ee:db:50:a4:59:e5:51:97:60:1c:27:77:4b:9d:7b:18:c9:4d:5a:05:95:11:a1:02:50:b9:31:68 +-----BEGIN CERTIFICATE----- +MIIGWzCCBEOgAwIBAgIRAMrpG4nxVQMNo+ZBbcTjpuEwDQYJKoZIhvcNAQELBQAw +WjELMAkGA1UEBhMCRlIxEjAQBgNVBAoMCURoaW15b3RpczEcMBoGA1UECwwTMDAw +MiA0ODE0NjMwODEwMDAzNjEZMBcGA1UEAwwQQ2VydGlnbmEgUm9vdCBDQTAeFw0x +MzEwMDEwODMyMjdaFw0zMzEwMDEwODMyMjdaMFoxCzAJBgNVBAYTAkZSMRIwEAYD +VQQKDAlEaGlteW90aXMxHDAaBgNVBAsMEzAwMDIgNDgxNDYzMDgxMDAwMzYxGTAX +BgNVBAMMEENlcnRpZ25hIFJvb3QgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw +ggIKAoICAQDNGDllGlmx6mQWDoyUJJV8g9PFOSbcDO8WV43X2KyjQn+Cyu3NW9sO +ty3tRQgXstmzy9YXUnIo245Onoq2C/mehJpNdt4iKVzSs9IGPjA5qXSjklYcoW9M +CiBtnyN6tMbaLOQdLNyzKNAT8kxOAkmhVECe5uUFoC2EyP+YbNDrihqECB63aCPu +I9Vwzm1RaRDuoXrC0SIxwoKF0vJVdlB8JXrJhFwLrN1CTivngqIkicuQstDuI7pm +TLtipPlTWmR7fJj6o0ieD5Wupxj0auwuA0Wv8HT4Ks16XdG+RCYyKfHx9WzMfgIh +C59vpD++nVPiz32pLHxYGpfhPTc3GGYo0kDFUYqMwy3OU4gkWGQwFsWq4NYKpkDf +ePb1BHxpE4S80dGnBs8B92jAqFe7OmGtBIyT46388NtEbVncSVmurJqZNjBBe3Yz +IoejwpKGbvlw7q6Hh5UbxHq9MfPU0uWZ/75I7HX1eBYdpnDBfzwboZL7z8g81sWT +Co/1VTp2lc5ZmIoJlXcymoO6LAQ6l73UL77XbJuiyn1tJslV1c/DeVIICZkHJC1k +JWumIWmbat10TWuXekG9qxf5kBdIjzb5LdXF2+6qhUVB+s06RbFo5jZMm5BX7CO5 +hwjCxAnxl4YqKE3idMDaxIzb3+KhF1nOJFl0Mdp//TBt2dzhauH8XwIDAQABo4IB +GjCCARYwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYE +FBiHVuBud+4kNTxOc5of1uHieX4rMB8GA1UdIwQYMBaAFBiHVuBud+4kNTxOc5of +1uHieX4rMEQGA1UdIAQ9MDswOQYEVR0gADAxMC8GCCsGAQUFBwIBFiNodHRwczov +L3d3d3cuY2VydGlnbmEuZnIvYXV0b3JpdGVzLzBtBgNVHR8EZjBkMC+gLaArhilo +dHRwOi8vY3JsLmNlcnRpZ25hLmZyL2NlcnRpZ25hcm9vdGNhLmNybDAxoC+gLYYr +aHR0cDovL2NybC5kaGlteW90aXMuY29tL2NlcnRpZ25hcm9vdGNhLmNybDANBgkq +hkiG9w0BAQsFAAOCAgEAlLieT/DjlQgi581oQfccVdV8AOItOoldaDgvUSILSo3L +6btdPrtcPbEo/uRTVRPPoZAbAh1fZkYJMyjhDSSXcNMQH+pkV5a7XdrnxIxPTGRG +HVyH41neQtGbqH6mid2PHMkwgu07nM3A6RngatgCdTer9zQoKJHyBApPNeNgJgH6 +0BGM+RFq7q89w1DTj18zeTyGqHNFkIwgtnJzFyO+B2XleJINugHA64wcZr+shncB +lA2c5uk5jR+mUYyZDDl34bSb+hxnV29qao6pK0xXeXpXIs/NX2NGjVxZOob4Mkdi +o2cNGJHc+6Zr9UhhcyNZjgKnvETq9Emd8VRY+WCv2hikLyhF3HqgiIZd8zvn/yk1 +gPxkQ5Tm4xxvvq0OKmOZK8l+hfZx6AYDlf7ej0gcWtSS6Cvu5zHbugRqh5jnxV/v +faci9wHYTfmJ0A6aBVmknpjZbyvKcL5kwlWj9Omvw5Ip3IgWJJk8jSaYtlu3zM63 +Nwf9JtmYhST/WSMDmu2dnajkXjjO11INb9I/bbEFa0nOipFGc/T2L/Coc3cOZayh +jWZSaX5LaAzHHjcng6WMxwLkFM1JAbBzs/3GkDpv0mztO+7skb6iQ12LAEpmJURw +3kAP+HwV96LOPNdeE4yBFxgX0b3xdxA61GU5wSesVywlVP+i2k+KYTlerj1KjL0= +-----END CERTIFICATE----- + +# Issuer: CN=emSign Root CA - G1 O=eMudhra Technologies Limited OU=emSign PKI +# Subject: CN=emSign Root CA - G1 O=eMudhra Technologies Limited OU=emSign PKI +# Label: "emSign Root CA - G1" +# Serial: 235931866688319308814040 +# MD5 Fingerprint: 9c:42:84:57:dd:cb:0b:a7:2e:95:ad:b6:f3:da:bc:ac +# SHA1 Fingerprint: 8a:c7:ad:8f:73:ac:4e:c1:b5:75:4d:a5:40:f4:fc:cf:7c:b5:8e:8c +# SHA256 Fingerprint: 40:f6:af:03:46:a9:9a:a1:cd:1d:55:5a:4e:9c:ce:62:c7:f9:63:46:03:ee:40:66:15:83:3d:c8:c8:d0:03:67 +-----BEGIN CERTIFICATE----- +MIIDlDCCAnygAwIBAgIKMfXkYgxsWO3W2DANBgkqhkiG9w0BAQsFADBnMQswCQYD +VQQGEwJJTjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBU +ZWNobm9sb2dpZXMgTGltaXRlZDEcMBoGA1UEAxMTZW1TaWduIFJvb3QgQ0EgLSBH +MTAeFw0xODAyMTgxODMwMDBaFw00MzAyMTgxODMwMDBaMGcxCzAJBgNVBAYTAklO +MRMwEQYDVQQLEwplbVNpZ24gUEtJMSUwIwYDVQQKExxlTXVkaHJhIFRlY2hub2xv +Z2llcyBMaW1pdGVkMRwwGgYDVQQDExNlbVNpZ24gUm9vdCBDQSAtIEcxMIIBIjAN +BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk0u76WaK7p1b1TST0Bsew+eeuGQz +f2N4aLTNLnF115sgxk0pvLZoYIr3IZpWNVrzdr3YzZr/k1ZLpVkGoZM0Kd0WNHVO +8oG0x5ZOrRkVUkr+PHB1cM2vK6sVmjM8qrOLqs1D/fXqcP/tzxE7lM5OMhbTI0Aq +d7OvPAEsbO2ZLIvZTmmYsvePQbAyeGHWDV/D+qJAkh1cF+ZwPjXnorfCYuKrpDhM +tTk1b+oDafo6VGiFbdbyL0NVHpENDtjVaqSW0RM8LHhQ6DqS0hdW5TUaQBw+jSzt +Od9C4INBdN+jzcKGYEho42kLVACL5HZpIQ15TjQIXhTCzLG3rdd8cIrHhQIDAQAB +o0IwQDAdBgNVHQ4EFgQU++8Nhp6w492pufEhF38+/PB3KxowDgYDVR0PAQH/BAQD +AgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAFn/8oz1h31x +PaOfG1vR2vjTnGs2vZupYeveFix0PZ7mddrXuqe8QhfnPZHr5X3dPpzxz5KsbEjM +wiI/aTvFthUvozXGaCocV685743QNcMYDHsAVhzNixl03r4PEuDQqqE/AjSxcM6d +GNYIAwlG7mDgfrbESQRRfXBgvKqy/3lyeqYdPV8q+Mri/Tm3R7nrft8EI6/6nAYH +6ftjk4BAtcZsCjEozgyfz7MjNYBBjWzEN3uBL4ChQEKF6dk4jeihU80Bv2noWgby +RQuQ+q7hv53yrlc8pa6yVvSLZUDp/TGBLPQ5Cdjua6e0ph0VpZj3AYHYhX3zUVxx +iN66zB+Afko= +-----END CERTIFICATE----- + +# Issuer: CN=emSign ECC Root CA - G3 O=eMudhra Technologies Limited OU=emSign PKI +# Subject: CN=emSign ECC Root CA - G3 O=eMudhra Technologies Limited OU=emSign PKI +# Label: "emSign ECC Root CA - G3" +# Serial: 287880440101571086945156 +# MD5 Fingerprint: ce:0b:72:d1:9f:88:8e:d0:50:03:e8:e3:b8:8b:67:40 +# SHA1 Fingerprint: 30:43:fa:4f:f2:57:dc:a0:c3:80:ee:2e:58:ea:78:b2:3f:e6:bb:c1 +# SHA256 Fingerprint: 86:a1:ec:ba:08:9c:4a:8d:3b:be:27:34:c6:12:ba:34:1d:81:3e:04:3c:f9:e8:a8:62:cd:5c:57:a3:6b:be:6b +-----BEGIN CERTIFICATE----- +MIICTjCCAdOgAwIBAgIKPPYHqWhwDtqLhDAKBggqhkjOPQQDAzBrMQswCQYDVQQG +EwJJTjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNo +bm9sb2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0g +RzMwHhcNMTgwMjE4MTgzMDAwWhcNNDMwMjE4MTgzMDAwWjBrMQswCQYDVQQGEwJJ +TjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9s +b2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0gRzMw +djAQBgcqhkjOPQIBBgUrgQQAIgNiAAQjpQy4LRL1KPOxst3iAhKAnjlfSU2fySU0 +WXTsuwYc58Byr+iuL+FBVIcUqEqy6HyC5ltqtdyzdc6LBtCGI79G1Y4PPwT01xyS +fvalY8L1X44uT6EYGQIrMgqCZH0Wk9GjQjBAMB0GA1UdDgQWBBR8XQKEE9TMipuB +zhccLikenEhjQjAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggq +hkjOPQQDAwNpADBmAjEAvvNhzwIQHWSVB7gYboiFBS+DCBeQyh+KTOgNG3qxrdWB +CUfvO6wIBHxcmbHtRwfSAjEAnbpV/KlK6O3t5nYBQnvI+GDZjVGLVTv7jHvrZQnD ++JbNR6iC8hZVdyR+EhCVBCyj +-----END CERTIFICATE----- + +# Issuer: CN=emSign Root CA - C1 O=eMudhra Inc OU=emSign PKI +# Subject: CN=emSign Root CA - C1 O=eMudhra Inc OU=emSign PKI +# Label: "emSign Root CA - C1" +# Serial: 825510296613316004955058 +# MD5 Fingerprint: d8:e3:5d:01:21:fa:78:5a:b0:df:ba:d2:ee:2a:5f:68 +# SHA1 Fingerprint: e7:2e:f1:df:fc:b2:09:28:cf:5d:d4:d5:67:37:b1:51:cb:86:4f:01 +# SHA256 Fingerprint: 12:56:09:aa:30:1d:a0:a2:49:b9:7a:82:39:cb:6a:34:21:6f:44:dc:ac:9f:39:54:b1:42:92:f2:e8:c8:60:8f +-----BEGIN CERTIFICATE----- +MIIDczCCAlugAwIBAgILAK7PALrEzzL4Q7IwDQYJKoZIhvcNAQELBQAwVjELMAkG +A1UEBhMCVVMxEzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEg +SW5jMRwwGgYDVQQDExNlbVNpZ24gUm9vdCBDQSAtIEMxMB4XDTE4MDIxODE4MzAw +MFoXDTQzMDIxODE4MzAwMFowVjELMAkGA1UEBhMCVVMxEzARBgNVBAsTCmVtU2ln +biBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMRwwGgYDVQQDExNlbVNpZ24gUm9v +dCBDQSAtIEMxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz+upufGZ +BczYKCFK83M0UYRWEPWgTywS4/oTmifQz/l5GnRfHXk5/Fv4cI7gklL35CX5VIPZ +HdPIWoU/Xse2B+4+wM6ar6xWQio5JXDWv7V7Nq2s9nPczdcdioOl+yuQFTdrHCZH +3DspVpNqs8FqOp099cGXOFgFixwR4+S0uF2FHYP+eF8LRWgYSKVGczQ7/g/IdrvH +GPMF0Ybzhe3nudkyrVWIzqa2kbBPrH4VI5b2P/AgNBbeCsbEBEV5f6f9vtKppa+c +xSMq9zwhbL2vj07FOrLzNBL834AaSaTUqZX3noleoomslMuoaJuvimUnzYnu3Yy1 +aylwQ6BpC+S5DwIDAQABo0IwQDAdBgNVHQ4EFgQU/qHgcB4qAzlSWkK+XJGFehiq +TbUwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL +BQADggEBAMJKVvoVIXsoounlHfv4LcQ5lkFMOycsxGwYFYDGrK9HWS8mC+M2sO87 +/kOXSTKZEhVb3xEp/6tT+LvBeA+snFOvV71ojD1pM/CjoCNjO2RnIkSt1XHLVip4 +kqNPEjE2NuLe/gDEo2APJ62gsIq1NnpSob0n9CAnYuhNlCQT5AoE6TyrLshDCUrG +YQTlSTR+08TI9Q/Aqum6VF7zYytPT1DU/rl7mYw9wC68AivTxEDkigcxHpvOJpkT ++xHqmiIMERnHXhuBUDDIlhJu58tBf5E7oke3VIAb3ADMmpDqw8NQBmIMMMAVSKeo +WXzhriKi4gp6D/piq1JM4fHfyr6DDUI= +-----END CERTIFICATE----- + +# Issuer: CN=emSign ECC Root CA - C3 O=eMudhra Inc OU=emSign PKI +# Subject: CN=emSign ECC Root CA - C3 O=eMudhra Inc OU=emSign PKI +# Label: "emSign ECC Root CA - C3" +# Serial: 582948710642506000014504 +# MD5 Fingerprint: 3e:53:b3:a3:81:ee:d7:10:f8:d3:b0:1d:17:92:f5:d5 +# SHA1 Fingerprint: b6:af:43:c2:9b:81:53:7d:f6:ef:6b:c3:1f:1f:60:15:0c:ee:48:66 +# SHA256 Fingerprint: bc:4d:80:9b:15:18:9d:78:db:3e:1d:8c:f4:f9:72:6a:79:5d:a1:64:3c:a5:f1:35:8e:1d:db:0e:dc:0d:7e:b3 +-----BEGIN CERTIFICATE----- +MIICKzCCAbGgAwIBAgIKe3G2gla4EnycqDAKBggqhkjOPQQDAzBaMQswCQYDVQQG +EwJVUzETMBEGA1UECxMKZW1TaWduIFBLSTEUMBIGA1UEChMLZU11ZGhyYSBJbmMx +IDAeBgNVBAMTF2VtU2lnbiBFQ0MgUm9vdCBDQSAtIEMzMB4XDTE4MDIxODE4MzAw +MFoXDTQzMDIxODE4MzAwMFowWjELMAkGA1UEBhMCVVMxEzARBgNVBAsTCmVtU2ln +biBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMSAwHgYDVQQDExdlbVNpZ24gRUND +IFJvb3QgQ0EgLSBDMzB2MBAGByqGSM49AgEGBSuBBAAiA2IABP2lYa57JhAd6bci +MK4G9IGzsUJxlTm801Ljr6/58pc1kjZGDoeVjbk5Wum739D+yAdBPLtVb4Ojavti +sIGJAnB9SMVK4+kiVCJNk7tCDK93nCOmfddhEc5lx/h//vXyqaNCMEAwHQYDVR0O +BBYEFPtaSNCAIEDyqOkAB2kZd6fmw/TPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB +Af8EBTADAQH/MAoGCCqGSM49BAMDA2gAMGUCMQC02C8Cif22TGK6Q04ThHK1rt0c +3ta13FaPWEBaLd4gTCKDypOofu4SQMfWh0/434UCMBwUZOR8loMRnLDRWmFLpg9J +0wD8ofzkpf9/rdcw0Md3f76BB1UwUCAU9Vc4CqgxUQ== +-----END CERTIFICATE----- + +# Issuer: CN=Hongkong Post Root CA 3 O=Hongkong Post +# Subject: CN=Hongkong Post Root CA 3 O=Hongkong Post +# Label: "Hongkong Post Root CA 3" +# Serial: 46170865288971385588281144162979347873371282084 +# MD5 Fingerprint: 11:fc:9f:bd:73:30:02:8a:fd:3f:f3:58:b9:cb:20:f0 +# SHA1 Fingerprint: 58:a2:d0:ec:20:52:81:5b:c1:f3:f8:64:02:24:4e:c2:8e:02:4b:02 +# SHA256 Fingerprint: 5a:2f:c0:3f:0c:83:b0:90:bb:fa:40:60:4b:09:88:44:6c:76:36:18:3d:f9:84:6e:17:10:1a:44:7f:b8:ef:d6 +-----BEGIN CERTIFICATE----- +MIIFzzCCA7egAwIBAgIUCBZfikyl7ADJk0DfxMauI7gcWqQwDQYJKoZIhvcNAQEL +BQAwbzELMAkGA1UEBhMCSEsxEjAQBgNVBAgTCUhvbmcgS29uZzESMBAGA1UEBxMJ +SG9uZyBLb25nMRYwFAYDVQQKEw1Ib25na29uZyBQb3N0MSAwHgYDVQQDExdIb25n +a29uZyBQb3N0IFJvb3QgQ0EgMzAeFw0xNzA2MDMwMjI5NDZaFw00MjA2MDMwMjI5 +NDZaMG8xCzAJBgNVBAYTAkhLMRIwEAYDVQQIEwlIb25nIEtvbmcxEjAQBgNVBAcT +CUhvbmcgS29uZzEWMBQGA1UEChMNSG9uZ2tvbmcgUG9zdDEgMB4GA1UEAxMXSG9u +Z2tvbmcgUG9zdCBSb290IENBIDMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK +AoICAQCziNfqzg8gTr7m1gNt7ln8wlffKWihgw4+aMdoWJwcYEuJQwy51BWy7sFO +dem1p+/l6TWZ5Mwc50tfjTMwIDNT2aa71T4Tjukfh0mtUC1Qyhi+AViiE3CWu4mI +VoBc+L0sPOFMV4i707mV78vH9toxdCim5lSJ9UExyuUmGs2C4HDaOym71QP1mbpV +9WTRYA6ziUm4ii8F0oRFKHyPaFASePwLtVPLwpgchKOesL4jpNrcyCse2m5FHomY +2vkALgbpDDtw1VAliJnLzXNg99X/NWfFobxeq81KuEXryGgeDQ0URhLj0mRiikKY +vLTGCAj4/ahMZJx2Ab0vqWwzD9g/KLg8aQFChn5pwckGyuV6RmXpwtZQQS4/t+Tt +bNe/JgERohYpSms0BpDsE9K2+2p20jzt8NYt3eEV7KObLyzJPivkaTv/ciWxNoZb +x39ri1UbSsUgYT2uy1DhCDq+sI9jQVMwCFk8mB13umOResoQUGC/8Ne8lYePl8X+ +l2oBlKN8W4UdKjk60FSh0Tlxnf0h+bV78OLgAo9uliQlLKAeLKjEiafv7ZkGL7YK +TE/bosw3Gq9HhS2KX8Q0NEwA/RiTZxPRN+ZItIsGxVd7GYYKecsAyVKvQv83j+Gj +Hno9UKtjBucVtT+2RTeUN7F+8kjDf8V1/peNRY8apxpyKBpADwIDAQABo2MwYTAP +BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAfBgNVHSMEGDAWgBQXnc0e +i9Y5K3DTXNSguB+wAPzFYTAdBgNVHQ4EFgQUF53NHovWOStw01zUoLgfsAD8xWEw +DQYJKoZIhvcNAQELBQADggIBAFbVe27mIgHSQpsY1Q7XZiNc4/6gx5LS6ZStS6LG +7BJ8dNVI0lkUmcDrudHr9EgwW62nV3OZqdPlt9EuWSRY3GguLmLYauRwCy0gUCCk +MpXRAJi70/33MvJJrsZ64Ee+bs7Lo3I6LWldy8joRTnU+kLBEUx3XZL7av9YROXr +gZ6voJmtvqkBZss4HTzfQx/0TW60uhdG/H39h4F5ag0zD/ov+BS5gLNdTaqX4fnk +GMX41TiMJjz98iji7lpJiCzfeT2OnpA8vUFKOt1b9pq0zj8lMH8yfaIDlNDceqFS +3m6TjRgm/VWsvY+b0s+v54Ysyx8Jb6NvqYTUc79NoXQbTiNg8swOqn+knEwlqLJm +Ozj/2ZQw9nKEvmhVEA/GcywWaZMH/rFF7buiVWqw2rVKAiUnhde3t4ZEFolsgCs+ +l6mc1X5VTMbeRRAc6uk7nwNT7u56AQIWeNTowr5GdogTPyK7SBIdUgC0An4hGh6c +JfTzPV4e0hz5sy229zdcxsshTrD3mUcYhcErulWuBurQB7Lcq9CClnXO0lD+mefP +L5/ndtFhKvshuzHQqp9HpLIiyhY6UFfEW0NnxWViA0kB60PZ2Pierc+xYw5F9KBa +LJstxabArahH9CdMOA0uG0k7UvToiIMrVCjU8jVStDKDYmlkDJGcn5fqdBb9HxEG +mpv0 +-----END CERTIFICATE----- + +# Issuer: CN=Microsoft ECC Root Certificate Authority 2017 O=Microsoft Corporation +# Subject: CN=Microsoft ECC Root Certificate Authority 2017 O=Microsoft Corporation +# Label: "Microsoft ECC Root Certificate Authority 2017" +# Serial: 136839042543790627607696632466672567020 +# MD5 Fingerprint: dd:a1:03:e6:4a:93:10:d1:bf:f0:19:42:cb:fe:ed:67 +# SHA1 Fingerprint: 99:9a:64:c3:7f:f4:7d:9f:ab:95:f1:47:69:89:14:60:ee:c4:c3:c5 +# SHA256 Fingerprint: 35:8d:f3:9d:76:4a:f9:e1:b7:66:e9:c9:72:df:35:2e:e1:5c:fa:c2:27:af:6a:d1:d7:0e:8e:4a:6e:dc:ba:02 +-----BEGIN CERTIFICATE----- +MIICWTCCAd+gAwIBAgIQZvI9r4fei7FK6gxXMQHC7DAKBggqhkjOPQQDAzBlMQsw +CQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYD +VQQDEy1NaWNyb3NvZnQgRUNDIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIw +MTcwHhcNMTkxMjE4MjMwNjQ1WhcNNDIwNzE4MjMxNjA0WjBlMQswCQYDVQQGEwJV +UzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1NaWNy +b3NvZnQgRUNDIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwdjAQBgcq +hkjOPQIBBgUrgQQAIgNiAATUvD0CQnVBEyPNgASGAlEvaqiBYgtlzPbKnR5vSmZR +ogPZnZH6thaxjG7efM3beaYvzrvOcS/lpaso7GMEZpn4+vKTEAXhgShC48Zo9OYb +hGBKia/teQ87zvH2RPUBeMCjVDBSMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8E +BTADAQH/MB0GA1UdDgQWBBTIy5lycFIM+Oa+sgRXKSrPQhDtNTAQBgkrBgEEAYI3 +FQEEAwIBADAKBggqhkjOPQQDAwNoADBlAjBY8k3qDPlfXu5gKcs68tvWMoQZP3zV +L8KxzJOuULsJMsbG7X7JNpQS5GiFBqIb0C8CMQCZ6Ra0DvpWSNSkMBaReNtUjGUB +iudQZsIxtzm6uBoiB078a1QWIP8rtedMDE2mT3M= +-----END CERTIFICATE----- + +# Issuer: CN=Microsoft RSA Root Certificate Authority 2017 O=Microsoft Corporation +# Subject: CN=Microsoft RSA Root Certificate Authority 2017 O=Microsoft Corporation +# Label: "Microsoft RSA Root Certificate Authority 2017" +# Serial: 40975477897264996090493496164228220339 +# MD5 Fingerprint: 10:ff:00:ff:cf:c9:f8:c7:7a:c0:ee:35:8e:c9:0f:47 +# SHA1 Fingerprint: 73:a5:e6:4a:3b:ff:83:16:ff:0e:dc:cc:61:8a:90:6e:4e:ae:4d:74 +# SHA256 Fingerprint: c7:41:f7:0f:4b:2a:8d:88:bf:2e:71:c1:41:22:ef:53:ef:10:eb:a0:cf:a5:e6:4c:fa:20:f4:18:85:30:73:e0 +-----BEGIN CERTIFICATE----- +MIIFqDCCA5CgAwIBAgIQHtOXCV/YtLNHcB6qvn9FszANBgkqhkiG9w0BAQwFADBl +MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYw +NAYDVQQDEy1NaWNyb3NvZnQgUlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5 +IDIwMTcwHhcNMTkxMjE4MjI1MTIyWhcNNDIwNzE4MjMwMDIzWjBlMQswCQYDVQQG +EwJVUzEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTYwNAYDVQQDEy1N +aWNyb3NvZnQgUlNBIFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTcwggIi +MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKW76UM4wplZEWCpW9R2LBifOZ +Nt9GkMml7Xhqb0eRaPgnZ1AzHaGm++DlQ6OEAlcBXZxIQIJTELy/xztokLaCLeX0 +ZdDMbRnMlfl7rEqUrQ7eS0MdhweSE5CAg2Q1OQT85elss7YfUJQ4ZVBcF0a5toW1 +HLUX6NZFndiyJrDKxHBKrmCk3bPZ7Pw71VdyvD/IybLeS2v4I2wDwAW9lcfNcztm +gGTjGqwu+UcF8ga2m3P1eDNbx6H7JyqhtJqRjJHTOoI+dkC0zVJhUXAoP8XFWvLJ +jEm7FFtNyP9nTUwSlq31/niol4fX/V4ggNyhSyL71Imtus5Hl0dVe49FyGcohJUc +aDDv70ngNXtk55iwlNpNhTs+VcQor1fznhPbRiefHqJeRIOkpcrVE7NLP8TjwuaG +YaRSMLl6IE9vDzhTyzMMEyuP1pq9KsgtsRx9S1HKR9FIJ3Jdh+vVReZIZZ2vUpC6 +W6IYZVcSn2i51BVrlMRpIpj0M+Dt+VGOQVDJNE92kKz8OMHY4Xu54+OU4UZpyw4K +UGsTuqwPN1q3ErWQgR5WrlcihtnJ0tHXUeOrO8ZV/R4O03QK0dqq6mm4lyiPSMQH ++FJDOvTKVTUssKZqwJz58oHhEmrARdlns87/I6KJClTUFLkqqNfs+avNJVgyeY+Q +W5g5xAgGwax/Dj0ApQIDAQABo1QwUjAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/ +BAUwAwEB/zAdBgNVHQ4EFgQUCctZf4aycI8awznjwNnpv7tNsiMwEAYJKwYBBAGC +NxUBBAMCAQAwDQYJKoZIhvcNAQEMBQADggIBAKyvPl3CEZaJjqPnktaXFbgToqZC +LgLNFgVZJ8og6Lq46BrsTaiXVq5lQ7GPAJtSzVXNUzltYkyLDVt8LkS/gxCP81OC +gMNPOsduET/m4xaRhPtthH80dK2Jp86519efhGSSvpWhrQlTM93uCupKUY5vVau6 +tZRGrox/2KJQJWVggEbbMwSubLWYdFQl3JPk+ONVFT24bcMKpBLBaYVu32TxU5nh +SnUgnZUP5NbcA/FZGOhHibJXWpS2qdgXKxdJ5XbLwVaZOjex/2kskZGT4d9Mozd2 +TaGf+G0eHdP67Pv0RR0Tbc/3WeUiJ3IrhvNXuzDtJE3cfVa7o7P4NHmJweDyAmH3 +pvwPuxwXC65B2Xy9J6P9LjrRk5Sxcx0ki69bIImtt2dmefU6xqaWM/5TkshGsRGR +xpl/j8nWZjEgQRCHLQzWwa80mMpkg/sTV9HB8Dx6jKXB/ZUhoHHBk2dxEuqPiApp +GWSZI1b7rCoucL5mxAyE7+WL85MB+GqQk2dLsmijtWKP6T+MejteD+eMuMZ87zf9 +dOLITzNy4ZQ5bb0Sr74MTnB8G2+NszKTc0QWbej09+CVgI+WXTik9KveCjCHk9hN +AHFiRSdLOkKEW39lt2c0Ui2cFmuqqNh7o0JMcccMyj6D5KbvtwEwXlGjefVwaaZB +RA+GsCyRxj3qrg+E +-----END CERTIFICATE----- + +# Issuer: CN=e-Szigno Root CA 2017 O=Microsec Ltd. +# Subject: CN=e-Szigno Root CA 2017 O=Microsec Ltd. +# Label: "e-Szigno Root CA 2017" +# Serial: 411379200276854331539784714 +# MD5 Fingerprint: de:1f:f6:9e:84:ae:a7:b4:21:ce:1e:58:7d:d1:84:98 +# SHA1 Fingerprint: 89:d4:83:03:4f:9e:9a:48:80:5f:72:37:d4:a9:a6:ef:cb:7c:1f:d1 +# SHA256 Fingerprint: be:b0:0b:30:83:9b:9b:c3:2c:32:e4:44:79:05:95:06:41:f2:64:21:b1:5e:d0:89:19:8b:51:8a:e2:ea:1b:99 +-----BEGIN CERTIFICATE----- +MIICQDCCAeWgAwIBAgIMAVRI7yH9l1kN9QQKMAoGCCqGSM49BAMCMHExCzAJBgNV +BAYTAkhVMREwDwYDVQQHDAhCdWRhcGVzdDEWMBQGA1UECgwNTWljcm9zZWMgTHRk +LjEXMBUGA1UEYQwOVkFUSFUtMjM1ODQ0OTcxHjAcBgNVBAMMFWUtU3ppZ25vIFJv +b3QgQ0EgMjAxNzAeFw0xNzA4MjIxMjA3MDZaFw00MjA4MjIxMjA3MDZaMHExCzAJ +BgNVBAYTAkhVMREwDwYDVQQHDAhCdWRhcGVzdDEWMBQGA1UECgwNTWljcm9zZWMg +THRkLjEXMBUGA1UEYQwOVkFUSFUtMjM1ODQ0OTcxHjAcBgNVBAMMFWUtU3ppZ25v +IFJvb3QgQ0EgMjAxNzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJbcPYrYsHtv +xie+RJCxs1YVe45DJH0ahFnuY2iyxl6H0BVIHqiQrb1TotreOpCmYF9oMrWGQd+H +Wyx7xf58etqjYzBhMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0G +A1UdDgQWBBSHERUI0arBeAyxr87GyZDvvzAEwDAfBgNVHSMEGDAWgBSHERUI0arB +eAyxr87GyZDvvzAEwDAKBggqhkjOPQQDAgNJADBGAiEAtVfd14pVCzbhhkT61Nlo +jbjcI4qKDdQvfepz7L9NbKgCIQDLpbQS+ue16M9+k/zzNY9vTlp8tLxOsvxyqltZ ++efcMQ== +-----END CERTIFICATE----- + +# Issuer: O=CERTSIGN SA OU=certSIGN ROOT CA G2 +# Subject: O=CERTSIGN SA OU=certSIGN ROOT CA G2 +# Label: "certSIGN Root CA G2" +# Serial: 313609486401300475190 +# MD5 Fingerprint: 8c:f1:75:8a:c6:19:cf:94:b7:f7:65:20:87:c3:97:c7 +# SHA1 Fingerprint: 26:f9:93:b4:ed:3d:28:27:b0:b9:4b:a7:e9:15:1d:a3:8d:92:e5:32 +# SHA256 Fingerprint: 65:7c:fe:2f:a7:3f:aa:38:46:25:71:f3:32:a2:36:3a:46:fc:e7:02:09:51:71:07:02:cd:fb:b6:ee:da:33:05 +-----BEGIN CERTIFICATE----- +MIIFRzCCAy+gAwIBAgIJEQA0tk7GNi02MA0GCSqGSIb3DQEBCwUAMEExCzAJBgNV +BAYTAlJPMRQwEgYDVQQKEwtDRVJUU0lHTiBTQTEcMBoGA1UECxMTY2VydFNJR04g +Uk9PVCBDQSBHMjAeFw0xNzAyMDYwOTI3MzVaFw00MjAyMDYwOTI3MzVaMEExCzAJ +BgNVBAYTAlJPMRQwEgYDVQQKEwtDRVJUU0lHTiBTQTEcMBoGA1UECxMTY2VydFNJ +R04gUk9PVCBDQSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMDF +dRmRfUR0dIf+DjuW3NgBFszuY5HnC2/OOwppGnzC46+CjobXXo9X69MhWf05N0Iw +vlDqtg+piNguLWkh59E3GE59kdUWX2tbAMI5Qw02hVK5U2UPHULlj88F0+7cDBrZ +uIt4ImfkabBoxTzkbFpG583H+u/E7Eu9aqSs/cwoUe+StCmrqzWaTOTECMYmzPhp +n+Sc8CnTXPnGFiWeI8MgwT0PPzhAsP6CRDiqWhqKa2NYOLQV07YRaXseVO6MGiKs +cpc/I1mbySKEwQdPzH/iV8oScLumZfNpdWO9lfsbl83kqK/20U6o2YpxJM02PbyW +xPFsqa7lzw1uKA2wDrXKUXt4FMMgL3/7FFXhEZn91QqhngLjYl/rNUssuHLoPj1P +rCy7Lobio3aP5ZMqz6WryFyNSwb/EkaseMsUBzXgqd+L6a8VTxaJW732jcZZroiF +DsGJ6x9nxUWO/203Nit4ZoORUSs9/1F3dmKh7Gc+PoGD4FapUB8fepmrY7+EF3fx +DTvf95xhszWYijqy7DwaNz9+j5LP2RIUZNoQAhVB/0/E6xyjyfqZ90bp4RjZsbgy +LcsUDFDYg2WD7rlcz8sFWkz6GZdr1l0T08JcVLwyc6B49fFtHsufpaafItzRUZ6C +eWRgKRM+o/1Pcmqr4tTluCRVLERLiohEnMqE0yo7AgMBAAGjQjBAMA8GA1UdEwEB +/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSCIS1mxteg4BXrzkwJ +d8RgnlRuAzANBgkqhkiG9w0BAQsFAAOCAgEAYN4auOfyYILVAzOBywaK8SJJ6ejq +kX/GM15oGQOGO0MBzwdw5AgeZYWR5hEit/UCI46uuR59H35s5r0l1ZUa8gWmr4UC +b6741jH/JclKyMeKqdmfS0mbEVeZkkMR3rYzpMzXjWR91M08KCy0mpbqTfXERMQl +qiCA2ClV9+BB/AYm/7k29UMUA2Z44RGx2iBfRgB4ACGlHgAoYXhvqAEBj500mv/0 +OJD7uNGzcgbJceaBxXntC6Z58hMLnPddDnskk7RI24Zf3lCGeOdA5jGokHZwYa+c +NywRtYK3qq4kNFtyDGkNzVmf9nGvnAvRCjj5BiKDUyUM/FHE5r7iOZULJK2v0ZXk +ltd0ZGtxTgI8qoXzIKNDOXZbbFD+mpwUHmUUihW9o4JFWklWatKcsWMy5WHgUyIO +pwpJ6st+H6jiYoD2EEVSmAYY3qXNL3+q1Ok+CHLsIwMCPKaq2LxndD0UF/tUSxfj +03k9bWtJySgOLnRQvwzZRjoQhsmnP+mg7H/rpXdYaXHmgwo38oZJar55CJD2AhZk +PuXaTH4MNMn5X7azKFGnpyuqSfqNZSlO42sTp5SjLVFteAxEy9/eCG/Oo2Sr05WE +1LlSVHJ7liXMvGnjSG4N0MedJ5qq+BOS3R7fY581qRY27Iy4g/Q9iY/NtBde17MX +QRBdJ3NghVdJIgc= +-----END CERTIFICATE----- + +# Issuer: CN=Trustwave Global Certification Authority O=Trustwave Holdings, Inc. +# Subject: CN=Trustwave Global Certification Authority O=Trustwave Holdings, Inc. +# Label: "Trustwave Global Certification Authority" +# Serial: 1846098327275375458322922162 +# MD5 Fingerprint: f8:1c:18:2d:2f:ba:5f:6d:a1:6c:bc:c7:ab:91:c7:0e +# SHA1 Fingerprint: 2f:8f:36:4f:e1:58:97:44:21:59:87:a5:2a:9a:d0:69:95:26:7f:b5 +# SHA256 Fingerprint: 97:55:20:15:f5:dd:fc:3c:87:88:c0:06:94:45:55:40:88:94:45:00:84:f1:00:86:70:86:bc:1a:2b:b5:8d:c8 +-----BEGIN CERTIFICATE----- +MIIF2jCCA8KgAwIBAgIMBfcOhtpJ80Y1LrqyMA0GCSqGSIb3DQEBCwUAMIGIMQsw +CQYDVQQGEwJVUzERMA8GA1UECAwISWxsaW5vaXMxEDAOBgNVBAcMB0NoaWNhZ28x +ITAfBgNVBAoMGFRydXN0d2F2ZSBIb2xkaW5ncywgSW5jLjExMC8GA1UEAwwoVHJ1 +c3R3YXZlIEdsb2JhbCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0xNzA4MjMx +OTM0MTJaFw00MjA4MjMxOTM0MTJaMIGIMQswCQYDVQQGEwJVUzERMA8GA1UECAwI +SWxsaW5vaXMxEDAOBgNVBAcMB0NoaWNhZ28xITAfBgNVBAoMGFRydXN0d2F2ZSBI +b2xkaW5ncywgSW5jLjExMC8GA1UEAwwoVHJ1c3R3YXZlIEdsb2JhbCBDZXJ0aWZp +Y2F0aW9uIEF1dGhvcml0eTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIB +ALldUShLPDeS0YLOvR29zd24q88KPuFd5dyqCblXAj7mY2Hf8g+CY66j96xz0Xzn +swuvCAAJWX/NKSqIk4cXGIDtiLK0thAfLdZfVaITXdHG6wZWiYj+rDKd/VzDBcdu +7oaJuogDnXIhhpCujwOl3J+IKMujkkkP7NAP4m1ET4BqstTnoApTAbqOl5F2brz8 +1Ws25kCI1nsvXwXoLG0R8+eyvpJETNKXpP7ScoFDB5zpET71ixpZfR9oWN0EACyW +80OzfpgZdNmcc9kYvkHHNHnZ9GLCQ7mzJ7Aiy/k9UscwR7PJPrhq4ufogXBeQotP +JqX+OsIgbrv4Fo7NDKm0G2x2EOFYeUY+VM6AqFcJNykbmROPDMjWLBz7BegIlT1l +RtzuzWniTY+HKE40Cz7PFNm73bZQmq131BnW2hqIyE4bJ3XYsgjxroMwuREOzYfw +hI0Vcnyh78zyiGG69Gm7DIwLdVcEuE4qFC49DxweMqZiNu5m4iK4BUBjECLzMx10 +coos9TkpoNPnG4CELcU9402x/RpvumUHO1jsQkUm+9jaJXLE9gCxInm943xZYkqc +BW89zubWR2OZxiRvchLIrH+QtAuRcOi35hYQcRfO3gZPSEF9NUqjifLJS3tBEW1n +twiYTOURGa5CgNz7kAXU+FDKvuStx8KU1xad5hePrzb7AgMBAAGjQjBAMA8GA1Ud +EwEB/wQFMAMBAf8wHQYDVR0OBBYEFJngGWcNYtt2s9o9uFvo/ULSMQ6HMA4GA1Ud +DwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAmHNw4rDT7TnsTGDZqRKGFx6W +0OhUKDtkLSGm+J1WE2pIPU/HPinbbViDVD2HfSMF1OQc3Og4ZYbFdada2zUFvXfe +uyk3QAUHw5RSn8pk3fEbK9xGChACMf1KaA0HZJDmHvUqoai7PF35owgLEQzxPy0Q +lG/+4jSHg9bP5Rs1bdID4bANqKCqRieCNqcVtgimQlRXtpla4gt5kNdXElE1GYhB +aCXUNxeEFfsBctyV3lImIJgm4nb1J2/6ADtKYdkNy1GTKv0WBpanI5ojSP5RvbbE +sLFUzt5sQa0WZ37b/TjNuThOssFgy50X31ieemKyJo90lZvkWx3SD92YHJtZuSPT +MaCm/zjdzyBP6VhWOmfD0faZmZ26NraAL4hHT4a/RDqA5Dccprrql5gR0IRiR2Qe +qu5AvzSxnI9O4fKSTx+O856X3vOmeWqJcU9LJxdI/uz0UA9PSX3MReO9ekDFQdxh +VicGaeVyQYHTtgGJoC86cnn+OjC/QezHYj6RS8fZMXZC+fc8Y+wmjHMMfRod6qh8 +h6jCJ3zhM0EPz8/8AKAigJ5Kp28AsEFFtyLKaEjFQqKu3R3y4G5OBVixwJAWKqQ9 +EEC+j2Jjg6mcgn0tAumDMHzLJ8n9HmYAsC7TIS+OMxZsmO0QqAfWzJPP29FpHOTK +yeC2nOnOcXHebD8WpHk= +-----END CERTIFICATE----- + +# Issuer: CN=Trustwave Global ECC P256 Certification Authority O=Trustwave Holdings, Inc. +# Subject: CN=Trustwave Global ECC P256 Certification Authority O=Trustwave Holdings, Inc. +# Label: "Trustwave Global ECC P256 Certification Authority" +# Serial: 4151900041497450638097112925 +# MD5 Fingerprint: 5b:44:e3:8d:5d:36:86:26:e8:0d:05:d2:59:a7:83:54 +# SHA1 Fingerprint: b4:90:82:dd:45:0c:be:8b:5b:b1:66:d3:e2:a4:08:26:cd:ed:42:cf +# SHA256 Fingerprint: 94:5b:bc:82:5e:a5:54:f4:89:d1:fd:51:a7:3d:df:2e:a6:24:ac:70:19:a0:52:05:22:5c:22:a7:8c:cf:a8:b4 +-----BEGIN CERTIFICATE----- +MIICYDCCAgegAwIBAgIMDWpfCD8oXD5Rld9dMAoGCCqGSM49BAMCMIGRMQswCQYD +VQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAf +BgNVBAoTGFRydXN0d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3 +YXZlIEdsb2JhbCBFQ0MgUDI1NiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0x +NzA4MjMxOTM1MTBaFw00MjA4MjMxOTM1MTBaMIGRMQswCQYDVQQGEwJVUzERMA8G +A1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0 +d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBF +Q0MgUDI1NiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTBZMBMGByqGSM49AgEGCCqG +SM49AwEHA0IABH77bOYj43MyCMpg5lOcunSNGLB4kFKA3TjASh3RqMyTpJcGOMoN +FWLGjgEqZZ2q3zSRLoHB5DOSMcT9CTqmP62jQzBBMA8GA1UdEwEB/wQFMAMBAf8w +DwYDVR0PAQH/BAUDAwcGADAdBgNVHQ4EFgQUo0EGrJBt0UrrdaVKEJmzsaGLSvcw +CgYIKoZIzj0EAwIDRwAwRAIgB+ZU2g6gWrKuEZ+Hxbb/ad4lvvigtwjzRM4q3wgh +DDcCIC0mA6AFvWvR9lz4ZcyGbbOcNEhjhAnFjXca4syc4XR7 +-----END CERTIFICATE----- + +# Issuer: CN=Trustwave Global ECC P384 Certification Authority O=Trustwave Holdings, Inc. +# Subject: CN=Trustwave Global ECC P384 Certification Authority O=Trustwave Holdings, Inc. +# Label: "Trustwave Global ECC P384 Certification Authority" +# Serial: 2704997926503831671788816187 +# MD5 Fingerprint: ea:cf:60:c4:3b:b9:15:29:40:a1:97:ed:78:27:93:d6 +# SHA1 Fingerprint: e7:f3:a3:c8:cf:6f:c3:04:2e:6d:0e:67:32:c5:9e:68:95:0d:5e:d2 +# SHA256 Fingerprint: 55:90:38:59:c8:c0:c3:eb:b8:75:9e:ce:4e:25:57:22:5f:f5:75:8b:bd:38:eb:d4:82:76:60:1e:1b:d5:80:97 +-----BEGIN CERTIFICATE----- +MIICnTCCAiSgAwIBAgIMCL2Fl2yZJ6SAaEc7MAoGCCqGSM49BAMDMIGRMQswCQYD +VQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAf +BgNVBAoTGFRydXN0d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3 +YXZlIEdsb2JhbCBFQ0MgUDM4NCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0x +NzA4MjMxOTM2NDNaFw00MjA4MjMxOTM2NDNaMIGRMQswCQYDVQQGEwJVUzERMA8G +A1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0 +d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBF +Q0MgUDM4NCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTB2MBAGByqGSM49AgEGBSuB +BAAiA2IABGvaDXU1CDFHBa5FmVXxERMuSvgQMSOjfoPTfygIOiYaOs+Xgh+AtycJ +j9GOMMQKmw6sWASr9zZ9lCOkmwqKi6vr/TklZvFe/oyujUF5nQlgziip04pt89ZF +1PKYhDhloKNDMEEwDwYDVR0TAQH/BAUwAwEB/zAPBgNVHQ8BAf8EBQMDBwYAMB0G +A1UdDgQWBBRVqYSJ0sEyvRjLbKYHTsjnnb6CkDAKBggqhkjOPQQDAwNnADBkAjA3 +AZKXRRJ+oPM+rRk6ct30UJMDEr5E0k9BpIycnR+j9sKS50gU/k6bpZFXrsY3crsC +MGclCrEMXu6pY5Jv5ZAL/mYiykf9ijH3g/56vxC+GCsej/YpHpRZ744hN8tRmKVu +Sw== +-----END CERTIFICATE----- + +# Issuer: CN=NAVER Global Root Certification Authority O=NAVER BUSINESS PLATFORM Corp. +# Subject: CN=NAVER Global Root Certification Authority O=NAVER BUSINESS PLATFORM Corp. +# Label: "NAVER Global Root Certification Authority" +# Serial: 9013692873798656336226253319739695165984492813 +# MD5 Fingerprint: c8:7e:41:f6:25:3b:f5:09:b3:17:e8:46:3d:bf:d0:9b +# SHA1 Fingerprint: 8f:6b:f2:a9:27:4a:da:14:a0:c4:f4:8e:61:27:f9:c0:1e:78:5d:d1 +# SHA256 Fingerprint: 88:f4:38:dc:f8:ff:d1:fa:8f:42:91:15:ff:e5:f8:2a:e1:e0:6e:0c:70:c3:75:fa:ad:71:7b:34:a4:9e:72:65 +-----BEGIN CERTIFICATE----- +MIIFojCCA4qgAwIBAgIUAZQwHqIL3fXFMyqxQ0Rx+NZQTQ0wDQYJKoZIhvcNAQEM +BQAwaTELMAkGA1UEBhMCS1IxJjAkBgNVBAoMHU5BVkVSIEJVU0lORVNTIFBMQVRG +T1JNIENvcnAuMTIwMAYDVQQDDClOQVZFUiBHbG9iYWwgUm9vdCBDZXJ0aWZpY2F0 +aW9uIEF1dGhvcml0eTAeFw0xNzA4MTgwODU4NDJaFw0zNzA4MTgyMzU5NTlaMGkx +CzAJBgNVBAYTAktSMSYwJAYDVQQKDB1OQVZFUiBCVVNJTkVTUyBQTEFURk9STSBD +b3JwLjEyMDAGA1UEAwwpTkFWRVIgR2xvYmFsIFJvb3QgQ2VydGlmaWNhdGlvbiBB +dXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC21PGTXLVA +iQqrDZBbUGOukJR0F0Vy1ntlWilLp1agS7gvQnXp2XskWjFlqxcX0TM62RHcQDaH +38dq6SZeWYp34+hInDEW+j6RscrJo+KfziFTowI2MMtSAuXaMl3Dxeb57hHHi8lE +HoSTGEq0n+USZGnQJoViAbbJAh2+g1G7XNr4rRVqmfeSVPc0W+m/6imBEtRTkZaz +kVrd/pBzKPswRrXKCAfHcXLJZtM0l/aM9BhK4dA9WkW2aacp+yPOiNgSnABIqKYP +szuSjXEOdMWLyEz59JuOuDxp7W87UC9Y7cSw0BwbagzivESq2M0UXZR4Yb8Obtoq +vC8MC3GmsxY/nOb5zJ9TNeIDoKAYv7vxvvTWjIcNQvcGufFt7QSUqP620wbGQGHf +nZ3zVHbOUzoBppJB7ASjjw2i1QnK1sua8e9DXcCrpUHPXFNwcMmIpi3Ua2FzUCaG +YQ5fG8Ir4ozVu53BA0K6lNpfqbDKzE0K70dpAy8i+/Eozr9dUGWokG2zdLAIx6yo +0es+nPxdGoMuK8u180SdOqcXYZaicdNwlhVNt0xz7hlcxVs+Qf6sdWA7G2POAN3a +CJBitOUt7kinaxeZVL6HSuOpXgRM6xBtVNbv8ejyYhbLgGvtPe31HzClrkvJE+2K +AQHJuFFYwGY6sWZLxNUxAmLpdIQM201GLQIDAQABo0IwQDAdBgNVHQ4EFgQU0p+I +36HNLL3s9TsBAZMzJ7LrYEswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMB +Af8wDQYJKoZIhvcNAQEMBQADggIBADLKgLOdPVQG3dLSLvCkASELZ0jKbY7gyKoN +qo0hV4/GPnrK21HUUrPUloSlWGB/5QuOH/XcChWB5Tu2tyIvCZwTFrFsDDUIbatj +cu3cvuzHV+YwIHHW1xDBE1UBjCpD5EHxzzp6U5LOogMFDTjfArsQLtk70pt6wKGm ++LUx5vR1yblTmXVHIloUFcd4G7ad6Qz4G3bxhYTeodoS76TiEJd6eN4MUZeoIUCL +hr0N8F5OSza7OyAfikJW4Qsav3vQIkMsRIz75Sq0bBwcupTgE34h5prCy8VCZLQe +lHsIJchxzIdFV4XTnyliIoNRlwAYl3dqmJLJfGBs32x9SuRwTMKeuB330DTHD8z7 +p/8Dvq1wkNoL3chtl1+afwkyQf3NosxabUzyqkn+Zvjp2DXrDige7kgvOtB5CTh8 +piKCk5XQA76+AqAF3SAi428diDRgxuYKuQl1C/AH6GmWNcf7I4GOODm4RStDeKLR +LBT/DShycpWbXgnbiUSYqqFJu3FS8r/2/yehNq+4tneI3TqkbZs0kNwUXTC/t+sX +5Ie3cdCh13cV1ELX8vMxmV2b3RZtP+oGI/hGoiLtk/bdmuYqh7GYVPEi92tF4+KO +dh2ajcQGjTa3FPOdVGm3jjzVpG2Tgbet9r1ke8LJaDmgkpzNNIaRkPpkUZ3+/uul +9XXeifdy +-----END CERTIFICATE----- + +# Issuer: CN=AC RAIZ FNMT-RCM SERVIDORES SEGUROS O=FNMT-RCM OU=Ceres +# Subject: CN=AC RAIZ FNMT-RCM SERVIDORES SEGUROS O=FNMT-RCM OU=Ceres +# Label: "AC RAIZ FNMT-RCM SERVIDORES SEGUROS" +# Serial: 131542671362353147877283741781055151509 +# MD5 Fingerprint: 19:36:9c:52:03:2f:d2:d1:bb:23:cc:dd:1e:12:55:bb +# SHA1 Fingerprint: 62:ff:d9:9e:c0:65:0d:03:ce:75:93:d2:ed:3f:2d:32:c9:e3:e5:4a +# SHA256 Fingerprint: 55:41:53:b1:3d:2c:f9:dd:b7:53:bf:be:1a:4e:0a:e0:8d:0a:a4:18:70:58:fe:60:a2:b8:62:b2:e4:b8:7b:cb +-----BEGIN CERTIFICATE----- +MIICbjCCAfOgAwIBAgIQYvYybOXE42hcG2LdnC6dlTAKBggqhkjOPQQDAzB4MQsw +CQYDVQQGEwJFUzERMA8GA1UECgwIRk5NVC1SQ00xDjAMBgNVBAsMBUNlcmVzMRgw +FgYDVQRhDA9WQVRFUy1RMjgyNjAwNEoxLDAqBgNVBAMMI0FDIFJBSVogRk5NVC1S +Q00gU0VSVklET1JFUyBTRUdVUk9TMB4XDTE4MTIyMDA5MzczM1oXDTQzMTIyMDA5 +MzczM1oweDELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQtUkNNMQ4wDAYDVQQL +DAVDZXJlczEYMBYGA1UEYQwPVkFURVMtUTI4MjYwMDRKMSwwKgYDVQQDDCNBQyBS +QUlaIEZOTVQtUkNNIFNFUlZJRE9SRVMgU0VHVVJPUzB2MBAGByqGSM49AgEGBSuB +BAAiA2IABPa6V1PIyqvfNkpSIeSX0oNnnvBlUdBeh8dHsVnyV0ebAAKTRBdp20LH +sbI6GA60XYyzZl2hNPk2LEnb80b8s0RpRBNm/dfF/a82Tc4DTQdxz69qBdKiQ1oK +Um8BA06Oi6NCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYD +VR0OBBYEFAG5L++/EYZg8k/QQW6rcx/n0m5JMAoGCCqGSM49BAMDA2kAMGYCMQCu +SuMrQMN0EfKVrRYj3k4MGuZdpSRea0R7/DjiT8ucRRcRTBQnJlU5dUoDzBOQn5IC +MQD6SmxgiHPz7riYYqnOK8LZiqZwMR2vsJRM60/G49HzYqc8/5MuB1xJAWdpEgJy +v+c= +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign Root R46 O=GlobalSign nv-sa +# Subject: CN=GlobalSign Root R46 O=GlobalSign nv-sa +# Label: "GlobalSign Root R46" +# Serial: 1552617688466950547958867513931858518042577 +# MD5 Fingerprint: c4:14:30:e4:fa:66:43:94:2a:6a:1b:24:5f:19:d0:ef +# SHA1 Fingerprint: 53:a2:b0:4b:ca:6b:d6:45:e6:39:8a:8e:c4:0d:d2:bf:77:c3:a2:90 +# SHA256 Fingerprint: 4f:a3:12:6d:8d:3a:11:d1:c4:85:5a:4f:80:7c:ba:d6:cf:91:9d:3a:5a:88:b0:3b:ea:2c:63:72:d9:3c:40:c9 +-----BEGIN CERTIFICATE----- +MIIFWjCCA0KgAwIBAgISEdK7udcjGJ5AXwqdLdDfJWfRMA0GCSqGSIb3DQEBDAUA +MEYxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYD +VQQDExNHbG9iYWxTaWduIFJvb3QgUjQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMy +MDAwMDAwMFowRjELMAkGA1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYt +c2ExHDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBSNDYwggIiMA0GCSqGSIb3DQEB +AQUAA4ICDwAwggIKAoICAQCsrHQy6LNl5brtQyYdpokNRbopiLKkHWPd08EsCVeJ +OaFV6Wc0dwxu5FUdUiXSE2te4R2pt32JMl8Nnp8semNgQB+msLZ4j5lUlghYruQG +vGIFAha/r6gjA7aUD7xubMLL1aa7DOn2wQL7Id5m3RerdELv8HQvJfTqa1VbkNud +316HCkD7rRlr+/fKYIje2sGP1q7Vf9Q8g+7XFkyDRTNrJ9CG0Bwta/OrffGFqfUo +0q3v84RLHIf8E6M6cqJaESvWJ3En7YEtbWaBkoe0G1h6zD8K+kZPTXhc+CtI4wSE +y132tGqzZfxCnlEmIyDLPRT5ge1lFgBPGmSXZgjPjHvjK8Cd+RTyG/FWaha/LIWF +zXg4mutCagI0GIMXTpRW+LaCtfOW3T3zvn8gdz57GSNrLNRyc0NXfeD412lPFzYE ++cCQYDdF3uYM2HSNrpyibXRdQr4G9dlkbgIQrImwTDsHTUB+JMWKmIJ5jqSngiCN +I/onccnfxkF0oE32kRbcRoxfKWMxWXEM2G/CtjJ9++ZdU6Z+Ffy7dXxd7Pj2Fxzs +x2sZy/N78CsHpdlseVR2bJ0cpm4O6XkMqCNqo98bMDGfsVR7/mrLZqrcZdCinkqa +ByFrgY/bxFn63iLABJzjqls2k+g9vXqhnQt2sQvHnf3PmKgGwvgqo6GDoLclcqUC +4wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNV +HQ4EFgQUA1yrc4GHqMywptWU4jaWSf8FmSwwDQYJKoZIhvcNAQEMBQADggIBAHx4 +7PYCLLtbfpIrXTncvtgdokIzTfnvpCo7RGkerNlFo048p9gkUbJUHJNOxO97k4Vg +JuoJSOD1u8fpaNK7ajFxzHmuEajwmf3lH7wvqMxX63bEIaZHU1VNaL8FpO7XJqti +2kM3S+LGteWygxk6x9PbTZ4IevPuzz5i+6zoYMzRx6Fcg0XERczzF2sUyQQCPtIk +pnnpHs6i58FZFZ8d4kuaPp92CC1r2LpXFNqD6v6MVenQTqnMdzGxRBF6XLE+0xRF +FRhiJBPSy03OXIPBNvIQtQ6IbbjhVp+J3pZmOUdkLG5NrmJ7v2B0GbhWrJKsFjLt +rWhV/pi60zTe9Mlhww6G9kuEYO4Ne7UyWHmRVSyBQ7N0H3qqJZ4d16GLuc1CLgSk +ZoNNiTW2bKg2SnkheCLQQrzRQDGQob4Ez8pn7fXwgNNgyYMqIgXQBztSvwyeqiv5 +u+YfjyW6hY0XHgL+XVAEV8/+LbzvXMAaq7afJMbfc2hIkCwU9D9SGuTSyxTDYWnP +4vkYxboznxSjBF25cfe1lNj2M8FawTSLfJvdkzrnE6JwYZ+vj+vYxXX4M2bUdGc6 +N3ec592kD3ZDZopD8p/7DEJ4Y9HiD2971KE9dJeFt0g5QdYg/NA6s/rob8SKunE3 +vouXsXgxT7PntgMTzlSdriVZzH81Xwj3QEUxeCp6 +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign Root E46 O=GlobalSign nv-sa +# Subject: CN=GlobalSign Root E46 O=GlobalSign nv-sa +# Label: "GlobalSign Root E46" +# Serial: 1552617690338932563915843282459653771421763 +# MD5 Fingerprint: b5:b8:66:ed:de:08:83:e3:c9:e2:01:34:06:ac:51:6f +# SHA1 Fingerprint: 39:b4:6c:d5:fe:80:06:eb:e2:2f:4a:bb:08:33:a0:af:db:b9:dd:84 +# SHA256 Fingerprint: cb:b9:c4:4d:84:b8:04:3e:10:50:ea:31:a6:9f:51:49:55:d7:bf:d2:e2:c6:b4:93:01:01:9a:d6:1d:9f:50:58 +-----BEGIN CERTIFICATE----- +MIICCzCCAZGgAwIBAgISEdK7ujNu1LzmJGjFDYQdmOhDMAoGCCqGSM49BAMDMEYx +CzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMRwwGgYDVQQD +ExNHbG9iYWxTaWduIFJvb3QgRTQ2MB4XDTE5MDMyMDAwMDAwMFoXDTQ2MDMyMDAw +MDAwMFowRjELMAkGA1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2Ex +HDAaBgNVBAMTE0dsb2JhbFNpZ24gUm9vdCBFNDYwdjAQBgcqhkjOPQIBBgUrgQQA +IgNiAAScDrHPt+ieUnd1NPqlRqetMhkytAepJ8qUuwzSChDH2omwlwxwEwkBjtjq +R+q+soArzfwoDdusvKSGN+1wCAB16pMLey5SnCNoIwZD7JIvU4Tb+0cUB+hflGdd +yXqBPCCjQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1Ud +DgQWBBQxCpCPtsad0kRLgLWi5h+xEk8blTAKBggqhkjOPQQDAwNoADBlAjEA31SQ +7Zvvi5QCkxeCmb6zniz2C5GMn0oUsfZkvLtoURMMA/cVi4RguYv/Uo7njLwcAjA8 ++RHUjE7AwWHCFUyqqx0LMV87HOIAl0Qx5v5zli/altP+CAezNIm8BZ/3Hobui3A= +-----END CERTIFICATE----- + +# Issuer: CN=GLOBALTRUST 2020 O=e-commerce monitoring GmbH +# Subject: CN=GLOBALTRUST 2020 O=e-commerce monitoring GmbH +# Label: "GLOBALTRUST 2020" +# Serial: 109160994242082918454945253 +# MD5 Fingerprint: 8a:c7:6f:cb:6d:e3:cc:a2:f1:7c:83:fa:0e:78:d7:e8 +# SHA1 Fingerprint: d0:67:c1:13:51:01:0c:aa:d0:c7:6a:65:37:31:16:26:4f:53:71:a2 +# SHA256 Fingerprint: 9a:29:6a:51:82:d1:d4:51:a2:e3:7f:43:9b:74:da:af:a2:67:52:33:29:f9:0f:9a:0d:20:07:c3:34:e2:3c:9a +-----BEGIN CERTIFICATE----- +MIIFgjCCA2qgAwIBAgILWku9WvtPilv6ZeUwDQYJKoZIhvcNAQELBQAwTTELMAkG +A1UEBhMCQVQxIzAhBgNVBAoTGmUtY29tbWVyY2UgbW9uaXRvcmluZyBHbWJIMRkw +FwYDVQQDExBHTE9CQUxUUlVTVCAyMDIwMB4XDTIwMDIxMDAwMDAwMFoXDTQwMDYx +MDAwMDAwMFowTTELMAkGA1UEBhMCQVQxIzAhBgNVBAoTGmUtY29tbWVyY2UgbW9u +aXRvcmluZyBHbWJIMRkwFwYDVQQDExBHTE9CQUxUUlVTVCAyMDIwMIICIjANBgkq +hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAri5WrRsc7/aVj6B3GyvTY4+ETUWiD59b +RatZe1E0+eyLinjF3WuvvcTfk0Uev5E4C64OFudBc/jbu9G4UeDLgztzOG53ig9Z +YybNpyrOVPu44sB8R85gfD+yc/LAGbaKkoc1DZAoouQVBGM+uq/ufF7MpotQsjj3 +QWPKzv9pj2gOlTblzLmMCcpL3TGQlsjMH/1WljTbjhzqLL6FLmPdqqmV0/0plRPw +yJiT2S0WR5ARg6I6IqIoV6Lr/sCMKKCmfecqQjuCgGOlYx8ZzHyyZqjC0203b+J+ +BlHZRYQfEs4kUmSFC0iAToexIiIwquuuvuAC4EDosEKAA1GqtH6qRNdDYfOiaxaJ +SaSjpCuKAsR49GiKweR6NrFvG5Ybd0mN1MkGco/PU+PcF4UgStyYJ9ORJitHHmkH +r96i5OTUawuzXnzUJIBHKWk7buis/UDr2O1xcSvy6Fgd60GXIsUf1DnQJ4+H4xj0 +4KlGDfV0OoIu0G4skaMxXDtG6nsEEFZegB31pWXogvziB4xiRfUg3kZwhqG8k9Me +dKZssCz3AwyIDMvUclOGvGBG85hqwvG/Q/lwIHfKN0F5VVJjjVsSn8VoxIidrPIw +q7ejMZdnrY8XD2zHc+0klGvIg5rQmjdJBKuxFshsSUktq6HQjJLyQUp5ISXbY9e2 +nKd+Qmn7OmMCAwEAAaNjMGEwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC +AQYwHQYDVR0OBBYEFNwuH9FhN3nkq9XVsxJxaD1qaJwiMB8GA1UdIwQYMBaAFNwu +H9FhN3nkq9XVsxJxaD1qaJwiMA0GCSqGSIb3DQEBCwUAA4ICAQCR8EICaEDuw2jA +VC/f7GLDw56KoDEoqoOOpFaWEhCGVrqXctJUMHytGdUdaG/7FELYjQ7ztdGl4wJC +XtzoRlgHNQIw4Lx0SsFDKv/bGtCwr2zD/cuz9X9tAy5ZVp0tLTWMstZDFyySCstd +6IwPS3BD0IL/qMy/pJTAvoe9iuOTe8aPmxadJ2W8esVCgmxcB9CpwYhgROmYhRZf ++I/KARDOJcP5YBugxZfD0yyIMaK9MOzQ0MAS8cE54+X1+NZK3TTN+2/BT+MAi1bi +kvcoskJ3ciNnxz8RFbLEAwW+uxF7Cr+obuf/WEPPm2eggAe2HcqtbepBEX4tdJP7 +wry+UUTF72glJ4DjyKDUEuzZpTcdN3y0kcra1LGWge9oXHYQSa9+pTeAsRxSvTOB +TI/53WXZFM2KJVj04sWDpQmQ1GwUY7VA3+vA/MRYfg0UFodUJ25W5HCEuGwyEn6C +MUO+1918oa2u1qsgEu8KwxCMSZY13At1XrFP1U80DhEgB3VDRemjEdqso5nCtnkn +4rnvyOL2NSl6dPrFf4IFYqYK6miyeUcGbvJXqBUzxvd4Sj1Ce2t+/vdG6tHrju+I +aFvowdlxfv1k7/9nR4hYJS8+hge9+6jlgqispdNpQ80xiEmEU5LAsTkbOYMBMMTy +qfrQA71yN2BWHzZ8vTmR9W0Nv3vXkg== +-----END CERTIFICATE----- + +# Issuer: CN=ANF Secure Server Root CA O=ANF Autoridad de Certificacion OU=ANF CA Raiz +# Subject: CN=ANF Secure Server Root CA O=ANF Autoridad de Certificacion OU=ANF CA Raiz +# Label: "ANF Secure Server Root CA" +# Serial: 996390341000653745 +# MD5 Fingerprint: 26:a6:44:5a:d9:af:4e:2f:b2:1d:b6:65:b0:4e:e8:96 +# SHA1 Fingerprint: 5b:6e:68:d0:cc:15:b6:a0:5f:1e:c1:5f:ae:02:fc:6b:2f:5d:6f:74 +# SHA256 Fingerprint: fb:8f:ec:75:91:69:b9:10:6b:1e:51:16:44:c6:18:c5:13:04:37:3f:6c:06:43:08:8d:8b:ef:fd:1b:99:75:99 +-----BEGIN CERTIFICATE----- +MIIF7zCCA9egAwIBAgIIDdPjvGz5a7EwDQYJKoZIhvcNAQELBQAwgYQxEjAQBgNV +BAUTCUc2MzI4NzUxMDELMAkGA1UEBhMCRVMxJzAlBgNVBAoTHkFORiBBdXRvcmlk +YWQgZGUgQ2VydGlmaWNhY2lvbjEUMBIGA1UECxMLQU5GIENBIFJhaXoxIjAgBgNV +BAMTGUFORiBTZWN1cmUgU2VydmVyIFJvb3QgQ0EwHhcNMTkwOTA0MTAwMDM4WhcN +MzkwODMwMTAwMDM4WjCBhDESMBAGA1UEBRMJRzYzMjg3NTEwMQswCQYDVQQGEwJF +UzEnMCUGA1UEChMeQU5GIEF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uMRQwEgYD +VQQLEwtBTkYgQ0EgUmFpejEiMCAGA1UEAxMZQU5GIFNlY3VyZSBTZXJ2ZXIgUm9v +dCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANvrayvmZFSVgpCj +cqQZAZ2cC4Ffc0m6p6zzBE57lgvsEeBbphzOG9INgxwruJ4dfkUyYA8H6XdYfp9q +yGFOtibBTI3/TO80sh9l2Ll49a2pcbnvT1gdpd50IJeh7WhM3pIXS7yr/2WanvtH +2Vdy8wmhrnZEE26cLUQ5vPnHO6RYPUG9tMJJo8gN0pcvB2VSAKduyK9o7PQUlrZX +H1bDOZ8rbeTzPvY1ZNoMHKGESy9LS+IsJJ1tk0DrtSOOMspvRdOoiXsezx76W0OL +zc2oD2rKDF65nkeP8Nm2CgtYZRczuSPkdxl9y0oukntPLxB3sY0vaJxizOBQ+OyR +p1RMVwnVdmPF6GUe7m1qzwmd+nxPrWAI/VaZDxUse6mAq4xhj0oHdkLePfTdsiQz +W7i1o0TJrH93PB0j7IKppuLIBkwC/qxcmZkLLxCKpvR/1Yd0DVlJRfbwcVw5Kda/ +SiOL9V8BY9KHcyi1Swr1+KuCLH5zJTIdC2MKF4EA/7Z2Xue0sUDKIbvVgFHlSFJn +LNJhiQcND85Cd8BEc5xEUKDbEAotlRyBr+Qc5RQe8TZBAQIvfXOn3kLMTOmJDVb3 +n5HUA8ZsyY/b2BzgQJhdZpmYgG4t/wHFzstGH6wCxkPmrqKEPMVOHj1tyRRM4y5B +u8o5vzY8KhmqQYdOpc5LMnndkEl/AgMBAAGjYzBhMB8GA1UdIwQYMBaAFJxf0Gxj +o1+TypOYCK2Mh6UsXME3MB0GA1UdDgQWBBScX9BsY6Nfk8qTmAitjIelLFzBNzAO +BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOC +AgEATh65isagmD9uw2nAalxJUqzLK114OMHVVISfk/CHGT0sZonrDUL8zPB1hT+L +9IBdeeUXZ701guLyPI59WzbLWoAAKfLOKyzxj6ptBZNscsdW699QIyjlRRA96Gej +rw5VD5AJYu9LWaL2U/HANeQvwSS9eS9OICI7/RogsKQOLHDtdD+4E5UGUcjohybK +pFtqFiGS3XNgnhAY3jyB6ugYw3yJ8otQPr0R4hUDqDZ9MwFsSBXXiJCZBMXM5gf0 +vPSQ7RPi6ovDj6MzD8EpTBNO2hVWcXNyglD2mjN8orGoGjR0ZVzO0eurU+AagNjq +OknkJjCb5RyKqKkVMoaZkgoQI1YS4PbOTOK7vtuNknMBZi9iPrJyJ0U27U1W45eZ +/zo1PqVUSlJZS2Db7v54EX9K3BR5YLZrZAPbFYPhor72I5dQ8AkzNqdxliXzuUJ9 +2zg/LFis6ELhDtjTO0wugumDLmsx2d1Hhk9tl5EuT+IocTUW0fJz/iUrB0ckYyfI ++PbZa/wSMVYIwFNCr5zQM378BvAxRAMU8Vjq8moNqRGyg77FGr8H6lnco4g175x2 +MjxNBiLOFeXdntiP2t7SxDnlF4HPOEfrf4htWRvfn0IUrn7PqLBmZdo3r5+qPeoo +tt7VMVgWglvquxl1AnMaykgaIZOQCo6ThKd9OyMYkomgjaw= +-----END CERTIFICATE----- + +# Issuer: CN=Certum EC-384 CA O=Asseco Data Systems S.A. OU=Certum Certification Authority +# Subject: CN=Certum EC-384 CA O=Asseco Data Systems S.A. OU=Certum Certification Authority +# Label: "Certum EC-384 CA" +# Serial: 160250656287871593594747141429395092468 +# MD5 Fingerprint: b6:65:b3:96:60:97:12:a1:ec:4e:e1:3d:a3:c6:c9:f1 +# SHA1 Fingerprint: f3:3e:78:3c:ac:df:f4:a2:cc:ac:67:55:69:56:d7:e5:16:3c:e1:ed +# SHA256 Fingerprint: 6b:32:80:85:62:53:18:aa:50:d1:73:c9:8d:8b:da:09:d5:7e:27:41:3d:11:4c:f7:87:a0:f5:d0:6c:03:0c:f6 +-----BEGIN CERTIFICATE----- +MIICZTCCAeugAwIBAgIQeI8nXIESUiClBNAt3bpz9DAKBggqhkjOPQQDAzB0MQsw +CQYDVQQGEwJQTDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEuMScw +JQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxGTAXBgNVBAMT +EENlcnR1bSBFQy0zODQgQ0EwHhcNMTgwMzI2MDcyNDU0WhcNNDMwMzI2MDcyNDU0 +WjB0MQswCQYDVQQGEwJQTDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBT +LkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxGTAX +BgNVBAMTEENlcnR1bSBFQy0zODQgQ0EwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATE +KI6rGFtqvm5kN2PkzeyrOvfMobgOgknXhimfoZTy42B4mIF4Bk3y7JoOV2CDn7Tm +Fy8as10CW4kjPMIRBSqniBMY81CE1700LCeJVf/OTOffph8oxPBUw7l8t1Ot68Kj +QjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFI0GZnQkdjrzife81r1HfS+8 +EF9LMA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNoADBlAjADVS2m5hjEfO/J +UG7BJw+ch69u1RsIGL2SKcHvlJF40jocVYli5RsJHrpka/F2tNQCMQC0QoSZ/6vn +nvuRlydd3LBbMHHOXjgaatkl5+r3YZJW+OraNsKHZZYuciUvf9/DE8k= +-----END CERTIFICATE----- + +# Issuer: CN=Certum Trusted Root CA O=Asseco Data Systems S.A. OU=Certum Certification Authority +# Subject: CN=Certum Trusted Root CA O=Asseco Data Systems S.A. OU=Certum Certification Authority +# Label: "Certum Trusted Root CA" +# Serial: 40870380103424195783807378461123655149 +# MD5 Fingerprint: 51:e1:c2:e7:fe:4c:84:af:59:0e:2f:f4:54:6f:ea:29 +# SHA1 Fingerprint: c8:83:44:c0:18:ae:9f:cc:f1:87:b7:8f:22:d1:c5:d7:45:84:ba:e5 +# SHA256 Fingerprint: fe:76:96:57:38:55:77:3e:37:a9:5e:7a:d4:d9:cc:96:c3:01:57:c1:5d:31:76:5b:a9:b1:57:04:e1:ae:78:fd +-----BEGIN CERTIFICATE----- +MIIFwDCCA6igAwIBAgIQHr9ZULjJgDdMBvfrVU+17TANBgkqhkiG9w0BAQ0FADB6 +MQswCQYDVQQGEwJQTDEhMB8GA1UEChMYQXNzZWNvIERhdGEgU3lzdGVtcyBTLkEu +MScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxHzAdBgNV +BAMTFkNlcnR1bSBUcnVzdGVkIFJvb3QgQ0EwHhcNMTgwMzE2MTIxMDEzWhcNNDMw +MzE2MTIxMDEzWjB6MQswCQYDVQQGEwJQTDEhMB8GA1UEChMYQXNzZWNvIERhdGEg +U3lzdGVtcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRo +b3JpdHkxHzAdBgNVBAMTFkNlcnR1bSBUcnVzdGVkIFJvb3QgQ0EwggIiMA0GCSqG +SIb3DQEBAQUAA4ICDwAwggIKAoICAQDRLY67tzbqbTeRn06TpwXkKQMlzhyC93yZ +n0EGze2jusDbCSzBfN8pfktlL5On1AFrAygYo9idBcEq2EXxkd7fO9CAAozPOA/q +p1x4EaTByIVcJdPTsuclzxFUl6s1wB52HO8AU5853BSlLCIls3Jy/I2z5T4IHhQq +NwuIPMqw9MjCoa68wb4pZ1Xi/K1ZXP69VyywkI3C7Te2fJmItdUDmj0VDT06qKhF +8JVOJVkdzZhpu9PMMsmN74H+rX2Ju7pgE8pllWeg8xn2A1bUatMn4qGtg/BKEiJ3 +HAVz4hlxQsDsdUaakFjgao4rpUYwBI4Zshfjvqm6f1bxJAPXsiEodg42MEx51UGa +mqi4NboMOvJEGyCI98Ul1z3G4z5D3Yf+xOr1Uz5MZf87Sst4WmsXXw3Hw09Omiqi +7VdNIuJGmj8PkTQkfVXjjJU30xrwCSss0smNtA0Aq2cpKNgB9RkEth2+dv5yXMSF +ytKAQd8FqKPVhJBPC/PgP5sZ0jeJP/J7UhyM9uH3PAeXjA6iWYEMspA90+NZRu0P +qafegGtaqge2Gcu8V/OXIXoMsSt0Puvap2ctTMSYnjYJdmZm/Bo/6khUHL4wvYBQ +v3y1zgD2DGHZ5yQD4OMBgQ692IU0iL2yNqh7XAjlRICMb/gv1SHKHRzQ+8S1h9E6 +Tsd2tTVItQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSM+xx1 +vALTn04uSNn5YFSqxLNP+jAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQENBQAD +ggIBAEii1QALLtA/vBzVtVRJHlpr9OTy4EA34MwUe7nJ+jW1dReTagVphZzNTxl4 +WxmB82M+w85bj/UvXgF2Ez8sALnNllI5SW0ETsXpD4YN4fqzX4IS8TrOZgYkNCvo +zMrnadyHncI013nR03e4qllY/p0m+jiGPp2Kh2RX5Rc64vmNueMzeMGQ2Ljdt4NR +5MTMI9UGfOZR0800McD2RrsLrfw9EAUqO0qRJe6M1ISHgCq8CYyqOhNf6DR5UMEQ +GfnTKB7U0VEwKbOukGfWHwpjscWpxkIxYxeU72nLL/qMFH3EQxiJ2fAyQOaA4kZf +5ePBAFmo+eggvIksDkc0C+pXwlM2/KfUrzHN/gLldfq5Jwn58/U7yn2fqSLLiMmq +0Uc9NneoWWRrJ8/vJ8HjJLWG965+Mk2weWjROeiQWMODvA8s1pfrzgzhIMfatz7D +P78v3DSk+yshzWePS/Tj6tQ/50+6uaWTRRxmHyH6ZF5v4HaUMst19W7l9o/HuKTM +qJZ9ZPskWkoDbGs4xugDQ5r3V7mzKWmTOPQD8rv7gmsHINFSH5pkAnuYZttcTVoP +0ISVoDwUQwbKytu4QTbaakRnh6+v40URFWkIsr4WOZckbxJF0WddCajJFdr60qZf +E2Efv4WstK2tBZQIgx51F9NxO5NQI1mg7TyRVJ12AMXDuDjb +-----END CERTIFICATE----- + +# Issuer: CN=TunTrust Root CA O=Agence Nationale de Certification Electronique +# Subject: CN=TunTrust Root CA O=Agence Nationale de Certification Electronique +# Label: "TunTrust Root CA" +# Serial: 108534058042236574382096126452369648152337120275 +# MD5 Fingerprint: 85:13:b9:90:5b:36:5c:b6:5e:b8:5a:f8:e0:31:57:b4 +# SHA1 Fingerprint: cf:e9:70:84:0f:e0:73:0f:9d:f6:0c:7f:2c:4b:ee:20:46:34:9c:bb +# SHA256 Fingerprint: 2e:44:10:2a:b5:8c:b8:54:19:45:1c:8e:19:d9:ac:f3:66:2c:af:bc:61:4b:6a:53:96:0a:30:f7:d0:e2:eb:41 +-----BEGIN CERTIFICATE----- +MIIFszCCA5ugAwIBAgIUEwLV4kBMkkaGFmddtLu7sms+/BMwDQYJKoZIhvcNAQEL +BQAwYTELMAkGA1UEBhMCVE4xNzA1BgNVBAoMLkFnZW5jZSBOYXRpb25hbGUgZGUg +Q2VydGlmaWNhdGlvbiBFbGVjdHJvbmlxdWUxGTAXBgNVBAMMEFR1blRydXN0IFJv +b3QgQ0EwHhcNMTkwNDI2MDg1NzU2WhcNNDQwNDI2MDg1NzU2WjBhMQswCQYDVQQG +EwJUTjE3MDUGA1UECgwuQWdlbmNlIE5hdGlvbmFsZSBkZSBDZXJ0aWZpY2F0aW9u +IEVsZWN0cm9uaXF1ZTEZMBcGA1UEAwwQVHVuVHJ1c3QgUm9vdCBDQTCCAiIwDQYJ +KoZIhvcNAQEBBQADggIPADCCAgoCggIBAMPN0/y9BFPdDCA61YguBUtB9YOCfvdZ +n56eY+hz2vYGqU8ftPkLHzmMmiDQfgbU7DTZhrx1W4eI8NLZ1KMKsmwb60ksPqxd +2JQDoOw05TDENX37Jk0bbjBU2PWARZw5rZzJJQRNmpA+TkBuimvNKWfGzC3gdOgF +VwpIUPp6Q9p+7FuaDmJ2/uqdHYVy7BG7NegfJ7/Boce7SBbdVtfMTqDhuazb1YMZ +GoXRlJfXyqNlC/M4+QKu3fZnz8k/9YosRxqZbwUN/dAdgjH8KcwAWJeRTIAAHDOF +li/LQcKLEITDCSSJH7UP2dl3RxiSlGBcx5kDPP73lad9UKGAwqmDrViWVSHbhlnU +r8a83YFuB9tgYv7sEG7aaAH0gxupPqJbI9dkxt/con3YS7qC0lH4Zr8GRuR5KiY2 +eY8fTpkdso8MDhz/yV3A/ZAQprE38806JG60hZC/gLkMjNWb1sjxVj8agIl6qeIb +MlEsPvLfe/ZdeikZjuXIvTZxi11Mwh0/rViizz1wTaZQmCXcI/m4WEEIcb9PuISg +jwBUFfyRbVinljvrS5YnzWuioYasDXxU5mZMZl+QviGaAkYt5IPCgLnPSz7ofzwB +7I9ezX/SKEIBlYrilz0QIX32nRzFNKHsLA4KUiwSVXAkPcvCFDVDXSdOvsC9qnyW +5/yeYa1E0wCXAgMBAAGjYzBhMB0GA1UdDgQWBBQGmpsfU33x9aTI04Y+oXNZtPdE +ITAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFAaamx9TffH1pMjThj6hc1m0 +90QhMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAqgVutt0Vyb+z +xiD2BkewhpMl0425yAA/l/VSJ4hxyXT968pk21vvHl26v9Hr7lxpuhbI87mP0zYu +QEkHDVneixCwSQXi/5E/S7fdAo74gShczNxtr18UnH1YeA32gAm56Q6XKRm4t+v4 +FstVEuTGfbvE7Pi1HE4+Z7/FXxttbUcoqgRYYdZ2vyJ/0Adqp2RT8JeNnYA/u8EH +22Wv5psymsNUk8QcCMNE+3tjEUPRahphanltkE8pjkcFwRJpadbGNjHh/PqAulxP +xOu3Mqz4dWEX1xAZufHSCe96Qp1bWgvUxpVOKs7/B9dPfhgGiPEZtdmYu65xxBzn +dFlY7wyJz4sfdZMaBBSSSFCp61cpABbjNhzI+L/wM9VBD8TMPN3pM0MBkRArHtG5 +Xc0yGYuPjCB31yLEQtyEFpslbei0VXF/sHyz03FJuc9SpAQ/3D2gu68zngowYI7b +nV2UqL1g52KAdoGDDIzMMEZJ4gzSqK/rYXHv5yJiqfdcZGyfFoxnNidF9Ql7v/YQ +CvGwjVRDjAS6oz/v4jXH+XTgbzRB0L9zZVcg+ZtnemZoJE6AZb0QmQZZ8mWvuMZH +u/2QeItBcy6vVR/cO5JyboTT0GFMDcx2V+IthSIVNg3rAZ3r2OvEhJn7wAzMMujj +d9qDRIueVSjAi1jTkD5OGwDxFa2DK5o= +-----END CERTIFICATE----- + +# Issuer: CN=HARICA TLS RSA Root CA 2021 O=Hellenic Academic and Research Institutions CA +# Subject: CN=HARICA TLS RSA Root CA 2021 O=Hellenic Academic and Research Institutions CA +# Label: "HARICA TLS RSA Root CA 2021" +# Serial: 76817823531813593706434026085292783742 +# MD5 Fingerprint: 65:47:9b:58:86:dd:2c:f0:fc:a2:84:1f:1e:96:c4:91 +# SHA1 Fingerprint: 02:2d:05:82:fa:88:ce:14:0c:06:79:de:7f:14:10:e9:45:d7:a5:6d +# SHA256 Fingerprint: d9:5d:0e:8e:da:79:52:5b:f9:be:b1:1b:14:d2:10:0d:32:94:98:5f:0c:62:d9:fa:bd:9c:d9:99:ec:cb:7b:1d +-----BEGIN CERTIFICATE----- +MIIFpDCCA4ygAwIBAgIQOcqTHO9D88aOk8f0ZIk4fjANBgkqhkiG9w0BAQsFADBs +MQswCQYDVQQGEwJHUjE3MDUGA1UECgwuSGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJl +c2VhcmNoIEluc3RpdHV0aW9ucyBDQTEkMCIGA1UEAwwbSEFSSUNBIFRMUyBSU0Eg +Um9vdCBDQSAyMDIxMB4XDTIxMDIxOTEwNTUzOFoXDTQ1MDIxMzEwNTUzN1owbDEL +MAkGA1UEBhMCR1IxNzA1BgNVBAoMLkhlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNl +YXJjaCBJbnN0aXR1dGlvbnMgQ0ExJDAiBgNVBAMMG0hBUklDQSBUTFMgUlNBIFJv +b3QgQ0EgMjAyMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAIvC569l +mwVnlskNJLnQDmT8zuIkGCyEf3dRywQRNrhe7Wlxp57kJQmXZ8FHws+RFjZiPTgE +4VGC/6zStGndLuwRo0Xua2s7TL+MjaQenRG56Tj5eg4MmOIjHdFOY9TnuEFE+2uv +a9of08WRiFukiZLRgeaMOVig1mlDqa2YUlhu2wr7a89o+uOkXjpFc5gH6l8Cct4M +pbOfrqkdtx2z/IpZ525yZa31MJQjB/OCFks1mJxTuy/K5FrZx40d/JiZ+yykgmvw +Kh+OC19xXFyuQnspiYHLA6OZyoieC0AJQTPb5lh6/a6ZcMBaD9YThnEvdmn8kN3b +LW7R8pv1GmuebxWMevBLKKAiOIAkbDakO/IwkfN4E8/BPzWr8R0RI7VDIp4BkrcY +AuUR0YLbFQDMYTfBKnya4dC6s1BG7oKsnTH4+yPiAwBIcKMJJnkVU2DzOFytOOqB +AGMUuTNe3QvboEUHGjMJ+E20pwKmafTCWQWIZYVWrkvL4N48fS0ayOn7H6NhStYq +E613TBoYm5EPWNgGVMWX+Ko/IIqmhaZ39qb8HOLubpQzKoNQhArlT4b4UEV4AIHr +W2jjJo3Me1xR9BQsQL4aYB16cmEdH2MtiKrOokWQCPxrvrNQKlr9qEgYRtaQQJKQ +CoReaDH46+0N0x3GfZkYVVYnZS6NRcUk7M7jAgMBAAGjQjBAMA8GA1UdEwEB/wQF +MAMBAf8wHQYDVR0OBBYEFApII6ZgpJIKM+qTW8VX6iVNvRLuMA4GA1UdDwEB/wQE +AwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAPpBIqm5iFSVmewzVjIuJndftTgfvnNAU +X15QvWiWkKQUEapobQk1OUAJ2vQJLDSle1mESSmXdMgHHkdt8s4cUCbjnj1AUz/3 +f5Z2EMVGpdAgS1D0NTsY9FVqQRtHBmg8uwkIYtlfVUKqrFOFrJVWNlar5AWMxaja +H6NpvVMPxP/cyuN+8kyIhkdGGvMA9YCRotxDQpSbIPDRzbLrLFPCU3hKTwSUQZqP +JzLB5UkZv/HywouoCjkxKLR9YjYsTewfM7Z+d21+UPCfDtcRj88YxeMn/ibvBZ3P +zzfF0HvaO7AWhAw6k9a+F9sPPg4ZeAnHqQJyIkv3N3a6dcSFA1pj1bF1BcK5vZSt +jBWZp5N99sXzqnTPBIWUmAD04vnKJGW/4GKvyMX6ssmeVkjaef2WdhW+o45WxLM0 +/L5H9MG0qPzVMIho7suuyWPEdr6sOBjhXlzPrjoiUevRi7PzKzMHVIf6tLITe7pT +BGIBnfHAT+7hOtSLIBD6Alfm78ELt5BGnBkpjNxvoEppaZS3JGWg/6w/zgH7IS79 +aPib8qXPMThcFarmlwDB31qlpzmq6YR/PFGoOtmUW4y/Twhx5duoXNTSpv4Ao8YW +xw/ogM4cKGR0GQjTQuPOAF1/sdwTsOEFy9EgqoZ0njnnkf3/W9b3raYvAwtt41dU +63ZTGI0RmLo= +-----END CERTIFICATE----- + +# Issuer: CN=HARICA TLS ECC Root CA 2021 O=Hellenic Academic and Research Institutions CA +# Subject: CN=HARICA TLS ECC Root CA 2021 O=Hellenic Academic and Research Institutions CA +# Label: "HARICA TLS ECC Root CA 2021" +# Serial: 137515985548005187474074462014555733966 +# MD5 Fingerprint: ae:f7:4c:e5:66:35:d1:b7:9b:8c:22:93:74:d3:4b:b0 +# SHA1 Fingerprint: bc:b0:c1:9d:e9:98:92:70:19:38:57:e9:8d:a7:b4:5d:6e:ee:01:48 +# SHA256 Fingerprint: 3f:99:cc:47:4a:cf:ce:4d:fe:d5:87:94:66:5e:47:8d:15:47:73:9f:2e:78:0f:1b:b4:ca:9b:13:30:97:d4:01 +-----BEGIN CERTIFICATE----- +MIICVDCCAdugAwIBAgIQZ3SdjXfYO2rbIvT/WeK/zjAKBggqhkjOPQQDAzBsMQsw +CQYDVQQGEwJHUjE3MDUGA1UECgwuSGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2Vh +cmNoIEluc3RpdHV0aW9ucyBDQTEkMCIGA1UEAwwbSEFSSUNBIFRMUyBFQ0MgUm9v +dCBDQSAyMDIxMB4XDTIxMDIxOTExMDExMFoXDTQ1MDIxMzExMDEwOVowbDELMAkG +A1UEBhMCR1IxNzA1BgNVBAoMLkhlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJj +aCBJbnN0aXR1dGlvbnMgQ0ExJDAiBgNVBAMMG0hBUklDQSBUTFMgRUNDIFJvb3Qg +Q0EgMjAyMTB2MBAGByqGSM49AgEGBSuBBAAiA2IABDgI/rGgltJ6rK9JOtDA4MM7 +KKrxcm1lAEeIhPyaJmuqS7psBAqIXhfyVYf8MLA04jRYVxqEU+kw2anylnTDUR9Y +STHMmE5gEYd103KUkE+bECUqqHgtvpBBWJAVcqeht6NCMEAwDwYDVR0TAQH/BAUw +AwEB/zAdBgNVHQ4EFgQUyRtTgRL+BNUW0aq8mm+3oJUZbsowDgYDVR0PAQH/BAQD +AgGGMAoGCCqGSM49BAMDA2cAMGQCMBHervjcToiwqfAircJRQO9gcS3ujwLEXQNw +SaSS6sUUiHCm0w2wqsosQJz76YJumgIwK0eaB8bRwoF8yguWGEEbo/QwCZ61IygN +nxS2PFOiTAZpffpskcYqSUXm7LcT4Tps +-----END CERTIFICATE----- + +# Issuer: CN=Autoridad de Certificacion Firmaprofesional CIF A62634068 +# Subject: CN=Autoridad de Certificacion Firmaprofesional CIF A62634068 +# Label: "Autoridad de Certificacion Firmaprofesional CIF A62634068" +# Serial: 1977337328857672817 +# MD5 Fingerprint: 4e:6e:9b:54:4c:ca:b7:fa:48:e4:90:b1:15:4b:1c:a3 +# SHA1 Fingerprint: 0b:be:c2:27:22:49:cb:39:aa:db:35:5c:53:e3:8c:ae:78:ff:b6:fe +# SHA256 Fingerprint: 57:de:05:83:ef:d2:b2:6e:03:61:da:99:da:9d:f4:64:8d:ef:7e:e8:44:1c:3b:72:8a:fa:9b:cd:e0:f9:b2:6a +-----BEGIN CERTIFICATE----- +MIIGFDCCA/ygAwIBAgIIG3Dp0v+ubHEwDQYJKoZIhvcNAQELBQAwUTELMAkGA1UE +BhMCRVMxQjBABgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1h +cHJvZmVzaW9uYWwgQ0lGIEE2MjYzNDA2ODAeFw0xNDA5MjMxNTIyMDdaFw0zNjA1 +MDUxNTIyMDdaMFExCzAJBgNVBAYTAkVTMUIwQAYDVQQDDDlBdXRvcmlkYWQgZGUg +Q2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBBNjI2MzQwNjgwggIi +MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDDUtd9 +thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQM +cas9UX4PB99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefG +L9ItWY16Ck6WaVICqjaY7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15i +NA9wBj4gGFrO93IbJWyTdBSTo3OxDqqHECNZXyAFGUftaI6SEspd/NYrspI8IM/h +X68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyIplD9amML9ZMWGxmPsu2b +m8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctXMbScyJCy +Z/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirja +EbsXLZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJBCtLxTa/y2aRnFHvkLfuwHb9H/T +KI8xWVvTyQKmtFLKbpf7Q8UIJm+K9Lv9nyiqDdVF8xM6HdjAeI9BZzwelGSuewvF +6NkBiDkal4ZkQdU7hwxu+g/GvUgUvzlN1J5Bto+WHWOWk9mVBngxaJ43BjuAiUVh +OSPHG0SjFeUc+JIwuwIDAQABo4HvMIHsMB0GA1UdDgQWBBRlzeurNR4APn7VdMAc +tHNHDhpkLzASBgNVHRMBAf8ECDAGAQH/AgEBMIGmBgNVHSAEgZ4wgZswgZgGBFUd +IAAwgY8wLwYIKwYBBQUHAgEWI2h0dHA6Ly93d3cuZmlybWFwcm9mZXNpb25hbC5j +b20vY3BzMFwGCCsGAQUFBwICMFAeTgBQAGEAcwBlAG8AIABkAGUAIABsAGEAIABC +AG8AbgBhAG4AbwB2AGEAIAA0ADcAIABCAGEAcgBjAGUAbABvAG4AYQAgADAAOAAw +ADEANzAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQELBQADggIBAHSHKAIrdx9m +iWTtj3QuRhy7qPj4Cx2Dtjqn6EWKB7fgPiDL4QjbEwj4KKE1soCzC1HA01aajTNF +Sa9J8OA9B3pFE1r/yJfY0xgsfZb43aJlQ3CTkBW6kN/oGbDbLIpgD7dvlAceHabJ +hfa9NPhAeGIQcDq+fUs5gakQ1JZBu/hfHAsdCPKxsIl68veg4MSPi3i1O1ilI45P +Vf42O+AMt8oqMEEgtIDNrvx2ZnOorm7hfNoD6JQg5iKj0B+QXSBTFCZX2lSX3xZE +EAEeiGaPcjiT3SC3NL7X8e5jjkd5KAb881lFJWAiMxujX6i6KtoaPc1A6ozuBRWV +1aUsIC+nmCjuRfzxuIgALI9C2lHVnOUTaHFFQ4ueCyE8S1wF3BqfmI7avSKecs2t +CsvMo2ebKHTEm9caPARYpoKdrcd7b/+Alun4jWq9GJAd/0kakFI3ky88Al2CdgtR +5xbHV/g4+afNmyJU72OwFW1TZQNKXkqgsqeOSQBZONXH9IBk9W6VULgRfhVwOEqw +f9DEMnDAGf/JOC0ULGb0QkTmVXYbgBVX/8Cnp6o5qtjTcNAuuuuUavpfNIbnYrX9 +ivAwhZTJryQCL2/W3Wf+47BVTwSYT6RBVuKT0Gro1vP7ZeDOdcQxWQzugsgMYDNK +GbqEZycPvEJdvSRUDewdcAZfpLz6IHxV +-----END CERTIFICATE----- + +# Issuer: CN=vTrus ECC Root CA O=iTrusChina Co.,Ltd. +# Subject: CN=vTrus ECC Root CA O=iTrusChina Co.,Ltd. +# Label: "vTrus ECC Root CA" +# Serial: 630369271402956006249506845124680065938238527194 +# MD5 Fingerprint: de:4b:c1:f5:52:8c:9b:43:e1:3e:8f:55:54:17:8d:85 +# SHA1 Fingerprint: f6:9c:db:b0:fc:f6:02:13:b6:52:32:a6:a3:91:3f:16:70:da:c3:e1 +# SHA256 Fingerprint: 30:fb:ba:2c:32:23:8e:2a:98:54:7a:f9:79:31:e5:50:42:8b:9b:3f:1c:8e:eb:66:33:dc:fa:86:c5:b2:7d:d3 +-----BEGIN CERTIFICATE----- +MIICDzCCAZWgAwIBAgIUbmq8WapTvpg5Z6LSa6Q75m0c1towCgYIKoZIzj0EAwMw +RzELMAkGA1UEBhMCQ04xHDAaBgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4xGjAY +BgNVBAMTEXZUcnVzIEVDQyBSb290IENBMB4XDTE4MDczMTA3MjY0NFoXDTQzMDcz +MTA3MjY0NFowRzELMAkGA1UEBhMCQ04xHDAaBgNVBAoTE2lUcnVzQ2hpbmEgQ28u +LEx0ZC4xGjAYBgNVBAMTEXZUcnVzIEVDQyBSb290IENBMHYwEAYHKoZIzj0CAQYF +K4EEACIDYgAEZVBKrox5lkqqHAjDo6LN/llWQXf9JpRCux3NCNtzslt188+cToL0 +v/hhJoVs1oVbcnDS/dtitN9Ti72xRFhiQgnH+n9bEOf+QP3A2MMrMudwpremIFUd +e4BdS49nTPEQo0IwQDAdBgNVHQ4EFgQUmDnNvtiyjPeyq+GtJK97fKHbH88wDwYD +VR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwMDaAAwZQIw +V53dVvHH4+m4SVBrm2nDb+zDfSXkV5UTQJtS0zvzQBm8JsctBp61ezaf9SXUY2sA +AjEA6dPGnlaaKsyh2j/IZivTWJwghfqrkYpwcBE4YGQLYgmRWAD5Tfs0aNoJrSEG +GJTO +-----END CERTIFICATE----- + +# Issuer: CN=vTrus Root CA O=iTrusChina Co.,Ltd. +# Subject: CN=vTrus Root CA O=iTrusChina Co.,Ltd. +# Label: "vTrus Root CA" +# Serial: 387574501246983434957692974888460947164905180485 +# MD5 Fingerprint: b8:c9:37:df:fa:6b:31:84:64:c5:ea:11:6a:1b:75:fc +# SHA1 Fingerprint: 84:1a:69:fb:f5:cd:1a:25:34:13:3d:e3:f8:fc:b8:99:d0:c9:14:b7 +# SHA256 Fingerprint: 8a:71:de:65:59:33:6f:42:6c:26:e5:38:80:d0:0d:88:a1:8d:a4:c6:a9:1f:0d:cb:61:94:e2:06:c5:c9:63:87 +-----BEGIN CERTIFICATE----- +MIIFVjCCAz6gAwIBAgIUQ+NxE9izWRRdt86M/TX9b7wFjUUwDQYJKoZIhvcNAQEL +BQAwQzELMAkGA1UEBhMCQ04xHDAaBgNVBAoTE2lUcnVzQ2hpbmEgQ28uLEx0ZC4x +FjAUBgNVBAMTDXZUcnVzIFJvb3QgQ0EwHhcNMTgwNzMxMDcyNDA1WhcNNDMwNzMx +MDcyNDA1WjBDMQswCQYDVQQGEwJDTjEcMBoGA1UEChMTaVRydXNDaGluYSBDby4s +THRkLjEWMBQGA1UEAxMNdlRydXMgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQAD +ggIPADCCAgoCggIBAL1VfGHTuB0EYgWgrmy3cLRB6ksDXhA/kFocizuwZotsSKYc +IrrVQJLuM7IjWcmOvFjai57QGfIvWcaMY1q6n6MLsLOaXLoRuBLpDLvPbmyAhykU +AyyNJJrIZIO1aqwTLDPxn9wsYTwaP3BVm60AUn/PBLn+NvqcwBauYv6WTEN+VRS+ +GrPSbcKvdmaVayqwlHeFXgQPYh1jdfdr58tbmnDsPmcF8P4HCIDPKNsFxhQnL4Z9 +8Cfe/+Z+M0jnCx5Y0ScrUw5XSmXX+6KAYPxMvDVTAWqXcoKv8R1w6Jz1717CbMdH +flqUhSZNO7rrTOiwCcJlwp2dCZtOtZcFrPUGoPc2BX70kLJrxLT5ZOrpGgrIDajt +J8nU57O5q4IikCc9Kuh8kO+8T/3iCiSn3mUkpF3qwHYw03dQ+A0Em5Q2AXPKBlim +0zvc+gRGE1WKyURHuFE5Gi7oNOJ5y1lKCn+8pu8fA2dqWSslYpPZUxlmPCdiKYZN +pGvu/9ROutW04o5IWgAZCfEF2c6Rsffr6TlP9m8EQ5pV9T4FFL2/s1m02I4zhKOQ +UqqzApVg+QxMaPnu1RcN+HFXtSXkKe5lXa/R7jwXC1pDxaWG6iSe4gUH3DRCEpHW +OXSuTEGC2/KmSNGzm/MzqvOmwMVO9fSddmPmAsYiS8GVP1BkLFTltvA8Kc9XAgMB +AAGjQjBAMB0GA1UdDgQWBBRUYnBj8XWEQ1iO0RYgscasGrz2iTAPBgNVHRMBAf8E +BTADAQH/MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAKbqSSaet +8PFww+SX8J+pJdVrnjT+5hpk9jprUrIQeBqfTNqK2uwcN1LgQkv7bHbKJAs5EhWd +nxEt/Hlk3ODg9d3gV8mlsnZwUKT+twpw1aA08XXXTUm6EdGz2OyC/+sOxL9kLX1j +bhd47F18iMjrjld22VkE+rxSH0Ws8HqA7Oxvdq6R2xCOBNyS36D25q5J08FsEhvM +Kar5CKXiNxTKsbhm7xqC5PD48acWabfbqWE8n/Uxy+QARsIvdLGx14HuqCaVvIiv +TDUHKgLKeBRtRytAVunLKmChZwOgzoy8sHJnxDHO2zTlJQNgJXtxmOTAGytfdELS +S8VZCAeHvsXDf+eW2eHcKJfWjwXj9ZtOyh1QRwVTsMo554WgicEFOwE30z9J4nfr +I8iIZjs9OXYhRvHsXyO466JmdXTBQPfYaJqT4i2pLr0cox7IdMakLXogqzu4sEb9 +b91fUlV1YvCXoHzXOP0l382gmxDPi7g4Xl7FtKYCNqEeXxzP4padKar9mK5S4fNB +UvupLnKWnyfjqnN9+BojZns7q2WwMgFLFT49ok8MKzWixtlnEjUwzXYuFrOZnk1P +Ti07NEPhmg4NpGaXutIcSkwsKouLgU9xGqndXHt7CMUADTdA43x7VF8vhV929ven +sBxXVsFy6K2ir40zSbofitzmdHxghm+Hl3s= +-----END CERTIFICATE----- + +# Issuer: CN=ISRG Root X2 O=Internet Security Research Group +# Subject: CN=ISRG Root X2 O=Internet Security Research Group +# Label: "ISRG Root X2" +# Serial: 87493402998870891108772069816698636114 +# MD5 Fingerprint: d3:9e:c4:1e:23:3c:a6:df:cf:a3:7e:6d:e0:14:e6:e5 +# SHA1 Fingerprint: bd:b1:b9:3c:d5:97:8d:45:c6:26:14:55:f8:db:95:c7:5a:d1:53:af +# SHA256 Fingerprint: 69:72:9b:8e:15:a8:6e:fc:17:7a:57:af:b7:17:1d:fc:64:ad:d2:8c:2f:ca:8c:f1:50:7e:34:45:3c:cb:14:70 +-----BEGIN CERTIFICATE----- +MIICGzCCAaGgAwIBAgIQQdKd0XLq7qeAwSxs6S+HUjAKBggqhkjOPQQDAzBPMQsw +CQYDVQQGEwJVUzEpMCcGA1UEChMgSW50ZXJuZXQgU2VjdXJpdHkgUmVzZWFyY2gg +R3JvdXAxFTATBgNVBAMTDElTUkcgUm9vdCBYMjAeFw0yMDA5MDQwMDAwMDBaFw00 +MDA5MTcxNjAwMDBaME8xCzAJBgNVBAYTAlVTMSkwJwYDVQQKEyBJbnRlcm5ldCBT +ZWN1cml0eSBSZXNlYXJjaCBHcm91cDEVMBMGA1UEAxMMSVNSRyBSb290IFgyMHYw +EAYHKoZIzj0CAQYFK4EEACIDYgAEzZvVn4CDCuwJSvMWSj5cz3es3mcFDR0HttwW ++1qLFNvicWDEukWVEYmO6gbf9yoWHKS5xcUy4APgHoIYOIvXRdgKam7mAHf7AlF9 +ItgKbppbd9/w+kHsOdx1ymgHDB/qo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0T +AQH/BAUwAwEB/zAdBgNVHQ4EFgQUfEKWrt5LSDv6kviejM9ti6lyN5UwCgYIKoZI +zj0EAwMDaAAwZQIwe3lORlCEwkSHRhtFcP9Ymd70/aTSVaYgLXTWNLxBo1BfASdW +tL4ndQavEi51mI38AjEAi/V3bNTIZargCyzuFJ0nN6T5U6VR5CmD1/iQMVtCnwr1 +/q4AaOeMSQ+2b1tbFfLn +-----END CERTIFICATE----- + +# Issuer: CN=HiPKI Root CA - G1 O=Chunghwa Telecom Co., Ltd. +# Subject: CN=HiPKI Root CA - G1 O=Chunghwa Telecom Co., Ltd. +# Label: "HiPKI Root CA - G1" +# Serial: 60966262342023497858655262305426234976 +# MD5 Fingerprint: 69:45:df:16:65:4b:e8:68:9a:8f:76:5f:ff:80:9e:d3 +# SHA1 Fingerprint: 6a:92:e4:a8:ee:1b:ec:96:45:37:e3:29:57:49:cd:96:e3:e5:d2:60 +# SHA256 Fingerprint: f0:15:ce:3c:c2:39:bf:ef:06:4b:e9:f1:d2:c4:17:e1:a0:26:4a:0a:94:be:1f:0c:8d:12:18:64:eb:69:49:cc +-----BEGIN CERTIFICATE----- +MIIFajCCA1KgAwIBAgIQLd2szmKXlKFD6LDNdmpeYDANBgkqhkiG9w0BAQsFADBP +MQswCQYDVQQGEwJUVzEjMCEGA1UECgwaQ2h1bmdod2EgVGVsZWNvbSBDby4sIEx0 +ZC4xGzAZBgNVBAMMEkhpUEtJIFJvb3QgQ0EgLSBHMTAeFw0xOTAyMjIwOTQ2MDRa +Fw0zNzEyMzExNTU5NTlaME8xCzAJBgNVBAYTAlRXMSMwIQYDVQQKDBpDaHVuZ2h3 +YSBUZWxlY29tIENvLiwgTHRkLjEbMBkGA1UEAwwSSGlQS0kgUm9vdCBDQSAtIEcx +MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA9B5/UnMyDHPkvRN0o9Qw +qNCuS9i233VHZvR85zkEHmpwINJaR3JnVfSl6J3VHiGh8Ge6zCFovkRTv4354twv +Vcg3Px+kwJyz5HdcoEb+d/oaoDjq7Zpy3iu9lFc6uux55199QmQ5eiY29yTw1S+6 +lZgRZq2XNdZ1AYDgr/SEYYwNHl98h5ZeQa/rh+r4XfEuiAU+TCK72h8q3VJGZDnz +Qs7ZngyzsHeXZJzA9KMuH5UHsBffMNsAGJZMoYFL3QRtU6M9/Aes1MU3guvklQgZ +KILSQjqj2FPseYlgSGDIcpJQ3AOPgz+yQlda22rpEZfdhSi8MEyr48KxRURHH+CK +FgeW0iEPU8DtqX7UTuybCeyvQqww1r/REEXgphaypcXTT3OUM3ECoWqj1jOXTyFj +HluP2cFeRXF3D4FdXyGarYPM+l7WjSNfGz1BryB1ZlpK9p/7qxj3ccC2HTHsOyDr +y+K49a6SsvfhhEvyovKTmiKe0xRvNlS9H15ZFblzqMF8b3ti6RZsR1pl8w4Rm0bZ +/W3c1pzAtH2lsN0/Vm+h+fbkEkj9Bn8SV7apI09bA8PgcSojt/ewsTu8mL3WmKgM +a/aOEmem8rJY5AIJEzypuxC00jBF8ez3ABHfZfjcK0NVvxaXxA/VLGGEqnKG/uY6 +fsI/fe78LxQ+5oXdUG+3Se0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNV +HQ4EFgQU8ncX+l6o/vY9cdVouslGDDjYr7AwDgYDVR0PAQH/BAQDAgGGMA0GCSqG +SIb3DQEBCwUAA4ICAQBQUfB13HAE4/+qddRxosuej6ip0691x1TPOhwEmSKsxBHi +7zNKpiMdDg1H2DfHb680f0+BazVP6XKlMeJ45/dOlBhbQH3PayFUhuaVevvGyuqc +SE5XCV0vrPSltJczWNWseanMX/mF+lLFjfiRFOs6DRfQUsJ748JzjkZ4Bjgs6Fza +ZsT0pPBWGTMpWmWSBUdGSquEwx4noR8RkpkndZMPvDY7l1ePJlsMu5wP1G4wB9Tc +XzZoZjmDlicmisjEOf6aIW/Vcobpf2Lll07QJNBAsNB1CI69aO4I1258EHBGG3zg +iLKecoaZAeO/n0kZtCW+VmWuF2PlHt/o/0elv+EmBYTksMCv5wiZqAxeJoBF1Pho +L5aPruJKHJwWDBNvOIf2u8g0X5IDUXlwpt/L9ZlNec1OvFefQ05rLisY+GpzjLrF +Ne85akEez3GoorKGB1s6yeHvP2UEgEcyRHCVTjFnanRbEEV16rCf0OY1/k6fi8wr +kkVbbiVghUbN0aqwdmaTd5a+g744tiROJgvM7XpWGuDpWsZkrUx6AEhEL7lAuxM+ +vhV4nYWBSipX3tUZQ9rbyltHhoMLP7YNdnhzeSJesYAfz77RP1YQmCuVh6EfnWQU +YDksswBVLuT1sw5XxJFBAJw/6KXf6vb/yPCtbVKoF6ubYfwSUTXkJf2vqmqGOQ== +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign ECC Root CA - R4 +# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign ECC Root CA - R4 +# Label: "GlobalSign ECC Root CA - R4" +# Serial: 159662223612894884239637590694 +# MD5 Fingerprint: 26:29:f8:6d:e1:88:bf:a2:65:7f:aa:c4:cd:0f:7f:fc +# SHA1 Fingerprint: 6b:a0:b0:98:e1:71:ef:5a:ad:fe:48:15:80:77:10:f4:bd:6f:0b:28 +# SHA256 Fingerprint: b0:85:d7:0b:96:4f:19:1a:73:e4:af:0d:54:ae:7a:0e:07:aa:fd:af:9b:71:dd:08:62:13:8a:b7:32:5a:24:a2 +-----BEGIN CERTIFICATE----- +MIIB3DCCAYOgAwIBAgINAgPlfvU/k/2lCSGypjAKBggqhkjOPQQDAjBQMSQwIgYD +VQQLExtHbG9iYWxTaWduIEVDQyBSb290IENBIC0gUjQxEzARBgNVBAoTCkdsb2Jh +bFNpZ24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMTIxMTEzMDAwMDAwWhcNMzgw +MTE5MDMxNDA3WjBQMSQwIgYDVQQLExtHbG9iYWxTaWduIEVDQyBSb290IENBIC0g +UjQxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2JhbFNpZ24wWTAT +BgcqhkjOPQIBBggqhkjOPQMBBwNCAAS4xnnTj2wlDp8uORkcA6SumuU5BwkWymOx +uYb4ilfBV85C+nOh92VC/x7BALJucw7/xyHlGKSq2XE/qNS5zowdo0IwQDAOBgNV +HQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUVLB7rUW44kB/ ++wpu+74zyTyjhNUwCgYIKoZIzj0EAwIDRwAwRAIgIk90crlgr/HmnKAWBVBfw147 +bmF0774BxL4YSFlhgjICICadVGNA3jdgUM/I2O2dgq43mLyjj0xMqTQrbO/7lZsm +-----END CERTIFICATE----- + +# Issuer: CN=GTS Root R1 O=Google Trust Services LLC +# Subject: CN=GTS Root R1 O=Google Trust Services LLC +# Label: "GTS Root R1" +# Serial: 159662320309726417404178440727 +# MD5 Fingerprint: 05:fe:d0:bf:71:a8:a3:76:63:da:01:e0:d8:52:dc:40 +# SHA1 Fingerprint: e5:8c:1c:c4:91:3b:38:63:4b:e9:10:6e:e3:ad:8e:6b:9d:d9:81:4a +# SHA256 Fingerprint: d9:47:43:2a:bd:e7:b7:fa:90:fc:2e:6b:59:10:1b:12:80:e0:e1:c7:e4:e4:0f:a3:c6:88:7f:ff:57:a7:f4:cf +-----BEGIN CERTIFICATE----- +MIIFVzCCAz+gAwIBAgINAgPlk28xsBNJiGuiFzANBgkqhkiG9w0BAQwFADBHMQsw +CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU +MBIGA1UEAxMLR1RTIFJvb3QgUjEwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAw +MDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZp +Y2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjEwggIiMA0GCSqGSIb3DQEBAQUA +A4ICDwAwggIKAoICAQC2EQKLHuOhd5s73L+UPreVp0A8of2C+X0yBoJx9vaMf/vo +27xqLpeXo4xL+Sv2sfnOhB2x+cWX3u+58qPpvBKJXqeqUqv4IyfLpLGcY9vXmX7w +Cl7raKb0xlpHDU0QM+NOsROjyBhsS+z8CZDfnWQpJSMHobTSPS5g4M/SCYe7zUjw +TcLCeoiKu7rPWRnWr4+wB7CeMfGCwcDfLqZtbBkOtdh+JhpFAz2weaSUKK0Pfybl +qAj+lug8aJRT7oM6iCsVlgmy4HqMLnXWnOunVmSPlk9orj2XwoSPwLxAwAtcvfaH +szVsrBhQf4TgTM2S0yDpM7xSma8ytSmzJSq0SPly4cpk9+aCEI3oncKKiPo4Zor8 +Y/kB+Xj9e1x3+naH+uzfsQ55lVe0vSbv1gHR6xYKu44LtcXFilWr06zqkUspzBmk +MiVOKvFlRNACzqrOSbTqn3yDsEB750Orp2yjj32JgfpMpf/VjsPOS+C12LOORc92 +wO1AK/1TD7Cn1TsNsYqiA94xrcx36m97PtbfkSIS5r762DL8EGMUUXLeXdYWk70p +aDPvOmbsB4om3xPXV2V4J95eSRQAogB/mqghtqmxlbCluQ0WEdrHbEg8QOB+DVrN +VjzRlwW5y0vtOUucxD/SVRNuJLDWcfr0wbrM7Rv1/oFB2ACYPTrIrnqYNxgFlQID +AQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4E +FgQU5K8rJnEaK0gnhS9SZizv8IkTcT4wDQYJKoZIhvcNAQEMBQADggIBAJ+qQibb +C5u+/x6Wki4+omVKapi6Ist9wTrYggoGxval3sBOh2Z5ofmmWJyq+bXmYOfg6LEe +QkEzCzc9zolwFcq1JKjPa7XSQCGYzyI0zzvFIoTgxQ6KfF2I5DUkzps+GlQebtuy +h6f88/qBVRRiClmpIgUxPoLW7ttXNLwzldMXG+gnoot7TiYaelpkttGsN/H9oPM4 +7HLwEXWdyzRSjeZ2axfG34arJ45JK3VmgRAhpuo+9K4l/3wV3s6MJT/KYnAK9y8J +ZgfIPxz88NtFMN9iiMG1D53Dn0reWVlHxYciNuaCp+0KueIHoI17eko8cdLiA6Ef +MgfdG+RCzgwARWGAtQsgWSl4vflVy2PFPEz0tv/bal8xa5meLMFrUKTX5hgUvYU/ +Z6tGn6D/Qqc6f1zLXbBwHSs09dR2CQzreExZBfMzQsNhFRAbd03OIozUhfJFfbdT +6u9AWpQKXCBfTkBdYiJ23//OYb2MI3jSNwLgjt7RETeJ9r/tSQdirpLsQBqvFAnZ +0E6yove+7u7Y/9waLd64NnHi/Hm3lCXRSHNboTXns5lndcEZOitHTtNCjv0xyBZm +2tIMPNuzjsmhDYAPexZ3FL//2wmUspO8IFgV6dtxQ/PeEMMA3KgqlbbC1j+Qa3bb +bP6MvPJwNQzcmRk13NfIRmPVNnGuV/u3gm3c +-----END CERTIFICATE----- + +# Issuer: CN=GTS Root R2 O=Google Trust Services LLC +# Subject: CN=GTS Root R2 O=Google Trust Services LLC +# Label: "GTS Root R2" +# Serial: 159662449406622349769042896298 +# MD5 Fingerprint: 1e:39:c0:53:e6:1e:29:82:0b:ca:52:55:36:5d:57:dc +# SHA1 Fingerprint: 9a:44:49:76:32:db:de:fa:d0:bc:fb:5a:7b:17:bd:9e:56:09:24:94 +# SHA256 Fingerprint: 8d:25:cd:97:22:9d:bf:70:35:6b:da:4e:b3:cc:73:40:31:e2:4c:f0:0f:af:cf:d3:2d:c7:6e:b5:84:1c:7e:a8 +-----BEGIN CERTIFICATE----- +MIIFVzCCAz+gAwIBAgINAgPlrsWNBCUaqxElqjANBgkqhkiG9w0BAQwFADBHMQsw +CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU +MBIGA1UEAxMLR1RTIFJvb3QgUjIwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAw +MDAwWjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZp +Y2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjIwggIiMA0GCSqGSIb3DQEBAQUA +A4ICDwAwggIKAoICAQDO3v2m++zsFDQ8BwZabFn3GTXd98GdVarTzTukk3LvCvpt +nfbwhYBboUhSnznFt+4orO/LdmgUud+tAWyZH8QiHZ/+cnfgLFuv5AS/T3KgGjSY +6Dlo7JUle3ah5mm5hRm9iYz+re026nO8/4Piy33B0s5Ks40FnotJk9/BW9BuXvAu +MC6C/Pq8tBcKSOWIm8Wba96wyrQD8Nr0kLhlZPdcTK3ofmZemde4wj7I0BOdre7k +RXuJVfeKH2JShBKzwkCX44ofR5GmdFrS+LFjKBC4swm4VndAoiaYecb+3yXuPuWg +f9RhD1FLPD+M2uFwdNjCaKH5wQzpoeJ/u1U8dgbuak7MkogwTZq9TwtImoS1mKPV ++3PBV2HdKFZ1E66HjucMUQkQdYhMvI35ezzUIkgfKtzra7tEscszcTJGr61K8Yzo +dDqs5xoic4DSMPclQsciOzsSrZYuxsN2B6ogtzVJV+mSSeh2FnIxZyuWfoqjx5RW +Ir9qS34BIbIjMt/kmkRtWVtd9QCgHJvGeJeNkP+byKq0rxFROV7Z+2et1VsRnTKa +G73VululycslaVNVJ1zgyjbLiGH7HrfQy+4W+9OmTN6SpdTi3/UGVN4unUu0kzCq +gc7dGtxRcw1PcOnlthYhGXmy5okLdWTK1au8CcEYof/UVKGFPP0UJAOyh9OktwID +AQABo0IwQDAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4E +FgQUu//KjiOfT5nK2+JopqUVJxce2Q4wDQYJKoZIhvcNAQEMBQADggIBAB/Kzt3H +vqGf2SdMC9wXmBFqiN495nFWcrKeGk6c1SuYJF2ba3uwM4IJvd8lRuqYnrYb/oM8 +0mJhwQTtzuDFycgTE1XnqGOtjHsB/ncw4c5omwX4Eu55MaBBRTUoCnGkJE+M3DyC +B19m3H0Q/gxhswWV7uGugQ+o+MePTagjAiZrHYNSVc61LwDKgEDg4XSsYPWHgJ2u +NmSRXbBoGOqKYcl3qJfEycel/FVL8/B/uWU9J2jQzGv6U53hkRrJXRqWbTKH7QMg +yALOWr7Z6v2yTcQvG99fevX4i8buMTolUVVnjWQye+mew4K6Ki3pHrTgSAai/Gev +HyICc/sgCq+dVEuhzf9gR7A/Xe8bVr2XIZYtCtFenTgCR2y59PYjJbigapordwj6 +xLEokCZYCDzifqrXPW+6MYgKBesntaFJ7qBFVHvmJ2WZICGoo7z7GJa7Um8M7YNR +TOlZ4iBgxcJlkoKM8xAfDoqXvneCbT+PHV28SSe9zE8P4c52hgQjxcCMElv924Sg +JPFI/2R80L5cFtHvma3AH/vLrrw4IgYmZNralw4/KBVEqE8AyvCazM90arQ+POuV +7LXTWtiBmelDGDfrs7vRWGJB82bSj6p4lVQgw1oudCvV0b4YacCs1aTPObpRhANl +6WLAYv7YTVWW4tAR+kg0Eeye7QUd5MjWHYbL +-----END CERTIFICATE----- + +# Issuer: CN=GTS Root R3 O=Google Trust Services LLC +# Subject: CN=GTS Root R3 O=Google Trust Services LLC +# Label: "GTS Root R3" +# Serial: 159662495401136852707857743206 +# MD5 Fingerprint: 3e:e7:9d:58:02:94:46:51:94:e5:e0:22:4a:8b:e7:73 +# SHA1 Fingerprint: ed:e5:71:80:2b:c8:92:b9:5b:83:3c:d2:32:68:3f:09:cd:a0:1e:46 +# SHA256 Fingerprint: 34:d8:a7:3e:e2:08:d9:bc:db:0d:95:65:20:93:4b:4e:40:e6:94:82:59:6e:8b:6f:73:c8:42:6b:01:0a:6f:48 +-----BEGIN CERTIFICATE----- +MIICCTCCAY6gAwIBAgINAgPluILrIPglJ209ZjAKBggqhkjOPQQDAzBHMQswCQYD +VQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIG +A1UEAxMLR1RTIFJvb3QgUjMwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAw +WjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2Vz +IExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjMwdjAQBgcqhkjOPQIBBgUrgQQAIgNi +AAQfTzOHMymKoYTey8chWEGJ6ladK0uFxh1MJ7x/JlFyb+Kf1qPKzEUURout736G +jOyxfi//qXGdGIRFBEFVbivqJn+7kAHjSxm65FSWRQmx1WyRRK2EE46ajA2ADDL2 +4CejQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW +BBTB8Sa6oC2uhYHP0/EqEr24Cmf9vDAKBggqhkjOPQQDAwNpADBmAjEA9uEglRR7 +VKOQFhG/hMjqb2sXnh5GmCCbn9MN2azTL818+FsuVbu/3ZL3pAzcMeGiAjEA/Jdm +ZuVDFhOD3cffL74UOO0BzrEXGhF16b0DjyZ+hOXJYKaV11RZt+cRLInUue4X +-----END CERTIFICATE----- + +# Issuer: CN=GTS Root R4 O=Google Trust Services LLC +# Subject: CN=GTS Root R4 O=Google Trust Services LLC +# Label: "GTS Root R4" +# Serial: 159662532700760215368942768210 +# MD5 Fingerprint: 43:96:83:77:19:4d:76:b3:9d:65:52:e4:1d:22:a5:e8 +# SHA1 Fingerprint: 77:d3:03:67:b5:e0:0c:15:f6:0c:38:61:df:7c:e1:3b:92:46:4d:47 +# SHA256 Fingerprint: 34:9d:fa:40:58:c5:e2:63:12:3b:39:8a:e7:95:57:3c:4e:13:13:c8:3f:e6:8f:93:55:6c:d5:e8:03:1b:3c:7d +-----BEGIN CERTIFICATE----- +MIICCTCCAY6gAwIBAgINAgPlwGjvYxqccpBQUjAKBggqhkjOPQQDAzBHMQswCQYD +VQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIG +A1UEAxMLR1RTIFJvb3QgUjQwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAw +WjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2Vz +IExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwdjAQBgcqhkjOPQIBBgUrgQQAIgNi +AATzdHOnaItgrkO4NcWBMHtLSZ37wWHO5t5GvWvVYRg1rkDdc/eJkTBa6zzuhXyi +QHY7qca4R9gq55KRanPpsXI5nymfopjTX15YhmUPoYRlBtHci8nHc8iMai/lxKvR +HYqjQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW +BBSATNbrdP9JNqPV2Py1PsVq8JQdjDAKBggqhkjOPQQDAwNpADBmAjEA6ED/g94D +9J+uHXqnLrmvT/aDHQ4thQEd0dlq7A/Cr8deVl5c1RxYIigL9zC2L7F8AjEA8GE8 +p/SgguMh1YQdc4acLa/KNJvxn7kjNuK8YAOdgLOaVsjh4rsUecrNIdSUtUlD +-----END CERTIFICATE----- + +# Issuer: CN=Telia Root CA v2 O=Telia Finland Oyj +# Subject: CN=Telia Root CA v2 O=Telia Finland Oyj +# Label: "Telia Root CA v2" +# Serial: 7288924052977061235122729490515358 +# MD5 Fingerprint: 0e:8f:ac:aa:82:df:85:b1:f4:dc:10:1c:fc:99:d9:48 +# SHA1 Fingerprint: b9:99:cd:d1:73:50:8a:c4:47:05:08:9c:8c:88:fb:be:a0:2b:40:cd +# SHA256 Fingerprint: 24:2b:69:74:2f:cb:1e:5b:2a:bf:98:89:8b:94:57:21:87:54:4e:5b:4d:99:11:78:65:73:62:1f:6a:74:b8:2c +-----BEGIN CERTIFICATE----- +MIIFdDCCA1ygAwIBAgIPAWdfJ9b+euPkrL4JWwWeMA0GCSqGSIb3DQEBCwUAMEQx +CzAJBgNVBAYTAkZJMRowGAYDVQQKDBFUZWxpYSBGaW5sYW5kIE95ajEZMBcGA1UE +AwwQVGVsaWEgUm9vdCBDQSB2MjAeFw0xODExMjkxMTU1NTRaFw00MzExMjkxMTU1 +NTRaMEQxCzAJBgNVBAYTAkZJMRowGAYDVQQKDBFUZWxpYSBGaW5sYW5kIE95ajEZ +MBcGA1UEAwwQVGVsaWEgUm9vdCBDQSB2MjCCAiIwDQYJKoZIhvcNAQEBBQADggIP +ADCCAgoCggIBALLQPwe84nvQa5n44ndp586dpAO8gm2h/oFlH0wnrI4AuhZ76zBq +AMCzdGh+sq/H1WKzej9Qyow2RCRj0jbpDIX2Q3bVTKFgcmfiKDOlyzG4OiIjNLh9 +vVYiQJ3q9HsDrWj8soFPmNB06o3lfc1jw6P23pLCWBnglrvFxKk9pXSW/q/5iaq9 +lRdU2HhE8Qx3FZLgmEKnpNaqIJLNwaCzlrI6hEKNfdWV5Nbb6WLEWLN5xYzTNTOD +n3WhUidhOPFZPY5Q4L15POdslv5e2QJltI5c0BE0312/UqeBAMN/mUWZFdUXyApT +7GPzmX3MaRKGwhfwAZ6/hLzRUssbkmbOpFPlob/E2wnW5olWK8jjfN7j/4nlNW4o +6GwLI1GpJQXrSPjdscr6bAhR77cYbETKJuFzxokGgeWKrLDiKca5JLNrRBH0pUPC +TEPlcDaMtjNXepUugqD0XBCzYYP2AgWGLnwtbNwDRm41k9V6lS/eINhbfpSQBGq6 +WT0EBXWdN6IOLj3rwaRSg/7Qa9RmjtzG6RJOHSpXqhC8fF6CfaamyfItufUXJ63R +DolUK5X6wK0dmBR4M0KGCqlztft0DbcbMBnEWg4cJ7faGND/isgFuvGqHKI3t+ZI +pEYslOqodmJHixBTB0hXbOKSTbauBcvcwUpej6w9GU7C7WB1K9vBykLVAgMBAAGj +YzBhMB8GA1UdIwQYMBaAFHKs5DN5qkWH9v2sHZ7Wxy+G2CQ5MB0GA1UdDgQWBBRy +rOQzeapFh/b9rB2e1scvhtgkOTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw +AwEB/zANBgkqhkiG9w0BAQsFAAOCAgEAoDtZpwmUPjaE0n4vOaWWl/oRrfxn83EJ +8rKJhGdEr7nv7ZbsnGTbMjBvZ5qsfl+yqwE2foH65IRe0qw24GtixX1LDoJt0nZi +0f6X+J8wfBj5tFJ3gh1229MdqfDBmgC9bXXYfef6xzijnHDoRnkDry5023X4blMM +A8iZGok1GTzTyVR8qPAs5m4HeW9q4ebqkYJpCh3DflminmtGFZhb069GHWLIzoBS +SRE/yQQSwxN8PzuKlts8oB4KtItUsiRnDe+Cy748fdHif64W1lZYudogsYMVoe+K +TTJvQS8TUoKU1xrBeKJR3Stwbbca+few4GeXVtt8YVMJAygCQMez2P2ccGrGKMOF +6eLtGpOg3kuYooQ+BXcBlj37tCAPnHICehIv1aO6UXivKitEZU61/Qrowc15h2Er +3oBXRb9n8ZuRXqWk7FlIEA04x7D6w0RtBPV4UBySllva9bguulvP5fBqnUsvWHMt +Ty3EHD70sz+rFQ47GUGKpMFXEmZxTPpT41frYpUJnlTd0cI8Vzy9OK2YZLe4A5pT +VmBds9hCG1xLEooc6+t9xnppxyd/pPiL8uSUZodL6ZQHCRJ5irLrdATczvREWeAW +ysUsWNc8e89ihmpQfTU2Zqf7N+cox9jQraVplI/owd8k+BsHMYeB2F326CjYSlKA +rBPuUBQemMc= +-----END CERTIFICATE----- + +# Issuer: CN=D-TRUST BR Root CA 1 2020 O=D-Trust GmbH +# Subject: CN=D-TRUST BR Root CA 1 2020 O=D-Trust GmbH +# Label: "D-TRUST BR Root CA 1 2020" +# Serial: 165870826978392376648679885835942448534 +# MD5 Fingerprint: b5:aa:4b:d5:ed:f7:e3:55:2e:8f:72:0a:f3:75:b8:ed +# SHA1 Fingerprint: 1f:5b:98:f0:e3:b5:f7:74:3c:ed:e6:b0:36:7d:32:cd:f4:09:41:67 +# SHA256 Fingerprint: e5:9a:aa:81:60:09:c2:2b:ff:5b:25:ba:d3:7d:f3:06:f0:49:79:7c:1f:81:d8:5a:b0:89:e6:57:bd:8f:00:44 +-----BEGIN CERTIFICATE----- +MIIC2zCCAmCgAwIBAgIQfMmPK4TX3+oPyWWa00tNljAKBggqhkjOPQQDAzBIMQsw +CQYDVQQGEwJERTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRS +VVNUIEJSIFJvb3QgQ0EgMSAyMDIwMB4XDTIwMDIxMTA5NDUwMFoXDTM1MDIxMTA5 +NDQ1OVowSDELMAkGA1UEBhMCREUxFTATBgNVBAoTDEQtVHJ1c3QgR21iSDEiMCAG +A1UEAxMZRC1UUlVTVCBCUiBSb290IENBIDEgMjAyMDB2MBAGByqGSM49AgEGBSuB +BAAiA2IABMbLxyjR+4T1mu9CFCDhQ2tuda38KwOE1HaTJddZO0Flax7mNCq7dPYS +zuht56vkPE4/RAiLzRZxy7+SmfSk1zxQVFKQhYN4lGdnoxwJGT11NIXe7WB9xwy0 +QVK5buXuQqOCAQ0wggEJMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFHOREKv/ +VbNafAkl1bK6CKBrqx9tMA4GA1UdDwEB/wQEAwIBBjCBxgYDVR0fBIG+MIG7MD6g +PKA6hjhodHRwOi8vY3JsLmQtdHJ1c3QubmV0L2NybC9kLXRydXN0X2JyX3Jvb3Rf +Y2FfMV8yMDIwLmNybDB5oHegdYZzbGRhcDovL2RpcmVjdG9yeS5kLXRydXN0Lm5l +dC9DTj1ELVRSVVNUJTIwQlIlMjBSb290JTIwQ0ElMjAxJTIwMjAyMCxPPUQtVHJ1 +c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjO +PQQDAwNpADBmAjEAlJAtE/rhY/hhY+ithXhUkZy4kzg+GkHaQBZTQgjKL47xPoFW +wKrY7RjEsK70PvomAjEA8yjixtsrmfu3Ubgko6SUeho/5jbiA1czijDLgsfWFBHV +dWNbFJWcHwHP2NVypw87 +-----END CERTIFICATE----- + +# Issuer: CN=D-TRUST EV Root CA 1 2020 O=D-Trust GmbH +# Subject: CN=D-TRUST EV Root CA 1 2020 O=D-Trust GmbH +# Label: "D-TRUST EV Root CA 1 2020" +# Serial: 126288379621884218666039612629459926992 +# MD5 Fingerprint: 8c:2d:9d:70:9f:48:99:11:06:11:fb:e9:cb:30:c0:6e +# SHA1 Fingerprint: 61:db:8c:21:59:69:03:90:d8:7c:9c:12:86:54:cf:9d:3d:f4:dd:07 +# SHA256 Fingerprint: 08:17:0d:1a:a3:64:53:90:1a:2f:95:92:45:e3:47:db:0c:8d:37:ab:aa:bc:56:b8:1a:a1:00:dc:95:89:70:db +-----BEGIN CERTIFICATE----- +MIIC2zCCAmCgAwIBAgIQXwJB13qHfEwDo6yWjfv/0DAKBggqhkjOPQQDAzBIMQsw +CQYDVQQGEwJERTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlELVRS +VVNUIEVWIFJvb3QgQ0EgMSAyMDIwMB4XDTIwMDIxMTEwMDAwMFoXDTM1MDIxMTA5 +NTk1OVowSDELMAkGA1UEBhMCREUxFTATBgNVBAoTDEQtVHJ1c3QgR21iSDEiMCAG +A1UEAxMZRC1UUlVTVCBFViBSb290IENBIDEgMjAyMDB2MBAGByqGSM49AgEGBSuB +BAAiA2IABPEL3YZDIBnfl4XoIkqbz52Yv7QFJsnL46bSj8WeeHsxiamJrSc8ZRCC +/N/DnU7wMyPE0jL1HLDfMxddxfCxivnvubcUyilKwg+pf3VlSSowZ/Rk99Yad9rD +wpdhQntJraOCAQ0wggEJMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFH8QARY3 +OqQo5FD4pPfsazK2/umLMA4GA1UdDwEB/wQEAwIBBjCBxgYDVR0fBIG+MIG7MD6g +PKA6hjhodHRwOi8vY3JsLmQtdHJ1c3QubmV0L2NybC9kLXRydXN0X2V2X3Jvb3Rf +Y2FfMV8yMDIwLmNybDB5oHegdYZzbGRhcDovL2RpcmVjdG9yeS5kLXRydXN0Lm5l +dC9DTj1ELVRSVVNUJTIwRVYlMjBSb290JTIwQ0ElMjAxJTIwMjAyMCxPPUQtVHJ1 +c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjO +PQQDAwNpADBmAjEAyjzGKnXCXnViOTYAYFqLwZOZzNnbQTs7h5kXO9XMT8oi96CA +y/m0sRtW9XLS/BnRAjEAkfcwkz8QRitxpNA7RJvAKQIFskF3UfN5Wp6OFKBOQtJb +gfM0agPnIjhQW+0ZT0MW +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert TLS ECC P384 Root G5 O=DigiCert, Inc. +# Subject: CN=DigiCert TLS ECC P384 Root G5 O=DigiCert, Inc. +# Label: "DigiCert TLS ECC P384 Root G5" +# Serial: 13129116028163249804115411775095713523 +# MD5 Fingerprint: d3:71:04:6a:43:1c:db:a6:59:e1:a8:a3:aa:c5:71:ed +# SHA1 Fingerprint: 17:f3:de:5e:9f:0f:19:e9:8e:f6:1f:32:26:6e:20:c4:07:ae:30:ee +# SHA256 Fingerprint: 01:8e:13:f0:77:25:32:cf:80:9b:d1:b1:72:81:86:72:83:fc:48:c6:e1:3b:e9:c6:98:12:85:4a:49:0c:1b:05 +-----BEGIN CERTIFICATE----- +MIICGTCCAZ+gAwIBAgIQCeCTZaz32ci5PhwLBCou8zAKBggqhkjOPQQDAzBOMQsw +CQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJjAkBgNVBAMTHURp +Z2lDZXJ0IFRMUyBFQ0MgUDM4NCBSb290IEc1MB4XDTIxMDExNTAwMDAwMFoXDTQ2 +MDExNDIzNTk1OVowTjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDkRpZ2lDZXJ0LCBJ +bmMuMSYwJAYDVQQDEx1EaWdpQ2VydCBUTFMgRUNDIFAzODQgUm9vdCBHNTB2MBAG +ByqGSM49AgEGBSuBBAAiA2IABMFEoc8Rl1Ca3iOCNQfN0MsYndLxf3c1TzvdlHJS +7cI7+Oz6e2tYIOyZrsn8aLN1udsJ7MgT9U7GCh1mMEy7H0cKPGEQQil8pQgO4CLp +0zVozptjn4S1mU1YoI71VOeVyaNCMEAwHQYDVR0OBBYEFMFRRVBZqz7nLFr6ICIS +B4CIfBFqMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49 +BAMDA2gAMGUCMQCJao1H5+z8blUD2WdsJk6Dxv3J+ysTvLd6jLRl0mlpYxNjOyZQ +LgGheQaRnUi/wr4CMEfDFXuxoJGZSZOoPHzoRgaLLPIxAJSdYsiJvRmEFOml+wG4 +DXZDjC5Ty3zfDBeWUA== +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert TLS RSA4096 Root G5 O=DigiCert, Inc. +# Subject: CN=DigiCert TLS RSA4096 Root G5 O=DigiCert, Inc. +# Label: "DigiCert TLS RSA4096 Root G5" +# Serial: 11930366277458970227240571539258396554 +# MD5 Fingerprint: ac:fe:f7:34:96:a9:f2:b3:b4:12:4b:e4:27:41:6f:e1 +# SHA1 Fingerprint: a7:88:49:dc:5d:7c:75:8c:8c:de:39:98:56:b3:aa:d0:b2:a5:71:35 +# SHA256 Fingerprint: 37:1a:00:dc:05:33:b3:72:1a:7e:eb:40:e8:41:9e:70:79:9d:2b:0a:0f:2c:1d:80:69:31:65:f7:ce:c4:ad:75 +-----BEGIN CERTIFICATE----- +MIIFZjCCA06gAwIBAgIQCPm0eKj6ftpqMzeJ3nzPijANBgkqhkiG9w0BAQwFADBN +MQswCQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJTAjBgNVBAMT +HERpZ2lDZXJ0IFRMUyBSU0E0MDk2IFJvb3QgRzUwHhcNMjEwMTE1MDAwMDAwWhcN +NDYwMTE0MjM1OTU5WjBNMQswCQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQs +IEluYy4xJTAjBgNVBAMTHERpZ2lDZXJ0IFRMUyBSU0E0MDk2IFJvb3QgRzUwggIi +MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCz0PTJeRGd/fxmgefM1eS87IE+ +ajWOLrfn3q/5B03PMJ3qCQuZvWxX2hhKuHisOjmopkisLnLlvevxGs3npAOpPxG0 +2C+JFvuUAT27L/gTBaF4HI4o4EXgg/RZG5Wzrn4DReW+wkL+7vI8toUTmDKdFqgp +wgscONyfMXdcvyej/Cestyu9dJsXLfKB2l2w4SMXPohKEiPQ6s+d3gMXsUJKoBZM +pG2T6T867jp8nVid9E6P/DsjyG244gXazOvswzH016cpVIDPRFtMbzCe88zdH5RD +nU1/cHAN1DrRN/BsnZvAFJNY781BOHW8EwOVfH/jXOnVDdXifBBiqmvwPXbzP6Po +sMH976pXTayGpxi0KcEsDr9kvimM2AItzVwv8n/vFfQMFawKsPHTDU9qTXeXAaDx +Zre3zu/O7Oyldcqs4+Fj97ihBMi8ez9dLRYiVu1ISf6nL3kwJZu6ay0/nTvEF+cd +Lvvyz6b84xQslpghjLSR6Rlgg/IwKwZzUNWYOwbpx4oMYIwo+FKbbuH2TbsGJJvX +KyY//SovcfXWJL5/MZ4PbeiPT02jP/816t9JXkGPhvnxd3lLG7SjXi/7RgLQZhNe +XoVPzthwiHvOAbWWl9fNff2C+MIkwcoBOU+NosEUQB+cZtUMCUbW8tDRSHZWOkPL +tgoRObqME2wGtZ7P6wIDAQABo0IwQDAdBgNVHQ4EFgQUUTMc7TZArxfTJc1paPKv +TiM+s0EwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcN +AQEMBQADggIBAGCmr1tfV9qJ20tQqcQjNSH/0GEwhJG3PxDPJY7Jv0Y02cEhJhxw +GXIeo8mH/qlDZJY6yFMECrZBu8RHANmfGBg7sg7zNOok992vIGCukihfNudd5N7H +PNtQOa27PShNlnx2xlv0wdsUpasZYgcYQF+Xkdycx6u1UQ3maVNVzDl92sURVXLF +O4uJ+DQtpBflF+aZfTCIITfNMBc9uPK8qHWgQ9w+iUuQrm0D4ByjoJYJu32jtyoQ +REtGBzRj7TG5BO6jm5qu5jF49OokYTurWGT/u4cnYiWB39yhL/btp/96j1EuMPik +AdKFOV8BmZZvWltwGUb+hmA+rYAQCd05JS9Yf7vSdPD3Rh9GOUrYU9DzLjtxpdRv +/PNn5AeP3SYZ4Y1b+qOTEZvpyDrDVWiakuFSdjjo4bq9+0/V77PnSIMx8IIh47a+ +p6tv75/fTM8BuGJqIz3nCU2AG3swpMPdB380vqQmsvZB6Akd4yCYqjdP//fx4ilw +MUc/dNAUFvohigLVigmUdy7yWSiLfFCSCmZ4OIN1xLVaqBHG5cGdZlXPU8Sv13WF +qUITVuwhd4GTWgzqltlJyqEI8pc7bZsEGCREjnwB8twl2F6GmrE52/WRMmrRpnCK +ovfepEWFJqgejF0pW8hL2JpqA15w8oVPbEtoL8pU9ozaMv7Da4M/OMZ+ +-----END CERTIFICATE----- + +# Issuer: CN=Certainly Root R1 O=Certainly +# Subject: CN=Certainly Root R1 O=Certainly +# Label: "Certainly Root R1" +# Serial: 188833316161142517227353805653483829216 +# MD5 Fingerprint: 07:70:d4:3e:82:87:a0:fa:33:36:13:f4:fa:33:e7:12 +# SHA1 Fingerprint: a0:50:ee:0f:28:71:f4:27:b2:12:6d:6f:50:96:25:ba:cc:86:42:af +# SHA256 Fingerprint: 77:b8:2c:d8:64:4c:43:05:f7:ac:c5:cb:15:6b:45:67:50:04:03:3d:51:c6:0c:62:02:a8:e0:c3:34:67:d3:a0 +-----BEGIN CERTIFICATE----- +MIIFRzCCAy+gAwIBAgIRAI4P+UuQcWhlM1T01EQ5t+AwDQYJKoZIhvcNAQELBQAw +PTELMAkGA1UEBhMCVVMxEjAQBgNVBAoTCUNlcnRhaW5seTEaMBgGA1UEAxMRQ2Vy +dGFpbmx5IFJvb3QgUjEwHhcNMjEwNDAxMDAwMDAwWhcNNDYwNDAxMDAwMDAwWjA9 +MQswCQYDVQQGEwJVUzESMBAGA1UEChMJQ2VydGFpbmx5MRowGAYDVQQDExFDZXJ0 +YWlubHkgUm9vdCBSMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANA2 +1B/q3avk0bbm+yLA3RMNansiExyXPGhjZjKcA7WNpIGD2ngwEc/csiu+kr+O5MQT +vqRoTNoCaBZ0vrLdBORrKt03H2As2/X3oXyVtwxwhi7xOu9S98zTm/mLvg7fMbed +aFySpvXl8wo0tf97ouSHocavFwDvA5HtqRxOcT3Si2yJ9HiG5mpJoM610rCrm/b0 +1C7jcvk2xusVtyWMOvwlDbMicyF0yEqWYZL1LwsYpfSt4u5BvQF5+paMjRcCMLT5 +r3gajLQ2EBAHBXDQ9DGQilHFhiZ5shGIXsXwClTNSaa/ApzSRKft43jvRl5tcdF5 +cBxGX1HpyTfcX35pe0HfNEXgO4T0oYoKNp43zGJS4YkNKPl6I7ENPT2a/Z2B7yyQ +wHtETrtJ4A5KVpK8y7XdeReJkd5hiXSSqOMyhb5OhaRLWcsrxXiOcVTQAjeZjOVJ +6uBUcqQRBi8LjMFbvrWhsFNunLhgkR9Za/kt9JQKl7XsxXYDVBtlUrpMklZRNaBA +2CnbrlJ2Oy0wQJuK0EJWtLeIAaSHO1OWzaMWj/Nmqhexx2DgwUMFDO6bW2BvBlyH +Wyf5QBGenDPBt+U1VwV/J84XIIwc/PH72jEpSe31C4SnT8H2TsIonPru4K8H+zMR +eiFPCyEQtkA6qyI6BJyLm4SGcprSp6XEtHWRqSsjAgMBAAGjQjBAMA4GA1UdDwEB +/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTgqj8ljZ9EXME66C6u +d0yEPmcM9DANBgkqhkiG9w0BAQsFAAOCAgEAuVevuBLaV4OPaAszHQNTVfSVcOQr +PbA56/qJYv331hgELyE03fFo8NWWWt7CgKPBjcZq91l3rhVkz1t5BXdm6ozTaw3d +8VkswTOlMIAVRQdFGjEitpIAq5lNOo93r6kiyi9jyhXWx8bwPWz8HA2YEGGeEaIi +1wrykXprOQ4vMMM2SZ/g6Q8CRFA3lFV96p/2O7qUpUzpvD5RtOjKkjZUbVwlKNrd +rRT90+7iIgXr0PK3aBLXWopBGsaSpVo7Y0VPv+E6dyIvXL9G+VoDhRNCX8reU9di +taY1BMJH/5n9hN9czulegChB8n3nHpDYT3Y+gjwN/KUD+nsa2UUeYNrEjvn8K8l7 +lcUq/6qJ34IxD3L/DCfXCh5WAFAeDJDBlrXYFIW7pw0WwfgHJBu6haEaBQmAupVj +yTrsJZ9/nbqkRxWbRHDxakvWOF5D8xh+UG7pWijmZeZ3Gzr9Hb4DJqPb1OG7fpYn +Kx3upPvaJVQTA945xsMfTZDsjxtK0hzthZU4UHlG1sGQUDGpXJpuHfUzVounmdLy +yCwzk5Iwx06MZTMQZBf9JBeW0Y3COmor6xOLRPIh80oat3df1+2IpHLlOR+Vnb5n +wXARPbv0+Em34yaXOp/SX3z7wJl8OSngex2/DaeP0ik0biQVy96QXr8axGbqwua6 +OV+KmalBWQewLK8= +-----END CERTIFICATE----- + +# Issuer: CN=Certainly Root E1 O=Certainly +# Subject: CN=Certainly Root E1 O=Certainly +# Label: "Certainly Root E1" +# Serial: 8168531406727139161245376702891150584 +# MD5 Fingerprint: 0a:9e:ca:cd:3e:52:50:c6:36:f3:4b:a3:ed:a7:53:e9 +# SHA1 Fingerprint: f9:e1:6d:dc:01:89:cf:d5:82:45:63:3e:c5:37:7d:c2:eb:93:6f:2b +# SHA256 Fingerprint: b4:58:5f:22:e4:ac:75:6a:4e:86:12:a1:36:1c:5d:9d:03:1a:93:fd:84:fe:bb:77:8f:a3:06:8b:0f:c4:2d:c2 +-----BEGIN CERTIFICATE----- +MIIB9zCCAX2gAwIBAgIQBiUzsUcDMydc+Y2aub/M+DAKBggqhkjOPQQDAzA9MQsw +CQYDVQQGEwJVUzESMBAGA1UEChMJQ2VydGFpbmx5MRowGAYDVQQDExFDZXJ0YWlu +bHkgUm9vdCBFMTAeFw0yMTA0MDEwMDAwMDBaFw00NjA0MDEwMDAwMDBaMD0xCzAJ +BgNVBAYTAlVTMRIwEAYDVQQKEwlDZXJ0YWlubHkxGjAYBgNVBAMTEUNlcnRhaW5s +eSBSb290IEUxMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3m/4fxzf7flHh4axpMCK ++IKXgOqPyEpeKn2IaKcBYhSRJHpcnqMXfYqGITQYUBsQ3tA3SybHGWCA6TS9YBk2 +QNYphwk8kXr2vBMj3VlOBF7PyAIcGFPBMdjaIOlEjeR2o0IwQDAOBgNVHQ8BAf8E +BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU8ygYy2R17ikq6+2uI1g4 +hevIIgcwCgYIKoZIzj0EAwMDaAAwZQIxALGOWiDDshliTd6wT99u0nCK8Z9+aozm +ut6Dacpps6kFtZaSF4fC0urQe87YQVt8rgIwRt7qy12a7DLCZRawTDBcMPPaTnOG +BtjOiQRINzf43TNRnXCve1XYAS59BWQOhriR +-----END CERTIFICATE----- + +# Issuer: CN=Security Communication ECC RootCA1 O=SECOM Trust Systems CO.,LTD. +# Subject: CN=Security Communication ECC RootCA1 O=SECOM Trust Systems CO.,LTD. +# Label: "Security Communication ECC RootCA1" +# Serial: 15446673492073852651 +# MD5 Fingerprint: 7e:43:b0:92:68:ec:05:43:4c:98:ab:5d:35:2e:7e:86 +# SHA1 Fingerprint: b8:0e:26:a9:bf:d2:b2:3b:c0:ef:46:c9:ba:c7:bb:f6:1d:0d:41:41 +# SHA256 Fingerprint: e7:4f:bd:a5:5b:d5:64:c4:73:a3:6b:44:1a:a7:99:c8:a6:8e:07:74:40:e8:28:8b:9f:a1:e5:0e:4b:ba:ca:11 +-----BEGIN CERTIFICATE----- +MIICODCCAb6gAwIBAgIJANZdm7N4gS7rMAoGCCqGSM49BAMDMGExCzAJBgNVBAYT +AkpQMSUwIwYDVQQKExxTRUNPTSBUcnVzdCBTeXN0ZW1zIENPLixMVEQuMSswKQYD +VQQDEyJTZWN1cml0eSBDb21tdW5pY2F0aW9uIEVDQyBSb290Q0ExMB4XDTE2MDYx +NjA1MTUyOFoXDTM4MDExODA1MTUyOFowYTELMAkGA1UEBhMCSlAxJTAjBgNVBAoT +HFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xKzApBgNVBAMTIlNlY3VyaXR5 +IENvbW11bmljYXRpb24gRUNDIFJvb3RDQTEwdjAQBgcqhkjOPQIBBgUrgQQAIgNi +AASkpW9gAwPDvTH00xecK4R1rOX9PVdu12O/5gSJko6BnOPpR27KkBLIE+Cnnfdl +dB9sELLo5OnvbYUymUSxXv3MdhDYW72ixvnWQuRXdtyQwjWpS4g8EkdtXP9JTxpK +ULGjQjBAMB0GA1UdDgQWBBSGHOf+LaVKiwj+KBH6vqNm+GBZLzAOBgNVHQ8BAf8E +BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjAVXUI9/Lbu +9zuxNuie9sRGKEkz0FhDKmMpzE2xtHqiuQ04pV1IKv3LsnNdo4gIxwwCMQDAqy0O +be0YottT6SXbVQjgUMzfRGEWgqtJsLKB7HOHeLRMsmIbEvoWTSVLY70eN9k= +-----END CERTIFICATE----- + +# Issuer: CN=BJCA Global Root CA1 O=BEIJING CERTIFICATE AUTHORITY +# Subject: CN=BJCA Global Root CA1 O=BEIJING CERTIFICATE AUTHORITY +# Label: "BJCA Global Root CA1" +# Serial: 113562791157148395269083148143378328608 +# MD5 Fingerprint: 42:32:99:76:43:33:36:24:35:07:82:9b:28:f9:d0:90 +# SHA1 Fingerprint: d5:ec:8d:7b:4c:ba:79:f4:e7:e8:cb:9d:6b:ae:77:83:10:03:21:6a +# SHA256 Fingerprint: f3:89:6f:88:fe:7c:0a:88:27:66:a7:fa:6a:d2:74:9f:b5:7a:7f:3e:98:fb:76:9c:1f:a7:b0:9c:2c:44:d5:ae +-----BEGIN CERTIFICATE----- +MIIFdDCCA1ygAwIBAgIQVW9l47TZkGobCdFsPsBsIDANBgkqhkiG9w0BAQsFADBU +MQswCQYDVQQGEwJDTjEmMCQGA1UECgwdQkVJSklORyBDRVJUSUZJQ0FURSBBVVRI +T1JJVFkxHTAbBgNVBAMMFEJKQ0EgR2xvYmFsIFJvb3QgQ0ExMB4XDTE5MTIxOTAz +MTYxN1oXDTQ0MTIxMjAzMTYxN1owVDELMAkGA1UEBhMCQ04xJjAkBgNVBAoMHUJF +SUpJTkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZMR0wGwYDVQQDDBRCSkNBIEdsb2Jh +bCBSb290IENBMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAPFmCL3Z +xRVhy4QEQaVpN3cdwbB7+sN3SJATcmTRuHyQNZ0YeYjjlwE8R4HyDqKYDZ4/N+AZ +spDyRhySsTphzvq3Rp4Dhtczbu33RYx2N95ulpH3134rhxfVizXuhJFyV9xgw8O5 +58dnJCNPYwpj9mZ9S1WnP3hkSWkSl+BMDdMJoDIwOvqfwPKcxRIqLhy1BDPapDgR +at7GGPZHOiJBhyL8xIkoVNiMpTAK+BcWyqw3/XmnkRd4OJmtWO2y3syJfQOcs4ll +5+M7sSKGjwZteAf9kRJ/sGsciQ35uMt0WwfCyPQ10WRjeulumijWML3mG90Vr4Tq +nMfK9Q7q8l0ph49pczm+LiRvRSGsxdRpJQaDrXpIhRMsDQa4bHlW/KNnMoH1V6XK +V0Jp6VwkYe/iMBhORJhVb3rCk9gZtt58R4oRTklH2yiUAguUSiz5EtBP6DF+bHq/ +pj+bOT0CFqMYs2esWz8sgytnOYFcuX6U1WTdno9uruh8W7TXakdI136z1C2OVnZO +z2nxbkRs1CTqjSShGL+9V/6pmTW12xB3uD1IutbB5/EjPtffhZ0nPNRAvQoMvfXn +jSXWgXSHRtQpdaJCbPdzied9v3pKH9MiyRVVz99vfFXQpIsHETdfg6YmV6YBW37+ +WGgHqel62bno/1Afq8K0wM7o6v0PvY1NuLxxAgMBAAGjQjBAMB0GA1UdDgQWBBTF +7+3M2I0hxkjk49cULqcWk+WYATAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQE +AwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAUoKsITQfI/Ki2Pm4rzc2IInRNwPWaZ+4 +YRC6ojGYWUfo0Q0lHhVBDOAqVdVXUsv45Mdpox1NcQJeXyFFYEhcCY5JEMEE3Kli +awLwQ8hOnThJdMkycFRtwUf8jrQ2ntScvd0g1lPJGKm1Vrl2i5VnZu69mP6u775u ++2D2/VnGKhs/I0qUJDAnyIm860Qkmss9vk/Ves6OF8tiwdneHg56/0OGNFK8YT88 +X7vZdrRTvJez/opMEi4r89fO4aL/3Xtw+zuhTaRjAv04l5U/BXCga99igUOLtFkN +SoxUnMW7gZ/NfaXvCyUeOiDbHPwfmGcCCtRzRBPbUYQaVQNW4AB+dAb/OMRyHdOo +P2gxXdMJxy6MW2Pg6Nwe0uxhHvLe5e/2mXZgLR6UcnHGCyoyx5JO1UbXHfmpGQrI ++pXObSOYqgs4rZpWDW+N8TEAiMEXnM0ZNjX+VVOg4DwzX5Ze4jLp3zO7Bkqp2IRz +znfSxqxx4VyjHQy7Ct9f4qNx2No3WqB4K/TUfet27fJhcKVlmtOJNBir+3I+17Q9 +eVzYH6Eze9mCUAyTF6ps3MKCuwJXNq+YJyo5UOGwifUll35HaBC07HPKs5fRJNz2 +YqAo07WjuGS3iGJCz51TzZm+ZGiPTx4SSPfSKcOYKMryMguTjClPPGAyzQWWYezy +r/6zcCwupvI= +-----END CERTIFICATE----- + +# Issuer: CN=BJCA Global Root CA2 O=BEIJING CERTIFICATE AUTHORITY +# Subject: CN=BJCA Global Root CA2 O=BEIJING CERTIFICATE AUTHORITY +# Label: "BJCA Global Root CA2" +# Serial: 58605626836079930195615843123109055211 +# MD5 Fingerprint: 5e:0a:f6:47:5f:a6:14:e8:11:01:95:3f:4d:01:eb:3c +# SHA1 Fingerprint: f4:27:86:eb:6e:b8:6d:88:31:67:02:fb:ba:66:a4:53:00:aa:7a:a6 +# SHA256 Fingerprint: 57:4d:f6:93:1e:27:80:39:66:7b:72:0a:fd:c1:60:0f:c2:7e:b6:6d:d3:09:29:79:fb:73:85:64:87:21:28:82 +-----BEGIN CERTIFICATE----- +MIICJTCCAaugAwIBAgIQLBcIfWQqwP6FGFkGz7RK6zAKBggqhkjOPQQDAzBUMQsw +CQYDVQQGEwJDTjEmMCQGA1UECgwdQkVJSklORyBDRVJUSUZJQ0FURSBBVVRIT1JJ +VFkxHTAbBgNVBAMMFEJKQ0EgR2xvYmFsIFJvb3QgQ0EyMB4XDTE5MTIxOTAzMTgy +MVoXDTQ0MTIxMjAzMTgyMVowVDELMAkGA1UEBhMCQ04xJjAkBgNVBAoMHUJFSUpJ +TkcgQ0VSVElGSUNBVEUgQVVUSE9SSVRZMR0wGwYDVQQDDBRCSkNBIEdsb2JhbCBS +b290IENBMjB2MBAGByqGSM49AgEGBSuBBAAiA2IABJ3LgJGNU2e1uVCxA/jlSR9B +IgmwUVJY1is0j8USRhTFiy8shP8sbqjV8QnjAyEUxEM9fMEsxEtqSs3ph+B99iK+ ++kpRuDCK/eHeGBIK9ke35xe/J4rUQUyWPGCWwf0VHKNCMEAwHQYDVR0OBBYEFNJK +sVF/BvDRgh9Obl+rg/xI1LCRMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQD +AgEGMAoGCCqGSM49BAMDA2gAMGUCMBq8W9f+qdJUDkpd0m2xQNz0Q9XSSpkZElaA +94M04TVOSG0ED1cxMDAtsaqdAzjbBgIxAMvMh1PLet8gUXOQwKhbYdDFUDn9hf7B +43j4ptZLvZuHjw/l1lOWqzzIQNph91Oj9w== +-----END CERTIFICATE----- + +# Issuer: CN=Sectigo Public Server Authentication Root E46 O=Sectigo Limited +# Subject: CN=Sectigo Public Server Authentication Root E46 O=Sectigo Limited +# Label: "Sectigo Public Server Authentication Root E46" +# Serial: 88989738453351742415770396670917916916 +# MD5 Fingerprint: 28:23:f8:b2:98:5c:37:16:3b:3e:46:13:4e:b0:b3:01 +# SHA1 Fingerprint: ec:8a:39:6c:40:f0:2e:bc:42:75:d4:9f:ab:1c:1a:5b:67:be:d2:9a +# SHA256 Fingerprint: c9:0f:26:f0:fb:1b:40:18:b2:22:27:51:9b:5c:a2:b5:3e:2c:a5:b3:be:5c:f1:8e:fe:1b:ef:47:38:0c:53:83 +-----BEGIN CERTIFICATE----- +MIICOjCCAcGgAwIBAgIQQvLM2htpN0RfFf51KBC49DAKBggqhkjOPQQDAzBfMQsw +CQYDVQQGEwJHQjEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTYwNAYDVQQDEy1T +ZWN0aWdvIFB1YmxpYyBTZXJ2ZXIgQXV0aGVudGljYXRpb24gUm9vdCBFNDYwHhcN +MjEwMzIyMDAwMDAwWhcNNDYwMzIxMjM1OTU5WjBfMQswCQYDVQQGEwJHQjEYMBYG +A1UEChMPU2VjdGlnbyBMaW1pdGVkMTYwNAYDVQQDEy1TZWN0aWdvIFB1YmxpYyBT +ZXJ2ZXIgQXV0aGVudGljYXRpb24gUm9vdCBFNDYwdjAQBgcqhkjOPQIBBgUrgQQA +IgNiAAR2+pmpbiDt+dd34wc7qNs9Xzjoq1WmVk/WSOrsfy2qw7LFeeyZYX8QeccC +WvkEN/U0NSt3zn8gj1KjAIns1aeibVvjS5KToID1AZTc8GgHHs3u/iVStSBDHBv+ +6xnOQ6OjQjBAMB0GA1UdDgQWBBTRItpMWfFLXyY4qp3W7usNw/upYTAOBgNVHQ8B +Af8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNnADBkAjAn7qRa +qCG76UeXlImldCBteU/IvZNeWBj7LRoAasm4PdCkT0RHlAFWovgzJQxC36oCMB3q +4S6ILuH5px0CMk7yn2xVdOOurvulGu7t0vzCAxHrRVxgED1cf5kDW21USAGKcw== +-----END CERTIFICATE----- + +# Issuer: CN=Sectigo Public Server Authentication Root R46 O=Sectigo Limited +# Subject: CN=Sectigo Public Server Authentication Root R46 O=Sectigo Limited +# Label: "Sectigo Public Server Authentication Root R46" +# Serial: 156256931880233212765902055439220583700 +# MD5 Fingerprint: 32:10:09:52:00:d5:7e:6c:43:df:15:c0:b1:16:93:e5 +# SHA1 Fingerprint: ad:98:f9:f3:e4:7d:75:3b:65:d4:82:b3:a4:52:17:bb:6e:f5:e4:38 +# SHA256 Fingerprint: 7b:b6:47:a6:2a:ee:ac:88:bf:25:7a:a5:22:d0:1f:fe:a3:95:e0:ab:45:c7:3f:93:f6:56:54:ec:38:f2:5a:06 +-----BEGIN CERTIFICATE----- +MIIFijCCA3KgAwIBAgIQdY39i658BwD6qSWn4cetFDANBgkqhkiG9w0BAQwFADBf +MQswCQYDVQQGEwJHQjEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTYwNAYDVQQD +Ey1TZWN0aWdvIFB1YmxpYyBTZXJ2ZXIgQXV0aGVudGljYXRpb24gUm9vdCBSNDYw +HhcNMjEwMzIyMDAwMDAwWhcNNDYwMzIxMjM1OTU5WjBfMQswCQYDVQQGEwJHQjEY +MBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTYwNAYDVQQDEy1TZWN0aWdvIFB1Ymxp +YyBTZXJ2ZXIgQXV0aGVudGljYXRpb24gUm9vdCBSNDYwggIiMA0GCSqGSIb3DQEB +AQUAA4ICDwAwggIKAoICAQCTvtU2UnXYASOgHEdCSe5jtrch/cSV1UgrJnwUUxDa +ef0rty2k1Cz66jLdScK5vQ9IPXtamFSvnl0xdE8H/FAh3aTPaE8bEmNtJZlMKpnz +SDBh+oF8HqcIStw+KxwfGExxqjWMrfhu6DtK2eWUAtaJhBOqbchPM8xQljeSM9xf +iOefVNlI8JhD1mb9nxc4Q8UBUQvX4yMPFF1bFOdLvt30yNoDN9HWOaEhUTCDsG3X +ME6WW5HwcCSrv0WBZEMNvSE6Lzzpng3LILVCJ8zab5vuZDCQOc2TZYEhMbUjUDM3 +IuM47fgxMMxF/mL50V0yeUKH32rMVhlATc6qu/m1dkmU8Sf4kaWD5QazYw6A3OAS +VYCmO2a0OYctyPDQ0RTp5A1NDvZdV3LFOxxHVp3i1fuBYYzMTYCQNFu31xR13NgE +SJ/AwSiItOkcyqex8Va3e0lMWeUgFaiEAin6OJRpmkkGj80feRQXEgyDet4fsZfu ++Zd4KKTIRJLpfSYFplhym3kT2BFfrsU4YjRosoYwjviQYZ4ybPUHNs2iTG7sijbt +8uaZFURww3y8nDnAtOFr94MlI1fZEoDlSfB1D++N6xybVCi0ITz8fAr/73trdf+L +HaAZBav6+CuBQug4urv7qv094PPK306Xlynt8xhW6aWWrL3DkJiy4Pmi1KZHQ3xt +zwIDAQABo0IwQDAdBgNVHQ4EFgQUVnNYZJX5khqwEioEYnmhQBWIIUkwDgYDVR0P +AQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAC9c +mTz8Bl6MlC5w6tIyMY208FHVvArzZJ8HXtXBc2hkeqK5Duj5XYUtqDdFqij0lgVQ +YKlJfp/imTYpE0RHap1VIDzYm/EDMrraQKFz6oOht0SmDpkBm+S8f74TlH7Kph52 +gDY9hAaLMyZlbcp+nv4fjFg4exqDsQ+8FxG75gbMY/qB8oFM2gsQa6H61SilzwZA +Fv97fRheORKkU55+MkIQpiGRqRxOF3yEvJ+M0ejf5lG5Nkc/kLnHvALcWxxPDkjB +JYOcCj+esQMzEhonrPcibCTRAUH4WAP+JWgiH5paPHxsnnVI84HxZmduTILA7rpX +DhjvLpr3Etiga+kFpaHpaPi8TD8SHkXoUsCjvxInebnMMTzD9joiFgOgyY9mpFui +TdaBJQbpdqQACj7LzTWb4OE4y2BThihCQRxEV+ioratF4yUQvNs+ZUH7G6aXD+u5 +dHn5HrwdVw1Hr8Mvn4dGp+smWg9WY7ViYG4A++MnESLn/pmPNPW56MORcr3Ywx65 +LvKRRFHQV80MNNVIIb/bE/FmJUNS0nAiNs2fxBx1IK1jcmMGDw4nztJqDby1ORrp +0XZ60Vzk50lJLVU3aPAaOpg+VBeHVOmmJ1CJeyAvP/+/oYtKR5j/K3tJPsMpRmAY +QqszKbrAKbkTidOIijlBO8n9pu0f9GBj39ItVQGL +-----END CERTIFICATE----- + +# Issuer: CN=SSL.com TLS RSA Root CA 2022 O=SSL Corporation +# Subject: CN=SSL.com TLS RSA Root CA 2022 O=SSL Corporation +# Label: "SSL.com TLS RSA Root CA 2022" +# Serial: 148535279242832292258835760425842727825 +# MD5 Fingerprint: d8:4e:c6:59:30:d8:fe:a0:d6:7a:5a:2c:2c:69:78:da +# SHA1 Fingerprint: ec:2c:83:40:72:af:26:95:10:ff:0e:f2:03:ee:31:70:f6:78:9d:ca +# SHA256 Fingerprint: 8f:af:7d:2e:2c:b4:70:9b:b8:e0:b3:36:66:bf:75:a5:dd:45:b5:de:48:0f:8e:a8:d4:bf:e6:be:bc:17:f2:ed +-----BEGIN CERTIFICATE----- +MIIFiTCCA3GgAwIBAgIQb77arXO9CEDii02+1PdbkTANBgkqhkiG9w0BAQsFADBO +MQswCQYDVQQGEwJVUzEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMSUwIwYDVQQD +DBxTU0wuY29tIFRMUyBSU0EgUm9vdCBDQSAyMDIyMB4XDTIyMDgyNTE2MzQyMloX +DTQ2MDgxOTE2MzQyMVowTjELMAkGA1UEBhMCVVMxGDAWBgNVBAoMD1NTTCBDb3Jw +b3JhdGlvbjElMCMGA1UEAwwcU1NMLmNvbSBUTFMgUlNBIFJvb3QgQ0EgMjAyMjCC +AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANCkCXJPQIgSYT41I57u9nTP +L3tYPc48DRAokC+X94xI2KDYJbFMsBFMF3NQ0CJKY7uB0ylu1bUJPiYYf7ISf5OY +t6/wNr/y7hienDtSxUcZXXTzZGbVXcdotL8bHAajvI9AI7YexoS9UcQbOcGV0ins +S657Lb85/bRi3pZ7QcacoOAGcvvwB5cJOYF0r/c0WRFXCsJbwST0MXMwgsadugL3 +PnxEX4MN8/HdIGkWCVDi1FW24IBydm5MR7d1VVm0U3TZlMZBrViKMWYPHqIbKUBO +L9975hYsLfy/7PO0+r4Y9ptJ1O4Fbtk085zx7AGL0SDGD6C1vBdOSHtRwvzpXGk3 +R2azaPgVKPC506QVzFpPulJwoxJF3ca6TvvC0PeoUidtbnm1jPx7jMEWTO6Af77w +dr5BUxIzrlo4QqvXDz5BjXYHMtWrifZOZ9mxQnUjbvPNQrL8VfVThxc7wDNY8VLS ++YCk8OjwO4s4zKTGkH8PnP2L0aPP2oOnaclQNtVcBdIKQXTbYxE3waWglksejBYS +d66UNHsef8JmAOSqg+qKkK3ONkRN0VHpvB/zagX9wHQfJRlAUW7qglFA35u5CCoG +AtUjHBPW6dvbxrB6y3snm/vg1UYk7RBLY0ulBY+6uB0rpvqR4pJSvezrZ5dtmi2f +gTIFZzL7SAg/2SW4BCUvAgMBAAGjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0j +BBgwFoAU+y437uOEeicuzRk1sTN8/9REQrkwHQYDVR0OBBYEFPsuN+7jhHonLs0Z +NbEzfP/UREK5MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAAOCAgEAjYlt +hEUY8U+zoO9opMAdrDC8Z2awms22qyIZZtM7QbUQnRC6cm4pJCAcAZli05bg4vsM +QtfhWsSWTVTNj8pDU/0quOr4ZcoBwq1gaAafORpR2eCNJvkLTqVTJXojpBzOCBvf +R4iyrT7gJ4eLSYwfqUdYe5byiB0YrrPRpgqU+tvT5TgKa3kSM/tKWTcWQA673vWJ +DPFs0/dRa1419dvAJuoSc06pkZCmF8NsLzjUo3KUQyxi4U5cMj29TH0ZR6LDSeeW +P4+a0zvkEdiLA9z2tmBVGKaBUfPhqBVq6+AL8BQx1rmMRTqoENjwuSfr98t67wVy +lrXEj5ZzxOhWc5y8aVFjvO9nHEMaX3cZHxj4HCUp+UmZKbaSPaKDN7EgkaibMOlq +bLQjk2UEqxHzDh1TJElTHaE/nUiSEeJ9DU/1172iWD54nR4fK/4huxoTtrEoZP2w +AgDHbICivRZQIA9ygV/MlP+7mea6kMvq+cYMwq7FGc4zoWtcu358NFcXrfA/rs3q +r5nsLFR+jM4uElZI7xc7P0peYNLcdDa8pUNjyw9bowJWCZ4kLOGGgYz+qxcs+sji +Mho6/4UIyYOf8kpIEFR3N+2ivEC+5BB09+Rbu7nzifmPQdjH5FCQNYA+HLhNkNPU +98OwoX6EyneSMSy4kLGCenROmxMmtNVQZlR4rmA= +-----END CERTIFICATE----- + +# Issuer: CN=SSL.com TLS ECC Root CA 2022 O=SSL Corporation +# Subject: CN=SSL.com TLS ECC Root CA 2022 O=SSL Corporation +# Label: "SSL.com TLS ECC Root CA 2022" +# Serial: 26605119622390491762507526719404364228 +# MD5 Fingerprint: 99:d7:5c:f1:51:36:cc:e9:ce:d9:19:2e:77:71:56:c5 +# SHA1 Fingerprint: 9f:5f:d9:1a:54:6d:f5:0c:71:f0:ee:7a:bd:17:49:98:84:73:e2:39 +# SHA256 Fingerprint: c3:2f:fd:9f:46:f9:36:d1:6c:36:73:99:09:59:43:4b:9a:d6:0a:af:bb:9e:7c:f3:36:54:f1:44:cc:1b:a1:43 +-----BEGIN CERTIFICATE----- +MIICOjCCAcCgAwIBAgIQFAP1q/s3ixdAW+JDsqXRxDAKBggqhkjOPQQDAzBOMQsw +CQYDVQQGEwJVUzEYMBYGA1UECgwPU1NMIENvcnBvcmF0aW9uMSUwIwYDVQQDDBxT +U0wuY29tIFRMUyBFQ0MgUm9vdCBDQSAyMDIyMB4XDTIyMDgyNTE2MzM0OFoXDTQ2 +MDgxOTE2MzM0N1owTjELMAkGA1UEBhMCVVMxGDAWBgNVBAoMD1NTTCBDb3Jwb3Jh +dGlvbjElMCMGA1UEAwwcU1NMLmNvbSBUTFMgRUNDIFJvb3QgQ0EgMjAyMjB2MBAG +ByqGSM49AgEGBSuBBAAiA2IABEUpNXP6wrgjzhR9qLFNoFs27iosU8NgCTWyJGYm +acCzldZdkkAZDsalE3D07xJRKF3nzL35PIXBz5SQySvOkkJYWWf9lCcQZIxPBLFN +SeR7T5v15wj4A4j3p8OSSxlUgaNjMGEwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSME +GDAWgBSJjy+j6CugFFR781a4Jl9nOAuc0DAdBgNVHQ4EFgQUiY8vo+groBRUe/NW +uCZfZzgLnNAwDgYDVR0PAQH/BAQDAgGGMAoGCCqGSM49BAMDA2gAMGUCMFXjIlbp +15IkWE8elDIPDAI2wv2sdDJO4fscgIijzPvX6yv/N33w7deedWo1dlJF4AIxAMeN +b0Igj762TVntd00pxCAgRWSGOlDGxK0tk/UYfXLtqc/ErFc2KAhl3zx5Zn6g6g== +-----END CERTIFICATE----- + +# Issuer: CN=Atos TrustedRoot Root CA ECC TLS 2021 O=Atos +# Subject: CN=Atos TrustedRoot Root CA ECC TLS 2021 O=Atos +# Label: "Atos TrustedRoot Root CA ECC TLS 2021" +# Serial: 81873346711060652204712539181482831616 +# MD5 Fingerprint: 16:9f:ad:f1:70:ad:79:d6:ed:29:b4:d1:c5:79:70:a8 +# SHA1 Fingerprint: 9e:bc:75:10:42:b3:02:f3:81:f4:f7:30:62:d4:8f:c3:a7:51:b2:dd +# SHA256 Fingerprint: b2:fa:e5:3e:14:cc:d7:ab:92:12:06:47:01:ae:27:9c:1d:89:88:fa:cb:77:5f:a8:a0:08:91:4e:66:39:88:a8 +-----BEGIN CERTIFICATE----- +MIICFTCCAZugAwIBAgIQPZg7pmY9kGP3fiZXOATvADAKBggqhkjOPQQDAzBMMS4w +LAYDVQQDDCVBdG9zIFRydXN0ZWRSb290IFJvb3QgQ0EgRUNDIFRMUyAyMDIxMQ0w +CwYDVQQKDARBdG9zMQswCQYDVQQGEwJERTAeFw0yMTA0MjIwOTI2MjNaFw00MTA0 +MTcwOTI2MjJaMEwxLjAsBgNVBAMMJUF0b3MgVHJ1c3RlZFJvb3QgUm9vdCBDQSBF +Q0MgVExTIDIwMjExDTALBgNVBAoMBEF0b3MxCzAJBgNVBAYTAkRFMHYwEAYHKoZI +zj0CAQYFK4EEACIDYgAEloZYKDcKZ9Cg3iQZGeHkBQcfl+3oZIK59sRxUM6KDP/X +tXa7oWyTbIOiaG6l2b4siJVBzV3dscqDY4PMwL502eCdpO5KTlbgmClBk1IQ1SQ4 +AjJn8ZQSb+/Xxd4u/RmAo0IwQDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBR2 +KCXWfeBmmnoJsmo7jjPXNtNPojAOBgNVHQ8BAf8EBAMCAYYwCgYIKoZIzj0EAwMD +aAAwZQIwW5kp85wxtolrbNa9d+F851F+uDrNozZffPc8dz7kUK2o59JZDCaOMDtu +CCrCp1rIAjEAmeMM56PDr9NJLkaCI2ZdyQAUEv049OGYa3cpetskz2VAv9LcjBHo +9H1/IISpQuQo +-----END CERTIFICATE----- + +# Issuer: CN=Atos TrustedRoot Root CA RSA TLS 2021 O=Atos +# Subject: CN=Atos TrustedRoot Root CA RSA TLS 2021 O=Atos +# Label: "Atos TrustedRoot Root CA RSA TLS 2021" +# Serial: 111436099570196163832749341232207667876 +# MD5 Fingerprint: d4:d3:46:b8:9a:c0:9c:76:5d:9e:3a:c3:b9:99:31:d2 +# SHA1 Fingerprint: 18:52:3b:0d:06:37:e4:d6:3a:df:23:e4:98:fb:5b:16:fb:86:74:48 +# SHA256 Fingerprint: 81:a9:08:8e:a5:9f:b3:64:c5:48:a6:f8:55:59:09:9b:6f:04:05:ef:bf:18:e5:32:4e:c9:f4:57:ba:00:11:2f +-----BEGIN CERTIFICATE----- +MIIFZDCCA0ygAwIBAgIQU9XP5hmTC/srBRLYwiqipDANBgkqhkiG9w0BAQwFADBM +MS4wLAYDVQQDDCVBdG9zIFRydXN0ZWRSb290IFJvb3QgQ0EgUlNBIFRMUyAyMDIx +MQ0wCwYDVQQKDARBdG9zMQswCQYDVQQGEwJERTAeFw0yMTA0MjIwOTIxMTBaFw00 +MTA0MTcwOTIxMDlaMEwxLjAsBgNVBAMMJUF0b3MgVHJ1c3RlZFJvb3QgUm9vdCBD +QSBSU0EgVExTIDIwMjExDTALBgNVBAoMBEF0b3MxCzAJBgNVBAYTAkRFMIICIjAN +BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAtoAOxHm9BYx9sKOdTSJNy/BBl01Z +4NH+VoyX8te9j2y3I49f1cTYQcvyAh5x5en2XssIKl4w8i1mx4QbZFc4nXUtVsYv +Ye+W/CBGvevUez8/fEc4BKkbqlLfEzfTFRVOvV98r61jx3ncCHvVoOX3W3WsgFWZ +kmGbzSoXfduP9LVq6hdKZChmFSlsAvFr1bqjM9xaZ6cF4r9lthawEO3NUDPJcFDs +GY6wx/J0W2tExn2WuZgIWWbeKQGb9Cpt0xU6kGpn8bRrZtkh68rZYnxGEFzedUln +nkL5/nWpo63/dgpnQOPF943HhZpZnmKaau1Fh5hnstVKPNe0OwANwI8f4UDErmwh +3El+fsqyjW22v5MvoVw+j8rtgI5Y4dtXz4U2OLJxpAmMkokIiEjxQGMYsluMWuPD +0xeqqxmjLBvk1cbiZnrXghmmOxYsL3GHX0WelXOTwkKBIROW1527k2gV+p2kHYzy +geBYBr3JtuP2iV2J+axEoctr+hbxx1A9JNr3w+SH1VbxT5Aw+kUJWdo0zuATHAR8 +ANSbhqRAvNncTFd+rrcztl524WWLZt+NyteYr842mIycg5kDcPOvdO3GDjbnvezB +c6eUWsuSZIKmAMFwoW4sKeFYV+xafJlrJaSQOoD0IJ2azsct+bJLKZWD6TWNp0lI +pw9MGZHQ9b8Q4HECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU +dEmZ0f+0emhFdcN+tNzMzjkz2ggwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEB +DAUAA4ICAQAjQ1MkYlxt/T7Cz1UAbMVWiLkO3TriJQ2VSpfKgInuKs1l+NsW4AmS +4BjHeJi78+xCUvuppILXTdiK/ORO/auQxDh1MoSf/7OwKwIzNsAQkG8dnK/haZPs +o0UvFJ/1TCplQ3IM98P4lYsU84UgYt1UU90s3BiVaU+DR3BAM1h3Egyi61IxHkzJ +qM7F78PRreBrAwA0JrRUITWXAdxfG/F851X6LWh3e9NpzNMOa7pNdkTWwhWaJuyw +xfW70Xp0wmzNxbVe9kzmWy2B27O3Opee7c9GslA9hGCZcbUztVdF5kJHdWoOsAgM +rr3e97sPWD2PAzHoPYJQyi9eDF20l74gNAf0xBLh7tew2VktafcxBPTy+av5EzH4 +AXcOPUIjJsyacmdRIXrMPIWo6iFqO9taPKU0nprALN+AnCng33eU0aKAQv9qTFsR +0PXNor6uzFFcw9VUewyu1rkGd4Di7wcaaMxZUa1+XGdrudviB0JbuAEFWDlN5LuY +o7Ey7Nmj1m+UI/87tyll5gfp77YZ6ufCOB0yiJA8EytuzO+rdwY0d4RPcuSBhPm5 +dDTedk+SKlOxJTnbPP/lPqYO5Wue/9vsL3SD3460s6neFE3/MaNFcyT6lSnMEpcE +oji2jbDwN/zIIX8/syQbPYtuzE2wFg2WHYMfRsCbvUOZ58SWLs5fyQ== +-----END CERTIFICATE----- + +# Issuer: CN=TrustAsia Global Root CA G3 O=TrustAsia Technologies, Inc. +# Subject: CN=TrustAsia Global Root CA G3 O=TrustAsia Technologies, Inc. +# Label: "TrustAsia Global Root CA G3" +# Serial: 576386314500428537169965010905813481816650257167 +# MD5 Fingerprint: 30:42:1b:b7:bb:81:75:35:e4:16:4f:53:d2:94:de:04 +# SHA1 Fingerprint: 63:cf:b6:c1:27:2b:56:e4:88:8e:1c:23:9a:b6:2e:81:47:24:c3:c7 +# SHA256 Fingerprint: e0:d3:22:6a:eb:11:63:c2:e4:8f:f9:be:3b:50:b4:c6:43:1b:e7:bb:1e:ac:c5:c3:6b:5d:5e:c5:09:03:9a:08 +-----BEGIN CERTIFICATE----- +MIIFpTCCA42gAwIBAgIUZPYOZXdhaqs7tOqFhLuxibhxkw8wDQYJKoZIhvcNAQEM +BQAwWjELMAkGA1UEBhMCQ04xJTAjBgNVBAoMHFRydXN0QXNpYSBUZWNobm9sb2dp +ZXMsIEluYy4xJDAiBgNVBAMMG1RydXN0QXNpYSBHbG9iYWwgUm9vdCBDQSBHMzAe +Fw0yMTA1MjAwMjEwMTlaFw00NjA1MTkwMjEwMTlaMFoxCzAJBgNVBAYTAkNOMSUw +IwYDVQQKDBxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMuMSQwIgYDVQQDDBtU +cnVzdEFzaWEgR2xvYmFsIFJvb3QgQ0EgRzMwggIiMA0GCSqGSIb3DQEBAQUAA4IC +DwAwggIKAoICAQDAMYJhkuSUGwoqZdC+BqmHO1ES6nBBruL7dOoKjbmzTNyPtxNS +T1QY4SxzlZHFZjtqz6xjbYdT8PfxObegQ2OwxANdV6nnRM7EoYNl9lA+sX4WuDqK +AtCWHwDNBSHvBm3dIZwZQ0WhxeiAysKtQGIXBsaqvPPW5vxQfmZCHzyLpnl5hkA1 +nyDvP+uLRx+PjsXUjrYsyUQE49RDdT/VP68czH5GX6zfZBCK70bwkPAPLfSIC7Ep +qq+FqklYqL9joDiR5rPmd2jE+SoZhLsO4fWvieylL1AgdB4SQXMeJNnKziyhWTXA +yB1GJ2Faj/lN03J5Zh6fFZAhLf3ti1ZwA0pJPn9pMRJpxx5cynoTi+jm9WAPzJMs +hH/x/Gr8m0ed262IPfN2dTPXS6TIi/n1Q1hPy8gDVI+lhXgEGvNz8teHHUGf59gX +zhqcD0r83ERoVGjiQTz+LISGNzzNPy+i2+f3VANfWdP3kXjHi3dqFuVJhZBFcnAv +kV34PmVACxmZySYgWmjBNb9Pp1Hx2BErW+Canig7CjoKH8GB5S7wprlppYiU5msT +f9FkPz2ccEblooV7WIQn3MSAPmeamseaMQ4w7OYXQJXZRe0Blqq/DPNL0WP3E1jA +uPP6Z92bfW1K/zJMtSU7/xxnD4UiWQWRkUF3gdCFTIcQcf+eQxuulXUtgQIDAQAB +o2MwYTAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFEDk5PIj7zjKsK5Xf/Ih +MBY027ySMB0GA1UdDgQWBBRA5OTyI+84yrCuV3/yITAWNNu8kjAOBgNVHQ8BAf8E +BAMCAQYwDQYJKoZIhvcNAQEMBQADggIBACY7UeFNOPMyGLS0XuFlXsSUT9SnYaP4 +wM8zAQLpw6o1D/GUE3d3NZ4tVlFEbuHGLige/9rsR82XRBf34EzC4Xx8MnpmyFq2 +XFNFV1pF1AWZLy4jVe5jaN/TG3inEpQGAHUNcoTpLrxaatXeL1nHo+zSh2bbt1S1 +JKv0Q3jbSwTEb93mPmY+KfJLaHEih6D4sTNjduMNhXJEIlU/HHzp/LgV6FL6qj6j +ITk1dImmasI5+njPtqzn59ZW/yOSLlALqbUHM/Q4X6RJpstlcHboCoWASzY9M/eV +VHUl2qzEc4Jl6VL1XP04lQJqaTDFHApXB64ipCz5xUG3uOyfT0gA+QEEVcys+TIx +xHWVBqB/0Y0n3bOppHKH/lmLmnp0Ft0WpWIp6zqW3IunaFnT63eROfjXy9mPX1on +AX1daBli2MjN9LdyR75bl87yraKZk62Uy5P2EgmVtqvXO9A/EcswFi55gORngS1d +7XB4tmBZrOFdRWOPyN9yaFvqHbgB8X7754qz41SgOAngPN5C8sLtLpvzHzW2Ntjj +gKGLzZlkD8Kqq7HK9W+eQ42EVJmzbsASZthwEPEGNTNDqJwuuhQxzhB/HIbjj9LV ++Hfsm6vxL2PZQl/gZ4FkkfGXL/xuJvYz+NO1+MRiqzFRJQJ6+N1rZdVtTTDIZbpo +FGWsJwt0ivKH +-----END CERTIFICATE----- + +# Issuer: CN=TrustAsia Global Root CA G4 O=TrustAsia Technologies, Inc. +# Subject: CN=TrustAsia Global Root CA G4 O=TrustAsia Technologies, Inc. +# Label: "TrustAsia Global Root CA G4" +# Serial: 451799571007117016466790293371524403291602933463 +# MD5 Fingerprint: 54:dd:b2:d7:5f:d8:3e:ed:7c:e0:0b:2e:cc:ed:eb:eb +# SHA1 Fingerprint: 57:73:a5:61:5d:80:b2:e6:ac:38:82:fc:68:07:31:ac:9f:b5:92:5a +# SHA256 Fingerprint: be:4b:56:cb:50:56:c0:13:6a:52:6d:f4:44:50:8d:aa:36:a0:b5:4f:42:e4:ac:38:f7:2a:f4:70:e4:79:65:4c +-----BEGIN CERTIFICATE----- +MIICVTCCAdygAwIBAgIUTyNkuI6XY57GU4HBdk7LKnQV1tcwCgYIKoZIzj0EAwMw +WjELMAkGA1UEBhMCQ04xJTAjBgNVBAoMHFRydXN0QXNpYSBUZWNobm9sb2dpZXMs +IEluYy4xJDAiBgNVBAMMG1RydXN0QXNpYSBHbG9iYWwgUm9vdCBDQSBHNDAeFw0y +MTA1MjAwMjEwMjJaFw00NjA1MTkwMjEwMjJaMFoxCzAJBgNVBAYTAkNOMSUwIwYD +VQQKDBxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMuMSQwIgYDVQQDDBtUcnVz +dEFzaWEgR2xvYmFsIFJvb3QgQ0EgRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATx +s8045CVD5d4ZCbuBeaIVXxVjAd7Cq92zphtnS4CDr5nLrBfbK5bKfFJV4hrhPVbw +LxYI+hW8m7tH5j/uqOFMjPXTNvk4XatwmkcN4oFBButJ+bAp3TPsUKV/eSm4IJij +YzBhMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUpbtKl86zK3+kMd6Xg1mD +pm9xy94wHQYDVR0OBBYEFKW7SpfOsyt/pDHel4NZg6ZvccveMA4GA1UdDwEB/wQE +AwIBBjAKBggqhkjOPQQDAwNnADBkAjBe8usGzEkxn0AAbbd+NvBNEU/zy4k6LHiR +UKNbwMp1JvK/kF0LgoxgKJ/GcJpo5PECMFxYDlZ2z1jD1xCMuo6u47xkdUfFVZDj +/bpV6wfEU6s3qe4hsiFbYI89MvHVI5TWWA== +-----END CERTIFICATE----- + +# Issuer: CN=CommScope Public Trust ECC Root-01 O=CommScope +# Subject: CN=CommScope Public Trust ECC Root-01 O=CommScope +# Label: "CommScope Public Trust ECC Root-01" +# Serial: 385011430473757362783587124273108818652468453534 +# MD5 Fingerprint: 3a:40:a7:fc:03:8c:9c:38:79:2f:3a:a2:6c:b6:0a:16 +# SHA1 Fingerprint: 07:86:c0:d8:dd:8e:c0:80:98:06:98:d0:58:7a:ef:de:a6:cc:a2:5d +# SHA256 Fingerprint: 11:43:7c:da:7b:b4:5e:41:36:5f:45:b3:9a:38:98:6b:0d:e0:0d:ef:34:8e:0c:7b:b0:87:36:33:80:0b:c3:8b +-----BEGIN CERTIFICATE----- +MIICHTCCAaOgAwIBAgIUQ3CCd89NXTTxyq4yLzf39H91oJ4wCgYIKoZIzj0EAwMw +TjELMAkGA1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwiQ29t +bVNjb3BlIFB1YmxpYyBUcnVzdCBFQ0MgUm9vdC0wMTAeFw0yMTA0MjgxNzM1NDNa +Fw00NjA0MjgxNzM1NDJaME4xCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlDb21tU2Nv +cGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3QgRUNDIFJvb3QtMDEw +djAQBgcqhkjOPQIBBgUrgQQAIgNiAARLNumuV16ocNfQj3Rid8NeeqrltqLxeP0C +flfdkXmcbLlSiFS8LwS+uM32ENEp7LXQoMPwiXAZu1FlxUOcw5tjnSCDPgYLpkJE +hRGnSjot6dZoL0hOUysHP029uax3OVejQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYD +VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSOB2LAUN3GGQYARnQE9/OufXVNMDAKBggq +hkjOPQQDAwNoADBlAjEAnDPfQeMjqEI2Jpc1XHvr20v4qotzVRVcrHgpD7oh2MSg +2NED3W3ROT3Ek2DS43KyAjB8xX6I01D1HiXo+k515liWpDVfG2XqYZpwI7UNo5uS +Um9poIyNStDuiw7LR47QjRE= +-----END CERTIFICATE----- + +# Issuer: CN=CommScope Public Trust ECC Root-02 O=CommScope +# Subject: CN=CommScope Public Trust ECC Root-02 O=CommScope +# Label: "CommScope Public Trust ECC Root-02" +# Serial: 234015080301808452132356021271193974922492992893 +# MD5 Fingerprint: 59:b0:44:d5:65:4d:b8:5c:55:19:92:02:b6:d1:94:b2 +# SHA1 Fingerprint: 3c:3f:ef:57:0f:fe:65:93:86:9e:a0:fe:b0:f6:ed:8e:d1:13:c7:e5 +# SHA256 Fingerprint: 2f:fb:7f:81:3b:bb:b3:c8:9a:b4:e8:16:2d:0f:16:d7:15:09:a8:30:cc:9d:73:c2:62:e5:14:08:75:d1:ad:4a +-----BEGIN CERTIFICATE----- +MIICHDCCAaOgAwIBAgIUKP2ZYEFHpgE6yhR7H+/5aAiDXX0wCgYIKoZIzj0EAwMw +TjELMAkGA1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwiQ29t +bVNjb3BlIFB1YmxpYyBUcnVzdCBFQ0MgUm9vdC0wMjAeFw0yMTA0MjgxNzQ0NTRa +Fw00NjA0MjgxNzQ0NTNaME4xCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlDb21tU2Nv +cGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3QgRUNDIFJvb3QtMDIw +djAQBgcqhkjOPQIBBgUrgQQAIgNiAAR4MIHoYx7l63FRD/cHB8o5mXxO1Q/MMDAL +j2aTPs+9xYa9+bG3tD60B8jzljHz7aRP+KNOjSkVWLjVb3/ubCK1sK9IRQq9qEmU +v4RDsNuESgMjGWdqb8FuvAY5N9GIIvejQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYD +VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTmGHX/72DehKT1RsfeSlXjMjZ59TAKBggq +hkjOPQQDAwNnADBkAjAmc0l6tqvmSfR9Uj/UQQSugEODZXW5hYA4O9Zv5JOGq4/n +ich/m35rChJVYaoR4HkCMHfoMXGsPHED1oQmHhS48zs73u1Z/GtMMH9ZzkXpc2AV +mkzw5l4lIhVtwodZ0LKOag== +-----END CERTIFICATE----- + +# Issuer: CN=CommScope Public Trust RSA Root-01 O=CommScope +# Subject: CN=CommScope Public Trust RSA Root-01 O=CommScope +# Label: "CommScope Public Trust RSA Root-01" +# Serial: 354030733275608256394402989253558293562031411421 +# MD5 Fingerprint: 0e:b4:15:bc:87:63:5d:5d:02:73:d4:26:38:68:73:d8 +# SHA1 Fingerprint: 6d:0a:5f:f7:b4:23:06:b4:85:b3:b7:97:64:fc:ac:75:f5:33:f2:93 +# SHA256 Fingerprint: 02:bd:f9:6e:2a:45:dd:9b:f1:8f:c7:e1:db:df:21:a0:37:9b:a3:c9:c2:61:03:44:cf:d8:d6:06:fe:c1:ed:81 +-----BEGIN CERTIFICATE----- +MIIFbDCCA1SgAwIBAgIUPgNJgXUWdDGOTKvVxZAplsU5EN0wDQYJKoZIhvcNAQEL +BQAwTjELMAkGA1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwi +Q29tbVNjb3BlIFB1YmxpYyBUcnVzdCBSU0EgUm9vdC0wMTAeFw0yMTA0MjgxNjQ1 +NTRaFw00NjA0MjgxNjQ1NTNaME4xCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlDb21t +U2NvcGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3QgUlNBIFJvb3Qt +MDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCwSGWjDR1C45FtnYSk +YZYSwu3D2iM0GXb26v1VWvZVAVMP8syMl0+5UMuzAURWlv2bKOx7dAvnQmtVzslh +suitQDy6uUEKBU8bJoWPQ7VAtYXR1HHcg0Hz9kXHgKKEUJdGzqAMxGBWBB0HW0al +DrJLpA6lfO741GIDuZNqihS4cPgugkY4Iw50x2tBt9Apo52AsH53k2NC+zSDO3Oj +WiE260f6GBfZumbCk6SP/F2krfxQapWsvCQz0b2If4b19bJzKo98rwjyGpg/qYFl +P8GMicWWMJoKz/TUyDTtnS+8jTiGU+6Xn6myY5QXjQ/cZip8UlF1y5mO6D1cv547 +KI2DAg+pn3LiLCuz3GaXAEDQpFSOm117RTYm1nJD68/A6g3czhLmfTifBSeolz7p +UcZsBSjBAg/pGG3svZwG1KdJ9FQFa2ww8esD1eo9anbCyxooSU1/ZOD6K9pzg4H/ +kQO9lLvkuI6cMmPNn7togbGEW682v3fuHX/3SZtS7NJ3Wn2RnU3COS3kuoL4b/JO +Hg9O5j9ZpSPcPYeoKFgo0fEbNttPxP/hjFtyjMcmAyejOQoBqsCyMWCDIqFPEgkB +Ea801M/XrmLTBQe0MXXgDW1XT2mH+VepuhX2yFJtocucH+X8eKg1mp9BFM6ltM6U +CBwJrVbl2rZJmkrqYxhTnCwuwwIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4G +A1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUN12mmnQywsL5x6YVEFm45P3luG0wDQYJ +KoZIhvcNAQELBQADggIBAK+nz97/4L1CjU3lIpbfaOp9TSp90K09FlxD533Ahuh6 +NWPxzIHIxgvoLlI1pKZJkGNRrDSsBTtXAOnTYtPZKdVUvhwQkZyybf5Z/Xn36lbQ +nmhUQo8mUuJM3y+Xpi/SB5io82BdS5pYV4jvguX6r2yBS5KPQJqTRlnLX3gWsWc+ +QgvfKNmwrZggvkN80V4aCRckjXtdlemrwWCrWxhkgPut4AZ9HcpZuPN4KWfGVh2v +trV0KnahP/t1MJ+UXjulYPPLXAziDslg+MkfFoom3ecnf+slpoq9uC02EJqxWE2a +aE9gVOX2RhOOiKy8IUISrcZKiX2bwdgt6ZYD9KJ0DLwAHb/WNyVntHKLr4W96ioD +j8z7PEQkguIBpQtZtjSNMgsSDesnwv1B10A8ckYpwIzqug/xBpMu95yo9GA+o/E4 +Xo4TwbM6l4c/ksp4qRyv0LAbJh6+cOx69TOY6lz/KwsETkPdY34Op054A5U+1C0w +lREQKC6/oAI+/15Z0wUOlV9TRe9rh9VIzRamloPh37MG88EU26fsHItdkJANclHn +YfkUyq+Dj7+vsQpZXdxc1+SWrVtgHdqul7I52Qb1dgAT+GhMIbA1xNxVssnBQVoc +icCMb3SgazNNtQEo/a2tiRc7ppqEvOuM6sRxJKi6KfkIsidWNTJf6jn7MZrVGczw +-----END CERTIFICATE----- + +# Issuer: CN=CommScope Public Trust RSA Root-02 O=CommScope +# Subject: CN=CommScope Public Trust RSA Root-02 O=CommScope +# Label: "CommScope Public Trust RSA Root-02" +# Serial: 480062499834624527752716769107743131258796508494 +# MD5 Fingerprint: e1:29:f9:62:7b:76:e2:96:6d:f3:d4:d7:0f:ae:1f:aa +# SHA1 Fingerprint: ea:b0:e2:52:1b:89:93:4c:11:68:f2:d8:9a:ac:22:4c:a3:8a:57:ae +# SHA256 Fingerprint: ff:e9:43:d7:93:42:4b:4f:7c:44:0c:1c:3d:64:8d:53:63:f3:4b:82:dc:87:aa:7a:9f:11:8f:c5:de:e1:01:f1 +-----BEGIN CERTIFICATE----- +MIIFbDCCA1SgAwIBAgIUVBa/O345lXGN0aoApYYNK496BU4wDQYJKoZIhvcNAQEL +BQAwTjELMAkGA1UEBhMCVVMxEjAQBgNVBAoMCUNvbW1TY29wZTErMCkGA1UEAwwi +Q29tbVNjb3BlIFB1YmxpYyBUcnVzdCBSU0EgUm9vdC0wMjAeFw0yMTA0MjgxNzE2 +NDNaFw00NjA0MjgxNzE2NDJaME4xCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlDb21t +U2NvcGUxKzApBgNVBAMMIkNvbW1TY29wZSBQdWJsaWMgVHJ1c3QgUlNBIFJvb3Qt +MDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDh+g77aAASyE3VrCLE +NQE7xVTlWXZjpX/rwcRqmL0yjReA61260WI9JSMZNRTpf4mnG2I81lDnNJUDMrG0 +kyI9p+Kx7eZ7Ti6Hmw0zdQreqjXnfuU2mKKuJZ6VszKWpCtYHu8//mI0SFHRtI1C +rWDaSWqVcN3SAOLMV2MCe5bdSZdbkk6V0/nLKR8YSvgBKtJjCW4k6YnS5cciTNxz +hkcAqg2Ijq6FfUrpuzNPDlJwnZXjfG2WWy09X6GDRl224yW4fKcZgBzqZUPckXk2 +LHR88mcGyYnJ27/aaL8j7dxrrSiDeS/sOKUNNwFnJ5rpM9kzXzehxfCrPfp4sOcs +n/Y+n2Dg70jpkEUeBVF4GiwSLFworA2iI540jwXmojPOEXcT1A6kHkIfhs1w/tku +FT0du7jyU1fbzMZ0KZwYszZ1OC4PVKH4kh+Jlk+71O6d6Ts2QrUKOyrUZHk2EOH5 +kQMreyBUzQ0ZGshBMjTRsJnhkB4BQDa1t/qp5Xd1pCKBXbCL5CcSD1SIxtuFdOa3 +wNemKfrb3vOTlycEVS8KbzfFPROvCgCpLIscgSjX74Yxqa7ybrjKaixUR9gqiC6v +wQcQeKwRoi9C8DfF8rhW3Q5iLc4tVn5V8qdE9isy9COoR+jUKgF4z2rDN6ieZdIs +5fq6M8EGRPbmz6UNp2YINIos8wIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4G +A1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUR9DnsSL/nSz12Vdgs7GxcJXvYXowDQYJ +KoZIhvcNAQELBQADggIBAIZpsU0v6Z9PIpNojuQhmaPORVMbc0RTAIFhzTHjCLqB +KCh6krm2qMhDnscTJk3C2OVVnJJdUNjCK9v+5qiXz1I6JMNlZFxHMaNlNRPDk7n3 ++VGXu6TwYofF1gbTl4MgqX67tiHCpQ2EAOHyJxCDut0DgdXdaMNmEMjRdrSzbyme +APnCKfWxkxlSaRosTKCL4BWaMS/TiJVZbuXEs1DIFAhKm4sTg7GkcrI7djNB3Nyq +pgdvHSQSn8h2vS/ZjvQs7rfSOBAkNlEv41xdgSGn2rtO/+YHqP65DSdsu3BaVXoT +6fEqSWnHX4dXTEN5bTpl6TBcQe7rd6VzEojov32u5cSoHw2OHG1QAk8mGEPej1WF +sQs3BWDJVTkSBKEqz3EWnzZRSb9wO55nnPt7eck5HHisd5FUmrh1CoFSl+NmYWvt +PjgelmFV4ZFUjO2MJB+ByRCac5krFk5yAD9UG/iNuovnFNa2RU9g7Jauwy8CTl2d +lklyALKrdVwPaFsdZcJfMw8eD/A7hvWwTruc9+olBdytoptLFwG+Qt81IR2tq670 +v64fG9PiO/yzcnMcmyiQiRM9HcEARwmWmjgb3bHPDcK0RPOWlc4yOo80nOAXx17O +rg3bhzjlP1v9mxnhMUF6cKojawHhRUzNlM47ni3niAIi9G7oyOzWPPO5std3eqx7 +-----END CERTIFICATE----- + +# Issuer: CN=Telekom Security TLS ECC Root 2020 O=Deutsche Telekom Security GmbH +# Subject: CN=Telekom Security TLS ECC Root 2020 O=Deutsche Telekom Security GmbH +# Label: "Telekom Security TLS ECC Root 2020" +# Serial: 72082518505882327255703894282316633856 +# MD5 Fingerprint: c1:ab:fe:6a:10:2c:03:8d:bc:1c:22:32:c0:85:a7:fd +# SHA1 Fingerprint: c0:f8:96:c5:a9:3b:01:06:21:07:da:18:42:48:bc:e9:9d:88:d5:ec +# SHA256 Fingerprint: 57:8a:f4:de:d0:85:3f:4e:59:98:db:4a:ea:f9:cb:ea:8d:94:5f:60:b6:20:a3:8d:1a:3c:13:b2:bc:7b:a8:e1 +-----BEGIN CERTIFICATE----- +MIICQjCCAcmgAwIBAgIQNjqWjMlcsljN0AFdxeVXADAKBggqhkjOPQQDAzBjMQsw +CQYDVQQGEwJERTEnMCUGA1UECgweRGV1dHNjaGUgVGVsZWtvbSBTZWN1cml0eSBH +bWJIMSswKQYDVQQDDCJUZWxla29tIFNlY3VyaXR5IFRMUyBFQ0MgUm9vdCAyMDIw +MB4XDTIwMDgyNTA3NDgyMFoXDTQ1MDgyNTIzNTk1OVowYzELMAkGA1UEBhMCREUx +JzAlBgNVBAoMHkRldXRzY2hlIFRlbGVrb20gU2VjdXJpdHkgR21iSDErMCkGA1UE +AwwiVGVsZWtvbSBTZWN1cml0eSBUTFMgRUNDIFJvb3QgMjAyMDB2MBAGByqGSM49 +AgEGBSuBBAAiA2IABM6//leov9Wq9xCazbzREaK9Z0LMkOsVGJDZos0MKiXrPk/O +tdKPD/M12kOLAoC+b1EkHQ9rK8qfwm9QMuU3ILYg/4gND21Ju9sGpIeQkpT0CdDP +f8iAC8GXs7s1J8nCG6NCMEAwHQYDVR0OBBYEFONyzG6VmUex5rNhTNHLq+O6zd6f +MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMAoGCCqGSM49BAMDA2cA +MGQCMHVSi7ekEE+uShCLsoRbQuHmKjYC2qBuGT8lv9pZMo7k+5Dck2TOrbRBR2Di +z6fLHgIwN0GMZt9Ba9aDAEH9L1r3ULRn0SyocddDypwnJJGDSA3PzfdUga/sf+Rn +27iQ7t0l +-----END CERTIFICATE----- + +# Issuer: CN=Telekom Security TLS RSA Root 2023 O=Deutsche Telekom Security GmbH +# Subject: CN=Telekom Security TLS RSA Root 2023 O=Deutsche Telekom Security GmbH +# Label: "Telekom Security TLS RSA Root 2023" +# Serial: 44676229530606711399881795178081572759 +# MD5 Fingerprint: bf:5b:eb:54:40:cd:48:71:c4:20:8d:7d:de:0a:42:f2 +# SHA1 Fingerprint: 54:d3:ac:b3:bd:57:56:f6:85:9d:ce:e5:c3:21:e2:d4:ad:83:d0:93 +# SHA256 Fingerprint: ef:c6:5c:ad:bb:59:ad:b6:ef:e8:4d:a2:23:11:b3:56:24:b7:1b:3b:1e:a0:da:8b:66:55:17:4e:c8:97:86:46 +-----BEGIN CERTIFICATE----- +MIIFszCCA5ugAwIBAgIQIZxULej27HF3+k7ow3BXlzANBgkqhkiG9w0BAQwFADBj +MQswCQYDVQQGEwJERTEnMCUGA1UECgweRGV1dHNjaGUgVGVsZWtvbSBTZWN1cml0 +eSBHbWJIMSswKQYDVQQDDCJUZWxla29tIFNlY3VyaXR5IFRMUyBSU0EgUm9vdCAy +MDIzMB4XDTIzMDMyODEyMTY0NVoXDTQ4MDMyNzIzNTk1OVowYzELMAkGA1UEBhMC +REUxJzAlBgNVBAoMHkRldXRzY2hlIFRlbGVrb20gU2VjdXJpdHkgR21iSDErMCkG +A1UEAwwiVGVsZWtvbSBTZWN1cml0eSBUTFMgUlNBIFJvb3QgMjAyMzCCAiIwDQYJ +KoZIhvcNAQEBBQADggIPADCCAgoCggIBAO01oYGA88tKaVvC+1GDrib94W7zgRJ9 +cUD/h3VCKSHtgVIs3xLBGYSJwb3FKNXVS2xE1kzbB5ZKVXrKNoIENqil/Cf2SfHV +cp6R+SPWcHu79ZvB7JPPGeplfohwoHP89v+1VmLhc2o0mD6CuKyVU/QBoCcHcqMA +U6DksquDOFczJZSfvkgdmOGjup5czQRxUX11eKvzWarE4GC+j4NSuHUaQTXtvPM6 +Y+mpFEXX5lLRbtLevOP1Czvm4MS9Q2QTps70mDdsipWol8hHD/BeEIvnHRz+sTug +BTNoBUGCwQMrAcjnj02r6LX2zWtEtefdi+zqJbQAIldNsLGyMcEWzv/9FIS3R/qy +8XDe24tsNlikfLMR0cN3f1+2JeANxdKz+bi4d9s3cXFH42AYTyS2dTd4uaNir73J +co4vzLuu2+QVUhkHM/tqty1LkCiCc/4YizWN26cEar7qwU02OxY2kTLvtkCJkUPg +8qKrBC7m8kwOFjQgrIfBLX7JZkcXFBGk8/ehJImr2BrIoVyxo/eMbcgByU/J7MT8 +rFEz0ciD0cmfHdRHNCk+y7AO+oMLKFjlKdw/fKifybYKu6boRhYPluV75Gp6SG12 +mAWl3G0eQh5C2hrgUve1g8Aae3g1LDj1H/1Joy7SWWO/gLCMk3PLNaaZlSJhZQNg ++y+TS/qanIA7AgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUtqeX +gj10hZv3PJ+TmpV5dVKMbUcwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBS2 +p5eCPXSFm/c8n5OalXl1UoxtRzANBgkqhkiG9w0BAQwFAAOCAgEAqMxhpr51nhVQ +pGv7qHBFfLp+sVr8WyP6Cnf4mHGCDG3gXkaqk/QeoMPhk9tLrbKmXauw1GLLXrtm +9S3ul0A8Yute1hTWjOKWi0FpkzXmuZlrYrShF2Y0pmtjxrlO8iLpWA1WQdH6DErw +M807u20hOq6OcrXDSvvpfeWxm4bu4uB9tPcy/SKE8YXJN3nptT+/XOR0so8RYgDd +GGah2XsjX/GO1WfoVNpbOms2b/mBsTNHM3dA+VKq3dSDz4V4mZqTuXNnQkYRIer+ +CqkbGmVps4+uFrb2S1ayLfmlyOw7YqPta9BO1UAJpB+Y1zqlklkg5LB9zVtzaL1t +xKITDmcZuI1CfmwMmm6gJC3VRRvcxAIU/oVbZZfKTpBQCHpCNfnqwmbU+AGuHrS+ +w6jv/naaoqYfRvaE7fzbzsQCzndILIyy7MMAo+wsVRjBfhnu4S/yrYObnqsZ38aK +L4x35bcF7DvB7L6Gs4a8wPfc5+pbrrLMtTWGS9DiP7bY+A4A7l3j941Y/8+LN+lj +X273CXE2whJdV/LItM3z7gLfEdxquVeEHVlNjM7IDiPCtyaaEBRx/pOyiriA8A4Q +ntOoUAw3gi/q4Iqd4Sw5/7W0cwDk90imc6y/st53BIe0o82bNSQ3+pCTE4FCxpgm +dTdmQRCsu/WU48IxK63nI1bMNSWSs1A= +-----END CERTIFICATE----- + +# Issuer: CN=FIRMAPROFESIONAL CA ROOT-A WEB O=Firmaprofesional SA +# Subject: CN=FIRMAPROFESIONAL CA ROOT-A WEB O=Firmaprofesional SA +# Label: "FIRMAPROFESIONAL CA ROOT-A WEB" +# Serial: 65916896770016886708751106294915943533 +# MD5 Fingerprint: 82:b2:ad:45:00:82:b0:66:63:f8:5f:c3:67:4e:ce:a3 +# SHA1 Fingerprint: a8:31:11:74:a6:14:15:0d:ca:77:dd:0e:e4:0c:5d:58:fc:a0:72:a5 +# SHA256 Fingerprint: be:f2:56:da:f2:6e:9c:69:bd:ec:16:02:35:97:98:f3:ca:f7:18:21:a0:3e:01:82:57:c5:3c:65:61:7f:3d:4a +-----BEGIN CERTIFICATE----- +MIICejCCAgCgAwIBAgIQMZch7a+JQn81QYehZ1ZMbTAKBggqhkjOPQQDAzBuMQsw +CQYDVQQGEwJFUzEcMBoGA1UECgwTRmlybWFwcm9mZXNpb25hbCBTQTEYMBYGA1UE +YQwPVkFURVMtQTYyNjM0MDY4MScwJQYDVQQDDB5GSVJNQVBST0ZFU0lPTkFMIENB +IFJPT1QtQSBXRUIwHhcNMjIwNDA2MDkwMTM2WhcNNDcwMzMxMDkwMTM2WjBuMQsw +CQYDVQQGEwJFUzEcMBoGA1UECgwTRmlybWFwcm9mZXNpb25hbCBTQTEYMBYGA1UE +YQwPVkFURVMtQTYyNjM0MDY4MScwJQYDVQQDDB5GSVJNQVBST0ZFU0lPTkFMIENB +IFJPT1QtQSBXRUIwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARHU+osEaR3xyrq89Zf +e9MEkVz6iMYiuYMQYneEMy3pA4jU4DP37XcsSmDq5G+tbbT4TIqk5B/K6k84Si6C +cyvHZpsKjECcfIr28jlgst7L7Ljkb+qbXbdTkBgyVcUgt5SjYzBhMA8GA1UdEwEB +/wQFMAMBAf8wHwYDVR0jBBgwFoAUk+FDY1w8ndYn81LsF7Kpryz3dvgwHQYDVR0O +BBYEFJPhQ2NcPJ3WJ/NS7Beyqa8s93b4MA4GA1UdDwEB/wQEAwIBBjAKBggqhkjO +PQQDAwNoADBlAjAdfKR7w4l1M+E7qUW/Runpod3JIha3RxEL2Jq68cgLcFBTApFw +hVmpHqTm6iMxoAACMQD94vizrxa5HnPEluPBMBnYfubDl94cT7iJLzPrSA8Z94dG +XSaQpYXFuXqUPoeovQA= +-----END CERTIFICATE----- + +# Issuer: CN=TWCA CYBER Root CA O=TAIWAN-CA OU=Root CA +# Subject: CN=TWCA CYBER Root CA O=TAIWAN-CA OU=Root CA +# Label: "TWCA CYBER Root CA" +# Serial: 85076849864375384482682434040119489222 +# MD5 Fingerprint: 0b:33:a0:97:52:95:d4:a9:fd:bb:db:6e:a3:55:5b:51 +# SHA1 Fingerprint: f6:b1:1c:1a:83:38:e9:7b:db:b3:a8:c8:33:24:e0:2d:9c:7f:26:66 +# SHA256 Fingerprint: 3f:63:bb:28:14:be:17:4e:c8:b6:43:9c:f0:8d:6d:56:f0:b7:c4:05:88:3a:56:48:a3:34:42:4d:6b:3e:c5:58 +-----BEGIN CERTIFICATE----- +MIIFjTCCA3WgAwIBAgIQQAE0jMIAAAAAAAAAATzyxjANBgkqhkiG9w0BAQwFADBQ +MQswCQYDVQQGEwJUVzESMBAGA1UEChMJVEFJV0FOLUNBMRAwDgYDVQQLEwdSb290 +IENBMRswGQYDVQQDExJUV0NBIENZQkVSIFJvb3QgQ0EwHhcNMjIxMTIyMDY1NDI5 +WhcNNDcxMTIyMTU1OTU5WjBQMQswCQYDVQQGEwJUVzESMBAGA1UEChMJVEFJV0FO +LUNBMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJUV0NBIENZQkVSIFJvb3Qg +Q0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDG+Moe2Qkgfh1sTs6P +40czRJzHyWmqOlt47nDSkvgEs1JSHWdyKKHfi12VCv7qze33Kc7wb3+szT3vsxxF +avcokPFhV8UMxKNQXd7UtcsZyoC5dc4pztKFIuwCY8xEMCDa6pFbVuYdHNWdZsc/ +34bKS1PE2Y2yHer43CdTo0fhYcx9tbD47nORxc5zb87uEB8aBs/pJ2DFTxnk684i +JkXXYJndzk834H/nY62wuFm40AZoNWDTNq5xQwTxaWV4fPMf88oon1oglWa0zbfu +j3ikRRjpJi+NmykosaS3Om251Bw4ckVYsV7r8Cibt4LK/c/WMw+f+5eesRycnupf +Xtuq3VTpMCEobY5583WSjCb+3MX2w7DfRFlDo7YDKPYIMKoNM+HvnKkHIuNZW0CP +2oi3aQiotyMuRAlZN1vH4xfyIutuOVLF3lSnmMlLIJXcRolftBL5hSmO68gnFSDA +S9TMfAxsNAwmmyYxpjyn9tnQS6Jk/zuZQXLB4HCX8SS7K8R0IrGsayIyJNN4KsDA +oS/xUgXJP+92ZuJF2A09rZXIx4kmyA+upwMu+8Ff+iDhcK2wZSA3M2Cw1a/XDBzC +kHDXShi8fgGwsOsVHkQGzaRP6AzRwyAQ4VRlnrZR0Bp2a0JaWHY06rc3Ga4udfmW +5cFZ95RXKSWNOkyrTZpB0F8mAwIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYD +VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBSdhWEUfMFib5do5E83QOGt4A1WNzAd +BgNVHQ4EFgQUnYVhFHzBYm+XaORPN0DhreANVjcwDQYJKoZIhvcNAQEMBQADggIB +AGSPesRiDrWIzLjHhg6hShbNcAu3p4ULs3a2D6f/CIsLJc+o1IN1KriWiLb73y0t +tGlTITVX1olNc79pj3CjYcya2x6a4CD4bLubIp1dhDGaLIrdaqHXKGnK/nZVekZn +68xDiBaiA9a5F/gZbG0jAn/xX9AKKSM70aoK7akXJlQKTcKlTfjF/biBzysseKNn +TKkHmvPfXvt89YnNdJdhEGoHK4Fa0o635yDRIG4kqIQnoVesqlVYL9zZyvpoBJ7t +RCT5dEA7IzOrg1oYJkK2bVS1FmAwbLGg+LhBoF1JSdJlBTrq/p1hvIbZv97Tujqx +f36SNI7JAG7cmL3c7IAFrQI932XtCwP39xaEBDG6k5TY8hL4iuO/Qq+n1M0RFxbI +Qh0UqEL20kCGoE8jypZFVmAGzbdVAaYBlGX+bgUJurSkquLvWL69J1bY73NxW0Qz +8ppy6rBePm6pUlvscG21h483XjyMnM7k8M4MZ0HMzvaAq07MTFb1wWFZk7Q+ptq4 +NxKfKjLji7gh7MMrZQzvIt6IKTtM1/r+t+FHvpw+PoP7UV31aPcuIYXcv/Fa4nzX +xeSDwWrruoBa3lwtcHb4yOWHh8qgnaHlIhInD0Q9HWzq1MKLL295q39QpsQZp6F6 +t5b5wR9iWqJDB0BeJsas7a5wFsWqynKKTbDPAYsDP27X +-----END CERTIFICATE----- + +# Issuer: CN=SecureSign Root CA12 O=Cybertrust Japan Co., Ltd. +# Subject: CN=SecureSign Root CA12 O=Cybertrust Japan Co., Ltd. +# Label: "SecureSign Root CA12" +# Serial: 587887345431707215246142177076162061960426065942 +# MD5 Fingerprint: c6:89:ca:64:42:9b:62:08:49:0b:1e:7f:e9:07:3d:e8 +# SHA1 Fingerprint: 7a:22:1e:3d:de:1b:06:ac:9e:c8:47:70:16:8e:3c:e5:f7:6b:06:f4 +# SHA256 Fingerprint: 3f:03:4b:b5:70:4d:44:b2:d0:85:45:a0:20:57:de:93:eb:f3:90:5f:ce:72:1a:cb:c7:30:c0:6d:da:ee:90:4e +-----BEGIN CERTIFICATE----- +MIIDcjCCAlqgAwIBAgIUZvnHwa/swlG07VOX5uaCwysckBYwDQYJKoZIhvcNAQEL +BQAwUTELMAkGA1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28u +LCBMdGQuMR0wGwYDVQQDExRTZWN1cmVTaWduIFJvb3QgQ0ExMjAeFw0yMDA0MDgw +NTM2NDZaFw00MDA0MDgwNTM2NDZaMFExCzAJBgNVBAYTAkpQMSMwIQYDVQQKExpD +eWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMUU2VjdXJlU2lnbiBS +b290IENBMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6OcE3emhF +KxS06+QT61d1I02PJC0W6K6OyX2kVzsqdiUzg2zqMoqUm048luT9Ub+ZyZN+v/mt +p7JIKwccJ/VMvHASd6SFVLX9kHrko+RRWAPNEHl57muTH2SOa2SroxPjcf59q5zd +J1M3s6oYwlkm7Fsf0uZlfO+TvdhYXAvA42VvPMfKWeP+bl+sg779XSVOKik71gur +FzJ4pOE+lEa+Ym6b3kaosRbnhW70CEBFEaCeVESE99g2zvVQR9wsMJvuwPWW0v4J +hscGWa5Pro4RmHvzC1KqYiaqId+OJTN5lxZJjfU+1UefNzFJM3IFTQy2VYzxV4+K +h9GtxRESOaCtAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQD +AgEGMB0GA1UdDgQWBBRXNPN0zwRL1SXm8UC2LEzZLemgrTANBgkqhkiG9w0BAQsF +AAOCAQEAPrvbFxbS8hQBICw4g0utvsqFepq2m2um4fylOqyttCg6r9cBg0krY6Ld +mmQOmFxv3Y67ilQiLUoT865AQ9tPkbeGGuwAtEGBpE/6aouIs3YIcipJQMPTw4WJ +mBClnW8Zt7vPemVV2zfrPIpyMpcemik+rY3moxtt9XUa5rBouVui7mlHJzWhhpmA +8zNL4WukJsPvdFlseqJkth5Ew1DgDzk9qTPxpfPSvWKErI4cqc1avTc7bgoitPQV +55FYxTpE05Uo2cBl6XLK0A+9H7MV2anjpEcJnuDLN/v9vZfVvhgaaaI5gdka9at/ +yOPiZwud9AzqVN/Ssq+xIvEg37xEHA== +-----END CERTIFICATE----- + +# Issuer: CN=SecureSign Root CA14 O=Cybertrust Japan Co., Ltd. +# Subject: CN=SecureSign Root CA14 O=Cybertrust Japan Co., Ltd. +# Label: "SecureSign Root CA14" +# Serial: 575790784512929437950770173562378038616896959179 +# MD5 Fingerprint: 71:0d:72:fa:92:19:65:5e:89:04:ac:16:33:f0:bc:d5 +# SHA1 Fingerprint: dd:50:c0:f7:79:b3:64:2e:74:a2:b8:9d:9f:d3:40:dd:bb:f0:f2:4f +# SHA256 Fingerprint: 4b:00:9c:10:34:49:4f:9a:b5:6b:ba:3b:a1:d6:27:31:fc:4d:20:d8:95:5a:dc:ec:10:a9:25:60:72:61:e3:38 +-----BEGIN CERTIFICATE----- +MIIFcjCCA1qgAwIBAgIUZNtaDCBO6Ncpd8hQJ6JaJ90t8sswDQYJKoZIhvcNAQEM +BQAwUTELMAkGA1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28u +LCBMdGQuMR0wGwYDVQQDExRTZWN1cmVTaWduIFJvb3QgQ0ExNDAeFw0yMDA0MDgw +NzA2MTlaFw00NTA0MDgwNzA2MTlaMFExCzAJBgNVBAYTAkpQMSMwIQYDVQQKExpD +eWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMUU2VjdXJlU2lnbiBS +b290IENBMTQwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDF0nqh1oq/ +FjHQmNE6lPxauG4iwWL3pwon71D2LrGeaBLwbCRjOfHw3xDG3rdSINVSW0KZnvOg +vlIfX8xnbacuUKLBl422+JX1sLrcneC+y9/3OPJH9aaakpUqYllQC6KxNedlsmGy +6pJxaeQp8E+BgQQ8sqVb1MWoWWd7VRxJq3qdwudzTe/NCcLEVxLbAQ4jeQkHO6Lo +/IrPj8BGJJw4J+CDnRugv3gVEOuGTgpa/d/aLIJ+7sr2KeH6caH3iGicnPCNvg9J +kdjqOvn90Ghx2+m1K06Ckm9mH+Dw3EzsytHqunQG+bOEkJTRX45zGRBdAuVwpcAQ +0BB8b8VYSbSwbprafZX1zNoCr7gsfXmPvkPx+SgojQlD+Ajda8iLLCSxjVIHvXib +y8posqTdDEx5YMaZ0ZPxMBoH064iwurO8YQJzOAUbn8/ftKChazcqRZOhaBgy/ac +18izju3Gm5h1DVXoX+WViwKkrkMpKBGk5hIwAUt1ax5mnXkvpXYvHUC0bcl9eQjs +0Wq2XSqypWa9a4X0dFbD9ed1Uigspf9mR6XU/v6eVL9lfgHWMI+lNpyiUBzuOIAB +SMbHdPTGrMNASRZhdCyvjG817XsYAFs2PJxQDcqSMxDxJklt33UkN4Ii1+iW/RVL +ApY+B3KVfqs9TC7XyvDf4Fg/LS8EmjijAQIDAQABo0IwQDAPBgNVHRMBAf8EBTAD +AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUBpOjCl4oaTeqYR3r6/wtbyPk +86AwDQYJKoZIhvcNAQEMBQADggIBAJaAcgkGfpzMkwQWu6A6jZJOtxEaCnFxEM0E +rX+lRVAQZk5KQaID2RFPeje5S+LGjzJmdSX7684/AykmjbgWHfYfM25I5uj4V7Ib +ed87hwriZLoAymzvftAj63iP/2SbNDefNWWipAA9EiOWWF3KY4fGoweITedpdopT +zfFP7ELyk+OZpDc8h7hi2/DsHzc/N19DzFGdtfCXwreFamgLRB7lUe6TzktuhsHS +DCRZNhqfLJGP4xjblJUK7ZGqDpncllPjYYPGFrojutzdfhrGe0K22VoF3Jpf1d+4 +2kd92jjbrDnVHmtsKheMYc2xbXIBw8MgAGJoFjHVdqqGuw6qnsb58Nn4DSEC5MUo +FlkRudlpcyqSeLiSV5sI8jrlL5WwWLdrIBRtFO8KvH7YVdiI2i/6GaX7i+B/OfVy +K4XELKzvGUWSTLNhB9xNH27SgRNcmvMSZ4PPmz+Ln52kuaiWA3rF7iDeM9ovnhp6 +dB7h7sxaOgTdsxoEqBRjrLdHEoOabPXm6RUVkRqEGQ6UROcSjiVbgGcZ3GOTEAtl +Lor6CZpO2oYofaphNdgOpygau1LgePhsumywbrmHXumZNTfxPWQrqaA0k89jL9WB +365jJ6UeTo3cKXhZ+PmhIIynJkBugnLNeLLIjzwec+fBH7/PzqUqm9tEZDKgu39c +JRNItX+S +-----END CERTIFICATE----- + +# Issuer: CN=SecureSign Root CA15 O=Cybertrust Japan Co., Ltd. +# Subject: CN=SecureSign Root CA15 O=Cybertrust Japan Co., Ltd. +# Label: "SecureSign Root CA15" +# Serial: 126083514594751269499665114766174399806381178503 +# MD5 Fingerprint: 13:30:fc:c4:62:a6:a9:de:b5:c1:68:af:b5:d2:31:47 +# SHA1 Fingerprint: cb:ba:83:c8:c1:5a:5d:f1:f9:73:6f:ca:d7:ef:28:13:06:4a:07:7d +# SHA256 Fingerprint: e7:78:f0:f0:95:fe:84:37:29:cd:1a:00:82:17:9e:53:14:a9:c2:91:44:28:05:e1:fb:1d:8f:b6:b8:88:6c:3a +-----BEGIN CERTIFICATE----- +MIICIzCCAamgAwIBAgIUFhXHw9hJp75pDIqI7fBw+d23PocwCgYIKoZIzj0EAwMw +UTELMAkGA1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28uLCBM +dGQuMR0wGwYDVQQDExRTZWN1cmVTaWduIFJvb3QgQ0ExNTAeFw0yMDA0MDgwODMy +NTZaFw00NTA0MDgwODMyNTZaMFExCzAJBgNVBAYTAkpQMSMwIQYDVQQKExpDeWJl +cnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMUU2VjdXJlU2lnbiBSb290 +IENBMTUwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQLUHSNZDKZmbPSYAi4Io5GdCx4 +wCtELW1fHcmuS1Iggz24FG1Th2CeX2yF2wYUleDHKP+dX+Sq8bOLbe1PL0vJSpSR +ZHX+AezB2Ot6lHhWGENfa4HL9rzatAy2KZMIaY+jQjBAMA8GA1UdEwEB/wQFMAMB +Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTrQciu/NWeUUj1vYv0hyCTQSvT +9DAKBggqhkjOPQQDAwNoADBlAjEA2S6Jfl5OpBEHvVnCB96rMjhTKkZEBhd6zlHp +4P9mLQlO4E/0BdGF9jVg3PVys0Z9AjBEmEYagoUeYWmJSwdLZrWeqrqgHkHZAXQ6 +bkU6iYAZezKYVWOr62Nuk22rGwlgMU4= +-----END CERTIFICATE----- + +# Issuer: CN=D-TRUST BR Root CA 2 2023 O=D-Trust GmbH +# Subject: CN=D-TRUST BR Root CA 2 2023 O=D-Trust GmbH +# Label: "D-TRUST BR Root CA 2 2023" +# Serial: 153168538924886464690566649552453098598 +# MD5 Fingerprint: e1:09:ed:d3:60:d4:56:1b:47:1f:b7:0c:5f:1b:5f:85 +# SHA1 Fingerprint: 2d:b0:70:ee:71:94:af:69:68:17:db:79:ce:58:9f:a0:6b:96:f7:87 +# SHA256 Fingerprint: 05:52:e6:f8:3f:df:65:e8:fa:96:70:e6:66:df:28:a4:e2:13:40:b5:10:cb:e5:25:66:f9:7c:4f:b9:4b:2b:d1 +-----BEGIN CERTIFICATE----- +MIIFqTCCA5GgAwIBAgIQczswBEhb2U14LnNLyaHcZjANBgkqhkiG9w0BAQ0FADBI +MQswCQYDVQQGEwJERTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlE +LVRSVVNUIEJSIFJvb3QgQ0EgMiAyMDIzMB4XDTIzMDUwOTA4NTYzMVoXDTM4MDUw +OTA4NTYzMFowSDELMAkGA1UEBhMCREUxFTATBgNVBAoTDEQtVHJ1c3QgR21iSDEi +MCAGA1UEAxMZRC1UUlVTVCBCUiBSb290IENBIDIgMjAyMzCCAiIwDQYJKoZIhvcN +AQEBBQADggIPADCCAgoCggIBAK7/CVmRgApKaOYkP7in5Mg6CjoWzckjYaCTcfKr +i3OPoGdlYNJUa2NRb0kz4HIHE304zQaSBylSa053bATTlfrdTIzZXcFhfUvnKLNE +gXtRr90zsWh81k5M/itoucpmacTsXld/9w3HnDY25QdgrMBM6ghs7wZ8T1soegj8 +k12b9py0i4a6Ibn08OhZWiihNIQaJZG2tY/vsvmA+vk9PBFy2OMvhnbFeSzBqZCT +Rphny4NqoFAjpzv2gTng7fC5v2Xx2Mt6++9zA84A9H3X4F07ZrjcjrqDy4d2A/wl +2ecjbwb9Z/Pg/4S8R7+1FhhGaRTMBffb00msa8yr5LULQyReS2tNZ9/WtT5PeB+U +cSTq3nD88ZP+npNa5JRal1QMNXtfbO4AHyTsA7oC9Xb0n9Sa7YUsOCIvx9gvdhFP +/Wxc6PWOJ4d/GUohR5AdeY0cW/jPSoXk7bNbjb7EZChdQcRurDhaTyN0dKkSw/bS +uREVMweR2Ds3OmMwBtHFIjYoYiMQ4EbMl6zWK11kJNXuHA7e+whadSr2Y23OC0K+ +0bpwHJwh5Q8xaRfX/Aq03u2AnMuStIv13lmiWAmlY0cL4UEyNEHZmrHZqLAbWt4N +DfTisl01gLmB1IRpkQLLddCNxbU9CZEJjxShFHR5PtbJFR2kWVki3PaKRT08EtY+ +XTIvAgMBAAGjgY4wgYswDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUZ5Dw1t61 +GNVGKX5cq/ieCLxklRAwDgYDVR0PAQH/BAQDAgEGMEkGA1UdHwRCMEAwPqA8oDqG +OGh0dHA6Ly9jcmwuZC10cnVzdC5uZXQvY3JsL2QtdHJ1c3RfYnJfcm9vdF9jYV8y +XzIwMjMuY3JsMA0GCSqGSIb3DQEBDQUAA4ICAQA097N3U9swFrktpSHxQCF16+tI +FoE9c+CeJyrrd6kTpGoKWloUMz1oH4Guaf2Mn2VsNELZLdB/eBaxOqwjMa1ef67n +riv6uvw8l5VAk1/DLQOj7aRvU9f6QA4w9QAgLABMjDu0ox+2v5Eyq6+SmNMW5tTR +VFxDWy6u71cqqLRvpO8NVhTaIasgdp4D/Ca4nj8+AybmTNudX0KEPUUDAxxZiMrc +LmEkWqTqJwtzEr5SswrPMhfiHocaFpVIbVrg0M8JkiZmkdijYQ6qgYF/6FKC0ULn +4B0Y+qSFNueG4A3rvNTJ1jxD8V1Jbn6Bm2m1iWKPiFLY1/4nwSPFyysCu7Ff/vtD +hQNGvl3GyiEm/9cCnnRK3PgTFbGBVzbLZVzRHTF36SXDw7IyN9XxmAnkbWOACKsG +koHU6XCPpz+y7YaMgmo1yEJagtFSGkUPFaUA8JR7ZSdXOUPPfH/mvTWze/EZTN46 +ls/pdu4D58JDUjxqgejBWoC9EV2Ta/vH5mQ/u2kc6d0li690yVRAysuTEwrt+2aS +Ecr1wPrYg1UDfNPFIkZ1cGt5SAYqgpq/5usWDiJFAbzdNpQ0qTUmiteXue4Icr80 +knCDgKs4qllo3UCkGJCy89UDyibK79XH4I9TjvAA46jtn/mtd+ArY0+ew+43u3gJ +hJ65bvspmZDogNOfJA== +-----END CERTIFICATE----- + +# Issuer: CN=TrustAsia TLS ECC Root CA O=TrustAsia Technologies, Inc. +# Subject: CN=TrustAsia TLS ECC Root CA O=TrustAsia Technologies, Inc. +# Label: "TrustAsia TLS ECC Root CA" +# Serial: 310892014698942880364840003424242768478804666567 +# MD5 Fingerprint: 09:48:04:77:d2:fc:65:93:71:66:b1:11:95:4f:06:8c +# SHA1 Fingerprint: b5:ec:39:f3:a1:66:37:ae:c3:05:94:57:e2:be:11:be:b7:a1:7f:36 +# SHA256 Fingerprint: c0:07:6b:9e:f0:53:1f:b1:a6:56:d6:7c:4e:be:97:cd:5d:ba:a4:1e:f4:45:98:ac:c2:48:98:78:c9:2d:87:11 +-----BEGIN CERTIFICATE----- +MIICMTCCAbegAwIBAgIUNnThTXxlE8msg1UloD5Sfi9QaMcwCgYIKoZIzj0EAwMw +WDELMAkGA1UEBhMCQ04xJTAjBgNVBAoTHFRydXN0QXNpYSBUZWNobm9sb2dpZXMs +IEluYy4xIjAgBgNVBAMTGVRydXN0QXNpYSBUTFMgRUNDIFJvb3QgQ0EwHhcNMjQw +NTE1MDU0MTU2WhcNNDQwNTE1MDU0MTU1WjBYMQswCQYDVQQGEwJDTjElMCMGA1UE +ChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywgSW5jLjEiMCAGA1UEAxMZVHJ1c3RB +c2lhIFRMUyBFQ0MgUm9vdCBDQTB2MBAGByqGSM49AgEGBSuBBAAiA2IABLh/pVs/ +AT598IhtrimY4ZtcU5nb9wj/1WrgjstEpvDBjL1P1M7UiFPoXlfXTr4sP/MSpwDp +guMqWzJ8S5sUKZ74LYO1644xST0mYekdcouJtgq7nDM1D9rs3qlKH8kzsaNCMEAw +DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQULIVTu7FDzTLqnqOH/qKYqKaT6RAw +DgYDVR0PAQH/BAQDAgEGMAoGCCqGSM49BAMDA2gAMGUCMFRH18MtYYZI9HlaVQ01 +L18N9mdsd0AaRuf4aFtOJx24mH1/k78ITcTaRTChD15KeAIxAKORh/IRM4PDwYqR +OkwrULG9IpRdNYlzg8WbGf60oenUoWa2AaU2+dhoYSi3dOGiMQ== +-----END CERTIFICATE----- + +# Issuer: CN=TrustAsia TLS RSA Root CA O=TrustAsia Technologies, Inc. +# Subject: CN=TrustAsia TLS RSA Root CA O=TrustAsia Technologies, Inc. +# Label: "TrustAsia TLS RSA Root CA" +# Serial: 160405846464868906657516898462547310235378010780 +# MD5 Fingerprint: 3b:9e:c3:86:0f:34:3c:6b:c5:46:c4:8e:1d:e7:19:12 +# SHA1 Fingerprint: a5:46:50:c5:62:ea:95:9a:1a:a7:04:6f:17:58:c7:29:53:3d:03:fa +# SHA256 Fingerprint: 06:c0:8d:7d:af:d8:76:97:1e:b1:12:4f:e6:7f:84:7e:c0:c7:a1:58:d3:ea:53:cb:e9:40:e2:ea:97:91:f4:c3 +-----BEGIN CERTIFICATE----- +MIIFgDCCA2igAwIBAgIUHBjYz+VTPyI1RlNUJDxsR9FcSpwwDQYJKoZIhvcNAQEM +BQAwWDELMAkGA1UEBhMCQ04xJTAjBgNVBAoTHFRydXN0QXNpYSBUZWNobm9sb2dp +ZXMsIEluYy4xIjAgBgNVBAMTGVRydXN0QXNpYSBUTFMgUlNBIFJvb3QgQ0EwHhcN +MjQwNTE1MDU0MTU3WhcNNDQwNTE1MDU0MTU2WjBYMQswCQYDVQQGEwJDTjElMCMG +A1UEChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywgSW5jLjEiMCAGA1UEAxMZVHJ1 +c3RBc2lhIFRMUyBSU0EgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC +AgoCggIBAMMWuBtqpERz5dZO9LnPWwvB0ZqB9WOwj0PBuwhaGnrhB3YmH49pVr7+ +NmDQDIPNlOrnxS1cLwUWAp4KqC/lYCZUlviYQB2srp10Zy9U+5RjmOMmSoPGlbYJ +Q1DNDX3eRA5gEk9bNb2/mThtfWza4mhzH/kxpRkQcwUqwzIZheo0qt1CHjCNP561 +HmHVb70AcnKtEj+qpklz8oYVlQwQX1Fkzv93uMltrOXVmPGZLmzjyUT5tUMnCE32 +ft5EebuyjBza00tsLtbDeLdM1aTk2tyKjg7/D8OmYCYozza/+lcK7Fs/6TAWe8Tb +xNRkoDD75f0dcZLdKY9BWN4ArTr9PXwaqLEX8E40eFgl1oUh63kd0Nyrz2I8sMeX +i9bQn9P+PN7F4/w6g3CEIR0JwqH8uyghZVNgepBtljhb//HXeltt08lwSUq6HTrQ +UNoyIBnkiz/r1RYmNzz7dZ6wB3C4FGB33PYPXFIKvF1tjVEK2sUYyJtt3LCDs3+j +TnhMmCWr8n4uIF6CFabW2I+s5c0yhsj55NqJ4js+k8UTav/H9xj8Z7XvGCxUq0DT +bE3txci3OE9kxJRMT6DNrqXGJyV1J23G2pyOsAWZ1SgRxSHUuPzHlqtKZFlhaxP8 +S8ySpg+kUb8OWJDZgoM5pl+z+m6Ss80zDoWo8SnTq1mt1tve1CuBAgMBAAGjQjBA +MA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFLgHkXlcBvRG/XtZylomkadFK/hT +MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQwFAAOCAgEAIZtqBSBdGBanEqT3 +Rz/NyjuujsCCztxIJXgXbODgcMTWltnZ9r96nBO7U5WS/8+S4PPFJzVXqDuiGev4 +iqME3mmL5Dw8veWv0BIb5Ylrc5tvJQJLkIKvQMKtuppgJFqBTQUYo+IzeXoLH5Pt +7DlK9RME7I10nYEKqG/odv6LTytpEoYKNDbdgptvT+Bz3Ul/KD7JO6NXBNiT2Twp +2xIQaOHEibgGIOcberyxk2GaGUARtWqFVwHxtlotJnMnlvm5P1vQiJ3koP26TpUJ +g3933FEFlJ0gcXax7PqJtZwuhfG5WyRasQmr2soaB82G39tp27RIGAAtvKLEiUUj +pQ7hRGU+isFqMB3iYPg6qocJQrmBktwliJiJ8Xw18WLK7nn4GS/+X/jbh87qqA8M +pugLoDzga5SYnH+tBuYc6kIQX+ImFTw3OffXvO645e8D7r0i+yiGNFjEWn9hongP +XvPKnbwbPKfILfanIhHKA9jnZwqKDss1jjQ52MjqjZ9k4DewbNfFj8GQYSbbJIwe +SsCI3zWQzj8C9GRh3sfIB5XeMhg6j6JCQCTl1jNdfK7vsU1P1FeQNWrcrgSXSYk0 +ly4wBOeY99sLAZDBHwo/+ML+TvrbmnNzFrwFuHnYWa8G5z9nODmxfKuU4CkUpijy +323imttUQ/hHWKNddBWcwauwxzQ= +-----END CERTIFICATE----- + +# Issuer: CN=D-TRUST EV Root CA 2 2023 O=D-Trust GmbH +# Subject: CN=D-TRUST EV Root CA 2 2023 O=D-Trust GmbH +# Label: "D-TRUST EV Root CA 2 2023" +# Serial: 139766439402180512324132425437959641711 +# MD5 Fingerprint: 96:b4:78:09:f0:09:cb:77:eb:bb:1b:4d:6f:36:bc:b6 +# SHA1 Fingerprint: a5:5b:d8:47:6c:8f:19:f7:4c:f4:6d:6b:b6:c2:79:82:22:df:54:8b +# SHA256 Fingerprint: 8e:82:21:b2:e7:d4:00:78:36:a1:67:2f:0d:cc:29:9c:33:bc:07:d3:16:f1:32:fa:1a:20:6d:58:71:50:f1:ce +-----BEGIN CERTIFICATE----- +MIIFqTCCA5GgAwIBAgIQaSYJfoBLTKCnjHhiU19abzANBgkqhkiG9w0BAQ0FADBI +MQswCQYDVQQGEwJERTEVMBMGA1UEChMMRC1UcnVzdCBHbWJIMSIwIAYDVQQDExlE +LVRSVVNUIEVWIFJvb3QgQ0EgMiAyMDIzMB4XDTIzMDUwOTA5MTAzM1oXDTM4MDUw +OTA5MTAzMlowSDELMAkGA1UEBhMCREUxFTATBgNVBAoTDEQtVHJ1c3QgR21iSDEi +MCAGA1UEAxMZRC1UUlVTVCBFViBSb290IENBIDIgMjAyMzCCAiIwDQYJKoZIhvcN +AQEBBQADggIPADCCAgoCggIBANiOo4mAC7JXUtypU0w3uX9jFxPvp1sjW2l1sJkK +F8GLxNuo4MwxusLyzV3pt/gdr2rElYfXR8mV2IIEUD2BCP/kPbOx1sWy/YgJ25yE +7CUXFId/MHibaljJtnMoPDT3mfd/06b4HEV8rSyMlD/YZxBTfiLNTiVR8CUkNRFe +EMbsh2aJgWi6zCudR3Mfvc2RpHJqnKIbGKBv7FD0fUDCqDDPvXPIEysQEx6Lmqg6 +lHPTGGkKSv/BAQP/eX+1SH977ugpbzZMlWGG2Pmic4ruri+W7mjNPU0oQvlFKzIb +RlUWaqZLKfm7lVa/Rh3sHZMdwGWyH6FDrlaeoLGPaxK3YG14C8qKXO0elg6DpkiV +jTujIcSuWMYAsoS0I6SWhjW42J7YrDRJmGOVxcttSEfi8i4YHtAxq9107PncjLgc +jmgjutDzUNzPZY9zOjLHfP7KgiJPvo5iR2blzYfi6NUPGJ/lBHJLRjwQ8kTCZFZx +TnXonMkmdMV9WdEKWw9t/p51HBjGGjp82A0EzM23RWV6sY+4roRIPrN6TagD4uJ+ +ARZZaBhDM7DS3LAaQzXupdqpRlyuhoFBAUp0JuyfBr/CBTdkdXgpaP3F9ev+R/nk +hbDhezGdpn9yo7nELC7MmVcOIQxFAZRl62UJxmMiCzNJkkg8/M3OsD6Onov4/knF +NXJHAgMBAAGjgY4wgYswDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUqvyREBuH +kV8Wub9PS5FeAByxMoAwDgYDVR0PAQH/BAQDAgEGMEkGA1UdHwRCMEAwPqA8oDqG +OGh0dHA6Ly9jcmwuZC10cnVzdC5uZXQvY3JsL2QtdHJ1c3RfZXZfcm9vdF9jYV8y +XzIwMjMuY3JsMA0GCSqGSIb3DQEBDQUAA4ICAQCTy6UfmRHsmg1fLBWTxj++EI14 +QvBukEdHjqOSMo1wj/Zbjb6JzkcBahsgIIlbyIIQbODnmaprxiqgYzWRaoUlrRc4 +pZt+UPJ26oUFKidBK7GB0aL2QHWpDsvxVUjY7NHss+jOFKE17MJeNRqrphYBBo7q +3C+jisosketSjl8MmxfPy3MHGcRqwnNU73xDUmPBEcrCRbH0O1P1aa4846XerOhU +t7KR/aypH/KH5BfGSah82ApB9PI+53c0BFLd6IHyTS9URZ0V4U/M5d40VxDJI3IX +cI1QcB9WbMy5/zpaT2N6w25lBx2Eof+pDGOJbbJAiDnXH3dotfyc1dZnaVuodNv8 +ifYbMvekJKZ2t0dT741Jj6m2g1qllpBFYfXeA08mD6iL8AOWsKwV0HFaanuU5nCT +2vFp4LJiTZ6P/4mdm13NRemUAiKN4DV/6PEEeXFsVIP4M7kFMhtYVRFP0OUnR3Hs +7dpn1mKmS00PaaLJvOwiS5THaJQXfuKOKD62xur1NGyfN4gHONuGcfrNlUhDbqNP +gofXNJhuS5N5YHVpD/Aa1VP6IQzCP+k/HxiMkl14p3ZnGbuy6n/pcAlWVqOwDAst +Nl7F6cTVg8uGF5csbBNvh1qvSaYd2804BC5f4ko1Di1L+KIkBI3Y4WNeApI02phh +XBxvWHZks/wCuPWdCg== +-----END CERTIFICATE----- + +# Issuer: CN=SwissSign RSA TLS Root CA 2022 - 1 O=SwissSign AG +# Subject: CN=SwissSign RSA TLS Root CA 2022 - 1 O=SwissSign AG +# Label: "SwissSign RSA TLS Root CA 2022 - 1" +# Serial: 388078645722908516278762308316089881486363258315 +# MD5 Fingerprint: 16:2e:e4:19:76:81:85:ba:8e:91:58:f1:15:ef:72:39 +# SHA1 Fingerprint: 81:34:0a:be:4c:cd:ce:cc:e7:7d:cc:8a:d4:57:e2:45:a0:77:5d:ce +# SHA256 Fingerprint: 19:31:44:f4:31:e0:fd:db:74:07:17:d4:de:92:6a:57:11:33:88:4b:43:60:d3:0e:27:29:13:cb:e6:60:ce:41 +-----BEGIN CERTIFICATE----- +MIIFkzCCA3ugAwIBAgIUQ/oMX04bgBhE79G0TzUfRPSA7cswDQYJKoZIhvcNAQEL +BQAwUTELMAkGA1UEBhMCQ0gxFTATBgNVBAoTDFN3aXNzU2lnbiBBRzErMCkGA1UE +AxMiU3dpc3NTaWduIFJTQSBUTFMgUm9vdCBDQSAyMDIyIC0gMTAeFw0yMjA2MDgx +MTA4MjJaFw00NzA2MDgxMTA4MjJaMFExCzAJBgNVBAYTAkNIMRUwEwYDVQQKEwxT +d2lzc1NpZ24gQUcxKzApBgNVBAMTIlN3aXNzU2lnbiBSU0EgVExTIFJvb3QgQ0Eg +MjAyMiAtIDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDLKmjiC8NX +vDVjvHClO/OMPE5Xlm7DTjak9gLKHqquuN6orx122ro10JFwB9+zBvKK8i5VUXu7 +LCTLf5ImgKO0lPaCoaTo+nUdWfMHamFk4saMla+ju45vVs9xzF6BYQ1t8qsCLqSX +5XH8irCRIFucdFJtrhUnWXjyCcplDn/L9Ovn3KlMd/YrFgSVrpxxpT8q2kFC5zyE +EPThPYxr4iuRR1VPuFa+Rd4iUU1OKNlfGUEGjw5NBuBwQCMBauTLE5tzrE0USJIt +/m2n+IdreXXhvhCxqohAWVTXz8TQm0SzOGlkjIHRI36qOTw7D59Ke4LKa2/KIj4x +0LDQKhySio/YGZxH5D4MucLNvkEM+KRHBdvBFzA4OmnczcNpI/2aDwLOEGrOyvi5 +KaM2iYauC8BPY7kGWUleDsFpswrzd34unYyzJ5jSmY0lpx+Gs6ZUcDj8fV3oT4MM +0ZPlEuRU2j7yrTrePjxF8CgPBrnh25d7mUWe3f6VWQQvdT/TromZhqwUtKiE+shd +OxtYk8EXlFXIC+OCeYSf8wCENO7cMdWP8vpPlkwGqnj73mSiI80fPsWMvDdUDrta +clXvyFu1cvh43zcgTFeRc5JzrBh3Q4IgaezprClG5QtO+DdziZaKHG29777YtvTK +wP1H8K4LWCDFyB02rpeNUIMmJCn3nTsPBQIDAQABo2MwYTAPBgNVHRMBAf8EBTAD +AQH/MA4GA1UdDwEB/wQEAwIBBjAfBgNVHSMEGDAWgBRvjmKLk0Ow4UD2p8P98Q+4 +DxU4pTAdBgNVHQ4EFgQUb45ii5NDsOFA9qfD/fEPuA8VOKUwDQYJKoZIhvcNAQEL +BQADggIBAKwsKUF9+lz1GpUYvyypiqkkVHX1uECry6gkUSsYP2OprphWKwVDIqO3 +10aewCoSPY6WlkDfDDOLazeROpW7OSltwAJsipQLBwJNGD77+3v1dj2b9l4wBlgz +Hqp41eZUBDqyggmNzhYzWUUo8aWjlw5DI/0LIICQ/+Mmz7hkkeUFjxOgdg3XNwwQ +iJb0Pr6VvfHDffCjw3lHC1ySFWPtUnWK50Zpy1FVCypM9fJkT6lc/2cyjlUtMoIc +gC9qkfjLvH4YoiaoLqNTKIftV+Vlek4ASltOU8liNr3CjlvrzG4ngRhZi0Rjn9UM +ZfQpZX+RLOV/fuiJz48gy20HQhFRJjKKLjpHE7iNvUcNCfAWpO2Whi4Z2L6MOuhF +LhG6rlrnub+xzI/goP+4s9GFe3lmozm1O2bYQL7Pt2eLSMkZJVX8vY3PXtpOpvJp +zv1/THfQwUY1mFwjmwJFQ5Ra3bxHrSL+ul4vkSkphnsh3m5kt8sNjzdbowhq6/Td +Ao9QAwKxuDdollDruF/UKIqlIgyKhPBZLtU30WHlQnNYKoH3dtvi4k0NX/a3vgW0 +rk4N3hY9A4GzJl5LuEsAz/+MF7psYC0nhzck5npgL7XTgwSqT0N1osGDsieYK7EO +gLrAhV5Cud+xYJHT6xh+cHiudoO+cVrQkOPKwRYlZ0rwtnu64ZzZ +-----END CERTIFICATE----- diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/core.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/core.py new file mode 100644 index 0000000000000000000000000000000000000000..2f2f7e088aebb0636a414a22dfe9d18e247cd512 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/core.py @@ -0,0 +1,83 @@ +""" +certifi.py +~~~~~~~~~~ + +This module returns the installation location of cacert.pem or its contents. +""" +import sys +import atexit + +def exit_cacert_ctx() -> None: + _CACERT_CTX.__exit__(None, None, None) # type: ignore[union-attr] + + +if sys.version_info >= (3, 11): + + from importlib.resources import as_file, files + + _CACERT_CTX = None + _CACERT_PATH = None + + def where() -> str: + # This is slightly terrible, but we want to delay extracting the file + # in cases where we're inside of a zipimport situation until someone + # actually calls where(), but we don't want to re-extract the file + # on every call of where(), so we'll do it once then store it in a + # global variable. + global _CACERT_CTX + global _CACERT_PATH + if _CACERT_PATH is None: + # This is slightly janky, the importlib.resources API wants you to + # manage the cleanup of this file, so it doesn't actually return a + # path, it returns a context manager that will give you the path + # when you enter it and will do any cleanup when you leave it. In + # the common case of not needing a temporary file, it will just + # return the file system location and the __exit__() is a no-op. + # + # We also have to hold onto the actual context manager, because + # it will do the cleanup whenever it gets garbage collected, so + # we will also store that at the global level as well. + _CACERT_CTX = as_file(files("pip._vendor.certifi").joinpath("cacert.pem")) + _CACERT_PATH = str(_CACERT_CTX.__enter__()) + atexit.register(exit_cacert_ctx) + + return _CACERT_PATH + + def contents() -> str: + return files("pip._vendor.certifi").joinpath("cacert.pem").read_text(encoding="ascii") + +else: + + from importlib.resources import path as get_path, read_text + + _CACERT_CTX = None + _CACERT_PATH = None + + def where() -> str: + # This is slightly terrible, but we want to delay extracting the + # file in cases where we're inside of a zipimport situation until + # someone actually calls where(), but we don't want to re-extract + # the file on every call of where(), so we'll do it once then store + # it in a global variable. + global _CACERT_CTX + global _CACERT_PATH + if _CACERT_PATH is None: + # This is slightly janky, the importlib.resources API wants you + # to manage the cleanup of this file, so it doesn't actually + # return a path, it returns a context manager that will give + # you the path when you enter it and will do any cleanup when + # you leave it. In the common case of not needing a temporary + # file, it will just return the file system location and the + # __exit__() is a no-op. + # + # We also have to hold onto the actual context manager, because + # it will do the cleanup whenever it gets garbage collected, so + # we will also store that at the global level as well. + _CACERT_CTX = get_path("pip._vendor.certifi", "cacert.pem") + _CACERT_PATH = str(_CACERT_CTX.__enter__()) + atexit.register(exit_cacert_ctx) + + return _CACERT_PATH + + def contents() -> str: + return read_text("pip._vendor.certifi", "cacert.pem", encoding="ascii") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..9fec20299492ea5da0d5d0f347c26d3e3d4938c9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__init__.py @@ -0,0 +1,13 @@ +from ._implementation import ( + CyclicDependencyError, + DependencyGroupInclude, + DependencyGroupResolver, + resolve, +) + +__all__ = ( + "CyclicDependencyError", + "DependencyGroupInclude", + "DependencyGroupResolver", + "resolve", +) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__main__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__main__.py new file mode 100644 index 0000000000000000000000000000000000000000..48ebb0d41cfb6ec9fe85e69c49fc2e8907681451 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__main__.py @@ -0,0 +1,65 @@ +import argparse +import sys + +from ._implementation import resolve +from ._toml_compat import tomllib + + +def main() -> None: + if tomllib is None: + print( + "Usage error: dependency-groups CLI requires tomli or Python 3.11+", + file=sys.stderr, + ) + raise SystemExit(2) + + parser = argparse.ArgumentParser( + description=( + "A dependency-groups CLI. Prints out a resolved group, newline-delimited." + ) + ) + parser.add_argument( + "GROUP_NAME", nargs="*", help="The dependency group(s) to resolve." + ) + parser.add_argument( + "-f", + "--pyproject-file", + default="pyproject.toml", + help="The pyproject.toml file. Defaults to trying in the current directory.", + ) + parser.add_argument( + "-o", + "--output", + help="An output file. Defaults to stdout.", + ) + parser.add_argument( + "-l", + "--list", + action="store_true", + help="List the available dependency groups", + ) + args = parser.parse_args() + + with open(args.pyproject_file, "rb") as fp: + pyproject = tomllib.load(fp) + + dependency_groups_raw = pyproject.get("dependency-groups", {}) + + if args.list: + print(*dependency_groups_raw.keys()) + return + if not args.GROUP_NAME: + print("A GROUP_NAME is required", file=sys.stderr) + raise SystemExit(3) + + content = "\n".join(resolve(dependency_groups_raw, *args.GROUP_NAME)) + + if args.output is None or args.output == "-": + print(content) + else: + with open(args.output, "w", encoding="utf-8") as fp: + print(content, file=fp) + + +if __name__ == "__main__": + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f857c269c87f7615b3044465502fddaf4e1930e6 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b4d4ea72adec3584b6a7934e76be2c11f4c262de Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a83bedbdbfae7b7e15056fc81edfaf3ffe3c84d4 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f102b033de74be5dcbb7f9e195f5d7409dee4246 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..796443492c0a91209b2796588c20100a0ce3dd71 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..596dc2db76fbd12cd068061d5a9a72fcefb0a1e1 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_implementation.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_implementation.py new file mode 100644 index 0000000000000000000000000000000000000000..64e314a63280158a588e121b58c19a66da108acc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_implementation.py @@ -0,0 +1,209 @@ +from __future__ import annotations + +import dataclasses +import re +from collections.abc import Mapping + +from pip._vendor.packaging.requirements import Requirement + + +def _normalize_name(name: str) -> str: + return re.sub(r"[-_.]+", "-", name).lower() + + +def _normalize_group_names( + dependency_groups: Mapping[str, str | Mapping[str, str]], +) -> Mapping[str, str | Mapping[str, str]]: + original_names: dict[str, list[str]] = {} + normalized_groups = {} + + for group_name, value in dependency_groups.items(): + normed_group_name = _normalize_name(group_name) + original_names.setdefault(normed_group_name, []).append(group_name) + normalized_groups[normed_group_name] = value + + errors = [] + for normed_name, names in original_names.items(): + if len(names) > 1: + errors.append(f"{normed_name} ({', '.join(names)})") + if errors: + raise ValueError(f"Duplicate dependency group names: {', '.join(errors)}") + + return normalized_groups + + +@dataclasses.dataclass +class DependencyGroupInclude: + include_group: str + + +class CyclicDependencyError(ValueError): + """ + An error representing the detection of a cycle. + """ + + def __init__(self, requested_group: str, group: str, include_group: str) -> None: + self.requested_group = requested_group + self.group = group + self.include_group = include_group + + if include_group == group: + reason = f"{group} includes itself" + else: + reason = f"{include_group} -> {group}, {group} -> {include_group}" + super().__init__( + "Cyclic dependency group include while resolving " + f"{requested_group}: {reason}" + ) + + +class DependencyGroupResolver: + """ + A resolver for Dependency Group data. + + This class handles caching, name normalization, cycle detection, and other + parsing requirements. There are only two public methods for exploring the data: + ``lookup()`` and ``resolve()``. + + :param dependency_groups: A mapping, as provided via pyproject + ``[dependency-groups]``. + """ + + def __init__( + self, + dependency_groups: Mapping[str, str | Mapping[str, str]], + ) -> None: + if not isinstance(dependency_groups, Mapping): + raise TypeError("Dependency Groups table is not a mapping") + self.dependency_groups = _normalize_group_names(dependency_groups) + # a map of group names to parsed data + self._parsed_groups: dict[ + str, tuple[Requirement | DependencyGroupInclude, ...] + ] = {} + # a map of group names to their ancestors, used for cycle detection + self._include_graph_ancestors: dict[str, tuple[str, ...]] = {} + # a cache of completed resolutions to Requirement lists + self._resolve_cache: dict[str, tuple[Requirement, ...]] = {} + + def lookup(self, group: str) -> tuple[Requirement | DependencyGroupInclude, ...]: + """ + Lookup a group name, returning the parsed dependency data for that group. + This will not resolve includes. + + :param group: the name of the group to lookup + + :raises ValueError: if the data does not appear to be valid dependency group + data + :raises TypeError: if the data is not a string + :raises LookupError: if group name is absent + :raises packaging.requirements.InvalidRequirement: if a specifier is not valid + """ + if not isinstance(group, str): + raise TypeError("Dependency group name is not a str") + group = _normalize_name(group) + return self._parse_group(group) + + def resolve(self, group: str) -> tuple[Requirement, ...]: + """ + Resolve a dependency group to a list of requirements. + + :param group: the name of the group to resolve + + :raises TypeError: if the inputs appear to be the wrong types + :raises ValueError: if the data does not appear to be valid dependency group + data + :raises LookupError: if group name is absent + :raises packaging.requirements.InvalidRequirement: if a specifier is not valid + """ + if not isinstance(group, str): + raise TypeError("Dependency group name is not a str") + group = _normalize_name(group) + return self._resolve(group, group) + + def _parse_group( + self, group: str + ) -> tuple[Requirement | DependencyGroupInclude, ...]: + # short circuit -- never do the work twice + if group in self._parsed_groups: + return self._parsed_groups[group] + + if group not in self.dependency_groups: + raise LookupError(f"Dependency group '{group}' not found") + + raw_group = self.dependency_groups[group] + if not isinstance(raw_group, list): + raise TypeError(f"Dependency group '{group}' is not a list") + + elements: list[Requirement | DependencyGroupInclude] = [] + for item in raw_group: + if isinstance(item, str): + # packaging.requirements.Requirement parsing ensures that this is a + # valid PEP 508 Dependency Specifier + # raises InvalidRequirement on failure + elements.append(Requirement(item)) + elif isinstance(item, dict): + if tuple(item.keys()) != ("include-group",): + raise ValueError(f"Invalid dependency group item: {item}") + + include_group = next(iter(item.values())) + elements.append(DependencyGroupInclude(include_group=include_group)) + else: + raise ValueError(f"Invalid dependency group item: {item}") + + self._parsed_groups[group] = tuple(elements) + return self._parsed_groups[group] + + def _resolve(self, group: str, requested_group: str) -> tuple[Requirement, ...]: + """ + This is a helper for cached resolution to strings. + + :param group: The name of the group to resolve. + :param requested_group: The group which was used in the original, user-facing + request. + """ + if group in self._resolve_cache: + return self._resolve_cache[group] + + parsed = self._parse_group(group) + + resolved_group = [] + for item in parsed: + if isinstance(item, Requirement): + resolved_group.append(item) + elif isinstance(item, DependencyGroupInclude): + include_group = _normalize_name(item.include_group) + if include_group in self._include_graph_ancestors.get(group, ()): + raise CyclicDependencyError( + requested_group, group, item.include_group + ) + self._include_graph_ancestors[include_group] = ( + *self._include_graph_ancestors.get(group, ()), + group, + ) + resolved_group.extend(self._resolve(include_group, requested_group)) + else: # unreachable + raise NotImplementedError( + f"Invalid dependency group item after parse: {item}" + ) + + self._resolve_cache[group] = tuple(resolved_group) + return self._resolve_cache[group] + + +def resolve( + dependency_groups: Mapping[str, str | Mapping[str, str]], /, *groups: str +) -> tuple[str, ...]: + """ + Resolve a dependency group to a tuple of requirements, as strings. + + :param dependency_groups: the parsed contents of the ``[dependency-groups]`` table + from ``pyproject.toml`` + :param groups: the name of the group(s) to resolve + + :raises TypeError: if the inputs appear to be the wrong types + :raises ValueError: if the data does not appear to be valid dependency group data + :raises LookupError: if group name is absent + :raises packaging.requirements.InvalidRequirement: if a specifier is not valid + """ + resolver = DependencyGroupResolver(dependency_groups) + return tuple(str(r) for group in groups for r in resolver.resolve(group)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py new file mode 100644 index 0000000000000000000000000000000000000000..09454bdc2803504c73c313c8fe1befcd1fd87edf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py @@ -0,0 +1,59 @@ +from __future__ import annotations + +import argparse +import sys + +from ._implementation import DependencyGroupResolver +from ._toml_compat import tomllib + + +def main(*, argv: list[str] | None = None) -> None: + if tomllib is None: + print( + "Usage error: dependency-groups CLI requires tomli or Python 3.11+", + file=sys.stderr, + ) + raise SystemExit(2) + + parser = argparse.ArgumentParser( + description=( + "Lint Dependency Groups for validity. " + "This will eagerly load and check all of your Dependency Groups." + ) + ) + parser.add_argument( + "-f", + "--pyproject-file", + default="pyproject.toml", + help="The pyproject.toml file. Defaults to trying in the current directory.", + ) + args = parser.parse_args(argv if argv is not None else sys.argv[1:]) + + with open(args.pyproject_file, "rb") as fp: + pyproject = tomllib.load(fp) + dependency_groups_raw = pyproject.get("dependency-groups", {}) + + errors: list[str] = [] + try: + resolver = DependencyGroupResolver(dependency_groups_raw) + except (ValueError, TypeError) as e: + errors.append(f"{type(e).__name__}: {e}") + else: + for groupname in resolver.dependency_groups: + try: + resolver.resolve(groupname) + except (LookupError, ValueError, TypeError) as e: + errors.append(f"{type(e).__name__}: {e}") + + if errors: + print("errors encountered while examining dependency groups:") + for msg in errors: + print(f" {msg}") + sys.exit(1) + else: + print("ok") + sys.exit(0) + + +if __name__ == "__main__": + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py new file mode 100644 index 0000000000000000000000000000000000000000..f86d8961ba2bb2c73fc1922145da1fc31c4435a4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py @@ -0,0 +1,62 @@ +from __future__ import annotations + +import argparse +import subprocess +import sys + +from ._implementation import DependencyGroupResolver +from ._toml_compat import tomllib + + +def _invoke_pip(deps: list[str]) -> None: + subprocess.check_call([sys.executable, "-m", "pip", "install", *deps]) + + +def main(*, argv: list[str] | None = None) -> None: + if tomllib is None: + print( + "Usage error: dependency-groups CLI requires tomli or Python 3.11+", + file=sys.stderr, + ) + raise SystemExit(2) + + parser = argparse.ArgumentParser(description="Install Dependency Groups.") + parser.add_argument( + "DEPENDENCY_GROUP", nargs="+", help="The dependency groups to install." + ) + parser.add_argument( + "-f", + "--pyproject-file", + default="pyproject.toml", + help="The pyproject.toml file. Defaults to trying in the current directory.", + ) + args = parser.parse_args(argv if argv is not None else sys.argv[1:]) + + with open(args.pyproject_file, "rb") as fp: + pyproject = tomllib.load(fp) + dependency_groups_raw = pyproject.get("dependency-groups", {}) + + errors: list[str] = [] + resolved: list[str] = [] + try: + resolver = DependencyGroupResolver(dependency_groups_raw) + except (ValueError, TypeError) as e: + errors.append(f"{type(e).__name__}: {e}") + else: + for groupname in args.DEPENDENCY_GROUP: + try: + resolved.extend(str(r) for r in resolver.resolve(groupname)) + except (LookupError, ValueError, TypeError) as e: + errors.append(f"{type(e).__name__}: {e}") + + if errors: + print("errors encountered while examining dependency groups:") + for msg in errors: + print(f" {msg}") + sys.exit(1) + + _invoke_pip(resolved) + + +if __name__ == "__main__": + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_toml_compat.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_toml_compat.py new file mode 100644 index 0000000000000000000000000000000000000000..8d6f921c2a519de1a02cd7f2fc123e07908d611a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/_toml_compat.py @@ -0,0 +1,9 @@ +try: + import tomllib +except ImportError: + try: + from pip._vendor import tomli as tomllib # type: ignore[no-redef, unused-ignore] + except ModuleNotFoundError: # pragma: no cover + tomllib = None # type: ignore[assignment, unused-ignore] + +__all__ = ("tomllib",) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/dependency_groups/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..4e82943ef85301bed12d4a8d0392d7380e2be303 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__init__.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2012-2024 Vinay Sajip. +# Licensed to the Python Software Foundation under a contributor agreement. +# See LICENSE.txt and CONTRIBUTORS.txt. +# +import logging + +__version__ = '0.4.0' + + +class DistlibException(Exception): + pass + + +try: + from logging import NullHandler +except ImportError: # pragma: no cover + + class NullHandler(logging.Handler): + + def handle(self, record): + pass + + def emit(self, record): + pass + + def createLock(self): + self.lock = None + + +logger = logging.getLogger(__name__) +logger.addHandler(NullHandler()) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..16c0faf324e1d687fcfff781379a0d0c447f24a4 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c5efca90a9bd471b81b08d5670add8776a1e6e98 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2fc89a3449bd286739bdc286d4b224cc94251537 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d15bfdea679e980dc6740f4b0e67eb11dfa24cb5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c8589fb8ea49e065074fa2e6904406f51e07d325 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/compat.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/compat.py new file mode 100644 index 0000000000000000000000000000000000000000..ca561dd2e37d623caa303f5564425bce657a35e7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/compat.py @@ -0,0 +1,1137 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2013-2017 Vinay Sajip. +# Licensed to the Python Software Foundation under a contributor agreement. +# See LICENSE.txt and CONTRIBUTORS.txt. +# +from __future__ import absolute_import + +import os +import re +import shutil +import sys + +try: + import ssl +except ImportError: # pragma: no cover + ssl = None + +if sys.version_info[0] < 3: # pragma: no cover + from StringIO import StringIO + string_types = basestring, + text_type = unicode + from types import FileType as file_type + import __builtin__ as builtins + import ConfigParser as configparser + from urlparse import urlparse, urlunparse, urljoin, urlsplit, urlunsplit + from urllib import (urlretrieve, quote as _quote, unquote, url2pathname, + pathname2url, ContentTooShortError, splittype) + + def quote(s): + if isinstance(s, unicode): + s = s.encode('utf-8') + return _quote(s) + + import urllib2 + from urllib2 import (Request, urlopen, URLError, HTTPError, + HTTPBasicAuthHandler, HTTPPasswordMgr, HTTPHandler, + HTTPRedirectHandler, build_opener) + if ssl: + from urllib2 import HTTPSHandler + import httplib + import xmlrpclib + import Queue as queue + from HTMLParser import HTMLParser + import htmlentitydefs + raw_input = raw_input + from itertools import ifilter as filter + from itertools import ifilterfalse as filterfalse + + # Leaving this around for now, in case it needs resurrecting in some way + # _userprog = None + # def splituser(host): + # """splituser('user[:passwd]@host[:port]') --> 'user[:passwd]', 'host[:port]'.""" + # global _userprog + # if _userprog is None: + # import re + # _userprog = re.compile('^(.*)@(.*)$') + + # match = _userprog.match(host) + # if match: return match.group(1, 2) + # return None, host + +else: # pragma: no cover + from io import StringIO + string_types = str, + text_type = str + from io import TextIOWrapper as file_type + import builtins + import configparser + from urllib.parse import (urlparse, urlunparse, urljoin, quote, unquote, + urlsplit, urlunsplit, splittype) + from urllib.request import (urlopen, urlretrieve, Request, url2pathname, + pathname2url, HTTPBasicAuthHandler, + HTTPPasswordMgr, HTTPHandler, + HTTPRedirectHandler, build_opener) + if ssl: + from urllib.request import HTTPSHandler + from urllib.error import HTTPError, URLError, ContentTooShortError + import http.client as httplib + import urllib.request as urllib2 + import xmlrpc.client as xmlrpclib + import queue + from html.parser import HTMLParser + import html.entities as htmlentitydefs + raw_input = input + from itertools import filterfalse + filter = filter + +try: + from ssl import match_hostname, CertificateError +except ImportError: # pragma: no cover + + class CertificateError(ValueError): + pass + + def _dnsname_match(dn, hostname, max_wildcards=1): + """Matching according to RFC 6125, section 6.4.3 + + http://tools.ietf.org/html/rfc6125#section-6.4.3 + """ + pats = [] + if not dn: + return False + + parts = dn.split('.') + leftmost, remainder = parts[0], parts[1:] + + wildcards = leftmost.count('*') + if wildcards > max_wildcards: + # Issue #17980: avoid denials of service by refusing more + # than one wildcard per fragment. A survey of established + # policy among SSL implementations showed it to be a + # reasonable choice. + raise CertificateError( + "too many wildcards in certificate DNS name: " + repr(dn)) + + # speed up common case w/o wildcards + if not wildcards: + return dn.lower() == hostname.lower() + + # RFC 6125, section 6.4.3, subitem 1. + # The client SHOULD NOT attempt to match a presented identifier in which + # the wildcard character comprises a label other than the left-most label. + if leftmost == '*': + # When '*' is a fragment by itself, it matches a non-empty dotless + # fragment. + pats.append('[^.]+') + elif leftmost.startswith('xn--') or hostname.startswith('xn--'): + # RFC 6125, section 6.4.3, subitem 3. + # The client SHOULD NOT attempt to match a presented identifier + # where the wildcard character is embedded within an A-label or + # U-label of an internationalized domain name. + pats.append(re.escape(leftmost)) + else: + # Otherwise, '*' matches any dotless string, e.g. www* + pats.append(re.escape(leftmost).replace(r'\*', '[^.]*')) + + # add the remaining fragments, ignore any wildcards + for frag in remainder: + pats.append(re.escape(frag)) + + pat = re.compile(r'\A' + r'\.'.join(pats) + r'\Z', re.IGNORECASE) + return pat.match(hostname) + + def match_hostname(cert, hostname): + """Verify that *cert* (in decoded format as returned by + SSLSocket.getpeercert()) matches the *hostname*. RFC 2818 and RFC 6125 + rules are followed, but IP addresses are not accepted for *hostname*. + + CertificateError is raised on failure. On success, the function + returns nothing. + """ + if not cert: + raise ValueError("empty or no certificate, match_hostname needs a " + "SSL socket or SSL context with either " + "CERT_OPTIONAL or CERT_REQUIRED") + dnsnames = [] + san = cert.get('subjectAltName', ()) + for key, value in san: + if key == 'DNS': + if _dnsname_match(value, hostname): + return + dnsnames.append(value) + if not dnsnames: + # The subject is only checked when there is no dNSName entry + # in subjectAltName + for sub in cert.get('subject', ()): + for key, value in sub: + # XXX according to RFC 2818, the most specific Common Name + # must be used. + if key == 'commonName': + if _dnsname_match(value, hostname): + return + dnsnames.append(value) + if len(dnsnames) > 1: + raise CertificateError("hostname %r " + "doesn't match either of %s" % + (hostname, ', '.join(map(repr, dnsnames)))) + elif len(dnsnames) == 1: + raise CertificateError("hostname %r " + "doesn't match %r" % + (hostname, dnsnames[0])) + else: + raise CertificateError("no appropriate commonName or " + "subjectAltName fields were found") + + +try: + from types import SimpleNamespace as Container +except ImportError: # pragma: no cover + + class Container(object): + """ + A generic container for when multiple values need to be returned + """ + + def __init__(self, **kwargs): + self.__dict__.update(kwargs) + + +try: + from shutil import which +except ImportError: # pragma: no cover + # Implementation from Python 3.3 + def which(cmd, mode=os.F_OK | os.X_OK, path=None): + """Given a command, mode, and a PATH string, return the path which + conforms to the given mode on the PATH, or None if there is no such + file. + + `mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result + of os.environ.get("PATH"), or can be overridden with a custom search + path. + + """ + + # Check that a given file can be accessed with the correct mode. + # Additionally check that `file` is not a directory, as on Windows + # directories pass the os.access check. + def _access_check(fn, mode): + return (os.path.exists(fn) and os.access(fn, mode) and not os.path.isdir(fn)) + + # If we're given a path with a directory part, look it up directly rather + # than referring to PATH directories. This includes checking relative to the + # current directory, e.g. ./script + if os.path.dirname(cmd): + if _access_check(cmd, mode): + return cmd + return None + + if path is None: + path = os.environ.get("PATH", os.defpath) + if not path: + return None + path = path.split(os.pathsep) + + if sys.platform == "win32": + # The current directory takes precedence on Windows. + if os.curdir not in path: + path.insert(0, os.curdir) + + # PATHEXT is necessary to check on Windows. + pathext = os.environ.get("PATHEXT", "").split(os.pathsep) + # See if the given file matches any of the expected path extensions. + # This will allow us to short circuit when given "python.exe". + # If it does match, only test that one, otherwise we have to try + # others. + if any(cmd.lower().endswith(ext.lower()) for ext in pathext): + files = [cmd] + else: + files = [cmd + ext for ext in pathext] + else: + # On other platforms you don't have things like PATHEXT to tell you + # what file suffixes are executable, so just pass on cmd as-is. + files = [cmd] + + seen = set() + for dir in path: + normdir = os.path.normcase(dir) + if normdir not in seen: + seen.add(normdir) + for thefile in files: + name = os.path.join(dir, thefile) + if _access_check(name, mode): + return name + return None + + +# ZipFile is a context manager in 2.7, but not in 2.6 + +from zipfile import ZipFile as BaseZipFile + +if hasattr(BaseZipFile, '__enter__'): # pragma: no cover + ZipFile = BaseZipFile +else: # pragma: no cover + from zipfile import ZipExtFile as BaseZipExtFile + + class ZipExtFile(BaseZipExtFile): + + def __init__(self, base): + self.__dict__.update(base.__dict__) + + def __enter__(self): + return self + + def __exit__(self, *exc_info): + self.close() + # return None, so if an exception occurred, it will propagate + + class ZipFile(BaseZipFile): + + def __enter__(self): + return self + + def __exit__(self, *exc_info): + self.close() + # return None, so if an exception occurred, it will propagate + + def open(self, *args, **kwargs): + base = BaseZipFile.open(self, *args, **kwargs) + return ZipExtFile(base) + + +try: + from platform import python_implementation +except ImportError: # pragma: no cover + + def python_implementation(): + """Return a string identifying the Python implementation.""" + if 'PyPy' in sys.version: + return 'PyPy' + if os.name == 'java': + return 'Jython' + if sys.version.startswith('IronPython'): + return 'IronPython' + return 'CPython' + + +import sysconfig + +try: + callable = callable +except NameError: # pragma: no cover + from collections.abc import Callable + + def callable(obj): + return isinstance(obj, Callable) + + +try: + fsencode = os.fsencode + fsdecode = os.fsdecode +except AttributeError: # pragma: no cover + # Issue #99: on some systems (e.g. containerised), + # sys.getfilesystemencoding() returns None, and we need a real value, + # so fall back to utf-8. From the CPython 2.7 docs relating to Unix and + # sys.getfilesystemencoding(): the return value is "the user’s preference + # according to the result of nl_langinfo(CODESET), or None if the + # nl_langinfo(CODESET) failed." + _fsencoding = sys.getfilesystemencoding() or 'utf-8' + if _fsencoding == 'mbcs': + _fserrors = 'strict' + else: + _fserrors = 'surrogateescape' + + def fsencode(filename): + if isinstance(filename, bytes): + return filename + elif isinstance(filename, text_type): + return filename.encode(_fsencoding, _fserrors) + else: + raise TypeError("expect bytes or str, not %s" % + type(filename).__name__) + + def fsdecode(filename): + if isinstance(filename, text_type): + return filename + elif isinstance(filename, bytes): + return filename.decode(_fsencoding, _fserrors) + else: + raise TypeError("expect bytes or str, not %s" % + type(filename).__name__) + + +try: + from tokenize import detect_encoding +except ImportError: # pragma: no cover + from codecs import BOM_UTF8, lookup + + cookie_re = re.compile(r"coding[:=]\s*([-\w.]+)") + + def _get_normal_name(orig_enc): + """Imitates get_normal_name in tokenizer.c.""" + # Only care about the first 12 characters. + enc = orig_enc[:12].lower().replace("_", "-") + if enc == "utf-8" or enc.startswith("utf-8-"): + return "utf-8" + if enc in ("latin-1", "iso-8859-1", "iso-latin-1") or \ + enc.startswith(("latin-1-", "iso-8859-1-", "iso-latin-1-")): + return "iso-8859-1" + return orig_enc + + def detect_encoding(readline): + """ + The detect_encoding() function is used to detect the encoding that should + be used to decode a Python source file. It requires one argument, readline, + in the same way as the tokenize() generator. + + It will call readline a maximum of twice, and return the encoding used + (as a string) and a list of any lines (left as bytes) it has read in. + + It detects the encoding from the presence of a utf-8 bom or an encoding + cookie as specified in pep-0263. If both a bom and a cookie are present, + but disagree, a SyntaxError will be raised. If the encoding cookie is an + invalid charset, raise a SyntaxError. Note that if a utf-8 bom is found, + 'utf-8-sig' is returned. + + If no encoding is specified, then the default of 'utf-8' will be returned. + """ + try: + filename = readline.__self__.name + except AttributeError: + filename = None + bom_found = False + encoding = None + default = 'utf-8' + + def read_or_stop(): + try: + return readline() + except StopIteration: + return b'' + + def find_cookie(line): + try: + # Decode as UTF-8. Either the line is an encoding declaration, + # in which case it should be pure ASCII, or it must be UTF-8 + # per default encoding. + line_string = line.decode('utf-8') + except UnicodeDecodeError: + msg = "invalid or missing encoding declaration" + if filename is not None: + msg = '{} for {!r}'.format(msg, filename) + raise SyntaxError(msg) + + matches = cookie_re.findall(line_string) + if not matches: + return None + encoding = _get_normal_name(matches[0]) + try: + codec = lookup(encoding) + except LookupError: + # This behaviour mimics the Python interpreter + if filename is None: + msg = "unknown encoding: " + encoding + else: + msg = "unknown encoding for {!r}: {}".format( + filename, encoding) + raise SyntaxError(msg) + + if bom_found: + if codec.name != 'utf-8': + # This behaviour mimics the Python interpreter + if filename is None: + msg = 'encoding problem: utf-8' + else: + msg = 'encoding problem for {!r}: utf-8'.format( + filename) + raise SyntaxError(msg) + encoding += '-sig' + return encoding + + first = read_or_stop() + if first.startswith(BOM_UTF8): + bom_found = True + first = first[3:] + default = 'utf-8-sig' + if not first: + return default, [] + + encoding = find_cookie(first) + if encoding: + return encoding, [first] + + second = read_or_stop() + if not second: + return default, [first] + + encoding = find_cookie(second) + if encoding: + return encoding, [first, second] + + return default, [first, second] + + +# For converting & <-> & etc. +try: + from html import escape +except ImportError: + from cgi import escape +if sys.version_info[:2] < (3, 4): + unescape = HTMLParser().unescape +else: + from html import unescape + +try: + from collections import ChainMap +except ImportError: # pragma: no cover + from collections import MutableMapping + + try: + from reprlib import recursive_repr as _recursive_repr + except ImportError: + + def _recursive_repr(fillvalue='...'): + ''' + Decorator to make a repr function return fillvalue for a recursive + call + ''' + + def decorating_function(user_function): + repr_running = set() + + def wrapper(self): + key = id(self), get_ident() + if key in repr_running: + return fillvalue + repr_running.add(key) + try: + result = user_function(self) + finally: + repr_running.discard(key) + return result + + # Can't use functools.wraps() here because of bootstrap issues + wrapper.__module__ = getattr(user_function, '__module__') + wrapper.__doc__ = getattr(user_function, '__doc__') + wrapper.__name__ = getattr(user_function, '__name__') + wrapper.__annotations__ = getattr(user_function, + '__annotations__', {}) + return wrapper + + return decorating_function + + class ChainMap(MutableMapping): + ''' + A ChainMap groups multiple dicts (or other mappings) together + to create a single, updateable view. + + The underlying mappings are stored in a list. That list is public and can + accessed or updated using the *maps* attribute. There is no other state. + + Lookups search the underlying mappings successively until a key is found. + In contrast, writes, updates, and deletions only operate on the first + mapping. + ''' + + def __init__(self, *maps): + '''Initialize a ChainMap by setting *maps* to the given mappings. + If no mappings are provided, a single empty dictionary is used. + + ''' + self.maps = list(maps) or [{}] # always at least one map + + def __missing__(self, key): + raise KeyError(key) + + def __getitem__(self, key): + for mapping in self.maps: + try: + return mapping[ + key] # can't use 'key in mapping' with defaultdict + except KeyError: + pass + return self.__missing__( + key) # support subclasses that define __missing__ + + def get(self, key, default=None): + return self[key] if key in self else default + + def __len__(self): + return len(set().union( + *self.maps)) # reuses stored hash values if possible + + def __iter__(self): + return iter(set().union(*self.maps)) + + def __contains__(self, key): + return any(key in m for m in self.maps) + + def __bool__(self): + return any(self.maps) + + @_recursive_repr() + def __repr__(self): + return '{0.__class__.__name__}({1})'.format( + self, ', '.join(map(repr, self.maps))) + + @classmethod + def fromkeys(cls, iterable, *args): + 'Create a ChainMap with a single dict created from the iterable.' + return cls(dict.fromkeys(iterable, *args)) + + def copy(self): + 'New ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]' + return self.__class__(self.maps[0].copy(), *self.maps[1:]) + + __copy__ = copy + + def new_child(self): # like Django's Context.push() + 'New ChainMap with a new dict followed by all previous maps.' + return self.__class__({}, *self.maps) + + @property + def parents(self): # like Django's Context.pop() + 'New ChainMap from maps[1:].' + return self.__class__(*self.maps[1:]) + + def __setitem__(self, key, value): + self.maps[0][key] = value + + def __delitem__(self, key): + try: + del self.maps[0][key] + except KeyError: + raise KeyError( + 'Key not found in the first mapping: {!r}'.format(key)) + + def popitem(self): + 'Remove and return an item pair from maps[0]. Raise KeyError is maps[0] is empty.' + try: + return self.maps[0].popitem() + except KeyError: + raise KeyError('No keys found in the first mapping.') + + def pop(self, key, *args): + 'Remove *key* from maps[0] and return its value. Raise KeyError if *key* not in maps[0].' + try: + return self.maps[0].pop(key, *args) + except KeyError: + raise KeyError( + 'Key not found in the first mapping: {!r}'.format(key)) + + def clear(self): + 'Clear maps[0], leaving maps[1:] intact.' + self.maps[0].clear() + + +try: + from importlib.util import cache_from_source # Python >= 3.4 +except ImportError: # pragma: no cover + + def cache_from_source(path, debug_override=None): + assert path.endswith('.py') + if debug_override is None: + debug_override = __debug__ + if debug_override: + suffix = 'c' + else: + suffix = 'o' + return path + suffix + + +try: + from collections import OrderedDict +except ImportError: # pragma: no cover + # {{{ http://code.activestate.com/recipes/576693/ (r9) + # Backport of OrderedDict() class that runs on Python 2.4, 2.5, 2.6, 2.7 and pypy. + # Passes Python2.7's test suite and incorporates all the latest updates. + try: + from thread import get_ident as _get_ident + except ImportError: + from dummy_thread import get_ident as _get_ident + + try: + from _abcoll import KeysView, ValuesView, ItemsView + except ImportError: + pass + + class OrderedDict(dict): + 'Dictionary that remembers insertion order' + + # An inherited dict maps keys to values. + # The inherited dict provides __getitem__, __len__, __contains__, and get. + # The remaining methods are order-aware. + # Big-O running times for all methods are the same as for regular dictionaries. + + # The internal self.__map dictionary maps keys to links in a doubly linked list. + # The circular doubly linked list starts and ends with a sentinel element. + # The sentinel element never gets deleted (this simplifies the algorithm). + # Each link is stored as a list of length three: [PREV, NEXT, KEY]. + + def __init__(self, *args, **kwds): + '''Initialize an ordered dictionary. Signature is the same as for + regular dictionaries, but keyword arguments are not recommended + because their insertion order is arbitrary. + + ''' + if len(args) > 1: + raise TypeError('expected at most 1 arguments, got %d' % + len(args)) + try: + self.__root + except AttributeError: + self.__root = root = [] # sentinel node + root[:] = [root, root, None] + self.__map = {} + self.__update(*args, **kwds) + + def __setitem__(self, key, value, dict_setitem=dict.__setitem__): + 'od.__setitem__(i, y) <==> od[i]=y' + # Setting a new item creates a new link which goes at the end of the linked + # list, and the inherited dictionary is updated with the new key/value pair. + if key not in self: + root = self.__root + last = root[0] + last[1] = root[0] = self.__map[key] = [last, root, key] + dict_setitem(self, key, value) + + def __delitem__(self, key, dict_delitem=dict.__delitem__): + 'od.__delitem__(y) <==> del od[y]' + # Deleting an existing item uses self.__map to find the link which is + # then removed by updating the links in the predecessor and successor nodes. + dict_delitem(self, key) + link_prev, link_next, key = self.__map.pop(key) + link_prev[1] = link_next + link_next[0] = link_prev + + def __iter__(self): + 'od.__iter__() <==> iter(od)' + root = self.__root + curr = root[1] + while curr is not root: + yield curr[2] + curr = curr[1] + + def __reversed__(self): + 'od.__reversed__() <==> reversed(od)' + root = self.__root + curr = root[0] + while curr is not root: + yield curr[2] + curr = curr[0] + + def clear(self): + 'od.clear() -> None. Remove all items from od.' + try: + for node in self.__map.itervalues(): + del node[:] + root = self.__root + root[:] = [root, root, None] + self.__map.clear() + except AttributeError: + pass + dict.clear(self) + + def popitem(self, last=True): + '''od.popitem() -> (k, v), return and remove a (key, value) pair. + Pairs are returned in LIFO order if last is true or FIFO order if false. + + ''' + if not self: + raise KeyError('dictionary is empty') + root = self.__root + if last: + link = root[0] + link_prev = link[0] + link_prev[1] = root + root[0] = link_prev + else: + link = root[1] + link_next = link[1] + root[1] = link_next + link_next[0] = root + key = link[2] + del self.__map[key] + value = dict.pop(self, key) + return key, value + + # -- the following methods do not depend on the internal structure -- + + def keys(self): + 'od.keys() -> list of keys in od' + return list(self) + + def values(self): + 'od.values() -> list of values in od' + return [self[key] for key in self] + + def items(self): + 'od.items() -> list of (key, value) pairs in od' + return [(key, self[key]) for key in self] + + def iterkeys(self): + 'od.iterkeys() -> an iterator over the keys in od' + return iter(self) + + def itervalues(self): + 'od.itervalues -> an iterator over the values in od' + for k in self: + yield self[k] + + def iteritems(self): + 'od.iteritems -> an iterator over the (key, value) items in od' + for k in self: + yield (k, self[k]) + + def update(*args, **kwds): + '''od.update(E, **F) -> None. Update od from dict/iterable E and F. + + If E is a dict instance, does: for k in E: od[k] = E[k] + If E has a .keys() method, does: for k in E.keys(): od[k] = E[k] + Or if E is an iterable of items, does: for k, v in E: od[k] = v + In either case, this is followed by: for k, v in F.items(): od[k] = v + + ''' + if len(args) > 2: + raise TypeError('update() takes at most 2 positional ' + 'arguments (%d given)' % (len(args), )) + elif not args: + raise TypeError('update() takes at least 1 argument (0 given)') + self = args[0] + # Make progressively weaker assumptions about "other" + other = () + if len(args) == 2: + other = args[1] + if isinstance(other, dict): + for key in other: + self[key] = other[key] + elif hasattr(other, 'keys'): + for key in other.keys(): + self[key] = other[key] + else: + for key, value in other: + self[key] = value + for key, value in kwds.items(): + self[key] = value + + __update = update # let subclasses override update without breaking __init__ + + __marker = object() + + def pop(self, key, default=__marker): + '''od.pop(k[,d]) -> v, remove specified key and return the corresponding value. + If key is not found, d is returned if given, otherwise KeyError is raised. + + ''' + if key in self: + result = self[key] + del self[key] + return result + if default is self.__marker: + raise KeyError(key) + return default + + def setdefault(self, key, default=None): + 'od.setdefault(k[,d]) -> od.get(k,d), also set od[k]=d if k not in od' + if key in self: + return self[key] + self[key] = default + return default + + def __repr__(self, _repr_running=None): + 'od.__repr__() <==> repr(od)' + if not _repr_running: + _repr_running = {} + call_key = id(self), _get_ident() + if call_key in _repr_running: + return '...' + _repr_running[call_key] = 1 + try: + if not self: + return '%s()' % (self.__class__.__name__, ) + return '%s(%r)' % (self.__class__.__name__, self.items()) + finally: + del _repr_running[call_key] + + def __reduce__(self): + 'Return state information for pickling' + items = [[k, self[k]] for k in self] + inst_dict = vars(self).copy() + for k in vars(OrderedDict()): + inst_dict.pop(k, None) + if inst_dict: + return (self.__class__, (items, ), inst_dict) + return self.__class__, (items, ) + + def copy(self): + 'od.copy() -> a shallow copy of od' + return self.__class__(self) + + @classmethod + def fromkeys(cls, iterable, value=None): + '''OD.fromkeys(S[, v]) -> New ordered dictionary with keys from S + and values equal to v (which defaults to None). + + ''' + d = cls() + for key in iterable: + d[key] = value + return d + + def __eq__(self, other): + '''od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive + while comparison to a regular mapping is order-insensitive. + + ''' + if isinstance(other, OrderedDict): + return len(self) == len( + other) and self.items() == other.items() + return dict.__eq__(self, other) + + def __ne__(self, other): + return not self == other + + # -- the following methods are only used in Python 2.7 -- + + def viewkeys(self): + "od.viewkeys() -> a set-like object providing a view on od's keys" + return KeysView(self) + + def viewvalues(self): + "od.viewvalues() -> an object providing a view on od's values" + return ValuesView(self) + + def viewitems(self): + "od.viewitems() -> a set-like object providing a view on od's items" + return ItemsView(self) + + +try: + from logging.config import BaseConfigurator, valid_ident +except ImportError: # pragma: no cover + IDENTIFIER = re.compile('^[a-z_][a-z0-9_]*$', re.I) + + def valid_ident(s): + m = IDENTIFIER.match(s) + if not m: + raise ValueError('Not a valid Python identifier: %r' % s) + return True + + # The ConvertingXXX classes are wrappers around standard Python containers, + # and they serve to convert any suitable values in the container. The + # conversion converts base dicts, lists and tuples to their wrapped + # equivalents, whereas strings which match a conversion format are converted + # appropriately. + # + # Each wrapper should have a configurator attribute holding the actual + # configurator to use for conversion. + + class ConvertingDict(dict): + """A converting dictionary wrapper.""" + + def __getitem__(self, key): + value = dict.__getitem__(self, key) + result = self.configurator.convert(value) + # If the converted value is different, save for next time + if value is not result: + self[key] = result + if type(result) in (ConvertingDict, ConvertingList, + ConvertingTuple): + result.parent = self + result.key = key + return result + + def get(self, key, default=None): + value = dict.get(self, key, default) + result = self.configurator.convert(value) + # If the converted value is different, save for next time + if value is not result: + self[key] = result + if type(result) in (ConvertingDict, ConvertingList, + ConvertingTuple): + result.parent = self + result.key = key + return result + + def pop(self, key, default=None): + value = dict.pop(self, key, default) + result = self.configurator.convert(value) + if value is not result: + if type(result) in (ConvertingDict, ConvertingList, + ConvertingTuple): + result.parent = self + result.key = key + return result + + class ConvertingList(list): + """A converting list wrapper.""" + + def __getitem__(self, key): + value = list.__getitem__(self, key) + result = self.configurator.convert(value) + # If the converted value is different, save for next time + if value is not result: + self[key] = result + if type(result) in (ConvertingDict, ConvertingList, + ConvertingTuple): + result.parent = self + result.key = key + return result + + def pop(self, idx=-1): + value = list.pop(self, idx) + result = self.configurator.convert(value) + if value is not result: + if type(result) in (ConvertingDict, ConvertingList, + ConvertingTuple): + result.parent = self + return result + + class ConvertingTuple(tuple): + """A converting tuple wrapper.""" + + def __getitem__(self, key): + value = tuple.__getitem__(self, key) + result = self.configurator.convert(value) + if value is not result: + if type(result) in (ConvertingDict, ConvertingList, + ConvertingTuple): + result.parent = self + result.key = key + return result + + class BaseConfigurator(object): + """ + The configurator base class which defines some useful defaults. + """ + + CONVERT_PATTERN = re.compile(r'^(?P[a-z]+)://(?P.*)$') + + WORD_PATTERN = re.compile(r'^\s*(\w+)\s*') + DOT_PATTERN = re.compile(r'^\.\s*(\w+)\s*') + INDEX_PATTERN = re.compile(r'^\[\s*(\w+)\s*\]\s*') + DIGIT_PATTERN = re.compile(r'^\d+$') + + value_converters = { + 'ext': 'ext_convert', + 'cfg': 'cfg_convert', + } + + # We might want to use a different one, e.g. importlib + importer = staticmethod(__import__) + + def __init__(self, config): + self.config = ConvertingDict(config) + self.config.configurator = self + + def resolve(self, s): + """ + Resolve strings to objects using standard import and attribute + syntax. + """ + name = s.split('.') + used = name.pop(0) + try: + found = self.importer(used) + for frag in name: + used += '.' + frag + try: + found = getattr(found, frag) + except AttributeError: + self.importer(used) + found = getattr(found, frag) + return found + except ImportError: + e, tb = sys.exc_info()[1:] + v = ValueError('Cannot resolve %r: %s' % (s, e)) + v.__cause__, v.__traceback__ = e, tb + raise v + + def ext_convert(self, value): + """Default converter for the ext:// protocol.""" + return self.resolve(value) + + def cfg_convert(self, value): + """Default converter for the cfg:// protocol.""" + rest = value + m = self.WORD_PATTERN.match(rest) + if m is None: + raise ValueError("Unable to convert %r" % value) + else: + rest = rest[m.end():] + d = self.config[m.groups()[0]] + while rest: + m = self.DOT_PATTERN.match(rest) + if m: + d = d[m.groups()[0]] + else: + m = self.INDEX_PATTERN.match(rest) + if m: + idx = m.groups()[0] + if not self.DIGIT_PATTERN.match(idx): + d = d[idx] + else: + try: + n = int( + idx + ) # try as number first (most likely) + d = d[n] + except TypeError: + d = d[idx] + if m: + rest = rest[m.end():] + else: + raise ValueError('Unable to convert ' + '%r at %r' % (value, rest)) + # rest should be empty + return d + + def convert(self, value): + """ + Convert values to an appropriate type. dicts, lists and tuples are + replaced by their converting alternatives. Strings are checked to + see if they have a conversion format and are converted if they do. + """ + if not isinstance(value, ConvertingDict) and isinstance( + value, dict): + value = ConvertingDict(value) + value.configurator = self + elif not isinstance(value, ConvertingList) and isinstance( + value, list): + value = ConvertingList(value) + value.configurator = self + elif not isinstance(value, ConvertingTuple) and isinstance(value, tuple): + value = ConvertingTuple(value) + value.configurator = self + elif isinstance(value, string_types): + m = self.CONVERT_PATTERN.match(value) + if m: + d = m.groupdict() + prefix = d['prefix'] + converter = self.value_converters.get(prefix, None) + if converter: + suffix = d['suffix'] + converter = getattr(self, converter) + value = converter(suffix) + return value + + def configure_custom(self, config): + """Configure an object with a user-supplied factory.""" + c = config.pop('()') + if not callable(c): + c = self.resolve(c) + props = config.pop('.', None) + # Check for valid identifiers + kwargs = dict([(k, config[k]) for k in config if valid_ident(k)]) + result = c(**kwargs) + if props: + for name, value in props.items(): + setattr(result, name, value) + return result + + def as_tuple(self, value): + """Utility function which converts lists to tuples.""" + if isinstance(value, list): + value = tuple(value) + return value diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/resources.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/resources.py new file mode 100644 index 0000000000000000000000000000000000000000..fef52aa103ea369c96567b9af2a5a0ba14db5cb9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/resources.py @@ -0,0 +1,358 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2013-2017 Vinay Sajip. +# Licensed to the Python Software Foundation under a contributor agreement. +# See LICENSE.txt and CONTRIBUTORS.txt. +# +from __future__ import unicode_literals + +import bisect +import io +import logging +import os +import pkgutil +import sys +import types +import zipimport + +from . import DistlibException +from .util import cached_property, get_cache_base, Cache + +logger = logging.getLogger(__name__) + + +cache = None # created when needed + + +class ResourceCache(Cache): + def __init__(self, base=None): + if base is None: + # Use native string to avoid issues on 2.x: see Python #20140. + base = os.path.join(get_cache_base(), str('resource-cache')) + super(ResourceCache, self).__init__(base) + + def is_stale(self, resource, path): + """ + Is the cache stale for the given resource? + + :param resource: The :class:`Resource` being cached. + :param path: The path of the resource in the cache. + :return: True if the cache is stale. + """ + # Cache invalidation is a hard problem :-) + return True + + def get(self, resource): + """ + Get a resource into the cache, + + :param resource: A :class:`Resource` instance. + :return: The pathname of the resource in the cache. + """ + prefix, path = resource.finder.get_cache_info(resource) + if prefix is None: + result = path + else: + result = os.path.join(self.base, self.prefix_to_dir(prefix), path) + dirname = os.path.dirname(result) + if not os.path.isdir(dirname): + os.makedirs(dirname) + if not os.path.exists(result): + stale = True + else: + stale = self.is_stale(resource, path) + if stale: + # write the bytes of the resource to the cache location + with open(result, 'wb') as f: + f.write(resource.bytes) + return result + + +class ResourceBase(object): + def __init__(self, finder, name): + self.finder = finder + self.name = name + + +class Resource(ResourceBase): + """ + A class representing an in-package resource, such as a data file. This is + not normally instantiated by user code, but rather by a + :class:`ResourceFinder` which manages the resource. + """ + is_container = False # Backwards compatibility + + def as_stream(self): + """ + Get the resource as a stream. + + This is not a property to make it obvious that it returns a new stream + each time. + """ + return self.finder.get_stream(self) + + @cached_property + def file_path(self): + global cache + if cache is None: + cache = ResourceCache() + return cache.get(self) + + @cached_property + def bytes(self): + return self.finder.get_bytes(self) + + @cached_property + def size(self): + return self.finder.get_size(self) + + +class ResourceContainer(ResourceBase): + is_container = True # Backwards compatibility + + @cached_property + def resources(self): + return self.finder.get_resources(self) + + +class ResourceFinder(object): + """ + Resource finder for file system resources. + """ + + if sys.platform.startswith('java'): + skipped_extensions = ('.pyc', '.pyo', '.class') + else: + skipped_extensions = ('.pyc', '.pyo') + + def __init__(self, module): + self.module = module + self.loader = getattr(module, '__loader__', None) + self.base = os.path.dirname(getattr(module, '__file__', '')) + + def _adjust_path(self, path): + return os.path.realpath(path) + + def _make_path(self, resource_name): + # Issue #50: need to preserve type of path on Python 2.x + # like os.path._get_sep + if isinstance(resource_name, bytes): # should only happen on 2.x + sep = b'/' + else: + sep = '/' + parts = resource_name.split(sep) + parts.insert(0, self.base) + result = os.path.join(*parts) + return self._adjust_path(result) + + def _find(self, path): + return os.path.exists(path) + + def get_cache_info(self, resource): + return None, resource.path + + def find(self, resource_name): + path = self._make_path(resource_name) + if not self._find(path): + result = None + else: + if self._is_directory(path): + result = ResourceContainer(self, resource_name) + else: + result = Resource(self, resource_name) + result.path = path + return result + + def get_stream(self, resource): + return open(resource.path, 'rb') + + def get_bytes(self, resource): + with open(resource.path, 'rb') as f: + return f.read() + + def get_size(self, resource): + return os.path.getsize(resource.path) + + def get_resources(self, resource): + def allowed(f): + return (f != '__pycache__' and not + f.endswith(self.skipped_extensions)) + return set([f for f in os.listdir(resource.path) if allowed(f)]) + + def is_container(self, resource): + return self._is_directory(resource.path) + + _is_directory = staticmethod(os.path.isdir) + + def iterator(self, resource_name): + resource = self.find(resource_name) + if resource is not None: + todo = [resource] + while todo: + resource = todo.pop(0) + yield resource + if resource.is_container: + rname = resource.name + for name in resource.resources: + if not rname: + new_name = name + else: + new_name = '/'.join([rname, name]) + child = self.find(new_name) + if child.is_container: + todo.append(child) + else: + yield child + + +class ZipResourceFinder(ResourceFinder): + """ + Resource finder for resources in .zip files. + """ + def __init__(self, module): + super(ZipResourceFinder, self).__init__(module) + archive = self.loader.archive + self.prefix_len = 1 + len(archive) + # PyPy doesn't have a _files attr on zipimporter, and you can't set one + if hasattr(self.loader, '_files'): + self._files = self.loader._files + else: + self._files = zipimport._zip_directory_cache[archive] + self.index = sorted(self._files) + + def _adjust_path(self, path): + return path + + def _find(self, path): + path = path[self.prefix_len:] + if path in self._files: + result = True + else: + if path and path[-1] != os.sep: + path = path + os.sep + i = bisect.bisect(self.index, path) + try: + result = self.index[i].startswith(path) + except IndexError: + result = False + if not result: + logger.debug('_find failed: %r %r', path, self.loader.prefix) + else: + logger.debug('_find worked: %r %r', path, self.loader.prefix) + return result + + def get_cache_info(self, resource): + prefix = self.loader.archive + path = resource.path[1 + len(prefix):] + return prefix, path + + def get_bytes(self, resource): + return self.loader.get_data(resource.path) + + def get_stream(self, resource): + return io.BytesIO(self.get_bytes(resource)) + + def get_size(self, resource): + path = resource.path[self.prefix_len:] + return self._files[path][3] + + def get_resources(self, resource): + path = resource.path[self.prefix_len:] + if path and path[-1] != os.sep: + path += os.sep + plen = len(path) + result = set() + i = bisect.bisect(self.index, path) + while i < len(self.index): + if not self.index[i].startswith(path): + break + s = self.index[i][plen:] + result.add(s.split(os.sep, 1)[0]) # only immediate children + i += 1 + return result + + def _is_directory(self, path): + path = path[self.prefix_len:] + if path and path[-1] != os.sep: + path += os.sep + i = bisect.bisect(self.index, path) + try: + result = self.index[i].startswith(path) + except IndexError: + result = False + return result + + +_finder_registry = { + type(None): ResourceFinder, + zipimport.zipimporter: ZipResourceFinder +} + +try: + # In Python 3.6, _frozen_importlib -> _frozen_importlib_external + try: + import _frozen_importlib_external as _fi + except ImportError: + import _frozen_importlib as _fi + _finder_registry[_fi.SourceFileLoader] = ResourceFinder + _finder_registry[_fi.FileFinder] = ResourceFinder + # See issue #146 + _finder_registry[_fi.SourcelessFileLoader] = ResourceFinder + del _fi +except (ImportError, AttributeError): + pass + + +def register_finder(loader, finder_maker): + _finder_registry[type(loader)] = finder_maker + + +_finder_cache = {} + + +def finder(package): + """ + Return a resource finder for a package. + :param package: The name of the package. + :return: A :class:`ResourceFinder` instance for the package. + """ + if package in _finder_cache: + result = _finder_cache[package] + else: + if package not in sys.modules: + __import__(package) + module = sys.modules[package] + path = getattr(module, '__path__', None) + if path is None: + raise DistlibException('You cannot get a finder for a module, ' + 'only for a package') + loader = getattr(module, '__loader__', None) + finder_maker = _finder_registry.get(type(loader)) + if finder_maker is None: + raise DistlibException('Unable to locate finder for %r' % package) + result = finder_maker(module) + _finder_cache[package] = result + return result + + +_dummy_module = types.ModuleType(str('__dummy__')) + + +def finder_for_path(path): + """ + Return a resource finder for a path, which should represent a container. + + :param path: The path. + :return: A :class:`ResourceFinder` instance for the path. + """ + result = None + # calls any path hooks, gets importer into cache + pkgutil.get_importer(path) + loader = sys.path_importer_cache.get(path) + finder = _finder_registry.get(type(loader)) + if finder: + module = _dummy_module + module.__file__ = os.path.join(path, '') + module.__loader__ = loader + result = finder(module) + return result diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/scripts.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/scripts.py new file mode 100644 index 0000000000000000000000000000000000000000..195dc3f8909fb50f9e4da74ec9b70208c906e763 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/scripts.py @@ -0,0 +1,447 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2013-2023 Vinay Sajip. +# Licensed to the Python Software Foundation under a contributor agreement. +# See LICENSE.txt and CONTRIBUTORS.txt. +# +from io import BytesIO +import logging +import os +import re +import struct +import sys +import time +from zipfile import ZipInfo + +from .compat import sysconfig, detect_encoding, ZipFile +from .resources import finder +from .util import (FileOperator, get_export_entry, convert_path, get_executable, get_platform, in_venv) + +logger = logging.getLogger(__name__) + +_DEFAULT_MANIFEST = ''' + + + + + + + + + + + + +'''.strip() + +# check if Python is called on the first line with this expression +FIRST_LINE_RE = re.compile(b'^#!.*pythonw?[0-9.]*([ \t].*)?$') +SCRIPT_TEMPLATE = r'''# -*- coding: utf-8 -*- +import re +import sys +if __name__ == '__main__': + from %(module)s import %(import_name)s + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(%(func)s()) +''' + +# Pre-fetch the contents of all executable wrapper stubs. +# This is to address https://github.com/pypa/pip/issues/12666. +# When updating pip, we rename the old pip in place before installing the +# new version. If we try to fetch a wrapper *after* that rename, the finder +# machinery will be confused as the package is no longer available at the +# location where it was imported from. So we load everything into memory in +# advance. + +if os.name == 'nt' or (os.name == 'java' and os._name == 'nt'): + # Issue 31: don't hardcode an absolute package name, but + # determine it relative to the current package + DISTLIB_PACKAGE = __name__.rsplit('.', 1)[0] + + WRAPPERS = { + r.name: r.bytes + for r in finder(DISTLIB_PACKAGE).iterator("") + if r.name.endswith(".exe") + } + + +def enquote_executable(executable): + if ' ' in executable: + # make sure we quote only the executable in case of env + # for example /usr/bin/env "/dir with spaces/bin/jython" + # instead of "/usr/bin/env /dir with spaces/bin/jython" + # otherwise whole + if executable.startswith('/usr/bin/env '): + env, _executable = executable.split(' ', 1) + if ' ' in _executable and not _executable.startswith('"'): + executable = '%s "%s"' % (env, _executable) + else: + if not executable.startswith('"'): + executable = '"%s"' % executable + return executable + + +# Keep the old name around (for now), as there is at least one project using it! +_enquote_executable = enquote_executable + + +class ScriptMaker(object): + """ + A class to copy or create scripts from source scripts or callable + specifications. + """ + script_template = SCRIPT_TEMPLATE + + executable = None # for shebangs + + def __init__(self, source_dir, target_dir, add_launchers=True, dry_run=False, fileop=None): + self.source_dir = source_dir + self.target_dir = target_dir + self.add_launchers = add_launchers + self.force = False + self.clobber = False + # It only makes sense to set mode bits on POSIX. + self.set_mode = (os.name == 'posix') or (os.name == 'java' and os._name == 'posix') + self.variants = set(('', 'X.Y')) + self._fileop = fileop or FileOperator(dry_run) + + self._is_nt = os.name == 'nt' or (os.name == 'java' and os._name == 'nt') + self.version_info = sys.version_info + + def _get_alternate_executable(self, executable, options): + if options.get('gui', False) and self._is_nt: # pragma: no cover + dn, fn = os.path.split(executable) + fn = fn.replace('python', 'pythonw') + executable = os.path.join(dn, fn) + return executable + + if sys.platform.startswith('java'): # pragma: no cover + + def _is_shell(self, executable): + """ + Determine if the specified executable is a script + (contains a #! line) + """ + try: + with open(executable) as fp: + return fp.read(2) == '#!' + except (OSError, IOError): + logger.warning('Failed to open %s', executable) + return False + + def _fix_jython_executable(self, executable): + if self._is_shell(executable): + # Workaround for Jython is not needed on Linux systems. + import java + + if java.lang.System.getProperty('os.name') == 'Linux': + return executable + elif executable.lower().endswith('jython.exe'): + # Use wrapper exe for Jython on Windows + return executable + return '/usr/bin/env %s' % executable + + def _build_shebang(self, executable, post_interp): + """ + Build a shebang line. In the simple case (on Windows, or a shebang line + which is not too long or contains spaces) use a simple formulation for + the shebang. Otherwise, use /bin/sh as the executable, with a contrived + shebang which allows the script to run either under Python or sh, using + suitable quoting. Thanks to Harald Nordgren for his input. + + See also: http://www.in-ulm.de/~mascheck/various/shebang/#length + https://hg.mozilla.org/mozilla-central/file/tip/mach + """ + if os.name != 'posix': + simple_shebang = True + elif getattr(sys, "cross_compiling", False): + # In a cross-compiling environment, the shebang will likely be a + # script; this *must* be invoked with the "safe" version of the + # shebang, or else using os.exec() to run the entry script will + # fail, raising "OSError 8 [Errno 8] Exec format error". + simple_shebang = False + else: + # Add 3 for '#!' prefix and newline suffix. + shebang_length = len(executable) + len(post_interp) + 3 + if sys.platform == 'darwin': + max_shebang_length = 512 + else: + max_shebang_length = 127 + simple_shebang = ((b' ' not in executable) and (shebang_length <= max_shebang_length)) + + if simple_shebang: + result = b'#!' + executable + post_interp + b'\n' + else: + result = b'#!/bin/sh\n' + result += b"'''exec' " + executable + post_interp + b' "$0" "$@"\n' + result += b"' '''\n" + return result + + def _get_shebang(self, encoding, post_interp=b'', options=None): + enquote = True + if self.executable: + executable = self.executable + enquote = False # assume this will be taken care of + elif not sysconfig.is_python_build(): + executable = get_executable() + elif in_venv(): # pragma: no cover + executable = os.path.join(sysconfig.get_path('scripts'), 'python%s' % sysconfig.get_config_var('EXE')) + else: # pragma: no cover + if os.name == 'nt': + # for Python builds from source on Windows, no Python executables with + # a version suffix are created, so we use python.exe + executable = os.path.join(sysconfig.get_config_var('BINDIR'), + 'python%s' % (sysconfig.get_config_var('EXE'))) + else: + executable = os.path.join( + sysconfig.get_config_var('BINDIR'), + 'python%s%s' % (sysconfig.get_config_var('VERSION'), sysconfig.get_config_var('EXE'))) + if options: + executable = self._get_alternate_executable(executable, options) + + if sys.platform.startswith('java'): # pragma: no cover + executable = self._fix_jython_executable(executable) + + # Normalise case for Windows - COMMENTED OUT + # executable = os.path.normcase(executable) + # N.B. The normalising operation above has been commented out: See + # issue #124. Although paths in Windows are generally case-insensitive, + # they aren't always. For example, a path containing a ẞ (which is a + # LATIN CAPITAL LETTER SHARP S - U+1E9E) is normcased to ß (which is a + # LATIN SMALL LETTER SHARP S' - U+00DF). The two are not considered by + # Windows as equivalent in path names. + + # If the user didn't specify an executable, it may be necessary to + # cater for executable paths with spaces (not uncommon on Windows) + if enquote: + executable = enquote_executable(executable) + # Issue #51: don't use fsencode, since we later try to + # check that the shebang is decodable using utf-8. + executable = executable.encode('utf-8') + # in case of IronPython, play safe and enable frames support + if (sys.platform == 'cli' and '-X:Frames' not in post_interp and + '-X:FullFrames' not in post_interp): # pragma: no cover + post_interp += b' -X:Frames' + shebang = self._build_shebang(executable, post_interp) + # Python parser starts to read a script using UTF-8 until + # it gets a #coding:xxx cookie. The shebang has to be the + # first line of a file, the #coding:xxx cookie cannot be + # written before. So the shebang has to be decodable from + # UTF-8. + try: + shebang.decode('utf-8') + except UnicodeDecodeError: # pragma: no cover + raise ValueError('The shebang (%r) is not decodable from utf-8' % shebang) + # If the script is encoded to a custom encoding (use a + # #coding:xxx cookie), the shebang has to be decodable from + # the script encoding too. + if encoding != 'utf-8': + try: + shebang.decode(encoding) + except UnicodeDecodeError: # pragma: no cover + raise ValueError('The shebang (%r) is not decodable ' + 'from the script encoding (%r)' % (shebang, encoding)) + return shebang + + def _get_script_text(self, entry): + return self.script_template % dict( + module=entry.prefix, import_name=entry.suffix.split('.')[0], func=entry.suffix) + + manifest = _DEFAULT_MANIFEST + + def get_manifest(self, exename): + base = os.path.basename(exename) + return self.manifest % base + + def _write_script(self, names, shebang, script_bytes, filenames, ext): + use_launcher = self.add_launchers and self._is_nt + if not use_launcher: + script_bytes = shebang + script_bytes + else: # pragma: no cover + if ext == 'py': + launcher = self._get_launcher('t') + else: + launcher = self._get_launcher('w') + stream = BytesIO() + with ZipFile(stream, 'w') as zf: + source_date_epoch = os.environ.get('SOURCE_DATE_EPOCH') + if source_date_epoch: + date_time = time.gmtime(int(source_date_epoch))[:6] + zinfo = ZipInfo(filename='__main__.py', date_time=date_time) + zf.writestr(zinfo, script_bytes) + else: + zf.writestr('__main__.py', script_bytes) + zip_data = stream.getvalue() + script_bytes = launcher + shebang + zip_data + for name in names: + outname = os.path.join(self.target_dir, name) + if use_launcher: # pragma: no cover + n, e = os.path.splitext(outname) + if e.startswith('.py'): + outname = n + outname = '%s.exe' % outname + try: + self._fileop.write_binary_file(outname, script_bytes) + except Exception: + # Failed writing an executable - it might be in use. + logger.warning('Failed to write executable - trying to ' + 'use .deleteme logic') + dfname = '%s.deleteme' % outname + if os.path.exists(dfname): + os.remove(dfname) # Not allowed to fail here + os.rename(outname, dfname) # nor here + self._fileop.write_binary_file(outname, script_bytes) + logger.debug('Able to replace executable using ' + '.deleteme logic') + try: + os.remove(dfname) + except Exception: + pass # still in use - ignore error + else: + if self._is_nt and not outname.endswith('.' + ext): # pragma: no cover + outname = '%s.%s' % (outname, ext) + if os.path.exists(outname) and not self.clobber: + logger.warning('Skipping existing file %s', outname) + continue + self._fileop.write_binary_file(outname, script_bytes) + if self.set_mode: + self._fileop.set_executable_mode([outname]) + filenames.append(outname) + + variant_separator = '-' + + def get_script_filenames(self, name): + result = set() + if '' in self.variants: + result.add(name) + if 'X' in self.variants: + result.add('%s%s' % (name, self.version_info[0])) + if 'X.Y' in self.variants: + result.add('%s%s%s.%s' % (name, self.variant_separator, self.version_info[0], self.version_info[1])) + return result + + def _make_script(self, entry, filenames, options=None): + post_interp = b'' + if options: + args = options.get('interpreter_args', []) + if args: + args = ' %s' % ' '.join(args) + post_interp = args.encode('utf-8') + shebang = self._get_shebang('utf-8', post_interp, options=options) + script = self._get_script_text(entry).encode('utf-8') + scriptnames = self.get_script_filenames(entry.name) + if options and options.get('gui', False): + ext = 'pyw' + else: + ext = 'py' + self._write_script(scriptnames, shebang, script, filenames, ext) + + def _copy_script(self, script, filenames): + adjust = False + script = os.path.join(self.source_dir, convert_path(script)) + outname = os.path.join(self.target_dir, os.path.basename(script)) + if not self.force and not self._fileop.newer(script, outname): + logger.debug('not copying %s (up-to-date)', script) + return + + # Always open the file, but ignore failures in dry-run mode -- + # that way, we'll get accurate feedback if we can read the + # script. + try: + f = open(script, 'rb') + except IOError: # pragma: no cover + if not self.dry_run: + raise + f = None + else: + first_line = f.readline() + if not first_line: # pragma: no cover + logger.warning('%s is an empty file (skipping)', script) + return + + match = FIRST_LINE_RE.match(first_line.replace(b'\r\n', b'\n')) + if match: + adjust = True + post_interp = match.group(1) or b'' + + if not adjust: + if f: + f.close() + self._fileop.copy_file(script, outname) + if self.set_mode: + self._fileop.set_executable_mode([outname]) + filenames.append(outname) + else: + logger.info('copying and adjusting %s -> %s', script, self.target_dir) + if not self._fileop.dry_run: + encoding, lines = detect_encoding(f.readline) + f.seek(0) + shebang = self._get_shebang(encoding, post_interp) + if b'pythonw' in first_line: # pragma: no cover + ext = 'pyw' + else: + ext = 'py' + n = os.path.basename(outname) + self._write_script([n], shebang, f.read(), filenames, ext) + if f: + f.close() + + @property + def dry_run(self): + return self._fileop.dry_run + + @dry_run.setter + def dry_run(self, value): + self._fileop.dry_run = value + + if os.name == 'nt' or (os.name == 'java' and os._name == 'nt'): # pragma: no cover + # Executable launcher support. + # Launchers are from https://bitbucket.org/vinay.sajip/simple_launcher/ + + def _get_launcher(self, kind): + if struct.calcsize('P') == 8: # 64-bit + bits = '64' + else: + bits = '32' + platform_suffix = '-arm' if get_platform() == 'win-arm64' else '' + name = '%s%s%s.exe' % (kind, bits, platform_suffix) + if name not in WRAPPERS: + msg = ('Unable to find resource %s in package %s' % + (name, DISTLIB_PACKAGE)) + raise ValueError(msg) + return WRAPPERS[name] + + # Public API follows + + def make(self, specification, options=None): + """ + Make a script. + + :param specification: The specification, which is either a valid export + entry specification (to make a script from a + callable) or a filename (to make a script by + copying from a source location). + :param options: A dictionary of options controlling script generation. + :return: A list of all absolute pathnames written to. + """ + filenames = [] + entry = get_export_entry(specification) + if entry is None: + self._copy_script(specification, filenames) + else: + self._make_script(entry, filenames, options=options) + return filenames + + def make_multiple(self, specifications, options=None): + """ + Take a list of specifications and make scripts from them, + :param specifications: A list of specifications. + :return: A list of all absolute pathnames written to, + """ + filenames = [] + for specification in specifications: + filenames.extend(self.make(specification, options)) + return filenames diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t32.exe b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t32.exe new file mode 100644 index 0000000000000000000000000000000000000000..52154f0be32cc2bdbf98af131d477900667d0abd Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t32.exe differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t64-arm.exe b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t64-arm.exe new file mode 100644 index 0000000000000000000000000000000000000000..4c236ed0ab8253ceee9276ddc3cf5ed9a7ea6a4c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t64-arm.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebc4c06b7d95e74e315419ee7e88e1d0f71e9e9477538c00a93a9ff8c66a6cfc +size 182784 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t64.exe b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t64.exe new file mode 100644 index 0000000000000000000000000000000000000000..3fd3d2df6541617229f21bdbb49fbbfc880b7f50 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/t64.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81a618f21cb87db9076134e70388b6e9cb7c2106739011b6a51772d22cae06b7 +size 108032 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/util.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/util.py new file mode 100644 index 0000000000000000000000000000000000000000..0d5bd7a8bf364095e232b3d2c1ef64500dd20db4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/util.py @@ -0,0 +1,1984 @@ +# +# Copyright (C) 2012-2023 The Python Software Foundation. +# See LICENSE.txt and CONTRIBUTORS.txt. +# +import codecs +from collections import deque +import contextlib +import csv +from glob import iglob as std_iglob +import io +import json +import logging +import os +import py_compile +import re +import socket +try: + import ssl +except ImportError: # pragma: no cover + ssl = None +import subprocess +import sys +import tarfile +import tempfile +import textwrap + +try: + import threading +except ImportError: # pragma: no cover + import dummy_threading as threading +import time + +from . import DistlibException +from .compat import (string_types, text_type, shutil, raw_input, StringIO, cache_from_source, urlopen, urljoin, httplib, + xmlrpclib, HTTPHandler, BaseConfigurator, valid_ident, Container, configparser, URLError, ZipFile, + fsdecode, unquote, urlparse) + +logger = logging.getLogger(__name__) + +# +# Requirement parsing code as per PEP 508 +# + +IDENTIFIER = re.compile(r'^([\w\.-]+)\s*') +VERSION_IDENTIFIER = re.compile(r'^([\w\.*+-]+)\s*') +COMPARE_OP = re.compile(r'^(<=?|>=?|={2,3}|[~!]=)\s*') +MARKER_OP = re.compile(r'^((<=?)|(>=?)|={2,3}|[~!]=|in|not\s+in)\s*') +OR = re.compile(r'^or\b\s*') +AND = re.compile(r'^and\b\s*') +NON_SPACE = re.compile(r'(\S+)\s*') +STRING_CHUNK = re.compile(r'([\s\w\.{}()*+#:;,/?!~`@$%^&=|<>\[\]-]+)') + + +def parse_marker(marker_string): + """ + Parse a marker string and return a dictionary containing a marker expression. + + The dictionary will contain keys "op", "lhs" and "rhs" for non-terminals in + the expression grammar, or strings. A string contained in quotes is to be + interpreted as a literal string, and a string not contained in quotes is a + variable (such as os_name). + """ + + def marker_var(remaining): + # either identifier, or literal string + m = IDENTIFIER.match(remaining) + if m: + result = m.groups()[0] + remaining = remaining[m.end():] + elif not remaining: + raise SyntaxError('unexpected end of input') + else: + q = remaining[0] + if q not in '\'"': + raise SyntaxError('invalid expression: %s' % remaining) + oq = '\'"'.replace(q, '') + remaining = remaining[1:] + parts = [q] + while remaining: + # either a string chunk, or oq, or q to terminate + if remaining[0] == q: + break + elif remaining[0] == oq: + parts.append(oq) + remaining = remaining[1:] + else: + m = STRING_CHUNK.match(remaining) + if not m: + raise SyntaxError('error in string literal: %s' % remaining) + parts.append(m.groups()[0]) + remaining = remaining[m.end():] + else: + s = ''.join(parts) + raise SyntaxError('unterminated string: %s' % s) + parts.append(q) + result = ''.join(parts) + remaining = remaining[1:].lstrip() # skip past closing quote + return result, remaining + + def marker_expr(remaining): + if remaining and remaining[0] == '(': + result, remaining = marker(remaining[1:].lstrip()) + if remaining[0] != ')': + raise SyntaxError('unterminated parenthesis: %s' % remaining) + remaining = remaining[1:].lstrip() + else: + lhs, remaining = marker_var(remaining) + while remaining: + m = MARKER_OP.match(remaining) + if not m: + break + op = m.groups()[0] + remaining = remaining[m.end():] + rhs, remaining = marker_var(remaining) + lhs = {'op': op, 'lhs': lhs, 'rhs': rhs} + result = lhs + return result, remaining + + def marker_and(remaining): + lhs, remaining = marker_expr(remaining) + while remaining: + m = AND.match(remaining) + if not m: + break + remaining = remaining[m.end():] + rhs, remaining = marker_expr(remaining) + lhs = {'op': 'and', 'lhs': lhs, 'rhs': rhs} + return lhs, remaining + + def marker(remaining): + lhs, remaining = marker_and(remaining) + while remaining: + m = OR.match(remaining) + if not m: + break + remaining = remaining[m.end():] + rhs, remaining = marker_and(remaining) + lhs = {'op': 'or', 'lhs': lhs, 'rhs': rhs} + return lhs, remaining + + return marker(marker_string) + + +def parse_requirement(req): + """ + Parse a requirement passed in as a string. Return a Container + whose attributes contain the various parts of the requirement. + """ + remaining = req.strip() + if not remaining or remaining.startswith('#'): + return None + m = IDENTIFIER.match(remaining) + if not m: + raise SyntaxError('name expected: %s' % remaining) + distname = m.groups()[0] + remaining = remaining[m.end():] + extras = mark_expr = versions = uri = None + if remaining and remaining[0] == '[': + i = remaining.find(']', 1) + if i < 0: + raise SyntaxError('unterminated extra: %s' % remaining) + s = remaining[1:i] + remaining = remaining[i + 1:].lstrip() + extras = [] + while s: + m = IDENTIFIER.match(s) + if not m: + raise SyntaxError('malformed extra: %s' % s) + extras.append(m.groups()[0]) + s = s[m.end():] + if not s: + break + if s[0] != ',': + raise SyntaxError('comma expected in extras: %s' % s) + s = s[1:].lstrip() + if not extras: + extras = None + if remaining: + if remaining[0] == '@': + # it's a URI + remaining = remaining[1:].lstrip() + m = NON_SPACE.match(remaining) + if not m: + raise SyntaxError('invalid URI: %s' % remaining) + uri = m.groups()[0] + t = urlparse(uri) + # there are issues with Python and URL parsing, so this test + # is a bit crude. See bpo-20271, bpo-23505. Python doesn't + # always parse invalid URLs correctly - it should raise + # exceptions for malformed URLs + if not (t.scheme and t.netloc): + raise SyntaxError('Invalid URL: %s' % uri) + remaining = remaining[m.end():].lstrip() + else: + + def get_versions(ver_remaining): + """ + Return a list of operator, version tuples if any are + specified, else None. + """ + m = COMPARE_OP.match(ver_remaining) + versions = None + if m: + versions = [] + while True: + op = m.groups()[0] + ver_remaining = ver_remaining[m.end():] + m = VERSION_IDENTIFIER.match(ver_remaining) + if not m: + raise SyntaxError('invalid version: %s' % ver_remaining) + v = m.groups()[0] + versions.append((op, v)) + ver_remaining = ver_remaining[m.end():] + if not ver_remaining or ver_remaining[0] != ',': + break + ver_remaining = ver_remaining[1:].lstrip() + # Some packages have a trailing comma which would break things + # See issue #148 + if not ver_remaining: + break + m = COMPARE_OP.match(ver_remaining) + if not m: + raise SyntaxError('invalid constraint: %s' % ver_remaining) + if not versions: + versions = None + return versions, ver_remaining + + if remaining[0] != '(': + versions, remaining = get_versions(remaining) + else: + i = remaining.find(')', 1) + if i < 0: + raise SyntaxError('unterminated parenthesis: %s' % remaining) + s = remaining[1:i] + remaining = remaining[i + 1:].lstrip() + # As a special diversion from PEP 508, allow a version number + # a.b.c in parentheses as a synonym for ~= a.b.c (because this + # is allowed in earlier PEPs) + if COMPARE_OP.match(s): + versions, _ = get_versions(s) + else: + m = VERSION_IDENTIFIER.match(s) + if not m: + raise SyntaxError('invalid constraint: %s' % s) + v = m.groups()[0] + s = s[m.end():].lstrip() + if s: + raise SyntaxError('invalid constraint: %s' % s) + versions = [('~=', v)] + + if remaining: + if remaining[0] != ';': + raise SyntaxError('invalid requirement: %s' % remaining) + remaining = remaining[1:].lstrip() + + mark_expr, remaining = parse_marker(remaining) + + if remaining and remaining[0] != '#': + raise SyntaxError('unexpected trailing data: %s' % remaining) + + if not versions: + rs = distname + else: + rs = '%s %s' % (distname, ', '.join(['%s %s' % con for con in versions])) + return Container(name=distname, extras=extras, constraints=versions, marker=mark_expr, url=uri, requirement=rs) + + +def get_resources_dests(resources_root, rules): + """Find destinations for resources files""" + + def get_rel_path(root, path): + # normalizes and returns a lstripped-/-separated path + root = root.replace(os.path.sep, '/') + path = path.replace(os.path.sep, '/') + assert path.startswith(root) + return path[len(root):].lstrip('/') + + destinations = {} + for base, suffix, dest in rules: + prefix = os.path.join(resources_root, base) + for abs_base in iglob(prefix): + abs_glob = os.path.join(abs_base, suffix) + for abs_path in iglob(abs_glob): + resource_file = get_rel_path(resources_root, abs_path) + if dest is None: # remove the entry if it was here + destinations.pop(resource_file, None) + else: + rel_path = get_rel_path(abs_base, abs_path) + rel_dest = dest.replace(os.path.sep, '/').rstrip('/') + destinations[resource_file] = rel_dest + '/' + rel_path + return destinations + + +def in_venv(): + if hasattr(sys, 'real_prefix'): + # virtualenv venvs + result = True + else: + # PEP 405 venvs + result = sys.prefix != getattr(sys, 'base_prefix', sys.prefix) + return result + + +def get_executable(): + # The __PYVENV_LAUNCHER__ dance is apparently no longer needed, as + # changes to the stub launcher mean that sys.executable always points + # to the stub on OS X + # if sys.platform == 'darwin' and ('__PYVENV_LAUNCHER__' + # in os.environ): + # result = os.environ['__PYVENV_LAUNCHER__'] + # else: + # result = sys.executable + # return result + # Avoid normcasing: see issue #143 + # result = os.path.normcase(sys.executable) + result = sys.executable + if not isinstance(result, text_type): + result = fsdecode(result) + return result + + +def proceed(prompt, allowed_chars, error_prompt=None, default=None): + p = prompt + while True: + s = raw_input(p) + p = prompt + if not s and default: + s = default + if s: + c = s[0].lower() + if c in allowed_chars: + break + if error_prompt: + p = '%c: %s\n%s' % (c, error_prompt, prompt) + return c + + +def extract_by_key(d, keys): + if isinstance(keys, string_types): + keys = keys.split() + result = {} + for key in keys: + if key in d: + result[key] = d[key] + return result + + +def read_exports(stream): + if sys.version_info[0] >= 3: + # needs to be a text stream + stream = codecs.getreader('utf-8')(stream) + # Try to load as JSON, falling back on legacy format + data = stream.read() + stream = StringIO(data) + try: + jdata = json.load(stream) + result = jdata['extensions']['python.exports']['exports'] + for group, entries in result.items(): + for k, v in entries.items(): + s = '%s = %s' % (k, v) + entry = get_export_entry(s) + assert entry is not None + entries[k] = entry + return result + except Exception: + stream.seek(0, 0) + + def read_stream(cp, stream): + if hasattr(cp, 'read_file'): + cp.read_file(stream) + else: + cp.readfp(stream) + + cp = configparser.ConfigParser() + try: + read_stream(cp, stream) + except configparser.MissingSectionHeaderError: + stream.close() + data = textwrap.dedent(data) + stream = StringIO(data) + read_stream(cp, stream) + + result = {} + for key in cp.sections(): + result[key] = entries = {} + for name, value in cp.items(key): + s = '%s = %s' % (name, value) + entry = get_export_entry(s) + assert entry is not None + # entry.dist = self + entries[name] = entry + return result + + +def write_exports(exports, stream): + if sys.version_info[0] >= 3: + # needs to be a text stream + stream = codecs.getwriter('utf-8')(stream) + cp = configparser.ConfigParser() + for k, v in exports.items(): + # TODO check k, v for valid values + cp.add_section(k) + for entry in v.values(): + if entry.suffix is None: + s = entry.prefix + else: + s = '%s:%s' % (entry.prefix, entry.suffix) + if entry.flags: + s = '%s [%s]' % (s, ', '.join(entry.flags)) + cp.set(k, entry.name, s) + cp.write(stream) + + +@contextlib.contextmanager +def tempdir(): + td = tempfile.mkdtemp() + try: + yield td + finally: + shutil.rmtree(td) + + +@contextlib.contextmanager +def chdir(d): + cwd = os.getcwd() + try: + os.chdir(d) + yield + finally: + os.chdir(cwd) + + +@contextlib.contextmanager +def socket_timeout(seconds=15): + cto = socket.getdefaulttimeout() + try: + socket.setdefaulttimeout(seconds) + yield + finally: + socket.setdefaulttimeout(cto) + + +class cached_property(object): + + def __init__(self, func): + self.func = func + # for attr in ('__name__', '__module__', '__doc__'): + # setattr(self, attr, getattr(func, attr, None)) + + def __get__(self, obj, cls=None): + if obj is None: + return self + value = self.func(obj) + object.__setattr__(obj, self.func.__name__, value) + # obj.__dict__[self.func.__name__] = value = self.func(obj) + return value + + +def convert_path(pathname): + """Return 'pathname' as a name that will work on the native filesystem. + + The path is split on '/' and put back together again using the current + directory separator. Needed because filenames in the setup script are + always supplied in Unix style, and have to be converted to the local + convention before we can actually use them in the filesystem. Raises + ValueError on non-Unix-ish systems if 'pathname' either starts or + ends with a slash. + """ + if os.sep == '/': + return pathname + if not pathname: + return pathname + if pathname[0] == '/': + raise ValueError("path '%s' cannot be absolute" % pathname) + if pathname[-1] == '/': + raise ValueError("path '%s' cannot end with '/'" % pathname) + + paths = pathname.split('/') + while os.curdir in paths: + paths.remove(os.curdir) + if not paths: + return os.curdir + return os.path.join(*paths) + + +class FileOperator(object): + + def __init__(self, dry_run=False): + self.dry_run = dry_run + self.ensured = set() + self._init_record() + + def _init_record(self): + self.record = False + self.files_written = set() + self.dirs_created = set() + + def record_as_written(self, path): + if self.record: + self.files_written.add(path) + + def newer(self, source, target): + """Tell if the target is newer than the source. + + Returns true if 'source' exists and is more recently modified than + 'target', or if 'source' exists and 'target' doesn't. + + Returns false if both exist and 'target' is the same age or younger + than 'source'. Raise PackagingFileError if 'source' does not exist. + + Note that this test is not very accurate: files created in the same + second will have the same "age". + """ + if not os.path.exists(source): + raise DistlibException("file '%r' does not exist" % os.path.abspath(source)) + if not os.path.exists(target): + return True + + return os.stat(source).st_mtime > os.stat(target).st_mtime + + def copy_file(self, infile, outfile, check=True): + """Copy a file respecting dry-run and force flags. + """ + self.ensure_dir(os.path.dirname(outfile)) + logger.info('Copying %s to %s', infile, outfile) + if not self.dry_run: + msg = None + if check: + if os.path.islink(outfile): + msg = '%s is a symlink' % outfile + elif os.path.exists(outfile) and not os.path.isfile(outfile): + msg = '%s is a non-regular file' % outfile + if msg: + raise ValueError(msg + ' which would be overwritten') + shutil.copyfile(infile, outfile) + self.record_as_written(outfile) + + def copy_stream(self, instream, outfile, encoding=None): + assert not os.path.isdir(outfile) + self.ensure_dir(os.path.dirname(outfile)) + logger.info('Copying stream %s to %s', instream, outfile) + if not self.dry_run: + if encoding is None: + outstream = open(outfile, 'wb') + else: + outstream = codecs.open(outfile, 'w', encoding=encoding) + try: + shutil.copyfileobj(instream, outstream) + finally: + outstream.close() + self.record_as_written(outfile) + + def write_binary_file(self, path, data): + self.ensure_dir(os.path.dirname(path)) + if not self.dry_run: + if os.path.exists(path): + os.remove(path) + with open(path, 'wb') as f: + f.write(data) + self.record_as_written(path) + + def write_text_file(self, path, data, encoding): + self.write_binary_file(path, data.encode(encoding)) + + def set_mode(self, bits, mask, files): + if os.name == 'posix' or (os.name == 'java' and os._name == 'posix'): + # Set the executable bits (owner, group, and world) on + # all the files specified. + for f in files: + if self.dry_run: + logger.info("changing mode of %s", f) + else: + mode = (os.stat(f).st_mode | bits) & mask + logger.info("changing mode of %s to %o", f, mode) + os.chmod(f, mode) + + set_executable_mode = lambda s, f: s.set_mode(0o555, 0o7777, f) + + def ensure_dir(self, path): + path = os.path.abspath(path) + if path not in self.ensured and not os.path.exists(path): + self.ensured.add(path) + d, f = os.path.split(path) + self.ensure_dir(d) + logger.info('Creating %s' % path) + if not self.dry_run: + os.mkdir(path) + if self.record: + self.dirs_created.add(path) + + def byte_compile(self, path, optimize=False, force=False, prefix=None, hashed_invalidation=False): + dpath = cache_from_source(path, not optimize) + logger.info('Byte-compiling %s to %s', path, dpath) + if not self.dry_run: + if force or self.newer(path, dpath): + if not prefix: + diagpath = None + else: + assert path.startswith(prefix) + diagpath = path[len(prefix):] + compile_kwargs = {} + if hashed_invalidation and hasattr(py_compile, 'PycInvalidationMode'): + if not isinstance(hashed_invalidation, py_compile.PycInvalidationMode): + hashed_invalidation = py_compile.PycInvalidationMode.CHECKED_HASH + compile_kwargs['invalidation_mode'] = hashed_invalidation + py_compile.compile(path, dpath, diagpath, True, **compile_kwargs) # raise error + self.record_as_written(dpath) + return dpath + + def ensure_removed(self, path): + if os.path.exists(path): + if os.path.isdir(path) and not os.path.islink(path): + logger.debug('Removing directory tree at %s', path) + if not self.dry_run: + shutil.rmtree(path) + if self.record: + if path in self.dirs_created: + self.dirs_created.remove(path) + else: + if os.path.islink(path): + s = 'link' + else: + s = 'file' + logger.debug('Removing %s %s', s, path) + if not self.dry_run: + os.remove(path) + if self.record: + if path in self.files_written: + self.files_written.remove(path) + + def is_writable(self, path): + result = False + while not result: + if os.path.exists(path): + result = os.access(path, os.W_OK) + break + parent = os.path.dirname(path) + if parent == path: + break + path = parent + return result + + def commit(self): + """ + Commit recorded changes, turn off recording, return + changes. + """ + assert self.record + result = self.files_written, self.dirs_created + self._init_record() + return result + + def rollback(self): + if not self.dry_run: + for f in list(self.files_written): + if os.path.exists(f): + os.remove(f) + # dirs should all be empty now, except perhaps for + # __pycache__ subdirs + # reverse so that subdirs appear before their parents + dirs = sorted(self.dirs_created, reverse=True) + for d in dirs: + flist = os.listdir(d) + if flist: + assert flist == ['__pycache__'] + sd = os.path.join(d, flist[0]) + os.rmdir(sd) + os.rmdir(d) # should fail if non-empty + self._init_record() + + +def resolve(module_name, dotted_path): + if module_name in sys.modules: + mod = sys.modules[module_name] + else: + mod = __import__(module_name) + if dotted_path is None: + result = mod + else: + parts = dotted_path.split('.') + result = getattr(mod, parts.pop(0)) + for p in parts: + result = getattr(result, p) + return result + + +class ExportEntry(object): + + def __init__(self, name, prefix, suffix, flags): + self.name = name + self.prefix = prefix + self.suffix = suffix + self.flags = flags + + @cached_property + def value(self): + return resolve(self.prefix, self.suffix) + + def __repr__(self): # pragma: no cover + return '' % (self.name, self.prefix, self.suffix, self.flags) + + def __eq__(self, other): + if not isinstance(other, ExportEntry): + result = False + else: + result = (self.name == other.name and self.prefix == other.prefix and self.suffix == other.suffix and + self.flags == other.flags) + return result + + __hash__ = object.__hash__ + + +ENTRY_RE = re.compile( + r'''(?P([^\[]\S*)) + \s*=\s*(?P(\w+)([:\.]\w+)*) + \s*(\[\s*(?P[\w-]+(=\w+)?(,\s*\w+(=\w+)?)*)\s*\])? + ''', re.VERBOSE) + + +def get_export_entry(specification): + m = ENTRY_RE.search(specification) + if not m: + result = None + if '[' in specification or ']' in specification: + raise DistlibException("Invalid specification " + "'%s'" % specification) + else: + d = m.groupdict() + name = d['name'] + path = d['callable'] + colons = path.count(':') + if colons == 0: + prefix, suffix = path, None + else: + if colons != 1: + raise DistlibException("Invalid specification " + "'%s'" % specification) + prefix, suffix = path.split(':') + flags = d['flags'] + if flags is None: + if '[' in specification or ']' in specification: + raise DistlibException("Invalid specification " + "'%s'" % specification) + flags = [] + else: + flags = [f.strip() for f in flags.split(',')] + result = ExportEntry(name, prefix, suffix, flags) + return result + + +def get_cache_base(suffix=None): + """ + Return the default base location for distlib caches. If the directory does + not exist, it is created. Use the suffix provided for the base directory, + and default to '.distlib' if it isn't provided. + + On Windows, if LOCALAPPDATA is defined in the environment, then it is + assumed to be a directory, and will be the parent directory of the result. + On POSIX, and on Windows if LOCALAPPDATA is not defined, the user's home + directory - using os.expanduser('~') - will be the parent directory of + the result. + + The result is just the directory '.distlib' in the parent directory as + determined above, or with the name specified with ``suffix``. + """ + if suffix is None: + suffix = '.distlib' + if os.name == 'nt' and 'LOCALAPPDATA' in os.environ: + result = os.path.expandvars('$localappdata') + else: + # Assume posix, or old Windows + result = os.path.expanduser('~') + # we use 'isdir' instead of 'exists', because we want to + # fail if there's a file with that name + if os.path.isdir(result): + usable = os.access(result, os.W_OK) + if not usable: + logger.warning('Directory exists but is not writable: %s', result) + else: + try: + os.makedirs(result) + usable = True + except OSError: + logger.warning('Unable to create %s', result, exc_info=True) + usable = False + if not usable: + result = tempfile.mkdtemp() + logger.warning('Default location unusable, using %s', result) + return os.path.join(result, suffix) + + +def path_to_cache_dir(path, use_abspath=True): + """ + Convert an absolute path to a directory name for use in a cache. + + The algorithm used is: + + #. On Windows, any ``':'`` in the drive is replaced with ``'---'``. + #. Any occurrence of ``os.sep`` is replaced with ``'--'``. + #. ``'.cache'`` is appended. + """ + d, p = os.path.splitdrive(os.path.abspath(path) if use_abspath else path) + if d: + d = d.replace(':', '---') + p = p.replace(os.sep, '--') + return d + p + '.cache' + + +def ensure_slash(s): + if not s.endswith('/'): + return s + '/' + return s + + +def parse_credentials(netloc): + username = password = None + if '@' in netloc: + prefix, netloc = netloc.rsplit('@', 1) + if ':' not in prefix: + username = prefix + else: + username, password = prefix.split(':', 1) + if username: + username = unquote(username) + if password: + password = unquote(password) + return username, password, netloc + + +def get_process_umask(): + result = os.umask(0o22) + os.umask(result) + return result + + +def is_string_sequence(seq): + result = True + i = None + for i, s in enumerate(seq): + if not isinstance(s, string_types): + result = False + break + assert i is not None + return result + + +PROJECT_NAME_AND_VERSION = re.compile('([a-z0-9_]+([.-][a-z_][a-z0-9_]*)*)-' + '([a-z0-9_.+-]+)', re.I) +PYTHON_VERSION = re.compile(r'-py(\d\.?\d?)') + + +def split_filename(filename, project_name=None): + """ + Extract name, version, python version from a filename (no extension) + + Return name, version, pyver or None + """ + result = None + pyver = None + filename = unquote(filename).replace(' ', '-') + m = PYTHON_VERSION.search(filename) + if m: + pyver = m.group(1) + filename = filename[:m.start()] + if project_name and len(filename) > len(project_name) + 1: + m = re.match(re.escape(project_name) + r'\b', filename) + if m: + n = m.end() + result = filename[:n], filename[n + 1:], pyver + if result is None: + m = PROJECT_NAME_AND_VERSION.match(filename) + if m: + result = m.group(1), m.group(3), pyver + return result + + +# Allow spaces in name because of legacy dists like "Twisted Core" +NAME_VERSION_RE = re.compile(r'(?P[\w .-]+)\s*' + r'\(\s*(?P[^\s)]+)\)$') + + +def parse_name_and_version(p): + """ + A utility method used to get name and version from a string. + + From e.g. a Provides-Dist value. + + :param p: A value in a form 'foo (1.0)' + :return: The name and version as a tuple. + """ + m = NAME_VERSION_RE.match(p) + if not m: + raise DistlibException('Ill-formed name/version string: \'%s\'' % p) + d = m.groupdict() + return d['name'].strip().lower(), d['ver'] + + +def get_extras(requested, available): + result = set() + requested = set(requested or []) + available = set(available or []) + if '*' in requested: + requested.remove('*') + result |= available + for r in requested: + if r == '-': + result.add(r) + elif r.startswith('-'): + unwanted = r[1:] + if unwanted not in available: + logger.warning('undeclared extra: %s' % unwanted) + if unwanted in result: + result.remove(unwanted) + else: + if r not in available: + logger.warning('undeclared extra: %s' % r) + result.add(r) + return result + + +# +# Extended metadata functionality +# + + +def _get_external_data(url): + result = {} + try: + # urlopen might fail if it runs into redirections, + # because of Python issue #13696. Fixed in locators + # using a custom redirect handler. + resp = urlopen(url) + headers = resp.info() + ct = headers.get('Content-Type') + if not ct.startswith('application/json'): + logger.debug('Unexpected response for JSON request: %s', ct) + else: + reader = codecs.getreader('utf-8')(resp) + # data = reader.read().decode('utf-8') + # result = json.loads(data) + result = json.load(reader) + except Exception as e: + logger.exception('Failed to get external data for %s: %s', url, e) + return result + + +_external_data_base_url = 'https://www.red-dove.com/pypi/projects/' + + +def get_project_data(name): + url = '%s/%s/project.json' % (name[0].upper(), name) + url = urljoin(_external_data_base_url, url) + result = _get_external_data(url) + return result + + +def get_package_data(name, version): + url = '%s/%s/package-%s.json' % (name[0].upper(), name, version) + url = urljoin(_external_data_base_url, url) + return _get_external_data(url) + + +class Cache(object): + """ + A class implementing a cache for resources that need to live in the file system + e.g. shared libraries. This class was moved from resources to here because it + could be used by other modules, e.g. the wheel module. + """ + + def __init__(self, base): + """ + Initialise an instance. + + :param base: The base directory where the cache should be located. + """ + # we use 'isdir' instead of 'exists', because we want to + # fail if there's a file with that name + if not os.path.isdir(base): # pragma: no cover + os.makedirs(base) + if (os.stat(base).st_mode & 0o77) != 0: + logger.warning('Directory \'%s\' is not private', base) + self.base = os.path.abspath(os.path.normpath(base)) + + def prefix_to_dir(self, prefix, use_abspath=True): + """ + Converts a resource prefix to a directory name in the cache. + """ + return path_to_cache_dir(prefix, use_abspath=use_abspath) + + def clear(self): + """ + Clear the cache. + """ + not_removed = [] + for fn in os.listdir(self.base): + fn = os.path.join(self.base, fn) + try: + if os.path.islink(fn) or os.path.isfile(fn): + os.remove(fn) + elif os.path.isdir(fn): + shutil.rmtree(fn) + except Exception: + not_removed.append(fn) + return not_removed + + +class EventMixin(object): + """ + A very simple publish/subscribe system. + """ + + def __init__(self): + self._subscribers = {} + + def add(self, event, subscriber, append=True): + """ + Add a subscriber for an event. + + :param event: The name of an event. + :param subscriber: The subscriber to be added (and called when the + event is published). + :param append: Whether to append or prepend the subscriber to an + existing subscriber list for the event. + """ + subs = self._subscribers + if event not in subs: + subs[event] = deque([subscriber]) + else: + sq = subs[event] + if append: + sq.append(subscriber) + else: + sq.appendleft(subscriber) + + def remove(self, event, subscriber): + """ + Remove a subscriber for an event. + + :param event: The name of an event. + :param subscriber: The subscriber to be removed. + """ + subs = self._subscribers + if event not in subs: + raise ValueError('No subscribers: %r' % event) + subs[event].remove(subscriber) + + def get_subscribers(self, event): + """ + Return an iterator for the subscribers for an event. + :param event: The event to return subscribers for. + """ + return iter(self._subscribers.get(event, ())) + + def publish(self, event, *args, **kwargs): + """ + Publish a event and return a list of values returned by its + subscribers. + + :param event: The event to publish. + :param args: The positional arguments to pass to the event's + subscribers. + :param kwargs: The keyword arguments to pass to the event's + subscribers. + """ + result = [] + for subscriber in self.get_subscribers(event): + try: + value = subscriber(event, *args, **kwargs) + except Exception: + logger.exception('Exception during event publication') + value = None + result.append(value) + logger.debug('publish %s: args = %s, kwargs = %s, result = %s', event, args, kwargs, result) + return result + + +# +# Simple sequencing +# +class Sequencer(object): + + def __init__(self): + self._preds = {} + self._succs = {} + self._nodes = set() # nodes with no preds/succs + + def add_node(self, node): + self._nodes.add(node) + + def remove_node(self, node, edges=False): + if node in self._nodes: + self._nodes.remove(node) + if edges: + for p in set(self._preds.get(node, ())): + self.remove(p, node) + for s in set(self._succs.get(node, ())): + self.remove(node, s) + # Remove empties + for k, v in list(self._preds.items()): + if not v: + del self._preds[k] + for k, v in list(self._succs.items()): + if not v: + del self._succs[k] + + def add(self, pred, succ): + assert pred != succ + self._preds.setdefault(succ, set()).add(pred) + self._succs.setdefault(pred, set()).add(succ) + + def remove(self, pred, succ): + assert pred != succ + try: + preds = self._preds[succ] + succs = self._succs[pred] + except KeyError: # pragma: no cover + raise ValueError('%r not a successor of anything' % succ) + try: + preds.remove(pred) + succs.remove(succ) + except KeyError: # pragma: no cover + raise ValueError('%r not a successor of %r' % (succ, pred)) + + def is_step(self, step): + return (step in self._preds or step in self._succs or step in self._nodes) + + def get_steps(self, final): + if not self.is_step(final): + raise ValueError('Unknown: %r' % final) + result = [] + todo = [] + seen = set() + todo.append(final) + while todo: + step = todo.pop(0) + if step in seen: + # if a step was already seen, + # move it to the end (so it will appear earlier + # when reversed on return) ... but not for the + # final step, as that would be confusing for + # users + if step != final: + result.remove(step) + result.append(step) + else: + seen.add(step) + result.append(step) + preds = self._preds.get(step, ()) + todo.extend(preds) + return reversed(result) + + @property + def strong_connections(self): + # http://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm + index_counter = [0] + stack = [] + lowlinks = {} + index = {} + result = [] + + graph = self._succs + + def strongconnect(node): + # set the depth index for this node to the smallest unused index + index[node] = index_counter[0] + lowlinks[node] = index_counter[0] + index_counter[0] += 1 + stack.append(node) + + # Consider successors + try: + successors = graph[node] + except Exception: + successors = [] + for successor in successors: + if successor not in lowlinks: + # Successor has not yet been visited + strongconnect(successor) + lowlinks[node] = min(lowlinks[node], lowlinks[successor]) + elif successor in stack: + # the successor is in the stack and hence in the current + # strongly connected component (SCC) + lowlinks[node] = min(lowlinks[node], index[successor]) + + # If `node` is a root node, pop the stack and generate an SCC + if lowlinks[node] == index[node]: + connected_component = [] + + while True: + successor = stack.pop() + connected_component.append(successor) + if successor == node: + break + component = tuple(connected_component) + # storing the result + result.append(component) + + for node in graph: + if node not in lowlinks: + strongconnect(node) + + return result + + @property + def dot(self): + result = ['digraph G {'] + for succ in self._preds: + preds = self._preds[succ] + for pred in preds: + result.append(' %s -> %s;' % (pred, succ)) + for node in self._nodes: + result.append(' %s;' % node) + result.append('}') + return '\n'.join(result) + + +# +# Unarchiving functionality for zip, tar, tgz, tbz, whl +# + +ARCHIVE_EXTENSIONS = ('.tar.gz', '.tar.bz2', '.tar', '.zip', '.tgz', '.tbz', '.whl') + + +def unarchive(archive_filename, dest_dir, format=None, check=True): + + def check_path(path): + if not isinstance(path, text_type): + path = path.decode('utf-8') + p = os.path.abspath(os.path.join(dest_dir, path)) + if not p.startswith(dest_dir) or p[plen] != os.sep: + raise ValueError('path outside destination: %r' % p) + + dest_dir = os.path.abspath(dest_dir) + plen = len(dest_dir) + archive = None + if format is None: + if archive_filename.endswith(('.zip', '.whl')): + format = 'zip' + elif archive_filename.endswith(('.tar.gz', '.tgz')): + format = 'tgz' + mode = 'r:gz' + elif archive_filename.endswith(('.tar.bz2', '.tbz')): + format = 'tbz' + mode = 'r:bz2' + elif archive_filename.endswith('.tar'): + format = 'tar' + mode = 'r' + else: # pragma: no cover + raise ValueError('Unknown format for %r' % archive_filename) + try: + if format == 'zip': + archive = ZipFile(archive_filename, 'r') + if check: + names = archive.namelist() + for name in names: + check_path(name) + else: + archive = tarfile.open(archive_filename, mode) + if check: + names = archive.getnames() + for name in names: + check_path(name) + if format != 'zip' and sys.version_info[0] < 3: + # See Python issue 17153. If the dest path contains Unicode, + # tarfile extraction fails on Python 2.x if a member path name + # contains non-ASCII characters - it leads to an implicit + # bytes -> unicode conversion using ASCII to decode. + for tarinfo in archive.getmembers(): + if not isinstance(tarinfo.name, text_type): + tarinfo.name = tarinfo.name.decode('utf-8') + + # Limit extraction of dangerous items, if this Python + # allows it easily. If not, just trust the input. + # See: https://docs.python.org/3/library/tarfile.html#extraction-filters + def extraction_filter(member, path): + """Run tarfile.tar_filter, but raise the expected ValueError""" + # This is only called if the current Python has tarfile filters + try: + return tarfile.tar_filter(member, path) + except tarfile.FilterError as exc: + raise ValueError(str(exc)) + + archive.extraction_filter = extraction_filter + + archive.extractall(dest_dir) + + finally: + if archive: + archive.close() + + +def zip_dir(directory): + """zip a directory tree into a BytesIO object""" + result = io.BytesIO() + dlen = len(directory) + with ZipFile(result, "w") as zf: + for root, dirs, files in os.walk(directory): + for name in files: + full = os.path.join(root, name) + rel = root[dlen:] + dest = os.path.join(rel, name) + zf.write(full, dest) + return result + + +# +# Simple progress bar +# + +UNITS = ('', 'K', 'M', 'G', 'T', 'P') + + +class Progress(object): + unknown = 'UNKNOWN' + + def __init__(self, minval=0, maxval=100): + assert maxval is None or maxval >= minval + self.min = self.cur = minval + self.max = maxval + self.started = None + self.elapsed = 0 + self.done = False + + def update(self, curval): + assert self.min <= curval + assert self.max is None or curval <= self.max + self.cur = curval + now = time.time() + if self.started is None: + self.started = now + else: + self.elapsed = now - self.started + + def increment(self, incr): + assert incr >= 0 + self.update(self.cur + incr) + + def start(self): + self.update(self.min) + return self + + def stop(self): + if self.max is not None: + self.update(self.max) + self.done = True + + @property + def maximum(self): + return self.unknown if self.max is None else self.max + + @property + def percentage(self): + if self.done: + result = '100 %' + elif self.max is None: + result = ' ?? %' + else: + v = 100.0 * (self.cur - self.min) / (self.max - self.min) + result = '%3d %%' % v + return result + + def format_duration(self, duration): + if (duration <= 0) and self.max is None or self.cur == self.min: + result = '??:??:??' + # elif duration < 1: + # result = '--:--:--' + else: + result = time.strftime('%H:%M:%S', time.gmtime(duration)) + return result + + @property + def ETA(self): + if self.done: + prefix = 'Done' + t = self.elapsed + # import pdb; pdb.set_trace() + else: + prefix = 'ETA ' + if self.max is None: + t = -1 + elif self.elapsed == 0 or (self.cur == self.min): + t = 0 + else: + # import pdb; pdb.set_trace() + t = float(self.max - self.min) + t /= self.cur - self.min + t = (t - 1) * self.elapsed + return '%s: %s' % (prefix, self.format_duration(t)) + + @property + def speed(self): + if self.elapsed == 0: + result = 0.0 + else: + result = (self.cur - self.min) / self.elapsed + for unit in UNITS: + if result < 1000: + break + result /= 1000.0 + return '%d %sB/s' % (result, unit) + + +# +# Glob functionality +# + +RICH_GLOB = re.compile(r'\{([^}]*)\}') +_CHECK_RECURSIVE_GLOB = re.compile(r'[^/\\,{]\*\*|\*\*[^/\\,}]') +_CHECK_MISMATCH_SET = re.compile(r'^[^{]*\}|\{[^}]*$') + + +def iglob(path_glob): + """Extended globbing function that supports ** and {opt1,opt2,opt3}.""" + if _CHECK_RECURSIVE_GLOB.search(path_glob): + msg = """invalid glob %r: recursive glob "**" must be used alone""" + raise ValueError(msg % path_glob) + if _CHECK_MISMATCH_SET.search(path_glob): + msg = """invalid glob %r: mismatching set marker '{' or '}'""" + raise ValueError(msg % path_glob) + return _iglob(path_glob) + + +def _iglob(path_glob): + rich_path_glob = RICH_GLOB.split(path_glob, 1) + if len(rich_path_glob) > 1: + assert len(rich_path_glob) == 3, rich_path_glob + prefix, set, suffix = rich_path_glob + for item in set.split(','): + for path in _iglob(''.join((prefix, item, suffix))): + yield path + else: + if '**' not in path_glob: + for item in std_iglob(path_glob): + yield item + else: + prefix, radical = path_glob.split('**', 1) + if prefix == '': + prefix = '.' + if radical == '': + radical = '*' + else: + # we support both + radical = radical.lstrip('/') + radical = radical.lstrip('\\') + for path, dir, files in os.walk(prefix): + path = os.path.normpath(path) + for fn in _iglob(os.path.join(path, radical)): + yield fn + + +if ssl: + from .compat import (HTTPSHandler as BaseHTTPSHandler, match_hostname, CertificateError) + + # + # HTTPSConnection which verifies certificates/matches domains + # + + class HTTPSConnection(httplib.HTTPSConnection): + ca_certs = None # set this to the path to the certs file (.pem) + check_domain = True # only used if ca_certs is not None + + # noinspection PyPropertyAccess + def connect(self): + sock = socket.create_connection((self.host, self.port), self.timeout) + if getattr(self, '_tunnel_host', False): + self.sock = sock + self._tunnel() + + context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) + if hasattr(ssl, 'OP_NO_SSLv2'): + context.options |= ssl.OP_NO_SSLv2 + if getattr(self, 'cert_file', None): + context.load_cert_chain(self.cert_file, self.key_file) + kwargs = {} + if self.ca_certs: + context.verify_mode = ssl.CERT_REQUIRED + context.load_verify_locations(cafile=self.ca_certs) + if getattr(ssl, 'HAS_SNI', False): + kwargs['server_hostname'] = self.host + + self.sock = context.wrap_socket(sock, **kwargs) + if self.ca_certs and self.check_domain: + try: + match_hostname(self.sock.getpeercert(), self.host) + logger.debug('Host verified: %s', self.host) + except CertificateError: # pragma: no cover + self.sock.shutdown(socket.SHUT_RDWR) + self.sock.close() + raise + + class HTTPSHandler(BaseHTTPSHandler): + + def __init__(self, ca_certs, check_domain=True): + BaseHTTPSHandler.__init__(self) + self.ca_certs = ca_certs + self.check_domain = check_domain + + def _conn_maker(self, *args, **kwargs): + """ + This is called to create a connection instance. Normally you'd + pass a connection class to do_open, but it doesn't actually check for + a class, and just expects a callable. As long as we behave just as a + constructor would have, we should be OK. If it ever changes so that + we *must* pass a class, we'll create an UnsafeHTTPSConnection class + which just sets check_domain to False in the class definition, and + choose which one to pass to do_open. + """ + result = HTTPSConnection(*args, **kwargs) + if self.ca_certs: + result.ca_certs = self.ca_certs + result.check_domain = self.check_domain + return result + + def https_open(self, req): + try: + return self.do_open(self._conn_maker, req) + except URLError as e: + if 'certificate verify failed' in str(e.reason): + raise CertificateError('Unable to verify server certificate ' + 'for %s' % req.host) + else: + raise + + # + # To prevent against mixing HTTP traffic with HTTPS (examples: A Man-In-The- + # Middle proxy using HTTP listens on port 443, or an index mistakenly serves + # HTML containing a http://xyz link when it should be https://xyz), + # you can use the following handler class, which does not allow HTTP traffic. + # + # It works by inheriting from HTTPHandler - so build_opener won't add a + # handler for HTTP itself. + # + class HTTPSOnlyHandler(HTTPSHandler, HTTPHandler): + + def http_open(self, req): + raise URLError('Unexpected HTTP request on what should be a secure ' + 'connection: %s' % req) + + +# +# XML-RPC with timeouts +# +class Transport(xmlrpclib.Transport): + + def __init__(self, timeout, use_datetime=0): + self.timeout = timeout + xmlrpclib.Transport.__init__(self, use_datetime) + + def make_connection(self, host): + h, eh, x509 = self.get_host_info(host) + if not self._connection or host != self._connection[0]: + self._extra_headers = eh + self._connection = host, httplib.HTTPConnection(h) + return self._connection[1] + + +if ssl: + + class SafeTransport(xmlrpclib.SafeTransport): + + def __init__(self, timeout, use_datetime=0): + self.timeout = timeout + xmlrpclib.SafeTransport.__init__(self, use_datetime) + + def make_connection(self, host): + h, eh, kwargs = self.get_host_info(host) + if not kwargs: + kwargs = {} + kwargs['timeout'] = self.timeout + if not self._connection or host != self._connection[0]: + self._extra_headers = eh + self._connection = host, httplib.HTTPSConnection(h, None, **kwargs) + return self._connection[1] + + +class ServerProxy(xmlrpclib.ServerProxy): + + def __init__(self, uri, **kwargs): + self.timeout = timeout = kwargs.pop('timeout', None) + # The above classes only come into play if a timeout + # is specified + if timeout is not None: + # scheme = splittype(uri) # deprecated as of Python 3.8 + scheme = urlparse(uri)[0] + use_datetime = kwargs.get('use_datetime', 0) + if scheme == 'https': + tcls = SafeTransport + else: + tcls = Transport + kwargs['transport'] = t = tcls(timeout, use_datetime=use_datetime) + self.transport = t + xmlrpclib.ServerProxy.__init__(self, uri, **kwargs) + + +# +# CSV functionality. This is provided because on 2.x, the csv module can't +# handle Unicode. However, we need to deal with Unicode in e.g. RECORD files. +# + + +def _csv_open(fn, mode, **kwargs): + if sys.version_info[0] < 3: + mode += 'b' + else: + kwargs['newline'] = '' + # Python 3 determines encoding from locale. Force 'utf-8' + # file encoding to match other forced utf-8 encoding + kwargs['encoding'] = 'utf-8' + return open(fn, mode, **kwargs) + + +class CSVBase(object): + defaults = { + 'delimiter': str(','), # The strs are used because we need native + 'quotechar': str('"'), # str in the csv API (2.x won't take + 'lineterminator': str('\n') # Unicode) + } + + def __enter__(self): + return self + + def __exit__(self, *exc_info): + self.stream.close() + + +class CSVReader(CSVBase): + + def __init__(self, **kwargs): + if 'stream' in kwargs: + stream = kwargs['stream'] + if sys.version_info[0] >= 3: + # needs to be a text stream + stream = codecs.getreader('utf-8')(stream) + self.stream = stream + else: + self.stream = _csv_open(kwargs['path'], 'r') + self.reader = csv.reader(self.stream, **self.defaults) + + def __iter__(self): + return self + + def next(self): + result = next(self.reader) + if sys.version_info[0] < 3: + for i, item in enumerate(result): + if not isinstance(item, text_type): + result[i] = item.decode('utf-8') + return result + + __next__ = next + + +class CSVWriter(CSVBase): + + def __init__(self, fn, **kwargs): + self.stream = _csv_open(fn, 'w') + self.writer = csv.writer(self.stream, **self.defaults) + + def writerow(self, row): + if sys.version_info[0] < 3: + r = [] + for item in row: + if isinstance(item, text_type): + item = item.encode('utf-8') + r.append(item) + row = r + self.writer.writerow(row) + + +# +# Configurator functionality +# + + +class Configurator(BaseConfigurator): + + value_converters = dict(BaseConfigurator.value_converters) + value_converters['inc'] = 'inc_convert' + + def __init__(self, config, base=None): + super(Configurator, self).__init__(config) + self.base = base or os.getcwd() + + def configure_custom(self, config): + + def convert(o): + if isinstance(o, (list, tuple)): + result = type(o)([convert(i) for i in o]) + elif isinstance(o, dict): + if '()' in o: + result = self.configure_custom(o) + else: + result = {} + for k in o: + result[k] = convert(o[k]) + else: + result = self.convert(o) + return result + + c = config.pop('()') + if not callable(c): + c = self.resolve(c) + props = config.pop('.', None) + # Check for valid identifiers + args = config.pop('[]', ()) + if args: + args = tuple([convert(o) for o in args]) + items = [(k, convert(config[k])) for k in config if valid_ident(k)] + kwargs = dict(items) + result = c(*args, **kwargs) + if props: + for n, v in props.items(): + setattr(result, n, convert(v)) + return result + + def __getitem__(self, key): + result = self.config[key] + if isinstance(result, dict) and '()' in result: + self.config[key] = result = self.configure_custom(result) + return result + + def inc_convert(self, value): + """Default converter for the inc:// protocol.""" + if not os.path.isabs(value): + value = os.path.join(self.base, value) + with codecs.open(value, 'r', encoding='utf-8') as f: + result = json.load(f) + return result + + +class SubprocessMixin(object): + """ + Mixin for running subprocesses and capturing their output + """ + + def __init__(self, verbose=False, progress=None): + self.verbose = verbose + self.progress = progress + + def reader(self, stream, context): + """ + Read lines from a subprocess' output stream and either pass to a progress + callable (if specified) or write progress information to sys.stderr. + """ + progress = self.progress + verbose = self.verbose + while True: + s = stream.readline() + if not s: + break + if progress is not None: + progress(s, context) + else: + if not verbose: + sys.stderr.write('.') + else: + sys.stderr.write(s.decode('utf-8')) + sys.stderr.flush() + stream.close() + + def run_command(self, cmd, **kwargs): + p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwargs) + t1 = threading.Thread(target=self.reader, args=(p.stdout, 'stdout')) + t1.start() + t2 = threading.Thread(target=self.reader, args=(p.stderr, 'stderr')) + t2.start() + p.wait() + t1.join() + t2.join() + if self.progress is not None: + self.progress('done.', 'main') + elif self.verbose: + sys.stderr.write('done.\n') + return p + + +def normalize_name(name): + """Normalize a python package name a la PEP 503""" + # https://www.python.org/dev/peps/pep-0503/#normalized-names + return re.sub('[-_.]+', '-', name).lower() + + +# def _get_pypirc_command(): +# """ +# Get the distutils command for interacting with PyPI configurations. +# :return: the command. +# """ +# from distutils.core import Distribution +# from distutils.config import PyPIRCCommand +# d = Distribution() +# return PyPIRCCommand(d) + + +class PyPIRCFile(object): + + DEFAULT_REPOSITORY = 'https://upload.pypi.org/legacy/' + DEFAULT_REALM = 'pypi' + + def __init__(self, fn=None, url=None): + if fn is None: + fn = os.path.join(os.path.expanduser('~'), '.pypirc') + self.filename = fn + self.url = url + + def read(self): + result = {} + + if os.path.exists(self.filename): + repository = self.url or self.DEFAULT_REPOSITORY + + config = configparser.RawConfigParser() + config.read(self.filename) + sections = config.sections() + if 'distutils' in sections: + # let's get the list of servers + index_servers = config.get('distutils', 'index-servers') + _servers = [server.strip() for server in index_servers.split('\n') if server.strip() != ''] + if _servers == []: + # nothing set, let's try to get the default pypi + if 'pypi' in sections: + _servers = ['pypi'] + else: + for server in _servers: + result = {'server': server} + result['username'] = config.get(server, 'username') + + # optional params + for key, default in (('repository', self.DEFAULT_REPOSITORY), ('realm', self.DEFAULT_REALM), + ('password', None)): + if config.has_option(server, key): + result[key] = config.get(server, key) + else: + result[key] = default + + # work around people having "repository" for the "pypi" + # section of their config set to the HTTP (rather than + # HTTPS) URL + if (server == 'pypi' and repository in (self.DEFAULT_REPOSITORY, 'pypi')): + result['repository'] = self.DEFAULT_REPOSITORY + elif (result['server'] != repository and result['repository'] != repository): + result = {} + elif 'server-login' in sections: + # old format + server = 'server-login' + if config.has_option(server, 'repository'): + repository = config.get(server, 'repository') + else: + repository = self.DEFAULT_REPOSITORY + result = { + 'username': config.get(server, 'username'), + 'password': config.get(server, 'password'), + 'repository': repository, + 'server': server, + 'realm': self.DEFAULT_REALM + } + return result + + def update(self, username, password): + # import pdb; pdb.set_trace() + config = configparser.RawConfigParser() + fn = self.filename + config.read(fn) + if not config.has_section('pypi'): + config.add_section('pypi') + config.set('pypi', 'username', username) + config.set('pypi', 'password', password) + with open(fn, 'w') as f: + config.write(f) + + +def _load_pypirc(index): + """ + Read the PyPI access configuration as supported by distutils. + """ + return PyPIRCFile(url=index.url).read() + + +def _store_pypirc(index): + PyPIRCFile().update(index.username, index.password) + + +# +# get_platform()/get_host_platform() copied from Python 3.10.a0 source, with some minor +# tweaks +# + + +def get_host_platform(): + """Return a string that identifies the current platform. This is used mainly to + distinguish platform-specific build directories and platform-specific built + distributions. Typically includes the OS name and version and the + architecture (as supplied by 'os.uname()'), although the exact information + included depends on the OS; eg. on Linux, the kernel version isn't + particularly important. + + Examples of returned values: + linux-i586 + linux-alpha (?) + solaris-2.6-sun4u + + Windows will return one of: + win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc) + win32 (all others - specifically, sys.platform is returned) + + For other non-POSIX platforms, currently just returns 'sys.platform'. + + """ + if os.name == 'nt': + if 'amd64' in sys.version.lower(): + return 'win-amd64' + if '(arm)' in sys.version.lower(): + return 'win-arm32' + if '(arm64)' in sys.version.lower(): + return 'win-arm64' + return sys.platform + + # Set for cross builds explicitly + if "_PYTHON_HOST_PLATFORM" in os.environ: + return os.environ["_PYTHON_HOST_PLATFORM"] + + if os.name != 'posix' or not hasattr(os, 'uname'): + # XXX what about the architecture? NT is Intel or Alpha, + # Mac OS is M68k or PPC, etc. + return sys.platform + + # Try to distinguish various flavours of Unix + + (osname, host, release, version, machine) = os.uname() + + # Convert the OS name to lowercase, remove '/' characters, and translate + # spaces (for "Power Macintosh") + osname = osname.lower().replace('/', '') + machine = machine.replace(' ', '_').replace('/', '-') + + if osname[:5] == 'linux': + # At least on Linux/Intel, 'machine' is the processor -- + # i386, etc. + # XXX what about Alpha, SPARC, etc? + return "%s-%s" % (osname, machine) + + elif osname[:5] == 'sunos': + if release[0] >= '5': # SunOS 5 == Solaris 2 + osname = 'solaris' + release = '%d.%s' % (int(release[0]) - 3, release[2:]) + # We can't use 'platform.architecture()[0]' because a + # bootstrap problem. We use a dict to get an error + # if some suspicious happens. + bitness = {2147483647: '32bit', 9223372036854775807: '64bit'} + machine += '.%s' % bitness[sys.maxsize] + # fall through to standard osname-release-machine representation + elif osname[:3] == 'aix': + from _aix_support import aix_platform + return aix_platform() + elif osname[:6] == 'cygwin': + osname = 'cygwin' + rel_re = re.compile(r'[\d.]+', re.ASCII) + m = rel_re.match(release) + if m: + release = m.group() + elif osname[:6] == 'darwin': + import _osx_support + try: + from distutils import sysconfig + except ImportError: + import sysconfig + osname, release, machine = _osx_support.get_platform_osx(sysconfig.get_config_vars(), osname, release, machine) + + return '%s-%s-%s' % (osname, release, machine) + + +_TARGET_TO_PLAT = { + 'x86': 'win32', + 'x64': 'win-amd64', + 'arm': 'win-arm32', +} + + +def get_platform(): + if os.name != 'nt': + return get_host_platform() + cross_compilation_target = os.environ.get('VSCMD_ARG_TGT_ARCH') + if cross_compilation_target not in _TARGET_TO_PLAT: + return get_host_platform() + return _TARGET_TO_PLAT[cross_compilation_target] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w32.exe b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w32.exe new file mode 100644 index 0000000000000000000000000000000000000000..4ee2d3a31b59e8b50f433ecdf0be9e496e8cc3b8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w32.exe differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w64-arm.exe b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w64-arm.exe new file mode 100644 index 0000000000000000000000000000000000000000..bc02472528a32bd70ebfa2b0eca26e34a83fa264 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w64-arm.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5dc9884a8f458371550e09bd396e5418bf375820a31b9899f6499bf391c7b2e +size 168448 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w64.exe b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w64.exe new file mode 100644 index 0000000000000000000000000000000000000000..daebd1c30353b2d9b016069da83ad5b4c8ee86bd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/w64.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a319ffaba23a017d7b1e18ba726ba6c54c53d6446db55f92af53c279894f8ad +size 101888 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..7686fe85a7cc94188da76bfb1c10ad2a10821256 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__init__.py @@ -0,0 +1,54 @@ +from .distro import ( + NORMALIZED_DISTRO_ID, + NORMALIZED_LSB_ID, + NORMALIZED_OS_ID, + LinuxDistribution, + __version__, + build_number, + codename, + distro_release_attr, + distro_release_info, + id, + info, + like, + linux_distribution, + lsb_release_attr, + lsb_release_info, + major_version, + minor_version, + name, + os_release_attr, + os_release_info, + uname_attr, + uname_info, + version, + version_parts, +) + +__all__ = [ + "NORMALIZED_DISTRO_ID", + "NORMALIZED_LSB_ID", + "NORMALIZED_OS_ID", + "LinuxDistribution", + "build_number", + "codename", + "distro_release_attr", + "distro_release_info", + "id", + "info", + "like", + "linux_distribution", + "lsb_release_attr", + "lsb_release_info", + "major_version", + "minor_version", + "name", + "os_release_attr", + "os_release_info", + "uname_attr", + "uname_info", + "version", + "version_parts", +] + +__version__ = __version__ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__main__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__main__.py new file mode 100644 index 0000000000000000000000000000000000000000..0c01d5b08b6b44379b931d54d7fcf5221fdc9fde --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__main__.py @@ -0,0 +1,4 @@ +from .distro import main + +if __name__ == "__main__": + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..acc18d8cc8d5fa3332c37cbf64bb178ac38f03cb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8855b92772a9a8997cafcaae30e9482850ffe354 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..055df3df7165f8ea92f9bae1a0588d6adcae2845 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/distro.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/distro.py new file mode 100644 index 0000000000000000000000000000000000000000..78ccdfa402ac29a8ef8aaddf7b527a0efb568d43 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/distro.py @@ -0,0 +1,1403 @@ +#!/usr/bin/env python +# Copyright 2015-2021 Nir Cohen +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +""" +The ``distro`` package (``distro`` stands for Linux Distribution) provides +information about the Linux distribution it runs on, such as a reliable +machine-readable distro ID, or version information. + +It is the recommended replacement for Python's original +:py:func:`platform.linux_distribution` function, but it provides much more +functionality. An alternative implementation became necessary because Python +3.5 deprecated this function, and Python 3.8 removed it altogether. Its +predecessor function :py:func:`platform.dist` was already deprecated since +Python 2.6 and removed in Python 3.8. Still, there are many cases in which +access to OS distribution information is needed. See `Python issue 1322 +`_ for more information. +""" + +import argparse +import json +import logging +import os +import re +import shlex +import subprocess +import sys +import warnings +from typing import ( + Any, + Callable, + Dict, + Iterable, + Optional, + Sequence, + TextIO, + Tuple, + Type, +) + +try: + from typing import TypedDict +except ImportError: + # Python 3.7 + TypedDict = dict + +__version__ = "1.9.0" + + +class VersionDict(TypedDict): + major: str + minor: str + build_number: str + + +class InfoDict(TypedDict): + id: str + version: str + version_parts: VersionDict + like: str + codename: str + + +_UNIXCONFDIR = os.environ.get("UNIXCONFDIR", "/etc") +_UNIXUSRLIBDIR = os.environ.get("UNIXUSRLIBDIR", "/usr/lib") +_OS_RELEASE_BASENAME = "os-release" + +#: Translation table for normalizing the "ID" attribute defined in os-release +#: files, for use by the :func:`distro.id` method. +#: +#: * Key: Value as defined in the os-release file, translated to lower case, +#: with blanks translated to underscores. +#: +#: * Value: Normalized value. +NORMALIZED_OS_ID = { + "ol": "oracle", # Oracle Linux + "opensuse-leap": "opensuse", # Newer versions of OpenSuSE report as opensuse-leap +} + +#: Translation table for normalizing the "Distributor ID" attribute returned by +#: the lsb_release command, for use by the :func:`distro.id` method. +#: +#: * Key: Value as returned by the lsb_release command, translated to lower +#: case, with blanks translated to underscores. +#: +#: * Value: Normalized value. +NORMALIZED_LSB_ID = { + "enterpriseenterpriseas": "oracle", # Oracle Enterprise Linux 4 + "enterpriseenterpriseserver": "oracle", # Oracle Linux 5 + "redhatenterpriseworkstation": "rhel", # RHEL 6, 7 Workstation + "redhatenterpriseserver": "rhel", # RHEL 6, 7 Server + "redhatenterprisecomputenode": "rhel", # RHEL 6 ComputeNode +} + +#: Translation table for normalizing the distro ID derived from the file name +#: of distro release files, for use by the :func:`distro.id` method. +#: +#: * Key: Value as derived from the file name of a distro release file, +#: translated to lower case, with blanks translated to underscores. +#: +#: * Value: Normalized value. +NORMALIZED_DISTRO_ID = { + "redhat": "rhel", # RHEL 6.x, 7.x +} + +# Pattern for content of distro release file (reversed) +_DISTRO_RELEASE_CONTENT_REVERSED_PATTERN = re.compile( + r"(?:[^)]*\)(.*)\()? *(?:STL )?([\d.+\-a-z]*\d) *(?:esaeler *)?(.+)" +) + +# Pattern for base file name of distro release file +_DISTRO_RELEASE_BASENAME_PATTERN = re.compile(r"(\w+)[-_](release|version)$") + +# Base file names to be looked up for if _UNIXCONFDIR is not readable. +_DISTRO_RELEASE_BASENAMES = [ + "SuSE-release", + "altlinux-release", + "arch-release", + "base-release", + "centos-release", + "fedora-release", + "gentoo-release", + "mageia-release", + "mandrake-release", + "mandriva-release", + "mandrivalinux-release", + "manjaro-release", + "oracle-release", + "redhat-release", + "rocky-release", + "sl-release", + "slackware-version", +] + +# Base file names to be ignored when searching for distro release file +_DISTRO_RELEASE_IGNORE_BASENAMES = ( + "debian_version", + "lsb-release", + "oem-release", + _OS_RELEASE_BASENAME, + "system-release", + "plesk-release", + "iredmail-release", + "board-release", + "ec2_version", +) + + +def linux_distribution(full_distribution_name: bool = True) -> Tuple[str, str, str]: + """ + .. deprecated:: 1.6.0 + + :func:`distro.linux_distribution()` is deprecated. It should only be + used as a compatibility shim with Python's + :py:func:`platform.linux_distribution()`. Please use :func:`distro.id`, + :func:`distro.version` and :func:`distro.name` instead. + + Return information about the current OS distribution as a tuple + ``(id_name, version, codename)`` with items as follows: + + * ``id_name``: If *full_distribution_name* is false, the result of + :func:`distro.id`. Otherwise, the result of :func:`distro.name`. + + * ``version``: The result of :func:`distro.version`. + + * ``codename``: The extra item (usually in parentheses) after the + os-release version number, or the result of :func:`distro.codename`. + + The interface of this function is compatible with the original + :py:func:`platform.linux_distribution` function, supporting a subset of + its parameters. + + The data it returns may not exactly be the same, because it uses more data + sources than the original function, and that may lead to different data if + the OS distribution is not consistent across multiple data sources it + provides (there are indeed such distributions ...). + + Another reason for differences is the fact that the :func:`distro.id` + method normalizes the distro ID string to a reliable machine-readable value + for a number of popular OS distributions. + """ + warnings.warn( + "distro.linux_distribution() is deprecated. It should only be used as a " + "compatibility shim with Python's platform.linux_distribution(). Please use " + "distro.id(), distro.version() and distro.name() instead.", + DeprecationWarning, + stacklevel=2, + ) + return _distro.linux_distribution(full_distribution_name) + + +def id() -> str: + """ + Return the distro ID of the current distribution, as a + machine-readable string. + + For a number of OS distributions, the returned distro ID value is + *reliable*, in the sense that it is documented and that it does not change + across releases of the distribution. + + This package maintains the following reliable distro ID values: + + ============== ========================================= + Distro ID Distribution + ============== ========================================= + "ubuntu" Ubuntu + "debian" Debian + "rhel" RedHat Enterprise Linux + "centos" CentOS + "fedora" Fedora + "sles" SUSE Linux Enterprise Server + "opensuse" openSUSE + "amzn" Amazon Linux + "arch" Arch Linux + "buildroot" Buildroot + "cloudlinux" CloudLinux OS + "exherbo" Exherbo Linux + "gentoo" GenToo Linux + "ibm_powerkvm" IBM PowerKVM + "kvmibm" KVM for IBM z Systems + "linuxmint" Linux Mint + "mageia" Mageia + "mandriva" Mandriva Linux + "parallels" Parallels + "pidora" Pidora + "raspbian" Raspbian + "oracle" Oracle Linux (and Oracle Enterprise Linux) + "scientific" Scientific Linux + "slackware" Slackware + "xenserver" XenServer + "openbsd" OpenBSD + "netbsd" NetBSD + "freebsd" FreeBSD + "midnightbsd" MidnightBSD + "rocky" Rocky Linux + "aix" AIX + "guix" Guix System + "altlinux" ALT Linux + ============== ========================================= + + If you have a need to get distros for reliable IDs added into this set, + or if you find that the :func:`distro.id` function returns a different + distro ID for one of the listed distros, please create an issue in the + `distro issue tracker`_. + + **Lookup hierarchy and transformations:** + + First, the ID is obtained from the following sources, in the specified + order. The first available and non-empty value is used: + + * the value of the "ID" attribute of the os-release file, + + * the value of the "Distributor ID" attribute returned by the lsb_release + command, + + * the first part of the file name of the distro release file, + + The so determined ID value then passes the following transformations, + before it is returned by this method: + + * it is translated to lower case, + + * blanks (which should not be there anyway) are translated to underscores, + + * a normalization of the ID is performed, based upon + `normalization tables`_. The purpose of this normalization is to ensure + that the ID is as reliable as possible, even across incompatible changes + in the OS distributions. A common reason for an incompatible change is + the addition of an os-release file, or the addition of the lsb_release + command, with ID values that differ from what was previously determined + from the distro release file name. + """ + return _distro.id() + + +def name(pretty: bool = False) -> str: + """ + Return the name of the current OS distribution, as a human-readable + string. + + If *pretty* is false, the name is returned without version or codename. + (e.g. "CentOS Linux") + + If *pretty* is true, the version and codename are appended. + (e.g. "CentOS Linux 7.1.1503 (Core)") + + **Lookup hierarchy:** + + The name is obtained from the following sources, in the specified order. + The first available and non-empty value is used: + + * If *pretty* is false: + + - the value of the "NAME" attribute of the os-release file, + + - the value of the "Distributor ID" attribute returned by the lsb_release + command, + + - the value of the "" field of the distro release file. + + * If *pretty* is true: + + - the value of the "PRETTY_NAME" attribute of the os-release file, + + - the value of the "Description" attribute returned by the lsb_release + command, + + - the value of the "" field of the distro release file, appended + with the value of the pretty version ("" and "" + fields) of the distro release file, if available. + """ + return _distro.name(pretty) + + +def version(pretty: bool = False, best: bool = False) -> str: + """ + Return the version of the current OS distribution, as a human-readable + string. + + If *pretty* is false, the version is returned without codename (e.g. + "7.0"). + + If *pretty* is true, the codename in parenthesis is appended, if the + codename is non-empty (e.g. "7.0 (Maipo)"). + + Some distributions provide version numbers with different precisions in + the different sources of distribution information. Examining the different + sources in a fixed priority order does not always yield the most precise + version (e.g. for Debian 8.2, or CentOS 7.1). + + Some other distributions may not provide this kind of information. In these + cases, an empty string would be returned. This behavior can be observed + with rolling releases distributions (e.g. Arch Linux). + + The *best* parameter can be used to control the approach for the returned + version: + + If *best* is false, the first non-empty version number in priority order of + the examined sources is returned. + + If *best* is true, the most precise version number out of all examined + sources is returned. + + **Lookup hierarchy:** + + In all cases, the version number is obtained from the following sources. + If *best* is false, this order represents the priority order: + + * the value of the "VERSION_ID" attribute of the os-release file, + * the value of the "Release" attribute returned by the lsb_release + command, + * the version number parsed from the "" field of the first line + of the distro release file, + * the version number parsed from the "PRETTY_NAME" attribute of the + os-release file, if it follows the format of the distro release files. + * the version number parsed from the "Description" attribute returned by + the lsb_release command, if it follows the format of the distro release + files. + """ + return _distro.version(pretty, best) + + +def version_parts(best: bool = False) -> Tuple[str, str, str]: + """ + Return the version of the current OS distribution as a tuple + ``(major, minor, build_number)`` with items as follows: + + * ``major``: The result of :func:`distro.major_version`. + + * ``minor``: The result of :func:`distro.minor_version`. + + * ``build_number``: The result of :func:`distro.build_number`. + + For a description of the *best* parameter, see the :func:`distro.version` + method. + """ + return _distro.version_parts(best) + + +def major_version(best: bool = False) -> str: + """ + Return the major version of the current OS distribution, as a string, + if provided. + Otherwise, the empty string is returned. The major version is the first + part of the dot-separated version string. + + For a description of the *best* parameter, see the :func:`distro.version` + method. + """ + return _distro.major_version(best) + + +def minor_version(best: bool = False) -> str: + """ + Return the minor version of the current OS distribution, as a string, + if provided. + Otherwise, the empty string is returned. The minor version is the second + part of the dot-separated version string. + + For a description of the *best* parameter, see the :func:`distro.version` + method. + """ + return _distro.minor_version(best) + + +def build_number(best: bool = False) -> str: + """ + Return the build number of the current OS distribution, as a string, + if provided. + Otherwise, the empty string is returned. The build number is the third part + of the dot-separated version string. + + For a description of the *best* parameter, see the :func:`distro.version` + method. + """ + return _distro.build_number(best) + + +def like() -> str: + """ + Return a space-separated list of distro IDs of distributions that are + closely related to the current OS distribution in regards to packaging + and programming interfaces, for example distributions the current + distribution is a derivative from. + + **Lookup hierarchy:** + + This information item is only provided by the os-release file. + For details, see the description of the "ID_LIKE" attribute in the + `os-release man page + `_. + """ + return _distro.like() + + +def codename() -> str: + """ + Return the codename for the release of the current OS distribution, + as a string. + + If the distribution does not have a codename, an empty string is returned. + + Note that the returned codename is not always really a codename. For + example, openSUSE returns "x86_64". This function does not handle such + cases in any special way and just returns the string it finds, if any. + + **Lookup hierarchy:** + + * the codename within the "VERSION" attribute of the os-release file, if + provided, + + * the value of the "Codename" attribute returned by the lsb_release + command, + + * the value of the "" field of the distro release file. + """ + return _distro.codename() + + +def info(pretty: bool = False, best: bool = False) -> InfoDict: + """ + Return certain machine-readable information items about the current OS + distribution in a dictionary, as shown in the following example: + + .. sourcecode:: python + + { + 'id': 'rhel', + 'version': '7.0', + 'version_parts': { + 'major': '7', + 'minor': '0', + 'build_number': '' + }, + 'like': 'fedora', + 'codename': 'Maipo' + } + + The dictionary structure and keys are always the same, regardless of which + information items are available in the underlying data sources. The values + for the various keys are as follows: + + * ``id``: The result of :func:`distro.id`. + + * ``version``: The result of :func:`distro.version`. + + * ``version_parts -> major``: The result of :func:`distro.major_version`. + + * ``version_parts -> minor``: The result of :func:`distro.minor_version`. + + * ``version_parts -> build_number``: The result of + :func:`distro.build_number`. + + * ``like``: The result of :func:`distro.like`. + + * ``codename``: The result of :func:`distro.codename`. + + For a description of the *pretty* and *best* parameters, see the + :func:`distro.version` method. + """ + return _distro.info(pretty, best) + + +def os_release_info() -> Dict[str, str]: + """ + Return a dictionary containing key-value pairs for the information items + from the os-release file data source of the current OS distribution. + + See `os-release file`_ for details about these information items. + """ + return _distro.os_release_info() + + +def lsb_release_info() -> Dict[str, str]: + """ + Return a dictionary containing key-value pairs for the information items + from the lsb_release command data source of the current OS distribution. + + See `lsb_release command output`_ for details about these information + items. + """ + return _distro.lsb_release_info() + + +def distro_release_info() -> Dict[str, str]: + """ + Return a dictionary containing key-value pairs for the information items + from the distro release file data source of the current OS distribution. + + See `distro release file`_ for details about these information items. + """ + return _distro.distro_release_info() + + +def uname_info() -> Dict[str, str]: + """ + Return a dictionary containing key-value pairs for the information items + from the distro release file data source of the current OS distribution. + """ + return _distro.uname_info() + + +def os_release_attr(attribute: str) -> str: + """ + Return a single named information item from the os-release file data source + of the current OS distribution. + + Parameters: + + * ``attribute`` (string): Key of the information item. + + Returns: + + * (string): Value of the information item, if the item exists. + The empty string, if the item does not exist. + + See `os-release file`_ for details about these information items. + """ + return _distro.os_release_attr(attribute) + + +def lsb_release_attr(attribute: str) -> str: + """ + Return a single named information item from the lsb_release command output + data source of the current OS distribution. + + Parameters: + + * ``attribute`` (string): Key of the information item. + + Returns: + + * (string): Value of the information item, if the item exists. + The empty string, if the item does not exist. + + See `lsb_release command output`_ for details about these information + items. + """ + return _distro.lsb_release_attr(attribute) + + +def distro_release_attr(attribute: str) -> str: + """ + Return a single named information item from the distro release file + data source of the current OS distribution. + + Parameters: + + * ``attribute`` (string): Key of the information item. + + Returns: + + * (string): Value of the information item, if the item exists. + The empty string, if the item does not exist. + + See `distro release file`_ for details about these information items. + """ + return _distro.distro_release_attr(attribute) + + +def uname_attr(attribute: str) -> str: + """ + Return a single named information item from the distro release file + data source of the current OS distribution. + + Parameters: + + * ``attribute`` (string): Key of the information item. + + Returns: + + * (string): Value of the information item, if the item exists. + The empty string, if the item does not exist. + """ + return _distro.uname_attr(attribute) + + +try: + from functools import cached_property +except ImportError: + # Python < 3.8 + class cached_property: # type: ignore + """A version of @property which caches the value. On access, it calls the + underlying function and sets the value in `__dict__` so future accesses + will not re-call the property. + """ + + def __init__(self, f: Callable[[Any], Any]) -> None: + self._fname = f.__name__ + self._f = f + + def __get__(self, obj: Any, owner: Type[Any]) -> Any: + assert obj is not None, f"call {self._fname} on an instance" + ret = obj.__dict__[self._fname] = self._f(obj) + return ret + + +class LinuxDistribution: + """ + Provides information about a OS distribution. + + This package creates a private module-global instance of this class with + default initialization arguments, that is used by the + `consolidated accessor functions`_ and `single source accessor functions`_. + By using default initialization arguments, that module-global instance + returns data about the current OS distribution (i.e. the distro this + package runs on). + + Normally, it is not necessary to create additional instances of this class. + However, in situations where control is needed over the exact data sources + that are used, instances of this class can be created with a specific + distro release file, or a specific os-release file, or without invoking the + lsb_release command. + """ + + def __init__( + self, + include_lsb: Optional[bool] = None, + os_release_file: str = "", + distro_release_file: str = "", + include_uname: Optional[bool] = None, + root_dir: Optional[str] = None, + include_oslevel: Optional[bool] = None, + ) -> None: + """ + The initialization method of this class gathers information from the + available data sources, and stores that in private instance attributes. + Subsequent access to the information items uses these private instance + attributes, so that the data sources are read only once. + + Parameters: + + * ``include_lsb`` (bool): Controls whether the + `lsb_release command output`_ is included as a data source. + + If the lsb_release command is not available in the program execution + path, the data source for the lsb_release command will be empty. + + * ``os_release_file`` (string): The path name of the + `os-release file`_ that is to be used as a data source. + + An empty string (the default) will cause the default path name to + be used (see `os-release file`_ for details). + + If the specified or defaulted os-release file does not exist, the + data source for the os-release file will be empty. + + * ``distro_release_file`` (string): The path name of the + `distro release file`_ that is to be used as a data source. + + An empty string (the default) will cause a default search algorithm + to be used (see `distro release file`_ for details). + + If the specified distro release file does not exist, or if no default + distro release file can be found, the data source for the distro + release file will be empty. + + * ``include_uname`` (bool): Controls whether uname command output is + included as a data source. If the uname command is not available in + the program execution path the data source for the uname command will + be empty. + + * ``root_dir`` (string): The absolute path to the root directory to use + to find distro-related information files. Note that ``include_*`` + parameters must not be enabled in combination with ``root_dir``. + + * ``include_oslevel`` (bool): Controls whether (AIX) oslevel command + output is included as a data source. If the oslevel command is not + available in the program execution path the data source will be + empty. + + Public instance attributes: + + * ``os_release_file`` (string): The path name of the + `os-release file`_ that is actually used as a data source. The + empty string if no distro release file is used as a data source. + + * ``distro_release_file`` (string): The path name of the + `distro release file`_ that is actually used as a data source. The + empty string if no distro release file is used as a data source. + + * ``include_lsb`` (bool): The result of the ``include_lsb`` parameter. + This controls whether the lsb information will be loaded. + + * ``include_uname`` (bool): The result of the ``include_uname`` + parameter. This controls whether the uname information will + be loaded. + + * ``include_oslevel`` (bool): The result of the ``include_oslevel`` + parameter. This controls whether (AIX) oslevel information will be + loaded. + + * ``root_dir`` (string): The result of the ``root_dir`` parameter. + The absolute path to the root directory to use to find distro-related + information files. + + Raises: + + * :py:exc:`ValueError`: Initialization parameters combination is not + supported. + + * :py:exc:`OSError`: Some I/O issue with an os-release file or distro + release file. + + * :py:exc:`UnicodeError`: A data source has unexpected characters or + uses an unexpected encoding. + """ + self.root_dir = root_dir + self.etc_dir = os.path.join(root_dir, "etc") if root_dir else _UNIXCONFDIR + self.usr_lib_dir = ( + os.path.join(root_dir, "usr/lib") if root_dir else _UNIXUSRLIBDIR + ) + + if os_release_file: + self.os_release_file = os_release_file + else: + etc_dir_os_release_file = os.path.join(self.etc_dir, _OS_RELEASE_BASENAME) + usr_lib_os_release_file = os.path.join( + self.usr_lib_dir, _OS_RELEASE_BASENAME + ) + + # NOTE: The idea is to respect order **and** have it set + # at all times for API backwards compatibility. + if os.path.isfile(etc_dir_os_release_file) or not os.path.isfile( + usr_lib_os_release_file + ): + self.os_release_file = etc_dir_os_release_file + else: + self.os_release_file = usr_lib_os_release_file + + self.distro_release_file = distro_release_file or "" # updated later + + is_root_dir_defined = root_dir is not None + if is_root_dir_defined and (include_lsb or include_uname or include_oslevel): + raise ValueError( + "Including subprocess data sources from specific root_dir is disallowed" + " to prevent false information" + ) + self.include_lsb = ( + include_lsb if include_lsb is not None else not is_root_dir_defined + ) + self.include_uname = ( + include_uname if include_uname is not None else not is_root_dir_defined + ) + self.include_oslevel = ( + include_oslevel if include_oslevel is not None else not is_root_dir_defined + ) + + def __repr__(self) -> str: + """Return repr of all info""" + return ( + "LinuxDistribution(" + "os_release_file={self.os_release_file!r}, " + "distro_release_file={self.distro_release_file!r}, " + "include_lsb={self.include_lsb!r}, " + "include_uname={self.include_uname!r}, " + "include_oslevel={self.include_oslevel!r}, " + "root_dir={self.root_dir!r}, " + "_os_release_info={self._os_release_info!r}, " + "_lsb_release_info={self._lsb_release_info!r}, " + "_distro_release_info={self._distro_release_info!r}, " + "_uname_info={self._uname_info!r}, " + "_oslevel_info={self._oslevel_info!r})".format(self=self) + ) + + def linux_distribution( + self, full_distribution_name: bool = True + ) -> Tuple[str, str, str]: + """ + Return information about the OS distribution that is compatible + with Python's :func:`platform.linux_distribution`, supporting a subset + of its parameters. + + For details, see :func:`distro.linux_distribution`. + """ + return ( + self.name() if full_distribution_name else self.id(), + self.version(), + self._os_release_info.get("release_codename") or self.codename(), + ) + + def id(self) -> str: + """Return the distro ID of the OS distribution, as a string. + + For details, see :func:`distro.id`. + """ + + def normalize(distro_id: str, table: Dict[str, str]) -> str: + distro_id = distro_id.lower().replace(" ", "_") + return table.get(distro_id, distro_id) + + distro_id = self.os_release_attr("id") + if distro_id: + return normalize(distro_id, NORMALIZED_OS_ID) + + distro_id = self.lsb_release_attr("distributor_id") + if distro_id: + return normalize(distro_id, NORMALIZED_LSB_ID) + + distro_id = self.distro_release_attr("id") + if distro_id: + return normalize(distro_id, NORMALIZED_DISTRO_ID) + + distro_id = self.uname_attr("id") + if distro_id: + return normalize(distro_id, NORMALIZED_DISTRO_ID) + + return "" + + def name(self, pretty: bool = False) -> str: + """ + Return the name of the OS distribution, as a string. + + For details, see :func:`distro.name`. + """ + name = ( + self.os_release_attr("name") + or self.lsb_release_attr("distributor_id") + or self.distro_release_attr("name") + or self.uname_attr("name") + ) + if pretty: + name = self.os_release_attr("pretty_name") or self.lsb_release_attr( + "description" + ) + if not name: + name = self.distro_release_attr("name") or self.uname_attr("name") + version = self.version(pretty=True) + if version: + name = f"{name} {version}" + return name or "" + + def version(self, pretty: bool = False, best: bool = False) -> str: + """ + Return the version of the OS distribution, as a string. + + For details, see :func:`distro.version`. + """ + versions = [ + self.os_release_attr("version_id"), + self.lsb_release_attr("release"), + self.distro_release_attr("version_id"), + self._parse_distro_release_content(self.os_release_attr("pretty_name")).get( + "version_id", "" + ), + self._parse_distro_release_content( + self.lsb_release_attr("description") + ).get("version_id", ""), + self.uname_attr("release"), + ] + if self.uname_attr("id").startswith("aix"): + # On AIX platforms, prefer oslevel command output. + versions.insert(0, self.oslevel_info()) + elif self.id() == "debian" or "debian" in self.like().split(): + # On Debian-like, add debian_version file content to candidates list. + versions.append(self._debian_version) + version = "" + if best: + # This algorithm uses the last version in priority order that has + # the best precision. If the versions are not in conflict, that + # does not matter; otherwise, using the last one instead of the + # first one might be considered a surprise. + for v in versions: + if v.count(".") > version.count(".") or version == "": + version = v + else: + for v in versions: + if v != "": + version = v + break + if pretty and version and self.codename(): + version = f"{version} ({self.codename()})" + return version + + def version_parts(self, best: bool = False) -> Tuple[str, str, str]: + """ + Return the version of the OS distribution, as a tuple of version + numbers. + + For details, see :func:`distro.version_parts`. + """ + version_str = self.version(best=best) + if version_str: + version_regex = re.compile(r"(\d+)\.?(\d+)?\.?(\d+)?") + matches = version_regex.match(version_str) + if matches: + major, minor, build_number = matches.groups() + return major, minor or "", build_number or "" + return "", "", "" + + def major_version(self, best: bool = False) -> str: + """ + Return the major version number of the current distribution. + + For details, see :func:`distro.major_version`. + """ + return self.version_parts(best)[0] + + def minor_version(self, best: bool = False) -> str: + """ + Return the minor version number of the current distribution. + + For details, see :func:`distro.minor_version`. + """ + return self.version_parts(best)[1] + + def build_number(self, best: bool = False) -> str: + """ + Return the build number of the current distribution. + + For details, see :func:`distro.build_number`. + """ + return self.version_parts(best)[2] + + def like(self) -> str: + """ + Return the IDs of distributions that are like the OS distribution. + + For details, see :func:`distro.like`. + """ + return self.os_release_attr("id_like") or "" + + def codename(self) -> str: + """ + Return the codename of the OS distribution. + + For details, see :func:`distro.codename`. + """ + try: + # Handle os_release specially since distros might purposefully set + # this to empty string to have no codename + return self._os_release_info["codename"] + except KeyError: + return ( + self.lsb_release_attr("codename") + or self.distro_release_attr("codename") + or "" + ) + + def info(self, pretty: bool = False, best: bool = False) -> InfoDict: + """ + Return certain machine-readable information about the OS + distribution. + + For details, see :func:`distro.info`. + """ + return InfoDict( + id=self.id(), + version=self.version(pretty, best), + version_parts=VersionDict( + major=self.major_version(best), + minor=self.minor_version(best), + build_number=self.build_number(best), + ), + like=self.like(), + codename=self.codename(), + ) + + def os_release_info(self) -> Dict[str, str]: + """ + Return a dictionary containing key-value pairs for the information + items from the os-release file data source of the OS distribution. + + For details, see :func:`distro.os_release_info`. + """ + return self._os_release_info + + def lsb_release_info(self) -> Dict[str, str]: + """ + Return a dictionary containing key-value pairs for the information + items from the lsb_release command data source of the OS + distribution. + + For details, see :func:`distro.lsb_release_info`. + """ + return self._lsb_release_info + + def distro_release_info(self) -> Dict[str, str]: + """ + Return a dictionary containing key-value pairs for the information + items from the distro release file data source of the OS + distribution. + + For details, see :func:`distro.distro_release_info`. + """ + return self._distro_release_info + + def uname_info(self) -> Dict[str, str]: + """ + Return a dictionary containing key-value pairs for the information + items from the uname command data source of the OS distribution. + + For details, see :func:`distro.uname_info`. + """ + return self._uname_info + + def oslevel_info(self) -> str: + """ + Return AIX' oslevel command output. + """ + return self._oslevel_info + + def os_release_attr(self, attribute: str) -> str: + """ + Return a single named information item from the os-release file data + source of the OS distribution. + + For details, see :func:`distro.os_release_attr`. + """ + return self._os_release_info.get(attribute, "") + + def lsb_release_attr(self, attribute: str) -> str: + """ + Return a single named information item from the lsb_release command + output data source of the OS distribution. + + For details, see :func:`distro.lsb_release_attr`. + """ + return self._lsb_release_info.get(attribute, "") + + def distro_release_attr(self, attribute: str) -> str: + """ + Return a single named information item from the distro release file + data source of the OS distribution. + + For details, see :func:`distro.distro_release_attr`. + """ + return self._distro_release_info.get(attribute, "") + + def uname_attr(self, attribute: str) -> str: + """ + Return a single named information item from the uname command + output data source of the OS distribution. + + For details, see :func:`distro.uname_attr`. + """ + return self._uname_info.get(attribute, "") + + @cached_property + def _os_release_info(self) -> Dict[str, str]: + """ + Get the information items from the specified os-release file. + + Returns: + A dictionary containing all information items. + """ + if os.path.isfile(self.os_release_file): + with open(self.os_release_file, encoding="utf-8") as release_file: + return self._parse_os_release_content(release_file) + return {} + + @staticmethod + def _parse_os_release_content(lines: TextIO) -> Dict[str, str]: + """ + Parse the lines of an os-release file. + + Parameters: + + * lines: Iterable through the lines in the os-release file. + Each line must be a unicode string or a UTF-8 encoded byte + string. + + Returns: + A dictionary containing all information items. + """ + props = {} + lexer = shlex.shlex(lines, posix=True) + lexer.whitespace_split = True + + tokens = list(lexer) + for token in tokens: + # At this point, all shell-like parsing has been done (i.e. + # comments processed, quotes and backslash escape sequences + # processed, multi-line values assembled, trailing newlines + # stripped, etc.), so the tokens are now either: + # * variable assignments: var=value + # * commands or their arguments (not allowed in os-release) + # Ignore any tokens that are not variable assignments + if "=" in token: + k, v = token.split("=", 1) + props[k.lower()] = v + + if "version" in props: + # extract release codename (if any) from version attribute + match = re.search(r"\((\D+)\)|,\s*(\D+)", props["version"]) + if match: + release_codename = match.group(1) or match.group(2) + props["codename"] = props["release_codename"] = release_codename + + if "version_codename" in props: + # os-release added a version_codename field. Use that in + # preference to anything else Note that some distros purposefully + # do not have code names. They should be setting + # version_codename="" + props["codename"] = props["version_codename"] + elif "ubuntu_codename" in props: + # Same as above but a non-standard field name used on older Ubuntus + props["codename"] = props["ubuntu_codename"] + + return props + + @cached_property + def _lsb_release_info(self) -> Dict[str, str]: + """ + Get the information items from the lsb_release command output. + + Returns: + A dictionary containing all information items. + """ + if not self.include_lsb: + return {} + try: + cmd = ("lsb_release", "-a") + stdout = subprocess.check_output(cmd, stderr=subprocess.DEVNULL) + # Command not found or lsb_release returned error + except (OSError, subprocess.CalledProcessError): + return {} + content = self._to_str(stdout).splitlines() + return self._parse_lsb_release_content(content) + + @staticmethod + def _parse_lsb_release_content(lines: Iterable[str]) -> Dict[str, str]: + """ + Parse the output of the lsb_release command. + + Parameters: + + * lines: Iterable through the lines of the lsb_release output. + Each line must be a unicode string or a UTF-8 encoded byte + string. + + Returns: + A dictionary containing all information items. + """ + props = {} + for line in lines: + kv = line.strip("\n").split(":", 1) + if len(kv) != 2: + # Ignore lines without colon. + continue + k, v = kv + props.update({k.replace(" ", "_").lower(): v.strip()}) + return props + + @cached_property + def _uname_info(self) -> Dict[str, str]: + if not self.include_uname: + return {} + try: + cmd = ("uname", "-rs") + stdout = subprocess.check_output(cmd, stderr=subprocess.DEVNULL) + except OSError: + return {} + content = self._to_str(stdout).splitlines() + return self._parse_uname_content(content) + + @cached_property + def _oslevel_info(self) -> str: + if not self.include_oslevel: + return "" + try: + stdout = subprocess.check_output("oslevel", stderr=subprocess.DEVNULL) + except (OSError, subprocess.CalledProcessError): + return "" + return self._to_str(stdout).strip() + + @cached_property + def _debian_version(self) -> str: + try: + with open( + os.path.join(self.etc_dir, "debian_version"), encoding="ascii" + ) as fp: + return fp.readline().rstrip() + except FileNotFoundError: + return "" + + @staticmethod + def _parse_uname_content(lines: Sequence[str]) -> Dict[str, str]: + if not lines: + return {} + props = {} + match = re.search(r"^([^\s]+)\s+([\d\.]+)", lines[0].strip()) + if match: + name, version = match.groups() + + # This is to prevent the Linux kernel version from + # appearing as the 'best' version on otherwise + # identifiable distributions. + if name == "Linux": + return {} + props["id"] = name.lower() + props["name"] = name + props["release"] = version + return props + + @staticmethod + def _to_str(bytestring: bytes) -> str: + encoding = sys.getfilesystemencoding() + return bytestring.decode(encoding) + + @cached_property + def _distro_release_info(self) -> Dict[str, str]: + """ + Get the information items from the specified distro release file. + + Returns: + A dictionary containing all information items. + """ + if self.distro_release_file: + # If it was specified, we use it and parse what we can, even if + # its file name or content does not match the expected pattern. + distro_info = self._parse_distro_release_file(self.distro_release_file) + basename = os.path.basename(self.distro_release_file) + # The file name pattern for user-specified distro release files + # is somewhat more tolerant (compared to when searching for the + # file), because we want to use what was specified as best as + # possible. + match = _DISTRO_RELEASE_BASENAME_PATTERN.match(basename) + else: + try: + basenames = [ + basename + for basename in os.listdir(self.etc_dir) + if basename not in _DISTRO_RELEASE_IGNORE_BASENAMES + and os.path.isfile(os.path.join(self.etc_dir, basename)) + ] + # We sort for repeatability in cases where there are multiple + # distro specific files; e.g. CentOS, Oracle, Enterprise all + # containing `redhat-release` on top of their own. + basenames.sort() + except OSError: + # This may occur when /etc is not readable but we can't be + # sure about the *-release files. Check common entries of + # /etc for information. If they turn out to not be there the + # error is handled in `_parse_distro_release_file()`. + basenames = _DISTRO_RELEASE_BASENAMES + for basename in basenames: + match = _DISTRO_RELEASE_BASENAME_PATTERN.match(basename) + if match is None: + continue + filepath = os.path.join(self.etc_dir, basename) + distro_info = self._parse_distro_release_file(filepath) + # The name is always present if the pattern matches. + if "name" not in distro_info: + continue + self.distro_release_file = filepath + break + else: # the loop didn't "break": no candidate. + return {} + + if match is not None: + distro_info["id"] = match.group(1) + + # CloudLinux < 7: manually enrich info with proper id. + if "cloudlinux" in distro_info.get("name", "").lower(): + distro_info["id"] = "cloudlinux" + + return distro_info + + def _parse_distro_release_file(self, filepath: str) -> Dict[str, str]: + """ + Parse a distro release file. + + Parameters: + + * filepath: Path name of the distro release file. + + Returns: + A dictionary containing all information items. + """ + try: + with open(filepath, encoding="utf-8") as fp: + # Only parse the first line. For instance, on SLES there + # are multiple lines. We don't want them... + return self._parse_distro_release_content(fp.readline()) + except OSError: + # Ignore not being able to read a specific, seemingly version + # related file. + # See https://github.com/python-distro/distro/issues/162 + return {} + + @staticmethod + def _parse_distro_release_content(line: str) -> Dict[str, str]: + """ + Parse a line from a distro release file. + + Parameters: + * line: Line from the distro release file. Must be a unicode string + or a UTF-8 encoded byte string. + + Returns: + A dictionary containing all information items. + """ + matches = _DISTRO_RELEASE_CONTENT_REVERSED_PATTERN.match(line.strip()[::-1]) + distro_info = {} + if matches: + # regexp ensures non-None + distro_info["name"] = matches.group(3)[::-1] + if matches.group(2): + distro_info["version_id"] = matches.group(2)[::-1] + if matches.group(1): + distro_info["codename"] = matches.group(1)[::-1] + elif line: + distro_info["name"] = line.strip() + return distro_info + + +_distro = LinuxDistribution() + + +def main() -> None: + logger = logging.getLogger(__name__) + logger.setLevel(logging.DEBUG) + logger.addHandler(logging.StreamHandler(sys.stdout)) + + parser = argparse.ArgumentParser(description="OS distro info tool") + parser.add_argument( + "--json", "-j", help="Output in machine readable format", action="store_true" + ) + + parser.add_argument( + "--root-dir", + "-r", + type=str, + dest="root_dir", + help="Path to the root filesystem directory (defaults to /)", + ) + + args = parser.parse_args() + + if args.root_dir: + dist = LinuxDistribution( + include_lsb=False, + include_uname=False, + include_oslevel=False, + root_dir=args.root_dir, + ) + else: + dist = _distro + + if args.json: + logger.info(json.dumps(dist.info(), indent=4, sort_keys=True)) + else: + logger.info("Name: %s", dist.name(pretty=True)) + distribution_version = dist.version(pretty=True) + logger.info("Version: %s", distribution_version) + distribution_codename = dist.codename() + logger.info("Codename: %s", distribution_codename) + + +if __name__ == "__main__": + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/distro/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..cfdc030a751b089fc7e38fc88093b791605d501d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py @@ -0,0 +1,45 @@ +from .core import ( + IDNABidiError, + IDNAError, + InvalidCodepoint, + InvalidCodepointContext, + alabel, + check_bidi, + check_hyphen_ok, + check_initial_combiner, + check_label, + check_nfc, + decode, + encode, + ulabel, + uts46_remap, + valid_contextj, + valid_contexto, + valid_label_length, + valid_string_length, +) +from .intranges import intranges_contain +from .package_data import __version__ + +__all__ = [ + "__version__", + "IDNABidiError", + "IDNAError", + "InvalidCodepoint", + "InvalidCodepointContext", + "alabel", + "check_bidi", + "check_hyphen_ok", + "check_initial_combiner", + "check_label", + "check_nfc", + "decode", + "encode", + "intranges_contain", + "ulabel", + "uts46_remap", + "valid_contextj", + "valid_contexto", + "valid_label_length", + "valid_string_length", +] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b3a508e4c1fa18d41b4e3a8638874d8aedc51d8a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c67c3e5148e31024cea96e902bfb7744cbba4220 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dcd7b3e532af8325a64d3dc8fd698aaaead45ef5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0e37f3f50a83549bb49e176c8877c76f22bc6f14 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..99a587bc67d85c2ea325d874cc5708a3e729aaa5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cfdfaf91b5b61d90f8f4e889265c0cff6f1283ff Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0090c1cc5d708605029bf7d7084fa7ac032ee72f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..138f5004d507d00fe6966107c1ba4637dc71b4dc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14577fbd616ffd7242256e57e0208d44510ecc3e7a52ca3c57944104bdbb5b73 +size 158853 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/codec.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/codec.py new file mode 100644 index 0000000000000000000000000000000000000000..913abfd6a23ce547f84de2adc41221012f1007d6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/codec.py @@ -0,0 +1,122 @@ +import codecs +import re +from typing import Any, Optional, Tuple + +from .core import IDNAError, alabel, decode, encode, ulabel + +_unicode_dots_re = re.compile("[\u002e\u3002\uff0e\uff61]") + + +class Codec(codecs.Codec): + def encode(self, data: str, errors: str = "strict") -> Tuple[bytes, int]: + if errors != "strict": + raise IDNAError('Unsupported error handling "{}"'.format(errors)) + + if not data: + return b"", 0 + + return encode(data), len(data) + + def decode(self, data: bytes, errors: str = "strict") -> Tuple[str, int]: + if errors != "strict": + raise IDNAError('Unsupported error handling "{}"'.format(errors)) + + if not data: + return "", 0 + + return decode(data), len(data) + + +class IncrementalEncoder(codecs.BufferedIncrementalEncoder): + def _buffer_encode(self, data: str, errors: str, final: bool) -> Tuple[bytes, int]: + if errors != "strict": + raise IDNAError('Unsupported error handling "{}"'.format(errors)) + + if not data: + return b"", 0 + + labels = _unicode_dots_re.split(data) + trailing_dot = b"" + if labels: + if not labels[-1]: + trailing_dot = b"." + del labels[-1] + elif not final: + # Keep potentially unfinished label until the next call + del labels[-1] + if labels: + trailing_dot = b"." + + result = [] + size = 0 + for label in labels: + result.append(alabel(label)) + if size: + size += 1 + size += len(label) + + # Join with U+002E + result_bytes = b".".join(result) + trailing_dot + size += len(trailing_dot) + return result_bytes, size + + +class IncrementalDecoder(codecs.BufferedIncrementalDecoder): + def _buffer_decode(self, data: Any, errors: str, final: bool) -> Tuple[str, int]: + if errors != "strict": + raise IDNAError('Unsupported error handling "{}"'.format(errors)) + + if not data: + return ("", 0) + + if not isinstance(data, str): + data = str(data, "ascii") + + labels = _unicode_dots_re.split(data) + trailing_dot = "" + if labels: + if not labels[-1]: + trailing_dot = "." + del labels[-1] + elif not final: + # Keep potentially unfinished label until the next call + del labels[-1] + if labels: + trailing_dot = "." + + result = [] + size = 0 + for label in labels: + result.append(ulabel(label)) + if size: + size += 1 + size += len(label) + + result_str = ".".join(result) + trailing_dot + size += len(trailing_dot) + return (result_str, size) + + +class StreamWriter(Codec, codecs.StreamWriter): + pass + + +class StreamReader(Codec, codecs.StreamReader): + pass + + +def search_function(name: str) -> Optional[codecs.CodecInfo]: + if name != "idna2008": + return None + return codecs.CodecInfo( + name=name, + encode=Codec().encode, + decode=Codec().decode, + incrementalencoder=IncrementalEncoder, + incrementaldecoder=IncrementalDecoder, + streamwriter=StreamWriter, + streamreader=StreamReader, + ) + + +codecs.register(search_function) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/compat.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/compat.py new file mode 100644 index 0000000000000000000000000000000000000000..1df9f2a70e6815908f2784e88897a9a359eef84c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/compat.py @@ -0,0 +1,15 @@ +from typing import Any, Union + +from .core import decode, encode + + +def ToASCII(label: str) -> bytes: + return encode(label) + + +def ToUnicode(label: Union[bytes, bytearray]) -> str: + return decode(label) + + +def nameprep(s: Any) -> None: + raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/core.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/core.py new file mode 100644 index 0000000000000000000000000000000000000000..9115f123f0274832af5ba1cf3c5481cc5353eecd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/core.py @@ -0,0 +1,437 @@ +import bisect +import re +import unicodedata +from typing import Optional, Union + +from . import idnadata +from .intranges import intranges_contain + +_virama_combining_class = 9 +_alabel_prefix = b"xn--" +_unicode_dots_re = re.compile("[\u002e\u3002\uff0e\uff61]") + + +class IDNAError(UnicodeError): + """Base exception for all IDNA-encoding related problems""" + + pass + + +class IDNABidiError(IDNAError): + """Exception when bidirectional requirements are not satisfied""" + + pass + + +class InvalidCodepoint(IDNAError): + """Exception when a disallowed or unallocated codepoint is used""" + + pass + + +class InvalidCodepointContext(IDNAError): + """Exception when the codepoint is not valid in the context it is used""" + + pass + + +def _combining_class(cp: int) -> int: + v = unicodedata.combining(chr(cp)) + if v == 0: + if not unicodedata.name(chr(cp)): + raise ValueError("Unknown character in unicodedata") + return v + + +def _is_script(cp: str, script: str) -> bool: + return intranges_contain(ord(cp), idnadata.scripts[script]) + + +def _punycode(s: str) -> bytes: + return s.encode("punycode") + + +def _unot(s: int) -> str: + return "U+{:04X}".format(s) + + +def valid_label_length(label: Union[bytes, str]) -> bool: + if len(label) > 63: + return False + return True + + +def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool: + if len(label) > (254 if trailing_dot else 253): + return False + return True + + +def check_bidi(label: str, check_ltr: bool = False) -> bool: + # Bidi rules should only be applied if string contains RTL characters + bidi_label = False + for idx, cp in enumerate(label, 1): + direction = unicodedata.bidirectional(cp) + if direction == "": + # String likely comes from a newer version of Unicode + raise IDNABidiError("Unknown directionality in label {} at position {}".format(repr(label), idx)) + if direction in ["R", "AL", "AN"]: + bidi_label = True + if not bidi_label and not check_ltr: + return True + + # Bidi rule 1 + direction = unicodedata.bidirectional(label[0]) + if direction in ["R", "AL"]: + rtl = True + elif direction == "L": + rtl = False + else: + raise IDNABidiError("First codepoint in label {} must be directionality L, R or AL".format(repr(label))) + + valid_ending = False + number_type: Optional[str] = None + for idx, cp in enumerate(label, 1): + direction = unicodedata.bidirectional(cp) + + if rtl: + # Bidi rule 2 + if direction not in [ + "R", + "AL", + "AN", + "EN", + "ES", + "CS", + "ET", + "ON", + "BN", + "NSM", + ]: + raise IDNABidiError("Invalid direction for codepoint at position {} in a right-to-left label".format(idx)) + # Bidi rule 3 + if direction in ["R", "AL", "EN", "AN"]: + valid_ending = True + elif direction != "NSM": + valid_ending = False + # Bidi rule 4 + if direction in ["AN", "EN"]: + if not number_type: + number_type = direction + else: + if number_type != direction: + raise IDNABidiError("Can not mix numeral types in a right-to-left label") + else: + # Bidi rule 5 + if direction not in ["L", "EN", "ES", "CS", "ET", "ON", "BN", "NSM"]: + raise IDNABidiError("Invalid direction for codepoint at position {} in a left-to-right label".format(idx)) + # Bidi rule 6 + if direction in ["L", "EN"]: + valid_ending = True + elif direction != "NSM": + valid_ending = False + + if not valid_ending: + raise IDNABidiError("Label ends with illegal codepoint directionality") + + return True + + +def check_initial_combiner(label: str) -> bool: + if unicodedata.category(label[0])[0] == "M": + raise IDNAError("Label begins with an illegal combining character") + return True + + +def check_hyphen_ok(label: str) -> bool: + if label[2:4] == "--": + raise IDNAError("Label has disallowed hyphens in 3rd and 4th position") + if label[0] == "-" or label[-1] == "-": + raise IDNAError("Label must not start or end with a hyphen") + return True + + +def check_nfc(label: str) -> None: + if unicodedata.normalize("NFC", label) != label: + raise IDNAError("Label must be in Normalization Form C") + + +def valid_contextj(label: str, pos: int) -> bool: + cp_value = ord(label[pos]) + + if cp_value == 0x200C: + if pos > 0: + if _combining_class(ord(label[pos - 1])) == _virama_combining_class: + return True + + ok = False + for i in range(pos - 1, -1, -1): + joining_type = idnadata.joining_types.get(ord(label[i])) + if joining_type == ord("T"): + continue + elif joining_type in [ord("L"), ord("D")]: + ok = True + break + else: + break + + if not ok: + return False + + ok = False + for i in range(pos + 1, len(label)): + joining_type = idnadata.joining_types.get(ord(label[i])) + if joining_type == ord("T"): + continue + elif joining_type in [ord("R"), ord("D")]: + ok = True + break + else: + break + return ok + + if cp_value == 0x200D: + if pos > 0: + if _combining_class(ord(label[pos - 1])) == _virama_combining_class: + return True + return False + + else: + return False + + +def valid_contexto(label: str, pos: int, exception: bool = False) -> bool: + cp_value = ord(label[pos]) + + if cp_value == 0x00B7: + if 0 < pos < len(label) - 1: + if ord(label[pos - 1]) == 0x006C and ord(label[pos + 1]) == 0x006C: + return True + return False + + elif cp_value == 0x0375: + if pos < len(label) - 1 and len(label) > 1: + return _is_script(label[pos + 1], "Greek") + return False + + elif cp_value == 0x05F3 or cp_value == 0x05F4: + if pos > 0: + return _is_script(label[pos - 1], "Hebrew") + return False + + elif cp_value == 0x30FB: + for cp in label: + if cp == "\u30fb": + continue + if _is_script(cp, "Hiragana") or _is_script(cp, "Katakana") or _is_script(cp, "Han"): + return True + return False + + elif 0x660 <= cp_value <= 0x669: + for cp in label: + if 0x6F0 <= ord(cp) <= 0x06F9: + return False + return True + + elif 0x6F0 <= cp_value <= 0x6F9: + for cp in label: + if 0x660 <= ord(cp) <= 0x0669: + return False + return True + + return False + + +def check_label(label: Union[str, bytes, bytearray]) -> None: + if isinstance(label, (bytes, bytearray)): + label = label.decode("utf-8") + if len(label) == 0: + raise IDNAError("Empty Label") + + check_nfc(label) + check_hyphen_ok(label) + check_initial_combiner(label) + + for pos, cp in enumerate(label): + cp_value = ord(cp) + if intranges_contain(cp_value, idnadata.codepoint_classes["PVALID"]): + continue + elif intranges_contain(cp_value, idnadata.codepoint_classes["CONTEXTJ"]): + try: + if not valid_contextj(label, pos): + raise InvalidCodepointContext( + "Joiner {} not allowed at position {} in {}".format(_unot(cp_value), pos + 1, repr(label)) + ) + except ValueError: + raise IDNAError( + "Unknown codepoint adjacent to joiner {} at position {} in {}".format( + _unot(cp_value), pos + 1, repr(label) + ) + ) + elif intranges_contain(cp_value, idnadata.codepoint_classes["CONTEXTO"]): + if not valid_contexto(label, pos): + raise InvalidCodepointContext( + "Codepoint {} not allowed at position {} in {}".format(_unot(cp_value), pos + 1, repr(label)) + ) + else: + raise InvalidCodepoint( + "Codepoint {} at position {} of {} not allowed".format(_unot(cp_value), pos + 1, repr(label)) + ) + + check_bidi(label) + + +def alabel(label: str) -> bytes: + try: + label_bytes = label.encode("ascii") + ulabel(label_bytes) + if not valid_label_length(label_bytes): + raise IDNAError("Label too long") + return label_bytes + except UnicodeEncodeError: + pass + + check_label(label) + label_bytes = _alabel_prefix + _punycode(label) + + if not valid_label_length(label_bytes): + raise IDNAError("Label too long") + + return label_bytes + + +def ulabel(label: Union[str, bytes, bytearray]) -> str: + if not isinstance(label, (bytes, bytearray)): + try: + label_bytes = label.encode("ascii") + except UnicodeEncodeError: + check_label(label) + return label + else: + label_bytes = label + + label_bytes = label_bytes.lower() + if label_bytes.startswith(_alabel_prefix): + label_bytes = label_bytes[len(_alabel_prefix) :] + if not label_bytes: + raise IDNAError("Malformed A-label, no Punycode eligible content found") + if label_bytes.decode("ascii")[-1] == "-": + raise IDNAError("A-label must not end with a hyphen") + else: + check_label(label_bytes) + return label_bytes.decode("ascii") + + try: + label = label_bytes.decode("punycode") + except UnicodeError: + raise IDNAError("Invalid A-label") + check_label(label) + return label + + +def uts46_remap(domain: str, std3_rules: bool = True, transitional: bool = False) -> str: + """Re-map the characters in the string according to UTS46 processing.""" + from .uts46data import uts46data + + output = "" + + for pos, char in enumerate(domain): + code_point = ord(char) + try: + uts46row = uts46data[code_point if code_point < 256 else bisect.bisect_left(uts46data, (code_point, "Z")) - 1] + status = uts46row[1] + replacement: Optional[str] = None + if len(uts46row) == 3: + replacement = uts46row[2] + if ( + status == "V" + or (status == "D" and not transitional) + or (status == "3" and not std3_rules and replacement is None) + ): + output += char + elif replacement is not None and ( + status == "M" or (status == "3" and not std3_rules) or (status == "D" and transitional) + ): + output += replacement + elif status != "I": + raise IndexError() + except IndexError: + raise InvalidCodepoint( + "Codepoint {} not allowed at position {} in {}".format(_unot(code_point), pos + 1, repr(domain)) + ) + + return unicodedata.normalize("NFC", output) + + +def encode( + s: Union[str, bytes, bytearray], + strict: bool = False, + uts46: bool = False, + std3_rules: bool = False, + transitional: bool = False, +) -> bytes: + if not isinstance(s, str): + try: + s = str(s, "ascii") + except UnicodeDecodeError: + raise IDNAError("should pass a unicode string to the function rather than a byte string.") + if uts46: + s = uts46_remap(s, std3_rules, transitional) + trailing_dot = False + result = [] + if strict: + labels = s.split(".") + else: + labels = _unicode_dots_re.split(s) + if not labels or labels == [""]: + raise IDNAError("Empty domain") + if labels[-1] == "": + del labels[-1] + trailing_dot = True + for label in labels: + s = alabel(label) + if s: + result.append(s) + else: + raise IDNAError("Empty label") + if trailing_dot: + result.append(b"") + s = b".".join(result) + if not valid_string_length(s, trailing_dot): + raise IDNAError("Domain too long") + return s + + +def decode( + s: Union[str, bytes, bytearray], + strict: bool = False, + uts46: bool = False, + std3_rules: bool = False, +) -> str: + try: + if not isinstance(s, str): + s = str(s, "ascii") + except UnicodeDecodeError: + raise IDNAError("Invalid ASCII in A-label") + if uts46: + s = uts46_remap(s, std3_rules, False) + trailing_dot = False + result = [] + if not strict: + labels = _unicode_dots_re.split(s) + else: + labels = s.split(".") + if not labels or labels == [""]: + raise IDNAError("Empty domain") + if not labels[-1]: + del labels[-1] + trailing_dot = True + for label in labels: + s = ulabel(label) + if s: + result.append(s) + else: + raise IDNAError("Empty label") + if trailing_dot: + result.append("") + return ".".join(result) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py new file mode 100644 index 0000000000000000000000000000000000000000..4be6004622efcdc36a8d15efc0ac3e138a4bae02 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py @@ -0,0 +1,4243 @@ +# This file is automatically generated by tools/idna-data + +__version__ = "15.1.0" +scripts = { + "Greek": ( + 0x37000000374, + 0x37500000378, + 0x37A0000037E, + 0x37F00000380, + 0x38400000385, + 0x38600000387, + 0x3880000038B, + 0x38C0000038D, + 0x38E000003A2, + 0x3A3000003E2, + 0x3F000000400, + 0x1D2600001D2B, + 0x1D5D00001D62, + 0x1D6600001D6B, + 0x1DBF00001DC0, + 0x1F0000001F16, + 0x1F1800001F1E, + 0x1F2000001F46, + 0x1F4800001F4E, + 0x1F5000001F58, + 0x1F5900001F5A, + 0x1F5B00001F5C, + 0x1F5D00001F5E, + 0x1F5F00001F7E, + 0x1F8000001FB5, + 0x1FB600001FC5, + 0x1FC600001FD4, + 0x1FD600001FDC, + 0x1FDD00001FF0, + 0x1FF200001FF5, + 0x1FF600001FFF, + 0x212600002127, + 0xAB650000AB66, + 0x101400001018F, + 0x101A0000101A1, + 0x1D2000001D246, + ), + "Han": ( + 0x2E8000002E9A, + 0x2E9B00002EF4, + 0x2F0000002FD6, + 0x300500003006, + 0x300700003008, + 0x30210000302A, + 0x30380000303C, + 0x340000004DC0, + 0x4E000000A000, + 0xF9000000FA6E, + 0xFA700000FADA, + 0x16FE200016FE4, + 0x16FF000016FF2, + 0x200000002A6E0, + 0x2A7000002B73A, + 0x2B7400002B81E, + 0x2B8200002CEA2, + 0x2CEB00002EBE1, + 0x2EBF00002EE5E, + 0x2F8000002FA1E, + 0x300000003134B, + 0x31350000323B0, + ), + "Hebrew": ( + 0x591000005C8, + 0x5D0000005EB, + 0x5EF000005F5, + 0xFB1D0000FB37, + 0xFB380000FB3D, + 0xFB3E0000FB3F, + 0xFB400000FB42, + 0xFB430000FB45, + 0xFB460000FB50, + ), + "Hiragana": ( + 0x304100003097, + 0x309D000030A0, + 0x1B0010001B120, + 0x1B1320001B133, + 0x1B1500001B153, + 0x1F2000001F201, + ), + "Katakana": ( + 0x30A1000030FB, + 0x30FD00003100, + 0x31F000003200, + 0x32D0000032FF, + 0x330000003358, + 0xFF660000FF70, + 0xFF710000FF9E, + 0x1AFF00001AFF4, + 0x1AFF50001AFFC, + 0x1AFFD0001AFFF, + 0x1B0000001B001, + 0x1B1200001B123, + 0x1B1550001B156, + 0x1B1640001B168, + ), +} +joining_types = { + 0xAD: 84, + 0x300: 84, + 0x301: 84, + 0x302: 84, + 0x303: 84, + 0x304: 84, + 0x305: 84, + 0x306: 84, + 0x307: 84, + 0x308: 84, + 0x309: 84, + 0x30A: 84, + 0x30B: 84, + 0x30C: 84, + 0x30D: 84, + 0x30E: 84, + 0x30F: 84, + 0x310: 84, + 0x311: 84, + 0x312: 84, + 0x313: 84, + 0x314: 84, + 0x315: 84, + 0x316: 84, + 0x317: 84, + 0x318: 84, + 0x319: 84, + 0x31A: 84, + 0x31B: 84, + 0x31C: 84, + 0x31D: 84, + 0x31E: 84, + 0x31F: 84, + 0x320: 84, + 0x321: 84, + 0x322: 84, + 0x323: 84, + 0x324: 84, + 0x325: 84, + 0x326: 84, + 0x327: 84, + 0x328: 84, + 0x329: 84, + 0x32A: 84, + 0x32B: 84, + 0x32C: 84, + 0x32D: 84, + 0x32E: 84, + 0x32F: 84, + 0x330: 84, + 0x331: 84, + 0x332: 84, + 0x333: 84, + 0x334: 84, + 0x335: 84, + 0x336: 84, + 0x337: 84, + 0x338: 84, + 0x339: 84, + 0x33A: 84, + 0x33B: 84, + 0x33C: 84, + 0x33D: 84, + 0x33E: 84, + 0x33F: 84, + 0x340: 84, + 0x341: 84, + 0x342: 84, + 0x343: 84, + 0x344: 84, + 0x345: 84, + 0x346: 84, + 0x347: 84, + 0x348: 84, + 0x349: 84, + 0x34A: 84, + 0x34B: 84, + 0x34C: 84, + 0x34D: 84, + 0x34E: 84, + 0x34F: 84, + 0x350: 84, + 0x351: 84, + 0x352: 84, + 0x353: 84, + 0x354: 84, + 0x355: 84, + 0x356: 84, + 0x357: 84, + 0x358: 84, + 0x359: 84, + 0x35A: 84, + 0x35B: 84, + 0x35C: 84, + 0x35D: 84, + 0x35E: 84, + 0x35F: 84, + 0x360: 84, + 0x361: 84, + 0x362: 84, + 0x363: 84, + 0x364: 84, + 0x365: 84, + 0x366: 84, + 0x367: 84, + 0x368: 84, + 0x369: 84, + 0x36A: 84, + 0x36B: 84, + 0x36C: 84, + 0x36D: 84, + 0x36E: 84, + 0x36F: 84, + 0x483: 84, + 0x484: 84, + 0x485: 84, + 0x486: 84, + 0x487: 84, + 0x488: 84, + 0x489: 84, + 0x591: 84, + 0x592: 84, + 0x593: 84, + 0x594: 84, + 0x595: 84, + 0x596: 84, + 0x597: 84, + 0x598: 84, + 0x599: 84, + 0x59A: 84, + 0x59B: 84, + 0x59C: 84, + 0x59D: 84, + 0x59E: 84, + 0x59F: 84, + 0x5A0: 84, + 0x5A1: 84, + 0x5A2: 84, + 0x5A3: 84, + 0x5A4: 84, + 0x5A5: 84, + 0x5A6: 84, + 0x5A7: 84, + 0x5A8: 84, + 0x5A9: 84, + 0x5AA: 84, + 0x5AB: 84, + 0x5AC: 84, + 0x5AD: 84, + 0x5AE: 84, + 0x5AF: 84, + 0x5B0: 84, + 0x5B1: 84, + 0x5B2: 84, + 0x5B3: 84, + 0x5B4: 84, + 0x5B5: 84, + 0x5B6: 84, + 0x5B7: 84, + 0x5B8: 84, + 0x5B9: 84, + 0x5BA: 84, + 0x5BB: 84, + 0x5BC: 84, + 0x5BD: 84, + 0x5BF: 84, + 0x5C1: 84, + 0x5C2: 84, + 0x5C4: 84, + 0x5C5: 84, + 0x5C7: 84, + 0x610: 84, + 0x611: 84, + 0x612: 84, + 0x613: 84, + 0x614: 84, + 0x615: 84, + 0x616: 84, + 0x617: 84, + 0x618: 84, + 0x619: 84, + 0x61A: 84, + 0x61C: 84, + 0x620: 68, + 0x622: 82, + 0x623: 82, + 0x624: 82, + 0x625: 82, + 0x626: 68, + 0x627: 82, + 0x628: 68, + 0x629: 82, + 0x62A: 68, + 0x62B: 68, + 0x62C: 68, + 0x62D: 68, + 0x62E: 68, + 0x62F: 82, + 0x630: 82, + 0x631: 82, + 0x632: 82, + 0x633: 68, + 0x634: 68, + 0x635: 68, + 0x636: 68, + 0x637: 68, + 0x638: 68, + 0x639: 68, + 0x63A: 68, + 0x63B: 68, + 0x63C: 68, + 0x63D: 68, + 0x63E: 68, + 0x63F: 68, + 0x640: 67, + 0x641: 68, + 0x642: 68, + 0x643: 68, + 0x644: 68, + 0x645: 68, + 0x646: 68, + 0x647: 68, + 0x648: 82, + 0x649: 68, + 0x64A: 68, + 0x64B: 84, + 0x64C: 84, + 0x64D: 84, + 0x64E: 84, + 0x64F: 84, + 0x650: 84, + 0x651: 84, + 0x652: 84, + 0x653: 84, + 0x654: 84, + 0x655: 84, + 0x656: 84, + 0x657: 84, + 0x658: 84, + 0x659: 84, + 0x65A: 84, + 0x65B: 84, + 0x65C: 84, + 0x65D: 84, + 0x65E: 84, + 0x65F: 84, + 0x66E: 68, + 0x66F: 68, + 0x670: 84, + 0x671: 82, + 0x672: 82, + 0x673: 82, + 0x675: 82, + 0x676: 82, + 0x677: 82, + 0x678: 68, + 0x679: 68, + 0x67A: 68, + 0x67B: 68, + 0x67C: 68, + 0x67D: 68, + 0x67E: 68, + 0x67F: 68, + 0x680: 68, + 0x681: 68, + 0x682: 68, + 0x683: 68, + 0x684: 68, + 0x685: 68, + 0x686: 68, + 0x687: 68, + 0x688: 82, + 0x689: 82, + 0x68A: 82, + 0x68B: 82, + 0x68C: 82, + 0x68D: 82, + 0x68E: 82, + 0x68F: 82, + 0x690: 82, + 0x691: 82, + 0x692: 82, + 0x693: 82, + 0x694: 82, + 0x695: 82, + 0x696: 82, + 0x697: 82, + 0x698: 82, + 0x699: 82, + 0x69A: 68, + 0x69B: 68, + 0x69C: 68, + 0x69D: 68, + 0x69E: 68, + 0x69F: 68, + 0x6A0: 68, + 0x6A1: 68, + 0x6A2: 68, + 0x6A3: 68, + 0x6A4: 68, + 0x6A5: 68, + 0x6A6: 68, + 0x6A7: 68, + 0x6A8: 68, + 0x6A9: 68, + 0x6AA: 68, + 0x6AB: 68, + 0x6AC: 68, + 0x6AD: 68, + 0x6AE: 68, + 0x6AF: 68, + 0x6B0: 68, + 0x6B1: 68, + 0x6B2: 68, + 0x6B3: 68, + 0x6B4: 68, + 0x6B5: 68, + 0x6B6: 68, + 0x6B7: 68, + 0x6B8: 68, + 0x6B9: 68, + 0x6BA: 68, + 0x6BB: 68, + 0x6BC: 68, + 0x6BD: 68, + 0x6BE: 68, + 0x6BF: 68, + 0x6C0: 82, + 0x6C1: 68, + 0x6C2: 68, + 0x6C3: 82, + 0x6C4: 82, + 0x6C5: 82, + 0x6C6: 82, + 0x6C7: 82, + 0x6C8: 82, + 0x6C9: 82, + 0x6CA: 82, + 0x6CB: 82, + 0x6CC: 68, + 0x6CD: 82, + 0x6CE: 68, + 0x6CF: 82, + 0x6D0: 68, + 0x6D1: 68, + 0x6D2: 82, + 0x6D3: 82, + 0x6D5: 82, + 0x6D6: 84, + 0x6D7: 84, + 0x6D8: 84, + 0x6D9: 84, + 0x6DA: 84, + 0x6DB: 84, + 0x6DC: 84, + 0x6DF: 84, + 0x6E0: 84, + 0x6E1: 84, + 0x6E2: 84, + 0x6E3: 84, + 0x6E4: 84, + 0x6E7: 84, + 0x6E8: 84, + 0x6EA: 84, + 0x6EB: 84, + 0x6EC: 84, + 0x6ED: 84, + 0x6EE: 82, + 0x6EF: 82, + 0x6FA: 68, + 0x6FB: 68, + 0x6FC: 68, + 0x6FF: 68, + 0x70F: 84, + 0x710: 82, + 0x711: 84, + 0x712: 68, + 0x713: 68, + 0x714: 68, + 0x715: 82, + 0x716: 82, + 0x717: 82, + 0x718: 82, + 0x719: 82, + 0x71A: 68, + 0x71B: 68, + 0x71C: 68, + 0x71D: 68, + 0x71E: 82, + 0x71F: 68, + 0x720: 68, + 0x721: 68, + 0x722: 68, + 0x723: 68, + 0x724: 68, + 0x725: 68, + 0x726: 68, + 0x727: 68, + 0x728: 82, + 0x729: 68, + 0x72A: 82, + 0x72B: 68, + 0x72C: 82, + 0x72D: 68, + 0x72E: 68, + 0x72F: 82, + 0x730: 84, + 0x731: 84, + 0x732: 84, + 0x733: 84, + 0x734: 84, + 0x735: 84, + 0x736: 84, + 0x737: 84, + 0x738: 84, + 0x739: 84, + 0x73A: 84, + 0x73B: 84, + 0x73C: 84, + 0x73D: 84, + 0x73E: 84, + 0x73F: 84, + 0x740: 84, + 0x741: 84, + 0x742: 84, + 0x743: 84, + 0x744: 84, + 0x745: 84, + 0x746: 84, + 0x747: 84, + 0x748: 84, + 0x749: 84, + 0x74A: 84, + 0x74D: 82, + 0x74E: 68, + 0x74F: 68, + 0x750: 68, + 0x751: 68, + 0x752: 68, + 0x753: 68, + 0x754: 68, + 0x755: 68, + 0x756: 68, + 0x757: 68, + 0x758: 68, + 0x759: 82, + 0x75A: 82, + 0x75B: 82, + 0x75C: 68, + 0x75D: 68, + 0x75E: 68, + 0x75F: 68, + 0x760: 68, + 0x761: 68, + 0x762: 68, + 0x763: 68, + 0x764: 68, + 0x765: 68, + 0x766: 68, + 0x767: 68, + 0x768: 68, + 0x769: 68, + 0x76A: 68, + 0x76B: 82, + 0x76C: 82, + 0x76D: 68, + 0x76E: 68, + 0x76F: 68, + 0x770: 68, + 0x771: 82, + 0x772: 68, + 0x773: 82, + 0x774: 82, + 0x775: 68, + 0x776: 68, + 0x777: 68, + 0x778: 82, + 0x779: 82, + 0x77A: 68, + 0x77B: 68, + 0x77C: 68, + 0x77D: 68, + 0x77E: 68, + 0x77F: 68, + 0x7A6: 84, + 0x7A7: 84, + 0x7A8: 84, + 0x7A9: 84, + 0x7AA: 84, + 0x7AB: 84, + 0x7AC: 84, + 0x7AD: 84, + 0x7AE: 84, + 0x7AF: 84, + 0x7B0: 84, + 0x7CA: 68, + 0x7CB: 68, + 0x7CC: 68, + 0x7CD: 68, + 0x7CE: 68, + 0x7CF: 68, + 0x7D0: 68, + 0x7D1: 68, + 0x7D2: 68, + 0x7D3: 68, + 0x7D4: 68, + 0x7D5: 68, + 0x7D6: 68, + 0x7D7: 68, + 0x7D8: 68, + 0x7D9: 68, + 0x7DA: 68, + 0x7DB: 68, + 0x7DC: 68, + 0x7DD: 68, + 0x7DE: 68, + 0x7DF: 68, + 0x7E0: 68, + 0x7E1: 68, + 0x7E2: 68, + 0x7E3: 68, + 0x7E4: 68, + 0x7E5: 68, + 0x7E6: 68, + 0x7E7: 68, + 0x7E8: 68, + 0x7E9: 68, + 0x7EA: 68, + 0x7EB: 84, + 0x7EC: 84, + 0x7ED: 84, + 0x7EE: 84, + 0x7EF: 84, + 0x7F0: 84, + 0x7F1: 84, + 0x7F2: 84, + 0x7F3: 84, + 0x7FA: 67, + 0x7FD: 84, + 0x816: 84, + 0x817: 84, + 0x818: 84, + 0x819: 84, + 0x81B: 84, + 0x81C: 84, + 0x81D: 84, + 0x81E: 84, + 0x81F: 84, + 0x820: 84, + 0x821: 84, + 0x822: 84, + 0x823: 84, + 0x825: 84, + 0x826: 84, + 0x827: 84, + 0x829: 84, + 0x82A: 84, + 0x82B: 84, + 0x82C: 84, + 0x82D: 84, + 0x840: 82, + 0x841: 68, + 0x842: 68, + 0x843: 68, + 0x844: 68, + 0x845: 68, + 0x846: 82, + 0x847: 82, + 0x848: 68, + 0x849: 82, + 0x84A: 68, + 0x84B: 68, + 0x84C: 68, + 0x84D: 68, + 0x84E: 68, + 0x84F: 68, + 0x850: 68, + 0x851: 68, + 0x852: 68, + 0x853: 68, + 0x854: 82, + 0x855: 68, + 0x856: 82, + 0x857: 82, + 0x858: 82, + 0x859: 84, + 0x85A: 84, + 0x85B: 84, + 0x860: 68, + 0x862: 68, + 0x863: 68, + 0x864: 68, + 0x865: 68, + 0x867: 82, + 0x868: 68, + 0x869: 82, + 0x86A: 82, + 0x870: 82, + 0x871: 82, + 0x872: 82, + 0x873: 82, + 0x874: 82, + 0x875: 82, + 0x876: 82, + 0x877: 82, + 0x878: 82, + 0x879: 82, + 0x87A: 82, + 0x87B: 82, + 0x87C: 82, + 0x87D: 82, + 0x87E: 82, + 0x87F: 82, + 0x880: 82, + 0x881: 82, + 0x882: 82, + 0x883: 67, + 0x884: 67, + 0x885: 67, + 0x886: 68, + 0x889: 68, + 0x88A: 68, + 0x88B: 68, + 0x88C: 68, + 0x88D: 68, + 0x88E: 82, + 0x898: 84, + 0x899: 84, + 0x89A: 84, + 0x89B: 84, + 0x89C: 84, + 0x89D: 84, + 0x89E: 84, + 0x89F: 84, + 0x8A0: 68, + 0x8A1: 68, + 0x8A2: 68, + 0x8A3: 68, + 0x8A4: 68, + 0x8A5: 68, + 0x8A6: 68, + 0x8A7: 68, + 0x8A8: 68, + 0x8A9: 68, + 0x8AA: 82, + 0x8AB: 82, + 0x8AC: 82, + 0x8AE: 82, + 0x8AF: 68, + 0x8B0: 68, + 0x8B1: 82, + 0x8B2: 82, + 0x8B3: 68, + 0x8B4: 68, + 0x8B5: 68, + 0x8B6: 68, + 0x8B7: 68, + 0x8B8: 68, + 0x8B9: 82, + 0x8BA: 68, + 0x8BB: 68, + 0x8BC: 68, + 0x8BD: 68, + 0x8BE: 68, + 0x8BF: 68, + 0x8C0: 68, + 0x8C1: 68, + 0x8C2: 68, + 0x8C3: 68, + 0x8C4: 68, + 0x8C5: 68, + 0x8C6: 68, + 0x8C7: 68, + 0x8C8: 68, + 0x8CA: 84, + 0x8CB: 84, + 0x8CC: 84, + 0x8CD: 84, + 0x8CE: 84, + 0x8CF: 84, + 0x8D0: 84, + 0x8D1: 84, + 0x8D2: 84, + 0x8D3: 84, + 0x8D4: 84, + 0x8D5: 84, + 0x8D6: 84, + 0x8D7: 84, + 0x8D8: 84, + 0x8D9: 84, + 0x8DA: 84, + 0x8DB: 84, + 0x8DC: 84, + 0x8DD: 84, + 0x8DE: 84, + 0x8DF: 84, + 0x8E0: 84, + 0x8E1: 84, + 0x8E3: 84, + 0x8E4: 84, + 0x8E5: 84, + 0x8E6: 84, + 0x8E7: 84, + 0x8E8: 84, + 0x8E9: 84, + 0x8EA: 84, + 0x8EB: 84, + 0x8EC: 84, + 0x8ED: 84, + 0x8EE: 84, + 0x8EF: 84, + 0x8F0: 84, + 0x8F1: 84, + 0x8F2: 84, + 0x8F3: 84, + 0x8F4: 84, + 0x8F5: 84, + 0x8F6: 84, + 0x8F7: 84, + 0x8F8: 84, + 0x8F9: 84, + 0x8FA: 84, + 0x8FB: 84, + 0x8FC: 84, + 0x8FD: 84, + 0x8FE: 84, + 0x8FF: 84, + 0x900: 84, + 0x901: 84, + 0x902: 84, + 0x93A: 84, + 0x93C: 84, + 0x941: 84, + 0x942: 84, + 0x943: 84, + 0x944: 84, + 0x945: 84, + 0x946: 84, + 0x947: 84, + 0x948: 84, + 0x94D: 84, + 0x951: 84, + 0x952: 84, + 0x953: 84, + 0x954: 84, + 0x955: 84, + 0x956: 84, + 0x957: 84, + 0x962: 84, + 0x963: 84, + 0x981: 84, + 0x9BC: 84, + 0x9C1: 84, + 0x9C2: 84, + 0x9C3: 84, + 0x9C4: 84, + 0x9CD: 84, + 0x9E2: 84, + 0x9E3: 84, + 0x9FE: 84, + 0xA01: 84, + 0xA02: 84, + 0xA3C: 84, + 0xA41: 84, + 0xA42: 84, + 0xA47: 84, + 0xA48: 84, + 0xA4B: 84, + 0xA4C: 84, + 0xA4D: 84, + 0xA51: 84, + 0xA70: 84, + 0xA71: 84, + 0xA75: 84, + 0xA81: 84, + 0xA82: 84, + 0xABC: 84, + 0xAC1: 84, + 0xAC2: 84, + 0xAC3: 84, + 0xAC4: 84, + 0xAC5: 84, + 0xAC7: 84, + 0xAC8: 84, + 0xACD: 84, + 0xAE2: 84, + 0xAE3: 84, + 0xAFA: 84, + 0xAFB: 84, + 0xAFC: 84, + 0xAFD: 84, + 0xAFE: 84, + 0xAFF: 84, + 0xB01: 84, + 0xB3C: 84, + 0xB3F: 84, + 0xB41: 84, + 0xB42: 84, + 0xB43: 84, + 0xB44: 84, + 0xB4D: 84, + 0xB55: 84, + 0xB56: 84, + 0xB62: 84, + 0xB63: 84, + 0xB82: 84, + 0xBC0: 84, + 0xBCD: 84, + 0xC00: 84, + 0xC04: 84, + 0xC3C: 84, + 0xC3E: 84, + 0xC3F: 84, + 0xC40: 84, + 0xC46: 84, + 0xC47: 84, + 0xC48: 84, + 0xC4A: 84, + 0xC4B: 84, + 0xC4C: 84, + 0xC4D: 84, + 0xC55: 84, + 0xC56: 84, + 0xC62: 84, + 0xC63: 84, + 0xC81: 84, + 0xCBC: 84, + 0xCBF: 84, + 0xCC6: 84, + 0xCCC: 84, + 0xCCD: 84, + 0xCE2: 84, + 0xCE3: 84, + 0xD00: 84, + 0xD01: 84, + 0xD3B: 84, + 0xD3C: 84, + 0xD41: 84, + 0xD42: 84, + 0xD43: 84, + 0xD44: 84, + 0xD4D: 84, + 0xD62: 84, + 0xD63: 84, + 0xD81: 84, + 0xDCA: 84, + 0xDD2: 84, + 0xDD3: 84, + 0xDD4: 84, + 0xDD6: 84, + 0xE31: 84, + 0xE34: 84, + 0xE35: 84, + 0xE36: 84, + 0xE37: 84, + 0xE38: 84, + 0xE39: 84, + 0xE3A: 84, + 0xE47: 84, + 0xE48: 84, + 0xE49: 84, + 0xE4A: 84, + 0xE4B: 84, + 0xE4C: 84, + 0xE4D: 84, + 0xE4E: 84, + 0xEB1: 84, + 0xEB4: 84, + 0xEB5: 84, + 0xEB6: 84, + 0xEB7: 84, + 0xEB8: 84, + 0xEB9: 84, + 0xEBA: 84, + 0xEBB: 84, + 0xEBC: 84, + 0xEC8: 84, + 0xEC9: 84, + 0xECA: 84, + 0xECB: 84, + 0xECC: 84, + 0xECD: 84, + 0xECE: 84, + 0xF18: 84, + 0xF19: 84, + 0xF35: 84, + 0xF37: 84, + 0xF39: 84, + 0xF71: 84, + 0xF72: 84, + 0xF73: 84, + 0xF74: 84, + 0xF75: 84, + 0xF76: 84, + 0xF77: 84, + 0xF78: 84, + 0xF79: 84, + 0xF7A: 84, + 0xF7B: 84, + 0xF7C: 84, + 0xF7D: 84, + 0xF7E: 84, + 0xF80: 84, + 0xF81: 84, + 0xF82: 84, + 0xF83: 84, + 0xF84: 84, + 0xF86: 84, + 0xF87: 84, + 0xF8D: 84, + 0xF8E: 84, + 0xF8F: 84, + 0xF90: 84, + 0xF91: 84, + 0xF92: 84, + 0xF93: 84, + 0xF94: 84, + 0xF95: 84, + 0xF96: 84, + 0xF97: 84, + 0xF99: 84, + 0xF9A: 84, + 0xF9B: 84, + 0xF9C: 84, + 0xF9D: 84, + 0xF9E: 84, + 0xF9F: 84, + 0xFA0: 84, + 0xFA1: 84, + 0xFA2: 84, + 0xFA3: 84, + 0xFA4: 84, + 0xFA5: 84, + 0xFA6: 84, + 0xFA7: 84, + 0xFA8: 84, + 0xFA9: 84, + 0xFAA: 84, + 0xFAB: 84, + 0xFAC: 84, + 0xFAD: 84, + 0xFAE: 84, + 0xFAF: 84, + 0xFB0: 84, + 0xFB1: 84, + 0xFB2: 84, + 0xFB3: 84, + 0xFB4: 84, + 0xFB5: 84, + 0xFB6: 84, + 0xFB7: 84, + 0xFB8: 84, + 0xFB9: 84, + 0xFBA: 84, + 0xFBB: 84, + 0xFBC: 84, + 0xFC6: 84, + 0x102D: 84, + 0x102E: 84, + 0x102F: 84, + 0x1030: 84, + 0x1032: 84, + 0x1033: 84, + 0x1034: 84, + 0x1035: 84, + 0x1036: 84, + 0x1037: 84, + 0x1039: 84, + 0x103A: 84, + 0x103D: 84, + 0x103E: 84, + 0x1058: 84, + 0x1059: 84, + 0x105E: 84, + 0x105F: 84, + 0x1060: 84, + 0x1071: 84, + 0x1072: 84, + 0x1073: 84, + 0x1074: 84, + 0x1082: 84, + 0x1085: 84, + 0x1086: 84, + 0x108D: 84, + 0x109D: 84, + 0x135D: 84, + 0x135E: 84, + 0x135F: 84, + 0x1712: 84, + 0x1713: 84, + 0x1714: 84, + 0x1732: 84, + 0x1733: 84, + 0x1752: 84, + 0x1753: 84, + 0x1772: 84, + 0x1773: 84, + 0x17B4: 84, + 0x17B5: 84, + 0x17B7: 84, + 0x17B8: 84, + 0x17B9: 84, + 0x17BA: 84, + 0x17BB: 84, + 0x17BC: 84, + 0x17BD: 84, + 0x17C6: 84, + 0x17C9: 84, + 0x17CA: 84, + 0x17CB: 84, + 0x17CC: 84, + 0x17CD: 84, + 0x17CE: 84, + 0x17CF: 84, + 0x17D0: 84, + 0x17D1: 84, + 0x17D2: 84, + 0x17D3: 84, + 0x17DD: 84, + 0x1807: 68, + 0x180A: 67, + 0x180B: 84, + 0x180C: 84, + 0x180D: 84, + 0x180F: 84, + 0x1820: 68, + 0x1821: 68, + 0x1822: 68, + 0x1823: 68, + 0x1824: 68, + 0x1825: 68, + 0x1826: 68, + 0x1827: 68, + 0x1828: 68, + 0x1829: 68, + 0x182A: 68, + 0x182B: 68, + 0x182C: 68, + 0x182D: 68, + 0x182E: 68, + 0x182F: 68, + 0x1830: 68, + 0x1831: 68, + 0x1832: 68, + 0x1833: 68, + 0x1834: 68, + 0x1835: 68, + 0x1836: 68, + 0x1837: 68, + 0x1838: 68, + 0x1839: 68, + 0x183A: 68, + 0x183B: 68, + 0x183C: 68, + 0x183D: 68, + 0x183E: 68, + 0x183F: 68, + 0x1840: 68, + 0x1841: 68, + 0x1842: 68, + 0x1843: 68, + 0x1844: 68, + 0x1845: 68, + 0x1846: 68, + 0x1847: 68, + 0x1848: 68, + 0x1849: 68, + 0x184A: 68, + 0x184B: 68, + 0x184C: 68, + 0x184D: 68, + 0x184E: 68, + 0x184F: 68, + 0x1850: 68, + 0x1851: 68, + 0x1852: 68, + 0x1853: 68, + 0x1854: 68, + 0x1855: 68, + 0x1856: 68, + 0x1857: 68, + 0x1858: 68, + 0x1859: 68, + 0x185A: 68, + 0x185B: 68, + 0x185C: 68, + 0x185D: 68, + 0x185E: 68, + 0x185F: 68, + 0x1860: 68, + 0x1861: 68, + 0x1862: 68, + 0x1863: 68, + 0x1864: 68, + 0x1865: 68, + 0x1866: 68, + 0x1867: 68, + 0x1868: 68, + 0x1869: 68, + 0x186A: 68, + 0x186B: 68, + 0x186C: 68, + 0x186D: 68, + 0x186E: 68, + 0x186F: 68, + 0x1870: 68, + 0x1871: 68, + 0x1872: 68, + 0x1873: 68, + 0x1874: 68, + 0x1875: 68, + 0x1876: 68, + 0x1877: 68, + 0x1878: 68, + 0x1885: 84, + 0x1886: 84, + 0x1887: 68, + 0x1888: 68, + 0x1889: 68, + 0x188A: 68, + 0x188B: 68, + 0x188C: 68, + 0x188D: 68, + 0x188E: 68, + 0x188F: 68, + 0x1890: 68, + 0x1891: 68, + 0x1892: 68, + 0x1893: 68, + 0x1894: 68, + 0x1895: 68, + 0x1896: 68, + 0x1897: 68, + 0x1898: 68, + 0x1899: 68, + 0x189A: 68, + 0x189B: 68, + 0x189C: 68, + 0x189D: 68, + 0x189E: 68, + 0x189F: 68, + 0x18A0: 68, + 0x18A1: 68, + 0x18A2: 68, + 0x18A3: 68, + 0x18A4: 68, + 0x18A5: 68, + 0x18A6: 68, + 0x18A7: 68, + 0x18A8: 68, + 0x18A9: 84, + 0x18AA: 68, + 0x1920: 84, + 0x1921: 84, + 0x1922: 84, + 0x1927: 84, + 0x1928: 84, + 0x1932: 84, + 0x1939: 84, + 0x193A: 84, + 0x193B: 84, + 0x1A17: 84, + 0x1A18: 84, + 0x1A1B: 84, + 0x1A56: 84, + 0x1A58: 84, + 0x1A59: 84, + 0x1A5A: 84, + 0x1A5B: 84, + 0x1A5C: 84, + 0x1A5D: 84, + 0x1A5E: 84, + 0x1A60: 84, + 0x1A62: 84, + 0x1A65: 84, + 0x1A66: 84, + 0x1A67: 84, + 0x1A68: 84, + 0x1A69: 84, + 0x1A6A: 84, + 0x1A6B: 84, + 0x1A6C: 84, + 0x1A73: 84, + 0x1A74: 84, + 0x1A75: 84, + 0x1A76: 84, + 0x1A77: 84, + 0x1A78: 84, + 0x1A79: 84, + 0x1A7A: 84, + 0x1A7B: 84, + 0x1A7C: 84, + 0x1A7F: 84, + 0x1AB0: 84, + 0x1AB1: 84, + 0x1AB2: 84, + 0x1AB3: 84, + 0x1AB4: 84, + 0x1AB5: 84, + 0x1AB6: 84, + 0x1AB7: 84, + 0x1AB8: 84, + 0x1AB9: 84, + 0x1ABA: 84, + 0x1ABB: 84, + 0x1ABC: 84, + 0x1ABD: 84, + 0x1ABE: 84, + 0x1ABF: 84, + 0x1AC0: 84, + 0x1AC1: 84, + 0x1AC2: 84, + 0x1AC3: 84, + 0x1AC4: 84, + 0x1AC5: 84, + 0x1AC6: 84, + 0x1AC7: 84, + 0x1AC8: 84, + 0x1AC9: 84, + 0x1ACA: 84, + 0x1ACB: 84, + 0x1ACC: 84, + 0x1ACD: 84, + 0x1ACE: 84, + 0x1B00: 84, + 0x1B01: 84, + 0x1B02: 84, + 0x1B03: 84, + 0x1B34: 84, + 0x1B36: 84, + 0x1B37: 84, + 0x1B38: 84, + 0x1B39: 84, + 0x1B3A: 84, + 0x1B3C: 84, + 0x1B42: 84, + 0x1B6B: 84, + 0x1B6C: 84, + 0x1B6D: 84, + 0x1B6E: 84, + 0x1B6F: 84, + 0x1B70: 84, + 0x1B71: 84, + 0x1B72: 84, + 0x1B73: 84, + 0x1B80: 84, + 0x1B81: 84, + 0x1BA2: 84, + 0x1BA3: 84, + 0x1BA4: 84, + 0x1BA5: 84, + 0x1BA8: 84, + 0x1BA9: 84, + 0x1BAB: 84, + 0x1BAC: 84, + 0x1BAD: 84, + 0x1BE6: 84, + 0x1BE8: 84, + 0x1BE9: 84, + 0x1BED: 84, + 0x1BEF: 84, + 0x1BF0: 84, + 0x1BF1: 84, + 0x1C2C: 84, + 0x1C2D: 84, + 0x1C2E: 84, + 0x1C2F: 84, + 0x1C30: 84, + 0x1C31: 84, + 0x1C32: 84, + 0x1C33: 84, + 0x1C36: 84, + 0x1C37: 84, + 0x1CD0: 84, + 0x1CD1: 84, + 0x1CD2: 84, + 0x1CD4: 84, + 0x1CD5: 84, + 0x1CD6: 84, + 0x1CD7: 84, + 0x1CD8: 84, + 0x1CD9: 84, + 0x1CDA: 84, + 0x1CDB: 84, + 0x1CDC: 84, + 0x1CDD: 84, + 0x1CDE: 84, + 0x1CDF: 84, + 0x1CE0: 84, + 0x1CE2: 84, + 0x1CE3: 84, + 0x1CE4: 84, + 0x1CE5: 84, + 0x1CE6: 84, + 0x1CE7: 84, + 0x1CE8: 84, + 0x1CED: 84, + 0x1CF4: 84, + 0x1CF8: 84, + 0x1CF9: 84, + 0x1DC0: 84, + 0x1DC1: 84, + 0x1DC2: 84, + 0x1DC3: 84, + 0x1DC4: 84, + 0x1DC5: 84, + 0x1DC6: 84, + 0x1DC7: 84, + 0x1DC8: 84, + 0x1DC9: 84, + 0x1DCA: 84, + 0x1DCB: 84, + 0x1DCC: 84, + 0x1DCD: 84, + 0x1DCE: 84, + 0x1DCF: 84, + 0x1DD0: 84, + 0x1DD1: 84, + 0x1DD2: 84, + 0x1DD3: 84, + 0x1DD4: 84, + 0x1DD5: 84, + 0x1DD6: 84, + 0x1DD7: 84, + 0x1DD8: 84, + 0x1DD9: 84, + 0x1DDA: 84, + 0x1DDB: 84, + 0x1DDC: 84, + 0x1DDD: 84, + 0x1DDE: 84, + 0x1DDF: 84, + 0x1DE0: 84, + 0x1DE1: 84, + 0x1DE2: 84, + 0x1DE3: 84, + 0x1DE4: 84, + 0x1DE5: 84, + 0x1DE6: 84, + 0x1DE7: 84, + 0x1DE8: 84, + 0x1DE9: 84, + 0x1DEA: 84, + 0x1DEB: 84, + 0x1DEC: 84, + 0x1DED: 84, + 0x1DEE: 84, + 0x1DEF: 84, + 0x1DF0: 84, + 0x1DF1: 84, + 0x1DF2: 84, + 0x1DF3: 84, + 0x1DF4: 84, + 0x1DF5: 84, + 0x1DF6: 84, + 0x1DF7: 84, + 0x1DF8: 84, + 0x1DF9: 84, + 0x1DFA: 84, + 0x1DFB: 84, + 0x1DFC: 84, + 0x1DFD: 84, + 0x1DFE: 84, + 0x1DFF: 84, + 0x200B: 84, + 0x200D: 67, + 0x200E: 84, + 0x200F: 84, + 0x202A: 84, + 0x202B: 84, + 0x202C: 84, + 0x202D: 84, + 0x202E: 84, + 0x2060: 84, + 0x2061: 84, + 0x2062: 84, + 0x2063: 84, + 0x2064: 84, + 0x206A: 84, + 0x206B: 84, + 0x206C: 84, + 0x206D: 84, + 0x206E: 84, + 0x206F: 84, + 0x20D0: 84, + 0x20D1: 84, + 0x20D2: 84, + 0x20D3: 84, + 0x20D4: 84, + 0x20D5: 84, + 0x20D6: 84, + 0x20D7: 84, + 0x20D8: 84, + 0x20D9: 84, + 0x20DA: 84, + 0x20DB: 84, + 0x20DC: 84, + 0x20DD: 84, + 0x20DE: 84, + 0x20DF: 84, + 0x20E0: 84, + 0x20E1: 84, + 0x20E2: 84, + 0x20E3: 84, + 0x20E4: 84, + 0x20E5: 84, + 0x20E6: 84, + 0x20E7: 84, + 0x20E8: 84, + 0x20E9: 84, + 0x20EA: 84, + 0x20EB: 84, + 0x20EC: 84, + 0x20ED: 84, + 0x20EE: 84, + 0x20EF: 84, + 0x20F0: 84, + 0x2CEF: 84, + 0x2CF0: 84, + 0x2CF1: 84, + 0x2D7F: 84, + 0x2DE0: 84, + 0x2DE1: 84, + 0x2DE2: 84, + 0x2DE3: 84, + 0x2DE4: 84, + 0x2DE5: 84, + 0x2DE6: 84, + 0x2DE7: 84, + 0x2DE8: 84, + 0x2DE9: 84, + 0x2DEA: 84, + 0x2DEB: 84, + 0x2DEC: 84, + 0x2DED: 84, + 0x2DEE: 84, + 0x2DEF: 84, + 0x2DF0: 84, + 0x2DF1: 84, + 0x2DF2: 84, + 0x2DF3: 84, + 0x2DF4: 84, + 0x2DF5: 84, + 0x2DF6: 84, + 0x2DF7: 84, + 0x2DF8: 84, + 0x2DF9: 84, + 0x2DFA: 84, + 0x2DFB: 84, + 0x2DFC: 84, + 0x2DFD: 84, + 0x2DFE: 84, + 0x2DFF: 84, + 0x302A: 84, + 0x302B: 84, + 0x302C: 84, + 0x302D: 84, + 0x3099: 84, + 0x309A: 84, + 0xA66F: 84, + 0xA670: 84, + 0xA671: 84, + 0xA672: 84, + 0xA674: 84, + 0xA675: 84, + 0xA676: 84, + 0xA677: 84, + 0xA678: 84, + 0xA679: 84, + 0xA67A: 84, + 0xA67B: 84, + 0xA67C: 84, + 0xA67D: 84, + 0xA69E: 84, + 0xA69F: 84, + 0xA6F0: 84, + 0xA6F1: 84, + 0xA802: 84, + 0xA806: 84, + 0xA80B: 84, + 0xA825: 84, + 0xA826: 84, + 0xA82C: 84, + 0xA840: 68, + 0xA841: 68, + 0xA842: 68, + 0xA843: 68, + 0xA844: 68, + 0xA845: 68, + 0xA846: 68, + 0xA847: 68, + 0xA848: 68, + 0xA849: 68, + 0xA84A: 68, + 0xA84B: 68, + 0xA84C: 68, + 0xA84D: 68, + 0xA84E: 68, + 0xA84F: 68, + 0xA850: 68, + 0xA851: 68, + 0xA852: 68, + 0xA853: 68, + 0xA854: 68, + 0xA855: 68, + 0xA856: 68, + 0xA857: 68, + 0xA858: 68, + 0xA859: 68, + 0xA85A: 68, + 0xA85B: 68, + 0xA85C: 68, + 0xA85D: 68, + 0xA85E: 68, + 0xA85F: 68, + 0xA860: 68, + 0xA861: 68, + 0xA862: 68, + 0xA863: 68, + 0xA864: 68, + 0xA865: 68, + 0xA866: 68, + 0xA867: 68, + 0xA868: 68, + 0xA869: 68, + 0xA86A: 68, + 0xA86B: 68, + 0xA86C: 68, + 0xA86D: 68, + 0xA86E: 68, + 0xA86F: 68, + 0xA870: 68, + 0xA871: 68, + 0xA872: 76, + 0xA8C4: 84, + 0xA8C5: 84, + 0xA8E0: 84, + 0xA8E1: 84, + 0xA8E2: 84, + 0xA8E3: 84, + 0xA8E4: 84, + 0xA8E5: 84, + 0xA8E6: 84, + 0xA8E7: 84, + 0xA8E8: 84, + 0xA8E9: 84, + 0xA8EA: 84, + 0xA8EB: 84, + 0xA8EC: 84, + 0xA8ED: 84, + 0xA8EE: 84, + 0xA8EF: 84, + 0xA8F0: 84, + 0xA8F1: 84, + 0xA8FF: 84, + 0xA926: 84, + 0xA927: 84, + 0xA928: 84, + 0xA929: 84, + 0xA92A: 84, + 0xA92B: 84, + 0xA92C: 84, + 0xA92D: 84, + 0xA947: 84, + 0xA948: 84, + 0xA949: 84, + 0xA94A: 84, + 0xA94B: 84, + 0xA94C: 84, + 0xA94D: 84, + 0xA94E: 84, + 0xA94F: 84, + 0xA950: 84, + 0xA951: 84, + 0xA980: 84, + 0xA981: 84, + 0xA982: 84, + 0xA9B3: 84, + 0xA9B6: 84, + 0xA9B7: 84, + 0xA9B8: 84, + 0xA9B9: 84, + 0xA9BC: 84, + 0xA9BD: 84, + 0xA9E5: 84, + 0xAA29: 84, + 0xAA2A: 84, + 0xAA2B: 84, + 0xAA2C: 84, + 0xAA2D: 84, + 0xAA2E: 84, + 0xAA31: 84, + 0xAA32: 84, + 0xAA35: 84, + 0xAA36: 84, + 0xAA43: 84, + 0xAA4C: 84, + 0xAA7C: 84, + 0xAAB0: 84, + 0xAAB2: 84, + 0xAAB3: 84, + 0xAAB4: 84, + 0xAAB7: 84, + 0xAAB8: 84, + 0xAABE: 84, + 0xAABF: 84, + 0xAAC1: 84, + 0xAAEC: 84, + 0xAAED: 84, + 0xAAF6: 84, + 0xABE5: 84, + 0xABE8: 84, + 0xABED: 84, + 0xFB1E: 84, + 0xFE00: 84, + 0xFE01: 84, + 0xFE02: 84, + 0xFE03: 84, + 0xFE04: 84, + 0xFE05: 84, + 0xFE06: 84, + 0xFE07: 84, + 0xFE08: 84, + 0xFE09: 84, + 0xFE0A: 84, + 0xFE0B: 84, + 0xFE0C: 84, + 0xFE0D: 84, + 0xFE0E: 84, + 0xFE0F: 84, + 0xFE20: 84, + 0xFE21: 84, + 0xFE22: 84, + 0xFE23: 84, + 0xFE24: 84, + 0xFE25: 84, + 0xFE26: 84, + 0xFE27: 84, + 0xFE28: 84, + 0xFE29: 84, + 0xFE2A: 84, + 0xFE2B: 84, + 0xFE2C: 84, + 0xFE2D: 84, + 0xFE2E: 84, + 0xFE2F: 84, + 0xFEFF: 84, + 0xFFF9: 84, + 0xFFFA: 84, + 0xFFFB: 84, + 0x101FD: 84, + 0x102E0: 84, + 0x10376: 84, + 0x10377: 84, + 0x10378: 84, + 0x10379: 84, + 0x1037A: 84, + 0x10A01: 84, + 0x10A02: 84, + 0x10A03: 84, + 0x10A05: 84, + 0x10A06: 84, + 0x10A0C: 84, + 0x10A0D: 84, + 0x10A0E: 84, + 0x10A0F: 84, + 0x10A38: 84, + 0x10A39: 84, + 0x10A3A: 84, + 0x10A3F: 84, + 0x10AC0: 68, + 0x10AC1: 68, + 0x10AC2: 68, + 0x10AC3: 68, + 0x10AC4: 68, + 0x10AC5: 82, + 0x10AC7: 82, + 0x10AC9: 82, + 0x10ACA: 82, + 0x10ACD: 76, + 0x10ACE: 82, + 0x10ACF: 82, + 0x10AD0: 82, + 0x10AD1: 82, + 0x10AD2: 82, + 0x10AD3: 68, + 0x10AD4: 68, + 0x10AD5: 68, + 0x10AD6: 68, + 0x10AD7: 76, + 0x10AD8: 68, + 0x10AD9: 68, + 0x10ADA: 68, + 0x10ADB: 68, + 0x10ADC: 68, + 0x10ADD: 82, + 0x10ADE: 68, + 0x10ADF: 68, + 0x10AE0: 68, + 0x10AE1: 82, + 0x10AE4: 82, + 0x10AE5: 84, + 0x10AE6: 84, + 0x10AEB: 68, + 0x10AEC: 68, + 0x10AED: 68, + 0x10AEE: 68, + 0x10AEF: 82, + 0x10B80: 68, + 0x10B81: 82, + 0x10B82: 68, + 0x10B83: 82, + 0x10B84: 82, + 0x10B85: 82, + 0x10B86: 68, + 0x10B87: 68, + 0x10B88: 68, + 0x10B89: 82, + 0x10B8A: 68, + 0x10B8B: 68, + 0x10B8C: 82, + 0x10B8D: 68, + 0x10B8E: 82, + 0x10B8F: 82, + 0x10B90: 68, + 0x10B91: 82, + 0x10BA9: 82, + 0x10BAA: 82, + 0x10BAB: 82, + 0x10BAC: 82, + 0x10BAD: 68, + 0x10BAE: 68, + 0x10D00: 76, + 0x10D01: 68, + 0x10D02: 68, + 0x10D03: 68, + 0x10D04: 68, + 0x10D05: 68, + 0x10D06: 68, + 0x10D07: 68, + 0x10D08: 68, + 0x10D09: 68, + 0x10D0A: 68, + 0x10D0B: 68, + 0x10D0C: 68, + 0x10D0D: 68, + 0x10D0E: 68, + 0x10D0F: 68, + 0x10D10: 68, + 0x10D11: 68, + 0x10D12: 68, + 0x10D13: 68, + 0x10D14: 68, + 0x10D15: 68, + 0x10D16: 68, + 0x10D17: 68, + 0x10D18: 68, + 0x10D19: 68, + 0x10D1A: 68, + 0x10D1B: 68, + 0x10D1C: 68, + 0x10D1D: 68, + 0x10D1E: 68, + 0x10D1F: 68, + 0x10D20: 68, + 0x10D21: 68, + 0x10D22: 82, + 0x10D23: 68, + 0x10D24: 84, + 0x10D25: 84, + 0x10D26: 84, + 0x10D27: 84, + 0x10EAB: 84, + 0x10EAC: 84, + 0x10EFD: 84, + 0x10EFE: 84, + 0x10EFF: 84, + 0x10F30: 68, + 0x10F31: 68, + 0x10F32: 68, + 0x10F33: 82, + 0x10F34: 68, + 0x10F35: 68, + 0x10F36: 68, + 0x10F37: 68, + 0x10F38: 68, + 0x10F39: 68, + 0x10F3A: 68, + 0x10F3B: 68, + 0x10F3C: 68, + 0x10F3D: 68, + 0x10F3E: 68, + 0x10F3F: 68, + 0x10F40: 68, + 0x10F41: 68, + 0x10F42: 68, + 0x10F43: 68, + 0x10F44: 68, + 0x10F46: 84, + 0x10F47: 84, + 0x10F48: 84, + 0x10F49: 84, + 0x10F4A: 84, + 0x10F4B: 84, + 0x10F4C: 84, + 0x10F4D: 84, + 0x10F4E: 84, + 0x10F4F: 84, + 0x10F50: 84, + 0x10F51: 68, + 0x10F52: 68, + 0x10F53: 68, + 0x10F54: 82, + 0x10F70: 68, + 0x10F71: 68, + 0x10F72: 68, + 0x10F73: 68, + 0x10F74: 82, + 0x10F75: 82, + 0x10F76: 68, + 0x10F77: 68, + 0x10F78: 68, + 0x10F79: 68, + 0x10F7A: 68, + 0x10F7B: 68, + 0x10F7C: 68, + 0x10F7D: 68, + 0x10F7E: 68, + 0x10F7F: 68, + 0x10F80: 68, + 0x10F81: 68, + 0x10F82: 84, + 0x10F83: 84, + 0x10F84: 84, + 0x10F85: 84, + 0x10FB0: 68, + 0x10FB2: 68, + 0x10FB3: 68, + 0x10FB4: 82, + 0x10FB5: 82, + 0x10FB6: 82, + 0x10FB8: 68, + 0x10FB9: 82, + 0x10FBA: 82, + 0x10FBB: 68, + 0x10FBC: 68, + 0x10FBD: 82, + 0x10FBE: 68, + 0x10FBF: 68, + 0x10FC1: 68, + 0x10FC2: 82, + 0x10FC3: 82, + 0x10FC4: 68, + 0x10FC9: 82, + 0x10FCA: 68, + 0x10FCB: 76, + 0x11001: 84, + 0x11038: 84, + 0x11039: 84, + 0x1103A: 84, + 0x1103B: 84, + 0x1103C: 84, + 0x1103D: 84, + 0x1103E: 84, + 0x1103F: 84, + 0x11040: 84, + 0x11041: 84, + 0x11042: 84, + 0x11043: 84, + 0x11044: 84, + 0x11045: 84, + 0x11046: 84, + 0x11070: 84, + 0x11073: 84, + 0x11074: 84, + 0x1107F: 84, + 0x11080: 84, + 0x11081: 84, + 0x110B3: 84, + 0x110B4: 84, + 0x110B5: 84, + 0x110B6: 84, + 0x110B9: 84, + 0x110BA: 84, + 0x110C2: 84, + 0x11100: 84, + 0x11101: 84, + 0x11102: 84, + 0x11127: 84, + 0x11128: 84, + 0x11129: 84, + 0x1112A: 84, + 0x1112B: 84, + 0x1112D: 84, + 0x1112E: 84, + 0x1112F: 84, + 0x11130: 84, + 0x11131: 84, + 0x11132: 84, + 0x11133: 84, + 0x11134: 84, + 0x11173: 84, + 0x11180: 84, + 0x11181: 84, + 0x111B6: 84, + 0x111B7: 84, + 0x111B8: 84, + 0x111B9: 84, + 0x111BA: 84, + 0x111BB: 84, + 0x111BC: 84, + 0x111BD: 84, + 0x111BE: 84, + 0x111C9: 84, + 0x111CA: 84, + 0x111CB: 84, + 0x111CC: 84, + 0x111CF: 84, + 0x1122F: 84, + 0x11230: 84, + 0x11231: 84, + 0x11234: 84, + 0x11236: 84, + 0x11237: 84, + 0x1123E: 84, + 0x11241: 84, + 0x112DF: 84, + 0x112E3: 84, + 0x112E4: 84, + 0x112E5: 84, + 0x112E6: 84, + 0x112E7: 84, + 0x112E8: 84, + 0x112E9: 84, + 0x112EA: 84, + 0x11300: 84, + 0x11301: 84, + 0x1133B: 84, + 0x1133C: 84, + 0x11340: 84, + 0x11366: 84, + 0x11367: 84, + 0x11368: 84, + 0x11369: 84, + 0x1136A: 84, + 0x1136B: 84, + 0x1136C: 84, + 0x11370: 84, + 0x11371: 84, + 0x11372: 84, + 0x11373: 84, + 0x11374: 84, + 0x11438: 84, + 0x11439: 84, + 0x1143A: 84, + 0x1143B: 84, + 0x1143C: 84, + 0x1143D: 84, + 0x1143E: 84, + 0x1143F: 84, + 0x11442: 84, + 0x11443: 84, + 0x11444: 84, + 0x11446: 84, + 0x1145E: 84, + 0x114B3: 84, + 0x114B4: 84, + 0x114B5: 84, + 0x114B6: 84, + 0x114B7: 84, + 0x114B8: 84, + 0x114BA: 84, + 0x114BF: 84, + 0x114C0: 84, + 0x114C2: 84, + 0x114C3: 84, + 0x115B2: 84, + 0x115B3: 84, + 0x115B4: 84, + 0x115B5: 84, + 0x115BC: 84, + 0x115BD: 84, + 0x115BF: 84, + 0x115C0: 84, + 0x115DC: 84, + 0x115DD: 84, + 0x11633: 84, + 0x11634: 84, + 0x11635: 84, + 0x11636: 84, + 0x11637: 84, + 0x11638: 84, + 0x11639: 84, + 0x1163A: 84, + 0x1163D: 84, + 0x1163F: 84, + 0x11640: 84, + 0x116AB: 84, + 0x116AD: 84, + 0x116B0: 84, + 0x116B1: 84, + 0x116B2: 84, + 0x116B3: 84, + 0x116B4: 84, + 0x116B5: 84, + 0x116B7: 84, + 0x1171D: 84, + 0x1171E: 84, + 0x1171F: 84, + 0x11722: 84, + 0x11723: 84, + 0x11724: 84, + 0x11725: 84, + 0x11727: 84, + 0x11728: 84, + 0x11729: 84, + 0x1172A: 84, + 0x1172B: 84, + 0x1182F: 84, + 0x11830: 84, + 0x11831: 84, + 0x11832: 84, + 0x11833: 84, + 0x11834: 84, + 0x11835: 84, + 0x11836: 84, + 0x11837: 84, + 0x11839: 84, + 0x1183A: 84, + 0x1193B: 84, + 0x1193C: 84, + 0x1193E: 84, + 0x11943: 84, + 0x119D4: 84, + 0x119D5: 84, + 0x119D6: 84, + 0x119D7: 84, + 0x119DA: 84, + 0x119DB: 84, + 0x119E0: 84, + 0x11A01: 84, + 0x11A02: 84, + 0x11A03: 84, + 0x11A04: 84, + 0x11A05: 84, + 0x11A06: 84, + 0x11A07: 84, + 0x11A08: 84, + 0x11A09: 84, + 0x11A0A: 84, + 0x11A33: 84, + 0x11A34: 84, + 0x11A35: 84, + 0x11A36: 84, + 0x11A37: 84, + 0x11A38: 84, + 0x11A3B: 84, + 0x11A3C: 84, + 0x11A3D: 84, + 0x11A3E: 84, + 0x11A47: 84, + 0x11A51: 84, + 0x11A52: 84, + 0x11A53: 84, + 0x11A54: 84, + 0x11A55: 84, + 0x11A56: 84, + 0x11A59: 84, + 0x11A5A: 84, + 0x11A5B: 84, + 0x11A8A: 84, + 0x11A8B: 84, + 0x11A8C: 84, + 0x11A8D: 84, + 0x11A8E: 84, + 0x11A8F: 84, + 0x11A90: 84, + 0x11A91: 84, + 0x11A92: 84, + 0x11A93: 84, + 0x11A94: 84, + 0x11A95: 84, + 0x11A96: 84, + 0x11A98: 84, + 0x11A99: 84, + 0x11C30: 84, + 0x11C31: 84, + 0x11C32: 84, + 0x11C33: 84, + 0x11C34: 84, + 0x11C35: 84, + 0x11C36: 84, + 0x11C38: 84, + 0x11C39: 84, + 0x11C3A: 84, + 0x11C3B: 84, + 0x11C3C: 84, + 0x11C3D: 84, + 0x11C3F: 84, + 0x11C92: 84, + 0x11C93: 84, + 0x11C94: 84, + 0x11C95: 84, + 0x11C96: 84, + 0x11C97: 84, + 0x11C98: 84, + 0x11C99: 84, + 0x11C9A: 84, + 0x11C9B: 84, + 0x11C9C: 84, + 0x11C9D: 84, + 0x11C9E: 84, + 0x11C9F: 84, + 0x11CA0: 84, + 0x11CA1: 84, + 0x11CA2: 84, + 0x11CA3: 84, + 0x11CA4: 84, + 0x11CA5: 84, + 0x11CA6: 84, + 0x11CA7: 84, + 0x11CAA: 84, + 0x11CAB: 84, + 0x11CAC: 84, + 0x11CAD: 84, + 0x11CAE: 84, + 0x11CAF: 84, + 0x11CB0: 84, + 0x11CB2: 84, + 0x11CB3: 84, + 0x11CB5: 84, + 0x11CB6: 84, + 0x11D31: 84, + 0x11D32: 84, + 0x11D33: 84, + 0x11D34: 84, + 0x11D35: 84, + 0x11D36: 84, + 0x11D3A: 84, + 0x11D3C: 84, + 0x11D3D: 84, + 0x11D3F: 84, + 0x11D40: 84, + 0x11D41: 84, + 0x11D42: 84, + 0x11D43: 84, + 0x11D44: 84, + 0x11D45: 84, + 0x11D47: 84, + 0x11D90: 84, + 0x11D91: 84, + 0x11D95: 84, + 0x11D97: 84, + 0x11EF3: 84, + 0x11EF4: 84, + 0x11F00: 84, + 0x11F01: 84, + 0x11F36: 84, + 0x11F37: 84, + 0x11F38: 84, + 0x11F39: 84, + 0x11F3A: 84, + 0x11F40: 84, + 0x11F42: 84, + 0x13430: 84, + 0x13431: 84, + 0x13432: 84, + 0x13433: 84, + 0x13434: 84, + 0x13435: 84, + 0x13436: 84, + 0x13437: 84, + 0x13438: 84, + 0x13439: 84, + 0x1343A: 84, + 0x1343B: 84, + 0x1343C: 84, + 0x1343D: 84, + 0x1343E: 84, + 0x1343F: 84, + 0x13440: 84, + 0x13447: 84, + 0x13448: 84, + 0x13449: 84, + 0x1344A: 84, + 0x1344B: 84, + 0x1344C: 84, + 0x1344D: 84, + 0x1344E: 84, + 0x1344F: 84, + 0x13450: 84, + 0x13451: 84, + 0x13452: 84, + 0x13453: 84, + 0x13454: 84, + 0x13455: 84, + 0x16AF0: 84, + 0x16AF1: 84, + 0x16AF2: 84, + 0x16AF3: 84, + 0x16AF4: 84, + 0x16B30: 84, + 0x16B31: 84, + 0x16B32: 84, + 0x16B33: 84, + 0x16B34: 84, + 0x16B35: 84, + 0x16B36: 84, + 0x16F4F: 84, + 0x16F8F: 84, + 0x16F90: 84, + 0x16F91: 84, + 0x16F92: 84, + 0x16FE4: 84, + 0x1BC9D: 84, + 0x1BC9E: 84, + 0x1BCA0: 84, + 0x1BCA1: 84, + 0x1BCA2: 84, + 0x1BCA3: 84, + 0x1CF00: 84, + 0x1CF01: 84, + 0x1CF02: 84, + 0x1CF03: 84, + 0x1CF04: 84, + 0x1CF05: 84, + 0x1CF06: 84, + 0x1CF07: 84, + 0x1CF08: 84, + 0x1CF09: 84, + 0x1CF0A: 84, + 0x1CF0B: 84, + 0x1CF0C: 84, + 0x1CF0D: 84, + 0x1CF0E: 84, + 0x1CF0F: 84, + 0x1CF10: 84, + 0x1CF11: 84, + 0x1CF12: 84, + 0x1CF13: 84, + 0x1CF14: 84, + 0x1CF15: 84, + 0x1CF16: 84, + 0x1CF17: 84, + 0x1CF18: 84, + 0x1CF19: 84, + 0x1CF1A: 84, + 0x1CF1B: 84, + 0x1CF1C: 84, + 0x1CF1D: 84, + 0x1CF1E: 84, + 0x1CF1F: 84, + 0x1CF20: 84, + 0x1CF21: 84, + 0x1CF22: 84, + 0x1CF23: 84, + 0x1CF24: 84, + 0x1CF25: 84, + 0x1CF26: 84, + 0x1CF27: 84, + 0x1CF28: 84, + 0x1CF29: 84, + 0x1CF2A: 84, + 0x1CF2B: 84, + 0x1CF2C: 84, + 0x1CF2D: 84, + 0x1CF30: 84, + 0x1CF31: 84, + 0x1CF32: 84, + 0x1CF33: 84, + 0x1CF34: 84, + 0x1CF35: 84, + 0x1CF36: 84, + 0x1CF37: 84, + 0x1CF38: 84, + 0x1CF39: 84, + 0x1CF3A: 84, + 0x1CF3B: 84, + 0x1CF3C: 84, + 0x1CF3D: 84, + 0x1CF3E: 84, + 0x1CF3F: 84, + 0x1CF40: 84, + 0x1CF41: 84, + 0x1CF42: 84, + 0x1CF43: 84, + 0x1CF44: 84, + 0x1CF45: 84, + 0x1CF46: 84, + 0x1D167: 84, + 0x1D168: 84, + 0x1D169: 84, + 0x1D173: 84, + 0x1D174: 84, + 0x1D175: 84, + 0x1D176: 84, + 0x1D177: 84, + 0x1D178: 84, + 0x1D179: 84, + 0x1D17A: 84, + 0x1D17B: 84, + 0x1D17C: 84, + 0x1D17D: 84, + 0x1D17E: 84, + 0x1D17F: 84, + 0x1D180: 84, + 0x1D181: 84, + 0x1D182: 84, + 0x1D185: 84, + 0x1D186: 84, + 0x1D187: 84, + 0x1D188: 84, + 0x1D189: 84, + 0x1D18A: 84, + 0x1D18B: 84, + 0x1D1AA: 84, + 0x1D1AB: 84, + 0x1D1AC: 84, + 0x1D1AD: 84, + 0x1D242: 84, + 0x1D243: 84, + 0x1D244: 84, + 0x1DA00: 84, + 0x1DA01: 84, + 0x1DA02: 84, + 0x1DA03: 84, + 0x1DA04: 84, + 0x1DA05: 84, + 0x1DA06: 84, + 0x1DA07: 84, + 0x1DA08: 84, + 0x1DA09: 84, + 0x1DA0A: 84, + 0x1DA0B: 84, + 0x1DA0C: 84, + 0x1DA0D: 84, + 0x1DA0E: 84, + 0x1DA0F: 84, + 0x1DA10: 84, + 0x1DA11: 84, + 0x1DA12: 84, + 0x1DA13: 84, + 0x1DA14: 84, + 0x1DA15: 84, + 0x1DA16: 84, + 0x1DA17: 84, + 0x1DA18: 84, + 0x1DA19: 84, + 0x1DA1A: 84, + 0x1DA1B: 84, + 0x1DA1C: 84, + 0x1DA1D: 84, + 0x1DA1E: 84, + 0x1DA1F: 84, + 0x1DA20: 84, + 0x1DA21: 84, + 0x1DA22: 84, + 0x1DA23: 84, + 0x1DA24: 84, + 0x1DA25: 84, + 0x1DA26: 84, + 0x1DA27: 84, + 0x1DA28: 84, + 0x1DA29: 84, + 0x1DA2A: 84, + 0x1DA2B: 84, + 0x1DA2C: 84, + 0x1DA2D: 84, + 0x1DA2E: 84, + 0x1DA2F: 84, + 0x1DA30: 84, + 0x1DA31: 84, + 0x1DA32: 84, + 0x1DA33: 84, + 0x1DA34: 84, + 0x1DA35: 84, + 0x1DA36: 84, + 0x1DA3B: 84, + 0x1DA3C: 84, + 0x1DA3D: 84, + 0x1DA3E: 84, + 0x1DA3F: 84, + 0x1DA40: 84, + 0x1DA41: 84, + 0x1DA42: 84, + 0x1DA43: 84, + 0x1DA44: 84, + 0x1DA45: 84, + 0x1DA46: 84, + 0x1DA47: 84, + 0x1DA48: 84, + 0x1DA49: 84, + 0x1DA4A: 84, + 0x1DA4B: 84, + 0x1DA4C: 84, + 0x1DA4D: 84, + 0x1DA4E: 84, + 0x1DA4F: 84, + 0x1DA50: 84, + 0x1DA51: 84, + 0x1DA52: 84, + 0x1DA53: 84, + 0x1DA54: 84, + 0x1DA55: 84, + 0x1DA56: 84, + 0x1DA57: 84, + 0x1DA58: 84, + 0x1DA59: 84, + 0x1DA5A: 84, + 0x1DA5B: 84, + 0x1DA5C: 84, + 0x1DA5D: 84, + 0x1DA5E: 84, + 0x1DA5F: 84, + 0x1DA60: 84, + 0x1DA61: 84, + 0x1DA62: 84, + 0x1DA63: 84, + 0x1DA64: 84, + 0x1DA65: 84, + 0x1DA66: 84, + 0x1DA67: 84, + 0x1DA68: 84, + 0x1DA69: 84, + 0x1DA6A: 84, + 0x1DA6B: 84, + 0x1DA6C: 84, + 0x1DA75: 84, + 0x1DA84: 84, + 0x1DA9B: 84, + 0x1DA9C: 84, + 0x1DA9D: 84, + 0x1DA9E: 84, + 0x1DA9F: 84, + 0x1DAA1: 84, + 0x1DAA2: 84, + 0x1DAA3: 84, + 0x1DAA4: 84, + 0x1DAA5: 84, + 0x1DAA6: 84, + 0x1DAA7: 84, + 0x1DAA8: 84, + 0x1DAA9: 84, + 0x1DAAA: 84, + 0x1DAAB: 84, + 0x1DAAC: 84, + 0x1DAAD: 84, + 0x1DAAE: 84, + 0x1DAAF: 84, + 0x1E000: 84, + 0x1E001: 84, + 0x1E002: 84, + 0x1E003: 84, + 0x1E004: 84, + 0x1E005: 84, + 0x1E006: 84, + 0x1E008: 84, + 0x1E009: 84, + 0x1E00A: 84, + 0x1E00B: 84, + 0x1E00C: 84, + 0x1E00D: 84, + 0x1E00E: 84, + 0x1E00F: 84, + 0x1E010: 84, + 0x1E011: 84, + 0x1E012: 84, + 0x1E013: 84, + 0x1E014: 84, + 0x1E015: 84, + 0x1E016: 84, + 0x1E017: 84, + 0x1E018: 84, + 0x1E01B: 84, + 0x1E01C: 84, + 0x1E01D: 84, + 0x1E01E: 84, + 0x1E01F: 84, + 0x1E020: 84, + 0x1E021: 84, + 0x1E023: 84, + 0x1E024: 84, + 0x1E026: 84, + 0x1E027: 84, + 0x1E028: 84, + 0x1E029: 84, + 0x1E02A: 84, + 0x1E08F: 84, + 0x1E130: 84, + 0x1E131: 84, + 0x1E132: 84, + 0x1E133: 84, + 0x1E134: 84, + 0x1E135: 84, + 0x1E136: 84, + 0x1E2AE: 84, + 0x1E2EC: 84, + 0x1E2ED: 84, + 0x1E2EE: 84, + 0x1E2EF: 84, + 0x1E4EC: 84, + 0x1E4ED: 84, + 0x1E4EE: 84, + 0x1E4EF: 84, + 0x1E8D0: 84, + 0x1E8D1: 84, + 0x1E8D2: 84, + 0x1E8D3: 84, + 0x1E8D4: 84, + 0x1E8D5: 84, + 0x1E8D6: 84, + 0x1E900: 68, + 0x1E901: 68, + 0x1E902: 68, + 0x1E903: 68, + 0x1E904: 68, + 0x1E905: 68, + 0x1E906: 68, + 0x1E907: 68, + 0x1E908: 68, + 0x1E909: 68, + 0x1E90A: 68, + 0x1E90B: 68, + 0x1E90C: 68, + 0x1E90D: 68, + 0x1E90E: 68, + 0x1E90F: 68, + 0x1E910: 68, + 0x1E911: 68, + 0x1E912: 68, + 0x1E913: 68, + 0x1E914: 68, + 0x1E915: 68, + 0x1E916: 68, + 0x1E917: 68, + 0x1E918: 68, + 0x1E919: 68, + 0x1E91A: 68, + 0x1E91B: 68, + 0x1E91C: 68, + 0x1E91D: 68, + 0x1E91E: 68, + 0x1E91F: 68, + 0x1E920: 68, + 0x1E921: 68, + 0x1E922: 68, + 0x1E923: 68, + 0x1E924: 68, + 0x1E925: 68, + 0x1E926: 68, + 0x1E927: 68, + 0x1E928: 68, + 0x1E929: 68, + 0x1E92A: 68, + 0x1E92B: 68, + 0x1E92C: 68, + 0x1E92D: 68, + 0x1E92E: 68, + 0x1E92F: 68, + 0x1E930: 68, + 0x1E931: 68, + 0x1E932: 68, + 0x1E933: 68, + 0x1E934: 68, + 0x1E935: 68, + 0x1E936: 68, + 0x1E937: 68, + 0x1E938: 68, + 0x1E939: 68, + 0x1E93A: 68, + 0x1E93B: 68, + 0x1E93C: 68, + 0x1E93D: 68, + 0x1E93E: 68, + 0x1E93F: 68, + 0x1E940: 68, + 0x1E941: 68, + 0x1E942: 68, + 0x1E943: 68, + 0x1E944: 84, + 0x1E945: 84, + 0x1E946: 84, + 0x1E947: 84, + 0x1E948: 84, + 0x1E949: 84, + 0x1E94A: 84, + 0x1E94B: 84, + 0xE0001: 84, + 0xE0020: 84, + 0xE0021: 84, + 0xE0022: 84, + 0xE0023: 84, + 0xE0024: 84, + 0xE0025: 84, + 0xE0026: 84, + 0xE0027: 84, + 0xE0028: 84, + 0xE0029: 84, + 0xE002A: 84, + 0xE002B: 84, + 0xE002C: 84, + 0xE002D: 84, + 0xE002E: 84, + 0xE002F: 84, + 0xE0030: 84, + 0xE0031: 84, + 0xE0032: 84, + 0xE0033: 84, + 0xE0034: 84, + 0xE0035: 84, + 0xE0036: 84, + 0xE0037: 84, + 0xE0038: 84, + 0xE0039: 84, + 0xE003A: 84, + 0xE003B: 84, + 0xE003C: 84, + 0xE003D: 84, + 0xE003E: 84, + 0xE003F: 84, + 0xE0040: 84, + 0xE0041: 84, + 0xE0042: 84, + 0xE0043: 84, + 0xE0044: 84, + 0xE0045: 84, + 0xE0046: 84, + 0xE0047: 84, + 0xE0048: 84, + 0xE0049: 84, + 0xE004A: 84, + 0xE004B: 84, + 0xE004C: 84, + 0xE004D: 84, + 0xE004E: 84, + 0xE004F: 84, + 0xE0050: 84, + 0xE0051: 84, + 0xE0052: 84, + 0xE0053: 84, + 0xE0054: 84, + 0xE0055: 84, + 0xE0056: 84, + 0xE0057: 84, + 0xE0058: 84, + 0xE0059: 84, + 0xE005A: 84, + 0xE005B: 84, + 0xE005C: 84, + 0xE005D: 84, + 0xE005E: 84, + 0xE005F: 84, + 0xE0060: 84, + 0xE0061: 84, + 0xE0062: 84, + 0xE0063: 84, + 0xE0064: 84, + 0xE0065: 84, + 0xE0066: 84, + 0xE0067: 84, + 0xE0068: 84, + 0xE0069: 84, + 0xE006A: 84, + 0xE006B: 84, + 0xE006C: 84, + 0xE006D: 84, + 0xE006E: 84, + 0xE006F: 84, + 0xE0070: 84, + 0xE0071: 84, + 0xE0072: 84, + 0xE0073: 84, + 0xE0074: 84, + 0xE0075: 84, + 0xE0076: 84, + 0xE0077: 84, + 0xE0078: 84, + 0xE0079: 84, + 0xE007A: 84, + 0xE007B: 84, + 0xE007C: 84, + 0xE007D: 84, + 0xE007E: 84, + 0xE007F: 84, + 0xE0100: 84, + 0xE0101: 84, + 0xE0102: 84, + 0xE0103: 84, + 0xE0104: 84, + 0xE0105: 84, + 0xE0106: 84, + 0xE0107: 84, + 0xE0108: 84, + 0xE0109: 84, + 0xE010A: 84, + 0xE010B: 84, + 0xE010C: 84, + 0xE010D: 84, + 0xE010E: 84, + 0xE010F: 84, + 0xE0110: 84, + 0xE0111: 84, + 0xE0112: 84, + 0xE0113: 84, + 0xE0114: 84, + 0xE0115: 84, + 0xE0116: 84, + 0xE0117: 84, + 0xE0118: 84, + 0xE0119: 84, + 0xE011A: 84, + 0xE011B: 84, + 0xE011C: 84, + 0xE011D: 84, + 0xE011E: 84, + 0xE011F: 84, + 0xE0120: 84, + 0xE0121: 84, + 0xE0122: 84, + 0xE0123: 84, + 0xE0124: 84, + 0xE0125: 84, + 0xE0126: 84, + 0xE0127: 84, + 0xE0128: 84, + 0xE0129: 84, + 0xE012A: 84, + 0xE012B: 84, + 0xE012C: 84, + 0xE012D: 84, + 0xE012E: 84, + 0xE012F: 84, + 0xE0130: 84, + 0xE0131: 84, + 0xE0132: 84, + 0xE0133: 84, + 0xE0134: 84, + 0xE0135: 84, + 0xE0136: 84, + 0xE0137: 84, + 0xE0138: 84, + 0xE0139: 84, + 0xE013A: 84, + 0xE013B: 84, + 0xE013C: 84, + 0xE013D: 84, + 0xE013E: 84, + 0xE013F: 84, + 0xE0140: 84, + 0xE0141: 84, + 0xE0142: 84, + 0xE0143: 84, + 0xE0144: 84, + 0xE0145: 84, + 0xE0146: 84, + 0xE0147: 84, + 0xE0148: 84, + 0xE0149: 84, + 0xE014A: 84, + 0xE014B: 84, + 0xE014C: 84, + 0xE014D: 84, + 0xE014E: 84, + 0xE014F: 84, + 0xE0150: 84, + 0xE0151: 84, + 0xE0152: 84, + 0xE0153: 84, + 0xE0154: 84, + 0xE0155: 84, + 0xE0156: 84, + 0xE0157: 84, + 0xE0158: 84, + 0xE0159: 84, + 0xE015A: 84, + 0xE015B: 84, + 0xE015C: 84, + 0xE015D: 84, + 0xE015E: 84, + 0xE015F: 84, + 0xE0160: 84, + 0xE0161: 84, + 0xE0162: 84, + 0xE0163: 84, + 0xE0164: 84, + 0xE0165: 84, + 0xE0166: 84, + 0xE0167: 84, + 0xE0168: 84, + 0xE0169: 84, + 0xE016A: 84, + 0xE016B: 84, + 0xE016C: 84, + 0xE016D: 84, + 0xE016E: 84, + 0xE016F: 84, + 0xE0170: 84, + 0xE0171: 84, + 0xE0172: 84, + 0xE0173: 84, + 0xE0174: 84, + 0xE0175: 84, + 0xE0176: 84, + 0xE0177: 84, + 0xE0178: 84, + 0xE0179: 84, + 0xE017A: 84, + 0xE017B: 84, + 0xE017C: 84, + 0xE017D: 84, + 0xE017E: 84, + 0xE017F: 84, + 0xE0180: 84, + 0xE0181: 84, + 0xE0182: 84, + 0xE0183: 84, + 0xE0184: 84, + 0xE0185: 84, + 0xE0186: 84, + 0xE0187: 84, + 0xE0188: 84, + 0xE0189: 84, + 0xE018A: 84, + 0xE018B: 84, + 0xE018C: 84, + 0xE018D: 84, + 0xE018E: 84, + 0xE018F: 84, + 0xE0190: 84, + 0xE0191: 84, + 0xE0192: 84, + 0xE0193: 84, + 0xE0194: 84, + 0xE0195: 84, + 0xE0196: 84, + 0xE0197: 84, + 0xE0198: 84, + 0xE0199: 84, + 0xE019A: 84, + 0xE019B: 84, + 0xE019C: 84, + 0xE019D: 84, + 0xE019E: 84, + 0xE019F: 84, + 0xE01A0: 84, + 0xE01A1: 84, + 0xE01A2: 84, + 0xE01A3: 84, + 0xE01A4: 84, + 0xE01A5: 84, + 0xE01A6: 84, + 0xE01A7: 84, + 0xE01A8: 84, + 0xE01A9: 84, + 0xE01AA: 84, + 0xE01AB: 84, + 0xE01AC: 84, + 0xE01AD: 84, + 0xE01AE: 84, + 0xE01AF: 84, + 0xE01B0: 84, + 0xE01B1: 84, + 0xE01B2: 84, + 0xE01B3: 84, + 0xE01B4: 84, + 0xE01B5: 84, + 0xE01B6: 84, + 0xE01B7: 84, + 0xE01B8: 84, + 0xE01B9: 84, + 0xE01BA: 84, + 0xE01BB: 84, + 0xE01BC: 84, + 0xE01BD: 84, + 0xE01BE: 84, + 0xE01BF: 84, + 0xE01C0: 84, + 0xE01C1: 84, + 0xE01C2: 84, + 0xE01C3: 84, + 0xE01C4: 84, + 0xE01C5: 84, + 0xE01C6: 84, + 0xE01C7: 84, + 0xE01C8: 84, + 0xE01C9: 84, + 0xE01CA: 84, + 0xE01CB: 84, + 0xE01CC: 84, + 0xE01CD: 84, + 0xE01CE: 84, + 0xE01CF: 84, + 0xE01D0: 84, + 0xE01D1: 84, + 0xE01D2: 84, + 0xE01D3: 84, + 0xE01D4: 84, + 0xE01D5: 84, + 0xE01D6: 84, + 0xE01D7: 84, + 0xE01D8: 84, + 0xE01D9: 84, + 0xE01DA: 84, + 0xE01DB: 84, + 0xE01DC: 84, + 0xE01DD: 84, + 0xE01DE: 84, + 0xE01DF: 84, + 0xE01E0: 84, + 0xE01E1: 84, + 0xE01E2: 84, + 0xE01E3: 84, + 0xE01E4: 84, + 0xE01E5: 84, + 0xE01E6: 84, + 0xE01E7: 84, + 0xE01E8: 84, + 0xE01E9: 84, + 0xE01EA: 84, + 0xE01EB: 84, + 0xE01EC: 84, + 0xE01ED: 84, + 0xE01EE: 84, + 0xE01EF: 84, +} +codepoint_classes = { + "PVALID": ( + 0x2D0000002E, + 0x300000003A, + 0x610000007B, + 0xDF000000F7, + 0xF800000100, + 0x10100000102, + 0x10300000104, + 0x10500000106, + 0x10700000108, + 0x1090000010A, + 0x10B0000010C, + 0x10D0000010E, + 0x10F00000110, + 0x11100000112, + 0x11300000114, + 0x11500000116, + 0x11700000118, + 0x1190000011A, + 0x11B0000011C, + 0x11D0000011E, + 0x11F00000120, + 0x12100000122, + 0x12300000124, + 0x12500000126, + 0x12700000128, + 0x1290000012A, + 0x12B0000012C, + 0x12D0000012E, + 0x12F00000130, + 0x13100000132, + 0x13500000136, + 0x13700000139, + 0x13A0000013B, + 0x13C0000013D, + 0x13E0000013F, + 0x14200000143, + 0x14400000145, + 0x14600000147, + 0x14800000149, + 0x14B0000014C, + 0x14D0000014E, + 0x14F00000150, + 0x15100000152, + 0x15300000154, + 0x15500000156, + 0x15700000158, + 0x1590000015A, + 0x15B0000015C, + 0x15D0000015E, + 0x15F00000160, + 0x16100000162, + 0x16300000164, + 0x16500000166, + 0x16700000168, + 0x1690000016A, + 0x16B0000016C, + 0x16D0000016E, + 0x16F00000170, + 0x17100000172, + 0x17300000174, + 0x17500000176, + 0x17700000178, + 0x17A0000017B, + 0x17C0000017D, + 0x17E0000017F, + 0x18000000181, + 0x18300000184, + 0x18500000186, + 0x18800000189, + 0x18C0000018E, + 0x19200000193, + 0x19500000196, + 0x1990000019C, + 0x19E0000019F, + 0x1A1000001A2, + 0x1A3000001A4, + 0x1A5000001A6, + 0x1A8000001A9, + 0x1AA000001AC, + 0x1AD000001AE, + 0x1B0000001B1, + 0x1B4000001B5, + 0x1B6000001B7, + 0x1B9000001BC, + 0x1BD000001C4, + 0x1CE000001CF, + 0x1D0000001D1, + 0x1D2000001D3, + 0x1D4000001D5, + 0x1D6000001D7, + 0x1D8000001D9, + 0x1DA000001DB, + 0x1DC000001DE, + 0x1DF000001E0, + 0x1E1000001E2, + 0x1E3000001E4, + 0x1E5000001E6, + 0x1E7000001E8, + 0x1E9000001EA, + 0x1EB000001EC, + 0x1ED000001EE, + 0x1EF000001F1, + 0x1F5000001F6, + 0x1F9000001FA, + 0x1FB000001FC, + 0x1FD000001FE, + 0x1FF00000200, + 0x20100000202, + 0x20300000204, + 0x20500000206, + 0x20700000208, + 0x2090000020A, + 0x20B0000020C, + 0x20D0000020E, + 0x20F00000210, + 0x21100000212, + 0x21300000214, + 0x21500000216, + 0x21700000218, + 0x2190000021A, + 0x21B0000021C, + 0x21D0000021E, + 0x21F00000220, + 0x22100000222, + 0x22300000224, + 0x22500000226, + 0x22700000228, + 0x2290000022A, + 0x22B0000022C, + 0x22D0000022E, + 0x22F00000230, + 0x23100000232, + 0x2330000023A, + 0x23C0000023D, + 0x23F00000241, + 0x24200000243, + 0x24700000248, + 0x2490000024A, + 0x24B0000024C, + 0x24D0000024E, + 0x24F000002B0, + 0x2B9000002C2, + 0x2C6000002D2, + 0x2EC000002ED, + 0x2EE000002EF, + 0x30000000340, + 0x34200000343, + 0x3460000034F, + 0x35000000370, + 0x37100000372, + 0x37300000374, + 0x37700000378, + 0x37B0000037E, + 0x39000000391, + 0x3AC000003CF, + 0x3D7000003D8, + 0x3D9000003DA, + 0x3DB000003DC, + 0x3DD000003DE, + 0x3DF000003E0, + 0x3E1000003E2, + 0x3E3000003E4, + 0x3E5000003E6, + 0x3E7000003E8, + 0x3E9000003EA, + 0x3EB000003EC, + 0x3ED000003EE, + 0x3EF000003F0, + 0x3F3000003F4, + 0x3F8000003F9, + 0x3FB000003FD, + 0x43000000460, + 0x46100000462, + 0x46300000464, + 0x46500000466, + 0x46700000468, + 0x4690000046A, + 0x46B0000046C, + 0x46D0000046E, + 0x46F00000470, + 0x47100000472, + 0x47300000474, + 0x47500000476, + 0x47700000478, + 0x4790000047A, + 0x47B0000047C, + 0x47D0000047E, + 0x47F00000480, + 0x48100000482, + 0x48300000488, + 0x48B0000048C, + 0x48D0000048E, + 0x48F00000490, + 0x49100000492, + 0x49300000494, + 0x49500000496, + 0x49700000498, + 0x4990000049A, + 0x49B0000049C, + 0x49D0000049E, + 0x49F000004A0, + 0x4A1000004A2, + 0x4A3000004A4, + 0x4A5000004A6, + 0x4A7000004A8, + 0x4A9000004AA, + 0x4AB000004AC, + 0x4AD000004AE, + 0x4AF000004B0, + 0x4B1000004B2, + 0x4B3000004B4, + 0x4B5000004B6, + 0x4B7000004B8, + 0x4B9000004BA, + 0x4BB000004BC, + 0x4BD000004BE, + 0x4BF000004C0, + 0x4C2000004C3, + 0x4C4000004C5, + 0x4C6000004C7, + 0x4C8000004C9, + 0x4CA000004CB, + 0x4CC000004CD, + 0x4CE000004D0, + 0x4D1000004D2, + 0x4D3000004D4, + 0x4D5000004D6, + 0x4D7000004D8, + 0x4D9000004DA, + 0x4DB000004DC, + 0x4DD000004DE, + 0x4DF000004E0, + 0x4E1000004E2, + 0x4E3000004E4, + 0x4E5000004E6, + 0x4E7000004E8, + 0x4E9000004EA, + 0x4EB000004EC, + 0x4ED000004EE, + 0x4EF000004F0, + 0x4F1000004F2, + 0x4F3000004F4, + 0x4F5000004F6, + 0x4F7000004F8, + 0x4F9000004FA, + 0x4FB000004FC, + 0x4FD000004FE, + 0x4FF00000500, + 0x50100000502, + 0x50300000504, + 0x50500000506, + 0x50700000508, + 0x5090000050A, + 0x50B0000050C, + 0x50D0000050E, + 0x50F00000510, + 0x51100000512, + 0x51300000514, + 0x51500000516, + 0x51700000518, + 0x5190000051A, + 0x51B0000051C, + 0x51D0000051E, + 0x51F00000520, + 0x52100000522, + 0x52300000524, + 0x52500000526, + 0x52700000528, + 0x5290000052A, + 0x52B0000052C, + 0x52D0000052E, + 0x52F00000530, + 0x5590000055A, + 0x56000000587, + 0x58800000589, + 0x591000005BE, + 0x5BF000005C0, + 0x5C1000005C3, + 0x5C4000005C6, + 0x5C7000005C8, + 0x5D0000005EB, + 0x5EF000005F3, + 0x6100000061B, + 0x62000000640, + 0x64100000660, + 0x66E00000675, + 0x679000006D4, + 0x6D5000006DD, + 0x6DF000006E9, + 0x6EA000006F0, + 0x6FA00000700, + 0x7100000074B, + 0x74D000007B2, + 0x7C0000007F6, + 0x7FD000007FE, + 0x8000000082E, + 0x8400000085C, + 0x8600000086B, + 0x87000000888, + 0x8890000088F, + 0x898000008E2, + 0x8E300000958, + 0x96000000964, + 0x96600000970, + 0x97100000984, + 0x9850000098D, + 0x98F00000991, + 0x993000009A9, + 0x9AA000009B1, + 0x9B2000009B3, + 0x9B6000009BA, + 0x9BC000009C5, + 0x9C7000009C9, + 0x9CB000009CF, + 0x9D7000009D8, + 0x9E0000009E4, + 0x9E6000009F2, + 0x9FC000009FD, + 0x9FE000009FF, + 0xA0100000A04, + 0xA0500000A0B, + 0xA0F00000A11, + 0xA1300000A29, + 0xA2A00000A31, + 0xA3200000A33, + 0xA3500000A36, + 0xA3800000A3A, + 0xA3C00000A3D, + 0xA3E00000A43, + 0xA4700000A49, + 0xA4B00000A4E, + 0xA5100000A52, + 0xA5C00000A5D, + 0xA6600000A76, + 0xA8100000A84, + 0xA8500000A8E, + 0xA8F00000A92, + 0xA9300000AA9, + 0xAAA00000AB1, + 0xAB200000AB4, + 0xAB500000ABA, + 0xABC00000AC6, + 0xAC700000ACA, + 0xACB00000ACE, + 0xAD000000AD1, + 0xAE000000AE4, + 0xAE600000AF0, + 0xAF900000B00, + 0xB0100000B04, + 0xB0500000B0D, + 0xB0F00000B11, + 0xB1300000B29, + 0xB2A00000B31, + 0xB3200000B34, + 0xB3500000B3A, + 0xB3C00000B45, + 0xB4700000B49, + 0xB4B00000B4E, + 0xB5500000B58, + 0xB5F00000B64, + 0xB6600000B70, + 0xB7100000B72, + 0xB8200000B84, + 0xB8500000B8B, + 0xB8E00000B91, + 0xB9200000B96, + 0xB9900000B9B, + 0xB9C00000B9D, + 0xB9E00000BA0, + 0xBA300000BA5, + 0xBA800000BAB, + 0xBAE00000BBA, + 0xBBE00000BC3, + 0xBC600000BC9, + 0xBCA00000BCE, + 0xBD000000BD1, + 0xBD700000BD8, + 0xBE600000BF0, + 0xC0000000C0D, + 0xC0E00000C11, + 0xC1200000C29, + 0xC2A00000C3A, + 0xC3C00000C45, + 0xC4600000C49, + 0xC4A00000C4E, + 0xC5500000C57, + 0xC5800000C5B, + 0xC5D00000C5E, + 0xC6000000C64, + 0xC6600000C70, + 0xC8000000C84, + 0xC8500000C8D, + 0xC8E00000C91, + 0xC9200000CA9, + 0xCAA00000CB4, + 0xCB500000CBA, + 0xCBC00000CC5, + 0xCC600000CC9, + 0xCCA00000CCE, + 0xCD500000CD7, + 0xCDD00000CDF, + 0xCE000000CE4, + 0xCE600000CF0, + 0xCF100000CF4, + 0xD0000000D0D, + 0xD0E00000D11, + 0xD1200000D45, + 0xD4600000D49, + 0xD4A00000D4F, + 0xD5400000D58, + 0xD5F00000D64, + 0xD6600000D70, + 0xD7A00000D80, + 0xD8100000D84, + 0xD8500000D97, + 0xD9A00000DB2, + 0xDB300000DBC, + 0xDBD00000DBE, + 0xDC000000DC7, + 0xDCA00000DCB, + 0xDCF00000DD5, + 0xDD600000DD7, + 0xDD800000DE0, + 0xDE600000DF0, + 0xDF200000DF4, + 0xE0100000E33, + 0xE3400000E3B, + 0xE4000000E4F, + 0xE5000000E5A, + 0xE8100000E83, + 0xE8400000E85, + 0xE8600000E8B, + 0xE8C00000EA4, + 0xEA500000EA6, + 0xEA700000EB3, + 0xEB400000EBE, + 0xEC000000EC5, + 0xEC600000EC7, + 0xEC800000ECF, + 0xED000000EDA, + 0xEDE00000EE0, + 0xF0000000F01, + 0xF0B00000F0C, + 0xF1800000F1A, + 0xF2000000F2A, + 0xF3500000F36, + 0xF3700000F38, + 0xF3900000F3A, + 0xF3E00000F43, + 0xF4400000F48, + 0xF4900000F4D, + 0xF4E00000F52, + 0xF5300000F57, + 0xF5800000F5C, + 0xF5D00000F69, + 0xF6A00000F6D, + 0xF7100000F73, + 0xF7400000F75, + 0xF7A00000F81, + 0xF8200000F85, + 0xF8600000F93, + 0xF9400000F98, + 0xF9900000F9D, + 0xF9E00000FA2, + 0xFA300000FA7, + 0xFA800000FAC, + 0xFAD00000FB9, + 0xFBA00000FBD, + 0xFC600000FC7, + 0x10000000104A, + 0x10500000109E, + 0x10D0000010FB, + 0x10FD00001100, + 0x120000001249, + 0x124A0000124E, + 0x125000001257, + 0x125800001259, + 0x125A0000125E, + 0x126000001289, + 0x128A0000128E, + 0x1290000012B1, + 0x12B2000012B6, + 0x12B8000012BF, + 0x12C0000012C1, + 0x12C2000012C6, + 0x12C8000012D7, + 0x12D800001311, + 0x131200001316, + 0x13180000135B, + 0x135D00001360, + 0x138000001390, + 0x13A0000013F6, + 0x14010000166D, + 0x166F00001680, + 0x16810000169B, + 0x16A0000016EB, + 0x16F1000016F9, + 0x170000001716, + 0x171F00001735, + 0x174000001754, + 0x17600000176D, + 0x176E00001771, + 0x177200001774, + 0x1780000017B4, + 0x17B6000017D4, + 0x17D7000017D8, + 0x17DC000017DE, + 0x17E0000017EA, + 0x18100000181A, + 0x182000001879, + 0x1880000018AB, + 0x18B0000018F6, + 0x19000000191F, + 0x19200000192C, + 0x19300000193C, + 0x19460000196E, + 0x197000001975, + 0x1980000019AC, + 0x19B0000019CA, + 0x19D0000019DA, + 0x1A0000001A1C, + 0x1A2000001A5F, + 0x1A6000001A7D, + 0x1A7F00001A8A, + 0x1A9000001A9A, + 0x1AA700001AA8, + 0x1AB000001ABE, + 0x1ABF00001ACF, + 0x1B0000001B4D, + 0x1B5000001B5A, + 0x1B6B00001B74, + 0x1B8000001BF4, + 0x1C0000001C38, + 0x1C4000001C4A, + 0x1C4D00001C7E, + 0x1CD000001CD3, + 0x1CD400001CFB, + 0x1D0000001D2C, + 0x1D2F00001D30, + 0x1D3B00001D3C, + 0x1D4E00001D4F, + 0x1D6B00001D78, + 0x1D7900001D9B, + 0x1DC000001E00, + 0x1E0100001E02, + 0x1E0300001E04, + 0x1E0500001E06, + 0x1E0700001E08, + 0x1E0900001E0A, + 0x1E0B00001E0C, + 0x1E0D00001E0E, + 0x1E0F00001E10, + 0x1E1100001E12, + 0x1E1300001E14, + 0x1E1500001E16, + 0x1E1700001E18, + 0x1E1900001E1A, + 0x1E1B00001E1C, + 0x1E1D00001E1E, + 0x1E1F00001E20, + 0x1E2100001E22, + 0x1E2300001E24, + 0x1E2500001E26, + 0x1E2700001E28, + 0x1E2900001E2A, + 0x1E2B00001E2C, + 0x1E2D00001E2E, + 0x1E2F00001E30, + 0x1E3100001E32, + 0x1E3300001E34, + 0x1E3500001E36, + 0x1E3700001E38, + 0x1E3900001E3A, + 0x1E3B00001E3C, + 0x1E3D00001E3E, + 0x1E3F00001E40, + 0x1E4100001E42, + 0x1E4300001E44, + 0x1E4500001E46, + 0x1E4700001E48, + 0x1E4900001E4A, + 0x1E4B00001E4C, + 0x1E4D00001E4E, + 0x1E4F00001E50, + 0x1E5100001E52, + 0x1E5300001E54, + 0x1E5500001E56, + 0x1E5700001E58, + 0x1E5900001E5A, + 0x1E5B00001E5C, + 0x1E5D00001E5E, + 0x1E5F00001E60, + 0x1E6100001E62, + 0x1E6300001E64, + 0x1E6500001E66, + 0x1E6700001E68, + 0x1E6900001E6A, + 0x1E6B00001E6C, + 0x1E6D00001E6E, + 0x1E6F00001E70, + 0x1E7100001E72, + 0x1E7300001E74, + 0x1E7500001E76, + 0x1E7700001E78, + 0x1E7900001E7A, + 0x1E7B00001E7C, + 0x1E7D00001E7E, + 0x1E7F00001E80, + 0x1E8100001E82, + 0x1E8300001E84, + 0x1E8500001E86, + 0x1E8700001E88, + 0x1E8900001E8A, + 0x1E8B00001E8C, + 0x1E8D00001E8E, + 0x1E8F00001E90, + 0x1E9100001E92, + 0x1E9300001E94, + 0x1E9500001E9A, + 0x1E9C00001E9E, + 0x1E9F00001EA0, + 0x1EA100001EA2, + 0x1EA300001EA4, + 0x1EA500001EA6, + 0x1EA700001EA8, + 0x1EA900001EAA, + 0x1EAB00001EAC, + 0x1EAD00001EAE, + 0x1EAF00001EB0, + 0x1EB100001EB2, + 0x1EB300001EB4, + 0x1EB500001EB6, + 0x1EB700001EB8, + 0x1EB900001EBA, + 0x1EBB00001EBC, + 0x1EBD00001EBE, + 0x1EBF00001EC0, + 0x1EC100001EC2, + 0x1EC300001EC4, + 0x1EC500001EC6, + 0x1EC700001EC8, + 0x1EC900001ECA, + 0x1ECB00001ECC, + 0x1ECD00001ECE, + 0x1ECF00001ED0, + 0x1ED100001ED2, + 0x1ED300001ED4, + 0x1ED500001ED6, + 0x1ED700001ED8, + 0x1ED900001EDA, + 0x1EDB00001EDC, + 0x1EDD00001EDE, + 0x1EDF00001EE0, + 0x1EE100001EE2, + 0x1EE300001EE4, + 0x1EE500001EE6, + 0x1EE700001EE8, + 0x1EE900001EEA, + 0x1EEB00001EEC, + 0x1EED00001EEE, + 0x1EEF00001EF0, + 0x1EF100001EF2, + 0x1EF300001EF4, + 0x1EF500001EF6, + 0x1EF700001EF8, + 0x1EF900001EFA, + 0x1EFB00001EFC, + 0x1EFD00001EFE, + 0x1EFF00001F08, + 0x1F1000001F16, + 0x1F2000001F28, + 0x1F3000001F38, + 0x1F4000001F46, + 0x1F5000001F58, + 0x1F6000001F68, + 0x1F7000001F71, + 0x1F7200001F73, + 0x1F7400001F75, + 0x1F7600001F77, + 0x1F7800001F79, + 0x1F7A00001F7B, + 0x1F7C00001F7D, + 0x1FB000001FB2, + 0x1FB600001FB7, + 0x1FC600001FC7, + 0x1FD000001FD3, + 0x1FD600001FD8, + 0x1FE000001FE3, + 0x1FE400001FE8, + 0x1FF600001FF7, + 0x214E0000214F, + 0x218400002185, + 0x2C3000002C60, + 0x2C6100002C62, + 0x2C6500002C67, + 0x2C6800002C69, + 0x2C6A00002C6B, + 0x2C6C00002C6D, + 0x2C7100002C72, + 0x2C7300002C75, + 0x2C7600002C7C, + 0x2C8100002C82, + 0x2C8300002C84, + 0x2C8500002C86, + 0x2C8700002C88, + 0x2C8900002C8A, + 0x2C8B00002C8C, + 0x2C8D00002C8E, + 0x2C8F00002C90, + 0x2C9100002C92, + 0x2C9300002C94, + 0x2C9500002C96, + 0x2C9700002C98, + 0x2C9900002C9A, + 0x2C9B00002C9C, + 0x2C9D00002C9E, + 0x2C9F00002CA0, + 0x2CA100002CA2, + 0x2CA300002CA4, + 0x2CA500002CA6, + 0x2CA700002CA8, + 0x2CA900002CAA, + 0x2CAB00002CAC, + 0x2CAD00002CAE, + 0x2CAF00002CB0, + 0x2CB100002CB2, + 0x2CB300002CB4, + 0x2CB500002CB6, + 0x2CB700002CB8, + 0x2CB900002CBA, + 0x2CBB00002CBC, + 0x2CBD00002CBE, + 0x2CBF00002CC0, + 0x2CC100002CC2, + 0x2CC300002CC4, + 0x2CC500002CC6, + 0x2CC700002CC8, + 0x2CC900002CCA, + 0x2CCB00002CCC, + 0x2CCD00002CCE, + 0x2CCF00002CD0, + 0x2CD100002CD2, + 0x2CD300002CD4, + 0x2CD500002CD6, + 0x2CD700002CD8, + 0x2CD900002CDA, + 0x2CDB00002CDC, + 0x2CDD00002CDE, + 0x2CDF00002CE0, + 0x2CE100002CE2, + 0x2CE300002CE5, + 0x2CEC00002CED, + 0x2CEE00002CF2, + 0x2CF300002CF4, + 0x2D0000002D26, + 0x2D2700002D28, + 0x2D2D00002D2E, + 0x2D3000002D68, + 0x2D7F00002D97, + 0x2DA000002DA7, + 0x2DA800002DAF, + 0x2DB000002DB7, + 0x2DB800002DBF, + 0x2DC000002DC7, + 0x2DC800002DCF, + 0x2DD000002DD7, + 0x2DD800002DDF, + 0x2DE000002E00, + 0x2E2F00002E30, + 0x300500003008, + 0x302A0000302E, + 0x303C0000303D, + 0x304100003097, + 0x30990000309B, + 0x309D0000309F, + 0x30A1000030FB, + 0x30FC000030FF, + 0x310500003130, + 0x31A0000031C0, + 0x31F000003200, + 0x340000004DC0, + 0x4E000000A48D, + 0xA4D00000A4FE, + 0xA5000000A60D, + 0xA6100000A62C, + 0xA6410000A642, + 0xA6430000A644, + 0xA6450000A646, + 0xA6470000A648, + 0xA6490000A64A, + 0xA64B0000A64C, + 0xA64D0000A64E, + 0xA64F0000A650, + 0xA6510000A652, + 0xA6530000A654, + 0xA6550000A656, + 0xA6570000A658, + 0xA6590000A65A, + 0xA65B0000A65C, + 0xA65D0000A65E, + 0xA65F0000A660, + 0xA6610000A662, + 0xA6630000A664, + 0xA6650000A666, + 0xA6670000A668, + 0xA6690000A66A, + 0xA66B0000A66C, + 0xA66D0000A670, + 0xA6740000A67E, + 0xA67F0000A680, + 0xA6810000A682, + 0xA6830000A684, + 0xA6850000A686, + 0xA6870000A688, + 0xA6890000A68A, + 0xA68B0000A68C, + 0xA68D0000A68E, + 0xA68F0000A690, + 0xA6910000A692, + 0xA6930000A694, + 0xA6950000A696, + 0xA6970000A698, + 0xA6990000A69A, + 0xA69B0000A69C, + 0xA69E0000A6E6, + 0xA6F00000A6F2, + 0xA7170000A720, + 0xA7230000A724, + 0xA7250000A726, + 0xA7270000A728, + 0xA7290000A72A, + 0xA72B0000A72C, + 0xA72D0000A72E, + 0xA72F0000A732, + 0xA7330000A734, + 0xA7350000A736, + 0xA7370000A738, + 0xA7390000A73A, + 0xA73B0000A73C, + 0xA73D0000A73E, + 0xA73F0000A740, + 0xA7410000A742, + 0xA7430000A744, + 0xA7450000A746, + 0xA7470000A748, + 0xA7490000A74A, + 0xA74B0000A74C, + 0xA74D0000A74E, + 0xA74F0000A750, + 0xA7510000A752, + 0xA7530000A754, + 0xA7550000A756, + 0xA7570000A758, + 0xA7590000A75A, + 0xA75B0000A75C, + 0xA75D0000A75E, + 0xA75F0000A760, + 0xA7610000A762, + 0xA7630000A764, + 0xA7650000A766, + 0xA7670000A768, + 0xA7690000A76A, + 0xA76B0000A76C, + 0xA76D0000A76E, + 0xA76F0000A770, + 0xA7710000A779, + 0xA77A0000A77B, + 0xA77C0000A77D, + 0xA77F0000A780, + 0xA7810000A782, + 0xA7830000A784, + 0xA7850000A786, + 0xA7870000A789, + 0xA78C0000A78D, + 0xA78E0000A790, + 0xA7910000A792, + 0xA7930000A796, + 0xA7970000A798, + 0xA7990000A79A, + 0xA79B0000A79C, + 0xA79D0000A79E, + 0xA79F0000A7A0, + 0xA7A10000A7A2, + 0xA7A30000A7A4, + 0xA7A50000A7A6, + 0xA7A70000A7A8, + 0xA7A90000A7AA, + 0xA7AF0000A7B0, + 0xA7B50000A7B6, + 0xA7B70000A7B8, + 0xA7B90000A7BA, + 0xA7BB0000A7BC, + 0xA7BD0000A7BE, + 0xA7BF0000A7C0, + 0xA7C10000A7C2, + 0xA7C30000A7C4, + 0xA7C80000A7C9, + 0xA7CA0000A7CB, + 0xA7D10000A7D2, + 0xA7D30000A7D4, + 0xA7D50000A7D6, + 0xA7D70000A7D8, + 0xA7D90000A7DA, + 0xA7F60000A7F8, + 0xA7FA0000A828, + 0xA82C0000A82D, + 0xA8400000A874, + 0xA8800000A8C6, + 0xA8D00000A8DA, + 0xA8E00000A8F8, + 0xA8FB0000A8FC, + 0xA8FD0000A92E, + 0xA9300000A954, + 0xA9800000A9C1, + 0xA9CF0000A9DA, + 0xA9E00000A9FF, + 0xAA000000AA37, + 0xAA400000AA4E, + 0xAA500000AA5A, + 0xAA600000AA77, + 0xAA7A0000AAC3, + 0xAADB0000AADE, + 0xAAE00000AAF0, + 0xAAF20000AAF7, + 0xAB010000AB07, + 0xAB090000AB0F, + 0xAB110000AB17, + 0xAB200000AB27, + 0xAB280000AB2F, + 0xAB300000AB5B, + 0xAB600000AB69, + 0xABC00000ABEB, + 0xABEC0000ABEE, + 0xABF00000ABFA, + 0xAC000000D7A4, + 0xFA0E0000FA10, + 0xFA110000FA12, + 0xFA130000FA15, + 0xFA1F0000FA20, + 0xFA210000FA22, + 0xFA230000FA25, + 0xFA270000FA2A, + 0xFB1E0000FB1F, + 0xFE200000FE30, + 0xFE730000FE74, + 0x100000001000C, + 0x1000D00010027, + 0x100280001003B, + 0x1003C0001003E, + 0x1003F0001004E, + 0x100500001005E, + 0x10080000100FB, + 0x101FD000101FE, + 0x102800001029D, + 0x102A0000102D1, + 0x102E0000102E1, + 0x1030000010320, + 0x1032D00010341, + 0x103420001034A, + 0x103500001037B, + 0x103800001039E, + 0x103A0000103C4, + 0x103C8000103D0, + 0x104280001049E, + 0x104A0000104AA, + 0x104D8000104FC, + 0x1050000010528, + 0x1053000010564, + 0x10597000105A2, + 0x105A3000105B2, + 0x105B3000105BA, + 0x105BB000105BD, + 0x1060000010737, + 0x1074000010756, + 0x1076000010768, + 0x1078000010781, + 0x1080000010806, + 0x1080800010809, + 0x1080A00010836, + 0x1083700010839, + 0x1083C0001083D, + 0x1083F00010856, + 0x1086000010877, + 0x108800001089F, + 0x108E0000108F3, + 0x108F4000108F6, + 0x1090000010916, + 0x109200001093A, + 0x10980000109B8, + 0x109BE000109C0, + 0x10A0000010A04, + 0x10A0500010A07, + 0x10A0C00010A14, + 0x10A1500010A18, + 0x10A1900010A36, + 0x10A3800010A3B, + 0x10A3F00010A40, + 0x10A6000010A7D, + 0x10A8000010A9D, + 0x10AC000010AC8, + 0x10AC900010AE7, + 0x10B0000010B36, + 0x10B4000010B56, + 0x10B6000010B73, + 0x10B8000010B92, + 0x10C0000010C49, + 0x10CC000010CF3, + 0x10D0000010D28, + 0x10D3000010D3A, + 0x10E8000010EAA, + 0x10EAB00010EAD, + 0x10EB000010EB2, + 0x10EFD00010F1D, + 0x10F2700010F28, + 0x10F3000010F51, + 0x10F7000010F86, + 0x10FB000010FC5, + 0x10FE000010FF7, + 0x1100000011047, + 0x1106600011076, + 0x1107F000110BB, + 0x110C2000110C3, + 0x110D0000110E9, + 0x110F0000110FA, + 0x1110000011135, + 0x1113600011140, + 0x1114400011148, + 0x1115000011174, + 0x1117600011177, + 0x11180000111C5, + 0x111C9000111CD, + 0x111CE000111DB, + 0x111DC000111DD, + 0x1120000011212, + 0x1121300011238, + 0x1123E00011242, + 0x1128000011287, + 0x1128800011289, + 0x1128A0001128E, + 0x1128F0001129E, + 0x1129F000112A9, + 0x112B0000112EB, + 0x112F0000112FA, + 0x1130000011304, + 0x113050001130D, + 0x1130F00011311, + 0x1131300011329, + 0x1132A00011331, + 0x1133200011334, + 0x113350001133A, + 0x1133B00011345, + 0x1134700011349, + 0x1134B0001134E, + 0x1135000011351, + 0x1135700011358, + 0x1135D00011364, + 0x113660001136D, + 0x1137000011375, + 0x114000001144B, + 0x114500001145A, + 0x1145E00011462, + 0x11480000114C6, + 0x114C7000114C8, + 0x114D0000114DA, + 0x11580000115B6, + 0x115B8000115C1, + 0x115D8000115DE, + 0x1160000011641, + 0x1164400011645, + 0x116500001165A, + 0x11680000116B9, + 0x116C0000116CA, + 0x117000001171B, + 0x1171D0001172C, + 0x117300001173A, + 0x1174000011747, + 0x118000001183B, + 0x118C0000118EA, + 0x118FF00011907, + 0x119090001190A, + 0x1190C00011914, + 0x1191500011917, + 0x1191800011936, + 0x1193700011939, + 0x1193B00011944, + 0x119500001195A, + 0x119A0000119A8, + 0x119AA000119D8, + 0x119DA000119E2, + 0x119E3000119E5, + 0x11A0000011A3F, + 0x11A4700011A48, + 0x11A5000011A9A, + 0x11A9D00011A9E, + 0x11AB000011AF9, + 0x11C0000011C09, + 0x11C0A00011C37, + 0x11C3800011C41, + 0x11C5000011C5A, + 0x11C7200011C90, + 0x11C9200011CA8, + 0x11CA900011CB7, + 0x11D0000011D07, + 0x11D0800011D0A, + 0x11D0B00011D37, + 0x11D3A00011D3B, + 0x11D3C00011D3E, + 0x11D3F00011D48, + 0x11D5000011D5A, + 0x11D6000011D66, + 0x11D6700011D69, + 0x11D6A00011D8F, + 0x11D9000011D92, + 0x11D9300011D99, + 0x11DA000011DAA, + 0x11EE000011EF7, + 0x11F0000011F11, + 0x11F1200011F3B, + 0x11F3E00011F43, + 0x11F5000011F5A, + 0x11FB000011FB1, + 0x120000001239A, + 0x1248000012544, + 0x12F9000012FF1, + 0x1300000013430, + 0x1344000013456, + 0x1440000014647, + 0x1680000016A39, + 0x16A4000016A5F, + 0x16A6000016A6A, + 0x16A7000016ABF, + 0x16AC000016ACA, + 0x16AD000016AEE, + 0x16AF000016AF5, + 0x16B0000016B37, + 0x16B4000016B44, + 0x16B5000016B5A, + 0x16B6300016B78, + 0x16B7D00016B90, + 0x16E6000016E80, + 0x16F0000016F4B, + 0x16F4F00016F88, + 0x16F8F00016FA0, + 0x16FE000016FE2, + 0x16FE300016FE5, + 0x16FF000016FF2, + 0x17000000187F8, + 0x1880000018CD6, + 0x18D0000018D09, + 0x1AFF00001AFF4, + 0x1AFF50001AFFC, + 0x1AFFD0001AFFF, + 0x1B0000001B123, + 0x1B1320001B133, + 0x1B1500001B153, + 0x1B1550001B156, + 0x1B1640001B168, + 0x1B1700001B2FC, + 0x1BC000001BC6B, + 0x1BC700001BC7D, + 0x1BC800001BC89, + 0x1BC900001BC9A, + 0x1BC9D0001BC9F, + 0x1CF000001CF2E, + 0x1CF300001CF47, + 0x1DA000001DA37, + 0x1DA3B0001DA6D, + 0x1DA750001DA76, + 0x1DA840001DA85, + 0x1DA9B0001DAA0, + 0x1DAA10001DAB0, + 0x1DF000001DF1F, + 0x1DF250001DF2B, + 0x1E0000001E007, + 0x1E0080001E019, + 0x1E01B0001E022, + 0x1E0230001E025, + 0x1E0260001E02B, + 0x1E08F0001E090, + 0x1E1000001E12D, + 0x1E1300001E13E, + 0x1E1400001E14A, + 0x1E14E0001E14F, + 0x1E2900001E2AF, + 0x1E2C00001E2FA, + 0x1E4D00001E4FA, + 0x1E7E00001E7E7, + 0x1E7E80001E7EC, + 0x1E7ED0001E7EF, + 0x1E7F00001E7FF, + 0x1E8000001E8C5, + 0x1E8D00001E8D7, + 0x1E9220001E94C, + 0x1E9500001E95A, + 0x200000002A6E0, + 0x2A7000002B73A, + 0x2B7400002B81E, + 0x2B8200002CEA2, + 0x2CEB00002EBE1, + 0x2EBF00002EE5E, + 0x300000003134B, + 0x31350000323B0, + ), + "CONTEXTJ": (0x200C0000200E,), + "CONTEXTO": ( + 0xB7000000B8, + 0x37500000376, + 0x5F3000005F5, + 0x6600000066A, + 0x6F0000006FA, + 0x30FB000030FC, + ), +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/intranges.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/intranges.py new file mode 100644 index 0000000000000000000000000000000000000000..7bfaa8d80d7dc471d572db0f949460901126e8bd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/intranges.py @@ -0,0 +1,57 @@ +""" +Given a list of integers, made up of (hopefully) a small number of long runs +of consecutive integers, compute a representation of the form +((start1, end1), (start2, end2) ...). Then answer the question "was x present +in the original list?" in time O(log(# runs)). +""" + +import bisect +from typing import List, Tuple + + +def intranges_from_list(list_: List[int]) -> Tuple[int, ...]: + """Represent a list of integers as a sequence of ranges: + ((start_0, end_0), (start_1, end_1), ...), such that the original + integers are exactly those x such that start_i <= x < end_i for some i. + + Ranges are encoded as single integers (start << 32 | end), not as tuples. + """ + + sorted_list = sorted(list_) + ranges = [] + last_write = -1 + for i in range(len(sorted_list)): + if i + 1 < len(sorted_list): + if sorted_list[i] == sorted_list[i + 1] - 1: + continue + current_range = sorted_list[last_write + 1 : i + 1] + ranges.append(_encode_range(current_range[0], current_range[-1] + 1)) + last_write = i + + return tuple(ranges) + + +def _encode_range(start: int, end: int) -> int: + return (start << 32) | end + + +def _decode_range(r: int) -> Tuple[int, int]: + return (r >> 32), (r & ((1 << 32) - 1)) + + +def intranges_contain(int_: int, ranges: Tuple[int, ...]) -> bool: + """Determine if `int_` falls into one of the ranges in `ranges`.""" + tuple_ = _encode_range(int_, 0) + pos = bisect.bisect_left(ranges, tuple_) + # we could be immediately ahead of a tuple (start, end) + # with start < int_ <= end + if pos > 0: + left, right = _decode_range(ranges[pos - 1]) + if left <= int_ < right: + return True + # or we could be immediately behind a tuple (int_, end) + if pos < len(ranges): + left, _ = _decode_range(ranges[pos]) + if left == int_: + return True + return False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py new file mode 100644 index 0000000000000000000000000000000000000000..514ff7e2e68b65f309d30a0b06e6b290d2c353a8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py @@ -0,0 +1 @@ +__version__ = "3.10" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py new file mode 100644 index 0000000000000000000000000000000000000000..eb894327410debecb64ddf40eddc3131cf8344de --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py @@ -0,0 +1,8681 @@ +# This file is automatically generated by tools/idna-data +# vim: set fileencoding=utf-8 : + +from typing import List, Tuple, Union + +"""IDNA Mapping Table from UTS46.""" + + +__version__ = "15.1.0" + + +def _seg_0() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x0, "3"), + (0x1, "3"), + (0x2, "3"), + (0x3, "3"), + (0x4, "3"), + (0x5, "3"), + (0x6, "3"), + (0x7, "3"), + (0x8, "3"), + (0x9, "3"), + (0xA, "3"), + (0xB, "3"), + (0xC, "3"), + (0xD, "3"), + (0xE, "3"), + (0xF, "3"), + (0x10, "3"), + (0x11, "3"), + (0x12, "3"), + (0x13, "3"), + (0x14, "3"), + (0x15, "3"), + (0x16, "3"), + (0x17, "3"), + (0x18, "3"), + (0x19, "3"), + (0x1A, "3"), + (0x1B, "3"), + (0x1C, "3"), + (0x1D, "3"), + (0x1E, "3"), + (0x1F, "3"), + (0x20, "3"), + (0x21, "3"), + (0x22, "3"), + (0x23, "3"), + (0x24, "3"), + (0x25, "3"), + (0x26, "3"), + (0x27, "3"), + (0x28, "3"), + (0x29, "3"), + (0x2A, "3"), + (0x2B, "3"), + (0x2C, "3"), + (0x2D, "V"), + (0x2E, "V"), + (0x2F, "3"), + (0x30, "V"), + (0x31, "V"), + (0x32, "V"), + (0x33, "V"), + (0x34, "V"), + (0x35, "V"), + (0x36, "V"), + (0x37, "V"), + (0x38, "V"), + (0x39, "V"), + (0x3A, "3"), + (0x3B, "3"), + (0x3C, "3"), + (0x3D, "3"), + (0x3E, "3"), + (0x3F, "3"), + (0x40, "3"), + (0x41, "M", "a"), + (0x42, "M", "b"), + (0x43, "M", "c"), + (0x44, "M", "d"), + (0x45, "M", "e"), + (0x46, "M", "f"), + (0x47, "M", "g"), + (0x48, "M", "h"), + (0x49, "M", "i"), + (0x4A, "M", "j"), + (0x4B, "M", "k"), + (0x4C, "M", "l"), + (0x4D, "M", "m"), + (0x4E, "M", "n"), + (0x4F, "M", "o"), + (0x50, "M", "p"), + (0x51, "M", "q"), + (0x52, "M", "r"), + (0x53, "M", "s"), + (0x54, "M", "t"), + (0x55, "M", "u"), + (0x56, "M", "v"), + (0x57, "M", "w"), + (0x58, "M", "x"), + (0x59, "M", "y"), + (0x5A, "M", "z"), + (0x5B, "3"), + (0x5C, "3"), + (0x5D, "3"), + (0x5E, "3"), + (0x5F, "3"), + (0x60, "3"), + (0x61, "V"), + (0x62, "V"), + (0x63, "V"), + ] + + +def _seg_1() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x64, "V"), + (0x65, "V"), + (0x66, "V"), + (0x67, "V"), + (0x68, "V"), + (0x69, "V"), + (0x6A, "V"), + (0x6B, "V"), + (0x6C, "V"), + (0x6D, "V"), + (0x6E, "V"), + (0x6F, "V"), + (0x70, "V"), + (0x71, "V"), + (0x72, "V"), + (0x73, "V"), + (0x74, "V"), + (0x75, "V"), + (0x76, "V"), + (0x77, "V"), + (0x78, "V"), + (0x79, "V"), + (0x7A, "V"), + (0x7B, "3"), + (0x7C, "3"), + (0x7D, "3"), + (0x7E, "3"), + (0x7F, "3"), + (0x80, "X"), + (0x81, "X"), + (0x82, "X"), + (0x83, "X"), + (0x84, "X"), + (0x85, "X"), + (0x86, "X"), + (0x87, "X"), + (0x88, "X"), + (0x89, "X"), + (0x8A, "X"), + (0x8B, "X"), + (0x8C, "X"), + (0x8D, "X"), + (0x8E, "X"), + (0x8F, "X"), + (0x90, "X"), + (0x91, "X"), + (0x92, "X"), + (0x93, "X"), + (0x94, "X"), + (0x95, "X"), + (0x96, "X"), + (0x97, "X"), + (0x98, "X"), + (0x99, "X"), + (0x9A, "X"), + (0x9B, "X"), + (0x9C, "X"), + (0x9D, "X"), + (0x9E, "X"), + (0x9F, "X"), + (0xA0, "3", " "), + (0xA1, "V"), + (0xA2, "V"), + (0xA3, "V"), + (0xA4, "V"), + (0xA5, "V"), + (0xA6, "V"), + (0xA7, "V"), + (0xA8, "3", " ̈"), + (0xA9, "V"), + (0xAA, "M", "a"), + (0xAB, "V"), + (0xAC, "V"), + (0xAD, "I"), + (0xAE, "V"), + (0xAF, "3", " ̄"), + (0xB0, "V"), + (0xB1, "V"), + (0xB2, "M", "2"), + (0xB3, "M", "3"), + (0xB4, "3", " ́"), + (0xB5, "M", "μ"), + (0xB6, "V"), + (0xB7, "V"), + (0xB8, "3", " ̧"), + (0xB9, "M", "1"), + (0xBA, "M", "o"), + (0xBB, "V"), + (0xBC, "M", "1⁄4"), + (0xBD, "M", "1⁄2"), + (0xBE, "M", "3⁄4"), + (0xBF, "V"), + (0xC0, "M", "à"), + (0xC1, "M", "á"), + (0xC2, "M", "â"), + (0xC3, "M", "ã"), + (0xC4, "M", "ä"), + (0xC5, "M", "å"), + (0xC6, "M", "æ"), + (0xC7, "M", "ç"), + ] + + +def _seg_2() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xC8, "M", "è"), + (0xC9, "M", "é"), + (0xCA, "M", "ê"), + (0xCB, "M", "ë"), + (0xCC, "M", "ì"), + (0xCD, "M", "í"), + (0xCE, "M", "î"), + (0xCF, "M", "ï"), + (0xD0, "M", "ð"), + (0xD1, "M", "ñ"), + (0xD2, "M", "ò"), + (0xD3, "M", "ó"), + (0xD4, "M", "ô"), + (0xD5, "M", "õ"), + (0xD6, "M", "ö"), + (0xD7, "V"), + (0xD8, "M", "ø"), + (0xD9, "M", "ù"), + (0xDA, "M", "ú"), + (0xDB, "M", "û"), + (0xDC, "M", "ü"), + (0xDD, "M", "ý"), + (0xDE, "M", "þ"), + (0xDF, "D", "ss"), + (0xE0, "V"), + (0xE1, "V"), + (0xE2, "V"), + (0xE3, "V"), + (0xE4, "V"), + (0xE5, "V"), + (0xE6, "V"), + (0xE7, "V"), + (0xE8, "V"), + (0xE9, "V"), + (0xEA, "V"), + (0xEB, "V"), + (0xEC, "V"), + (0xED, "V"), + (0xEE, "V"), + (0xEF, "V"), + (0xF0, "V"), + (0xF1, "V"), + (0xF2, "V"), + (0xF3, "V"), + (0xF4, "V"), + (0xF5, "V"), + (0xF6, "V"), + (0xF7, "V"), + (0xF8, "V"), + (0xF9, "V"), + (0xFA, "V"), + (0xFB, "V"), + (0xFC, "V"), + (0xFD, "V"), + (0xFE, "V"), + (0xFF, "V"), + (0x100, "M", "ā"), + (0x101, "V"), + (0x102, "M", "ă"), + (0x103, "V"), + (0x104, "M", "ą"), + (0x105, "V"), + (0x106, "M", "ć"), + (0x107, "V"), + (0x108, "M", "ĉ"), + (0x109, "V"), + (0x10A, "M", "ċ"), + (0x10B, "V"), + (0x10C, "M", "č"), + (0x10D, "V"), + (0x10E, "M", "ď"), + (0x10F, "V"), + (0x110, "M", "đ"), + (0x111, "V"), + (0x112, "M", "ē"), + (0x113, "V"), + (0x114, "M", "ĕ"), + (0x115, "V"), + (0x116, "M", "ė"), + (0x117, "V"), + (0x118, "M", "ę"), + (0x119, "V"), + (0x11A, "M", "ě"), + (0x11B, "V"), + (0x11C, "M", "ĝ"), + (0x11D, "V"), + (0x11E, "M", "ğ"), + (0x11F, "V"), + (0x120, "M", "ġ"), + (0x121, "V"), + (0x122, "M", "ģ"), + (0x123, "V"), + (0x124, "M", "ĥ"), + (0x125, "V"), + (0x126, "M", "ħ"), + (0x127, "V"), + (0x128, "M", "ĩ"), + (0x129, "V"), + (0x12A, "M", "ī"), + (0x12B, "V"), + ] + + +def _seg_3() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x12C, "M", "ĭ"), + (0x12D, "V"), + (0x12E, "M", "į"), + (0x12F, "V"), + (0x130, "M", "i̇"), + (0x131, "V"), + (0x132, "M", "ij"), + (0x134, "M", "ĵ"), + (0x135, "V"), + (0x136, "M", "ķ"), + (0x137, "V"), + (0x139, "M", "ĺ"), + (0x13A, "V"), + (0x13B, "M", "ļ"), + (0x13C, "V"), + (0x13D, "M", "ľ"), + (0x13E, "V"), + (0x13F, "M", "l·"), + (0x141, "M", "ł"), + (0x142, "V"), + (0x143, "M", "ń"), + (0x144, "V"), + (0x145, "M", "ņ"), + (0x146, "V"), + (0x147, "M", "ň"), + (0x148, "V"), + (0x149, "M", "ʼn"), + (0x14A, "M", "ŋ"), + (0x14B, "V"), + (0x14C, "M", "ō"), + (0x14D, "V"), + (0x14E, "M", "ŏ"), + (0x14F, "V"), + (0x150, "M", "ő"), + (0x151, "V"), + (0x152, "M", "œ"), + (0x153, "V"), + (0x154, "M", "ŕ"), + (0x155, "V"), + (0x156, "M", "ŗ"), + (0x157, "V"), + (0x158, "M", "ř"), + (0x159, "V"), + (0x15A, "M", "ś"), + (0x15B, "V"), + (0x15C, "M", "ŝ"), + (0x15D, "V"), + (0x15E, "M", "ş"), + (0x15F, "V"), + (0x160, "M", "š"), + (0x161, "V"), + (0x162, "M", "ţ"), + (0x163, "V"), + (0x164, "M", "ť"), + (0x165, "V"), + (0x166, "M", "ŧ"), + (0x167, "V"), + (0x168, "M", "ũ"), + (0x169, "V"), + (0x16A, "M", "ū"), + (0x16B, "V"), + (0x16C, "M", "ŭ"), + (0x16D, "V"), + (0x16E, "M", "ů"), + (0x16F, "V"), + (0x170, "M", "ű"), + (0x171, "V"), + (0x172, "M", "ų"), + (0x173, "V"), + (0x174, "M", "ŵ"), + (0x175, "V"), + (0x176, "M", "ŷ"), + (0x177, "V"), + (0x178, "M", "ÿ"), + (0x179, "M", "ź"), + (0x17A, "V"), + (0x17B, "M", "ż"), + (0x17C, "V"), + (0x17D, "M", "ž"), + (0x17E, "V"), + (0x17F, "M", "s"), + (0x180, "V"), + (0x181, "M", "ɓ"), + (0x182, "M", "ƃ"), + (0x183, "V"), + (0x184, "M", "ƅ"), + (0x185, "V"), + (0x186, "M", "ɔ"), + (0x187, "M", "ƈ"), + (0x188, "V"), + (0x189, "M", "ɖ"), + (0x18A, "M", "ɗ"), + (0x18B, "M", "ƌ"), + (0x18C, "V"), + (0x18E, "M", "ǝ"), + (0x18F, "M", "ə"), + (0x190, "M", "ɛ"), + (0x191, "M", "ƒ"), + (0x192, "V"), + (0x193, "M", "ɠ"), + ] + + +def _seg_4() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x194, "M", "ɣ"), + (0x195, "V"), + (0x196, "M", "ɩ"), + (0x197, "M", "ɨ"), + (0x198, "M", "ƙ"), + (0x199, "V"), + (0x19C, "M", "ɯ"), + (0x19D, "M", "ɲ"), + (0x19E, "V"), + (0x19F, "M", "ɵ"), + (0x1A0, "M", "ơ"), + (0x1A1, "V"), + (0x1A2, "M", "ƣ"), + (0x1A3, "V"), + (0x1A4, "M", "ƥ"), + (0x1A5, "V"), + (0x1A6, "M", "ʀ"), + (0x1A7, "M", "ƨ"), + (0x1A8, "V"), + (0x1A9, "M", "ʃ"), + (0x1AA, "V"), + (0x1AC, "M", "ƭ"), + (0x1AD, "V"), + (0x1AE, "M", "ʈ"), + (0x1AF, "M", "ư"), + (0x1B0, "V"), + (0x1B1, "M", "ʊ"), + (0x1B2, "M", "ʋ"), + (0x1B3, "M", "ƴ"), + (0x1B4, "V"), + (0x1B5, "M", "ƶ"), + (0x1B6, "V"), + (0x1B7, "M", "ʒ"), + (0x1B8, "M", "ƹ"), + (0x1B9, "V"), + (0x1BC, "M", "ƽ"), + (0x1BD, "V"), + (0x1C4, "M", "dž"), + (0x1C7, "M", "lj"), + (0x1CA, "M", "nj"), + (0x1CD, "M", "ǎ"), + (0x1CE, "V"), + (0x1CF, "M", "ǐ"), + (0x1D0, "V"), + (0x1D1, "M", "ǒ"), + (0x1D2, "V"), + (0x1D3, "M", "ǔ"), + (0x1D4, "V"), + (0x1D5, "M", "ǖ"), + (0x1D6, "V"), + (0x1D7, "M", "ǘ"), + (0x1D8, "V"), + (0x1D9, "M", "ǚ"), + (0x1DA, "V"), + (0x1DB, "M", "ǜ"), + (0x1DC, "V"), + (0x1DE, "M", "ǟ"), + (0x1DF, "V"), + (0x1E0, "M", "ǡ"), + (0x1E1, "V"), + (0x1E2, "M", "ǣ"), + (0x1E3, "V"), + (0x1E4, "M", "ǥ"), + (0x1E5, "V"), + (0x1E6, "M", "ǧ"), + (0x1E7, "V"), + (0x1E8, "M", "ǩ"), + (0x1E9, "V"), + (0x1EA, "M", "ǫ"), + (0x1EB, "V"), + (0x1EC, "M", "ǭ"), + (0x1ED, "V"), + (0x1EE, "M", "ǯ"), + (0x1EF, "V"), + (0x1F1, "M", "dz"), + (0x1F4, "M", "ǵ"), + (0x1F5, "V"), + (0x1F6, "M", "ƕ"), + (0x1F7, "M", "ƿ"), + (0x1F8, "M", "ǹ"), + (0x1F9, "V"), + (0x1FA, "M", "ǻ"), + (0x1FB, "V"), + (0x1FC, "M", "ǽ"), + (0x1FD, "V"), + (0x1FE, "M", "ǿ"), + (0x1FF, "V"), + (0x200, "M", "ȁ"), + (0x201, "V"), + (0x202, "M", "ȃ"), + (0x203, "V"), + (0x204, "M", "ȅ"), + (0x205, "V"), + (0x206, "M", "ȇ"), + (0x207, "V"), + (0x208, "M", "ȉ"), + (0x209, "V"), + (0x20A, "M", "ȋ"), + (0x20B, "V"), + (0x20C, "M", "ȍ"), + ] + + +def _seg_5() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x20D, "V"), + (0x20E, "M", "ȏ"), + (0x20F, "V"), + (0x210, "M", "ȑ"), + (0x211, "V"), + (0x212, "M", "ȓ"), + (0x213, "V"), + (0x214, "M", "ȕ"), + (0x215, "V"), + (0x216, "M", "ȗ"), + (0x217, "V"), + (0x218, "M", "ș"), + (0x219, "V"), + (0x21A, "M", "ț"), + (0x21B, "V"), + (0x21C, "M", "ȝ"), + (0x21D, "V"), + (0x21E, "M", "ȟ"), + (0x21F, "V"), + (0x220, "M", "ƞ"), + (0x221, "V"), + (0x222, "M", "ȣ"), + (0x223, "V"), + (0x224, "M", "ȥ"), + (0x225, "V"), + (0x226, "M", "ȧ"), + (0x227, "V"), + (0x228, "M", "ȩ"), + (0x229, "V"), + (0x22A, "M", "ȫ"), + (0x22B, "V"), + (0x22C, "M", "ȭ"), + (0x22D, "V"), + (0x22E, "M", "ȯ"), + (0x22F, "V"), + (0x230, "M", "ȱ"), + (0x231, "V"), + (0x232, "M", "ȳ"), + (0x233, "V"), + (0x23A, "M", "ⱥ"), + (0x23B, "M", "ȼ"), + (0x23C, "V"), + (0x23D, "M", "ƚ"), + (0x23E, "M", "ⱦ"), + (0x23F, "V"), + (0x241, "M", "ɂ"), + (0x242, "V"), + (0x243, "M", "ƀ"), + (0x244, "M", "ʉ"), + (0x245, "M", "ʌ"), + (0x246, "M", "ɇ"), + (0x247, "V"), + (0x248, "M", "ɉ"), + (0x249, "V"), + (0x24A, "M", "ɋ"), + (0x24B, "V"), + (0x24C, "M", "ɍ"), + (0x24D, "V"), + (0x24E, "M", "ɏ"), + (0x24F, "V"), + (0x2B0, "M", "h"), + (0x2B1, "M", "ɦ"), + (0x2B2, "M", "j"), + (0x2B3, "M", "r"), + (0x2B4, "M", "ɹ"), + (0x2B5, "M", "ɻ"), + (0x2B6, "M", "ʁ"), + (0x2B7, "M", "w"), + (0x2B8, "M", "y"), + (0x2B9, "V"), + (0x2D8, "3", " ̆"), + (0x2D9, "3", " ̇"), + (0x2DA, "3", " ̊"), + (0x2DB, "3", " ̨"), + (0x2DC, "3", " ̃"), + (0x2DD, "3", " ̋"), + (0x2DE, "V"), + (0x2E0, "M", "ɣ"), + (0x2E1, "M", "l"), + (0x2E2, "M", "s"), + (0x2E3, "M", "x"), + (0x2E4, "M", "ʕ"), + (0x2E5, "V"), + (0x340, "M", "̀"), + (0x341, "M", "́"), + (0x342, "V"), + (0x343, "M", "̓"), + (0x344, "M", "̈́"), + (0x345, "M", "ι"), + (0x346, "V"), + (0x34F, "I"), + (0x350, "V"), + (0x370, "M", "ͱ"), + (0x371, "V"), + (0x372, "M", "ͳ"), + (0x373, "V"), + (0x374, "M", "ʹ"), + (0x375, "V"), + (0x376, "M", "ͷ"), + (0x377, "V"), + ] + + +def _seg_6() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x378, "X"), + (0x37A, "3", " ι"), + (0x37B, "V"), + (0x37E, "3", ";"), + (0x37F, "M", "ϳ"), + (0x380, "X"), + (0x384, "3", " ́"), + (0x385, "3", " ̈́"), + (0x386, "M", "ά"), + (0x387, "M", "·"), + (0x388, "M", "έ"), + (0x389, "M", "ή"), + (0x38A, "M", "ί"), + (0x38B, "X"), + (0x38C, "M", "ό"), + (0x38D, "X"), + (0x38E, "M", "ύ"), + (0x38F, "M", "ώ"), + (0x390, "V"), + (0x391, "M", "α"), + (0x392, "M", "β"), + (0x393, "M", "γ"), + (0x394, "M", "δ"), + (0x395, "M", "ε"), + (0x396, "M", "ζ"), + (0x397, "M", "η"), + (0x398, "M", "θ"), + (0x399, "M", "ι"), + (0x39A, "M", "κ"), + (0x39B, "M", "λ"), + (0x39C, "M", "μ"), + (0x39D, "M", "ν"), + (0x39E, "M", "ξ"), + (0x39F, "M", "ο"), + (0x3A0, "M", "π"), + (0x3A1, "M", "ρ"), + (0x3A2, "X"), + (0x3A3, "M", "σ"), + (0x3A4, "M", "τ"), + (0x3A5, "M", "υ"), + (0x3A6, "M", "φ"), + (0x3A7, "M", "χ"), + (0x3A8, "M", "ψ"), + (0x3A9, "M", "ω"), + (0x3AA, "M", "ϊ"), + (0x3AB, "M", "ϋ"), + (0x3AC, "V"), + (0x3C2, "D", "σ"), + (0x3C3, "V"), + (0x3CF, "M", "ϗ"), + (0x3D0, "M", "β"), + (0x3D1, "M", "θ"), + (0x3D2, "M", "υ"), + (0x3D3, "M", "ύ"), + (0x3D4, "M", "ϋ"), + (0x3D5, "M", "φ"), + (0x3D6, "M", "π"), + (0x3D7, "V"), + (0x3D8, "M", "ϙ"), + (0x3D9, "V"), + (0x3DA, "M", "ϛ"), + (0x3DB, "V"), + (0x3DC, "M", "ϝ"), + (0x3DD, "V"), + (0x3DE, "M", "ϟ"), + (0x3DF, "V"), + (0x3E0, "M", "ϡ"), + (0x3E1, "V"), + (0x3E2, "M", "ϣ"), + (0x3E3, "V"), + (0x3E4, "M", "ϥ"), + (0x3E5, "V"), + (0x3E6, "M", "ϧ"), + (0x3E7, "V"), + (0x3E8, "M", "ϩ"), + (0x3E9, "V"), + (0x3EA, "M", "ϫ"), + (0x3EB, "V"), + (0x3EC, "M", "ϭ"), + (0x3ED, "V"), + (0x3EE, "M", "ϯ"), + (0x3EF, "V"), + (0x3F0, "M", "κ"), + (0x3F1, "M", "ρ"), + (0x3F2, "M", "σ"), + (0x3F3, "V"), + (0x3F4, "M", "θ"), + (0x3F5, "M", "ε"), + (0x3F6, "V"), + (0x3F7, "M", "ϸ"), + (0x3F8, "V"), + (0x3F9, "M", "σ"), + (0x3FA, "M", "ϻ"), + (0x3FB, "V"), + (0x3FD, "M", "ͻ"), + (0x3FE, "M", "ͼ"), + (0x3FF, "M", "ͽ"), + (0x400, "M", "ѐ"), + (0x401, "M", "ё"), + (0x402, "M", "ђ"), + ] + + +def _seg_7() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x403, "M", "ѓ"), + (0x404, "M", "є"), + (0x405, "M", "ѕ"), + (0x406, "M", "і"), + (0x407, "M", "ї"), + (0x408, "M", "ј"), + (0x409, "M", "љ"), + (0x40A, "M", "њ"), + (0x40B, "M", "ћ"), + (0x40C, "M", "ќ"), + (0x40D, "M", "ѝ"), + (0x40E, "M", "ў"), + (0x40F, "M", "џ"), + (0x410, "M", "а"), + (0x411, "M", "б"), + (0x412, "M", "в"), + (0x413, "M", "г"), + (0x414, "M", "д"), + (0x415, "M", "е"), + (0x416, "M", "ж"), + (0x417, "M", "з"), + (0x418, "M", "и"), + (0x419, "M", "й"), + (0x41A, "M", "к"), + (0x41B, "M", "л"), + (0x41C, "M", "м"), + (0x41D, "M", "н"), + (0x41E, "M", "о"), + (0x41F, "M", "п"), + (0x420, "M", "р"), + (0x421, "M", "с"), + (0x422, "M", "т"), + (0x423, "M", "у"), + (0x424, "M", "ф"), + (0x425, "M", "х"), + (0x426, "M", "ц"), + (0x427, "M", "ч"), + (0x428, "M", "ш"), + (0x429, "M", "щ"), + (0x42A, "M", "ъ"), + (0x42B, "M", "ы"), + (0x42C, "M", "ь"), + (0x42D, "M", "э"), + (0x42E, "M", "ю"), + (0x42F, "M", "я"), + (0x430, "V"), + (0x460, "M", "ѡ"), + (0x461, "V"), + (0x462, "M", "ѣ"), + (0x463, "V"), + (0x464, "M", "ѥ"), + (0x465, "V"), + (0x466, "M", "ѧ"), + (0x467, "V"), + (0x468, "M", "ѩ"), + (0x469, "V"), + (0x46A, "M", "ѫ"), + (0x46B, "V"), + (0x46C, "M", "ѭ"), + (0x46D, "V"), + (0x46E, "M", "ѯ"), + (0x46F, "V"), + (0x470, "M", "ѱ"), + (0x471, "V"), + (0x472, "M", "ѳ"), + (0x473, "V"), + (0x474, "M", "ѵ"), + (0x475, "V"), + (0x476, "M", "ѷ"), + (0x477, "V"), + (0x478, "M", "ѹ"), + (0x479, "V"), + (0x47A, "M", "ѻ"), + (0x47B, "V"), + (0x47C, "M", "ѽ"), + (0x47D, "V"), + (0x47E, "M", "ѿ"), + (0x47F, "V"), + (0x480, "M", "ҁ"), + (0x481, "V"), + (0x48A, "M", "ҋ"), + (0x48B, "V"), + (0x48C, "M", "ҍ"), + (0x48D, "V"), + (0x48E, "M", "ҏ"), + (0x48F, "V"), + (0x490, "M", "ґ"), + (0x491, "V"), + (0x492, "M", "ғ"), + (0x493, "V"), + (0x494, "M", "ҕ"), + (0x495, "V"), + (0x496, "M", "җ"), + (0x497, "V"), + (0x498, "M", "ҙ"), + (0x499, "V"), + (0x49A, "M", "қ"), + (0x49B, "V"), + (0x49C, "M", "ҝ"), + (0x49D, "V"), + ] + + +def _seg_8() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x49E, "M", "ҟ"), + (0x49F, "V"), + (0x4A0, "M", "ҡ"), + (0x4A1, "V"), + (0x4A2, "M", "ң"), + (0x4A3, "V"), + (0x4A4, "M", "ҥ"), + (0x4A5, "V"), + (0x4A6, "M", "ҧ"), + (0x4A7, "V"), + (0x4A8, "M", "ҩ"), + (0x4A9, "V"), + (0x4AA, "M", "ҫ"), + (0x4AB, "V"), + (0x4AC, "M", "ҭ"), + (0x4AD, "V"), + (0x4AE, "M", "ү"), + (0x4AF, "V"), + (0x4B0, "M", "ұ"), + (0x4B1, "V"), + (0x4B2, "M", "ҳ"), + (0x4B3, "V"), + (0x4B4, "M", "ҵ"), + (0x4B5, "V"), + (0x4B6, "M", "ҷ"), + (0x4B7, "V"), + (0x4B8, "M", "ҹ"), + (0x4B9, "V"), + (0x4BA, "M", "һ"), + (0x4BB, "V"), + (0x4BC, "M", "ҽ"), + (0x4BD, "V"), + (0x4BE, "M", "ҿ"), + (0x4BF, "V"), + (0x4C0, "X"), + (0x4C1, "M", "ӂ"), + (0x4C2, "V"), + (0x4C3, "M", "ӄ"), + (0x4C4, "V"), + (0x4C5, "M", "ӆ"), + (0x4C6, "V"), + (0x4C7, "M", "ӈ"), + (0x4C8, "V"), + (0x4C9, "M", "ӊ"), + (0x4CA, "V"), + (0x4CB, "M", "ӌ"), + (0x4CC, "V"), + (0x4CD, "M", "ӎ"), + (0x4CE, "V"), + (0x4D0, "M", "ӑ"), + (0x4D1, "V"), + (0x4D2, "M", "ӓ"), + (0x4D3, "V"), + (0x4D4, "M", "ӕ"), + (0x4D5, "V"), + (0x4D6, "M", "ӗ"), + (0x4D7, "V"), + (0x4D8, "M", "ә"), + (0x4D9, "V"), + (0x4DA, "M", "ӛ"), + (0x4DB, "V"), + (0x4DC, "M", "ӝ"), + (0x4DD, "V"), + (0x4DE, "M", "ӟ"), + (0x4DF, "V"), + (0x4E0, "M", "ӡ"), + (0x4E1, "V"), + (0x4E2, "M", "ӣ"), + (0x4E3, "V"), + (0x4E4, "M", "ӥ"), + (0x4E5, "V"), + (0x4E6, "M", "ӧ"), + (0x4E7, "V"), + (0x4E8, "M", "ө"), + (0x4E9, "V"), + (0x4EA, "M", "ӫ"), + (0x4EB, "V"), + (0x4EC, "M", "ӭ"), + (0x4ED, "V"), + (0x4EE, "M", "ӯ"), + (0x4EF, "V"), + (0x4F0, "M", "ӱ"), + (0x4F1, "V"), + (0x4F2, "M", "ӳ"), + (0x4F3, "V"), + (0x4F4, "M", "ӵ"), + (0x4F5, "V"), + (0x4F6, "M", "ӷ"), + (0x4F7, "V"), + (0x4F8, "M", "ӹ"), + (0x4F9, "V"), + (0x4FA, "M", "ӻ"), + (0x4FB, "V"), + (0x4FC, "M", "ӽ"), + (0x4FD, "V"), + (0x4FE, "M", "ӿ"), + (0x4FF, "V"), + (0x500, "M", "ԁ"), + (0x501, "V"), + (0x502, "M", "ԃ"), + ] + + +def _seg_9() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x503, "V"), + (0x504, "M", "ԅ"), + (0x505, "V"), + (0x506, "M", "ԇ"), + (0x507, "V"), + (0x508, "M", "ԉ"), + (0x509, "V"), + (0x50A, "M", "ԋ"), + (0x50B, "V"), + (0x50C, "M", "ԍ"), + (0x50D, "V"), + (0x50E, "M", "ԏ"), + (0x50F, "V"), + (0x510, "M", "ԑ"), + (0x511, "V"), + (0x512, "M", "ԓ"), + (0x513, "V"), + (0x514, "M", "ԕ"), + (0x515, "V"), + (0x516, "M", "ԗ"), + (0x517, "V"), + (0x518, "M", "ԙ"), + (0x519, "V"), + (0x51A, "M", "ԛ"), + (0x51B, "V"), + (0x51C, "M", "ԝ"), + (0x51D, "V"), + (0x51E, "M", "ԟ"), + (0x51F, "V"), + (0x520, "M", "ԡ"), + (0x521, "V"), + (0x522, "M", "ԣ"), + (0x523, "V"), + (0x524, "M", "ԥ"), + (0x525, "V"), + (0x526, "M", "ԧ"), + (0x527, "V"), + (0x528, "M", "ԩ"), + (0x529, "V"), + (0x52A, "M", "ԫ"), + (0x52B, "V"), + (0x52C, "M", "ԭ"), + (0x52D, "V"), + (0x52E, "M", "ԯ"), + (0x52F, "V"), + (0x530, "X"), + (0x531, "M", "ա"), + (0x532, "M", "բ"), + (0x533, "M", "գ"), + (0x534, "M", "դ"), + (0x535, "M", "ե"), + (0x536, "M", "զ"), + (0x537, "M", "է"), + (0x538, "M", "ը"), + (0x539, "M", "թ"), + (0x53A, "M", "ժ"), + (0x53B, "M", "ի"), + (0x53C, "M", "լ"), + (0x53D, "M", "խ"), + (0x53E, "M", "ծ"), + (0x53F, "M", "կ"), + (0x540, "M", "հ"), + (0x541, "M", "ձ"), + (0x542, "M", "ղ"), + (0x543, "M", "ճ"), + (0x544, "M", "մ"), + (0x545, "M", "յ"), + (0x546, "M", "ն"), + (0x547, "M", "շ"), + (0x548, "M", "ո"), + (0x549, "M", "չ"), + (0x54A, "M", "պ"), + (0x54B, "M", "ջ"), + (0x54C, "M", "ռ"), + (0x54D, "M", "ս"), + (0x54E, "M", "վ"), + (0x54F, "M", "տ"), + (0x550, "M", "ր"), + (0x551, "M", "ց"), + (0x552, "M", "ւ"), + (0x553, "M", "փ"), + (0x554, "M", "ք"), + (0x555, "M", "օ"), + (0x556, "M", "ֆ"), + (0x557, "X"), + (0x559, "V"), + (0x587, "M", "եւ"), + (0x588, "V"), + (0x58B, "X"), + (0x58D, "V"), + (0x590, "X"), + (0x591, "V"), + (0x5C8, "X"), + (0x5D0, "V"), + (0x5EB, "X"), + (0x5EF, "V"), + (0x5F5, "X"), + (0x606, "V"), + (0x61C, "X"), + (0x61D, "V"), + ] + + +def _seg_10() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x675, "M", "اٴ"), + (0x676, "M", "وٴ"), + (0x677, "M", "ۇٴ"), + (0x678, "M", "يٴ"), + (0x679, "V"), + (0x6DD, "X"), + (0x6DE, "V"), + (0x70E, "X"), + (0x710, "V"), + (0x74B, "X"), + (0x74D, "V"), + (0x7B2, "X"), + (0x7C0, "V"), + (0x7FB, "X"), + (0x7FD, "V"), + (0x82E, "X"), + (0x830, "V"), + (0x83F, "X"), + (0x840, "V"), + (0x85C, "X"), + (0x85E, "V"), + (0x85F, "X"), + (0x860, "V"), + (0x86B, "X"), + (0x870, "V"), + (0x88F, "X"), + (0x898, "V"), + (0x8E2, "X"), + (0x8E3, "V"), + (0x958, "M", "क़"), + (0x959, "M", "ख़"), + (0x95A, "M", "ग़"), + (0x95B, "M", "ज़"), + (0x95C, "M", "ड़"), + (0x95D, "M", "ढ़"), + (0x95E, "M", "फ़"), + (0x95F, "M", "य़"), + (0x960, "V"), + (0x984, "X"), + (0x985, "V"), + (0x98D, "X"), + (0x98F, "V"), + (0x991, "X"), + (0x993, "V"), + (0x9A9, "X"), + (0x9AA, "V"), + (0x9B1, "X"), + (0x9B2, "V"), + (0x9B3, "X"), + (0x9B6, "V"), + (0x9BA, "X"), + (0x9BC, "V"), + (0x9C5, "X"), + (0x9C7, "V"), + (0x9C9, "X"), + (0x9CB, "V"), + (0x9CF, "X"), + (0x9D7, "V"), + (0x9D8, "X"), + (0x9DC, "M", "ড়"), + (0x9DD, "M", "ঢ়"), + (0x9DE, "X"), + (0x9DF, "M", "য়"), + (0x9E0, "V"), + (0x9E4, "X"), + (0x9E6, "V"), + (0x9FF, "X"), + (0xA01, "V"), + (0xA04, "X"), + (0xA05, "V"), + (0xA0B, "X"), + (0xA0F, "V"), + (0xA11, "X"), + (0xA13, "V"), + (0xA29, "X"), + (0xA2A, "V"), + (0xA31, "X"), + (0xA32, "V"), + (0xA33, "M", "ਲ਼"), + (0xA34, "X"), + (0xA35, "V"), + (0xA36, "M", "ਸ਼"), + (0xA37, "X"), + (0xA38, "V"), + (0xA3A, "X"), + (0xA3C, "V"), + (0xA3D, "X"), + (0xA3E, "V"), + (0xA43, "X"), + (0xA47, "V"), + (0xA49, "X"), + (0xA4B, "V"), + (0xA4E, "X"), + (0xA51, "V"), + (0xA52, "X"), + (0xA59, "M", "ਖ਼"), + (0xA5A, "M", "ਗ਼"), + (0xA5B, "M", "ਜ਼"), + (0xA5C, "V"), + (0xA5D, "X"), + ] + + +def _seg_11() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xA5E, "M", "ਫ਼"), + (0xA5F, "X"), + (0xA66, "V"), + (0xA77, "X"), + (0xA81, "V"), + (0xA84, "X"), + (0xA85, "V"), + (0xA8E, "X"), + (0xA8F, "V"), + (0xA92, "X"), + (0xA93, "V"), + (0xAA9, "X"), + (0xAAA, "V"), + (0xAB1, "X"), + (0xAB2, "V"), + (0xAB4, "X"), + (0xAB5, "V"), + (0xABA, "X"), + (0xABC, "V"), + (0xAC6, "X"), + (0xAC7, "V"), + (0xACA, "X"), + (0xACB, "V"), + (0xACE, "X"), + (0xAD0, "V"), + (0xAD1, "X"), + (0xAE0, "V"), + (0xAE4, "X"), + (0xAE6, "V"), + (0xAF2, "X"), + (0xAF9, "V"), + (0xB00, "X"), + (0xB01, "V"), + (0xB04, "X"), + (0xB05, "V"), + (0xB0D, "X"), + (0xB0F, "V"), + (0xB11, "X"), + (0xB13, "V"), + (0xB29, "X"), + (0xB2A, "V"), + (0xB31, "X"), + (0xB32, "V"), + (0xB34, "X"), + (0xB35, "V"), + (0xB3A, "X"), + (0xB3C, "V"), + (0xB45, "X"), + (0xB47, "V"), + (0xB49, "X"), + (0xB4B, "V"), + (0xB4E, "X"), + (0xB55, "V"), + (0xB58, "X"), + (0xB5C, "M", "ଡ଼"), + (0xB5D, "M", "ଢ଼"), + (0xB5E, "X"), + (0xB5F, "V"), + (0xB64, "X"), + (0xB66, "V"), + (0xB78, "X"), + (0xB82, "V"), + (0xB84, "X"), + (0xB85, "V"), + (0xB8B, "X"), + (0xB8E, "V"), + (0xB91, "X"), + (0xB92, "V"), + (0xB96, "X"), + (0xB99, "V"), + (0xB9B, "X"), + (0xB9C, "V"), + (0xB9D, "X"), + (0xB9E, "V"), + (0xBA0, "X"), + (0xBA3, "V"), + (0xBA5, "X"), + (0xBA8, "V"), + (0xBAB, "X"), + (0xBAE, "V"), + (0xBBA, "X"), + (0xBBE, "V"), + (0xBC3, "X"), + (0xBC6, "V"), + (0xBC9, "X"), + (0xBCA, "V"), + (0xBCE, "X"), + (0xBD0, "V"), + (0xBD1, "X"), + (0xBD7, "V"), + (0xBD8, "X"), + (0xBE6, "V"), + (0xBFB, "X"), + (0xC00, "V"), + (0xC0D, "X"), + (0xC0E, "V"), + (0xC11, "X"), + (0xC12, "V"), + (0xC29, "X"), + (0xC2A, "V"), + ] + + +def _seg_12() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xC3A, "X"), + (0xC3C, "V"), + (0xC45, "X"), + (0xC46, "V"), + (0xC49, "X"), + (0xC4A, "V"), + (0xC4E, "X"), + (0xC55, "V"), + (0xC57, "X"), + (0xC58, "V"), + (0xC5B, "X"), + (0xC5D, "V"), + (0xC5E, "X"), + (0xC60, "V"), + (0xC64, "X"), + (0xC66, "V"), + (0xC70, "X"), + (0xC77, "V"), + (0xC8D, "X"), + (0xC8E, "V"), + (0xC91, "X"), + (0xC92, "V"), + (0xCA9, "X"), + (0xCAA, "V"), + (0xCB4, "X"), + (0xCB5, "V"), + (0xCBA, "X"), + (0xCBC, "V"), + (0xCC5, "X"), + (0xCC6, "V"), + (0xCC9, "X"), + (0xCCA, "V"), + (0xCCE, "X"), + (0xCD5, "V"), + (0xCD7, "X"), + (0xCDD, "V"), + (0xCDF, "X"), + (0xCE0, "V"), + (0xCE4, "X"), + (0xCE6, "V"), + (0xCF0, "X"), + (0xCF1, "V"), + (0xCF4, "X"), + (0xD00, "V"), + (0xD0D, "X"), + (0xD0E, "V"), + (0xD11, "X"), + (0xD12, "V"), + (0xD45, "X"), + (0xD46, "V"), + (0xD49, "X"), + (0xD4A, "V"), + (0xD50, "X"), + (0xD54, "V"), + (0xD64, "X"), + (0xD66, "V"), + (0xD80, "X"), + (0xD81, "V"), + (0xD84, "X"), + (0xD85, "V"), + (0xD97, "X"), + (0xD9A, "V"), + (0xDB2, "X"), + (0xDB3, "V"), + (0xDBC, "X"), + (0xDBD, "V"), + (0xDBE, "X"), + (0xDC0, "V"), + (0xDC7, "X"), + (0xDCA, "V"), + (0xDCB, "X"), + (0xDCF, "V"), + (0xDD5, "X"), + (0xDD6, "V"), + (0xDD7, "X"), + (0xDD8, "V"), + (0xDE0, "X"), + (0xDE6, "V"), + (0xDF0, "X"), + (0xDF2, "V"), + (0xDF5, "X"), + (0xE01, "V"), + (0xE33, "M", "ํา"), + (0xE34, "V"), + (0xE3B, "X"), + (0xE3F, "V"), + (0xE5C, "X"), + (0xE81, "V"), + (0xE83, "X"), + (0xE84, "V"), + (0xE85, "X"), + (0xE86, "V"), + (0xE8B, "X"), + (0xE8C, "V"), + (0xEA4, "X"), + (0xEA5, "V"), + (0xEA6, "X"), + (0xEA7, "V"), + (0xEB3, "M", "ໍາ"), + (0xEB4, "V"), + ] + + +def _seg_13() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xEBE, "X"), + (0xEC0, "V"), + (0xEC5, "X"), + (0xEC6, "V"), + (0xEC7, "X"), + (0xEC8, "V"), + (0xECF, "X"), + (0xED0, "V"), + (0xEDA, "X"), + (0xEDC, "M", "ຫນ"), + (0xEDD, "M", "ຫມ"), + (0xEDE, "V"), + (0xEE0, "X"), + (0xF00, "V"), + (0xF0C, "M", "་"), + (0xF0D, "V"), + (0xF43, "M", "གྷ"), + (0xF44, "V"), + (0xF48, "X"), + (0xF49, "V"), + (0xF4D, "M", "ཌྷ"), + (0xF4E, "V"), + (0xF52, "M", "དྷ"), + (0xF53, "V"), + (0xF57, "M", "བྷ"), + (0xF58, "V"), + (0xF5C, "M", "ཛྷ"), + (0xF5D, "V"), + (0xF69, "M", "ཀྵ"), + (0xF6A, "V"), + (0xF6D, "X"), + (0xF71, "V"), + (0xF73, "M", "ཱི"), + (0xF74, "V"), + (0xF75, "M", "ཱུ"), + (0xF76, "M", "ྲྀ"), + (0xF77, "M", "ྲཱྀ"), + (0xF78, "M", "ླྀ"), + (0xF79, "M", "ླཱྀ"), + (0xF7A, "V"), + (0xF81, "M", "ཱྀ"), + (0xF82, "V"), + (0xF93, "M", "ྒྷ"), + (0xF94, "V"), + (0xF98, "X"), + (0xF99, "V"), + (0xF9D, "M", "ྜྷ"), + (0xF9E, "V"), + (0xFA2, "M", "ྡྷ"), + (0xFA3, "V"), + (0xFA7, "M", "ྦྷ"), + (0xFA8, "V"), + (0xFAC, "M", "ྫྷ"), + (0xFAD, "V"), + (0xFB9, "M", "ྐྵ"), + (0xFBA, "V"), + (0xFBD, "X"), + (0xFBE, "V"), + (0xFCD, "X"), + (0xFCE, "V"), + (0xFDB, "X"), + (0x1000, "V"), + (0x10A0, "X"), + (0x10C7, "M", "ⴧ"), + (0x10C8, "X"), + (0x10CD, "M", "ⴭ"), + (0x10CE, "X"), + (0x10D0, "V"), + (0x10FC, "M", "ნ"), + (0x10FD, "V"), + (0x115F, "X"), + (0x1161, "V"), + (0x1249, "X"), + (0x124A, "V"), + (0x124E, "X"), + (0x1250, "V"), + (0x1257, "X"), + (0x1258, "V"), + (0x1259, "X"), + (0x125A, "V"), + (0x125E, "X"), + (0x1260, "V"), + (0x1289, "X"), + (0x128A, "V"), + (0x128E, "X"), + (0x1290, "V"), + (0x12B1, "X"), + (0x12B2, "V"), + (0x12B6, "X"), + (0x12B8, "V"), + (0x12BF, "X"), + (0x12C0, "V"), + (0x12C1, "X"), + (0x12C2, "V"), + (0x12C6, "X"), + (0x12C8, "V"), + (0x12D7, "X"), + (0x12D8, "V"), + (0x1311, "X"), + (0x1312, "V"), + ] + + +def _seg_14() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1316, "X"), + (0x1318, "V"), + (0x135B, "X"), + (0x135D, "V"), + (0x137D, "X"), + (0x1380, "V"), + (0x139A, "X"), + (0x13A0, "V"), + (0x13F6, "X"), + (0x13F8, "M", "Ᏸ"), + (0x13F9, "M", "Ᏹ"), + (0x13FA, "M", "Ᏺ"), + (0x13FB, "M", "Ᏻ"), + (0x13FC, "M", "Ᏼ"), + (0x13FD, "M", "Ᏽ"), + (0x13FE, "X"), + (0x1400, "V"), + (0x1680, "X"), + (0x1681, "V"), + (0x169D, "X"), + (0x16A0, "V"), + (0x16F9, "X"), + (0x1700, "V"), + (0x1716, "X"), + (0x171F, "V"), + (0x1737, "X"), + (0x1740, "V"), + (0x1754, "X"), + (0x1760, "V"), + (0x176D, "X"), + (0x176E, "V"), + (0x1771, "X"), + (0x1772, "V"), + (0x1774, "X"), + (0x1780, "V"), + (0x17B4, "X"), + (0x17B6, "V"), + (0x17DE, "X"), + (0x17E0, "V"), + (0x17EA, "X"), + (0x17F0, "V"), + (0x17FA, "X"), + (0x1800, "V"), + (0x1806, "X"), + (0x1807, "V"), + (0x180B, "I"), + (0x180E, "X"), + (0x180F, "I"), + (0x1810, "V"), + (0x181A, "X"), + (0x1820, "V"), + (0x1879, "X"), + (0x1880, "V"), + (0x18AB, "X"), + (0x18B0, "V"), + (0x18F6, "X"), + (0x1900, "V"), + (0x191F, "X"), + (0x1920, "V"), + (0x192C, "X"), + (0x1930, "V"), + (0x193C, "X"), + (0x1940, "V"), + (0x1941, "X"), + (0x1944, "V"), + (0x196E, "X"), + (0x1970, "V"), + (0x1975, "X"), + (0x1980, "V"), + (0x19AC, "X"), + (0x19B0, "V"), + (0x19CA, "X"), + (0x19D0, "V"), + (0x19DB, "X"), + (0x19DE, "V"), + (0x1A1C, "X"), + (0x1A1E, "V"), + (0x1A5F, "X"), + (0x1A60, "V"), + (0x1A7D, "X"), + (0x1A7F, "V"), + (0x1A8A, "X"), + (0x1A90, "V"), + (0x1A9A, "X"), + (0x1AA0, "V"), + (0x1AAE, "X"), + (0x1AB0, "V"), + (0x1ACF, "X"), + (0x1B00, "V"), + (0x1B4D, "X"), + (0x1B50, "V"), + (0x1B7F, "X"), + (0x1B80, "V"), + (0x1BF4, "X"), + (0x1BFC, "V"), + (0x1C38, "X"), + (0x1C3B, "V"), + (0x1C4A, "X"), + (0x1C4D, "V"), + (0x1C80, "M", "в"), + ] + + +def _seg_15() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1C81, "M", "д"), + (0x1C82, "M", "о"), + (0x1C83, "M", "с"), + (0x1C84, "M", "т"), + (0x1C86, "M", "ъ"), + (0x1C87, "M", "ѣ"), + (0x1C88, "M", "ꙋ"), + (0x1C89, "X"), + (0x1C90, "M", "ა"), + (0x1C91, "M", "ბ"), + (0x1C92, "M", "გ"), + (0x1C93, "M", "დ"), + (0x1C94, "M", "ე"), + (0x1C95, "M", "ვ"), + (0x1C96, "M", "ზ"), + (0x1C97, "M", "თ"), + (0x1C98, "M", "ი"), + (0x1C99, "M", "კ"), + (0x1C9A, "M", "ლ"), + (0x1C9B, "M", "მ"), + (0x1C9C, "M", "ნ"), + (0x1C9D, "M", "ო"), + (0x1C9E, "M", "პ"), + (0x1C9F, "M", "ჟ"), + (0x1CA0, "M", "რ"), + (0x1CA1, "M", "ს"), + (0x1CA2, "M", "ტ"), + (0x1CA3, "M", "უ"), + (0x1CA4, "M", "ფ"), + (0x1CA5, "M", "ქ"), + (0x1CA6, "M", "ღ"), + (0x1CA7, "M", "ყ"), + (0x1CA8, "M", "შ"), + (0x1CA9, "M", "ჩ"), + (0x1CAA, "M", "ც"), + (0x1CAB, "M", "ძ"), + (0x1CAC, "M", "წ"), + (0x1CAD, "M", "ჭ"), + (0x1CAE, "M", "ხ"), + (0x1CAF, "M", "ჯ"), + (0x1CB0, "M", "ჰ"), + (0x1CB1, "M", "ჱ"), + (0x1CB2, "M", "ჲ"), + (0x1CB3, "M", "ჳ"), + (0x1CB4, "M", "ჴ"), + (0x1CB5, "M", "ჵ"), + (0x1CB6, "M", "ჶ"), + (0x1CB7, "M", "ჷ"), + (0x1CB8, "M", "ჸ"), + (0x1CB9, "M", "ჹ"), + (0x1CBA, "M", "ჺ"), + (0x1CBB, "X"), + (0x1CBD, "M", "ჽ"), + (0x1CBE, "M", "ჾ"), + (0x1CBF, "M", "ჿ"), + (0x1CC0, "V"), + (0x1CC8, "X"), + (0x1CD0, "V"), + (0x1CFB, "X"), + (0x1D00, "V"), + (0x1D2C, "M", "a"), + (0x1D2D, "M", "æ"), + (0x1D2E, "M", "b"), + (0x1D2F, "V"), + (0x1D30, "M", "d"), + (0x1D31, "M", "e"), + (0x1D32, "M", "ǝ"), + (0x1D33, "M", "g"), + (0x1D34, "M", "h"), + (0x1D35, "M", "i"), + (0x1D36, "M", "j"), + (0x1D37, "M", "k"), + (0x1D38, "M", "l"), + (0x1D39, "M", "m"), + (0x1D3A, "M", "n"), + (0x1D3B, "V"), + (0x1D3C, "M", "o"), + (0x1D3D, "M", "ȣ"), + (0x1D3E, "M", "p"), + (0x1D3F, "M", "r"), + (0x1D40, "M", "t"), + (0x1D41, "M", "u"), + (0x1D42, "M", "w"), + (0x1D43, "M", "a"), + (0x1D44, "M", "ɐ"), + (0x1D45, "M", "ɑ"), + (0x1D46, "M", "ᴂ"), + (0x1D47, "M", "b"), + (0x1D48, "M", "d"), + (0x1D49, "M", "e"), + (0x1D4A, "M", "ə"), + (0x1D4B, "M", "ɛ"), + (0x1D4C, "M", "ɜ"), + (0x1D4D, "M", "g"), + (0x1D4E, "V"), + (0x1D4F, "M", "k"), + (0x1D50, "M", "m"), + (0x1D51, "M", "ŋ"), + (0x1D52, "M", "o"), + (0x1D53, "M", "ɔ"), + ] + + +def _seg_16() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D54, "M", "ᴖ"), + (0x1D55, "M", "ᴗ"), + (0x1D56, "M", "p"), + (0x1D57, "M", "t"), + (0x1D58, "M", "u"), + (0x1D59, "M", "ᴝ"), + (0x1D5A, "M", "ɯ"), + (0x1D5B, "M", "v"), + (0x1D5C, "M", "ᴥ"), + (0x1D5D, "M", "β"), + (0x1D5E, "M", "γ"), + (0x1D5F, "M", "δ"), + (0x1D60, "M", "φ"), + (0x1D61, "M", "χ"), + (0x1D62, "M", "i"), + (0x1D63, "M", "r"), + (0x1D64, "M", "u"), + (0x1D65, "M", "v"), + (0x1D66, "M", "β"), + (0x1D67, "M", "γ"), + (0x1D68, "M", "ρ"), + (0x1D69, "M", "φ"), + (0x1D6A, "M", "χ"), + (0x1D6B, "V"), + (0x1D78, "M", "н"), + (0x1D79, "V"), + (0x1D9B, "M", "ɒ"), + (0x1D9C, "M", "c"), + (0x1D9D, "M", "ɕ"), + (0x1D9E, "M", "ð"), + (0x1D9F, "M", "ɜ"), + (0x1DA0, "M", "f"), + (0x1DA1, "M", "ɟ"), + (0x1DA2, "M", "ɡ"), + (0x1DA3, "M", "ɥ"), + (0x1DA4, "M", "ɨ"), + (0x1DA5, "M", "ɩ"), + (0x1DA6, "M", "ɪ"), + (0x1DA7, "M", "ᵻ"), + (0x1DA8, "M", "ʝ"), + (0x1DA9, "M", "ɭ"), + (0x1DAA, "M", "ᶅ"), + (0x1DAB, "M", "ʟ"), + (0x1DAC, "M", "ɱ"), + (0x1DAD, "M", "ɰ"), + (0x1DAE, "M", "ɲ"), + (0x1DAF, "M", "ɳ"), + (0x1DB0, "M", "ɴ"), + (0x1DB1, "M", "ɵ"), + (0x1DB2, "M", "ɸ"), + (0x1DB3, "M", "ʂ"), + (0x1DB4, "M", "ʃ"), + (0x1DB5, "M", "ƫ"), + (0x1DB6, "M", "ʉ"), + (0x1DB7, "M", "ʊ"), + (0x1DB8, "M", "ᴜ"), + (0x1DB9, "M", "ʋ"), + (0x1DBA, "M", "ʌ"), + (0x1DBB, "M", "z"), + (0x1DBC, "M", "ʐ"), + (0x1DBD, "M", "ʑ"), + (0x1DBE, "M", "ʒ"), + (0x1DBF, "M", "θ"), + (0x1DC0, "V"), + (0x1E00, "M", "ḁ"), + (0x1E01, "V"), + (0x1E02, "M", "ḃ"), + (0x1E03, "V"), + (0x1E04, "M", "ḅ"), + (0x1E05, "V"), + (0x1E06, "M", "ḇ"), + (0x1E07, "V"), + (0x1E08, "M", "ḉ"), + (0x1E09, "V"), + (0x1E0A, "M", "ḋ"), + (0x1E0B, "V"), + (0x1E0C, "M", "ḍ"), + (0x1E0D, "V"), + (0x1E0E, "M", "ḏ"), + (0x1E0F, "V"), + (0x1E10, "M", "ḑ"), + (0x1E11, "V"), + (0x1E12, "M", "ḓ"), + (0x1E13, "V"), + (0x1E14, "M", "ḕ"), + (0x1E15, "V"), + (0x1E16, "M", "ḗ"), + (0x1E17, "V"), + (0x1E18, "M", "ḙ"), + (0x1E19, "V"), + (0x1E1A, "M", "ḛ"), + (0x1E1B, "V"), + (0x1E1C, "M", "ḝ"), + (0x1E1D, "V"), + (0x1E1E, "M", "ḟ"), + (0x1E1F, "V"), + (0x1E20, "M", "ḡ"), + (0x1E21, "V"), + (0x1E22, "M", "ḣ"), + (0x1E23, "V"), + ] + + +def _seg_17() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1E24, "M", "ḥ"), + (0x1E25, "V"), + (0x1E26, "M", "ḧ"), + (0x1E27, "V"), + (0x1E28, "M", "ḩ"), + (0x1E29, "V"), + (0x1E2A, "M", "ḫ"), + (0x1E2B, "V"), + (0x1E2C, "M", "ḭ"), + (0x1E2D, "V"), + (0x1E2E, "M", "ḯ"), + (0x1E2F, "V"), + (0x1E30, "M", "ḱ"), + (0x1E31, "V"), + (0x1E32, "M", "ḳ"), + (0x1E33, "V"), + (0x1E34, "M", "ḵ"), + (0x1E35, "V"), + (0x1E36, "M", "ḷ"), + (0x1E37, "V"), + (0x1E38, "M", "ḹ"), + (0x1E39, "V"), + (0x1E3A, "M", "ḻ"), + (0x1E3B, "V"), + (0x1E3C, "M", "ḽ"), + (0x1E3D, "V"), + (0x1E3E, "M", "ḿ"), + (0x1E3F, "V"), + (0x1E40, "M", "ṁ"), + (0x1E41, "V"), + (0x1E42, "M", "ṃ"), + (0x1E43, "V"), + (0x1E44, "M", "ṅ"), + (0x1E45, "V"), + (0x1E46, "M", "ṇ"), + (0x1E47, "V"), + (0x1E48, "M", "ṉ"), + (0x1E49, "V"), + (0x1E4A, "M", "ṋ"), + (0x1E4B, "V"), + (0x1E4C, "M", "ṍ"), + (0x1E4D, "V"), + (0x1E4E, "M", "ṏ"), + (0x1E4F, "V"), + (0x1E50, "M", "ṑ"), + (0x1E51, "V"), + (0x1E52, "M", "ṓ"), + (0x1E53, "V"), + (0x1E54, "M", "ṕ"), + (0x1E55, "V"), + (0x1E56, "M", "ṗ"), + (0x1E57, "V"), + (0x1E58, "M", "ṙ"), + (0x1E59, "V"), + (0x1E5A, "M", "ṛ"), + (0x1E5B, "V"), + (0x1E5C, "M", "ṝ"), + (0x1E5D, "V"), + (0x1E5E, "M", "ṟ"), + (0x1E5F, "V"), + (0x1E60, "M", "ṡ"), + (0x1E61, "V"), + (0x1E62, "M", "ṣ"), + (0x1E63, "V"), + (0x1E64, "M", "ṥ"), + (0x1E65, "V"), + (0x1E66, "M", "ṧ"), + (0x1E67, "V"), + (0x1E68, "M", "ṩ"), + (0x1E69, "V"), + (0x1E6A, "M", "ṫ"), + (0x1E6B, "V"), + (0x1E6C, "M", "ṭ"), + (0x1E6D, "V"), + (0x1E6E, "M", "ṯ"), + (0x1E6F, "V"), + (0x1E70, "M", "ṱ"), + (0x1E71, "V"), + (0x1E72, "M", "ṳ"), + (0x1E73, "V"), + (0x1E74, "M", "ṵ"), + (0x1E75, "V"), + (0x1E76, "M", "ṷ"), + (0x1E77, "V"), + (0x1E78, "M", "ṹ"), + (0x1E79, "V"), + (0x1E7A, "M", "ṻ"), + (0x1E7B, "V"), + (0x1E7C, "M", "ṽ"), + (0x1E7D, "V"), + (0x1E7E, "M", "ṿ"), + (0x1E7F, "V"), + (0x1E80, "M", "ẁ"), + (0x1E81, "V"), + (0x1E82, "M", "ẃ"), + (0x1E83, "V"), + (0x1E84, "M", "ẅ"), + (0x1E85, "V"), + (0x1E86, "M", "ẇ"), + (0x1E87, "V"), + ] + + +def _seg_18() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1E88, "M", "ẉ"), + (0x1E89, "V"), + (0x1E8A, "M", "ẋ"), + (0x1E8B, "V"), + (0x1E8C, "M", "ẍ"), + (0x1E8D, "V"), + (0x1E8E, "M", "ẏ"), + (0x1E8F, "V"), + (0x1E90, "M", "ẑ"), + (0x1E91, "V"), + (0x1E92, "M", "ẓ"), + (0x1E93, "V"), + (0x1E94, "M", "ẕ"), + (0x1E95, "V"), + (0x1E9A, "M", "aʾ"), + (0x1E9B, "M", "ṡ"), + (0x1E9C, "V"), + (0x1E9E, "M", "ß"), + (0x1E9F, "V"), + (0x1EA0, "M", "ạ"), + (0x1EA1, "V"), + (0x1EA2, "M", "ả"), + (0x1EA3, "V"), + (0x1EA4, "M", "ấ"), + (0x1EA5, "V"), + (0x1EA6, "M", "ầ"), + (0x1EA7, "V"), + (0x1EA8, "M", "ẩ"), + (0x1EA9, "V"), + (0x1EAA, "M", "ẫ"), + (0x1EAB, "V"), + (0x1EAC, "M", "ậ"), + (0x1EAD, "V"), + (0x1EAE, "M", "ắ"), + (0x1EAF, "V"), + (0x1EB0, "M", "ằ"), + (0x1EB1, "V"), + (0x1EB2, "M", "ẳ"), + (0x1EB3, "V"), + (0x1EB4, "M", "ẵ"), + (0x1EB5, "V"), + (0x1EB6, "M", "ặ"), + (0x1EB7, "V"), + (0x1EB8, "M", "ẹ"), + (0x1EB9, "V"), + (0x1EBA, "M", "ẻ"), + (0x1EBB, "V"), + (0x1EBC, "M", "ẽ"), + (0x1EBD, "V"), + (0x1EBE, "M", "ế"), + (0x1EBF, "V"), + (0x1EC0, "M", "ề"), + (0x1EC1, "V"), + (0x1EC2, "M", "ể"), + (0x1EC3, "V"), + (0x1EC4, "M", "ễ"), + (0x1EC5, "V"), + (0x1EC6, "M", "ệ"), + (0x1EC7, "V"), + (0x1EC8, "M", "ỉ"), + (0x1EC9, "V"), + (0x1ECA, "M", "ị"), + (0x1ECB, "V"), + (0x1ECC, "M", "ọ"), + (0x1ECD, "V"), + (0x1ECE, "M", "ỏ"), + (0x1ECF, "V"), + (0x1ED0, "M", "ố"), + (0x1ED1, "V"), + (0x1ED2, "M", "ồ"), + (0x1ED3, "V"), + (0x1ED4, "M", "ổ"), + (0x1ED5, "V"), + (0x1ED6, "M", "ỗ"), + (0x1ED7, "V"), + (0x1ED8, "M", "ộ"), + (0x1ED9, "V"), + (0x1EDA, "M", "ớ"), + (0x1EDB, "V"), + (0x1EDC, "M", "ờ"), + (0x1EDD, "V"), + (0x1EDE, "M", "ở"), + (0x1EDF, "V"), + (0x1EE0, "M", "ỡ"), + (0x1EE1, "V"), + (0x1EE2, "M", "ợ"), + (0x1EE3, "V"), + (0x1EE4, "M", "ụ"), + (0x1EE5, "V"), + (0x1EE6, "M", "ủ"), + (0x1EE7, "V"), + (0x1EE8, "M", "ứ"), + (0x1EE9, "V"), + (0x1EEA, "M", "ừ"), + (0x1EEB, "V"), + (0x1EEC, "M", "ử"), + (0x1EED, "V"), + (0x1EEE, "M", "ữ"), + (0x1EEF, "V"), + (0x1EF0, "M", "ự"), + ] + + +def _seg_19() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1EF1, "V"), + (0x1EF2, "M", "ỳ"), + (0x1EF3, "V"), + (0x1EF4, "M", "ỵ"), + (0x1EF5, "V"), + (0x1EF6, "M", "ỷ"), + (0x1EF7, "V"), + (0x1EF8, "M", "ỹ"), + (0x1EF9, "V"), + (0x1EFA, "M", "ỻ"), + (0x1EFB, "V"), + (0x1EFC, "M", "ỽ"), + (0x1EFD, "V"), + (0x1EFE, "M", "ỿ"), + (0x1EFF, "V"), + (0x1F08, "M", "ἀ"), + (0x1F09, "M", "ἁ"), + (0x1F0A, "M", "ἂ"), + (0x1F0B, "M", "ἃ"), + (0x1F0C, "M", "ἄ"), + (0x1F0D, "M", "ἅ"), + (0x1F0E, "M", "ἆ"), + (0x1F0F, "M", "ἇ"), + (0x1F10, "V"), + (0x1F16, "X"), + (0x1F18, "M", "ἐ"), + (0x1F19, "M", "ἑ"), + (0x1F1A, "M", "ἒ"), + (0x1F1B, "M", "ἓ"), + (0x1F1C, "M", "ἔ"), + (0x1F1D, "M", "ἕ"), + (0x1F1E, "X"), + (0x1F20, "V"), + (0x1F28, "M", "ἠ"), + (0x1F29, "M", "ἡ"), + (0x1F2A, "M", "ἢ"), + (0x1F2B, "M", "ἣ"), + (0x1F2C, "M", "ἤ"), + (0x1F2D, "M", "ἥ"), + (0x1F2E, "M", "ἦ"), + (0x1F2F, "M", "ἧ"), + (0x1F30, "V"), + (0x1F38, "M", "ἰ"), + (0x1F39, "M", "ἱ"), + (0x1F3A, "M", "ἲ"), + (0x1F3B, "M", "ἳ"), + (0x1F3C, "M", "ἴ"), + (0x1F3D, "M", "ἵ"), + (0x1F3E, "M", "ἶ"), + (0x1F3F, "M", "ἷ"), + (0x1F40, "V"), + (0x1F46, "X"), + (0x1F48, "M", "ὀ"), + (0x1F49, "M", "ὁ"), + (0x1F4A, "M", "ὂ"), + (0x1F4B, "M", "ὃ"), + (0x1F4C, "M", "ὄ"), + (0x1F4D, "M", "ὅ"), + (0x1F4E, "X"), + (0x1F50, "V"), + (0x1F58, "X"), + (0x1F59, "M", "ὑ"), + (0x1F5A, "X"), + (0x1F5B, "M", "ὓ"), + (0x1F5C, "X"), + (0x1F5D, "M", "ὕ"), + (0x1F5E, "X"), + (0x1F5F, "M", "ὗ"), + (0x1F60, "V"), + (0x1F68, "M", "ὠ"), + (0x1F69, "M", "ὡ"), + (0x1F6A, "M", "ὢ"), + (0x1F6B, "M", "ὣ"), + (0x1F6C, "M", "ὤ"), + (0x1F6D, "M", "ὥ"), + (0x1F6E, "M", "ὦ"), + (0x1F6F, "M", "ὧ"), + (0x1F70, "V"), + (0x1F71, "M", "ά"), + (0x1F72, "V"), + (0x1F73, "M", "έ"), + (0x1F74, "V"), + (0x1F75, "M", "ή"), + (0x1F76, "V"), + (0x1F77, "M", "ί"), + (0x1F78, "V"), + (0x1F79, "M", "ό"), + (0x1F7A, "V"), + (0x1F7B, "M", "ύ"), + (0x1F7C, "V"), + (0x1F7D, "M", "ώ"), + (0x1F7E, "X"), + (0x1F80, "M", "ἀι"), + (0x1F81, "M", "ἁι"), + (0x1F82, "M", "ἂι"), + (0x1F83, "M", "ἃι"), + (0x1F84, "M", "ἄι"), + (0x1F85, "M", "ἅι"), + (0x1F86, "M", "ἆι"), + (0x1F87, "M", "ἇι"), + ] + + +def _seg_20() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1F88, "M", "ἀι"), + (0x1F89, "M", "ἁι"), + (0x1F8A, "M", "ἂι"), + (0x1F8B, "M", "ἃι"), + (0x1F8C, "M", "ἄι"), + (0x1F8D, "M", "ἅι"), + (0x1F8E, "M", "ἆι"), + (0x1F8F, "M", "ἇι"), + (0x1F90, "M", "ἠι"), + (0x1F91, "M", "ἡι"), + (0x1F92, "M", "ἢι"), + (0x1F93, "M", "ἣι"), + (0x1F94, "M", "ἤι"), + (0x1F95, "M", "ἥι"), + (0x1F96, "M", "ἦι"), + (0x1F97, "M", "ἧι"), + (0x1F98, "M", "ἠι"), + (0x1F99, "M", "ἡι"), + (0x1F9A, "M", "ἢι"), + (0x1F9B, "M", "ἣι"), + (0x1F9C, "M", "ἤι"), + (0x1F9D, "M", "ἥι"), + (0x1F9E, "M", "ἦι"), + (0x1F9F, "M", "ἧι"), + (0x1FA0, "M", "ὠι"), + (0x1FA1, "M", "ὡι"), + (0x1FA2, "M", "ὢι"), + (0x1FA3, "M", "ὣι"), + (0x1FA4, "M", "ὤι"), + (0x1FA5, "M", "ὥι"), + (0x1FA6, "M", "ὦι"), + (0x1FA7, "M", "ὧι"), + (0x1FA8, "M", "ὠι"), + (0x1FA9, "M", "ὡι"), + (0x1FAA, "M", "ὢι"), + (0x1FAB, "M", "ὣι"), + (0x1FAC, "M", "ὤι"), + (0x1FAD, "M", "ὥι"), + (0x1FAE, "M", "ὦι"), + (0x1FAF, "M", "ὧι"), + (0x1FB0, "V"), + (0x1FB2, "M", "ὰι"), + (0x1FB3, "M", "αι"), + (0x1FB4, "M", "άι"), + (0x1FB5, "X"), + (0x1FB6, "V"), + (0x1FB7, "M", "ᾶι"), + (0x1FB8, "M", "ᾰ"), + (0x1FB9, "M", "ᾱ"), + (0x1FBA, "M", "ὰ"), + (0x1FBB, "M", "ά"), + (0x1FBC, "M", "αι"), + (0x1FBD, "3", " ̓"), + (0x1FBE, "M", "ι"), + (0x1FBF, "3", " ̓"), + (0x1FC0, "3", " ͂"), + (0x1FC1, "3", " ̈͂"), + (0x1FC2, "M", "ὴι"), + (0x1FC3, "M", "ηι"), + (0x1FC4, "M", "ήι"), + (0x1FC5, "X"), + (0x1FC6, "V"), + (0x1FC7, "M", "ῆι"), + (0x1FC8, "M", "ὲ"), + (0x1FC9, "M", "έ"), + (0x1FCA, "M", "ὴ"), + (0x1FCB, "M", "ή"), + (0x1FCC, "M", "ηι"), + (0x1FCD, "3", " ̓̀"), + (0x1FCE, "3", " ̓́"), + (0x1FCF, "3", " ̓͂"), + (0x1FD0, "V"), + (0x1FD3, "M", "ΐ"), + (0x1FD4, "X"), + (0x1FD6, "V"), + (0x1FD8, "M", "ῐ"), + (0x1FD9, "M", "ῑ"), + (0x1FDA, "M", "ὶ"), + (0x1FDB, "M", "ί"), + (0x1FDC, "X"), + (0x1FDD, "3", " ̔̀"), + (0x1FDE, "3", " ̔́"), + (0x1FDF, "3", " ̔͂"), + (0x1FE0, "V"), + (0x1FE3, "M", "ΰ"), + (0x1FE4, "V"), + (0x1FE8, "M", "ῠ"), + (0x1FE9, "M", "ῡ"), + (0x1FEA, "M", "ὺ"), + (0x1FEB, "M", "ύ"), + (0x1FEC, "M", "ῥ"), + (0x1FED, "3", " ̈̀"), + (0x1FEE, "3", " ̈́"), + (0x1FEF, "3", "`"), + (0x1FF0, "X"), + (0x1FF2, "M", "ὼι"), + (0x1FF3, "M", "ωι"), + (0x1FF4, "M", "ώι"), + (0x1FF5, "X"), + (0x1FF6, "V"), + ] + + +def _seg_21() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1FF7, "M", "ῶι"), + (0x1FF8, "M", "ὸ"), + (0x1FF9, "M", "ό"), + (0x1FFA, "M", "ὼ"), + (0x1FFB, "M", "ώ"), + (0x1FFC, "M", "ωι"), + (0x1FFD, "3", " ́"), + (0x1FFE, "3", " ̔"), + (0x1FFF, "X"), + (0x2000, "3", " "), + (0x200B, "I"), + (0x200C, "D", ""), + (0x200E, "X"), + (0x2010, "V"), + (0x2011, "M", "‐"), + (0x2012, "V"), + (0x2017, "3", " ̳"), + (0x2018, "V"), + (0x2024, "X"), + (0x2027, "V"), + (0x2028, "X"), + (0x202F, "3", " "), + (0x2030, "V"), + (0x2033, "M", "′′"), + (0x2034, "M", "′′′"), + (0x2035, "V"), + (0x2036, "M", "‵‵"), + (0x2037, "M", "‵‵‵"), + (0x2038, "V"), + (0x203C, "3", "!!"), + (0x203D, "V"), + (0x203E, "3", " ̅"), + (0x203F, "V"), + (0x2047, "3", "??"), + (0x2048, "3", "?!"), + (0x2049, "3", "!?"), + (0x204A, "V"), + (0x2057, "M", "′′′′"), + (0x2058, "V"), + (0x205F, "3", " "), + (0x2060, "I"), + (0x2061, "X"), + (0x2064, "I"), + (0x2065, "X"), + (0x2070, "M", "0"), + (0x2071, "M", "i"), + (0x2072, "X"), + (0x2074, "M", "4"), + (0x2075, "M", "5"), + (0x2076, "M", "6"), + (0x2077, "M", "7"), + (0x2078, "M", "8"), + (0x2079, "M", "9"), + (0x207A, "3", "+"), + (0x207B, "M", "−"), + (0x207C, "3", "="), + (0x207D, "3", "("), + (0x207E, "3", ")"), + (0x207F, "M", "n"), + (0x2080, "M", "0"), + (0x2081, "M", "1"), + (0x2082, "M", "2"), + (0x2083, "M", "3"), + (0x2084, "M", "4"), + (0x2085, "M", "5"), + (0x2086, "M", "6"), + (0x2087, "M", "7"), + (0x2088, "M", "8"), + (0x2089, "M", "9"), + (0x208A, "3", "+"), + (0x208B, "M", "−"), + (0x208C, "3", "="), + (0x208D, "3", "("), + (0x208E, "3", ")"), + (0x208F, "X"), + (0x2090, "M", "a"), + (0x2091, "M", "e"), + (0x2092, "M", "o"), + (0x2093, "M", "x"), + (0x2094, "M", "ə"), + (0x2095, "M", "h"), + (0x2096, "M", "k"), + (0x2097, "M", "l"), + (0x2098, "M", "m"), + (0x2099, "M", "n"), + (0x209A, "M", "p"), + (0x209B, "M", "s"), + (0x209C, "M", "t"), + (0x209D, "X"), + (0x20A0, "V"), + (0x20A8, "M", "rs"), + (0x20A9, "V"), + (0x20C1, "X"), + (0x20D0, "V"), + (0x20F1, "X"), + (0x2100, "3", "a/c"), + (0x2101, "3", "a/s"), + (0x2102, "M", "c"), + (0x2103, "M", "°c"), + (0x2104, "V"), + ] + + +def _seg_22() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2105, "3", "c/o"), + (0x2106, "3", "c/u"), + (0x2107, "M", "ɛ"), + (0x2108, "V"), + (0x2109, "M", "°f"), + (0x210A, "M", "g"), + (0x210B, "M", "h"), + (0x210F, "M", "ħ"), + (0x2110, "M", "i"), + (0x2112, "M", "l"), + (0x2114, "V"), + (0x2115, "M", "n"), + (0x2116, "M", "no"), + (0x2117, "V"), + (0x2119, "M", "p"), + (0x211A, "M", "q"), + (0x211B, "M", "r"), + (0x211E, "V"), + (0x2120, "M", "sm"), + (0x2121, "M", "tel"), + (0x2122, "M", "tm"), + (0x2123, "V"), + (0x2124, "M", "z"), + (0x2125, "V"), + (0x2126, "M", "ω"), + (0x2127, "V"), + (0x2128, "M", "z"), + (0x2129, "V"), + (0x212A, "M", "k"), + (0x212B, "M", "å"), + (0x212C, "M", "b"), + (0x212D, "M", "c"), + (0x212E, "V"), + (0x212F, "M", "e"), + (0x2131, "M", "f"), + (0x2132, "X"), + (0x2133, "M", "m"), + (0x2134, "M", "o"), + (0x2135, "M", "א"), + (0x2136, "M", "ב"), + (0x2137, "M", "ג"), + (0x2138, "M", "ד"), + (0x2139, "M", "i"), + (0x213A, "V"), + (0x213B, "M", "fax"), + (0x213C, "M", "π"), + (0x213D, "M", "γ"), + (0x213F, "M", "π"), + (0x2140, "M", "∑"), + (0x2141, "V"), + (0x2145, "M", "d"), + (0x2147, "M", "e"), + (0x2148, "M", "i"), + (0x2149, "M", "j"), + (0x214A, "V"), + (0x2150, "M", "1⁄7"), + (0x2151, "M", "1⁄9"), + (0x2152, "M", "1⁄10"), + (0x2153, "M", "1⁄3"), + (0x2154, "M", "2⁄3"), + (0x2155, "M", "1⁄5"), + (0x2156, "M", "2⁄5"), + (0x2157, "M", "3⁄5"), + (0x2158, "M", "4⁄5"), + (0x2159, "M", "1⁄6"), + (0x215A, "M", "5⁄6"), + (0x215B, "M", "1⁄8"), + (0x215C, "M", "3⁄8"), + (0x215D, "M", "5⁄8"), + (0x215E, "M", "7⁄8"), + (0x215F, "M", "1⁄"), + (0x2160, "M", "i"), + (0x2161, "M", "ii"), + (0x2162, "M", "iii"), + (0x2163, "M", "iv"), + (0x2164, "M", "v"), + (0x2165, "M", "vi"), + (0x2166, "M", "vii"), + (0x2167, "M", "viii"), + (0x2168, "M", "ix"), + (0x2169, "M", "x"), + (0x216A, "M", "xi"), + (0x216B, "M", "xii"), + (0x216C, "M", "l"), + (0x216D, "M", "c"), + (0x216E, "M", "d"), + (0x216F, "M", "m"), + (0x2170, "M", "i"), + (0x2171, "M", "ii"), + (0x2172, "M", "iii"), + (0x2173, "M", "iv"), + (0x2174, "M", "v"), + (0x2175, "M", "vi"), + (0x2176, "M", "vii"), + (0x2177, "M", "viii"), + (0x2178, "M", "ix"), + (0x2179, "M", "x"), + (0x217A, "M", "xi"), + (0x217B, "M", "xii"), + (0x217C, "M", "l"), + ] + + +def _seg_23() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x217D, "M", "c"), + (0x217E, "M", "d"), + (0x217F, "M", "m"), + (0x2180, "V"), + (0x2183, "X"), + (0x2184, "V"), + (0x2189, "M", "0⁄3"), + (0x218A, "V"), + (0x218C, "X"), + (0x2190, "V"), + (0x222C, "M", "∫∫"), + (0x222D, "M", "∫∫∫"), + (0x222E, "V"), + (0x222F, "M", "∮∮"), + (0x2230, "M", "∮∮∮"), + (0x2231, "V"), + (0x2329, "M", "〈"), + (0x232A, "M", "〉"), + (0x232B, "V"), + (0x2427, "X"), + (0x2440, "V"), + (0x244B, "X"), + (0x2460, "M", "1"), + (0x2461, "M", "2"), + (0x2462, "M", "3"), + (0x2463, "M", "4"), + (0x2464, "M", "5"), + (0x2465, "M", "6"), + (0x2466, "M", "7"), + (0x2467, "M", "8"), + (0x2468, "M", "9"), + (0x2469, "M", "10"), + (0x246A, "M", "11"), + (0x246B, "M", "12"), + (0x246C, "M", "13"), + (0x246D, "M", "14"), + (0x246E, "M", "15"), + (0x246F, "M", "16"), + (0x2470, "M", "17"), + (0x2471, "M", "18"), + (0x2472, "M", "19"), + (0x2473, "M", "20"), + (0x2474, "3", "(1)"), + (0x2475, "3", "(2)"), + (0x2476, "3", "(3)"), + (0x2477, "3", "(4)"), + (0x2478, "3", "(5)"), + (0x2479, "3", "(6)"), + (0x247A, "3", "(7)"), + (0x247B, "3", "(8)"), + (0x247C, "3", "(9)"), + (0x247D, "3", "(10)"), + (0x247E, "3", "(11)"), + (0x247F, "3", "(12)"), + (0x2480, "3", "(13)"), + (0x2481, "3", "(14)"), + (0x2482, "3", "(15)"), + (0x2483, "3", "(16)"), + (0x2484, "3", "(17)"), + (0x2485, "3", "(18)"), + (0x2486, "3", "(19)"), + (0x2487, "3", "(20)"), + (0x2488, "X"), + (0x249C, "3", "(a)"), + (0x249D, "3", "(b)"), + (0x249E, "3", "(c)"), + (0x249F, "3", "(d)"), + (0x24A0, "3", "(e)"), + (0x24A1, "3", "(f)"), + (0x24A2, "3", "(g)"), + (0x24A3, "3", "(h)"), + (0x24A4, "3", "(i)"), + (0x24A5, "3", "(j)"), + (0x24A6, "3", "(k)"), + (0x24A7, "3", "(l)"), + (0x24A8, "3", "(m)"), + (0x24A9, "3", "(n)"), + (0x24AA, "3", "(o)"), + (0x24AB, "3", "(p)"), + (0x24AC, "3", "(q)"), + (0x24AD, "3", "(r)"), + (0x24AE, "3", "(s)"), + (0x24AF, "3", "(t)"), + (0x24B0, "3", "(u)"), + (0x24B1, "3", "(v)"), + (0x24B2, "3", "(w)"), + (0x24B3, "3", "(x)"), + (0x24B4, "3", "(y)"), + (0x24B5, "3", "(z)"), + (0x24B6, "M", "a"), + (0x24B7, "M", "b"), + (0x24B8, "M", "c"), + (0x24B9, "M", "d"), + (0x24BA, "M", "e"), + (0x24BB, "M", "f"), + (0x24BC, "M", "g"), + (0x24BD, "M", "h"), + (0x24BE, "M", "i"), + (0x24BF, "M", "j"), + (0x24C0, "M", "k"), + ] + + +def _seg_24() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x24C1, "M", "l"), + (0x24C2, "M", "m"), + (0x24C3, "M", "n"), + (0x24C4, "M", "o"), + (0x24C5, "M", "p"), + (0x24C6, "M", "q"), + (0x24C7, "M", "r"), + (0x24C8, "M", "s"), + (0x24C9, "M", "t"), + (0x24CA, "M", "u"), + (0x24CB, "M", "v"), + (0x24CC, "M", "w"), + (0x24CD, "M", "x"), + (0x24CE, "M", "y"), + (0x24CF, "M", "z"), + (0x24D0, "M", "a"), + (0x24D1, "M", "b"), + (0x24D2, "M", "c"), + (0x24D3, "M", "d"), + (0x24D4, "M", "e"), + (0x24D5, "M", "f"), + (0x24D6, "M", "g"), + (0x24D7, "M", "h"), + (0x24D8, "M", "i"), + (0x24D9, "M", "j"), + (0x24DA, "M", "k"), + (0x24DB, "M", "l"), + (0x24DC, "M", "m"), + (0x24DD, "M", "n"), + (0x24DE, "M", "o"), + (0x24DF, "M", "p"), + (0x24E0, "M", "q"), + (0x24E1, "M", "r"), + (0x24E2, "M", "s"), + (0x24E3, "M", "t"), + (0x24E4, "M", "u"), + (0x24E5, "M", "v"), + (0x24E6, "M", "w"), + (0x24E7, "M", "x"), + (0x24E8, "M", "y"), + (0x24E9, "M", "z"), + (0x24EA, "M", "0"), + (0x24EB, "V"), + (0x2A0C, "M", "∫∫∫∫"), + (0x2A0D, "V"), + (0x2A74, "3", "::="), + (0x2A75, "3", "=="), + (0x2A76, "3", "==="), + (0x2A77, "V"), + (0x2ADC, "M", "⫝̸"), + (0x2ADD, "V"), + (0x2B74, "X"), + (0x2B76, "V"), + (0x2B96, "X"), + (0x2B97, "V"), + (0x2C00, "M", "ⰰ"), + (0x2C01, "M", "ⰱ"), + (0x2C02, "M", "ⰲ"), + (0x2C03, "M", "ⰳ"), + (0x2C04, "M", "ⰴ"), + (0x2C05, "M", "ⰵ"), + (0x2C06, "M", "ⰶ"), + (0x2C07, "M", "ⰷ"), + (0x2C08, "M", "ⰸ"), + (0x2C09, "M", "ⰹ"), + (0x2C0A, "M", "ⰺ"), + (0x2C0B, "M", "ⰻ"), + (0x2C0C, "M", "ⰼ"), + (0x2C0D, "M", "ⰽ"), + (0x2C0E, "M", "ⰾ"), + (0x2C0F, "M", "ⰿ"), + (0x2C10, "M", "ⱀ"), + (0x2C11, "M", "ⱁ"), + (0x2C12, "M", "ⱂ"), + (0x2C13, "M", "ⱃ"), + (0x2C14, "M", "ⱄ"), + (0x2C15, "M", "ⱅ"), + (0x2C16, "M", "ⱆ"), + (0x2C17, "M", "ⱇ"), + (0x2C18, "M", "ⱈ"), + (0x2C19, "M", "ⱉ"), + (0x2C1A, "M", "ⱊ"), + (0x2C1B, "M", "ⱋ"), + (0x2C1C, "M", "ⱌ"), + (0x2C1D, "M", "ⱍ"), + (0x2C1E, "M", "ⱎ"), + (0x2C1F, "M", "ⱏ"), + (0x2C20, "M", "ⱐ"), + (0x2C21, "M", "ⱑ"), + (0x2C22, "M", "ⱒ"), + (0x2C23, "M", "ⱓ"), + (0x2C24, "M", "ⱔ"), + (0x2C25, "M", "ⱕ"), + (0x2C26, "M", "ⱖ"), + (0x2C27, "M", "ⱗ"), + (0x2C28, "M", "ⱘ"), + (0x2C29, "M", "ⱙ"), + (0x2C2A, "M", "ⱚ"), + (0x2C2B, "M", "ⱛ"), + (0x2C2C, "M", "ⱜ"), + ] + + +def _seg_25() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2C2D, "M", "ⱝ"), + (0x2C2E, "M", "ⱞ"), + (0x2C2F, "M", "ⱟ"), + (0x2C30, "V"), + (0x2C60, "M", "ⱡ"), + (0x2C61, "V"), + (0x2C62, "M", "ɫ"), + (0x2C63, "M", "ᵽ"), + (0x2C64, "M", "ɽ"), + (0x2C65, "V"), + (0x2C67, "M", "ⱨ"), + (0x2C68, "V"), + (0x2C69, "M", "ⱪ"), + (0x2C6A, "V"), + (0x2C6B, "M", "ⱬ"), + (0x2C6C, "V"), + (0x2C6D, "M", "ɑ"), + (0x2C6E, "M", "ɱ"), + (0x2C6F, "M", "ɐ"), + (0x2C70, "M", "ɒ"), + (0x2C71, "V"), + (0x2C72, "M", "ⱳ"), + (0x2C73, "V"), + (0x2C75, "M", "ⱶ"), + (0x2C76, "V"), + (0x2C7C, "M", "j"), + (0x2C7D, "M", "v"), + (0x2C7E, "M", "ȿ"), + (0x2C7F, "M", "ɀ"), + (0x2C80, "M", "ⲁ"), + (0x2C81, "V"), + (0x2C82, "M", "ⲃ"), + (0x2C83, "V"), + (0x2C84, "M", "ⲅ"), + (0x2C85, "V"), + (0x2C86, "M", "ⲇ"), + (0x2C87, "V"), + (0x2C88, "M", "ⲉ"), + (0x2C89, "V"), + (0x2C8A, "M", "ⲋ"), + (0x2C8B, "V"), + (0x2C8C, "M", "ⲍ"), + (0x2C8D, "V"), + (0x2C8E, "M", "ⲏ"), + (0x2C8F, "V"), + (0x2C90, "M", "ⲑ"), + (0x2C91, "V"), + (0x2C92, "M", "ⲓ"), + (0x2C93, "V"), + (0x2C94, "M", "ⲕ"), + (0x2C95, "V"), + (0x2C96, "M", "ⲗ"), + (0x2C97, "V"), + (0x2C98, "M", "ⲙ"), + (0x2C99, "V"), + (0x2C9A, "M", "ⲛ"), + (0x2C9B, "V"), + (0x2C9C, "M", "ⲝ"), + (0x2C9D, "V"), + (0x2C9E, "M", "ⲟ"), + (0x2C9F, "V"), + (0x2CA0, "M", "ⲡ"), + (0x2CA1, "V"), + (0x2CA2, "M", "ⲣ"), + (0x2CA3, "V"), + (0x2CA4, "M", "ⲥ"), + (0x2CA5, "V"), + (0x2CA6, "M", "ⲧ"), + (0x2CA7, "V"), + (0x2CA8, "M", "ⲩ"), + (0x2CA9, "V"), + (0x2CAA, "M", "ⲫ"), + (0x2CAB, "V"), + (0x2CAC, "M", "ⲭ"), + (0x2CAD, "V"), + (0x2CAE, "M", "ⲯ"), + (0x2CAF, "V"), + (0x2CB0, "M", "ⲱ"), + (0x2CB1, "V"), + (0x2CB2, "M", "ⲳ"), + (0x2CB3, "V"), + (0x2CB4, "M", "ⲵ"), + (0x2CB5, "V"), + (0x2CB6, "M", "ⲷ"), + (0x2CB7, "V"), + (0x2CB8, "M", "ⲹ"), + (0x2CB9, "V"), + (0x2CBA, "M", "ⲻ"), + (0x2CBB, "V"), + (0x2CBC, "M", "ⲽ"), + (0x2CBD, "V"), + (0x2CBE, "M", "ⲿ"), + (0x2CBF, "V"), + (0x2CC0, "M", "ⳁ"), + (0x2CC1, "V"), + (0x2CC2, "M", "ⳃ"), + (0x2CC3, "V"), + (0x2CC4, "M", "ⳅ"), + (0x2CC5, "V"), + (0x2CC6, "M", "ⳇ"), + ] + + +def _seg_26() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2CC7, "V"), + (0x2CC8, "M", "ⳉ"), + (0x2CC9, "V"), + (0x2CCA, "M", "ⳋ"), + (0x2CCB, "V"), + (0x2CCC, "M", "ⳍ"), + (0x2CCD, "V"), + (0x2CCE, "M", "ⳏ"), + (0x2CCF, "V"), + (0x2CD0, "M", "ⳑ"), + (0x2CD1, "V"), + (0x2CD2, "M", "ⳓ"), + (0x2CD3, "V"), + (0x2CD4, "M", "ⳕ"), + (0x2CD5, "V"), + (0x2CD6, "M", "ⳗ"), + (0x2CD7, "V"), + (0x2CD8, "M", "ⳙ"), + (0x2CD9, "V"), + (0x2CDA, "M", "ⳛ"), + (0x2CDB, "V"), + (0x2CDC, "M", "ⳝ"), + (0x2CDD, "V"), + (0x2CDE, "M", "ⳟ"), + (0x2CDF, "V"), + (0x2CE0, "M", "ⳡ"), + (0x2CE1, "V"), + (0x2CE2, "M", "ⳣ"), + (0x2CE3, "V"), + (0x2CEB, "M", "ⳬ"), + (0x2CEC, "V"), + (0x2CED, "M", "ⳮ"), + (0x2CEE, "V"), + (0x2CF2, "M", "ⳳ"), + (0x2CF3, "V"), + (0x2CF4, "X"), + (0x2CF9, "V"), + (0x2D26, "X"), + (0x2D27, "V"), + (0x2D28, "X"), + (0x2D2D, "V"), + (0x2D2E, "X"), + (0x2D30, "V"), + (0x2D68, "X"), + (0x2D6F, "M", "ⵡ"), + (0x2D70, "V"), + (0x2D71, "X"), + (0x2D7F, "V"), + (0x2D97, "X"), + (0x2DA0, "V"), + (0x2DA7, "X"), + (0x2DA8, "V"), + (0x2DAF, "X"), + (0x2DB0, "V"), + (0x2DB7, "X"), + (0x2DB8, "V"), + (0x2DBF, "X"), + (0x2DC0, "V"), + (0x2DC7, "X"), + (0x2DC8, "V"), + (0x2DCF, "X"), + (0x2DD0, "V"), + (0x2DD7, "X"), + (0x2DD8, "V"), + (0x2DDF, "X"), + (0x2DE0, "V"), + (0x2E5E, "X"), + (0x2E80, "V"), + (0x2E9A, "X"), + (0x2E9B, "V"), + (0x2E9F, "M", "母"), + (0x2EA0, "V"), + (0x2EF3, "M", "龟"), + (0x2EF4, "X"), + (0x2F00, "M", "一"), + (0x2F01, "M", "丨"), + (0x2F02, "M", "丶"), + (0x2F03, "M", "丿"), + (0x2F04, "M", "乙"), + (0x2F05, "M", "亅"), + (0x2F06, "M", "二"), + (0x2F07, "M", "亠"), + (0x2F08, "M", "人"), + (0x2F09, "M", "儿"), + (0x2F0A, "M", "入"), + (0x2F0B, "M", "八"), + (0x2F0C, "M", "冂"), + (0x2F0D, "M", "冖"), + (0x2F0E, "M", "冫"), + (0x2F0F, "M", "几"), + (0x2F10, "M", "凵"), + (0x2F11, "M", "刀"), + (0x2F12, "M", "力"), + (0x2F13, "M", "勹"), + (0x2F14, "M", "匕"), + (0x2F15, "M", "匚"), + (0x2F16, "M", "匸"), + (0x2F17, "M", "十"), + (0x2F18, "M", "卜"), + (0x2F19, "M", "卩"), + ] + + +def _seg_27() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2F1A, "M", "厂"), + (0x2F1B, "M", "厶"), + (0x2F1C, "M", "又"), + (0x2F1D, "M", "口"), + (0x2F1E, "M", "囗"), + (0x2F1F, "M", "土"), + (0x2F20, "M", "士"), + (0x2F21, "M", "夂"), + (0x2F22, "M", "夊"), + (0x2F23, "M", "夕"), + (0x2F24, "M", "大"), + (0x2F25, "M", "女"), + (0x2F26, "M", "子"), + (0x2F27, "M", "宀"), + (0x2F28, "M", "寸"), + (0x2F29, "M", "小"), + (0x2F2A, "M", "尢"), + (0x2F2B, "M", "尸"), + (0x2F2C, "M", "屮"), + (0x2F2D, "M", "山"), + (0x2F2E, "M", "巛"), + (0x2F2F, "M", "工"), + (0x2F30, "M", "己"), + (0x2F31, "M", "巾"), + (0x2F32, "M", "干"), + (0x2F33, "M", "幺"), + (0x2F34, "M", "广"), + (0x2F35, "M", "廴"), + (0x2F36, "M", "廾"), + (0x2F37, "M", "弋"), + (0x2F38, "M", "弓"), + (0x2F39, "M", "彐"), + (0x2F3A, "M", "彡"), + (0x2F3B, "M", "彳"), + (0x2F3C, "M", "心"), + (0x2F3D, "M", "戈"), + (0x2F3E, "M", "戶"), + (0x2F3F, "M", "手"), + (0x2F40, "M", "支"), + (0x2F41, "M", "攴"), + (0x2F42, "M", "文"), + (0x2F43, "M", "斗"), + (0x2F44, "M", "斤"), + (0x2F45, "M", "方"), + (0x2F46, "M", "无"), + (0x2F47, "M", "日"), + (0x2F48, "M", "曰"), + (0x2F49, "M", "月"), + (0x2F4A, "M", "木"), + (0x2F4B, "M", "欠"), + (0x2F4C, "M", "止"), + (0x2F4D, "M", "歹"), + (0x2F4E, "M", "殳"), + (0x2F4F, "M", "毋"), + (0x2F50, "M", "比"), + (0x2F51, "M", "毛"), + (0x2F52, "M", "氏"), + (0x2F53, "M", "气"), + (0x2F54, "M", "水"), + (0x2F55, "M", "火"), + (0x2F56, "M", "爪"), + (0x2F57, "M", "父"), + (0x2F58, "M", "爻"), + (0x2F59, "M", "爿"), + (0x2F5A, "M", "片"), + (0x2F5B, "M", "牙"), + (0x2F5C, "M", "牛"), + (0x2F5D, "M", "犬"), + (0x2F5E, "M", "玄"), + (0x2F5F, "M", "玉"), + (0x2F60, "M", "瓜"), + (0x2F61, "M", "瓦"), + (0x2F62, "M", "甘"), + (0x2F63, "M", "生"), + (0x2F64, "M", "用"), + (0x2F65, "M", "田"), + (0x2F66, "M", "疋"), + (0x2F67, "M", "疒"), + (0x2F68, "M", "癶"), + (0x2F69, "M", "白"), + (0x2F6A, "M", "皮"), + (0x2F6B, "M", "皿"), + (0x2F6C, "M", "目"), + (0x2F6D, "M", "矛"), + (0x2F6E, "M", "矢"), + (0x2F6F, "M", "石"), + (0x2F70, "M", "示"), + (0x2F71, "M", "禸"), + (0x2F72, "M", "禾"), + (0x2F73, "M", "穴"), + (0x2F74, "M", "立"), + (0x2F75, "M", "竹"), + (0x2F76, "M", "米"), + (0x2F77, "M", "糸"), + (0x2F78, "M", "缶"), + (0x2F79, "M", "网"), + (0x2F7A, "M", "羊"), + (0x2F7B, "M", "羽"), + (0x2F7C, "M", "老"), + (0x2F7D, "M", "而"), + ] + + +def _seg_28() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2F7E, "M", "耒"), + (0x2F7F, "M", "耳"), + (0x2F80, "M", "聿"), + (0x2F81, "M", "肉"), + (0x2F82, "M", "臣"), + (0x2F83, "M", "自"), + (0x2F84, "M", "至"), + (0x2F85, "M", "臼"), + (0x2F86, "M", "舌"), + (0x2F87, "M", "舛"), + (0x2F88, "M", "舟"), + (0x2F89, "M", "艮"), + (0x2F8A, "M", "色"), + (0x2F8B, "M", "艸"), + (0x2F8C, "M", "虍"), + (0x2F8D, "M", "虫"), + (0x2F8E, "M", "血"), + (0x2F8F, "M", "行"), + (0x2F90, "M", "衣"), + (0x2F91, "M", "襾"), + (0x2F92, "M", "見"), + (0x2F93, "M", "角"), + (0x2F94, "M", "言"), + (0x2F95, "M", "谷"), + (0x2F96, "M", "豆"), + (0x2F97, "M", "豕"), + (0x2F98, "M", "豸"), + (0x2F99, "M", "貝"), + (0x2F9A, "M", "赤"), + (0x2F9B, "M", "走"), + (0x2F9C, "M", "足"), + (0x2F9D, "M", "身"), + (0x2F9E, "M", "車"), + (0x2F9F, "M", "辛"), + (0x2FA0, "M", "辰"), + (0x2FA1, "M", "辵"), + (0x2FA2, "M", "邑"), + (0x2FA3, "M", "酉"), + (0x2FA4, "M", "釆"), + (0x2FA5, "M", "里"), + (0x2FA6, "M", "金"), + (0x2FA7, "M", "長"), + (0x2FA8, "M", "門"), + (0x2FA9, "M", "阜"), + (0x2FAA, "M", "隶"), + (0x2FAB, "M", "隹"), + (0x2FAC, "M", "雨"), + (0x2FAD, "M", "靑"), + (0x2FAE, "M", "非"), + (0x2FAF, "M", "面"), + (0x2FB0, "M", "革"), + (0x2FB1, "M", "韋"), + (0x2FB2, "M", "韭"), + (0x2FB3, "M", "音"), + (0x2FB4, "M", "頁"), + (0x2FB5, "M", "風"), + (0x2FB6, "M", "飛"), + (0x2FB7, "M", "食"), + (0x2FB8, "M", "首"), + (0x2FB9, "M", "香"), + (0x2FBA, "M", "馬"), + (0x2FBB, "M", "骨"), + (0x2FBC, "M", "高"), + (0x2FBD, "M", "髟"), + (0x2FBE, "M", "鬥"), + (0x2FBF, "M", "鬯"), + (0x2FC0, "M", "鬲"), + (0x2FC1, "M", "鬼"), + (0x2FC2, "M", "魚"), + (0x2FC3, "M", "鳥"), + (0x2FC4, "M", "鹵"), + (0x2FC5, "M", "鹿"), + (0x2FC6, "M", "麥"), + (0x2FC7, "M", "麻"), + (0x2FC8, "M", "黃"), + (0x2FC9, "M", "黍"), + (0x2FCA, "M", "黑"), + (0x2FCB, "M", "黹"), + (0x2FCC, "M", "黽"), + (0x2FCD, "M", "鼎"), + (0x2FCE, "M", "鼓"), + (0x2FCF, "M", "鼠"), + (0x2FD0, "M", "鼻"), + (0x2FD1, "M", "齊"), + (0x2FD2, "M", "齒"), + (0x2FD3, "M", "龍"), + (0x2FD4, "M", "龜"), + (0x2FD5, "M", "龠"), + (0x2FD6, "X"), + (0x3000, "3", " "), + (0x3001, "V"), + (0x3002, "M", "."), + (0x3003, "V"), + (0x3036, "M", "〒"), + (0x3037, "V"), + (0x3038, "M", "十"), + (0x3039, "M", "卄"), + (0x303A, "M", "卅"), + (0x303B, "V"), + (0x3040, "X"), + ] + + +def _seg_29() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x3041, "V"), + (0x3097, "X"), + (0x3099, "V"), + (0x309B, "3", " ゙"), + (0x309C, "3", " ゚"), + (0x309D, "V"), + (0x309F, "M", "より"), + (0x30A0, "V"), + (0x30FF, "M", "コト"), + (0x3100, "X"), + (0x3105, "V"), + (0x3130, "X"), + (0x3131, "M", "ᄀ"), + (0x3132, "M", "ᄁ"), + (0x3133, "M", "ᆪ"), + (0x3134, "M", "ᄂ"), + (0x3135, "M", "ᆬ"), + (0x3136, "M", "ᆭ"), + (0x3137, "M", "ᄃ"), + (0x3138, "M", "ᄄ"), + (0x3139, "M", "ᄅ"), + (0x313A, "M", "ᆰ"), + (0x313B, "M", "ᆱ"), + (0x313C, "M", "ᆲ"), + (0x313D, "M", "ᆳ"), + (0x313E, "M", "ᆴ"), + (0x313F, "M", "ᆵ"), + (0x3140, "M", "ᄚ"), + (0x3141, "M", "ᄆ"), + (0x3142, "M", "ᄇ"), + (0x3143, "M", "ᄈ"), + (0x3144, "M", "ᄡ"), + (0x3145, "M", "ᄉ"), + (0x3146, "M", "ᄊ"), + (0x3147, "M", "ᄋ"), + (0x3148, "M", "ᄌ"), + (0x3149, "M", "ᄍ"), + (0x314A, "M", "ᄎ"), + (0x314B, "M", "ᄏ"), + (0x314C, "M", "ᄐ"), + (0x314D, "M", "ᄑ"), + (0x314E, "M", "ᄒ"), + (0x314F, "M", "ᅡ"), + (0x3150, "M", "ᅢ"), + (0x3151, "M", "ᅣ"), + (0x3152, "M", "ᅤ"), + (0x3153, "M", "ᅥ"), + (0x3154, "M", "ᅦ"), + (0x3155, "M", "ᅧ"), + (0x3156, "M", "ᅨ"), + (0x3157, "M", "ᅩ"), + (0x3158, "M", "ᅪ"), + (0x3159, "M", "ᅫ"), + (0x315A, "M", "ᅬ"), + (0x315B, "M", "ᅭ"), + (0x315C, "M", "ᅮ"), + (0x315D, "M", "ᅯ"), + (0x315E, "M", "ᅰ"), + (0x315F, "M", "ᅱ"), + (0x3160, "M", "ᅲ"), + (0x3161, "M", "ᅳ"), + (0x3162, "M", "ᅴ"), + (0x3163, "M", "ᅵ"), + (0x3164, "X"), + (0x3165, "M", "ᄔ"), + (0x3166, "M", "ᄕ"), + (0x3167, "M", "ᇇ"), + (0x3168, "M", "ᇈ"), + (0x3169, "M", "ᇌ"), + (0x316A, "M", "ᇎ"), + (0x316B, "M", "ᇓ"), + (0x316C, "M", "ᇗ"), + (0x316D, "M", "ᇙ"), + (0x316E, "M", "ᄜ"), + (0x316F, "M", "ᇝ"), + (0x3170, "M", "ᇟ"), + (0x3171, "M", "ᄝ"), + (0x3172, "M", "ᄞ"), + (0x3173, "M", "ᄠ"), + (0x3174, "M", "ᄢ"), + (0x3175, "M", "ᄣ"), + (0x3176, "M", "ᄧ"), + (0x3177, "M", "ᄩ"), + (0x3178, "M", "ᄫ"), + (0x3179, "M", "ᄬ"), + (0x317A, "M", "ᄭ"), + (0x317B, "M", "ᄮ"), + (0x317C, "M", "ᄯ"), + (0x317D, "M", "ᄲ"), + (0x317E, "M", "ᄶ"), + (0x317F, "M", "ᅀ"), + (0x3180, "M", "ᅇ"), + (0x3181, "M", "ᅌ"), + (0x3182, "M", "ᇱ"), + (0x3183, "M", "ᇲ"), + (0x3184, "M", "ᅗ"), + (0x3185, "M", "ᅘ"), + (0x3186, "M", "ᅙ"), + (0x3187, "M", "ᆄ"), + (0x3188, "M", "ᆅ"), + ] + + +def _seg_30() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x3189, "M", "ᆈ"), + (0x318A, "M", "ᆑ"), + (0x318B, "M", "ᆒ"), + (0x318C, "M", "ᆔ"), + (0x318D, "M", "ᆞ"), + (0x318E, "M", "ᆡ"), + (0x318F, "X"), + (0x3190, "V"), + (0x3192, "M", "一"), + (0x3193, "M", "二"), + (0x3194, "M", "三"), + (0x3195, "M", "四"), + (0x3196, "M", "上"), + (0x3197, "M", "中"), + (0x3198, "M", "下"), + (0x3199, "M", "甲"), + (0x319A, "M", "乙"), + (0x319B, "M", "丙"), + (0x319C, "M", "丁"), + (0x319D, "M", "天"), + (0x319E, "M", "地"), + (0x319F, "M", "人"), + (0x31A0, "V"), + (0x31E4, "X"), + (0x31F0, "V"), + (0x3200, "3", "(ᄀ)"), + (0x3201, "3", "(ᄂ)"), + (0x3202, "3", "(ᄃ)"), + (0x3203, "3", "(ᄅ)"), + (0x3204, "3", "(ᄆ)"), + (0x3205, "3", "(ᄇ)"), + (0x3206, "3", "(ᄉ)"), + (0x3207, "3", "(ᄋ)"), + (0x3208, "3", "(ᄌ)"), + (0x3209, "3", "(ᄎ)"), + (0x320A, "3", "(ᄏ)"), + (0x320B, "3", "(ᄐ)"), + (0x320C, "3", "(ᄑ)"), + (0x320D, "3", "(ᄒ)"), + (0x320E, "3", "(가)"), + (0x320F, "3", "(나)"), + (0x3210, "3", "(다)"), + (0x3211, "3", "(라)"), + (0x3212, "3", "(마)"), + (0x3213, "3", "(바)"), + (0x3214, "3", "(사)"), + (0x3215, "3", "(아)"), + (0x3216, "3", "(자)"), + (0x3217, "3", "(차)"), + (0x3218, "3", "(카)"), + (0x3219, "3", "(타)"), + (0x321A, "3", "(파)"), + (0x321B, "3", "(하)"), + (0x321C, "3", "(주)"), + (0x321D, "3", "(오전)"), + (0x321E, "3", "(오후)"), + (0x321F, "X"), + (0x3220, "3", "(一)"), + (0x3221, "3", "(二)"), + (0x3222, "3", "(三)"), + (0x3223, "3", "(四)"), + (0x3224, "3", "(五)"), + (0x3225, "3", "(六)"), + (0x3226, "3", "(七)"), + (0x3227, "3", "(八)"), + (0x3228, "3", "(九)"), + (0x3229, "3", "(十)"), + (0x322A, "3", "(月)"), + (0x322B, "3", "(火)"), + (0x322C, "3", "(水)"), + (0x322D, "3", "(木)"), + (0x322E, "3", "(金)"), + (0x322F, "3", "(土)"), + (0x3230, "3", "(日)"), + (0x3231, "3", "(株)"), + (0x3232, "3", "(有)"), + (0x3233, "3", "(社)"), + (0x3234, "3", "(名)"), + (0x3235, "3", "(特)"), + (0x3236, "3", "(財)"), + (0x3237, "3", "(祝)"), + (0x3238, "3", "(労)"), + (0x3239, "3", "(代)"), + (0x323A, "3", "(呼)"), + (0x323B, "3", "(学)"), + (0x323C, "3", "(監)"), + (0x323D, "3", "(企)"), + (0x323E, "3", "(資)"), + (0x323F, "3", "(協)"), + (0x3240, "3", "(祭)"), + (0x3241, "3", "(休)"), + (0x3242, "3", "(自)"), + (0x3243, "3", "(至)"), + (0x3244, "M", "問"), + (0x3245, "M", "幼"), + (0x3246, "M", "文"), + (0x3247, "M", "箏"), + (0x3248, "V"), + (0x3250, "M", "pte"), + (0x3251, "M", "21"), + ] + + +def _seg_31() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x3252, "M", "22"), + (0x3253, "M", "23"), + (0x3254, "M", "24"), + (0x3255, "M", "25"), + (0x3256, "M", "26"), + (0x3257, "M", "27"), + (0x3258, "M", "28"), + (0x3259, "M", "29"), + (0x325A, "M", "30"), + (0x325B, "M", "31"), + (0x325C, "M", "32"), + (0x325D, "M", "33"), + (0x325E, "M", "34"), + (0x325F, "M", "35"), + (0x3260, "M", "ᄀ"), + (0x3261, "M", "ᄂ"), + (0x3262, "M", "ᄃ"), + (0x3263, "M", "ᄅ"), + (0x3264, "M", "ᄆ"), + (0x3265, "M", "ᄇ"), + (0x3266, "M", "ᄉ"), + (0x3267, "M", "ᄋ"), + (0x3268, "M", "ᄌ"), + (0x3269, "M", "ᄎ"), + (0x326A, "M", "ᄏ"), + (0x326B, "M", "ᄐ"), + (0x326C, "M", "ᄑ"), + (0x326D, "M", "ᄒ"), + (0x326E, "M", "가"), + (0x326F, "M", "나"), + (0x3270, "M", "다"), + (0x3271, "M", "라"), + (0x3272, "M", "마"), + (0x3273, "M", "바"), + (0x3274, "M", "사"), + (0x3275, "M", "아"), + (0x3276, "M", "자"), + (0x3277, "M", "차"), + (0x3278, "M", "카"), + (0x3279, "M", "타"), + (0x327A, "M", "파"), + (0x327B, "M", "하"), + (0x327C, "M", "참고"), + (0x327D, "M", "주의"), + (0x327E, "M", "우"), + (0x327F, "V"), + (0x3280, "M", "一"), + (0x3281, "M", "二"), + (0x3282, "M", "三"), + (0x3283, "M", "四"), + (0x3284, "M", "五"), + (0x3285, "M", "六"), + (0x3286, "M", "七"), + (0x3287, "M", "八"), + (0x3288, "M", "九"), + (0x3289, "M", "十"), + (0x328A, "M", "月"), + (0x328B, "M", "火"), + (0x328C, "M", "水"), + (0x328D, "M", "木"), + (0x328E, "M", "金"), + (0x328F, "M", "土"), + (0x3290, "M", "日"), + (0x3291, "M", "株"), + (0x3292, "M", "有"), + (0x3293, "M", "社"), + (0x3294, "M", "名"), + (0x3295, "M", "特"), + (0x3296, "M", "財"), + (0x3297, "M", "祝"), + (0x3298, "M", "労"), + (0x3299, "M", "秘"), + (0x329A, "M", "男"), + (0x329B, "M", "女"), + (0x329C, "M", "適"), + (0x329D, "M", "優"), + (0x329E, "M", "印"), + (0x329F, "M", "注"), + (0x32A0, "M", "項"), + (0x32A1, "M", "休"), + (0x32A2, "M", "写"), + (0x32A3, "M", "正"), + (0x32A4, "M", "上"), + (0x32A5, "M", "中"), + (0x32A6, "M", "下"), + (0x32A7, "M", "左"), + (0x32A8, "M", "右"), + (0x32A9, "M", "医"), + (0x32AA, "M", "宗"), + (0x32AB, "M", "学"), + (0x32AC, "M", "監"), + (0x32AD, "M", "企"), + (0x32AE, "M", "資"), + (0x32AF, "M", "協"), + (0x32B0, "M", "夜"), + (0x32B1, "M", "36"), + (0x32B2, "M", "37"), + (0x32B3, "M", "38"), + (0x32B4, "M", "39"), + (0x32B5, "M", "40"), + ] + + +def _seg_32() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x32B6, "M", "41"), + (0x32B7, "M", "42"), + (0x32B8, "M", "43"), + (0x32B9, "M", "44"), + (0x32BA, "M", "45"), + (0x32BB, "M", "46"), + (0x32BC, "M", "47"), + (0x32BD, "M", "48"), + (0x32BE, "M", "49"), + (0x32BF, "M", "50"), + (0x32C0, "M", "1月"), + (0x32C1, "M", "2月"), + (0x32C2, "M", "3月"), + (0x32C3, "M", "4月"), + (0x32C4, "M", "5月"), + (0x32C5, "M", "6月"), + (0x32C6, "M", "7月"), + (0x32C7, "M", "8月"), + (0x32C8, "M", "9月"), + (0x32C9, "M", "10月"), + (0x32CA, "M", "11月"), + (0x32CB, "M", "12月"), + (0x32CC, "M", "hg"), + (0x32CD, "M", "erg"), + (0x32CE, "M", "ev"), + (0x32CF, "M", "ltd"), + (0x32D0, "M", "ア"), + (0x32D1, "M", "イ"), + (0x32D2, "M", "ウ"), + (0x32D3, "M", "エ"), + (0x32D4, "M", "オ"), + (0x32D5, "M", "カ"), + (0x32D6, "M", "キ"), + (0x32D7, "M", "ク"), + (0x32D8, "M", "ケ"), + (0x32D9, "M", "コ"), + (0x32DA, "M", "サ"), + (0x32DB, "M", "シ"), + (0x32DC, "M", "ス"), + (0x32DD, "M", "セ"), + (0x32DE, "M", "ソ"), + (0x32DF, "M", "タ"), + (0x32E0, "M", "チ"), + (0x32E1, "M", "ツ"), + (0x32E2, "M", "テ"), + (0x32E3, "M", "ト"), + (0x32E4, "M", "ナ"), + (0x32E5, "M", "ニ"), + (0x32E6, "M", "ヌ"), + (0x32E7, "M", "ネ"), + (0x32E8, "M", "ノ"), + (0x32E9, "M", "ハ"), + (0x32EA, "M", "ヒ"), + (0x32EB, "M", "フ"), + (0x32EC, "M", "ヘ"), + (0x32ED, "M", "ホ"), + (0x32EE, "M", "マ"), + (0x32EF, "M", "ミ"), + (0x32F0, "M", "ム"), + (0x32F1, "M", "メ"), + (0x32F2, "M", "モ"), + (0x32F3, "M", "ヤ"), + (0x32F4, "M", "ユ"), + (0x32F5, "M", "ヨ"), + (0x32F6, "M", "ラ"), + (0x32F7, "M", "リ"), + (0x32F8, "M", "ル"), + (0x32F9, "M", "レ"), + (0x32FA, "M", "ロ"), + (0x32FB, "M", "ワ"), + (0x32FC, "M", "ヰ"), + (0x32FD, "M", "ヱ"), + (0x32FE, "M", "ヲ"), + (0x32FF, "M", "令和"), + (0x3300, "M", "アパート"), + (0x3301, "M", "アルファ"), + (0x3302, "M", "アンペア"), + (0x3303, "M", "アール"), + (0x3304, "M", "イニング"), + (0x3305, "M", "インチ"), + (0x3306, "M", "ウォン"), + (0x3307, "M", "エスクード"), + (0x3308, "M", "エーカー"), + (0x3309, "M", "オンス"), + (0x330A, "M", "オーム"), + (0x330B, "M", "カイリ"), + (0x330C, "M", "カラット"), + (0x330D, "M", "カロリー"), + (0x330E, "M", "ガロン"), + (0x330F, "M", "ガンマ"), + (0x3310, "M", "ギガ"), + (0x3311, "M", "ギニー"), + (0x3312, "M", "キュリー"), + (0x3313, "M", "ギルダー"), + (0x3314, "M", "キロ"), + (0x3315, "M", "キログラム"), + (0x3316, "M", "キロメートル"), + (0x3317, "M", "キロワット"), + (0x3318, "M", "グラム"), + (0x3319, "M", "グラムトン"), + ] + + +def _seg_33() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x331A, "M", "クルゼイロ"), + (0x331B, "M", "クローネ"), + (0x331C, "M", "ケース"), + (0x331D, "M", "コルナ"), + (0x331E, "M", "コーポ"), + (0x331F, "M", "サイクル"), + (0x3320, "M", "サンチーム"), + (0x3321, "M", "シリング"), + (0x3322, "M", "センチ"), + (0x3323, "M", "セント"), + (0x3324, "M", "ダース"), + (0x3325, "M", "デシ"), + (0x3326, "M", "ドル"), + (0x3327, "M", "トン"), + (0x3328, "M", "ナノ"), + (0x3329, "M", "ノット"), + (0x332A, "M", "ハイツ"), + (0x332B, "M", "パーセント"), + (0x332C, "M", "パーツ"), + (0x332D, "M", "バーレル"), + (0x332E, "M", "ピアストル"), + (0x332F, "M", "ピクル"), + (0x3330, "M", "ピコ"), + (0x3331, "M", "ビル"), + (0x3332, "M", "ファラッド"), + (0x3333, "M", "フィート"), + (0x3334, "M", "ブッシェル"), + (0x3335, "M", "フラン"), + (0x3336, "M", "ヘクタール"), + (0x3337, "M", "ペソ"), + (0x3338, "M", "ペニヒ"), + (0x3339, "M", "ヘルツ"), + (0x333A, "M", "ペンス"), + (0x333B, "M", "ページ"), + (0x333C, "M", "ベータ"), + (0x333D, "M", "ポイント"), + (0x333E, "M", "ボルト"), + (0x333F, "M", "ホン"), + (0x3340, "M", "ポンド"), + (0x3341, "M", "ホール"), + (0x3342, "M", "ホーン"), + (0x3343, "M", "マイクロ"), + (0x3344, "M", "マイル"), + (0x3345, "M", "マッハ"), + (0x3346, "M", "マルク"), + (0x3347, "M", "マンション"), + (0x3348, "M", "ミクロン"), + (0x3349, "M", "ミリ"), + (0x334A, "M", "ミリバール"), + (0x334B, "M", "メガ"), + (0x334C, "M", "メガトン"), + (0x334D, "M", "メートル"), + (0x334E, "M", "ヤード"), + (0x334F, "M", "ヤール"), + (0x3350, "M", "ユアン"), + (0x3351, "M", "リットル"), + (0x3352, "M", "リラ"), + (0x3353, "M", "ルピー"), + (0x3354, "M", "ルーブル"), + (0x3355, "M", "レム"), + (0x3356, "M", "レントゲン"), + (0x3357, "M", "ワット"), + (0x3358, "M", "0点"), + (0x3359, "M", "1点"), + (0x335A, "M", "2点"), + (0x335B, "M", "3点"), + (0x335C, "M", "4点"), + (0x335D, "M", "5点"), + (0x335E, "M", "6点"), + (0x335F, "M", "7点"), + (0x3360, "M", "8点"), + (0x3361, "M", "9点"), + (0x3362, "M", "10点"), + (0x3363, "M", "11点"), + (0x3364, "M", "12点"), + (0x3365, "M", "13点"), + (0x3366, "M", "14点"), + (0x3367, "M", "15点"), + (0x3368, "M", "16点"), + (0x3369, "M", "17点"), + (0x336A, "M", "18点"), + (0x336B, "M", "19点"), + (0x336C, "M", "20点"), + (0x336D, "M", "21点"), + (0x336E, "M", "22点"), + (0x336F, "M", "23点"), + (0x3370, "M", "24点"), + (0x3371, "M", "hpa"), + (0x3372, "M", "da"), + (0x3373, "M", "au"), + (0x3374, "M", "bar"), + (0x3375, "M", "ov"), + (0x3376, "M", "pc"), + (0x3377, "M", "dm"), + (0x3378, "M", "dm2"), + (0x3379, "M", "dm3"), + (0x337A, "M", "iu"), + (0x337B, "M", "平成"), + (0x337C, "M", "昭和"), + (0x337D, "M", "大正"), + ] + + +def _seg_34() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x337E, "M", "明治"), + (0x337F, "M", "株式会社"), + (0x3380, "M", "pa"), + (0x3381, "M", "na"), + (0x3382, "M", "μa"), + (0x3383, "M", "ma"), + (0x3384, "M", "ka"), + (0x3385, "M", "kb"), + (0x3386, "M", "mb"), + (0x3387, "M", "gb"), + (0x3388, "M", "cal"), + (0x3389, "M", "kcal"), + (0x338A, "M", "pf"), + (0x338B, "M", "nf"), + (0x338C, "M", "μf"), + (0x338D, "M", "μg"), + (0x338E, "M", "mg"), + (0x338F, "M", "kg"), + (0x3390, "M", "hz"), + (0x3391, "M", "khz"), + (0x3392, "M", "mhz"), + (0x3393, "M", "ghz"), + (0x3394, "M", "thz"), + (0x3395, "M", "μl"), + (0x3396, "M", "ml"), + (0x3397, "M", "dl"), + (0x3398, "M", "kl"), + (0x3399, "M", "fm"), + (0x339A, "M", "nm"), + (0x339B, "M", "μm"), + (0x339C, "M", "mm"), + (0x339D, "M", "cm"), + (0x339E, "M", "km"), + (0x339F, "M", "mm2"), + (0x33A0, "M", "cm2"), + (0x33A1, "M", "m2"), + (0x33A2, "M", "km2"), + (0x33A3, "M", "mm3"), + (0x33A4, "M", "cm3"), + (0x33A5, "M", "m3"), + (0x33A6, "M", "km3"), + (0x33A7, "M", "m∕s"), + (0x33A8, "M", "m∕s2"), + (0x33A9, "M", "pa"), + (0x33AA, "M", "kpa"), + (0x33AB, "M", "mpa"), + (0x33AC, "M", "gpa"), + (0x33AD, "M", "rad"), + (0x33AE, "M", "rad∕s"), + (0x33AF, "M", "rad∕s2"), + (0x33B0, "M", "ps"), + (0x33B1, "M", "ns"), + (0x33B2, "M", "μs"), + (0x33B3, "M", "ms"), + (0x33B4, "M", "pv"), + (0x33B5, "M", "nv"), + (0x33B6, "M", "μv"), + (0x33B7, "M", "mv"), + (0x33B8, "M", "kv"), + (0x33B9, "M", "mv"), + (0x33BA, "M", "pw"), + (0x33BB, "M", "nw"), + (0x33BC, "M", "μw"), + (0x33BD, "M", "mw"), + (0x33BE, "M", "kw"), + (0x33BF, "M", "mw"), + (0x33C0, "M", "kω"), + (0x33C1, "M", "mω"), + (0x33C2, "X"), + (0x33C3, "M", "bq"), + (0x33C4, "M", "cc"), + (0x33C5, "M", "cd"), + (0x33C6, "M", "c∕kg"), + (0x33C7, "X"), + (0x33C8, "M", "db"), + (0x33C9, "M", "gy"), + (0x33CA, "M", "ha"), + (0x33CB, "M", "hp"), + (0x33CC, "M", "in"), + (0x33CD, "M", "kk"), + (0x33CE, "M", "km"), + (0x33CF, "M", "kt"), + (0x33D0, "M", "lm"), + (0x33D1, "M", "ln"), + (0x33D2, "M", "log"), + (0x33D3, "M", "lx"), + (0x33D4, "M", "mb"), + (0x33D5, "M", "mil"), + (0x33D6, "M", "mol"), + (0x33D7, "M", "ph"), + (0x33D8, "X"), + (0x33D9, "M", "ppm"), + (0x33DA, "M", "pr"), + (0x33DB, "M", "sr"), + (0x33DC, "M", "sv"), + (0x33DD, "M", "wb"), + (0x33DE, "M", "v∕m"), + (0x33DF, "M", "a∕m"), + (0x33E0, "M", "1日"), + (0x33E1, "M", "2日"), + ] + + +def _seg_35() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x33E2, "M", "3日"), + (0x33E3, "M", "4日"), + (0x33E4, "M", "5日"), + (0x33E5, "M", "6日"), + (0x33E6, "M", "7日"), + (0x33E7, "M", "8日"), + (0x33E8, "M", "9日"), + (0x33E9, "M", "10日"), + (0x33EA, "M", "11日"), + (0x33EB, "M", "12日"), + (0x33EC, "M", "13日"), + (0x33ED, "M", "14日"), + (0x33EE, "M", "15日"), + (0x33EF, "M", "16日"), + (0x33F0, "M", "17日"), + (0x33F1, "M", "18日"), + (0x33F2, "M", "19日"), + (0x33F3, "M", "20日"), + (0x33F4, "M", "21日"), + (0x33F5, "M", "22日"), + (0x33F6, "M", "23日"), + (0x33F7, "M", "24日"), + (0x33F8, "M", "25日"), + (0x33F9, "M", "26日"), + (0x33FA, "M", "27日"), + (0x33FB, "M", "28日"), + (0x33FC, "M", "29日"), + (0x33FD, "M", "30日"), + (0x33FE, "M", "31日"), + (0x33FF, "M", "gal"), + (0x3400, "V"), + (0xA48D, "X"), + (0xA490, "V"), + (0xA4C7, "X"), + (0xA4D0, "V"), + (0xA62C, "X"), + (0xA640, "M", "ꙁ"), + (0xA641, "V"), + (0xA642, "M", "ꙃ"), + (0xA643, "V"), + (0xA644, "M", "ꙅ"), + (0xA645, "V"), + (0xA646, "M", "ꙇ"), + (0xA647, "V"), + (0xA648, "M", "ꙉ"), + (0xA649, "V"), + (0xA64A, "M", "ꙋ"), + (0xA64B, "V"), + (0xA64C, "M", "ꙍ"), + (0xA64D, "V"), + (0xA64E, "M", "ꙏ"), + (0xA64F, "V"), + (0xA650, "M", "ꙑ"), + (0xA651, "V"), + (0xA652, "M", "ꙓ"), + (0xA653, "V"), + (0xA654, "M", "ꙕ"), + (0xA655, "V"), + (0xA656, "M", "ꙗ"), + (0xA657, "V"), + (0xA658, "M", "ꙙ"), + (0xA659, "V"), + (0xA65A, "M", "ꙛ"), + (0xA65B, "V"), + (0xA65C, "M", "ꙝ"), + (0xA65D, "V"), + (0xA65E, "M", "ꙟ"), + (0xA65F, "V"), + (0xA660, "M", "ꙡ"), + (0xA661, "V"), + (0xA662, "M", "ꙣ"), + (0xA663, "V"), + (0xA664, "M", "ꙥ"), + (0xA665, "V"), + (0xA666, "M", "ꙧ"), + (0xA667, "V"), + (0xA668, "M", "ꙩ"), + (0xA669, "V"), + (0xA66A, "M", "ꙫ"), + (0xA66B, "V"), + (0xA66C, "M", "ꙭ"), + (0xA66D, "V"), + (0xA680, "M", "ꚁ"), + (0xA681, "V"), + (0xA682, "M", "ꚃ"), + (0xA683, "V"), + (0xA684, "M", "ꚅ"), + (0xA685, "V"), + (0xA686, "M", "ꚇ"), + (0xA687, "V"), + (0xA688, "M", "ꚉ"), + (0xA689, "V"), + (0xA68A, "M", "ꚋ"), + (0xA68B, "V"), + (0xA68C, "M", "ꚍ"), + (0xA68D, "V"), + (0xA68E, "M", "ꚏ"), + (0xA68F, "V"), + (0xA690, "M", "ꚑ"), + (0xA691, "V"), + ] + + +def _seg_36() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xA692, "M", "ꚓ"), + (0xA693, "V"), + (0xA694, "M", "ꚕ"), + (0xA695, "V"), + (0xA696, "M", "ꚗ"), + (0xA697, "V"), + (0xA698, "M", "ꚙ"), + (0xA699, "V"), + (0xA69A, "M", "ꚛ"), + (0xA69B, "V"), + (0xA69C, "M", "ъ"), + (0xA69D, "M", "ь"), + (0xA69E, "V"), + (0xA6F8, "X"), + (0xA700, "V"), + (0xA722, "M", "ꜣ"), + (0xA723, "V"), + (0xA724, "M", "ꜥ"), + (0xA725, "V"), + (0xA726, "M", "ꜧ"), + (0xA727, "V"), + (0xA728, "M", "ꜩ"), + (0xA729, "V"), + (0xA72A, "M", "ꜫ"), + (0xA72B, "V"), + (0xA72C, "M", "ꜭ"), + (0xA72D, "V"), + (0xA72E, "M", "ꜯ"), + (0xA72F, "V"), + (0xA732, "M", "ꜳ"), + (0xA733, "V"), + (0xA734, "M", "ꜵ"), + (0xA735, "V"), + (0xA736, "M", "ꜷ"), + (0xA737, "V"), + (0xA738, "M", "ꜹ"), + (0xA739, "V"), + (0xA73A, "M", "ꜻ"), + (0xA73B, "V"), + (0xA73C, "M", "ꜽ"), + (0xA73D, "V"), + (0xA73E, "M", "ꜿ"), + (0xA73F, "V"), + (0xA740, "M", "ꝁ"), + (0xA741, "V"), + (0xA742, "M", "ꝃ"), + (0xA743, "V"), + (0xA744, "M", "ꝅ"), + (0xA745, "V"), + (0xA746, "M", "ꝇ"), + (0xA747, "V"), + (0xA748, "M", "ꝉ"), + (0xA749, "V"), + (0xA74A, "M", "ꝋ"), + (0xA74B, "V"), + (0xA74C, "M", "ꝍ"), + (0xA74D, "V"), + (0xA74E, "M", "ꝏ"), + (0xA74F, "V"), + (0xA750, "M", "ꝑ"), + (0xA751, "V"), + (0xA752, "M", "ꝓ"), + (0xA753, "V"), + (0xA754, "M", "ꝕ"), + (0xA755, "V"), + (0xA756, "M", "ꝗ"), + (0xA757, "V"), + (0xA758, "M", "ꝙ"), + (0xA759, "V"), + (0xA75A, "M", "ꝛ"), + (0xA75B, "V"), + (0xA75C, "M", "ꝝ"), + (0xA75D, "V"), + (0xA75E, "M", "ꝟ"), + (0xA75F, "V"), + (0xA760, "M", "ꝡ"), + (0xA761, "V"), + (0xA762, "M", "ꝣ"), + (0xA763, "V"), + (0xA764, "M", "ꝥ"), + (0xA765, "V"), + (0xA766, "M", "ꝧ"), + (0xA767, "V"), + (0xA768, "M", "ꝩ"), + (0xA769, "V"), + (0xA76A, "M", "ꝫ"), + (0xA76B, "V"), + (0xA76C, "M", "ꝭ"), + (0xA76D, "V"), + (0xA76E, "M", "ꝯ"), + (0xA76F, "V"), + (0xA770, "M", "ꝯ"), + (0xA771, "V"), + (0xA779, "M", "ꝺ"), + (0xA77A, "V"), + (0xA77B, "M", "ꝼ"), + (0xA77C, "V"), + (0xA77D, "M", "ᵹ"), + (0xA77E, "M", "ꝿ"), + (0xA77F, "V"), + ] + + +def _seg_37() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xA780, "M", "ꞁ"), + (0xA781, "V"), + (0xA782, "M", "ꞃ"), + (0xA783, "V"), + (0xA784, "M", "ꞅ"), + (0xA785, "V"), + (0xA786, "M", "ꞇ"), + (0xA787, "V"), + (0xA78B, "M", "ꞌ"), + (0xA78C, "V"), + (0xA78D, "M", "ɥ"), + (0xA78E, "V"), + (0xA790, "M", "ꞑ"), + (0xA791, "V"), + (0xA792, "M", "ꞓ"), + (0xA793, "V"), + (0xA796, "M", "ꞗ"), + (0xA797, "V"), + (0xA798, "M", "ꞙ"), + (0xA799, "V"), + (0xA79A, "M", "ꞛ"), + (0xA79B, "V"), + (0xA79C, "M", "ꞝ"), + (0xA79D, "V"), + (0xA79E, "M", "ꞟ"), + (0xA79F, "V"), + (0xA7A0, "M", "ꞡ"), + (0xA7A1, "V"), + (0xA7A2, "M", "ꞣ"), + (0xA7A3, "V"), + (0xA7A4, "M", "ꞥ"), + (0xA7A5, "V"), + (0xA7A6, "M", "ꞧ"), + (0xA7A7, "V"), + (0xA7A8, "M", "ꞩ"), + (0xA7A9, "V"), + (0xA7AA, "M", "ɦ"), + (0xA7AB, "M", "ɜ"), + (0xA7AC, "M", "ɡ"), + (0xA7AD, "M", "ɬ"), + (0xA7AE, "M", "ɪ"), + (0xA7AF, "V"), + (0xA7B0, "M", "ʞ"), + (0xA7B1, "M", "ʇ"), + (0xA7B2, "M", "ʝ"), + (0xA7B3, "M", "ꭓ"), + (0xA7B4, "M", "ꞵ"), + (0xA7B5, "V"), + (0xA7B6, "M", "ꞷ"), + (0xA7B7, "V"), + (0xA7B8, "M", "ꞹ"), + (0xA7B9, "V"), + (0xA7BA, "M", "ꞻ"), + (0xA7BB, "V"), + (0xA7BC, "M", "ꞽ"), + (0xA7BD, "V"), + (0xA7BE, "M", "ꞿ"), + (0xA7BF, "V"), + (0xA7C0, "M", "ꟁ"), + (0xA7C1, "V"), + (0xA7C2, "M", "ꟃ"), + (0xA7C3, "V"), + (0xA7C4, "M", "ꞔ"), + (0xA7C5, "M", "ʂ"), + (0xA7C6, "M", "ᶎ"), + (0xA7C7, "M", "ꟈ"), + (0xA7C8, "V"), + (0xA7C9, "M", "ꟊ"), + (0xA7CA, "V"), + (0xA7CB, "X"), + (0xA7D0, "M", "ꟑ"), + (0xA7D1, "V"), + (0xA7D2, "X"), + (0xA7D3, "V"), + (0xA7D4, "X"), + (0xA7D5, "V"), + (0xA7D6, "M", "ꟗ"), + (0xA7D7, "V"), + (0xA7D8, "M", "ꟙ"), + (0xA7D9, "V"), + (0xA7DA, "X"), + (0xA7F2, "M", "c"), + (0xA7F3, "M", "f"), + (0xA7F4, "M", "q"), + (0xA7F5, "M", "ꟶ"), + (0xA7F6, "V"), + (0xA7F8, "M", "ħ"), + (0xA7F9, "M", "œ"), + (0xA7FA, "V"), + (0xA82D, "X"), + (0xA830, "V"), + (0xA83A, "X"), + (0xA840, "V"), + (0xA878, "X"), + (0xA880, "V"), + (0xA8C6, "X"), + (0xA8CE, "V"), + (0xA8DA, "X"), + (0xA8E0, "V"), + (0xA954, "X"), + ] + + +def _seg_38() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xA95F, "V"), + (0xA97D, "X"), + (0xA980, "V"), + (0xA9CE, "X"), + (0xA9CF, "V"), + (0xA9DA, "X"), + (0xA9DE, "V"), + (0xA9FF, "X"), + (0xAA00, "V"), + (0xAA37, "X"), + (0xAA40, "V"), + (0xAA4E, "X"), + (0xAA50, "V"), + (0xAA5A, "X"), + (0xAA5C, "V"), + (0xAAC3, "X"), + (0xAADB, "V"), + (0xAAF7, "X"), + (0xAB01, "V"), + (0xAB07, "X"), + (0xAB09, "V"), + (0xAB0F, "X"), + (0xAB11, "V"), + (0xAB17, "X"), + (0xAB20, "V"), + (0xAB27, "X"), + (0xAB28, "V"), + (0xAB2F, "X"), + (0xAB30, "V"), + (0xAB5C, "M", "ꜧ"), + (0xAB5D, "M", "ꬷ"), + (0xAB5E, "M", "ɫ"), + (0xAB5F, "M", "ꭒ"), + (0xAB60, "V"), + (0xAB69, "M", "ʍ"), + (0xAB6A, "V"), + (0xAB6C, "X"), + (0xAB70, "M", "Ꭰ"), + (0xAB71, "M", "Ꭱ"), + (0xAB72, "M", "Ꭲ"), + (0xAB73, "M", "Ꭳ"), + (0xAB74, "M", "Ꭴ"), + (0xAB75, "M", "Ꭵ"), + (0xAB76, "M", "Ꭶ"), + (0xAB77, "M", "Ꭷ"), + (0xAB78, "M", "Ꭸ"), + (0xAB79, "M", "Ꭹ"), + (0xAB7A, "M", "Ꭺ"), + (0xAB7B, "M", "Ꭻ"), + (0xAB7C, "M", "Ꭼ"), + (0xAB7D, "M", "Ꭽ"), + (0xAB7E, "M", "Ꭾ"), + (0xAB7F, "M", "Ꭿ"), + (0xAB80, "M", "Ꮀ"), + (0xAB81, "M", "Ꮁ"), + (0xAB82, "M", "Ꮂ"), + (0xAB83, "M", "Ꮃ"), + (0xAB84, "M", "Ꮄ"), + (0xAB85, "M", "Ꮅ"), + (0xAB86, "M", "Ꮆ"), + (0xAB87, "M", "Ꮇ"), + (0xAB88, "M", "Ꮈ"), + (0xAB89, "M", "Ꮉ"), + (0xAB8A, "M", "Ꮊ"), + (0xAB8B, "M", "Ꮋ"), + (0xAB8C, "M", "Ꮌ"), + (0xAB8D, "M", "Ꮍ"), + (0xAB8E, "M", "Ꮎ"), + (0xAB8F, "M", "Ꮏ"), + (0xAB90, "M", "Ꮐ"), + (0xAB91, "M", "Ꮑ"), + (0xAB92, "M", "Ꮒ"), + (0xAB93, "M", "Ꮓ"), + (0xAB94, "M", "Ꮔ"), + (0xAB95, "M", "Ꮕ"), + (0xAB96, "M", "Ꮖ"), + (0xAB97, "M", "Ꮗ"), + (0xAB98, "M", "Ꮘ"), + (0xAB99, "M", "Ꮙ"), + (0xAB9A, "M", "Ꮚ"), + (0xAB9B, "M", "Ꮛ"), + (0xAB9C, "M", "Ꮜ"), + (0xAB9D, "M", "Ꮝ"), + (0xAB9E, "M", "Ꮞ"), + (0xAB9F, "M", "Ꮟ"), + (0xABA0, "M", "Ꮠ"), + (0xABA1, "M", "Ꮡ"), + (0xABA2, "M", "Ꮢ"), + (0xABA3, "M", "Ꮣ"), + (0xABA4, "M", "Ꮤ"), + (0xABA5, "M", "Ꮥ"), + (0xABA6, "M", "Ꮦ"), + (0xABA7, "M", "Ꮧ"), + (0xABA8, "M", "Ꮨ"), + (0xABA9, "M", "Ꮩ"), + (0xABAA, "M", "Ꮪ"), + (0xABAB, "M", "Ꮫ"), + (0xABAC, "M", "Ꮬ"), + (0xABAD, "M", "Ꮭ"), + (0xABAE, "M", "Ꮮ"), + ] + + +def _seg_39() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xABAF, "M", "Ꮯ"), + (0xABB0, "M", "Ꮰ"), + (0xABB1, "M", "Ꮱ"), + (0xABB2, "M", "Ꮲ"), + (0xABB3, "M", "Ꮳ"), + (0xABB4, "M", "Ꮴ"), + (0xABB5, "M", "Ꮵ"), + (0xABB6, "M", "Ꮶ"), + (0xABB7, "M", "Ꮷ"), + (0xABB8, "M", "Ꮸ"), + (0xABB9, "M", "Ꮹ"), + (0xABBA, "M", "Ꮺ"), + (0xABBB, "M", "Ꮻ"), + (0xABBC, "M", "Ꮼ"), + (0xABBD, "M", "Ꮽ"), + (0xABBE, "M", "Ꮾ"), + (0xABBF, "M", "Ꮿ"), + (0xABC0, "V"), + (0xABEE, "X"), + (0xABF0, "V"), + (0xABFA, "X"), + (0xAC00, "V"), + (0xD7A4, "X"), + (0xD7B0, "V"), + (0xD7C7, "X"), + (0xD7CB, "V"), + (0xD7FC, "X"), + (0xF900, "M", "豈"), + (0xF901, "M", "更"), + (0xF902, "M", "車"), + (0xF903, "M", "賈"), + (0xF904, "M", "滑"), + (0xF905, "M", "串"), + (0xF906, "M", "句"), + (0xF907, "M", "龜"), + (0xF909, "M", "契"), + (0xF90A, "M", "金"), + (0xF90B, "M", "喇"), + (0xF90C, "M", "奈"), + (0xF90D, "M", "懶"), + (0xF90E, "M", "癩"), + (0xF90F, "M", "羅"), + (0xF910, "M", "蘿"), + (0xF911, "M", "螺"), + (0xF912, "M", "裸"), + (0xF913, "M", "邏"), + (0xF914, "M", "樂"), + (0xF915, "M", "洛"), + (0xF916, "M", "烙"), + (0xF917, "M", "珞"), + (0xF918, "M", "落"), + (0xF919, "M", "酪"), + (0xF91A, "M", "駱"), + (0xF91B, "M", "亂"), + (0xF91C, "M", "卵"), + (0xF91D, "M", "欄"), + (0xF91E, "M", "爛"), + (0xF91F, "M", "蘭"), + (0xF920, "M", "鸞"), + (0xF921, "M", "嵐"), + (0xF922, "M", "濫"), + (0xF923, "M", "藍"), + (0xF924, "M", "襤"), + (0xF925, "M", "拉"), + (0xF926, "M", "臘"), + (0xF927, "M", "蠟"), + (0xF928, "M", "廊"), + (0xF929, "M", "朗"), + (0xF92A, "M", "浪"), + (0xF92B, "M", "狼"), + (0xF92C, "M", "郎"), + (0xF92D, "M", "來"), + (0xF92E, "M", "冷"), + (0xF92F, "M", "勞"), + (0xF930, "M", "擄"), + (0xF931, "M", "櫓"), + (0xF932, "M", "爐"), + (0xF933, "M", "盧"), + (0xF934, "M", "老"), + (0xF935, "M", "蘆"), + (0xF936, "M", "虜"), + (0xF937, "M", "路"), + (0xF938, "M", "露"), + (0xF939, "M", "魯"), + (0xF93A, "M", "鷺"), + (0xF93B, "M", "碌"), + (0xF93C, "M", "祿"), + (0xF93D, "M", "綠"), + (0xF93E, "M", "菉"), + (0xF93F, "M", "錄"), + (0xF940, "M", "鹿"), + (0xF941, "M", "論"), + (0xF942, "M", "壟"), + (0xF943, "M", "弄"), + (0xF944, "M", "籠"), + (0xF945, "M", "聾"), + (0xF946, "M", "牢"), + (0xF947, "M", "磊"), + (0xF948, "M", "賂"), + (0xF949, "M", "雷"), + ] + + +def _seg_40() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xF94A, "M", "壘"), + (0xF94B, "M", "屢"), + (0xF94C, "M", "樓"), + (0xF94D, "M", "淚"), + (0xF94E, "M", "漏"), + (0xF94F, "M", "累"), + (0xF950, "M", "縷"), + (0xF951, "M", "陋"), + (0xF952, "M", "勒"), + (0xF953, "M", "肋"), + (0xF954, "M", "凜"), + (0xF955, "M", "凌"), + (0xF956, "M", "稜"), + (0xF957, "M", "綾"), + (0xF958, "M", "菱"), + (0xF959, "M", "陵"), + (0xF95A, "M", "讀"), + (0xF95B, "M", "拏"), + (0xF95C, "M", "樂"), + (0xF95D, "M", "諾"), + (0xF95E, "M", "丹"), + (0xF95F, "M", "寧"), + (0xF960, "M", "怒"), + (0xF961, "M", "率"), + (0xF962, "M", "異"), + (0xF963, "M", "北"), + (0xF964, "M", "磻"), + (0xF965, "M", "便"), + (0xF966, "M", "復"), + (0xF967, "M", "不"), + (0xF968, "M", "泌"), + (0xF969, "M", "數"), + (0xF96A, "M", "索"), + (0xF96B, "M", "參"), + (0xF96C, "M", "塞"), + (0xF96D, "M", "省"), + (0xF96E, "M", "葉"), + (0xF96F, "M", "說"), + (0xF970, "M", "殺"), + (0xF971, "M", "辰"), + (0xF972, "M", "沈"), + (0xF973, "M", "拾"), + (0xF974, "M", "若"), + (0xF975, "M", "掠"), + (0xF976, "M", "略"), + (0xF977, "M", "亮"), + (0xF978, "M", "兩"), + (0xF979, "M", "凉"), + (0xF97A, "M", "梁"), + (0xF97B, "M", "糧"), + (0xF97C, "M", "良"), + (0xF97D, "M", "諒"), + (0xF97E, "M", "量"), + (0xF97F, "M", "勵"), + (0xF980, "M", "呂"), + (0xF981, "M", "女"), + (0xF982, "M", "廬"), + (0xF983, "M", "旅"), + (0xF984, "M", "濾"), + (0xF985, "M", "礪"), + (0xF986, "M", "閭"), + (0xF987, "M", "驪"), + (0xF988, "M", "麗"), + (0xF989, "M", "黎"), + (0xF98A, "M", "力"), + (0xF98B, "M", "曆"), + (0xF98C, "M", "歷"), + (0xF98D, "M", "轢"), + (0xF98E, "M", "年"), + (0xF98F, "M", "憐"), + (0xF990, "M", "戀"), + (0xF991, "M", "撚"), + (0xF992, "M", "漣"), + (0xF993, "M", "煉"), + (0xF994, "M", "璉"), + (0xF995, "M", "秊"), + (0xF996, "M", "練"), + (0xF997, "M", "聯"), + (0xF998, "M", "輦"), + (0xF999, "M", "蓮"), + (0xF99A, "M", "連"), + (0xF99B, "M", "鍊"), + (0xF99C, "M", "列"), + (0xF99D, "M", "劣"), + (0xF99E, "M", "咽"), + (0xF99F, "M", "烈"), + (0xF9A0, "M", "裂"), + (0xF9A1, "M", "說"), + (0xF9A2, "M", "廉"), + (0xF9A3, "M", "念"), + (0xF9A4, "M", "捻"), + (0xF9A5, "M", "殮"), + (0xF9A6, "M", "簾"), + (0xF9A7, "M", "獵"), + (0xF9A8, "M", "令"), + (0xF9A9, "M", "囹"), + (0xF9AA, "M", "寧"), + (0xF9AB, "M", "嶺"), + (0xF9AC, "M", "怜"), + (0xF9AD, "M", "玲"), + ] + + +def _seg_41() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xF9AE, "M", "瑩"), + (0xF9AF, "M", "羚"), + (0xF9B0, "M", "聆"), + (0xF9B1, "M", "鈴"), + (0xF9B2, "M", "零"), + (0xF9B3, "M", "靈"), + (0xF9B4, "M", "領"), + (0xF9B5, "M", "例"), + (0xF9B6, "M", "禮"), + (0xF9B7, "M", "醴"), + (0xF9B8, "M", "隸"), + (0xF9B9, "M", "惡"), + (0xF9BA, "M", "了"), + (0xF9BB, "M", "僚"), + (0xF9BC, "M", "寮"), + (0xF9BD, "M", "尿"), + (0xF9BE, "M", "料"), + (0xF9BF, "M", "樂"), + (0xF9C0, "M", "燎"), + (0xF9C1, "M", "療"), + (0xF9C2, "M", "蓼"), + (0xF9C3, "M", "遼"), + (0xF9C4, "M", "龍"), + (0xF9C5, "M", "暈"), + (0xF9C6, "M", "阮"), + (0xF9C7, "M", "劉"), + (0xF9C8, "M", "杻"), + (0xF9C9, "M", "柳"), + (0xF9CA, "M", "流"), + (0xF9CB, "M", "溜"), + (0xF9CC, "M", "琉"), + (0xF9CD, "M", "留"), + (0xF9CE, "M", "硫"), + (0xF9CF, "M", "紐"), + (0xF9D0, "M", "類"), + (0xF9D1, "M", "六"), + (0xF9D2, "M", "戮"), + (0xF9D3, "M", "陸"), + (0xF9D4, "M", "倫"), + (0xF9D5, "M", "崙"), + (0xF9D6, "M", "淪"), + (0xF9D7, "M", "輪"), + (0xF9D8, "M", "律"), + (0xF9D9, "M", "慄"), + (0xF9DA, "M", "栗"), + (0xF9DB, "M", "率"), + (0xF9DC, "M", "隆"), + (0xF9DD, "M", "利"), + (0xF9DE, "M", "吏"), + (0xF9DF, "M", "履"), + (0xF9E0, "M", "易"), + (0xF9E1, "M", "李"), + (0xF9E2, "M", "梨"), + (0xF9E3, "M", "泥"), + (0xF9E4, "M", "理"), + (0xF9E5, "M", "痢"), + (0xF9E6, "M", "罹"), + (0xF9E7, "M", "裏"), + (0xF9E8, "M", "裡"), + (0xF9E9, "M", "里"), + (0xF9EA, "M", "離"), + (0xF9EB, "M", "匿"), + (0xF9EC, "M", "溺"), + (0xF9ED, "M", "吝"), + (0xF9EE, "M", "燐"), + (0xF9EF, "M", "璘"), + (0xF9F0, "M", "藺"), + (0xF9F1, "M", "隣"), + (0xF9F2, "M", "鱗"), + (0xF9F3, "M", "麟"), + (0xF9F4, "M", "林"), + (0xF9F5, "M", "淋"), + (0xF9F6, "M", "臨"), + (0xF9F7, "M", "立"), + (0xF9F8, "M", "笠"), + (0xF9F9, "M", "粒"), + (0xF9FA, "M", "狀"), + (0xF9FB, "M", "炙"), + (0xF9FC, "M", "識"), + (0xF9FD, "M", "什"), + (0xF9FE, "M", "茶"), + (0xF9FF, "M", "刺"), + (0xFA00, "M", "切"), + (0xFA01, "M", "度"), + (0xFA02, "M", "拓"), + (0xFA03, "M", "糖"), + (0xFA04, "M", "宅"), + (0xFA05, "M", "洞"), + (0xFA06, "M", "暴"), + (0xFA07, "M", "輻"), + (0xFA08, "M", "行"), + (0xFA09, "M", "降"), + (0xFA0A, "M", "見"), + (0xFA0B, "M", "廓"), + (0xFA0C, "M", "兀"), + (0xFA0D, "M", "嗀"), + (0xFA0E, "V"), + (0xFA10, "M", "塚"), + (0xFA11, "V"), + (0xFA12, "M", "晴"), + ] + + +def _seg_42() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFA13, "V"), + (0xFA15, "M", "凞"), + (0xFA16, "M", "猪"), + (0xFA17, "M", "益"), + (0xFA18, "M", "礼"), + (0xFA19, "M", "神"), + (0xFA1A, "M", "祥"), + (0xFA1B, "M", "福"), + (0xFA1C, "M", "靖"), + (0xFA1D, "M", "精"), + (0xFA1E, "M", "羽"), + (0xFA1F, "V"), + (0xFA20, "M", "蘒"), + (0xFA21, "V"), + (0xFA22, "M", "諸"), + (0xFA23, "V"), + (0xFA25, "M", "逸"), + (0xFA26, "M", "都"), + (0xFA27, "V"), + (0xFA2A, "M", "飯"), + (0xFA2B, "M", "飼"), + (0xFA2C, "M", "館"), + (0xFA2D, "M", "鶴"), + (0xFA2E, "M", "郞"), + (0xFA2F, "M", "隷"), + (0xFA30, "M", "侮"), + (0xFA31, "M", "僧"), + (0xFA32, "M", "免"), + (0xFA33, "M", "勉"), + (0xFA34, "M", "勤"), + (0xFA35, "M", "卑"), + (0xFA36, "M", "喝"), + (0xFA37, "M", "嘆"), + (0xFA38, "M", "器"), + (0xFA39, "M", "塀"), + (0xFA3A, "M", "墨"), + (0xFA3B, "M", "層"), + (0xFA3C, "M", "屮"), + (0xFA3D, "M", "悔"), + (0xFA3E, "M", "慨"), + (0xFA3F, "M", "憎"), + (0xFA40, "M", "懲"), + (0xFA41, "M", "敏"), + (0xFA42, "M", "既"), + (0xFA43, "M", "暑"), + (0xFA44, "M", "梅"), + (0xFA45, "M", "海"), + (0xFA46, "M", "渚"), + (0xFA47, "M", "漢"), + (0xFA48, "M", "煮"), + (0xFA49, "M", "爫"), + (0xFA4A, "M", "琢"), + (0xFA4B, "M", "碑"), + (0xFA4C, "M", "社"), + (0xFA4D, "M", "祉"), + (0xFA4E, "M", "祈"), + (0xFA4F, "M", "祐"), + (0xFA50, "M", "祖"), + (0xFA51, "M", "祝"), + (0xFA52, "M", "禍"), + (0xFA53, "M", "禎"), + (0xFA54, "M", "穀"), + (0xFA55, "M", "突"), + (0xFA56, "M", "節"), + (0xFA57, "M", "練"), + (0xFA58, "M", "縉"), + (0xFA59, "M", "繁"), + (0xFA5A, "M", "署"), + (0xFA5B, "M", "者"), + (0xFA5C, "M", "臭"), + (0xFA5D, "M", "艹"), + (0xFA5F, "M", "著"), + (0xFA60, "M", "褐"), + (0xFA61, "M", "視"), + (0xFA62, "M", "謁"), + (0xFA63, "M", "謹"), + (0xFA64, "M", "賓"), + (0xFA65, "M", "贈"), + (0xFA66, "M", "辶"), + (0xFA67, "M", "逸"), + (0xFA68, "M", "難"), + (0xFA69, "M", "響"), + (0xFA6A, "M", "頻"), + (0xFA6B, "M", "恵"), + (0xFA6C, "M", "𤋮"), + (0xFA6D, "M", "舘"), + (0xFA6E, "X"), + (0xFA70, "M", "並"), + (0xFA71, "M", "况"), + (0xFA72, "M", "全"), + (0xFA73, "M", "侀"), + (0xFA74, "M", "充"), + (0xFA75, "M", "冀"), + (0xFA76, "M", "勇"), + (0xFA77, "M", "勺"), + (0xFA78, "M", "喝"), + (0xFA79, "M", "啕"), + (0xFA7A, "M", "喙"), + (0xFA7B, "M", "嗢"), + (0xFA7C, "M", "塚"), + ] + + +def _seg_43() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFA7D, "M", "墳"), + (0xFA7E, "M", "奄"), + (0xFA7F, "M", "奔"), + (0xFA80, "M", "婢"), + (0xFA81, "M", "嬨"), + (0xFA82, "M", "廒"), + (0xFA83, "M", "廙"), + (0xFA84, "M", "彩"), + (0xFA85, "M", "徭"), + (0xFA86, "M", "惘"), + (0xFA87, "M", "慎"), + (0xFA88, "M", "愈"), + (0xFA89, "M", "憎"), + (0xFA8A, "M", "慠"), + (0xFA8B, "M", "懲"), + (0xFA8C, "M", "戴"), + (0xFA8D, "M", "揄"), + (0xFA8E, "M", "搜"), + (0xFA8F, "M", "摒"), + (0xFA90, "M", "敖"), + (0xFA91, "M", "晴"), + (0xFA92, "M", "朗"), + (0xFA93, "M", "望"), + (0xFA94, "M", "杖"), + (0xFA95, "M", "歹"), + (0xFA96, "M", "殺"), + (0xFA97, "M", "流"), + (0xFA98, "M", "滛"), + (0xFA99, "M", "滋"), + (0xFA9A, "M", "漢"), + (0xFA9B, "M", "瀞"), + (0xFA9C, "M", "煮"), + (0xFA9D, "M", "瞧"), + (0xFA9E, "M", "爵"), + (0xFA9F, "M", "犯"), + (0xFAA0, "M", "猪"), + (0xFAA1, "M", "瑱"), + (0xFAA2, "M", "甆"), + (0xFAA3, "M", "画"), + (0xFAA4, "M", "瘝"), + (0xFAA5, "M", "瘟"), + (0xFAA6, "M", "益"), + (0xFAA7, "M", "盛"), + (0xFAA8, "M", "直"), + (0xFAA9, "M", "睊"), + (0xFAAA, "M", "着"), + (0xFAAB, "M", "磌"), + (0xFAAC, "M", "窱"), + (0xFAAD, "M", "節"), + (0xFAAE, "M", "类"), + (0xFAAF, "M", "絛"), + (0xFAB0, "M", "練"), + (0xFAB1, "M", "缾"), + (0xFAB2, "M", "者"), + (0xFAB3, "M", "荒"), + (0xFAB4, "M", "華"), + (0xFAB5, "M", "蝹"), + (0xFAB6, "M", "襁"), + (0xFAB7, "M", "覆"), + (0xFAB8, "M", "視"), + (0xFAB9, "M", "調"), + (0xFABA, "M", "諸"), + (0xFABB, "M", "請"), + (0xFABC, "M", "謁"), + (0xFABD, "M", "諾"), + (0xFABE, "M", "諭"), + (0xFABF, "M", "謹"), + (0xFAC0, "M", "變"), + (0xFAC1, "M", "贈"), + (0xFAC2, "M", "輸"), + (0xFAC3, "M", "遲"), + (0xFAC4, "M", "醙"), + (0xFAC5, "M", "鉶"), + (0xFAC6, "M", "陼"), + (0xFAC7, "M", "難"), + (0xFAC8, "M", "靖"), + (0xFAC9, "M", "韛"), + (0xFACA, "M", "響"), + (0xFACB, "M", "頋"), + (0xFACC, "M", "頻"), + (0xFACD, "M", "鬒"), + (0xFACE, "M", "龜"), + (0xFACF, "M", "𢡊"), + (0xFAD0, "M", "𢡄"), + (0xFAD1, "M", "𣏕"), + (0xFAD2, "M", "㮝"), + (0xFAD3, "M", "䀘"), + (0xFAD4, "M", "䀹"), + (0xFAD5, "M", "𥉉"), + (0xFAD6, "M", "𥳐"), + (0xFAD7, "M", "𧻓"), + (0xFAD8, "M", "齃"), + (0xFAD9, "M", "龎"), + (0xFADA, "X"), + (0xFB00, "M", "ff"), + (0xFB01, "M", "fi"), + (0xFB02, "M", "fl"), + (0xFB03, "M", "ffi"), + (0xFB04, "M", "ffl"), + (0xFB05, "M", "st"), + ] + + +def _seg_44() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFB07, "X"), + (0xFB13, "M", "մն"), + (0xFB14, "M", "մե"), + (0xFB15, "M", "մի"), + (0xFB16, "M", "վն"), + (0xFB17, "M", "մխ"), + (0xFB18, "X"), + (0xFB1D, "M", "יִ"), + (0xFB1E, "V"), + (0xFB1F, "M", "ײַ"), + (0xFB20, "M", "ע"), + (0xFB21, "M", "א"), + (0xFB22, "M", "ד"), + (0xFB23, "M", "ה"), + (0xFB24, "M", "כ"), + (0xFB25, "M", "ל"), + (0xFB26, "M", "ם"), + (0xFB27, "M", "ר"), + (0xFB28, "M", "ת"), + (0xFB29, "3", "+"), + (0xFB2A, "M", "שׁ"), + (0xFB2B, "M", "שׂ"), + (0xFB2C, "M", "שּׁ"), + (0xFB2D, "M", "שּׂ"), + (0xFB2E, "M", "אַ"), + (0xFB2F, "M", "אָ"), + (0xFB30, "M", "אּ"), + (0xFB31, "M", "בּ"), + (0xFB32, "M", "גּ"), + (0xFB33, "M", "דּ"), + (0xFB34, "M", "הּ"), + (0xFB35, "M", "וּ"), + (0xFB36, "M", "זּ"), + (0xFB37, "X"), + (0xFB38, "M", "טּ"), + (0xFB39, "M", "יּ"), + (0xFB3A, "M", "ךּ"), + (0xFB3B, "M", "כּ"), + (0xFB3C, "M", "לּ"), + (0xFB3D, "X"), + (0xFB3E, "M", "מּ"), + (0xFB3F, "X"), + (0xFB40, "M", "נּ"), + (0xFB41, "M", "סּ"), + (0xFB42, "X"), + (0xFB43, "M", "ףּ"), + (0xFB44, "M", "פּ"), + (0xFB45, "X"), + (0xFB46, "M", "צּ"), + (0xFB47, "M", "קּ"), + (0xFB48, "M", "רּ"), + (0xFB49, "M", "שּ"), + (0xFB4A, "M", "תּ"), + (0xFB4B, "M", "וֹ"), + (0xFB4C, "M", "בֿ"), + (0xFB4D, "M", "כֿ"), + (0xFB4E, "M", "פֿ"), + (0xFB4F, "M", "אל"), + (0xFB50, "M", "ٱ"), + (0xFB52, "M", "ٻ"), + (0xFB56, "M", "پ"), + (0xFB5A, "M", "ڀ"), + (0xFB5E, "M", "ٺ"), + (0xFB62, "M", "ٿ"), + (0xFB66, "M", "ٹ"), + (0xFB6A, "M", "ڤ"), + (0xFB6E, "M", "ڦ"), + (0xFB72, "M", "ڄ"), + (0xFB76, "M", "ڃ"), + (0xFB7A, "M", "چ"), + (0xFB7E, "M", "ڇ"), + (0xFB82, "M", "ڍ"), + (0xFB84, "M", "ڌ"), + (0xFB86, "M", "ڎ"), + (0xFB88, "M", "ڈ"), + (0xFB8A, "M", "ژ"), + (0xFB8C, "M", "ڑ"), + (0xFB8E, "M", "ک"), + (0xFB92, "M", "گ"), + (0xFB96, "M", "ڳ"), + (0xFB9A, "M", "ڱ"), + (0xFB9E, "M", "ں"), + (0xFBA0, "M", "ڻ"), + (0xFBA4, "M", "ۀ"), + (0xFBA6, "M", "ہ"), + (0xFBAA, "M", "ھ"), + (0xFBAE, "M", "ے"), + (0xFBB0, "M", "ۓ"), + (0xFBB2, "V"), + (0xFBC3, "X"), + (0xFBD3, "M", "ڭ"), + (0xFBD7, "M", "ۇ"), + (0xFBD9, "M", "ۆ"), + (0xFBDB, "M", "ۈ"), + (0xFBDD, "M", "ۇٴ"), + (0xFBDE, "M", "ۋ"), + (0xFBE0, "M", "ۅ"), + (0xFBE2, "M", "ۉ"), + (0xFBE4, "M", "ې"), + (0xFBE8, "M", "ى"), + ] + + +def _seg_45() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFBEA, "M", "ئا"), + (0xFBEC, "M", "ئە"), + (0xFBEE, "M", "ئو"), + (0xFBF0, "M", "ئۇ"), + (0xFBF2, "M", "ئۆ"), + (0xFBF4, "M", "ئۈ"), + (0xFBF6, "M", "ئې"), + (0xFBF9, "M", "ئى"), + (0xFBFC, "M", "ی"), + (0xFC00, "M", "ئج"), + (0xFC01, "M", "ئح"), + (0xFC02, "M", "ئم"), + (0xFC03, "M", "ئى"), + (0xFC04, "M", "ئي"), + (0xFC05, "M", "بج"), + (0xFC06, "M", "بح"), + (0xFC07, "M", "بخ"), + (0xFC08, "M", "بم"), + (0xFC09, "M", "بى"), + (0xFC0A, "M", "بي"), + (0xFC0B, "M", "تج"), + (0xFC0C, "M", "تح"), + (0xFC0D, "M", "تخ"), + (0xFC0E, "M", "تم"), + (0xFC0F, "M", "تى"), + (0xFC10, "M", "تي"), + (0xFC11, "M", "ثج"), + (0xFC12, "M", "ثم"), + (0xFC13, "M", "ثى"), + (0xFC14, "M", "ثي"), + (0xFC15, "M", "جح"), + (0xFC16, "M", "جم"), + (0xFC17, "M", "حج"), + (0xFC18, "M", "حم"), + (0xFC19, "M", "خج"), + (0xFC1A, "M", "خح"), + (0xFC1B, "M", "خم"), + (0xFC1C, "M", "سج"), + (0xFC1D, "M", "سح"), + (0xFC1E, "M", "سخ"), + (0xFC1F, "M", "سم"), + (0xFC20, "M", "صح"), + (0xFC21, "M", "صم"), + (0xFC22, "M", "ضج"), + (0xFC23, "M", "ضح"), + (0xFC24, "M", "ضخ"), + (0xFC25, "M", "ضم"), + (0xFC26, "M", "طح"), + (0xFC27, "M", "طم"), + (0xFC28, "M", "ظم"), + (0xFC29, "M", "عج"), + (0xFC2A, "M", "عم"), + (0xFC2B, "M", "غج"), + (0xFC2C, "M", "غم"), + (0xFC2D, "M", "فج"), + (0xFC2E, "M", "فح"), + (0xFC2F, "M", "فخ"), + (0xFC30, "M", "فم"), + (0xFC31, "M", "فى"), + (0xFC32, "M", "في"), + (0xFC33, "M", "قح"), + (0xFC34, "M", "قم"), + (0xFC35, "M", "قى"), + (0xFC36, "M", "قي"), + (0xFC37, "M", "كا"), + (0xFC38, "M", "كج"), + (0xFC39, "M", "كح"), + (0xFC3A, "M", "كخ"), + (0xFC3B, "M", "كل"), + (0xFC3C, "M", "كم"), + (0xFC3D, "M", "كى"), + (0xFC3E, "M", "كي"), + (0xFC3F, "M", "لج"), + (0xFC40, "M", "لح"), + (0xFC41, "M", "لخ"), + (0xFC42, "M", "لم"), + (0xFC43, "M", "لى"), + (0xFC44, "M", "لي"), + (0xFC45, "M", "مج"), + (0xFC46, "M", "مح"), + (0xFC47, "M", "مخ"), + (0xFC48, "M", "مم"), + (0xFC49, "M", "مى"), + (0xFC4A, "M", "مي"), + (0xFC4B, "M", "نج"), + (0xFC4C, "M", "نح"), + (0xFC4D, "M", "نخ"), + (0xFC4E, "M", "نم"), + (0xFC4F, "M", "نى"), + (0xFC50, "M", "ني"), + (0xFC51, "M", "هج"), + (0xFC52, "M", "هم"), + (0xFC53, "M", "هى"), + (0xFC54, "M", "هي"), + (0xFC55, "M", "يج"), + (0xFC56, "M", "يح"), + (0xFC57, "M", "يخ"), + (0xFC58, "M", "يم"), + (0xFC59, "M", "يى"), + (0xFC5A, "M", "يي"), + ] + + +def _seg_46() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFC5B, "M", "ذٰ"), + (0xFC5C, "M", "رٰ"), + (0xFC5D, "M", "ىٰ"), + (0xFC5E, "3", " ٌّ"), + (0xFC5F, "3", " ٍّ"), + (0xFC60, "3", " َّ"), + (0xFC61, "3", " ُّ"), + (0xFC62, "3", " ِّ"), + (0xFC63, "3", " ّٰ"), + (0xFC64, "M", "ئر"), + (0xFC65, "M", "ئز"), + (0xFC66, "M", "ئم"), + (0xFC67, "M", "ئن"), + (0xFC68, "M", "ئى"), + (0xFC69, "M", "ئي"), + (0xFC6A, "M", "بر"), + (0xFC6B, "M", "بز"), + (0xFC6C, "M", "بم"), + (0xFC6D, "M", "بن"), + (0xFC6E, "M", "بى"), + (0xFC6F, "M", "بي"), + (0xFC70, "M", "تر"), + (0xFC71, "M", "تز"), + (0xFC72, "M", "تم"), + (0xFC73, "M", "تن"), + (0xFC74, "M", "تى"), + (0xFC75, "M", "تي"), + (0xFC76, "M", "ثر"), + (0xFC77, "M", "ثز"), + (0xFC78, "M", "ثم"), + (0xFC79, "M", "ثن"), + (0xFC7A, "M", "ثى"), + (0xFC7B, "M", "ثي"), + (0xFC7C, "M", "فى"), + (0xFC7D, "M", "في"), + (0xFC7E, "M", "قى"), + (0xFC7F, "M", "قي"), + (0xFC80, "M", "كا"), + (0xFC81, "M", "كل"), + (0xFC82, "M", "كم"), + (0xFC83, "M", "كى"), + (0xFC84, "M", "كي"), + (0xFC85, "M", "لم"), + (0xFC86, "M", "لى"), + (0xFC87, "M", "لي"), + (0xFC88, "M", "ما"), + (0xFC89, "M", "مم"), + (0xFC8A, "M", "نر"), + (0xFC8B, "M", "نز"), + (0xFC8C, "M", "نم"), + (0xFC8D, "M", "نن"), + (0xFC8E, "M", "نى"), + (0xFC8F, "M", "ني"), + (0xFC90, "M", "ىٰ"), + (0xFC91, "M", "ير"), + (0xFC92, "M", "يز"), + (0xFC93, "M", "يم"), + (0xFC94, "M", "ين"), + (0xFC95, "M", "يى"), + (0xFC96, "M", "يي"), + (0xFC97, "M", "ئج"), + (0xFC98, "M", "ئح"), + (0xFC99, "M", "ئخ"), + (0xFC9A, "M", "ئم"), + (0xFC9B, "M", "ئه"), + (0xFC9C, "M", "بج"), + (0xFC9D, "M", "بح"), + (0xFC9E, "M", "بخ"), + (0xFC9F, "M", "بم"), + (0xFCA0, "M", "به"), + (0xFCA1, "M", "تج"), + (0xFCA2, "M", "تح"), + (0xFCA3, "M", "تخ"), + (0xFCA4, "M", "تم"), + (0xFCA5, "M", "ته"), + (0xFCA6, "M", "ثم"), + (0xFCA7, "M", "جح"), + (0xFCA8, "M", "جم"), + (0xFCA9, "M", "حج"), + (0xFCAA, "M", "حم"), + (0xFCAB, "M", "خج"), + (0xFCAC, "M", "خم"), + (0xFCAD, "M", "سج"), + (0xFCAE, "M", "سح"), + (0xFCAF, "M", "سخ"), + (0xFCB0, "M", "سم"), + (0xFCB1, "M", "صح"), + (0xFCB2, "M", "صخ"), + (0xFCB3, "M", "صم"), + (0xFCB4, "M", "ضج"), + (0xFCB5, "M", "ضح"), + (0xFCB6, "M", "ضخ"), + (0xFCB7, "M", "ضم"), + (0xFCB8, "M", "طح"), + (0xFCB9, "M", "ظم"), + (0xFCBA, "M", "عج"), + (0xFCBB, "M", "عم"), + (0xFCBC, "M", "غج"), + (0xFCBD, "M", "غم"), + (0xFCBE, "M", "فج"), + ] + + +def _seg_47() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFCBF, "M", "فح"), + (0xFCC0, "M", "فخ"), + (0xFCC1, "M", "فم"), + (0xFCC2, "M", "قح"), + (0xFCC3, "M", "قم"), + (0xFCC4, "M", "كج"), + (0xFCC5, "M", "كح"), + (0xFCC6, "M", "كخ"), + (0xFCC7, "M", "كل"), + (0xFCC8, "M", "كم"), + (0xFCC9, "M", "لج"), + (0xFCCA, "M", "لح"), + (0xFCCB, "M", "لخ"), + (0xFCCC, "M", "لم"), + (0xFCCD, "M", "له"), + (0xFCCE, "M", "مج"), + (0xFCCF, "M", "مح"), + (0xFCD0, "M", "مخ"), + (0xFCD1, "M", "مم"), + (0xFCD2, "M", "نج"), + (0xFCD3, "M", "نح"), + (0xFCD4, "M", "نخ"), + (0xFCD5, "M", "نم"), + (0xFCD6, "M", "نه"), + (0xFCD7, "M", "هج"), + (0xFCD8, "M", "هم"), + (0xFCD9, "M", "هٰ"), + (0xFCDA, "M", "يج"), + (0xFCDB, "M", "يح"), + (0xFCDC, "M", "يخ"), + (0xFCDD, "M", "يم"), + (0xFCDE, "M", "يه"), + (0xFCDF, "M", "ئم"), + (0xFCE0, "M", "ئه"), + (0xFCE1, "M", "بم"), + (0xFCE2, "M", "به"), + (0xFCE3, "M", "تم"), + (0xFCE4, "M", "ته"), + (0xFCE5, "M", "ثم"), + (0xFCE6, "M", "ثه"), + (0xFCE7, "M", "سم"), + (0xFCE8, "M", "سه"), + (0xFCE9, "M", "شم"), + (0xFCEA, "M", "شه"), + (0xFCEB, "M", "كل"), + (0xFCEC, "M", "كم"), + (0xFCED, "M", "لم"), + (0xFCEE, "M", "نم"), + (0xFCEF, "M", "نه"), + (0xFCF0, "M", "يم"), + (0xFCF1, "M", "يه"), + (0xFCF2, "M", "ـَّ"), + (0xFCF3, "M", "ـُّ"), + (0xFCF4, "M", "ـِّ"), + (0xFCF5, "M", "طى"), + (0xFCF6, "M", "طي"), + (0xFCF7, "M", "عى"), + (0xFCF8, "M", "عي"), + (0xFCF9, "M", "غى"), + (0xFCFA, "M", "غي"), + (0xFCFB, "M", "سى"), + (0xFCFC, "M", "سي"), + (0xFCFD, "M", "شى"), + (0xFCFE, "M", "شي"), + (0xFCFF, "M", "حى"), + (0xFD00, "M", "حي"), + (0xFD01, "M", "جى"), + (0xFD02, "M", "جي"), + (0xFD03, "M", "خى"), + (0xFD04, "M", "خي"), + (0xFD05, "M", "صى"), + (0xFD06, "M", "صي"), + (0xFD07, "M", "ضى"), + (0xFD08, "M", "ضي"), + (0xFD09, "M", "شج"), + (0xFD0A, "M", "شح"), + (0xFD0B, "M", "شخ"), + (0xFD0C, "M", "شم"), + (0xFD0D, "M", "شر"), + (0xFD0E, "M", "سر"), + (0xFD0F, "M", "صر"), + (0xFD10, "M", "ضر"), + (0xFD11, "M", "طى"), + (0xFD12, "M", "طي"), + (0xFD13, "M", "عى"), + (0xFD14, "M", "عي"), + (0xFD15, "M", "غى"), + (0xFD16, "M", "غي"), + (0xFD17, "M", "سى"), + (0xFD18, "M", "سي"), + (0xFD19, "M", "شى"), + (0xFD1A, "M", "شي"), + (0xFD1B, "M", "حى"), + (0xFD1C, "M", "حي"), + (0xFD1D, "M", "جى"), + (0xFD1E, "M", "جي"), + (0xFD1F, "M", "خى"), + (0xFD20, "M", "خي"), + (0xFD21, "M", "صى"), + (0xFD22, "M", "صي"), + ] + + +def _seg_48() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFD23, "M", "ضى"), + (0xFD24, "M", "ضي"), + (0xFD25, "M", "شج"), + (0xFD26, "M", "شح"), + (0xFD27, "M", "شخ"), + (0xFD28, "M", "شم"), + (0xFD29, "M", "شر"), + (0xFD2A, "M", "سر"), + (0xFD2B, "M", "صر"), + (0xFD2C, "M", "ضر"), + (0xFD2D, "M", "شج"), + (0xFD2E, "M", "شح"), + (0xFD2F, "M", "شخ"), + (0xFD30, "M", "شم"), + (0xFD31, "M", "سه"), + (0xFD32, "M", "شه"), + (0xFD33, "M", "طم"), + (0xFD34, "M", "سج"), + (0xFD35, "M", "سح"), + (0xFD36, "M", "سخ"), + (0xFD37, "M", "شج"), + (0xFD38, "M", "شح"), + (0xFD39, "M", "شخ"), + (0xFD3A, "M", "طم"), + (0xFD3B, "M", "ظم"), + (0xFD3C, "M", "اً"), + (0xFD3E, "V"), + (0xFD50, "M", "تجم"), + (0xFD51, "M", "تحج"), + (0xFD53, "M", "تحم"), + (0xFD54, "M", "تخم"), + (0xFD55, "M", "تمج"), + (0xFD56, "M", "تمح"), + (0xFD57, "M", "تمخ"), + (0xFD58, "M", "جمح"), + (0xFD5A, "M", "حمي"), + (0xFD5B, "M", "حمى"), + (0xFD5C, "M", "سحج"), + (0xFD5D, "M", "سجح"), + (0xFD5E, "M", "سجى"), + (0xFD5F, "M", "سمح"), + (0xFD61, "M", "سمج"), + (0xFD62, "M", "سمم"), + (0xFD64, "M", "صحح"), + (0xFD66, "M", "صمم"), + (0xFD67, "M", "شحم"), + (0xFD69, "M", "شجي"), + (0xFD6A, "M", "شمخ"), + (0xFD6C, "M", "شمم"), + (0xFD6E, "M", "ضحى"), + (0xFD6F, "M", "ضخم"), + (0xFD71, "M", "طمح"), + (0xFD73, "M", "طمم"), + (0xFD74, "M", "طمي"), + (0xFD75, "M", "عجم"), + (0xFD76, "M", "عمم"), + (0xFD78, "M", "عمى"), + (0xFD79, "M", "غمم"), + (0xFD7A, "M", "غمي"), + (0xFD7B, "M", "غمى"), + (0xFD7C, "M", "فخم"), + (0xFD7E, "M", "قمح"), + (0xFD7F, "M", "قمم"), + (0xFD80, "M", "لحم"), + (0xFD81, "M", "لحي"), + (0xFD82, "M", "لحى"), + (0xFD83, "M", "لجج"), + (0xFD85, "M", "لخم"), + (0xFD87, "M", "لمح"), + (0xFD89, "M", "محج"), + (0xFD8A, "M", "محم"), + (0xFD8B, "M", "محي"), + (0xFD8C, "M", "مجح"), + (0xFD8D, "M", "مجم"), + (0xFD8E, "M", "مخج"), + (0xFD8F, "M", "مخم"), + (0xFD90, "X"), + (0xFD92, "M", "مجخ"), + (0xFD93, "M", "همج"), + (0xFD94, "M", "همم"), + (0xFD95, "M", "نحم"), + (0xFD96, "M", "نحى"), + (0xFD97, "M", "نجم"), + (0xFD99, "M", "نجى"), + (0xFD9A, "M", "نمي"), + (0xFD9B, "M", "نمى"), + (0xFD9C, "M", "يمم"), + (0xFD9E, "M", "بخي"), + (0xFD9F, "M", "تجي"), + (0xFDA0, "M", "تجى"), + (0xFDA1, "M", "تخي"), + (0xFDA2, "M", "تخى"), + (0xFDA3, "M", "تمي"), + (0xFDA4, "M", "تمى"), + (0xFDA5, "M", "جمي"), + (0xFDA6, "M", "جحى"), + (0xFDA7, "M", "جمى"), + (0xFDA8, "M", "سخى"), + (0xFDA9, "M", "صحي"), + (0xFDAA, "M", "شحي"), + ] + + +def _seg_49() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFDAB, "M", "ضحي"), + (0xFDAC, "M", "لجي"), + (0xFDAD, "M", "لمي"), + (0xFDAE, "M", "يحي"), + (0xFDAF, "M", "يجي"), + (0xFDB0, "M", "يمي"), + (0xFDB1, "M", "ممي"), + (0xFDB2, "M", "قمي"), + (0xFDB3, "M", "نحي"), + (0xFDB4, "M", "قمح"), + (0xFDB5, "M", "لحم"), + (0xFDB6, "M", "عمي"), + (0xFDB7, "M", "كمي"), + (0xFDB8, "M", "نجح"), + (0xFDB9, "M", "مخي"), + (0xFDBA, "M", "لجم"), + (0xFDBB, "M", "كمم"), + (0xFDBC, "M", "لجم"), + (0xFDBD, "M", "نجح"), + (0xFDBE, "M", "جحي"), + (0xFDBF, "M", "حجي"), + (0xFDC0, "M", "مجي"), + (0xFDC1, "M", "فمي"), + (0xFDC2, "M", "بحي"), + (0xFDC3, "M", "كمم"), + (0xFDC4, "M", "عجم"), + (0xFDC5, "M", "صمم"), + (0xFDC6, "M", "سخي"), + (0xFDC7, "M", "نجي"), + (0xFDC8, "X"), + (0xFDCF, "V"), + (0xFDD0, "X"), + (0xFDF0, "M", "صلے"), + (0xFDF1, "M", "قلے"), + (0xFDF2, "M", "الله"), + (0xFDF3, "M", "اكبر"), + (0xFDF4, "M", "محمد"), + (0xFDF5, "M", "صلعم"), + (0xFDF6, "M", "رسول"), + (0xFDF7, "M", "عليه"), + (0xFDF8, "M", "وسلم"), + (0xFDF9, "M", "صلى"), + (0xFDFA, "3", "صلى الله عليه وسلم"), + (0xFDFB, "3", "جل جلاله"), + (0xFDFC, "M", "ریال"), + (0xFDFD, "V"), + (0xFE00, "I"), + (0xFE10, "3", ","), + (0xFE11, "M", "、"), + (0xFE12, "X"), + (0xFE13, "3", ":"), + (0xFE14, "3", ";"), + (0xFE15, "3", "!"), + (0xFE16, "3", "?"), + (0xFE17, "M", "〖"), + (0xFE18, "M", "〗"), + (0xFE19, "X"), + (0xFE20, "V"), + (0xFE30, "X"), + (0xFE31, "M", "—"), + (0xFE32, "M", "–"), + (0xFE33, "3", "_"), + (0xFE35, "3", "("), + (0xFE36, "3", ")"), + (0xFE37, "3", "{"), + (0xFE38, "3", "}"), + (0xFE39, "M", "〔"), + (0xFE3A, "M", "〕"), + (0xFE3B, "M", "【"), + (0xFE3C, "M", "】"), + (0xFE3D, "M", "《"), + (0xFE3E, "M", "》"), + (0xFE3F, "M", "〈"), + (0xFE40, "M", "〉"), + (0xFE41, "M", "「"), + (0xFE42, "M", "」"), + (0xFE43, "M", "『"), + (0xFE44, "M", "』"), + (0xFE45, "V"), + (0xFE47, "3", "["), + (0xFE48, "3", "]"), + (0xFE49, "3", " ̅"), + (0xFE4D, "3", "_"), + (0xFE50, "3", ","), + (0xFE51, "M", "、"), + (0xFE52, "X"), + (0xFE54, "3", ";"), + (0xFE55, "3", ":"), + (0xFE56, "3", "?"), + (0xFE57, "3", "!"), + (0xFE58, "M", "—"), + (0xFE59, "3", "("), + (0xFE5A, "3", ")"), + (0xFE5B, "3", "{"), + (0xFE5C, "3", "}"), + (0xFE5D, "M", "〔"), + (0xFE5E, "M", "〕"), + (0xFE5F, "3", "#"), + (0xFE60, "3", "&"), + (0xFE61, "3", "*"), + ] + + +def _seg_50() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFE62, "3", "+"), + (0xFE63, "M", "-"), + (0xFE64, "3", "<"), + (0xFE65, "3", ">"), + (0xFE66, "3", "="), + (0xFE67, "X"), + (0xFE68, "3", "\\"), + (0xFE69, "3", "$"), + (0xFE6A, "3", "%"), + (0xFE6B, "3", "@"), + (0xFE6C, "X"), + (0xFE70, "3", " ً"), + (0xFE71, "M", "ـً"), + (0xFE72, "3", " ٌ"), + (0xFE73, "V"), + (0xFE74, "3", " ٍ"), + (0xFE75, "X"), + (0xFE76, "3", " َ"), + (0xFE77, "M", "ـَ"), + (0xFE78, "3", " ُ"), + (0xFE79, "M", "ـُ"), + (0xFE7A, "3", " ِ"), + (0xFE7B, "M", "ـِ"), + (0xFE7C, "3", " ّ"), + (0xFE7D, "M", "ـّ"), + (0xFE7E, "3", " ْ"), + (0xFE7F, "M", "ـْ"), + (0xFE80, "M", "ء"), + (0xFE81, "M", "آ"), + (0xFE83, "M", "أ"), + (0xFE85, "M", "ؤ"), + (0xFE87, "M", "إ"), + (0xFE89, "M", "ئ"), + (0xFE8D, "M", "ا"), + (0xFE8F, "M", "ب"), + (0xFE93, "M", "ة"), + (0xFE95, "M", "ت"), + (0xFE99, "M", "ث"), + (0xFE9D, "M", "ج"), + (0xFEA1, "M", "ح"), + (0xFEA5, "M", "خ"), + (0xFEA9, "M", "د"), + (0xFEAB, "M", "ذ"), + (0xFEAD, "M", "ر"), + (0xFEAF, "M", "ز"), + (0xFEB1, "M", "س"), + (0xFEB5, "M", "ش"), + (0xFEB9, "M", "ص"), + (0xFEBD, "M", "ض"), + (0xFEC1, "M", "ط"), + (0xFEC5, "M", "ظ"), + (0xFEC9, "M", "ع"), + (0xFECD, "M", "غ"), + (0xFED1, "M", "ف"), + (0xFED5, "M", "ق"), + (0xFED9, "M", "ك"), + (0xFEDD, "M", "ل"), + (0xFEE1, "M", "م"), + (0xFEE5, "M", "ن"), + (0xFEE9, "M", "ه"), + (0xFEED, "M", "و"), + (0xFEEF, "M", "ى"), + (0xFEF1, "M", "ي"), + (0xFEF5, "M", "لآ"), + (0xFEF7, "M", "لأ"), + (0xFEF9, "M", "لإ"), + (0xFEFB, "M", "لا"), + (0xFEFD, "X"), + (0xFEFF, "I"), + (0xFF00, "X"), + (0xFF01, "3", "!"), + (0xFF02, "3", '"'), + (0xFF03, "3", "#"), + (0xFF04, "3", "$"), + (0xFF05, "3", "%"), + (0xFF06, "3", "&"), + (0xFF07, "3", "'"), + (0xFF08, "3", "("), + (0xFF09, "3", ")"), + (0xFF0A, "3", "*"), + (0xFF0B, "3", "+"), + (0xFF0C, "3", ","), + (0xFF0D, "M", "-"), + (0xFF0E, "M", "."), + (0xFF0F, "3", "/"), + (0xFF10, "M", "0"), + (0xFF11, "M", "1"), + (0xFF12, "M", "2"), + (0xFF13, "M", "3"), + (0xFF14, "M", "4"), + (0xFF15, "M", "5"), + (0xFF16, "M", "6"), + (0xFF17, "M", "7"), + (0xFF18, "M", "8"), + (0xFF19, "M", "9"), + (0xFF1A, "3", ":"), + (0xFF1B, "3", ";"), + (0xFF1C, "3", "<"), + (0xFF1D, "3", "="), + (0xFF1E, "3", ">"), + ] + + +def _seg_51() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFF1F, "3", "?"), + (0xFF20, "3", "@"), + (0xFF21, "M", "a"), + (0xFF22, "M", "b"), + (0xFF23, "M", "c"), + (0xFF24, "M", "d"), + (0xFF25, "M", "e"), + (0xFF26, "M", "f"), + (0xFF27, "M", "g"), + (0xFF28, "M", "h"), + (0xFF29, "M", "i"), + (0xFF2A, "M", "j"), + (0xFF2B, "M", "k"), + (0xFF2C, "M", "l"), + (0xFF2D, "M", "m"), + (0xFF2E, "M", "n"), + (0xFF2F, "M", "o"), + (0xFF30, "M", "p"), + (0xFF31, "M", "q"), + (0xFF32, "M", "r"), + (0xFF33, "M", "s"), + (0xFF34, "M", "t"), + (0xFF35, "M", "u"), + (0xFF36, "M", "v"), + (0xFF37, "M", "w"), + (0xFF38, "M", "x"), + (0xFF39, "M", "y"), + (0xFF3A, "M", "z"), + (0xFF3B, "3", "["), + (0xFF3C, "3", "\\"), + (0xFF3D, "3", "]"), + (0xFF3E, "3", "^"), + (0xFF3F, "3", "_"), + (0xFF40, "3", "`"), + (0xFF41, "M", "a"), + (0xFF42, "M", "b"), + (0xFF43, "M", "c"), + (0xFF44, "M", "d"), + (0xFF45, "M", "e"), + (0xFF46, "M", "f"), + (0xFF47, "M", "g"), + (0xFF48, "M", "h"), + (0xFF49, "M", "i"), + (0xFF4A, "M", "j"), + (0xFF4B, "M", "k"), + (0xFF4C, "M", "l"), + (0xFF4D, "M", "m"), + (0xFF4E, "M", "n"), + (0xFF4F, "M", "o"), + (0xFF50, "M", "p"), + (0xFF51, "M", "q"), + (0xFF52, "M", "r"), + (0xFF53, "M", "s"), + (0xFF54, "M", "t"), + (0xFF55, "M", "u"), + (0xFF56, "M", "v"), + (0xFF57, "M", "w"), + (0xFF58, "M", "x"), + (0xFF59, "M", "y"), + (0xFF5A, "M", "z"), + (0xFF5B, "3", "{"), + (0xFF5C, "3", "|"), + (0xFF5D, "3", "}"), + (0xFF5E, "3", "~"), + (0xFF5F, "M", "⦅"), + (0xFF60, "M", "⦆"), + (0xFF61, "M", "."), + (0xFF62, "M", "「"), + (0xFF63, "M", "」"), + (0xFF64, "M", "、"), + (0xFF65, "M", "・"), + (0xFF66, "M", "ヲ"), + (0xFF67, "M", "ァ"), + (0xFF68, "M", "ィ"), + (0xFF69, "M", "ゥ"), + (0xFF6A, "M", "ェ"), + (0xFF6B, "M", "ォ"), + (0xFF6C, "M", "ャ"), + (0xFF6D, "M", "ュ"), + (0xFF6E, "M", "ョ"), + (0xFF6F, "M", "ッ"), + (0xFF70, "M", "ー"), + (0xFF71, "M", "ア"), + (0xFF72, "M", "イ"), + (0xFF73, "M", "ウ"), + (0xFF74, "M", "エ"), + (0xFF75, "M", "オ"), + (0xFF76, "M", "カ"), + (0xFF77, "M", "キ"), + (0xFF78, "M", "ク"), + (0xFF79, "M", "ケ"), + (0xFF7A, "M", "コ"), + (0xFF7B, "M", "サ"), + (0xFF7C, "M", "シ"), + (0xFF7D, "M", "ス"), + (0xFF7E, "M", "セ"), + (0xFF7F, "M", "ソ"), + (0xFF80, "M", "タ"), + (0xFF81, "M", "チ"), + (0xFF82, "M", "ツ"), + ] + + +def _seg_52() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFF83, "M", "テ"), + (0xFF84, "M", "ト"), + (0xFF85, "M", "ナ"), + (0xFF86, "M", "ニ"), + (0xFF87, "M", "ヌ"), + (0xFF88, "M", "ネ"), + (0xFF89, "M", "ノ"), + (0xFF8A, "M", "ハ"), + (0xFF8B, "M", "ヒ"), + (0xFF8C, "M", "フ"), + (0xFF8D, "M", "ヘ"), + (0xFF8E, "M", "ホ"), + (0xFF8F, "M", "マ"), + (0xFF90, "M", "ミ"), + (0xFF91, "M", "ム"), + (0xFF92, "M", "メ"), + (0xFF93, "M", "モ"), + (0xFF94, "M", "ヤ"), + (0xFF95, "M", "ユ"), + (0xFF96, "M", "ヨ"), + (0xFF97, "M", "ラ"), + (0xFF98, "M", "リ"), + (0xFF99, "M", "ル"), + (0xFF9A, "M", "レ"), + (0xFF9B, "M", "ロ"), + (0xFF9C, "M", "ワ"), + (0xFF9D, "M", "ン"), + (0xFF9E, "M", "゙"), + (0xFF9F, "M", "゚"), + (0xFFA0, "X"), + (0xFFA1, "M", "ᄀ"), + (0xFFA2, "M", "ᄁ"), + (0xFFA3, "M", "ᆪ"), + (0xFFA4, "M", "ᄂ"), + (0xFFA5, "M", "ᆬ"), + (0xFFA6, "M", "ᆭ"), + (0xFFA7, "M", "ᄃ"), + (0xFFA8, "M", "ᄄ"), + (0xFFA9, "M", "ᄅ"), + (0xFFAA, "M", "ᆰ"), + (0xFFAB, "M", "ᆱ"), + (0xFFAC, "M", "ᆲ"), + (0xFFAD, "M", "ᆳ"), + (0xFFAE, "M", "ᆴ"), + (0xFFAF, "M", "ᆵ"), + (0xFFB0, "M", "ᄚ"), + (0xFFB1, "M", "ᄆ"), + (0xFFB2, "M", "ᄇ"), + (0xFFB3, "M", "ᄈ"), + (0xFFB4, "M", "ᄡ"), + (0xFFB5, "M", "ᄉ"), + (0xFFB6, "M", "ᄊ"), + (0xFFB7, "M", "ᄋ"), + (0xFFB8, "M", "ᄌ"), + (0xFFB9, "M", "ᄍ"), + (0xFFBA, "M", "ᄎ"), + (0xFFBB, "M", "ᄏ"), + (0xFFBC, "M", "ᄐ"), + (0xFFBD, "M", "ᄑ"), + (0xFFBE, "M", "ᄒ"), + (0xFFBF, "X"), + (0xFFC2, "M", "ᅡ"), + (0xFFC3, "M", "ᅢ"), + (0xFFC4, "M", "ᅣ"), + (0xFFC5, "M", "ᅤ"), + (0xFFC6, "M", "ᅥ"), + (0xFFC7, "M", "ᅦ"), + (0xFFC8, "X"), + (0xFFCA, "M", "ᅧ"), + (0xFFCB, "M", "ᅨ"), + (0xFFCC, "M", "ᅩ"), + (0xFFCD, "M", "ᅪ"), + (0xFFCE, "M", "ᅫ"), + (0xFFCF, "M", "ᅬ"), + (0xFFD0, "X"), + (0xFFD2, "M", "ᅭ"), + (0xFFD3, "M", "ᅮ"), + (0xFFD4, "M", "ᅯ"), + (0xFFD5, "M", "ᅰ"), + (0xFFD6, "M", "ᅱ"), + (0xFFD7, "M", "ᅲ"), + (0xFFD8, "X"), + (0xFFDA, "M", "ᅳ"), + (0xFFDB, "M", "ᅴ"), + (0xFFDC, "M", "ᅵ"), + (0xFFDD, "X"), + (0xFFE0, "M", "¢"), + (0xFFE1, "M", "£"), + (0xFFE2, "M", "¬"), + (0xFFE3, "3", " ̄"), + (0xFFE4, "M", "¦"), + (0xFFE5, "M", "¥"), + (0xFFE6, "M", "₩"), + (0xFFE7, "X"), + (0xFFE8, "M", "│"), + (0xFFE9, "M", "←"), + (0xFFEA, "M", "↑"), + (0xFFEB, "M", "→"), + (0xFFEC, "M", "↓"), + (0xFFED, "M", "■"), + ] + + +def _seg_53() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0xFFEE, "M", "○"), + (0xFFEF, "X"), + (0x10000, "V"), + (0x1000C, "X"), + (0x1000D, "V"), + (0x10027, "X"), + (0x10028, "V"), + (0x1003B, "X"), + (0x1003C, "V"), + (0x1003E, "X"), + (0x1003F, "V"), + (0x1004E, "X"), + (0x10050, "V"), + (0x1005E, "X"), + (0x10080, "V"), + (0x100FB, "X"), + (0x10100, "V"), + (0x10103, "X"), + (0x10107, "V"), + (0x10134, "X"), + (0x10137, "V"), + (0x1018F, "X"), + (0x10190, "V"), + (0x1019D, "X"), + (0x101A0, "V"), + (0x101A1, "X"), + (0x101D0, "V"), + (0x101FE, "X"), + (0x10280, "V"), + (0x1029D, "X"), + (0x102A0, "V"), + (0x102D1, "X"), + (0x102E0, "V"), + (0x102FC, "X"), + (0x10300, "V"), + (0x10324, "X"), + (0x1032D, "V"), + (0x1034B, "X"), + (0x10350, "V"), + (0x1037B, "X"), + (0x10380, "V"), + (0x1039E, "X"), + (0x1039F, "V"), + (0x103C4, "X"), + (0x103C8, "V"), + (0x103D6, "X"), + (0x10400, "M", "𐐨"), + (0x10401, "M", "𐐩"), + (0x10402, "M", "𐐪"), + (0x10403, "M", "𐐫"), + (0x10404, "M", "𐐬"), + (0x10405, "M", "𐐭"), + (0x10406, "M", "𐐮"), + (0x10407, "M", "𐐯"), + (0x10408, "M", "𐐰"), + (0x10409, "M", "𐐱"), + (0x1040A, "M", "𐐲"), + (0x1040B, "M", "𐐳"), + (0x1040C, "M", "𐐴"), + (0x1040D, "M", "𐐵"), + (0x1040E, "M", "𐐶"), + (0x1040F, "M", "𐐷"), + (0x10410, "M", "𐐸"), + (0x10411, "M", "𐐹"), + (0x10412, "M", "𐐺"), + (0x10413, "M", "𐐻"), + (0x10414, "M", "𐐼"), + (0x10415, "M", "𐐽"), + (0x10416, "M", "𐐾"), + (0x10417, "M", "𐐿"), + (0x10418, "M", "𐑀"), + (0x10419, "M", "𐑁"), + (0x1041A, "M", "𐑂"), + (0x1041B, "M", "𐑃"), + (0x1041C, "M", "𐑄"), + (0x1041D, "M", "𐑅"), + (0x1041E, "M", "𐑆"), + (0x1041F, "M", "𐑇"), + (0x10420, "M", "𐑈"), + (0x10421, "M", "𐑉"), + (0x10422, "M", "𐑊"), + (0x10423, "M", "𐑋"), + (0x10424, "M", "𐑌"), + (0x10425, "M", "𐑍"), + (0x10426, "M", "𐑎"), + (0x10427, "M", "𐑏"), + (0x10428, "V"), + (0x1049E, "X"), + (0x104A0, "V"), + (0x104AA, "X"), + (0x104B0, "M", "𐓘"), + (0x104B1, "M", "𐓙"), + (0x104B2, "M", "𐓚"), + (0x104B3, "M", "𐓛"), + (0x104B4, "M", "𐓜"), + (0x104B5, "M", "𐓝"), + (0x104B6, "M", "𐓞"), + (0x104B7, "M", "𐓟"), + (0x104B8, "M", "𐓠"), + (0x104B9, "M", "𐓡"), + ] + + +def _seg_54() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x104BA, "M", "𐓢"), + (0x104BB, "M", "𐓣"), + (0x104BC, "M", "𐓤"), + (0x104BD, "M", "𐓥"), + (0x104BE, "M", "𐓦"), + (0x104BF, "M", "𐓧"), + (0x104C0, "M", "𐓨"), + (0x104C1, "M", "𐓩"), + (0x104C2, "M", "𐓪"), + (0x104C3, "M", "𐓫"), + (0x104C4, "M", "𐓬"), + (0x104C5, "M", "𐓭"), + (0x104C6, "M", "𐓮"), + (0x104C7, "M", "𐓯"), + (0x104C8, "M", "𐓰"), + (0x104C9, "M", "𐓱"), + (0x104CA, "M", "𐓲"), + (0x104CB, "M", "𐓳"), + (0x104CC, "M", "𐓴"), + (0x104CD, "M", "𐓵"), + (0x104CE, "M", "𐓶"), + (0x104CF, "M", "𐓷"), + (0x104D0, "M", "𐓸"), + (0x104D1, "M", "𐓹"), + (0x104D2, "M", "𐓺"), + (0x104D3, "M", "𐓻"), + (0x104D4, "X"), + (0x104D8, "V"), + (0x104FC, "X"), + (0x10500, "V"), + (0x10528, "X"), + (0x10530, "V"), + (0x10564, "X"), + (0x1056F, "V"), + (0x10570, "M", "𐖗"), + (0x10571, "M", "𐖘"), + (0x10572, "M", "𐖙"), + (0x10573, "M", "𐖚"), + (0x10574, "M", "𐖛"), + (0x10575, "M", "𐖜"), + (0x10576, "M", "𐖝"), + (0x10577, "M", "𐖞"), + (0x10578, "M", "𐖟"), + (0x10579, "M", "𐖠"), + (0x1057A, "M", "𐖡"), + (0x1057B, "X"), + (0x1057C, "M", "𐖣"), + (0x1057D, "M", "𐖤"), + (0x1057E, "M", "𐖥"), + (0x1057F, "M", "𐖦"), + (0x10580, "M", "𐖧"), + (0x10581, "M", "𐖨"), + (0x10582, "M", "𐖩"), + (0x10583, "M", "𐖪"), + (0x10584, "M", "𐖫"), + (0x10585, "M", "𐖬"), + (0x10586, "M", "𐖭"), + (0x10587, "M", "𐖮"), + (0x10588, "M", "𐖯"), + (0x10589, "M", "𐖰"), + (0x1058A, "M", "𐖱"), + (0x1058B, "X"), + (0x1058C, "M", "𐖳"), + (0x1058D, "M", "𐖴"), + (0x1058E, "M", "𐖵"), + (0x1058F, "M", "𐖶"), + (0x10590, "M", "𐖷"), + (0x10591, "M", "𐖸"), + (0x10592, "M", "𐖹"), + (0x10593, "X"), + (0x10594, "M", "𐖻"), + (0x10595, "M", "𐖼"), + (0x10596, "X"), + (0x10597, "V"), + (0x105A2, "X"), + (0x105A3, "V"), + (0x105B2, "X"), + (0x105B3, "V"), + (0x105BA, "X"), + (0x105BB, "V"), + (0x105BD, "X"), + (0x10600, "V"), + (0x10737, "X"), + (0x10740, "V"), + (0x10756, "X"), + (0x10760, "V"), + (0x10768, "X"), + (0x10780, "V"), + (0x10781, "M", "ː"), + (0x10782, "M", "ˑ"), + (0x10783, "M", "æ"), + (0x10784, "M", "ʙ"), + (0x10785, "M", "ɓ"), + (0x10786, "X"), + (0x10787, "M", "ʣ"), + (0x10788, "M", "ꭦ"), + (0x10789, "M", "ʥ"), + (0x1078A, "M", "ʤ"), + (0x1078B, "M", "ɖ"), + (0x1078C, "M", "ɗ"), + ] + + +def _seg_55() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1078D, "M", "ᶑ"), + (0x1078E, "M", "ɘ"), + (0x1078F, "M", "ɞ"), + (0x10790, "M", "ʩ"), + (0x10791, "M", "ɤ"), + (0x10792, "M", "ɢ"), + (0x10793, "M", "ɠ"), + (0x10794, "M", "ʛ"), + (0x10795, "M", "ħ"), + (0x10796, "M", "ʜ"), + (0x10797, "M", "ɧ"), + (0x10798, "M", "ʄ"), + (0x10799, "M", "ʪ"), + (0x1079A, "M", "ʫ"), + (0x1079B, "M", "ɬ"), + (0x1079C, "M", "𝼄"), + (0x1079D, "M", "ꞎ"), + (0x1079E, "M", "ɮ"), + (0x1079F, "M", "𝼅"), + (0x107A0, "M", "ʎ"), + (0x107A1, "M", "𝼆"), + (0x107A2, "M", "ø"), + (0x107A3, "M", "ɶ"), + (0x107A4, "M", "ɷ"), + (0x107A5, "M", "q"), + (0x107A6, "M", "ɺ"), + (0x107A7, "M", "𝼈"), + (0x107A8, "M", "ɽ"), + (0x107A9, "M", "ɾ"), + (0x107AA, "M", "ʀ"), + (0x107AB, "M", "ʨ"), + (0x107AC, "M", "ʦ"), + (0x107AD, "M", "ꭧ"), + (0x107AE, "M", "ʧ"), + (0x107AF, "M", "ʈ"), + (0x107B0, "M", "ⱱ"), + (0x107B1, "X"), + (0x107B2, "M", "ʏ"), + (0x107B3, "M", "ʡ"), + (0x107B4, "M", "ʢ"), + (0x107B5, "M", "ʘ"), + (0x107B6, "M", "ǀ"), + (0x107B7, "M", "ǁ"), + (0x107B8, "M", "ǂ"), + (0x107B9, "M", "𝼊"), + (0x107BA, "M", "𝼞"), + (0x107BB, "X"), + (0x10800, "V"), + (0x10806, "X"), + (0x10808, "V"), + (0x10809, "X"), + (0x1080A, "V"), + (0x10836, "X"), + (0x10837, "V"), + (0x10839, "X"), + (0x1083C, "V"), + (0x1083D, "X"), + (0x1083F, "V"), + (0x10856, "X"), + (0x10857, "V"), + (0x1089F, "X"), + (0x108A7, "V"), + (0x108B0, "X"), + (0x108E0, "V"), + (0x108F3, "X"), + (0x108F4, "V"), + (0x108F6, "X"), + (0x108FB, "V"), + (0x1091C, "X"), + (0x1091F, "V"), + (0x1093A, "X"), + (0x1093F, "V"), + (0x10940, "X"), + (0x10980, "V"), + (0x109B8, "X"), + (0x109BC, "V"), + (0x109D0, "X"), + (0x109D2, "V"), + (0x10A04, "X"), + (0x10A05, "V"), + (0x10A07, "X"), + (0x10A0C, "V"), + (0x10A14, "X"), + (0x10A15, "V"), + (0x10A18, "X"), + (0x10A19, "V"), + (0x10A36, "X"), + (0x10A38, "V"), + (0x10A3B, "X"), + (0x10A3F, "V"), + (0x10A49, "X"), + (0x10A50, "V"), + (0x10A59, "X"), + (0x10A60, "V"), + (0x10AA0, "X"), + (0x10AC0, "V"), + (0x10AE7, "X"), + (0x10AEB, "V"), + (0x10AF7, "X"), + (0x10B00, "V"), + ] + + +def _seg_56() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x10B36, "X"), + (0x10B39, "V"), + (0x10B56, "X"), + (0x10B58, "V"), + (0x10B73, "X"), + (0x10B78, "V"), + (0x10B92, "X"), + (0x10B99, "V"), + (0x10B9D, "X"), + (0x10BA9, "V"), + (0x10BB0, "X"), + (0x10C00, "V"), + (0x10C49, "X"), + (0x10C80, "M", "𐳀"), + (0x10C81, "M", "𐳁"), + (0x10C82, "M", "𐳂"), + (0x10C83, "M", "𐳃"), + (0x10C84, "M", "𐳄"), + (0x10C85, "M", "𐳅"), + (0x10C86, "M", "𐳆"), + (0x10C87, "M", "𐳇"), + (0x10C88, "M", "𐳈"), + (0x10C89, "M", "𐳉"), + (0x10C8A, "M", "𐳊"), + (0x10C8B, "M", "𐳋"), + (0x10C8C, "M", "𐳌"), + (0x10C8D, "M", "𐳍"), + (0x10C8E, "M", "𐳎"), + (0x10C8F, "M", "𐳏"), + (0x10C90, "M", "𐳐"), + (0x10C91, "M", "𐳑"), + (0x10C92, "M", "𐳒"), + (0x10C93, "M", "𐳓"), + (0x10C94, "M", "𐳔"), + (0x10C95, "M", "𐳕"), + (0x10C96, "M", "𐳖"), + (0x10C97, "M", "𐳗"), + (0x10C98, "M", "𐳘"), + (0x10C99, "M", "𐳙"), + (0x10C9A, "M", "𐳚"), + (0x10C9B, "M", "𐳛"), + (0x10C9C, "M", "𐳜"), + (0x10C9D, "M", "𐳝"), + (0x10C9E, "M", "𐳞"), + (0x10C9F, "M", "𐳟"), + (0x10CA0, "M", "𐳠"), + (0x10CA1, "M", "𐳡"), + (0x10CA2, "M", "𐳢"), + (0x10CA3, "M", "𐳣"), + (0x10CA4, "M", "𐳤"), + (0x10CA5, "M", "𐳥"), + (0x10CA6, "M", "𐳦"), + (0x10CA7, "M", "𐳧"), + (0x10CA8, "M", "𐳨"), + (0x10CA9, "M", "𐳩"), + (0x10CAA, "M", "𐳪"), + (0x10CAB, "M", "𐳫"), + (0x10CAC, "M", "𐳬"), + (0x10CAD, "M", "𐳭"), + (0x10CAE, "M", "𐳮"), + (0x10CAF, "M", "𐳯"), + (0x10CB0, "M", "𐳰"), + (0x10CB1, "M", "𐳱"), + (0x10CB2, "M", "𐳲"), + (0x10CB3, "X"), + (0x10CC0, "V"), + (0x10CF3, "X"), + (0x10CFA, "V"), + (0x10D28, "X"), + (0x10D30, "V"), + (0x10D3A, "X"), + (0x10E60, "V"), + (0x10E7F, "X"), + (0x10E80, "V"), + (0x10EAA, "X"), + (0x10EAB, "V"), + (0x10EAE, "X"), + (0x10EB0, "V"), + (0x10EB2, "X"), + (0x10EFD, "V"), + (0x10F28, "X"), + (0x10F30, "V"), + (0x10F5A, "X"), + (0x10F70, "V"), + (0x10F8A, "X"), + (0x10FB0, "V"), + (0x10FCC, "X"), + (0x10FE0, "V"), + (0x10FF7, "X"), + (0x11000, "V"), + (0x1104E, "X"), + (0x11052, "V"), + (0x11076, "X"), + (0x1107F, "V"), + (0x110BD, "X"), + (0x110BE, "V"), + (0x110C3, "X"), + (0x110D0, "V"), + (0x110E9, "X"), + (0x110F0, "V"), + ] + + +def _seg_57() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x110FA, "X"), + (0x11100, "V"), + (0x11135, "X"), + (0x11136, "V"), + (0x11148, "X"), + (0x11150, "V"), + (0x11177, "X"), + (0x11180, "V"), + (0x111E0, "X"), + (0x111E1, "V"), + (0x111F5, "X"), + (0x11200, "V"), + (0x11212, "X"), + (0x11213, "V"), + (0x11242, "X"), + (0x11280, "V"), + (0x11287, "X"), + (0x11288, "V"), + (0x11289, "X"), + (0x1128A, "V"), + (0x1128E, "X"), + (0x1128F, "V"), + (0x1129E, "X"), + (0x1129F, "V"), + (0x112AA, "X"), + (0x112B0, "V"), + (0x112EB, "X"), + (0x112F0, "V"), + (0x112FA, "X"), + (0x11300, "V"), + (0x11304, "X"), + (0x11305, "V"), + (0x1130D, "X"), + (0x1130F, "V"), + (0x11311, "X"), + (0x11313, "V"), + (0x11329, "X"), + (0x1132A, "V"), + (0x11331, "X"), + (0x11332, "V"), + (0x11334, "X"), + (0x11335, "V"), + (0x1133A, "X"), + (0x1133B, "V"), + (0x11345, "X"), + (0x11347, "V"), + (0x11349, "X"), + (0x1134B, "V"), + (0x1134E, "X"), + (0x11350, "V"), + (0x11351, "X"), + (0x11357, "V"), + (0x11358, "X"), + (0x1135D, "V"), + (0x11364, "X"), + (0x11366, "V"), + (0x1136D, "X"), + (0x11370, "V"), + (0x11375, "X"), + (0x11400, "V"), + (0x1145C, "X"), + (0x1145D, "V"), + (0x11462, "X"), + (0x11480, "V"), + (0x114C8, "X"), + (0x114D0, "V"), + (0x114DA, "X"), + (0x11580, "V"), + (0x115B6, "X"), + (0x115B8, "V"), + (0x115DE, "X"), + (0x11600, "V"), + (0x11645, "X"), + (0x11650, "V"), + (0x1165A, "X"), + (0x11660, "V"), + (0x1166D, "X"), + (0x11680, "V"), + (0x116BA, "X"), + (0x116C0, "V"), + (0x116CA, "X"), + (0x11700, "V"), + (0x1171B, "X"), + (0x1171D, "V"), + (0x1172C, "X"), + (0x11730, "V"), + (0x11747, "X"), + (0x11800, "V"), + (0x1183C, "X"), + (0x118A0, "M", "𑣀"), + (0x118A1, "M", "𑣁"), + (0x118A2, "M", "𑣂"), + (0x118A3, "M", "𑣃"), + (0x118A4, "M", "𑣄"), + (0x118A5, "M", "𑣅"), + (0x118A6, "M", "𑣆"), + (0x118A7, "M", "𑣇"), + (0x118A8, "M", "𑣈"), + (0x118A9, "M", "𑣉"), + (0x118AA, "M", "𑣊"), + ] + + +def _seg_58() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x118AB, "M", "𑣋"), + (0x118AC, "M", "𑣌"), + (0x118AD, "M", "𑣍"), + (0x118AE, "M", "𑣎"), + (0x118AF, "M", "𑣏"), + (0x118B0, "M", "𑣐"), + (0x118B1, "M", "𑣑"), + (0x118B2, "M", "𑣒"), + (0x118B3, "M", "𑣓"), + (0x118B4, "M", "𑣔"), + (0x118B5, "M", "𑣕"), + (0x118B6, "M", "𑣖"), + (0x118B7, "M", "𑣗"), + (0x118B8, "M", "𑣘"), + (0x118B9, "M", "𑣙"), + (0x118BA, "M", "𑣚"), + (0x118BB, "M", "𑣛"), + (0x118BC, "M", "𑣜"), + (0x118BD, "M", "𑣝"), + (0x118BE, "M", "𑣞"), + (0x118BF, "M", "𑣟"), + (0x118C0, "V"), + (0x118F3, "X"), + (0x118FF, "V"), + (0x11907, "X"), + (0x11909, "V"), + (0x1190A, "X"), + (0x1190C, "V"), + (0x11914, "X"), + (0x11915, "V"), + (0x11917, "X"), + (0x11918, "V"), + (0x11936, "X"), + (0x11937, "V"), + (0x11939, "X"), + (0x1193B, "V"), + (0x11947, "X"), + (0x11950, "V"), + (0x1195A, "X"), + (0x119A0, "V"), + (0x119A8, "X"), + (0x119AA, "V"), + (0x119D8, "X"), + (0x119DA, "V"), + (0x119E5, "X"), + (0x11A00, "V"), + (0x11A48, "X"), + (0x11A50, "V"), + (0x11AA3, "X"), + (0x11AB0, "V"), + (0x11AF9, "X"), + (0x11B00, "V"), + (0x11B0A, "X"), + (0x11C00, "V"), + (0x11C09, "X"), + (0x11C0A, "V"), + (0x11C37, "X"), + (0x11C38, "V"), + (0x11C46, "X"), + (0x11C50, "V"), + (0x11C6D, "X"), + (0x11C70, "V"), + (0x11C90, "X"), + (0x11C92, "V"), + (0x11CA8, "X"), + (0x11CA9, "V"), + (0x11CB7, "X"), + (0x11D00, "V"), + (0x11D07, "X"), + (0x11D08, "V"), + (0x11D0A, "X"), + (0x11D0B, "V"), + (0x11D37, "X"), + (0x11D3A, "V"), + (0x11D3B, "X"), + (0x11D3C, "V"), + (0x11D3E, "X"), + (0x11D3F, "V"), + (0x11D48, "X"), + (0x11D50, "V"), + (0x11D5A, "X"), + (0x11D60, "V"), + (0x11D66, "X"), + (0x11D67, "V"), + (0x11D69, "X"), + (0x11D6A, "V"), + (0x11D8F, "X"), + (0x11D90, "V"), + (0x11D92, "X"), + (0x11D93, "V"), + (0x11D99, "X"), + (0x11DA0, "V"), + (0x11DAA, "X"), + (0x11EE0, "V"), + (0x11EF9, "X"), + (0x11F00, "V"), + (0x11F11, "X"), + (0x11F12, "V"), + (0x11F3B, "X"), + (0x11F3E, "V"), + ] + + +def _seg_59() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x11F5A, "X"), + (0x11FB0, "V"), + (0x11FB1, "X"), + (0x11FC0, "V"), + (0x11FF2, "X"), + (0x11FFF, "V"), + (0x1239A, "X"), + (0x12400, "V"), + (0x1246F, "X"), + (0x12470, "V"), + (0x12475, "X"), + (0x12480, "V"), + (0x12544, "X"), + (0x12F90, "V"), + (0x12FF3, "X"), + (0x13000, "V"), + (0x13430, "X"), + (0x13440, "V"), + (0x13456, "X"), + (0x14400, "V"), + (0x14647, "X"), + (0x16800, "V"), + (0x16A39, "X"), + (0x16A40, "V"), + (0x16A5F, "X"), + (0x16A60, "V"), + (0x16A6A, "X"), + (0x16A6E, "V"), + (0x16ABF, "X"), + (0x16AC0, "V"), + (0x16ACA, "X"), + (0x16AD0, "V"), + (0x16AEE, "X"), + (0x16AF0, "V"), + (0x16AF6, "X"), + (0x16B00, "V"), + (0x16B46, "X"), + (0x16B50, "V"), + (0x16B5A, "X"), + (0x16B5B, "V"), + (0x16B62, "X"), + (0x16B63, "V"), + (0x16B78, "X"), + (0x16B7D, "V"), + (0x16B90, "X"), + (0x16E40, "M", "𖹠"), + (0x16E41, "M", "𖹡"), + (0x16E42, "M", "𖹢"), + (0x16E43, "M", "𖹣"), + (0x16E44, "M", "𖹤"), + (0x16E45, "M", "𖹥"), + (0x16E46, "M", "𖹦"), + (0x16E47, "M", "𖹧"), + (0x16E48, "M", "𖹨"), + (0x16E49, "M", "𖹩"), + (0x16E4A, "M", "𖹪"), + (0x16E4B, "M", "𖹫"), + (0x16E4C, "M", "𖹬"), + (0x16E4D, "M", "𖹭"), + (0x16E4E, "M", "𖹮"), + (0x16E4F, "M", "𖹯"), + (0x16E50, "M", "𖹰"), + (0x16E51, "M", "𖹱"), + (0x16E52, "M", "𖹲"), + (0x16E53, "M", "𖹳"), + (0x16E54, "M", "𖹴"), + (0x16E55, "M", "𖹵"), + (0x16E56, "M", "𖹶"), + (0x16E57, "M", "𖹷"), + (0x16E58, "M", "𖹸"), + (0x16E59, "M", "𖹹"), + (0x16E5A, "M", "𖹺"), + (0x16E5B, "M", "𖹻"), + (0x16E5C, "M", "𖹼"), + (0x16E5D, "M", "𖹽"), + (0x16E5E, "M", "𖹾"), + (0x16E5F, "M", "𖹿"), + (0x16E60, "V"), + (0x16E9B, "X"), + (0x16F00, "V"), + (0x16F4B, "X"), + (0x16F4F, "V"), + (0x16F88, "X"), + (0x16F8F, "V"), + (0x16FA0, "X"), + (0x16FE0, "V"), + (0x16FE5, "X"), + (0x16FF0, "V"), + (0x16FF2, "X"), + (0x17000, "V"), + (0x187F8, "X"), + (0x18800, "V"), + (0x18CD6, "X"), + (0x18D00, "V"), + (0x18D09, "X"), + (0x1AFF0, "V"), + (0x1AFF4, "X"), + (0x1AFF5, "V"), + (0x1AFFC, "X"), + (0x1AFFD, "V"), + ] + + +def _seg_60() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1AFFF, "X"), + (0x1B000, "V"), + (0x1B123, "X"), + (0x1B132, "V"), + (0x1B133, "X"), + (0x1B150, "V"), + (0x1B153, "X"), + (0x1B155, "V"), + (0x1B156, "X"), + (0x1B164, "V"), + (0x1B168, "X"), + (0x1B170, "V"), + (0x1B2FC, "X"), + (0x1BC00, "V"), + (0x1BC6B, "X"), + (0x1BC70, "V"), + (0x1BC7D, "X"), + (0x1BC80, "V"), + (0x1BC89, "X"), + (0x1BC90, "V"), + (0x1BC9A, "X"), + (0x1BC9C, "V"), + (0x1BCA0, "I"), + (0x1BCA4, "X"), + (0x1CF00, "V"), + (0x1CF2E, "X"), + (0x1CF30, "V"), + (0x1CF47, "X"), + (0x1CF50, "V"), + (0x1CFC4, "X"), + (0x1D000, "V"), + (0x1D0F6, "X"), + (0x1D100, "V"), + (0x1D127, "X"), + (0x1D129, "V"), + (0x1D15E, "M", "𝅗𝅥"), + (0x1D15F, "M", "𝅘𝅥"), + (0x1D160, "M", "𝅘𝅥𝅮"), + (0x1D161, "M", "𝅘𝅥𝅯"), + (0x1D162, "M", "𝅘𝅥𝅰"), + (0x1D163, "M", "𝅘𝅥𝅱"), + (0x1D164, "M", "𝅘𝅥𝅲"), + (0x1D165, "V"), + (0x1D173, "X"), + (0x1D17B, "V"), + (0x1D1BB, "M", "𝆹𝅥"), + (0x1D1BC, "M", "𝆺𝅥"), + (0x1D1BD, "M", "𝆹𝅥𝅮"), + (0x1D1BE, "M", "𝆺𝅥𝅮"), + (0x1D1BF, "M", "𝆹𝅥𝅯"), + (0x1D1C0, "M", "𝆺𝅥𝅯"), + (0x1D1C1, "V"), + (0x1D1EB, "X"), + (0x1D200, "V"), + (0x1D246, "X"), + (0x1D2C0, "V"), + (0x1D2D4, "X"), + (0x1D2E0, "V"), + (0x1D2F4, "X"), + (0x1D300, "V"), + (0x1D357, "X"), + (0x1D360, "V"), + (0x1D379, "X"), + (0x1D400, "M", "a"), + (0x1D401, "M", "b"), + (0x1D402, "M", "c"), + (0x1D403, "M", "d"), + (0x1D404, "M", "e"), + (0x1D405, "M", "f"), + (0x1D406, "M", "g"), + (0x1D407, "M", "h"), + (0x1D408, "M", "i"), + (0x1D409, "M", "j"), + (0x1D40A, "M", "k"), + (0x1D40B, "M", "l"), + (0x1D40C, "M", "m"), + (0x1D40D, "M", "n"), + (0x1D40E, "M", "o"), + (0x1D40F, "M", "p"), + (0x1D410, "M", "q"), + (0x1D411, "M", "r"), + (0x1D412, "M", "s"), + (0x1D413, "M", "t"), + (0x1D414, "M", "u"), + (0x1D415, "M", "v"), + (0x1D416, "M", "w"), + (0x1D417, "M", "x"), + (0x1D418, "M", "y"), + (0x1D419, "M", "z"), + (0x1D41A, "M", "a"), + (0x1D41B, "M", "b"), + (0x1D41C, "M", "c"), + (0x1D41D, "M", "d"), + (0x1D41E, "M", "e"), + (0x1D41F, "M", "f"), + (0x1D420, "M", "g"), + (0x1D421, "M", "h"), + (0x1D422, "M", "i"), + (0x1D423, "M", "j"), + (0x1D424, "M", "k"), + ] + + +def _seg_61() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D425, "M", "l"), + (0x1D426, "M", "m"), + (0x1D427, "M", "n"), + (0x1D428, "M", "o"), + (0x1D429, "M", "p"), + (0x1D42A, "M", "q"), + (0x1D42B, "M", "r"), + (0x1D42C, "M", "s"), + (0x1D42D, "M", "t"), + (0x1D42E, "M", "u"), + (0x1D42F, "M", "v"), + (0x1D430, "M", "w"), + (0x1D431, "M", "x"), + (0x1D432, "M", "y"), + (0x1D433, "M", "z"), + (0x1D434, "M", "a"), + (0x1D435, "M", "b"), + (0x1D436, "M", "c"), + (0x1D437, "M", "d"), + (0x1D438, "M", "e"), + (0x1D439, "M", "f"), + (0x1D43A, "M", "g"), + (0x1D43B, "M", "h"), + (0x1D43C, "M", "i"), + (0x1D43D, "M", "j"), + (0x1D43E, "M", "k"), + (0x1D43F, "M", "l"), + (0x1D440, "M", "m"), + (0x1D441, "M", "n"), + (0x1D442, "M", "o"), + (0x1D443, "M", "p"), + (0x1D444, "M", "q"), + (0x1D445, "M", "r"), + (0x1D446, "M", "s"), + (0x1D447, "M", "t"), + (0x1D448, "M", "u"), + (0x1D449, "M", "v"), + (0x1D44A, "M", "w"), + (0x1D44B, "M", "x"), + (0x1D44C, "M", "y"), + (0x1D44D, "M", "z"), + (0x1D44E, "M", "a"), + (0x1D44F, "M", "b"), + (0x1D450, "M", "c"), + (0x1D451, "M", "d"), + (0x1D452, "M", "e"), + (0x1D453, "M", "f"), + (0x1D454, "M", "g"), + (0x1D455, "X"), + (0x1D456, "M", "i"), + (0x1D457, "M", "j"), + (0x1D458, "M", "k"), + (0x1D459, "M", "l"), + (0x1D45A, "M", "m"), + (0x1D45B, "M", "n"), + (0x1D45C, "M", "o"), + (0x1D45D, "M", "p"), + (0x1D45E, "M", "q"), + (0x1D45F, "M", "r"), + (0x1D460, "M", "s"), + (0x1D461, "M", "t"), + (0x1D462, "M", "u"), + (0x1D463, "M", "v"), + (0x1D464, "M", "w"), + (0x1D465, "M", "x"), + (0x1D466, "M", "y"), + (0x1D467, "M", "z"), + (0x1D468, "M", "a"), + (0x1D469, "M", "b"), + (0x1D46A, "M", "c"), + (0x1D46B, "M", "d"), + (0x1D46C, "M", "e"), + (0x1D46D, "M", "f"), + (0x1D46E, "M", "g"), + (0x1D46F, "M", "h"), + (0x1D470, "M", "i"), + (0x1D471, "M", "j"), + (0x1D472, "M", "k"), + (0x1D473, "M", "l"), + (0x1D474, "M", "m"), + (0x1D475, "M", "n"), + (0x1D476, "M", "o"), + (0x1D477, "M", "p"), + (0x1D478, "M", "q"), + (0x1D479, "M", "r"), + (0x1D47A, "M", "s"), + (0x1D47B, "M", "t"), + (0x1D47C, "M", "u"), + (0x1D47D, "M", "v"), + (0x1D47E, "M", "w"), + (0x1D47F, "M", "x"), + (0x1D480, "M", "y"), + (0x1D481, "M", "z"), + (0x1D482, "M", "a"), + (0x1D483, "M", "b"), + (0x1D484, "M", "c"), + (0x1D485, "M", "d"), + (0x1D486, "M", "e"), + (0x1D487, "M", "f"), + (0x1D488, "M", "g"), + ] + + +def _seg_62() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D489, "M", "h"), + (0x1D48A, "M", "i"), + (0x1D48B, "M", "j"), + (0x1D48C, "M", "k"), + (0x1D48D, "M", "l"), + (0x1D48E, "M", "m"), + (0x1D48F, "M", "n"), + (0x1D490, "M", "o"), + (0x1D491, "M", "p"), + (0x1D492, "M", "q"), + (0x1D493, "M", "r"), + (0x1D494, "M", "s"), + (0x1D495, "M", "t"), + (0x1D496, "M", "u"), + (0x1D497, "M", "v"), + (0x1D498, "M", "w"), + (0x1D499, "M", "x"), + (0x1D49A, "M", "y"), + (0x1D49B, "M", "z"), + (0x1D49C, "M", "a"), + (0x1D49D, "X"), + (0x1D49E, "M", "c"), + (0x1D49F, "M", "d"), + (0x1D4A0, "X"), + (0x1D4A2, "M", "g"), + (0x1D4A3, "X"), + (0x1D4A5, "M", "j"), + (0x1D4A6, "M", "k"), + (0x1D4A7, "X"), + (0x1D4A9, "M", "n"), + (0x1D4AA, "M", "o"), + (0x1D4AB, "M", "p"), + (0x1D4AC, "M", "q"), + (0x1D4AD, "X"), + (0x1D4AE, "M", "s"), + (0x1D4AF, "M", "t"), + (0x1D4B0, "M", "u"), + (0x1D4B1, "M", "v"), + (0x1D4B2, "M", "w"), + (0x1D4B3, "M", "x"), + (0x1D4B4, "M", "y"), + (0x1D4B5, "M", "z"), + (0x1D4B6, "M", "a"), + (0x1D4B7, "M", "b"), + (0x1D4B8, "M", "c"), + (0x1D4B9, "M", "d"), + (0x1D4BA, "X"), + (0x1D4BB, "M", "f"), + (0x1D4BC, "X"), + (0x1D4BD, "M", "h"), + (0x1D4BE, "M", "i"), + (0x1D4BF, "M", "j"), + (0x1D4C0, "M", "k"), + (0x1D4C1, "M", "l"), + (0x1D4C2, "M", "m"), + (0x1D4C3, "M", "n"), + (0x1D4C4, "X"), + (0x1D4C5, "M", "p"), + (0x1D4C6, "M", "q"), + (0x1D4C7, "M", "r"), + (0x1D4C8, "M", "s"), + (0x1D4C9, "M", "t"), + (0x1D4CA, "M", "u"), + (0x1D4CB, "M", "v"), + (0x1D4CC, "M", "w"), + (0x1D4CD, "M", "x"), + (0x1D4CE, "M", "y"), + (0x1D4CF, "M", "z"), + (0x1D4D0, "M", "a"), + (0x1D4D1, "M", "b"), + (0x1D4D2, "M", "c"), + (0x1D4D3, "M", "d"), + (0x1D4D4, "M", "e"), + (0x1D4D5, "M", "f"), + (0x1D4D6, "M", "g"), + (0x1D4D7, "M", "h"), + (0x1D4D8, "M", "i"), + (0x1D4D9, "M", "j"), + (0x1D4DA, "M", "k"), + (0x1D4DB, "M", "l"), + (0x1D4DC, "M", "m"), + (0x1D4DD, "M", "n"), + (0x1D4DE, "M", "o"), + (0x1D4DF, "M", "p"), + (0x1D4E0, "M", "q"), + (0x1D4E1, "M", "r"), + (0x1D4E2, "M", "s"), + (0x1D4E3, "M", "t"), + (0x1D4E4, "M", "u"), + (0x1D4E5, "M", "v"), + (0x1D4E6, "M", "w"), + (0x1D4E7, "M", "x"), + (0x1D4E8, "M", "y"), + (0x1D4E9, "M", "z"), + (0x1D4EA, "M", "a"), + (0x1D4EB, "M", "b"), + (0x1D4EC, "M", "c"), + (0x1D4ED, "M", "d"), + (0x1D4EE, "M", "e"), + (0x1D4EF, "M", "f"), + ] + + +def _seg_63() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D4F0, "M", "g"), + (0x1D4F1, "M", "h"), + (0x1D4F2, "M", "i"), + (0x1D4F3, "M", "j"), + (0x1D4F4, "M", "k"), + (0x1D4F5, "M", "l"), + (0x1D4F6, "M", "m"), + (0x1D4F7, "M", "n"), + (0x1D4F8, "M", "o"), + (0x1D4F9, "M", "p"), + (0x1D4FA, "M", "q"), + (0x1D4FB, "M", "r"), + (0x1D4FC, "M", "s"), + (0x1D4FD, "M", "t"), + (0x1D4FE, "M", "u"), + (0x1D4FF, "M", "v"), + (0x1D500, "M", "w"), + (0x1D501, "M", "x"), + (0x1D502, "M", "y"), + (0x1D503, "M", "z"), + (0x1D504, "M", "a"), + (0x1D505, "M", "b"), + (0x1D506, "X"), + (0x1D507, "M", "d"), + (0x1D508, "M", "e"), + (0x1D509, "M", "f"), + (0x1D50A, "M", "g"), + (0x1D50B, "X"), + (0x1D50D, "M", "j"), + (0x1D50E, "M", "k"), + (0x1D50F, "M", "l"), + (0x1D510, "M", "m"), + (0x1D511, "M", "n"), + (0x1D512, "M", "o"), + (0x1D513, "M", "p"), + (0x1D514, "M", "q"), + (0x1D515, "X"), + (0x1D516, "M", "s"), + (0x1D517, "M", "t"), + (0x1D518, "M", "u"), + (0x1D519, "M", "v"), + (0x1D51A, "M", "w"), + (0x1D51B, "M", "x"), + (0x1D51C, "M", "y"), + (0x1D51D, "X"), + (0x1D51E, "M", "a"), + (0x1D51F, "M", "b"), + (0x1D520, "M", "c"), + (0x1D521, "M", "d"), + (0x1D522, "M", "e"), + (0x1D523, "M", "f"), + (0x1D524, "M", "g"), + (0x1D525, "M", "h"), + (0x1D526, "M", "i"), + (0x1D527, "M", "j"), + (0x1D528, "M", "k"), + (0x1D529, "M", "l"), + (0x1D52A, "M", "m"), + (0x1D52B, "M", "n"), + (0x1D52C, "M", "o"), + (0x1D52D, "M", "p"), + (0x1D52E, "M", "q"), + (0x1D52F, "M", "r"), + (0x1D530, "M", "s"), + (0x1D531, "M", "t"), + (0x1D532, "M", "u"), + (0x1D533, "M", "v"), + (0x1D534, "M", "w"), + (0x1D535, "M", "x"), + (0x1D536, "M", "y"), + (0x1D537, "M", "z"), + (0x1D538, "M", "a"), + (0x1D539, "M", "b"), + (0x1D53A, "X"), + (0x1D53B, "M", "d"), + (0x1D53C, "M", "e"), + (0x1D53D, "M", "f"), + (0x1D53E, "M", "g"), + (0x1D53F, "X"), + (0x1D540, "M", "i"), + (0x1D541, "M", "j"), + (0x1D542, "M", "k"), + (0x1D543, "M", "l"), + (0x1D544, "M", "m"), + (0x1D545, "X"), + (0x1D546, "M", "o"), + (0x1D547, "X"), + (0x1D54A, "M", "s"), + (0x1D54B, "M", "t"), + (0x1D54C, "M", "u"), + (0x1D54D, "M", "v"), + (0x1D54E, "M", "w"), + (0x1D54F, "M", "x"), + (0x1D550, "M", "y"), + (0x1D551, "X"), + (0x1D552, "M", "a"), + (0x1D553, "M", "b"), + (0x1D554, "M", "c"), + (0x1D555, "M", "d"), + (0x1D556, "M", "e"), + ] + + +def _seg_64() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D557, "M", "f"), + (0x1D558, "M", "g"), + (0x1D559, "M", "h"), + (0x1D55A, "M", "i"), + (0x1D55B, "M", "j"), + (0x1D55C, "M", "k"), + (0x1D55D, "M", "l"), + (0x1D55E, "M", "m"), + (0x1D55F, "M", "n"), + (0x1D560, "M", "o"), + (0x1D561, "M", "p"), + (0x1D562, "M", "q"), + (0x1D563, "M", "r"), + (0x1D564, "M", "s"), + (0x1D565, "M", "t"), + (0x1D566, "M", "u"), + (0x1D567, "M", "v"), + (0x1D568, "M", "w"), + (0x1D569, "M", "x"), + (0x1D56A, "M", "y"), + (0x1D56B, "M", "z"), + (0x1D56C, "M", "a"), + (0x1D56D, "M", "b"), + (0x1D56E, "M", "c"), + (0x1D56F, "M", "d"), + (0x1D570, "M", "e"), + (0x1D571, "M", "f"), + (0x1D572, "M", "g"), + (0x1D573, "M", "h"), + (0x1D574, "M", "i"), + (0x1D575, "M", "j"), + (0x1D576, "M", "k"), + (0x1D577, "M", "l"), + (0x1D578, "M", "m"), + (0x1D579, "M", "n"), + (0x1D57A, "M", "o"), + (0x1D57B, "M", "p"), + (0x1D57C, "M", "q"), + (0x1D57D, "M", "r"), + (0x1D57E, "M", "s"), + (0x1D57F, "M", "t"), + (0x1D580, "M", "u"), + (0x1D581, "M", "v"), + (0x1D582, "M", "w"), + (0x1D583, "M", "x"), + (0x1D584, "M", "y"), + (0x1D585, "M", "z"), + (0x1D586, "M", "a"), + (0x1D587, "M", "b"), + (0x1D588, "M", "c"), + (0x1D589, "M", "d"), + (0x1D58A, "M", "e"), + (0x1D58B, "M", "f"), + (0x1D58C, "M", "g"), + (0x1D58D, "M", "h"), + (0x1D58E, "M", "i"), + (0x1D58F, "M", "j"), + (0x1D590, "M", "k"), + (0x1D591, "M", "l"), + (0x1D592, "M", "m"), + (0x1D593, "M", "n"), + (0x1D594, "M", "o"), + (0x1D595, "M", "p"), + (0x1D596, "M", "q"), + (0x1D597, "M", "r"), + (0x1D598, "M", "s"), + (0x1D599, "M", "t"), + (0x1D59A, "M", "u"), + (0x1D59B, "M", "v"), + (0x1D59C, "M", "w"), + (0x1D59D, "M", "x"), + (0x1D59E, "M", "y"), + (0x1D59F, "M", "z"), + (0x1D5A0, "M", "a"), + (0x1D5A1, "M", "b"), + (0x1D5A2, "M", "c"), + (0x1D5A3, "M", "d"), + (0x1D5A4, "M", "e"), + (0x1D5A5, "M", "f"), + (0x1D5A6, "M", "g"), + (0x1D5A7, "M", "h"), + (0x1D5A8, "M", "i"), + (0x1D5A9, "M", "j"), + (0x1D5AA, "M", "k"), + (0x1D5AB, "M", "l"), + (0x1D5AC, "M", "m"), + (0x1D5AD, "M", "n"), + (0x1D5AE, "M", "o"), + (0x1D5AF, "M", "p"), + (0x1D5B0, "M", "q"), + (0x1D5B1, "M", "r"), + (0x1D5B2, "M", "s"), + (0x1D5B3, "M", "t"), + (0x1D5B4, "M", "u"), + (0x1D5B5, "M", "v"), + (0x1D5B6, "M", "w"), + (0x1D5B7, "M", "x"), + (0x1D5B8, "M", "y"), + (0x1D5B9, "M", "z"), + (0x1D5BA, "M", "a"), + ] + + +def _seg_65() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D5BB, "M", "b"), + (0x1D5BC, "M", "c"), + (0x1D5BD, "M", "d"), + (0x1D5BE, "M", "e"), + (0x1D5BF, "M", "f"), + (0x1D5C0, "M", "g"), + (0x1D5C1, "M", "h"), + (0x1D5C2, "M", "i"), + (0x1D5C3, "M", "j"), + (0x1D5C4, "M", "k"), + (0x1D5C5, "M", "l"), + (0x1D5C6, "M", "m"), + (0x1D5C7, "M", "n"), + (0x1D5C8, "M", "o"), + (0x1D5C9, "M", "p"), + (0x1D5CA, "M", "q"), + (0x1D5CB, "M", "r"), + (0x1D5CC, "M", "s"), + (0x1D5CD, "M", "t"), + (0x1D5CE, "M", "u"), + (0x1D5CF, "M", "v"), + (0x1D5D0, "M", "w"), + (0x1D5D1, "M", "x"), + (0x1D5D2, "M", "y"), + (0x1D5D3, "M", "z"), + (0x1D5D4, "M", "a"), + (0x1D5D5, "M", "b"), + (0x1D5D6, "M", "c"), + (0x1D5D7, "M", "d"), + (0x1D5D8, "M", "e"), + (0x1D5D9, "M", "f"), + (0x1D5DA, "M", "g"), + (0x1D5DB, "M", "h"), + (0x1D5DC, "M", "i"), + (0x1D5DD, "M", "j"), + (0x1D5DE, "M", "k"), + (0x1D5DF, "M", "l"), + (0x1D5E0, "M", "m"), + (0x1D5E1, "M", "n"), + (0x1D5E2, "M", "o"), + (0x1D5E3, "M", "p"), + (0x1D5E4, "M", "q"), + (0x1D5E5, "M", "r"), + (0x1D5E6, "M", "s"), + (0x1D5E7, "M", "t"), + (0x1D5E8, "M", "u"), + (0x1D5E9, "M", "v"), + (0x1D5EA, "M", "w"), + (0x1D5EB, "M", "x"), + (0x1D5EC, "M", "y"), + (0x1D5ED, "M", "z"), + (0x1D5EE, "M", "a"), + (0x1D5EF, "M", "b"), + (0x1D5F0, "M", "c"), + (0x1D5F1, "M", "d"), + (0x1D5F2, "M", "e"), + (0x1D5F3, "M", "f"), + (0x1D5F4, "M", "g"), + (0x1D5F5, "M", "h"), + (0x1D5F6, "M", "i"), + (0x1D5F7, "M", "j"), + (0x1D5F8, "M", "k"), + (0x1D5F9, "M", "l"), + (0x1D5FA, "M", "m"), + (0x1D5FB, "M", "n"), + (0x1D5FC, "M", "o"), + (0x1D5FD, "M", "p"), + (0x1D5FE, "M", "q"), + (0x1D5FF, "M", "r"), + (0x1D600, "M", "s"), + (0x1D601, "M", "t"), + (0x1D602, "M", "u"), + (0x1D603, "M", "v"), + (0x1D604, "M", "w"), + (0x1D605, "M", "x"), + (0x1D606, "M", "y"), + (0x1D607, "M", "z"), + (0x1D608, "M", "a"), + (0x1D609, "M", "b"), + (0x1D60A, "M", "c"), + (0x1D60B, "M", "d"), + (0x1D60C, "M", "e"), + (0x1D60D, "M", "f"), + (0x1D60E, "M", "g"), + (0x1D60F, "M", "h"), + (0x1D610, "M", "i"), + (0x1D611, "M", "j"), + (0x1D612, "M", "k"), + (0x1D613, "M", "l"), + (0x1D614, "M", "m"), + (0x1D615, "M", "n"), + (0x1D616, "M", "o"), + (0x1D617, "M", "p"), + (0x1D618, "M", "q"), + (0x1D619, "M", "r"), + (0x1D61A, "M", "s"), + (0x1D61B, "M", "t"), + (0x1D61C, "M", "u"), + (0x1D61D, "M", "v"), + (0x1D61E, "M", "w"), + ] + + +def _seg_66() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D61F, "M", "x"), + (0x1D620, "M", "y"), + (0x1D621, "M", "z"), + (0x1D622, "M", "a"), + (0x1D623, "M", "b"), + (0x1D624, "M", "c"), + (0x1D625, "M", "d"), + (0x1D626, "M", "e"), + (0x1D627, "M", "f"), + (0x1D628, "M", "g"), + (0x1D629, "M", "h"), + (0x1D62A, "M", "i"), + (0x1D62B, "M", "j"), + (0x1D62C, "M", "k"), + (0x1D62D, "M", "l"), + (0x1D62E, "M", "m"), + (0x1D62F, "M", "n"), + (0x1D630, "M", "o"), + (0x1D631, "M", "p"), + (0x1D632, "M", "q"), + (0x1D633, "M", "r"), + (0x1D634, "M", "s"), + (0x1D635, "M", "t"), + (0x1D636, "M", "u"), + (0x1D637, "M", "v"), + (0x1D638, "M", "w"), + (0x1D639, "M", "x"), + (0x1D63A, "M", "y"), + (0x1D63B, "M", "z"), + (0x1D63C, "M", "a"), + (0x1D63D, "M", "b"), + (0x1D63E, "M", "c"), + (0x1D63F, "M", "d"), + (0x1D640, "M", "e"), + (0x1D641, "M", "f"), + (0x1D642, "M", "g"), + (0x1D643, "M", "h"), + (0x1D644, "M", "i"), + (0x1D645, "M", "j"), + (0x1D646, "M", "k"), + (0x1D647, "M", "l"), + (0x1D648, "M", "m"), + (0x1D649, "M", "n"), + (0x1D64A, "M", "o"), + (0x1D64B, "M", "p"), + (0x1D64C, "M", "q"), + (0x1D64D, "M", "r"), + (0x1D64E, "M", "s"), + (0x1D64F, "M", "t"), + (0x1D650, "M", "u"), + (0x1D651, "M", "v"), + (0x1D652, "M", "w"), + (0x1D653, "M", "x"), + (0x1D654, "M", "y"), + (0x1D655, "M", "z"), + (0x1D656, "M", "a"), + (0x1D657, "M", "b"), + (0x1D658, "M", "c"), + (0x1D659, "M", "d"), + (0x1D65A, "M", "e"), + (0x1D65B, "M", "f"), + (0x1D65C, "M", "g"), + (0x1D65D, "M", "h"), + (0x1D65E, "M", "i"), + (0x1D65F, "M", "j"), + (0x1D660, "M", "k"), + (0x1D661, "M", "l"), + (0x1D662, "M", "m"), + (0x1D663, "M", "n"), + (0x1D664, "M", "o"), + (0x1D665, "M", "p"), + (0x1D666, "M", "q"), + (0x1D667, "M", "r"), + (0x1D668, "M", "s"), + (0x1D669, "M", "t"), + (0x1D66A, "M", "u"), + (0x1D66B, "M", "v"), + (0x1D66C, "M", "w"), + (0x1D66D, "M", "x"), + (0x1D66E, "M", "y"), + (0x1D66F, "M", "z"), + (0x1D670, "M", "a"), + (0x1D671, "M", "b"), + (0x1D672, "M", "c"), + (0x1D673, "M", "d"), + (0x1D674, "M", "e"), + (0x1D675, "M", "f"), + (0x1D676, "M", "g"), + (0x1D677, "M", "h"), + (0x1D678, "M", "i"), + (0x1D679, "M", "j"), + (0x1D67A, "M", "k"), + (0x1D67B, "M", "l"), + (0x1D67C, "M", "m"), + (0x1D67D, "M", "n"), + (0x1D67E, "M", "o"), + (0x1D67F, "M", "p"), + (0x1D680, "M", "q"), + (0x1D681, "M", "r"), + (0x1D682, "M", "s"), + ] + + +def _seg_67() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D683, "M", "t"), + (0x1D684, "M", "u"), + (0x1D685, "M", "v"), + (0x1D686, "M", "w"), + (0x1D687, "M", "x"), + (0x1D688, "M", "y"), + (0x1D689, "M", "z"), + (0x1D68A, "M", "a"), + (0x1D68B, "M", "b"), + (0x1D68C, "M", "c"), + (0x1D68D, "M", "d"), + (0x1D68E, "M", "e"), + (0x1D68F, "M", "f"), + (0x1D690, "M", "g"), + (0x1D691, "M", "h"), + (0x1D692, "M", "i"), + (0x1D693, "M", "j"), + (0x1D694, "M", "k"), + (0x1D695, "M", "l"), + (0x1D696, "M", "m"), + (0x1D697, "M", "n"), + (0x1D698, "M", "o"), + (0x1D699, "M", "p"), + (0x1D69A, "M", "q"), + (0x1D69B, "M", "r"), + (0x1D69C, "M", "s"), + (0x1D69D, "M", "t"), + (0x1D69E, "M", "u"), + (0x1D69F, "M", "v"), + (0x1D6A0, "M", "w"), + (0x1D6A1, "M", "x"), + (0x1D6A2, "M", "y"), + (0x1D6A3, "M", "z"), + (0x1D6A4, "M", "ı"), + (0x1D6A5, "M", "ȷ"), + (0x1D6A6, "X"), + (0x1D6A8, "M", "α"), + (0x1D6A9, "M", "β"), + (0x1D6AA, "M", "γ"), + (0x1D6AB, "M", "δ"), + (0x1D6AC, "M", "ε"), + (0x1D6AD, "M", "ζ"), + (0x1D6AE, "M", "η"), + (0x1D6AF, "M", "θ"), + (0x1D6B0, "M", "ι"), + (0x1D6B1, "M", "κ"), + (0x1D6B2, "M", "λ"), + (0x1D6B3, "M", "μ"), + (0x1D6B4, "M", "ν"), + (0x1D6B5, "M", "ξ"), + (0x1D6B6, "M", "ο"), + (0x1D6B7, "M", "π"), + (0x1D6B8, "M", "ρ"), + (0x1D6B9, "M", "θ"), + (0x1D6BA, "M", "σ"), + (0x1D6BB, "M", "τ"), + (0x1D6BC, "M", "υ"), + (0x1D6BD, "M", "φ"), + (0x1D6BE, "M", "χ"), + (0x1D6BF, "M", "ψ"), + (0x1D6C0, "M", "ω"), + (0x1D6C1, "M", "∇"), + (0x1D6C2, "M", "α"), + (0x1D6C3, "M", "β"), + (0x1D6C4, "M", "γ"), + (0x1D6C5, "M", "δ"), + (0x1D6C6, "M", "ε"), + (0x1D6C7, "M", "ζ"), + (0x1D6C8, "M", "η"), + (0x1D6C9, "M", "θ"), + (0x1D6CA, "M", "ι"), + (0x1D6CB, "M", "κ"), + (0x1D6CC, "M", "λ"), + (0x1D6CD, "M", "μ"), + (0x1D6CE, "M", "ν"), + (0x1D6CF, "M", "ξ"), + (0x1D6D0, "M", "ο"), + (0x1D6D1, "M", "π"), + (0x1D6D2, "M", "ρ"), + (0x1D6D3, "M", "σ"), + (0x1D6D5, "M", "τ"), + (0x1D6D6, "M", "υ"), + (0x1D6D7, "M", "φ"), + (0x1D6D8, "M", "χ"), + (0x1D6D9, "M", "ψ"), + (0x1D6DA, "M", "ω"), + (0x1D6DB, "M", "∂"), + (0x1D6DC, "M", "ε"), + (0x1D6DD, "M", "θ"), + (0x1D6DE, "M", "κ"), + (0x1D6DF, "M", "φ"), + (0x1D6E0, "M", "ρ"), + (0x1D6E1, "M", "π"), + (0x1D6E2, "M", "α"), + (0x1D6E3, "M", "β"), + (0x1D6E4, "M", "γ"), + (0x1D6E5, "M", "δ"), + (0x1D6E6, "M", "ε"), + (0x1D6E7, "M", "ζ"), + (0x1D6E8, "M", "η"), + ] + + +def _seg_68() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D6E9, "M", "θ"), + (0x1D6EA, "M", "ι"), + (0x1D6EB, "M", "κ"), + (0x1D6EC, "M", "λ"), + (0x1D6ED, "M", "μ"), + (0x1D6EE, "M", "ν"), + (0x1D6EF, "M", "ξ"), + (0x1D6F0, "M", "ο"), + (0x1D6F1, "M", "π"), + (0x1D6F2, "M", "ρ"), + (0x1D6F3, "M", "θ"), + (0x1D6F4, "M", "σ"), + (0x1D6F5, "M", "τ"), + (0x1D6F6, "M", "υ"), + (0x1D6F7, "M", "φ"), + (0x1D6F8, "M", "χ"), + (0x1D6F9, "M", "ψ"), + (0x1D6FA, "M", "ω"), + (0x1D6FB, "M", "∇"), + (0x1D6FC, "M", "α"), + (0x1D6FD, "M", "β"), + (0x1D6FE, "M", "γ"), + (0x1D6FF, "M", "δ"), + (0x1D700, "M", "ε"), + (0x1D701, "M", "ζ"), + (0x1D702, "M", "η"), + (0x1D703, "M", "θ"), + (0x1D704, "M", "ι"), + (0x1D705, "M", "κ"), + (0x1D706, "M", "λ"), + (0x1D707, "M", "μ"), + (0x1D708, "M", "ν"), + (0x1D709, "M", "ξ"), + (0x1D70A, "M", "ο"), + (0x1D70B, "M", "π"), + (0x1D70C, "M", "ρ"), + (0x1D70D, "M", "σ"), + (0x1D70F, "M", "τ"), + (0x1D710, "M", "υ"), + (0x1D711, "M", "φ"), + (0x1D712, "M", "χ"), + (0x1D713, "M", "ψ"), + (0x1D714, "M", "ω"), + (0x1D715, "M", "∂"), + (0x1D716, "M", "ε"), + (0x1D717, "M", "θ"), + (0x1D718, "M", "κ"), + (0x1D719, "M", "φ"), + (0x1D71A, "M", "ρ"), + (0x1D71B, "M", "π"), + (0x1D71C, "M", "α"), + (0x1D71D, "M", "β"), + (0x1D71E, "M", "γ"), + (0x1D71F, "M", "δ"), + (0x1D720, "M", "ε"), + (0x1D721, "M", "ζ"), + (0x1D722, "M", "η"), + (0x1D723, "M", "θ"), + (0x1D724, "M", "ι"), + (0x1D725, "M", "κ"), + (0x1D726, "M", "λ"), + (0x1D727, "M", "μ"), + (0x1D728, "M", "ν"), + (0x1D729, "M", "ξ"), + (0x1D72A, "M", "ο"), + (0x1D72B, "M", "π"), + (0x1D72C, "M", "ρ"), + (0x1D72D, "M", "θ"), + (0x1D72E, "M", "σ"), + (0x1D72F, "M", "τ"), + (0x1D730, "M", "υ"), + (0x1D731, "M", "φ"), + (0x1D732, "M", "χ"), + (0x1D733, "M", "ψ"), + (0x1D734, "M", "ω"), + (0x1D735, "M", "∇"), + (0x1D736, "M", "α"), + (0x1D737, "M", "β"), + (0x1D738, "M", "γ"), + (0x1D739, "M", "δ"), + (0x1D73A, "M", "ε"), + (0x1D73B, "M", "ζ"), + (0x1D73C, "M", "η"), + (0x1D73D, "M", "θ"), + (0x1D73E, "M", "ι"), + (0x1D73F, "M", "κ"), + (0x1D740, "M", "λ"), + (0x1D741, "M", "μ"), + (0x1D742, "M", "ν"), + (0x1D743, "M", "ξ"), + (0x1D744, "M", "ο"), + (0x1D745, "M", "π"), + (0x1D746, "M", "ρ"), + (0x1D747, "M", "σ"), + (0x1D749, "M", "τ"), + (0x1D74A, "M", "υ"), + (0x1D74B, "M", "φ"), + (0x1D74C, "M", "χ"), + (0x1D74D, "M", "ψ"), + (0x1D74E, "M", "ω"), + ] + + +def _seg_69() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D74F, "M", "∂"), + (0x1D750, "M", "ε"), + (0x1D751, "M", "θ"), + (0x1D752, "M", "κ"), + (0x1D753, "M", "φ"), + (0x1D754, "M", "ρ"), + (0x1D755, "M", "π"), + (0x1D756, "M", "α"), + (0x1D757, "M", "β"), + (0x1D758, "M", "γ"), + (0x1D759, "M", "δ"), + (0x1D75A, "M", "ε"), + (0x1D75B, "M", "ζ"), + (0x1D75C, "M", "η"), + (0x1D75D, "M", "θ"), + (0x1D75E, "M", "ι"), + (0x1D75F, "M", "κ"), + (0x1D760, "M", "λ"), + (0x1D761, "M", "μ"), + (0x1D762, "M", "ν"), + (0x1D763, "M", "ξ"), + (0x1D764, "M", "ο"), + (0x1D765, "M", "π"), + (0x1D766, "M", "ρ"), + (0x1D767, "M", "θ"), + (0x1D768, "M", "σ"), + (0x1D769, "M", "τ"), + (0x1D76A, "M", "υ"), + (0x1D76B, "M", "φ"), + (0x1D76C, "M", "χ"), + (0x1D76D, "M", "ψ"), + (0x1D76E, "M", "ω"), + (0x1D76F, "M", "∇"), + (0x1D770, "M", "α"), + (0x1D771, "M", "β"), + (0x1D772, "M", "γ"), + (0x1D773, "M", "δ"), + (0x1D774, "M", "ε"), + (0x1D775, "M", "ζ"), + (0x1D776, "M", "η"), + (0x1D777, "M", "θ"), + (0x1D778, "M", "ι"), + (0x1D779, "M", "κ"), + (0x1D77A, "M", "λ"), + (0x1D77B, "M", "μ"), + (0x1D77C, "M", "ν"), + (0x1D77D, "M", "ξ"), + (0x1D77E, "M", "ο"), + (0x1D77F, "M", "π"), + (0x1D780, "M", "ρ"), + (0x1D781, "M", "σ"), + (0x1D783, "M", "τ"), + (0x1D784, "M", "υ"), + (0x1D785, "M", "φ"), + (0x1D786, "M", "χ"), + (0x1D787, "M", "ψ"), + (0x1D788, "M", "ω"), + (0x1D789, "M", "∂"), + (0x1D78A, "M", "ε"), + (0x1D78B, "M", "θ"), + (0x1D78C, "M", "κ"), + (0x1D78D, "M", "φ"), + (0x1D78E, "M", "ρ"), + (0x1D78F, "M", "π"), + (0x1D790, "M", "α"), + (0x1D791, "M", "β"), + (0x1D792, "M", "γ"), + (0x1D793, "M", "δ"), + (0x1D794, "M", "ε"), + (0x1D795, "M", "ζ"), + (0x1D796, "M", "η"), + (0x1D797, "M", "θ"), + (0x1D798, "M", "ι"), + (0x1D799, "M", "κ"), + (0x1D79A, "M", "λ"), + (0x1D79B, "M", "μ"), + (0x1D79C, "M", "ν"), + (0x1D79D, "M", "ξ"), + (0x1D79E, "M", "ο"), + (0x1D79F, "M", "π"), + (0x1D7A0, "M", "ρ"), + (0x1D7A1, "M", "θ"), + (0x1D7A2, "M", "σ"), + (0x1D7A3, "M", "τ"), + (0x1D7A4, "M", "υ"), + (0x1D7A5, "M", "φ"), + (0x1D7A6, "M", "χ"), + (0x1D7A7, "M", "ψ"), + (0x1D7A8, "M", "ω"), + (0x1D7A9, "M", "∇"), + (0x1D7AA, "M", "α"), + (0x1D7AB, "M", "β"), + (0x1D7AC, "M", "γ"), + (0x1D7AD, "M", "δ"), + (0x1D7AE, "M", "ε"), + (0x1D7AF, "M", "ζ"), + (0x1D7B0, "M", "η"), + (0x1D7B1, "M", "θ"), + (0x1D7B2, "M", "ι"), + (0x1D7B3, "M", "κ"), + ] + + +def _seg_70() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1D7B4, "M", "λ"), + (0x1D7B5, "M", "μ"), + (0x1D7B6, "M", "ν"), + (0x1D7B7, "M", "ξ"), + (0x1D7B8, "M", "ο"), + (0x1D7B9, "M", "π"), + (0x1D7BA, "M", "ρ"), + (0x1D7BB, "M", "σ"), + (0x1D7BD, "M", "τ"), + (0x1D7BE, "M", "υ"), + (0x1D7BF, "M", "φ"), + (0x1D7C0, "M", "χ"), + (0x1D7C1, "M", "ψ"), + (0x1D7C2, "M", "ω"), + (0x1D7C3, "M", "∂"), + (0x1D7C4, "M", "ε"), + (0x1D7C5, "M", "θ"), + (0x1D7C6, "M", "κ"), + (0x1D7C7, "M", "φ"), + (0x1D7C8, "M", "ρ"), + (0x1D7C9, "M", "π"), + (0x1D7CA, "M", "ϝ"), + (0x1D7CC, "X"), + (0x1D7CE, "M", "0"), + (0x1D7CF, "M", "1"), + (0x1D7D0, "M", "2"), + (0x1D7D1, "M", "3"), + (0x1D7D2, "M", "4"), + (0x1D7D3, "M", "5"), + (0x1D7D4, "M", "6"), + (0x1D7D5, "M", "7"), + (0x1D7D6, "M", "8"), + (0x1D7D7, "M", "9"), + (0x1D7D8, "M", "0"), + (0x1D7D9, "M", "1"), + (0x1D7DA, "M", "2"), + (0x1D7DB, "M", "3"), + (0x1D7DC, "M", "4"), + (0x1D7DD, "M", "5"), + (0x1D7DE, "M", "6"), + (0x1D7DF, "M", "7"), + (0x1D7E0, "M", "8"), + (0x1D7E1, "M", "9"), + (0x1D7E2, "M", "0"), + (0x1D7E3, "M", "1"), + (0x1D7E4, "M", "2"), + (0x1D7E5, "M", "3"), + (0x1D7E6, "M", "4"), + (0x1D7E7, "M", "5"), + (0x1D7E8, "M", "6"), + (0x1D7E9, "M", "7"), + (0x1D7EA, "M", "8"), + (0x1D7EB, "M", "9"), + (0x1D7EC, "M", "0"), + (0x1D7ED, "M", "1"), + (0x1D7EE, "M", "2"), + (0x1D7EF, "M", "3"), + (0x1D7F0, "M", "4"), + (0x1D7F1, "M", "5"), + (0x1D7F2, "M", "6"), + (0x1D7F3, "M", "7"), + (0x1D7F4, "M", "8"), + (0x1D7F5, "M", "9"), + (0x1D7F6, "M", "0"), + (0x1D7F7, "M", "1"), + (0x1D7F8, "M", "2"), + (0x1D7F9, "M", "3"), + (0x1D7FA, "M", "4"), + (0x1D7FB, "M", "5"), + (0x1D7FC, "M", "6"), + (0x1D7FD, "M", "7"), + (0x1D7FE, "M", "8"), + (0x1D7FF, "M", "9"), + (0x1D800, "V"), + (0x1DA8C, "X"), + (0x1DA9B, "V"), + (0x1DAA0, "X"), + (0x1DAA1, "V"), + (0x1DAB0, "X"), + (0x1DF00, "V"), + (0x1DF1F, "X"), + (0x1DF25, "V"), + (0x1DF2B, "X"), + (0x1E000, "V"), + (0x1E007, "X"), + (0x1E008, "V"), + (0x1E019, "X"), + (0x1E01B, "V"), + (0x1E022, "X"), + (0x1E023, "V"), + (0x1E025, "X"), + (0x1E026, "V"), + (0x1E02B, "X"), + (0x1E030, "M", "а"), + (0x1E031, "M", "б"), + (0x1E032, "M", "в"), + (0x1E033, "M", "г"), + (0x1E034, "M", "д"), + (0x1E035, "M", "е"), + (0x1E036, "M", "ж"), + ] + + +def _seg_71() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1E037, "M", "з"), + (0x1E038, "M", "и"), + (0x1E039, "M", "к"), + (0x1E03A, "M", "л"), + (0x1E03B, "M", "м"), + (0x1E03C, "M", "о"), + (0x1E03D, "M", "п"), + (0x1E03E, "M", "р"), + (0x1E03F, "M", "с"), + (0x1E040, "M", "т"), + (0x1E041, "M", "у"), + (0x1E042, "M", "ф"), + (0x1E043, "M", "х"), + (0x1E044, "M", "ц"), + (0x1E045, "M", "ч"), + (0x1E046, "M", "ш"), + (0x1E047, "M", "ы"), + (0x1E048, "M", "э"), + (0x1E049, "M", "ю"), + (0x1E04A, "M", "ꚉ"), + (0x1E04B, "M", "ә"), + (0x1E04C, "M", "і"), + (0x1E04D, "M", "ј"), + (0x1E04E, "M", "ө"), + (0x1E04F, "M", "ү"), + (0x1E050, "M", "ӏ"), + (0x1E051, "M", "а"), + (0x1E052, "M", "б"), + (0x1E053, "M", "в"), + (0x1E054, "M", "г"), + (0x1E055, "M", "д"), + (0x1E056, "M", "е"), + (0x1E057, "M", "ж"), + (0x1E058, "M", "з"), + (0x1E059, "M", "и"), + (0x1E05A, "M", "к"), + (0x1E05B, "M", "л"), + (0x1E05C, "M", "о"), + (0x1E05D, "M", "п"), + (0x1E05E, "M", "с"), + (0x1E05F, "M", "у"), + (0x1E060, "M", "ф"), + (0x1E061, "M", "х"), + (0x1E062, "M", "ц"), + (0x1E063, "M", "ч"), + (0x1E064, "M", "ш"), + (0x1E065, "M", "ъ"), + (0x1E066, "M", "ы"), + (0x1E067, "M", "ґ"), + (0x1E068, "M", "і"), + (0x1E069, "M", "ѕ"), + (0x1E06A, "M", "џ"), + (0x1E06B, "M", "ҫ"), + (0x1E06C, "M", "ꙑ"), + (0x1E06D, "M", "ұ"), + (0x1E06E, "X"), + (0x1E08F, "V"), + (0x1E090, "X"), + (0x1E100, "V"), + (0x1E12D, "X"), + (0x1E130, "V"), + (0x1E13E, "X"), + (0x1E140, "V"), + (0x1E14A, "X"), + (0x1E14E, "V"), + (0x1E150, "X"), + (0x1E290, "V"), + (0x1E2AF, "X"), + (0x1E2C0, "V"), + (0x1E2FA, "X"), + (0x1E2FF, "V"), + (0x1E300, "X"), + (0x1E4D0, "V"), + (0x1E4FA, "X"), + (0x1E7E0, "V"), + (0x1E7E7, "X"), + (0x1E7E8, "V"), + (0x1E7EC, "X"), + (0x1E7ED, "V"), + (0x1E7EF, "X"), + (0x1E7F0, "V"), + (0x1E7FF, "X"), + (0x1E800, "V"), + (0x1E8C5, "X"), + (0x1E8C7, "V"), + (0x1E8D7, "X"), + (0x1E900, "M", "𞤢"), + (0x1E901, "M", "𞤣"), + (0x1E902, "M", "𞤤"), + (0x1E903, "M", "𞤥"), + (0x1E904, "M", "𞤦"), + (0x1E905, "M", "𞤧"), + (0x1E906, "M", "𞤨"), + (0x1E907, "M", "𞤩"), + (0x1E908, "M", "𞤪"), + (0x1E909, "M", "𞤫"), + (0x1E90A, "M", "𞤬"), + (0x1E90B, "M", "𞤭"), + (0x1E90C, "M", "𞤮"), + (0x1E90D, "M", "𞤯"), + ] + + +def _seg_72() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1E90E, "M", "𞤰"), + (0x1E90F, "M", "𞤱"), + (0x1E910, "M", "𞤲"), + (0x1E911, "M", "𞤳"), + (0x1E912, "M", "𞤴"), + (0x1E913, "M", "𞤵"), + (0x1E914, "M", "𞤶"), + (0x1E915, "M", "𞤷"), + (0x1E916, "M", "𞤸"), + (0x1E917, "M", "𞤹"), + (0x1E918, "M", "𞤺"), + (0x1E919, "M", "𞤻"), + (0x1E91A, "M", "𞤼"), + (0x1E91B, "M", "𞤽"), + (0x1E91C, "M", "𞤾"), + (0x1E91D, "M", "𞤿"), + (0x1E91E, "M", "𞥀"), + (0x1E91F, "M", "𞥁"), + (0x1E920, "M", "𞥂"), + (0x1E921, "M", "𞥃"), + (0x1E922, "V"), + (0x1E94C, "X"), + (0x1E950, "V"), + (0x1E95A, "X"), + (0x1E95E, "V"), + (0x1E960, "X"), + (0x1EC71, "V"), + (0x1ECB5, "X"), + (0x1ED01, "V"), + (0x1ED3E, "X"), + (0x1EE00, "M", "ا"), + (0x1EE01, "M", "ب"), + (0x1EE02, "M", "ج"), + (0x1EE03, "M", "د"), + (0x1EE04, "X"), + (0x1EE05, "M", "و"), + (0x1EE06, "M", "ز"), + (0x1EE07, "M", "ح"), + (0x1EE08, "M", "ط"), + (0x1EE09, "M", "ي"), + (0x1EE0A, "M", "ك"), + (0x1EE0B, "M", "ل"), + (0x1EE0C, "M", "م"), + (0x1EE0D, "M", "ن"), + (0x1EE0E, "M", "س"), + (0x1EE0F, "M", "ع"), + (0x1EE10, "M", "ف"), + (0x1EE11, "M", "ص"), + (0x1EE12, "M", "ق"), + (0x1EE13, "M", "ر"), + (0x1EE14, "M", "ش"), + (0x1EE15, "M", "ت"), + (0x1EE16, "M", "ث"), + (0x1EE17, "M", "خ"), + (0x1EE18, "M", "ذ"), + (0x1EE19, "M", "ض"), + (0x1EE1A, "M", "ظ"), + (0x1EE1B, "M", "غ"), + (0x1EE1C, "M", "ٮ"), + (0x1EE1D, "M", "ں"), + (0x1EE1E, "M", "ڡ"), + (0x1EE1F, "M", "ٯ"), + (0x1EE20, "X"), + (0x1EE21, "M", "ب"), + (0x1EE22, "M", "ج"), + (0x1EE23, "X"), + (0x1EE24, "M", "ه"), + (0x1EE25, "X"), + (0x1EE27, "M", "ح"), + (0x1EE28, "X"), + (0x1EE29, "M", "ي"), + (0x1EE2A, "M", "ك"), + (0x1EE2B, "M", "ل"), + (0x1EE2C, "M", "م"), + (0x1EE2D, "M", "ن"), + (0x1EE2E, "M", "س"), + (0x1EE2F, "M", "ع"), + (0x1EE30, "M", "ف"), + (0x1EE31, "M", "ص"), + (0x1EE32, "M", "ق"), + (0x1EE33, "X"), + (0x1EE34, "M", "ش"), + (0x1EE35, "M", "ت"), + (0x1EE36, "M", "ث"), + (0x1EE37, "M", "خ"), + (0x1EE38, "X"), + (0x1EE39, "M", "ض"), + (0x1EE3A, "X"), + (0x1EE3B, "M", "غ"), + (0x1EE3C, "X"), + (0x1EE42, "M", "ج"), + (0x1EE43, "X"), + (0x1EE47, "M", "ح"), + (0x1EE48, "X"), + (0x1EE49, "M", "ي"), + (0x1EE4A, "X"), + (0x1EE4B, "M", "ل"), + (0x1EE4C, "X"), + (0x1EE4D, "M", "ن"), + (0x1EE4E, "M", "س"), + ] + + +def _seg_73() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1EE4F, "M", "ع"), + (0x1EE50, "X"), + (0x1EE51, "M", "ص"), + (0x1EE52, "M", "ق"), + (0x1EE53, "X"), + (0x1EE54, "M", "ش"), + (0x1EE55, "X"), + (0x1EE57, "M", "خ"), + (0x1EE58, "X"), + (0x1EE59, "M", "ض"), + (0x1EE5A, "X"), + (0x1EE5B, "M", "غ"), + (0x1EE5C, "X"), + (0x1EE5D, "M", "ں"), + (0x1EE5E, "X"), + (0x1EE5F, "M", "ٯ"), + (0x1EE60, "X"), + (0x1EE61, "M", "ب"), + (0x1EE62, "M", "ج"), + (0x1EE63, "X"), + (0x1EE64, "M", "ه"), + (0x1EE65, "X"), + (0x1EE67, "M", "ح"), + (0x1EE68, "M", "ط"), + (0x1EE69, "M", "ي"), + (0x1EE6A, "M", "ك"), + (0x1EE6B, "X"), + (0x1EE6C, "M", "م"), + (0x1EE6D, "M", "ن"), + (0x1EE6E, "M", "س"), + (0x1EE6F, "M", "ع"), + (0x1EE70, "M", "ف"), + (0x1EE71, "M", "ص"), + (0x1EE72, "M", "ق"), + (0x1EE73, "X"), + (0x1EE74, "M", "ش"), + (0x1EE75, "M", "ت"), + (0x1EE76, "M", "ث"), + (0x1EE77, "M", "خ"), + (0x1EE78, "X"), + (0x1EE79, "M", "ض"), + (0x1EE7A, "M", "ظ"), + (0x1EE7B, "M", "غ"), + (0x1EE7C, "M", "ٮ"), + (0x1EE7D, "X"), + (0x1EE7E, "M", "ڡ"), + (0x1EE7F, "X"), + (0x1EE80, "M", "ا"), + (0x1EE81, "M", "ب"), + (0x1EE82, "M", "ج"), + (0x1EE83, "M", "د"), + (0x1EE84, "M", "ه"), + (0x1EE85, "M", "و"), + (0x1EE86, "M", "ز"), + (0x1EE87, "M", "ح"), + (0x1EE88, "M", "ط"), + (0x1EE89, "M", "ي"), + (0x1EE8A, "X"), + (0x1EE8B, "M", "ل"), + (0x1EE8C, "M", "م"), + (0x1EE8D, "M", "ن"), + (0x1EE8E, "M", "س"), + (0x1EE8F, "M", "ع"), + (0x1EE90, "M", "ف"), + (0x1EE91, "M", "ص"), + (0x1EE92, "M", "ق"), + (0x1EE93, "M", "ر"), + (0x1EE94, "M", "ش"), + (0x1EE95, "M", "ت"), + (0x1EE96, "M", "ث"), + (0x1EE97, "M", "خ"), + (0x1EE98, "M", "ذ"), + (0x1EE99, "M", "ض"), + (0x1EE9A, "M", "ظ"), + (0x1EE9B, "M", "غ"), + (0x1EE9C, "X"), + (0x1EEA1, "M", "ب"), + (0x1EEA2, "M", "ج"), + (0x1EEA3, "M", "د"), + (0x1EEA4, "X"), + (0x1EEA5, "M", "و"), + (0x1EEA6, "M", "ز"), + (0x1EEA7, "M", "ح"), + (0x1EEA8, "M", "ط"), + (0x1EEA9, "M", "ي"), + (0x1EEAA, "X"), + (0x1EEAB, "M", "ل"), + (0x1EEAC, "M", "م"), + (0x1EEAD, "M", "ن"), + (0x1EEAE, "M", "س"), + (0x1EEAF, "M", "ع"), + (0x1EEB0, "M", "ف"), + (0x1EEB1, "M", "ص"), + (0x1EEB2, "M", "ق"), + (0x1EEB3, "M", "ر"), + (0x1EEB4, "M", "ش"), + (0x1EEB5, "M", "ت"), + (0x1EEB6, "M", "ث"), + (0x1EEB7, "M", "خ"), + (0x1EEB8, "M", "ذ"), + ] + + +def _seg_74() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1EEB9, "M", "ض"), + (0x1EEBA, "M", "ظ"), + (0x1EEBB, "M", "غ"), + (0x1EEBC, "X"), + (0x1EEF0, "V"), + (0x1EEF2, "X"), + (0x1F000, "V"), + (0x1F02C, "X"), + (0x1F030, "V"), + (0x1F094, "X"), + (0x1F0A0, "V"), + (0x1F0AF, "X"), + (0x1F0B1, "V"), + (0x1F0C0, "X"), + (0x1F0C1, "V"), + (0x1F0D0, "X"), + (0x1F0D1, "V"), + (0x1F0F6, "X"), + (0x1F101, "3", "0,"), + (0x1F102, "3", "1,"), + (0x1F103, "3", "2,"), + (0x1F104, "3", "3,"), + (0x1F105, "3", "4,"), + (0x1F106, "3", "5,"), + (0x1F107, "3", "6,"), + (0x1F108, "3", "7,"), + (0x1F109, "3", "8,"), + (0x1F10A, "3", "9,"), + (0x1F10B, "V"), + (0x1F110, "3", "(a)"), + (0x1F111, "3", "(b)"), + (0x1F112, "3", "(c)"), + (0x1F113, "3", "(d)"), + (0x1F114, "3", "(e)"), + (0x1F115, "3", "(f)"), + (0x1F116, "3", "(g)"), + (0x1F117, "3", "(h)"), + (0x1F118, "3", "(i)"), + (0x1F119, "3", "(j)"), + (0x1F11A, "3", "(k)"), + (0x1F11B, "3", "(l)"), + (0x1F11C, "3", "(m)"), + (0x1F11D, "3", "(n)"), + (0x1F11E, "3", "(o)"), + (0x1F11F, "3", "(p)"), + (0x1F120, "3", "(q)"), + (0x1F121, "3", "(r)"), + (0x1F122, "3", "(s)"), + (0x1F123, "3", "(t)"), + (0x1F124, "3", "(u)"), + (0x1F125, "3", "(v)"), + (0x1F126, "3", "(w)"), + (0x1F127, "3", "(x)"), + (0x1F128, "3", "(y)"), + (0x1F129, "3", "(z)"), + (0x1F12A, "M", "〔s〕"), + (0x1F12B, "M", "c"), + (0x1F12C, "M", "r"), + (0x1F12D, "M", "cd"), + (0x1F12E, "M", "wz"), + (0x1F12F, "V"), + (0x1F130, "M", "a"), + (0x1F131, "M", "b"), + (0x1F132, "M", "c"), + (0x1F133, "M", "d"), + (0x1F134, "M", "e"), + (0x1F135, "M", "f"), + (0x1F136, "M", "g"), + (0x1F137, "M", "h"), + (0x1F138, "M", "i"), + (0x1F139, "M", "j"), + (0x1F13A, "M", "k"), + (0x1F13B, "M", "l"), + (0x1F13C, "M", "m"), + (0x1F13D, "M", "n"), + (0x1F13E, "M", "o"), + (0x1F13F, "M", "p"), + (0x1F140, "M", "q"), + (0x1F141, "M", "r"), + (0x1F142, "M", "s"), + (0x1F143, "M", "t"), + (0x1F144, "M", "u"), + (0x1F145, "M", "v"), + (0x1F146, "M", "w"), + (0x1F147, "M", "x"), + (0x1F148, "M", "y"), + (0x1F149, "M", "z"), + (0x1F14A, "M", "hv"), + (0x1F14B, "M", "mv"), + (0x1F14C, "M", "sd"), + (0x1F14D, "M", "ss"), + (0x1F14E, "M", "ppv"), + (0x1F14F, "M", "wc"), + (0x1F150, "V"), + (0x1F16A, "M", "mc"), + (0x1F16B, "M", "md"), + (0x1F16C, "M", "mr"), + (0x1F16D, "V"), + (0x1F190, "M", "dj"), + (0x1F191, "V"), + ] + + +def _seg_75() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1F1AE, "X"), + (0x1F1E6, "V"), + (0x1F200, "M", "ほか"), + (0x1F201, "M", "ココ"), + (0x1F202, "M", "サ"), + (0x1F203, "X"), + (0x1F210, "M", "手"), + (0x1F211, "M", "字"), + (0x1F212, "M", "双"), + (0x1F213, "M", "デ"), + (0x1F214, "M", "二"), + (0x1F215, "M", "多"), + (0x1F216, "M", "解"), + (0x1F217, "M", "天"), + (0x1F218, "M", "交"), + (0x1F219, "M", "映"), + (0x1F21A, "M", "無"), + (0x1F21B, "M", "料"), + (0x1F21C, "M", "前"), + (0x1F21D, "M", "後"), + (0x1F21E, "M", "再"), + (0x1F21F, "M", "新"), + (0x1F220, "M", "初"), + (0x1F221, "M", "終"), + (0x1F222, "M", "生"), + (0x1F223, "M", "販"), + (0x1F224, "M", "声"), + (0x1F225, "M", "吹"), + (0x1F226, "M", "演"), + (0x1F227, "M", "投"), + (0x1F228, "M", "捕"), + (0x1F229, "M", "一"), + (0x1F22A, "M", "三"), + (0x1F22B, "M", "遊"), + (0x1F22C, "M", "左"), + (0x1F22D, "M", "中"), + (0x1F22E, "M", "右"), + (0x1F22F, "M", "指"), + (0x1F230, "M", "走"), + (0x1F231, "M", "打"), + (0x1F232, "M", "禁"), + (0x1F233, "M", "空"), + (0x1F234, "M", "合"), + (0x1F235, "M", "満"), + (0x1F236, "M", "有"), + (0x1F237, "M", "月"), + (0x1F238, "M", "申"), + (0x1F239, "M", "割"), + (0x1F23A, "M", "営"), + (0x1F23B, "M", "配"), + (0x1F23C, "X"), + (0x1F240, "M", "〔本〕"), + (0x1F241, "M", "〔三〕"), + (0x1F242, "M", "〔二〕"), + (0x1F243, "M", "〔安〕"), + (0x1F244, "M", "〔点〕"), + (0x1F245, "M", "〔打〕"), + (0x1F246, "M", "〔盗〕"), + (0x1F247, "M", "〔勝〕"), + (0x1F248, "M", "〔敗〕"), + (0x1F249, "X"), + (0x1F250, "M", "得"), + (0x1F251, "M", "可"), + (0x1F252, "X"), + (0x1F260, "V"), + (0x1F266, "X"), + (0x1F300, "V"), + (0x1F6D8, "X"), + (0x1F6DC, "V"), + (0x1F6ED, "X"), + (0x1F6F0, "V"), + (0x1F6FD, "X"), + (0x1F700, "V"), + (0x1F777, "X"), + (0x1F77B, "V"), + (0x1F7DA, "X"), + (0x1F7E0, "V"), + (0x1F7EC, "X"), + (0x1F7F0, "V"), + (0x1F7F1, "X"), + (0x1F800, "V"), + (0x1F80C, "X"), + (0x1F810, "V"), + (0x1F848, "X"), + (0x1F850, "V"), + (0x1F85A, "X"), + (0x1F860, "V"), + (0x1F888, "X"), + (0x1F890, "V"), + (0x1F8AE, "X"), + (0x1F8B0, "V"), + (0x1F8B2, "X"), + (0x1F900, "V"), + (0x1FA54, "X"), + (0x1FA60, "V"), + (0x1FA6E, "X"), + (0x1FA70, "V"), + (0x1FA7D, "X"), + (0x1FA80, "V"), + (0x1FA89, "X"), + ] + + +def _seg_76() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x1FA90, "V"), + (0x1FABE, "X"), + (0x1FABF, "V"), + (0x1FAC6, "X"), + (0x1FACE, "V"), + (0x1FADC, "X"), + (0x1FAE0, "V"), + (0x1FAE9, "X"), + (0x1FAF0, "V"), + (0x1FAF9, "X"), + (0x1FB00, "V"), + (0x1FB93, "X"), + (0x1FB94, "V"), + (0x1FBCB, "X"), + (0x1FBF0, "M", "0"), + (0x1FBF1, "M", "1"), + (0x1FBF2, "M", "2"), + (0x1FBF3, "M", "3"), + (0x1FBF4, "M", "4"), + (0x1FBF5, "M", "5"), + (0x1FBF6, "M", "6"), + (0x1FBF7, "M", "7"), + (0x1FBF8, "M", "8"), + (0x1FBF9, "M", "9"), + (0x1FBFA, "X"), + (0x20000, "V"), + (0x2A6E0, "X"), + (0x2A700, "V"), + (0x2B73A, "X"), + (0x2B740, "V"), + (0x2B81E, "X"), + (0x2B820, "V"), + (0x2CEA2, "X"), + (0x2CEB0, "V"), + (0x2EBE1, "X"), + (0x2EBF0, "V"), + (0x2EE5E, "X"), + (0x2F800, "M", "丽"), + (0x2F801, "M", "丸"), + (0x2F802, "M", "乁"), + (0x2F803, "M", "𠄢"), + (0x2F804, "M", "你"), + (0x2F805, "M", "侮"), + (0x2F806, "M", "侻"), + (0x2F807, "M", "倂"), + (0x2F808, "M", "偺"), + (0x2F809, "M", "備"), + (0x2F80A, "M", "僧"), + (0x2F80B, "M", "像"), + (0x2F80C, "M", "㒞"), + (0x2F80D, "M", "𠘺"), + (0x2F80E, "M", "免"), + (0x2F80F, "M", "兔"), + (0x2F810, "M", "兤"), + (0x2F811, "M", "具"), + (0x2F812, "M", "𠔜"), + (0x2F813, "M", "㒹"), + (0x2F814, "M", "內"), + (0x2F815, "M", "再"), + (0x2F816, "M", "𠕋"), + (0x2F817, "M", "冗"), + (0x2F818, "M", "冤"), + (0x2F819, "M", "仌"), + (0x2F81A, "M", "冬"), + (0x2F81B, "M", "况"), + (0x2F81C, "M", "𩇟"), + (0x2F81D, "M", "凵"), + (0x2F81E, "M", "刃"), + (0x2F81F, "M", "㓟"), + (0x2F820, "M", "刻"), + (0x2F821, "M", "剆"), + (0x2F822, "M", "割"), + (0x2F823, "M", "剷"), + (0x2F824, "M", "㔕"), + (0x2F825, "M", "勇"), + (0x2F826, "M", "勉"), + (0x2F827, "M", "勤"), + (0x2F828, "M", "勺"), + (0x2F829, "M", "包"), + (0x2F82A, "M", "匆"), + (0x2F82B, "M", "北"), + (0x2F82C, "M", "卉"), + (0x2F82D, "M", "卑"), + (0x2F82E, "M", "博"), + (0x2F82F, "M", "即"), + (0x2F830, "M", "卽"), + (0x2F831, "M", "卿"), + (0x2F834, "M", "𠨬"), + (0x2F835, "M", "灰"), + (0x2F836, "M", "及"), + (0x2F837, "M", "叟"), + (0x2F838, "M", "𠭣"), + (0x2F839, "M", "叫"), + (0x2F83A, "M", "叱"), + (0x2F83B, "M", "吆"), + (0x2F83C, "M", "咞"), + (0x2F83D, "M", "吸"), + (0x2F83E, "M", "呈"), + (0x2F83F, "M", "周"), + (0x2F840, "M", "咢"), + ] + + +def _seg_77() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2F841, "M", "哶"), + (0x2F842, "M", "唐"), + (0x2F843, "M", "啓"), + (0x2F844, "M", "啣"), + (0x2F845, "M", "善"), + (0x2F847, "M", "喙"), + (0x2F848, "M", "喫"), + (0x2F849, "M", "喳"), + (0x2F84A, "M", "嗂"), + (0x2F84B, "M", "圖"), + (0x2F84C, "M", "嘆"), + (0x2F84D, "M", "圗"), + (0x2F84E, "M", "噑"), + (0x2F84F, "M", "噴"), + (0x2F850, "M", "切"), + (0x2F851, "M", "壮"), + (0x2F852, "M", "城"), + (0x2F853, "M", "埴"), + (0x2F854, "M", "堍"), + (0x2F855, "M", "型"), + (0x2F856, "M", "堲"), + (0x2F857, "M", "報"), + (0x2F858, "M", "墬"), + (0x2F859, "M", "𡓤"), + (0x2F85A, "M", "売"), + (0x2F85B, "M", "壷"), + (0x2F85C, "M", "夆"), + (0x2F85D, "M", "多"), + (0x2F85E, "M", "夢"), + (0x2F85F, "M", "奢"), + (0x2F860, "M", "𡚨"), + (0x2F861, "M", "𡛪"), + (0x2F862, "M", "姬"), + (0x2F863, "M", "娛"), + (0x2F864, "M", "娧"), + (0x2F865, "M", "姘"), + (0x2F866, "M", "婦"), + (0x2F867, "M", "㛮"), + (0x2F868, "X"), + (0x2F869, "M", "嬈"), + (0x2F86A, "M", "嬾"), + (0x2F86C, "M", "𡧈"), + (0x2F86D, "M", "寃"), + (0x2F86E, "M", "寘"), + (0x2F86F, "M", "寧"), + (0x2F870, "M", "寳"), + (0x2F871, "M", "𡬘"), + (0x2F872, "M", "寿"), + (0x2F873, "M", "将"), + (0x2F874, "X"), + (0x2F875, "M", "尢"), + (0x2F876, "M", "㞁"), + (0x2F877, "M", "屠"), + (0x2F878, "M", "屮"), + (0x2F879, "M", "峀"), + (0x2F87A, "M", "岍"), + (0x2F87B, "M", "𡷤"), + (0x2F87C, "M", "嵃"), + (0x2F87D, "M", "𡷦"), + (0x2F87E, "M", "嵮"), + (0x2F87F, "M", "嵫"), + (0x2F880, "M", "嵼"), + (0x2F881, "M", "巡"), + (0x2F882, "M", "巢"), + (0x2F883, "M", "㠯"), + (0x2F884, "M", "巽"), + (0x2F885, "M", "帨"), + (0x2F886, "M", "帽"), + (0x2F887, "M", "幩"), + (0x2F888, "M", "㡢"), + (0x2F889, "M", "𢆃"), + (0x2F88A, "M", "㡼"), + (0x2F88B, "M", "庰"), + (0x2F88C, "M", "庳"), + (0x2F88D, "M", "庶"), + (0x2F88E, "M", "廊"), + (0x2F88F, "M", "𪎒"), + (0x2F890, "M", "廾"), + (0x2F891, "M", "𢌱"), + (0x2F893, "M", "舁"), + (0x2F894, "M", "弢"), + (0x2F896, "M", "㣇"), + (0x2F897, "M", "𣊸"), + (0x2F898, "M", "𦇚"), + (0x2F899, "M", "形"), + (0x2F89A, "M", "彫"), + (0x2F89B, "M", "㣣"), + (0x2F89C, "M", "徚"), + (0x2F89D, "M", "忍"), + (0x2F89E, "M", "志"), + (0x2F89F, "M", "忹"), + (0x2F8A0, "M", "悁"), + (0x2F8A1, "M", "㤺"), + (0x2F8A2, "M", "㤜"), + (0x2F8A3, "M", "悔"), + (0x2F8A4, "M", "𢛔"), + (0x2F8A5, "M", "惇"), + (0x2F8A6, "M", "慈"), + (0x2F8A7, "M", "慌"), + (0x2F8A8, "M", "慎"), + ] + + +def _seg_78() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2F8A9, "M", "慌"), + (0x2F8AA, "M", "慺"), + (0x2F8AB, "M", "憎"), + (0x2F8AC, "M", "憲"), + (0x2F8AD, "M", "憤"), + (0x2F8AE, "M", "憯"), + (0x2F8AF, "M", "懞"), + (0x2F8B0, "M", "懲"), + (0x2F8B1, "M", "懶"), + (0x2F8B2, "M", "成"), + (0x2F8B3, "M", "戛"), + (0x2F8B4, "M", "扝"), + (0x2F8B5, "M", "抱"), + (0x2F8B6, "M", "拔"), + (0x2F8B7, "M", "捐"), + (0x2F8B8, "M", "𢬌"), + (0x2F8B9, "M", "挽"), + (0x2F8BA, "M", "拼"), + (0x2F8BB, "M", "捨"), + (0x2F8BC, "M", "掃"), + (0x2F8BD, "M", "揤"), + (0x2F8BE, "M", "𢯱"), + (0x2F8BF, "M", "搢"), + (0x2F8C0, "M", "揅"), + (0x2F8C1, "M", "掩"), + (0x2F8C2, "M", "㨮"), + (0x2F8C3, "M", "摩"), + (0x2F8C4, "M", "摾"), + (0x2F8C5, "M", "撝"), + (0x2F8C6, "M", "摷"), + (0x2F8C7, "M", "㩬"), + (0x2F8C8, "M", "敏"), + (0x2F8C9, "M", "敬"), + (0x2F8CA, "M", "𣀊"), + (0x2F8CB, "M", "旣"), + (0x2F8CC, "M", "書"), + (0x2F8CD, "M", "晉"), + (0x2F8CE, "M", "㬙"), + (0x2F8CF, "M", "暑"), + (0x2F8D0, "M", "㬈"), + (0x2F8D1, "M", "㫤"), + (0x2F8D2, "M", "冒"), + (0x2F8D3, "M", "冕"), + (0x2F8D4, "M", "最"), + (0x2F8D5, "M", "暜"), + (0x2F8D6, "M", "肭"), + (0x2F8D7, "M", "䏙"), + (0x2F8D8, "M", "朗"), + (0x2F8D9, "M", "望"), + (0x2F8DA, "M", "朡"), + (0x2F8DB, "M", "杞"), + (0x2F8DC, "M", "杓"), + (0x2F8DD, "M", "𣏃"), + (0x2F8DE, "M", "㭉"), + (0x2F8DF, "M", "柺"), + (0x2F8E0, "M", "枅"), + (0x2F8E1, "M", "桒"), + (0x2F8E2, "M", "梅"), + (0x2F8E3, "M", "𣑭"), + (0x2F8E4, "M", "梎"), + (0x2F8E5, "M", "栟"), + (0x2F8E6, "M", "椔"), + (0x2F8E7, "M", "㮝"), + (0x2F8E8, "M", "楂"), + (0x2F8E9, "M", "榣"), + (0x2F8EA, "M", "槪"), + (0x2F8EB, "M", "檨"), + (0x2F8EC, "M", "𣚣"), + (0x2F8ED, "M", "櫛"), + (0x2F8EE, "M", "㰘"), + (0x2F8EF, "M", "次"), + (0x2F8F0, "M", "𣢧"), + (0x2F8F1, "M", "歔"), + (0x2F8F2, "M", "㱎"), + (0x2F8F3, "M", "歲"), + (0x2F8F4, "M", "殟"), + (0x2F8F5, "M", "殺"), + (0x2F8F6, "M", "殻"), + (0x2F8F7, "M", "𣪍"), + (0x2F8F8, "M", "𡴋"), + (0x2F8F9, "M", "𣫺"), + (0x2F8FA, "M", "汎"), + (0x2F8FB, "M", "𣲼"), + (0x2F8FC, "M", "沿"), + (0x2F8FD, "M", "泍"), + (0x2F8FE, "M", "汧"), + (0x2F8FF, "M", "洖"), + (0x2F900, "M", "派"), + (0x2F901, "M", "海"), + (0x2F902, "M", "流"), + (0x2F903, "M", "浩"), + (0x2F904, "M", "浸"), + (0x2F905, "M", "涅"), + (0x2F906, "M", "𣴞"), + (0x2F907, "M", "洴"), + (0x2F908, "M", "港"), + (0x2F909, "M", "湮"), + (0x2F90A, "M", "㴳"), + (0x2F90B, "M", "滋"), + (0x2F90C, "M", "滇"), + ] + + +def _seg_79() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2F90D, "M", "𣻑"), + (0x2F90E, "M", "淹"), + (0x2F90F, "M", "潮"), + (0x2F910, "M", "𣽞"), + (0x2F911, "M", "𣾎"), + (0x2F912, "M", "濆"), + (0x2F913, "M", "瀹"), + (0x2F914, "M", "瀞"), + (0x2F915, "M", "瀛"), + (0x2F916, "M", "㶖"), + (0x2F917, "M", "灊"), + (0x2F918, "M", "災"), + (0x2F919, "M", "灷"), + (0x2F91A, "M", "炭"), + (0x2F91B, "M", "𠔥"), + (0x2F91C, "M", "煅"), + (0x2F91D, "M", "𤉣"), + (0x2F91E, "M", "熜"), + (0x2F91F, "X"), + (0x2F920, "M", "爨"), + (0x2F921, "M", "爵"), + (0x2F922, "M", "牐"), + (0x2F923, "M", "𤘈"), + (0x2F924, "M", "犀"), + (0x2F925, "M", "犕"), + (0x2F926, "M", "𤜵"), + (0x2F927, "M", "𤠔"), + (0x2F928, "M", "獺"), + (0x2F929, "M", "王"), + (0x2F92A, "M", "㺬"), + (0x2F92B, "M", "玥"), + (0x2F92C, "M", "㺸"), + (0x2F92E, "M", "瑇"), + (0x2F92F, "M", "瑜"), + (0x2F930, "M", "瑱"), + (0x2F931, "M", "璅"), + (0x2F932, "M", "瓊"), + (0x2F933, "M", "㼛"), + (0x2F934, "M", "甤"), + (0x2F935, "M", "𤰶"), + (0x2F936, "M", "甾"), + (0x2F937, "M", "𤲒"), + (0x2F938, "M", "異"), + (0x2F939, "M", "𢆟"), + (0x2F93A, "M", "瘐"), + (0x2F93B, "M", "𤾡"), + (0x2F93C, "M", "𤾸"), + (0x2F93D, "M", "𥁄"), + (0x2F93E, "M", "㿼"), + (0x2F93F, "M", "䀈"), + (0x2F940, "M", "直"), + (0x2F941, "M", "𥃳"), + (0x2F942, "M", "𥃲"), + (0x2F943, "M", "𥄙"), + (0x2F944, "M", "𥄳"), + (0x2F945, "M", "眞"), + (0x2F946, "M", "真"), + (0x2F948, "M", "睊"), + (0x2F949, "M", "䀹"), + (0x2F94A, "M", "瞋"), + (0x2F94B, "M", "䁆"), + (0x2F94C, "M", "䂖"), + (0x2F94D, "M", "𥐝"), + (0x2F94E, "M", "硎"), + (0x2F94F, "M", "碌"), + (0x2F950, "M", "磌"), + (0x2F951, "M", "䃣"), + (0x2F952, "M", "𥘦"), + (0x2F953, "M", "祖"), + (0x2F954, "M", "𥚚"), + (0x2F955, "M", "𥛅"), + (0x2F956, "M", "福"), + (0x2F957, "M", "秫"), + (0x2F958, "M", "䄯"), + (0x2F959, "M", "穀"), + (0x2F95A, "M", "穊"), + (0x2F95B, "M", "穏"), + (0x2F95C, "M", "𥥼"), + (0x2F95D, "M", "𥪧"), + (0x2F95F, "X"), + (0x2F960, "M", "䈂"), + (0x2F961, "M", "𥮫"), + (0x2F962, "M", "篆"), + (0x2F963, "M", "築"), + (0x2F964, "M", "䈧"), + (0x2F965, "M", "𥲀"), + (0x2F966, "M", "糒"), + (0x2F967, "M", "䊠"), + (0x2F968, "M", "糨"), + (0x2F969, "M", "糣"), + (0x2F96A, "M", "紀"), + (0x2F96B, "M", "𥾆"), + (0x2F96C, "M", "絣"), + (0x2F96D, "M", "䌁"), + (0x2F96E, "M", "緇"), + (0x2F96F, "M", "縂"), + (0x2F970, "M", "繅"), + (0x2F971, "M", "䌴"), + (0x2F972, "M", "𦈨"), + (0x2F973, "M", "𦉇"), + ] + + +def _seg_80() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2F974, "M", "䍙"), + (0x2F975, "M", "𦋙"), + (0x2F976, "M", "罺"), + (0x2F977, "M", "𦌾"), + (0x2F978, "M", "羕"), + (0x2F979, "M", "翺"), + (0x2F97A, "M", "者"), + (0x2F97B, "M", "𦓚"), + (0x2F97C, "M", "𦔣"), + (0x2F97D, "M", "聠"), + (0x2F97E, "M", "𦖨"), + (0x2F97F, "M", "聰"), + (0x2F980, "M", "𣍟"), + (0x2F981, "M", "䏕"), + (0x2F982, "M", "育"), + (0x2F983, "M", "脃"), + (0x2F984, "M", "䐋"), + (0x2F985, "M", "脾"), + (0x2F986, "M", "媵"), + (0x2F987, "M", "𦞧"), + (0x2F988, "M", "𦞵"), + (0x2F989, "M", "𣎓"), + (0x2F98A, "M", "𣎜"), + (0x2F98B, "M", "舁"), + (0x2F98C, "M", "舄"), + (0x2F98D, "M", "辞"), + (0x2F98E, "M", "䑫"), + (0x2F98F, "M", "芑"), + (0x2F990, "M", "芋"), + (0x2F991, "M", "芝"), + (0x2F992, "M", "劳"), + (0x2F993, "M", "花"), + (0x2F994, "M", "芳"), + (0x2F995, "M", "芽"), + (0x2F996, "M", "苦"), + (0x2F997, "M", "𦬼"), + (0x2F998, "M", "若"), + (0x2F999, "M", "茝"), + (0x2F99A, "M", "荣"), + (0x2F99B, "M", "莭"), + (0x2F99C, "M", "茣"), + (0x2F99D, "M", "莽"), + (0x2F99E, "M", "菧"), + (0x2F99F, "M", "著"), + (0x2F9A0, "M", "荓"), + (0x2F9A1, "M", "菊"), + (0x2F9A2, "M", "菌"), + (0x2F9A3, "M", "菜"), + (0x2F9A4, "M", "𦰶"), + (0x2F9A5, "M", "𦵫"), + (0x2F9A6, "M", "𦳕"), + (0x2F9A7, "M", "䔫"), + (0x2F9A8, "M", "蓱"), + (0x2F9A9, "M", "蓳"), + (0x2F9AA, "M", "蔖"), + (0x2F9AB, "M", "𧏊"), + (0x2F9AC, "M", "蕤"), + (0x2F9AD, "M", "𦼬"), + (0x2F9AE, "M", "䕝"), + (0x2F9AF, "M", "䕡"), + (0x2F9B0, "M", "𦾱"), + (0x2F9B1, "M", "𧃒"), + (0x2F9B2, "M", "䕫"), + (0x2F9B3, "M", "虐"), + (0x2F9B4, "M", "虜"), + (0x2F9B5, "M", "虧"), + (0x2F9B6, "M", "虩"), + (0x2F9B7, "M", "蚩"), + (0x2F9B8, "M", "蚈"), + (0x2F9B9, "M", "蜎"), + (0x2F9BA, "M", "蛢"), + (0x2F9BB, "M", "蝹"), + (0x2F9BC, "M", "蜨"), + (0x2F9BD, "M", "蝫"), + (0x2F9BE, "M", "螆"), + (0x2F9BF, "X"), + (0x2F9C0, "M", "蟡"), + (0x2F9C1, "M", "蠁"), + (0x2F9C2, "M", "䗹"), + (0x2F9C3, "M", "衠"), + (0x2F9C4, "M", "衣"), + (0x2F9C5, "M", "𧙧"), + (0x2F9C6, "M", "裗"), + (0x2F9C7, "M", "裞"), + (0x2F9C8, "M", "䘵"), + (0x2F9C9, "M", "裺"), + (0x2F9CA, "M", "㒻"), + (0x2F9CB, "M", "𧢮"), + (0x2F9CC, "M", "𧥦"), + (0x2F9CD, "M", "䚾"), + (0x2F9CE, "M", "䛇"), + (0x2F9CF, "M", "誠"), + (0x2F9D0, "M", "諭"), + (0x2F9D1, "M", "變"), + (0x2F9D2, "M", "豕"), + (0x2F9D3, "M", "𧲨"), + (0x2F9D4, "M", "貫"), + (0x2F9D5, "M", "賁"), + (0x2F9D6, "M", "贛"), + (0x2F9D7, "M", "起"), + ] + + +def _seg_81() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: + return [ + (0x2F9D8, "M", "𧼯"), + (0x2F9D9, "M", "𠠄"), + (0x2F9DA, "M", "跋"), + (0x2F9DB, "M", "趼"), + (0x2F9DC, "M", "跰"), + (0x2F9DD, "M", "𠣞"), + (0x2F9DE, "M", "軔"), + (0x2F9DF, "M", "輸"), + (0x2F9E0, "M", "𨗒"), + (0x2F9E1, "M", "𨗭"), + (0x2F9E2, "M", "邔"), + (0x2F9E3, "M", "郱"), + (0x2F9E4, "M", "鄑"), + (0x2F9E5, "M", "𨜮"), + (0x2F9E6, "M", "鄛"), + (0x2F9E7, "M", "鈸"), + (0x2F9E8, "M", "鋗"), + (0x2F9E9, "M", "鋘"), + (0x2F9EA, "M", "鉼"), + (0x2F9EB, "M", "鏹"), + (0x2F9EC, "M", "鐕"), + (0x2F9ED, "M", "𨯺"), + (0x2F9EE, "M", "開"), + (0x2F9EF, "M", "䦕"), + (0x2F9F0, "M", "閷"), + (0x2F9F1, "M", "𨵷"), + (0x2F9F2, "M", "䧦"), + (0x2F9F3, "M", "雃"), + (0x2F9F4, "M", "嶲"), + (0x2F9F5, "M", "霣"), + (0x2F9F6, "M", "𩅅"), + (0x2F9F7, "M", "𩈚"), + (0x2F9F8, "M", "䩮"), + (0x2F9F9, "M", "䩶"), + (0x2F9FA, "M", "韠"), + (0x2F9FB, "M", "𩐊"), + (0x2F9FC, "M", "䪲"), + (0x2F9FD, "M", "𩒖"), + (0x2F9FE, "M", "頋"), + (0x2FA00, "M", "頩"), + (0x2FA01, "M", "𩖶"), + (0x2FA02, "M", "飢"), + (0x2FA03, "M", "䬳"), + (0x2FA04, "M", "餩"), + (0x2FA05, "M", "馧"), + (0x2FA06, "M", "駂"), + (0x2FA07, "M", "駾"), + (0x2FA08, "M", "䯎"), + (0x2FA09, "M", "𩬰"), + (0x2FA0A, "M", "鬒"), + (0x2FA0B, "M", "鱀"), + (0x2FA0C, "M", "鳽"), + (0x2FA0D, "M", "䳎"), + (0x2FA0E, "M", "䳭"), + (0x2FA0F, "M", "鵧"), + (0x2FA10, "M", "𪃎"), + (0x2FA11, "M", "䳸"), + (0x2FA12, "M", "𪄅"), + (0x2FA13, "M", "𪈎"), + (0x2FA14, "M", "𪊑"), + (0x2FA15, "M", "麻"), + (0x2FA16, "M", "䵖"), + (0x2FA17, "M", "黹"), + (0x2FA18, "M", "黾"), + (0x2FA19, "M", "鼅"), + (0x2FA1A, "M", "鼏"), + (0x2FA1B, "M", "鼖"), + (0x2FA1C, "M", "鼻"), + (0x2FA1D, "M", "𪘀"), + (0x2FA1E, "X"), + (0x30000, "V"), + (0x3134B, "X"), + (0x31350, "V"), + (0x323B0, "X"), + (0xE0100, "I"), + (0xE01F0, "X"), + ] + + +uts46data = tuple( + _seg_0() + + _seg_1() + + _seg_2() + + _seg_3() + + _seg_4() + + _seg_5() + + _seg_6() + + _seg_7() + + _seg_8() + + _seg_9() + + _seg_10() + + _seg_11() + + _seg_12() + + _seg_13() + + _seg_14() + + _seg_15() + + _seg_16() + + _seg_17() + + _seg_18() + + _seg_19() + + _seg_20() + + _seg_21() + + _seg_22() + + _seg_23() + + _seg_24() + + _seg_25() + + _seg_26() + + _seg_27() + + _seg_28() + + _seg_29() + + _seg_30() + + _seg_31() + + _seg_32() + + _seg_33() + + _seg_34() + + _seg_35() + + _seg_36() + + _seg_37() + + _seg_38() + + _seg_39() + + _seg_40() + + _seg_41() + + _seg_42() + + _seg_43() + + _seg_44() + + _seg_45() + + _seg_46() + + _seg_47() + + _seg_48() + + _seg_49() + + _seg_50() + + _seg_51() + + _seg_52() + + _seg_53() + + _seg_54() + + _seg_55() + + _seg_56() + + _seg_57() + + _seg_58() + + _seg_59() + + _seg_60() + + _seg_61() + + _seg_62() + + _seg_63() + + _seg_64() + + _seg_65() + + _seg_66() + + _seg_67() + + _seg_68() + + _seg_69() + + _seg_70() + + _seg_71() + + _seg_72() + + _seg_73() + + _seg_74() + + _seg_75() + + _seg_76() + + _seg_77() + + _seg_78() + + _seg_79() + + _seg_80() + + _seg_81() +) # type: Tuple[Union[Tuple[int, str], Tuple[int, str, str]], ...] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..ad68271d864357f386e97295983db59f8fee3cce --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py @@ -0,0 +1,55 @@ +# ruff: noqa: F401 +import os + +from .exceptions import * # noqa: F403 +from .ext import ExtType, Timestamp + +version = (1, 1, 1) +__version__ = "1.1.1" + + +if os.environ.get("MSGPACK_PUREPYTHON"): + from .fallback import Packer, Unpacker, unpackb +else: + try: + from ._cmsgpack import Packer, Unpacker, unpackb + except ImportError: + from .fallback import Packer, Unpacker, unpackb + + +def pack(o, stream, **kwargs): + """ + Pack object `o` and write it to `stream` + + See :class:`Packer` for options. + """ + packer = Packer(**kwargs) + stream.write(packer.pack(o)) + + +def packb(o, **kwargs): + """ + Pack object `o` and return packed bytes + + See :class:`Packer` for options. + """ + return Packer(**kwargs).pack(o) + + +def unpack(stream, **kwargs): + """ + Unpack an object from `stream`. + + Raises `ExtraData` when `stream` contains extra bytes. + See :class:`Unpacker` for options. + """ + data = stream.read() + return unpackb(data, **kwargs) + + +# alias for compatibility to simplejson/marshal/pickle. +load = unpack +loads = unpackb + +dump = pack +dumps = packb diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..06ee5ad62bd4dbc3e958a1a6ad4ace90f61c5a1a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..194cbbfe5bba182bcf8a09286dd18e95598333c9 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..227b531fed1a67bc475f2059bdd8c5b93c8e56d0 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c50b77fc616ff3e30120a941d1b990f304fab7bd Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..d6d2615cfdd0b914d064cdf7eecd45761e4bcaf6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/exceptions.py @@ -0,0 +1,48 @@ +class UnpackException(Exception): + """Base class for some exceptions raised while unpacking. + + NOTE: unpack may raise exception other than subclass of + UnpackException. If you want to catch all error, catch + Exception instead. + """ + + +class BufferFull(UnpackException): + pass + + +class OutOfData(UnpackException): + pass + + +class FormatError(ValueError, UnpackException): + """Invalid msgpack format""" + + +class StackError(ValueError, UnpackException): + """Too nested""" + + +# Deprecated. Use ValueError instead +UnpackValueError = ValueError + + +class ExtraData(UnpackValueError): + """ExtraData is raised when there is trailing data. + + This exception is raised while only one-shot (not streaming) + unpack. + """ + + def __init__(self, unpacked, extra): + self.unpacked = unpacked + self.extra = extra + + def __str__(self): + return "unpack(b) received extra data." + + +# Deprecated. Use Exception instead to catch all exception during packing. +PackException = Exception +PackValueError = ValueError +PackOverflowError = OverflowError diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py new file mode 100644 index 0000000000000000000000000000000000000000..9694819a7df1570ccbb41de065cb7052f9af8e79 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py @@ -0,0 +1,170 @@ +import datetime +import struct +from collections import namedtuple + + +class ExtType(namedtuple("ExtType", "code data")): + """ExtType represents ext type in msgpack.""" + + def __new__(cls, code, data): + if not isinstance(code, int): + raise TypeError("code must be int") + if not isinstance(data, bytes): + raise TypeError("data must be bytes") + if not 0 <= code <= 127: + raise ValueError("code must be 0~127") + return super().__new__(cls, code, data) + + +class Timestamp: + """Timestamp represents the Timestamp extension type in msgpack. + + When built with Cython, msgpack uses C methods to pack and unpack `Timestamp`. + When using pure-Python msgpack, :func:`to_bytes` and :func:`from_bytes` are used to pack and + unpack `Timestamp`. + + This class is immutable: Do not override seconds and nanoseconds. + """ + + __slots__ = ["seconds", "nanoseconds"] + + def __init__(self, seconds, nanoseconds=0): + """Initialize a Timestamp object. + + :param int seconds: + Number of seconds since the UNIX epoch (00:00:00 UTC Jan 1 1970, minus leap seconds). + May be negative. + + :param int nanoseconds: + Number of nanoseconds to add to `seconds` to get fractional time. + Maximum is 999_999_999. Default is 0. + + Note: Negative times (before the UNIX epoch) are represented as neg. seconds + pos. ns. + """ + if not isinstance(seconds, int): + raise TypeError("seconds must be an integer") + if not isinstance(nanoseconds, int): + raise TypeError("nanoseconds must be an integer") + if not (0 <= nanoseconds < 10**9): + raise ValueError("nanoseconds must be a non-negative integer less than 999999999.") + self.seconds = seconds + self.nanoseconds = nanoseconds + + def __repr__(self): + """String representation of Timestamp.""" + return f"Timestamp(seconds={self.seconds}, nanoseconds={self.nanoseconds})" + + def __eq__(self, other): + """Check for equality with another Timestamp object""" + if type(other) is self.__class__: + return self.seconds == other.seconds and self.nanoseconds == other.nanoseconds + return False + + def __ne__(self, other): + """not-equals method (see :func:`__eq__()`)""" + return not self.__eq__(other) + + def __hash__(self): + return hash((self.seconds, self.nanoseconds)) + + @staticmethod + def from_bytes(b): + """Unpack bytes into a `Timestamp` object. + + Used for pure-Python msgpack unpacking. + + :param b: Payload from msgpack ext message with code -1 + :type b: bytes + + :returns: Timestamp object unpacked from msgpack ext payload + :rtype: Timestamp + """ + if len(b) == 4: + seconds = struct.unpack("!L", b)[0] + nanoseconds = 0 + elif len(b) == 8: + data64 = struct.unpack("!Q", b)[0] + seconds = data64 & 0x00000003FFFFFFFF + nanoseconds = data64 >> 34 + elif len(b) == 12: + nanoseconds, seconds = struct.unpack("!Iq", b) + else: + raise ValueError( + "Timestamp type can only be created from 32, 64, or 96-bit byte objects" + ) + return Timestamp(seconds, nanoseconds) + + def to_bytes(self): + """Pack this Timestamp object into bytes. + + Used for pure-Python msgpack packing. + + :returns data: Payload for EXT message with code -1 (timestamp type) + :rtype: bytes + """ + if (self.seconds >> 34) == 0: # seconds is non-negative and fits in 34 bits + data64 = self.nanoseconds << 34 | self.seconds + if data64 & 0xFFFFFFFF00000000 == 0: + # nanoseconds is zero and seconds < 2**32, so timestamp 32 + data = struct.pack("!L", data64) + else: + # timestamp 64 + data = struct.pack("!Q", data64) + else: + # timestamp 96 + data = struct.pack("!Iq", self.nanoseconds, self.seconds) + return data + + @staticmethod + def from_unix(unix_sec): + """Create a Timestamp from posix timestamp in seconds. + + :param unix_float: Posix timestamp in seconds. + :type unix_float: int or float + """ + seconds = int(unix_sec // 1) + nanoseconds = int((unix_sec % 1) * 10**9) + return Timestamp(seconds, nanoseconds) + + def to_unix(self): + """Get the timestamp as a floating-point value. + + :returns: posix timestamp + :rtype: float + """ + return self.seconds + self.nanoseconds / 1e9 + + @staticmethod + def from_unix_nano(unix_ns): + """Create a Timestamp from posix timestamp in nanoseconds. + + :param int unix_ns: Posix timestamp in nanoseconds. + :rtype: Timestamp + """ + return Timestamp(*divmod(unix_ns, 10**9)) + + def to_unix_nano(self): + """Get the timestamp as a unixtime in nanoseconds. + + :returns: posix timestamp in nanoseconds + :rtype: int + """ + return self.seconds * 10**9 + self.nanoseconds + + def to_datetime(self): + """Get the timestamp as a UTC datetime. + + :rtype: `datetime.datetime` + """ + utc = datetime.timezone.utc + return datetime.datetime.fromtimestamp(0, utc) + datetime.timedelta( + seconds=self.seconds, microseconds=self.nanoseconds // 1000 + ) + + @staticmethod + def from_datetime(dt): + """Create a Timestamp from datetime with tzinfo. + + :rtype: Timestamp + """ + return Timestamp(seconds=int(dt.timestamp()), nanoseconds=dt.microsecond * 1000) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py new file mode 100644 index 0000000000000000000000000000000000000000..b02e47cfb91a54a7205881ee87a5db2ea8d049a7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py @@ -0,0 +1,929 @@ +"""Fallback pure Python implementation of msgpack""" + +import struct +import sys +from datetime import datetime as _DateTime + +if hasattr(sys, "pypy_version_info"): + from __pypy__ import newlist_hint + from __pypy__.builders import BytesBuilder + + _USING_STRINGBUILDER = True + + class BytesIO: + def __init__(self, s=b""): + if s: + self.builder = BytesBuilder(len(s)) + self.builder.append(s) + else: + self.builder = BytesBuilder() + + def write(self, s): + if isinstance(s, memoryview): + s = s.tobytes() + elif isinstance(s, bytearray): + s = bytes(s) + self.builder.append(s) + + def getvalue(self): + return self.builder.build() + +else: + from io import BytesIO + + _USING_STRINGBUILDER = False + + def newlist_hint(size): + return [] + + +from .exceptions import BufferFull, ExtraData, FormatError, OutOfData, StackError +from .ext import ExtType, Timestamp + +EX_SKIP = 0 +EX_CONSTRUCT = 1 +EX_READ_ARRAY_HEADER = 2 +EX_READ_MAP_HEADER = 3 + +TYPE_IMMEDIATE = 0 +TYPE_ARRAY = 1 +TYPE_MAP = 2 +TYPE_RAW = 3 +TYPE_BIN = 4 +TYPE_EXT = 5 + +DEFAULT_RECURSE_LIMIT = 511 + + +def _check_type_strict(obj, t, type=type, tuple=tuple): + if type(t) is tuple: + return type(obj) in t + else: + return type(obj) is t + + +def _get_data_from_buffer(obj): + view = memoryview(obj) + if view.itemsize != 1: + raise ValueError("cannot unpack from multi-byte object") + return view + + +def unpackb(packed, **kwargs): + """ + Unpack an object from `packed`. + + Raises ``ExtraData`` when *packed* contains extra bytes. + Raises ``ValueError`` when *packed* is incomplete. + Raises ``FormatError`` when *packed* is not valid msgpack. + Raises ``StackError`` when *packed* contains too nested. + Other exceptions can be raised during unpacking. + + See :class:`Unpacker` for options. + """ + unpacker = Unpacker(None, max_buffer_size=len(packed), **kwargs) + unpacker.feed(packed) + try: + ret = unpacker._unpack() + except OutOfData: + raise ValueError("Unpack failed: incomplete input") + except RecursionError: + raise StackError + if unpacker._got_extradata(): + raise ExtraData(ret, unpacker._get_extradata()) + return ret + + +_NO_FORMAT_USED = "" +_MSGPACK_HEADERS = { + 0xC4: (1, _NO_FORMAT_USED, TYPE_BIN), + 0xC5: (2, ">H", TYPE_BIN), + 0xC6: (4, ">I", TYPE_BIN), + 0xC7: (2, "Bb", TYPE_EXT), + 0xC8: (3, ">Hb", TYPE_EXT), + 0xC9: (5, ">Ib", TYPE_EXT), + 0xCA: (4, ">f"), + 0xCB: (8, ">d"), + 0xCC: (1, _NO_FORMAT_USED), + 0xCD: (2, ">H"), + 0xCE: (4, ">I"), + 0xCF: (8, ">Q"), + 0xD0: (1, "b"), + 0xD1: (2, ">h"), + 0xD2: (4, ">i"), + 0xD3: (8, ">q"), + 0xD4: (1, "b1s", TYPE_EXT), + 0xD5: (2, "b2s", TYPE_EXT), + 0xD6: (4, "b4s", TYPE_EXT), + 0xD7: (8, "b8s", TYPE_EXT), + 0xD8: (16, "b16s", TYPE_EXT), + 0xD9: (1, _NO_FORMAT_USED, TYPE_RAW), + 0xDA: (2, ">H", TYPE_RAW), + 0xDB: (4, ">I", TYPE_RAW), + 0xDC: (2, ">H", TYPE_ARRAY), + 0xDD: (4, ">I", TYPE_ARRAY), + 0xDE: (2, ">H", TYPE_MAP), + 0xDF: (4, ">I", TYPE_MAP), +} + + +class Unpacker: + """Streaming unpacker. + + Arguments: + + :param file_like: + File-like object having `.read(n)` method. + If specified, unpacker reads serialized data from it and `.feed()` is not usable. + + :param int read_size: + Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`) + + :param bool use_list: + If true, unpack msgpack array to Python list. + Otherwise, unpack to Python tuple. (default: True) + + :param bool raw: + If true, unpack msgpack raw to Python bytes. + Otherwise, unpack to Python str by decoding with UTF-8 encoding (default). + + :param int timestamp: + Control how timestamp type is unpacked: + + 0 - Timestamp + 1 - float (Seconds from the EPOCH) + 2 - int (Nanoseconds from the EPOCH) + 3 - datetime.datetime (UTC). + + :param bool strict_map_key: + If true (default), only str or bytes are accepted for map (dict) keys. + + :param object_hook: + When specified, it should be callable. + Unpacker calls it with a dict argument after unpacking msgpack map. + (See also simplejson) + + :param object_pairs_hook: + When specified, it should be callable. + Unpacker calls it with a list of key-value pairs after unpacking msgpack map. + (See also simplejson) + + :param str unicode_errors: + The error handler for decoding unicode. (default: 'strict') + This option should be used only when you have msgpack data which + contains invalid UTF-8 string. + + :param int max_buffer_size: + Limits size of data waiting unpacked. 0 means 2**32-1. + The default value is 100*1024*1024 (100MiB). + Raises `BufferFull` exception when it is insufficient. + You should set this parameter when unpacking data from untrusted source. + + :param int max_str_len: + Deprecated, use *max_buffer_size* instead. + Limits max length of str. (default: max_buffer_size) + + :param int max_bin_len: + Deprecated, use *max_buffer_size* instead. + Limits max length of bin. (default: max_buffer_size) + + :param int max_array_len: + Limits max length of array. + (default: max_buffer_size) + + :param int max_map_len: + Limits max length of map. + (default: max_buffer_size//2) + + :param int max_ext_len: + Deprecated, use *max_buffer_size* instead. + Limits max size of ext type. (default: max_buffer_size) + + Example of streaming deserialize from file-like object:: + + unpacker = Unpacker(file_like) + for o in unpacker: + process(o) + + Example of streaming deserialize from socket:: + + unpacker = Unpacker() + while True: + buf = sock.recv(1024**2) + if not buf: + break + unpacker.feed(buf) + for o in unpacker: + process(o) + + Raises ``ExtraData`` when *packed* contains extra bytes. + Raises ``OutOfData`` when *packed* is incomplete. + Raises ``FormatError`` when *packed* is not valid msgpack. + Raises ``StackError`` when *packed* contains too nested. + Other exceptions can be raised during unpacking. + """ + + def __init__( + self, + file_like=None, + *, + read_size=0, + use_list=True, + raw=False, + timestamp=0, + strict_map_key=True, + object_hook=None, + object_pairs_hook=None, + list_hook=None, + unicode_errors=None, + max_buffer_size=100 * 1024 * 1024, + ext_hook=ExtType, + max_str_len=-1, + max_bin_len=-1, + max_array_len=-1, + max_map_len=-1, + max_ext_len=-1, + ): + if unicode_errors is None: + unicode_errors = "strict" + + if file_like is None: + self._feeding = True + else: + if not callable(file_like.read): + raise TypeError("`file_like.read` must be callable") + self.file_like = file_like + self._feeding = False + + #: array of bytes fed. + self._buffer = bytearray() + #: Which position we currently reads + self._buff_i = 0 + + # When Unpacker is used as an iterable, between the calls to next(), + # the buffer is not "consumed" completely, for efficiency sake. + # Instead, it is done sloppily. To make sure we raise BufferFull at + # the correct moments, we have to keep track of how sloppy we were. + # Furthermore, when the buffer is incomplete (that is: in the case + # we raise an OutOfData) we need to rollback the buffer to the correct + # state, which _buf_checkpoint records. + self._buf_checkpoint = 0 + + if not max_buffer_size: + max_buffer_size = 2**31 - 1 + if max_str_len == -1: + max_str_len = max_buffer_size + if max_bin_len == -1: + max_bin_len = max_buffer_size + if max_array_len == -1: + max_array_len = max_buffer_size + if max_map_len == -1: + max_map_len = max_buffer_size // 2 + if max_ext_len == -1: + max_ext_len = max_buffer_size + + self._max_buffer_size = max_buffer_size + if read_size > self._max_buffer_size: + raise ValueError("read_size must be smaller than max_buffer_size") + self._read_size = read_size or min(self._max_buffer_size, 16 * 1024) + self._raw = bool(raw) + self._strict_map_key = bool(strict_map_key) + self._unicode_errors = unicode_errors + self._use_list = use_list + if not (0 <= timestamp <= 3): + raise ValueError("timestamp must be 0..3") + self._timestamp = timestamp + self._list_hook = list_hook + self._object_hook = object_hook + self._object_pairs_hook = object_pairs_hook + self._ext_hook = ext_hook + self._max_str_len = max_str_len + self._max_bin_len = max_bin_len + self._max_array_len = max_array_len + self._max_map_len = max_map_len + self._max_ext_len = max_ext_len + self._stream_offset = 0 + + if list_hook is not None and not callable(list_hook): + raise TypeError("`list_hook` is not callable") + if object_hook is not None and not callable(object_hook): + raise TypeError("`object_hook` is not callable") + if object_pairs_hook is not None and not callable(object_pairs_hook): + raise TypeError("`object_pairs_hook` is not callable") + if object_hook is not None and object_pairs_hook is not None: + raise TypeError("object_pairs_hook and object_hook are mutually exclusive") + if not callable(ext_hook): + raise TypeError("`ext_hook` is not callable") + + def feed(self, next_bytes): + assert self._feeding + view = _get_data_from_buffer(next_bytes) + if len(self._buffer) - self._buff_i + len(view) > self._max_buffer_size: + raise BufferFull + + # Strip buffer before checkpoint before reading file. + if self._buf_checkpoint > 0: + del self._buffer[: self._buf_checkpoint] + self._buff_i -= self._buf_checkpoint + self._buf_checkpoint = 0 + + # Use extend here: INPLACE_ADD += doesn't reliably typecast memoryview in jython + self._buffer.extend(view) + view.release() + + def _consume(self): + """Gets rid of the used parts of the buffer.""" + self._stream_offset += self._buff_i - self._buf_checkpoint + self._buf_checkpoint = self._buff_i + + def _got_extradata(self): + return self._buff_i < len(self._buffer) + + def _get_extradata(self): + return self._buffer[self._buff_i :] + + def read_bytes(self, n): + ret = self._read(n, raise_outofdata=False) + self._consume() + return ret + + def _read(self, n, raise_outofdata=True): + # (int) -> bytearray + self._reserve(n, raise_outofdata=raise_outofdata) + i = self._buff_i + ret = self._buffer[i : i + n] + self._buff_i = i + len(ret) + return ret + + def _reserve(self, n, raise_outofdata=True): + remain_bytes = len(self._buffer) - self._buff_i - n + + # Fast path: buffer has n bytes already + if remain_bytes >= 0: + return + + if self._feeding: + self._buff_i = self._buf_checkpoint + raise OutOfData + + # Strip buffer before checkpoint before reading file. + if self._buf_checkpoint > 0: + del self._buffer[: self._buf_checkpoint] + self._buff_i -= self._buf_checkpoint + self._buf_checkpoint = 0 + + # Read from file + remain_bytes = -remain_bytes + if remain_bytes + len(self._buffer) > self._max_buffer_size: + raise BufferFull + while remain_bytes > 0: + to_read_bytes = max(self._read_size, remain_bytes) + read_data = self.file_like.read(to_read_bytes) + if not read_data: + break + assert isinstance(read_data, bytes) + self._buffer += read_data + remain_bytes -= len(read_data) + + if len(self._buffer) < n + self._buff_i and raise_outofdata: + self._buff_i = 0 # rollback + raise OutOfData + + def _read_header(self): + typ = TYPE_IMMEDIATE + n = 0 + obj = None + self._reserve(1) + b = self._buffer[self._buff_i] + self._buff_i += 1 + if b & 0b10000000 == 0: + obj = b + elif b & 0b11100000 == 0b11100000: + obj = -1 - (b ^ 0xFF) + elif b & 0b11100000 == 0b10100000: + n = b & 0b00011111 + typ = TYPE_RAW + if n > self._max_str_len: + raise ValueError(f"{n} exceeds max_str_len({self._max_str_len})") + obj = self._read(n) + elif b & 0b11110000 == 0b10010000: + n = b & 0b00001111 + typ = TYPE_ARRAY + if n > self._max_array_len: + raise ValueError(f"{n} exceeds max_array_len({self._max_array_len})") + elif b & 0b11110000 == 0b10000000: + n = b & 0b00001111 + typ = TYPE_MAP + if n > self._max_map_len: + raise ValueError(f"{n} exceeds max_map_len({self._max_map_len})") + elif b == 0xC0: + obj = None + elif b == 0xC2: + obj = False + elif b == 0xC3: + obj = True + elif 0xC4 <= b <= 0xC6: + size, fmt, typ = _MSGPACK_HEADERS[b] + self._reserve(size) + if len(fmt) > 0: + n = struct.unpack_from(fmt, self._buffer, self._buff_i)[0] + else: + n = self._buffer[self._buff_i] + self._buff_i += size + if n > self._max_bin_len: + raise ValueError(f"{n} exceeds max_bin_len({self._max_bin_len})") + obj = self._read(n) + elif 0xC7 <= b <= 0xC9: + size, fmt, typ = _MSGPACK_HEADERS[b] + self._reserve(size) + L, n = struct.unpack_from(fmt, self._buffer, self._buff_i) + self._buff_i += size + if L > self._max_ext_len: + raise ValueError(f"{L} exceeds max_ext_len({self._max_ext_len})") + obj = self._read(L) + elif 0xCA <= b <= 0xD3: + size, fmt = _MSGPACK_HEADERS[b] + self._reserve(size) + if len(fmt) > 0: + obj = struct.unpack_from(fmt, self._buffer, self._buff_i)[0] + else: + obj = self._buffer[self._buff_i] + self._buff_i += size + elif 0xD4 <= b <= 0xD8: + size, fmt, typ = _MSGPACK_HEADERS[b] + if self._max_ext_len < size: + raise ValueError(f"{size} exceeds max_ext_len({self._max_ext_len})") + self._reserve(size + 1) + n, obj = struct.unpack_from(fmt, self._buffer, self._buff_i) + self._buff_i += size + 1 + elif 0xD9 <= b <= 0xDB: + size, fmt, typ = _MSGPACK_HEADERS[b] + self._reserve(size) + if len(fmt) > 0: + (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i) + else: + n = self._buffer[self._buff_i] + self._buff_i += size + if n > self._max_str_len: + raise ValueError(f"{n} exceeds max_str_len({self._max_str_len})") + obj = self._read(n) + elif 0xDC <= b <= 0xDD: + size, fmt, typ = _MSGPACK_HEADERS[b] + self._reserve(size) + (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i) + self._buff_i += size + if n > self._max_array_len: + raise ValueError(f"{n} exceeds max_array_len({self._max_array_len})") + elif 0xDE <= b <= 0xDF: + size, fmt, typ = _MSGPACK_HEADERS[b] + self._reserve(size) + (n,) = struct.unpack_from(fmt, self._buffer, self._buff_i) + self._buff_i += size + if n > self._max_map_len: + raise ValueError(f"{n} exceeds max_map_len({self._max_map_len})") + else: + raise FormatError("Unknown header: 0x%x" % b) + return typ, n, obj + + def _unpack(self, execute=EX_CONSTRUCT): + typ, n, obj = self._read_header() + + if execute == EX_READ_ARRAY_HEADER: + if typ != TYPE_ARRAY: + raise ValueError("Expected array") + return n + if execute == EX_READ_MAP_HEADER: + if typ != TYPE_MAP: + raise ValueError("Expected map") + return n + # TODO should we eliminate the recursion? + if typ == TYPE_ARRAY: + if execute == EX_SKIP: + for i in range(n): + # TODO check whether we need to call `list_hook` + self._unpack(EX_SKIP) + return + ret = newlist_hint(n) + for i in range(n): + ret.append(self._unpack(EX_CONSTRUCT)) + if self._list_hook is not None: + ret = self._list_hook(ret) + # TODO is the interaction between `list_hook` and `use_list` ok? + return ret if self._use_list else tuple(ret) + if typ == TYPE_MAP: + if execute == EX_SKIP: + for i in range(n): + # TODO check whether we need to call hooks + self._unpack(EX_SKIP) + self._unpack(EX_SKIP) + return + if self._object_pairs_hook is not None: + ret = self._object_pairs_hook( + (self._unpack(EX_CONSTRUCT), self._unpack(EX_CONSTRUCT)) for _ in range(n) + ) + else: + ret = {} + for _ in range(n): + key = self._unpack(EX_CONSTRUCT) + if self._strict_map_key and type(key) not in (str, bytes): + raise ValueError("%s is not allowed for map key" % str(type(key))) + if isinstance(key, str): + key = sys.intern(key) + ret[key] = self._unpack(EX_CONSTRUCT) + if self._object_hook is not None: + ret = self._object_hook(ret) + return ret + if execute == EX_SKIP: + return + if typ == TYPE_RAW: + if self._raw: + obj = bytes(obj) + else: + obj = obj.decode("utf_8", self._unicode_errors) + return obj + if typ == TYPE_BIN: + return bytes(obj) + if typ == TYPE_EXT: + if n == -1: # timestamp + ts = Timestamp.from_bytes(bytes(obj)) + if self._timestamp == 1: + return ts.to_unix() + elif self._timestamp == 2: + return ts.to_unix_nano() + elif self._timestamp == 3: + return ts.to_datetime() + else: + return ts + else: + return self._ext_hook(n, bytes(obj)) + assert typ == TYPE_IMMEDIATE + return obj + + def __iter__(self): + return self + + def __next__(self): + try: + ret = self._unpack(EX_CONSTRUCT) + self._consume() + return ret + except OutOfData: + self._consume() + raise StopIteration + except RecursionError: + raise StackError + + next = __next__ + + def skip(self): + self._unpack(EX_SKIP) + self._consume() + + def unpack(self): + try: + ret = self._unpack(EX_CONSTRUCT) + except RecursionError: + raise StackError + self._consume() + return ret + + def read_array_header(self): + ret = self._unpack(EX_READ_ARRAY_HEADER) + self._consume() + return ret + + def read_map_header(self): + ret = self._unpack(EX_READ_MAP_HEADER) + self._consume() + return ret + + def tell(self): + return self._stream_offset + + +class Packer: + """ + MessagePack Packer + + Usage:: + + packer = Packer() + astream.write(packer.pack(a)) + astream.write(packer.pack(b)) + + Packer's constructor has some keyword arguments: + + :param default: + When specified, it should be callable. + Convert user type to builtin type that Packer supports. + See also simplejson's document. + + :param bool use_single_float: + Use single precision float type for float. (default: False) + + :param bool autoreset: + Reset buffer after each pack and return its content as `bytes`. (default: True). + If set this to false, use `bytes()` to get content and `.reset()` to clear buffer. + + :param bool use_bin_type: + Use bin type introduced in msgpack spec 2.0 for bytes. + It also enables str8 type for unicode. (default: True) + + :param bool strict_types: + If set to true, types will be checked to be exact. Derived classes + from serializable types will not be serialized and will be + treated as unsupported type and forwarded to default. + Additionally tuples will not be serialized as lists. + This is useful when trying to implement accurate serialization + for python types. + + :param bool datetime: + If set to true, datetime with tzinfo is packed into Timestamp type. + Note that the tzinfo is stripped in the timestamp. + You can get UTC datetime with `timestamp=3` option of the Unpacker. + + :param str unicode_errors: + The error handler for encoding unicode. (default: 'strict') + DO NOT USE THIS!! This option is kept for very specific usage. + + :param int buf_size: + Internal buffer size. This option is used only for C implementation. + """ + + def __init__( + self, + *, + default=None, + use_single_float=False, + autoreset=True, + use_bin_type=True, + strict_types=False, + datetime=False, + unicode_errors=None, + buf_size=None, + ): + self._strict_types = strict_types + self._use_float = use_single_float + self._autoreset = autoreset + self._use_bin_type = use_bin_type + self._buffer = BytesIO() + self._datetime = bool(datetime) + self._unicode_errors = unicode_errors or "strict" + if default is not None and not callable(default): + raise TypeError("default must be callable") + self._default = default + + def _pack( + self, + obj, + nest_limit=DEFAULT_RECURSE_LIMIT, + check=isinstance, + check_type_strict=_check_type_strict, + ): + default_used = False + if self._strict_types: + check = check_type_strict + list_types = list + else: + list_types = (list, tuple) + while True: + if nest_limit < 0: + raise ValueError("recursion limit exceeded") + if obj is None: + return self._buffer.write(b"\xc0") + if check(obj, bool): + if obj: + return self._buffer.write(b"\xc3") + return self._buffer.write(b"\xc2") + if check(obj, int): + if 0 <= obj < 0x80: + return self._buffer.write(struct.pack("B", obj)) + if -0x20 <= obj < 0: + return self._buffer.write(struct.pack("b", obj)) + if 0x80 <= obj <= 0xFF: + return self._buffer.write(struct.pack("BB", 0xCC, obj)) + if -0x80 <= obj < 0: + return self._buffer.write(struct.pack(">Bb", 0xD0, obj)) + if 0xFF < obj <= 0xFFFF: + return self._buffer.write(struct.pack(">BH", 0xCD, obj)) + if -0x8000 <= obj < -0x80: + return self._buffer.write(struct.pack(">Bh", 0xD1, obj)) + if 0xFFFF < obj <= 0xFFFFFFFF: + return self._buffer.write(struct.pack(">BI", 0xCE, obj)) + if -0x80000000 <= obj < -0x8000: + return self._buffer.write(struct.pack(">Bi", 0xD2, obj)) + if 0xFFFFFFFF < obj <= 0xFFFFFFFFFFFFFFFF: + return self._buffer.write(struct.pack(">BQ", 0xCF, obj)) + if -0x8000000000000000 <= obj < -0x80000000: + return self._buffer.write(struct.pack(">Bq", 0xD3, obj)) + if not default_used and self._default is not None: + obj = self._default(obj) + default_used = True + continue + raise OverflowError("Integer value out of range") + if check(obj, (bytes, bytearray)): + n = len(obj) + if n >= 2**32: + raise ValueError("%s is too large" % type(obj).__name__) + self._pack_bin_header(n) + return self._buffer.write(obj) + if check(obj, str): + obj = obj.encode("utf-8", self._unicode_errors) + n = len(obj) + if n >= 2**32: + raise ValueError("String is too large") + self._pack_raw_header(n) + return self._buffer.write(obj) + if check(obj, memoryview): + n = obj.nbytes + if n >= 2**32: + raise ValueError("Memoryview is too large") + self._pack_bin_header(n) + return self._buffer.write(obj) + if check(obj, float): + if self._use_float: + return self._buffer.write(struct.pack(">Bf", 0xCA, obj)) + return self._buffer.write(struct.pack(">Bd", 0xCB, obj)) + if check(obj, (ExtType, Timestamp)): + if check(obj, Timestamp): + code = -1 + data = obj.to_bytes() + else: + code = obj.code + data = obj.data + assert isinstance(code, int) + assert isinstance(data, bytes) + L = len(data) + if L == 1: + self._buffer.write(b"\xd4") + elif L == 2: + self._buffer.write(b"\xd5") + elif L == 4: + self._buffer.write(b"\xd6") + elif L == 8: + self._buffer.write(b"\xd7") + elif L == 16: + self._buffer.write(b"\xd8") + elif L <= 0xFF: + self._buffer.write(struct.pack(">BB", 0xC7, L)) + elif L <= 0xFFFF: + self._buffer.write(struct.pack(">BH", 0xC8, L)) + else: + self._buffer.write(struct.pack(">BI", 0xC9, L)) + self._buffer.write(struct.pack("b", code)) + self._buffer.write(data) + return + if check(obj, list_types): + n = len(obj) + self._pack_array_header(n) + for i in range(n): + self._pack(obj[i], nest_limit - 1) + return + if check(obj, dict): + return self._pack_map_pairs(len(obj), obj.items(), nest_limit - 1) + + if self._datetime and check(obj, _DateTime) and obj.tzinfo is not None: + obj = Timestamp.from_datetime(obj) + default_used = 1 + continue + + if not default_used and self._default is not None: + obj = self._default(obj) + default_used = 1 + continue + + if self._datetime and check(obj, _DateTime): + raise ValueError(f"Cannot serialize {obj!r} where tzinfo=None") + + raise TypeError(f"Cannot serialize {obj!r}") + + def pack(self, obj): + try: + self._pack(obj) + except: + self._buffer = BytesIO() # force reset + raise + if self._autoreset: + ret = self._buffer.getvalue() + self._buffer = BytesIO() + return ret + + def pack_map_pairs(self, pairs): + self._pack_map_pairs(len(pairs), pairs) + if self._autoreset: + ret = self._buffer.getvalue() + self._buffer = BytesIO() + return ret + + def pack_array_header(self, n): + if n >= 2**32: + raise ValueError + self._pack_array_header(n) + if self._autoreset: + ret = self._buffer.getvalue() + self._buffer = BytesIO() + return ret + + def pack_map_header(self, n): + if n >= 2**32: + raise ValueError + self._pack_map_header(n) + if self._autoreset: + ret = self._buffer.getvalue() + self._buffer = BytesIO() + return ret + + def pack_ext_type(self, typecode, data): + if not isinstance(typecode, int): + raise TypeError("typecode must have int type.") + if not 0 <= typecode <= 127: + raise ValueError("typecode should be 0-127") + if not isinstance(data, bytes): + raise TypeError("data must have bytes type") + L = len(data) + if L > 0xFFFFFFFF: + raise ValueError("Too large data") + if L == 1: + self._buffer.write(b"\xd4") + elif L == 2: + self._buffer.write(b"\xd5") + elif L == 4: + self._buffer.write(b"\xd6") + elif L == 8: + self._buffer.write(b"\xd7") + elif L == 16: + self._buffer.write(b"\xd8") + elif L <= 0xFF: + self._buffer.write(b"\xc7" + struct.pack("B", L)) + elif L <= 0xFFFF: + self._buffer.write(b"\xc8" + struct.pack(">H", L)) + else: + self._buffer.write(b"\xc9" + struct.pack(">I", L)) + self._buffer.write(struct.pack("B", typecode)) + self._buffer.write(data) + + def _pack_array_header(self, n): + if n <= 0x0F: + return self._buffer.write(struct.pack("B", 0x90 + n)) + if n <= 0xFFFF: + return self._buffer.write(struct.pack(">BH", 0xDC, n)) + if n <= 0xFFFFFFFF: + return self._buffer.write(struct.pack(">BI", 0xDD, n)) + raise ValueError("Array is too large") + + def _pack_map_header(self, n): + if n <= 0x0F: + return self._buffer.write(struct.pack("B", 0x80 + n)) + if n <= 0xFFFF: + return self._buffer.write(struct.pack(">BH", 0xDE, n)) + if n <= 0xFFFFFFFF: + return self._buffer.write(struct.pack(">BI", 0xDF, n)) + raise ValueError("Dict is too large") + + def _pack_map_pairs(self, n, pairs, nest_limit=DEFAULT_RECURSE_LIMIT): + self._pack_map_header(n) + for k, v in pairs: + self._pack(k, nest_limit - 1) + self._pack(v, nest_limit - 1) + + def _pack_raw_header(self, n): + if n <= 0x1F: + self._buffer.write(struct.pack("B", 0xA0 + n)) + elif self._use_bin_type and n <= 0xFF: + self._buffer.write(struct.pack(">BB", 0xD9, n)) + elif n <= 0xFFFF: + self._buffer.write(struct.pack(">BH", 0xDA, n)) + elif n <= 0xFFFFFFFF: + self._buffer.write(struct.pack(">BI", 0xDB, n)) + else: + raise ValueError("Raw is too large") + + def _pack_bin_header(self, n): + if not self._use_bin_type: + return self._pack_raw_header(n) + elif n <= 0xFF: + return self._buffer.write(struct.pack(">BB", 0xC4, n)) + elif n <= 0xFFFF: + return self._buffer.write(struct.pack(">BH", 0xC5, n)) + elif n <= 0xFFFFFFFF: + return self._buffer.write(struct.pack(">BI", 0xC6, n)) + else: + raise ValueError("Bin is too large") + + def bytes(self): + """Return internal buffer contents as bytes object""" + return self._buffer.getvalue() + + def reset(self): + """Reset internal buffer. + + This method is useful only when autoreset=False. + """ + self._buffer = BytesIO() + + def getbuffer(self): + """Return view of internal buffer.""" + if _USING_STRINGBUILDER: + return memoryview(self.bytes()) + else: + return self._buffer.getbuffer() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..d45c22cfd88e2b88976b46d4171a502b602658ec --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py @@ -0,0 +1,15 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +__title__ = "packaging" +__summary__ = "Core utilities for Python packages" +__uri__ = "https://github.com/pypa/packaging" + +__version__ = "25.0" + +__author__ = "Donald Stufft and individual contributors" +__email__ = "donald@stufft.io" + +__license__ = "BSD-2-Clause or Apache-2.0" +__copyright__ = f"2014 {__author__}" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ce36466442eaf09c31de6f2d1f4df99ad04e7f4f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6a0b37a1b5f6a30e4f872b523117eb8bac8937c5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5a5295434cfea6491cc9b7ee29db8839c9d86778 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ed9043da473096e9008175ab8d1d9383fc9e4b4e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4cc99c213b13a75952babd34699d7bd5226e2b60 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4d6cc4af7227a7f6cc53c81b1de0e3a92d264935 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..309d29f253387f65ab0fdb5ec57148fef21a3599 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..72f60a8d649b4ba6d98324f7f90676b2de109fb3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ff1877ab269765a1cb267c0ad1f36962ec20cd8e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..843be64e50be5502fb80146ff62abbb81b1c0292 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c386920e7cbe85ce130c36bdf02f1d0166a2f492 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..312cf35656f1868f48baae0618f91333aa633d3b Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8257ccce3d1cc92f3b61193767c16b454b0d4855 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a60bd15f0f5b842ec92e8a0cdd60903163e6aa56 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py new file mode 100644 index 0000000000000000000000000000000000000000..7a5afc33b0a2401cf509bb6a8d1143d5230324d9 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py @@ -0,0 +1,109 @@ +""" +ELF file parser. + +This provides a class ``ELFFile`` that parses an ELF executable in a similar +interface to ``ZipFile``. Only the read interface is implemented. + +Based on: https://gist.github.com/lyssdod/f51579ae8d93c8657a5564aefc2ffbca +ELF header: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html +""" + +from __future__ import annotations + +import enum +import os +import struct +from typing import IO + + +class ELFInvalid(ValueError): + pass + + +class EIClass(enum.IntEnum): + C32 = 1 + C64 = 2 + + +class EIData(enum.IntEnum): + Lsb = 1 + Msb = 2 + + +class EMachine(enum.IntEnum): + I386 = 3 + S390 = 22 + Arm = 40 + X8664 = 62 + AArc64 = 183 + + +class ELFFile: + """ + Representation of an ELF executable. + """ + + def __init__(self, f: IO[bytes]) -> None: + self._f = f + + try: + ident = self._read("16B") + except struct.error as e: + raise ELFInvalid("unable to parse identification") from e + magic = bytes(ident[:4]) + if magic != b"\x7fELF": + raise ELFInvalid(f"invalid magic: {magic!r}") + + self.capacity = ident[4] # Format for program header (bitness). + self.encoding = ident[5] # Data structure encoding (endianness). + + try: + # e_fmt: Format for program header. + # p_fmt: Format for section header. + # p_idx: Indexes to find p_type, p_offset, and p_filesz. + e_fmt, self._p_fmt, self._p_idx = { + (1, 1): ("HHIIIIIHHH", ">IIIIIIII", (0, 1, 4)), # 32-bit MSB. + (2, 1): ("HHIQQQIHHH", ">IIQQQQQQ", (0, 2, 5)), # 64-bit MSB. + }[(self.capacity, self.encoding)] + except KeyError as e: + raise ELFInvalid( + f"unrecognized capacity ({self.capacity}) or encoding ({self.encoding})" + ) from e + + try: + ( + _, + self.machine, # Architecture type. + _, + _, + self._e_phoff, # Offset of program header. + _, + self.flags, # Processor-specific flags. + _, + self._e_phentsize, # Size of section. + self._e_phnum, # Number of sections. + ) = self._read(e_fmt) + except struct.error as e: + raise ELFInvalid("unable to parse machine and section information") from e + + def _read(self, fmt: str) -> tuple[int, ...]: + return struct.unpack(fmt, self._f.read(struct.calcsize(fmt))) + + @property + def interpreter(self) -> str | None: + """ + The path recorded in the ``PT_INTERP`` section header. + """ + for index in range(self._e_phnum): + self._f.seek(self._e_phoff + self._e_phentsize * index) + try: + data = self._read(self._p_fmt) + except struct.error: + continue + if data[self._p_idx[0]] != 3: # Not PT_INTERP. + continue + self._f.seek(data[self._p_idx[1]]) + return os.fsdecode(self._f.read(data[self._p_idx[2]])).strip("\0") + return None diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py new file mode 100644 index 0000000000000000000000000000000000000000..95f55762e86f08af76aaa95f5cd147d4517c6d66 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py @@ -0,0 +1,262 @@ +from __future__ import annotations + +import collections +import contextlib +import functools +import os +import re +import sys +import warnings +from typing import Generator, Iterator, NamedTuple, Sequence + +from ._elffile import EIClass, EIData, ELFFile, EMachine + +EF_ARM_ABIMASK = 0xFF000000 +EF_ARM_ABI_VER5 = 0x05000000 +EF_ARM_ABI_FLOAT_HARD = 0x00000400 + + +# `os.PathLike` not a generic type until Python 3.9, so sticking with `str` +# as the type for `path` until then. +@contextlib.contextmanager +def _parse_elf(path: str) -> Generator[ELFFile | None, None, None]: + try: + with open(path, "rb") as f: + yield ELFFile(f) + except (OSError, TypeError, ValueError): + yield None + + +def _is_linux_armhf(executable: str) -> bool: + # hard-float ABI can be detected from the ELF header of the running + # process + # https://static.docs.arm.com/ihi0044/g/aaelf32.pdf + with _parse_elf(executable) as f: + return ( + f is not None + and f.capacity == EIClass.C32 + and f.encoding == EIData.Lsb + and f.machine == EMachine.Arm + and f.flags & EF_ARM_ABIMASK == EF_ARM_ABI_VER5 + and f.flags & EF_ARM_ABI_FLOAT_HARD == EF_ARM_ABI_FLOAT_HARD + ) + + +def _is_linux_i686(executable: str) -> bool: + with _parse_elf(executable) as f: + return ( + f is not None + and f.capacity == EIClass.C32 + and f.encoding == EIData.Lsb + and f.machine == EMachine.I386 + ) + + +def _have_compatible_abi(executable: str, archs: Sequence[str]) -> bool: + if "armv7l" in archs: + return _is_linux_armhf(executable) + if "i686" in archs: + return _is_linux_i686(executable) + allowed_archs = { + "x86_64", + "aarch64", + "ppc64", + "ppc64le", + "s390x", + "loongarch64", + "riscv64", + } + return any(arch in allowed_archs for arch in archs) + + +# If glibc ever changes its major version, we need to know what the last +# minor version was, so we can build the complete list of all versions. +# For now, guess what the highest minor version might be, assume it will +# be 50 for testing. Once this actually happens, update the dictionary +# with the actual value. +_LAST_GLIBC_MINOR: dict[int, int] = collections.defaultdict(lambda: 50) + + +class _GLibCVersion(NamedTuple): + major: int + minor: int + + +def _glibc_version_string_confstr() -> str | None: + """ + Primary implementation of glibc_version_string using os.confstr. + """ + # os.confstr is quite a bit faster than ctypes.DLL. It's also less likely + # to be broken or missing. This strategy is used in the standard library + # platform module. + # https://github.com/python/cpython/blob/fcf1d003bf4f0100c/Lib/platform.py#L175-L183 + try: + # Should be a string like "glibc 2.17". + version_string: str | None = os.confstr("CS_GNU_LIBC_VERSION") + assert version_string is not None + _, version = version_string.rsplit() + except (AssertionError, AttributeError, OSError, ValueError): + # os.confstr() or CS_GNU_LIBC_VERSION not available (or a bad value)... + return None + return version + + +def _glibc_version_string_ctypes() -> str | None: + """ + Fallback implementation of glibc_version_string using ctypes. + """ + try: + import ctypes + except ImportError: + return None + + # ctypes.CDLL(None) internally calls dlopen(NULL), and as the dlopen + # manpage says, "If filename is NULL, then the returned handle is for the + # main program". This way we can let the linker do the work to figure out + # which libc our process is actually using. + # + # We must also handle the special case where the executable is not a + # dynamically linked executable. This can occur when using musl libc, + # for example. In this situation, dlopen() will error, leading to an + # OSError. Interestingly, at least in the case of musl, there is no + # errno set on the OSError. The single string argument used to construct + # OSError comes from libc itself and is therefore not portable to + # hard code here. In any case, failure to call dlopen() means we + # can proceed, so we bail on our attempt. + try: + process_namespace = ctypes.CDLL(None) + except OSError: + return None + + try: + gnu_get_libc_version = process_namespace.gnu_get_libc_version + except AttributeError: + # Symbol doesn't exist -> therefore, we are not linked to + # glibc. + return None + + # Call gnu_get_libc_version, which returns a string like "2.5" + gnu_get_libc_version.restype = ctypes.c_char_p + version_str: str = gnu_get_libc_version() + # py2 / py3 compatibility: + if not isinstance(version_str, str): + version_str = version_str.decode("ascii") + + return version_str + + +def _glibc_version_string() -> str | None: + """Returns glibc version string, or None if not using glibc.""" + return _glibc_version_string_confstr() or _glibc_version_string_ctypes() + + +def _parse_glibc_version(version_str: str) -> tuple[int, int]: + """Parse glibc version. + + We use a regexp instead of str.split because we want to discard any + random junk that might come after the minor version -- this might happen + in patched/forked versions of glibc (e.g. Linaro's version of glibc + uses version strings like "2.20-2014.11"). See gh-3588. + """ + m = re.match(r"(?P[0-9]+)\.(?P[0-9]+)", version_str) + if not m: + warnings.warn( + f"Expected glibc version with 2 components major.minor, got: {version_str}", + RuntimeWarning, + stacklevel=2, + ) + return -1, -1 + return int(m.group("major")), int(m.group("minor")) + + +@functools.lru_cache +def _get_glibc_version() -> tuple[int, int]: + version_str = _glibc_version_string() + if version_str is None: + return (-1, -1) + return _parse_glibc_version(version_str) + + +# From PEP 513, PEP 600 +def _is_compatible(arch: str, version: _GLibCVersion) -> bool: + sys_glibc = _get_glibc_version() + if sys_glibc < version: + return False + # Check for presence of _manylinux module. + try: + import _manylinux + except ImportError: + return True + if hasattr(_manylinux, "manylinux_compatible"): + result = _manylinux.manylinux_compatible(version[0], version[1], arch) + if result is not None: + return bool(result) + return True + if version == _GLibCVersion(2, 5): + if hasattr(_manylinux, "manylinux1_compatible"): + return bool(_manylinux.manylinux1_compatible) + if version == _GLibCVersion(2, 12): + if hasattr(_manylinux, "manylinux2010_compatible"): + return bool(_manylinux.manylinux2010_compatible) + if version == _GLibCVersion(2, 17): + if hasattr(_manylinux, "manylinux2014_compatible"): + return bool(_manylinux.manylinux2014_compatible) + return True + + +_LEGACY_MANYLINUX_MAP = { + # CentOS 7 w/ glibc 2.17 (PEP 599) + (2, 17): "manylinux2014", + # CentOS 6 w/ glibc 2.12 (PEP 571) + (2, 12): "manylinux2010", + # CentOS 5 w/ glibc 2.5 (PEP 513) + (2, 5): "manylinux1", +} + + +def platform_tags(archs: Sequence[str]) -> Iterator[str]: + """Generate manylinux tags compatible to the current platform. + + :param archs: Sequence of compatible architectures. + The first one shall be the closest to the actual architecture and be the part of + platform tag after the ``linux_`` prefix, e.g. ``x86_64``. + The ``linux_`` prefix is assumed as a prerequisite for the current platform to + be manylinux-compatible. + + :returns: An iterator of compatible manylinux tags. + """ + if not _have_compatible_abi(sys.executable, archs): + return + # Oldest glibc to be supported regardless of architecture is (2, 17). + too_old_glibc2 = _GLibCVersion(2, 16) + if set(archs) & {"x86_64", "i686"}: + # On x86/i686 also oldest glibc to be supported is (2, 5). + too_old_glibc2 = _GLibCVersion(2, 4) + current_glibc = _GLibCVersion(*_get_glibc_version()) + glibc_max_list = [current_glibc] + # We can assume compatibility across glibc major versions. + # https://sourceware.org/bugzilla/show_bug.cgi?id=24636 + # + # Build a list of maximum glibc versions so that we can + # output the canonical list of all glibc from current_glibc + # down to too_old_glibc2, including all intermediary versions. + for glibc_major in range(current_glibc.major - 1, 1, -1): + glibc_minor = _LAST_GLIBC_MINOR[glibc_major] + glibc_max_list.append(_GLibCVersion(glibc_major, glibc_minor)) + for arch in archs: + for glibc_max in glibc_max_list: + if glibc_max.major == too_old_glibc2.major: + min_minor = too_old_glibc2.minor + else: + # For other glibc major versions oldest supported is (x, 0). + min_minor = -1 + for glibc_minor in range(glibc_max.minor, min_minor, -1): + glibc_version = _GLibCVersion(glibc_max.major, glibc_minor) + tag = "manylinux_{}_{}".format(*glibc_version) + if _is_compatible(arch, glibc_version): + yield f"{tag}_{arch}" + # Handle the legacy manylinux1, manylinux2010, manylinux2014 tags. + if glibc_version in _LEGACY_MANYLINUX_MAP: + legacy_tag = _LEGACY_MANYLINUX_MAP[glibc_version] + if _is_compatible(arch, glibc_version): + yield f"{legacy_tag}_{arch}" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_musllinux.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_musllinux.py new file mode 100644 index 0000000000000000000000000000000000000000..d2bf30b56319ba862c5c9a1a39a87c6d1cb68718 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_musllinux.py @@ -0,0 +1,85 @@ +"""PEP 656 support. + +This module implements logic to detect if the currently running Python is +linked against musl, and what musl version is used. +""" + +from __future__ import annotations + +import functools +import re +import subprocess +import sys +from typing import Iterator, NamedTuple, Sequence + +from ._elffile import ELFFile + + +class _MuslVersion(NamedTuple): + major: int + minor: int + + +def _parse_musl_version(output: str) -> _MuslVersion | None: + lines = [n for n in (n.strip() for n in output.splitlines()) if n] + if len(lines) < 2 or lines[0][:4] != "musl": + return None + m = re.match(r"Version (\d+)\.(\d+)", lines[1]) + if not m: + return None + return _MuslVersion(major=int(m.group(1)), minor=int(m.group(2))) + + +@functools.lru_cache +def _get_musl_version(executable: str) -> _MuslVersion | None: + """Detect currently-running musl runtime version. + + This is done by checking the specified executable's dynamic linking + information, and invoking the loader to parse its output for a version + string. If the loader is musl, the output would be something like:: + + musl libc (x86_64) + Version 1.2.2 + Dynamic Program Loader + """ + try: + with open(executable, "rb") as f: + ld = ELFFile(f).interpreter + except (OSError, TypeError, ValueError): + return None + if ld is None or "musl" not in ld: + return None + proc = subprocess.run([ld], stderr=subprocess.PIPE, text=True) + return _parse_musl_version(proc.stderr) + + +def platform_tags(archs: Sequence[str]) -> Iterator[str]: + """Generate musllinux tags compatible to the current platform. + + :param archs: Sequence of compatible architectures. + The first one shall be the closest to the actual architecture and be the part of + platform tag after the ``linux_`` prefix, e.g. ``x86_64``. + The ``linux_`` prefix is assumed as a prerequisite for the current platform to + be musllinux-compatible. + + :returns: An iterator of compatible musllinux tags. + """ + sys_musl = _get_musl_version(sys.executable) + if sys_musl is None: # Python not dynamically linked against musl. + return + for arch in archs: + for minor in range(sys_musl.minor, -1, -1): + yield f"musllinux_{sys_musl.major}_{minor}_{arch}" + + +if __name__ == "__main__": # pragma: no cover + import sysconfig + + plat = sysconfig.get_platform() + assert plat.startswith("linux-"), "not linux" + + print("plat:", plat) + print("musl:", _get_musl_version(sys.executable)) + print("tags:", end=" ") + for t in platform_tags(re.sub(r"[.-]", "_", plat.split("-", 1)[-1])): + print(t, end="\n ") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_parser.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_parser.py new file mode 100644 index 0000000000000000000000000000000000000000..0007c0aa64aeae24c7e0ca90790a25ba51dbf7d6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_parser.py @@ -0,0 +1,353 @@ +"""Handwritten parser of dependency specifiers. + +The docstring for each __parse_* function contains EBNF-inspired grammar representing +the implementation. +""" + +from __future__ import annotations + +import ast +from typing import NamedTuple, Sequence, Tuple, Union + +from ._tokenizer import DEFAULT_RULES, Tokenizer + + +class Node: + def __init__(self, value: str) -> None: + self.value = value + + def __str__(self) -> str: + return self.value + + def __repr__(self) -> str: + return f"<{self.__class__.__name__}('{self}')>" + + def serialize(self) -> str: + raise NotImplementedError + + +class Variable(Node): + def serialize(self) -> str: + return str(self) + + +class Value(Node): + def serialize(self) -> str: + return f'"{self}"' + + +class Op(Node): + def serialize(self) -> str: + return str(self) + + +MarkerVar = Union[Variable, Value] +MarkerItem = Tuple[MarkerVar, Op, MarkerVar] +MarkerAtom = Union[MarkerItem, Sequence["MarkerAtom"]] +MarkerList = Sequence[Union["MarkerList", MarkerAtom, str]] + + +class ParsedRequirement(NamedTuple): + name: str + url: str + extras: list[str] + specifier: str + marker: MarkerList | None + + +# -------------------------------------------------------------------------------------- +# Recursive descent parser for dependency specifier +# -------------------------------------------------------------------------------------- +def parse_requirement(source: str) -> ParsedRequirement: + return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES)) + + +def _parse_requirement(tokenizer: Tokenizer) -> ParsedRequirement: + """ + requirement = WS? IDENTIFIER WS? extras WS? requirement_details + """ + tokenizer.consume("WS") + + name_token = tokenizer.expect( + "IDENTIFIER", expected="package name at the start of dependency specifier" + ) + name = name_token.text + tokenizer.consume("WS") + + extras = _parse_extras(tokenizer) + tokenizer.consume("WS") + + url, specifier, marker = _parse_requirement_details(tokenizer) + tokenizer.expect("END", expected="end of dependency specifier") + + return ParsedRequirement(name, url, extras, specifier, marker) + + +def _parse_requirement_details( + tokenizer: Tokenizer, +) -> tuple[str, str, MarkerList | None]: + """ + requirement_details = AT URL (WS requirement_marker?)? + | specifier WS? (requirement_marker)? + """ + + specifier = "" + url = "" + marker = None + + if tokenizer.check("AT"): + tokenizer.read() + tokenizer.consume("WS") + + url_start = tokenizer.position + url = tokenizer.expect("URL", expected="URL after @").text + if tokenizer.check("END", peek=True): + return (url, specifier, marker) + + tokenizer.expect("WS", expected="whitespace after URL") + + # The input might end after whitespace. + if tokenizer.check("END", peek=True): + return (url, specifier, marker) + + marker = _parse_requirement_marker( + tokenizer, span_start=url_start, after="URL and whitespace" + ) + else: + specifier_start = tokenizer.position + specifier = _parse_specifier(tokenizer) + tokenizer.consume("WS") + + if tokenizer.check("END", peek=True): + return (url, specifier, marker) + + marker = _parse_requirement_marker( + tokenizer, + span_start=specifier_start, + after=( + "version specifier" + if specifier + else "name and no valid version specifier" + ), + ) + + return (url, specifier, marker) + + +def _parse_requirement_marker( + tokenizer: Tokenizer, *, span_start: int, after: str +) -> MarkerList: + """ + requirement_marker = SEMICOLON marker WS? + """ + + if not tokenizer.check("SEMICOLON"): + tokenizer.raise_syntax_error( + f"Expected end or semicolon (after {after})", + span_start=span_start, + ) + tokenizer.read() + + marker = _parse_marker(tokenizer) + tokenizer.consume("WS") + + return marker + + +def _parse_extras(tokenizer: Tokenizer) -> list[str]: + """ + extras = (LEFT_BRACKET wsp* extras_list? wsp* RIGHT_BRACKET)? + """ + if not tokenizer.check("LEFT_BRACKET", peek=True): + return [] + + with tokenizer.enclosing_tokens( + "LEFT_BRACKET", + "RIGHT_BRACKET", + around="extras", + ): + tokenizer.consume("WS") + extras = _parse_extras_list(tokenizer) + tokenizer.consume("WS") + + return extras + + +def _parse_extras_list(tokenizer: Tokenizer) -> list[str]: + """ + extras_list = identifier (wsp* ',' wsp* identifier)* + """ + extras: list[str] = [] + + if not tokenizer.check("IDENTIFIER"): + return extras + + extras.append(tokenizer.read().text) + + while True: + tokenizer.consume("WS") + if tokenizer.check("IDENTIFIER", peek=True): + tokenizer.raise_syntax_error("Expected comma between extra names") + elif not tokenizer.check("COMMA"): + break + + tokenizer.read() + tokenizer.consume("WS") + + extra_token = tokenizer.expect("IDENTIFIER", expected="extra name after comma") + extras.append(extra_token.text) + + return extras + + +def _parse_specifier(tokenizer: Tokenizer) -> str: + """ + specifier = LEFT_PARENTHESIS WS? version_many WS? RIGHT_PARENTHESIS + | WS? version_many WS? + """ + with tokenizer.enclosing_tokens( + "LEFT_PARENTHESIS", + "RIGHT_PARENTHESIS", + around="version specifier", + ): + tokenizer.consume("WS") + parsed_specifiers = _parse_version_many(tokenizer) + tokenizer.consume("WS") + + return parsed_specifiers + + +def _parse_version_many(tokenizer: Tokenizer) -> str: + """ + version_many = (SPECIFIER (WS? COMMA WS? SPECIFIER)*)? + """ + parsed_specifiers = "" + while tokenizer.check("SPECIFIER"): + span_start = tokenizer.position + parsed_specifiers += tokenizer.read().text + if tokenizer.check("VERSION_PREFIX_TRAIL", peek=True): + tokenizer.raise_syntax_error( + ".* suffix can only be used with `==` or `!=` operators", + span_start=span_start, + span_end=tokenizer.position + 1, + ) + if tokenizer.check("VERSION_LOCAL_LABEL_TRAIL", peek=True): + tokenizer.raise_syntax_error( + "Local version label can only be used with `==` or `!=` operators", + span_start=span_start, + span_end=tokenizer.position, + ) + tokenizer.consume("WS") + if not tokenizer.check("COMMA"): + break + parsed_specifiers += tokenizer.read().text + tokenizer.consume("WS") + + return parsed_specifiers + + +# -------------------------------------------------------------------------------------- +# Recursive descent parser for marker expression +# -------------------------------------------------------------------------------------- +def parse_marker(source: str) -> MarkerList: + return _parse_full_marker(Tokenizer(source, rules=DEFAULT_RULES)) + + +def _parse_full_marker(tokenizer: Tokenizer) -> MarkerList: + retval = _parse_marker(tokenizer) + tokenizer.expect("END", expected="end of marker expression") + return retval + + +def _parse_marker(tokenizer: Tokenizer) -> MarkerList: + """ + marker = marker_atom (BOOLOP marker_atom)+ + """ + expression = [_parse_marker_atom(tokenizer)] + while tokenizer.check("BOOLOP"): + token = tokenizer.read() + expr_right = _parse_marker_atom(tokenizer) + expression.extend((token.text, expr_right)) + return expression + + +def _parse_marker_atom(tokenizer: Tokenizer) -> MarkerAtom: + """ + marker_atom = WS? LEFT_PARENTHESIS WS? marker WS? RIGHT_PARENTHESIS WS? + | WS? marker_item WS? + """ + + tokenizer.consume("WS") + if tokenizer.check("LEFT_PARENTHESIS", peek=True): + with tokenizer.enclosing_tokens( + "LEFT_PARENTHESIS", + "RIGHT_PARENTHESIS", + around="marker expression", + ): + tokenizer.consume("WS") + marker: MarkerAtom = _parse_marker(tokenizer) + tokenizer.consume("WS") + else: + marker = _parse_marker_item(tokenizer) + tokenizer.consume("WS") + return marker + + +def _parse_marker_item(tokenizer: Tokenizer) -> MarkerItem: + """ + marker_item = WS? marker_var WS? marker_op WS? marker_var WS? + """ + tokenizer.consume("WS") + marker_var_left = _parse_marker_var(tokenizer) + tokenizer.consume("WS") + marker_op = _parse_marker_op(tokenizer) + tokenizer.consume("WS") + marker_var_right = _parse_marker_var(tokenizer) + tokenizer.consume("WS") + return (marker_var_left, marker_op, marker_var_right) + + +def _parse_marker_var(tokenizer: Tokenizer) -> MarkerVar: + """ + marker_var = VARIABLE | QUOTED_STRING + """ + if tokenizer.check("VARIABLE"): + return process_env_var(tokenizer.read().text.replace(".", "_")) + elif tokenizer.check("QUOTED_STRING"): + return process_python_str(tokenizer.read().text) + else: + tokenizer.raise_syntax_error( + message="Expected a marker variable or quoted string" + ) + + +def process_env_var(env_var: str) -> Variable: + if env_var in ("platform_python_implementation", "python_implementation"): + return Variable("platform_python_implementation") + else: + return Variable(env_var) + + +def process_python_str(python_str: str) -> Value: + value = ast.literal_eval(python_str) + return Value(str(value)) + + +def _parse_marker_op(tokenizer: Tokenizer) -> Op: + """ + marker_op = IN | NOT IN | OP + """ + if tokenizer.check("IN"): + tokenizer.read() + return Op("in") + elif tokenizer.check("NOT"): + tokenizer.read() + tokenizer.expect("WS", expected="whitespace after 'not'") + tokenizer.expect("IN", expected="'in' after 'not'") + return Op("not in") + elif tokenizer.check("OP"): + return Op(tokenizer.read().text) + else: + return tokenizer.raise_syntax_error( + "Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in" + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_structures.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_structures.py new file mode 100644 index 0000000000000000000000000000000000000000..90a6465f9682c886363eea5327dac64bf623a6ff --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_structures.py @@ -0,0 +1,61 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + + +class InfinityType: + def __repr__(self) -> str: + return "Infinity" + + def __hash__(self) -> int: + return hash(repr(self)) + + def __lt__(self, other: object) -> bool: + return False + + def __le__(self, other: object) -> bool: + return False + + def __eq__(self, other: object) -> bool: + return isinstance(other, self.__class__) + + def __gt__(self, other: object) -> bool: + return True + + def __ge__(self, other: object) -> bool: + return True + + def __neg__(self: object) -> "NegativeInfinityType": + return NegativeInfinity + + +Infinity = InfinityType() + + +class NegativeInfinityType: + def __repr__(self) -> str: + return "-Infinity" + + def __hash__(self) -> int: + return hash(repr(self)) + + def __lt__(self, other: object) -> bool: + return True + + def __le__(self, other: object) -> bool: + return True + + def __eq__(self, other: object) -> bool: + return isinstance(other, self.__class__) + + def __gt__(self, other: object) -> bool: + return False + + def __ge__(self, other: object) -> bool: + return False + + def __neg__(self: object) -> InfinityType: + return Infinity + + +NegativeInfinity = NegativeInfinityType() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_tokenizer.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_tokenizer.py new file mode 100644 index 0000000000000000000000000000000000000000..d28a9b6cf5daca9fa3ce5a8c8ae583a57ee84f12 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_tokenizer.py @@ -0,0 +1,195 @@ +from __future__ import annotations + +import contextlib +import re +from dataclasses import dataclass +from typing import Iterator, NoReturn + +from .specifiers import Specifier + + +@dataclass +class Token: + name: str + text: str + position: int + + +class ParserSyntaxError(Exception): + """The provided source text could not be parsed correctly.""" + + def __init__( + self, + message: str, + *, + source: str, + span: tuple[int, int], + ) -> None: + self.span = span + self.message = message + self.source = source + + super().__init__() + + def __str__(self) -> str: + marker = " " * self.span[0] + "~" * (self.span[1] - self.span[0]) + "^" + return "\n ".join([self.message, self.source, marker]) + + +DEFAULT_RULES: dict[str, str | re.Pattern[str]] = { + "LEFT_PARENTHESIS": r"\(", + "RIGHT_PARENTHESIS": r"\)", + "LEFT_BRACKET": r"\[", + "RIGHT_BRACKET": r"\]", + "SEMICOLON": r";", + "COMMA": r",", + "QUOTED_STRING": re.compile( + r""" + ( + ('[^']*') + | + ("[^"]*") + ) + """, + re.VERBOSE, + ), + "OP": r"(===|==|~=|!=|<=|>=|<|>)", + "BOOLOP": r"\b(or|and)\b", + "IN": r"\bin\b", + "NOT": r"\bnot\b", + "VARIABLE": re.compile( + r""" + \b( + python_version + |python_full_version + |os[._]name + |sys[._]platform + |platform_(release|system) + |platform[._](version|machine|python_implementation) + |python_implementation + |implementation_(name|version) + |extras? + |dependency_groups + )\b + """, + re.VERBOSE, + ), + "SPECIFIER": re.compile( + Specifier._operator_regex_str + Specifier._version_regex_str, + re.VERBOSE | re.IGNORECASE, + ), + "AT": r"\@", + "URL": r"[^ \t]+", + "IDENTIFIER": r"\b[a-zA-Z0-9][a-zA-Z0-9._-]*\b", + "VERSION_PREFIX_TRAIL": r"\.\*", + "VERSION_LOCAL_LABEL_TRAIL": r"\+[a-z0-9]+(?:[-_\.][a-z0-9]+)*", + "WS": r"[ \t]+", + "END": r"$", +} + + +class Tokenizer: + """Context-sensitive token parsing. + + Provides methods to examine the input stream to check whether the next token + matches. + """ + + def __init__( + self, + source: str, + *, + rules: dict[str, str | re.Pattern[str]], + ) -> None: + self.source = source + self.rules: dict[str, re.Pattern[str]] = { + name: re.compile(pattern) for name, pattern in rules.items() + } + self.next_token: Token | None = None + self.position = 0 + + def consume(self, name: str) -> None: + """Move beyond provided token name, if at current position.""" + if self.check(name): + self.read() + + def check(self, name: str, *, peek: bool = False) -> bool: + """Check whether the next token has the provided name. + + By default, if the check succeeds, the token *must* be read before + another check. If `peek` is set to `True`, the token is not loaded and + would need to be checked again. + """ + assert self.next_token is None, ( + f"Cannot check for {name!r}, already have {self.next_token!r}" + ) + assert name in self.rules, f"Unknown token name: {name!r}" + + expression = self.rules[name] + + match = expression.match(self.source, self.position) + if match is None: + return False + if not peek: + self.next_token = Token(name, match[0], self.position) + return True + + def expect(self, name: str, *, expected: str) -> Token: + """Expect a certain token name next, failing with a syntax error otherwise. + + The token is *not* read. + """ + if not self.check(name): + raise self.raise_syntax_error(f"Expected {expected}") + return self.read() + + def read(self) -> Token: + """Consume the next token and return it.""" + token = self.next_token + assert token is not None + + self.position += len(token.text) + self.next_token = None + + return token + + def raise_syntax_error( + self, + message: str, + *, + span_start: int | None = None, + span_end: int | None = None, + ) -> NoReturn: + """Raise ParserSyntaxError at the given position.""" + span = ( + self.position if span_start is None else span_start, + self.position if span_end is None else span_end, + ) + raise ParserSyntaxError( + message, + source=self.source, + span=span, + ) + + @contextlib.contextmanager + def enclosing_tokens( + self, open_token: str, close_token: str, *, around: str + ) -> Iterator[None]: + if self.check(open_token): + open_position = self.position + self.read() + else: + open_position = None + + yield + + if open_position is None: + return + + if not self.check(close_token): + self.raise_syntax_error( + f"Expected matching {close_token} for {open_token}, after {around}", + span_start=open_position, + ) + + self.read() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..031f277fc63262b2c86f5b253cfe7d8f16b29042 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__init__.py @@ -0,0 +1,145 @@ +####################################################################################### +# +# Adapted from: +# https://github.com/pypa/hatch/blob/5352e44/backend/src/hatchling/licenses/parse.py +# +# MIT License +# +# Copyright (c) 2017-present Ofek Lev +# +# Permission is hereby granted, free of charge, to any person obtaining a copy of this +# software and associated documentation files (the "Software"), to deal in the Software +# without restriction, including without limitation the rights to use, copy, modify, +# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to the following +# conditions: +# +# The above copyright notice and this permission notice shall be included in all copies +# or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# +# With additional allowance of arbitrary `LicenseRef-` identifiers, not just +# `LicenseRef-Public-Domain` and `LicenseRef-Proprietary`. +# +####################################################################################### +from __future__ import annotations + +import re +from typing import NewType, cast + +from pip._vendor.packaging.licenses._spdx import EXCEPTIONS, LICENSES + +__all__ = [ + "InvalidLicenseExpression", + "NormalizedLicenseExpression", + "canonicalize_license_expression", +] + +license_ref_allowed = re.compile("^[A-Za-z0-9.-]*$") + +NormalizedLicenseExpression = NewType("NormalizedLicenseExpression", str) + + +class InvalidLicenseExpression(ValueError): + """Raised when a license-expression string is invalid + + >>> canonicalize_license_expression("invalid") + Traceback (most recent call last): + ... + packaging.licenses.InvalidLicenseExpression: Invalid license expression: 'invalid' + """ + + +def canonicalize_license_expression( + raw_license_expression: str, +) -> NormalizedLicenseExpression: + if not raw_license_expression: + message = f"Invalid license expression: {raw_license_expression!r}" + raise InvalidLicenseExpression(message) + + # Pad any parentheses so tokenization can be achieved by merely splitting on + # whitespace. + license_expression = raw_license_expression.replace("(", " ( ").replace(")", " ) ") + licenseref_prefix = "LicenseRef-" + license_refs = { + ref.lower(): "LicenseRef-" + ref[len(licenseref_prefix) :] + for ref in license_expression.split() + if ref.lower().startswith(licenseref_prefix.lower()) + } + + # Normalize to lower case so we can look up licenses/exceptions + # and so boolean operators are Python-compatible. + license_expression = license_expression.lower() + + tokens = license_expression.split() + + # Rather than implementing boolean logic, we create an expression that Python can + # parse. Everything that is not involved with the grammar itself is treated as + # `False` and the expression should evaluate as such. + python_tokens = [] + for token in tokens: + if token not in {"or", "and", "with", "(", ")"}: + python_tokens.append("False") + elif token == "with": + python_tokens.append("or") + elif token == "(" and python_tokens and python_tokens[-1] not in {"or", "and"}: + message = f"Invalid license expression: {raw_license_expression!r}" + raise InvalidLicenseExpression(message) + else: + python_tokens.append(token) + + python_expression = " ".join(python_tokens) + try: + invalid = eval(python_expression, globals(), locals()) + except Exception: + invalid = True + + if invalid is not False: + message = f"Invalid license expression: {raw_license_expression!r}" + raise InvalidLicenseExpression(message) from None + + # Take a final pass to check for unknown licenses/exceptions. + normalized_tokens = [] + for token in tokens: + if token in {"or", "and", "with", "(", ")"}: + normalized_tokens.append(token.upper()) + continue + + if normalized_tokens and normalized_tokens[-1] == "WITH": + if token not in EXCEPTIONS: + message = f"Unknown license exception: {token!r}" + raise InvalidLicenseExpression(message) + + normalized_tokens.append(EXCEPTIONS[token]["id"]) + else: + if token.endswith("+"): + final_token = token[:-1] + suffix = "+" + else: + final_token = token + suffix = "" + + if final_token.startswith("licenseref-"): + if not license_ref_allowed.match(final_token): + message = f"Invalid licenseref: {final_token!r}" + raise InvalidLicenseExpression(message) + normalized_tokens.append(license_refs[final_token] + suffix) + else: + if final_token not in LICENSES: + message = f"Unknown license: {final_token!r}" + raise InvalidLicenseExpression(message) + normalized_tokens.append(LICENSES[final_token]["id"] + suffix) + + normalized_expression = " ".join(normalized_tokens) + + return cast( + NormalizedLicenseExpression, + normalized_expression.replace("( ", "(").replace(" )", ")"), + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5768c2283de645b7aac7214cb9c7b55cbdd3a459 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e32fc130d2a47c414429a8052d4f6a397fa458be Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/_spdx.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/_spdx.py new file mode 100644 index 0000000000000000000000000000000000000000..eac22276a34ccd73fc9d70c67ca318a49eb11e77 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/licenses/_spdx.py @@ -0,0 +1,759 @@ + +from __future__ import annotations + +from typing import TypedDict + +class SPDXLicense(TypedDict): + id: str + deprecated: bool + +class SPDXException(TypedDict): + id: str + deprecated: bool + + +VERSION = '3.25.0' + +LICENSES: dict[str, SPDXLicense] = { + '0bsd': {'id': '0BSD', 'deprecated': False}, + '3d-slicer-1.0': {'id': '3D-Slicer-1.0', 'deprecated': False}, + 'aal': {'id': 'AAL', 'deprecated': False}, + 'abstyles': {'id': 'Abstyles', 'deprecated': False}, + 'adacore-doc': {'id': 'AdaCore-doc', 'deprecated': False}, + 'adobe-2006': {'id': 'Adobe-2006', 'deprecated': False}, + 'adobe-display-postscript': {'id': 'Adobe-Display-PostScript', 'deprecated': False}, + 'adobe-glyph': {'id': 'Adobe-Glyph', 'deprecated': False}, + 'adobe-utopia': {'id': 'Adobe-Utopia', 'deprecated': False}, + 'adsl': {'id': 'ADSL', 'deprecated': False}, + 'afl-1.1': {'id': 'AFL-1.1', 'deprecated': False}, + 'afl-1.2': {'id': 'AFL-1.2', 'deprecated': False}, + 'afl-2.0': {'id': 'AFL-2.0', 'deprecated': False}, + 'afl-2.1': {'id': 'AFL-2.1', 'deprecated': False}, + 'afl-3.0': {'id': 'AFL-3.0', 'deprecated': False}, + 'afmparse': {'id': 'Afmparse', 'deprecated': False}, + 'agpl-1.0': {'id': 'AGPL-1.0', 'deprecated': True}, + 'agpl-1.0-only': {'id': 'AGPL-1.0-only', 'deprecated': False}, + 'agpl-1.0-or-later': {'id': 'AGPL-1.0-or-later', 'deprecated': False}, + 'agpl-3.0': {'id': 'AGPL-3.0', 'deprecated': True}, + 'agpl-3.0-only': {'id': 'AGPL-3.0-only', 'deprecated': False}, + 'agpl-3.0-or-later': {'id': 'AGPL-3.0-or-later', 'deprecated': False}, + 'aladdin': {'id': 'Aladdin', 'deprecated': False}, + 'amd-newlib': {'id': 'AMD-newlib', 'deprecated': False}, + 'amdplpa': {'id': 'AMDPLPA', 'deprecated': False}, + 'aml': {'id': 'AML', 'deprecated': False}, + 'aml-glslang': {'id': 'AML-glslang', 'deprecated': False}, + 'ampas': {'id': 'AMPAS', 'deprecated': False}, + 'antlr-pd': {'id': 'ANTLR-PD', 'deprecated': False}, + 'antlr-pd-fallback': {'id': 'ANTLR-PD-fallback', 'deprecated': False}, + 'any-osi': {'id': 'any-OSI', 'deprecated': False}, + 'apache-1.0': {'id': 'Apache-1.0', 'deprecated': False}, + 'apache-1.1': {'id': 'Apache-1.1', 'deprecated': False}, + 'apache-2.0': {'id': 'Apache-2.0', 'deprecated': False}, + 'apafml': {'id': 'APAFML', 'deprecated': False}, + 'apl-1.0': {'id': 'APL-1.0', 'deprecated': False}, + 'app-s2p': {'id': 'App-s2p', 'deprecated': False}, + 'apsl-1.0': {'id': 'APSL-1.0', 'deprecated': False}, + 'apsl-1.1': {'id': 'APSL-1.1', 'deprecated': False}, + 'apsl-1.2': {'id': 'APSL-1.2', 'deprecated': False}, + 'apsl-2.0': {'id': 'APSL-2.0', 'deprecated': False}, + 'arphic-1999': {'id': 'Arphic-1999', 'deprecated': False}, + 'artistic-1.0': {'id': 'Artistic-1.0', 'deprecated': False}, + 'artistic-1.0-cl8': {'id': 'Artistic-1.0-cl8', 'deprecated': False}, + 'artistic-1.0-perl': {'id': 'Artistic-1.0-Perl', 'deprecated': False}, + 'artistic-2.0': {'id': 'Artistic-2.0', 'deprecated': False}, + 'aswf-digital-assets-1.0': {'id': 'ASWF-Digital-Assets-1.0', 'deprecated': False}, + 'aswf-digital-assets-1.1': {'id': 'ASWF-Digital-Assets-1.1', 'deprecated': False}, + 'baekmuk': {'id': 'Baekmuk', 'deprecated': False}, + 'bahyph': {'id': 'Bahyph', 'deprecated': False}, + 'barr': {'id': 'Barr', 'deprecated': False}, + 'bcrypt-solar-designer': {'id': 'bcrypt-Solar-Designer', 'deprecated': False}, + 'beerware': {'id': 'Beerware', 'deprecated': False}, + 'bitstream-charter': {'id': 'Bitstream-Charter', 'deprecated': False}, + 'bitstream-vera': {'id': 'Bitstream-Vera', 'deprecated': False}, + 'bittorrent-1.0': {'id': 'BitTorrent-1.0', 'deprecated': False}, + 'bittorrent-1.1': {'id': 'BitTorrent-1.1', 'deprecated': False}, + 'blessing': {'id': 'blessing', 'deprecated': False}, + 'blueoak-1.0.0': {'id': 'BlueOak-1.0.0', 'deprecated': False}, + 'boehm-gc': {'id': 'Boehm-GC', 'deprecated': False}, + 'borceux': {'id': 'Borceux', 'deprecated': False}, + 'brian-gladman-2-clause': {'id': 'Brian-Gladman-2-Clause', 'deprecated': False}, + 'brian-gladman-3-clause': {'id': 'Brian-Gladman-3-Clause', 'deprecated': False}, + 'bsd-1-clause': {'id': 'BSD-1-Clause', 'deprecated': False}, + 'bsd-2-clause': {'id': 'BSD-2-Clause', 'deprecated': False}, + 'bsd-2-clause-darwin': {'id': 'BSD-2-Clause-Darwin', 'deprecated': False}, + 'bsd-2-clause-first-lines': {'id': 'BSD-2-Clause-first-lines', 'deprecated': False}, + 'bsd-2-clause-freebsd': {'id': 'BSD-2-Clause-FreeBSD', 'deprecated': True}, + 'bsd-2-clause-netbsd': {'id': 'BSD-2-Clause-NetBSD', 'deprecated': True}, + 'bsd-2-clause-patent': {'id': 'BSD-2-Clause-Patent', 'deprecated': False}, + 'bsd-2-clause-views': {'id': 'BSD-2-Clause-Views', 'deprecated': False}, + 'bsd-3-clause': {'id': 'BSD-3-Clause', 'deprecated': False}, + 'bsd-3-clause-acpica': {'id': 'BSD-3-Clause-acpica', 'deprecated': False}, + 'bsd-3-clause-attribution': {'id': 'BSD-3-Clause-Attribution', 'deprecated': False}, + 'bsd-3-clause-clear': {'id': 'BSD-3-Clause-Clear', 'deprecated': False}, + 'bsd-3-clause-flex': {'id': 'BSD-3-Clause-flex', 'deprecated': False}, + 'bsd-3-clause-hp': {'id': 'BSD-3-Clause-HP', 'deprecated': False}, + 'bsd-3-clause-lbnl': {'id': 'BSD-3-Clause-LBNL', 'deprecated': False}, + 'bsd-3-clause-modification': {'id': 'BSD-3-Clause-Modification', 'deprecated': False}, + 'bsd-3-clause-no-military-license': {'id': 'BSD-3-Clause-No-Military-License', 'deprecated': False}, + 'bsd-3-clause-no-nuclear-license': {'id': 'BSD-3-Clause-No-Nuclear-License', 'deprecated': False}, + 'bsd-3-clause-no-nuclear-license-2014': {'id': 'BSD-3-Clause-No-Nuclear-License-2014', 'deprecated': False}, + 'bsd-3-clause-no-nuclear-warranty': {'id': 'BSD-3-Clause-No-Nuclear-Warranty', 'deprecated': False}, + 'bsd-3-clause-open-mpi': {'id': 'BSD-3-Clause-Open-MPI', 'deprecated': False}, + 'bsd-3-clause-sun': {'id': 'BSD-3-Clause-Sun', 'deprecated': False}, + 'bsd-4-clause': {'id': 'BSD-4-Clause', 'deprecated': False}, + 'bsd-4-clause-shortened': {'id': 'BSD-4-Clause-Shortened', 'deprecated': False}, + 'bsd-4-clause-uc': {'id': 'BSD-4-Clause-UC', 'deprecated': False}, + 'bsd-4.3reno': {'id': 'BSD-4.3RENO', 'deprecated': False}, + 'bsd-4.3tahoe': {'id': 'BSD-4.3TAHOE', 'deprecated': False}, + 'bsd-advertising-acknowledgement': {'id': 'BSD-Advertising-Acknowledgement', 'deprecated': False}, + 'bsd-attribution-hpnd-disclaimer': {'id': 'BSD-Attribution-HPND-disclaimer', 'deprecated': False}, + 'bsd-inferno-nettverk': {'id': 'BSD-Inferno-Nettverk', 'deprecated': False}, + 'bsd-protection': {'id': 'BSD-Protection', 'deprecated': False}, + 'bsd-source-beginning-file': {'id': 'BSD-Source-beginning-file', 'deprecated': False}, + 'bsd-source-code': {'id': 'BSD-Source-Code', 'deprecated': False}, + 'bsd-systemics': {'id': 'BSD-Systemics', 'deprecated': False}, + 'bsd-systemics-w3works': {'id': 'BSD-Systemics-W3Works', 'deprecated': False}, + 'bsl-1.0': {'id': 'BSL-1.0', 'deprecated': False}, + 'busl-1.1': {'id': 'BUSL-1.1', 'deprecated': False}, + 'bzip2-1.0.5': {'id': 'bzip2-1.0.5', 'deprecated': True}, + 'bzip2-1.0.6': {'id': 'bzip2-1.0.6', 'deprecated': False}, + 'c-uda-1.0': {'id': 'C-UDA-1.0', 'deprecated': False}, + 'cal-1.0': {'id': 'CAL-1.0', 'deprecated': False}, + 'cal-1.0-combined-work-exception': {'id': 'CAL-1.0-Combined-Work-Exception', 'deprecated': False}, + 'caldera': {'id': 'Caldera', 'deprecated': False}, + 'caldera-no-preamble': {'id': 'Caldera-no-preamble', 'deprecated': False}, + 'catharon': {'id': 'Catharon', 'deprecated': False}, + 'catosl-1.1': {'id': 'CATOSL-1.1', 'deprecated': False}, + 'cc-by-1.0': {'id': 'CC-BY-1.0', 'deprecated': False}, + 'cc-by-2.0': {'id': 'CC-BY-2.0', 'deprecated': False}, + 'cc-by-2.5': {'id': 'CC-BY-2.5', 'deprecated': False}, + 'cc-by-2.5-au': {'id': 'CC-BY-2.5-AU', 'deprecated': False}, + 'cc-by-3.0': {'id': 'CC-BY-3.0', 'deprecated': False}, + 'cc-by-3.0-at': {'id': 'CC-BY-3.0-AT', 'deprecated': False}, + 'cc-by-3.0-au': {'id': 'CC-BY-3.0-AU', 'deprecated': False}, + 'cc-by-3.0-de': {'id': 'CC-BY-3.0-DE', 'deprecated': False}, + 'cc-by-3.0-igo': {'id': 'CC-BY-3.0-IGO', 'deprecated': False}, + 'cc-by-3.0-nl': {'id': 'CC-BY-3.0-NL', 'deprecated': False}, + 'cc-by-3.0-us': {'id': 'CC-BY-3.0-US', 'deprecated': False}, + 'cc-by-4.0': {'id': 'CC-BY-4.0', 'deprecated': False}, + 'cc-by-nc-1.0': {'id': 'CC-BY-NC-1.0', 'deprecated': False}, + 'cc-by-nc-2.0': {'id': 'CC-BY-NC-2.0', 'deprecated': False}, + 'cc-by-nc-2.5': {'id': 'CC-BY-NC-2.5', 'deprecated': False}, + 'cc-by-nc-3.0': {'id': 'CC-BY-NC-3.0', 'deprecated': False}, + 'cc-by-nc-3.0-de': {'id': 'CC-BY-NC-3.0-DE', 'deprecated': False}, + 'cc-by-nc-4.0': {'id': 'CC-BY-NC-4.0', 'deprecated': False}, + 'cc-by-nc-nd-1.0': {'id': 'CC-BY-NC-ND-1.0', 'deprecated': False}, + 'cc-by-nc-nd-2.0': {'id': 'CC-BY-NC-ND-2.0', 'deprecated': False}, + 'cc-by-nc-nd-2.5': {'id': 'CC-BY-NC-ND-2.5', 'deprecated': False}, + 'cc-by-nc-nd-3.0': {'id': 'CC-BY-NC-ND-3.0', 'deprecated': False}, + 'cc-by-nc-nd-3.0-de': {'id': 'CC-BY-NC-ND-3.0-DE', 'deprecated': False}, + 'cc-by-nc-nd-3.0-igo': {'id': 'CC-BY-NC-ND-3.0-IGO', 'deprecated': False}, + 'cc-by-nc-nd-4.0': {'id': 'CC-BY-NC-ND-4.0', 'deprecated': False}, + 'cc-by-nc-sa-1.0': {'id': 'CC-BY-NC-SA-1.0', 'deprecated': False}, + 'cc-by-nc-sa-2.0': {'id': 'CC-BY-NC-SA-2.0', 'deprecated': False}, + 'cc-by-nc-sa-2.0-de': {'id': 'CC-BY-NC-SA-2.0-DE', 'deprecated': False}, + 'cc-by-nc-sa-2.0-fr': {'id': 'CC-BY-NC-SA-2.0-FR', 'deprecated': False}, + 'cc-by-nc-sa-2.0-uk': {'id': 'CC-BY-NC-SA-2.0-UK', 'deprecated': False}, + 'cc-by-nc-sa-2.5': {'id': 'CC-BY-NC-SA-2.5', 'deprecated': False}, + 'cc-by-nc-sa-3.0': {'id': 'CC-BY-NC-SA-3.0', 'deprecated': False}, + 'cc-by-nc-sa-3.0-de': {'id': 'CC-BY-NC-SA-3.0-DE', 'deprecated': False}, + 'cc-by-nc-sa-3.0-igo': {'id': 'CC-BY-NC-SA-3.0-IGO', 'deprecated': False}, + 'cc-by-nc-sa-4.0': {'id': 'CC-BY-NC-SA-4.0', 'deprecated': False}, + 'cc-by-nd-1.0': {'id': 'CC-BY-ND-1.0', 'deprecated': False}, + 'cc-by-nd-2.0': {'id': 'CC-BY-ND-2.0', 'deprecated': False}, + 'cc-by-nd-2.5': {'id': 'CC-BY-ND-2.5', 'deprecated': False}, + 'cc-by-nd-3.0': {'id': 'CC-BY-ND-3.0', 'deprecated': False}, + 'cc-by-nd-3.0-de': {'id': 'CC-BY-ND-3.0-DE', 'deprecated': False}, + 'cc-by-nd-4.0': {'id': 'CC-BY-ND-4.0', 'deprecated': False}, + 'cc-by-sa-1.0': {'id': 'CC-BY-SA-1.0', 'deprecated': False}, + 'cc-by-sa-2.0': {'id': 'CC-BY-SA-2.0', 'deprecated': False}, + 'cc-by-sa-2.0-uk': {'id': 'CC-BY-SA-2.0-UK', 'deprecated': False}, + 'cc-by-sa-2.1-jp': {'id': 'CC-BY-SA-2.1-JP', 'deprecated': False}, + 'cc-by-sa-2.5': {'id': 'CC-BY-SA-2.5', 'deprecated': False}, + 'cc-by-sa-3.0': {'id': 'CC-BY-SA-3.0', 'deprecated': False}, + 'cc-by-sa-3.0-at': {'id': 'CC-BY-SA-3.0-AT', 'deprecated': False}, + 'cc-by-sa-3.0-de': {'id': 'CC-BY-SA-3.0-DE', 'deprecated': False}, + 'cc-by-sa-3.0-igo': {'id': 'CC-BY-SA-3.0-IGO', 'deprecated': False}, + 'cc-by-sa-4.0': {'id': 'CC-BY-SA-4.0', 'deprecated': False}, + 'cc-pddc': {'id': 'CC-PDDC', 'deprecated': False}, + 'cc0-1.0': {'id': 'CC0-1.0', 'deprecated': False}, + 'cddl-1.0': {'id': 'CDDL-1.0', 'deprecated': False}, + 'cddl-1.1': {'id': 'CDDL-1.1', 'deprecated': False}, + 'cdl-1.0': {'id': 'CDL-1.0', 'deprecated': False}, + 'cdla-permissive-1.0': {'id': 'CDLA-Permissive-1.0', 'deprecated': False}, + 'cdla-permissive-2.0': {'id': 'CDLA-Permissive-2.0', 'deprecated': False}, + 'cdla-sharing-1.0': {'id': 'CDLA-Sharing-1.0', 'deprecated': False}, + 'cecill-1.0': {'id': 'CECILL-1.0', 'deprecated': False}, + 'cecill-1.1': {'id': 'CECILL-1.1', 'deprecated': False}, + 'cecill-2.0': {'id': 'CECILL-2.0', 'deprecated': False}, + 'cecill-2.1': {'id': 'CECILL-2.1', 'deprecated': False}, + 'cecill-b': {'id': 'CECILL-B', 'deprecated': False}, + 'cecill-c': {'id': 'CECILL-C', 'deprecated': False}, + 'cern-ohl-1.1': {'id': 'CERN-OHL-1.1', 'deprecated': False}, + 'cern-ohl-1.2': {'id': 'CERN-OHL-1.2', 'deprecated': False}, + 'cern-ohl-p-2.0': {'id': 'CERN-OHL-P-2.0', 'deprecated': False}, + 'cern-ohl-s-2.0': {'id': 'CERN-OHL-S-2.0', 'deprecated': False}, + 'cern-ohl-w-2.0': {'id': 'CERN-OHL-W-2.0', 'deprecated': False}, + 'cfitsio': {'id': 'CFITSIO', 'deprecated': False}, + 'check-cvs': {'id': 'check-cvs', 'deprecated': False}, + 'checkmk': {'id': 'checkmk', 'deprecated': False}, + 'clartistic': {'id': 'ClArtistic', 'deprecated': False}, + 'clips': {'id': 'Clips', 'deprecated': False}, + 'cmu-mach': {'id': 'CMU-Mach', 'deprecated': False}, + 'cmu-mach-nodoc': {'id': 'CMU-Mach-nodoc', 'deprecated': False}, + 'cnri-jython': {'id': 'CNRI-Jython', 'deprecated': False}, + 'cnri-python': {'id': 'CNRI-Python', 'deprecated': False}, + 'cnri-python-gpl-compatible': {'id': 'CNRI-Python-GPL-Compatible', 'deprecated': False}, + 'coil-1.0': {'id': 'COIL-1.0', 'deprecated': False}, + 'community-spec-1.0': {'id': 'Community-Spec-1.0', 'deprecated': False}, + 'condor-1.1': {'id': 'Condor-1.1', 'deprecated': False}, + 'copyleft-next-0.3.0': {'id': 'copyleft-next-0.3.0', 'deprecated': False}, + 'copyleft-next-0.3.1': {'id': 'copyleft-next-0.3.1', 'deprecated': False}, + 'cornell-lossless-jpeg': {'id': 'Cornell-Lossless-JPEG', 'deprecated': False}, + 'cpal-1.0': {'id': 'CPAL-1.0', 'deprecated': False}, + 'cpl-1.0': {'id': 'CPL-1.0', 'deprecated': False}, + 'cpol-1.02': {'id': 'CPOL-1.02', 'deprecated': False}, + 'cronyx': {'id': 'Cronyx', 'deprecated': False}, + 'crossword': {'id': 'Crossword', 'deprecated': False}, + 'crystalstacker': {'id': 'CrystalStacker', 'deprecated': False}, + 'cua-opl-1.0': {'id': 'CUA-OPL-1.0', 'deprecated': False}, + 'cube': {'id': 'Cube', 'deprecated': False}, + 'curl': {'id': 'curl', 'deprecated': False}, + 'cve-tou': {'id': 'cve-tou', 'deprecated': False}, + 'd-fsl-1.0': {'id': 'D-FSL-1.0', 'deprecated': False}, + 'dec-3-clause': {'id': 'DEC-3-Clause', 'deprecated': False}, + 'diffmark': {'id': 'diffmark', 'deprecated': False}, + 'dl-de-by-2.0': {'id': 'DL-DE-BY-2.0', 'deprecated': False}, + 'dl-de-zero-2.0': {'id': 'DL-DE-ZERO-2.0', 'deprecated': False}, + 'doc': {'id': 'DOC', 'deprecated': False}, + 'docbook-schema': {'id': 'DocBook-Schema', 'deprecated': False}, + 'docbook-xml': {'id': 'DocBook-XML', 'deprecated': False}, + 'dotseqn': {'id': 'Dotseqn', 'deprecated': False}, + 'drl-1.0': {'id': 'DRL-1.0', 'deprecated': False}, + 'drl-1.1': {'id': 'DRL-1.1', 'deprecated': False}, + 'dsdp': {'id': 'DSDP', 'deprecated': False}, + 'dtoa': {'id': 'dtoa', 'deprecated': False}, + 'dvipdfm': {'id': 'dvipdfm', 'deprecated': False}, + 'ecl-1.0': {'id': 'ECL-1.0', 'deprecated': False}, + 'ecl-2.0': {'id': 'ECL-2.0', 'deprecated': False}, + 'ecos-2.0': {'id': 'eCos-2.0', 'deprecated': True}, + 'efl-1.0': {'id': 'EFL-1.0', 'deprecated': False}, + 'efl-2.0': {'id': 'EFL-2.0', 'deprecated': False}, + 'egenix': {'id': 'eGenix', 'deprecated': False}, + 'elastic-2.0': {'id': 'Elastic-2.0', 'deprecated': False}, + 'entessa': {'id': 'Entessa', 'deprecated': False}, + 'epics': {'id': 'EPICS', 'deprecated': False}, + 'epl-1.0': {'id': 'EPL-1.0', 'deprecated': False}, + 'epl-2.0': {'id': 'EPL-2.0', 'deprecated': False}, + 'erlpl-1.1': {'id': 'ErlPL-1.1', 'deprecated': False}, + 'etalab-2.0': {'id': 'etalab-2.0', 'deprecated': False}, + 'eudatagrid': {'id': 'EUDatagrid', 'deprecated': False}, + 'eupl-1.0': {'id': 'EUPL-1.0', 'deprecated': False}, + 'eupl-1.1': {'id': 'EUPL-1.1', 'deprecated': False}, + 'eupl-1.2': {'id': 'EUPL-1.2', 'deprecated': False}, + 'eurosym': {'id': 'Eurosym', 'deprecated': False}, + 'fair': {'id': 'Fair', 'deprecated': False}, + 'fbm': {'id': 'FBM', 'deprecated': False}, + 'fdk-aac': {'id': 'FDK-AAC', 'deprecated': False}, + 'ferguson-twofish': {'id': 'Ferguson-Twofish', 'deprecated': False}, + 'frameworx-1.0': {'id': 'Frameworx-1.0', 'deprecated': False}, + 'freebsd-doc': {'id': 'FreeBSD-DOC', 'deprecated': False}, + 'freeimage': {'id': 'FreeImage', 'deprecated': False}, + 'fsfap': {'id': 'FSFAP', 'deprecated': False}, + 'fsfap-no-warranty-disclaimer': {'id': 'FSFAP-no-warranty-disclaimer', 'deprecated': False}, + 'fsful': {'id': 'FSFUL', 'deprecated': False}, + 'fsfullr': {'id': 'FSFULLR', 'deprecated': False}, + 'fsfullrwd': {'id': 'FSFULLRWD', 'deprecated': False}, + 'ftl': {'id': 'FTL', 'deprecated': False}, + 'furuseth': {'id': 'Furuseth', 'deprecated': False}, + 'fwlw': {'id': 'fwlw', 'deprecated': False}, + 'gcr-docs': {'id': 'GCR-docs', 'deprecated': False}, + 'gd': {'id': 'GD', 'deprecated': False}, + 'gfdl-1.1': {'id': 'GFDL-1.1', 'deprecated': True}, + 'gfdl-1.1-invariants-only': {'id': 'GFDL-1.1-invariants-only', 'deprecated': False}, + 'gfdl-1.1-invariants-or-later': {'id': 'GFDL-1.1-invariants-or-later', 'deprecated': False}, + 'gfdl-1.1-no-invariants-only': {'id': 'GFDL-1.1-no-invariants-only', 'deprecated': False}, + 'gfdl-1.1-no-invariants-or-later': {'id': 'GFDL-1.1-no-invariants-or-later', 'deprecated': False}, + 'gfdl-1.1-only': {'id': 'GFDL-1.1-only', 'deprecated': False}, + 'gfdl-1.1-or-later': {'id': 'GFDL-1.1-or-later', 'deprecated': False}, + 'gfdl-1.2': {'id': 'GFDL-1.2', 'deprecated': True}, + 'gfdl-1.2-invariants-only': {'id': 'GFDL-1.2-invariants-only', 'deprecated': False}, + 'gfdl-1.2-invariants-or-later': {'id': 'GFDL-1.2-invariants-or-later', 'deprecated': False}, + 'gfdl-1.2-no-invariants-only': {'id': 'GFDL-1.2-no-invariants-only', 'deprecated': False}, + 'gfdl-1.2-no-invariants-or-later': {'id': 'GFDL-1.2-no-invariants-or-later', 'deprecated': False}, + 'gfdl-1.2-only': {'id': 'GFDL-1.2-only', 'deprecated': False}, + 'gfdl-1.2-or-later': {'id': 'GFDL-1.2-or-later', 'deprecated': False}, + 'gfdl-1.3': {'id': 'GFDL-1.3', 'deprecated': True}, + 'gfdl-1.3-invariants-only': {'id': 'GFDL-1.3-invariants-only', 'deprecated': False}, + 'gfdl-1.3-invariants-or-later': {'id': 'GFDL-1.3-invariants-or-later', 'deprecated': False}, + 'gfdl-1.3-no-invariants-only': {'id': 'GFDL-1.3-no-invariants-only', 'deprecated': False}, + 'gfdl-1.3-no-invariants-or-later': {'id': 'GFDL-1.3-no-invariants-or-later', 'deprecated': False}, + 'gfdl-1.3-only': {'id': 'GFDL-1.3-only', 'deprecated': False}, + 'gfdl-1.3-or-later': {'id': 'GFDL-1.3-or-later', 'deprecated': False}, + 'giftware': {'id': 'Giftware', 'deprecated': False}, + 'gl2ps': {'id': 'GL2PS', 'deprecated': False}, + 'glide': {'id': 'Glide', 'deprecated': False}, + 'glulxe': {'id': 'Glulxe', 'deprecated': False}, + 'glwtpl': {'id': 'GLWTPL', 'deprecated': False}, + 'gnuplot': {'id': 'gnuplot', 'deprecated': False}, + 'gpl-1.0': {'id': 'GPL-1.0', 'deprecated': True}, + 'gpl-1.0+': {'id': 'GPL-1.0+', 'deprecated': True}, + 'gpl-1.0-only': {'id': 'GPL-1.0-only', 'deprecated': False}, + 'gpl-1.0-or-later': {'id': 'GPL-1.0-or-later', 'deprecated': False}, + 'gpl-2.0': {'id': 'GPL-2.0', 'deprecated': True}, + 'gpl-2.0+': {'id': 'GPL-2.0+', 'deprecated': True}, + 'gpl-2.0-only': {'id': 'GPL-2.0-only', 'deprecated': False}, + 'gpl-2.0-or-later': {'id': 'GPL-2.0-or-later', 'deprecated': False}, + 'gpl-2.0-with-autoconf-exception': {'id': 'GPL-2.0-with-autoconf-exception', 'deprecated': True}, + 'gpl-2.0-with-bison-exception': {'id': 'GPL-2.0-with-bison-exception', 'deprecated': True}, + 'gpl-2.0-with-classpath-exception': {'id': 'GPL-2.0-with-classpath-exception', 'deprecated': True}, + 'gpl-2.0-with-font-exception': {'id': 'GPL-2.0-with-font-exception', 'deprecated': True}, + 'gpl-2.0-with-gcc-exception': {'id': 'GPL-2.0-with-GCC-exception', 'deprecated': True}, + 'gpl-3.0': {'id': 'GPL-3.0', 'deprecated': True}, + 'gpl-3.0+': {'id': 'GPL-3.0+', 'deprecated': True}, + 'gpl-3.0-only': {'id': 'GPL-3.0-only', 'deprecated': False}, + 'gpl-3.0-or-later': {'id': 'GPL-3.0-or-later', 'deprecated': False}, + 'gpl-3.0-with-autoconf-exception': {'id': 'GPL-3.0-with-autoconf-exception', 'deprecated': True}, + 'gpl-3.0-with-gcc-exception': {'id': 'GPL-3.0-with-GCC-exception', 'deprecated': True}, + 'graphics-gems': {'id': 'Graphics-Gems', 'deprecated': False}, + 'gsoap-1.3b': {'id': 'gSOAP-1.3b', 'deprecated': False}, + 'gtkbook': {'id': 'gtkbook', 'deprecated': False}, + 'gutmann': {'id': 'Gutmann', 'deprecated': False}, + 'haskellreport': {'id': 'HaskellReport', 'deprecated': False}, + 'hdparm': {'id': 'hdparm', 'deprecated': False}, + 'hidapi': {'id': 'HIDAPI', 'deprecated': False}, + 'hippocratic-2.1': {'id': 'Hippocratic-2.1', 'deprecated': False}, + 'hp-1986': {'id': 'HP-1986', 'deprecated': False}, + 'hp-1989': {'id': 'HP-1989', 'deprecated': False}, + 'hpnd': {'id': 'HPND', 'deprecated': False}, + 'hpnd-dec': {'id': 'HPND-DEC', 'deprecated': False}, + 'hpnd-doc': {'id': 'HPND-doc', 'deprecated': False}, + 'hpnd-doc-sell': {'id': 'HPND-doc-sell', 'deprecated': False}, + 'hpnd-export-us': {'id': 'HPND-export-US', 'deprecated': False}, + 'hpnd-export-us-acknowledgement': {'id': 'HPND-export-US-acknowledgement', 'deprecated': False}, + 'hpnd-export-us-modify': {'id': 'HPND-export-US-modify', 'deprecated': False}, + 'hpnd-export2-us': {'id': 'HPND-export2-US', 'deprecated': False}, + 'hpnd-fenneberg-livingston': {'id': 'HPND-Fenneberg-Livingston', 'deprecated': False}, + 'hpnd-inria-imag': {'id': 'HPND-INRIA-IMAG', 'deprecated': False}, + 'hpnd-intel': {'id': 'HPND-Intel', 'deprecated': False}, + 'hpnd-kevlin-henney': {'id': 'HPND-Kevlin-Henney', 'deprecated': False}, + 'hpnd-markus-kuhn': {'id': 'HPND-Markus-Kuhn', 'deprecated': False}, + 'hpnd-merchantability-variant': {'id': 'HPND-merchantability-variant', 'deprecated': False}, + 'hpnd-mit-disclaimer': {'id': 'HPND-MIT-disclaimer', 'deprecated': False}, + 'hpnd-netrek': {'id': 'HPND-Netrek', 'deprecated': False}, + 'hpnd-pbmplus': {'id': 'HPND-Pbmplus', 'deprecated': False}, + 'hpnd-sell-mit-disclaimer-xserver': {'id': 'HPND-sell-MIT-disclaimer-xserver', 'deprecated': False}, + 'hpnd-sell-regexpr': {'id': 'HPND-sell-regexpr', 'deprecated': False}, + 'hpnd-sell-variant': {'id': 'HPND-sell-variant', 'deprecated': False}, + 'hpnd-sell-variant-mit-disclaimer': {'id': 'HPND-sell-variant-MIT-disclaimer', 'deprecated': False}, + 'hpnd-sell-variant-mit-disclaimer-rev': {'id': 'HPND-sell-variant-MIT-disclaimer-rev', 'deprecated': False}, + 'hpnd-uc': {'id': 'HPND-UC', 'deprecated': False}, + 'hpnd-uc-export-us': {'id': 'HPND-UC-export-US', 'deprecated': False}, + 'htmltidy': {'id': 'HTMLTIDY', 'deprecated': False}, + 'ibm-pibs': {'id': 'IBM-pibs', 'deprecated': False}, + 'icu': {'id': 'ICU', 'deprecated': False}, + 'iec-code-components-eula': {'id': 'IEC-Code-Components-EULA', 'deprecated': False}, + 'ijg': {'id': 'IJG', 'deprecated': False}, + 'ijg-short': {'id': 'IJG-short', 'deprecated': False}, + 'imagemagick': {'id': 'ImageMagick', 'deprecated': False}, + 'imatix': {'id': 'iMatix', 'deprecated': False}, + 'imlib2': {'id': 'Imlib2', 'deprecated': False}, + 'info-zip': {'id': 'Info-ZIP', 'deprecated': False}, + 'inner-net-2.0': {'id': 'Inner-Net-2.0', 'deprecated': False}, + 'intel': {'id': 'Intel', 'deprecated': False}, + 'intel-acpi': {'id': 'Intel-ACPI', 'deprecated': False}, + 'interbase-1.0': {'id': 'Interbase-1.0', 'deprecated': False}, + 'ipa': {'id': 'IPA', 'deprecated': False}, + 'ipl-1.0': {'id': 'IPL-1.0', 'deprecated': False}, + 'isc': {'id': 'ISC', 'deprecated': False}, + 'isc-veillard': {'id': 'ISC-Veillard', 'deprecated': False}, + 'jam': {'id': 'Jam', 'deprecated': False}, + 'jasper-2.0': {'id': 'JasPer-2.0', 'deprecated': False}, + 'jpl-image': {'id': 'JPL-image', 'deprecated': False}, + 'jpnic': {'id': 'JPNIC', 'deprecated': False}, + 'json': {'id': 'JSON', 'deprecated': False}, + 'kastrup': {'id': 'Kastrup', 'deprecated': False}, + 'kazlib': {'id': 'Kazlib', 'deprecated': False}, + 'knuth-ctan': {'id': 'Knuth-CTAN', 'deprecated': False}, + 'lal-1.2': {'id': 'LAL-1.2', 'deprecated': False}, + 'lal-1.3': {'id': 'LAL-1.3', 'deprecated': False}, + 'latex2e': {'id': 'Latex2e', 'deprecated': False}, + 'latex2e-translated-notice': {'id': 'Latex2e-translated-notice', 'deprecated': False}, + 'leptonica': {'id': 'Leptonica', 'deprecated': False}, + 'lgpl-2.0': {'id': 'LGPL-2.0', 'deprecated': True}, + 'lgpl-2.0+': {'id': 'LGPL-2.0+', 'deprecated': True}, + 'lgpl-2.0-only': {'id': 'LGPL-2.0-only', 'deprecated': False}, + 'lgpl-2.0-or-later': {'id': 'LGPL-2.0-or-later', 'deprecated': False}, + 'lgpl-2.1': {'id': 'LGPL-2.1', 'deprecated': True}, + 'lgpl-2.1+': {'id': 'LGPL-2.1+', 'deprecated': True}, + 'lgpl-2.1-only': {'id': 'LGPL-2.1-only', 'deprecated': False}, + 'lgpl-2.1-or-later': {'id': 'LGPL-2.1-or-later', 'deprecated': False}, + 'lgpl-3.0': {'id': 'LGPL-3.0', 'deprecated': True}, + 'lgpl-3.0+': {'id': 'LGPL-3.0+', 'deprecated': True}, + 'lgpl-3.0-only': {'id': 'LGPL-3.0-only', 'deprecated': False}, + 'lgpl-3.0-or-later': {'id': 'LGPL-3.0-or-later', 'deprecated': False}, + 'lgpllr': {'id': 'LGPLLR', 'deprecated': False}, + 'libpng': {'id': 'Libpng', 'deprecated': False}, + 'libpng-2.0': {'id': 'libpng-2.0', 'deprecated': False}, + 'libselinux-1.0': {'id': 'libselinux-1.0', 'deprecated': False}, + 'libtiff': {'id': 'libtiff', 'deprecated': False}, + 'libutil-david-nugent': {'id': 'libutil-David-Nugent', 'deprecated': False}, + 'liliq-p-1.1': {'id': 'LiLiQ-P-1.1', 'deprecated': False}, + 'liliq-r-1.1': {'id': 'LiLiQ-R-1.1', 'deprecated': False}, + 'liliq-rplus-1.1': {'id': 'LiLiQ-Rplus-1.1', 'deprecated': False}, + 'linux-man-pages-1-para': {'id': 'Linux-man-pages-1-para', 'deprecated': False}, + 'linux-man-pages-copyleft': {'id': 'Linux-man-pages-copyleft', 'deprecated': False}, + 'linux-man-pages-copyleft-2-para': {'id': 'Linux-man-pages-copyleft-2-para', 'deprecated': False}, + 'linux-man-pages-copyleft-var': {'id': 'Linux-man-pages-copyleft-var', 'deprecated': False}, + 'linux-openib': {'id': 'Linux-OpenIB', 'deprecated': False}, + 'loop': {'id': 'LOOP', 'deprecated': False}, + 'lpd-document': {'id': 'LPD-document', 'deprecated': False}, + 'lpl-1.0': {'id': 'LPL-1.0', 'deprecated': False}, + 'lpl-1.02': {'id': 'LPL-1.02', 'deprecated': False}, + 'lppl-1.0': {'id': 'LPPL-1.0', 'deprecated': False}, + 'lppl-1.1': {'id': 'LPPL-1.1', 'deprecated': False}, + 'lppl-1.2': {'id': 'LPPL-1.2', 'deprecated': False}, + 'lppl-1.3a': {'id': 'LPPL-1.3a', 'deprecated': False}, + 'lppl-1.3c': {'id': 'LPPL-1.3c', 'deprecated': False}, + 'lsof': {'id': 'lsof', 'deprecated': False}, + 'lucida-bitmap-fonts': {'id': 'Lucida-Bitmap-Fonts', 'deprecated': False}, + 'lzma-sdk-9.11-to-9.20': {'id': 'LZMA-SDK-9.11-to-9.20', 'deprecated': False}, + 'lzma-sdk-9.22': {'id': 'LZMA-SDK-9.22', 'deprecated': False}, + 'mackerras-3-clause': {'id': 'Mackerras-3-Clause', 'deprecated': False}, + 'mackerras-3-clause-acknowledgment': {'id': 'Mackerras-3-Clause-acknowledgment', 'deprecated': False}, + 'magaz': {'id': 'magaz', 'deprecated': False}, + 'mailprio': {'id': 'mailprio', 'deprecated': False}, + 'makeindex': {'id': 'MakeIndex', 'deprecated': False}, + 'martin-birgmeier': {'id': 'Martin-Birgmeier', 'deprecated': False}, + 'mcphee-slideshow': {'id': 'McPhee-slideshow', 'deprecated': False}, + 'metamail': {'id': 'metamail', 'deprecated': False}, + 'minpack': {'id': 'Minpack', 'deprecated': False}, + 'miros': {'id': 'MirOS', 'deprecated': False}, + 'mit': {'id': 'MIT', 'deprecated': False}, + 'mit-0': {'id': 'MIT-0', 'deprecated': False}, + 'mit-advertising': {'id': 'MIT-advertising', 'deprecated': False}, + 'mit-cmu': {'id': 'MIT-CMU', 'deprecated': False}, + 'mit-enna': {'id': 'MIT-enna', 'deprecated': False}, + 'mit-feh': {'id': 'MIT-feh', 'deprecated': False}, + 'mit-festival': {'id': 'MIT-Festival', 'deprecated': False}, + 'mit-khronos-old': {'id': 'MIT-Khronos-old', 'deprecated': False}, + 'mit-modern-variant': {'id': 'MIT-Modern-Variant', 'deprecated': False}, + 'mit-open-group': {'id': 'MIT-open-group', 'deprecated': False}, + 'mit-testregex': {'id': 'MIT-testregex', 'deprecated': False}, + 'mit-wu': {'id': 'MIT-Wu', 'deprecated': False}, + 'mitnfa': {'id': 'MITNFA', 'deprecated': False}, + 'mmixware': {'id': 'MMIXware', 'deprecated': False}, + 'motosoto': {'id': 'Motosoto', 'deprecated': False}, + 'mpeg-ssg': {'id': 'MPEG-SSG', 'deprecated': False}, + 'mpi-permissive': {'id': 'mpi-permissive', 'deprecated': False}, + 'mpich2': {'id': 'mpich2', 'deprecated': False}, + 'mpl-1.0': {'id': 'MPL-1.0', 'deprecated': False}, + 'mpl-1.1': {'id': 'MPL-1.1', 'deprecated': False}, + 'mpl-2.0': {'id': 'MPL-2.0', 'deprecated': False}, + 'mpl-2.0-no-copyleft-exception': {'id': 'MPL-2.0-no-copyleft-exception', 'deprecated': False}, + 'mplus': {'id': 'mplus', 'deprecated': False}, + 'ms-lpl': {'id': 'MS-LPL', 'deprecated': False}, + 'ms-pl': {'id': 'MS-PL', 'deprecated': False}, + 'ms-rl': {'id': 'MS-RL', 'deprecated': False}, + 'mtll': {'id': 'MTLL', 'deprecated': False}, + 'mulanpsl-1.0': {'id': 'MulanPSL-1.0', 'deprecated': False}, + 'mulanpsl-2.0': {'id': 'MulanPSL-2.0', 'deprecated': False}, + 'multics': {'id': 'Multics', 'deprecated': False}, + 'mup': {'id': 'Mup', 'deprecated': False}, + 'naist-2003': {'id': 'NAIST-2003', 'deprecated': False}, + 'nasa-1.3': {'id': 'NASA-1.3', 'deprecated': False}, + 'naumen': {'id': 'Naumen', 'deprecated': False}, + 'nbpl-1.0': {'id': 'NBPL-1.0', 'deprecated': False}, + 'ncbi-pd': {'id': 'NCBI-PD', 'deprecated': False}, + 'ncgl-uk-2.0': {'id': 'NCGL-UK-2.0', 'deprecated': False}, + 'ncl': {'id': 'NCL', 'deprecated': False}, + 'ncsa': {'id': 'NCSA', 'deprecated': False}, + 'net-snmp': {'id': 'Net-SNMP', 'deprecated': True}, + 'netcdf': {'id': 'NetCDF', 'deprecated': False}, + 'newsletr': {'id': 'Newsletr', 'deprecated': False}, + 'ngpl': {'id': 'NGPL', 'deprecated': False}, + 'nicta-1.0': {'id': 'NICTA-1.0', 'deprecated': False}, + 'nist-pd': {'id': 'NIST-PD', 'deprecated': False}, + 'nist-pd-fallback': {'id': 'NIST-PD-fallback', 'deprecated': False}, + 'nist-software': {'id': 'NIST-Software', 'deprecated': False}, + 'nlod-1.0': {'id': 'NLOD-1.0', 'deprecated': False}, + 'nlod-2.0': {'id': 'NLOD-2.0', 'deprecated': False}, + 'nlpl': {'id': 'NLPL', 'deprecated': False}, + 'nokia': {'id': 'Nokia', 'deprecated': False}, + 'nosl': {'id': 'NOSL', 'deprecated': False}, + 'noweb': {'id': 'Noweb', 'deprecated': False}, + 'npl-1.0': {'id': 'NPL-1.0', 'deprecated': False}, + 'npl-1.1': {'id': 'NPL-1.1', 'deprecated': False}, + 'nposl-3.0': {'id': 'NPOSL-3.0', 'deprecated': False}, + 'nrl': {'id': 'NRL', 'deprecated': False}, + 'ntp': {'id': 'NTP', 'deprecated': False}, + 'ntp-0': {'id': 'NTP-0', 'deprecated': False}, + 'nunit': {'id': 'Nunit', 'deprecated': True}, + 'o-uda-1.0': {'id': 'O-UDA-1.0', 'deprecated': False}, + 'oar': {'id': 'OAR', 'deprecated': False}, + 'occt-pl': {'id': 'OCCT-PL', 'deprecated': False}, + 'oclc-2.0': {'id': 'OCLC-2.0', 'deprecated': False}, + 'odbl-1.0': {'id': 'ODbL-1.0', 'deprecated': False}, + 'odc-by-1.0': {'id': 'ODC-By-1.0', 'deprecated': False}, + 'offis': {'id': 'OFFIS', 'deprecated': False}, + 'ofl-1.0': {'id': 'OFL-1.0', 'deprecated': False}, + 'ofl-1.0-no-rfn': {'id': 'OFL-1.0-no-RFN', 'deprecated': False}, + 'ofl-1.0-rfn': {'id': 'OFL-1.0-RFN', 'deprecated': False}, + 'ofl-1.1': {'id': 'OFL-1.1', 'deprecated': False}, + 'ofl-1.1-no-rfn': {'id': 'OFL-1.1-no-RFN', 'deprecated': False}, + 'ofl-1.1-rfn': {'id': 'OFL-1.1-RFN', 'deprecated': False}, + 'ogc-1.0': {'id': 'OGC-1.0', 'deprecated': False}, + 'ogdl-taiwan-1.0': {'id': 'OGDL-Taiwan-1.0', 'deprecated': False}, + 'ogl-canada-2.0': {'id': 'OGL-Canada-2.0', 'deprecated': False}, + 'ogl-uk-1.0': {'id': 'OGL-UK-1.0', 'deprecated': False}, + 'ogl-uk-2.0': {'id': 'OGL-UK-2.0', 'deprecated': False}, + 'ogl-uk-3.0': {'id': 'OGL-UK-3.0', 'deprecated': False}, + 'ogtsl': {'id': 'OGTSL', 'deprecated': False}, + 'oldap-1.1': {'id': 'OLDAP-1.1', 'deprecated': False}, + 'oldap-1.2': {'id': 'OLDAP-1.2', 'deprecated': False}, + 'oldap-1.3': {'id': 'OLDAP-1.3', 'deprecated': False}, + 'oldap-1.4': {'id': 'OLDAP-1.4', 'deprecated': False}, + 'oldap-2.0': {'id': 'OLDAP-2.0', 'deprecated': False}, + 'oldap-2.0.1': {'id': 'OLDAP-2.0.1', 'deprecated': False}, + 'oldap-2.1': {'id': 'OLDAP-2.1', 'deprecated': False}, + 'oldap-2.2': {'id': 'OLDAP-2.2', 'deprecated': False}, + 'oldap-2.2.1': {'id': 'OLDAP-2.2.1', 'deprecated': False}, + 'oldap-2.2.2': {'id': 'OLDAP-2.2.2', 'deprecated': False}, + 'oldap-2.3': {'id': 'OLDAP-2.3', 'deprecated': False}, + 'oldap-2.4': {'id': 'OLDAP-2.4', 'deprecated': False}, + 'oldap-2.5': {'id': 'OLDAP-2.5', 'deprecated': False}, + 'oldap-2.6': {'id': 'OLDAP-2.6', 'deprecated': False}, + 'oldap-2.7': {'id': 'OLDAP-2.7', 'deprecated': False}, + 'oldap-2.8': {'id': 'OLDAP-2.8', 'deprecated': False}, + 'olfl-1.3': {'id': 'OLFL-1.3', 'deprecated': False}, + 'oml': {'id': 'OML', 'deprecated': False}, + 'openpbs-2.3': {'id': 'OpenPBS-2.3', 'deprecated': False}, + 'openssl': {'id': 'OpenSSL', 'deprecated': False}, + 'openssl-standalone': {'id': 'OpenSSL-standalone', 'deprecated': False}, + 'openvision': {'id': 'OpenVision', 'deprecated': False}, + 'opl-1.0': {'id': 'OPL-1.0', 'deprecated': False}, + 'opl-uk-3.0': {'id': 'OPL-UK-3.0', 'deprecated': False}, + 'opubl-1.0': {'id': 'OPUBL-1.0', 'deprecated': False}, + 'oset-pl-2.1': {'id': 'OSET-PL-2.1', 'deprecated': False}, + 'osl-1.0': {'id': 'OSL-1.0', 'deprecated': False}, + 'osl-1.1': {'id': 'OSL-1.1', 'deprecated': False}, + 'osl-2.0': {'id': 'OSL-2.0', 'deprecated': False}, + 'osl-2.1': {'id': 'OSL-2.1', 'deprecated': False}, + 'osl-3.0': {'id': 'OSL-3.0', 'deprecated': False}, + 'padl': {'id': 'PADL', 'deprecated': False}, + 'parity-6.0.0': {'id': 'Parity-6.0.0', 'deprecated': False}, + 'parity-7.0.0': {'id': 'Parity-7.0.0', 'deprecated': False}, + 'pddl-1.0': {'id': 'PDDL-1.0', 'deprecated': False}, + 'php-3.0': {'id': 'PHP-3.0', 'deprecated': False}, + 'php-3.01': {'id': 'PHP-3.01', 'deprecated': False}, + 'pixar': {'id': 'Pixar', 'deprecated': False}, + 'pkgconf': {'id': 'pkgconf', 'deprecated': False}, + 'plexus': {'id': 'Plexus', 'deprecated': False}, + 'pnmstitch': {'id': 'pnmstitch', 'deprecated': False}, + 'polyform-noncommercial-1.0.0': {'id': 'PolyForm-Noncommercial-1.0.0', 'deprecated': False}, + 'polyform-small-business-1.0.0': {'id': 'PolyForm-Small-Business-1.0.0', 'deprecated': False}, + 'postgresql': {'id': 'PostgreSQL', 'deprecated': False}, + 'ppl': {'id': 'PPL', 'deprecated': False}, + 'psf-2.0': {'id': 'PSF-2.0', 'deprecated': False}, + 'psfrag': {'id': 'psfrag', 'deprecated': False}, + 'psutils': {'id': 'psutils', 'deprecated': False}, + 'python-2.0': {'id': 'Python-2.0', 'deprecated': False}, + 'python-2.0.1': {'id': 'Python-2.0.1', 'deprecated': False}, + 'python-ldap': {'id': 'python-ldap', 'deprecated': False}, + 'qhull': {'id': 'Qhull', 'deprecated': False}, + 'qpl-1.0': {'id': 'QPL-1.0', 'deprecated': False}, + 'qpl-1.0-inria-2004': {'id': 'QPL-1.0-INRIA-2004', 'deprecated': False}, + 'radvd': {'id': 'radvd', 'deprecated': False}, + 'rdisc': {'id': 'Rdisc', 'deprecated': False}, + 'rhecos-1.1': {'id': 'RHeCos-1.1', 'deprecated': False}, + 'rpl-1.1': {'id': 'RPL-1.1', 'deprecated': False}, + 'rpl-1.5': {'id': 'RPL-1.5', 'deprecated': False}, + 'rpsl-1.0': {'id': 'RPSL-1.0', 'deprecated': False}, + 'rsa-md': {'id': 'RSA-MD', 'deprecated': False}, + 'rscpl': {'id': 'RSCPL', 'deprecated': False}, + 'ruby': {'id': 'Ruby', 'deprecated': False}, + 'ruby-pty': {'id': 'Ruby-pty', 'deprecated': False}, + 'sax-pd': {'id': 'SAX-PD', 'deprecated': False}, + 'sax-pd-2.0': {'id': 'SAX-PD-2.0', 'deprecated': False}, + 'saxpath': {'id': 'Saxpath', 'deprecated': False}, + 'scea': {'id': 'SCEA', 'deprecated': False}, + 'schemereport': {'id': 'SchemeReport', 'deprecated': False}, + 'sendmail': {'id': 'Sendmail', 'deprecated': False}, + 'sendmail-8.23': {'id': 'Sendmail-8.23', 'deprecated': False}, + 'sgi-b-1.0': {'id': 'SGI-B-1.0', 'deprecated': False}, + 'sgi-b-1.1': {'id': 'SGI-B-1.1', 'deprecated': False}, + 'sgi-b-2.0': {'id': 'SGI-B-2.0', 'deprecated': False}, + 'sgi-opengl': {'id': 'SGI-OpenGL', 'deprecated': False}, + 'sgp4': {'id': 'SGP4', 'deprecated': False}, + 'shl-0.5': {'id': 'SHL-0.5', 'deprecated': False}, + 'shl-0.51': {'id': 'SHL-0.51', 'deprecated': False}, + 'simpl-2.0': {'id': 'SimPL-2.0', 'deprecated': False}, + 'sissl': {'id': 'SISSL', 'deprecated': False}, + 'sissl-1.2': {'id': 'SISSL-1.2', 'deprecated': False}, + 'sl': {'id': 'SL', 'deprecated': False}, + 'sleepycat': {'id': 'Sleepycat', 'deprecated': False}, + 'smlnj': {'id': 'SMLNJ', 'deprecated': False}, + 'smppl': {'id': 'SMPPL', 'deprecated': False}, + 'snia': {'id': 'SNIA', 'deprecated': False}, + 'snprintf': {'id': 'snprintf', 'deprecated': False}, + 'softsurfer': {'id': 'softSurfer', 'deprecated': False}, + 'soundex': {'id': 'Soundex', 'deprecated': False}, + 'spencer-86': {'id': 'Spencer-86', 'deprecated': False}, + 'spencer-94': {'id': 'Spencer-94', 'deprecated': False}, + 'spencer-99': {'id': 'Spencer-99', 'deprecated': False}, + 'spl-1.0': {'id': 'SPL-1.0', 'deprecated': False}, + 'ssh-keyscan': {'id': 'ssh-keyscan', 'deprecated': False}, + 'ssh-openssh': {'id': 'SSH-OpenSSH', 'deprecated': False}, + 'ssh-short': {'id': 'SSH-short', 'deprecated': False}, + 'ssleay-standalone': {'id': 'SSLeay-standalone', 'deprecated': False}, + 'sspl-1.0': {'id': 'SSPL-1.0', 'deprecated': False}, + 'standardml-nj': {'id': 'StandardML-NJ', 'deprecated': True}, + 'sugarcrm-1.1.3': {'id': 'SugarCRM-1.1.3', 'deprecated': False}, + 'sun-ppp': {'id': 'Sun-PPP', 'deprecated': False}, + 'sun-ppp-2000': {'id': 'Sun-PPP-2000', 'deprecated': False}, + 'sunpro': {'id': 'SunPro', 'deprecated': False}, + 'swl': {'id': 'SWL', 'deprecated': False}, + 'swrule': {'id': 'swrule', 'deprecated': False}, + 'symlinks': {'id': 'Symlinks', 'deprecated': False}, + 'tapr-ohl-1.0': {'id': 'TAPR-OHL-1.0', 'deprecated': False}, + 'tcl': {'id': 'TCL', 'deprecated': False}, + 'tcp-wrappers': {'id': 'TCP-wrappers', 'deprecated': False}, + 'termreadkey': {'id': 'TermReadKey', 'deprecated': False}, + 'tgppl-1.0': {'id': 'TGPPL-1.0', 'deprecated': False}, + 'threeparttable': {'id': 'threeparttable', 'deprecated': False}, + 'tmate': {'id': 'TMate', 'deprecated': False}, + 'torque-1.1': {'id': 'TORQUE-1.1', 'deprecated': False}, + 'tosl': {'id': 'TOSL', 'deprecated': False}, + 'tpdl': {'id': 'TPDL', 'deprecated': False}, + 'tpl-1.0': {'id': 'TPL-1.0', 'deprecated': False}, + 'ttwl': {'id': 'TTWL', 'deprecated': False}, + 'ttyp0': {'id': 'TTYP0', 'deprecated': False}, + 'tu-berlin-1.0': {'id': 'TU-Berlin-1.0', 'deprecated': False}, + 'tu-berlin-2.0': {'id': 'TU-Berlin-2.0', 'deprecated': False}, + 'ubuntu-font-1.0': {'id': 'Ubuntu-font-1.0', 'deprecated': False}, + 'ucar': {'id': 'UCAR', 'deprecated': False}, + 'ucl-1.0': {'id': 'UCL-1.0', 'deprecated': False}, + 'ulem': {'id': 'ulem', 'deprecated': False}, + 'umich-merit': {'id': 'UMich-Merit', 'deprecated': False}, + 'unicode-3.0': {'id': 'Unicode-3.0', 'deprecated': False}, + 'unicode-dfs-2015': {'id': 'Unicode-DFS-2015', 'deprecated': False}, + 'unicode-dfs-2016': {'id': 'Unicode-DFS-2016', 'deprecated': False}, + 'unicode-tou': {'id': 'Unicode-TOU', 'deprecated': False}, + 'unixcrypt': {'id': 'UnixCrypt', 'deprecated': False}, + 'unlicense': {'id': 'Unlicense', 'deprecated': False}, + 'upl-1.0': {'id': 'UPL-1.0', 'deprecated': False}, + 'urt-rle': {'id': 'URT-RLE', 'deprecated': False}, + 'vim': {'id': 'Vim', 'deprecated': False}, + 'vostrom': {'id': 'VOSTROM', 'deprecated': False}, + 'vsl-1.0': {'id': 'VSL-1.0', 'deprecated': False}, + 'w3c': {'id': 'W3C', 'deprecated': False}, + 'w3c-19980720': {'id': 'W3C-19980720', 'deprecated': False}, + 'w3c-20150513': {'id': 'W3C-20150513', 'deprecated': False}, + 'w3m': {'id': 'w3m', 'deprecated': False}, + 'watcom-1.0': {'id': 'Watcom-1.0', 'deprecated': False}, + 'widget-workshop': {'id': 'Widget-Workshop', 'deprecated': False}, + 'wsuipa': {'id': 'Wsuipa', 'deprecated': False}, + 'wtfpl': {'id': 'WTFPL', 'deprecated': False}, + 'wxwindows': {'id': 'wxWindows', 'deprecated': True}, + 'x11': {'id': 'X11', 'deprecated': False}, + 'x11-distribute-modifications-variant': {'id': 'X11-distribute-modifications-variant', 'deprecated': False}, + 'x11-swapped': {'id': 'X11-swapped', 'deprecated': False}, + 'xdebug-1.03': {'id': 'Xdebug-1.03', 'deprecated': False}, + 'xerox': {'id': 'Xerox', 'deprecated': False}, + 'xfig': {'id': 'Xfig', 'deprecated': False}, + 'xfree86-1.1': {'id': 'XFree86-1.1', 'deprecated': False}, + 'xinetd': {'id': 'xinetd', 'deprecated': False}, + 'xkeyboard-config-zinoviev': {'id': 'xkeyboard-config-Zinoviev', 'deprecated': False}, + 'xlock': {'id': 'xlock', 'deprecated': False}, + 'xnet': {'id': 'Xnet', 'deprecated': False}, + 'xpp': {'id': 'xpp', 'deprecated': False}, + 'xskat': {'id': 'XSkat', 'deprecated': False}, + 'xzoom': {'id': 'xzoom', 'deprecated': False}, + 'ypl-1.0': {'id': 'YPL-1.0', 'deprecated': False}, + 'ypl-1.1': {'id': 'YPL-1.1', 'deprecated': False}, + 'zed': {'id': 'Zed', 'deprecated': False}, + 'zeeff': {'id': 'Zeeff', 'deprecated': False}, + 'zend-2.0': {'id': 'Zend-2.0', 'deprecated': False}, + 'zimbra-1.3': {'id': 'Zimbra-1.3', 'deprecated': False}, + 'zimbra-1.4': {'id': 'Zimbra-1.4', 'deprecated': False}, + 'zlib': {'id': 'Zlib', 'deprecated': False}, + 'zlib-acknowledgement': {'id': 'zlib-acknowledgement', 'deprecated': False}, + 'zpl-1.1': {'id': 'ZPL-1.1', 'deprecated': False}, + 'zpl-2.0': {'id': 'ZPL-2.0', 'deprecated': False}, + 'zpl-2.1': {'id': 'ZPL-2.1', 'deprecated': False}, +} + +EXCEPTIONS: dict[str, SPDXException] = { + '389-exception': {'id': '389-exception', 'deprecated': False}, + 'asterisk-exception': {'id': 'Asterisk-exception', 'deprecated': False}, + 'asterisk-linking-protocols-exception': {'id': 'Asterisk-linking-protocols-exception', 'deprecated': False}, + 'autoconf-exception-2.0': {'id': 'Autoconf-exception-2.0', 'deprecated': False}, + 'autoconf-exception-3.0': {'id': 'Autoconf-exception-3.0', 'deprecated': False}, + 'autoconf-exception-generic': {'id': 'Autoconf-exception-generic', 'deprecated': False}, + 'autoconf-exception-generic-3.0': {'id': 'Autoconf-exception-generic-3.0', 'deprecated': False}, + 'autoconf-exception-macro': {'id': 'Autoconf-exception-macro', 'deprecated': False}, + 'bison-exception-1.24': {'id': 'Bison-exception-1.24', 'deprecated': False}, + 'bison-exception-2.2': {'id': 'Bison-exception-2.2', 'deprecated': False}, + 'bootloader-exception': {'id': 'Bootloader-exception', 'deprecated': False}, + 'classpath-exception-2.0': {'id': 'Classpath-exception-2.0', 'deprecated': False}, + 'clisp-exception-2.0': {'id': 'CLISP-exception-2.0', 'deprecated': False}, + 'cryptsetup-openssl-exception': {'id': 'cryptsetup-OpenSSL-exception', 'deprecated': False}, + 'digirule-foss-exception': {'id': 'DigiRule-FOSS-exception', 'deprecated': False}, + 'ecos-exception-2.0': {'id': 'eCos-exception-2.0', 'deprecated': False}, + 'erlang-otp-linking-exception': {'id': 'erlang-otp-linking-exception', 'deprecated': False}, + 'fawkes-runtime-exception': {'id': 'Fawkes-Runtime-exception', 'deprecated': False}, + 'fltk-exception': {'id': 'FLTK-exception', 'deprecated': False}, + 'fmt-exception': {'id': 'fmt-exception', 'deprecated': False}, + 'font-exception-2.0': {'id': 'Font-exception-2.0', 'deprecated': False}, + 'freertos-exception-2.0': {'id': 'freertos-exception-2.0', 'deprecated': False}, + 'gcc-exception-2.0': {'id': 'GCC-exception-2.0', 'deprecated': False}, + 'gcc-exception-2.0-note': {'id': 'GCC-exception-2.0-note', 'deprecated': False}, + 'gcc-exception-3.1': {'id': 'GCC-exception-3.1', 'deprecated': False}, + 'gmsh-exception': {'id': 'Gmsh-exception', 'deprecated': False}, + 'gnat-exception': {'id': 'GNAT-exception', 'deprecated': False}, + 'gnome-examples-exception': {'id': 'GNOME-examples-exception', 'deprecated': False}, + 'gnu-compiler-exception': {'id': 'GNU-compiler-exception', 'deprecated': False}, + 'gnu-javamail-exception': {'id': 'gnu-javamail-exception', 'deprecated': False}, + 'gpl-3.0-interface-exception': {'id': 'GPL-3.0-interface-exception', 'deprecated': False}, + 'gpl-3.0-linking-exception': {'id': 'GPL-3.0-linking-exception', 'deprecated': False}, + 'gpl-3.0-linking-source-exception': {'id': 'GPL-3.0-linking-source-exception', 'deprecated': False}, + 'gpl-cc-1.0': {'id': 'GPL-CC-1.0', 'deprecated': False}, + 'gstreamer-exception-2005': {'id': 'GStreamer-exception-2005', 'deprecated': False}, + 'gstreamer-exception-2008': {'id': 'GStreamer-exception-2008', 'deprecated': False}, + 'i2p-gpl-java-exception': {'id': 'i2p-gpl-java-exception', 'deprecated': False}, + 'kicad-libraries-exception': {'id': 'KiCad-libraries-exception', 'deprecated': False}, + 'lgpl-3.0-linking-exception': {'id': 'LGPL-3.0-linking-exception', 'deprecated': False}, + 'libpri-openh323-exception': {'id': 'libpri-OpenH323-exception', 'deprecated': False}, + 'libtool-exception': {'id': 'Libtool-exception', 'deprecated': False}, + 'linux-syscall-note': {'id': 'Linux-syscall-note', 'deprecated': False}, + 'llgpl': {'id': 'LLGPL', 'deprecated': False}, + 'llvm-exception': {'id': 'LLVM-exception', 'deprecated': False}, + 'lzma-exception': {'id': 'LZMA-exception', 'deprecated': False}, + 'mif-exception': {'id': 'mif-exception', 'deprecated': False}, + 'nokia-qt-exception-1.1': {'id': 'Nokia-Qt-exception-1.1', 'deprecated': True}, + 'ocaml-lgpl-linking-exception': {'id': 'OCaml-LGPL-linking-exception', 'deprecated': False}, + 'occt-exception-1.0': {'id': 'OCCT-exception-1.0', 'deprecated': False}, + 'openjdk-assembly-exception-1.0': {'id': 'OpenJDK-assembly-exception-1.0', 'deprecated': False}, + 'openvpn-openssl-exception': {'id': 'openvpn-openssl-exception', 'deprecated': False}, + 'pcre2-exception': {'id': 'PCRE2-exception', 'deprecated': False}, + 'ps-or-pdf-font-exception-20170817': {'id': 'PS-or-PDF-font-exception-20170817', 'deprecated': False}, + 'qpl-1.0-inria-2004-exception': {'id': 'QPL-1.0-INRIA-2004-exception', 'deprecated': False}, + 'qt-gpl-exception-1.0': {'id': 'Qt-GPL-exception-1.0', 'deprecated': False}, + 'qt-lgpl-exception-1.1': {'id': 'Qt-LGPL-exception-1.1', 'deprecated': False}, + 'qwt-exception-1.0': {'id': 'Qwt-exception-1.0', 'deprecated': False}, + 'romic-exception': {'id': 'romic-exception', 'deprecated': False}, + 'rrdtool-floss-exception-2.0': {'id': 'RRDtool-FLOSS-exception-2.0', 'deprecated': False}, + 'sane-exception': {'id': 'SANE-exception', 'deprecated': False}, + 'shl-2.0': {'id': 'SHL-2.0', 'deprecated': False}, + 'shl-2.1': {'id': 'SHL-2.1', 'deprecated': False}, + 'stunnel-exception': {'id': 'stunnel-exception', 'deprecated': False}, + 'swi-exception': {'id': 'SWI-exception', 'deprecated': False}, + 'swift-exception': {'id': 'Swift-exception', 'deprecated': False}, + 'texinfo-exception': {'id': 'Texinfo-exception', 'deprecated': False}, + 'u-boot-exception-2.0': {'id': 'u-boot-exception-2.0', 'deprecated': False}, + 'ubdl-exception': {'id': 'UBDL-exception', 'deprecated': False}, + 'universal-foss-exception-1.0': {'id': 'Universal-FOSS-exception-1.0', 'deprecated': False}, + 'vsftpd-openssl-exception': {'id': 'vsftpd-openssl-exception', 'deprecated': False}, + 'wxwindows-exception-3.1': {'id': 'WxWindows-exception-3.1', 'deprecated': False}, + 'x11vnc-openssl-exception': {'id': 'x11vnc-openssl-exception', 'deprecated': False}, +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py new file mode 100644 index 0000000000000000000000000000000000000000..e7cea57297a23809548fcd0d344740796bae945b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py @@ -0,0 +1,362 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import operator +import os +import platform +import sys +from typing import AbstractSet, Any, Callable, Literal, TypedDict, Union, cast + +from ._parser import MarkerAtom, MarkerList, Op, Value, Variable +from ._parser import parse_marker as _parse_marker +from ._tokenizer import ParserSyntaxError +from .specifiers import InvalidSpecifier, Specifier +from .utils import canonicalize_name + +__all__ = [ + "EvaluateContext", + "InvalidMarker", + "Marker", + "UndefinedComparison", + "UndefinedEnvironmentName", + "default_environment", +] + +Operator = Callable[[str, Union[str, AbstractSet[str]]], bool] +EvaluateContext = Literal["metadata", "lock_file", "requirement"] +MARKERS_ALLOWING_SET = {"extras", "dependency_groups"} + + +class InvalidMarker(ValueError): + """ + An invalid marker was found, users should refer to PEP 508. + """ + + +class UndefinedComparison(ValueError): + """ + An invalid operation was attempted on a value that doesn't support it. + """ + + +class UndefinedEnvironmentName(ValueError): + """ + A name was attempted to be used that does not exist inside of the + environment. + """ + + +class Environment(TypedDict): + implementation_name: str + """The implementation's identifier, e.g. ``'cpython'``.""" + + implementation_version: str + """ + The implementation's version, e.g. ``'3.13.0a2'`` for CPython 3.13.0a2, or + ``'7.3.13'`` for PyPy3.10 v7.3.13. + """ + + os_name: str + """ + The value of :py:data:`os.name`. The name of the operating system dependent module + imported, e.g. ``'posix'``. + """ + + platform_machine: str + """ + Returns the machine type, e.g. ``'i386'``. + + An empty string if the value cannot be determined. + """ + + platform_release: str + """ + The system's release, e.g. ``'2.2.0'`` or ``'NT'``. + + An empty string if the value cannot be determined. + """ + + platform_system: str + """ + The system/OS name, e.g. ``'Linux'``, ``'Windows'`` or ``'Java'``. + + An empty string if the value cannot be determined. + """ + + platform_version: str + """ + The system's release version, e.g. ``'#3 on degas'``. + + An empty string if the value cannot be determined. + """ + + python_full_version: str + """ + The Python version as string ``'major.minor.patchlevel'``. + + Note that unlike the Python :py:data:`sys.version`, this value will always include + the patchlevel (it defaults to 0). + """ + + platform_python_implementation: str + """ + A string identifying the Python implementation, e.g. ``'CPython'``. + """ + + python_version: str + """The Python version as string ``'major.minor'``.""" + + sys_platform: str + """ + This string contains a platform identifier that can be used to append + platform-specific components to :py:data:`sys.path`, for instance. + + For Unix systems, except on Linux and AIX, this is the lowercased OS name as + returned by ``uname -s`` with the first part of the version as returned by + ``uname -r`` appended, e.g. ``'sunos5'`` or ``'freebsd8'``, at the time when Python + was built. + """ + + +def _normalize_extra_values(results: Any) -> Any: + """ + Normalize extra values. + """ + if isinstance(results[0], tuple): + lhs, op, rhs = results[0] + if isinstance(lhs, Variable) and lhs.value == "extra": + normalized_extra = canonicalize_name(rhs.value) + rhs = Value(normalized_extra) + elif isinstance(rhs, Variable) and rhs.value == "extra": + normalized_extra = canonicalize_name(lhs.value) + lhs = Value(normalized_extra) + results[0] = lhs, op, rhs + return results + + +def _format_marker( + marker: list[str] | MarkerAtom | str, first: bool | None = True +) -> str: + assert isinstance(marker, (list, tuple, str)) + + # Sometimes we have a structure like [[...]] which is a single item list + # where the single item is itself it's own list. In that case we want skip + # the rest of this function so that we don't get extraneous () on the + # outside. + if ( + isinstance(marker, list) + and len(marker) == 1 + and isinstance(marker[0], (list, tuple)) + ): + return _format_marker(marker[0]) + + if isinstance(marker, list): + inner = (_format_marker(m, first=False) for m in marker) + if first: + return " ".join(inner) + else: + return "(" + " ".join(inner) + ")" + elif isinstance(marker, tuple): + return " ".join([m.serialize() for m in marker]) + else: + return marker + + +_operators: dict[str, Operator] = { + "in": lambda lhs, rhs: lhs in rhs, + "not in": lambda lhs, rhs: lhs not in rhs, + "<": operator.lt, + "<=": operator.le, + "==": operator.eq, + "!=": operator.ne, + ">=": operator.ge, + ">": operator.gt, +} + + +def _eval_op(lhs: str, op: Op, rhs: str | AbstractSet[str]) -> bool: + if isinstance(rhs, str): + try: + spec = Specifier("".join([op.serialize(), rhs])) + except InvalidSpecifier: + pass + else: + return spec.contains(lhs, prereleases=True) + + oper: Operator | None = _operators.get(op.serialize()) + if oper is None: + raise UndefinedComparison(f"Undefined {op!r} on {lhs!r} and {rhs!r}.") + + return oper(lhs, rhs) + + +def _normalize( + lhs: str, rhs: str | AbstractSet[str], key: str +) -> tuple[str, str | AbstractSet[str]]: + # PEP 685 – Comparison of extra names for optional distribution dependencies + # https://peps.python.org/pep-0685/ + # > When comparing extra names, tools MUST normalize the names being + # > compared using the semantics outlined in PEP 503 for names + if key == "extra": + assert isinstance(rhs, str), "extra value must be a string" + return (canonicalize_name(lhs), canonicalize_name(rhs)) + if key in MARKERS_ALLOWING_SET: + if isinstance(rhs, str): # pragma: no cover + return (canonicalize_name(lhs), canonicalize_name(rhs)) + else: + return (canonicalize_name(lhs), {canonicalize_name(v) for v in rhs}) + + # other environment markers don't have such standards + return lhs, rhs + + +def _evaluate_markers( + markers: MarkerList, environment: dict[str, str | AbstractSet[str]] +) -> bool: + groups: list[list[bool]] = [[]] + + for marker in markers: + assert isinstance(marker, (list, tuple, str)) + + if isinstance(marker, list): + groups[-1].append(_evaluate_markers(marker, environment)) + elif isinstance(marker, tuple): + lhs, op, rhs = marker + + if isinstance(lhs, Variable): + environment_key = lhs.value + lhs_value = environment[environment_key] + rhs_value = rhs.value + else: + lhs_value = lhs.value + environment_key = rhs.value + rhs_value = environment[environment_key] + assert isinstance(lhs_value, str), "lhs must be a string" + lhs_value, rhs_value = _normalize(lhs_value, rhs_value, key=environment_key) + groups[-1].append(_eval_op(lhs_value, op, rhs_value)) + else: + assert marker in ["and", "or"] + if marker == "or": + groups.append([]) + + return any(all(item) for item in groups) + + +def format_full_version(info: sys._version_info) -> str: + version = f"{info.major}.{info.minor}.{info.micro}" + kind = info.releaselevel + if kind != "final": + version += kind[0] + str(info.serial) + return version + + +def default_environment() -> Environment: + iver = format_full_version(sys.implementation.version) + implementation_name = sys.implementation.name + return { + "implementation_name": implementation_name, + "implementation_version": iver, + "os_name": os.name, + "platform_machine": platform.machine(), + "platform_release": platform.release(), + "platform_system": platform.system(), + "platform_version": platform.version(), + "python_full_version": platform.python_version(), + "platform_python_implementation": platform.python_implementation(), + "python_version": ".".join(platform.python_version_tuple()[:2]), + "sys_platform": sys.platform, + } + + +class Marker: + def __init__(self, marker: str) -> None: + # Note: We create a Marker object without calling this constructor in + # packaging.requirements.Requirement. If any additional logic is + # added here, make sure to mirror/adapt Requirement. + try: + self._markers = _normalize_extra_values(_parse_marker(marker)) + # The attribute `_markers` can be described in terms of a recursive type: + # MarkerList = List[Union[Tuple[Node, ...], str, MarkerList]] + # + # For example, the following expression: + # python_version > "3.6" or (python_version == "3.6" and os_name == "unix") + # + # is parsed into: + # [ + # (, ')>, ), + # 'and', + # [ + # (, , ), + # 'or', + # (, , ) + # ] + # ] + except ParserSyntaxError as e: + raise InvalidMarker(str(e)) from e + + def __str__(self) -> str: + return _format_marker(self._markers) + + def __repr__(self) -> str: + return f"" + + def __hash__(self) -> int: + return hash((self.__class__.__name__, str(self))) + + def __eq__(self, other: Any) -> bool: + if not isinstance(other, Marker): + return NotImplemented + + return str(self) == str(other) + + def evaluate( + self, + environment: dict[str, str] | None = None, + context: EvaluateContext = "metadata", + ) -> bool: + """Evaluate a marker. + + Return the boolean from evaluating the given marker against the + environment. environment is an optional argument to override all or + part of the determined environment. The *context* parameter specifies what + context the markers are being evaluated for, which influences what markers + are considered valid. Acceptable values are "metadata" (for core metadata; + default), "lock_file", and "requirement" (i.e. all other situations). + + The environment is determined from the current Python process. + """ + current_environment = cast( + "dict[str, str | AbstractSet[str]]", default_environment() + ) + if context == "lock_file": + current_environment.update( + extras=frozenset(), dependency_groups=frozenset() + ) + elif context == "metadata": + current_environment["extra"] = "" + if environment is not None: + current_environment.update(environment) + # The API used to allow setting extra to None. We need to handle this + # case for backwards compatibility. + if "extra" in current_environment and current_environment["extra"] is None: + current_environment["extra"] = "" + + return _evaluate_markers( + self._markers, _repair_python_full_version(current_environment) + ) + + +def _repair_python_full_version( + env: dict[str, str | AbstractSet[str]], +) -> dict[str, str | AbstractSet[str]]: + """ + Work around platform.python_version() returning something that is not PEP 440 + compliant for non-tagged Python builds. + """ + python_full_version = cast(str, env["python_full_version"]) + if python_full_version.endswith("+"): + env["python_full_version"] = f"{python_full_version}local" + return env diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py new file mode 100644 index 0000000000000000000000000000000000000000..3bd8602d36c53374f1f10a0716d28fdc64e2d3ac --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py @@ -0,0 +1,862 @@ +from __future__ import annotations + +import email.feedparser +import email.header +import email.message +import email.parser +import email.policy +import pathlib +import sys +import typing +from typing import ( + Any, + Callable, + Generic, + Literal, + TypedDict, + cast, +) + +from . import licenses, requirements, specifiers, utils +from . import version as version_module +from .licenses import NormalizedLicenseExpression + +T = typing.TypeVar("T") + + +if sys.version_info >= (3, 11): # pragma: no cover + ExceptionGroup = ExceptionGroup +else: # pragma: no cover + + class ExceptionGroup(Exception): + """A minimal implementation of :external:exc:`ExceptionGroup` from Python 3.11. + + If :external:exc:`ExceptionGroup` is already defined by Python itself, + that version is used instead. + """ + + message: str + exceptions: list[Exception] + + def __init__(self, message: str, exceptions: list[Exception]) -> None: + self.message = message + self.exceptions = exceptions + + def __repr__(self) -> str: + return f"{self.__class__.__name__}({self.message!r}, {self.exceptions!r})" + + +class InvalidMetadata(ValueError): + """A metadata field contains invalid data.""" + + field: str + """The name of the field that contains invalid data.""" + + def __init__(self, field: str, message: str) -> None: + self.field = field + super().__init__(message) + + +# The RawMetadata class attempts to make as few assumptions about the underlying +# serialization formats as possible. The idea is that as long as a serialization +# formats offer some very basic primitives in *some* way then we can support +# serializing to and from that format. +class RawMetadata(TypedDict, total=False): + """A dictionary of raw core metadata. + + Each field in core metadata maps to a key of this dictionary (when data is + provided). The key is lower-case and underscores are used instead of dashes + compared to the equivalent core metadata field. Any core metadata field that + can be specified multiple times or can hold multiple values in a single + field have a key with a plural name. See :class:`Metadata` whose attributes + match the keys of this dictionary. + + Core metadata fields that can be specified multiple times are stored as a + list or dict depending on which is appropriate for the field. Any fields + which hold multiple values in a single field are stored as a list. + + """ + + # Metadata 1.0 - PEP 241 + metadata_version: str + name: str + version: str + platforms: list[str] + summary: str + description: str + keywords: list[str] + home_page: str + author: str + author_email: str + license: str + + # Metadata 1.1 - PEP 314 + supported_platforms: list[str] + download_url: str + classifiers: list[str] + requires: list[str] + provides: list[str] + obsoletes: list[str] + + # Metadata 1.2 - PEP 345 + maintainer: str + maintainer_email: str + requires_dist: list[str] + provides_dist: list[str] + obsoletes_dist: list[str] + requires_python: str + requires_external: list[str] + project_urls: dict[str, str] + + # Metadata 2.0 + # PEP 426 attempted to completely revamp the metadata format + # but got stuck without ever being able to build consensus on + # it and ultimately ended up withdrawn. + # + # However, a number of tools had started emitting METADATA with + # `2.0` Metadata-Version, so for historical reasons, this version + # was skipped. + + # Metadata 2.1 - PEP 566 + description_content_type: str + provides_extra: list[str] + + # Metadata 2.2 - PEP 643 + dynamic: list[str] + + # Metadata 2.3 - PEP 685 + # No new fields were added in PEP 685, just some edge case were + # tightened up to provide better interoptability. + + # Metadata 2.4 - PEP 639 + license_expression: str + license_files: list[str] + + +_STRING_FIELDS = { + "author", + "author_email", + "description", + "description_content_type", + "download_url", + "home_page", + "license", + "license_expression", + "maintainer", + "maintainer_email", + "metadata_version", + "name", + "requires_python", + "summary", + "version", +} + +_LIST_FIELDS = { + "classifiers", + "dynamic", + "license_files", + "obsoletes", + "obsoletes_dist", + "platforms", + "provides", + "provides_dist", + "provides_extra", + "requires", + "requires_dist", + "requires_external", + "supported_platforms", +} + +_DICT_FIELDS = { + "project_urls", +} + + +def _parse_keywords(data: str) -> list[str]: + """Split a string of comma-separated keywords into a list of keywords.""" + return [k.strip() for k in data.split(",")] + + +def _parse_project_urls(data: list[str]) -> dict[str, str]: + """Parse a list of label/URL string pairings separated by a comma.""" + urls = {} + for pair in data: + # Our logic is slightly tricky here as we want to try and do + # *something* reasonable with malformed data. + # + # The main thing that we have to worry about, is data that does + # not have a ',' at all to split the label from the Value. There + # isn't a singular right answer here, and we will fail validation + # later on (if the caller is validating) so it doesn't *really* + # matter, but since the missing value has to be an empty str + # and our return value is dict[str, str], if we let the key + # be the missing value, then they'd have multiple '' values that + # overwrite each other in a accumulating dict. + # + # The other potentional issue is that it's possible to have the + # same label multiple times in the metadata, with no solid "right" + # answer with what to do in that case. As such, we'll do the only + # thing we can, which is treat the field as unparseable and add it + # to our list of unparsed fields. + parts = [p.strip() for p in pair.split(",", 1)] + parts.extend([""] * (max(0, 2 - len(parts)))) # Ensure 2 items + + # TODO: The spec doesn't say anything about if the keys should be + # considered case sensitive or not... logically they should + # be case-preserving and case-insensitive, but doing that + # would open up more cases where we might have duplicate + # entries. + label, url = parts + if label in urls: + # The label already exists in our set of urls, so this field + # is unparseable, and we can just add the whole thing to our + # unparseable data and stop processing it. + raise KeyError("duplicate labels in project urls") + urls[label] = url + + return urls + + +def _get_payload(msg: email.message.Message, source: bytes | str) -> str: + """Get the body of the message.""" + # If our source is a str, then our caller has managed encodings for us, + # and we don't need to deal with it. + if isinstance(source, str): + payload = msg.get_payload() + assert isinstance(payload, str) + return payload + # If our source is a bytes, then we're managing the encoding and we need + # to deal with it. + else: + bpayload = msg.get_payload(decode=True) + assert isinstance(bpayload, bytes) + try: + return bpayload.decode("utf8", "strict") + except UnicodeDecodeError as exc: + raise ValueError("payload in an invalid encoding") from exc + + +# The various parse_FORMAT functions here are intended to be as lenient as +# possible in their parsing, while still returning a correctly typed +# RawMetadata. +# +# To aid in this, we also generally want to do as little touching of the +# data as possible, except where there are possibly some historic holdovers +# that make valid data awkward to work with. +# +# While this is a lower level, intermediate format than our ``Metadata`` +# class, some light touch ups can make a massive difference in usability. + +# Map METADATA fields to RawMetadata. +_EMAIL_TO_RAW_MAPPING = { + "author": "author", + "author-email": "author_email", + "classifier": "classifiers", + "description": "description", + "description-content-type": "description_content_type", + "download-url": "download_url", + "dynamic": "dynamic", + "home-page": "home_page", + "keywords": "keywords", + "license": "license", + "license-expression": "license_expression", + "license-file": "license_files", + "maintainer": "maintainer", + "maintainer-email": "maintainer_email", + "metadata-version": "metadata_version", + "name": "name", + "obsoletes": "obsoletes", + "obsoletes-dist": "obsoletes_dist", + "platform": "platforms", + "project-url": "project_urls", + "provides": "provides", + "provides-dist": "provides_dist", + "provides-extra": "provides_extra", + "requires": "requires", + "requires-dist": "requires_dist", + "requires-external": "requires_external", + "requires-python": "requires_python", + "summary": "summary", + "supported-platform": "supported_platforms", + "version": "version", +} +_RAW_TO_EMAIL_MAPPING = {raw: email for email, raw in _EMAIL_TO_RAW_MAPPING.items()} + + +def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]: + """Parse a distribution's metadata stored as email headers (e.g. from ``METADATA``). + + This function returns a two-item tuple of dicts. The first dict is of + recognized fields from the core metadata specification. Fields that can be + parsed and translated into Python's built-in types are converted + appropriately. All other fields are left as-is. Fields that are allowed to + appear multiple times are stored as lists. + + The second dict contains all other fields from the metadata. This includes + any unrecognized fields. It also includes any fields which are expected to + be parsed into a built-in type but were not formatted appropriately. Finally, + any fields that are expected to appear only once but are repeated are + included in this dict. + + """ + raw: dict[str, str | list[str] | dict[str, str]] = {} + unparsed: dict[str, list[str]] = {} + + if isinstance(data, str): + parsed = email.parser.Parser(policy=email.policy.compat32).parsestr(data) + else: + parsed = email.parser.BytesParser(policy=email.policy.compat32).parsebytes(data) + + # We have to wrap parsed.keys() in a set, because in the case of multiple + # values for a key (a list), the key will appear multiple times in the + # list of keys, but we're avoiding that by using get_all(). + for name in frozenset(parsed.keys()): + # Header names in RFC are case insensitive, so we'll normalize to all + # lower case to make comparisons easier. + name = name.lower() + + # We use get_all() here, even for fields that aren't multiple use, + # because otherwise someone could have e.g. two Name fields, and we + # would just silently ignore it rather than doing something about it. + headers = parsed.get_all(name) or [] + + # The way the email module works when parsing bytes is that it + # unconditionally decodes the bytes as ascii using the surrogateescape + # handler. When you pull that data back out (such as with get_all() ), + # it looks to see if the str has any surrogate escapes, and if it does + # it wraps it in a Header object instead of returning the string. + # + # As such, we'll look for those Header objects, and fix up the encoding. + value = [] + # Flag if we have run into any issues processing the headers, thus + # signalling that the data belongs in 'unparsed'. + valid_encoding = True + for h in headers: + # It's unclear if this can return more types than just a Header or + # a str, so we'll just assert here to make sure. + assert isinstance(h, (email.header.Header, str)) + + # If it's a header object, we need to do our little dance to get + # the real data out of it. In cases where there is invalid data + # we're going to end up with mojibake, but there's no obvious, good + # way around that without reimplementing parts of the Header object + # ourselves. + # + # That should be fine since, if mojibacked happens, this key is + # going into the unparsed dict anyways. + if isinstance(h, email.header.Header): + # The Header object stores it's data as chunks, and each chunk + # can be independently encoded, so we'll need to check each + # of them. + chunks: list[tuple[bytes, str | None]] = [] + for bin, encoding in email.header.decode_header(h): + try: + bin.decode("utf8", "strict") + except UnicodeDecodeError: + # Enable mojibake. + encoding = "latin1" + valid_encoding = False + else: + encoding = "utf8" + chunks.append((bin, encoding)) + + # Turn our chunks back into a Header object, then let that + # Header object do the right thing to turn them into a + # string for us. + value.append(str(email.header.make_header(chunks))) + # This is already a string, so just add it. + else: + value.append(h) + + # We've processed all of our values to get them into a list of str, + # but we may have mojibake data, in which case this is an unparsed + # field. + if not valid_encoding: + unparsed[name] = value + continue + + raw_name = _EMAIL_TO_RAW_MAPPING.get(name) + if raw_name is None: + # This is a bit of a weird situation, we've encountered a key that + # we don't know what it means, so we don't know whether it's meant + # to be a list or not. + # + # Since we can't really tell one way or another, we'll just leave it + # as a list, even though it may be a single item list, because that's + # what makes the most sense for email headers. + unparsed[name] = value + continue + + # If this is one of our string fields, then we'll check to see if our + # value is a list of a single item. If it is then we'll assume that + # it was emitted as a single string, and unwrap the str from inside + # the list. + # + # If it's any other kind of data, then we haven't the faintest clue + # what we should parse it as, and we have to just add it to our list + # of unparsed stuff. + if raw_name in _STRING_FIELDS and len(value) == 1: + raw[raw_name] = value[0] + # If this is one of our list of string fields, then we can just assign + # the value, since email *only* has strings, and our get_all() call + # above ensures that this is a list. + elif raw_name in _LIST_FIELDS: + raw[raw_name] = value + # Special Case: Keywords + # The keywords field is implemented in the metadata spec as a str, + # but it conceptually is a list of strings, and is serialized using + # ", ".join(keywords), so we'll do some light data massaging to turn + # this into what it logically is. + elif raw_name == "keywords" and len(value) == 1: + raw[raw_name] = _parse_keywords(value[0]) + # Special Case: Project-URL + # The project urls is implemented in the metadata spec as a list of + # specially-formatted strings that represent a key and a value, which + # is fundamentally a mapping, however the email format doesn't support + # mappings in a sane way, so it was crammed into a list of strings + # instead. + # + # We will do a little light data massaging to turn this into a map as + # it logically should be. + elif raw_name == "project_urls": + try: + raw[raw_name] = _parse_project_urls(value) + except KeyError: + unparsed[name] = value + # Nothing that we've done has managed to parse this, so it'll just + # throw it in our unparseable data and move on. + else: + unparsed[name] = value + + # We need to support getting the Description from the message payload in + # addition to getting it from the the headers. This does mean, though, there + # is the possibility of it being set both ways, in which case we put both + # in 'unparsed' since we don't know which is right. + try: + payload = _get_payload(parsed, data) + except ValueError: + unparsed.setdefault("description", []).append( + parsed.get_payload(decode=isinstance(data, bytes)) # type: ignore[call-overload] + ) + else: + if payload: + # Check to see if we've already got a description, if so then both + # it, and this body move to unparseable. + if "description" in raw: + description_header = cast(str, raw.pop("description")) + unparsed.setdefault("description", []).extend( + [description_header, payload] + ) + elif "description" in unparsed: + unparsed["description"].append(payload) + else: + raw["description"] = payload + + # We need to cast our `raw` to a metadata, because a TypedDict only support + # literal key names, but we're computing our key names on purpose, but the + # way this function is implemented, our `TypedDict` can only have valid key + # names. + return cast(RawMetadata, raw), unparsed + + +_NOT_FOUND = object() + + +# Keep the two values in sync. +_VALID_METADATA_VERSIONS = ["1.0", "1.1", "1.2", "2.1", "2.2", "2.3", "2.4"] +_MetadataVersion = Literal["1.0", "1.1", "1.2", "2.1", "2.2", "2.3", "2.4"] + +_REQUIRED_ATTRS = frozenset(["metadata_version", "name", "version"]) + + +class _Validator(Generic[T]): + """Validate a metadata field. + + All _process_*() methods correspond to a core metadata field. The method is + called with the field's raw value. If the raw value is valid it is returned + in its "enriched" form (e.g. ``version.Version`` for the ``Version`` field). + If the raw value is invalid, :exc:`InvalidMetadata` is raised (with a cause + as appropriate). + """ + + name: str + raw_name: str + added: _MetadataVersion + + def __init__( + self, + *, + added: _MetadataVersion = "1.0", + ) -> None: + self.added = added + + def __set_name__(self, _owner: Metadata, name: str) -> None: + self.name = name + self.raw_name = _RAW_TO_EMAIL_MAPPING[name] + + def __get__(self, instance: Metadata, _owner: type[Metadata]) -> T: + # With Python 3.8, the caching can be replaced with functools.cached_property(). + # No need to check the cache as attribute lookup will resolve into the + # instance's __dict__ before __get__ is called. + cache = instance.__dict__ + value = instance._raw.get(self.name) + + # To make the _process_* methods easier, we'll check if the value is None + # and if this field is NOT a required attribute, and if both of those + # things are true, we'll skip the the converter. This will mean that the + # converters never have to deal with the None union. + if self.name in _REQUIRED_ATTRS or value is not None: + try: + converter: Callable[[Any], T] = getattr(self, f"_process_{self.name}") + except AttributeError: + pass + else: + value = converter(value) + + cache[self.name] = value + try: + del instance._raw[self.name] # type: ignore[misc] + except KeyError: + pass + + return cast(T, value) + + def _invalid_metadata( + self, msg: str, cause: Exception | None = None + ) -> InvalidMetadata: + exc = InvalidMetadata( + self.raw_name, msg.format_map({"field": repr(self.raw_name)}) + ) + exc.__cause__ = cause + return exc + + def _process_metadata_version(self, value: str) -> _MetadataVersion: + # Implicitly makes Metadata-Version required. + if value not in _VALID_METADATA_VERSIONS: + raise self._invalid_metadata(f"{value!r} is not a valid metadata version") + return cast(_MetadataVersion, value) + + def _process_name(self, value: str) -> str: + if not value: + raise self._invalid_metadata("{field} is a required field") + # Validate the name as a side-effect. + try: + utils.canonicalize_name(value, validate=True) + except utils.InvalidName as exc: + raise self._invalid_metadata( + f"{value!r} is invalid for {{field}}", cause=exc + ) from exc + else: + return value + + def _process_version(self, value: str) -> version_module.Version: + if not value: + raise self._invalid_metadata("{field} is a required field") + try: + return version_module.parse(value) + except version_module.InvalidVersion as exc: + raise self._invalid_metadata( + f"{value!r} is invalid for {{field}}", cause=exc + ) from exc + + def _process_summary(self, value: str) -> str: + """Check the field contains no newlines.""" + if "\n" in value: + raise self._invalid_metadata("{field} must be a single line") + return value + + def _process_description_content_type(self, value: str) -> str: + content_types = {"text/plain", "text/x-rst", "text/markdown"} + message = email.message.EmailMessage() + message["content-type"] = value + + content_type, parameters = ( + # Defaults to `text/plain` if parsing failed. + message.get_content_type().lower(), + message["content-type"].params, + ) + # Check if content-type is valid or defaulted to `text/plain` and thus was + # not parseable. + if content_type not in content_types or content_type not in value.lower(): + raise self._invalid_metadata( + f"{{field}} must be one of {list(content_types)}, not {value!r}" + ) + + charset = parameters.get("charset", "UTF-8") + if charset != "UTF-8": + raise self._invalid_metadata( + f"{{field}} can only specify the UTF-8 charset, not {list(charset)}" + ) + + markdown_variants = {"GFM", "CommonMark"} + variant = parameters.get("variant", "GFM") # Use an acceptable default. + if content_type == "text/markdown" and variant not in markdown_variants: + raise self._invalid_metadata( + f"valid Markdown variants for {{field}} are {list(markdown_variants)}, " + f"not {variant!r}", + ) + return value + + def _process_dynamic(self, value: list[str]) -> list[str]: + for dynamic_field in map(str.lower, value): + if dynamic_field in {"name", "version", "metadata-version"}: + raise self._invalid_metadata( + f"{dynamic_field!r} is not allowed as a dynamic field" + ) + elif dynamic_field not in _EMAIL_TO_RAW_MAPPING: + raise self._invalid_metadata( + f"{dynamic_field!r} is not a valid dynamic field" + ) + return list(map(str.lower, value)) + + def _process_provides_extra( + self, + value: list[str], + ) -> list[utils.NormalizedName]: + normalized_names = [] + try: + for name in value: + normalized_names.append(utils.canonicalize_name(name, validate=True)) + except utils.InvalidName as exc: + raise self._invalid_metadata( + f"{name!r} is invalid for {{field}}", cause=exc + ) from exc + else: + return normalized_names + + def _process_requires_python(self, value: str) -> specifiers.SpecifierSet: + try: + return specifiers.SpecifierSet(value) + except specifiers.InvalidSpecifier as exc: + raise self._invalid_metadata( + f"{value!r} is invalid for {{field}}", cause=exc + ) from exc + + def _process_requires_dist( + self, + value: list[str], + ) -> list[requirements.Requirement]: + reqs = [] + try: + for req in value: + reqs.append(requirements.Requirement(req)) + except requirements.InvalidRequirement as exc: + raise self._invalid_metadata( + f"{req!r} is invalid for {{field}}", cause=exc + ) from exc + else: + return reqs + + def _process_license_expression( + self, value: str + ) -> NormalizedLicenseExpression | None: + try: + return licenses.canonicalize_license_expression(value) + except ValueError as exc: + raise self._invalid_metadata( + f"{value!r} is invalid for {{field}}", cause=exc + ) from exc + + def _process_license_files(self, value: list[str]) -> list[str]: + paths = [] + for path in value: + if ".." in path: + raise self._invalid_metadata( + f"{path!r} is invalid for {{field}}, " + "parent directory indicators are not allowed" + ) + if "*" in path: + raise self._invalid_metadata( + f"{path!r} is invalid for {{field}}, paths must be resolved" + ) + if ( + pathlib.PurePosixPath(path).is_absolute() + or pathlib.PureWindowsPath(path).is_absolute() + ): + raise self._invalid_metadata( + f"{path!r} is invalid for {{field}}, paths must be relative" + ) + if pathlib.PureWindowsPath(path).as_posix() != path: + raise self._invalid_metadata( + f"{path!r} is invalid for {{field}}, paths must use '/' delimiter" + ) + paths.append(path) + return paths + + +class Metadata: + """Representation of distribution metadata. + + Compared to :class:`RawMetadata`, this class provides objects representing + metadata fields instead of only using built-in types. Any invalid metadata + will cause :exc:`InvalidMetadata` to be raised (with a + :py:attr:`~BaseException.__cause__` attribute as appropriate). + """ + + _raw: RawMetadata + + @classmethod + def from_raw(cls, data: RawMetadata, *, validate: bool = True) -> Metadata: + """Create an instance from :class:`RawMetadata`. + + If *validate* is true, all metadata will be validated. All exceptions + related to validation will be gathered and raised as an :class:`ExceptionGroup`. + """ + ins = cls() + ins._raw = data.copy() # Mutations occur due to caching enriched values. + + if validate: + exceptions: list[Exception] = [] + try: + metadata_version = ins.metadata_version + metadata_age = _VALID_METADATA_VERSIONS.index(metadata_version) + except InvalidMetadata as metadata_version_exc: + exceptions.append(metadata_version_exc) + metadata_version = None + + # Make sure to check for the fields that are present, the required + # fields (so their absence can be reported). + fields_to_check = frozenset(ins._raw) | _REQUIRED_ATTRS + # Remove fields that have already been checked. + fields_to_check -= {"metadata_version"} + + for key in fields_to_check: + try: + if metadata_version: + # Can't use getattr() as that triggers descriptor protocol which + # will fail due to no value for the instance argument. + try: + field_metadata_version = cls.__dict__[key].added + except KeyError: + exc = InvalidMetadata(key, f"unrecognized field: {key!r}") + exceptions.append(exc) + continue + field_age = _VALID_METADATA_VERSIONS.index( + field_metadata_version + ) + if field_age > metadata_age: + field = _RAW_TO_EMAIL_MAPPING[key] + exc = InvalidMetadata( + field, + f"{field} introduced in metadata version " + f"{field_metadata_version}, not {metadata_version}", + ) + exceptions.append(exc) + continue + getattr(ins, key) + except InvalidMetadata as exc: + exceptions.append(exc) + + if exceptions: + raise ExceptionGroup("invalid metadata", exceptions) + + return ins + + @classmethod + def from_email(cls, data: bytes | str, *, validate: bool = True) -> Metadata: + """Parse metadata from email headers. + + If *validate* is true, the metadata will be validated. All exceptions + related to validation will be gathered and raised as an :class:`ExceptionGroup`. + """ + raw, unparsed = parse_email(data) + + if validate: + exceptions: list[Exception] = [] + for unparsed_key in unparsed: + if unparsed_key in _EMAIL_TO_RAW_MAPPING: + message = f"{unparsed_key!r} has invalid data" + else: + message = f"unrecognized field: {unparsed_key!r}" + exceptions.append(InvalidMetadata(unparsed_key, message)) + + if exceptions: + raise ExceptionGroup("unparsed", exceptions) + + try: + return cls.from_raw(raw, validate=validate) + except ExceptionGroup as exc_group: + raise ExceptionGroup( + "invalid or unparsed metadata", exc_group.exceptions + ) from None + + metadata_version: _Validator[_MetadataVersion] = _Validator() + """:external:ref:`core-metadata-metadata-version` + (required; validated to be a valid metadata version)""" + # `name` is not normalized/typed to NormalizedName so as to provide access to + # the original/raw name. + name: _Validator[str] = _Validator() + """:external:ref:`core-metadata-name` + (required; validated using :func:`~packaging.utils.canonicalize_name` and its + *validate* parameter)""" + version: _Validator[version_module.Version] = _Validator() + """:external:ref:`core-metadata-version` (required)""" + dynamic: _Validator[list[str] | None] = _Validator( + added="2.2", + ) + """:external:ref:`core-metadata-dynamic` + (validated against core metadata field names and lowercased)""" + platforms: _Validator[list[str] | None] = _Validator() + """:external:ref:`core-metadata-platform`""" + supported_platforms: _Validator[list[str] | None] = _Validator(added="1.1") + """:external:ref:`core-metadata-supported-platform`""" + summary: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-summary` (validated to contain no newlines)""" + description: _Validator[str | None] = _Validator() # TODO 2.1: can be in body + """:external:ref:`core-metadata-description`""" + description_content_type: _Validator[str | None] = _Validator(added="2.1") + """:external:ref:`core-metadata-description-content-type` (validated)""" + keywords: _Validator[list[str] | None] = _Validator() + """:external:ref:`core-metadata-keywords`""" + home_page: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-home-page`""" + download_url: _Validator[str | None] = _Validator(added="1.1") + """:external:ref:`core-metadata-download-url`""" + author: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-author`""" + author_email: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-author-email`""" + maintainer: _Validator[str | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-maintainer`""" + maintainer_email: _Validator[str | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-maintainer-email`""" + license: _Validator[str | None] = _Validator() + """:external:ref:`core-metadata-license`""" + license_expression: _Validator[NormalizedLicenseExpression | None] = _Validator( + added="2.4" + ) + """:external:ref:`core-metadata-license-expression`""" + license_files: _Validator[list[str] | None] = _Validator(added="2.4") + """:external:ref:`core-metadata-license-file`""" + classifiers: _Validator[list[str] | None] = _Validator(added="1.1") + """:external:ref:`core-metadata-classifier`""" + requires_dist: _Validator[list[requirements.Requirement] | None] = _Validator( + added="1.2" + ) + """:external:ref:`core-metadata-requires-dist`""" + requires_python: _Validator[specifiers.SpecifierSet | None] = _Validator( + added="1.2" + ) + """:external:ref:`core-metadata-requires-python`""" + # Because `Requires-External` allows for non-PEP 440 version specifiers, we + # don't do any processing on the values. + requires_external: _Validator[list[str] | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-requires-external`""" + project_urls: _Validator[dict[str, str] | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-project-url`""" + # PEP 685 lets us raise an error if an extra doesn't pass `Name` validation + # regardless of metadata version. + provides_extra: _Validator[list[utils.NormalizedName] | None] = _Validator( + added="2.1", + ) + """:external:ref:`core-metadata-provides-extra`""" + provides_dist: _Validator[list[str] | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-provides-dist`""" + obsoletes_dist: _Validator[list[str] | None] = _Validator(added="1.2") + """:external:ref:`core-metadata-obsoletes-dist`""" + requires: _Validator[list[str] | None] = _Validator(added="1.1") + """``Requires`` (deprecated)""" + provides: _Validator[list[str] | None] = _Validator(added="1.1") + """``Provides`` (deprecated)""" + obsoletes: _Validator[list[str] | None] = _Validator(added="1.1") + """``Obsoletes`` (deprecated)""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/requirements.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/requirements.py new file mode 100644 index 0000000000000000000000000000000000000000..4e068c9567def3564f238a76fe7ab46b569f33e5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/requirements.py @@ -0,0 +1,91 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. +from __future__ import annotations + +from typing import Any, Iterator + +from ._parser import parse_requirement as _parse_requirement +from ._tokenizer import ParserSyntaxError +from .markers import Marker, _normalize_extra_values +from .specifiers import SpecifierSet +from .utils import canonicalize_name + + +class InvalidRequirement(ValueError): + """ + An invalid requirement was found, users should refer to PEP 508. + """ + + +class Requirement: + """Parse a requirement. + + Parse a given requirement string into its parts, such as name, specifier, + URL, and extras. Raises InvalidRequirement on a badly-formed requirement + string. + """ + + # TODO: Can we test whether something is contained within a requirement? + # If so how do we do that? Do we need to test against the _name_ of + # the thing as well as the version? What about the markers? + # TODO: Can we normalize the name and extra name? + + def __init__(self, requirement_string: str) -> None: + try: + parsed = _parse_requirement(requirement_string) + except ParserSyntaxError as e: + raise InvalidRequirement(str(e)) from e + + self.name: str = parsed.name + self.url: str | None = parsed.url or None + self.extras: set[str] = set(parsed.extras or []) + self.specifier: SpecifierSet = SpecifierSet(parsed.specifier) + self.marker: Marker | None = None + if parsed.marker is not None: + self.marker = Marker.__new__(Marker) + self.marker._markers = _normalize_extra_values(parsed.marker) + + def _iter_parts(self, name: str) -> Iterator[str]: + yield name + + if self.extras: + formatted_extras = ",".join(sorted(self.extras)) + yield f"[{formatted_extras}]" + + if self.specifier: + yield str(self.specifier) + + if self.url: + yield f"@ {self.url}" + if self.marker: + yield " " + + if self.marker: + yield f"; {self.marker}" + + def __str__(self) -> str: + return "".join(self._iter_parts(self.name)) + + def __repr__(self) -> str: + return f"" + + def __hash__(self) -> int: + return hash( + ( + self.__class__.__name__, + *self._iter_parts(canonicalize_name(self.name)), + ) + ) + + def __eq__(self, other: Any) -> bool: + if not isinstance(other, Requirement): + return NotImplemented + + return ( + canonicalize_name(self.name) == canonicalize_name(other.name) + and self.extras == other.extras + and self.specifier == other.specifier + and self.url == other.url + and self.marker == other.marker + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py new file mode 100644 index 0000000000000000000000000000000000000000..47c3929a1d8c95d21e3a6c410d5404e3fdbe2ead --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py @@ -0,0 +1,1019 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. +""" +.. testsetup:: + + from pip._vendor.packaging.specifiers import Specifier, SpecifierSet, InvalidSpecifier + from pip._vendor.packaging.version import Version +""" + +from __future__ import annotations + +import abc +import itertools +import re +from typing import Callable, Iterable, Iterator, TypeVar, Union + +from .utils import canonicalize_version +from .version import Version + +UnparsedVersion = Union[Version, str] +UnparsedVersionVar = TypeVar("UnparsedVersionVar", bound=UnparsedVersion) +CallableOperator = Callable[[Version, str], bool] + + +def _coerce_version(version: UnparsedVersion) -> Version: + if not isinstance(version, Version): + version = Version(version) + return version + + +class InvalidSpecifier(ValueError): + """ + Raised when attempting to create a :class:`Specifier` with a specifier + string that is invalid. + + >>> Specifier("lolwat") + Traceback (most recent call last): + ... + packaging.specifiers.InvalidSpecifier: Invalid specifier: 'lolwat' + """ + + +class BaseSpecifier(metaclass=abc.ABCMeta): + @abc.abstractmethod + def __str__(self) -> str: + """ + Returns the str representation of this Specifier-like object. This + should be representative of the Specifier itself. + """ + + @abc.abstractmethod + def __hash__(self) -> int: + """ + Returns a hash value for this Specifier-like object. + """ + + @abc.abstractmethod + def __eq__(self, other: object) -> bool: + """ + Returns a boolean representing whether or not the two Specifier-like + objects are equal. + + :param other: The other object to check against. + """ + + @property + @abc.abstractmethod + def prereleases(self) -> bool | None: + """Whether or not pre-releases as a whole are allowed. + + This can be set to either ``True`` or ``False`` to explicitly enable or disable + prereleases or it can be set to ``None`` (the default) to use default semantics. + """ + + @prereleases.setter + def prereleases(self, value: bool) -> None: + """Setter for :attr:`prereleases`. + + :param value: The value to set. + """ + + @abc.abstractmethod + def contains(self, item: str, prereleases: bool | None = None) -> bool: + """ + Determines if the given item is contained within this specifier. + """ + + @abc.abstractmethod + def filter( + self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None + ) -> Iterator[UnparsedVersionVar]: + """ + Takes an iterable of items and filters them so that only items which + are contained within this specifier are allowed in it. + """ + + +class Specifier(BaseSpecifier): + """This class abstracts handling of version specifiers. + + .. tip:: + + It is generally not required to instantiate this manually. You should instead + prefer to work with :class:`SpecifierSet` instead, which can parse + comma-separated version specifiers (which is what package metadata contains). + """ + + _operator_regex_str = r""" + (?P(~=|==|!=|<=|>=|<|>|===)) + """ + _version_regex_str = r""" + (?P + (?: + # The identity operators allow for an escape hatch that will + # do an exact string match of the version you wish to install. + # This will not be parsed by PEP 440 and we cannot determine + # any semantic meaning from it. This operator is discouraged + # but included entirely as an escape hatch. + (?<====) # Only match for the identity operator + \s* + [^\s;)]* # The arbitrary version can be just about anything, + # we match everything except for whitespace, a + # semi-colon for marker support, and a closing paren + # since versions can be enclosed in them. + ) + | + (?: + # The (non)equality operators allow for wild card and local + # versions to be specified so we have to define these two + # operators separately to enable that. + (?<===|!=) # Only match for equals and not equals + + \s* + v? + (?:[0-9]+!)? # epoch + [0-9]+(?:\.[0-9]+)* # release + + # You cannot use a wild card and a pre-release, post-release, a dev or + # local version together so group them with a | and make them optional. + (?: + \.\* # Wild card syntax of .* + | + (?: # pre release + [-_\.]? + (alpha|beta|preview|pre|a|b|c|rc) + [-_\.]? + [0-9]* + )? + (?: # post release + (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*) + )? + (?:[-_\.]?dev[-_\.]?[0-9]*)? # dev release + (?:\+[a-z0-9]+(?:[-_\.][a-z0-9]+)*)? # local + )? + ) + | + (?: + # The compatible operator requires at least two digits in the + # release segment. + (?<=~=) # Only match for the compatible operator + + \s* + v? + (?:[0-9]+!)? # epoch + [0-9]+(?:\.[0-9]+)+ # release (We have a + instead of a *) + (?: # pre release + [-_\.]? + (alpha|beta|preview|pre|a|b|c|rc) + [-_\.]? + [0-9]* + )? + (?: # post release + (?:-[0-9]+)|(?:[-_\.]?(post|rev|r)[-_\.]?[0-9]*) + )? + (?:[-_\.]?dev[-_\.]?[0-9]*)? # dev release + ) + | + (?: + # All other operators only allow a sub set of what the + # (non)equality operators do. Specifically they do not allow + # local versions to be specified nor do they allow the prefix + # matching wild cards. + (?=": "greater_than_equal", + "<": "less_than", + ">": "greater_than", + "===": "arbitrary", + } + + def __init__(self, spec: str = "", prereleases: bool | None = None) -> None: + """Initialize a Specifier instance. + + :param spec: + The string representation of a specifier which will be parsed and + normalized before use. + :param prereleases: + This tells the specifier if it should accept prerelease versions if + applicable or not. The default of ``None`` will autodetect it from the + given specifiers. + :raises InvalidSpecifier: + If the given specifier is invalid (i.e. bad syntax). + """ + match = self._regex.search(spec) + if not match: + raise InvalidSpecifier(f"Invalid specifier: {spec!r}") + + self._spec: tuple[str, str] = ( + match.group("operator").strip(), + match.group("version").strip(), + ) + + # Store whether or not this Specifier should accept prereleases + self._prereleases = prereleases + + # https://github.com/python/mypy/pull/13475#pullrequestreview-1079784515 + @property # type: ignore[override] + def prereleases(self) -> bool: + # If there is an explicit prereleases set for this, then we'll just + # blindly use that. + if self._prereleases is not None: + return self._prereleases + + # Look at all of our specifiers and determine if they are inclusive + # operators, and if they are if they are including an explicit + # prerelease. + operator, version = self._spec + if operator in ["==", ">=", "<=", "~=", "===", ">", "<"]: + # The == specifier can include a trailing .*, if it does we + # want to remove before parsing. + if operator == "==" and version.endswith(".*"): + version = version[:-2] + + # Parse the version, and if it is a pre-release than this + # specifier allows pre-releases. + if Version(version).is_prerelease: + return True + + return False + + @prereleases.setter + def prereleases(self, value: bool) -> None: + self._prereleases = value + + @property + def operator(self) -> str: + """The operator of this specifier. + + >>> Specifier("==1.2.3").operator + '==' + """ + return self._spec[0] + + @property + def version(self) -> str: + """The version of this specifier. + + >>> Specifier("==1.2.3").version + '1.2.3' + """ + return self._spec[1] + + def __repr__(self) -> str: + """A representation of the Specifier that shows all internal state. + + >>> Specifier('>=1.0.0') + =1.0.0')> + >>> Specifier('>=1.0.0', prereleases=False) + =1.0.0', prereleases=False)> + >>> Specifier('>=1.0.0', prereleases=True) + =1.0.0', prereleases=True)> + """ + pre = ( + f", prereleases={self.prereleases!r}" + if self._prereleases is not None + else "" + ) + + return f"<{self.__class__.__name__}({str(self)!r}{pre})>" + + def __str__(self) -> str: + """A string representation of the Specifier that can be round-tripped. + + >>> str(Specifier('>=1.0.0')) + '>=1.0.0' + >>> str(Specifier('>=1.0.0', prereleases=False)) + '>=1.0.0' + """ + return "{}{}".format(*self._spec) + + @property + def _canonical_spec(self) -> tuple[str, str]: + canonical_version = canonicalize_version( + self._spec[1], + strip_trailing_zero=(self._spec[0] != "~="), + ) + return self._spec[0], canonical_version + + def __hash__(self) -> int: + return hash(self._canonical_spec) + + def __eq__(self, other: object) -> bool: + """Whether or not the two Specifier-like objects are equal. + + :param other: The other object to check against. + + The value of :attr:`prereleases` is ignored. + + >>> Specifier("==1.2.3") == Specifier("== 1.2.3.0") + True + >>> (Specifier("==1.2.3", prereleases=False) == + ... Specifier("==1.2.3", prereleases=True)) + True + >>> Specifier("==1.2.3") == "==1.2.3" + True + >>> Specifier("==1.2.3") == Specifier("==1.2.4") + False + >>> Specifier("==1.2.3") == Specifier("~=1.2.3") + False + """ + if isinstance(other, str): + try: + other = self.__class__(str(other)) + except InvalidSpecifier: + return NotImplemented + elif not isinstance(other, self.__class__): + return NotImplemented + + return self._canonical_spec == other._canonical_spec + + def _get_operator(self, op: str) -> CallableOperator: + operator_callable: CallableOperator = getattr( + self, f"_compare_{self._operators[op]}" + ) + return operator_callable + + def _compare_compatible(self, prospective: Version, spec: str) -> bool: + # Compatible releases have an equivalent combination of >= and ==. That + # is that ~=2.2 is equivalent to >=2.2,==2.*. This allows us to + # implement this in terms of the other specifiers instead of + # implementing it ourselves. The only thing we need to do is construct + # the other specifiers. + + # We want everything but the last item in the version, but we want to + # ignore suffix segments. + prefix = _version_join( + list(itertools.takewhile(_is_not_suffix, _version_split(spec)))[:-1] + ) + + # Add the prefix notation to the end of our string + prefix += ".*" + + return self._get_operator(">=")(prospective, spec) and self._get_operator("==")( + prospective, prefix + ) + + def _compare_equal(self, prospective: Version, spec: str) -> bool: + # We need special logic to handle prefix matching + if spec.endswith(".*"): + # In the case of prefix matching we want to ignore local segment. + normalized_prospective = canonicalize_version( + prospective.public, strip_trailing_zero=False + ) + # Get the normalized version string ignoring the trailing .* + normalized_spec = canonicalize_version(spec[:-2], strip_trailing_zero=False) + # Split the spec out by bangs and dots, and pretend that there is + # an implicit dot in between a release segment and a pre-release segment. + split_spec = _version_split(normalized_spec) + + # Split the prospective version out by bangs and dots, and pretend + # that there is an implicit dot in between a release segment and + # a pre-release segment. + split_prospective = _version_split(normalized_prospective) + + # 0-pad the prospective version before shortening it to get the correct + # shortened version. + padded_prospective, _ = _pad_version(split_prospective, split_spec) + + # Shorten the prospective version to be the same length as the spec + # so that we can determine if the specifier is a prefix of the + # prospective version or not. + shortened_prospective = padded_prospective[: len(split_spec)] + + return shortened_prospective == split_spec + else: + # Convert our spec string into a Version + spec_version = Version(spec) + + # If the specifier does not have a local segment, then we want to + # act as if the prospective version also does not have a local + # segment. + if not spec_version.local: + prospective = Version(prospective.public) + + return prospective == spec_version + + def _compare_not_equal(self, prospective: Version, spec: str) -> bool: + return not self._compare_equal(prospective, spec) + + def _compare_less_than_equal(self, prospective: Version, spec: str) -> bool: + # NB: Local version identifiers are NOT permitted in the version + # specifier, so local version labels can be universally removed from + # the prospective version. + return Version(prospective.public) <= Version(spec) + + def _compare_greater_than_equal(self, prospective: Version, spec: str) -> bool: + # NB: Local version identifiers are NOT permitted in the version + # specifier, so local version labels can be universally removed from + # the prospective version. + return Version(prospective.public) >= Version(spec) + + def _compare_less_than(self, prospective: Version, spec_str: str) -> bool: + # Convert our spec to a Version instance, since we'll want to work with + # it as a version. + spec = Version(spec_str) + + # Check to see if the prospective version is less than the spec + # version. If it's not we can short circuit and just return False now + # instead of doing extra unneeded work. + if not prospective < spec: + return False + + # This special case is here so that, unless the specifier itself + # includes is a pre-release version, that we do not accept pre-release + # versions for the version mentioned in the specifier (e.g. <3.1 should + # not match 3.1.dev0, but should match 3.0.dev0). + if not spec.is_prerelease and prospective.is_prerelease: + if Version(prospective.base_version) == Version(spec.base_version): + return False + + # If we've gotten to here, it means that prospective version is both + # less than the spec version *and* it's not a pre-release of the same + # version in the spec. + return True + + def _compare_greater_than(self, prospective: Version, spec_str: str) -> bool: + # Convert our spec to a Version instance, since we'll want to work with + # it as a version. + spec = Version(spec_str) + + # Check to see if the prospective version is greater than the spec + # version. If it's not we can short circuit and just return False now + # instead of doing extra unneeded work. + if not prospective > spec: + return False + + # This special case is here so that, unless the specifier itself + # includes is a post-release version, that we do not accept + # post-release versions for the version mentioned in the specifier + # (e.g. >3.1 should not match 3.0.post0, but should match 3.2.post0). + if not spec.is_postrelease and prospective.is_postrelease: + if Version(prospective.base_version) == Version(spec.base_version): + return False + + # Ensure that we do not allow a local version of the version mentioned + # in the specifier, which is technically greater than, to match. + if prospective.local is not None: + if Version(prospective.base_version) == Version(spec.base_version): + return False + + # If we've gotten to here, it means that prospective version is both + # greater than the spec version *and* it's not a pre-release of the + # same version in the spec. + return True + + def _compare_arbitrary(self, prospective: Version, spec: str) -> bool: + return str(prospective).lower() == str(spec).lower() + + def __contains__(self, item: str | Version) -> bool: + """Return whether or not the item is contained in this specifier. + + :param item: The item to check for. + + This is used for the ``in`` operator and behaves the same as + :meth:`contains` with no ``prereleases`` argument passed. + + >>> "1.2.3" in Specifier(">=1.2.3") + True + >>> Version("1.2.3") in Specifier(">=1.2.3") + True + >>> "1.0.0" in Specifier(">=1.2.3") + False + >>> "1.3.0a1" in Specifier(">=1.2.3") + False + >>> "1.3.0a1" in Specifier(">=1.2.3", prereleases=True) + True + """ + return self.contains(item) + + def contains(self, item: UnparsedVersion, prereleases: bool | None = None) -> bool: + """Return whether or not the item is contained in this specifier. + + :param item: + The item to check for, which can be a version string or a + :class:`Version` instance. + :param prereleases: + Whether or not to match prereleases with this Specifier. If set to + ``None`` (the default), it uses :attr:`prereleases` to determine + whether or not prereleases are allowed. + + >>> Specifier(">=1.2.3").contains("1.2.3") + True + >>> Specifier(">=1.2.3").contains(Version("1.2.3")) + True + >>> Specifier(">=1.2.3").contains("1.0.0") + False + >>> Specifier(">=1.2.3").contains("1.3.0a1") + False + >>> Specifier(">=1.2.3", prereleases=True).contains("1.3.0a1") + True + >>> Specifier(">=1.2.3").contains("1.3.0a1", prereleases=True) + True + """ + + # Determine if prereleases are to be allowed or not. + if prereleases is None: + prereleases = self.prereleases + + # Normalize item to a Version, this allows us to have a shortcut for + # "2.0" in Specifier(">=2") + normalized_item = _coerce_version(item) + + # Determine if we should be supporting prereleases in this specifier + # or not, if we do not support prereleases than we can short circuit + # logic if this version is a prereleases. + if normalized_item.is_prerelease and not prereleases: + return False + + # Actually do the comparison to determine if this item is contained + # within this Specifier or not. + operator_callable: CallableOperator = self._get_operator(self.operator) + return operator_callable(normalized_item, self.version) + + def filter( + self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None + ) -> Iterator[UnparsedVersionVar]: + """Filter items in the given iterable, that match the specifier. + + :param iterable: + An iterable that can contain version strings and :class:`Version` instances. + The items in the iterable will be filtered according to the specifier. + :param prereleases: + Whether or not to allow prereleases in the returned iterator. If set to + ``None`` (the default), it will be intelligently decide whether to allow + prereleases or not (based on the :attr:`prereleases` attribute, and + whether the only versions matching are prereleases). + + This method is smarter than just ``filter(Specifier().contains, [...])`` + because it implements the rule from :pep:`440` that a prerelease item + SHOULD be accepted if no other versions match the given specifier. + + >>> list(Specifier(">=1.2.3").filter(["1.2", "1.3", "1.5a1"])) + ['1.3'] + >>> list(Specifier(">=1.2.3").filter(["1.2", "1.2.3", "1.3", Version("1.4")])) + ['1.2.3', '1.3', ] + >>> list(Specifier(">=1.2.3").filter(["1.2", "1.5a1"])) + ['1.5a1'] + >>> list(Specifier(">=1.2.3").filter(["1.3", "1.5a1"], prereleases=True)) + ['1.3', '1.5a1'] + >>> list(Specifier(">=1.2.3", prereleases=True).filter(["1.3", "1.5a1"])) + ['1.3', '1.5a1'] + """ + + yielded = False + found_prereleases = [] + + kw = {"prereleases": prereleases if prereleases is not None else True} + + # Attempt to iterate over all the values in the iterable and if any of + # them match, yield them. + for version in iterable: + parsed_version = _coerce_version(version) + + if self.contains(parsed_version, **kw): + # If our version is a prerelease, and we were not set to allow + # prereleases, then we'll store it for later in case nothing + # else matches this specifier. + if parsed_version.is_prerelease and not ( + prereleases or self.prereleases + ): + found_prereleases.append(version) + # Either this is not a prerelease, or we should have been + # accepting prereleases from the beginning. + else: + yielded = True + yield version + + # Now that we've iterated over everything, determine if we've yielded + # any values, and if we have not and we have any prereleases stored up + # then we will go ahead and yield the prereleases. + if not yielded and found_prereleases: + for version in found_prereleases: + yield version + + +_prefix_regex = re.compile(r"^([0-9]+)((?:a|b|c|rc)[0-9]+)$") + + +def _version_split(version: str) -> list[str]: + """Split version into components. + + The split components are intended for version comparison. The logic does + not attempt to retain the original version string, so joining the + components back with :func:`_version_join` may not produce the original + version string. + """ + result: list[str] = [] + + epoch, _, rest = version.rpartition("!") + result.append(epoch or "0") + + for item in rest.split("."): + match = _prefix_regex.search(item) + if match: + result.extend(match.groups()) + else: + result.append(item) + return result + + +def _version_join(components: list[str]) -> str: + """Join split version components into a version string. + + This function assumes the input came from :func:`_version_split`, where the + first component must be the epoch (either empty or numeric), and all other + components numeric. + """ + epoch, *rest = components + return f"{epoch}!{'.'.join(rest)}" + + +def _is_not_suffix(segment: str) -> bool: + return not any( + segment.startswith(prefix) for prefix in ("dev", "a", "b", "rc", "post") + ) + + +def _pad_version(left: list[str], right: list[str]) -> tuple[list[str], list[str]]: + left_split, right_split = [], [] + + # Get the release segment of our versions + left_split.append(list(itertools.takewhile(lambda x: x.isdigit(), left))) + right_split.append(list(itertools.takewhile(lambda x: x.isdigit(), right))) + + # Get the rest of our versions + left_split.append(left[len(left_split[0]) :]) + right_split.append(right[len(right_split[0]) :]) + + # Insert our padding + left_split.insert(1, ["0"] * max(0, len(right_split[0]) - len(left_split[0]))) + right_split.insert(1, ["0"] * max(0, len(left_split[0]) - len(right_split[0]))) + + return ( + list(itertools.chain.from_iterable(left_split)), + list(itertools.chain.from_iterable(right_split)), + ) + + +class SpecifierSet(BaseSpecifier): + """This class abstracts handling of a set of version specifiers. + + It can be passed a single specifier (``>=3.0``), a comma-separated list of + specifiers (``>=3.0,!=3.1``), or no specifier at all. + """ + + def __init__( + self, + specifiers: str | Iterable[Specifier] = "", + prereleases: bool | None = None, + ) -> None: + """Initialize a SpecifierSet instance. + + :param specifiers: + The string representation of a specifier or a comma-separated list of + specifiers which will be parsed and normalized before use. + May also be an iterable of ``Specifier`` instances, which will be used + as is. + :param prereleases: + This tells the SpecifierSet if it should accept prerelease versions if + applicable or not. The default of ``None`` will autodetect it from the + given specifiers. + + :raises InvalidSpecifier: + If the given ``specifiers`` are not parseable than this exception will be + raised. + """ + + if isinstance(specifiers, str): + # Split on `,` to break each individual specifier into its own item, and + # strip each item to remove leading/trailing whitespace. + split_specifiers = [s.strip() for s in specifiers.split(",") if s.strip()] + + # Make each individual specifier a Specifier and save in a frozen set + # for later. + self._specs = frozenset(map(Specifier, split_specifiers)) + else: + # Save the supplied specifiers in a frozen set. + self._specs = frozenset(specifiers) + + # Store our prereleases value so we can use it later to determine if + # we accept prereleases or not. + self._prereleases = prereleases + + @property + def prereleases(self) -> bool | None: + # If we have been given an explicit prerelease modifier, then we'll + # pass that through here. + if self._prereleases is not None: + return self._prereleases + + # If we don't have any specifiers, and we don't have a forced value, + # then we'll just return None since we don't know if this should have + # pre-releases or not. + if not self._specs: + return None + + # Otherwise we'll see if any of the given specifiers accept + # prereleases, if any of them do we'll return True, otherwise False. + return any(s.prereleases for s in self._specs) + + @prereleases.setter + def prereleases(self, value: bool) -> None: + self._prereleases = value + + def __repr__(self) -> str: + """A representation of the specifier set that shows all internal state. + + Note that the ordering of the individual specifiers within the set may not + match the input string. + + >>> SpecifierSet('>=1.0.0,!=2.0.0') + =1.0.0')> + >>> SpecifierSet('>=1.0.0,!=2.0.0', prereleases=False) + =1.0.0', prereleases=False)> + >>> SpecifierSet('>=1.0.0,!=2.0.0', prereleases=True) + =1.0.0', prereleases=True)> + """ + pre = ( + f", prereleases={self.prereleases!r}" + if self._prereleases is not None + else "" + ) + + return f"" + + def __str__(self) -> str: + """A string representation of the specifier set that can be round-tripped. + + Note that the ordering of the individual specifiers within the set may not + match the input string. + + >>> str(SpecifierSet(">=1.0.0,!=1.0.1")) + '!=1.0.1,>=1.0.0' + >>> str(SpecifierSet(">=1.0.0,!=1.0.1", prereleases=False)) + '!=1.0.1,>=1.0.0' + """ + return ",".join(sorted(str(s) for s in self._specs)) + + def __hash__(self) -> int: + return hash(self._specs) + + def __and__(self, other: SpecifierSet | str) -> SpecifierSet: + """Return a SpecifierSet which is a combination of the two sets. + + :param other: The other object to combine with. + + >>> SpecifierSet(">=1.0.0,!=1.0.1") & '<=2.0.0,!=2.0.1' + =1.0.0')> + >>> SpecifierSet(">=1.0.0,!=1.0.1") & SpecifierSet('<=2.0.0,!=2.0.1') + =1.0.0')> + """ + if isinstance(other, str): + other = SpecifierSet(other) + elif not isinstance(other, SpecifierSet): + return NotImplemented + + specifier = SpecifierSet() + specifier._specs = frozenset(self._specs | other._specs) + + if self._prereleases is None and other._prereleases is not None: + specifier._prereleases = other._prereleases + elif self._prereleases is not None and other._prereleases is None: + specifier._prereleases = self._prereleases + elif self._prereleases == other._prereleases: + specifier._prereleases = self._prereleases + else: + raise ValueError( + "Cannot combine SpecifierSets with True and False prerelease overrides." + ) + + return specifier + + def __eq__(self, other: object) -> bool: + """Whether or not the two SpecifierSet-like objects are equal. + + :param other: The other object to check against. + + The value of :attr:`prereleases` is ignored. + + >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0,!=1.0.1") + True + >>> (SpecifierSet(">=1.0.0,!=1.0.1", prereleases=False) == + ... SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True)) + True + >>> SpecifierSet(">=1.0.0,!=1.0.1") == ">=1.0.0,!=1.0.1" + True + >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0") + False + >>> SpecifierSet(">=1.0.0,!=1.0.1") == SpecifierSet(">=1.0.0,!=1.0.2") + False + """ + if isinstance(other, (str, Specifier)): + other = SpecifierSet(str(other)) + elif not isinstance(other, SpecifierSet): + return NotImplemented + + return self._specs == other._specs + + def __len__(self) -> int: + """Returns the number of specifiers in this specifier set.""" + return len(self._specs) + + def __iter__(self) -> Iterator[Specifier]: + """ + Returns an iterator over all the underlying :class:`Specifier` instances + in this specifier set. + + >>> sorted(SpecifierSet(">=1.0.0,!=1.0.1"), key=str) + [, =1.0.0')>] + """ + return iter(self._specs) + + def __contains__(self, item: UnparsedVersion) -> bool: + """Return whether or not the item is contained in this specifier. + + :param item: The item to check for. + + This is used for the ``in`` operator and behaves the same as + :meth:`contains` with no ``prereleases`` argument passed. + + >>> "1.2.3" in SpecifierSet(">=1.0.0,!=1.0.1") + True + >>> Version("1.2.3") in SpecifierSet(">=1.0.0,!=1.0.1") + True + >>> "1.0.1" in SpecifierSet(">=1.0.0,!=1.0.1") + False + >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1") + False + >>> "1.3.0a1" in SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True) + True + """ + return self.contains(item) + + def contains( + self, + item: UnparsedVersion, + prereleases: bool | None = None, + installed: bool | None = None, + ) -> bool: + """Return whether or not the item is contained in this SpecifierSet. + + :param item: + The item to check for, which can be a version string or a + :class:`Version` instance. + :param prereleases: + Whether or not to match prereleases with this SpecifierSet. If set to + ``None`` (the default), it uses :attr:`prereleases` to determine + whether or not prereleases are allowed. + + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.2.3") + True + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains(Version("1.2.3")) + True + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.0.1") + False + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.3.0a1") + False + >>> SpecifierSet(">=1.0.0,!=1.0.1", prereleases=True).contains("1.3.0a1") + True + >>> SpecifierSet(">=1.0.0,!=1.0.1").contains("1.3.0a1", prereleases=True) + True + """ + # Ensure that our item is a Version instance. + if not isinstance(item, Version): + item = Version(item) + + # Determine if we're forcing a prerelease or not, if we're not forcing + # one for this particular filter call, then we'll use whatever the + # SpecifierSet thinks for whether or not we should support prereleases. + if prereleases is None: + prereleases = self.prereleases + + # We can determine if we're going to allow pre-releases by looking to + # see if any of the underlying items supports them. If none of them do + # and this item is a pre-release then we do not allow it and we can + # short circuit that here. + # Note: This means that 1.0.dev1 would not be contained in something + # like >=1.0.devabc however it would be in >=1.0.debabc,>0.0.dev0 + if not prereleases and item.is_prerelease: + return False + + if installed and item.is_prerelease: + item = Version(item.base_version) + + # We simply dispatch to the underlying specs here to make sure that the + # given version is contained within all of them. + # Note: This use of all() here means that an empty set of specifiers + # will always return True, this is an explicit design decision. + return all(s.contains(item, prereleases=prereleases) for s in self._specs) + + def filter( + self, iterable: Iterable[UnparsedVersionVar], prereleases: bool | None = None + ) -> Iterator[UnparsedVersionVar]: + """Filter items in the given iterable, that match the specifiers in this set. + + :param iterable: + An iterable that can contain version strings and :class:`Version` instances. + The items in the iterable will be filtered according to the specifier. + :param prereleases: + Whether or not to allow prereleases in the returned iterator. If set to + ``None`` (the default), it will be intelligently decide whether to allow + prereleases or not (based on the :attr:`prereleases` attribute, and + whether the only versions matching are prereleases). + + This method is smarter than just ``filter(SpecifierSet(...).contains, [...])`` + because it implements the rule from :pep:`440` that a prerelease item + SHOULD be accepted if no other versions match the given specifier. + + >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.3", "1.5a1"])) + ['1.3'] + >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.3", Version("1.4")])) + ['1.3', ] + >>> list(SpecifierSet(">=1.2.3").filter(["1.2", "1.5a1"])) + [] + >>> list(SpecifierSet(">=1.2.3").filter(["1.3", "1.5a1"], prereleases=True)) + ['1.3', '1.5a1'] + >>> list(SpecifierSet(">=1.2.3", prereleases=True).filter(["1.3", "1.5a1"])) + ['1.3', '1.5a1'] + + An "empty" SpecifierSet will filter items based on the presence of prerelease + versions in the set. + + >>> list(SpecifierSet("").filter(["1.3", "1.5a1"])) + ['1.3'] + >>> list(SpecifierSet("").filter(["1.5a1"])) + ['1.5a1'] + >>> list(SpecifierSet("", prereleases=True).filter(["1.3", "1.5a1"])) + ['1.3', '1.5a1'] + >>> list(SpecifierSet("").filter(["1.3", "1.5a1"], prereleases=True)) + ['1.3', '1.5a1'] + """ + # Determine if we're forcing a prerelease or not, if we're not forcing + # one for this particular filter call, then we'll use whatever the + # SpecifierSet thinks for whether or not we should support prereleases. + if prereleases is None: + prereleases = self.prereleases + + # If we have any specifiers, then we want to wrap our iterable in the + # filter method for each one, this will act as a logical AND amongst + # each specifier. + if self._specs: + for spec in self._specs: + iterable = spec.filter(iterable, prereleases=bool(prereleases)) + return iter(iterable) + # If we do not have any specifiers, then we need to have a rough filter + # which will filter out any pre-releases, unless there are no final + # releases. + else: + filtered: list[UnparsedVersionVar] = [] + found_prereleases: list[UnparsedVersionVar] = [] + + for item in iterable: + parsed_version = _coerce_version(item) + + # Store any item which is a pre-release for later unless we've + # already found a final version or we are accepting prereleases + if parsed_version.is_prerelease and not prereleases: + if not filtered: + found_prereleases.append(item) + else: + filtered.append(item) + + # If we've found no items except for pre-releases, then we'll go + # ahead and use the pre-releases + if not filtered and found_prereleases and prereleases is None: + return iter(found_prereleases) + + return iter(filtered) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py new file mode 100644 index 0000000000000000000000000000000000000000..8522f59c4f2d0039c1a02ea9aef66fe017dbdb20 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py @@ -0,0 +1,656 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import logging +import platform +import re +import struct +import subprocess +import sys +import sysconfig +from importlib.machinery import EXTENSION_SUFFIXES +from typing import ( + Iterable, + Iterator, + Sequence, + Tuple, + cast, +) + +from . import _manylinux, _musllinux + +logger = logging.getLogger(__name__) + +PythonVersion = Sequence[int] +AppleVersion = Tuple[int, int] + +INTERPRETER_SHORT_NAMES: dict[str, str] = { + "python": "py", # Generic. + "cpython": "cp", + "pypy": "pp", + "ironpython": "ip", + "jython": "jy", +} + + +_32_BIT_INTERPRETER = struct.calcsize("P") == 4 + + +class Tag: + """ + A representation of the tag triple for a wheel. + + Instances are considered immutable and thus are hashable. Equality checking + is also supported. + """ + + __slots__ = ["_abi", "_hash", "_interpreter", "_platform"] + + def __init__(self, interpreter: str, abi: str, platform: str) -> None: + self._interpreter = interpreter.lower() + self._abi = abi.lower() + self._platform = platform.lower() + # The __hash__ of every single element in a Set[Tag] will be evaluated each time + # that a set calls its `.disjoint()` method, which may be called hundreds of + # times when scanning a page of links for packages with tags matching that + # Set[Tag]. Pre-computing the value here produces significant speedups for + # downstream consumers. + self._hash = hash((self._interpreter, self._abi, self._platform)) + + @property + def interpreter(self) -> str: + return self._interpreter + + @property + def abi(self) -> str: + return self._abi + + @property + def platform(self) -> str: + return self._platform + + def __eq__(self, other: object) -> bool: + if not isinstance(other, Tag): + return NotImplemented + + return ( + (self._hash == other._hash) # Short-circuit ASAP for perf reasons. + and (self._platform == other._platform) + and (self._abi == other._abi) + and (self._interpreter == other._interpreter) + ) + + def __hash__(self) -> int: + return self._hash + + def __str__(self) -> str: + return f"{self._interpreter}-{self._abi}-{self._platform}" + + def __repr__(self) -> str: + return f"<{self} @ {id(self)}>" + + +def parse_tag(tag: str) -> frozenset[Tag]: + """ + Parses the provided tag (e.g. `py3-none-any`) into a frozenset of Tag instances. + + Returning a set is required due to the possibility that the tag is a + compressed tag set. + """ + tags = set() + interpreters, abis, platforms = tag.split("-") + for interpreter in interpreters.split("."): + for abi in abis.split("."): + for platform_ in platforms.split("."): + tags.add(Tag(interpreter, abi, platform_)) + return frozenset(tags) + + +def _get_config_var(name: str, warn: bool = False) -> int | str | None: + value: int | str | None = sysconfig.get_config_var(name) + if value is None and warn: + logger.debug( + "Config variable '%s' is unset, Python ABI tag may be incorrect", name + ) + return value + + +def _normalize_string(string: str) -> str: + return string.replace(".", "_").replace("-", "_").replace(" ", "_") + + +def _is_threaded_cpython(abis: list[str]) -> bool: + """ + Determine if the ABI corresponds to a threaded (`--disable-gil`) build. + + The threaded builds are indicated by a "t" in the abiflags. + """ + if len(abis) == 0: + return False + # expect e.g., cp313 + m = re.match(r"cp\d+(.*)", abis[0]) + if not m: + return False + abiflags = m.group(1) + return "t" in abiflags + + +def _abi3_applies(python_version: PythonVersion, threading: bool) -> bool: + """ + Determine if the Python version supports abi3. + + PEP 384 was first implemented in Python 3.2. The threaded (`--disable-gil`) + builds do not support abi3. + """ + return len(python_version) > 1 and tuple(python_version) >= (3, 2) and not threading + + +def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> list[str]: + py_version = tuple(py_version) # To allow for version comparison. + abis = [] + version = _version_nodot(py_version[:2]) + threading = debug = pymalloc = ucs4 = "" + with_debug = _get_config_var("Py_DEBUG", warn) + has_refcount = hasattr(sys, "gettotalrefcount") + # Windows doesn't set Py_DEBUG, so checking for support of debug-compiled + # extension modules is the best option. + # https://github.com/pypa/pip/issues/3383#issuecomment-173267692 + has_ext = "_d.pyd" in EXTENSION_SUFFIXES + if with_debug or (with_debug is None and (has_refcount or has_ext)): + debug = "d" + if py_version >= (3, 13) and _get_config_var("Py_GIL_DISABLED", warn): + threading = "t" + if py_version < (3, 8): + with_pymalloc = _get_config_var("WITH_PYMALLOC", warn) + if with_pymalloc or with_pymalloc is None: + pymalloc = "m" + if py_version < (3, 3): + unicode_size = _get_config_var("Py_UNICODE_SIZE", warn) + if unicode_size == 4 or ( + unicode_size is None and sys.maxunicode == 0x10FFFF + ): + ucs4 = "u" + elif debug: + # Debug builds can also load "normal" extension modules. + # We can also assume no UCS-4 or pymalloc requirement. + abis.append(f"cp{version}{threading}") + abis.insert(0, f"cp{version}{threading}{debug}{pymalloc}{ucs4}") + return abis + + +def cpython_tags( + python_version: PythonVersion | None = None, + abis: Iterable[str] | None = None, + platforms: Iterable[str] | None = None, + *, + warn: bool = False, +) -> Iterator[Tag]: + """ + Yields the tags for a CPython interpreter. + + The tags consist of: + - cp-- + - cp-abi3- + - cp-none- + - cp-abi3- # Older Python versions down to 3.2. + + If python_version only specifies a major version then user-provided ABIs and + the 'none' ABItag will be used. + + If 'abi3' or 'none' are specified in 'abis' then they will be yielded at + their normal position and not at the beginning. + """ + if not python_version: + python_version = sys.version_info[:2] + + interpreter = f"cp{_version_nodot(python_version[:2])}" + + if abis is None: + if len(python_version) > 1: + abis = _cpython_abis(python_version, warn) + else: + abis = [] + abis = list(abis) + # 'abi3' and 'none' are explicitly handled later. + for explicit_abi in ("abi3", "none"): + try: + abis.remove(explicit_abi) + except ValueError: + pass + + platforms = list(platforms or platform_tags()) + for abi in abis: + for platform_ in platforms: + yield Tag(interpreter, abi, platform_) + + threading = _is_threaded_cpython(abis) + use_abi3 = _abi3_applies(python_version, threading) + if use_abi3: + yield from (Tag(interpreter, "abi3", platform_) for platform_ in platforms) + yield from (Tag(interpreter, "none", platform_) for platform_ in platforms) + + if use_abi3: + for minor_version in range(python_version[1] - 1, 1, -1): + for platform_ in platforms: + version = _version_nodot((python_version[0], minor_version)) + interpreter = f"cp{version}" + yield Tag(interpreter, "abi3", platform_) + + +def _generic_abi() -> list[str]: + """ + Return the ABI tag based on EXT_SUFFIX. + """ + # The following are examples of `EXT_SUFFIX`. + # We want to keep the parts which are related to the ABI and remove the + # parts which are related to the platform: + # - linux: '.cpython-310-x86_64-linux-gnu.so' => cp310 + # - mac: '.cpython-310-darwin.so' => cp310 + # - win: '.cp310-win_amd64.pyd' => cp310 + # - win: '.pyd' => cp37 (uses _cpython_abis()) + # - pypy: '.pypy38-pp73-x86_64-linux-gnu.so' => pypy38_pp73 + # - graalpy: '.graalpy-38-native-x86_64-darwin.dylib' + # => graalpy_38_native + + ext_suffix = _get_config_var("EXT_SUFFIX", warn=True) + if not isinstance(ext_suffix, str) or ext_suffix[0] != ".": + raise SystemError("invalid sysconfig.get_config_var('EXT_SUFFIX')") + parts = ext_suffix.split(".") + if len(parts) < 3: + # CPython3.7 and earlier uses ".pyd" on Windows. + return _cpython_abis(sys.version_info[:2]) + soabi = parts[1] + if soabi.startswith("cpython"): + # non-windows + abi = "cp" + soabi.split("-")[1] + elif soabi.startswith("cp"): + # windows + abi = soabi.split("-")[0] + elif soabi.startswith("pypy"): + abi = "-".join(soabi.split("-")[:2]) + elif soabi.startswith("graalpy"): + abi = "-".join(soabi.split("-")[:3]) + elif soabi: + # pyston, ironpython, others? + abi = soabi + else: + return [] + return [_normalize_string(abi)] + + +def generic_tags( + interpreter: str | None = None, + abis: Iterable[str] | None = None, + platforms: Iterable[str] | None = None, + *, + warn: bool = False, +) -> Iterator[Tag]: + """ + Yields the tags for a generic interpreter. + + The tags consist of: + - -- + + The "none" ABI will be added if it was not explicitly provided. + """ + if not interpreter: + interp_name = interpreter_name() + interp_version = interpreter_version(warn=warn) + interpreter = "".join([interp_name, interp_version]) + if abis is None: + abis = _generic_abi() + else: + abis = list(abis) + platforms = list(platforms or platform_tags()) + if "none" not in abis: + abis.append("none") + for abi in abis: + for platform_ in platforms: + yield Tag(interpreter, abi, platform_) + + +def _py_interpreter_range(py_version: PythonVersion) -> Iterator[str]: + """ + Yields Python versions in descending order. + + After the latest version, the major-only version will be yielded, and then + all previous versions of that major version. + """ + if len(py_version) > 1: + yield f"py{_version_nodot(py_version[:2])}" + yield f"py{py_version[0]}" + if len(py_version) > 1: + for minor in range(py_version[1] - 1, -1, -1): + yield f"py{_version_nodot((py_version[0], minor))}" + + +def compatible_tags( + python_version: PythonVersion | None = None, + interpreter: str | None = None, + platforms: Iterable[str] | None = None, +) -> Iterator[Tag]: + """ + Yields the sequence of tags that are compatible with a specific version of Python. + + The tags consist of: + - py*-none- + - -none-any # ... if `interpreter` is provided. + - py*-none-any + """ + if not python_version: + python_version = sys.version_info[:2] + platforms = list(platforms or platform_tags()) + for version in _py_interpreter_range(python_version): + for platform_ in platforms: + yield Tag(version, "none", platform_) + if interpreter: + yield Tag(interpreter, "none", "any") + for version in _py_interpreter_range(python_version): + yield Tag(version, "none", "any") + + +def _mac_arch(arch: str, is_32bit: bool = _32_BIT_INTERPRETER) -> str: + if not is_32bit: + return arch + + if arch.startswith("ppc"): + return "ppc" + + return "i386" + + +def _mac_binary_formats(version: AppleVersion, cpu_arch: str) -> list[str]: + formats = [cpu_arch] + if cpu_arch == "x86_64": + if version < (10, 4): + return [] + formats.extend(["intel", "fat64", "fat32"]) + + elif cpu_arch == "i386": + if version < (10, 4): + return [] + formats.extend(["intel", "fat32", "fat"]) + + elif cpu_arch == "ppc64": + # TODO: Need to care about 32-bit PPC for ppc64 through 10.2? + if version > (10, 5) or version < (10, 4): + return [] + formats.append("fat64") + + elif cpu_arch == "ppc": + if version > (10, 6): + return [] + formats.extend(["fat32", "fat"]) + + if cpu_arch in {"arm64", "x86_64"}: + formats.append("universal2") + + if cpu_arch in {"x86_64", "i386", "ppc64", "ppc", "intel"}: + formats.append("universal") + + return formats + + +def mac_platforms( + version: AppleVersion | None = None, arch: str | None = None +) -> Iterator[str]: + """ + Yields the platform tags for a macOS system. + + The `version` parameter is a two-item tuple specifying the macOS version to + generate platform tags for. The `arch` parameter is the CPU architecture to + generate platform tags for. Both parameters default to the appropriate value + for the current system. + """ + version_str, _, cpu_arch = platform.mac_ver() + if version is None: + version = cast("AppleVersion", tuple(map(int, version_str.split(".")[:2]))) + if version == (10, 16): + # When built against an older macOS SDK, Python will report macOS 10.16 + # instead of the real version. + version_str = subprocess.run( + [ + sys.executable, + "-sS", + "-c", + "import platform; print(platform.mac_ver()[0])", + ], + check=True, + env={"SYSTEM_VERSION_COMPAT": "0"}, + stdout=subprocess.PIPE, + text=True, + ).stdout + version = cast("AppleVersion", tuple(map(int, version_str.split(".")[:2]))) + else: + version = version + if arch is None: + arch = _mac_arch(cpu_arch) + else: + arch = arch + + if (10, 0) <= version and version < (11, 0): + # Prior to Mac OS 11, each yearly release of Mac OS bumped the + # "minor" version number. The major version was always 10. + major_version = 10 + for minor_version in range(version[1], -1, -1): + compat_version = major_version, minor_version + binary_formats = _mac_binary_formats(compat_version, arch) + for binary_format in binary_formats: + yield f"macosx_{major_version}_{minor_version}_{binary_format}" + + if version >= (11, 0): + # Starting with Mac OS 11, each yearly release bumps the major version + # number. The minor versions are now the midyear updates. + minor_version = 0 + for major_version in range(version[0], 10, -1): + compat_version = major_version, minor_version + binary_formats = _mac_binary_formats(compat_version, arch) + for binary_format in binary_formats: + yield f"macosx_{major_version}_{minor_version}_{binary_format}" + + if version >= (11, 0): + # Mac OS 11 on x86_64 is compatible with binaries from previous releases. + # Arm64 support was introduced in 11.0, so no Arm binaries from previous + # releases exist. + # + # However, the "universal2" binary format can have a + # macOS version earlier than 11.0 when the x86_64 part of the binary supports + # that version of macOS. + major_version = 10 + if arch == "x86_64": + for minor_version in range(16, 3, -1): + compat_version = major_version, minor_version + binary_formats = _mac_binary_formats(compat_version, arch) + for binary_format in binary_formats: + yield f"macosx_{major_version}_{minor_version}_{binary_format}" + else: + for minor_version in range(16, 3, -1): + compat_version = major_version, minor_version + binary_format = "universal2" + yield f"macosx_{major_version}_{minor_version}_{binary_format}" + + +def ios_platforms( + version: AppleVersion | None = None, multiarch: str | None = None +) -> Iterator[str]: + """ + Yields the platform tags for an iOS system. + + :param version: A two-item tuple specifying the iOS version to generate + platform tags for. Defaults to the current iOS version. + :param multiarch: The CPU architecture+ABI to generate platform tags for - + (the value used by `sys.implementation._multiarch` e.g., + `arm64_iphoneos` or `x84_64_iphonesimulator`). Defaults to the current + multiarch value. + """ + if version is None: + # if iOS is the current platform, ios_ver *must* be defined. However, + # it won't exist for CPython versions before 3.13, which causes a mypy + # error. + _, release, _, _ = platform.ios_ver() # type: ignore[attr-defined, unused-ignore] + version = cast("AppleVersion", tuple(map(int, release.split(".")[:2]))) + + if multiarch is None: + multiarch = sys.implementation._multiarch + multiarch = multiarch.replace("-", "_") + + ios_platform_template = "ios_{major}_{minor}_{multiarch}" + + # Consider any iOS major.minor version from the version requested, down to + # 12.0. 12.0 is the first iOS version that is known to have enough features + # to support CPython. Consider every possible minor release up to X.9. There + # highest the minor has ever gone is 8 (14.8 and 15.8) but having some extra + # candidates that won't ever match doesn't really hurt, and it saves us from + # having to keep an explicit list of known iOS versions in the code. Return + # the results descending order of version number. + + # If the requested major version is less than 12, there won't be any matches. + if version[0] < 12: + return + + # Consider the actual X.Y version that was requested. + yield ios_platform_template.format( + major=version[0], minor=version[1], multiarch=multiarch + ) + + # Consider every minor version from X.0 to the minor version prior to the + # version requested by the platform. + for minor in range(version[1] - 1, -1, -1): + yield ios_platform_template.format( + major=version[0], minor=minor, multiarch=multiarch + ) + + for major in range(version[0] - 1, 11, -1): + for minor in range(9, -1, -1): + yield ios_platform_template.format( + major=major, minor=minor, multiarch=multiarch + ) + + +def android_platforms( + api_level: int | None = None, abi: str | None = None +) -> Iterator[str]: + """ + Yields the :attr:`~Tag.platform` tags for Android. If this function is invoked on + non-Android platforms, the ``api_level`` and ``abi`` arguments are required. + + :param int api_level: The maximum `API level + `__ to return. Defaults + to the current system's version, as returned by ``platform.android_ver``. + :param str abi: The `Android ABI `__, + e.g. ``arm64_v8a``. Defaults to the current system's ABI , as returned by + ``sysconfig.get_platform``. Hyphens and periods will be replaced with + underscores. + """ + if platform.system() != "Android" and (api_level is None or abi is None): + raise TypeError( + "on non-Android platforms, the api_level and abi arguments are required" + ) + + if api_level is None: + # Python 3.13 was the first version to return platform.system() == "Android", + # and also the first version to define platform.android_ver(). + api_level = platform.android_ver().api_level # type: ignore[attr-defined] + + if abi is None: + abi = sysconfig.get_platform().split("-")[-1] + abi = _normalize_string(abi) + + # 16 is the minimum API level known to have enough features to support CPython + # without major patching. Yield every API level from the maximum down to the + # minimum, inclusive. + min_api_level = 16 + for ver in range(api_level, min_api_level - 1, -1): + yield f"android_{ver}_{abi}" + + +def _linux_platforms(is_32bit: bool = _32_BIT_INTERPRETER) -> Iterator[str]: + linux = _normalize_string(sysconfig.get_platform()) + if not linux.startswith("linux_"): + # we should never be here, just yield the sysconfig one and return + yield linux + return + if is_32bit: + if linux == "linux_x86_64": + linux = "linux_i686" + elif linux == "linux_aarch64": + linux = "linux_armv8l" + _, arch = linux.split("_", 1) + archs = {"armv8l": ["armv8l", "armv7l"]}.get(arch, [arch]) + yield from _manylinux.platform_tags(archs) + yield from _musllinux.platform_tags(archs) + for arch in archs: + yield f"linux_{arch}" + + +def _generic_platforms() -> Iterator[str]: + yield _normalize_string(sysconfig.get_platform()) + + +def platform_tags() -> Iterator[str]: + """ + Provides the platform tags for this installation. + """ + if platform.system() == "Darwin": + return mac_platforms() + elif platform.system() == "iOS": + return ios_platforms() + elif platform.system() == "Android": + return android_platforms() + elif platform.system() == "Linux": + return _linux_platforms() + else: + return _generic_platforms() + + +def interpreter_name() -> str: + """ + Returns the name of the running interpreter. + + Some implementations have a reserved, two-letter abbreviation which will + be returned when appropriate. + """ + name = sys.implementation.name + return INTERPRETER_SHORT_NAMES.get(name) or name + + +def interpreter_version(*, warn: bool = False) -> str: + """ + Returns the version of the running interpreter. + """ + version = _get_config_var("py_version_nodot", warn=warn) + if version: + version = str(version) + else: + version = _version_nodot(sys.version_info[:2]) + return version + + +def _version_nodot(version: PythonVersion) -> str: + return "".join(map(str, version)) + + +def sys_tags(*, warn: bool = False) -> Iterator[Tag]: + """ + Returns the sequence of tag triples for the running interpreter. + + The order of the sequence corresponds to priority order for the + interpreter, from most to least important. + """ + + interp_name = interpreter_name() + if interp_name == "cp": + yield from cpython_tags(warn=warn) + else: + yield from generic_tags() + + if interp_name == "pp": + interp = "pp3" + elif interp_name == "cp": + interp = "cp" + interpreter_version(warn=warn) + else: + interp = None + yield from compatible_tags(interpreter=interp) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..23450953df74eccd9c13cd2a955ce09d1f968565 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py @@ -0,0 +1,163 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import annotations + +import functools +import re +from typing import NewType, Tuple, Union, cast + +from .tags import Tag, parse_tag +from .version import InvalidVersion, Version, _TrimmedRelease + +BuildTag = Union[Tuple[()], Tuple[int, str]] +NormalizedName = NewType("NormalizedName", str) + + +class InvalidName(ValueError): + """ + An invalid distribution name; users should refer to the packaging user guide. + """ + + +class InvalidWheelFilename(ValueError): + """ + An invalid wheel filename was found, users should refer to PEP 427. + """ + + +class InvalidSdistFilename(ValueError): + """ + An invalid sdist filename was found, users should refer to the packaging user guide. + """ + + +# Core metadata spec for `Name` +_validate_regex = re.compile( + r"^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$", re.IGNORECASE +) +_canonicalize_regex = re.compile(r"[-_.]+") +_normalized_regex = re.compile(r"^([a-z0-9]|[a-z0-9]([a-z0-9-](?!--))*[a-z0-9])$") +# PEP 427: The build number must start with a digit. +_build_tag_regex = re.compile(r"(\d+)(.*)") + + +def canonicalize_name(name: str, *, validate: bool = False) -> NormalizedName: + if validate and not _validate_regex.match(name): + raise InvalidName(f"name is invalid: {name!r}") + # This is taken from PEP 503. + value = _canonicalize_regex.sub("-", name).lower() + return cast(NormalizedName, value) + + +def is_normalized_name(name: str) -> bool: + return _normalized_regex.match(name) is not None + + +@functools.singledispatch +def canonicalize_version( + version: Version | str, *, strip_trailing_zero: bool = True +) -> str: + """ + Return a canonical form of a version as a string. + + >>> canonicalize_version('1.0.1') + '1.0.1' + + Per PEP 625, versions may have multiple canonical forms, differing + only by trailing zeros. + + >>> canonicalize_version('1.0.0') + '1' + >>> canonicalize_version('1.0.0', strip_trailing_zero=False) + '1.0.0' + + Invalid versions are returned unaltered. + + >>> canonicalize_version('foo bar baz') + 'foo bar baz' + """ + return str(_TrimmedRelease(str(version)) if strip_trailing_zero else version) + + +@canonicalize_version.register +def _(version: str, *, strip_trailing_zero: bool = True) -> str: + try: + parsed = Version(version) + except InvalidVersion: + # Legacy versions cannot be normalized + return version + return canonicalize_version(parsed, strip_trailing_zero=strip_trailing_zero) + + +def parse_wheel_filename( + filename: str, +) -> tuple[NormalizedName, Version, BuildTag, frozenset[Tag]]: + if not filename.endswith(".whl"): + raise InvalidWheelFilename( + f"Invalid wheel filename (extension must be '.whl'): {filename!r}" + ) + + filename = filename[:-4] + dashes = filename.count("-") + if dashes not in (4, 5): + raise InvalidWheelFilename( + f"Invalid wheel filename (wrong number of parts): {filename!r}" + ) + + parts = filename.split("-", dashes - 2) + name_part = parts[0] + # See PEP 427 for the rules on escaping the project name. + if "__" in name_part or re.match(r"^[\w\d._]*$", name_part, re.UNICODE) is None: + raise InvalidWheelFilename(f"Invalid project name: {filename!r}") + name = canonicalize_name(name_part) + + try: + version = Version(parts[1]) + except InvalidVersion as e: + raise InvalidWheelFilename( + f"Invalid wheel filename (invalid version): {filename!r}" + ) from e + + if dashes == 5: + build_part = parts[2] + build_match = _build_tag_regex.match(build_part) + if build_match is None: + raise InvalidWheelFilename( + f"Invalid build number: {build_part} in {filename!r}" + ) + build = cast(BuildTag, (int(build_match.group(1)), build_match.group(2))) + else: + build = () + tags = parse_tag(parts[-1]) + return (name, version, build, tags) + + +def parse_sdist_filename(filename: str) -> tuple[NormalizedName, Version]: + if filename.endswith(".tar.gz"): + file_stem = filename[: -len(".tar.gz")] + elif filename.endswith(".zip"): + file_stem = filename[: -len(".zip")] + else: + raise InvalidSdistFilename( + f"Invalid sdist filename (extension must be '.tar.gz' or '.zip'):" + f" {filename!r}" + ) + + # We are requiring a PEP 440 version, which cannot contain dashes, + # so we split on the last dash. + name_part, sep, version_part = file_stem.rpartition("-") + if not sep: + raise InvalidSdistFilename(f"Invalid sdist filename: {filename!r}") + + name = canonicalize_name(name_part) + + try: + version = Version(version_part) + except InvalidVersion as e: + raise InvalidSdistFilename( + f"Invalid sdist filename (invalid version): {filename!r}" + ) from e + + return (name, version) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py new file mode 100644 index 0000000000000000000000000000000000000000..21f44ca09b500ba9bce838befab1796d178f2b17 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py @@ -0,0 +1,582 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. +""" +.. testsetup:: + + from pip._vendor.packaging.version import parse, Version +""" + +from __future__ import annotations + +import itertools +import re +from typing import Any, Callable, NamedTuple, SupportsInt, Tuple, Union + +from ._structures import Infinity, InfinityType, NegativeInfinity, NegativeInfinityType + +__all__ = ["VERSION_PATTERN", "InvalidVersion", "Version", "parse"] + +LocalType = Tuple[Union[int, str], ...] + +CmpPrePostDevType = Union[InfinityType, NegativeInfinityType, Tuple[str, int]] +CmpLocalType = Union[ + NegativeInfinityType, + Tuple[Union[Tuple[int, str], Tuple[NegativeInfinityType, Union[int, str]]], ...], +] +CmpKey = Tuple[ + int, + Tuple[int, ...], + CmpPrePostDevType, + CmpPrePostDevType, + CmpPrePostDevType, + CmpLocalType, +] +VersionComparisonMethod = Callable[[CmpKey, CmpKey], bool] + + +class _Version(NamedTuple): + epoch: int + release: tuple[int, ...] + dev: tuple[str, int] | None + pre: tuple[str, int] | None + post: tuple[str, int] | None + local: LocalType | None + + +def parse(version: str) -> Version: + """Parse the given version string. + + >>> parse('1.0.dev1') + + + :param version: The version string to parse. + :raises InvalidVersion: When the version string is not a valid version. + """ + return Version(version) + + +class InvalidVersion(ValueError): + """Raised when a version string is not a valid version. + + >>> Version("invalid") + Traceback (most recent call last): + ... + packaging.version.InvalidVersion: Invalid version: 'invalid' + """ + + +class _BaseVersion: + _key: tuple[Any, ...] + + def __hash__(self) -> int: + return hash(self._key) + + # Please keep the duplicated `isinstance` check + # in the six comparisons hereunder + # unless you find a way to avoid adding overhead function calls. + def __lt__(self, other: _BaseVersion) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key < other._key + + def __le__(self, other: _BaseVersion) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key <= other._key + + def __eq__(self, other: object) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key == other._key + + def __ge__(self, other: _BaseVersion) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key >= other._key + + def __gt__(self, other: _BaseVersion) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key > other._key + + def __ne__(self, other: object) -> bool: + if not isinstance(other, _BaseVersion): + return NotImplemented + + return self._key != other._key + + +# Deliberately not anchored to the start and end of the string, to make it +# easier for 3rd party code to reuse +_VERSION_PATTERN = r""" + v? + (?: + (?:(?P[0-9]+)!)? # epoch + (?P[0-9]+(?:\.[0-9]+)*) # release segment + (?P
                                              # pre-release
    +            [-_\.]?
    +            (?Palpha|a|beta|b|preview|pre|c|rc)
    +            [-_\.]?
    +            (?P[0-9]+)?
    +        )?
    +        (?P                                         # post release
    +            (?:-(?P[0-9]+))
    +            |
    +            (?:
    +                [-_\.]?
    +                (?Ppost|rev|r)
    +                [-_\.]?
    +                (?P[0-9]+)?
    +            )
    +        )?
    +        (?P                                          # dev release
    +            [-_\.]?
    +            (?Pdev)
    +            [-_\.]?
    +            (?P[0-9]+)?
    +        )?
    +    )
    +    (?:\+(?P[a-z0-9]+(?:[-_\.][a-z0-9]+)*))?       # local version
    +"""
    +
    +VERSION_PATTERN = _VERSION_PATTERN
    +"""
    +A string containing the regular expression used to match a valid version.
    +
    +The pattern is not anchored at either end, and is intended for embedding in larger
    +expressions (for example, matching a version number as part of a file name). The
    +regular expression should be compiled with the ``re.VERBOSE`` and ``re.IGNORECASE``
    +flags set.
    +
    +:meta hide-value:
    +"""
    +
    +
    +class Version(_BaseVersion):
    +    """This class abstracts handling of a project's versions.
    +
    +    A :class:`Version` instance is comparison aware and can be compared and
    +    sorted using the standard Python interfaces.
    +
    +    >>> v1 = Version("1.0a5")
    +    >>> v2 = Version("1.0")
    +    >>> v1
    +    
    +    >>> v2
    +    
    +    >>> v1 < v2
    +    True
    +    >>> v1 == v2
    +    False
    +    >>> v1 > v2
    +    False
    +    >>> v1 >= v2
    +    False
    +    >>> v1 <= v2
    +    True
    +    """
    +
    +    _regex = re.compile(r"^\s*" + VERSION_PATTERN + r"\s*$", re.VERBOSE | re.IGNORECASE)
    +    _key: CmpKey
    +
    +    def __init__(self, version: str) -> None:
    +        """Initialize a Version object.
    +
    +        :param version:
    +            The string representation of a version which will be parsed and normalized
    +            before use.
    +        :raises InvalidVersion:
    +            If the ``version`` does not conform to PEP 440 in any way then this
    +            exception will be raised.
    +        """
    +
    +        # Validate the version and parse it into pieces
    +        match = self._regex.search(version)
    +        if not match:
    +            raise InvalidVersion(f"Invalid version: {version!r}")
    +
    +        # Store the parsed out pieces of the version
    +        self._version = _Version(
    +            epoch=int(match.group("epoch")) if match.group("epoch") else 0,
    +            release=tuple(int(i) for i in match.group("release").split(".")),
    +            pre=_parse_letter_version(match.group("pre_l"), match.group("pre_n")),
    +            post=_parse_letter_version(
    +                match.group("post_l"), match.group("post_n1") or match.group("post_n2")
    +            ),
    +            dev=_parse_letter_version(match.group("dev_l"), match.group("dev_n")),
    +            local=_parse_local_version(match.group("local")),
    +        )
    +
    +        # Generate a key which will be used for sorting
    +        self._key = _cmpkey(
    +            self._version.epoch,
    +            self._version.release,
    +            self._version.pre,
    +            self._version.post,
    +            self._version.dev,
    +            self._version.local,
    +        )
    +
    +    def __repr__(self) -> str:
    +        """A representation of the Version that shows all internal state.
    +
    +        >>> Version('1.0.0')
    +        
    +        """
    +        return f""
    +
    +    def __str__(self) -> str:
    +        """A string representation of the version that can be round-tripped.
    +
    +        >>> str(Version("1.0a5"))
    +        '1.0a5'
    +        """
    +        parts = []
    +
    +        # Epoch
    +        if self.epoch != 0:
    +            parts.append(f"{self.epoch}!")
    +
    +        # Release segment
    +        parts.append(".".join(str(x) for x in self.release))
    +
    +        # Pre-release
    +        if self.pre is not None:
    +            parts.append("".join(str(x) for x in self.pre))
    +
    +        # Post-release
    +        if self.post is not None:
    +            parts.append(f".post{self.post}")
    +
    +        # Development release
    +        if self.dev is not None:
    +            parts.append(f".dev{self.dev}")
    +
    +        # Local version segment
    +        if self.local is not None:
    +            parts.append(f"+{self.local}")
    +
    +        return "".join(parts)
    +
    +    @property
    +    def epoch(self) -> int:
    +        """The epoch of the version.
    +
    +        >>> Version("2.0.0").epoch
    +        0
    +        >>> Version("1!2.0.0").epoch
    +        1
    +        """
    +        return self._version.epoch
    +
    +    @property
    +    def release(self) -> tuple[int, ...]:
    +        """The components of the "release" segment of the version.
    +
    +        >>> Version("1.2.3").release
    +        (1, 2, 3)
    +        >>> Version("2.0.0").release
    +        (2, 0, 0)
    +        >>> Version("1!2.0.0.post0").release
    +        (2, 0, 0)
    +
    +        Includes trailing zeroes but not the epoch or any pre-release / development /
    +        post-release suffixes.
    +        """
    +        return self._version.release
    +
    +    @property
    +    def pre(self) -> tuple[str, int] | None:
    +        """The pre-release segment of the version.
    +
    +        >>> print(Version("1.2.3").pre)
    +        None
    +        >>> Version("1.2.3a1").pre
    +        ('a', 1)
    +        >>> Version("1.2.3b1").pre
    +        ('b', 1)
    +        >>> Version("1.2.3rc1").pre
    +        ('rc', 1)
    +        """
    +        return self._version.pre
    +
    +    @property
    +    def post(self) -> int | None:
    +        """The post-release number of the version.
    +
    +        >>> print(Version("1.2.3").post)
    +        None
    +        >>> Version("1.2.3.post1").post
    +        1
    +        """
    +        return self._version.post[1] if self._version.post else None
    +
    +    @property
    +    def dev(self) -> int | None:
    +        """The development number of the version.
    +
    +        >>> print(Version("1.2.3").dev)
    +        None
    +        >>> Version("1.2.3.dev1").dev
    +        1
    +        """
    +        return self._version.dev[1] if self._version.dev else None
    +
    +    @property
    +    def local(self) -> str | None:
    +        """The local version segment of the version.
    +
    +        >>> print(Version("1.2.3").local)
    +        None
    +        >>> Version("1.2.3+abc").local
    +        'abc'
    +        """
    +        if self._version.local:
    +            return ".".join(str(x) for x in self._version.local)
    +        else:
    +            return None
    +
    +    @property
    +    def public(self) -> str:
    +        """The public portion of the version.
    +
    +        >>> Version("1.2.3").public
    +        '1.2.3'
    +        >>> Version("1.2.3+abc").public
    +        '1.2.3'
    +        >>> Version("1!1.2.3dev1+abc").public
    +        '1!1.2.3.dev1'
    +        """
    +        return str(self).split("+", 1)[0]
    +
    +    @property
    +    def base_version(self) -> str:
    +        """The "base version" of the version.
    +
    +        >>> Version("1.2.3").base_version
    +        '1.2.3'
    +        >>> Version("1.2.3+abc").base_version
    +        '1.2.3'
    +        >>> Version("1!1.2.3dev1+abc").base_version
    +        '1!1.2.3'
    +
    +        The "base version" is the public version of the project without any pre or post
    +        release markers.
    +        """
    +        parts = []
    +
    +        # Epoch
    +        if self.epoch != 0:
    +            parts.append(f"{self.epoch}!")
    +
    +        # Release segment
    +        parts.append(".".join(str(x) for x in self.release))
    +
    +        return "".join(parts)
    +
    +    @property
    +    def is_prerelease(self) -> bool:
    +        """Whether this version is a pre-release.
    +
    +        >>> Version("1.2.3").is_prerelease
    +        False
    +        >>> Version("1.2.3a1").is_prerelease
    +        True
    +        >>> Version("1.2.3b1").is_prerelease
    +        True
    +        >>> Version("1.2.3rc1").is_prerelease
    +        True
    +        >>> Version("1.2.3dev1").is_prerelease
    +        True
    +        """
    +        return self.dev is not None or self.pre is not None
    +
    +    @property
    +    def is_postrelease(self) -> bool:
    +        """Whether this version is a post-release.
    +
    +        >>> Version("1.2.3").is_postrelease
    +        False
    +        >>> Version("1.2.3.post1").is_postrelease
    +        True
    +        """
    +        return self.post is not None
    +
    +    @property
    +    def is_devrelease(self) -> bool:
    +        """Whether this version is a development release.
    +
    +        >>> Version("1.2.3").is_devrelease
    +        False
    +        >>> Version("1.2.3.dev1").is_devrelease
    +        True
    +        """
    +        return self.dev is not None
    +
    +    @property
    +    def major(self) -> int:
    +        """The first item of :attr:`release` or ``0`` if unavailable.
    +
    +        >>> Version("1.2.3").major
    +        1
    +        """
    +        return self.release[0] if len(self.release) >= 1 else 0
    +
    +    @property
    +    def minor(self) -> int:
    +        """The second item of :attr:`release` or ``0`` if unavailable.
    +
    +        >>> Version("1.2.3").minor
    +        2
    +        >>> Version("1").minor
    +        0
    +        """
    +        return self.release[1] if len(self.release) >= 2 else 0
    +
    +    @property
    +    def micro(self) -> int:
    +        """The third item of :attr:`release` or ``0`` if unavailable.
    +
    +        >>> Version("1.2.3").micro
    +        3
    +        >>> Version("1").micro
    +        0
    +        """
    +        return self.release[2] if len(self.release) >= 3 else 0
    +
    +
    +class _TrimmedRelease(Version):
    +    @property
    +    def release(self) -> tuple[int, ...]:
    +        """
    +        Release segment without any trailing zeros.
    +
    +        >>> _TrimmedRelease('1.0.0').release
    +        (1,)
    +        >>> _TrimmedRelease('0.0').release
    +        (0,)
    +        """
    +        rel = super().release
    +        nonzeros = (index for index, val in enumerate(rel) if val)
    +        last_nonzero = max(nonzeros, default=0)
    +        return rel[: last_nonzero + 1]
    +
    +
    +def _parse_letter_version(
    +    letter: str | None, number: str | bytes | SupportsInt | None
    +) -> tuple[str, int] | None:
    +    if letter:
    +        # We consider there to be an implicit 0 in a pre-release if there is
    +        # not a numeral associated with it.
    +        if number is None:
    +            number = 0
    +
    +        # We normalize any letters to their lower case form
    +        letter = letter.lower()
    +
    +        # We consider some words to be alternate spellings of other words and
    +        # in those cases we want to normalize the spellings to our preferred
    +        # spelling.
    +        if letter == "alpha":
    +            letter = "a"
    +        elif letter == "beta":
    +            letter = "b"
    +        elif letter in ["c", "pre", "preview"]:
    +            letter = "rc"
    +        elif letter in ["rev", "r"]:
    +            letter = "post"
    +
    +        return letter, int(number)
    +
    +    assert not letter
    +    if number:
    +        # We assume if we are given a number, but we are not given a letter
    +        # then this is using the implicit post release syntax (e.g. 1.0-1)
    +        letter = "post"
    +
    +        return letter, int(number)
    +
    +    return None
    +
    +
    +_local_version_separators = re.compile(r"[\._-]")
    +
    +
    +def _parse_local_version(local: str | None) -> LocalType | None:
    +    """
    +    Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
    +    """
    +    if local is not None:
    +        return tuple(
    +            part.lower() if not part.isdigit() else int(part)
    +            for part in _local_version_separators.split(local)
    +        )
    +    return None
    +
    +
    +def _cmpkey(
    +    epoch: int,
    +    release: tuple[int, ...],
    +    pre: tuple[str, int] | None,
    +    post: tuple[str, int] | None,
    +    dev: tuple[str, int] | None,
    +    local: LocalType | None,
    +) -> CmpKey:
    +    # When we compare a release version, we want to compare it with all of the
    +    # trailing zeros removed. So we'll use a reverse the list, drop all the now
    +    # leading zeros until we come to something non zero, then take the rest
    +    # re-reverse it back into the correct order and make it a tuple and use
    +    # that for our sorting key.
    +    _release = tuple(
    +        reversed(list(itertools.dropwhile(lambda x: x == 0, reversed(release))))
    +    )
    +
    +    # We need to "trick" the sorting algorithm to put 1.0.dev0 before 1.0a0.
    +    # We'll do this by abusing the pre segment, but we _only_ want to do this
    +    # if there is not a pre or a post segment. If we have one of those then
    +    # the normal sorting rules will handle this case correctly.
    +    if pre is None and post is None and dev is not None:
    +        _pre: CmpPrePostDevType = NegativeInfinity
    +    # Versions without a pre-release (except as noted above) should sort after
    +    # those with one.
    +    elif pre is None:
    +        _pre = Infinity
    +    else:
    +        _pre = pre
    +
    +    # Versions without a post segment should sort before those with one.
    +    if post is None:
    +        _post: CmpPrePostDevType = NegativeInfinity
    +
    +    else:
    +        _post = post
    +
    +    # Versions without a development segment should sort after those with one.
    +    if dev is None:
    +        _dev: CmpPrePostDevType = Infinity
    +
    +    else:
    +        _dev = dev
    +
    +    if local is None:
    +        # Versions without a local segment should sort before those with one.
    +        _local: CmpLocalType = NegativeInfinity
    +    else:
    +        # Versions with a local segment need that segment parsed to implement
    +        # the sorting rules in PEP440.
    +        # - Alpha numeric segments sort before numeric segments
    +        # - Alpha numeric segments sort lexicographically
    +        # - Numeric segments sort numerically
    +        # - Shorter versions sort before longer versions when the prefixes
    +        #   match exactly
    +        _local = tuple(
    +            (i, "") if isinstance(i, int) else (NegativeInfinity, i) for i in local
    +        )
    +
    +    return epoch, _release, _pre, _post, _dev, _local
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..72f2b03514d9f3f0717b0f9b83a89e418140db0b
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py
    @@ -0,0 +1,3676 @@
    +# TODO: Add Generic type annotations to initialized collections.
    +# For now we'd simply use implicit Any/Unknown which would add redundant annotations
    +# mypy: disable-error-code="var-annotated"
    +"""
    +Package resource API
    +--------------------
    +
    +A resource is a logical file contained within a package, or a logical
    +subdirectory thereof.  The package resource API expects resource names
    +to have their path parts separated with ``/``, *not* whatever the local
    +path separator is.  Do not use os.path operations to manipulate resource
    +names being passed into the API.
    +
    +The package resource API is designed to work with normal filesystem packages,
    +.egg files, and unpacked .egg files.  It can also work in a limited way with
    +.zip files and with custom PEP 302 loaders that support the ``get_data()``
    +method.
    +
    +This module is deprecated. Users are directed to :mod:`importlib.resources`,
    +:mod:`importlib.metadata` and :pypi:`packaging` instead.
    +"""
    +
    +from __future__ import annotations
    +
    +import sys
    +
    +if sys.version_info < (3, 8):  # noqa: UP036 # Check for unsupported versions
    +    raise RuntimeError("Python 3.8 or later is required")
    +
    +import os
    +import io
    +import time
    +import re
    +import types
    +from typing import (
    +    Any,
    +    Literal,
    +    Dict,
    +    Iterator,
    +    Mapping,
    +    MutableSequence,
    +    NamedTuple,
    +    NoReturn,
    +    Tuple,
    +    Union,
    +    TYPE_CHECKING,
    +    Protocol,
    +    Callable,
    +    Iterable,
    +    TypeVar,
    +    overload,
    +)
    +import zipfile
    +import zipimport
    +import warnings
    +import stat
    +import functools
    +import pkgutil
    +import operator
    +import platform
    +import collections
    +import plistlib
    +import email.parser
    +import errno
    +import tempfile
    +import textwrap
    +import inspect
    +import ntpath
    +import posixpath
    +import importlib
    +import importlib.abc
    +import importlib.machinery
    +from pkgutil import get_importer
    +
    +import _imp
    +
    +# capture these to bypass sandboxing
    +from os import utime
    +from os import open as os_open
    +from os.path import isdir, split
    +
    +try:
    +    from os import mkdir, rename, unlink
    +
    +    WRITE_SUPPORT = True
    +except ImportError:
    +    # no write support, probably under GAE
    +    WRITE_SUPPORT = False
    +
    +from pip._internal.utils._jaraco_text import (
    +    yield_lines,
    +    drop_comment,
    +    join_continuation,
    +)
    +from pip._vendor.packaging import markers as _packaging_markers
    +from pip._vendor.packaging import requirements as _packaging_requirements
    +from pip._vendor.packaging import utils as _packaging_utils
    +from pip._vendor.packaging import version as _packaging_version
    +from pip._vendor.platformdirs import user_cache_dir as _user_cache_dir
    +
    +if TYPE_CHECKING:
    +    from _typeshed import BytesPath, StrPath, StrOrBytesPath
    +    from typing_extensions import Self
    +
    +
    +# Patch: Remove deprecation warning from vendored pkg_resources.
    +# Setting PYTHONWARNINGS=error to verify builds produce no warnings
    +# causes immediate exceptions.
    +# See https://github.com/pypa/pip/issues/12243
    +
    +
    +_T = TypeVar("_T")
    +_DistributionT = TypeVar("_DistributionT", bound="Distribution")
    +# Type aliases
    +_NestedStr = Union[str, Iterable[Union[str, Iterable["_NestedStr"]]]]
    +_InstallerTypeT = Callable[["Requirement"], "_DistributionT"]
    +_InstallerType = Callable[["Requirement"], Union["Distribution", None]]
    +_PkgReqType = Union[str, "Requirement"]
    +_EPDistType = Union["Distribution", _PkgReqType]
    +_MetadataType = Union["IResourceProvider", None]
    +_ResolvedEntryPoint = Any  # Can be any attribute in the module
    +_ResourceStream = Any  # TODO / Incomplete: A readable file-like object
    +# Any object works, but let's indicate we expect something like a module (optionally has __loader__ or __file__)
    +_ModuleLike = Union[object, types.ModuleType]
    +# Any: Should be _ModuleLike but we end up with issues where _ModuleLike doesn't have _ZipLoaderModule's __loader__
    +_ProviderFactoryType = Callable[[Any], "IResourceProvider"]
    +_DistFinderType = Callable[[_T, str, bool], Iterable["Distribution"]]
    +_NSHandlerType = Callable[[_T, str, str, types.ModuleType], Union[str, None]]
    +_AdapterT = TypeVar(
    +    "_AdapterT", _DistFinderType[Any], _ProviderFactoryType, _NSHandlerType[Any]
    +)
    +
    +
    +# Use _typeshed.importlib.LoaderProtocol once available https://github.com/python/typeshed/pull/11890
    +class _LoaderProtocol(Protocol):
    +    def load_module(self, fullname: str, /) -> types.ModuleType: ...
    +
    +
    +class _ZipLoaderModule(Protocol):
    +    __loader__: zipimport.zipimporter
    +
    +
    +_PEP440_FALLBACK = re.compile(r"^v?(?P(?:[0-9]+!)?[0-9]+(?:\.[0-9]+)*)", re.I)
    +
    +
    +class PEP440Warning(RuntimeWarning):
    +    """
    +    Used when there is an issue with a version or specifier not complying with
    +    PEP 440.
    +    """
    +
    +
    +parse_version = _packaging_version.Version
    +
    +
    +_state_vars: dict[str, str] = {}
    +
    +
    +def _declare_state(vartype: str, varname: str, initial_value: _T) -> _T:
    +    _state_vars[varname] = vartype
    +    return initial_value
    +
    +
    +def __getstate__() -> dict[str, Any]:
    +    state = {}
    +    g = globals()
    +    for k, v in _state_vars.items():
    +        state[k] = g['_sget_' + v](g[k])
    +    return state
    +
    +
    +def __setstate__(state: dict[str, Any]) -> dict[str, Any]:
    +    g = globals()
    +    for k, v in state.items():
    +        g['_sset_' + _state_vars[k]](k, g[k], v)
    +    return state
    +
    +
    +def _sget_dict(val):
    +    return val.copy()
    +
    +
    +def _sset_dict(key, ob, state):
    +    ob.clear()
    +    ob.update(state)
    +
    +
    +def _sget_object(val):
    +    return val.__getstate__()
    +
    +
    +def _sset_object(key, ob, state):
    +    ob.__setstate__(state)
    +
    +
    +_sget_none = _sset_none = lambda *args: None
    +
    +
    +def get_supported_platform():
    +    """Return this platform's maximum compatible version.
    +
    +    distutils.util.get_platform() normally reports the minimum version
    +    of macOS that would be required to *use* extensions produced by
    +    distutils.  But what we want when checking compatibility is to know the
    +    version of macOS that we are *running*.  To allow usage of packages that
    +    explicitly require a newer version of macOS, we must also know the
    +    current version of the OS.
    +
    +    If this condition occurs for any other platform with a version in its
    +    platform strings, this function should be extended accordingly.
    +    """
    +    plat = get_build_platform()
    +    m = macosVersionString.match(plat)
    +    if m is not None and sys.platform == "darwin":
    +        try:
    +            plat = 'macosx-%s-%s' % ('.'.join(_macos_vers()[:2]), m.group(3))
    +        except ValueError:
    +            # not macOS
    +            pass
    +    return plat
    +
    +
    +__all__ = [
    +    # Basic resource access and distribution/entry point discovery
    +    'require',
    +    'run_script',
    +    'get_provider',
    +    'get_distribution',
    +    'load_entry_point',
    +    'get_entry_map',
    +    'get_entry_info',
    +    'iter_entry_points',
    +    'resource_string',
    +    'resource_stream',
    +    'resource_filename',
    +    'resource_listdir',
    +    'resource_exists',
    +    'resource_isdir',
    +    # Environmental control
    +    'declare_namespace',
    +    'working_set',
    +    'add_activation_listener',
    +    'find_distributions',
    +    'set_extraction_path',
    +    'cleanup_resources',
    +    'get_default_cache',
    +    # Primary implementation classes
    +    'Environment',
    +    'WorkingSet',
    +    'ResourceManager',
    +    'Distribution',
    +    'Requirement',
    +    'EntryPoint',
    +    # Exceptions
    +    'ResolutionError',
    +    'VersionConflict',
    +    'DistributionNotFound',
    +    'UnknownExtra',
    +    'ExtractionError',
    +    # Warnings
    +    'PEP440Warning',
    +    # Parsing functions and string utilities
    +    'parse_requirements',
    +    'parse_version',
    +    'safe_name',
    +    'safe_version',
    +    'get_platform',
    +    'compatible_platforms',
    +    'yield_lines',
    +    'split_sections',
    +    'safe_extra',
    +    'to_filename',
    +    'invalid_marker',
    +    'evaluate_marker',
    +    # filesystem utilities
    +    'ensure_directory',
    +    'normalize_path',
    +    # Distribution "precedence" constants
    +    'EGG_DIST',
    +    'BINARY_DIST',
    +    'SOURCE_DIST',
    +    'CHECKOUT_DIST',
    +    'DEVELOP_DIST',
    +    # "Provider" interfaces, implementations, and registration/lookup APIs
    +    'IMetadataProvider',
    +    'IResourceProvider',
    +    'FileMetadata',
    +    'PathMetadata',
    +    'EggMetadata',
    +    'EmptyProvider',
    +    'empty_provider',
    +    'NullProvider',
    +    'EggProvider',
    +    'DefaultProvider',
    +    'ZipProvider',
    +    'register_finder',
    +    'register_namespace_handler',
    +    'register_loader_type',
    +    'fixup_namespace_packages',
    +    'get_importer',
    +    # Warnings
    +    'PkgResourcesDeprecationWarning',
    +    # Deprecated/backward compatibility only
    +    'run_main',
    +    'AvailableDistributions',
    +]
    +
    +
    +class ResolutionError(Exception):
    +    """Abstract base for dependency resolution errors"""
    +
    +    def __repr__(self):
    +        return self.__class__.__name__ + repr(self.args)
    +
    +
    +class VersionConflict(ResolutionError):
    +    """
    +    An already-installed version conflicts with the requested version.
    +
    +    Should be initialized with the installed Distribution and the requested
    +    Requirement.
    +    """
    +
    +    _template = "{self.dist} is installed but {self.req} is required"
    +
    +    @property
    +    def dist(self) -> Distribution:
    +        return self.args[0]
    +
    +    @property
    +    def req(self) -> Requirement:
    +        return self.args[1]
    +
    +    def report(self):
    +        return self._template.format(**locals())
    +
    +    def with_context(self, required_by: set[Distribution | str]):
    +        """
    +        If required_by is non-empty, return a version of self that is a
    +        ContextualVersionConflict.
    +        """
    +        if not required_by:
    +            return self
    +        args = self.args + (required_by,)
    +        return ContextualVersionConflict(*args)
    +
    +
    +class ContextualVersionConflict(VersionConflict):
    +    """
    +    A VersionConflict that accepts a third parameter, the set of the
    +    requirements that required the installed Distribution.
    +    """
    +
    +    _template = VersionConflict._template + ' by {self.required_by}'
    +
    +    @property
    +    def required_by(self) -> set[str]:
    +        return self.args[2]
    +
    +
    +class DistributionNotFound(ResolutionError):
    +    """A requested distribution was not found"""
    +
    +    _template = (
    +        "The '{self.req}' distribution was not found "
    +        "and is required by {self.requirers_str}"
    +    )
    +
    +    @property
    +    def req(self) -> Requirement:
    +        return self.args[0]
    +
    +    @property
    +    def requirers(self) -> set[str] | None:
    +        return self.args[1]
    +
    +    @property
    +    def requirers_str(self):
    +        if not self.requirers:
    +            return 'the application'
    +        return ', '.join(self.requirers)
    +
    +    def report(self):
    +        return self._template.format(**locals())
    +
    +    def __str__(self):
    +        return self.report()
    +
    +
    +class UnknownExtra(ResolutionError):
    +    """Distribution doesn't have an "extra feature" of the given name"""
    +
    +
    +_provider_factories: dict[type[_ModuleLike], _ProviderFactoryType] = {}
    +
    +PY_MAJOR = '{}.{}'.format(*sys.version_info)
    +EGG_DIST = 3
    +BINARY_DIST = 2
    +SOURCE_DIST = 1
    +CHECKOUT_DIST = 0
    +DEVELOP_DIST = -1
    +
    +
    +def register_loader_type(
    +    loader_type: type[_ModuleLike], provider_factory: _ProviderFactoryType
    +):
    +    """Register `provider_factory` to make providers for `loader_type`
    +
    +    `loader_type` is the type or class of a PEP 302 ``module.__loader__``,
    +    and `provider_factory` is a function that, passed a *module* object,
    +    returns an ``IResourceProvider`` for that module.
    +    """
    +    _provider_factories[loader_type] = provider_factory
    +
    +
    +@overload
    +def get_provider(moduleOrReq: str) -> IResourceProvider: ...
    +@overload
    +def get_provider(moduleOrReq: Requirement) -> Distribution: ...
    +def get_provider(moduleOrReq: str | Requirement) -> IResourceProvider | Distribution:
    +    """Return an IResourceProvider for the named module or requirement"""
    +    if isinstance(moduleOrReq, Requirement):
    +        return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
    +    try:
    +        module = sys.modules[moduleOrReq]
    +    except KeyError:
    +        __import__(moduleOrReq)
    +        module = sys.modules[moduleOrReq]
    +    loader = getattr(module, '__loader__', None)
    +    return _find_adapter(_provider_factories, loader)(module)
    +
    +
    +@functools.lru_cache(maxsize=None)
    +def _macos_vers():
    +    version = platform.mac_ver()[0]
    +    # fallback for MacPorts
    +    if version == '':
    +        plist = '/System/Library/CoreServices/SystemVersion.plist'
    +        if os.path.exists(plist):
    +            with open(plist, 'rb') as fh:
    +                plist_content = plistlib.load(fh)
    +            if 'ProductVersion' in plist_content:
    +                version = plist_content['ProductVersion']
    +    return version.split('.')
    +
    +
    +def _macos_arch(machine):
    +    return {'PowerPC': 'ppc', 'Power_Macintosh': 'ppc'}.get(machine, machine)
    +
    +
    +def get_build_platform():
    +    """Return this platform's string for platform-specific distributions
    +
    +    XXX Currently this is the same as ``distutils.util.get_platform()``, but it
    +    needs some hacks for Linux and macOS.
    +    """
    +    from sysconfig import get_platform
    +
    +    plat = get_platform()
    +    if sys.platform == "darwin" and not plat.startswith('macosx-'):
    +        try:
    +            version = _macos_vers()
    +            machine = os.uname()[4].replace(" ", "_")
    +            return "macosx-%d.%d-%s" % (
    +                int(version[0]),
    +                int(version[1]),
    +                _macos_arch(machine),
    +            )
    +        except ValueError:
    +            # if someone is running a non-Mac darwin system, this will fall
    +            # through to the default implementation
    +            pass
    +    return plat
    +
    +
    +macosVersionString = re.compile(r"macosx-(\d+)\.(\d+)-(.*)")
    +darwinVersionString = re.compile(r"darwin-(\d+)\.(\d+)\.(\d+)-(.*)")
    +# XXX backward compat
    +get_platform = get_build_platform
    +
    +
    +def compatible_platforms(provided: str | None, required: str | None):
    +    """Can code for the `provided` platform run on the `required` platform?
    +
    +    Returns true if either platform is ``None``, or the platforms are equal.
    +
    +    XXX Needs compatibility checks for Linux and other unixy OSes.
    +    """
    +    if provided is None or required is None or provided == required:
    +        # easy case
    +        return True
    +
    +    # macOS special cases
    +    reqMac = macosVersionString.match(required)
    +    if reqMac:
    +        provMac = macosVersionString.match(provided)
    +
    +        # is this a Mac package?
    +        if not provMac:
    +            # this is backwards compatibility for packages built before
    +            # setuptools 0.6. All packages built after this point will
    +            # use the new macOS designation.
    +            provDarwin = darwinVersionString.match(provided)
    +            if provDarwin:
    +                dversion = int(provDarwin.group(1))
    +                macosversion = "%s.%s" % (reqMac.group(1), reqMac.group(2))
    +                if (
    +                    dversion == 7
    +                    and macosversion >= "10.3"
    +                    or dversion == 8
    +                    and macosversion >= "10.4"
    +                ):
    +                    return True
    +            # egg isn't macOS or legacy darwin
    +            return False
    +
    +        # are they the same major version and machine type?
    +        if provMac.group(1) != reqMac.group(1) or provMac.group(3) != reqMac.group(3):
    +            return False
    +
    +        # is the required OS major update >= the provided one?
    +        if int(provMac.group(2)) > int(reqMac.group(2)):
    +            return False
    +
    +        return True
    +
    +    # XXX Linux and other platforms' special cases should go here
    +    return False
    +
    +
    +@overload
    +def get_distribution(dist: _DistributionT) -> _DistributionT: ...
    +@overload
    +def get_distribution(dist: _PkgReqType) -> Distribution: ...
    +def get_distribution(dist: Distribution | _PkgReqType) -> Distribution:
    +    """Return a current distribution object for a Requirement or string"""
    +    if isinstance(dist, str):
    +        dist = Requirement.parse(dist)
    +    if isinstance(dist, Requirement):
    +        # Bad type narrowing, dist has to be a Requirement here, so get_provider has to return Distribution
    +        dist = get_provider(dist)  # type: ignore[assignment]
    +    if not isinstance(dist, Distribution):
    +        raise TypeError("Expected str, Requirement, or Distribution", dist)
    +    return dist
    +
    +
    +def load_entry_point(dist: _EPDistType, group: str, name: str) -> _ResolvedEntryPoint:
    +    """Return `name` entry point of `group` for `dist` or raise ImportError"""
    +    return get_distribution(dist).load_entry_point(group, name)
    +
    +
    +@overload
    +def get_entry_map(
    +    dist: _EPDistType, group: None = None
    +) -> dict[str, dict[str, EntryPoint]]: ...
    +@overload
    +def get_entry_map(dist: _EPDistType, group: str) -> dict[str, EntryPoint]: ...
    +def get_entry_map(dist: _EPDistType, group: str | None = None):
    +    """Return the entry point map for `group`, or the full entry map"""
    +    return get_distribution(dist).get_entry_map(group)
    +
    +
    +def get_entry_info(dist: _EPDistType, group: str, name: str):
    +    """Return the EntryPoint object for `group`+`name`, or ``None``"""
    +    return get_distribution(dist).get_entry_info(group, name)
    +
    +
    +class IMetadataProvider(Protocol):
    +    def has_metadata(self, name: str) -> bool:
    +        """Does the package's distribution contain the named metadata?"""
    +
    +    def get_metadata(self, name: str) -> str:
    +        """The named metadata resource as a string"""
    +
    +    def get_metadata_lines(self, name: str) -> Iterator[str]:
    +        """Yield named metadata resource as list of non-blank non-comment lines
    +
    +        Leading and trailing whitespace is stripped from each line, and lines
    +        with ``#`` as the first non-blank character are omitted."""
    +
    +    def metadata_isdir(self, name: str) -> bool:
    +        """Is the named metadata a directory?  (like ``os.path.isdir()``)"""
    +
    +    def metadata_listdir(self, name: str) -> list[str]:
    +        """List of metadata names in the directory (like ``os.listdir()``)"""
    +
    +    def run_script(self, script_name: str, namespace: dict[str, Any]) -> None:
    +        """Execute the named script in the supplied namespace dictionary"""
    +
    +
    +class IResourceProvider(IMetadataProvider, Protocol):
    +    """An object that provides access to package resources"""
    +
    +    def get_resource_filename(
    +        self, manager: ResourceManager, resource_name: str
    +    ) -> str:
    +        """Return a true filesystem path for `resource_name`
    +
    +        `manager` must be a ``ResourceManager``"""
    +
    +    def get_resource_stream(
    +        self, manager: ResourceManager, resource_name: str
    +    ) -> _ResourceStream:
    +        """Return a readable file-like object for `resource_name`
    +
    +        `manager` must be a ``ResourceManager``"""
    +
    +    def get_resource_string(
    +        self, manager: ResourceManager, resource_name: str
    +    ) -> bytes:
    +        """Return the contents of `resource_name` as :obj:`bytes`
    +
    +        `manager` must be a ``ResourceManager``"""
    +
    +    def has_resource(self, resource_name: str) -> bool:
    +        """Does the package contain the named resource?"""
    +
    +    def resource_isdir(self, resource_name: str) -> bool:
    +        """Is the named resource a directory?  (like ``os.path.isdir()``)"""
    +
    +    def resource_listdir(self, resource_name: str) -> list[str]:
    +        """List of resource names in the directory (like ``os.listdir()``)"""
    +
    +
    +class WorkingSet:
    +    """A collection of active distributions on sys.path (or a similar list)"""
    +
    +    def __init__(self, entries: Iterable[str] | None = None):
    +        """Create working set from list of path entries (default=sys.path)"""
    +        self.entries: list[str] = []
    +        self.entry_keys = {}
    +        self.by_key = {}
    +        self.normalized_to_canonical_keys = {}
    +        self.callbacks = []
    +
    +        if entries is None:
    +            entries = sys.path
    +
    +        for entry in entries:
    +            self.add_entry(entry)
    +
    +    @classmethod
    +    def _build_master(cls):
    +        """
    +        Prepare the master working set.
    +        """
    +        ws = cls()
    +        try:
    +            from __main__ import __requires__
    +        except ImportError:
    +            # The main program does not list any requirements
    +            return ws
    +
    +        # ensure the requirements are met
    +        try:
    +            ws.require(__requires__)
    +        except VersionConflict:
    +            return cls._build_from_requirements(__requires__)
    +
    +        return ws
    +
    +    @classmethod
    +    def _build_from_requirements(cls, req_spec):
    +        """
    +        Build a working set from a requirement spec. Rewrites sys.path.
    +        """
    +        # try it without defaults already on sys.path
    +        # by starting with an empty path
    +        ws = cls([])
    +        reqs = parse_requirements(req_spec)
    +        dists = ws.resolve(reqs, Environment())
    +        for dist in dists:
    +            ws.add(dist)
    +
    +        # add any missing entries from sys.path
    +        for entry in sys.path:
    +            if entry not in ws.entries:
    +                ws.add_entry(entry)
    +
    +        # then copy back to sys.path
    +        sys.path[:] = ws.entries
    +        return ws
    +
    +    def add_entry(self, entry: str):
    +        """Add a path item to ``.entries``, finding any distributions on it
    +
    +        ``find_distributions(entry, True)`` is used to find distributions
    +        corresponding to the path entry, and they are added.  `entry` is
    +        always appended to ``.entries``, even if it is already present.
    +        (This is because ``sys.path`` can contain the same value more than
    +        once, and the ``.entries`` of the ``sys.path`` WorkingSet should always
    +        equal ``sys.path``.)
    +        """
    +        self.entry_keys.setdefault(entry, [])
    +        self.entries.append(entry)
    +        for dist in find_distributions(entry, True):
    +            self.add(dist, entry, False)
    +
    +    def __contains__(self, dist: Distribution) -> bool:
    +        """True if `dist` is the active distribution for its project"""
    +        return self.by_key.get(dist.key) == dist
    +
    +    def find(self, req: Requirement) -> Distribution | None:
    +        """Find a distribution matching requirement `req`
    +
    +        If there is an active distribution for the requested project, this
    +        returns it as long as it meets the version requirement specified by
    +        `req`.  But, if there is an active distribution for the project and it
    +        does *not* meet the `req` requirement, ``VersionConflict`` is raised.
    +        If there is no active distribution for the requested project, ``None``
    +        is returned.
    +        """
    +        dist = self.by_key.get(req.key)
    +
    +        if dist is None:
    +            canonical_key = self.normalized_to_canonical_keys.get(req.key)
    +
    +            if canonical_key is not None:
    +                req.key = canonical_key
    +                dist = self.by_key.get(canonical_key)
    +
    +        if dist is not None and dist not in req:
    +            # XXX add more info
    +            raise VersionConflict(dist, req)
    +        return dist
    +
    +    def iter_entry_points(self, group: str, name: str | None = None):
    +        """Yield entry point objects from `group` matching `name`
    +
    +        If `name` is None, yields all entry points in `group` from all
    +        distributions in the working set, otherwise only ones matching
    +        both `group` and `name` are yielded (in distribution order).
    +        """
    +        return (
    +            entry
    +            for dist in self
    +            for entry in dist.get_entry_map(group).values()
    +            if name is None or name == entry.name
    +        )
    +
    +    def run_script(self, requires: str, script_name: str):
    +        """Locate distribution for `requires` and run `script_name` script"""
    +        ns = sys._getframe(1).f_globals
    +        name = ns['__name__']
    +        ns.clear()
    +        ns['__name__'] = name
    +        self.require(requires)[0].run_script(script_name, ns)
    +
    +    def __iter__(self) -> Iterator[Distribution]:
    +        """Yield distributions for non-duplicate projects in the working set
    +
    +        The yield order is the order in which the items' path entries were
    +        added to the working set.
    +        """
    +        seen = set()
    +        for item in self.entries:
    +            if item not in self.entry_keys:
    +                # workaround a cache issue
    +                continue
    +
    +            for key in self.entry_keys[item]:
    +                if key not in seen:
    +                    seen.add(key)
    +                    yield self.by_key[key]
    +
    +    def add(
    +        self,
    +        dist: Distribution,
    +        entry: str | None = None,
    +        insert: bool = True,
    +        replace: bool = False,
    +    ):
    +        """Add `dist` to working set, associated with `entry`
    +
    +        If `entry` is unspecified, it defaults to the ``.location`` of `dist`.
    +        On exit from this routine, `entry` is added to the end of the working
    +        set's ``.entries`` (if it wasn't already present).
    +
    +        `dist` is only added to the working set if it's for a project that
    +        doesn't already have a distribution in the set, unless `replace=True`.
    +        If it's added, any callbacks registered with the ``subscribe()`` method
    +        will be called.
    +        """
    +        if insert:
    +            dist.insert_on(self.entries, entry, replace=replace)
    +
    +        if entry is None:
    +            entry = dist.location
    +        keys = self.entry_keys.setdefault(entry, [])
    +        keys2 = self.entry_keys.setdefault(dist.location, [])
    +        if not replace and dist.key in self.by_key:
    +            # ignore hidden distros
    +            return
    +
    +        self.by_key[dist.key] = dist
    +        normalized_name = _packaging_utils.canonicalize_name(dist.key)
    +        self.normalized_to_canonical_keys[normalized_name] = dist.key
    +        if dist.key not in keys:
    +            keys.append(dist.key)
    +        if dist.key not in keys2:
    +            keys2.append(dist.key)
    +        self._added_new(dist)
    +
    +    @overload
    +    def resolve(
    +        self,
    +        requirements: Iterable[Requirement],
    +        env: Environment | None,
    +        installer: _InstallerTypeT[_DistributionT],
    +        replace_conflicting: bool = False,
    +        extras: tuple[str, ...] | None = None,
    +    ) -> list[_DistributionT]: ...
    +    @overload
    +    def resolve(
    +        self,
    +        requirements: Iterable[Requirement],
    +        env: Environment | None = None,
    +        *,
    +        installer: _InstallerTypeT[_DistributionT],
    +        replace_conflicting: bool = False,
    +        extras: tuple[str, ...] | None = None,
    +    ) -> list[_DistributionT]: ...
    +    @overload
    +    def resolve(
    +        self,
    +        requirements: Iterable[Requirement],
    +        env: Environment | None = None,
    +        installer: _InstallerType | None = None,
    +        replace_conflicting: bool = False,
    +        extras: tuple[str, ...] | None = None,
    +    ) -> list[Distribution]: ...
    +    def resolve(
    +        self,
    +        requirements: Iterable[Requirement],
    +        env: Environment | None = None,
    +        installer: _InstallerType | None | _InstallerTypeT[_DistributionT] = None,
    +        replace_conflicting: bool = False,
    +        extras: tuple[str, ...] | None = None,
    +    ) -> list[Distribution] | list[_DistributionT]:
    +        """List all distributions needed to (recursively) meet `requirements`
    +
    +        `requirements` must be a sequence of ``Requirement`` objects.  `env`,
    +        if supplied, should be an ``Environment`` instance.  If
    +        not supplied, it defaults to all distributions available within any
    +        entry or distribution in the working set.  `installer`, if supplied,
    +        will be invoked with each requirement that cannot be met by an
    +        already-installed distribution; it should return a ``Distribution`` or
    +        ``None``.
    +
    +        Unless `replace_conflicting=True`, raises a VersionConflict exception
    +        if
    +        any requirements are found on the path that have the correct name but
    +        the wrong version.  Otherwise, if an `installer` is supplied it will be
    +        invoked to obtain the correct version of the requirement and activate
    +        it.
    +
    +        `extras` is a list of the extras to be used with these requirements.
    +        This is important because extra requirements may look like `my_req;
    +        extra = "my_extra"`, which would otherwise be interpreted as a purely
    +        optional requirement.  Instead, we want to be able to assert that these
    +        requirements are truly required.
    +        """
    +
    +        # set up the stack
    +        requirements = list(requirements)[::-1]
    +        # set of processed requirements
    +        processed = set()
    +        # key -> dist
    +        best = {}
    +        to_activate = []
    +
    +        req_extras = _ReqExtras()
    +
    +        # Mapping of requirement to set of distributions that required it;
    +        # useful for reporting info about conflicts.
    +        required_by = collections.defaultdict(set)
    +
    +        while requirements:
    +            # process dependencies breadth-first
    +            req = requirements.pop(0)
    +            if req in processed:
    +                # Ignore cyclic or redundant dependencies
    +                continue
    +
    +            if not req_extras.markers_pass(req, extras):
    +                continue
    +
    +            dist = self._resolve_dist(
    +                req, best, replace_conflicting, env, installer, required_by, to_activate
    +            )
    +
    +            # push the new requirements onto the stack
    +            new_requirements = dist.requires(req.extras)[::-1]
    +            requirements.extend(new_requirements)
    +
    +            # Register the new requirements needed by req
    +            for new_requirement in new_requirements:
    +                required_by[new_requirement].add(req.project_name)
    +                req_extras[new_requirement] = req.extras
    +
    +            processed.add(req)
    +
    +        # return list of distros to activate
    +        return to_activate
    +
    +    def _resolve_dist(
    +        self, req, best, replace_conflicting, env, installer, required_by, to_activate
    +    ) -> Distribution:
    +        dist = best.get(req.key)
    +        if dist is None:
    +            # Find the best distribution and add it to the map
    +            dist = self.by_key.get(req.key)
    +            if dist is None or (dist not in req and replace_conflicting):
    +                ws = self
    +                if env is None:
    +                    if dist is None:
    +                        env = Environment(self.entries)
    +                    else:
    +                        # Use an empty environment and workingset to avoid
    +                        # any further conflicts with the conflicting
    +                        # distribution
    +                        env = Environment([])
    +                        ws = WorkingSet([])
    +                dist = best[req.key] = env.best_match(
    +                    req, ws, installer, replace_conflicting=replace_conflicting
    +                )
    +                if dist is None:
    +                    requirers = required_by.get(req, None)
    +                    raise DistributionNotFound(req, requirers)
    +            to_activate.append(dist)
    +        if dist not in req:
    +            # Oops, the "best" so far conflicts with a dependency
    +            dependent_req = required_by[req]
    +            raise VersionConflict(dist, req).with_context(dependent_req)
    +        return dist
    +
    +    @overload
    +    def find_plugins(
    +        self,
    +        plugin_env: Environment,
    +        full_env: Environment | None,
    +        installer: _InstallerTypeT[_DistributionT],
    +        fallback: bool = True,
    +    ) -> tuple[list[_DistributionT], dict[Distribution, Exception]]: ...
    +    @overload
    +    def find_plugins(
    +        self,
    +        plugin_env: Environment,
    +        full_env: Environment | None = None,
    +        *,
    +        installer: _InstallerTypeT[_DistributionT],
    +        fallback: bool = True,
    +    ) -> tuple[list[_DistributionT], dict[Distribution, Exception]]: ...
    +    @overload
    +    def find_plugins(
    +        self,
    +        plugin_env: Environment,
    +        full_env: Environment | None = None,
    +        installer: _InstallerType | None = None,
    +        fallback: bool = True,
    +    ) -> tuple[list[Distribution], dict[Distribution, Exception]]: ...
    +    def find_plugins(
    +        self,
    +        plugin_env: Environment,
    +        full_env: Environment | None = None,
    +        installer: _InstallerType | None | _InstallerTypeT[_DistributionT] = None,
    +        fallback: bool = True,
    +    ) -> tuple[
    +        list[Distribution] | list[_DistributionT],
    +        dict[Distribution, Exception],
    +    ]:
    +        """Find all activatable distributions in `plugin_env`
    +
    +        Example usage::
    +
    +            distributions, errors = working_set.find_plugins(
    +                Environment(plugin_dirlist)
    +            )
    +            # add plugins+libs to sys.path
    +            map(working_set.add, distributions)
    +            # display errors
    +            print('Could not load', errors)
    +
    +        The `plugin_env` should be an ``Environment`` instance that contains
    +        only distributions that are in the project's "plugin directory" or
    +        directories. The `full_env`, if supplied, should be an ``Environment``
    +        contains all currently-available distributions.  If `full_env` is not
    +        supplied, one is created automatically from the ``WorkingSet`` this
    +        method is called on, which will typically mean that every directory on
    +        ``sys.path`` will be scanned for distributions.
    +
    +        `installer` is a standard installer callback as used by the
    +        ``resolve()`` method. The `fallback` flag indicates whether we should
    +        attempt to resolve older versions of a plugin if the newest version
    +        cannot be resolved.
    +
    +        This method returns a 2-tuple: (`distributions`, `error_info`), where
    +        `distributions` is a list of the distributions found in `plugin_env`
    +        that were loadable, along with any other distributions that are needed
    +        to resolve their dependencies.  `error_info` is a dictionary mapping
    +        unloadable plugin distributions to an exception instance describing the
    +        error that occurred. Usually this will be a ``DistributionNotFound`` or
    +        ``VersionConflict`` instance.
    +        """
    +
    +        plugin_projects = list(plugin_env)
    +        # scan project names in alphabetic order
    +        plugin_projects.sort()
    +
    +        error_info: dict[Distribution, Exception] = {}
    +        distributions: dict[Distribution, Exception | None] = {}
    +
    +        if full_env is None:
    +            env = Environment(self.entries)
    +            env += plugin_env
    +        else:
    +            env = full_env + plugin_env
    +
    +        shadow_set = self.__class__([])
    +        # put all our entries in shadow_set
    +        list(map(shadow_set.add, self))
    +
    +        for project_name in plugin_projects:
    +            for dist in plugin_env[project_name]:
    +                req = [dist.as_requirement()]
    +
    +                try:
    +                    resolvees = shadow_set.resolve(req, env, installer)
    +
    +                except ResolutionError as v:
    +                    # save error info
    +                    error_info[dist] = v
    +                    if fallback:
    +                        # try the next older version of project
    +                        continue
    +                    else:
    +                        # give up on this project, keep going
    +                        break
    +
    +                else:
    +                    list(map(shadow_set.add, resolvees))
    +                    distributions.update(dict.fromkeys(resolvees))
    +
    +                    # success, no need to try any more versions of this project
    +                    break
    +
    +        sorted_distributions = list(distributions)
    +        sorted_distributions.sort()
    +
    +        return sorted_distributions, error_info
    +
    +    def require(self, *requirements: _NestedStr):
    +        """Ensure that distributions matching `requirements` are activated
    +
    +        `requirements` must be a string or a (possibly-nested) sequence
    +        thereof, specifying the distributions and versions required.  The
    +        return value is a sequence of the distributions that needed to be
    +        activated to fulfill the requirements; all relevant distributions are
    +        included, even if they were already activated in this working set.
    +        """
    +        needed = self.resolve(parse_requirements(requirements))
    +
    +        for dist in needed:
    +            self.add(dist)
    +
    +        return needed
    +
    +    def subscribe(
    +        self, callback: Callable[[Distribution], object], existing: bool = True
    +    ):
    +        """Invoke `callback` for all distributions
    +
    +        If `existing=True` (default),
    +        call on all existing ones, as well.
    +        """
    +        if callback in self.callbacks:
    +            return
    +        self.callbacks.append(callback)
    +        if not existing:
    +            return
    +        for dist in self:
    +            callback(dist)
    +
    +    def _added_new(self, dist):
    +        for callback in self.callbacks:
    +            callback(dist)
    +
    +    def __getstate__(self):
    +        return (
    +            self.entries[:],
    +            self.entry_keys.copy(),
    +            self.by_key.copy(),
    +            self.normalized_to_canonical_keys.copy(),
    +            self.callbacks[:],
    +        )
    +
    +    def __setstate__(self, e_k_b_n_c):
    +        entries, keys, by_key, normalized_to_canonical_keys, callbacks = e_k_b_n_c
    +        self.entries = entries[:]
    +        self.entry_keys = keys.copy()
    +        self.by_key = by_key.copy()
    +        self.normalized_to_canonical_keys = normalized_to_canonical_keys.copy()
    +        self.callbacks = callbacks[:]
    +
    +
    +class _ReqExtras(Dict["Requirement", Tuple[str, ...]]):
    +    """
    +    Map each requirement to the extras that demanded it.
    +    """
    +
    +    def markers_pass(self, req: Requirement, extras: tuple[str, ...] | None = None):
    +        """
    +        Evaluate markers for req against each extra that
    +        demanded it.
    +
    +        Return False if the req has a marker and fails
    +        evaluation. Otherwise, return True.
    +        """
    +        extra_evals = (
    +            req.marker.evaluate({'extra': extra})
    +            for extra in self.get(req, ()) + (extras or (None,))
    +        )
    +        return not req.marker or any(extra_evals)
    +
    +
    +class Environment:
    +    """Searchable snapshot of distributions on a search path"""
    +
    +    def __init__(
    +        self,
    +        search_path: Iterable[str] | None = None,
    +        platform: str | None = get_supported_platform(),
    +        python: str | None = PY_MAJOR,
    +    ):
    +        """Snapshot distributions available on a search path
    +
    +        Any distributions found on `search_path` are added to the environment.
    +        `search_path` should be a sequence of ``sys.path`` items.  If not
    +        supplied, ``sys.path`` is used.
    +
    +        `platform` is an optional string specifying the name of the platform
    +        that platform-specific distributions must be compatible with.  If
    +        unspecified, it defaults to the current platform.  `python` is an
    +        optional string naming the desired version of Python (e.g. ``'3.6'``);
    +        it defaults to the current version.
    +
    +        You may explicitly set `platform` (and/or `python`) to ``None`` if you
    +        wish to map *all* distributions, not just those compatible with the
    +        running platform or Python version.
    +        """
    +        self._distmap = {}
    +        self.platform = platform
    +        self.python = python
    +        self.scan(search_path)
    +
    +    def can_add(self, dist: Distribution):
    +        """Is distribution `dist` acceptable for this environment?
    +
    +        The distribution must match the platform and python version
    +        requirements specified when this environment was created, or False
    +        is returned.
    +        """
    +        py_compat = (
    +            self.python is None
    +            or dist.py_version is None
    +            or dist.py_version == self.python
    +        )
    +        return py_compat and compatible_platforms(dist.platform, self.platform)
    +
    +    def remove(self, dist: Distribution):
    +        """Remove `dist` from the environment"""
    +        self._distmap[dist.key].remove(dist)
    +
    +    def scan(self, search_path: Iterable[str] | None = None):
    +        """Scan `search_path` for distributions usable in this environment
    +
    +        Any distributions found are added to the environment.
    +        `search_path` should be a sequence of ``sys.path`` items.  If not
    +        supplied, ``sys.path`` is used.  Only distributions conforming to
    +        the platform/python version defined at initialization are added.
    +        """
    +        if search_path is None:
    +            search_path = sys.path
    +
    +        for item in search_path:
    +            for dist in find_distributions(item):
    +                self.add(dist)
    +
    +    def __getitem__(self, project_name: str) -> list[Distribution]:
    +        """Return a newest-to-oldest list of distributions for `project_name`
    +
    +        Uses case-insensitive `project_name` comparison, assuming all the
    +        project's distributions use their project's name converted to all
    +        lowercase as their key.
    +
    +        """
    +        distribution_key = project_name.lower()
    +        return self._distmap.get(distribution_key, [])
    +
    +    def add(self, dist: Distribution):
    +        """Add `dist` if we ``can_add()`` it and it has not already been added"""
    +        if self.can_add(dist) and dist.has_version():
    +            dists = self._distmap.setdefault(dist.key, [])
    +            if dist not in dists:
    +                dists.append(dist)
    +                dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
    +
    +    @overload
    +    def best_match(
    +        self,
    +        req: Requirement,
    +        working_set: WorkingSet,
    +        installer: _InstallerTypeT[_DistributionT],
    +        replace_conflicting: bool = False,
    +    ) -> _DistributionT: ...
    +    @overload
    +    def best_match(
    +        self,
    +        req: Requirement,
    +        working_set: WorkingSet,
    +        installer: _InstallerType | None = None,
    +        replace_conflicting: bool = False,
    +    ) -> Distribution | None: ...
    +    def best_match(
    +        self,
    +        req: Requirement,
    +        working_set: WorkingSet,
    +        installer: _InstallerType | None | _InstallerTypeT[_DistributionT] = None,
    +        replace_conflicting: bool = False,
    +    ) -> Distribution | None:
    +        """Find distribution best matching `req` and usable on `working_set`
    +
    +        This calls the ``find(req)`` method of the `working_set` to see if a
    +        suitable distribution is already active.  (This may raise
    +        ``VersionConflict`` if an unsuitable version of the project is already
    +        active in the specified `working_set`.)  If a suitable distribution
    +        isn't active, this method returns the newest distribution in the
    +        environment that meets the ``Requirement`` in `req`.  If no suitable
    +        distribution is found, and `installer` is supplied, then the result of
    +        calling the environment's ``obtain(req, installer)`` method will be
    +        returned.
    +        """
    +        try:
    +            dist = working_set.find(req)
    +        except VersionConflict:
    +            if not replace_conflicting:
    +                raise
    +            dist = None
    +        if dist is not None:
    +            return dist
    +        for dist in self[req.key]:
    +            if dist in req:
    +                return dist
    +        # try to download/install
    +        return self.obtain(req, installer)
    +
    +    @overload
    +    def obtain(
    +        self,
    +        requirement: Requirement,
    +        installer: _InstallerTypeT[_DistributionT],
    +    ) -> _DistributionT: ...
    +    @overload
    +    def obtain(
    +        self,
    +        requirement: Requirement,
    +        installer: Callable[[Requirement], None] | None = None,
    +    ) -> None: ...
    +    @overload
    +    def obtain(
    +        self,
    +        requirement: Requirement,
    +        installer: _InstallerType | None = None,
    +    ) -> Distribution | None: ...
    +    def obtain(
    +        self,
    +        requirement: Requirement,
    +        installer: Callable[[Requirement], None]
    +        | _InstallerType
    +        | None
    +        | _InstallerTypeT[_DistributionT] = None,
    +    ) -> Distribution | None:
    +        """Obtain a distribution matching `requirement` (e.g. via download)
    +
    +        Obtain a distro that matches requirement (e.g. via download).  In the
    +        base ``Environment`` class, this routine just returns
    +        ``installer(requirement)``, unless `installer` is None, in which case
    +        None is returned instead.  This method is a hook that allows subclasses
    +        to attempt other ways of obtaining a distribution before falling back
    +        to the `installer` argument."""
    +        return installer(requirement) if installer else None
    +
    +    def __iter__(self) -> Iterator[str]:
    +        """Yield the unique project names of the available distributions"""
    +        for key in self._distmap.keys():
    +            if self[key]:
    +                yield key
    +
    +    def __iadd__(self, other: Distribution | Environment):
    +        """In-place addition of a distribution or environment"""
    +        if isinstance(other, Distribution):
    +            self.add(other)
    +        elif isinstance(other, Environment):
    +            for project in other:
    +                for dist in other[project]:
    +                    self.add(dist)
    +        else:
    +            raise TypeError("Can't add %r to environment" % (other,))
    +        return self
    +
    +    def __add__(self, other: Distribution | Environment):
    +        """Add an environment or distribution to an environment"""
    +        new = self.__class__([], platform=None, python=None)
    +        for env in self, other:
    +            new += env
    +        return new
    +
    +
    +# XXX backward compatibility
    +AvailableDistributions = Environment
    +
    +
    +class ExtractionError(RuntimeError):
    +    """An error occurred extracting a resource
    +
    +    The following attributes are available from instances of this exception:
    +
    +    manager
    +        The resource manager that raised this exception
    +
    +    cache_path
    +        The base directory for resource extraction
    +
    +    original_error
    +        The exception instance that caused extraction to fail
    +    """
    +
    +    manager: ResourceManager
    +    cache_path: str
    +    original_error: BaseException | None
    +
    +
    +class ResourceManager:
    +    """Manage resource extraction and packages"""
    +
    +    extraction_path: str | None = None
    +
    +    def __init__(self):
    +        self.cached_files = {}
    +
    +    def resource_exists(self, package_or_requirement: _PkgReqType, resource_name: str):
    +        """Does the named resource exist?"""
    +        return get_provider(package_or_requirement).has_resource(resource_name)
    +
    +    def resource_isdir(self, package_or_requirement: _PkgReqType, resource_name: str):
    +        """Is the named resource an existing directory?"""
    +        return get_provider(package_or_requirement).resource_isdir(resource_name)
    +
    +    def resource_filename(
    +        self, package_or_requirement: _PkgReqType, resource_name: str
    +    ):
    +        """Return a true filesystem path for specified resource"""
    +        return get_provider(package_or_requirement).get_resource_filename(
    +            self, resource_name
    +        )
    +
    +    def resource_stream(self, package_or_requirement: _PkgReqType, resource_name: str):
    +        """Return a readable file-like object for specified resource"""
    +        return get_provider(package_or_requirement).get_resource_stream(
    +            self, resource_name
    +        )
    +
    +    def resource_string(
    +        self, package_or_requirement: _PkgReqType, resource_name: str
    +    ) -> bytes:
    +        """Return specified resource as :obj:`bytes`"""
    +        return get_provider(package_or_requirement).get_resource_string(
    +            self, resource_name
    +        )
    +
    +    def resource_listdir(self, package_or_requirement: _PkgReqType, resource_name: str):
    +        """List the contents of the named resource directory"""
    +        return get_provider(package_or_requirement).resource_listdir(resource_name)
    +
    +    def extraction_error(self) -> NoReturn:
    +        """Give an error message for problems extracting file(s)"""
    +
    +        old_exc = sys.exc_info()[1]
    +        cache_path = self.extraction_path or get_default_cache()
    +
    +        tmpl = textwrap.dedent(
    +            """
    +            Can't extract file(s) to egg cache
    +
    +            The following error occurred while trying to extract file(s)
    +            to the Python egg cache:
    +
    +              {old_exc}
    +
    +            The Python egg cache directory is currently set to:
    +
    +              {cache_path}
    +
    +            Perhaps your account does not have write access to this directory?
    +            You can change the cache directory by setting the PYTHON_EGG_CACHE
    +            environment variable to point to an accessible directory.
    +            """
    +        ).lstrip()
    +        err = ExtractionError(tmpl.format(**locals()))
    +        err.manager = self
    +        err.cache_path = cache_path
    +        err.original_error = old_exc
    +        raise err
    +
    +    def get_cache_path(self, archive_name: str, names: Iterable[StrPath] = ()):
    +        """Return absolute location in cache for `archive_name` and `names`
    +
    +        The parent directory of the resulting path will be created if it does
    +        not already exist.  `archive_name` should be the base filename of the
    +        enclosing egg (which may not be the name of the enclosing zipfile!),
    +        including its ".egg" extension.  `names`, if provided, should be a
    +        sequence of path name parts "under" the egg's extraction location.
    +
    +        This method should only be called by resource providers that need to
    +        obtain an extraction location, and only for names they intend to
    +        extract, as it tracks the generated names for possible cleanup later.
    +        """
    +        extract_path = self.extraction_path or get_default_cache()
    +        target_path = os.path.join(extract_path, archive_name + '-tmp', *names)
    +        try:
    +            _bypass_ensure_directory(target_path)
    +        except Exception:
    +            self.extraction_error()
    +
    +        self._warn_unsafe_extraction_path(extract_path)
    +
    +        self.cached_files[target_path] = True
    +        return target_path
    +
    +    @staticmethod
    +    def _warn_unsafe_extraction_path(path):
    +        """
    +        If the default extraction path is overridden and set to an insecure
    +        location, such as /tmp, it opens up an opportunity for an attacker to
    +        replace an extracted file with an unauthorized payload. Warn the user
    +        if a known insecure location is used.
    +
    +        See Distribute #375 for more details.
    +        """
    +        if os.name == 'nt' and not path.startswith(os.environ['windir']):
    +            # On Windows, permissions are generally restrictive by default
    +            #  and temp directories are not writable by other users, so
    +            #  bypass the warning.
    +            return
    +        mode = os.stat(path).st_mode
    +        if mode & stat.S_IWOTH or mode & stat.S_IWGRP:
    +            msg = (
    +                "Extraction path is writable by group/others "
    +                "and vulnerable to attack when "
    +                "used with get_resource_filename ({path}). "
    +                "Consider a more secure "
    +                "location (set with .set_extraction_path or the "
    +                "PYTHON_EGG_CACHE environment variable)."
    +            ).format(**locals())
    +            warnings.warn(msg, UserWarning)
    +
    +    def postprocess(self, tempname: StrOrBytesPath, filename: StrOrBytesPath):
    +        """Perform any platform-specific postprocessing of `tempname`
    +
    +        This is where Mac header rewrites should be done; other platforms don't
    +        have anything special they should do.
    +
    +        Resource providers should call this method ONLY after successfully
    +        extracting a compressed resource.  They must NOT call it on resources
    +        that are already in the filesystem.
    +
    +        `tempname` is the current (temporary) name of the file, and `filename`
    +        is the name it will be renamed to by the caller after this routine
    +        returns.
    +        """
    +
    +        if os.name == 'posix':
    +            # Make the resource executable
    +            mode = ((os.stat(tempname).st_mode) | 0o555) & 0o7777
    +            os.chmod(tempname, mode)
    +
    +    def set_extraction_path(self, path: str):
    +        """Set the base path where resources will be extracted to, if needed.
    +
    +        If you do not call this routine before any extractions take place, the
    +        path defaults to the return value of ``get_default_cache()``.  (Which
    +        is based on the ``PYTHON_EGG_CACHE`` environment variable, with various
    +        platform-specific fallbacks.  See that routine's documentation for more
    +        details.)
    +
    +        Resources are extracted to subdirectories of this path based upon
    +        information given by the ``IResourceProvider``.  You may set this to a
    +        temporary directory, but then you must call ``cleanup_resources()`` to
    +        delete the extracted files when done.  There is no guarantee that
    +        ``cleanup_resources()`` will be able to remove all extracted files.
    +
    +        (Note: you may not change the extraction path for a given resource
    +        manager once resources have been extracted, unless you first call
    +        ``cleanup_resources()``.)
    +        """
    +        if self.cached_files:
    +            raise ValueError("Can't change extraction path, files already extracted")
    +
    +        self.extraction_path = path
    +
    +    def cleanup_resources(self, force: bool = False) -> list[str]:
    +        """
    +        Delete all extracted resource files and directories, returning a list
    +        of the file and directory names that could not be successfully removed.
    +        This function does not have any concurrency protection, so it should
    +        generally only be called when the extraction path is a temporary
    +        directory exclusive to a single process.  This method is not
    +        automatically called; you must call it explicitly or register it as an
    +        ``atexit`` function if you wish to ensure cleanup of a temporary
    +        directory used for extractions.
    +        """
    +        # XXX
    +        return []
    +
    +
    +def get_default_cache() -> str:
    +    """
    +    Return the ``PYTHON_EGG_CACHE`` environment variable
    +    or a platform-relevant user cache dir for an app
    +    named "Python-Eggs".
    +    """
    +    return os.environ.get('PYTHON_EGG_CACHE') or _user_cache_dir(appname='Python-Eggs')
    +
    +
    +def safe_name(name: str):
    +    """Convert an arbitrary string to a standard distribution name
    +
    +    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
    +    """
    +    return re.sub('[^A-Za-z0-9.]+', '-', name)
    +
    +
    +def safe_version(version: str):
    +    """
    +    Convert an arbitrary string to a standard version string
    +    """
    +    try:
    +        # normalize the version
    +        return str(_packaging_version.Version(version))
    +    except _packaging_version.InvalidVersion:
    +        version = version.replace(' ', '.')
    +        return re.sub('[^A-Za-z0-9.]+', '-', version)
    +
    +
    +def _forgiving_version(version):
    +    """Fallback when ``safe_version`` is not safe enough
    +    >>> parse_version(_forgiving_version('0.23ubuntu1'))
    +    
    +    >>> parse_version(_forgiving_version('0.23-'))
    +    
    +    >>> parse_version(_forgiving_version('0.-_'))
    +    
    +    >>> parse_version(_forgiving_version('42.+?1'))
    +    
    +    >>> parse_version(_forgiving_version('hello world'))
    +    
    +    """
    +    version = version.replace(' ', '.')
    +    match = _PEP440_FALLBACK.search(version)
    +    if match:
    +        safe = match["safe"]
    +        rest = version[len(safe) :]
    +    else:
    +        safe = "0"
    +        rest = version
    +    local = f"sanitized.{_safe_segment(rest)}".strip(".")
    +    return f"{safe}.dev0+{local}"
    +
    +
    +def _safe_segment(segment):
    +    """Convert an arbitrary string into a safe segment"""
    +    segment = re.sub('[^A-Za-z0-9.]+', '-', segment)
    +    segment = re.sub('-[^A-Za-z0-9]+', '-', segment)
    +    return re.sub(r'\.[^A-Za-z0-9]+', '.', segment).strip(".-")
    +
    +
    +def safe_extra(extra: str):
    +    """Convert an arbitrary string to a standard 'extra' name
    +
    +    Any runs of non-alphanumeric characters are replaced with a single '_',
    +    and the result is always lowercased.
    +    """
    +    return re.sub('[^A-Za-z0-9.-]+', '_', extra).lower()
    +
    +
    +def to_filename(name: str):
    +    """Convert a project or version name to its filename-escaped form
    +
    +    Any '-' characters are currently replaced with '_'.
    +    """
    +    return name.replace('-', '_')
    +
    +
    +def invalid_marker(text: str):
    +    """
    +    Validate text as a PEP 508 environment marker; return an exception
    +    if invalid or False otherwise.
    +    """
    +    try:
    +        evaluate_marker(text)
    +    except SyntaxError as e:
    +        e.filename = None
    +        e.lineno = None
    +        return e
    +    return False
    +
    +
    +def evaluate_marker(text: str, extra: str | None = None) -> bool:
    +    """
    +    Evaluate a PEP 508 environment marker.
    +    Return a boolean indicating the marker result in this environment.
    +    Raise SyntaxError if marker is invalid.
    +
    +    This implementation uses the 'pyparsing' module.
    +    """
    +    try:
    +        marker = _packaging_markers.Marker(text)
    +        return marker.evaluate()
    +    except _packaging_markers.InvalidMarker as e:
    +        raise SyntaxError(e) from e
    +
    +
    +class NullProvider:
    +    """Try to implement resources and metadata for arbitrary PEP 302 loaders"""
    +
    +    egg_name: str | None = None
    +    egg_info: str | None = None
    +    loader: _LoaderProtocol | None = None
    +
    +    def __init__(self, module: _ModuleLike):
    +        self.loader = getattr(module, '__loader__', None)
    +        self.module_path = os.path.dirname(getattr(module, '__file__', ''))
    +
    +    def get_resource_filename(self, manager: ResourceManager, resource_name: str):
    +        return self._fn(self.module_path, resource_name)
    +
    +    def get_resource_stream(self, manager: ResourceManager, resource_name: str):
    +        return io.BytesIO(self.get_resource_string(manager, resource_name))
    +
    +    def get_resource_string(
    +        self, manager: ResourceManager, resource_name: str
    +    ) -> bytes:
    +        return self._get(self._fn(self.module_path, resource_name))
    +
    +    def has_resource(self, resource_name: str):
    +        return self._has(self._fn(self.module_path, resource_name))
    +
    +    def _get_metadata_path(self, name):
    +        return self._fn(self.egg_info, name)
    +
    +    def has_metadata(self, name: str) -> bool:
    +        if not self.egg_info:
    +            return False
    +
    +        path = self._get_metadata_path(name)
    +        return self._has(path)
    +
    +    def get_metadata(self, name: str):
    +        if not self.egg_info:
    +            return ""
    +        path = self._get_metadata_path(name)
    +        value = self._get(path)
    +        try:
    +            return value.decode('utf-8')
    +        except UnicodeDecodeError as exc:
    +            # Include the path in the error message to simplify
    +            # troubleshooting, and without changing the exception type.
    +            exc.reason += ' in {} file at path: {}'.format(name, path)
    +            raise
    +
    +    def get_metadata_lines(self, name: str) -> Iterator[str]:
    +        return yield_lines(self.get_metadata(name))
    +
    +    def resource_isdir(self, resource_name: str):
    +        return self._isdir(self._fn(self.module_path, resource_name))
    +
    +    def metadata_isdir(self, name: str) -> bool:
    +        return bool(self.egg_info and self._isdir(self._fn(self.egg_info, name)))
    +
    +    def resource_listdir(self, resource_name: str):
    +        return self._listdir(self._fn(self.module_path, resource_name))
    +
    +    def metadata_listdir(self, name: str) -> list[str]:
    +        if self.egg_info:
    +            return self._listdir(self._fn(self.egg_info, name))
    +        return []
    +
    +    def run_script(self, script_name: str, namespace: dict[str, Any]):
    +        script = 'scripts/' + script_name
    +        if not self.has_metadata(script):
    +            raise ResolutionError(
    +                "Script {script!r} not found in metadata at {self.egg_info!r}".format(
    +                    **locals()
    +                ),
    +            )
    +
    +        script_text = self.get_metadata(script).replace('\r\n', '\n')
    +        script_text = script_text.replace('\r', '\n')
    +        script_filename = self._fn(self.egg_info, script)
    +        namespace['__file__'] = script_filename
    +        if os.path.exists(script_filename):
    +            source = _read_utf8_with_fallback(script_filename)
    +            code = compile(source, script_filename, 'exec')
    +            exec(code, namespace, namespace)
    +        else:
    +            from linecache import cache
    +
    +            cache[script_filename] = (
    +                len(script_text),
    +                0,
    +                script_text.split('\n'),
    +                script_filename,
    +            )
    +            script_code = compile(script_text, script_filename, 'exec')
    +            exec(script_code, namespace, namespace)
    +
    +    def _has(self, path) -> bool:
    +        raise NotImplementedError(
    +            "Can't perform this operation for unregistered loader type"
    +        )
    +
    +    def _isdir(self, path) -> bool:
    +        raise NotImplementedError(
    +            "Can't perform this operation for unregistered loader type"
    +        )
    +
    +    def _listdir(self, path) -> list[str]:
    +        raise NotImplementedError(
    +            "Can't perform this operation for unregistered loader type"
    +        )
    +
    +    def _fn(self, base: str | None, resource_name: str):
    +        if base is None:
    +            raise TypeError(
    +                "`base` parameter in `_fn` is `None`. Either override this method or check the parameter first."
    +            )
    +        self._validate_resource_path(resource_name)
    +        if resource_name:
    +            return os.path.join(base, *resource_name.split('/'))
    +        return base
    +
    +    @staticmethod
    +    def _validate_resource_path(path):
    +        """
    +        Validate the resource paths according to the docs.
    +        https://setuptools.pypa.io/en/latest/pkg_resources.html#basic-resource-access
    +
    +        >>> warned = getfixture('recwarn')
    +        >>> warnings.simplefilter('always')
    +        >>> vrp = NullProvider._validate_resource_path
    +        >>> vrp('foo/bar.txt')
    +        >>> bool(warned)
    +        False
    +        >>> vrp('../foo/bar.txt')
    +        >>> bool(warned)
    +        True
    +        >>> warned.clear()
    +        >>> vrp('/foo/bar.txt')
    +        >>> bool(warned)
    +        True
    +        >>> vrp('foo/../../bar.txt')
    +        >>> bool(warned)
    +        True
    +        >>> warned.clear()
    +        >>> vrp('foo/f../bar.txt')
    +        >>> bool(warned)
    +        False
    +
    +        Windows path separators are straight-up disallowed.
    +        >>> vrp(r'\\foo/bar.txt')
    +        Traceback (most recent call last):
    +        ...
    +        ValueError: Use of .. or absolute path in a resource path \
    +is not allowed.
    +
    +        >>> vrp(r'C:\\foo/bar.txt')
    +        Traceback (most recent call last):
    +        ...
    +        ValueError: Use of .. or absolute path in a resource path \
    +is not allowed.
    +
    +        Blank values are allowed
    +
    +        >>> vrp('')
    +        >>> bool(warned)
    +        False
    +
    +        Non-string values are not.
    +
    +        >>> vrp(None)
    +        Traceback (most recent call last):
    +        ...
    +        AttributeError: ...
    +        """
    +        invalid = (
    +            os.path.pardir in path.split(posixpath.sep)
    +            or posixpath.isabs(path)
    +            or ntpath.isabs(path)
    +            or path.startswith("\\")
    +        )
    +        if not invalid:
    +            return
    +
    +        msg = "Use of .. or absolute path in a resource path is not allowed."
    +
    +        # Aggressively disallow Windows absolute paths
    +        if (path.startswith("\\") or ntpath.isabs(path)) and not posixpath.isabs(path):
    +            raise ValueError(msg)
    +
    +        # for compatibility, warn; in future
    +        # raise ValueError(msg)
    +        issue_warning(
    +            msg[:-1] + " and will raise exceptions in a future release.",
    +            DeprecationWarning,
    +        )
    +
    +    def _get(self, path) -> bytes:
    +        if hasattr(self.loader, 'get_data') and self.loader:
    +            # Already checked get_data exists
    +            return self.loader.get_data(path)  # type: ignore[attr-defined]
    +        raise NotImplementedError(
    +            "Can't perform this operation for loaders without 'get_data()'"
    +        )
    +
    +
    +register_loader_type(object, NullProvider)
    +
    +
    +def _parents(path):
    +    """
    +    yield all parents of path including path
    +    """
    +    last = None
    +    while path != last:
    +        yield path
    +        last = path
    +        path, _ = os.path.split(path)
    +
    +
    +class EggProvider(NullProvider):
    +    """Provider based on a virtual filesystem"""
    +
    +    def __init__(self, module: _ModuleLike):
    +        super().__init__(module)
    +        self._setup_prefix()
    +
    +    def _setup_prefix(self):
    +        # Assume that metadata may be nested inside a "basket"
    +        # of multiple eggs and use module_path instead of .archive.
    +        eggs = filter(_is_egg_path, _parents(self.module_path))
    +        egg = next(eggs, None)
    +        egg and self._set_egg(egg)
    +
    +    def _set_egg(self, path: str):
    +        self.egg_name = os.path.basename(path)
    +        self.egg_info = os.path.join(path, 'EGG-INFO')
    +        self.egg_root = path
    +
    +
    +class DefaultProvider(EggProvider):
    +    """Provides access to package resources in the filesystem"""
    +
    +    def _has(self, path) -> bool:
    +        return os.path.exists(path)
    +
    +    def _isdir(self, path) -> bool:
    +        return os.path.isdir(path)
    +
    +    def _listdir(self, path):
    +        return os.listdir(path)
    +
    +    def get_resource_stream(self, manager: object, resource_name: str):
    +        return open(self._fn(self.module_path, resource_name), 'rb')
    +
    +    def _get(self, path) -> bytes:
    +        with open(path, 'rb') as stream:
    +            return stream.read()
    +
    +    @classmethod
    +    def _register(cls):
    +        loader_names = (
    +            'SourceFileLoader',
    +            'SourcelessFileLoader',
    +        )
    +        for name in loader_names:
    +            loader_cls = getattr(importlib.machinery, name, type(None))
    +            register_loader_type(loader_cls, cls)
    +
    +
    +DefaultProvider._register()
    +
    +
    +class EmptyProvider(NullProvider):
    +    """Provider that returns nothing for all requests"""
    +
    +    # A special case, we don't want all Providers inheriting from NullProvider to have a potentially None module_path
    +    module_path: str | None = None  # type: ignore[assignment]
    +
    +    _isdir = _has = lambda self, path: False
    +
    +    def _get(self, path) -> bytes:
    +        return b''
    +
    +    def _listdir(self, path):
    +        return []
    +
    +    def __init__(self):
    +        pass
    +
    +
    +empty_provider = EmptyProvider()
    +
    +
    +class ZipManifests(Dict[str, "MemoizedZipManifests.manifest_mod"]):
    +    """
    +    zip manifest builder
    +    """
    +
    +    # `path` could be `StrPath | IO[bytes]` but that violates the LSP for `MemoizedZipManifests.load`
    +    @classmethod
    +    def build(cls, path: str):
    +        """
    +        Build a dictionary similar to the zipimport directory
    +        caches, except instead of tuples, store ZipInfo objects.
    +
    +        Use a platform-specific path separator (os.sep) for the path keys
    +        for compatibility with pypy on Windows.
    +        """
    +        with zipfile.ZipFile(path) as zfile:
    +            items = (
    +                (
    +                    name.replace('/', os.sep),
    +                    zfile.getinfo(name),
    +                )
    +                for name in zfile.namelist()
    +            )
    +            return dict(items)
    +
    +    load = build
    +
    +
    +class MemoizedZipManifests(ZipManifests):
    +    """
    +    Memoized zipfile manifests.
    +    """
    +
    +    class manifest_mod(NamedTuple):
    +        manifest: dict[str, zipfile.ZipInfo]
    +        mtime: float
    +
    +    def load(self, path: str) -> dict[str, zipfile.ZipInfo]:  # type: ignore[override] # ZipManifests.load is a classmethod
    +        """
    +        Load a manifest at path or return a suitable manifest already loaded.
    +        """
    +        path = os.path.normpath(path)
    +        mtime = os.stat(path).st_mtime
    +
    +        if path not in self or self[path].mtime != mtime:
    +            manifest = self.build(path)
    +            self[path] = self.manifest_mod(manifest, mtime)
    +
    +        return self[path].manifest
    +
    +
    +class ZipProvider(EggProvider):
    +    """Resource support for zips and eggs"""
    +
    +    eagers: list[str] | None = None
    +    _zip_manifests = MemoizedZipManifests()
    +    # ZipProvider's loader should always be a zipimporter or equivalent
    +    loader: zipimport.zipimporter
    +
    +    def __init__(self, module: _ZipLoaderModule):
    +        super().__init__(module)
    +        self.zip_pre = self.loader.archive + os.sep
    +
    +    def _zipinfo_name(self, fspath):
    +        # Convert a virtual filename (full path to file) into a zipfile subpath
    +        # usable with the zipimport directory cache for our target archive
    +        fspath = fspath.rstrip(os.sep)
    +        if fspath == self.loader.archive:
    +            return ''
    +        if fspath.startswith(self.zip_pre):
    +            return fspath[len(self.zip_pre) :]
    +        raise AssertionError("%s is not a subpath of %s" % (fspath, self.zip_pre))
    +
    +    def _parts(self, zip_path):
    +        # Convert a zipfile subpath into an egg-relative path part list.
    +        # pseudo-fs path
    +        fspath = self.zip_pre + zip_path
    +        if fspath.startswith(self.egg_root + os.sep):
    +            return fspath[len(self.egg_root) + 1 :].split(os.sep)
    +        raise AssertionError("%s is not a subpath of %s" % (fspath, self.egg_root))
    +
    +    @property
    +    def zipinfo(self):
    +        return self._zip_manifests.load(self.loader.archive)
    +
    +    def get_resource_filename(self, manager: ResourceManager, resource_name: str):
    +        if not self.egg_name:
    +            raise NotImplementedError(
    +                "resource_filename() only supported for .egg, not .zip"
    +            )
    +        # no need to lock for extraction, since we use temp names
    +        zip_path = self._resource_to_zip(resource_name)
    +        eagers = self._get_eager_resources()
    +        if '/'.join(self._parts(zip_path)) in eagers:
    +            for name in eagers:
    +                self._extract_resource(manager, self._eager_to_zip(name))
    +        return self._extract_resource(manager, zip_path)
    +
    +    @staticmethod
    +    def _get_date_and_size(zip_stat):
    +        size = zip_stat.file_size
    +        # ymdhms+wday, yday, dst
    +        date_time = zip_stat.date_time + (0, 0, -1)
    +        # 1980 offset already done
    +        timestamp = time.mktime(date_time)
    +        return timestamp, size
    +
    +    # FIXME: 'ZipProvider._extract_resource' is too complex (12)
    +    def _extract_resource(self, manager: ResourceManager, zip_path) -> str:  # noqa: C901
    +        if zip_path in self._index():
    +            for name in self._index()[zip_path]:
    +                last = self._extract_resource(manager, os.path.join(zip_path, name))
    +            # return the extracted directory name
    +            return os.path.dirname(last)
    +
    +        timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
    +
    +        if not WRITE_SUPPORT:
    +            raise OSError(
    +                '"os.rename" and "os.unlink" are not supported on this platform'
    +            )
    +        try:
    +            if not self.egg_name:
    +                raise OSError(
    +                    '"egg_name" is empty. This likely means no egg could be found from the "module_path".'
    +                )
    +            real_path = manager.get_cache_path(self.egg_name, self._parts(zip_path))
    +
    +            if self._is_current(real_path, zip_path):
    +                return real_path
    +
    +            outf, tmpnam = _mkstemp(
    +                ".$extract",
    +                dir=os.path.dirname(real_path),
    +            )
    +            os.write(outf, self.loader.get_data(zip_path))
    +            os.close(outf)
    +            utime(tmpnam, (timestamp, timestamp))
    +            manager.postprocess(tmpnam, real_path)
    +
    +            try:
    +                rename(tmpnam, real_path)
    +
    +            except OSError:
    +                if os.path.isfile(real_path):
    +                    if self._is_current(real_path, zip_path):
    +                        # the file became current since it was checked above,
    +                        #  so proceed.
    +                        return real_path
    +                    # Windows, del old file and retry
    +                    elif os.name == 'nt':
    +                        unlink(real_path)
    +                        rename(tmpnam, real_path)
    +                        return real_path
    +                raise
    +
    +        except OSError:
    +            # report a user-friendly error
    +            manager.extraction_error()
    +
    +        return real_path
    +
    +    def _is_current(self, file_path, zip_path):
    +        """
    +        Return True if the file_path is current for this zip_path
    +        """
    +        timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
    +        if not os.path.isfile(file_path):
    +            return False
    +        stat = os.stat(file_path)
    +        if stat.st_size != size or stat.st_mtime != timestamp:
    +            return False
    +        # check that the contents match
    +        zip_contents = self.loader.get_data(zip_path)
    +        with open(file_path, 'rb') as f:
    +            file_contents = f.read()
    +        return zip_contents == file_contents
    +
    +    def _get_eager_resources(self):
    +        if self.eagers is None:
    +            eagers = []
    +            for name in ('native_libs.txt', 'eager_resources.txt'):
    +                if self.has_metadata(name):
    +                    eagers.extend(self.get_metadata_lines(name))
    +            self.eagers = eagers
    +        return self.eagers
    +
    +    def _index(self):
    +        try:
    +            return self._dirindex
    +        except AttributeError:
    +            ind = {}
    +            for path in self.zipinfo:
    +                parts = path.split(os.sep)
    +                while parts:
    +                    parent = os.sep.join(parts[:-1])
    +                    if parent in ind:
    +                        ind[parent].append(parts[-1])
    +                        break
    +                    else:
    +                        ind[parent] = [parts.pop()]
    +            self._dirindex = ind
    +            return ind
    +
    +    def _has(self, fspath) -> bool:
    +        zip_path = self._zipinfo_name(fspath)
    +        return zip_path in self.zipinfo or zip_path in self._index()
    +
    +    def _isdir(self, fspath) -> bool:
    +        return self._zipinfo_name(fspath) in self._index()
    +
    +    def _listdir(self, fspath):
    +        return list(self._index().get(self._zipinfo_name(fspath), ()))
    +
    +    def _eager_to_zip(self, resource_name: str):
    +        return self._zipinfo_name(self._fn(self.egg_root, resource_name))
    +
    +    def _resource_to_zip(self, resource_name: str):
    +        return self._zipinfo_name(self._fn(self.module_path, resource_name))
    +
    +
    +register_loader_type(zipimport.zipimporter, ZipProvider)
    +
    +
    +class FileMetadata(EmptyProvider):
    +    """Metadata handler for standalone PKG-INFO files
    +
    +    Usage::
    +
    +        metadata = FileMetadata("/path/to/PKG-INFO")
    +
    +    This provider rejects all data and metadata requests except for PKG-INFO,
    +    which is treated as existing, and will be the contents of the file at
    +    the provided location.
    +    """
    +
    +    def __init__(self, path: StrPath):
    +        self.path = path
    +
    +    def _get_metadata_path(self, name):
    +        return self.path
    +
    +    def has_metadata(self, name: str) -> bool:
    +        return name == 'PKG-INFO' and os.path.isfile(self.path)
    +
    +    def get_metadata(self, name: str):
    +        if name != 'PKG-INFO':
    +            raise KeyError("No metadata except PKG-INFO is available")
    +
    +        with open(self.path, encoding='utf-8', errors="replace") as f:
    +            metadata = f.read()
    +        self._warn_on_replacement(metadata)
    +        return metadata
    +
    +    def _warn_on_replacement(self, metadata):
    +        replacement_char = '�'
    +        if replacement_char in metadata:
    +            tmpl = "{self.path} could not be properly decoded in UTF-8"
    +            msg = tmpl.format(**locals())
    +            warnings.warn(msg)
    +
    +    def get_metadata_lines(self, name: str) -> Iterator[str]:
    +        return yield_lines(self.get_metadata(name))
    +
    +
    +class PathMetadata(DefaultProvider):
    +    """Metadata provider for egg directories
    +
    +    Usage::
    +
    +        # Development eggs:
    +
    +        egg_info = "/path/to/PackageName.egg-info"
    +        base_dir = os.path.dirname(egg_info)
    +        metadata = PathMetadata(base_dir, egg_info)
    +        dist_name = os.path.splitext(os.path.basename(egg_info))[0]
    +        dist = Distribution(basedir, project_name=dist_name, metadata=metadata)
    +
    +        # Unpacked egg directories:
    +
    +        egg_path = "/path/to/PackageName-ver-pyver-etc.egg"
    +        metadata = PathMetadata(egg_path, os.path.join(egg_path,'EGG-INFO'))
    +        dist = Distribution.from_filename(egg_path, metadata=metadata)
    +    """
    +
    +    def __init__(self, path: str, egg_info: str):
    +        self.module_path = path
    +        self.egg_info = egg_info
    +
    +
    +class EggMetadata(ZipProvider):
    +    """Metadata provider for .egg files"""
    +
    +    def __init__(self, importer: zipimport.zipimporter):
    +        """Create a metadata provider from a zipimporter"""
    +
    +        self.zip_pre = importer.archive + os.sep
    +        self.loader = importer
    +        if importer.prefix:
    +            self.module_path = os.path.join(importer.archive, importer.prefix)
    +        else:
    +            self.module_path = importer.archive
    +        self._setup_prefix()
    +
    +
    +_distribution_finders: dict[type, _DistFinderType[Any]] = _declare_state(
    +    'dict', '_distribution_finders', {}
    +)
    +
    +
    +def register_finder(importer_type: type[_T], distribution_finder: _DistFinderType[_T]):
    +    """Register `distribution_finder` to find distributions in sys.path items
    +
    +    `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
    +    handler), and `distribution_finder` is a callable that, passed a path
    +    item and the importer instance, yields ``Distribution`` instances found on
    +    that path item.  See ``pkg_resources.find_on_path`` for an example."""
    +    _distribution_finders[importer_type] = distribution_finder
    +
    +
    +def find_distributions(path_item: str, only: bool = False):
    +    """Yield distributions accessible via `path_item`"""
    +    importer = get_importer(path_item)
    +    finder = _find_adapter(_distribution_finders, importer)
    +    return finder(importer, path_item, only)
    +
    +
    +def find_eggs_in_zip(
    +    importer: zipimport.zipimporter, path_item: str, only: bool = False
    +) -> Iterator[Distribution]:
    +    """
    +    Find eggs in zip files; possibly multiple nested eggs.
    +    """
    +    if importer.archive.endswith('.whl'):
    +        # wheels are not supported with this finder
    +        # they don't have PKG-INFO metadata, and won't ever contain eggs
    +        return
    +    metadata = EggMetadata(importer)
    +    if metadata.has_metadata('PKG-INFO'):
    +        yield Distribution.from_filename(path_item, metadata=metadata)
    +    if only:
    +        # don't yield nested distros
    +        return
    +    for subitem in metadata.resource_listdir(''):
    +        if _is_egg_path(subitem):
    +            subpath = os.path.join(path_item, subitem)
    +            dists = find_eggs_in_zip(zipimport.zipimporter(subpath), subpath)
    +            yield from dists
    +        elif subitem.lower().endswith(('.dist-info', '.egg-info')):
    +            subpath = os.path.join(path_item, subitem)
    +            submeta = EggMetadata(zipimport.zipimporter(subpath))
    +            submeta.egg_info = subpath
    +            yield Distribution.from_location(path_item, subitem, submeta)
    +
    +
    +register_finder(zipimport.zipimporter, find_eggs_in_zip)
    +
    +
    +def find_nothing(
    +    importer: object | None, path_item: str | None, only: bool | None = False
    +):
    +    return ()
    +
    +
    +register_finder(object, find_nothing)
    +
    +
    +def find_on_path(importer: object | None, path_item, only=False):
    +    """Yield distributions accessible on a sys.path directory"""
    +    path_item = _normalize_cached(path_item)
    +
    +    if _is_unpacked_egg(path_item):
    +        yield Distribution.from_filename(
    +            path_item,
    +            metadata=PathMetadata(path_item, os.path.join(path_item, 'EGG-INFO')),
    +        )
    +        return
    +
    +    entries = (os.path.join(path_item, child) for child in safe_listdir(path_item))
    +
    +    # scan for .egg and .egg-info in directory
    +    for entry in sorted(entries):
    +        fullpath = os.path.join(path_item, entry)
    +        factory = dist_factory(path_item, entry, only)
    +        yield from factory(fullpath)
    +
    +
    +def dist_factory(path_item, entry, only):
    +    """Return a dist_factory for the given entry."""
    +    lower = entry.lower()
    +    is_egg_info = lower.endswith('.egg-info')
    +    is_dist_info = lower.endswith('.dist-info') and os.path.isdir(
    +        os.path.join(path_item, entry)
    +    )
    +    is_meta = is_egg_info or is_dist_info
    +    return (
    +        distributions_from_metadata
    +        if is_meta
    +        else find_distributions
    +        if not only and _is_egg_path(entry)
    +        else resolve_egg_link
    +        if not only and lower.endswith('.egg-link')
    +        else NoDists()
    +    )
    +
    +
    +class NoDists:
    +    """
    +    >>> bool(NoDists())
    +    False
    +
    +    >>> list(NoDists()('anything'))
    +    []
    +    """
    +
    +    def __bool__(self):
    +        return False
    +
    +    def __call__(self, fullpath):
    +        return iter(())
    +
    +
    +def safe_listdir(path: StrOrBytesPath):
    +    """
    +    Attempt to list contents of path, but suppress some exceptions.
    +    """
    +    try:
    +        return os.listdir(path)
    +    except (PermissionError, NotADirectoryError):
    +        pass
    +    except OSError as e:
    +        # Ignore the directory if does not exist, not a directory or
    +        # permission denied
    +        if e.errno not in (errno.ENOTDIR, errno.EACCES, errno.ENOENT):
    +            raise
    +    return ()
    +
    +
    +def distributions_from_metadata(path: str):
    +    root = os.path.dirname(path)
    +    if os.path.isdir(path):
    +        if len(os.listdir(path)) == 0:
    +            # empty metadata dir; skip
    +            return
    +        metadata: _MetadataType = PathMetadata(root, path)
    +    else:
    +        metadata = FileMetadata(path)
    +    entry = os.path.basename(path)
    +    yield Distribution.from_location(
    +        root,
    +        entry,
    +        metadata,
    +        precedence=DEVELOP_DIST,
    +    )
    +
    +
    +def non_empty_lines(path):
    +    """
    +    Yield non-empty lines from file at path
    +    """
    +    for line in _read_utf8_with_fallback(path).splitlines():
    +        line = line.strip()
    +        if line:
    +            yield line
    +
    +
    +def resolve_egg_link(path):
    +    """
    +    Given a path to an .egg-link, resolve distributions
    +    present in the referenced path.
    +    """
    +    referenced_paths = non_empty_lines(path)
    +    resolved_paths = (
    +        os.path.join(os.path.dirname(path), ref) for ref in referenced_paths
    +    )
    +    dist_groups = map(find_distributions, resolved_paths)
    +    return next(dist_groups, ())
    +
    +
    +if hasattr(pkgutil, 'ImpImporter'):
    +    register_finder(pkgutil.ImpImporter, find_on_path)
    +
    +register_finder(importlib.machinery.FileFinder, find_on_path)
    +
    +_namespace_handlers: dict[type, _NSHandlerType[Any]] = _declare_state(
    +    'dict', '_namespace_handlers', {}
    +)
    +_namespace_packages: dict[str | None, list[str]] = _declare_state(
    +    'dict', '_namespace_packages', {}
    +)
    +
    +
    +def register_namespace_handler(
    +    importer_type: type[_T], namespace_handler: _NSHandlerType[_T]
    +):
    +    """Register `namespace_handler` to declare namespace packages
    +
    +    `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
    +    handler), and `namespace_handler` is a callable like this::
    +
    +        def namespace_handler(importer, path_entry, moduleName, module):
    +            # return a path_entry to use for child packages
    +
    +    Namespace handlers are only called if the importer object has already
    +    agreed that it can handle the relevant path item, and they should only
    +    return a subpath if the module __path__ does not already contain an
    +    equivalent subpath.  For an example namespace handler, see
    +    ``pkg_resources.file_ns_handler``.
    +    """
    +    _namespace_handlers[importer_type] = namespace_handler
    +
    +
    +def _handle_ns(packageName, path_item):
    +    """Ensure that named package includes a subpath of path_item (if needed)"""
    +
    +    importer = get_importer(path_item)
    +    if importer is None:
    +        return None
    +
    +    # use find_spec (PEP 451) and fall-back to find_module (PEP 302)
    +    try:
    +        spec = importer.find_spec(packageName)
    +    except AttributeError:
    +        # capture warnings due to #1111
    +        with warnings.catch_warnings():
    +            warnings.simplefilter("ignore")
    +            loader = importer.find_module(packageName)
    +    else:
    +        loader = spec.loader if spec else None
    +
    +    if loader is None:
    +        return None
    +    module = sys.modules.get(packageName)
    +    if module is None:
    +        module = sys.modules[packageName] = types.ModuleType(packageName)
    +        module.__path__ = []
    +        _set_parent_ns(packageName)
    +    elif not hasattr(module, '__path__'):
    +        raise TypeError("Not a package:", packageName)
    +    handler = _find_adapter(_namespace_handlers, importer)
    +    subpath = handler(importer, path_item, packageName, module)
    +    if subpath is not None:
    +        path = module.__path__
    +        path.append(subpath)
    +        importlib.import_module(packageName)
    +        _rebuild_mod_path(path, packageName, module)
    +    return subpath
    +
    +
    +def _rebuild_mod_path(orig_path, package_name, module: types.ModuleType):
    +    """
    +    Rebuild module.__path__ ensuring that all entries are ordered
    +    corresponding to their sys.path order
    +    """
    +    sys_path = [_normalize_cached(p) for p in sys.path]
    +
    +    def safe_sys_path_index(entry):
    +        """
    +        Workaround for #520 and #513.
    +        """
    +        try:
    +            return sys_path.index(entry)
    +        except ValueError:
    +            return float('inf')
    +
    +    def position_in_sys_path(path):
    +        """
    +        Return the ordinal of the path based on its position in sys.path
    +        """
    +        path_parts = path.split(os.sep)
    +        module_parts = package_name.count('.') + 1
    +        parts = path_parts[:-module_parts]
    +        return safe_sys_path_index(_normalize_cached(os.sep.join(parts)))
    +
    +    new_path = sorted(orig_path, key=position_in_sys_path)
    +    new_path = [_normalize_cached(p) for p in new_path]
    +
    +    if isinstance(module.__path__, list):
    +        module.__path__[:] = new_path
    +    else:
    +        module.__path__ = new_path
    +
    +
    +def declare_namespace(packageName: str):
    +    """Declare that package 'packageName' is a namespace package"""
    +
    +    msg = (
    +        f"Deprecated call to `pkg_resources.declare_namespace({packageName!r})`.\n"
    +        "Implementing implicit namespace packages (as specified in PEP 420) "
    +        "is preferred to `pkg_resources.declare_namespace`. "
    +        "See https://setuptools.pypa.io/en/latest/references/"
    +        "keywords.html#keyword-namespace-packages"
    +    )
    +    warnings.warn(msg, DeprecationWarning, stacklevel=2)
    +
    +    _imp.acquire_lock()
    +    try:
    +        if packageName in _namespace_packages:
    +            return
    +
    +        path: MutableSequence[str] = sys.path
    +        parent, _, _ = packageName.rpartition('.')
    +
    +        if parent:
    +            declare_namespace(parent)
    +            if parent not in _namespace_packages:
    +                __import__(parent)
    +            try:
    +                path = sys.modules[parent].__path__
    +            except AttributeError as e:
    +                raise TypeError("Not a package:", parent) from e
    +
    +        # Track what packages are namespaces, so when new path items are added,
    +        # they can be updated
    +        _namespace_packages.setdefault(parent or None, []).append(packageName)
    +        _namespace_packages.setdefault(packageName, [])
    +
    +        for path_item in path:
    +            # Ensure all the parent's path items are reflected in the child,
    +            # if they apply
    +            _handle_ns(packageName, path_item)
    +
    +    finally:
    +        _imp.release_lock()
    +
    +
    +def fixup_namespace_packages(path_item: str, parent: str | None = None):
    +    """Ensure that previously-declared namespace packages include path_item"""
    +    _imp.acquire_lock()
    +    try:
    +        for package in _namespace_packages.get(parent, ()):
    +            subpath = _handle_ns(package, path_item)
    +            if subpath:
    +                fixup_namespace_packages(subpath, package)
    +    finally:
    +        _imp.release_lock()
    +
    +
    +def file_ns_handler(
    +    importer: object,
    +    path_item: StrPath,
    +    packageName: str,
    +    module: types.ModuleType,
    +):
    +    """Compute an ns-package subpath for a filesystem or zipfile importer"""
    +
    +    subpath = os.path.join(path_item, packageName.split('.')[-1])
    +    normalized = _normalize_cached(subpath)
    +    for item in module.__path__:
    +        if _normalize_cached(item) == normalized:
    +            break
    +    else:
    +        # Only return the path if it's not already there
    +        return subpath
    +
    +
    +if hasattr(pkgutil, 'ImpImporter'):
    +    register_namespace_handler(pkgutil.ImpImporter, file_ns_handler)
    +
    +register_namespace_handler(zipimport.zipimporter, file_ns_handler)
    +register_namespace_handler(importlib.machinery.FileFinder, file_ns_handler)
    +
    +
    +def null_ns_handler(
    +    importer: object,
    +    path_item: str | None,
    +    packageName: str | None,
    +    module: _ModuleLike | None,
    +):
    +    return None
    +
    +
    +register_namespace_handler(object, null_ns_handler)
    +
    +
    +@overload
    +def normalize_path(filename: StrPath) -> str: ...
    +@overload
    +def normalize_path(filename: BytesPath) -> bytes: ...
    +def normalize_path(filename: StrOrBytesPath):
    +    """Normalize a file/dir name for comparison purposes"""
    +    return os.path.normcase(os.path.realpath(os.path.normpath(_cygwin_patch(filename))))
    +
    +
    +def _cygwin_patch(filename: StrOrBytesPath):  # pragma: nocover
    +    """
    +    Contrary to POSIX 2008, on Cygwin, getcwd (3) contains
    +    symlink components. Using
    +    os.path.abspath() works around this limitation. A fix in os.getcwd()
    +    would probably better, in Cygwin even more so, except
    +    that this seems to be by design...
    +    """
    +    return os.path.abspath(filename) if sys.platform == 'cygwin' else filename
    +
    +
    +if TYPE_CHECKING:
    +    # https://github.com/python/mypy/issues/16261
    +    # https://github.com/python/typeshed/issues/6347
    +    @overload
    +    def _normalize_cached(filename: StrPath) -> str: ...
    +    @overload
    +    def _normalize_cached(filename: BytesPath) -> bytes: ...
    +    def _normalize_cached(filename: StrOrBytesPath) -> str | bytes: ...
    +else:
    +
    +    @functools.lru_cache(maxsize=None)
    +    def _normalize_cached(filename):
    +        return normalize_path(filename)
    +
    +
    +def _is_egg_path(path):
    +    """
    +    Determine if given path appears to be an egg.
    +    """
    +    return _is_zip_egg(path) or _is_unpacked_egg(path)
    +
    +
    +def _is_zip_egg(path):
    +    return (
    +        path.lower().endswith('.egg')
    +        and os.path.isfile(path)
    +        and zipfile.is_zipfile(path)
    +    )
    +
    +
    +def _is_unpacked_egg(path):
    +    """
    +    Determine if given path appears to be an unpacked egg.
    +    """
    +    return path.lower().endswith('.egg') and os.path.isfile(
    +        os.path.join(path, 'EGG-INFO', 'PKG-INFO')
    +    )
    +
    +
    +def _set_parent_ns(packageName):
    +    parts = packageName.split('.')
    +    name = parts.pop()
    +    if parts:
    +        parent = '.'.join(parts)
    +        setattr(sys.modules[parent], name, sys.modules[packageName])
    +
    +
    +MODULE = re.compile(r"\w+(\.\w+)*$").match
    +EGG_NAME = re.compile(
    +    r"""
    +    (?P[^-]+) (
    +        -(?P[^-]+) (
    +            -py(?P[^-]+) (
    +                -(?P.+)
    +            )?
    +        )?
    +    )?
    +    """,
    +    re.VERBOSE | re.IGNORECASE,
    +).match
    +
    +
    +class EntryPoint:
    +    """Object representing an advertised importable object"""
    +
    +    def __init__(
    +        self,
    +        name: str,
    +        module_name: str,
    +        attrs: Iterable[str] = (),
    +        extras: Iterable[str] = (),
    +        dist: Distribution | None = None,
    +    ):
    +        if not MODULE(module_name):
    +            raise ValueError("Invalid module name", module_name)
    +        self.name = name
    +        self.module_name = module_name
    +        self.attrs = tuple(attrs)
    +        self.extras = tuple(extras)
    +        self.dist = dist
    +
    +    def __str__(self):
    +        s = "%s = %s" % (self.name, self.module_name)
    +        if self.attrs:
    +            s += ':' + '.'.join(self.attrs)
    +        if self.extras:
    +            s += ' [%s]' % ','.join(self.extras)
    +        return s
    +
    +    def __repr__(self):
    +        return "EntryPoint.parse(%r)" % str(self)
    +
    +    @overload
    +    def load(
    +        self,
    +        require: Literal[True] = True,
    +        env: Environment | None = None,
    +        installer: _InstallerType | None = None,
    +    ) -> _ResolvedEntryPoint: ...
    +    @overload
    +    def load(
    +        self,
    +        require: Literal[False],
    +        *args: Any,
    +        **kwargs: Any,
    +    ) -> _ResolvedEntryPoint: ...
    +    def load(
    +        self,
    +        require: bool = True,
    +        *args: Environment | _InstallerType | None,
    +        **kwargs: Environment | _InstallerType | None,
    +    ) -> _ResolvedEntryPoint:
    +        """
    +        Require packages for this EntryPoint, then resolve it.
    +        """
    +        if not require or args or kwargs:
    +            warnings.warn(
    +                "Parameters to load are deprecated.  Call .resolve and "
    +                ".require separately.",
    +                PkgResourcesDeprecationWarning,
    +                stacklevel=2,
    +            )
    +        if require:
    +            # We could pass `env` and `installer` directly,
    +            # but keeping `*args` and `**kwargs` for backwards compatibility
    +            self.require(*args, **kwargs)  # type: ignore
    +        return self.resolve()
    +
    +    def resolve(self) -> _ResolvedEntryPoint:
    +        """
    +        Resolve the entry point from its module and attrs.
    +        """
    +        module = __import__(self.module_name, fromlist=['__name__'], level=0)
    +        try:
    +            return functools.reduce(getattr, self.attrs, module)
    +        except AttributeError as exc:
    +            raise ImportError(str(exc)) from exc
    +
    +    def require(
    +        self,
    +        env: Environment | None = None,
    +        installer: _InstallerType | None = None,
    +    ):
    +        if not self.dist:
    +            error_cls = UnknownExtra if self.extras else AttributeError
    +            raise error_cls("Can't require() without a distribution", self)
    +
    +        # Get the requirements for this entry point with all its extras and
    +        # then resolve them. We have to pass `extras` along when resolving so
    +        # that the working set knows what extras we want. Otherwise, for
    +        # dist-info distributions, the working set will assume that the
    +        # requirements for that extra are purely optional and skip over them.
    +        reqs = self.dist.requires(self.extras)
    +        items = working_set.resolve(reqs, env, installer, extras=self.extras)
    +        list(map(working_set.add, items))
    +
    +    pattern = re.compile(
    +        r'\s*'
    +        r'(?P.+?)\s*'
    +        r'=\s*'
    +        r'(?P[\w.]+)\s*'
    +        r'(:\s*(?P[\w.]+))?\s*'
    +        r'(?P\[.*\])?\s*$'
    +    )
    +
    +    @classmethod
    +    def parse(cls, src: str, dist: Distribution | None = None):
    +        """Parse a single entry point from string `src`
    +
    +        Entry point syntax follows the form::
    +
    +            name = some.module:some.attr [extra1, extra2]
    +
    +        The entry name and module name are required, but the ``:attrs`` and
    +        ``[extras]`` parts are optional
    +        """
    +        m = cls.pattern.match(src)
    +        if not m:
    +            msg = "EntryPoint must be in 'name=module:attrs [extras]' format"
    +            raise ValueError(msg, src)
    +        res = m.groupdict()
    +        extras = cls._parse_extras(res['extras'])
    +        attrs = res['attr'].split('.') if res['attr'] else ()
    +        return cls(res['name'], res['module'], attrs, extras, dist)
    +
    +    @classmethod
    +    def _parse_extras(cls, extras_spec):
    +        if not extras_spec:
    +            return ()
    +        req = Requirement.parse('x' + extras_spec)
    +        if req.specs:
    +            raise ValueError
    +        return req.extras
    +
    +    @classmethod
    +    def parse_group(
    +        cls,
    +        group: str,
    +        lines: _NestedStr,
    +        dist: Distribution | None = None,
    +    ):
    +        """Parse an entry point group"""
    +        if not MODULE(group):
    +            raise ValueError("Invalid group name", group)
    +        this: dict[str, Self] = {}
    +        for line in yield_lines(lines):
    +            ep = cls.parse(line, dist)
    +            if ep.name in this:
    +                raise ValueError("Duplicate entry point", group, ep.name)
    +            this[ep.name] = ep
    +        return this
    +
    +    @classmethod
    +    def parse_map(
    +        cls,
    +        data: str | Iterable[str] | dict[str, str | Iterable[str]],
    +        dist: Distribution | None = None,
    +    ):
    +        """Parse a map of entry point groups"""
    +        _data: Iterable[tuple[str | None, str | Iterable[str]]]
    +        if isinstance(data, dict):
    +            _data = data.items()
    +        else:
    +            _data = split_sections(data)
    +        maps: dict[str, dict[str, Self]] = {}
    +        for group, lines in _data:
    +            if group is None:
    +                if not lines:
    +                    continue
    +                raise ValueError("Entry points must be listed in groups")
    +            group = group.strip()
    +            if group in maps:
    +                raise ValueError("Duplicate group name", group)
    +            maps[group] = cls.parse_group(group, lines, dist)
    +        return maps
    +
    +
    +def _version_from_file(lines):
    +    """
    +    Given an iterable of lines from a Metadata file, return
    +    the value of the Version field, if present, or None otherwise.
    +    """
    +
    +    def is_version_line(line):
    +        return line.lower().startswith('version:')
    +
    +    version_lines = filter(is_version_line, lines)
    +    line = next(iter(version_lines), '')
    +    _, _, value = line.partition(':')
    +    return safe_version(value.strip()) or None
    +
    +
    +class Distribution:
    +    """Wrap an actual or potential sys.path entry w/metadata"""
    +
    +    PKG_INFO = 'PKG-INFO'
    +
    +    def __init__(
    +        self,
    +        location: str | None = None,
    +        metadata: _MetadataType = None,
    +        project_name: str | None = None,
    +        version: str | None = None,
    +        py_version: str | None = PY_MAJOR,
    +        platform: str | None = None,
    +        precedence: int = EGG_DIST,
    +    ):
    +        self.project_name = safe_name(project_name or 'Unknown')
    +        if version is not None:
    +            self._version = safe_version(version)
    +        self.py_version = py_version
    +        self.platform = platform
    +        self.location = location
    +        self.precedence = precedence
    +        self._provider = metadata or empty_provider
    +
    +    @classmethod
    +    def from_location(
    +        cls,
    +        location: str,
    +        basename: StrPath,
    +        metadata: _MetadataType = None,
    +        **kw: int,  # We could set `precedence` explicitly, but keeping this as `**kw` for full backwards and subclassing compatibility
    +    ) -> Distribution:
    +        project_name, version, py_version, platform = [None] * 4
    +        basename, ext = os.path.splitext(basename)
    +        if ext.lower() in _distributionImpl:
    +            cls = _distributionImpl[ext.lower()]
    +
    +            match = EGG_NAME(basename)
    +            if match:
    +                project_name, version, py_version, platform = match.group(
    +                    'name', 'ver', 'pyver', 'plat'
    +                )
    +        return cls(
    +            location,
    +            metadata,
    +            project_name=project_name,
    +            version=version,
    +            py_version=py_version,
    +            platform=platform,
    +            **kw,
    +        )._reload_version()
    +
    +    def _reload_version(self):
    +        return self
    +
    +    @property
    +    def hashcmp(self):
    +        return (
    +            self._forgiving_parsed_version,
    +            self.precedence,
    +            self.key,
    +            self.location,
    +            self.py_version or '',
    +            self.platform or '',
    +        )
    +
    +    def __hash__(self):
    +        return hash(self.hashcmp)
    +
    +    def __lt__(self, other: Distribution):
    +        return self.hashcmp < other.hashcmp
    +
    +    def __le__(self, other: Distribution):
    +        return self.hashcmp <= other.hashcmp
    +
    +    def __gt__(self, other: Distribution):
    +        return self.hashcmp > other.hashcmp
    +
    +    def __ge__(self, other: Distribution):
    +        return self.hashcmp >= other.hashcmp
    +
    +    def __eq__(self, other: object):
    +        if not isinstance(other, self.__class__):
    +            # It's not a Distribution, so they are not equal
    +            return False
    +        return self.hashcmp == other.hashcmp
    +
    +    def __ne__(self, other: object):
    +        return not self == other
    +
    +    # These properties have to be lazy so that we don't have to load any
    +    # metadata until/unless it's actually needed.  (i.e., some distributions
    +    # may not know their name or version without loading PKG-INFO)
    +
    +    @property
    +    def key(self):
    +        try:
    +            return self._key
    +        except AttributeError:
    +            self._key = key = self.project_name.lower()
    +            return key
    +
    +    @property
    +    def parsed_version(self):
    +        if not hasattr(self, "_parsed_version"):
    +            try:
    +                self._parsed_version = parse_version(self.version)
    +            except _packaging_version.InvalidVersion as ex:
    +                info = f"(package: {self.project_name})"
    +                if hasattr(ex, "add_note"):
    +                    ex.add_note(info)  # PEP 678
    +                    raise
    +                raise _packaging_version.InvalidVersion(f"{str(ex)} {info}") from None
    +
    +        return self._parsed_version
    +
    +    @property
    +    def _forgiving_parsed_version(self):
    +        try:
    +            return self.parsed_version
    +        except _packaging_version.InvalidVersion as ex:
    +            self._parsed_version = parse_version(_forgiving_version(self.version))
    +
    +            notes = "\n".join(getattr(ex, "__notes__", []))  # PEP 678
    +            msg = f"""!!\n\n
    +            *************************************************************************
    +            {str(ex)}\n{notes}
    +
    +            This is a long overdue deprecation.
    +            For the time being, `pkg_resources` will use `{self._parsed_version}`
    +            as a replacement to avoid breaking existing environments,
    +            but no future compatibility is guaranteed.
    +
    +            If you maintain package {self.project_name} you should implement
    +            the relevant changes to adequate the project to PEP 440 immediately.
    +            *************************************************************************
    +            \n\n!!
    +            """
    +            warnings.warn(msg, DeprecationWarning)
    +
    +            return self._parsed_version
    +
    +    @property
    +    def version(self):
    +        try:
    +            return self._version
    +        except AttributeError as e:
    +            version = self._get_version()
    +            if version is None:
    +                path = self._get_metadata_path_for_display(self.PKG_INFO)
    +                msg = ("Missing 'Version:' header and/or {} file at path: {}").format(
    +                    self.PKG_INFO, path
    +                )
    +                raise ValueError(msg, self) from e
    +
    +            return version
    +
    +    @property
    +    def _dep_map(self):
    +        """
    +        A map of extra to its list of (direct) requirements
    +        for this distribution, including the null extra.
    +        """
    +        try:
    +            return self.__dep_map
    +        except AttributeError:
    +            self.__dep_map = self._filter_extras(self._build_dep_map())
    +        return self.__dep_map
    +
    +    @staticmethod
    +    def _filter_extras(dm: dict[str | None, list[Requirement]]):
    +        """
    +        Given a mapping of extras to dependencies, strip off
    +        environment markers and filter out any dependencies
    +        not matching the markers.
    +        """
    +        for extra in list(filter(None, dm)):
    +            new_extra: str | None = extra
    +            reqs = dm.pop(extra)
    +            new_extra, _, marker = extra.partition(':')
    +            fails_marker = marker and (
    +                invalid_marker(marker) or not evaluate_marker(marker)
    +            )
    +            if fails_marker:
    +                reqs = []
    +            new_extra = safe_extra(new_extra) or None
    +
    +            dm.setdefault(new_extra, []).extend(reqs)
    +        return dm
    +
    +    def _build_dep_map(self):
    +        dm = {}
    +        for name in 'requires.txt', 'depends.txt':
    +            for extra, reqs in split_sections(self._get_metadata(name)):
    +                dm.setdefault(extra, []).extend(parse_requirements(reqs))
    +        return dm
    +
    +    def requires(self, extras: Iterable[str] = ()):
    +        """List of Requirements needed for this distro if `extras` are used"""
    +        dm = self._dep_map
    +        deps: list[Requirement] = []
    +        deps.extend(dm.get(None, ()))
    +        for ext in extras:
    +            try:
    +                deps.extend(dm[safe_extra(ext)])
    +            except KeyError as e:
    +                raise UnknownExtra(
    +                    "%s has no such extra feature %r" % (self, ext)
    +                ) from e
    +        return deps
    +
    +    def _get_metadata_path_for_display(self, name):
    +        """
    +        Return the path to the given metadata file, if available.
    +        """
    +        try:
    +            # We need to access _get_metadata_path() on the provider object
    +            # directly rather than through this class's __getattr__()
    +            # since _get_metadata_path() is marked private.
    +            path = self._provider._get_metadata_path(name)
    +
    +        # Handle exceptions e.g. in case the distribution's metadata
    +        # provider doesn't support _get_metadata_path().
    +        except Exception:
    +            return '[could not detect]'
    +
    +        return path
    +
    +    def _get_metadata(self, name):
    +        if self.has_metadata(name):
    +            yield from self.get_metadata_lines(name)
    +
    +    def _get_version(self):
    +        lines = self._get_metadata(self.PKG_INFO)
    +        return _version_from_file(lines)
    +
    +    def activate(self, path: list[str] | None = None, replace: bool = False):
    +        """Ensure distribution is importable on `path` (default=sys.path)"""
    +        if path is None:
    +            path = sys.path
    +        self.insert_on(path, replace=replace)
    +        if path is sys.path and self.location is not None:
    +            fixup_namespace_packages(self.location)
    +            for pkg in self._get_metadata('namespace_packages.txt'):
    +                if pkg in sys.modules:
    +                    declare_namespace(pkg)
    +
    +    def egg_name(self):
    +        """Return what this distribution's standard .egg filename should be"""
    +        filename = "%s-%s-py%s" % (
    +            to_filename(self.project_name),
    +            to_filename(self.version),
    +            self.py_version or PY_MAJOR,
    +        )
    +
    +        if self.platform:
    +            filename += '-' + self.platform
    +        return filename
    +
    +    def __repr__(self):
    +        if self.location:
    +            return "%s (%s)" % (self, self.location)
    +        else:
    +            return str(self)
    +
    +    def __str__(self):
    +        try:
    +            version = getattr(self, 'version', None)
    +        except ValueError:
    +            version = None
    +        version = version or "[unknown version]"
    +        return "%s %s" % (self.project_name, version)
    +
    +    def __getattr__(self, attr):
    +        """Delegate all unrecognized public attributes to .metadata provider"""
    +        if attr.startswith('_'):
    +            raise AttributeError(attr)
    +        return getattr(self._provider, attr)
    +
    +    def __dir__(self):
    +        return list(
    +            set(super().__dir__())
    +            | set(attr for attr in self._provider.__dir__() if not attr.startswith('_'))
    +        )
    +
    +    @classmethod
    +    def from_filename(
    +        cls,
    +        filename: StrPath,
    +        metadata: _MetadataType = None,
    +        **kw: int,  # We could set `precedence` explicitly, but keeping this as `**kw` for full backwards and subclassing compatibility
    +    ):
    +        return cls.from_location(
    +            _normalize_cached(filename), os.path.basename(filename), metadata, **kw
    +        )
    +
    +    def as_requirement(self):
    +        """Return a ``Requirement`` that matches this distribution exactly"""
    +        if isinstance(self.parsed_version, _packaging_version.Version):
    +            spec = "%s==%s" % (self.project_name, self.parsed_version)
    +        else:
    +            spec = "%s===%s" % (self.project_name, self.parsed_version)
    +
    +        return Requirement.parse(spec)
    +
    +    def load_entry_point(self, group: str, name: str) -> _ResolvedEntryPoint:
    +        """Return the `name` entry point of `group` or raise ImportError"""
    +        ep = self.get_entry_info(group, name)
    +        if ep is None:
    +            raise ImportError("Entry point %r not found" % ((group, name),))
    +        return ep.load()
    +
    +    @overload
    +    def get_entry_map(self, group: None = None) -> dict[str, dict[str, EntryPoint]]: ...
    +    @overload
    +    def get_entry_map(self, group: str) -> dict[str, EntryPoint]: ...
    +    def get_entry_map(self, group: str | None = None):
    +        """Return the entry point map for `group`, or the full entry map"""
    +        if not hasattr(self, "_ep_map"):
    +            self._ep_map = EntryPoint.parse_map(
    +                self._get_metadata('entry_points.txt'), self
    +            )
    +        if group is not None:
    +            return self._ep_map.get(group, {})
    +        return self._ep_map
    +
    +    def get_entry_info(self, group: str, name: str):
    +        """Return the EntryPoint object for `group`+`name`, or ``None``"""
    +        return self.get_entry_map(group).get(name)
    +
    +    # FIXME: 'Distribution.insert_on' is too complex (13)
    +    def insert_on(  # noqa: C901
    +        self,
    +        path: list[str],
    +        loc=None,
    +        replace: bool = False,
    +    ):
    +        """Ensure self.location is on path
    +
    +        If replace=False (default):
    +            - If location is already in path anywhere, do nothing.
    +            - Else:
    +              - If it's an egg and its parent directory is on path,
    +                insert just ahead of the parent.
    +              - Else: add to the end of path.
    +        If replace=True:
    +            - If location is already on path anywhere (not eggs)
    +              or higher priority than its parent (eggs)
    +              do nothing.
    +            - Else:
    +              - If it's an egg and its parent directory is on path,
    +                insert just ahead of the parent,
    +                removing any lower-priority entries.
    +              - Else: add it to the front of path.
    +        """
    +
    +        loc = loc or self.location
    +        if not loc:
    +            return
    +
    +        nloc = _normalize_cached(loc)
    +        bdir = os.path.dirname(nloc)
    +        npath = [(p and _normalize_cached(p) or p) for p in path]
    +
    +        for p, item in enumerate(npath):
    +            if item == nloc:
    +                if replace:
    +                    break
    +                else:
    +                    # don't modify path (even removing duplicates) if
    +                    # found and not replace
    +                    return
    +            elif item == bdir and self.precedence == EGG_DIST:
    +                # if it's an .egg, give it precedence over its directory
    +                # UNLESS it's already been added to sys.path and replace=False
    +                if (not replace) and nloc in npath[p:]:
    +                    return
    +                if path is sys.path:
    +                    self.check_version_conflict()
    +                path.insert(p, loc)
    +                npath.insert(p, nloc)
    +                break
    +        else:
    +            if path is sys.path:
    +                self.check_version_conflict()
    +            if replace:
    +                path.insert(0, loc)
    +            else:
    +                path.append(loc)
    +            return
    +
    +        # p is the spot where we found or inserted loc; now remove duplicates
    +        while True:
    +            try:
    +                np = npath.index(nloc, p + 1)
    +            except ValueError:
    +                break
    +            else:
    +                del npath[np], path[np]
    +                # ha!
    +                p = np
    +
    +        return
    +
    +    def check_version_conflict(self):
    +        if self.key == 'setuptools':
    +            # ignore the inevitable setuptools self-conflicts  :(
    +            return
    +
    +        nsp = dict.fromkeys(self._get_metadata('namespace_packages.txt'))
    +        loc = normalize_path(self.location)
    +        for modname in self._get_metadata('top_level.txt'):
    +            if (
    +                modname not in sys.modules
    +                or modname in nsp
    +                or modname in _namespace_packages
    +            ):
    +                continue
    +            if modname in ('pkg_resources', 'setuptools', 'site'):
    +                continue
    +            fn = getattr(sys.modules[modname], '__file__', None)
    +            if fn and (
    +                normalize_path(fn).startswith(loc) or fn.startswith(self.location)
    +            ):
    +                continue
    +            issue_warning(
    +                "Module %s was already imported from %s, but %s is being added"
    +                " to sys.path" % (modname, fn, self.location),
    +            )
    +
    +    def has_version(self):
    +        try:
    +            self.version
    +        except ValueError:
    +            issue_warning("Unbuilt egg for " + repr(self))
    +            return False
    +        except SystemError:
    +            # TODO: remove this except clause when python/cpython#103632 is fixed.
    +            return False
    +        return True
    +
    +    def clone(self, **kw: str | int | IResourceProvider | None):
    +        """Copy this distribution, substituting in any changed keyword args"""
    +        names = 'project_name version py_version platform location precedence'
    +        for attr in names.split():
    +            kw.setdefault(attr, getattr(self, attr, None))
    +        kw.setdefault('metadata', self._provider)
    +        # Unsafely unpacking. But keeping **kw for backwards and subclassing compatibility
    +        return self.__class__(**kw)  # type:ignore[arg-type]
    +
    +    @property
    +    def extras(self):
    +        return [dep for dep in self._dep_map if dep]
    +
    +
    +class EggInfoDistribution(Distribution):
    +    def _reload_version(self):
    +        """
    +        Packages installed by distutils (e.g. numpy or scipy),
    +        which uses an old safe_version, and so
    +        their version numbers can get mangled when
    +        converted to filenames (e.g., 1.11.0.dev0+2329eae to
    +        1.11.0.dev0_2329eae). These distributions will not be
    +        parsed properly
    +        downstream by Distribution and safe_version, so
    +        take an extra step and try to get the version number from
    +        the metadata file itself instead of the filename.
    +        """
    +        md_version = self._get_version()
    +        if md_version:
    +            self._version = md_version
    +        return self
    +
    +
    +class DistInfoDistribution(Distribution):
    +    """
    +    Wrap an actual or potential sys.path entry
    +    w/metadata, .dist-info style.
    +    """
    +
    +    PKG_INFO = 'METADATA'
    +    EQEQ = re.compile(r"([\(,])\s*(\d.*?)\s*([,\)])")
    +
    +    @property
    +    def _parsed_pkg_info(self):
    +        """Parse and cache metadata"""
    +        try:
    +            return self._pkg_info
    +        except AttributeError:
    +            metadata = self.get_metadata(self.PKG_INFO)
    +            self._pkg_info = email.parser.Parser().parsestr(metadata)
    +            return self._pkg_info
    +
    +    @property
    +    def _dep_map(self):
    +        try:
    +            return self.__dep_map
    +        except AttributeError:
    +            self.__dep_map = self._compute_dependencies()
    +            return self.__dep_map
    +
    +    def _compute_dependencies(self) -> dict[str | None, list[Requirement]]:
    +        """Recompute this distribution's dependencies."""
    +        self.__dep_map: dict[str | None, list[Requirement]] = {None: []}
    +
    +        reqs: list[Requirement] = []
    +        # Including any condition expressions
    +        for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
    +            reqs.extend(parse_requirements(req))
    +
    +        def reqs_for_extra(extra):
    +            for req in reqs:
    +                if not req.marker or req.marker.evaluate({'extra': extra}):
    +                    yield req
    +
    +        common = types.MappingProxyType(dict.fromkeys(reqs_for_extra(None)))
    +        self.__dep_map[None].extend(common)
    +
    +        for extra in self._parsed_pkg_info.get_all('Provides-Extra') or []:
    +            s_extra = safe_extra(extra.strip())
    +            self.__dep_map[s_extra] = [
    +                r for r in reqs_for_extra(extra) if r not in common
    +            ]
    +
    +        return self.__dep_map
    +
    +
    +_distributionImpl = {
    +    '.egg': Distribution,
    +    '.egg-info': EggInfoDistribution,
    +    '.dist-info': DistInfoDistribution,
    +}
    +
    +
    +def issue_warning(*args, **kw):
    +    level = 1
    +    g = globals()
    +    try:
    +        # find the first stack frame that is *not* code in
    +        # the pkg_resources module, to use for the warning
    +        while sys._getframe(level).f_globals is g:
    +            level += 1
    +    except ValueError:
    +        pass
    +    warnings.warn(stacklevel=level + 1, *args, **kw)
    +
    +
    +def parse_requirements(strs: _NestedStr):
    +    """
    +    Yield ``Requirement`` objects for each specification in `strs`.
    +
    +    `strs` must be a string, or a (possibly-nested) iterable thereof.
    +    """
    +    return map(Requirement, join_continuation(map(drop_comment, yield_lines(strs))))
    +
    +
    +class RequirementParseError(_packaging_requirements.InvalidRequirement):
    +    "Compatibility wrapper for InvalidRequirement"
    +
    +
    +class Requirement(_packaging_requirements.Requirement):
    +    def __init__(self, requirement_string: str):
    +        """DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!"""
    +        super().__init__(requirement_string)
    +        self.unsafe_name = self.name
    +        project_name = safe_name(self.name)
    +        self.project_name, self.key = project_name, project_name.lower()
    +        self.specs = [(spec.operator, spec.version) for spec in self.specifier]
    +        # packaging.requirements.Requirement uses a set for its extras. We use a variable-length tuple
    +        self.extras: tuple[str] = tuple(map(safe_extra, self.extras))
    +        self.hashCmp = (
    +            self.key,
    +            self.url,
    +            self.specifier,
    +            frozenset(self.extras),
    +            str(self.marker) if self.marker else None,
    +        )
    +        self.__hash = hash(self.hashCmp)
    +
    +    def __eq__(self, other: object):
    +        return isinstance(other, Requirement) and self.hashCmp == other.hashCmp
    +
    +    def __ne__(self, other):
    +        return not self == other
    +
    +    def __contains__(self, item: Distribution | str | tuple[str, ...]) -> bool:
    +        if isinstance(item, Distribution):
    +            if item.key != self.key:
    +                return False
    +
    +            item = item.version
    +
    +        # Allow prereleases always in order to match the previous behavior of
    +        # this method. In the future this should be smarter and follow PEP 440
    +        # more accurately.
    +        return self.specifier.contains(item, prereleases=True)
    +
    +    def __hash__(self):
    +        return self.__hash
    +
    +    def __repr__(self):
    +        return "Requirement.parse(%r)" % str(self)
    +
    +    @staticmethod
    +    def parse(s: str | Iterable[str]):
    +        (req,) = parse_requirements(s)
    +        return req
    +
    +
    +def _always_object(classes):
    +    """
    +    Ensure object appears in the mro even
    +    for old-style classes.
    +    """
    +    if object not in classes:
    +        return classes + (object,)
    +    return classes
    +
    +
    +def _find_adapter(registry: Mapping[type, _AdapterT], ob: object) -> _AdapterT:
    +    """Return an adapter factory for `ob` from `registry`"""
    +    types = _always_object(inspect.getmro(getattr(ob, '__class__', type(ob))))
    +    for t in types:
    +        if t in registry:
    +            return registry[t]
    +    # _find_adapter would previously return None, and immediately be called.
    +    # So we're raising a TypeError to keep backward compatibility if anyone depended on that behaviour.
    +    raise TypeError(f"Could not find adapter for {registry} and {ob}")
    +
    +
    +def ensure_directory(path: StrOrBytesPath):
    +    """Ensure that the parent directory of `path` exists"""
    +    dirname = os.path.dirname(path)
    +    os.makedirs(dirname, exist_ok=True)
    +
    +
    +def _bypass_ensure_directory(path):
    +    """Sandbox-bypassing version of ensure_directory()"""
    +    if not WRITE_SUPPORT:
    +        raise OSError('"os.mkdir" not supported on this platform.')
    +    dirname, filename = split(path)
    +    if dirname and filename and not isdir(dirname):
    +        _bypass_ensure_directory(dirname)
    +        try:
    +            mkdir(dirname, 0o755)
    +        except FileExistsError:
    +            pass
    +
    +
    +def split_sections(s: _NestedStr) -> Iterator[tuple[str | None, list[str]]]:
    +    """Split a string or iterable thereof into (section, content) pairs
    +
    +    Each ``section`` is a stripped version of the section header ("[section]")
    +    and each ``content`` is a list of stripped lines excluding blank lines and
    +    comment-only lines.  If there are any such lines before the first section
    +    header, they're returned in a first ``section`` of ``None``.
    +    """
    +    section = None
    +    content = []
    +    for line in yield_lines(s):
    +        if line.startswith("["):
    +            if line.endswith("]"):
    +                if section or content:
    +                    yield section, content
    +                section = line[1:-1].strip()
    +                content = []
    +            else:
    +                raise ValueError("Invalid section heading", line)
    +        else:
    +            content.append(line)
    +
    +    # wrap up last segment
    +    yield section, content
    +
    +
    +def _mkstemp(*args, **kw):
    +    old_open = os.open
    +    try:
    +        # temporarily bypass sandboxing
    +        os.open = os_open
    +        return tempfile.mkstemp(*args, **kw)
    +    finally:
    +        # and then put it back
    +        os.open = old_open
    +
    +
    +# Silence the PEP440Warning by default, so that end users don't get hit by it
    +# randomly just because they use pkg_resources. We want to append the rule
    +# because we want earlier uses of filterwarnings to take precedence over this
    +# one.
    +warnings.filterwarnings("ignore", category=PEP440Warning, append=True)
    +
    +
    +class PkgResourcesDeprecationWarning(Warning):
    +    """
    +    Base class for warning about deprecations in ``pkg_resources``
    +
    +    This class is not derived from ``DeprecationWarning``, and as such is
    +    visible by default.
    +    """
    +
    +
    +# Ported from ``setuptools`` to avoid introducing an import inter-dependency:
    +_LOCALE_ENCODING = "locale" if sys.version_info >= (3, 10) else None
    +
    +
    +def _read_utf8_with_fallback(file: str, fallback_encoding=_LOCALE_ENCODING) -> str:
    +    """See setuptools.unicode_utils._read_utf8_with_fallback"""
    +    try:
    +        with open(file, "r", encoding="utf-8") as f:
    +            return f.read()
    +    except UnicodeDecodeError:  # pragma: no cover
    +        msg = f"""\
    +        ********************************************************************************
    +        `encoding="utf-8"` fails with {file!r}, trying `encoding={fallback_encoding!r}`.
    +
    +        This fallback behaviour is considered **deprecated** and future versions of
    +        `setuptools/pkg_resources` may not implement it.
    +
    +        Please encode {file!r} with "utf-8" to ensure future builds will succeed.
    +
    +        If this file was produced by `setuptools` itself, cleaning up the cached files
    +        and re-building/re-installing the package with a newer version of `setuptools`
    +        (e.g. by updating `build-system.requires` in its `pyproject.toml`)
    +        might solve the problem.
    +        ********************************************************************************
    +        """
    +        # TODO: Add a deadline?
    +        #       See comment in setuptools.unicode_utils._Utf8EncodingNeeded
    +        warnings.warn(msg, PkgResourcesDeprecationWarning, stacklevel=2)
    +        with open(file, "r", encoding=fallback_encoding) as f:
    +            return f.read()
    +
    +
    +# from jaraco.functools 1.3
    +def _call_aside(f, *args, **kwargs):
    +    f(*args, **kwargs)
    +    return f
    +
    +
    +@_call_aside
    +def _initialize(g=globals()):
    +    "Set up global resource manager (deliberately not state-saved)"
    +    manager = ResourceManager()
    +    g['_manager'] = manager
    +    g.update(
    +        (name, getattr(manager, name))
    +        for name in dir(manager)
    +        if not name.startswith('_')
    +    )
    +
    +
    +@_call_aside
    +def _initialize_master_working_set():
    +    """
    +    Prepare the master working set and make the ``require()``
    +    API available.
    +
    +    This function has explicit effects on the global state
    +    of pkg_resources. It is intended to be invoked once at
    +    the initialization of this module.
    +
    +    Invocation by other packages is unsupported and done
    +    at their own risk.
    +    """
    +    working_set = _declare_state('object', 'working_set', WorkingSet._build_master())
    +
    +    require = working_set.require
    +    iter_entry_points = working_set.iter_entry_points
    +    add_activation_listener = working_set.subscribe
    +    run_script = working_set.run_script
    +    # backward compatibility
    +    run_main = run_script
    +    # Activate all distributions already on sys.path with replace=False and
    +    # ensure that all distributions added to the working set in the future
    +    # (e.g. by calling ``require()``) will get activated as well,
    +    # with higher priority (replace=True).
    +    tuple(dist.activate(replace=False) for dist in working_set)
    +    add_activation_listener(
    +        lambda dist: dist.activate(replace=True),
    +        existing=False,
    +    )
    +    working_set.entries = []
    +    # match order
    +    list(map(working_set.add_entry, sys.path))
    +    globals().update(locals())
    +
    +
    +if TYPE_CHECKING:
    +    # All of these are set by the @_call_aside methods above
    +    __resource_manager = ResourceManager()  # Won't exist at runtime
    +    resource_exists = __resource_manager.resource_exists
    +    resource_isdir = __resource_manager.resource_isdir
    +    resource_filename = __resource_manager.resource_filename
    +    resource_stream = __resource_manager.resource_stream
    +    resource_string = __resource_manager.resource_string
    +    resource_listdir = __resource_manager.resource_listdir
    +    set_extraction_path = __resource_manager.set_extraction_path
    +    cleanup_resources = __resource_manager.cleanup_resources
    +
    +    working_set = WorkingSet()
    +    require = working_set.require
    +    iter_entry_points = working_set.iter_entry_points
    +    add_activation_listener = working_set.subscribe
    +    run_script = working_set.run_script
    +    run_main = run_script
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..3d279fad5578183b3fda0f5fd4e23404a40a01ed
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc
    @@ -0,0 +1,3 @@
    +version https://git-lfs.github.com/spec/v1
    +oid sha256:dbb8ad7ebc71c7928bb1e1d8b69514eb856b3f9325e25f89d10d49d862d8d353
    +size 161520
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..2325ec2eb6fef6a870bef9fbd4b4cbd590c7ab65
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py
    @@ -0,0 +1,631 @@
    +"""
    +Utilities for determining application-specific dirs.
    +
    +See  for details and usage.
    +
    +"""
    +
    +from __future__ import annotations
    +
    +import os
    +import sys
    +from typing import TYPE_CHECKING
    +
    +from .api import PlatformDirsABC
    +from .version import __version__
    +from .version import __version_tuple__ as __version_info__
    +
    +if TYPE_CHECKING:
    +    from pathlib import Path
    +    from typing import Literal
    +
    +if sys.platform == "win32":
    +    from pip._vendor.platformdirs.windows import Windows as _Result
    +elif sys.platform == "darwin":
    +    from pip._vendor.platformdirs.macos import MacOS as _Result
    +else:
    +    from pip._vendor.platformdirs.unix import Unix as _Result
    +
    +
    +def _set_platform_dir_class() -> type[PlatformDirsABC]:
    +    if os.getenv("ANDROID_DATA") == "/data" and os.getenv("ANDROID_ROOT") == "/system":
    +        if os.getenv("SHELL") or os.getenv("PREFIX"):
    +            return _Result
    +
    +        from pip._vendor.platformdirs.android import _android_folder  # noqa: PLC0415
    +
    +        if _android_folder() is not None:
    +            from pip._vendor.platformdirs.android import Android  # noqa: PLC0415
    +
    +            return Android  # return to avoid redefinition of a result
    +
    +    return _Result
    +
    +
    +if TYPE_CHECKING:
    +    # Work around mypy issue: https://github.com/python/mypy/issues/10962
    +    PlatformDirs = _Result
    +else:
    +    PlatformDirs = _set_platform_dir_class()  #: Currently active platform
    +AppDirs = PlatformDirs  #: Backwards compatibility with appdirs
    +
    +
    +def user_data_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    roaming: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param roaming: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: data directory tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        roaming=roaming,
    +        ensure_exists=ensure_exists,
    +    ).user_data_dir
    +
    +
    +def site_data_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    multipath: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param multipath: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: data directory shared by users
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        multipath=multipath,
    +        ensure_exists=ensure_exists,
    +    ).site_data_dir
    +
    +
    +def user_config_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    roaming: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param roaming: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: config directory tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        roaming=roaming,
    +        ensure_exists=ensure_exists,
    +    ).user_config_dir
    +
    +
    +def site_config_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    multipath: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param multipath: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: config directory shared by the users
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        multipath=multipath,
    +        ensure_exists=ensure_exists,
    +    ).site_config_dir
    +
    +
    +def user_cache_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: cache directory tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).user_cache_dir
    +
    +
    +def site_cache_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `opinion `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: cache directory tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).site_cache_dir
    +
    +
    +def user_state_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    roaming: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param roaming: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: state directory tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        roaming=roaming,
    +        ensure_exists=ensure_exists,
    +    ).user_state_dir
    +
    +
    +def user_log_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: log directory tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).user_log_dir
    +
    +
    +def user_documents_dir() -> str:
    +    """:returns: documents directory tied to the user"""
    +    return PlatformDirs().user_documents_dir
    +
    +
    +def user_downloads_dir() -> str:
    +    """:returns: downloads directory tied to the user"""
    +    return PlatformDirs().user_downloads_dir
    +
    +
    +def user_pictures_dir() -> str:
    +    """:returns: pictures directory tied to the user"""
    +    return PlatformDirs().user_pictures_dir
    +
    +
    +def user_videos_dir() -> str:
    +    """:returns: videos directory tied to the user"""
    +    return PlatformDirs().user_videos_dir
    +
    +
    +def user_music_dir() -> str:
    +    """:returns: music directory tied to the user"""
    +    return PlatformDirs().user_music_dir
    +
    +
    +def user_desktop_dir() -> str:
    +    """:returns: desktop directory tied to the user"""
    +    return PlatformDirs().user_desktop_dir
    +
    +
    +def user_runtime_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `opinion `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: runtime directory tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).user_runtime_dir
    +
    +
    +def site_runtime_dir(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> str:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `opinion `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: runtime directory shared by users
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).site_runtime_dir
    +
    +
    +def user_data_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    roaming: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param roaming: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: data path tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        roaming=roaming,
    +        ensure_exists=ensure_exists,
    +    ).user_data_path
    +
    +
    +def site_data_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    multipath: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param multipath: See `multipath `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: data path shared by users
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        multipath=multipath,
    +        ensure_exists=ensure_exists,
    +    ).site_data_path
    +
    +
    +def user_config_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    roaming: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param roaming: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: config path tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        roaming=roaming,
    +        ensure_exists=ensure_exists,
    +    ).user_config_path
    +
    +
    +def site_config_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    multipath: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param multipath: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: config path shared by the users
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        multipath=multipath,
    +        ensure_exists=ensure_exists,
    +    ).site_config_path
    +
    +
    +def site_cache_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `opinion `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: cache directory tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).site_cache_path
    +
    +
    +def user_cache_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: cache path tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).user_cache_path
    +
    +
    +def user_state_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    roaming: bool = False,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param roaming: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: state path tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        roaming=roaming,
    +        ensure_exists=ensure_exists,
    +    ).user_state_path
    +
    +
    +def user_log_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `roaming `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: log path tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).user_log_path
    +
    +
    +def user_documents_path() -> Path:
    +    """:returns: documents a path tied to the user"""
    +    return PlatformDirs().user_documents_path
    +
    +
    +def user_downloads_path() -> Path:
    +    """:returns: downloads path tied to the user"""
    +    return PlatformDirs().user_downloads_path
    +
    +
    +def user_pictures_path() -> Path:
    +    """:returns: pictures path tied to the user"""
    +    return PlatformDirs().user_pictures_path
    +
    +
    +def user_videos_path() -> Path:
    +    """:returns: videos path tied to the user"""
    +    return PlatformDirs().user_videos_path
    +
    +
    +def user_music_path() -> Path:
    +    """:returns: music path tied to the user"""
    +    return PlatformDirs().user_music_path
    +
    +
    +def user_desktop_path() -> Path:
    +    """:returns: desktop path tied to the user"""
    +    return PlatformDirs().user_desktop_path
    +
    +
    +def user_runtime_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `opinion `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: runtime path tied to the user
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).user_runtime_path
    +
    +
    +def site_runtime_path(
    +    appname: str | None = None,
    +    appauthor: str | Literal[False] | None = None,
    +    version: str | None = None,
    +    opinion: bool = True,  # noqa: FBT001, FBT002
    +    ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +) -> Path:
    +    """
    +    :param appname: See `appname `.
    +    :param appauthor: See `appauthor `.
    +    :param version: See `version `.
    +    :param opinion: See `opinion `.
    +    :param ensure_exists: See `ensure_exists `.
    +    :returns: runtime path shared by users
    +    """
    +    return PlatformDirs(
    +        appname=appname,
    +        appauthor=appauthor,
    +        version=version,
    +        opinion=opinion,
    +        ensure_exists=ensure_exists,
    +    ).site_runtime_path
    +
    +
    +__all__ = [
    +    "AppDirs",
    +    "PlatformDirs",
    +    "PlatformDirsABC",
    +    "__version__",
    +    "__version_info__",
    +    "site_cache_dir",
    +    "site_cache_path",
    +    "site_config_dir",
    +    "site_config_path",
    +    "site_data_dir",
    +    "site_data_path",
    +    "site_runtime_dir",
    +    "site_runtime_path",
    +    "user_cache_dir",
    +    "user_cache_path",
    +    "user_config_dir",
    +    "user_config_path",
    +    "user_data_dir",
    +    "user_data_path",
    +    "user_desktop_dir",
    +    "user_desktop_path",
    +    "user_documents_dir",
    +    "user_documents_path",
    +    "user_downloads_dir",
    +    "user_downloads_path",
    +    "user_log_dir",
    +    "user_log_path",
    +    "user_music_dir",
    +    "user_music_path",
    +    "user_pictures_dir",
    +    "user_pictures_path",
    +    "user_runtime_dir",
    +    "user_runtime_path",
    +    "user_state_dir",
    +    "user_state_path",
    +    "user_videos_dir",
    +    "user_videos_path",
    +]
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__main__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__main__.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..fa8a677a336bded93ce104943c9187c917ed8b75
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__main__.py
    @@ -0,0 +1,55 @@
    +"""Main entry point."""
    +
    +from __future__ import annotations
    +
    +from pip._vendor.platformdirs import PlatformDirs, __version__
    +
    +PROPS = (
    +    "user_data_dir",
    +    "user_config_dir",
    +    "user_cache_dir",
    +    "user_state_dir",
    +    "user_log_dir",
    +    "user_documents_dir",
    +    "user_downloads_dir",
    +    "user_pictures_dir",
    +    "user_videos_dir",
    +    "user_music_dir",
    +    "user_runtime_dir",
    +    "site_data_dir",
    +    "site_config_dir",
    +    "site_cache_dir",
    +    "site_runtime_dir",
    +)
    +
    +
    +def main() -> None:
    +    """Run the main entry point."""
    +    app_name = "MyApp"
    +    app_author = "MyCompany"
    +
    +    print(f"-- platformdirs {__version__} --")  # noqa: T201
    +
    +    print("-- app dirs (with optional 'version')")  # noqa: T201
    +    dirs = PlatformDirs(app_name, app_author, version="1.0")
    +    for prop in PROPS:
    +        print(f"{prop}: {getattr(dirs, prop)}")  # noqa: T201
    +
    +    print("\n-- app dirs (without optional 'version')")  # noqa: T201
    +    dirs = PlatformDirs(app_name, app_author)
    +    for prop in PROPS:
    +        print(f"{prop}: {getattr(dirs, prop)}")  # noqa: T201
    +
    +    print("\n-- app dirs (without optional 'appauthor')")  # noqa: T201
    +    dirs = PlatformDirs(app_name)
    +    for prop in PROPS:
    +        print(f"{prop}: {getattr(dirs, prop)}")  # noqa: T201
    +
    +    print("\n-- app dirs (with disabled 'appauthor')")  # noqa: T201
    +    dirs = PlatformDirs(app_name, appauthor=False)
    +    for prop in PROPS:
    +        print(f"{prop}: {getattr(dirs, prop)}")  # noqa: T201
    +
    +
    +if __name__ == "__main__":
    +    main()
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..6c7ded7a8d06b1c5f4b6221db14a8d3cc5240487
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..8b902a4faa37921beb1719305ffe338023d2ee0e
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..7c27fecef55e87823b8951ab756aceb4c378629d
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..0c10ec153c43dab1da59a066e88d81c280d763e6
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..fc335ab228bfb82cc945070c860d1b9b207c4160
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..fed9bd5f4750b2085a6b3345dab0fc7ac5e583d2
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..da9b22e00ddc912ecab12506be245eaf4e94d372
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..b8d26f017e6e41e718fdd82e7b263bc9bc957e21
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..92efc852d3818b70a708ab61ba2b291eb5a6ee67
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py
    @@ -0,0 +1,249 @@
    +"""Android."""
    +
    +from __future__ import annotations
    +
    +import os
    +import re
    +import sys
    +from functools import lru_cache
    +from typing import TYPE_CHECKING, cast
    +
    +from .api import PlatformDirsABC
    +
    +
    +class Android(PlatformDirsABC):
    +    """
    +    Follows the guidance `from here `_.
    +
    +    Makes use of the `appname `, `version
    +    `, `ensure_exists `.
    +
    +    """
    +
    +    @property
    +    def user_data_dir(self) -> str:
    +        """:return: data directory tied to the user, e.g. ``/data/user///files/``"""
    +        return self._append_app_name_and_version(cast("str", _android_folder()), "files")
    +
    +    @property
    +    def site_data_dir(self) -> str:
    +        """:return: data directory shared by users, same as `user_data_dir`"""
    +        return self.user_data_dir
    +
    +    @property
    +    def user_config_dir(self) -> str:
    +        """
    +        :return: config directory tied to the user, e.g. \
    +        ``/data/user///shared_prefs/``
    +        """
    +        return self._append_app_name_and_version(cast("str", _android_folder()), "shared_prefs")
    +
    +    @property
    +    def site_config_dir(self) -> str:
    +        """:return: config directory shared by the users, same as `user_config_dir`"""
    +        return self.user_config_dir
    +
    +    @property
    +    def user_cache_dir(self) -> str:
    +        """:return: cache directory tied to the user, e.g.,``/data/user///cache/``"""
    +        return self._append_app_name_and_version(cast("str", _android_folder()), "cache")
    +
    +    @property
    +    def site_cache_dir(self) -> str:
    +        """:return: cache directory shared by users, same as `user_cache_dir`"""
    +        return self.user_cache_dir
    +
    +    @property
    +    def user_state_dir(self) -> str:
    +        """:return: state directory tied to the user, same as `user_data_dir`"""
    +        return self.user_data_dir
    +
    +    @property
    +    def user_log_dir(self) -> str:
    +        """
    +        :return: log directory tied to the user, same as `user_cache_dir` if not opinionated else ``log`` in it,
    +          e.g. ``/data/user///cache//log``
    +        """
    +        path = self.user_cache_dir
    +        if self.opinion:
    +            path = os.path.join(path, "log")  # noqa: PTH118
    +        return path
    +
    +    @property
    +    def user_documents_dir(self) -> str:
    +        """:return: documents directory tied to the user e.g. ``/storage/emulated/0/Documents``"""
    +        return _android_documents_folder()
    +
    +    @property
    +    def user_downloads_dir(self) -> str:
    +        """:return: downloads directory tied to the user e.g. ``/storage/emulated/0/Downloads``"""
    +        return _android_downloads_folder()
    +
    +    @property
    +    def user_pictures_dir(self) -> str:
    +        """:return: pictures directory tied to the user e.g. ``/storage/emulated/0/Pictures``"""
    +        return _android_pictures_folder()
    +
    +    @property
    +    def user_videos_dir(self) -> str:
    +        """:return: videos directory tied to the user e.g. ``/storage/emulated/0/DCIM/Camera``"""
    +        return _android_videos_folder()
    +
    +    @property
    +    def user_music_dir(self) -> str:
    +        """:return: music directory tied to the user e.g. ``/storage/emulated/0/Music``"""
    +        return _android_music_folder()
    +
    +    @property
    +    def user_desktop_dir(self) -> str:
    +        """:return: desktop directory tied to the user e.g. ``/storage/emulated/0/Desktop``"""
    +        return "/storage/emulated/0/Desktop"
    +
    +    @property
    +    def user_runtime_dir(self) -> str:
    +        """
    +        :return: runtime directory tied to the user, same as `user_cache_dir` if not opinionated else ``tmp`` in it,
    +          e.g. ``/data/user///cache//tmp``
    +        """
    +        path = self.user_cache_dir
    +        if self.opinion:
    +            path = os.path.join(path, "tmp")  # noqa: PTH118
    +        return path
    +
    +    @property
    +    def site_runtime_dir(self) -> str:
    +        """:return: runtime directory shared by users, same as `user_runtime_dir`"""
    +        return self.user_runtime_dir
    +
    +
    +@lru_cache(maxsize=1)
    +def _android_folder() -> str | None:  # noqa: C901
    +    """:return: base folder for the Android OS or None if it cannot be found"""
    +    result: str | None = None
    +    # type checker isn't happy with our "import android", just don't do this when type checking see
    +    # https://stackoverflow.com/a/61394121
    +    if not TYPE_CHECKING:
    +        try:
    +            # First try to get a path to android app using python4android (if available)...
    +            from android import mActivity  # noqa: PLC0415
    +
    +            context = cast("android.content.Context", mActivity.getApplicationContext())  # noqa: F821
    +            result = context.getFilesDir().getParentFile().getAbsolutePath()
    +        except Exception:  # noqa: BLE001
    +            result = None
    +    if result is None:
    +        try:
    +            # ...and fall back to using plain pyjnius, if python4android isn't available or doesn't deliver any useful
    +            # result...
    +            from jnius import autoclass  # noqa: PLC0415
    +
    +            context = autoclass("android.content.Context")
    +            result = context.getFilesDir().getParentFile().getAbsolutePath()
    +        except Exception:  # noqa: BLE001
    +            result = None
    +    if result is None:
    +        # and if that fails, too, find an android folder looking at path on the sys.path
    +        # warning: only works for apps installed under /data, not adopted storage etc.
    +        pattern = re.compile(r"/data/(data|user/\d+)/(.+)/files")
    +        for path in sys.path:
    +            if pattern.match(path):
    +                result = path.split("/files")[0]
    +                break
    +        else:
    +            result = None
    +    if result is None:
    +        # one last try: find an android folder looking at path on the sys.path taking adopted storage paths into
    +        # account
    +        pattern = re.compile(r"/mnt/expand/[a-fA-F0-9-]{36}/(data|user/\d+)/(.+)/files")
    +        for path in sys.path:
    +            if pattern.match(path):
    +                result = path.split("/files")[0]
    +                break
    +        else:
    +            result = None
    +    return result
    +
    +
    +@lru_cache(maxsize=1)
    +def _android_documents_folder() -> str:
    +    """:return: documents folder for the Android OS"""
    +    # Get directories with pyjnius
    +    try:
    +        from jnius import autoclass  # noqa: PLC0415
    +
    +        context = autoclass("android.content.Context")
    +        environment = autoclass("android.os.Environment")
    +        documents_dir: str = context.getExternalFilesDir(environment.DIRECTORY_DOCUMENTS).getAbsolutePath()
    +    except Exception:  # noqa: BLE001
    +        documents_dir = "/storage/emulated/0/Documents"
    +
    +    return documents_dir
    +
    +
    +@lru_cache(maxsize=1)
    +def _android_downloads_folder() -> str:
    +    """:return: downloads folder for the Android OS"""
    +    # Get directories with pyjnius
    +    try:
    +        from jnius import autoclass  # noqa: PLC0415
    +
    +        context = autoclass("android.content.Context")
    +        environment = autoclass("android.os.Environment")
    +        downloads_dir: str = context.getExternalFilesDir(environment.DIRECTORY_DOWNLOADS).getAbsolutePath()
    +    except Exception:  # noqa: BLE001
    +        downloads_dir = "/storage/emulated/0/Downloads"
    +
    +    return downloads_dir
    +
    +
    +@lru_cache(maxsize=1)
    +def _android_pictures_folder() -> str:
    +    """:return: pictures folder for the Android OS"""
    +    # Get directories with pyjnius
    +    try:
    +        from jnius import autoclass  # noqa: PLC0415
    +
    +        context = autoclass("android.content.Context")
    +        environment = autoclass("android.os.Environment")
    +        pictures_dir: str = context.getExternalFilesDir(environment.DIRECTORY_PICTURES).getAbsolutePath()
    +    except Exception:  # noqa: BLE001
    +        pictures_dir = "/storage/emulated/0/Pictures"
    +
    +    return pictures_dir
    +
    +
    +@lru_cache(maxsize=1)
    +def _android_videos_folder() -> str:
    +    """:return: videos folder for the Android OS"""
    +    # Get directories with pyjnius
    +    try:
    +        from jnius import autoclass  # noqa: PLC0415
    +
    +        context = autoclass("android.content.Context")
    +        environment = autoclass("android.os.Environment")
    +        videos_dir: str = context.getExternalFilesDir(environment.DIRECTORY_DCIM).getAbsolutePath()
    +    except Exception:  # noqa: BLE001
    +        videos_dir = "/storage/emulated/0/DCIM/Camera"
    +
    +    return videos_dir
    +
    +
    +@lru_cache(maxsize=1)
    +def _android_music_folder() -> str:
    +    """:return: music folder for the Android OS"""
    +    # Get directories with pyjnius
    +    try:
    +        from jnius import autoclass  # noqa: PLC0415
    +
    +        context = autoclass("android.content.Context")
    +        environment = autoclass("android.os.Environment")
    +        music_dir: str = context.getExternalFilesDir(environment.DIRECTORY_MUSIC).getAbsolutePath()
    +    except Exception:  # noqa: BLE001
    +        music_dir = "/storage/emulated/0/Music"
    +
    +    return music_dir
    +
    +
    +__all__ = [
    +    "Android",
    +]
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..a352035ec699ec228910980d2eec83081ff50f9a
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py
    @@ -0,0 +1,299 @@
    +"""Base API."""
    +
    +from __future__ import annotations
    +
    +import os
    +from abc import ABC, abstractmethod
    +from pathlib import Path
    +from typing import TYPE_CHECKING
    +
    +if TYPE_CHECKING:
    +    from collections.abc import Iterator
    +    from typing import Literal
    +
    +
    +class PlatformDirsABC(ABC):  # noqa: PLR0904
    +    """Abstract base class for platform directories."""
    +
    +    def __init__(  # noqa: PLR0913, PLR0917
    +        self,
    +        appname: str | None = None,
    +        appauthor: str | Literal[False] | None = None,
    +        version: str | None = None,
    +        roaming: bool = False,  # noqa: FBT001, FBT002
    +        multipath: bool = False,  # noqa: FBT001, FBT002
    +        opinion: bool = True,  # noqa: FBT001, FBT002
    +        ensure_exists: bool = False,  # noqa: FBT001, FBT002
    +    ) -> None:
    +        """
    +        Create a new platform directory.
    +
    +        :param appname: See `appname`.
    +        :param appauthor: See `appauthor`.
    +        :param version: See `version`.
    +        :param roaming: See `roaming`.
    +        :param multipath: See `multipath`.
    +        :param opinion: See `opinion`.
    +        :param ensure_exists: See `ensure_exists`.
    +
    +        """
    +        self.appname = appname  #: The name of application.
    +        self.appauthor = appauthor
    +        """
    +        The name of the app author or distributing body for this application.
    +
    +        Typically, it is the owning company name. Defaults to `appname`. You may pass ``False`` to disable it.
    +
    +        """
    +        self.version = version
    +        """
    +        An optional version path element to append to the path.
    +
    +        You might want to use this if you want multiple versions of your app to be able to run independently. If used,
    +        this would typically be ``.``.
    +
    +        """
    +        self.roaming = roaming
    +        """
    +        Whether to use the roaming appdata directory on Windows.
    +
    +        That means that for users on a Windows network setup for roaming profiles, this user data will be synced on
    +        login (see
    +        `here `_).
    +
    +        """
    +        self.multipath = multipath
    +        """
    +        An optional parameter which indicates that the entire list of data dirs should be returned.
    +
    +        By default, the first item would only be returned.
    +
    +        """
    +        self.opinion = opinion  #: A flag to indicating to use opinionated values.
    +        self.ensure_exists = ensure_exists
    +        """
    +        Optionally create the directory (and any missing parents) upon access if it does not exist.
    +
    +        By default, no directories are created.
    +
    +        """
    +
    +    def _append_app_name_and_version(self, *base: str) -> str:
    +        params = list(base[1:])
    +        if self.appname:
    +            params.append(self.appname)
    +            if self.version:
    +                params.append(self.version)
    +        path = os.path.join(base[0], *params)  # noqa: PTH118
    +        self._optionally_create_directory(path)
    +        return path
    +
    +    def _optionally_create_directory(self, path: str) -> None:
    +        if self.ensure_exists:
    +            Path(path).mkdir(parents=True, exist_ok=True)
    +
    +    def _first_item_as_path_if_multipath(self, directory: str) -> Path:
    +        if self.multipath:
    +            # If multipath is True, the first path is returned.
    +            directory = directory.split(os.pathsep)[0]
    +        return Path(directory)
    +
    +    @property
    +    @abstractmethod
    +    def user_data_dir(self) -> str:
    +        """:return: data directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def site_data_dir(self) -> str:
    +        """:return: data directory shared by users"""
    +
    +    @property
    +    @abstractmethod
    +    def user_config_dir(self) -> str:
    +        """:return: config directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def site_config_dir(self) -> str:
    +        """:return: config directory shared by the users"""
    +
    +    @property
    +    @abstractmethod
    +    def user_cache_dir(self) -> str:
    +        """:return: cache directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def site_cache_dir(self) -> str:
    +        """:return: cache directory shared by users"""
    +
    +    @property
    +    @abstractmethod
    +    def user_state_dir(self) -> str:
    +        """:return: state directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def user_log_dir(self) -> str:
    +        """:return: log directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def user_documents_dir(self) -> str:
    +        """:return: documents directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def user_downloads_dir(self) -> str:
    +        """:return: downloads directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def user_pictures_dir(self) -> str:
    +        """:return: pictures directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def user_videos_dir(self) -> str:
    +        """:return: videos directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def user_music_dir(self) -> str:
    +        """:return: music directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def user_desktop_dir(self) -> str:
    +        """:return: desktop directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def user_runtime_dir(self) -> str:
    +        """:return: runtime directory tied to the user"""
    +
    +    @property
    +    @abstractmethod
    +    def site_runtime_dir(self) -> str:
    +        """:return: runtime directory shared by users"""
    +
    +    @property
    +    def user_data_path(self) -> Path:
    +        """:return: data path tied to the user"""
    +        return Path(self.user_data_dir)
    +
    +    @property
    +    def site_data_path(self) -> Path:
    +        """:return: data path shared by users"""
    +        return Path(self.site_data_dir)
    +
    +    @property
    +    def user_config_path(self) -> Path:
    +        """:return: config path tied to the user"""
    +        return Path(self.user_config_dir)
    +
    +    @property
    +    def site_config_path(self) -> Path:
    +        """:return: config path shared by the users"""
    +        return Path(self.site_config_dir)
    +
    +    @property
    +    def user_cache_path(self) -> Path:
    +        """:return: cache path tied to the user"""
    +        return Path(self.user_cache_dir)
    +
    +    @property
    +    def site_cache_path(self) -> Path:
    +        """:return: cache path shared by users"""
    +        return Path(self.site_cache_dir)
    +
    +    @property
    +    def user_state_path(self) -> Path:
    +        """:return: state path tied to the user"""
    +        return Path(self.user_state_dir)
    +
    +    @property
    +    def user_log_path(self) -> Path:
    +        """:return: log path tied to the user"""
    +        return Path(self.user_log_dir)
    +
    +    @property
    +    def user_documents_path(self) -> Path:
    +        """:return: documents a path tied to the user"""
    +        return Path(self.user_documents_dir)
    +
    +    @property
    +    def user_downloads_path(self) -> Path:
    +        """:return: downloads path tied to the user"""
    +        return Path(self.user_downloads_dir)
    +
    +    @property
    +    def user_pictures_path(self) -> Path:
    +        """:return: pictures path tied to the user"""
    +        return Path(self.user_pictures_dir)
    +
    +    @property
    +    def user_videos_path(self) -> Path:
    +        """:return: videos path tied to the user"""
    +        return Path(self.user_videos_dir)
    +
    +    @property
    +    def user_music_path(self) -> Path:
    +        """:return: music path tied to the user"""
    +        return Path(self.user_music_dir)
    +
    +    @property
    +    def user_desktop_path(self) -> Path:
    +        """:return: desktop path tied to the user"""
    +        return Path(self.user_desktop_dir)
    +
    +    @property
    +    def user_runtime_path(self) -> Path:
    +        """:return: runtime path tied to the user"""
    +        return Path(self.user_runtime_dir)
    +
    +    @property
    +    def site_runtime_path(self) -> Path:
    +        """:return: runtime path shared by users"""
    +        return Path(self.site_runtime_dir)
    +
    +    def iter_config_dirs(self) -> Iterator[str]:
    +        """:yield: all user and site configuration directories."""
    +        yield self.user_config_dir
    +        yield self.site_config_dir
    +
    +    def iter_data_dirs(self) -> Iterator[str]:
    +        """:yield: all user and site data directories."""
    +        yield self.user_data_dir
    +        yield self.site_data_dir
    +
    +    def iter_cache_dirs(self) -> Iterator[str]:
    +        """:yield: all user and site cache directories."""
    +        yield self.user_cache_dir
    +        yield self.site_cache_dir
    +
    +    def iter_runtime_dirs(self) -> Iterator[str]:
    +        """:yield: all user and site runtime directories."""
    +        yield self.user_runtime_dir
    +        yield self.site_runtime_dir
    +
    +    def iter_config_paths(self) -> Iterator[Path]:
    +        """:yield: all user and site configuration paths."""
    +        for path in self.iter_config_dirs():
    +            yield Path(path)
    +
    +    def iter_data_paths(self) -> Iterator[Path]:
    +        """:yield: all user and site data paths."""
    +        for path in self.iter_data_dirs():
    +            yield Path(path)
    +
    +    def iter_cache_paths(self) -> Iterator[Path]:
    +        """:yield: all user and site cache paths."""
    +        for path in self.iter_cache_dirs():
    +            yield Path(path)
    +
    +    def iter_runtime_paths(self) -> Iterator[Path]:
    +        """:yield: all user and site runtime paths."""
    +        for path in self.iter_runtime_dirs():
    +            yield Path(path)
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..e4b0391abd7a09ab76a6351fb6757f6498cdb240
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py
    @@ -0,0 +1,144 @@
    +"""macOS."""
    +
    +from __future__ import annotations
    +
    +import os.path
    +import sys
    +from typing import TYPE_CHECKING
    +
    +from .api import PlatformDirsABC
    +
    +if TYPE_CHECKING:
    +    from pathlib import Path
    +
    +
    +class MacOS(PlatformDirsABC):
    +    """
    +    Platform directories for the macOS operating system.
    +
    +    Follows the guidance from
    +    `Apple documentation `_.
    +    Makes use of the `appname `,
    +    `version `,
    +    `ensure_exists `.
    +
    +    """
    +
    +    @property
    +    def user_data_dir(self) -> str:
    +        """:return: data directory tied to the user, e.g. ``~/Library/Application Support/$appname/$version``"""
    +        return self._append_app_name_and_version(os.path.expanduser("~/Library/Application Support"))  # noqa: PTH111
    +
    +    @property
    +    def site_data_dir(self) -> str:
    +        """
    +        :return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``.
    +          If we're using a Python binary managed by `Homebrew `_, the directory
    +          will be under the Homebrew prefix, e.g. ``/opt/homebrew/share/$appname/$version``.
    +          If `multipath ` is enabled, and we're in Homebrew,
    +          the response is a multi-path string separated by ":", e.g.
    +          ``/opt/homebrew/share/$appname/$version:/Library/Application Support/$appname/$version``
    +        """
    +        is_homebrew = sys.prefix.startswith("/opt/homebrew")
    +        path_list = [self._append_app_name_and_version("/opt/homebrew/share")] if is_homebrew else []
    +        path_list.append(self._append_app_name_and_version("/Library/Application Support"))
    +        if self.multipath:
    +            return os.pathsep.join(path_list)
    +        return path_list[0]
    +
    +    @property
    +    def site_data_path(self) -> Path:
    +        """:return: data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
    +        return self._first_item_as_path_if_multipath(self.site_data_dir)
    +
    +    @property
    +    def user_config_dir(self) -> str:
    +        """:return: config directory tied to the user, same as `user_data_dir`"""
    +        return self.user_data_dir
    +
    +    @property
    +    def site_config_dir(self) -> str:
    +        """:return: config directory shared by the users, same as `site_data_dir`"""
    +        return self.site_data_dir
    +
    +    @property
    +    def user_cache_dir(self) -> str:
    +        """:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``"""
    +        return self._append_app_name_and_version(os.path.expanduser("~/Library/Caches"))  # noqa: PTH111
    +
    +    @property
    +    def site_cache_dir(self) -> str:
    +        """
    +        :return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``.
    +          If we're using a Python binary managed by `Homebrew `_, the directory
    +          will be under the Homebrew prefix, e.g. ``/opt/homebrew/var/cache/$appname/$version``.
    +          If `multipath ` is enabled, and we're in Homebrew,
    +          the response is a multi-path string separated by ":", e.g.
    +          ``/opt/homebrew/var/cache/$appname/$version:/Library/Caches/$appname/$version``
    +        """
    +        is_homebrew = sys.prefix.startswith("/opt/homebrew")
    +        path_list = [self._append_app_name_and_version("/opt/homebrew/var/cache")] if is_homebrew else []
    +        path_list.append(self._append_app_name_and_version("/Library/Caches"))
    +        if self.multipath:
    +            return os.pathsep.join(path_list)
    +        return path_list[0]
    +
    +    @property
    +    def site_cache_path(self) -> Path:
    +        """:return: cache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
    +        return self._first_item_as_path_if_multipath(self.site_cache_dir)
    +
    +    @property
    +    def user_state_dir(self) -> str:
    +        """:return: state directory tied to the user, same as `user_data_dir`"""
    +        return self.user_data_dir
    +
    +    @property
    +    def user_log_dir(self) -> str:
    +        """:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``"""
    +        return self._append_app_name_and_version(os.path.expanduser("~/Library/Logs"))  # noqa: PTH111
    +
    +    @property
    +    def user_documents_dir(self) -> str:
    +        """:return: documents directory tied to the user, e.g. ``~/Documents``"""
    +        return os.path.expanduser("~/Documents")  # noqa: PTH111
    +
    +    @property
    +    def user_downloads_dir(self) -> str:
    +        """:return: downloads directory tied to the user, e.g. ``~/Downloads``"""
    +        return os.path.expanduser("~/Downloads")  # noqa: PTH111
    +
    +    @property
    +    def user_pictures_dir(self) -> str:
    +        """:return: pictures directory tied to the user, e.g. ``~/Pictures``"""
    +        return os.path.expanduser("~/Pictures")  # noqa: PTH111
    +
    +    @property
    +    def user_videos_dir(self) -> str:
    +        """:return: videos directory tied to the user, e.g. ``~/Movies``"""
    +        return os.path.expanduser("~/Movies")  # noqa: PTH111
    +
    +    @property
    +    def user_music_dir(self) -> str:
    +        """:return: music directory tied to the user, e.g. ``~/Music``"""
    +        return os.path.expanduser("~/Music")  # noqa: PTH111
    +
    +    @property
    +    def user_desktop_dir(self) -> str:
    +        """:return: desktop directory tied to the user, e.g. ``~/Desktop``"""
    +        return os.path.expanduser("~/Desktop")  # noqa: PTH111
    +
    +    @property
    +    def user_runtime_dir(self) -> str:
    +        """:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``"""
    +        return self._append_app_name_and_version(os.path.expanduser("~/Library/Caches/TemporaryItems"))  # noqa: PTH111
    +
    +    @property
    +    def site_runtime_dir(self) -> str:
    +        """:return: runtime directory shared by users, same as `user_runtime_dir`"""
    +        return self.user_runtime_dir
    +
    +
    +__all__ = [
    +    "MacOS",
    +]
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/py.typed
    new file mode 100644
    index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..fc75d8d0747b0d5ce84b96cfc37877a126d1a9b6
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py
    @@ -0,0 +1,272 @@
    +"""Unix."""
    +
    +from __future__ import annotations
    +
    +import os
    +import sys
    +from configparser import ConfigParser
    +from pathlib import Path
    +from typing import TYPE_CHECKING, NoReturn
    +
    +from .api import PlatformDirsABC
    +
    +if TYPE_CHECKING:
    +    from collections.abc import Iterator
    +
    +if sys.platform == "win32":
    +
    +    def getuid() -> NoReturn:
    +        msg = "should only be used on Unix"
    +        raise RuntimeError(msg)
    +
    +else:
    +    from os import getuid
    +
    +
    +class Unix(PlatformDirsABC):  # noqa: PLR0904
    +    """
    +    On Unix/Linux, we follow the `XDG Basedir Spec `_.
    +
    +    The spec allows overriding directories with environment variables. The examples shown are the default values,
    +    alongside the name of the environment variable that overrides them. Makes use of the `appname
    +    `, `version `, `multipath
    +    `, `opinion `, `ensure_exists
    +    `.
    +
    +    """
    +
    +    @property
    +    def user_data_dir(self) -> str:
    +        """
    +        :return: data directory tied to the user, e.g. ``~/.local/share/$appname/$version`` or
    +         ``$XDG_DATA_HOME/$appname/$version``
    +        """
    +        path = os.environ.get("XDG_DATA_HOME", "")
    +        if not path.strip():
    +            path = os.path.expanduser("~/.local/share")  # noqa: PTH111
    +        return self._append_app_name_and_version(path)
    +
    +    @property
    +    def _site_data_dirs(self) -> list[str]:
    +        path = os.environ.get("XDG_DATA_DIRS", "")
    +        if not path.strip():
    +            path = f"/usr/local/share{os.pathsep}/usr/share"
    +        return [self._append_app_name_and_version(p) for p in path.split(os.pathsep)]
    +
    +    @property
    +    def site_data_dir(self) -> str:
    +        """
    +        :return: data directories shared by users (if `multipath ` is
    +         enabled and ``XDG_DATA_DIRS`` is set and a multi path the response is also a multi path separated by the
    +         OS path separator), e.g. ``/usr/local/share/$appname/$version`` or ``/usr/share/$appname/$version``
    +        """
    +        # XDG default for $XDG_DATA_DIRS; only first, if multipath is False
    +        dirs = self._site_data_dirs
    +        if not self.multipath:
    +            return dirs[0]
    +        return os.pathsep.join(dirs)
    +
    +    @property
    +    def user_config_dir(self) -> str:
    +        """
    +        :return: config directory tied to the user, e.g. ``~/.config/$appname/$version`` or
    +         ``$XDG_CONFIG_HOME/$appname/$version``
    +        """
    +        path = os.environ.get("XDG_CONFIG_HOME", "")
    +        if not path.strip():
    +            path = os.path.expanduser("~/.config")  # noqa: PTH111
    +        return self._append_app_name_and_version(path)
    +
    +    @property
    +    def _site_config_dirs(self) -> list[str]:
    +        path = os.environ.get("XDG_CONFIG_DIRS", "")
    +        if not path.strip():
    +            path = "/etc/xdg"
    +        return [self._append_app_name_and_version(p) for p in path.split(os.pathsep)]
    +
    +    @property
    +    def site_config_dir(self) -> str:
    +        """
    +        :return: config directories shared by users (if `multipath `
    +         is enabled and ``XDG_CONFIG_DIRS`` is set and a multi path the response is also a multi path separated by
    +         the OS path separator), e.g. ``/etc/xdg/$appname/$version``
    +        """
    +        # XDG default for $XDG_CONFIG_DIRS only first, if multipath is False
    +        dirs = self._site_config_dirs
    +        if not self.multipath:
    +            return dirs[0]
    +        return os.pathsep.join(dirs)
    +
    +    @property
    +    def user_cache_dir(self) -> str:
    +        """
    +        :return: cache directory tied to the user, e.g. ``~/.cache/$appname/$version`` or
    +         ``~/$XDG_CACHE_HOME/$appname/$version``
    +        """
    +        path = os.environ.get("XDG_CACHE_HOME", "")
    +        if not path.strip():
    +            path = os.path.expanduser("~/.cache")  # noqa: PTH111
    +        return self._append_app_name_and_version(path)
    +
    +    @property
    +    def site_cache_dir(self) -> str:
    +        """:return: cache directory shared by users, e.g. ``/var/cache/$appname/$version``"""
    +        return self._append_app_name_and_version("/var/cache")
    +
    +    @property
    +    def user_state_dir(self) -> str:
    +        """
    +        :return: state directory tied to the user, e.g. ``~/.local/state/$appname/$version`` or
    +         ``$XDG_STATE_HOME/$appname/$version``
    +        """
    +        path = os.environ.get("XDG_STATE_HOME", "")
    +        if not path.strip():
    +            path = os.path.expanduser("~/.local/state")  # noqa: PTH111
    +        return self._append_app_name_and_version(path)
    +
    +    @property
    +    def user_log_dir(self) -> str:
    +        """:return: log directory tied to the user, same as `user_state_dir` if not opinionated else ``log`` in it"""
    +        path = self.user_state_dir
    +        if self.opinion:
    +            path = os.path.join(path, "log")  # noqa: PTH118
    +            self._optionally_create_directory(path)
    +        return path
    +
    +    @property
    +    def user_documents_dir(self) -> str:
    +        """:return: documents directory tied to the user, e.g. ``~/Documents``"""
    +        return _get_user_media_dir("XDG_DOCUMENTS_DIR", "~/Documents")
    +
    +    @property
    +    def user_downloads_dir(self) -> str:
    +        """:return: downloads directory tied to the user, e.g. ``~/Downloads``"""
    +        return _get_user_media_dir("XDG_DOWNLOAD_DIR", "~/Downloads")
    +
    +    @property
    +    def user_pictures_dir(self) -> str:
    +        """:return: pictures directory tied to the user, e.g. ``~/Pictures``"""
    +        return _get_user_media_dir("XDG_PICTURES_DIR", "~/Pictures")
    +
    +    @property
    +    def user_videos_dir(self) -> str:
    +        """:return: videos directory tied to the user, e.g. ``~/Videos``"""
    +        return _get_user_media_dir("XDG_VIDEOS_DIR", "~/Videos")
    +
    +    @property
    +    def user_music_dir(self) -> str:
    +        """:return: music directory tied to the user, e.g. ``~/Music``"""
    +        return _get_user_media_dir("XDG_MUSIC_DIR", "~/Music")
    +
    +    @property
    +    def user_desktop_dir(self) -> str:
    +        """:return: desktop directory tied to the user, e.g. ``~/Desktop``"""
    +        return _get_user_media_dir("XDG_DESKTOP_DIR", "~/Desktop")
    +
    +    @property
    +    def user_runtime_dir(self) -> str:
    +        """
    +        :return: runtime directory tied to the user, e.g. ``/run/user/$(id -u)/$appname/$version`` or
    +         ``$XDG_RUNTIME_DIR/$appname/$version``.
    +
    +         For FreeBSD/OpenBSD/NetBSD, it would return ``/var/run/user/$(id -u)/$appname/$version`` if
    +         exists, otherwise ``/tmp/runtime-$(id -u)/$appname/$version``, if``$XDG_RUNTIME_DIR``
    +         is not set.
    +        """
    +        path = os.environ.get("XDG_RUNTIME_DIR", "")
    +        if not path.strip():
    +            if sys.platform.startswith(("freebsd", "openbsd", "netbsd")):
    +                path = f"/var/run/user/{getuid()}"
    +                if not Path(path).exists():
    +                    path = f"/tmp/runtime-{getuid()}"  # noqa: S108
    +            else:
    +                path = f"/run/user/{getuid()}"
    +        return self._append_app_name_and_version(path)
    +
    +    @property
    +    def site_runtime_dir(self) -> str:
    +        """
    +        :return: runtime directory shared by users, e.g. ``/run/$appname/$version`` or \
    +        ``$XDG_RUNTIME_DIR/$appname/$version``.
    +
    +        Note that this behaves almost exactly like `user_runtime_dir` if ``$XDG_RUNTIME_DIR`` is set, but will
    +        fall back to paths associated to the root user instead of a regular logged-in user if it's not set.
    +
    +        If you wish to ensure that a logged-in root user path is returned e.g. ``/run/user/0``, use `user_runtime_dir`
    +        instead.
    +
    +        For FreeBSD/OpenBSD/NetBSD, it would return ``/var/run/$appname/$version`` if ``$XDG_RUNTIME_DIR`` is not set.
    +        """
    +        path = os.environ.get("XDG_RUNTIME_DIR", "")
    +        if not path.strip():
    +            if sys.platform.startswith(("freebsd", "openbsd", "netbsd")):
    +                path = "/var/run"
    +            else:
    +                path = "/run"
    +        return self._append_app_name_and_version(path)
    +
    +    @property
    +    def site_data_path(self) -> Path:
    +        """:return: data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
    +        return self._first_item_as_path_if_multipath(self.site_data_dir)
    +
    +    @property
    +    def site_config_path(self) -> Path:
    +        """:return: config path shared by the users, returns the first item, even if ``multipath`` is set to ``True``"""
    +        return self._first_item_as_path_if_multipath(self.site_config_dir)
    +
    +    @property
    +    def site_cache_path(self) -> Path:
    +        """:return: cache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``"""
    +        return self._first_item_as_path_if_multipath(self.site_cache_dir)
    +
    +    def iter_config_dirs(self) -> Iterator[str]:
    +        """:yield: all user and site configuration directories."""
    +        yield self.user_config_dir
    +        yield from self._site_config_dirs
    +
    +    def iter_data_dirs(self) -> Iterator[str]:
    +        """:yield: all user and site data directories."""
    +        yield self.user_data_dir
    +        yield from self._site_data_dirs
    +
    +
    +def _get_user_media_dir(env_var: str, fallback_tilde_path: str) -> str:
    +    media_dir = _get_user_dirs_folder(env_var)
    +    if media_dir is None:
    +        media_dir = os.environ.get(env_var, "").strip()
    +        if not media_dir:
    +            media_dir = os.path.expanduser(fallback_tilde_path)  # noqa: PTH111
    +
    +    return media_dir
    +
    +
    +def _get_user_dirs_folder(key: str) -> str | None:
    +    """
    +    Return directory from user-dirs.dirs config file.
    +
    +    See https://freedesktop.org/wiki/Software/xdg-user-dirs/.
    +
    +    """
    +    user_dirs_config_path = Path(Unix().user_config_dir) / "user-dirs.dirs"
    +    if user_dirs_config_path.exists():
    +        parser = ConfigParser()
    +
    +        with user_dirs_config_path.open() as stream:
    +            # Add fake section header, so ConfigParser doesn't complain
    +            parser.read_string(f"[top]\n{stream.read()}")
    +
    +        if key not in parser["top"]:
    +            return None
    +
    +        path = parser["top"][key].strip('"')
    +        # Handle relative home paths
    +        return path.replace("$HOME", os.path.expanduser("~"))  # noqa: PTH111
    +
    +    return None
    +
    +
    +__all__ = [
    +    "Unix",
    +]
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..611ac615443da84265762ca5c3b084a02dd4c23a
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py
    @@ -0,0 +1,21 @@
    +# file generated by setuptools-scm
    +# don't change, don't track in version control
    +
    +__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
    +
    +TYPE_CHECKING = False
    +if TYPE_CHECKING:
    +    from typing import Tuple
    +    from typing import Union
    +
    +    VERSION_TUPLE = Tuple[Union[int, str], ...]
    +else:
    +    VERSION_TUPLE = object
    +
    +version: str
    +__version__: str
    +__version_tuple__: VERSION_TUPLE
    +version_tuple: VERSION_TUPLE
    +
    +__version__ = version = '4.3.8'
    +__version_tuple__ = version_tuple = (4, 3, 8)
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/windows.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/windows.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..d7bc96091a2b1cd078a0847519cb5dd50a5d8898
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/windows.py
    @@ -0,0 +1,272 @@
    +"""Windows."""
    +
    +from __future__ import annotations
    +
    +import os
    +import sys
    +from functools import lru_cache
    +from typing import TYPE_CHECKING
    +
    +from .api import PlatformDirsABC
    +
    +if TYPE_CHECKING:
    +    from collections.abc import Callable
    +
    +
    +class Windows(PlatformDirsABC):
    +    """
    +    `MSDN on where to store app data files `_.
    +
    +    Makes use of the `appname `, `appauthor
    +    `, `version `, `roaming
    +    `, `opinion `, `ensure_exists
    +    `.
    +
    +    """
    +
    +    @property
    +    def user_data_dir(self) -> str:
    +        """
    +        :return: data directory tied to the user, e.g.
    +         ``%USERPROFILE%\\AppData\\Local\\$appauthor\\$appname`` (not roaming) or
    +         ``%USERPROFILE%\\AppData\\Roaming\\$appauthor\\$appname`` (roaming)
    +        """
    +        const = "CSIDL_APPDATA" if self.roaming else "CSIDL_LOCAL_APPDATA"
    +        path = os.path.normpath(get_win_folder(const))
    +        return self._append_parts(path)
    +
    +    def _append_parts(self, path: str, *, opinion_value: str | None = None) -> str:
    +        params = []
    +        if self.appname:
    +            if self.appauthor is not False:
    +                author = self.appauthor or self.appname
    +                params.append(author)
    +            params.append(self.appname)
    +            if opinion_value is not None and self.opinion:
    +                params.append(opinion_value)
    +            if self.version:
    +                params.append(self.version)
    +        path = os.path.join(path, *params)  # noqa: PTH118
    +        self._optionally_create_directory(path)
    +        return path
    +
    +    @property
    +    def site_data_dir(self) -> str:
    +        """:return: data directory shared by users, e.g. ``C:\\ProgramData\\$appauthor\\$appname``"""
    +        path = os.path.normpath(get_win_folder("CSIDL_COMMON_APPDATA"))
    +        return self._append_parts(path)
    +
    +    @property
    +    def user_config_dir(self) -> str:
    +        """:return: config directory tied to the user, same as `user_data_dir`"""
    +        return self.user_data_dir
    +
    +    @property
    +    def site_config_dir(self) -> str:
    +        """:return: config directory shared by the users, same as `site_data_dir`"""
    +        return self.site_data_dir
    +
    +    @property
    +    def user_cache_dir(self) -> str:
    +        """
    +        :return: cache directory tied to the user (if opinionated with ``Cache`` folder within ``$appname``) e.g.
    +         ``%USERPROFILE%\\AppData\\Local\\$appauthor\\$appname\\Cache\\$version``
    +        """
    +        path = os.path.normpath(get_win_folder("CSIDL_LOCAL_APPDATA"))
    +        return self._append_parts(path, opinion_value="Cache")
    +
    +    @property
    +    def site_cache_dir(self) -> str:
    +        """:return: cache directory shared by users, e.g. ``C:\\ProgramData\\$appauthor\\$appname\\Cache\\$version``"""
    +        path = os.path.normpath(get_win_folder("CSIDL_COMMON_APPDATA"))
    +        return self._append_parts(path, opinion_value="Cache")
    +
    +    @property
    +    def user_state_dir(self) -> str:
    +        """:return: state directory tied to the user, same as `user_data_dir`"""
    +        return self.user_data_dir
    +
    +    @property
    +    def user_log_dir(self) -> str:
    +        """:return: log directory tied to the user, same as `user_data_dir` if not opinionated else ``Logs`` in it"""
    +        path = self.user_data_dir
    +        if self.opinion:
    +            path = os.path.join(path, "Logs")  # noqa: PTH118
    +            self._optionally_create_directory(path)
    +        return path
    +
    +    @property
    +    def user_documents_dir(self) -> str:
    +        """:return: documents directory tied to the user e.g. ``%USERPROFILE%\\Documents``"""
    +        return os.path.normpath(get_win_folder("CSIDL_PERSONAL"))
    +
    +    @property
    +    def user_downloads_dir(self) -> str:
    +        """:return: downloads directory tied to the user e.g. ``%USERPROFILE%\\Downloads``"""
    +        return os.path.normpath(get_win_folder("CSIDL_DOWNLOADS"))
    +
    +    @property
    +    def user_pictures_dir(self) -> str:
    +        """:return: pictures directory tied to the user e.g. ``%USERPROFILE%\\Pictures``"""
    +        return os.path.normpath(get_win_folder("CSIDL_MYPICTURES"))
    +
    +    @property
    +    def user_videos_dir(self) -> str:
    +        """:return: videos directory tied to the user e.g. ``%USERPROFILE%\\Videos``"""
    +        return os.path.normpath(get_win_folder("CSIDL_MYVIDEO"))
    +
    +    @property
    +    def user_music_dir(self) -> str:
    +        """:return: music directory tied to the user e.g. ``%USERPROFILE%\\Music``"""
    +        return os.path.normpath(get_win_folder("CSIDL_MYMUSIC"))
    +
    +    @property
    +    def user_desktop_dir(self) -> str:
    +        """:return: desktop directory tied to the user, e.g. ``%USERPROFILE%\\Desktop``"""
    +        return os.path.normpath(get_win_folder("CSIDL_DESKTOPDIRECTORY"))
    +
    +    @property
    +    def user_runtime_dir(self) -> str:
    +        """
    +        :return: runtime directory tied to the user, e.g.
    +         ``%USERPROFILE%\\AppData\\Local\\Temp\\$appauthor\\$appname``
    +        """
    +        path = os.path.normpath(os.path.join(get_win_folder("CSIDL_LOCAL_APPDATA"), "Temp"))  # noqa: PTH118
    +        return self._append_parts(path)
    +
    +    @property
    +    def site_runtime_dir(self) -> str:
    +        """:return: runtime directory shared by users, same as `user_runtime_dir`"""
    +        return self.user_runtime_dir
    +
    +
    +def get_win_folder_from_env_vars(csidl_name: str) -> str:
    +    """Get folder from environment variables."""
    +    result = get_win_folder_if_csidl_name_not_env_var(csidl_name)
    +    if result is not None:
    +        return result
    +
    +    env_var_name = {
    +        "CSIDL_APPDATA": "APPDATA",
    +        "CSIDL_COMMON_APPDATA": "ALLUSERSPROFILE",
    +        "CSIDL_LOCAL_APPDATA": "LOCALAPPDATA",
    +    }.get(csidl_name)
    +    if env_var_name is None:
    +        msg = f"Unknown CSIDL name: {csidl_name}"
    +        raise ValueError(msg)
    +    result = os.environ.get(env_var_name)
    +    if result is None:
    +        msg = f"Unset environment variable: {env_var_name}"
    +        raise ValueError(msg)
    +    return result
    +
    +
    +def get_win_folder_if_csidl_name_not_env_var(csidl_name: str) -> str | None:
    +    """Get a folder for a CSIDL name that does not exist as an environment variable."""
    +    if csidl_name == "CSIDL_PERSONAL":
    +        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Documents")  # noqa: PTH118
    +
    +    if csidl_name == "CSIDL_DOWNLOADS":
    +        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Downloads")  # noqa: PTH118
    +
    +    if csidl_name == "CSIDL_MYPICTURES":
    +        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Pictures")  # noqa: PTH118
    +
    +    if csidl_name == "CSIDL_MYVIDEO":
    +        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Videos")  # noqa: PTH118
    +
    +    if csidl_name == "CSIDL_MYMUSIC":
    +        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Music")  # noqa: PTH118
    +    return None
    +
    +
    +def get_win_folder_from_registry(csidl_name: str) -> str:
    +    """
    +    Get folder from the registry.
    +
    +    This is a fallback technique at best. I'm not sure if using the registry for these guarantees us the correct answer
    +    for all CSIDL_* names.
    +
    +    """
    +    shell_folder_name = {
    +        "CSIDL_APPDATA": "AppData",
    +        "CSIDL_COMMON_APPDATA": "Common AppData",
    +        "CSIDL_LOCAL_APPDATA": "Local AppData",
    +        "CSIDL_PERSONAL": "Personal",
    +        "CSIDL_DOWNLOADS": "{374DE290-123F-4565-9164-39C4925E467B}",
    +        "CSIDL_MYPICTURES": "My Pictures",
    +        "CSIDL_MYVIDEO": "My Video",
    +        "CSIDL_MYMUSIC": "My Music",
    +    }.get(csidl_name)
    +    if shell_folder_name is None:
    +        msg = f"Unknown CSIDL name: {csidl_name}"
    +        raise ValueError(msg)
    +    if sys.platform != "win32":  # only needed for mypy type checker to know that this code runs only on Windows
    +        raise NotImplementedError
    +    import winreg  # noqa: PLC0415
    +
    +    key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders")
    +    directory, _ = winreg.QueryValueEx(key, shell_folder_name)
    +    return str(directory)
    +
    +
    +def get_win_folder_via_ctypes(csidl_name: str) -> str:
    +    """Get folder with ctypes."""
    +    # There is no 'CSIDL_DOWNLOADS'.
    +    # Use 'CSIDL_PROFILE' (40) and append the default folder 'Downloads' instead.
    +    # https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid
    +
    +    import ctypes  # noqa: PLC0415
    +
    +    csidl_const = {
    +        "CSIDL_APPDATA": 26,
    +        "CSIDL_COMMON_APPDATA": 35,
    +        "CSIDL_LOCAL_APPDATA": 28,
    +        "CSIDL_PERSONAL": 5,
    +        "CSIDL_MYPICTURES": 39,
    +        "CSIDL_MYVIDEO": 14,
    +        "CSIDL_MYMUSIC": 13,
    +        "CSIDL_DOWNLOADS": 40,
    +        "CSIDL_DESKTOPDIRECTORY": 16,
    +    }.get(csidl_name)
    +    if csidl_const is None:
    +        msg = f"Unknown CSIDL name: {csidl_name}"
    +        raise ValueError(msg)
    +
    +    buf = ctypes.create_unicode_buffer(1024)
    +    windll = getattr(ctypes, "windll")  # noqa: B009 # using getattr to avoid false positive with mypy type checker
    +    windll.shell32.SHGetFolderPathW(None, csidl_const, None, 0, buf)
    +
    +    # Downgrade to short path name if it has high-bit chars.
    +    if any(ord(c) > 255 for c in buf):  # noqa: PLR2004
    +        buf2 = ctypes.create_unicode_buffer(1024)
    +        if windll.kernel32.GetShortPathNameW(buf.value, buf2, 1024):
    +            buf = buf2
    +
    +    if csidl_name == "CSIDL_DOWNLOADS":
    +        return os.path.join(buf.value, "Downloads")  # noqa: PTH118
    +
    +    return buf.value
    +
    +
    +def _pick_get_win_folder() -> Callable[[str], str]:
    +    try:
    +        import ctypes  # noqa: PLC0415
    +    except ImportError:
    +        pass
    +    else:
    +        if hasattr(ctypes, "windll"):
    +            return get_win_folder_via_ctypes
    +    try:
    +        import winreg  # noqa: PLC0415, F401
    +    except ImportError:
    +        return get_win_folder_from_env_vars
    +    else:
    +        return get_win_folder_from_registry
    +
    +
    +get_win_folder = lru_cache(maxsize=None)(_pick_get_win_folder())
    +
    +__all__ = [
    +    "Windows",
    +]
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..cb229c985005bd1b844c7c84dbe59378d3c3938e
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py
    @@ -0,0 +1,82 @@
    +"""
    +    Pygments
    +    ~~~~~~~~
    +
    +    Pygments is a syntax highlighting package written in Python.
    +
    +    It is a generic syntax highlighter for general use in all kinds of software
    +    such as forum systems, wikis or other applications that need to prettify
    +    source code. Highlights are:
    +
    +    * a wide range of common languages and markup formats is supported
    +    * special attention is paid to details, increasing quality by a fair amount
    +    * support for new languages and formats are added easily
    +    * a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
    +      formats that PIL supports, and ANSI sequences
    +    * it is usable as a command-line tool and as a library
    +    * ... and it highlights even Brainfuck!
    +
    +    The `Pygments master branch`_ is installable with ``easy_install Pygments==dev``.
    +
    +    .. _Pygments master branch:
    +       https://github.com/pygments/pygments/archive/master.zip#egg=Pygments-dev
    +
    +    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    +    :license: BSD, see LICENSE for details.
    +"""
    +from io import StringIO, BytesIO
    +
    +__version__ = '2.19.2'
    +__docformat__ = 'restructuredtext'
    +
    +__all__ = ['lex', 'format', 'highlight']
    +
    +
    +def lex(code, lexer):
    +    """
    +    Lex `code` with the `lexer` (must be a `Lexer` instance)
    +    and return an iterable of tokens. Currently, this only calls
    +    `lexer.get_tokens()`.
    +    """
    +    try:
    +        return lexer.get_tokens(code)
    +    except TypeError:
    +        # Heuristic to catch a common mistake.
    +        from pip._vendor.pygments.lexer import RegexLexer
    +        if isinstance(lexer, type) and issubclass(lexer, RegexLexer):
    +            raise TypeError('lex() argument must be a lexer instance, '
    +                            'not a class')
    +        raise
    +
    +
    +def format(tokens, formatter, outfile=None):  # pylint: disable=redefined-builtin
    +    """
    +    Format ``tokens`` (an iterable of tokens) with the formatter ``formatter``
    +    (a `Formatter` instance).
    +
    +    If ``outfile`` is given and a valid file object (an object with a
    +    ``write`` method), the result will be written to it, otherwise it
    +    is returned as a string.
    +    """
    +    try:
    +        if not outfile:
    +            realoutfile = getattr(formatter, 'encoding', None) and BytesIO() or StringIO()
    +            formatter.format(tokens, realoutfile)
    +            return realoutfile.getvalue()
    +        else:
    +            formatter.format(tokens, outfile)
    +    except TypeError:
    +        # Heuristic to catch a common mistake.
    +        from pip._vendor.pygments.formatter import Formatter
    +        if isinstance(formatter, type) and issubclass(formatter, Formatter):
    +            raise TypeError('format() argument must be a formatter instance, '
    +                            'not a class')
    +        raise
    +
    +
    +def highlight(code, lexer, formatter, outfile=None):
    +    """
    +    This is the most high-level highlighting function. It combines `lex` and
    +    `format` in one function.
    +    """
    +    return format(lex(code, lexer), formatter, outfile)
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__main__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__main__.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..a2e612f51a860765e4f35ff24cf2ce8f984f5cc4
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__main__.py
    @@ -0,0 +1,17 @@
    +"""
    +    pygments.__main__
    +    ~~~~~~~~~~~~~~~~~
    +
    +    Main entry point for ``python -m pygments``.
    +
    +    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    +    :license: BSD, see LICENSE for details.
    +"""
    +
    +import sys
    +from pip._vendor.pygments.cmdline import main
    +
    +try:
    +    sys.exit(main(sys.argv))
    +except KeyboardInterrupt:
    +    sys.exit(1)
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..aaae07cda1ceabd0036a666c1b0bae3a3e00dd9a
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..37e4253628485c02b483eebb3d5e0504c5a2e5fe
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..478ea5c90526451fb996b21c888bf43ed176985c
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..ff85542506f118b539b33f4a9182223bd8b45865
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..f87b93a82a7b620f4a9c5b788644c2bd13813144
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..63ae00d1ced8521a028422061322d8a5dd20825b
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..c581dd960bbea9e4ec1db356d559e3df32767104
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..ec579ae490d3f3984dd5b934601d0c7f6ae6e4ef
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..28da640008ca5521497092c9b076b213b60abd26
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..a564221562a0f32debafcc8ae209e0b802fd1bd3
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..5f8b6419af6413ee3a474410b3ae48e7e0b89032
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..47ed81f5258d073a301827cd6aabe1e0d65e10c0
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..27d3f949dedc9a453f040ce32f7d617b7b3bfdb5
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..54c1fa816f4a1aa65aac852cdc33f3bf9b06ebc1
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc
    new file mode 100644
    index 0000000000000000000000000000000000000000..3f17b6bdfb40bf8bcf8ecc03def8d21467e02f1e
    Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc differ
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/console.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/console.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..ee1ac27a2ffdc119a1db9128a034300b31d464a8
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/console.py
    @@ -0,0 +1,70 @@
    +"""
    +    pygments.console
    +    ~~~~~~~~~~~~~~~~
    +
    +    Format colored console output.
    +
    +    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    +    :license: BSD, see LICENSE for details.
    +"""
    +
    +esc = "\x1b["
    +
    +codes = {}
    +codes[""] = ""
    +codes["reset"] = esc + "39;49;00m"
    +
    +codes["bold"] = esc + "01m"
    +codes["faint"] = esc + "02m"
    +codes["standout"] = esc + "03m"
    +codes["underline"] = esc + "04m"
    +codes["blink"] = esc + "05m"
    +codes["overline"] = esc + "06m"
    +
    +dark_colors = ["black", "red", "green", "yellow", "blue",
    +               "magenta", "cyan", "gray"]
    +light_colors = ["brightblack", "brightred", "brightgreen", "brightyellow", "brightblue",
    +                "brightmagenta", "brightcyan", "white"]
    +
    +x = 30
    +for dark, light in zip(dark_colors, light_colors):
    +    codes[dark] = esc + "%im" % x
    +    codes[light] = esc + "%im" % (60 + x)
    +    x += 1
    +
    +del dark, light, x
    +
    +codes["white"] = codes["bold"]
    +
    +
    +def reset_color():
    +    return codes["reset"]
    +
    +
    +def colorize(color_key, text):
    +    return codes[color_key] + text + codes["reset"]
    +
    +
    +def ansiformat(attr, text):
    +    """
    +    Format ``text`` with a color and/or some attributes::
    +
    +        color       normal color
    +        *color*     bold color
    +        _color_     underlined color
    +        +color+     blinking color
    +    """
    +    result = []
    +    if attr[:1] == attr[-1:] == '+':
    +        result.append(codes['blink'])
    +        attr = attr[1:-1]
    +    if attr[:1] == attr[-1:] == '*':
    +        result.append(codes['bold'])
    +        attr = attr[1:-1]
    +    if attr[:1] == attr[-1:] == '_':
    +        result.append(codes['underline'])
    +        attr = attr[1:-1]
    +    result.append(codes[attr])
    +    result.append(text)
    +    result.append(codes['reset'])
    +    return ''.join(result)
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filter.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filter.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..5efff438d2b3a187c681e445e4607b529f3ce42a
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filter.py
    @@ -0,0 +1,70 @@
    +"""
    +    pygments.filter
    +    ~~~~~~~~~~~~~~~
    +
    +    Module that implements the default filter.
    +
    +    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    +    :license: BSD, see LICENSE for details.
    +"""
    +
    +
    +def apply_filters(stream, filters, lexer=None):
    +    """
    +    Use this method to apply an iterable of filters to
    +    a stream. If lexer is given it's forwarded to the
    +    filter, otherwise the filter receives `None`.
    +    """
    +    def _apply(filter_, stream):
    +        yield from filter_.filter(lexer, stream)
    +    for filter_ in filters:
    +        stream = _apply(filter_, stream)
    +    return stream
    +
    +
    +def simplefilter(f):
    +    """
    +    Decorator that converts a function into a filter::
    +
    +        @simplefilter
    +        def lowercase(self, lexer, stream, options):
    +            for ttype, value in stream:
    +                yield ttype, value.lower()
    +    """
    +    return type(f.__name__, (FunctionFilter,), {
    +        '__module__': getattr(f, '__module__'),
    +        '__doc__': f.__doc__,
    +        'function': f,
    +    })
    +
    +
    +class Filter:
    +    """
    +    Default filter. Subclass this class or use the `simplefilter`
    +    decorator to create own filters.
    +    """
    +
    +    def __init__(self, **options):
    +        self.options = options
    +
    +    def filter(self, lexer, stream):
    +        raise NotImplementedError()
    +
    +
    +class FunctionFilter(Filter):
    +    """
    +    Abstract class used by `simplefilter` to create simple
    +    function filters on the fly. The `simplefilter` decorator
    +    automatically creates subclasses of this class for
    +    functions passed to it.
    +    """
    +    function = None
    +
    +    def __init__(self, **options):
    +        if not hasattr(self, 'function'):
    +            raise TypeError(f'{self.__class__.__name__!r} used without bound function')
    +        Filter.__init__(self, **options)
    +
    +    def filter(self, lexer, stream):
    +        # pylint: disable=not-callable
    +        yield from self.function(lexer, stream, self.options)
    diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__init__.py
    new file mode 100644
    index 0000000000000000000000000000000000000000..97380c92d48af3f1ce740d9ac239309414298b06
    --- /dev/null
    +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__init__.py
    @@ -0,0 +1,940 @@
    +"""
    +    pygments.filters
    +    ~~~~~~~~~~~~~~~~
    +
    +    Module containing filter lookup functions and default
    +    filters.
    +
    +    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    +    :license: BSD, see LICENSE for details.
    +"""
    +
    +import re
    +
    +from pip._vendor.pygments.token import String, Comment, Keyword, Name, Error, Whitespace, \
    +    string_to_tokentype
    +from pip._vendor.pygments.filter import Filter
    +from pip._vendor.pygments.util import get_list_opt, get_int_opt, get_bool_opt, \
    +    get_choice_opt, ClassNotFound, OptionError
    +from pip._vendor.pygments.plugin import find_plugin_filters
    +
    +
    +def find_filter_class(filtername):
    +    """Lookup a filter by name. Return None if not found."""
    +    if filtername in FILTERS:
    +        return FILTERS[filtername]
    +    for name, cls in find_plugin_filters():
    +        if name == filtername:
    +            return cls
    +    return None
    +
    +
    +def get_filter_by_name(filtername, **options):
    +    """Return an instantiated filter.
    +
    +    Options are passed to the filter initializer if wanted.
    +    Raise a ClassNotFound if not found.
    +    """
    +    cls = find_filter_class(filtername)
    +    if cls:
    +        return cls(**options)
    +    else:
    +        raise ClassNotFound(f'filter {filtername!r} not found')
    +
    +
    +def get_all_filters():
    +    """Return a generator of all filter names."""
    +    yield from FILTERS
    +    for name, _ in find_plugin_filters():
    +        yield name
    +
    +
    +def _replace_special(ttype, value, regex, specialttype,
    +                     replacefunc=lambda x: x):
    +    last = 0
    +    for match in regex.finditer(value):
    +        start, end = match.start(), match.end()
    +        if start != last:
    +            yield ttype, value[last:start]
    +        yield specialttype, replacefunc(value[start:end])
    +        last = end
    +    if last != len(value):
    +        yield ttype, value[last:]
    +
    +
    +class CodeTagFilter(Filter):
    +    """Highlight special code tags in comments and docstrings.
    +
    +    Options accepted:
    +
    +    `codetags` : list of strings
    +       A list of strings that are flagged as code tags.  The default is to
    +       highlight ``XXX``, ``TODO``, ``FIXME``, ``BUG`` and ``NOTE``.
    +
    +    .. versionchanged:: 2.13
    +       Now recognizes ``FIXME`` by default.
    +    """
    +
    +    def __init__(self, **options):
    +        Filter.__init__(self, **options)
    +        tags = get_list_opt(options, 'codetags',
    +                            ['XXX', 'TODO', 'FIXME', 'BUG', 'NOTE'])
    +        self.tag_re = re.compile(r'\b({})\b'.format('|'.join([
    +            re.escape(tag) for tag in tags if tag
    +        ])))
    +
    +    def filter(self, lexer, stream):
    +        regex = self.tag_re
    +        for ttype, value in stream:
    +            if ttype in String.Doc or \
    +               ttype in Comment and \
    +               ttype not in Comment.Preproc:
    +                yield from _replace_special(ttype, value, regex, Comment.Special)
    +            else:
    +                yield ttype, value
    +
    +
    +class SymbolFilter(Filter):
    +    """Convert mathematical symbols such as \\ in Isabelle
    +    or \\longrightarrow in LaTeX into Unicode characters.
    +
    +    This is mostly useful for HTML or console output when you want to
    +    approximate the source rendering you'd see in an IDE.
    +
    +    Options accepted:
    +
    +    `lang` : string
    +       The symbol language. Must be one of ``'isabelle'`` or
    +       ``'latex'``.  The default is ``'isabelle'``.
    +    """
    +
    +    latex_symbols = {
    +        '\\alpha'                : '\U000003b1',
    +        '\\beta'                 : '\U000003b2',
    +        '\\gamma'                : '\U000003b3',
    +        '\\delta'                : '\U000003b4',
    +        '\\varepsilon'           : '\U000003b5',
    +        '\\zeta'                 : '\U000003b6',
    +        '\\eta'                  : '\U000003b7',
    +        '\\vartheta'             : '\U000003b8',
    +        '\\iota'                 : '\U000003b9',
    +        '\\kappa'                : '\U000003ba',
    +        '\\lambda'               : '\U000003bb',
    +        '\\mu'                   : '\U000003bc',
    +        '\\nu'                   : '\U000003bd',
    +        '\\xi'                   : '\U000003be',
    +        '\\pi'                   : '\U000003c0',
    +        '\\varrho'               : '\U000003c1',
    +        '\\sigma'                : '\U000003c3',
    +        '\\tau'                  : '\U000003c4',
    +        '\\upsilon'              : '\U000003c5',
    +        '\\varphi'               : '\U000003c6',
    +        '\\chi'                  : '\U000003c7',
    +        '\\psi'                  : '\U000003c8',
    +        '\\omega'                : '\U000003c9',
    +        '\\Gamma'                : '\U00000393',
    +        '\\Delta'                : '\U00000394',
    +        '\\Theta'                : '\U00000398',
    +        '\\Lambda'               : '\U0000039b',
    +        '\\Xi'                   : '\U0000039e',
    +        '\\Pi'                   : '\U000003a0',
    +        '\\Sigma'                : '\U000003a3',
    +        '\\Upsilon'              : '\U000003a5',
    +        '\\Phi'                  : '\U000003a6',
    +        '\\Psi'                  : '\U000003a8',
    +        '\\Omega'                : '\U000003a9',
    +        '\\leftarrow'            : '\U00002190',
    +        '\\longleftarrow'        : '\U000027f5',
    +        '\\rightarrow'           : '\U00002192',
    +        '\\longrightarrow'       : '\U000027f6',
    +        '\\Leftarrow'            : '\U000021d0',
    +        '\\Longleftarrow'        : '\U000027f8',
    +        '\\Rightarrow'           : '\U000021d2',
    +        '\\Longrightarrow'       : '\U000027f9',
    +        '\\leftrightarrow'       : '\U00002194',
    +        '\\longleftrightarrow'   : '\U000027f7',
    +        '\\Leftrightarrow'       : '\U000021d4',
    +        '\\Longleftrightarrow'   : '\U000027fa',
    +        '\\mapsto'               : '\U000021a6',
    +        '\\longmapsto'           : '\U000027fc',
    +        '\\relbar'               : '\U00002500',
    +        '\\Relbar'               : '\U00002550',
    +        '\\hookleftarrow'        : '\U000021a9',
    +        '\\hookrightarrow'       : '\U000021aa',
    +        '\\leftharpoondown'      : '\U000021bd',
    +        '\\rightharpoondown'     : '\U000021c1',
    +        '\\leftharpoonup'        : '\U000021bc',
    +        '\\rightharpoonup'       : '\U000021c0',
    +        '\\rightleftharpoons'    : '\U000021cc',
    +        '\\leadsto'              : '\U0000219d',
    +        '\\downharpoonleft'      : '\U000021c3',
    +        '\\downharpoonright'     : '\U000021c2',
    +        '\\upharpoonleft'        : '\U000021bf',
    +        '\\upharpoonright'       : '\U000021be',
    +        '\\restriction'          : '\U000021be',
    +        '\\uparrow'              : '\U00002191',
    +        '\\Uparrow'              : '\U000021d1',
    +        '\\downarrow'            : '\U00002193',
    +        '\\Downarrow'            : '\U000021d3',
    +        '\\updownarrow'          : '\U00002195',
    +        '\\Updownarrow'          : '\U000021d5',
    +        '\\langle'               : '\U000027e8',
    +        '\\rangle'               : '\U000027e9',
    +        '\\lceil'                : '\U00002308',
    +        '\\rceil'                : '\U00002309',
    +        '\\lfloor'               : '\U0000230a',
    +        '\\rfloor'               : '\U0000230b',
    +        '\\flqq'                 : '\U000000ab',
    +        '\\frqq'                 : '\U000000bb',
    +        '\\bot'                  : '\U000022a5',
    +        '\\top'                  : '\U000022a4',
    +        '\\wedge'                : '\U00002227',
    +        '\\bigwedge'             : '\U000022c0',
    +        '\\vee'                  : '\U00002228',
    +        '\\bigvee'               : '\U000022c1',
    +        '\\forall'               : '\U00002200',
    +        '\\exists'               : '\U00002203',
    +        '\\nexists'              : '\U00002204',
    +        '\\neg'                  : '\U000000ac',
    +        '\\Box'                  : '\U000025a1',
    +        '\\Diamond'              : '\U000025c7',
    +        '\\vdash'                : '\U000022a2',
    +        '\\models'               : '\U000022a8',
    +        '\\dashv'                : '\U000022a3',
    +        '\\surd'                 : '\U0000221a',
    +        '\\le'                   : '\U00002264',
    +        '\\ge'                   : '\U00002265',
    +        '\\ll'                   : '\U0000226a',
    +        '\\gg'                   : '\U0000226b',
    +        '\\lesssim'              : '\U00002272',
    +        '\\gtrsim'               : '\U00002273',
    +        '\\lessapprox'           : '\U00002a85',
    +        '\\gtrapprox'            : '\U00002a86',
    +        '\\in'                   : '\U00002208',
    +        '\\notin'                : '\U00002209',
    +        '\\subset'               : '\U00002282',
    +        '\\supset'               : '\U00002283',
    +        '\\subseteq'             : '\U00002286',
    +        '\\supseteq'             : '\U00002287',
    +        '\\sqsubset'             : '\U0000228f',
    +        '\\sqsupset'             : '\U00002290',
    +        '\\sqsubseteq'           : '\U00002291',
    +        '\\sqsupseteq'           : '\U00002292',
    +        '\\cap'                  : '\U00002229',
    +        '\\bigcap'               : '\U000022c2',
    +        '\\cup'                  : '\U0000222a',
    +        '\\bigcup'               : '\U000022c3',
    +        '\\sqcup'                : '\U00002294',
    +        '\\bigsqcup'             : '\U00002a06',
    +        '\\sqcap'                : '\U00002293',
    +        '\\Bigsqcap'             : '\U00002a05',
    +        '\\setminus'             : '\U00002216',
    +        '\\propto'               : '\U0000221d',
    +        '\\uplus'                : '\U0000228e',
    +        '\\bigplus'              : '\U00002a04',
    +        '\\sim'                  : '\U0000223c',
    +        '\\doteq'                : '\U00002250',
    +        '\\simeq'                : '\U00002243',
    +        '\\approx'               : '\U00002248',
    +        '\\asymp'                : '\U0000224d',
    +        '\\cong'                 : '\U00002245',
    +        '\\equiv'                : '\U00002261',
    +        '\\Join'                 : '\U000022c8',
    +        '\\bowtie'               : '\U00002a1d',
    +        '\\prec'                 : '\U0000227a',
    +        '\\succ'                 : '\U0000227b',
    +        '\\preceq'               : '\U0000227c',
    +        '\\succeq'               : '\U0000227d',
    +        '\\parallel'             : '\U00002225',
    +        '\\mid'                  : '\U000000a6',
    +        '\\pm'                   : '\U000000b1',
    +        '\\mp'                   : '\U00002213',
    +        '\\times'                : '\U000000d7',
    +        '\\div'                  : '\U000000f7',
    +        '\\cdot'                 : '\U000022c5',
    +        '\\star'                 : '\U000022c6',
    +        '\\circ'                 : '\U00002218',
    +        '\\dagger'               : '\U00002020',
    +        '\\ddagger'              : '\U00002021',
    +        '\\lhd'                  : '\U000022b2',
    +        '\\rhd'                  : '\U000022b3',
    +        '\\unlhd'                : '\U000022b4',
    +        '\\unrhd'                : '\U000022b5',
    +        '\\triangleleft'         : '\U000025c3',
    +        '\\triangleright'        : '\U000025b9',
    +        '\\triangle'             : '\U000025b3',
    +        '\\triangleq'            : '\U0000225c',
    +        '\\oplus'                : '\U00002295',
    +        '\\bigoplus'             : '\U00002a01',
    +        '\\otimes'               : '\U00002297',
    +        '\\bigotimes'            : '\U00002a02',
    +        '\\odot'                 : '\U00002299',
    +        '\\bigodot'              : '\U00002a00',
    +        '\\ominus'               : '\U00002296',
    +        '\\oslash'               : '\U00002298',
    +        '\\dots'                 : '\U00002026',
    +        '\\cdots'                : '\U000022ef',
    +        '\\sum'                  : '\U00002211',
    +        '\\prod'                 : '\U0000220f',
    +        '\\coprod'               : '\U00002210',
    +        '\\infty'                : '\U0000221e',
    +        '\\int'                  : '\U0000222b',
    +        '\\oint'                 : '\U0000222e',
    +        '\\clubsuit'             : '\U00002663',
    +        '\\diamondsuit'          : '\U00002662',
    +        '\\heartsuit'            : '\U00002661',
    +        '\\spadesuit'            : '\U00002660',
    +        '\\aleph'                : '\U00002135',
    +        '\\emptyset'             : '\U00002205',
    +        '\\nabla'                : '\U00002207',
    +        '\\partial'              : '\U00002202',
    +        '\\flat'                 : '\U0000266d',
    +        '\\natural'              : '\U0000266e',
    +        '\\sharp'                : '\U0000266f',
    +        '\\angle'                : '\U00002220',
    +        '\\copyright'            : '\U000000a9',
    +        '\\textregistered'       : '\U000000ae',
    +        '\\textonequarter'       : '\U000000bc',
    +        '\\textonehalf'          : '\U000000bd',
    +        '\\textthreequarters'    : '\U000000be',
    +        '\\textordfeminine'      : '\U000000aa',
    +        '\\textordmasculine'     : '\U000000ba',
    +        '\\euro'                 : '\U000020ac',
    +        '\\pounds'               : '\U000000a3',
    +        '\\yen'                  : '\U000000a5',
    +        '\\textcent'             : '\U000000a2',
    +        '\\textcurrency'         : '\U000000a4',
    +        '\\textdegree'           : '\U000000b0',
    +    }
    +
    +    isabelle_symbols = {
    +        '\\'                 : '\U0001d7ec',
    +        '\\'                  : '\U0001d7ed',
    +        '\\'                  : '\U0001d7ee',
    +        '\\'                : '\U0001d7ef',
    +        '\\'                 : '\U0001d7f0',
    +        '\\'                 : '\U0001d7f1',
    +        '\\'                  : '\U0001d7f2',
    +        '\\'                : '\U0001d7f3',
    +        '\\'                : '\U0001d7f4',
    +        '\\'                 : '\U0001d7f5',
    +        '\\'                    : '\U0001d49c',
    +        '\\'                    : '\U0000212c',
    +        '\\'                    : '\U0001d49e',
    +        '\\'                    : '\U0001d49f',
    +        '\\'                    : '\U00002130',
    +        '\\'                    : '\U00002131',
    +        '\\'                    : '\U0001d4a2',
    +        '\\'                    : '\U0000210b',
    +        '\\'                    : '\U00002110',
    +        '\\'                    : '\U0001d4a5',
    +        '\\'                    : '\U0001d4a6',
    +        '\\'                    : '\U00002112',
    +        '\\'                    : '\U00002133',
    +        '\\'                    : '\U0001d4a9',
    +        '\\'                    : '\U0001d4aa',
    +        '\\

    ' : '\U0001d5c9', + '\\' : '\U0001d5ca', + '\\' : '\U0001d5cb', + '\\' : '\U0001d5cc', + '\\' : '\U0001d5cd', + '\\' : '\U0001d5ce', + '\\' : '\U0001d5cf', + '\\' : '\U0001d5d0', + '\\' : '\U0001d5d1', + '\\' : '\U0001d5d2', + '\\' : '\U0001d5d3', + '\\' : '\U0001d504', + '\\' : '\U0001d505', + '\\' : '\U0000212d', + '\\

    ' : '\U0001d507', + '\\' : '\U0001d508', + '\\' : '\U0001d509', + '\\' : '\U0001d50a', + '\\' : '\U0000210c', + '\\' : '\U00002111', + '\\' : '\U0001d50d', + '\\' : '\U0001d50e', + '\\' : '\U0001d50f', + '\\' : '\U0001d510', + '\\' : '\U0001d511', + '\\' : '\U0001d512', + '\\' : '\U0001d513', + '\\' : '\U0001d514', + '\\' : '\U0000211c', + '\\' : '\U0001d516', + '\\' : '\U0001d517', + '\\' : '\U0001d518', + '\\' : '\U0001d519', + '\\' : '\U0001d51a', + '\\' : '\U0001d51b', + '\\' : '\U0001d51c', + '\\' : '\U00002128', + '\\' : '\U0001d51e', + '\\' : '\U0001d51f', + '\\' : '\U0001d520', + '\\
    ' : '\U0001d521', + '\\' : '\U0001d522', + '\\' : '\U0001d523', + '\\' : '\U0001d524', + '\\' : '\U0001d525', + '\\' : '\U0001d526', + '\\' : '\U0001d527', + '\\' : '\U0001d528', + '\\' : '\U0001d529', + '\\' : '\U0001d52a', + '\\' : '\U0001d52b', + '\\' : '\U0001d52c', + '\\' : '\U0001d52d', + '\\' : '\U0001d52e', + '\\' : '\U0001d52f', + '\\' : '\U0001d530', + '\\' : '\U0001d531', + '\\' : '\U0001d532', + '\\' : '\U0001d533', + '\\' : '\U0001d534', + '\\' : '\U0001d535', + '\\' : '\U0001d536', + '\\' : '\U0001d537', + '\\' : '\U000003b1', + '\\' : '\U000003b2', + '\\' : '\U000003b3', + '\\' : '\U000003b4', + '\\' : '\U000003b5', + '\\' : '\U000003b6', + '\\' : '\U000003b7', + '\\' : '\U000003b8', + '\\' : '\U000003b9', + '\\' : '\U000003ba', + '\\' : '\U000003bb', + '\\' : '\U000003bc', + '\\' : '\U000003bd', + '\\' : '\U000003be', + '\\' : '\U000003c0', + '\\' : '\U000003c1', + '\\' : '\U000003c3', + '\\' : '\U000003c4', + '\\' : '\U000003c5', + '\\' : '\U000003c6', + '\\' : '\U000003c7', + '\\' : '\U000003c8', + '\\' : '\U000003c9', + '\\' : '\U00000393', + '\\' : '\U00000394', + '\\' : '\U00000398', + '\\' : '\U0000039b', + '\\' : '\U0000039e', + '\\' : '\U000003a0', + '\\' : '\U000003a3', + '\\' : '\U000003a5', + '\\' : '\U000003a6', + '\\' : '\U000003a8', + '\\' : '\U000003a9', + '\\' : '\U0001d539', + '\\' : '\U00002102', + '\\' : '\U00002115', + '\\' : '\U0000211a', + '\\' : '\U0000211d', + '\\' : '\U00002124', + '\\' : '\U00002190', + '\\' : '\U000027f5', + '\\' : '\U00002192', + '\\' : '\U000027f6', + '\\' : '\U000021d0', + '\\' : '\U000027f8', + '\\' : '\U000021d2', + '\\' : '\U000027f9', + '\\' : '\U00002194', + '\\' : '\U000027f7', + '\\' : '\U000021d4', + '\\' : '\U000027fa', + '\\' : '\U000021a6', + '\\' : '\U000027fc', + '\\' : '\U00002500', + '\\' : '\U00002550', + '\\' : '\U000021a9', + '\\' : '\U000021aa', + '\\' : '\U000021bd', + '\\' : '\U000021c1', + '\\' : '\U000021bc', + '\\' : '\U000021c0', + '\\' : '\U000021cc', + '\\' : '\U0000219d', + '\\' : '\U000021c3', + '\\' : '\U000021c2', + '\\' : '\U000021bf', + '\\' : '\U000021be', + '\\' : '\U000021be', + '\\' : '\U00002237', + '\\' : '\U00002191', + '\\' : '\U000021d1', + '\\' : '\U00002193', + '\\' : '\U000021d3', + '\\' : '\U00002195', + '\\' : '\U000021d5', + '\\' : '\U000027e8', + '\\' : '\U000027e9', + '\\' : '\U00002308', + '\\' : '\U00002309', + '\\' : '\U0000230a', + '\\' : '\U0000230b', + '\\' : '\U00002987', + '\\' : '\U00002988', + '\\' : '\U000027e6', + '\\' : '\U000027e7', + '\\' : '\U00002983', + '\\' : '\U00002984', + '\\' : '\U000000ab', + '\\' : '\U000000bb', + '\\' : '\U000022a5', + '\\' : '\U000022a4', + '\\' : '\U00002227', + '\\' : '\U000022c0', + '\\' : '\U00002228', + '\\' : '\U000022c1', + '\\' : '\U00002200', + '\\' : '\U00002203', + '\\' : '\U00002204', + '\\' : '\U000000ac', + '\\' : '\U000025a1', + '\\' : '\U000025c7', + '\\' : '\U000022a2', + '\\' : '\U000022a8', + '\\' : '\U000022a9', + '\\' : '\U000022ab', + '\\' : '\U000022a3', + '\\' : '\U0000221a', + '\\' : '\U00002264', + '\\' : '\U00002265', + '\\' : '\U0000226a', + '\\' : '\U0000226b', + '\\' : '\U00002272', + '\\' : '\U00002273', + '\\' : '\U00002a85', + '\\' : '\U00002a86', + '\\' : '\U00002208', + '\\' : '\U00002209', + '\\' : '\U00002282', + '\\' : '\U00002283', + '\\' : '\U00002286', + '\\' : '\U00002287', + '\\' : '\U0000228f', + '\\' : '\U00002290', + '\\' : '\U00002291', + '\\' : '\U00002292', + '\\' : '\U00002229', + '\\' : '\U000022c2', + '\\' : '\U0000222a', + '\\' : '\U000022c3', + '\\' : '\U00002294', + '\\' : '\U00002a06', + '\\' : '\U00002293', + '\\' : '\U00002a05', + '\\' : '\U00002216', + '\\' : '\U0000221d', + '\\' : '\U0000228e', + '\\' : '\U00002a04', + '\\' : '\U00002260', + '\\' : '\U0000223c', + '\\' : '\U00002250', + '\\' : '\U00002243', + '\\' : '\U00002248', + '\\' : '\U0000224d', + '\\' : '\U00002245', + '\\' : '\U00002323', + '\\' : '\U00002261', + '\\' : '\U00002322', + '\\' : '\U000022c8', + '\\' : '\U00002a1d', + '\\' : '\U0000227a', + '\\' : '\U0000227b', + '\\' : '\U0000227c', + '\\' : '\U0000227d', + '\\' : '\U00002225', + '\\' : '\U000000a6', + '\\' : '\U000000b1', + '\\' : '\U00002213', + '\\' : '\U000000d7', + '\\
    ' : '\U000000f7', + '\\' : '\U000022c5', + '\\' : '\U000022c6', + '\\' : '\U00002219', + '\\' : '\U00002218', + '\\' : '\U00002020', + '\\' : '\U00002021', + '\\' : '\U000022b2', + '\\' : '\U000022b3', + '\\' : '\U000022b4', + '\\' : '\U000022b5', + '\\' : '\U000025c3', + '\\' : '\U000025b9', + '\\' : '\U000025b3', + '\\' : '\U0000225c', + '\\' : '\U00002295', + '\\' : '\U00002a01', + '\\' : '\U00002297', + '\\' : '\U00002a02', + '\\' : '\U00002299', + '\\' : '\U00002a00', + '\\' : '\U00002296', + '\\' : '\U00002298', + '\\' : '\U00002026', + '\\' : '\U000022ef', + '\\' : '\U00002211', + '\\' : '\U0000220f', + '\\' : '\U00002210', + '\\' : '\U0000221e', + '\\' : '\U0000222b', + '\\' : '\U0000222e', + '\\' : '\U00002663', + '\\' : '\U00002662', + '\\' : '\U00002661', + '\\' : '\U00002660', + '\\' : '\U00002135', + '\\' : '\U00002205', + '\\' : '\U00002207', + '\\' : '\U00002202', + '\\' : '\U0000266d', + '\\' : '\U0000266e', + '\\' : '\U0000266f', + '\\' : '\U00002220', + '\\' : '\U000000a9', + '\\' : '\U000000ae', + '\\' : '\U000000ad', + '\\' : '\U000000af', + '\\' : '\U000000bc', + '\\' : '\U000000bd', + '\\' : '\U000000be', + '\\' : '\U000000aa', + '\\' : '\U000000ba', + '\\
    ' : '\U000000a7', + '\\' : '\U000000b6', + '\\' : '\U000000a1', + '\\' : '\U000000bf', + '\\' : '\U000020ac', + '\\' : '\U000000a3', + '\\' : '\U000000a5', + '\\' : '\U000000a2', + '\\' : '\U000000a4', + '\\' : '\U000000b0', + '\\' : '\U00002a3f', + '\\' : '\U00002127', + '\\' : '\U000025ca', + '\\' : '\U00002118', + '\\' : '\U00002240', + '\\' : '\U000022c4', + '\\' : '\U000000b4', + '\\' : '\U00000131', + '\\' : '\U000000a8', + '\\' : '\U000000b8', + '\\' : '\U000002dd', + '\\' : '\U000003f5', + '\\' : '\U000023ce', + '\\' : '\U00002039', + '\\' : '\U0000203a', + '\\' : '\U00002302', + '\\<^sub>' : '\U000021e9', + '\\<^sup>' : '\U000021e7', + '\\<^bold>' : '\U00002759', + '\\<^bsub>' : '\U000021d8', + '\\<^esub>' : '\U000021d9', + '\\<^bsup>' : '\U000021d7', + '\\<^esup>' : '\U000021d6', + } + + lang_map = {'isabelle' : isabelle_symbols, 'latex' : latex_symbols} + + def __init__(self, **options): + Filter.__init__(self, **options) + lang = get_choice_opt(options, 'lang', + ['isabelle', 'latex'], 'isabelle') + self.symbols = self.lang_map[lang] + + def filter(self, lexer, stream): + for ttype, value in stream: + if value in self.symbols: + yield ttype, self.symbols[value] + else: + yield ttype, value + + +class KeywordCaseFilter(Filter): + """Convert keywords to lowercase or uppercase or capitalize them, which + means first letter uppercase, rest lowercase. + + This can be useful e.g. if you highlight Pascal code and want to adapt the + code to your styleguide. + + Options accepted: + + `case` : string + The casing to convert keywords to. Must be one of ``'lower'``, + ``'upper'`` or ``'capitalize'``. The default is ``'lower'``. + """ + + def __init__(self, **options): + Filter.__init__(self, **options) + case = get_choice_opt(options, 'case', + ['lower', 'upper', 'capitalize'], 'lower') + self.convert = getattr(str, case) + + def filter(self, lexer, stream): + for ttype, value in stream: + if ttype in Keyword: + yield ttype, self.convert(value) + else: + yield ttype, value + + +class NameHighlightFilter(Filter): + """Highlight a normal Name (and Name.*) token with a different token type. + + Example:: + + filter = NameHighlightFilter( + names=['foo', 'bar', 'baz'], + tokentype=Name.Function, + ) + + This would highlight the names "foo", "bar" and "baz" + as functions. `Name.Function` is the default token type. + + Options accepted: + + `names` : list of strings + A list of names that should be given the different token type. + There is no default. + `tokentype` : TokenType or string + A token type or a string containing a token type name that is + used for highlighting the strings in `names`. The default is + `Name.Function`. + """ + + def __init__(self, **options): + Filter.__init__(self, **options) + self.names = set(get_list_opt(options, 'names', [])) + tokentype = options.get('tokentype') + if tokentype: + self.tokentype = string_to_tokentype(tokentype) + else: + self.tokentype = Name.Function + + def filter(self, lexer, stream): + for ttype, value in stream: + if ttype in Name and value in self.names: + yield self.tokentype, value + else: + yield ttype, value + + +class ErrorToken(Exception): + pass + + +class RaiseOnErrorTokenFilter(Filter): + """Raise an exception when the lexer generates an error token. + + Options accepted: + + `excclass` : Exception class + The exception class to raise. + The default is `pygments.filters.ErrorToken`. + + .. versionadded:: 0.8 + """ + + def __init__(self, **options): + Filter.__init__(self, **options) + self.exception = options.get('excclass', ErrorToken) + try: + # issubclass() will raise TypeError if first argument is not a class + if not issubclass(self.exception, Exception): + raise TypeError + except TypeError: + raise OptionError('excclass option is not an exception class') + + def filter(self, lexer, stream): + for ttype, value in stream: + if ttype is Error: + raise self.exception(value) + yield ttype, value + + +class VisibleWhitespaceFilter(Filter): + """Convert tabs, newlines and/or spaces to visible characters. + + Options accepted: + + `spaces` : string or bool + If this is a one-character string, spaces will be replaces by this string. + If it is another true value, spaces will be replaced by ``·`` (unicode + MIDDLE DOT). If it is a false value, spaces will not be replaced. The + default is ``False``. + `tabs` : string or bool + The same as for `spaces`, but the default replacement character is ``»`` + (unicode RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK). The default value + is ``False``. Note: this will not work if the `tabsize` option for the + lexer is nonzero, as tabs will already have been expanded then. + `tabsize` : int + If tabs are to be replaced by this filter (see the `tabs` option), this + is the total number of characters that a tab should be expanded to. + The default is ``8``. + `newlines` : string or bool + The same as for `spaces`, but the default replacement character is ``¶`` + (unicode PILCROW SIGN). The default value is ``False``. + `wstokentype` : bool + If true, give whitespace the special `Whitespace` token type. This allows + styling the visible whitespace differently (e.g. greyed out), but it can + disrupt background colors. The default is ``True``. + + .. versionadded:: 0.8 + """ + + def __init__(self, **options): + Filter.__init__(self, **options) + for name, default in [('spaces', '·'), + ('tabs', '»'), + ('newlines', '¶')]: + opt = options.get(name, False) + if isinstance(opt, str) and len(opt) == 1: + setattr(self, name, opt) + else: + setattr(self, name, (opt and default or '')) + tabsize = get_int_opt(options, 'tabsize', 8) + if self.tabs: + self.tabs += ' ' * (tabsize - 1) + if self.newlines: + self.newlines += '\n' + self.wstt = get_bool_opt(options, 'wstokentype', True) + + def filter(self, lexer, stream): + if self.wstt: + spaces = self.spaces or ' ' + tabs = self.tabs or '\t' + newlines = self.newlines or '\n' + regex = re.compile(r'\s') + + def replacefunc(wschar): + if wschar == ' ': + return spaces + elif wschar == '\t': + return tabs + elif wschar == '\n': + return newlines + return wschar + + for ttype, value in stream: + yield from _replace_special(ttype, value, regex, Whitespace, + replacefunc) + else: + spaces, tabs, newlines = self.spaces, self.tabs, self.newlines + # simpler processing + for ttype, value in stream: + if spaces: + value = value.replace(' ', spaces) + if tabs: + value = value.replace('\t', tabs) + if newlines: + value = value.replace('\n', newlines) + yield ttype, value + + +class GobbleFilter(Filter): + """Gobbles source code lines (eats initial characters). + + This filter drops the first ``n`` characters off every line of code. This + may be useful when the source code fed to the lexer is indented by a fixed + amount of space that isn't desired in the output. + + Options accepted: + + `n` : int + The number of characters to gobble. + + .. versionadded:: 1.2 + """ + def __init__(self, **options): + Filter.__init__(self, **options) + self.n = get_int_opt(options, 'n', 0) + + def gobble(self, value, left): + if left < len(value): + return value[left:], 0 + else: + return '', left - len(value) + + def filter(self, lexer, stream): + n = self.n + left = n # How many characters left to gobble. + for ttype, value in stream: + # Remove ``left`` tokens from first line, ``n`` from all others. + parts = value.split('\n') + (parts[0], left) = self.gobble(parts[0], left) + for i in range(1, len(parts)): + (parts[i], left) = self.gobble(parts[i], n) + value = '\n'.join(parts) + + if value != '': + yield ttype, value + + +class TokenMergeFilter(Filter): + """Merges consecutive tokens with the same token type in the output + stream of a lexer. + + .. versionadded:: 1.2 + """ + def __init__(self, **options): + Filter.__init__(self, **options) + + def filter(self, lexer, stream): + current_type = None + current_value = None + for ttype, value in stream: + if ttype is current_type: + current_value += value + else: + if current_type is not None: + yield current_type, current_value + current_type = ttype + current_value = value + if current_type is not None: + yield current_type, current_value + + +FILTERS = { + 'codetagify': CodeTagFilter, + 'keywordcase': KeywordCaseFilter, + 'highlight': NameHighlightFilter, + 'raiseonerror': RaiseOnErrorTokenFilter, + 'whitespace': VisibleWhitespaceFilter, + 'gobble': GobbleFilter, + 'tokenmerge': TokenMergeFilter, + 'symbols': SymbolFilter, +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..25edac3381398cffdd22494121eb6d6aab701542 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatter.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatter.py new file mode 100644 index 0000000000000000000000000000000000000000..0041e41a187b3f4eee181508bc077e998f89a612 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatter.py @@ -0,0 +1,129 @@ +""" + pygments.formatter + ~~~~~~~~~~~~~~~~~~ + + Base formatter class. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import codecs + +from pip._vendor.pygments.util import get_bool_opt +from pip._vendor.pygments.styles import get_style_by_name + +__all__ = ['Formatter'] + + +def _lookup_style(style): + if isinstance(style, str): + return get_style_by_name(style) + return style + + +class Formatter: + """ + Converts a token stream to text. + + Formatters should have attributes to help selecting them. These + are similar to the corresponding :class:`~pygments.lexer.Lexer` + attributes. + + .. autoattribute:: name + :no-value: + + .. autoattribute:: aliases + :no-value: + + .. autoattribute:: filenames + :no-value: + + You can pass options as keyword arguments to the constructor. + All formatters accept these basic options: + + ``style`` + The style to use, can be a string or a Style subclass + (default: "default"). Not used by e.g. the + TerminalFormatter. + ``full`` + Tells the formatter to output a "full" document, i.e. + a complete self-contained document. This doesn't have + any effect for some formatters (default: false). + ``title`` + If ``full`` is true, the title that should be used to + caption the document (default: ''). + ``encoding`` + If given, must be an encoding name. This will be used to + convert the Unicode token strings to byte strings in the + output. If it is "" or None, Unicode strings will be written + to the output file, which most file-like objects do not + support (default: None). + ``outencoding`` + Overrides ``encoding`` if given. + + """ + + #: Full name for the formatter, in human-readable form. + name = None + + #: A list of short, unique identifiers that can be used to lookup + #: the formatter from a list, e.g. using :func:`.get_formatter_by_name()`. + aliases = [] + + #: A list of fnmatch patterns that match filenames for which this + #: formatter can produce output. The patterns in this list should be unique + #: among all formatters. + filenames = [] + + #: If True, this formatter outputs Unicode strings when no encoding + #: option is given. + unicodeoutput = True + + def __init__(self, **options): + """ + As with lexers, this constructor takes arbitrary optional arguments, + and if you override it, you should first process your own options, then + call the base class implementation. + """ + self.style = _lookup_style(options.get('style', 'default')) + self.full = get_bool_opt(options, 'full', False) + self.title = options.get('title', '') + self.encoding = options.get('encoding', None) or None + if self.encoding in ('guess', 'chardet'): + # can happen for e.g. pygmentize -O encoding=guess + self.encoding = 'utf-8' + self.encoding = options.get('outencoding') or self.encoding + self.options = options + + def get_style_defs(self, arg=''): + """ + This method must return statements or declarations suitable to define + the current style for subsequent highlighted text (e.g. CSS classes + in the `HTMLFormatter`). + + The optional argument `arg` can be used to modify the generation and + is formatter dependent (it is standardized because it can be given on + the command line). + + This method is called by the ``-S`` :doc:`command-line option `, + the `arg` is then given by the ``-a`` option. + """ + return '' + + def format(self, tokensource, outfile): + """ + This method must format the tokens from the `tokensource` iterable and + write the formatted version to the file object `outfile`. + + Formatter options can control how exactly the tokens are converted. + """ + if self.encoding: + # wrap the outfile in a StreamWriter + outfile = codecs.lookup(self.encoding)[3](outfile) + return self.format_unencoded(tokensource, outfile) + + # Allow writing Formatter[str] or Formatter[bytes]. That's equivalent to + # Formatter. This helps when using third-party type stubs from typeshed. + def __class_getitem__(cls, name): + return cls diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..014f2ee8d1536409047152db26e536c91396b0a3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__init__.py @@ -0,0 +1,157 @@ +""" + pygments.formatters + ~~~~~~~~~~~~~~~~~~~ + + Pygments formatters. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import re +import sys +import types +import fnmatch +from os.path import basename + +from pip._vendor.pygments.formatters._mapping import FORMATTERS +from pip._vendor.pygments.plugin import find_plugin_formatters +from pip._vendor.pygments.util import ClassNotFound + +__all__ = ['get_formatter_by_name', 'get_formatter_for_filename', + 'get_all_formatters', 'load_formatter_from_file'] + list(FORMATTERS) + +_formatter_cache = {} # classes by name +_pattern_cache = {} + + +def _fn_matches(fn, glob): + """Return whether the supplied file name fn matches pattern filename.""" + if glob not in _pattern_cache: + pattern = _pattern_cache[glob] = re.compile(fnmatch.translate(glob)) + return pattern.match(fn) + return _pattern_cache[glob].match(fn) + + +def _load_formatters(module_name): + """Load a formatter (and all others in the module too).""" + mod = __import__(module_name, None, None, ['__all__']) + for formatter_name in mod.__all__: + cls = getattr(mod, formatter_name) + _formatter_cache[cls.name] = cls + + +def get_all_formatters(): + """Return a generator for all formatter classes.""" + # NB: this returns formatter classes, not info like get_all_lexers(). + for info in FORMATTERS.values(): + if info[1] not in _formatter_cache: + _load_formatters(info[0]) + yield _formatter_cache[info[1]] + for _, formatter in find_plugin_formatters(): + yield formatter + + +def find_formatter_class(alias): + """Lookup a formatter by alias. + + Returns None if not found. + """ + for module_name, name, aliases, _, _ in FORMATTERS.values(): + if alias in aliases: + if name not in _formatter_cache: + _load_formatters(module_name) + return _formatter_cache[name] + for _, cls in find_plugin_formatters(): + if alias in cls.aliases: + return cls + + +def get_formatter_by_name(_alias, **options): + """ + Return an instance of a :class:`.Formatter` subclass that has `alias` in its + aliases list. The formatter is given the `options` at its instantiation. + + Will raise :exc:`pygments.util.ClassNotFound` if no formatter with that + alias is found. + """ + cls = find_formatter_class(_alias) + if cls is None: + raise ClassNotFound(f"no formatter found for name {_alias!r}") + return cls(**options) + + +def load_formatter_from_file(filename, formattername="CustomFormatter", **options): + """ + Return a `Formatter` subclass instance loaded from the provided file, relative + to the current directory. + + The file is expected to contain a Formatter class named ``formattername`` + (by default, CustomFormatter). Users should be very careful with the input, because + this method is equivalent to running ``eval()`` on the input file. The formatter is + given the `options` at its instantiation. + + :exc:`pygments.util.ClassNotFound` is raised if there are any errors loading + the formatter. + + .. versionadded:: 2.2 + """ + try: + # This empty dict will contain the namespace for the exec'd file + custom_namespace = {} + with open(filename, 'rb') as f: + exec(f.read(), custom_namespace) + # Retrieve the class `formattername` from that namespace + if formattername not in custom_namespace: + raise ClassNotFound(f'no valid {formattername} class found in {filename}') + formatter_class = custom_namespace[formattername] + # And finally instantiate it with the options + return formatter_class(**options) + except OSError as err: + raise ClassNotFound(f'cannot read {filename}: {err}') + except ClassNotFound: + raise + except Exception as err: + raise ClassNotFound(f'error when loading custom formatter: {err}') + + +def get_formatter_for_filename(fn, **options): + """ + Return a :class:`.Formatter` subclass instance that has a filename pattern + matching `fn`. The formatter is given the `options` at its instantiation. + + Will raise :exc:`pygments.util.ClassNotFound` if no formatter for that filename + is found. + """ + fn = basename(fn) + for modname, name, _, filenames, _ in FORMATTERS.values(): + for filename in filenames: + if _fn_matches(fn, filename): + if name not in _formatter_cache: + _load_formatters(modname) + return _formatter_cache[name](**options) + for _name, cls in find_plugin_formatters(): + for filename in cls.filenames: + if _fn_matches(fn, filename): + return cls(**options) + raise ClassNotFound(f"no formatter found for file name {fn!r}") + + +class _automodule(types.ModuleType): + """Automatically import formatters.""" + + def __getattr__(self, name): + info = FORMATTERS.get(name) + if info: + _load_formatters(info[0]) + cls = _formatter_cache[info[1]] + setattr(self, name, cls) + return cls + raise AttributeError(name) + + +oldmod = sys.modules[__name__] +newmod = _automodule(__name__) +newmod.__dict__.update(oldmod.__dict__) +sys.modules[__name__] = newmod +del newmod.newmod, newmod.oldmod, newmod.sys, newmod.types diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..44716a69d93cdbac050b091ca9e434ea3a5869ea Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1ae16c263c4a55f4365ce20d4216f0c749e8f91e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/_mapping.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/_mapping.py new file mode 100644 index 0000000000000000000000000000000000000000..72ca84040b626183e3328679db600c13472021be --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/_mapping.py @@ -0,0 +1,23 @@ +# Automatically generated by scripts/gen_mapfiles.py. +# DO NOT EDIT BY HAND; run `tox -e mapfiles` instead. + +FORMATTERS = { + 'BBCodeFormatter': ('pygments.formatters.bbcode', 'BBCode', ('bbcode', 'bb'), (), 'Format tokens with BBcodes. These formatting codes are used by many bulletin boards, so you can highlight your sourcecode with pygments before posting it there.'), + 'BmpImageFormatter': ('pygments.formatters.img', 'img_bmp', ('bmp', 'bitmap'), ('*.bmp',), 'Create a bitmap image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'), + 'GifImageFormatter': ('pygments.formatters.img', 'img_gif', ('gif',), ('*.gif',), 'Create a GIF image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'), + 'GroffFormatter': ('pygments.formatters.groff', 'groff', ('groff', 'troff', 'roff'), (), 'Format tokens with groff escapes to change their color and font style.'), + 'HtmlFormatter': ('pygments.formatters.html', 'HTML', ('html',), ('*.html', '*.htm'), "Format tokens as HTML 4 ```` tags. By default, the content is enclosed in a ``
    `` tag, itself wrapped in a ``
    `` tag (but see the `nowrap` option). The ``
    ``'s CSS class can be set by the `cssclass` option."), + 'IRCFormatter': ('pygments.formatters.irc', 'IRC', ('irc', 'IRC'), (), 'Format tokens with IRC color sequences'), + 'ImageFormatter': ('pygments.formatters.img', 'img', ('img', 'IMG', 'png'), ('*.png',), 'Create a PNG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'), + 'JpgImageFormatter': ('pygments.formatters.img', 'img_jpg', ('jpg', 'jpeg'), ('*.jpg',), 'Create a JPEG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'), + 'LatexFormatter': ('pygments.formatters.latex', 'LaTeX', ('latex', 'tex'), ('*.tex',), 'Format tokens as LaTeX code. This needs the `fancyvrb` and `color` standard packages.'), + 'NullFormatter': ('pygments.formatters.other', 'Text only', ('text', 'null'), ('*.txt',), 'Output the text unchanged without any formatting.'), + 'PangoMarkupFormatter': ('pygments.formatters.pangomarkup', 'Pango Markup', ('pango', 'pangomarkup'), (), 'Format tokens as Pango Markup code. It can then be rendered to an SVG.'), + 'RawTokenFormatter': ('pygments.formatters.other', 'Raw tokens', ('raw', 'tokens'), ('*.raw',), 'Format tokens as a raw representation for storing token streams.'), + 'RtfFormatter': ('pygments.formatters.rtf', 'RTF', ('rtf',), ('*.rtf',), 'Format tokens as RTF markup. This formatter automatically outputs full RTF documents with color information and other useful stuff. Perfect for Copy and Paste into Microsoft(R) Word(R) documents.'), + 'SvgFormatter': ('pygments.formatters.svg', 'SVG', ('svg',), ('*.svg',), 'Format tokens as an SVG graphics file. This formatter is still experimental. Each line of code is a ```` element with explicit ``x`` and ``y`` coordinates containing ```` elements with the individual token styles.'), + 'Terminal256Formatter': ('pygments.formatters.terminal256', 'Terminal256', ('terminal256', 'console256', '256'), (), 'Format tokens with ANSI color sequences, for output in a 256-color terminal or console. Like in `TerminalFormatter` color sequences are terminated at newlines, so that paging the output works correctly.'), + 'TerminalFormatter': ('pygments.formatters.terminal', 'Terminal', ('terminal', 'console'), (), 'Format tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly.'), + 'TerminalTrueColorFormatter': ('pygments.formatters.terminal256', 'TerminalTrueColor', ('terminal16m', 'console16m', '16m'), (), 'Format tokens with ANSI color sequences, for output in a true-color terminal or console. Like in `TerminalFormatter` color sequences are terminated at newlines, so that paging the output works correctly.'), + 'TestcaseFormatter': ('pygments.formatters.other', 'Testcase', ('testcase',), (), 'Format tokens as appropriate for a new testcase.'), +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexer.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexer.py new file mode 100644 index 0000000000000000000000000000000000000000..c05aa8196d4db6fa5ae19517ce2646a874378117 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexer.py @@ -0,0 +1,963 @@ +""" + pygments.lexer + ~~~~~~~~~~~~~~ + + Base lexer classes. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import re +import sys +import time + +from pip._vendor.pygments.filter import apply_filters, Filter +from pip._vendor.pygments.filters import get_filter_by_name +from pip._vendor.pygments.token import Error, Text, Other, Whitespace, _TokenType +from pip._vendor.pygments.util import get_bool_opt, get_int_opt, get_list_opt, \ + make_analysator, Future, guess_decode +from pip._vendor.pygments.regexopt import regex_opt + +__all__ = ['Lexer', 'RegexLexer', 'ExtendedRegexLexer', 'DelegatingLexer', + 'LexerContext', 'include', 'inherit', 'bygroups', 'using', 'this', + 'default', 'words', 'line_re'] + +line_re = re.compile('.*?\n') + +_encoding_map = [(b'\xef\xbb\xbf', 'utf-8'), + (b'\xff\xfe\0\0', 'utf-32'), + (b'\0\0\xfe\xff', 'utf-32be'), + (b'\xff\xfe', 'utf-16'), + (b'\xfe\xff', 'utf-16be')] + +_default_analyse = staticmethod(lambda x: 0.0) + + +class LexerMeta(type): + """ + This metaclass automagically converts ``analyse_text`` methods into + static methods which always return float values. + """ + + def __new__(mcs, name, bases, d): + if 'analyse_text' in d: + d['analyse_text'] = make_analysator(d['analyse_text']) + return type.__new__(mcs, name, bases, d) + + +class Lexer(metaclass=LexerMeta): + """ + Lexer for a specific language. + + See also :doc:`lexerdevelopment`, a high-level guide to writing + lexers. + + Lexer classes have attributes used for choosing the most appropriate + lexer based on various criteria. + + .. autoattribute:: name + :no-value: + .. autoattribute:: aliases + :no-value: + .. autoattribute:: filenames + :no-value: + .. autoattribute:: alias_filenames + .. autoattribute:: mimetypes + :no-value: + .. autoattribute:: priority + + Lexers included in Pygments should have two additional attributes: + + .. autoattribute:: url + :no-value: + .. autoattribute:: version_added + :no-value: + + Lexers included in Pygments may have additional attributes: + + .. autoattribute:: _example + :no-value: + + You can pass options to the constructor. The basic options recognized + by all lexers and processed by the base `Lexer` class are: + + ``stripnl`` + Strip leading and trailing newlines from the input (default: True). + ``stripall`` + Strip all leading and trailing whitespace from the input + (default: False). + ``ensurenl`` + Make sure that the input ends with a newline (default: True). This + is required for some lexers that consume input linewise. + + .. versionadded:: 1.3 + + ``tabsize`` + If given and greater than 0, expand tabs in the input (default: 0). + ``encoding`` + If given, must be an encoding name. This encoding will be used to + convert the input string to Unicode, if it is not already a Unicode + string (default: ``'guess'``, which uses a simple UTF-8 / Locale / + Latin1 detection. Can also be ``'chardet'`` to use the chardet + library, if it is installed. + ``inencoding`` + Overrides the ``encoding`` if given. + """ + + #: Full name of the lexer, in human-readable form + name = None + + #: A list of short, unique identifiers that can be used to look + #: up the lexer from a list, e.g., using `get_lexer_by_name()`. + aliases = [] + + #: A list of `fnmatch` patterns that match filenames which contain + #: content for this lexer. The patterns in this list should be unique among + #: all lexers. + filenames = [] + + #: A list of `fnmatch` patterns that match filenames which may or may not + #: contain content for this lexer. This list is used by the + #: :func:`.guess_lexer_for_filename()` function, to determine which lexers + #: are then included in guessing the correct one. That means that + #: e.g. every lexer for HTML and a template language should include + #: ``\*.html`` in this list. + alias_filenames = [] + + #: A list of MIME types for content that can be lexed with this lexer. + mimetypes = [] + + #: Priority, should multiple lexers match and no content is provided + priority = 0 + + #: URL of the language specification/definition. Used in the Pygments + #: documentation. Set to an empty string to disable. + url = None + + #: Version of Pygments in which the lexer was added. + version_added = None + + #: Example file name. Relative to the ``tests/examplefiles`` directory. + #: This is used by the documentation generator to show an example. + _example = None + + def __init__(self, **options): + """ + This constructor takes arbitrary options as keyword arguments. + Every subclass must first process its own options and then call + the `Lexer` constructor, since it processes the basic + options like `stripnl`. + + An example looks like this: + + .. sourcecode:: python + + def __init__(self, **options): + self.compress = options.get('compress', '') + Lexer.__init__(self, **options) + + As these options must all be specifiable as strings (due to the + command line usage), there are various utility functions + available to help with that, see `Utilities`_. + """ + self.options = options + self.stripnl = get_bool_opt(options, 'stripnl', True) + self.stripall = get_bool_opt(options, 'stripall', False) + self.ensurenl = get_bool_opt(options, 'ensurenl', True) + self.tabsize = get_int_opt(options, 'tabsize', 0) + self.encoding = options.get('encoding', 'guess') + self.encoding = options.get('inencoding') or self.encoding + self.filters = [] + for filter_ in get_list_opt(options, 'filters', ()): + self.add_filter(filter_) + + def __repr__(self): + if self.options: + return f'' + else: + return f'' + + def add_filter(self, filter_, **options): + """ + Add a new stream filter to this lexer. + """ + if not isinstance(filter_, Filter): + filter_ = get_filter_by_name(filter_, **options) + self.filters.append(filter_) + + def analyse_text(text): + """ + A static method which is called for lexer guessing. + + It should analyse the text and return a float in the range + from ``0.0`` to ``1.0``. If it returns ``0.0``, the lexer + will not be selected as the most probable one, if it returns + ``1.0``, it will be selected immediately. This is used by + `guess_lexer`. + + The `LexerMeta` metaclass automatically wraps this function so + that it works like a static method (no ``self`` or ``cls`` + parameter) and the return value is automatically converted to + `float`. If the return value is an object that is boolean `False` + it's the same as if the return values was ``0.0``. + """ + + def _preprocess_lexer_input(self, text): + """Apply preprocessing such as decoding the input, removing BOM and normalizing newlines.""" + + if not isinstance(text, str): + if self.encoding == 'guess': + text, _ = guess_decode(text) + elif self.encoding == 'chardet': + try: + # pip vendoring note: this code is not reachable by pip, + # removed import of chardet to make it clear. + raise ImportError('chardet is not vendored by pip') + except ImportError as e: + raise ImportError('To enable chardet encoding guessing, ' + 'please install the chardet library ' + 'from http://chardet.feedparser.org/') from e + # check for BOM first + decoded = None + for bom, encoding in _encoding_map: + if text.startswith(bom): + decoded = text[len(bom):].decode(encoding, 'replace') + break + # no BOM found, so use chardet + if decoded is None: + enc = chardet.detect(text[:1024]) # Guess using first 1KB + decoded = text.decode(enc.get('encoding') or 'utf-8', + 'replace') + text = decoded + else: + text = text.decode(self.encoding) + if text.startswith('\ufeff'): + text = text[len('\ufeff'):] + else: + if text.startswith('\ufeff'): + text = text[len('\ufeff'):] + + # text now *is* a unicode string + text = text.replace('\r\n', '\n') + text = text.replace('\r', '\n') + if self.stripall: + text = text.strip() + elif self.stripnl: + text = text.strip('\n') + if self.tabsize > 0: + text = text.expandtabs(self.tabsize) + if self.ensurenl and not text.endswith('\n'): + text += '\n' + + return text + + def get_tokens(self, text, unfiltered=False): + """ + This method is the basic interface of a lexer. It is called by + the `highlight()` function. It must process the text and return an + iterable of ``(tokentype, value)`` pairs from `text`. + + Normally, you don't need to override this method. The default + implementation processes the options recognized by all lexers + (`stripnl`, `stripall` and so on), and then yields all tokens + from `get_tokens_unprocessed()`, with the ``index`` dropped. + + If `unfiltered` is set to `True`, the filtering mechanism is + bypassed even if filters are defined. + """ + text = self._preprocess_lexer_input(text) + + def streamer(): + for _, t, v in self.get_tokens_unprocessed(text): + yield t, v + stream = streamer() + if not unfiltered: + stream = apply_filters(stream, self.filters, self) + return stream + + def get_tokens_unprocessed(self, text): + """ + This method should process the text and return an iterable of + ``(index, tokentype, value)`` tuples where ``index`` is the starting + position of the token within the input text. + + It must be overridden by subclasses. It is recommended to + implement it as a generator to maximize effectiveness. + """ + raise NotImplementedError + + +class DelegatingLexer(Lexer): + """ + This lexer takes two lexer as arguments. A root lexer and + a language lexer. First everything is scanned using the language + lexer, afterwards all ``Other`` tokens are lexed using the root + lexer. + + The lexers from the ``template`` lexer package use this base lexer. + """ + + def __init__(self, _root_lexer, _language_lexer, _needle=Other, **options): + self.root_lexer = _root_lexer(**options) + self.language_lexer = _language_lexer(**options) + self.needle = _needle + Lexer.__init__(self, **options) + + def get_tokens_unprocessed(self, text): + buffered = '' + insertions = [] + lng_buffer = [] + for i, t, v in self.language_lexer.get_tokens_unprocessed(text): + if t is self.needle: + if lng_buffer: + insertions.append((len(buffered), lng_buffer)) + lng_buffer = [] + buffered += v + else: + lng_buffer.append((i, t, v)) + if lng_buffer: + insertions.append((len(buffered), lng_buffer)) + return do_insertions(insertions, + self.root_lexer.get_tokens_unprocessed(buffered)) + + +# ------------------------------------------------------------------------------ +# RegexLexer and ExtendedRegexLexer +# + + +class include(str): # pylint: disable=invalid-name + """ + Indicates that a state should include rules from another state. + """ + pass + + +class _inherit: + """ + Indicates the a state should inherit from its superclass. + """ + def __repr__(self): + return 'inherit' + +inherit = _inherit() # pylint: disable=invalid-name + + +class combined(tuple): # pylint: disable=invalid-name + """ + Indicates a state combined from multiple states. + """ + + def __new__(cls, *args): + return tuple.__new__(cls, args) + + def __init__(self, *args): + # tuple.__init__ doesn't do anything + pass + + +class _PseudoMatch: + """ + A pseudo match object constructed from a string. + """ + + def __init__(self, start, text): + self._text = text + self._start = start + + def start(self, arg=None): + return self._start + + def end(self, arg=None): + return self._start + len(self._text) + + def group(self, arg=None): + if arg: + raise IndexError('No such group') + return self._text + + def groups(self): + return (self._text,) + + def groupdict(self): + return {} + + +def bygroups(*args): + """ + Callback that yields multiple actions for each group in the match. + """ + def callback(lexer, match, ctx=None): + for i, action in enumerate(args): + if action is None: + continue + elif type(action) is _TokenType: + data = match.group(i + 1) + if data: + yield match.start(i + 1), action, data + else: + data = match.group(i + 1) + if data is not None: + if ctx: + ctx.pos = match.start(i + 1) + for item in action(lexer, + _PseudoMatch(match.start(i + 1), data), ctx): + if item: + yield item + if ctx: + ctx.pos = match.end() + return callback + + +class _This: + """ + Special singleton used for indicating the caller class. + Used by ``using``. + """ + +this = _This() + + +def using(_other, **kwargs): + """ + Callback that processes the match with a different lexer. + + The keyword arguments are forwarded to the lexer, except `state` which + is handled separately. + + `state` specifies the state that the new lexer will start in, and can + be an enumerable such as ('root', 'inline', 'string') or a simple + string which is assumed to be on top of the root state. + + Note: For that to work, `_other` must not be an `ExtendedRegexLexer`. + """ + gt_kwargs = {} + if 'state' in kwargs: + s = kwargs.pop('state') + if isinstance(s, (list, tuple)): + gt_kwargs['stack'] = s + else: + gt_kwargs['stack'] = ('root', s) + + if _other is this: + def callback(lexer, match, ctx=None): + # if keyword arguments are given the callback + # function has to create a new lexer instance + if kwargs: + # XXX: cache that somehow + kwargs.update(lexer.options) + lx = lexer.__class__(**kwargs) + else: + lx = lexer + s = match.start() + for i, t, v in lx.get_tokens_unprocessed(match.group(), **gt_kwargs): + yield i + s, t, v + if ctx: + ctx.pos = match.end() + else: + def callback(lexer, match, ctx=None): + # XXX: cache that somehow + kwargs.update(lexer.options) + lx = _other(**kwargs) + + s = match.start() + for i, t, v in lx.get_tokens_unprocessed(match.group(), **gt_kwargs): + yield i + s, t, v + if ctx: + ctx.pos = match.end() + return callback + + +class default: + """ + Indicates a state or state action (e.g. #pop) to apply. + For example default('#pop') is equivalent to ('', Token, '#pop') + Note that state tuples may be used as well. + + .. versionadded:: 2.0 + """ + def __init__(self, state): + self.state = state + + +class words(Future): + """ + Indicates a list of literal words that is transformed into an optimized + regex that matches any of the words. + + .. versionadded:: 2.0 + """ + def __init__(self, words, prefix='', suffix=''): + self.words = words + self.prefix = prefix + self.suffix = suffix + + def get(self): + return regex_opt(self.words, prefix=self.prefix, suffix=self.suffix) + + +class RegexLexerMeta(LexerMeta): + """ + Metaclass for RegexLexer, creates the self._tokens attribute from + self.tokens on the first instantiation. + """ + + def _process_regex(cls, regex, rflags, state): + """Preprocess the regular expression component of a token definition.""" + if isinstance(regex, Future): + regex = regex.get() + return re.compile(regex, rflags).match + + def _process_token(cls, token): + """Preprocess the token component of a token definition.""" + assert type(token) is _TokenType or callable(token), \ + f'token type must be simple type or callable, not {token!r}' + return token + + def _process_new_state(cls, new_state, unprocessed, processed): + """Preprocess the state transition action of a token definition.""" + if isinstance(new_state, str): + # an existing state + if new_state == '#pop': + return -1 + elif new_state in unprocessed: + return (new_state,) + elif new_state == '#push': + return new_state + elif new_state[:5] == '#pop:': + return -int(new_state[5:]) + else: + assert False, f'unknown new state {new_state!r}' + elif isinstance(new_state, combined): + # combine a new state from existing ones + tmp_state = '_tmp_%d' % cls._tmpname + cls._tmpname += 1 + itokens = [] + for istate in new_state: + assert istate != new_state, f'circular state ref {istate!r}' + itokens.extend(cls._process_state(unprocessed, + processed, istate)) + processed[tmp_state] = itokens + return (tmp_state,) + elif isinstance(new_state, tuple): + # push more than one state + for istate in new_state: + assert (istate in unprocessed or + istate in ('#pop', '#push')), \ + 'unknown new state ' + istate + return new_state + else: + assert False, f'unknown new state def {new_state!r}' + + def _process_state(cls, unprocessed, processed, state): + """Preprocess a single state definition.""" + assert isinstance(state, str), f"wrong state name {state!r}" + assert state[0] != '#', f"invalid state name {state!r}" + if state in processed: + return processed[state] + tokens = processed[state] = [] + rflags = cls.flags + for tdef in unprocessed[state]: + if isinstance(tdef, include): + # it's a state reference + assert tdef != state, f"circular state reference {state!r}" + tokens.extend(cls._process_state(unprocessed, processed, + str(tdef))) + continue + if isinstance(tdef, _inherit): + # should be processed already, but may not in the case of: + # 1. the state has no counterpart in any parent + # 2. the state includes more than one 'inherit' + continue + if isinstance(tdef, default): + new_state = cls._process_new_state(tdef.state, unprocessed, processed) + tokens.append((re.compile('').match, None, new_state)) + continue + + assert type(tdef) is tuple, f"wrong rule def {tdef!r}" + + try: + rex = cls._process_regex(tdef[0], rflags, state) + except Exception as err: + raise ValueError(f"uncompilable regex {tdef[0]!r} in state {state!r} of {cls!r}: {err}") from err + + token = cls._process_token(tdef[1]) + + if len(tdef) == 2: + new_state = None + else: + new_state = cls._process_new_state(tdef[2], + unprocessed, processed) + + tokens.append((rex, token, new_state)) + return tokens + + def process_tokendef(cls, name, tokendefs=None): + """Preprocess a dictionary of token definitions.""" + processed = cls._all_tokens[name] = {} + tokendefs = tokendefs or cls.tokens[name] + for state in list(tokendefs): + cls._process_state(tokendefs, processed, state) + return processed + + def get_tokendefs(cls): + """ + Merge tokens from superclasses in MRO order, returning a single tokendef + dictionary. + + Any state that is not defined by a subclass will be inherited + automatically. States that *are* defined by subclasses will, by + default, override that state in the superclass. If a subclass wishes to + inherit definitions from a superclass, it can use the special value + "inherit", which will cause the superclass' state definition to be + included at that point in the state. + """ + tokens = {} + inheritable = {} + for c in cls.__mro__: + toks = c.__dict__.get('tokens', {}) + + for state, items in toks.items(): + curitems = tokens.get(state) + if curitems is None: + # N.b. because this is assigned by reference, sufficiently + # deep hierarchies are processed incrementally (e.g. for + # A(B), B(C), C(RegexLexer), B will be premodified so X(B) + # will not see any inherits in B). + tokens[state] = items + try: + inherit_ndx = items.index(inherit) + except ValueError: + continue + inheritable[state] = inherit_ndx + continue + + inherit_ndx = inheritable.pop(state, None) + if inherit_ndx is None: + continue + + # Replace the "inherit" value with the items + curitems[inherit_ndx:inherit_ndx+1] = items + try: + # N.b. this is the index in items (that is, the superclass + # copy), so offset required when storing below. + new_inh_ndx = items.index(inherit) + except ValueError: + pass + else: + inheritable[state] = inherit_ndx + new_inh_ndx + + return tokens + + def __call__(cls, *args, **kwds): + """Instantiate cls after preprocessing its token definitions.""" + if '_tokens' not in cls.__dict__: + cls._all_tokens = {} + cls._tmpname = 0 + if hasattr(cls, 'token_variants') and cls.token_variants: + # don't process yet + pass + else: + cls._tokens = cls.process_tokendef('', cls.get_tokendefs()) + + return type.__call__(cls, *args, **kwds) + + +class RegexLexer(Lexer, metaclass=RegexLexerMeta): + """ + Base for simple stateful regular expression-based lexers. + Simplifies the lexing process so that you need only + provide a list of states and regular expressions. + """ + + #: Flags for compiling the regular expressions. + #: Defaults to MULTILINE. + flags = re.MULTILINE + + #: At all time there is a stack of states. Initially, the stack contains + #: a single state 'root'. The top of the stack is called "the current state". + #: + #: Dict of ``{'state': [(regex, tokentype, new_state), ...], ...}`` + #: + #: ``new_state`` can be omitted to signify no state transition. + #: If ``new_state`` is a string, it is pushed on the stack. This ensure + #: the new current state is ``new_state``. + #: If ``new_state`` is a tuple of strings, all of those strings are pushed + #: on the stack and the current state will be the last element of the list. + #: ``new_state`` can also be ``combined('state1', 'state2', ...)`` + #: to signify a new, anonymous state combined from the rules of two + #: or more existing ones. + #: Furthermore, it can be '#pop' to signify going back one step in + #: the state stack, or '#push' to push the current state on the stack + #: again. Note that if you push while in a combined state, the combined + #: state itself is pushed, and not only the state in which the rule is + #: defined. + #: + #: The tuple can also be replaced with ``include('state')``, in which + #: case the rules from the state named by the string are included in the + #: current one. + tokens = {} + + def get_tokens_unprocessed(self, text, stack=('root',)): + """ + Split ``text`` into (tokentype, text) pairs. + + ``stack`` is the initial stack (default: ``['root']``) + """ + pos = 0 + tokendefs = self._tokens + statestack = list(stack) + statetokens = tokendefs[statestack[-1]] + while 1: + for rexmatch, action, new_state in statetokens: + m = rexmatch(text, pos) + if m: + if action is not None: + if type(action) is _TokenType: + yield pos, action, m.group() + else: + yield from action(self, m) + pos = m.end() + if new_state is not None: + # state transition + if isinstance(new_state, tuple): + for state in new_state: + if state == '#pop': + if len(statestack) > 1: + statestack.pop() + elif state == '#push': + statestack.append(statestack[-1]) + else: + statestack.append(state) + elif isinstance(new_state, int): + # pop, but keep at least one state on the stack + # (random code leading to unexpected pops should + # not allow exceptions) + if abs(new_state) >= len(statestack): + del statestack[1:] + else: + del statestack[new_state:] + elif new_state == '#push': + statestack.append(statestack[-1]) + else: + assert False, f"wrong state def: {new_state!r}" + statetokens = tokendefs[statestack[-1]] + break + else: + # We are here only if all state tokens have been considered + # and there was not a match on any of them. + try: + if text[pos] == '\n': + # at EOL, reset state to "root" + statestack = ['root'] + statetokens = tokendefs['root'] + yield pos, Whitespace, '\n' + pos += 1 + continue + yield pos, Error, text[pos] + pos += 1 + except IndexError: + break + + +class LexerContext: + """ + A helper object that holds lexer position data. + """ + + def __init__(self, text, pos, stack=None, end=None): + self.text = text + self.pos = pos + self.end = end or len(text) # end=0 not supported ;-) + self.stack = stack or ['root'] + + def __repr__(self): + return f'LexerContext({self.text!r}, {self.pos!r}, {self.stack!r})' + + +class ExtendedRegexLexer(RegexLexer): + """ + A RegexLexer that uses a context object to store its state. + """ + + def get_tokens_unprocessed(self, text=None, context=None): + """ + Split ``text`` into (tokentype, text) pairs. + If ``context`` is given, use this lexer context instead. + """ + tokendefs = self._tokens + if not context: + ctx = LexerContext(text, 0) + statetokens = tokendefs['root'] + else: + ctx = context + statetokens = tokendefs[ctx.stack[-1]] + text = ctx.text + while 1: + for rexmatch, action, new_state in statetokens: + m = rexmatch(text, ctx.pos, ctx.end) + if m: + if action is not None: + if type(action) is _TokenType: + yield ctx.pos, action, m.group() + ctx.pos = m.end() + else: + yield from action(self, m, ctx) + if not new_state: + # altered the state stack? + statetokens = tokendefs[ctx.stack[-1]] + # CAUTION: callback must set ctx.pos! + if new_state is not None: + # state transition + if isinstance(new_state, tuple): + for state in new_state: + if state == '#pop': + if len(ctx.stack) > 1: + ctx.stack.pop() + elif state == '#push': + ctx.stack.append(ctx.stack[-1]) + else: + ctx.stack.append(state) + elif isinstance(new_state, int): + # see RegexLexer for why this check is made + if abs(new_state) >= len(ctx.stack): + del ctx.stack[1:] + else: + del ctx.stack[new_state:] + elif new_state == '#push': + ctx.stack.append(ctx.stack[-1]) + else: + assert False, f"wrong state def: {new_state!r}" + statetokens = tokendefs[ctx.stack[-1]] + break + else: + try: + if ctx.pos >= ctx.end: + break + if text[ctx.pos] == '\n': + # at EOL, reset state to "root" + ctx.stack = ['root'] + statetokens = tokendefs['root'] + yield ctx.pos, Text, '\n' + ctx.pos += 1 + continue + yield ctx.pos, Error, text[ctx.pos] + ctx.pos += 1 + except IndexError: + break + + +def do_insertions(insertions, tokens): + """ + Helper for lexers which must combine the results of several + sublexers. + + ``insertions`` is a list of ``(index, itokens)`` pairs. + Each ``itokens`` iterable should be inserted at position + ``index`` into the token stream given by the ``tokens`` + argument. + + The result is a combined token stream. + + TODO: clean up the code here. + """ + insertions = iter(insertions) + try: + index, itokens = next(insertions) + except StopIteration: + # no insertions + yield from tokens + return + + realpos = None + insleft = True + + # iterate over the token stream where we want to insert + # the tokens from the insertion list. + for i, t, v in tokens: + # first iteration. store the position of first item + if realpos is None: + realpos = i + oldi = 0 + while insleft and i + len(v) >= index: + tmpval = v[oldi:index - i] + if tmpval: + yield realpos, t, tmpval + realpos += len(tmpval) + for it_index, it_token, it_value in itokens: + yield realpos, it_token, it_value + realpos += len(it_value) + oldi = index - i + try: + index, itokens = next(insertions) + except StopIteration: + insleft = False + break # not strictly necessary + if oldi < len(v): + yield realpos, t, v[oldi:] + realpos += len(v) - oldi + + # leftover tokens + while insleft: + # no normal tokens, set realpos to zero + realpos = realpos or 0 + for p, t, v in itokens: + yield realpos, t, v + realpos += len(v) + try: + index, itokens = next(insertions) + except StopIteration: + insleft = False + break # not strictly necessary + + +class ProfilingRegexLexerMeta(RegexLexerMeta): + """Metaclass for ProfilingRegexLexer, collects regex timing info.""" + + def _process_regex(cls, regex, rflags, state): + if isinstance(regex, words): + rex = regex_opt(regex.words, prefix=regex.prefix, + suffix=regex.suffix) + else: + rex = regex + compiled = re.compile(rex, rflags) + + def match_func(text, pos, endpos=sys.maxsize): + info = cls._prof_data[-1].setdefault((state, rex), [0, 0.0]) + t0 = time.time() + res = compiled.match(text, pos, endpos) + t1 = time.time() + info[0] += 1 + info[1] += t1 - t0 + return res + return match_func + + +class ProfilingRegexLexer(RegexLexer, metaclass=ProfilingRegexLexerMeta): + """Drop-in replacement for RegexLexer that does profiling of its regexes.""" + + _prof_data = [] + _prof_sort_index = 4 # defaults to time per call + + def get_tokens_unprocessed(self, text, stack=('root',)): + # this needs to be a stack, since using(this) will produce nested calls + self.__class__._prof_data.append({}) + yield from RegexLexer.get_tokens_unprocessed(self, text, stack) + rawdata = self.__class__._prof_data.pop() + data = sorted(((s, repr(r).strip('u\'').replace('\\\\', '\\')[:65], + n, 1000 * t, 1000 * t / n) + for ((s, r), (n, t)) in rawdata.items()), + key=lambda x: x[self._prof_sort_index], + reverse=True) + sum_total = sum(x[3] for x in data) + + print() + print('Profiling result for %s lexing %d chars in %.3f ms' % + (self.__class__.__name__, len(text), sum_total)) + print('=' * 110) + print('%-20s %-64s ncalls tottime percall' % ('state', 'regex')) + print('-' * 110) + for d in data: + print('%-20s %-65s %5d %8.4f %8.4f' % d) + print('=' * 110) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..49184ec8a32e95c0a93bba61bfa3f066b71c51ff --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__init__.py @@ -0,0 +1,362 @@ +""" + pygments.lexers + ~~~~~~~~~~~~~~~ + + Pygments lexers. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import re +import sys +import types +import fnmatch +from os.path import basename + +from pip._vendor.pygments.lexers._mapping import LEXERS +from pip._vendor.pygments.modeline import get_filetype_from_buffer +from pip._vendor.pygments.plugin import find_plugin_lexers +from pip._vendor.pygments.util import ClassNotFound, guess_decode + +COMPAT = { + 'Python3Lexer': 'PythonLexer', + 'Python3TracebackLexer': 'PythonTracebackLexer', + 'LeanLexer': 'Lean3Lexer', +} + +__all__ = ['get_lexer_by_name', 'get_lexer_for_filename', 'find_lexer_class', + 'guess_lexer', 'load_lexer_from_file'] + list(LEXERS) + list(COMPAT) + +_lexer_cache = {} +_pattern_cache = {} + + +def _fn_matches(fn, glob): + """Return whether the supplied file name fn matches pattern filename.""" + if glob not in _pattern_cache: + pattern = _pattern_cache[glob] = re.compile(fnmatch.translate(glob)) + return pattern.match(fn) + return _pattern_cache[glob].match(fn) + + +def _load_lexers(module_name): + """Load a lexer (and all others in the module too).""" + mod = __import__(module_name, None, None, ['__all__']) + for lexer_name in mod.__all__: + cls = getattr(mod, lexer_name) + _lexer_cache[cls.name] = cls + + +def get_all_lexers(plugins=True): + """Return a generator of tuples in the form ``(name, aliases, + filenames, mimetypes)`` of all know lexers. + + If *plugins* is true (the default), plugin lexers supplied by entrypoints + are also returned. Otherwise, only builtin ones are considered. + """ + for item in LEXERS.values(): + yield item[1:] + if plugins: + for lexer in find_plugin_lexers(): + yield lexer.name, lexer.aliases, lexer.filenames, lexer.mimetypes + + +def find_lexer_class(name): + """ + Return the `Lexer` subclass that with the *name* attribute as given by + the *name* argument. + """ + if name in _lexer_cache: + return _lexer_cache[name] + # lookup builtin lexers + for module_name, lname, aliases, _, _ in LEXERS.values(): + if name == lname: + _load_lexers(module_name) + return _lexer_cache[name] + # continue with lexers from setuptools entrypoints + for cls in find_plugin_lexers(): + if cls.name == name: + return cls + + +def find_lexer_class_by_name(_alias): + """ + Return the `Lexer` subclass that has `alias` in its aliases list, without + instantiating it. + + Like `get_lexer_by_name`, but does not instantiate the class. + + Will raise :exc:`pygments.util.ClassNotFound` if no lexer with that alias is + found. + + .. versionadded:: 2.2 + """ + if not _alias: + raise ClassNotFound(f'no lexer for alias {_alias!r} found') + # lookup builtin lexers + for module_name, name, aliases, _, _ in LEXERS.values(): + if _alias.lower() in aliases: + if name not in _lexer_cache: + _load_lexers(module_name) + return _lexer_cache[name] + # continue with lexers from setuptools entrypoints + for cls in find_plugin_lexers(): + if _alias.lower() in cls.aliases: + return cls + raise ClassNotFound(f'no lexer for alias {_alias!r} found') + + +def get_lexer_by_name(_alias, **options): + """ + Return an instance of a `Lexer` subclass that has `alias` in its + aliases list. The lexer is given the `options` at its + instantiation. + + Will raise :exc:`pygments.util.ClassNotFound` if no lexer with that alias is + found. + """ + if not _alias: + raise ClassNotFound(f'no lexer for alias {_alias!r} found') + + # lookup builtin lexers + for module_name, name, aliases, _, _ in LEXERS.values(): + if _alias.lower() in aliases: + if name not in _lexer_cache: + _load_lexers(module_name) + return _lexer_cache[name](**options) + # continue with lexers from setuptools entrypoints + for cls in find_plugin_lexers(): + if _alias.lower() in cls.aliases: + return cls(**options) + raise ClassNotFound(f'no lexer for alias {_alias!r} found') + + +def load_lexer_from_file(filename, lexername="CustomLexer", **options): + """Load a lexer from a file. + + This method expects a file located relative to the current working + directory, which contains a Lexer class. By default, it expects the + Lexer to be name CustomLexer; you can specify your own class name + as the second argument to this function. + + Users should be very careful with the input, because this method + is equivalent to running eval on the input file. + + Raises ClassNotFound if there are any problems importing the Lexer. + + .. versionadded:: 2.2 + """ + try: + # This empty dict will contain the namespace for the exec'd file + custom_namespace = {} + with open(filename, 'rb') as f: + exec(f.read(), custom_namespace) + # Retrieve the class `lexername` from that namespace + if lexername not in custom_namespace: + raise ClassNotFound(f'no valid {lexername} class found in {filename}') + lexer_class = custom_namespace[lexername] + # And finally instantiate it with the options + return lexer_class(**options) + except OSError as err: + raise ClassNotFound(f'cannot read {filename}: {err}') + except ClassNotFound: + raise + except Exception as err: + raise ClassNotFound(f'error when loading custom lexer: {err}') + + +def find_lexer_class_for_filename(_fn, code=None): + """Get a lexer for a filename. + + If multiple lexers match the filename pattern, use ``analyse_text()`` to + figure out which one is more appropriate. + + Returns None if not found. + """ + matches = [] + fn = basename(_fn) + for modname, name, _, filenames, _ in LEXERS.values(): + for filename in filenames: + if _fn_matches(fn, filename): + if name not in _lexer_cache: + _load_lexers(modname) + matches.append((_lexer_cache[name], filename)) + for cls in find_plugin_lexers(): + for filename in cls.filenames: + if _fn_matches(fn, filename): + matches.append((cls, filename)) + + if isinstance(code, bytes): + # decode it, since all analyse_text functions expect unicode + code = guess_decode(code) + + def get_rating(info): + cls, filename = info + # explicit patterns get a bonus + bonus = '*' not in filename and 0.5 or 0 + # The class _always_ defines analyse_text because it's included in + # the Lexer class. The default implementation returns None which + # gets turned into 0.0. Run scripts/detect_missing_analyse_text.py + # to find lexers which need it overridden. + if code: + return cls.analyse_text(code) + bonus, cls.__name__ + return cls.priority + bonus, cls.__name__ + + if matches: + matches.sort(key=get_rating) + # print "Possible lexers, after sort:", matches + return matches[-1][0] + + +def get_lexer_for_filename(_fn, code=None, **options): + """Get a lexer for a filename. + + Return a `Lexer` subclass instance that has a filename pattern + matching `fn`. The lexer is given the `options` at its + instantiation. + + Raise :exc:`pygments.util.ClassNotFound` if no lexer for that filename + is found. + + If multiple lexers match the filename pattern, use their ``analyse_text()`` + methods to figure out which one is more appropriate. + """ + res = find_lexer_class_for_filename(_fn, code) + if not res: + raise ClassNotFound(f'no lexer for filename {_fn!r} found') + return res(**options) + + +def get_lexer_for_mimetype(_mime, **options): + """ + Return a `Lexer` subclass instance that has `mime` in its mimetype + list. The lexer is given the `options` at its instantiation. + + Will raise :exc:`pygments.util.ClassNotFound` if not lexer for that mimetype + is found. + """ + for modname, name, _, _, mimetypes in LEXERS.values(): + if _mime in mimetypes: + if name not in _lexer_cache: + _load_lexers(modname) + return _lexer_cache[name](**options) + for cls in find_plugin_lexers(): + if _mime in cls.mimetypes: + return cls(**options) + raise ClassNotFound(f'no lexer for mimetype {_mime!r} found') + + +def _iter_lexerclasses(plugins=True): + """Return an iterator over all lexer classes.""" + for key in sorted(LEXERS): + module_name, name = LEXERS[key][:2] + if name not in _lexer_cache: + _load_lexers(module_name) + yield _lexer_cache[name] + if plugins: + yield from find_plugin_lexers() + + +def guess_lexer_for_filename(_fn, _text, **options): + """ + As :func:`guess_lexer()`, but only lexers which have a pattern in `filenames` + or `alias_filenames` that matches `filename` are taken into consideration. + + :exc:`pygments.util.ClassNotFound` is raised if no lexer thinks it can + handle the content. + """ + fn = basename(_fn) + primary = {} + matching_lexers = set() + for lexer in _iter_lexerclasses(): + for filename in lexer.filenames: + if _fn_matches(fn, filename): + matching_lexers.add(lexer) + primary[lexer] = True + for filename in lexer.alias_filenames: + if _fn_matches(fn, filename): + matching_lexers.add(lexer) + primary[lexer] = False + if not matching_lexers: + raise ClassNotFound(f'no lexer for filename {fn!r} found') + if len(matching_lexers) == 1: + return matching_lexers.pop()(**options) + result = [] + for lexer in matching_lexers: + rv = lexer.analyse_text(_text) + if rv == 1.0: + return lexer(**options) + result.append((rv, lexer)) + + def type_sort(t): + # sort by: + # - analyse score + # - is primary filename pattern? + # - priority + # - last resort: class name + return (t[0], primary[t[1]], t[1].priority, t[1].__name__) + result.sort(key=type_sort) + + return result[-1][1](**options) + + +def guess_lexer(_text, **options): + """ + Return a `Lexer` subclass instance that's guessed from the text in + `text`. For that, the :meth:`.analyse_text()` method of every known lexer + class is called with the text as argument, and the lexer which returned the + highest value will be instantiated and returned. + + :exc:`pygments.util.ClassNotFound` is raised if no lexer thinks it can + handle the content. + """ + + if not isinstance(_text, str): + inencoding = options.get('inencoding', options.get('encoding')) + if inencoding: + _text = _text.decode(inencoding or 'utf8') + else: + _text, _ = guess_decode(_text) + + # try to get a vim modeline first + ft = get_filetype_from_buffer(_text) + + if ft is not None: + try: + return get_lexer_by_name(ft, **options) + except ClassNotFound: + pass + + best_lexer = [0.0, None] + for lexer in _iter_lexerclasses(): + rv = lexer.analyse_text(_text) + if rv == 1.0: + return lexer(**options) + if rv > best_lexer[0]: + best_lexer[:] = (rv, lexer) + if not best_lexer[0] or best_lexer[1] is None: + raise ClassNotFound('no lexer matching the text found') + return best_lexer[1](**options) + + +class _automodule(types.ModuleType): + """Automatically import lexers.""" + + def __getattr__(self, name): + info = LEXERS.get(name) + if info: + _load_lexers(info[0]) + cls = _lexer_cache[info[1]] + setattr(self, name, cls) + return cls + if name in COMPAT: + return getattr(self, COMPAT[name]) + raise AttributeError(name) + + +oldmod = sys.modules[__name__] +newmod = _automodule(__name__) +newmod.__dict__.update(oldmod.__dict__) +sys.modules[__name__] = newmod +del newmod.newmod, newmod.oldmod, newmod.sys, newmod.types diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1906508617658ba7358254093418632738bf2d6c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bdecbf11a86b9665b940680a4fcbb10dde3f6cfb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ecd2606f51c939bb41c468d96c7490765c20b3b3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/_mapping.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/_mapping.py new file mode 100644 index 0000000000000000000000000000000000000000..c0d6a8ad2852ba1db67d77c1d371f84c78f329fb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/_mapping.py @@ -0,0 +1,602 @@ +# Automatically generated by scripts/gen_mapfiles.py. +# DO NOT EDIT BY HAND; run `tox -e mapfiles` instead. + +LEXERS = { + 'ABAPLexer': ('pip._vendor.pygments.lexers.business', 'ABAP', ('abap',), ('*.abap', '*.ABAP'), ('text/x-abap',)), + 'AMDGPULexer': ('pip._vendor.pygments.lexers.amdgpu', 'AMDGPU', ('amdgpu',), ('*.isa',), ()), + 'APLLexer': ('pip._vendor.pygments.lexers.apl', 'APL', ('apl',), ('*.apl', '*.aplf', '*.aplo', '*.apln', '*.aplc', '*.apli', '*.dyalog'), ()), + 'AbnfLexer': ('pip._vendor.pygments.lexers.grammar_notation', 'ABNF', ('abnf',), ('*.abnf',), ('text/x-abnf',)), + 'ActionScript3Lexer': ('pip._vendor.pygments.lexers.actionscript', 'ActionScript 3', ('actionscript3', 'as3'), ('*.as',), ('application/x-actionscript3', 'text/x-actionscript3', 'text/actionscript3')), + 'ActionScriptLexer': ('pip._vendor.pygments.lexers.actionscript', 'ActionScript', ('actionscript', 'as'), ('*.as',), ('application/x-actionscript', 'text/x-actionscript', 'text/actionscript')), + 'AdaLexer': ('pip._vendor.pygments.lexers.ada', 'Ada', ('ada', 'ada95', 'ada2005'), ('*.adb', '*.ads', '*.ada'), ('text/x-ada',)), + 'AdlLexer': ('pip._vendor.pygments.lexers.archetype', 'ADL', ('adl',), ('*.adl', '*.adls', '*.adlf', '*.adlx'), ()), + 'AgdaLexer': ('pip._vendor.pygments.lexers.haskell', 'Agda', ('agda',), ('*.agda',), ('text/x-agda',)), + 'AheuiLexer': ('pip._vendor.pygments.lexers.esoteric', 'Aheui', ('aheui',), ('*.aheui',), ()), + 'AlloyLexer': ('pip._vendor.pygments.lexers.dsls', 'Alloy', ('alloy',), ('*.als',), ('text/x-alloy',)), + 'AmbientTalkLexer': ('pip._vendor.pygments.lexers.ambient', 'AmbientTalk', ('ambienttalk', 'ambienttalk/2', 'at'), ('*.at',), ('text/x-ambienttalk',)), + 'AmplLexer': ('pip._vendor.pygments.lexers.ampl', 'Ampl', ('ampl',), ('*.run',), ()), + 'Angular2HtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML + Angular2', ('html+ng2',), ('*.ng2',), ()), + 'Angular2Lexer': ('pip._vendor.pygments.lexers.templates', 'Angular2', ('ng2',), (), ()), + 'AntlrActionScriptLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR With ActionScript Target', ('antlr-actionscript', 'antlr-as'), ('*.G', '*.g'), ()), + 'AntlrCSharpLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR With C# Target', ('antlr-csharp', 'antlr-c#'), ('*.G', '*.g'), ()), + 'AntlrCppLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR With CPP Target', ('antlr-cpp',), ('*.G', '*.g'), ()), + 'AntlrJavaLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR With Java Target', ('antlr-java',), ('*.G', '*.g'), ()), + 'AntlrLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR', ('antlr',), (), ()), + 'AntlrObjectiveCLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR With ObjectiveC Target', ('antlr-objc',), ('*.G', '*.g'), ()), + 'AntlrPerlLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR With Perl Target', ('antlr-perl',), ('*.G', '*.g'), ()), + 'AntlrPythonLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR With Python Target', ('antlr-python',), ('*.G', '*.g'), ()), + 'AntlrRubyLexer': ('pip._vendor.pygments.lexers.parsers', 'ANTLR With Ruby Target', ('antlr-ruby', 'antlr-rb'), ('*.G', '*.g'), ()), + 'ApacheConfLexer': ('pip._vendor.pygments.lexers.configs', 'ApacheConf', ('apacheconf', 'aconf', 'apache'), ('.htaccess', 'apache.conf', 'apache2.conf'), ('text/x-apacheconf',)), + 'AppleScriptLexer': ('pip._vendor.pygments.lexers.scripting', 'AppleScript', ('applescript',), ('*.applescript',), ()), + 'ArduinoLexer': ('pip._vendor.pygments.lexers.c_like', 'Arduino', ('arduino',), ('*.ino',), ('text/x-arduino',)), + 'ArrowLexer': ('pip._vendor.pygments.lexers.arrow', 'Arrow', ('arrow',), ('*.arw',), ()), + 'ArturoLexer': ('pip._vendor.pygments.lexers.arturo', 'Arturo', ('arturo', 'art'), ('*.art',), ()), + 'AscLexer': ('pip._vendor.pygments.lexers.asc', 'ASCII armored', ('asc', 'pem'), ('*.asc', '*.pem', 'id_dsa', 'id_ecdsa', 'id_ecdsa_sk', 'id_ed25519', 'id_ed25519_sk', 'id_rsa'), ('application/pgp-keys', 'application/pgp-encrypted', 'application/pgp-signature', 'application/pem-certificate-chain')), + 'Asn1Lexer': ('pip._vendor.pygments.lexers.asn1', 'ASN.1', ('asn1',), ('*.asn1',), ()), + 'AspectJLexer': ('pip._vendor.pygments.lexers.jvm', 'AspectJ', ('aspectj',), ('*.aj',), ('text/x-aspectj',)), + 'AsymptoteLexer': ('pip._vendor.pygments.lexers.graphics', 'Asymptote', ('asymptote', 'asy'), ('*.asy',), ('text/x-asymptote',)), + 'AugeasLexer': ('pip._vendor.pygments.lexers.configs', 'Augeas', ('augeas',), ('*.aug',), ()), + 'AutoItLexer': ('pip._vendor.pygments.lexers.automation', 'AutoIt', ('autoit',), ('*.au3',), ('text/x-autoit',)), + 'AutohotkeyLexer': ('pip._vendor.pygments.lexers.automation', 'autohotkey', ('autohotkey', 'ahk'), ('*.ahk', '*.ahkl'), ('text/x-autohotkey',)), + 'AwkLexer': ('pip._vendor.pygments.lexers.textedit', 'Awk', ('awk', 'gawk', 'mawk', 'nawk'), ('*.awk',), ('application/x-awk',)), + 'BBCBasicLexer': ('pip._vendor.pygments.lexers.basic', 'BBC Basic', ('bbcbasic',), ('*.bbc',), ()), + 'BBCodeLexer': ('pip._vendor.pygments.lexers.markup', 'BBCode', ('bbcode',), (), ('text/x-bbcode',)), + 'BCLexer': ('pip._vendor.pygments.lexers.algebra', 'BC', ('bc',), ('*.bc',), ()), + 'BQNLexer': ('pip._vendor.pygments.lexers.bqn', 'BQN', ('bqn',), ('*.bqn',), ()), + 'BSTLexer': ('pip._vendor.pygments.lexers.bibtex', 'BST', ('bst', 'bst-pybtex'), ('*.bst',), ()), + 'BareLexer': ('pip._vendor.pygments.lexers.bare', 'BARE', ('bare',), ('*.bare',), ()), + 'BaseMakefileLexer': ('pip._vendor.pygments.lexers.make', 'Base Makefile', ('basemake',), (), ()), + 'BashLexer': ('pip._vendor.pygments.lexers.shell', 'Bash', ('bash', 'sh', 'ksh', 'zsh', 'shell', 'openrc'), ('*.sh', '*.ksh', '*.bash', '*.ebuild', '*.eclass', '*.exheres-0', '*.exlib', '*.zsh', '.bashrc', 'bashrc', '.bash_*', 'bash_*', 'zshrc', '.zshrc', '.kshrc', 'kshrc', 'PKGBUILD'), ('application/x-sh', 'application/x-shellscript', 'text/x-shellscript')), + 'BashSessionLexer': ('pip._vendor.pygments.lexers.shell', 'Bash Session', ('console', 'shell-session'), ('*.sh-session', '*.shell-session'), ('application/x-shell-session', 'application/x-sh-session')), + 'BatchLexer': ('pip._vendor.pygments.lexers.shell', 'Batchfile', ('batch', 'bat', 'dosbatch', 'winbatch'), ('*.bat', '*.cmd'), ('application/x-dos-batch',)), + 'BddLexer': ('pip._vendor.pygments.lexers.bdd', 'Bdd', ('bdd',), ('*.feature',), ('text/x-bdd',)), + 'BefungeLexer': ('pip._vendor.pygments.lexers.esoteric', 'Befunge', ('befunge',), ('*.befunge',), ('application/x-befunge',)), + 'BerryLexer': ('pip._vendor.pygments.lexers.berry', 'Berry', ('berry', 'be'), ('*.be',), ('text/x-berry', 'application/x-berry')), + 'BibTeXLexer': ('pip._vendor.pygments.lexers.bibtex', 'BibTeX', ('bibtex', 'bib'), ('*.bib',), ('text/x-bibtex',)), + 'BlitzBasicLexer': ('pip._vendor.pygments.lexers.basic', 'BlitzBasic', ('blitzbasic', 'b3d', 'bplus'), ('*.bb', '*.decls'), ('text/x-bb',)), + 'BlitzMaxLexer': ('pip._vendor.pygments.lexers.basic', 'BlitzMax', ('blitzmax', 'bmax'), ('*.bmx',), ('text/x-bmx',)), + 'BlueprintLexer': ('pip._vendor.pygments.lexers.blueprint', 'Blueprint', ('blueprint',), ('*.blp',), ('text/x-blueprint',)), + 'BnfLexer': ('pip._vendor.pygments.lexers.grammar_notation', 'BNF', ('bnf',), ('*.bnf',), ('text/x-bnf',)), + 'BoaLexer': ('pip._vendor.pygments.lexers.boa', 'Boa', ('boa',), ('*.boa',), ()), + 'BooLexer': ('pip._vendor.pygments.lexers.dotnet', 'Boo', ('boo',), ('*.boo',), ('text/x-boo',)), + 'BoogieLexer': ('pip._vendor.pygments.lexers.verification', 'Boogie', ('boogie',), ('*.bpl',), ()), + 'BrainfuckLexer': ('pip._vendor.pygments.lexers.esoteric', 'Brainfuck', ('brainfuck', 'bf'), ('*.bf', '*.b'), ('application/x-brainfuck',)), + 'BugsLexer': ('pip._vendor.pygments.lexers.modeling', 'BUGS', ('bugs', 'winbugs', 'openbugs'), ('*.bug',), ()), + 'CAmkESLexer': ('pip._vendor.pygments.lexers.esoteric', 'CAmkES', ('camkes', 'idl4'), ('*.camkes', '*.idl4'), ()), + 'CLexer': ('pip._vendor.pygments.lexers.c_cpp', 'C', ('c',), ('*.c', '*.h', '*.idc', '*.x[bp]m'), ('text/x-chdr', 'text/x-csrc', 'image/x-xbitmap', 'image/x-xpixmap')), + 'CMakeLexer': ('pip._vendor.pygments.lexers.make', 'CMake', ('cmake',), ('*.cmake', 'CMakeLists.txt'), ('text/x-cmake',)), + 'CObjdumpLexer': ('pip._vendor.pygments.lexers.asm', 'c-objdump', ('c-objdump',), ('*.c-objdump',), ('text/x-c-objdump',)), + 'CPSALexer': ('pip._vendor.pygments.lexers.lisp', 'CPSA', ('cpsa',), ('*.cpsa',), ()), + 'CSSUL4Lexer': ('pip._vendor.pygments.lexers.ul4', 'CSS+UL4', ('css+ul4',), ('*.cssul4',), ()), + 'CSharpAspxLexer': ('pip._vendor.pygments.lexers.dotnet', 'aspx-cs', ('aspx-cs',), ('*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'), ()), + 'CSharpLexer': ('pip._vendor.pygments.lexers.dotnet', 'C#', ('csharp', 'c#', 'cs'), ('*.cs',), ('text/x-csharp',)), + 'Ca65Lexer': ('pip._vendor.pygments.lexers.asm', 'ca65 assembler', ('ca65',), ('*.s',), ()), + 'CadlLexer': ('pip._vendor.pygments.lexers.archetype', 'cADL', ('cadl',), ('*.cadl',), ()), + 'CapDLLexer': ('pip._vendor.pygments.lexers.esoteric', 'CapDL', ('capdl',), ('*.cdl',), ()), + 'CapnProtoLexer': ('pip._vendor.pygments.lexers.capnproto', "Cap'n Proto", ('capnp',), ('*.capnp',), ()), + 'CarbonLexer': ('pip._vendor.pygments.lexers.carbon', 'Carbon', ('carbon',), ('*.carbon',), ('text/x-carbon',)), + 'CbmBasicV2Lexer': ('pip._vendor.pygments.lexers.basic', 'CBM BASIC V2', ('cbmbas',), ('*.bas',), ()), + 'CddlLexer': ('pip._vendor.pygments.lexers.cddl', 'CDDL', ('cddl',), ('*.cddl',), ('text/x-cddl',)), + 'CeylonLexer': ('pip._vendor.pygments.lexers.jvm', 'Ceylon', ('ceylon',), ('*.ceylon',), ('text/x-ceylon',)), + 'Cfengine3Lexer': ('pip._vendor.pygments.lexers.configs', 'CFEngine3', ('cfengine3', 'cf3'), ('*.cf',), ()), + 'ChaiscriptLexer': ('pip._vendor.pygments.lexers.scripting', 'ChaiScript', ('chaiscript', 'chai'), ('*.chai',), ('text/x-chaiscript', 'application/x-chaiscript')), + 'ChapelLexer': ('pip._vendor.pygments.lexers.chapel', 'Chapel', ('chapel', 'chpl'), ('*.chpl',), ()), + 'CharmciLexer': ('pip._vendor.pygments.lexers.c_like', 'Charmci', ('charmci',), ('*.ci',), ()), + 'CheetahHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Cheetah', ('html+cheetah', 'html+spitfire', 'htmlcheetah'), (), ('text/html+cheetah', 'text/html+spitfire')), + 'CheetahJavascriptLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+Cheetah', ('javascript+cheetah', 'js+cheetah', 'javascript+spitfire', 'js+spitfire'), (), ('application/x-javascript+cheetah', 'text/x-javascript+cheetah', 'text/javascript+cheetah', 'application/x-javascript+spitfire', 'text/x-javascript+spitfire', 'text/javascript+spitfire')), + 'CheetahLexer': ('pip._vendor.pygments.lexers.templates', 'Cheetah', ('cheetah', 'spitfire'), ('*.tmpl', '*.spt'), ('application/x-cheetah', 'application/x-spitfire')), + 'CheetahXmlLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Cheetah', ('xml+cheetah', 'xml+spitfire'), (), ('application/xml+cheetah', 'application/xml+spitfire')), + 'CirruLexer': ('pip._vendor.pygments.lexers.webmisc', 'Cirru', ('cirru',), ('*.cirru',), ('text/x-cirru',)), + 'ClayLexer': ('pip._vendor.pygments.lexers.c_like', 'Clay', ('clay',), ('*.clay',), ('text/x-clay',)), + 'CleanLexer': ('pip._vendor.pygments.lexers.clean', 'Clean', ('clean',), ('*.icl', '*.dcl'), ()), + 'ClojureLexer': ('pip._vendor.pygments.lexers.jvm', 'Clojure', ('clojure', 'clj'), ('*.clj', '*.cljc'), ('text/x-clojure', 'application/x-clojure')), + 'ClojureScriptLexer': ('pip._vendor.pygments.lexers.jvm', 'ClojureScript', ('clojurescript', 'cljs'), ('*.cljs',), ('text/x-clojurescript', 'application/x-clojurescript')), + 'CobolFreeformatLexer': ('pip._vendor.pygments.lexers.business', 'COBOLFree', ('cobolfree',), ('*.cbl', '*.CBL'), ()), + 'CobolLexer': ('pip._vendor.pygments.lexers.business', 'COBOL', ('cobol',), ('*.cob', '*.COB', '*.cpy', '*.CPY'), ('text/x-cobol',)), + 'CodeQLLexer': ('pip._vendor.pygments.lexers.codeql', 'CodeQL', ('codeql', 'ql'), ('*.ql', '*.qll'), ()), + 'CoffeeScriptLexer': ('pip._vendor.pygments.lexers.javascript', 'CoffeeScript', ('coffeescript', 'coffee-script', 'coffee'), ('*.coffee',), ('text/coffeescript',)), + 'ColdfusionCFCLexer': ('pip._vendor.pygments.lexers.templates', 'Coldfusion CFC', ('cfc',), ('*.cfc',), ()), + 'ColdfusionHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'Coldfusion HTML', ('cfm',), ('*.cfm', '*.cfml'), ('application/x-coldfusion',)), + 'ColdfusionLexer': ('pip._vendor.pygments.lexers.templates', 'cfstatement', ('cfs',), (), ()), + 'Comal80Lexer': ('pip._vendor.pygments.lexers.comal', 'COMAL-80', ('comal', 'comal80'), ('*.cml', '*.comal'), ()), + 'CommonLispLexer': ('pip._vendor.pygments.lexers.lisp', 'Common Lisp', ('common-lisp', 'cl', 'lisp'), ('*.cl', '*.lisp'), ('text/x-common-lisp',)), + 'ComponentPascalLexer': ('pip._vendor.pygments.lexers.oberon', 'Component Pascal', ('componentpascal', 'cp'), ('*.cp', '*.cps'), ('text/x-component-pascal',)), + 'CoqLexer': ('pip._vendor.pygments.lexers.theorem', 'Coq', ('coq',), ('*.v',), ('text/x-coq',)), + 'CplintLexer': ('pip._vendor.pygments.lexers.cplint', 'cplint', ('cplint',), ('*.ecl', '*.prolog', '*.pro', '*.pl', '*.P', '*.lpad', '*.cpl'), ('text/x-cplint',)), + 'CppLexer': ('pip._vendor.pygments.lexers.c_cpp', 'C++', ('cpp', 'c++'), ('*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', '*.C', '*.H', '*.cp', '*.CPP', '*.tpp'), ('text/x-c++hdr', 'text/x-c++src')), + 'CppObjdumpLexer': ('pip._vendor.pygments.lexers.asm', 'cpp-objdump', ('cpp-objdump', 'c++-objdumb', 'cxx-objdump'), ('*.cpp-objdump', '*.c++-objdump', '*.cxx-objdump'), ('text/x-cpp-objdump',)), + 'CrmshLexer': ('pip._vendor.pygments.lexers.dsls', 'Crmsh', ('crmsh', 'pcmk'), ('*.crmsh', '*.pcmk'), ()), + 'CrocLexer': ('pip._vendor.pygments.lexers.d', 'Croc', ('croc',), ('*.croc',), ('text/x-crocsrc',)), + 'CryptolLexer': ('pip._vendor.pygments.lexers.haskell', 'Cryptol', ('cryptol', 'cry'), ('*.cry',), ('text/x-cryptol',)), + 'CrystalLexer': ('pip._vendor.pygments.lexers.crystal', 'Crystal', ('cr', 'crystal'), ('*.cr',), ('text/x-crystal',)), + 'CsoundDocumentLexer': ('pip._vendor.pygments.lexers.csound', 'Csound Document', ('csound-document', 'csound-csd'), ('*.csd',), ()), + 'CsoundOrchestraLexer': ('pip._vendor.pygments.lexers.csound', 'Csound Orchestra', ('csound', 'csound-orc'), ('*.orc', '*.udo'), ()), + 'CsoundScoreLexer': ('pip._vendor.pygments.lexers.csound', 'Csound Score', ('csound-score', 'csound-sco'), ('*.sco',), ()), + 'CssDjangoLexer': ('pip._vendor.pygments.lexers.templates', 'CSS+Django/Jinja', ('css+django', 'css+jinja'), ('*.css.j2', '*.css.jinja2'), ('text/css+django', 'text/css+jinja')), + 'CssErbLexer': ('pip._vendor.pygments.lexers.templates', 'CSS+Ruby', ('css+ruby', 'css+erb'), (), ('text/css+ruby',)), + 'CssGenshiLexer': ('pip._vendor.pygments.lexers.templates', 'CSS+Genshi Text', ('css+genshitext', 'css+genshi'), (), ('text/css+genshi',)), + 'CssLexer': ('pip._vendor.pygments.lexers.css', 'CSS', ('css',), ('*.css',), ('text/css',)), + 'CssPhpLexer': ('pip._vendor.pygments.lexers.templates', 'CSS+PHP', ('css+php',), (), ('text/css+php',)), + 'CssSmartyLexer': ('pip._vendor.pygments.lexers.templates', 'CSS+Smarty', ('css+smarty',), (), ('text/css+smarty',)), + 'CudaLexer': ('pip._vendor.pygments.lexers.c_like', 'CUDA', ('cuda', 'cu'), ('*.cu', '*.cuh'), ('text/x-cuda',)), + 'CypherLexer': ('pip._vendor.pygments.lexers.graph', 'Cypher', ('cypher',), ('*.cyp', '*.cypher'), ()), + 'CythonLexer': ('pip._vendor.pygments.lexers.python', 'Cython', ('cython', 'pyx', 'pyrex'), ('*.pyx', '*.pxd', '*.pxi'), ('text/x-cython', 'application/x-cython')), + 'DLexer': ('pip._vendor.pygments.lexers.d', 'D', ('d',), ('*.d', '*.di'), ('text/x-dsrc',)), + 'DObjdumpLexer': ('pip._vendor.pygments.lexers.asm', 'd-objdump', ('d-objdump',), ('*.d-objdump',), ('text/x-d-objdump',)), + 'DarcsPatchLexer': ('pip._vendor.pygments.lexers.diff', 'Darcs Patch', ('dpatch',), ('*.dpatch', '*.darcspatch'), ()), + 'DartLexer': ('pip._vendor.pygments.lexers.javascript', 'Dart', ('dart',), ('*.dart',), ('text/x-dart',)), + 'Dasm16Lexer': ('pip._vendor.pygments.lexers.asm', 'DASM16', ('dasm16',), ('*.dasm16', '*.dasm'), ('text/x-dasm16',)), + 'DaxLexer': ('pip._vendor.pygments.lexers.dax', 'Dax', ('dax',), ('*.dax',), ()), + 'DebianControlLexer': ('pip._vendor.pygments.lexers.installers', 'Debian Control file', ('debcontrol', 'control'), ('control',), ()), + 'DebianSourcesLexer': ('pip._vendor.pygments.lexers.installers', 'Debian Sources file', ('debian.sources',), ('*.sources',), ()), + 'DelphiLexer': ('pip._vendor.pygments.lexers.pascal', 'Delphi', ('delphi', 'pas', 'pascal', 'objectpascal'), ('*.pas', '*.dpr'), ('text/x-pascal',)), + 'DesktopLexer': ('pip._vendor.pygments.lexers.configs', 'Desktop file', ('desktop',), ('*.desktop',), ('application/x-desktop',)), + 'DevicetreeLexer': ('pip._vendor.pygments.lexers.devicetree', 'Devicetree', ('devicetree', 'dts'), ('*.dts', '*.dtsi'), ('text/x-c',)), + 'DgLexer': ('pip._vendor.pygments.lexers.python', 'dg', ('dg',), ('*.dg',), ('text/x-dg',)), + 'DiffLexer': ('pip._vendor.pygments.lexers.diff', 'Diff', ('diff', 'udiff'), ('*.diff', '*.patch'), ('text/x-diff', 'text/x-patch')), + 'DjangoLexer': ('pip._vendor.pygments.lexers.templates', 'Django/Jinja', ('django', 'jinja'), (), ('application/x-django-templating', 'application/x-jinja')), + 'DnsZoneLexer': ('pip._vendor.pygments.lexers.dns', 'Zone', ('zone',), ('*.zone',), ('text/dns',)), + 'DockerLexer': ('pip._vendor.pygments.lexers.configs', 'Docker', ('docker', 'dockerfile'), ('Dockerfile', '*.docker'), ('text/x-dockerfile-config',)), + 'DtdLexer': ('pip._vendor.pygments.lexers.html', 'DTD', ('dtd',), ('*.dtd',), ('application/xml-dtd',)), + 'DuelLexer': ('pip._vendor.pygments.lexers.webmisc', 'Duel', ('duel', 'jbst', 'jsonml+bst'), ('*.duel', '*.jbst'), ('text/x-duel', 'text/x-jbst')), + 'DylanConsoleLexer': ('pip._vendor.pygments.lexers.dylan', 'Dylan session', ('dylan-console', 'dylan-repl'), ('*.dylan-console',), ('text/x-dylan-console',)), + 'DylanLexer': ('pip._vendor.pygments.lexers.dylan', 'Dylan', ('dylan',), ('*.dylan', '*.dyl', '*.intr'), ('text/x-dylan',)), + 'DylanLidLexer': ('pip._vendor.pygments.lexers.dylan', 'DylanLID', ('dylan-lid', 'lid'), ('*.lid', '*.hdp'), ('text/x-dylan-lid',)), + 'ECLLexer': ('pip._vendor.pygments.lexers.ecl', 'ECL', ('ecl',), ('*.ecl',), ('application/x-ecl',)), + 'ECLexer': ('pip._vendor.pygments.lexers.c_like', 'eC', ('ec',), ('*.ec', '*.eh'), ('text/x-echdr', 'text/x-ecsrc')), + 'EarlGreyLexer': ('pip._vendor.pygments.lexers.javascript', 'Earl Grey', ('earl-grey', 'earlgrey', 'eg'), ('*.eg',), ('text/x-earl-grey',)), + 'EasytrieveLexer': ('pip._vendor.pygments.lexers.scripting', 'Easytrieve', ('easytrieve',), ('*.ezt', '*.mac'), ('text/x-easytrieve',)), + 'EbnfLexer': ('pip._vendor.pygments.lexers.parsers', 'EBNF', ('ebnf',), ('*.ebnf',), ('text/x-ebnf',)), + 'EiffelLexer': ('pip._vendor.pygments.lexers.eiffel', 'Eiffel', ('eiffel',), ('*.e',), ('text/x-eiffel',)), + 'ElixirConsoleLexer': ('pip._vendor.pygments.lexers.erlang', 'Elixir iex session', ('iex',), (), ('text/x-elixir-shellsession',)), + 'ElixirLexer': ('pip._vendor.pygments.lexers.erlang', 'Elixir', ('elixir', 'ex', 'exs'), ('*.ex', '*.eex', '*.exs', '*.leex'), ('text/x-elixir',)), + 'ElmLexer': ('pip._vendor.pygments.lexers.elm', 'Elm', ('elm',), ('*.elm',), ('text/x-elm',)), + 'ElpiLexer': ('pip._vendor.pygments.lexers.elpi', 'Elpi', ('elpi',), ('*.elpi',), ('text/x-elpi',)), + 'EmacsLispLexer': ('pip._vendor.pygments.lexers.lisp', 'EmacsLisp', ('emacs-lisp', 'elisp', 'emacs'), ('*.el',), ('text/x-elisp', 'application/x-elisp')), + 'EmailLexer': ('pip._vendor.pygments.lexers.email', 'E-mail', ('email', 'eml'), ('*.eml',), ('message/rfc822',)), + 'ErbLexer': ('pip._vendor.pygments.lexers.templates', 'ERB', ('erb',), (), ('application/x-ruby-templating',)), + 'ErlangLexer': ('pip._vendor.pygments.lexers.erlang', 'Erlang', ('erlang',), ('*.erl', '*.hrl', '*.es', '*.escript'), ('text/x-erlang',)), + 'ErlangShellLexer': ('pip._vendor.pygments.lexers.erlang', 'Erlang erl session', ('erl',), ('*.erl-sh',), ('text/x-erl-shellsession',)), + 'EvoqueHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Evoque', ('html+evoque',), (), ('text/html+evoque',)), + 'EvoqueLexer': ('pip._vendor.pygments.lexers.templates', 'Evoque', ('evoque',), ('*.evoque',), ('application/x-evoque',)), + 'EvoqueXmlLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Evoque', ('xml+evoque',), (), ('application/xml+evoque',)), + 'ExeclineLexer': ('pip._vendor.pygments.lexers.shell', 'execline', ('execline',), ('*.exec',), ()), + 'EzhilLexer': ('pip._vendor.pygments.lexers.ezhil', 'Ezhil', ('ezhil',), ('*.n',), ('text/x-ezhil',)), + 'FSharpLexer': ('pip._vendor.pygments.lexers.dotnet', 'F#', ('fsharp', 'f#'), ('*.fs', '*.fsi', '*.fsx'), ('text/x-fsharp',)), + 'FStarLexer': ('pip._vendor.pygments.lexers.ml', 'FStar', ('fstar',), ('*.fst', '*.fsti'), ('text/x-fstar',)), + 'FactorLexer': ('pip._vendor.pygments.lexers.factor', 'Factor', ('factor',), ('*.factor',), ('text/x-factor',)), + 'FancyLexer': ('pip._vendor.pygments.lexers.ruby', 'Fancy', ('fancy', 'fy'), ('*.fy', '*.fancypack'), ('text/x-fancysrc',)), + 'FantomLexer': ('pip._vendor.pygments.lexers.fantom', 'Fantom', ('fan',), ('*.fan',), ('application/x-fantom',)), + 'FelixLexer': ('pip._vendor.pygments.lexers.felix', 'Felix', ('felix', 'flx'), ('*.flx', '*.flxh'), ('text/x-felix',)), + 'FennelLexer': ('pip._vendor.pygments.lexers.lisp', 'Fennel', ('fennel', 'fnl'), ('*.fnl',), ()), + 'FiftLexer': ('pip._vendor.pygments.lexers.fift', 'Fift', ('fift', 'fif'), ('*.fif',), ()), + 'FishShellLexer': ('pip._vendor.pygments.lexers.shell', 'Fish', ('fish', 'fishshell'), ('*.fish', '*.load'), ('application/x-fish',)), + 'FlatlineLexer': ('pip._vendor.pygments.lexers.dsls', 'Flatline', ('flatline',), (), ('text/x-flatline',)), + 'FloScriptLexer': ('pip._vendor.pygments.lexers.floscript', 'FloScript', ('floscript', 'flo'), ('*.flo',), ()), + 'ForthLexer': ('pip._vendor.pygments.lexers.forth', 'Forth', ('forth',), ('*.frt', '*.fs'), ('application/x-forth',)), + 'FortranFixedLexer': ('pip._vendor.pygments.lexers.fortran', 'FortranFixed', ('fortranfixed',), ('*.f', '*.F'), ()), + 'FortranLexer': ('pip._vendor.pygments.lexers.fortran', 'Fortran', ('fortran', 'f90'), ('*.f03', '*.f90', '*.F03', '*.F90'), ('text/x-fortran',)), + 'FoxProLexer': ('pip._vendor.pygments.lexers.foxpro', 'FoxPro', ('foxpro', 'vfp', 'clipper', 'xbase'), ('*.PRG', '*.prg'), ()), + 'FreeFemLexer': ('pip._vendor.pygments.lexers.freefem', 'Freefem', ('freefem',), ('*.edp',), ('text/x-freefem',)), + 'FuncLexer': ('pip._vendor.pygments.lexers.func', 'FunC', ('func', 'fc'), ('*.fc', '*.func'), ()), + 'FutharkLexer': ('pip._vendor.pygments.lexers.futhark', 'Futhark', ('futhark',), ('*.fut',), ('text/x-futhark',)), + 'GAPConsoleLexer': ('pip._vendor.pygments.lexers.algebra', 'GAP session', ('gap-console', 'gap-repl'), ('*.tst',), ()), + 'GAPLexer': ('pip._vendor.pygments.lexers.algebra', 'GAP', ('gap',), ('*.g', '*.gd', '*.gi', '*.gap'), ()), + 'GDScriptLexer': ('pip._vendor.pygments.lexers.gdscript', 'GDScript', ('gdscript', 'gd'), ('*.gd',), ('text/x-gdscript', 'application/x-gdscript')), + 'GLShaderLexer': ('pip._vendor.pygments.lexers.graphics', 'GLSL', ('glsl',), ('*.vert', '*.frag', '*.geo'), ('text/x-glslsrc',)), + 'GSQLLexer': ('pip._vendor.pygments.lexers.gsql', 'GSQL', ('gsql',), ('*.gsql',), ()), + 'GasLexer': ('pip._vendor.pygments.lexers.asm', 'GAS', ('gas', 'asm'), ('*.s', '*.S'), ('text/x-gas',)), + 'GcodeLexer': ('pip._vendor.pygments.lexers.gcodelexer', 'g-code', ('gcode',), ('*.gcode',), ()), + 'GenshiLexer': ('pip._vendor.pygments.lexers.templates', 'Genshi', ('genshi', 'kid', 'xml+genshi', 'xml+kid'), ('*.kid',), ('application/x-genshi', 'application/x-kid')), + 'GenshiTextLexer': ('pip._vendor.pygments.lexers.templates', 'Genshi Text', ('genshitext',), (), ('application/x-genshi-text', 'text/x-genshi')), + 'GettextLexer': ('pip._vendor.pygments.lexers.textfmts', 'Gettext Catalog', ('pot', 'po'), ('*.pot', '*.po'), ('application/x-gettext', 'text/x-gettext', 'text/gettext')), + 'GherkinLexer': ('pip._vendor.pygments.lexers.testing', 'Gherkin', ('gherkin', 'cucumber'), ('*.feature',), ('text/x-gherkin',)), + 'GleamLexer': ('pip._vendor.pygments.lexers.gleam', 'Gleam', ('gleam',), ('*.gleam',), ('text/x-gleam',)), + 'GnuplotLexer': ('pip._vendor.pygments.lexers.graphics', 'Gnuplot', ('gnuplot',), ('*.plot', '*.plt'), ('text/x-gnuplot',)), + 'GoLexer': ('pip._vendor.pygments.lexers.go', 'Go', ('go', 'golang'), ('*.go',), ('text/x-gosrc',)), + 'GoloLexer': ('pip._vendor.pygments.lexers.jvm', 'Golo', ('golo',), ('*.golo',), ()), + 'GoodDataCLLexer': ('pip._vendor.pygments.lexers.business', 'GoodData-CL', ('gooddata-cl',), ('*.gdc',), ('text/x-gooddata-cl',)), + 'GoogleSqlLexer': ('pip._vendor.pygments.lexers.sql', 'GoogleSQL', ('googlesql', 'zetasql'), ('*.googlesql', '*.googlesql.sql'), ('text/x-google-sql', 'text/x-google-sql-aux')), + 'GosuLexer': ('pip._vendor.pygments.lexers.jvm', 'Gosu', ('gosu',), ('*.gs', '*.gsx', '*.gsp', '*.vark'), ('text/x-gosu',)), + 'GosuTemplateLexer': ('pip._vendor.pygments.lexers.jvm', 'Gosu Template', ('gst',), ('*.gst',), ('text/x-gosu-template',)), + 'GraphQLLexer': ('pip._vendor.pygments.lexers.graphql', 'GraphQL', ('graphql',), ('*.graphql',), ()), + 'GraphvizLexer': ('pip._vendor.pygments.lexers.graphviz', 'Graphviz', ('graphviz', 'dot'), ('*.gv', '*.dot'), ('text/x-graphviz', 'text/vnd.graphviz')), + 'GroffLexer': ('pip._vendor.pygments.lexers.markup', 'Groff', ('groff', 'nroff', 'man'), ('*.[1-9]', '*.man', '*.1p', '*.3pm'), ('application/x-troff', 'text/troff')), + 'GroovyLexer': ('pip._vendor.pygments.lexers.jvm', 'Groovy', ('groovy',), ('*.groovy', '*.gradle'), ('text/x-groovy',)), + 'HLSLShaderLexer': ('pip._vendor.pygments.lexers.graphics', 'HLSL', ('hlsl',), ('*.hlsl', '*.hlsli'), ('text/x-hlsl',)), + 'HTMLUL4Lexer': ('pip._vendor.pygments.lexers.ul4', 'HTML+UL4', ('html+ul4',), ('*.htmlul4',), ()), + 'HamlLexer': ('pip._vendor.pygments.lexers.html', 'Haml', ('haml',), ('*.haml',), ('text/x-haml',)), + 'HandlebarsHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Handlebars', ('html+handlebars',), ('*.handlebars', '*.hbs'), ('text/html+handlebars', 'text/x-handlebars-template')), + 'HandlebarsLexer': ('pip._vendor.pygments.lexers.templates', 'Handlebars', ('handlebars',), (), ()), + 'HareLexer': ('pip._vendor.pygments.lexers.hare', 'Hare', ('hare',), ('*.ha',), ('text/x-hare',)), + 'HaskellLexer': ('pip._vendor.pygments.lexers.haskell', 'Haskell', ('haskell', 'hs'), ('*.hs',), ('text/x-haskell',)), + 'HaxeLexer': ('pip._vendor.pygments.lexers.haxe', 'Haxe', ('haxe', 'hxsl', 'hx'), ('*.hx', '*.hxsl'), ('text/haxe', 'text/x-haxe', 'text/x-hx')), + 'HexdumpLexer': ('pip._vendor.pygments.lexers.hexdump', 'Hexdump', ('hexdump',), (), ()), + 'HsailLexer': ('pip._vendor.pygments.lexers.asm', 'HSAIL', ('hsail', 'hsa'), ('*.hsail',), ('text/x-hsail',)), + 'HspecLexer': ('pip._vendor.pygments.lexers.haskell', 'Hspec', ('hspec',), ('*Spec.hs',), ()), + 'HtmlDjangoLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Django/Jinja', ('html+django', 'html+jinja', 'htmldjango'), ('*.html.j2', '*.htm.j2', '*.xhtml.j2', '*.html.jinja2', '*.htm.jinja2', '*.xhtml.jinja2'), ('text/html+django', 'text/html+jinja')), + 'HtmlGenshiLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Genshi', ('html+genshi', 'html+kid'), (), ('text/html+genshi',)), + 'HtmlLexer': ('pip._vendor.pygments.lexers.html', 'HTML', ('html',), ('*.html', '*.htm', '*.xhtml', '*.xslt'), ('text/html', 'application/xhtml+xml')), + 'HtmlPhpLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+PHP', ('html+php',), ('*.phtml',), ('application/x-php', 'application/x-httpd-php', 'application/x-httpd-php3', 'application/x-httpd-php4', 'application/x-httpd-php5')), + 'HtmlSmartyLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Smarty', ('html+smarty',), (), ('text/html+smarty',)), + 'HttpLexer': ('pip._vendor.pygments.lexers.textfmts', 'HTTP', ('http',), (), ()), + 'HxmlLexer': ('pip._vendor.pygments.lexers.haxe', 'Hxml', ('haxeml', 'hxml'), ('*.hxml',), ()), + 'HyLexer': ('pip._vendor.pygments.lexers.lisp', 'Hy', ('hylang', 'hy'), ('*.hy',), ('text/x-hy', 'application/x-hy')), + 'HybrisLexer': ('pip._vendor.pygments.lexers.scripting', 'Hybris', ('hybris',), ('*.hyb',), ('text/x-hybris', 'application/x-hybris')), + 'IDLLexer': ('pip._vendor.pygments.lexers.idl', 'IDL', ('idl',), ('*.pro',), ('text/idl',)), + 'IconLexer': ('pip._vendor.pygments.lexers.unicon', 'Icon', ('icon',), ('*.icon', '*.ICON'), ()), + 'IdrisLexer': ('pip._vendor.pygments.lexers.haskell', 'Idris', ('idris', 'idr'), ('*.idr',), ('text/x-idris',)), + 'IgorLexer': ('pip._vendor.pygments.lexers.igor', 'Igor', ('igor', 'igorpro'), ('*.ipf',), ('text/ipf',)), + 'Inform6Lexer': ('pip._vendor.pygments.lexers.int_fiction', 'Inform 6', ('inform6', 'i6'), ('*.inf',), ()), + 'Inform6TemplateLexer': ('pip._vendor.pygments.lexers.int_fiction', 'Inform 6 template', ('i6t',), ('*.i6t',), ()), + 'Inform7Lexer': ('pip._vendor.pygments.lexers.int_fiction', 'Inform 7', ('inform7', 'i7'), ('*.ni', '*.i7x'), ()), + 'IniLexer': ('pip._vendor.pygments.lexers.configs', 'INI', ('ini', 'cfg', 'dosini'), ('*.ini', '*.cfg', '*.inf', '.editorconfig'), ('text/x-ini', 'text/inf')), + 'IoLexer': ('pip._vendor.pygments.lexers.iolang', 'Io', ('io',), ('*.io',), ('text/x-iosrc',)), + 'IokeLexer': ('pip._vendor.pygments.lexers.jvm', 'Ioke', ('ioke', 'ik'), ('*.ik',), ('text/x-iokesrc',)), + 'IrcLogsLexer': ('pip._vendor.pygments.lexers.textfmts', 'IRC logs', ('irc',), ('*.weechatlog',), ('text/x-irclog',)), + 'IsabelleLexer': ('pip._vendor.pygments.lexers.theorem', 'Isabelle', ('isabelle',), ('*.thy',), ('text/x-isabelle',)), + 'JLexer': ('pip._vendor.pygments.lexers.j', 'J', ('j',), ('*.ijs',), ('text/x-j',)), + 'JMESPathLexer': ('pip._vendor.pygments.lexers.jmespath', 'JMESPath', ('jmespath', 'jp'), ('*.jp',), ()), + 'JSLTLexer': ('pip._vendor.pygments.lexers.jslt', 'JSLT', ('jslt',), ('*.jslt',), ('text/x-jslt',)), + 'JagsLexer': ('pip._vendor.pygments.lexers.modeling', 'JAGS', ('jags',), ('*.jag', '*.bug'), ()), + 'JanetLexer': ('pip._vendor.pygments.lexers.lisp', 'Janet', ('janet',), ('*.janet', '*.jdn'), ('text/x-janet', 'application/x-janet')), + 'JasminLexer': ('pip._vendor.pygments.lexers.jvm', 'Jasmin', ('jasmin', 'jasminxt'), ('*.j',), ()), + 'JavaLexer': ('pip._vendor.pygments.lexers.jvm', 'Java', ('java',), ('*.java',), ('text/x-java',)), + 'JavascriptDjangoLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+Django/Jinja', ('javascript+django', 'js+django', 'javascript+jinja', 'js+jinja'), ('*.js.j2', '*.js.jinja2'), ('application/x-javascript+django', 'application/x-javascript+jinja', 'text/x-javascript+django', 'text/x-javascript+jinja', 'text/javascript+django', 'text/javascript+jinja')), + 'JavascriptErbLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+Ruby', ('javascript+ruby', 'js+ruby', 'javascript+erb', 'js+erb'), (), ('application/x-javascript+ruby', 'text/x-javascript+ruby', 'text/javascript+ruby')), + 'JavascriptGenshiLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+Genshi Text', ('js+genshitext', 'js+genshi', 'javascript+genshitext', 'javascript+genshi'), (), ('application/x-javascript+genshi', 'text/x-javascript+genshi', 'text/javascript+genshi')), + 'JavascriptLexer': ('pip._vendor.pygments.lexers.javascript', 'JavaScript', ('javascript', 'js'), ('*.js', '*.jsm', '*.mjs', '*.cjs'), ('application/javascript', 'application/x-javascript', 'text/x-javascript', 'text/javascript')), + 'JavascriptPhpLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+PHP', ('javascript+php', 'js+php'), (), ('application/x-javascript+php', 'text/x-javascript+php', 'text/javascript+php')), + 'JavascriptSmartyLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+Smarty', ('javascript+smarty', 'js+smarty'), (), ('application/x-javascript+smarty', 'text/x-javascript+smarty', 'text/javascript+smarty')), + 'JavascriptUL4Lexer': ('pip._vendor.pygments.lexers.ul4', 'Javascript+UL4', ('js+ul4',), ('*.jsul4',), ()), + 'JclLexer': ('pip._vendor.pygments.lexers.scripting', 'JCL', ('jcl',), ('*.jcl',), ('text/x-jcl',)), + 'JsgfLexer': ('pip._vendor.pygments.lexers.grammar_notation', 'JSGF', ('jsgf',), ('*.jsgf',), ('application/jsgf', 'application/x-jsgf', 'text/jsgf')), + 'Json5Lexer': ('pip._vendor.pygments.lexers.json5', 'JSON5', ('json5',), ('*.json5',), ()), + 'JsonBareObjectLexer': ('pip._vendor.pygments.lexers.data', 'JSONBareObject', (), (), ()), + 'JsonLdLexer': ('pip._vendor.pygments.lexers.data', 'JSON-LD', ('jsonld', 'json-ld'), ('*.jsonld',), ('application/ld+json',)), + 'JsonLexer': ('pip._vendor.pygments.lexers.data', 'JSON', ('json', 'json-object'), ('*.json', '*.jsonl', '*.ndjson', 'Pipfile.lock'), ('application/json', 'application/json-object', 'application/x-ndjson', 'application/jsonl', 'application/json-seq')), + 'JsonnetLexer': ('pip._vendor.pygments.lexers.jsonnet', 'Jsonnet', ('jsonnet',), ('*.jsonnet', '*.libsonnet'), ()), + 'JspLexer': ('pip._vendor.pygments.lexers.templates', 'Java Server Page', ('jsp',), ('*.jsp',), ('application/x-jsp',)), + 'JsxLexer': ('pip._vendor.pygments.lexers.jsx', 'JSX', ('jsx', 'react'), ('*.jsx', '*.react'), ('text/jsx', 'text/typescript-jsx')), + 'JuliaConsoleLexer': ('pip._vendor.pygments.lexers.julia', 'Julia console', ('jlcon', 'julia-repl'), (), ()), + 'JuliaLexer': ('pip._vendor.pygments.lexers.julia', 'Julia', ('julia', 'jl'), ('*.jl',), ('text/x-julia', 'application/x-julia')), + 'JuttleLexer': ('pip._vendor.pygments.lexers.javascript', 'Juttle', ('juttle',), ('*.juttle',), ('application/juttle', 'application/x-juttle', 'text/x-juttle', 'text/juttle')), + 'KLexer': ('pip._vendor.pygments.lexers.q', 'K', ('k',), ('*.k',), ()), + 'KalLexer': ('pip._vendor.pygments.lexers.javascript', 'Kal', ('kal',), ('*.kal',), ('text/kal', 'application/kal')), + 'KconfigLexer': ('pip._vendor.pygments.lexers.configs', 'Kconfig', ('kconfig', 'menuconfig', 'linux-config', 'kernel-config'), ('Kconfig*', '*Config.in*', 'external.in*', 'standard-modules.in'), ('text/x-kconfig',)), + 'KernelLogLexer': ('pip._vendor.pygments.lexers.textfmts', 'Kernel log', ('kmsg', 'dmesg'), ('*.kmsg', '*.dmesg'), ()), + 'KokaLexer': ('pip._vendor.pygments.lexers.haskell', 'Koka', ('koka',), ('*.kk', '*.kki'), ('text/x-koka',)), + 'KotlinLexer': ('pip._vendor.pygments.lexers.jvm', 'Kotlin', ('kotlin',), ('*.kt', '*.kts'), ('text/x-kotlin',)), + 'KuinLexer': ('pip._vendor.pygments.lexers.kuin', 'Kuin', ('kuin',), ('*.kn',), ()), + 'KustoLexer': ('pip._vendor.pygments.lexers.kusto', 'Kusto', ('kql', 'kusto'), ('*.kql', '*.kusto', '.csl'), ()), + 'LSLLexer': ('pip._vendor.pygments.lexers.scripting', 'LSL', ('lsl',), ('*.lsl',), ('text/x-lsl',)), + 'LassoCssLexer': ('pip._vendor.pygments.lexers.templates', 'CSS+Lasso', ('css+lasso',), (), ('text/css+lasso',)), + 'LassoHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Lasso', ('html+lasso',), (), ('text/html+lasso', 'application/x-httpd-lasso', 'application/x-httpd-lasso[89]')), + 'LassoJavascriptLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+Lasso', ('javascript+lasso', 'js+lasso'), (), ('application/x-javascript+lasso', 'text/x-javascript+lasso', 'text/javascript+lasso')), + 'LassoLexer': ('pip._vendor.pygments.lexers.javascript', 'Lasso', ('lasso', 'lassoscript'), ('*.lasso', '*.lasso[89]'), ('text/x-lasso',)), + 'LassoXmlLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Lasso', ('xml+lasso',), (), ('application/xml+lasso',)), + 'LdaprcLexer': ('pip._vendor.pygments.lexers.ldap', 'LDAP configuration file', ('ldapconf', 'ldaprc'), ('.ldaprc', 'ldaprc', 'ldap.conf'), ('text/x-ldapconf',)), + 'LdifLexer': ('pip._vendor.pygments.lexers.ldap', 'LDIF', ('ldif',), ('*.ldif',), ('text/x-ldif',)), + 'Lean3Lexer': ('pip._vendor.pygments.lexers.lean', 'Lean', ('lean', 'lean3'), ('*.lean',), ('text/x-lean', 'text/x-lean3')), + 'Lean4Lexer': ('pip._vendor.pygments.lexers.lean', 'Lean4', ('lean4',), ('*.lean',), ('text/x-lean4',)), + 'LessCssLexer': ('pip._vendor.pygments.lexers.css', 'LessCss', ('less',), ('*.less',), ('text/x-less-css',)), + 'LighttpdConfLexer': ('pip._vendor.pygments.lexers.configs', 'Lighttpd configuration file', ('lighttpd', 'lighty'), ('lighttpd.conf',), ('text/x-lighttpd-conf',)), + 'LilyPondLexer': ('pip._vendor.pygments.lexers.lilypond', 'LilyPond', ('lilypond',), ('*.ly',), ()), + 'LimboLexer': ('pip._vendor.pygments.lexers.inferno', 'Limbo', ('limbo',), ('*.b',), ('text/limbo',)), + 'LiquidLexer': ('pip._vendor.pygments.lexers.templates', 'liquid', ('liquid',), ('*.liquid',), ()), + 'LiterateAgdaLexer': ('pip._vendor.pygments.lexers.haskell', 'Literate Agda', ('literate-agda', 'lagda'), ('*.lagda',), ('text/x-literate-agda',)), + 'LiterateCryptolLexer': ('pip._vendor.pygments.lexers.haskell', 'Literate Cryptol', ('literate-cryptol', 'lcryptol', 'lcry'), ('*.lcry',), ('text/x-literate-cryptol',)), + 'LiterateHaskellLexer': ('pip._vendor.pygments.lexers.haskell', 'Literate Haskell', ('literate-haskell', 'lhaskell', 'lhs'), ('*.lhs',), ('text/x-literate-haskell',)), + 'LiterateIdrisLexer': ('pip._vendor.pygments.lexers.haskell', 'Literate Idris', ('literate-idris', 'lidris', 'lidr'), ('*.lidr',), ('text/x-literate-idris',)), + 'LiveScriptLexer': ('pip._vendor.pygments.lexers.javascript', 'LiveScript', ('livescript', 'live-script'), ('*.ls',), ('text/livescript',)), + 'LlvmLexer': ('pip._vendor.pygments.lexers.asm', 'LLVM', ('llvm',), ('*.ll',), ('text/x-llvm',)), + 'LlvmMirBodyLexer': ('pip._vendor.pygments.lexers.asm', 'LLVM-MIR Body', ('llvm-mir-body',), (), ()), + 'LlvmMirLexer': ('pip._vendor.pygments.lexers.asm', 'LLVM-MIR', ('llvm-mir',), ('*.mir',), ()), + 'LogosLexer': ('pip._vendor.pygments.lexers.objective', 'Logos', ('logos',), ('*.x', '*.xi', '*.xm', '*.xmi'), ('text/x-logos',)), + 'LogtalkLexer': ('pip._vendor.pygments.lexers.prolog', 'Logtalk', ('logtalk',), ('*.lgt', '*.logtalk'), ('text/x-logtalk',)), + 'LuaLexer': ('pip._vendor.pygments.lexers.scripting', 'Lua', ('lua',), ('*.lua', '*.wlua'), ('text/x-lua', 'application/x-lua')), + 'LuauLexer': ('pip._vendor.pygments.lexers.scripting', 'Luau', ('luau',), ('*.luau',), ()), + 'MCFunctionLexer': ('pip._vendor.pygments.lexers.minecraft', 'MCFunction', ('mcfunction', 'mcf'), ('*.mcfunction',), ('text/mcfunction',)), + 'MCSchemaLexer': ('pip._vendor.pygments.lexers.minecraft', 'MCSchema', ('mcschema',), ('*.mcschema',), ('text/mcschema',)), + 'MIMELexer': ('pip._vendor.pygments.lexers.mime', 'MIME', ('mime',), (), ('multipart/mixed', 'multipart/related', 'multipart/alternative')), + 'MIPSLexer': ('pip._vendor.pygments.lexers.mips', 'MIPS', ('mips',), ('*.mips', '*.MIPS'), ()), + 'MOOCodeLexer': ('pip._vendor.pygments.lexers.scripting', 'MOOCode', ('moocode', 'moo'), ('*.moo',), ('text/x-moocode',)), + 'MSDOSSessionLexer': ('pip._vendor.pygments.lexers.shell', 'MSDOS Session', ('doscon',), (), ()), + 'Macaulay2Lexer': ('pip._vendor.pygments.lexers.macaulay2', 'Macaulay2', ('macaulay2',), ('*.m2',), ()), + 'MakefileLexer': ('pip._vendor.pygments.lexers.make', 'Makefile', ('make', 'makefile', 'mf', 'bsdmake'), ('*.mak', '*.mk', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile'), ('text/x-makefile',)), + 'MakoCssLexer': ('pip._vendor.pygments.lexers.templates', 'CSS+Mako', ('css+mako',), (), ('text/css+mako',)), + 'MakoHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Mako', ('html+mako',), (), ('text/html+mako',)), + 'MakoJavascriptLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+Mako', ('javascript+mako', 'js+mako'), (), ('application/x-javascript+mako', 'text/x-javascript+mako', 'text/javascript+mako')), + 'MakoLexer': ('pip._vendor.pygments.lexers.templates', 'Mako', ('mako',), ('*.mao',), ('application/x-mako',)), + 'MakoXmlLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Mako', ('xml+mako',), (), ('application/xml+mako',)), + 'MapleLexer': ('pip._vendor.pygments.lexers.maple', 'Maple', ('maple',), ('*.mpl', '*.mi', '*.mm'), ('text/x-maple',)), + 'MaqlLexer': ('pip._vendor.pygments.lexers.business', 'MAQL', ('maql',), ('*.maql',), ('text/x-gooddata-maql', 'application/x-gooddata-maql')), + 'MarkdownLexer': ('pip._vendor.pygments.lexers.markup', 'Markdown', ('markdown', 'md'), ('*.md', '*.markdown'), ('text/x-markdown',)), + 'MaskLexer': ('pip._vendor.pygments.lexers.javascript', 'Mask', ('mask',), ('*.mask',), ('text/x-mask',)), + 'MasonLexer': ('pip._vendor.pygments.lexers.templates', 'Mason', ('mason',), ('*.m', '*.mhtml', '*.mc', '*.mi', 'autohandler', 'dhandler'), ('application/x-mason',)), + 'MathematicaLexer': ('pip._vendor.pygments.lexers.algebra', 'Mathematica', ('mathematica', 'mma', 'nb'), ('*.nb', '*.cdf', '*.nbp', '*.ma'), ('application/mathematica', 'application/vnd.wolfram.mathematica', 'application/vnd.wolfram.mathematica.package', 'application/vnd.wolfram.cdf')), + 'MatlabLexer': ('pip._vendor.pygments.lexers.matlab', 'Matlab', ('matlab',), ('*.m',), ('text/matlab',)), + 'MatlabSessionLexer': ('pip._vendor.pygments.lexers.matlab', 'Matlab session', ('matlabsession',), (), ()), + 'MaximaLexer': ('pip._vendor.pygments.lexers.maxima', 'Maxima', ('maxima', 'macsyma'), ('*.mac', '*.max'), ()), + 'MesonLexer': ('pip._vendor.pygments.lexers.meson', 'Meson', ('meson', 'meson.build'), ('meson.build', 'meson_options.txt'), ('text/x-meson',)), + 'MiniDLexer': ('pip._vendor.pygments.lexers.d', 'MiniD', ('minid',), (), ('text/x-minidsrc',)), + 'MiniScriptLexer': ('pip._vendor.pygments.lexers.scripting', 'MiniScript', ('miniscript', 'ms'), ('*.ms',), ('text/x-minicript', 'application/x-miniscript')), + 'ModelicaLexer': ('pip._vendor.pygments.lexers.modeling', 'Modelica', ('modelica',), ('*.mo',), ('text/x-modelica',)), + 'Modula2Lexer': ('pip._vendor.pygments.lexers.modula2', 'Modula-2', ('modula2', 'm2'), ('*.def', '*.mod'), ('text/x-modula2',)), + 'MoinWikiLexer': ('pip._vendor.pygments.lexers.markup', 'MoinMoin/Trac Wiki markup', ('trac-wiki', 'moin'), (), ('text/x-trac-wiki',)), + 'MojoLexer': ('pip._vendor.pygments.lexers.mojo', 'Mojo', ('mojo', '🔥'), ('*.mojo', '*.🔥'), ('text/x-mojo', 'application/x-mojo')), + 'MonkeyLexer': ('pip._vendor.pygments.lexers.basic', 'Monkey', ('monkey',), ('*.monkey',), ('text/x-monkey',)), + 'MonteLexer': ('pip._vendor.pygments.lexers.monte', 'Monte', ('monte',), ('*.mt',), ()), + 'MoonScriptLexer': ('pip._vendor.pygments.lexers.scripting', 'MoonScript', ('moonscript', 'moon'), ('*.moon',), ('text/x-moonscript', 'application/x-moonscript')), + 'MoselLexer': ('pip._vendor.pygments.lexers.mosel', 'Mosel', ('mosel',), ('*.mos',), ()), + 'MozPreprocCssLexer': ('pip._vendor.pygments.lexers.markup', 'CSS+mozpreproc', ('css+mozpreproc',), ('*.css.in',), ()), + 'MozPreprocHashLexer': ('pip._vendor.pygments.lexers.markup', 'mozhashpreproc', ('mozhashpreproc',), (), ()), + 'MozPreprocJavascriptLexer': ('pip._vendor.pygments.lexers.markup', 'Javascript+mozpreproc', ('javascript+mozpreproc',), ('*.js.in',), ()), + 'MozPreprocPercentLexer': ('pip._vendor.pygments.lexers.markup', 'mozpercentpreproc', ('mozpercentpreproc',), (), ()), + 'MozPreprocXulLexer': ('pip._vendor.pygments.lexers.markup', 'XUL+mozpreproc', ('xul+mozpreproc',), ('*.xul.in',), ()), + 'MqlLexer': ('pip._vendor.pygments.lexers.c_like', 'MQL', ('mql', 'mq4', 'mq5', 'mql4', 'mql5'), ('*.mq4', '*.mq5', '*.mqh'), ('text/x-mql',)), + 'MscgenLexer': ('pip._vendor.pygments.lexers.dsls', 'Mscgen', ('mscgen', 'msc'), ('*.msc',), ()), + 'MuPADLexer': ('pip._vendor.pygments.lexers.algebra', 'MuPAD', ('mupad',), ('*.mu',), ()), + 'MxmlLexer': ('pip._vendor.pygments.lexers.actionscript', 'MXML', ('mxml',), ('*.mxml',), ()), + 'MySqlLexer': ('pip._vendor.pygments.lexers.sql', 'MySQL', ('mysql',), (), ('text/x-mysql',)), + 'MyghtyCssLexer': ('pip._vendor.pygments.lexers.templates', 'CSS+Myghty', ('css+myghty',), (), ('text/css+myghty',)), + 'MyghtyHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Myghty', ('html+myghty',), (), ('text/html+myghty',)), + 'MyghtyJavascriptLexer': ('pip._vendor.pygments.lexers.templates', 'JavaScript+Myghty', ('javascript+myghty', 'js+myghty'), (), ('application/x-javascript+myghty', 'text/x-javascript+myghty', 'text/javascript+mygthy')), + 'MyghtyLexer': ('pip._vendor.pygments.lexers.templates', 'Myghty', ('myghty',), ('*.myt', 'autodelegate'), ('application/x-myghty',)), + 'MyghtyXmlLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Myghty', ('xml+myghty',), (), ('application/xml+myghty',)), + 'NCLLexer': ('pip._vendor.pygments.lexers.ncl', 'NCL', ('ncl',), ('*.ncl',), ('text/ncl',)), + 'NSISLexer': ('pip._vendor.pygments.lexers.installers', 'NSIS', ('nsis', 'nsi', 'nsh'), ('*.nsi', '*.nsh'), ('text/x-nsis',)), + 'NasmLexer': ('pip._vendor.pygments.lexers.asm', 'NASM', ('nasm',), ('*.asm', '*.ASM', '*.nasm'), ('text/x-nasm',)), + 'NasmObjdumpLexer': ('pip._vendor.pygments.lexers.asm', 'objdump-nasm', ('objdump-nasm',), ('*.objdump-intel',), ('text/x-nasm-objdump',)), + 'NemerleLexer': ('pip._vendor.pygments.lexers.dotnet', 'Nemerle', ('nemerle',), ('*.n',), ('text/x-nemerle',)), + 'NesCLexer': ('pip._vendor.pygments.lexers.c_like', 'nesC', ('nesc',), ('*.nc',), ('text/x-nescsrc',)), + 'NestedTextLexer': ('pip._vendor.pygments.lexers.configs', 'NestedText', ('nestedtext', 'nt'), ('*.nt',), ()), + 'NewLispLexer': ('pip._vendor.pygments.lexers.lisp', 'NewLisp', ('newlisp',), ('*.lsp', '*.nl', '*.kif'), ('text/x-newlisp', 'application/x-newlisp')), + 'NewspeakLexer': ('pip._vendor.pygments.lexers.smalltalk', 'Newspeak', ('newspeak',), ('*.ns2',), ('text/x-newspeak',)), + 'NginxConfLexer': ('pip._vendor.pygments.lexers.configs', 'Nginx configuration file', ('nginx',), ('nginx.conf',), ('text/x-nginx-conf',)), + 'NimrodLexer': ('pip._vendor.pygments.lexers.nimrod', 'Nimrod', ('nimrod', 'nim'), ('*.nim', '*.nimrod'), ('text/x-nim',)), + 'NitLexer': ('pip._vendor.pygments.lexers.nit', 'Nit', ('nit',), ('*.nit',), ()), + 'NixLexer': ('pip._vendor.pygments.lexers.nix', 'Nix', ('nixos', 'nix'), ('*.nix',), ('text/x-nix',)), + 'NodeConsoleLexer': ('pip._vendor.pygments.lexers.javascript', 'Node.js REPL console session', ('nodejsrepl',), (), ('text/x-nodejsrepl',)), + 'NotmuchLexer': ('pip._vendor.pygments.lexers.textfmts', 'Notmuch', ('notmuch',), (), ()), + 'NuSMVLexer': ('pip._vendor.pygments.lexers.smv', 'NuSMV', ('nusmv',), ('*.smv',), ()), + 'NumPyLexer': ('pip._vendor.pygments.lexers.python', 'NumPy', ('numpy',), (), ()), + 'NumbaIRLexer': ('pip._vendor.pygments.lexers.numbair', 'Numba_IR', ('numba_ir', 'numbair'), ('*.numba_ir',), ('text/x-numba_ir', 'text/x-numbair')), + 'ObjdumpLexer': ('pip._vendor.pygments.lexers.asm', 'objdump', ('objdump',), ('*.objdump',), ('text/x-objdump',)), + 'ObjectiveCLexer': ('pip._vendor.pygments.lexers.objective', 'Objective-C', ('objective-c', 'objectivec', 'obj-c', 'objc'), ('*.m', '*.h'), ('text/x-objective-c',)), + 'ObjectiveCppLexer': ('pip._vendor.pygments.lexers.objective', 'Objective-C++', ('objective-c++', 'objectivec++', 'obj-c++', 'objc++'), ('*.mm', '*.hh'), ('text/x-objective-c++',)), + 'ObjectiveJLexer': ('pip._vendor.pygments.lexers.javascript', 'Objective-J', ('objective-j', 'objectivej', 'obj-j', 'objj'), ('*.j',), ('text/x-objective-j',)), + 'OcamlLexer': ('pip._vendor.pygments.lexers.ml', 'OCaml', ('ocaml',), ('*.ml', '*.mli', '*.mll', '*.mly'), ('text/x-ocaml',)), + 'OctaveLexer': ('pip._vendor.pygments.lexers.matlab', 'Octave', ('octave',), ('*.m',), ('text/octave',)), + 'OdinLexer': ('pip._vendor.pygments.lexers.archetype', 'ODIN', ('odin',), ('*.odin',), ('text/odin',)), + 'OmgIdlLexer': ('pip._vendor.pygments.lexers.c_like', 'OMG Interface Definition Language', ('omg-idl',), ('*.idl', '*.pidl'), ()), + 'OocLexer': ('pip._vendor.pygments.lexers.ooc', 'Ooc', ('ooc',), ('*.ooc',), ('text/x-ooc',)), + 'OpaLexer': ('pip._vendor.pygments.lexers.ml', 'Opa', ('opa',), ('*.opa',), ('text/x-opa',)), + 'OpenEdgeLexer': ('pip._vendor.pygments.lexers.business', 'OpenEdge ABL', ('openedge', 'abl', 'progress'), ('*.p', '*.cls'), ('text/x-openedge', 'application/x-openedge')), + 'OpenScadLexer': ('pip._vendor.pygments.lexers.openscad', 'OpenSCAD', ('openscad',), ('*.scad',), ('application/x-openscad',)), + 'OrgLexer': ('pip._vendor.pygments.lexers.markup', 'Org Mode', ('org', 'orgmode', 'org-mode'), ('*.org',), ('text/org',)), + 'OutputLexer': ('pip._vendor.pygments.lexers.special', 'Text output', ('output',), (), ()), + 'PacmanConfLexer': ('pip._vendor.pygments.lexers.configs', 'PacmanConf', ('pacmanconf',), ('pacman.conf',), ()), + 'PanLexer': ('pip._vendor.pygments.lexers.dsls', 'Pan', ('pan',), ('*.pan',), ()), + 'ParaSailLexer': ('pip._vendor.pygments.lexers.parasail', 'ParaSail', ('parasail',), ('*.psi', '*.psl'), ('text/x-parasail',)), + 'PawnLexer': ('pip._vendor.pygments.lexers.pawn', 'Pawn', ('pawn',), ('*.p', '*.pwn', '*.inc'), ('text/x-pawn',)), + 'PddlLexer': ('pip._vendor.pygments.lexers.pddl', 'PDDL', ('pddl',), ('*.pddl',), ()), + 'PegLexer': ('pip._vendor.pygments.lexers.grammar_notation', 'PEG', ('peg',), ('*.peg',), ('text/x-peg',)), + 'Perl6Lexer': ('pip._vendor.pygments.lexers.perl', 'Perl6', ('perl6', 'pl6', 'raku'), ('*.pl', '*.pm', '*.nqp', '*.p6', '*.6pl', '*.p6l', '*.pl6', '*.6pm', '*.p6m', '*.pm6', '*.t', '*.raku', '*.rakumod', '*.rakutest', '*.rakudoc'), ('text/x-perl6', 'application/x-perl6')), + 'PerlLexer': ('pip._vendor.pygments.lexers.perl', 'Perl', ('perl', 'pl'), ('*.pl', '*.pm', '*.t', '*.perl'), ('text/x-perl', 'application/x-perl')), + 'PhixLexer': ('pip._vendor.pygments.lexers.phix', 'Phix', ('phix',), ('*.exw',), ('text/x-phix',)), + 'PhpLexer': ('pip._vendor.pygments.lexers.php', 'PHP', ('php', 'php3', 'php4', 'php5'), ('*.php', '*.php[345]', '*.inc'), ('text/x-php',)), + 'PigLexer': ('pip._vendor.pygments.lexers.jvm', 'Pig', ('pig',), ('*.pig',), ('text/x-pig',)), + 'PikeLexer': ('pip._vendor.pygments.lexers.c_like', 'Pike', ('pike',), ('*.pike', '*.pmod'), ('text/x-pike',)), + 'PkgConfigLexer': ('pip._vendor.pygments.lexers.configs', 'PkgConfig', ('pkgconfig',), ('*.pc',), ()), + 'PlPgsqlLexer': ('pip._vendor.pygments.lexers.sql', 'PL/pgSQL', ('plpgsql',), (), ('text/x-plpgsql',)), + 'PointlessLexer': ('pip._vendor.pygments.lexers.pointless', 'Pointless', ('pointless',), ('*.ptls',), ()), + 'PonyLexer': ('pip._vendor.pygments.lexers.pony', 'Pony', ('pony',), ('*.pony',), ()), + 'PortugolLexer': ('pip._vendor.pygments.lexers.pascal', 'Portugol', ('portugol',), ('*.alg', '*.portugol'), ()), + 'PostScriptLexer': ('pip._vendor.pygments.lexers.graphics', 'PostScript', ('postscript', 'postscr'), ('*.ps', '*.eps'), ('application/postscript',)), + 'PostgresConsoleLexer': ('pip._vendor.pygments.lexers.sql', 'PostgreSQL console (psql)', ('psql', 'postgresql-console', 'postgres-console'), (), ('text/x-postgresql-psql',)), + 'PostgresExplainLexer': ('pip._vendor.pygments.lexers.sql', 'PostgreSQL EXPLAIN dialect', ('postgres-explain',), ('*.explain',), ('text/x-postgresql-explain',)), + 'PostgresLexer': ('pip._vendor.pygments.lexers.sql', 'PostgreSQL SQL dialect', ('postgresql', 'postgres'), (), ('text/x-postgresql',)), + 'PovrayLexer': ('pip._vendor.pygments.lexers.graphics', 'POVRay', ('pov',), ('*.pov', '*.inc'), ('text/x-povray',)), + 'PowerShellLexer': ('pip._vendor.pygments.lexers.shell', 'PowerShell', ('powershell', 'pwsh', 'posh', 'ps1', 'psm1'), ('*.ps1', '*.psm1'), ('text/x-powershell',)), + 'PowerShellSessionLexer': ('pip._vendor.pygments.lexers.shell', 'PowerShell Session', ('pwsh-session', 'ps1con'), (), ()), + 'PraatLexer': ('pip._vendor.pygments.lexers.praat', 'Praat', ('praat',), ('*.praat', '*.proc', '*.psc'), ()), + 'ProcfileLexer': ('pip._vendor.pygments.lexers.procfile', 'Procfile', ('procfile',), ('Procfile',), ()), + 'PrologLexer': ('pip._vendor.pygments.lexers.prolog', 'Prolog', ('prolog',), ('*.ecl', '*.prolog', '*.pro', '*.pl'), ('text/x-prolog',)), + 'PromQLLexer': ('pip._vendor.pygments.lexers.promql', 'PromQL', ('promql',), ('*.promql',), ()), + 'PromelaLexer': ('pip._vendor.pygments.lexers.c_like', 'Promela', ('promela',), ('*.pml', '*.prom', '*.prm', '*.promela', '*.pr', '*.pm'), ('text/x-promela',)), + 'PropertiesLexer': ('pip._vendor.pygments.lexers.configs', 'Properties', ('properties', 'jproperties'), ('*.properties',), ('text/x-java-properties',)), + 'ProtoBufLexer': ('pip._vendor.pygments.lexers.dsls', 'Protocol Buffer', ('protobuf', 'proto'), ('*.proto',), ()), + 'PrqlLexer': ('pip._vendor.pygments.lexers.prql', 'PRQL', ('prql',), ('*.prql',), ('application/prql', 'application/x-prql')), + 'PsyshConsoleLexer': ('pip._vendor.pygments.lexers.php', 'PsySH console session for PHP', ('psysh',), (), ()), + 'PtxLexer': ('pip._vendor.pygments.lexers.ptx', 'PTX', ('ptx',), ('*.ptx',), ('text/x-ptx',)), + 'PugLexer': ('pip._vendor.pygments.lexers.html', 'Pug', ('pug', 'jade'), ('*.pug', '*.jade'), ('text/x-pug', 'text/x-jade')), + 'PuppetLexer': ('pip._vendor.pygments.lexers.dsls', 'Puppet', ('puppet',), ('*.pp',), ()), + 'PyPyLogLexer': ('pip._vendor.pygments.lexers.console', 'PyPy Log', ('pypylog', 'pypy'), ('*.pypylog',), ('application/x-pypylog',)), + 'Python2Lexer': ('pip._vendor.pygments.lexers.python', 'Python 2.x', ('python2', 'py2'), (), ('text/x-python2', 'application/x-python2')), + 'Python2TracebackLexer': ('pip._vendor.pygments.lexers.python', 'Python 2.x Traceback', ('py2tb',), ('*.py2tb',), ('text/x-python2-traceback',)), + 'PythonConsoleLexer': ('pip._vendor.pygments.lexers.python', 'Python console session', ('pycon', 'python-console'), (), ('text/x-python-doctest',)), + 'PythonLexer': ('pip._vendor.pygments.lexers.python', 'Python', ('python', 'py', 'sage', 'python3', 'py3', 'bazel', 'starlark', 'pyi'), ('*.py', '*.pyw', '*.pyi', '*.jy', '*.sage', '*.sc', 'SConstruct', 'SConscript', '*.bzl', 'BUCK', 'BUILD', 'BUILD.bazel', 'WORKSPACE', '*.tac'), ('text/x-python', 'application/x-python', 'text/x-python3', 'application/x-python3')), + 'PythonTracebackLexer': ('pip._vendor.pygments.lexers.python', 'Python Traceback', ('pytb', 'py3tb'), ('*.pytb', '*.py3tb'), ('text/x-python-traceback', 'text/x-python3-traceback')), + 'PythonUL4Lexer': ('pip._vendor.pygments.lexers.ul4', 'Python+UL4', ('py+ul4',), ('*.pyul4',), ()), + 'QBasicLexer': ('pip._vendor.pygments.lexers.basic', 'QBasic', ('qbasic', 'basic'), ('*.BAS', '*.bas'), ('text/basic',)), + 'QLexer': ('pip._vendor.pygments.lexers.q', 'Q', ('q',), ('*.q',), ()), + 'QVToLexer': ('pip._vendor.pygments.lexers.qvt', 'QVTO', ('qvto', 'qvt'), ('*.qvto',), ()), + 'QlikLexer': ('pip._vendor.pygments.lexers.qlik', 'Qlik', ('qlik', 'qlikview', 'qliksense', 'qlikscript'), ('*.qvs', '*.qvw'), ()), + 'QmlLexer': ('pip._vendor.pygments.lexers.webmisc', 'QML', ('qml', 'qbs'), ('*.qml', '*.qbs'), ('application/x-qml', 'application/x-qt.qbs+qml')), + 'RConsoleLexer': ('pip._vendor.pygments.lexers.r', 'RConsole', ('rconsole', 'rout'), ('*.Rout',), ()), + 'RNCCompactLexer': ('pip._vendor.pygments.lexers.rnc', 'Relax-NG Compact', ('rng-compact', 'rnc'), ('*.rnc',), ()), + 'RPMSpecLexer': ('pip._vendor.pygments.lexers.installers', 'RPMSpec', ('spec',), ('*.spec',), ('text/x-rpm-spec',)), + 'RacketLexer': ('pip._vendor.pygments.lexers.lisp', 'Racket', ('racket', 'rkt'), ('*.rkt', '*.rktd', '*.rktl'), ('text/x-racket', 'application/x-racket')), + 'RagelCLexer': ('pip._vendor.pygments.lexers.parsers', 'Ragel in C Host', ('ragel-c',), ('*.rl',), ()), + 'RagelCppLexer': ('pip._vendor.pygments.lexers.parsers', 'Ragel in CPP Host', ('ragel-cpp',), ('*.rl',), ()), + 'RagelDLexer': ('pip._vendor.pygments.lexers.parsers', 'Ragel in D Host', ('ragel-d',), ('*.rl',), ()), + 'RagelEmbeddedLexer': ('pip._vendor.pygments.lexers.parsers', 'Embedded Ragel', ('ragel-em',), ('*.rl',), ()), + 'RagelJavaLexer': ('pip._vendor.pygments.lexers.parsers', 'Ragel in Java Host', ('ragel-java',), ('*.rl',), ()), + 'RagelLexer': ('pip._vendor.pygments.lexers.parsers', 'Ragel', ('ragel',), (), ()), + 'RagelObjectiveCLexer': ('pip._vendor.pygments.lexers.parsers', 'Ragel in Objective C Host', ('ragel-objc',), ('*.rl',), ()), + 'RagelRubyLexer': ('pip._vendor.pygments.lexers.parsers', 'Ragel in Ruby Host', ('ragel-ruby', 'ragel-rb'), ('*.rl',), ()), + 'RawTokenLexer': ('pip._vendor.pygments.lexers.special', 'Raw token data', (), (), ('application/x-pygments-tokens',)), + 'RdLexer': ('pip._vendor.pygments.lexers.r', 'Rd', ('rd',), ('*.Rd',), ('text/x-r-doc',)), + 'ReasonLexer': ('pip._vendor.pygments.lexers.ml', 'ReasonML', ('reasonml', 'reason'), ('*.re', '*.rei'), ('text/x-reasonml',)), + 'RebolLexer': ('pip._vendor.pygments.lexers.rebol', 'REBOL', ('rebol',), ('*.r', '*.r3', '*.reb'), ('text/x-rebol',)), + 'RedLexer': ('pip._vendor.pygments.lexers.rebol', 'Red', ('red', 'red/system'), ('*.red', '*.reds'), ('text/x-red', 'text/x-red-system')), + 'RedcodeLexer': ('pip._vendor.pygments.lexers.esoteric', 'Redcode', ('redcode',), ('*.cw',), ()), + 'RegeditLexer': ('pip._vendor.pygments.lexers.configs', 'reg', ('registry',), ('*.reg',), ('text/x-windows-registry',)), + 'RegoLexer': ('pip._vendor.pygments.lexers.rego', 'Rego', ('rego',), ('*.rego',), ('text/x-rego',)), + 'ResourceLexer': ('pip._vendor.pygments.lexers.resource', 'ResourceBundle', ('resourcebundle', 'resource'), (), ()), + 'RexxLexer': ('pip._vendor.pygments.lexers.scripting', 'Rexx', ('rexx', 'arexx'), ('*.rexx', '*.rex', '*.rx', '*.arexx'), ('text/x-rexx',)), + 'RhtmlLexer': ('pip._vendor.pygments.lexers.templates', 'RHTML', ('rhtml', 'html+erb', 'html+ruby'), ('*.rhtml',), ('text/html+ruby',)), + 'RideLexer': ('pip._vendor.pygments.lexers.ride', 'Ride', ('ride',), ('*.ride',), ('text/x-ride',)), + 'RitaLexer': ('pip._vendor.pygments.lexers.rita', 'Rita', ('rita',), ('*.rita',), ('text/rita',)), + 'RoboconfGraphLexer': ('pip._vendor.pygments.lexers.roboconf', 'Roboconf Graph', ('roboconf-graph',), ('*.graph',), ()), + 'RoboconfInstancesLexer': ('pip._vendor.pygments.lexers.roboconf', 'Roboconf Instances', ('roboconf-instances',), ('*.instances',), ()), + 'RobotFrameworkLexer': ('pip._vendor.pygments.lexers.robotframework', 'RobotFramework', ('robotframework',), ('*.robot', '*.resource'), ('text/x-robotframework',)), + 'RqlLexer': ('pip._vendor.pygments.lexers.sql', 'RQL', ('rql',), ('*.rql',), ('text/x-rql',)), + 'RslLexer': ('pip._vendor.pygments.lexers.dsls', 'RSL', ('rsl',), ('*.rsl',), ('text/rsl',)), + 'RstLexer': ('pip._vendor.pygments.lexers.markup', 'reStructuredText', ('restructuredtext', 'rst', 'rest'), ('*.rst', '*.rest'), ('text/x-rst', 'text/prs.fallenstein.rst')), + 'RtsLexer': ('pip._vendor.pygments.lexers.trafficscript', 'TrafficScript', ('trafficscript', 'rts'), ('*.rts',), ()), + 'RubyConsoleLexer': ('pip._vendor.pygments.lexers.ruby', 'Ruby irb session', ('rbcon', 'irb'), (), ('text/x-ruby-shellsession',)), + 'RubyLexer': ('pip._vendor.pygments.lexers.ruby', 'Ruby', ('ruby', 'rb', 'duby'), ('*.rb', '*.rbw', 'Rakefile', '*.rake', '*.gemspec', '*.rbx', '*.duby', 'Gemfile', 'Vagrantfile'), ('text/x-ruby', 'application/x-ruby')), + 'RustLexer': ('pip._vendor.pygments.lexers.rust', 'Rust', ('rust', 'rs'), ('*.rs', '*.rs.in'), ('text/rust', 'text/x-rust')), + 'SASLexer': ('pip._vendor.pygments.lexers.sas', 'SAS', ('sas',), ('*.SAS', '*.sas'), ('text/x-sas', 'text/sas', 'application/x-sas')), + 'SLexer': ('pip._vendor.pygments.lexers.r', 'S', ('splus', 's', 'r'), ('*.S', '*.R', '.Rhistory', '.Rprofile', '.Renviron'), ('text/S-plus', 'text/S', 'text/x-r-source', 'text/x-r', 'text/x-R', 'text/x-r-history', 'text/x-r-profile')), + 'SMLLexer': ('pip._vendor.pygments.lexers.ml', 'Standard ML', ('sml',), ('*.sml', '*.sig', '*.fun'), ('text/x-standardml', 'application/x-standardml')), + 'SNBTLexer': ('pip._vendor.pygments.lexers.minecraft', 'SNBT', ('snbt',), ('*.snbt',), ('text/snbt',)), + 'SarlLexer': ('pip._vendor.pygments.lexers.jvm', 'SARL', ('sarl',), ('*.sarl',), ('text/x-sarl',)), + 'SassLexer': ('pip._vendor.pygments.lexers.css', 'Sass', ('sass',), ('*.sass',), ('text/x-sass',)), + 'SaviLexer': ('pip._vendor.pygments.lexers.savi', 'Savi', ('savi',), ('*.savi',), ()), + 'ScalaLexer': ('pip._vendor.pygments.lexers.jvm', 'Scala', ('scala',), ('*.scala',), ('text/x-scala',)), + 'ScamlLexer': ('pip._vendor.pygments.lexers.html', 'Scaml', ('scaml',), ('*.scaml',), ('text/x-scaml',)), + 'ScdocLexer': ('pip._vendor.pygments.lexers.scdoc', 'scdoc', ('scdoc', 'scd'), ('*.scd', '*.scdoc'), ()), + 'SchemeLexer': ('pip._vendor.pygments.lexers.lisp', 'Scheme', ('scheme', 'scm'), ('*.scm', '*.ss'), ('text/x-scheme', 'application/x-scheme')), + 'ScilabLexer': ('pip._vendor.pygments.lexers.matlab', 'Scilab', ('scilab',), ('*.sci', '*.sce', '*.tst'), ('text/scilab',)), + 'ScssLexer': ('pip._vendor.pygments.lexers.css', 'SCSS', ('scss',), ('*.scss',), ('text/x-scss',)), + 'SedLexer': ('pip._vendor.pygments.lexers.textedit', 'Sed', ('sed', 'gsed', 'ssed'), ('*.sed', '*.[gs]sed'), ('text/x-sed',)), + 'ShExCLexer': ('pip._vendor.pygments.lexers.rdf', 'ShExC', ('shexc', 'shex'), ('*.shex',), ('text/shex',)), + 'ShenLexer': ('pip._vendor.pygments.lexers.lisp', 'Shen', ('shen',), ('*.shen',), ('text/x-shen', 'application/x-shen')), + 'SieveLexer': ('pip._vendor.pygments.lexers.sieve', 'Sieve', ('sieve',), ('*.siv', '*.sieve'), ()), + 'SilverLexer': ('pip._vendor.pygments.lexers.verification', 'Silver', ('silver',), ('*.sil', '*.vpr'), ()), + 'SingularityLexer': ('pip._vendor.pygments.lexers.configs', 'Singularity', ('singularity',), ('*.def', 'Singularity'), ()), + 'SlashLexer': ('pip._vendor.pygments.lexers.slash', 'Slash', ('slash',), ('*.sla',), ()), + 'SlimLexer': ('pip._vendor.pygments.lexers.webmisc', 'Slim', ('slim',), ('*.slim',), ('text/x-slim',)), + 'SlurmBashLexer': ('pip._vendor.pygments.lexers.shell', 'Slurm', ('slurm', 'sbatch'), ('*.sl',), ()), + 'SmaliLexer': ('pip._vendor.pygments.lexers.dalvik', 'Smali', ('smali',), ('*.smali',), ('text/smali',)), + 'SmalltalkLexer': ('pip._vendor.pygments.lexers.smalltalk', 'Smalltalk', ('smalltalk', 'squeak', 'st'), ('*.st',), ('text/x-smalltalk',)), + 'SmartGameFormatLexer': ('pip._vendor.pygments.lexers.sgf', 'SmartGameFormat', ('sgf',), ('*.sgf',), ()), + 'SmartyLexer': ('pip._vendor.pygments.lexers.templates', 'Smarty', ('smarty',), ('*.tpl',), ('application/x-smarty',)), + 'SmithyLexer': ('pip._vendor.pygments.lexers.smithy', 'Smithy', ('smithy',), ('*.smithy',), ()), + 'SnobolLexer': ('pip._vendor.pygments.lexers.snobol', 'Snobol', ('snobol',), ('*.snobol',), ('text/x-snobol',)), + 'SnowballLexer': ('pip._vendor.pygments.lexers.dsls', 'Snowball', ('snowball',), ('*.sbl',), ()), + 'SolidityLexer': ('pip._vendor.pygments.lexers.solidity', 'Solidity', ('solidity',), ('*.sol',), ()), + 'SoongLexer': ('pip._vendor.pygments.lexers.soong', 'Soong', ('androidbp', 'bp', 'soong'), ('Android.bp',), ()), + 'SophiaLexer': ('pip._vendor.pygments.lexers.sophia', 'Sophia', ('sophia',), ('*.aes',), ()), + 'SourcePawnLexer': ('pip._vendor.pygments.lexers.pawn', 'SourcePawn', ('sp',), ('*.sp',), ('text/x-sourcepawn',)), + 'SourcesListLexer': ('pip._vendor.pygments.lexers.installers', 'Debian Sourcelist', ('debsources', 'sourceslist', 'sources.list'), ('sources.list',), ()), + 'SparqlLexer': ('pip._vendor.pygments.lexers.rdf', 'SPARQL', ('sparql',), ('*.rq', '*.sparql'), ('application/sparql-query',)), + 'SpiceLexer': ('pip._vendor.pygments.lexers.spice', 'Spice', ('spice', 'spicelang'), ('*.spice',), ('text/x-spice',)), + 'SqlJinjaLexer': ('pip._vendor.pygments.lexers.templates', 'SQL+Jinja', ('sql+jinja',), ('*.sql', '*.sql.j2', '*.sql.jinja2'), ()), + 'SqlLexer': ('pip._vendor.pygments.lexers.sql', 'SQL', ('sql',), ('*.sql',), ('text/x-sql',)), + 'SqliteConsoleLexer': ('pip._vendor.pygments.lexers.sql', 'sqlite3con', ('sqlite3',), ('*.sqlite3-console',), ('text/x-sqlite3-console',)), + 'SquidConfLexer': ('pip._vendor.pygments.lexers.configs', 'SquidConf', ('squidconf', 'squid.conf', 'squid'), ('squid.conf',), ('text/x-squidconf',)), + 'SrcinfoLexer': ('pip._vendor.pygments.lexers.srcinfo', 'Srcinfo', ('srcinfo',), ('.SRCINFO',), ()), + 'SspLexer': ('pip._vendor.pygments.lexers.templates', 'Scalate Server Page', ('ssp',), ('*.ssp',), ('application/x-ssp',)), + 'StanLexer': ('pip._vendor.pygments.lexers.modeling', 'Stan', ('stan',), ('*.stan',), ()), + 'StataLexer': ('pip._vendor.pygments.lexers.stata', 'Stata', ('stata', 'do'), ('*.do', '*.ado'), ('text/x-stata', 'text/stata', 'application/x-stata')), + 'SuperColliderLexer': ('pip._vendor.pygments.lexers.supercollider', 'SuperCollider', ('supercollider', 'sc'), ('*.sc', '*.scd'), ('application/supercollider', 'text/supercollider')), + 'SwiftLexer': ('pip._vendor.pygments.lexers.objective', 'Swift', ('swift',), ('*.swift',), ('text/x-swift',)), + 'SwigLexer': ('pip._vendor.pygments.lexers.c_like', 'SWIG', ('swig',), ('*.swg', '*.i'), ('text/swig',)), + 'SystemVerilogLexer': ('pip._vendor.pygments.lexers.hdl', 'systemverilog', ('systemverilog', 'sv'), ('*.sv', '*.svh'), ('text/x-systemverilog',)), + 'SystemdLexer': ('pip._vendor.pygments.lexers.configs', 'Systemd', ('systemd',), ('*.service', '*.socket', '*.device', '*.mount', '*.automount', '*.swap', '*.target', '*.path', '*.timer', '*.slice', '*.scope'), ()), + 'TAPLexer': ('pip._vendor.pygments.lexers.testing', 'TAP', ('tap',), ('*.tap',), ()), + 'TNTLexer': ('pip._vendor.pygments.lexers.tnt', 'Typographic Number Theory', ('tnt',), ('*.tnt',), ()), + 'TOMLLexer': ('pip._vendor.pygments.lexers.configs', 'TOML', ('toml',), ('*.toml', 'Pipfile', 'poetry.lock'), ('application/toml',)), + 'TableGenLexer': ('pip._vendor.pygments.lexers.tablegen', 'TableGen', ('tablegen', 'td'), ('*.td',), ()), + 'TactLexer': ('pip._vendor.pygments.lexers.tact', 'Tact', ('tact',), ('*.tact',), ()), + 'Tads3Lexer': ('pip._vendor.pygments.lexers.int_fiction', 'TADS 3', ('tads3',), ('*.t',), ()), + 'TalLexer': ('pip._vendor.pygments.lexers.tal', 'Tal', ('tal', 'uxntal'), ('*.tal',), ('text/x-uxntal',)), + 'TasmLexer': ('pip._vendor.pygments.lexers.asm', 'TASM', ('tasm',), ('*.asm', '*.ASM', '*.tasm'), ('text/x-tasm',)), + 'TclLexer': ('pip._vendor.pygments.lexers.tcl', 'Tcl', ('tcl',), ('*.tcl', '*.rvt'), ('text/x-tcl', 'text/x-script.tcl', 'application/x-tcl')), + 'TcshLexer': ('pip._vendor.pygments.lexers.shell', 'Tcsh', ('tcsh', 'csh'), ('*.tcsh', '*.csh'), ('application/x-csh',)), + 'TcshSessionLexer': ('pip._vendor.pygments.lexers.shell', 'Tcsh Session', ('tcshcon',), (), ()), + 'TeaTemplateLexer': ('pip._vendor.pygments.lexers.templates', 'Tea', ('tea',), ('*.tea',), ('text/x-tea',)), + 'TealLexer': ('pip._vendor.pygments.lexers.teal', 'teal', ('teal',), ('*.teal',), ()), + 'TeraTermLexer': ('pip._vendor.pygments.lexers.teraterm', 'Tera Term macro', ('teratermmacro', 'teraterm', 'ttl'), ('*.ttl',), ('text/x-teratermmacro',)), + 'TermcapLexer': ('pip._vendor.pygments.lexers.configs', 'Termcap', ('termcap',), ('termcap', 'termcap.src'), ()), + 'TerminfoLexer': ('pip._vendor.pygments.lexers.configs', 'Terminfo', ('terminfo',), ('terminfo', 'terminfo.src'), ()), + 'TerraformLexer': ('pip._vendor.pygments.lexers.configs', 'Terraform', ('terraform', 'tf', 'hcl'), ('*.tf', '*.hcl'), ('application/x-tf', 'application/x-terraform')), + 'TexLexer': ('pip._vendor.pygments.lexers.markup', 'TeX', ('tex', 'latex'), ('*.tex', '*.aux', '*.toc'), ('text/x-tex', 'text/x-latex')), + 'TextLexer': ('pip._vendor.pygments.lexers.special', 'Text only', ('text',), ('*.txt',), ('text/plain',)), + 'ThingsDBLexer': ('pip._vendor.pygments.lexers.thingsdb', 'ThingsDB', ('ti', 'thingsdb'), ('*.ti',), ()), + 'ThriftLexer': ('pip._vendor.pygments.lexers.dsls', 'Thrift', ('thrift',), ('*.thrift',), ('application/x-thrift',)), + 'TiddlyWiki5Lexer': ('pip._vendor.pygments.lexers.markup', 'tiddler', ('tid',), ('*.tid',), ('text/vnd.tiddlywiki',)), + 'TlbLexer': ('pip._vendor.pygments.lexers.tlb', 'Tl-b', ('tlb',), ('*.tlb',), ()), + 'TlsLexer': ('pip._vendor.pygments.lexers.tls', 'TLS Presentation Language', ('tls',), (), ()), + 'TodotxtLexer': ('pip._vendor.pygments.lexers.textfmts', 'Todotxt', ('todotxt',), ('todo.txt', '*.todotxt'), ('text/x-todo',)), + 'TransactSqlLexer': ('pip._vendor.pygments.lexers.sql', 'Transact-SQL', ('tsql', 't-sql'), ('*.sql',), ('text/x-tsql',)), + 'TreetopLexer': ('pip._vendor.pygments.lexers.parsers', 'Treetop', ('treetop',), ('*.treetop', '*.tt'), ()), + 'TsxLexer': ('pip._vendor.pygments.lexers.jsx', 'TSX', ('tsx',), ('*.tsx',), ('text/typescript-tsx',)), + 'TurtleLexer': ('pip._vendor.pygments.lexers.rdf', 'Turtle', ('turtle',), ('*.ttl',), ('text/turtle', 'application/x-turtle')), + 'TwigHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Twig', ('html+twig',), ('*.twig',), ('text/html+twig',)), + 'TwigLexer': ('pip._vendor.pygments.lexers.templates', 'Twig', ('twig',), (), ('application/x-twig',)), + 'TypeScriptLexer': ('pip._vendor.pygments.lexers.javascript', 'TypeScript', ('typescript', 'ts'), ('*.ts',), ('application/x-typescript', 'text/x-typescript')), + 'TypoScriptCssDataLexer': ('pip._vendor.pygments.lexers.typoscript', 'TypoScriptCssData', ('typoscriptcssdata',), (), ()), + 'TypoScriptHtmlDataLexer': ('pip._vendor.pygments.lexers.typoscript', 'TypoScriptHtmlData', ('typoscripthtmldata',), (), ()), + 'TypoScriptLexer': ('pip._vendor.pygments.lexers.typoscript', 'TypoScript', ('typoscript',), ('*.typoscript',), ('text/x-typoscript',)), + 'TypstLexer': ('pip._vendor.pygments.lexers.typst', 'Typst', ('typst',), ('*.typ',), ('text/x-typst',)), + 'UL4Lexer': ('pip._vendor.pygments.lexers.ul4', 'UL4', ('ul4',), ('*.ul4',), ()), + 'UcodeLexer': ('pip._vendor.pygments.lexers.unicon', 'ucode', ('ucode',), ('*.u', '*.u1', '*.u2'), ()), + 'UniconLexer': ('pip._vendor.pygments.lexers.unicon', 'Unicon', ('unicon',), ('*.icn',), ('text/unicon',)), + 'UnixConfigLexer': ('pip._vendor.pygments.lexers.configs', 'Unix/Linux config files', ('unixconfig', 'linuxconfig'), (), ()), + 'UrbiscriptLexer': ('pip._vendor.pygments.lexers.urbi', 'UrbiScript', ('urbiscript',), ('*.u',), ('application/x-urbiscript',)), + 'UrlEncodedLexer': ('pip._vendor.pygments.lexers.html', 'urlencoded', ('urlencoded',), (), ('application/x-www-form-urlencoded',)), + 'UsdLexer': ('pip._vendor.pygments.lexers.usd', 'USD', ('usd', 'usda'), ('*.usd', '*.usda'), ()), + 'VBScriptLexer': ('pip._vendor.pygments.lexers.basic', 'VBScript', ('vbscript',), ('*.vbs', '*.VBS'), ()), + 'VCLLexer': ('pip._vendor.pygments.lexers.varnish', 'VCL', ('vcl',), ('*.vcl',), ('text/x-vclsrc',)), + 'VCLSnippetLexer': ('pip._vendor.pygments.lexers.varnish', 'VCLSnippets', ('vclsnippets', 'vclsnippet'), (), ('text/x-vclsnippet',)), + 'VCTreeStatusLexer': ('pip._vendor.pygments.lexers.console', 'VCTreeStatus', ('vctreestatus',), (), ()), + 'VGLLexer': ('pip._vendor.pygments.lexers.dsls', 'VGL', ('vgl',), ('*.rpf',), ()), + 'ValaLexer': ('pip._vendor.pygments.lexers.c_like', 'Vala', ('vala', 'vapi'), ('*.vala', '*.vapi'), ('text/x-vala',)), + 'VbNetAspxLexer': ('pip._vendor.pygments.lexers.dotnet', 'aspx-vb', ('aspx-vb',), ('*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'), ()), + 'VbNetLexer': ('pip._vendor.pygments.lexers.dotnet', 'VB.net', ('vb.net', 'vbnet', 'lobas', 'oobas', 'sobas', 'visual-basic', 'visualbasic'), ('*.vb', '*.bas'), ('text/x-vbnet', 'text/x-vba')), + 'VelocityHtmlLexer': ('pip._vendor.pygments.lexers.templates', 'HTML+Velocity', ('html+velocity',), (), ('text/html+velocity',)), + 'VelocityLexer': ('pip._vendor.pygments.lexers.templates', 'Velocity', ('velocity',), ('*.vm', '*.fhtml'), ()), + 'VelocityXmlLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Velocity', ('xml+velocity',), (), ('application/xml+velocity',)), + 'VerifpalLexer': ('pip._vendor.pygments.lexers.verifpal', 'Verifpal', ('verifpal',), ('*.vp',), ('text/x-verifpal',)), + 'VerilogLexer': ('pip._vendor.pygments.lexers.hdl', 'verilog', ('verilog', 'v'), ('*.v',), ('text/x-verilog',)), + 'VhdlLexer': ('pip._vendor.pygments.lexers.hdl', 'vhdl', ('vhdl',), ('*.vhdl', '*.vhd'), ('text/x-vhdl',)), + 'VimLexer': ('pip._vendor.pygments.lexers.textedit', 'VimL', ('vim',), ('*.vim', '.vimrc', '.exrc', '.gvimrc', '_vimrc', '_exrc', '_gvimrc', 'vimrc', 'gvimrc'), ('text/x-vim',)), + 'VisualPrologGrammarLexer': ('pip._vendor.pygments.lexers.vip', 'Visual Prolog Grammar', ('visualprologgrammar',), ('*.vipgrm',), ()), + 'VisualPrologLexer': ('pip._vendor.pygments.lexers.vip', 'Visual Prolog', ('visualprolog',), ('*.pro', '*.cl', '*.i', '*.pack', '*.ph'), ()), + 'VueLexer': ('pip._vendor.pygments.lexers.html', 'Vue', ('vue',), ('*.vue',), ()), + 'VyperLexer': ('pip._vendor.pygments.lexers.vyper', 'Vyper', ('vyper',), ('*.vy',), ()), + 'WDiffLexer': ('pip._vendor.pygments.lexers.diff', 'WDiff', ('wdiff',), ('*.wdiff',), ()), + 'WatLexer': ('pip._vendor.pygments.lexers.webassembly', 'WebAssembly', ('wast', 'wat'), ('*.wat', '*.wast'), ()), + 'WebIDLLexer': ('pip._vendor.pygments.lexers.webidl', 'Web IDL', ('webidl',), ('*.webidl',), ()), + 'WgslLexer': ('pip._vendor.pygments.lexers.wgsl', 'WebGPU Shading Language', ('wgsl',), ('*.wgsl',), ('text/wgsl',)), + 'WhileyLexer': ('pip._vendor.pygments.lexers.whiley', 'Whiley', ('whiley',), ('*.whiley',), ('text/x-whiley',)), + 'WikitextLexer': ('pip._vendor.pygments.lexers.markup', 'Wikitext', ('wikitext', 'mediawiki'), (), ('text/x-wiki',)), + 'WoWTocLexer': ('pip._vendor.pygments.lexers.wowtoc', 'World of Warcraft TOC', ('wowtoc',), ('*.toc',), ()), + 'WrenLexer': ('pip._vendor.pygments.lexers.wren', 'Wren', ('wren',), ('*.wren',), ()), + 'X10Lexer': ('pip._vendor.pygments.lexers.x10', 'X10', ('x10', 'xten'), ('*.x10',), ('text/x-x10',)), + 'XMLUL4Lexer': ('pip._vendor.pygments.lexers.ul4', 'XML+UL4', ('xml+ul4',), ('*.xmlul4',), ()), + 'XQueryLexer': ('pip._vendor.pygments.lexers.webmisc', 'XQuery', ('xquery', 'xqy', 'xq', 'xql', 'xqm'), ('*.xqy', '*.xquery', '*.xq', '*.xql', '*.xqm'), ('text/xquery', 'application/xquery')), + 'XmlDjangoLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Django/Jinja', ('xml+django', 'xml+jinja'), ('*.xml.j2', '*.xml.jinja2'), ('application/xml+django', 'application/xml+jinja')), + 'XmlErbLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Ruby', ('xml+ruby', 'xml+erb'), (), ('application/xml+ruby',)), + 'XmlLexer': ('pip._vendor.pygments.lexers.html', 'XML', ('xml',), ('*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl', '*.wsf'), ('text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml')), + 'XmlPhpLexer': ('pip._vendor.pygments.lexers.templates', 'XML+PHP', ('xml+php',), (), ('application/xml+php',)), + 'XmlSmartyLexer': ('pip._vendor.pygments.lexers.templates', 'XML+Smarty', ('xml+smarty',), (), ('application/xml+smarty',)), + 'XorgLexer': ('pip._vendor.pygments.lexers.xorg', 'Xorg', ('xorg.conf',), ('xorg.conf',), ()), + 'XppLexer': ('pip._vendor.pygments.lexers.dotnet', 'X++', ('xpp', 'x++'), ('*.xpp',), ()), + 'XsltLexer': ('pip._vendor.pygments.lexers.html', 'XSLT', ('xslt',), ('*.xsl', '*.xslt', '*.xpl'), ('application/xsl+xml', 'application/xslt+xml')), + 'XtendLexer': ('pip._vendor.pygments.lexers.jvm', 'Xtend', ('xtend',), ('*.xtend',), ('text/x-xtend',)), + 'XtlangLexer': ('pip._vendor.pygments.lexers.lisp', 'xtlang', ('extempore',), ('*.xtm',), ()), + 'YamlJinjaLexer': ('pip._vendor.pygments.lexers.templates', 'YAML+Jinja', ('yaml+jinja', 'salt', 'sls'), ('*.sls', '*.yaml.j2', '*.yml.j2', '*.yaml.jinja2', '*.yml.jinja2'), ('text/x-yaml+jinja', 'text/x-sls')), + 'YamlLexer': ('pip._vendor.pygments.lexers.data', 'YAML', ('yaml',), ('*.yaml', '*.yml'), ('text/x-yaml',)), + 'YangLexer': ('pip._vendor.pygments.lexers.yang', 'YANG', ('yang',), ('*.yang',), ('application/yang',)), + 'YaraLexer': ('pip._vendor.pygments.lexers.yara', 'YARA', ('yara', 'yar'), ('*.yar',), ('text/x-yara',)), + 'ZeekLexer': ('pip._vendor.pygments.lexers.dsls', 'Zeek', ('zeek', 'bro'), ('*.zeek', '*.bro'), ()), + 'ZephirLexer': ('pip._vendor.pygments.lexers.php', 'Zephir', ('zephir',), ('*.zep',), ()), + 'ZigLexer': ('pip._vendor.pygments.lexers.zig', 'Zig', ('zig',), ('*.zig',), ('text/zig',)), + 'apdlexer': ('pip._vendor.pygments.lexers.apdlexer', 'ANSYS parametric design language', ('ansys', 'apdl'), ('*.ans',), ()), +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/python.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/python.py new file mode 100644 index 0000000000000000000000000000000000000000..1b78829617a332611faada9b2e8d2703a63773d5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/python.py @@ -0,0 +1,1201 @@ +""" + pygments.lexers.python + ~~~~~~~~~~~~~~~~~~~~~~ + + Lexers for Python and related languages. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import keyword + +from pip._vendor.pygments.lexer import DelegatingLexer, RegexLexer, include, \ + bygroups, using, default, words, combined, this +from pip._vendor.pygments.util import get_bool_opt, shebang_matches +from pip._vendor.pygments.token import Text, Comment, Operator, Keyword, Name, String, \ + Number, Punctuation, Generic, Other, Error, Whitespace +from pip._vendor.pygments import unistring as uni + +__all__ = ['PythonLexer', 'PythonConsoleLexer', 'PythonTracebackLexer', + 'Python2Lexer', 'Python2TracebackLexer', + 'CythonLexer', 'DgLexer', 'NumPyLexer'] + + +class PythonLexer(RegexLexer): + """ + For Python source code (version 3.x). + + .. versionchanged:: 2.5 + This is now the default ``PythonLexer``. It is still available as the + alias ``Python3Lexer``. + """ + + name = 'Python' + url = 'https://www.python.org' + aliases = ['python', 'py', 'sage', 'python3', 'py3', 'bazel', 'starlark', 'pyi'] + filenames = [ + '*.py', + '*.pyw', + # Type stubs + '*.pyi', + # Jython + '*.jy', + # Sage + '*.sage', + # SCons + '*.sc', + 'SConstruct', + 'SConscript', + # Skylark/Starlark (used by Bazel, Buck, and Pants) + '*.bzl', + 'BUCK', + 'BUILD', + 'BUILD.bazel', + 'WORKSPACE', + # Twisted Application infrastructure + '*.tac', + ] + mimetypes = ['text/x-python', 'application/x-python', + 'text/x-python3', 'application/x-python3'] + version_added = '0.10' + + uni_name = f"[{uni.xid_start}][{uni.xid_continue}]*" + + def innerstring_rules(ttype): + return [ + # the old style '%s' % (...) string formatting (still valid in Py3) + (r'%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?' + '[hlL]?[E-GXc-giorsaux%]', String.Interpol), + # the new style '{}'.format(...) string formatting + (r'\{' + r'((\w+)((\.\w+)|(\[[^\]]+\]))*)?' # field name + r'(\![sra])?' # conversion + r'(\:(.?[<>=\^])?[-+ ]?#?0?(\d+)?,?(\.\d+)?[E-GXb-gnosx%]?)?' + r'\}', String.Interpol), + + # backslashes, quotes and formatting signs must be parsed one at a time + (r'[^\\\'"%{\n]+', ttype), + (r'[\'"\\]', ttype), + # unhandled string formatting sign + (r'%|(\{{1,2})', ttype) + # newlines are an error (use "nl" state) + ] + + def fstring_rules(ttype): + return [ + # Assuming that a '}' is the closing brace after format specifier. + # Sadly, this means that we won't detect syntax error. But it's + # more important to parse correct syntax correctly, than to + # highlight invalid syntax. + (r'\}', String.Interpol), + (r'\{', String.Interpol, 'expr-inside-fstring'), + # backslashes, quotes and formatting signs must be parsed one at a time + (r'[^\\\'"{}\n]+', ttype), + (r'[\'"\\]', ttype), + # newlines are an error (use "nl" state) + ] + + tokens = { + 'root': [ + (r'\n', Whitespace), + (r'^(\s*)([rRuUbB]{,2})("""(?:.|\n)*?""")', + bygroups(Whitespace, String.Affix, String.Doc)), + (r"^(\s*)([rRuUbB]{,2})('''(?:.|\n)*?''')", + bygroups(Whitespace, String.Affix, String.Doc)), + (r'\A#!.+$', Comment.Hashbang), + (r'#.*$', Comment.Single), + (r'\\\n', Text), + (r'\\', Text), + include('keywords'), + include('soft-keywords'), + (r'(def)((?:\s|\\\s)+)', bygroups(Keyword, Whitespace), 'funcname'), + (r'(class)((?:\s|\\\s)+)', bygroups(Keyword, Whitespace), 'classname'), + (r'(from)((?:\s|\\\s)+)', bygroups(Keyword.Namespace, Whitespace), + 'fromimport'), + (r'(import)((?:\s|\\\s)+)', bygroups(Keyword.Namespace, Whitespace), + 'import'), + include('expr'), + ], + 'expr': [ + # raw f-strings + ('(?i)(rf|fr)(""")', + bygroups(String.Affix, String.Double), + combined('rfstringescape', 'tdqf')), + ("(?i)(rf|fr)(''')", + bygroups(String.Affix, String.Single), + combined('rfstringescape', 'tsqf')), + ('(?i)(rf|fr)(")', + bygroups(String.Affix, String.Double), + combined('rfstringescape', 'dqf')), + ("(?i)(rf|fr)(')", + bygroups(String.Affix, String.Single), + combined('rfstringescape', 'sqf')), + # non-raw f-strings + ('([fF])(""")', bygroups(String.Affix, String.Double), + combined('fstringescape', 'tdqf')), + ("([fF])(''')", bygroups(String.Affix, String.Single), + combined('fstringescape', 'tsqf')), + ('([fF])(")', bygroups(String.Affix, String.Double), + combined('fstringescape', 'dqf')), + ("([fF])(')", bygroups(String.Affix, String.Single), + combined('fstringescape', 'sqf')), + # raw bytes and strings + ('(?i)(rb|br|r)(""")', + bygroups(String.Affix, String.Double), 'tdqs'), + ("(?i)(rb|br|r)(''')", + bygroups(String.Affix, String.Single), 'tsqs'), + ('(?i)(rb|br|r)(")', + bygroups(String.Affix, String.Double), 'dqs'), + ("(?i)(rb|br|r)(')", + bygroups(String.Affix, String.Single), 'sqs'), + # non-raw strings + ('([uU]?)(""")', bygroups(String.Affix, String.Double), + combined('stringescape', 'tdqs')), + ("([uU]?)(''')", bygroups(String.Affix, String.Single), + combined('stringescape', 'tsqs')), + ('([uU]?)(")', bygroups(String.Affix, String.Double), + combined('stringescape', 'dqs')), + ("([uU]?)(')", bygroups(String.Affix, String.Single), + combined('stringescape', 'sqs')), + # non-raw bytes + ('([bB])(""")', bygroups(String.Affix, String.Double), + combined('bytesescape', 'tdqs')), + ("([bB])(''')", bygroups(String.Affix, String.Single), + combined('bytesescape', 'tsqs')), + ('([bB])(")', bygroups(String.Affix, String.Double), + combined('bytesescape', 'dqs')), + ("([bB])(')", bygroups(String.Affix, String.Single), + combined('bytesescape', 'sqs')), + + (r'[^\S\n]+', Text), + include('numbers'), + (r'!=|==|<<|>>|:=|[-~+/*%=<>&^|.]', Operator), + (r'[]{}:(),;[]', Punctuation), + (r'(in|is|and|or|not)\b', Operator.Word), + include('expr-keywords'), + include('builtins'), + include('magicfuncs'), + include('magicvars'), + include('name'), + ], + 'expr-inside-fstring': [ + (r'[{([]', Punctuation, 'expr-inside-fstring-inner'), + # without format specifier + (r'(=\s*)?' # debug (https://bugs.python.org/issue36817) + r'(\![sraf])?' # conversion + r'\}', String.Interpol, '#pop'), + # with format specifier + # we'll catch the remaining '}' in the outer scope + (r'(=\s*)?' # debug (https://bugs.python.org/issue36817) + r'(\![sraf])?' # conversion + r':', String.Interpol, '#pop'), + (r'\s+', Whitespace), # allow new lines + include('expr'), + ], + 'expr-inside-fstring-inner': [ + (r'[{([]', Punctuation, 'expr-inside-fstring-inner'), + (r'[])}]', Punctuation, '#pop'), + (r'\s+', Whitespace), # allow new lines + include('expr'), + ], + 'expr-keywords': [ + # Based on https://docs.python.org/3/reference/expressions.html + (words(( + 'async for', 'await', 'else', 'for', 'if', 'lambda', + 'yield', 'yield from'), suffix=r'\b'), + Keyword), + (words(('True', 'False', 'None'), suffix=r'\b'), Keyword.Constant), + ], + 'keywords': [ + (words(( + 'assert', 'async', 'await', 'break', 'continue', 'del', 'elif', + 'else', 'except', 'finally', 'for', 'global', 'if', 'lambda', + 'pass', 'raise', 'nonlocal', 'return', 'try', 'while', 'yield', + 'yield from', 'as', 'with'), suffix=r'\b'), + Keyword), + (words(('True', 'False', 'None'), suffix=r'\b'), Keyword.Constant), + ], + 'soft-keywords': [ + # `match`, `case` and `_` soft keywords + (r'(^[ \t]*)' # at beginning of line + possible indentation + r'(match|case)\b' # a possible keyword + r'(?![ \t]*(?:' # not followed by... + r'[:,;=^&|@~)\]}]|(?:' + # characters and keywords that mean this isn't + # pattern matching (but None/True/False is ok) + r'|'.join(k for k in keyword.kwlist if k[0].islower()) + r')\b))', + bygroups(Text, Keyword), 'soft-keywords-inner'), + ], + 'soft-keywords-inner': [ + # optional `_` keyword + (r'(\s+)([^\n_]*)(_\b)', bygroups(Whitespace, using(this), Keyword)), + default('#pop') + ], + 'builtins': [ + (words(( + '__import__', 'abs', 'aiter', 'all', 'any', 'bin', 'bool', 'bytearray', + 'breakpoint', 'bytes', 'callable', 'chr', 'classmethod', 'compile', + 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', + 'filter', 'float', 'format', 'frozenset', 'getattr', 'globals', + 'hasattr', 'hash', 'hex', 'id', 'input', 'int', 'isinstance', + 'issubclass', 'iter', 'len', 'list', 'locals', 'map', 'max', + 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', + 'print', 'property', 'range', 'repr', 'reversed', 'round', 'set', + 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', + 'tuple', 'type', 'vars', 'zip'), prefix=r'(?>|[-~+/*%=<>&^|.]', Operator), + include('keywords'), + (r'(def)((?:\s|\\\s)+)', bygroups(Keyword, Whitespace), 'funcname'), + (r'(class)((?:\s|\\\s)+)', bygroups(Keyword, Whitespace), 'classname'), + (r'(from)((?:\s|\\\s)+)', bygroups(Keyword.Namespace, Whitespace), + 'fromimport'), + (r'(import)((?:\s|\\\s)+)', bygroups(Keyword.Namespace, Whitespace), + 'import'), + include('builtins'), + include('magicfuncs'), + include('magicvars'), + include('backtick'), + ('([rR]|[uUbB][rR]|[rR][uUbB])(""")', + bygroups(String.Affix, String.Double), 'tdqs'), + ("([rR]|[uUbB][rR]|[rR][uUbB])(''')", + bygroups(String.Affix, String.Single), 'tsqs'), + ('([rR]|[uUbB][rR]|[rR][uUbB])(")', + bygroups(String.Affix, String.Double), 'dqs'), + ("([rR]|[uUbB][rR]|[rR][uUbB])(')", + bygroups(String.Affix, String.Single), 'sqs'), + ('([uUbB]?)(""")', bygroups(String.Affix, String.Double), + combined('stringescape', 'tdqs')), + ("([uUbB]?)(''')", bygroups(String.Affix, String.Single), + combined('stringescape', 'tsqs')), + ('([uUbB]?)(")', bygroups(String.Affix, String.Double), + combined('stringescape', 'dqs')), + ("([uUbB]?)(')", bygroups(String.Affix, String.Single), + combined('stringescape', 'sqs')), + include('name'), + include('numbers'), + ], + 'keywords': [ + (words(( + 'assert', 'break', 'continue', 'del', 'elif', 'else', 'except', + 'exec', 'finally', 'for', 'global', 'if', 'lambda', 'pass', + 'print', 'raise', 'return', 'try', 'while', 'yield', + 'yield from', 'as', 'with'), suffix=r'\b'), + Keyword), + ], + 'builtins': [ + (words(( + '__import__', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', + 'bool', 'buffer', 'bytearray', 'bytes', 'callable', 'chr', 'classmethod', + 'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', + 'enumerate', 'eval', 'execfile', 'exit', 'file', 'filter', 'float', + 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'hex', 'id', + 'input', 'int', 'intern', 'isinstance', 'issubclass', 'iter', 'len', + 'list', 'locals', 'long', 'map', 'max', 'min', 'next', 'object', + 'oct', 'open', 'ord', 'pow', 'property', 'range', 'raw_input', 'reduce', + 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', + 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', + 'unichr', 'unicode', 'vars', 'xrange', 'zip'), + prefix=r'(?>> )(.*\n)', bygroups(Generic.Prompt, Other.Code), 'continuations'), + # This happens, e.g., when tracebacks are embedded in documentation; + # trailing whitespaces are often stripped in such contexts. + (r'(>>>)(\n)', bygroups(Generic.Prompt, Whitespace)), + (r'(\^C)?Traceback \(most recent call last\):\n', Other.Traceback, 'traceback'), + # SyntaxError starts with this + (r' File "[^"]+", line \d+', Other.Traceback, 'traceback'), + (r'.*\n', Generic.Output), + ], + 'continuations': [ + (r'(\.\.\. )(.*\n)', bygroups(Generic.Prompt, Other.Code)), + # See above. + (r'(\.\.\.)(\n)', bygroups(Generic.Prompt, Whitespace)), + default('#pop'), + ], + 'traceback': [ + # As soon as we see a traceback, consume everything until the next + # >>> prompt. + (r'(?=>>>( |$))', Text, '#pop'), + (r'(KeyboardInterrupt)(\n)', bygroups(Name.Class, Whitespace)), + (r'.*\n', Other.Traceback), + ], + } + + +class PythonConsoleLexer(DelegatingLexer): + """ + For Python console output or doctests, such as: + + .. sourcecode:: pycon + + >>> a = 'foo' + >>> print(a) + foo + >>> 1 / 0 + Traceback (most recent call last): + File "", line 1, in + ZeroDivisionError: integer division or modulo by zero + + Additional options: + + `python3` + Use Python 3 lexer for code. Default is ``True``. + + .. versionadded:: 1.0 + .. versionchanged:: 2.5 + Now defaults to ``True``. + """ + + name = 'Python console session' + aliases = ['pycon', 'python-console'] + mimetypes = ['text/x-python-doctest'] + url = 'https://python.org' + version_added = '' + + def __init__(self, **options): + python3 = get_bool_opt(options, 'python3', True) + if python3: + pylexer = PythonLexer + tblexer = PythonTracebackLexer + else: + pylexer = Python2Lexer + tblexer = Python2TracebackLexer + # We have two auxiliary lexers. Use DelegatingLexer twice with + # different tokens. TODO: DelegatingLexer should support this + # directly, by accepting a tuplet of auxiliary lexers and a tuple of + # distinguishing tokens. Then we wouldn't need this intermediary + # class. + class _ReplaceInnerCode(DelegatingLexer): + def __init__(self, **options): + super().__init__(pylexer, _PythonConsoleLexerBase, Other.Code, **options) + super().__init__(tblexer, _ReplaceInnerCode, Other.Traceback, **options) + + +class PythonTracebackLexer(RegexLexer): + """ + For Python 3.x tracebacks, with support for chained exceptions. + + .. versionchanged:: 2.5 + This is now the default ``PythonTracebackLexer``. It is still available + as the alias ``Python3TracebackLexer``. + """ + + name = 'Python Traceback' + aliases = ['pytb', 'py3tb'] + filenames = ['*.pytb', '*.py3tb'] + mimetypes = ['text/x-python-traceback', 'text/x-python3-traceback'] + url = 'https://python.org' + version_added = '1.0' + + tokens = { + 'root': [ + (r'\n', Whitespace), + (r'^(\^C)?Traceback \(most recent call last\):\n', Generic.Traceback, 'intb'), + (r'^During handling of the above exception, another ' + r'exception occurred:\n\n', Generic.Traceback), + (r'^The above exception was the direct cause of the ' + r'following exception:\n\n', Generic.Traceback), + (r'^(?= File "[^"]+", line \d+)', Generic.Traceback, 'intb'), + (r'^.*\n', Other), + ], + 'intb': [ + (r'^( File )("[^"]+")(, line )(\d+)(, in )(.+)(\n)', + bygroups(Text, Name.Builtin, Text, Number, Text, Name, Whitespace)), + (r'^( File )("[^"]+")(, line )(\d+)(\n)', + bygroups(Text, Name.Builtin, Text, Number, Whitespace)), + (r'^( )(.+)(\n)', + bygroups(Whitespace, using(PythonLexer), Whitespace), 'markers'), + (r'^([ \t]*)(\.\.\.)(\n)', + bygroups(Whitespace, Comment, Whitespace)), # for doctests... + (r'^([^:]+)(: )(.+)(\n)', + bygroups(Generic.Error, Text, Name, Whitespace), '#pop'), + (r'^([a-zA-Z_][\w.]*)(:?\n)', + bygroups(Generic.Error, Whitespace), '#pop'), + default('#pop'), + ], + 'markers': [ + # Either `PEP 657 ` + # error locations in Python 3.11+, or single-caret markers + # for syntax errors before that. + (r'^( {4,})([~^]+)(\n)', + bygroups(Whitespace, Punctuation.Marker, Whitespace), + '#pop'), + default('#pop'), + ], + } + + +Python3TracebackLexer = PythonTracebackLexer + + +class Python2TracebackLexer(RegexLexer): + """ + For Python tracebacks. + + .. versionchanged:: 2.5 + This class has been renamed from ``PythonTracebackLexer``. + ``PythonTracebackLexer`` now refers to the Python 3 variant. + """ + + name = 'Python 2.x Traceback' + aliases = ['py2tb'] + filenames = ['*.py2tb'] + mimetypes = ['text/x-python2-traceback'] + url = 'https://python.org' + version_added = '0.7' + + tokens = { + 'root': [ + # Cover both (most recent call last) and (innermost last) + # The optional ^C allows us to catch keyboard interrupt signals. + (r'^(\^C)?(Traceback.*\n)', + bygroups(Text, Generic.Traceback), 'intb'), + # SyntaxError starts with this. + (r'^(?= File "[^"]+", line \d+)', Generic.Traceback, 'intb'), + (r'^.*\n', Other), + ], + 'intb': [ + (r'^( File )("[^"]+")(, line )(\d+)(, in )(.+)(\n)', + bygroups(Text, Name.Builtin, Text, Number, Text, Name, Whitespace)), + (r'^( File )("[^"]+")(, line )(\d+)(\n)', + bygroups(Text, Name.Builtin, Text, Number, Whitespace)), + (r'^( )(.+)(\n)', + bygroups(Text, using(Python2Lexer), Whitespace), 'marker'), + (r'^([ \t]*)(\.\.\.)(\n)', + bygroups(Text, Comment, Whitespace)), # for doctests... + (r'^([^:]+)(: )(.+)(\n)', + bygroups(Generic.Error, Text, Name, Whitespace), '#pop'), + (r'^([a-zA-Z_]\w*)(:?\n)', + bygroups(Generic.Error, Whitespace), '#pop') + ], + 'marker': [ + # For syntax errors. + (r'( {4,})(\^)', bygroups(Text, Punctuation.Marker), '#pop'), + default('#pop'), + ], + } + + +class CythonLexer(RegexLexer): + """ + For Pyrex and Cython source code. + """ + + name = 'Cython' + url = 'https://cython.org' + aliases = ['cython', 'pyx', 'pyrex'] + filenames = ['*.pyx', '*.pxd', '*.pxi'] + mimetypes = ['text/x-cython', 'application/x-cython'] + version_added = '1.1' + + tokens = { + 'root': [ + (r'\n', Whitespace), + (r'^(\s*)("""(?:.|\n)*?""")', bygroups(Whitespace, String.Doc)), + (r"^(\s*)('''(?:.|\n)*?''')", bygroups(Whitespace, String.Doc)), + (r'[^\S\n]+', Text), + (r'#.*$', Comment), + (r'[]{}:(),;[]', Punctuation), + (r'\\\n', Whitespace), + (r'\\', Text), + (r'(in|is|and|or|not)\b', Operator.Word), + (r'(<)([a-zA-Z0-9.?]+)(>)', + bygroups(Punctuation, Keyword.Type, Punctuation)), + (r'!=|==|<<|>>|[-~+/*%=<>&^|.?]', Operator), + (r'(from)(\d+)(<=)(\s+)(<)(\d+)(:)', + bygroups(Keyword, Number.Integer, Operator, Whitespace, Operator, + Name, Punctuation)), + include('keywords'), + (r'(def|property)(\s+)', bygroups(Keyword, Whitespace), 'funcname'), + (r'(cp?def)(\s+)', bygroups(Keyword, Whitespace), 'cdef'), + # (should actually start a block with only cdefs) + (r'(cdef)(:)', bygroups(Keyword, Punctuation)), + (r'(class|struct)(\s+)', bygroups(Keyword, Whitespace), 'classname'), + (r'(from)(\s+)', bygroups(Keyword, Whitespace), 'fromimport'), + (r'(c?import)(\s+)', bygroups(Keyword, Whitespace), 'import'), + include('builtins'), + include('backtick'), + ('(?:[rR]|[uU][rR]|[rR][uU])"""', String, 'tdqs'), + ("(?:[rR]|[uU][rR]|[rR][uU])'''", String, 'tsqs'), + ('(?:[rR]|[uU][rR]|[rR][uU])"', String, 'dqs'), + ("(?:[rR]|[uU][rR]|[rR][uU])'", String, 'sqs'), + ('[uU]?"""', String, combined('stringescape', 'tdqs')), + ("[uU]?'''", String, combined('stringescape', 'tsqs')), + ('[uU]?"', String, combined('stringescape', 'dqs')), + ("[uU]?'", String, combined('stringescape', 'sqs')), + include('name'), + include('numbers'), + ], + 'keywords': [ + (words(( + 'assert', 'async', 'await', 'break', 'by', 'continue', 'ctypedef', 'del', 'elif', + 'else', 'except', 'except?', 'exec', 'finally', 'for', 'fused', 'gil', + 'global', 'if', 'include', 'lambda', 'nogil', 'pass', 'print', + 'raise', 'return', 'try', 'while', 'yield', 'as', 'with'), suffix=r'\b'), + Keyword), + (r'(DEF|IF|ELIF|ELSE)\b', Comment.Preproc), + ], + 'builtins': [ + (words(( + '__import__', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bint', + 'bool', 'buffer', 'bytearray', 'bytes', 'callable', 'chr', + 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', + 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'exit', + 'file', 'filter', 'float', 'frozenset', 'getattr', 'globals', + 'hasattr', 'hash', 'hex', 'id', 'input', 'int', 'intern', 'isinstance', + 'issubclass', 'iter', 'len', 'list', 'locals', 'long', 'map', 'max', + 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'property', 'Py_ssize_t', + 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', + 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', + 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'unsigned', + 'vars', 'xrange', 'zip'), prefix=r'(?]? \d* )? : + .* (?: ft | filetype | syn | syntax ) = ( [^:\s]+ ) +''', re.VERBOSE) + + +def get_filetype_from_line(l): # noqa: E741 + m = modeline_re.search(l) + if m: + return m.group(1) + + +def get_filetype_from_buffer(buf, max_lines=5): + """ + Scan the buffer for modelines and return filetype if one is found. + """ + lines = buf.splitlines() + for line in lines[-1:-max_lines-1:-1]: + ret = get_filetype_from_line(line) + if ret: + return ret + for i in range(max_lines, -1, -1): + if i < len(lines): + ret = get_filetype_from_line(lines[i]) + if ret: + return ret + + return None diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/plugin.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/plugin.py new file mode 100644 index 0000000000000000000000000000000000000000..498db42384966abfb748d66c3577559fab3b5ba8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/plugin.py @@ -0,0 +1,72 @@ +""" + pygments.plugin + ~~~~~~~~~~~~~~~ + + Pygments plugin interface. + + lexer plugins:: + + [pygments.lexers] + yourlexer = yourmodule:YourLexer + + formatter plugins:: + + [pygments.formatters] + yourformatter = yourformatter:YourFormatter + /.ext = yourformatter:YourFormatter + + As you can see, you can define extensions for the formatter + with a leading slash. + + syntax plugins:: + + [pygments.styles] + yourstyle = yourstyle:YourStyle + + filter plugin:: + + [pygments.filter] + yourfilter = yourfilter:YourFilter + + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" +from importlib.metadata import entry_points + +LEXER_ENTRY_POINT = 'pygments.lexers' +FORMATTER_ENTRY_POINT = 'pygments.formatters' +STYLE_ENTRY_POINT = 'pygments.styles' +FILTER_ENTRY_POINT = 'pygments.filters' + + +def iter_entry_points(group_name): + groups = entry_points() + if hasattr(groups, 'select'): + # New interface in Python 3.10 and newer versions of the + # importlib_metadata backport. + return groups.select(group=group_name) + else: + # Older interface, deprecated in Python 3.10 and recent + # importlib_metadata, but we need it in Python 3.8 and 3.9. + return groups.get(group_name, []) + + +def find_plugin_lexers(): + for entrypoint in iter_entry_points(LEXER_ENTRY_POINT): + yield entrypoint.load() + + +def find_plugin_formatters(): + for entrypoint in iter_entry_points(FORMATTER_ENTRY_POINT): + yield entrypoint.name, entrypoint.load() + + +def find_plugin_styles(): + for entrypoint in iter_entry_points(STYLE_ENTRY_POINT): + yield entrypoint.name, entrypoint.load() + + +def find_plugin_filters(): + for entrypoint in iter_entry_points(FILTER_ENTRY_POINT): + yield entrypoint.name, entrypoint.load() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/regexopt.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/regexopt.py new file mode 100644 index 0000000000000000000000000000000000000000..cc8d2c31b541e43826cc223544d15bab72aaf98d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/regexopt.py @@ -0,0 +1,91 @@ +""" + pygments.regexopt + ~~~~~~~~~~~~~~~~~ + + An algorithm that generates optimized regexes for matching long lists of + literal strings. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import re +from re import escape +from os.path import commonprefix +from itertools import groupby +from operator import itemgetter + +CS_ESCAPE = re.compile(r'[\[\^\\\-\]]') +FIRST_ELEMENT = itemgetter(0) + + +def make_charset(letters): + return '[' + CS_ESCAPE.sub(lambda m: '\\' + m.group(), ''.join(letters)) + ']' + + +def regex_opt_inner(strings, open_paren): + """Return a regex that matches any string in the sorted list of strings.""" + close_paren = open_paren and ')' or '' + # print strings, repr(open_paren) + if not strings: + # print '-> nothing left' + return '' + first = strings[0] + if len(strings) == 1: + # print '-> only 1 string' + return open_paren + escape(first) + close_paren + if not first: + # print '-> first string empty' + return open_paren + regex_opt_inner(strings[1:], '(?:') \ + + '?' + close_paren + if len(first) == 1: + # multiple one-char strings? make a charset + oneletter = [] + rest = [] + for s in strings: + if len(s) == 1: + oneletter.append(s) + else: + rest.append(s) + if len(oneletter) > 1: # do we have more than one oneletter string? + if rest: + # print '-> 1-character + rest' + return open_paren + regex_opt_inner(rest, '') + '|' \ + + make_charset(oneletter) + close_paren + # print '-> only 1-character' + return open_paren + make_charset(oneletter) + close_paren + prefix = commonprefix(strings) + if prefix: + plen = len(prefix) + # we have a prefix for all strings + # print '-> prefix:', prefix + return open_paren + escape(prefix) \ + + regex_opt_inner([s[plen:] for s in strings], '(?:') \ + + close_paren + # is there a suffix? + strings_rev = [s[::-1] for s in strings] + suffix = commonprefix(strings_rev) + if suffix: + slen = len(suffix) + # print '-> suffix:', suffix[::-1] + return open_paren \ + + regex_opt_inner(sorted(s[:-slen] for s in strings), '(?:') \ + + escape(suffix[::-1]) + close_paren + # recurse on common 1-string prefixes + # print '-> last resort' + return open_paren + \ + '|'.join(regex_opt_inner(list(group[1]), '') + for group in groupby(strings, lambda s: s[0] == first[0])) \ + + close_paren + + +def regex_opt(strings, prefix='', suffix=''): + """Return a compiled regex that matches any string in the given list. + + The strings to match must be literal strings, not regexes. They will be + regex-escaped. + + *prefix* and *suffix* are pre- and appended to the final regex. + """ + strings = sorted(strings) + return prefix + regex_opt_inner(strings, '(') + suffix diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/scanner.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/scanner.py new file mode 100644 index 0000000000000000000000000000000000000000..3c8c8487316a71c1ed75c078cf4d7c77176c6995 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/scanner.py @@ -0,0 +1,104 @@ +""" + pygments.scanner + ~~~~~~~~~~~~~~~~ + + This library implements a regex based scanner. Some languages + like Pascal are easy to parse but have some keywords that + depend on the context. Because of this it's impossible to lex + that just by using a regular expression lexer like the + `RegexLexer`. + + Have a look at the `DelphiLexer` to get an idea of how to use + this scanner. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" +import re + + +class EndOfText(RuntimeError): + """ + Raise if end of text is reached and the user + tried to call a match function. + """ + + +class Scanner: + """ + Simple scanner + + All method patterns are regular expression strings (not + compiled expressions!) + """ + + def __init__(self, text, flags=0): + """ + :param text: The text which should be scanned + :param flags: default regular expression flags + """ + self.data = text + self.data_length = len(text) + self.start_pos = 0 + self.pos = 0 + self.flags = flags + self.last = None + self.match = None + self._re_cache = {} + + def eos(self): + """`True` if the scanner reached the end of text.""" + return self.pos >= self.data_length + eos = property(eos, eos.__doc__) + + def check(self, pattern): + """ + Apply `pattern` on the current position and return + the match object. (Doesn't touch pos). Use this for + lookahead. + """ + if self.eos: + raise EndOfText() + if pattern not in self._re_cache: + self._re_cache[pattern] = re.compile(pattern, self.flags) + return self._re_cache[pattern].match(self.data, self.pos) + + def test(self, pattern): + """Apply a pattern on the current position and check + if it patches. Doesn't touch pos. + """ + return self.check(pattern) is not None + + def scan(self, pattern): + """ + Scan the text for the given pattern and update pos/match + and related fields. The return value is a boolean that + indicates if the pattern matched. The matched value is + stored on the instance as ``match``, the last value is + stored as ``last``. ``start_pos`` is the position of the + pointer before the pattern was matched, ``pos`` is the + end position. + """ + if self.eos: + raise EndOfText() + if pattern not in self._re_cache: + self._re_cache[pattern] = re.compile(pattern, self.flags) + self.last = self.match + m = self._re_cache[pattern].match(self.data, self.pos) + if m is None: + return False + self.start_pos = m.start() + self.pos = m.end() + self.match = m.group() + return True + + def get_char(self): + """Scan exactly one char.""" + self.scan('.') + + def __repr__(self): + return '<%s %d/%d>' % ( + self.__class__.__name__, + self.pos, + self.data_length + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/sphinxext.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/sphinxext.py new file mode 100644 index 0000000000000000000000000000000000000000..955d9584f8f8be51be0c75665d67610ef6793fa4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/sphinxext.py @@ -0,0 +1,247 @@ +""" + pygments.sphinxext + ~~~~~~~~~~~~~~~~~~ + + Sphinx extension to generate automatic documentation of lexers, + formatters and filters. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import sys + +from docutils import nodes +from docutils.statemachine import ViewList +from docutils.parsers.rst import Directive +from sphinx.util.nodes import nested_parse_with_titles + + +MODULEDOC = ''' +.. module:: %s + +%s +%s +''' + +LEXERDOC = ''' +.. class:: %s + + :Short names: %s + :Filenames: %s + :MIME types: %s + + %s + + %s + +''' + +FMTERDOC = ''' +.. class:: %s + + :Short names: %s + :Filenames: %s + + %s + +''' + +FILTERDOC = ''' +.. class:: %s + + :Name: %s + + %s + +''' + + +class PygmentsDoc(Directive): + """ + A directive to collect all lexers/formatters/filters and generate + autoclass directives for them. + """ + has_content = False + required_arguments = 1 + optional_arguments = 0 + final_argument_whitespace = False + option_spec = {} + + def run(self): + self.filenames = set() + if self.arguments[0] == 'lexers': + out = self.document_lexers() + elif self.arguments[0] == 'formatters': + out = self.document_formatters() + elif self.arguments[0] == 'filters': + out = self.document_filters() + elif self.arguments[0] == 'lexers_overview': + out = self.document_lexers_overview() + else: + raise Exception('invalid argument for "pygmentsdoc" directive') + node = nodes.compound() + vl = ViewList(out.split('\n'), source='') + nested_parse_with_titles(self.state, vl, node) + for fn in self.filenames: + self.state.document.settings.record_dependencies.add(fn) + return node.children + + def document_lexers_overview(self): + """Generate a tabular overview of all lexers. + + The columns are the lexer name, the extensions handled by this lexer + (or "None"), the aliases and a link to the lexer class.""" + from pip._vendor.pygments.lexers._mapping import LEXERS + from pip._vendor.pygments.lexers import find_lexer_class + out = [] + + table = [] + + def format_link(name, url): + if url: + return f'`{name} <{url}>`_' + return name + + for classname, data in sorted(LEXERS.items(), key=lambda x: x[1][1].lower()): + lexer_cls = find_lexer_class(data[1]) + extensions = lexer_cls.filenames + lexer_cls.alias_filenames + + table.append({ + 'name': format_link(data[1], lexer_cls.url), + 'extensions': ', '.join(extensions).replace('*', '\\*').replace('_', '\\') or 'None', + 'aliases': ', '.join(data[2]), + 'class': f'{data[0]}.{classname}' + }) + + column_names = ['name', 'extensions', 'aliases', 'class'] + column_lengths = [max([len(row[column]) for row in table if row[column]]) + for column in column_names] + + def write_row(*columns): + """Format a table row""" + out = [] + for length, col in zip(column_lengths, columns): + if col: + out.append(col.ljust(length)) + else: + out.append(' '*length) + + return ' '.join(out) + + def write_seperator(): + """Write a table separator row""" + sep = ['='*c for c in column_lengths] + return write_row(*sep) + + out.append(write_seperator()) + out.append(write_row('Name', 'Extension(s)', 'Short name(s)', 'Lexer class')) + out.append(write_seperator()) + for row in table: + out.append(write_row( + row['name'], + row['extensions'], + row['aliases'], + f':class:`~{row["class"]}`')) + out.append(write_seperator()) + + return '\n'.join(out) + + def document_lexers(self): + from pip._vendor.pygments.lexers._mapping import LEXERS + from pip._vendor import pygments + import inspect + import pathlib + + out = [] + modules = {} + moduledocstrings = {} + for classname, data in sorted(LEXERS.items(), key=lambda x: x[0]): + module = data[0] + mod = __import__(module, None, None, [classname]) + self.filenames.add(mod.__file__) + cls = getattr(mod, classname) + if not cls.__doc__: + print(f"Warning: {classname} does not have a docstring.") + docstring = cls.__doc__ + if isinstance(docstring, bytes): + docstring = docstring.decode('utf8') + + example_file = getattr(cls, '_example', None) + if example_file: + p = pathlib.Path(inspect.getabsfile(pygments)).parent.parent /\ + 'tests' / 'examplefiles' / example_file + content = p.read_text(encoding='utf-8') + if not content: + raise Exception( + f"Empty example file '{example_file}' for lexer " + f"{classname}") + + if data[2]: + lexer_name = data[2][0] + docstring += '\n\n .. admonition:: Example\n' + docstring += f'\n .. code-block:: {lexer_name}\n\n' + for line in content.splitlines(): + docstring += f' {line}\n' + + if cls.version_added: + version_line = f'.. versionadded:: {cls.version_added}' + else: + version_line = '' + + modules.setdefault(module, []).append(( + classname, + ', '.join(data[2]) or 'None', + ', '.join(data[3]).replace('*', '\\*').replace('_', '\\') or 'None', + ', '.join(data[4]) or 'None', + docstring, + version_line)) + if module not in moduledocstrings: + moddoc = mod.__doc__ + if isinstance(moddoc, bytes): + moddoc = moddoc.decode('utf8') + moduledocstrings[module] = moddoc + + for module, lexers in sorted(modules.items(), key=lambda x: x[0]): + if moduledocstrings[module] is None: + raise Exception(f"Missing docstring for {module}") + heading = moduledocstrings[module].splitlines()[4].strip().rstrip('.') + out.append(MODULEDOC % (module, heading, '-'*len(heading))) + for data in lexers: + out.append(LEXERDOC % data) + + return ''.join(out) + + def document_formatters(self): + from pip._vendor.pygments.formatters import FORMATTERS + + out = [] + for classname, data in sorted(FORMATTERS.items(), key=lambda x: x[0]): + module = data[0] + mod = __import__(module, None, None, [classname]) + self.filenames.add(mod.__file__) + cls = getattr(mod, classname) + docstring = cls.__doc__ + if isinstance(docstring, bytes): + docstring = docstring.decode('utf8') + heading = cls.__name__ + out.append(FMTERDOC % (heading, ', '.join(data[2]) or 'None', + ', '.join(data[3]).replace('*', '\\*') or 'None', + docstring)) + return ''.join(out) + + def document_filters(self): + from pip._vendor.pygments.filters import FILTERS + + out = [] + for name, cls in FILTERS.items(): + self.filenames.add(sys.modules[cls.__module__].__file__) + docstring = cls.__doc__ + if isinstance(docstring, bytes): + docstring = docstring.decode('utf8') + out.append(FILTERDOC % (cls.__name__, name, docstring)) + return ''.join(out) + + +def setup(app): + app.add_directive('pygmentsdoc', PygmentsDoc) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/style.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/style.py new file mode 100644 index 0000000000000000000000000000000000000000..be5f8322879d33f12b6371b466a0cbc9540c2a52 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/style.py @@ -0,0 +1,203 @@ +""" + pygments.style + ~~~~~~~~~~~~~~ + + Basic style object. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pip._vendor.pygments.token import Token, STANDARD_TYPES + +# Default mapping of ansixxx to RGB colors. +_ansimap = { + # dark + 'ansiblack': '000000', + 'ansired': '7f0000', + 'ansigreen': '007f00', + 'ansiyellow': '7f7fe0', + 'ansiblue': '00007f', + 'ansimagenta': '7f007f', + 'ansicyan': '007f7f', + 'ansigray': 'e5e5e5', + # normal + 'ansibrightblack': '555555', + 'ansibrightred': 'ff0000', + 'ansibrightgreen': '00ff00', + 'ansibrightyellow': 'ffff00', + 'ansibrightblue': '0000ff', + 'ansibrightmagenta': 'ff00ff', + 'ansibrightcyan': '00ffff', + 'ansiwhite': 'ffffff', +} +# mapping of deprecated #ansixxx colors to new color names +_deprecated_ansicolors = { + # dark + '#ansiblack': 'ansiblack', + '#ansidarkred': 'ansired', + '#ansidarkgreen': 'ansigreen', + '#ansibrown': 'ansiyellow', + '#ansidarkblue': 'ansiblue', + '#ansipurple': 'ansimagenta', + '#ansiteal': 'ansicyan', + '#ansilightgray': 'ansigray', + # normal + '#ansidarkgray': 'ansibrightblack', + '#ansired': 'ansibrightred', + '#ansigreen': 'ansibrightgreen', + '#ansiyellow': 'ansibrightyellow', + '#ansiblue': 'ansibrightblue', + '#ansifuchsia': 'ansibrightmagenta', + '#ansiturquoise': 'ansibrightcyan', + '#ansiwhite': 'ansiwhite', +} +ansicolors = set(_ansimap) + + +class StyleMeta(type): + + def __new__(mcs, name, bases, dct): + obj = type.__new__(mcs, name, bases, dct) + for token in STANDARD_TYPES: + if token not in obj.styles: + obj.styles[token] = '' + + def colorformat(text): + if text in ansicolors: + return text + if text[0:1] == '#': + col = text[1:] + if len(col) == 6: + return col + elif len(col) == 3: + return col[0] * 2 + col[1] * 2 + col[2] * 2 + elif text == '': + return '' + elif text.startswith('var') or text.startswith('calc'): + return text + assert False, f"wrong color format {text!r}" + + _styles = obj._styles = {} + + for ttype in obj.styles: + for token in ttype.split(): + if token in _styles: + continue + ndef = _styles.get(token.parent, None) + styledefs = obj.styles.get(token, '').split() + if not ndef or token is None: + ndef = ['', 0, 0, 0, '', '', 0, 0, 0] + elif 'noinherit' in styledefs and token is not Token: + ndef = _styles[Token][:] + else: + ndef = ndef[:] + _styles[token] = ndef + for styledef in obj.styles.get(token, '').split(): + if styledef == 'noinherit': + pass + elif styledef == 'bold': + ndef[1] = 1 + elif styledef == 'nobold': + ndef[1] = 0 + elif styledef == 'italic': + ndef[2] = 1 + elif styledef == 'noitalic': + ndef[2] = 0 + elif styledef == 'underline': + ndef[3] = 1 + elif styledef == 'nounderline': + ndef[3] = 0 + elif styledef[:3] == 'bg:': + ndef[4] = colorformat(styledef[3:]) + elif styledef[:7] == 'border:': + ndef[5] = colorformat(styledef[7:]) + elif styledef == 'roman': + ndef[6] = 1 + elif styledef == 'sans': + ndef[7] = 1 + elif styledef == 'mono': + ndef[8] = 1 + else: + ndef[0] = colorformat(styledef) + + return obj + + def style_for_token(cls, token): + t = cls._styles[token] + ansicolor = bgansicolor = None + color = t[0] + if color in _deprecated_ansicolors: + color = _deprecated_ansicolors[color] + if color in ansicolors: + ansicolor = color + color = _ansimap[color] + bgcolor = t[4] + if bgcolor in _deprecated_ansicolors: + bgcolor = _deprecated_ansicolors[bgcolor] + if bgcolor in ansicolors: + bgansicolor = bgcolor + bgcolor = _ansimap[bgcolor] + + return { + 'color': color or None, + 'bold': bool(t[1]), + 'italic': bool(t[2]), + 'underline': bool(t[3]), + 'bgcolor': bgcolor or None, + 'border': t[5] or None, + 'roman': bool(t[6]) or None, + 'sans': bool(t[7]) or None, + 'mono': bool(t[8]) or None, + 'ansicolor': ansicolor, + 'bgansicolor': bgansicolor, + } + + def list_styles(cls): + return list(cls) + + def styles_token(cls, ttype): + return ttype in cls._styles + + def __iter__(cls): + for token in cls._styles: + yield token, cls.style_for_token(token) + + def __len__(cls): + return len(cls._styles) + + +class Style(metaclass=StyleMeta): + + #: overall background color (``None`` means transparent) + background_color = '#ffffff' + + #: highlight background color + highlight_color = '#ffffcc' + + #: line number font color + line_number_color = 'inherit' + + #: line number background color + line_number_background_color = 'transparent' + + #: special line number font color + line_number_special_color = '#000000' + + #: special line number background color + line_number_special_background_color = '#ffffc0' + + #: Style definitions for individual token types. + styles = {} + + #: user-friendly style name (used when selecting the style, so this + # should be all-lowercase, no spaces, hyphens) + name = 'unnamed' + + aliases = [] + + # Attribute for lexers defined within Pygments. If set + # to True, the style is not shown in the style gallery + # on the website. This is intended for language-specific + # styles. + web_style_gallery_exclude = False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..96d53dce0daa22a5632b66fdb175d5de25174acd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__init__.py @@ -0,0 +1,61 @@ +""" + pygments.styles + ~~~~~~~~~~~~~~~ + + Contains built-in styles. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pip._vendor.pygments.plugin import find_plugin_styles +from pip._vendor.pygments.util import ClassNotFound +from pip._vendor.pygments.styles._mapping import STYLES + +#: A dictionary of built-in styles, mapping style names to +#: ``'submodule::classname'`` strings. +#: This list is deprecated. Use `pygments.styles.STYLES` instead +STYLE_MAP = {v[1]: v[0].split('.')[-1] + '::' + k for k, v in STYLES.items()} + +#: Internal reverse mapping to make `get_style_by_name` more efficient +_STYLE_NAME_TO_MODULE_MAP = {v[1]: (v[0], k) for k, v in STYLES.items()} + + +def get_style_by_name(name): + """ + Return a style class by its short name. The names of the builtin styles + are listed in :data:`pygments.styles.STYLE_MAP`. + + Will raise :exc:`pygments.util.ClassNotFound` if no style of that name is + found. + """ + if name in _STYLE_NAME_TO_MODULE_MAP: + mod, cls = _STYLE_NAME_TO_MODULE_MAP[name] + builtin = "yes" + else: + for found_name, style in find_plugin_styles(): + if name == found_name: + return style + # perhaps it got dropped into our styles package + builtin = "" + mod = 'pygments.styles.' + name + cls = name.title() + "Style" + + try: + mod = __import__(mod, None, None, [cls]) + except ImportError: + raise ClassNotFound(f"Could not find style module {mod!r}" + + (builtin and ", though it should be builtin") + + ".") + try: + return getattr(mod, cls) + except AttributeError: + raise ClassNotFound(f"Could not find style class {cls!r} in style module.") + + +def get_all_styles(): + """Return a generator for all styles by name, both builtin and plugin.""" + for v in STYLES.values(): + yield v[1] + for name, _ in find_plugin_styles(): + yield name diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bb1349883c1eb668f9c5965c50ab573d10d891ab Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f75c2bb90651c0f955918ca8935f80a64b1a1e1f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/_mapping.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/_mapping.py new file mode 100644 index 0000000000000000000000000000000000000000..49a7fae92dc4d9ed6bcdb735f346b79c476f49ad --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/_mapping.py @@ -0,0 +1,54 @@ +# Automatically generated by scripts/gen_mapfiles.py. +# DO NOT EDIT BY HAND; run `tox -e mapfiles` instead. + +STYLES = { + 'AbapStyle': ('pygments.styles.abap', 'abap', ()), + 'AlgolStyle': ('pygments.styles.algol', 'algol', ()), + 'Algol_NuStyle': ('pygments.styles.algol_nu', 'algol_nu', ()), + 'ArduinoStyle': ('pygments.styles.arduino', 'arduino', ()), + 'AutumnStyle': ('pygments.styles.autumn', 'autumn', ()), + 'BlackWhiteStyle': ('pygments.styles.bw', 'bw', ()), + 'BorlandStyle': ('pygments.styles.borland', 'borland', ()), + 'CoffeeStyle': ('pygments.styles.coffee', 'coffee', ()), + 'ColorfulStyle': ('pygments.styles.colorful', 'colorful', ()), + 'DefaultStyle': ('pygments.styles.default', 'default', ()), + 'DraculaStyle': ('pygments.styles.dracula', 'dracula', ()), + 'EmacsStyle': ('pygments.styles.emacs', 'emacs', ()), + 'FriendlyGrayscaleStyle': ('pygments.styles.friendly_grayscale', 'friendly_grayscale', ()), + 'FriendlyStyle': ('pygments.styles.friendly', 'friendly', ()), + 'FruityStyle': ('pygments.styles.fruity', 'fruity', ()), + 'GhDarkStyle': ('pygments.styles.gh_dark', 'github-dark', ()), + 'GruvboxDarkStyle': ('pygments.styles.gruvbox', 'gruvbox-dark', ()), + 'GruvboxLightStyle': ('pygments.styles.gruvbox', 'gruvbox-light', ()), + 'IgorStyle': ('pygments.styles.igor', 'igor', ()), + 'InkPotStyle': ('pygments.styles.inkpot', 'inkpot', ()), + 'LightbulbStyle': ('pygments.styles.lightbulb', 'lightbulb', ()), + 'LilyPondStyle': ('pygments.styles.lilypond', 'lilypond', ()), + 'LovelaceStyle': ('pygments.styles.lovelace', 'lovelace', ()), + 'ManniStyle': ('pygments.styles.manni', 'manni', ()), + 'MaterialStyle': ('pygments.styles.material', 'material', ()), + 'MonokaiStyle': ('pygments.styles.monokai', 'monokai', ()), + 'MurphyStyle': ('pygments.styles.murphy', 'murphy', ()), + 'NativeStyle': ('pygments.styles.native', 'native', ()), + 'NordDarkerStyle': ('pygments.styles.nord', 'nord-darker', ()), + 'NordStyle': ('pygments.styles.nord', 'nord', ()), + 'OneDarkStyle': ('pygments.styles.onedark', 'one-dark', ()), + 'ParaisoDarkStyle': ('pygments.styles.paraiso_dark', 'paraiso-dark', ()), + 'ParaisoLightStyle': ('pygments.styles.paraiso_light', 'paraiso-light', ()), + 'PastieStyle': ('pygments.styles.pastie', 'pastie', ()), + 'PerldocStyle': ('pygments.styles.perldoc', 'perldoc', ()), + 'RainbowDashStyle': ('pygments.styles.rainbow_dash', 'rainbow_dash', ()), + 'RrtStyle': ('pygments.styles.rrt', 'rrt', ()), + 'SasStyle': ('pygments.styles.sas', 'sas', ()), + 'SolarizedDarkStyle': ('pygments.styles.solarized', 'solarized-dark', ()), + 'SolarizedLightStyle': ('pygments.styles.solarized', 'solarized-light', ()), + 'StarofficeStyle': ('pygments.styles.staroffice', 'staroffice', ()), + 'StataDarkStyle': ('pygments.styles.stata_dark', 'stata-dark', ()), + 'StataLightStyle': ('pygments.styles.stata_light', 'stata-light', ()), + 'TangoStyle': ('pygments.styles.tango', 'tango', ()), + 'TracStyle': ('pygments.styles.trac', 'trac', ()), + 'VimStyle': ('pygments.styles.vim', 'vim', ()), + 'VisualStudioStyle': ('pygments.styles.vs', 'vs', ()), + 'XcodeStyle': ('pygments.styles.xcode', 'xcode', ()), + 'ZenburnStyle': ('pygments.styles.zenburn', 'zenburn', ()), +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/token.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/token.py new file mode 100644 index 0000000000000000000000000000000000000000..2f3b97e09ac22cefbcea5d3a568b897c9f789c02 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/token.py @@ -0,0 +1,214 @@ +""" + pygments.token + ~~~~~~~~~~~~~~ + + Basic token types and the standard tokens. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + + +class _TokenType(tuple): + parent = None + + def split(self): + buf = [] + node = self + while node is not None: + buf.append(node) + node = node.parent + buf.reverse() + return buf + + def __init__(self, *args): + # no need to call super.__init__ + self.subtypes = set() + + def __contains__(self, val): + return self is val or ( + type(val) is self.__class__ and + val[:len(self)] == self + ) + + def __getattr__(self, val): + if not val or not val[0].isupper(): + return tuple.__getattribute__(self, val) + new = _TokenType(self + (val,)) + setattr(self, val, new) + self.subtypes.add(new) + new.parent = self + return new + + def __repr__(self): + return 'Token' + (self and '.' or '') + '.'.join(self) + + def __copy__(self): + # These instances are supposed to be singletons + return self + + def __deepcopy__(self, memo): + # These instances are supposed to be singletons + return self + + +Token = _TokenType() + +# Special token types +Text = Token.Text +Whitespace = Text.Whitespace +Escape = Token.Escape +Error = Token.Error +# Text that doesn't belong to this lexer (e.g. HTML in PHP) +Other = Token.Other + +# Common token types for source code +Keyword = Token.Keyword +Name = Token.Name +Literal = Token.Literal +String = Literal.String +Number = Literal.Number +Punctuation = Token.Punctuation +Operator = Token.Operator +Comment = Token.Comment + +# Generic types for non-source code +Generic = Token.Generic + +# String and some others are not direct children of Token. +# alias them: +Token.Token = Token +Token.String = String +Token.Number = Number + + +def is_token_subtype(ttype, other): + """ + Return True if ``ttype`` is a subtype of ``other``. + + exists for backwards compatibility. use ``ttype in other`` now. + """ + return ttype in other + + +def string_to_tokentype(s): + """ + Convert a string into a token type:: + + >>> string_to_token('String.Double') + Token.Literal.String.Double + >>> string_to_token('Token.Literal.Number') + Token.Literal.Number + >>> string_to_token('') + Token + + Tokens that are already tokens are returned unchanged: + + >>> string_to_token(String) + Token.Literal.String + """ + if isinstance(s, _TokenType): + return s + if not s: + return Token + node = Token + for item in s.split('.'): + node = getattr(node, item) + return node + + +# Map standard token types to short names, used in CSS class naming. +# If you add a new item, please be sure to run this file to perform +# a consistency check for duplicate values. +STANDARD_TYPES = { + Token: '', + + Text: '', + Whitespace: 'w', + Escape: 'esc', + Error: 'err', + Other: 'x', + + Keyword: 'k', + Keyword.Constant: 'kc', + Keyword.Declaration: 'kd', + Keyword.Namespace: 'kn', + Keyword.Pseudo: 'kp', + Keyword.Reserved: 'kr', + Keyword.Type: 'kt', + + Name: 'n', + Name.Attribute: 'na', + Name.Builtin: 'nb', + Name.Builtin.Pseudo: 'bp', + Name.Class: 'nc', + Name.Constant: 'no', + Name.Decorator: 'nd', + Name.Entity: 'ni', + Name.Exception: 'ne', + Name.Function: 'nf', + Name.Function.Magic: 'fm', + Name.Property: 'py', + Name.Label: 'nl', + Name.Namespace: 'nn', + Name.Other: 'nx', + Name.Tag: 'nt', + Name.Variable: 'nv', + Name.Variable.Class: 'vc', + Name.Variable.Global: 'vg', + Name.Variable.Instance: 'vi', + Name.Variable.Magic: 'vm', + + Literal: 'l', + Literal.Date: 'ld', + + String: 's', + String.Affix: 'sa', + String.Backtick: 'sb', + String.Char: 'sc', + String.Delimiter: 'dl', + String.Doc: 'sd', + String.Double: 's2', + String.Escape: 'se', + String.Heredoc: 'sh', + String.Interpol: 'si', + String.Other: 'sx', + String.Regex: 'sr', + String.Single: 's1', + String.Symbol: 'ss', + + Number: 'm', + Number.Bin: 'mb', + Number.Float: 'mf', + Number.Hex: 'mh', + Number.Integer: 'mi', + Number.Integer.Long: 'il', + Number.Oct: 'mo', + + Operator: 'o', + Operator.Word: 'ow', + + Punctuation: 'p', + Punctuation.Marker: 'pm', + + Comment: 'c', + Comment.Hashbang: 'ch', + Comment.Multiline: 'cm', + Comment.Preproc: 'cp', + Comment.PreprocFile: 'cpf', + Comment.Single: 'c1', + Comment.Special: 'cs', + + Generic: 'g', + Generic.Deleted: 'gd', + Generic.Emph: 'ge', + Generic.Error: 'gr', + Generic.Heading: 'gh', + Generic.Inserted: 'gi', + Generic.Output: 'go', + Generic.Prompt: 'gp', + Generic.Strong: 'gs', + Generic.Subheading: 'gu', + Generic.EmphStrong: 'ges', + Generic.Traceback: 'gt', +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/unistring.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/unistring.py new file mode 100644 index 0000000000000000000000000000000000000000..e3bd2e72738158bc62eff6a64209b00d0f0ff17f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/unistring.py @@ -0,0 +1,153 @@ +""" + pygments.unistring + ~~~~~~~~~~~~~~~~~~ + + Strings of all Unicode characters of a certain category. + Used for matching in Unicode-aware languages. Run to regenerate. + + Inspired by chartypes_create.py from the MoinMoin project. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +Cc = '\x00-\x1f\x7f-\x9f' + +Cf = '\xad\u0600-\u0605\u061c\u06dd\u070f\u08e2\u180e\u200b-\u200f\u202a-\u202e\u2060-\u2064\u2066-\u206f\ufeff\ufff9-\ufffb\U000110bd\U000110cd\U0001bca0-\U0001bca3\U0001d173-\U0001d17a\U000e0001\U000e0020-\U000e007f' + +Cn = '\u0378-\u0379\u0380-\u0383\u038b\u038d\u03a2\u0530\u0557-\u0558\u058b-\u058c\u0590\u05c8-\u05cf\u05eb-\u05ee\u05f5-\u05ff\u061d\u070e\u074b-\u074c\u07b2-\u07bf\u07fb-\u07fc\u082e-\u082f\u083f\u085c-\u085d\u085f\u086b-\u089f\u08b5\u08be-\u08d2\u0984\u098d-\u098e\u0991-\u0992\u09a9\u09b1\u09b3-\u09b5\u09ba-\u09bb\u09c5-\u09c6\u09c9-\u09ca\u09cf-\u09d6\u09d8-\u09db\u09de\u09e4-\u09e5\u09ff-\u0a00\u0a04\u0a0b-\u0a0e\u0a11-\u0a12\u0a29\u0a31\u0a34\u0a37\u0a3a-\u0a3b\u0a3d\u0a43-\u0a46\u0a49-\u0a4a\u0a4e-\u0a50\u0a52-\u0a58\u0a5d\u0a5f-\u0a65\u0a77-\u0a80\u0a84\u0a8e\u0a92\u0aa9\u0ab1\u0ab4\u0aba-\u0abb\u0ac6\u0aca\u0ace-\u0acf\u0ad1-\u0adf\u0ae4-\u0ae5\u0af2-\u0af8\u0b00\u0b04\u0b0d-\u0b0e\u0b11-\u0b12\u0b29\u0b31\u0b34\u0b3a-\u0b3b\u0b45-\u0b46\u0b49-\u0b4a\u0b4e-\u0b55\u0b58-\u0b5b\u0b5e\u0b64-\u0b65\u0b78-\u0b81\u0b84\u0b8b-\u0b8d\u0b91\u0b96-\u0b98\u0b9b\u0b9d\u0ba0-\u0ba2\u0ba5-\u0ba7\u0bab-\u0bad\u0bba-\u0bbd\u0bc3-\u0bc5\u0bc9\u0bce-\u0bcf\u0bd1-\u0bd6\u0bd8-\u0be5\u0bfb-\u0bff\u0c0d\u0c11\u0c29\u0c3a-\u0c3c\u0c45\u0c49\u0c4e-\u0c54\u0c57\u0c5b-\u0c5f\u0c64-\u0c65\u0c70-\u0c77\u0c8d\u0c91\u0ca9\u0cb4\u0cba-\u0cbb\u0cc5\u0cc9\u0cce-\u0cd4\u0cd7-\u0cdd\u0cdf\u0ce4-\u0ce5\u0cf0\u0cf3-\u0cff\u0d04\u0d0d\u0d11\u0d45\u0d49\u0d50-\u0d53\u0d64-\u0d65\u0d80-\u0d81\u0d84\u0d97-\u0d99\u0db2\u0dbc\u0dbe-\u0dbf\u0dc7-\u0dc9\u0dcb-\u0dce\u0dd5\u0dd7\u0de0-\u0de5\u0df0-\u0df1\u0df5-\u0e00\u0e3b-\u0e3e\u0e5c-\u0e80\u0e83\u0e85-\u0e86\u0e89\u0e8b-\u0e8c\u0e8e-\u0e93\u0e98\u0ea0\u0ea4\u0ea6\u0ea8-\u0ea9\u0eac\u0eba\u0ebe-\u0ebf\u0ec5\u0ec7\u0ece-\u0ecf\u0eda-\u0edb\u0ee0-\u0eff\u0f48\u0f6d-\u0f70\u0f98\u0fbd\u0fcd\u0fdb-\u0fff\u10c6\u10c8-\u10cc\u10ce-\u10cf\u1249\u124e-\u124f\u1257\u1259\u125e-\u125f\u1289\u128e-\u128f\u12b1\u12b6-\u12b7\u12bf\u12c1\u12c6-\u12c7\u12d7\u1311\u1316-\u1317\u135b-\u135c\u137d-\u137f\u139a-\u139f\u13f6-\u13f7\u13fe-\u13ff\u169d-\u169f\u16f9-\u16ff\u170d\u1715-\u171f\u1737-\u173f\u1754-\u175f\u176d\u1771\u1774-\u177f\u17de-\u17df\u17ea-\u17ef\u17fa-\u17ff\u180f\u181a-\u181f\u1879-\u187f\u18ab-\u18af\u18f6-\u18ff\u191f\u192c-\u192f\u193c-\u193f\u1941-\u1943\u196e-\u196f\u1975-\u197f\u19ac-\u19af\u19ca-\u19cf\u19db-\u19dd\u1a1c-\u1a1d\u1a5f\u1a7d-\u1a7e\u1a8a-\u1a8f\u1a9a-\u1a9f\u1aae-\u1aaf\u1abf-\u1aff\u1b4c-\u1b4f\u1b7d-\u1b7f\u1bf4-\u1bfb\u1c38-\u1c3a\u1c4a-\u1c4c\u1c89-\u1c8f\u1cbb-\u1cbc\u1cc8-\u1ccf\u1cfa-\u1cff\u1dfa\u1f16-\u1f17\u1f1e-\u1f1f\u1f46-\u1f47\u1f4e-\u1f4f\u1f58\u1f5a\u1f5c\u1f5e\u1f7e-\u1f7f\u1fb5\u1fc5\u1fd4-\u1fd5\u1fdc\u1ff0-\u1ff1\u1ff5\u1fff\u2065\u2072-\u2073\u208f\u209d-\u209f\u20c0-\u20cf\u20f1-\u20ff\u218c-\u218f\u2427-\u243f\u244b-\u245f\u2b74-\u2b75\u2b96-\u2b97\u2bc9\u2bff\u2c2f\u2c5f\u2cf4-\u2cf8\u2d26\u2d28-\u2d2c\u2d2e-\u2d2f\u2d68-\u2d6e\u2d71-\u2d7e\u2d97-\u2d9f\u2da7\u2daf\u2db7\u2dbf\u2dc7\u2dcf\u2dd7\u2ddf\u2e4f-\u2e7f\u2e9a\u2ef4-\u2eff\u2fd6-\u2fef\u2ffc-\u2fff\u3040\u3097-\u3098\u3100-\u3104\u3130\u318f\u31bb-\u31bf\u31e4-\u31ef\u321f\u32ff\u4db6-\u4dbf\u9ff0-\u9fff\ua48d-\ua48f\ua4c7-\ua4cf\ua62c-\ua63f\ua6f8-\ua6ff\ua7ba-\ua7f6\ua82c-\ua82f\ua83a-\ua83f\ua878-\ua87f\ua8c6-\ua8cd\ua8da-\ua8df\ua954-\ua95e\ua97d-\ua97f\ua9ce\ua9da-\ua9dd\ua9ff\uaa37-\uaa3f\uaa4e-\uaa4f\uaa5a-\uaa5b\uaac3-\uaada\uaaf7-\uab00\uab07-\uab08\uab0f-\uab10\uab17-\uab1f\uab27\uab2f\uab66-\uab6f\uabee-\uabef\uabfa-\uabff\ud7a4-\ud7af\ud7c7-\ud7ca\ud7fc-\ud7ff\ufa6e-\ufa6f\ufada-\ufaff\ufb07-\ufb12\ufb18-\ufb1c\ufb37\ufb3d\ufb3f\ufb42\ufb45\ufbc2-\ufbd2\ufd40-\ufd4f\ufd90-\ufd91\ufdc8-\ufdef\ufdfe-\ufdff\ufe1a-\ufe1f\ufe53\ufe67\ufe6c-\ufe6f\ufe75\ufefd-\ufefe\uff00\uffbf-\uffc1\uffc8-\uffc9\uffd0-\uffd1\uffd8-\uffd9\uffdd-\uffdf\uffe7\uffef-\ufff8\ufffe-\uffff\U0001000c\U00010027\U0001003b\U0001003e\U0001004e-\U0001004f\U0001005e-\U0001007f\U000100fb-\U000100ff\U00010103-\U00010106\U00010134-\U00010136\U0001018f\U0001019c-\U0001019f\U000101a1-\U000101cf\U000101fe-\U0001027f\U0001029d-\U0001029f\U000102d1-\U000102df\U000102fc-\U000102ff\U00010324-\U0001032c\U0001034b-\U0001034f\U0001037b-\U0001037f\U0001039e\U000103c4-\U000103c7\U000103d6-\U000103ff\U0001049e-\U0001049f\U000104aa-\U000104af\U000104d4-\U000104d7\U000104fc-\U000104ff\U00010528-\U0001052f\U00010564-\U0001056e\U00010570-\U000105ff\U00010737-\U0001073f\U00010756-\U0001075f\U00010768-\U000107ff\U00010806-\U00010807\U00010809\U00010836\U00010839-\U0001083b\U0001083d-\U0001083e\U00010856\U0001089f-\U000108a6\U000108b0-\U000108df\U000108f3\U000108f6-\U000108fa\U0001091c-\U0001091e\U0001093a-\U0001093e\U00010940-\U0001097f\U000109b8-\U000109bb\U000109d0-\U000109d1\U00010a04\U00010a07-\U00010a0b\U00010a14\U00010a18\U00010a36-\U00010a37\U00010a3b-\U00010a3e\U00010a49-\U00010a4f\U00010a59-\U00010a5f\U00010aa0-\U00010abf\U00010ae7-\U00010aea\U00010af7-\U00010aff\U00010b36-\U00010b38\U00010b56-\U00010b57\U00010b73-\U00010b77\U00010b92-\U00010b98\U00010b9d-\U00010ba8\U00010bb0-\U00010bff\U00010c49-\U00010c7f\U00010cb3-\U00010cbf\U00010cf3-\U00010cf9\U00010d28-\U00010d2f\U00010d3a-\U00010e5f\U00010e7f-\U00010eff\U00010f28-\U00010f2f\U00010f5a-\U00010fff\U0001104e-\U00011051\U00011070-\U0001107e\U000110c2-\U000110cc\U000110ce-\U000110cf\U000110e9-\U000110ef\U000110fa-\U000110ff\U00011135\U00011147-\U0001114f\U00011177-\U0001117f\U000111ce-\U000111cf\U000111e0\U000111f5-\U000111ff\U00011212\U0001123f-\U0001127f\U00011287\U00011289\U0001128e\U0001129e\U000112aa-\U000112af\U000112eb-\U000112ef\U000112fa-\U000112ff\U00011304\U0001130d-\U0001130e\U00011311-\U00011312\U00011329\U00011331\U00011334\U0001133a\U00011345-\U00011346\U00011349-\U0001134a\U0001134e-\U0001134f\U00011351-\U00011356\U00011358-\U0001135c\U00011364-\U00011365\U0001136d-\U0001136f\U00011375-\U000113ff\U0001145a\U0001145c\U0001145f-\U0001147f\U000114c8-\U000114cf\U000114da-\U0001157f\U000115b6-\U000115b7\U000115de-\U000115ff\U00011645-\U0001164f\U0001165a-\U0001165f\U0001166d-\U0001167f\U000116b8-\U000116bf\U000116ca-\U000116ff\U0001171b-\U0001171c\U0001172c-\U0001172f\U00011740-\U000117ff\U0001183c-\U0001189f\U000118f3-\U000118fe\U00011900-\U000119ff\U00011a48-\U00011a4f\U00011a84-\U00011a85\U00011aa3-\U00011abf\U00011af9-\U00011bff\U00011c09\U00011c37\U00011c46-\U00011c4f\U00011c6d-\U00011c6f\U00011c90-\U00011c91\U00011ca8\U00011cb7-\U00011cff\U00011d07\U00011d0a\U00011d37-\U00011d39\U00011d3b\U00011d3e\U00011d48-\U00011d4f\U00011d5a-\U00011d5f\U00011d66\U00011d69\U00011d8f\U00011d92\U00011d99-\U00011d9f\U00011daa-\U00011edf\U00011ef9-\U00011fff\U0001239a-\U000123ff\U0001246f\U00012475-\U0001247f\U00012544-\U00012fff\U0001342f-\U000143ff\U00014647-\U000167ff\U00016a39-\U00016a3f\U00016a5f\U00016a6a-\U00016a6d\U00016a70-\U00016acf\U00016aee-\U00016aef\U00016af6-\U00016aff\U00016b46-\U00016b4f\U00016b5a\U00016b62\U00016b78-\U00016b7c\U00016b90-\U00016e3f\U00016e9b-\U00016eff\U00016f45-\U00016f4f\U00016f7f-\U00016f8e\U00016fa0-\U00016fdf\U00016fe2-\U00016fff\U000187f2-\U000187ff\U00018af3-\U0001afff\U0001b11f-\U0001b16f\U0001b2fc-\U0001bbff\U0001bc6b-\U0001bc6f\U0001bc7d-\U0001bc7f\U0001bc89-\U0001bc8f\U0001bc9a-\U0001bc9b\U0001bca4-\U0001cfff\U0001d0f6-\U0001d0ff\U0001d127-\U0001d128\U0001d1e9-\U0001d1ff\U0001d246-\U0001d2df\U0001d2f4-\U0001d2ff\U0001d357-\U0001d35f\U0001d379-\U0001d3ff\U0001d455\U0001d49d\U0001d4a0-\U0001d4a1\U0001d4a3-\U0001d4a4\U0001d4a7-\U0001d4a8\U0001d4ad\U0001d4ba\U0001d4bc\U0001d4c4\U0001d506\U0001d50b-\U0001d50c\U0001d515\U0001d51d\U0001d53a\U0001d53f\U0001d545\U0001d547-\U0001d549\U0001d551\U0001d6a6-\U0001d6a7\U0001d7cc-\U0001d7cd\U0001da8c-\U0001da9a\U0001daa0\U0001dab0-\U0001dfff\U0001e007\U0001e019-\U0001e01a\U0001e022\U0001e025\U0001e02b-\U0001e7ff\U0001e8c5-\U0001e8c6\U0001e8d7-\U0001e8ff\U0001e94b-\U0001e94f\U0001e95a-\U0001e95d\U0001e960-\U0001ec70\U0001ecb5-\U0001edff\U0001ee04\U0001ee20\U0001ee23\U0001ee25-\U0001ee26\U0001ee28\U0001ee33\U0001ee38\U0001ee3a\U0001ee3c-\U0001ee41\U0001ee43-\U0001ee46\U0001ee48\U0001ee4a\U0001ee4c\U0001ee50\U0001ee53\U0001ee55-\U0001ee56\U0001ee58\U0001ee5a\U0001ee5c\U0001ee5e\U0001ee60\U0001ee63\U0001ee65-\U0001ee66\U0001ee6b\U0001ee73\U0001ee78\U0001ee7d\U0001ee7f\U0001ee8a\U0001ee9c-\U0001eea0\U0001eea4\U0001eeaa\U0001eebc-\U0001eeef\U0001eef2-\U0001efff\U0001f02c-\U0001f02f\U0001f094-\U0001f09f\U0001f0af-\U0001f0b0\U0001f0c0\U0001f0d0\U0001f0f6-\U0001f0ff\U0001f10d-\U0001f10f\U0001f16c-\U0001f16f\U0001f1ad-\U0001f1e5\U0001f203-\U0001f20f\U0001f23c-\U0001f23f\U0001f249-\U0001f24f\U0001f252-\U0001f25f\U0001f266-\U0001f2ff\U0001f6d5-\U0001f6df\U0001f6ed-\U0001f6ef\U0001f6fa-\U0001f6ff\U0001f774-\U0001f77f\U0001f7d9-\U0001f7ff\U0001f80c-\U0001f80f\U0001f848-\U0001f84f\U0001f85a-\U0001f85f\U0001f888-\U0001f88f\U0001f8ae-\U0001f8ff\U0001f90c-\U0001f90f\U0001f93f\U0001f971-\U0001f972\U0001f977-\U0001f979\U0001f97b\U0001f9a3-\U0001f9af\U0001f9ba-\U0001f9bf\U0001f9c3-\U0001f9cf\U0001fa00-\U0001fa5f\U0001fa6e-\U0001ffff\U0002a6d7-\U0002a6ff\U0002b735-\U0002b73f\U0002b81e-\U0002b81f\U0002cea2-\U0002ceaf\U0002ebe1-\U0002f7ff\U0002fa1e-\U000e0000\U000e0002-\U000e001f\U000e0080-\U000e00ff\U000e01f0-\U000effff\U000ffffe-\U000fffff\U0010fffe-\U0010ffff' + +Co = '\ue000-\uf8ff\U000f0000-\U000ffffd\U00100000-\U0010fffd' + +Cs = '\ud800-\udbff\\\udc00\udc01-\udfff' + +Ll = 'a-z\xb5\xdf-\xf6\xf8-\xff\u0101\u0103\u0105\u0107\u0109\u010b\u010d\u010f\u0111\u0113\u0115\u0117\u0119\u011b\u011d\u011f\u0121\u0123\u0125\u0127\u0129\u012b\u012d\u012f\u0131\u0133\u0135\u0137-\u0138\u013a\u013c\u013e\u0140\u0142\u0144\u0146\u0148-\u0149\u014b\u014d\u014f\u0151\u0153\u0155\u0157\u0159\u015b\u015d\u015f\u0161\u0163\u0165\u0167\u0169\u016b\u016d\u016f\u0171\u0173\u0175\u0177\u017a\u017c\u017e-\u0180\u0183\u0185\u0188\u018c-\u018d\u0192\u0195\u0199-\u019b\u019e\u01a1\u01a3\u01a5\u01a8\u01aa-\u01ab\u01ad\u01b0\u01b4\u01b6\u01b9-\u01ba\u01bd-\u01bf\u01c6\u01c9\u01cc\u01ce\u01d0\u01d2\u01d4\u01d6\u01d8\u01da\u01dc-\u01dd\u01df\u01e1\u01e3\u01e5\u01e7\u01e9\u01eb\u01ed\u01ef-\u01f0\u01f3\u01f5\u01f9\u01fb\u01fd\u01ff\u0201\u0203\u0205\u0207\u0209\u020b\u020d\u020f\u0211\u0213\u0215\u0217\u0219\u021b\u021d\u021f\u0221\u0223\u0225\u0227\u0229\u022b\u022d\u022f\u0231\u0233-\u0239\u023c\u023f-\u0240\u0242\u0247\u0249\u024b\u024d\u024f-\u0293\u0295-\u02af\u0371\u0373\u0377\u037b-\u037d\u0390\u03ac-\u03ce\u03d0-\u03d1\u03d5-\u03d7\u03d9\u03db\u03dd\u03df\u03e1\u03e3\u03e5\u03e7\u03e9\u03eb\u03ed\u03ef-\u03f3\u03f5\u03f8\u03fb-\u03fc\u0430-\u045f\u0461\u0463\u0465\u0467\u0469\u046b\u046d\u046f\u0471\u0473\u0475\u0477\u0479\u047b\u047d\u047f\u0481\u048b\u048d\u048f\u0491\u0493\u0495\u0497\u0499\u049b\u049d\u049f\u04a1\u04a3\u04a5\u04a7\u04a9\u04ab\u04ad\u04af\u04b1\u04b3\u04b5\u04b7\u04b9\u04bb\u04bd\u04bf\u04c2\u04c4\u04c6\u04c8\u04ca\u04cc\u04ce-\u04cf\u04d1\u04d3\u04d5\u04d7\u04d9\u04db\u04dd\u04df\u04e1\u04e3\u04e5\u04e7\u04e9\u04eb\u04ed\u04ef\u04f1\u04f3\u04f5\u04f7\u04f9\u04fb\u04fd\u04ff\u0501\u0503\u0505\u0507\u0509\u050b\u050d\u050f\u0511\u0513\u0515\u0517\u0519\u051b\u051d\u051f\u0521\u0523\u0525\u0527\u0529\u052b\u052d\u052f\u0560-\u0588\u10d0-\u10fa\u10fd-\u10ff\u13f8-\u13fd\u1c80-\u1c88\u1d00-\u1d2b\u1d6b-\u1d77\u1d79-\u1d9a\u1e01\u1e03\u1e05\u1e07\u1e09\u1e0b\u1e0d\u1e0f\u1e11\u1e13\u1e15\u1e17\u1e19\u1e1b\u1e1d\u1e1f\u1e21\u1e23\u1e25\u1e27\u1e29\u1e2b\u1e2d\u1e2f\u1e31\u1e33\u1e35\u1e37\u1e39\u1e3b\u1e3d\u1e3f\u1e41\u1e43\u1e45\u1e47\u1e49\u1e4b\u1e4d\u1e4f\u1e51\u1e53\u1e55\u1e57\u1e59\u1e5b\u1e5d\u1e5f\u1e61\u1e63\u1e65\u1e67\u1e69\u1e6b\u1e6d\u1e6f\u1e71\u1e73\u1e75\u1e77\u1e79\u1e7b\u1e7d\u1e7f\u1e81\u1e83\u1e85\u1e87\u1e89\u1e8b\u1e8d\u1e8f\u1e91\u1e93\u1e95-\u1e9d\u1e9f\u1ea1\u1ea3\u1ea5\u1ea7\u1ea9\u1eab\u1ead\u1eaf\u1eb1\u1eb3\u1eb5\u1eb7\u1eb9\u1ebb\u1ebd\u1ebf\u1ec1\u1ec3\u1ec5\u1ec7\u1ec9\u1ecb\u1ecd\u1ecf\u1ed1\u1ed3\u1ed5\u1ed7\u1ed9\u1edb\u1edd\u1edf\u1ee1\u1ee3\u1ee5\u1ee7\u1ee9\u1eeb\u1eed\u1eef\u1ef1\u1ef3\u1ef5\u1ef7\u1ef9\u1efb\u1efd\u1eff-\u1f07\u1f10-\u1f15\u1f20-\u1f27\u1f30-\u1f37\u1f40-\u1f45\u1f50-\u1f57\u1f60-\u1f67\u1f70-\u1f7d\u1f80-\u1f87\u1f90-\u1f97\u1fa0-\u1fa7\u1fb0-\u1fb4\u1fb6-\u1fb7\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fc7\u1fd0-\u1fd3\u1fd6-\u1fd7\u1fe0-\u1fe7\u1ff2-\u1ff4\u1ff6-\u1ff7\u210a\u210e-\u210f\u2113\u212f\u2134\u2139\u213c-\u213d\u2146-\u2149\u214e\u2184\u2c30-\u2c5e\u2c61\u2c65-\u2c66\u2c68\u2c6a\u2c6c\u2c71\u2c73-\u2c74\u2c76-\u2c7b\u2c81\u2c83\u2c85\u2c87\u2c89\u2c8b\u2c8d\u2c8f\u2c91\u2c93\u2c95\u2c97\u2c99\u2c9b\u2c9d\u2c9f\u2ca1\u2ca3\u2ca5\u2ca7\u2ca9\u2cab\u2cad\u2caf\u2cb1\u2cb3\u2cb5\u2cb7\u2cb9\u2cbb\u2cbd\u2cbf\u2cc1\u2cc3\u2cc5\u2cc7\u2cc9\u2ccb\u2ccd\u2ccf\u2cd1\u2cd3\u2cd5\u2cd7\u2cd9\u2cdb\u2cdd\u2cdf\u2ce1\u2ce3-\u2ce4\u2cec\u2cee\u2cf3\u2d00-\u2d25\u2d27\u2d2d\ua641\ua643\ua645\ua647\ua649\ua64b\ua64d\ua64f\ua651\ua653\ua655\ua657\ua659\ua65b\ua65d\ua65f\ua661\ua663\ua665\ua667\ua669\ua66b\ua66d\ua681\ua683\ua685\ua687\ua689\ua68b\ua68d\ua68f\ua691\ua693\ua695\ua697\ua699\ua69b\ua723\ua725\ua727\ua729\ua72b\ua72d\ua72f-\ua731\ua733\ua735\ua737\ua739\ua73b\ua73d\ua73f\ua741\ua743\ua745\ua747\ua749\ua74b\ua74d\ua74f\ua751\ua753\ua755\ua757\ua759\ua75b\ua75d\ua75f\ua761\ua763\ua765\ua767\ua769\ua76b\ua76d\ua76f\ua771-\ua778\ua77a\ua77c\ua77f\ua781\ua783\ua785\ua787\ua78c\ua78e\ua791\ua793-\ua795\ua797\ua799\ua79b\ua79d\ua79f\ua7a1\ua7a3\ua7a5\ua7a7\ua7a9\ua7af\ua7b5\ua7b7\ua7b9\ua7fa\uab30-\uab5a\uab60-\uab65\uab70-\uabbf\ufb00-\ufb06\ufb13-\ufb17\uff41-\uff5a\U00010428-\U0001044f\U000104d8-\U000104fb\U00010cc0-\U00010cf2\U000118c0-\U000118df\U00016e60-\U00016e7f\U0001d41a-\U0001d433\U0001d44e-\U0001d454\U0001d456-\U0001d467\U0001d482-\U0001d49b\U0001d4b6-\U0001d4b9\U0001d4bb\U0001d4bd-\U0001d4c3\U0001d4c5-\U0001d4cf\U0001d4ea-\U0001d503\U0001d51e-\U0001d537\U0001d552-\U0001d56b\U0001d586-\U0001d59f\U0001d5ba-\U0001d5d3\U0001d5ee-\U0001d607\U0001d622-\U0001d63b\U0001d656-\U0001d66f\U0001d68a-\U0001d6a5\U0001d6c2-\U0001d6da\U0001d6dc-\U0001d6e1\U0001d6fc-\U0001d714\U0001d716-\U0001d71b\U0001d736-\U0001d74e\U0001d750-\U0001d755\U0001d770-\U0001d788\U0001d78a-\U0001d78f\U0001d7aa-\U0001d7c2\U0001d7c4-\U0001d7c9\U0001d7cb\U0001e922-\U0001e943' + +Lm = '\u02b0-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0374\u037a\u0559\u0640\u06e5-\u06e6\u07f4-\u07f5\u07fa\u081a\u0824\u0828\u0971\u0e46\u0ec6\u10fc\u17d7\u1843\u1aa7\u1c78-\u1c7d\u1d2c-\u1d6a\u1d78\u1d9b-\u1dbf\u2071\u207f\u2090-\u209c\u2c7c-\u2c7d\u2d6f\u2e2f\u3005\u3031-\u3035\u303b\u309d-\u309e\u30fc-\u30fe\ua015\ua4f8-\ua4fd\ua60c\ua67f\ua69c-\ua69d\ua717-\ua71f\ua770\ua788\ua7f8-\ua7f9\ua9cf\ua9e6\uaa70\uaadd\uaaf3-\uaaf4\uab5c-\uab5f\uff70\uff9e-\uff9f\U00016b40-\U00016b43\U00016f93-\U00016f9f\U00016fe0-\U00016fe1' + +Lo = '\xaa\xba\u01bb\u01c0-\u01c3\u0294\u05d0-\u05ea\u05ef-\u05f2\u0620-\u063f\u0641-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u0800-\u0815\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e45\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u1100-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16f1-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17dc\u1820-\u1842\u1844-\u1878\u1880-\u1884\u1887-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c77\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5-\u1cf6\u2135-\u2138\u2d30-\u2d67\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3006\u303c\u3041-\u3096\u309f\u30a1-\u30fa\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua014\ua016-\ua48c\ua4d0-\ua4f7\ua500-\ua60b\ua610-\ua61f\ua62a-\ua62b\ua66e\ua6a0-\ua6e5\ua78f\ua7f7\ua7fb-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9e0-\ua9e4\ua9e7-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa6f\uaa71-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadc\uaae0-\uaaea\uaaf2\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff66-\uff6f\uff71-\uff9d\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\U00010000-\U0001000b\U0001000d-\U00010026\U00010028-\U0001003a\U0001003c-\U0001003d\U0001003f-\U0001004d\U00010050-\U0001005d\U00010080-\U000100fa\U00010280-\U0001029c\U000102a0-\U000102d0\U00010300-\U0001031f\U0001032d-\U00010340\U00010342-\U00010349\U00010350-\U00010375\U00010380-\U0001039d\U000103a0-\U000103c3\U000103c8-\U000103cf\U00010450-\U0001049d\U00010500-\U00010527\U00010530-\U00010563\U00010600-\U00010736\U00010740-\U00010755\U00010760-\U00010767\U00010800-\U00010805\U00010808\U0001080a-\U00010835\U00010837-\U00010838\U0001083c\U0001083f-\U00010855\U00010860-\U00010876\U00010880-\U0001089e\U000108e0-\U000108f2\U000108f4-\U000108f5\U00010900-\U00010915\U00010920-\U00010939\U00010980-\U000109b7\U000109be-\U000109bf\U00010a00\U00010a10-\U00010a13\U00010a15-\U00010a17\U00010a19-\U00010a35\U00010a60-\U00010a7c\U00010a80-\U00010a9c\U00010ac0-\U00010ac7\U00010ac9-\U00010ae4\U00010b00-\U00010b35\U00010b40-\U00010b55\U00010b60-\U00010b72\U00010b80-\U00010b91\U00010c00-\U00010c48\U00010d00-\U00010d23\U00010f00-\U00010f1c\U00010f27\U00010f30-\U00010f45\U00011003-\U00011037\U00011083-\U000110af\U000110d0-\U000110e8\U00011103-\U00011126\U00011144\U00011150-\U00011172\U00011176\U00011183-\U000111b2\U000111c1-\U000111c4\U000111da\U000111dc\U00011200-\U00011211\U00011213-\U0001122b\U00011280-\U00011286\U00011288\U0001128a-\U0001128d\U0001128f-\U0001129d\U0001129f-\U000112a8\U000112b0-\U000112de\U00011305-\U0001130c\U0001130f-\U00011310\U00011313-\U00011328\U0001132a-\U00011330\U00011332-\U00011333\U00011335-\U00011339\U0001133d\U00011350\U0001135d-\U00011361\U00011400-\U00011434\U00011447-\U0001144a\U00011480-\U000114af\U000114c4-\U000114c5\U000114c7\U00011580-\U000115ae\U000115d8-\U000115db\U00011600-\U0001162f\U00011644\U00011680-\U000116aa\U00011700-\U0001171a\U00011800-\U0001182b\U000118ff\U00011a00\U00011a0b-\U00011a32\U00011a3a\U00011a50\U00011a5c-\U00011a83\U00011a86-\U00011a89\U00011a9d\U00011ac0-\U00011af8\U00011c00-\U00011c08\U00011c0a-\U00011c2e\U00011c40\U00011c72-\U00011c8f\U00011d00-\U00011d06\U00011d08-\U00011d09\U00011d0b-\U00011d30\U00011d46\U00011d60-\U00011d65\U00011d67-\U00011d68\U00011d6a-\U00011d89\U00011d98\U00011ee0-\U00011ef2\U00012000-\U00012399\U00012480-\U00012543\U00013000-\U0001342e\U00014400-\U00014646\U00016800-\U00016a38\U00016a40-\U00016a5e\U00016ad0-\U00016aed\U00016b00-\U00016b2f\U00016b63-\U00016b77\U00016b7d-\U00016b8f\U00016f00-\U00016f44\U00016f50\U00017000-\U000187f1\U00018800-\U00018af2\U0001b000-\U0001b11e\U0001b170-\U0001b2fb\U0001bc00-\U0001bc6a\U0001bc70-\U0001bc7c\U0001bc80-\U0001bc88\U0001bc90-\U0001bc99\U0001e800-\U0001e8c4\U0001ee00-\U0001ee03\U0001ee05-\U0001ee1f\U0001ee21-\U0001ee22\U0001ee24\U0001ee27\U0001ee29-\U0001ee32\U0001ee34-\U0001ee37\U0001ee39\U0001ee3b\U0001ee42\U0001ee47\U0001ee49\U0001ee4b\U0001ee4d-\U0001ee4f\U0001ee51-\U0001ee52\U0001ee54\U0001ee57\U0001ee59\U0001ee5b\U0001ee5d\U0001ee5f\U0001ee61-\U0001ee62\U0001ee64\U0001ee67-\U0001ee6a\U0001ee6c-\U0001ee72\U0001ee74-\U0001ee77\U0001ee79-\U0001ee7c\U0001ee7e\U0001ee80-\U0001ee89\U0001ee8b-\U0001ee9b\U0001eea1-\U0001eea3\U0001eea5-\U0001eea9\U0001eeab-\U0001eebb\U00020000-\U0002a6d6\U0002a700-\U0002b734\U0002b740-\U0002b81d\U0002b820-\U0002cea1\U0002ceb0-\U0002ebe0\U0002f800-\U0002fa1d' + +Lt = '\u01c5\u01c8\u01cb\u01f2\u1f88-\u1f8f\u1f98-\u1f9f\u1fa8-\u1faf\u1fbc\u1fcc\u1ffc' + +Lu = 'A-Z\xc0-\xd6\xd8-\xde\u0100\u0102\u0104\u0106\u0108\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130\u0132\u0134\u0136\u0139\u013b\u013d\u013f\u0141\u0143\u0145\u0147\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e\u0170\u0172\u0174\u0176\u0178-\u0179\u017b\u017d\u0181-\u0182\u0184\u0186-\u0187\u0189-\u018b\u018e-\u0191\u0193-\u0194\u0196-\u0198\u019c-\u019d\u019f-\u01a0\u01a2\u01a4\u01a6-\u01a7\u01a9\u01ac\u01ae-\u01af\u01b1-\u01b3\u01b5\u01b7-\u01b8\u01bc\u01c4\u01c7\u01ca\u01cd\u01cf\u01d1\u01d3\u01d5\u01d7\u01d9\u01db\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec\u01ee\u01f1\u01f4\u01f6-\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218\u021a\u021c\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c\u022e\u0230\u0232\u023a-\u023b\u023d-\u023e\u0241\u0243-\u0246\u0248\u024a\u024c\u024e\u0370\u0372\u0376\u037f\u0386\u0388-\u038a\u038c\u038e-\u038f\u0391-\u03a1\u03a3-\u03ab\u03cf\u03d2-\u03d4\u03d8\u03da\u03dc\u03de\u03e0\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7\u03f9-\u03fa\u03fd-\u042f\u0460\u0462\u0464\u0466\u0468\u046a\u046c\u046e\u0470\u0472\u0474\u0476\u0478\u047a\u047c\u047e\u0480\u048a\u048c\u048e\u0490\u0492\u0494\u0496\u0498\u049a\u049c\u049e\u04a0\u04a2\u04a4\u04a6\u04a8\u04aa\u04ac\u04ae\u04b0\u04b2\u04b4\u04b6\u04b8\u04ba\u04bc\u04be\u04c0-\u04c1\u04c3\u04c5\u04c7\u04c9\u04cb\u04cd\u04d0\u04d2\u04d4\u04d6\u04d8\u04da\u04dc\u04de\u04e0\u04e2\u04e4\u04e6\u04e8\u04ea\u04ec\u04ee\u04f0\u04f2\u04f4\u04f6\u04f8\u04fa\u04fc\u04fe\u0500\u0502\u0504\u0506\u0508\u050a\u050c\u050e\u0510\u0512\u0514\u0516\u0518\u051a\u051c\u051e\u0520\u0522\u0524\u0526\u0528\u052a\u052c\u052e\u0531-\u0556\u10a0-\u10c5\u10c7\u10cd\u13a0-\u13f5\u1c90-\u1cba\u1cbd-\u1cbf\u1e00\u1e02\u1e04\u1e06\u1e08\u1e0a\u1e0c\u1e0e\u1e10\u1e12\u1e14\u1e16\u1e18\u1e1a\u1e1c\u1e1e\u1e20\u1e22\u1e24\u1e26\u1e28\u1e2a\u1e2c\u1e2e\u1e30\u1e32\u1e34\u1e36\u1e38\u1e3a\u1e3c\u1e3e\u1e40\u1e42\u1e44\u1e46\u1e48\u1e4a\u1e4c\u1e4e\u1e50\u1e52\u1e54\u1e56\u1e58\u1e5a\u1e5c\u1e5e\u1e60\u1e62\u1e64\u1e66\u1e68\u1e6a\u1e6c\u1e6e\u1e70\u1e72\u1e74\u1e76\u1e78\u1e7a\u1e7c\u1e7e\u1e80\u1e82\u1e84\u1e86\u1e88\u1e8a\u1e8c\u1e8e\u1e90\u1e92\u1e94\u1e9e\u1ea0\u1ea2\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6\u1eb8\u1eba\u1ebc\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ec8\u1eca\u1ecc\u1ece\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1eda\u1edc\u1ede\u1ee0\u1ee2\u1ee4\u1ee6\u1ee8\u1eea\u1eec\u1eee\u1ef0\u1ef2\u1ef4\u1ef6\u1ef8\u1efa\u1efc\u1efe\u1f08-\u1f0f\u1f18-\u1f1d\u1f28-\u1f2f\u1f38-\u1f3f\u1f48-\u1f4d\u1f59\u1f5b\u1f5d\u1f5f\u1f68-\u1f6f\u1fb8-\u1fbb\u1fc8-\u1fcb\u1fd8-\u1fdb\u1fe8-\u1fec\u1ff8-\u1ffb\u2102\u2107\u210b-\u210d\u2110-\u2112\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u2130-\u2133\u213e-\u213f\u2145\u2183\u2c00-\u2c2e\u2c60\u2c62-\u2c64\u2c67\u2c69\u2c6b\u2c6d-\u2c70\u2c72\u2c75\u2c7e-\u2c80\u2c82\u2c84\u2c86\u2c88\u2c8a\u2c8c\u2c8e\u2c90\u2c92\u2c94\u2c96\u2c98\u2c9a\u2c9c\u2c9e\u2ca0\u2ca2\u2ca4\u2ca6\u2ca8\u2caa\u2cac\u2cae\u2cb0\u2cb2\u2cb4\u2cb6\u2cb8\u2cba\u2cbc\u2cbe\u2cc0\u2cc2\u2cc4\u2cc6\u2cc8\u2cca\u2ccc\u2cce\u2cd0\u2cd2\u2cd4\u2cd6\u2cd8\u2cda\u2cdc\u2cde\u2ce0\u2ce2\u2ceb\u2ced\u2cf2\ua640\ua642\ua644\ua646\ua648\ua64a\ua64c\ua64e\ua650\ua652\ua654\ua656\ua658\ua65a\ua65c\ua65e\ua660\ua662\ua664\ua666\ua668\ua66a\ua66c\ua680\ua682\ua684\ua686\ua688\ua68a\ua68c\ua68e\ua690\ua692\ua694\ua696\ua698\ua69a\ua722\ua724\ua726\ua728\ua72a\ua72c\ua72e\ua732\ua734\ua736\ua738\ua73a\ua73c\ua73e\ua740\ua742\ua744\ua746\ua748\ua74a\ua74c\ua74e\ua750\ua752\ua754\ua756\ua758\ua75a\ua75c\ua75e\ua760\ua762\ua764\ua766\ua768\ua76a\ua76c\ua76e\ua779\ua77b\ua77d-\ua77e\ua780\ua782\ua784\ua786\ua78b\ua78d\ua790\ua792\ua796\ua798\ua79a\ua79c\ua79e\ua7a0\ua7a2\ua7a4\ua7a6\ua7a8\ua7aa-\ua7ae\ua7b0-\ua7b4\ua7b6\ua7b8\uff21-\uff3a\U00010400-\U00010427\U000104b0-\U000104d3\U00010c80-\U00010cb2\U000118a0-\U000118bf\U00016e40-\U00016e5f\U0001d400-\U0001d419\U0001d434-\U0001d44d\U0001d468-\U0001d481\U0001d49c\U0001d49e-\U0001d49f\U0001d4a2\U0001d4a5-\U0001d4a6\U0001d4a9-\U0001d4ac\U0001d4ae-\U0001d4b5\U0001d4d0-\U0001d4e9\U0001d504-\U0001d505\U0001d507-\U0001d50a\U0001d50d-\U0001d514\U0001d516-\U0001d51c\U0001d538-\U0001d539\U0001d53b-\U0001d53e\U0001d540-\U0001d544\U0001d546\U0001d54a-\U0001d550\U0001d56c-\U0001d585\U0001d5a0-\U0001d5b9\U0001d5d4-\U0001d5ed\U0001d608-\U0001d621\U0001d63c-\U0001d655\U0001d670-\U0001d689\U0001d6a8-\U0001d6c0\U0001d6e2-\U0001d6fa\U0001d71c-\U0001d734\U0001d756-\U0001d76e\U0001d790-\U0001d7a8\U0001d7ca\U0001e900-\U0001e921' + +Mc = '\u0903\u093b\u093e-\u0940\u0949-\u094c\u094e-\u094f\u0982-\u0983\u09be-\u09c0\u09c7-\u09c8\u09cb-\u09cc\u09d7\u0a03\u0a3e-\u0a40\u0a83\u0abe-\u0ac0\u0ac9\u0acb-\u0acc\u0b02-\u0b03\u0b3e\u0b40\u0b47-\u0b48\u0b4b-\u0b4c\u0b57\u0bbe-\u0bbf\u0bc1-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd7\u0c01-\u0c03\u0c41-\u0c44\u0c82-\u0c83\u0cbe\u0cc0-\u0cc4\u0cc7-\u0cc8\u0cca-\u0ccb\u0cd5-\u0cd6\u0d02-\u0d03\u0d3e-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d57\u0d82-\u0d83\u0dcf-\u0dd1\u0dd8-\u0ddf\u0df2-\u0df3\u0f3e-\u0f3f\u0f7f\u102b-\u102c\u1031\u1038\u103b-\u103c\u1056-\u1057\u1062-\u1064\u1067-\u106d\u1083-\u1084\u1087-\u108c\u108f\u109a-\u109c\u17b6\u17be-\u17c5\u17c7-\u17c8\u1923-\u1926\u1929-\u192b\u1930-\u1931\u1933-\u1938\u1a19-\u1a1a\u1a55\u1a57\u1a61\u1a63-\u1a64\u1a6d-\u1a72\u1b04\u1b35\u1b3b\u1b3d-\u1b41\u1b43-\u1b44\u1b82\u1ba1\u1ba6-\u1ba7\u1baa\u1be7\u1bea-\u1bec\u1bee\u1bf2-\u1bf3\u1c24-\u1c2b\u1c34-\u1c35\u1ce1\u1cf2-\u1cf3\u1cf7\u302e-\u302f\ua823-\ua824\ua827\ua880-\ua881\ua8b4-\ua8c3\ua952-\ua953\ua983\ua9b4-\ua9b5\ua9ba-\ua9bb\ua9bd-\ua9c0\uaa2f-\uaa30\uaa33-\uaa34\uaa4d\uaa7b\uaa7d\uaaeb\uaaee-\uaaef\uaaf5\uabe3-\uabe4\uabe6-\uabe7\uabe9-\uabea\uabec\U00011000\U00011002\U00011082\U000110b0-\U000110b2\U000110b7-\U000110b8\U0001112c\U00011145-\U00011146\U00011182\U000111b3-\U000111b5\U000111bf-\U000111c0\U0001122c-\U0001122e\U00011232-\U00011233\U00011235\U000112e0-\U000112e2\U00011302-\U00011303\U0001133e-\U0001133f\U00011341-\U00011344\U00011347-\U00011348\U0001134b-\U0001134d\U00011357\U00011362-\U00011363\U00011435-\U00011437\U00011440-\U00011441\U00011445\U000114b0-\U000114b2\U000114b9\U000114bb-\U000114be\U000114c1\U000115af-\U000115b1\U000115b8-\U000115bb\U000115be\U00011630-\U00011632\U0001163b-\U0001163c\U0001163e\U000116ac\U000116ae-\U000116af\U000116b6\U00011720-\U00011721\U00011726\U0001182c-\U0001182e\U00011838\U00011a39\U00011a57-\U00011a58\U00011a97\U00011c2f\U00011c3e\U00011ca9\U00011cb1\U00011cb4\U00011d8a-\U00011d8e\U00011d93-\U00011d94\U00011d96\U00011ef5-\U00011ef6\U00016f51-\U00016f7e\U0001d165-\U0001d166\U0001d16d-\U0001d172' + +Me = '\u0488-\u0489\u1abe\u20dd-\u20e0\u20e2-\u20e4\ua670-\ua672' + +Mn = '\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7-\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0902\u093a\u093c\u0941-\u0948\u094d\u0951-\u0957\u0962-\u0963\u0981\u09bc\u09c1-\u09c4\u09cd\u09e2-\u09e3\u09fe\u0a01-\u0a02\u0a3c\u0a41-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a70-\u0a71\u0a75\u0a81-\u0a82\u0abc\u0ac1-\u0ac5\u0ac7-\u0ac8\u0acd\u0ae2-\u0ae3\u0afa-\u0aff\u0b01\u0b3c\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b62-\u0b63\u0b82\u0bc0\u0bcd\u0c00\u0c04\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c62-\u0c63\u0c81\u0cbc\u0cbf\u0cc6\u0ccc-\u0ccd\u0ce2-\u0ce3\u0d00-\u0d01\u0d3b-\u0d3c\u0d41-\u0d44\u0d4d\u0d62-\u0d63\u0dca\u0dd2-\u0dd4\u0dd6\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb-\u0ebc\u0ec8-\u0ecd\u0f18-\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039-\u103a\u103d-\u103e\u1058-\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108d\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17b4-\u17b5\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u1885-\u1886\u18a9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193b\u1a17-\u1a18\u1a1b\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1ab0-\u1abd\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80-\u1b81\u1ba2-\u1ba5\u1ba8-\u1ba9\u1bab-\u1bad\u1be6\u1be8-\u1be9\u1bed\u1bef-\u1bf1\u1c2c-\u1c33\u1c36-\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1cf4\u1cf8-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302d\u3099-\u309a\ua66f\ua674-\ua67d\ua69e-\ua69f\ua6f0-\ua6f1\ua802\ua806\ua80b\ua825-\ua826\ua8c4-\ua8c5\ua8e0-\ua8f1\ua8ff\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\ua9e5\uaa29-\uaa2e\uaa31-\uaa32\uaa35-\uaa36\uaa43\uaa4c\uaa7c\uaab0\uaab2-\uaab4\uaab7-\uaab8\uaabe-\uaabf\uaac1\uaaec-\uaaed\uaaf6\uabe5\uabe8\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\U000101fd\U000102e0\U00010376-\U0001037a\U00010a01-\U00010a03\U00010a05-\U00010a06\U00010a0c-\U00010a0f\U00010a38-\U00010a3a\U00010a3f\U00010ae5-\U00010ae6\U00010d24-\U00010d27\U00010f46-\U00010f50\U00011001\U00011038-\U00011046\U0001107f-\U00011081\U000110b3-\U000110b6\U000110b9-\U000110ba\U00011100-\U00011102\U00011127-\U0001112b\U0001112d-\U00011134\U00011173\U00011180-\U00011181\U000111b6-\U000111be\U000111c9-\U000111cc\U0001122f-\U00011231\U00011234\U00011236-\U00011237\U0001123e\U000112df\U000112e3-\U000112ea\U00011300-\U00011301\U0001133b-\U0001133c\U00011340\U00011366-\U0001136c\U00011370-\U00011374\U00011438-\U0001143f\U00011442-\U00011444\U00011446\U0001145e\U000114b3-\U000114b8\U000114ba\U000114bf-\U000114c0\U000114c2-\U000114c3\U000115b2-\U000115b5\U000115bc-\U000115bd\U000115bf-\U000115c0\U000115dc-\U000115dd\U00011633-\U0001163a\U0001163d\U0001163f-\U00011640\U000116ab\U000116ad\U000116b0-\U000116b5\U000116b7\U0001171d-\U0001171f\U00011722-\U00011725\U00011727-\U0001172b\U0001182f-\U00011837\U00011839-\U0001183a\U00011a01-\U00011a0a\U00011a33-\U00011a38\U00011a3b-\U00011a3e\U00011a47\U00011a51-\U00011a56\U00011a59-\U00011a5b\U00011a8a-\U00011a96\U00011a98-\U00011a99\U00011c30-\U00011c36\U00011c38-\U00011c3d\U00011c3f\U00011c92-\U00011ca7\U00011caa-\U00011cb0\U00011cb2-\U00011cb3\U00011cb5-\U00011cb6\U00011d31-\U00011d36\U00011d3a\U00011d3c-\U00011d3d\U00011d3f-\U00011d45\U00011d47\U00011d90-\U00011d91\U00011d95\U00011d97\U00011ef3-\U00011ef4\U00016af0-\U00016af4\U00016b30-\U00016b36\U00016f8f-\U00016f92\U0001bc9d-\U0001bc9e\U0001d167-\U0001d169\U0001d17b-\U0001d182\U0001d185-\U0001d18b\U0001d1aa-\U0001d1ad\U0001d242-\U0001d244\U0001da00-\U0001da36\U0001da3b-\U0001da6c\U0001da75\U0001da84\U0001da9b-\U0001da9f\U0001daa1-\U0001daaf\U0001e000-\U0001e006\U0001e008-\U0001e018\U0001e01b-\U0001e021\U0001e023-\U0001e024\U0001e026-\U0001e02a\U0001e8d0-\U0001e8d6\U0001e944-\U0001e94a\U000e0100-\U000e01ef' + +Nd = '0-9\u0660-\u0669\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0de6-\u0def\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1090-\u1099\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1a80-\u1a89\u1a90-\u1a99\u1b50-\u1b59\u1bb0-\u1bb9\u1c40-\u1c49\u1c50-\u1c59\ua620-\ua629\ua8d0-\ua8d9\ua900-\ua909\ua9d0-\ua9d9\ua9f0-\ua9f9\uaa50-\uaa59\uabf0-\uabf9\uff10-\uff19\U000104a0-\U000104a9\U00010d30-\U00010d39\U00011066-\U0001106f\U000110f0-\U000110f9\U00011136-\U0001113f\U000111d0-\U000111d9\U000112f0-\U000112f9\U00011450-\U00011459\U000114d0-\U000114d9\U00011650-\U00011659\U000116c0-\U000116c9\U00011730-\U00011739\U000118e0-\U000118e9\U00011c50-\U00011c59\U00011d50-\U00011d59\U00011da0-\U00011da9\U00016a60-\U00016a69\U00016b50-\U00016b59\U0001d7ce-\U0001d7ff\U0001e950-\U0001e959' + +Nl = '\u16ee-\u16f0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303a\ua6e6-\ua6ef\U00010140-\U00010174\U00010341\U0001034a\U000103d1-\U000103d5\U00012400-\U0001246e' + +No = '\xb2-\xb3\xb9\xbc-\xbe\u09f4-\u09f9\u0b72-\u0b77\u0bf0-\u0bf2\u0c78-\u0c7e\u0d58-\u0d5e\u0d70-\u0d78\u0f2a-\u0f33\u1369-\u137c\u17f0-\u17f9\u19da\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215f\u2189\u2460-\u249b\u24ea-\u24ff\u2776-\u2793\u2cfd\u3192-\u3195\u3220-\u3229\u3248-\u324f\u3251-\u325f\u3280-\u3289\u32b1-\u32bf\ua830-\ua835\U00010107-\U00010133\U00010175-\U00010178\U0001018a-\U0001018b\U000102e1-\U000102fb\U00010320-\U00010323\U00010858-\U0001085f\U00010879-\U0001087f\U000108a7-\U000108af\U000108fb-\U000108ff\U00010916-\U0001091b\U000109bc-\U000109bd\U000109c0-\U000109cf\U000109d2-\U000109ff\U00010a40-\U00010a48\U00010a7d-\U00010a7e\U00010a9d-\U00010a9f\U00010aeb-\U00010aef\U00010b58-\U00010b5f\U00010b78-\U00010b7f\U00010ba9-\U00010baf\U00010cfa-\U00010cff\U00010e60-\U00010e7e\U00010f1d-\U00010f26\U00010f51-\U00010f54\U00011052-\U00011065\U000111e1-\U000111f4\U0001173a-\U0001173b\U000118ea-\U000118f2\U00011c5a-\U00011c6c\U00016b5b-\U00016b61\U00016e80-\U00016e96\U0001d2e0-\U0001d2f3\U0001d360-\U0001d378\U0001e8c7-\U0001e8cf\U0001ec71-\U0001ecab\U0001ecad-\U0001ecaf\U0001ecb1-\U0001ecb4\U0001f100-\U0001f10c' + +Pc = '_\u203f-\u2040\u2054\ufe33-\ufe34\ufe4d-\ufe4f\uff3f' + +Pd = '\\-\u058a\u05be\u1400\u1806\u2010-\u2015\u2e17\u2e1a\u2e3a-\u2e3b\u2e40\u301c\u3030\u30a0\ufe31-\ufe32\ufe58\ufe63\uff0d' + +Pe = ')\\]}\u0f3b\u0f3d\u169c\u2046\u207e\u208e\u2309\u230b\u232a\u2769\u276b\u276d\u276f\u2771\u2773\u2775\u27c6\u27e7\u27e9\u27eb\u27ed\u27ef\u2984\u2986\u2988\u298a\u298c\u298e\u2990\u2992\u2994\u2996\u2998\u29d9\u29db\u29fd\u2e23\u2e25\u2e27\u2e29\u3009\u300b\u300d\u300f\u3011\u3015\u3017\u3019\u301b\u301e-\u301f\ufd3e\ufe18\ufe36\ufe38\ufe3a\ufe3c\ufe3e\ufe40\ufe42\ufe44\ufe48\ufe5a\ufe5c\ufe5e\uff09\uff3d\uff5d\uff60\uff63' + +Pf = '\xbb\u2019\u201d\u203a\u2e03\u2e05\u2e0a\u2e0d\u2e1d\u2e21' + +Pi = '\xab\u2018\u201b-\u201c\u201f\u2039\u2e02\u2e04\u2e09\u2e0c\u2e1c\u2e20' + +Po = "!-#%-'*,.-/:-;?-@\\\\\xa1\xa7\xb6-\xb7\xbf\u037e\u0387\u055a-\u055f\u0589\u05c0\u05c3\u05c6\u05f3-\u05f4\u0609-\u060a\u060c-\u060d\u061b\u061e-\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964-\u0965\u0970\u09fd\u0a76\u0af0\u0c84\u0df4\u0e4f\u0e5a-\u0e5b\u0f04-\u0f12\u0f14\u0f85\u0fd0-\u0fd4\u0fd9-\u0fda\u104a-\u104f\u10fb\u1360-\u1368\u166d-\u166e\u16eb-\u16ed\u1735-\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u1805\u1807-\u180a\u1944-\u1945\u1a1e-\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e-\u1c7f\u1cc0-\u1cc7\u1cd3\u2016-\u2017\u2020-\u2027\u2030-\u2038\u203b-\u203e\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205e\u2cf9-\u2cfc\u2cfe-\u2cff\u2d70\u2e00-\u2e01\u2e06-\u2e08\u2e0b\u2e0e-\u2e16\u2e18-\u2e19\u2e1b\u2e1e-\u2e1f\u2e2a-\u2e2e\u2e30-\u2e39\u2e3c-\u2e3f\u2e41\u2e43-\u2e4e\u3001-\u3003\u303d\u30fb\ua4fe-\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce-\ua8cf\ua8f8-\ua8fa\ua8fc\ua92e-\ua92f\ua95f\ua9c1-\ua9cd\ua9de-\ua9df\uaa5c-\uaa5f\uaade-\uaadf\uaaf0-\uaaf1\uabeb\ufe10-\ufe16\ufe19\ufe30\ufe45-\ufe46\ufe49-\ufe4c\ufe50-\ufe52\ufe54-\ufe57\ufe5f-\ufe61\ufe68\ufe6a-\ufe6b\uff01-\uff03\uff05-\uff07\uff0a\uff0c\uff0e-\uff0f\uff1a-\uff1b\uff1f-\uff20\uff3c\uff61\uff64-\uff65\U00010100-\U00010102\U0001039f\U000103d0\U0001056f\U00010857\U0001091f\U0001093f\U00010a50-\U00010a58\U00010a7f\U00010af0-\U00010af6\U00010b39-\U00010b3f\U00010b99-\U00010b9c\U00010f55-\U00010f59\U00011047-\U0001104d\U000110bb-\U000110bc\U000110be-\U000110c1\U00011140-\U00011143\U00011174-\U00011175\U000111c5-\U000111c8\U000111cd\U000111db\U000111dd-\U000111df\U00011238-\U0001123d\U000112a9\U0001144b-\U0001144f\U0001145b\U0001145d\U000114c6\U000115c1-\U000115d7\U00011641-\U00011643\U00011660-\U0001166c\U0001173c-\U0001173e\U0001183b\U00011a3f-\U00011a46\U00011a9a-\U00011a9c\U00011a9e-\U00011aa2\U00011c41-\U00011c45\U00011c70-\U00011c71\U00011ef7-\U00011ef8\U00012470-\U00012474\U00016a6e-\U00016a6f\U00016af5\U00016b37-\U00016b3b\U00016b44\U00016e97-\U00016e9a\U0001bc9f\U0001da87-\U0001da8b\U0001e95e-\U0001e95f" + +Ps = '(\\[{\u0f3a\u0f3c\u169b\u201a\u201e\u2045\u207d\u208d\u2308\u230a\u2329\u2768\u276a\u276c\u276e\u2770\u2772\u2774\u27c5\u27e6\u27e8\u27ea\u27ec\u27ee\u2983\u2985\u2987\u2989\u298b\u298d\u298f\u2991\u2993\u2995\u2997\u29d8\u29da\u29fc\u2e22\u2e24\u2e26\u2e28\u2e42\u3008\u300a\u300c\u300e\u3010\u3014\u3016\u3018\u301a\u301d\ufd3f\ufe17\ufe35\ufe37\ufe39\ufe3b\ufe3d\ufe3f\ufe41\ufe43\ufe47\ufe59\ufe5b\ufe5d\uff08\uff3b\uff5b\uff5f\uff62' + +Sc = '$\xa2-\xa5\u058f\u060b\u07fe-\u07ff\u09f2-\u09f3\u09fb\u0af1\u0bf9\u0e3f\u17db\u20a0-\u20bf\ua838\ufdfc\ufe69\uff04\uffe0-\uffe1\uffe5-\uffe6\U0001ecb0' + +Sk = '\\^`\xa8\xaf\xb4\xb8\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384-\u0385\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd-\u1ffe\u309b-\u309c\ua700-\ua716\ua720-\ua721\ua789-\ua78a\uab5b\ufbb2-\ufbc1\uff3e\uff40\uffe3\U0001f3fb-\U0001f3ff' + +Sm = '+<->|~\xac\xb1\xd7\xf7\u03f6\u0606-\u0608\u2044\u2052\u207a-\u207c\u208a-\u208c\u2118\u2140-\u2144\u214b\u2190-\u2194\u219a-\u219b\u21a0\u21a3\u21a6\u21ae\u21ce-\u21cf\u21d2\u21d4\u21f4-\u22ff\u2320-\u2321\u237c\u239b-\u23b3\u23dc-\u23e1\u25b7\u25c1\u25f8-\u25ff\u266f\u27c0-\u27c4\u27c7-\u27e5\u27f0-\u27ff\u2900-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2aff\u2b30-\u2b44\u2b47-\u2b4c\ufb29\ufe62\ufe64-\ufe66\uff0b\uff1c-\uff1e\uff5c\uff5e\uffe2\uffe9-\uffec\U0001d6c1\U0001d6db\U0001d6fb\U0001d715\U0001d735\U0001d74f\U0001d76f\U0001d789\U0001d7a9\U0001d7c3\U0001eef0-\U0001eef1' + +So = '\xa6\xa9\xae\xb0\u0482\u058d-\u058e\u060e-\u060f\u06de\u06e9\u06fd-\u06fe\u07f6\u09fa\u0b70\u0bf3-\u0bf8\u0bfa\u0c7f\u0d4f\u0d79\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce-\u0fcf\u0fd5-\u0fd8\u109e-\u109f\u1390-\u1399\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u2100-\u2101\u2103-\u2106\u2108-\u2109\u2114\u2116-\u2117\u211e-\u2123\u2125\u2127\u2129\u212e\u213a-\u213b\u214a\u214c-\u214d\u214f\u218a-\u218b\u2195-\u2199\u219c-\u219f\u21a1-\u21a2\u21a4-\u21a5\u21a7-\u21ad\u21af-\u21cd\u21d0-\u21d1\u21d3\u21d5-\u21f3\u2300-\u2307\u230c-\u231f\u2322-\u2328\u232b-\u237b\u237d-\u239a\u23b4-\u23db\u23e2-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u25b6\u25b8-\u25c0\u25c2-\u25f7\u2600-\u266e\u2670-\u2767\u2794-\u27bf\u2800-\u28ff\u2b00-\u2b2f\u2b45-\u2b46\u2b4d-\u2b73\u2b76-\u2b95\u2b98-\u2bc8\u2bca-\u2bfe\u2ce5-\u2cea\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012-\u3013\u3020\u3036-\u3037\u303e-\u303f\u3190-\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u32fe\u3300-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua828-\ua82b\ua836-\ua837\ua839\uaa77-\uaa79\ufdfd\uffe4\uffe8\uffed-\uffee\ufffc-\ufffd\U00010137-\U0001013f\U00010179-\U00010189\U0001018c-\U0001018e\U00010190-\U0001019b\U000101a0\U000101d0-\U000101fc\U00010877-\U00010878\U00010ac8\U0001173f\U00016b3c-\U00016b3f\U00016b45\U0001bc9c\U0001d000-\U0001d0f5\U0001d100-\U0001d126\U0001d129-\U0001d164\U0001d16a-\U0001d16c\U0001d183-\U0001d184\U0001d18c-\U0001d1a9\U0001d1ae-\U0001d1e8\U0001d200-\U0001d241\U0001d245\U0001d300-\U0001d356\U0001d800-\U0001d9ff\U0001da37-\U0001da3a\U0001da6d-\U0001da74\U0001da76-\U0001da83\U0001da85-\U0001da86\U0001ecac\U0001f000-\U0001f02b\U0001f030-\U0001f093\U0001f0a0-\U0001f0ae\U0001f0b1-\U0001f0bf\U0001f0c1-\U0001f0cf\U0001f0d1-\U0001f0f5\U0001f110-\U0001f16b\U0001f170-\U0001f1ac\U0001f1e6-\U0001f202\U0001f210-\U0001f23b\U0001f240-\U0001f248\U0001f250-\U0001f251\U0001f260-\U0001f265\U0001f300-\U0001f3fa\U0001f400-\U0001f6d4\U0001f6e0-\U0001f6ec\U0001f6f0-\U0001f6f9\U0001f700-\U0001f773\U0001f780-\U0001f7d8\U0001f800-\U0001f80b\U0001f810-\U0001f847\U0001f850-\U0001f859\U0001f860-\U0001f887\U0001f890-\U0001f8ad\U0001f900-\U0001f90b\U0001f910-\U0001f93e\U0001f940-\U0001f970\U0001f973-\U0001f976\U0001f97a\U0001f97c-\U0001f9a2\U0001f9b0-\U0001f9b9\U0001f9c0-\U0001f9c2\U0001f9d0-\U0001f9ff\U0001fa60-\U0001fa6d' + +Zl = '\u2028' + +Zp = '\u2029' + +Zs = ' \xa0\u1680\u2000-\u200a\u202f\u205f\u3000' + +xid_continue = '0-9A-Z_a-z\xaa\xb5\xb7\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037b-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cf9\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7b9\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab65\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufc5d\ufc64-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdf9\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe71\ufe73\ufe77\ufe79\ufe7b\ufe7d\ufe7f-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\U00010000-\U0001000b\U0001000d-\U00010026\U00010028-\U0001003a\U0001003c-\U0001003d\U0001003f-\U0001004d\U00010050-\U0001005d\U00010080-\U000100fa\U00010140-\U00010174\U000101fd\U00010280-\U0001029c\U000102a0-\U000102d0\U000102e0\U00010300-\U0001031f\U0001032d-\U0001034a\U00010350-\U0001037a\U00010380-\U0001039d\U000103a0-\U000103c3\U000103c8-\U000103cf\U000103d1-\U000103d5\U00010400-\U0001049d\U000104a0-\U000104a9\U000104b0-\U000104d3\U000104d8-\U000104fb\U00010500-\U00010527\U00010530-\U00010563\U00010600-\U00010736\U00010740-\U00010755\U00010760-\U00010767\U00010800-\U00010805\U00010808\U0001080a-\U00010835\U00010837-\U00010838\U0001083c\U0001083f-\U00010855\U00010860-\U00010876\U00010880-\U0001089e\U000108e0-\U000108f2\U000108f4-\U000108f5\U00010900-\U00010915\U00010920-\U00010939\U00010980-\U000109b7\U000109be-\U000109bf\U00010a00-\U00010a03\U00010a05-\U00010a06\U00010a0c-\U00010a13\U00010a15-\U00010a17\U00010a19-\U00010a35\U00010a38-\U00010a3a\U00010a3f\U00010a60-\U00010a7c\U00010a80-\U00010a9c\U00010ac0-\U00010ac7\U00010ac9-\U00010ae6\U00010b00-\U00010b35\U00010b40-\U00010b55\U00010b60-\U00010b72\U00010b80-\U00010b91\U00010c00-\U00010c48\U00010c80-\U00010cb2\U00010cc0-\U00010cf2\U00010d00-\U00010d27\U00010d30-\U00010d39\U00010f00-\U00010f1c\U00010f27\U00010f30-\U00010f50\U00011000-\U00011046\U00011066-\U0001106f\U0001107f-\U000110ba\U000110d0-\U000110e8\U000110f0-\U000110f9\U00011100-\U00011134\U00011136-\U0001113f\U00011144-\U00011146\U00011150-\U00011173\U00011176\U00011180-\U000111c4\U000111c9-\U000111cc\U000111d0-\U000111da\U000111dc\U00011200-\U00011211\U00011213-\U00011237\U0001123e\U00011280-\U00011286\U00011288\U0001128a-\U0001128d\U0001128f-\U0001129d\U0001129f-\U000112a8\U000112b0-\U000112ea\U000112f0-\U000112f9\U00011300-\U00011303\U00011305-\U0001130c\U0001130f-\U00011310\U00011313-\U00011328\U0001132a-\U00011330\U00011332-\U00011333\U00011335-\U00011339\U0001133b-\U00011344\U00011347-\U00011348\U0001134b-\U0001134d\U00011350\U00011357\U0001135d-\U00011363\U00011366-\U0001136c\U00011370-\U00011374\U00011400-\U0001144a\U00011450-\U00011459\U0001145e\U00011480-\U000114c5\U000114c7\U000114d0-\U000114d9\U00011580-\U000115b5\U000115b8-\U000115c0\U000115d8-\U000115dd\U00011600-\U00011640\U00011644\U00011650-\U00011659\U00011680-\U000116b7\U000116c0-\U000116c9\U00011700-\U0001171a\U0001171d-\U0001172b\U00011730-\U00011739\U00011800-\U0001183a\U000118a0-\U000118e9\U000118ff\U00011a00-\U00011a3e\U00011a47\U00011a50-\U00011a83\U00011a86-\U00011a99\U00011a9d\U00011ac0-\U00011af8\U00011c00-\U00011c08\U00011c0a-\U00011c36\U00011c38-\U00011c40\U00011c50-\U00011c59\U00011c72-\U00011c8f\U00011c92-\U00011ca7\U00011ca9-\U00011cb6\U00011d00-\U00011d06\U00011d08-\U00011d09\U00011d0b-\U00011d36\U00011d3a\U00011d3c-\U00011d3d\U00011d3f-\U00011d47\U00011d50-\U00011d59\U00011d60-\U00011d65\U00011d67-\U00011d68\U00011d6a-\U00011d8e\U00011d90-\U00011d91\U00011d93-\U00011d98\U00011da0-\U00011da9\U00011ee0-\U00011ef6\U00012000-\U00012399\U00012400-\U0001246e\U00012480-\U00012543\U00013000-\U0001342e\U00014400-\U00014646\U00016800-\U00016a38\U00016a40-\U00016a5e\U00016a60-\U00016a69\U00016ad0-\U00016aed\U00016af0-\U00016af4\U00016b00-\U00016b36\U00016b40-\U00016b43\U00016b50-\U00016b59\U00016b63-\U00016b77\U00016b7d-\U00016b8f\U00016e40-\U00016e7f\U00016f00-\U00016f44\U00016f50-\U00016f7e\U00016f8f-\U00016f9f\U00016fe0-\U00016fe1\U00017000-\U000187f1\U00018800-\U00018af2\U0001b000-\U0001b11e\U0001b170-\U0001b2fb\U0001bc00-\U0001bc6a\U0001bc70-\U0001bc7c\U0001bc80-\U0001bc88\U0001bc90-\U0001bc99\U0001bc9d-\U0001bc9e\U0001d165-\U0001d169\U0001d16d-\U0001d172\U0001d17b-\U0001d182\U0001d185-\U0001d18b\U0001d1aa-\U0001d1ad\U0001d242-\U0001d244\U0001d400-\U0001d454\U0001d456-\U0001d49c\U0001d49e-\U0001d49f\U0001d4a2\U0001d4a5-\U0001d4a6\U0001d4a9-\U0001d4ac\U0001d4ae-\U0001d4b9\U0001d4bb\U0001d4bd-\U0001d4c3\U0001d4c5-\U0001d505\U0001d507-\U0001d50a\U0001d50d-\U0001d514\U0001d516-\U0001d51c\U0001d51e-\U0001d539\U0001d53b-\U0001d53e\U0001d540-\U0001d544\U0001d546\U0001d54a-\U0001d550\U0001d552-\U0001d6a5\U0001d6a8-\U0001d6c0\U0001d6c2-\U0001d6da\U0001d6dc-\U0001d6fa\U0001d6fc-\U0001d714\U0001d716-\U0001d734\U0001d736-\U0001d74e\U0001d750-\U0001d76e\U0001d770-\U0001d788\U0001d78a-\U0001d7a8\U0001d7aa-\U0001d7c2\U0001d7c4-\U0001d7cb\U0001d7ce-\U0001d7ff\U0001da00-\U0001da36\U0001da3b-\U0001da6c\U0001da75\U0001da84\U0001da9b-\U0001da9f\U0001daa1-\U0001daaf\U0001e000-\U0001e006\U0001e008-\U0001e018\U0001e01b-\U0001e021\U0001e023-\U0001e024\U0001e026-\U0001e02a\U0001e800-\U0001e8c4\U0001e8d0-\U0001e8d6\U0001e900-\U0001e94a\U0001e950-\U0001e959\U0001ee00-\U0001ee03\U0001ee05-\U0001ee1f\U0001ee21-\U0001ee22\U0001ee24\U0001ee27\U0001ee29-\U0001ee32\U0001ee34-\U0001ee37\U0001ee39\U0001ee3b\U0001ee42\U0001ee47\U0001ee49\U0001ee4b\U0001ee4d-\U0001ee4f\U0001ee51-\U0001ee52\U0001ee54\U0001ee57\U0001ee59\U0001ee5b\U0001ee5d\U0001ee5f\U0001ee61-\U0001ee62\U0001ee64\U0001ee67-\U0001ee6a\U0001ee6c-\U0001ee72\U0001ee74-\U0001ee77\U0001ee79-\U0001ee7c\U0001ee7e\U0001ee80-\U0001ee89\U0001ee8b-\U0001ee9b\U0001eea1-\U0001eea3\U0001eea5-\U0001eea9\U0001eeab-\U0001eebb\U00020000-\U0002a6d6\U0002a700-\U0002b734\U0002b740-\U0002b81d\U0002b820-\U0002cea1\U0002ceb0-\U0002ebe0\U0002f800-\U0002fa1d\U000e0100-\U000e01ef' + +xid_start = 'A-Z_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037b-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5-\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7b9\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab65\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufc5d\ufc64-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdf9\ufe71\ufe73\ufe77\ufe79\ufe7b\ufe7d\ufe7f-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uff9d\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\U00010000-\U0001000b\U0001000d-\U00010026\U00010028-\U0001003a\U0001003c-\U0001003d\U0001003f-\U0001004d\U00010050-\U0001005d\U00010080-\U000100fa\U00010140-\U00010174\U00010280-\U0001029c\U000102a0-\U000102d0\U00010300-\U0001031f\U0001032d-\U0001034a\U00010350-\U00010375\U00010380-\U0001039d\U000103a0-\U000103c3\U000103c8-\U000103cf\U000103d1-\U000103d5\U00010400-\U0001049d\U000104b0-\U000104d3\U000104d8-\U000104fb\U00010500-\U00010527\U00010530-\U00010563\U00010600-\U00010736\U00010740-\U00010755\U00010760-\U00010767\U00010800-\U00010805\U00010808\U0001080a-\U00010835\U00010837-\U00010838\U0001083c\U0001083f-\U00010855\U00010860-\U00010876\U00010880-\U0001089e\U000108e0-\U000108f2\U000108f4-\U000108f5\U00010900-\U00010915\U00010920-\U00010939\U00010980-\U000109b7\U000109be-\U000109bf\U00010a00\U00010a10-\U00010a13\U00010a15-\U00010a17\U00010a19-\U00010a35\U00010a60-\U00010a7c\U00010a80-\U00010a9c\U00010ac0-\U00010ac7\U00010ac9-\U00010ae4\U00010b00-\U00010b35\U00010b40-\U00010b55\U00010b60-\U00010b72\U00010b80-\U00010b91\U00010c00-\U00010c48\U00010c80-\U00010cb2\U00010cc0-\U00010cf2\U00010d00-\U00010d23\U00010f00-\U00010f1c\U00010f27\U00010f30-\U00010f45\U00011003-\U00011037\U00011083-\U000110af\U000110d0-\U000110e8\U00011103-\U00011126\U00011144\U00011150-\U00011172\U00011176\U00011183-\U000111b2\U000111c1-\U000111c4\U000111da\U000111dc\U00011200-\U00011211\U00011213-\U0001122b\U00011280-\U00011286\U00011288\U0001128a-\U0001128d\U0001128f-\U0001129d\U0001129f-\U000112a8\U000112b0-\U000112de\U00011305-\U0001130c\U0001130f-\U00011310\U00011313-\U00011328\U0001132a-\U00011330\U00011332-\U00011333\U00011335-\U00011339\U0001133d\U00011350\U0001135d-\U00011361\U00011400-\U00011434\U00011447-\U0001144a\U00011480-\U000114af\U000114c4-\U000114c5\U000114c7\U00011580-\U000115ae\U000115d8-\U000115db\U00011600-\U0001162f\U00011644\U00011680-\U000116aa\U00011700-\U0001171a\U00011800-\U0001182b\U000118a0-\U000118df\U000118ff\U00011a00\U00011a0b-\U00011a32\U00011a3a\U00011a50\U00011a5c-\U00011a83\U00011a86-\U00011a89\U00011a9d\U00011ac0-\U00011af8\U00011c00-\U00011c08\U00011c0a-\U00011c2e\U00011c40\U00011c72-\U00011c8f\U00011d00-\U00011d06\U00011d08-\U00011d09\U00011d0b-\U00011d30\U00011d46\U00011d60-\U00011d65\U00011d67-\U00011d68\U00011d6a-\U00011d89\U00011d98\U00011ee0-\U00011ef2\U00012000-\U00012399\U00012400-\U0001246e\U00012480-\U00012543\U00013000-\U0001342e\U00014400-\U00014646\U00016800-\U00016a38\U00016a40-\U00016a5e\U00016ad0-\U00016aed\U00016b00-\U00016b2f\U00016b40-\U00016b43\U00016b63-\U00016b77\U00016b7d-\U00016b8f\U00016e40-\U00016e7f\U00016f00-\U00016f44\U00016f50\U00016f93-\U00016f9f\U00016fe0-\U00016fe1\U00017000-\U000187f1\U00018800-\U00018af2\U0001b000-\U0001b11e\U0001b170-\U0001b2fb\U0001bc00-\U0001bc6a\U0001bc70-\U0001bc7c\U0001bc80-\U0001bc88\U0001bc90-\U0001bc99\U0001d400-\U0001d454\U0001d456-\U0001d49c\U0001d49e-\U0001d49f\U0001d4a2\U0001d4a5-\U0001d4a6\U0001d4a9-\U0001d4ac\U0001d4ae-\U0001d4b9\U0001d4bb\U0001d4bd-\U0001d4c3\U0001d4c5-\U0001d505\U0001d507-\U0001d50a\U0001d50d-\U0001d514\U0001d516-\U0001d51c\U0001d51e-\U0001d539\U0001d53b-\U0001d53e\U0001d540-\U0001d544\U0001d546\U0001d54a-\U0001d550\U0001d552-\U0001d6a5\U0001d6a8-\U0001d6c0\U0001d6c2-\U0001d6da\U0001d6dc-\U0001d6fa\U0001d6fc-\U0001d714\U0001d716-\U0001d734\U0001d736-\U0001d74e\U0001d750-\U0001d76e\U0001d770-\U0001d788\U0001d78a-\U0001d7a8\U0001d7aa-\U0001d7c2\U0001d7c4-\U0001d7cb\U0001e800-\U0001e8c4\U0001e900-\U0001e943\U0001ee00-\U0001ee03\U0001ee05-\U0001ee1f\U0001ee21-\U0001ee22\U0001ee24\U0001ee27\U0001ee29-\U0001ee32\U0001ee34-\U0001ee37\U0001ee39\U0001ee3b\U0001ee42\U0001ee47\U0001ee49\U0001ee4b\U0001ee4d-\U0001ee4f\U0001ee51-\U0001ee52\U0001ee54\U0001ee57\U0001ee59\U0001ee5b\U0001ee5d\U0001ee5f\U0001ee61-\U0001ee62\U0001ee64\U0001ee67-\U0001ee6a\U0001ee6c-\U0001ee72\U0001ee74-\U0001ee77\U0001ee79-\U0001ee7c\U0001ee7e\U0001ee80-\U0001ee89\U0001ee8b-\U0001ee9b\U0001eea1-\U0001eea3\U0001eea5-\U0001eea9\U0001eeab-\U0001eebb\U00020000-\U0002a6d6\U0002a700-\U0002b734\U0002b740-\U0002b81d\U0002b820-\U0002cea1\U0002ceb0-\U0002ebe0\U0002f800-\U0002fa1d' + +cats = ['Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu', 'Mc', 'Me', 'Mn', 'Nd', 'Nl', 'No', 'Pc', 'Pd', 'Pe', 'Pf', 'Pi', 'Po', 'Ps', 'Sc', 'Sk', 'Sm', 'So', 'Zl', 'Zp', 'Zs'] + +# Generated from unidata 11.0.0 + +def combine(*args): + return ''.join(globals()[cat] for cat in args) + + +def allexcept(*args): + newcats = cats[:] + for arg in args: + newcats.remove(arg) + return ''.join(globals()[cat] for cat in newcats) + + +def _handle_runs(char_list): # pragma: no cover + buf = [] + for c in char_list: + if len(c) == 1: + if buf and buf[-1][1] == chr(ord(c)-1): + buf[-1] = (buf[-1][0], c) + else: + buf.append((c, c)) + else: + buf.append((c, c)) + for a, b in buf: + if a == b: + yield a + else: + yield f'{a}-{b}' + + +if __name__ == '__main__': # pragma: no cover + import unicodedata + + categories = {'xid_start': [], 'xid_continue': []} + + with open(__file__, encoding='utf-8') as fp: + content = fp.read() + + header = content[:content.find('Cc =')] + footer = content[content.find("def combine("):] + + for code in range(0x110000): + c = chr(code) + cat = unicodedata.category(c) + if ord(c) == 0xdc00: + # Hack to avoid combining this combining with the preceding high + # surrogate, 0xdbff, when doing a repr. + c = '\\' + c + elif ord(c) in (0x2d, 0x5b, 0x5c, 0x5d, 0x5e): + # Escape regex metachars. + c = '\\' + c + categories.setdefault(cat, []).append(c) + # XID_START and XID_CONTINUE are special categories used for matching + # identifiers in Python 3. + if c.isidentifier(): + categories['xid_start'].append(c) + if ('a' + c).isidentifier(): + categories['xid_continue'].append(c) + + with open(__file__, 'w', encoding='utf-8') as fp: + fp.write(header) + + for cat in sorted(categories): + val = ''.join(_handle_runs(categories[cat])) + fp.write(f'{cat} = {val!a}\n\n') + + cats = sorted(categories) + cats.remove('xid_start') + cats.remove('xid_continue') + fp.write(f'cats = {cats!r}\n\n') + + fp.write(f'# Generated from unidata {unicodedata.unidata_version}\n\n') + + fp.write(footer) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/util.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/util.py new file mode 100644 index 0000000000000000000000000000000000000000..71c5710ae169e4a26a12ac5ab88e27eef8c96c33 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/util.py @@ -0,0 +1,324 @@ +""" + pygments.util + ~~~~~~~~~~~~~ + + Utility functions. + + :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import re +from io import TextIOWrapper + + +split_path_re = re.compile(r'[/\\ ]') +doctype_lookup_re = re.compile(r''' + ]*> +''', re.DOTALL | re.MULTILINE | re.VERBOSE) +tag_re = re.compile(r'<(.+?)(\s.*?)?>.*?', + re.IGNORECASE | re.DOTALL | re.MULTILINE) +xml_decl_re = re.compile(r'\s*<\?xml[^>]*\?>', re.I) + + +class ClassNotFound(ValueError): + """Raised if one of the lookup functions didn't find a matching class.""" + + +class OptionError(Exception): + """ + This exception will be raised by all option processing functions if + the type or value of the argument is not correct. + """ + +def get_choice_opt(options, optname, allowed, default=None, normcase=False): + """ + If the key `optname` from the dictionary is not in the sequence + `allowed`, raise an error, otherwise return it. + """ + string = options.get(optname, default) + if normcase: + string = string.lower() + if string not in allowed: + raise OptionError('Value for option {} must be one of {}'.format(optname, ', '.join(map(str, allowed)))) + return string + + +def get_bool_opt(options, optname, default=None): + """ + Intuitively, this is `options.get(optname, default)`, but restricted to + Boolean value. The Booleans can be represented as string, in order to accept + Boolean value from the command line arguments. If the key `optname` is + present in the dictionary `options` and is not associated with a Boolean, + raise an `OptionError`. If it is absent, `default` is returned instead. + + The valid string values for ``True`` are ``1``, ``yes``, ``true`` and + ``on``, the ones for ``False`` are ``0``, ``no``, ``false`` and ``off`` + (matched case-insensitively). + """ + string = options.get(optname, default) + if isinstance(string, bool): + return string + elif isinstance(string, int): + return bool(string) + elif not isinstance(string, str): + raise OptionError(f'Invalid type {string!r} for option {optname}; use ' + '1/0, yes/no, true/false, on/off') + elif string.lower() in ('1', 'yes', 'true', 'on'): + return True + elif string.lower() in ('0', 'no', 'false', 'off'): + return False + else: + raise OptionError(f'Invalid value {string!r} for option {optname}; use ' + '1/0, yes/no, true/false, on/off') + + +def get_int_opt(options, optname, default=None): + """As :func:`get_bool_opt`, but interpret the value as an integer.""" + string = options.get(optname, default) + try: + return int(string) + except TypeError: + raise OptionError(f'Invalid type {string!r} for option {optname}; you ' + 'must give an integer value') + except ValueError: + raise OptionError(f'Invalid value {string!r} for option {optname}; you ' + 'must give an integer value') + +def get_list_opt(options, optname, default=None): + """ + If the key `optname` from the dictionary `options` is a string, + split it at whitespace and return it. If it is already a list + or a tuple, it is returned as a list. + """ + val = options.get(optname, default) + if isinstance(val, str): + return val.split() + elif isinstance(val, (list, tuple)): + return list(val) + else: + raise OptionError(f'Invalid type {val!r} for option {optname}; you ' + 'must give a list value') + + +def docstring_headline(obj): + if not obj.__doc__: + return '' + res = [] + for line in obj.__doc__.strip().splitlines(): + if line.strip(): + res.append(" " + line.strip()) + else: + break + return ''.join(res).lstrip() + + +def make_analysator(f): + """Return a static text analyser function that returns float values.""" + def text_analyse(text): + try: + rv = f(text) + except Exception: + return 0.0 + if not rv: + return 0.0 + try: + return min(1.0, max(0.0, float(rv))) + except (ValueError, TypeError): + return 0.0 + text_analyse.__doc__ = f.__doc__ + return staticmethod(text_analyse) + + +def shebang_matches(text, regex): + r"""Check if the given regular expression matches the last part of the + shebang if one exists. + + >>> from pygments.util import shebang_matches + >>> shebang_matches('#!/usr/bin/env python', r'python(2\.\d)?') + True + >>> shebang_matches('#!/usr/bin/python2.4', r'python(2\.\d)?') + True + >>> shebang_matches('#!/usr/bin/python-ruby', r'python(2\.\d)?') + False + >>> shebang_matches('#!/usr/bin/python/ruby', r'python(2\.\d)?') + False + >>> shebang_matches('#!/usr/bin/startsomethingwith python', + ... r'python(2\.\d)?') + True + + It also checks for common windows executable file extensions:: + + >>> shebang_matches('#!C:\\Python2.4\\Python.exe', r'python(2\.\d)?') + True + + Parameters (``'-f'`` or ``'--foo'`` are ignored so ``'perl'`` does + the same as ``'perl -e'``) + + Note that this method automatically searches the whole string (eg: + the regular expression is wrapped in ``'^$'``) + """ + index = text.find('\n') + if index >= 0: + first_line = text[:index].lower() + else: + first_line = text.lower() + if first_line.startswith('#!'): + try: + found = [x for x in split_path_re.split(first_line[2:].strip()) + if x and not x.startswith('-')][-1] + except IndexError: + return False + regex = re.compile(rf'^{regex}(\.(exe|cmd|bat|bin))?$', re.IGNORECASE) + if regex.search(found) is not None: + return True + return False + + +def doctype_matches(text, regex): + """Check if the doctype matches a regular expression (if present). + + Note that this method only checks the first part of a DOCTYPE. + eg: 'html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"' + """ + m = doctype_lookup_re.search(text) + if m is None: + return False + doctype = m.group(1) + return re.compile(regex, re.I).match(doctype.strip()) is not None + + +def html_doctype_matches(text): + """Check if the file looks like it has a html doctype.""" + return doctype_matches(text, r'html') + + +_looks_like_xml_cache = {} + + +def looks_like_xml(text): + """Check if a doctype exists or if we have some tags.""" + if xml_decl_re.match(text): + return True + key = hash(text) + try: + return _looks_like_xml_cache[key] + except KeyError: + m = doctype_lookup_re.search(text) + if m is not None: + return True + rv = tag_re.search(text[:1000]) is not None + _looks_like_xml_cache[key] = rv + return rv + + +def surrogatepair(c): + """Given a unicode character code with length greater than 16 bits, + return the two 16 bit surrogate pair. + """ + # From example D28 of: + # http://www.unicode.org/book/ch03.pdf + return (0xd7c0 + (c >> 10), (0xdc00 + (c & 0x3ff))) + + +def format_lines(var_name, seq, raw=False, indent_level=0): + """Formats a sequence of strings for output.""" + lines = [] + base_indent = ' ' * indent_level * 4 + inner_indent = ' ' * (indent_level + 1) * 4 + lines.append(base_indent + var_name + ' = (') + if raw: + # These should be preformatted reprs of, say, tuples. + for i in seq: + lines.append(inner_indent + i + ',') + else: + for i in seq: + # Force use of single quotes + r = repr(i + '"') + lines.append(inner_indent + r[:-2] + r[-1] + ',') + lines.append(base_indent + ')') + return '\n'.join(lines) + + +def duplicates_removed(it, already_seen=()): + """ + Returns a list with duplicates removed from the iterable `it`. + + Order is preserved. + """ + lst = [] + seen = set() + for i in it: + if i in seen or i in already_seen: + continue + lst.append(i) + seen.add(i) + return lst + + +class Future: + """Generic class to defer some work. + + Handled specially in RegexLexerMeta, to support regex string construction at + first use. + """ + def get(self): + raise NotImplementedError + + +def guess_decode(text): + """Decode *text* with guessed encoding. + + First try UTF-8; this should fail for non-UTF-8 encodings. + Then try the preferred locale encoding. + Fall back to latin-1, which always works. + """ + try: + text = text.decode('utf-8') + return text, 'utf-8' + except UnicodeDecodeError: + try: + import locale + prefencoding = locale.getpreferredencoding() + text = text.decode() + return text, prefencoding + except (UnicodeDecodeError, LookupError): + text = text.decode('latin1') + return text, 'latin1' + + +def guess_decode_from_terminal(text, term): + """Decode *text* coming from terminal *term*. + + First try the terminal encoding, if given. + Then try UTF-8. Then try the preferred locale encoding. + Fall back to latin-1, which always works. + """ + if getattr(term, 'encoding', None): + try: + text = text.decode(term.encoding) + except UnicodeDecodeError: + pass + else: + return text, term.encoding + return guess_decode(text) + + +def terminal_encoding(term): + """Return our best guess of encoding for the given *term*.""" + if getattr(term, 'encoding', None): + return term.encoding + import locale + return locale.getpreferredencoding() + + +class UnclosingTextIOWrapper(TextIOWrapper): + # Don't close underlying buffer on destruction. + def close(self): + self.flush() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..746b89f7e71ed14565d18aa97ccc62d5df1bed82 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py @@ -0,0 +1,31 @@ +"""Wrappers to call pyproject.toml-based build backend hooks. +""" + +from typing import TYPE_CHECKING + +from ._impl import ( + BackendUnavailable, + BuildBackendHookCaller, + HookMissing, + UnsupportedOperation, + default_subprocess_runner, + quiet_subprocess_runner, +) + +__version__ = "1.2.0" +__all__ = [ + "BackendUnavailable", + "BackendInvalid", + "HookMissing", + "UnsupportedOperation", + "default_subprocess_runner", + "quiet_subprocess_runner", + "BuildBackendHookCaller", +] + +BackendInvalid = BackendUnavailable # Deprecated alias, previously a separate exception + +if TYPE_CHECKING: + from ._impl import SubprocessRunner + + __all__ += ["SubprocessRunner"] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..75165d6a529ab89ff6ebeed2d2b1b3ddcbc0e006 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d0c4ac305553149039e8bc22dbf2dc6fcebce18e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py new file mode 100644 index 0000000000000000000000000000000000000000..d1e9d7bb8c62e2fda5a9fd395899175142eb9b04 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py @@ -0,0 +1,410 @@ +import json +import os +import sys +import tempfile +from contextlib import contextmanager +from os.path import abspath +from os.path import join as pjoin +from subprocess import STDOUT, check_call, check_output +from typing import TYPE_CHECKING, Any, Iterator, Mapping, Optional, Sequence + +from ._in_process import _in_proc_script_path + +if TYPE_CHECKING: + from typing import Protocol + + class SubprocessRunner(Protocol): + """A protocol for the subprocess runner.""" + + def __call__( + self, + cmd: Sequence[str], + cwd: Optional[str] = None, + extra_environ: Optional[Mapping[str, str]] = None, + ) -> None: + ... + + +def write_json(obj: Mapping[str, Any], path: str, **kwargs) -> None: + with open(path, "w", encoding="utf-8") as f: + json.dump(obj, f, **kwargs) + + +def read_json(path: str) -> Mapping[str, Any]: + with open(path, encoding="utf-8") as f: + return json.load(f) + + +class BackendUnavailable(Exception): + """Will be raised if the backend cannot be imported in the hook process.""" + + def __init__( + self, + traceback: str, + message: Optional[str] = None, + backend_name: Optional[str] = None, + backend_path: Optional[Sequence[str]] = None, + ) -> None: + # Preserving arg order for the sake of API backward compatibility. + self.backend_name = backend_name + self.backend_path = backend_path + self.traceback = traceback + super().__init__(message or "Error while importing backend") + + +class HookMissing(Exception): + """Will be raised on missing hooks (if a fallback can't be used).""" + + def __init__(self, hook_name: str) -> None: + super().__init__(hook_name) + self.hook_name = hook_name + + +class UnsupportedOperation(Exception): + """May be raised by build_sdist if the backend indicates that it can't.""" + + def __init__(self, traceback: str) -> None: + self.traceback = traceback + + +def default_subprocess_runner( + cmd: Sequence[str], + cwd: Optional[str] = None, + extra_environ: Optional[Mapping[str, str]] = None, +) -> None: + """The default method of calling the wrapper subprocess. + + This uses :func:`subprocess.check_call` under the hood. + """ + env = os.environ.copy() + if extra_environ: + env.update(extra_environ) + + check_call(cmd, cwd=cwd, env=env) + + +def quiet_subprocess_runner( + cmd: Sequence[str], + cwd: Optional[str] = None, + extra_environ: Optional[Mapping[str, str]] = None, +) -> None: + """Call the subprocess while suppressing output. + + This uses :func:`subprocess.check_output` under the hood. + """ + env = os.environ.copy() + if extra_environ: + env.update(extra_environ) + + check_output(cmd, cwd=cwd, env=env, stderr=STDOUT) + + +def norm_and_check(source_tree: str, requested: str) -> str: + """Normalise and check a backend path. + + Ensure that the requested backend path is specified as a relative path, + and resolves to a location under the given source tree. + + Return an absolute version of the requested path. + """ + if os.path.isabs(requested): + raise ValueError("paths must be relative") + + abs_source = os.path.abspath(source_tree) + abs_requested = os.path.normpath(os.path.join(abs_source, requested)) + # We have to use commonprefix for Python 2.7 compatibility. So we + # normalise case to avoid problems because commonprefix is a character + # based comparison :-( + norm_source = os.path.normcase(abs_source) + norm_requested = os.path.normcase(abs_requested) + if os.path.commonprefix([norm_source, norm_requested]) != norm_source: + raise ValueError("paths must be inside source tree") + + return abs_requested + + +class BuildBackendHookCaller: + """A wrapper to call the build backend hooks for a source directory.""" + + def __init__( + self, + source_dir: str, + build_backend: str, + backend_path: Optional[Sequence[str]] = None, + runner: Optional["SubprocessRunner"] = None, + python_executable: Optional[str] = None, + ) -> None: + """ + :param source_dir: The source directory to invoke the build backend for + :param build_backend: The build backend spec + :param backend_path: Additional path entries for the build backend spec + :param runner: The :ref:`subprocess runner ` to use + :param python_executable: + The Python executable used to invoke the build backend + """ + if runner is None: + runner = default_subprocess_runner + + self.source_dir = abspath(source_dir) + self.build_backend = build_backend + if backend_path: + backend_path = [norm_and_check(self.source_dir, p) for p in backend_path] + self.backend_path = backend_path + self._subprocess_runner = runner + if not python_executable: + python_executable = sys.executable + self.python_executable = python_executable + + @contextmanager + def subprocess_runner(self, runner: "SubprocessRunner") -> Iterator[None]: + """A context manager for temporarily overriding the default + :ref:`subprocess runner `. + + :param runner: The new subprocess runner to use within the context. + + .. code-block:: python + + hook_caller = BuildBackendHookCaller(...) + with hook_caller.subprocess_runner(quiet_subprocess_runner): + ... + """ + prev = self._subprocess_runner + self._subprocess_runner = runner + try: + yield + finally: + self._subprocess_runner = prev + + def _supported_features(self) -> Sequence[str]: + """Return the list of optional features supported by the backend.""" + return self._call_hook("_supported_features", {}) + + def get_requires_for_build_wheel( + self, + config_settings: Optional[Mapping[str, Any]] = None, + ) -> Sequence[str]: + """Get additional dependencies required for building a wheel. + + :param config_settings: The configuration settings for the build backend + :returns: A list of :pep:`dependency specifiers <508>`. + + .. admonition:: Fallback + + If the build backend does not defined a hook with this name, an + empty list will be returned. + """ + return self._call_hook( + "get_requires_for_build_wheel", {"config_settings": config_settings} + ) + + def prepare_metadata_for_build_wheel( + self, + metadata_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + _allow_fallback: bool = True, + ) -> str: + """Prepare a ``*.dist-info`` folder with metadata for this project. + + :param metadata_directory: The directory to write the metadata to + :param config_settings: The configuration settings for the build backend + :param _allow_fallback: + Whether to allow the fallback to building a wheel and extracting + the metadata from it. Should be passed as a keyword argument only. + + :returns: Name of the newly created subfolder within + ``metadata_directory``, containing the metadata. + + .. admonition:: Fallback + + If the build backend does not define a hook with this name and + ``_allow_fallback`` is truthy, the backend will be asked to build a + wheel via the ``build_wheel`` hook and the dist-info extracted from + that will be returned. + """ + return self._call_hook( + "prepare_metadata_for_build_wheel", + { + "metadata_directory": abspath(metadata_directory), + "config_settings": config_settings, + "_allow_fallback": _allow_fallback, + }, + ) + + def build_wheel( + self, + wheel_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + metadata_directory: Optional[str] = None, + ) -> str: + """Build a wheel from this project. + + :param wheel_directory: The directory to write the wheel to + :param config_settings: The configuration settings for the build backend + :param metadata_directory: The directory to reuse existing metadata from + :returns: + The name of the newly created wheel within ``wheel_directory``. + + .. admonition:: Interaction with fallback + + If the ``build_wheel`` hook was called in the fallback for + :meth:`prepare_metadata_for_build_wheel`, the build backend would + not be invoked. Instead, the previously built wheel will be copied + to ``wheel_directory`` and the name of that file will be returned. + """ + if metadata_directory is not None: + metadata_directory = abspath(metadata_directory) + return self._call_hook( + "build_wheel", + { + "wheel_directory": abspath(wheel_directory), + "config_settings": config_settings, + "metadata_directory": metadata_directory, + }, + ) + + def get_requires_for_build_editable( + self, + config_settings: Optional[Mapping[str, Any]] = None, + ) -> Sequence[str]: + """Get additional dependencies required for building an editable wheel. + + :param config_settings: The configuration settings for the build backend + :returns: A list of :pep:`dependency specifiers <508>`. + + .. admonition:: Fallback + + If the build backend does not defined a hook with this name, an + empty list will be returned. + """ + return self._call_hook( + "get_requires_for_build_editable", {"config_settings": config_settings} + ) + + def prepare_metadata_for_build_editable( + self, + metadata_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + _allow_fallback: bool = True, + ) -> Optional[str]: + """Prepare a ``*.dist-info`` folder with metadata for this project. + + :param metadata_directory: The directory to write the metadata to + :param config_settings: The configuration settings for the build backend + :param _allow_fallback: + Whether to allow the fallback to building a wheel and extracting + the metadata from it. Should be passed as a keyword argument only. + :returns: Name of the newly created subfolder within + ``metadata_directory``, containing the metadata. + + .. admonition:: Fallback + + If the build backend does not define a hook with this name and + ``_allow_fallback`` is truthy, the backend will be asked to build a + wheel via the ``build_editable`` hook and the dist-info + extracted from that will be returned. + """ + return self._call_hook( + "prepare_metadata_for_build_editable", + { + "metadata_directory": abspath(metadata_directory), + "config_settings": config_settings, + "_allow_fallback": _allow_fallback, + }, + ) + + def build_editable( + self, + wheel_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + metadata_directory: Optional[str] = None, + ) -> str: + """Build an editable wheel from this project. + + :param wheel_directory: The directory to write the wheel to + :param config_settings: The configuration settings for the build backend + :param metadata_directory: The directory to reuse existing metadata from + :returns: + The name of the newly created wheel within ``wheel_directory``. + + .. admonition:: Interaction with fallback + + If the ``build_editable`` hook was called in the fallback for + :meth:`prepare_metadata_for_build_editable`, the build backend + would not be invoked. Instead, the previously built wheel will be + copied to ``wheel_directory`` and the name of that file will be + returned. + """ + if metadata_directory is not None: + metadata_directory = abspath(metadata_directory) + return self._call_hook( + "build_editable", + { + "wheel_directory": abspath(wheel_directory), + "config_settings": config_settings, + "metadata_directory": metadata_directory, + }, + ) + + def get_requires_for_build_sdist( + self, + config_settings: Optional[Mapping[str, Any]] = None, + ) -> Sequence[str]: + """Get additional dependencies required for building an sdist. + + :returns: A list of :pep:`dependency specifiers <508>`. + """ + return self._call_hook( + "get_requires_for_build_sdist", {"config_settings": config_settings} + ) + + def build_sdist( + self, + sdist_directory: str, + config_settings: Optional[Mapping[str, Any]] = None, + ) -> str: + """Build an sdist from this project. + + :returns: + The name of the newly created sdist within ``wheel_directory``. + """ + return self._call_hook( + "build_sdist", + { + "sdist_directory": abspath(sdist_directory), + "config_settings": config_settings, + }, + ) + + def _call_hook(self, hook_name: str, kwargs: Mapping[str, Any]) -> Any: + extra_environ = {"_PYPROJECT_HOOKS_BUILD_BACKEND": self.build_backend} + + if self.backend_path: + backend_path = os.pathsep.join(self.backend_path) + extra_environ["_PYPROJECT_HOOKS_BACKEND_PATH"] = backend_path + + with tempfile.TemporaryDirectory() as td: + hook_input = {"kwargs": kwargs} + write_json(hook_input, pjoin(td, "input.json"), indent=2) + + # Run the hook in a subprocess + with _in_proc_script_path() as script: + python = self.python_executable + self._subprocess_runner( + [python, abspath(str(script)), hook_name, td], + cwd=self.source_dir, + extra_environ=extra_environ, + ) + + data = read_json(pjoin(td, "output.json")) + if data.get("unsupported"): + raise UnsupportedOperation(data.get("traceback", "")) + if data.get("no_backend"): + raise BackendUnavailable( + data.get("traceback", ""), + message=data.get("backend_error", ""), + backend_name=self.build_backend, + backend_path=self.backend_path, + ) + if data.get("hook_missing"): + raise HookMissing(data.get("missing_hook_name") or hook_name) + return data["return_val"] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..906d0ba20e1f3e10b35456c2db1f207a071ce246 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py @@ -0,0 +1,21 @@ +"""This is a subpackage because the directory is on sys.path for _in_process.py + +The subpackage should stay as empty as possible to avoid shadowing modules that +the backend might import. +""" + +import importlib.resources as resources + +try: + resources.files +except AttributeError: + # Python 3.8 compatibility + def _in_proc_script_path(): + return resources.path(__package__, "_in_process.py") + +else: + + def _in_proc_script_path(): + return resources.as_file( + resources.files(__package__).joinpath("_in_process.py") + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7eb1efe2014ede3f204b46390900c672bdb25e1d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4ee3a2d5a9d0698a34ecb03cb1e2c0c188694068 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py new file mode 100644 index 0000000000000000000000000000000000000000..d689bab7219b0d2abf8b127d3ddd1eb0a61eb997 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py @@ -0,0 +1,389 @@ +"""This is invoked in a subprocess to call the build backend hooks. + +It expects: +- Command line args: hook_name, control_dir +- Environment variables: + _PYPROJECT_HOOKS_BUILD_BACKEND=entry.point:spec + _PYPROJECT_HOOKS_BACKEND_PATH=paths (separated with os.pathsep) +- control_dir/input.json: + - {"kwargs": {...}} + +Results: +- control_dir/output.json + - {"return_val": ...} +""" +import json +import os +import os.path +import re +import shutil +import sys +import traceback +from glob import glob +from importlib import import_module +from importlib.machinery import PathFinder +from os.path import join as pjoin + +# This file is run as a script, and `import wrappers` is not zip-safe, so we +# include write_json() and read_json() from wrappers.py. + + +def write_json(obj, path, **kwargs): + with open(path, "w", encoding="utf-8") as f: + json.dump(obj, f, **kwargs) + + +def read_json(path): + with open(path, encoding="utf-8") as f: + return json.load(f) + + +class BackendUnavailable(Exception): + """Raised if we cannot import the backend""" + + def __init__(self, message, traceback=None): + super().__init__(message) + self.message = message + self.traceback = traceback + + +class HookMissing(Exception): + """Raised if a hook is missing and we are not executing the fallback""" + + def __init__(self, hook_name=None): + super().__init__(hook_name) + self.hook_name = hook_name + + +def _build_backend(): + """Find and load the build backend""" + backend_path = os.environ.get("_PYPROJECT_HOOKS_BACKEND_PATH") + ep = os.environ["_PYPROJECT_HOOKS_BUILD_BACKEND"] + mod_path, _, obj_path = ep.partition(":") + + if backend_path: + # Ensure in-tree backend directories have the highest priority when importing. + extra_pathitems = backend_path.split(os.pathsep) + sys.meta_path.insert(0, _BackendPathFinder(extra_pathitems, mod_path)) + + try: + obj = import_module(mod_path) + except ImportError: + msg = f"Cannot import {mod_path!r}" + raise BackendUnavailable(msg, traceback.format_exc()) + + if obj_path: + for path_part in obj_path.split("."): + obj = getattr(obj, path_part) + return obj + + +class _BackendPathFinder: + """Implements the MetaPathFinder interface to locate modules in ``backend-path``. + + Since the environment provided by the frontend can contain all sorts of + MetaPathFinders, the only way to ensure the backend is loaded from the + right place is to prepend our own. + """ + + def __init__(self, backend_path, backend_module): + self.backend_path = backend_path + self.backend_module = backend_module + self.backend_parent, _, _ = backend_module.partition(".") + + def find_spec(self, fullname, _path, _target=None): + if "." in fullname: + # Rely on importlib to find nested modules based on parent's path + return None + + # Ignore other items in _path or sys.path and use backend_path instead: + spec = PathFinder.find_spec(fullname, path=self.backend_path) + if spec is None and fullname == self.backend_parent: + # According to the spec, the backend MUST be loaded from backend-path. + # Therefore, we can halt the import machinery and raise a clean error. + msg = f"Cannot find module {self.backend_module!r} in {self.backend_path!r}" + raise BackendUnavailable(msg) + + return spec + + if sys.version_info >= (3, 8): + + def find_distributions(self, context=None): + # Delayed import: Python 3.7 does not contain importlib.metadata + from importlib.metadata import DistributionFinder, MetadataPathFinder + + context = DistributionFinder.Context(path=self.backend_path) + return MetadataPathFinder.find_distributions(context=context) + + +def _supported_features(): + """Return the list of options features supported by the backend. + + Returns a list of strings. + The only possible value is 'build_editable'. + """ + backend = _build_backend() + features = [] + if hasattr(backend, "build_editable"): + features.append("build_editable") + return features + + +def get_requires_for_build_wheel(config_settings): + """Invoke the optional get_requires_for_build_wheel hook + + Returns [] if the hook is not defined. + """ + backend = _build_backend() + try: + hook = backend.get_requires_for_build_wheel + except AttributeError: + return [] + else: + return hook(config_settings) + + +def get_requires_for_build_editable(config_settings): + """Invoke the optional get_requires_for_build_editable hook + + Returns [] if the hook is not defined. + """ + backend = _build_backend() + try: + hook = backend.get_requires_for_build_editable + except AttributeError: + return [] + else: + return hook(config_settings) + + +def prepare_metadata_for_build_wheel( + metadata_directory, config_settings, _allow_fallback +): + """Invoke optional prepare_metadata_for_build_wheel + + Implements a fallback by building a wheel if the hook isn't defined, + unless _allow_fallback is False in which case HookMissing is raised. + """ + backend = _build_backend() + try: + hook = backend.prepare_metadata_for_build_wheel + except AttributeError: + if not _allow_fallback: + raise HookMissing() + else: + return hook(metadata_directory, config_settings) + # fallback to build_wheel outside the try block to avoid exception chaining + # which can be confusing to users and is not relevant + whl_basename = backend.build_wheel(metadata_directory, config_settings) + return _get_wheel_metadata_from_wheel( + whl_basename, metadata_directory, config_settings + ) + + +def prepare_metadata_for_build_editable( + metadata_directory, config_settings, _allow_fallback +): + """Invoke optional prepare_metadata_for_build_editable + + Implements a fallback by building an editable wheel if the hook isn't + defined, unless _allow_fallback is False in which case HookMissing is + raised. + """ + backend = _build_backend() + try: + hook = backend.prepare_metadata_for_build_editable + except AttributeError: + if not _allow_fallback: + raise HookMissing() + try: + build_hook = backend.build_editable + except AttributeError: + raise HookMissing(hook_name="build_editable") + else: + whl_basename = build_hook(metadata_directory, config_settings) + return _get_wheel_metadata_from_wheel( + whl_basename, metadata_directory, config_settings + ) + else: + return hook(metadata_directory, config_settings) + + +WHEEL_BUILT_MARKER = "PYPROJECT_HOOKS_ALREADY_BUILT_WHEEL" + + +def _dist_info_files(whl_zip): + """Identify the .dist-info folder inside a wheel ZipFile.""" + res = [] + for path in whl_zip.namelist(): + m = re.match(r"[^/\\]+-[^/\\]+\.dist-info/", path) + if m: + res.append(path) + if res: + return res + raise Exception("No .dist-info folder found in wheel") + + +def _get_wheel_metadata_from_wheel(whl_basename, metadata_directory, config_settings): + """Extract the metadata from a wheel. + + Fallback for when the build backend does not + define the 'get_wheel_metadata' hook. + """ + from zipfile import ZipFile + + with open(os.path.join(metadata_directory, WHEEL_BUILT_MARKER), "wb"): + pass # Touch marker file + + whl_file = os.path.join(metadata_directory, whl_basename) + with ZipFile(whl_file) as zipf: + dist_info = _dist_info_files(zipf) + zipf.extractall(path=metadata_directory, members=dist_info) + return dist_info[0].split("/")[0] + + +def _find_already_built_wheel(metadata_directory): + """Check for a wheel already built during the get_wheel_metadata hook.""" + if not metadata_directory: + return None + metadata_parent = os.path.dirname(metadata_directory) + if not os.path.isfile(pjoin(metadata_parent, WHEEL_BUILT_MARKER)): + return None + + whl_files = glob(os.path.join(metadata_parent, "*.whl")) + if not whl_files: + print("Found wheel built marker, but no .whl files") + return None + if len(whl_files) > 1: + print( + "Found multiple .whl files; unspecified behaviour. " + "Will call build_wheel." + ) + return None + + # Exactly one .whl file + return whl_files[0] + + +def build_wheel(wheel_directory, config_settings, metadata_directory=None): + """Invoke the mandatory build_wheel hook. + + If a wheel was already built in the + prepare_metadata_for_build_wheel fallback, this + will copy it rather than rebuilding the wheel. + """ + prebuilt_whl = _find_already_built_wheel(metadata_directory) + if prebuilt_whl: + shutil.copy2(prebuilt_whl, wheel_directory) + return os.path.basename(prebuilt_whl) + + return _build_backend().build_wheel( + wheel_directory, config_settings, metadata_directory + ) + + +def build_editable(wheel_directory, config_settings, metadata_directory=None): + """Invoke the optional build_editable hook. + + If a wheel was already built in the + prepare_metadata_for_build_editable fallback, this + will copy it rather than rebuilding the wheel. + """ + backend = _build_backend() + try: + hook = backend.build_editable + except AttributeError: + raise HookMissing() + else: + prebuilt_whl = _find_already_built_wheel(metadata_directory) + if prebuilt_whl: + shutil.copy2(prebuilt_whl, wheel_directory) + return os.path.basename(prebuilt_whl) + + return hook(wheel_directory, config_settings, metadata_directory) + + +def get_requires_for_build_sdist(config_settings): + """Invoke the optional get_requires_for_build_wheel hook + + Returns [] if the hook is not defined. + """ + backend = _build_backend() + try: + hook = backend.get_requires_for_build_sdist + except AttributeError: + return [] + else: + return hook(config_settings) + + +class _DummyException(Exception): + """Nothing should ever raise this exception""" + + +class GotUnsupportedOperation(Exception): + """For internal use when backend raises UnsupportedOperation""" + + def __init__(self, traceback): + self.traceback = traceback + + +def build_sdist(sdist_directory, config_settings): + """Invoke the mandatory build_sdist hook.""" + backend = _build_backend() + try: + return backend.build_sdist(sdist_directory, config_settings) + except getattr(backend, "UnsupportedOperation", _DummyException): + raise GotUnsupportedOperation(traceback.format_exc()) + + +HOOK_NAMES = { + "get_requires_for_build_wheel", + "prepare_metadata_for_build_wheel", + "build_wheel", + "get_requires_for_build_editable", + "prepare_metadata_for_build_editable", + "build_editable", + "get_requires_for_build_sdist", + "build_sdist", + "_supported_features", +} + + +def main(): + if len(sys.argv) < 3: + sys.exit("Needs args: hook_name, control_dir") + hook_name = sys.argv[1] + control_dir = sys.argv[2] + if hook_name not in HOOK_NAMES: + sys.exit("Unknown hook: %s" % hook_name) + + # Remove the parent directory from sys.path to avoid polluting the backend + # import namespace with this directory. + here = os.path.dirname(__file__) + if here in sys.path: + sys.path.remove(here) + + hook = globals()[hook_name] + + hook_input = read_json(pjoin(control_dir, "input.json")) + + json_out = {"unsupported": False, "return_val": None} + try: + json_out["return_val"] = hook(**hook_input["kwargs"]) + except BackendUnavailable as e: + json_out["no_backend"] = True + json_out["traceback"] = e.traceback + json_out["backend_error"] = e.message + except GotUnsupportedOperation as e: + json_out["unsupported"] = True + json_out["traceback"] = e.traceback + except HookMissing as e: + json_out["hook_missing"] = True + json_out["missing_hook_name"] = e.hook_name or hook_name + + write_json(json_out, pjoin(control_dir, "output.json"), indent=2) + + +if __name__ == "__main__": + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..04230fc8d9a1b1c577eca87271c64cca8d4f977f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__init__.py @@ -0,0 +1,179 @@ +# __ +# /__) _ _ _ _ _/ _ +# / ( (- (/ (/ (- _) / _) +# / + +""" +Requests HTTP Library +~~~~~~~~~~~~~~~~~~~~~ + +Requests is an HTTP library, written in Python, for human beings. +Basic GET usage: + + >>> import requests + >>> r = requests.get('https://www.python.org') + >>> r.status_code + 200 + >>> b'Python is a programming language' in r.content + True + +... or POST: + + >>> payload = dict(key1='value1', key2='value2') + >>> r = requests.post('https://httpbin.org/post', data=payload) + >>> print(r.text) + { + ... + "form": { + "key1": "value1", + "key2": "value2" + }, + ... + } + +The other HTTP methods are supported - see `requests.api`. Full documentation +is at . + +:copyright: (c) 2017 by Kenneth Reitz. +:license: Apache 2.0, see LICENSE for more details. +""" + +import warnings + +from pip._vendor import urllib3 + +from .exceptions import RequestsDependencyWarning + +charset_normalizer_version = None +chardet_version = None + + +def check_compatibility(urllib3_version, chardet_version, charset_normalizer_version): + urllib3_version = urllib3_version.split(".") + assert urllib3_version != ["dev"] # Verify urllib3 isn't installed from git. + + # Sometimes, urllib3 only reports its version as 16.1. + if len(urllib3_version) == 2: + urllib3_version.append("0") + + # Check urllib3 for compatibility. + major, minor, patch = urllib3_version # noqa: F811 + major, minor, patch = int(major), int(minor), int(patch) + # urllib3 >= 1.21.1 + assert major >= 1 + if major == 1: + assert minor >= 21 + + # Check charset_normalizer for compatibility. + if chardet_version: + major, minor, patch = chardet_version.split(".")[:3] + major, minor, patch = int(major), int(minor), int(patch) + # chardet_version >= 3.0.2, < 6.0.0 + assert (3, 0, 2) <= (major, minor, patch) < (6, 0, 0) + elif charset_normalizer_version: + major, minor, patch = charset_normalizer_version.split(".")[:3] + major, minor, patch = int(major), int(minor), int(patch) + # charset_normalizer >= 2.0.0 < 4.0.0 + assert (2, 0, 0) <= (major, minor, patch) < (4, 0, 0) + else: + # pip does not need or use character detection + pass + + +def _check_cryptography(cryptography_version): + # cryptography < 1.3.4 + try: + cryptography_version = list(map(int, cryptography_version.split("."))) + except ValueError: + return + + if cryptography_version < [1, 3, 4]: + warning = "Old version of cryptography ({}) may cause slowdown.".format( + cryptography_version + ) + warnings.warn(warning, RequestsDependencyWarning) + + +# Check imported dependencies for compatibility. +try: + check_compatibility( + urllib3.__version__, chardet_version, charset_normalizer_version + ) +except (AssertionError, ValueError): + warnings.warn( + "urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported " + "version!".format( + urllib3.__version__, chardet_version, charset_normalizer_version + ), + RequestsDependencyWarning, + ) + +# Attempt to enable urllib3's fallback for SNI support +# if the standard library doesn't support SNI or the +# 'ssl' library isn't available. +try: + # Note: This logic prevents upgrading cryptography on Windows, if imported + # as part of pip. + from pip._internal.utils.compat import WINDOWS + if not WINDOWS: + raise ImportError("pip internals: don't import cryptography on Windows") + try: + import ssl + except ImportError: + ssl = None + + if not getattr(ssl, "HAS_SNI", False): + from pip._vendor.urllib3.contrib import pyopenssl + + pyopenssl.inject_into_urllib3() + + # Check cryptography version + from cryptography import __version__ as cryptography_version + + _check_cryptography(cryptography_version) +except ImportError: + pass + +# urllib3's DependencyWarnings should be silenced. +from pip._vendor.urllib3.exceptions import DependencyWarning + +warnings.simplefilter("ignore", DependencyWarning) + +# Set default logging handler to avoid "No handler found" warnings. +import logging +from logging import NullHandler + +from . import packages, utils +from .__version__ import ( + __author__, + __author_email__, + __build__, + __cake__, + __copyright__, + __description__, + __license__, + __title__, + __url__, + __version__, +) +from .api import delete, get, head, options, patch, post, put, request +from .exceptions import ( + ConnectionError, + ConnectTimeout, + FileModeWarning, + HTTPError, + JSONDecodeError, + ReadTimeout, + RequestException, + Timeout, + TooManyRedirects, + URLRequired, +) +from .models import PreparedRequest, Request, Response +from .sessions import Session, session +from .status_codes import codes + +logging.getLogger(__name__).addHandler(NullHandler()) + +# FileModeWarnings go off per the default. +warnings.simplefilter("default", FileModeWarning, append=True) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..57f3e7599be4872c6bd2070d4f4402b0e1ca4e9a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..19ba20d1e08f0a80e61bc3c5767e7cb79641987e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7bda788ae6c7cec5231a43addb5a85c83bd527e8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0163c6f23fe65ecfb4e3b11806fa35d3bed4a695 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..73f251c7190d8ec127402bd525b8a25b70357505 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..44195f834a8705a94f52ab5f7e66ed1ea6a78ac3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..74b1e2689718fa1c3ec6b746acbb9fa173b47f99 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..113bb13c2121869ebb3ba36f0cd973f3f5cf00be Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..16fa7e29427122dc09362b987839ae8dc471cd86 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7dde75c19f81fdc0b3f0a08303390938eb40b958 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..498074cb5c9cbc73d1b77a6dbcd00b8a31f47d0d Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..05240aea1217fba3765c3d05aab0de96125cbb51 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ee3bb29824001d911dfaaede684de30afa9ba9b2 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a7dbb0fcde2236bebc7b4d09429a669d79cc0aa5 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e40ce3135e266c632581af3909b343180b52e194 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a89984c1e4c2888167c732f7ecb6ffec01d41e7b Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b07666c96f090718db3a4d72009999f02ffe0bb3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a36bbb8462b9f35c588b46f45690c1811aee1504 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__version__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__version__.py new file mode 100644 index 0000000000000000000000000000000000000000..3128a4644ec41f63e4348f10912526367623e4bf --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__version__.py @@ -0,0 +1,14 @@ +# .-. .-. .-. . . .-. .-. .-. .-. +# |( |- |.| | | |- `-. | `-. +# ' ' `-' `-`.`-' `-' `-' ' `-' + +__title__ = "requests" +__description__ = "Python HTTP for Humans." +__url__ = "https://requests.readthedocs.io" +__version__ = "2.32.4" +__build__ = 0x023204 +__author__ = "Kenneth Reitz" +__author_email__ = "me@kennethreitz.org" +__license__ = "Apache-2.0" +__copyright__ = "Copyright Kenneth Reitz" +__cake__ = "\u2728 \U0001f370 \u2728" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/_internal_utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/_internal_utils.py new file mode 100644 index 0000000000000000000000000000000000000000..f2cf635e2937ee9b123a1498c5c5f723a6e20084 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/_internal_utils.py @@ -0,0 +1,50 @@ +""" +requests._internal_utils +~~~~~~~~~~~~~~ + +Provides utility functions that are consumed internally by Requests +which depend on extremely few external helpers (such as compat) +""" +import re + +from .compat import builtin_str + +_VALID_HEADER_NAME_RE_BYTE = re.compile(rb"^[^:\s][^:\r\n]*$") +_VALID_HEADER_NAME_RE_STR = re.compile(r"^[^:\s][^:\r\n]*$") +_VALID_HEADER_VALUE_RE_BYTE = re.compile(rb"^\S[^\r\n]*$|^$") +_VALID_HEADER_VALUE_RE_STR = re.compile(r"^\S[^\r\n]*$|^$") + +_HEADER_VALIDATORS_STR = (_VALID_HEADER_NAME_RE_STR, _VALID_HEADER_VALUE_RE_STR) +_HEADER_VALIDATORS_BYTE = (_VALID_HEADER_NAME_RE_BYTE, _VALID_HEADER_VALUE_RE_BYTE) +HEADER_VALIDATORS = { + bytes: _HEADER_VALIDATORS_BYTE, + str: _HEADER_VALIDATORS_STR, +} + + +def to_native_string(string, encoding="ascii"): + """Given a string object, regardless of type, returns a representation of + that string in the native string type, encoding and decoding where + necessary. This assumes ASCII unless told otherwise. + """ + if isinstance(string, builtin_str): + out = string + else: + out = string.decode(encoding) + + return out + + +def unicode_is_ascii(u_string): + """Determine if unicode string only contains ASCII characters. + + :param str u_string: unicode string to check. Must be unicode + and not Python 2 `str`. + :rtype: bool + """ + assert isinstance(u_string, str) + try: + u_string.encode("ascii") + return True + except UnicodeEncodeError: + return False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/adapters.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/adapters.py new file mode 100644 index 0000000000000000000000000000000000000000..7030777465fb2823ebb72e89b11d5a36824330da --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/adapters.py @@ -0,0 +1,719 @@ +""" +requests.adapters +~~~~~~~~~~~~~~~~~ + +This module contains the transport adapters that Requests uses to define +and maintain connections. +""" + +import os.path +import socket # noqa: F401 +import typing +import warnings + +from pip._vendor.urllib3.exceptions import ClosedPoolError, ConnectTimeoutError +from pip._vendor.urllib3.exceptions import HTTPError as _HTTPError +from pip._vendor.urllib3.exceptions import InvalidHeader as _InvalidHeader +from pip._vendor.urllib3.exceptions import ( + LocationValueError, + MaxRetryError, + NewConnectionError, + ProtocolError, +) +from pip._vendor.urllib3.exceptions import ProxyError as _ProxyError +from pip._vendor.urllib3.exceptions import ReadTimeoutError, ResponseError +from pip._vendor.urllib3.exceptions import SSLError as _SSLError +from pip._vendor.urllib3.poolmanager import PoolManager, proxy_from_url +from pip._vendor.urllib3.util import Timeout as TimeoutSauce +from pip._vendor.urllib3.util import parse_url +from pip._vendor.urllib3.util.retry import Retry +from pip._vendor.urllib3.util.ssl_ import create_urllib3_context + +from .auth import _basic_auth_str +from .compat import basestring, urlparse +from .cookies import extract_cookies_to_jar +from .exceptions import ( + ConnectionError, + ConnectTimeout, + InvalidHeader, + InvalidProxyURL, + InvalidSchema, + InvalidURL, + ProxyError, + ReadTimeout, + RetryError, + SSLError, +) +from .models import Response +from .structures import CaseInsensitiveDict +from .utils import ( + DEFAULT_CA_BUNDLE_PATH, + extract_zipped_paths, + get_auth_from_url, + get_encoding_from_headers, + prepend_scheme_if_needed, + select_proxy, + urldefragauth, +) + +try: + from pip._vendor.urllib3.contrib.socks import SOCKSProxyManager +except ImportError: + + def SOCKSProxyManager(*args, **kwargs): + raise InvalidSchema("Missing dependencies for SOCKS support.") + + +if typing.TYPE_CHECKING: + from .models import PreparedRequest + + +DEFAULT_POOLBLOCK = False +DEFAULT_POOLSIZE = 10 +DEFAULT_RETRIES = 0 +DEFAULT_POOL_TIMEOUT = None + + +try: + import ssl # noqa: F401 + + _preloaded_ssl_context = create_urllib3_context() + _preloaded_ssl_context.load_verify_locations( + extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH) + ) +except ImportError: + # Bypass default SSLContext creation when Python + # interpreter isn't built with the ssl module. + _preloaded_ssl_context = None + + +def _urllib3_request_context( + request: "PreparedRequest", + verify: "bool | str | None", + client_cert: "typing.Tuple[str, str] | str | None", + poolmanager: "PoolManager", +) -> "(typing.Dict[str, typing.Any], typing.Dict[str, typing.Any])": + host_params = {} + pool_kwargs = {} + parsed_request_url = urlparse(request.url) + scheme = parsed_request_url.scheme.lower() + port = parsed_request_url.port + + # Determine if we have and should use our default SSLContext + # to optimize performance on standard requests. + poolmanager_kwargs = getattr(poolmanager, "connection_pool_kw", {}) + has_poolmanager_ssl_context = poolmanager_kwargs.get("ssl_context") + should_use_default_ssl_context = ( + _preloaded_ssl_context is not None and not has_poolmanager_ssl_context + ) + + cert_reqs = "CERT_REQUIRED" + if verify is False: + cert_reqs = "CERT_NONE" + elif verify is True and should_use_default_ssl_context: + pool_kwargs["ssl_context"] = _preloaded_ssl_context + elif isinstance(verify, str): + if not os.path.isdir(verify): + pool_kwargs["ca_certs"] = verify + else: + pool_kwargs["ca_cert_dir"] = verify + pool_kwargs["cert_reqs"] = cert_reqs + if client_cert is not None: + if isinstance(client_cert, tuple) and len(client_cert) == 2: + pool_kwargs["cert_file"] = client_cert[0] + pool_kwargs["key_file"] = client_cert[1] + else: + # According to our docs, we allow users to specify just the client + # cert path + pool_kwargs["cert_file"] = client_cert + host_params = { + "scheme": scheme, + "host": parsed_request_url.hostname, + "port": port, + } + return host_params, pool_kwargs + + +class BaseAdapter: + """The Base Transport Adapter""" + + def __init__(self): + super().__init__() + + def send( + self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None + ): + """Sends PreparedRequest object. Returns Response object. + + :param request: The :class:`PreparedRequest ` being sent. + :param stream: (optional) Whether to stream the request content. + :param timeout: (optional) How long to wait for the server to send + data before giving up, as a float, or a :ref:`(connect timeout, + read timeout) ` tuple. + :type timeout: float or tuple + :param verify: (optional) Either a boolean, in which case it controls whether we verify + the server's TLS certificate, or a string, in which case it must be a path + to a CA bundle to use + :param cert: (optional) Any user-provided SSL certificate to be trusted. + :param proxies: (optional) The proxies dictionary to apply to the request. + """ + raise NotImplementedError + + def close(self): + """Cleans up adapter specific items.""" + raise NotImplementedError + + +class HTTPAdapter(BaseAdapter): + """The built-in HTTP Adapter for urllib3. + + Provides a general-case interface for Requests sessions to contact HTTP and + HTTPS urls by implementing the Transport Adapter interface. This class will + usually be created by the :class:`Session ` class under the + covers. + + :param pool_connections: The number of urllib3 connection pools to cache. + :param pool_maxsize: The maximum number of connections to save in the pool. + :param max_retries: The maximum number of retries each connection + should attempt. Note, this applies only to failed DNS lookups, socket + connections and connection timeouts, never to requests where data has + made it to the server. By default, Requests does not retry failed + connections. If you need granular control over the conditions under + which we retry a request, import urllib3's ``Retry`` class and pass + that instead. + :param pool_block: Whether the connection pool should block for connections. + + Usage:: + + >>> import requests + >>> s = requests.Session() + >>> a = requests.adapters.HTTPAdapter(max_retries=3) + >>> s.mount('http://', a) + """ + + __attrs__ = [ + "max_retries", + "config", + "_pool_connections", + "_pool_maxsize", + "_pool_block", + ] + + def __init__( + self, + pool_connections=DEFAULT_POOLSIZE, + pool_maxsize=DEFAULT_POOLSIZE, + max_retries=DEFAULT_RETRIES, + pool_block=DEFAULT_POOLBLOCK, + ): + if max_retries == DEFAULT_RETRIES: + self.max_retries = Retry(0, read=False) + else: + self.max_retries = Retry.from_int(max_retries) + self.config = {} + self.proxy_manager = {} + + super().__init__() + + self._pool_connections = pool_connections + self._pool_maxsize = pool_maxsize + self._pool_block = pool_block + + self.init_poolmanager(pool_connections, pool_maxsize, block=pool_block) + + def __getstate__(self): + return {attr: getattr(self, attr, None) for attr in self.__attrs__} + + def __setstate__(self, state): + # Can't handle by adding 'proxy_manager' to self.__attrs__ because + # self.poolmanager uses a lambda function, which isn't pickleable. + self.proxy_manager = {} + self.config = {} + + for attr, value in state.items(): + setattr(self, attr, value) + + self.init_poolmanager( + self._pool_connections, self._pool_maxsize, block=self._pool_block + ) + + def init_poolmanager( + self, connections, maxsize, block=DEFAULT_POOLBLOCK, **pool_kwargs + ): + """Initializes a urllib3 PoolManager. + + This method should not be called from user code, and is only + exposed for use when subclassing the + :class:`HTTPAdapter `. + + :param connections: The number of urllib3 connection pools to cache. + :param maxsize: The maximum number of connections to save in the pool. + :param block: Block when no free connections are available. + :param pool_kwargs: Extra keyword arguments used to initialize the Pool Manager. + """ + # save these values for pickling + self._pool_connections = connections + self._pool_maxsize = maxsize + self._pool_block = block + + self.poolmanager = PoolManager( + num_pools=connections, + maxsize=maxsize, + block=block, + **pool_kwargs, + ) + + def proxy_manager_for(self, proxy, **proxy_kwargs): + """Return urllib3 ProxyManager for the given proxy. + + This method should not be called from user code, and is only + exposed for use when subclassing the + :class:`HTTPAdapter `. + + :param proxy: The proxy to return a urllib3 ProxyManager for. + :param proxy_kwargs: Extra keyword arguments used to configure the Proxy Manager. + :returns: ProxyManager + :rtype: urllib3.ProxyManager + """ + if proxy in self.proxy_manager: + manager = self.proxy_manager[proxy] + elif proxy.lower().startswith("socks"): + username, password = get_auth_from_url(proxy) + manager = self.proxy_manager[proxy] = SOCKSProxyManager( + proxy, + username=username, + password=password, + num_pools=self._pool_connections, + maxsize=self._pool_maxsize, + block=self._pool_block, + **proxy_kwargs, + ) + else: + proxy_headers = self.proxy_headers(proxy) + manager = self.proxy_manager[proxy] = proxy_from_url( + proxy, + proxy_headers=proxy_headers, + num_pools=self._pool_connections, + maxsize=self._pool_maxsize, + block=self._pool_block, + **proxy_kwargs, + ) + + return manager + + def cert_verify(self, conn, url, verify, cert): + """Verify a SSL certificate. This method should not be called from user + code, and is only exposed for use when subclassing the + :class:`HTTPAdapter `. + + :param conn: The urllib3 connection object associated with the cert. + :param url: The requested URL. + :param verify: Either a boolean, in which case it controls whether we verify + the server's TLS certificate, or a string, in which case it must be a path + to a CA bundle to use + :param cert: The SSL certificate to verify. + """ + if url.lower().startswith("https") and verify: + conn.cert_reqs = "CERT_REQUIRED" + + # Only load the CA certificates if 'verify' is a string indicating the CA bundle to use. + # Otherwise, if verify is a boolean, we don't load anything since + # the connection will be using a context with the default certificates already loaded, + # and this avoids a call to the slow load_verify_locations() + if verify is not True: + # `verify` must be a str with a path then + cert_loc = verify + + if not os.path.exists(cert_loc): + raise OSError( + f"Could not find a suitable TLS CA certificate bundle, " + f"invalid path: {cert_loc}" + ) + + if not os.path.isdir(cert_loc): + conn.ca_certs = cert_loc + else: + conn.ca_cert_dir = cert_loc + else: + conn.cert_reqs = "CERT_NONE" + conn.ca_certs = None + conn.ca_cert_dir = None + + if cert: + if not isinstance(cert, basestring): + conn.cert_file = cert[0] + conn.key_file = cert[1] + else: + conn.cert_file = cert + conn.key_file = None + if conn.cert_file and not os.path.exists(conn.cert_file): + raise OSError( + f"Could not find the TLS certificate file, " + f"invalid path: {conn.cert_file}" + ) + if conn.key_file and not os.path.exists(conn.key_file): + raise OSError( + f"Could not find the TLS key file, invalid path: {conn.key_file}" + ) + + def build_response(self, req, resp): + """Builds a :class:`Response ` object from a urllib3 + response. This should not be called from user code, and is only exposed + for use when subclassing the + :class:`HTTPAdapter ` + + :param req: The :class:`PreparedRequest ` used to generate the response. + :param resp: The urllib3 response object. + :rtype: requests.Response + """ + response = Response() + + # Fallback to None if there's no status_code, for whatever reason. + response.status_code = getattr(resp, "status", None) + + # Make headers case-insensitive. + response.headers = CaseInsensitiveDict(getattr(resp, "headers", {})) + + # Set encoding. + response.encoding = get_encoding_from_headers(response.headers) + response.raw = resp + response.reason = response.raw.reason + + if isinstance(req.url, bytes): + response.url = req.url.decode("utf-8") + else: + response.url = req.url + + # Add new cookies from the server. + extract_cookies_to_jar(response.cookies, req, resp) + + # Give the Response some context. + response.request = req + response.connection = self + + return response + + def build_connection_pool_key_attributes(self, request, verify, cert=None): + """Build the PoolKey attributes used by urllib3 to return a connection. + + This looks at the PreparedRequest, the user-specified verify value, + and the value of the cert parameter to determine what PoolKey values + to use to select a connection from a given urllib3 Connection Pool. + + The SSL related pool key arguments are not consistently set. As of + this writing, use the following to determine what keys may be in that + dictionary: + + * If ``verify`` is ``True``, ``"ssl_context"`` will be set and will be the + default Requests SSL Context + * If ``verify`` is ``False``, ``"ssl_context"`` will not be set but + ``"cert_reqs"`` will be set + * If ``verify`` is a string, (i.e., it is a user-specified trust bundle) + ``"ca_certs"`` will be set if the string is not a directory recognized + by :py:func:`os.path.isdir`, otherwise ``"ca_certs_dir"`` will be + set. + * If ``"cert"`` is specified, ``"cert_file"`` will always be set. If + ``"cert"`` is a tuple with a second item, ``"key_file"`` will also + be present + + To override these settings, one may subclass this class, call this + method and use the above logic to change parameters as desired. For + example, if one wishes to use a custom :py:class:`ssl.SSLContext` one + must both set ``"ssl_context"`` and based on what else they require, + alter the other keys to ensure the desired behaviour. + + :param request: + The PreparedReqest being sent over the connection. + :type request: + :class:`~requests.models.PreparedRequest` + :param verify: + Either a boolean, in which case it controls whether + we verify the server's TLS certificate, or a string, in which case it + must be a path to a CA bundle to use. + :param cert: + (optional) Any user-provided SSL certificate for client + authentication (a.k.a., mTLS). This may be a string (i.e., just + the path to a file which holds both certificate and key) or a + tuple of length 2 with the certificate file path and key file + path. + :returns: + A tuple of two dictionaries. The first is the "host parameters" + portion of the Pool Key including scheme, hostname, and port. The + second is a dictionary of SSLContext related parameters. + """ + return _urllib3_request_context(request, verify, cert, self.poolmanager) + + def get_connection_with_tls_context(self, request, verify, proxies=None, cert=None): + """Returns a urllib3 connection for the given request and TLS settings. + This should not be called from user code, and is only exposed for use + when subclassing the :class:`HTTPAdapter `. + + :param request: + The :class:`PreparedRequest ` object to be sent + over the connection. + :param verify: + Either a boolean, in which case it controls whether we verify the + server's TLS certificate, or a string, in which case it must be a + path to a CA bundle to use. + :param proxies: + (optional) The proxies dictionary to apply to the request. + :param cert: + (optional) Any user-provided SSL certificate to be used for client + authentication (a.k.a., mTLS). + :rtype: + urllib3.ConnectionPool + """ + proxy = select_proxy(request.url, proxies) + try: + host_params, pool_kwargs = self.build_connection_pool_key_attributes( + request, + verify, + cert, + ) + except ValueError as e: + raise InvalidURL(e, request=request) + if proxy: + proxy = prepend_scheme_if_needed(proxy, "http") + proxy_url = parse_url(proxy) + if not proxy_url.host: + raise InvalidProxyURL( + "Please check proxy URL. It is malformed " + "and could be missing the host." + ) + proxy_manager = self.proxy_manager_for(proxy) + conn = proxy_manager.connection_from_host( + **host_params, pool_kwargs=pool_kwargs + ) + else: + # Only scheme should be lower case + conn = self.poolmanager.connection_from_host( + **host_params, pool_kwargs=pool_kwargs + ) + + return conn + + def get_connection(self, url, proxies=None): + """DEPRECATED: Users should move to `get_connection_with_tls_context` + for all subclasses of HTTPAdapter using Requests>=2.32.2. + + Returns a urllib3 connection for the given URL. This should not be + called from user code, and is only exposed for use when subclassing the + :class:`HTTPAdapter `. + + :param url: The URL to connect to. + :param proxies: (optional) A Requests-style dictionary of proxies used on this request. + :rtype: urllib3.ConnectionPool + """ + warnings.warn( + ( + "`get_connection` has been deprecated in favor of " + "`get_connection_with_tls_context`. Custom HTTPAdapter subclasses " + "will need to migrate for Requests>=2.32.2. Please see " + "https://github.com/psf/requests/pull/6710 for more details." + ), + DeprecationWarning, + ) + proxy = select_proxy(url, proxies) + + if proxy: + proxy = prepend_scheme_if_needed(proxy, "http") + proxy_url = parse_url(proxy) + if not proxy_url.host: + raise InvalidProxyURL( + "Please check proxy URL. It is malformed " + "and could be missing the host." + ) + proxy_manager = self.proxy_manager_for(proxy) + conn = proxy_manager.connection_from_url(url) + else: + # Only scheme should be lower case + parsed = urlparse(url) + url = parsed.geturl() + conn = self.poolmanager.connection_from_url(url) + + return conn + + def close(self): + """Disposes of any internal state. + + Currently, this closes the PoolManager and any active ProxyManager, + which closes any pooled connections. + """ + self.poolmanager.clear() + for proxy in self.proxy_manager.values(): + proxy.clear() + + def request_url(self, request, proxies): + """Obtain the url to use when making the final request. + + If the message is being sent through a HTTP proxy, the full URL has to + be used. Otherwise, we should only use the path portion of the URL. + + This should not be called from user code, and is only exposed for use + when subclassing the + :class:`HTTPAdapter `. + + :param request: The :class:`PreparedRequest ` being sent. + :param proxies: A dictionary of schemes or schemes and hosts to proxy URLs. + :rtype: str + """ + proxy = select_proxy(request.url, proxies) + scheme = urlparse(request.url).scheme + + is_proxied_http_request = proxy and scheme != "https" + using_socks_proxy = False + if proxy: + proxy_scheme = urlparse(proxy).scheme.lower() + using_socks_proxy = proxy_scheme.startswith("socks") + + url = request.path_url + if url.startswith("//"): # Don't confuse urllib3 + url = f"/{url.lstrip('/')}" + + if is_proxied_http_request and not using_socks_proxy: + url = urldefragauth(request.url) + + return url + + def add_headers(self, request, **kwargs): + """Add any headers needed by the connection. As of v2.0 this does + nothing by default, but is left for overriding by users that subclass + the :class:`HTTPAdapter `. + + This should not be called from user code, and is only exposed for use + when subclassing the + :class:`HTTPAdapter `. + + :param request: The :class:`PreparedRequest ` to add headers to. + :param kwargs: The keyword arguments from the call to send(). + """ + pass + + def proxy_headers(self, proxy): + """Returns a dictionary of the headers to add to any request sent + through a proxy. This works with urllib3 magic to ensure that they are + correctly sent to the proxy, rather than in a tunnelled request if + CONNECT is being used. + + This should not be called from user code, and is only exposed for use + when subclassing the + :class:`HTTPAdapter `. + + :param proxy: The url of the proxy being used for this request. + :rtype: dict + """ + headers = {} + username, password = get_auth_from_url(proxy) + + if username: + headers["Proxy-Authorization"] = _basic_auth_str(username, password) + + return headers + + def send( + self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None + ): + """Sends PreparedRequest object. Returns Response object. + + :param request: The :class:`PreparedRequest ` being sent. + :param stream: (optional) Whether to stream the request content. + :param timeout: (optional) How long to wait for the server to send + data before giving up, as a float, or a :ref:`(connect timeout, + read timeout) ` tuple. + :type timeout: float or tuple or urllib3 Timeout object + :param verify: (optional) Either a boolean, in which case it controls whether + we verify the server's TLS certificate, or a string, in which case it + must be a path to a CA bundle to use + :param cert: (optional) Any user-provided SSL certificate to be trusted. + :param proxies: (optional) The proxies dictionary to apply to the request. + :rtype: requests.Response + """ + + try: + conn = self.get_connection_with_tls_context( + request, verify, proxies=proxies, cert=cert + ) + except LocationValueError as e: + raise InvalidURL(e, request=request) + + self.cert_verify(conn, request.url, verify, cert) + url = self.request_url(request, proxies) + self.add_headers( + request, + stream=stream, + timeout=timeout, + verify=verify, + cert=cert, + proxies=proxies, + ) + + chunked = not (request.body is None or "Content-Length" in request.headers) + + if isinstance(timeout, tuple): + try: + connect, read = timeout + timeout = TimeoutSauce(connect=connect, read=read) + except ValueError: + raise ValueError( + f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " + f"or a single float to set both timeouts to the same value." + ) + elif isinstance(timeout, TimeoutSauce): + pass + else: + timeout = TimeoutSauce(connect=timeout, read=timeout) + + try: + resp = conn.urlopen( + method=request.method, + url=url, + body=request.body, + headers=request.headers, + redirect=False, + assert_same_host=False, + preload_content=False, + decode_content=False, + retries=self.max_retries, + timeout=timeout, + chunked=chunked, + ) + + except (ProtocolError, OSError) as err: + raise ConnectionError(err, request=request) + + except MaxRetryError as e: + if isinstance(e.reason, ConnectTimeoutError): + # TODO: Remove this in 3.0.0: see #2811 + if not isinstance(e.reason, NewConnectionError): + raise ConnectTimeout(e, request=request) + + if isinstance(e.reason, ResponseError): + raise RetryError(e, request=request) + + if isinstance(e.reason, _ProxyError): + raise ProxyError(e, request=request) + + if isinstance(e.reason, _SSLError): + # This branch is for urllib3 v1.22 and later. + raise SSLError(e, request=request) + + raise ConnectionError(e, request=request) + + except ClosedPoolError as e: + raise ConnectionError(e, request=request) + + except _ProxyError as e: + raise ProxyError(e) + + except (_SSLError, _HTTPError) as e: + if isinstance(e, _SSLError): + # This branch is for urllib3 versions earlier than v1.22 + raise SSLError(e, request=request) + elif isinstance(e, ReadTimeoutError): + raise ReadTimeout(e, request=request) + elif isinstance(e, _InvalidHeader): + raise InvalidHeader(e, request=request) + else: + raise + + return self.build_response(request, resp) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/api.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/api.py new file mode 100644 index 0000000000000000000000000000000000000000..5960744552e7f8eea815429e7bdad38b0cc2741d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/api.py @@ -0,0 +1,157 @@ +""" +requests.api +~~~~~~~~~~~~ + +This module implements the Requests API. + +:copyright: (c) 2012 by Kenneth Reitz. +:license: Apache2, see LICENSE for more details. +""" + +from . import sessions + + +def request(method, url, **kwargs): + """Constructs and sends a :class:`Request `. + + :param method: method for the new :class:`Request` object: ``GET``, ``OPTIONS``, ``HEAD``, ``POST``, ``PUT``, ``PATCH``, or ``DELETE``. + :param url: URL for the new :class:`Request` object. + :param params: (optional) Dictionary, list of tuples or bytes to send + in the query string for the :class:`Request`. + :param data: (optional) Dictionary, list of tuples, bytes, or file-like + object to send in the body of the :class:`Request`. + :param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`. + :param headers: (optional) Dictionary of HTTP Headers to send with the :class:`Request`. + :param cookies: (optional) Dict or CookieJar object to send with the :class:`Request`. + :param files: (optional) Dictionary of ``'name': file-like-objects`` (or ``{'name': file-tuple}``) for multipart encoding upload. + ``file-tuple`` can be a 2-tuple ``('filename', fileobj)``, 3-tuple ``('filename', fileobj, 'content_type')`` + or a 4-tuple ``('filename', fileobj, 'content_type', custom_headers)``, where ``'content_type'`` is a string + defining the content type of the given file and ``custom_headers`` a dict-like object containing additional headers + to add for the file. + :param auth: (optional) Auth tuple to enable Basic/Digest/Custom HTTP Auth. + :param timeout: (optional) How many seconds to wait for the server to send data + before giving up, as a float, or a :ref:`(connect timeout, read + timeout) ` tuple. + :type timeout: float or tuple + :param allow_redirects: (optional) Boolean. Enable/disable GET/OPTIONS/POST/PUT/PATCH/DELETE/HEAD redirection. Defaults to ``True``. + :type allow_redirects: bool + :param proxies: (optional) Dictionary mapping protocol to the URL of the proxy. + :param verify: (optional) Either a boolean, in which case it controls whether we verify + the server's TLS certificate, or a string, in which case it must be a path + to a CA bundle to use. Defaults to ``True``. + :param stream: (optional) if ``False``, the response content will be immediately downloaded. + :param cert: (optional) if String, path to ssl client cert file (.pem). If Tuple, ('cert', 'key') pair. + :return: :class:`Response ` object + :rtype: requests.Response + + Usage:: + + >>> import requests + >>> req = requests.request('GET', 'https://httpbin.org/get') + >>> req + + """ + + # By using the 'with' statement we are sure the session is closed, thus we + # avoid leaving sockets open which can trigger a ResourceWarning in some + # cases, and look like a memory leak in others. + with sessions.Session() as session: + return session.request(method=method, url=url, **kwargs) + + +def get(url, params=None, **kwargs): + r"""Sends a GET request. + + :param url: URL for the new :class:`Request` object. + :param params: (optional) Dictionary, list of tuples or bytes to send + in the query string for the :class:`Request`. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :return: :class:`Response ` object + :rtype: requests.Response + """ + + return request("get", url, params=params, **kwargs) + + +def options(url, **kwargs): + r"""Sends an OPTIONS request. + + :param url: URL for the new :class:`Request` object. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :return: :class:`Response ` object + :rtype: requests.Response + """ + + return request("options", url, **kwargs) + + +def head(url, **kwargs): + r"""Sends a HEAD request. + + :param url: URL for the new :class:`Request` object. + :param \*\*kwargs: Optional arguments that ``request`` takes. If + `allow_redirects` is not provided, it will be set to `False` (as + opposed to the default :meth:`request` behavior). + :return: :class:`Response ` object + :rtype: requests.Response + """ + + kwargs.setdefault("allow_redirects", False) + return request("head", url, **kwargs) + + +def post(url, data=None, json=None, **kwargs): + r"""Sends a POST request. + + :param url: URL for the new :class:`Request` object. + :param data: (optional) Dictionary, list of tuples, bytes, or file-like + object to send in the body of the :class:`Request`. + :param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :return: :class:`Response ` object + :rtype: requests.Response + """ + + return request("post", url, data=data, json=json, **kwargs) + + +def put(url, data=None, **kwargs): + r"""Sends a PUT request. + + :param url: URL for the new :class:`Request` object. + :param data: (optional) Dictionary, list of tuples, bytes, or file-like + object to send in the body of the :class:`Request`. + :param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :return: :class:`Response ` object + :rtype: requests.Response + """ + + return request("put", url, data=data, **kwargs) + + +def patch(url, data=None, **kwargs): + r"""Sends a PATCH request. + + :param url: URL for the new :class:`Request` object. + :param data: (optional) Dictionary, list of tuples, bytes, or file-like + object to send in the body of the :class:`Request`. + :param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :return: :class:`Response ` object + :rtype: requests.Response + """ + + return request("patch", url, data=data, **kwargs) + + +def delete(url, **kwargs): + r"""Sends a DELETE request. + + :param url: URL for the new :class:`Request` object. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :return: :class:`Response ` object + :rtype: requests.Response + """ + + return request("delete", url, **kwargs) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/auth.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/auth.py new file mode 100644 index 0000000000000000000000000000000000000000..4a7ce6dc1460e0de8aa0c38ea9123faa69bd5110 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/auth.py @@ -0,0 +1,314 @@ +""" +requests.auth +~~~~~~~~~~~~~ + +This module contains the authentication handlers for Requests. +""" + +import hashlib +import os +import re +import threading +import time +import warnings +from base64 import b64encode + +from ._internal_utils import to_native_string +from .compat import basestring, str, urlparse +from .cookies import extract_cookies_to_jar +from .utils import parse_dict_header + +CONTENT_TYPE_FORM_URLENCODED = "application/x-www-form-urlencoded" +CONTENT_TYPE_MULTI_PART = "multipart/form-data" + + +def _basic_auth_str(username, password): + """Returns a Basic Auth string.""" + + # "I want us to put a big-ol' comment on top of it that + # says that this behaviour is dumb but we need to preserve + # it because people are relying on it." + # - Lukasa + # + # These are here solely to maintain backwards compatibility + # for things like ints. This will be removed in 3.0.0. + if not isinstance(username, basestring): + warnings.warn( + "Non-string usernames will no longer be supported in Requests " + "3.0.0. Please convert the object you've passed in ({!r}) to " + "a string or bytes object in the near future to avoid " + "problems.".format(username), + category=DeprecationWarning, + ) + username = str(username) + + if not isinstance(password, basestring): + warnings.warn( + "Non-string passwords will no longer be supported in Requests " + "3.0.0. Please convert the object you've passed in ({!r}) to " + "a string or bytes object in the near future to avoid " + "problems.".format(type(password)), + category=DeprecationWarning, + ) + password = str(password) + # -- End Removal -- + + if isinstance(username, str): + username = username.encode("latin1") + + if isinstance(password, str): + password = password.encode("latin1") + + authstr = "Basic " + to_native_string( + b64encode(b":".join((username, password))).strip() + ) + + return authstr + + +class AuthBase: + """Base class that all auth implementations derive from""" + + def __call__(self, r): + raise NotImplementedError("Auth hooks must be callable.") + + +class HTTPBasicAuth(AuthBase): + """Attaches HTTP Basic Authentication to the given Request object.""" + + def __init__(self, username, password): + self.username = username + self.password = password + + def __eq__(self, other): + return all( + [ + self.username == getattr(other, "username", None), + self.password == getattr(other, "password", None), + ] + ) + + def __ne__(self, other): + return not self == other + + def __call__(self, r): + r.headers["Authorization"] = _basic_auth_str(self.username, self.password) + return r + + +class HTTPProxyAuth(HTTPBasicAuth): + """Attaches HTTP Proxy Authentication to a given Request object.""" + + def __call__(self, r): + r.headers["Proxy-Authorization"] = _basic_auth_str(self.username, self.password) + return r + + +class HTTPDigestAuth(AuthBase): + """Attaches HTTP Digest Authentication to the given Request object.""" + + def __init__(self, username, password): + self.username = username + self.password = password + # Keep state in per-thread local storage + self._thread_local = threading.local() + + def init_per_thread_state(self): + # Ensure state is initialized just once per-thread + if not hasattr(self._thread_local, "init"): + self._thread_local.init = True + self._thread_local.last_nonce = "" + self._thread_local.nonce_count = 0 + self._thread_local.chal = {} + self._thread_local.pos = None + self._thread_local.num_401_calls = None + + def build_digest_header(self, method, url): + """ + :rtype: str + """ + + realm = self._thread_local.chal["realm"] + nonce = self._thread_local.chal["nonce"] + qop = self._thread_local.chal.get("qop") + algorithm = self._thread_local.chal.get("algorithm") + opaque = self._thread_local.chal.get("opaque") + hash_utf8 = None + + if algorithm is None: + _algorithm = "MD5" + else: + _algorithm = algorithm.upper() + # lambdas assume digest modules are imported at the top level + if _algorithm == "MD5" or _algorithm == "MD5-SESS": + + def md5_utf8(x): + if isinstance(x, str): + x = x.encode("utf-8") + return hashlib.md5(x).hexdigest() + + hash_utf8 = md5_utf8 + elif _algorithm == "SHA": + + def sha_utf8(x): + if isinstance(x, str): + x = x.encode("utf-8") + return hashlib.sha1(x).hexdigest() + + hash_utf8 = sha_utf8 + elif _algorithm == "SHA-256": + + def sha256_utf8(x): + if isinstance(x, str): + x = x.encode("utf-8") + return hashlib.sha256(x).hexdigest() + + hash_utf8 = sha256_utf8 + elif _algorithm == "SHA-512": + + def sha512_utf8(x): + if isinstance(x, str): + x = x.encode("utf-8") + return hashlib.sha512(x).hexdigest() + + hash_utf8 = sha512_utf8 + + KD = lambda s, d: hash_utf8(f"{s}:{d}") # noqa:E731 + + if hash_utf8 is None: + return None + + # XXX not implemented yet + entdig = None + p_parsed = urlparse(url) + #: path is request-uri defined in RFC 2616 which should not be empty + path = p_parsed.path or "/" + if p_parsed.query: + path += f"?{p_parsed.query}" + + A1 = f"{self.username}:{realm}:{self.password}" + A2 = f"{method}:{path}" + + HA1 = hash_utf8(A1) + HA2 = hash_utf8(A2) + + if nonce == self._thread_local.last_nonce: + self._thread_local.nonce_count += 1 + else: + self._thread_local.nonce_count = 1 + ncvalue = f"{self._thread_local.nonce_count:08x}" + s = str(self._thread_local.nonce_count).encode("utf-8") + s += nonce.encode("utf-8") + s += time.ctime().encode("utf-8") + s += os.urandom(8) + + cnonce = hashlib.sha1(s).hexdigest()[:16] + if _algorithm == "MD5-SESS": + HA1 = hash_utf8(f"{HA1}:{nonce}:{cnonce}") + + if not qop: + respdig = KD(HA1, f"{nonce}:{HA2}") + elif qop == "auth" or "auth" in qop.split(","): + noncebit = f"{nonce}:{ncvalue}:{cnonce}:auth:{HA2}" + respdig = KD(HA1, noncebit) + else: + # XXX handle auth-int. + return None + + self._thread_local.last_nonce = nonce + + # XXX should the partial digests be encoded too? + base = ( + f'username="{self.username}", realm="{realm}", nonce="{nonce}", ' + f'uri="{path}", response="{respdig}"' + ) + if opaque: + base += f', opaque="{opaque}"' + if algorithm: + base += f', algorithm="{algorithm}"' + if entdig: + base += f', digest="{entdig}"' + if qop: + base += f', qop="auth", nc={ncvalue}, cnonce="{cnonce}"' + + return f"Digest {base}" + + def handle_redirect(self, r, **kwargs): + """Reset num_401_calls counter on redirects.""" + if r.is_redirect: + self._thread_local.num_401_calls = 1 + + def handle_401(self, r, **kwargs): + """ + Takes the given response and tries digest-auth, if needed. + + :rtype: requests.Response + """ + + # If response is not 4xx, do not auth + # See https://github.com/psf/requests/issues/3772 + if not 400 <= r.status_code < 500: + self._thread_local.num_401_calls = 1 + return r + + if self._thread_local.pos is not None: + # Rewind the file position indicator of the body to where + # it was to resend the request. + r.request.body.seek(self._thread_local.pos) + s_auth = r.headers.get("www-authenticate", "") + + if "digest" in s_auth.lower() and self._thread_local.num_401_calls < 2: + self._thread_local.num_401_calls += 1 + pat = re.compile(r"digest ", flags=re.IGNORECASE) + self._thread_local.chal = parse_dict_header(pat.sub("", s_auth, count=1)) + + # Consume content and release the original connection + # to allow our new request to reuse the same one. + r.content + r.close() + prep = r.request.copy() + extract_cookies_to_jar(prep._cookies, r.request, r.raw) + prep.prepare_cookies(prep._cookies) + + prep.headers["Authorization"] = self.build_digest_header( + prep.method, prep.url + ) + _r = r.connection.send(prep, **kwargs) + _r.history.append(r) + _r.request = prep + + return _r + + self._thread_local.num_401_calls = 1 + return r + + def __call__(self, r): + # Initialize per-thread state, if needed + self.init_per_thread_state() + # If we have a saved nonce, skip the 401 + if self._thread_local.last_nonce: + r.headers["Authorization"] = self.build_digest_header(r.method, r.url) + try: + self._thread_local.pos = r.body.tell() + except AttributeError: + # In the case of HTTPDigestAuth being reused and the body of + # the previous request was a file-like object, pos has the + # file position of the previous body. Ensure it's set to + # None. + self._thread_local.pos = None + r.register_hook("response", self.handle_401) + r.register_hook("response", self.handle_redirect) + self._thread_local.num_401_calls = 1 + + return r + + def __eq__(self, other): + return all( + [ + self.username == getattr(other, "username", None), + self.password == getattr(other, "password", None), + ] + ) + + def __ne__(self, other): + return not self == other diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/certs.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/certs.py new file mode 100644 index 0000000000000000000000000000000000000000..2743144b9944d9a20e7fcd0cad360c4cd06a42be --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/certs.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python + +""" +requests.certs +~~~~~~~~~~~~~~ + +This module returns the preferred default CA certificate bundle. There is +only one — the one from the certifi package. + +If you are packaging Requests, e.g., for a Linux distribution or a managed +environment, you can change the definition of where() to return a separately +packaged CA bundle. +""" +from pip._vendor.certifi import where + +if __name__ == "__main__": + print(where()) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/compat.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/compat.py new file mode 100644 index 0000000000000000000000000000000000000000..b95a92140e23945a1a13316fe004406d8867035e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/compat.py @@ -0,0 +1,90 @@ +""" +requests.compat +~~~~~~~~~~~~~~~ + +This module previously handled import compatibility issues +between Python 2 and Python 3. It remains for backwards +compatibility until the next major version. +""" + +import sys + +# ------- +# urllib3 +# ------- +from pip._vendor.urllib3 import __version__ as urllib3_version + +# Detect which major version of urllib3 is being used. +try: + is_urllib3_1 = int(urllib3_version.split(".")[0]) == 1 +except (TypeError, AttributeError): + # If we can't discern a version, prefer old functionality. + is_urllib3_1 = True + +# ------------------- +# Character Detection +# ------------------- + + +def _resolve_char_detection(): + """Find supported character detection libraries.""" + chardet = None + return chardet + + +chardet = _resolve_char_detection() + +# ------- +# Pythons +# ------- + +# Syntax sugar. +_ver = sys.version_info + +#: Python 2.x? +is_py2 = _ver[0] == 2 + +#: Python 3.x? +is_py3 = _ver[0] == 3 + +# Note: We've patched out simplejson support in pip because it prevents +# upgrading simplejson on Windows. +import json +from json import JSONDecodeError + +# Keep OrderedDict for backwards compatibility. +from collections import OrderedDict +from collections.abc import Callable, Mapping, MutableMapping +from http import cookiejar as cookielib +from http.cookies import Morsel +from io import StringIO + +# -------------- +# Legacy Imports +# -------------- +from urllib.parse import ( + quote, + quote_plus, + unquote, + unquote_plus, + urldefrag, + urlencode, + urljoin, + urlparse, + urlsplit, + urlunparse, +) +from urllib.request import ( + getproxies, + getproxies_environment, + parse_http_list, + proxy_bypass, + proxy_bypass_environment, +) + +builtin_str = str +str = str +bytes = bytes +basestring = (str, bytes) +numeric_types = (int, float) +integer_types = (int,) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/cookies.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/cookies.py new file mode 100644 index 0000000000000000000000000000000000000000..f69d0cda9e1c893401015a09f2db2de5a5960fd2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/cookies.py @@ -0,0 +1,561 @@ +""" +requests.cookies +~~~~~~~~~~~~~~~~ + +Compatibility code to be able to use `http.cookiejar.CookieJar` with requests. + +requests.utils imports from here, so be careful with imports. +""" + +import calendar +import copy +import time + +from ._internal_utils import to_native_string +from .compat import Morsel, MutableMapping, cookielib, urlparse, urlunparse + +try: + import threading +except ImportError: + import dummy_threading as threading + + +class MockRequest: + """Wraps a `requests.Request` to mimic a `urllib2.Request`. + + The code in `http.cookiejar.CookieJar` expects this interface in order to correctly + manage cookie policies, i.e., determine whether a cookie can be set, given the + domains of the request and the cookie. + + The original request object is read-only. The client is responsible for collecting + the new headers via `get_new_headers()` and interpreting them appropriately. You + probably want `get_cookie_header`, defined below. + """ + + def __init__(self, request): + self._r = request + self._new_headers = {} + self.type = urlparse(self._r.url).scheme + + def get_type(self): + return self.type + + def get_host(self): + return urlparse(self._r.url).netloc + + def get_origin_req_host(self): + return self.get_host() + + def get_full_url(self): + # Only return the response's URL if the user hadn't set the Host + # header + if not self._r.headers.get("Host"): + return self._r.url + # If they did set it, retrieve it and reconstruct the expected domain + host = to_native_string(self._r.headers["Host"], encoding="utf-8") + parsed = urlparse(self._r.url) + # Reconstruct the URL as we expect it + return urlunparse( + [ + parsed.scheme, + host, + parsed.path, + parsed.params, + parsed.query, + parsed.fragment, + ] + ) + + def is_unverifiable(self): + return True + + def has_header(self, name): + return name in self._r.headers or name in self._new_headers + + def get_header(self, name, default=None): + return self._r.headers.get(name, self._new_headers.get(name, default)) + + def add_header(self, key, val): + """cookiejar has no legitimate use for this method; add it back if you find one.""" + raise NotImplementedError( + "Cookie headers should be added with add_unredirected_header()" + ) + + def add_unredirected_header(self, name, value): + self._new_headers[name] = value + + def get_new_headers(self): + return self._new_headers + + @property + def unverifiable(self): + return self.is_unverifiable() + + @property + def origin_req_host(self): + return self.get_origin_req_host() + + @property + def host(self): + return self.get_host() + + +class MockResponse: + """Wraps a `httplib.HTTPMessage` to mimic a `urllib.addinfourl`. + + ...what? Basically, expose the parsed HTTP headers from the server response + the way `http.cookiejar` expects to see them. + """ + + def __init__(self, headers): + """Make a MockResponse for `cookiejar` to read. + + :param headers: a httplib.HTTPMessage or analogous carrying the headers + """ + self._headers = headers + + def info(self): + return self._headers + + def getheaders(self, name): + self._headers.getheaders(name) + + +def extract_cookies_to_jar(jar, request, response): + """Extract the cookies from the response into a CookieJar. + + :param jar: http.cookiejar.CookieJar (not necessarily a RequestsCookieJar) + :param request: our own requests.Request object + :param response: urllib3.HTTPResponse object + """ + if not (hasattr(response, "_original_response") and response._original_response): + return + # the _original_response field is the wrapped httplib.HTTPResponse object, + req = MockRequest(request) + # pull out the HTTPMessage with the headers and put it in the mock: + res = MockResponse(response._original_response.msg) + jar.extract_cookies(res, req) + + +def get_cookie_header(jar, request): + """ + Produce an appropriate Cookie header string to be sent with `request`, or None. + + :rtype: str + """ + r = MockRequest(request) + jar.add_cookie_header(r) + return r.get_new_headers().get("Cookie") + + +def remove_cookie_by_name(cookiejar, name, domain=None, path=None): + """Unsets a cookie by name, by default over all domains and paths. + + Wraps CookieJar.clear(), is O(n). + """ + clearables = [] + for cookie in cookiejar: + if cookie.name != name: + continue + if domain is not None and domain != cookie.domain: + continue + if path is not None and path != cookie.path: + continue + clearables.append((cookie.domain, cookie.path, cookie.name)) + + for domain, path, name in clearables: + cookiejar.clear(domain, path, name) + + +class CookieConflictError(RuntimeError): + """There are two cookies that meet the criteria specified in the cookie jar. + Use .get and .set and include domain and path args in order to be more specific. + """ + + +class RequestsCookieJar(cookielib.CookieJar, MutableMapping): + """Compatibility class; is a http.cookiejar.CookieJar, but exposes a dict + interface. + + This is the CookieJar we create by default for requests and sessions that + don't specify one, since some clients may expect response.cookies and + session.cookies to support dict operations. + + Requests does not use the dict interface internally; it's just for + compatibility with external client code. All requests code should work + out of the box with externally provided instances of ``CookieJar``, e.g. + ``LWPCookieJar`` and ``FileCookieJar``. + + Unlike a regular CookieJar, this class is pickleable. + + .. warning:: dictionary operations that are normally O(1) may be O(n). + """ + + def get(self, name, default=None, domain=None, path=None): + """Dict-like get() that also supports optional domain and path args in + order to resolve naming collisions from using one cookie jar over + multiple domains. + + .. warning:: operation is O(n), not O(1). + """ + try: + return self._find_no_duplicates(name, domain, path) + except KeyError: + return default + + def set(self, name, value, **kwargs): + """Dict-like set() that also supports optional domain and path args in + order to resolve naming collisions from using one cookie jar over + multiple domains. + """ + # support client code that unsets cookies by assignment of a None value: + if value is None: + remove_cookie_by_name( + self, name, domain=kwargs.get("domain"), path=kwargs.get("path") + ) + return + + if isinstance(value, Morsel): + c = morsel_to_cookie(value) + else: + c = create_cookie(name, value, **kwargs) + self.set_cookie(c) + return c + + def iterkeys(self): + """Dict-like iterkeys() that returns an iterator of names of cookies + from the jar. + + .. seealso:: itervalues() and iteritems(). + """ + for cookie in iter(self): + yield cookie.name + + def keys(self): + """Dict-like keys() that returns a list of names of cookies from the + jar. + + .. seealso:: values() and items(). + """ + return list(self.iterkeys()) + + def itervalues(self): + """Dict-like itervalues() that returns an iterator of values of cookies + from the jar. + + .. seealso:: iterkeys() and iteritems(). + """ + for cookie in iter(self): + yield cookie.value + + def values(self): + """Dict-like values() that returns a list of values of cookies from the + jar. + + .. seealso:: keys() and items(). + """ + return list(self.itervalues()) + + def iteritems(self): + """Dict-like iteritems() that returns an iterator of name-value tuples + from the jar. + + .. seealso:: iterkeys() and itervalues(). + """ + for cookie in iter(self): + yield cookie.name, cookie.value + + def items(self): + """Dict-like items() that returns a list of name-value tuples from the + jar. Allows client-code to call ``dict(RequestsCookieJar)`` and get a + vanilla python dict of key value pairs. + + .. seealso:: keys() and values(). + """ + return list(self.iteritems()) + + def list_domains(self): + """Utility method to list all the domains in the jar.""" + domains = [] + for cookie in iter(self): + if cookie.domain not in domains: + domains.append(cookie.domain) + return domains + + def list_paths(self): + """Utility method to list all the paths in the jar.""" + paths = [] + for cookie in iter(self): + if cookie.path not in paths: + paths.append(cookie.path) + return paths + + def multiple_domains(self): + """Returns True if there are multiple domains in the jar. + Returns False otherwise. + + :rtype: bool + """ + domains = [] + for cookie in iter(self): + if cookie.domain is not None and cookie.domain in domains: + return True + domains.append(cookie.domain) + return False # there is only one domain in jar + + def get_dict(self, domain=None, path=None): + """Takes as an argument an optional domain and path and returns a plain + old Python dict of name-value pairs of cookies that meet the + requirements. + + :rtype: dict + """ + dictionary = {} + for cookie in iter(self): + if (domain is None or cookie.domain == domain) and ( + path is None or cookie.path == path + ): + dictionary[cookie.name] = cookie.value + return dictionary + + def __contains__(self, name): + try: + return super().__contains__(name) + except CookieConflictError: + return True + + def __getitem__(self, name): + """Dict-like __getitem__() for compatibility with client code. Throws + exception if there are more than one cookie with name. In that case, + use the more explicit get() method instead. + + .. warning:: operation is O(n), not O(1). + """ + return self._find_no_duplicates(name) + + def __setitem__(self, name, value): + """Dict-like __setitem__ for compatibility with client code. Throws + exception if there is already a cookie of that name in the jar. In that + case, use the more explicit set() method instead. + """ + self.set(name, value) + + def __delitem__(self, name): + """Deletes a cookie given a name. Wraps ``http.cookiejar.CookieJar``'s + ``remove_cookie_by_name()``. + """ + remove_cookie_by_name(self, name) + + def set_cookie(self, cookie, *args, **kwargs): + if ( + hasattr(cookie.value, "startswith") + and cookie.value.startswith('"') + and cookie.value.endswith('"') + ): + cookie.value = cookie.value.replace('\\"', "") + return super().set_cookie(cookie, *args, **kwargs) + + def update(self, other): + """Updates this jar with cookies from another CookieJar or dict-like""" + if isinstance(other, cookielib.CookieJar): + for cookie in other: + self.set_cookie(copy.copy(cookie)) + else: + super().update(other) + + def _find(self, name, domain=None, path=None): + """Requests uses this method internally to get cookie values. + + If there are conflicting cookies, _find arbitrarily chooses one. + See _find_no_duplicates if you want an exception thrown if there are + conflicting cookies. + + :param name: a string containing name of cookie + :param domain: (optional) string containing domain of cookie + :param path: (optional) string containing path of cookie + :return: cookie.value + """ + for cookie in iter(self): + if cookie.name == name: + if domain is None or cookie.domain == domain: + if path is None or cookie.path == path: + return cookie.value + + raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}") + + def _find_no_duplicates(self, name, domain=None, path=None): + """Both ``__get_item__`` and ``get`` call this function: it's never + used elsewhere in Requests. + + :param name: a string containing name of cookie + :param domain: (optional) string containing domain of cookie + :param path: (optional) string containing path of cookie + :raises KeyError: if cookie is not found + :raises CookieConflictError: if there are multiple cookies + that match name and optionally domain and path + :return: cookie.value + """ + toReturn = None + for cookie in iter(self): + if cookie.name == name: + if domain is None or cookie.domain == domain: + if path is None or cookie.path == path: + if toReturn is not None: + # if there are multiple cookies that meet passed in criteria + raise CookieConflictError( + f"There are multiple cookies with name, {name!r}" + ) + # we will eventually return this as long as no cookie conflict + toReturn = cookie.value + + if toReturn: + return toReturn + raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}") + + def __getstate__(self): + """Unlike a normal CookieJar, this class is pickleable.""" + state = self.__dict__.copy() + # remove the unpickleable RLock object + state.pop("_cookies_lock") + return state + + def __setstate__(self, state): + """Unlike a normal CookieJar, this class is pickleable.""" + self.__dict__.update(state) + if "_cookies_lock" not in self.__dict__: + self._cookies_lock = threading.RLock() + + def copy(self): + """Return a copy of this RequestsCookieJar.""" + new_cj = RequestsCookieJar() + new_cj.set_policy(self.get_policy()) + new_cj.update(self) + return new_cj + + def get_policy(self): + """Return the CookiePolicy instance used.""" + return self._policy + + +def _copy_cookie_jar(jar): + if jar is None: + return None + + if hasattr(jar, "copy"): + # We're dealing with an instance of RequestsCookieJar + return jar.copy() + # We're dealing with a generic CookieJar instance + new_jar = copy.copy(jar) + new_jar.clear() + for cookie in jar: + new_jar.set_cookie(copy.copy(cookie)) + return new_jar + + +def create_cookie(name, value, **kwargs): + """Make a cookie from underspecified parameters. + + By default, the pair of `name` and `value` will be set for the domain '' + and sent on every request (this is sometimes called a "supercookie"). + """ + result = { + "version": 0, + "name": name, + "value": value, + "port": None, + "domain": "", + "path": "/", + "secure": False, + "expires": None, + "discard": True, + "comment": None, + "comment_url": None, + "rest": {"HttpOnly": None}, + "rfc2109": False, + } + + badargs = set(kwargs) - set(result) + if badargs: + raise TypeError( + f"create_cookie() got unexpected keyword arguments: {list(badargs)}" + ) + + result.update(kwargs) + result["port_specified"] = bool(result["port"]) + result["domain_specified"] = bool(result["domain"]) + result["domain_initial_dot"] = result["domain"].startswith(".") + result["path_specified"] = bool(result["path"]) + + return cookielib.Cookie(**result) + + +def morsel_to_cookie(morsel): + """Convert a Morsel object into a Cookie containing the one k/v pair.""" + + expires = None + if morsel["max-age"]: + try: + expires = int(time.time() + int(morsel["max-age"])) + except ValueError: + raise TypeError(f"max-age: {morsel['max-age']} must be integer") + elif morsel["expires"]: + time_template = "%a, %d-%b-%Y %H:%M:%S GMT" + expires = calendar.timegm(time.strptime(morsel["expires"], time_template)) + return create_cookie( + comment=morsel["comment"], + comment_url=bool(morsel["comment"]), + discard=False, + domain=morsel["domain"], + expires=expires, + name=morsel.key, + path=morsel["path"], + port=None, + rest={"HttpOnly": morsel["httponly"]}, + rfc2109=False, + secure=bool(morsel["secure"]), + value=morsel.value, + version=morsel["version"] or 0, + ) + + +def cookiejar_from_dict(cookie_dict, cookiejar=None, overwrite=True): + """Returns a CookieJar from a key/value dictionary. + + :param cookie_dict: Dict of key/values to insert into CookieJar. + :param cookiejar: (optional) A cookiejar to add the cookies to. + :param overwrite: (optional) If False, will not replace cookies + already in the jar with new ones. + :rtype: CookieJar + """ + if cookiejar is None: + cookiejar = RequestsCookieJar() + + if cookie_dict is not None: + names_from_jar = [cookie.name for cookie in cookiejar] + for name in cookie_dict: + if overwrite or (name not in names_from_jar): + cookiejar.set_cookie(create_cookie(name, cookie_dict[name])) + + return cookiejar + + +def merge_cookies(cookiejar, cookies): + """Add cookies to cookiejar and returns a merged CookieJar. + + :param cookiejar: CookieJar object to add the cookies to. + :param cookies: Dictionary or CookieJar object to be added. + :rtype: CookieJar + """ + if not isinstance(cookiejar, cookielib.CookieJar): + raise ValueError("You can only merge into CookieJar") + + if isinstance(cookies, dict): + cookiejar = cookiejar_from_dict(cookies, cookiejar=cookiejar, overwrite=False) + elif isinstance(cookies, cookielib.CookieJar): + try: + cookiejar.update(cookies) + except AttributeError: + for cookie_in_jar in cookies: + cookiejar.set_cookie(cookie_in_jar) + + return cookiejar diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..7f3660f00d9bd4525490d411af471d0333654ea0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/exceptions.py @@ -0,0 +1,151 @@ +""" +requests.exceptions +~~~~~~~~~~~~~~~~~~~ + +This module contains the set of Requests' exceptions. +""" +from pip._vendor.urllib3.exceptions import HTTPError as BaseHTTPError + +from .compat import JSONDecodeError as CompatJSONDecodeError + + +class RequestException(IOError): + """There was an ambiguous exception that occurred while handling your + request. + """ + + def __init__(self, *args, **kwargs): + """Initialize RequestException with `request` and `response` objects.""" + response = kwargs.pop("response", None) + self.response = response + self.request = kwargs.pop("request", None) + if response is not None and not self.request and hasattr(response, "request"): + self.request = self.response.request + super().__init__(*args, **kwargs) + + +class InvalidJSONError(RequestException): + """A JSON error occurred.""" + + +class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): + """Couldn't decode the text into json""" + + def __init__(self, *args, **kwargs): + """ + Construct the JSONDecodeError instance first with all + args. Then use it's args to construct the IOError so that + the json specific args aren't used as IOError specific args + and the error message from JSONDecodeError is preserved. + """ + CompatJSONDecodeError.__init__(self, *args) + InvalidJSONError.__init__(self, *self.args, **kwargs) + + def __reduce__(self): + """ + The __reduce__ method called when pickling the object must + be the one from the JSONDecodeError (be it json/simplejson) + as it expects all the arguments for instantiation, not just + one like the IOError, and the MRO would by default call the + __reduce__ method from the IOError due to the inheritance order. + """ + return CompatJSONDecodeError.__reduce__(self) + + +class HTTPError(RequestException): + """An HTTP error occurred.""" + + +class ConnectionError(RequestException): + """A Connection error occurred.""" + + +class ProxyError(ConnectionError): + """A proxy error occurred.""" + + +class SSLError(ConnectionError): + """An SSL error occurred.""" + + +class Timeout(RequestException): + """The request timed out. + + Catching this error will catch both + :exc:`~requests.exceptions.ConnectTimeout` and + :exc:`~requests.exceptions.ReadTimeout` errors. + """ + + +class ConnectTimeout(ConnectionError, Timeout): + """The request timed out while trying to connect to the remote server. + + Requests that produced this error are safe to retry. + """ + + +class ReadTimeout(Timeout): + """The server did not send any data in the allotted amount of time.""" + + +class URLRequired(RequestException): + """A valid URL is required to make a request.""" + + +class TooManyRedirects(RequestException): + """Too many redirects.""" + + +class MissingSchema(RequestException, ValueError): + """The URL scheme (e.g. http or https) is missing.""" + + +class InvalidSchema(RequestException, ValueError): + """The URL scheme provided is either invalid or unsupported.""" + + +class InvalidURL(RequestException, ValueError): + """The URL provided was somehow invalid.""" + + +class InvalidHeader(RequestException, ValueError): + """The header value provided was somehow invalid.""" + + +class InvalidProxyURL(InvalidURL): + """The proxy URL provided is invalid.""" + + +class ChunkedEncodingError(RequestException): + """The server declared chunked encoding but sent an invalid chunk.""" + + +class ContentDecodingError(RequestException, BaseHTTPError): + """Failed to decode response content.""" + + +class StreamConsumedError(RequestException, TypeError): + """The content for this response was already consumed.""" + + +class RetryError(RequestException): + """Custom retries logic failed""" + + +class UnrewindableBodyError(RequestException): + """Requests encountered an error when trying to rewind a body.""" + + +# Warnings + + +class RequestsWarning(Warning): + """Base warning for Requests.""" + + +class FileModeWarning(RequestsWarning, DeprecationWarning): + """A file was opened in text mode, but Requests determined its binary length.""" + + +class RequestsDependencyWarning(RequestsWarning): + """An imported dependency doesn't match the expected version range.""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/help.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/help.py new file mode 100644 index 0000000000000000000000000000000000000000..ddbb6150d644cf13ffd365f40c4e01d73a9cab32 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/help.py @@ -0,0 +1,127 @@ +"""Module containing bug report helper(s).""" + +import json +import platform +import ssl +import sys + +from pip._vendor import idna +from pip._vendor import urllib3 + +from . import __version__ as requests_version + +charset_normalizer = None +chardet = None + +try: + from pip._vendor.urllib3.contrib import pyopenssl +except ImportError: + pyopenssl = None + OpenSSL = None + cryptography = None +else: + import cryptography + import OpenSSL + + +def _implementation(): + """Return a dict with the Python implementation and version. + + Provide both the name and the version of the Python implementation + currently running. For example, on CPython 3.10.3 it will return + {'name': 'CPython', 'version': '3.10.3'}. + + This function works best on CPython and PyPy: in particular, it probably + doesn't work for Jython or IronPython. Future investigation should be done + to work out the correct shape of the code for those platforms. + """ + implementation = platform.python_implementation() + + if implementation == "CPython": + implementation_version = platform.python_version() + elif implementation == "PyPy": + implementation_version = "{}.{}.{}".format( + sys.pypy_version_info.major, + sys.pypy_version_info.minor, + sys.pypy_version_info.micro, + ) + if sys.pypy_version_info.releaselevel != "final": + implementation_version = "".join( + [implementation_version, sys.pypy_version_info.releaselevel] + ) + elif implementation == "Jython": + implementation_version = platform.python_version() # Complete Guess + elif implementation == "IronPython": + implementation_version = platform.python_version() # Complete Guess + else: + implementation_version = "Unknown" + + return {"name": implementation, "version": implementation_version} + + +def info(): + """Generate information for a bug report.""" + try: + platform_info = { + "system": platform.system(), + "release": platform.release(), + } + except OSError: + platform_info = { + "system": "Unknown", + "release": "Unknown", + } + + implementation_info = _implementation() + urllib3_info = {"version": urllib3.__version__} + charset_normalizer_info = {"version": None} + chardet_info = {"version": None} + if charset_normalizer: + charset_normalizer_info = {"version": charset_normalizer.__version__} + if chardet: + chardet_info = {"version": chardet.__version__} + + pyopenssl_info = { + "version": None, + "openssl_version": "", + } + if OpenSSL: + pyopenssl_info = { + "version": OpenSSL.__version__, + "openssl_version": f"{OpenSSL.SSL.OPENSSL_VERSION_NUMBER:x}", + } + cryptography_info = { + "version": getattr(cryptography, "__version__", ""), + } + idna_info = { + "version": getattr(idna, "__version__", ""), + } + + system_ssl = ssl.OPENSSL_VERSION_NUMBER + system_ssl_info = {"version": f"{system_ssl:x}" if system_ssl is not None else ""} + + return { + "platform": platform_info, + "implementation": implementation_info, + "system_ssl": system_ssl_info, + "using_pyopenssl": pyopenssl is not None, + "using_charset_normalizer": chardet is None, + "pyOpenSSL": pyopenssl_info, + "urllib3": urllib3_info, + "chardet": chardet_info, + "charset_normalizer": charset_normalizer_info, + "cryptography": cryptography_info, + "idna": idna_info, + "requests": { + "version": requests_version, + }, + } + + +def main(): + """Pretty-print the bug information as JSON.""" + print(json.dumps(info(), sort_keys=True, indent=2)) + + +if __name__ == "__main__": + main() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/hooks.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/hooks.py new file mode 100644 index 0000000000000000000000000000000000000000..d181ba2ec2e55d274897315887b78fbdca757da8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/hooks.py @@ -0,0 +1,33 @@ +""" +requests.hooks +~~~~~~~~~~~~~~ + +This module provides the capabilities for the Requests hooks system. + +Available hooks: + +``response``: + The response generated from a Request. +""" +HOOKS = ["response"] + + +def default_hooks(): + return {event: [] for event in HOOKS} + + +# TODO: response is the only one + + +def dispatch_hook(key, hooks, hook_data, **kwargs): + """Dispatches a hook dictionary on a given piece of data.""" + hooks = hooks or {} + hooks = hooks.get(key) + if hooks: + if hasattr(hooks, "__call__"): + hooks = [hooks] + for hook in hooks: + _hook_data = hook(hook_data, **kwargs) + if _hook_data is not None: + hook_data = _hook_data + return hook_data diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/models.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/models.py new file mode 100644 index 0000000000000000000000000000000000000000..22de95c0612b06d1351dde9dbb78b6618cc2ef53 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/models.py @@ -0,0 +1,1039 @@ +""" +requests.models +~~~~~~~~~~~~~~~ + +This module contains the primary objects that power Requests. +""" + +import datetime + +# Import encoding now, to avoid implicit import later. +# Implicit import within threads may cause LookupError when standard library is in a ZIP, +# such as in Embedded Python. See https://github.com/psf/requests/issues/3578. +import encodings.idna # noqa: F401 +from io import UnsupportedOperation + +from pip._vendor.urllib3.exceptions import ( + DecodeError, + LocationParseError, + ProtocolError, + ReadTimeoutError, + SSLError, +) +from pip._vendor.urllib3.fields import RequestField +from pip._vendor.urllib3.filepost import encode_multipart_formdata +from pip._vendor.urllib3.util import parse_url + +from ._internal_utils import to_native_string, unicode_is_ascii +from .auth import HTTPBasicAuth +from .compat import ( + Callable, + JSONDecodeError, + Mapping, + basestring, + builtin_str, + chardet, + cookielib, +) +from .compat import json as complexjson +from .compat import urlencode, urlsplit, urlunparse +from .cookies import _copy_cookie_jar, cookiejar_from_dict, get_cookie_header +from .exceptions import ( + ChunkedEncodingError, + ConnectionError, + ContentDecodingError, + HTTPError, + InvalidJSONError, + InvalidURL, +) +from .exceptions import JSONDecodeError as RequestsJSONDecodeError +from .exceptions import MissingSchema +from .exceptions import SSLError as RequestsSSLError +from .exceptions import StreamConsumedError +from .hooks import default_hooks +from .status_codes import codes +from .structures import CaseInsensitiveDict +from .utils import ( + check_header_validity, + get_auth_from_url, + guess_filename, + guess_json_utf, + iter_slices, + parse_header_links, + requote_uri, + stream_decode_response_unicode, + super_len, + to_key_val_list, +) + +#: The set of HTTP status codes that indicate an automatically +#: processable redirect. +REDIRECT_STATI = ( + codes.moved, # 301 + codes.found, # 302 + codes.other, # 303 + codes.temporary_redirect, # 307 + codes.permanent_redirect, # 308 +) + +DEFAULT_REDIRECT_LIMIT = 30 +CONTENT_CHUNK_SIZE = 10 * 1024 +ITER_CHUNK_SIZE = 512 + + +class RequestEncodingMixin: + @property + def path_url(self): + """Build the path URL to use.""" + + url = [] + + p = urlsplit(self.url) + + path = p.path + if not path: + path = "/" + + url.append(path) + + query = p.query + if query: + url.append("?") + url.append(query) + + return "".join(url) + + @staticmethod + def _encode_params(data): + """Encode parameters in a piece of data. + + Will successfully encode parameters when passed as a dict or a list of + 2-tuples. Order is retained if data is a list of 2-tuples but arbitrary + if parameters are supplied as a dict. + """ + + if isinstance(data, (str, bytes)): + return data + elif hasattr(data, "read"): + return data + elif hasattr(data, "__iter__"): + result = [] + for k, vs in to_key_val_list(data): + if isinstance(vs, basestring) or not hasattr(vs, "__iter__"): + vs = [vs] + for v in vs: + if v is not None: + result.append( + ( + k.encode("utf-8") if isinstance(k, str) else k, + v.encode("utf-8") if isinstance(v, str) else v, + ) + ) + return urlencode(result, doseq=True) + else: + return data + + @staticmethod + def _encode_files(files, data): + """Build the body for a multipart/form-data request. + + Will successfully encode files when passed as a dict or a list of + tuples. Order is retained if data is a list of tuples but arbitrary + if parameters are supplied as a dict. + The tuples may be 2-tuples (filename, fileobj), 3-tuples (filename, fileobj, contentype) + or 4-tuples (filename, fileobj, contentype, custom_headers). + """ + if not files: + raise ValueError("Files must be provided.") + elif isinstance(data, basestring): + raise ValueError("Data must not be a string.") + + new_fields = [] + fields = to_key_val_list(data or {}) + files = to_key_val_list(files or {}) + + for field, val in fields: + if isinstance(val, basestring) or not hasattr(val, "__iter__"): + val = [val] + for v in val: + if v is not None: + # Don't call str() on bytestrings: in Py3 it all goes wrong. + if not isinstance(v, bytes): + v = str(v) + + new_fields.append( + ( + field.decode("utf-8") + if isinstance(field, bytes) + else field, + v.encode("utf-8") if isinstance(v, str) else v, + ) + ) + + for k, v in files: + # support for explicit filename + ft = None + fh = None + if isinstance(v, (tuple, list)): + if len(v) == 2: + fn, fp = v + elif len(v) == 3: + fn, fp, ft = v + else: + fn, fp, ft, fh = v + else: + fn = guess_filename(v) or k + fp = v + + if isinstance(fp, (str, bytes, bytearray)): + fdata = fp + elif hasattr(fp, "read"): + fdata = fp.read() + elif fp is None: + continue + else: + fdata = fp + + rf = RequestField(name=k, data=fdata, filename=fn, headers=fh) + rf.make_multipart(content_type=ft) + new_fields.append(rf) + + body, content_type = encode_multipart_formdata(new_fields) + + return body, content_type + + +class RequestHooksMixin: + def register_hook(self, event, hook): + """Properly register a hook.""" + + if event not in self.hooks: + raise ValueError(f'Unsupported event specified, with event name "{event}"') + + if isinstance(hook, Callable): + self.hooks[event].append(hook) + elif hasattr(hook, "__iter__"): + self.hooks[event].extend(h for h in hook if isinstance(h, Callable)) + + def deregister_hook(self, event, hook): + """Deregister a previously registered hook. + Returns True if the hook existed, False if not. + """ + + try: + self.hooks[event].remove(hook) + return True + except ValueError: + return False + + +class Request(RequestHooksMixin): + """A user-created :class:`Request ` object. + + Used to prepare a :class:`PreparedRequest `, which is sent to the server. + + :param method: HTTP method to use. + :param url: URL to send. + :param headers: dictionary of headers to send. + :param files: dictionary of {filename: fileobject} files to multipart upload. + :param data: the body to attach to the request. If a dictionary or + list of tuples ``[(key, value)]`` is provided, form-encoding will + take place. + :param json: json for the body to attach to the request (if files or data is not specified). + :param params: URL parameters to append to the URL. If a dictionary or + list of tuples ``[(key, value)]`` is provided, form-encoding will + take place. + :param auth: Auth handler or (user, pass) tuple. + :param cookies: dictionary or CookieJar of cookies to attach to this request. + :param hooks: dictionary of callback hooks, for internal usage. + + Usage:: + + >>> import requests + >>> req = requests.Request('GET', 'https://httpbin.org/get') + >>> req.prepare() + + """ + + def __init__( + self, + method=None, + url=None, + headers=None, + files=None, + data=None, + params=None, + auth=None, + cookies=None, + hooks=None, + json=None, + ): + # Default empty dicts for dict params. + data = [] if data is None else data + files = [] if files is None else files + headers = {} if headers is None else headers + params = {} if params is None else params + hooks = {} if hooks is None else hooks + + self.hooks = default_hooks() + for k, v in list(hooks.items()): + self.register_hook(event=k, hook=v) + + self.method = method + self.url = url + self.headers = headers + self.files = files + self.data = data + self.json = json + self.params = params + self.auth = auth + self.cookies = cookies + + def __repr__(self): + return f"" + + def prepare(self): + """Constructs a :class:`PreparedRequest ` for transmission and returns it.""" + p = PreparedRequest() + p.prepare( + method=self.method, + url=self.url, + headers=self.headers, + files=self.files, + data=self.data, + json=self.json, + params=self.params, + auth=self.auth, + cookies=self.cookies, + hooks=self.hooks, + ) + return p + + +class PreparedRequest(RequestEncodingMixin, RequestHooksMixin): + """The fully mutable :class:`PreparedRequest ` object, + containing the exact bytes that will be sent to the server. + + Instances are generated from a :class:`Request ` object, and + should not be instantiated manually; doing so may produce undesirable + effects. + + Usage:: + + >>> import requests + >>> req = requests.Request('GET', 'https://httpbin.org/get') + >>> r = req.prepare() + >>> r + + + >>> s = requests.Session() + >>> s.send(r) + + """ + + def __init__(self): + #: HTTP verb to send to the server. + self.method = None + #: HTTP URL to send the request to. + self.url = None + #: dictionary of HTTP headers. + self.headers = None + # The `CookieJar` used to create the Cookie header will be stored here + # after prepare_cookies is called + self._cookies = None + #: request body to send to the server. + self.body = None + #: dictionary of callback hooks, for internal usage. + self.hooks = default_hooks() + #: integer denoting starting position of a readable file-like body. + self._body_position = None + + def prepare( + self, + method=None, + url=None, + headers=None, + files=None, + data=None, + params=None, + auth=None, + cookies=None, + hooks=None, + json=None, + ): + """Prepares the entire request with the given parameters.""" + + self.prepare_method(method) + self.prepare_url(url, params) + self.prepare_headers(headers) + self.prepare_cookies(cookies) + self.prepare_body(data, files, json) + self.prepare_auth(auth, url) + + # Note that prepare_auth must be last to enable authentication schemes + # such as OAuth to work on a fully prepared request. + + # This MUST go after prepare_auth. Authenticators could add a hook + self.prepare_hooks(hooks) + + def __repr__(self): + return f"" + + def copy(self): + p = PreparedRequest() + p.method = self.method + p.url = self.url + p.headers = self.headers.copy() if self.headers is not None else None + p._cookies = _copy_cookie_jar(self._cookies) + p.body = self.body + p.hooks = self.hooks + p._body_position = self._body_position + return p + + def prepare_method(self, method): + """Prepares the given HTTP method.""" + self.method = method + if self.method is not None: + self.method = to_native_string(self.method.upper()) + + @staticmethod + def _get_idna_encoded_host(host): + from pip._vendor import idna + + try: + host = idna.encode(host, uts46=True).decode("utf-8") + except idna.IDNAError: + raise UnicodeError + return host + + def prepare_url(self, url, params): + """Prepares the given HTTP URL.""" + #: Accept objects that have string representations. + #: We're unable to blindly call unicode/str functions + #: as this will include the bytestring indicator (b'') + #: on python 3.x. + #: https://github.com/psf/requests/pull/2238 + if isinstance(url, bytes): + url = url.decode("utf8") + else: + url = str(url) + + # Remove leading whitespaces from url + url = url.lstrip() + + # Don't do any URL preparation for non-HTTP schemes like `mailto`, + # `data` etc to work around exceptions from `url_parse`, which + # handles RFC 3986 only. + if ":" in url and not url.lower().startswith("http"): + self.url = url + return + + # Support for unicode domain names and paths. + try: + scheme, auth, host, port, path, query, fragment = parse_url(url) + except LocationParseError as e: + raise InvalidURL(*e.args) + + if not scheme: + raise MissingSchema( + f"Invalid URL {url!r}: No scheme supplied. " + f"Perhaps you meant https://{url}?" + ) + + if not host: + raise InvalidURL(f"Invalid URL {url!r}: No host supplied") + + # In general, we want to try IDNA encoding the hostname if the string contains + # non-ASCII characters. This allows users to automatically get the correct IDNA + # behaviour. For strings containing only ASCII characters, we need to also verify + # it doesn't start with a wildcard (*), before allowing the unencoded hostname. + if not unicode_is_ascii(host): + try: + host = self._get_idna_encoded_host(host) + except UnicodeError: + raise InvalidURL("URL has an invalid label.") + elif host.startswith(("*", ".")): + raise InvalidURL("URL has an invalid label.") + + # Carefully reconstruct the network location + netloc = auth or "" + if netloc: + netloc += "@" + netloc += host + if port: + netloc += f":{port}" + + # Bare domains aren't valid URLs. + if not path: + path = "/" + + if isinstance(params, (str, bytes)): + params = to_native_string(params) + + enc_params = self._encode_params(params) + if enc_params: + if query: + query = f"{query}&{enc_params}" + else: + query = enc_params + + url = requote_uri(urlunparse([scheme, netloc, path, None, query, fragment])) + self.url = url + + def prepare_headers(self, headers): + """Prepares the given HTTP headers.""" + + self.headers = CaseInsensitiveDict() + if headers: + for header in headers.items(): + # Raise exception on invalid header value. + check_header_validity(header) + name, value = header + self.headers[to_native_string(name)] = value + + def prepare_body(self, data, files, json=None): + """Prepares the given HTTP body data.""" + + # Check if file, fo, generator, iterator. + # If not, run through normal process. + + # Nottin' on you. + body = None + content_type = None + + if not data and json is not None: + # urllib3 requires a bytes-like body. Python 2's json.dumps + # provides this natively, but Python 3 gives a Unicode string. + content_type = "application/json" + + try: + body = complexjson.dumps(json, allow_nan=False) + except ValueError as ve: + raise InvalidJSONError(ve, request=self) + + if not isinstance(body, bytes): + body = body.encode("utf-8") + + is_stream = all( + [ + hasattr(data, "__iter__"), + not isinstance(data, (basestring, list, tuple, Mapping)), + ] + ) + + if is_stream: + try: + length = super_len(data) + except (TypeError, AttributeError, UnsupportedOperation): + length = None + + body = data + + if getattr(body, "tell", None) is not None: + # Record the current file position before reading. + # This will allow us to rewind a file in the event + # of a redirect. + try: + self._body_position = body.tell() + except OSError: + # This differentiates from None, allowing us to catch + # a failed `tell()` later when trying to rewind the body + self._body_position = object() + + if files: + raise NotImplementedError( + "Streamed bodies and files are mutually exclusive." + ) + + if length: + self.headers["Content-Length"] = builtin_str(length) + else: + self.headers["Transfer-Encoding"] = "chunked" + else: + # Multi-part file uploads. + if files: + (body, content_type) = self._encode_files(files, data) + else: + if data: + body = self._encode_params(data) + if isinstance(data, basestring) or hasattr(data, "read"): + content_type = None + else: + content_type = "application/x-www-form-urlencoded" + + self.prepare_content_length(body) + + # Add content-type if it wasn't explicitly provided. + if content_type and ("content-type" not in self.headers): + self.headers["Content-Type"] = content_type + + self.body = body + + def prepare_content_length(self, body): + """Prepare Content-Length header based on request method and body""" + if body is not None: + length = super_len(body) + if length: + # If length exists, set it. Otherwise, we fallback + # to Transfer-Encoding: chunked. + self.headers["Content-Length"] = builtin_str(length) + elif ( + self.method not in ("GET", "HEAD") + and self.headers.get("Content-Length") is None + ): + # Set Content-Length to 0 for methods that can have a body + # but don't provide one. (i.e. not GET or HEAD) + self.headers["Content-Length"] = "0" + + def prepare_auth(self, auth, url=""): + """Prepares the given HTTP auth data.""" + + # If no Auth is explicitly provided, extract it from the URL first. + if auth is None: + url_auth = get_auth_from_url(self.url) + auth = url_auth if any(url_auth) else None + + if auth: + if isinstance(auth, tuple) and len(auth) == 2: + # special-case basic HTTP auth + auth = HTTPBasicAuth(*auth) + + # Allow auth to make its changes. + r = auth(self) + + # Update self to reflect the auth changes. + self.__dict__.update(r.__dict__) + + # Recompute Content-Length + self.prepare_content_length(self.body) + + def prepare_cookies(self, cookies): + """Prepares the given HTTP cookie data. + + This function eventually generates a ``Cookie`` header from the + given cookies using cookielib. Due to cookielib's design, the header + will not be regenerated if it already exists, meaning this function + can only be called once for the life of the + :class:`PreparedRequest ` object. Any subsequent calls + to ``prepare_cookies`` will have no actual effect, unless the "Cookie" + header is removed beforehand. + """ + if isinstance(cookies, cookielib.CookieJar): + self._cookies = cookies + else: + self._cookies = cookiejar_from_dict(cookies) + + cookie_header = get_cookie_header(self._cookies, self) + if cookie_header is not None: + self.headers["Cookie"] = cookie_header + + def prepare_hooks(self, hooks): + """Prepares the given hooks.""" + # hooks can be passed as None to the prepare method and to this + # method. To prevent iterating over None, simply use an empty list + # if hooks is False-y + hooks = hooks or [] + for event in hooks: + self.register_hook(event, hooks[event]) + + +class Response: + """The :class:`Response ` object, which contains a + server's response to an HTTP request. + """ + + __attrs__ = [ + "_content", + "status_code", + "headers", + "url", + "history", + "encoding", + "reason", + "cookies", + "elapsed", + "request", + ] + + def __init__(self): + self._content = False + self._content_consumed = False + self._next = None + + #: Integer Code of responded HTTP Status, e.g. 404 or 200. + self.status_code = None + + #: Case-insensitive Dictionary of Response Headers. + #: For example, ``headers['content-encoding']`` will return the + #: value of a ``'Content-Encoding'`` response header. + self.headers = CaseInsensitiveDict() + + #: File-like object representation of response (for advanced usage). + #: Use of ``raw`` requires that ``stream=True`` be set on the request. + #: This requirement does not apply for use internally to Requests. + self.raw = None + + #: Final URL location of Response. + self.url = None + + #: Encoding to decode with when accessing r.text. + self.encoding = None + + #: A list of :class:`Response ` objects from + #: the history of the Request. Any redirect responses will end + #: up here. The list is sorted from the oldest to the most recent request. + self.history = [] + + #: Textual reason of responded HTTP Status, e.g. "Not Found" or "OK". + self.reason = None + + #: A CookieJar of Cookies the server sent back. + self.cookies = cookiejar_from_dict({}) + + #: The amount of time elapsed between sending the request + #: and the arrival of the response (as a timedelta). + #: This property specifically measures the time taken between sending + #: the first byte of the request and finishing parsing the headers. It + #: is therefore unaffected by consuming the response content or the + #: value of the ``stream`` keyword argument. + self.elapsed = datetime.timedelta(0) + + #: The :class:`PreparedRequest ` object to which this + #: is a response. + self.request = None + + def __enter__(self): + return self + + def __exit__(self, *args): + self.close() + + def __getstate__(self): + # Consume everything; accessing the content attribute makes + # sure the content has been fully read. + if not self._content_consumed: + self.content + + return {attr: getattr(self, attr, None) for attr in self.__attrs__} + + def __setstate__(self, state): + for name, value in state.items(): + setattr(self, name, value) + + # pickled objects do not have .raw + setattr(self, "_content_consumed", True) + setattr(self, "raw", None) + + def __repr__(self): + return f"" + + def __bool__(self): + """Returns True if :attr:`status_code` is less than 400. + + This attribute checks if the status code of the response is between + 400 and 600 to see if there was a client error or a server error. If + the status code, is between 200 and 400, this will return True. This + is **not** a check to see if the response code is ``200 OK``. + """ + return self.ok + + def __nonzero__(self): + """Returns True if :attr:`status_code` is less than 400. + + This attribute checks if the status code of the response is between + 400 and 600 to see if there was a client error or a server error. If + the status code, is between 200 and 400, this will return True. This + is **not** a check to see if the response code is ``200 OK``. + """ + return self.ok + + def __iter__(self): + """Allows you to use a response as an iterator.""" + return self.iter_content(128) + + @property + def ok(self): + """Returns True if :attr:`status_code` is less than 400, False if not. + + This attribute checks if the status code of the response is between + 400 and 600 to see if there was a client error or a server error. If + the status code is between 200 and 400, this will return True. This + is **not** a check to see if the response code is ``200 OK``. + """ + try: + self.raise_for_status() + except HTTPError: + return False + return True + + @property + def is_redirect(self): + """True if this Response is a well-formed HTTP redirect that could have + been processed automatically (by :meth:`Session.resolve_redirects`). + """ + return "location" in self.headers and self.status_code in REDIRECT_STATI + + @property + def is_permanent_redirect(self): + """True if this Response one of the permanent versions of redirect.""" + return "location" in self.headers and self.status_code in ( + codes.moved_permanently, + codes.permanent_redirect, + ) + + @property + def next(self): + """Returns a PreparedRequest for the next request in a redirect chain, if there is one.""" + return self._next + + @property + def apparent_encoding(self): + """The apparent encoding, provided by the charset_normalizer or chardet libraries.""" + if chardet is not None: + return chardet.detect(self.content)["encoding"] + else: + # If no character detection library is available, we'll fall back + # to a standard Python utf-8 str. + return "utf-8" + + def iter_content(self, chunk_size=1, decode_unicode=False): + """Iterates over the response data. When stream=True is set on the + request, this avoids reading the content at once into memory for + large responses. The chunk size is the number of bytes it should + read into memory. This is not necessarily the length of each item + returned as decoding can take place. + + chunk_size must be of type int or None. A value of None will + function differently depending on the value of `stream`. + stream=True will read data as it arrives in whatever size the + chunks are received. If stream=False, data is returned as + a single chunk. + + If decode_unicode is True, content will be decoded using the best + available encoding based on the response. + """ + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: + yield from self.raw.stream(chunk_size, decode_content=True) + except ProtocolError as e: + raise ChunkedEncodingError(e) + except DecodeError as e: + raise ContentDecodingError(e) + except ReadTimeoutError as e: + raise ConnectionError(e) + except SSLError as e: + raise RequestsSSLError(e) + else: + # Standard file-like object. + while True: + chunk = self.raw.read(chunk_size) + if not chunk: + break + yield chunk + + self._content_consumed = True + + if self._content_consumed and isinstance(self._content, bool): + raise StreamConsumedError() + elif chunk_size is not None and not isinstance(chunk_size, int): + raise TypeError( + f"chunk_size must be an int, it is instead a {type(chunk_size)}." + ) + # simulate reading small chunks of the content + reused_chunks = iter_slices(self._content, chunk_size) + + stream_chunks = generate() + + chunks = reused_chunks if self._content_consumed else stream_chunks + + if decode_unicode: + chunks = stream_decode_response_unicode(chunks, self) + + return chunks + + def iter_lines( + self, chunk_size=ITER_CHUNK_SIZE, decode_unicode=False, delimiter=None + ): + """Iterates over the response data, one line at a time. When + stream=True is set on the request, this avoids reading the + content at once into memory for large responses. + + .. note:: This method is not reentrant safe. + """ + + pending = None + + for chunk in self.iter_content( + chunk_size=chunk_size, decode_unicode=decode_unicode + ): + if pending is not None: + chunk = pending + chunk + + if delimiter: + lines = chunk.split(delimiter) + else: + lines = chunk.splitlines() + + if lines and lines[-1] and chunk and lines[-1][-1] == chunk[-1]: + pending = lines.pop() + else: + pending = None + + yield from lines + + if pending is not None: + yield pending + + @property + def content(self): + """Content of the response, in bytes.""" + + if self._content is False: + # Read the contents. + if self._content_consumed: + raise RuntimeError("The content for this response was already consumed") + + if self.status_code == 0 or self.raw is None: + self._content = None + else: + self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b"" + + self._content_consumed = True + # don't need to release the connection; that's been handled by urllib3 + # since we exhausted the data. + return self._content + + @property + def text(self): + """Content of the response, in unicode. + + If Response.encoding is None, encoding will be guessed using + ``charset_normalizer`` or ``chardet``. + + The encoding of the response content is determined based solely on HTTP + headers, following RFC 2616 to the letter. If you can take advantage of + non-HTTP knowledge to make a better guess at the encoding, you should + set ``r.encoding`` appropriately before accessing this property. + """ + + # Try charset from content-type + content = None + encoding = self.encoding + + if not self.content: + return "" + + # Fallback to auto-detected encoding. + if self.encoding is None: + encoding = self.apparent_encoding + + # Decode unicode from given encoding. + try: + content = str(self.content, encoding, errors="replace") + except (LookupError, TypeError): + # A LookupError is raised if the encoding was not found which could + # indicate a misspelling or similar mistake. + # + # A TypeError can be raised if encoding is None + # + # So we try blindly encoding. + content = str(self.content, errors="replace") + + return content + + def json(self, **kwargs): + r"""Decodes the JSON response body (if any) as a Python object. + + This may return a dictionary, list, etc. depending on what is in the response. + + :param \*\*kwargs: Optional arguments that ``json.loads`` takes. + :raises requests.exceptions.JSONDecodeError: If the response body does not + contain valid json. + """ + + if not self.encoding and self.content and len(self.content) > 3: + # No encoding set. JSON RFC 4627 section 3 states we should expect + # UTF-8, -16 or -32. Detect which one to use; If the detection or + # decoding fails, fall back to `self.text` (using charset_normalizer to make + # a best guess). + encoding = guess_json_utf(self.content) + if encoding is not None: + try: + return complexjson.loads(self.content.decode(encoding), **kwargs) + except UnicodeDecodeError: + # Wrong UTF codec detected; usually because it's not UTF-8 + # but some other 8-bit codec. This is an RFC violation, + # and the server didn't bother to tell us what codec *was* + # used. + pass + except JSONDecodeError as e: + raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) + + try: + return complexjson.loads(self.text, **kwargs) + except JSONDecodeError as e: + # Catch JSON-related errors and raise as requests.JSONDecodeError + # This aliases json.JSONDecodeError and simplejson.JSONDecodeError + raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) + + @property + def links(self): + """Returns the parsed header links of the response, if any.""" + + header = self.headers.get("link") + + resolved_links = {} + + if header: + links = parse_header_links(header) + + for link in links: + key = link.get("rel") or link.get("url") + resolved_links[key] = link + + return resolved_links + + def raise_for_status(self): + """Raises :class:`HTTPError`, if one occurred.""" + + http_error_msg = "" + if isinstance(self.reason, bytes): + # We attempt to decode utf-8 first because some servers + # choose to localize their reason strings. If the string + # isn't utf-8, we fall back to iso-8859-1 for all other + # encodings. (See PR #3538) + try: + reason = self.reason.decode("utf-8") + except UnicodeDecodeError: + reason = self.reason.decode("iso-8859-1") + else: + reason = self.reason + + if 400 <= self.status_code < 500: + http_error_msg = ( + f"{self.status_code} Client Error: {reason} for url: {self.url}" + ) + + elif 500 <= self.status_code < 600: + http_error_msg = ( + f"{self.status_code} Server Error: {reason} for url: {self.url}" + ) + + if http_error_msg: + raise HTTPError(http_error_msg, response=self) + + def close(self): + """Releases the connection back to the pool. Once this method has been + called the underlying ``raw`` object must not be accessed again. + + *Note: Should not normally need to be called explicitly.* + """ + if not self._content_consumed: + self.raw.close() + + release_conn = getattr(self.raw, "release_conn", None) + if release_conn is not None: + release_conn() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/packages.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/packages.py new file mode 100644 index 0000000000000000000000000000000000000000..200c38287f49ed338f30677c13543465185b0435 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/packages.py @@ -0,0 +1,25 @@ +import sys + +from .compat import chardet + +# This code exists for backwards compatibility reasons. +# I don't like it either. Just look the other way. :) + +for package in ("urllib3", "idna"): + vendored_package = "pip._vendor." + package + locals()[package] = __import__(vendored_package) + # This traversal is apparently necessary such that the identities are + # preserved (requests.packages.urllib3.* is urllib3.*) + for mod in list(sys.modules): + if mod == vendored_package or mod.startswith(vendored_package + '.'): + unprefixed_mod = mod[len("pip._vendor."):] + sys.modules['pip._vendor.requests.packages.' + unprefixed_mod] = sys.modules[mod] + +if chardet is not None: + target = chardet.__name__ + for mod in list(sys.modules): + if mod == target or mod.startswith(f"{target}."): + imported_mod = sys.modules[mod] + sys.modules[f"requests.packages.{mod}"] = imported_mod + mod = mod.replace(target, "chardet") + sys.modules[f"requests.packages.{mod}"] = imported_mod diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/sessions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/sessions.py new file mode 100644 index 0000000000000000000000000000000000000000..b387bc36df7bc064b502adcb3c1a4527dd401fda --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/sessions.py @@ -0,0 +1,831 @@ +""" +requests.sessions +~~~~~~~~~~~~~~~~~ + +This module provides a Session object to manage and persist settings across +requests (cookies, auth, proxies). +""" +import os +import sys +import time +from collections import OrderedDict +from datetime import timedelta + +from ._internal_utils import to_native_string +from .adapters import HTTPAdapter +from .auth import _basic_auth_str +from .compat import Mapping, cookielib, urljoin, urlparse +from .cookies import ( + RequestsCookieJar, + cookiejar_from_dict, + extract_cookies_to_jar, + merge_cookies, +) +from .exceptions import ( + ChunkedEncodingError, + ContentDecodingError, + InvalidSchema, + TooManyRedirects, +) +from .hooks import default_hooks, dispatch_hook + +# formerly defined here, reexposed here for backward compatibility +from .models import ( # noqa: F401 + DEFAULT_REDIRECT_LIMIT, + REDIRECT_STATI, + PreparedRequest, + Request, +) +from .status_codes import codes +from .structures import CaseInsensitiveDict +from .utils import ( # noqa: F401 + DEFAULT_PORTS, + default_headers, + get_auth_from_url, + get_environ_proxies, + get_netrc_auth, + requote_uri, + resolve_proxies, + rewind_body, + should_bypass_proxies, + to_key_val_list, +) + +# Preferred clock, based on which one is more accurate on a given system. +if sys.platform == "win32": + preferred_clock = time.perf_counter +else: + preferred_clock = time.time + + +def merge_setting(request_setting, session_setting, dict_class=OrderedDict): + """Determines appropriate setting for a given request, taking into account + the explicit setting on that request, and the setting in the session. If a + setting is a dictionary, they will be merged together using `dict_class` + """ + + if session_setting is None: + return request_setting + + if request_setting is None: + return session_setting + + # Bypass if not a dictionary (e.g. verify) + if not ( + isinstance(session_setting, Mapping) and isinstance(request_setting, Mapping) + ): + return request_setting + + merged_setting = dict_class(to_key_val_list(session_setting)) + merged_setting.update(to_key_val_list(request_setting)) + + # Remove keys that are set to None. Extract keys first to avoid altering + # the dictionary during iteration. + none_keys = [k for (k, v) in merged_setting.items() if v is None] + for key in none_keys: + del merged_setting[key] + + return merged_setting + + +def merge_hooks(request_hooks, session_hooks, dict_class=OrderedDict): + """Properly merges both requests and session hooks. + + This is necessary because when request_hooks == {'response': []}, the + merge breaks Session hooks entirely. + """ + if session_hooks is None or session_hooks.get("response") == []: + return request_hooks + + if request_hooks is None or request_hooks.get("response") == []: + return session_hooks + + return merge_setting(request_hooks, session_hooks, dict_class) + + +class SessionRedirectMixin: + def get_redirect_target(self, resp): + """Receives a Response. Returns a redirect URI or ``None``""" + # Due to the nature of how requests processes redirects this method will + # be called at least once upon the original response and at least twice + # on each subsequent redirect response (if any). + # If a custom mixin is used to handle this logic, it may be advantageous + # to cache the redirect location onto the response object as a private + # attribute. + if resp.is_redirect: + location = resp.headers["location"] + # Currently the underlying http module on py3 decode headers + # in latin1, but empirical evidence suggests that latin1 is very + # rarely used with non-ASCII characters in HTTP headers. + # It is more likely to get UTF8 header rather than latin1. + # This causes incorrect handling of UTF8 encoded location headers. + # To solve this, we re-encode the location in latin1. + location = location.encode("latin1") + return to_native_string(location, "utf8") + return None + + def should_strip_auth(self, old_url, new_url): + """Decide whether Authorization header should be removed when redirecting""" + old_parsed = urlparse(old_url) + new_parsed = urlparse(new_url) + if old_parsed.hostname != new_parsed.hostname: + return True + # Special case: allow http -> https redirect when using the standard + # ports. This isn't specified by RFC 7235, but is kept to avoid + # breaking backwards compatibility with older versions of requests + # that allowed any redirects on the same host. + if ( + old_parsed.scheme == "http" + and old_parsed.port in (80, None) + and new_parsed.scheme == "https" + and new_parsed.port in (443, None) + ): + return False + + # Handle default port usage corresponding to scheme. + changed_port = old_parsed.port != new_parsed.port + changed_scheme = old_parsed.scheme != new_parsed.scheme + default_port = (DEFAULT_PORTS.get(old_parsed.scheme, None), None) + if ( + not changed_scheme + and old_parsed.port in default_port + and new_parsed.port in default_port + ): + return False + + # Standard case: root URI must match + return changed_port or changed_scheme + + def resolve_redirects( + self, + resp, + req, + stream=False, + timeout=None, + verify=True, + cert=None, + proxies=None, + yield_requests=False, + **adapter_kwargs, + ): + """Receives a Response. Returns a generator of Responses or Requests.""" + + hist = [] # keep track of history + + url = self.get_redirect_target(resp) + previous_fragment = urlparse(req.url).fragment + while url: + prepared_request = req.copy() + + # Update history and keep track of redirects. + # resp.history must ignore the original request in this loop + hist.append(resp) + resp.history = hist[1:] + + try: + resp.content # Consume socket so it can be released + except (ChunkedEncodingError, ContentDecodingError, RuntimeError): + resp.raw.read(decode_content=False) + + if len(resp.history) >= self.max_redirects: + raise TooManyRedirects( + f"Exceeded {self.max_redirects} redirects.", response=resp + ) + + # Release the connection back into the pool. + resp.close() + + # Handle redirection without scheme (see: RFC 1808 Section 4) + if url.startswith("//"): + parsed_rurl = urlparse(resp.url) + url = ":".join([to_native_string(parsed_rurl.scheme), url]) + + # Normalize url case and attach previous fragment if needed (RFC 7231 7.1.2) + parsed = urlparse(url) + if parsed.fragment == "" and previous_fragment: + parsed = parsed._replace(fragment=previous_fragment) + elif parsed.fragment: + previous_fragment = parsed.fragment + url = parsed.geturl() + + # Facilitate relative 'location' headers, as allowed by RFC 7231. + # (e.g. '/path/to/resource' instead of 'http://domain.tld/path/to/resource') + # Compliant with RFC3986, we percent encode the url. + if not parsed.netloc: + url = urljoin(resp.url, requote_uri(url)) + else: + url = requote_uri(url) + + prepared_request.url = to_native_string(url) + + self.rebuild_method(prepared_request, resp) + + # https://github.com/psf/requests/issues/1084 + if resp.status_code not in ( + codes.temporary_redirect, + codes.permanent_redirect, + ): + # https://github.com/psf/requests/issues/3490 + purged_headers = ("Content-Length", "Content-Type", "Transfer-Encoding") + for header in purged_headers: + prepared_request.headers.pop(header, None) + prepared_request.body = None + + headers = prepared_request.headers + headers.pop("Cookie", None) + + # Extract any cookies sent on the response to the cookiejar + # in the new request. Because we've mutated our copied prepared + # request, use the old one that we haven't yet touched. + extract_cookies_to_jar(prepared_request._cookies, req, resp.raw) + merge_cookies(prepared_request._cookies, self.cookies) + prepared_request.prepare_cookies(prepared_request._cookies) + + # Rebuild auth and proxy information. + proxies = self.rebuild_proxies(prepared_request, proxies) + self.rebuild_auth(prepared_request, resp) + + # A failed tell() sets `_body_position` to `object()`. This non-None + # value ensures `rewindable` will be True, allowing us to raise an + # UnrewindableBodyError, instead of hanging the connection. + rewindable = prepared_request._body_position is not None and ( + "Content-Length" in headers or "Transfer-Encoding" in headers + ) + + # Attempt to rewind consumed file-like object. + if rewindable: + rewind_body(prepared_request) + + # Override the original request. + req = prepared_request + + if yield_requests: + yield req + else: + resp = self.send( + req, + stream=stream, + timeout=timeout, + verify=verify, + cert=cert, + proxies=proxies, + allow_redirects=False, + **adapter_kwargs, + ) + + extract_cookies_to_jar(self.cookies, prepared_request, resp.raw) + + # extract redirect url, if any, for the next loop + url = self.get_redirect_target(resp) + yield resp + + def rebuild_auth(self, prepared_request, response): + """When being redirected we may want to strip authentication from the + request to avoid leaking credentials. This method intelligently removes + and reapplies authentication where possible to avoid credential loss. + """ + headers = prepared_request.headers + url = prepared_request.url + + if "Authorization" in headers and self.should_strip_auth( + response.request.url, url + ): + # If we get redirected to a new host, we should strip out any + # authentication headers. + del headers["Authorization"] + + # .netrc might have more auth for us on our new host. + new_auth = get_netrc_auth(url) if self.trust_env else None + if new_auth is not None: + prepared_request.prepare_auth(new_auth) + + def rebuild_proxies(self, prepared_request, proxies): + """This method re-evaluates the proxy configuration by considering the + environment variables. If we are redirected to a URL covered by + NO_PROXY, we strip the proxy configuration. Otherwise, we set missing + proxy keys for this URL (in case they were stripped by a previous + redirect). + + This method also replaces the Proxy-Authorization header where + necessary. + + :rtype: dict + """ + headers = prepared_request.headers + scheme = urlparse(prepared_request.url).scheme + new_proxies = resolve_proxies(prepared_request, proxies, self.trust_env) + + if "Proxy-Authorization" in headers: + del headers["Proxy-Authorization"] + + try: + username, password = get_auth_from_url(new_proxies[scheme]) + except KeyError: + username, password = None, None + + # urllib3 handles proxy authorization for us in the standard adapter. + # Avoid appending this to TLS tunneled requests where it may be leaked. + if not scheme.startswith("https") and username and password: + headers["Proxy-Authorization"] = _basic_auth_str(username, password) + + return new_proxies + + def rebuild_method(self, prepared_request, response): + """When being redirected we may want to change the method of the request + based on certain specs or browser behavior. + """ + method = prepared_request.method + + # https://tools.ietf.org/html/rfc7231#section-6.4.4 + if response.status_code == codes.see_other and method != "HEAD": + method = "GET" + + # Do what the browsers do, despite standards... + # First, turn 302s into GETs. + if response.status_code == codes.found and method != "HEAD": + method = "GET" + + # Second, if a POST is responded to with a 301, turn it into a GET. + # This bizarre behaviour is explained in Issue 1704. + if response.status_code == codes.moved and method == "POST": + method = "GET" + + prepared_request.method = method + + +class Session(SessionRedirectMixin): + """A Requests session. + + Provides cookie persistence, connection-pooling, and configuration. + + Basic Usage:: + + >>> import requests + >>> s = requests.Session() + >>> s.get('https://httpbin.org/get') + + + Or as a context manager:: + + >>> with requests.Session() as s: + ... s.get('https://httpbin.org/get') + + """ + + __attrs__ = [ + "headers", + "cookies", + "auth", + "proxies", + "hooks", + "params", + "verify", + "cert", + "adapters", + "stream", + "trust_env", + "max_redirects", + ] + + def __init__(self): + #: A case-insensitive dictionary of headers to be sent on each + #: :class:`Request ` sent from this + #: :class:`Session `. + self.headers = default_headers() + + #: Default Authentication tuple or object to attach to + #: :class:`Request `. + self.auth = None + + #: Dictionary mapping protocol or protocol and host to the URL of the proxy + #: (e.g. {'http': 'foo.bar:3128', 'http://host.name': 'foo.bar:4012'}) to + #: be used on each :class:`Request `. + self.proxies = {} + + #: Event-handling hooks. + self.hooks = default_hooks() + + #: Dictionary of querystring data to attach to each + #: :class:`Request `. The dictionary values may be lists for + #: representing multivalued query parameters. + self.params = {} + + #: Stream response content default. + self.stream = False + + #: SSL Verification default. + #: Defaults to `True`, requiring requests to verify the TLS certificate at the + #: remote end. + #: If verify is set to `False`, requests will accept any TLS certificate + #: presented by the server, and will ignore hostname mismatches and/or + #: expired certificates, which will make your application vulnerable to + #: man-in-the-middle (MitM) attacks. + #: Only set this to `False` for testing. + self.verify = True + + #: SSL client certificate default, if String, path to ssl client + #: cert file (.pem). If Tuple, ('cert', 'key') pair. + self.cert = None + + #: Maximum number of redirects allowed. If the request exceeds this + #: limit, a :class:`TooManyRedirects` exception is raised. + #: This defaults to requests.models.DEFAULT_REDIRECT_LIMIT, which is + #: 30. + self.max_redirects = DEFAULT_REDIRECT_LIMIT + + #: Trust environment settings for proxy configuration, default + #: authentication and similar. + self.trust_env = True + + #: A CookieJar containing all currently outstanding cookies set on this + #: session. By default it is a + #: :class:`RequestsCookieJar `, but + #: may be any other ``cookielib.CookieJar`` compatible object. + self.cookies = cookiejar_from_dict({}) + + # Default connection adapters. + self.adapters = OrderedDict() + self.mount("https://", HTTPAdapter()) + self.mount("http://", HTTPAdapter()) + + def __enter__(self): + return self + + def __exit__(self, *args): + self.close() + + def prepare_request(self, request): + """Constructs a :class:`PreparedRequest ` for + transmission and returns it. The :class:`PreparedRequest` has settings + merged from the :class:`Request ` instance and those of the + :class:`Session`. + + :param request: :class:`Request` instance to prepare with this + session's settings. + :rtype: requests.PreparedRequest + """ + cookies = request.cookies or {} + + # Bootstrap CookieJar. + if not isinstance(cookies, cookielib.CookieJar): + cookies = cookiejar_from_dict(cookies) + + # Merge with session cookies + merged_cookies = merge_cookies( + merge_cookies(RequestsCookieJar(), self.cookies), cookies + ) + + # Set environment's basic authentication if not explicitly set. + auth = request.auth + if self.trust_env and not auth and not self.auth: + auth = get_netrc_auth(request.url) + + p = PreparedRequest() + p.prepare( + method=request.method.upper(), + url=request.url, + files=request.files, + data=request.data, + json=request.json, + headers=merge_setting( + request.headers, self.headers, dict_class=CaseInsensitiveDict + ), + params=merge_setting(request.params, self.params), + auth=merge_setting(auth, self.auth), + cookies=merged_cookies, + hooks=merge_hooks(request.hooks, self.hooks), + ) + return p + + def request( + self, + method, + url, + params=None, + data=None, + headers=None, + cookies=None, + files=None, + auth=None, + timeout=None, + allow_redirects=True, + proxies=None, + hooks=None, + stream=None, + verify=None, + cert=None, + json=None, + ): + """Constructs a :class:`Request `, prepares it and sends it. + Returns :class:`Response ` object. + + :param method: method for the new :class:`Request` object. + :param url: URL for the new :class:`Request` object. + :param params: (optional) Dictionary or bytes to be sent in the query + string for the :class:`Request`. + :param data: (optional) Dictionary, list of tuples, bytes, or file-like + object to send in the body of the :class:`Request`. + :param json: (optional) json to send in the body of the + :class:`Request`. + :param headers: (optional) Dictionary of HTTP Headers to send with the + :class:`Request`. + :param cookies: (optional) Dict or CookieJar object to send with the + :class:`Request`. + :param files: (optional) Dictionary of ``'filename': file-like-objects`` + for multipart encoding upload. + :param auth: (optional) Auth tuple or callable to enable + Basic/Digest/Custom HTTP Auth. + :param timeout: (optional) How long to wait for the server to send + data before giving up, as a float, or a :ref:`(connect timeout, + read timeout) ` tuple. + :type timeout: float or tuple + :param allow_redirects: (optional) Set to True by default. + :type allow_redirects: bool + :param proxies: (optional) Dictionary mapping protocol or protocol and + hostname to the URL of the proxy. + :param hooks: (optional) Dictionary mapping hook name to one event or + list of events, event must be callable. + :param stream: (optional) whether to immediately download the response + content. Defaults to ``False``. + :param verify: (optional) Either a boolean, in which case it controls whether we verify + the server's TLS certificate, or a string, in which case it must be a path + to a CA bundle to use. Defaults to ``True``. When set to + ``False``, requests will accept any TLS certificate presented by + the server, and will ignore hostname mismatches and/or expired + certificates, which will make your application vulnerable to + man-in-the-middle (MitM) attacks. Setting verify to ``False`` + may be useful during local development or testing. + :param cert: (optional) if String, path to ssl client cert file (.pem). + If Tuple, ('cert', 'key') pair. + :rtype: requests.Response + """ + # Create the Request. + req = Request( + method=method.upper(), + url=url, + headers=headers, + files=files, + data=data or {}, + json=json, + params=params or {}, + auth=auth, + cookies=cookies, + hooks=hooks, + ) + prep = self.prepare_request(req) + + proxies = proxies or {} + + settings = self.merge_environment_settings( + prep.url, proxies, stream, verify, cert + ) + + # Send the request. + send_kwargs = { + "timeout": timeout, + "allow_redirects": allow_redirects, + } + send_kwargs.update(settings) + resp = self.send(prep, **send_kwargs) + + return resp + + def get(self, url, **kwargs): + r"""Sends a GET request. Returns :class:`Response` object. + + :param url: URL for the new :class:`Request` object. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :rtype: requests.Response + """ + + kwargs.setdefault("allow_redirects", True) + return self.request("GET", url, **kwargs) + + def options(self, url, **kwargs): + r"""Sends a OPTIONS request. Returns :class:`Response` object. + + :param url: URL for the new :class:`Request` object. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :rtype: requests.Response + """ + + kwargs.setdefault("allow_redirects", True) + return self.request("OPTIONS", url, **kwargs) + + def head(self, url, **kwargs): + r"""Sends a HEAD request. Returns :class:`Response` object. + + :param url: URL for the new :class:`Request` object. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :rtype: requests.Response + """ + + kwargs.setdefault("allow_redirects", False) + return self.request("HEAD", url, **kwargs) + + def post(self, url, data=None, json=None, **kwargs): + r"""Sends a POST request. Returns :class:`Response` object. + + :param url: URL for the new :class:`Request` object. + :param data: (optional) Dictionary, list of tuples, bytes, or file-like + object to send in the body of the :class:`Request`. + :param json: (optional) json to send in the body of the :class:`Request`. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :rtype: requests.Response + """ + + return self.request("POST", url, data=data, json=json, **kwargs) + + def put(self, url, data=None, **kwargs): + r"""Sends a PUT request. Returns :class:`Response` object. + + :param url: URL for the new :class:`Request` object. + :param data: (optional) Dictionary, list of tuples, bytes, or file-like + object to send in the body of the :class:`Request`. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :rtype: requests.Response + """ + + return self.request("PUT", url, data=data, **kwargs) + + def patch(self, url, data=None, **kwargs): + r"""Sends a PATCH request. Returns :class:`Response` object. + + :param url: URL for the new :class:`Request` object. + :param data: (optional) Dictionary, list of tuples, bytes, or file-like + object to send in the body of the :class:`Request`. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :rtype: requests.Response + """ + + return self.request("PATCH", url, data=data, **kwargs) + + def delete(self, url, **kwargs): + r"""Sends a DELETE request. Returns :class:`Response` object. + + :param url: URL for the new :class:`Request` object. + :param \*\*kwargs: Optional arguments that ``request`` takes. + :rtype: requests.Response + """ + + return self.request("DELETE", url, **kwargs) + + def send(self, request, **kwargs): + """Send a given PreparedRequest. + + :rtype: requests.Response + """ + # Set defaults that the hooks can utilize to ensure they always have + # the correct parameters to reproduce the previous request. + kwargs.setdefault("stream", self.stream) + kwargs.setdefault("verify", self.verify) + kwargs.setdefault("cert", self.cert) + if "proxies" not in kwargs: + kwargs["proxies"] = resolve_proxies(request, self.proxies, self.trust_env) + + # It's possible that users might accidentally send a Request object. + # Guard against that specific failure case. + if isinstance(request, Request): + raise ValueError("You can only send PreparedRequests.") + + # Set up variables needed for resolve_redirects and dispatching of hooks + allow_redirects = kwargs.pop("allow_redirects", True) + stream = kwargs.get("stream") + hooks = request.hooks + + # Get the appropriate adapter to use + adapter = self.get_adapter(url=request.url) + + # Start time (approximately) of the request + start = preferred_clock() + + # Send the request + r = adapter.send(request, **kwargs) + + # Total elapsed time of the request (approximately) + elapsed = preferred_clock() - start + r.elapsed = timedelta(seconds=elapsed) + + # Response manipulation hooks + r = dispatch_hook("response", hooks, r, **kwargs) + + # Persist cookies + if r.history: + # If the hooks create history then we want those cookies too + for resp in r.history: + extract_cookies_to_jar(self.cookies, resp.request, resp.raw) + + extract_cookies_to_jar(self.cookies, request, r.raw) + + # Resolve redirects if allowed. + if allow_redirects: + # Redirect resolving generator. + gen = self.resolve_redirects(r, request, **kwargs) + history = [resp for resp in gen] + else: + history = [] + + # Shuffle things around if there's history. + if history: + # Insert the first (original) request at the start + history.insert(0, r) + # Get the last request made + r = history.pop() + r.history = history + + # If redirects aren't being followed, store the response on the Request for Response.next(). + if not allow_redirects: + try: + r._next = next( + self.resolve_redirects(r, request, yield_requests=True, **kwargs) + ) + except StopIteration: + pass + + if not stream: + r.content + + return r + + def merge_environment_settings(self, url, proxies, stream, verify, cert): + """ + Check the environment and merge it with some settings. + + :rtype: dict + """ + # Gather clues from the surrounding environment. + if self.trust_env: + # Set environment's proxies. + no_proxy = proxies.get("no_proxy") if proxies is not None else None + env_proxies = get_environ_proxies(url, no_proxy=no_proxy) + for k, v in env_proxies.items(): + proxies.setdefault(k, v) + + # Look for requests environment configuration + # and be compatible with cURL. + if verify is True or verify is None: + verify = ( + os.environ.get("REQUESTS_CA_BUNDLE") + or os.environ.get("CURL_CA_BUNDLE") + or verify + ) + + # Merge all the kwargs. + proxies = merge_setting(proxies, self.proxies) + stream = merge_setting(stream, self.stream) + verify = merge_setting(verify, self.verify) + cert = merge_setting(cert, self.cert) + + return {"proxies": proxies, "stream": stream, "verify": verify, "cert": cert} + + def get_adapter(self, url): + """ + Returns the appropriate connection adapter for the given URL. + + :rtype: requests.adapters.BaseAdapter + """ + for prefix, adapter in self.adapters.items(): + if url.lower().startswith(prefix.lower()): + return adapter + + # Nothing matches :-/ + raise InvalidSchema(f"No connection adapters were found for {url!r}") + + def close(self): + """Closes all adapters and as such the session""" + for v in self.adapters.values(): + v.close() + + def mount(self, prefix, adapter): + """Registers a connection adapter to a prefix. + + Adapters are sorted in descending order by prefix length. + """ + self.adapters[prefix] = adapter + keys_to_move = [k for k in self.adapters if len(k) < len(prefix)] + + for key in keys_to_move: + self.adapters[key] = self.adapters.pop(key) + + def __getstate__(self): + state = {attr: getattr(self, attr, None) for attr in self.__attrs__} + return state + + def __setstate__(self, state): + for attr, value in state.items(): + setattr(self, attr, value) + + +def session(): + """ + Returns a :class:`Session` for context-management. + + .. deprecated:: 1.0.0 + + This method has been deprecated since version 1.0.0 and is only kept for + backwards compatibility. New code should use :class:`~requests.sessions.Session` + to create a session. This may be removed at a future date. + + :rtype: Session + """ + return Session() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/status_codes.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/status_codes.py new file mode 100644 index 0000000000000000000000000000000000000000..c7945a2f06897ed980cc575df2f48d9e6c1a9f7e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/status_codes.py @@ -0,0 +1,128 @@ +r""" +The ``codes`` object defines a mapping from common names for HTTP statuses +to their numerical codes, accessible either as attributes or as dictionary +items. + +Example:: + + >>> import requests + >>> requests.codes['temporary_redirect'] + 307 + >>> requests.codes.teapot + 418 + >>> requests.codes['\o/'] + 200 + +Some codes have multiple names, and both upper- and lower-case versions of +the names are allowed. For example, ``codes.ok``, ``codes.OK``, and +``codes.okay`` all correspond to the HTTP status code 200. +""" + +from .structures import LookupDict + +_codes = { + # Informational. + 100: ("continue",), + 101: ("switching_protocols",), + 102: ("processing", "early-hints"), + 103: ("checkpoint",), + 122: ("uri_too_long", "request_uri_too_long"), + 200: ("ok", "okay", "all_ok", "all_okay", "all_good", "\\o/", "✓"), + 201: ("created",), + 202: ("accepted",), + 203: ("non_authoritative_info", "non_authoritative_information"), + 204: ("no_content",), + 205: ("reset_content", "reset"), + 206: ("partial_content", "partial"), + 207: ("multi_status", "multiple_status", "multi_stati", "multiple_stati"), + 208: ("already_reported",), + 226: ("im_used",), + # Redirection. + 300: ("multiple_choices",), + 301: ("moved_permanently", "moved", "\\o-"), + 302: ("found",), + 303: ("see_other", "other"), + 304: ("not_modified",), + 305: ("use_proxy",), + 306: ("switch_proxy",), + 307: ("temporary_redirect", "temporary_moved", "temporary"), + 308: ( + "permanent_redirect", + "resume_incomplete", + "resume", + ), # "resume" and "resume_incomplete" to be removed in 3.0 + # Client Error. + 400: ("bad_request", "bad"), + 401: ("unauthorized",), + 402: ("payment_required", "payment"), + 403: ("forbidden",), + 404: ("not_found", "-o-"), + 405: ("method_not_allowed", "not_allowed"), + 406: ("not_acceptable",), + 407: ("proxy_authentication_required", "proxy_auth", "proxy_authentication"), + 408: ("request_timeout", "timeout"), + 409: ("conflict",), + 410: ("gone",), + 411: ("length_required",), + 412: ("precondition_failed", "precondition"), + 413: ("request_entity_too_large", "content_too_large"), + 414: ("request_uri_too_large", "uri_too_long"), + 415: ("unsupported_media_type", "unsupported_media", "media_type"), + 416: ( + "requested_range_not_satisfiable", + "requested_range", + "range_not_satisfiable", + ), + 417: ("expectation_failed",), + 418: ("im_a_teapot", "teapot", "i_am_a_teapot"), + 421: ("misdirected_request",), + 422: ("unprocessable_entity", "unprocessable", "unprocessable_content"), + 423: ("locked",), + 424: ("failed_dependency", "dependency"), + 425: ("unordered_collection", "unordered", "too_early"), + 426: ("upgrade_required", "upgrade"), + 428: ("precondition_required", "precondition"), + 429: ("too_many_requests", "too_many"), + 431: ("header_fields_too_large", "fields_too_large"), + 444: ("no_response", "none"), + 449: ("retry_with", "retry"), + 450: ("blocked_by_windows_parental_controls", "parental_controls"), + 451: ("unavailable_for_legal_reasons", "legal_reasons"), + 499: ("client_closed_request",), + # Server Error. + 500: ("internal_server_error", "server_error", "/o\\", "✗"), + 501: ("not_implemented",), + 502: ("bad_gateway",), + 503: ("service_unavailable", "unavailable"), + 504: ("gateway_timeout",), + 505: ("http_version_not_supported", "http_version"), + 506: ("variant_also_negotiates",), + 507: ("insufficient_storage",), + 509: ("bandwidth_limit_exceeded", "bandwidth"), + 510: ("not_extended",), + 511: ("network_authentication_required", "network_auth", "network_authentication"), +} + +codes = LookupDict(name="status_codes") + + +def _init(): + for code, titles in _codes.items(): + for title in titles: + setattr(codes, title, code) + if not title.startswith(("\\", "/")): + setattr(codes, title.upper(), code) + + def doc(code): + names = ", ".join(f"``{n}``" for n in _codes[code]) + return "* %d: %s" % (code, names) + + global __doc__ + __doc__ = ( + __doc__ + "\n" + "\n".join(doc(code) for code in sorted(_codes)) + if __doc__ is not None + else None + ) + + +_init() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/structures.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/structures.py new file mode 100644 index 0000000000000000000000000000000000000000..188e13e4829591facb23ae0e2eda84b9807cb818 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/structures.py @@ -0,0 +1,99 @@ +""" +requests.structures +~~~~~~~~~~~~~~~~~~~ + +Data structures that power Requests. +""" + +from collections import OrderedDict + +from .compat import Mapping, MutableMapping + + +class CaseInsensitiveDict(MutableMapping): + """A case-insensitive ``dict``-like object. + + Implements all methods and operations of + ``MutableMapping`` as well as dict's ``copy``. Also + provides ``lower_items``. + + All keys are expected to be strings. The structure remembers the + case of the last key to be set, and ``iter(instance)``, + ``keys()``, ``items()``, ``iterkeys()``, and ``iteritems()`` + will contain case-sensitive keys. However, querying and contains + testing is case insensitive:: + + cid = CaseInsensitiveDict() + cid['Accept'] = 'application/json' + cid['aCCEPT'] == 'application/json' # True + list(cid) == ['Accept'] # True + + For example, ``headers['content-encoding']`` will return the + value of a ``'Content-Encoding'`` response header, regardless + of how the header name was originally stored. + + If the constructor, ``.update``, or equality comparison + operations are given keys that have equal ``.lower()``s, the + behavior is undefined. + """ + + def __init__(self, data=None, **kwargs): + self._store = OrderedDict() + if data is None: + data = {} + self.update(data, **kwargs) + + def __setitem__(self, key, value): + # Use the lowercased key for lookups, but store the actual + # key alongside the value. + self._store[key.lower()] = (key, value) + + def __getitem__(self, key): + return self._store[key.lower()][1] + + def __delitem__(self, key): + del self._store[key.lower()] + + def __iter__(self): + return (casedkey for casedkey, mappedvalue in self._store.values()) + + def __len__(self): + return len(self._store) + + def lower_items(self): + """Like iteritems(), but with all lowercase keys.""" + return ((lowerkey, keyval[1]) for (lowerkey, keyval) in self._store.items()) + + def __eq__(self, other): + if isinstance(other, Mapping): + other = CaseInsensitiveDict(other) + else: + return NotImplemented + # Compare insensitively + return dict(self.lower_items()) == dict(other.lower_items()) + + # Copy is required + def copy(self): + return CaseInsensitiveDict(self._store.values()) + + def __repr__(self): + return str(dict(self.items())) + + +class LookupDict(dict): + """Dictionary lookup object.""" + + def __init__(self, name=None): + self.name = name + super().__init__() + + def __repr__(self): + return f"" + + def __getitem__(self, key): + # We allow fall-through here, so values default to None + + return self.__dict__.get(key, None) + + def get(self, key, default=None): + return self.__dict__.get(key, default) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/utils.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..e8ea5ad367417e2776773097629a85bc0b414c18 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/requests/utils.py @@ -0,0 +1,1086 @@ +""" +requests.utils +~~~~~~~~~~~~~~ + +This module provides utility functions that are used within Requests +that are also useful for external consumption. +""" + +import codecs +import contextlib +import io +import os +import re +import socket +import struct +import sys +import tempfile +import warnings +import zipfile +from collections import OrderedDict + +from pip._vendor.urllib3.util import make_headers, parse_url + +from . import certs +from .__version__ import __version__ + +# to_native_string is unused here, but imported here for backwards compatibility +from ._internal_utils import ( # noqa: F401 + _HEADER_VALIDATORS_BYTE, + _HEADER_VALIDATORS_STR, + HEADER_VALIDATORS, + to_native_string, +) +from .compat import ( + Mapping, + basestring, + bytes, + getproxies, + getproxies_environment, + integer_types, + is_urllib3_1, +) +from .compat import parse_http_list as _parse_list_header +from .compat import ( + proxy_bypass, + proxy_bypass_environment, + quote, + str, + unquote, + urlparse, + urlunparse, +) +from .cookies import cookiejar_from_dict +from .exceptions import ( + FileModeWarning, + InvalidHeader, + InvalidURL, + UnrewindableBodyError, +) +from .structures import CaseInsensitiveDict + +NETRC_FILES = (".netrc", "_netrc") + +DEFAULT_CA_BUNDLE_PATH = certs.where() + +DEFAULT_PORTS = {"http": 80, "https": 443} + +# Ensure that ', ' is used to preserve previous delimiter behavior. +DEFAULT_ACCEPT_ENCODING = ", ".join( + re.split(r",\s*", make_headers(accept_encoding=True)["accept-encoding"]) +) + + +if sys.platform == "win32": + # provide a proxy_bypass version on Windows without DNS lookups + + def proxy_bypass_registry(host): + try: + import winreg + except ImportError: + return False + + try: + internetSettings = winreg.OpenKey( + winreg.HKEY_CURRENT_USER, + r"Software\Microsoft\Windows\CurrentVersion\Internet Settings", + ) + # ProxyEnable could be REG_SZ or REG_DWORD, normalizing it + proxyEnable = int(winreg.QueryValueEx(internetSettings, "ProxyEnable")[0]) + # ProxyOverride is almost always a string + proxyOverride = winreg.QueryValueEx(internetSettings, "ProxyOverride")[0] + except (OSError, ValueError): + return False + if not proxyEnable or not proxyOverride: + return False + + # make a check value list from the registry entry: replace the + # '' string by the localhost entry and the corresponding + # canonical entry. + proxyOverride = proxyOverride.split(";") + # filter out empty strings to avoid re.match return true in the following code. + proxyOverride = filter(None, proxyOverride) + # now check if we match one of the registry values. + for test in proxyOverride: + if test == "": + if "." not in host: + return True + test = test.replace(".", r"\.") # mask dots + test = test.replace("*", r".*") # change glob sequence + test = test.replace("?", r".") # change glob char + if re.match(test, host, re.I): + return True + return False + + def proxy_bypass(host): # noqa + """Return True, if the host should be bypassed. + + Checks proxy settings gathered from the environment, if specified, + or the registry. + """ + if getproxies_environment(): + return proxy_bypass_environment(host) + else: + return proxy_bypass_registry(host) + + +def dict_to_sequence(d): + """Returns an internal sequence dictionary update.""" + + if hasattr(d, "items"): + d = d.items() + + return d + + +def super_len(o): + total_length = None + current_position = 0 + + if not is_urllib3_1 and isinstance(o, str): + # urllib3 2.x+ treats all strings as utf-8 instead + # of latin-1 (iso-8859-1) like http.client. + o = o.encode("utf-8") + + if hasattr(o, "__len__"): + total_length = len(o) + + elif hasattr(o, "len"): + total_length = o.len + + elif hasattr(o, "fileno"): + try: + fileno = o.fileno() + except (io.UnsupportedOperation, AttributeError): + # AttributeError is a surprising exception, seeing as how we've just checked + # that `hasattr(o, 'fileno')`. It happens for objects obtained via + # `Tarfile.extractfile()`, per issue 5229. + pass + else: + total_length = os.fstat(fileno).st_size + + # Having used fstat to determine the file length, we need to + # confirm that this file was opened up in binary mode. + if "b" not in o.mode: + warnings.warn( + ( + "Requests has determined the content-length for this " + "request using the binary size of the file: however, the " + "file has been opened in text mode (i.e. without the 'b' " + "flag in the mode). This may lead to an incorrect " + "content-length. In Requests 3.0, support will be removed " + "for files in text mode." + ), + FileModeWarning, + ) + + if hasattr(o, "tell"): + try: + current_position = o.tell() + except OSError: + # This can happen in some weird situations, such as when the file + # is actually a special file descriptor like stdin. In this + # instance, we don't know what the length is, so set it to zero and + # let requests chunk it instead. + if total_length is not None: + current_position = total_length + else: + if hasattr(o, "seek") and total_length is None: + # StringIO and BytesIO have seek but no usable fileno + try: + # seek to end of file + o.seek(0, 2) + total_length = o.tell() + + # seek back to current position to support + # partially read file-like objects + o.seek(current_position or 0) + except OSError: + total_length = 0 + + if total_length is None: + total_length = 0 + + return max(0, total_length - current_position) + + +def get_netrc_auth(url, raise_errors=False): + """Returns the Requests tuple auth for a given url from netrc.""" + + netrc_file = os.environ.get("NETRC") + if netrc_file is not None: + netrc_locations = (netrc_file,) + else: + netrc_locations = (f"~/{f}" for f in NETRC_FILES) + + try: + from netrc import NetrcParseError, netrc + + netrc_path = None + + for f in netrc_locations: + loc = os.path.expanduser(f) + if os.path.exists(loc): + netrc_path = loc + break + + # Abort early if there isn't one. + if netrc_path is None: + return + + ri = urlparse(url) + host = ri.hostname + + try: + _netrc = netrc(netrc_path).authenticators(host) + if _netrc: + # Return with login / password + login_i = 0 if _netrc[0] else 1 + return (_netrc[login_i], _netrc[2]) + except (NetrcParseError, OSError): + # If there was a parsing error or a permissions issue reading the file, + # we'll just skip netrc auth unless explicitly asked to raise errors. + if raise_errors: + raise + + # App Engine hackiness. + except (ImportError, AttributeError): + pass + + +def guess_filename(obj): + """Tries to guess the filename of the given object.""" + name = getattr(obj, "name", None) + if name and isinstance(name, basestring) and name[0] != "<" and name[-1] != ">": + return os.path.basename(name) + + +def extract_zipped_paths(path): + """Replace nonexistent paths that look like they refer to a member of a zip + archive with the location of an extracted copy of the target, or else + just return the provided path unchanged. + """ + if os.path.exists(path): + # this is already a valid path, no need to do anything further + return path + + # find the first valid part of the provided path and treat that as a zip archive + # assume the rest of the path is the name of a member in the archive + archive, member = os.path.split(path) + while archive and not os.path.exists(archive): + archive, prefix = os.path.split(archive) + if not prefix: + # If we don't check for an empty prefix after the split (in other words, archive remains unchanged after the split), + # we _can_ end up in an infinite loop on a rare corner case affecting a small number of users + break + member = "/".join([prefix, member]) + + if not zipfile.is_zipfile(archive): + return path + + zip_file = zipfile.ZipFile(archive) + if member not in zip_file.namelist(): + return path + + # we have a valid zip archive and a valid member of that archive + tmp = tempfile.gettempdir() + extracted_path = os.path.join(tmp, member.split("/")[-1]) + if not os.path.exists(extracted_path): + # use read + write to avoid the creating nested folders, we only want the file, avoids mkdir racing condition + with atomic_open(extracted_path) as file_handler: + file_handler.write(zip_file.read(member)) + return extracted_path + + +@contextlib.contextmanager +def atomic_open(filename): + """Write a file to the disk in an atomic fashion""" + tmp_descriptor, tmp_name = tempfile.mkstemp(dir=os.path.dirname(filename)) + try: + with os.fdopen(tmp_descriptor, "wb") as tmp_handler: + yield tmp_handler + os.replace(tmp_name, filename) + except BaseException: + os.remove(tmp_name) + raise + + +def from_key_val_list(value): + """Take an object and test to see if it can be represented as a + dictionary. Unless it can not be represented as such, return an + OrderedDict, e.g., + + :: + + >>> from_key_val_list([('key', 'val')]) + OrderedDict([('key', 'val')]) + >>> from_key_val_list('string') + Traceback (most recent call last): + ... + ValueError: cannot encode objects that are not 2-tuples + >>> from_key_val_list({'key': 'val'}) + OrderedDict([('key', 'val')]) + + :rtype: OrderedDict + """ + if value is None: + return None + + if isinstance(value, (str, bytes, bool, int)): + raise ValueError("cannot encode objects that are not 2-tuples") + + return OrderedDict(value) + + +def to_key_val_list(value): + """Take an object and test to see if it can be represented as a + dictionary. If it can be, return a list of tuples, e.g., + + :: + + >>> to_key_val_list([('key', 'val')]) + [('key', 'val')] + >>> to_key_val_list({'key': 'val'}) + [('key', 'val')] + >>> to_key_val_list('string') + Traceback (most recent call last): + ... + ValueError: cannot encode objects that are not 2-tuples + + :rtype: list + """ + if value is None: + return None + + if isinstance(value, (str, bytes, bool, int)): + raise ValueError("cannot encode objects that are not 2-tuples") + + if isinstance(value, Mapping): + value = value.items() + + return list(value) + + +# From mitsuhiko/werkzeug (used with permission). +def parse_list_header(value): + """Parse lists as described by RFC 2068 Section 2. + + In particular, parse comma-separated lists where the elements of + the list may include quoted-strings. A quoted-string could + contain a comma. A non-quoted string could have quotes in the + middle. Quotes are removed automatically after parsing. + + It basically works like :func:`parse_set_header` just that items + may appear multiple times and case sensitivity is preserved. + + The return value is a standard :class:`list`: + + >>> parse_list_header('token, "quoted value"') + ['token', 'quoted value'] + + To create a header from the :class:`list` again, use the + :func:`dump_header` function. + + :param value: a string with a list header. + :return: :class:`list` + :rtype: list + """ + result = [] + for item in _parse_list_header(value): + if item[:1] == item[-1:] == '"': + item = unquote_header_value(item[1:-1]) + result.append(item) + return result + + +# From mitsuhiko/werkzeug (used with permission). +def parse_dict_header(value): + """Parse lists of key, value pairs as described by RFC 2068 Section 2 and + convert them into a python dict: + + >>> d = parse_dict_header('foo="is a fish", bar="as well"') + >>> type(d) is dict + True + >>> sorted(d.items()) + [('bar', 'as well'), ('foo', 'is a fish')] + + If there is no value for a key it will be `None`: + + >>> parse_dict_header('key_without_value') + {'key_without_value': None} + + To create a header from the :class:`dict` again, use the + :func:`dump_header` function. + + :param value: a string with a dict header. + :return: :class:`dict` + :rtype: dict + """ + result = {} + for item in _parse_list_header(value): + if "=" not in item: + result[item] = None + continue + name, value = item.split("=", 1) + if value[:1] == value[-1:] == '"': + value = unquote_header_value(value[1:-1]) + result[name] = value + return result + + +# From mitsuhiko/werkzeug (used with permission). +def unquote_header_value(value, is_filename=False): + r"""Unquotes a header value. (Reversal of :func:`quote_header_value`). + This does not use the real unquoting but what browsers are actually + using for quoting. + + :param value: the header value to unquote. + :rtype: str + """ + if value and value[0] == value[-1] == '"': + # this is not the real unquoting, but fixing this so that the + # RFC is met will result in bugs with internet explorer and + # probably some other browsers as well. IE for example is + # uploading files with "C:\foo\bar.txt" as filename + value = value[1:-1] + + # if this is a filename and the starting characters look like + # a UNC path, then just return the value without quotes. Using the + # replace sequence below on a UNC path has the effect of turning + # the leading double slash into a single slash and then + # _fix_ie_filename() doesn't work correctly. See #458. + if not is_filename or value[:2] != "\\\\": + return value.replace("\\\\", "\\").replace('\\"', '"') + return value + + +def dict_from_cookiejar(cj): + """Returns a key/value dictionary from a CookieJar. + + :param cj: CookieJar object to extract cookies from. + :rtype: dict + """ + + cookie_dict = {cookie.name: cookie.value for cookie in cj} + return cookie_dict + + +def add_dict_to_cookiejar(cj, cookie_dict): + """Returns a CookieJar from a key/value dictionary. + + :param cj: CookieJar to insert cookies into. + :param cookie_dict: Dict of key/values to insert into CookieJar. + :rtype: CookieJar + """ + + return cookiejar_from_dict(cookie_dict, cj) + + +def get_encodings_from_content(content): + """Returns encodings from given content string. + + :param content: bytestring to extract encodings from. + """ + warnings.warn( + ( + "In requests 3.0, get_encodings_from_content will be removed. For " + "more information, please see the discussion on issue #2266. (This" + " warning should only appear once.)" + ), + DeprecationWarning, + ) + + charset_re = re.compile(r']', flags=re.I) + pragma_re = re.compile(r']', flags=re.I) + xml_re = re.compile(r'^<\?xml.*?encoding=["\']*(.+?)["\'>]') + + return ( + charset_re.findall(content) + + pragma_re.findall(content) + + xml_re.findall(content) + ) + + +def _parse_content_type_header(header): + """Returns content type and parameters from given header + + :param header: string + :return: tuple containing content type and dictionary of + parameters + """ + + tokens = header.split(";") + content_type, params = tokens[0].strip(), tokens[1:] + params_dict = {} + items_to_strip = "\"' " + + for param in params: + param = param.strip() + if param: + key, value = param, True + index_of_equals = param.find("=") + if index_of_equals != -1: + key = param[:index_of_equals].strip(items_to_strip) + value = param[index_of_equals + 1 :].strip(items_to_strip) + params_dict[key.lower()] = value + return content_type, params_dict + + +def get_encoding_from_headers(headers): + """Returns encodings from given HTTP Header Dict. + + :param headers: dictionary to extract encoding from. + :rtype: str + """ + + content_type = headers.get("content-type") + + if not content_type: + return None + + content_type, params = _parse_content_type_header(content_type) + + if "charset" in params: + return params["charset"].strip("'\"") + + if "text" in content_type: + return "ISO-8859-1" + + if "application/json" in content_type: + # Assume UTF-8 based on RFC 4627: https://www.ietf.org/rfc/rfc4627.txt since the charset was unset + return "utf-8" + + +def stream_decode_response_unicode(iterator, r): + """Stream decodes an iterator.""" + + if r.encoding is None: + yield from iterator + return + + decoder = codecs.getincrementaldecoder(r.encoding)(errors="replace") + for chunk in iterator: + rv = decoder.decode(chunk) + if rv: + yield rv + rv = decoder.decode(b"", final=True) + if rv: + yield rv + + +def iter_slices(string, slice_length): + """Iterate over slices of a string.""" + pos = 0 + if slice_length is None or slice_length <= 0: + slice_length = len(string) + while pos < len(string): + yield string[pos : pos + slice_length] + pos += slice_length + + +def get_unicode_from_response(r): + """Returns the requested content back in unicode. + + :param r: Response object to get unicode content from. + + Tried: + + 1. charset from content-type + 2. fall back and replace all unicode characters + + :rtype: str + """ + warnings.warn( + ( + "In requests 3.0, get_unicode_from_response will be removed. For " + "more information, please see the discussion on issue #2266. (This" + " warning should only appear once.)" + ), + DeprecationWarning, + ) + + tried_encodings = [] + + # Try charset from content-type + encoding = get_encoding_from_headers(r.headers) + + if encoding: + try: + return str(r.content, encoding) + except UnicodeError: + tried_encodings.append(encoding) + + # Fall back: + try: + return str(r.content, encoding, errors="replace") + except TypeError: + return r.content + + +# The unreserved URI characters (RFC 3986) +UNRESERVED_SET = frozenset( + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + "0123456789-._~" +) + + +def unquote_unreserved(uri): + """Un-escape any percent-escape sequences in a URI that are unreserved + characters. This leaves all reserved, illegal and non-ASCII bytes encoded. + + :rtype: str + """ + parts = uri.split("%") + for i in range(1, len(parts)): + h = parts[i][0:2] + if len(h) == 2 and h.isalnum(): + try: + c = chr(int(h, 16)) + except ValueError: + raise InvalidURL(f"Invalid percent-escape sequence: '{h}'") + + if c in UNRESERVED_SET: + parts[i] = c + parts[i][2:] + else: + parts[i] = f"%{parts[i]}" + else: + parts[i] = f"%{parts[i]}" + return "".join(parts) + + +def requote_uri(uri): + """Re-quote the given URI. + + This function passes the given URI through an unquote/quote cycle to + ensure that it is fully and consistently quoted. + + :rtype: str + """ + safe_with_percent = "!#$%&'()*+,/:;=?@[]~" + safe_without_percent = "!#$&'()*+,/:;=?@[]~" + try: + # Unquote only the unreserved characters + # Then quote only illegal characters (do not quote reserved, + # unreserved, or '%') + return quote(unquote_unreserved(uri), safe=safe_with_percent) + except InvalidURL: + # We couldn't unquote the given URI, so let's try quoting it, but + # there may be unquoted '%'s in the URI. We need to make sure they're + # properly quoted so they do not cause issues elsewhere. + return quote(uri, safe=safe_without_percent) + + +def address_in_network(ip, net): + """This function allows you to check if an IP belongs to a network subnet + + Example: returns True if ip = 192.168.1.1 and net = 192.168.1.0/24 + returns False if ip = 192.168.1.1 and net = 192.168.100.0/24 + + :rtype: bool + """ + ipaddr = struct.unpack("=L", socket.inet_aton(ip))[0] + netaddr, bits = net.split("/") + netmask = struct.unpack("=L", socket.inet_aton(dotted_netmask(int(bits))))[0] + network = struct.unpack("=L", socket.inet_aton(netaddr))[0] & netmask + return (ipaddr & netmask) == (network & netmask) + + +def dotted_netmask(mask): + """Converts mask from /xx format to xxx.xxx.xxx.xxx + + Example: if mask is 24 function returns 255.255.255.0 + + :rtype: str + """ + bits = 0xFFFFFFFF ^ (1 << 32 - mask) - 1 + return socket.inet_ntoa(struct.pack(">I", bits)) + + +def is_ipv4_address(string_ip): + """ + :rtype: bool + """ + try: + socket.inet_aton(string_ip) + except OSError: + return False + return True + + +def is_valid_cidr(string_network): + """ + Very simple check of the cidr format in no_proxy variable. + + :rtype: bool + """ + if string_network.count("/") == 1: + try: + mask = int(string_network.split("/")[1]) + except ValueError: + return False + + if mask < 1 or mask > 32: + return False + + try: + socket.inet_aton(string_network.split("/")[0]) + except OSError: + return False + else: + return False + return True + + +@contextlib.contextmanager +def set_environ(env_name, value): + """Set the environment variable 'env_name' to 'value' + + Save previous value, yield, and then restore the previous value stored in + the environment variable 'env_name'. + + If 'value' is None, do nothing""" + value_changed = value is not None + if value_changed: + old_value = os.environ.get(env_name) + os.environ[env_name] = value + try: + yield + finally: + if value_changed: + if old_value is None: + del os.environ[env_name] + else: + os.environ[env_name] = old_value + + +def should_bypass_proxies(url, no_proxy): + """ + Returns whether we should bypass proxies or not. + + :rtype: bool + """ + + # Prioritize lowercase environment variables over uppercase + # to keep a consistent behaviour with other http projects (curl, wget). + def get_proxy(key): + return os.environ.get(key) or os.environ.get(key.upper()) + + # First check whether no_proxy is defined. If it is, check that the URL + # we're getting isn't in the no_proxy list. + no_proxy_arg = no_proxy + if no_proxy is None: + no_proxy = get_proxy("no_proxy") + parsed = urlparse(url) + + if parsed.hostname is None: + # URLs don't always have hostnames, e.g. file:/// urls. + return True + + if no_proxy: + # We need to check whether we match here. We need to see if we match + # the end of the hostname, both with and without the port. + no_proxy = (host for host in no_proxy.replace(" ", "").split(",") if host) + + if is_ipv4_address(parsed.hostname): + for proxy_ip in no_proxy: + if is_valid_cidr(proxy_ip): + if address_in_network(parsed.hostname, proxy_ip): + return True + elif parsed.hostname == proxy_ip: + # If no_proxy ip was defined in plain IP notation instead of cidr notation & + # matches the IP of the index + return True + else: + host_with_port = parsed.hostname + if parsed.port: + host_with_port += f":{parsed.port}" + + for host in no_proxy: + if parsed.hostname.endswith(host) or host_with_port.endswith(host): + # The URL does match something in no_proxy, so we don't want + # to apply the proxies on this URL. + return True + + with set_environ("no_proxy", no_proxy_arg): + # parsed.hostname can be `None` in cases such as a file URI. + try: + bypass = proxy_bypass(parsed.hostname) + except (TypeError, socket.gaierror): + bypass = False + + if bypass: + return True + + return False + + +def get_environ_proxies(url, no_proxy=None): + """ + Return a dict of environment proxies. + + :rtype: dict + """ + if should_bypass_proxies(url, no_proxy=no_proxy): + return {} + else: + return getproxies() + + +def select_proxy(url, proxies): + """Select a proxy for the url, if applicable. + + :param url: The url being for the request + :param proxies: A dictionary of schemes or schemes and hosts to proxy URLs + """ + proxies = proxies or {} + urlparts = urlparse(url) + if urlparts.hostname is None: + return proxies.get(urlparts.scheme, proxies.get("all")) + + proxy_keys = [ + urlparts.scheme + "://" + urlparts.hostname, + urlparts.scheme, + "all://" + urlparts.hostname, + "all", + ] + proxy = None + for proxy_key in proxy_keys: + if proxy_key in proxies: + proxy = proxies[proxy_key] + break + + return proxy + + +def resolve_proxies(request, proxies, trust_env=True): + """This method takes proxy information from a request and configuration + input to resolve a mapping of target proxies. This will consider settings + such as NO_PROXY to strip proxy configurations. + + :param request: Request or PreparedRequest + :param proxies: A dictionary of schemes or schemes and hosts to proxy URLs + :param trust_env: Boolean declaring whether to trust environment configs + + :rtype: dict + """ + proxies = proxies if proxies is not None else {} + url = request.url + scheme = urlparse(url).scheme + no_proxy = proxies.get("no_proxy") + new_proxies = proxies.copy() + + if trust_env and not should_bypass_proxies(url, no_proxy=no_proxy): + environ_proxies = get_environ_proxies(url, no_proxy=no_proxy) + + proxy = environ_proxies.get(scheme, environ_proxies.get("all")) + + if proxy: + new_proxies.setdefault(scheme, proxy) + return new_proxies + + +def default_user_agent(name="python-requests"): + """ + Return a string representing the default user agent. + + :rtype: str + """ + return f"{name}/{__version__}" + + +def default_headers(): + """ + :rtype: requests.structures.CaseInsensitiveDict + """ + return CaseInsensitiveDict( + { + "User-Agent": default_user_agent(), + "Accept-Encoding": DEFAULT_ACCEPT_ENCODING, + "Accept": "*/*", + "Connection": "keep-alive", + } + ) + + +def parse_header_links(value): + """Return a list of parsed link headers proxies. + + i.e. Link: ; rel=front; type="image/jpeg",; rel=back;type="image/jpeg" + + :rtype: list + """ + + links = [] + + replace_chars = " '\"" + + value = value.strip(replace_chars) + if not value: + return links + + for val in re.split(", *<", value): + try: + url, params = val.split(";", 1) + except ValueError: + url, params = val, "" + + link = {"url": url.strip("<> '\"")} + + for param in params.split(";"): + try: + key, value = param.split("=") + except ValueError: + break + + link[key.strip(replace_chars)] = value.strip(replace_chars) + + links.append(link) + + return links + + +# Null bytes; no need to recreate these on each call to guess_json_utf +_null = "\x00".encode("ascii") # encoding to ASCII for Python 3 +_null2 = _null * 2 +_null3 = _null * 3 + + +def guess_json_utf(data): + """ + :rtype: str + """ + # JSON always starts with two ASCII characters, so detection is as + # easy as counting the nulls and from their location and count + # determine the encoding. Also detect a BOM, if present. + sample = data[:4] + if sample in (codecs.BOM_UTF32_LE, codecs.BOM_UTF32_BE): + return "utf-32" # BOM included + if sample[:3] == codecs.BOM_UTF8: + return "utf-8-sig" # BOM included, MS style (discouraged) + if sample[:2] in (codecs.BOM_UTF16_LE, codecs.BOM_UTF16_BE): + return "utf-16" # BOM included + nullcount = sample.count(_null) + if nullcount == 0: + return "utf-8" + if nullcount == 2: + if sample[::2] == _null2: # 1st and 3rd are null + return "utf-16-be" + if sample[1::2] == _null2: # 2nd and 4th are null + return "utf-16-le" + # Did not detect 2 valid UTF-16 ascii-range characters + if nullcount == 3: + if sample[:3] == _null3: + return "utf-32-be" + if sample[1:] == _null3: + return "utf-32-le" + # Did not detect a valid UTF-32 ascii-range character + return None + + +def prepend_scheme_if_needed(url, new_scheme): + """Given a URL that may or may not have a scheme, prepend the given scheme. + Does not replace a present scheme with the one provided as an argument. + + :rtype: str + """ + parsed = parse_url(url) + scheme, auth, host, port, path, query, fragment = parsed + + # A defect in urlparse determines that there isn't a netloc present in some + # urls. We previously assumed parsing was overly cautious, and swapped the + # netloc and path. Due to a lack of tests on the original defect, this is + # maintained with parse_url for backwards compatibility. + netloc = parsed.netloc + if not netloc: + netloc, path = path, netloc + + if auth: + # parse_url doesn't provide the netloc with auth + # so we'll add it ourselves. + netloc = "@".join([auth, netloc]) + if scheme is None: + scheme = new_scheme + if path is None: + path = "" + + return urlunparse((scheme, netloc, path, "", query, fragment)) + + +def get_auth_from_url(url): + """Given a url with authentication components, extract them into a tuple of + username,password. + + :rtype: (str,str) + """ + parsed = urlparse(url) + + try: + auth = (unquote(parsed.username), unquote(parsed.password)) + except (AttributeError, TypeError): + auth = ("", "") + + return auth + + +def check_header_validity(header): + """Verifies that header parts don't contain leading whitespace + reserved characters, or return characters. + + :param header: tuple, in the format (name, value). + """ + name, value = header + _validate_header_part(header, name, 0) + _validate_header_part(header, value, 1) + + +def _validate_header_part(header, header_part, header_validator_index): + if isinstance(header_part, str): + validator = _HEADER_VALIDATORS_STR[header_validator_index] + elif isinstance(header_part, bytes): + validator = _HEADER_VALIDATORS_BYTE[header_validator_index] + else: + raise InvalidHeader( + f"Header part ({header_part!r}) from {header} " + f"must be of type str or bytes, not {type(header_part)}" + ) + + if not validator.match(header_part): + header_kind = "name" if header_validator_index == 0 else "value" + raise InvalidHeader( + f"Invalid leading whitespace, reserved character(s), or return " + f"character(s) in header {header_kind}: {header_part!r}" + ) + + +def urldefragauth(url): + """ + Given a url remove the fragment and the authentication part. + + :rtype: str + """ + scheme, netloc, path, params, query, fragment = urlparse(url) + + # see func:`prepend_scheme_if_needed` + if not netloc: + netloc, path = path, netloc + + netloc = netloc.rsplit("@", 1)[-1] + + return urlunparse((scheme, netloc, path, params, query, "")) + + +def rewind_body(prepared_request): + """Move file pointer back to its recorded starting position + so it can be read again on redirect. + """ + body_seek = getattr(prepared_request.body, "seek", None) + if body_seek is not None and isinstance( + prepared_request._body_position, integer_types + ): + try: + body_seek(prepared_request._body_position) + except OSError: + raise UnrewindableBodyError( + "An error occurred when rewinding request body for redirect." + ) + else: + raise UnrewindableBodyError("Unable to rewind request body for redirect.") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..41537e3e020ffa69c10710e242391c245ecad39c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__init__.py @@ -0,0 +1,27 @@ +__all__ = [ + "AbstractProvider", + "AbstractResolver", + "BaseReporter", + "InconsistentCandidate", + "RequirementsConflicted", + "ResolutionError", + "ResolutionImpossible", + "ResolutionTooDeep", + "Resolver", + "__version__", +] + +__version__ = "1.2.0" + + +from .providers import AbstractProvider +from .reporters import BaseReporter +from .resolvers import ( + AbstractResolver, + InconsistentCandidate, + RequirementsConflicted, + ResolutionError, + ResolutionImpossible, + ResolutionTooDeep, + Resolver, +) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..911aeeacb00e1c08a82ac51307127de6efc62721 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8445cc20a143d557df61b3bc1569119a403bf085 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6c2a8ca507f1f1ae3d046d63c4d4ff0aa787742b Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..edb81eb5084aed6c305a57a5a6c81ae8522b1cc3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/providers.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/providers.py new file mode 100644 index 0000000000000000000000000000000000000000..524e3d83272b4a4df7850a4d8980cda4610894ee --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/providers.py @@ -0,0 +1,196 @@ +from __future__ import annotations + +from typing import ( + TYPE_CHECKING, + Generic, + Iterable, + Iterator, + Mapping, + Sequence, +) + +from .structs import CT, KT, RT, Matches, RequirementInformation + +if TYPE_CHECKING: + from typing import Any, Protocol + + class Preference(Protocol): + def __lt__(self, __other: Any) -> bool: ... + + +class AbstractProvider(Generic[RT, CT, KT]): + """Delegate class to provide the required interface for the resolver.""" + + def identify(self, requirement_or_candidate: RT | CT) -> KT: + """Given a requirement or candidate, return an identifier for it. + + This is used to identify, e.g. whether two requirements + should have their specifier parts merged or a candidate matches a + requirement via ``find_matches()``. + """ + raise NotImplementedError + + def get_preference( + self, + identifier: KT, + resolutions: Mapping[KT, CT], + candidates: Mapping[KT, Iterator[CT]], + information: Mapping[KT, Iterator[RequirementInformation[RT, CT]]], + backtrack_causes: Sequence[RequirementInformation[RT, CT]], + ) -> Preference: + """Produce a sort key for given requirement based on preference. + + As this is a sort key it will be called O(n) times per backtrack + step, where n is the number of `identifier`s, if you have a check + which is expensive in some sense. E.g. It needs to make O(n) checks + per call or takes significant wall clock time, consider using + `narrow_requirement_selection` to filter the `identifier`s, which + is applied before this sort key is called. + + The preference is defined as "I think this requirement should be + resolved first". The lower the return value is, the more preferred + this group of arguments is. + + :param identifier: An identifier as returned by ``identify()``. This + identifies the requirement being considered. + :param resolutions: Mapping of candidates currently pinned by the + resolver. Each key is an identifier, and the value is a candidate. + The candidate may conflict with requirements from ``information``. + :param candidates: Mapping of each dependency's possible candidates. + Each value is an iterator of candidates. + :param information: Mapping of requirement information of each package. + Each value is an iterator of *requirement information*. + :param backtrack_causes: Sequence of *requirement information* that are + the requirements that caused the resolver to most recently + backtrack. + + A *requirement information* instance is a named tuple with two members: + + * ``requirement`` specifies a requirement contributing to the current + list of candidates. + * ``parent`` specifies the candidate that provides (depended on) the + requirement, or ``None`` to indicate a root requirement. + + The preference could depend on various issues, including (not + necessarily in this order): + + * Is this package pinned in the current resolution result? + * How relaxed is the requirement? Stricter ones should probably be + worked on first? (I don't know, actually.) + * How many possibilities are there to satisfy this requirement? Those + with few left should likely be worked on first, I guess? + * Are there any known conflicts for this requirement? We should + probably work on those with the most known conflicts. + + A sortable value should be returned (this will be used as the ``key`` + parameter of the built-in sorting function). The smaller the value is, + the more preferred this requirement is (i.e. the sorting function + is called with ``reverse=False``). + """ + raise NotImplementedError + + def find_matches( + self, + identifier: KT, + requirements: Mapping[KT, Iterator[RT]], + incompatibilities: Mapping[KT, Iterator[CT]], + ) -> Matches[CT]: + """Find all possible candidates that satisfy the given constraints. + + :param identifier: An identifier as returned by ``identify()``. All + candidates returned by this method should produce the same + identifier. + :param requirements: A mapping of requirements that all returned + candidates must satisfy. Each key is an identifier, and the value + an iterator of requirements for that dependency. + :param incompatibilities: A mapping of known incompatibile candidates of + each dependency. Each key is an identifier, and the value an + iterator of incompatibilities known to the resolver. All + incompatibilities *must* be excluded from the return value. + + This should try to get candidates based on the requirements' types. + For VCS, local, and archive requirements, the one-and-only match is + returned, and for a "named" requirement, the index(es) should be + consulted to find concrete candidates for this requirement. + + The return value should produce candidates ordered by preference; the + most preferred candidate should come first. The return type may be one + of the following: + + * A callable that returns an iterator that yields candidates. + * An collection of candidates. + * An iterable of candidates. This will be consumed immediately into a + list of candidates. + """ + raise NotImplementedError + + def is_satisfied_by(self, requirement: RT, candidate: CT) -> bool: + """Whether the given requirement can be satisfied by a candidate. + + The candidate is guaranteed to have been generated from the + requirement. + + A boolean should be returned to indicate whether ``candidate`` is a + viable solution to the requirement. + """ + raise NotImplementedError + + def get_dependencies(self, candidate: CT) -> Iterable[RT]: + """Get dependencies of a candidate. + + This should return a collection of requirements that `candidate` + specifies as its dependencies. + """ + raise NotImplementedError + + def narrow_requirement_selection( + self, + identifiers: Iterable[KT], + resolutions: Mapping[KT, CT], + candidates: Mapping[KT, Iterator[CT]], + information: Mapping[KT, Iterator[RequirementInformation[RT, CT]]], + backtrack_causes: Sequence[RequirementInformation[RT, CT]], + ) -> Iterable[KT]: + """ + An optional method to narrow the selection of requirements being + considered during resolution. This method is called O(1) time per + backtrack step. + + :param identifiers: An iterable of `identifiers` as returned by + ``identify()``. These identify all requirements currently being + considered. + :param resolutions: A mapping of candidates currently pinned by the + resolver. Each key is an identifier, and the value is a candidate + that may conflict with requirements from ``information``. + :param candidates: A mapping of each dependency's possible candidates. + Each value is an iterator of candidates. + :param information: A mapping of requirement information for each package. + Each value is an iterator of *requirement information*. + :param backtrack_causes: A sequence of *requirement information* that are + the requirements causing the resolver to most recently + backtrack. + + A *requirement information* instance is a named tuple with two members: + + * ``requirement`` specifies a requirement contributing to the current + list of candidates. + * ``parent`` specifies the candidate that provides (is depended on for) + the requirement, or ``None`` to indicate a root requirement. + + Must return a non-empty subset of `identifiers`, with the default + implementation being to return `identifiers` unchanged. Those `identifiers` + will then be passed to the sort key `get_preference` to pick the most + prefered requirement to attempt to pin, unless `narrow_requirement_selection` + returns only 1 requirement, in which case that will be used without + calling the sort key `get_preference`. + + This method is designed to be used by the provider to optimize the + dependency resolution, e.g. if a check cost is O(m) and it can be done + against all identifiers at once then filtering the requirement selection + here will cost O(m) but making it part of the sort key in `get_preference` + will cost O(m*n), where n is the number of `identifiers`. + + Returns: + Iterable[KT]: A non-empty subset of `identifiers`. + """ + return identifiers diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/py.typed b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/py.typed new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/reporters.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/reporters.py new file mode 100644 index 0000000000000000000000000000000000000000..6c142204b7d2d120096a9f1851cedf7366a1c97c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/reporters.py @@ -0,0 +1,55 @@ +from __future__ import annotations + +from typing import TYPE_CHECKING, Collection, Generic + +from .structs import CT, KT, RT, RequirementInformation, State + +if TYPE_CHECKING: + from .resolvers import Criterion + + +class BaseReporter(Generic[RT, CT, KT]): + """Delegate class to provide progress reporting for the resolver.""" + + def starting(self) -> None: + """Called before the resolution actually starts.""" + + def starting_round(self, index: int) -> None: + """Called before each round of resolution starts. + + The index is zero-based. + """ + + def ending_round(self, index: int, state: State[RT, CT, KT]) -> None: + """Called before each round of resolution ends. + + This is NOT called if the resolution ends at this round. Use `ending` + if you want to report finalization. The index is zero-based. + """ + + def ending(self, state: State[RT, CT, KT]) -> None: + """Called before the resolution ends successfully.""" + + def adding_requirement(self, requirement: RT, parent: CT | None) -> None: + """Called when adding a new requirement into the resolve criteria. + + :param requirement: The additional requirement to be applied to filter + the available candidaites. + :param parent: The candidate that requires ``requirement`` as a + dependency, or None if ``requirement`` is one of the root + requirements passed in from ``Resolver.resolve()``. + """ + + def resolving_conflicts( + self, causes: Collection[RequirementInformation[RT, CT]] + ) -> None: + """Called when starting to attempt requirement conflict resolution. + + :param causes: The information on the collision that caused the backtracking. + """ + + def rejecting_candidate(self, criterion: Criterion[RT, CT], candidate: CT) -> None: + """Called when rejecting a candidate during backtracking.""" + + def pinning(self, candidate: CT) -> None: + """Called when adding a candidate to the potential solution.""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..b24922152a3232fd2f95fd416ef8685280d6f55c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py @@ -0,0 +1,27 @@ +from ..structs import RequirementInformation +from .abstract import AbstractResolver, Result +from .criterion import Criterion +from .exceptions import ( + InconsistentCandidate, + RequirementsConflicted, + ResolutionError, + ResolutionImpossible, + ResolutionTooDeep, + ResolverException, +) +from .resolution import Resolution, Resolver + +__all__ = [ + "AbstractResolver", + "Criterion", + "InconsistentCandidate", + "RequirementInformation", + "RequirementsConflicted", + "Resolution", + "ResolutionError", + "ResolutionImpossible", + "ResolutionTooDeep", + "Resolver", + "ResolverException", + "Result", +] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9c3db95d4c67c1c27b40dd7d59b5d820bed15986 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7388db345d1aa3d354d5d01dbc8fcabc21e9595a Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..56a4a3934089fe7d5641ed8f320b5ef4e03e2630 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..729253ac6bc76058a3bc2d29f59af26b07609955 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5bea5004e815c194727f6aa67cb7055fe0a9aedb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py new file mode 100644 index 0000000000000000000000000000000000000000..f9b5a7aa1fa684a0385f3db0dc978be3d2c24166 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py @@ -0,0 +1,47 @@ +from __future__ import annotations + +import collections +from typing import TYPE_CHECKING, Any, Generic, Iterable, Mapping, NamedTuple + +from ..structs import CT, KT, RT, DirectedGraph + +if TYPE_CHECKING: + from ..providers import AbstractProvider + from ..reporters import BaseReporter + from .criterion import Criterion + + class Result(NamedTuple, Generic[RT, CT, KT]): + mapping: Mapping[KT, CT] + graph: DirectedGraph[KT | None] + criteria: Mapping[KT, Criterion[RT, CT]] + +else: + Result = collections.namedtuple("Result", ["mapping", "graph", "criteria"]) + + +class AbstractResolver(Generic[RT, CT, KT]): + """The thing that performs the actual resolution work.""" + + base_exception = Exception + + def __init__( + self, + provider: AbstractProvider[RT, CT, KT], + reporter: BaseReporter[RT, CT, KT], + ) -> None: + self.provider = provider + self.reporter = reporter + + def resolve(self, requirements: Iterable[RT], **kwargs: Any) -> Result[RT, CT, KT]: + """Take a collection of constraints, spit out the resolution result. + + This returns a representation of the final resolution state, with one + guarenteed attribute ``mapping`` that contains resolved candidates as + values. The keys are their respective identifiers. + + :param requirements: A collection of constraints. + :param kwargs: Additional keyword arguments that subclasses may accept. + + :raises: ``self.base_exception`` or its subclass. + """ + raise NotImplementedError diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py new file mode 100644 index 0000000000000000000000000000000000000000..ee5019ccd032c415b5c2013fbebba73e3ea35672 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py @@ -0,0 +1,48 @@ +from __future__ import annotations + +from typing import Collection, Generic, Iterable, Iterator + +from ..structs import CT, RT, RequirementInformation + + +class Criterion(Generic[RT, CT]): + """Representation of possible resolution results of a package. + + This holds three attributes: + + * `information` is a collection of `RequirementInformation` pairs. + Each pair is a requirement contributing to this criterion, and the + candidate that provides the requirement. + * `incompatibilities` is a collection of all known not-to-work candidates + to exclude from consideration. + * `candidates` is a collection containing all possible candidates deducted + from the union of contributing requirements and known incompatibilities. + It should never be empty, except when the criterion is an attribute of a + raised `RequirementsConflicted` (in which case it is always empty). + + .. note:: + This class is intended to be externally immutable. **Do not** mutate + any of its attribute containers. + """ + + def __init__( + self, + candidates: Iterable[CT], + information: Collection[RequirementInformation[RT, CT]], + incompatibilities: Collection[CT], + ) -> None: + self.candidates = candidates + self.information = information + self.incompatibilities = incompatibilities + + def __repr__(self) -> str: + requirements = ", ".join( + f"({req!r}, via={parent!r})" for req, parent in self.information + ) + return f"Criterion({requirements})" + + def iter_requirement(self) -> Iterator[RT]: + return (i.requirement for i in self.information) + + def iter_parent(self) -> Iterator[CT | None]: + return (i.parent for i in self.information) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..35e275576f78dc786f6ffe89c4d877830e2fc814 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py @@ -0,0 +1,57 @@ +from __future__ import annotations + +from typing import TYPE_CHECKING, Collection, Generic + +from ..structs import CT, RT, RequirementInformation + +if TYPE_CHECKING: + from .criterion import Criterion + + +class ResolverException(Exception): + """A base class for all exceptions raised by this module. + + Exceptions derived by this class should all be handled in this module. Any + bubbling pass the resolver should be treated as a bug. + """ + + +class RequirementsConflicted(ResolverException, Generic[RT, CT]): + def __init__(self, criterion: Criterion[RT, CT]) -> None: + super().__init__(criterion) + self.criterion = criterion + + def __str__(self) -> str: + return "Requirements conflict: {}".format( + ", ".join(repr(r) for r in self.criterion.iter_requirement()), + ) + + +class InconsistentCandidate(ResolverException, Generic[RT, CT]): + def __init__(self, candidate: CT, criterion: Criterion[RT, CT]): + super().__init__(candidate, criterion) + self.candidate = candidate + self.criterion = criterion + + def __str__(self) -> str: + return "Provided candidate {!r} does not satisfy {}".format( + self.candidate, + ", ".join(repr(r) for r in self.criterion.iter_requirement()), + ) + + +class ResolutionError(ResolverException): + pass + + +class ResolutionImpossible(ResolutionError, Generic[RT, CT]): + def __init__(self, causes: Collection[RequirementInformation[RT, CT]]): + super().__init__(causes) + # causes is a list of RequirementInformation objects + self.causes = causes + + +class ResolutionTooDeep(ResolutionError): + def __init__(self, round_count: int) -> None: + super().__init__(round_count) + self.round_count = round_count diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py new file mode 100644 index 0000000000000000000000000000000000000000..f55ac7ab928cd154ad82a19de2b43fcc076c0086 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py @@ -0,0 +1,622 @@ +from __future__ import annotations + +import collections +import itertools +import operator +from typing import TYPE_CHECKING, Generic + +from ..structs import ( + CT, + KT, + RT, + DirectedGraph, + IterableView, + IteratorMapping, + RequirementInformation, + State, + build_iter_view, +) +from .abstract import AbstractResolver, Result +from .criterion import Criterion +from .exceptions import ( + InconsistentCandidate, + RequirementsConflicted, + ResolutionImpossible, + ResolutionTooDeep, + ResolverException, +) + +if TYPE_CHECKING: + from collections.abc import Collection, Iterable, Mapping + + from ..providers import AbstractProvider, Preference + from ..reporters import BaseReporter + +_OPTIMISTIC_BACKJUMPING_RATIO: float = 0.1 + + +def _build_result(state: State[RT, CT, KT]) -> Result[RT, CT, KT]: + mapping = state.mapping + all_keys: dict[int, KT | None] = {id(v): k for k, v in mapping.items()} + all_keys[id(None)] = None + + graph: DirectedGraph[KT | None] = DirectedGraph() + graph.add(None) # Sentinel as root dependencies' parent. + + connected: set[KT | None] = {None} + for key, criterion in state.criteria.items(): + if not _has_route_to_root(state.criteria, key, all_keys, connected): + continue + if key not in graph: + graph.add(key) + for p in criterion.iter_parent(): + try: + pkey = all_keys[id(p)] + except KeyError: + continue + if pkey not in graph: + graph.add(pkey) + graph.connect(pkey, key) + + return Result( + mapping={k: v for k, v in mapping.items() if k in connected}, + graph=graph, + criteria=state.criteria, + ) + + +class Resolution(Generic[RT, CT, KT]): + """Stateful resolution object. + + This is designed as a one-off object that holds information to kick start + the resolution process, and holds the results afterwards. + """ + + def __init__( + self, + provider: AbstractProvider[RT, CT, KT], + reporter: BaseReporter[RT, CT, KT], + ) -> None: + self._p = provider + self._r = reporter + self._states: list[State[RT, CT, KT]] = [] + + # Optimistic backjumping variables + self._optimistic_backjumping_ratio = _OPTIMISTIC_BACKJUMPING_RATIO + self._save_states: list[State[RT, CT, KT]] | None = None + self._optimistic_start_round: int | None = None + + @property + def state(self) -> State[RT, CT, KT]: + try: + return self._states[-1] + except IndexError as e: + raise AttributeError("state") from e + + def _push_new_state(self) -> None: + """Push a new state into history. + + This new state will be used to hold resolution results of the next + coming round. + """ + base = self._states[-1] + state = State( + mapping=base.mapping.copy(), + criteria=base.criteria.copy(), + backtrack_causes=base.backtrack_causes[:], + ) + self._states.append(state) + + def _add_to_criteria( + self, + criteria: dict[KT, Criterion[RT, CT]], + requirement: RT, + parent: CT | None, + ) -> None: + self._r.adding_requirement(requirement=requirement, parent=parent) + + identifier = self._p.identify(requirement_or_candidate=requirement) + criterion = criteria.get(identifier) + if criterion: + incompatibilities = list(criterion.incompatibilities) + else: + incompatibilities = [] + + matches = self._p.find_matches( + identifier=identifier, + requirements=IteratorMapping( + criteria, + operator.methodcaller("iter_requirement"), + {identifier: [requirement]}, + ), + incompatibilities=IteratorMapping( + criteria, + operator.attrgetter("incompatibilities"), + {identifier: incompatibilities}, + ), + ) + + if criterion: + information = list(criterion.information) + information.append(RequirementInformation(requirement, parent)) + else: + information = [RequirementInformation(requirement, parent)] + + criterion = Criterion( + candidates=build_iter_view(matches), + information=information, + incompatibilities=incompatibilities, + ) + if not criterion.candidates: + raise RequirementsConflicted(criterion) + criteria[identifier] = criterion + + def _remove_information_from_criteria( + self, criteria: dict[KT, Criterion[RT, CT]], parents: Collection[KT] + ) -> None: + """Remove information from parents of criteria. + + Concretely, removes all values from each criterion's ``information`` + field that have one of ``parents`` as provider of the requirement. + + :param criteria: The criteria to update. + :param parents: Identifiers for which to remove information from all criteria. + """ + if not parents: + return + for key, criterion in criteria.items(): + criteria[key] = Criterion( + criterion.candidates, + [ + information + for information in criterion.information + if ( + information.parent is None + or self._p.identify(information.parent) not in parents + ) + ], + criterion.incompatibilities, + ) + + def _get_preference(self, name: KT) -> Preference: + return self._p.get_preference( + identifier=name, + resolutions=self.state.mapping, + candidates=IteratorMapping( + self.state.criteria, + operator.attrgetter("candidates"), + ), + information=IteratorMapping( + self.state.criteria, + operator.attrgetter("information"), + ), + backtrack_causes=self.state.backtrack_causes, + ) + + def _is_current_pin_satisfying( + self, name: KT, criterion: Criterion[RT, CT] + ) -> bool: + try: + current_pin = self.state.mapping[name] + except KeyError: + return False + return all( + self._p.is_satisfied_by(requirement=r, candidate=current_pin) + for r in criterion.iter_requirement() + ) + + def _get_updated_criteria(self, candidate: CT) -> dict[KT, Criterion[RT, CT]]: + criteria = self.state.criteria.copy() + for requirement in self._p.get_dependencies(candidate=candidate): + self._add_to_criteria(criteria, requirement, parent=candidate) + return criteria + + def _attempt_to_pin_criterion(self, name: KT) -> list[Criterion[RT, CT]]: + criterion = self.state.criteria[name] + + causes: list[Criterion[RT, CT]] = [] + for candidate in criterion.candidates: + try: + criteria = self._get_updated_criteria(candidate) + except RequirementsConflicted as e: + self._r.rejecting_candidate(e.criterion, candidate) + causes.append(e.criterion) + continue + + # Check the newly-pinned candidate actually works. This should + # always pass under normal circumstances, but in the case of a + # faulty provider, we will raise an error to notify the implementer + # to fix find_matches() and/or is_satisfied_by(). + satisfied = all( + self._p.is_satisfied_by(requirement=r, candidate=candidate) + for r in criterion.iter_requirement() + ) + if not satisfied: + raise InconsistentCandidate(candidate, criterion) + + self._r.pinning(candidate=candidate) + self.state.criteria.update(criteria) + + # Put newly-pinned candidate at the end. This is essential because + # backtracking looks at this mapping to get the last pin. + self.state.mapping.pop(name, None) + self.state.mapping[name] = candidate + + return [] + + # All candidates tried, nothing works. This criterion is a dead + # end, signal for backtracking. + return causes + + def _patch_criteria( + self, incompatibilities_from_broken: list[tuple[KT, list[CT]]] + ) -> bool: + # Create a new state from the last known-to-work one, and apply + # the previously gathered incompatibility information. + for k, incompatibilities in incompatibilities_from_broken: + if not incompatibilities: + continue + try: + criterion = self.state.criteria[k] + except KeyError: + continue + matches = self._p.find_matches( + identifier=k, + requirements=IteratorMapping( + self.state.criteria, + operator.methodcaller("iter_requirement"), + ), + incompatibilities=IteratorMapping( + self.state.criteria, + operator.attrgetter("incompatibilities"), + {k: incompatibilities}, + ), + ) + candidates: IterableView[CT] = build_iter_view(matches) + if not candidates: + return False + incompatibilities.extend(criterion.incompatibilities) + self.state.criteria[k] = Criterion( + candidates=candidates, + information=list(criterion.information), + incompatibilities=incompatibilities, + ) + return True + + def _save_state(self) -> None: + """Save states for potential rollback if optimistic backjumping fails.""" + if self._save_states is None: + self._save_states = [ + State( + mapping=s.mapping.copy(), + criteria=s.criteria.copy(), + backtrack_causes=s.backtrack_causes[:], + ) + for s in self._states + ] + + def _rollback_states(self) -> None: + """Rollback states and disable optimistic backjumping.""" + self._optimistic_backjumping_ratio = 0.0 + if self._save_states: + self._states = self._save_states + self._save_states = None + + def _backjump(self, causes: list[RequirementInformation[RT, CT]]) -> bool: + """Perform backjumping. + + When we enter here, the stack is like this:: + + [ state Z ] + [ state Y ] + [ state X ] + .... earlier states are irrelevant. + + 1. No pins worked for Z, so it does not have a pin. + 2. We want to reset state Y to unpinned, and pin another candidate. + 3. State X holds what state Y was before the pin, but does not + have the incompatibility information gathered in state Y. + + Each iteration of the loop will: + + 1. Identify Z. The incompatibility is not always caused by the latest + state. For example, given three requirements A, B and C, with + dependencies A1, B1 and C1, where A1 and B1 are incompatible: the + last state might be related to C, so we want to discard the + previous state. + 2. Discard Z. + 3. Discard Y but remember its incompatibility information gathered + previously, and the failure we're dealing with right now. + 4. Push a new state Y' based on X, and apply the incompatibility + information from Y to Y'. + 5a. If this causes Y' to conflict, we need to backtrack again. Make Y' + the new Z and go back to step 2. + 5b. If the incompatibilities apply cleanly, end backtracking. + """ + incompatible_reqs: Iterable[CT | RT] = itertools.chain( + (c.parent for c in causes if c.parent is not None), + (c.requirement for c in causes), + ) + incompatible_deps = {self._p.identify(r) for r in incompatible_reqs} + while len(self._states) >= 3: + # Remove the state that triggered backtracking. + del self._states[-1] + + # Optimistically backtrack to a state that caused the incompatibility + broken_state = self.state + while True: + # Retrieve the last candidate pin and known incompatibilities. + try: + broken_state = self._states.pop() + name, candidate = broken_state.mapping.popitem() + except (IndexError, KeyError): + raise ResolutionImpossible(causes) from None + + if ( + not self._optimistic_backjumping_ratio + and name not in incompatible_deps + ): + # For safe backjumping only backjump if the current dependency + # is not the same as the incompatible dependency + break + + # On the first time a non-safe backjump is done the state + # is saved so we can restore it later if the resolution fails + if ( + self._optimistic_backjumping_ratio + and self._save_states is None + and name not in incompatible_deps + ): + self._save_state() + + # If the current dependencies and the incompatible dependencies + # are overlapping then we have likely found a cause of the + # incompatibility + current_dependencies = { + self._p.identify(d) for d in self._p.get_dependencies(candidate) + } + if not current_dependencies.isdisjoint(incompatible_deps): + break + + # Fallback: We should not backtrack to the point where + # broken_state.mapping is empty, so stop backtracking for + # a chance for the resolution to recover + if not broken_state.mapping: + break + + incompatibilities_from_broken = [ + (k, list(v.incompatibilities)) for k, v in broken_state.criteria.items() + ] + + # Also mark the newly known incompatibility. + incompatibilities_from_broken.append((name, [candidate])) + + self._push_new_state() + success = self._patch_criteria(incompatibilities_from_broken) + + # It works! Let's work on this new state. + if success: + return True + + # State does not work after applying known incompatibilities. + # Try the still previous state. + + # No way to backtrack anymore. + return False + + def _extract_causes( + self, criteron: list[Criterion[RT, CT]] + ) -> list[RequirementInformation[RT, CT]]: + """Extract causes from list of criterion and deduplicate""" + return list({id(i): i for c in criteron for i in c.information}.values()) + + def resolve(self, requirements: Iterable[RT], max_rounds: int) -> State[RT, CT, KT]: + if self._states: + raise RuntimeError("already resolved") + + self._r.starting() + + # Initialize the root state. + self._states = [ + State( + mapping=collections.OrderedDict(), + criteria={}, + backtrack_causes=[], + ) + ] + for r in requirements: + try: + self._add_to_criteria(self.state.criteria, r, parent=None) + except RequirementsConflicted as e: + raise ResolutionImpossible(e.criterion.information) from e + + # The root state is saved as a sentinel so the first ever pin can have + # something to backtrack to if it fails. The root state is basically + # pinning the virtual "root" package in the graph. + self._push_new_state() + + # Variables for optimistic backjumping + optimistic_rounds_cutoff: int | None = None + optimistic_backjumping_start_round: int | None = None + + for round_index in range(max_rounds): + self._r.starting_round(index=round_index) + + # Handle if optimistic backjumping has been running for too long + if self._optimistic_backjumping_ratio and self._save_states is not None: + if optimistic_backjumping_start_round is None: + optimistic_backjumping_start_round = round_index + optimistic_rounds_cutoff = int( + (max_rounds - round_index) * self._optimistic_backjumping_ratio + ) + + if optimistic_rounds_cutoff <= 0: + self._rollback_states() + continue + elif optimistic_rounds_cutoff is not None: + if ( + round_index - optimistic_backjumping_start_round + >= optimistic_rounds_cutoff + ): + self._rollback_states() + continue + + unsatisfied_names = [ + key + for key, criterion in self.state.criteria.items() + if not self._is_current_pin_satisfying(key, criterion) + ] + + # All criteria are accounted for. Nothing more to pin, we are done! + if not unsatisfied_names: + self._r.ending(state=self.state) + return self.state + + # keep track of satisfied names to calculate diff after pinning + satisfied_names = set(self.state.criteria.keys()) - set(unsatisfied_names) + + if len(unsatisfied_names) > 1: + narrowed_unstatisfied_names = list( + self._p.narrow_requirement_selection( + identifiers=unsatisfied_names, + resolutions=self.state.mapping, + candidates=IteratorMapping( + self.state.criteria, + operator.attrgetter("candidates"), + ), + information=IteratorMapping( + self.state.criteria, + operator.attrgetter("information"), + ), + backtrack_causes=self.state.backtrack_causes, + ) + ) + else: + narrowed_unstatisfied_names = unsatisfied_names + + # If there are no unsatisfied names use unsatisfied names + if not narrowed_unstatisfied_names: + raise RuntimeError("narrow_requirement_selection returned 0 names") + + # If there is only 1 unsatisfied name skip calling self._get_preference + if len(narrowed_unstatisfied_names) > 1: + # Choose the most preferred unpinned criterion to try. + name = min(narrowed_unstatisfied_names, key=self._get_preference) + else: + name = narrowed_unstatisfied_names[0] + + failure_criterion = self._attempt_to_pin_criterion(name) + + if failure_criterion: + causes = self._extract_causes(failure_criterion) + # Backjump if pinning fails. The backjump process puts us in + # an unpinned state, so we can work on it in the next round. + self._r.resolving_conflicts(causes=causes) + + try: + success = self._backjump(causes) + except ResolutionImpossible: + if self._optimistic_backjumping_ratio and self._save_states: + failed_optimistic_backjumping = True + else: + raise + else: + failed_optimistic_backjumping = bool( + not success + and self._optimistic_backjumping_ratio + and self._save_states + ) + + if failed_optimistic_backjumping and self._save_states: + self._rollback_states() + else: + self.state.backtrack_causes[:] = causes + + # Dead ends everywhere. Give up. + if not success: + raise ResolutionImpossible(self.state.backtrack_causes) + else: + # discard as information sources any invalidated names + # (unsatisfied names that were previously satisfied) + newly_unsatisfied_names = { + key + for key, criterion in self.state.criteria.items() + if key in satisfied_names + and not self._is_current_pin_satisfying(key, criterion) + } + self._remove_information_from_criteria( + self.state.criteria, newly_unsatisfied_names + ) + # Pinning was successful. Push a new state to do another pin. + self._push_new_state() + + self._r.ending_round(index=round_index, state=self.state) + + raise ResolutionTooDeep(max_rounds) + + +class Resolver(AbstractResolver[RT, CT, KT]): + """The thing that performs the actual resolution work.""" + + base_exception = ResolverException + + def resolve( # type: ignore[override] + self, + requirements: Iterable[RT], + max_rounds: int = 100, + ) -> Result[RT, CT, KT]: + """Take a collection of constraints, spit out the resolution result. + + The return value is a representation to the final resolution result. It + is a tuple subclass with three public members: + + * `mapping`: A dict of resolved candidates. Each key is an identifier + of a requirement (as returned by the provider's `identify` method), + and the value is the resolved candidate. + * `graph`: A `DirectedGraph` instance representing the dependency tree. + The vertices are keys of `mapping`, and each edge represents *why* + a particular package is included. A special vertex `None` is + included to represent parents of user-supplied requirements. + * `criteria`: A dict of "criteria" that hold detailed information on + how edges in the graph are derived. Each key is an identifier of a + requirement, and the value is a `Criterion` instance. + + The following exceptions may be raised if a resolution cannot be found: + + * `ResolutionImpossible`: A resolution cannot be found for the given + combination of requirements. The `causes` attribute of the + exception is a list of (requirement, parent), giving the + requirements that could not be satisfied. + * `ResolutionTooDeep`: The dependency tree is too deeply nested and + the resolver gave up. This is usually caused by a circular + dependency, but you can try to resolve this by increasing the + `max_rounds` argument. + """ + resolution = Resolution(self.provider, self.reporter) + state = resolution.resolve(requirements, max_rounds=max_rounds) + return _build_result(state) + + +def _has_route_to_root( + criteria: Mapping[KT, Criterion[RT, CT]], + key: KT | None, + all_keys: dict[int, KT | None], + connected: set[KT | None], +) -> bool: + if key in connected: + return True + if key not in criteria: + return False + assert key is not None + for p in criteria[key].iter_parent(): + try: + pkey = all_keys[id(p)] + except KeyError: + continue + if pkey in connected: + connected.add(key) + return True + if _has_route_to_root(criteria, pkey, all_keys, connected): + connected.add(key) + return True + return False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/structs.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/structs.py new file mode 100644 index 0000000000000000000000000000000000000000..18c74d415481f3caab86a190cca176635355bfcd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/structs.py @@ -0,0 +1,209 @@ +from __future__ import annotations + +import itertools +from collections import namedtuple +from typing import ( + TYPE_CHECKING, + Callable, + Generic, + Iterable, + Iterator, + Mapping, + NamedTuple, + Sequence, + TypeVar, + Union, +) + +KT = TypeVar("KT") # Identifier. +RT = TypeVar("RT") # Requirement. +CT = TypeVar("CT") # Candidate. + +Matches = Union[Iterable[CT], Callable[[], Iterable[CT]]] + +if TYPE_CHECKING: + from .resolvers.criterion import Criterion + + class RequirementInformation(NamedTuple, Generic[RT, CT]): + requirement: RT + parent: CT | None + + class State(NamedTuple, Generic[RT, CT, KT]): + """Resolution state in a round.""" + + mapping: dict[KT, CT] + criteria: dict[KT, Criterion[RT, CT]] + backtrack_causes: list[RequirementInformation[RT, CT]] + +else: + RequirementInformation = namedtuple( + "RequirementInformation", ["requirement", "parent"] + ) + State = namedtuple("State", ["mapping", "criteria", "backtrack_causes"]) + + +class DirectedGraph(Generic[KT]): + """A graph structure with directed edges.""" + + def __init__(self) -> None: + self._vertices: set[KT] = set() + self._forwards: dict[KT, set[KT]] = {} # -> Set[] + self._backwards: dict[KT, set[KT]] = {} # -> Set[] + + def __iter__(self) -> Iterator[KT]: + return iter(self._vertices) + + def __len__(self) -> int: + return len(self._vertices) + + def __contains__(self, key: KT) -> bool: + return key in self._vertices + + def copy(self) -> DirectedGraph[KT]: + """Return a shallow copy of this graph.""" + other = type(self)() + other._vertices = set(self._vertices) + other._forwards = {k: set(v) for k, v in self._forwards.items()} + other._backwards = {k: set(v) for k, v in self._backwards.items()} + return other + + def add(self, key: KT) -> None: + """Add a new vertex to the graph.""" + if key in self._vertices: + raise ValueError("vertex exists") + self._vertices.add(key) + self._forwards[key] = set() + self._backwards[key] = set() + + def remove(self, key: KT) -> None: + """Remove a vertex from the graph, disconnecting all edges from/to it.""" + self._vertices.remove(key) + for f in self._forwards.pop(key): + self._backwards[f].remove(key) + for t in self._backwards.pop(key): + self._forwards[t].remove(key) + + def connected(self, f: KT, t: KT) -> bool: + return f in self._backwards[t] and t in self._forwards[f] + + def connect(self, f: KT, t: KT) -> None: + """Connect two existing vertices. + + Nothing happens if the vertices are already connected. + """ + if t not in self._vertices: + raise KeyError(t) + self._forwards[f].add(t) + self._backwards[t].add(f) + + def iter_edges(self) -> Iterator[tuple[KT, KT]]: + for f, children in self._forwards.items(): + for t in children: + yield f, t + + def iter_children(self, key: KT) -> Iterator[KT]: + return iter(self._forwards[key]) + + def iter_parents(self, key: KT) -> Iterator[KT]: + return iter(self._backwards[key]) + + +class IteratorMapping(Mapping[KT, Iterator[CT]], Generic[RT, CT, KT]): + def __init__( + self, + mapping: Mapping[KT, RT], + accessor: Callable[[RT], Iterable[CT]], + appends: Mapping[KT, Iterable[CT]] | None = None, + ) -> None: + self._mapping = mapping + self._accessor = accessor + self._appends: Mapping[KT, Iterable[CT]] = appends or {} + + def __repr__(self) -> str: + return "IteratorMapping({!r}, {!r}, {!r})".format( + self._mapping, + self._accessor, + self._appends, + ) + + def __bool__(self) -> bool: + return bool(self._mapping or self._appends) + + def __contains__(self, key: object) -> bool: + return key in self._mapping or key in self._appends + + def __getitem__(self, k: KT) -> Iterator[CT]: + try: + v = self._mapping[k] + except KeyError: + return iter(self._appends[k]) + return itertools.chain(self._accessor(v), self._appends.get(k, ())) + + def __iter__(self) -> Iterator[KT]: + more = (k for k in self._appends if k not in self._mapping) + return itertools.chain(self._mapping, more) + + def __len__(self) -> int: + more = sum(1 for k in self._appends if k not in self._mapping) + return len(self._mapping) + more + + +class _FactoryIterableView(Iterable[RT]): + """Wrap an iterator factory returned by `find_matches()`. + + Calling `iter()` on this class would invoke the underlying iterator + factory, making it a "collection with ordering" that can be iterated + through multiple times, but lacks random access methods presented in + built-in Python sequence types. + """ + + def __init__(self, factory: Callable[[], Iterable[RT]]) -> None: + self._factory = factory + self._iterable: Iterable[RT] | None = None + + def __repr__(self) -> str: + return f"{type(self).__name__}({list(self)})" + + def __bool__(self) -> bool: + try: + next(iter(self)) + except StopIteration: + return False + return True + + def __iter__(self) -> Iterator[RT]: + iterable = self._factory() if self._iterable is None else self._iterable + self._iterable, current = itertools.tee(iterable) + return current + + +class _SequenceIterableView(Iterable[RT]): + """Wrap an iterable returned by find_matches(). + + This is essentially just a proxy to the underlying sequence that provides + the same interface as `_FactoryIterableView`. + """ + + def __init__(self, sequence: Sequence[RT]): + self._sequence = sequence + + def __repr__(self) -> str: + return f"{type(self).__name__}({self._sequence})" + + def __bool__(self) -> bool: + return bool(self._sequence) + + def __iter__(self) -> Iterator[RT]: + return iter(self._sequence) + + +def build_iter_view(matches: Matches[CT]) -> Iterable[CT]: + """Build an iterable view from the value returned by `find_matches()`.""" + if callable(matches): + return _FactoryIterableView(matches) + if not isinstance(matches, Sequence): + matches = list(matches) + return _SequenceIterableView(matches) + + +IterableView = Iterable diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__init__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..73f58d7740813264d20047ffe918c82e1acc84eb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__init__.py @@ -0,0 +1,177 @@ +"""Rich text and beautiful formatting in the terminal.""" + +import os +from typing import IO, TYPE_CHECKING, Any, Callable, Optional, Union + +from ._extension import load_ipython_extension # noqa: F401 + +__all__ = ["get_console", "reconfigure", "print", "inspect", "print_json"] + +if TYPE_CHECKING: + from .console import Console + +# Global console used by alternative print +_console: Optional["Console"] = None + +try: + _IMPORT_CWD = os.path.abspath(os.getcwd()) +except FileNotFoundError: + # Can happen if the cwd has been deleted + _IMPORT_CWD = "" + + +def get_console() -> "Console": + """Get a global :class:`~rich.console.Console` instance. This function is used when Rich requires a Console, + and hasn't been explicitly given one. + + Returns: + Console: A console instance. + """ + global _console + if _console is None: + from .console import Console + + _console = Console() + + return _console + + +def reconfigure(*args: Any, **kwargs: Any) -> None: + """Reconfigures the global console by replacing it with another. + + Args: + *args (Any): Positional arguments for the replacement :class:`~rich.console.Console`. + **kwargs (Any): Keyword arguments for the replacement :class:`~rich.console.Console`. + """ + from pip._vendor.rich.console import Console + + new_console = Console(*args, **kwargs) + _console = get_console() + _console.__dict__ = new_console.__dict__ + + +def print( + *objects: Any, + sep: str = " ", + end: str = "\n", + file: Optional[IO[str]] = None, + flush: bool = False, +) -> None: + r"""Print object(s) supplied via positional arguments. + This function has an identical signature to the built-in print. + For more advanced features, see the :class:`~rich.console.Console` class. + + Args: + sep (str, optional): Separator between printed objects. Defaults to " ". + end (str, optional): Character to write at end of output. Defaults to "\\n". + file (IO[str], optional): File to write to, or None for stdout. Defaults to None. + flush (bool, optional): Has no effect as Rich always flushes output. Defaults to False. + + """ + from .console import Console + + write_console = get_console() if file is None else Console(file=file) + return write_console.print(*objects, sep=sep, end=end) + + +def print_json( + json: Optional[str] = None, + *, + data: Any = None, + indent: Union[None, int, str] = 2, + highlight: bool = True, + skip_keys: bool = False, + ensure_ascii: bool = False, + check_circular: bool = True, + allow_nan: bool = True, + default: Optional[Callable[[Any], Any]] = None, + sort_keys: bool = False, +) -> None: + """Pretty prints JSON. Output will be valid JSON. + + Args: + json (str): A string containing JSON. + data (Any): If json is not supplied, then encode this data. + indent (int, optional): Number of spaces to indent. Defaults to 2. + highlight (bool, optional): Enable highlighting of output: Defaults to True. + skip_keys (bool, optional): Skip keys not of a basic type. Defaults to False. + ensure_ascii (bool, optional): Escape all non-ascii characters. Defaults to False. + check_circular (bool, optional): Check for circular references. Defaults to True. + allow_nan (bool, optional): Allow NaN and Infinity values. Defaults to True. + default (Callable, optional): A callable that converts values that can not be encoded + in to something that can be JSON encoded. Defaults to None. + sort_keys (bool, optional): Sort dictionary keys. Defaults to False. + """ + + get_console().print_json( + json, + data=data, + indent=indent, + highlight=highlight, + skip_keys=skip_keys, + ensure_ascii=ensure_ascii, + check_circular=check_circular, + allow_nan=allow_nan, + default=default, + sort_keys=sort_keys, + ) + + +def inspect( + obj: Any, + *, + console: Optional["Console"] = None, + title: Optional[str] = None, + help: bool = False, + methods: bool = False, + docs: bool = True, + private: bool = False, + dunder: bool = False, + sort: bool = True, + all: bool = False, + value: bool = True, +) -> None: + """Inspect any Python object. + + * inspect() to see summarized info. + * inspect(, methods=True) to see methods. + * inspect(, help=True) to see full (non-abbreviated) help. + * inspect(, private=True) to see private attributes (single underscore). + * inspect(, dunder=True) to see attributes beginning with double underscore. + * inspect(, all=True) to see all attributes. + + Args: + obj (Any): An object to inspect. + title (str, optional): Title to display over inspect result, or None use type. Defaults to None. + help (bool, optional): Show full help text rather than just first paragraph. Defaults to False. + methods (bool, optional): Enable inspection of callables. Defaults to False. + docs (bool, optional): Also render doc strings. Defaults to True. + private (bool, optional): Show private attributes (beginning with underscore). Defaults to False. + dunder (bool, optional): Show attributes starting with double underscore. Defaults to False. + sort (bool, optional): Sort attributes alphabetically. Defaults to True. + all (bool, optional): Show all attributes. Defaults to False. + value (bool, optional): Pretty print value. Defaults to True. + """ + _console = console or get_console() + from pip._vendor.rich._inspect import Inspect + + # Special case for inspect(inspect) + is_inspect = obj is inspect + + _inspect = Inspect( + obj, + title=title, + help=is_inspect or help, + methods=is_inspect or methods, + docs=is_inspect or docs, + private=private, + dunder=dunder, + sort=sort, + all=all, + value=value, + ) + _console.print(_inspect) + + +if __name__ == "__main__": # pragma: no cover + print("Hello, **World**") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__main__.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__main__.py new file mode 100644 index 0000000000000000000000000000000000000000..a583f1efae351e9a7ed636e1460577580dc4c6b1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__main__.py @@ -0,0 +1,245 @@ +import colorsys +import io +from time import process_time + +from pip._vendor.rich import box +from pip._vendor.rich.color import Color +from pip._vendor.rich.console import Console, ConsoleOptions, Group, RenderableType, RenderResult +from pip._vendor.rich.markdown import Markdown +from pip._vendor.rich.measure import Measurement +from pip._vendor.rich.pretty import Pretty +from pip._vendor.rich.segment import Segment +from pip._vendor.rich.style import Style +from pip._vendor.rich.syntax import Syntax +from pip._vendor.rich.table import Table +from pip._vendor.rich.text import Text + + +class ColorBox: + def __rich_console__( + self, console: Console, options: ConsoleOptions + ) -> RenderResult: + for y in range(0, 5): + for x in range(options.max_width): + h = x / options.max_width + l = 0.1 + ((y / 5) * 0.7) + r1, g1, b1 = colorsys.hls_to_rgb(h, l, 1.0) + r2, g2, b2 = colorsys.hls_to_rgb(h, l + 0.7 / 10, 1.0) + bgcolor = Color.from_rgb(r1 * 255, g1 * 255, b1 * 255) + color = Color.from_rgb(r2 * 255, g2 * 255, b2 * 255) + yield Segment("▄", Style(color=color, bgcolor=bgcolor)) + yield Segment.line() + + def __rich_measure__( + self, console: "Console", options: ConsoleOptions + ) -> Measurement: + return Measurement(1, options.max_width) + + +def make_test_card() -> Table: + """Get a renderable that demonstrates a number of features.""" + table = Table.grid(padding=1, pad_edge=True) + table.title = "Rich features" + table.add_column("Feature", no_wrap=True, justify="center", style="bold red") + table.add_column("Demonstration") + + color_table = Table( + box=None, + expand=False, + show_header=False, + show_edge=False, + pad_edge=False, + ) + color_table.add_row( + ( + "✓ [bold green]4-bit color[/]\n" + "✓ [bold blue]8-bit color[/]\n" + "✓ [bold magenta]Truecolor (16.7 million)[/]\n" + "✓ [bold yellow]Dumb terminals[/]\n" + "✓ [bold cyan]Automatic color conversion" + ), + ColorBox(), + ) + + table.add_row("Colors", color_table) + + table.add_row( + "Styles", + "All ansi styles: [bold]bold[/], [dim]dim[/], [italic]italic[/italic], [underline]underline[/], [strike]strikethrough[/], [reverse]reverse[/], and even [blink]blink[/].", + ) + + 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." + lorem_table = Table.grid(padding=1, collapse_padding=True) + lorem_table.pad_edge = False + lorem_table.add_row( + Text(lorem, justify="left", style="green"), + Text(lorem, justify="center", style="yellow"), + Text(lorem, justify="right", style="blue"), + Text(lorem, justify="full", style="red"), + ) + table.add_row( + "Text", + Group( + Text.from_markup( + """Word wrap text. Justify [green]left[/], [yellow]center[/], [blue]right[/] or [red]full[/].\n""" + ), + lorem_table, + ), + ) + + def comparison(renderable1: RenderableType, renderable2: RenderableType) -> Table: + table = Table(show_header=False, pad_edge=False, box=None, expand=True) + table.add_column("1", ratio=1) + table.add_column("2", ratio=1) + table.add_row(renderable1, renderable2) + return table + + table.add_row( + "Asian\nlanguage\nsupport", + ":flag_for_china: 该库支持中文,日文和韩文文本!\n:flag_for_japan: ライブラリは中国語、日本語、韓国語のテキストをサポートしています\n:flag_for_south_korea: 이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다", + ) + + markup_example = ( + "[bold magenta]Rich[/] supports a simple [i]bbcode[/i]-like [b]markup[/b] for [yellow]color[/], [underline]style[/], and emoji! " + ":+1: :apple: :ant: :bear: :baguette_bread: :bus: " + ) + table.add_row("Markup", markup_example) + + example_table = Table( + show_edge=False, + show_header=True, + expand=False, + row_styles=["none", "dim"], + box=box.SIMPLE, + ) + example_table.add_column("[green]Date", style="green", no_wrap=True) + example_table.add_column("[blue]Title", style="blue") + example_table.add_column( + "[cyan]Production Budget", + style="cyan", + justify="right", + no_wrap=True, + ) + example_table.add_column( + "[magenta]Box Office", + style="magenta", + justify="right", + no_wrap=True, + ) + example_table.add_row( + "Dec 20, 2019", + "Star Wars: The Rise of Skywalker", + "$275,000,000", + "$375,126,118", + ) + example_table.add_row( + "May 25, 2018", + "[b]Solo[/]: A Star Wars Story", + "$275,000,000", + "$393,151,347", + ) + example_table.add_row( + "Dec 15, 2017", + "Star Wars Ep. VIII: The Last Jedi", + "$262,000,000", + "[bold]$1,332,539,889[/bold]", + ) + example_table.add_row( + "May 19, 1999", + "Star Wars Ep. [b]I[/b]: [i]The phantom Menace", + "$115,000,000", + "$1,027,044,677", + ) + + table.add_row("Tables", example_table) + + code = '''\ +def iter_last(values: Iterable[T]) -> Iterable[Tuple[bool, T]]: + """Iterate and generate a tuple with a flag for last value.""" + iter_values = iter(values) + try: + previous_value = next(iter_values) + except StopIteration: + return + for value in iter_values: + yield False, previous_value + previous_value = value + yield True, previous_value''' + + pretty_data = { + "foo": [ + 3.1427, + ( + "Paul Atreides", + "Vladimir Harkonnen", + "Thufir Hawat", + ), + ], + "atomic": (False, True, None), + } + table.add_row( + "Syntax\nhighlighting\n&\npretty\nprinting", + comparison( + Syntax(code, "python3", line_numbers=True, indent_guides=True), + Pretty(pretty_data, indent_guides=True), + ), + ) + + markdown_example = """\ +# Markdown + +Supports much of the *markdown* __syntax__! + +- Headers +- Basic formatting: **bold**, *italic*, `code` +- Block quotes +- Lists, and more... + """ + table.add_row( + "Markdown", comparison("[cyan]" + markdown_example, Markdown(markdown_example)) + ) + + table.add_row( + "+more!", + """Progress bars, columns, styled logging handler, tracebacks, etc...""", + ) + return table + + +if __name__ == "__main__": # pragma: no cover + from pip._vendor.rich.panel import Panel + + console = Console( + file=io.StringIO(), + force_terminal=True, + ) + test_card = make_test_card() + + # Print once to warm cache + start = process_time() + console.print(test_card) + pre_cache_taken = round((process_time() - start) * 1000.0, 1) + + console.file = io.StringIO() + + start = process_time() + console.print(test_card) + taken = round((process_time() - start) * 1000.0, 1) + + c = Console(record=True) + c.print(test_card) + + console = Console() + console.print(f"[dim]rendered in [not dim]{pre_cache_taken}ms[/] (cold cache)") + console.print(f"[dim]rendered in [not dim]{taken}ms[/] (warm cache)") + console.print() + console.print( + Panel.fit( + "[b magenta]Hope you enjoy using Rich![/]\n\n" + "Please consider sponsoring me if you get value from my work.\n\n" + "Even the price of a ☕ can brighten my day!\n\n" + "https://github.com/sponsors/willmcgugan", + border_style="red", + title="Help ensure Rich is maintained", + ) + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c56336b9c26960dc7012937f741991142bf1c369 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..132a5ba01558a09f8e74d021006926b0d3190a38 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..553a422025dcbcf6088924e43b9165b4da5052d6 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9ab2303a836143a9bd748aa11b92f88d118f5dd6 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88fe80b04ff35e3efdc605978242b7d6ea0fefe3644561b890e573d4ca47aeda +size 205984 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c8a96bfc0bde9c8abeb88518df82d759597841e6 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6a7800fa62166aa954992d673a20868058bd61b8 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7257fdb0446a14cf2c7394182ed9cd0c610d283e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2841b822d9b300c2193051d5be8dd0430f43eccf Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..eba866acf0c46bb3be753f6080439e34d5788ce2 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..62943b683bff22afc77ae4c64057aa7b65bfd05f Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..32fb8f67edac18b27bec13296935bfdedbc41e77 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f6c1294120187da89e891240f404b770f916b283 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..44d18d905e9d4420aaa347c7db92f17f5a8009b3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..884eb195264c7090794e6d7dd98d7e4bb7990122 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3f305898c6eb1d339c6ad9c68a2659bbb252fd70 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7da3fd51ed2521753b798af7ef42bb0f793dfe47 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a995c29a7fa0df17c9bd0ae348d559821d7c5a83 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ca5dbe7dc388676e1dc66867f6257a53c3ac19ab Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..afdb56c3b2dac953d6adfcb6f347c4baecd8b313 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1b99ee809247ba84c82941731ab08b7f8677e8c7 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c3b0f0eab05b14d0294d7a49ac68fdbc2807a9bb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5a02438ebc8aa58b233e95041248ec7575daa2e2 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ac8c2569dce34e9edee7380605748a92490f9b69 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..064e1572fe2e2e46fdb462cb8c0bcb278c153bbb Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..39d8b91241ae3eb3c95f0e9731c877b82b84806e Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..39fd4a8da83b2e4ec9d31a674085c485e3e4f884 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..68aecf8d88e6b475af5fa87403a52a67d05ac96c Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..226990160fd0c81c10cf7d2020e83ff5d764b9ee Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d132fb3ac19e1fdf806fd63660fd6719715eeb49 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9e9b1ce68d7ce62688d635cba22f9542a777ae55 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ba538f2390f1d21797a0cb6ae7c06e68967c9bc3 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..aaf2680c64b542b041110cdcfb427f28fac2e4d9 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8947cf16c7d893dd65729fcc707234d0c6b9e820 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7acbf9d662f5a3a27b0ea0ba181ba5a36b2b6628 Binary files /dev/null and b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc differ diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_cell_widths.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_cell_widths.py new file mode 100644 index 0000000000000000000000000000000000000000..608ae3a75d16ef5af4a6afcc1958b03239f2067e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_cell_widths.py @@ -0,0 +1,454 @@ +# Auto generated by make_terminal_widths.py + +CELL_WIDTHS = [ + (0, 0, 0), + (1, 31, -1), + (127, 159, -1), + (173, 173, 0), + (768, 879, 0), + (1155, 1161, 0), + (1425, 1469, 0), + (1471, 1471, 0), + (1473, 1474, 0), + (1476, 1477, 0), + (1479, 1479, 0), + (1536, 1541, 0), + (1552, 1562, 0), + (1564, 1564, 0), + (1611, 1631, 0), + (1648, 1648, 0), + (1750, 1757, 0), + (1759, 1764, 0), + (1767, 1768, 0), + (1770, 1773, 0), + (1807, 1807, 0), + (1809, 1809, 0), + (1840, 1866, 0), + (1958, 1968, 0), + (2027, 2035, 0), + (2045, 2045, 0), + (2070, 2073, 0), + (2075, 2083, 0), + (2085, 2087, 0), + (2089, 2093, 0), + (2137, 2139, 0), + (2192, 2193, 0), + (2200, 2207, 0), + (2250, 2307, 0), + (2362, 2364, 0), + (2366, 2383, 0), + (2385, 2391, 0), + (2402, 2403, 0), + (2433, 2435, 0), + (2492, 2492, 0), + (2494, 2500, 0), + (2503, 2504, 0), + (2507, 2509, 0), + (2519, 2519, 0), + (2530, 2531, 0), + (2558, 2558, 0), + (2561, 2563, 0), + (2620, 2620, 0), + (2622, 2626, 0), + (2631, 2632, 0), + (2635, 2637, 0), + (2641, 2641, 0), + (2672, 2673, 0), + (2677, 2677, 0), + (2689, 2691, 0), + (2748, 2748, 0), + (2750, 2757, 0), + (2759, 2761, 0), + (2763, 2765, 0), + (2786, 2787, 0), + (2810, 2815, 0), + (2817, 2819, 0), + (2876, 2876, 0), + (2878, 2884, 0), + (2887, 2888, 0), + (2891, 2893, 0), + (2901, 2903, 0), + (2914, 2915, 0), + (2946, 2946, 0), + (3006, 3010, 0), + (3014, 3016, 0), + (3018, 3021, 0), + (3031, 3031, 0), + (3072, 3076, 0), + (3132, 3132, 0), + (3134, 3140, 0), + (3142, 3144, 0), + (3146, 3149, 0), + (3157, 3158, 0), + (3170, 3171, 0), + (3201, 3203, 0), + (3260, 3260, 0), + (3262, 3268, 0), + (3270, 3272, 0), + (3274, 3277, 0), + (3285, 3286, 0), + (3298, 3299, 0), + (3315, 3315, 0), + (3328, 3331, 0), + (3387, 3388, 0), + (3390, 3396, 0), + (3398, 3400, 0), + (3402, 3405, 0), + (3415, 3415, 0), + (3426, 3427, 0), + (3457, 3459, 0), + (3530, 3530, 0), + (3535, 3540, 0), + (3542, 3542, 0), + (3544, 3551, 0), + (3570, 3571, 0), + (3633, 3633, 0), + (3636, 3642, 0), + (3655, 3662, 0), + (3761, 3761, 0), + (3764, 3772, 0), + (3784, 3790, 0), + (3864, 3865, 0), + (3893, 3893, 0), + (3895, 3895, 0), + (3897, 3897, 0), + (3902, 3903, 0), + (3953, 3972, 0), + (3974, 3975, 0), + (3981, 3991, 0), + (3993, 4028, 0), + (4038, 4038, 0), + (4139, 4158, 0), + (4182, 4185, 0), + (4190, 4192, 0), + (4194, 4196, 0), + (4199, 4205, 0), + (4209, 4212, 0), + (4226, 4237, 0), + (4239, 4239, 0), + (4250, 4253, 0), + (4352, 4447, 2), + (4448, 4607, 0), + (4957, 4959, 0), + (5906, 5909, 0), + (5938, 5940, 0), + (5970, 5971, 0), + (6002, 6003, 0), + (6068, 6099, 0), + (6109, 6109, 0), + (6155, 6159, 0), + (6277, 6278, 0), + (6313, 6313, 0), + (6432, 6443, 0), + (6448, 6459, 0), + (6679, 6683, 0), + (6741, 6750, 0), + (6752, 6780, 0), + (6783, 6783, 0), + (6832, 6862, 0), + (6912, 6916, 0), + (6964, 6980, 0), + (7019, 7027, 0), + (7040, 7042, 0), + (7073, 7085, 0), + (7142, 7155, 0), + (7204, 7223, 0), + (7376, 7378, 0), + (7380, 7400, 0), + (7405, 7405, 0), + (7412, 7412, 0), + (7415, 7417, 0), + (7616, 7679, 0), + (8203, 8207, 0), + (8232, 8238, 0), + (8288, 8292, 0), + (8294, 8303, 0), + (8400, 8432, 0), + (8986, 8987, 2), + (9001, 9002, 2), + (9193, 9196, 2), + (9200, 9200, 2), + (9203, 9203, 2), + (9725, 9726, 2), + (9748, 9749, 2), + (9800, 9811, 2), + (9855, 9855, 2), + (9875, 9875, 2), + (9889, 9889, 2), + (9898, 9899, 2), + (9917, 9918, 2), + (9924, 9925, 2), + (9934, 9934, 2), + (9940, 9940, 2), + (9962, 9962, 2), + (9970, 9971, 2), + (9973, 9973, 2), + (9978, 9978, 2), + (9981, 9981, 2), + (9989, 9989, 2), + (9994, 9995, 2), + (10024, 10024, 2), + (10060, 10060, 2), + (10062, 10062, 2), + (10067, 10069, 2), + (10071, 10071, 2), + (10133, 10135, 2), + (10160, 10160, 2), + (10175, 10175, 2), + (11035, 11036, 2), + (11088, 11088, 2), + (11093, 11093, 2), + (11503, 11505, 0), + (11647, 11647, 0), + (11744, 11775, 0), + (11904, 11929, 2), + (11931, 12019, 2), + (12032, 12245, 2), + (12272, 12329, 2), + (12330, 12335, 0), + (12336, 12350, 2), + (12353, 12438, 2), + (12441, 12442, 0), + (12443, 12543, 2), + (12549, 12591, 2), + (12593, 12686, 2), + (12688, 12771, 2), + (12783, 12830, 2), + (12832, 12871, 2), + (12880, 19903, 2), + (19968, 42124, 2), + (42128, 42182, 2), + (42607, 42610, 0), + (42612, 42621, 0), + (42654, 42655, 0), + (42736, 42737, 0), + (43010, 43010, 0), + (43014, 43014, 0), + (43019, 43019, 0), + (43043, 43047, 0), + (43052, 43052, 0), + (43136, 43137, 0), + (43188, 43205, 0), + (43232, 43249, 0), + (43263, 43263, 0), + (43302, 43309, 0), + (43335, 43347, 0), + (43360, 43388, 2), + (43392, 43395, 0), + (43443, 43456, 0), + (43493, 43493, 0), + (43561, 43574, 0), + (43587, 43587, 0), + (43596, 43597, 0), + (43643, 43645, 0), + (43696, 43696, 0), + (43698, 43700, 0), + (43703, 43704, 0), + (43710, 43711, 0), + (43713, 43713, 0), + (43755, 43759, 0), + (43765, 43766, 0), + (44003, 44010, 0), + (44012, 44013, 0), + (44032, 55203, 2), + (55216, 55295, 0), + (63744, 64255, 2), + (64286, 64286, 0), + (65024, 65039, 0), + (65040, 65049, 2), + (65056, 65071, 0), + (65072, 65106, 2), + (65108, 65126, 2), + (65128, 65131, 2), + (65279, 65279, 0), + (65281, 65376, 2), + (65504, 65510, 2), + (65529, 65531, 0), + (66045, 66045, 0), + (66272, 66272, 0), + (66422, 66426, 0), + (68097, 68099, 0), + (68101, 68102, 0), + (68108, 68111, 0), + (68152, 68154, 0), + (68159, 68159, 0), + (68325, 68326, 0), + (68900, 68903, 0), + (69291, 69292, 0), + (69373, 69375, 0), + (69446, 69456, 0), + (69506, 69509, 0), + (69632, 69634, 0), + (69688, 69702, 0), + (69744, 69744, 0), + (69747, 69748, 0), + (69759, 69762, 0), + (69808, 69818, 0), + (69821, 69821, 0), + (69826, 69826, 0), + (69837, 69837, 0), + (69888, 69890, 0), + (69927, 69940, 0), + (69957, 69958, 0), + (70003, 70003, 0), + (70016, 70018, 0), + (70067, 70080, 0), + (70089, 70092, 0), + (70094, 70095, 0), + (70188, 70199, 0), + (70206, 70206, 0), + (70209, 70209, 0), + (70367, 70378, 0), + (70400, 70403, 0), + (70459, 70460, 0), + (70462, 70468, 0), + (70471, 70472, 0), + (70475, 70477, 0), + (70487, 70487, 0), + (70498, 70499, 0), + (70502, 70508, 0), + (70512, 70516, 0), + (70709, 70726, 0), + (70750, 70750, 0), + (70832, 70851, 0), + (71087, 71093, 0), + (71096, 71104, 0), + (71132, 71133, 0), + (71216, 71232, 0), + (71339, 71351, 0), + (71453, 71467, 0), + (71724, 71738, 0), + (71984, 71989, 0), + (71991, 71992, 0), + (71995, 71998, 0), + (72000, 72000, 0), + (72002, 72003, 0), + (72145, 72151, 0), + (72154, 72160, 0), + (72164, 72164, 0), + (72193, 72202, 0), + (72243, 72249, 0), + (72251, 72254, 0), + (72263, 72263, 0), + (72273, 72283, 0), + (72330, 72345, 0), + (72751, 72758, 0), + (72760, 72767, 0), + (72850, 72871, 0), + (72873, 72886, 0), + (73009, 73014, 0), + (73018, 73018, 0), + (73020, 73021, 0), + (73023, 73029, 0), + (73031, 73031, 0), + (73098, 73102, 0), + (73104, 73105, 0), + (73107, 73111, 0), + (73459, 73462, 0), + (73472, 73473, 0), + (73475, 73475, 0), + (73524, 73530, 0), + (73534, 73538, 0), + (78896, 78912, 0), + (78919, 78933, 0), + (92912, 92916, 0), + (92976, 92982, 0), + (94031, 94031, 0), + (94033, 94087, 0), + (94095, 94098, 0), + (94176, 94179, 2), + (94180, 94180, 0), + (94192, 94193, 0), + (94208, 100343, 2), + (100352, 101589, 2), + (101632, 101640, 2), + (110576, 110579, 2), + (110581, 110587, 2), + (110589, 110590, 2), + (110592, 110882, 2), + (110898, 110898, 2), + (110928, 110930, 2), + (110933, 110933, 2), + (110948, 110951, 2), + (110960, 111355, 2), + (113821, 113822, 0), + (113824, 113827, 0), + (118528, 118573, 0), + (118576, 118598, 0), + (119141, 119145, 0), + (119149, 119170, 0), + (119173, 119179, 0), + (119210, 119213, 0), + (119362, 119364, 0), + (121344, 121398, 0), + (121403, 121452, 0), + (121461, 121461, 0), + (121476, 121476, 0), + (121499, 121503, 0), + (121505, 121519, 0), + (122880, 122886, 0), + (122888, 122904, 0), + (122907, 122913, 0), + (122915, 122916, 0), + (122918, 122922, 0), + (123023, 123023, 0), + (123184, 123190, 0), + (123566, 123566, 0), + (123628, 123631, 0), + (124140, 124143, 0), + (125136, 125142, 0), + (125252, 125258, 0), + (126980, 126980, 2), + (127183, 127183, 2), + (127374, 127374, 2), + (127377, 127386, 2), + (127488, 127490, 2), + (127504, 127547, 2), + (127552, 127560, 2), + (127568, 127569, 2), + (127584, 127589, 2), + (127744, 127776, 2), + (127789, 127797, 2), + (127799, 127868, 2), + (127870, 127891, 2), + (127904, 127946, 2), + (127951, 127955, 2), + (127968, 127984, 2), + (127988, 127988, 2), + (127992, 127994, 2), + (127995, 127999, 0), + (128000, 128062, 2), + (128064, 128064, 2), + (128066, 128252, 2), + (128255, 128317, 2), + (128331, 128334, 2), + (128336, 128359, 2), + (128378, 128378, 2), + (128405, 128406, 2), + (128420, 128420, 2), + (128507, 128591, 2), + (128640, 128709, 2), + (128716, 128716, 2), + (128720, 128722, 2), + (128725, 128727, 2), + (128732, 128735, 2), + (128747, 128748, 2), + (128756, 128764, 2), + (128992, 129003, 2), + (129008, 129008, 2), + (129292, 129338, 2), + (129340, 129349, 2), + (129351, 129535, 2), + (129648, 129660, 2), + (129664, 129672, 2), + (129680, 129725, 2), + (129727, 129733, 2), + (129742, 129755, 2), + (129760, 129768, 2), + (129776, 129784, 2), + (131072, 196605, 2), + (196608, 262141, 2), + (917505, 917505, 0), + (917536, 917631, 0), + (917760, 917999, 0), +] diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_codes.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_codes.py new file mode 100644 index 0000000000000000000000000000000000000000..1f2877bb2bd520253502b1c05bb811bb0d7ef64c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_codes.py @@ -0,0 +1,3610 @@ +EMOJI = { + "1st_place_medal": "🥇", + "2nd_place_medal": "🥈", + "3rd_place_medal": "🥉", + "ab_button_(blood_type)": "🆎", + "atm_sign": "🏧", + "a_button_(blood_type)": "🅰", + "afghanistan": "🇦🇫", + "albania": "🇦🇱", + "algeria": "🇩🇿", + "american_samoa": "🇦🇸", + "andorra": "🇦🇩", + "angola": "🇦🇴", + "anguilla": "🇦🇮", + "antarctica": "🇦🇶", + "antigua_&_barbuda": "🇦🇬", + "aquarius": "♒", + "argentina": "🇦🇷", + "aries": "♈", + "armenia": "🇦🇲", + "aruba": "🇦🇼", + "ascension_island": "🇦🇨", + "australia": "🇦🇺", + "austria": "🇦🇹", + "azerbaijan": "🇦🇿", + "back_arrow": "🔙", + "b_button_(blood_type)": "🅱", + "bahamas": "🇧🇸", + "bahrain": "🇧🇭", + "bangladesh": "🇧🇩", + "barbados": "🇧🇧", + "belarus": "🇧🇾", + "belgium": "🇧🇪", + "belize": "🇧🇿", + "benin": "🇧🇯", + "bermuda": "🇧🇲", + "bhutan": "🇧🇹", + "bolivia": "🇧🇴", + "bosnia_&_herzegovina": "🇧🇦", + "botswana": "🇧🇼", + "bouvet_island": "🇧🇻", + "brazil": "🇧🇷", + "british_indian_ocean_territory": "🇮🇴", + "british_virgin_islands": "🇻🇬", + "brunei": "🇧🇳", + "bulgaria": "🇧🇬", + "burkina_faso": "🇧🇫", + "burundi": "🇧🇮", + "cl_button": "🆑", + "cool_button": "🆒", + "cambodia": "🇰🇭", + "cameroon": "🇨🇲", + "canada": "🇨🇦", + "canary_islands": "🇮🇨", + "cancer": "♋", + "cape_verde": "🇨🇻", + "capricorn": "♑", + "caribbean_netherlands": "🇧🇶", + "cayman_islands": "🇰🇾", + "central_african_republic": "🇨🇫", + "ceuta_&_melilla": "🇪🇦", + "chad": "🇹🇩", + "chile": "🇨🇱", + "china": "🇨🇳", + "christmas_island": "🇨🇽", + "christmas_tree": "🎄", + "clipperton_island": "🇨🇵", + "cocos_(keeling)_islands": "🇨🇨", + "colombia": "🇨🇴", + "comoros": "🇰🇲", + "congo_-_brazzaville": "🇨🇬", + "congo_-_kinshasa": "🇨🇩", + "cook_islands": "🇨🇰", + "costa_rica": "🇨🇷", + "croatia": "🇭🇷", + "cuba": "🇨🇺", + "curaçao": "🇨🇼", + "cyprus": "🇨🇾", + "czechia": "🇨🇿", + "côte_d’ivoire": "🇨🇮", + "denmark": "🇩🇰", + "diego_garcia": "🇩🇬", + "djibouti": "🇩🇯", + "dominica": "🇩🇲", + "dominican_republic": "🇩🇴", + "end_arrow": "🔚", + "ecuador": "🇪🇨", + "egypt": "🇪🇬", + "el_salvador": "🇸🇻", + "england": "🏴\U000e0067\U000e0062\U000e0065\U000e006e\U000e0067\U000e007f", + "equatorial_guinea": "🇬🇶", + "eritrea": "🇪🇷", + "estonia": "🇪🇪", + "ethiopia": "🇪🇹", + "european_union": "🇪🇺", + "free_button": "🆓", + "falkland_islands": "🇫🇰", + "faroe_islands": "🇫🇴", + "fiji": "🇫🇯", + "finland": "🇫🇮", + "france": "🇫🇷", + "french_guiana": "🇬🇫", + "french_polynesia": "🇵🇫", + "french_southern_territories": "🇹🇫", + "gabon": "🇬🇦", + "gambia": "🇬🇲", + "gemini": "♊", + "georgia": "🇬🇪", + "germany": "🇩🇪", + "ghana": "🇬🇭", + "gibraltar": "🇬🇮", + "greece": "🇬🇷", + "greenland": "🇬🇱", + "grenada": "🇬🇩", + "guadeloupe": "🇬🇵", + "guam": "🇬🇺", + "guatemala": "🇬🇹", + "guernsey": "🇬🇬", + "guinea": "🇬🇳", + "guinea-bissau": "🇬🇼", + "guyana": "🇬🇾", + "haiti": "🇭🇹", + "heard_&_mcdonald_islands": "🇭🇲", + "honduras": "🇭🇳", + "hong_kong_sar_china": "🇭🇰", + "hungary": "🇭🇺", + "id_button": "🆔", + "iceland": "🇮🇸", + "india": "🇮🇳", + "indonesia": "🇮🇩", + "iran": "🇮🇷", + "iraq": "🇮🇶", + "ireland": "🇮🇪", + "isle_of_man": "🇮🇲", + "israel": "🇮🇱", + "italy": "🇮🇹", + "jamaica": "🇯🇲", + "japan": "🗾", + "japanese_acceptable_button": "🉑", + "japanese_application_button": "🈸", + "japanese_bargain_button": "🉐", + "japanese_castle": "🏯", + "japanese_congratulations_button": "㊗", + "japanese_discount_button": "🈹", + "japanese_dolls": "🎎", + "japanese_free_of_charge_button": "🈚", + "japanese_here_button": "🈁", + "japanese_monthly_amount_button": "🈷", + "japanese_no_vacancy_button": "🈵", + "japanese_not_free_of_charge_button": "🈶", + "japanese_open_for_business_button": "🈺", + "japanese_passing_grade_button": "🈴", + "japanese_post_office": "🏣", + "japanese_prohibited_button": "🈲", + "japanese_reserved_button": "🈯", + "japanese_secret_button": "㊙", + "japanese_service_charge_button": "🈂", + "japanese_symbol_for_beginner": "🔰", + "japanese_vacancy_button": "🈳", + "jersey": "🇯🇪", + "jordan": "🇯🇴", + "kazakhstan": "🇰🇿", + "kenya": "🇰🇪", + "kiribati": "🇰🇮", + "kosovo": "🇽🇰", + "kuwait": "🇰🇼", + "kyrgyzstan": "🇰🇬", + "laos": "🇱🇦", + "latvia": "🇱🇻", + "lebanon": "🇱🇧", + "leo": "♌", + "lesotho": "🇱🇸", + "liberia": "🇱🇷", + "libra": "♎", + "libya": "🇱🇾", + "liechtenstein": "🇱🇮", + "lithuania": "🇱🇹", + "luxembourg": "🇱🇺", + "macau_sar_china": "🇲🇴", + "macedonia": "🇲🇰", + "madagascar": "🇲🇬", + "malawi": "🇲🇼", + "malaysia": "🇲🇾", + "maldives": "🇲🇻", + "mali": "🇲🇱", + "malta": "🇲🇹", + "marshall_islands": "🇲🇭", + "martinique": "🇲🇶", + "mauritania": "🇲🇷", + "mauritius": "🇲🇺", + "mayotte": "🇾🇹", + "mexico": "🇲🇽", + "micronesia": "🇫🇲", + "moldova": "🇲🇩", + "monaco": "🇲🇨", + "mongolia": "🇲🇳", + "montenegro": "🇲🇪", + "montserrat": "🇲🇸", + "morocco": "🇲🇦", + "mozambique": "🇲🇿", + "mrs._claus": "🤶", + "mrs._claus_dark_skin_tone": "🤶🏿", + "mrs._claus_light_skin_tone": "🤶🏻", + "mrs._claus_medium-dark_skin_tone": "🤶🏾", + "mrs._claus_medium-light_skin_tone": "🤶🏼", + "mrs._claus_medium_skin_tone": "🤶🏽", + "myanmar_(burma)": "🇲🇲", + "new_button": "🆕", + "ng_button": "🆖", + "namibia": "🇳🇦", + "nauru": "🇳🇷", + "nepal": "🇳🇵", + "netherlands": "🇳🇱", + "new_caledonia": "🇳🇨", + "new_zealand": "🇳🇿", + "nicaragua": "🇳🇮", + "niger": "🇳🇪", + "nigeria": "🇳🇬", + "niue": "🇳🇺", + "norfolk_island": "🇳🇫", + "north_korea": "🇰🇵", + "northern_mariana_islands": "🇲🇵", + "norway": "🇳🇴", + "ok_button": "🆗", + "ok_hand": "👌", + "ok_hand_dark_skin_tone": "👌🏿", + "ok_hand_light_skin_tone": "👌🏻", + "ok_hand_medium-dark_skin_tone": "👌🏾", + "ok_hand_medium-light_skin_tone": "👌🏼", + "ok_hand_medium_skin_tone": "👌🏽", + "on!_arrow": "🔛", + "o_button_(blood_type)": "🅾", + "oman": "🇴🇲", + "ophiuchus": "⛎", + "p_button": "🅿", + "pakistan": "🇵🇰", + "palau": "🇵🇼", + "palestinian_territories": "🇵🇸", + "panama": "🇵🇦", + "papua_new_guinea": "🇵🇬", + "paraguay": "🇵🇾", + "peru": "🇵🇪", + "philippines": "🇵🇭", + "pisces": "♓", + "pitcairn_islands": "🇵🇳", + "poland": "🇵🇱", + "portugal": "🇵🇹", + "puerto_rico": "🇵🇷", + "qatar": "🇶🇦", + "romania": "🇷🇴", + "russia": "🇷🇺", + "rwanda": "🇷🇼", + "réunion": "🇷🇪", + "soon_arrow": "🔜", + "sos_button": "🆘", + "sagittarius": "♐", + "samoa": "🇼🇸", + "san_marino": "🇸🇲", + "santa_claus": "🎅", + "santa_claus_dark_skin_tone": "🎅🏿", + "santa_claus_light_skin_tone": "🎅🏻", + "santa_claus_medium-dark_skin_tone": "🎅🏾", + "santa_claus_medium-light_skin_tone": "🎅🏼", + "santa_claus_medium_skin_tone": "🎅🏽", + "saudi_arabia": "🇸🇦", + "scorpio": "♏", + "scotland": "🏴\U000e0067\U000e0062\U000e0073\U000e0063\U000e0074\U000e007f", + "senegal": "🇸🇳", + "serbia": "🇷🇸", + "seychelles": "🇸🇨", + "sierra_leone": "🇸🇱", + "singapore": "🇸🇬", + "sint_maarten": "🇸🇽", + "slovakia": "🇸🇰", + "slovenia": "🇸🇮", + "solomon_islands": "🇸🇧", + "somalia": "🇸🇴", + "south_africa": "🇿🇦", + "south_georgia_&_south_sandwich_islands": "🇬🇸", + "south_korea": "🇰🇷", + "south_sudan": "🇸🇸", + "spain": "🇪🇸", + "sri_lanka": "🇱🇰", + "st._barthélemy": "🇧🇱", + "st._helena": "🇸🇭", + "st._kitts_&_nevis": "🇰🇳", + "st._lucia": "🇱🇨", + "st._martin": "🇲🇫", + "st._pierre_&_miquelon": "🇵🇲", + "st._vincent_&_grenadines": "🇻🇨", + "statue_of_liberty": "🗽", + "sudan": "🇸🇩", + "suriname": "🇸🇷", + "svalbard_&_jan_mayen": "🇸🇯", + "swaziland": "🇸🇿", + "sweden": "🇸🇪", + "switzerland": "🇨🇭", + "syria": "🇸🇾", + "são_tomé_&_príncipe": "🇸🇹", + "t-rex": "🦖", + "top_arrow": "🔝", + "taiwan": "🇹🇼", + "tajikistan": "🇹🇯", + "tanzania": "🇹🇿", + "taurus": "♉", + "thailand": "🇹🇭", + "timor-leste": "🇹🇱", + "togo": "🇹🇬", + "tokelau": "🇹🇰", + "tokyo_tower": "🗼", + "tonga": "🇹🇴", + "trinidad_&_tobago": "🇹🇹", + "tristan_da_cunha": "🇹🇦", + "tunisia": "🇹🇳", + "turkey": "🦃", + "turkmenistan": "🇹🇲", + "turks_&_caicos_islands": "🇹🇨", + "tuvalu": "🇹🇻", + "u.s._outlying_islands": "🇺🇲", + "u.s._virgin_islands": "🇻🇮", + "up!_button": "🆙", + "uganda": "🇺🇬", + "ukraine": "🇺🇦", + "united_arab_emirates": "🇦🇪", + "united_kingdom": "🇬🇧", + "united_nations": "🇺🇳", + "united_states": "🇺🇸", + "uruguay": "🇺🇾", + "uzbekistan": "🇺🇿", + "vs_button": "🆚", + "vanuatu": "🇻🇺", + "vatican_city": "🇻🇦", + "venezuela": "🇻🇪", + "vietnam": "🇻🇳", + "virgo": "♍", + "wales": "🏴\U000e0067\U000e0062\U000e0077\U000e006c\U000e0073\U000e007f", + "wallis_&_futuna": "🇼🇫", + "western_sahara": "🇪🇭", + "yemen": "🇾🇪", + "zambia": "🇿🇲", + "zimbabwe": "🇿🇼", + "abacus": "🧮", + "adhesive_bandage": "🩹", + "admission_tickets": "🎟", + "adult": "🧑", + "adult_dark_skin_tone": "🧑🏿", + "adult_light_skin_tone": "🧑🏻", + "adult_medium-dark_skin_tone": "🧑🏾", + "adult_medium-light_skin_tone": "🧑🏼", + "adult_medium_skin_tone": "🧑🏽", + "aerial_tramway": "🚡", + "airplane": "✈", + "airplane_arrival": "🛬", + "airplane_departure": "🛫", + "alarm_clock": "⏰", + "alembic": "⚗", + "alien": "👽", + "alien_monster": "👾", + "ambulance": "🚑", + "american_football": "🏈", + "amphora": "🏺", + "anchor": "⚓", + "anger_symbol": "💢", + "angry_face": "😠", + "angry_face_with_horns": "👿", + "anguished_face": "😧", + "ant": "🐜", + "antenna_bars": "📶", + "anxious_face_with_sweat": "😰", + "articulated_lorry": "🚛", + "artist_palette": "🎨", + "astonished_face": "😲", + "atom_symbol": "⚛", + "auto_rickshaw": "🛺", + "automobile": "🚗", + "avocado": "🥑", + "axe": "🪓", + "baby": "👶", + "baby_angel": "👼", + "baby_angel_dark_skin_tone": "👼🏿", + "baby_angel_light_skin_tone": "👼🏻", + "baby_angel_medium-dark_skin_tone": "👼🏾", + "baby_angel_medium-light_skin_tone": "👼🏼", + "baby_angel_medium_skin_tone": "👼🏽", + "baby_bottle": "🍼", + "baby_chick": "🐤", + "baby_dark_skin_tone": "👶🏿", + "baby_light_skin_tone": "👶🏻", + "baby_medium-dark_skin_tone": "👶🏾", + "baby_medium-light_skin_tone": "👶🏼", + "baby_medium_skin_tone": "👶🏽", + "baby_symbol": "🚼", + "backhand_index_pointing_down": "👇", + "backhand_index_pointing_down_dark_skin_tone": "👇🏿", + "backhand_index_pointing_down_light_skin_tone": "👇🏻", + "backhand_index_pointing_down_medium-dark_skin_tone": "👇🏾", + "backhand_index_pointing_down_medium-light_skin_tone": "👇🏼", + "backhand_index_pointing_down_medium_skin_tone": "👇🏽", + "backhand_index_pointing_left": "👈", + "backhand_index_pointing_left_dark_skin_tone": "👈🏿", + "backhand_index_pointing_left_light_skin_tone": "👈🏻", + "backhand_index_pointing_left_medium-dark_skin_tone": "👈🏾", + "backhand_index_pointing_left_medium-light_skin_tone": "👈🏼", + "backhand_index_pointing_left_medium_skin_tone": "👈🏽", + "backhand_index_pointing_right": "👉", + "backhand_index_pointing_right_dark_skin_tone": "👉🏿", + "backhand_index_pointing_right_light_skin_tone": "👉🏻", + "backhand_index_pointing_right_medium-dark_skin_tone": "👉🏾", + "backhand_index_pointing_right_medium-light_skin_tone": "👉🏼", + "backhand_index_pointing_right_medium_skin_tone": "👉🏽", + "backhand_index_pointing_up": "👆", + "backhand_index_pointing_up_dark_skin_tone": "👆🏿", + "backhand_index_pointing_up_light_skin_tone": "👆🏻", + "backhand_index_pointing_up_medium-dark_skin_tone": "👆🏾", + "backhand_index_pointing_up_medium-light_skin_tone": "👆🏼", + "backhand_index_pointing_up_medium_skin_tone": "👆🏽", + "bacon": "🥓", + "badger": "🦡", + "badminton": "🏸", + "bagel": "🥯", + "baggage_claim": "🛄", + "baguette_bread": "🥖", + "balance_scale": "⚖", + "bald": "🦲", + "bald_man": "👨\u200d🦲", + "bald_woman": "👩\u200d🦲", + "ballet_shoes": "🩰", + "balloon": "🎈", + "ballot_box_with_ballot": "🗳", + "ballot_box_with_check": "☑", + "banana": "🍌", + "banjo": "🪕", + "bank": "🏦", + "bar_chart": "📊", + "barber_pole": "💈", + "baseball": "⚾", + "basket": "🧺", + "basketball": "🏀", + "bat": "🦇", + "bathtub": "🛁", + "battery": "🔋", + "beach_with_umbrella": "🏖", + "beaming_face_with_smiling_eyes": "😁", + "bear_face": "🐻", + "bearded_person": "🧔", + "bearded_person_dark_skin_tone": "🧔🏿", + "bearded_person_light_skin_tone": "🧔🏻", + "bearded_person_medium-dark_skin_tone": "🧔🏾", + "bearded_person_medium-light_skin_tone": "🧔🏼", + "bearded_person_medium_skin_tone": "🧔🏽", + "beating_heart": "💓", + "bed": "🛏", + "beer_mug": "🍺", + "bell": "🔔", + "bell_with_slash": "🔕", + "bellhop_bell": "🛎", + "bento_box": "🍱", + "beverage_box": "🧃", + "bicycle": "🚲", + "bikini": "👙", + "billed_cap": "🧢", + "biohazard": "☣", + "bird": "🐦", + "birthday_cake": "🎂", + "black_circle": "⚫", + "black_flag": "🏴", + "black_heart": "🖤", + "black_large_square": "⬛", + "black_medium-small_square": "◾", + "black_medium_square": "◼", + "black_nib": "✒", + "black_small_square": "▪", + "black_square_button": "🔲", + "blond-haired_man": "👱\u200d♂️", + "blond-haired_man_dark_skin_tone": "👱🏿\u200d♂️", + "blond-haired_man_light_skin_tone": "👱🏻\u200d♂️", + "blond-haired_man_medium-dark_skin_tone": "👱🏾\u200d♂️", + "blond-haired_man_medium-light_skin_tone": "👱🏼\u200d♂️", + "blond-haired_man_medium_skin_tone": "👱🏽\u200d♂️", + "blond-haired_person": "👱", + "blond-haired_person_dark_skin_tone": "👱🏿", + "blond-haired_person_light_skin_tone": "👱🏻", + "blond-haired_person_medium-dark_skin_tone": "👱🏾", + "blond-haired_person_medium-light_skin_tone": "👱🏼", + "blond-haired_person_medium_skin_tone": "👱🏽", + "blond-haired_woman": "👱\u200d♀️", + "blond-haired_woman_dark_skin_tone": "👱🏿\u200d♀️", + "blond-haired_woman_light_skin_tone": "👱🏻\u200d♀️", + "blond-haired_woman_medium-dark_skin_tone": "👱🏾\u200d♀️", + "blond-haired_woman_medium-light_skin_tone": "👱🏼\u200d♀️", + "blond-haired_woman_medium_skin_tone": "👱🏽\u200d♀️", + "blossom": "🌼", + "blowfish": "🐡", + "blue_book": "📘", + "blue_circle": "🔵", + "blue_heart": "💙", + "blue_square": "🟦", + "boar": "🐗", + "bomb": "💣", + "bone": "🦴", + "bookmark": "🔖", + "bookmark_tabs": "📑", + "books": "📚", + "bottle_with_popping_cork": "🍾", + "bouquet": "💐", + "bow_and_arrow": "🏹", + "bowl_with_spoon": "🥣", + "bowling": "🎳", + "boxing_glove": "🥊", + "boy": "👦", + "boy_dark_skin_tone": "👦🏿", + "boy_light_skin_tone": "👦🏻", + "boy_medium-dark_skin_tone": "👦🏾", + "boy_medium-light_skin_tone": "👦🏼", + "boy_medium_skin_tone": "👦🏽", + "brain": "🧠", + "bread": "🍞", + "breast-feeding": "🤱", + "breast-feeding_dark_skin_tone": "🤱🏿", + "breast-feeding_light_skin_tone": "🤱🏻", + "breast-feeding_medium-dark_skin_tone": "🤱🏾", + "breast-feeding_medium-light_skin_tone": "🤱🏼", + "breast-feeding_medium_skin_tone": "🤱🏽", + "brick": "🧱", + "bride_with_veil": "👰", + "bride_with_veil_dark_skin_tone": "👰🏿", + "bride_with_veil_light_skin_tone": "👰🏻", + "bride_with_veil_medium-dark_skin_tone": "👰🏾", + "bride_with_veil_medium-light_skin_tone": "👰🏼", + "bride_with_veil_medium_skin_tone": "👰🏽", + "bridge_at_night": "🌉", + "briefcase": "💼", + "briefs": "🩲", + "bright_button": "🔆", + "broccoli": "🥦", + "broken_heart": "💔", + "broom": "🧹", + "brown_circle": "🟤", + "brown_heart": "🤎", + "brown_square": "🟫", + "bug": "🐛", + "building_construction": "🏗", + "bullet_train": "🚅", + "burrito": "🌯", + "bus": "🚌", + "bus_stop": "🚏", + "bust_in_silhouette": "👤", + "busts_in_silhouette": "👥", + "butter": "🧈", + "butterfly": "🦋", + "cactus": "🌵", + "calendar": "📆", + "call_me_hand": "🤙", + "call_me_hand_dark_skin_tone": "🤙🏿", + "call_me_hand_light_skin_tone": "🤙🏻", + "call_me_hand_medium-dark_skin_tone": "🤙🏾", + "call_me_hand_medium-light_skin_tone": "🤙🏼", + "call_me_hand_medium_skin_tone": "🤙🏽", + "camel": "🐫", + "camera": "📷", + "camera_with_flash": "📸", + "camping": "🏕", + "candle": "🕯", + "candy": "🍬", + "canned_food": "🥫", + "canoe": "🛶", + "card_file_box": "🗃", + "card_index": "📇", + "card_index_dividers": "🗂", + "carousel_horse": "🎠", + "carp_streamer": "🎏", + "carrot": "🥕", + "castle": "🏰", + "cat": "🐱", + "cat_face": "🐱", + "cat_face_with_tears_of_joy": "😹", + "cat_face_with_wry_smile": "😼", + "chains": "⛓", + "chair": "🪑", + "chart_decreasing": "📉", + "chart_increasing": "📈", + "chart_increasing_with_yen": "💹", + "cheese_wedge": "🧀", + "chequered_flag": "🏁", + "cherries": "🍒", + "cherry_blossom": "🌸", + "chess_pawn": "♟", + "chestnut": "🌰", + "chicken": "🐔", + "child": "🧒", + "child_dark_skin_tone": "🧒🏿", + "child_light_skin_tone": "🧒🏻", + "child_medium-dark_skin_tone": "🧒🏾", + "child_medium-light_skin_tone": "🧒🏼", + "child_medium_skin_tone": "🧒🏽", + "children_crossing": "🚸", + "chipmunk": "🐿", + "chocolate_bar": "🍫", + "chopsticks": "🥢", + "church": "⛪", + "cigarette": "🚬", + "cinema": "🎦", + "circled_m": "Ⓜ", + "circus_tent": "🎪", + "cityscape": "🏙", + "cityscape_at_dusk": "🌆", + "clamp": "🗜", + "clapper_board": "🎬", + "clapping_hands": "👏", + "clapping_hands_dark_skin_tone": "👏🏿", + "clapping_hands_light_skin_tone": "👏🏻", + "clapping_hands_medium-dark_skin_tone": "👏🏾", + "clapping_hands_medium-light_skin_tone": "👏🏼", + "clapping_hands_medium_skin_tone": "👏🏽", + "classical_building": "🏛", + "clinking_beer_mugs": "🍻", + "clinking_glasses": "🥂", + "clipboard": "📋", + "clockwise_vertical_arrows": "🔃", + "closed_book": "📕", + "closed_mailbox_with_lowered_flag": "📪", + "closed_mailbox_with_raised_flag": "📫", + "closed_umbrella": "🌂", + "cloud": "☁", + "cloud_with_lightning": "🌩", + "cloud_with_lightning_and_rain": "⛈", + "cloud_with_rain": "🌧", + "cloud_with_snow": "🌨", + "clown_face": "🤡", + "club_suit": "♣", + "clutch_bag": "👝", + "coat": "🧥", + "cocktail_glass": "🍸", + "coconut": "🥥", + "coffin": "⚰", + "cold_face": "🥶", + "collision": "💥", + "comet": "☄", + "compass": "🧭", + "computer_disk": "💽", + "computer_mouse": "🖱", + "confetti_ball": "🎊", + "confounded_face": "😖", + "confused_face": "😕", + "construction": "🚧", + "construction_worker": "👷", + "construction_worker_dark_skin_tone": "👷🏿", + "construction_worker_light_skin_tone": "👷🏻", + "construction_worker_medium-dark_skin_tone": "👷🏾", + "construction_worker_medium-light_skin_tone": "👷🏼", + "construction_worker_medium_skin_tone": "👷🏽", + "control_knobs": "🎛", + "convenience_store": "🏪", + "cooked_rice": "🍚", + "cookie": "🍪", + "cooking": "🍳", + "copyright": "©", + "couch_and_lamp": "🛋", + "counterclockwise_arrows_button": "🔄", + "couple_with_heart": "💑", + "couple_with_heart_man_man": "👨\u200d❤️\u200d👨", + "couple_with_heart_woman_man": "👩\u200d❤️\u200d👨", + "couple_with_heart_woman_woman": "👩\u200d❤️\u200d👩", + "cow": "🐮", + "cow_face": "🐮", + "cowboy_hat_face": "🤠", + "crab": "🦀", + "crayon": "🖍", + "credit_card": "💳", + "crescent_moon": "🌙", + "cricket": "🦗", + "cricket_game": "🏏", + "crocodile": "🐊", + "croissant": "🥐", + "cross_mark": "❌", + "cross_mark_button": "❎", + "crossed_fingers": "🤞", + "crossed_fingers_dark_skin_tone": "🤞🏿", + "crossed_fingers_light_skin_tone": "🤞🏻", + "crossed_fingers_medium-dark_skin_tone": "🤞🏾", + "crossed_fingers_medium-light_skin_tone": "🤞🏼", + "crossed_fingers_medium_skin_tone": "🤞🏽", + "crossed_flags": "🎌", + "crossed_swords": "⚔", + "crown": "👑", + "crying_cat_face": "😿", + "crying_face": "😢", + "crystal_ball": "🔮", + "cucumber": "🥒", + "cupcake": "🧁", + "cup_with_straw": "🥤", + "curling_stone": "🥌", + "curly_hair": "🦱", + "curly-haired_man": "👨\u200d🦱", + "curly-haired_woman": "👩\u200d🦱", + "curly_loop": "➰", + "currency_exchange": "💱", + "curry_rice": "🍛", + "custard": "🍮", + "customs": "🛃", + "cut_of_meat": "🥩", + "cyclone": "🌀", + "dagger": "🗡", + "dango": "🍡", + "dashing_away": "💨", + "deaf_person": "🧏", + "deciduous_tree": "🌳", + "deer": "🦌", + "delivery_truck": "🚚", + "department_store": "🏬", + "derelict_house": "🏚", + "desert": "🏜", + "desert_island": "🏝", + "desktop_computer": "🖥", + "detective": "🕵", + "detective_dark_skin_tone": "🕵🏿", + "detective_light_skin_tone": "🕵🏻", + "detective_medium-dark_skin_tone": "🕵🏾", + "detective_medium-light_skin_tone": "🕵🏼", + "detective_medium_skin_tone": "🕵🏽", + "diamond_suit": "♦", + "diamond_with_a_dot": "💠", + "dim_button": "🔅", + "direct_hit": "🎯", + "disappointed_face": "😞", + "diving_mask": "🤿", + "diya_lamp": "🪔", + "dizzy": "💫", + "dizzy_face": "😵", + "dna": "🧬", + "dog": "🐶", + "dog_face": "🐶", + "dollar_banknote": "💵", + "dolphin": "🐬", + "door": "🚪", + "dotted_six-pointed_star": "🔯", + "double_curly_loop": "➿", + "double_exclamation_mark": "‼", + "doughnut": "🍩", + "dove": "🕊", + "down-left_arrow": "↙", + "down-right_arrow": "↘", + "down_arrow": "⬇", + "downcast_face_with_sweat": "😓", + "downwards_button": "🔽", + "dragon": "🐉", + "dragon_face": "🐲", + "dress": "👗", + "drooling_face": "🤤", + "drop_of_blood": "🩸", + "droplet": "💧", + "drum": "🥁", + "duck": "🦆", + "dumpling": "🥟", + "dvd": "📀", + "e-mail": "📧", + "eagle": "🦅", + "ear": "👂", + "ear_dark_skin_tone": "👂🏿", + "ear_light_skin_tone": "👂🏻", + "ear_medium-dark_skin_tone": "👂🏾", + "ear_medium-light_skin_tone": "👂🏼", + "ear_medium_skin_tone": "👂🏽", + "ear_of_corn": "🌽", + "ear_with_hearing_aid": "🦻", + "egg": "🍳", + "eggplant": "🍆", + "eight-pointed_star": "✴", + "eight-spoked_asterisk": "✳", + "eight-thirty": "🕣", + "eight_o’clock": "🕗", + "eject_button": "⏏", + "electric_plug": "🔌", + "elephant": "🐘", + "eleven-thirty": "🕦", + "eleven_o’clock": "🕚", + "elf": "🧝", + "elf_dark_skin_tone": "🧝🏿", + "elf_light_skin_tone": "🧝🏻", + "elf_medium-dark_skin_tone": "🧝🏾", + "elf_medium-light_skin_tone": "🧝🏼", + "elf_medium_skin_tone": "🧝🏽", + "envelope": "✉", + "envelope_with_arrow": "📩", + "euro_banknote": "💶", + "evergreen_tree": "🌲", + "ewe": "🐑", + "exclamation_mark": "❗", + "exclamation_question_mark": "⁉", + "exploding_head": "🤯", + "expressionless_face": "😑", + "eye": "👁", + "eye_in_speech_bubble": "👁️\u200d🗨️", + "eyes": "👀", + "face_blowing_a_kiss": "😘", + "face_savoring_food": "😋", + "face_screaming_in_fear": "😱", + "face_vomiting": "🤮", + "face_with_hand_over_mouth": "🤭", + "face_with_head-bandage": "🤕", + "face_with_medical_mask": "😷", + "face_with_monocle": "🧐", + "face_with_open_mouth": "😮", + "face_with_raised_eyebrow": "🤨", + "face_with_rolling_eyes": "🙄", + "face_with_steam_from_nose": "😤", + "face_with_symbols_on_mouth": "🤬", + "face_with_tears_of_joy": "😂", + "face_with_thermometer": "🤒", + "face_with_tongue": "😛", + "face_without_mouth": "😶", + "factory": "🏭", + "fairy": "🧚", + "fairy_dark_skin_tone": "🧚🏿", + "fairy_light_skin_tone": "🧚🏻", + "fairy_medium-dark_skin_tone": "🧚🏾", + "fairy_medium-light_skin_tone": "🧚🏼", + "fairy_medium_skin_tone": "🧚🏽", + "falafel": "🧆", + "fallen_leaf": "🍂", + "family": "👪", + "family_man_boy": "👨\u200d👦", + "family_man_boy_boy": "👨\u200d👦\u200d👦", + "family_man_girl": "👨\u200d👧", + "family_man_girl_boy": "👨\u200d👧\u200d👦", + "family_man_girl_girl": "👨\u200d👧\u200d👧", + "family_man_man_boy": "👨\u200d👨\u200d👦", + "family_man_man_boy_boy": "👨\u200d👨\u200d👦\u200d👦", + "family_man_man_girl": "👨\u200d👨\u200d👧", + "family_man_man_girl_boy": "👨\u200d👨\u200d👧\u200d👦", + "family_man_man_girl_girl": "👨\u200d👨\u200d👧\u200d👧", + "family_man_woman_boy": "👨\u200d👩\u200d👦", + "family_man_woman_boy_boy": "👨\u200d👩\u200d👦\u200d👦", + "family_man_woman_girl": "👨\u200d👩\u200d👧", + "family_man_woman_girl_boy": "👨\u200d👩\u200d👧\u200d👦", + "family_man_woman_girl_girl": "👨\u200d👩\u200d👧\u200d👧", + "family_woman_boy": "👩\u200d👦", + "family_woman_boy_boy": "👩\u200d👦\u200d👦", + "family_woman_girl": "👩\u200d👧", + "family_woman_girl_boy": "👩\u200d👧\u200d👦", + "family_woman_girl_girl": "👩\u200d👧\u200d👧", + "family_woman_woman_boy": "👩\u200d👩\u200d👦", + "family_woman_woman_boy_boy": "👩\u200d👩\u200d👦\u200d👦", + "family_woman_woman_girl": "👩\u200d👩\u200d👧", + "family_woman_woman_girl_boy": "👩\u200d👩\u200d👧\u200d👦", + "family_woman_woman_girl_girl": "👩\u200d👩\u200d👧\u200d👧", + "fast-forward_button": "⏩", + "fast_down_button": "⏬", + "fast_reverse_button": "⏪", + "fast_up_button": "⏫", + "fax_machine": "📠", + "fearful_face": "😨", + "female_sign": "♀", + "ferris_wheel": "🎡", + "ferry": "⛴", + "field_hockey": "🏑", + "file_cabinet": "🗄", + "file_folder": "📁", + "film_frames": "🎞", + "film_projector": "📽", + "fire": "🔥", + "fire_extinguisher": "🧯", + "firecracker": "🧨", + "fire_engine": "🚒", + "fireworks": "🎆", + "first_quarter_moon": "🌓", + "first_quarter_moon_face": "🌛", + "fish": "🐟", + "fish_cake_with_swirl": "🍥", + "fishing_pole": "🎣", + "five-thirty": "🕠", + "five_o’clock": "🕔", + "flag_in_hole": "⛳", + "flamingo": "🦩", + "flashlight": "🔦", + "flat_shoe": "🥿", + "fleur-de-lis": "⚜", + "flexed_biceps": "💪", + "flexed_biceps_dark_skin_tone": "💪🏿", + "flexed_biceps_light_skin_tone": "💪🏻", + "flexed_biceps_medium-dark_skin_tone": "💪🏾", + "flexed_biceps_medium-light_skin_tone": "💪🏼", + "flexed_biceps_medium_skin_tone": "💪🏽", + "floppy_disk": "💾", + "flower_playing_cards": "🎴", + "flushed_face": "😳", + "flying_disc": "🥏", + "flying_saucer": "🛸", + "fog": "🌫", + "foggy": "🌁", + "folded_hands": "🙏", + "folded_hands_dark_skin_tone": "🙏🏿", + "folded_hands_light_skin_tone": "🙏🏻", + "folded_hands_medium-dark_skin_tone": "🙏🏾", + "folded_hands_medium-light_skin_tone": "🙏🏼", + "folded_hands_medium_skin_tone": "🙏🏽", + "foot": "🦶", + "footprints": "👣", + "fork_and_knife": "🍴", + "fork_and_knife_with_plate": "🍽", + "fortune_cookie": "🥠", + "fountain": "⛲", + "fountain_pen": "🖋", + "four-thirty": "🕟", + "four_leaf_clover": "🍀", + "four_o’clock": "🕓", + "fox_face": "🦊", + "framed_picture": "🖼", + "french_fries": "🍟", + "fried_shrimp": "🍤", + "frog_face": "🐸", + "front-facing_baby_chick": "🐥", + "frowning_face": "☹", + "frowning_face_with_open_mouth": "😦", + "fuel_pump": "⛽", + "full_moon": "🌕", + "full_moon_face": "🌝", + "funeral_urn": "⚱", + "game_die": "🎲", + "garlic": "🧄", + "gear": "⚙", + "gem_stone": "💎", + "genie": "🧞", + "ghost": "👻", + "giraffe": "🦒", + "girl": "👧", + "girl_dark_skin_tone": "👧🏿", + "girl_light_skin_tone": "👧🏻", + "girl_medium-dark_skin_tone": "👧🏾", + "girl_medium-light_skin_tone": "👧🏼", + "girl_medium_skin_tone": "👧🏽", + "glass_of_milk": "🥛", + "glasses": "👓", + "globe_showing_americas": "🌎", + "globe_showing_asia-australia": "🌏", + "globe_showing_europe-africa": "🌍", + "globe_with_meridians": "🌐", + "gloves": "🧤", + "glowing_star": "🌟", + "goal_net": "🥅", + "goat": "🐐", + "goblin": "👺", + "goggles": "🥽", + "gorilla": "🦍", + "graduation_cap": "🎓", + "grapes": "🍇", + "green_apple": "🍏", + "green_book": "📗", + "green_circle": "🟢", + "green_heart": "💚", + "green_salad": "🥗", + "green_square": "🟩", + "grimacing_face": "😬", + "grinning_cat_face": "😺", + "grinning_cat_face_with_smiling_eyes": "😸", + "grinning_face": "😀", + "grinning_face_with_big_eyes": "😃", + "grinning_face_with_smiling_eyes": "😄", + "grinning_face_with_sweat": "😅", + "grinning_squinting_face": "😆", + "growing_heart": "💗", + "guard": "💂", + "guard_dark_skin_tone": "💂🏿", + "guard_light_skin_tone": "💂🏻", + "guard_medium-dark_skin_tone": "💂🏾", + "guard_medium-light_skin_tone": "💂🏼", + "guard_medium_skin_tone": "💂🏽", + "guide_dog": "🦮", + "guitar": "🎸", + "hamburger": "🍔", + "hammer": "🔨", + "hammer_and_pick": "⚒", + "hammer_and_wrench": "🛠", + "hamster_face": "🐹", + "hand_with_fingers_splayed": "🖐", + "hand_with_fingers_splayed_dark_skin_tone": "🖐🏿", + "hand_with_fingers_splayed_light_skin_tone": "🖐🏻", + "hand_with_fingers_splayed_medium-dark_skin_tone": "🖐🏾", + "hand_with_fingers_splayed_medium-light_skin_tone": "🖐🏼", + "hand_with_fingers_splayed_medium_skin_tone": "🖐🏽", + "handbag": "👜", + "handshake": "🤝", + "hatching_chick": "🐣", + "headphone": "🎧", + "hear-no-evil_monkey": "🙉", + "heart_decoration": "💟", + "heart_suit": "♥", + "heart_with_arrow": "💘", + "heart_with_ribbon": "💝", + "heavy_check_mark": "✔", + "heavy_division_sign": "➗", + "heavy_dollar_sign": "💲", + "heavy_heart_exclamation": "❣", + "heavy_large_circle": "⭕", + "heavy_minus_sign": "➖", + "heavy_multiplication_x": "✖", + "heavy_plus_sign": "➕", + "hedgehog": "🦔", + "helicopter": "🚁", + "herb": "🌿", + "hibiscus": "🌺", + "high-heeled_shoe": "👠", + "high-speed_train": "🚄", + "high_voltage": "⚡", + "hiking_boot": "🥾", + "hindu_temple": "🛕", + "hippopotamus": "🦛", + "hole": "🕳", + "honey_pot": "🍯", + "honeybee": "🐝", + "horizontal_traffic_light": "🚥", + "horse": "🐴", + "horse_face": "🐴", + "horse_racing": "🏇", + "horse_racing_dark_skin_tone": "🏇🏿", + "horse_racing_light_skin_tone": "🏇🏻", + "horse_racing_medium-dark_skin_tone": "🏇🏾", + "horse_racing_medium-light_skin_tone": "🏇🏼", + "horse_racing_medium_skin_tone": "🏇🏽", + "hospital": "🏥", + "hot_beverage": "☕", + "hot_dog": "🌭", + "hot_face": "🥵", + "hot_pepper": "🌶", + "hot_springs": "♨", + "hotel": "🏨", + "hourglass_done": "⌛", + "hourglass_not_done": "⏳", + "house": "🏠", + "house_with_garden": "🏡", + "houses": "🏘", + "hugging_face": "🤗", + "hundred_points": "💯", + "hushed_face": "😯", + "ice": "🧊", + "ice_cream": "🍨", + "ice_hockey": "🏒", + "ice_skate": "⛸", + "inbox_tray": "📥", + "incoming_envelope": "📨", + "index_pointing_up": "☝", + "index_pointing_up_dark_skin_tone": "☝🏿", + "index_pointing_up_light_skin_tone": "☝🏻", + "index_pointing_up_medium-dark_skin_tone": "☝🏾", + "index_pointing_up_medium-light_skin_tone": "☝🏼", + "index_pointing_up_medium_skin_tone": "☝🏽", + "infinity": "♾", + "information": "ℹ", + "input_latin_letters": "🔤", + "input_latin_lowercase": "🔡", + "input_latin_uppercase": "🔠", + "input_numbers": "🔢", + "input_symbols": "🔣", + "jack-o-lantern": "🎃", + "jeans": "👖", + "jigsaw": "🧩", + "joker": "🃏", + "joystick": "🕹", + "kaaba": "🕋", + "kangaroo": "🦘", + "key": "🔑", + "keyboard": "⌨", + "keycap_#": "#️⃣", + "keycap_*": "*️⃣", + "keycap_0": "0️⃣", + "keycap_1": "1️⃣", + "keycap_10": "🔟", + "keycap_2": "2️⃣", + "keycap_3": "3️⃣", + "keycap_4": "4️⃣", + "keycap_5": "5️⃣", + "keycap_6": "6️⃣", + "keycap_7": "7️⃣", + "keycap_8": "8️⃣", + "keycap_9": "9️⃣", + "kick_scooter": "🛴", + "kimono": "👘", + "kiss": "💋", + "kiss_man_man": "👨\u200d❤️\u200d💋\u200d👨", + "kiss_mark": "💋", + "kiss_woman_man": "👩\u200d❤️\u200d💋\u200d👨", + "kiss_woman_woman": "👩\u200d❤️\u200d💋\u200d👩", + "kissing_cat_face": "😽", + "kissing_face": "😗", + "kissing_face_with_closed_eyes": "😚", + "kissing_face_with_smiling_eyes": "😙", + "kitchen_knife": "🔪", + "kite": "🪁", + "kiwi_fruit": "🥝", + "koala": "🐨", + "lab_coat": "🥼", + "label": "🏷", + "lacrosse": "🥍", + "lady_beetle": "🐞", + "laptop_computer": "💻", + "large_blue_diamond": "🔷", + "large_orange_diamond": "🔶", + "last_quarter_moon": "🌗", + "last_quarter_moon_face": "🌜", + "last_track_button": "⏮", + "latin_cross": "✝", + "leaf_fluttering_in_wind": "🍃", + "leafy_green": "🥬", + "ledger": "📒", + "left-facing_fist": "🤛", + "left-facing_fist_dark_skin_tone": "🤛🏿", + "left-facing_fist_light_skin_tone": "🤛🏻", + "left-facing_fist_medium-dark_skin_tone": "🤛🏾", + "left-facing_fist_medium-light_skin_tone": "🤛🏼", + "left-facing_fist_medium_skin_tone": "🤛🏽", + "left-right_arrow": "↔", + "left_arrow": "⬅", + "left_arrow_curving_right": "↪", + "left_luggage": "🛅", + "left_speech_bubble": "🗨", + "leg": "🦵", + "lemon": "🍋", + "leopard": "🐆", + "level_slider": "🎚", + "light_bulb": "💡", + "light_rail": "🚈", + "link": "🔗", + "linked_paperclips": "🖇", + "lion_face": "🦁", + "lipstick": "💄", + "litter_in_bin_sign": "🚮", + "lizard": "🦎", + "llama": "🦙", + "lobster": "🦞", + "locked": "🔒", + "locked_with_key": "🔐", + "locked_with_pen": "🔏", + "locomotive": "🚂", + "lollipop": "🍭", + "lotion_bottle": "🧴", + "loudly_crying_face": "😭", + "loudspeaker": "📢", + "love-you_gesture": "🤟", + "love-you_gesture_dark_skin_tone": "🤟🏿", + "love-you_gesture_light_skin_tone": "🤟🏻", + "love-you_gesture_medium-dark_skin_tone": "🤟🏾", + "love-you_gesture_medium-light_skin_tone": "🤟🏼", + "love-you_gesture_medium_skin_tone": "🤟🏽", + "love_hotel": "🏩", + "love_letter": "💌", + "luggage": "🧳", + "lying_face": "🤥", + "mage": "🧙", + "mage_dark_skin_tone": "🧙🏿", + "mage_light_skin_tone": "🧙🏻", + "mage_medium-dark_skin_tone": "🧙🏾", + "mage_medium-light_skin_tone": "🧙🏼", + "mage_medium_skin_tone": "🧙🏽", + "magnet": "🧲", + "magnifying_glass_tilted_left": "🔍", + "magnifying_glass_tilted_right": "🔎", + "mahjong_red_dragon": "🀄", + "male_sign": "♂", + "man": "👨", + "man_and_woman_holding_hands": "👫", + "man_artist": "👨\u200d🎨", + "man_artist_dark_skin_tone": "👨🏿\u200d🎨", + "man_artist_light_skin_tone": "👨🏻\u200d🎨", + "man_artist_medium-dark_skin_tone": "👨🏾\u200d🎨", + "man_artist_medium-light_skin_tone": "👨🏼\u200d🎨", + "man_artist_medium_skin_tone": "👨🏽\u200d🎨", + "man_astronaut": "👨\u200d🚀", + "man_astronaut_dark_skin_tone": "👨🏿\u200d🚀", + "man_astronaut_light_skin_tone": "👨🏻\u200d🚀", + "man_astronaut_medium-dark_skin_tone": "👨🏾\u200d🚀", + "man_astronaut_medium-light_skin_tone": "👨🏼\u200d🚀", + "man_astronaut_medium_skin_tone": "👨🏽\u200d🚀", + "man_biking": "🚴\u200d♂️", + "man_biking_dark_skin_tone": "🚴🏿\u200d♂️", + "man_biking_light_skin_tone": "🚴🏻\u200d♂️", + "man_biking_medium-dark_skin_tone": "🚴🏾\u200d♂️", + "man_biking_medium-light_skin_tone": "🚴🏼\u200d♂️", + "man_biking_medium_skin_tone": "🚴🏽\u200d♂️", + "man_bouncing_ball": "⛹️\u200d♂️", + "man_bouncing_ball_dark_skin_tone": "⛹🏿\u200d♂️", + "man_bouncing_ball_light_skin_tone": "⛹🏻\u200d♂️", + "man_bouncing_ball_medium-dark_skin_tone": "⛹🏾\u200d♂️", + "man_bouncing_ball_medium-light_skin_tone": "⛹🏼\u200d♂️", + "man_bouncing_ball_medium_skin_tone": "⛹🏽\u200d♂️", + "man_bowing": "🙇\u200d♂️", + "man_bowing_dark_skin_tone": "🙇🏿\u200d♂️", + "man_bowing_light_skin_tone": "🙇🏻\u200d♂️", + "man_bowing_medium-dark_skin_tone": "🙇🏾\u200d♂️", + "man_bowing_medium-light_skin_tone": "🙇🏼\u200d♂️", + "man_bowing_medium_skin_tone": "🙇🏽\u200d♂️", + "man_cartwheeling": "🤸\u200d♂️", + "man_cartwheeling_dark_skin_tone": "🤸🏿\u200d♂️", + "man_cartwheeling_light_skin_tone": "🤸🏻\u200d♂️", + "man_cartwheeling_medium-dark_skin_tone": "🤸🏾\u200d♂️", + "man_cartwheeling_medium-light_skin_tone": "🤸🏼\u200d♂️", + "man_cartwheeling_medium_skin_tone": "🤸🏽\u200d♂️", + "man_climbing": "🧗\u200d♂️", + "man_climbing_dark_skin_tone": "🧗🏿\u200d♂️", + "man_climbing_light_skin_tone": "🧗🏻\u200d♂️", + "man_climbing_medium-dark_skin_tone": "🧗🏾\u200d♂️", + "man_climbing_medium-light_skin_tone": "🧗🏼\u200d♂️", + "man_climbing_medium_skin_tone": "🧗🏽\u200d♂️", + "man_construction_worker": "👷\u200d♂️", + "man_construction_worker_dark_skin_tone": "👷🏿\u200d♂️", + "man_construction_worker_light_skin_tone": "👷🏻\u200d♂️", + "man_construction_worker_medium-dark_skin_tone": "👷🏾\u200d♂️", + "man_construction_worker_medium-light_skin_tone": "👷🏼\u200d♂️", + "man_construction_worker_medium_skin_tone": "👷🏽\u200d♂️", + "man_cook": "👨\u200d🍳", + "man_cook_dark_skin_tone": "👨🏿\u200d🍳", + "man_cook_light_skin_tone": "👨🏻\u200d🍳", + "man_cook_medium-dark_skin_tone": "👨🏾\u200d🍳", + "man_cook_medium-light_skin_tone": "👨🏼\u200d🍳", + "man_cook_medium_skin_tone": "👨🏽\u200d🍳", + "man_dancing": "🕺", + "man_dancing_dark_skin_tone": "🕺🏿", + "man_dancing_light_skin_tone": "🕺🏻", + "man_dancing_medium-dark_skin_tone": "🕺🏾", + "man_dancing_medium-light_skin_tone": "🕺🏼", + "man_dancing_medium_skin_tone": "🕺🏽", + "man_dark_skin_tone": "👨🏿", + "man_detective": "🕵️\u200d♂️", + "man_detective_dark_skin_tone": "🕵🏿\u200d♂️", + "man_detective_light_skin_tone": "🕵🏻\u200d♂️", + "man_detective_medium-dark_skin_tone": "🕵🏾\u200d♂️", + "man_detective_medium-light_skin_tone": "🕵🏼\u200d♂️", + "man_detective_medium_skin_tone": "🕵🏽\u200d♂️", + "man_elf": "🧝\u200d♂️", + "man_elf_dark_skin_tone": "🧝🏿\u200d♂️", + "man_elf_light_skin_tone": "🧝🏻\u200d♂️", + "man_elf_medium-dark_skin_tone": "🧝🏾\u200d♂️", + "man_elf_medium-light_skin_tone": "🧝🏼\u200d♂️", + "man_elf_medium_skin_tone": "🧝🏽\u200d♂️", + "man_facepalming": "🤦\u200d♂️", + "man_facepalming_dark_skin_tone": "🤦🏿\u200d♂️", + "man_facepalming_light_skin_tone": "🤦🏻\u200d♂️", + "man_facepalming_medium-dark_skin_tone": "🤦🏾\u200d♂️", + "man_facepalming_medium-light_skin_tone": "🤦🏼\u200d♂️", + "man_facepalming_medium_skin_tone": "🤦🏽\u200d♂️", + "man_factory_worker": "👨\u200d🏭", + "man_factory_worker_dark_skin_tone": "👨🏿\u200d🏭", + "man_factory_worker_light_skin_tone": "👨🏻\u200d🏭", + "man_factory_worker_medium-dark_skin_tone": "👨🏾\u200d🏭", + "man_factory_worker_medium-light_skin_tone": "👨🏼\u200d🏭", + "man_factory_worker_medium_skin_tone": "👨🏽\u200d🏭", + "man_fairy": "🧚\u200d♂️", + "man_fairy_dark_skin_tone": "🧚🏿\u200d♂️", + "man_fairy_light_skin_tone": "🧚🏻\u200d♂️", + "man_fairy_medium-dark_skin_tone": "🧚🏾\u200d♂️", + "man_fairy_medium-light_skin_tone": "🧚🏼\u200d♂️", + "man_fairy_medium_skin_tone": "🧚🏽\u200d♂️", + "man_farmer": "👨\u200d🌾", + "man_farmer_dark_skin_tone": "👨🏿\u200d🌾", + "man_farmer_light_skin_tone": "👨🏻\u200d🌾", + "man_farmer_medium-dark_skin_tone": "👨🏾\u200d🌾", + "man_farmer_medium-light_skin_tone": "👨🏼\u200d🌾", + "man_farmer_medium_skin_tone": "👨🏽\u200d🌾", + "man_firefighter": "👨\u200d🚒", + "man_firefighter_dark_skin_tone": "👨🏿\u200d🚒", + "man_firefighter_light_skin_tone": "👨🏻\u200d🚒", + "man_firefighter_medium-dark_skin_tone": "👨🏾\u200d🚒", + "man_firefighter_medium-light_skin_tone": "👨🏼\u200d🚒", + "man_firefighter_medium_skin_tone": "👨🏽\u200d🚒", + "man_frowning": "🙍\u200d♂️", + "man_frowning_dark_skin_tone": "🙍🏿\u200d♂️", + "man_frowning_light_skin_tone": "🙍🏻\u200d♂️", + "man_frowning_medium-dark_skin_tone": "🙍🏾\u200d♂️", + "man_frowning_medium-light_skin_tone": "🙍🏼\u200d♂️", + "man_frowning_medium_skin_tone": "🙍🏽\u200d♂️", + "man_genie": "🧞\u200d♂️", + "man_gesturing_no": "🙅\u200d♂️", + "man_gesturing_no_dark_skin_tone": "🙅🏿\u200d♂️", + "man_gesturing_no_light_skin_tone": "🙅🏻\u200d♂️", + "man_gesturing_no_medium-dark_skin_tone": "🙅🏾\u200d♂️", + "man_gesturing_no_medium-light_skin_tone": "🙅🏼\u200d♂️", + "man_gesturing_no_medium_skin_tone": "🙅🏽\u200d♂️", + "man_gesturing_ok": "🙆\u200d♂️", + "man_gesturing_ok_dark_skin_tone": "🙆🏿\u200d♂️", + "man_gesturing_ok_light_skin_tone": "🙆🏻\u200d♂️", + "man_gesturing_ok_medium-dark_skin_tone": "🙆🏾\u200d♂️", + "man_gesturing_ok_medium-light_skin_tone": "🙆🏼\u200d♂️", + "man_gesturing_ok_medium_skin_tone": "🙆🏽\u200d♂️", + "man_getting_haircut": "💇\u200d♂️", + "man_getting_haircut_dark_skin_tone": "💇🏿\u200d♂️", + "man_getting_haircut_light_skin_tone": "💇🏻\u200d♂️", + "man_getting_haircut_medium-dark_skin_tone": "💇🏾\u200d♂️", + "man_getting_haircut_medium-light_skin_tone": "💇🏼\u200d♂️", + "man_getting_haircut_medium_skin_tone": "💇🏽\u200d♂️", + "man_getting_massage": "💆\u200d♂️", + "man_getting_massage_dark_skin_tone": "💆🏿\u200d♂️", + "man_getting_massage_light_skin_tone": "💆🏻\u200d♂️", + "man_getting_massage_medium-dark_skin_tone": "💆🏾\u200d♂️", + "man_getting_massage_medium-light_skin_tone": "💆🏼\u200d♂️", + "man_getting_massage_medium_skin_tone": "💆🏽\u200d♂️", + "man_golfing": "🏌️\u200d♂️", + "man_golfing_dark_skin_tone": "🏌🏿\u200d♂️", + "man_golfing_light_skin_tone": "🏌🏻\u200d♂️", + "man_golfing_medium-dark_skin_tone": "🏌🏾\u200d♂️", + "man_golfing_medium-light_skin_tone": "🏌🏼\u200d♂️", + "man_golfing_medium_skin_tone": "🏌🏽\u200d♂️", + "man_guard": "💂\u200d♂️", + "man_guard_dark_skin_tone": "💂🏿\u200d♂️", + "man_guard_light_skin_tone": "💂🏻\u200d♂️", + "man_guard_medium-dark_skin_tone": "💂🏾\u200d♂️", + "man_guard_medium-light_skin_tone": "💂🏼\u200d♂️", + "man_guard_medium_skin_tone": "💂🏽\u200d♂️", + "man_health_worker": "👨\u200d⚕️", + "man_health_worker_dark_skin_tone": "👨🏿\u200d⚕️", + "man_health_worker_light_skin_tone": "👨🏻\u200d⚕️", + "man_health_worker_medium-dark_skin_tone": "👨🏾\u200d⚕️", + "man_health_worker_medium-light_skin_tone": "👨🏼\u200d⚕️", + "man_health_worker_medium_skin_tone": "👨🏽\u200d⚕️", + "man_in_lotus_position": "🧘\u200d♂️", + "man_in_lotus_position_dark_skin_tone": "🧘🏿\u200d♂️", + "man_in_lotus_position_light_skin_tone": "🧘🏻\u200d♂️", + "man_in_lotus_position_medium-dark_skin_tone": "🧘🏾\u200d♂️", + "man_in_lotus_position_medium-light_skin_tone": "🧘🏼\u200d♂️", + "man_in_lotus_position_medium_skin_tone": "🧘🏽\u200d♂️", + "man_in_manual_wheelchair": "👨\u200d🦽", + "man_in_motorized_wheelchair": "👨\u200d🦼", + "man_in_steamy_room": "🧖\u200d♂️", + "man_in_steamy_room_dark_skin_tone": "🧖🏿\u200d♂️", + "man_in_steamy_room_light_skin_tone": "🧖🏻\u200d♂️", + "man_in_steamy_room_medium-dark_skin_tone": "🧖🏾\u200d♂️", + "man_in_steamy_room_medium-light_skin_tone": "🧖🏼\u200d♂️", + "man_in_steamy_room_medium_skin_tone": "🧖🏽\u200d♂️", + "man_in_suit_levitating": "🕴", + "man_in_suit_levitating_dark_skin_tone": "🕴🏿", + "man_in_suit_levitating_light_skin_tone": "🕴🏻", + "man_in_suit_levitating_medium-dark_skin_tone": "🕴🏾", + "man_in_suit_levitating_medium-light_skin_tone": "🕴🏼", + "man_in_suit_levitating_medium_skin_tone": "🕴🏽", + "man_in_tuxedo": "🤵", + "man_in_tuxedo_dark_skin_tone": "🤵🏿", + "man_in_tuxedo_light_skin_tone": "🤵🏻", + "man_in_tuxedo_medium-dark_skin_tone": "🤵🏾", + "man_in_tuxedo_medium-light_skin_tone": "🤵🏼", + "man_in_tuxedo_medium_skin_tone": "🤵🏽", + "man_judge": "👨\u200d⚖️", + "man_judge_dark_skin_tone": "👨🏿\u200d⚖️", + "man_judge_light_skin_tone": "👨🏻\u200d⚖️", + "man_judge_medium-dark_skin_tone": "👨🏾\u200d⚖️", + "man_judge_medium-light_skin_tone": "👨🏼\u200d⚖️", + "man_judge_medium_skin_tone": "👨🏽\u200d⚖️", + "man_juggling": "🤹\u200d♂️", + "man_juggling_dark_skin_tone": "🤹🏿\u200d♂️", + "man_juggling_light_skin_tone": "🤹🏻\u200d♂️", + "man_juggling_medium-dark_skin_tone": "🤹🏾\u200d♂️", + "man_juggling_medium-light_skin_tone": "🤹🏼\u200d♂️", + "man_juggling_medium_skin_tone": "🤹🏽\u200d♂️", + "man_lifting_weights": "🏋️\u200d♂️", + "man_lifting_weights_dark_skin_tone": "🏋🏿\u200d♂️", + "man_lifting_weights_light_skin_tone": "🏋🏻\u200d♂️", + "man_lifting_weights_medium-dark_skin_tone": "🏋🏾\u200d♂️", + "man_lifting_weights_medium-light_skin_tone": "🏋🏼\u200d♂️", + "man_lifting_weights_medium_skin_tone": "🏋🏽\u200d♂️", + "man_light_skin_tone": "👨🏻", + "man_mage": "🧙\u200d♂️", + "man_mage_dark_skin_tone": "🧙🏿\u200d♂️", + "man_mage_light_skin_tone": "🧙🏻\u200d♂️", + "man_mage_medium-dark_skin_tone": "🧙🏾\u200d♂️", + "man_mage_medium-light_skin_tone": "🧙🏼\u200d♂️", + "man_mage_medium_skin_tone": "🧙🏽\u200d♂️", + "man_mechanic": "👨\u200d🔧", + "man_mechanic_dark_skin_tone": "👨🏿\u200d🔧", + "man_mechanic_light_skin_tone": "👨🏻\u200d🔧", + "man_mechanic_medium-dark_skin_tone": "👨🏾\u200d🔧", + "man_mechanic_medium-light_skin_tone": "👨🏼\u200d🔧", + "man_mechanic_medium_skin_tone": "👨🏽\u200d🔧", + "man_medium-dark_skin_tone": "👨🏾", + "man_medium-light_skin_tone": "👨🏼", + "man_medium_skin_tone": "👨🏽", + "man_mountain_biking": "🚵\u200d♂️", + "man_mountain_biking_dark_skin_tone": "🚵🏿\u200d♂️", + "man_mountain_biking_light_skin_tone": "🚵🏻\u200d♂️", + "man_mountain_biking_medium-dark_skin_tone": "🚵🏾\u200d♂️", + "man_mountain_biking_medium-light_skin_tone": "🚵🏼\u200d♂️", + "man_mountain_biking_medium_skin_tone": "🚵🏽\u200d♂️", + "man_office_worker": "👨\u200d💼", + "man_office_worker_dark_skin_tone": "👨🏿\u200d💼", + "man_office_worker_light_skin_tone": "👨🏻\u200d💼", + "man_office_worker_medium-dark_skin_tone": "👨🏾\u200d💼", + "man_office_worker_medium-light_skin_tone": "👨🏼\u200d💼", + "man_office_worker_medium_skin_tone": "👨🏽\u200d💼", + "man_pilot": "👨\u200d✈️", + "man_pilot_dark_skin_tone": "👨🏿\u200d✈️", + "man_pilot_light_skin_tone": "👨🏻\u200d✈️", + "man_pilot_medium-dark_skin_tone": "👨🏾\u200d✈️", + "man_pilot_medium-light_skin_tone": "👨🏼\u200d✈️", + "man_pilot_medium_skin_tone": "👨🏽\u200d✈️", + "man_playing_handball": "🤾\u200d♂️", + "man_playing_handball_dark_skin_tone": "🤾🏿\u200d♂️", + "man_playing_handball_light_skin_tone": "🤾🏻\u200d♂️", + "man_playing_handball_medium-dark_skin_tone": "🤾🏾\u200d♂️", + "man_playing_handball_medium-light_skin_tone": "🤾🏼\u200d♂️", + "man_playing_handball_medium_skin_tone": "🤾🏽\u200d♂️", + "man_playing_water_polo": "🤽\u200d♂️", + "man_playing_water_polo_dark_skin_tone": "🤽🏿\u200d♂️", + "man_playing_water_polo_light_skin_tone": "🤽🏻\u200d♂️", + "man_playing_water_polo_medium-dark_skin_tone": "🤽🏾\u200d♂️", + "man_playing_water_polo_medium-light_skin_tone": "🤽🏼\u200d♂️", + "man_playing_water_polo_medium_skin_tone": "🤽🏽\u200d♂️", + "man_police_officer": "👮\u200d♂️", + "man_police_officer_dark_skin_tone": "👮🏿\u200d♂️", + "man_police_officer_light_skin_tone": "👮🏻\u200d♂️", + "man_police_officer_medium-dark_skin_tone": "👮🏾\u200d♂️", + "man_police_officer_medium-light_skin_tone": "👮🏼\u200d♂️", + "man_police_officer_medium_skin_tone": "👮🏽\u200d♂️", + "man_pouting": "🙎\u200d♂️", + "man_pouting_dark_skin_tone": "🙎🏿\u200d♂️", + "man_pouting_light_skin_tone": "🙎🏻\u200d♂️", + "man_pouting_medium-dark_skin_tone": "🙎🏾\u200d♂️", + "man_pouting_medium-light_skin_tone": "🙎🏼\u200d♂️", + "man_pouting_medium_skin_tone": "🙎🏽\u200d♂️", + "man_raising_hand": "🙋\u200d♂️", + "man_raising_hand_dark_skin_tone": "🙋🏿\u200d♂️", + "man_raising_hand_light_skin_tone": "🙋🏻\u200d♂️", + "man_raising_hand_medium-dark_skin_tone": "🙋🏾\u200d♂️", + "man_raising_hand_medium-light_skin_tone": "🙋🏼\u200d♂️", + "man_raising_hand_medium_skin_tone": "🙋🏽\u200d♂️", + "man_rowing_boat": "🚣\u200d♂️", + "man_rowing_boat_dark_skin_tone": "🚣🏿\u200d♂️", + "man_rowing_boat_light_skin_tone": "🚣🏻\u200d♂️", + "man_rowing_boat_medium-dark_skin_tone": "🚣🏾\u200d♂️", + "man_rowing_boat_medium-light_skin_tone": "🚣🏼\u200d♂️", + "man_rowing_boat_medium_skin_tone": "🚣🏽\u200d♂️", + "man_running": "🏃\u200d♂️", + "man_running_dark_skin_tone": "🏃🏿\u200d♂️", + "man_running_light_skin_tone": "🏃🏻\u200d♂️", + "man_running_medium-dark_skin_tone": "🏃🏾\u200d♂️", + "man_running_medium-light_skin_tone": "🏃🏼\u200d♂️", + "man_running_medium_skin_tone": "🏃🏽\u200d♂️", + "man_scientist": "👨\u200d🔬", + "man_scientist_dark_skin_tone": "👨🏿\u200d🔬", + "man_scientist_light_skin_tone": "👨🏻\u200d🔬", + "man_scientist_medium-dark_skin_tone": "👨🏾\u200d🔬", + "man_scientist_medium-light_skin_tone": "👨🏼\u200d🔬", + "man_scientist_medium_skin_tone": "👨🏽\u200d🔬", + "man_shrugging": "🤷\u200d♂️", + "man_shrugging_dark_skin_tone": "🤷🏿\u200d♂️", + "man_shrugging_light_skin_tone": "🤷🏻\u200d♂️", + "man_shrugging_medium-dark_skin_tone": "🤷🏾\u200d♂️", + "man_shrugging_medium-light_skin_tone": "🤷🏼\u200d♂️", + "man_shrugging_medium_skin_tone": "🤷🏽\u200d♂️", + "man_singer": "👨\u200d🎤", + "man_singer_dark_skin_tone": "👨🏿\u200d🎤", + "man_singer_light_skin_tone": "👨🏻\u200d🎤", + "man_singer_medium-dark_skin_tone": "👨🏾\u200d🎤", + "man_singer_medium-light_skin_tone": "👨🏼\u200d🎤", + "man_singer_medium_skin_tone": "👨🏽\u200d🎤", + "man_student": "👨\u200d🎓", + "man_student_dark_skin_tone": "👨🏿\u200d🎓", + "man_student_light_skin_tone": "👨🏻\u200d🎓", + "man_student_medium-dark_skin_tone": "👨🏾\u200d🎓", + "man_student_medium-light_skin_tone": "👨🏼\u200d🎓", + "man_student_medium_skin_tone": "👨🏽\u200d🎓", + "man_surfing": "🏄\u200d♂️", + "man_surfing_dark_skin_tone": "🏄🏿\u200d♂️", + "man_surfing_light_skin_tone": "🏄🏻\u200d♂️", + "man_surfing_medium-dark_skin_tone": "🏄🏾\u200d♂️", + "man_surfing_medium-light_skin_tone": "🏄🏼\u200d♂️", + "man_surfing_medium_skin_tone": "🏄🏽\u200d♂️", + "man_swimming": "🏊\u200d♂️", + "man_swimming_dark_skin_tone": "🏊🏿\u200d♂️", + "man_swimming_light_skin_tone": "🏊🏻\u200d♂️", + "man_swimming_medium-dark_skin_tone": "🏊🏾\u200d♂️", + "man_swimming_medium-light_skin_tone": "🏊🏼\u200d♂️", + "man_swimming_medium_skin_tone": "🏊🏽\u200d♂️", + "man_teacher": "👨\u200d🏫", + "man_teacher_dark_skin_tone": "👨🏿\u200d🏫", + "man_teacher_light_skin_tone": "👨🏻\u200d🏫", + "man_teacher_medium-dark_skin_tone": "👨🏾\u200d🏫", + "man_teacher_medium-light_skin_tone": "👨🏼\u200d🏫", + "man_teacher_medium_skin_tone": "👨🏽\u200d🏫", + "man_technologist": "👨\u200d💻", + "man_technologist_dark_skin_tone": "👨🏿\u200d💻", + "man_technologist_light_skin_tone": "👨🏻\u200d💻", + "man_technologist_medium-dark_skin_tone": "👨🏾\u200d💻", + "man_technologist_medium-light_skin_tone": "👨🏼\u200d💻", + "man_technologist_medium_skin_tone": "👨🏽\u200d💻", + "man_tipping_hand": "💁\u200d♂️", + "man_tipping_hand_dark_skin_tone": "💁🏿\u200d♂️", + "man_tipping_hand_light_skin_tone": "💁🏻\u200d♂️", + "man_tipping_hand_medium-dark_skin_tone": "💁🏾\u200d♂️", + "man_tipping_hand_medium-light_skin_tone": "💁🏼\u200d♂️", + "man_tipping_hand_medium_skin_tone": "💁🏽\u200d♂️", + "man_vampire": "🧛\u200d♂️", + "man_vampire_dark_skin_tone": "🧛🏿\u200d♂️", + "man_vampire_light_skin_tone": "🧛🏻\u200d♂️", + "man_vampire_medium-dark_skin_tone": "🧛🏾\u200d♂️", + "man_vampire_medium-light_skin_tone": "🧛🏼\u200d♂️", + "man_vampire_medium_skin_tone": "🧛🏽\u200d♂️", + "man_walking": "🚶\u200d♂️", + "man_walking_dark_skin_tone": "🚶🏿\u200d♂️", + "man_walking_light_skin_tone": "🚶🏻\u200d♂️", + "man_walking_medium-dark_skin_tone": "🚶🏾\u200d♂️", + "man_walking_medium-light_skin_tone": "🚶🏼\u200d♂️", + "man_walking_medium_skin_tone": "🚶🏽\u200d♂️", + "man_wearing_turban": "👳\u200d♂️", + "man_wearing_turban_dark_skin_tone": "👳🏿\u200d♂️", + "man_wearing_turban_light_skin_tone": "👳🏻\u200d♂️", + "man_wearing_turban_medium-dark_skin_tone": "👳🏾\u200d♂️", + "man_wearing_turban_medium-light_skin_tone": "👳🏼\u200d♂️", + "man_wearing_turban_medium_skin_tone": "👳🏽\u200d♂️", + "man_with_probing_cane": "👨\u200d🦯", + "man_with_chinese_cap": "👲", + "man_with_chinese_cap_dark_skin_tone": "👲🏿", + "man_with_chinese_cap_light_skin_tone": "👲🏻", + "man_with_chinese_cap_medium-dark_skin_tone": "👲🏾", + "man_with_chinese_cap_medium-light_skin_tone": "👲🏼", + "man_with_chinese_cap_medium_skin_tone": "👲🏽", + "man_zombie": "🧟\u200d♂️", + "mango": "🥭", + "mantelpiece_clock": "🕰", + "manual_wheelchair": "🦽", + "man’s_shoe": "👞", + "map_of_japan": "🗾", + "maple_leaf": "🍁", + "martial_arts_uniform": "🥋", + "mate": "🧉", + "meat_on_bone": "🍖", + "mechanical_arm": "🦾", + "mechanical_leg": "🦿", + "medical_symbol": "⚕", + "megaphone": "📣", + "melon": "🍈", + "memo": "📝", + "men_with_bunny_ears": "👯\u200d♂️", + "men_wrestling": "🤼\u200d♂️", + "menorah": "🕎", + "men’s_room": "🚹", + "mermaid": "🧜\u200d♀️", + "mermaid_dark_skin_tone": "🧜🏿\u200d♀️", + "mermaid_light_skin_tone": "🧜🏻\u200d♀️", + "mermaid_medium-dark_skin_tone": "🧜🏾\u200d♀️", + "mermaid_medium-light_skin_tone": "🧜🏼\u200d♀️", + "mermaid_medium_skin_tone": "🧜🏽\u200d♀️", + "merman": "🧜\u200d♂️", + "merman_dark_skin_tone": "🧜🏿\u200d♂️", + "merman_light_skin_tone": "🧜🏻\u200d♂️", + "merman_medium-dark_skin_tone": "🧜🏾\u200d♂️", + "merman_medium-light_skin_tone": "🧜🏼\u200d♂️", + "merman_medium_skin_tone": "🧜🏽\u200d♂️", + "merperson": "🧜", + "merperson_dark_skin_tone": "🧜🏿", + "merperson_light_skin_tone": "🧜🏻", + "merperson_medium-dark_skin_tone": "🧜🏾", + "merperson_medium-light_skin_tone": "🧜🏼", + "merperson_medium_skin_tone": "🧜🏽", + "metro": "🚇", + "microbe": "🦠", + "microphone": "🎤", + "microscope": "🔬", + "middle_finger": "🖕", + "middle_finger_dark_skin_tone": "🖕🏿", + "middle_finger_light_skin_tone": "🖕🏻", + "middle_finger_medium-dark_skin_tone": "🖕🏾", + "middle_finger_medium-light_skin_tone": "🖕🏼", + "middle_finger_medium_skin_tone": "🖕🏽", + "military_medal": "🎖", + "milky_way": "🌌", + "minibus": "🚐", + "moai": "🗿", + "mobile_phone": "📱", + "mobile_phone_off": "📴", + "mobile_phone_with_arrow": "📲", + "money-mouth_face": "🤑", + "money_bag": "💰", + "money_with_wings": "💸", + "monkey": "🐒", + "monkey_face": "🐵", + "monorail": "🚝", + "moon_cake": "🥮", + "moon_viewing_ceremony": "🎑", + "mosque": "🕌", + "mosquito": "🦟", + "motor_boat": "🛥", + "motor_scooter": "🛵", + "motorcycle": "🏍", + "motorized_wheelchair": "🦼", + "motorway": "🛣", + "mount_fuji": "🗻", + "mountain": "⛰", + "mountain_cableway": "🚠", + "mountain_railway": "🚞", + "mouse": "🐭", + "mouse_face": "🐭", + "mouth": "👄", + "movie_camera": "🎥", + "mushroom": "🍄", + "musical_keyboard": "🎹", + "musical_note": "🎵", + "musical_notes": "🎶", + "musical_score": "🎼", + "muted_speaker": "🔇", + "nail_polish": "💅", + "nail_polish_dark_skin_tone": "💅🏿", + "nail_polish_light_skin_tone": "💅🏻", + "nail_polish_medium-dark_skin_tone": "💅🏾", + "nail_polish_medium-light_skin_tone": "💅🏼", + "nail_polish_medium_skin_tone": "💅🏽", + "name_badge": "📛", + "national_park": "🏞", + "nauseated_face": "🤢", + "nazar_amulet": "🧿", + "necktie": "👔", + "nerd_face": "🤓", + "neutral_face": "😐", + "new_moon": "🌑", + "new_moon_face": "🌚", + "newspaper": "📰", + "next_track_button": "⏭", + "night_with_stars": "🌃", + "nine-thirty": "🕤", + "nine_o’clock": "🕘", + "no_bicycles": "🚳", + "no_entry": "⛔", + "no_littering": "🚯", + "no_mobile_phones": "📵", + "no_one_under_eighteen": "🔞", + "no_pedestrians": "🚷", + "no_smoking": "🚭", + "non-potable_water": "🚱", + "nose": "👃", + "nose_dark_skin_tone": "👃🏿", + "nose_light_skin_tone": "👃🏻", + "nose_medium-dark_skin_tone": "👃🏾", + "nose_medium-light_skin_tone": "👃🏼", + "nose_medium_skin_tone": "👃🏽", + "notebook": "📓", + "notebook_with_decorative_cover": "📔", + "nut_and_bolt": "🔩", + "octopus": "🐙", + "oden": "🍢", + "office_building": "🏢", + "ogre": "👹", + "oil_drum": "🛢", + "old_key": "🗝", + "old_man": "👴", + "old_man_dark_skin_tone": "👴🏿", + "old_man_light_skin_tone": "👴🏻", + "old_man_medium-dark_skin_tone": "👴🏾", + "old_man_medium-light_skin_tone": "👴🏼", + "old_man_medium_skin_tone": "👴🏽", + "old_woman": "👵", + "old_woman_dark_skin_tone": "👵🏿", + "old_woman_light_skin_tone": "👵🏻", + "old_woman_medium-dark_skin_tone": "👵🏾", + "old_woman_medium-light_skin_tone": "👵🏼", + "old_woman_medium_skin_tone": "👵🏽", + "older_adult": "🧓", + "older_adult_dark_skin_tone": "🧓🏿", + "older_adult_light_skin_tone": "🧓🏻", + "older_adult_medium-dark_skin_tone": "🧓🏾", + "older_adult_medium-light_skin_tone": "🧓🏼", + "older_adult_medium_skin_tone": "🧓🏽", + "om": "🕉", + "oncoming_automobile": "🚘", + "oncoming_bus": "🚍", + "oncoming_fist": "👊", + "oncoming_fist_dark_skin_tone": "👊🏿", + "oncoming_fist_light_skin_tone": "👊🏻", + "oncoming_fist_medium-dark_skin_tone": "👊🏾", + "oncoming_fist_medium-light_skin_tone": "👊🏼", + "oncoming_fist_medium_skin_tone": "👊🏽", + "oncoming_police_car": "🚔", + "oncoming_taxi": "🚖", + "one-piece_swimsuit": "🩱", + "one-thirty": "🕜", + "one_o’clock": "🕐", + "onion": "🧅", + "open_book": "📖", + "open_file_folder": "📂", + "open_hands": "👐", + "open_hands_dark_skin_tone": "👐🏿", + "open_hands_light_skin_tone": "👐🏻", + "open_hands_medium-dark_skin_tone": "👐🏾", + "open_hands_medium-light_skin_tone": "👐🏼", + "open_hands_medium_skin_tone": "👐🏽", + "open_mailbox_with_lowered_flag": "📭", + "open_mailbox_with_raised_flag": "📬", + "optical_disk": "💿", + "orange_book": "📙", + "orange_circle": "🟠", + "orange_heart": "🧡", + "orange_square": "🟧", + "orangutan": "🦧", + "orthodox_cross": "☦", + "otter": "🦦", + "outbox_tray": "📤", + "owl": "🦉", + "ox": "🐂", + "oyster": "🦪", + "package": "📦", + "page_facing_up": "📄", + "page_with_curl": "📃", + "pager": "📟", + "paintbrush": "🖌", + "palm_tree": "🌴", + "palms_up_together": "🤲", + "palms_up_together_dark_skin_tone": "🤲🏿", + "palms_up_together_light_skin_tone": "🤲🏻", + "palms_up_together_medium-dark_skin_tone": "🤲🏾", + "palms_up_together_medium-light_skin_tone": "🤲🏼", + "palms_up_together_medium_skin_tone": "🤲🏽", + "pancakes": "🥞", + "panda_face": "🐼", + "paperclip": "📎", + "parrot": "🦜", + "part_alternation_mark": "〽", + "party_popper": "🎉", + "partying_face": "🥳", + "passenger_ship": "🛳", + "passport_control": "🛂", + "pause_button": "⏸", + "paw_prints": "🐾", + "peace_symbol": "☮", + "peach": "🍑", + "peacock": "🦚", + "peanuts": "🥜", + "pear": "🍐", + "pen": "🖊", + "pencil": "📝", + "penguin": "🐧", + "pensive_face": "😔", + "people_holding_hands": "🧑\u200d🤝\u200d🧑", + "people_with_bunny_ears": "👯", + "people_wrestling": "🤼", + "performing_arts": "🎭", + "persevering_face": "😣", + "person_biking": "🚴", + "person_biking_dark_skin_tone": "🚴🏿", + "person_biking_light_skin_tone": "🚴🏻", + "person_biking_medium-dark_skin_tone": "🚴🏾", + "person_biking_medium-light_skin_tone": "🚴🏼", + "person_biking_medium_skin_tone": "🚴🏽", + "person_bouncing_ball": "⛹", + "person_bouncing_ball_dark_skin_tone": "⛹🏿", + "person_bouncing_ball_light_skin_tone": "⛹🏻", + "person_bouncing_ball_medium-dark_skin_tone": "⛹🏾", + "person_bouncing_ball_medium-light_skin_tone": "⛹🏼", + "person_bouncing_ball_medium_skin_tone": "⛹🏽", + "person_bowing": "🙇", + "person_bowing_dark_skin_tone": "🙇🏿", + "person_bowing_light_skin_tone": "🙇🏻", + "person_bowing_medium-dark_skin_tone": "🙇🏾", + "person_bowing_medium-light_skin_tone": "🙇🏼", + "person_bowing_medium_skin_tone": "🙇🏽", + "person_cartwheeling": "🤸", + "person_cartwheeling_dark_skin_tone": "🤸🏿", + "person_cartwheeling_light_skin_tone": "🤸🏻", + "person_cartwheeling_medium-dark_skin_tone": "🤸🏾", + "person_cartwheeling_medium-light_skin_tone": "🤸🏼", + "person_cartwheeling_medium_skin_tone": "🤸🏽", + "person_climbing": "🧗", + "person_climbing_dark_skin_tone": "🧗🏿", + "person_climbing_light_skin_tone": "🧗🏻", + "person_climbing_medium-dark_skin_tone": "🧗🏾", + "person_climbing_medium-light_skin_tone": "🧗🏼", + "person_climbing_medium_skin_tone": "🧗🏽", + "person_facepalming": "🤦", + "person_facepalming_dark_skin_tone": "🤦🏿", + "person_facepalming_light_skin_tone": "🤦🏻", + "person_facepalming_medium-dark_skin_tone": "🤦🏾", + "person_facepalming_medium-light_skin_tone": "🤦🏼", + "person_facepalming_medium_skin_tone": "🤦🏽", + "person_fencing": "🤺", + "person_frowning": "🙍", + "person_frowning_dark_skin_tone": "🙍🏿", + "person_frowning_light_skin_tone": "🙍🏻", + "person_frowning_medium-dark_skin_tone": "🙍🏾", + "person_frowning_medium-light_skin_tone": "🙍🏼", + "person_frowning_medium_skin_tone": "🙍🏽", + "person_gesturing_no": "🙅", + "person_gesturing_no_dark_skin_tone": "🙅🏿", + "person_gesturing_no_light_skin_tone": "🙅🏻", + "person_gesturing_no_medium-dark_skin_tone": "🙅🏾", + "person_gesturing_no_medium-light_skin_tone": "🙅🏼", + "person_gesturing_no_medium_skin_tone": "🙅🏽", + "person_gesturing_ok": "🙆", + "person_gesturing_ok_dark_skin_tone": "🙆🏿", + "person_gesturing_ok_light_skin_tone": "🙆🏻", + "person_gesturing_ok_medium-dark_skin_tone": "🙆🏾", + "person_gesturing_ok_medium-light_skin_tone": "🙆🏼", + "person_gesturing_ok_medium_skin_tone": "🙆🏽", + "person_getting_haircut": "💇", + "person_getting_haircut_dark_skin_tone": "💇🏿", + "person_getting_haircut_light_skin_tone": "💇🏻", + "person_getting_haircut_medium-dark_skin_tone": "💇🏾", + "person_getting_haircut_medium-light_skin_tone": "💇🏼", + "person_getting_haircut_medium_skin_tone": "💇🏽", + "person_getting_massage": "💆", + "person_getting_massage_dark_skin_tone": "💆🏿", + "person_getting_massage_light_skin_tone": "💆🏻", + "person_getting_massage_medium-dark_skin_tone": "💆🏾", + "person_getting_massage_medium-light_skin_tone": "💆🏼", + "person_getting_massage_medium_skin_tone": "💆🏽", + "person_golfing": "🏌", + "person_golfing_dark_skin_tone": "🏌🏿", + "person_golfing_light_skin_tone": "🏌🏻", + "person_golfing_medium-dark_skin_tone": "🏌🏾", + "person_golfing_medium-light_skin_tone": "🏌🏼", + "person_golfing_medium_skin_tone": "🏌🏽", + "person_in_bed": "🛌", + "person_in_bed_dark_skin_tone": "🛌🏿", + "person_in_bed_light_skin_tone": "🛌🏻", + "person_in_bed_medium-dark_skin_tone": "🛌🏾", + "person_in_bed_medium-light_skin_tone": "🛌🏼", + "person_in_bed_medium_skin_tone": "🛌🏽", + "person_in_lotus_position": "🧘", + "person_in_lotus_position_dark_skin_tone": "🧘🏿", + "person_in_lotus_position_light_skin_tone": "🧘🏻", + "person_in_lotus_position_medium-dark_skin_tone": "🧘🏾", + "person_in_lotus_position_medium-light_skin_tone": "🧘🏼", + "person_in_lotus_position_medium_skin_tone": "🧘🏽", + "person_in_steamy_room": "🧖", + "person_in_steamy_room_dark_skin_tone": "🧖🏿", + "person_in_steamy_room_light_skin_tone": "🧖🏻", + "person_in_steamy_room_medium-dark_skin_tone": "🧖🏾", + "person_in_steamy_room_medium-light_skin_tone": "🧖🏼", + "person_in_steamy_room_medium_skin_tone": "🧖🏽", + "person_juggling": "🤹", + "person_juggling_dark_skin_tone": "🤹🏿", + "person_juggling_light_skin_tone": "🤹🏻", + "person_juggling_medium-dark_skin_tone": "🤹🏾", + "person_juggling_medium-light_skin_tone": "🤹🏼", + "person_juggling_medium_skin_tone": "🤹🏽", + "person_kneeling": "🧎", + "person_lifting_weights": "🏋", + "person_lifting_weights_dark_skin_tone": "🏋🏿", + "person_lifting_weights_light_skin_tone": "🏋🏻", + "person_lifting_weights_medium-dark_skin_tone": "🏋🏾", + "person_lifting_weights_medium-light_skin_tone": "🏋🏼", + "person_lifting_weights_medium_skin_tone": "🏋🏽", + "person_mountain_biking": "🚵", + "person_mountain_biking_dark_skin_tone": "🚵🏿", + "person_mountain_biking_light_skin_tone": "🚵🏻", + "person_mountain_biking_medium-dark_skin_tone": "🚵🏾", + "person_mountain_biking_medium-light_skin_tone": "🚵🏼", + "person_mountain_biking_medium_skin_tone": "🚵🏽", + "person_playing_handball": "🤾", + "person_playing_handball_dark_skin_tone": "🤾🏿", + "person_playing_handball_light_skin_tone": "🤾🏻", + "person_playing_handball_medium-dark_skin_tone": "🤾🏾", + "person_playing_handball_medium-light_skin_tone": "🤾🏼", + "person_playing_handball_medium_skin_tone": "🤾🏽", + "person_playing_water_polo": "🤽", + "person_playing_water_polo_dark_skin_tone": "🤽🏿", + "person_playing_water_polo_light_skin_tone": "🤽🏻", + "person_playing_water_polo_medium-dark_skin_tone": "🤽🏾", + "person_playing_water_polo_medium-light_skin_tone": "🤽🏼", + "person_playing_water_polo_medium_skin_tone": "🤽🏽", + "person_pouting": "🙎", + "person_pouting_dark_skin_tone": "🙎🏿", + "person_pouting_light_skin_tone": "🙎🏻", + "person_pouting_medium-dark_skin_tone": "🙎🏾", + "person_pouting_medium-light_skin_tone": "🙎🏼", + "person_pouting_medium_skin_tone": "🙎🏽", + "person_raising_hand": "🙋", + "person_raising_hand_dark_skin_tone": "🙋🏿", + "person_raising_hand_light_skin_tone": "🙋🏻", + "person_raising_hand_medium-dark_skin_tone": "🙋🏾", + "person_raising_hand_medium-light_skin_tone": "🙋🏼", + "person_raising_hand_medium_skin_tone": "🙋🏽", + "person_rowing_boat": "🚣", + "person_rowing_boat_dark_skin_tone": "🚣🏿", + "person_rowing_boat_light_skin_tone": "🚣🏻", + "person_rowing_boat_medium-dark_skin_tone": "🚣🏾", + "person_rowing_boat_medium-light_skin_tone": "🚣🏼", + "person_rowing_boat_medium_skin_tone": "🚣🏽", + "person_running": "🏃", + "person_running_dark_skin_tone": "🏃🏿", + "person_running_light_skin_tone": "🏃🏻", + "person_running_medium-dark_skin_tone": "🏃🏾", + "person_running_medium-light_skin_tone": "🏃🏼", + "person_running_medium_skin_tone": "🏃🏽", + "person_shrugging": "🤷", + "person_shrugging_dark_skin_tone": "🤷🏿", + "person_shrugging_light_skin_tone": "🤷🏻", + "person_shrugging_medium-dark_skin_tone": "🤷🏾", + "person_shrugging_medium-light_skin_tone": "🤷🏼", + "person_shrugging_medium_skin_tone": "🤷🏽", + "person_standing": "🧍", + "person_surfing": "🏄", + "person_surfing_dark_skin_tone": "🏄🏿", + "person_surfing_light_skin_tone": "🏄🏻", + "person_surfing_medium-dark_skin_tone": "🏄🏾", + "person_surfing_medium-light_skin_tone": "🏄🏼", + "person_surfing_medium_skin_tone": "🏄🏽", + "person_swimming": "🏊", + "person_swimming_dark_skin_tone": "🏊🏿", + "person_swimming_light_skin_tone": "🏊🏻", + "person_swimming_medium-dark_skin_tone": "🏊🏾", + "person_swimming_medium-light_skin_tone": "🏊🏼", + "person_swimming_medium_skin_tone": "🏊🏽", + "person_taking_bath": "🛀", + "person_taking_bath_dark_skin_tone": "🛀🏿", + "person_taking_bath_light_skin_tone": "🛀🏻", + "person_taking_bath_medium-dark_skin_tone": "🛀🏾", + "person_taking_bath_medium-light_skin_tone": "🛀🏼", + "person_taking_bath_medium_skin_tone": "🛀🏽", + "person_tipping_hand": "💁", + "person_tipping_hand_dark_skin_tone": "💁🏿", + "person_tipping_hand_light_skin_tone": "💁🏻", + "person_tipping_hand_medium-dark_skin_tone": "💁🏾", + "person_tipping_hand_medium-light_skin_tone": "💁🏼", + "person_tipping_hand_medium_skin_tone": "💁🏽", + "person_walking": "🚶", + "person_walking_dark_skin_tone": "🚶🏿", + "person_walking_light_skin_tone": "🚶🏻", + "person_walking_medium-dark_skin_tone": "🚶🏾", + "person_walking_medium-light_skin_tone": "🚶🏼", + "person_walking_medium_skin_tone": "🚶🏽", + "person_wearing_turban": "👳", + "person_wearing_turban_dark_skin_tone": "👳🏿", + "person_wearing_turban_light_skin_tone": "👳🏻", + "person_wearing_turban_medium-dark_skin_tone": "👳🏾", + "person_wearing_turban_medium-light_skin_tone": "👳🏼", + "person_wearing_turban_medium_skin_tone": "👳🏽", + "petri_dish": "🧫", + "pick": "⛏", + "pie": "🥧", + "pig": "🐷", + "pig_face": "🐷", + "pig_nose": "🐽", + "pile_of_poo": "💩", + "pill": "💊", + "pinching_hand": "🤏", + "pine_decoration": "🎍", + "pineapple": "🍍", + "ping_pong": "🏓", + "pirate_flag": "🏴\u200d☠️", + "pistol": "🔫", + "pizza": "🍕", + "place_of_worship": "🛐", + "play_button": "▶", + "play_or_pause_button": "⏯", + "pleading_face": "🥺", + "police_car": "🚓", + "police_car_light": "🚨", + "police_officer": "👮", + "police_officer_dark_skin_tone": "👮🏿", + "police_officer_light_skin_tone": "👮🏻", + "police_officer_medium-dark_skin_tone": "👮🏾", + "police_officer_medium-light_skin_tone": "👮🏼", + "police_officer_medium_skin_tone": "👮🏽", + "poodle": "🐩", + "pool_8_ball": "🎱", + "popcorn": "🍿", + "post_office": "🏣", + "postal_horn": "📯", + "postbox": "📮", + "pot_of_food": "🍲", + "potable_water": "🚰", + "potato": "🥔", + "poultry_leg": "🍗", + "pound_banknote": "💷", + "pouting_cat_face": "😾", + "pouting_face": "😡", + "prayer_beads": "📿", + "pregnant_woman": "🤰", + "pregnant_woman_dark_skin_tone": "🤰🏿", + "pregnant_woman_light_skin_tone": "🤰🏻", + "pregnant_woman_medium-dark_skin_tone": "🤰🏾", + "pregnant_woman_medium-light_skin_tone": "🤰🏼", + "pregnant_woman_medium_skin_tone": "🤰🏽", + "pretzel": "🥨", + "probing_cane": "🦯", + "prince": "🤴", + "prince_dark_skin_tone": "🤴🏿", + "prince_light_skin_tone": "🤴🏻", + "prince_medium-dark_skin_tone": "🤴🏾", + "prince_medium-light_skin_tone": "🤴🏼", + "prince_medium_skin_tone": "🤴🏽", + "princess": "👸", + "princess_dark_skin_tone": "👸🏿", + "princess_light_skin_tone": "👸🏻", + "princess_medium-dark_skin_tone": "👸🏾", + "princess_medium-light_skin_tone": "👸🏼", + "princess_medium_skin_tone": "👸🏽", + "printer": "🖨", + "prohibited": "🚫", + "purple_circle": "🟣", + "purple_heart": "💜", + "purple_square": "🟪", + "purse": "👛", + "pushpin": "📌", + "question_mark": "❓", + "rabbit": "🐰", + "rabbit_face": "🐰", + "raccoon": "🦝", + "racing_car": "🏎", + "radio": "📻", + "radio_button": "🔘", + "radioactive": "☢", + "railway_car": "🚃", + "railway_track": "🛤", + "rainbow": "🌈", + "rainbow_flag": "🏳️\u200d🌈", + "raised_back_of_hand": "🤚", + "raised_back_of_hand_dark_skin_tone": "🤚🏿", + "raised_back_of_hand_light_skin_tone": "🤚🏻", + "raised_back_of_hand_medium-dark_skin_tone": "🤚🏾", + "raised_back_of_hand_medium-light_skin_tone": "🤚🏼", + "raised_back_of_hand_medium_skin_tone": "🤚🏽", + "raised_fist": "✊", + "raised_fist_dark_skin_tone": "✊🏿", + "raised_fist_light_skin_tone": "✊🏻", + "raised_fist_medium-dark_skin_tone": "✊🏾", + "raised_fist_medium-light_skin_tone": "✊🏼", + "raised_fist_medium_skin_tone": "✊🏽", + "raised_hand": "✋", + "raised_hand_dark_skin_tone": "✋🏿", + "raised_hand_light_skin_tone": "✋🏻", + "raised_hand_medium-dark_skin_tone": "✋🏾", + "raised_hand_medium-light_skin_tone": "✋🏼", + "raised_hand_medium_skin_tone": "✋🏽", + "raising_hands": "🙌", + "raising_hands_dark_skin_tone": "🙌🏿", + "raising_hands_light_skin_tone": "🙌🏻", + "raising_hands_medium-dark_skin_tone": "🙌🏾", + "raising_hands_medium-light_skin_tone": "🙌🏼", + "raising_hands_medium_skin_tone": "🙌🏽", + "ram": "🐏", + "rat": "🐀", + "razor": "🪒", + "ringed_planet": "🪐", + "receipt": "🧾", + "record_button": "⏺", + "recycling_symbol": "♻", + "red_apple": "🍎", + "red_circle": "🔴", + "red_envelope": "🧧", + "red_hair": "🦰", + "red-haired_man": "👨\u200d🦰", + "red-haired_woman": "👩\u200d🦰", + "red_heart": "❤", + "red_paper_lantern": "🏮", + "red_square": "🟥", + "red_triangle_pointed_down": "🔻", + "red_triangle_pointed_up": "🔺", + "registered": "®", + "relieved_face": "😌", + "reminder_ribbon": "🎗", + "repeat_button": "🔁", + "repeat_single_button": "🔂", + "rescue_worker’s_helmet": "⛑", + "restroom": "🚻", + "reverse_button": "◀", + "revolving_hearts": "💞", + "rhinoceros": "🦏", + "ribbon": "🎀", + "rice_ball": "🍙", + "rice_cracker": "🍘", + "right-facing_fist": "🤜", + "right-facing_fist_dark_skin_tone": "🤜🏿", + "right-facing_fist_light_skin_tone": "🤜🏻", + "right-facing_fist_medium-dark_skin_tone": "🤜🏾", + "right-facing_fist_medium-light_skin_tone": "🤜🏼", + "right-facing_fist_medium_skin_tone": "🤜🏽", + "right_anger_bubble": "🗯", + "right_arrow": "➡", + "right_arrow_curving_down": "⤵", + "right_arrow_curving_left": "↩", + "right_arrow_curving_up": "⤴", + "ring": "💍", + "roasted_sweet_potato": "🍠", + "robot_face": "🤖", + "rocket": "🚀", + "roll_of_paper": "🧻", + "rolled-up_newspaper": "🗞", + "roller_coaster": "🎢", + "rolling_on_the_floor_laughing": "🤣", + "rooster": "🐓", + "rose": "🌹", + "rosette": "🏵", + "round_pushpin": "📍", + "rugby_football": "🏉", + "running_shirt": "🎽", + "running_shoe": "👟", + "sad_but_relieved_face": "😥", + "safety_pin": "🧷", + "safety_vest": "🦺", + "salt": "🧂", + "sailboat": "⛵", + "sake": "🍶", + "sandwich": "🥪", + "sari": "🥻", + "satellite": "📡", + "satellite_antenna": "📡", + "sauropod": "🦕", + "saxophone": "🎷", + "scarf": "🧣", + "school": "🏫", + "school_backpack": "🎒", + "scissors": "✂", + "scorpion": "🦂", + "scroll": "📜", + "seat": "💺", + "see-no-evil_monkey": "🙈", + "seedling": "🌱", + "selfie": "🤳", + "selfie_dark_skin_tone": "🤳🏿", + "selfie_light_skin_tone": "🤳🏻", + "selfie_medium-dark_skin_tone": "🤳🏾", + "selfie_medium-light_skin_tone": "🤳🏼", + "selfie_medium_skin_tone": "🤳🏽", + "service_dog": "🐕\u200d🦺", + "seven-thirty": "🕢", + "seven_o’clock": "🕖", + "shallow_pan_of_food": "🥘", + "shamrock": "☘", + "shark": "🦈", + "shaved_ice": "🍧", + "sheaf_of_rice": "🌾", + "shield": "🛡", + "shinto_shrine": "⛩", + "ship": "🚢", + "shooting_star": "🌠", + "shopping_bags": "🛍", + "shopping_cart": "🛒", + "shortcake": "🍰", + "shorts": "🩳", + "shower": "🚿", + "shrimp": "🦐", + "shuffle_tracks_button": "🔀", + "shushing_face": "🤫", + "sign_of_the_horns": "🤘", + "sign_of_the_horns_dark_skin_tone": "🤘🏿", + "sign_of_the_horns_light_skin_tone": "🤘🏻", + "sign_of_the_horns_medium-dark_skin_tone": "🤘🏾", + "sign_of_the_horns_medium-light_skin_tone": "🤘🏼", + "sign_of_the_horns_medium_skin_tone": "🤘🏽", + "six-thirty": "🕡", + "six_o’clock": "🕕", + "skateboard": "🛹", + "skier": "⛷", + "skis": "🎿", + "skull": "💀", + "skull_and_crossbones": "☠", + "skunk": "🦨", + "sled": "🛷", + "sleeping_face": "😴", + "sleepy_face": "😪", + "slightly_frowning_face": "🙁", + "slightly_smiling_face": "🙂", + "slot_machine": "🎰", + "sloth": "🦥", + "small_airplane": "🛩", + "small_blue_diamond": "🔹", + "small_orange_diamond": "🔸", + "smiling_cat_face_with_heart-eyes": "😻", + "smiling_face": "☺", + "smiling_face_with_halo": "😇", + "smiling_face_with_3_hearts": "🥰", + "smiling_face_with_heart-eyes": "😍", + "smiling_face_with_horns": "😈", + "smiling_face_with_smiling_eyes": "😊", + "smiling_face_with_sunglasses": "😎", + "smirking_face": "😏", + "snail": "🐌", + "snake": "🐍", + "sneezing_face": "🤧", + "snow-capped_mountain": "🏔", + "snowboarder": "🏂", + "snowboarder_dark_skin_tone": "🏂🏿", + "snowboarder_light_skin_tone": "🏂🏻", + "snowboarder_medium-dark_skin_tone": "🏂🏾", + "snowboarder_medium-light_skin_tone": "🏂🏼", + "snowboarder_medium_skin_tone": "🏂🏽", + "snowflake": "❄", + "snowman": "☃", + "snowman_without_snow": "⛄", + "soap": "🧼", + "soccer_ball": "⚽", + "socks": "🧦", + "softball": "🥎", + "soft_ice_cream": "🍦", + "spade_suit": "♠", + "spaghetti": "🍝", + "sparkle": "❇", + "sparkler": "🎇", + "sparkles": "✨", + "sparkling_heart": "💖", + "speak-no-evil_monkey": "🙊", + "speaker_high_volume": "🔊", + "speaker_low_volume": "🔈", + "speaker_medium_volume": "🔉", + "speaking_head": "🗣", + "speech_balloon": "💬", + "speedboat": "🚤", + "spider": "🕷", + "spider_web": "🕸", + "spiral_calendar": "🗓", + "spiral_notepad": "🗒", + "spiral_shell": "🐚", + "spoon": "🥄", + "sponge": "🧽", + "sport_utility_vehicle": "🚙", + "sports_medal": "🏅", + "spouting_whale": "🐳", + "squid": "🦑", + "squinting_face_with_tongue": "😝", + "stadium": "🏟", + "star-struck": "🤩", + "star_and_crescent": "☪", + "star_of_david": "✡", + "station": "🚉", + "steaming_bowl": "🍜", + "stethoscope": "🩺", + "stop_button": "⏹", + "stop_sign": "🛑", + "stopwatch": "⏱", + "straight_ruler": "📏", + "strawberry": "🍓", + "studio_microphone": "🎙", + "stuffed_flatbread": "🥙", + "sun": "☀", + "sun_behind_cloud": "⛅", + "sun_behind_large_cloud": "🌥", + "sun_behind_rain_cloud": "🌦", + "sun_behind_small_cloud": "🌤", + "sun_with_face": "🌞", + "sunflower": "🌻", + "sunglasses": "😎", + "sunrise": "🌅", + "sunrise_over_mountains": "🌄", + "sunset": "🌇", + "superhero": "🦸", + "supervillain": "🦹", + "sushi": "🍣", + "suspension_railway": "🚟", + "swan": "🦢", + "sweat_droplets": "💦", + "synagogue": "🕍", + "syringe": "💉", + "t-shirt": "👕", + "taco": "🌮", + "takeout_box": "🥡", + "tanabata_tree": "🎋", + "tangerine": "🍊", + "taxi": "🚕", + "teacup_without_handle": "🍵", + "tear-off_calendar": "📆", + "teddy_bear": "🧸", + "telephone": "☎", + "telephone_receiver": "📞", + "telescope": "🔭", + "television": "📺", + "ten-thirty": "🕥", + "ten_o’clock": "🕙", + "tennis": "🎾", + "tent": "⛺", + "test_tube": "🧪", + "thermometer": "🌡", + "thinking_face": "🤔", + "thought_balloon": "💭", + "thread": "🧵", + "three-thirty": "🕞", + "three_o’clock": "🕒", + "thumbs_down": "👎", + "thumbs_down_dark_skin_tone": "👎🏿", + "thumbs_down_light_skin_tone": "👎🏻", + "thumbs_down_medium-dark_skin_tone": "👎🏾", + "thumbs_down_medium-light_skin_tone": "👎🏼", + "thumbs_down_medium_skin_tone": "👎🏽", + "thumbs_up": "👍", + "thumbs_up_dark_skin_tone": "👍🏿", + "thumbs_up_light_skin_tone": "👍🏻", + "thumbs_up_medium-dark_skin_tone": "👍🏾", + "thumbs_up_medium-light_skin_tone": "👍🏼", + "thumbs_up_medium_skin_tone": "👍🏽", + "ticket": "🎫", + "tiger": "🐯", + "tiger_face": "🐯", + "timer_clock": "⏲", + "tired_face": "😫", + "toolbox": "🧰", + "toilet": "🚽", + "tomato": "🍅", + "tongue": "👅", + "tooth": "🦷", + "top_hat": "🎩", + "tornado": "🌪", + "trackball": "🖲", + "tractor": "🚜", + "trade_mark": "™", + "train": "🚋", + "tram": "🚊", + "tram_car": "🚋", + "triangular_flag": "🚩", + "triangular_ruler": "📐", + "trident_emblem": "🔱", + "trolleybus": "🚎", + "trophy": "🏆", + "tropical_drink": "🍹", + "tropical_fish": "🐠", + "trumpet": "🎺", + "tulip": "🌷", + "tumbler_glass": "🥃", + "turtle": "🐢", + "twelve-thirty": "🕧", + "twelve_o’clock": "🕛", + "two-hump_camel": "🐫", + "two-thirty": "🕝", + "two_hearts": "💕", + "two_men_holding_hands": "👬", + "two_o’clock": "🕑", + "two_women_holding_hands": "👭", + "umbrella": "☂", + "umbrella_on_ground": "⛱", + "umbrella_with_rain_drops": "☔", + "unamused_face": "😒", + "unicorn_face": "🦄", + "unlocked": "🔓", + "up-down_arrow": "↕", + "up-left_arrow": "↖", + "up-right_arrow": "↗", + "up_arrow": "⬆", + "upside-down_face": "🙃", + "upwards_button": "🔼", + "vampire": "🧛", + "vampire_dark_skin_tone": "🧛🏿", + "vampire_light_skin_tone": "🧛🏻", + "vampire_medium-dark_skin_tone": "🧛🏾", + "vampire_medium-light_skin_tone": "🧛🏼", + "vampire_medium_skin_tone": "🧛🏽", + "vertical_traffic_light": "🚦", + "vibration_mode": "📳", + "victory_hand": "✌", + "victory_hand_dark_skin_tone": "✌🏿", + "victory_hand_light_skin_tone": "✌🏻", + "victory_hand_medium-dark_skin_tone": "✌🏾", + "victory_hand_medium-light_skin_tone": "✌🏼", + "victory_hand_medium_skin_tone": "✌🏽", + "video_camera": "📹", + "video_game": "🎮", + "videocassette": "📼", + "violin": "🎻", + "volcano": "🌋", + "volleyball": "🏐", + "vulcan_salute": "🖖", + "vulcan_salute_dark_skin_tone": "🖖🏿", + "vulcan_salute_light_skin_tone": "🖖🏻", + "vulcan_salute_medium-dark_skin_tone": "🖖🏾", + "vulcan_salute_medium-light_skin_tone": "🖖🏼", + "vulcan_salute_medium_skin_tone": "🖖🏽", + "waffle": "🧇", + "waning_crescent_moon": "🌘", + "waning_gibbous_moon": "🌖", + "warning": "⚠", + "wastebasket": "🗑", + "watch": "⌚", + "water_buffalo": "🐃", + "water_closet": "🚾", + "water_wave": "🌊", + "watermelon": "🍉", + "waving_hand": "👋", + "waving_hand_dark_skin_tone": "👋🏿", + "waving_hand_light_skin_tone": "👋🏻", + "waving_hand_medium-dark_skin_tone": "👋🏾", + "waving_hand_medium-light_skin_tone": "👋🏼", + "waving_hand_medium_skin_tone": "👋🏽", + "wavy_dash": "〰", + "waxing_crescent_moon": "🌒", + "waxing_gibbous_moon": "🌔", + "weary_cat_face": "🙀", + "weary_face": "😩", + "wedding": "💒", + "whale": "🐳", + "wheel_of_dharma": "☸", + "wheelchair_symbol": "♿", + "white_circle": "⚪", + "white_exclamation_mark": "❕", + "white_flag": "🏳", + "white_flower": "💮", + "white_hair": "🦳", + "white-haired_man": "👨\u200d🦳", + "white-haired_woman": "👩\u200d🦳", + "white_heart": "🤍", + "white_heavy_check_mark": "✅", + "white_large_square": "⬜", + "white_medium-small_square": "◽", + "white_medium_square": "◻", + "white_medium_star": "⭐", + "white_question_mark": "❔", + "white_small_square": "▫", + "white_square_button": "🔳", + "wilted_flower": "🥀", + "wind_chime": "🎐", + "wind_face": "🌬", + "wine_glass": "🍷", + "winking_face": "😉", + "winking_face_with_tongue": "😜", + "wolf_face": "🐺", + "woman": "👩", + "woman_artist": "👩\u200d🎨", + "woman_artist_dark_skin_tone": "👩🏿\u200d🎨", + "woman_artist_light_skin_tone": "👩🏻\u200d🎨", + "woman_artist_medium-dark_skin_tone": "👩🏾\u200d🎨", + "woman_artist_medium-light_skin_tone": "👩🏼\u200d🎨", + "woman_artist_medium_skin_tone": "👩🏽\u200d🎨", + "woman_astronaut": "👩\u200d🚀", + "woman_astronaut_dark_skin_tone": "👩🏿\u200d🚀", + "woman_astronaut_light_skin_tone": "👩🏻\u200d🚀", + "woman_astronaut_medium-dark_skin_tone": "👩🏾\u200d🚀", + "woman_astronaut_medium-light_skin_tone": "👩🏼\u200d🚀", + "woman_astronaut_medium_skin_tone": "👩🏽\u200d🚀", + "woman_biking": "🚴\u200d♀️", + "woman_biking_dark_skin_tone": "🚴🏿\u200d♀️", + "woman_biking_light_skin_tone": "🚴🏻\u200d♀️", + "woman_biking_medium-dark_skin_tone": "🚴🏾\u200d♀️", + "woman_biking_medium-light_skin_tone": "🚴🏼\u200d♀️", + "woman_biking_medium_skin_tone": "🚴🏽\u200d♀️", + "woman_bouncing_ball": "⛹️\u200d♀️", + "woman_bouncing_ball_dark_skin_tone": "⛹🏿\u200d♀️", + "woman_bouncing_ball_light_skin_tone": "⛹🏻\u200d♀️", + "woman_bouncing_ball_medium-dark_skin_tone": "⛹🏾\u200d♀️", + "woman_bouncing_ball_medium-light_skin_tone": "⛹🏼\u200d♀️", + "woman_bouncing_ball_medium_skin_tone": "⛹🏽\u200d♀️", + "woman_bowing": "🙇\u200d♀️", + "woman_bowing_dark_skin_tone": "🙇🏿\u200d♀️", + "woman_bowing_light_skin_tone": "🙇🏻\u200d♀️", + "woman_bowing_medium-dark_skin_tone": "🙇🏾\u200d♀️", + "woman_bowing_medium-light_skin_tone": "🙇🏼\u200d♀️", + "woman_bowing_medium_skin_tone": "🙇🏽\u200d♀️", + "woman_cartwheeling": "🤸\u200d♀️", + "woman_cartwheeling_dark_skin_tone": "🤸🏿\u200d♀️", + "woman_cartwheeling_light_skin_tone": "🤸🏻\u200d♀️", + "woman_cartwheeling_medium-dark_skin_tone": "🤸🏾\u200d♀️", + "woman_cartwheeling_medium-light_skin_tone": "🤸🏼\u200d♀️", + "woman_cartwheeling_medium_skin_tone": "🤸🏽\u200d♀️", + "woman_climbing": "🧗\u200d♀️", + "woman_climbing_dark_skin_tone": "🧗🏿\u200d♀️", + "woman_climbing_light_skin_tone": "🧗🏻\u200d♀️", + "woman_climbing_medium-dark_skin_tone": "🧗🏾\u200d♀️", + "woman_climbing_medium-light_skin_tone": "🧗🏼\u200d♀️", + "woman_climbing_medium_skin_tone": "🧗🏽\u200d♀️", + "woman_construction_worker": "👷\u200d♀️", + "woman_construction_worker_dark_skin_tone": "👷🏿\u200d♀️", + "woman_construction_worker_light_skin_tone": "👷🏻\u200d♀️", + "woman_construction_worker_medium-dark_skin_tone": "👷🏾\u200d♀️", + "woman_construction_worker_medium-light_skin_tone": "👷🏼\u200d♀️", + "woman_construction_worker_medium_skin_tone": "👷🏽\u200d♀️", + "woman_cook": "👩\u200d🍳", + "woman_cook_dark_skin_tone": "👩🏿\u200d🍳", + "woman_cook_light_skin_tone": "👩🏻\u200d🍳", + "woman_cook_medium-dark_skin_tone": "👩🏾\u200d🍳", + "woman_cook_medium-light_skin_tone": "👩🏼\u200d🍳", + "woman_cook_medium_skin_tone": "👩🏽\u200d🍳", + "woman_dancing": "💃", + "woman_dancing_dark_skin_tone": "💃🏿", + "woman_dancing_light_skin_tone": "💃🏻", + "woman_dancing_medium-dark_skin_tone": "💃🏾", + "woman_dancing_medium-light_skin_tone": "💃🏼", + "woman_dancing_medium_skin_tone": "💃🏽", + "woman_dark_skin_tone": "👩🏿", + "woman_detective": "🕵️\u200d♀️", + "woman_detective_dark_skin_tone": "🕵🏿\u200d♀️", + "woman_detective_light_skin_tone": "🕵🏻\u200d♀️", + "woman_detective_medium-dark_skin_tone": "🕵🏾\u200d♀️", + "woman_detective_medium-light_skin_tone": "🕵🏼\u200d♀️", + "woman_detective_medium_skin_tone": "🕵🏽\u200d♀️", + "woman_elf": "🧝\u200d♀️", + "woman_elf_dark_skin_tone": "🧝🏿\u200d♀️", + "woman_elf_light_skin_tone": "🧝🏻\u200d♀️", + "woman_elf_medium-dark_skin_tone": "🧝🏾\u200d♀️", + "woman_elf_medium-light_skin_tone": "🧝🏼\u200d♀️", + "woman_elf_medium_skin_tone": "🧝🏽\u200d♀️", + "woman_facepalming": "🤦\u200d♀️", + "woman_facepalming_dark_skin_tone": "🤦🏿\u200d♀️", + "woman_facepalming_light_skin_tone": "🤦🏻\u200d♀️", + "woman_facepalming_medium-dark_skin_tone": "🤦🏾\u200d♀️", + "woman_facepalming_medium-light_skin_tone": "🤦🏼\u200d♀️", + "woman_facepalming_medium_skin_tone": "🤦🏽\u200d♀️", + "woman_factory_worker": "👩\u200d🏭", + "woman_factory_worker_dark_skin_tone": "👩🏿\u200d🏭", + "woman_factory_worker_light_skin_tone": "👩🏻\u200d🏭", + "woman_factory_worker_medium-dark_skin_tone": "👩🏾\u200d🏭", + "woman_factory_worker_medium-light_skin_tone": "👩🏼\u200d🏭", + "woman_factory_worker_medium_skin_tone": "👩🏽\u200d🏭", + "woman_fairy": "🧚\u200d♀️", + "woman_fairy_dark_skin_tone": "🧚🏿\u200d♀️", + "woman_fairy_light_skin_tone": "🧚🏻\u200d♀️", + "woman_fairy_medium-dark_skin_tone": "🧚🏾\u200d♀️", + "woman_fairy_medium-light_skin_tone": "🧚🏼\u200d♀️", + "woman_fairy_medium_skin_tone": "🧚🏽\u200d♀️", + "woman_farmer": "👩\u200d🌾", + "woman_farmer_dark_skin_tone": "👩🏿\u200d🌾", + "woman_farmer_light_skin_tone": "👩🏻\u200d🌾", + "woman_farmer_medium-dark_skin_tone": "👩🏾\u200d🌾", + "woman_farmer_medium-light_skin_tone": "👩🏼\u200d🌾", + "woman_farmer_medium_skin_tone": "👩🏽\u200d🌾", + "woman_firefighter": "👩\u200d🚒", + "woman_firefighter_dark_skin_tone": "👩🏿\u200d🚒", + "woman_firefighter_light_skin_tone": "👩🏻\u200d🚒", + "woman_firefighter_medium-dark_skin_tone": "👩🏾\u200d🚒", + "woman_firefighter_medium-light_skin_tone": "👩🏼\u200d🚒", + "woman_firefighter_medium_skin_tone": "👩🏽\u200d🚒", + "woman_frowning": "🙍\u200d♀️", + "woman_frowning_dark_skin_tone": "🙍🏿\u200d♀️", + "woman_frowning_light_skin_tone": "🙍🏻\u200d♀️", + "woman_frowning_medium-dark_skin_tone": "🙍🏾\u200d♀️", + "woman_frowning_medium-light_skin_tone": "🙍🏼\u200d♀️", + "woman_frowning_medium_skin_tone": "🙍🏽\u200d♀️", + "woman_genie": "🧞\u200d♀️", + "woman_gesturing_no": "🙅\u200d♀️", + "woman_gesturing_no_dark_skin_tone": "🙅🏿\u200d♀️", + "woman_gesturing_no_light_skin_tone": "🙅🏻\u200d♀️", + "woman_gesturing_no_medium-dark_skin_tone": "🙅🏾\u200d♀️", + "woman_gesturing_no_medium-light_skin_tone": "🙅🏼\u200d♀️", + "woman_gesturing_no_medium_skin_tone": "🙅🏽\u200d♀️", + "woman_gesturing_ok": "🙆\u200d♀️", + "woman_gesturing_ok_dark_skin_tone": "🙆🏿\u200d♀️", + "woman_gesturing_ok_light_skin_tone": "🙆🏻\u200d♀️", + "woman_gesturing_ok_medium-dark_skin_tone": "🙆🏾\u200d♀️", + "woman_gesturing_ok_medium-light_skin_tone": "🙆🏼\u200d♀️", + "woman_gesturing_ok_medium_skin_tone": "🙆🏽\u200d♀️", + "woman_getting_haircut": "💇\u200d♀️", + "woman_getting_haircut_dark_skin_tone": "💇🏿\u200d♀️", + "woman_getting_haircut_light_skin_tone": "💇🏻\u200d♀️", + "woman_getting_haircut_medium-dark_skin_tone": "💇🏾\u200d♀️", + "woman_getting_haircut_medium-light_skin_tone": "💇🏼\u200d♀️", + "woman_getting_haircut_medium_skin_tone": "💇🏽\u200d♀️", + "woman_getting_massage": "💆\u200d♀️", + "woman_getting_massage_dark_skin_tone": "💆🏿\u200d♀️", + "woman_getting_massage_light_skin_tone": "💆🏻\u200d♀️", + "woman_getting_massage_medium-dark_skin_tone": "💆🏾\u200d♀️", + "woman_getting_massage_medium-light_skin_tone": "💆🏼\u200d♀️", + "woman_getting_massage_medium_skin_tone": "💆🏽\u200d♀️", + "woman_golfing": "🏌️\u200d♀️", + "woman_golfing_dark_skin_tone": "🏌🏿\u200d♀️", + "woman_golfing_light_skin_tone": "🏌🏻\u200d♀️", + "woman_golfing_medium-dark_skin_tone": "🏌🏾\u200d♀️", + "woman_golfing_medium-light_skin_tone": "🏌🏼\u200d♀️", + "woman_golfing_medium_skin_tone": "🏌🏽\u200d♀️", + "woman_guard": "💂\u200d♀️", + "woman_guard_dark_skin_tone": "💂🏿\u200d♀️", + "woman_guard_light_skin_tone": "💂🏻\u200d♀️", + "woman_guard_medium-dark_skin_tone": "💂🏾\u200d♀️", + "woman_guard_medium-light_skin_tone": "💂🏼\u200d♀️", + "woman_guard_medium_skin_tone": "💂🏽\u200d♀️", + "woman_health_worker": "👩\u200d⚕️", + "woman_health_worker_dark_skin_tone": "👩🏿\u200d⚕️", + "woman_health_worker_light_skin_tone": "👩🏻\u200d⚕️", + "woman_health_worker_medium-dark_skin_tone": "👩🏾\u200d⚕️", + "woman_health_worker_medium-light_skin_tone": "👩🏼\u200d⚕️", + "woman_health_worker_medium_skin_tone": "👩🏽\u200d⚕️", + "woman_in_lotus_position": "🧘\u200d♀️", + "woman_in_lotus_position_dark_skin_tone": "🧘🏿\u200d♀️", + "woman_in_lotus_position_light_skin_tone": "🧘🏻\u200d♀️", + "woman_in_lotus_position_medium-dark_skin_tone": "🧘🏾\u200d♀️", + "woman_in_lotus_position_medium-light_skin_tone": "🧘🏼\u200d♀️", + "woman_in_lotus_position_medium_skin_tone": "🧘🏽\u200d♀️", + "woman_in_manual_wheelchair": "👩\u200d🦽", + "woman_in_motorized_wheelchair": "👩\u200d🦼", + "woman_in_steamy_room": "🧖\u200d♀️", + "woman_in_steamy_room_dark_skin_tone": "🧖🏿\u200d♀️", + "woman_in_steamy_room_light_skin_tone": "🧖🏻\u200d♀️", + "woman_in_steamy_room_medium-dark_skin_tone": "🧖🏾\u200d♀️", + "woman_in_steamy_room_medium-light_skin_tone": "🧖🏼\u200d♀️", + "woman_in_steamy_room_medium_skin_tone": "🧖🏽\u200d♀️", + "woman_judge": "👩\u200d⚖️", + "woman_judge_dark_skin_tone": "👩🏿\u200d⚖️", + "woman_judge_light_skin_tone": "👩🏻\u200d⚖️", + "woman_judge_medium-dark_skin_tone": "👩🏾\u200d⚖️", + "woman_judge_medium-light_skin_tone": "👩🏼\u200d⚖️", + "woman_judge_medium_skin_tone": "👩🏽\u200d⚖️", + "woman_juggling": "🤹\u200d♀️", + "woman_juggling_dark_skin_tone": "🤹🏿\u200d♀️", + "woman_juggling_light_skin_tone": "🤹🏻\u200d♀️", + "woman_juggling_medium-dark_skin_tone": "🤹🏾\u200d♀️", + "woman_juggling_medium-light_skin_tone": "🤹🏼\u200d♀️", + "woman_juggling_medium_skin_tone": "🤹🏽\u200d♀️", + "woman_lifting_weights": "🏋️\u200d♀️", + "woman_lifting_weights_dark_skin_tone": "🏋🏿\u200d♀️", + "woman_lifting_weights_light_skin_tone": "🏋🏻\u200d♀️", + "woman_lifting_weights_medium-dark_skin_tone": "🏋🏾\u200d♀️", + "woman_lifting_weights_medium-light_skin_tone": "🏋🏼\u200d♀️", + "woman_lifting_weights_medium_skin_tone": "🏋🏽\u200d♀️", + "woman_light_skin_tone": "👩🏻", + "woman_mage": "🧙\u200d♀️", + "woman_mage_dark_skin_tone": "🧙🏿\u200d♀️", + "woman_mage_light_skin_tone": "🧙🏻\u200d♀️", + "woman_mage_medium-dark_skin_tone": "🧙🏾\u200d♀️", + "woman_mage_medium-light_skin_tone": "🧙🏼\u200d♀️", + "woman_mage_medium_skin_tone": "🧙🏽\u200d♀️", + "woman_mechanic": "👩\u200d🔧", + "woman_mechanic_dark_skin_tone": "👩🏿\u200d🔧", + "woman_mechanic_light_skin_tone": "👩🏻\u200d🔧", + "woman_mechanic_medium-dark_skin_tone": "👩🏾\u200d🔧", + "woman_mechanic_medium-light_skin_tone": "👩🏼\u200d🔧", + "woman_mechanic_medium_skin_tone": "👩🏽\u200d🔧", + "woman_medium-dark_skin_tone": "👩🏾", + "woman_medium-light_skin_tone": "👩🏼", + "woman_medium_skin_tone": "👩🏽", + "woman_mountain_biking": "🚵\u200d♀️", + "woman_mountain_biking_dark_skin_tone": "🚵🏿\u200d♀️", + "woman_mountain_biking_light_skin_tone": "🚵🏻\u200d♀️", + "woman_mountain_biking_medium-dark_skin_tone": "🚵🏾\u200d♀️", + "woman_mountain_biking_medium-light_skin_tone": "🚵🏼\u200d♀️", + "woman_mountain_biking_medium_skin_tone": "🚵🏽\u200d♀️", + "woman_office_worker": "👩\u200d💼", + "woman_office_worker_dark_skin_tone": "👩🏿\u200d💼", + "woman_office_worker_light_skin_tone": "👩🏻\u200d💼", + "woman_office_worker_medium-dark_skin_tone": "👩🏾\u200d💼", + "woman_office_worker_medium-light_skin_tone": "👩🏼\u200d💼", + "woman_office_worker_medium_skin_tone": "👩🏽\u200d💼", + "woman_pilot": "👩\u200d✈️", + "woman_pilot_dark_skin_tone": "👩🏿\u200d✈️", + "woman_pilot_light_skin_tone": "👩🏻\u200d✈️", + "woman_pilot_medium-dark_skin_tone": "👩🏾\u200d✈️", + "woman_pilot_medium-light_skin_tone": "👩🏼\u200d✈️", + "woman_pilot_medium_skin_tone": "👩🏽\u200d✈️", + "woman_playing_handball": "🤾\u200d♀️", + "woman_playing_handball_dark_skin_tone": "🤾🏿\u200d♀️", + "woman_playing_handball_light_skin_tone": "🤾🏻\u200d♀️", + "woman_playing_handball_medium-dark_skin_tone": "🤾🏾\u200d♀️", + "woman_playing_handball_medium-light_skin_tone": "🤾🏼\u200d♀️", + "woman_playing_handball_medium_skin_tone": "🤾🏽\u200d♀️", + "woman_playing_water_polo": "🤽\u200d♀️", + "woman_playing_water_polo_dark_skin_tone": "🤽🏿\u200d♀️", + "woman_playing_water_polo_light_skin_tone": "🤽🏻\u200d♀️", + "woman_playing_water_polo_medium-dark_skin_tone": "🤽🏾\u200d♀️", + "woman_playing_water_polo_medium-light_skin_tone": "🤽🏼\u200d♀️", + "woman_playing_water_polo_medium_skin_tone": "🤽🏽\u200d♀️", + "woman_police_officer": "👮\u200d♀️", + "woman_police_officer_dark_skin_tone": "👮🏿\u200d♀️", + "woman_police_officer_light_skin_tone": "👮🏻\u200d♀️", + "woman_police_officer_medium-dark_skin_tone": "👮🏾\u200d♀️", + "woman_police_officer_medium-light_skin_tone": "👮🏼\u200d♀️", + "woman_police_officer_medium_skin_tone": "👮🏽\u200d♀️", + "woman_pouting": "🙎\u200d♀️", + "woman_pouting_dark_skin_tone": "🙎🏿\u200d♀️", + "woman_pouting_light_skin_tone": "🙎🏻\u200d♀️", + "woman_pouting_medium-dark_skin_tone": "🙎🏾\u200d♀️", + "woman_pouting_medium-light_skin_tone": "🙎🏼\u200d♀️", + "woman_pouting_medium_skin_tone": "🙎🏽\u200d♀️", + "woman_raising_hand": "🙋\u200d♀️", + "woman_raising_hand_dark_skin_tone": "🙋🏿\u200d♀️", + "woman_raising_hand_light_skin_tone": "🙋🏻\u200d♀️", + "woman_raising_hand_medium-dark_skin_tone": "🙋🏾\u200d♀️", + "woman_raising_hand_medium-light_skin_tone": "🙋🏼\u200d♀️", + "woman_raising_hand_medium_skin_tone": "🙋🏽\u200d♀️", + "woman_rowing_boat": "🚣\u200d♀️", + "woman_rowing_boat_dark_skin_tone": "🚣🏿\u200d♀️", + "woman_rowing_boat_light_skin_tone": "🚣🏻\u200d♀️", + "woman_rowing_boat_medium-dark_skin_tone": "🚣🏾\u200d♀️", + "woman_rowing_boat_medium-light_skin_tone": "🚣🏼\u200d♀️", + "woman_rowing_boat_medium_skin_tone": "🚣🏽\u200d♀️", + "woman_running": "🏃\u200d♀️", + "woman_running_dark_skin_tone": "🏃🏿\u200d♀️", + "woman_running_light_skin_tone": "🏃🏻\u200d♀️", + "woman_running_medium-dark_skin_tone": "🏃🏾\u200d♀️", + "woman_running_medium-light_skin_tone": "🏃🏼\u200d♀️", + "woman_running_medium_skin_tone": "🏃🏽\u200d♀️", + "woman_scientist": "👩\u200d🔬", + "woman_scientist_dark_skin_tone": "👩🏿\u200d🔬", + "woman_scientist_light_skin_tone": "👩🏻\u200d🔬", + "woman_scientist_medium-dark_skin_tone": "👩🏾\u200d🔬", + "woman_scientist_medium-light_skin_tone": "👩🏼\u200d🔬", + "woman_scientist_medium_skin_tone": "👩🏽\u200d🔬", + "woman_shrugging": "🤷\u200d♀️", + "woman_shrugging_dark_skin_tone": "🤷🏿\u200d♀️", + "woman_shrugging_light_skin_tone": "🤷🏻\u200d♀️", + "woman_shrugging_medium-dark_skin_tone": "🤷🏾\u200d♀️", + "woman_shrugging_medium-light_skin_tone": "🤷🏼\u200d♀️", + "woman_shrugging_medium_skin_tone": "🤷🏽\u200d♀️", + "woman_singer": "👩\u200d🎤", + "woman_singer_dark_skin_tone": "👩🏿\u200d🎤", + "woman_singer_light_skin_tone": "👩🏻\u200d🎤", + "woman_singer_medium-dark_skin_tone": "👩🏾\u200d🎤", + "woman_singer_medium-light_skin_tone": "👩🏼\u200d🎤", + "woman_singer_medium_skin_tone": "👩🏽\u200d🎤", + "woman_student": "👩\u200d🎓", + "woman_student_dark_skin_tone": "👩🏿\u200d🎓", + "woman_student_light_skin_tone": "👩🏻\u200d🎓", + "woman_student_medium-dark_skin_tone": "👩🏾\u200d🎓", + "woman_student_medium-light_skin_tone": "👩🏼\u200d🎓", + "woman_student_medium_skin_tone": "👩🏽\u200d🎓", + "woman_surfing": "🏄\u200d♀️", + "woman_surfing_dark_skin_tone": "🏄🏿\u200d♀️", + "woman_surfing_light_skin_tone": "🏄🏻\u200d♀️", + "woman_surfing_medium-dark_skin_tone": "🏄🏾\u200d♀️", + "woman_surfing_medium-light_skin_tone": "🏄🏼\u200d♀️", + "woman_surfing_medium_skin_tone": "🏄🏽\u200d♀️", + "woman_swimming": "🏊\u200d♀️", + "woman_swimming_dark_skin_tone": "🏊🏿\u200d♀️", + "woman_swimming_light_skin_tone": "🏊🏻\u200d♀️", + "woman_swimming_medium-dark_skin_tone": "🏊🏾\u200d♀️", + "woman_swimming_medium-light_skin_tone": "🏊🏼\u200d♀️", + "woman_swimming_medium_skin_tone": "🏊🏽\u200d♀️", + "woman_teacher": "👩\u200d🏫", + "woman_teacher_dark_skin_tone": "👩🏿\u200d🏫", + "woman_teacher_light_skin_tone": "👩🏻\u200d🏫", + "woman_teacher_medium-dark_skin_tone": "👩🏾\u200d🏫", + "woman_teacher_medium-light_skin_tone": "👩🏼\u200d🏫", + "woman_teacher_medium_skin_tone": "👩🏽\u200d🏫", + "woman_technologist": "👩\u200d💻", + "woman_technologist_dark_skin_tone": "👩🏿\u200d💻", + "woman_technologist_light_skin_tone": "👩🏻\u200d💻", + "woman_technologist_medium-dark_skin_tone": "👩🏾\u200d💻", + "woman_technologist_medium-light_skin_tone": "👩🏼\u200d💻", + "woman_technologist_medium_skin_tone": "👩🏽\u200d💻", + "woman_tipping_hand": "💁\u200d♀️", + "woman_tipping_hand_dark_skin_tone": "💁🏿\u200d♀️", + "woman_tipping_hand_light_skin_tone": "💁🏻\u200d♀️", + "woman_tipping_hand_medium-dark_skin_tone": "💁🏾\u200d♀️", + "woman_tipping_hand_medium-light_skin_tone": "💁🏼\u200d♀️", + "woman_tipping_hand_medium_skin_tone": "💁🏽\u200d♀️", + "woman_vampire": "🧛\u200d♀️", + "woman_vampire_dark_skin_tone": "🧛🏿\u200d♀️", + "woman_vampire_light_skin_tone": "🧛🏻\u200d♀️", + "woman_vampire_medium-dark_skin_tone": "🧛🏾\u200d♀️", + "woman_vampire_medium-light_skin_tone": "🧛🏼\u200d♀️", + "woman_vampire_medium_skin_tone": "🧛🏽\u200d♀️", + "woman_walking": "🚶\u200d♀️", + "woman_walking_dark_skin_tone": "🚶🏿\u200d♀️", + "woman_walking_light_skin_tone": "🚶🏻\u200d♀️", + "woman_walking_medium-dark_skin_tone": "🚶🏾\u200d♀️", + "woman_walking_medium-light_skin_tone": "🚶🏼\u200d♀️", + "woman_walking_medium_skin_tone": "🚶🏽\u200d♀️", + "woman_wearing_turban": "👳\u200d♀️", + "woman_wearing_turban_dark_skin_tone": "👳🏿\u200d♀️", + "woman_wearing_turban_light_skin_tone": "👳🏻\u200d♀️", + "woman_wearing_turban_medium-dark_skin_tone": "👳🏾\u200d♀️", + "woman_wearing_turban_medium-light_skin_tone": "👳🏼\u200d♀️", + "woman_wearing_turban_medium_skin_tone": "👳🏽\u200d♀️", + "woman_with_headscarf": "🧕", + "woman_with_headscarf_dark_skin_tone": "🧕🏿", + "woman_with_headscarf_light_skin_tone": "🧕🏻", + "woman_with_headscarf_medium-dark_skin_tone": "🧕🏾", + "woman_with_headscarf_medium-light_skin_tone": "🧕🏼", + "woman_with_headscarf_medium_skin_tone": "🧕🏽", + "woman_with_probing_cane": "👩\u200d🦯", + "woman_zombie": "🧟\u200d♀️", + "woman’s_boot": "👢", + "woman’s_clothes": "👚", + "woman’s_hat": "👒", + "woman’s_sandal": "👡", + "women_with_bunny_ears": "👯\u200d♀️", + "women_wrestling": "🤼\u200d♀️", + "women’s_room": "🚺", + "woozy_face": "🥴", + "world_map": "🗺", + "worried_face": "😟", + "wrapped_gift": "🎁", + "wrench": "🔧", + "writing_hand": "✍", + "writing_hand_dark_skin_tone": "✍🏿", + "writing_hand_light_skin_tone": "✍🏻", + "writing_hand_medium-dark_skin_tone": "✍🏾", + "writing_hand_medium-light_skin_tone": "✍🏼", + "writing_hand_medium_skin_tone": "✍🏽", + "yarn": "🧶", + "yawning_face": "🥱", + "yellow_circle": "🟡", + "yellow_heart": "💛", + "yellow_square": "🟨", + "yen_banknote": "💴", + "yo-yo": "🪀", + "yin_yang": "☯", + "zany_face": "🤪", + "zebra": "🦓", + "zipper-mouth_face": "🤐", + "zombie": "🧟", + "zzz": "💤", + "åland_islands": "🇦🇽", + "keycap_asterisk": "*⃣", + "keycap_digit_eight": "8⃣", + "keycap_digit_five": "5⃣", + "keycap_digit_four": "4⃣", + "keycap_digit_nine": "9⃣", + "keycap_digit_one": "1⃣", + "keycap_digit_seven": "7⃣", + "keycap_digit_six": "6⃣", + "keycap_digit_three": "3⃣", + "keycap_digit_two": "2⃣", + "keycap_digit_zero": "0⃣", + "keycap_number_sign": "#⃣", + "light_skin_tone": "🏻", + "medium_light_skin_tone": "🏼", + "medium_skin_tone": "🏽", + "medium_dark_skin_tone": "🏾", + "dark_skin_tone": "🏿", + "regional_indicator_symbol_letter_a": "🇦", + "regional_indicator_symbol_letter_b": "🇧", + "regional_indicator_symbol_letter_c": "🇨", + "regional_indicator_symbol_letter_d": "🇩", + "regional_indicator_symbol_letter_e": "🇪", + "regional_indicator_symbol_letter_f": "🇫", + "regional_indicator_symbol_letter_g": "🇬", + "regional_indicator_symbol_letter_h": "🇭", + "regional_indicator_symbol_letter_i": "🇮", + "regional_indicator_symbol_letter_j": "🇯", + "regional_indicator_symbol_letter_k": "🇰", + "regional_indicator_symbol_letter_l": "🇱", + "regional_indicator_symbol_letter_m": "🇲", + "regional_indicator_symbol_letter_n": "🇳", + "regional_indicator_symbol_letter_o": "🇴", + "regional_indicator_symbol_letter_p": "🇵", + "regional_indicator_symbol_letter_q": "🇶", + "regional_indicator_symbol_letter_r": "🇷", + "regional_indicator_symbol_letter_s": "🇸", + "regional_indicator_symbol_letter_t": "🇹", + "regional_indicator_symbol_letter_u": "🇺", + "regional_indicator_symbol_letter_v": "🇻", + "regional_indicator_symbol_letter_w": "🇼", + "regional_indicator_symbol_letter_x": "🇽", + "regional_indicator_symbol_letter_y": "🇾", + "regional_indicator_symbol_letter_z": "🇿", + "airplane_arriving": "🛬", + "space_invader": "👾", + "football": "🏈", + "anger": "💢", + "angry": "😠", + "anguished": "😧", + "signal_strength": "📶", + "arrows_counterclockwise": "🔄", + "arrow_heading_down": "⤵", + "arrow_heading_up": "⤴", + "art": "🎨", + "astonished": "😲", + "athletic_shoe": "👟", + "atm": "🏧", + "car": "🚗", + "red_car": "🚗", + "angel": "👼", + "back": "🔙", + "badminton_racquet_and_shuttlecock": "🏸", + "dollar": "💵", + "euro": "💶", + "pound": "💷", + "yen": "💴", + "barber": "💈", + "bath": "🛀", + "bear": "🐻", + "heartbeat": "💓", + "beer": "🍺", + "no_bell": "🔕", + "bento": "🍱", + "bike": "🚲", + "bicyclist": "🚴", + "8ball": "🎱", + "biohazard_sign": "☣", + "birthday": "🎂", + "black_circle_for_record": "⏺", + "clubs": "♣", + "diamonds": "♦", + "arrow_double_down": "⏬", + "hearts": "♥", + "rewind": "⏪", + "black_left__pointing_double_triangle_with_vertical_bar": "⏮", + "arrow_backward": "◀", + "black_medium_small_square": "◾", + "question": "❓", + "fast_forward": "⏩", + "black_right__pointing_double_triangle_with_vertical_bar": "⏭", + "arrow_forward": "▶", + "black_right__pointing_triangle_with_double_vertical_bar": "⏯", + "arrow_right": "➡", + "spades": "♠", + "black_square_for_stop": "⏹", + "sunny": "☀", + "phone": "☎", + "recycle": "♻", + "arrow_double_up": "⏫", + "busstop": "🚏", + "date": "📅", + "flags": "🎏", + "cat2": "🐈", + "joy_cat": "😹", + "smirk_cat": "😼", + "chart_with_downwards_trend": "📉", + "chart_with_upwards_trend": "📈", + "chart": "💹", + "mega": "📣", + "checkered_flag": "🏁", + "accept": "🉑", + "ideograph_advantage": "🉐", + "congratulations": "㊗", + "secret": "㊙", + "m": "Ⓜ", + "city_sunset": "🌆", + "clapper": "🎬", + "clap": "👏", + "beers": "🍻", + "clock830": "🕣", + "clock8": "🕗", + "clock1130": "🕦", + "clock11": "🕚", + "clock530": "🕠", + "clock5": "🕔", + "clock430": "🕟", + "clock4": "🕓", + "clock930": "🕤", + "clock9": "🕘", + "clock130": "🕜", + "clock1": "🕐", + "clock730": "🕢", + "clock7": "🕖", + "clock630": "🕡", + "clock6": "🕕", + "clock1030": "🕥", + "clock10": "🕙", + "clock330": "🕞", + "clock3": "🕒", + "clock1230": "🕧", + "clock12": "🕛", + "clock230": "🕝", + "clock2": "🕑", + "arrows_clockwise": "🔃", + "repeat": "🔁", + "repeat_one": "🔂", + "closed_lock_with_key": "🔐", + "mailbox_closed": "📪", + "mailbox": "📫", + "cloud_with_tornado": "🌪", + "cocktail": "🍸", + "boom": "💥", + "compression": "🗜", + "confounded": "😖", + "confused": "😕", + "rice": "🍚", + "cow2": "🐄", + "cricket_bat_and_ball": "🏏", + "x": "❌", + "cry": "😢", + "curry": "🍛", + "dagger_knife": "🗡", + "dancer": "💃", + "dark_sunglasses": "🕶", + "dash": "💨", + "truck": "🚚", + "derelict_house_building": "🏚", + "diamond_shape_with_a_dot_inside": "💠", + "dart": "🎯", + "disappointed_relieved": "😥", + "disappointed": "😞", + "do_not_litter": "🚯", + "dog2": "🐕", + "flipper": "🐬", + "loop": "➿", + "bangbang": "‼", + "double_vertical_bar": "⏸", + "dove_of_peace": "🕊", + "small_red_triangle_down": "🔻", + "arrow_down_small": "🔽", + "arrow_down": "⬇", + "dromedary_camel": "🐪", + "e__mail": "📧", + "corn": "🌽", + "ear_of_rice": "🌾", + "earth_americas": "🌎", + "earth_asia": "🌏", + "earth_africa": "🌍", + "eight_pointed_black_star": "✴", + "eight_spoked_asterisk": "✳", + "eject_symbol": "⏏", + "bulb": "💡", + "emoji_modifier_fitzpatrick_type__1__2": "🏻", + "emoji_modifier_fitzpatrick_type__3": "🏼", + "emoji_modifier_fitzpatrick_type__4": "🏽", + "emoji_modifier_fitzpatrick_type__5": "🏾", + "emoji_modifier_fitzpatrick_type__6": "🏿", + "end": "🔚", + "email": "✉", + "european_castle": "🏰", + "european_post_office": "🏤", + "interrobang": "⁉", + "expressionless": "😑", + "eyeglasses": "👓", + "massage": "💆", + "yum": "😋", + "scream": "😱", + "kissing_heart": "😘", + "sweat": "😓", + "face_with_head__bandage": "🤕", + "triumph": "😤", + "mask": "😷", + "no_good": "🙅", + "ok_woman": "🙆", + "open_mouth": "😮", + "cold_sweat": "😰", + "stuck_out_tongue": "😛", + "stuck_out_tongue_closed_eyes": "😝", + "stuck_out_tongue_winking_eye": "😜", + "joy": "😂", + "no_mouth": "😶", + "santa": "🎅", + "fax": "📠", + "fearful": "😨", + "field_hockey_stick_and_ball": "🏑", + "first_quarter_moon_with_face": "🌛", + "fish_cake": "🍥", + "fishing_pole_and_fish": "🎣", + "facepunch": "👊", + "punch": "👊", + "flag_for_afghanistan": "🇦🇫", + "flag_for_albania": "🇦🇱", + "flag_for_algeria": "🇩🇿", + "flag_for_american_samoa": "🇦🇸", + "flag_for_andorra": "🇦🇩", + "flag_for_angola": "🇦🇴", + "flag_for_anguilla": "🇦🇮", + "flag_for_antarctica": "🇦🇶", + "flag_for_antigua_&_barbuda": "🇦🇬", + "flag_for_argentina": "🇦🇷", + "flag_for_armenia": "🇦🇲", + "flag_for_aruba": "🇦🇼", + "flag_for_ascension_island": "🇦🇨", + "flag_for_australia": "🇦🇺", + "flag_for_austria": "🇦🇹", + "flag_for_azerbaijan": "🇦🇿", + "flag_for_bahamas": "🇧🇸", + "flag_for_bahrain": "🇧🇭", + "flag_for_bangladesh": "🇧🇩", + "flag_for_barbados": "🇧🇧", + "flag_for_belarus": "🇧🇾", + "flag_for_belgium": "🇧🇪", + "flag_for_belize": "🇧🇿", + "flag_for_benin": "🇧🇯", + "flag_for_bermuda": "🇧🇲", + "flag_for_bhutan": "🇧🇹", + "flag_for_bolivia": "🇧🇴", + "flag_for_bosnia_&_herzegovina": "🇧🇦", + "flag_for_botswana": "🇧🇼", + "flag_for_bouvet_island": "🇧🇻", + "flag_for_brazil": "🇧🇷", + "flag_for_british_indian_ocean_territory": "🇮🇴", + "flag_for_british_virgin_islands": "🇻🇬", + "flag_for_brunei": "🇧🇳", + "flag_for_bulgaria": "🇧🇬", + "flag_for_burkina_faso": "🇧🇫", + "flag_for_burundi": "🇧🇮", + "flag_for_cambodia": "🇰🇭", + "flag_for_cameroon": "🇨🇲", + "flag_for_canada": "🇨🇦", + "flag_for_canary_islands": "🇮🇨", + "flag_for_cape_verde": "🇨🇻", + "flag_for_caribbean_netherlands": "🇧🇶", + "flag_for_cayman_islands": "🇰🇾", + "flag_for_central_african_republic": "🇨🇫", + "flag_for_ceuta_&_melilla": "🇪🇦", + "flag_for_chad": "🇹🇩", + "flag_for_chile": "🇨🇱", + "flag_for_china": "🇨🇳", + "flag_for_christmas_island": "🇨🇽", + "flag_for_clipperton_island": "🇨🇵", + "flag_for_cocos__islands": "🇨🇨", + "flag_for_colombia": "🇨🇴", + "flag_for_comoros": "🇰🇲", + "flag_for_congo____brazzaville": "🇨🇬", + "flag_for_congo____kinshasa": "🇨🇩", + "flag_for_cook_islands": "🇨🇰", + "flag_for_costa_rica": "🇨🇷", + "flag_for_croatia": "🇭🇷", + "flag_for_cuba": "🇨🇺", + "flag_for_curaçao": "🇨🇼", + "flag_for_cyprus": "🇨🇾", + "flag_for_czech_republic": "🇨🇿", + "flag_for_côte_d’ivoire": "🇨🇮", + "flag_for_denmark": "🇩🇰", + "flag_for_diego_garcia": "🇩🇬", + "flag_for_djibouti": "🇩🇯", + "flag_for_dominica": "🇩🇲", + "flag_for_dominican_republic": "🇩🇴", + "flag_for_ecuador": "🇪🇨", + "flag_for_egypt": "🇪🇬", + "flag_for_el_salvador": "🇸🇻", + "flag_for_equatorial_guinea": "🇬🇶", + "flag_for_eritrea": "🇪🇷", + "flag_for_estonia": "🇪🇪", + "flag_for_ethiopia": "🇪🇹", + "flag_for_european_union": "🇪🇺", + "flag_for_falkland_islands": "🇫🇰", + "flag_for_faroe_islands": "🇫🇴", + "flag_for_fiji": "🇫🇯", + "flag_for_finland": "🇫🇮", + "flag_for_france": "🇫🇷", + "flag_for_french_guiana": "🇬🇫", + "flag_for_french_polynesia": "🇵🇫", + "flag_for_french_southern_territories": "🇹🇫", + "flag_for_gabon": "🇬🇦", + "flag_for_gambia": "🇬🇲", + "flag_for_georgia": "🇬🇪", + "flag_for_germany": "🇩🇪", + "flag_for_ghana": "🇬🇭", + "flag_for_gibraltar": "🇬🇮", + "flag_for_greece": "🇬🇷", + "flag_for_greenland": "🇬🇱", + "flag_for_grenada": "🇬🇩", + "flag_for_guadeloupe": "🇬🇵", + "flag_for_guam": "🇬🇺", + "flag_for_guatemala": "🇬🇹", + "flag_for_guernsey": "🇬🇬", + "flag_for_guinea": "🇬🇳", + "flag_for_guinea__bissau": "🇬🇼", + "flag_for_guyana": "🇬🇾", + "flag_for_haiti": "🇭🇹", + "flag_for_heard_&_mcdonald_islands": "🇭🇲", + "flag_for_honduras": "🇭🇳", + "flag_for_hong_kong": "🇭🇰", + "flag_for_hungary": "🇭🇺", + "flag_for_iceland": "🇮🇸", + "flag_for_india": "🇮🇳", + "flag_for_indonesia": "🇮🇩", + "flag_for_iran": "🇮🇷", + "flag_for_iraq": "🇮🇶", + "flag_for_ireland": "🇮🇪", + "flag_for_isle_of_man": "🇮🇲", + "flag_for_israel": "🇮🇱", + "flag_for_italy": "🇮🇹", + "flag_for_jamaica": "🇯🇲", + "flag_for_japan": "🇯🇵", + "flag_for_jersey": "🇯🇪", + "flag_for_jordan": "🇯🇴", + "flag_for_kazakhstan": "🇰🇿", + "flag_for_kenya": "🇰🇪", + "flag_for_kiribati": "🇰🇮", + "flag_for_kosovo": "🇽🇰", + "flag_for_kuwait": "🇰🇼", + "flag_for_kyrgyzstan": "🇰🇬", + "flag_for_laos": "🇱🇦", + "flag_for_latvia": "🇱🇻", + "flag_for_lebanon": "🇱🇧", + "flag_for_lesotho": "🇱🇸", + "flag_for_liberia": "🇱🇷", + "flag_for_libya": "🇱🇾", + "flag_for_liechtenstein": "🇱🇮", + "flag_for_lithuania": "🇱🇹", + "flag_for_luxembourg": "🇱🇺", + "flag_for_macau": "🇲🇴", + "flag_for_macedonia": "🇲🇰", + "flag_for_madagascar": "🇲🇬", + "flag_for_malawi": "🇲🇼", + "flag_for_malaysia": "🇲🇾", + "flag_for_maldives": "🇲🇻", + "flag_for_mali": "🇲🇱", + "flag_for_malta": "🇲🇹", + "flag_for_marshall_islands": "🇲🇭", + "flag_for_martinique": "🇲🇶", + "flag_for_mauritania": "🇲🇷", + "flag_for_mauritius": "🇲🇺", + "flag_for_mayotte": "🇾🇹", + "flag_for_mexico": "🇲🇽", + "flag_for_micronesia": "🇫🇲", + "flag_for_moldova": "🇲🇩", + "flag_for_monaco": "🇲🇨", + "flag_for_mongolia": "🇲🇳", + "flag_for_montenegro": "🇲🇪", + "flag_for_montserrat": "🇲🇸", + "flag_for_morocco": "🇲🇦", + "flag_for_mozambique": "🇲🇿", + "flag_for_myanmar": "🇲🇲", + "flag_for_namibia": "🇳🇦", + "flag_for_nauru": "🇳🇷", + "flag_for_nepal": "🇳🇵", + "flag_for_netherlands": "🇳🇱", + "flag_for_new_caledonia": "🇳🇨", + "flag_for_new_zealand": "🇳🇿", + "flag_for_nicaragua": "🇳🇮", + "flag_for_niger": "🇳🇪", + "flag_for_nigeria": "🇳🇬", + "flag_for_niue": "🇳🇺", + "flag_for_norfolk_island": "🇳🇫", + "flag_for_north_korea": "🇰🇵", + "flag_for_northern_mariana_islands": "🇲🇵", + "flag_for_norway": "🇳🇴", + "flag_for_oman": "🇴🇲", + "flag_for_pakistan": "🇵🇰", + "flag_for_palau": "🇵🇼", + "flag_for_palestinian_territories": "🇵🇸", + "flag_for_panama": "🇵🇦", + "flag_for_papua_new_guinea": "🇵🇬", + "flag_for_paraguay": "🇵🇾", + "flag_for_peru": "🇵🇪", + "flag_for_philippines": "🇵🇭", + "flag_for_pitcairn_islands": "🇵🇳", + "flag_for_poland": "🇵🇱", + "flag_for_portugal": "🇵🇹", + "flag_for_puerto_rico": "🇵🇷", + "flag_for_qatar": "🇶🇦", + "flag_for_romania": "🇷🇴", + "flag_for_russia": "🇷🇺", + "flag_for_rwanda": "🇷🇼", + "flag_for_réunion": "🇷🇪", + "flag_for_samoa": "🇼🇸", + "flag_for_san_marino": "🇸🇲", + "flag_for_saudi_arabia": "🇸🇦", + "flag_for_senegal": "🇸🇳", + "flag_for_serbia": "🇷🇸", + "flag_for_seychelles": "🇸🇨", + "flag_for_sierra_leone": "🇸🇱", + "flag_for_singapore": "🇸🇬", + "flag_for_sint_maarten": "🇸🇽", + "flag_for_slovakia": "🇸🇰", + "flag_for_slovenia": "🇸🇮", + "flag_for_solomon_islands": "🇸🇧", + "flag_for_somalia": "🇸🇴", + "flag_for_south_africa": "🇿🇦", + "flag_for_south_georgia_&_south_sandwich_islands": "🇬🇸", + "flag_for_south_korea": "🇰🇷", + "flag_for_south_sudan": "🇸🇸", + "flag_for_spain": "🇪🇸", + "flag_for_sri_lanka": "🇱🇰", + "flag_for_st._barthélemy": "🇧🇱", + "flag_for_st._helena": "🇸🇭", + "flag_for_st._kitts_&_nevis": "🇰🇳", + "flag_for_st._lucia": "🇱🇨", + "flag_for_st._martin": "🇲🇫", + "flag_for_st._pierre_&_miquelon": "🇵🇲", + "flag_for_st._vincent_&_grenadines": "🇻🇨", + "flag_for_sudan": "🇸🇩", + "flag_for_suriname": "🇸🇷", + "flag_for_svalbard_&_jan_mayen": "🇸🇯", + "flag_for_swaziland": "🇸🇿", + "flag_for_sweden": "🇸🇪", + "flag_for_switzerland": "🇨🇭", + "flag_for_syria": "🇸🇾", + "flag_for_são_tomé_&_príncipe": "🇸🇹", + "flag_for_taiwan": "🇹🇼", + "flag_for_tajikistan": "🇹🇯", + "flag_for_tanzania": "🇹🇿", + "flag_for_thailand": "🇹🇭", + "flag_for_timor__leste": "🇹🇱", + "flag_for_togo": "🇹🇬", + "flag_for_tokelau": "🇹🇰", + "flag_for_tonga": "🇹🇴", + "flag_for_trinidad_&_tobago": "🇹🇹", + "flag_for_tristan_da_cunha": "🇹🇦", + "flag_for_tunisia": "🇹🇳", + "flag_for_turkey": "🇹🇷", + "flag_for_turkmenistan": "🇹🇲", + "flag_for_turks_&_caicos_islands": "🇹🇨", + "flag_for_tuvalu": "🇹🇻", + "flag_for_u.s._outlying_islands": "🇺🇲", + "flag_for_u.s._virgin_islands": "🇻🇮", + "flag_for_uganda": "🇺🇬", + "flag_for_ukraine": "🇺🇦", + "flag_for_united_arab_emirates": "🇦🇪", + "flag_for_united_kingdom": "🇬🇧", + "flag_for_united_states": "🇺🇸", + "flag_for_uruguay": "🇺🇾", + "flag_for_uzbekistan": "🇺🇿", + "flag_for_vanuatu": "🇻🇺", + "flag_for_vatican_city": "🇻🇦", + "flag_for_venezuela": "🇻🇪", + "flag_for_vietnam": "🇻🇳", + "flag_for_wallis_&_futuna": "🇼🇫", + "flag_for_western_sahara": "🇪🇭", + "flag_for_yemen": "🇾🇪", + "flag_for_zambia": "🇿🇲", + "flag_for_zimbabwe": "🇿🇼", + "flag_for_åland_islands": "🇦🇽", + "golf": "⛳", + "fleur__de__lis": "⚜", + "muscle": "💪", + "flushed": "😳", + "frame_with_picture": "🖼", + "fries": "🍟", + "frog": "🐸", + "hatched_chick": "🐥", + "frowning": "😦", + "fuelpump": "⛽", + "full_moon_with_face": "🌝", + "gem": "💎", + "star2": "🌟", + "golfer": "🏌", + "mortar_board": "🎓", + "grimacing": "😬", + "smile_cat": "😸", + "grinning": "😀", + "grin": "😁", + "heartpulse": "💗", + "guardsman": "💂", + "haircut": "💇", + "hamster": "🐹", + "raising_hand": "🙋", + "headphones": "🎧", + "hear_no_evil": "🙉", + "cupid": "💘", + "gift_heart": "💝", + "heart": "❤", + "exclamation": "❗", + "heavy_exclamation_mark": "❗", + "heavy_heart_exclamation_mark_ornament": "❣", + "o": "⭕", + "helm_symbol": "⎈", + "helmet_with_white_cross": "⛑", + "high_heel": "👠", + "bullettrain_side": "🚄", + "bullettrain_front": "🚅", + "high_brightness": "🔆", + "zap": "⚡", + "hocho": "🔪", + "knife": "🔪", + "bee": "🐝", + "traffic_light": "🚥", + "racehorse": "🐎", + "coffee": "☕", + "hotsprings": "♨", + "hourglass": "⌛", + "hourglass_flowing_sand": "⏳", + "house_buildings": "🏘", + "100": "💯", + "hushed": "😯", + "ice_hockey_stick_and_puck": "🏒", + "imp": "👿", + "information_desk_person": "💁", + "information_source": "ℹ", + "capital_abcd": "🔠", + "abc": "🔤", + "abcd": "🔡", + "1234": "🔢", + "symbols": "🔣", + "izakaya_lantern": "🏮", + "lantern": "🏮", + "jack_o_lantern": "🎃", + "dolls": "🎎", + "japanese_goblin": "👺", + "japanese_ogre": "👹", + "beginner": "🔰", + "zero": "0️⃣", + "one": "1️⃣", + "ten": "🔟", + "two": "2️⃣", + "three": "3️⃣", + "four": "4️⃣", + "five": "5️⃣", + "six": "6️⃣", + "seven": "7️⃣", + "eight": "8️⃣", + "nine": "9️⃣", + "couplekiss": "💏", + "kissing_cat": "😽", + "kissing": "😗", + "kissing_closed_eyes": "😚", + "kissing_smiling_eyes": "😙", + "beetle": "🐞", + "large_blue_circle": "🔵", + "last_quarter_moon_with_face": "🌜", + "leaves": "🍃", + "mag": "🔍", + "left_right_arrow": "↔", + "leftwards_arrow_with_hook": "↩", + "arrow_left": "⬅", + "lock": "🔒", + "lock_with_ink_pen": "🔏", + "sob": "😭", + "low_brightness": "🔅", + "lower_left_ballpoint_pen": "🖊", + "lower_left_crayon": "🖍", + "lower_left_fountain_pen": "🖋", + "lower_left_paintbrush": "🖌", + "mahjong": "🀄", + "couple": "👫", + "man_in_business_suit_levitating": "🕴", + "man_with_gua_pi_mao": "👲", + "man_with_turban": "👳", + "mans_shoe": "👞", + "shoe": "👞", + "menorah_with_nine_branches": "🕎", + "mens": "🚹", + "minidisc": "💽", + "iphone": "📱", + "calling": "📲", + "money__mouth_face": "🤑", + "moneybag": "💰", + "rice_scene": "🎑", + "mountain_bicyclist": "🚵", + "mouse2": "🐁", + "lips": "👄", + "moyai": "🗿", + "notes": "🎶", + "nail_care": "💅", + "ab": "🆎", + "negative_squared_cross_mark": "❎", + "a": "🅰", + "b": "🅱", + "o2": "🅾", + "parking": "🅿", + "new_moon_with_face": "🌚", + "no_entry_sign": "🚫", + "underage": "🔞", + "non__potable_water": "🚱", + "arrow_upper_right": "↗", + "arrow_upper_left": "↖", + "office": "🏢", + "older_man": "👴", + "older_woman": "👵", + "om_symbol": "🕉", + "on": "🔛", + "book": "📖", + "unlock": "🔓", + "mailbox_with_no_mail": "📭", + "mailbox_with_mail": "📬", + "cd": "💿", + "tada": "🎉", + "feet": "🐾", + "walking": "🚶", + "pencil2": "✏", + "pensive": "😔", + "persevere": "😣", + "bow": "🙇", + "raised_hands": "🙌", + "person_with_ball": "⛹", + "person_with_blond_hair": "👱", + "pray": "🙏", + "person_with_pouting_face": "🙎", + "computer": "💻", + "pig2": "🐖", + "hankey": "💩", + "poop": "💩", + "shit": "💩", + "bamboo": "🎍", + "gun": "🔫", + "black_joker": "🃏", + "rotating_light": "🚨", + "cop": "👮", + "stew": "🍲", + "pouch": "👝", + "pouting_cat": "😾", + "rage": "😡", + "put_litter_in_its_place": "🚮", + "rabbit2": "🐇", + "racing_motorcycle": "🏍", + "radioactive_sign": "☢", + "fist": "✊", + "hand": "✋", + "raised_hand_with_fingers_splayed": "🖐", + "raised_hand_with_part_between_middle_and_ring_fingers": "🖖", + "blue_car": "🚙", + "apple": "🍎", + "relieved": "😌", + "reversed_hand_with_middle_finger_extended": "🖕", + "mag_right": "🔎", + "arrow_right_hook": "↪", + "sweet_potato": "🍠", + "robot": "🤖", + "rolled__up_newspaper": "🗞", + "rowboat": "🚣", + "runner": "🏃", + "running": "🏃", + "running_shirt_with_sash": "🎽", + "boat": "⛵", + "scales": "⚖", + "school_satchel": "🎒", + "scorpius": "♏", + "see_no_evil": "🙈", + "sheep": "🐑", + "stars": "🌠", + "cake": "🍰", + "six_pointed_star": "🔯", + "ski": "🎿", + "sleeping_accommodation": "🛌", + "sleeping": "😴", + "sleepy": "😪", + "sleuth_or_spy": "🕵", + "heart_eyes_cat": "😻", + "smiley_cat": "😺", + "innocent": "😇", + "heart_eyes": "😍", + "smiling_imp": "😈", + "smiley": "😃", + "sweat_smile": "😅", + "smile": "😄", + "laughing": "😆", + "satisfied": "😆", + "blush": "😊", + "smirk": "😏", + "smoking": "🚬", + "snow_capped_mountain": "🏔", + "soccer": "⚽", + "icecream": "🍦", + "soon": "🔜", + "arrow_lower_right": "↘", + "arrow_lower_left": "↙", + "speak_no_evil": "🙊", + "speaker": "🔈", + "mute": "🔇", + "sound": "🔉", + "loud_sound": "🔊", + "speaking_head_in_silhouette": "🗣", + "spiral_calendar_pad": "🗓", + "spiral_note_pad": "🗒", + "shell": "🐚", + "sweat_drops": "💦", + "u5272": "🈹", + "u5408": "🈴", + "u55b6": "🈺", + "u6307": "🈯", + "u6708": "🈷", + "u6709": "🈶", + "u6e80": "🈵", + "u7121": "🈚", + "u7533": "🈸", + "u7981": "🈲", + "u7a7a": "🈳", + "cl": "🆑", + "cool": "🆒", + "free": "🆓", + "id": "🆔", + "koko": "🈁", + "sa": "🈂", + "new": "🆕", + "ng": "🆖", + "ok": "🆗", + "sos": "🆘", + "up": "🆙", + "vs": "🆚", + "steam_locomotive": "🚂", + "ramen": "🍜", + "partly_sunny": "⛅", + "city_sunrise": "🌇", + "surfer": "🏄", + "swimmer": "🏊", + "shirt": "👕", + "tshirt": "👕", + "table_tennis_paddle_and_ball": "🏓", + "tea": "🍵", + "tv": "📺", + "three_button_mouse": "🖱", + "+1": "👍", + "thumbsup": "👍", + "__1": "👎", + "-1": "👎", + "thumbsdown": "👎", + "thunder_cloud_and_rain": "⛈", + "tiger2": "🐅", + "tophat": "🎩", + "top": "🔝", + "tm": "™", + "train2": "🚆", + "triangular_flag_on_post": "🚩", + "trident": "🔱", + "twisted_rightwards_arrows": "🔀", + "unamused": "😒", + "small_red_triangle": "🔺", + "arrow_up_small": "🔼", + "arrow_up_down": "↕", + "upside__down_face": "🙃", + "arrow_up": "⬆", + "v": "✌", + "vhs": "📼", + "wc": "🚾", + "ocean": "🌊", + "waving_black_flag": "🏴", + "wave": "👋", + "waving_white_flag": "🏳", + "moon": "🌔", + "scream_cat": "🙀", + "weary": "😩", + "weight_lifter": "🏋", + "whale2": "🐋", + "wheelchair": "♿", + "point_down": "👇", + "grey_exclamation": "❕", + "white_frowning_face": "☹", + "white_check_mark": "✅", + "point_left": "👈", + "white_medium_small_square": "◽", + "star": "⭐", + "grey_question": "❔", + "point_right": "👉", + "relaxed": "☺", + "white_sun_behind_cloud": "🌥", + "white_sun_behind_cloud_with_rain": "🌦", + "white_sun_with_small_cloud": "🌤", + "point_up_2": "👆", + "point_up": "☝", + "wind_blowing_face": "🌬", + "wink": "😉", + "wolf": "🐺", + "dancers": "👯", + "boot": "👢", + "womans_clothes": "👚", + "womans_hat": "👒", + "sandal": "👡", + "womens": "🚺", + "worried": "😟", + "gift": "🎁", + "zipper__mouth_face": "🤐", + "regional_indicator_a": "🇦", + "regional_indicator_b": "🇧", + "regional_indicator_c": "🇨", + "regional_indicator_d": "🇩", + "regional_indicator_e": "🇪", + "regional_indicator_f": "🇫", + "regional_indicator_g": "🇬", + "regional_indicator_h": "🇭", + "regional_indicator_i": "🇮", + "regional_indicator_j": "🇯", + "regional_indicator_k": "🇰", + "regional_indicator_l": "🇱", + "regional_indicator_m": "🇲", + "regional_indicator_n": "🇳", + "regional_indicator_o": "🇴", + "regional_indicator_p": "🇵", + "regional_indicator_q": "🇶", + "regional_indicator_r": "🇷", + "regional_indicator_s": "🇸", + "regional_indicator_t": "🇹", + "regional_indicator_u": "🇺", + "regional_indicator_v": "🇻", + "regional_indicator_w": "🇼", + "regional_indicator_x": "🇽", + "regional_indicator_y": "🇾", + "regional_indicator_z": "🇿", +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_replace.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_replace.py new file mode 100644 index 0000000000000000000000000000000000000000..bb2cafa18011e7115773055338291c366f173d6f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_emoji_replace.py @@ -0,0 +1,32 @@ +from typing import Callable, Match, Optional +import re + +from ._emoji_codes import EMOJI + + +_ReStringMatch = Match[str] # regex match object +_ReSubCallable = Callable[[_ReStringMatch], str] # Callable invoked by re.sub +_EmojiSubMethod = Callable[[_ReSubCallable, str], str] # Sub method of a compiled re + + +def _emoji_replace( + text: str, + default_variant: Optional[str] = None, + _emoji_sub: _EmojiSubMethod = re.compile(r"(:(\S*?)(?:(?:\-)(emoji|text))?:)").sub, +) -> str: + """Replace emoji code in text.""" + get_emoji = EMOJI.__getitem__ + variants = {"text": "\uFE0E", "emoji": "\uFE0F"} + get_variant = variants.get + default_variant_code = variants.get(default_variant, "") if default_variant else "" + + def do_replace(match: Match[str]) -> str: + emoji_code, emoji_name, variant = match.groups() + try: + return get_emoji(emoji_name.lower()) + get_variant( + variant, default_variant_code + ) + except KeyError: + return emoji_code + + return _emoji_sub(do_replace, text) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_export_format.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_export_format.py new file mode 100644 index 0000000000000000000000000000000000000000..e7527e52f6613328630fc6305f957d9ea58027d8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_export_format.py @@ -0,0 +1,76 @@ +CONSOLE_HTML_FORMAT = """\ + + + + + + + +
    {code}
    + + +""" + +CONSOLE_SVG_FORMAT = """\ + + + + + + + + + {lines} + + + {chrome} + + {backgrounds} + + {matrix} + + + +""" + +_SVG_FONT_FAMILY = "Rich Fira Code" +_SVG_CLASSES_PREFIX = "rich-svg" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_extension.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_extension.py new file mode 100644 index 0000000000000000000000000000000000000000..cbd6da9be4956ce8558304ed72ffbe88ccd22ba5 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_extension.py @@ -0,0 +1,10 @@ +from typing import Any + + +def load_ipython_extension(ip: Any) -> None: # pragma: no cover + # prevent circular import + from pip._vendor.rich.pretty import install + from pip._vendor.rich.traceback import install as tr_install + + install() + tr_install() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_fileno.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_fileno.py new file mode 100644 index 0000000000000000000000000000000000000000..b17ee6511742d7a8d5950bf0ee57ced4d5fd45c2 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_fileno.py @@ -0,0 +1,24 @@ +from __future__ import annotations + +from typing import IO, Callable + + +def get_fileno(file_like: IO[str]) -> int | None: + """Get fileno() from a file, accounting for poorly implemented file-like objects. + + Args: + file_like (IO): A file-like object. + + Returns: + int | None: The result of fileno if available, or None if operation failed. + """ + fileno: Callable[[], int] | None = getattr(file_like, "fileno", None) + if fileno is not None: + try: + return fileno() + except Exception: + # `fileno` is documented as potentially raising a OSError + # Alas, from the issues, there are so many poorly implemented file-like objects, + # that `fileno()` can raise just about anything. + return None + return None diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py new file mode 100644 index 0000000000000000000000000000000000000000..27d65cec93bda5c7a97c2bb2117938dc0142ff8b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py @@ -0,0 +1,268 @@ +import inspect +from inspect import cleandoc, getdoc, getfile, isclass, ismodule, signature +from typing import Any, Collection, Iterable, Optional, Tuple, Type, Union + +from .console import Group, RenderableType +from .control import escape_control_codes +from .highlighter import ReprHighlighter +from .jupyter import JupyterMixin +from .panel import Panel +from .pretty import Pretty +from .table import Table +from .text import Text, TextType + + +def _first_paragraph(doc: str) -> str: + """Get the first paragraph from a docstring.""" + paragraph, _, _ = doc.partition("\n\n") + return paragraph + + +class Inspect(JupyterMixin): + """A renderable to inspect any Python Object. + + Args: + obj (Any): An object to inspect. + title (str, optional): Title to display over inspect result, or None use type. Defaults to None. + help (bool, optional): Show full help text rather than just first paragraph. Defaults to False. + methods (bool, optional): Enable inspection of callables. Defaults to False. + docs (bool, optional): Also render doc strings. Defaults to True. + private (bool, optional): Show private attributes (beginning with underscore). Defaults to False. + dunder (bool, optional): Show attributes starting with double underscore. Defaults to False. + sort (bool, optional): Sort attributes alphabetically. Defaults to True. + all (bool, optional): Show all attributes. Defaults to False. + value (bool, optional): Pretty print value of object. Defaults to True. + """ + + def __init__( + self, + obj: Any, + *, + title: Optional[TextType] = None, + help: bool = False, + methods: bool = False, + docs: bool = True, + private: bool = False, + dunder: bool = False, + sort: bool = True, + all: bool = True, + value: bool = True, + ) -> None: + self.highlighter = ReprHighlighter() + self.obj = obj + self.title = title or self._make_title(obj) + if all: + methods = private = dunder = True + self.help = help + self.methods = methods + self.docs = docs or help + self.private = private or dunder + self.dunder = dunder + self.sort = sort + self.value = value + + def _make_title(self, obj: Any) -> Text: + """Make a default title.""" + title_str = ( + str(obj) + if (isclass(obj) or callable(obj) or ismodule(obj)) + else str(type(obj)) + ) + title_text = self.highlighter(title_str) + return title_text + + def __rich__(self) -> Panel: + return Panel.fit( + Group(*self._render()), + title=self.title, + border_style="scope.border", + padding=(0, 1), + ) + + def _get_signature(self, name: str, obj: Any) -> Optional[Text]: + """Get a signature for a callable.""" + try: + _signature = str(signature(obj)) + ":" + except ValueError: + _signature = "(...)" + except TypeError: + return None + + source_filename: Optional[str] = None + try: + source_filename = getfile(obj) + except (OSError, TypeError): + # OSError is raised if obj has no source file, e.g. when defined in REPL. + pass + + callable_name = Text(name, style="inspect.callable") + if source_filename: + callable_name.stylize(f"link file://{source_filename}") + signature_text = self.highlighter(_signature) + + qualname = name or getattr(obj, "__qualname__", name) + + # If obj is a module, there may be classes (which are callable) to display + if inspect.isclass(obj): + prefix = "class" + elif inspect.iscoroutinefunction(obj): + prefix = "async def" + else: + prefix = "def" + + qual_signature = Text.assemble( + (f"{prefix} ", f"inspect.{prefix.replace(' ', '_')}"), + (qualname, "inspect.callable"), + signature_text, + ) + + return qual_signature + + def _render(self) -> Iterable[RenderableType]: + """Render object.""" + + def sort_items(item: Tuple[str, Any]) -> Tuple[bool, str]: + key, (_error, value) = item + return (callable(value), key.strip("_").lower()) + + def safe_getattr(attr_name: str) -> Tuple[Any, Any]: + """Get attribute or any exception.""" + try: + return (None, getattr(obj, attr_name)) + except Exception as error: + return (error, None) + + obj = self.obj + keys = dir(obj) + total_items = len(keys) + if not self.dunder: + keys = [key for key in keys if not key.startswith("__")] + if not self.private: + keys = [key for key in keys if not key.startswith("_")] + not_shown_count = total_items - len(keys) + items = [(key, safe_getattr(key)) for key in keys] + if self.sort: + items.sort(key=sort_items) + + items_table = Table.grid(padding=(0, 1), expand=False) + items_table.add_column(justify="right") + add_row = items_table.add_row + highlighter = self.highlighter + + if callable(obj): + signature = self._get_signature("", obj) + if signature is not None: + yield signature + yield "" + + if self.docs: + _doc = self._get_formatted_doc(obj) + if _doc is not None: + doc_text = Text(_doc, style="inspect.help") + doc_text = highlighter(doc_text) + yield doc_text + yield "" + + if self.value and not (isclass(obj) or callable(obj) or ismodule(obj)): + yield Panel( + Pretty(obj, indent_guides=True, max_length=10, max_string=60), + border_style="inspect.value.border", + ) + yield "" + + for key, (error, value) in items: + key_text = Text.assemble( + ( + key, + "inspect.attr.dunder" if key.startswith("__") else "inspect.attr", + ), + (" =", "inspect.equals"), + ) + if error is not None: + warning = key_text.copy() + warning.stylize("inspect.error") + add_row(warning, highlighter(repr(error))) + continue + + if callable(value): + if not self.methods: + continue + + _signature_text = self._get_signature(key, value) + if _signature_text is None: + add_row(key_text, Pretty(value, highlighter=highlighter)) + else: + if self.docs: + docs = self._get_formatted_doc(value) + if docs is not None: + _signature_text.append("\n" if "\n" in docs else " ") + doc = highlighter(docs) + doc.stylize("inspect.doc") + _signature_text.append(doc) + + add_row(key_text, _signature_text) + else: + add_row(key_text, Pretty(value, highlighter=highlighter)) + if items_table.row_count: + yield items_table + elif not_shown_count: + yield Text.from_markup( + f"[b cyan]{not_shown_count}[/][i] attribute(s) not shown.[/i] " + f"Run [b][magenta]inspect[/]([not b]inspect[/])[/b] for options." + ) + + def _get_formatted_doc(self, object_: Any) -> Optional[str]: + """ + Extract the docstring of an object, process it and returns it. + The processing consists in cleaning up the docstring's indentation, + taking only its 1st paragraph if `self.help` is not True, + and escape its control codes. + + Args: + object_ (Any): the object to get the docstring from. + + Returns: + Optional[str]: the processed docstring, or None if no docstring was found. + """ + docs = getdoc(object_) + if docs is None: + return None + docs = cleandoc(docs).strip() + if not self.help: + docs = _first_paragraph(docs) + return escape_control_codes(docs) + + +def get_object_types_mro(obj: Union[object, Type[Any]]) -> Tuple[type, ...]: + """Returns the MRO of an object's class, or of the object itself if it's a class.""" + if not hasattr(obj, "__mro__"): + # N.B. we cannot use `if type(obj) is type` here because it doesn't work with + # some types of classes, such as the ones that use abc.ABCMeta. + obj = type(obj) + return getattr(obj, "__mro__", ()) + + +def get_object_types_mro_as_strings(obj: object) -> Collection[str]: + """ + Returns the MRO of an object's class as full qualified names, or of the object itself if it's a class. + + Examples: + `object_types_mro_as_strings(JSONDecoder)` will return `['json.decoder.JSONDecoder', 'builtins.object']` + """ + return [ + f'{getattr(type_, "__module__", "")}.{getattr(type_, "__qualname__", "")}' + for type_ in get_object_types_mro(obj) + ] + + +def is_object_one_of_types( + obj: object, fully_qualified_types_names: Collection[str] +) -> bool: + """ + Returns `True` if the given object's class (or the object itself, if it's a class) has one of the + fully qualified names in its MRO. + """ + for type_name in get_object_types_mro_as_strings(obj): + if type_name in fully_qualified_types_names: + return True + return False diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_log_render.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_log_render.py new file mode 100644 index 0000000000000000000000000000000000000000..fc16c84437a8a34231c44d3f0a331459ddcb0f34 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_log_render.py @@ -0,0 +1,94 @@ +from datetime import datetime +from typing import Iterable, List, Optional, TYPE_CHECKING, Union, Callable + + +from .text import Text, TextType + +if TYPE_CHECKING: + from .console import Console, ConsoleRenderable, RenderableType + from .table import Table + +FormatTimeCallable = Callable[[datetime], Text] + + +class LogRender: + def __init__( + self, + show_time: bool = True, + show_level: bool = False, + show_path: bool = True, + time_format: Union[str, FormatTimeCallable] = "[%x %X]", + omit_repeated_times: bool = True, + level_width: Optional[int] = 8, + ) -> None: + self.show_time = show_time + self.show_level = show_level + self.show_path = show_path + self.time_format = time_format + self.omit_repeated_times = omit_repeated_times + self.level_width = level_width + self._last_time: Optional[Text] = None + + def __call__( + self, + console: "Console", + renderables: Iterable["ConsoleRenderable"], + log_time: Optional[datetime] = None, + time_format: Optional[Union[str, FormatTimeCallable]] = None, + level: TextType = "", + path: Optional[str] = None, + line_no: Optional[int] = None, + link_path: Optional[str] = None, + ) -> "Table": + from .containers import Renderables + from .table import Table + + output = Table.grid(padding=(0, 1)) + output.expand = True + if self.show_time: + output.add_column(style="log.time") + if self.show_level: + output.add_column(style="log.level", width=self.level_width) + output.add_column(ratio=1, style="log.message", overflow="fold") + if self.show_path and path: + output.add_column(style="log.path") + row: List["RenderableType"] = [] + if self.show_time: + log_time = log_time or console.get_datetime() + time_format = time_format or self.time_format + if callable(time_format): + log_time_display = time_format(log_time) + else: + log_time_display = Text(log_time.strftime(time_format)) + if log_time_display == self._last_time and self.omit_repeated_times: + row.append(Text(" " * len(log_time_display))) + else: + row.append(log_time_display) + self._last_time = log_time_display + if self.show_level: + row.append(level) + + row.append(Renderables(renderables)) + if self.show_path and path: + path_text = Text() + path_text.append( + path, style=f"link file://{link_path}" if link_path else "" + ) + if line_no: + path_text.append(":") + path_text.append( + f"{line_no}", + style=f"link file://{link_path}#{line_no}" if link_path else "", + ) + row.append(path_text) + + output.add_row(*row) + return output + + +if __name__ == "__main__": # pragma: no cover + from pip._vendor.rich.console import Console + + c = Console() + c.print("[on blue]Hello", justify="right") + c.log("[on blue]hello", justify="right") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_loop.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_loop.py new file mode 100644 index 0000000000000000000000000000000000000000..01c6cafbe53f1fcb12f7b382b2b35e2fd2c69933 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_loop.py @@ -0,0 +1,43 @@ +from typing import Iterable, Tuple, TypeVar + +T = TypeVar("T") + + +def loop_first(values: Iterable[T]) -> Iterable[Tuple[bool, T]]: + """Iterate and generate a tuple with a flag for first value.""" + iter_values = iter(values) + try: + value = next(iter_values) + except StopIteration: + return + yield True, value + for value in iter_values: + yield False, value + + +def loop_last(values: Iterable[T]) -> Iterable[Tuple[bool, T]]: + """Iterate and generate a tuple with a flag for last value.""" + iter_values = iter(values) + try: + previous_value = next(iter_values) + except StopIteration: + return + for value in iter_values: + yield False, previous_value + previous_value = value + yield True, previous_value + + +def loop_first_last(values: Iterable[T]) -> Iterable[Tuple[bool, bool, T]]: + """Iterate and generate a tuple with a flag for first and last value.""" + iter_values = iter(values) + try: + previous_value = next(iter_values) + except StopIteration: + return + first = True + for value in iter_values: + yield first, False, previous_value + first = False + previous_value = value + yield first, True, previous_value diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py new file mode 100644 index 0000000000000000000000000000000000000000..6ae05d3e2a901af754b1626d911ebc3c45e22a40 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py @@ -0,0 +1,69 @@ +from types import TracebackType +from typing import IO, Iterable, Iterator, List, Optional, Type + + +class NullFile(IO[str]): + def close(self) -> None: + pass + + def isatty(self) -> bool: + return False + + def read(self, __n: int = 1) -> str: + return "" + + def readable(self) -> bool: + return False + + def readline(self, __limit: int = 1) -> str: + return "" + + def readlines(self, __hint: int = 1) -> List[str]: + return [] + + def seek(self, __offset: int, __whence: int = 1) -> int: + return 0 + + def seekable(self) -> bool: + return False + + def tell(self) -> int: + return 0 + + def truncate(self, __size: Optional[int] = 1) -> int: + return 0 + + def writable(self) -> bool: + return False + + def writelines(self, __lines: Iterable[str]) -> None: + pass + + def __next__(self) -> str: + return "" + + def __iter__(self) -> Iterator[str]: + return iter([""]) + + def __enter__(self) -> IO[str]: + return self + + def __exit__( + self, + __t: Optional[Type[BaseException]], + __value: Optional[BaseException], + __traceback: Optional[TracebackType], + ) -> None: + pass + + def write(self, text: str) -> int: + return 0 + + def flush(self) -> None: + pass + + def fileno(self) -> int: + return -1 + + +NULL_FILE = NullFile() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_palettes.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_palettes.py new file mode 100644 index 0000000000000000000000000000000000000000..3c748d33e45bfcdc690ceee490cbb50b516cd2b3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_palettes.py @@ -0,0 +1,309 @@ +from .palette import Palette + + +# Taken from https://en.wikipedia.org/wiki/ANSI_escape_code (Windows 10 column) +WINDOWS_PALETTE = Palette( + [ + (12, 12, 12), + (197, 15, 31), + (19, 161, 14), + (193, 156, 0), + (0, 55, 218), + (136, 23, 152), + (58, 150, 221), + (204, 204, 204), + (118, 118, 118), + (231, 72, 86), + (22, 198, 12), + (249, 241, 165), + (59, 120, 255), + (180, 0, 158), + (97, 214, 214), + (242, 242, 242), + ] +) + +# # The standard ansi colors (including bright variants) +STANDARD_PALETTE = Palette( + [ + (0, 0, 0), + (170, 0, 0), + (0, 170, 0), + (170, 85, 0), + (0, 0, 170), + (170, 0, 170), + (0, 170, 170), + (170, 170, 170), + (85, 85, 85), + (255, 85, 85), + (85, 255, 85), + (255, 255, 85), + (85, 85, 255), + (255, 85, 255), + (85, 255, 255), + (255, 255, 255), + ] +) + + +# The 256 color palette +EIGHT_BIT_PALETTE = Palette( + [ + (0, 0, 0), + (128, 0, 0), + (0, 128, 0), + (128, 128, 0), + (0, 0, 128), + (128, 0, 128), + (0, 128, 128), + (192, 192, 192), + (128, 128, 128), + (255, 0, 0), + (0, 255, 0), + (255, 255, 0), + (0, 0, 255), + (255, 0, 255), + (0, 255, 255), + (255, 255, 255), + (0, 0, 0), + (0, 0, 95), + (0, 0, 135), + (0, 0, 175), + (0, 0, 215), + (0, 0, 255), + (0, 95, 0), + (0, 95, 95), + (0, 95, 135), + (0, 95, 175), + (0, 95, 215), + (0, 95, 255), + (0, 135, 0), + (0, 135, 95), + (0, 135, 135), + (0, 135, 175), + (0, 135, 215), + (0, 135, 255), + (0, 175, 0), + (0, 175, 95), + (0, 175, 135), + (0, 175, 175), + (0, 175, 215), + (0, 175, 255), + (0, 215, 0), + (0, 215, 95), + (0, 215, 135), + (0, 215, 175), + (0, 215, 215), + (0, 215, 255), + (0, 255, 0), + (0, 255, 95), + (0, 255, 135), + (0, 255, 175), + (0, 255, 215), + (0, 255, 255), + (95, 0, 0), + (95, 0, 95), + (95, 0, 135), + (95, 0, 175), + (95, 0, 215), + (95, 0, 255), + (95, 95, 0), + (95, 95, 95), + (95, 95, 135), + (95, 95, 175), + (95, 95, 215), + (95, 95, 255), + (95, 135, 0), + (95, 135, 95), + (95, 135, 135), + (95, 135, 175), + (95, 135, 215), + (95, 135, 255), + (95, 175, 0), + (95, 175, 95), + (95, 175, 135), + (95, 175, 175), + (95, 175, 215), + (95, 175, 255), + (95, 215, 0), + (95, 215, 95), + (95, 215, 135), + (95, 215, 175), + (95, 215, 215), + (95, 215, 255), + (95, 255, 0), + (95, 255, 95), + (95, 255, 135), + (95, 255, 175), + (95, 255, 215), + (95, 255, 255), + (135, 0, 0), + (135, 0, 95), + (135, 0, 135), + (135, 0, 175), + (135, 0, 215), + (135, 0, 255), + (135, 95, 0), + (135, 95, 95), + (135, 95, 135), + (135, 95, 175), + (135, 95, 215), + (135, 95, 255), + (135, 135, 0), + (135, 135, 95), + (135, 135, 135), + (135, 135, 175), + (135, 135, 215), + (135, 135, 255), + (135, 175, 0), + (135, 175, 95), + (135, 175, 135), + (135, 175, 175), + (135, 175, 215), + (135, 175, 255), + (135, 215, 0), + (135, 215, 95), + (135, 215, 135), + (135, 215, 175), + (135, 215, 215), + (135, 215, 255), + (135, 255, 0), + (135, 255, 95), + (135, 255, 135), + (135, 255, 175), + (135, 255, 215), + (135, 255, 255), + (175, 0, 0), + (175, 0, 95), + (175, 0, 135), + (175, 0, 175), + (175, 0, 215), + (175, 0, 255), + (175, 95, 0), + (175, 95, 95), + (175, 95, 135), + (175, 95, 175), + (175, 95, 215), + (175, 95, 255), + (175, 135, 0), + (175, 135, 95), + (175, 135, 135), + (175, 135, 175), + (175, 135, 215), + (175, 135, 255), + (175, 175, 0), + (175, 175, 95), + (175, 175, 135), + (175, 175, 175), + (175, 175, 215), + (175, 175, 255), + (175, 215, 0), + (175, 215, 95), + (175, 215, 135), + (175, 215, 175), + (175, 215, 215), + (175, 215, 255), + (175, 255, 0), + (175, 255, 95), + (175, 255, 135), + (175, 255, 175), + (175, 255, 215), + (175, 255, 255), + (215, 0, 0), + (215, 0, 95), + (215, 0, 135), + (215, 0, 175), + (215, 0, 215), + (215, 0, 255), + (215, 95, 0), + (215, 95, 95), + (215, 95, 135), + (215, 95, 175), + (215, 95, 215), + (215, 95, 255), + (215, 135, 0), + (215, 135, 95), + (215, 135, 135), + (215, 135, 175), + (215, 135, 215), + (215, 135, 255), + (215, 175, 0), + (215, 175, 95), + (215, 175, 135), + (215, 175, 175), + (215, 175, 215), + (215, 175, 255), + (215, 215, 0), + (215, 215, 95), + (215, 215, 135), + (215, 215, 175), + (215, 215, 215), + (215, 215, 255), + (215, 255, 0), + (215, 255, 95), + (215, 255, 135), + (215, 255, 175), + (215, 255, 215), + (215, 255, 255), + (255, 0, 0), + (255, 0, 95), + (255, 0, 135), + (255, 0, 175), + (255, 0, 215), + (255, 0, 255), + (255, 95, 0), + (255, 95, 95), + (255, 95, 135), + (255, 95, 175), + (255, 95, 215), + (255, 95, 255), + (255, 135, 0), + (255, 135, 95), + (255, 135, 135), + (255, 135, 175), + (255, 135, 215), + (255, 135, 255), + (255, 175, 0), + (255, 175, 95), + (255, 175, 135), + (255, 175, 175), + (255, 175, 215), + (255, 175, 255), + (255, 215, 0), + (255, 215, 95), + (255, 215, 135), + (255, 215, 175), + (255, 215, 215), + (255, 215, 255), + (255, 255, 0), + (255, 255, 95), + (255, 255, 135), + (255, 255, 175), + (255, 255, 215), + (255, 255, 255), + (8, 8, 8), + (18, 18, 18), + (28, 28, 28), + (38, 38, 38), + (48, 48, 48), + (58, 58, 58), + (68, 68, 68), + (78, 78, 78), + (88, 88, 88), + (98, 98, 98), + (108, 108, 108), + (118, 118, 118), + (128, 128, 128), + (138, 138, 138), + (148, 148, 148), + (158, 158, 158), + (168, 168, 168), + (178, 178, 178), + (188, 188, 188), + (198, 198, 198), + (208, 208, 208), + (218, 218, 218), + (228, 228, 228), + (238, 238, 238), + ] +) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_pick.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_pick.py new file mode 100644 index 0000000000000000000000000000000000000000..4f6d8b2d79406012c5f8bae9c289ed5bf4d179cc --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_pick.py @@ -0,0 +1,17 @@ +from typing import Optional + + +def pick_bool(*values: Optional[bool]) -> bool: + """Pick the first non-none bool or return the last value. + + Args: + *values (bool): Any number of boolean or None values. + + Returns: + bool: First non-none boolean. + """ + assert values, "1 or more values required" + for value in values: + if value is not None: + return value + return bool(value) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_ratio.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_ratio.py new file mode 100644 index 0000000000000000000000000000000000000000..5fd5a383d22367f4167731465a12a74a20a8cda4 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_ratio.py @@ -0,0 +1,153 @@ +from fractions import Fraction +from math import ceil +from typing import cast, List, Optional, Sequence, Protocol + + +class Edge(Protocol): + """Any object that defines an edge (such as Layout).""" + + size: Optional[int] = None + ratio: int = 1 + minimum_size: int = 1 + + +def ratio_resolve(total: int, edges: Sequence[Edge]) -> List[int]: + """Divide total space to satisfy size, ratio, and minimum_size, constraints. + + The returned list of integers should add up to total in most cases, unless it is + impossible to satisfy all the constraints. For instance, if there are two edges + with a minimum size of 20 each and `total` is 30 then the returned list will be + greater than total. In practice, this would mean that a Layout object would + clip the rows that would overflow the screen height. + + Args: + total (int): Total number of characters. + edges (List[Edge]): Edges within total space. + + Returns: + List[int]: Number of characters for each edge. + """ + # Size of edge or None for yet to be determined + sizes = [(edge.size or None) for edge in edges] + + _Fraction = Fraction + + # While any edges haven't been calculated + while None in sizes: + # Get flexible edges and index to map these back on to sizes list + flexible_edges = [ + (index, edge) + for index, (size, edge) in enumerate(zip(sizes, edges)) + if size is None + ] + # Remaining space in total + remaining = total - sum(size or 0 for size in sizes) + if remaining <= 0: + # No room for flexible edges + return [ + ((edge.minimum_size or 1) if size is None else size) + for size, edge in zip(sizes, edges) + ] + # Calculate number of characters in a ratio portion + portion = _Fraction( + remaining, sum((edge.ratio or 1) for _, edge in flexible_edges) + ) + + # If any edges will be less than their minimum, replace size with the minimum + for index, edge in flexible_edges: + if portion * edge.ratio <= edge.minimum_size: + sizes[index] = edge.minimum_size + # New fixed size will invalidate calculations, so we need to repeat the process + break + else: + # Distribute flexible space and compensate for rounding error + # Since edge sizes can only be integers we need to add the remainder + # to the following line + remainder = _Fraction(0) + for index, edge in flexible_edges: + size, remainder = divmod(portion * edge.ratio + remainder, 1) + sizes[index] = size + break + # Sizes now contains integers only + return cast(List[int], sizes) + + +def ratio_reduce( + total: int, ratios: List[int], maximums: List[int], values: List[int] +) -> List[int]: + """Divide an integer total in to parts based on ratios. + + Args: + total (int): The total to divide. + ratios (List[int]): A list of integer ratios. + maximums (List[int]): List of maximums values for each slot. + values (List[int]): List of values + + Returns: + List[int]: A list of integers guaranteed to sum to total. + """ + ratios = [ratio if _max else 0 for ratio, _max in zip(ratios, maximums)] + total_ratio = sum(ratios) + if not total_ratio: + return values[:] + total_remaining = total + result: List[int] = [] + append = result.append + for ratio, maximum, value in zip(ratios, maximums, values): + if ratio and total_ratio > 0: + distributed = min(maximum, round(ratio * total_remaining / total_ratio)) + append(value - distributed) + total_remaining -= distributed + total_ratio -= ratio + else: + append(value) + return result + + +def ratio_distribute( + total: int, ratios: List[int], minimums: Optional[List[int]] = None +) -> List[int]: + """Distribute an integer total in to parts based on ratios. + + Args: + total (int): The total to divide. + ratios (List[int]): A list of integer ratios. + minimums (List[int]): List of minimum values for each slot. + + Returns: + List[int]: A list of integers guaranteed to sum to total. + """ + if minimums: + ratios = [ratio if _min else 0 for ratio, _min in zip(ratios, minimums)] + total_ratio = sum(ratios) + assert total_ratio > 0, "Sum of ratios must be > 0" + + total_remaining = total + distributed_total: List[int] = [] + append = distributed_total.append + if minimums is None: + _minimums = [0] * len(ratios) + else: + _minimums = minimums + for ratio, minimum in zip(ratios, _minimums): + if total_ratio > 0: + distributed = max(minimum, ceil(ratio * total_remaining / total_ratio)) + else: + distributed = total_remaining + append(distributed) + total_ratio -= ratio + total_remaining -= distributed + return distributed_total + + +if __name__ == "__main__": + from dataclasses import dataclass + + @dataclass + class E: + size: Optional[int] = None + ratio: int = 1 + minimum_size: int = 1 + + resolved = ratio_resolve(110, [E(None, 1, 1), E(None, 1, 1), E(None, 1, 1)]) + print(sum(resolved)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_spinners.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_spinners.py new file mode 100644 index 0000000000000000000000000000000000000000..d0bb1fe751677f0ee83fc6bb876ed72443fdcde7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_spinners.py @@ -0,0 +1,482 @@ +""" +Spinners are from: +* cli-spinners: + MIT License + Copyright (c) Sindre Sorhus (sindresorhus.com) + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. +""" + +SPINNERS = { + "dots": { + "interval": 80, + "frames": "⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏", + }, + "dots2": {"interval": 80, "frames": "⣾⣽⣻⢿⡿⣟⣯⣷"}, + "dots3": { + "interval": 80, + "frames": "⠋⠙⠚⠞⠖⠦⠴⠲⠳⠓", + }, + "dots4": { + "interval": 80, + "frames": "⠄⠆⠇⠋⠙⠸⠰⠠⠰⠸⠙⠋⠇⠆", + }, + "dots5": { + "interval": 80, + "frames": "⠋⠙⠚⠒⠂⠂⠒⠲⠴⠦⠖⠒⠐⠐⠒⠓⠋", + }, + "dots6": { + "interval": 80, + "frames": "⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠴⠲⠒⠂⠂⠒⠚⠙⠉⠁", + }, + "dots7": { + "interval": 80, + "frames": "⠈⠉⠋⠓⠒⠐⠐⠒⠖⠦⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈", + }, + "dots8": { + "interval": 80, + "frames": "⠁⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈⠈", + }, + "dots9": {"interval": 80, "frames": "⢹⢺⢼⣸⣇⡧⡗⡏"}, + "dots10": {"interval": 80, "frames": "⢄⢂⢁⡁⡈⡐⡠"}, + "dots11": {"interval": 100, "frames": "⠁⠂⠄⡀⢀⠠⠐⠈"}, + "dots12": { + "interval": 80, + "frames": [ + "⢀⠀", + "⡀⠀", + "⠄⠀", + "⢂⠀", + "⡂⠀", + "⠅⠀", + "⢃⠀", + "⡃⠀", + "⠍⠀", + "⢋⠀", + "⡋⠀", + "⠍⠁", + "⢋⠁", + "⡋⠁", + "⠍⠉", + "⠋⠉", + "⠋⠉", + "⠉⠙", + "⠉⠙", + "⠉⠩", + "⠈⢙", + "⠈⡙", + "⢈⠩", + "⡀⢙", + "⠄⡙", + "⢂⠩", + "⡂⢘", + "⠅⡘", + "⢃⠨", + "⡃⢐", + "⠍⡐", + "⢋⠠", + "⡋⢀", + "⠍⡁", + "⢋⠁", + "⡋⠁", + "⠍⠉", + "⠋⠉", + "⠋⠉", + "⠉⠙", + "⠉⠙", + "⠉⠩", + "⠈⢙", + "⠈⡙", + "⠈⠩", + "⠀⢙", + "⠀⡙", + "⠀⠩", + "⠀⢘", + "⠀⡘", + "⠀⠨", + "⠀⢐", + "⠀⡐", + "⠀⠠", + "⠀⢀", + "⠀⡀", + ], + }, + "dots8Bit": { + "interval": 80, + "frames": "⠀⠁⠂⠃⠄⠅⠆⠇⡀⡁⡂⡃⡄⡅⡆⡇⠈⠉⠊⠋⠌⠍⠎⠏⡈⡉⡊⡋⡌⡍⡎⡏⠐⠑⠒⠓⠔⠕⠖⠗⡐⡑⡒⡓⡔⡕⡖⡗⠘⠙⠚⠛⠜⠝⠞⠟⡘⡙" + "⡚⡛⡜⡝⡞⡟⠠⠡⠢⠣⠤⠥⠦⠧⡠⡡⡢⡣⡤⡥⡦⡧⠨⠩⠪⠫⠬⠭⠮⠯⡨⡩⡪⡫⡬⡭⡮⡯⠰⠱⠲⠳⠴⠵⠶⠷⡰⡱⡲⡳⡴⡵⡶⡷⠸⠹⠺⠻" + "⠼⠽⠾⠿⡸⡹⡺⡻⡼⡽⡾⡿⢀⢁⢂⢃⢄⢅⢆⢇⣀⣁⣂⣃⣄⣅⣆⣇⢈⢉⢊⢋⢌⢍⢎⢏⣈⣉⣊⣋⣌⣍⣎⣏⢐⢑⢒⢓⢔⢕⢖⢗⣐⣑⣒⣓⣔⣕" + "⣖⣗⢘⢙⢚⢛⢜⢝⢞⢟⣘⣙⣚⣛⣜⣝⣞⣟⢠⢡⢢⢣⢤⢥⢦⢧⣠⣡⣢⣣⣤⣥⣦⣧⢨⢩⢪⢫⢬⢭⢮⢯⣨⣩⣪⣫⣬⣭⣮⣯⢰⢱⢲⢳⢴⢵⢶⢷" + "⣰⣱⣲⣳⣴⣵⣶⣷⢸⢹⢺⢻⢼⢽⢾⢿⣸⣹⣺⣻⣼⣽⣾⣿", + }, + "line": {"interval": 130, "frames": ["-", "\\", "|", "/"]}, + "line2": {"interval": 100, "frames": "⠂-–—–-"}, + "pipe": {"interval": 100, "frames": "┤┘┴└├┌┬┐"}, + "simpleDots": {"interval": 400, "frames": [". ", ".. ", "...", " "]}, + "simpleDotsScrolling": { + "interval": 200, + "frames": [". ", ".. ", "...", " ..", " .", " "], + }, + "star": {"interval": 70, "frames": "✶✸✹✺✹✷"}, + "star2": {"interval": 80, "frames": "+x*"}, + "flip": { + "interval": 70, + "frames": "___-``'´-___", + }, + "hamburger": {"interval": 100, "frames": "☱☲☴"}, + "growVertical": { + "interval": 120, + "frames": "▁▃▄▅▆▇▆▅▄▃", + }, + "growHorizontal": { + "interval": 120, + "frames": "▏▎▍▌▋▊▉▊▋▌▍▎", + }, + "balloon": {"interval": 140, "frames": " .oO@* "}, + "balloon2": {"interval": 120, "frames": ".oO°Oo."}, + "noise": {"interval": 100, "frames": "▓▒░"}, + "bounce": {"interval": 120, "frames": "⠁⠂⠄⠂"}, + "boxBounce": {"interval": 120, "frames": "▖▘▝▗"}, + "boxBounce2": {"interval": 100, "frames": "▌▀▐▄"}, + "triangle": {"interval": 50, "frames": "◢◣◤◥"}, + "arc": {"interval": 100, "frames": "◜◠◝◞◡◟"}, + "circle": {"interval": 120, "frames": "◡⊙◠"}, + "squareCorners": {"interval": 180, "frames": "◰◳◲◱"}, + "circleQuarters": {"interval": 120, "frames": "◴◷◶◵"}, + "circleHalves": {"interval": 50, "frames": "◐◓◑◒"}, + "squish": {"interval": 100, "frames": "╫╪"}, + "toggle": {"interval": 250, "frames": "⊶⊷"}, + "toggle2": {"interval": 80, "frames": "▫▪"}, + "toggle3": {"interval": 120, "frames": "□■"}, + "toggle4": {"interval": 100, "frames": "■□▪▫"}, + "toggle5": {"interval": 100, "frames": "▮▯"}, + "toggle6": {"interval": 300, "frames": "ဝ၀"}, + "toggle7": {"interval": 80, "frames": "⦾⦿"}, + "toggle8": {"interval": 100, "frames": "◍◌"}, + "toggle9": {"interval": 100, "frames": "◉◎"}, + "toggle10": {"interval": 100, "frames": "㊂㊀㊁"}, + "toggle11": {"interval": 50, "frames": "⧇⧆"}, + "toggle12": {"interval": 120, "frames": "☗☖"}, + "toggle13": {"interval": 80, "frames": "=*-"}, + "arrow": {"interval": 100, "frames": "←↖↑↗→↘↓↙"}, + "arrow2": { + "interval": 80, + "frames": ["⬆️ ", "↗️ ", "➡️ ", "↘️ ", "⬇️ ", "↙️ ", "⬅️ ", "↖️ "], + }, + "arrow3": { + "interval": 120, + "frames": ["▹▹▹▹▹", "▸▹▹▹▹", "▹▸▹▹▹", "▹▹▸▹▹", "▹▹▹▸▹", "▹▹▹▹▸"], + }, + "bouncingBar": { + "interval": 80, + "frames": [ + "[ ]", + "[= ]", + "[== ]", + "[=== ]", + "[ ===]", + "[ ==]", + "[ =]", + "[ ]", + "[ =]", + "[ ==]", + "[ ===]", + "[====]", + "[=== ]", + "[== ]", + "[= ]", + ], + }, + "bouncingBall": { + "interval": 80, + "frames": [ + "( ● )", + "( ● )", + "( ● )", + "( ● )", + "( ●)", + "( ● )", + "( ● )", + "( ● )", + "( ● )", + "(● )", + ], + }, + "smiley": {"interval": 200, "frames": ["😄 ", "😝 "]}, + "monkey": {"interval": 300, "frames": ["🙈 ", "🙈 ", "🙉 ", "🙊 "]}, + "hearts": {"interval": 100, "frames": ["💛 ", "💙 ", "💜 ", "💚 ", "❤️ "]}, + "clock": { + "interval": 100, + "frames": [ + "🕛 ", + "🕐 ", + "🕑 ", + "🕒 ", + "🕓 ", + "🕔 ", + "🕕 ", + "🕖 ", + "🕗 ", + "🕘 ", + "🕙 ", + "🕚 ", + ], + }, + "earth": {"interval": 180, "frames": ["🌍 ", "🌎 ", "🌏 "]}, + "material": { + "interval": 17, + "frames": [ + "█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "███████▁▁▁▁▁▁▁▁▁▁▁▁▁", + "████████▁▁▁▁▁▁▁▁▁▁▁▁", + "█████████▁▁▁▁▁▁▁▁▁▁▁", + "█████████▁▁▁▁▁▁▁▁▁▁▁", + "██████████▁▁▁▁▁▁▁▁▁▁", + "███████████▁▁▁▁▁▁▁▁▁", + "█████████████▁▁▁▁▁▁▁", + "██████████████▁▁▁▁▁▁", + "██████████████▁▁▁▁▁▁", + "▁██████████████▁▁▁▁▁", + "▁██████████████▁▁▁▁▁", + "▁██████████████▁▁▁▁▁", + "▁▁██████████████▁▁▁▁", + "▁▁▁██████████████▁▁▁", + "▁▁▁▁█████████████▁▁▁", + "▁▁▁▁██████████████▁▁", + "▁▁▁▁██████████████▁▁", + "▁▁▁▁▁██████████████▁", + "▁▁▁▁▁██████████████▁", + "▁▁▁▁▁██████████████▁", + "▁▁▁▁▁▁██████████████", + "▁▁▁▁▁▁██████████████", + "▁▁▁▁▁▁▁█████████████", + "▁▁▁▁▁▁▁█████████████", + "▁▁▁▁▁▁▁▁████████████", + "▁▁▁▁▁▁▁▁████████████", + "▁▁▁▁▁▁▁▁▁███████████", + "▁▁▁▁▁▁▁▁▁███████████", + "▁▁▁▁▁▁▁▁▁▁██████████", + "▁▁▁▁▁▁▁▁▁▁██████████", + "▁▁▁▁▁▁▁▁▁▁▁▁████████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁███████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████", + "█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████", + "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", + "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", + "███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", + "████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██", + "█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█", + "█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█", + "██████▁▁▁▁▁▁▁▁▁▁▁▁▁█", + "████████▁▁▁▁▁▁▁▁▁▁▁▁", + "█████████▁▁▁▁▁▁▁▁▁▁▁", + "█████████▁▁▁▁▁▁▁▁▁▁▁", + "█████████▁▁▁▁▁▁▁▁▁▁▁", + "█████████▁▁▁▁▁▁▁▁▁▁▁", + "███████████▁▁▁▁▁▁▁▁▁", + "████████████▁▁▁▁▁▁▁▁", + "████████████▁▁▁▁▁▁▁▁", + "██████████████▁▁▁▁▁▁", + "██████████████▁▁▁▁▁▁", + "▁██████████████▁▁▁▁▁", + "▁██████████████▁▁▁▁▁", + "▁▁▁█████████████▁▁▁▁", + "▁▁▁▁▁████████████▁▁▁", + "▁▁▁▁▁████████████▁▁▁", + "▁▁▁▁▁▁███████████▁▁▁", + "▁▁▁▁▁▁▁▁█████████▁▁▁", + "▁▁▁▁▁▁▁▁█████████▁▁▁", + "▁▁▁▁▁▁▁▁▁█████████▁▁", + "▁▁▁▁▁▁▁▁▁█████████▁▁", + "▁▁▁▁▁▁▁▁▁▁█████████▁", + "▁▁▁▁▁▁▁▁▁▁▁████████▁", + "▁▁▁▁▁▁▁▁▁▁▁████████▁", + "▁▁▁▁▁▁▁▁▁▁▁▁███████▁", + "▁▁▁▁▁▁▁▁▁▁▁▁███████▁", + "▁▁▁▁▁▁▁▁▁▁▁▁▁███████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁███████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁", + ], + }, + "moon": { + "interval": 80, + "frames": ["🌑 ", "🌒 ", "🌓 ", "🌔 ", "🌕 ", "🌖 ", "🌗 ", "🌘 "], + }, + "runner": {"interval": 140, "frames": ["🚶 ", "🏃 "]}, + "pong": { + "interval": 80, + "frames": [ + "▐⠂ ▌", + "▐⠈ ▌", + "▐ ⠂ ▌", + "▐ ⠠ ▌", + "▐ ⡀ ▌", + "▐ ⠠ ▌", + "▐ ⠂ ▌", + "▐ ⠈ ▌", + "▐ ⠂ ▌", + "▐ ⠠ ▌", + "▐ ⡀ ▌", + "▐ ⠠ ▌", + "▐ ⠂ ▌", + "▐ ⠈ ▌", + "▐ ⠂▌", + "▐ ⠠▌", + "▐ ⡀▌", + "▐ ⠠ ▌", + "▐ ⠂ ▌", + "▐ ⠈ ▌", + "▐ ⠂ ▌", + "▐ ⠠ ▌", + "▐ ⡀ ▌", + "▐ ⠠ ▌", + "▐ ⠂ ▌", + "▐ ⠈ ▌", + "▐ ⠂ ▌", + "▐ ⠠ ▌", + "▐ ⡀ ▌", + "▐⠠ ▌", + ], + }, + "shark": { + "interval": 120, + "frames": [ + "▐|\\____________▌", + "▐_|\\___________▌", + "▐__|\\__________▌", + "▐___|\\_________▌", + "▐____|\\________▌", + "▐_____|\\_______▌", + "▐______|\\______▌", + "▐_______|\\_____▌", + "▐________|\\____▌", + "▐_________|\\___▌", + "▐__________|\\__▌", + "▐___________|\\_▌", + "▐____________|\\▌", + "▐____________/|▌", + "▐___________/|_▌", + "▐__________/|__▌", + "▐_________/|___▌", + "▐________/|____▌", + "▐_______/|_____▌", + "▐______/|______▌", + "▐_____/|_______▌", + "▐____/|________▌", + "▐___/|_________▌", + "▐__/|__________▌", + "▐_/|___________▌", + "▐/|____________▌", + ], + }, + "dqpb": {"interval": 100, "frames": "dqpb"}, + "weather": { + "interval": 100, + "frames": [ + "☀️ ", + "☀️ ", + "☀️ ", + "🌤 ", + "⛅️ ", + "🌥 ", + "☁️ ", + "🌧 ", + "🌨 ", + "🌧 ", + "🌨 ", + "🌧 ", + "🌨 ", + "⛈ ", + "🌨 ", + "🌧 ", + "🌨 ", + "☁️ ", + "🌥 ", + "⛅️ ", + "🌤 ", + "☀️ ", + "☀️ ", + ], + }, + "christmas": {"interval": 400, "frames": "🌲🎄"}, + "grenade": { + "interval": 80, + "frames": [ + "، ", + "′ ", + " ´ ", + " ‾ ", + " ⸌", + " ⸊", + " |", + " ⁎", + " ⁕", + " ෴ ", + " ⁓", + " ", + " ", + " ", + ], + }, + "point": {"interval": 125, "frames": ["∙∙∙", "●∙∙", "∙●∙", "∙∙●", "∙∙∙"]}, + "layer": {"interval": 150, "frames": "-=≡"}, + "betaWave": { + "interval": 80, + "frames": [ + "ρββββββ", + "βρβββββ", + "ββρββββ", + "βββρβββ", + "ββββρββ", + "βββββρβ", + "ββββββρ", + ], + }, + "aesthetic": { + "interval": 80, + "frames": [ + "▰▱▱▱▱▱▱", + "▰▰▱▱▱▱▱", + "▰▰▰▱▱▱▱", + "▰▰▰▰▱▱▱", + "▰▰▰▰▰▱▱", + "▰▰▰▰▰▰▱", + "▰▰▰▰▰▰▰", + "▰▱▱▱▱▱▱", + ], + }, +} diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_stack.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_stack.py new file mode 100644 index 0000000000000000000000000000000000000000..194564e761ddae165b39ef6598877e2e3820af0a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_stack.py @@ -0,0 +1,16 @@ +from typing import List, TypeVar + +T = TypeVar("T") + + +class Stack(List[T]): + """A small shim over builtin list.""" + + @property + def top(self) -> T: + """Get top of stack.""" + return self[-1] + + def push(self, item: T) -> None: + """Push an item on to the stack (append in stack nomenclature).""" + self.append(item) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_timer.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_timer.py new file mode 100644 index 0000000000000000000000000000000000000000..a2ca6be03c43054caaa3660998273ebf704345dd --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_timer.py @@ -0,0 +1,19 @@ +""" +Timer context manager, only used in debug. + +""" + +from time import time + +import contextlib +from typing import Generator + + +@contextlib.contextmanager +def timer(subject: str = "time") -> Generator[None, None, None]: + """print the elapsed time. (only used in debugging)""" + start = time() + yield + elapsed = time() - start + elapsed_ms = elapsed * 1000 + print(f"{subject} elapsed {elapsed_ms:.1f}ms") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_win32_console.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_win32_console.py new file mode 100644 index 0000000000000000000000000000000000000000..2eba1b9b4ab8492d1c2174905e4cbaf1ff185eca --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_win32_console.py @@ -0,0 +1,661 @@ +"""Light wrapper around the Win32 Console API - this module should only be imported on Windows + +The API that this module wraps is documented at https://docs.microsoft.com/en-us/windows/console/console-functions +""" + +import ctypes +import sys +from typing import Any + +windll: Any = None +if sys.platform == "win32": + windll = ctypes.LibraryLoader(ctypes.WinDLL) +else: + raise ImportError(f"{__name__} can only be imported on Windows") + +import time +from ctypes import Structure, byref, wintypes +from typing import IO, NamedTuple, Type, cast + +from pip._vendor.rich.color import ColorSystem +from pip._vendor.rich.style import Style + +STDOUT = -11 +ENABLE_VIRTUAL_TERMINAL_PROCESSING = 4 + +COORD = wintypes._COORD + + +class LegacyWindowsError(Exception): + pass + + +class WindowsCoordinates(NamedTuple): + """Coordinates in the Windows Console API are (y, x), not (x, y). + This class is intended to prevent that confusion. + Rows and columns are indexed from 0. + This class can be used in place of wintypes._COORD in arguments and argtypes. + """ + + row: int + col: int + + @classmethod + def from_param(cls, value: "WindowsCoordinates") -> COORD: + """Converts a WindowsCoordinates into a wintypes _COORD structure. + This classmethod is internally called by ctypes to perform the conversion. + + Args: + value (WindowsCoordinates): The input coordinates to convert. + + Returns: + wintypes._COORD: The converted coordinates struct. + """ + return COORD(value.col, value.row) + + +class CONSOLE_SCREEN_BUFFER_INFO(Structure): + _fields_ = [ + ("dwSize", COORD), + ("dwCursorPosition", COORD), + ("wAttributes", wintypes.WORD), + ("srWindow", wintypes.SMALL_RECT), + ("dwMaximumWindowSize", COORD), + ] + + +class CONSOLE_CURSOR_INFO(ctypes.Structure): + _fields_ = [("dwSize", wintypes.DWORD), ("bVisible", wintypes.BOOL)] + + +_GetStdHandle = windll.kernel32.GetStdHandle +_GetStdHandle.argtypes = [ + wintypes.DWORD, +] +_GetStdHandle.restype = wintypes.HANDLE + + +def GetStdHandle(handle: int = STDOUT) -> wintypes.HANDLE: + """Retrieves a handle to the specified standard device (standard input, standard output, or standard error). + + Args: + handle (int): Integer identifier for the handle. Defaults to -11 (stdout). + + Returns: + wintypes.HANDLE: The handle + """ + return cast(wintypes.HANDLE, _GetStdHandle(handle)) + + +_GetConsoleMode = windll.kernel32.GetConsoleMode +_GetConsoleMode.argtypes = [wintypes.HANDLE, wintypes.LPDWORD] +_GetConsoleMode.restype = wintypes.BOOL + + +def GetConsoleMode(std_handle: wintypes.HANDLE) -> int: + """Retrieves the current input mode of a console's input buffer + or the current output mode of a console screen buffer. + + Args: + std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer. + + Raises: + LegacyWindowsError: If any error occurs while calling the Windows console API. + + Returns: + int: Value representing the current console mode as documented at + https://docs.microsoft.com/en-us/windows/console/getconsolemode#parameters + """ + + console_mode = wintypes.DWORD() + success = bool(_GetConsoleMode(std_handle, console_mode)) + if not success: + raise LegacyWindowsError("Unable to get legacy Windows Console Mode") + return console_mode.value + + +_FillConsoleOutputCharacterW = windll.kernel32.FillConsoleOutputCharacterW +_FillConsoleOutputCharacterW.argtypes = [ + wintypes.HANDLE, + ctypes.c_char, + wintypes.DWORD, + cast(Type[COORD], WindowsCoordinates), + ctypes.POINTER(wintypes.DWORD), +] +_FillConsoleOutputCharacterW.restype = wintypes.BOOL + + +def FillConsoleOutputCharacter( + std_handle: wintypes.HANDLE, + char: str, + length: int, + start: WindowsCoordinates, +) -> int: + """Writes a character to the console screen buffer a specified number of times, beginning at the specified coordinates. + + Args: + std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer. + char (str): The character to write. Must be a string of length 1. + length (int): The number of times to write the character. + start (WindowsCoordinates): The coordinates to start writing at. + + Returns: + int: The number of characters written. + """ + character = ctypes.c_char(char.encode()) + num_characters = wintypes.DWORD(length) + num_written = wintypes.DWORD(0) + _FillConsoleOutputCharacterW( + std_handle, + character, + num_characters, + start, + byref(num_written), + ) + return num_written.value + + +_FillConsoleOutputAttribute = windll.kernel32.FillConsoleOutputAttribute +_FillConsoleOutputAttribute.argtypes = [ + wintypes.HANDLE, + wintypes.WORD, + wintypes.DWORD, + cast(Type[COORD], WindowsCoordinates), + ctypes.POINTER(wintypes.DWORD), +] +_FillConsoleOutputAttribute.restype = wintypes.BOOL + + +def FillConsoleOutputAttribute( + std_handle: wintypes.HANDLE, + attributes: int, + length: int, + start: WindowsCoordinates, +) -> int: + """Sets the character attributes for a specified number of character cells, + beginning at the specified coordinates in a screen buffer. + + Args: + std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer. + attributes (int): Integer value representing the foreground and background colours of the cells. + length (int): The number of cells to set the output attribute of. + start (WindowsCoordinates): The coordinates of the first cell whose attributes are to be set. + + Returns: + int: The number of cells whose attributes were actually set. + """ + num_cells = wintypes.DWORD(length) + style_attrs = wintypes.WORD(attributes) + num_written = wintypes.DWORD(0) + _FillConsoleOutputAttribute( + std_handle, style_attrs, num_cells, start, byref(num_written) + ) + return num_written.value + + +_SetConsoleTextAttribute = windll.kernel32.SetConsoleTextAttribute +_SetConsoleTextAttribute.argtypes = [ + wintypes.HANDLE, + wintypes.WORD, +] +_SetConsoleTextAttribute.restype = wintypes.BOOL + + +def SetConsoleTextAttribute( + std_handle: wintypes.HANDLE, attributes: wintypes.WORD +) -> bool: + """Set the colour attributes for all text written after this function is called. + + Args: + std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer. + attributes (int): Integer value representing the foreground and background colours. + + + Returns: + bool: True if the attribute was set successfully, otherwise False. + """ + return bool(_SetConsoleTextAttribute(std_handle, attributes)) + + +_GetConsoleScreenBufferInfo = windll.kernel32.GetConsoleScreenBufferInfo +_GetConsoleScreenBufferInfo.argtypes = [ + wintypes.HANDLE, + ctypes.POINTER(CONSOLE_SCREEN_BUFFER_INFO), +] +_GetConsoleScreenBufferInfo.restype = wintypes.BOOL + + +def GetConsoleScreenBufferInfo( + std_handle: wintypes.HANDLE, +) -> CONSOLE_SCREEN_BUFFER_INFO: + """Retrieves information about the specified console screen buffer. + + Args: + std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer. + + Returns: + CONSOLE_SCREEN_BUFFER_INFO: A CONSOLE_SCREEN_BUFFER_INFO ctype struct contain information about + screen size, cursor position, colour attributes, and more.""" + console_screen_buffer_info = CONSOLE_SCREEN_BUFFER_INFO() + _GetConsoleScreenBufferInfo(std_handle, byref(console_screen_buffer_info)) + return console_screen_buffer_info + + +_SetConsoleCursorPosition = windll.kernel32.SetConsoleCursorPosition +_SetConsoleCursorPosition.argtypes = [ + wintypes.HANDLE, + cast(Type[COORD], WindowsCoordinates), +] +_SetConsoleCursorPosition.restype = wintypes.BOOL + + +def SetConsoleCursorPosition( + std_handle: wintypes.HANDLE, coords: WindowsCoordinates +) -> bool: + """Set the position of the cursor in the console screen + + Args: + std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer. + coords (WindowsCoordinates): The coordinates to move the cursor to. + + Returns: + bool: True if the function succeeds, otherwise False. + """ + return bool(_SetConsoleCursorPosition(std_handle, coords)) + + +_GetConsoleCursorInfo = windll.kernel32.GetConsoleCursorInfo +_GetConsoleCursorInfo.argtypes = [ + wintypes.HANDLE, + ctypes.POINTER(CONSOLE_CURSOR_INFO), +] +_GetConsoleCursorInfo.restype = wintypes.BOOL + + +def GetConsoleCursorInfo( + std_handle: wintypes.HANDLE, cursor_info: CONSOLE_CURSOR_INFO +) -> bool: + """Get the cursor info - used to get cursor visibility and width + + Args: + std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer. + cursor_info (CONSOLE_CURSOR_INFO): CONSOLE_CURSOR_INFO ctype struct that receives information + about the console's cursor. + + Returns: + bool: True if the function succeeds, otherwise False. + """ + return bool(_GetConsoleCursorInfo(std_handle, byref(cursor_info))) + + +_SetConsoleCursorInfo = windll.kernel32.SetConsoleCursorInfo +_SetConsoleCursorInfo.argtypes = [ + wintypes.HANDLE, + ctypes.POINTER(CONSOLE_CURSOR_INFO), +] +_SetConsoleCursorInfo.restype = wintypes.BOOL + + +def SetConsoleCursorInfo( + std_handle: wintypes.HANDLE, cursor_info: CONSOLE_CURSOR_INFO +) -> bool: + """Set the cursor info - used for adjusting cursor visibility and width + + Args: + std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer. + cursor_info (CONSOLE_CURSOR_INFO): CONSOLE_CURSOR_INFO ctype struct containing the new cursor info. + + Returns: + bool: True if the function succeeds, otherwise False. + """ + return bool(_SetConsoleCursorInfo(std_handle, byref(cursor_info))) + + +_SetConsoleTitle = windll.kernel32.SetConsoleTitleW +_SetConsoleTitle.argtypes = [wintypes.LPCWSTR] +_SetConsoleTitle.restype = wintypes.BOOL + + +def SetConsoleTitle(title: str) -> bool: + """Sets the title of the current console window + + Args: + title (str): The new title of the console window. + + Returns: + bool: True if the function succeeds, otherwise False. + """ + return bool(_SetConsoleTitle(title)) + + +class LegacyWindowsTerm: + """This class allows interaction with the legacy Windows Console API. It should only be used in the context + of environments where virtual terminal processing is not available. However, if it is used in a Windows environment, + the entire API should work. + + Args: + file (IO[str]): The file which the Windows Console API HANDLE is retrieved from, defaults to sys.stdout. + """ + + BRIGHT_BIT = 8 + + # Indices are ANSI color numbers, values are the corresponding Windows Console API color numbers + ANSI_TO_WINDOWS = [ + 0, # black The Windows colours are defined in wincon.h as follows: + 4, # red define FOREGROUND_BLUE 0x0001 -- 0000 0001 + 2, # green define FOREGROUND_GREEN 0x0002 -- 0000 0010 + 6, # yellow define FOREGROUND_RED 0x0004 -- 0000 0100 + 1, # blue define FOREGROUND_INTENSITY 0x0008 -- 0000 1000 + 5, # magenta define BACKGROUND_BLUE 0x0010 -- 0001 0000 + 3, # cyan define BACKGROUND_GREEN 0x0020 -- 0010 0000 + 7, # white define BACKGROUND_RED 0x0040 -- 0100 0000 + 8, # bright black (grey) define BACKGROUND_INTENSITY 0x0080 -- 1000 0000 + 12, # bright red + 10, # bright green + 14, # bright yellow + 9, # bright blue + 13, # bright magenta + 11, # bright cyan + 15, # bright white + ] + + def __init__(self, file: "IO[str]") -> None: + handle = GetStdHandle(STDOUT) + self._handle = handle + default_text = GetConsoleScreenBufferInfo(handle).wAttributes + self._default_text = default_text + + self._default_fore = default_text & 7 + self._default_back = (default_text >> 4) & 7 + self._default_attrs = self._default_fore | (self._default_back << 4) + + self._file = file + self.write = file.write + self.flush = file.flush + + @property + def cursor_position(self) -> WindowsCoordinates: + """Returns the current position of the cursor (0-based) + + Returns: + WindowsCoordinates: The current cursor position. + """ + coord: COORD = GetConsoleScreenBufferInfo(self._handle).dwCursorPosition + return WindowsCoordinates(row=coord.Y, col=coord.X) + + @property + def screen_size(self) -> WindowsCoordinates: + """Returns the current size of the console screen buffer, in character columns and rows + + Returns: + WindowsCoordinates: The width and height of the screen as WindowsCoordinates. + """ + screen_size: COORD = GetConsoleScreenBufferInfo(self._handle).dwSize + return WindowsCoordinates(row=screen_size.Y, col=screen_size.X) + + def write_text(self, text: str) -> None: + """Write text directly to the terminal without any modification of styles + + Args: + text (str): The text to write to the console + """ + self.write(text) + self.flush() + + def write_styled(self, text: str, style: Style) -> None: + """Write styled text to the terminal. + + Args: + text (str): The text to write + style (Style): The style of the text + """ + color = style.color + bgcolor = style.bgcolor + if style.reverse: + color, bgcolor = bgcolor, color + + if color: + fore = color.downgrade(ColorSystem.WINDOWS).number + fore = fore if fore is not None else 7 # Default to ANSI 7: White + if style.bold: + fore = fore | self.BRIGHT_BIT + if style.dim: + fore = fore & ~self.BRIGHT_BIT + fore = self.ANSI_TO_WINDOWS[fore] + else: + fore = self._default_fore + + if bgcolor: + back = bgcolor.downgrade(ColorSystem.WINDOWS).number + back = back if back is not None else 0 # Default to ANSI 0: Black + back = self.ANSI_TO_WINDOWS[back] + else: + back = self._default_back + + assert fore is not None + assert back is not None + + SetConsoleTextAttribute( + self._handle, attributes=ctypes.c_ushort(fore | (back << 4)) + ) + self.write_text(text) + SetConsoleTextAttribute(self._handle, attributes=self._default_text) + + def move_cursor_to(self, new_position: WindowsCoordinates) -> None: + """Set the position of the cursor + + Args: + new_position (WindowsCoordinates): The WindowsCoordinates representing the new position of the cursor. + """ + if new_position.col < 0 or new_position.row < 0: + return + SetConsoleCursorPosition(self._handle, coords=new_position) + + def erase_line(self) -> None: + """Erase all content on the line the cursor is currently located at""" + screen_size = self.screen_size + cursor_position = self.cursor_position + cells_to_erase = screen_size.col + start_coordinates = WindowsCoordinates(row=cursor_position.row, col=0) + FillConsoleOutputCharacter( + self._handle, " ", length=cells_to_erase, start=start_coordinates + ) + FillConsoleOutputAttribute( + self._handle, + self._default_attrs, + length=cells_to_erase, + start=start_coordinates, + ) + + def erase_end_of_line(self) -> None: + """Erase all content from the cursor position to the end of that line""" + cursor_position = self.cursor_position + cells_to_erase = self.screen_size.col - cursor_position.col + FillConsoleOutputCharacter( + self._handle, " ", length=cells_to_erase, start=cursor_position + ) + FillConsoleOutputAttribute( + self._handle, + self._default_attrs, + length=cells_to_erase, + start=cursor_position, + ) + + def erase_start_of_line(self) -> None: + """Erase all content from the cursor position to the start of that line""" + row, col = self.cursor_position + start = WindowsCoordinates(row, 0) + FillConsoleOutputCharacter(self._handle, " ", length=col, start=start) + FillConsoleOutputAttribute( + self._handle, self._default_attrs, length=col, start=start + ) + + def move_cursor_up(self) -> None: + """Move the cursor up a single cell""" + cursor_position = self.cursor_position + SetConsoleCursorPosition( + self._handle, + coords=WindowsCoordinates( + row=cursor_position.row - 1, col=cursor_position.col + ), + ) + + def move_cursor_down(self) -> None: + """Move the cursor down a single cell""" + cursor_position = self.cursor_position + SetConsoleCursorPosition( + self._handle, + coords=WindowsCoordinates( + row=cursor_position.row + 1, + col=cursor_position.col, + ), + ) + + def move_cursor_forward(self) -> None: + """Move the cursor forward a single cell. Wrap to the next line if required.""" + row, col = self.cursor_position + if col == self.screen_size.col - 1: + row += 1 + col = 0 + else: + col += 1 + SetConsoleCursorPosition( + self._handle, coords=WindowsCoordinates(row=row, col=col) + ) + + def move_cursor_to_column(self, column: int) -> None: + """Move cursor to the column specified by the zero-based column index, staying on the same row + + Args: + column (int): The zero-based column index to move the cursor to. + """ + row, _ = self.cursor_position + SetConsoleCursorPosition(self._handle, coords=WindowsCoordinates(row, column)) + + def move_cursor_backward(self) -> None: + """Move the cursor backward a single cell. Wrap to the previous line if required.""" + row, col = self.cursor_position + if col == 0: + row -= 1 + col = self.screen_size.col - 1 + else: + col -= 1 + SetConsoleCursorPosition( + self._handle, coords=WindowsCoordinates(row=row, col=col) + ) + + def hide_cursor(self) -> None: + """Hide the cursor""" + current_cursor_size = self._get_cursor_size() + invisible_cursor = CONSOLE_CURSOR_INFO(dwSize=current_cursor_size, bVisible=0) + SetConsoleCursorInfo(self._handle, cursor_info=invisible_cursor) + + def show_cursor(self) -> None: + """Show the cursor""" + current_cursor_size = self._get_cursor_size() + visible_cursor = CONSOLE_CURSOR_INFO(dwSize=current_cursor_size, bVisible=1) + SetConsoleCursorInfo(self._handle, cursor_info=visible_cursor) + + def set_title(self, title: str) -> None: + """Set the title of the terminal window + + Args: + title (str): The new title of the console window + """ + assert len(title) < 255, "Console title must be less than 255 characters" + SetConsoleTitle(title) + + def _get_cursor_size(self) -> int: + """Get the percentage of the character cell that is filled by the cursor""" + cursor_info = CONSOLE_CURSOR_INFO() + GetConsoleCursorInfo(self._handle, cursor_info=cursor_info) + return int(cursor_info.dwSize) + + +if __name__ == "__main__": + handle = GetStdHandle() + + from pip._vendor.rich.console import Console + + console = Console() + + term = LegacyWindowsTerm(sys.stdout) + term.set_title("Win32 Console Examples") + + style = Style(color="black", bgcolor="red") + + heading = Style.parse("black on green") + + # Check colour output + console.rule("Checking colour output") + console.print("[on red]on red!") + console.print("[blue]blue!") + console.print("[yellow]yellow!") + console.print("[bold yellow]bold yellow!") + console.print("[bright_yellow]bright_yellow!") + console.print("[dim bright_yellow]dim bright_yellow!") + console.print("[italic cyan]italic cyan!") + console.print("[bold white on blue]bold white on blue!") + console.print("[reverse bold white on blue]reverse bold white on blue!") + console.print("[bold black on cyan]bold black on cyan!") + console.print("[black on green]black on green!") + console.print("[blue on green]blue on green!") + console.print("[white on black]white on black!") + console.print("[black on white]black on white!") + console.print("[#1BB152 on #DA812D]#1BB152 on #DA812D!") + + # Check cursor movement + console.rule("Checking cursor movement") + console.print() + term.move_cursor_backward() + term.move_cursor_backward() + term.write_text("went back and wrapped to prev line") + time.sleep(1) + term.move_cursor_up() + term.write_text("we go up") + time.sleep(1) + term.move_cursor_down() + term.write_text("and down") + time.sleep(1) + term.move_cursor_up() + term.move_cursor_backward() + term.move_cursor_backward() + term.write_text("we went up and back 2") + time.sleep(1) + term.move_cursor_down() + term.move_cursor_backward() + term.move_cursor_backward() + term.write_text("we went down and back 2") + time.sleep(1) + + # Check erasing of lines + term.hide_cursor() + console.print() + console.rule("Checking line erasing") + console.print("\n...Deleting to the start of the line...") + term.write_text("The red arrow shows the cursor location, and direction of erase") + time.sleep(1) + term.move_cursor_to_column(16) + term.write_styled("<", Style.parse("black on red")) + term.move_cursor_backward() + time.sleep(1) + term.erase_start_of_line() + time.sleep(1) + + console.print("\n\n...And to the end of the line...") + term.write_text("The red arrow shows the cursor location, and direction of erase") + time.sleep(1) + + term.move_cursor_to_column(16) + term.write_styled(">", Style.parse("black on red")) + time.sleep(1) + term.erase_end_of_line() + time.sleep(1) + + console.print("\n\n...Now the whole line will be erased...") + term.write_styled("I'm going to disappear!", style=Style.parse("black on cyan")) + time.sleep(1) + term.erase_line() + + term.show_cursor() + print("\n") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_windows.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_windows.py new file mode 100644 index 0000000000000000000000000000000000000000..7520a9f90a5bcb0ec89ffef4d77136a296e08b4e --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_windows.py @@ -0,0 +1,71 @@ +import sys +from dataclasses import dataclass + + +@dataclass +class WindowsConsoleFeatures: + """Windows features available.""" + + vt: bool = False + """The console supports VT codes.""" + truecolor: bool = False + """The console supports truecolor.""" + + +try: + import ctypes + from ctypes import LibraryLoader + + if sys.platform == "win32": + windll = LibraryLoader(ctypes.WinDLL) + else: + windll = None + raise ImportError("Not windows") + + from pip._vendor.rich._win32_console import ( + ENABLE_VIRTUAL_TERMINAL_PROCESSING, + GetConsoleMode, + GetStdHandle, + LegacyWindowsError, + ) + +except (AttributeError, ImportError, ValueError): + # Fallback if we can't load the Windows DLL + def get_windows_console_features() -> WindowsConsoleFeatures: + features = WindowsConsoleFeatures() + return features + +else: + + def get_windows_console_features() -> WindowsConsoleFeatures: + """Get windows console features. + + Returns: + WindowsConsoleFeatures: An instance of WindowsConsoleFeatures. + """ + handle = GetStdHandle() + try: + console_mode = GetConsoleMode(handle) + success = True + except LegacyWindowsError: + console_mode = 0 + success = False + vt = bool(success and console_mode & ENABLE_VIRTUAL_TERMINAL_PROCESSING) + truecolor = False + if vt: + win_version = sys.getwindowsversion() + truecolor = win_version.major > 10 or ( + win_version.major == 10 and win_version.build >= 15063 + ) + features = WindowsConsoleFeatures(vt=vt, truecolor=truecolor) + return features + + +if __name__ == "__main__": + import platform + + features = get_windows_console_features() + from pip._vendor.rich import print + + print(f'platform="{platform.system()}"') + print(repr(features)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_windows_renderer.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_windows_renderer.py new file mode 100644 index 0000000000000000000000000000000000000000..5ece05649e7268a75c82de6ced552619ffc093ab --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_windows_renderer.py @@ -0,0 +1,56 @@ +from typing import Iterable, Sequence, Tuple, cast + +from pip._vendor.rich._win32_console import LegacyWindowsTerm, WindowsCoordinates +from pip._vendor.rich.segment import ControlCode, ControlType, Segment + + +def legacy_windows_render(buffer: Iterable[Segment], term: LegacyWindowsTerm) -> None: + """Makes appropriate Windows Console API calls based on the segments in the buffer. + + Args: + buffer (Iterable[Segment]): Iterable of Segments to convert to Win32 API calls. + term (LegacyWindowsTerm): Used to call the Windows Console API. + """ + for text, style, control in buffer: + if not control: + if style: + term.write_styled(text, style) + else: + term.write_text(text) + else: + control_codes: Sequence[ControlCode] = control + for control_code in control_codes: + control_type = control_code[0] + if control_type == ControlType.CURSOR_MOVE_TO: + _, x, y = cast(Tuple[ControlType, int, int], control_code) + term.move_cursor_to(WindowsCoordinates(row=y - 1, col=x - 1)) + elif control_type == ControlType.CARRIAGE_RETURN: + term.write_text("\r") + elif control_type == ControlType.HOME: + term.move_cursor_to(WindowsCoordinates(0, 0)) + elif control_type == ControlType.CURSOR_UP: + term.move_cursor_up() + elif control_type == ControlType.CURSOR_DOWN: + term.move_cursor_down() + elif control_type == ControlType.CURSOR_FORWARD: + term.move_cursor_forward() + elif control_type == ControlType.CURSOR_BACKWARD: + term.move_cursor_backward() + elif control_type == ControlType.CURSOR_MOVE_TO_COLUMN: + _, column = cast(Tuple[ControlType, int], control_code) + term.move_cursor_to_column(column - 1) + elif control_type == ControlType.HIDE_CURSOR: + term.hide_cursor() + elif control_type == ControlType.SHOW_CURSOR: + term.show_cursor() + elif control_type == ControlType.ERASE_IN_LINE: + _, mode = cast(Tuple[ControlType, int], control_code) + if mode == 0: + term.erase_end_of_line() + elif mode == 1: + term.erase_start_of_line() + elif mode == 2: + term.erase_line() + elif control_type == ControlType.SET_WINDOW_TITLE: + _, title = cast(Tuple[ControlType, str], control_code) + term.set_title(title) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_wrap.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_wrap.py new file mode 100644 index 0000000000000000000000000000000000000000..2e94ff6f43adfb6a6900a3a2147781e91220b189 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_wrap.py @@ -0,0 +1,93 @@ +from __future__ import annotations + +import re +from typing import Iterable + +from ._loop import loop_last +from .cells import cell_len, chop_cells + +re_word = re.compile(r"\s*\S+\s*") + + +def words(text: str) -> Iterable[tuple[int, int, str]]: + """Yields each word from the text as a tuple + containing (start_index, end_index, word). A "word" in this context may + include the actual word and any whitespace to the right. + """ + position = 0 + word_match = re_word.match(text, position) + while word_match is not None: + start, end = word_match.span() + word = word_match.group(0) + yield start, end, word + word_match = re_word.match(text, end) + + +def divide_line(text: str, width: int, fold: bool = True) -> list[int]: + """Given a string of text, and a width (measured in cells), return a list + of cell offsets which the string should be split at in order for it to fit + within the given width. + + Args: + text: The text to examine. + width: The available cell width. + fold: If True, words longer than `width` will be folded onto a new line. + + Returns: + A list of indices to break the line at. + """ + break_positions: list[int] = [] # offsets to insert the breaks at + append = break_positions.append + cell_offset = 0 + _cell_len = cell_len + + for start, _end, word in words(text): + word_length = _cell_len(word.rstrip()) + remaining_space = width - cell_offset + word_fits_remaining_space = remaining_space >= word_length + + if word_fits_remaining_space: + # Simplest case - the word fits within the remaining width for this line. + cell_offset += _cell_len(word) + else: + # Not enough space remaining for this word on the current line. + if word_length > width: + # The word doesn't fit on any line, so we can't simply + # place it on the next line... + if fold: + # Fold the word across multiple lines. + folded_word = chop_cells(word, width=width) + for last, line in loop_last(folded_word): + if start: + append(start) + if last: + cell_offset = _cell_len(line) + else: + start += len(line) + else: + # Folding isn't allowed, so crop the word. + if start: + append(start) + cell_offset = _cell_len(word) + elif cell_offset and start: + # The word doesn't fit within the remaining space on the current + # line, but it *can* fit on to the next (empty) line. + append(start) + cell_offset = _cell_len(word) + + return break_positions + + +if __name__ == "__main__": # pragma: no cover + from .console import Console + + console = Console(width=10) + console.print("12345 abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNOPQRSTUVWXYZ 12345") + print(chop_cells("abcdefghijklmnopqrstuvwxyz", 10)) + + console = Console(width=20) + console.rule() + console.print("TextualはPythonの高速アプリケーション開発フレームワークです") + + console.rule() + console.print("アプリケーションは1670万色を使用でき") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/abc.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/abc.py new file mode 100644 index 0000000000000000000000000000000000000000..e6e498efabfab0dcf31cd7731f8f821cc423bc4f --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/abc.py @@ -0,0 +1,33 @@ +from abc import ABC + + +class RichRenderable(ABC): + """An abstract base class for Rich renderables. + + Note that there is no need to extend this class, the intended use is to check if an + object supports the Rich renderable protocol. For example:: + + if isinstance(my_object, RichRenderable): + console.print(my_object) + + """ + + @classmethod + def __subclasshook__(cls, other: type) -> bool: + """Check if this class supports the rich render protocol.""" + return hasattr(other, "__rich_console__") or hasattr(other, "__rich__") + + +if __name__ == "__main__": # pragma: no cover + from pip._vendor.rich.text import Text + + t = Text() + print(isinstance(Text, RichRenderable)) + print(isinstance(t, RichRenderable)) + + class Foo: + pass + + f = Foo() + print(isinstance(f, RichRenderable)) + print(isinstance("", RichRenderable)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/align.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/align.py new file mode 100644 index 0000000000000000000000000000000000000000..e65dc5ba256b2ac2085280037598c04fcb635cf0 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/align.py @@ -0,0 +1,306 @@ +from itertools import chain +from typing import TYPE_CHECKING, Iterable, Optional, Literal + +from .constrain import Constrain +from .jupyter import JupyterMixin +from .measure import Measurement +from .segment import Segment +from .style import StyleType + +if TYPE_CHECKING: + from .console import Console, ConsoleOptions, RenderableType, RenderResult + +AlignMethod = Literal["left", "center", "right"] +VerticalAlignMethod = Literal["top", "middle", "bottom"] + + +class Align(JupyterMixin): + """Align a renderable by adding spaces if necessary. + + Args: + renderable (RenderableType): A console renderable. + align (AlignMethod): One of "left", "center", or "right"" + style (StyleType, optional): An optional style to apply to the background. + vertical (Optional[VerticalAlignMethod], optional): Optional vertical align, one of "top", "middle", or "bottom". Defaults to None. + pad (bool, optional): Pad the right with spaces. Defaults to True. + width (int, optional): Restrict contents to given width, or None to use default width. Defaults to None. + height (int, optional): Set height of align renderable, or None to fit to contents. Defaults to None. + + Raises: + ValueError: if ``align`` is not one of the expected values. + """ + + def __init__( + self, + renderable: "RenderableType", + align: AlignMethod = "left", + style: Optional[StyleType] = None, + *, + vertical: Optional[VerticalAlignMethod] = None, + pad: bool = True, + width: Optional[int] = None, + height: Optional[int] = None, + ) -> None: + if align not in ("left", "center", "right"): + raise ValueError( + f'invalid value for align, expected "left", "center", or "right" (not {align!r})' + ) + if vertical is not None and vertical not in ("top", "middle", "bottom"): + raise ValueError( + f'invalid value for vertical, expected "top", "middle", or "bottom" (not {vertical!r})' + ) + self.renderable = renderable + self.align = align + self.style = style + self.vertical = vertical + self.pad = pad + self.width = width + self.height = height + + def __repr__(self) -> str: + return f"Align({self.renderable!r}, {self.align!r})" + + @classmethod + def left( + cls, + renderable: "RenderableType", + style: Optional[StyleType] = None, + *, + vertical: Optional[VerticalAlignMethod] = None, + pad: bool = True, + width: Optional[int] = None, + height: Optional[int] = None, + ) -> "Align": + """Align a renderable to the left.""" + return cls( + renderable, + "left", + style=style, + vertical=vertical, + pad=pad, + width=width, + height=height, + ) + + @classmethod + def center( + cls, + renderable: "RenderableType", + style: Optional[StyleType] = None, + *, + vertical: Optional[VerticalAlignMethod] = None, + pad: bool = True, + width: Optional[int] = None, + height: Optional[int] = None, + ) -> "Align": + """Align a renderable to the center.""" + return cls( + renderable, + "center", + style=style, + vertical=vertical, + pad=pad, + width=width, + height=height, + ) + + @classmethod + def right( + cls, + renderable: "RenderableType", + style: Optional[StyleType] = None, + *, + vertical: Optional[VerticalAlignMethod] = None, + pad: bool = True, + width: Optional[int] = None, + height: Optional[int] = None, + ) -> "Align": + """Align a renderable to the right.""" + return cls( + renderable, + "right", + style=style, + vertical=vertical, + pad=pad, + width=width, + height=height, + ) + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> "RenderResult": + align = self.align + width = console.measure(self.renderable, options=options).maximum + rendered = console.render( + Constrain( + self.renderable, width if self.width is None else min(width, self.width) + ), + options.update(height=None), + ) + lines = list(Segment.split_lines(rendered)) + width, height = Segment.get_shape(lines) + lines = Segment.set_shape(lines, width, height) + new_line = Segment.line() + excess_space = options.max_width - width + style = console.get_style(self.style) if self.style is not None else None + + def generate_segments() -> Iterable[Segment]: + if excess_space <= 0: + # Exact fit + for line in lines: + yield from line + yield new_line + + elif align == "left": + # Pad on the right + pad = Segment(" " * excess_space, style) if self.pad else None + for line in lines: + yield from line + if pad: + yield pad + yield new_line + + elif align == "center": + # Pad left and right + left = excess_space // 2 + pad = Segment(" " * left, style) + pad_right = ( + Segment(" " * (excess_space - left), style) if self.pad else None + ) + for line in lines: + if left: + yield pad + yield from line + if pad_right: + yield pad_right + yield new_line + + elif align == "right": + # Padding on left + pad = Segment(" " * excess_space, style) + for line in lines: + yield pad + yield from line + yield new_line + + blank_line = ( + Segment(f"{' ' * (self.width or options.max_width)}\n", style) + if self.pad + else Segment("\n") + ) + + def blank_lines(count: int) -> Iterable[Segment]: + if count > 0: + for _ in range(count): + yield blank_line + + vertical_height = self.height or options.height + iter_segments: Iterable[Segment] + if self.vertical and vertical_height is not None: + if self.vertical == "top": + bottom_space = vertical_height - height + iter_segments = chain(generate_segments(), blank_lines(bottom_space)) + elif self.vertical == "middle": + top_space = (vertical_height - height) // 2 + bottom_space = vertical_height - top_space - height + iter_segments = chain( + blank_lines(top_space), + generate_segments(), + blank_lines(bottom_space), + ) + else: # self.vertical == "bottom": + top_space = vertical_height - height + iter_segments = chain(blank_lines(top_space), generate_segments()) + else: + iter_segments = generate_segments() + if self.style: + style = console.get_style(self.style) + iter_segments = Segment.apply_style(iter_segments, style) + yield from iter_segments + + def __rich_measure__( + self, console: "Console", options: "ConsoleOptions" + ) -> Measurement: + measurement = Measurement.get(console, options, self.renderable) + return measurement + + +class VerticalCenter(JupyterMixin): + """Vertically aligns a renderable. + + Warn: + This class is deprecated and may be removed in a future version. Use Align class with + `vertical="middle"`. + + Args: + renderable (RenderableType): A renderable object. + style (StyleType, optional): An optional style to apply to the background. Defaults to None. + """ + + def __init__( + self, + renderable: "RenderableType", + style: Optional[StyleType] = None, + ) -> None: + self.renderable = renderable + self.style = style + + def __repr__(self) -> str: + return f"VerticalCenter({self.renderable!r})" + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> "RenderResult": + style = console.get_style(self.style) if self.style is not None else None + lines = console.render_lines( + self.renderable, options.update(height=None), pad=False + ) + width, _height = Segment.get_shape(lines) + new_line = Segment.line() + height = options.height or options.size.height + top_space = (height - len(lines)) // 2 + bottom_space = height - top_space - len(lines) + blank_line = Segment(f"{' ' * width}", style) + + def blank_lines(count: int) -> Iterable[Segment]: + for _ in range(count): + yield blank_line + yield new_line + + if top_space > 0: + yield from blank_lines(top_space) + for line in lines: + yield from line + yield new_line + if bottom_space > 0: + yield from blank_lines(bottom_space) + + def __rich_measure__( + self, console: "Console", options: "ConsoleOptions" + ) -> Measurement: + measurement = Measurement.get(console, options, self.renderable) + return measurement + + +if __name__ == "__main__": # pragma: no cover + from pip._vendor.rich.console import Console, Group + from pip._vendor.rich.highlighter import ReprHighlighter + from pip._vendor.rich.panel import Panel + + highlighter = ReprHighlighter() + console = Console() + + panel = Panel( + Group( + Align.left(highlighter("align='left'")), + Align.center(highlighter("align='center'")), + Align.right(highlighter("align='right'")), + ), + width=60, + style="on dark_blue", + title="Align", + ) + + console.print( + Align.center(panel, vertical="middle", style="on red", height=console.height) + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/ansi.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/ansi.py new file mode 100644 index 0000000000000000000000000000000000000000..7de86ce5043feeee4b6c28302cc1e72c2ad4cfe1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/ansi.py @@ -0,0 +1,241 @@ +import re +import sys +from contextlib import suppress +from typing import Iterable, NamedTuple, Optional + +from .color import Color +from .style import Style +from .text import Text + +re_ansi = re.compile( + r""" +(?:\x1b[0-?])| +(?:\x1b\](.*?)\x1b\\)| +(?:\x1b([(@-Z\\-_]|\[[0-?]*[ -/]*[@-~])) +""", + re.VERBOSE, +) + + +class _AnsiToken(NamedTuple): + """Result of ansi tokenized string.""" + + plain: str = "" + sgr: Optional[str] = "" + osc: Optional[str] = "" + + +def _ansi_tokenize(ansi_text: str) -> Iterable[_AnsiToken]: + """Tokenize a string in to plain text and ANSI codes. + + Args: + ansi_text (str): A String containing ANSI codes. + + Yields: + AnsiToken: A named tuple of (plain, sgr, osc) + """ + + position = 0 + sgr: Optional[str] + osc: Optional[str] + for match in re_ansi.finditer(ansi_text): + start, end = match.span(0) + osc, sgr = match.groups() + if start > position: + yield _AnsiToken(ansi_text[position:start]) + if sgr: + if sgr == "(": + position = end + 1 + continue + if sgr.endswith("m"): + yield _AnsiToken("", sgr[1:-1], osc) + else: + yield _AnsiToken("", sgr, osc) + position = end + if position < len(ansi_text): + yield _AnsiToken(ansi_text[position:]) + + +SGR_STYLE_MAP = { + 1: "bold", + 2: "dim", + 3: "italic", + 4: "underline", + 5: "blink", + 6: "blink2", + 7: "reverse", + 8: "conceal", + 9: "strike", + 21: "underline2", + 22: "not dim not bold", + 23: "not italic", + 24: "not underline", + 25: "not blink", + 26: "not blink2", + 27: "not reverse", + 28: "not conceal", + 29: "not strike", + 30: "color(0)", + 31: "color(1)", + 32: "color(2)", + 33: "color(3)", + 34: "color(4)", + 35: "color(5)", + 36: "color(6)", + 37: "color(7)", + 39: "default", + 40: "on color(0)", + 41: "on color(1)", + 42: "on color(2)", + 43: "on color(3)", + 44: "on color(4)", + 45: "on color(5)", + 46: "on color(6)", + 47: "on color(7)", + 49: "on default", + 51: "frame", + 52: "encircle", + 53: "overline", + 54: "not frame not encircle", + 55: "not overline", + 90: "color(8)", + 91: "color(9)", + 92: "color(10)", + 93: "color(11)", + 94: "color(12)", + 95: "color(13)", + 96: "color(14)", + 97: "color(15)", + 100: "on color(8)", + 101: "on color(9)", + 102: "on color(10)", + 103: "on color(11)", + 104: "on color(12)", + 105: "on color(13)", + 106: "on color(14)", + 107: "on color(15)", +} + + +class AnsiDecoder: + """Translate ANSI code in to styled Text.""" + + def __init__(self) -> None: + self.style = Style.null() + + def decode(self, terminal_text: str) -> Iterable[Text]: + """Decode ANSI codes in an iterable of lines. + + Args: + lines (Iterable[str]): An iterable of lines of terminal output. + + Yields: + Text: Marked up Text. + """ + for line in terminal_text.splitlines(): + yield self.decode_line(line) + + def decode_line(self, line: str) -> Text: + """Decode a line containing ansi codes. + + Args: + line (str): A line of terminal output. + + Returns: + Text: A Text instance marked up according to ansi codes. + """ + from_ansi = Color.from_ansi + from_rgb = Color.from_rgb + _Style = Style + text = Text() + append = text.append + line = line.rsplit("\r", 1)[-1] + for plain_text, sgr, osc in _ansi_tokenize(line): + if plain_text: + append(plain_text, self.style or None) + elif osc is not None: + if osc.startswith("8;"): + _params, semicolon, link = osc[2:].partition(";") + if semicolon: + self.style = self.style.update_link(link or None) + elif sgr is not None: + # Translate in to semi-colon separated codes + # Ignore invalid codes, because we want to be lenient + codes = [ + min(255, int(_code) if _code else 0) + for _code in sgr.split(";") + if _code.isdigit() or _code == "" + ] + iter_codes = iter(codes) + for code in iter_codes: + if code == 0: + # reset + self.style = _Style.null() + elif code in SGR_STYLE_MAP: + # styles + self.style += _Style.parse(SGR_STYLE_MAP[code]) + elif code == 38: + #  Foreground + with suppress(StopIteration): + color_type = next(iter_codes) + if color_type == 5: + self.style += _Style.from_color( + from_ansi(next(iter_codes)) + ) + elif color_type == 2: + self.style += _Style.from_color( + from_rgb( + next(iter_codes), + next(iter_codes), + next(iter_codes), + ) + ) + elif code == 48: + # Background + with suppress(StopIteration): + color_type = next(iter_codes) + if color_type == 5: + self.style += _Style.from_color( + None, from_ansi(next(iter_codes)) + ) + elif color_type == 2: + self.style += _Style.from_color( + None, + from_rgb( + next(iter_codes), + next(iter_codes), + next(iter_codes), + ), + ) + + return text + + +if sys.platform != "win32" and __name__ == "__main__": # pragma: no cover + import io + import os + import pty + import sys + + decoder = AnsiDecoder() + + stdout = io.BytesIO() + + def read(fd: int) -> bytes: + data = os.read(fd, 1024) + stdout.write(data) + return data + + pty.spawn(sys.argv[1:], read) + + from .console import Console + + console = Console(record=True) + + stdout_result = stdout.getvalue().decode("utf-8") + print(stdout_result) + + for line in decoder.decode(stdout_result): + console.print(line) + + console.save_html("stdout.html") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/bar.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/bar.py new file mode 100644 index 0000000000000000000000000000000000000000..022284b57881d8b133aced5b5a843e6447bb4e0b --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/bar.py @@ -0,0 +1,93 @@ +from typing import Optional, Union + +from .color import Color +from .console import Console, ConsoleOptions, RenderResult +from .jupyter import JupyterMixin +from .measure import Measurement +from .segment import Segment +from .style import Style + +# There are left-aligned characters for 1/8 to 7/8, but +# the right-aligned characters exist only for 1/8 and 4/8. +BEGIN_BLOCK_ELEMENTS = ["█", "█", "█", "▐", "▐", "▐", "▕", "▕"] +END_BLOCK_ELEMENTS = [" ", "▏", "▎", "▍", "▌", "▋", "▊", "▉"] +FULL_BLOCK = "█" + + +class Bar(JupyterMixin): + """Renders a solid block bar. + + Args: + size (float): Value for the end of the bar. + begin (float): Begin point (between 0 and size, inclusive). + end (float): End point (between 0 and size, inclusive). + width (int, optional): Width of the bar, or ``None`` for maximum width. Defaults to None. + color (Union[Color, str], optional): Color of the bar. Defaults to "default". + bgcolor (Union[Color, str], optional): Color of bar background. Defaults to "default". + """ + + def __init__( + self, + size: float, + begin: float, + end: float, + *, + width: Optional[int] = None, + color: Union[Color, str] = "default", + bgcolor: Union[Color, str] = "default", + ): + self.size = size + self.begin = max(begin, 0) + self.end = min(end, size) + self.width = width + self.style = Style(color=color, bgcolor=bgcolor) + + def __repr__(self) -> str: + return f"Bar({self.size}, {self.begin}, {self.end})" + + def __rich_console__( + self, console: Console, options: ConsoleOptions + ) -> RenderResult: + width = min( + self.width if self.width is not None else options.max_width, + options.max_width, + ) + + if self.begin >= self.end: + yield Segment(" " * width, self.style) + yield Segment.line() + return + + prefix_complete_eights = int(width * 8 * self.begin / self.size) + prefix_bar_count = prefix_complete_eights // 8 + prefix_eights_count = prefix_complete_eights % 8 + + body_complete_eights = int(width * 8 * self.end / self.size) + body_bar_count = body_complete_eights // 8 + body_eights_count = body_complete_eights % 8 + + # When start and end fall into the same cell, we ideally should render + # a symbol that's "center-aligned", but there is no good symbol in Unicode. + # In this case, we fall back to right-aligned block symbol for simplicity. + + prefix = " " * prefix_bar_count + if prefix_eights_count: + prefix += BEGIN_BLOCK_ELEMENTS[prefix_eights_count] + + body = FULL_BLOCK * body_bar_count + if body_eights_count: + body += END_BLOCK_ELEMENTS[body_eights_count] + + suffix = " " * (width - len(body)) + + yield Segment(prefix + body[len(prefix) :] + suffix, self.style) + yield Segment.line() + + def __rich_measure__( + self, console: Console, options: ConsoleOptions + ) -> Measurement: + return ( + Measurement(self.width, self.width) + if self.width is not None + else Measurement(4, options.max_width) + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/box.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/box.py new file mode 100644 index 0000000000000000000000000000000000000000..3f330ccb57bc45f4dd788f1114a727afe1cdaa36 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/box.py @@ -0,0 +1,474 @@ +from typing import TYPE_CHECKING, Iterable, List, Literal + + +from ._loop import loop_last + +if TYPE_CHECKING: + from pip._vendor.rich.console import ConsoleOptions + + +class Box: + """Defines characters to render boxes. + + ┌─┬┐ top + │ ││ head + ├─┼┤ head_row + │ ││ mid + ├─┼┤ row + ├─┼┤ foot_row + │ ││ foot + └─┴┘ bottom + + Args: + box (str): Characters making up box. + ascii (bool, optional): True if this box uses ascii characters only. Default is False. + """ + + def __init__(self, box: str, *, ascii: bool = False) -> None: + self._box = box + self.ascii = ascii + line1, line2, line3, line4, line5, line6, line7, line8 = box.splitlines() + # top + self.top_left, self.top, self.top_divider, self.top_right = iter(line1) + # head + self.head_left, _, self.head_vertical, self.head_right = iter(line2) + # head_row + ( + self.head_row_left, + self.head_row_horizontal, + self.head_row_cross, + self.head_row_right, + ) = iter(line3) + + # mid + self.mid_left, _, self.mid_vertical, self.mid_right = iter(line4) + # row + self.row_left, self.row_horizontal, self.row_cross, self.row_right = iter(line5) + # foot_row + ( + self.foot_row_left, + self.foot_row_horizontal, + self.foot_row_cross, + self.foot_row_right, + ) = iter(line6) + # foot + self.foot_left, _, self.foot_vertical, self.foot_right = iter(line7) + # bottom + self.bottom_left, self.bottom, self.bottom_divider, self.bottom_right = iter( + line8 + ) + + def __repr__(self) -> str: + return "Box(...)" + + def __str__(self) -> str: + return self._box + + def substitute(self, options: "ConsoleOptions", safe: bool = True) -> "Box": + """Substitute this box for another if it won't render due to platform issues. + + Args: + options (ConsoleOptions): Console options used in rendering. + safe (bool, optional): Substitute this for another Box if there are known problems + displaying on the platform (currently only relevant on Windows). Default is True. + + Returns: + Box: A different Box or the same Box. + """ + box = self + if options.legacy_windows and safe: + box = LEGACY_WINDOWS_SUBSTITUTIONS.get(box, box) + if options.ascii_only and not box.ascii: + box = ASCII + return box + + def get_plain_headed_box(self) -> "Box": + """If this box uses special characters for the borders of the header, then + return the equivalent box that does not. + + Returns: + Box: The most similar Box that doesn't use header-specific box characters. + If the current Box already satisfies this criterion, then it's returned. + """ + return PLAIN_HEADED_SUBSTITUTIONS.get(self, self) + + def get_top(self, widths: Iterable[int]) -> str: + """Get the top of a simple box. + + Args: + widths (List[int]): Widths of columns. + + Returns: + str: A string of box characters. + """ + + parts: List[str] = [] + append = parts.append + append(self.top_left) + for last, width in loop_last(widths): + append(self.top * width) + if not last: + append(self.top_divider) + append(self.top_right) + return "".join(parts) + + def get_row( + self, + widths: Iterable[int], + level: Literal["head", "row", "foot", "mid"] = "row", + edge: bool = True, + ) -> str: + """Get the top of a simple box. + + Args: + width (List[int]): Widths of columns. + + Returns: + str: A string of box characters. + """ + if level == "head": + left = self.head_row_left + horizontal = self.head_row_horizontal + cross = self.head_row_cross + right = self.head_row_right + elif level == "row": + left = self.row_left + horizontal = self.row_horizontal + cross = self.row_cross + right = self.row_right + elif level == "mid": + left = self.mid_left + horizontal = " " + cross = self.mid_vertical + right = self.mid_right + elif level == "foot": + left = self.foot_row_left + horizontal = self.foot_row_horizontal + cross = self.foot_row_cross + right = self.foot_row_right + else: + raise ValueError("level must be 'head', 'row' or 'foot'") + + parts: List[str] = [] + append = parts.append + if edge: + append(left) + for last, width in loop_last(widths): + append(horizontal * width) + if not last: + append(cross) + if edge: + append(right) + return "".join(parts) + + def get_bottom(self, widths: Iterable[int]) -> str: + """Get the bottom of a simple box. + + Args: + widths (List[int]): Widths of columns. + + Returns: + str: A string of box characters. + """ + + parts: List[str] = [] + append = parts.append + append(self.bottom_left) + for last, width in loop_last(widths): + append(self.bottom * width) + if not last: + append(self.bottom_divider) + append(self.bottom_right) + return "".join(parts) + + +# fmt: off +ASCII: Box = Box( + "+--+\n" + "| ||\n" + "|-+|\n" + "| ||\n" + "|-+|\n" + "|-+|\n" + "| ||\n" + "+--+\n", + ascii=True, +) + +ASCII2: Box = Box( + "+-++\n" + "| ||\n" + "+-++\n" + "| ||\n" + "+-++\n" + "+-++\n" + "| ||\n" + "+-++\n", + ascii=True, +) + +ASCII_DOUBLE_HEAD: Box = Box( + "+-++\n" + "| ||\n" + "+=++\n" + "| ||\n" + "+-++\n" + "+-++\n" + "| ||\n" + "+-++\n", + ascii=True, +) + +SQUARE: Box = Box( + "┌─┬┐\n" + "│ ││\n" + "├─┼┤\n" + "│ ││\n" + "├─┼┤\n" + "├─┼┤\n" + "│ ││\n" + "└─┴┘\n" +) + +SQUARE_DOUBLE_HEAD: Box = Box( + "┌─┬┐\n" + "│ ││\n" + "╞═╪╡\n" + "│ ││\n" + "├─┼┤\n" + "├─┼┤\n" + "│ ││\n" + "└─┴┘\n" +) + +MINIMAL: Box = Box( + " ╷ \n" + " │ \n" + "╶─┼╴\n" + " │ \n" + "╶─┼╴\n" + "╶─┼╴\n" + " │ \n" + " ╵ \n" +) + + +MINIMAL_HEAVY_HEAD: Box = Box( + " ╷ \n" + " │ \n" + "╺━┿╸\n" + " │ \n" + "╶─┼╴\n" + "╶─┼╴\n" + " │ \n" + " ╵ \n" +) + +MINIMAL_DOUBLE_HEAD: Box = Box( + " ╷ \n" + " │ \n" + " ═╪ \n" + " │ \n" + " ─┼ \n" + " ─┼ \n" + " │ \n" + " ╵ \n" +) + + +SIMPLE: Box = Box( + " \n" + " \n" + " ── \n" + " \n" + " \n" + " ── \n" + " \n" + " \n" +) + +SIMPLE_HEAD: Box = Box( + " \n" + " \n" + " ── \n" + " \n" + " \n" + " \n" + " \n" + " \n" +) + + +SIMPLE_HEAVY: Box = Box( + " \n" + " \n" + " ━━ \n" + " \n" + " \n" + " ━━ \n" + " \n" + " \n" +) + + +HORIZONTALS: Box = Box( + " ── \n" + " \n" + " ── \n" + " \n" + " ── \n" + " ── \n" + " \n" + " ── \n" +) + +ROUNDED: Box = Box( + "╭─┬╮\n" + "│ ││\n" + "├─┼┤\n" + "│ ││\n" + "├─┼┤\n" + "├─┼┤\n" + "│ ││\n" + "╰─┴╯\n" +) + +HEAVY: Box = Box( + "┏━┳┓\n" + "┃ ┃┃\n" + "┣━╋┫\n" + "┃ ┃┃\n" + "┣━╋┫\n" + "┣━╋┫\n" + "┃ ┃┃\n" + "┗━┻┛\n" +) + +HEAVY_EDGE: Box = Box( + "┏━┯┓\n" + "┃ │┃\n" + "┠─┼┨\n" + "┃ │┃\n" + "┠─┼┨\n" + "┠─┼┨\n" + "┃ │┃\n" + "┗━┷┛\n" +) + +HEAVY_HEAD: Box = Box( + "┏━┳┓\n" + "┃ ┃┃\n" + "┡━╇┩\n" + "│ ││\n" + "├─┼┤\n" + "├─┼┤\n" + "│ ││\n" + "└─┴┘\n" +) + +DOUBLE: Box = Box( + "╔═╦╗\n" + "║ ║║\n" + "╠═╬╣\n" + "║ ║║\n" + "╠═╬╣\n" + "╠═╬╣\n" + "║ ║║\n" + "╚═╩╝\n" +) + +DOUBLE_EDGE: Box = Box( + "╔═╤╗\n" + "║ │║\n" + "╟─┼╢\n" + "║ │║\n" + "╟─┼╢\n" + "╟─┼╢\n" + "║ │║\n" + "╚═╧╝\n" +) + +MARKDOWN: Box = Box( + " \n" + "| ||\n" + "|-||\n" + "| ||\n" + "|-||\n" + "|-||\n" + "| ||\n" + " \n", + ascii=True, +) +# fmt: on + +# Map Boxes that don't render with raster fonts on to equivalent that do +LEGACY_WINDOWS_SUBSTITUTIONS = { + ROUNDED: SQUARE, + MINIMAL_HEAVY_HEAD: MINIMAL, + SIMPLE_HEAVY: SIMPLE, + HEAVY: SQUARE, + HEAVY_EDGE: SQUARE, + HEAVY_HEAD: SQUARE, +} + +# Map headed boxes to their headerless equivalents +PLAIN_HEADED_SUBSTITUTIONS = { + HEAVY_HEAD: SQUARE, + SQUARE_DOUBLE_HEAD: SQUARE, + MINIMAL_DOUBLE_HEAD: MINIMAL, + MINIMAL_HEAVY_HEAD: MINIMAL, + ASCII_DOUBLE_HEAD: ASCII2, +} + + +if __name__ == "__main__": # pragma: no cover + from pip._vendor.rich.columns import Columns + from pip._vendor.rich.panel import Panel + + from . import box as box + from .console import Console + from .table import Table + from .text import Text + + console = Console(record=True) + + BOXES = [ + "ASCII", + "ASCII2", + "ASCII_DOUBLE_HEAD", + "SQUARE", + "SQUARE_DOUBLE_HEAD", + "MINIMAL", + "MINIMAL_HEAVY_HEAD", + "MINIMAL_DOUBLE_HEAD", + "SIMPLE", + "SIMPLE_HEAD", + "SIMPLE_HEAVY", + "HORIZONTALS", + "ROUNDED", + "HEAVY", + "HEAVY_EDGE", + "HEAVY_HEAD", + "DOUBLE", + "DOUBLE_EDGE", + "MARKDOWN", + ] + + console.print(Panel("[bold green]Box Constants", style="green"), justify="center") + console.print() + + columns = Columns(expand=True, padding=2) + for box_name in sorted(BOXES): + table = Table( + show_footer=True, style="dim", border_style="not dim", expand=True + ) + table.add_column("Header 1", "Footer 1") + table.add_column("Header 2", "Footer 2") + table.add_row("Cell", "Cell") + table.add_row("Cell", "Cell") + table.box = getattr(box, box_name) + table.title = Text(f"box.{box_name}", style="magenta") + columns.add_renderable(table) + console.print(columns) + + # console.save_svg("box.svg") diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/cells.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/cells.py new file mode 100644 index 0000000000000000000000000000000000000000..a85462271c9a14f88fda9a3954f98e857fb5aac8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/cells.py @@ -0,0 +1,174 @@ +from __future__ import annotations + +from functools import lru_cache +from typing import Callable + +from ._cell_widths import CELL_WIDTHS + +# Ranges of unicode ordinals that produce a 1-cell wide character +# This is non-exhaustive, but covers most common Western characters +_SINGLE_CELL_UNICODE_RANGES: list[tuple[int, int]] = [ + (0x20, 0x7E), # Latin (excluding non-printable) + (0xA0, 0xAC), + (0xAE, 0x002FF), + (0x00370, 0x00482), # Greek / Cyrillic + (0x02500, 0x025FC), # Box drawing, box elements, geometric shapes + (0x02800, 0x028FF), # Braille +] + +# A set of characters that are a single cell wide +_SINGLE_CELLS = frozenset( + [ + character + for _start, _end in _SINGLE_CELL_UNICODE_RANGES + for character in map(chr, range(_start, _end + 1)) + ] +) + +# When called with a string this will return True if all +# characters are single-cell, otherwise False +_is_single_cell_widths: Callable[[str], bool] = _SINGLE_CELLS.issuperset + + +@lru_cache(4096) +def cached_cell_len(text: str) -> int: + """Get the number of cells required to display text. + + This method always caches, which may use up a lot of memory. It is recommended to use + `cell_len` over this method. + + Args: + text (str): Text to display. + + Returns: + int: Get the number of cells required to display text. + """ + if _is_single_cell_widths(text): + return len(text) + return sum(map(get_character_cell_size, text)) + + +def cell_len(text: str, _cell_len: Callable[[str], int] = cached_cell_len) -> int: + """Get the number of cells required to display text. + + Args: + text (str): Text to display. + + Returns: + int: Get the number of cells required to display text. + """ + if len(text) < 512: + return _cell_len(text) + if _is_single_cell_widths(text): + return len(text) + return sum(map(get_character_cell_size, text)) + + +@lru_cache(maxsize=4096) +def get_character_cell_size(character: str) -> int: + """Get the cell size of a character. + + Args: + character (str): A single character. + + Returns: + int: Number of cells (0, 1 or 2) occupied by that character. + """ + codepoint = ord(character) + _table = CELL_WIDTHS + lower_bound = 0 + upper_bound = len(_table) - 1 + index = (lower_bound + upper_bound) // 2 + while True: + start, end, width = _table[index] + if codepoint < start: + upper_bound = index - 1 + elif codepoint > end: + lower_bound = index + 1 + else: + return 0 if width == -1 else width + if upper_bound < lower_bound: + break + index = (lower_bound + upper_bound) // 2 + return 1 + + +def set_cell_size(text: str, total: int) -> str: + """Set the length of a string to fit within given number of cells.""" + + if _is_single_cell_widths(text): + size = len(text) + if size < total: + return text + " " * (total - size) + return text[:total] + + if total <= 0: + return "" + cell_size = cell_len(text) + if cell_size == total: + return text + if cell_size < total: + return text + " " * (total - cell_size) + + start = 0 + end = len(text) + + # Binary search until we find the right size + while True: + pos = (start + end) // 2 + before = text[: pos + 1] + before_len = cell_len(before) + if before_len == total + 1 and cell_len(before[-1]) == 2: + return before[:-1] + " " + if before_len == total: + return before + if before_len > total: + end = pos + else: + start = pos + + +def chop_cells( + text: str, + width: int, +) -> list[str]: + """Split text into lines such that each line fits within the available (cell) width. + + Args: + text: The text to fold such that it fits in the given width. + width: The width available (number of cells). + + Returns: + A list of strings such that each string in the list has cell width + less than or equal to the available width. + """ + _get_character_cell_size = get_character_cell_size + lines: list[list[str]] = [[]] + + append_new_line = lines.append + append_to_last_line = lines[-1].append + + total_width = 0 + + for character in text: + cell_width = _get_character_cell_size(character) + char_doesnt_fit = total_width + cell_width > width + + if char_doesnt_fit: + append_new_line([character]) + append_to_last_line = lines[-1].append + total_width = cell_width + else: + append_to_last_line(character) + total_width += cell_width + + return ["".join(line) for line in lines] + + +if __name__ == "__main__": # pragma: no cover + print(get_character_cell_size("😽")) + for line in chop_cells("""这是对亚洲语言支持的测试。面对模棱两可的想法,拒绝猜测的诱惑。""", 8): + print(line) + for n in range(80, 1, -1): + print(set_cell_size("""这是对亚洲语言支持的测试。面对模棱两可的想法,拒绝猜测的诱惑。""", n) + "|") + print("x" * n) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color.py new file mode 100644 index 0000000000000000000000000000000000000000..e2c23a6a91b833fd9bb20bd5238421a5c0f08df3 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color.py @@ -0,0 +1,621 @@ +import re +import sys +from colorsys import rgb_to_hls +from enum import IntEnum +from functools import lru_cache +from typing import TYPE_CHECKING, NamedTuple, Optional, Tuple + +from ._palettes import EIGHT_BIT_PALETTE, STANDARD_PALETTE, WINDOWS_PALETTE +from .color_triplet import ColorTriplet +from .repr import Result, rich_repr +from .terminal_theme import DEFAULT_TERMINAL_THEME + +if TYPE_CHECKING: # pragma: no cover + from .terminal_theme import TerminalTheme + from .text import Text + + +WINDOWS = sys.platform == "win32" + + +class ColorSystem(IntEnum): + """One of the 3 color system supported by terminals.""" + + STANDARD = 1 + EIGHT_BIT = 2 + TRUECOLOR = 3 + WINDOWS = 4 + + def __repr__(self) -> str: + return f"ColorSystem.{self.name}" + + def __str__(self) -> str: + return repr(self) + + +class ColorType(IntEnum): + """Type of color stored in Color class.""" + + DEFAULT = 0 + STANDARD = 1 + EIGHT_BIT = 2 + TRUECOLOR = 3 + WINDOWS = 4 + + def __repr__(self) -> str: + return f"ColorType.{self.name}" + + +ANSI_COLOR_NAMES = { + "black": 0, + "red": 1, + "green": 2, + "yellow": 3, + "blue": 4, + "magenta": 5, + "cyan": 6, + "white": 7, + "bright_black": 8, + "bright_red": 9, + "bright_green": 10, + "bright_yellow": 11, + "bright_blue": 12, + "bright_magenta": 13, + "bright_cyan": 14, + "bright_white": 15, + "grey0": 16, + "gray0": 16, + "navy_blue": 17, + "dark_blue": 18, + "blue3": 20, + "blue1": 21, + "dark_green": 22, + "deep_sky_blue4": 25, + "dodger_blue3": 26, + "dodger_blue2": 27, + "green4": 28, + "spring_green4": 29, + "turquoise4": 30, + "deep_sky_blue3": 32, + "dodger_blue1": 33, + "green3": 40, + "spring_green3": 41, + "dark_cyan": 36, + "light_sea_green": 37, + "deep_sky_blue2": 38, + "deep_sky_blue1": 39, + "spring_green2": 47, + "cyan3": 43, + "dark_turquoise": 44, + "turquoise2": 45, + "green1": 46, + "spring_green1": 48, + "medium_spring_green": 49, + "cyan2": 50, + "cyan1": 51, + "dark_red": 88, + "deep_pink4": 125, + "purple4": 55, + "purple3": 56, + "blue_violet": 57, + "orange4": 94, + "grey37": 59, + "gray37": 59, + "medium_purple4": 60, + "slate_blue3": 62, + "royal_blue1": 63, + "chartreuse4": 64, + "dark_sea_green4": 71, + "pale_turquoise4": 66, + "steel_blue": 67, + "steel_blue3": 68, + "cornflower_blue": 69, + "chartreuse3": 76, + "cadet_blue": 73, + "sky_blue3": 74, + "steel_blue1": 81, + "pale_green3": 114, + "sea_green3": 78, + "aquamarine3": 79, + "medium_turquoise": 80, + "chartreuse2": 112, + "sea_green2": 83, + "sea_green1": 85, + "aquamarine1": 122, + "dark_slate_gray2": 87, + "dark_magenta": 91, + "dark_violet": 128, + "purple": 129, + "light_pink4": 95, + "plum4": 96, + "medium_purple3": 98, + "slate_blue1": 99, + "yellow4": 106, + "wheat4": 101, + "grey53": 102, + "gray53": 102, + "light_slate_grey": 103, + "light_slate_gray": 103, + "medium_purple": 104, + "light_slate_blue": 105, + "dark_olive_green3": 149, + "dark_sea_green": 108, + "light_sky_blue3": 110, + "sky_blue2": 111, + "dark_sea_green3": 150, + "dark_slate_gray3": 116, + "sky_blue1": 117, + "chartreuse1": 118, + "light_green": 120, + "pale_green1": 156, + "dark_slate_gray1": 123, + "red3": 160, + "medium_violet_red": 126, + "magenta3": 164, + "dark_orange3": 166, + "indian_red": 167, + "hot_pink3": 168, + "medium_orchid3": 133, + "medium_orchid": 134, + "medium_purple2": 140, + "dark_goldenrod": 136, + "light_salmon3": 173, + "rosy_brown": 138, + "grey63": 139, + "gray63": 139, + "medium_purple1": 141, + "gold3": 178, + "dark_khaki": 143, + "navajo_white3": 144, + "grey69": 145, + "gray69": 145, + "light_steel_blue3": 146, + "light_steel_blue": 147, + "yellow3": 184, + "dark_sea_green2": 157, + "light_cyan3": 152, + "light_sky_blue1": 153, + "green_yellow": 154, + "dark_olive_green2": 155, + "dark_sea_green1": 193, + "pale_turquoise1": 159, + "deep_pink3": 162, + "magenta2": 200, + "hot_pink2": 169, + "orchid": 170, + "medium_orchid1": 207, + "orange3": 172, + "light_pink3": 174, + "pink3": 175, + "plum3": 176, + "violet": 177, + "light_goldenrod3": 179, + "tan": 180, + "misty_rose3": 181, + "thistle3": 182, + "plum2": 183, + "khaki3": 185, + "light_goldenrod2": 222, + "light_yellow3": 187, + "grey84": 188, + "gray84": 188, + "light_steel_blue1": 189, + "yellow2": 190, + "dark_olive_green1": 192, + "honeydew2": 194, + "light_cyan1": 195, + "red1": 196, + "deep_pink2": 197, + "deep_pink1": 199, + "magenta1": 201, + "orange_red1": 202, + "indian_red1": 204, + "hot_pink": 206, + "dark_orange": 208, + "salmon1": 209, + "light_coral": 210, + "pale_violet_red1": 211, + "orchid2": 212, + "orchid1": 213, + "orange1": 214, + "sandy_brown": 215, + "light_salmon1": 216, + "light_pink1": 217, + "pink1": 218, + "plum1": 219, + "gold1": 220, + "navajo_white1": 223, + "misty_rose1": 224, + "thistle1": 225, + "yellow1": 226, + "light_goldenrod1": 227, + "khaki1": 228, + "wheat1": 229, + "cornsilk1": 230, + "grey100": 231, + "gray100": 231, + "grey3": 232, + "gray3": 232, + "grey7": 233, + "gray7": 233, + "grey11": 234, + "gray11": 234, + "grey15": 235, + "gray15": 235, + "grey19": 236, + "gray19": 236, + "grey23": 237, + "gray23": 237, + "grey27": 238, + "gray27": 238, + "grey30": 239, + "gray30": 239, + "grey35": 240, + "gray35": 240, + "grey39": 241, + "gray39": 241, + "grey42": 242, + "gray42": 242, + "grey46": 243, + "gray46": 243, + "grey50": 244, + "gray50": 244, + "grey54": 245, + "gray54": 245, + "grey58": 246, + "gray58": 246, + "grey62": 247, + "gray62": 247, + "grey66": 248, + "gray66": 248, + "grey70": 249, + "gray70": 249, + "grey74": 250, + "gray74": 250, + "grey78": 251, + "gray78": 251, + "grey82": 252, + "gray82": 252, + "grey85": 253, + "gray85": 253, + "grey89": 254, + "gray89": 254, + "grey93": 255, + "gray93": 255, +} + + +class ColorParseError(Exception): + """The color could not be parsed.""" + + +RE_COLOR = re.compile( + r"""^ +\#([0-9a-f]{6})$| +color\(([0-9]{1,3})\)$| +rgb\(([\d\s,]+)\)$ +""", + re.VERBOSE, +) + + +@rich_repr +class Color(NamedTuple): + """Terminal color definition.""" + + name: str + """The name of the color (typically the input to Color.parse).""" + type: ColorType + """The type of the color.""" + number: Optional[int] = None + """The color number, if a standard color, or None.""" + triplet: Optional[ColorTriplet] = None + """A triplet of color components, if an RGB color.""" + + def __rich__(self) -> "Text": + """Displays the actual color if Rich printed.""" + from .style import Style + from .text import Text + + return Text.assemble( + f"", + ) + + def __rich_repr__(self) -> Result: + yield self.name + yield self.type + yield "number", self.number, None + yield "triplet", self.triplet, None + + @property + def system(self) -> ColorSystem: + """Get the native color system for this color.""" + if self.type == ColorType.DEFAULT: + return ColorSystem.STANDARD + return ColorSystem(int(self.type)) + + @property + def is_system_defined(self) -> bool: + """Check if the color is ultimately defined by the system.""" + return self.system not in (ColorSystem.EIGHT_BIT, ColorSystem.TRUECOLOR) + + @property + def is_default(self) -> bool: + """Check if the color is a default color.""" + return self.type == ColorType.DEFAULT + + def get_truecolor( + self, theme: Optional["TerminalTheme"] = None, foreground: bool = True + ) -> ColorTriplet: + """Get an equivalent color triplet for this color. + + Args: + theme (TerminalTheme, optional): Optional terminal theme, or None to use default. Defaults to None. + foreground (bool, optional): True for a foreground color, or False for background. Defaults to True. + + Returns: + ColorTriplet: A color triplet containing RGB components. + """ + + if theme is None: + theme = DEFAULT_TERMINAL_THEME + if self.type == ColorType.TRUECOLOR: + assert self.triplet is not None + return self.triplet + elif self.type == ColorType.EIGHT_BIT: + assert self.number is not None + return EIGHT_BIT_PALETTE[self.number] + elif self.type == ColorType.STANDARD: + assert self.number is not None + return theme.ansi_colors[self.number] + elif self.type == ColorType.WINDOWS: + assert self.number is not None + return WINDOWS_PALETTE[self.number] + else: # self.type == ColorType.DEFAULT: + assert self.number is None + return theme.foreground_color if foreground else theme.background_color + + @classmethod + def from_ansi(cls, number: int) -> "Color": + """Create a Color number from it's 8-bit ansi number. + + Args: + number (int): A number between 0-255 inclusive. + + Returns: + Color: A new Color instance. + """ + return cls( + name=f"color({number})", + type=(ColorType.STANDARD if number < 16 else ColorType.EIGHT_BIT), + number=number, + ) + + @classmethod + def from_triplet(cls, triplet: "ColorTriplet") -> "Color": + """Create a truecolor RGB color from a triplet of values. + + Args: + triplet (ColorTriplet): A color triplet containing red, green and blue components. + + Returns: + Color: A new color object. + """ + return cls(name=triplet.hex, type=ColorType.TRUECOLOR, triplet=triplet) + + @classmethod + def from_rgb(cls, red: float, green: float, blue: float) -> "Color": + """Create a truecolor from three color components in the range(0->255). + + Args: + red (float): Red component in range 0-255. + green (float): Green component in range 0-255. + blue (float): Blue component in range 0-255. + + Returns: + Color: A new color object. + """ + return cls.from_triplet(ColorTriplet(int(red), int(green), int(blue))) + + @classmethod + def default(cls) -> "Color": + """Get a Color instance representing the default color. + + Returns: + Color: Default color. + """ + return cls(name="default", type=ColorType.DEFAULT) + + @classmethod + @lru_cache(maxsize=1024) + def parse(cls, color: str) -> "Color": + """Parse a color definition.""" + original_color = color + color = color.lower().strip() + + if color == "default": + return cls(color, type=ColorType.DEFAULT) + + color_number = ANSI_COLOR_NAMES.get(color) + if color_number is not None: + return cls( + color, + type=(ColorType.STANDARD if color_number < 16 else ColorType.EIGHT_BIT), + number=color_number, + ) + + color_match = RE_COLOR.match(color) + if color_match is None: + raise ColorParseError(f"{original_color!r} is not a valid color") + + color_24, color_8, color_rgb = color_match.groups() + if color_24: + triplet = ColorTriplet( + int(color_24[0:2], 16), int(color_24[2:4], 16), int(color_24[4:6], 16) + ) + return cls(color, ColorType.TRUECOLOR, triplet=triplet) + + elif color_8: + number = int(color_8) + if number > 255: + raise ColorParseError(f"color number must be <= 255 in {color!r}") + return cls( + color, + type=(ColorType.STANDARD if number < 16 else ColorType.EIGHT_BIT), + number=number, + ) + + else: # color_rgb: + components = color_rgb.split(",") + if len(components) != 3: + raise ColorParseError( + f"expected three components in {original_color!r}" + ) + red, green, blue = components + triplet = ColorTriplet(int(red), int(green), int(blue)) + if not all(component <= 255 for component in triplet): + raise ColorParseError( + f"color components must be <= 255 in {original_color!r}" + ) + return cls(color, ColorType.TRUECOLOR, triplet=triplet) + + @lru_cache(maxsize=1024) + def get_ansi_codes(self, foreground: bool = True) -> Tuple[str, ...]: + """Get the ANSI escape codes for this color.""" + _type = self.type + if _type == ColorType.DEFAULT: + return ("39" if foreground else "49",) + + elif _type == ColorType.WINDOWS: + number = self.number + assert number is not None + fore, back = (30, 40) if number < 8 else (82, 92) + return (str(fore + number if foreground else back + number),) + + elif _type == ColorType.STANDARD: + number = self.number + assert number is not None + fore, back = (30, 40) if number < 8 else (82, 92) + return (str(fore + number if foreground else back + number),) + + elif _type == ColorType.EIGHT_BIT: + assert self.number is not None + return ("38" if foreground else "48", "5", str(self.number)) + + else: # self.standard == ColorStandard.TRUECOLOR: + assert self.triplet is not None + red, green, blue = self.triplet + return ("38" if foreground else "48", "2", str(red), str(green), str(blue)) + + @lru_cache(maxsize=1024) + def downgrade(self, system: ColorSystem) -> "Color": + """Downgrade a color system to a system with fewer colors.""" + + if self.type in (ColorType.DEFAULT, system): + return self + # Convert to 8-bit color from truecolor color + if system == ColorSystem.EIGHT_BIT and self.system == ColorSystem.TRUECOLOR: + assert self.triplet is not None + _h, l, s = rgb_to_hls(*self.triplet.normalized) + # If saturation is under 15% assume it is grayscale + if s < 0.15: + gray = round(l * 25.0) + if gray == 0: + color_number = 16 + elif gray == 25: + color_number = 231 + else: + color_number = 231 + gray + return Color(self.name, ColorType.EIGHT_BIT, number=color_number) + + red, green, blue = self.triplet + six_red = red / 95 if red < 95 else 1 + (red - 95) / 40 + six_green = green / 95 if green < 95 else 1 + (green - 95) / 40 + six_blue = blue / 95 if blue < 95 else 1 + (blue - 95) / 40 + + color_number = ( + 16 + 36 * round(six_red) + 6 * round(six_green) + round(six_blue) + ) + return Color(self.name, ColorType.EIGHT_BIT, number=color_number) + + # Convert to standard from truecolor or 8-bit + elif system == ColorSystem.STANDARD: + if self.system == ColorSystem.TRUECOLOR: + assert self.triplet is not None + triplet = self.triplet + else: # self.system == ColorSystem.EIGHT_BIT + assert self.number is not None + triplet = ColorTriplet(*EIGHT_BIT_PALETTE[self.number]) + + color_number = STANDARD_PALETTE.match(triplet) + return Color(self.name, ColorType.STANDARD, number=color_number) + + elif system == ColorSystem.WINDOWS: + if self.system == ColorSystem.TRUECOLOR: + assert self.triplet is not None + triplet = self.triplet + else: # self.system == ColorSystem.EIGHT_BIT + assert self.number is not None + if self.number < 16: + return Color(self.name, ColorType.WINDOWS, number=self.number) + triplet = ColorTriplet(*EIGHT_BIT_PALETTE[self.number]) + + color_number = WINDOWS_PALETTE.match(triplet) + return Color(self.name, ColorType.WINDOWS, number=color_number) + + return self + + +def parse_rgb_hex(hex_color: str) -> ColorTriplet: + """Parse six hex characters in to RGB triplet.""" + assert len(hex_color) == 6, "must be 6 characters" + color = ColorTriplet( + int(hex_color[0:2], 16), int(hex_color[2:4], 16), int(hex_color[4:6], 16) + ) + return color + + +def blend_rgb( + color1: ColorTriplet, color2: ColorTriplet, cross_fade: float = 0.5 +) -> ColorTriplet: + """Blend one RGB color in to another.""" + r1, g1, b1 = color1 + r2, g2, b2 = color2 + new_color = ColorTriplet( + int(r1 + (r2 - r1) * cross_fade), + int(g1 + (g2 - g1) * cross_fade), + int(b1 + (b2 - b1) * cross_fade), + ) + return new_color + + +if __name__ == "__main__": # pragma: no cover + from .console import Console + from .table import Table + from .text import Text + + console = Console() + + table = Table(show_footer=False, show_edge=True) + table.add_column("Color", width=10, overflow="ellipsis") + table.add_column("Number", justify="right", style="yellow") + table.add_column("Name", style="green") + table.add_column("Hex", style="blue") + table.add_column("RGB", style="magenta") + + colors = sorted((v, k) for k, v in ANSI_COLOR_NAMES.items()) + for color_number, name in colors: + if "grey" in name: + continue + color_cell = Text(" " * 10, style=f"on {name}") + if color_number < 16: + table.add_row(color_cell, f"{color_number}", Text(f'"{name}"')) + else: + color = EIGHT_BIT_PALETTE[color_number] # type: ignore[has-type] + table.add_row( + color_cell, str(color_number), Text(f'"{name}"'), color.hex, color.rgb + ) + + console.print(table) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color_triplet.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color_triplet.py new file mode 100644 index 0000000000000000000000000000000000000000..02cab328251af9bfa809981aaa44933c407e2cd7 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color_triplet.py @@ -0,0 +1,38 @@ +from typing import NamedTuple, Tuple + + +class ColorTriplet(NamedTuple): + """The red, green, and blue components of a color.""" + + red: int + """Red component in 0 to 255 range.""" + green: int + """Green component in 0 to 255 range.""" + blue: int + """Blue component in 0 to 255 range.""" + + @property + def hex(self) -> str: + """get the color triplet in CSS style.""" + red, green, blue = self + return f"#{red:02x}{green:02x}{blue:02x}" + + @property + def rgb(self) -> str: + """The color in RGB format. + + Returns: + str: An rgb color, e.g. ``"rgb(100,23,255)"``. + """ + red, green, blue = self + return f"rgb({red},{green},{blue})" + + @property + def normalized(self) -> Tuple[float, float, float]: + """Convert components into floats between 0 and 1. + + Returns: + Tuple[float, float, float]: A tuple of three normalized colour components. + """ + red, green, blue = self + return red / 255.0, green / 255.0, blue / 255.0 diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/columns.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/columns.py new file mode 100644 index 0000000000000000000000000000000000000000..669a3a7074f9a9e1af29cb4bc78b05851df67959 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/columns.py @@ -0,0 +1,187 @@ +from collections import defaultdict +from itertools import chain +from operator import itemgetter +from typing import Dict, Iterable, List, Optional, Tuple + +from .align import Align, AlignMethod +from .console import Console, ConsoleOptions, RenderableType, RenderResult +from .constrain import Constrain +from .measure import Measurement +from .padding import Padding, PaddingDimensions +from .table import Table +from .text import TextType +from .jupyter import JupyterMixin + + +class Columns(JupyterMixin): + """Display renderables in neat columns. + + Args: + renderables (Iterable[RenderableType]): Any number of Rich renderables (including str). + width (int, optional): The desired width of the columns, or None to auto detect. Defaults to None. + padding (PaddingDimensions, optional): Optional padding around cells. Defaults to (0, 1). + expand (bool, optional): Expand columns to full width. Defaults to False. + equal (bool, optional): Arrange in to equal sized columns. Defaults to False. + column_first (bool, optional): Align items from top to bottom (rather than left to right). Defaults to False. + right_to_left (bool, optional): Start column from right hand side. Defaults to False. + align (str, optional): Align value ("left", "right", or "center") or None for default. Defaults to None. + title (TextType, optional): Optional title for Columns. + """ + + def __init__( + self, + renderables: Optional[Iterable[RenderableType]] = None, + padding: PaddingDimensions = (0, 1), + *, + width: Optional[int] = None, + expand: bool = False, + equal: bool = False, + column_first: bool = False, + right_to_left: bool = False, + align: Optional[AlignMethod] = None, + title: Optional[TextType] = None, + ) -> None: + self.renderables = list(renderables or []) + self.width = width + self.padding = padding + self.expand = expand + self.equal = equal + self.column_first = column_first + self.right_to_left = right_to_left + self.align: Optional[AlignMethod] = align + self.title = title + + def add_renderable(self, renderable: RenderableType) -> None: + """Add a renderable to the columns. + + Args: + renderable (RenderableType): Any renderable object. + """ + self.renderables.append(renderable) + + def __rich_console__( + self, console: Console, options: ConsoleOptions + ) -> RenderResult: + render_str = console.render_str + renderables = [ + render_str(renderable) if isinstance(renderable, str) else renderable + for renderable in self.renderables + ] + if not renderables: + return + _top, right, _bottom, left = Padding.unpack(self.padding) + width_padding = max(left, right) + max_width = options.max_width + widths: Dict[int, int] = defaultdict(int) + column_count = len(renderables) + + get_measurement = Measurement.get + renderable_widths = [ + get_measurement(console, options, renderable).maximum + for renderable in renderables + ] + if self.equal: + renderable_widths = [max(renderable_widths)] * len(renderable_widths) + + def iter_renderables( + column_count: int, + ) -> Iterable[Tuple[int, Optional[RenderableType]]]: + item_count = len(renderables) + if self.column_first: + width_renderables = list(zip(renderable_widths, renderables)) + + column_lengths: List[int] = [item_count // column_count] * column_count + for col_no in range(item_count % column_count): + column_lengths[col_no] += 1 + + row_count = (item_count + column_count - 1) // column_count + cells = [[-1] * column_count for _ in range(row_count)] + row = col = 0 + for index in range(item_count): + cells[row][col] = index + column_lengths[col] -= 1 + if column_lengths[col]: + row += 1 + else: + col += 1 + row = 0 + for index in chain.from_iterable(cells): + if index == -1: + break + yield width_renderables[index] + else: + yield from zip(renderable_widths, renderables) + # Pad odd elements with spaces + if item_count % column_count: + for _ in range(column_count - (item_count % column_count)): + yield 0, None + + table = Table.grid(padding=self.padding, collapse_padding=True, pad_edge=False) + table.expand = self.expand + table.title = self.title + + if self.width is not None: + column_count = (max_width) // (self.width + width_padding) + for _ in range(column_count): + table.add_column(width=self.width) + else: + while column_count > 1: + widths.clear() + column_no = 0 + for renderable_width, _ in iter_renderables(column_count): + widths[column_no] = max(widths[column_no], renderable_width) + total_width = sum(widths.values()) + width_padding * ( + len(widths) - 1 + ) + if total_width > max_width: + column_count = len(widths) - 1 + break + else: + column_no = (column_no + 1) % column_count + else: + break + + get_renderable = itemgetter(1) + _renderables = [ + get_renderable(_renderable) + for _renderable in iter_renderables(column_count) + ] + if self.equal: + _renderables = [ + None + if renderable is None + else Constrain(renderable, renderable_widths[0]) + for renderable in _renderables + ] + if self.align: + align = self.align + _Align = Align + _renderables = [ + None if renderable is None else _Align(renderable, align) + for renderable in _renderables + ] + + right_to_left = self.right_to_left + add_row = table.add_row + for start in range(0, len(_renderables), column_count): + row = _renderables[start : start + column_count] + if right_to_left: + row = row[::-1] + add_row(*row) + yield table + + +if __name__ == "__main__": # pragma: no cover + import os + + console = Console() + + files = [f"{i} {s}" for i, s in enumerate(sorted(os.listdir()))] + columns = Columns(files, padding=(0, 1), expand=False, equal=False) + console.print(columns) + console.rule() + columns.column_first = True + console.print(columns) + columns.right_to_left = True + console.rule() + console.print(columns) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/console.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/console.py new file mode 100644 index 0000000000000000000000000000000000000000..db2ba55abd1a6dfc62331837cd51036b2300d98a --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/console.py @@ -0,0 +1,2680 @@ +import inspect +import os +import sys +import threading +import zlib +from abc import ABC, abstractmethod +from dataclasses import dataclass, field +from datetime import datetime +from functools import wraps +from getpass import getpass +from html import escape +from inspect import isclass +from itertools import islice +from math import ceil +from time import monotonic +from types import FrameType, ModuleType, TracebackType +from typing import ( + IO, + TYPE_CHECKING, + Any, + Callable, + Dict, + Iterable, + List, + Literal, + Mapping, + NamedTuple, + Optional, + Protocol, + TextIO, + Tuple, + Type, + Union, + cast, + runtime_checkable, +) + +from pip._vendor.rich._null_file import NULL_FILE + +from . import errors, themes +from ._emoji_replace import _emoji_replace +from ._export_format import CONSOLE_HTML_FORMAT, CONSOLE_SVG_FORMAT +from ._fileno import get_fileno +from ._log_render import FormatTimeCallable, LogRender +from .align import Align, AlignMethod +from .color import ColorSystem, blend_rgb +from .control import Control +from .emoji import EmojiVariant +from .highlighter import NullHighlighter, ReprHighlighter +from .markup import render as render_markup +from .measure import Measurement, measure_renderables +from .pager import Pager, SystemPager +from .pretty import Pretty, is_expandable +from .protocol import rich_cast +from .region import Region +from .scope import render_scope +from .screen import Screen +from .segment import Segment +from .style import Style, StyleType +from .styled import Styled +from .terminal_theme import DEFAULT_TERMINAL_THEME, SVG_EXPORT_THEME, TerminalTheme +from .text import Text, TextType +from .theme import Theme, ThemeStack + +if TYPE_CHECKING: + from ._windows import WindowsConsoleFeatures + from .live import Live + from .status import Status + +JUPYTER_DEFAULT_COLUMNS = 115 +JUPYTER_DEFAULT_LINES = 100 +WINDOWS = sys.platform == "win32" + +HighlighterType = Callable[[Union[str, "Text"]], "Text"] +JustifyMethod = Literal["default", "left", "center", "right", "full"] +OverflowMethod = Literal["fold", "crop", "ellipsis", "ignore"] + + +class NoChange: + pass + + +NO_CHANGE = NoChange() + +try: + _STDIN_FILENO = sys.__stdin__.fileno() # type: ignore[union-attr] +except Exception: + _STDIN_FILENO = 0 +try: + _STDOUT_FILENO = sys.__stdout__.fileno() # type: ignore[union-attr] +except Exception: + _STDOUT_FILENO = 1 +try: + _STDERR_FILENO = sys.__stderr__.fileno() # type: ignore[union-attr] +except Exception: + _STDERR_FILENO = 2 + +_STD_STREAMS = (_STDIN_FILENO, _STDOUT_FILENO, _STDERR_FILENO) +_STD_STREAMS_OUTPUT = (_STDOUT_FILENO, _STDERR_FILENO) + + +_TERM_COLORS = { + "kitty": ColorSystem.EIGHT_BIT, + "256color": ColorSystem.EIGHT_BIT, + "16color": ColorSystem.STANDARD, +} + + +class ConsoleDimensions(NamedTuple): + """Size of the terminal.""" + + width: int + """The width of the console in 'cells'.""" + height: int + """The height of the console in lines.""" + + +@dataclass +class ConsoleOptions: + """Options for __rich_console__ method.""" + + size: ConsoleDimensions + """Size of console.""" + legacy_windows: bool + """legacy_windows: flag for legacy windows.""" + min_width: int + """Minimum width of renderable.""" + max_width: int + """Maximum width of renderable.""" + is_terminal: bool + """True if the target is a terminal, otherwise False.""" + encoding: str + """Encoding of terminal.""" + max_height: int + """Height of container (starts as terminal)""" + justify: Optional[JustifyMethod] = None + """Justify value override for renderable.""" + overflow: Optional[OverflowMethod] = None + """Overflow value override for renderable.""" + no_wrap: Optional[bool] = False + """Disable wrapping for text.""" + highlight: Optional[bool] = None + """Highlight override for render_str.""" + markup: Optional[bool] = None + """Enable markup when rendering strings.""" + height: Optional[int] = None + + @property + def ascii_only(self) -> bool: + """Check if renderables should use ascii only.""" + return not self.encoding.startswith("utf") + + def copy(self) -> "ConsoleOptions": + """Return a copy of the options. + + Returns: + ConsoleOptions: a copy of self. + """ + options: ConsoleOptions = ConsoleOptions.__new__(ConsoleOptions) + options.__dict__ = self.__dict__.copy() + return options + + def update( + self, + *, + width: Union[int, NoChange] = NO_CHANGE, + min_width: Union[int, NoChange] = NO_CHANGE, + max_width: Union[int, NoChange] = NO_CHANGE, + justify: Union[Optional[JustifyMethod], NoChange] = NO_CHANGE, + overflow: Union[Optional[OverflowMethod], NoChange] = NO_CHANGE, + no_wrap: Union[Optional[bool], NoChange] = NO_CHANGE, + highlight: Union[Optional[bool], NoChange] = NO_CHANGE, + markup: Union[Optional[bool], NoChange] = NO_CHANGE, + height: Union[Optional[int], NoChange] = NO_CHANGE, + ) -> "ConsoleOptions": + """Update values, return a copy.""" + options = self.copy() + if not isinstance(width, NoChange): + options.min_width = options.max_width = max(0, width) + if not isinstance(min_width, NoChange): + options.min_width = min_width + if not isinstance(max_width, NoChange): + options.max_width = max_width + if not isinstance(justify, NoChange): + options.justify = justify + if not isinstance(overflow, NoChange): + options.overflow = overflow + if not isinstance(no_wrap, NoChange): + options.no_wrap = no_wrap + if not isinstance(highlight, NoChange): + options.highlight = highlight + if not isinstance(markup, NoChange): + options.markup = markup + if not isinstance(height, NoChange): + if height is not None: + options.max_height = height + options.height = None if height is None else max(0, height) + return options + + def update_width(self, width: int) -> "ConsoleOptions": + """Update just the width, return a copy. + + Args: + width (int): New width (sets both min_width and max_width) + + Returns: + ~ConsoleOptions: New console options instance. + """ + options = self.copy() + options.min_width = options.max_width = max(0, width) + return options + + def update_height(self, height: int) -> "ConsoleOptions": + """Update the height, and return a copy. + + Args: + height (int): New height + + Returns: + ~ConsoleOptions: New Console options instance. + """ + options = self.copy() + options.max_height = options.height = height + return options + + def reset_height(self) -> "ConsoleOptions": + """Return a copy of the options with height set to ``None``. + + Returns: + ~ConsoleOptions: New console options instance. + """ + options = self.copy() + options.height = None + return options + + def update_dimensions(self, width: int, height: int) -> "ConsoleOptions": + """Update the width and height, and return a copy. + + Args: + width (int): New width (sets both min_width and max_width). + height (int): New height. + + Returns: + ~ConsoleOptions: New console options instance. + """ + options = self.copy() + options.min_width = options.max_width = max(0, width) + options.height = options.max_height = height + return options + + +@runtime_checkable +class RichCast(Protocol): + """An object that may be 'cast' to a console renderable.""" + + def __rich__( + self, + ) -> Union["ConsoleRenderable", "RichCast", str]: # pragma: no cover + ... + + +@runtime_checkable +class ConsoleRenderable(Protocol): + """An object that supports the console protocol.""" + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> "RenderResult": # pragma: no cover + ... + + +# A type that may be rendered by Console. +RenderableType = Union[ConsoleRenderable, RichCast, str] +"""A string or any object that may be rendered by Rich.""" + +# The result of calling a __rich_console__ method. +RenderResult = Iterable[Union[RenderableType, Segment]] + +_null_highlighter = NullHighlighter() + + +class CaptureError(Exception): + """An error in the Capture context manager.""" + + +class NewLine: + """A renderable to generate new line(s)""" + + def __init__(self, count: int = 1) -> None: + self.count = count + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> Iterable[Segment]: + yield Segment("\n" * self.count) + + +class ScreenUpdate: + """Render a list of lines at a given offset.""" + + def __init__(self, lines: List[List[Segment]], x: int, y: int) -> None: + self._lines = lines + self.x = x + self.y = y + + def __rich_console__( + self, console: "Console", options: ConsoleOptions + ) -> RenderResult: + x = self.x + move_to = Control.move_to + for offset, line in enumerate(self._lines, self.y): + yield move_to(x, offset) + yield from line + + +class Capture: + """Context manager to capture the result of printing to the console. + See :meth:`~rich.console.Console.capture` for how to use. + + Args: + console (Console): A console instance to capture output. + """ + + def __init__(self, console: "Console") -> None: + self._console = console + self._result: Optional[str] = None + + def __enter__(self) -> "Capture": + self._console.begin_capture() + return self + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + self._result = self._console.end_capture() + + def get(self) -> str: + """Get the result of the capture.""" + if self._result is None: + raise CaptureError( + "Capture result is not available until context manager exits." + ) + return self._result + + +class ThemeContext: + """A context manager to use a temporary theme. See :meth:`~rich.console.Console.use_theme` for usage.""" + + def __init__(self, console: "Console", theme: Theme, inherit: bool = True) -> None: + self.console = console + self.theme = theme + self.inherit = inherit + + def __enter__(self) -> "ThemeContext": + self.console.push_theme(self.theme) + return self + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + self.console.pop_theme() + + +class PagerContext: + """A context manager that 'pages' content. See :meth:`~rich.console.Console.pager` for usage.""" + + def __init__( + self, + console: "Console", + pager: Optional[Pager] = None, + styles: bool = False, + links: bool = False, + ) -> None: + self._console = console + self.pager = SystemPager() if pager is None else pager + self.styles = styles + self.links = links + + def __enter__(self) -> "PagerContext": + self._console._enter_buffer() + return self + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + if exc_type is None: + with self._console._lock: + buffer: List[Segment] = self._console._buffer[:] + del self._console._buffer[:] + segments: Iterable[Segment] = buffer + if not self.styles: + segments = Segment.strip_styles(segments) + elif not self.links: + segments = Segment.strip_links(segments) + content = self._console._render_buffer(segments) + self.pager.show(content) + self._console._exit_buffer() + + +class ScreenContext: + """A context manager that enables an alternative screen. See :meth:`~rich.console.Console.screen` for usage.""" + + def __init__( + self, console: "Console", hide_cursor: bool, style: StyleType = "" + ) -> None: + self.console = console + self.hide_cursor = hide_cursor + self.screen = Screen(style=style) + self._changed = False + + def update( + self, *renderables: RenderableType, style: Optional[StyleType] = None + ) -> None: + """Update the screen. + + Args: + renderable (RenderableType, optional): Optional renderable to replace current renderable, + or None for no change. Defaults to None. + style: (Style, optional): Replacement style, or None for no change. Defaults to None. + """ + if renderables: + self.screen.renderable = ( + Group(*renderables) if len(renderables) > 1 else renderables[0] + ) + if style is not None: + self.screen.style = style + self.console.print(self.screen, end="") + + def __enter__(self) -> "ScreenContext": + self._changed = self.console.set_alt_screen(True) + if self._changed and self.hide_cursor: + self.console.show_cursor(False) + return self + + def __exit__( + self, + exc_type: Optional[Type[BaseException]], + exc_val: Optional[BaseException], + exc_tb: Optional[TracebackType], + ) -> None: + if self._changed: + self.console.set_alt_screen(False) + if self.hide_cursor: + self.console.show_cursor(True) + + +class Group: + """Takes a group of renderables and returns a renderable object that renders the group. + + Args: + renderables (Iterable[RenderableType]): An iterable of renderable objects. + fit (bool, optional): Fit dimension of group to contents, or fill available space. Defaults to True. + """ + + def __init__(self, *renderables: "RenderableType", fit: bool = True) -> None: + self._renderables = renderables + self.fit = fit + self._render: Optional[List[RenderableType]] = None + + @property + def renderables(self) -> List["RenderableType"]: + if self._render is None: + self._render = list(self._renderables) + return self._render + + def __rich_measure__( + self, console: "Console", options: "ConsoleOptions" + ) -> "Measurement": + if self.fit: + return measure_renderables(console, options, self.renderables) + else: + return Measurement(options.max_width, options.max_width) + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> RenderResult: + yield from self.renderables + + +def group(fit: bool = True) -> Callable[..., Callable[..., Group]]: + """A decorator that turns an iterable of renderables in to a group. + + Args: + fit (bool, optional): Fit dimension of group to contents, or fill available space. Defaults to True. + """ + + def decorator( + method: Callable[..., Iterable[RenderableType]], + ) -> Callable[..., Group]: + """Convert a method that returns an iterable of renderables in to a Group.""" + + @wraps(method) + def _replace(*args: Any, **kwargs: Any) -> Group: + renderables = method(*args, **kwargs) + return Group(*renderables, fit=fit) + + return _replace + + return decorator + + +def _is_jupyter() -> bool: # pragma: no cover + """Check if we're running in a Jupyter notebook.""" + try: + get_ipython # type: ignore[name-defined] + except NameError: + return False + ipython = get_ipython() # type: ignore[name-defined] + shell = ipython.__class__.__name__ + if ( + "google.colab" in str(ipython.__class__) + or os.getenv("DATABRICKS_RUNTIME_VERSION") + or shell == "ZMQInteractiveShell" + ): + return True # Jupyter notebook or qtconsole + elif shell == "TerminalInteractiveShell": + return False # Terminal running IPython + else: + return False # Other type (?) + + +COLOR_SYSTEMS = { + "standard": ColorSystem.STANDARD, + "256": ColorSystem.EIGHT_BIT, + "truecolor": ColorSystem.TRUECOLOR, + "windows": ColorSystem.WINDOWS, +} + +_COLOR_SYSTEMS_NAMES = {system: name for name, system in COLOR_SYSTEMS.items()} + + +@dataclass +class ConsoleThreadLocals(threading.local): + """Thread local values for Console context.""" + + theme_stack: ThemeStack + buffer: List[Segment] = field(default_factory=list) + buffer_index: int = 0 + + +class RenderHook(ABC): + """Provides hooks in to the render process.""" + + @abstractmethod + def process_renderables( + self, renderables: List[ConsoleRenderable] + ) -> List[ConsoleRenderable]: + """Called with a list of objects to render. + + This method can return a new list of renderables, or modify and return the same list. + + Args: + renderables (List[ConsoleRenderable]): A number of renderable objects. + + Returns: + List[ConsoleRenderable]: A replacement list of renderables. + """ + + +_windows_console_features: Optional["WindowsConsoleFeatures"] = None + + +def get_windows_console_features() -> "WindowsConsoleFeatures": # pragma: no cover + global _windows_console_features + if _windows_console_features is not None: + return _windows_console_features + from ._windows import get_windows_console_features + + _windows_console_features = get_windows_console_features() + return _windows_console_features + + +def detect_legacy_windows() -> bool: + """Detect legacy Windows.""" + return WINDOWS and not get_windows_console_features().vt + + +class Console: + """A high level console interface. + + Args: + color_system (str, optional): The color system supported by your terminal, + either ``"standard"``, ``"256"`` or ``"truecolor"``. Leave as ``"auto"`` to autodetect. + force_terminal (Optional[bool], optional): Enable/disable terminal control codes, or None to auto-detect terminal. Defaults to None. + force_jupyter (Optional[bool], optional): Enable/disable Jupyter rendering, or None to auto-detect Jupyter. Defaults to None. + force_interactive (Optional[bool], optional): Enable/disable interactive mode, or None to auto detect. Defaults to None. + soft_wrap (Optional[bool], optional): Set soft wrap default on print method. Defaults to False. + theme (Theme, optional): An optional style theme object, or ``None`` for default theme. + stderr (bool, optional): Use stderr rather than stdout if ``file`` is not specified. Defaults to False. + file (IO, optional): A file object where the console should write to. Defaults to stdout. + quiet (bool, Optional): Boolean to suppress all output. Defaults to False. + width (int, optional): The width of the terminal. Leave as default to auto-detect width. + height (int, optional): The height of the terminal. Leave as default to auto-detect height. + style (StyleType, optional): Style to apply to all output, or None for no style. Defaults to None. + no_color (Optional[bool], optional): Enabled no color mode, or None to auto detect. Defaults to None. + tab_size (int, optional): Number of spaces used to replace a tab character. Defaults to 8. + record (bool, optional): Boolean to enable recording of terminal output, + required to call :meth:`export_html`, :meth:`export_svg`, and :meth:`export_text`. Defaults to False. + markup (bool, optional): Boolean to enable :ref:`console_markup`. Defaults to True. + emoji (bool, optional): Enable emoji code. Defaults to True. + emoji_variant (str, optional): Optional emoji variant, either "text" or "emoji". Defaults to None. + highlight (bool, optional): Enable automatic highlighting. Defaults to True. + log_time (bool, optional): Boolean to enable logging of time by :meth:`log` methods. Defaults to True. + log_path (bool, optional): Boolean to enable the logging of the caller by :meth:`log`. Defaults to True. + log_time_format (Union[str, TimeFormatterCallable], optional): If ``log_time`` is enabled, either string for strftime or callable that formats the time. Defaults to "[%X] ". + highlighter (HighlighterType, optional): Default highlighter. + legacy_windows (bool, optional): Enable legacy Windows mode, or ``None`` to auto detect. Defaults to ``None``. + safe_box (bool, optional): Restrict box options that don't render on legacy Windows. + get_datetime (Callable[[], datetime], optional): Callable that gets the current time as a datetime.datetime object (used by Console.log), + or None for datetime.now. + get_time (Callable[[], time], optional): Callable that gets the current time in seconds, default uses time.monotonic. + """ + + _environ: Mapping[str, str] = os.environ + + def __init__( + self, + *, + color_system: Optional[ + Literal["auto", "standard", "256", "truecolor", "windows"] + ] = "auto", + force_terminal: Optional[bool] = None, + force_jupyter: Optional[bool] = None, + force_interactive: Optional[bool] = None, + soft_wrap: bool = False, + theme: Optional[Theme] = None, + stderr: bool = False, + file: Optional[IO[str]] = None, + quiet: bool = False, + width: Optional[int] = None, + height: Optional[int] = None, + style: Optional[StyleType] = None, + no_color: Optional[bool] = None, + tab_size: int = 8, + record: bool = False, + markup: bool = True, + emoji: bool = True, + emoji_variant: Optional[EmojiVariant] = None, + highlight: bool = True, + log_time: bool = True, + log_path: bool = True, + log_time_format: Union[str, FormatTimeCallable] = "[%X]", + highlighter: Optional["HighlighterType"] = ReprHighlighter(), + legacy_windows: Optional[bool] = None, + safe_box: bool = True, + get_datetime: Optional[Callable[[], datetime]] = None, + get_time: Optional[Callable[[], float]] = None, + _environ: Optional[Mapping[str, str]] = None, + ): + # Copy of os.environ allows us to replace it for testing + if _environ is not None: + self._environ = _environ + + self.is_jupyter = _is_jupyter() if force_jupyter is None else force_jupyter + if self.is_jupyter: + if width is None: + jupyter_columns = self._environ.get("JUPYTER_COLUMNS") + if jupyter_columns is not None and jupyter_columns.isdigit(): + width = int(jupyter_columns) + else: + width = JUPYTER_DEFAULT_COLUMNS + if height is None: + jupyter_lines = self._environ.get("JUPYTER_LINES") + if jupyter_lines is not None and jupyter_lines.isdigit(): + height = int(jupyter_lines) + else: + height = JUPYTER_DEFAULT_LINES + + self.tab_size = tab_size + self.record = record + self._markup = markup + self._emoji = emoji + self._emoji_variant: Optional[EmojiVariant] = emoji_variant + self._highlight = highlight + self.legacy_windows: bool = ( + (detect_legacy_windows() and not self.is_jupyter) + if legacy_windows is None + else legacy_windows + ) + + if width is None: + columns = self._environ.get("COLUMNS") + if columns is not None and columns.isdigit(): + width = int(columns) - self.legacy_windows + if height is None: + lines = self._environ.get("LINES") + if lines is not None and lines.isdigit(): + height = int(lines) + + self.soft_wrap = soft_wrap + self._width = width + self._height = height + + self._color_system: Optional[ColorSystem] + + self._force_terminal = None + if force_terminal is not None: + self._force_terminal = force_terminal + + self._file = file + self.quiet = quiet + self.stderr = stderr + + if color_system is None: + self._color_system = None + elif color_system == "auto": + self._color_system = self._detect_color_system() + else: + self._color_system = COLOR_SYSTEMS[color_system] + + self._lock = threading.RLock() + self._log_render = LogRender( + show_time=log_time, + show_path=log_path, + time_format=log_time_format, + ) + self.highlighter: HighlighterType = highlighter or _null_highlighter + self.safe_box = safe_box + self.get_datetime = get_datetime or datetime.now + self.get_time = get_time or monotonic + self.style = style + self.no_color = ( + no_color + if no_color is not None + else self._environ.get("NO_COLOR", "") != "" + ) + if force_interactive is None: + tty_interactive = self._environ.get("TTY_INTERACTIVE", None) + if tty_interactive is not None: + if tty_interactive == "0": + force_interactive = False + elif tty_interactive == "1": + force_interactive = True + + self.is_interactive = ( + (self.is_terminal and not self.is_dumb_terminal) + if force_interactive is None + else force_interactive + ) + + self._record_buffer_lock = threading.RLock() + self._thread_locals = ConsoleThreadLocals( + theme_stack=ThemeStack(themes.DEFAULT if theme is None else theme) + ) + self._record_buffer: List[Segment] = [] + self._render_hooks: List[RenderHook] = [] + self._live_stack: List[Live] = [] + self._is_alt_screen = False + + def __repr__(self) -> str: + return f"" + + @property + def file(self) -> IO[str]: + """Get the file object to write to.""" + file = self._file or (sys.stderr if self.stderr else sys.stdout) + file = getattr(file, "rich_proxied_file", file) + if file is None: + file = NULL_FILE + return file + + @file.setter + def file(self, new_file: IO[str]) -> None: + """Set a new file object.""" + self._file = new_file + + @property + def _buffer(self) -> List[Segment]: + """Get a thread local buffer.""" + return self._thread_locals.buffer + + @property + def _buffer_index(self) -> int: + """Get a thread local buffer.""" + return self._thread_locals.buffer_index + + @_buffer_index.setter + def _buffer_index(self, value: int) -> None: + self._thread_locals.buffer_index = value + + @property + def _theme_stack(self) -> ThemeStack: + """Get the thread local theme stack.""" + return self._thread_locals.theme_stack + + def _detect_color_system(self) -> Optional[ColorSystem]: + """Detect color system from env vars.""" + if self.is_jupyter: + return ColorSystem.TRUECOLOR + if not self.is_terminal or self.is_dumb_terminal: + return None + if WINDOWS: # pragma: no cover + if self.legacy_windows: # pragma: no cover + return ColorSystem.WINDOWS + windows_console_features = get_windows_console_features() + return ( + ColorSystem.TRUECOLOR + if windows_console_features.truecolor + else ColorSystem.EIGHT_BIT + ) + else: + color_term = self._environ.get("COLORTERM", "").strip().lower() + if color_term in ("truecolor", "24bit"): + return ColorSystem.TRUECOLOR + term = self._environ.get("TERM", "").strip().lower() + _term_name, _hyphen, colors = term.rpartition("-") + color_system = _TERM_COLORS.get(colors, ColorSystem.STANDARD) + return color_system + + def _enter_buffer(self) -> None: + """Enter in to a buffer context, and buffer all output.""" + self._buffer_index += 1 + + def _exit_buffer(self) -> None: + """Leave buffer context, and render content if required.""" + self._buffer_index -= 1 + self._check_buffer() + + def set_live(self, live: "Live") -> bool: + """Set Live instance. Used by Live context manager (no need to call directly). + + Args: + live (Live): Live instance using this Console. + + Returns: + Boolean that indicates if the live is the topmost of the stack. + + Raises: + errors.LiveError: If this Console has a Live context currently active. + """ + with self._lock: + self._live_stack.append(live) + return len(self._live_stack) == 1 + + def clear_live(self) -> None: + """Clear the Live instance. Used by the Live context manager (no need to call directly).""" + with self._lock: + self._live_stack.pop() + + def push_render_hook(self, hook: RenderHook) -> None: + """Add a new render hook to the stack. + + Args: + hook (RenderHook): Render hook instance. + """ + with self._lock: + self._render_hooks.append(hook) + + def pop_render_hook(self) -> None: + """Pop the last renderhook from the stack.""" + with self._lock: + self._render_hooks.pop() + + def __enter__(self) -> "Console": + """Own context manager to enter buffer context.""" + self._enter_buffer() + return self + + def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: + """Exit buffer context.""" + self._exit_buffer() + + def begin_capture(self) -> None: + """Begin capturing console output. Call :meth:`end_capture` to exit capture mode and return output.""" + self._enter_buffer() + + def end_capture(self) -> str: + """End capture mode and return captured string. + + Returns: + str: Console output. + """ + render_result = self._render_buffer(self._buffer) + del self._buffer[:] + self._exit_buffer() + return render_result + + def push_theme(self, theme: Theme, *, inherit: bool = True) -> None: + """Push a new theme on to the top of the stack, replacing the styles from the previous theme. + Generally speaking, you should call :meth:`~rich.console.Console.use_theme` to get a context manager, rather + than calling this method directly. + + Args: + theme (Theme): A theme instance. + inherit (bool, optional): Inherit existing styles. Defaults to True. + """ + self._theme_stack.push_theme(theme, inherit=inherit) + + def pop_theme(self) -> None: + """Remove theme from top of stack, restoring previous theme.""" + self._theme_stack.pop_theme() + + def use_theme(self, theme: Theme, *, inherit: bool = True) -> ThemeContext: + """Use a different theme for the duration of the context manager. + + Args: + theme (Theme): Theme instance to user. + inherit (bool, optional): Inherit existing console styles. Defaults to True. + + Returns: + ThemeContext: [description] + """ + return ThemeContext(self, theme, inherit) + + @property + def color_system(self) -> Optional[str]: + """Get color system string. + + Returns: + Optional[str]: "standard", "256" or "truecolor". + """ + + if self._color_system is not None: + return _COLOR_SYSTEMS_NAMES[self._color_system] + else: + return None + + @property + def encoding(self) -> str: + """Get the encoding of the console file, e.g. ``"utf-8"``. + + Returns: + str: A standard encoding string. + """ + return (getattr(self.file, "encoding", "utf-8") or "utf-8").lower() + + @property + def is_terminal(self) -> bool: + """Check if the console is writing to a terminal. + + Returns: + bool: True if the console writing to a device capable of + understanding escape sequences, otherwise False. + """ + # If dev has explicitly set this value, return it + if self._force_terminal is not None: + return self._force_terminal + + # Fudge for Idle + if hasattr(sys.stdin, "__module__") and sys.stdin.__module__.startswith( + "idlelib" + ): + # Return False for Idle which claims to be a tty but can't handle ansi codes + return False + + if self.is_jupyter: + # return False for Jupyter, which may have FORCE_COLOR set + return False + + environ = self._environ + + tty_compatible = environ.get("TTY_COMPATIBLE", "") + # 0 indicates device is not tty compatible + if tty_compatible == "0": + return False + # 1 indicates device is tty compatible + if tty_compatible == "1": + return True + + # https://force-color.org/ + force_color = environ.get("FORCE_COLOR") + if force_color is not None: + return force_color != "" + + # Any other value defaults to auto detect + isatty: Optional[Callable[[], bool]] = getattr(self.file, "isatty", None) + try: + return False if isatty is None else isatty() + except ValueError: + # in some situation (at the end of a pytest run for example) isatty() can raise + # ValueError: I/O operation on closed file + # return False because we aren't in a terminal anymore + return False + + @property + def is_dumb_terminal(self) -> bool: + """Detect dumb terminal. + + Returns: + bool: True if writing to a dumb terminal, otherwise False. + + """ + _term = self._environ.get("TERM", "") + is_dumb = _term.lower() in ("dumb", "unknown") + return self.is_terminal and is_dumb + + @property + def options(self) -> ConsoleOptions: + """Get default console options.""" + size = self.size + return ConsoleOptions( + max_height=size.height, + size=size, + legacy_windows=self.legacy_windows, + min_width=1, + max_width=size.width, + encoding=self.encoding, + is_terminal=self.is_terminal, + ) + + @property + def size(self) -> ConsoleDimensions: + """Get the size of the console. + + Returns: + ConsoleDimensions: A named tuple containing the dimensions. + """ + + if self._width is not None and self._height is not None: + return ConsoleDimensions(self._width - self.legacy_windows, self._height) + + if self.is_dumb_terminal: + return ConsoleDimensions(80, 25) + + width: Optional[int] = None + height: Optional[int] = None + + streams = _STD_STREAMS_OUTPUT if WINDOWS else _STD_STREAMS + for file_descriptor in streams: + try: + width, height = os.get_terminal_size(file_descriptor) + except (AttributeError, ValueError, OSError): # Probably not a terminal + pass + else: + break + + columns = self._environ.get("COLUMNS") + if columns is not None and columns.isdigit(): + width = int(columns) + lines = self._environ.get("LINES") + if lines is not None and lines.isdigit(): + height = int(lines) + + # get_terminal_size can report 0, 0 if run from pseudo-terminal + width = width or 80 + height = height or 25 + return ConsoleDimensions( + width - self.legacy_windows if self._width is None else self._width, + height if self._height is None else self._height, + ) + + @size.setter + def size(self, new_size: Tuple[int, int]) -> None: + """Set a new size for the terminal. + + Args: + new_size (Tuple[int, int]): New width and height. + """ + width, height = new_size + self._width = width + self._height = height + + @property + def width(self) -> int: + """Get the width of the console. + + Returns: + int: The width (in characters) of the console. + """ + return self.size.width + + @width.setter + def width(self, width: int) -> None: + """Set width. + + Args: + width (int): New width. + """ + self._width = width + + @property + def height(self) -> int: + """Get the height of the console. + + Returns: + int: The height (in lines) of the console. + """ + return self.size.height + + @height.setter + def height(self, height: int) -> None: + """Set height. + + Args: + height (int): new height. + """ + self._height = height + + def bell(self) -> None: + """Play a 'bell' sound (if supported by the terminal).""" + self.control(Control.bell()) + + def capture(self) -> Capture: + """A context manager to *capture* the result of print() or log() in a string, + rather than writing it to the console. + + Example: + >>> from rich.console import Console + >>> console = Console() + >>> with console.capture() as capture: + ... console.print("[bold magenta]Hello World[/]") + >>> print(capture.get()) + + Returns: + Capture: Context manager with disables writing to the terminal. + """ + capture = Capture(self) + return capture + + def pager( + self, pager: Optional[Pager] = None, styles: bool = False, links: bool = False + ) -> PagerContext: + """A context manager to display anything printed within a "pager". The pager application + is defined by the system and will typically support at least pressing a key to scroll. + + Args: + pager (Pager, optional): A pager object, or None to use :class:`~rich.pager.SystemPager`. Defaults to None. + styles (bool, optional): Show styles in pager. Defaults to False. + links (bool, optional): Show links in pager. Defaults to False. + + Example: + >>> from rich.console import Console + >>> from rich.__main__ import make_test_card + >>> console = Console() + >>> with console.pager(): + console.print(make_test_card()) + + Returns: + PagerContext: A context manager. + """ + return PagerContext(self, pager=pager, styles=styles, links=links) + + def line(self, count: int = 1) -> None: + """Write new line(s). + + Args: + count (int, optional): Number of new lines. Defaults to 1. + """ + + assert count >= 0, "count must be >= 0" + self.print(NewLine(count)) + + def clear(self, home: bool = True) -> None: + """Clear the screen. + + Args: + home (bool, optional): Also move the cursor to 'home' position. Defaults to True. + """ + if home: + self.control(Control.clear(), Control.home()) + else: + self.control(Control.clear()) + + def status( + self, + status: RenderableType, + *, + spinner: str = "dots", + spinner_style: StyleType = "status.spinner", + speed: float = 1.0, + refresh_per_second: float = 12.5, + ) -> "Status": + """Display a status and spinner. + + Args: + status (RenderableType): A status renderable (str or Text typically). + spinner (str, optional): Name of spinner animation (see python -m rich.spinner). Defaults to "dots". + spinner_style (StyleType, optional): Style of spinner. Defaults to "status.spinner". + speed (float, optional): Speed factor for spinner animation. Defaults to 1.0. + refresh_per_second (float, optional): Number of refreshes per second. Defaults to 12.5. + + Returns: + Status: A Status object that may be used as a context manager. + """ + from .status import Status + + status_renderable = Status( + status, + console=self, + spinner=spinner, + spinner_style=spinner_style, + speed=speed, + refresh_per_second=refresh_per_second, + ) + return status_renderable + + def show_cursor(self, show: bool = True) -> bool: + """Show or hide the cursor. + + Args: + show (bool, optional): Set visibility of the cursor. + """ + if self.is_terminal: + self.control(Control.show_cursor(show)) + return True + return False + + def set_alt_screen(self, enable: bool = True) -> bool: + """Enables alternative screen mode. + + Note, if you enable this mode, you should ensure that is disabled before + the application exits. See :meth:`~rich.Console.screen` for a context manager + that handles this for you. + + Args: + enable (bool, optional): Enable (True) or disable (False) alternate screen. Defaults to True. + + Returns: + bool: True if the control codes were written. + + """ + changed = False + if self.is_terminal and not self.legacy_windows: + self.control(Control.alt_screen(enable)) + changed = True + self._is_alt_screen = enable + return changed + + @property + def is_alt_screen(self) -> bool: + """Check if the alt screen was enabled. + + Returns: + bool: True if the alt screen was enabled, otherwise False. + """ + return self._is_alt_screen + + def set_window_title(self, title: str) -> bool: + """Set the title of the console terminal window. + + Warning: There is no means within Rich of "resetting" the window title to its + previous value, meaning the title you set will persist even after your application + exits. + + ``fish`` shell resets the window title before and after each command by default, + negating this issue. Windows Terminal and command prompt will also reset the title for you. + Most other shells and terminals, however, do not do this. + + Some terminals may require configuration changes before you can set the title. + Some terminals may not support setting the title at all. + + Other software (including the terminal itself, the shell, custom prompts, plugins, etc.) + may also set the terminal window title. This could result in whatever value you write + using this method being overwritten. + + Args: + title (str): The new title of the terminal window. + + Returns: + bool: True if the control code to change the terminal title was + written, otherwise False. Note that a return value of True + does not guarantee that the window title has actually changed, + since the feature may be unsupported/disabled in some terminals. + """ + if self.is_terminal: + self.control(Control.title(title)) + return True + return False + + def screen( + self, hide_cursor: bool = True, style: Optional[StyleType] = None + ) -> "ScreenContext": + """Context manager to enable and disable 'alternative screen' mode. + + Args: + hide_cursor (bool, optional): Also hide the cursor. Defaults to False. + style (Style, optional): Optional style for screen. Defaults to None. + + Returns: + ~ScreenContext: Context which enables alternate screen on enter, and disables it on exit. + """ + return ScreenContext(self, hide_cursor=hide_cursor, style=style or "") + + def measure( + self, renderable: RenderableType, *, options: Optional[ConsoleOptions] = None + ) -> Measurement: + """Measure a renderable. Returns a :class:`~rich.measure.Measurement` object which contains + information regarding the number of characters required to print the renderable. + + Args: + renderable (RenderableType): Any renderable or string. + options (Optional[ConsoleOptions], optional): Options to use when measuring, or None + to use default options. Defaults to None. + + Returns: + Measurement: A measurement of the renderable. + """ + measurement = Measurement.get(self, options or self.options, renderable) + return measurement + + def render( + self, renderable: RenderableType, options: Optional[ConsoleOptions] = None + ) -> Iterable[Segment]: + """Render an object in to an iterable of `Segment` instances. + + This method contains the logic for rendering objects with the console protocol. + You are unlikely to need to use it directly, unless you are extending the library. + + Args: + renderable (RenderableType): An object supporting the console protocol, or + an object that may be converted to a string. + options (ConsoleOptions, optional): An options object, or None to use self.options. Defaults to None. + + Returns: + Iterable[Segment]: An iterable of segments that may be rendered. + """ + + _options = options or self.options + if _options.max_width < 1: + # No space to render anything. This prevents potential recursion errors. + return + render_iterable: RenderResult + + renderable = rich_cast(renderable) + if hasattr(renderable, "__rich_console__") and not isclass(renderable): + render_iterable = renderable.__rich_console__(self, _options) + elif isinstance(renderable, str): + text_renderable = self.render_str( + renderable, highlight=_options.highlight, markup=_options.markup + ) + render_iterable = text_renderable.__rich_console__(self, _options) + else: + raise errors.NotRenderableError( + f"Unable to render {renderable!r}; " + "A str, Segment or object with __rich_console__ method is required" + ) + + try: + iter_render = iter(render_iterable) + except TypeError: + raise errors.NotRenderableError( + f"object {render_iterable!r} is not renderable" + ) + _Segment = Segment + _options = _options.reset_height() + for render_output in iter_render: + if isinstance(render_output, _Segment): + yield render_output + else: + yield from self.render(render_output, _options) + + def render_lines( + self, + renderable: RenderableType, + options: Optional[ConsoleOptions] = None, + *, + style: Optional[Style] = None, + pad: bool = True, + new_lines: bool = False, + ) -> List[List[Segment]]: + """Render objects in to a list of lines. + + The output of render_lines is useful when further formatting of rendered console text + is required, such as the Panel class which draws a border around any renderable object. + + Args: + renderable (RenderableType): Any object renderable in the console. + options (Optional[ConsoleOptions], optional): Console options, or None to use self.options. Default to ``None``. + style (Style, optional): Optional style to apply to renderables. Defaults to ``None``. + pad (bool, optional): Pad lines shorter than render width. Defaults to ``True``. + new_lines (bool, optional): Include "\n" characters at end of lines. + + Returns: + List[List[Segment]]: A list of lines, where a line is a list of Segment objects. + """ + with self._lock: + render_options = options or self.options + _rendered = self.render(renderable, render_options) + if style: + _rendered = Segment.apply_style(_rendered, style) + + render_height = render_options.height + if render_height is not None: + render_height = max(0, render_height) + + lines = list( + islice( + Segment.split_and_crop_lines( + _rendered, + render_options.max_width, + include_new_lines=new_lines, + pad=pad, + style=style, + ), + None, + render_height, + ) + ) + if render_options.height is not None: + extra_lines = render_options.height - len(lines) + if extra_lines > 0: + pad_line = [ + ( + [ + Segment(" " * render_options.max_width, style), + Segment("\n"), + ] + if new_lines + else [Segment(" " * render_options.max_width, style)] + ) + ] + lines.extend(pad_line * extra_lines) + + return lines + + def render_str( + self, + text: str, + *, + style: Union[str, Style] = "", + justify: Optional[JustifyMethod] = None, + overflow: Optional[OverflowMethod] = None, + emoji: Optional[bool] = None, + markup: Optional[bool] = None, + highlight: Optional[bool] = None, + highlighter: Optional[HighlighterType] = None, + ) -> "Text": + """Convert a string to a Text instance. This is called automatically if + you print or log a string. + + Args: + text (str): Text to render. + style (Union[str, Style], optional): Style to apply to rendered text. + justify (str, optional): Justify method: "default", "left", "center", "full", or "right". Defaults to ``None``. + overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to ``None``. + emoji (Optional[bool], optional): Enable emoji, or ``None`` to use Console default. + markup (Optional[bool], optional): Enable markup, or ``None`` to use Console default. + highlight (Optional[bool], optional): Enable highlighting, or ``None`` to use Console default. + highlighter (HighlighterType, optional): Optional highlighter to apply. + Returns: + ConsoleRenderable: Renderable object. + + """ + emoji_enabled = emoji or (emoji is None and self._emoji) + markup_enabled = markup or (markup is None and self._markup) + highlight_enabled = highlight or (highlight is None and self._highlight) + + if markup_enabled: + rich_text = render_markup( + text, + style=style, + emoji=emoji_enabled, + emoji_variant=self._emoji_variant, + ) + rich_text.justify = justify + rich_text.overflow = overflow + else: + rich_text = Text( + ( + _emoji_replace(text, default_variant=self._emoji_variant) + if emoji_enabled + else text + ), + justify=justify, + overflow=overflow, + style=style, + ) + + _highlighter = (highlighter or self.highlighter) if highlight_enabled else None + if _highlighter is not None: + highlight_text = _highlighter(str(rich_text)) + highlight_text.copy_styles(rich_text) + return highlight_text + + return rich_text + + def get_style( + self, name: Union[str, Style], *, default: Optional[Union[Style, str]] = None + ) -> Style: + """Get a Style instance by its theme name or parse a definition. + + Args: + name (str): The name of a style or a style definition. + + Returns: + Style: A Style object. + + Raises: + MissingStyle: If no style could be parsed from name. + + """ + if isinstance(name, Style): + return name + + try: + style = self._theme_stack.get(name) + if style is None: + style = Style.parse(name) + return style.copy() if style.link else style + except errors.StyleSyntaxError as error: + if default is not None: + return self.get_style(default) + raise errors.MissingStyle( + f"Failed to get style {name!r}; {error}" + ) from None + + def _collect_renderables( + self, + objects: Iterable[Any], + sep: str, + end: str, + *, + justify: Optional[JustifyMethod] = None, + emoji: Optional[bool] = None, + markup: Optional[bool] = None, + highlight: Optional[bool] = None, + ) -> List[ConsoleRenderable]: + """Combine a number of renderables and text into one renderable. + + Args: + objects (Iterable[Any]): Anything that Rich can render. + sep (str): String to write between print data. + end (str): String to write at end of print data. + justify (str, optional): One of "left", "right", "center", or "full". Defaults to ``None``. + emoji (Optional[bool], optional): Enable emoji code, or ``None`` to use console default. + markup (Optional[bool], optional): Enable markup, or ``None`` to use console default. + highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use console default. + + Returns: + List[ConsoleRenderable]: A list of things to render. + """ + renderables: List[ConsoleRenderable] = [] + _append = renderables.append + text: List[Text] = [] + append_text = text.append + + append = _append + if justify in ("left", "center", "right"): + + def align_append(renderable: RenderableType) -> None: + _append(Align(renderable, cast(AlignMethod, justify))) + + append = align_append + + _highlighter: HighlighterType = _null_highlighter + if highlight or (highlight is None and self._highlight): + _highlighter = self.highlighter + + def check_text() -> None: + if text: + sep_text = Text(sep, justify=justify, end=end) + append(sep_text.join(text)) + text.clear() + + for renderable in objects: + renderable = rich_cast(renderable) + if isinstance(renderable, str): + append_text( + self.render_str( + renderable, + emoji=emoji, + markup=markup, + highlight=highlight, + highlighter=_highlighter, + ) + ) + elif isinstance(renderable, Text): + append_text(renderable) + elif isinstance(renderable, ConsoleRenderable): + check_text() + append(renderable) + elif is_expandable(renderable): + check_text() + append(Pretty(renderable, highlighter=_highlighter)) + else: + append_text(_highlighter(str(renderable))) + + check_text() + + if self.style is not None: + style = self.get_style(self.style) + renderables = [Styled(renderable, style) for renderable in renderables] + + return renderables + + def rule( + self, + title: TextType = "", + *, + characters: str = "─", + style: Union[str, Style] = "rule.line", + align: AlignMethod = "center", + ) -> None: + """Draw a line with optional centered title. + + Args: + title (str, optional): Text to render over the rule. Defaults to "". + characters (str, optional): Character(s) to form the line. Defaults to "─". + style (str, optional): Style of line. Defaults to "rule.line". + align (str, optional): How to align the title, one of "left", "center", or "right". Defaults to "center". + """ + from .rule import Rule + + rule = Rule(title=title, characters=characters, style=style, align=align) + self.print(rule) + + def control(self, *control: Control) -> None: + """Insert non-printing control codes. + + Args: + control_codes (str): Control codes, such as those that may move the cursor. + """ + if not self.is_dumb_terminal: + with self: + self._buffer.extend(_control.segment for _control in control) + + def out( + self, + *objects: Any, + sep: str = " ", + end: str = "\n", + style: Optional[Union[str, Style]] = None, + highlight: Optional[bool] = None, + ) -> None: + """Output to the terminal. This is a low-level way of writing to the terminal which unlike + :meth:`~rich.console.Console.print` won't pretty print, wrap text, or apply markup, but will + optionally apply highlighting and a basic style. + + Args: + sep (str, optional): String to write between print data. Defaults to " ". + end (str, optional): String to write at end of print data. Defaults to "\\\\n". + style (Union[str, Style], optional): A style to apply to output. Defaults to None. + highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use + console default. Defaults to ``None``. + """ + raw_output: str = sep.join(str(_object) for _object in objects) + self.print( + raw_output, + style=style, + highlight=highlight, + emoji=False, + markup=False, + no_wrap=True, + overflow="ignore", + crop=False, + end=end, + ) + + def print( + self, + *objects: Any, + sep: str = " ", + end: str = "\n", + style: Optional[Union[str, Style]] = None, + justify: Optional[JustifyMethod] = None, + overflow: Optional[OverflowMethod] = None, + no_wrap: Optional[bool] = None, + emoji: Optional[bool] = None, + markup: Optional[bool] = None, + highlight: Optional[bool] = None, + width: Optional[int] = None, + height: Optional[int] = None, + crop: bool = True, + soft_wrap: Optional[bool] = None, + new_line_start: bool = False, + ) -> None: + """Print to the console. + + Args: + objects (positional args): Objects to log to the terminal. + sep (str, optional): String to write between print data. Defaults to " ". + end (str, optional): String to write at end of print data. Defaults to "\\\\n". + style (Union[str, Style], optional): A style to apply to output. Defaults to None. + justify (str, optional): Justify method: "default", "left", "right", "center", or "full". Defaults to ``None``. + overflow (str, optional): Overflow method: "ignore", "crop", "fold", or "ellipsis". Defaults to None. + no_wrap (Optional[bool], optional): Disable word wrapping. Defaults to None. + emoji (Optional[bool], optional): Enable emoji code, or ``None`` to use console default. Defaults to ``None``. + markup (Optional[bool], optional): Enable markup, or ``None`` to use console default. Defaults to ``None``. + highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use console default. Defaults to ``None``. + width (Optional[int], optional): Width of output, or ``None`` to auto-detect. Defaults to ``None``. + crop (Optional[bool], optional): Crop output to width of terminal. Defaults to True. + soft_wrap (bool, optional): Enable soft wrap mode which disables word wrapping and cropping of text or ``None`` for + Console default. Defaults to ``None``. + new_line_start (bool, False): Insert a new line at the start if the output contains more than one line. Defaults to ``False``. + """ + if not objects: + objects = (NewLine(),) + + if soft_wrap is None: + soft_wrap = self.soft_wrap + if soft_wrap: + if no_wrap is None: + no_wrap = True + if overflow is None: + overflow = "ignore" + crop = False + render_hooks = self._render_hooks[:] + with self: + renderables = self._collect_renderables( + objects, + sep, + end, + justify=justify, + emoji=emoji, + markup=markup, + highlight=highlight, + ) + for hook in render_hooks: + renderables = hook.process_renderables(renderables) + render_options = self.options.update( + justify=justify, + overflow=overflow, + width=min(width, self.width) if width is not None else NO_CHANGE, + height=height, + no_wrap=no_wrap, + markup=markup, + highlight=highlight, + ) + + new_segments: List[Segment] = [] + extend = new_segments.extend + render = self.render + if style is None: + for renderable in renderables: + extend(render(renderable, render_options)) + else: + for renderable in renderables: + extend( + Segment.apply_style( + render(renderable, render_options), self.get_style(style) + ) + ) + if new_line_start: + if ( + len("".join(segment.text for segment in new_segments).splitlines()) + > 1 + ): + new_segments.insert(0, Segment.line()) + if crop: + buffer_extend = self._buffer.extend + for line in Segment.split_and_crop_lines( + new_segments, self.width, pad=False + ): + buffer_extend(line) + else: + self._buffer.extend(new_segments) + + def print_json( + self, + json: Optional[str] = None, + *, + data: Any = None, + indent: Union[None, int, str] = 2, + highlight: bool = True, + skip_keys: bool = False, + ensure_ascii: bool = False, + check_circular: bool = True, + allow_nan: bool = True, + default: Optional[Callable[[Any], Any]] = None, + sort_keys: bool = False, + ) -> None: + """Pretty prints JSON. Output will be valid JSON. + + Args: + json (Optional[str]): A string containing JSON. + data (Any): If json is not supplied, then encode this data. + indent (Union[None, int, str], optional): Number of spaces to indent. Defaults to 2. + highlight (bool, optional): Enable highlighting of output: Defaults to True. + skip_keys (bool, optional): Skip keys not of a basic type. Defaults to False. + ensure_ascii (bool, optional): Escape all non-ascii characters. Defaults to False. + check_circular (bool, optional): Check for circular references. Defaults to True. + allow_nan (bool, optional): Allow NaN and Infinity values. Defaults to True. + default (Callable, optional): A callable that converts values that can not be encoded + in to something that can be JSON encoded. Defaults to None. + sort_keys (bool, optional): Sort dictionary keys. Defaults to False. + """ + from pip._vendor.rich.json import JSON + + if json is None: + json_renderable = JSON.from_data( + data, + indent=indent, + highlight=highlight, + skip_keys=skip_keys, + ensure_ascii=ensure_ascii, + check_circular=check_circular, + allow_nan=allow_nan, + default=default, + sort_keys=sort_keys, + ) + else: + if not isinstance(json, str): + raise TypeError( + f"json must be str. Did you mean print_json(data={json!r}) ?" + ) + json_renderable = JSON( + json, + indent=indent, + highlight=highlight, + skip_keys=skip_keys, + ensure_ascii=ensure_ascii, + check_circular=check_circular, + allow_nan=allow_nan, + default=default, + sort_keys=sort_keys, + ) + self.print(json_renderable, soft_wrap=True) + + def update_screen( + self, + renderable: RenderableType, + *, + region: Optional[Region] = None, + options: Optional[ConsoleOptions] = None, + ) -> None: + """Update the screen at a given offset. + + Args: + renderable (RenderableType): A Rich renderable. + region (Region, optional): Region of screen to update, or None for entire screen. Defaults to None. + x (int, optional): x offset. Defaults to 0. + y (int, optional): y offset. Defaults to 0. + + Raises: + errors.NoAltScreen: If the Console isn't in alt screen mode. + + """ + if not self.is_alt_screen: + raise errors.NoAltScreen("Alt screen must be enabled to call update_screen") + render_options = options or self.options + if region is None: + x = y = 0 + render_options = render_options.update_dimensions( + render_options.max_width, render_options.height or self.height + ) + else: + x, y, width, height = region + render_options = render_options.update_dimensions(width, height) + + lines = self.render_lines(renderable, options=render_options) + self.update_screen_lines(lines, x, y) + + def update_screen_lines( + self, lines: List[List[Segment]], x: int = 0, y: int = 0 + ) -> None: + """Update lines of the screen at a given offset. + + Args: + lines (List[List[Segment]]): Rendered lines (as produced by :meth:`~rich.Console.render_lines`). + x (int, optional): x offset (column no). Defaults to 0. + y (int, optional): y offset (column no). Defaults to 0. + + Raises: + errors.NoAltScreen: If the Console isn't in alt screen mode. + """ + if not self.is_alt_screen: + raise errors.NoAltScreen("Alt screen must be enabled to call update_screen") + screen_update = ScreenUpdate(lines, x, y) + segments = self.render(screen_update) + self._buffer.extend(segments) + self._check_buffer() + + def print_exception( + self, + *, + width: Optional[int] = 100, + extra_lines: int = 3, + theme: Optional[str] = None, + word_wrap: bool = False, + show_locals: bool = False, + suppress: Iterable[Union[str, ModuleType]] = (), + max_frames: int = 100, + ) -> None: + """Prints a rich render of the last exception and traceback. + + Args: + width (Optional[int], optional): Number of characters used to render code. Defaults to 100. + extra_lines (int, optional): Additional lines of code to render. Defaults to 3. + theme (str, optional): Override pygments theme used in traceback + word_wrap (bool, optional): Enable word wrapping of long lines. Defaults to False. + show_locals (bool, optional): Enable display of local variables. Defaults to False. + suppress (Iterable[Union[str, ModuleType]]): Optional sequence of modules or paths to exclude from traceback. + max_frames (int): Maximum number of frames to show in a traceback, 0 for no maximum. Defaults to 100. + """ + from .traceback import Traceback + + traceback = Traceback( + width=width, + extra_lines=extra_lines, + theme=theme, + word_wrap=word_wrap, + show_locals=show_locals, + suppress=suppress, + max_frames=max_frames, + ) + self.print(traceback) + + @staticmethod + def _caller_frame_info( + offset: int, + currentframe: Callable[[], Optional[FrameType]] = inspect.currentframe, + ) -> Tuple[str, int, Dict[str, Any]]: + """Get caller frame information. + + Args: + offset (int): the caller offset within the current frame stack. + currentframe (Callable[[], Optional[FrameType]], optional): the callable to use to + retrieve the current frame. Defaults to ``inspect.currentframe``. + + Returns: + Tuple[str, int, Dict[str, Any]]: A tuple containing the filename, the line number and + the dictionary of local variables associated with the caller frame. + + Raises: + RuntimeError: If the stack offset is invalid. + """ + # Ignore the frame of this local helper + offset += 1 + + frame = currentframe() + if frame is not None: + # Use the faster currentframe where implemented + while offset and frame is not None: + frame = frame.f_back + offset -= 1 + assert frame is not None + return frame.f_code.co_filename, frame.f_lineno, frame.f_locals + else: + # Fallback to the slower stack + frame_info = inspect.stack()[offset] + return frame_info.filename, frame_info.lineno, frame_info.frame.f_locals + + def log( + self, + *objects: Any, + sep: str = " ", + end: str = "\n", + style: Optional[Union[str, Style]] = None, + justify: Optional[JustifyMethod] = None, + emoji: Optional[bool] = None, + markup: Optional[bool] = None, + highlight: Optional[bool] = None, + log_locals: bool = False, + _stack_offset: int = 1, + ) -> None: + """Log rich content to the terminal. + + Args: + objects (positional args): Objects to log to the terminal. + sep (str, optional): String to write between print data. Defaults to " ". + end (str, optional): String to write at end of print data. Defaults to "\\\\n". + style (Union[str, Style], optional): A style to apply to output. Defaults to None. + justify (str, optional): One of "left", "right", "center", or "full". Defaults to ``None``. + emoji (Optional[bool], optional): Enable emoji code, or ``None`` to use console default. Defaults to None. + markup (Optional[bool], optional): Enable markup, or ``None`` to use console default. Defaults to None. + highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use console default. Defaults to None. + log_locals (bool, optional): Boolean to enable logging of locals where ``log()`` + was called. Defaults to False. + _stack_offset (int, optional): Offset of caller from end of call stack. Defaults to 1. + """ + if not objects: + objects = (NewLine(),) + + render_hooks = self._render_hooks[:] + + with self: + renderables = self._collect_renderables( + objects, + sep, + end, + justify=justify, + emoji=emoji, + markup=markup, + highlight=highlight, + ) + if style is not None: + renderables = [Styled(renderable, style) for renderable in renderables] + + filename, line_no, locals = self._caller_frame_info(_stack_offset) + link_path = None if filename.startswith("<") else os.path.abspath(filename) + path = filename.rpartition(os.sep)[-1] + if log_locals: + locals_map = { + key: value + for key, value in locals.items() + if not key.startswith("__") + } + renderables.append(render_scope(locals_map, title="[i]locals")) + + renderables = [ + self._log_render( + self, + renderables, + log_time=self.get_datetime(), + path=path, + line_no=line_no, + link_path=link_path, + ) + ] + for hook in render_hooks: + renderables = hook.process_renderables(renderables) + new_segments: List[Segment] = [] + extend = new_segments.extend + render = self.render + render_options = self.options + for renderable in renderables: + extend(render(renderable, render_options)) + buffer_extend = self._buffer.extend + for line in Segment.split_and_crop_lines( + new_segments, self.width, pad=False + ): + buffer_extend(line) + + def on_broken_pipe(self) -> None: + """This function is called when a `BrokenPipeError` is raised. + + This can occur when piping Textual output in Linux and macOS. + The default implementation is to exit the app, but you could implement + this method in a subclass to change the behavior. + + See https://docs.python.org/3/library/signal.html#note-on-sigpipe for details. + """ + self.quiet = True + devnull = os.open(os.devnull, os.O_WRONLY) + os.dup2(devnull, sys.stdout.fileno()) + raise SystemExit(1) + + def _check_buffer(self) -> None: + """Check if the buffer may be rendered. Render it if it can (e.g. Console.quiet is False) + Rendering is supported on Windows, Unix and Jupyter environments. For + legacy Windows consoles, the win32 API is called directly. + This method will also record what it renders if recording is enabled via Console.record. + """ + if self.quiet: + del self._buffer[:] + return + + try: + self._write_buffer() + except BrokenPipeError: + self.on_broken_pipe() + + def _write_buffer(self) -> None: + """Write the buffer to the output file.""" + + with self._lock: + if self.record and not self._buffer_index: + with self._record_buffer_lock: + self._record_buffer.extend(self._buffer[:]) + + if self._buffer_index == 0: + if self.is_jupyter: # pragma: no cover + from .jupyter import display + + display(self._buffer, self._render_buffer(self._buffer[:])) + del self._buffer[:] + else: + if WINDOWS: + use_legacy_windows_render = False + if self.legacy_windows: + fileno = get_fileno(self.file) + if fileno is not None: + use_legacy_windows_render = ( + fileno in _STD_STREAMS_OUTPUT + ) + + if use_legacy_windows_render: + from pip._vendor.rich._win32_console import LegacyWindowsTerm + from pip._vendor.rich._windows_renderer import legacy_windows_render + + buffer = self._buffer[:] + if self.no_color and self._color_system: + buffer = list(Segment.remove_color(buffer)) + + legacy_windows_render(buffer, LegacyWindowsTerm(self.file)) + else: + # Either a non-std stream on legacy Windows, or modern Windows. + text = self._render_buffer(self._buffer[:]) + # https://bugs.python.org/issue37871 + # https://github.com/python/cpython/issues/82052 + # We need to avoid writing more than 32Kb in a single write, due to the above bug + write = self.file.write + # Worse case scenario, every character is 4 bytes of utf-8 + MAX_WRITE = 32 * 1024 // 4 + try: + if len(text) <= MAX_WRITE: + write(text) + else: + batch: List[str] = [] + batch_append = batch.append + size = 0 + for line in text.splitlines(True): + if size + len(line) > MAX_WRITE and batch: + write("".join(batch)) + batch.clear() + size = 0 + batch_append(line) + size += len(line) + if batch: + write("".join(batch)) + batch.clear() + except UnicodeEncodeError as error: + error.reason = f"{error.reason}\n*** You may need to add PYTHONIOENCODING=utf-8 to your environment ***" + raise + else: + text = self._render_buffer(self._buffer[:]) + try: + self.file.write(text) + except UnicodeEncodeError as error: + error.reason = f"{error.reason}\n*** You may need to add PYTHONIOENCODING=utf-8 to your environment ***" + raise + + self.file.flush() + del self._buffer[:] + + def _render_buffer(self, buffer: Iterable[Segment]) -> str: + """Render buffered output, and clear buffer.""" + output: List[str] = [] + append = output.append + color_system = self._color_system + legacy_windows = self.legacy_windows + not_terminal = not self.is_terminal + if self.no_color and color_system: + buffer = Segment.remove_color(buffer) + for text, style, control in buffer: + if style: + append( + style.render( + text, + color_system=color_system, + legacy_windows=legacy_windows, + ) + ) + elif not (not_terminal and control): + append(text) + + rendered = "".join(output) + return rendered + + def input( + self, + prompt: TextType = "", + *, + markup: bool = True, + emoji: bool = True, + password: bool = False, + stream: Optional[TextIO] = None, + ) -> str: + """Displays a prompt and waits for input from the user. The prompt may contain color / style. + + It works in the same way as Python's builtin :func:`input` function and provides elaborate line editing and history features if Python's builtin :mod:`readline` module is previously loaded. + + Args: + prompt (Union[str, Text]): Text to render in the prompt. + markup (bool, optional): Enable console markup (requires a str prompt). Defaults to True. + emoji (bool, optional): Enable emoji (requires a str prompt). Defaults to True. + password: (bool, optional): Hide typed text. Defaults to False. + stream: (TextIO, optional): Optional file to read input from (rather than stdin). Defaults to None. + + Returns: + str: Text read from stdin. + """ + if prompt: + self.print(prompt, markup=markup, emoji=emoji, end="") + if password: + result = getpass("", stream=stream) + else: + if stream: + result = stream.readline() + else: + result = input() + return result + + def export_text(self, *, clear: bool = True, styles: bool = False) -> str: + """Generate text from console contents (requires record=True argument in constructor). + + Args: + clear (bool, optional): Clear record buffer after exporting. Defaults to ``True``. + styles (bool, optional): If ``True``, ansi escape codes will be included. ``False`` for plain text. + Defaults to ``False``. + + Returns: + str: String containing console contents. + + """ + assert ( + self.record + ), "To export console contents set record=True in the constructor or instance" + + with self._record_buffer_lock: + if styles: + text = "".join( + (style.render(text) if style else text) + for text, style, _ in self._record_buffer + ) + else: + text = "".join( + segment.text + for segment in self._record_buffer + if not segment.control + ) + if clear: + del self._record_buffer[:] + return text + + def save_text(self, path: str, *, clear: bool = True, styles: bool = False) -> None: + """Generate text from console and save to a given location (requires record=True argument in constructor). + + Args: + path (str): Path to write text files. + clear (bool, optional): Clear record buffer after exporting. Defaults to ``True``. + styles (bool, optional): If ``True``, ansi style codes will be included. ``False`` for plain text. + Defaults to ``False``. + + """ + text = self.export_text(clear=clear, styles=styles) + with open(path, "w", encoding="utf-8") as write_file: + write_file.write(text) + + def export_html( + self, + *, + theme: Optional[TerminalTheme] = None, + clear: bool = True, + code_format: Optional[str] = None, + inline_styles: bool = False, + ) -> str: + """Generate HTML from console contents (requires record=True argument in constructor). + + Args: + theme (TerminalTheme, optional): TerminalTheme object containing console colors. + clear (bool, optional): Clear record buffer after exporting. Defaults to ``True``. + code_format (str, optional): Format string to render HTML. In addition to '{foreground}', + '{background}', and '{code}', should contain '{stylesheet}' if inline_styles is ``False``. + inline_styles (bool, optional): If ``True`` styles will be inlined in to spans, which makes files + larger but easier to cut and paste markup. If ``False``, styles will be embedded in a style tag. + Defaults to False. + + Returns: + str: String containing console contents as HTML. + """ + assert ( + self.record + ), "To export console contents set record=True in the constructor or instance" + fragments: List[str] = [] + append = fragments.append + _theme = theme or DEFAULT_TERMINAL_THEME + stylesheet = "" + + render_code_format = CONSOLE_HTML_FORMAT if code_format is None else code_format + + with self._record_buffer_lock: + if inline_styles: + for text, style, _ in Segment.filter_control( + Segment.simplify(self._record_buffer) + ): + text = escape(text) + if style: + rule = style.get_html_style(_theme) + if style.link: + text = f'{text}' + text = f'{text}' if rule else text + append(text) + else: + styles: Dict[str, int] = {} + for text, style, _ in Segment.filter_control( + Segment.simplify(self._record_buffer) + ): + text = escape(text) + if style: + rule = style.get_html_style(_theme) + style_number = styles.setdefault(rule, len(styles) + 1) + if style.link: + text = f'{text}' + else: + text = f'{text}' + append(text) + stylesheet_rules: List[str] = [] + stylesheet_append = stylesheet_rules.append + for style_rule, style_number in styles.items(): + if style_rule: + stylesheet_append(f".r{style_number} {{{style_rule}}}") + stylesheet = "\n".join(stylesheet_rules) + + rendered_code = render_code_format.format( + code="".join(fragments), + stylesheet=stylesheet, + foreground=_theme.foreground_color.hex, + background=_theme.background_color.hex, + ) + if clear: + del self._record_buffer[:] + return rendered_code + + def save_html( + self, + path: str, + *, + theme: Optional[TerminalTheme] = None, + clear: bool = True, + code_format: str = CONSOLE_HTML_FORMAT, + inline_styles: bool = False, + ) -> None: + """Generate HTML from console contents and write to a file (requires record=True argument in constructor). + + Args: + path (str): Path to write html file. + theme (TerminalTheme, optional): TerminalTheme object containing console colors. + clear (bool, optional): Clear record buffer after exporting. Defaults to ``True``. + code_format (str, optional): Format string to render HTML. In addition to '{foreground}', + '{background}', and '{code}', should contain '{stylesheet}' if inline_styles is ``False``. + inline_styles (bool, optional): If ``True`` styles will be inlined in to spans, which makes files + larger but easier to cut and paste markup. If ``False``, styles will be embedded in a style tag. + Defaults to False. + + """ + html = self.export_html( + theme=theme, + clear=clear, + code_format=code_format, + inline_styles=inline_styles, + ) + with open(path, "w", encoding="utf-8") as write_file: + write_file.write(html) + + def export_svg( + self, + *, + title: str = "Rich", + theme: Optional[TerminalTheme] = None, + clear: bool = True, + code_format: str = CONSOLE_SVG_FORMAT, + font_aspect_ratio: float = 0.61, + unique_id: Optional[str] = None, + ) -> str: + """ + Generate an SVG from the console contents (requires record=True in Console constructor). + + Args: + title (str, optional): The title of the tab in the output image + theme (TerminalTheme, optional): The ``TerminalTheme`` object to use to style the terminal + clear (bool, optional): Clear record buffer after exporting. Defaults to ``True`` + code_format (str, optional): Format string used to generate the SVG. Rich will inject a number of variables + into the string in order to form the final SVG output. The default template used and the variables + injected by Rich can be found by inspecting the ``console.CONSOLE_SVG_FORMAT`` variable. + font_aspect_ratio (float, optional): The width to height ratio of the font used in the ``code_format`` + string. Defaults to 0.61, which is the width to height ratio of Fira Code (the default font). + If you aren't specifying a different font inside ``code_format``, you probably don't need this. + unique_id (str, optional): unique id that is used as the prefix for various elements (CSS styles, node + ids). If not set, this defaults to a computed value based on the recorded content. + """ + + from pip._vendor.rich.cells import cell_len + + style_cache: Dict[Style, str] = {} + + def get_svg_style(style: Style) -> str: + """Convert a Style to CSS rules for SVG.""" + if style in style_cache: + return style_cache[style] + css_rules = [] + color = ( + _theme.foreground_color + if (style.color is None or style.color.is_default) + else style.color.get_truecolor(_theme) + ) + bgcolor = ( + _theme.background_color + if (style.bgcolor is None or style.bgcolor.is_default) + else style.bgcolor.get_truecolor(_theme) + ) + if style.reverse: + color, bgcolor = bgcolor, color + if style.dim: + color = blend_rgb(color, bgcolor, 0.4) + css_rules.append(f"fill: {color.hex}") + if style.bold: + css_rules.append("font-weight: bold") + if style.italic: + css_rules.append("font-style: italic;") + if style.underline: + css_rules.append("text-decoration: underline;") + if style.strike: + css_rules.append("text-decoration: line-through;") + + css = ";".join(css_rules) + style_cache[style] = css + return css + + _theme = theme or SVG_EXPORT_THEME + + width = self.width + char_height = 20 + char_width = char_height * font_aspect_ratio + line_height = char_height * 1.22 + + margin_top = 1 + margin_right = 1 + margin_bottom = 1 + margin_left = 1 + + padding_top = 40 + padding_right = 8 + padding_bottom = 8 + padding_left = 8 + + padding_width = padding_left + padding_right + padding_height = padding_top + padding_bottom + margin_width = margin_left + margin_right + margin_height = margin_top + margin_bottom + + text_backgrounds: List[str] = [] + text_group: List[str] = [] + classes: Dict[str, int] = {} + style_no = 1 + + def escape_text(text: str) -> str: + """HTML escape text and replace spaces with nbsp.""" + return escape(text).replace(" ", " ") + + def make_tag( + name: str, content: Optional[str] = None, **attribs: object + ) -> str: + """Make a tag from name, content, and attributes.""" + + def stringify(value: object) -> str: + if isinstance(value, (float)): + return format(value, "g") + return str(value) + + tag_attribs = " ".join( + f'{k.lstrip("_").replace("_", "-")}="{stringify(v)}"' + for k, v in attribs.items() + ) + return ( + f"<{name} {tag_attribs}>{content}" + if content + else f"<{name} {tag_attribs}/>" + ) + + with self._record_buffer_lock: + segments = list(Segment.filter_control(self._record_buffer)) + if clear: + self._record_buffer.clear() + + if unique_id is None: + unique_id = "terminal-" + str( + zlib.adler32( + ("".join(repr(segment) for segment in segments)).encode( + "utf-8", + "ignore", + ) + + title.encode("utf-8", "ignore") + ) + ) + y = 0 + for y, line in enumerate(Segment.split_and_crop_lines(segments, length=width)): + x = 0 + for text, style, _control in line: + style = style or Style() + rules = get_svg_style(style) + if rules not in classes: + classes[rules] = style_no + style_no += 1 + class_name = f"r{classes[rules]}" + + if style.reverse: + has_background = True + background = ( + _theme.foreground_color.hex + if style.color is None + else style.color.get_truecolor(_theme).hex + ) + else: + bgcolor = style.bgcolor + has_background = bgcolor is not None and not bgcolor.is_default + background = ( + _theme.background_color.hex + if style.bgcolor is None + else style.bgcolor.get_truecolor(_theme).hex + ) + + text_length = cell_len(text) + if has_background: + text_backgrounds.append( + make_tag( + "rect", + fill=background, + x=x * char_width, + y=y * line_height + 1.5, + width=char_width * text_length, + height=line_height + 0.25, + shape_rendering="crispEdges", + ) + ) + + if text != " " * len(text): + text_group.append( + make_tag( + "text", + escape_text(text), + _class=f"{unique_id}-{class_name}", + x=x * char_width, + y=y * line_height + char_height, + textLength=char_width * len(text), + clip_path=f"url(#{unique_id}-line-{y})", + ) + ) + x += cell_len(text) + + line_offsets = [line_no * line_height + 1.5 for line_no in range(y)] + lines = "\n".join( + f""" + {make_tag("rect", x=0, y=offset, width=char_width * width, height=line_height + 0.25)} + """ + for line_no, offset in enumerate(line_offsets) + ) + + styles = "\n".join( + f".{unique_id}-r{rule_no} {{ {css} }}" for css, rule_no in classes.items() + ) + backgrounds = "".join(text_backgrounds) + matrix = "".join(text_group) + + terminal_width = ceil(width * char_width + padding_width) + terminal_height = (y + 1) * line_height + padding_height + chrome = make_tag( + "rect", + fill=_theme.background_color.hex, + stroke="rgba(255,255,255,0.35)", + stroke_width="1", + x=margin_left, + y=margin_top, + width=terminal_width, + height=terminal_height, + rx=8, + ) + + title_color = _theme.foreground_color.hex + if title: + chrome += make_tag( + "text", + escape_text(title), + _class=f"{unique_id}-title", + fill=title_color, + text_anchor="middle", + x=terminal_width // 2, + y=margin_top + char_height + 6, + ) + chrome += f""" + + + + + + """ + + svg = code_format.format( + unique_id=unique_id, + char_width=char_width, + char_height=char_height, + line_height=line_height, + terminal_width=char_width * width - 1, + terminal_height=(y + 1) * line_height - 1, + width=terminal_width + margin_width, + height=terminal_height + margin_height, + terminal_x=margin_left + padding_left, + terminal_y=margin_top + padding_top, + styles=styles, + chrome=chrome, + backgrounds=backgrounds, + matrix=matrix, + lines=lines, + ) + return svg + + def save_svg( + self, + path: str, + *, + title: str = "Rich", + theme: Optional[TerminalTheme] = None, + clear: bool = True, + code_format: str = CONSOLE_SVG_FORMAT, + font_aspect_ratio: float = 0.61, + unique_id: Optional[str] = None, + ) -> None: + """Generate an SVG file from the console contents (requires record=True in Console constructor). + + Args: + path (str): The path to write the SVG to. + title (str, optional): The title of the tab in the output image + theme (TerminalTheme, optional): The ``TerminalTheme`` object to use to style the terminal + clear (bool, optional): Clear record buffer after exporting. Defaults to ``True`` + code_format (str, optional): Format string used to generate the SVG. Rich will inject a number of variables + into the string in order to form the final SVG output. The default template used and the variables + injected by Rich can be found by inspecting the ``console.CONSOLE_SVG_FORMAT`` variable. + font_aspect_ratio (float, optional): The width to height ratio of the font used in the ``code_format`` + string. Defaults to 0.61, which is the width to height ratio of Fira Code (the default font). + If you aren't specifying a different font inside ``code_format``, you probably don't need this. + unique_id (str, optional): unique id that is used as the prefix for various elements (CSS styles, node + ids). If not set, this defaults to a computed value based on the recorded content. + """ + svg = self.export_svg( + title=title, + theme=theme, + clear=clear, + code_format=code_format, + font_aspect_ratio=font_aspect_ratio, + unique_id=unique_id, + ) + with open(path, "w", encoding="utf-8") as write_file: + write_file.write(svg) + + +def _svg_hash(svg_main_code: str) -> str: + """Returns a unique hash for the given SVG main code. + + Args: + svg_main_code (str): The content we're going to inject in the SVG envelope. + + Returns: + str: a hash of the given content + """ + return str(zlib.adler32(svg_main_code.encode())) + + +if __name__ == "__main__": # pragma: no cover + console = Console(record=True) + + console.log( + "JSONRPC [i]request[/i]", + 5, + 1.3, + True, + False, + None, + { + "jsonrpc": "2.0", + "method": "subtract", + "params": {"minuend": 42, "subtrahend": 23}, + "id": 3, + }, + ) + + console.log("Hello, World!", "{'a': 1}", repr(console)) + + console.print( + { + "name": None, + "empty": [], + "quiz": { + "sport": { + "answered": True, + "q1": { + "question": "Which one is correct team name in NBA?", + "options": [ + "New York Bulls", + "Los Angeles Kings", + "Golden State Warriors", + "Huston Rocket", + ], + "answer": "Huston Rocket", + }, + }, + "maths": { + "answered": False, + "q1": { + "question": "5 + 7 = ?", + "options": [10, 11, 12, 13], + "answer": 12, + }, + "q2": { + "question": "12 - 8 = ?", + "options": [1, 2, 3, 4], + "answer": 4, + }, + }, + }, + } + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/constrain.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/constrain.py new file mode 100644 index 0000000000000000000000000000000000000000..65fdf56342e8b5b8e181914881025231684e1871 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/constrain.py @@ -0,0 +1,37 @@ +from typing import Optional, TYPE_CHECKING + +from .jupyter import JupyterMixin +from .measure import Measurement + +if TYPE_CHECKING: + from .console import Console, ConsoleOptions, RenderableType, RenderResult + + +class Constrain(JupyterMixin): + """Constrain the width of a renderable to a given number of characters. + + Args: + renderable (RenderableType): A renderable object. + width (int, optional): The maximum width (in characters) to render. Defaults to 80. + """ + + def __init__(self, renderable: "RenderableType", width: Optional[int] = 80) -> None: + self.renderable = renderable + self.width = width + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> "RenderResult": + if self.width is None: + yield self.renderable + else: + child_options = options.update_width(min(self.width, options.max_width)) + yield from console.render(self.renderable, child_options) + + def __rich_measure__( + self, console: "Console", options: "ConsoleOptions" + ) -> "Measurement": + if self.width is not None: + options = options.update_width(self.width) + measurement = Measurement.get(console, options, self.renderable) + return measurement diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/containers.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/containers.py new file mode 100644 index 0000000000000000000000000000000000000000..901ff8ba6ea0836481a015ed5c627889cc416c03 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/containers.py @@ -0,0 +1,167 @@ +from itertools import zip_longest +from typing import ( + TYPE_CHECKING, + Iterable, + Iterator, + List, + Optional, + TypeVar, + Union, + overload, +) + +if TYPE_CHECKING: + from .console import ( + Console, + ConsoleOptions, + JustifyMethod, + OverflowMethod, + RenderResult, + RenderableType, + ) + from .text import Text + +from .cells import cell_len +from .measure import Measurement + +T = TypeVar("T") + + +class Renderables: + """A list subclass which renders its contents to the console.""" + + def __init__( + self, renderables: Optional[Iterable["RenderableType"]] = None + ) -> None: + self._renderables: List["RenderableType"] = ( + list(renderables) if renderables is not None else [] + ) + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> "RenderResult": + """Console render method to insert line-breaks.""" + yield from self._renderables + + def __rich_measure__( + self, console: "Console", options: "ConsoleOptions" + ) -> "Measurement": + dimensions = [ + Measurement.get(console, options, renderable) + for renderable in self._renderables + ] + if not dimensions: + return Measurement(1, 1) + _min = max(dimension.minimum for dimension in dimensions) + _max = max(dimension.maximum for dimension in dimensions) + return Measurement(_min, _max) + + def append(self, renderable: "RenderableType") -> None: + self._renderables.append(renderable) + + def __iter__(self) -> Iterable["RenderableType"]: + return iter(self._renderables) + + +class Lines: + """A list subclass which can render to the console.""" + + def __init__(self, lines: Iterable["Text"] = ()) -> None: + self._lines: List["Text"] = list(lines) + + def __repr__(self) -> str: + return f"Lines({self._lines!r})" + + def __iter__(self) -> Iterator["Text"]: + return iter(self._lines) + + @overload + def __getitem__(self, index: int) -> "Text": + ... + + @overload + def __getitem__(self, index: slice) -> List["Text"]: + ... + + def __getitem__(self, index: Union[slice, int]) -> Union["Text", List["Text"]]: + return self._lines[index] + + def __setitem__(self, index: int, value: "Text") -> "Lines": + self._lines[index] = value + return self + + def __len__(self) -> int: + return self._lines.__len__() + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> "RenderResult": + """Console render method to insert line-breaks.""" + yield from self._lines + + def append(self, line: "Text") -> None: + self._lines.append(line) + + def extend(self, lines: Iterable["Text"]) -> None: + self._lines.extend(lines) + + def pop(self, index: int = -1) -> "Text": + return self._lines.pop(index) + + def justify( + self, + console: "Console", + width: int, + justify: "JustifyMethod" = "left", + overflow: "OverflowMethod" = "fold", + ) -> None: + """Justify and overflow text to a given width. + + Args: + console (Console): Console instance. + width (int): Number of cells available per line. + justify (str, optional): Default justify method for text: "left", "center", "full" or "right". Defaults to "left". + overflow (str, optional): Default overflow for text: "crop", "fold", or "ellipsis". Defaults to "fold". + + """ + from .text import Text + + if justify == "left": + for line in self._lines: + line.truncate(width, overflow=overflow, pad=True) + elif justify == "center": + for line in self._lines: + line.rstrip() + line.truncate(width, overflow=overflow) + line.pad_left((width - cell_len(line.plain)) // 2) + line.pad_right(width - cell_len(line.plain)) + elif justify == "right": + for line in self._lines: + line.rstrip() + line.truncate(width, overflow=overflow) + line.pad_left(width - cell_len(line.plain)) + elif justify == "full": + for line_index, line in enumerate(self._lines): + if line_index == len(self._lines) - 1: + break + words = line.split(" ") + words_size = sum(cell_len(word.plain) for word in words) + num_spaces = len(words) - 1 + spaces = [1 for _ in range(num_spaces)] + index = 0 + if spaces: + while words_size + num_spaces < width: + spaces[len(spaces) - index - 1] += 1 + num_spaces += 1 + index = (index + 1) % len(spaces) + tokens: List[Text] = [] + for index, (word, next_word) in enumerate( + zip_longest(words, words[1:]) + ): + tokens.append(word) + if index < len(spaces): + style = word.get_style_at_offset(console, -1) + next_style = next_word.get_style_at_offset(console, 0) + space_style = style if style == next_style else line.style + tokens.append(Text(" " * spaces[index], style=space_style)) + self[line_index] = Text("").join(tokens) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/control.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/control.py new file mode 100644 index 0000000000000000000000000000000000000000..84963e9dd61f3ae53945ca26b840f26e6d81af5d --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/control.py @@ -0,0 +1,219 @@ +import time +from typing import TYPE_CHECKING, Callable, Dict, Iterable, List, Union, Final + +from .segment import ControlCode, ControlType, Segment + +if TYPE_CHECKING: + from .console import Console, ConsoleOptions, RenderResult + +STRIP_CONTROL_CODES: Final = [ + 7, # Bell + 8, # Backspace + 11, # Vertical tab + 12, # Form feed + 13, # Carriage return +] +_CONTROL_STRIP_TRANSLATE: Final = { + _codepoint: None for _codepoint in STRIP_CONTROL_CODES +} + +CONTROL_ESCAPE: Final = { + 7: "\\a", + 8: "\\b", + 11: "\\v", + 12: "\\f", + 13: "\\r", +} + +CONTROL_CODES_FORMAT: Dict[int, Callable[..., str]] = { + ControlType.BELL: lambda: "\x07", + ControlType.CARRIAGE_RETURN: lambda: "\r", + ControlType.HOME: lambda: "\x1b[H", + ControlType.CLEAR: lambda: "\x1b[2J", + ControlType.ENABLE_ALT_SCREEN: lambda: "\x1b[?1049h", + ControlType.DISABLE_ALT_SCREEN: lambda: "\x1b[?1049l", + ControlType.SHOW_CURSOR: lambda: "\x1b[?25h", + ControlType.HIDE_CURSOR: lambda: "\x1b[?25l", + ControlType.CURSOR_UP: lambda param: f"\x1b[{param}A", + ControlType.CURSOR_DOWN: lambda param: f"\x1b[{param}B", + ControlType.CURSOR_FORWARD: lambda param: f"\x1b[{param}C", + ControlType.CURSOR_BACKWARD: lambda param: f"\x1b[{param}D", + ControlType.CURSOR_MOVE_TO_COLUMN: lambda param: f"\x1b[{param+1}G", + ControlType.ERASE_IN_LINE: lambda param: f"\x1b[{param}K", + ControlType.CURSOR_MOVE_TO: lambda x, y: f"\x1b[{y+1};{x+1}H", + ControlType.SET_WINDOW_TITLE: lambda title: f"\x1b]0;{title}\x07", +} + + +class Control: + """A renderable that inserts a control code (non printable but may move cursor). + + Args: + *codes (str): Positional arguments are either a :class:`~rich.segment.ControlType` enum or a + tuple of ControlType and an integer parameter + """ + + __slots__ = ["segment"] + + def __init__(self, *codes: Union[ControlType, ControlCode]) -> None: + control_codes: List[ControlCode] = [ + (code,) if isinstance(code, ControlType) else code for code in codes + ] + _format_map = CONTROL_CODES_FORMAT + rendered_codes = "".join( + _format_map[code](*parameters) for code, *parameters in control_codes + ) + self.segment = Segment(rendered_codes, None, control_codes) + + @classmethod + def bell(cls) -> "Control": + """Ring the 'bell'.""" + return cls(ControlType.BELL) + + @classmethod + def home(cls) -> "Control": + """Move cursor to 'home' position.""" + return cls(ControlType.HOME) + + @classmethod + def move(cls, x: int = 0, y: int = 0) -> "Control": + """Move cursor relative to current position. + + Args: + x (int): X offset. + y (int): Y offset. + + Returns: + ~Control: Control object. + + """ + + def get_codes() -> Iterable[ControlCode]: + control = ControlType + if x: + yield ( + control.CURSOR_FORWARD if x > 0 else control.CURSOR_BACKWARD, + abs(x), + ) + if y: + yield ( + control.CURSOR_DOWN if y > 0 else control.CURSOR_UP, + abs(y), + ) + + control = cls(*get_codes()) + return control + + @classmethod + def move_to_column(cls, x: int, y: int = 0) -> "Control": + """Move to the given column, optionally add offset to row. + + Returns: + x (int): absolute x (column) + y (int): optional y offset (row) + + Returns: + ~Control: Control object. + """ + + return ( + cls( + (ControlType.CURSOR_MOVE_TO_COLUMN, x), + ( + ControlType.CURSOR_DOWN if y > 0 else ControlType.CURSOR_UP, + abs(y), + ), + ) + if y + else cls((ControlType.CURSOR_MOVE_TO_COLUMN, x)) + ) + + @classmethod + def move_to(cls, x: int, y: int) -> "Control": + """Move cursor to absolute position. + + Args: + x (int): x offset (column) + y (int): y offset (row) + + Returns: + ~Control: Control object. + """ + return cls((ControlType.CURSOR_MOVE_TO, x, y)) + + @classmethod + def clear(cls) -> "Control": + """Clear the screen.""" + return cls(ControlType.CLEAR) + + @classmethod + def show_cursor(cls, show: bool) -> "Control": + """Show or hide the cursor.""" + return cls(ControlType.SHOW_CURSOR if show else ControlType.HIDE_CURSOR) + + @classmethod + def alt_screen(cls, enable: bool) -> "Control": + """Enable or disable alt screen.""" + if enable: + return cls(ControlType.ENABLE_ALT_SCREEN, ControlType.HOME) + else: + return cls(ControlType.DISABLE_ALT_SCREEN) + + @classmethod + def title(cls, title: str) -> "Control": + """Set the terminal window title + + Args: + title (str): The new terminal window title + """ + return cls((ControlType.SET_WINDOW_TITLE, title)) + + def __str__(self) -> str: + return self.segment.text + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> "RenderResult": + if self.segment.text: + yield self.segment + + +def strip_control_codes( + text: str, _translate_table: Dict[int, None] = _CONTROL_STRIP_TRANSLATE +) -> str: + """Remove control codes from text. + + Args: + text (str): A string possibly contain control codes. + + Returns: + str: String with control codes removed. + """ + return text.translate(_translate_table) + + +def escape_control_codes( + text: str, + _translate_table: Dict[int, str] = CONTROL_ESCAPE, +) -> str: + """Replace control codes with their "escaped" equivalent in the given text. + (e.g. "\b" becomes "\\b") + + Args: + text (str): A string possibly containing control codes. + + Returns: + str: String with control codes replaced with their escaped version. + """ + return text.translate(_translate_table) + + +if __name__ == "__main__": # pragma: no cover + from pip._vendor.rich.console import Console + + console = Console() + console.print("Look at the title of your terminal window ^") + # console.print(Control((ControlType.SET_WINDOW_TITLE, "Hello, world!"))) + for i in range(10): + console.set_window_title("🚀 Loading" + "." * i) + time.sleep(0.5) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/default_styles.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/default_styles.py new file mode 100644 index 0000000000000000000000000000000000000000..61797bf312c5498dd077a90e72f191eb4cd112ca --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/default_styles.py @@ -0,0 +1,193 @@ +from typing import Dict + +from .style import Style + +DEFAULT_STYLES: Dict[str, Style] = { + "none": Style.null(), + "reset": Style( + color="default", + bgcolor="default", + dim=False, + bold=False, + italic=False, + underline=False, + blink=False, + blink2=False, + reverse=False, + conceal=False, + strike=False, + ), + "dim": Style(dim=True), + "bright": Style(dim=False), + "bold": Style(bold=True), + "strong": Style(bold=True), + "code": Style(reverse=True, bold=True), + "italic": Style(italic=True), + "emphasize": Style(italic=True), + "underline": Style(underline=True), + "blink": Style(blink=True), + "blink2": Style(blink2=True), + "reverse": Style(reverse=True), + "strike": Style(strike=True), + "black": Style(color="black"), + "red": Style(color="red"), + "green": Style(color="green"), + "yellow": Style(color="yellow"), + "magenta": Style(color="magenta"), + "cyan": Style(color="cyan"), + "white": Style(color="white"), + "inspect.attr": Style(color="yellow", italic=True), + "inspect.attr.dunder": Style(color="yellow", italic=True, dim=True), + "inspect.callable": Style(bold=True, color="red"), + "inspect.async_def": Style(italic=True, color="bright_cyan"), + "inspect.def": Style(italic=True, color="bright_cyan"), + "inspect.class": Style(italic=True, color="bright_cyan"), + "inspect.error": Style(bold=True, color="red"), + "inspect.equals": Style(), + "inspect.help": Style(color="cyan"), + "inspect.doc": Style(dim=True), + "inspect.value.border": Style(color="green"), + "live.ellipsis": Style(bold=True, color="red"), + "layout.tree.row": Style(dim=False, color="red"), + "layout.tree.column": Style(dim=False, color="blue"), + "logging.keyword": Style(bold=True, color="yellow"), + "logging.level.notset": Style(dim=True), + "logging.level.debug": Style(color="green"), + "logging.level.info": Style(color="blue"), + "logging.level.warning": Style(color="yellow"), + "logging.level.error": Style(color="red", bold=True), + "logging.level.critical": Style(color="red", bold=True, reverse=True), + "log.level": Style.null(), + "log.time": Style(color="cyan", dim=True), + "log.message": Style.null(), + "log.path": Style(dim=True), + "repr.ellipsis": Style(color="yellow"), + "repr.indent": Style(color="green", dim=True), + "repr.error": Style(color="red", bold=True), + "repr.str": Style(color="green", italic=False, bold=False), + "repr.brace": Style(bold=True), + "repr.comma": Style(bold=True), + "repr.ipv4": Style(bold=True, color="bright_green"), + "repr.ipv6": Style(bold=True, color="bright_green"), + "repr.eui48": Style(bold=True, color="bright_green"), + "repr.eui64": Style(bold=True, color="bright_green"), + "repr.tag_start": Style(bold=True), + "repr.tag_name": Style(color="bright_magenta", bold=True), + "repr.tag_contents": Style(color="default"), + "repr.tag_end": Style(bold=True), + "repr.attrib_name": Style(color="yellow", italic=False), + "repr.attrib_equal": Style(bold=True), + "repr.attrib_value": Style(color="magenta", italic=False), + "repr.number": Style(color="cyan", bold=True, italic=False), + "repr.number_complex": Style(color="cyan", bold=True, italic=False), # same + "repr.bool_true": Style(color="bright_green", italic=True), + "repr.bool_false": Style(color="bright_red", italic=True), + "repr.none": Style(color="magenta", italic=True), + "repr.url": Style(underline=True, color="bright_blue", italic=False, bold=False), + "repr.uuid": Style(color="bright_yellow", bold=False), + "repr.call": Style(color="magenta", bold=True), + "repr.path": Style(color="magenta"), + "repr.filename": Style(color="bright_magenta"), + "rule.line": Style(color="bright_green"), + "rule.text": Style.null(), + "json.brace": Style(bold=True), + "json.bool_true": Style(color="bright_green", italic=True), + "json.bool_false": Style(color="bright_red", italic=True), + "json.null": Style(color="magenta", italic=True), + "json.number": Style(color="cyan", bold=True, italic=False), + "json.str": Style(color="green", italic=False, bold=False), + "json.key": Style(color="blue", bold=True), + "prompt": Style.null(), + "prompt.choices": Style(color="magenta", bold=True), + "prompt.default": Style(color="cyan", bold=True), + "prompt.invalid": Style(color="red"), + "prompt.invalid.choice": Style(color="red"), + "pretty": Style.null(), + "scope.border": Style(color="blue"), + "scope.key": Style(color="yellow", italic=True), + "scope.key.special": Style(color="yellow", italic=True, dim=True), + "scope.equals": Style(color="red"), + "table.header": Style(bold=True), + "table.footer": Style(bold=True), + "table.cell": Style.null(), + "table.title": Style(italic=True), + "table.caption": Style(italic=True, dim=True), + "traceback.error": Style(color="red", italic=True), + "traceback.border.syntax_error": Style(color="bright_red"), + "traceback.border": Style(color="red"), + "traceback.text": Style.null(), + "traceback.title": Style(color="red", bold=True), + "traceback.exc_type": Style(color="bright_red", bold=True), + "traceback.exc_value": Style.null(), + "traceback.offset": Style(color="bright_red", bold=True), + "traceback.error_range": Style(underline=True, bold=True), + "traceback.note": Style(color="green", bold=True), + "traceback.group.border": Style(color="magenta"), + "bar.back": Style(color="grey23"), + "bar.complete": Style(color="rgb(249,38,114)"), + "bar.finished": Style(color="rgb(114,156,31)"), + "bar.pulse": Style(color="rgb(249,38,114)"), + "progress.description": Style.null(), + "progress.filesize": Style(color="green"), + "progress.filesize.total": Style(color="green"), + "progress.download": Style(color="green"), + "progress.elapsed": Style(color="yellow"), + "progress.percentage": Style(color="magenta"), + "progress.remaining": Style(color="cyan"), + "progress.data.speed": Style(color="red"), + "progress.spinner": Style(color="green"), + "status.spinner": Style(color="green"), + "tree": Style(), + "tree.line": Style(), + "markdown.paragraph": Style(), + "markdown.text": Style(), + "markdown.em": Style(italic=True), + "markdown.emph": Style(italic=True), # For commonmark backwards compatibility + "markdown.strong": Style(bold=True), + "markdown.code": Style(bold=True, color="cyan", bgcolor="black"), + "markdown.code_block": Style(color="cyan", bgcolor="black"), + "markdown.block_quote": Style(color="magenta"), + "markdown.list": Style(color="cyan"), + "markdown.item": Style(), + "markdown.item.bullet": Style(color="yellow", bold=True), + "markdown.item.number": Style(color="yellow", bold=True), + "markdown.hr": Style(color="yellow"), + "markdown.h1.border": Style(), + "markdown.h1": Style(bold=True), + "markdown.h2": Style(bold=True, underline=True), + "markdown.h3": Style(bold=True), + "markdown.h4": Style(bold=True, dim=True), + "markdown.h5": Style(underline=True), + "markdown.h6": Style(italic=True), + "markdown.h7": Style(italic=True, dim=True), + "markdown.link": Style(color="bright_blue"), + "markdown.link_url": Style(color="blue", underline=True), + "markdown.s": Style(strike=True), + "iso8601.date": Style(color="blue"), + "iso8601.time": Style(color="magenta"), + "iso8601.timezone": Style(color="yellow"), +} + + +if __name__ == "__main__": # pragma: no cover + import argparse + import io + + from pip._vendor.rich.console import Console + from pip._vendor.rich.table import Table + from pip._vendor.rich.text import Text + + parser = argparse.ArgumentParser() + parser.add_argument("--html", action="store_true", help="Export as HTML table") + args = parser.parse_args() + html: bool = args.html + console = Console(record=True, width=70, file=io.StringIO()) if html else Console() + + table = Table("Name", "Styling") + + for style_name, style in DEFAULT_STYLES.items(): + table.add_row(Text(style_name, style=style), str(style)) + + console.print(table) + if html: + print(console.export_html(inline_styles=True)) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/diagnose.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/diagnose.py new file mode 100644 index 0000000000000000000000000000000000000000..92893b32c54f380b2b007145f7f33641131cddfb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/diagnose.py @@ -0,0 +1,39 @@ +import os +import platform + +from pip._vendor.rich import inspect +from pip._vendor.rich.console import Console, get_windows_console_features +from pip._vendor.rich.panel import Panel +from pip._vendor.rich.pretty import Pretty + + +def report() -> None: # pragma: no cover + """Print a report to the terminal with debugging information""" + console = Console() + inspect(console) + features = get_windows_console_features() + inspect(features) + + env_names = ( + "CLICOLOR", + "COLORTERM", + "COLUMNS", + "JPY_PARENT_PID", + "JUPYTER_COLUMNS", + "JUPYTER_LINES", + "LINES", + "NO_COLOR", + "TERM_PROGRAM", + "TERM", + "TTY_COMPATIBLE", + "TTY_INTERACTIVE", + "VSCODE_VERBOSE_LOGGING", + ) + env = {name: os.getenv(name) for name in env_names} + console.print(Panel.fit((Pretty(env)), title="[b]Environment Variables")) + + console.print(f'platform="{platform.system()}"') + + +if __name__ == "__main__": # pragma: no cover + report() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/emoji.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/emoji.py new file mode 100644 index 0000000000000000000000000000000000000000..4a667edde73ac5e0077cd888f9d6bbc2da5bd156 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/emoji.py @@ -0,0 +1,91 @@ +import sys +from typing import TYPE_CHECKING, Optional, Union, Literal + +from .jupyter import JupyterMixin +from .segment import Segment +from .style import Style +from ._emoji_codes import EMOJI +from ._emoji_replace import _emoji_replace + + +if TYPE_CHECKING: + from .console import Console, ConsoleOptions, RenderResult + + +EmojiVariant = Literal["emoji", "text"] + + +class NoEmoji(Exception): + """No emoji by that name.""" + + +class Emoji(JupyterMixin): + __slots__ = ["name", "style", "_char", "variant"] + + VARIANTS = {"text": "\uFE0E", "emoji": "\uFE0F"} + + def __init__( + self, + name: str, + style: Union[str, Style] = "none", + variant: Optional[EmojiVariant] = None, + ) -> None: + """A single emoji character. + + Args: + name (str): Name of emoji. + style (Union[str, Style], optional): Optional style. Defaults to None. + + Raises: + NoEmoji: If the emoji doesn't exist. + """ + self.name = name + self.style = style + self.variant = variant + try: + self._char = EMOJI[name] + except KeyError: + raise NoEmoji(f"No emoji called {name!r}") + if variant is not None: + self._char += self.VARIANTS.get(variant, "") + + @classmethod + def replace(cls, text: str) -> str: + """Replace emoji markup with corresponding unicode characters. + + Args: + text (str): A string with emojis codes, e.g. "Hello :smiley:!" + + Returns: + str: A string with emoji codes replaces with actual emoji. + """ + return _emoji_replace(text) + + def __repr__(self) -> str: + return f"" + + def __str__(self) -> str: + return self._char + + def __rich_console__( + self, console: "Console", options: "ConsoleOptions" + ) -> "RenderResult": + yield Segment(self._char, console.get_style(self.style)) + + +if __name__ == "__main__": # pragma: no cover + import sys + + from pip._vendor.rich.columns import Columns + from pip._vendor.rich.console import Console + + console = Console(record=True) + + columns = Columns( + (f":{name}: {name}" for name in sorted(EMOJI.keys()) if "\u200D" not in name), + column_first=True, + ) + + console.print(columns) + if len(sys.argv) > 1: + console.save_html(sys.argv[1]) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/errors.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/errors.py new file mode 100644 index 0000000000000000000000000000000000000000..0bcbe53ef59373c608e62ea285536f8b22b47ecb --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/errors.py @@ -0,0 +1,34 @@ +class ConsoleError(Exception): + """An error in console operation.""" + + +class StyleError(Exception): + """An error in styles.""" + + +class StyleSyntaxError(ConsoleError): + """Style was badly formatted.""" + + +class MissingStyle(StyleError): + """No such style.""" + + +class StyleStackError(ConsoleError): + """Style stack is invalid.""" + + +class NotRenderableError(ConsoleError): + """Object is not renderable.""" + + +class MarkupError(ConsoleError): + """Markup was badly formatted.""" + + +class LiveError(ConsoleError): + """Error related to Live display.""" + + +class NoAltScreen(ConsoleError): + """Alt screen mode was required.""" diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/file_proxy.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/file_proxy.py new file mode 100644 index 0000000000000000000000000000000000000000..4b0b0da6c2a62b2b1468c35ddd69f1bbb9b91aa8 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/file_proxy.py @@ -0,0 +1,57 @@ +import io +from typing import IO, TYPE_CHECKING, Any, List + +from .ansi import AnsiDecoder +from .text import Text + +if TYPE_CHECKING: + from .console import Console + + +class FileProxy(io.TextIOBase): + """Wraps a file (e.g. sys.stdout) and redirects writes to a console.""" + + def __init__(self, console: "Console", file: IO[str]) -> None: + self.__console = console + self.__file = file + self.__buffer: List[str] = [] + self.__ansi_decoder = AnsiDecoder() + + @property + def rich_proxied_file(self) -> IO[str]: + """Get proxied file.""" + return self.__file + + def __getattr__(self, name: str) -> Any: + return getattr(self.__file, name) + + def write(self, text: str) -> int: + if not isinstance(text, str): + raise TypeError(f"write() argument must be str, not {type(text).__name__}") + buffer = self.__buffer + lines: List[str] = [] + while text: + line, new_line, text = text.partition("\n") + if new_line: + lines.append("".join(buffer) + line) + buffer.clear() + else: + buffer.append(line) + break + if lines: + console = self.__console + with console: + output = Text("\n").join( + self.__ansi_decoder.decode_line(line) for line in lines + ) + console.print(output) + return len(text) + + def flush(self) -> None: + output = "".join(self.__buffer) + if output: + self.__console.print(output) + del self.__buffer[:] + + def fileno(self) -> int: + return self.__file.fileno() diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/filesize.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/filesize.py new file mode 100644 index 0000000000000000000000000000000000000000..83bc9118d2bdb8983f863063687c2ea394a9abb1 --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/filesize.py @@ -0,0 +1,88 @@ +"""Functions for reporting filesizes. Borrowed from https://github.com/PyFilesystem/pyfilesystem2 + +The functions declared in this module should cover the different +use cases needed to generate a string representation of a file size +using several different units. Since there are many standards regarding +file size units, three different functions have been implemented. + +See Also: + * `Wikipedia: Binary prefix `_ + +""" + +__all__ = ["decimal"] + +from typing import Iterable, List, Optional, Tuple + + +def _to_str( + size: int, + suffixes: Iterable[str], + base: int, + *, + precision: Optional[int] = 1, + separator: Optional[str] = " ", +) -> str: + if size == 1: + return "1 byte" + elif size < base: + return f"{size:,} bytes" + + for i, suffix in enumerate(suffixes, 2): # noqa: B007 + unit = base**i + if size < unit: + break + return "{:,.{precision}f}{separator}{}".format( + (base * size / unit), + suffix, + precision=precision, + separator=separator, + ) + + +def pick_unit_and_suffix(size: int, suffixes: List[str], base: int) -> Tuple[int, str]: + """Pick a suffix and base for the given size.""" + for i, suffix in enumerate(suffixes): + unit = base**i + if size < unit * base: + break + return unit, suffix + + +def decimal( + size: int, + *, + precision: Optional[int] = 1, + separator: Optional[str] = " ", +) -> str: + """Convert a filesize in to a string (powers of 1000, SI prefixes). + + In this convention, ``1000 B = 1 kB``. + + This is typically the format used to advertise the storage + capacity of USB flash drives and the like (*256 MB* meaning + actually a storage capacity of more than *256 000 000 B*), + or used by **Mac OS X** since v10.6 to report file sizes. + + Arguments: + int (size): A file size. + int (precision): The number of decimal places to include (default = 1). + str (separator): The string to separate the value from the units (default = " "). + + Returns: + `str`: A string containing a abbreviated file size and units. + + Example: + >>> filesize.decimal(30000) + '30.0 kB' + >>> filesize.decimal(30000, precision=2, separator="") + '30.00kB' + + """ + return _to_str( + size, + ("kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"), + 1000, + precision=precision, + separator=separator, + ) diff --git a/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/highlighter.py b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/highlighter.py new file mode 100644 index 0000000000000000000000000000000000000000..e4c462e2b632a268ecfb4772320206b94a3d859c --- /dev/null +++ b/platform/dataops/dto/.venv/lib/python3.12/site-packages/pip/_vendor/rich/highlighter.py @@ -0,0 +1,232 @@ +import re +from abc import ABC, abstractmethod +from typing import List, Union + +from .text import Span, Text + + +def _combine_regex(*regexes: str) -> str: + """Combine a number of regexes in to a single regex. + + Returns: + str: New regex with all regexes ORed together. + """ + return "|".join(regexes) + + +class Highlighter(ABC): + """Abstract base class for highlighters.""" + + def __call__(self, text: Union[str, Text]) -> Text: + """Highlight a str or Text instance. + + Args: + text (Union[str, ~Text]): Text to highlight. + + Raises: + TypeError: If not called with text or str. + + Returns: + Text: A test instance with highlighting applied. + """ + if isinstance(text, str): + highlight_text = Text(text) + elif isinstance(text, Text): + highlight_text = text.copy() + else: + raise TypeError(f"str or Text instance required, not {text!r}") + self.highlight(highlight_text) + return highlight_text + + @abstractmethod + def highlight(self, text: Text) -> None: + """Apply highlighting in place to text. + + Args: + text (~Text): A text object highlight. + """ + + +class NullHighlighter(Highlighter): + """A highlighter object that doesn't highlight. + + May be used to disable highlighting entirely. + + """ + + def highlight(self, text: Text) -> None: + """Nothing to do""" + + +class RegexHighlighter(Highlighter): + """Applies highlighting from a list of regular expressions.""" + + highlights: List[str] = [] + base_style: str = "" + + def highlight(self, text: Text) -> None: + """Highlight :class:`rich.text.Text` using regular expressions. + + Args: + text (~Text): Text to highlighted. + + """ + + highlight_regex = text.highlight_regex + for re_highlight in self.highlights: + highlight_regex(re_highlight, style_prefix=self.base_style) + + +class ReprHighlighter(RegexHighlighter): + """Highlights the text typically produced from ``__repr__`` methods.""" + + base_style = "repr." + highlights = [ + r"(?P<)(?P[-\w.:|]*)(?P[\w\W]*)(?P>)", + r'(?P[\w_]{1,50})=(?P"?[\w_]+"?)?', + r"(?P[][{}()])", + _combine_regex( + r"(?P[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})", + r"(?P([A-Fa-f0-9]{1,4}::?){1,7}[A-Fa-f0-9]{1,4})", + r"(?P(?:[0-9A-Fa-f]{1,2}-){7}[0-9A-Fa-f]{1,2}|(?:[0-9A-Fa-f]{1,2}:){7}[0-9A-Fa-f]{1,2}|(?:[0-9A-Fa-f]{4}\.){3}[0-9A-Fa-f]{4})", + r"(?P(?:[0-9A-Fa-f]{1,2}-){5}[0-9A-Fa-f]{1,2}|(?:[0-9A-Fa-f]{1,2}:){5}[0-9A-Fa-f]{1,2}|(?:[0-9A-Fa-f]{4}\.){2}[0-9A-Fa-f]{4})", + r"(?P[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12})", + r"(?P[\w.]*?)\(", + r"\b(?PTrue)\b|\b(?PFalse)\b|\b(?PNone)\b", + r"(?P\.\.\.)", + r"(?P(?(?\B(/[-\w._+]+)*\/)(?P[-\w._+]*)?", + r"(?b?'''.*?(?(file|https|http|ws|wss)://[-0-9a-zA-Z$_+!`(),.?/;:&=%#~@]*)", + ), + ] + + +class JSONHighlighter(RegexHighlighter): + """Highlights JSON""" + + # Captures the start and end of JSON strings, handling escaped quotes + JSON_STR = r"(?b?\".*?(?[\{\[\(\)\]\}])", + r"\b(?Ptrue)\b|\b(?Pfalse)\b|\b(?Pnull)\b", + r"(?P(? None: + super().highlight(text) + + # Additional work to handle highlighting JSON keys + plain = text.plain + append = text.spans.append + whitespace = self.JSON_WHITESPACE + for match in re.finditer(self.JSON_STR, plain): + start, end = match.span() + cursor = end + while cursor < len(plain): + char = plain[cursor] + cursor += 1 + if char == ":": + append(Span(start, end, "json.key")) + elif char in whitespace: + continue + break + + +class ISO8601Highlighter(RegexHighlighter): + """Highlights the ISO8601 date time strings. + Regex reference: https://www.oreilly.com/library/view/regular-expressions-cookbook/9781449327453/ch04s07.html + """ + + base_style = "iso8601." + highlights = [ + # + # Dates + # + # Calendar month (e.g. 2008-08). The hyphen is required + r"^(?P[0-9]{4})-(?P1[0-2]|0[1-9])$", + # Calendar date w/o hyphens (e.g. 20080830) + r"^(?P(?P[0-9]{4})(?P1[0-2]|0[1-9])(?P3[01]|0[1-9]|[12][0-9]))$", + # Ordinal date (e.g. 2008-243). The hyphen is optional + r"^(?P(?P[0-9]{4})-?(?P36[0-6]|3[0-5][0-9]|[12][0-9]{2}|0[1-9][0-9]|00[1-9]))$", + # + # Weeks + # + # Week of the year (e.g., 2008-W35). The hyphen is optional + r"^(?P(?P[0-9]{4})-?W(?P5[0-3]|[1-4][0-9]|0[1-9]))$", + # Week date (e.g., 2008-W35-6). The hyphens are optional + r"^(?P(?P[0-9]{4})-?W(?P5[0-3]|[1-4][0-9]|0[1-9])-?(?P[1-7]))$", + # + # Times + # + # Hours and minutes (e.g., 17:21). The colon is optional + r"^(?P

    ' : '\U0001d4ab', + '\\' : '\U0001d4ac', + '\\' : '\U0000211b', + '\\' : '\U0001d4ae', + '\\' : '\U0001d4af', + '\\' : '\U0001d4b0', + '\\' : '\U0001d4b1', + '\\' : '\U0001d4b2', + '\\' : '\U0001d4b3', + '\\' : '\U0001d4b4', + '\\' : '\U0001d4b5', + '\\' : '\U0001d5ba', + '\\' : '\U0001d5bb', + '\\' : '\U0001d5bc', + '\\' : '\U0001d5bd', + '\\' : '\U0001d5be', + '\\' : '\U0001d5bf', + '\\' : '\U0001d5c0', + '\\' : '\U0001d5c1', + '\\' : '\U0001d5c2', + '\\' : '\U0001d5c3', + '\\' : '\U0001d5c4', + '\\' : '\U0001d5c5', + '\\' : '\U0001d5c6', + '\\' : '\U0001d5c7', + '\\' : '\U0001d5c8', + '\\